/* ACHEI 1318 - importador de cadastro dentro do formulario existente */
#af1318ImportPanel[hidden],#af1318ImportResults[hidden]{display:none!important}
#af1318ImportPanel{margin:0 0 16px;border:1px solid #cdb5dd;background:linear-gradient(145deg,#fbf7fd,#f4edf9);border-radius:16px;overflow:hidden;color:#50325e;box-shadow:0 1px 4px rgba(50,20,60,.035)}
#af1318ImportPanel summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;padding:15px 14px;-webkit-tap-highlight-color:transparent}
#af1318ImportPanel summary::-webkit-details-marker{display:none}
#af1318ImportPanel summary .af1318-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:11px;background:#e5d5ef;color:#6e3a8c;font-size:18px}
#af1318ImportPanel summary .af1318-label{display:grid;gap:3px;flex:1;min-width:0}
#af1318ImportPanel summary strong{font-size:13px;font-weight:700}
#af1318ImportPanel summary small{font-size:11px;line-height:1.5;color:#775e85}
#af1318ImportPanel summary .af1318-chevron{color:#7a508f;font-size:19px;transform:rotate(0);transition:transform .18s}
#af1318ImportPanel[open] summary .af1318-chevron{transform:rotate(180deg)}
#af1318ImportPanel .af1318-body{border-top:1px solid #e3d4ec;padding:13px 14px 15px;display:grid;gap:11px}
#af1318ImportPanel .af1318-body>p{margin:0;color:#685575;font-size:11px;line-height:1.55}
#af1318ImportPanel label{display:grid;gap:5px;margin:0;font-size:12px;font-weight:600;color:#634672}
#af1318ImportText{box-sizing:border-box;width:100%;min-height:130px;max-height:310px;resize:vertical;white-space:pre;overflow:auto;font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace!important;border:1px solid #cfbdd8;border-radius:10px;background:#fff;color:#3c3050;padding:10px}
#af1318ImportFile{width:100%;font-size:12px;color:#674e76}
#af1318ImportPanel .af1318-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#af1318ImportPanel .af1318-actions button{font-size:12px;border-radius:10px;min-height:38px;white-space:normal;line-height:1.25}
#af1318ImportPanel #af1318Inspect{background:#723e8d;color:#fff;border:1px solid #723e8d}
#af1318ImportPanel #af1318Apply{background:#fff;color:#593572;border:1px solid #a381b6}
#af1318ImportPanel #af1318Apply:disabled{opacity:.45;cursor:not-allowed}
#af1318ImportFeedback{font-size:11px;line-height:1.5;margin:0;white-space:pre-wrap;color:#436b57}
#af1318ImportFeedback.is-error{color:#a43f57}
#af1318ImportResults{display:grid;gap:0;border:1px solid #dcc9e8;border-radius:10px;background:#fff;overflow:hidden}
#af1318ImportResults .af1318-reportline{display:grid;grid-template-columns:minmax(84px,34%) 1fr;gap:8px;align-items:start;border-bottom:1px solid #eee6f2;padding:8px 10px;font-size:11px;line-height:1.45;color:#644c73;overflow-wrap:anywhere}
#af1318ImportResults .af1318-reportline:last-child{border-bottom:0}
#af1318ImportResults .af1318-reportline strong{color:#6b427e}
#af1318ImportResults .af1318-reportline span{white-space:pre-wrap}
#af1318ImportResults .af1318-warnings{padding:10px;background:#fcf2e8;color:#7a4b3a;font-size:11px;white-space:pre-wrap;line-height:1.55}
@media(max-width:380px){#af1318ImportPanel .af1318-actions{grid-template-columns:1fr}}
