.driver-portal{display:block;background:#f3f6f3;color:#193e50}.driver-portal main{margin:0 auto;padding:24px;max-width:1180px}.driver-portal header{padding:14px 0;border-bottom:1px solid #ccd8d3}.driver-heading,.driver-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.driver-heading h1{font-size:clamp(28px,5vw,46px);margin:24px 0}.driver-summary{font-size:1.15rem;border-bottom:2px solid #b5c9c0;padding:16px 0}.driver-tour-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:18px;margin:20px 0}.driver-tour,.driver-report,.driver-access-form{background:white;border:1px solid #cfddd6;border-radius:12px;padding:20px;margin:18px 0}.driver-tour{margin:0}.driver-tour h2{font-size:1.2rem;margin:0 0 12px}.driver-tour h3{font-size:1.1rem}.driver-facts{display:grid;grid-template-columns:140px 1fr;gap:8px 12px}.driver-facts dt{color:#60766c;font-size:.85rem}.driver-facts dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.driver-approved{padding:12px;background:#e4f2e7;border-radius:7px}.driver-tour small{display:block;font-size:.75rem}.driver-entry{border-bottom:1px solid #c8d2cc;padding:12px 0}.driver-entry p{white-space:pre-wrap}.driver-voided{opacity:.62;text-decoration:line-through}.driver-entry button{margin:8px 8px 0 0}.driver-totals{background:#e8f0ec;padding:4px 16px;border-radius:8px}.driver-edit-dialog{max-width:560px;width:calc(100% - 32px);max-height:90vh;border:1px solid #bacfc4;border-radius:12px;padding:24px;overflow:auto}.driver-edit-dialog form,.driver-access-form{display:grid;gap:14px}.driver-edit-dialog textarea{min-height:110px}.driver-edit-dialog label,.driver-access-form label{display:grid;gap:5px}.driver-access-form input[type=checkbox]{width:22px;height:22px}.driver-edit-dialog::backdrop{background:#102e3e99}#driver-admin-page section{margin-bottom:28px}#driver-admin-page .driver-summary{margin-top:24px}#driver-admin-page th{position:static}#driver-admin-page td{white-space:normal}.driver-report>p{white-space:pre-wrap}@media(max-width:600px){.driver-portal main{padding:14px}.driver-facts{grid-template-columns:110px 1fr}.driver-tour,.driver-report{padding:15px}.driver-portal .view-bar label{flex:1;min-width:130px}}

body.booting>*{visibility:hidden}body.booting::before{content:'TukTuk · Betöltés…';position:fixed;inset:30px auto auto 30px;color:#193e50;font:18px system-ui;visibility:visible}

.driver-weekly-roster {
  background: #fff;
  border: 1px solid #cfddd6;
  border-radius: 12px;
  margin: 16px 0;
  padding: 14px 16px;
  min-width: 0;
}
.driver-weekly-roster summary { font-weight: 700; cursor: pointer; }
.driver-weekly-roster .view-bar { margin-top: 12px; }
.driver-weekly-roster .weekly-roster-wrap td { text-align: center; }
.driver-weekly-roster .weekly-roster-wrap th:first-child { text-align: left; }

.driver-daily-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));gap:.75rem}
.driver-daily-fields label{min-width:0}
.driver-daily-fields textarea,.driver-tour details textarea{min-height:84px;resize:vertical}
.driver-daily-fields label:has(textarea){grid-column:1/-1}
.driver-daily details{margin:.5rem 0}
.driver-tour details form{margin-top:.65rem;display:grid;gap:.45rem}

.driver-portal [hidden]{display:none!important}
.driver-portal header{justify-content:flex-start;align-items:center;gap:14px;letter-spacing:normal}
.driver-portal header img{object-fit:contain;background:#193a50;border-radius:12px;padding:6px}
.driver-portal header strong,.driver-portal header small{display:block}
.driver-portal header strong{font-size:1.15rem;font-weight:750}
.driver-portal header small{font-size:.84rem;color:#50666f;margin-top:3px}
.driver-portal .driver-heading h1{font-size:clamp(25px,4.4vw,40px);margin:18px 0}
.driver-portal button{min-height:44px;border-radius:12px;padding:8px 14px;font-weight:650}
.driver-portal button.driver-primary{background:#193a50;border-color:#193a50;color:#fff}
.driver-portal button.driver-primary:hover:not(:disabled){background:#2b556e}
.driver-portal .driver-auth-actions button::before{content:'↪';margin-right:.5em}
.driver-portal .driver-auth-actions button.driver-primary::before{content:'→'}
.driver-roster-own{overflow:auto}
.driver-roster-own table{table-layout:fixed;min-width:26rem}
.driver-roster-own th:first-child{width:5.2rem}
.driver-roster-own :is(th,td),.driver-weekly-roster .weekly-roster-wrap :is(th,td){text-align:center;padding:6px 4px;overflow-wrap:anywhere}
.driver-roster-own td strong,.driver-weekly-roster td strong{font-size:.87rem;font-variant-numeric:tabular-nums}
.driver-roster-own small,.driver-weekly-roster td small{color:#50666f;margin:3px 0;font-size:.72rem}
.driver-weekly-roster .weekly-roster-wrap table{min-width:34rem}
.driver-weekly-roster .weekly-roster-wrap th:first-child{width:6.7rem}
.driver-weekly-roster .weekly-roster-wrap td{vertical-align:middle}
@media(max-width:600px){
  .driver-portal main{width:100%}
  .driver-weekly-roster{padding:12px}
  .driver-weekly-roster .view-bar label{min-width:110px}
}
.driver-weekly-roster>summary{cursor:pointer;font-size:1.15rem;font-weight:700}
