body.demo-mode{margin:0;min-width:320px;background:#eef3f8;color:#132238;font-family:Inter,"Segoe UI",Roboto,"PingFang SC","Microsoft YaHei",sans-serif}
.demo-launch{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;padding:9px 14px;background:#fff;border-bottom:1px solid #dce5ee;color:#53667b;font-size:13px}
.demo-launch a{color:#075d7d;font-weight:700}
body.demo-mode .demo-launch{display:none}
body.demo-mode>.screen-wrap{display:none}
body.demo-mode>#demo-root{display:block}
body:not(.demo-mode)>#demo-root{display:none}
#demo-root,*#demo-root *{box-sizing:border-box}
#demo-root{min-height:100vh;background:var(--bg)}
.demo-head{background:linear-gradient(112deg,#091525 0%,#103657 64%,#0e7594 100%);color:#fff;padding:22px max(24px,calc((100vw - 1420px)/2));box-shadow:0 6px 24px rgba(7,24,43,.18)}
.demo-head-row{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.demo-brand{display:flex;align-items:center;gap:12px;min-width:250px}
.demo-mark{height:42px;width:42px;border-radius:12px;background:linear-gradient(135deg,#102235,#32d5ff);display:grid;place-items:center;color:#091525;font-weight:900;font-size:18px;border:1px solid rgba(255,255,255,.22)}
.demo-brand strong{display:block;font-size:17px;letter-spacing:.1px}.demo-brand small{display:block;color:#a8c5da;font-size:11px;margin-top:2px;letter-spacing:.5px}
.demo-pill{border:1px solid rgba(255,255,255,.24);border-radius:999px;padding:5px 10px;color:#d7f7ff;font-size:11px;font-weight:700;letter-spacing:.55px;background:rgba(4,14,25,.2)}
.demo-head-spacer{flex:1}
.demo-reset,.demo-role{border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.08);color:#d7eafa;border-radius:10px;padding:9px 13px;font:inherit;font-size:12px;font-weight:700;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}
.demo-reset:hover,.demo-role:hover{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.44)}
.demo-rolebar{display:flex;gap:7px;flex-wrap:wrap;margin-top:19px}
.demo-role[aria-pressed="true"]{color:#071724;background:#32d5ff;border-color:#32d5ff;box-shadow:0 5px 14px rgba(50,213,255,.22)}
.demo-shell{max-width:1420px;margin:0 auto;padding:22px 24px 46px}
.demo-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.demo-intro h1{margin:0;font-size:25px;letter-spacing:-.45px;color:#10243b}.demo-intro p{margin:5px 0 0;color:#64748b;font-size:13px;max-width:760px}
.demo-scope{flex:none;color:#3b546e;font-size:11px;font-weight:700;background:#fff;border:1px solid #dce5ee;border-radius:999px;padding:7px 11px}
.demo-notice{display:flex;align-items:flex-start;gap:10px;background:#eaf8fc;border:1px solid #b8eaf5;color:#15546c;border-radius:12px;padding:12px 14px;margin-bottom:17px;font-size:13px;line-height:1.5}
.demo-notice.error{background:#fff1f0;border-color:#f1c8c5;color:#9d302e}.demo-notice::before{content:"";width:8px;height:8px;flex:none;margin-top:5px;border-radius:50%;background:#16a8c3}.demo-notice.error::before{background:#d94842}
.demo-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.demo-kpi{background:#fff;border:1px solid #dce5ee;border-radius:14px;padding:14px 16px;box-shadow:0 2px 6px rgba(13,37,62,.035)}
.demo-kpi strong{display:block;font-size:25px;letter-spacing:-.6px;color:#10243b;line-height:1.15}.demo-kpi span{display:block;font-size:11px;color:#68788d;margin-top:4px}
.demo-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px;align-items:start}
.demo-card{background:#fff;border:1px solid #dce5ee;border-radius:15px;box-shadow:0 2px 8px rgba(13,37,62,.035);padding:16px;min-width:0}
.demo-card.span-12{grid-column:span 12}.demo-card.span-8{grid-column:span 8}.demo-card.span-7{grid-column:span 7}.demo-card.span-6{grid-column:span 6}.demo-card.span-5{grid-column:span 5}.demo-card.span-4{grid-column:span 4}
.demo-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.demo-card h2{margin:0;font-size:15px;letter-spacing:-.1px;color:#142a43}.demo-card-head p{margin:4px 0 0;color:#718198;font-size:11.5px;line-height:1.45}
.demo-tag{flex:none;border-radius:999px;background:#edf5fb;color:#3e627e;padding:4px 8px;font-size:10px;font-weight:700;white-space:nowrap}
.demo-tag.good{background:#e7f7f5;color:#167569}.demo-tag.warn{background:#fff3df;color:#9e6815}.demo-tag.bad{background:#fff0ee;color:#b63c35}.demo-tag.info{background:#eaf7fc;color:#13759a}
.demo-table-wrap{width:100%;overflow:auto}
.demo-table{border-collapse:collapse;width:100%;font-size:12px;min-width:550px}
.demo-table th{text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.55px;color:#718198;font-weight:700;padding:9px 8px;border-bottom:1px solid #e7edf3;white-space:nowrap}
.demo-table td{padding:10px 8px;border-bottom:1px solid #edf1f5;vertical-align:top;color:#263c52}.demo-table tr:last-child td{border-bottom:0}
.demo-table td b{color:#10243b}.demo-muted{color:#77869a;font-size:11px;line-height:1.5}.demo-small{font-size:10.5px;color:#748398}
.demo-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #edf1f5}.demo-row:last-child{border-bottom:0}.demo-row-main{min-width:0}.demo-row-main strong{font-size:12.5px;color:#142a43}.demo-row-main p{margin:3px 0 0;color:#728197;font-size:11px;line-height:1.45}
.demo-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:8px}
.demo-btn{border:1px solid #bdd7e2;background:#e9f8fc;color:#0d5771;border-radius:9px;padding:8px 11px;font:inherit;font-size:11.5px;font-weight:750;cursor:pointer;transition:filter .15s,transform .15s,border-color .15s}
.demo-btn:hover:not(:disabled){filter:brightness(.97);border-color:#82cde0;transform:translateY(-1px)}.demo-btn.primary{background:#32d5ff;border-color:#32d5ff;color:#092134}.demo-btn.ghost{background:#fff;border-color:#d8e1e9;color:#3e5368}.demo-btn.danger{background:#fff0ef;color:#b23a36;border-color:#f1c7c4}.demo-btn:disabled{opacity:.48;cursor:not-allowed;transform:none}
.demo-control{font:inherit;color:#1d344c;background:#fff;border:1px solid #d7e1ea;border-radius:8px;padding:7px 9px;font-size:11.5px;max-width:100%}.demo-label{display:flex;align-items:center;gap:6px;color:#62758b;font-size:10.5px;font-weight:700;margin-bottom:4px}.demo-field{display:flex;flex-direction:column;gap:4px;min-width:110px}.demo-field input,.demo-field select{width:100%}.demo-field input[type=checkbox]{width:auto;accent-color:#1599be}
.demo-form-row{display:flex;align-items:flex-end;gap:9px;flex-wrap:wrap;margin-top:8px}.demo-hold-review{margin-top:8px}.demo-hold-review .demo-label{margin-bottom:0}
.demo-chip{display:inline-flex;align-items:center;border-radius:999px;padding:3px 8px;font-size:10px;font-weight:750;background:#edf1f5;color:#5d6e80;white-space:nowrap}.demo-chip.requested{background:#f0edff;color:#634fc4}.demo-chip.confirmed,.demo-chip.available,.demo-chip.completed,.demo-chip.closed{background:#e7f7f5;color:#147568}.demo-chip.assigned,.demo-chip.reserved,.demo-chip.active,.demo-chip.in_progress{background:#eaf7fc;color:#117394}.demo-chip.review_required,.demo-chip.paused,.demo-chip.charging,.demo-chip.work_completed{background:#fff3df;color:#946119}.demo-chip.cancelled,.demo-chip.interrupted,.demo-chip.out_of_service{background:#fff0ee;color:#b13b36}
.demo-note{border-left:3px solid #32b9d6;background:#f1f9fc;padding:9px 11px;border-radius:0 8px 8px 0;color:#466477;font-size:11px;line-height:1.5;margin-top:9px}.demo-note.warning{border-left-color:#e4a43b;background:#fff9ed;color:#765624}.demo-empty{padding:15px 12px;text-align:center;color:#77869a;background:#f7f9fb;border-radius:10px;font-size:12px}
.demo-identity{display:flex;align-items:center;gap:8px;margin:0 0 12px}.demo-identity select{min-width:140px}
.demo-sim-foot{margin-top:18px;text-align:center;color:#7e8b9b;font-size:10.5px}
.demo-footer-links{color:#a6bfd1;font-size:10px;margin-top:10px}
.demo-notice{position:sticky;top:8px;z-index:5}
.demo-section-title{font-size:18px;margin:22px 0 12px}
details.demo-card>summary{cursor:pointer;font-size:14px;font-weight:700;min-height:32px}
details.demo-card>summary .demo-muted{display:block;font-weight:400;margin:5px 0 0 16px}
.demo-details-body{margin-top:14px}
.demo-inline-details{margin:9px 0;font-size:12px;max-width:100%}
.demo-inline-details>summary{cursor:pointer;color:#15546c;padding:5px 0}
#demo-root :is(button,input,select,summary):focus-visible{outline:3px solid #0d7d9d;outline-offset:3px}
[data-booking-card]{scroll-margin-top:75px}
@media(max-width:920px){.demo-card.span-8,.demo-card.span-7,.demo-card.span-6,.demo-card.span-5,.demo-card.span-4{grid-column:span 12}.demo-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.demo-shell{padding:18px 14px 34px}.demo-head{padding:16px 16px}.demo-brand{min-width:unset}.demo-intro{display:block}.demo-scope{display:inline-block;margin-top:10px}}
@media(max-width:560px){.demo-head-row{gap:10px}.demo-brand strong{font-size:15px}.demo-brand small{font-size:9px}.demo-head-spacer{display:none}.demo-reset{margin-left:auto}.demo-rolebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.demo-role{text-align:center}.demo-kpi{padding:12px}.demo-kpi strong{font-size:21px}.demo-form-row .demo-field{flex:1 1 120px}.demo-intro h1{font-size:21px}}

.demo-header-note{font-size:11px;color:#c5ddeb;margin:12px 0 -8px}
.demo-form-group{min-width:0;margin:12px 0 16px;padding:12px;border:1px solid #dce5ee;border-radius:8px}
.demo-form-group legend{font-size:12px;font-weight:700;padding:0 5px}
.demo-form-group .demo-field{flex:1 1 170px}

/* Reuse the member's English four-workspace shell; only adapt it for live content. */
#demo-root [hidden]{display:none!important}
#demo-root .top{height:auto;min-height:64px;flex-wrap:wrap;padding:12px 24px}
#demo-root .top{position:sticky;top:0;z-index:20}
#demo-root .demo-app{min-height:calc(100vh - 64px);height:auto;align-items:stretch}
#demo-root .side{height:auto;overflow:visible}
#demo-root .main{height:auto;overflow:visible;min-width:0}
#demo-root .banner{padding:22px 28px}
#demo-root .banner h1{margin:5px 0 8px;font-size:25px;line-height:1.25}
#demo-root .content{overflow:visible;padding:14px 24px 28px}
#demo-root .demo-clock{font-size:12px;color:var(--muted);margin:0 0 12px}
#demo-root .nav-item{width:100%;border:0;background:transparent;text-align:left;cursor:pointer;font-family:inherit}
#demo-root .nav-item.active{background:linear-gradient(90deg,rgba(50,213,255,.18),transparent)}
#demo-root .demo-full-width{grid-column:span 12}
#demo-root .demo-grid{margin-bottom:16px}
#demo-root .demo-panel>.demo-card{margin-bottom:14px}
#demo-root [data-panel]{scroll-margin-top:80px}
#demo-root .demo-kpis{grid-template-columns:repeat(auto-fit,minmax(155px,1fr))}
#demo-root .demo-card,#demo-root .demo-kpi{box-shadow:none;border-color:var(--line)}
#demo-root .demo-notice{position:static;font-size:13px}
#demo-root .demo-table{font-size:13px;min-width:600px}
#demo-root .demo-table th,#demo-root .demo-muted,#demo-root .demo-row-main p,#demo-root .demo-label,#demo-root .demo-card-head p{font-size:12px}
#demo-root .demo-control,#demo-root .demo-btn{font-size:13px;min-height:36px}
#demo-root .demo-row-main strong{font-size:14px}
#demo-root [data-charge-card]{display:block;padding:18px 0}
#demo-root .demo-controls{margin-top:20px;border-top:1px solid var(--line);padding-top:14px;font-size:13px}
#demo-root .demo-controls summary{cursor:pointer;font-weight:600}
#demo-root .demo-access-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}
#demo-root dialog{border:1px solid var(--line);border-radius:16px;max-width:640px;width:calc(100% - 32px);padding:26px;color:var(--ink)}
#demo-root dialog::backdrop{background:rgba(11,18,32,.6)}
#demo-root .demo-access-option{display:flex;flex-direction:column;gap:8px;align-items:flex-start;text-align:left;border:1px solid var(--line);background:var(--bg);padding:18px;border-radius:10px;cursor:pointer;color:var(--ink);font:inherit}
#demo-root .demo-access-option span{color:var(--muted);font-size:12px}

#demo-root .phone .demo-grid{display:block}
#demo-root .phone .demo-card{margin-bottom:12px;padding:14px}
#demo-root .phone .demo-form-row{display:grid;grid-template-columns:1fr;width:100%}
#demo-root .phone .demo-form-group .demo-field{min-width:0}
#demo-root .phone .demo-form-group{padding:10px;margin:10px 0}
#demo-root .phone .demo-row{flex-wrap:wrap}
#demo-root .phone .tabbar button{border:0;background:#fff;cursor:pointer;font:inherit;font-size:11px}
#demo-root .phone .demo-identity{flex-wrap:wrap}
@media(max-width:1000px){#demo-root .demo-app{grid-template-columns:190px minmax(0,1fr)}#demo-root .content{padding:14px}#demo-root .banner{padding:20px}}
@media(max-width:700px){#demo-root .demo-app{display:block}#demo-root .side{display:flex;overflow:auto;padding:0}#demo-root .side-head,#demo-root .side-group{display:none}#demo-root .nav-item{width:auto;flex:0 0 auto;padding:10px;font-size:12px}#demo-root .nav-ic{display:none}#demo-root .brand-name{font-size:16px}#demo-root .top{padding:12px}#demo-root .top-actions{gap:8px;flex-wrap:wrap}#demo-root .tabs2nav{padding:10px;gap:6px}#demo-root .tabs2nav button{padding:9px 10px;font-size:12px}#demo-root .pbody{padding:12px}#demo-root .banner h1{font-size:22px}#demo-root .demo-access-grid{grid-template-columns:1fr}#demo-root .demo-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#demo-root .top{gap:8px}#demo-root .brand-sub,#demo-root .top-actions>.demo-muted,#demo-root .tabs2nav{display:none}#demo-root .brand-name{font-size:14px}#demo-root .logo-mark{height:30px;width:30px}#demo-root .top-actions .demo-btn{font-size:11px;padding:6px 8px}}

/* Keep summaries on Overview and give task pages a compact heading. */
#demo-root .banner.demo-banner-compact{padding:12px 24px}
#demo-root .demo-banner-compact h1{font-size:21px;margin:3px 0}
/* The rider route is a standalone portrait surface, without desktop controls. */
body.rider-mode{overflow:hidden;min-width:320px}
body.rider-mode #demo-root{height:100dvh;min-height:0}
body.rider-mode .phone-wrap{height:100%;padding:12px;align-items:center}
#demo-root .phone{width:414px;max-width:100%;height:min(896px,100%);min-height:0;flex:none}
#demo-root .phone .screen{min-height:0}
#demo-root .phone .phead{padding:12px 16px; padding-top:max(12px,env(safe-area-inset-top))}
#demo-root .phone .pbody{min-height:0;overscroll-behavior:contain;scroll-padding:12px;padding:12px}
#demo-root .phone .demo-notice{font-size:13px;padding:9px 10px;margin-bottom:12px}
#demo-root .phone .demo-control{font-size:16px;width:100%;min-width:0;min-height:48px}
#demo-root .phone .demo-btn{font-size:14px;min-height:48px;white-space:normal}
#demo-root .phone .demo-field{min-width:0}
#demo-root .phone .demo-form-group .demo-field{flex:auto}
#demo-root .phone .demo-card-head{flex-wrap:wrap;gap:8px}
#demo-root .phone .demo-card p{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
#demo-root .phone .demo-card h2{font-size:16px}
#demo-root .phone .demo-label{font-size:13px}
#demo-root .phone .demo-actions .demo-btn.primary{width:100%}
#demo-root .phone .tabbar{padding:4px 0 max(4px,env(safe-area-inset-bottom));gap:2px}
#demo-root .phone .tabbar button{min-height:52px;min-width:0;justify-content:center}
#demo-root .phone summary{min-height:48px;padding:12px 0}
@media(max-width:480px){body.rider-mode .phone-wrap{padding:0}#demo-root .phone{width:100%;height:100%;padding:0;border-radius:0;box-shadow:none}#demo-root .phone .screen{border-radius:0}}

@media(max-width:700px){#demo-root .top-actions [data-access]{min-height:48px}}

/* Date fields avoid browser-locale text and keep the calendar controls in English. */
#demo-root .demo-date-field{position:relative;display:flex;align-items:center;gap:6px;min-width:0;width:100%}
#demo-root .demo-date-field>.demo-control{flex:1 1 150px;width:100%;min-width:0}
#demo-root .demo-calendar-toggle{flex:0 0 auto;white-space:nowrap}
#demo-root .demo-date-popover{position:absolute;left:0;top:calc(100% + 5px);z-index:30;width:min(344px,calc(100vw - 48px));padding:10px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 28px rgba(13,37,62,.18);color:var(--ink)}
#demo-root .demo-date-popover[hidden]{display:none!important}
#demo-root .demo-calendar-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
#demo-root .demo-calendar-head strong{text-align:center;font-size:14px}
#demo-root .demo-calendar-head button{min-width:48px;min-height:48px;font-size:19px}
#demo-root .demo-calendar-grid{display:grid;gap:4px}
#demo-root .demo-calendar-weekdays,#demo-root .demo-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
#demo-root .demo-calendar-weekdays span{padding:5px 0;color:var(--muted);font-size:11px}
#demo-root .demo-calendar-days button{min-width:0;min-height:48px;padding:3px;border:1px solid transparent;border-radius:8px;background:#fff;color:var(--ink);font:inherit;cursor:pointer}
#demo-root .demo-calendar-days button:hover{background:var(--brand-soft);border-color:var(--line)}
#demo-root .demo-calendar-days button[aria-pressed="true"]{background:var(--brand);font-weight:700}
#demo-root .demo-calendar-hint{font-size:11px;line-height:1.4;color:var(--muted);margin:8px 2px 2px}
