:root{font-family:system-ui,-apple-system,sans-serif;color:#20313b;background:#f3f6f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header{background:#123b41;color:white;padding:22px max(24px,calc((100vw - 1180px)/2));display:flex;align-items:center;justify-content:space-between;gap:16px}header a{color:white;text-decoration:none;font-weight:800;letter-spacing:1px}header a span{display:block;font-size:13px;letter-spacing:0;font-weight:400;margin-top:5px}.badge{font-size:12px;border:1px solid #95b9b7;border-radius:30px;padding:8px 12px}main{max-width:1180px;margin:auto;padding:30px 24px;min-height:75vh}h1{font-size:clamp(26px,4vw,38px);margin:0 0 10px}h2{font-size:21px}p{line-height:1.6}.muted,small{color:#647881}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin-top:26px}.card,.panel{padding:25px;background:white;border:1px solid #dce5e8;border-radius:18px}.card{text-decoration:none;color:inherit;display:block;min-height:160px}.card:hover{border-color:#234e86}.card b{display:block;font-size:22px;margin:15px 0 8px}.card .icon{font-size:28px;color:#234e86}.toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:20px 0}button,.button{font:inherit;font-weight:650;cursor:pointer;background:#173e75;color:white;border:0;border-radius:10px;padding:15px 22px;min-height:50px;text-decoration:none;display:inline-block}button.secondary{background:#e6efee;color:#14534e}button.danger{background:#ad3540}button:disabled{opacity:.5;cursor:wait}input,select{font:inherit;width:100%;padding:14px;border:1px solid #bccdd1;border-radius:8px;background:white;color:#20313b}input[type=checkbox]{width:auto}label{display:block;margin:16px 0 7px;font-weight:600}form{max-width:640px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.camera{background:#12282e;border-radius:18px;overflow:hidden;position:relative;aspect-ratio:4/3;display:grid;place-items:center;color:#9abbbf}.camera video{width:100%;height:100%;object-fit:contain;transform:scaleX(-1)}video{max-width:100%;border-radius:12px}.preview{max-height:340px;max-width:100%;display:block;border-radius:12px;margin:16px 0}.terminal{max-width:900px;margin:auto;text-align:center}.terminal .status{background:white;border:1px solid #dce5e8;padding:23px;border-radius:14px;margin:18px 0;font-size:24px;font-weight:600}.terminal .success{background:#e7eefb;color:#173e75}.clock{font-variant-numeric:tabular-nums;font-size:22px;margin:20px 0}.table-wrap{overflow:auto;background:white;border:1px solid #dce5e8;border-radius:12px}table{width:100%;border-collapse:collapse;font-size:14px}th,td{padding:16px;text-align:left;border-bottom:1px solid #e7eeee;white-space:nowrap}td button{padding:10px;min-height:44px;margin:2px}#notice:not(:empty){padding:16px;border-radius:10px;background:#fff2d7;color:#634306;margin-bottom:20px}.info{border-left:4px solid #234e86;padding:10px 18px;background:#eaf0f9;margin-top:20px}footer{text-align:center;padding:25px;color:#667a82;font-size:12px;line-height:1.8}.filters{display:flex;gap:14px;flex-wrap:wrap;align-items:end}.filters label{margin-top:0}.filters>div{flex:1;min-width:160px}pre{white-space:pre-wrap;background:#edf3f4;padding:16px;border-radius:12px}a{color:#173e75}[hidden]{display:none!important}@media(max-width:720px){.grid{grid-template-columns:1fr}header{padding:18px}main{padding:24px 16px}.badge{font-size:10px}.panel{padding:18px}.terminal .status{font-size:21px}}
.company-results{margin-top:24px}.company-report{margin-bottom:30px}.company-report h2{padding:15px 20px;border-left:5px solid #173e75;background:#e8eef8;border-radius:10px}.point-success{position:absolute;inset:0;z-index:2;background:rgba(16,42,82,.97);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;text-align:center}.point-success h2{font-size:clamp(30px,5vw,52px);margin:12px 0}.point-success p{font-size:clamp(19px,3vw,28px);margin:8px 0}.success-check{font-size:70px;line-height:1;border:4px solid #fff;border-radius:50%;width:100px;height:100px;display:grid;place-items:center}.terminal .status.success{background:#173e75;color:white;border-color:#173e75}

fieldset{border:1px solid #dbe4e8;border-radius:12px;margin:20px 0;padding:16px}legend{font-weight:700;padding:0 6px}.journey-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:22px 0}.journey-kpis>div{background:#fff;border:1px solid #dbe4e8;border-radius:14px;padding:18px}.journey-kpis b{display:block;font-size:2rem;color:#173e75}.journey-kpis span{font-size:.9rem}.journey-kpis .pending b{color:#b35f07}.journey-table small{display:block;margin-top:6px;line-height:1.5}.entry-pending{background:#fff4df}.journey-table details{margin-top:10px}.journey-table summary{cursor:pointer;color:#173e75}.journey-table details p{margin:10px 0}.journey-table{min-width:1050px}@media(max-width:700px){.journey-kpis{grid-template-columns:repeat(2,1fr)}}

:root{--brand:#102a52}header{background:#102a52}.card b,a{color:#173e75}button,.button{background:#173e75}button.secondary,.button.secondary{background:#e7edf7;color:#173e75}textarea{width:100%;min-height:90px;padding:12px;border:1px solid #bdcbdc;border-radius:9px;font:inherit}td small{display:block;line-height:1.6;margin-top:4px}td details{white-space:normal;min-width:140px}td details p{margin:8px 0}.operations-report{min-width:1240px}.audit-event{background:#fff;border:1px solid #dce5ef;border-radius:12px;padding:18px;margin:16px 0}.audit-event pre{max-height:400px;overflow:auto}.audit-event small{overflow-wrap:anywhere}.audit-event h3{margin-top:0}input[type=checkbox]{accent-color:#173e75}.panel button{margin-top:12px}

.face-focus{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transform:scaleX(-1);pointer-events:none;z-index:1}

/* Painel administrativo: navegação permanente e leitura por dia. */
:root{--brand:#102a52;--panel-bg:#f2f5fa;--panel-line:#dce4ef;--panel-ink:#1d314f;--sidebar-width:264px}
body[data-screen="panel"]{background:var(--panel-bg);color:var(--panel-ink)}
.app-sidebar{display:none}.menu-backdrop{display:none}
body[data-screen="panel"] .app-sidebar{display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);z-index:40;background:#102a52;color:#d4e0f2;padding:25px 16px 18px;overflow-y:auto}
.sidebar-brand{display:flex;align-items:center;gap:12px;padding:0 12px 27px;color:#fff;text-decoration:none;font-weight:800;letter-spacing:.1em;font-size:18px}
.sidebar-brand .brand-mark{display:grid;place-items:center;width:39px;height:43px;background:#fff;color:#102a52;border-radius:12px;font-size:26px;letter-spacing:0}
.sidebar-brand small{display:block;color:#b4c7e2;font-size:11px;letter-spacing:.08em;font-weight:500;margin-top:4px}
.app-sidebar nav{flex:1}.sidebar-group{margin:3px 0 24px}.sidebar-group>p{font-size:10px;text-transform:uppercase;letter-spacing:.16em;color:#91a8cc;font-weight:750;margin:0 14px 9px}
.sidebar-link{color:#d0ddf1;text-decoration:none;display:flex;align-items:center;gap:12px;min-height:45px;padding:11px 13px;border-radius:9px;margin:3px 0;font-size:13px;font-weight:550;transition:background .15s,color .15s}
.sidebar-link:hover{background:#ffffff0d;color:white}.sidebar-link.active{background:#315585;color:#fff;box-shadow:inset 3px 0 0 #a7caff;font-weight:700}
.sidebar-link svg,.icon-button svg{width:19px;height:19px;flex-shrink:0}.sidebar-account{display:flex;align-items:center;gap:10px;border-top:1px solid #ffffff20;padding:18px 8px 0;margin-top:10px}
.account-avatar{background:#ffffff18;border:1px solid #ffffff24;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-weight:750;color:#fff}.account-description{flex:1;min-width:0}.account-description b{font-size:12px;display:block;overflow:hidden;text-overflow:ellipsis}.account-description small{font-size:10px;color:#a5bbd9;display:block;margin-top:3px}
.sidebar-account .icon-button{padding:8px;min-height:36px;background:transparent;color:#bfd0e8;border-radius:8px;line-height:1;display:grid;place-items:center}.sidebar-account .icon-button:hover{background:#ffffff12;color:#fff}
body[data-screen="panel"]>header.app-topbar{position:sticky;top:0;z-index:25;min-height:83px;margin-left:var(--sidebar-width);background:#fff;color:var(--panel-ink);border-bottom:1px solid var(--panel-line);padding:18px 32px;gap:16px}
.topbar-heading{display:flex;align-items:center;gap:16px}.topbar-eyebrow{font-size:9px;letter-spacing:.16em;font-weight:750;color:#7c8da4;display:block;margin-bottom:5px}.topbar-heading strong{font-size:16px;font-weight:700}.topbar-date{font-size:12px;color:#7b8b9f;white-space:nowrap}.menu-toggle{display:none}
body[data-screen="panel"]>main{margin:0 0 0 var(--sidebar-width);max-width:none;min-width:0;padding:30px 32px 20px;min-height:calc(100vh - 175px)}
body[data-screen="panel"]>footer{margin-left:var(--sidebar-width);font-size:10px;color:#8895a7;padding:18px 32px;text-align:left}
body[data-screen="panel"] h1{font-size:clamp(24px,2.4vw,31px);letter-spacing:-.025em;margin-bottom:8px}body[data-screen="panel"] h1+p{font-size:13px;max-width:920px;margin-top:0;color:#78869a}
body[data-screen="panel"] h2{font-size:19px}.panel{border-color:var(--panel-line)}
body[data-screen="panel"] .filters{max-width:none;background:#fff;border:1px solid var(--panel-line);border-radius:14px;padding:17px 20px;gap:15px;align-items:end;margin:22px 0 17px}
body[data-screen="panel"] .filters label{font-size:11px;font-weight:700;color:#64748b;flex:1;min-width:130px;margin:0}
body[data-screen="panel"] input,body[data-screen="panel"] select{font-size:13px;min-height:42px;padding:10px 12px;border-color:#d5deea;color:#2a3e5b;margin-top:6px}
body[data-screen="panel"] button,body[data-screen="panel"] .button{font-size:12px;padding:12px 17px;min-height:42px;border-radius:8px}
body[data-screen="panel"] input[type="checkbox"]{min-height:0;margin-right:6px}
body[data-screen="panel"] td button{min-height:34px;padding:8px 11px;font-size:11px}
body[data-screen="panel"] th{font-size:10px;color:#72839b;text-transform:uppercase;letter-spacing:.05em;background:#f8fafd;font-weight:700;padding:15px 17px}
body[data-screen="panel"] td{font-size:12px;padding:15px 17px;color:#354761;border-bottom-color:#edf0f5}body[data-screen="panel"] td b{color:#1e365b;font-weight:650}
body[data-screen="panel"] .table-wrap{border-color:var(--panel-line);border-radius:13px;box-shadow:0 3px 8px #203c6503}
body[data-screen="panel"] .company-report{margin-bottom:28px}body[data-screen="panel"] .company-report h2{font-size:14px;padding:12px 17px;background:#e8edf5;border-left-width:3px;margin:0 0 10px;border-radius:8px}
body[data-screen="panel"] .journey-kpis{gap:16px;margin:20px 0 25px}.journey-kpis>button{display:block;text-align:left;background:#fff;color:#62728a;border:1px solid var(--panel-line);border-radius:13px;padding:19px 22px;box-shadow:0 3px 8px #203c6503;cursor:pointer;min-height:112px}
.journey-kpis>button:hover,.journey-kpis>button:focus-visible{border-color:#87a6d0;box-shadow:0 5px 16px #203c6510;outline:none}.journey-kpis>button.is-selected{border-color:#315585;box-shadow:0 0 0 1px #315585}
.journey-kpis>button b{display:block;font-size:30px;line-height:1.2;color:#183e74;margin-bottom:8px}.journey-kpis>button span{font-size:11px;color:#74829a;font-weight:500}.journey-kpis>button.pending b{color:#a86410}
.pending-review{border:1px solid #ead8b9;background:#fffdf9;border-radius:14px;padding:20px;margin-bottom:28px}.pending-review-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:15px}.pending-review h2{margin:0 0 5px;font-size:17px!important;color:#6c4d24}.pending-review-heading p{font-size:12px;color:#92816c;margin:0}.pending-count{background:#f3e5cd;color:#8e631f;border-radius:20px;font-size:11px;white-space:nowrap;padding:7px 11px;font-weight:700}.pending-people{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px}
body[data-screen="panel"] .pending-person{background:#fff;color:#40516a;border:1px solid #e9dfcf;border-radius:10px;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 15px;min-height:74px}.pending-person:hover{border-color:#b9a17c;background:#fffaf2}.pending-person strong{font-size:12px;display:block;margin-bottom:5px;color:#394b66}.pending-person small{font-size:10px;line-height:1.5;color:#9b835d;display:block;font-weight:500}.pending-person .pending-arrow{color:#9d7a3b;font-size:21px;font-weight:400}.pending-clear{border:1px solid #d8e4f1;border-radius:13px;padding:16px 20px;margin:22px 0;background:#f8fbff;color:#506a8c;font-size:13px}
body[data-screen="panel"] .entry-pending{background:#fffaf0}.app-sidebar a:focus-visible,.sidebar-account button:focus-visible{outline:2px solid #b6d4ff;outline-offset:2px}.pending-person:focus-visible{outline:2px solid #a17730;outline-offset:2px}
body[data-screen="terminal"]>header,body[data-screen="terminal"]>footer{display:none}body[data-screen="terminal"]>main{max-width:1180px;padding-top:18px}
@media(max-width:1100px){:root{--sidebar-width:238px}body[data-screen="panel"]>main{padding:25px 22px}body[data-screen="panel"]>header.app-topbar{padding:17px 22px}.journey-kpis>button{padding:16px}.sidebar-link{font-size:12px;gap:10px}.sidebar-brand{padding-left:8px}}
@media(max-width:900px){body[data-screen="panel"] .app-sidebar{transform:translateX(-100%);transition:transform .2s;width:264px}body[data-screen="panel"].menu-open .app-sidebar{transform:translateX(0)}body[data-screen="panel"]>header.app-topbar,body[data-screen="panel"]>main,body[data-screen="panel"]>footer{margin-left:0}.menu-toggle{display:flex;flex-direction:column;justify-content:center;gap:4px;background:#eaf0f8!important;padding:11px!important;min-height:38px!important;width:38px;color:#173e75}.menu-toggle span{display:block;height:2px;width:16px;background:currentColor;border-radius:1px}body[data-screen="panel"].menu-open .menu-backdrop{display:block;position:fixed;inset:0;z-index:35;background:#0e244fa1;border-radius:0;border:0;width:100%;height:100%;padding:0}}
@media(max-width:600px){body[data-screen="panel"]>header.app-topbar{min-height:72px;padding:14px 16px}.topbar-heading strong{font-size:14px}.topbar-date{display:none}body[data-screen="panel"]>main{padding:22px 15px 15px}body[data-screen="panel"]>footer{padding:15px}.topbar-eyebrow{font-size:8px}.journey-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}.journey-kpis>button{min-height:105px;padding:15px!important}.journey-kpis>button b{font-size:26px}.journey-kpis>button span{font-size:10px}body[data-screen="panel"] .filters{padding:14px;gap:12px}.pending-review{padding:15px}.pending-review-heading{gap:10px}.pending-people{grid-template-columns:1fr}.pending-count{font-size:10px}.panel{padding:18px}}
body[data-screen="panel"] .journey-kpis>button{padding:19px 22px}
.installation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}.installation-card{min-width:0;box-shadow:0 4px 16px #142c5005}.installation-card>.badge{display:inline-block;background:#eaf0f9;color:#34547f;border-color:#d2dff1;font-size:10px;font-weight:750;padding:6px 11px}.installation-card h2{margin:14px 0 5px;font-size:22px!important}.installation-card>p{font-size:12px}.installation-card label{font-size:12px;color:#62748e}.installation-card textarea{min-height:78px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.7;margin-top:7px;resize:vertical;background:#fafcff;border-color:#d5deea}.installation-card small{font-size:11px;line-height:1.6;display:block}.installation-card .toolbar{margin:15px 0;gap:9px}.installation-card .toolbar button{margin-top:0}.installation-card [data-link-box]{margin-top:20px;padding:16px;border:1px dashed #88a5cf;background:#f2f6fc;border-radius:11px}.installation-card [data-link-box] label{margin-top:0}.installation-card [data-link-box] input{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px!important;background:#fff}.device-agent{white-space:normal;overflow-wrap:anywhere;max-width:320px;min-width:220px;font-size:10px!important;line-height:1.6}
.terminal-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:8px 0 15px;text-align:left}.terminal-heading h1{margin:0;font-size:clamp(23px,4vw,34px)}.terminal-heading>div{min-width:0}.terminal-heading p,.terminal-heading small{margin:4px 0;font-size:13px}.terminal-heading button{white-space:nowrap;flex-shrink:0}.extra-banner{border:1px solid #d6aa57;border-left:5px solid #c5983b;background:#fff4d8;border-radius:12px;padding:15px 20px;color:#75511b;text-align:left;margin:15px 0 20px}.extra-banner b{display:block;font-size:18px;margin-bottom:5px}.extra-banner span{display:block;font-size:13px;line-height:1.6}.overtime-mode .camera{border:4px solid #c5983b;box-shadow:0 0 0 4px #fff0ca}.overtime-mode .clock{color:#7c581d}.overtime-mode .point-success{background:rgba(86,64,20,.97)}
@media(max-width:700px){.installation-grid{grid-template-columns:1fr}.installation-card{padding:20px}.terminal-heading{gap:12px}.terminal-heading h1{font-size:24px}.terminal-heading button{min-height:45px;padding:12px 16px;font-size:13px}.extra-banner{padding:14px 16px}.extra-banner b{font-size:16px}.extra-banner span{font-size:12px}}

/* Conferência do dia: ações próximas às batidas, sem sair do painel. */
.day-editor{padding:0;border:1px solid #d2deed;border-radius:18px;width:min(890px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 48px);color:#2b4162;background:#f7f9fc;box-shadow:0 24px 90px #0e244f40;overflow:auto}
.day-editor::backdrop{background:#102a527d;backdrop-filter:blur(2px)}
.day-editor-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:24px 28px 20px;background:#fff;border-bottom:1px solid #e0e7f1;position:sticky;top:0;z-index:2}
.day-editor-eyebrow{font-size:11px;color:#7689a3;font-weight:750;text-transform:uppercase;letter-spacing:.08em}.day-editor h2{font-size:24px!important;margin:7px 0 5px;color:#18395f}.day-editor-header p{margin:0;color:#74839a;font-size:12px}.day-editor-close{font-size:23px!important;line-height:1;padding:5px 12px!important;min-width:38px;min-height:38px!important;flex-shrink:0;margin:0!important}
.day-editor-body{padding:24px 28px 28px}.day-editor form{max-width:none}.day-editor p{font-size:13px;line-height:1.65}.day-editor small{font-size:11px;line-height:1.65;color:#76869d}.day-editor label{font-size:12px;color:#405875}.day-editor textarea{margin-top:7px;resize:vertical;min-height:95px;border-color:#ccd8e8;color:#263e5f;font-size:13px;background:#fff;line-height:1.6}
.day-editor-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.day-editor-summary>div{background:#fff;border:1px solid #dee6f0;border-radius:10px;padding:13px 15px}.day-editor-summary small{display:block;font-size:10px;min-height:17px}.day-editor-summary b{display:block;color:#24456e;font-size:17px;margin-top:6px;font-variant-numeric:tabular-nums}.day-editor-state{margin:15px 0 21px;color:#708199}.day-editor-state b{color:#3a5272}
.day-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:20px 0}.day-actions>button{display:block;text-align:left;background:#fff;color:#31557f;border:1px solid #d3deed;padding:17px!important;min-height:104px!important}.day-actions>button:hover{border-color:#6c91be;background:#fbfdff}.day-actions>button[aria-pressed="true"]{border-color:#315585;background:#eaf1fa;box-shadow:inset 0 0 0 1px #315585}.day-actions b{display:block;font-size:13px;margin-bottom:7px}.day-actions span{display:block;font-size:11px;line-height:1.6;color:#7b8ca3;font-weight:450}
.day-action-panel{background:#fff;border:1px solid #dae4f1;border-radius:13px;padding:22px;margin:20px 0}.day-action-panel h3{font-size:17px;color:#24456e;margin:0 0 8px}.day-action-panel h3:focus{outline:none}.day-action-panel>p{margin:0 0 17px;color:#7889a0}.day-action-panel .filters{padding:0!important;border:0!important;margin:18px 0!important;gap:12px!important}.day-action-panel .filters label{min-width:140px!important}.day-action-panel fieldset{margin:18px 0;border-color:#dce5f0;padding:12px 16px 16px}.day-action-panel legend{font-size:12px;color:#4c6280}.day-action-panel fieldset label{font-weight:450;margin:11px 0 0}.day-action-panel .toolbar{margin-bottom:0}.day-private-choice{margin-top:18px!important}.day-private-choice input{margin-top:0!important}
.day-review-note{padding:17px 19px;background:#eaf1fb;border:1px solid #d0def1;border-radius:12px;margin:20px 0;color:#32537f}.day-review-note>b{font-size:12px}.day-review-note p{margin:7px 0;color:#4d6486;white-space:pre-wrap;overflow-wrap:anywhere}.day-review-note small{display:block}.day-review-note button{margin-top:12px}.day-review-stale,.day-editor-notice,.day-observation-info{padding:14px 17px;background:#fff5df;border:1px solid #ecddbc;border-radius:10px;color:#8a6426;font-size:12px;margin:16px 0}.day-editor-notice{white-space:pre-wrap;overflow-wrap:anywhere}.day-editor-notice button{margin-top:10px}
.day-history{margin-top:24px;border-top:1px solid #dde6f0;padding-top:19px}.day-history summary{cursor:pointer;font-size:12px;color:#48688f;font-weight:650}.day-history h3{font-size:13px;margin:23px 0 10px;color:#4c6382}.day-history>p{margin:8px 0;color:#73849b;font-size:12px}.day-history-item{background:#fff;border:1px solid #e0e7f1;border-radius:9px;padding:14px 16px;margin:10px 0}.day-history-item>b{font-size:12px;color:#4a6282}.day-history-item small{display:block;margin-top:5px}.day-history-item p{margin:10px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;color:#546d8e}
@media(max-width:650px){.day-editor{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:13px}.day-editor-header{padding:19px 18px 17px}.day-editor h2{font-size:20px!important}.day-editor-body{padding:18px}.day-editor-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.day-editor-summary>div{padding:11px 13px}.day-actions{grid-template-columns:1fr;gap:8px}.day-actions>button{min-height:0!important;padding:14px 16px!important}.day-actions b{margin-bottom:4px}.day-action-panel{padding:17px}.day-action-panel .filters{gap:15px!important}.day-action-panel .filters label{min-width:115px!important}.day-action-panel .toolbar{align-items:stretch}.day-action-panel .toolbar button{flex:1}.day-editor-eyebrow{font-size:10px}}

/* Batidas originais em janela sobreposta, sem aumentar a linha do relatório. */
body[data-screen="panel"] td .marks-view-trigger{display:block;width:fit-content;min-height:30px;padding:5px 0;margin:4px 0 0;background:transparent;color:#315d94;font-size:11px;font-weight:500;text-align:left;border-radius:3px}
.marks-view-trigger:hover{text-decoration:underline}.marks-view-trigger:focus-visible{outline:2px solid #7299cc;outline-offset:3px}
.marks-dialog{padding:0;border:1px solid #d2deed;border-radius:17px;width:min(650px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 48px);color:#2b4162;background:#fff;box-shadow:0 24px 90px #0e244f40;overflow:auto}
.marks-dialog::backdrop{background:#102a527d;backdrop-filter:blur(2px)}
.marks-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 26px 21px;border-bottom:1px solid #e0e7f1;position:sticky;top:0;z-index:1;background:#fff}
.marks-dialog-eyebrow{font-size:10px;color:#7689a3;font-weight:750;text-transform:uppercase;letter-spacing:.08em}.marks-dialog h2{font-size:23px!important;line-height:1.3;margin:7px 0;color:#18395f;overflow-wrap:anywhere}.marks-dialog-header p{margin:0;font-size:12px;color:#74839a;overflow-wrap:anywhere}
body[data-screen="panel"] .marks-dialog-close{font-size:23px;line-height:1;padding:5px 12px;min-width:38px;min-height:38px;flex-shrink:0;margin:0}.marks-dialog-close:focus-visible{outline:2px solid #7299cc;outline-offset:3px}
.marks-dialog-body{padding:18px 26px 25px}.marks-detail-table{width:100%;table-layout:fixed}.marks-detail-table th:first-child{width:100px}.marks-detail-table th:last-child{width:125px}
body[data-screen="panel"] .marks-detail-table th{font-size:10px;padding:13px 12px;white-space:normal}.marks-detail-table td{white-space:normal;overflow-wrap:anywhere}.marks-detail-table td:first-child b{font-variant-numeric:tabular-nums;white-space:nowrap}body[data-screen="panel"] .marks-detail-table td{font-size:13px;padding:15px 12px}.marks-detail-table tr:last-child td{border-bottom:0}.marks-empty{margin:8px 0;font-size:13px;color:#74839a}
@media(max-width:600px){.marks-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:13px}.marks-dialog-header{padding:20px 18px 17px;gap:12px}.marks-dialog h2{font-size:20px!important}.marks-dialog-body{padding:12px 12px 17px}.marks-detail-table th:first-child{width:82px}.marks-detail-table th:last-child{width:96px}body[data-screen="panel"] .marks-detail-table th{font-size:9px;padding:12px 9px}body[data-screen="panel"] .marks-detail-table td{font-size:12px;padding:14px 9px}}
.offline-capture-layout{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:24px;align-items:start}.offline-capture-photo{width:100%;height:auto;border-radius:12px;background:#e8edf5}.offline-dialog select{max-width:100%}@media(max-width:650px){.offline-capture-layout{grid-template-columns:1fr}.offline-capture-photo{max-width:320px}}
.daily-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}.daily-summary>.summary-card{background:#fff!important;border:1px solid #dce5f0!important;color:#203e66!important;text-align:left;padding:20px!important;border-radius:12px;white-space:normal}.daily-summary strong{display:block;font-size:28px;line-height:1.2;margin-bottom:8px}.daily-summary span{font-size:12px}@media(max-width:650px){.daily-summary{grid-template-columns:1fr}}
.offline-storage-panel{margin-top:1rem;padding:1rem 1.2rem;border:1px solid #b8cdea;border-left:5px solid #234e82;border-radius:12px;background:#f3f7fd;text-align:left}.offline-storage-panel p{margin:.55rem 0}.offline-storage-panel .toolbar{margin:.8rem 0}.offline-storage-panel #offlineReady{font-size:1.05rem;color:#163b6e}.offline-storage-panel #offlineQueueState{font-weight:700}.offline-storage-panel #saveOfflinePhoto{background:#1f4f87;color:#fff;min-height:48px}.offline-storage-panel small{line-height:1.5}
