:root{
  color-scheme:light;
  --ink:#153a3e;--muted:#64797b;--teal:#073e46;--teal-2:#0b5961;--green:#218064;--gold:#e9a51a;
  --paper:#f5f8f7;--surface:#fff;--line:#e1eae7;--soft:#edf5f2;--warning:#fff5de;--danger:#a8443b;
  --shadow:0 12px 32px rgba(15,58,62,.08);font-family:Inter,"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink)
}
.empty-state[role="alert"]{border-color:#efc8c3;border-left:5px solid var(--danger);background:#fff8f7;color:#772e29}
.activity-history-item h4{overflow-wrap:anywhere}
.activity-history-item .card-head>div{min-width:0}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);font-size:15px;line-height:1.5;min-height:100vh}
button,input,select,textarea{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
a{color:var(--teal-2)}
[hidden]{display:none!important}
.skip-link{position:absolute;left:-999px;top:8px;background:var(--surface);padding:12px;z-index:20}
.skip-link:focus{left:8px}
.topbar{height:72px;padding:0 clamp(16px,4vw,52px);background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:10}
.brand{display:flex;align-items:center;width:168px;height:62px}.brand img{display:block;width:100%;height:100%;object-fit:contain;object-position:left center}
.topbar-right{display:flex;align-items:center;gap:12px}.region-pill,.status-badge,.account-chip{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:8px 12px;background:var(--soft);font-size:13px;color:var(--teal);font-weight:650}.status-dot{width:8px;height:8px;background:var(--green);border-radius:50%;box-shadow:0 0 0 4px #21806418}.account-chip{background:#f4f1e9;max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.main-content{width:min(1120px,100%);margin:0 auto;padding:28px clamp(14px,4vw,34px) 44px;min-height:calc(100vh - 130px)}
.auth-shell{max-width:980px;margin:14px auto 30px}.auth-brandline{display:flex;justify-content:space-between;align-items:center;margin:0 0 14px}.eyebrow{font-size:11px;letter-spacing:.12em;color:#728184;font-weight:800;margin:0 0 8px}.auth-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.78fr);gap:16px;align-items:stretch}
.auth-card,.auth-aside,.card{background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.auth-card{padding:clamp(22px,4vw,38px)}.auth-card h1{font-size:clamp(26px,4vw,34px);letter-spacing:-.04em;line-height:1.12;margin:4px 0 10px}.auth-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#fff5de;color:#a96f00;font-size:23px;margin-bottom:20px}.subcopy{margin:0;color:var(--muted);max-width:62ch}.auth-aside{background:linear-gradient(145deg,#0a454d,#0d6263);color:white;padding:clamp(24px,4vw,38px);display:flex;flex-direction:column}.aside-mark{width:48px;height:48px;border-radius:16px;background:#ffffff1a;display:grid;place-items:center;font-size:21px}.auth-aside h2{font-size:24px;line-height:1.2;margin:25px 0 10px;letter-spacing:-.03em}.auth-aside p{color:#d9ebea;margin:0}.auth-aside ul{list-style:none;padding:0;margin:24px 0;display:grid;gap:13px}.auth-aside li{padding-left:24px;position:relative;color:#f2f8f7}.auth-aside li::before{content:"✓";position:absolute;left:0;color:#f1bd4a;font-weight:900}.aside-foot{margin-top:auto;padding-top:16px;border-top:1px solid #ffffff2b;font-size:13px;color:#d9ebea}.aside-foot span{color:#f1bd4a;font-size:10px;margin-right:5px}
.form-stack{display:grid;gap:14px;margin-top:20px}.field{display:grid;gap:6px}.field>span{font-size:13px;font-weight:700;color:#304f52}.field input,.field select,.field textarea{width:100%;border:1px solid #cedbd8;border-radius:10px;background:#fff;color:var(--ink);min-height:48px;padding:11px 13px;outline:none}.field textarea{min-height:100px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #21806422}.field small{color:var(--muted);font-size:12px}.auth-note{font-size:12px;color:var(--muted);margin:18px 0 0}.auth-access-note{padding:12px 14px;border-radius:11px;background:#fff1ef;border:1px solid #efc7c2;color:#8b302a;font-size:13px;font-weight:650;margin:16px 0 0}
.button{border:1px solid transparent;border-radius:10px;min-height:44px;padding:10px 15px;font-weight:750;transition:background .15s,transform .15s;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}.button:active{transform:translateY(1px)}.button:disabled{opacity:.55;cursor:not-allowed}.button-primary{background:var(--teal);color:white}.button-primary:hover{background:var(--teal-2)}.button-outline{background:white;color:var(--teal);border-color:#c8d8d4}.button-outline:hover{background:var(--soft)}.button-quiet{background:transparent;color:var(--teal);border-color:var(--line)}.button-danger{background:#fff1ef;color:var(--danger);border-color:#f1d0cb}.button-small{min-height:38px;padding:7px 10px;font-size:13px}.button-wide{width:100%;min-height:50px}
.workspace{padding-top:6px}.welcome-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:0 0 20px}.welcome-row h1{font-size:clamp(26px,4vw,36px);line-height:1.1;letter-spacing:-.04em;margin:0 0 8px}.workspace-date{white-space:nowrap;margin-top:12px}.role-nav{display:flex;gap:8px;overflow-x:auto;padding:5px 0 13px;margin:0 0 15px;scrollbar-width:thin}.role-nav button{flex:0 0 auto;min-height:44px;border:1px solid var(--line);border-radius:999px;padding:9px 15px;background:white;color:#486164;font-weight:700}.role-nav button[aria-current="page"]{background:var(--teal);color:white;border-color:var(--teal)}.role-nav button:focus-visible,.button:focus-visible{outline:3px solid #e9a51a;outline-offset:2px}
.notice{padding:12px 15px;border-radius:12px;background:var(--warning);color:#70520d;border:1px solid #f4dfad;margin:0 0 17px;font-size:13px}.panel-content{display:grid;gap:17px}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin:0 0 2px}.panel-heading h2{font-size:22px;line-height:1.2;margin:0;letter-spacing:-.025em}.panel-heading p{margin:5px 0 0;color:var(--muted)}.panel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.card{padding:20px;min-width:0}.card h3{font-size:17px;margin:0 0 12px;letter-spacing:-.02em}.card p{color:var(--muted)}.card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:13px}.card-head h3{margin:0}.card-head p{margin:4px 0 0}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.metric{padding:17px;border:1px solid var(--line);border-radius:14px;background:#fff}.metric strong{display:block;font-size:24px;letter-spacing:-.04em;color:var(--teal);line-height:1.15}.metric span{display:block;font-size:12px;color:var(--muted);margin-top:5px}.list-stack{display:grid;gap:10px}.list-item{padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff;display:flex;gap:12px;align-items:flex-start;justify-content:space-between;min-width:0}.list-main{min-width:0}.list-main strong{display:block;overflow-wrap:anywhere}.list-main p{margin:4px 0;color:var(--muted);font-size:13px}.list-meta{display:block;color:#708183;font-size:12px;margin-top:6px;overflow-wrap:anywhere}.list-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.status-pill{display:inline-flex;align-items:center;min-height:27px;padding:4px 9px;border-radius:999px;background:#edf5f2;color:#1c6b54;font-size:11px;font-weight:800;white-space:nowrap}.status-pill.pending{background:#fff4da;color:#865d0e}.status-pill.off{background:#f1f3f3;color:#687779}.empty-state{padding:22px;text-align:center;border:1px dashed #c9d9d5;border-radius:13px;color:var(--muted)}.empty-state strong{display:block;color:var(--ink);margin-bottom:4px}.stack{display:grid;gap:13px}.inline-form{display:flex;gap:9px;align-items:end;flex-wrap:wrap}.inline-form .field{flex:1 1 190px}.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.section-sep{border:0;border-top:1px solid var(--line);margin:18px 0}.small-copy{font-size:12px;color:var(--muted);margin:5px 0}.table-wrap{width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:520px}th,td{text-align:left;padding:11px 10px;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:10px;color:#718183;letter-spacing:.09em;text-transform:uppercase}td{font-size:13px}.checkbox-row{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:#53696b}.checkbox-row input{width:20px;height:20px;flex:0 0 auto;margin:1px 0 0;accent-color:var(--green)}.location-card{background:linear-gradient(150deg,#f2f8f5,#fff);border-color:#d9e9e2}.location-surface{min-height:128px;border:1px dashed #bed6cc;border-radius:13px;background-color:#eef7f2;background-image:linear-gradient(32deg,transparent 45%,#d8e7df 46%,#d8e7df 48%,transparent 49%),linear-gradient(143deg,transparent 46%,#d8e7df 47%,#d8e7df 49%,transparent 50%);background-size:58px 58px;display:grid;place-items:center;text-align:center;padding:15px}.location-marker{width:18px;height:18px;border:5px solid white;border-radius:50%;background:var(--gold);box-shadow:0 1px 12px #123a4060;margin:0 auto 9px}.location-surface strong{display:block}.location-surface small{color:var(--muted)}.location-controls{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.error-text{color:#a3312b;font-size:13px;margin:0}.success-text{color:#1b6c52;font-size:13px;margin:0}.role-hint{padding:12px 14px;background:#f4f7f6;border-radius:11px;color:#53696b;font-size:13px}.form-error{margin:10px 0 0;color:var(--danger);font-size:13px}.consent-note{padding:11px 12px;background:#f3f6f5;border-radius:10px;font-size:12px;color:#526769}.user-list{display:grid;gap:8px}.user-row{display:grid;grid-template-columns:minmax(0,1fr) 160px auto;gap:9px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.billing-callout{padding:14px;border-radius:12px;background:#f1f7f4;border:1px solid #d6e8df}.billing-callout strong{color:var(--teal)}.toggle-row{display:flex;align-items:center;gap:10px}.toggle-row input{width:20px;height:20px;accent-color:var(--green)}
.site-footer{min-height:58px;padding:15px clamp(16px,4vw,52px);border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;color:#718183;font-size:12px;background:var(--surface)}.toast{position:fixed;left:50%;bottom:20px;transform:translate(-50%,15px);opacity:0;pointer-events:none;z-index:30;max-width:min(92vw,480px);padding:12px 16px;background:#173d41;color:white;border-radius:12px;box-shadow:var(--shadow);transition:all .18s}.toast.show{opacity:1;transform:translate(-50%,0)}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1080px){.main-content{padding-top:34px}}
@media(max-width:760px){.main-content{padding-top:20px}.auth-grid{grid-template-columns:1fr}.auth-aside{min-height:230px}.auth-aside h2{margin-top:16px}.auth-aside ul{margin:15px 0}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.panel-grid{grid-template-columns:1fr}}
@media(max-width:560px){body{font-size:14px}.topbar{height:62px;padding:0 13px}.brand{width:142px;height:55px}.region-pill{display:none}.topbar-right{gap:7px}.account-chip{max-width:130px;font-size:11px;padding:7px 9px}.button{min-height:44px}.button-quiet{font-size:12px;padding:7px 10px}.main-content{padding:18px 12px 32px;min-height:calc(100vh - 120px)}.auth-shell{margin-top:4px}.auth-brandline{gap:10px}.auth-brandline .status-badge{font-size:11px;padding:6px 9px}.auth-card{padding:21px 17px}.auth-aside{padding:21px 18px}.auth-aside h2{font-size:21px}.welcome-row{display:grid;gap:9px}.welcome-row h1{font-size:27px}.workspace-date{margin:0;justify-self:start}.role-nav{margin-left:-12px;margin-right:-12px;padding:5px 12px 12px}.role-nav button{font-size:12px;padding:8px 12px}.card{padding:16px;border-radius:15px}.panel-heading h2{font-size:20px}.metric{padding:13px}.metric strong{font-size:21px}.list-item{display:grid}.list-actions{width:100%}.list-actions .button{flex:1}.inline-form{display:grid;grid-template-columns:1fr;width:100%}.inline-form .field{width:100%}.form-row{grid-template-columns:1fr}.user-row{grid-template-columns:1fr;gap:7px}.user-row .button{width:100%}.site-footer{display:grid;gap:4px;text-align:center;padding:12px}.location-controls .button{flex:1}.table-wrap{margin:0 -2px}th,td{padding:9px 7px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}
.local-mode-pill{display:inline-flex;align-items:center;border:1px solid #f0dba7;border-radius:999px;padding:7px 10px;background:#fff7e5;color:#74540e;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}
.auth-legal{margin:11px 0 0;font-size:12px;line-height:1.55;color:var(--muted)}.auth-legal a{font-weight:700}.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:7px 14px}.footer-links a{color:#526b6d;text-decoration:underline;text-underline-offset:2px}.footer-links a:focus-visible,.auth-legal a:focus-visible{outline:3px solid var(--gold);outline-offset:2px;border-radius:3px}
.rating-fieldset{border:0;padding:0;margin:0}.rating-fieldset legend{font-size:13px;font-weight:700;color:#304f52;margin-bottom:7px}.rating-picker{display:flex;gap:5px}.star-option{position:relative;display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--line);border-radius:10px;color:#b8c2bf;background:#fff;cursor:pointer;font-size:23px}.star-option:has(input:checked){color:#d99808;background:#fff7e5;border-color:#edcf82}.star-option:focus-within{outline:3px solid #e9a51a;outline-offset:2px}.star-option input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.form-feedback{margin:0;font-size:13px}.form-feedback[role="alert"]{color:var(--danger)}.form-feedback[data-kind="success"]{color:var(--green)}
@media(max-width:560px){.local-mode-pill{font-size:9px;padding:6px 7px}.topbar-right{gap:5px}}
.notification-center{position:fixed;z-index:100;left:50%;bottom:max(12px,env(safe-area-inset-bottom));transform:translateX(-50%);display:grid;gap:8px;width:min(94vw,480px);pointer-events:none}.notification{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #b7d3c9;border-left:5px solid var(--green);border-radius:13px;background:#fff;color:var(--ink);box-shadow:0 8px 28px #153a3e24;pointer-events:auto}.notification p{margin:0;font-size:13px;line-height:1.45;overflow-wrap:anywhere}.notification-info{border-left-color:var(--teal-2)}.notification-success{border-left-color:var(--green)}.notification-warning{border-color:#f1ddb1;border-left-color:var(--gold);background:#fffaf0;color:#654a0b}.notification-error{border-color:#efc8c3;border-left-color:var(--danger);background:#fff8f7;color:#772e29}.notification-close{flex:0 0 44px;min-width:44px;min-height:44px;border:0;border-radius:9px;background:transparent;color:inherit;font-size:24px;line-height:1}.notification-close:hover{background:#0000000a}.notification-close:focus-visible,.confirm-dialog button:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.confirm-dialog{width:min(92vw,460px);max-width:460px;padding:0;border:0;border-radius:18px;background:#fff;color:var(--ink);box-shadow:0 24px 90px #0b33385c}.confirm-dialog::backdrop{background:#0c2f33a6}.confirm-dialog-card{padding:clamp(20px,5vw,28px)}.confirm-dialog h2{margin:0 0 9px;font-size:21px;letter-spacing:-.02em}.confirm-dialog p{margin:0;color:var(--muted);line-height:1.55}.dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:9px;margin-top:22px}
.driver-state-card{border-left:4px solid var(--teal-2)}.driver-state-card[data-state="vacant"]{border-left-color:var(--green)}.driver-state-card[data-state="occupied"]{border-left-color:var(--gold)}.driver-state-card[data-state="unapproved"],.driver-state-card[data-state="awaiting_location"]{border-left-color:var(--danger)}.driver-state-line{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.dispatch-offer{padding:10px 12px;border:1px solid #f1ddb1;background:#fffaf0;border-radius:11px;color:#654a0b;font-size:13px}.fleet-units{display:grid;gap:9px}.fleet-unit{padding:13px;border:1px solid var(--line);border-radius:12px;background:#fff}.fleet-unit strong{display:block}.fleet-unit .list-meta{margin-top:3px}.pickup-manual{border:1px dashed #c9d9d5;border-radius:11px;padding:11px 13px}.pickup-manual summary{cursor:pointer;color:var(--teal);font-size:13px;font-weight:700}.pickup-manual[open] summary{margin-bottom:11px}.pickup-feedback{min-height:18px}
@media(max-width:560px){.notification-center{width:calc(100vw - 20px)}.notification{padding:11px 12px}.dialog-actions{display:grid;grid-template-columns:1fr}.dialog-actions .button{width:100%}}
.driver-activity{scroll-margin-top:74px}.driver-activity h2{margin:0;font-size:20px}.activity-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;gap:10px;align-items:end}.activity-filters .field select{min-height:46px}.activity-filters>.button{min-height:46px}.activity-period-note,.activity-export-note{margin:0;font-size:11px}.activity-export-note{color:#657a7c}.activity-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.activity-metric{display:grid;align-content:start;gap:5px;min-height:75px;padding:11px;border:1px solid var(--line);border-radius:12px;background:#fbfdfc}.activity-metric span{color:var(--muted);font-size:11px;line-height:1.3}.activity-metric strong{color:var(--teal);font-size:18px;line-height:1.2;overflow-wrap:anywhere}.activity-comparison{margin:0;padding:9px 11px;border-radius:10px;background:#f4f7f6}.activity-details{border-top:1px solid var(--line);padding-top:11px}.activity-details>summary{display:flex;align-items:center;min-height:44px;cursor:pointer;color:var(--teal);font-size:13px;font-weight:750}.activity-details[open]>summary{margin-bottom:13px}.activity-chart,.membership-summary,.activity-history{padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff}.activity-chart h3,.membership-summary h3,.activity-history h3{font-size:16px;margin:0 0 10px}.activity-daily-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}.activity-daily-list li{display:grid;grid-template-columns:minmax(88px,130px) minmax(50px,1fr) 28px;gap:10px;align-items:center;font-size:12px;color:#52696b}.activity-daily-list progress{width:100%;height:12px;accent-color:var(--green)}.activity-daily-list strong{text-align:right;color:var(--teal)}.membership-summary{display:grid;gap:10px}.membership-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.membership-values>div{display:grid;gap:4px;padding:10px;border-radius:10px;background:#f5f8f7}.membership-values span{font-size:11px;color:var(--muted)}.membership-values strong{font-size:15px;color:var(--teal);overflow-wrap:anywhere}.activity-history-list{display:grid;gap:8px}.activity-history-item{padding:12px;border:1px solid var(--line);border-radius:11px;background:#fff}.activity-history-item h4{font-size:14px;margin:0}.activity-route{margin:6px 0;color:#304f52;font-size:13px;overflow-wrap:anywhere}.activity-record-meta{display:flex;flex-wrap:wrap;gap:5px 12px;color:var(--muted);font-size:11px}.activity-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.activity-pagination span{font-size:12px;color:var(--muted)}.membership-summary .billing-callout{margin:0}.driver-activity .inline-feedback{padding:13px;border:1px solid #efc8c3;border-radius:11px;background:#fff8f7;color:#772e29}.driver-activity .inline-feedback p{margin:5px 0 10px;font-size:13px}
@media(max-width:760px){.activity-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.activity-filters{grid-template-columns:1fr 1fr}.activity-filters>.button{grid-column:1/-1;width:100%}}
@media(max-width:420px){.activity-metrics{gap:6px}.activity-metric{padding:9px;min-height:70px}.activity-metric strong{font-size:16px}.activity-filters{grid-template-columns:1fr}.activity-filters>.button{grid-column:auto}.activity-daily-list li{grid-template-columns:80px minmax(45px,1fr) 24px;gap:7px}.membership-values{grid-template-columns:1fr}}

.notification-button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:48px;min-height:44px;padding:8px 12px;flex:0 0 auto}.notification-bell{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}.notification-count{position:absolute;top:-3px;right:-4px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 4px;border:2px solid var(--surface);border-radius:999px;background:var(--danger);color:#fff;font-size:10px;line-height:1;font-weight:800}.notification-count[data-unknown="true"]{background:var(--gold);color:#342700}.notifications-dialog{width:min(94vw,620px);max-width:620px;max-height:min(88dvh,760px);padding:0;border:0;border-radius:18px;background:#fff;color:var(--ink);box-shadow:0 24px 90px #0b33385c;overflow:hidden}.notifications-dialog::backdrop{background:#0c2f33a6}.notifications-dialog-card{display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:12px;max-height:min(88dvh,760px);padding:clamp(17px,4vw,25px);min-height:0}.notifications-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.notifications-dialog-head h2{margin:0;font-size:23px;letter-spacing:-.025em}.notifications-dialog-head .eyebrow{margin:0 0 4px}.notifications-dialog-head .small-copy{max-width:480px;margin:5px 0 0;line-height:1.45}.notifications-close{width:44px;height:44px;min-width:44px;padding:0;font-size:22px;line-height:1;flex:0 0 auto}.notifications-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:11px;background:#f4f7f6}.notifications-toolbar p{margin:0;line-height:1.5}.notifications-toolbar .button{min-height:44px;flex:0 0 auto}.notifications-inbox-content{display:grid;align-content:start;gap:10px;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:1px}.inbox-list{display:grid;gap:9px}.inbox-item{display:grid;gap:10px;padding:13px;border-radius:12px}.inbox-item-copy{min-width:0}.inbox-item-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.inbox-item-heading>div{min-width:0}.inbox-category{display:block;color:#647b7c;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.inbox-item-copy h3{margin:2px 0 4px;color:var(--ink);font-size:15px;line-height:1.3;overflow-wrap:anywhere}.inbox-item-copy p{margin:0;color:inherit;font-size:13px;line-height:1.45;overflow-wrap:anywhere}.inbox-facts{display:grid;gap:4px;margin-top:8px;font-size:12px;line-height:1.4}.inbox-item-actions{display:flex;flex-wrap:wrap;gap:8px}.inbox-item-actions .button,.inbox-item>a.button,.inbox-error>.button{min-height:44px}.inbox-error{display:flex;align-items:flex-start;gap:12px}.inbox-error>div{flex:1;min-width:0}.inbox-error strong{display:block}.inbox-error p{margin:4px 0 0;font-size:12px;line-height:1.4}.inbox-error>.button{flex:0 0 auto}.driver-membership-reminders h2{margin:0;font-size:18px}.driver-membership-reminders>.list-stack{gap:8px}.driver-membership-item>a{justify-self:start}.driver-membership-unavailable{line-height:1.5}.driver-membership-unavailable p{margin:4px 0}.button-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:4px 6px;border:0;background:transparent;color:var(--teal);font:inherit;font-weight:750;text-decoration:underline;cursor:pointer}.button-link:focus-visible{outline:3px solid var(--gold);outline-offset:2px;border-radius:5px}#driver-charges{scroll-margin-top:78px}
@media(max-width:560px){.notification-button{width:44px;min-width:44px;height:44px;padding:8px}.notification-button-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.notifications-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:15px}.notifications-dialog-card{max-height:calc(100dvh - 16px);padding:16px 13px;gap:10px}.notifications-dialog-head h2{font-size:21px}.notifications-toolbar{display:grid;grid-template-columns:1fr;align-items:stretch}.notifications-toolbar .button{width:100%}.inbox-item{padding:12px}.inbox-item-actions{display:grid;grid-template-columns:1fr}.inbox-item-actions .button{width:100%}.inbox-error{display:grid;grid-template-columns:1fr}.inbox-error>.button{width:100%}.driver-membership-item>a{width:100%}.topbar{gap:5px}.brand{width:114px;height:53px;flex:0 0 114px}.topbar-right{min-width:0;gap:3px}.local-mode-pill{font-size:8px;padding:5px 5px;white-space:nowrap}.account-chip{max-width:66px;flex:0 1 66px;padding:6px 6px;font-size:10px}.topbar-right>#logout-button{min-height:40px;padding:6px 7px;font-size:10px;white-space:nowrap}}
@media(max-width:400px){.brand{width:106px;flex-basis:106px}.topbar-right{gap:2px}.account-chip{max-width:54px;flex-basis:54px}.local-mode-pill{font-size:7px;padding:5px 4px}.topbar-right>#logout-button{padding:6px 5px;font-size:9px}}

/* Pulido de marca, zonas seguras y controles de toque. */
.topbar{height:auto;min-height:calc(72px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(clamp(16px,4vw,52px),env(safe-area-inset-right)) 0 max(clamp(16px,4vw,52px),env(safe-area-inset-left))}
.brand{flex:0 0 auto;min-width:0}
.brand img{max-width:100%;height:auto;aspect-ratio:84/31;object-fit:cover;object-position:center top}
.button-small{min-height:44px}
.footer-links a{display:inline-flex;align-items:center;min-height:44px;padding:3px 2px}
.site-footer{padding-left:max(clamp(16px,4vw,52px),env(safe-area-inset-left));padding-right:max(clamp(16px,4vw,52px),env(safe-area-inset-right));padding-bottom:max(15px,env(safe-area-inset-bottom))}
.main-content{padding-left:max(clamp(14px,4vw,34px),env(safe-area-inset-left));padding-right:max(clamp(14px,4vw,34px),env(safe-area-inset-right))}
.skip-link{top:calc(8px + env(safe-area-inset-top))}
.skip-link:focus{left:max(8px,env(safe-area-inset-left))}
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.notification-center{bottom:calc(max(12px,env(safe-area-inset-bottom)) + 8px)}
@media(min-width:561px) and (max-width:1000px){
  .brand{width:142px;height:56px}
  .topbar-right{min-width:0;gap:8px}
  .region-pill,.account-chip{display:none}
  .topbar-right>#logout-button{white-space:nowrap}
}
@media(max-width:560px){
  .topbar{min-height:calc(62px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(13px,env(safe-area-inset-right)) 0 max(13px,env(safe-area-inset-left))}
  .brand{height:44px}
  .account-chip{display:none}
  .local-mode-pill{font-size:9px;padding:6px 7px}
  .topbar-right>#logout-button{min-height:44px;padding:7px 8px;font-size:11px}
  .main-content{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}
  .site-footer{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right));padding-bottom:max(12px,env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Iconografía de interfaz: un mismo trazo, escala y alineación en todos los perfiles. */
.ui-icon{display:inline-block;width:20px;height:20px;flex:0 0 auto;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.button>.ui-icon,.button-link>.ui-icon{width:18px;height:18px}
.auth-icon{width:58px;height:58px;margin-bottom:24px;border:1px solid #d6e7df;border-radius:18px;background:linear-gradient(145deg,#f1f8f4,#e5f0eb);color:var(--teal);box-shadow:inset 0 1px 0 #ffffffc9,0 5px 12px #073e4605}
.auth-icon .ui-icon{width:28px;height:28px}
.aside-mark{width:52px;height:52px;border:1px solid #ffffff2b;border-radius:16px;background:#ffffff0d;color:#f4c56e}
.aside-mark .ui-icon{width:26px;height:26px}
.auth-aside li{display:flex;align-items:flex-start;gap:11px;padding-left:0}
.auth-aside li::before{content:none}
.auth-feature-icon{display:inline-flex;flex:0 0 22px;align-items:center;justify-content:center;min-height:22px;margin-top:1px;color:#f4c56e}
.auth-feature-icon .ui-icon{width:18px;height:18px}
.auth-aside li>span:last-child{min-width:0}
.aside-foot{display:flex;align-items:center;gap:8px}
.aside-foot .ui-icon{width:15px;height:15px;color:#f4c56e}
.role-nav{gap:9px;padding-bottom:15px}
.role-nav button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:10px 17px;border-color:#dce7e3;font-size:13px;font-weight:650;letter-spacing:-.01em;line-height:1.3;box-shadow:0 1px 2px #073e4603;transition:background .16s,border-color .16s,color .16s}
.role-nav button>.ui-icon{width:19px;height:19px;color:#527474}
.role-nav button[aria-current="page"]{border-color:var(--teal);background:var(--teal);box-shadow:0 3px 9px #073e4614}
.role-nav button[aria-current="page"]>.ui-icon{color:#f2c66f}
.notification-symbol{display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;margin-top:1px}
.notification-symbol .ui-icon{width:20px;height:20px}
.notification>p{flex:1;min-width:0}
.notification-close,.notifications-close{display:inline-grid;place-items:center}
.notification-close .ui-icon,.notifications-close .ui-icon{width:18px;height:18px}
.star-option{width:44px;height:44px;border-radius:12px;color:#64797b}
.star-option:has(input:checked){color:#a96f00;background:#fff7e5}
.star-option:focus-within,.role-nav button:focus-visible,.notification-close:focus-visible,.notifications-close:focus-visible{outline-color:#a96f00}
.star-option .ui-icon{width:24px;height:24px;fill:currentColor;stroke-width:1.2}
.trip-route .route-line{display:flex;align-items:flex-start;gap:8px;min-width:0}
.trip-route .route-line>.ui-icon{width:17px;height:17px;margin-top:3px;color:#6f8c89}
.trip-route .route-line>span{min-width:0;overflow-wrap:anywhere}
.route-separator{display:inline-flex;align-items:center;vertical-align:middle;margin:0 4px;color:#7a9290}
.route-separator .ui-icon{width:16px;height:16px}
@media(hover:hover){.role-nav button:not([aria-current="page"]):hover{background:#f0f6f3;border-color:#bacfc6;color:var(--teal)}.star-option:hover{border-color:#d6bd81;background:#fffbf2}}
@media(max-width:560px){.role-nav{gap:7px}.role-nav button{gap:8px;padding:10px 14px;font-size:12px}.role-nav button>.ui-icon{width:18px;height:18px}#logout-button .ui-icon{display:none}.auth-icon{width:54px;height:54px;margin-bottom:21px;border-radius:17px}.auth-icon .ui-icon{width:27px;height:27px}}
.agenda-state { display: grid; gap: .45rem; border-inline-start: 3px solid var(--teal-2); }
.agenda-state p { margin: 0; line-height: 1.5; }
.agenda-state[data-attention="true"] { border-color: #a27816; background: #fff6de; color: #5e470a; }
.agenda-state .list-actions { margin-top: .3rem; }
.confirm-dialog .field { margin-block: .9rem; }

/* Accesos por persona: controles independientes y cómodos desde celular. */
.staff-permission-groups{display:grid;gap:14px;min-width:0}
.staff-permission-group{margin:0;padding:14px;border:1px solid #dce7e3;border-radius:14px;min-width:0;background:#fbfdfc}
.staff-permission-group>legend{padding:0 7px;color:var(--teal);font-weight:750;font-size:14px}
.staff-permission{padding:10px 0;border-bottom:1px solid #e7eeeb;min-width:0}
.staff-permission:last-child{border-bottom:0;padding-bottom:0}
.staff-permission-toggle{display:flex;align-items:flex-start;gap:12px;min-height:44px;cursor:pointer}
.staff-permission-toggle>input,.staff-zone-options input{width:20px;height:20px;min-width:20px;margin:2px 0 0;padding:0;accent-color:var(--teal);flex:0 0 auto}
.staff-permission-toggle>span{display:grid;gap:4px;min-width:0}
.staff-permission-toggle strong{font-size:14px;line-height:1.4;color:var(--ink)}
.staff-permission-toggle small{font-size:12px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
.staff-permission-options{margin:9px 0 4px 32px;padding:12px;background:#edf5f0;border-radius:10px;display:grid;gap:10px;min-width:0}
.staff-permission-options[hidden]{display:none}
.staff-permission-options .field select{background:#fff;max-width:100%}
.staff-zone-options{margin:0;padding:10px;border:1px solid #c9dad1;border-radius:8px;min-width:0;display:flex;gap:8px 18px;flex-wrap:wrap}
.staff-zone-options[hidden]{display:none}
.staff-zone-options legend{font-size:12px;font-weight:700;padding:0 5px}
.staff-zone-options label{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;font-size:13px}
.staff-account{padding:14px 0;border-top:1px solid #e1eae5;min-width:0}
.staff-account>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;cursor:pointer;list-style:none}
.staff-account-chevron{display:inline-flex;color:var(--teal);flex:0 0 auto}
.staff-account[open] .staff-account-chevron{transform:rotate(90deg)}
.staff-account>summary>span:first-child{display:grid;gap:4px;min-width:0;flex:1}
.staff-account>summary strong,.staff-account>summary small{overflow-wrap:anywhere}
.staff-account>summary small{font-size:12px;color:var(--muted);line-height:1.45}
.staff-account>.form-stack{margin-top:18px}
.staff-account>summary:focus-visible{outline:3px solid var(--gold);outline-offset:4px;border-radius:8px}
.staff-account .list-actions .button{min-height:44px;white-space:normal}
@media(min-width:1050px){.staff-permission-groups{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}
@media(max-width:560px){.staff-permission-group{padding:11px}.staff-permission-options{margin-left:0;padding:10px}.staff-account>summary{flex-wrap:wrap;gap:8px}.staff-account>summary .status-pill{font-size:10px}.staff-account .list-actions{display:grid;grid-template-columns:1fr}.staff-account .list-actions .button{width:100%}}

.fare-address { min-width: 0; margin: .5rem 0; padding: .9rem; border: 1px solid #c9dcd4; border-radius: .7rem; }
.fare-address legend { padding: 0 .35rem; color: var(--teal); font-weight: 700; }
[data-fare-compare], [data-fare-invitations], [data-fare-compare] article, [data-fare-invitations] article { min-width: 0; overflow-wrap: anywhere; }
[data-fare-compare] h4 { margin: 0; font-size: 1.08rem; }
[data-fare-compare] .button, [data-fare-invitations] button { min-height: 44px; }


/* Navegación de la cuenta */
#sidebar,.menu-toggle,.workspace-mobile-actions{display:none}
#role-page,#inbox-page,#menu-controls{min-width:0}
#menu-controls .role-nav{display:grid;gap:5px;margin:0;padding:3px;overflow:visible}
#menu-controls .role-nav button,.applications-link{justify-content:flex-start;text-align:left;gap:10px;min-height:44px;border-radius:10px;white-space:normal}
#menu-controls .role-nav button:not([aria-current="page"]){background:transparent;border-color:transparent;box-shadow:none}
#menu-controls .role-nav button:hover{border-color:var(--line)}
#menu-controls .applications-link{display:flex;margin:12px 3px 0}
#nav-unread{margin-left:auto;padding:2px 7px;border-radius:100px;background:var(--teal);color:white;font-size:12px}
[aria-current="page"] #nav-unread{background:white;color:var(--teal)}
#inbox-page h1{margin:0}
#inbox-controls{display:grid;gap:12px;min-width:0;min-height:0}
.notifications-dialog-card:has(#inbox-controls){grid-template-rows:auto minmax(0,1fr)}
.notifications-dialog #inbox-controls{grid-template-rows:auto auto minmax(0,1fr)}
.inbox-filters{display:flex;gap:6px;flex-wrap:wrap}
.inbox-filters .button{min-height:44px;padding:8px 12px}
.inbox-filters [aria-pressed="true"]{background:var(--teal);color:white}
@media(min-width:900px){
  .main-content:has(#workspace:not([hidden]) #sidebar){width:auto;max-width:1550px;padding-left:250px}
  #sidebar{display:block;position:fixed;z-index:5;left:0;top:calc(72px + env(safe-area-inset-top));bottom:0;width:220px;padding:25px 13px;overflow:auto;background:var(--surface);border-right:1px solid var(--line)}
}
@media(max-width:899px){
  .workspace-mobile-actions{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;margin-bottom:14px}
  .menu-toggle{display:inline-flex}
  #menu-dialog{position:fixed;inset:0 auto 0 0;margin:0;width:min(320px,90vw);height:100dvh;max-height:100dvh;max-width:90vw;padding:20px 16px;border:0;background:var(--surface);color:var(--ink);overflow-y:auto}
  #menu-dialog::backdrop{background:#0c2f33a6}
  #menu-dialog header{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}
  #menu-dialog h2{margin:0}
}
@media(min-width:900px){
  .main-content:has(#workspace:not([hidden]) #sidebar) + .site-footer{margin-left:220px}
}

.location-card summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:700;color:var(--teal)}
.live-layout{display:grid;gap:1rem;grid-template-columns:minmax(0,1fr)}
.live-map{height:clamp(250px,42vh,380px);min-height:240px;isolation:isolate;border:1px solid #91aba1;border-radius:12px;background:#e8eee9}
.live-legend{list-style:none;margin:0;padding:0;display:grid;gap:.75rem;align-content:center}
.live-legend li{display:flex;align-items:center;gap:.65rem}
.live-legend small{display:block;color:#415951}
.live-pin,.live-key{width:32px;height:32px;display:inline-grid;place-items:center;border:2px solid white;box-shadow:0 0 0 1px #394d45;color:white}
.live-pin .ui-icon,.live-key .ui-icon{width:20px;height:20px;color:white}
.live-pickup{background:#17624d;border-radius:50% 50% 50% 4px}
.live-driver{background:#754307;border-radius:6px}
.live-passenger{background:#20587d;border-radius:50%}
.live-map .leaflet-control-zoom a{font:600 13px/44px system-ui;width:62px;height:44px;line-height:44px}
.regional-map{background:#e7eee6;border-color:#afc5b9}
.live-map.regional-map .leaflet-control-zoom{border:1px solid #c6d7cf;border-radius:12px;box-shadow:0 3px 12px #0a3e4625;overflow:hidden}
.live-map.regional-map .leaflet-control-zoom a{display:grid;place-items:center;width:44px;height:44px;color:#073e46;background:#fff;border-color:#dce6e1}
.live-map.regional-map .leaflet-control-zoom a:hover{background:#edf5f1}
.live-map.regional-map .leaflet-control-zoom a.leaflet-disabled{color:#7b9089}
.regional-map .leaflet-control-scale-line{background:#ffffffdf;color:#244d43;border-color:#547268;font-weight:650}
.regional-street-icon{pointer-events:none;text-align:center}
.regional-street-label{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#354e47;font-size:11px;font-weight:700;line-height:20px;text-shadow:0 1px 1px #fff,1px 0 1px #fff,-1px 0 1px #fff,0 -1px 1px #fff}
.regional-neighborhood-label{display:-webkit-inline-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;max-width:100%;max-height:38px;padding:3px 8px;overflow:hidden;overflow-wrap:anywhere;white-space:normal;vertical-align:top;color:#073e46;background:#f7fbf5ee;border:1px solid #aec6b7;border-radius:7px;box-shadow:0 1px 4px #284a4924;font-size:12px;font-weight:800;line-height:15px}
.confirm-dialog.route-point-dialog{width:min(calc(100% - 16px),660px);max-width:none;max-height:calc(100dvh - 16px)}
.route-point-dialog .confirm-dialog-card{padding:clamp(12px,3.3vw,24px)}
.route-point-dialog #confirm-message{overflow-wrap:anywhere;color:#284a4b;font-weight:700}
.route-point-panel{display:grid;gap:9px;margin-top:9px}
.route-point-panel>.small-copy{color:#395b57}
.route-point-frame{position:relative;min-width:0}
.route-point-frame .live-map{height:clamp(190px,48dvh,410px);min-height:0;border-radius:14px}
.route-point-frame .live-map:focus-visible{outline:2px solid #247965;outline-offset:2px}
.route-point-frame .route-point-marker{pointer-events:none;color:#fff;background:#073e46;border:2px solid #fff;border-radius:14px;box-shadow:0 3px 10px #073e464a}
.route-point-marker::after{position:absolute;z-index:-1;bottom:-7px;left:calc(50% - 7px);width:14px;height:14px;transform:rotate(45deg);background:inherit;border-right:2px solid #fff;border-bottom:2px solid #fff;content:''}
.route-point-marker .ui-icon{width:23px;height:23px}
.route-point-panel.has-point .route-point-frame .route-point-marker{background:#f3b440;color:#073e46}
.route-point-summary{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px;background:#f1f6f3;border-radius:9px;padding:8px 10px}
.route-point-summary [data-position]{color:#073e46;font-weight:750}
.route-point-credit{color:#426059;line-height:1.35}
.route-point-credit a{color:#174b43}
.route-point-dialog .dialog-actions{margin-top:12px}
.route-point-dialog .dialog-actions .button{min-height:44px;white-space:normal;text-align:center}
@media(max-width:560px){.route-point-dialog .dialog-actions{grid-template-columns:minmax(78px,.8fr) minmax(0,1.2fr)}}
.location-controls .button{min-height:44px}
.location-card :focus-visible{outline:3px solid #185b92;outline-offset:2px}
@media(min-width:768px){.live-layout{grid-template-columns:minmax(0,2fr) minmax(160px,1fr)}}

.location-card [data-streets] a{display:inline-flex;align-items:center;min-height:44px;color:#185842;text-decoration:underline}

.trip-pin-controls{display:grid;gap:.6rem}
.trip-pin-controls>div{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap}
.trip-pin-controls button{min-height:44px}
.trip-pin-controls small{color:#405950}
.live-destination{background:#593c78;border-radius:4px 12px 4px 4px}

.trip-route-choice{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));align-items:end;gap:.65rem;margin:1rem 0}
.trip-route-choice select{min-height:44px}
.trip-route-estimate{background:#e7f2eb;border-radius:8px;padding:.6rem .8rem;color:#184e41}
.trip-route-estimate small{display:block}

.trip-text-destination{min-height:44px;align-items:center}

[data-route-legend]:not([hidden]){display:flex;align-items:center;gap:.5rem;margin-top:.35rem}
[data-route-legend]::before{content:"";width:1.6rem;height:4px;background:#17644c;border-radius:2px}
[data-route-legend][hidden]{display:none}

.notification-sound-controls{padding:10px 0;border-bottom:1px solid var(--line)}
.notification-sound-actions{display:flex;flex-wrap:wrap;gap:8px}
.notification-sound-actions .button{min-height:44px}
.notification-sound-actions [data-sound-icon]{display:inline-flex}
.notifications-dialog #inbox-controls{grid-template-rows:auto auto auto minmax(0,1fr)}

/* Solicitudes cercanas del chofer */
.nearby-toolbar{display:flex;flex-wrap:wrap;gap:8px}
.nearby-toolbar .button{min-height:44px}
.nearby-toolbar [aria-pressed="true"]{background:var(--teal,#073e46);color:#fff;border-color:var(--teal,#073e46)}
.nearby-list{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.nearby-card{display:flex;flex-direction:column;gap:10px;min-width:0;border-top:4px solid #167265}
.nearby-card h3{font-size:1.12rem;overflow-wrap:anywhere;margin:0}
.nearby-card p{margin:0;overflow-wrap:anywhere}
.nearby-destination{color:#234b49;font-weight:600}
.nearby-quote{margin-top:auto}
.nearby-quote summary{min-height:44px;display:flex;align-items:center;padding:10px 14px;background:#075961;color:#fff;border-radius:10px;cursor:pointer;font-weight:700;box-sizing:border-box}
.nearby-quote summary:focus-visible{outline:3px solid var(--gold,#d99a29);outline-offset:3px}
.nearby-quote fieldset{border:0;padding:14px 0 0;margin:0;min-width:0}
.nearby-quote .form-stack input{width:100%;min-height:44px;box-sizing:border-box}
.nearby-quote fieldset:disabled{opacity:.65}
.nearby-expired{border-top-color:#a2aaa6;background:#f5f7f6}
.nearby-map{height:340px;min-height:280px;border:1px solid #bacdc7;border-radius:14px;background:#f4f8f4;z-index:0}
.nearby-pin{display:flex;align-items:center;gap:4px;color:#073e46;width:max-content;max-width:180px}
.nearby-pin .ui-icon{flex-shrink:0;background:white;border-radius:50%;padding:4px;width:28px;height:28px;border:2px solid #167265}
.nearby-pin-label{background:#fff;padding:5px 8px;border-radius:8px;box-shadow:0 2px 7px #0002;font-size:12px;font-weight:700;white-space:normal;overflow-wrap:anywhere;max-width:130px}
.nearby-pin-options{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;width:100%;max-height:220px;overflow:auto}
.nearby-pin-options .button{display:block;width:100%;box-sizing:border-box;white-space:normal;word-break:normal;overflow-wrap:break-word;text-align:left;line-height:1.4;padding:10px;min-height:44px;color:#073e46}
.nearby-option-pickup,.nearby-option-destination{display:block}
.nearby-option-destination{margin-top:3px;color:#456563;font-size:.92em;font-weight:500}
.nearby-popup .leaflet-popup-content{margin:24px 12px 12px}
[data-fare-invitations]>p{margin:0}
[data-fare-invitations]>div>p{margin:0 0 6px}
.nearby-street{font-size:10px;color:#445d56;text-shadow:1px 1px 0 #fff,-1px -1px 0 #fff;white-space:nowrap;pointer-events:none}
.nearby-street-icon{pointer-events:none}
@media(max-width:420px){.nearby-map{height:300px}.nearby-toolbar .button{padding:10px 12px}.nearby-card{padding:14px}}

/* APP-BRAND-01 · Identidad de los paneles y acceso */
.workspace,.auth-shell{--teal:#073e46;--gold:#f3a900;--line:#dce5e3;--shadow:0 3px 14px #073e4609}
:is(.workspace,.auth-shell) .button{border-radius:11px;min-height:44px;font-weight:750}
:is(.workspace,.auth-shell) .button-primary{background:#073e46;color:#fff}
:is(.workspace,.auth-shell) .button-primary:hover{background:#0b5961}
:is(.workspace,.auth-shell) .button-outline{border-color:#b9cfcb;background:#fff;color:#073e46}
:is(.workspace,.auth-shell) .button-outline:hover{background:#edf4f2;border-color:#507d78}
:is(.workspace,.auth-shell) .button:focus-visible{outline:3px solid #f3a900;outline-offset:3px}
.auth-shell .auth-aside{background:#073e46}
.auth-shell .auth-icon{color:#073e46;background:#fff0cb;margin-bottom:14px}
.auth-shell .auth-card{border-top:4px solid #f3a900}
.workspace .role-nav button{border-radius:11px;min-height:44px}
.workspace .role-nav button[aria-current="page"]{background:#073e46;color:white;box-shadow:inset 0 -3px #f3a900}
#panel-content{gap:18px}
#panel-content .card{border-color:#dce5e3;box-shadow:0 3px 14px #073e4609}
#panel-content .card h3{color:#073e46}
#panel-content>.stack{gap:12px}
#panel-content>.stack>h2{font-size:21px;line-height:1.2;color:#073e46;margin:4px 0 0;letter-spacing:-.025em}
#panel-content>.stack>h2+p{margin:-6px 0 0;color:#526e70;line-height:1.5}
#panel-content .panel-heading{margin:0;gap:10px}
#panel-content .panel-heading p{margin-top:5px}
#panel-content .card-head{padding-bottom:12px;border-bottom:1px solid #e7eeec;margin-bottom:14px}
#panel-content .driver-availability-card{border-top:4px solid #f3a900}
#panel-content [data-action="toggle-availability"][data-available="false"]{background:#f3a900;color:#073e46;border-color:#e4a00a}
#panel-content [data-action="toggle-availability"][data-available="false"]:hover{background:#ffbc24}
#panel-content :is(.metric,.activity-metric){border-radius:12px;background:#f5f8f7;border-color:#dce5e3;box-shadow:none}
#panel-content :is(.metric,.activity-metric) strong{color:#073e46}
#panel-content .billing-callout{border-radius:12px}
#panel-content .field>span{color:#244d52}
#panel-content .form-stack{gap:12px}
#panel-content .empty-state{border-radius:12px}
#panel-content .nearby-card{border-top:3px solid #073e46;gap:12px}
#panel-content .nearby-card :is(h3,p){display:flex;align-items:flex-start;gap:9px;min-width:0}
#panel-content .nearby-card :is(h3,p)>.ui-icon{flex:0 0 19px;width:19px;height:19px;margin-top:2px;color:#577b78}
#panel-content .nearby-card h3>.ui-icon{color:#073e46}
#panel-content .nearby-pickup{font-size:18px;line-height:1.35;margin:0;font-weight:800}
#panel-content .nearby-destination{padding-bottom:12px;border-bottom:1px solid #e7eeec;font-size:14px;color:#244d52;line-height:1.5}
#panel-content .nearby-quote summary{background:#f3a900;color:#073e46;gap:8px;min-height:46px;justify-content:center}
#panel-content .nearby-quote summary:hover{background:#ffbc24}
#panel-content .nearby-expired{border-top-color:#a2aaa6}
#panel-content .nearby-expired .nearby-quote summary{background:#e3e9e7;color:#526966}
#panel-content .nearby-pin .ui-icon{background:#f3a900;border-color:#073e46;color:#073e46}
#panel-content .nearby-pin-label{border:1px solid #b9cfcb;color:#073e46;box-shadow:0 2px 6px #073e4620}
#panel-content .nearby-popup .leaflet-popup-content-wrapper{border:1px solid #b9cfcb;border-radius:13px}
#panel-content .nearby-pin-options .button{font-size:13px;text-align:left;background:#f4f8f6;line-height:1.45}
#panel-content .nearby-toolbar{gap:7px}
.workspace #panel-content .nearby-toolbar button[aria-pressed="true"]{
  background:var(--teal);color:#fff;border-color:var(--teal)
}
#panel-content :is(#driver-charges,.driver-documents,.driver-activity,.card:has(>form[data-form="driver-document"])){
  border-top:3px solid var(--teal)
}
#panel-content #driver-charges .billing-callout{
  background:#fff6e3;border-color:#eed4a2;border-inline-start:4px solid var(--gold)
}
@media(max-width:560px){
  #panel-content{gap:15px}
  #panel-content>.stack>h2{font-size:20px}
  #panel-content .card{padding:16px;border-radius:15px}
  #panel-content .card-head{flex-wrap:wrap;gap:9px}
  #panel-content .card-head>div{min-width:0}
  #panel-content .card-head .status-pill{white-space:normal}
  #panel-content .nearby-card{gap:10px}
  #panel-content .nearby-toolbar .button{font-size:13px;padding:9px 11px}
  #panel-content .nearby-quote .button{width:100%}
  #panel-content .nearby-pickup{font-size:17px}
}


/* PWA-PUBLISH-01 · Instalación voluntaria en superficies públicas */
.pwa-install-actions{display:grid;justify-items:start;gap:8px;margin-top:18px;min-width:0}
.pwa-install-actions[hidden]{display:none}
.pwa-install-actions .button{min-height:44px;max-width:100%;white-space:normal}
.pwa-install-actions p{margin:0;max-width:48ch;font-size:13px;line-height:1.5}
.home-hero .pwa-install-actions p{color:#e6efea}
.pwa-install-actions [data-pwa-install-status]:empty{display:none}
.workspace-mobile-actions .pwa-install-actions{margin-top:0}
.workspace-mobile-actions .pwa-install-actions p:not([data-pwa-install-status]){display:none}
#pwa-install-dialog p{white-space:pre-line;overflow-wrap:anywhere}
#pwa-install-dialog .button{min-height:44px}
@media(max-width:480px){.pwa-install-actions{justify-items:stretch}.pwa-install-actions .button{width:100%}}
/* FLEET-MAP-01: sección móvil del superusuario, con alternativa de lista. */
.superuser-fleet-section { min-width: 0; }
.superuser-fleet-section > summary { cursor: pointer; font-weight: 750; font-size: 1.15rem; min-height: 44px; padding: 8px 0; }
.superuser-fleet-section > summary .ui-icon { vertical-align: middle; margin-right: 8px; }
.fleet-map-toolbar, .fleet-map-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.fleet-map-filters button { min-height: 44px; }
.workspace #panel-content .fleet-map-filters button[aria-pressed="true"],
.workspace #panel-content .fleet-map-filters button[aria-pressed="true"]:hover,
.workspace #panel-content .fleet-map-filters button[aria-pressed="true"]:focus-visible,
.fleet-map-filters button[aria-pressed="true"] { background: #17644c; color: #fff; border-color: #17644c; }
.superuser-fleet-canvas { height: clamp(280px, 48vh, 480px); width: 100%; border: 1px solid #b8cbc2; border-radius: 14px; background: #edf3ee; z-index: 0; }
.fleet-map-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); gap: 10px; }
.fleet-map-unit { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid #ccd9d2; border-radius: 12px; min-width: 0; overflow-wrap: anywhere; }
.fleet-map-unit .status-pill { align-self: flex-start; }
.fleet-map-unit button { margin-top: auto; min-height: 44px; }
.fleet-map-pin { display: flex; align-items: center; gap: 4px; padding: 5px 7px; background: #fff; border: 2px solid #17644c; border-radius: 10px; color: #134e3b; font-weight: 750; width: max-content; max-width: 135px; overflow: hidden; }
.fleet-map-pin span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fleet-map-requests { border-top: 1px solid #ccd9d2; padding-top: 16px; }
.fleet-map-request { padding: 12px; border: 1px solid #ccd9d2; border-radius: 12px; overflow-wrap: anywhere; }
.fleet-map-request button { min-height: 44px; }
@media (max-width: 480px) {
  .fleet-map-toolbar > button { flex: 1 1 140px; }
  .fleet-map-filters > button { flex: 1 1 135px; justify-content: flex-start; font-size: .8rem; }
  .superuser-fleet-canvas { height: 310px; }
}

/* Diseño móvil compartido de VaTaxi. Los colores de estado conservan su significado. */
:root {
  --design-petrol: #0a3b43;
  --design-deep: #082f35;
  --design-amber: #ffbf48;
  --design-ink: #102d33;
  --design-paper: #f9f8f3;
  --design-soft: #e8f2ef;
  --design-line: #dce5e1;
  --design-focus: #06746c;
}
body { background: var(--design-paper); }
.topbar { min-height: 62px; height: auto; background: var(--design-deep); color: #fff; border-bottom-color: #ffffff20; }
.topbar .brand-wordmark { width: auto; height: auto; min-height: 54px; gap: 7px; flex-shrink: 0; color: #fff; font-size: 25px; font-weight: 850; letter-spacing: -.06em; text-decoration: none; }
.topbar .brand-wordmark img { width: 42px; height: 42px; aspect-ratio: 1; object-fit: contain; border-radius: 9px; }
.brand-wordmark b { color: var(--design-amber); }
.topbar .button-quiet { background: #ffffff0e; color: #fff; border: 1px solid #ffffff49; min-height: 44px; }
.topbar .button-quiet:hover { background: #ffffff24; color: #fff; }
.topbar .region-pill { background: #164d50; color: #f0faf7; }
.topbar .account-chip { background: #164d50; color: #f0faf7; }
.topbar :focus-visible, .design-heading :focus-visible { outline-color: var(--design-amber); }
.design-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; min-width:0; padding:clamp(16px, 3.2vw, 30px); border-radius:16px; background:linear-gradient(112deg,var(--design-petrol),#145052); color:#fff; }
.design-heading > div { min-width:0; }
.design-heading :is(h1,h2) { color:#fff; margin:0; font-size:clamp(25px,5vw,34px); line-height:1.1; letter-spacing:-.045em; }
.design-heading p:not(.eyebrow) { color:#dbede9; margin:6px 0 0; }
.design-heading .eyebrow { color:#ffe0a1; margin:0 0 4px; }
.design-heading-icon, .design-heading .auth-icon { flex:0 0 auto; display:grid; place-items:center; width:44px; height:44px; margin:0; border:1px solid #ffffff4a; border-radius:13px; background:#ffffff12; color:var(--design-amber); }
.design-heading-icon .ui-icon, .design-heading .auth-icon .ui-icon { width:22px; height:22px; }
#login-card { --auth-pad: clamp(17px, 4vw, 38px); border-top:0; }
.auth-heading { margin:calc(-1 * var(--auth-pad)) calc(-1 * var(--auth-pad)) 19px; border-radius:17px 17px 0 0; }
.auth-heading .auth-icon { order:2; }
.auth-heading :is(.eyebrow, h1, .subcopy) { grid-column:1; }
.auth-heading { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:0 12px; }
.auth-heading .auth-icon { grid-column:2; grid-row:1 / span 3; }
.auth-heading h1 { margin:0; }
.auth-shell .auth-brandline { display:none; }
:is(.workspace,.auth-shell,.public-main) .button-primary { min-height:48px; border:1px solid #db9c2d; background:var(--design-amber); color:var(--design-ink); }
:is(.workspace,.auth-shell,.public-main) .button-primary:hover { background:#ffcc66; color:var(--design-ink); }
:is(.workspace,.auth-shell,.public-main) :is(.button-primary,.button-outline){ border-radius:12px; }
:is(.workspace,.auth-shell,.public-main) :is(input,select,textarea):not([type="checkbox"],[type="radio"],[type="hidden"]){ min-width:0; max-width:100%; font-size:16px; border-radius:10px; }
:is(.workspace,.auth-shell,.public-main) :is(input,select,textarea):focus-visible { outline:3px solid var(--design-focus); outline-offset:2px; }
#panel-content .design-heading { margin:0; }
#panel-content .design-heading :is(h1,h2) { color:#fff; }
#panel-content .design-heading p:not(.eyebrow) { color:#dbede9; }
#panel-content .design-heading h2 { margin:0; }
#panel-content .card { border-color:var(--design-line); }
#panel-content .ride-mode { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; padding:4px; border-radius:13px; background:var(--design-soft); }
.ride-mode button { display:flex; align-items:center; justify-content:center; gap:7px; min-height:44px; min-width:0; padding:6px; border:1px solid transparent; border-radius:10px; font:inherit; font-weight:750; color:var(--design-petrol); background:transparent; cursor:pointer; }
.ride-mode button[aria-pressed="true"] { background:#fff; border-color:var(--design-line); box-shadow:0 2px 5px #183c3920; }
.ride-mode button:focus-visible { outline:3px solid var(--design-focus); outline-offset:2px; }
.ride-addresses { display:grid; gap:10px; }
#trip-request-form .fare-address { min-width:0; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px; border:1px solid var(--design-line); border-radius:14px; padding:10px; margin:0; box-shadow:0 2px 8px #073e4609; }
.fare-address legend { display:inline-flex; align-items:center; gap:6px; font-weight:750; color:var(--design-petrol); padding:1px 5px; }
.fare-address legend .ui-icon { box-sizing:content-box; padding:5px; border-radius:8px; background:var(--design-soft); }
.fare-address[data-fare-address="destination"] legend .ui-icon { background:#fff2d9; color:#744903; }
.fare-address label:last-child { grid-column:1/-1; }
.fare-address label:has([type="checkbox"]) { align-self:end; display:flex; align-items:center; gap:7px; min-height:44px; }
#trip-request-form > .form-row:has([name="passengerCount"]) { grid-template-columns:minmax(0,1fr); }
.fare-comparison-header { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:6px; }
.fare-comparison-header strong { font-size:1.4rem; color:var(--design-petrol); }
.fare-comparison-header span { display:inline-flex; align-items:center; gap:5px; color:#466064; font-size:.85rem; }
.reputation-section { scroll-margin-top: 84px; }
.reputation-section > summary { cursor:pointer; min-height:44px; padding-block:8px; font-weight:750; }
.reputation-section > summary .ui-icon { vertical-align:middle; margin-inline-end:5px; }
.reputation-filters { align-items:end; }
.reputation-roster-row { display:grid; grid-template-columns:1.25fr 1fr .75fr 1.35fr; align-items:center; gap:12px; padding:12px; border:1px solid var(--line); border-radius:12px; }
.reputation-roster-row > div { min-width:0; display:grid; gap:4px; justify-items:start; overflow-wrap:anywhere; }
.reputation-case-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; align-items:start; }
.reputation-case-grid > section { min-width:0; }
.reputation-evidence { padding-inline-start:18px; overflow-wrap:anywhere; }
.reputation-evidence li + li { margin-top:10px; }
@media (max-width:650px) {
  .reputation-roster-row { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .reputation-case-grid { grid-template-columns:minmax(0,1fr); }
}
.fare-comparison-card .button { justify-self:start; min-height:44px; }
#panel-content .nearby-card { border-top:1px solid var(--design-line); }
#panel-content .nearby-meta { display:flex; flex-wrap:wrap; gap:5px 10px; }
#panel-content .nearby-meta .small-copy { margin:0; }
#panel-content .nearby-quote summary { background:#fff; color:var(--design-petrol); border:1px solid #82aaa3; min-height:44px; border-radius:10px; }
#panel-content .nearby-quote summary:hover { background:var(--design-soft); }
#panel-content .nearby-card.nearby-expired .nearby-quote summary { background:#e7ede9; color:#526966; }
#panel-content .nearby-meta p:empty { display:none; }
#panel-content .superuser-fleet-section { border-inline-start:3px solid #17644c; }

.passenger-invitation-section { min-width:0; }
.passenger-invitation-section .stack { min-width:0; grid-template-columns:minmax(0,1fr); }
.passenger-invitation-section > summary { cursor:pointer; min-height:44px; padding:8px 0; font-weight:750; font-size:1.15rem; }
.passenger-invitation-section > summary .ui-icon { vertical-align:middle; margin-inline-end:8px; }
.invitation-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }
.invitation-metrics .metric { min-width:0; overflow-wrap:anywhere; }
.invitation-ranking { width:100%; min-width:0; border-collapse:collapse; table-layout:fixed; font-size:.875rem; }
.invitation-ranking :is(th,td) { padding:8px 3px; text-align:center; border-bottom:1px solid #dce5e3; overflow-wrap:anywhere; }
.invitation-ranking tr > :first-child { width:34%; text-align:start; }
.invitation-ranking thead th { color:#335c60; }
.passenger-invitation-item { flex-wrap:wrap; }
.passenger-invitation-item .list-main { min-width:0; overflow-wrap:anywhere; }
.passenger-invitation-section .list-actions { min-width:0; flex-wrap:wrap; }
.passenger-invitation-section .list-actions .button { min-width:0; white-space:normal; }
.passenger-invitation-item [data-invite-status="pending"] { background:#fff2cf; color:#69480a; }
.passenger-invitation-item [data-invite-status="cancelled"] { background:#fcece9; color:#7c2c24; }
@media (max-width:560px) {
  .topbar .brand-wordmark img { width:34px; height:34px; }
  .topbar .brand-wordmark { font-size:22px; }
  .auth-heading { grid-template-columns:minmax(0,1fr) auto; }
  #trip-request-form .button[type="submit"] { min-height:52px; }
  #panel-content .nearby-card { gap:8px; }
  #panel-content .nearby-pickup { font-size:16px; }
}
@media (max-width:340px) { #trip-request-form .fare-address { grid-template-columns:minmax(0,1fr); } }

#panel-content .owner-directory { padding:0; overflow:hidden; }
.owner-directory > summary { display:flex; align-items:center; gap:12px; min-height:64px; padding:15px 20px; cursor:pointer; font-size:1.08rem; font-weight:750; color:white; background:var(--teal); }
.owner-directory > summary::-webkit-details-marker { display:none; }
.owner-directory > summary .ui-icon:first-child { color:#ffd274; }
.owner-directory > summary .ui-icon:last-child { margin-inline-start:auto; flex:none; }
.owner-directory[open] > summary .ui-icon:last-child { transform:rotate(90deg); }
.owner-directory [data-owner-directory] { padding:clamp(12px,3vw,24px); }
.dir-profiles { display:inline-flex; gap:4px; border-radius:12px; padding:4px; background:var(--soft); }
.dir-profiles button { display:flex; align-items:center; justify-content:center; gap:7px; border:0; border-radius:9px; padding:7px 14px; min-height:44px; background:transparent; color:var(--teal); font:inherit; font-weight:650; cursor:pointer; }
.dir-profiles button[aria-pressed="true"] { color:white; background:var(--teal); }
.dir-search { display:flex; align-items:end; gap:8px; margin-block:14px; }
.dir-search .field { flex:1; min-width:0; }
.dir-search .button { min-height:44px; }
.dir-result { display:grid; gap:12px; }
.dir-result :is(h3,h4) { margin:0; overflow-wrap:anywhere; }
.dir-count { font-size:.82rem; font-weight:600; color:var(--muted); padding-inline:5px; }
.dir-list,.dir-records { list-style:none; margin:0; padding:0; }
.dir-person { display:grid; grid-template-columns:minmax(0,1fr) auto 20px; width:100%; align-items:center; gap:10px; min-height:58px; padding:11px 3px; border:0; border-bottom:1px solid var(--line); background:transparent; font:inherit; text-align:start; color:var(--ink); cursor:pointer; }
.dir-person:hover { background:var(--soft); }
.dir-person strong,.dir-records strong { display:block; overflow-wrap:anywhere; }
.dir-person small,.dir-records small { display:block; color:var(--muted); }
.dir-state { font-size:.82rem; font-weight:650; color:#305f54; }
.dir-person .ui-icon { color:var(--muted); }
.dir-pages { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; margin-block-start:8px; }
.dir-pages span { font-size:.85rem; color:var(--muted); }
.dir-back { justify-self:start; }
.dir-access { padding:clamp(12px,2.3vw,20px); border:1px solid var(--line); border-radius:16px; background:#f6f8f5; }
.dir-access-heading { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; }
.dir-access-body { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-block:12px; }
.dir-channel { display:grid; grid-template-rows:auto 1fr auto; gap:8px; min-width:0; padding:14px; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.dir-access-facts { margin:0; }
.dir-access-facts dt { font-weight:750; }
.dir-access-facts dd { margin:0; overflow-wrap:anywhere; }
.dir-access-facts dd:first-of-type { margin-top:3px; }
.dir-access-actions { display:grid; justify-items:start; align-self:start; gap:5px; }
.dir-access-actions .button { min-height:44px; white-space:normal; }
.dir-manual-phone { width:100%; min-width:0; max-width:430px; }
.dir-manual-phone :is(select,textarea) { width:100%; min-width:0; box-sizing:border-box; }
.dir-access-actions .button:disabled { background:#edf0ed; border-color:var(--line); color:#49615e; opacity:1; cursor:default; }
.dir-access p { margin:4px 0 0; }
.dir-contact { display:grid; gap:10px; border-top:1px solid var(--line); padding-block-start:10px; margin-block-start:12px; }
.dir-contact summary { min-height:44px; padding-block:10px; font-weight:700; cursor:pointer; }
.dir-contact form { margin-block-start:8px; }
.dir-registration-correction > summary { display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:var(--surface);color:var(--teal); }
.registration-owner-check { display:flex;align-items:flex-start;gap:10px;min-height:44px;line-height:1.5; }
.registration-owner-check input { flex:none;margin-top:5px; }
.dir-contact .button { min-height:44px; white-space:normal; }
#contact-changes-link { display:inline-block; margin-block-start:6px; }
#contact-changes-link[hidden] { display:none; }
.dir-group { padding-block-start:12px; border-top:1px solid var(--line); }
.dir-group > p { margin:4px 0; }
.dir-facts { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(118px,100%),1fr)); gap:6px 14px; margin:3px 0; }
.dir-facts div { min-width:0; }
.dir-facts dt { font-size:.8rem; color:var(--muted); }
.dir-facts dd { margin:0; font-weight:650; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.dir-records li { padding-block:10px; }
.dir-records li + li { border-top:1px solid var(--line); }
.owner-directory [role="status"]:empty { display:none; }
.owner-workspace #workspace-notice { display:none; }
.owner-workspace .welcome-row { margin-block-end:15px; }
.owner-workspace .welcome-row h1 { font-size:clamp(1.7rem,3.5vw,2.65rem); }
.owner-home { display:grid; gap:16px; min-width:0; }
.owner-home :is(h2,p) { margin:0; }
.owner-home h2 { font-size:1.18rem; letter-spacing:-.025em; }
.owner-home p { font-size:.91rem; line-height:1.5; }
.owner-cards, .owner-tools-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.owner-feature { display:grid; grid-template-rows:auto auto 1fr auto; justify-items:start; gap:7px; min-width:0; padding:clamp(13px,2.1vw,23px); border:1px solid var(--line); border-radius:17px; background:var(--surface); }
.owner-feature-main { background:var(--design-petrol); border-color:var(--design-petrol); color:#fff; }
.owner-feature-main p { color:#d2ebe7; }
.owner-feature .button { margin-top:4px; justify-content:flex-start; white-space:normal; text-align:start; }
.owner-tool-icon { display:inline-grid; place-items:center; width:36px; height:36px; border-radius:10px; background:var(--design-soft); color:var(--design-petrol); }
.owner-feature-main .owner-tool-icon { background:#21565b; color:var(--design-amber); }
.owner-tools { display:grid; gap:7px; }
.owner-tools-grid { column-gap:18px; row-gap:0; }
.owner-tool { display:flex; align-items:center; text-align:start; gap:9px; min-height:44px; padding:7px 3px; border:0; border-bottom:1px solid var(--line); background:transparent; color:var(--design-petrol); font:inherit; font-weight:680; cursor:pointer; }
.owner-tool span { flex:1; }
.owner-tool .ui-icon { width:17px; height:17px; }
.owner-tool:hover, .owner-tool[aria-expanded="true"] { background:var(--design-soft); }
.owner-tool:focus-visible, .owner-home summary:focus-visible { outline:3px solid var(--design-focus); outline-offset:2px; }
.owner-tool-panels { display:grid; gap:12px; }
.owner-agenda:not(:empty) { padding:12px 15px; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.owner-agenda section { gap:4px; }
.owner-agenda p { color:var(--muted); }
.owner-location-notice { border-bottom:1px solid var(--line); color:var(--muted); }
.owner-location-notice summary { min-height:44px; padding:10px 3px; color:var(--design-petrol); cursor:pointer; }
.owner-location-notice p { padding:0 3px 10px; }
.account-support-link { margin-block:10px 0; }
.account-support-link .button { min-height:44px; }
.auth-join-card{display:grid;gap:9px;padding:16px;margin:16px 0;border:1px solid #ccdeda;border-radius:12px;background:#edf4f2;color:#073e46}
.auth-join-card strong{font-size:1rem}.auth-join-card p{font-size:.85rem;line-height:1.5;margin:0;color:#446366}
.auth-join-card .auth-join-button{justify-content:center;background:#073e46;border:1px solid #073e46;color:#fff;min-height:48px;padding:12px 14px;text-align:center;white-space:normal;line-height:1.35;font-size:.93rem}
.auth-join-button .ui-icon{flex-shrink:0;color:#ffbe3f}.auth-join-button:hover{background:#12535c;border-color:#12535c;color:#fff}
@media(max-width:560px){.auth-join-card{padding:14px}.auth-join-card .auth-join-button{font-size:.88rem}}
.owner-support-filter { display:flex; gap:10px; align-items:end; flex-wrap:wrap; margin-block-end:12px; }
.owner-support-ticket { display:grid; gap:8px; padding:12px 0; border-block-end:1px solid var(--line); overflow-wrap:anywhere; }
.owner-support-ticket .list-actions { flex-wrap:wrap; }
.owner-support-message { white-space:pre-wrap; }
#account-support-result h2 { margin-top:0; }
.owner-home summary, .owner-home .dir-search input, .owner-team-heading { scroll-margin-block:90px 16px; }
@media (min-width:700px) and (max-width:899px) {
  .owner-workspace #sidebar { display:block; padding:6px 0 14px; }
  .owner-workspace .workspace-mobile-actions, .owner-workspace #sidebar .eyebrow { display:none; }
  .owner-workspace #sidebar .role-nav { display:flex; flex-wrap:wrap; }
  .owner-workspace #sidebar .role-nav button { padding-inline:10px; }
  .owner-workspace #sidebar .applications-link { display:inline-flex; margin-block-start:5px; }
}
@media (max-width:560px) {
  .owner-cards, .owner-tools-grid { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:560px) {
  .dir-access-body { grid-template-columns:minmax(0,1fr); gap:8px; }
  .dir-profiles { display:flex; }.dir-profiles button { flex:1; padding-inline:6px; }
  .dir-person { grid-template-columns:minmax(0,1fr) 20px; gap:2px 8px; }
  .dir-person .dir-state { grid-column:1; }.dir-person .ui-icon { grid-column:2;grid-row:1 / 3; }
}
/* Ficha de pasajeros: navegación ligera y formularios de lectura cómoda. */
.dir-profile-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.dir-passenger-profile { min-width:0; }
.dir-profile-tabs { display:flex; border-bottom:1px solid var(--line); gap:20px; }
.dir-profile-tabs [role="tab"] { display:flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:10px 2px; border:0; border-bottom:3px solid transparent; border-radius:0; background:transparent; color:var(--muted); font:inherit; font-weight:650; cursor:pointer; }
.dir-profile-tabs [aria-selected="true"] { border-bottom-color:var(--teal); color:var(--teal); }
.dir-profile-tabs [role="tab"]:focus-visible,.dir-edit-contact:focus-visible { outline:3px solid var(--design-focus); outline-offset:2px; }
.dir-profile-tabs .ui-icon { width:18px; height:18px; flex:none; }
.dir-passenger-profile [role="tabpanel"] { padding-block:22px 6px; }
.dir-passenger-profile [hidden] { display:none !important; }
.dir-personal-data { display:grid; grid-template-columns:minmax(0,360px) minmax(0,220px); gap:20px; margin:0 0 18px; }
.dir-personal-data dt { color:var(--muted); font-size:.86rem; margin-bottom:5px; }
.dir-personal-data dd { margin:0; font-weight:650; overflow-wrap:anywhere; }
.dir-contact-summary { display:flex; align-items:center; gap:8px 20px; flex-wrap:wrap; color:var(--muted); font-size:.9rem; }
.dir-edit-contact { justify-self:start; padding:8px 0; min-height:44px; border:0; background:transparent; color:var(--teal); text-decoration:underline; text-underline-offset:4px; font:inherit; font-weight:650; cursor:pointer; }
.dir-activity { margin-top:16px; border-top:1px solid var(--line); }
.dir-activity>summary { min-height:44px; padding:13px 0; font-weight:650; cursor:pointer; }
.dir-activity .dir-facts { max-width:820px; margin-block:10px 18px; }
.dir-passenger-profile .dir-access { border:0; padding:0; background:transparent; border-radius:0; }
.dir-passenger-profile .dir-access-body { display:block; margin:0; max-width:960px; }
.dir-passenger-profile .dir-channel { display:grid; grid-template-columns:36px minmax(180px,1fr) minmax(180px,300px); grid-template-rows:auto; align-items:start; column-gap:14px; row-gap:0; padding:16px 0; border:0; border-bottom:1px solid var(--line); border-radius:0; }
.dir-passenger-profile .dir-channel:first-child { padding-top:0; }
.dir-passenger-profile .dir-channel .dir-edit-contact { grid-column:2; }
.dir-passenger-profile .dir-access-actions { grid-column:3; grid-row:1 / span 2; }
.dir-passenger-profile .dir-access-actions .button { padding:10px 14px; font-size:.9rem; }
.dir-passenger-profile .dir-access:has([data-dir-editor][open]) .dir-access-body { display:none; }
.dir-passenger-profile .dir-contact { max-width:600px; border:0; margin:0; padding:0; }
.dir-passenger-profile .dir-contact>summary { font-size:1rem; }
.dir-passenger-profile .dir-registration-correction>summary { border:0; padding:10px 0; background:transparent; }
.dir-passenger-profile .dir-contact form { width:100%; max-width:560px; }
.dir-passenger-profile .dir-contact .field { width:100%; max-width:430px; }
.dir-passenger-profile .dir-contact .field:has(textarea) { max-width:560px; }
.dir-passenger-profile .dir-contact .button { justify-self:start; width:auto; }
.dir-passenger-profile .dir-contact :is(input:not([type="checkbox"]),select,textarea) { width:100%; box-sizing:border-box; }
.dir-passenger-profile .dir-contact .registration-owner-check { max-width:560px; }
@media(max-width:800px) {
  .dir-profile-tabs { gap:12px; }
  .dir-profile-tabs [role="tab"] { font-size:.9rem; }
  .dir-passenger-profile .dir-channel { grid-template-columns:36px minmax(0,1fr); }
  .dir-passenger-profile .dir-access-actions { grid-column:2; grid-row:auto; margin-top:8px; }
}
@media(max-width:560px) {
  .dir-profile-tabs { gap:6px; }
  .dir-profile-tabs [role="tab"] { flex:1; flex-direction:column; gap:5px; font-size:.78rem; line-height:1.25; padding:9px 2px; }
  .dir-personal-data { grid-template-columns:1fr; gap:16px; }
  .dir-passenger-profile [role="tabpanel"] { padding-top:18px; }
  .dir-passenger-profile .dir-contact .field { max-width:100%; }
}
/* Equipo: reutilizar cuentas existentes sin recapturar datos. */
.team-account-picker { display:grid; grid-template-columns: minmax(0,360px) minmax(0,520px); gap:14px; }
.team-account-picker .field { min-width:0; }
.team-account-picker :is(input,select) { width:100%; min-width:0; }
.team-existing [hidden] { display:none !important; }
.team-existing .staff-account { margin-top:0; }
.team-new-account>summary { min-height:44px; padding:8px 0; font-weight:650; color:var(--teal); cursor:pointer; }
.team-new-account .form-row { max-width:890px; }
.team-new-account .field { max-width:430px; }
@media(max-width:760px) { .team-account-picker { grid-template-columns:minmax(0,1fr); } }
.owner-live { border-bottom:1px solid var(--line); padding-bottom:16px; }
.owner-live .card-head { gap:12px; flex-wrap:wrap; }
.owner-live h3 { font-size:.88rem; margin:14px 0 6px; }
.owner-live-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:0 0 10px; }
.owner-live-metrics div { min-width:0; }
.owner-live-metrics dt { font-size:.82rem; color:var(--muted); }
.owner-live-metrics dd { margin:2px 0 0; font-size:1.35rem; font-weight:650; font-variant-numeric:tabular-nums; }
.owner-live .small-copy { margin-top:5px; }
@media(max-width:560px) { .owner-live-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } }
/* Resumen ejecutivo: indicadores, gráficas y presencia autorizada. */
.owner-live.exec-overview { display:grid;gap:18px;padding-bottom:22px;min-width:0; }
.exec-heading { display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px; }
.exec-heading h2 { font-size:clamp(1.3rem,2.5vw,1.8rem);letter-spacing:-.04em; }
.owner-home .exec-eyebrow { font-size:.72rem;letter-spacing:.13em;font-weight:700;color:var(--muted);margin-bottom:4px; }
.owner-home .exec-heading>div>p:last-child { color:var(--muted);font-size:.9rem;margin-top:5px; }
.exec-metrics { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px; }
.exec-stat { background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:18px;min-width:0; }
.exec-stat>div { display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.87rem; }
.exec-stat .ui-icon { opacity:.8; }
.exec-stat>strong { display:block;font-size:2.25rem;font-weight:750;letter-spacing:-.06em;line-height:1.12;margin:13px 0 9px;font-variant-numeric:tabular-nums; }
.exec-stat>small { font-size:.78rem;color:var(--muted); }
.exec-stat-main { background:var(--teal);border-color:var(--teal);color:white; }
.exec-stat-main>small { color:#c4ddd5; }
.exec-stat-attention { background:#fff3d7;border-color:#f8e4ae;color:#815b16; }
.exec-stat-attention>small { color:#815b16; }
.exec-chart-grid { display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:15px; }
.exec-panel { background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:18px;min-width:0; }
.exec-panel-heading { display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px;flex-wrap:wrap; }
.owner-live .exec-panel h3 { font-size:1rem;margin:0; }
.owner-home .exec-panel-heading p { font-size:.8rem;color:var(--muted);margin-top:4px; }
.exec-tag { border-radius:7px;background:var(--soft);padding:5px 8px;font-size:.75rem;white-space:nowrap; }
.exec-chart { width:100%;min-width:0;height:225px; }
.exec-chart svg { display:block;width:100%;height:225px;overflow:visible; }
.exec-chart text { fill:var(--muted);font:11px Arial,sans-serif; }
.exec-chart-gridline { stroke:var(--line);stroke-width:1; }
.exec-line-requested { stroke:#0b6862;stroke-width:2.5;stroke-linejoin:round; }
.exec-line-completed { stroke:#ad7616;stroke-width:2.5;stroke-dasharray:6 4;stroke-linejoin:round; }
.exec-line-requested-point { fill:#0b6862; }
.exec-line-completed-point { fill:#ad7616; }
.exec-chart-legend { display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:10px; }
.exec-chart-legend>span { display:inline-flex;align-items:center;gap:6px;font-size:.8rem;color:var(--muted); }
.exec-chart-legend strong { color:var(--ink);font-weight:650;font-variant-numeric:tabular-nums; }
.exec-swatch { width:18px;height:3px; }
.exec-requested { background:#0b6862; }
.exec-completed { background:repeating-linear-gradient(to right,#ad7616 0,#ad7616 5px,transparent 5px,transparent 8px); }
.exec-hour-details { margin-top:12px;font-size:.8rem; }
.exec-hour-details summary { min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--teal);text-decoration:underline;text-underline-offset:4px; }
.exec-hour-details table { width:100%;border-collapse:collapse;font-size:.8rem; }
.exec-hour-details :is(th,td) { padding:7px;text-align:left;border-bottom:1px solid var(--line); }
.exec-hour-details td:not(:first-child),.exec-hour-details th:not(:first-child) { text-align:right;font-variant-numeric:tabular-nums; }
.exec-fleet-number>strong { display:block;font-size:2.6rem;line-height:1.1;font-weight:750;letter-spacing:-.07em;font-variant-numeric:tabular-nums; }
.exec-fleet-number>span { display:block;color:var(--muted);font-size:.82rem;margin-top:6px; }
.exec-fleet-track { display:flex;gap:3px;height:11px;background:#e5ece8;border-radius:5px;overflow:hidden;margin:20px 0; }
.exec-free { background:#26786b; }
.exec-occupied { background:#dca237; }
.exec-location { background:#a8bdb6; }
.exec-fleet-list { display:grid;gap:11px;margin:0; }
.exec-fleet-list>div { display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:.82rem; }
.exec-fleet-list dt { display:flex;align-items:center;gap:7px;color:var(--muted); }
.exec-fleet-list dd { margin:0;font-weight:650;font-variant-numeric:tabular-nums; }
.exec-dot { width:7px;height:7px;border-radius:2px;flex:none; }
.exec-text-action { background:transparent;border:0;color:var(--teal);font:inherit;display:flex;align-items:center;gap:8px;min-height:44px;padding:7px 0;cursor:pointer;text-decoration:underline;text-underline-offset:4px; }
.exec-fleet-list+.exec-text-action { margin-top:14px; }
.exec-priority { display:flex;gap:12px;align-items:center;width:100%;padding:13px 0;border:0;border-top:1px solid var(--line);background:transparent;color:var(--ink);font:inherit;text-align:left;cursor:pointer; }
.exec-priority>span:nth-child(2) { flex:1;min-width:0; }
.exec-priority strong { display:block;font-size:.9rem;font-weight:650; }
.exec-priority small { display:block;font-size:.8rem;color:var(--muted);margin-top:3px; }
.exec-priority-icon { display:grid;place-items:center;flex:none;width:35px;height:35px;border-radius:9px;background:var(--soft);color:var(--teal); }
.exec-priority-amber { background:#fff1d2;color:#8a6018; }
.exec-online-total { display:inline-flex;align-items:center;gap:6px;font-size:.82rem; }
.exec-online-total>span:first-child { width:7px;height:7px;border-radius:50%;background:#328669; }
.exec-online-counts { display:flex;gap:24px;flex-wrap:wrap;margin:0 0 16px; }
.exec-online-counts>div { display:flex;align-items:center;gap:8px; }
.exec-online-counts dt { color:var(--muted);font-size:.82rem; }
.exec-online-counts dd { margin:0;font-size:1.15rem;font-weight:650;font-variant-numeric:tabular-nums; }
.exec-online-tools { display:grid;grid-template-columns:minmax(0,360px) minmax(0,230px);gap:12px;margin-bottom:8px; }
.exec-online-tools .field { min-width:0; }
.exec-online-tools :is(input,select) { width:100%;min-width:0; }
.exec-person-list { padding:0;margin:0;list-style:none; }
.exec-person-list li { display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line); }
.exec-person-avatar { display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:var(--soft);color:var(--teal);flex:none; }
.exec-person-main { flex:1;min-width:0;overflow-wrap:anywhere; }
.exec-person-main strong { display:block;font-size:.92rem;font-weight:650; }
.exec-person-main span,.exec-person-main small { display:block;color:var(--muted);font-size:.79rem;margin-top:3px; }
.exec-person-name,.exec-person-profile { border:0;background:transparent;color:var(--teal);font:inherit;cursor:pointer;text-align:left; }
.exec-person-name { display:inline-flex;align-items:center;gap:5px;padding:6px 0;font-size:.92rem;font-weight:650;min-height:44px; }
.exec-person-name .ui-icon { width:15px;height:15px;flex:none; }
.exec-person-name:hover,.exec-person-profile:hover { text-decoration:underline; }
.exec-person-main .exec-person-presence { color:#246c53; }
.exec-person-profiles { display:flex;flex-wrap:wrap;gap:10px; }
.exec-person-profile { display:inline-flex;align-items:center;gap:3px;padding:8px 0;font-size:.78rem;min-height:44px; }
.exec-person-profile .ui-icon { width:13px;height:13px; }
.exec-invite-open { margin-top:9px; }
.exec-invite { width:100%;max-width:680px; }
.exec-invite-choices { border:0;padding:0;margin:12px 0;min-width:0; }
.exec-invite-choices legend { font-size:.83rem;font-weight:600;margin-bottom:8px; }
.exec-invite-choice { display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid var(--line);border-radius:10px;margin-bottom:8px; }
.exec-invite-choice:has(input:checked) { background:var(--soft);border-color:var(--teal); }
.exec-invite-choice input { width:18px;height:18px;flex:none;margin-top:4px;accent-color:var(--teal); }
.exec-invite-choice span { min-width:0;overflow-wrap:anywhere; }
.exec-invite-choice strong { display:block;font-size:.9rem; }
.exec-invite-choice small { color:var(--muted);font-size:.78rem; }
.exec-person-seen { font-size:.76rem;color:var(--muted);text-align:right; }
.exec-online-pages { display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:12px; }
.exec-online-pages>span { font-size:.8rem;color:var(--muted); }
.owner-home .exec-note,.owner-home .exec-status { color:var(--muted);font-size:.78rem;line-height:1.5; }
.owner-home .exec-note { margin-top:13px; }
.owner-home .exec-empty { font-size:.86rem;color:var(--muted);padding:12px 0;margin:0; }
.exec-stale .exec-status { color:#8b5b0d; }
.owner-home:has(.exec-overview) .owner-feature { padding:15px;gap:5px; }
.owner-home:has(.exec-overview) .owner-feature h2 { font-size:1rem; }
.owner-home:has(.exec-overview) .owner-feature p { font-size:.82rem; }
.owner-home:has(.exec-overview) .owner-feature .owner-tool-icon { width:30px;height:30px; }
@media(max-width:760px) { .exec-chart-grid { grid-template-columns:minmax(0,1fr); }.exec-heading .button { align-self:start; } }
@media(max-width:560px) {
  .exec-metrics { gap:7px; }.exec-stat { padding:13px 9px;border-radius:12px; }.exec-stat>div { font-size:.76rem;min-height:37px; }.exec-stat>div>.ui-icon { display:none; }.exec-stat>strong { font-size:1.85rem;margin-block:8px; }.exec-stat>small { font-size:.72rem; }
  .exec-panel { padding:14px;border-radius:13px; }.exec-online-tools { grid-template-columns:minmax(0,1fr); }.exec-person-list li { flex-wrap:wrap;gap:9px; }.exec-person-seen { width:100%;padding-left:44px;text-align:left; }.exec-person-seen br { display:none; }.exec-person-main { min-width:calc(100% - 50px); }
  .exec-online-counts { gap:16px; }.owner-live.exec-overview { gap:14px; }
}
.moto-panel{display:grid;gap:20px;min-width:0;max-width:1120px;width:100%;margin-inline:auto}
.moto-panel[hidden]{display:none}
.self-profile{display:grid;gap:18px;max-width:820px;width:100%;margin-inline:auto;min-width:0}
.self-profile[hidden]{display:none}
.my-services{max-width:720px}
.my-services.owner-services{max-width:1100px}
.nav-area-label{font-size:.65rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);padding:16px 12px 3px}
.nav-area-label:first-child{padding-top:4px}
.nav-by-areas button{min-height:42px}
[data-owner-area-view][hidden]{display:none!important}
.owner-passengers{display:grid;gap:18px;min-width:0}
.owner-passengers-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.owner-passengers-heading h1{font-size:clamp(1.6rem,3vw,2rem);margin:4px 0}
.owner-passengers-content{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:20px;min-width:0}
.owner-passengers-content .dir-search{max-width:620px}
.owner-passengers-content .dir-search input{max-width:360px}
.owner-passengers-content .dir-profiles[hidden]{display:none}
.dir-invited-by{padding:16px;margin:16px 0;background:var(--design-soft);border-radius:10px}
.dir-invited-by h4{font-size:.85rem;margin:0 0 6px;color:var(--muted)}
.dir-invited-by .dir-facts{margin-top:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.owner-passengers .dir-person{padding-block:14px}
@media(min-width:700px) and (max-width:899px){.owner-workspace #sidebar .nav-by-areas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.owner-workspace #sidebar .nav-by-areas .nav-area-label{grid-column:1/-1;padding-block-start:9px}}
@media(max-width:560px){.owner-passengers{gap:12px}.owner-passengers-heading .button{font-size:.82rem}.owner-passengers-content{padding:14px}.dir-invited-by .dir-facts{grid-template-columns:1fr}.owner-passengers-content .dir-search input{max-width:100%}}
.owner-services-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}
.owner-services-heading h1{font-size:clamp(1.5rem,2.5vw,2rem);margin:4px 0}
.owner-services-heading p{margin:4px 0}
.owner-services-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;align-items:start}
.owner-services-list,.owner-services-detail{border:1px solid var(--line);border-radius:16px;background:white;min-width:0;overflow:hidden}
.owner-services-list>header{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:16px;border-bottom:1px solid var(--line)}
.owner-service-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;width:100%;padding:17px 16px;border:0;border-bottom:1px solid var(--line);text-align:left;background:white;color:var(--teal);font:inherit;cursor:pointer}
.owner-service-entry:last-child{border-bottom:0}
.owner-service-entry[aria-pressed=true]{background:#eaf3ef;box-shadow:inset 3px 0 var(--teal)}
.owner-service-entry:focus-visible{outline:3px solid #e9a51a;outline-offset:-3px}
.owner-service-kind{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:.9rem;font-weight:700}
.owner-service-kind small{font-size:.72rem;color:var(--muted);font-weight:400}
.owner-service-requester{display:block;font-size:.9rem;overflow-wrap:anywhere;margin:7px 0 2px}
.owner-service-entry .small-copy{display:block;font-size:.76rem}
.owner-service-end{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;gap:12px;max-width:145px;text-align:right}
.owner-service-end b{font-size:1rem}
.owner-service-detail-head{padding:20px 18px;border-bottom:1px solid var(--line)}
.owner-service-detail-head .eyebrow{overflow-wrap:anywhere;letter-spacing:.5px}
.owner-service-detail-head h2{margin:6px 0 0}
.owner-service-detail-body{display:grid;gap:18px;padding:18px;overflow-wrap:anywhere}
.owner-service-person{display:flex;gap:12px;align-items:start}
.owner-service-person>.ui-icon{flex:none;margin-top:3px}
.owner-service-person p{margin:2px 0}
.owner-service-person strong{font-size:.94rem}
.owner-service-route{display:grid;gap:14px;border-top:1px solid var(--line);padding-top:16px;margin:0}
.owner-service-route dt,.owner-service-dates dt{color:var(--muted);font-size:.8rem}
.owner-service-route dd{margin:3px 0 0;font-size:.9rem;font-weight:600}
.owner-service-dates{display:grid;gap:12px;margin:0;font-size:.8rem}
.owner-service-dates>div{display:grid;grid-template-columns:minmax(70px,1fr) minmax(0,2fr);gap:12px}
.owner-service-dates dd{margin:0;text-align:right}
.owner-services [data-owner-services-status]:empty{display:none}
@media(max-width:1000px){.owner-services-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:380px){.owner-service-entry{padding:15px 12px}.owner-service-end{max-width:100px}.owner-service-entry{gap:8px}}
.my-services-controls{display:flex;flex-wrap:wrap;gap:12px}
.my-services-controls label{display:grid;gap:6px;width:min(100%,260px);font-size:.85rem}
.my-services-controls select{width:100%;min-height:44px;border:1px solid var(--line);border-radius:10px;padding:9px;background:white;color:var(--teal);font:inherit}
.my-services-status:empty{display:none}
.my-services-count{display:flex;align-items:center;gap:16px;padding:18px;border-radius:16px;background:#eaf3ef}
.my-services-count>strong{font-size:2.2rem;line-height:1}
.my-services-count p{margin:3px 0 0}
.my-services-list{display:grid;gap:12px;min-width:0}
.my-service{border:1px solid var(--line);border-radius:16px;background:white;min-width:0}
.my-service summary{display:block;list-style:none;padding:18px;cursor:pointer;border-radius:16px}
.my-service summary::-webkit-details-marker{display:none}
.my-service summary:focus-visible{outline:3px solid #e9a51a;outline-offset:3px}
.my-service-top,.my-service-line,.my-service-expand,.my-service-fare{display:flex;justify-content:space-between;gap:12px;align-items:center}
.my-service-top>span{display:flex;gap:8px;align-items:center;font-weight:700}
.my-service-top small{color:var(--muted);font-size:.75rem}
.my-service-route{display:block;margin:12px 0 7px;font-size:1rem;overflow-wrap:anywhere}
.my-service-line{font-size:.8rem;color:var(--muted);flex-wrap:wrap}
.my-service-line b{font-size:1.06rem;color:var(--teal)}
.my-service-expand{border-top:1px solid var(--line);padding-top:12px;margin-top:14px;font-size:.8rem;min-height:34px}
.my-service[open] .my-service-expand .ui-icon{transform:rotate(180deg)}
.my-service-detail{display:grid;gap:16px;border-top:1px solid var(--line);margin:0 18px 18px;padding-top:18px;overflow-wrap:anywhere}
.my-service-person{display:flex;align-items:center;gap:14px}
.my-service-person>.ui-icon{width:38px;height:38px;padding:9px;box-sizing:border-box;border-radius:50%;background:#eaf3ef;flex:none}
.my-service-person p{margin:2px 0}
.my-service-detail dl{display:grid;gap:10px;margin:0;font-size:.85rem}
.my-service-detail dl>div{display:grid;grid-template-columns:minmax(80px,1fr) minmax(0,2fr);gap:12px}
.my-service-detail dt{color:var(--muted)}
.my-service-detail dd{text-align:right;margin:0}
.my-service-fare{border-top:1px solid var(--line);padding-top:14px;flex-wrap:wrap;font-size:.9rem}
.my-service-detail>.small-copy{margin:0}
@media(min-width:900px){.my-service-detail dl{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}.my-service-detail dl>div:first-child{grid-column:1/-1}}
.self-profile-heading{display:flex;align-items:center;gap:16px;margin-bottom:4px}
.self-profile-heading h1{font-size:clamp(1.6rem,3vw,2rem);margin:0}
.self-profile-heading p{margin:4px 0}
.self-profile-avatar{display:grid;place-items:center;flex:none;width:58px;height:58px;border-radius:18px;background:#fff1c9;color:#0a4148}
.self-profile-avatar .ui-icon{width:29px;height:29px}
.self-profile .card{padding:22px;border-radius:16px;min-width:0}
.self-profile h2{font-size:1.08rem;margin:0 0 16px}
.self-profile-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 28px;margin:0}
.self-profile-data dt{font-size:.8rem;color:#607b7e;margin-bottom:6px}
.self-profile-data dd{margin:0;font-size:.96rem;font-weight:600;overflow-wrap:anywhere;line-height:1.5}
.self-profile-actions{display:grid}
.self-profile-action{display:flex;align-items:center;gap:14px;padding:15px 0;color:var(--teal);text-decoration:none;border-top:1px solid var(--line)}
.self-profile-action:first-child{border-top:0;padding-top:0}
.self-profile-action:last-child{padding-bottom:0}
.self-profile-action>span{flex:1;min-width:0}
.self-profile-action strong,.self-profile-action small{display:block;line-height:1.5}
.self-profile-action small{color:#607b7e;font-size:.82rem;margin-top:3px}
.self-profile-action:hover strong{text-decoration:underline}
.self-profile-action:focus-visible{outline:3px solid #e9a51a;outline-offset:4px;border-radius:5px}
.self-profile-privacy>summary{cursor:pointer;font-weight:700;display:flex;align-items:center;gap:10px;min-height:28px}
.self-profile-privacy[open]>summary{margin-bottom:16px}
@media(max-width:560px){.self-profile{gap:14px}.self-profile .card{padding:18px}.self-profile-data{grid-template-columns:minmax(0,1fr);gap:18px}.self-profile-action{gap:10px}.self-profile-avatar{width:48px;height:48px}.self-profile-heading .small-copy{font-size:.85rem}}
.moto-heading{display:flex;align-items:center;gap:14px;padding-block:12px}
.moto-heading h2{margin:0;font-size:clamp(1.3rem,2vw,1.8rem)}
.moto-heading p{margin:5px 0 0;color:#567276;font-size:.94rem}
.moto-symbol{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:14px;background:#fff0c7;color:#0a4148}
.moto-symbol .ui-icon{width:25px;height:25px}
.moto-panel .card{padding:22px;border:1px solid #dce7e4;border-radius:20px;background:#fff;min-width:0;box-shadow:0 4px 18px #0b383c05}
.moto-panel details>summary{cursor:pointer;font-weight:700;padding:4px 0;line-height:1.5}
.moto-panel details[open]>summary{margin-bottom:18px}
.moto-panel .form-stack{display:grid;gap:16px;width:100%;max-width:660px;margin-block:16px}
.moto-panel .form-stack>button[type=submit]{justify-self:start}
.moto-panel .field{min-width:0;display:grid;gap:7px}
.moto-panel input,.moto-panel select,.moto-panel textarea{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.moto-panel textarea{min-height:90px;resize:vertical}
.moto-panel input[type=checkbox]{width:auto;min-height:20px;flex:none}
.moto-panel .fare-address>label:not(.field){display:flex;align-items:center;justify-content:flex-start;gap:10px}
.moto-step{display:grid;gap:16px}.moto-step[hidden]{display:none}
.moto-panel [hidden]{display:none!important}
.moto-progress{font-size:.78rem;font-weight:700;letter-spacing:.03em;color:#2c7769;margin:0;padding:10px 13px;background:#edf5f1;border-radius:10px}
.moto-review{display:grid;gap:18px;padding:18px;background:#f6f9f7;border-radius:14px}
@media(min-width:1100px){.moto-panel[data-moto-role=passenger],.moto-panel[data-moto-role=business]{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start}.moto-panel>.moto-heading,.moto-panel>[data-moto-controls],.moto-panel>[data-moto-status]{grid-column:1/-1}.moto-panel:is([data-moto-role=passenger],[data-moto-role=business])>[data-moto-form]{grid-column:1}.moto-panel:is([data-moto-role=passenger],[data-moto-role=business])>[data-moto-list]{grid-column:2}.moto-panel .fare-address{grid-template-columns:1fr 1fr}.moto-panel .fare-address>.field:first-of-type,.moto-panel .fare-address>.field:last-child{grid-column:1/-1}}
.moto-panel .small-copy{line-height:1.6;margin-block:7px}
.moto-service-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:6px;background:#e9f1ee;border-radius:17px;align-self:start;justify-self:start;margin-bottom:16px}
.moto-service-tabs .button{min-height:44px;box-shadow:none;border-radius:12px}
.moto-panel .button{min-height:44px;border-radius:12px;gap:8px;white-space:normal;line-height:1.4}
.moto-panel .button-primary{background:#0b444b;color:#fff;border-color:#0b444b}
.moto-panel .button-primary:hover{background:#11616a}
.moto-panel .button:disabled{opacity:.55;cursor:not-allowed}
.moto-route{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:4px 0}
.moto-route>div{padding-left:13px;border-left:3px solid #ffc444;min-width:0}
.moto-route>div+div{border-color:#36867b}
.moto-route dt{font-size:.76rem;text-transform:uppercase;letter-spacing:.06em;color:#617b7f;margin-bottom:6px}
.moto-route dd{margin:0;font-weight:600;overflow-wrap:anywhere;line-height:1.5}
.moto-order h3{font-size:1.08rem;margin:6px 0;overflow-wrap:anywhere}
.moto-order .card-head{display:flex;gap:12px;align-items:start;justify-content:space-between;flex-wrap:wrap}
.moto-order .status-pill{font-size:.78rem;white-space:normal;background:#e9f4ef;color:#236653;padding:7px 11px;border-radius:30px}
.moto-quote{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:16px;border:1px solid #dbe7e3;border-radius:16px;background:#f7faf8;width:100%;box-sizing:border-box}
.moto-quote>div{flex:1;min-width:170px}
.moto-quote p{margin:6px 0;font-size:.9rem}
.moto-order-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:start}
.moto-order-actions>form,.moto-order-actions>details,.moto-code{flex-basis:100%}
.moto-code{background:#fff5d9;border:1px solid #f4de9c;border-radius:14px;padding:16px;max-width:380px;box-sizing:border-box}
.moto-code>span{font-size:.8rem;color:#735d24;display:block}
.moto-code>strong{font-size:2rem;letter-spacing:.2em;color:#123e45;display:block;margin:6px 0}
.moto-events{padding-left:20px;font-size:.9rem;line-height:1.6}
.moto-events li{margin-bottom:12px}
.moto-events p{margin:4px 0;overflow-wrap:anywhere}
.moto-availability,.moto-stats{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.moto-availability{padding:18px;background:#edf5f1;border-radius:16px}
.moto-availability strong{flex:1;min-width:180px}
.moto-stats>span{background:#eef5f2;padding:15px 20px;border-radius:14px;color:#15574d;font-weight:700}
.moto-admin-record,.moto-document{padding-block:16px;border-bottom:1px solid #e4ece8}
.moto-panel .moto-admin-record:last-child{border-bottom:0}
.moto-panel .moto-request [data-fare-address]{max-width:660px}
.moto-panel[data-moto-role=business]{grid-template-columns:minmax(0,1fr)}
.moto-panel[data-moto-role=business]>[data-moto-form],.moto-panel[data-moto-role=business]>[data-moto-list]{grid-column:1/-1}
.moto-courier-workspace,.moto-business-workspace,.moto-document-groups,.moto-two-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start;min-width:0}
.moto-local-nav{display:flex;flex-wrap:wrap;gap:6px;background:#eaf1ee;padding:6px;border-radius:14px;justify-self:start;margin-bottom:14px}
.moto-local-nav .button{box-shadow:none}
.moto-panel:is([data-moto-role=courier],[data-moto-role=business],[data-moto-role=passenger]) .button-primary{background:#ffc444;color:#083d45;border-color:#e6aa2f}
.moto-panel:is([data-moto-role=courier],[data-moto-role=business],[data-moto-role=passenger]) .button-primary:hover{background:#ffd26e}
.moto-request-row{padding:16px 0;border-bottom:1px solid #e3ece8;overflow-wrap:anywhere}
.moto-request-row:last-child{border-bottom:0;padding-bottom:0}
.moto-request-row h4{margin:7px 0;font-size:1rem;line-height:1.5}
.moto-request-row .button[aria-pressed=true]{border-color:#358373;background:#ecf6f0;color:#13544c}
.moto-document-area>.card-head{display:flex;flex-wrap:wrap;align-items:start;justify-content:space-between;gap:12px;margin-bottom:18px}
.moto-document-area h3{margin:0;font-size:1.1rem}
.moto-requirement{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:18px 0;border-top:1px solid #e3ece8;min-width:0}
.moto-requirement>div{min-width:0;overflow-wrap:anywhere}
.moto-requirement .small-copy{display:block;font-size:.82rem}
.moto-file-button{position:relative;overflow:hidden;flex-shrink:0;cursor:pointer;font-size:.82rem!important}
.moto-file-button:focus-within{outline:3px solid #428f83;outline-offset:3px}
.moto-file-button input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer;min-height:100%;height:100%;margin:0;padding:0}
.moto-file-button:has(input:disabled){opacity:.5;cursor:not-allowed}
.moto-document-submit{display:flex;flex-wrap:wrap;align-items:center;gap:18px;padding:18px;margin-top:18px;background:#edf5f1;border:1px solid #dce7e4;border-radius:14px}
.moto-document-submit>div{flex:1;min-width:200px}
.moto-panel .moto-document-submit .small-copy{max-width:600px}
.moto-panel .moto-two-fields .field{align-self:start}
@media(min-width:760px){.moto-courier-workspace,.moto-business-workspace{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}.moto-document-groups,.moto-two-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.moto-panel[data-moto-role=passenger]{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start}.moto-panel[data-moto-role=passenger]>[data-moto-form]{grid-column:1}.moto-panel[data-moto-role=passenger]>[data-moto-list]{grid-column:2}}
@media(max-width:600px){.moto-document-submit>.button{width:100%}.moto-file-button{padding:9px!important;min-width:44px}.moto-requirement{gap:9px}.moto-document-groups{gap:14px}}
@media(max-width:600px){.moto-panel{gap:14px}.moto-panel .card{padding:17px;border-radius:17px}.moto-route{grid-template-columns:1fr;gap:14px}.moto-panel .form-stack>button[type=submit]{justify-self:stretch;width:100%}.moto-order-actions>.button{flex:1 1 160px}.moto-quote>.button{width:100%}.moto-stats>span{flex:1;text-align:center;padding:12px}.moto-heading p{font-size:.85rem}}
.membership-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:1000px}.membership-plan-grid .field input,.membership-plan-grid .field select{max-width:100%}.membership-plan-grid .card{min-width:0}.membership-plan-grid .button{width:100%;justify-content:center}#membership-settings{scroll-margin-top:100px}#services-page [data-membership-status]:empty{display:none}@media(max-width:640px){.membership-plan-grid{grid-template-columns:1fr}}
.membership-admin .member-account-search{display:flex;align-items:end;gap:8px}.membership-admin .member-account-search .field{flex:1;min-width:0}.membership-admin [data-member-feedback]:empty{display:none}.membership-admin .membership-plan-grid{align-items:start}.membership-admin .list-main{min-width:0;overflow-wrap:anywhere}.membership-admin{margin-top:20px}@media(max-width:420px){.membership-admin .member-account-search{align-items:stretch;flex-direction:column}}
.membership-admin .member-account-search .button{width:auto;flex:0 0 auto}

/* Passenger home: compact service picker and structured addresses, no hero. */
.passenger-workspace .welcome-row{display:none}
.passenger-workspace #panel-content{gap:18px}
.passenger-workspace .moto-service-tabs{margin:0;gap:5px;padding:5px;border-radius:13px}
.passenger-workspace .moto-service-tabs .button{padding:10px 15px;min-height:44px;border-radius:10px}
.passenger-workspace #panel-content>div.stack,.passenger-workspace .moto-panel[data-moto-role=passenger]{width:100%;max-width:940px}
.passenger-request-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
.passenger-request-heading h2{margin:0;font-size:1.5rem;line-height:1.25;letter-spacing:-.5px;color:var(--design-petrol)}
.passenger-request-heading>.moto-symbol,.passenger-request-heading p{display:none}
.passenger-request-heading .button{min-height:40px}
.passenger-request-card{padding:22px!important;border-radius:15px!important}
.passenger-request-card .form-stack{margin:0;max-width:none;width:100%;gap:18px}
.passenger-request-card .ride-addresses{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px}
.passenger-request-card .ride-addresses{align-items:start}
.passenger-request-card .ride-addresses>div{min-width:0}
.passenger-request-card .ride-addresses>div>.button{margin-top:12px}
.passenger-request-card .ride-addresses>div>.field{margin-top:12px}
#trip-request-form .passenger-request-address,.moto-panel .passenger-moto-request .passenger-request-address{display:grid;grid-template-columns:minmax(0,1fr) 86px;gap:14px 10px;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;min-width:0}
.passenger-request-address legend{padding:0;margin-bottom:16px;display:flex;font-size:.94rem;gap:8px}
.passenger-request-address{align-content:start;align-self:start}
.passenger-request-address .pickup-feedback:empty{display:none}
.passenger-request-address>.passenger-pickup-actions{display:flex;align-items:start;gap:10px;flex-wrap:wrap}
.passenger-pickup-actions>div{display:grid;gap:6px}
.passenger-pickup-actions .button{min-height:38px;padding:8px 10px;font-size:.81rem}
.passenger-pickup-actions small{font-size:.75rem}
.moto-tracking{width:100%;min-width:0;border-block:1px solid var(--design-line);padding-block:12px;margin-block:8px}
.moto-tracking>summary{display:flex;align-items:center;gap:8px;min-height:44px;font-weight:700;cursor:pointer}
.moto-tracking [data-track-map]{height:300px;width:100%;min-width:0;border-radius:12px;background:#eaf0e7;margin-block:12px}
.moto-tracking [data-track-status]{font-size:.84rem;line-height:1.5;margin-block:10px}
.moto-track-times{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0;font-size:.8rem}
.moto-track-times dt{font-weight:700;margin-bottom:5px}.moto-track-times dd{margin:0;line-height:1.5}
.moto-tracking .list-actions{gap:8px}.moto-tracking .list-actions>.button{flex:1 1 140px;min-width:0;font-size:.8rem}
.moto-tracking [data-track-coverage]{font-size:.75rem}.moto-tracking>small{font-size:.7rem}
@media(max-width:600px){.moto-tracking [data-track-map]{height:270px}.moto-track-times{grid-template-columns:minmax(0,1fr)}}
.passenger-request-address legend .ui-icon{background:none!important;padding:0!important;width:17px;height:17px}
.passenger-request-address>label:has([name$=Colony]){grid-column:1/-1}
.passenger-request-address>label:has([name$=Street]){grid-column:1}
.passenger-request-address>label:has([name$=Number]){grid-column:2}
.passenger-request-address>.passenger-address-details,.passenger-request-address>.button,.passenger-request-address>p,.passenger-request-address>div,.passenger-request-address>.trip-text-destination{grid-column:1/-1}
.passenger-address-details>summary{font-size:.78rem;color:#48676b;min-height:32px;cursor:pointer}
.passenger-address-details>label{margin-top:10px}
.passenger-address-details>label:not(.field){display:flex;gap:8px;align-items:center;font-size:.85rem;min-height:32px}
.passenger-request-address>.button,.passenger-request-address>div>.button{justify-self:start;min-height:38px;font-size:.81rem;padding:8px 10px;width:auto}
.passenger-request-address>div{display:grid;gap:6px}
.passenger-request-address .trip-text-destination{display:flex;gap:8px;font-size:.78rem;align-items:start;min-height:32px}
.passenger-request-address .trip-text-destination input{width:auto;flex:none}
.passenger-request-options,.passenger-request-card #trip-request-form>.passenger-request-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.passenger-request-info,.passenger-recipient{border-top:1px solid var(--design-line);padding-top:12px;font-size:.85rem}
.passenger-request-info>summary,.passenger-recipient>summary{min-height:34px;cursor:pointer}
.passenger-recipient>.passenger-request-options{margin-top:12px}
.passenger-request-submit{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--design-line);padding-top:18px}
.passenger-request-submit>p{margin:0!important;font-size:.8rem;max-width:320px}
.passenger-request-submit>.button{flex-shrink:0;min-height:46px;width:auto}
.moto-panel .passenger-moto-request .button-primary{background:var(--design-amber);border-color:#db9c2d;color:var(--design-ink)}
.passenger-current-services h2{font-size:1.12rem;margin:0}
.moto-panel[data-moto-role=passenger]{grid-template-columns:minmax(0,1fr)}
.moto-panel[data-moto-role=passenger]>[data-moto-form],.moto-panel[data-moto-role=passenger]>[data-moto-list]{grid-column:1/-1}
.moto-panel[data-moto-role=passenger]>.moto-heading{gap:12px}
.moto-panel[data-moto-role=passenger] [data-moto-form]>details:not(.passenger-request-card){margin-top:18px}
@media(max-width:650px){
  .passenger-request-heading h2{font-size:1.35rem}
  .passenger-request-card{padding:17px!important}
  .passenger-request-card .ride-addresses{grid-template-columns:minmax(0,1fr);gap:24px}
  .passenger-request-submit{flex-direction:column-reverse;align-items:stretch;gap:10px}
  .passenger-request-submit>.button{width:100%}
  .passenger-request-heading .button{font-size:.8rem;padding:8px 10px}
  .passenger-request-card .passenger-request-options:has([name=businessId]),.passenger-recipient>.passenger-request-options{grid-template-columns:minmax(0,1fr)}
}

/* Moto: entrega y ruta privada */
.moto-track-target{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#fff7dd;border-radius:14px;color:#103d43}.moto-track-target[hidden]{display:none}.moto-track-target>.ui-icon{flex:none;color:#8a5c00}.moto-track-target strong,.moto-track-target span{display:block}.moto-track-route{font-weight:650;color:#17644c;margin:8px 0}.moto-tracking [data-track-map]{height:370px}.moto-delivery-confirm{width:100%}.moto-delivery-confirm>summary{padding:14px;border-radius:12px;background:#ffbf3d;color:#103d43;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:650;cursor:pointer}.moto-delivery-confirm[open]>.form-stack{margin-top:14px}@media(max-width:600px){.moto-tracking [data-track-map]{height:350px}.moto-track-target{padding:12px}}

.moto-tracking .live-destination{background:#ffbf3d;color:#103d43;border-color:#fff}.moto-tracking .moto-delivery-route{stroke:#17644c}
.moto-tracking .live-destination .ui-icon{color:#103d43}.moto-tracking .live-driver{background:#17644c}

/* Calificación mutua de mandados personales */
.moto-rating{border-top:1px solid var(--line);padding-top:18px}.moto-rating h4{margin:0 0 6px}.moto-rating-stars{justify-content:center}.moto-rating-stars .star-option{min-width:44px;min-height:48px}.moto-rating-stars .star-option[data-filled=true] .ui-icon{fill:#ffbf3d;stroke:#956300}.moto-rating-result{padding:14px;background:#edf5f1;border-radius:12px}.moto-rating-result>p{overflow-wrap:anywhere}.moto-reputation{padding:12px 0}.moto-reputation blockquote{margin:12px 0;padding:10px 14px;border-left:3px solid #17644c;background:#f1f6f2;overflow-wrap:anywhere}.moto-reputation blockquote p{margin:6px 0}.moto-rating-moderation>.field{margin-top:16px;max-width:360px}.moto-review-item{padding:16px 0;border-bottom:1px solid var(--line)}.moto-review-comment{white-space:pre-wrap;overflow-wrap:anywhere}.moto-rating .form-stack{max-width:620px}.moto-rating .rating-picker{max-width:360px}.moto-rating [data-moto-score-label]{text-align:center;max-width:360px}
.moto-comment-guides{display:flex;gap:8px;flex-wrap:wrap}.moto-comment-guides .button{min-height:44px}.moto-comment-guides [aria-pressed=true]{background:var(--soft);border-color:var(--teal)}.moto-rating-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));gap:12px;margin:18px 0;max-width:860px}.moto-review-item .card-head{gap:10px;flex-wrap:wrap}.moto-review-item .card-head>div{min-width:0;overflow-wrap:anywhere}
.rating-required-panel{max-width:720px;border-left:4px solid #d69b16}.rating-required-panel h2{font-size:22px;line-height:1.2;margin:4px 0 10px}.rating-required-panel>.card-head>.ui-icon{color:#956300;flex:none}.rating-required-panel .moto-rating{padding-top:12px}.rating-required-panel .moto-rating h4{font-size:17px}

/* Reviewed photos, visible only to the service requester. */
.provider-photos{display:flex;gap:12px;align-items:start;flex-wrap:wrap}.provider-photo{margin:0;width:100px;min-width:0}.provider-photo.vehicle{width:152px}.provider-photo img{width:100%;height:100px;object-fit:cover;border-radius:12px;background:#edf4f1}.provider-photo.portrait img{border-radius:50%;object-position:center}.provider-photo figcaption{font-size:.8rem;line-height:1.35;margin-top:6px;overflow-wrap:anywhere}.provider-photo-unavailable{font-size:.85rem;color:#526d70}

/* Shared password visibility: input and button keep separate labels. */
.password-visibility-field{display:grid;gap:8px;min-width:0}
.password-visibility-field>label{margin:0}
.password-visibility-control{position:relative;min-width:0}
.password-visibility-field .password-visibility-control>input{width:100%;box-sizing:border-box;min-height:56px;padding-inline-end:112px!important}
.password-visibility-field .password-visibility-control>.password-visibility-toggle{position:absolute;inset-inline-end:6px;top:50%;bottom:auto;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;gap:5px;box-sizing:border-box;width:100px;min-width:100px;max-width:100px;height:44px;min-height:44px;max-height:44px;margin:0;padding:6px;border:0;border-radius:8px;background:#edf5f2;color:#073e46;font:inherit;font-size:.85rem;line-height:1.2;font-weight:700;white-space:nowrap;cursor:pointer}
.password-visibility-toggle:hover{background:#dcece6}
.password-visibility-toggle:focus-visible{outline:3px solid #936b13;outline-offset:1px}
.password-visibility-toggle .ui-icon{flex-shrink:0;width:20px;height:20px}

/* Driver workspace: the request list is the working surface. */
.driver-workspace #sidebar,.driver-workspace #workspace-mobile-actions,.driver-workspace .welcome-row{display:none!important}
.driver-workspace .driver-panel{display:block;min-width:0}
.driver-workspace .driver-pane{gap:14px;min-width:0}
.driver-workspace .driver-pane[hidden]{display:none!important}
.driver-workspace .driver-pane>h2{font-size:23px;margin:0 0 5px}
.driver-workspace .driver-compact-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px;position:relative}
.driver-workspace .driver-compact-header>p{font-size:14px;margin:0;color:var(--ink)}
.driver-workspace .driver-connection{margin-left:auto;position:relative}
.driver-workspace .driver-connection>summary{display:flex;align-items:center;gap:8px;list-style:none;min-height:44px;padding:9px 13px;border:1px solid var(--line);border-radius:26px;background:var(--surface);color:var(--ink);font-size:13px;font-weight:650;cursor:pointer}
.driver-workspace .driver-connection>summary::-webkit-details-marker{display:none}
.driver-workspace .driver-connection>summary>.ui-icon{width:16px;height:16px}
.driver-workspace .driver-online-dot{width:7px;height:7px;flex:none;border-radius:50%;background:#7c9194}
.driver-workspace .driver-connection[data-online="true"] .driver-online-dot{background:#188568}
.driver-workspace .driver-connection-menu{position:absolute;right:0;top:calc(100% + 7px);z-index:35;width:min(330px,calc(100vw - 28px));max-height:calc(100dvh - 190px);overflow:auto;padding:17px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:0 8px 30px #073e4626}
.driver-workspace .driver-connection-menu h2{font-size:17px;margin:0 0 12px}
.driver-workspace .driver-availability-card{padding:0;margin:0 0 12px;border:0;border-radius:0;box-shadow:none;background:transparent}
.driver-workspace .driver-availability-card>p{font-size:12px;margin:0 0 12px}
.driver-workspace .driver-connection-menu .button{width:100%;min-height:44px;justify-content:flex-start;font-size:13px;padding:10px}
.driver-workspace .driver-state-card{padding:12px 0 0;margin:0;border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none;background:transparent;gap:9px}
.driver-workspace .driver-state-card .list-actions{display:grid;gap:8px}
.driver-workspace .driver-state-card>p{margin:0;font-size:12px}
.driver-workspace .driver-gps-privacy summary{font-size:12px;min-height:40px;padding:10px 0;cursor:pointer}
.driver-workspace .driver-gps-privacy p{font-size:12px;line-height:1.5}
.driver-workspace [data-driver-real-requests]>h2{font-size:23px;margin:0}
.driver-workspace .nearby-toolbar{gap:7px;margin-bottom:6px}
.driver-workspace .nearby-toolbar .button{min-height:40px;font-size:12px;padding:8px 12px}
.driver-workspace .nearby-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.driver-workspace .nearby-card{padding:16px;border:1px solid var(--line);border-radius:13px;border-top:1px solid var(--line);box-shadow:none;min-width:0}
.driver-workspace .nearby-card .nearby-pickup{font-size:15px;line-height:1.4;margin:0}
.driver-workspace .nearby-card .nearby-destination{font-size:13px;line-height:1.45;margin:7px 0 0}
.driver-workspace .nearby-meta{margin:11px 0;font-size:12px}
.driver-workspace .nearby-quote>summary{min-height:42px;padding:10px;background:#ffc446;color:#073e46;border:1px solid #f0bc50;border-radius:8px;text-align:center;justify-content:center;font-size:13px}
.driver-workspace .nearby-quote input{min-height:44px;font-size:16px}
.driver-workspace #panel-content .nearby-card{padding:14px;gap:0;border:1px solid var(--line);border-radius:12px;box-shadow:none}
.driver-workspace #panel-content .nearby-card .nearby-pickup{font-size:15px;margin:0;line-height:1.4}
.driver-workspace #panel-content .nearby-card .nearby-destination{font-size:13px;font-weight:500;line-height:1.4;margin:7px 0 0}
.driver-workspace #panel-content .nearby-meta{border:0;padding:0;margin:11px 0;gap:6px 12px}
.driver-workspace #panel-content .nearby-meta p{font-size:12px;line-height:1.4;margin:0}
.driver-workspace #panel-content .nearby-quote>summary{min-height:44px;padding:9px;background:#ffc446;color:#073e46;border:1px solid #f0bc50;border-radius:8px;font-size:13px;justify-content:center}
.driver-workspace #panel-content .nearby-quote>summary:hover{background:#ffd26b}
.driver-workspace #panel-content .nearby-expired .nearby-quote>summary{background:#e7ede9;border-color:var(--line);color:#526966}
.driver-workspace [data-driver-assigned]{margin-bottom:4px}
.driver-workspace [data-driver-assigned] .panel-heading h2{font-size:19px}
.driver-workspace [data-driver-assigned][hidden],.driver-workspace [data-driver-offers][hidden],.driver-workspace [data-driver-reservations][hidden]{display:none!important}
.driver-workspace .driver-reservations>summary,.driver-workspace .driver-account-documents>summary,.driver-workspace .driver-other-profiles>summary{display:flex;align-items:center;gap:8px;padding:14px 0;min-height:48px;font-size:15px;font-weight:650;cursor:pointer}
.driver-workspace .driver-account-documents{border-bottom:1px solid var(--line);padding-bottom:7px}
.driver-workspace .driver-account-actions{display:flex;flex-wrap:wrap;gap:10px}
.driver-workspace .driver-account-footer{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.driver-workspace #driver-activity-host .driver-activity{box-shadow:none;padding:18px;border:1px solid var(--line)}
.driver-workspace .activity-filters{max-width:800px}
.driver-workspace #driver-activity-title{font-size:18px}
.driver-navigation{display:flex;gap:5px;background:var(--surface);padding:8px;border-bottom:1px solid var(--line);margin-bottom:20px}
.driver-navigation button{flex:1;min-height:44px;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px;border:0;border-radius:9px;background:transparent;color:#5c787c;font:inherit;font-size:13px;font-weight:650;cursor:pointer}
.driver-navigation button[aria-current="page"]{background:#eaf2ee;color:var(--teal)}
.driver-navigation .ui-icon{width:19px;height:19px}
.passenger-step-workspace #sidebar,.passenger-step-workspace #workspace-mobile-actions,.passenger-step-workspace .welcome-row{display:none!important}
.passenger-step-workspace #panel-content{display:block;min-width:0}
.passenger-step-workspace [data-passenger-pane][hidden],.passenger-step-form [data-service-step][hidden],.passenger-step-form .passenger-request-submit[hidden],.passenger-step-form button[hidden],.passenger-step-form .passenger-step-error[hidden]{display:none!important}
.passenger-step-workspace .passenger-order-pane{gap:17px}
.passenger-step-workspace .passenger-compact-header{margin:0;font-size:14px;color:var(--ink)}
.passenger-step-workspace .passenger-request-heading h2{font-size:24px;letter-spacing:-.5px}
.passenger-step-workspace .passenger-request-card{width:100%;max-width:590px;padding:22px!important;box-shadow:none}
.passenger-step-workspace .passenger-request-card .passenger-step-form{gap:18px}
.passenger-step-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.passenger-step-nav button{min-width:0;min-height:44px;padding:8px 5px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:#5c787c;font:inherit;font-size:13px;cursor:pointer}
.passenger-step-nav button[aria-current=step]{background:#eaf2ee;border-color:var(--teal);color:var(--teal);font-weight:700}
.passenger-step-pane{min-width:0;gap:18px}
.passenger-step-pane>h3,.passenger-step-review h3{font-size:18px;margin:0 0 12px}
.passenger-step-form .passenger-request-address legend{font-size:16px;margin-bottom:16px}
.passenger-step-form input:not([type=checkbox]):not([type=hidden]),.passenger-step-form select,.passenger-step-form textarea{font-size:16px;min-height:46px}
.passenger-step-form .passenger-request-address>.button,.passenger-step-form .passenger-request-address>div>.button,.passenger-step-form [data-manual-pickup]>.button{min-height:44px;font-size:13px;padding:10px 12px}
.passenger-step-form .passenger-address-details>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:13px}
.passenger-step-form [data-manual-pickup]{display:grid;gap:14px;min-width:0}
.passenger-step-form .passenger-request-address .trip-text-destination{min-height:44px;align-items:center}
.passenger-step-form .passenger-request-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.passenger-step-form .passenger-recipient>.passenger-request-options{grid-template-columns:minmax(0,1fr)}
.passenger-step-form .passenger-recipient>summary{min-height:44px;display:flex;align-items:center}
.passenger-step-review{padding:16px;background:#f0f5f2;border:1px solid var(--line);border-radius:11px}
.passenger-step-review dl{display:grid;gap:14px;margin:0}
.passenger-step-review dt{font-size:12px;color:#5c787c;margin-bottom:4px}
.passenger-step-review dd{font-size:14px;line-height:1.45;margin:0;overflow-wrap:anywhere}
.passenger-step-error{margin:0;padding:11px 13px;background:#fff1ef;border:1px solid #edc8c3;border-radius:8px;color:#a5332c;font-size:14px}
.passenger-step-actions{display:flex;gap:10px;justify-content:space-between}
.passenger-step-actions .button{min-height:46px;font-size:14px;padding:10px 14px}
.passenger-step-actions [data-step-next]{margin-left:auto;flex:1}
.passenger-step-form .passenger-request-submit{display:grid;gap:10px;padding-top:0;border:0}
.passenger-step-form .passenger-request-submit>.button{width:100%;min-height:48px;font-size:15px;grid-row:1}
.passenger-step-form .passenger-request-submit>p{font-size:12px;max-width:none;text-align:center}
.passenger-step-form:has([data-passenger-step]){min-width:0}
.passenger-step-workspace [data-passenger-pane]>h2{font-size:24px;margin:0 0 18px}
.passenger-step-workspace .passenger-account-actions{display:grid;gap:12px;max-width:590px}
.passenger-step-workspace .passenger-account-actions .button{min-height:48px;justify-content:flex-start}
.passenger-step-workspace .passenger-account-pane>.card,.passenger-step-workspace .passenger-invite-pane>.card{max-width:740px}
.passenger-step-workspace .passenger-other-profiles>summary{min-height:48px;display:flex;align-items:center;gap:8px;cursor:pointer}
body:has(#workspace.passenger-step-workspace:not([hidden])) .region-pill,body:has(#workspace.passenger-step-workspace:not([hidden])) #account-chip,body:has(#workspace.passenger-step-workspace:not([hidden])) .topbar #logout-button{display:none!important}
@media(min-width:1050px){
 .main-content:has(#workspace.passenger-step-workspace:not([hidden])){width:100%;max-width:1320px;padding:22px 24px 40px 208px}
 .passenger-step-workspace .passenger-navigation{position:fixed;inset:calc(72px + env(safe-area-inset-top)) auto 0 0;width:180px;display:flex;flex-direction:column;gap:5px;justify-content:flex-start;padding:22px 10px;border:0;border-right:1px solid var(--line);margin:0;z-index:5}
 .main-content:has(#workspace.passenger-step-workspace:not([hidden]))+.site-footer{margin-left:180px}
}
@media(min-width:650px) and (max-width:1049px){
 .main-content:has(#workspace.passenger-step-workspace:not([hidden])){width:100%;max-width:100%;padding:14px 22px 30px}
 .passenger-step-workspace .passenger-navigation{position:sticky;top:calc(72px + env(safe-area-inset-top));z-index:20;margin:0 0 18px;border:1px solid var(--line);border-radius:11px}
 .main-content:has(#workspace.passenger-step-workspace:not([hidden]))+.site-footer{margin-left:0}
}
@media(max-width:649px){
 .main-content:has(#workspace.passenger-step-workspace:not([hidden])){padding:14px 13px calc(92px + env(safe-area-inset-bottom));width:100%;max-width:100%}
 .passenger-step-workspace .passenger-navigation{position:fixed;inset:auto 0 0;z-index:30;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:6px max(6px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));margin:0;border:0;border-top:1px solid var(--line);box-shadow:0 -3px 15px #073e4608}
 .passenger-step-workspace .passenger-request-heading h2{font-size:22px}
 .passenger-step-workspace .passenger-request-card{padding:16px!important}
 .passenger-step-workspace .passenger-order-pane{gap:15px}
 .passenger-step-nav button{font-size:12px}
 .passenger-step-actions .button{font-size:13px;padding:10px}
 body:has(#workspace.passenger-step-workspace:not([hidden])) .notification-center{bottom:calc(78px + env(safe-area-inset-bottom))}
 .main-content:has(#workspace.passenger-step-workspace:not([hidden]))+.site-footer{margin:0;padding-bottom:calc(86px + env(safe-area-inset-bottom))}
}
body:has(#workspace.driver-workspace:not([hidden])) .region-pill,body:has(#workspace.driver-workspace:not([hidden])) #account-chip,body:has(#workspace.driver-workspace:not([hidden])) .topbar #logout-button{display:none!important}
@media(min-width:1050px){
 .main-content:has(#workspace.driver-workspace:not([hidden])){width:100%;max-width:1320px;padding:22px 24px 40px 208px}
 .driver-workspace .driver-navigation{position:fixed;inset:calc(72px + env(safe-area-inset-top)) auto 0 0;width:180px;display:flex;flex-direction:column;gap:5px;justify-content:flex-start;padding:22px 10px;border:0;border-right:1px solid var(--line);margin:0;z-index:5}
 .driver-navigation button{flex:0 0 auto;justify-content:flex-start;font-size:13px;min-height:46px}
 .main-content:has(#workspace.driver-workspace:not([hidden]))+.site-footer{margin-left:180px}
}
@media(min-width:650px) and (max-width:1049px){
 .main-content:has(#workspace.driver-workspace:not([hidden])){width:100%;max-width:100%;padding:14px 22px 30px}
 .driver-workspace .driver-navigation{position:sticky;top:calc(72px + env(safe-area-inset-top));z-index:20;margin:0 0 18px;border:1px solid var(--line);border-radius:11px}
 .main-content:has(#workspace.driver-workspace:not([hidden]))+.site-footer{margin-left:0}
}
@media(max-width:649px){
 .main-content:has(#workspace.driver-workspace:not([hidden])){padding:14px 13px calc(92px + env(safe-area-inset-bottom));width:100%;max-width:100%}
 .driver-workspace .nearby-list{grid-template-columns:minmax(0,1fr)}
 .driver-workspace .driver-compact-header{margin:0 0 18px;gap:8px}
 .driver-workspace .driver-compact-header>p{font-size:13px}
 .driver-workspace .driver-connection>summary{font-size:12px;padding:9px 10px;gap:6px}
 .driver-workspace .driver-navigation{position:fixed;inset:auto 0 0;z-index:30;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:6px max(6px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));margin:0;border:0;border-top:1px solid var(--line);box-shadow:0 -3px 15px #073e4608}
 .driver-navigation button{min-width:0;min-height:54px;flex-direction:column;gap:5px;font-size:11px;padding:5px 1px}
 .driver-workspace .driver-account-actions{display:grid;grid-template-columns:1fr}
 .driver-workspace .nearby-card{padding:14px}
 body:has(#workspace.driver-workspace:not([hidden])) .notification-center{bottom:calc(78px + env(safe-area-inset-bottom))}
 .main-content:has(#workspace.driver-workspace:not([hidden]))+.site-footer{margin:0;padding-bottom:calc(86px + env(safe-area-inset-bottom))}
}

.passenger-step-form .passenger-request-options:has([name=kind]){grid-template-columns:minmax(0,1fr)}
.passenger-step-workspace .passenger-current-services[hidden],.passenger-step-workspace [data-moto-list][hidden],.passenger-step-form [data-manual-pickup][hidden]{display:none!important}
.passenger-step-workspace [data-passenger-account]>[data-passenger-enrolment]{max-width:590px}

.passenger-request-address>.passenger-pickup-reference{grid-column:1/-1}
.passenger-pickup-reference textarea{width:100%;min-height:76px;resize:vertical;line-height:1.4}
.passenger-pickup-reference small{font-size:12px;font-weight:400;line-height:1.4;color:#5c787c}

.pickup-reference-note{display:grid;gap:4px;margin:12px 0;padding:10px 12px;border-left:3px solid #ffc446;border-radius:6px;background:#f0f5f2;font-size:13px;line-height:1.45;overflow-wrap:anywhere;white-space:pre-line}
.pickup-reference-note strong{font-size:12px;color:var(--teal)}
.pickup-reference-note[hidden]{display:none!important}

.driver-workspace #panel-content .nearby-card .pickup-reference-note{display:grid;grid-template-columns:minmax(0,1fr);gap:4px}

/* Moto and business share the approved public workspace navigation. */
.moto-workspace #sidebar,.moto-workspace #workspace-mobile-actions,.moto-workspace .welcome-row{display:none!important}
.moto-workspace #panel-content{display:block;min-width:0}
.moto-workspace .moto-heading{margin:0;gap:12px;padding-block:0}
.moto-workspace .moto-heading h2{font-size:24px;letter-spacing:-.5px;margin:0}
.moto-workspace .moto-heading>div>p,.moto-workspace .moto-heading>.moto-symbol{display:none}
.moto-workspace .moto-panel{min-width:0;gap:16px}
.moto-workspace [hidden]{display:none!important}
.moto-workspace .moto-account-actions{max-width:740px;margin-bottom:18px}
.moto-workspace .moto-account-actions>.list-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.moto-workspace .moto-account-actions .button{justify-content:flex-start;min-height:46px;white-space:normal;text-align:left}
.moto-workspace .moto-other-profiles>summary{min-height:46px;display:flex;align-items:center;cursor:pointer}
.moto-workspace .moto-other-profiles>.list-actions{padding-top:10px}
.moto-workspace .moto-connection{margin:0 0 8px;position:relative;width:fit-content;max-width:100%}
.moto-workspace .moto-connection>summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 13px;border:1px solid var(--line);border-radius:24px;background:var(--surface);font-size:13px;font-weight:650;cursor:pointer;list-style:none}
.moto-workspace .moto-connection>summary::-webkit-details-marker{display:none}
.moto-workspace .moto-online-dot{width:8px;height:8px;flex:none;border-radius:50%;background:#7c9194}
.moto-workspace .moto-connection[data-online=true] .moto-online-dot{background:#188568}
.moto-workspace .moto-connection-menu{position:absolute;left:0;top:calc(100% + 7px);z-index:25;width:min(330px,calc(100vw - 28px));max-height:calc(100dvh - 190px);overflow:auto;padding:17px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:0 8px 30px #073e4626}
.moto-workspace .moto-connection-menu h3{font-size:17px;margin:0 0 12px}
.moto-workspace .moto-connection-menu .list-actions{display:grid;gap:10px}
.moto-workspace .moto-connection-menu .button{min-height:44px;justify-content:flex-start;white-space:normal;text-align:left}
.moto-workspace .moto-activity-total{font-size:40px;line-height:1.1;font-weight:750;margin:0;color:var(--teal)}
.moto-workspace .moto-business-records{max-width:740px}
body:has(#workspace.moto-workspace:not([hidden])) .region-pill,body:has(#workspace.moto-workspace:not([hidden])) #account-chip,body:has(#workspace.moto-workspace:not([hidden])) .topbar #logout-button{display:none!important}
@media(min-width:1050px){
 .main-content:has(#workspace.moto-workspace:not([hidden])){width:100%;max-width:1320px;padding:22px 24px 40px 208px}
 .moto-workspace .moto-navigation{position:fixed;inset:calc(72px + env(safe-area-inset-top)) auto 0 0;width:180px;display:flex;flex-direction:column;gap:5px;justify-content:flex-start;padding:22px 10px;border:0;border-right:1px solid var(--line);margin:0;z-index:5}
 .moto-workspace .moto-navigation button{flex:none;justify-content:flex-start;min-height:48px}
 .main-content:has(#workspace.moto-workspace:not([hidden]))+.site-footer{margin-left:180px}
}
@media(min-width:650px) and (max-width:1049px){
 .main-content:has(#workspace.moto-workspace:not([hidden])){width:100%;max-width:100%;padding:14px 22px 30px}
 .moto-workspace .moto-navigation{position:sticky;top:calc(72px + env(safe-area-inset-top));z-index:20;margin:0 0 18px;border:1px solid var(--line);border-radius:11px}
 .main-content:has(#workspace.moto-workspace:not([hidden]))+.site-footer{margin-left:0}
}
@media(max-width:649px){
 .main-content:has(#workspace.moto-workspace:not([hidden])){padding:14px 13px calc(100px + env(safe-area-inset-bottom));width:100%;max-width:100%}
 .moto-workspace .moto-navigation{position:fixed;inset:auto 0 0;z-index:30;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:6px max(6px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));margin:0;border:0;border-top:1px solid var(--line);box-shadow:0 -3px 15px #073e4608}
 .moto-workspace .moto-navigation button{flex-direction:column;gap:4px;min-height:54px;padding:7px 2px;font-size:10px;line-height:1.2;min-width:0;white-space:normal;text-align:center}
 .moto-workspace .moto-heading h2{font-size:22px}
 .moto-workspace .moto-account-actions>.list-actions{grid-template-columns:minmax(0,1fr)}
 body:has(#workspace.moto-workspace:not([hidden])) .notification-center{bottom:calc(82px + env(safe-area-inset-bottom))}
 .main-content:has(#workspace.moto-workspace:not([hidden]))+.site-footer{padding-bottom:calc(88px + env(safe-area-inset-bottom));margin-left:0}
}

.moto-workspace .moto-approved-documents{max-width:740px;padding:15px 18px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.moto-workspace .moto-approved-documents>summary{display:flex;align-items:center;gap:9px;min-height:44px;padding:0;list-style:none}
.moto-workspace .moto-approved-documents>summary>.ui-icon:last-child,.moto-workspace .moto-other-profiles>summary>.ui-icon{margin-left:auto}
.moto-workspace .moto-approved-documents>summary::-webkit-details-marker{display:none}
