/* Driver portal. Loaded after portal.css; every rule is scoped to the driver document. */
.driver-body{--green:#C45020;--accent:#ED7137;--ink:#282F2B;--muted:#656D64;--line:#E8E3D9;--paper:#FBF8F1;--surface:#FFFDF9;--soft:#FFF0E3;--on-accent:#FFF;--quiet:#EEEAE2;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:16px;line-height:1.65;margin:0;-webkit-text-size-adjust:100%}
.driver-body *, .driver-body *::before,.driver-body *::after{box-sizing:border-box}
.driver-body .production-bar,.driver-body .preview-bar{display:none!important}
.driver-body a{color:inherit;text-decoration:none}
.driver-body button,.driver-body input,.driver-body select,.driver-body textarea{font:inherit}
.driver-body button{cursor:pointer}
.driver-body button:disabled{cursor:wait;opacity:.65}
.driver-body [hidden]{display:none!important}
.driver-body h1,.driver-body h2,.driver-body h3,.driver-body p{margin:0}
.driver-body h1{font-size:22px;line-height:1.4;font-weight:700;letter-spacing:0}
.driver-body h2,.driver-body h3{font-size:17px;line-height:1.5;font-weight:650}
.driver-body :focus-visible{outline:3px solid #97C8B6;outline-offset:3px}
.driver-body .d-shell{width:100%;max-width:660px;margin:0 auto;min-height:100dvh}
.driver-body .d-main{padding:20px 20px calc(104px + env(safe-area-inset-bottom));min-height:100dvh}
.driver-body .d-icon{display:inline-block;width:23px;height:23px;flex-shrink:0;vertical-align:middle}
.driver-body .d-home-line{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;font-size:14px;color:var(--muted)}
.driver-body .d-home-logo{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:var(--green);color:#fff;font-size:23px;font-weight:700;line-height:1;flex-shrink:0}
.driver-body .d-sync-note{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;margin:0 0 16px;border:1px solid #EDDEBF;border-radius:12px;background:#FFF8EB;color:#775018;font-size:13px;line-height:1.6}
.driver-body .d-sync-note>div{flex:1;min-width:0}
.driver-body .d-sync-note p+p{margin-top:4px}
.driver-body .d-sync-note .d-btn{flex-shrink:0;background:#FFFDF8;border-color:#D4B47D;color:#775018;white-space:nowrap;padding:9px 11px;font-size:13px}
.driver-body .d-home-line>a{display:flex;align-items:center;gap:6px;min-height:44px;color:var(--green)}
.driver-body .d-home-line b{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:6px;padding:0 5px;border-radius:10px;background:#B06D20;color:var(--on-accent);font-size:12px;font-weight:600}
.driver-body .d-page-head{display:flex;align-items:center;gap:10px;min-height:44px;margin-bottom:18px}
.driver-body .d-page-head>h1{flex:1;min-width:0;font-size:20px}
.driver-body .d-back{display:grid;place-items:center;width:38px;min-height:44px;margin-left:-8px;color:var(--muted)}
.driver-body .d-page-head>.d-text-link{font-size:14px;white-space:nowrap}
.driver-body .d-hero{padding:24px;border-radius:20px;background:var(--green);color:var(--on-accent);position:relative;overflow:hidden}
.driver-body .d-hero-label{display:block;font-size:13px;color:#C7E1D6;margin-bottom:9px}
.driver-body .d-hero h1{font-size:25px;max-width:100%;line-height:1.4;text-wrap:balance;overflow-wrap:anywhere}
.driver-body .d-hero>p{font-size:15px;line-height:1.7;color:#E0EDE7;margin-top:10px}
.driver-body .d-hero-source{display:block;font-size:12px;color:#C7E1D6;line-height:1.6;margin-top:10px}
.driver-body .d-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:21px}
.driver-body .d-hero-context{display:inline-flex;align-items:center;gap:3px;min-height:44px;margin-top:8px;color:#E0EDE7;font-size:14px}
.driver-body .d-hero-context .d-icon{width:18px;height:18px}
.driver-body .d-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:10px 18px;border:1px solid var(--green);border-radius:11px;background:var(--green);color:var(--on-accent);font-size:15px;line-height:1.4;font-weight:600;text-align:center;appearance:none;max-width:100%}
.driver-body .d-btn .d-icon{width:20px;height:20px}
.driver-body .d-btn.d-light{background:var(--surface);color:var(--green);border-color:white}
.driver-body .d-btn.d-ghost{background:transparent;border-color:#82B6A2;color:white}
.driver-body .d-btn.d-outline{background:var(--surface);color:var(--green);border-color:#A9C8BC}
.driver-body .d-full{width:100%}
.driver-body .d-small{font-size:14px;padding:9px 13px;min-height:44px}
.driver-body .d-important{display:flex;align-items:center;gap:12px;border-radius:13px;background:#FFF5E4;border:1px solid #EDDEBF;padding:14px;margin-top:14px;color:#775018;min-height:80px}
.driver-body .d-important>div{flex:1;min-width:0}
.driver-body .d-important span{display:block;font-size:13px;margin-bottom:3px}
.driver-body .d-important strong{display:block;font-size:15px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.driver-body .d-important>.d-icon:last-child{width:19px}
.driver-body .d-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:25px 0 24px}
.driver-body .d-quick-grid>a{text-align:center;min-height:80px;font-size:14px;color:var(--ink)}
.driver-body .d-quick-grid>a>span{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 8px;background:var(--soft);border:1px solid #DFEAE4;border-radius:14px;color:var(--green)}
.driver-body .d-quick-grid b{font-weight:500}
.driver-body .d-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 12px;min-height:44px}
.driver-body .d-section-head h2{font-size:18px}
.driver-body .d-text-link{display:inline-flex;align-items:center;gap:4px;min-height:44px;color:var(--green);font-size:14px;line-height:1.5}
.driver-body .d-text-link .d-icon{width:17px;height:17px}
.driver-body .d-card{border:1px solid var(--line);border-radius:16px;background:var(--surface);padding:18px;margin-bottom:13px;box-shadow:none}
.driver-body .d-content-card{display:block;text-align:left;width:100%;color:var(--ink)}
.driver-body .d-card-meta{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-bottom:11px}
.driver-body .d-badge{display:inline-flex;align-items:center;min-height:23px;border-radius:6px;padding:2px 7px;background:var(--soft);color:var(--green);font-size:12px;line-height:1.5;font-weight:500}
.driver-body .d-badge.d-amber{background:#FFF3DD;color:#865B1B}
.driver-body .d-card .d-muted{margin-top:7px}
.driver-body .d-content-card h3{font-size:17px;overflow-wrap:anywhere}
.driver-body .d-card-foot{display:flex;align-items:center;justify-content:flex-end;gap:5px;font-size:13px;color:var(--green);margin-top:15px}
.driver-body .d-card-foot .d-icon{width:17px;height:17px}
.driver-body .d-card-foot .d-icon:first-child:not(:last-child){margin-right:auto}
.driver-body .d-muted,.driver-body .d-intro,.driver-body .d-footnote{color:var(--muted);font-size:14px;line-height:1.7}
.driver-body .d-intro{margin:-4px 0 17px}
.driver-body .d-footnote{text-align:left;font-size:13px;margin:20px 0 0}
.driver-body .d-between{display:flex;justify-content:space-between;align-items:center;gap:12px}
.driver-body .d-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0 0}
.driver-body .d-actions>.d-btn{flex-shrink:0}
.driver-body .d-empty{padding:27px 18px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--muted);font-size:14px;text-align:center;margin:15px 0}
.driver-body .d-menu{padding:3px 18px}
.driver-body .d-menu-row{display:flex;gap:13px;align-items:center;min-height:80px;padding:14px 0;border-bottom:1px solid var(--line)}
.driver-body .d-menu-row:last-child{border-bottom:0}
.driver-body .d-menu-row>div{flex:1;min-width:0}
.driver-body .d-menu-row b{font-size:16px;font-weight:600;display:block}
.driver-body .d-menu-row small{display:block;font-size:13px;color:var(--muted);margin-top:3px}
.driver-body .d-menu-row>.d-icon{color:#80948A;width:18px;height:18px}
.driver-body .d-menu-icon{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border-radius:12px;background:var(--soft);color:var(--green)}
.driver-body .d-menu-icon>.d-icon{width:23px;height:23px}
.driver-body .d-nav{position:fixed;left:50%;bottom:0;transform:translateX(-50%);z-index:8;display:grid;grid-template-columns:repeat(4,1fr);width:100%;max-width:660px;padding:9px 9px calc(9px + env(safe-area-inset-bottom));background:rgba(255,255,255,.98);border-top:1px solid var(--line)}
.driver-body .d-nav>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:52px;font-size:12px;line-height:1.5;color:#6A7B71}
.driver-body .d-nav>a .d-icon{width:23px;height:23px}
.driver-body .d-nav>a.active{color:var(--green);font-weight:650}
.driver-body .d-nav>a.active .d-icon{stroke-width:2.1}
.driver-body .d-note{padding:15px;background:#FFF5E4;border:1px solid #EDDEBF;border-radius:12px;color:#775018;font-size:14px;margin-bottom:18px}
.driver-body .d-note p{font-size:14px;margin-top:6px}
.driver-body .d-bubble{padding:16px 17px;border:1px solid var(--line);background:var(--surface);border-radius:14px;margin:14px 0;font-size:16px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.driver-body .d-bubble.d-mine{margin-left:24px;background:var(--soft);border-color:#D8E7DE}
.driver-body .d-bubble-label{display:block;font-size:12px;color:var(--muted);margin-bottom:5px}
.driver-body .d-pending{white-space:normal;scroll-margin-top:16px}
.driver-body .d-pending-line{display:flex;align-items:center;gap:12px;min-height:30px}
.driver-body .d-pending-line strong{font-size:15px;font-weight:600;line-height:1.6}
.driver-body .d-pending small{display:block;margin-top:8px;color:var(--muted);font-size:13px;line-height:1.7}
.driver-body .d-thinking-dots{display:inline-flex;gap:4px;flex-shrink:0;color:var(--green)}
.driver-body .d-thinking-dots i{display:block;width:6px;height:6px;border-radius:50%;background:currentColor;animation:bxs-thinking 1.4s ease-in-out infinite}
.driver-body .d-thinking-dots i:nth-child(2){animation-delay:.16s}
.driver-body .d-thinking-dots i:nth-child(3){animation-delay:.32s}
@keyframes bxs-thinking{0%,70%,100%{opacity:.35;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){.driver-body .d-thinking-dots i{animation:none;opacity:.7}}
.driver-body .d-consult-tabs{display:flex;gap:8px;margin-bottom:18px;border-bottom:1px solid var(--line)}
.driver-body .d-consult-tabs a{flex:1;min-height:46px;padding:10px 8px;text-align:center;color:var(--muted);border-bottom:2px solid transparent}
.driver-body .d-consult-tabs a.active{color:var(--green);border-bottom-color:var(--green);font-weight:600}
.driver-body .d-ai-receipt{padding:0;overflow:hidden}
.driver-body .d-ai-receipt summary{cursor:pointer;list-style:none;padding:16px;min-height:90px}
.driver-body .d-ai-receipt summary::-webkit-details-marker{display:none}
.driver-body .d-ai-receipt summary strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-top:10px;font-size:16px;line-height:1.6;overflow-wrap:anywhere}
.driver-body .d-ai-receipt[open] summary strong{display:block;-webkit-line-clamp:unset}
.driver-body .d-history-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 10px;color:var(--muted);font-size:12px}
.driver-body .d-history-expand{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-top:10px;color:var(--green);font-size:13px}
.driver-body .d-history-expand .d-icon{width:17px;height:17px}
.driver-body .d-ai-receipt[open] .d-history-expand .d-icon{transform:rotate(90deg)}
.driver-body .d-history-answer{padding:16px;border-top:1px solid var(--line);background:var(--surface)}
.driver-body .d-history-status{padding:18px 0;color:var(--muted);font-size:14px;text-align:center}
.driver-body .d-source{display:block;margin-top:13px;padding-top:11px;border-top:1px solid var(--line);color:var(--green);font-size:14px;white-space:normal}
.driver-body .d-source q{display:block;margin-top:6px;font-size:13px;color:var(--muted);white-space:pre-wrap}
.driver-body .d-ask-form{margin-top:19px}
.driver-body .d-ask-form>label{font-size:14px;font-weight:600;display:block;margin-bottom:9px}
.driver-body input,.driver-body textarea,.driver-body select{width:100%;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);padding:11px 12px;min-height:46px;box-shadow:none;font-size:16px;line-height:1.5}
.driver-body textarea{resize:vertical;min-height:100px}
.driver-body .d-ask-form textarea{min-height:95px;margin-bottom:9px}
.driver-body .d-field{display:block;font-size:14px;font-weight:600;margin:18px 0}
.driver-body .d-field:first-child{margin-top:0}
.driver-body .d-field>input,.driver-body .d-field>textarea,.driver-body .d-field>select{display:block;margin-top:7px;font-weight:400}
.driver-body .d-field>input[type=file]{font-size:14px;padding:10px;white-space:normal}
.driver-body .d-field input::file-selector-button{background:var(--soft);color:var(--green);border:0;border-radius:6px;padding:7px 10px;margin-right:8px;font:inherit;font-size:13px;cursor:pointer}
.driver-body .d-file-note{display:block;font-size:13px;color:var(--muted);font-weight:400;margin-top:6px;overflow-wrap:anywhere}
.driver-body .d-check{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.6;margin:22px 0}
.driver-body .d-check>input{flex-shrink:0;width:20px;height:20px;min-height:0;margin:2px 0 0;accent-color:var(--green)}
.driver-body .d-submit-status{min-height:22px;margin-top:10px}
.driver-body .d-profile-head{display:flex;gap:13px;align-items:center;flex-wrap:wrap;margin:6px 0 22px}
.driver-body .d-profile-head>div{flex:1;min-width:100px}
.driver-body .d-profile-head h1{font-size:21px}
.driver-body .d-profile-head p{margin-top:3px;font-size:13px}
.driver-body .d-avatar{display:grid;place-items:center;width:50px;height:50px;flex-shrink:0;border-radius:15px;background:var(--soft);color:var(--green)}
.driver-body .d-avatar>.d-icon{width:28px;height:28px}
.driver-body .d-phone-info>div{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:15px}
.driver-body .d-phone-info .d-btn{margin-top:11px}
.driver-body .d-cert-card{display:block;background:#FDFEFE}
.driver-body .d-cert-card h2{margin-top:12px;font-size:18px}
.driver-body .d-status-card>p{margin-top:10px}
.driver-body .d-login-panel{padding:28px 22px}
.driver-body .d-login-panel .d-avatar{margin-bottom:15px}
.driver-body .d-login-panel .d-btn{margin-top:18px}
.driver-body .d-group-card>.d-btn{margin-top:16px}
.driver-body .d-group-card>.d-btn+.d-btn{margin-top:9px}
.driver-body .d-group-card h2{font-size:18px;min-width:0;overflow-wrap:anywhere}
.driver-body .d-group-card .d-between{align-items:flex-start}
.driver-body .d-group-card .d-badge{white-space:nowrap}
.driver-body .d-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:19px 0 14px}
.driver-body .d-tabs button{min-height:44px;padding:8px 18px;background:var(--surface);border:1px solid var(--line);border-radius:10px;font-size:14px;color:var(--muted)}
.driver-body .d-tabs button.active{background:var(--green);border-color:var(--green);color:white}
.driver-body .d-reminder-settings{font-size:14px}
.driver-body .d-reminder-settings>summary{min-height:44px;cursor:pointer;display:list-item;line-height:44px;color:var(--green);font-size:15px;font-weight:600;list-style-position:inside}
.driver-body .d-reminder-settings>p{margin-top:7px}
.driver-body .d-preference-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 0}
.driver-body .d-preference-row b{display:block;font-size:15px}
.driver-body .d-preference-row small{display:block;color:var(--muted);font-size:13px;line-height:1.6;margin-top:3px}
.driver-body .d-toggle{position:relative;display:inline-flex;align-items:center;width:54px;min-height:44px;flex-shrink:0;cursor:pointer}
.driver-body .d-toggle>input{position:absolute;opacity:0;width:54px;height:44px;margin:0;min-height:0;cursor:pointer}
.driver-body .d-toggle>span{width:48px;height:28px;border-radius:20px;background:#CAD6CF;transition:background .15s;pointer-events:none;position:relative}
.driver-body .d-toggle>span:after{content:'';position:absolute;width:22px;height:22px;border-radius:50%;background:var(--surface);top:3px;left:3px;transition:transform .15s}
.driver-body .d-toggle>input:checked+span{background:var(--green)}
.driver-body .d-toggle>input:checked+span:after{transform:translateX(20px)}
.driver-body .d-toggle>input:focus-visible+span{outline:3px solid #97C8B6;outline-offset:3px}
.driver-body .d-toggle>input:disabled+span{opacity:.6}
.driver-body .d-wechat-policy{padding-top:14px;border-top:1px solid var(--line)}
.driver-body .d-wechat-policy p{color:var(--muted);font-size:13px;margin:6px 0 11px;line-height:1.7}
.driver-body .d-search-label{display:block;margin-top:3px}
.driver-body .d-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.driver-body .d-source-note{font-size:13px;color:var(--muted);line-height:1.7;margin:12px 0 20px}
.driver-body .d-article>h1{font-size:23px;margin:6px 0 0;overflow-wrap:anywhere}
.driver-body .d-article-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.9}
.driver-body .d-article>.d-btn{margin-top:22px}
.driver-body .d-article video{display:block;width:100%;margin-top:22px;border-radius:10px}
.driver-body .d-activity-signup{margin-top:24px;padding-top:21px;border-top:1px solid var(--line)}
.driver-body .d-activity-signup .d-btn{margin-top:17px}
.driver-body .d-ticket h2{font-size:16px;margin:14px 0 9px;overflow-wrap:anywhere}
.driver-body .d-ticket time{font-size:12px;color:var(--muted)}
.driver-body .d-ticket .d-article-body{font-size:14px}
.driver-body dialog{width:min(550px,calc(100% - 28px));max-height:86dvh;border:1px solid var(--line);border-radius:18px;padding:23px;color:var(--ink);background:var(--surface);box-shadow:0 20px 90px #163F3026;overscroll-behavior:contain}
.driver-body dialog::backdrop{background:#152C2466;backdrop-filter:none}
.driver-body .modal-top{justify-content:flex-end;margin:0 0 5px;min-height:36px}
.driver-body .modal-top>.eyebrow{display:none}
.driver-body .icon-button{display:grid;place-items:center;width:44px;height:44px;border:0;background:var(--soft);color:var(--muted);border-radius:10px;font-size:24px}
.driver-body dialog h2{font-size:21px;margin:0 0 14px}
.driver-body dialog p{font-size:15px;color:var(--muted);line-height:1.75;margin:12px 0}
.driver-body dialog details{font-size:14px;margin-top:17px}
.driver-body dialog summary{min-height:44px;line-height:44px;cursor:pointer}
.driver-body .d-qr{display:block;width:100%;max-width:420px;height:auto;max-height:none;margin:18px auto;background:#fff}
.driver-body .d-qr-preview{display:block;width:100%;max-width:420px;margin:18px auto;padding:0;border:0;background:#fff;cursor:zoom-in}
.driver-body .d-qr-preview>.d-qr{margin:0;max-width:100%}
.driver-body #toast{bottom:calc(95px + env(safe-area-inset-bottom));font-size:14px;line-height:1.6;background:var(--green);color:var(--on-accent);max-width:calc(100vw - 36px);padding:12px 18px;z-index:30}
.driver-body .d-load-error{max-width:500px;margin:60px auto;padding:24px}
.driver-body .d-load-error p{margin:12px 0 18px}
.driver-body .page-loading{font-size:15px;color:var(--muted);padding:60px 20px}
@media(min-width:751px){.driver-body .d-shell{border-left:1px solid var(--line);border-right:1px solid var(--line)}.driver-body .d-main{padding:28px 28px 112px}.driver-body .d-nav{border-left:1px solid var(--line);border-right:1px solid var(--line)}}
@media(max-width:360px){.driver-body .d-main{padding-left:15px;padding-right:15px}.driver-body .d-hero{padding:20px}.driver-body .d-hero h1{font-size:23px}.driver-body .d-hero-actions{gap:8px}.driver-body .d-hero-actions .d-btn{padding:10px 12px;font-size:14px}.driver-body .d-quick-grid{gap:4px}.driver-body .d-quick-grid b{font-size:13px}.driver-body .d-card{padding:16px}.driver-body .d-page-head>.d-text-link{font-size:13px}.driver-body .d-tabs button{padding:8px 14px}}
@media(prefers-reduced-motion:reduce){.driver-body *{scroll-behavior:auto!important;transition:none!important}}

/* A: warm driver club; B: graphite night palette. The real service structure is shared. */
:root[data-driver-theme="night"] .driver-body{--green:#D5F563;--accent:#D5F563;--ink:#EDF2EB;--muted:#ABB6AE;--line:#39443E;--paper:#161C1B;--surface:#202927;--soft:#303B25;--on-accent:#192219;--quiet:#2A3330;color-scheme:dark}
.driver-body{letter-spacing:.05px}
.driver-body :focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.driver-body .d-icon .soft{fill:currentColor;fill-opacity:.10;stroke:none}
.driver-body .d-icon .solid{fill:currentColor;stroke:none}
.driver-body .d-home-line{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:12px 16px;margin-bottom:20px}
.driver-body .d-home-line .d-home-logo{width:108px;height:38px;min-height:38px;border-radius:0;background:transparent;color:var(--ink);padding:0;flex:none;display:flex;align-items:center;justify-content:flex-start;text-decoration:none}
.driver-body .d-home-logo .d-home-wordmark{display:block;width:108px;height:38px;object-fit:contain;object-position:left center;background:transparent}
:root[data-driver-theme="night"] .driver-body .d-home-wordmark{filter:brightness(0) invert(1)}
.driver-body .d-home-line>[data-home-clock]{display:contents}
.driver-body .d-weather-clock{grid-column:2;min-width:0;width:100%;text-align:right;font-size:12px;line-height:1.5;color:var(--muted)}
.driver-body .d-weather-first{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}
.driver-body .d-location-button{display:flex;align-items:center;justify-content:flex-end;gap:3px;border:0;padding:4px 0;background:transparent;color:var(--muted);font-size:11px;line-height:1.5;min-width:0;min-height:28px}
.driver-body .d-location-button>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.driver-body .d-location-button:disabled{opacity:.75}
.driver-body .d-location-error{display:block;margin-top:6px;color:#B23A2A;font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.driver-body .d-weather-reading{font-size:11px;margin-top:3px;color:var(--muted)}
.driver-body .d-weather-retry{padding:0 0 0 7px;border:0;background:transparent;color:var(--green);font-size:11px;text-decoration:underline}
.driver-body .d-weather-details{margin:3px 0 0;font-size:11px;position:relative}
.driver-body .d-weather-details>summary{display:inline-flex;align-items:center;justify-content:flex-end;gap:2px;cursor:pointer;list-style:none;color:var(--muted)}
.driver-body .d-weather-details>summary::-webkit-details-marker{display:none}
.driver-body .d-weather-details>summary>.d-icon{width:12px;height:12px}
.driver-body .d-weather-details>p{font-size:11px;line-height:1.8;margin-top:6px;overflow-wrap:anywhere}
.driver-body .d-weather-details a{text-decoration:underline;color:var(--green)}
:root[data-driver-theme="night"] .driver-body .d-location-error{color:#FFAC9D}
.driver-body .d-weather-first>span{display:flex;align-items:center;gap:4px;font-size:11px}
.driver-body .d-weather-first .d-icon{width:18px;height:18px;color:var(--green)}
.driver-body .d-weather-first time{font-size:20px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:1px;color:var(--ink);line-height:1.2}
.driver-body .d-safety-line{grid-column:1/-1;display:flex;justify-content:flex-start;align-items:center;gap:6px;min-width:0;margin:0;padding:7px 10px;border:1px solid var(--line);border-radius:9px;background:var(--soft);font-size:12px;line-height:1.6;color:var(--green);text-align:left}
.driver-body .d-safety-line .d-icon{width:16px;height:16px}
.driver-body .d-safety-line>span{min-width:0;text-wrap:pretty;overflow-wrap:anywhere}
.driver-body .d-weather-source{display:block;font-size:10px;margin-top:3px;color:var(--muted)}
.driver-body .d-hero{border-radius:0;background:none;color:var(--ink);padding:2px 0 20px;overflow:visible;position:relative}
.driver-body .d-hero-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,38%);align-items:center;gap:14px;min-height:140px}
.driver-body .d-hero-copy{min-width:0}
.driver-body .d-hero-label{font-size:12px;letter-spacing:.6px;color:var(--green);margin:0 0 12px;max-width:100%;overflow-wrap:anywhere}
.driver-body .d-hero h1{font-size:32px;line-height:1.4;font-weight:800;letter-spacing:-.8px;max-width:100%;margin:0;text-wrap:balance;overflow-wrap:anywhere}
.driver-body .d-hero h1 em{font-style:normal;text-decoration:underline;text-decoration-color:#F8CC97;text-decoration-thickness:6px;text-underline-offset:-1px;text-decoration-skip-ink:none}
.driver-body .d-hero-art{position:relative;width:100%;max-width:200px;justify-self:end;pointer-events:none}
.driver-body .d-scene{width:100%;height:auto;display:block;object-fit:contain}
.driver-body .d-hero>.d-hero-intro{font-size:13px;color:var(--muted);line-height:1.85;margin:14px 0 0;max-width:100%;width:100%;text-wrap:pretty;overflow-wrap:anywhere}
.driver-body .d-hero-intro .d-intro-phrase{display:inline-block;max-width:100%;vertical-align:top}
.driver-body .d-hero-source{font-size:11px;color:var(--muted);margin-top:7px}
.driver-body .d-hero-context{color:var(--green);font-size:13px;min-height:36px;margin-top:2px}
.driver-body .d-home-ask{display:flex;gap:12px;align-items:center;padding:17px;border-radius:20px;background:#292F2B;color:#fff;box-shadow:0 8px 22px #29352A12;min-height:90px}
.driver-body .d-home-ask>.d-sparkchat{width:34px;height:34px;flex:none;color:currentColor;background:transparent}
.driver-body .d-nav>a .d-icon.d-sparkchat{width:24px;height:24px}
.driver-body .d-home-ask>span:not(.d-ask-arrow){flex:1;min-width:0}
.driver-body .d-home-ask strong{display:block;font-size:17px;line-height:1.5;font-weight:650}
.driver-body .d-home-ask small{display:block;font-size:12px;line-height:1.7;margin-top:3px;color:#D1DAD2}
.driver-body .d-ask-arrow{display:grid;place-items:center;background:#FFFDF9;color:#28362C;border-radius:50%;width:34px;height:34px;flex:none}
.driver-body .d-ask-arrow .d-icon{width:19px;height:19px}
.driver-body .d-image-shortcut{display:flex;justify-content:flex-end;align-items:center;gap:5px;color:var(--muted);font-size:12px;min-height:44px}
.driver-body .d-image-shortcut .d-icon{width:17px;height:17px}
.driver-body .d-important-section{margin-top:4px}
.driver-body .d-important-section .d-section-head{margin-top:3px;margin-bottom:8px}
.driver-body .d-important-section h2{display:flex;align-items:center;gap:7px;font-size:16px}
.driver-body .d-important-section h2 .d-icon{color:var(--green);width:21px;height:21px}
.driver-body .d-important{margin:9px 0 0;display:block;background:#FFF0DB;border:1px solid #F1DBBC;padding:16px;border-radius:14px;color:#694B28}
.driver-body .d-important .d-important-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;color:#866332;margin-bottom:7px}
.driver-body .d-important-meta span{font-size:11px;margin:0;font-weight:650}
.driver-body .d-important-meta time{font-size:11px;white-space:nowrap}
.driver-body .d-important h3{font-size:16px;font-weight:700;line-height:1.6;overflow-wrap:anywhere}
.driver-body .d-important p{font-size:13px;line-height:1.8;margin-top:5px;overflow-wrap:anywhere}
.driver-body .d-important .d-important-link{display:flex;justify-content:flex-end;align-items:center;gap:4px;font-size:12px;margin:9px 0 0;color:#84551E}
.driver-body .d-important-link .d-icon{width:16px;height:16px}
.driver-body .d-quick-grid{gap:8px;margin:27px 0 25px}
.driver-body .d-quick-grid>a{font-size:13px;min-height:91px}
.driver-body .d-quick-grid>a>span{width:53px;height:53px;border:0;border-radius:16px 19px 13px 18px;background:#FFECDC;color:#B95324;box-shadow:4px 4px 0 #EDDECD;transform:rotate(-5deg);margin-bottom:12px}
.driver-body .d-quick-grid>a:nth-child(2)>span{background:#EDF0DA;color:#65733E;box-shadow:4px 4px 0 #DDE3C3;transform:rotate(4deg)}
.driver-body .d-quick-grid>a:nth-child(3)>span{background:#E3EEEB;color:#46766A;box-shadow:4px 4px 0 #D2E2DB;transform:rotate(-4deg)}
.driver-body .d-quick-grid>a:nth-child(4)>span{background:#EFE8F3;color:#7A6095;box-shadow:4px 4px 0 #E0D7EB;transform:rotate(4deg)}
.driver-body .d-quick-grid .d-icon{width:32px;height:32px;transform:rotate(0)}
.driver-body .d-section-head h2{font-size:18px;font-weight:750}
.driver-body .d-card{border-radius:17px;padding:18px;background:var(--surface)}
.driver-body .d-card-meta{gap:7px}.driver-body .d-badge{background:var(--soft);color:var(--green);border-radius:6px;font-size:11px}
.driver-body .d-card-foot{margin-top:11px}
.driver-body .d-home-cert{border-top:1px dashed var(--line);padding:16px 0 7px;margin:18px 0 0;display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted)}
.driver-body .d-home-cert>span{flex:1}.driver-body .d-home-cert>.d-icon{width:19px;height:19px;color:var(--green)}
.driver-body .d-library-empty{display:flex;gap:15px;align-items:center;min-height:100px}
.driver-body .d-library-empty>.d-scene{width:90px;height:90px;flex:none}
.driver-body .d-footnote{font-size:11px;line-height:1.8}
.driver-body .d-nav{background:var(--surface);border-color:var(--line);box-shadow:0 -3px 20px #33372D04}
.driver-body .d-nav>a{color:var(--muted);gap:6px}.driver-body .d-nav>a .d-icon{width:26px;height:26px}
.driver-body .d-nav>a.active .d-icon{background:var(--soft);border-radius:8px;box-shadow:0 0 0 5px var(--soft);stroke-width:2.3}
.driver-body .d-btn{background:var(--green);border-color:var(--green);color:var(--on-accent)}
.driver-body .d-btn.d-outline,.driver-body .d-btn.d-light{background:var(--surface);color:var(--green);border-color:var(--line)}
.driver-body .d-tabs button{background:var(--surface);color:var(--muted)}.driver-body .d-tabs button.active{background:var(--green);color:var(--on-accent)}
.driver-body .d-menu-icon,.driver-body .d-avatar,.driver-body .icon-button{background:var(--soft);color:var(--green)}
.driver-body .d-menu-icon .d-icon{width:27px;height:27px}.driver-body .d-menu-row>.d-icon{color:var(--muted)}
.driver-body .d-field input::file-selector-button{background:var(--soft);color:var(--green)}
.driver-body .d-bubble.d-mine{background:var(--soft)}
.driver-body dialog{background:var(--surface);border-color:var(--line);color:var(--ink)}
.driver-body .d-notice-image{margin:20px 0;width:100%}
.driver-body .d-notice-image img{display:block;width:100%;height:auto;border-radius:10px;background:var(--quiet);object-fit:contain;max-width:100%}
.driver-body .d-notice-image figcaption{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);margin-top:6px}.driver-body .d-notice-image figcaption button{min-height:44px;padding:8px 4px;font-size:13px;background:none;border:0}
.driver-body #important-notice-dialog{padding:22px;width:min(540px,calc(100% - 28px));max-height:calc(100dvh - 38px);overflow:hidden;border-radius:22px}
.driver-body #important-notice-body{display:flex;flex-direction:column;max-height:calc(100dvh - 84px);min-height:0}
.driver-body .d-announcement-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted);margin-bottom:12px}
.driver-body #important-notice-title{font-size:22px;line-height:1.5;flex:none;max-height:25dvh;overflow:auto;margin-bottom:15px;overflow-wrap:anywhere}
.driver-body .d-announcement-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-right:6px;max-height:49dvh;border-bottom:1px solid var(--line)}
.driver-body .d-announcement-scroll .d-source-note{margin:0 0 14px;font-size:11px}
.driver-body .d-announcement-scroll .d-article-body{font-size:15px;line-height:1.9}
.driver-body .d-announcement-end{color:var(--muted);font-size:11px;line-height:1.7;text-align:center;padding:20px 0 15px}
.driver-body .d-announcement-footer{flex:none;padding-top:10px}
.driver-body .d-announcement-footer p{font-size:12px;line-height:1.5;margin:0 0 8px}
.driver-body .d-announcement-footer .d-btn{min-height:48px}
.driver-body .d-announcement-footer .d-btn:disabled{cursor:not-allowed;opacity:.5}
.driver-body .d-announcement-footer small{display:block;text-align:center;font-size:10px;color:var(--muted);line-height:1.6;margin-top:7px}
.driver-body .d-announcement-footer .d-notice-error{color:#B23A2A}
.driver-body #important-notice-retry{margin-bottom:7px}
:root[data-driver-theme="night"] .driver-body .d-home-ask{background:var(--accent);color:var(--on-accent);box-shadow:none;border-radius:15px}
:root[data-driver-theme="night"] .driver-body .d-home-ask small{color:#45532A}
:root[data-driver-theme="night"] .driver-body .d-ask-arrow{background:#23301F;color:var(--accent)}
:root[data-driver-theme="night"] .driver-body .d-hero h1 em{text-decoration:none;color:var(--accent)}
:root[data-driver-theme="night"] .driver-body .d-important{background:#293221;border-color:#495A32;color:#E0EACD;border-left:3px solid var(--accent)}
:root[data-driver-theme="night"] .driver-body .d-important-meta,:root[data-driver-theme="night"] .driver-body .d-important-link{color:#C6D7A6}
:root[data-driver-theme="night"] .driver-body .d-quick-grid>a>span{background:#25302B;color:#D1DDB4;box-shadow:3px 3px 0 #344130;border:1px solid #43523D}
:root[data-driver-theme="night"] .driver-body .d-note,:root[data-driver-theme="night"] .driver-body .d-sync-note{background:#303322;border-color:#635735;color:#E6D7A4}
:root[data-driver-theme="night"] .driver-body .d-sync-note .d-btn{background:#343A27;color:#E3D9AF;border-color:#635735}
:root[data-driver-theme="night"] .driver-body .d-badge.d-amber{background:#413B23;color:#EBCB84}
:root[data-driver-theme="night"] .driver-body .d-announcement-footer .d-notice-error{color:#FFAC9D}
@media(min-width:751px){.driver-body .d-main{padding-top:28px}.driver-body .d-hero{min-height:265px}.driver-body .d-hero h1{font-size:40px}.driver-body .d-hero>p{max-width:70%}}
@media(max-width:390px){.driver-body .d-hero h1{font-size:28px}.driver-body .d-home-line{gap:10px}.driver-body .d-weather-first{gap:7px}.driver-body .d-weather-clock{font-size:11px}.driver-body .d-weather-first>span{font-size:10px}.driver-body .d-weather-first time{font-size:18px}}
@media(max-width:340px){.driver-body .d-home-line{gap:10px}.driver-body .d-home-line .d-home-logo{width:100px;height:36px;min-height:36px}.driver-body .d-home-logo .d-home-wordmark{width:100px;height:36px}.driver-body .d-home-line>[data-home-clock]{max-width:calc(100% - 110px)}.driver-body .d-weather-first{gap:6px}.driver-body .d-weather-first>span{font-size:10px}.driver-body .d-weather-first .d-icon{width:14px;height:14px}.driver-body .d-weather-first time{font-size:18px}.driver-body .d-hero h1{font-size:25px}.driver-body .d-home-ask{padding:14px;gap:8px}.driver-body .d-home-ask strong{font-size:15px}.driver-body .d-home-ask small{font-size:11px}}

.driver-body .d-avatar img{display:block;width:100%;height:100%;object-fit:contain;border-radius:inherit}
.driver-body .d-profile-head .d-avatar,.driver-body .d-login-panel .d-avatar{width:68px;height:68px;background:transparent}
.driver-body .d-library-welcome{display:flex;align-items:center;gap:12px;margin:0 0 17px;padding:2px 0 11px;border-bottom:1px dashed var(--line)}
.driver-body .d-library-welcome>div{flex:1;min-width:0}.driver-body .d-library-welcome h2{font-size:17px;line-height:1.6}
.driver-body .d-library-welcome p{font-size:12px;margin-top:5px}.driver-body .d-library-welcome>.d-scene{width:90px;height:90px;flex:none}
.driver-body .d-contact-card{display:flex;align-items:center;flex-wrap:wrap;gap:12px;border:1px solid var(--green);background:var(--soft)}
.driver-body .d-contact-card>div{flex:1;min-width:145px;overflow-wrap:anywhere}.driver-body .d-contact-card h2{font-size:17px;margin:0 0 5px}.driver-body .d-contact-card strong{display:block;font-size:18px;color:var(--green)}
.driver-body .d-contact-card p{font-size:12px;line-height:1.7;margin:7px 0 0}.driver-body .d-account-actions{margin:22px 0 10px}.driver-body .d-ticket .d-actions{justify-content:flex-end}
.driver-body .d-weather-retry{max-width:100%;line-height:1.7;overflow-wrap:anywhere}.driver-body .d-location-button:focus-visible,.driver-body .d-weather-retry:focus-visible{outline:2px solid var(--green);outline-offset:3px}

.driver-body .d-contact-card>.d-btn{flex-basis:100%;width:100%;min-height:44px}.driver-body .d-contact-card strong{overflow-wrap:anywhere}
.driver-body .d-location-button .d-location-refresh{flex:none;color:#2563BD;font-weight:650;text-decoration:underline;text-underline-offset:3px}
:root[data-driver-theme="night"] .driver-body .d-location-button .d-location-refresh{color:#83B7FF}
.driver-body .d-weather-reading .d-weather-retry{color:var(--muted);text-decoration:none;font-weight:400}

.driver-body .d-image-viewer{width:calc(100vw - 24px);max-width:1080px;height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line);border-radius:16px;background:var(--paper);color:var(--ink)}.driver-body .d-image-viewer::backdrop{background:rgba(0,0,0,.72)}.driver-body .d-image-tools{display:flex;align-items:center;gap:12px;padding:8px 16px;border-bottom:1px solid var(--line)}.driver-body .d-image-tools span{margin-right:auto;font-size:14px}.driver-body .d-image-tools button{min-height:44px;padding:8px;border:0;background:none;color:var(--ink);font-size:14px}.driver-body .d-image-canvas{height:calc(100% - 61px);overflow:auto;padding:12px;overscroll-behavior:contain}.driver-body .d-image-canvas img{display:block;width:auto;height:auto;max-width:100%;margin:auto}.driver-body .d-image-full .d-image-canvas img{max-width:none;margin:0}

.d-original-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:14px 0}.d-notice-image figcaption{flex-wrap:wrap;gap:12px}.d-image-tools{flex-wrap:wrap}.d-image-tools a{color:inherit;white-space:nowrap;font-size:14px}.d-image-tools>span{font-size:12px;flex-basis:100%}
.driver-body .d-image-viewer{display:flex;flex-direction:column}.driver-body .d-image-viewer:not([open]){display:none}.driver-body .d-image-tools{flex:none}.driver-body .d-image-canvas{flex:1;min-height:0;height:auto}
