:root{font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#1d2d23;background:#f5f7f4;font-synthesis:none;text-rendering:optimizeLegibility;font-optical-sizing:auto;--green:#176345;--line:#e7ece7;--muted:#849087;--display:'Manrope',system-ui,-apple-system,"Segoe UI",Arial,sans-serif}*{box-sizing:border-box}body{margin:0;min-height:100vh}.topbar{height:66px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(calc((100vw - 1080px)/2),22px)}.brand{display:flex;align-items:center;gap:9px;color:#1c3225;font:800 20px var(--display);letter-spacing:-1px;text-decoration:none}.brand-icon{width:29px;height:29px;border-radius:9px;background:#145c40;color:white;display:grid;place-items:center;font-size:17px}.brand-light{font-weight:500;color:#60826b}.local-badge{display:flex;align-items:center;gap:7px;color:#718076;background:#f4f7f3;border:1px solid #edf0ec;border-radius:20px;padding:7px 11px;font-size:11px}.local-badge i,.live-dot{width:7px;height:7px;background:#4ca776;border-radius:50%}.container{width:min(1080px,calc(100% - 40px));margin:36px auto 0}.intro{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}.eyebrow{font-size:9px;letter-spacing:1.35px;font-weight:700;color:#809084;margin:0 0 8px}.intro h1{font:750 29px var(--display);letter-spacing:-1px;margin:0}.subheading{font-size:12px;color:var(--muted);margin:7px 0 0}.today{text-align:right;display:grid;gap:5px;color:var(--muted);font-size:11px}.today b{font:700 23px var(--display);letter-spacing:-.5px;color:#294433;font-variant-numeric:tabular-nums}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px}.stat,.card{background:#fff;border:1px solid var(--line);border-radius:11px;box-shadow:0 2px 7px #1e38210a}.stat{padding:17px 18px;display:grid;gap:6px}.stat span,.stat small{font-size:10px;color:var(--muted)}.stat b{font:700 24px var(--display);color:#20372a;letter-spacing:-.5px}.stat .status-text{font-size:18px}.stat small{font-size:9px}.columns{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.card{padding:20px}.card-title,.history-heading{display:flex;align-items:center;justify-content:space-between}.card-title h2,.history-heading h2{font:700 17px var(--display);margin:0;letter-spacing:-.4px}.card-title .eyebrow,.history-heading .eyebrow{margin-bottom:5px}.live-dot{box-shadow:0 0 0 4px #eaf5ed}.trip-icon{width:30px;height:30px;border-radius:9px;background:#eef5ef;color:#28724e;display:grid;place-items:center;font-size:18px}.timeline{margin:12px 0}.timeline-row{display:grid;grid-template-columns:14px 1fr auto;align-items:center;gap:9px;padding:10px 1px;border-bottom:1px solid #f0f3ef;font-size:11px;color:#69776c}.timeline-row:last-child{border:0}.step-dot{width:8px;height:8px;border-radius:50%;border:1px solid #d7dfd7}.step-dot.done{background:#3d9a69;border-color:#3d9a69}.timeline-row b{font-size:11px;color:#34463a;font-variant-numeric:tabular-nums}.punch-actions{display:flex;gap:8px;flex-wrap:wrap}.button{height:36px;border:0;border-radius:7px;padding:0 13px;font:600 11px system-ui,-apple-system,"Segoe UI",Arial,sans-serif;cursor:pointer;transition:background .15s,transform .1s}.button:active{transform:scale(.98)}.button-primary{background:#176345;color:white}.button-primary:hover{background:#104e36}.button-secondary{background:#176345;color:white;margin-top:3px}.button-secondary:hover{background:#104e36}.button-light{background:#f1f5f1;border:1px solid #e8ede8;color:#47624e}.button-light:hover{background:#e9f1e9}.fine-print{font-size:9px;color:#9aa49b;margin:12px 0 0}.trip-card form{display:grid;gap:11px;margin-top:14px}.trip-card label{display:grid;gap:5px;color:#59685d;font-size:10px;font-weight:600}.optional{color:#9aa49b;font-weight:400}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.trip-card input{height:33px;border:1px solid #e4eae4;border-radius:6px;padding:0 9px;color:#334438;font:11px system-ui,-apple-system,"Segoe UI",Arial,sans-serif;outline:none;min-width:0}.trip-card input:focus{border-color:#86b99a;box-shadow:0 0 0 3px #e5f2e8}.trip-card input::placeholder{color:#abb4ac}.history-card{padding:20px 20px 5px}.history-heading{margin-bottom:14px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}thead th{font-size:8px;letter-spacing:.9px;color:#9aa49b;font-weight:700;padding:10px 9px;border-bottom:1px solid #edf0ed}tbody td{font-size:10px;color:#56645a;padding:12px 9px;border-bottom:1px solid #f0f2f0}tbody tr:last-child td{border:0}.type-pill{display:inline-flex;padding:4px 7px;border-radius:20px;background:#eaf4ed;color:#31754d;font-size:9px;font-weight:600}.empty{padding:23px 10px!important;text-align:center;color:#929c94!important}.row-delete{border:0;background:transparent;color:#9da79e;font-size:15px;cursor:pointer;padding:4px 6px}.row-delete:hover{color:#a44337}footer{display:flex;justify-content:space-between;align-items:center;padding:15px 1px 24px;font-size:9px;color:#9aa49b}footer button{border:0;background:transparent;color:#879288;font:inherit;cursor:pointer}footer button:hover{color:#a44337}.toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%,16px);opacity:0;pointer-events:none;padding:10px 16px;background:#20372a;color:white;border-radius:8px;box-shadow:0 8px 24px #19282033;font-size:11px;transition:.2s;z-index:3}.toast.show{opacity:1;transform:translate(-50%,0)}@media(max-width:700px){.topbar{height:58px;padding:0 17px}.container{width:calc(100% - 30px);margin-top:26px}.intro{align-items:flex-start}.intro h1{font-size:24px}.today{padding-top:17px}.today b{font-size:19px}.subheading{max-width:390px;line-height:1.6}.stats{gap:8px}.stat{padding:12px 11px}.stat span{font-size:9px;min-height:24px}.stat b{font-size:20px}.stat .status-text{font-size:14px}.stat small{font-size:8px}.columns{grid-template-columns:1fr;gap:12px}.card{padding:16px}.history-card{padding-bottom:4px}.history-heading{align-items:flex-start;gap:8px}.history-heading h2{font-size:15px}.history-heading .button{height:31px;padding:0 9px;font-size:10px}}@media(max-width:390px){.local-badge{font-size:9px;padding:6px 8px}.intro h1{font-size:21px}.today{font-size:9px}.today b{font-size:17px}.stats{grid-template-columns:1fr 1fr}.stat:last-child{grid-column:1/-1}.form-row{gap:7px}footer{font-size:8px}}

.empty-state{text-align:center;padding:20px 12px 24px;color:#929c94;font-size:11px}.empty-state p{margin:0 0 12px}[hidden]{display:none!important}.account-controls{display:flex;align-items:center;gap:8px}.account-controls .button{height:30px;padding:0 10px;font-size:10px}.auth-wrap{width:min(470px,calc(100% - 30px));margin:44px auto 60px}.auth-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:26px;box-shadow:0 8px 30px #1e38210a}.auth-card h1{font:750 24px var(--display);letter-spacing:-.6px;margin:0 0 7px}.auth-description{font-size:12px;color:var(--muted);line-height:1.6;margin:0}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f2f5f2;border-radius:7px;padding:3px;margin:19px 0 15px}.auth-tab{height:31px;border:0;border-radius:5px;background:transparent;color:#758278;font:600 11px system-ui,-apple-system,"Segoe UI",Arial,sans-serif;cursor:pointer}.auth-tab.active{background:#fff;color:#176345;box-shadow:0 1px 4px #1e38210c}.auth-form{display:grid;gap:12px}.auth-form label{display:grid;gap:5px;color:#59685d;font-size:10px;font-weight:600}.auth-form input{height:36px;border:1px solid #e4eae4;border-radius:6px;padding:0 9px;color:#334438;font:12px system-ui,-apple-system,"Segoe UI",Arial,sans-serif;outline:none}.auth-form input:focus{border-color:#86b99a;box-shadow:0 0 0 3px #e5f2e8}.auth-form small{font-size:9px;font-weight:400;color:#98a199}.auth-form .button{margin-top:3px}.auth-footnote{text-align:center;color:#98a199;font-size:9px;margin:16px 0 0}.auth-message{padding:10px 11px;margin-top:14px;border:1px solid #f3dbd5;background:#fff0ed;color:#a84f42;border-radius:7px;font-size:11px;line-height:1.5}.auth-message a{color:#176345;font-weight:700}.button:disabled{opacity:.65;cursor:wait}/* Compact mobile-first clock and transit dashboard */
body{background:#e9edf0;color:#1e2931}.topbar{position:sticky;top:0;z-index:5;width:min(440px,100%);height:50px;margin:0 auto;padding:0 16px;background:#e9edf0;border:0;gap:8px;justify-content:space-between}.brand{font:800 10px system-ui,-apple-system,"Segoe UI",Arial,sans-serif;letter-spacing:.5px;white-space:nowrap;color:#23313c;padding:0}.sync-state{display:flex;align-items:center;gap:4px;color:#76838d;font-size:9px;white-space:nowrap}.sync-state i,.admin-status i{width:6px;height:6px;border-radius:50%;background:#48a875;display:inline-block}.topbar #logout-button{display:none}.container{width:min(440px,100% - 20px);margin:0 auto;padding:0 0 90px}.clock-panel{display:grid;justify-items:center;gap:1px;margin:0 0 8px}.clock-panel b{font:750 38px/1.15 var(--display);letter-spacing:-1.4px;color:#17222b;font-variant-numeric:tabular-nums}.clock-panel span{font-size:10px;color:#62717b}.punch-actions{display:flex;justify-content:center;margin:10px auto 12px}.punch-circle{width:122px;height:122px;border:5px solid #ffb900;border-radius:50%;background:#ffb900;box-shadow:0 0 0 2px #fff inset,0 0 0 4px #ffb900;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#18232b;cursor:pointer;transition:transform .14s,filter .14s}.punch-circle:active{transform:scale(.96)}.punch-circle:hover{filter:brightness(1.035)}.punch-circle b{font:750 14px var(--display)}.punch-circle span{font-size:9px}.punch-circle.completed{background:#dfe8e2;border-color:#a8c5b3;box-shadow:0 0 0 2px #fff inset,0 0 0 4px #a8c5b3;cursor:default}.summary-strip{height:51px;border:1px solid #dce1e4;border-radius:9px;background:#fff;display:grid;grid-template-columns:repeat(3,1fr);align-items:center;margin:0 0 8px;text-align:center}.summary-strip>div{display:grid;gap:2px}.summary-strip b{font:750 14px var(--display);line-height:1;color:#1e2b34;font-variant-numeric:tabular-nums}.summary-strip span{font-size:8px;color:#75818b}.card{background:#fff;border:1px solid #dce1e4;border-radius:10px;box-shadow:none;padding:12px 13px}.daily-card{margin-bottom:8px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.section-title h2{font:750 11px var(--display);margin:0;color:#22313b}.sync-check{font-size:8px;color:#64806f}.daily-card form{display:grid;gap:7px}.daily-card label{display:grid;gap:4px;font-size:9px;color:#75818b}.daily-card input:not([type=hidden]):not([type=file]){width:100%;height:26px;border:1px solid #dce2e6;border-radius:6px;padding:0 8px;color:#33434e;background:#fff;font:10px system-ui,-apple-system,"Segoe UI",Arial,sans-serif;outline:none}.daily-card input:focus{border-color:#8aa6b4;box-shadow:0 0 0 2px #edf3f6}.daily-card input::placeholder{color:#a5afb6}.button{font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}.photo-button{height:27px;width:max-content;border:0;border-radius:6px;background:#1c2932;color:#fff;padding:0 9px;font-size:9px;font-weight:700}.photo-button:hover{background:#2d404b}.save-trip{height:30px;border:0;border-radius:6px;background:#176345;color:white;padding:0 11px;font-size:10px;font-weight:700;width:max-content}.save-trip:hover{background:#104e36}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.photo-preview{display:flex;align-items:center;gap:8px;padding:5px;border-radius:6px;background:#f3f5f6}.photo-preview img{width:54px;height:54px;object-fit:cover;border-radius:4px}.remove-photo{border:0;background:transparent;color:#687781;font-size:9px}.today-punches{margin-bottom:8px}.status-chip{font-size:8px;color:#7b8790}.status-chip.status-live{color:#27724c}.status-chip.status-done{color:#61717c}.timeline{margin:0}.timeline-row{grid-template-columns:10px 1fr auto;padding:6px 1px;font-size:9px}.timeline-row b{font-size:9px}.step-dot{width:7px;height:7px}.fine-print{font-size:8px;margin:7px 0 0;color:#89959e}.bottom-nav{position:fixed;z-index:6;bottom:0;left:50%;transform:translateX(-50%);width:min(440px,100%);height:58px;padding:4px 7px max(5px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dce1e4;display:grid;grid-template-columns:repeat(5,1fr);box-shadow:0 -2px 10px #1d2d230a}.nav-item{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;border:0;background:transparent;color:#65727c;font:9px system-ui,-apple-system,"Segoe UI",Arial,sans-serif}.nav-item span{font-size:16px;line-height:1}.nav-item.active{color:#172630;font-weight:700}.nav-item.active:before{content:'';position:absolute;top:-4px;width:40px;height:2px;border-radius:0 0 3px 3px;background:#f7b500}.app-screen{padding-top:1px}.screen-heading{padding:14px 2px 12px}.screen-heading h1{font:750 23px var(--display);margin:0 0 4px;color:#1d2c35}.screen-heading>p:last-child{margin:0;font-size:10px;color:#77848d}.screen-heading .eyebrow{margin-bottom:5px}.history-card{padding:13px}.history-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.history-heading h2{font:700 12px var(--display);margin:0}.history-heading .button{height:26px;padding:0 8px;font-size:9px}.history-card table{min-width:480px}.history-card thead th{font-size:8px;padding:8px 6px}.history-card tbody td{font-size:9px;padding:9px 6px}.history-card .empty-state{text-align:center;padding:22px 10px;color:#7c8991;font-size:10px}.summary-cards{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}.summary-card{display:grid;gap:5px;padding:14px}.summary-card span,.summary-card small{font-size:9px;color:#77848d}.summary-card b{font:750 22px var(--display);color:#1e2b34}.settings-card{display:flex;align-items:center;gap:11px;margin-bottom:8px}.settings-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#eaf2ed;color:#236c49;font-weight:700}.settings-card h2,.settings-note h2{font:700 12px var(--display);margin:0 0 4px}.settings-card p,.settings-note p{font-size:9px;color:#78858e;margin:0}.settings-note{display:grid;gap:10px}.settings-note .button{height:30px;width:max-content;font-size:9px}.admin-card{display:grid;gap:8px}.admin-card>span{font-size:8px;letter-spacing:.8px;color:#86929a}.admin-card>b{font:700 15px var(--display);color:#24333c}.admin-card>small{font-size:9px;color:#7f8b94}.admin-status{display:flex;align-items:center;gap:6px;padding-top:8px;border-top:1px solid #edf0f1;font-size:9px;color:#65746b}.auth-wrap{width:min(400px,calc(100% - 30px));margin:42px auto}.auth-card{padding:23px;border-color:#dce1e4}.toast{font-size:10px;bottom:72px}.empty-state{text-align:center;padding:20px 12px 24px;color:#929c94;font-size:10px}.empty-state p{margin:0 0 12px}@media(min-width:700px){.topbar{margin-top:14px;border-radius:10px}.container{margin-top:7px}.bottom-nav{bottom:12px;border:1px solid #dce1e4;border-radius:12px;height:62px}}
.photo-caption{font-size:8px;color:#7a8790;line-height:1.35}
.calendar-card{padding:13px;margin-bottom:8px}.calendar-head{display:flex;align-items:center;justify-content:space-between;text-transform:capitalize;font:700 12px var(--display);color:#23323b}.calendar-arrow{width:30px;height:28px;border:0;border-radius:6px;background:#f1f4f5;color:#3b4a54;font-size:21px;line-height:1}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin:10px 0}.calendar-legend{font-size:9px;color:#74818a;margin:0 0 8px}.calendar-weekday,.calendar-empty,.calendar-day{height:32px;display:grid;place-items:center}.calendar-weekday{font-size:9px;color:#86919a}.calendar-day{border:0;background:transparent;border-radius:50%;font:10px system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#394852}.calendar-day.has-record{background:#e8f1eb;color:#176345;font-weight:700}.calendar-day.calendar-day-off{background:#fff2cc;color:#815b00;font-weight:700;box-shadow:inset 0 0 0 1px #f1d98b}.day-off-notice{padding:9px 10px;border-radius:8px;background:#fff7df;color:#735509}.calendar-day.selected{outline:2px solid #f7b500}.calendar-day:disabled{opacity:.35}.calendar-detail{border-top:1px solid #edf0f1;padding-top:10px;font-size:10px;color:#687780}.calendar-detail h3{font:700 11px var(--display);color:#263640;margin:0 0 8px;text-transform:capitalize}.calendar-detail p{margin:5px 0}.calendar-record article{padding:8px 0;border-top:1px solid #f0f2f3}.calendar-photo{display:flex;align-items:center;gap:8px;padding:0;border:0;background:transparent;color:#176345;font:600 9px system-ui,-apple-system,"Segoe UI",Arial,sans-serif}.calendar-photo img{width:62px;height:62px;object-fit:cover;border-radius:6px;border:1px solid #dce2e6}.photo-link{border:0;background:transparent;color:#176345;font:600 9px system-ui,-apple-system,"Segoe UI",Arial,sans-serif;padding:5px 0;cursor:pointer}
.container{width:min(440px,calc(100% - 20px))}.punch-circle span{text-transform:capitalize}

.js-warning{width:min(440px,calc(100% - 30px));margin:20px auto;padding:12px;background:#fff0ed;color:#8e3d34;border-radius:8px;font-size:13px}
.profile-form{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:8px}.profile-form label{display:grid;gap:5px;font-size:9px;color:#65727c}.profile-form input{height:34px;min-width:0;border:1px solid #dce2e6;border-radius:6px;padding:0 8px;font:11px system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#33434e}.profile-form button{grid-column:1/-1;width:max-content}.pay-cards{grid-template-columns:1fr 1fr}.pay-cards .summary-card b{font-size:18px}@media(max-width:360px){.profile-form{grid-template-columns:1fr}}

.nav-item{min-width:0;overflow:hidden;white-space:nowrap}.nav-item:last-child{font-size:8px}.nav-item:last-child:not(.active){color:#65727c}

.auth-links{display:flex;justify-content:space-between;gap:8px}.auth-links button,.auth-back{border:0;background:transparent;color:#176345;font:600 10px system-ui,-apple-system,"Segoe UI",Arial,sans-serif;padding:6px 0;cursor:pointer}.auxiliary-auth p{font-size:11px;line-height:1.5;color:#77848d;margin:0}.danger-zone{border-color:#f0d9d5}.danger-zone h2{color:#a84f42}.button-danger{background:#a84f42;color:#fff;border:0;border-radius:6px;height:34px;padding:0 12px;font-weight:700;font-size:10px}.settings-note b{color:#33434e}

.auth-links{display:flex;justify-content:space-between;gap:8px}.auth-links button,.auth-back{border:0;background:transparent;color:#176345;font:600 10px system-ui,-apple-system,"Segoe UI",Arial,sans-serif;padding:6px 0;cursor:pointer}.auxiliary-auth p{font-size:11px;line-height:1.5;color:#77848d;margin:0}.danger-zone{border-color:#f0d9d5}.danger-zone h2{color:#a84f42}.button-danger{background:#a84f42;color:#fff;border:0;border-radius:6px;height:34px;padding:0 12px;font-weight:700;font-size:10px}.settings-note b{color:#33434e}

.pwa-install-button{width:100%;margin-top:8px}.pwa-install-help{font-size:11px;line-height:1.45;color:#77848d;margin:8px 0 0}.auth-card .pwa-install-button{margin-top:18px}.auth-card .pwa-install-help{text-align:center}
.admin-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:8px}.admin-metrics .card{display:grid;gap:5px;padding:10px}.admin-metrics span{font-size:8px;color:#77848d}.admin-metrics b{font:700 18px var(--display);color:#24333c}.admin-management{padding:11px;min-width:0}.admin-management-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.admin-management-heading h2{font:700 12px var(--display);margin:0 0 4px}.admin-management-heading p{font-size:8px;color:#78858e;margin:0}.admin-management-heading .button{height:28px;padding:0 9px;font-size:9px}.admin-table-wrap{overflow-x:auto;width:100%}.admin-table{width:100%;min-width:660px;border-collapse:collapse;text-align:left}.admin-table th,.admin-table td{padding:8px 6px;border-bottom:1px solid #edf0f1;font-size:8px;white-space:nowrap}.admin-table th{color:#78858e;font-weight:600}.admin-table td>b,.admin-table td>small{display:block;max-width:160px;overflow:hidden;text-overflow:ellipsis}.admin-table td>small{font-size:8px;color:#78858e;margin-top:3px}.admin-table .button{height:25px;padding:0 7px;font-size:8px}.admin-protected{color:#477458;font-size:8px}.admin-message{padding:9px;border-radius:6px;background:#fff0ee;color:#a74336;font-size:9px;margin-bottom:9px}.admin-privacy-note{margin-top:8px}.admin-privacy-note p{font-size:8px;line-height:1.45;color:#78858e;margin:0}.nav-item[hidden]{display:none!important}.bottom-nav.user-nav{grid-template-columns:repeat(4,1fr)}
.migration-list{display:grid;gap:7px}.migration-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid #edf0f1}.migration-row b,.migration-row small{display:block}.migration-row b{font-size:10px}.migration-row small{font-size:8px;color:#78858e;margin-top:3px}.migration-actions{display:grid;justify-items:end;gap:5px}.migration-confirm{display:flex;align-items:center;gap:4px;font-size:8px;color:#65727c}.migration-confirm input{width:12px;height:12px}.migration-warning{font-size:8px;line-height:1.4;color:#8b6234;background:#fff8ea;border-radius:6px;padding:8px;margin:8px 0 0}.setup-step.done{border-color:#cfe8d6;background:#f4faf5;color:#438255}

.clockout-dialog{width:min(360px,calc(100% - 32px));border:1px solid #dce3e6;border-radius:12px;padding:20px;color:#24333c;box-shadow:0 16px 55px #10251f38}.clockout-dialog::backdrop{background:#17252d88}.clockout-dialog h2{font:700 16px var(--display);margin:0 0 8px}.clockout-dialog p{font-size:11px;line-height:1.5;color:#6c7880;margin:0 0 14px}.clockout-dialog-actions{display:grid;gap:8px}.clockout-dialog-actions .button,.clockout-dialog-actions .auth-back{width:100%;height:38px;justify-content:center}.clockout-dialog-actions .auth-back{padding:8px}
.day-overview{margin-bottom:8px;padding:14px}.day-overview-head{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-bottom:12px;border-bottom:1px solid #edf0f1}.day-overview-head>div{display:grid;gap:4px}.day-overview-head span,.day-overview-grid span{font-size:9px;color:#77848d}.day-overview-head b{font:750 15px var(--display);color:#236c49}.day-overview-head>span:last-child{max-width:48%;text-align:right}.day-overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:12px}.day-overview-grid>div{display:grid;gap:4px}.day-overview-grid b{font:750 16px var(--display);font-variant-numeric:tabular-nums;color:#1e2b34}.pay-breakdown{margin-bottom:8px}.pay-breakdown>.section-title{margin-bottom:5px}.pay-breakdown>.section-title>span{font-size:9px;color:#77848d}.pay-explainer{margin:0 0 9px;color:#77848d;font-size:9px;line-height:1.5}.pay-line{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid #edf0f1}.pay-line>span{font-size:10px;color:#56646d}.pay-line i{font-style:normal;color:#8b969d;font-size:9px}.pay-line>b,.pay-line>small{font-size:10px;font-variant-numeric:tabular-nums}.pay-line>small{min-width:68px;text-align:right;color:#56646d}.pay-total{display:flex;justify-content:space-between;gap:8px;align-items:center;padding-top:12px}.pay-total span{font-size:10px;font-weight:700}.pay-total b{font:750 17px var(--display);color:#176345}.pay-disclaimer{font-size:8px;line-height:1.5;color:#89959e;margin:8px 0 0}.day-overview+.summary-cards{margin-top:8px}
.period-card{padding:12px;margin-bottom:8px}.period-switch{display:grid;grid-template-columns:1fr 1fr;gap:3px;padding:3px;border-radius:7px;background:#f1f4f2}.period-mode{height:30px;border:0;border-radius:5px;background:transparent;color:#718078;font:600 10px system-ui,-apple-system,"Segoe UI",Arial,sans-serif}.period-mode.active{background:#fff;color:#176345;box-shadow:0 1px 4px #1e38210c}.period-navigation{display:grid;grid-template-columns:36px 1fr 36px;align-items:center;gap:8px;margin-top:9px;text-align:center}.period-navigation b{font:700 12px var(--display);color:#22313b}.period-navigation .calendar-arrow{width:34px;height:30px}.period-navigation button:disabled{opacity:.35}.period-note{font-size:8px;line-height:1.45;color:#77848d;margin:7px 2px 0}.period-metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}.period-metrics .summary-card{min-width:0}.period-metrics .summary-card b{font-size:19px;overflow-wrap:anywhere}.period-days{padding:12px;margin-bottom:7px}.period-table-wrap{overflow-x:auto}.period-table{width:100%;border-collapse:collapse;min-width:450px}.period-table th{text-align:left;color:#7c8991;font-size:8px;font-weight:650;padding:7px 4px;border-bottom:1px solid #e9edef}.period-table td{font-size:9px;color:#33434e;padding:8px 4px;border-bottom:1px solid #f0f2f3;white-space:nowrap}.period-table td:last-child{font-weight:700}.period-disclaimer{margin:0 2px 10px}.day-overview .section-title{margin-bottom:9px}.day-overview .day-overview-head{padding-bottom:10px}.day-overview .day-overview-head>span{font-size:9px;color:#77848d}
.settings-screen{padding-bottom:12px}.settings-screen .screen-heading{padding-bottom:10px}.settings-account{padding:14px;margin-bottom:8px}.settings-account h2{font:750 13px var(--display);margin:2px 0 3px;color:#1e2b34}.settings-account .settings-label{font-size:8px;letter-spacing:.8px;color:#87939b}.settings-screen .settings-note{padding:14px;margin-bottom:8px;gap:12px}.settings-section-heading{display:flex;align-items:center;gap:10px}.settings-section-icon{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#eaf2ed;color:#236c49;font-size:12px;font-weight:750}.settings-section-heading h2{font:750 12px var(--display);margin:0 0 4px;color:#22313b}.settings-screen .settings-section-heading p,.settings-screen .settings-option-card>div>p{font-size:9px;line-height:1.45;color:#77848d;margin:0}.settings-form{margin-top:2px;gap:10px}.settings-group{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:11px;border:1px solid #edf0f1;border-radius:8px;margin:0;min-width:0}.settings-group legend{padding:0 5px;font-size:9px;font-weight:700;color:#53636c}.settings-group label{display:grid;align-content:start;gap:5px;min-width:0;font-size:9px;color:#65727c}.settings-group input,.settings-form input{width:100%;min-width:0;height:36px;border:1px solid #dce2e6;border-radius:6px;padding:0 9px;color:#33434e;background:#fff;font:11px system-ui,-apple-system,"Segoe UI",Arial,sans-serif}.settings-group input:focus,.settings-form input:focus{outline:none;border-color:#8aa6b4;box-shadow:0 0 0 2px #edf3f6}.settings-group small{font-size:8px;line-height:1.35;color:#89959e}.settings-save-row{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:9px}.settings-save-row>span{font-size:8px;line-height:1.4;color:#89959e}.settings-save-row .button,.settings-option-card>.button{height:34px;padding:0 12px;font-size:9px;white-space:nowrap}.settings-option-card .pwa-install-help{font-size:8px;line-height:1.45;color:#89959e;margin:0}.settings-screen .settings-version{display:flex;align-items:center;justify-content:space-between;min-height:50px}.settings-version h2{font:700 10px var(--display);margin:0 0 4px}.settings-version p{margin:0;color:#77848d;font-size:9px}.settings-version strong{color:#33434e}.settings-screen .danger-zone{border-color:#f0d9d5}.settings-screen .danger-zone h2{font:700 11px var(--display);margin:0 0 4px;color:#a84f42}.settings-screen .danger-zone>div>p{font-size:9px;line-height:1.45;color:#77848d;margin:0 0 6px}.settings-screen .danger-zone .settings-form{margin-top:0}.settings-screen .danger-zone .settings-form button{grid-column:1/-1;justify-self:start}
@media(max-width:360px){.settings-group{grid-template-columns:1fr}.settings-save-row{align-items:flex-start;flex-direction:column}.settings-save-row .button{width:100%}}
.settings-pay-card .settings-group:first-of-type>label{grid-column:1/-1}
.history-heading>div{display:grid;gap:3px}.history-heading>div>small{font-size:8px;color:#89959e}.history-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 11px}.history-tools label{display:grid;gap:4px;font-size:8px;font-weight:650;color:#72808a}.history-tools .history-search-label{grid-column:1/-1}.history-tools input,.history-tools select{width:100%;height:34px;min-width:0;border:1px solid #dce2e6;border-radius:6px;padding:0 8px;background:#fff;color:#33434e;font:10px system-ui,-apple-system,"Segoe UI",Arial,sans-serif}.history-tools input:focus,.history-tools select:focus{outline:none;border-color:#8aa6b4;box-shadow:0 0 0 2px #edf3f6}.calendar-arrow:disabled{opacity:.35;cursor:default}

.auth-session-note{margin:10px 0 0;color:#77848d;font-size:9px;line-height:1.5;text-align:center}.auth-session-note b{color:#176345}

.history-export-actions{display:flex;gap:5px;flex:none}.history-export-actions .button{height:30px;padding:0 8px;font-size:9px}@media(max-width:360px){.history-export-actions{gap:4px}.history-export-actions .button{padding:0 6px;font-size:8px}}

.history-export-actions{display:flex;gap:5px;flex:none}.history-export-actions .button{height:30px;padding:0 8px;font-size:9px}@media(max-width:360px){.history-export-actions{gap:4px}.history-export-actions .button{padding:0 6px;font-size:8px}}

.ticket-camera-preview{width:100%;max-height:42vh;min-height:180px;object-fit:cover;border-radius:8px;background:#17252d}.clockout-dialog[open] .ticket-camera-preview:not([hidden]){display:block}

.history-heading{flex-wrap:wrap}.history-export-actions{gap:4px}.history-export-actions .button{padding:0 7px}.restore-status{flex:1 0 100%;font-size:8px;line-height:1.4;color:#65727c;margin:1px 0 0}.restore-status[hidden]{display:none!important}@media(max-width:360px){.history-export-actions .button{padding:0 5px;font-size:8px}}

.row-edit{border:0;border-radius:5px;background:#edf3ef;color:#176345;padding:5px 7px;font-size:8px;font-weight:650;white-space:nowrap;cursor:pointer}.workday-correction-dialog{width:min(400px,calc(100% - 24px));max-height:90vh;overflow-y:auto}.correction-form{display:grid;grid-template-columns:1fr 1fr;gap:9px}.correction-form label{display:grid;gap:4px;font-size:9px;color:#65727c}.correction-form input,.correction-form textarea{width:100%;min-width:0;min-height:36px;border:1px solid #dce2e6;border-radius:6px;padding:7px;color:#33434e;background:white;font:11px system-ui,-apple-system,'Segoe UI',Arial,sans-serif}.correction-form textarea{min-height:58px;resize:vertical}.correction-form .correction-reason,.correction-form .clockout-dialog-actions{grid-column:1/-1}.correction-form .clockout-dialog-actions{display:grid;gap:7px}.correction-form .clockout-dialog-actions .button,.correction-form .clockout-dialog-actions .auth-back{width:100%;height:36px}@media(max-width:360px){.correction-form{grid-template-columns:1fr}}

.corrected-note{display:inline-block;color:#8a6945;font-size:8px;margin-top:2px}.correction-audit-list{display:grid;gap:8px;max-height:45vh;overflow:auto;margin:10px 0}.correction-audit-row{display:grid;gap:4px;padding:9px;border:1px solid #e7ecef;border-radius:7px}.correction-audit-row b{font-size:10px;color:#263640}.correction-audit-row span{font-size:10px;color:#176345;font-weight:650}.correction-audit-row small{font-size:8px;color:#75818b;line-height:1.4}
.admin-mail-form{display:grid;gap:8px}.admin-mail-form label{display:grid;gap:4px;font-size:9px;color:#53636d}.admin-mail-form input{width:100%;height:34px;border:1px solid #d5dde0;border-radius:7px;padding:0 9px;background:#fff;color:#26343d;font:inherit;font-size:11px}.admin-mail-help{margin:0;font-size:8px;line-height:1.45;color:#77858e}.admin-mail-actions{display:flex;flex-wrap:wrap;gap:7px}.admin-message-success{background:#edf8f0;color:#246b45}.admin-message-error{background:#fff0ee;color:#a74336}

/* Confirmação de ponto, ficha capturada uma vez, perfil e temas. */
.ticket-help{font-size:9px;line-height:1.5;color:#77848d;margin:0 0 8px}.ticket-saved{margin:0 0 8px}.ticket-saved .calendar-photo{display:flex;align-items:center;gap:8px;width:100%;padding:8px;border:1px solid #dce7df;border-radius:7px;background:#f5faf6;text-align:left}.saved-photo-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#e1f1e5;color:#28794b;font-weight:800}.share-day-button{margin-top:7px}.theme-choice{display:grid;gap:5px;font-size:9px;color:#65727c}.theme-choice select{width:100%;height:36px;border:1px solid #dce2e6;border-radius:6px;padding:0 9px;background:#fff;color:#33434e;font:11px system-ui,-apple-system,"Segoe UI",Arial,sans-serif}.profile-hero{display:flex;align-items:center;gap:12px;padding:16px;margin-bottom:8px}.profile-avatar-large{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#e5f2e8;color:#236c49;font:750 18px var(--display)}.profile-hero h2{font:750 14px var(--display);margin:0 0 4px}.profile-hero p{font-size:10px;color:#77848d;margin:0;overflow-wrap:anywhere}.profile-details{display:grid;gap:0;margin-bottom:8px}.profile-details>div{display:grid;gap:4px;padding:10px 2px;border-bottom:1px solid #edf0f1}.profile-details>div:last-child{border-bottom:0}.profile-details span{font-size:9px;color:#77848d}.profile-details b{font-size:11px;font-weight:650;overflow-wrap:anywhere}.profile-privacy{display:grid;gap:8px}.profile-privacy>b{font-size:10px;color:#236c49}.profile-privacy p{font-size:9px;line-height:1.5;color:#77848d;margin:0}.profile-privacy .button{width:max-content;height:31px;font-size:9px}.bottom-nav{grid-template-columns:repeat(6,minmax(0,1fr))}.bottom-nav.user-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.nav-item{font-size:8px}.nav-item span{font-size:15px}
html[data-theme="dark"] body{background:#10191d;color:#e6eeea}html[data-theme="dark"] .topbar{background:#10191d}html[data-theme="dark"] .bottom-nav,html[data-theme="dark"] .card,html[data-theme="dark"] .summary-strip,html[data-theme="dark"] .settings-note,html[data-theme="dark"] .profile-details{background:#182429;border-color:#2b3b40;color:#e6eeea}html[data-theme="dark"] .bottom-nav{border-color:#2b3b40}html[data-theme="dark"] .brand,html[data-theme="dark"] .clock-panel b,html[data-theme="dark"] .section-title h2,html[data-theme="dark"] .screen-heading h1,html[data-theme="dark"] .settings-account h2,html[data-theme="dark"] .settings-section-heading h2,html[data-theme="dark"] .profile-hero h2,html[data-theme="dark"] .summary-strip b,html[data-theme="dark"] .day-overview-grid b,html[data-theme="dark"] .profile-details b{color:#e6eeea}html[data-theme="dark"] .card p,html[data-theme="dark"] .fine-print,html[data-theme="dark"] .screen-heading>p:last-child,html[data-theme="dark"] .profile-details span,html[data-theme="dark"] .profile-privacy p,html[data-theme="dark"] .settings-screen .settings-note p{color:#a8b8b3}html[data-theme="dark"] .settings-group,html[data-theme="dark"] .profile-details>div{border-color:#2b3b40}html[data-theme="dark"] input,html[data-theme="dark"] select{background:#10191d!important;border-color:#35464a!important;color:#e6eeea!important}html[data-theme="dark"] .nav-item{color:#a8b8b3}html[data-theme="dark"] .nav-item.active{color:#fff}html[data-theme="dark"] .ticket-saved .calendar-photo{background:#1b3028;border-color:#345444;color:#e6eeea}html[data-theme="dark"] .profile-avatar-large{background:#244432;color:#b9ebc7}
html[data-theme="green"] body{background:#e4efe5}html[data-theme="green"] .topbar{background:#e4efe5}html[data-theme="green"] .bottom-nav{background:#f7fbf7;border-color:#cbdccc}html[data-theme="green"] .card,html[data-theme="green"] .summary-strip{border-color:#ceddce}html[data-theme="green"] .button-primary,html[data-theme="green"] .save-trip{background:#246743}html[data-theme="green"] .profile-avatar-large{background:#dcefe0;color:#236c49}
.ticket-saved .calendar-photo img{width:54px;height:54px;flex:0 0 54px;object-fit:cover;border-radius:6px;border:1px solid #dce2e6}.ticket-saved .calendar-photo>span,.calendar-photo>span{display:grid;gap:3px;text-align:left}.ticket-saved .calendar-photo b,.calendar-photo b{font-size:10px}.ticket-saved .calendar-photo small,.calendar-photo small{font-size:9px;color:#75818b}.ticket-viewer{width:min(900px,calc(100vw - 20px));max-width:none;max-height:94vh;padding:0;border:1px solid #dce1e4;border-radius:14px;background:#fff;color:#1e2931;overflow:hidden}.ticket-viewer::backdrop{background:#101820d9;backdrop-filter:blur(2px)}.ticket-viewer-head{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #edf0f1}.ticket-viewer-head>div{display:grid;gap:3px;min-width:0}.ticket-viewer-head strong{font-size:13px}.ticket-viewer-head small{font-size:10px;color:#71808a;overflow-wrap:anywhere}.ticket-viewer-close{width:34px;height:34px;border:0;border-radius:50%;background:#eef2f3;color:#31414a;font-size:24px;line-height:1}.ticket-viewer-stage{height:min(68vh,720px);overflow:auto;display:flex;align-items:center;justify-content:center;background:#182027;touch-action:pan-x pan-y;overscroll-behavior:contain}.ticket-viewer-stage img{display:block;width:auto;height:auto;max-width:100%;max-height:68vh;object-fit:contain;user-select:none;-webkit-user-drag:none}.ticket-viewer-stage img.zoomed{max-width:none;max-height:none;align-self:flex-start;flex:0 0 auto}.ticket-viewer-tools{display:flex;justify-content:center;align-items:center;gap:7px;padding:10px 12px 4px}.ticket-viewer-tools button{min-width:38px;height:34px;border:1px solid #dce2e6;border-radius:7px;background:#f5f7f7;color:#263640;font-size:17px}.ticket-viewer-tools [data-zoom="reset"]{font-size:10px}.ticket-viewer-tools .button{height:34px;display:flex;align-items:center;text-decoration:none;font-size:10px;padding:0 11px}.ticket-viewer-hint{text-align:center;margin:3px 12px 11px;font-size:9px;color:#75818b}@media(max-width:600px){.ticket-viewer{width:100vw;max-height:94dvh;border-radius:14px 14px 0 0;margin:auto 0 0}.ticket-viewer-stage{height:min(68dvh,680px)}.ticket-viewer-stage img{max-height:68dvh}}
html[data-theme="dark"] .ticket-viewer{background:#182429;border-color:#35464a;color:#e6eeea}html[data-theme="dark"] .ticket-viewer-head{border-color:#2b3b40}html[data-theme="dark"] .ticket-viewer-head small,html[data-theme="dark"] .ticket-viewer-hint{color:#a8b8b3}html[data-theme="dark"] .ticket-viewer-close,html[data-theme="dark"] .ticket-viewer-tools button{background:#243439;border-color:#35464a;color:#e6eeea}html[data-theme="dark"] .ticket-saved .calendar-photo small,html[data-theme="dark"] .calendar-photo small{color:#a8b8b3}
.profile-edit-card{margin-bottom:8px}.profile-form-note{margin:-3px 0 10px;font-size:9px;line-height:1.5;color:#77848d}.profile-edit-form{display:grid;gap:9px}.profile-edit-form label{display:grid;gap:4px;font-size:9px;color:#687781}.profile-edit-form input{width:100%;height:37px;border:1px solid #dce2e6;border-radius:7px;padding:0 10px;background:#fff;color:#263640;font:11px system-ui,-apple-system,"Segoe UI",Arial,sans-serif}.profile-edit-form input:focus{outline:0;border-color:#8aa6b4;box-shadow:0 0 0 2px #edf3f6}.profile-edit-form .button{height:36px;margin-top:3px;font-size:10px}.profile-edit-form .button:disabled{opacity:.55;cursor:not-allowed}html[data-theme="dark"] .profile-form-note{color:#a8b8b3}html[data-theme="dark"] .profile-edit-form input{background:#10191d;color:#e6eeea;border-color:#35464a}

.profile-details #profile-company{display:block;width:100%;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal;overflow:visible;text-overflow:clip;line-height:1.5}.settings-group input[list="sptrans-companies"]{text-overflow:clip}

.settings-group select[data-company-select],.auth-form select[data-company-select]{width:100%;height:36px;min-width:0;border:1px solid #dce2e6;border-radius:6px;padding:0 9px;background:#fff;color:#33434e;font:11px system-ui,-apple-system,"Segoe UI",Arial,sans-serif}.settings-group select[data-company-select]:focus,.auth-form select[data-company-select]:focus{outline:none;border-color:#8aa6b4;box-shadow:0 0 0 2px #edf3f6}.settings-group input[name="company_other"],.auth-form input[name="company_other"]{width:100%;min-width:0;height:36px;border:1px solid #dce2e6;border-radius:6px;padding:0 9px;background:#fff;color:#33434e;font:11px system-ui,-apple-system,"Segoe UI",Arial,sans-serif}html[data-theme="dark"] .settings-group select[data-company-select],html[data-theme="dark"] .auth-form select[data-company-select],html[data-theme="dark"] input[name="company_other"]{background:#10191d;color:#e6eeea;border-color:#35464a}

.admin-search{display:grid;gap:5px;margin:0 0 8px;font-size:9px;color:#64747d}.admin-search input{height:34px;padding:0 10px;border:1px solid #d5dde0;border-radius:7px;background:#fff;color:#26343d;font:11px system-ui,-apple-system,"Segoe UI",Arial,sans-serif}.profile-push-consent{display:flex!important;align-items:flex-start;gap:8px;padding:9px;border:1px solid #dce7df;border-radius:7px;background:#f5faf6;line-height:1.45}.profile-push-consent input{width:17px;height:17px;flex:0 0 17px;margin:1px 0 0}.profile-push-consent span{font-size:9px}html[data-theme="dark"] .admin-search input{background:#10191d;color:#e6eeea;border-color:#35464a}html[data-theme="dark"] .profile-push-consent{background:#1b3028;border-color:#345444;color:#e6eeea}

.pwa-install-card{display:grid;gap:10px;margin:0 0 10px;padding:13px;border-color:#b9d4c6;background:linear-gradient(135deg,#fff 0%,#f2f8f4 100%)}.pwa-install-card[hidden],.pwa-install-card [hidden]{display:none!important}.pwa-install-heading{display:flex;align-items:flex-start;gap:10px}.pwa-install-heading>span{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:50%;background:#e2f0e7;color:#176345;font-size:18px}.pwa-install-heading h2{margin:0 0 4px;color:#22313b;font:700 12px var(--display)}.pwa-install-heading p,.pwa-install-steps{margin:0;color:#66757d;font-size:10px;line-height:1.5}.pwa-install-steps ol{margin:0;padding-left:18px}.pwa-install-steps li+li{margin-top:4px}.pwa-install-steps b{color:#263640}.pwa-install-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pwa-install-actions .button{min-height:34px;padding:0 12px;font-size:10px}.pwa-install-actions .button-light{background:#fff}.pwa-install-card:focus-within{outline:2px solid #83ab94;outline-offset:2px}html[data-theme="dark"] .pwa-install-card{background:linear-gradient(135deg,#182429,#1b3028);border-color:#345444}html[data-theme="dark"] .pwa-install-heading h2,html[data-theme="dark"] .pwa-install-steps b{color:#e6eeea}html[data-theme="dark"] .pwa-install-heading p,html[data-theme="dark"] .pwa-install-steps{color:#a8b8b3}html[data-theme="dark"] .pwa-install-heading>span{background:#244432;color:#b9ebc7}html[data-theme="dark"] .pwa-install-actions .button-light{background:#243439;color:#e6eeea;border-color:#35464a}html[data-theme="green"] .pwa-install-card{background:linear-gradient(135deg,#f7fbf7,#e4efe5);border-color:#b9d1bb}
/* Fase 2 — navegação móvel, áreas seguras e acessibilidade */
@supports (padding: env(safe-area-inset-bottom)) {
  .topbar { height: calc(50px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
  .bottom-nav { height: calc(58px + env(safe-area-inset-bottom)); padding-bottom: calc(5px + env(safe-area-inset-bottom)); }
  .container { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
}
.nav-item { min-height: 44px; }
:where(button, a, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #176345;
  outline-offset: 2px;
}
html[data-theme="dark"] :where(button, a, input, select, textarea, [tabindex]):focus-visible {
  outline-color: #9bd4ae;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (max-width: 360px) {
  .bottom-nav { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; padding-left: 4px; padding-right: 4px; }
  .bottom-nav:not(.user-nav) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .nav-item { min-width: 0; gap: 1px; padding: 0 1px; font-size: 7px; white-space: nowrap; }
  .nav-item span { display: inline; font-size: 13px; }
}
.pwa-update-notice{position:relative;z-index:4;width:min(440px,calc(100% - 20px));margin:0 auto 8px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #c7dccc;border-radius:9px;background:#f3faf5;color:#27563c;font-size:10px;line-height:1.4}.pwa-update-notice[hidden]{display:none}.pwa-update-notice>div{display:flex;align-items:center;gap:6px;flex:0 0 auto}.pwa-update-notice .button{min-height:36px;height:auto;padding:6px 9px;font-size:9px}.sync-state.is-offline i{background:#c15b4d}.sync-state.is-offline{color:#a34439}.sync-state.is-syncing i{background:#d5a000;animation:rzk-sync-pulse 1s infinite alternate}html[data-theme="dark"] .pwa-update-notice{background:#1b3028;border-color:#345444;color:#c0e6cb}@keyframes rzk-sync-pulse{to{opacity:.35}}@media(max-width:360px){.pwa-update-notice{align-items:flex-start;flex-direction:column}.pwa-update-notice>div{width:100%}.pwa-update-notice .button{flex:1}}
.pwa-update-notice{box-shadow:0 2px 8px #1d2d230d}.pwa-update-notice .button-primary{background:#176345;color:#fff}.sync-state.is-syncing{color:#8a6b00}html[data-theme="dark"] .sync-state.is-offline{color:#f0a39a}html[data-theme="dark"] .sync-state.is-syncing{color:#e6ca71}
.sync-state.is-error{color:#a74336}.sync-state.is-error i{background:#c15b4d}html[data-theme="dark"] .sync-state.is-error{color:#f0a39a}
.sync-state.is-dirty{color:#8a6900}.sync-state.is-dirty i{background:#d2a000}.connection-notice{position:relative;z-index:4;width:min(440px,calc(100% - 20px));margin:0 auto 8px;padding:10px 12px;display:flex;align-items:flex-start;gap:8px;border:1px solid #e5d49b;border-radius:9px;background:#fff9e8;color:#6b540c;font-size:10px;line-height:1.45}.connection-notice[hidden]{display:none}.connection-notice>span{flex:0 0 18px;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:#f0d875;color:#5b4600;font-weight:800}.connection-notice p{margin:1px 0 0}.sync-state.is-dirty{color:#8a6900}html[data-theme="dark"] .sync-state.is-dirty{color:#e6ca71}html[data-theme="dark"] .connection-notice{background:#332d1b;border-color:#66552a;color:#f2e5b9}html[data-theme="dark"] .connection-notice>span{background:#705c1f;color:#fff0bb}
.row-favorite{border:0;background:transparent;color:#829087;font-size:17px;line-height:1;cursor:pointer;padding:6px}.row-favorite:hover,.row-favorite.active{color:#b47d00}.row-favorite:focus-visible{outline-offset:0}.history-favorites-note{margin:-4px 0 8px;color:#77848d;font-size:9px;line-height:1.4}html[data-theme="dark"] .history-favorites-note{color:#a8b8b3}html[data-theme="dark"] .row-favorite{color:#a8b8b3}html[data-theme="dark"] .row-favorite.active{color:#e6ca71}

/* Fase 2 — teclado móvel, rolagem até campos e áreas seguras */
html { scroll-padding-block: 64px 76px; }
input, select, textarea { scroll-margin-block: 72px; }
@supports (height: 100dvh) {
  body { min-height: 100dvh; }
  #inicio { min-height: 100dvh; }
}
@supports (padding: env(safe-area-inset-left)) {
  body { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
}
@media (max-width: 700px) {
  :where(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea) {
    min-height: 40px;
    font-size: 16px !important;
  }
  textarea { min-height: 84px; }
}
html.keyboard-open { scroll-padding-bottom: 16px; }
html.keyboard-open .bottom-nav {
  visibility: hidden;
  pointer-events: none;
}
html.keyboard-open .container {
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}

.day-progress { display: grid; gap: 8px; margin-top: 16px; padding-top: 13px; border-top: 1px solid #edf0f1; }
.day-progress-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.day-progress-label span { color: #66757d; font-size: 10px; font-weight: 650; }
.day-progress-label b { color: #176345; font-size: 10px; text-align: right; }
.day-progress-track { height: 10px; overflow: hidden; border-radius: 999px; background: #e8eeea; }
.day-progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#3d9a6b,#176345); transition: width .35s ease; }
.day-progress-track.is-complete span { background: #d79a00; }
.day-progress-note { margin: 0; color: #77848d; font-size: 9px; line-height: 1.45; }
html[data-theme="dark"] .day-progress { border-color: #2b3b40; }
html[data-theme="dark"] .day-progress-label span, html[data-theme="dark"] .day-progress-note { color: #a8b8b3; }
html[data-theme="dark"] .day-progress-label b { color: #b9ebc7; }
html[data-theme="dark"] .day-progress-track { background: #2b3b40; }
@media (prefers-reduced-motion: reduce) { .day-progress-track span { transition: none; } }
.ticket-saved { display: grid; gap: 7px; }
.ticket-saved .calendar-photo { min-height: 70px; }
.ticket-saved .calendar-photo img { width: 62px; height: 62px; flex-basis: 62px; }
.ticket-saved .calendar-photo>span { gap: 4px; }
.ticket-saved .calendar-photo small { line-height: 1.35; }
.ticket-saved .saved-photo-download { width: 100%; min-height: 36px; justify-content: center; text-decoration: none; }
html[data-theme="dark"] .ticket-saved .saved-photo-download { background: #243439; border-color: #35464a; color: #e6eeea; }
.summary-next-action { display: flex; align-items: flex-start; gap: 10px; margin: -1px 0 8px; padding: 12px; border-color: #cbded1; background: #f2f8f4; }
.summary-next-action .summary-next-icon { display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; border-radius: 50%; background: #dceee2; color: #176345; font-size: 13px; font-weight: 800; }
.summary-next-action>div { display: grid; gap: 4px; min-width: 0; }
.summary-next-action>div>b { color: #245c3f; font-size: 11px; }
.summary-next-action p { margin: 0; color: #5e7167; font-size: 9px; line-height: 1.5; }
.summary-next-action.is-warning { border-color: #e8d8a9; background: #fff9e8; }
.summary-next-action.is-warning .summary-next-icon { background: #f2e3b4; color: #775800; }
.summary-next-action.is-warning>div>b { color: #745400; }
.summary-next-action.is-warning p { color: #6e5b2d; }
.summary-next-action.is-done { border-color: #cbded1; background: #f2f8f4; }
html[data-theme="dark"] .summary-next-action { border-color: #345444; background: #1b3028; }
html[data-theme="dark"] .summary-next-action .summary-next-icon { background: #244432; color: #b9ebc7; }
html[data-theme="dark"] .summary-next-action>div>b { color: #c0e6cb; }
html[data-theme="dark"] .summary-next-action p { color: #a8b8b3; }
html[data-theme="dark"] .summary-next-action.is-warning { border-color: #66552a; background: #332d1b; }
html[data-theme="dark"] .summary-next-action.is-warning .summary-next-icon { background: #705c1f; color: #fff0bb; }
html[data-theme="dark"] .summary-next-action.is-warning>div>b { color: #f2e5b9; }
html[data-theme="dark"] .summary-next-action.is-warning p { color: #d9c994; }
html[data-theme="dark"] .summary-card b { color: #e6eeea; }
html[data-theme="dark"] .summary-card span,
html[data-theme="dark"] .summary-card small { color: #a8b8b3; }
html[data-theme="dark"] .period-navigation b { color: #e6eeea; }
html[data-theme="dark"] .history-heading h2,
html[data-theme="dark"] .calendar-head,
html[data-theme="dark"] .calendar-detail h3 { color: #e6eeea; }
html[data-theme="dark"] .calendar-arrow { background: #243439; color: #e6eeea; }
html[data-theme="dark"] .calendar-weekday { color: #a8b8b3; }
html[data-theme="dark"] .calendar-day { color: #e6eeea; }
html[data-theme="dark"] .calendar-day.has-record { background: #244432; color: #b9ebc7; }
html[data-theme="dark"] .calendar-detail { border-color: #35464a; color: #a8b8b3; }
html[data-theme="dark"] .calendar-record article { border-color: #35464a; }
html[data-theme="dark"] .calendar-photo { color: #b9ebc7; }
html[data-theme="dark"] .history-tools label { color: #a8b8b3; }
.period-table { min-width: 650px; }
.period-day-status { display: inline-block; padding: 3px 6px; border-radius: 999px; background: #e8f1eb; color: #176345; font-size: 8px; font-weight: 700; }
.period-day-status.is-open { background: #fff3d4; color: #795a00; }
.period-day-status.is-warning { background: #fff0ed; color: #a74336; }
html[data-theme="dark"] .period-day-status { background: #244432; color: #b9ebc7; }
html[data-theme="dark"] .period-day-status.is-open { background: #51421b; color: #f2d980; }
html[data-theme="dark"] .period-day-status.is-warning { background: #4a2925; color: #f0a39a; }
.period-print { width: 100%; min-height: 36px; margin-top: 9px; justify-content: center; }
.period-print-help { display: block; margin-top: 6px; color: #77848d; font-size: 8px; text-align: center; }
@media print {
  @page { size: landscape; margin: 12mm; }
  body.print-summary { min-height: 0 !important; padding: 0 !important; background: #fff !important; color: #17232b !important; }
  body.print-summary .topbar,
  body.print-summary #auth-screen,
  body.print-summary .pwa-update-notice,
  body.print-summary .connection-notice,
  body.print-summary .bottom-nav,
  body.print-summary .toast,
  body.print-summary #inicio > .app-screen:not([data-screen="summary"]) { display: none !important; }
  body.print-summary #inicio { display: block !important; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
  body.print-summary #inicio > .app-screen[data-screen="summary"] { display: block !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
  body.print-summary .period-switch,
  body.print-summary .period-navigation button,
  body.print-summary .period-print,
  body.print-summary .period-print-help,
  body.print-summary .period-day-filters,
  body.print-summary .period-attention-note,
  body.print-summary .day-overview,
  body.print-summary #summary-next-action,
  body.print-summary .pay-breakdown,
  body.print-summary .today-punches { display: none !important; }
  body.print-summary .screen-heading { margin: 0 0 12px !important; padding: 0 !important; }
  body.print-summary .period-card,
  body.print-summary .period-days,
  body.print-summary .summary-card { box-shadow: none !important; border-color: #ccd3d7 !important; break-inside: avoid; }
  body.print-summary .period-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 7px !important; }
  body.print-summary .period-table-wrap { overflow: visible !important; }
  body.print-summary .period-table { width: 100% !important; min-width: 0 !important; table-layout: auto !important; }
  body.print-summary .period-table th,
  body.print-summary .period-table td { padding: 5px 4px !important; color: #17232b !important; font-size: 7.5pt !important; white-space: normal !important; }
  body.print-summary .period-table tr { break-inside: avoid; }
  body.print-summary .period-day-status { padding: 0 !important; background: transparent !important; color: #17232b !important; }
  body.print-summary .period-disclaimer { color: #59666d !important; font-size: 8pt !important; }
}

.period-day-filters{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 5px}.period-day-filter{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:5px 9px;border:1px solid #dce4df;border-radius:999px;background:#fff;color:#53635a;font:600 9px system-ui,-apple-system,"Segoe UI",Arial,sans-serif;cursor:pointer}.period-day-filter.active{border-color:#8eb8a0;background:#eef6f0;color:#176345}.period-day-filter span{display:grid;place-items:center;min-width:17px;height:17px;border-radius:50%;background:#e9edef;color:#34434c;font-size:8px}.period-day-filter.active[data-period-filter="attention"]{border-color:#dfc47b;background:#fff8e7;color:#755600}.period-day-filter.active[data-period-filter="attention"] span{background:#f3e6bd;color:#755600}.period-attention-note{margin:0 0 7px;color:#748078;font-size:8px;line-height:1.45}html[data-theme="dark"] .period-day-filter{background:#10191d;border-color:#35464a;color:#a8b8b3}html[data-theme="dark"] .period-day-filter.active{background:#1b3028;border-color:#345444;color:#c0e6cb}html[data-theme="dark"] .period-day-filter.active[data-period-filter="attention"]{background:#332d1b;border-color:#66552a;color:#f2e5b9}html[data-theme="dark"] .period-attention-note{color:#a8b8b3}
.period-break-warning{color:#9b3b2e;font-weight:700}.period-break-empty{color:#77848d;font-size:8px}html[data-theme="dark"] .period-break-warning{color:#f0a39a}html[data-theme="dark"] .period-break-empty{color:#a8b8b3}
.period-calculation{margin:0 0 10px;padding:10px 12px;border:1px solid #dce4df;border-radius:9px;background:#f8faf9;color:#59666d;font-size:9px;line-height:1.5}.period-calculation summary{color:#245c3f;font-size:10px;font-weight:700;cursor:pointer}.period-calculation p{margin:7px 0}.period-calculation ul{margin:6px 0;padding-left:18px}.period-calculation li{margin:3px 0}.period-calculation b{color:#263740}html[data-theme="dark"] .period-calculation{border-color:#2b3b40;background:#182429;color:#a8b8b3}html[data-theme="dark"] .period-calculation summary,html[data-theme="dark"] .period-calculation b{color:#c0e6cb}
@media print{body.print-summary .period-calculation:not([open])>:not(summary){display:block!important}body.print-summary .period-calculation{break-inside:avoid;border-color:#ccd3d7;background:#fff;color:#39474f}body.print-summary .period-calculation summary,body.print-summary .period-calculation b{color:#17232b}}

.photo-preview{display:grid;gap:8px;margin-top:8px;padding:8px;background:#f3f5f6;border:1px solid #dce2e6;border-radius:8px}.photo-preview>img{display:block;width:100%;height:auto;max-height:320px;min-height:120px;object-fit:contain;background:#e6eaec;border-radius:5px}.ticket-preview-actions{display:flex;gap:8px;flex-wrap:wrap}.ticket-preview-actions .remove-photo{min-height:34px;padding:6px 10px;border:1px solid #d5ded9;border-radius:6px;background:#fff;color:#176345;font-weight:650;cursor:pointer}.ticket-preview-actions [data-remove-ticket-photo]{color:#687781}html[data-theme="dark"] .photo-preview{background:#10191d;border-color:#35464a}html[data-theme="dark"] .photo-preview>img{background:#0c1215}html[data-theme="dark"] .ticket-preview-actions .remove-photo{background:#182429;border-color:#35464a;color:#c0e6cb}html[data-theme="dark"] .ticket-preview-actions [data-remove-ticket-photo]{color:#a8b8b3}
.ticket-photo-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;list-style:none;padding:0;margin:10px 0 12px}.ticket-photo-steps li{display:grid;grid-template-columns:22px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;column-gap:6px;row-gap:2px;min-width:0;padding:7px 6px;border:1px solid #dce2e6;border-radius:7px;background:#f7f9f8;color:#738078}.ticket-photo-steps li>span{grid-row:1/3;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#e8edef;color:#52616a;font-size:9px;font-weight:750}.ticket-photo-steps li>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#405049;font-size:8px}.ticket-photo-steps li>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#849089;font-size:7px}.ticket-photo-steps li.is-current{border-color:#88b49b;background:#eef6f0}.ticket-photo-steps li.is-current>span,.ticket-photo-steps li.is-complete>span{background:#176345;color:#fff}.ticket-photo-steps li.is-current>b,.ticket-photo-steps li.is-complete>b{color:#176345}.ticket-photo-steps li.is-complete{border-color:#cedfd3;background:#f5f9f6}.ticket-preview-actions button:disabled{opacity:.55;cursor:wait}html[data-theme="dark"] .ticket-photo-steps li{border-color:#35464a;background:#10191d;color:#a8b8b3}html[data-theme="dark"] .ticket-photo-steps li>span{background:#2b3b40;color:#e6eeea}html[data-theme="dark"] .ticket-photo-steps li>b{color:#d7e1dc}html[data-theme="dark"] .ticket-photo-steps li>small{color:#93a49c}html[data-theme="dark"] .ticket-photo-steps li.is-current,html[data-theme="dark"] .ticket-photo-steps li.is-complete{border-color:#345444;background:#1b3028}html[data-theme="dark"] .ticket-photo-steps li.is-current>span,html[data-theme="dark"] .ticket-photo-steps li.is-complete>span{background:#27724c}html[data-theme="dark"] .ticket-photo-steps li.is-current>b,html[data-theme="dark"] .ticket-photo-steps li.is-complete>b{color:#c0e6cb}
.period-photo-status{display:block;color:#176345;font-size:8px;font-weight:700}.period-photo-link{margin-top:3px;padding:3px 6px;border:1px solid #cbded1;border-radius:5px;background:#f2f8f4;color:#176345;font:650 8px system-ui,-apple-system,"Segoe UI",Arial,sans-serif;cursor:pointer}.period-photo-link:hover{background:#e6f2e9}html[data-theme="dark"] .period-photo-status{color:#b9ebc7}html[data-theme="dark"] .period-photo-link{background:#1b3028;border-color:#345444;color:#c0e6cb}@media print{body.print-summary .period-photo-link{display:none!important}body.print-summary .period-photo-status{color:#17232b!important}}
.period-print-header{display:none}@media print{body.print-summary .period-print-header{display:grid;gap:3px;margin:0 0 12px;padding:0 0 8px;border-bottom:1px solid #ccd3d7;color:#17232b}body.print-summary .period-print-header>b{font-size:13pt}body.print-summary .period-print-header>span{font-size:9pt}body.print-summary .period-print-header>small{font-size:8pt;color:#59666d}}
#history-date-clear{align-self:end;height:34px}html[data-theme="dark"] .history-tools input:disabled{opacity:.55;cursor:not-allowed}

.profile-completion{display:grid;gap:8px;margin-bottom:8px;padding:12px}.profile-completion-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.profile-completion-heading h2{margin:0 0 4px;font-size:11px}.profile-completion-heading p,.profile-completion-hint{margin:0;color:#77848d;font-size:9px;line-height:1.45}.profile-completion-heading>strong{flex:none;color:#236c49;font-size:10px}.profile-completion progress{display:block;width:100%;height:8px;border:0;border-radius:99px;overflow:hidden;appearance:none}.profile-completion progress::-webkit-progress-bar{border-radius:99px;background:#edf1ee}.profile-completion progress::-webkit-progress-value{border-radius:99px;background:#24724d}.profile-completion progress::-moz-progress-bar{border-radius:99px;background:#24724d}html[data-theme="dark"] .profile-completion progress::-webkit-progress-bar{background:#2b3b40}html[data-theme="dark"] .profile-completion-heading>strong{color:#c0e6cb}html[data-theme="dark"] .profile-completion-heading p,html[data-theme="dark"] .profile-completion-hint{color:#a8b8b3}

.profile-fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:10px;border:1px solid #e8edef;border-radius:8px;margin:0;min-width:0}.profile-fieldset legend{padding:0 5px;font-size:9px;font-weight:700;color:#53636c}.profile-fieldset label{min-width:0}.profile-fieldset label:first-of-type{grid-column:1/-1}.profile-fieldset small{font-size:8px;line-height:1.4;color:#89959e}.profile-details>.section-title{padding:2px 0 8px}.profile-details>.section-title h2{font-size:11px;margin:0}html[data-theme="dark"] .profile-fieldset{border-color:#35464a}html[data-theme="dark"] .profile-fieldset legend{color:#a8b8b3}html[data-theme="dark"] .profile-fieldset small{color:#a8b8b3}
.punch-location-note{padding:9px 10px;border:1px solid #dce7df;border-radius:7px;background:#f5faf6;color:#536b5c;font-size:9px;line-height:1.5}.punch-location-link{display:inline-flex;align-items:center;margin-left:6px;padding:2px 5px;border-radius:4px;background:#eaf2ed;color:#236c49;font-size:8px;font-weight:650;text-decoration:none}.punch-location-link:hover{text-decoration:underline}html[data-theme="dark"] .punch-location-note{background:#1b3028;border-color:#345444;color:#c0e6cb}html[data-theme="dark"] .punch-location-link{background:#244432;color:#c0e6cb}

.settings-screen .data-retention-note{font-size:9px;line-height:1.5;color:#77848d;margin:0}
html[data-theme="dark"] .settings-screen .data-retention-note{color:#a8b8b3}

.bottom-nav.system-admin-nav{grid-template-columns:repeat(7,minmax(0,1fr))}

.account-plan-card{padding:14px;margin-bottom:8px}.account-plan-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.account-plan-heading .eyebrow{font-size:8px;letter-spacing:.09em;color:#4a8162;margin:0 0 3px}.account-plan-heading h2{font:750 12px var(--display);margin:0;color:#22313b}.plan-badge{display:inline-flex;align-items:center;border-radius:999px;background:#edf1f2;color:#51616a;padding:6px 9px;font-size:9px;font-weight:700;white-space:nowrap}.plan-badge-plus{background:#e1f2e7;color:#17623f}.account-plan-detail{font-size:10px;font-weight:650;color:#33444d;margin:12px 0 5px}.account-plan-note{font-size:9px;line-height:1.5;color:#77848d;margin:0}html[data-theme="dark"] .account-plan-heading h2,html[data-theme="dark"] .account-plan-detail{color:#e6eeea}html[data-theme="dark"] .plan-badge{background:#29373b;color:#cbd6d2}html[data-theme="dark"] .plan-badge-plus{background:#244432;color:#b9ebc7}html[data-theme="dark"] .account-plan-note{color:#a8b8b3}

.journey-template-tools{display:grid;gap:8px;margin-top:10px;padding:10px;border:1px solid #dce7df;border-radius:9px;background:#f7faf8}.journey-template-tools[hidden]{display:none}.journey-template-tools label{display:grid;gap:4px}.journey-template-tools>div{display:flex;flex-wrap:wrap;gap:7px}.journey-template-tools small{font-size:8px;color:#77848d}.journey-template-tools .button{min-height:32px;padding:7px 10px;font-size:9px}html[data-theme="dark"] .journey-template-tools{background:#172528;border-color:#35464a}html[data-theme="dark"] .journey-template-tools small{color:#a8b8b3}

.period-card #period-monthly-export,#period-monthly-pdf{width:100%;margin-top:8px}

@media print{body.print-monthly-closeout .day-overview,body.print-monthly-closeout .summary-next-action,body.print-monthly-closeout .pay-breakdown,body.print-monthly-closeout .today-punches{display:none!important}}

.monthly-comparison{padding:12px;margin-bottom:8px}.monthly-comparison[hidden]{display:none}.monthly-comparison>.section-title span{font-size:8px;color:#77848d}.monthly-comparison-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.monthly-comparison-grid article{display:grid;gap:7px;min-width:0;padding:10px;border:1px solid #e8edef;border-radius:8px}.monthly-comparison-grid article>b{text-transform:capitalize;font-size:10px}.monthly-comparison-grid article>span{display:flex;flex-direction:column;gap:2px;color:#77848d;font-size:8px}.monthly-comparison-grid strong{color:#24333c;font-size:12px}.monthly-comparison-change{margin:9px 0 0;padding-top:8px;border-top:1px solid #e8edef;color:#53636c;font-size:9px;line-height:1.5}html[data-theme="dark"] .monthly-comparison-grid article{border-color:#35464a}html[data-theme="dark"] .monthly-comparison-grid strong{color:#e6eeea}html[data-theme="dark"] .monthly-comparison-change{border-color:#35464a;color:#a8b8b3}

.monthly-comparison-warning{padding:8px 9px;border:1px solid #efcf92;border-radius:7px;background:#fff8e8;color:#78571c}html[data-theme="dark"] .monthly-comparison-warning{background:#352b19;border-color:#6b5224;color:#f1d28e}

.monthly-closing-warning{margin:8px 0 0;padding:9px 10px;border:1px solid #e7b9ae;border-radius:7px;background:#fff2ef;color:#873b30;font-size:9px;line-height:1.5}.monthly-closing-warning[hidden]{display:none}html[data-theme="dark"] .monthly-closing-warning{background:#392522;border-color:#70443d;color:#f0b9ae}

.monthly-closing-warning ul{display:grid;gap:4px;margin:7px 0;padding-left:18px}.monthly-closing-warning li{font-size:9px}.monthly-closing-warning small{font-size:8px}

.active-work-profile{display:grid;gap:5px;width:min(100%,440px);margin:8px auto;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--card);color:var(--text);font-size:11px;font-weight:700}.active-work-profile[hidden]{display:none}.active-work-profile select{min-width:0;width:100%;padding:9px 10px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font:inherit}.active-work-profile small{font-size:9px;font-weight:400;color:var(--muted)}.work-profile-management{display:grid;gap:8px;margin:0 0 12px;padding:10px;border:1px solid var(--border);border-radius:10px}.work-profile-management>.section-title{margin:0}.work-profile-management h3{margin:0;font-size:12px}.work-profile-list{display:grid;gap:7px}.work-profile-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:7px;padding:9px;border:1px solid var(--border);border-radius:8px}.work-profile-item>div{display:grid;gap:3px;min-width:0}.work-profile-item b{overflow-wrap:anywhere;font-size:11px}.work-profile-item small,.work-profile-badge{font-size:9px;color:var(--muted)}.work-profile-item .button{min-height:30px;padding:6px 9px;font-size:9px}.work-profile-badge{white-space:nowrap;color:var(--accent)}@media(max-width:480px){.work-profile-item{grid-template-columns:minmax(0,1fr) auto auto}.work-profile-badge{grid-column:1;grid-row:2}}
.active-work-profile,.work-profile-management{border-color:#e7ece7;background:#fff;color:#34463a}.active-work-profile select{border-color:#e4eae4;background:#fff;color:#334438}.work-profile-item{border-color:#e7ece7;background:#fff}.work-profile-item small,.work-profile-badge{color:#849087}.work-profile-badge{color:#176345}html[data-theme="dark"] .active-work-profile,html[data-theme="dark"] .work-profile-management,html[data-theme="dark"] .work-profile-item{border-color:#35464a;background:#172328;color:#e6eeea}html[data-theme="dark"] .active-work-profile select{border-color:#35464a;background:#10191c;color:#e6eeea}html[data-theme="dark"] .work-profile-item small{color:#a8b8b3}html[data-theme="dark"] .work-profile-badge{color:#77c89a}

.monthly-review-day{padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:750;text-decoration:underline;text-underline-offset:2px;cursor:pointer}.monthly-review-day:focus-visible{outline:2px solid currentColor;outline-offset:2px}@media print{.monthly-review-day{border:0!important;background:transparent!important;color:#17232b!important;text-decoration:none!important}}

.calendar-review-warning{margin:8px 0;padding:9px 10px;border:1px solid #e7b9ae;border-radius:7px;background:#fff2ef;color:#873b30;font-size:9px;line-height:1.5}.calendar-review-warning ul{margin:5px 0 0;padding-left:18px}html[data-theme="dark"] .calendar-review-warning{background:#392522;border-color:#70443d;color:#f0b9ae}

.shift-heading{display:block;margin-top:6px;font-size:9px;color:var(--muted)}

.schedule-weekdays{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.schedule-weekdays label{display:flex!important;align-items:center;gap:5px;padding:7px;border:1px solid var(--border);border-radius:7px;background:var(--surface);font-size:10px!important}.schedule-weekdays input{width:15px;height:15px;accent-color:var(--accent)}.schedule-settings .fine-print{grid-column:1/-1}.calendar-scheduled-rest:not(.selected){border-style:dashed!important;opacity:.68}.schedule-day-note{padding:7px 9px;border-radius:7px;background:var(--surface);color:var(--muted);font-size:10px}.schedule-settings[hidden]{display:none!important}html[data-theme=dark] .schedule-weekdays label{border-color:#35464a;background:#10191c;color:#dce8e2}

.profession-profile-settings[hidden]{display:none!important}.profession-profile-settings select,.settings-group select[name="profession_key"],.settings-group select[name="schedule_type"]{width:100%;min-width:0;min-height:38px;border:1px solid #dce2e6;border-radius:7px;padding:0 9px;background:#fff;color:#33434e;font:11px system-ui,-apple-system,"Segoe UI",Arial,sans-serif}.profession-profile-settings>label:first-of-type,.profession-profile-settings>label:nth-of-type(2),.profession-profile-settings>.profile-preview,.profession-profile-settings>.fine-print{grid-column:1/-1}.profession-profile-settings .cycle-fields,.profession-profile-settings .planned-shift-fields{display:grid;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profession-profile-settings .cycle-fields[hidden],.profession-profile-settings .weekly-target-field[hidden]{display:none!important}.profession-profile-settings .profile-preview{margin:0;padding:10px 12px;border:1px solid #cfe8d8;border-radius:8px;background:#eff8f1;color:#245b3e;font-size:10px;line-height:1.5}.profession-profile-settings select:focus,.profession-profile-settings input:focus{outline:none;border-color:#78b791;box-shadow:0 0 0 3px #e3f3e9}html[data-theme="dark"] .profession-profile-settings select{background:#10191c;color:#e6eeea;border-color:#35464a}html[data-theme="dark"] .profession-profile-settings .profile-preview{background:#172b22;border-color:#315c42;color:#a8e4ba}@media(max-width:480px){.profession-profile-settings .cycle-fields,.profession-profile-settings .planned-shift-fields{grid-template-columns:1fr}}

.profession-onboarding{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,.7fr);align-items:center;gap:14px;border-color:#b6ddc3;background:linear-gradient(120deg,#eff9f1,#fff);box-shadow:0 5px 20px #10231b0a}.profession-onboarding[hidden]{display:none!important}.profession-onboarding .eyebrow{margin:0 0 5px;color:#14784b;font-size:9px;font-weight:800;letter-spacing:.12em}.profession-onboarding h2{margin:0 0 5px;font-size:16px;color:#173b2a}.profession-onboarding p:not(.eyebrow){margin:0;color:#64746a;font-size:11px;line-height:1.5}.profession-onboarding label{display:grid;gap:6px;color:#52675a;font-size:10px;font-weight:700}.profession-onboarding select{width:100%;min-height:40px;border:1px solid #d3e5d8;border-radius:8px;background:#fff;color:#234331;padding:0 10px;font:inherit}.profession-onboarding label small{font-size:9px;line-height:1.4;font-weight:400;color:#718177}.profession-onboarding-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}.profession-onboarding-actions .button{min-height:36px}@media(max-width:620px){.profession-onboarding{grid-template-columns:1fr;gap:10px}.profession-onboarding-actions{grid-column:1}}
html[data-theme="dark"] .profession-onboarding{background:linear-gradient(120deg,#172b22,#172328);border-color:#315c42}html[data-theme="dark"] .profession-onboarding h2{color:#d9f2df}html[data-theme="dark"] .profession-onboarding p:not(.eyebrow),html[data-theme="dark"] .profession-onboarding label small{color:#a8b8b3}html[data-theme="dark"] .profession-onboarding select{background:#10191c;border-color:#35464a;color:#e6eeea}

.schedule-weekdays{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.schedule-weekdays label{display:flex!important;align-items:center;gap:5px;padding:7px;border:1px solid var(--border);border-radius:7px;background:var(--surface);font-size:10px!important}.schedule-weekdays input{width:15px;height:15px;accent-color:var(--accent)}.schedule-settings .fine-print{grid-column:1/-1}.calendar-scheduled-rest:not(.selected){border-style:dashed!important;opacity:.68}.schedule-day-note{padding:7px 9px;border-radius:7px;background:var(--surface);color:var(--muted);font-size:10px}.schedule-settings[hidden]{display:none!important}html[data-theme=dark] .schedule-weekdays label{border-color:#35464a;background:#10191c;color:#dce8e2}


/* RZKCONTROL 2.2.5 - modern responsive web refresh */
:root{--green:#147a55;--line:#e4ece6;--muted:#75867b;--display:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#17251d;background:#f3f7f4}
body{background:#f3f7f4;color:#17251d;font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
.topbar{position:sticky;top:0;z-index:8;height:68px;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid #e3ebe5;box-shadow:0 4px 20px #143b2408}
.brand{font-size:21px;letter-spacing:-.8px;color:#142b1e}.brand-icon{width:34px;height:34px;border-radius:11px;background:#147a55;box-shadow:0 5px 13px #147a5528}
.local-badge{background:#f3f8f4;border-color:#e2ece4;border-radius:999px;color:#52695a;padding:8px 12px}
.container{width:min(1120px,calc(100% - 44px));margin:38px auto 0;padding-bottom:112px}
.intro{margin-bottom:26px}.eyebrow{font-size:10px;letter-spacing:1.45px;color:#6d8274}.intro h1,.screen-heading h1{font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-weight:750;letter-spacing:-1.15px;color:#17291e}.intro h1{font-size:31px}.subheading{font-size:13px;color:#738579;line-height:1.55}.today b{font-size:25px;color:#1b5739}
.stats{gap:15px;margin-bottom:18px}.stat,.card,.summary-strip,.auth-card{border:1px solid #e5ece7;border-radius:16px;box-shadow:0 3px 8px #173a2605,0 12px 30px #173a2608}.stat{padding:19px 20px;gap:8px}.stat span,.stat small{font-size:11px;color:#75867b}.stat b{font-size:25px;color:#1b3022}.card{padding:21px}.columns{gap:17px;margin-bottom:17px}.card-title h2,.history-heading h2,.section-title h2{font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:15px;letter-spacing:-.3px;color:#1d3023}
.button{height:40px;border-radius:10px;padding:0 15px;font-size:12px;transition:background .16s,transform .16s,box-shadow .16s}.button:hover{transform:translateY(-1px)}.button-primary,.button-secondary{background:#147a55;box-shadow:0 5px 13px #147a5526}.button-primary:hover,.button-secondary:hover{background:#0f6747;box-shadow:0 7px 18px #147a5533}.button-light{border:1px solid #e2eae4;background:#f7faf7;border-radius:10px;color:#405a48}.punch-circle{box-shadow:0 8px 20px #147a5524}
.trip-card label,.auth-form label{font-size:11px;color:#52675a}.trip-card input,.auth-form input,.auth-form select,.settings-group input,.settings-group select,.settings-group textarea{min-height:41px;border:1px solid #e0e9e2;border-radius:9px;padding:0 11px;font-size:12px}.trip-card input:focus,.auth-form input:focus,.auth-form select:focus,.settings-group input:focus,.settings-group select:focus,.settings-group textarea:focus{border-color:#78b791;box-shadow:0 0 0 4px #e3f3e9}.timeline-row{font-size:12px;padding:12px 2px}.timeline-row b{font-size:12px}.summary-strip{min-height:60px;margin-bottom:10px}.summary-strip b{font-size:16px}.summary-strip span{font-size:9px}
.bottom-nav{bottom:max(12px,env(safe-area-inset-bottom));height:64px;padding:6px 9px;border:1px solid #e1eae3;border-radius:18px;background:rgba(255,255,255,.96);box-shadow:0 12px 38px #102a1b1f;backdrop-filter:blur(18px)}.nav-item{border-radius:12px;font-size:10px;color:#718277}.nav-item.active{color:#126b48}.nav-item.active:before{top:1px;width:25px;height:3px;border-radius:0 0 4px 4px;background:#40a978}.nav-item span{font-size:18px}
.auth-wrap{width:min(480px,calc(100% - 32px));margin:52px auto 70px}.auth-card{padding:32px}.auth-card h1{font-size:27px;letter-spacing:-.7px}.auth-description{font-size:13px}.auth-tabs{border-radius:10px;padding:4px;background:#f0f5f1}.auth-tab{height:38px;border-radius:8px;font-size:12px}.auth-tab.active{color:#126b48;box-shadow:0 2px 8px #183b240f}.auth-form{gap:14px}.auth-form input{height:43px}.auth-form .button{height:44px}.auth-footnote{font-size:10px}
.history-card{padding:20px}.history-heading{margin-bottom:16px}.history-card thead th{font-size:9px;padding:12px 10px}.history-card tbody td{font-size:11px;padding:13px 10px}.type-pill{padding:5px 9px;border-radius:999px;font-size:10px}.toast{padding:12px 17px;border-radius:12px;font-size:12px;box-shadow:0 12px 32px #102a1b30}
html[data-theme="dark"]{color-scheme:dark}html[data-theme="dark"] .topbar{background:rgba(16,25,29,.94);border-color:#2b3b40}html[data-theme="dark"] .brand{color:#e6eeea}html[data-theme="dark"] .local-badge{background:#172528;border-color:#35464a;color:#c3d2ca}html[data-theme="dark"] .stat{background:#182429;border-color:#2b3b40}html[data-theme="dark"] .stat b{color:#e6eeea}html[data-theme="dark"] .stat span,html[data-theme="dark"] .stat small{color:#a8b8b3}html[data-theme="dark"] .button-light{background:#243439;border-color:#35464a;color:#e6eeea}html[data-theme="dark"] .bottom-nav{background:rgba(24,36,41,.96);border-color:#35464a}html[data-theme="dark"] .nav-item{color:#a8b8b3}html[data-theme="dark"] .nav-item.active{color:#9bd4ae}html[data-theme="dark"] .auth-card{background:#182429;border-color:#2b3b40}html[data-theme="dark"] .auth-card h1{color:#e6eeea}html[data-theme="dark"] .auth-tabs{background:#10191d}
@media(max-width:700px){.topbar{height:calc(62px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 17px 0}.container{width:calc(100% - 30px);margin-top:24px}.intro{margin-bottom:18px}.intro h1{font-size:26px}.card{padding:17px}.columns{gap:12px}.stats{gap:9px}.stat{padding:14px 12px;border-radius:13px}.stat b{font-size:21px}.bottom-nav{bottom:max(8px,env(safe-area-inset-bottom));width:min(480px,calc(100% - 20px))}.auth-wrap{margin:28px auto 44px}.auth-card{padding:24px 20px}}
@media(max-width:390px){.container{width:calc(100% - 24px)}.stat{padding:12px 10px}.stat span{font-size:9px}.stat b{font-size:19px}.intro h1{font-size:23px}.auth-card{padding:21px 17px}}

.push-reminder-card{display:grid;gap:9px;margin-bottom:8px}.push-reminder-card .section-title{display:flex;align-items:center;justify-content:space-between}.push-reminder-card .section-title h2{font-size:12px}.push-status-dot{width:9px;height:9px;border-radius:50%;background:#3aa574;box-shadow:0 0 0 4px #e8f5ed}.push-reminder-form{display:grid;gap:9px}.push-reminder-time{display:grid;gap:5px;font-size:9px;color:#687781}.push-reminder-time input{max-width:180px;height:37px;border:1px solid #dce2e6;border-radius:7px;padding:0 10px;background:#fff;color:#263640;font:12px system-ui,-apple-system,"Segoe UI",Arial,sans-serif}.push-weekdays{display:flex;flex-wrap:wrap;gap:7px;padding:8px;border:1px solid #e8edef;border-radius:8px;margin:0}.push-weekdays legend{padding:0 5px;font-size:9px;font-weight:700;color:#53636c}.push-weekdays label{display:flex;align-items:center;gap:4px;padding:5px 7px;border-radius:7px;background:#f3f7f4;font-size:9px;color:#53636c}.push-weekdays input{accent-color:#087650}.push-reminder-form .button{width:max-content;min-width:150px;height:36px;font-size:10px}html[data-theme="dark"] .push-weekdays{border-color:#35464a}html[data-theme="dark"] .push-weekdays legend,html[data-theme="dark"] .push-reminder-time{color:#a8b8b3}html[data-theme="dark"] .push-weekdays label{background:#1b3028;color:#e6eeea}
/* Feedback form */
.feedback-card .settings-form { display: grid; gap: 12px; }
.feedback-card .settings-form > label:not(.feedback-consent), .feedback-card .settings-form > .admin-mail-help { grid-column: 1 / -1; }
.feedback-card .settings-form > label:not(.feedback-consent) { display: grid; gap: 6px; }
.feedback-card .feedback-whatsapp-label[hidden] { display: none; }
.feedback-card textarea, .feedback-card select { width: 100%; min-height: 42px; border: 1px solid #dce2e6; border-radius: 8px; padding: 10px 12px; color: #33434e; background: #fff; font: inherit; }
.feedback-card textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.feedback-consent { display: flex; align-items: flex-start; gap: 9px; }
.feedback-consent input { flex: none; width: 18px; min-width: 18px; height: 18px; margin: 2px 0 0; accent-color: #176345; }
.feedback-counter { display: block; text-align: right; color: #718078; font-size: 12px; }
.feedback-card .admin-message.success { background: #e9f7ef; color: #176345; }
.settings-category-heading { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 13px 2px 3px; border-top: 1px solid #e8eeea; }
.settings-category-heading > span { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #eaf4ed; color: #176345; font-size: 11px; font-weight: 750; }
.settings-category-heading h2 { margin: 0 0 3px; color: #243b2f; font: 750 15px var(--display); letter-spacing: -.25px; }
.settings-category-heading p { margin: 0; color: #77848d; font-size: 11px; line-height: 1.45; }
.settings-screen > .settings-option-card { min-width: 0; align-content: start; }
html[data-theme="dark"] .settings-category-heading { border-color: #2b3b40; }
html[data-theme="dark"] .settings-category-heading > span { background: #203a2b; color: #9bd4ae; }
html[data-theme="dark"] .settings-category-heading h2 { color: #e6eeea; }
html[data-theme="dark"] .settings-category-heading p { color: #a8b8b3; }
@media (max-width: 700px) { .settings-category-heading { padding-top: 12px; } .settings-category-heading h2 { font-size: 13px; } .settings-category-heading p { font-size: 10px; } }

.android-apk-offer{display:grid;gap:6px;padding:9px 10px;border:1px solid #dce9df;border-radius:8px;background:#f7faf7}.android-apk-offer[hidden],.android-apk-offer [hidden]{display:none!important}.android-apk-offer p{margin:0;color:#53645a;font-size:10px;line-height:1.45}.android-apk-offer .button{justify-self:start;min-height:34px;padding:0 12px;font-size:10px;text-decoration:none;display:inline-flex;align-items:center}@media(min-width:700px){.android-apk-offer{grid-template-columns:1fr auto;align-items:center}}html[data-theme="dark"] .android-apk-offer{background:#1d3028;border-color:#345444}html[data-theme="dark"] .android-apk-offer p{color:#b7c6bd}

.settings-version{display:flex;align-items:center;justify-content:space-between;gap:14px}.integrated-release-status{margin:6px 0 0;color:#687781;font-size:11px;line-height:1.45}.settings-version #check-integrated-update{flex:none;min-height:36px;font-size:11px}html[data-theme="dark"] .integrated-release-status{color:#a8b8b3}@media(max-width:520px){.settings-version{align-items:stretch;flex-direction:column}.settings-version #check-integrated-update{width:100%}}

.connection-notice p{flex:1;min-width:0}.connection-notice .button{flex:0 0 auto;min-height:34px;height:auto;padding:6px 9px;font-size:9px}
@media(max-width:360px){.connection-notice{flex-wrap:wrap}.connection-notice p{flex-basis:calc(100% - 28px)}.connection-notice .button{margin-left:26px}}
.company-announcements{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
.company-announcement-card{padding:12px 14px;border-radius:10px;background:#f0f9f5;border:1px solid #b7dfcc;color:#17563c;font-size:12px;line-height:1.4}
.company-announcement-card.urgent{background:#fdf2f2;border-color:#f5b8b8;color:#9b1c1c}
.company-announcement-card b{display:flex;align-items:center;gap:6px;font-size:13px;margin-bottom:4px}
.company-announcement-card p{margin:0;font-size:12px;opacity:.9}
html[data-theme="dark"] .company-announcement-card{background:#162e24;border-color:#2a5342;color:#9cd6b8}
html[data-theme="dark"] .company-announcement-card.urgent{background:#3b1c1c;border-color:#652c2c;color:#fca5a5}
.geofence-tag{display:inline-flex;align-items:center;font-size:11px;font-weight:600;padding:2px 6px;border-radius:4px;margin-left:4px;vertical-align:middle}
.geofence-tag.inside{background:#e8f5e9;color:#2e7d32;border:1px solid #c8e6c9}
.geofence-tag.outside{background:#e1f5fe;color:#0277bd;border:1px solid #b3e5fc}
html[data-theme="dark"] .geofence-tag.inside{background:#1b3826;color:#a3e6b7;border-color:#2a533a}
html[data-theme="dark"] .geofence-tag.outside{background:#162c3d;color:#93c5fd;border-color:#1e40af}

