:root{font-family:Inter,system-ui,Arial,sans-serif;color:#172033;background:#eef3f8}*{box-sizing:border-box}body{margin:0}.app{display:flex;min-height:100vh}.sidebar{width:270px;background:linear-gradient(180deg,#07152f,#0d2d57);color:#fff;padding:22px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;margin-bottom:28px}.logo,.auth-logo{width:44px;height:44px;border-radius:12px;background:#45d483;display:grid;place-items:center;font-weight:900;color:#07152f}.brand span{display:block;color:#aebcd0;font-size:13px}.sidebar button{width:100%;display:flex;align-items:center;gap:10px;border:0;background:transparent;color:#d9e6f7;padding:12px 14px;border-radius:8px;margin-bottom:7px;cursor:pointer;font-size:15px}.sidebar button.active,.sidebar button:hover{background:#ffffff1f;color:#fff}.sidebar-footer{margin-top:auto;padding-top:18px;color:#aebcd0;font-size:12px;line-height:1.5;text-align:center}.main{margin-left:270px;padding:28px;width:calc(100% - 270px)}.header{margin-bottom:20px}.header h1{font-size:30px;margin:0;color:#101828}.header p{color:#667085;margin:6px 0 0}.cards{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:14px;margin-bottom:20px}.card,.panel{background:#fff;border:1px solid #e6eaf0;border-radius:8px;box-shadow:0 8px 24px #1018280d}.card{padding:18px}.card span{color:#667085;font-size:13px}.card strong{display:block;font-size:28px;margin-top:8px;color:#0f1f3d}.panel{padding:20px;margin-bottom:18px;overflow:auto}.panel h2{margin:0 0 14px}.panel-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.actionbar{display:flex;gap:12px;margin-bottom:18px;align-items:center}.wrap{flex-wrap:wrap}button,.primary,select,input,textarea{border:1px solid #d0d5dd;border-radius:8px;padding:11px 13px;background:#fff;font-size:14px}textarea{min-height:82px;resize:vertical}button{display:inline-flex;align-items:center;gap:8px;cursor:pointer}.primary{background:#0d6efd;color:#fff;border-color:#0d6efd;font-weight:700}select,input,textarea{min-width:170px;width:100%}.field{display:grid;gap:6px;align-content:start}.field span{font-size:12px;font-weight:800;color:#475467;line-height:1.25}.field input,.field select,.field textarea{min-width:0}.grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:12px;align-items:start}table{width:100%;border-collapse:collapse;font-size:14px}th{text-align:left;color:#667085;font-size:12px;text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid #eef2f6;padding:10px}td{border-bottom:1px solid #eef2f6;padding:12px;vertical-align:top}tr:hover td{background:#fafcff}.badge{display:inline-block;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:700;background:#eef2f6;color:#344054}.badge.concluido{background:#e8fff2;color:#087443}.badge.erro{background:#fff1f3;color:#c01048}.badge.pendente{background:#fff8e6;color:#b54708}a{color:#0d6efd;text-decoration:none;font-weight:700;margin-right:8px}.notice{background:#eef6ff;border:1px solid #bfdbfe;color:#1e3a8a;border-radius:8px;padding:10px 12px;margin:10px 0 16px;font-weight:600}.notice.error{background:#fff1f3;border-color:#fecdd3;color:#9f1239}.actions{display:flex;gap:8px;flex-wrap:wrap}button.danger{background:#fff1f2;border-color:#fecdd3;color:#9f1239}.muted-text{color:#64748b;line-height:1.6}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr));gap:12px}.detail-grid div{border:1px solid #e6eaf0;border-radius:8px;background:#f8fafc;padding:12px}.detail-grid span{display:block;color:#64748b;font-size:12px;margin-bottom:4px}.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#07152f,#164a7b)}.auth-card{width:min(430px,100%);display:grid;gap:14px;background:#fff;border-radius:8px;padding:32px;box-shadow:0 30px 90px #0000004d}.auth-card h1,.auth-card p{margin:0}.auth-card p{color:#64748b}.auth-logo{width:58px;height:58px;font-size:20px}.user-box{border-top:1px solid rgba(255,255,255,.15);margin-top:12px;padding-top:14px;display:grid;gap:4px}.user-box small{color:#aebcd0}.user-box button{padding-left:0;margin-top:4px}.user-form{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:12px}.company-access{grid-column:1/-1;border:1px solid #e6eaf0;border-radius:8px;padding:14px;display:flex;gap:12px;flex-wrap:wrap}.company-access strong{width:100%}.company-access label{display:flex;align-items:center;gap:7px;background:#f8fafc;border:1px solid #e6eaf0;border-radius:8px;padding:8px 10px}.company-access input{min-width:auto;width:auto}.network-card{display:grid;gap:12px}.network-url code{display:block;background:#07152f;color:#d9e6f7;border-radius:8px;padding:13px;overflow:auto;font-size:15px}@media (max-width:1100px){.cards{grid-template-columns:repeat(2,1fr)}.grid,.user-form,.detail-grid{grid-template-columns:1fr}.sidebar{position:static;width:100%}.app{display:block}.main{margin-left:0;width:100%;padding:18px}}.span-3{grid-column:1/-1}.check-row{display:flex;align-items:center;gap:10px;border:1px solid #e6eaf0;background:#f8fafc;border-radius:8px;padding:11px 13px;font-weight:700;color:#344054}.check-row input{width:auto;min-width:auto}.autocomplete-field{position:relative}.autocomplete-list{position:absolute;z-index:20;top:100%;left:0;right:0;background:#fff;border:1px solid #d0d5dd;border-radius:8px;margin-top:4px;box-shadow:0 16px 38px #10182829;max-height:240px;overflow:auto}.autocomplete-list button{width:100%;justify-content:flex-start;border:0;border-radius:0;margin:0;background:#fff;color:#172033;padding:10px 12px}.autocomplete-list button:hover{background:#eef6ff}.form-panel{overflow:visible}.autocomplete-status{padding:11px 13px;color:#667085;font-size:13px}.error-list{margin-top:14px;border:1px solid #fecdd3;background:#fff1f3;color:#9f1239;border-radius:8px;padding:12px}.error-list strong{display:block;margin-bottom:6px}.error-list p{margin:6px 0;line-height:1.45}.result-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.button-link{display:inline-flex;align-items:center;gap:8px;border:1px solid #0d6efd;background:#0d6efd;color:#fff;border-radius:8px;padding:10px 12px;margin:0}.button-link.secondary{background:#fff;color:#0d6efd}.batch-panel .panel-title-row{align-items:flex-start}.drop-zone{display:grid;place-items:center;text-align:center;gap:7px;border:2px dashed #bfdbfe;background:#f8fbff;border-radius:8px;padding:28px;margin:8px 0 16px;color:#1e3a8a;cursor:pointer}.drop-zone.drag{border-color:#0d6efd;background:#eef6ff}.drop-zone input{display:none}.drop-zone strong{font-size:16px}.drop-zone span{color:#64748b}.batch-panel input[type=checkbox]{width:auto;min-width:auto}.row-errors p{margin:0 0 5px;color:#9f1239;font-weight:600;line-height:1.35}.result-actions.compact{margin-top:4px;gap:8px}.result-actions.compact a{font-size:13px}.button-link input[type=file]{display:none}.section-title{font-weight:800;color:#334155;border-top:1px solid #e2e8f0;padding-top:14px;margin-top:4px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a7a;display:grid;place-items:center;padding:18px;z-index:50}.modal{width:min(720px,100%);max-height:82vh;overflow:auto;background:#fff;border-radius:8px;border:1px solid #e6eaf0;box-shadow:0 24px 80px #0f172a52;padding:20px}.modal-list{max-height:46vh;overflow:auto}.modal-list label{width:100%;justify-content:flex-start}.modal-list small{margin-left:auto;color:#64748b}.inline-check{display:flex;align-items:center;gap:8px;border:1px solid #d0d5dd;border-radius:8px;padding:11px 13px;min-height:43px}.inline-check input{width:auto;min-width:auto}.mini-modal{width:min(560px,100%)}.replicate-list{display:grid;gap:8px}.reason-layout{display:grid;gap:12px}.fiscal-modal textarea{min-height:120px}.list-filter{max-width:380px}.status-button{border:0;min-width:0;width:auto;padding:5px 9px}.status-button:hover{filter:brightness(.96);text-decoration:underline}.setup-steps{margin:0;padding-left:22px;color:#344054;line-height:1.55}.setup-steps li{padding:5px 0}.setup-steps li::marker{font-weight:800;color:#0d6efd}.field span b{color:#d92d20}.field.error input,.field.error select,.field.error textarea,.field.error .inline-check{border-color:#f04438;background:snow}.field.error input:focus,.field.error select:focus,.field.error textarea:focus{outline:3px solid rgba(240,68,56,.14)}.field-error{color:#b42318;font-size:12px;font-weight:700;line-height:1.2}.field.error span{color:#b42318}.char-count{justify-self:end;color:#667085;font-size:12px;font-weight:700}.char-count.over{color:#b42318}.taker-help{color:#667085;font-size:12px;line-height:1.4}.taker-summary{background:#f0f7ff;border:1px solid #bfdbfe;border-radius:8px;padding:10px 12px;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.taker-summary strong{display:block;color:#172033;margin-bottom:3px}.taker-picker select{overflow:hidden;text-overflow:ellipsis}.taker-picker input:disabled,.taker-picker select:disabled{background:#f2f4f7;color:#667085}.taker-results{list-style:none;margin:0;padding:0;max-height:280px;overflow:auto;border:1px solid #d0d5dd;border-radius:8px;background:#fff}.taker-results li+li{border-top:1px solid #e6eaf0}.taker-results button{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;border:0;border-radius:0;padding:12px;white-space:normal;overflow-wrap:anywhere}.taker-results button:hover,.taker-results button:focus-visible,.taker-results button.selected{background:#eef6ff}.taker-results button:focus-visible{outline:2px solid #0d6efd;outline-offset:-2px}.taker-results strong{font-size:13px;color:#172033}.taker-results small{font-size:12px;color:#475467;line-height:1.4}.taker-results .taker-selected-label{color:#087443;font-weight:700}.rtc-panel{border-top:1px solid #dce3eb;padding-top:16px;min-width:0}.rtc-toggle{font-weight:600}.rtc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;margin-top:12px}.rtc-group{grid-column:1 / -1;border:1px solid #dce3eb;border-radius:8px;padding:14px;min-width:0}.rtc-group legend{font-weight:600;padding:0 6px}.rtc-field{display:flex;flex-direction:column;gap:7px;min-width:0}.rtc-field small{white-space:pre-line;overflow-wrap:anywhere;font-weight:400}.rtc-field select,.rtc-field input{width:100%;min-width:0}.rtc-repeat{border-top:1px solid #dce3eb;margin-top:12px;padding-top:12px}.rtc-choice{min-width:0}.rtc-error{color:#b42318}.rtc-field-heading{display:flex;align-items:center;gap:7px;min-height:22px}.rtc-field-heading label{min-width:0}button.rtc-help-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 20px;width:20px;min-width:20px;height:20px;padding:0;margin:0;border:1px solid #98a2b3;border-radius:50%;background:#f8fafc;color:#475467;font-size:12px;font-weight:700;vertical-align:middle}button.rtc-help-button:hover,button.rtc-help-button:focus-visible{background:#eef6ff;color:#175cd3;border-color:#175cd3;outline:2px solid #bfdbfe;outline-offset:2px}.rtc-help-dialog{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:0;border:1px solid #d0d5dd;border-radius:12px;color:#344054;box-shadow:0 24px 80px #10182840}.rtc-help-dialog::backdrop{background:#10182870}.rtc-help-card{padding:20px;display:flex;flex-direction:column;max-height:calc(100dvh - 52px)}.rtc-help-header{display:flex;flex:0 0 auto;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.rtc-help-header h2{margin:0;font-size:17px;line-height:1.4}.rtc-help-header button{flex-shrink:0;margin:0}.rtc-help-content{overflow-y:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6;font-weight:400}.rtc-tabs{display:flex;gap:5px;flex-wrap:wrap;border-bottom:1px solid #dce3eb;padding-top:8px}.rtc-tabs button{display:inline-flex;gap:7px;align-items:center;background:transparent;color:#475467;border:0;border-bottom:3px solid transparent;border-radius:7px 7px 0 0;padding:12px 14px;margin:0;font-size:13px}.rtc-tabs button[aria-selected=true]{background:#eef6ff;color:#175cd3;border-bottom-color:#175cd3;font-weight:700}.rtc-tabs button:focus-visible{outline:2px solid #175cd3;outline-offset:-2px}.rtc-tab-count{background:#fee4e2;color:#b42318;border-radius:20px;padding:2px 6px;font-size:11px}.rtc-tab-panel{padding:16px;border:1px solid #dce3eb;border-top:0;border-radius:0 0 8px 8px}.rtc-tab-help{margin:0 0 16px;color:#475467;line-height:1.5}.rtc-tab-empty{padding:14px;background:#f8fafc;border-radius:8px;line-height:1.5}@media (max-width:600px){.rtc-tabs button{flex:1 1 40%;justify-content:center;padding:10px 6px}.rtc-tab-panel{padding:12px}}
