*{box-sizing:border-box}body{margin:0;background:#f3f6fa;color:#17334f;font-family:Segoe UI,Arial,sans-serif}button,input,select{font:inherit}button{cursor:pointer;border:1px solid #d5dfe8;background:white;border-radius:10px;padding:13px 20px;color:#294563;font-weight:600}button:hover{border-color:#3474b9;background:#edf5ff}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #6eb6fa;outline-offset:3px}header{height:106px;background:white;display:flex;align-items:center;padding:18px 5%;gap:24px;font-size:13px;line-height:1.6}header img{width:130px;height:74px;object-fit:contain}.divider{height:38px;width:1px;background:#dfe6ee}.header-right{margin-left:auto;display:flex;gap:25px;align-items:center}.quiet{font-size:12px;border:0;background:#f4f7fa}nav{padding:0 5%;display:flex;background:#fff;border-top:1px solid #eef1f5;border-bottom:1px solid #dce4ed;gap:30px}nav button{border:0;border-radius:0;background:none;padding:20px 0;color:#6d7f91;font-size:14px}nav button.active{color:#235f9d;border-bottom:3px solid #286cb1}.status{margin-left:auto;align-self:center;font-size:12px;color:#50816d}main{max-width:1320px;margin:auto;padding:46px 48px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:#6482a0}h1{font-size:39px;letter-spacing:-1.2px;margin:13px 0 10px;line-height:1.2}p.intro{color:#78899b;font-size:15px}.steps{display:flex;gap:36px;margin:32px 0 35px;font-size:12px;color:#71849a}.steps b{display:inline-grid;place-items:center;width:25px;height:25px;border:1px solid #cbd9e6;border-radius:50%;margin-right:8px;color:#2768a7}.kiosk-grid{display:grid;grid-template-columns:1.12fr 1fr;gap:40px}h2{font-size:18px;margin:0 0 24px}.number{font-size:12px;color:#8ca5bc;margin-right:10px}.services{display:grid;grid-template-columns:1fr 1fr;gap:14px}.service{min-height:124px;text-align:left;padding:21px;border:1px solid #dce5ed;position:relative}.service.selected{border:2px solid #3276b7;background:#edf5fd;padding:20px}.service .icon{display:block;font-size:24px;margin-bottom:12px}.service strong{display:block;font-size:15px}.service small{display:block;font-weight:400;color:#8495a6;font-size:11px;margin-top:6px}.check{position:absolute;top:17px;right:17px;color:#3377b7}.identity{background:white;border:1px solid #dce5ed;border-radius:16px;padding:32px;box-shadow:0 8px 26px #193d6310}.identity h2{margin-top:22px;font-size:21px}label{display:block;font-size:12px;font-weight:600;margin:16px 0 8px}input,select{display:block;width:100%;padding:15px;border:1px solid #d7e0e9;border-radius:8px;background:#fff;color:#203f5d;margin-top:8px}#rut{font-size:25px;letter-spacing:2px;padding:21px;background:#fafcfe}.input-hint{font-size:11px;color:#8b9aab;margin:12px 0 26px}.primary{background:#2868a8;border-color:#2868a8;color:white}.primary:hover{background:#1c538b;color:white}#identify .primary{width:100%;display:flex;justify-content:space-between;padding:18px}.privacy{font-size:10px;color:#94a1af;text-align:center;margin:25px 0 0}.help{display:flex;gap:14px;font-size:12px;background:#eaf0f6;border-radius:10px;margin-top:22px;padding:20px;color:#697f96}.help>span{font-size:22px;color:#6087ac}.help p{line-height:1.7;margin:5px 0 0}.bottom-note{margin-top:46px;border-top:1px solid #dce4ed;padding-top:22px;color:#8c9cae;font-size:10px;letter-spacing:1px;display:flex;gap:25px}.bottom-note span:last-child{margin-left:auto}.toolbar{display:flex;gap:12px;margin:28px 0}.toolbar input{margin:0;flex:1}.toolbar input[type=date]{max-width:180px}.toolbar button{font-size:12px}.stats{display:flex;gap:20px;margin:24px 0}.stat{padding:20px;background:white;border:1px solid #dce5ed;border-radius:10px;flex:1}.stat strong{display:block;font-size:28px;margin-bottom:5px}.stat span{font-size:12px;color:#7e90a2}.table-wrap{overflow:auto;background:white;border-radius:12px;border:1px solid #dce5ed}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th,td{padding:20px;border-bottom:1px solid #edf1f5}th{font-size:11px;color:#7890a6;background:#fafcfe}td small{display:block;color:#8b9aab;margin-top:4px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.panel{background:white;border:1px solid #dde5ee;border-radius:12px;padding:28px;margin:22px 0}.panel button{margin-top:20px}.list-item{padding:14px 0;border-bottom:1px solid #edf1f5;font-size:13px}.list-item small{color:#8596a8}.confirmation{padding:20px;background:#eff7f3;border:1px solid #bfdccb;border-radius:10px;margin-top:20px}.confirmation p{font-size:13px;line-height:1.7}.confirmation button{width:100%;margin-top:8px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:18px 28px;border-radius:10px;background:#17334f;color:white;box-shadow:0 8px 30px #0002;display:none;max-width:90%;z-index:10} [hidden]{display:none!important}@media(max-width:850px){header{padding:12px 20px}.header-right #clock{display:none}main{padding:30px 20px}.kiosk-grid,.admin-grid{grid-template-columns:1fr}.steps{gap:12px;flex-wrap:wrap}h1{font-size:32px}.toolbar{flex-wrap:wrap}.bottom-note{flex-wrap:wrap}.bottom-note span:last-child{margin-left:0}nav{gap:20px}.status{display:none}}@media(min-width:900px) and (orientation:portrait){main{padding-top:70px}.kiosk-grid{grid-template-columns:1fr}.service{min-height:150px}.identity{margin-top:15px}#rut{padding:28px}}
/* Corporate kiosk refinement */
body{background:#f5f6f7;color:#253b50}header{height:112px}nav{gap:36px}nav button{font-weight:500}.eyebrow{letter-spacing:1.5px;font-size:10px;color:#738393}h1{font-size:36px;font-weight:500;letter-spacing:-.8px}main{max-width:1200px;padding-top:52px}.intro{line-height:1.7}.steps{margin:34px 0 42px;padding-bottom:25px;border-bottom:1px solid #dce2e7;gap:32px}.steps b{border-radius:4px;background:#fff;border-color:#dce2e7;font-weight:500}.kiosk-grid{grid-template-columns:1fr 1.1fr;gap:52px}h2{font-size:19px;font-weight:500}.number{color:#6b8399;font-weight:400}.service-field{padding:26px 28px 30px;background:white;border:1px solid #dce2e7;border-radius:6px}.service-field label{margin-top:0;font-size:13px;color:#52687b;font-weight:500}#serviceSelect{font-size:20px;min-height:68px;padding:18px 48px 18px 20px;border-radius:4px;border-color:#b9c8d6;cursor:pointer;background-color:#fff;font-weight:500}.service-caption{font-size:12px;color:#7a8b99;line-height:1.6;margin:15px 0 0}.help{background:transparent;border-left:2px solid #a8bacb;border-radius:0;padding:2px 0 2px 20px;margin-top:30px;font-size:12px}.help strong{font-weight:500;color:#526b80}.identity{border-radius:6px;box-shadow:none;padding:32px}.identity h2{font-weight:500;font-size:20px}#rut{border-radius:4px;letter-spacing:1px;background:#fff;font-size:25px}.primary{border-radius:4px;background:#2c5f90;border-color:#2c5f90;font-weight:500}.input-hint{margin-bottom:24px}.privacy{line-height:1.7}.bottom-note{letter-spacing:.5px;font-size:10px;margin-top:52px}button,input,select{border-radius:4px}.confirmation{border-radius:4px}.panel,.stat,.table-wrap{border-radius:6px}.quiet{font-weight:400}@media(max-width:850px){main{padding:30px 20px}.kiosk-grid{grid-template-columns:1fr;gap:28px}h1{font-size:30px}.steps{gap:16px;margin-bottom:28px}.service-field{padding:22px}.identity{padding:24px}}@media(min-width:900px) and (orientation:portrait){.kiosk-grid{grid-template-columns:1fr;gap:38px}#serviceSelect{min-height:80px;font-size:24px}.identity{margin-top:0}}
.settings-wrap{position:relative}.gear{display:grid;place-items:center;width:48px;height:48px;padding:0;background:#fff;border:1px solid #d8e0e7;border-radius:50%;color:#375771}.gear:hover,.gear[aria-expanded=true]{background:#edf2f6;border-color:#91a6b9}.settings-menu{position:absolute;right:0;top:59px;width:300px;background:white;border:1px solid #dce2e7;border-radius:8px;box-shadow:0 14px 38px #17334f22;z-index:20;padding:10px}.settings-menu>p{font-size:10px;letter-spacing:1.4px;color:#8593a0;margin:10px 13px 14px}.settings-menu button{display:block;width:100%;text-align:left;border:0;padding:15px 13px;background:#fff;font-size:14px;font-weight:500}.settings-menu button:hover{background:#f3f6f9}.settings-menu small{display:block;font-size:11px;color:#8494a2;font-weight:400;margin-top:5px}#sessionInfo{padding:12px;font-size:11px;border-top:1px solid #e4e9ee;color:#73899b}#logout{color:#8b4a42;font-size:12px}.header-right{gap:22px}dialog{border:1px solid #d6e0e9;border-radius:10px;padding:38px;max-width:460px;width:calc(100% - 32px);color:#253b50;box-shadow:0 20px 80px #102a4433}dialog::backdrop{background:#142c4666;backdrop-filter:blur(3px)}dialog h2{font-size:26px;margin:17px 0 10px}dialog p{font-size:13px;line-height:1.7;color:#7b8d9c}dialog form>button.primary{width:100%;padding:16px;margin-top:14px}.dialog-close{position:absolute;right:13px;top:10px;border:0;background:none;font-size:24px;color:#71869a;padding:4px 10px}.form-error{color:#a5453d;min-height:10px;font-size:12px}button:disabled{opacity:.55;cursor:wait}.user-form{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.user-form button{grid-column:1/-1;justify-self:start}.user-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 0;border-bottom:1px solid #e6ebf0;font-size:13px}.user-row small{display:block;margin-top:6px;color:#7d8e9d}.user-row button{font-size:11px;padding:9px 12px;margin:5px}.self-badge{font-size:11px;color:#6d8297}#userList{margin-top:24px}.status{letter-spacing:0}#adminTools>.panel{margin-top:28px}@media(max-width:650px){header{gap:12px}header .divider,header>span:not(.divider){display:none}.header-right{gap:10px}#fullscreen{font-size:10px;padding:10px}.gear{width:43px;height:43px}.settings-menu{width:280px}.user-form{grid-template-columns:1fr}.user-row{align-items:start;flex-direction:column}.status{font-size:10px;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}dialog{padding:28px}}

.roster-heading{display:flex;align-items:start;gap:28px;justify-content:space-between}.roster-heading h2{margin-bottom:12px}.roster-heading .intro{max-width:650px;margin:0}.button-link{display:inline-block;text-decoration:none;border:1px solid #c9d5df;padding:13px 17px;color:#315c80;font-size:12px;border-radius:4px;white-space:nowrap;background:#fff}.button-link:hover{background:#eff4f8}.roster-guide{font-size:12px;color:#7c8f9e;line-height:1.8;margin:20px 0}#rosterFile{max-width:600px}#rosterSheet{max-width:400px}#rosterStatus{font-size:13px;line-height:1.7;color:#45647e}.roster-errors,.not-found{border:1px solid #e2c6c2;background:#fcf5f3;border-radius:5px;padding:18px;color:#914c43;font-size:13px;line-height:1.8;margin:20px 0}.roster-errors ul{padding-left:20px;max-height:240px;overflow:auto}.roster-errors li{margin:8px 0}.roster-panel .stats{flex-wrap:wrap}.roster-panel .stat{min-width:135px}.roster-panel .stat strong{font-size:24px}.roster-panel table{font-size:12px}.roster-panel td,.roster-panel th{padding:14px}.not-found{margin-bottom:0;font-size:15px}.roster-success{padding:16px;border-left:3px solid #63917c;background:#f0f6f3;color:#416c56}@media(max-width:700px){.roster-heading{flex-direction:column}.roster-panel .stats{gap:10px}.roster-panel .stat{min-width:110px;padding:14px}}

.settings-menu #logout{display:flex;align-items:center;gap:12px;width:100%;margin-top:6px;padding:16px 13px;border:1px solid #e5d8d4;border-radius:5px;background:#faf5f3;color:#8b4a42;font-size:14px;font-weight:600}.settings-menu #logout:hover{background:#f4e8e3;border-color:#c9a99e}.settings-menu #logout svg{flex-shrink:0}.settings-menu #logout small{font-size:10px;color:#92746b;margin-top:5px;font-weight:400}#sessionInfo{font-size:12px;line-height:1.8;padding:15px 13px;color:#526c82}

#profileForm{max-width:900px}.profile-note{align-self:center;font-size:12px;line-height:1.8;color:#7b8e9f;padding-top:20px}#accounts>.intro{margin-bottom:28px}#profileForm>button{padding:15px 24px}

/* Centered ACF identity and kiosk composition */
header{position:relative;display:flex;justify-content:center;height:172px;padding:14px 5%;gap:0}.brand-centered{display:flex;align-items:center;flex-direction:column;justify-content:center;line-height:1.35}.brand-symbol{position:relative;overflow:hidden;width:180px;height:91px;background:#fff}.brand-symbol img{position:absolute;width:350px;height:auto;max-width:none;left:50%;top:-24px;transform:translateX(-50%);object-fit:initial}.brand-name{font-size:19px;letter-spacing:.35px;font-weight:500;color:#2d5d90;margin-top:1px}.brand-description{font-size:10px;letter-spacing:.6px;color:#8b99a6;margin-top:6px}.header-right{position:absolute;right:5%;top:24px;margin:0;gap:16px}nav{max-width:none;justify-content:center;position:relative;padding:0 5%;min-height:54px}nav button{padding:16px 0}nav .status{position:absolute;right:5%;margin:0;max-width:260px}main{padding-top:34px}#kiosk{max-width:1000px;margin:0 auto}#kiosk>.eyebrow,#kiosk>h1,#kiosk>.intro{text-align:center}#kiosk>h1{font-size:35px;margin-top:12px;margin-bottom:10px}#kiosk>.intro{margin:0 auto;max-width:600px}.steps{justify-content:center;gap:36px;margin:27px auto 30px;padding-bottom:21px;max-width:930px}.kiosk-grid{max-width:930px;margin:0 auto;gap:34px;grid-template-columns:1fr 1fr;align-items:center}.kiosk-grid>div:first-child>h2{text-align:center;margin-bottom:20px}.identity{padding:28px}.bottom-note{max-width:930px;margin:32px auto 0;padding-top:20px;justify-content:center;gap:18px}.bottom-note span:last-child{margin-left:0}.service-field{padding:25px}.help{margin-top:24px}#rut{padding:18px}.identity h2{margin-top:18px}.identity .privacy{margin-top:20px}.settings-menu{text-align:left}@media(max-width:850px){header{height:166px}.header-right{top:18px;right:20px}.header-right #clock{display:none}.header-right .quiet{display:none}.brand-symbol{width:170px;height:87px}.brand-symbol img{width:336px;top:-23px}.brand-name{font-size:18px}main{padding-top:30px}.kiosk-grid{grid-template-columns:1fr;max-width:540px;gap:26px}.steps{gap:14px;max-width:540px;margin:24px auto}.bottom-note{max-width:540px;flex-wrap:wrap;text-align:center;line-height:1.8}nav .status{right:20px;font-size:10px;max-width:180px}#kiosk>h1{font-size:30px}.identity{padding:25px}}@media(max-width:550px){nav{justify-content:flex-start;padding-left:20px}.steps{gap:10px;font-size:10px;justify-content:space-between}.steps b{margin-right:4px;width:22px;height:22px}.brand-description{font-size:10px}.bottom-note{gap:8px 16px}#kiosk>h1{font-size:27px}}@media(min-width:900px) and (orientation:portrait){header{height:205px}.brand-symbol{width:210px;height:113px}.brand-symbol img{width:420px;top:-29px}.brand-name{font-size:23px}.brand-description{font-size:12px}main{padding-top:46px}.kiosk-grid{grid-template-columns:1fr;max-width:640px;gap:32px}.steps{max-width:640px}.bottom-note{max-width:640px}.kiosk-grid .identity{margin-top:0}}

.duplicate-error{border:1px solid #dfb4ac;border-left:4px solid #a34e41;border-radius:5px;background:#fcf3f0;color:#8b4439;padding:20px;margin-top:22px;line-height:1.7}.duplicate-error strong{font-size:16px;font-weight:600}.duplicate-error p{font-size:14px;margin:9px 0 12px}.duplicate-error small{display:block;font-size:12px;color:#9c665c}

#ticketPrint{display:none}@media print{@page{size:auto;margin:4mm}html,body{margin:0!important;padding:0!important;background:#fff!important;color:#000!important;min-height:0!important}body>*{display:none!important}body>#ticketPrint{display:block!important;width:72mm;max-width:100%;margin:0 auto;padding:0;font-family:Arial,sans-serif;font-size:11pt;line-height:1.35;color:#000!important;background:#fff!important;break-inside:avoid}#ticketPrint .ticket-brand{text-align:center;font-size:21pt;font-weight:700;margin:2mm 0}#ticketPrint .ticket-title{text-align:center;font-size:10pt;letter-spacing:1px;margin:2mm 0 4mm}#ticketPrint .ticket-service{text-align:center;font-size:20pt;font-weight:700;margin:4mm 0 1mm}#ticketPrint .ticket-quantity{text-align:center;font-size:12pt}#ticketPrint .ticket-divider{border-top:1px dashed #000;margin:4mm 0}#ticketPrint dl{margin:0}#ticketPrint dt{font-size:9pt;font-weight:700;margin-top:3mm}#ticketPrint dd{margin:0;overflow-wrap:anywhere}#ticketPrint .ticket-folio{text-align:center;font-family:monospace;font-size:8pt;overflow-wrap:anywhere}#ticketPrint .ticket-footer{text-align:center;font-size:9pt;margin:4mm 0 3mm;color:#000}}

.delete-record-button{padding:8px 12px;font-size:12px;border-color:#dfc5bf;background:#fff;color:#985448}.delete-record-button:hover{background:#fcf3f0;border-color:#bf8d82}.delete-record-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.danger-button{background:#974c40;border-color:#974c40;color:#fff}.danger-button:hover{background:#7e3d33;border-color:#7e3d33;color:#fff}#deleteRecordDialog h2{font-size:23px;margin-top:0}.delete-record-note{padding:14px;background:#faf5f3;border-left:2px solid #c69a8f;border-radius:3px}#deleteRecordDetails{font-weight:500;color:#49627b;overflow-wrap:anywhere}

.rut-modes{display:flex;gap:5px;padding:4px;background:#f1f4f7;border:1px solid #e0e6ec;border-radius:6px;margin:20px 0}.rut-modes button{flex:1;padding:11px 8px;border:1px solid transparent;background:transparent;color:#7b8e9f;font-size:12px;font-weight:500;white-space:nowrap}.rut-modes button[aria-pressed=true]{background:white;border-color:#d7e0e9;color:#2c5f90;box-shadow:0 2px 4px #193b5a08}.scanned-person{background:#f2f7f5}.scanned-person small{color:#60856f;font-size:11px}.scanned-person p{margin-bottom:6px}

.receipt-preview{max-width:320px;margin:24px auto;padding:22px;background:#fff;color:#182631;border:1px solid #dce3e9;text-align:left;font-size:14px}.receipt-preview .ticket-brand,.receipt-preview .ticket-title,.receipt-preview .ticket-service,.receipt-preview .ticket-quantity,.receipt-preview .ticket-folio,.receipt-preview .ticket-footer{text-align:center}.receipt-preview .ticket-brand{font-size:22px;font-weight:700}.receipt-preview .ticket-service{font-size:24px;font-weight:700;margin:14px 0}.receipt-preview .ticket-title,.receipt-preview .ticket-folio,.receipt-preview .ticket-footer{font-size:11px;overflow-wrap:anywhere}.receipt-preview dt{font-size:12px;font-weight:700;margin-top:10px}.receipt-preview dd{margin:0;overflow-wrap:anywhere}.receipt-preview .ticket-divider{border-top:1px dashed #a2adb7;margin:16px 0}.receipt-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.print-help{font-size:14px!important;line-height:1.5}.list-item [data-edit-company]{margin-left:12px;padding:7px 14px}

.service-withdrawals{display:flex;gap:8px;flex-wrap:wrap;min-width:220px}.withdrawal-chip{display:inline-flex;flex-direction:column;gap:4px;padding:8px 10px;border:1px solid #dbe5ed;background:#f5f8fb;border-radius:7px;white-space:nowrap}.withdrawal-chip strong{font-size:13px}.withdrawal-chip small{font-size:12px;color:#53697d}.group-actions{display:flex;flex-direction:column;gap:7px;min-width:180px}.group-actions select{padding:8px;font-size:13px}.group-actions>div{display:flex;gap:6px}.group-actions button{padding:7px 9px;font-size:12px}#savedTicketDialog{max-height:90vh;overflow:auto}@media print{dialog[open]{display:none!important}}

.report-banner{display:grid;grid-template-columns:130px minmax(240px,1fr) minmax(175px,auto);align-items:center;gap:24px;padding:22px 26px;margin:20px 0;background:#fff;border:1px solid #dce3e9;border-radius:8px}.report-banner>img{display:block;width:130px;max-width:100%;height:auto}.report-banner h1{color:#000;font-size:clamp(20px,2.2vw,32px);font-weight:800;letter-spacing:.3px;line-height:1.25;margin:0}.report-date-cell{border-left:1px solid #cbd5df;padding-left:24px;text-align:center;color:#000}.report-date-cell>span{display:block;font-size:11px;letter-spacing:1px;margin-bottom:7px}.report-date-cell strong{display:block;max-width:250px;font-size:25px;font-weight:800;line-height:1.3}@media(max-width:700px){.report-banner{grid-template-columns:90px 1fr;padding:18px;gap:16px}.report-banner>img{width:90px}.report-date-cell{grid-column:1/-1;border-left:0;border-top:1px solid #dce3e9;padding:14px 0 0}.report-date-cell strong{max-width:none}.report-banner h1{font-size:21px}}

.credential-camera-options{margin:0 0 18px}.credential-camera-options button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:14px;color:#2c5f90;background:#f5f8fb;border:1px solid #c8d7e4;border-radius:6px;font-weight:600}.credential-camera-options button:hover{background:#eaf1f7}#credentialCameraDialog{max-width:530px}.camera-frame{position:relative;background:#152536;border-radius:8px;overflow:hidden;aspect-ratio:4/3;margin:20px 0}.camera-frame video{display:block;width:100%;height:100%;object-fit:cover}.camera-guide{position:absolute;inset:22% 12%;border:2px solid #fff9;border-radius:12px;pointer-events:none}.camera-actions{display:flex;justify-content:flex-end;gap:10px}#credentialCameraStatus{color:#344e65;min-height:42px;line-height:1.5}

.camera-frame video{object-fit:contain}.camera-guide{inset:12%;border-style:dashed}

.access-page{text-align:center;padding:35px 0 70px}.access-card{max-width:570px;margin:0 auto;padding:42px;background:#fff;border:1px solid #dce3e9;border-radius:10px}.access-card h1{font-size:31px;line-height:1.25}.access-card p{color:#657c8e;line-height:1.7}.access-card .primary{margin:20px 0;padding:17px 35px;font-size:16px}.access-note{font-size:12px}.rut-completion-note{font-size:12px;line-height:1.5;color:#61798c;margin:10px 0}@media(max-width:600px){.access-card{padding:28px 20px}.access-card h1{font-size:26px}}

#connectionStatus{font-size:11px;max-width:210px} .header-right{flex-wrap:wrap}#workerEditDialog{max-width:520px;width:calc(100% - 32px)}#workerEditDialog form{display:grid;gap:12px}#workerEditDialog label{display:grid;gap:6px}#workerEditDialog input,#workerEditDialog select{width:100%}#installInstructions{max-width:480px;padding:28px}#installInstructions p{line-height:1.65}

.worker-table-wrap{margin-top:14px;border:1px solid #dce4ee;border-radius:8px;overflow:auto}.worker-table{width:100%;min-width:960px;border-collapse:collapse}.worker-table th,.worker-table td{white-space:nowrap;padding:16px 18px;text-align:left;vertical-align:middle}.worker-table th{background:#f4f7fb;color:#49617d;font-size:12px;font-weight:700;letter-spacing:.03em}.worker-table td{border-bottom:1px solid #e8eef5;font-size:14px;color:#263f5d}.worker-table tbody tr:last-child td{border-bottom:0}.worker-table tbody tr:hover td{background:#f8fafd}.worker-table .worker-rut{font-variant-numeric:tabular-nums}.worker-table .worker-actions{position:sticky;right:0;text-align:right;background:white;box-shadow:-8px 0 12px -12px #67809c}.worker-table th.worker-actions{background:#f4f7fb}.worker-edit-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;min-width:80px;padding:8px 18px;border:1px solid #b8cce2;border-radius:6px;background:#fff;color:#164c85;font-weight:600}.worker-edit-button:hover{background:#eaf1f9;border-color:#164c85}

.report-date-filter{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:600;color:#49617d}.toolbar{align-items:end}.toolbar .report-date-filter input{width:165px;min-width:0}#reportRangeError:empty{display:none}@media(max-width:600px){.toolbar .report-date-filter{flex:1;min-width:135px}.toolbar .report-date-filter input{width:100%}}

/* Logo y controles en filas independientes, también en el tótem vertical. */
body>header{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:auto;min-height:0;padding:18px 24px 0;gap:0}
body>header .brand-centered{position:static;flex:none;margin:0 auto;padding:0 0 16px;min-width:0}
body>header .header-right{position:static;inset:auto;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;width:100%;max-width:1200px;margin:0 auto;padding:11px 0;border-top:1px solid #edf1f5;gap:10px 14px;min-height:58px}
header .header-right #connectionStatus{position:static;display:block;margin:0 auto 0 0;flex:1 1 190px;align-self:center;text-align:left;font-size:11px;max-width:none;white-space:normal;color:#61788e}
header .header-right #clock{margin:0;font-size:12px;white-space:nowrap;color:#61788e}
header .header-right .quiet{margin:0;min-height:38px;padding:9px 14px;white-space:nowrap;font-size:12px}
header .header-right #installApp:not([hidden]),header .header-right #closeKiosk:not([hidden]){display:inline-flex;align-items:center;justify-content:center}
header .header-right #installApp{border:1px solid #c8d7e7;background:#edf3fa;color:#245d92;font-weight:600}
header .header-right .settings-wrap{flex:none;position:relative}
header .header-right .gear{width:40px;height:40px}
header .settings-menu{top:48px;z-index:40}
#installInstructions{width:calc(100% - 32px);max-width:500px;max-height:85dvh;overflow-y:auto}
#installInstructions h2{margin-top:0;font-size:23px}
#installInstructions h3{font-size:15px;margin:22px 0 6px;color:#264866}
#installInstructions ol{padding-left:21px;font-size:13px;line-height:1.7;color:#61768a}
#installInstructions #closeInstall{width:100%;margin-top:12px}
@media(max-width:850px){body>header{height:auto;min-height:0;padding:16px 16px 0}body>header .brand-centered{padding-bottom:14px}body>header .header-right{position:static;inset:auto;gap:8px;padding:10px 0;justify-content:center}header .header-right #connectionStatus{flex-basis:100%;text-align:center;margin:0;font-size:10px}header .header-right #clock,header .header-right #fullscreen{display:none}header .header-right #installApp:not([hidden]),header .header-right #closeKiosk:not([hidden]){display:inline-flex;flex:1 1 100px;min-width:0;font-size:12px;padding:9px 10px;min-height:40px}header .header-right .settings-wrap{margin-left:0}header .settings-menu{width:min(300px,calc(100vw - 32px));right:0}header .header-right .gear{width:40px;height:40px}}

/* Atención compacta para terminales de lectura con pantalla. */
html,body{width:100%;max-width:100%;overflow-x:clip}
body>header .brand-symbol{width:130px;height:65px}body>header .brand-symbol img{width:255px;top:-18px}body>header .brand-name{font-size:16px}body>header .brand-description{font-size:9px;margin-top:3px}body>header .brand-centered{padding-bottom:10px}
main{padding-top:20px}#kiosk>.steps{display:none}#kiosk>h1{font-size:28px}#kiosk>.intro{font-size:13px;margin-bottom:18px}.kiosk-grid{align-items:start}.kiosk-grid>div{min-width:0}.kiosk-grid input,.kiosk-grid select{min-width:0;max-width:100%}.kiosk-grid>div:first-child>h2{font-size:16px;margin-bottom:10px}.service-field{padding:16px}.identity{padding:20px}.identity h2{margin-top:10px}.bottom-note{margin-top:20px}
@media(max-width:850px){
 body>header{padding:7px 12px 0;gap:0}body>header .brand-centered{padding:0 0 6px;line-height:1.15}body>header .brand-symbol{width:90px;height:45px}body>header .brand-symbol img{width:174px;top:-12px}body>header .brand-name{font-size:13px;margin-top:0}body>header .brand-description{display:none}
 body>header .header-right{padding:5px 0;gap:6px;min-height:40px;flex-wrap:nowrap}header .header-right #connectionStatus,header .header-right #clock{display:none}header .header-right #installApp:not([hidden]),header .header-right #closeKiosk:not([hidden]){min-height:32px;height:32px;flex:0 1 auto;padding:5px 10px;font-size:11px}header .header-right #installApp{margin-left:auto}header .header-right .gear{width:34px;height:34px}header .header-right .gear svg{width:19px;height:19px}
 body[data-page="kiosk"] nav,body[data-page="access"] nav{display:none}
 main{width:100%;max-width:100%;padding:10px 12px 16px}#kiosk{width:100%;min-width:0}#kiosk>.eyebrow,#kiosk>.intro,#kiosk>.bottom-note{display:none}#kiosk>h1{font-size:20px;line-height:1.2;letter-spacing:-.4px;margin:0 0 9px;overflow-wrap:anywhere}
 .kiosk-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;width:100%;max-width:500px;margin:auto;align-items:start}.kiosk-grid>div:first-child>h2,.kiosk-grid .help{display:none}.service-field{padding:9px 12px}.service-field label{margin:0;font-size:12px}.service-caption{display:none}#serviceSelect{font-size:16px;min-height:42px;height:42px;padding:8px 34px 8px 10px;margin-top:4px}
 .kiosk-grid .identity{padding:10px 12px;min-width:0}.identity>.eyebrow,.identity .number{display:none}.identity h2{font-size:16px;line-height:1.25;margin:0 0 6px}.identity .rut-modes{margin:0 0 7px;padding:2px;gap:3px}.identity .rut-modes button{min-width:0;min-height:36px;padding:6px 4px;font-size:12px;white-space:normal}.identity #identify>label{margin:0;font-size:12px}.identity #rut{width:100%;min-height:42px;height:42px;margin-top:4px;padding:7px 10px;font-size:20px;letter-spacing:.5px}.identity .rut-completion-note,.identity .input-hint,.identity .privacy{display:none}.identity #identify .primary{margin-top:9px;min-height:42px;padding:10px 13px;font-size:15px}.identity .credential-camera-options{margin:0 0 7px}.identity #openCredentialCamera{min-height:36px;padding:6px 10px;font-size:12px}.identity .confirmation,.identity .duplicate-error,.identity .not-found{margin-top:10px;padding:12px}
 .access-page{padding:12px 0 18px}.access-card{padding:20px 16px;max-width:440px}.access-card .eyebrow{font-size:9px}.access-card h1{font-size:23px;margin:10px 0}.access-card p{font-size:13px;line-height:1.5}.access-card .primary{margin:12px 0;padding:12px 20px;font-size:15px;min-height:44px}.access-card .access-note{margin-bottom:0;font-size:11px}
}

/* El menú móvil se ancla al encabezado, no a la posición de la rueda. */
@media(max-width:850px){header .header-right .settings-wrap{position:static}header .header-right .settings-menu{position:absolute;left:12px;right:12px;top:calc(100% + 4px);bottom:auto;width:auto;max-width:420px;min-width:0;margin:0 auto;max-height:calc(100vh - 140px);max-height:calc(100dvh - 140px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;z-index:50;box-sizing:border-box}header .header-right .settings-menu button{max-width:100%;white-space:normal;overflow-wrap:anywhere;padding:12px;font-size:14px;text-align:left}header .header-right .settings-menu small,header .header-right #sessionInfo{white-space:normal;overflow-wrap:anywhere}header .header-right .settings-menu>p{margin:8px 12px 10px}}
