:root{font-family:Inter,system-ui,Segoe UI,sans-serif;color:#17324d;background:#f3f6fb;font-synthesis:none;--navy:#10243e;--text:#17324d;--muted:#52657a;--border:#dce5ef;--blue:#1769c2;--blue-hover:#0f579f;--surface:#fff;--field:#fbfdff;--shadow:0 12px 30px rgba(23,63,101,.07)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;min-height:100vh;background:#f3f6fb}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}[hidden]{display:none!important}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin-top:0}h1,h2,h3{color:var(--text);letter-spacing:-.025em}p{color:var(--muted);line-height:1.6}.eyebrow,.nav-label,.topbar-kicker,.field>span:first-child{color:var(--blue);font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.eyebrow--light{color:#94c9ff}.brand-logo{display:block;width:128px;max-height:34px;object-fit:contain}.brand-logo--light{filter:brightness(0) invert(1)}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(380px,1.05fr) minmax(440px,.95fr);background:#fff}.login-panel{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:52px clamp(36px,6vw,92px) 72px;background:linear-gradient(145deg,#10243e,#12385c 70%,#1769c2 150%)}.login-panel:before,.login-panel:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.08);border-radius:50%}.login-panel:before{width:520px;height:520px;right:-280px;top:10%}.login-panel:after{width:360px;height:360px;left:-220px;bottom:-170px}.login-brand{position:relative;z-index:1;display:flex;align-items:center;gap:16px;color:#fff;font-weight:750}.login-brand-divider{width:1px;height:24px;background:#ffffff59}.login-copy{position:relative;z-index:1;max-width:570px;margin:auto 0}.login-copy h1{margin:14px 0 22px;color:#fff;font-size:clamp(2.7rem,5vw,4.7rem);line-height:1.04}.login-copy p{max-width:520px;margin:0;color:#cbd9e8;font-size:1.08rem}.login-decoration{position:relative;z-index:1;display:flex;gap:8px}.login-decoration span{width:48px;height:4px;border-radius:10px;background:#fff3}.login-decoration span:first-child{width:92px;background:#56a9ff}.login-form-card{align-self:center;width:min(470px,calc(100% - 56px));margin:auto;padding:40px}.login-form-header{margin-bottom:32px}.login-symbol{display:grid;place-items:center;width:48px;height:48px;margin-bottom:24px;color:var(--blue);border-radius:14px;background:#edf6ff}.login-form-header h2{margin:8px 0;font-size:2rem}.login-form-header p{margin:0}.form-error{color:#b42318!important}.form-stack{display:grid;gap:20px}.login-help{margin:24px 0 0;text-align:center;font-size:.82rem}.field{display:grid;gap:8px;min-width:0}.field>span:first-child{color:var(--text);letter-spacing:.055em}.field b{color:#b42318}input,select,textarea{width:100%;min-height:46px;padding:11px 13px;color:var(--text);border:1px solid #bccbda;border-radius:10px;outline:0;background:var(--field);transition:border-color .2s,box-shadow .2s,background .2s}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#8494a5}input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 4px #1769c229;background:#fff}input:disabled,select:disabled,textarea:disabled{color:#647589;background:#f1f4f7}.password-field{position:relative;display:block}.password-field input{padding-right:50px}.button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 18px;border:1px solid transparent;border-radius:10px;font-weight:800;transition:background .2s,border-color .2s,transform .2s,box-shadow .2s}.button:hover:not(:disabled){transform:translateY(-1px)}.button--primary{color:#fff;background:var(--blue);box-shadow:0 8px 18px #1769c233}.button--primary:hover:not(:disabled){background:var(--blue-hover)}.button--secondary{color:var(--blue);border-color:#b8d0e9;background:#fff}.button--secondary:hover:not(:disabled){border-color:var(--blue);background:#f3f9ff}.button--wide{width:100%}.button svg{width:19px;height:19px}.is-loading{color:transparent!important;position:relative}.is-loading:after{content:"";position:absolute;width:19px;height:19px;border:2px solid #fff;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.icon-button{display:inline-grid;place-items:center;width:44px;min-width:44px;height:44px;padding:0;color:var(--muted);border:0;border-radius:10px;background:transparent}.icon-button:hover{color:var(--blue);background:#edf6ff}.icon-button--inside{position:absolute;right:2px;top:1px}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;z-index:50;width:270px;display:flex;flex-direction:column;color:#dce9f6;background:linear-gradient(180deg,#10243e,#12385c);box-shadow:8px 0 28px #081c3014}.sidebar-brand{min-height:94px;display:flex;align-items:center;gap:14px;padding:24px;border-bottom:1px solid rgba(255,255,255,.08)}.sidebar-product{padding-left:14px;border-left:1px solid rgba(255,255,255,.25);color:#fff;font-size:.86rem;font-weight:750}.sidebar-nav{flex:1;padding:28px 16px}.nav-label{display:block;margin:0 12px 12px;color:#8099b3}.nav-item{width:100%;min-height:46px;display:flex;align-items:center;gap:13px;margin-bottom:6px;padding:10px 14px;color:#c8d7e6;border:0;border-radius:10px;background:transparent;font-weight:700;text-align:left;transition:color .2s,background .2s,box-shadow .2s}.nav-item svg{width:20px;height:20px}.nav-item:hover{color:#fff;background:#ffffff12}.nav-item.is-active{color:#fff;background:var(--blue);box-shadow:0 8px 18px #031a3238}.sidebar-footer{padding:18px 16px 22px;border-top:1px solid rgba(255,255,255,.08)}.sidebar-user{display:flex;align-items:center;gap:11px;padding:6px 10px 18px}.sidebar-user>span:last-child{min-width:0;display:grid}.sidebar-user strong{color:#fff;font-size:.86rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-user small{margin-top:3px;color:#8fa8c0;font-size:.72rem}.avatar{width:40px;height:40px;flex:0 0 40px;display:inline-grid;place-items:center;border-radius:12px;color:#fff;background:var(--blue);font-size:.78rem;font-weight:850}.nav-item--logout{color:#b9cadb}.app-main{min-height:100vh;margin-left:270px}.topbar{position:sticky;top:0;z-index:40;min-height:76px;display:flex;align-items:center;gap:14px;padding:12px clamp(20px,4vw,52px);border-bottom:1px solid var(--border);background:#fffffff5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.topbar>div:nth-child(2){display:grid}.topbar-kicker{color:#708397;font-size:.62rem}.topbar strong{margin-top:3px;font-size:.95rem}.topbar-actions{margin-left:auto;display:flex;align-items:center;gap:18px}.connection-status{display:inline-flex;align-items:center;gap:8px;color:#087a64;font-size:.78rem;font-weight:750}.connection-status i{width:8px;height:8px;border-radius:50%;background:#18a886;box-shadow:0 0 0 4px #e0f7f0}.menu-toggle{display:none}.content-shell{width:100%;max-width:1720px;margin:0 auto;padding:38px clamp(20px,4vw,52px) 72px}.page-section{scroll-margin-top:102px;margin-bottom:32px}.page-heading,.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.page-heading{margin-bottom:24px}.page-heading h1{margin:7px 0 8px;font-size:clamp(1.8rem,3vw,2.45rem)}.page-heading p,.section-heading p{margin-bottom:0}.card{padding:28px;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:var(--shadow)}.section-heading{margin-bottom:28px;padding-bottom:24px;border-bottom:1px solid var(--border)}.section-heading h2{margin:6px 0 5px;font-size:1.45rem}.section-heading p{font-size:.9rem}.metrics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.metric-card{display:flex;align-items:center;gap:18px;min-height:128px;padding:22px;border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:0 8px 22px #173f650d}.metric-icon{width:52px;height:52px;flex:0 0 52px;display:grid;place-items:center;border-radius:15px}.metric-card>span:last-child{display:grid}.metric-card small{color:var(--muted);font-size:.75rem;font-weight:750}.metric-card strong{margin:2px 0;color:var(--text);font-size:2rem;line-height:1.1}.metric-card em{color:#718397;font-size:.72rem;font-style:normal}.metric-card--primary .metric-icon{color:var(--blue);background:#edf6ff}.metric-card--warning .metric-icon{color:#8a620d;background:#fff8e5}.metric-card--success .metric-icon{color:#087a64;background:#ecfbf6}.status{display:inline-flex;align-items:center;width:fit-content;min-height:30px;padding:6px 10px;border-radius:999px;font-size:.7rem;font-style:normal;font-weight:800;white-space:nowrap}.status:before{content:"";width:6px;height:6px;margin-right:7px;border-radius:50%;background:currentColor}.status--success{color:#087a64;background:#ecfbf6}.status--warning{color:#6e4c08;background:#fff8e5}.status--error{color:#b42318;background:#fff1f0}.status--info{color:#164d7c;background:#edf6ff}.step-heading{display:flex;align-items:center;gap:13px;margin-bottom:18px}.step-heading>span{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:10px;color:var(--blue);background:#edf6ff;font-size:.75rem;font-weight:850}.step-heading h3{margin:0 0 2px;font-size:1rem}.step-heading p{margin:0;font-size:.78rem}.step-heading>strong{margin-left:auto;color:var(--blue);font-size:.76rem}.step-heading--spaced{margin-top:34px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.progress{height:5px;margin:-8px 0 20px;overflow:hidden;border-radius:999px;background:#e8eef5}.progress span{display:block;width:0;height:100%;border-radius:inherit;background:var(--blue);transition:width .25s ease}.checklist-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.check-item{position:relative;display:flex;gap:12px;padding:15px;border:1px solid var(--border);border-radius:13px;background:#fbfdff;transition:border .2s,background .2s}.check-item.is-complete{border-color:#b7d9cf;background:#f8fdfb}.check-item.has-issue{border-color:#efc2bd;background:#fff9f8}.check-item-number{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;border-radius:8px;color:#60768d;background:#edf2f7;font-size:.67rem;font-weight:850}.check-item-body{flex:1;min-width:0;display:grid;gap:8px}.check-item-body>label:first-child{color:var(--text);font-size:.82rem;font-weight:800}.check-item select{min-height:40px;padding:7px 10px;font-size:.78rem}.note-field{display:none;gap:5px}.note-field span{color:#b42318;font-size:.66rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.note-field input{min-height:40px;font-size:.78rem}.has-issue .note-field{display:grid}.evidence-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:28px;margin-top:36px}.photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.photo-upload{position:relative;min-height:135px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;overflow:hidden;padding:14px;text-align:center;border:1px dashed #a9bdd2;border-radius:13px;background:#f8fbfe;cursor:pointer;transition:border .2s,background .2s}.photo-upload:hover{border-color:var(--blue);background:#edf6ff}.photo-upload:before{content:"";position:absolute;inset:0;background:linear-gradient(#10243e94,#10243e94),var(--preview) center/cover;opacity:0;transition:opacity .2s}.photo-upload.has-file:before{opacity:1}.photo-upload input{position:absolute;width:1px;height:1px;opacity:0}.photo-upload>*:not(input){position:relative;z-index:1}.photo-upload.has-file strong,.photo-upload.has-file small,.photo-upload.has-file .photo-icon{color:#fff}.photo-icon{color:var(--blue)}.photo-upload strong{font-size:.78rem}.photo-upload small{max-width:100%;overflow:hidden;color:#73869a;font-size:.65rem;text-overflow:ellipsis;white-space:nowrap}.signature-grid{display:grid;gap:16px}.form-actions{display:flex;justify-content:space-between;gap:16px;margin-top:32px;padding-top:24px;border-top:1px solid var(--border)}.form-actions>div{display:flex;gap:10px}.filter-grid{display:grid;grid-template-columns:1fr 1fr .8fr auto;align-items:end;gap:12px;margin-bottom:24px}.filter-grid .button{min-width:110px}.history-table{overflow:hidden;border:1px solid var(--border);border-radius:13px}.history-head,.history-row{display:grid;grid-template-columns:1.25fr 1.25fr 1.15fr 1fr 32px;align-items:center;gap:15px}.history-head{min-height:46px;padding:10px 16px;color:#fff;background:#173f65;font-size:.67rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.history-row{width:100%;min-height:76px;padding:12px 16px;color:var(--text);text-align:left;border:0;border-bottom:1px solid var(--border);background:#fff;transition:background .2s}.history-row:nth-child(odd){background:#fbfdff}.history-row:last-child{border-bottom:0}.history-row:hover{background:#edf6ff}.history-row>span{min-width:0;display:grid;gap:4px}.history-row strong{overflow:hidden;font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}.history-row small{overflow:hidden;color:#718397;font-size:.68rem;text-overflow:ellipsis;white-space:nowrap}.history-primary strong{color:var(--blue)}.row-arrow{justify-items:end;color:#7d91a6}.row-arrow svg{width:18px;height:18px}.empty-state{padding:48px 20px;text-align:center}.empty-state>span{width:50px;height:50px;display:grid;place-items:center;margin:0 auto 14px;color:var(--blue);border-radius:14px;background:#edf6ff}.empty-state h3{margin-bottom:5px;font-size:1rem}.empty-state p{margin-bottom:0;font-size:.82rem}.toast-region{position:fixed;z-index:100;right:22px;top:22px;width:min(380px,calc(100vw - 44px));display:grid;gap:10px}.toast{display:flex;align-items:flex-start;gap:11px;padding:14px 16px;border:1px solid var(--border);border-radius:12px;background:#fff;box-shadow:0 16px 36px #0b284229;animation:toast-in .25s ease both}.toast>span{width:24px;height:24px;flex:0 0 24px;display:grid;place-items:center;border-radius:50%;font-size:.75rem;font-weight:900}.toast p{margin:2px 0 0;font-size:.82rem;line-height:1.4}.toast--success>span{color:#087a64;background:#ecfbf6}.toast--error>span{color:#b42318;background:#fff1f0}.toast--info>span{color:#164d7c;background:#edf6ff}@keyframes toast-in{0%{opacity:0;transform:translateY(-8px)}}.sidebar-overlay{position:fixed;z-index:45;inset:0;background:#071b2e75;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}@media(max-width:1024px){.sidebar{transform:translate(-100%);transition:transform .25s ease}.sidebar.is-open{transform:translate(0)}.app-main{margin-left:0}.menu-toggle{display:inline-grid}.content-shell{max-width:none}.checklist-grid,.evidence-grid{grid-template-columns:1fr}.history-head{display:none}.history-table{display:grid;gap:12px;overflow:visible;border:0;border-radius:0}.history-row{grid-template-columns:1fr 1fr;gap:14px;min-height:auto;padding:18px;border:1px solid var(--border)!important;border-radius:13px;box-shadow:0 7px 18px #173f650a}.history-row .row-arrow{display:none}}@media(max-width:800px){.login-page{grid-template-columns:1fr;background:#f3f6fb}.login-panel{min-height:300px;padding:32px 28px 48px}.login-copy{margin:50px 0 25px}.login-copy h1{font-size:2.4rem}.login-decoration{display:none}.login-form-card{width:min(520px,calc(100% - 32px));margin:-24px auto 32px;padding:30px;border:1px solid var(--border);border-radius:18px;background:#fff;box-shadow:var(--shadow);z-index:2}.metrics-grid{grid-template-columns:1fr}.metric-card{min-height:100px}.filter-grid{grid-template-columns:1fr 1fr}.filter-grid .button{width:100%}}@media(max-width:700px){.topbar{min-height:68px;padding:10px 16px}.topbar-kicker,.connection-status{display:none}.content-shell{padding:26px 16px 56px}.page-heading,.section-heading{align-items:stretch;flex-direction:column}.page-heading .button{width:100%}.card{padding:20px 16px;border-radius:16px}.form-grid,.photo-grid,.filter-grid{grid-template-columns:1fr}.form-actions,.form-actions>div{flex-direction:column}.form-actions .button{width:100%}.history-row{grid-template-columns:1fr}.history-row>span:nth-child(2),.history-row>span:nth-child(3){padding-top:10px;border-top:1px solid var(--border)}.step-heading{align-items:flex-start}.step-heading>strong{padding-top:8px}}@media(max-width:420px){.login-panel{min-height:270px;padding:26px 20px 42px}.login-copy{margin:42px 0 8px}.login-copy h1{font-size:2rem}.login-copy p{font-size:.92rem}.login-form-card{padding:24px 20px}.sidebar{width:min(270px,86vw)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}.signature-canvas{width:100%;height:150px;touch-action:none;border:1px solid #bccbda;border-radius:10px;background:#fff;cursor:crosshair}.signature-canvas.is-disabled{pointer-events:none;background:#f1f4f7}.novelty-evidence{display:grid;gap:5px}.novelty-evidence input{padding:7px;background:#fff}.novelty-evidence small{color:#60768d;font-size:.68rem}.unsaved-warning{margin:-12px 0 24px;padding:12px 14px;color:#6e4c08;border:1px solid #ead59c;border-radius:10px;background:#fff8e5;font-size:.82rem;font-weight:750}.admin-recovery{margin-top:22px;display:grid;grid-template-columns:1fr 1.1fr;gap:22px;align-items:end}.admin-recovery h2{margin:5px 0}.admin-recovery p{margin:0;font-size:.82rem}.recovery-controls{display:flex;align-items:end;gap:10px}.recovery-controls .field{flex:1}.token-output{grid-column:1/-1;overflow-wrap:anywhere;padding:13px;color:#164d7c;border:1px solid #b8d0e9;border-radius:10px;background:#edf6ff;font-family:ui-monospace,monospace;font-size:.78rem}.modal{position:fixed;z-index:120;inset:0;display:grid;place-items:center;padding:20px;background:#071b2e9e;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-panel{width:min(760px,100%);max-height:90vh;overflow:auto;padding:28px;border-radius:18px;background:#fff;box-shadow:0 24px 70px #071b2e47}.close-summary-content h3{margin:22px 0 8px;font-size:1rem}.close-summary-content ul{padding-left:22px;color:var(--text)}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.summary-grid>span{display:grid;gap:4px;padding:13px;border:1px solid var(--border);border-radius:10px;background:#fbfdff}.summary-grid small{color:var(--muted);font-size:.7rem;text-transform:uppercase}.summary-grid strong{font-size:.85rem}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:20px;border-top:1px solid var(--border)}.users-layout{display:grid;gap:22px}.users-layout h2{margin:5px 0}.users-layout p{margin:0;font-size:.86rem}.create-user-grid{display:grid;grid-template-columns:minmax(210px,1.2fr) minmax(230px,1.25fr) minmax(160px,.75fr) minmax(230px,1fr) auto;align-items:end;gap:16px}.create-user-button{min-width:150px}.form-feedback{grid-column:1/-1;min-height:20px;margin:0;padding:0;font-size:.8rem;font-weight:750}.form-feedback:empty{display:none}.form-feedback--success{color:#087a64}.form-feedback--error{color:#b42318}.users-list{display:grid;gap:14px}.user-row{display:grid;grid-template-columns:minmax(230px,1.25fr) minmax(200px,1fr) minmax(155px,.68fr) minmax(115px,.42fr) minmax(420px,auto);align-items:end;gap:16px;padding:18px;border:1px solid var(--border);border-radius:14px;background:#fbfdff}.user-summary{min-width:0;align-self:center;display:flex;align-items:center;gap:12px}.user-summary>div{min-width:0;display:grid;gap:4px}.user-summary strong{overflow:hidden;color:var(--text);font-size:.84rem;text-overflow:ellipsis;white-space:nowrap}.user-summary small{color:var(--muted);font-size:.7rem}.user-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}.user-badges .status{min-height:24px;padding:4px 8px;font-size:.63rem}.user-active{min-height:46px;display:flex;align-items:center;gap:8px;padding:0 4px;color:var(--text);font-size:.78rem;font-weight:800}.user-active input{width:19px;min-height:19px;flex:0 0 19px}.user-actions{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:8px}.user-actions .button{min-width:0;padding-inline:10px;white-space:nowrap}.user-password-reset{grid-column:1/-1;display:grid;grid-template-columns:minmax(220px,1fr) minmax(240px,1fr) auto;align-items:end;gap:14px;padding:16px;border:1px solid #b8d0e9;border-radius:12px;background:#edf6ff}.user-password-reset>div:first-child{align-self:center;display:grid;gap:4px}.user-password-reset strong{font-size:.86rem}.user-password-reset small{color:var(--muted);font-size:.72rem;line-height:1.45}.user-password-actions{display:flex;gap:8px}.users-list-card{min-width:0}.admin-security-card{margin-bottom:22px}.admin-security-copy{min-width:0}.admin-security-card .recovery-controls{display:grid;grid-template-columns:minmax(210px,1fr) minmax(170px,.65fr);gap:14px}.create-user-card .section-heading,.users-list-card .section-heading{margin-bottom:22px}.role-notice{display:flex;align-items:flex-start;gap:14px;margin:0 0 20px;padding:14px 16px;color:#164d7c;border:1px solid #b8d0e9;border-radius:12px;background:#edf6ff}.role-notice strong{white-space:nowrap}.role-notice span{font-size:.82rem;line-height:1.45}@media(max-width:700px){.admin-recovery,.summary-grid{grid-template-columns:1fr}.recovery-controls,.modal-actions{align-items:stretch;flex-direction:column}.modal-panel{padding:20px}}@media(max-width:1450px){.create-user-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.create-user-button{width:100%}.user-row{grid-template-columns:minmax(230px,.8fr) repeat(2,minmax(0,1fr));align-items:end}.user-summary{grid-row:1/span 3}.user-active{grid-column:2;grid-row:2}.user-actions{grid-column:2/-1;grid-row:3}}@media(max-width:900px){.admin-recovery{grid-template-columns:1fr;align-items:stretch}.create-user-grid,.user-row{grid-template-columns:repeat(2,minmax(0,1fr))}.user-summary{grid-column:1/-1;grid-row:auto;padding-bottom:12px;border-bottom:1px solid var(--border)}.user-active{grid-column:1;grid-row:auto}.user-actions{grid-column:1/-1;grid-row:auto}.user-password-reset{grid-template-columns:1fr 1fr}.user-password-actions{grid-column:2}}@media(max-width:700px){.create-user-grid,.admin-security-card .recovery-controls,.user-row,.user-password-reset{grid-template-columns:1fr}.create-user-button,.user-summary,.user-active,.user-actions,.user-password-actions{grid-column:1}.user-actions{grid-template-columns:1fr}.user-actions .button{white-space:normal}.user-password-actions{align-items:stretch;flex-direction:column}.user-summary strong{white-space:normal;overflow-wrap:anywhere}.users-list-card{padding-inline:14px}.user-row{padding:16px}.user-active{min-height:auto;padding:8px 2px}.user-actions .button,.user-password-actions .button{width:100%}}@media(max-width:700px){.role-notice{flex-direction:column;gap:5px}.role-notice strong{white-space:normal}}input[readonly]{color:#314e69;background:#eef3f8;cursor:not-allowed}.charts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}.chart-card{min-width:0;padding:22px;border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:0 8px 22px #173f650d}.chart-card h2{margin:5px 0 20px;font-size:1.1rem}.chart-bars{display:grid;gap:10px}.chart-bar-row{display:grid;grid-template-columns:minmax(90px,130px) 1fr 30px;align-items:center;gap:10px}.chart-bar-row>span{overflow:hidden;color:var(--muted);font-size:.72rem;text-overflow:ellipsis;white-space:nowrap}.chart-bar-row>i{height:18px;overflow:hidden;border-radius:4px;background:#eaf0f7}.chart-bar-row b{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,#0d47c7,#1769c2)}.chart-bar-row>strong{font-size:.75rem;text-align:right}.chart-status{display:flex;align-items:center;justify-content:center;gap:28px;min-height:200px}.donut{--ok:0deg;width:150px;height:150px;flex:0 0 150px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#0d47c7 0 var(--ok),#d92d20 var(--ok) 360deg)}.donut:before{content:"";grid-area:1/1;width:92px;height:92px;border-radius:50%;background:#fff}.donut>span{z-index:1;grid-area:1/1;display:grid;text-align:center}.donut strong{font-size:1.35rem}.donut small{color:var(--muted);font-size:.67rem}.chart-legend{display:grid;gap:12px}.chart-legend span{display:grid;grid-template-columns:10px 1fr auto;align-items:center;gap:7px;color:var(--muted);font-size:.72rem}.chart-legend i{width:9px;height:9px;border-radius:2px}.legend-ok{background:#0d47c7}.legend-pending{background:#d92d20}.chart-empty{margin:0;padding:54px 12px;text-align:center;font-size:.8rem}.finalize-hint{margin:26px 0 -14px;padding:11px 13px;color:#52657a;border:1px solid var(--border);border-radius:10px;background:#f8fbfe;font-size:.78rem;font-weight:700}.masters-grid{display:grid;gap:20px}.master-card{min-width:0}.master-count{flex:0 0 auto;padding:9px 12px;color:#164d7c;border-radius:10px;background:#edf6ff;font-size:.72rem}.master-count strong{font-size:1rem}.master-actions{display:flex;flex-wrap:wrap;gap:10px}.file-button{position:relative;overflow:hidden}.file-button input{position:absolute;width:1px;height:1px;opacity:0}.master-list{display:flex;flex-wrap:wrap;gap:8px;max-height:280px;overflow:auto;margin-top:20px;padding-top:18px;border-top:1px solid var(--border)}.master-list>span{padding:7px 10px;color:#164d7c;border:1px solid #c9dced;border-radius:999px;background:#f5faff;font-size:.72rem;font-weight:750}.master-empty{margin:0;font-size:.8rem}.button--danger{color:#fff;background:#b42318;box-shadow:0 8px 18px #b423182e}.button--danger:hover:not(:disabled){background:#8f1d14}.status--cancelled{color:#5f6873;background:#eef1f4}.section-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.history-toggle{display:flex;align-items:center;width:fit-content;gap:9px;margin:-8px 0 18px;color:var(--text);font-size:.82rem;font-weight:750}.history-toggle input{width:18px;min-height:18px;margin:0}.modal-panel--compact{width:min(560px,100%)}.master-list>.master-item{display:inline-flex;align-items:center;gap:8px;padding:4px 5px 4px 10px}.master-delete{min-height:30px;padding:4px 8px;color:#9b241b;border:0;border-radius:999px;background:#fff1f0;font-size:.68rem;font-weight:800}.master-delete:hover{background:#fbd9d6}.master-delete.is-loading{min-width:64px}.master-delete.is-loading:after{width:14px;height:14px;border-color:#b42318;border-right-color:transparent}@media(max-width:700px){.section-heading-actions{align-items:stretch;flex-direction:column}.section-heading-actions .button{width:100%}.history-toggle{width:100%;min-height:44px}.master-list>.master-item{width:100%;justify-content:space-between;border-radius:10px}.master-delete{min-height:40px}}.photo-upload{min-height:160px;gap:6px;cursor:default}.photo-upload:before{background:linear-gradient(#10243ea3,#10243ea3),var(--preview) center/cover}.photo-upload input,.photo-source-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.photo-source-actions{position:relative;z-index:2;display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin-top:5px}.photo-source-button{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 11px;color:#164d7c;border:1px solid #b8d0e9;border-radius:9px;background:#fff;font-size:.72rem;font-weight:800;cursor:pointer}.photo-source-button:hover{border-color:var(--blue);background:#edf6ff}.photo-upload.has-file .photo-source-button{color:#10243e;border-color:#ffffffbf;background:#ffffffeb}.novelty-evidence>.photo-source-actions{justify-content:flex-start}.master-required{padding:3px 7px;color:#087a64;border-radius:999px;background:#ecfbf6;font-size:.62rem;text-transform:uppercase}@media(max-width:700px){.photo-source-actions{width:100%}.photo-source-button{min-height:44px;flex:1}.novelty-evidence>.photo-source-actions{justify-content:stretch}}.camera-panel{width:min(820px,100%)}.camera-preview{position:relative;display:grid;place-items:center;min-height:320px;overflow:hidden;border-radius:14px;background:#071b2e}.camera-preview video{display:block;width:100%;max-height:62vh;object-fit:contain}.camera-preview>div{position:absolute;inset:auto 14px 14px;padding:7px 10px;color:#fff;border-radius:8px;background:#071b2ebf;font-size:.78rem}.camera-privacy{margin:12px 0 0;color:var(--muted);font-size:.8rem}.photo-source-button[type=button]{font-family:inherit}@media(max-width:700px){.camera-preview{min-height:220px}.camera-panel{padding:16px}.camera-panel .modal-actions{flex-direction:column-reverse}}.checklist-grid{align-items:start}.check-item{align-self:start}.report-download-actions{max-width:100%}.report-download-actions .button{white-space:nowrap}@media(max-width:700px){.report-download-actions{width:100%;display:grid;grid-template-columns:1fr}.report-download-actions .button{width:100%}}@media(max-width:900px){.charts-grid{grid-template-columns:1fr}.chart-status{justify-content:flex-start}}@media(max-width:700px){.chart-card{padding:18px 14px}.chart-bar-row{grid-template-columns:minmax(78px,105px) 1fr 24px}.chart-status{align-items:flex-start;flex-direction:column}.master-actions{display:grid}.master-actions .button{width:100%}}.login-shell{min-height:100vh;background:#f3f6fb}.login-sidebar{padding:30px 22px 24px}.login-sidebar-brand{display:grid;gap:16px;color:#fff;text-decoration:none}.login-sidebar-brand .brand-logo{width:142px;max-height:40px}.login-sidebar-brand strong{font-size:1.15rem;letter-spacing:-.02em}.login-sidebar .sidebar-nav{padding:42px 0 24px}.login-sidebar .nav-item{text-decoration:none}.login-sidebar-meta{margin-top:auto;padding-top:22px;border-top:1px solid rgba(255,255,255,.12)}.login-sidebar-meta strong{display:block;color:#a9c0d7;font-size:.68rem;letter-spacing:.09em}.login-sidebar-meta p{margin:12px 0 0;color:#d6e3ef;font-size:.82rem;line-height:1.55}.login-main{min-height:100vh;margin-left:270px;display:flex;flex-direction:column}.login-topbar{flex:0 0 65px;min-height:65px}.login-content{width:min(1180px,100%);flex:1;align-self:center;display:flex;flex-direction:column;justify-content:center;padding:32px clamp(24px,5vw,64px) 64px}.login-product-heading{width:min(512px,100%);margin:0 auto 24px}.login-product-heading h1{margin:8px 0;font-size:clamp(1.8rem,3vw,2.35rem)}.login-product-heading p{margin:0}.login-form-card{width:min(512px,100%);margin:0 auto;padding:24px;border:1px solid #dce5ef;border-radius:17px;background:#fff;box-shadow:0 14px 36px #173f6512}.login-form-card .field>span:first-child{font-size:.72rem}.login-message{margin:-2px 0 0;font-size:.8rem}.login-footer{display:flex;justify-content:space-between;gap:16px;padding:18px clamp(24px,5vw,64px);color:#718397;border-top:1px solid #dce5ef;background:#fff;font-size:.72rem;font-weight:700}.mfa-qr-panel{display:grid;justify-items:center;gap:10px;padding:14px;border:1px solid #dce5ef;border-radius:14px;background:#f8fbff}.mfa-qr-panel span{color:#425a70;font-size:.78rem;font-weight:750}.mfa-qr-panel img{display:block;width:min(240px,100%);height:auto;border-radius:8px;background:#fff}.mfa-qr-panel img[hidden]{display:none}@media(max-width:1024px){.login-main{margin-left:0}.login-sidebar{transform:translate(-100%)}.login-sidebar.is-open{transform:translate(0)}.login-topbar .menu-toggle{display:inline-grid}}@media(max-width:700px){.login-content{justify-content:flex-start;padding:46px 16px 48px}.login-product-heading{margin-bottom:20px}.login-product-heading h1{font-size:1.7rem}.login-form-card{padding:20px 16px}.login-footer{padding:16px;flex-direction:column;gap:4px}}.geo-card{margin-top:20px;padding:26px;border:1px solid var(--border);border-radius:18px;background:#fff;box-shadow:0 8px 22px #173f650d}.geo-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:20px}.geo-heading h2{margin:5px 0 6px;font-size:1.25rem}.geo-heading p{max-width:720px;margin:0;color:var(--muted);font-size:.82rem;line-height:1.5}.geo-city-field{width:min(290px,100%);flex:0 0 min(290px,100%)}.geo-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.65fr);gap:22px;align-items:stretch}.geo-map-column{min-width:0}.geo-map{min-height:520px;display:grid;place-items:center;overflow:hidden;border-radius:14px;background:linear-gradient(145deg,#eef7fb,#f8fbfe)}.geo-map-stage{position:relative;width:100%}.geo-map-stage svg{display:block;width:100%;height:auto;max-height:650px}.geo-loading,.geo-error{min-height:520px;display:grid;place-content:center;gap:6px;padding:20px;color:var(--muted);text-align:center;font-size:.82rem}.geo-error strong{color:#b42318}.geo-error span{display:block}.geo-department{stroke:#fff;stroke-width:1.35;vector-effect:non-scaling-stroke;transition:fill .18s ease,stroke .18s ease,filter .18s ease}.geo-department.geo-level-0{fill:#dce8ef}.geo-department.geo-level-1{fill:#bdd9ee}.geo-department.geo-level-2{fill:#7db7e3}.geo-department.geo-level-3{fill:#347fc4}.geo-department.geo-level-4{fill:#0d47a1}.geo-department:hover,.geo-department:focus,.geo-department.is-selected{stroke:#092f6c;stroke-width:2.7;filter:brightness(1.04);outline:none}.geo-context-point{fill:#58748c;opacity:.25;pointer-events:none}.geo-city-marker{color:#f2a900;outline:none}.geo-city-marker>circle:first-child{fill:currentColor;fill-opacity:.28;stroke:#fff;stroke-width:2;vector-effect:non-scaling-stroke;transition:fill-opacity .16s ease,stroke-width .16s ease}.geo-city-marker .geo-city-core{fill:#f2a900;stroke:#17324d;stroke-width:1.2;vector-effect:non-scaling-stroke}.geo-city-marker:hover>circle:first-child,.geo-city-marker:focus>circle:first-child,.geo-city-marker.is-selected>circle:first-child{fill-opacity:.68;stroke:#17324d;stroke-width:3}.geo-city-marker.is-selected .geo-city-core{fill:#fff}.geo-tooltip{position:absolute;z-index:4;max-width:260px;transform:translate(-50%,calc(-100% - 12px));padding:10px 12px;color:#fff;border-radius:9px;background:#102d49;box-shadow:0 8px 24px #071b2e38;pointer-events:none}.geo-tooltip[hidden]{display:none}.geo-tooltip strong,.geo-tooltip span{display:block}.geo-tooltip strong{font-size:.78rem}.geo-tooltip span{margin-top:4px;color:#d9e8f5;font-size:.68rem;line-height:1.35}.geo-detail{min-width:0;display:flex;flex-direction:column;justify-content:center;padding:22px;border:1px solid #d9e5ef;border-radius:14px;background:#f8fbfe}.geo-detail-heading h3{margin:6px 0 2px;font-size:1.35rem}.geo-detail-heading p{margin:0;color:var(--muted);font-size:.78rem}.geo-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:22px}.geo-kpis>span{display:grid;gap:5px;padding:13px;border:1px solid #d9e5ef;border-radius:10px;background:#fff}.geo-kpis small{color:var(--muted);font-size:.65rem;font-weight:750;text-transform:uppercase}.geo-kpis strong{font-size:1.25rem}.geo-detail-note{margin:18px 0 0;padding-top:16px;color:#536b82;border-top:1px solid #d9e5ef;font-size:.75rem;line-height:1.5}.geo-legend{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:12px;color:var(--muted);font-size:.66rem}.geo-legend i{width:26px;height:9px}.geo-legend-1{background:#bdd9ee}.geo-legend-2{background:#7db7e3}.geo-legend-3{background:#347fc4}.geo-legend-4{background:#0d47a1}.geo-legend b{width:13px;height:13px;margin-left:10px;border:3px solid rgba(242,169,0,.45);border-radius:50%;background:#f2a900}.geo-footer{display:flex;justify-content:space-between;gap:16px;margin-top:18px;padding-top:16px;border-top:1px solid var(--border)}.geo-footer p{margin:0;color:var(--muted);font-size:.66rem;line-height:1.45}.geo-footer p:last-child{text-align:right}@media(max-width:1080px){.geo-layout{grid-template-columns:minmax(0,1.3fr) minmax(240px,.7fr)}.geo-map,.geo-loading,.geo-error{min-height:440px}}@media(max-width:900px){.geo-heading{align-items:stretch;flex-direction:column}.geo-city-field{width:100%;flex-basis:auto}.geo-layout{grid-template-columns:1fr}.geo-map{min-height:420px}.geo-detail{min-height:auto}.geo-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:700px){.geo-card{padding:18px 14px;border-radius:16px}.geo-map,.geo-loading,.geo-error{min-height:330px}.geo-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.geo-footer{flex-direction:column}.geo-footer p:last-child{text-align:left}.geo-legend{justify-content:flex-start}.geo-tooltip{max-width:210px}}
