:root{--green:#166534;--green-2:#15803d;--green-light:#dcfce7;--orange:#c2410c;--orange-light:#ffedd5;--ink:#17211b;--muted:#66736b;--line:#e2e8e4;--surface:#fff;--bg:#f5f7f5;--danger:#b91c1c;--danger-light:#fee2e2;--shadow:0 12px 34px rgba(16,40,24,.055);--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.topbar{height:72px;padding:0 clamp(16px,4vw,56px);display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;gap:11px}.brand-mark{height:42px;width:42px;display:grid;place-items:center;border-radius:13px;background:var(--green);color:#fff;font-size:24px;font-weight:850;box-shadow:inset 0 -3px 0 rgba(0,0,0,.12)}.brand strong,.brand small{display:block}.brand strong{font-size:16px;letter-spacing:-.02em}.brand small{color:var(--muted);font-size:12px;margin-top:-2px}.top-user{display:flex;align-items:center;gap:12px}.user-name{font-weight:650;font-size:13px}.role-pill,.count-pill{background:#edf5ef;color:var(--green);font-size:11px;font-weight:750;padding:5px 9px;border-radius:100px;white-space:nowrap}.logout-link{font-size:13px;color:var(--muted);padding:7px 10px;border-radius:8px}.logout-link:hover{background:var(--bg);color:var(--ink)}.app-main{width:min(1380px,100%);margin:0 auto;padding:clamp(18px,3.4vw,42px) clamp(14px,3.4vw,42px) 52px;min-height:calc(100vh - 124px)}.footer{padding:20px 16px;text-align:center;color:#87928a;font-size:12px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.page-heading h1{font-size:clamp(28px,4vw,38px);letter-spacing:-.045em;line-height:1.12;margin:6px 0 9px;font-weight:780}.page-heading p,.panel-heading p{margin:0;color:var(--muted);font-size:14px}.eyebrow{font-size:10px;font-weight:850;letter-spacing:.15em;color:var(--green)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 15px;border:1px solid transparent;border-radius:11px;font-weight:720;font-size:13px;transition:transform .15s,background .15s,border-color .15s;white-space:normal}.btn:active{transform:scale(.985)}.btn-primary{background:var(--green);color:#fff;box-shadow:0 4px 10px #16653420}.btn-primary:hover{background:#14532d}.btn-primary:disabled{opacity:.45;cursor:not-allowed}.btn-outline{background:#fff;border-color:#d4ddd6;color:var(--ink)}.btn-outline:hover{background:#f7faf7;border-color:#9bb5a1}.btn-soft{background:var(--green-light);color:var(--green)}.btn-full{width:100%;min-height:50px}.btn-small{min-height:32px;padding:6px 9px;font-size:12px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.stat-card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:16px;padding:19px 20px;box-shadow:0 2px 8px #152c1a04}.stat-label{display:block;color:var(--muted);font-size:12px;font-weight:650}.stat-card strong{display:block;font-size:clamp(26px,3vw,34px);letter-spacing:-.05em;line-height:1.2;margin:11px 0 7px}.stat-hint{display:block;color:#8a958d;font-size:11px}.stat-warning{border-top:3px solid #ea580c}.stat-success{border-top:3px solid #16a34a}.work-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(310px,.88fr);gap:20px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:clamp(18px,2.4vw,27px);min-width:0}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:22px}.panel-heading h2{margin:0 0 5px;font-size:19px;letter-spacing:-.025em}.step-tag{font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--green);background:#eff8f1;padding:7px 9px;border-radius:8px;white-space:nowrap}.form-stack{display:flex;flex-direction:column;gap:16px}.form-stack label,.form-row label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:750;color:#344139;min-width:0}.form-stack input:not([type=file]),.form-stack select,.form-stack textarea,.form-row input,.form-row select{width:100%;min-height:47px;padding:11px 13px;border:1px solid #dce4de;border-radius:10px;background:#fff;color:var(--ink);outline:none;font-size:14px;font-weight:450;transition:border-color .15s,box-shadow .15s}.form-stack textarea{resize:vertical;min-height:72px}.form-stack input:focus,.form-stack select:focus,.form-stack textarea:focus,.form-row input:focus{border-color:#5a9d6e;box-shadow:0 0 0 3px #16a34a18}.form-stack input::placeholder,.form-stack textarea::placeholder{color:#a1aaa4}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quantity-input{font-size:22px!important;font-weight:750!important;min-height:58px!important}.scan-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.scan-actions .btn{min-height:49px;padding:9px}.scanner-wrap{background:#101713;border-radius:14px;overflow:hidden;padding:10px}.scanner-wrap video{display:block;width:100%;max-height:320px;object-fit:cover;border-radius:8px}.scanner-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:10px;color:#fff;font-size:12px}.ai-wrap{border:1px solid #cce8d2;background:#f5fcf6;padding:14px;border-radius:12px}.ai-wrap input[type=file]{font-size:12px;max-width:100%}.identified-part{display:flex;flex-direction:column;gap:3px;padding:13px 14px;border:1px solid #cde7d2;background:#f4fbf5;border-radius:12px}.identified-part strong{font-size:18px;letter-spacing:-.02em}.identified-part span:last-child{font-size:13px;color:#4b5c50}.previous-counts{display:flex;flex-direction:column;gap:9px;padding:14px;border:1px solid #f1c8a8;background:#fff8f1;border-radius:12px}.previous-counts>strong{font-size:13px;color:#9a3412}.previous-count-row{display:flex;flex-direction:column;gap:2px;border-top:1px solid #f4dfce;padding-top:8px;font-size:12px}.previous-count-row strong{color:#56311b}.previous-count-row span{color:#745e4c}.optional{font-size:10px;color:#8a958d;font-weight:500}.task-list{display:flex;flex-direction:column}.task-item{width:100%;display:flex;align-items:center;gap:11px;text-align:left;background:#fff;border:0;border-bottom:1px solid #edf0ed;padding:14px 0;min-width:0}.task-item:hover .task-copy strong{color:var(--green)}.task-status{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#a7b3aa}.task-status.pending_first{background:#64748b}.task-status.pending_second{background:#d97706}.task-status.pending_third{background:#dc2626}.task-copy{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.task-copy strong{font-size:13px;overflow-wrap:anywhere}.task-copy small{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.task-round{font-size:11px;font-weight:750;color:var(--muted);white-space:nowrap}.task-round span{font-size:18px;margin-left:4px}.panel-foot{border-top:1px solid #edf0ed;padding-top:17px;margin-top:14px}.text-link,.table-link{color:var(--green);font-size:12px;font-weight:750}.text-link:hover,.table-link:hover{text-decoration:underline}.empty-state{text-align:center;padding:35px 12px}.empty-icon{display:inline-grid;place-items:center;width:50px;height:50px;border-radius:16px;background:#f0f6f1;font-size:23px;margin-bottom:10px}.empty-state h3{margin:0 0 5px;font-size:16px}.empty-state p,.empty-mini{color:var(--muted);font-size:12px;margin:0}.empty-mini{padding:18px 0}.blocked-banner{display:flex;gap:13px;align-items:flex-start;border:1px solid #fecaca;background:#fff5f5;border-radius:14px;padding:16px 18px;margin-bottom:20px}.blocked-icon{width:32px;height:32px;display:grid;place-items:center;flex:0 0 32px;border-radius:10px;background:#fee2e2;color:#b91c1c;font-weight:900}.blocked-banner strong{font-size:13px;color:#991b1b}.blocked-banner p{margin:3px 0 0;font-size:12px;color:#7f1d1d}.notice{padding:12px 15px;border-radius:11px;font-size:13px;margin-bottom:18px}.notice.success{background:#ecfdf3;color:#166534;border:1px solid #bbf7d0}.notice.error{background:#fff1f2;color:#9f1239;border:1px solid #fecdd3}.manager-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.table-panel{margin-bottom:20px;padding:0;overflow:hidden}.table-panel>.panel-heading{padding:22px 24px 0;margin-bottom:18px}.responsive-table{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.responsive-table table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}.responsive-table th{font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:#748078;background:#f8faf8;font-weight:800;text-align:left;padding:12px 15px;border-top:1px solid #edf0ed;border-bottom:1px solid #edf0ed}.responsive-table td{padding:13px 15px;border-bottom:1px solid #edf0ed;vertical-align:middle}.responsive-table tr:last-child td{border-bottom:0}.responsive-table tbody tr:hover{background:#fbfdfb}.responsive-table td:first-child,.responsive-table th:first-child{padding-left:24px}.responsive-table td:last-child,.responsive-table th:last-child{padding-right:24px}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:750}.cell-sub{display:block;color:var(--muted);font-size:10px;margin-top:3px;max-width:250px;overflow:hidden;text-overflow:ellipsis}.status-pill{display:inline-block;border-radius:100px;padding:5px 8px;font-size:10px;font-weight:800;background:#f0f3f1;color:#47534a}.status-pill.pending_first{background:#e2e8f0;color:#334155}.status-pill.pending_second{background:#ffedd5;color:#9a3412}.status-pill.pending_third{background:#fee2e2;color:#991b1b}.status-pill.completed{background:#dcfce7;color:#166534}.manager-lower{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.75fr);gap:20px;margin-bottom:20px}.blocked-list{display:flex;flex-direction:column;gap:12px}.blocked-user{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:12px 0;border-bottom:1px solid #edf0ed}.blocked-user:last-child{border-bottom:0}.blocked-user strong{font-size:13px}.blocked-user p{margin:3px 0 0;font-size:11px;color:var(--muted)}.create-user-panel .panel-heading{margin-bottom:18px}.import-panel{max-width:760px;margin:0 auto}.import-panel>h2{text-align:center;margin:5px 0;font-size:22px}.import-panel>p{text-align:center;color:var(--muted);font-size:13px;margin:0 auto 24px;max-width:480px}.import-icon{width:54px;height:54px;border-radius:16px;background:#e8f6eb;color:var(--green);font-size:28px;font-weight:700;display:grid;place-items:center;margin:0 auto 14px}.file-drop{border:1px dashed #9db7a3;border-radius:14px;background:#f8fcf8;padding:26px 15px;align-items:center;text-align:center;cursor:pointer}.file-drop input{max-width:100%;font-size:12px}.file-drop-title{font-size:14px;color:var(--green);font-weight:800}.import-notes{margin-top:26px;padding-top:20px;border-top:1px solid var(--line)}.import-notes h3{font-size:13px;margin:0 0 8px}.import-notes ul{padding-left:18px;color:#536158;font-size:12px;line-height:1.9}.import-notes p{font-size:11px;line-height:1.6}.login-wrap{min-height:calc(100vh - 155px);display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,440px);gap:clamp(35px,8vw,110px);align-items:center;max-width:1050px;margin:0 auto;padding:30px 0}.login-intro h1{font-size:clamp(36px,5vw,58px);letter-spacing:-.06em;line-height:1.04;margin:13px 0 20px}.login-intro h1 span{color:var(--green)}.login-intro>p{max-width:490px;color:var(--muted);font-size:16px;line-height:1.75}.login-benefits{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}.login-benefits span{font-size:11px;font-weight:750;color:#31553b;background:#e8f5eb;border-radius:100px;padding:8px 11px}.login-panel{padding:28px}.login-panel .panel-heading{margin-bottom:22px}.login-panel .panel-heading h2{font-size:23px}.login-panel .muted{margin:18px 0 0;text-align:center}.muted{color:var(--muted)}.tiny{font-size:11px;line-height:1.6}.form-stack label input[type=file]{width:100%}
@media(max-width:1000px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.work-grid{grid-template-columns:minmax(0,1fr) minmax(270px,.8fr)}.manager-lower{grid-template-columns:1fr}.login-wrap{gap:35px;padding:24px 0}.page-heading h1{font-size:32px}}
@media(max-width:720px){.topbar{height:64px;padding:0 14px}.brand-mark{width:37px;height:37px}.user-name{display:none}.top-user{gap:8px}.role-pill{font-size:10px}.app-main{padding:22px 13px 38px}.page-heading{align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:20px}.page-heading h1{font-size:30px}.page-heading .btn{width:100%}.stats-grid{gap:9px;margin-bottom:16px}.stat-card{padding:14px 13px;border-radius:13px}.stat-label{font-size:11px;line-height:1.35;min-height:29px}.stat-card strong{font-size:27px;margin:8px 0 5px}.stat-hint{font-size:10px}.work-grid{grid-template-columns:1fr;gap:15px}.panel{padding:17px;border-radius:15px}.panel-heading{margin-bottom:18px}.panel-heading h2{font-size:18px}.form-row{grid-template-columns:1fr;gap:14px}.scan-actions{grid-template-columns:1fr 1fr;gap:8px}.scan-actions .btn{font-size:11px;padding:8px 6px;gap:5px}.manager-actions{display:grid;grid-template-columns:1fr}.manager-actions .btn{width:100%}.table-panel>.panel-heading{padding:19px 16px 0}.responsive-table th:first-child,.responsive-table td:first-child{padding-left:16px}.responsive-table th:last-child,.responsive-table td:last-child{padding-right:16px}.manager-lower{gap:14px}.login-wrap{grid-template-columns:1fr;gap:22px;padding:20px 0}.login-intro{padding:8px 5px}.login-intro h1{font-size:37px}.login-intro>p{font-size:14px;line-height:1.65}.login-benefits{gap:6px;margin-top:16px}.login-benefits span{font-size:10px;padding:7px 9px}.login-panel{padding:21px}.blocked-banner{padding:13px}.scanner-footer{align-items:flex-start;flex-direction:column}.scanner-footer .btn{width:100%}.file-drop{padding:20px 10px}}
@media(max-width:380px){.stats-grid{grid-template-columns:1fr 1fr}.stat-card{padding:12px 10px}.stat-card strong{font-size:24px}.scan-actions{grid-template-columns:1fr}.top-user .role-pill{display:none}.login-intro h1{font-size:33px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.address-picklist{width:100%;min-width:0}.address-picklist .form-row{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:6px}.address-picklist label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:750;color:#344139}.address-picklist select{width:100%;min-height:47px;padding:11px 13px;border:1px solid #dce4de;border-radius:10px;background:#fff;color:var(--ink);font-size:14px}.address-picklist select:focus{border-color:#5a9d6e;box-shadow:0 0 0 3px #16a34a18;outline:none}.address-picklist p{margin:4px 0 0}@media(max-width:720px){.address-picklist .form-row{grid-template-columns:1fr}}

/* Leitura rápida: controles compactos na mesma linha do campo de código. */
.code-search-label { min-width: 0; }
.code-search-row { display:flex; align-items:center; gap:8px; width:100%; min-width:0; }
.code-search-row > input { flex:1 1 auto; width:0; min-width:0; }
.scan-actions-inline { display:flex; flex:0 0 auto; align-items:center; gap:6px; }
.scan-actions-inline .btn { width:42px; min-width:42px; height:42px; min-height:42px; padding:0; border-radius:9px; display:inline-flex; align-items:center; justify-content:center; font-size:0; gap:0; }
.scan-actions-inline .btn span { font-size:19px; line-height:1; }
@media(max-width:720px) {
  .code-search-row { gap:6px; }
  .scan-actions-inline { gap:5px; }
  .scan-actions-inline .btn { width:36px; min-width:36px; height:36px; min-height:36px; border-radius:8px; }
  .scan-actions-inline .btn span { font-size:17px; }
  .scan-actions:not(.scan-actions-inline) { display:none !important; }
}


/* FIX EXCLUSIVO DO LOGO TECFAST: nao altera os demais componentes. */
.topbar { height: 68px !important; min-height: 68px !important; max-height: 68px !important; overflow: hidden !important; }
.topbar .brand { display:flex !important; align-items:center !important; flex:0 1 auto !important; width:auto !important; max-width:220px !important; min-width:0 !important; height:100% !important; overflow:hidden !important; background-size:auto 46px !important; background-repeat:no-repeat !important; background-position:left center !important; }
.topbar .brand img, .topbar .brand picture, .topbar .brand picture img, .topbar .brand svg, .topbar .brand-logo, .topbar img, header.topbar img, header img[src*="logo" i], header img[src*="tecfast" i], header img[alt*="logo" i], header img[alt*="tecfast" i] { display:block !important; width:auto !important; height:auto !important; max-width:180px !important; max-height:46px !important; object-fit:contain !important; flex:0 1 auto !important; }
.topbar .brand strong, .topbar .brand small { white-space:nowrap !important; }
@media(max-width:720px) { .topbar { height:64px !important; min-height:64px !important; max-height:64px !important; padding-left:12px !important; padding-right:12px !important; } .topbar .brand { max-width:155px !important; background-size:auto 40px !important; } .topbar .brand img, .topbar .brand picture img, .topbar .brand svg, .topbar .brand-logo, .topbar img, header.topbar img, header img[src*="logo" i], header img[src*="tecfast" i], header img[alt*="logo" i], header img[alt*="tecfast" i] { max-width:145px !important; max-height:40px !important; } }

/* Leitor de inventário: status curto e legível em celular. */
.scanner-wrap #qr-reader{width:100%;max-width:100%;border:0!important;background:#101713;color:#fff;overflow:hidden;border-radius:8px}.scanner-wrap #qr-reader video{width:100%!important;max-height:300px!important;object-fit:cover;border-radius:8px}.scanner-wrap #qr-reader img{max-width:100%}.scanner-wrap #qr-reader__dashboard_section_csr button{font-size:12px;padding:6px 10px}.scanner-footer{align-items:center}.scanner-footer #scanner-message{display:block;flex:1;min-width:0;font-size:11px;line-height:1.4;color:#e5eee7}.scanner-footer #scanner-message[data-state="working"]{color:#fde68a}.scanner-footer #scanner-message[data-state="success"]{color:#86efac}.scanner-footer #scanner-message[data-state="warning"]{color:#fca5a5}.scanner-footer .btn{flex:0 0 auto}
@media(max-width:720px){.scanner-wrap{padding:8px}.scanner-wrap #qr-reader video{max-height:250px!important}.scanner-footer{flex-direction:row!important;align-items:center!important;gap:8px}.scanner-footer .btn{width:auto!important;min-height:36px;padding:7px 9px;font-size:11px}.scanner-footer #scanner-message{font-size:10px}}

/* Foto única: status do leitor sempre visível, sem câmera em tempo real. */
.scanner-capture-status{margin:8px 0 12px;padding:9px 11px;border:1px solid var(--line);border-radius:10px;background:#f8faf8;font-size:12px;line-height:1.45;color:var(--muted)}
.scanner-capture-status #scanner-message[data-state="working"]{color:#92400e}
.scanner-capture-status #scanner-message[data-state="success"]{color:#166534;font-weight:700}
.scanner-capture-status #scanner-message[data-state="warning"]{color:#b91c1c}

.quantity-focus-target:focus { border-color:#15803d !important; box-shadow:0 0 0 4px #16a34a24 !important; }

/* Leitor de código em tempo real, responsivo em celular e desktop */
.live-camera-wrap { margin: 10px 0 12px; }
.live-camera-wrap video { width: 100%; max-height: 360px; object-fit: contain; background: #080d09; }
.live-camera-footer { align-items: center; gap: 10px; }
#live-camera-stage { flex: 1; min-width: 0; color: #e5eee7; font-size: 11px; line-height: 1.45; }
.scanner-capture-status #scanner-message[data-state="working"] { color: #92400e; }
.scanner-capture-status #scanner-message[data-state="success"] { color: #166534; font-weight: 750; }
.scanner-capture-status #scanner-message[data-state="warning"] { color: #b91c1c; }
@media (max-width: 720px) { .live-camera-wrap video { max-height: 260px; } .live-camera-footer { flex-direction: row; } #live-camera-stage { font-size: 10px; } }


/* Ajustes de gestão: indicadores clicáveis, endereços em módulo único e listas paginadas. */
.stat-card-link{display:block;color:inherit;text-decoration:none;cursor:pointer;transition:transform .15s,border-color .15s,box-shadow .15s}
.stat-card-link:hover,.stat-card-link:focus-visible{transform:translateY(-2px);border-color:#8db99a;box-shadow:0 8px 22px rgba(22,101,52,.10);outline:none}
.stat-card-link .stat-hint{color:var(--green);font-weight:750}
.address-module{padding:0;margin-bottom:20px;overflow:hidden}
.address-module-heading{padding:23px 24px 19px;margin:0;border-bottom:1px solid var(--line);align-items:center}
.address-module-heading h2{margin-top:4px}
.address-add{margin:18px 24px;border:1px solid var(--line);border-radius:13px;background:#fbfdfb;overflow:hidden}
.address-add summary{display:flex;align-items:center;gap:12px;padding:15px 16px;list-style:none;cursor:pointer}
.address-add summary::-webkit-details-marker{display:none}
.address-add summary:hover{background:#f3f8f4}
.address-add-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#e4f4e8;color:var(--green);font-size:22px;font-weight:600;flex:0 0 34px}
.address-add summary strong,.address-add summary small{display:block}
.address-add summary strong{font-size:13px}
.address-add summary small{font-size:11px;color:var(--muted);margin-top:2px}
.address-add-chevron{margin-left:auto;color:var(--green);font-size:22px;transition:transform .15s}
.address-add[open] .address-add-chevron{transform:rotate(180deg)}
.address-add-form{padding:0 16px 17px}
.address-levels{grid-template-columns:repeat(3,minmax(0,1fr))}
.address-levels label em{font-style:normal;color:#7b887f;font-weight:500;font-size:10px}
.address-add-form .btn{align-self:flex-start;min-width:180px}
.address-table-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 24px 13px}
.address-table-head strong{font-size:13px}
.address-table-head span{font-size:11px;color:var(--muted)}
.address-table{border-top:1px solid var(--line)}
.address-table .responsive-table table{white-space:normal}
.address-table td{padding-top:11px;padding-bottom:11px}
.address-full-pill{display:inline-block;padding:5px 9px;border-radius:8px;background:#edf7ef;color:#245b34;font-weight:750;font-size:11px}
.pagination{display:flex;align-items:center;justify-content:center;gap:18px;padding:16px 20px;border-top:1px solid var(--line);font-size:12px}
.pagination a{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border:1px solid #d5e1d8;border-radius:9px;color:var(--green);font-weight:750;background:#fff}
.pagination a:hover{background:#f0f8f2}
.pagination span{color:var(--muted)}
.pagination .disabled{opacity:.45;padding:8px 12px}
.piece-list-panel{scroll-margin-top:86px}
.piece-list-summary{display:flex;justify-content:space-between;align-items:center;padding:0 24px 14px;color:var(--muted);font-size:12px}
.piece-list-summary strong{color:var(--green);font-size:13px}
@media(max-width:720px){.address-module-heading{padding:18px 16px;flex-direction:column;align-items:flex-start}.address-add{margin:14px 12px}.address-levels{grid-template-columns:1fr}.address-add-form .btn{width:100%}.address-table-head{padding:10px 16px;align-items:flex-start;flex-direction:column;gap:3px}.address-table .responsive-table th:first-child,.address-table .responsive-table td:first-child{padding-left:16px}.address-table .responsive-table th:last-child,.address-table .responsive-table td:last-child{padding-right:16px}.pagination{gap:8px;padding:13px 8px;font-size:11px}.pagination a,.pagination .disabled{padding:7px 8px}.piece-list-summary{padding:0 16px 12px}.piece-list-panel>.panel-heading{flex-direction:column}.stat-card-link{min-height:145px}}

/* Ajustes gerenciais e módulo Configurações */
.page-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.active-inventory-title{display:flex;flex-direction:column;gap:3px;margin:12px 0 10px;padding:13px 16px;border:1px solid #cfe5d3;border-left:4px solid var(--green);border-radius:12px;background:#f1faf3;max-width:640px}.active-inventory-title span{font-size:10px;font-weight:850;letter-spacing:.13em;color:var(--green)}.active-inventory-title strong{font-size:clamp(22px,3vw,30px);line-height:1.2;letter-spacing:-.035em;font-weight:850;overflow-wrap:anywhere}.pagination{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;padding:16px 20px;border-top:1px solid var(--line);font-size:12px}.pagination a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 12px;border:1px solid #d4ddd6;border-radius:9px;background:#fff;color:var(--green);font-weight:750}.pagination a:hover{background:#f1faf3;border-color:#9bb5a1}.pagination .disabled{display:inline-flex;align-items:center;min-height:34px;padding:7px 12px;color:#a2aaa4}.pagination>span:not(.disabled){color:var(--muted)}.pagination strong{color:var(--ink)}.settings-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);align-items:start;gap:20px}.settings-card{min-width:0}.settings-card-wide{grid-row:span 2}.settings-card .panel-heading{margin-bottom:20px}.settings-subsection{margin-top:26px;padding-top:20px;border-top:1px solid var(--line)}.settings-subsection h3{font-size:15px;margin:0 0 12px}.settings-card .responsive-table table{white-space:normal}.settings-card .responsive-table td,.settings-card .responsive-table th{overflow-wrap:anywhere}.address-table-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 10px;font-size:12px}.address-table-head span{color:var(--muted);font-size:11px;text-align:right}.address-add{border:1px solid var(--line);border-radius:12px;background:#fbfdfb;overflow:hidden}.address-add>summary{display:flex;align-items:center;gap:12px;padding:13px;cursor:pointer;list-style:none}.address-add>summary::-webkit-details-marker{display:none}.address-add-icon{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border-radius:9px;background:#e5f5e9;color:var(--green);font-size:20px;font-weight:800}.address-add>summary>span:nth-child(2){display:flex;flex-direction:column;gap:2px;flex:1}.address-add>summary strong{font-size:13px}.address-add>summary small{font-size:11px;color:var(--muted)}.address-add-chevron{color:var(--green);transition:transform .15s}.address-add[open] .address-add-chevron{transform:rotate(180deg)}.address-add-form{padding:0 14px 15px}.address-add-form .address-levels{grid-template-columns:repeat(3,minmax(0,1fr))}.address-add-form em{font-size:10px;font-style:normal;color:var(--muted);font-weight:500}.address-full-pill{display:inline-block;padding:5px 8px;border-radius:8px;background:#edf5ef;color:var(--green);font-weight:750}.manager-actions{align-items:center}.stat-card-link{transition:transform .15s,border-color .15s,box-shadow .15s}.stat-card-link:hover{transform:translateY(-2px);border-color:#a8cdb1;box-shadow:0 8px 22px #163c2010}.manager-lower{align-items:start}.manager-lower>.panel{height:auto;align-self:start}@media(max-width:900px){.settings-grid{grid-template-columns:1fr}.settings-card-wide{grid-row:auto}.page-heading-actions{justify-content:flex-start}}@media(max-width:720px){.page-heading-actions{width:100%;display:grid;grid-template-columns:1fr}.active-inventory-title{max-width:none;width:100%}.active-inventory-title strong{font-size:23px}.settings-grid{gap:14px}.address-add-form .address-levels{grid-template-columns:1fr}.address-table-head{align-items:flex-start;flex-direction:column}.address-table-head span{text-align:left}.pagination{gap:8px;padding:14px 10px}.pagination a,.pagination .disabled{padding:6px 9px}.settings-card{padding:16px}}
