:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:#1d1d1f;background:#f5f5f7;font-size:16px;font-synthesis:none;--blue:#0071e3;--muted:#76767c}*{box-sizing:border-box}html{overflow-y:scroll}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #0071e370;outline-offset:3px}input,select,textarea{min-width:0;width:100%;border:1px solid #d4d4d8;border-radius:12px;background:#fff;padding:12px;outline:none;color:#1d1d1f}input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #0071e31a}label{display:grid;gap:8px;font-size:.875rem;color:#505057}h1,h2,h3,p{margin:0}h1{font-size:2.2rem;letter-spacing:-1px;font-weight:700}h2{font-size:1.3rem;letter-spacing:-.4px}h3{font-size:1.1rem}small{font-size:.8rem}.muted{color:var(--muted)}.shell{display:grid;grid-template-columns:238px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#ededf1bd;border-right:1px solid #dddde3;padding:36px 18px 22px;display:flex;flex-direction:column;gap:28px}.brand{display:flex;gap:12px;align-items:center;padding:0 12px}.mark{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:var(--blue);color:white;font-size:24px;font-weight:600;box-shadow:0 5px 14px #0071e323}.brand strong{display:block;font-size:1.2rem}.brand small{color:var(--muted);display:block;margin-top:4px}.nav{display:grid;gap:6px}.nav button{display:flex;align-items:center;gap:12px;text-align:left;padding:13px 15px;border-radius:12px;font-size:.9375rem;color:#53535c}.nav button.active{background:white;color:var(--blue);box-shadow:0 2px 5px #00000008;font-weight:600}.nav .icon{width:22px;text-align:center;font-size:20px}.account{margin-top:auto;border-top:1px solid #d8d8df;padding:20px 8px 0;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.avatar{border-radius:50%;width:38px;height:38px;background:#d9e7fa;color:#1264bd;display:grid;place-items:center}.account small{display:block;margin-top:4px;color:var(--muted)}.text-btn{color:var(--blue);padding:8px;font-size:.875rem}.workspace{max-width:1600px;width:100%;padding:30px 46px 60px;margin:auto}.topline{display:flex;justify-content:space-between;color:var(--muted);font-size:.875rem;padding-bottom:30px;gap:12px}.local{display:flex;align-items:center;gap:7px}.local:before{content:'';width:7px;height:7px;border-radius:50%;background:#34c759}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.heading p{color:var(--muted);margin-top:10px;font-size:.9375rem;line-height:1.6}.primary{background:var(--blue);color:white;padding:12px 20px;border-radius:24px;font-size:.9375rem;font-weight:500;white-space:nowrap}.primary:hover{background:#0077ed}.secondary{padding:12px 18px;border-radius:22px;background:#eeeef2;font-size:.9375rem}.danger{color:#d63230;background:#fff0f0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:28px}.stat{border:1px solid #e7e7ed;background:#fff;border-radius:22px;padding:22px}.stat .caption{color:#65656d;font-size:.875rem}.stat b{display:block;font-size:2.4rem;font-weight:600;letter-spacing:-1.5px;margin:12px 0 8px}.stat small{color:var(--muted)}.stat.blue b{color:var(--blue)}.stat.orange b{color:#b76b00}.panel{background:#fff;border:1px solid #e7e7ed;border-radius:24px;overflow:hidden}.panel-title{padding:24px 26px 0;display:flex;justify-content:space-between;align-items:center}.toolbar{padding:22px 26px;display:flex;gap:14px;align-items:center;flex-wrap:wrap}.search{background:#f2f2f7;border:0;max-width:340px;padding:12px 16px}.segments{display:flex;background:#eeeef2;border-radius:11px;padding:3px;gap:2px}.segments button{font-size:.875rem;padding:8px 14px;border-radius:8px;white-space:nowrap;color:#5e5e66}.segments button.active{background:#fff;box-shadow:0 2px 5px #00000012;color:#1d1d1f}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{background:#fafafa;border-block:1px solid #eeeeF2;color:#797981;font-size:.8125rem;font-weight:500;padding:14px 18px}td{padding:19px 18px;font-size:.875rem;border-bottom:1px solid #f0f0f3}th:first-child,td:first-child{padding-left:26px}tbody tr:last-child td{border-bottom:0}td strong{font-size:.9375rem;display:block;font-weight:600}td small{display:block;color:var(--muted);margin-top:7px}.vin{font-family:ui-monospace,Consolas,monospace;letter-spacing:.4px}.badge{display:inline-block;padding:6px 10px;border-radius:8px;font-size:.8125rem;background:#f0f0f5;color:#666671}.badge.green{background:#eaf8ef;color:#218242}.badge.blue{background:#eaf3ff;color:#0062c4}.badge.orange{background:#fff4df;color:#996100}.badge.red{background:#fff0ee;color:#c03226}.actions{display:flex;gap:5px;align-items:center}.actions button{padding:8px;color:var(--blue);font-size:.875rem;white-space:nowrap}.actions button.remove{color:#cf3532}.empty{padding:66px 24px 74px;text-align:center}.empty-icon{margin:0 auto 20px;width:66px;height:66px;background:#f0f5ff;color:var(--blue);border-radius:20px;display:grid;place-items:center;font-size:30px}.empty p{margin:12px auto 24px;color:var(--muted);font-size:.9375rem;line-height:1.7;max-width:410px}.footnote{margin:20px 4px;color:var(--muted);font-size:.8125rem;line-height:1.7}.auth{min-height:100vh;display:grid;place-items:center;padding:30px;background:radial-gradient(ellipse at 20% 0%,#e2efff,transparent 60%),#f5f5f7}.auth-card{width:min(440px,100%);background:#ffffffec;border:1px solid #fff;padding:38px;border-radius:30px;box-shadow:0 20px 80px #283c6010}.auth-card .mark{margin-bottom:25px;width:54px;height:54px;font-size:30px;border-radius:16px}.auth-card h1{font-size:1.85rem}.auth-card p{line-height:1.7;color:var(--muted);margin:14px 0 26px;font-size:.9375rem}form{display:grid;gap:18px}.auth-card .primary{width:100%;margin-top:8px}.error{color:#be302a;font-size:.875rem;line-height:1.6}.error:empty{display:none}dialog{padding:0;border:1px solid #ffffffb0;border-radius:26px;width:min(580px,calc(100% - 32px));max-height:90vh;box-shadow:0 25px 100px #0003}dialog::backdrop{background:#1d233e40;backdrop-filter:blur(6px)}.modal-head{padding:26px 28px 20px;display:flex;align-items:center;justify-content:space-between}.close{font-size:24px;color:#777;background:#f2f2f7;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;line-height:1}dialog form,.dialog-body{padding:0 28px 28px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.full{grid-column:1/-1}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:8px}.notice{background:#fff6e6;color:#926000;border-radius:12px;padding:13px;font-size:.875rem;line-height:1.7}.note{color:var(--muted);font-size:.875rem;line-height:1.7}.list-row{padding:20px 26px;border-bottom:1px solid #eeeef2;display:flex;justify-content:space-between;gap:20px}.list-row:last-child{border:0}.list-row small{color:var(--muted);display:block;margin-top:7px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);border-radius:16px;background:#25252bea;color:#fff;padding:14px 23px;max-width:90vw;box-shadow:0 8px 30px #0002;display:none;z-index:20;font-size:.9375rem}.loading{padding:60px;text-align:center;color:var(--muted)}[hidden]{display:none!important}
@media(min-width:1500px){.workspace{padding-inline:60px}.stat{padding:26px}}
@media(max-width:1100px){.shell{grid-template-columns:190px 1fr}.workspace{padding:24px}.sidebar{padding-inline:12px}.stats{gap:10px}.stat{padding:17px}.segments button{padding-inline:10px}}
@media(max-width:760px){.shell{display:block}.sidebar{position:relative;height:auto;border-right:0;border-bottom:1px solid #dddde3;padding:18px 16px;gap:18px}.brand{padding:0}.brand small{display:none}.mark{width:36px;height:36px;font-size:22px}.nav{display:flex;overflow:auto;gap:5px}.nav button{flex-shrink:0;padding:10px 12px;font-size:.875rem;gap:6px}.nav .icon{font-size:17px}.account{position:absolute;right:16px;top:17px;margin:0;padding:0;border:0;gap:5px}.account .avatar,.account small{display:none}.account strong{font-size:.8125rem}.workspace{padding:24px 16px}.topline{padding-bottom:24px;font-size:.8125rem}h1{font-size:1.9rem}.heading{gap:10px;align-items:flex-start;margin-bottom:22px}.heading p{font-size:.875rem}.heading .primary{padding:11px 15px}.stats{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:22px}.stat{border-radius:20px;padding:18px}.stat b{font-size:2rem;margin-block:8px}.stat small{font-size:.75rem}.panel{border-radius:20px}.panel-title{padding:22px 20px 0}.toolbar{padding:18px 20px}.search{max-width:none}.segments{width:100%;overflow:auto}.segments button{flex:1}.empty{padding:45px 22px}.auth-card{padding:28px}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.modal-head{padding:22px 20px 18px}dialog form,.dialog-body{padding:0 20px 22px}.list-row{padding:18px 20px}.footnote{font-size:.8125rem}}
@media(max-width:760px){.table-wrap table,.table-wrap tbody{display:block;white-space:normal}.table-wrap thead{display:none}.table-wrap tr{display:grid;grid-template-columns:1fr 1fr;padding:16px 20px;gap:16px;border-top:1px solid #eeeef2}.table-wrap td,.table-wrap td:first-child{display:block;padding:0;border:0;min-width:0;overflow-wrap:anywhere}.table-wrap td:first-child,.table-wrap td:last-child{grid-column:1/-1}.table-wrap td:before{content:attr(data-label);display:block;font-size:.75rem;color:#85858d;margin-bottom:7px}.table-wrap td:last-child:before{display:none}.table-wrap .actions{justify-content:flex-end;gap:14px}.table-wrap .actions button{padding:8px 10px;background:#f3f6fc;border-radius:9px}.table-wrap .vin{font-size:.8125rem}}
/* Goertek brand: supplied RGB artwork; official website monochrome + #00ff01. */
:root{--blue:#15713a;--muted:#717773;background:#f4f5f4;color:#242824;font-family:"Segoe UI","Microsoft YaHei",sans-serif}.shell{grid-template-columns:244px 1fr}.sidebar{background:#fff;border-right:1px solid #e0e4e0;padding:32px 20px 24px;gap:34px}.brand{display:flex;flex-direction:column;align-items:flex-start;gap:20px;padding:0 14px 28px;border-bottom:1px solid #e4e7e4}.brand-logo{display:block;width:164px;height:auto;object-fit:contain}.brand strong{font-size:1.1rem;font-weight:600;letter-spacing:1px}.brand small{font-size:.8125rem;color:#818780;margin-top:8px}.nav{gap:8px}.nav button{border-radius:4px;padding:14px;color:#5c625d}.nav button.active{background:#222823;color:#fff;box-shadow:none;position:relative}.nav button.active:before{content:'';position:absolute;left:0;top:12px;bottom:12px;width:3px;background:#00ff01}.avatar{background:#ebf7ec;color:#276338}.account{border-color:#e5e7e5}.workspace{padding-top:32px}.topline{padding-bottom:32px;letter-spacing:.2px}.local:before{background:#27ac40}.heading{border-bottom:1px solid #dce2dc;padding-bottom:26px;margin-bottom:28px}h1{font-size:2.15rem;letter-spacing:0;font-weight:650}.heading p{font-size:.875rem;margin-top:12px}.primary{background:#00ed16;color:#102616;border-radius:4px;box-shadow:none;font-weight:600;padding:13px 22px}.primary:hover{background:#00ff01}.secondary{border-radius:4px;background:#eef1ee}.stat{border-radius:6px;border:1px solid #e1e6e1;padding:24px;position:relative}.stat:first-child{background:#252b27;color:#fff;border-color:#252b27}.stat:first-child .caption,.stat:first-child small{color:#c1ccc3}.stat:first-child b{color:#00ff01}.stat b{font-weight:500;font-size:2.6rem;margin:16px 0 10px}.stat.blue b{color:#16713a}.stat.orange b{color:#99610c}.stat .caption{font-size:.875rem}.panel{border-radius:6px;border-color:#e0e6e0}.panel-title{padding-top:26px}h2{font-size:1.25rem;font-weight:600}.toolbar{padding-top:24px;padding-bottom:24px}.search{background:#f4f6f4;border:1px solid #e6eae6;border-radius:4px}.segments{border-radius:4px;background:#f0f3f0;padding:4px}.segments button{border-radius:3px}.segments button.active{background:#fff;color:#1c4f2a;box-shadow:0 1px 4px #15261b12}input,select,textarea{border-radius:4px;border-color:#d9dfd9}input:focus,select:focus,textarea:focus{border-color:#29994c;box-shadow:0 0 0 3px #219e3914}th{background:#f7f9f7;color:#747d75;border-color:#e8ede8}.empty-icon{background:#eef9ef;color:#18813b;border-radius:8px}.empty{padding-block:65px}.badge{border-radius:3px}.badge.blue{background:#edf5ef;color:#246d40}.badge.green{background:#ebf7ed;color:#237039}.text-btn,.actions button{color:#16713a}.auth{background:linear-gradient(115deg,#e9efea 0%,#f7f9f7 65%);position:relative}.auth:before{content:'';position:absolute;inset:0 0 auto;height:6px;background:#00ef15}.auth-card{border-radius:8px;border:1px solid #dfe5df;padding:42px;width:min(465px,100%);box-shadow:0 16px 60px #19351c0a;background:#fff}.auth-card .brand-logo{width:194px;margin-bottom:34px}.auth-card h1{font-size:1.8rem;font-weight:600}.auth-card .primary{padding-block:14px}.auth-card p{font-size:.875rem}.auth-card .footnote{border-top:1px solid #e9eee9;padding-top:20px;margin-bottom:0}dialog{border-radius:8px;border-color:#e5ece5}dialog::backdrop{background:#18241c66;backdrop-filter:blur(4px)}.close{border-radius:4px;background:#f0f3f0}.notice{border-radius:4px}.danger{background:#fff0f0}.list-row{border-color:#e9eee9}#toast{border-radius:6px;background:#222d25f5}.footnote{color:#727c73}
@media(max-width:1100px){.shell{grid-template-columns:210px 1fr}.sidebar{padding-inline:14px}.brand{padding-inline:8px}.brand-logo{width:156px}.stat{padding:18px}}
@media(max-width:760px){.shell{display:block}.sidebar{padding:20px 16px 14px;gap:20px;border-bottom:1px solid #dde4dd}.brand{padding:0;border:0;gap:9px}.brand-logo{width:130px}.brand strong{font-size:.8125rem;letter-spacing:.5px}.brand small{display:none}.nav button{padding:11px 13px;border-radius:3px}.account{top:25px;right:16px;max-width:calc(100% - 172px)}.workspace{padding:24px 16px}.heading{padding-bottom:22px;margin-bottom:22px}h1{font-size:1.85rem}.heading .primary{padding:12px 14px}.heading p{font-size:.8125rem}.stats{gap:12px}.stat{padding:18px;border-radius:5px}.stat b{font-size:2.15rem}.panel{border-radius:5px}.auth-card{padding:30px}.auth-card .brand-logo{width:172px;margin-bottom:28px}.table-wrap .actions button{background:#eff6f0;border-radius:4px}.topline{font-size:.75rem;gap:8px}.empty{padding:45px 22px}}
/* Corporate masthead and image banner, inspired by Goertek's homepage. */
.corporate-bar{height:60px;position:sticky;top:0;z-index:30;background:#2c302d;color:#fff;box-shadow:0 4px 18px #121a1424}.corporate-inner{height:100%;max-width:1700px;margin:auto;display:flex;align-items:center;gap:28px;padding:0 32px}.corporate-logo{display:block;width:142px;height:auto;object-fit:contain;filter:brightness(0) invert(1)}.corporate-label{border-left:1px solid #ffffff4d;padding-left:24px;display:grid;gap:3px}.corporate-label strong{font-size:1rem;font-weight:600;letter-spacing:.12em}.corporate-label span{font-size:.68rem;letter-spacing:.17em;color:#c9d3ca}.corporate-spacer{flex:1}.corporate-user{font-size:.875rem;color:#e3e8e3}.corporate-logout{font-size:.875rem;color:#fff;border:1px solid #ffffff55;padding:9px 14px;border-radius:3px;transition:border-color .2s,background .2s}.corporate-logout:hover{border-color:#00ff01;background:#ffffff16}.shell{min-height:calc(100vh - 60px)}.sidebar{top:68px;height:calc(100vh - 60px);padding-top:30px}.sidebar-heading{color:#7b857d;font-size:.75rem;letter-spacing:.14em;margin:2px 14px 8px}.sidebar-foot{margin-top:auto;border-top:1px solid #e5eae5;padding:20px 12px 4px;color:#849087;font-size:.76rem}.workspace{padding-top:24px}.corporate-hero{height:226px;position:relative;overflow:hidden;margin-bottom:26px;background:#233128;color:#fff}.hero-image{position:absolute;inset:0;background-image:url('/goertek-hero.jpg');background-size:cover;background-position:center 44%;transform:scale(1.025);animation:hero-reveal 1.3s ease-out forwards}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#142019de 0%,#19251bc7 24%,#18231b52 58%,#17231b12 100%)}.hero-copy{position:absolute;left:40px;top:50%;transform:translateY(-50%);display:grid;gap:10px;animation:copy-reveal .7s ease-out both}.hero-copy span{font-size:.7rem;letter-spacing:.19em;color:#a9f6ae;font-weight:600}.hero-copy strong{font-size:2rem;font-weight:600;letter-spacing:.07em}.hero-copy small{font-size:.88rem;color:#e5eee6;letter-spacing:.03em}.hero-accent{position:absolute;bottom:0;left:0;height:4px;width:104px;background:#00ff01}.topline{padding-bottom:20px}.heading{margin-bottom:24px;padding-bottom:22px}.stat{padding:18px 22px}.stat b{font-size:2.2rem;margin:9px 0 6px}.stats{margin-bottom:22px}.corporate-hero+ .topline{padding-top:0}@keyframes hero-reveal{from{transform:scale(1.06);opacity:.7}to{transform:scale(1.025);opacity:1}}@keyframes copy-reveal{from{opacity:0;transform:translateY(calc(-50% + 12px))}to{opacity:1;transform:translateY(-50%)}}
@media(max-width:1100px){.corporate-hero{height:195px}.corporate-inner{padding-inline:24px}.hero-copy{left:30px}}
@media(max-width:760px){.corporate-bar{height:58px}.corporate-inner{padding:0 16px;gap:13px}.corporate-logo{width:114px}.corporate-label{padding-left:13px}.corporate-label strong{font-size:.75rem;letter-spacing:.02em;white-space:nowrap}.corporate-label span{display:none}.corporate-user{display:none}.corporate-logout{font-size:.78rem;padding:7px 8px;white-space:nowrap}.shell{min-height:calc(100vh - 58px)}.sidebar{height:auto;top:auto;padding:13px 16px 9px;gap:0}.sidebar-heading,.sidebar-foot{display:none}.nav{gap:4px}.workspace{padding-top:16px}.corporate-hero{height:150px;margin-bottom:20px}.hero-image{background-position:center 45%}.hero-shade{background:linear-gradient(90deg,#15231bcf,#15231b74 67%,#15231b22)}.hero-copy{left:20px;gap:7px}.hero-copy span{font-size:.6rem;letter-spacing:.12em}.hero-copy strong{font-size:1.45rem}.hero-copy small{font-size:.74rem;line-height:1.4}.topline{padding-bottom:16px}.heading{margin-bottom:20px}.stat{padding:14px 16px}.stat b{font-size:1.85rem;margin:7px 0 4px}}
@media(max-width:390px){.corporate-label strong{font-size:.7rem}.corporate-logo{width:98px}.corporate-inner{gap:9px;padding-inline:12px}.corporate-logout{font-size:.72rem;padding:6px}}
@media(prefers-reduced-motion:reduce){.hero-image,.hero-copy{animation:none}}
.corporate-hero .hero-copy{z-index:2;text-shadow:0 1px 7px #09170b90}.hero-shade{background:linear-gradient(90deg,#0d1712f2 0%,#102017dc 31%,#15251a7a 64%,#17231b20 100%)}
@media(max-width:760px){.hero-shade{background:linear-gradient(90deg,#0d1712eb,#0d1b13bc 64%,#0d1b1366)}.hero-copy small{color:#f2f8f2}}

/* Compact carousel, vehicle marks, and approval management. */
.corporate-hero{height:142px;margin-bottom:18px}
.hero-slide{position:absolute;inset:0;background-size:cover;background-position:center 48%;opacity:0;transition:opacity .8s ease}
.hero-slide-one{background-image:url('/goertek-hero.jpg')}.hero-slide-two{background-image:url('/hero-vehicle-campus.png')}.hero-slide-three{background-image:url('/hero-vehicle-studio.png')}
.hero-slide.active{opacity:1}
.hero-shade{pointer-events:none;background:linear-gradient(90deg,#0d1712ee 0%,#102017be 34%,#15251a4d 67%,#17231b18 100%)}
.hero-copy{left:30px;gap:5px}
.hero-copy span{font-size:.62rem}.hero-copy strong{font-size:1.65rem}.hero-copy small{font-size:.78rem}
.hero-dots{position:absolute;right:22px;bottom:16px;display:flex;gap:9px;z-index:3}
.hero-dot{height:5px;width:23px;border-radius:8px;background:#ffffff88;padding:0;transition:background .25s,width .25s}
.hero-dot.active{background:#00ff01;width:34px}
.nav-count{margin-left:auto;min-width:20px;height:20px;padding:1px 5px;border-radius:10px;background:#e0f8e5;color:#245c2f;font-size:.72rem;font-style:normal;text-align:center}
.nav button.active .nav-count{background:#00ed16;color:#14321d}
.stats{grid-template-columns:repeat(5,minmax(0,1fr))}
.vehicle-title{display:flex;align-items:center;gap:11px;min-width:165px}
.brand-mark{width:42px;height:42px;flex:none;border:1px solid #dfe8e0;border-radius:10px;background:#f5faf6;display:grid;place-items:center;overflow:hidden}
.brand-mark img{width:100%;height:100%;object-fit:contain}.brand-initial{font-size:.68rem;font-weight:700;color:#1b5834;text-align:center;line-height:1.1;padding:3px}
.approval-panel{margin-bottom:18px}.approval-panel .panel-title{padding-bottom:12px}
.approval-row{padding:15px 26px;border-top:1px solid #edf1ed;display:flex;align-items:center;justify-content:space-between;gap:15px}
.approval-row>div:first-child{display:flex;align-items:center;gap:12px;min-width:0}.approval-row strong{display:block}.approval-row small{display:block;color:var(--muted);margin-top:5px;overflow-wrap:anywhere;line-height:1.5}
.approval-row .actions{flex:none}.approval-row .actions button{padding:8px 12px;border-radius:4px;background:#eaf7ed}.approval-row .actions button.remove{background:#fff0ee}
.user-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.user-controls small{width:100%;text-align:right}
.temporary-password{display:block;background:#edf7ef;color:#153c22;border:1px solid #cce7d1;padding:14px;margin:16px 0;font-size:1.2rem;letter-spacing:.04em;user-select:all;overflow-wrap:anywhere}
@media(max-width:1100px){.stats{grid-template-columns:repeat(3,minmax(0,1fr))}.corporate-hero{height:130px}}
@media(max-width:760px){.corporate-hero{height:105px;margin-bottom:15px}.hero-copy{left:17px;gap:3px}.hero-copy span{font-size:.5rem}.hero-copy strong{font-size:1.12rem}.hero-copy small{font-size:.65rem}.hero-dots{right:10px;bottom:10px;gap:5px}.hero-dot{width:14px;height:4px}.hero-dot.active{width:20px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.approval-row{padding:14px 17px;align-items:flex-start;flex-direction:column}.approval-row .actions{align-self:flex-end}.user-row{align-items:flex-start;flex-direction:column}.user-controls{justify-content:flex-start}.user-controls small{text-align:left}.vehicle-title{min-width:0}}
/* Give the Goertek wordmark more screen space so its fine strokes stay legible. */
.corporate-logo{width:148px;filter:brightness(0) invert(1)}

/* Share the system-management icons with the mini program. */
#app .nav .icon-system{display:flex;align-items:center;justify-content:center}
#app .nav .icon-system img{display:block;width:21px;height:21px;object-fit:contain}
.auth-card .brand-logo{width:220px;filter:contrast(1.12)}
@media(max-width:760px){.corporate-logo{width:132px}.auth-card .brand-logo{width:186px}}
@media(max-width:390px){.corporate-logo{width:116px}}
@media(prefers-reduced-motion:reduce){.hero-slide,.hero-dot{transition:none}}


/* Account controls and brand selection. */
.account-anchor{position:relative;flex:none}
.account-trigger{display:flex;align-items:center;gap:10px;color:#fff;border:1px solid #ffffff36;border-radius:4px;padding:5px 10px 5px 5px;min-height:45px}
.account-trigger:hover,.account-trigger[aria-expanded="true"]{background:#ffffff14;border-color:#ffffff72}
.account-picture{width:34px;height:34px;flex:none;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:#d9f4df;color:#23512f;font-weight:700}
.account-picture img{width:100%;height:100%;object-fit:cover}
.account-identity{display:grid;gap:2px;text-align:left}.account-identity strong{font-size:.83rem;font-weight:600;line-height:1.1}.account-identity small{font-size:.68rem;color:#c9d3ca;line-height:1.1}
.account-menu{position:absolute;right:0;top:calc(100% + 8px);min-width:174px;background:#fff;color:#233127;border:1px solid #dfe6df;box-shadow:0 14px 34px #09180e2b;padding:6px;border-radius:6px;z-index:45}
.account-menu button{display:block;width:100%;text-align:left;padding:11px 13px;border-radius:3px;font-size:.88rem}
.account-menu button:hover{background:#eef7ef}.account-menu button:last-child{border-top:1px solid #e8eee8;color:#a63a32}
.brand-preview{display:flex;align-items:center;gap:9px;min-height:68px;padding:8px 10px;border:1px solid #dfe7e0;border-radius:4px;background:#f8fbf8}
.brand-preview:after{content:'自动匹配品牌 Logo';font-size:.76rem;color:#67746a}
.brand-preview .brand-mark{width:56px;height:48px;flex:0 0 56px;background:#fff}
.brand-preview .brand-mark img{width:52px;height:44px;max-width:52px;max-height:44px}
@media(max-width:760px){.account-trigger{min-height:38px;padding:3px 6px 3px 3px;gap:5px}.account-picture{width:30px;height:30px}.account-identity strong{font-size:.76rem}.account-identity small{display:none}.account-menu{top:calc(100% + 5px)}.brand-preview{min-height:58px}}
@media(max-width:390px){.account-identity strong{max-width:54px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}

#app .equipment-batch-filter{width:auto;max-width:260px;min-height:39px;padding:7px 10px;border:1px solid var(--surface-border);border-radius:5px;background:var(--surface-card);color:var(--text-primary);font-size:.8rem}
#app .equipment-bulk-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 0;border-bottom:1px solid var(--surface-divider);color:var(--text-secondary);font-size:.82rem}
#app .equipment-bulk-tools>label{display:flex;align-items:center;gap:7px;font-weight:650}
#app .equipment-bulk-tools input[type=checkbox],#app .table-wrap input[type=checkbox],#app .equipment-bulk-field input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:#176b43}
#app .equipment-bulk-tools>span{margin-right:auto;color:var(--text-muted)}
#app .equipment-bulk-tools>button{min-height:34px;padding:6px 11px;border:1px solid var(--surface-border);border-radius:5px;background:var(--surface-card);color:#176b43;font-size:.8rem;font-weight:650}
#app .equipment-bulk-tools>button.remove{border-color:#edc9c4;background:#fff5f3;color:#ad3d32}
#app .equipment-bulk-field{display:grid;gap:7px;min-width:0}
#app .equipment-bulk-field>label{display:flex;align-items:center;gap:8px;font-size:.84rem;font-weight:650}
#app .equipment-bulk-field>input,#app .equipment-bulk-field>select,#app .equipment-bulk-field>textarea{width:100%;min-height:40px;padding:9px 11px;border:1px solid var(--surface-border);border-radius:6px;background:var(--surface-muted);color:var(--text-primary);font:inherit;font-size:.84rem}
#app .equipment-bulk-field>textarea{min-height:72px;resize:vertical}
@media(max-width:760px){#app .equipment-batch-filter{width:100%;max-width:none}#app .equipment-bulk-tools{gap:8px}#app .equipment-bulk-tools>span{width:100%;margin:0}#app .equipment-bulk-tools>button{flex:1}}

/* Page-aware banner with a sharp, fully visible subject over a soft panoramic backdrop. */
.corporate-hero{height:188px;background:#14221a}
.hero-slide{background-image:none}
.hero-slide-campus{--slide-image:url('/goertek-hero.jpg')}
.hero-slide-vehicle{--slide-image:url('/hero-vehicle-campus.png')}
.hero-slide-studio{--slide-image:url('/hero-vehicle-studio.png')}
.hero-slide::before,.hero-slide::after{content:'';position:absolute;inset:0;background-image:var(--slide-image);background-repeat:no-repeat}
.hero-slide::before{background-size:cover;background-position:center;filter:blur(10px) brightness(.42);transform:scale(1.05)}
.hero-slide::after{background-size:auto 100%;background-position:right 7% center;mask-image:linear-gradient(90deg,transparent 30%,#000 59%)}
.hero-slide-vehicle::after{background-size:auto 145%}
.hero-slide-studio::after{background-size:auto 125%}
.hero-shade{background:linear-gradient(90deg,#0d1712fa 0%,#102017e8 27%,#15251a70 63%,#17231b14 100%)}
.hero-copy strong{font-size:1.8rem}.hero-copy small{font-size:.84rem}
.stats{grid-template-columns:repeat(6,minmax(0,1fr))}
.stat{display:block;width:100%;text-align:left;min-height:154px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.stat:hover{transform:translateY(-2px);box-shadow:0 8px 24px #16341b14;border-color:#9fcca7}
.stat.selected{outline:2px solid #41ad58;outline-offset:2px}
.stat:first-child.selected{outline-color:#00ff01}
.stat-arrow{position:absolute;right:18px;top:16px;font-size:1rem;color:#81968a;opacity:0;transition:opacity .15s}
.stat:hover .stat-arrow,.stat:focus-visible .stat-arrow{opacity:1}
.stat:first-child .stat-arrow{color:#bddebf}
#fleetPanel{scroll-margin-top:88px}
@media(max-width:1250px){.stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.corporate-hero{height:138px}.hero-copy{left:18px}.hero-copy strong{font-size:1.27rem}.hero-copy small{font-size:.7rem;max-width:190px}.hero-slide::after{background-position:right center;mask-image:linear-gradient(90deg,transparent 10%,#000 55%)}.hero-slide-vehicle::after{background-size:auto 115%}.hero-slide-studio::after{background-size:auto 105%}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{min-height:126px;padding:16px}.stat-arrow{right:12px;top:10px}}

/* Brand emblems keep their natural proportions in a square optical area. */
.brand-mark{width:42px;height:32px;flex:0 0 42px;display:flex;align-items:center;justify-content:center;padding:1px;border:0;border-radius:0;background:transparent;overflow:visible;line-height:1}
.brand-mark img{display:none;width:40px;height:30px;max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain;object-position:center}
.brand-mark.logo-loaded img{display:block}
.brand-initial{display:grid;place-items:center;width:100%;height:100%;border-radius:5px;background:#eef6ef}
.brand-mark.logo-loaded .brand-initial{display:none}
.brand-picker{display:grid;gap:8px;min-width:0;position:relative;z-index:5}
.picker-label{font-size:.875rem;color:#505057}
.brand-trigger{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:10px 12px;border:1px solid #d9dfd9;border-radius:4px;background:#fff;text-align:left;font-size:.9rem;line-height:22px}
.brand-trigger:hover,.brand-trigger[aria-expanded="true"]{border-color:#29994c;box-shadow:0 0 0 3px #219e3914}
.brand-trigger-mark{width:42px;height:32px;flex:none;display:grid;place-items:center}
.brand-placeholder{width:42px;height:32px;flex:none;display:grid;place-items:center;color:#4c7556;background:#eef6ef;border-radius:4px;font-size:1rem;line-height:1}
.brand-chevron{margin-left:auto;color:#68736b;font-size:1.3rem}
.brand-options{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:20;border:1px solid #dce5dd;border-radius:5px;background:#fff;box-shadow:0 12px 28px #16341b24;padding:8px;max-height:min(274px,calc(100vh - 220px));display:flex;flex-direction:column;gap:6px}
.brand-options input{width:100%;padding:9px 11px;flex:none}
.brand-option-list{overflow:auto;min-height:0;display:grid;gap:2px}
.brand-option{display:flex;align-items:center;gap:10px;min-height:42px;width:100%;padding:5px 9px;text-align:left;border-radius:4px;font-size:.9rem;line-height:1.4}
.brand-option:hover,.brand-option[aria-selected="true"]{background:#edf7ef}
.vehicle-title{gap:10px;line-height:22px}.vehicle-title strong{line-height:22px}
.vehicle-identity{display:flex;align-items:center;gap:10px;min-width:0}
.vehicle-identity .brand-mark{align-self:center;width:46px;height:38px;flex:0 0 46px}
.vehicle-identity .brand-mark img{width:44px;height:36px;max-width:44px;max-height:36px}
.vehicle-details{min-width:0}
.vehicle-details strong{line-height:22px}
.approval-row .brand-mark{align-self:flex-start}.approval-row strong{line-height:22px}
dialog{overflow-y:auto}

/* Five user-provided banner photographs, ordered 1-5. The blurred fill blends
   each full-width crop into the dark text area while keeping vehicle bodies in frame. */
.hero-slide-fleet{--slide-image:url('/banner-01-fleet.jpg')}
.hero-slide-xpeng{--slide-image:url('/banner-02-xpeng.jpg')}
.hero-slide-city{--slide-image:url('/banner-03-city.jpg')}
.hero-slide-hongqi-suv{--slide-image:url('/banner-04-hongqi-suv.jpg')}
.hero-slide-hongqi-sedan{--slide-image:url('/banner-05-hongqi-sedan.jpg')}
.hero-slide::before{background-position:center 55%;filter:blur(22px) brightness(.46);transform:scale(1.12)}
.hero-slide::after{background-size:66% auto;background-position:right 50%;mask-image:linear-gradient(90deg,transparent 0%,transparent 27%,#0002 36%,#0007 49%,#000 63%,#000 91%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 27%,#0002 36%,#0007 49%,#000 63%,#000 91%,transparent 100%)}
.hero-slide-fleet::after{background-position:right 40%}
.hero-slide-xpeng::after{background-position:right 50%}
.hero-slide-city::after{background-position:right 62%}
.hero-slide-hongqi-suv::after{background-position:right 70%}
.hero-slide-hongqi-sedan::after{background-position:right 60%}
.hero-shade{background:linear-gradient(90deg,#0c1812fa 0%,#102017e8 25%,#102017a8 43%,#14231b40 59%,#14231b10 77%,transparent 100%)}
@media(max-width:760px){
  .hero-slide::after{background-size:cover;mask-image:linear-gradient(90deg,transparent 0%,#0002 12%,#0009 30%,#000 50%,#000 87%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,#0002 12%,#0009 30%,#000 50%,#000 87%,transparent 100%)}
  .hero-slide-fleet::after{background-position:center 40%}
  .hero-slide-xpeng::after{background-position:center 52%}
  .hero-slide-city::after{background-position:center 61%}
  .hero-slide-hongqi-suv::after{background-position:center 68%}
  .hero-slide-hongqi-sedan::after{background-position:center 60%}
  .hero-shade{background:linear-gradient(90deg,#0d1712f2 0%,#0e1a13d9 43%,#0e1a1375 71%,#0e1a1320 100%)}
}

/* A fixed desktop panorama ratio keeps the same photographic crop on different monitors. */
@media(min-width:761px){
  .corporate-hero{height:auto;aspect-ratio:6.1 / 1}
  .hero-slide::before{filter:blur(13px) brightness(.54)}
  .hero-slide::before{filter:blur(19px) brightness(.5)}
  .hero-slide::after{mask-image:linear-gradient(90deg,transparent 0%,transparent 23%,#0002 34%,#0008 48%,#000 62%,#000 91%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 23%,#0002 34%,#0008 48%,#000 62%,#000 91%,transparent 100%)}
  .hero-slide-fleet::after{background-position:right 54%}
.hero-shade{background:linear-gradient(90deg,#0c1812fa 0%,#102017ed 26%,#102017a0 47%,#14231b38 69%,transparent 100%)}
}

/* Final visual system: crisp Goertek green, calmer surfaces, and consistent spacing. */
:root{
  --blue:#176b38;--muted:#6f7971;--accent:#00ed22;--line:#e3e9e3;
  background:#f2f5f2;color:#202720;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;
}
body{background:#f2f5f2;color:#202720}
.corporate-bar{background:linear-gradient(105deg,#1d2821,#303a32);box-shadow:0 3px 18px #10211618}
.corporate-inner{max-width:1800px}
.shell{grid-template-columns:248px minmax(0,1fr)}
.sidebar{background:#f8faf8;border-right-color:#e1e7e1}
.nav button{transition:background .18s,color .18s,transform .18s}
.nav button:not(.active):hover{background:#edf3ed;color:#214c2e;transform:translateX(2px)}
.sidebar-admin-heading{margin-top:22px;padding-top:18px;border-top:1px solid #e5eae5}
.module-status{display:inline-block;padding:6px 12px;border-radius:999px;background:#eef3ef;color:#657267;font-size:.8rem}
.approval-scope{margin-bottom:18px}
.approval-scope-copy{padding:18px 26px 24px}
.approval-scope-copy strong{color:#246d40}
.approval-scope-copy p{margin-top:8px;color:#727c73;font-size:.9rem;line-height:1.7}
.approval-setting{display:flex;align-items:center;gap:12px;max-width:380px;margin:16px 0 6px;color:#39463b}
.approval-setting select{width:145px}
.approval-scope-copy>small{color:#727c73}
.workspace{max-width:1780px;padding-inline:clamp(22px,3.2vw,58px)}
.topline{font-size:.8rem;color:#7b857c;letter-spacing:.025em}
.corporate-hero{border-radius:12px;box-shadow:0 12px 30px #15271a16;background:#15231a}
.hero-slide{transition:opacity 1.05s cubic-bezier(.2,.7,.2,1)}
.hero-slide::before{filter:blur(26px) brightness(.5);transform:scale(1.15)}
.hero-slide::after{background-size:66% auto;background-position:right 50%;mask-image:linear-gradient(90deg,transparent 0%,transparent 24%,#0001 33%,#0004 43%,#000b 56%,#000 68%,#000 90%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 24%,#0001 33%,#0004 43%,#000b 56%,#000 68%,#000 90%,transparent 100%)}
.hero-slide-fleet::after{background-position:right 40%}
.hero-shade{background:linear-gradient(90deg,#0c1712f5 0%,#0f1d15e3 27%,#122219ab 45%,#15251a55 65%,#14231b10 84%,transparent 100%)}
.hero-copy{left:clamp(22px,3vw,48px);gap:9px}
.hero-copy span{letter-spacing:.2em}
.hero-copy strong{letter-spacing:.055em;text-shadow:0 3px 18px #07140c80}
.hero-copy small{max-width:460px;line-height:1.55}
.hero-dot{height:5px;width:24px;backdrop-filter:blur(8px)}
.hero-dot.active{box-shadow:0 0 14px #00ed226e}
.heading{padding-bottom:22px;border-color:#dfe6df}
.heading h1{letter-spacing:-.035em}
.primary,.secondary,.heading-actions .secondary{transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease}
.primary{background:linear-gradient(135deg,#00e51b,#00c91c);box-shadow:0 5px 13px #00b71b23}
.primary:hover{background:linear-gradient(135deg,#00f321,#00d81d);box-shadow:0 7px 18px #00b71b35;transform:translateY(-1px)}
.secondary{border:1px solid #dfe7df;background:#fff;color:#31593a}
.secondary:hover,.heading-actions .secondary:hover{background:#f5faf5;border-color:#b6d5bb;box-shadow:0 4px 12px #17331c0d;transform:translateY(-1px)}
.stats{gap:14px}
.stat{border-radius:12px;background:linear-gradient(155deg,#fff,#fcfdfc);border-color:#e1e8e1;box-shadow:0 3px 12px #1c321e05;min-height:148px}
.stat:not(:first-child) .caption{color:#59635b}
.stat:hover{box-shadow:0 10px 24px #18331c12;border-color:#a9c9ae}
.stat.selected:not(:first-child){border-color:#218443;box-shadow:inset 0 0 0 1px #218443,0 8px 22px #18331c0b}
.stat:first-child.selected{background:linear-gradient(145deg,#202923,#2c352e);border-color:#202923}
.stat:first-child.selected b{color:#00ef22}
.stat:first-child:not(.selected){background:#fff;color:#202720;border-color:#e1e8e1}
.stat:first-child:not(.selected) .caption,.stat:first-child:not(.selected) small{color:#59635b}
.panel{border:1px solid #e2e9e2;border-radius:12px;box-shadow:0 5px 22px #19301b08}
.panel-title{padding:25px 28px 0}
.fleet-panel-heading{gap:20px}
.category-filter{font-size:.8rem;color:#778178}
.category-segments{background:#edf2ed}
.category-segments button.active{background:#26312a;box-shadow:0 2px 7px #1222171a}
.toolbar{padding:20px 28px;gap:10px}
.search{max-width:370px;background:#f6f8f6;border:1px solid #e6ebe6}
.usage-filter{background:#f6f8f6;border-color:#e3e9e3}
.segments{background:#f0f3f0}
.segments button{transition:background .16s,color .16s,box-shadow .16s}
.segments button:hover:not(.active){background:#e6ede6;color:#21452b}
.segments button.active{color:#1f3826;box-shadow:0 2px 7px #13221712}
.table-wrap{scrollbar-color:#cad6cb transparent;scrollbar-width:thin}
table{white-space:nowrap}
th{background:#f7f9f7;color:#727d73;font-size:.76rem;letter-spacing:.025em;padding:13px 16px}
td{padding:16px;font-size:.86rem;transition:background .15s}
tbody tr{transition:background .15s}
tbody tr:hover td{background:#f8fbf8}
td small{line-height:1.45}
.badge{border-radius:5px;font-weight:550;padding:5px 9px}
.actions button{border-radius:5px;transition:background .15s,color .15s}
.actions button:hover{background:#edf7ef}
.actions button.remove:hover{background:#fff0ef}
.empty{padding:58px 24px 64px}
.empty-icon{border-radius:18px;background:linear-gradient(145deg,#e9f8eb,#f2f8f2);color:#18763a}
dialog{border:1px solid #e3e9e3;border-radius:14px;box-shadow:0 28px 90px #07160c38}
dialog::backdrop{background:#111a1380;backdrop-filter:blur(5px)}
.modal-head{padding:25px 28px 17px}
.modal-head h2{letter-spacing:-.02em}
.close{border-radius:7px;background:#f0f3f0;transition:background .15s,color .15s}
.close:hover{background:#e6ece6;color:#17251a}
input,select,textarea{transition:border-color .16s,box-shadow .16s,background .16s}
input:focus,select:focus,textarea:focus{border-color:#238c43;box-shadow:0 0 0 3px #218a3c17}
#toast{border:1px solid #ffffff22;border-radius:9px;backdrop-filter:blur(14px);box-shadow:0 12px 34px #08150b35}
@media(max-width:1100px){.shell{grid-template-columns:205px minmax(0,1fr)}.workspace{padding-inline:24px}.stat{min-height:136px}}
@media(max-width:760px){
  .sidebar{background:#f8faf8}.nav button.active{box-shadow:0 2px 9px #11221612}
  .workspace{padding-inline:16px}.corporate-hero{border-radius:9px}
  .hero-slide::after{background-size:cover;mask-image:linear-gradient(90deg,transparent 0%,#0002 13%,#0009 31%,#000 52%,#000 86%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,#0002 13%,#0009 31%,#000 52%,#000 86%,transparent 100%)}
  .hero-shade{background:linear-gradient(90deg,#0c1712f2 0%,#0e1a13d8 28%,#0e1a1378 49%,#0e1a1314 72%,transparent 100%)}
  .hero-copy{left:18px}.stat{border-radius:10px;min-height:122px}.panel{border-radius:10px}
  .panel-title{padding:20px 18px 0}.toolbar{padding:17px 18px;gap:9px}
  .fleet-panel-heading{gap:8px}.category-filter{font-size:.73rem}.category-segments button{padding:7px 8px;font-size:.76rem}.category-segments button b{min-width:18px;height:18px;padding:0 4px}
  .table-wrap tr{border-color:#e8eee8}.table-wrap td:before{color:#788278}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}


/* Keep each vehicle fully framed while giving the photograph more width. */
.hero-slide::after{
  background-size:72% auto;
  mask-image:linear-gradient(90deg,transparent 0%,transparent 10%,#0002 18%,#0007 29%,#000e 40%,#000 49%,#000 91%,transparent 100%);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 10%,#0002 18%,#0007 29%,#000e 40%,#000 49%,#000 91%,transparent 100%);
}
.hero-slide-fleet::after{background-position:right 53%}
.hero-slide-xpeng::after{background-size:70% auto;background-position:right 54%}
.hero-slide-city::after{background-position:right 70%}
.hero-slide-hongqi-suv::after{background-position:right 76%}
.hero-slide-hongqi-sedan::after{background-size:68% auto;background-position:right 62%}
.hero-slide::before{filter:blur(19px) brightness(.68);transform:scale(1.1)}
.hero-shade{background:linear-gradient(90deg,#0c1712f0 0%,#102017d8 19%,#1020178c 31%,#14231b32 43%,#14231b08 58%,transparent 100%)}
@media(max-width:760px){
  .hero-slide::after{
    background-size:72% auto;
    mask-image:linear-gradient(90deg,transparent 0%,#0001 7%,#0005 17%,#000e 29%,#000 42%,#000 88%,transparent 100%);
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,#0001 7%,#0005 17%,#000e 29%,#000 42%,#000 88%,transparent 100%);
  }
  .hero-slide-fleet::after{background-position:right 53%}
  .hero-slide-xpeng::after{background-size:70% auto;background-position:right 54%}
  .hero-slide-city::after{background-position:right 70%}
  .hero-slide-hongqi-suv::after{background-position:right 76%}
  .hero-slide-hongqi-sedan::after{background-size:68% auto;background-position:right 62%}
  .hero-slide::before{filter:blur(15px) brightness(.68)}
}

/* Restore the broad, soft blend used in the 12:23 banner version. */
.hero-slide::after,
.hero-slide-xpeng::after,
.hero-slide-hongqi-sedan::after{
  background-size:68% auto;
  mask-image:linear-gradient(90deg,transparent 0%,transparent 24%,#0001 33%,#0004 43%,#000b 56%,#000 68%,#000 90%,transparent 100%);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 24%,#0001 33%,#0004 43%,#000b 56%,#000 68%,#000 90%,transparent 100%);
}
.hero-slide::before{filter:blur(26px) brightness(.5);transform:scale(1.15)}
.hero-shade{background:linear-gradient(90deg,#0c1712f5 0%,#0f1d15e3 27%,#122219ab 45%,#15251a55 65%,#14231b10 84%,transparent 100%)}
@media(max-width:760px){
  .hero-slide::after,
  .hero-slide-xpeng::after,
  .hero-slide-hongqi-sedan::after{
    background-size:68% auto;
    mask-image:linear-gradient(90deg,transparent 0%,transparent 13%,#0001 25%,#0004 39%,#000b 54%,#000 68%,#000 88%,transparent 100%);
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 13%,#0001 25%,#0004 39%,#000b 54%,#000 68%,#000 88%,transparent 100%);
  }
  .hero-slide::before{filter:blur(26px) brightness(.5);transform:scale(1.15)}
  .hero-shade{background:linear-gradient(90deg,#0c1712f2 0%,#0f1d15e3 30%,#122219ab 49%,#15251a55 68%,#14231b10 86%,transparent 100%)}
}

/* Every dashboard card uses the same selected treatment as the fleet total. */
.stat:first-child:not(.selected){background:#fff;color:#242824;border-color:#e1e6e1}
.stat:first-child:not(.selected) .caption,.stat:first-child:not(.selected) small{color:#65656d}
.stat:first-child:not(.selected) b{color:#242824}
.stat.selected{background:#252b27;color:#fff;border-color:#252b27;outline:2px solid #00ff01}
.stat.selected .caption,.stat.selected small{color:#c1ccc3}
.stat.selected b,.stat.selected.blue b,.stat.selected.orange b{color:#00ff01}

/* Align vehicle row actions into consistent columns across all rows. */
.vehicle-table .actions{display:grid;grid-template-columns:minmax(0,1.6fr) repeat(2,minmax(0,1fr));gap:4px;align-items:start;justify-content:stretch}
.vehicle-table .actions button{width:100%;padding:0;text-align:left}
@media(max-width:760px){.vehicle-table .actions{grid-template-columns:minmax(0,1.6fr) repeat(2,minmax(0,1fr));gap:4px;justify-content:stretch}.vehicle-table .actions button{padding:8px 0;text-align:center}}

/* Keep the complete vehicle ledger visible within the desktop workspace. */
.vehicle-scroll-hint{display:none}
@media(min-width:761px){
  .vehicle-table-wrap{overflow-x:hidden}
  .vehicle-table{width:100%;min-width:0;table-layout:fixed;white-space:normal}
  .vehicle-table th,.vehicle-table td{padding:12px 9px;text-align:left;white-space:normal;overflow-wrap:anywhere;vertical-align:top}
  .vehicle-table th:first-child,.vehicle-table td:first-child{padding-left:16px}
  .vehicle-table th:nth-child(1),.vehicle-table td:nth-child(1){width:20%}
  .vehicle-table th:nth-child(2),.vehicle-table td:nth-child(2){width:9%}
  .vehicle-table th:nth-child(3),.vehicle-table td:nth-child(3){width:8%}
  .vehicle-table th:nth-child(4),.vehicle-table td:nth-child(4){width:11%}
  .vehicle-table th:nth-child(5),.vehicle-table td:nth-child(5){width:11%}
  .vehicle-table th:nth-child(6),.vehicle-table td:nth-child(6){width:16%}
  .vehicle-table th:nth-child(7),.vehicle-table td:nth-child(7){width:12%}
  .vehicle-table th:nth-child(8),.vehicle-table td:nth-child(8){width:13%}
  .vehicle-table td{line-height:24px}
  .vehicle-table td small{margin-top:4px;line-height:18px}
  .vehicle-table .vehicle-title{min-height:24px}
  .vehicle-table td .badge{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;line-height:1;white-space:nowrap;vertical-align:top}
  .vehicle-table .vehicle-name-line strong,.vehicle-table .vehicle-name-line button{white-space:nowrap}
  .vehicle-table .vin{white-space:normal;overflow-wrap:anywhere}
  .vehicle-table .actions{min-height:24px}
  .vehicle-table .actions button{height:24px;line-height:24px;font-size:.8rem;white-space:nowrap}
}
@media(min-width:761px) and (max-width:1450px){
  .vehicle-table th,.vehicle-table td{padding-right:5px;padding-left:5px}
  .vehicle-table th:first-child,.vehicle-table td:first-child{padding-left:10px}
  .vehicle-table td .badge{white-space:normal;line-height:1.2}
  .vehicle-table th:nth-child(1),.vehicle-table td:nth-child(1){width:19%}
  .vehicle-table th:nth-child(6),.vehicle-table td:nth-child(6){width:15%}
  .vehicle-table th:nth-child(7),.vehicle-table td:nth-child(7){width:11%}
  .vehicle-table th:nth-child(8),.vehicle-table td:nth-child(8){width:16%}
  .vehicle-table .actions{display:flex;flex-wrap:nowrap;gap:5px;white-space:nowrap;align-items:center}
  .vehicle-table .actions button{width:auto}
  .vehicle-table .actions .muted{white-space:nowrap}
}

/* Keep dashboard cards compact even when a note is longer than one line. */
.stats{margin-bottom:14px}
.stat{min-height:94px;padding:11px 17px}
.stat .caption{display:block;font-size:1rem;font-weight:600;line-height:1.15}
.stat b{margin:5px 0 3px;font-size:1.9rem;line-height:1}
.stat small{display:block;font-size:.73rem;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1100px){.stat{min-height:94px;padding:11px 14px}}
@media(max-width:760px){.stats{gap:10px;margin-bottom:12px}.stat{min-height:90px;padding:10px 12px}.stat b{font-size:1.7rem;margin:4px 0 3px}}

/* Compact account list: role, login name and actions stay on one row. */
.user-row{display:grid;grid-template-columns:minmax(230px,1fr) auto;align-items:center;gap:12px;min-height:65px;padding:9px 24px}
.user-profile{display:flex;align-items:center;gap:11px;min-width:0}
.user-avatar{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;overflow:hidden;background:#e8f5ea;color:#226a37;font-size:.86rem;font-weight:650}
.user-avatar img{width:100%;height:100%;object-fit:cover}
.user-details{display:grid;gap:3px;min-width:0}
.user-name-line{display:flex;align-items:center;gap:8px;min-height:22px}
.user-name-line strong{font-size:.91rem;font-weight:600;white-space:nowrap}
.user-name-line .badge{padding:3px 7px;font-size:.72rem;line-height:1.25;white-space:nowrap}
.user-meta{display:flex;align-items:center;gap:12px;min-width:0;color:#78847b;font-size:.76rem;line-height:1.3}
.user-meta span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.user-password-note{color:#9c6718}
.user-controls{justify-content:flex-end;flex-wrap:nowrap;gap:2px}
.user-controls button{padding:7px 9px;font-size:.8rem;white-space:nowrap}
.user-controls button:hover:not(:disabled){background:#edf6ef;border-radius:3px}
.user-controls .user-delete{color:#b1332d}
.user-controls .user-delete:hover:not(:disabled){background:#fff0ee}
.user-controls button:disabled{opacity:.38;cursor:not-allowed}
.heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.heading-actions .secondary{border:1px solid #dce4dd;background:#fff;color:#276b3d;padding:11px 16px}
.heading-actions .secondary:hover{border-color:#8fbd99;background:#f4faf5}

/* Keep the fleet title and its description on one compact line. */
.heading-cars{padding-bottom:14px;margin-bottom:16px}
.heading-cars>div:first-child{display:flex;align-items:baseline;gap:18px;min-width:0;flex:1}
.heading-cars h1{flex:none;white-space:nowrap}
.heading-cars p{min-width:0;margin:0;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.heading-cars .heading-actions{flex:none}
@media(max-width:760px){
  .heading-cars{gap:12px;padding-bottom:14px;margin-bottom:16px}
  .heading-cars>div:first-child{width:100%;gap:10px}
  .heading-cars h1{font-size:1.5rem}
  .heading-cars p{font-size:.72rem}
}
.fleet-panel-heading{display:flex;align-items:center;gap:22px;min-width:0}
.category-filter{display:flex;align-items:center;gap:10px;padding:0;color:#68716a;font-size:.82rem;white-space:nowrap}
.category-segments{background:#eaf0eb}
.category-segments button{display:flex;align-items:center;gap:7px;padding:9px 15px}
.category-segments button b{display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 6px;border-radius:11px;background:#d9e4db;color:#3e6748;font-size:.72rem;font-weight:600}
.category-segments button.active{background:#253029;color:#fff}
.category-segments button.active b{background:#00ed16;color:#12361b}
.usage-filter{width:auto;min-width:170px;max-width:230px;background:#f4f6f4;border-color:#e6eae6;border-radius:4px;padding:11px 34px 11px 14px;color:#454c46}
.destructive-submit,.destructive-submit:hover{background:#bf3631;color:#fff}
@media(max-width:760px){
  .user-row{grid-template-columns:1fr;gap:5px;min-height:0;padding:10px 16px}
  .user-controls{justify-content:flex-start;flex-wrap:wrap;padding-left:45px}
  .user-controls button{padding:6px 8px}
  .heading{flex-direction:column}.heading-actions{width:100%;justify-content:flex-start}.heading-actions button{flex:1;padding-inline:10px}
  .fleet-panel-heading{flex-wrap:wrap;gap:10px}.category-filter{gap:8px}.category-segments{width:auto;max-width:calc(100vw - 128px);overflow:auto}.category-segments button{justify-content:center;flex:1;padding-inline:9px}
  .usage-filter{width:100%;max-width:none}
}
.auth-card .brand-logo{width:280px;max-width:100%;height:auto;image-rendering:auto}
@media(max-width:760px){.auth-card .brand-logo{width:230px}}

/* Login registration entry and superadmin review queue */
.auth-top-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:-8px 0 24px;color:#717773;font-size:.875rem}
.auth-register-link,.auth-back-link{color:#176f39;font-weight:600;padding:9px 12px;border:1px solid #d9e7dc;border-radius:5px;background:#f4f8f4;transition:background .16s ease,border-color .16s ease,transform .16s ease}
.auth-register-link:hover,.auth-back-link:hover{background:#eaf5ec;border-color:#9fc5a7;transform:translateY(-1px)}
.auth-register-link span{margin-left:4px;font-size:1rem}
.auth-back-link{display:block;margin:0 0 22px;background:#fff}
.auth-card:has(.auth-back-link){max-height:calc(100vh - 32px);overflow:auto}
.registration-success-icon{width:54px;height:54px;display:grid;place-items:center;margin:0 0 18px;border-radius:50%;background:#eaf7ed;color:#18813b;font-size:30px;font-weight:700}
.registration-queue{margin-bottom:22px}
.registration-queue .panel-title{padding-bottom:18px}
.registration-count{display:inline-grid;place-items:center;min-width:24px;height:24px;margin-left:6px;padding:0 7px;border-radius:20px;background:#eaf7ed;color:#176f39;font-size:.8rem;vertical-align:2px}
.registration-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 26px;border-top:1px solid #e9eee9}
.registration-applicant{display:flex;align-items:center;gap:12px;min-width:0}
.registration-applicant small{display:block;margin-top:5px;color:#717773}
.registration-avatar{flex:0 0 40px;width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:#edf7ef;color:#176f39;font-size:1.1rem;font-weight:600}
@media(max-width:760px){.auth-top-actions{margin:-8px 0 20px;font-size:.8rem}.auth-register-link{padding:8px 10px}.auth-card:has(.auth-back-link){max-height:calc(100vh - 20px)}.registration-row{align-items:flex-start;padding:16px 20px;flex-direction:column;gap:12px}.registration-row .actions{align-self:flex-end}}
.remember-row{display:flex;align-items:center;gap:9px;width:max-content;color:#68716a;font-size:.85rem;cursor:pointer}
.remember-row input{width:16px;height:16px;margin:0;accent-color:#16713a}

/* Fleet metrics: two text lines at left, prominent count at right. */
.stat{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-content:center;align-items:center;column-gap:10px;row-gap:8px;min-height:88px;padding:13px 18px}
.stat .caption{grid-column:1;grid-row:1;min-width:0}
.stat small{grid-column:1;grid-row:2;min-width:0;margin:0}
.stat b{grid-column:2;grid-row:1 / 3;align-self:center;margin:0;min-width:1ch;text-align:right;font-size:2rem}
.stat-arrow{display:none}
@media(max-width:760px){.stat{min-height:84px;padding:11px 12px;column-gap:6px}.stat b{font-size:1.7rem}}

/* Single-line vehicle parameters sit centrally beside cells with two lines. */
.vehicle-table td{vertical-align:middle}
.stat{grid-template-rows:min-content min-content;align-content:center}

.maintenance-alert-bar{display:flex;align-items:center;gap:14px;padding:10px 16px;margin:-2px 0 14px;border:1px solid #f0d8ad;border-radius:10px;background:#fff8ea;color:#815819;font-size:.83rem}
.maintenance-alert-bar strong{white-space:nowrap}
.maintenance-alert-bar>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.maintenance-alert-bar button,.maintenance-alert-bar span{padding:5px 9px;border-radius:5px;background:#fff0d1;color:#80510d;font-size:.8rem}
.maintenance-alert-bar button:hover{background:#ffe3a8}
.company-dialog{width:min(760px,calc(100% - 32px))}
.company-profile{padding:0 28px 28px;display:grid;gap:18px}
.company-profile section{border-top:1px solid #e5ece5;padding-top:16px}
.company-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.company-section-head h3{font-size:1rem}
.company-overview{font-size:.82rem;color:#566459;line-height:1.6}
.company-record{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #eef1ee}
.company-record:last-child{border-bottom:0}
.company-record strong{display:block;font-size:.88rem;line-height:1.5}
.company-record small,.company-uploaded{display:block;margin-top:4px;color:#69766b;font-size:.78rem;line-height:1.5}
.company-record .text-btn{flex:none}
.policy-type-list{display:grid;gap:10px}
.policy-type-card{padding:11px 14px;border:1px solid #e6ece6;border-radius:9px;background:#fcfdfc}
.policy-type-card .company-section-head{margin-bottom:2px}
.policy-type-card h4{margin:0;font-size:.88rem;color:#2c4532}
.policy-type-card .company-record{padding:8px 0}
.policy-form-type{margin:0 0 14px;padding:9px 12px;border-radius:7px;background:#edf6ee;color:#236c37;font-weight:650}
.vehicle-name-line{display:flex;align-items:center;gap:7px;min-width:0}
.vehicle-name-line strong{min-width:0}
.company-inline-link{flex:none;padding:1px 2px;color:#216e3d;font-size:.72rem;line-height:1.3;text-decoration:underline;text-underline-offset:2px}
.company-empty{padding:10px 0;color:#778178;font-size:.83rem}
.document-link{display:inline-block;margin-top:6px;color:#216e3d;font-size:.82rem;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
@media(max-width:760px){.maintenance-alert-bar{align-items:flex-start;flex-direction:column;gap:8px}.company-profile{padding:0 18px 20px}.company-dialog .modal-head{padding-inline:18px}}
.car-form-grid.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.car-form-grid.form-grid>.full{grid-column:1/-1}
@media(max-width:480px){.car-form-grid.form-grid{grid-template-columns:1fr}.car-form-grid.form-grid>.full{grid-column:auto}}
.stats{grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}
.stats .stat .caption{font-size:1.125rem}
@media(min-width:1251px){.stats .stat{min-width:0;padding-inline:10px;column-gap:6px}.stats .stat .caption{font-size:clamp(.875rem,1.05vw,1.125rem);white-space:nowrap}.stats .stat b{font-size:clamp(1.5rem,1.7vw,2rem)}}
@media(max-width:1250px){.stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
.user-toolbar{padding:18px 26px;display:grid;grid-template-columns:minmax(240px,1fr) minmax(220px,360px);gap:12px;border-bottom:1px solid #eeeef2}.user-toolbar .search{max-width:none}.user-toolbar select{background-color:#f8f8fa}@media(max-width:640px){.user-toolbar{grid-template-columns:1fr;padding:16px}}
.vehicle-details-view{display:grid;grid-template-columns:minmax(180px,300px) 1fr;gap:20px;align-items:center}.vehicle-photo-preview{height:180px;border:1px dashed #d9e2dc;border-radius:14px;background:#f7faf8;display:grid;place-items:center;overflow:hidden;color:#89928c;font-size:.9rem}.vehicle-photo-preview img{width:100%;height:100%;object-fit:cover;display:block}.vehicle-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}.vehicle-specs div{padding:14px;border-radius:12px;background:#f6f8f6}.vehicle-specs dt{font-size:.8rem;color:#78817b}.vehicle-specs dd{margin:8px 0 0;font-weight:600;color:#26312a}.vehicle-details-form[hidden],.vehicle-details-view[hidden]{display:none}.vehicle-details-form{margin-top:16px}.event-row{align-items:center}.event-details{flex:1}.event-details small{display:block;color:#7c8580;margin-top:7px}.event-meta{display:flex;align-items:center;gap:12px;flex-shrink:0}.event-meta>small{color:#7c8580}@media(max-width:600px){.vehicle-details-view{grid-template-columns:1fr}.vehicle-photo-preview{height:150px}.vehicle-specs{grid-template-columns:1fr 1fr}.event-meta{align-items:flex-end;flex-direction:column;gap:3px}}
.vehicle-details-view{grid-template-columns:minmax(190px,35%) minmax(0,1fr);align-items:stretch;gap:12px}.vehicle-photo-preview{height:auto;min-height:360px}.vehicle-photo-preview a{display:block;width:100%;height:100%}.vehicle-photo-preview img{object-fit:contain}.vehicle-specs{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:5px;align-content:stretch}.vehicle-specs div{min-width:0;padding:7px 8px;border-radius:8px}.vehicle-specs .vehicle-spec-wide{grid-column:span 2}.vehicle-specs dt{font-size:.7rem;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vehicle-specs dd{font-size:.82rem;line-height:1.2;margin:3px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vehicle-detail-actions{display:flex;flex-wrap:wrap;gap:4px}@media(max-width:700px){.vehicle-details-view{grid-template-columns:1fr}.vehicle-photo-preview{height:190px;min-height:190px}.vehicle-specs{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto}}@media(max-width:480px){.vehicle-specs{grid-template-columns:repeat(2,minmax(0,1fr))}}
.event-toolbar{padding:18px 26px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #edf1ed}.event-range{padding:16px 26px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;border-bottom:1px solid #edf1ed;background:#f8faf8}.event-range .note{align-self:center}.event-range .primary{justify-self:end}.event-pagination{padding:16px 26px;display:flex;align-items:center;justify-content:center;gap:14px;color:#69736c}.event-pagination .secondary{border-radius:9px}@media(max-width:640px){.event-toolbar{padding:14px 18px}.event-range{padding:14px 18px;grid-template-columns:1fr}.event-range .primary{justify-self:stretch}}
.event-panel-title{padding-bottom:16px;gap:12px}.event-head-actions{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:12px;white-space:nowrap}.event-head-actions .secondary{border-radius:9px}@media(max-width:520px){.event-panel-title{flex-wrap:wrap}.event-head-actions{width:100%;justify-content:flex-end;gap:8px}}
.event-filters{padding:14px 26px;display:grid;grid-template-columns:minmax(130px,1fr) minmax(130px,170px) minmax(130px,170px) minmax(180px,1.5fr) auto;gap:10px;align-items:end;border-bottom:1px solid #edf1ed}.event-filters label{min-width:0}.event-filters select,.event-filters input{width:100%;padding:10px 12px}.event-filters .text-btn{white-space:nowrap;align-self:end;min-height:42px}@media(max-width:980px){.event-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.event-filters .text-btn{justify-self:end}}@media(max-width:520px){.event-filters{padding:12px 18px;grid-template-columns:1fr}}
.nav .nav-section-heading{margin:0 14px 8px;padding:0;color:#7b857d;font-size:.75rem;font-weight:400;letter-spacing:.14em}.nav .sidebar-admin-heading{margin-top:16px}.borrow-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}.borrow-summary>div{display:flex;flex-direction:column;gap:5px;padding:20px;background:#fff;border:1px solid #e0e6e0;border-radius:6px}.borrow-summary strong{font-size:1.9rem;color:#16713a}.borrow-summary span{color:#68736a;font-size:.875rem}.borrow-filters{display:grid;grid-template-columns:1fr 1.2fr 150px auto;gap:12px;align-items:end;padding:20px 26px;border-bottom:1px solid #edf1ed}.borrow-filters .text-btn{min-height:44px;white-space:nowrap}.borrow-device-note{margin-top:18px;padding-bottom:24px}.borrow-device-note p{padding:14px 26px 0;color:#717773;line-height:1.6}@media(max-width:900px){.borrow-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.nav .nav-section-heading{display:none}.nav .sidebar-admin-heading{display:block;margin:0 4px;padding:8px 6px;border:0;white-space:nowrap;font-size:.7rem}.borrow-summary{grid-template-columns:1fr 1fr}.borrow-filters{padding:16px;grid-template-columns:1fr 1fr}}@media(max-width:520px){.borrow-summary{grid-template-columns:1fr}.borrow-filters{grid-template-columns:1fr}}
.sidebar{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-top:20px;padding-bottom:14px;gap:12px}.sidebar>.sidebar-heading{margin:0 14px 8px}.nav{display:flex;flex-direction:column;gap:2px;flex:none}.nav button{min-height:44px;padding:9px 14px;line-height:1.35}.nav .icon{font-size:18px;flex:none}.nav .nav-section-heading{margin:5px 14px 6px}.nav .sidebar-admin-heading{margin-top:9px;padding-top:11px}.sidebar-foot{flex:none;padding-top:12px}@media(max-width:760px){.sidebar{overflow:visible;height:auto;padding:13px 16px 9px}.nav{flex-direction:row;overflow-x:auto;overflow-y:hidden}.nav button{min-height:40px;flex:none}.nav .sidebar-admin-heading{margin:0 4px;padding:8px 6px}}
.sidebar{position:sticky;top:60px;height:calc(100vh - 60px);padding-top:12px;overflow-y:visible}.nav .nav-section-heading{position:static;margin-top:0;padding-top:5px;padding-bottom:5px;background:#f8faf8}
@media(max-width:760px){.sidebar{position:static;top:auto;height:auto}}
.borrow-summary-current{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:520px){.borrow-summary-current{grid-template-columns:1fr}}
.heading-borrow-stats{gap:24px;align-items:center}.heading-borrow-stats>div:first-child{min-width:0}.borrow-heading-summary{display:flex;gap:10px;margin-left:auto;flex:none}.borrow-heading-summary>div{min-width:160px;min-height:80px;padding:12px 17px;display:flex;flex-direction:column;justify-content:center;gap:4px;background:#fff;border:1px solid #e0e6e0;border-radius:6px}.borrow-heading-summary strong{font-size:1.55rem;line-height:1;color:#16713a}.borrow-heading-summary span{font-size:.82rem;color:#68736a;white-space:nowrap}@media(max-width:900px){.heading-borrow-stats{align-items:flex-start;flex-direction:column}.borrow-heading-summary{margin-left:0;width:100%}.borrow-heading-summary>div{flex:1}}@media(max-width:520px){.borrow-heading-summary>div{min-width:0;padding:10px 12px}.borrow-heading-summary span{font-size:.74rem}}
.borrow-heading-summary>button{min-width:145px;min-height:64px;padding:9px 15px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;background:#fff;border:1px solid #dfe6df;border-radius:6px;text-align:left;transition:border-color .18s,background .18s}.borrow-heading-summary>button:hover{border-color:#73ad80;background:#f8fcf9}.borrow-heading-summary>button.selected{border-color:#15803d;background:#edf8ef;box-shadow:inset 0 0 0 1px #15803d}.borrow-heading-summary>button strong{font-size:1.35rem}.borrow-heading-summary>button span{font-size:.78rem}.borrow-filters{grid-template-columns:minmax(170px,1fr) minmax(230px,1.3fr) auto}@media(max-width:900px){.borrow-heading-summary>button{flex:1}}@media(max-width:520px){.borrow-heading-summary{gap:5px}.borrow-heading-summary>button{min-width:0;padding:8px 7px}.borrow-heading-summary>button strong{font-size:1.12rem}.borrow-heading-summary>button span{white-space:normal;font-size:.68rem;line-height:1.25}}
@media(max-width:900px){.borrow-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.borrow-filters{grid-template-columns:1fr}}
.heading-cars>div:first-child{display:block}.heading-cars p{margin-top:8px;white-space:normal;overflow:visible;text-overflow:clip}.heading-cars h1{white-space:normal}@media(max-width:760px){.heading-cars>div:first-child{display:block}.heading-cars p{margin-top:7px}}
.user-details{display:flex;align-items:center;gap:13px;min-width:0;width:100%}.user-name-line{flex:none}.user-meta{flex:1;overflow:hidden;gap:11px}.user-meta span:first-child,.user-password-note{flex:none}.user-meta span:not(:first-child):not(.user-password-note){min-width:0}@media(max-width:760px){.user-details{gap:9px}.user-meta{gap:8px}.user-name-line strong{font-size:.86rem}}
.user-profile{gap:0}@media(max-width:760px){.user-controls{padding-left:0}}
.heading p{margin-top:8px}.heading-borrow-stats{justify-content:flex-start;gap:18px}.heading-borrow-stats>div:first-child{flex:none}.borrow-heading-summary{margin-left:0;gap:8px}.borrow-export{margin-left:auto;flex:none;white-space:nowrap;border:1px solid #dce4dd;background:#fff;color:#276b3d;padding:10px 15px}@media(max-width:1100px){.heading-borrow-stats{flex-wrap:wrap}.borrow-export{margin-left:0}}@media(max-width:900px){.borrow-heading-summary{width:auto;max-width:100%}.borrow-heading-summary>button{flex:none}}@media(max-width:520px){.borrow-heading-summary{width:100%}.borrow-heading-summary>button{flex:1}.borrow-export{margin-left:0}}
/* Shared compact spacing for data lists, including future tables and list rows. */
.panel .table-wrap th{padding-top:10px;padding-bottom:10px}.panel .table-wrap td{padding-top:9px;padding-bottom:9px;line-height:1.35}.panel .table-wrap td small{margin-top:3px;line-height:1.3}.panel .list-row{padding-top:12px;padding-bottom:12px}.panel .list-row small{margin-top:3px}.panel .user-row{min-height:48px;padding-top:7px;padding-bottom:7px}.panel .event-row{min-height:52px}.panel .approval-row{padding-top:11px;padding-bottom:11px}@media(min-width:761px){.panel .vehicle-table th,.panel .vehicle-table td{padding-top:7px;padding-bottom:7px}.panel .vehicle-table td{line-height:21px}.panel .vehicle-table td small{margin-top:2px;line-height:16px}.panel .vehicle-table .vehicle-title{min-height:21px}}@media(max-width:760px){.panel .table-wrap tr{padding:11px 16px;gap:10px}.panel .table-wrap td{padding:0}.panel .list-row{padding:10px 16px}}
#fleetPanel>.panel-title{gap:14px;flex-wrap:wrap}#fleetPanel .fleet-panel-heading{flex:none;gap:12px}#fleetPanel .category-filter{gap:7px}#fleetPanel .category-segments button{padding-inline:9px}#fleetPanel .fleet-panel-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:1;min-width:0}#fleetPanel .fleet-panel-tools .search{width:clamp(190px,20vw,310px);max-width:none;flex:1 1 190px;padding:10px 12px}#fleetPanel .fleet-panel-tools .usage-filter{min-width:125px;max-width:165px;padding:10px 27px 10px 11px}#fleetPanel .fleet-panel-actions{display:flex;align-items:center;gap:5px;flex:none}#fleetPanel .fleet-panel-actions .secondary{white-space:nowrap;padding:10px 12px;border:1px solid #dce4dd;background:#fff;color:#276b3d}#fleetPanel .fleet-panel-actions .text-btn{white-space:nowrap}#fleetPanel .fleet-status-toolbar{padding-top:12px;padding-bottom:14px}@media(max-width:1350px){#fleetPanel .fleet-panel-tools{flex-basis:100%;justify-content:flex-end}#fleetPanel .fleet-panel-tools .search{flex:none;width:min(350px,40vw)}}@media(max-width:760px){#fleetPanel .fleet-panel-tools{flex-wrap:wrap}#fleetPanel .fleet-panel-tools .search{flex:1 1 100%;width:100%}#fleetPanel .fleet-panel-tools .usage-filter{flex:1;max-width:none}#fleetPanel .fleet-panel-actions{justify-content:flex-end}#fleetPanel .fleet-status-toolbar{padding-top:10px}}
.borrow-heading-summary>button{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto;align-items:center;column-gap:10px;min-height:68px;background:#fff;color:#242824;border:1px solid #e1e6e1;outline:0}.borrow-heading-summary>button span{grid-column:1;grid-row:1;color:#59645c;font-size:.87rem;font-weight:600;line-height:1.2}.borrow-heading-summary>button strong{grid-column:2;grid-row:1;font-size:1.85rem;font-weight:500;line-height:1;color:#16713a}.borrow-heading-summary>button.selected{background:#252b27;color:#fff;border-color:#252b27;outline:2px solid #00ff01;box-shadow:none}.borrow-heading-summary>button.selected span{color:#c1ccc3}.borrow-heading-summary>button.selected strong{color:#00ff01}@media(max-width:520px){.borrow-heading-summary>button{column-gap:5px;padding:8px}.borrow-heading-summary>button span{font-size:.71rem}.borrow-heading-summary>button strong{font-size:1.35rem}}
html:has(dialog[open]),body:has(dialog[open]){overflow:hidden;overscroll-behavior:none}dialog[open]{overflow-y:auto;overscroll-behavior:contain}
#fleetPanel .fleet-panel-tools{gap:6px}#fleetPanel .fleet-panel-tools .search,#fleetPanel .fleet-panel-tools .usage-filter{font-size:.83rem;line-height:1.25;height:39px;padding-top:8px;padding-bottom:8px}#fleetPanel .fleet-panel-tools .search::placeholder{font-size:.83rem;color:#8a928c}#fleetPanel .fleet-panel-actions .secondary,#fleetPanel .fleet-panel-actions .text-btn{font-size:.8rem;line-height:1.25;min-height:39px;padding:8px 10px}.car-form-import{margin-left:auto;margin-right:10px;font-size:.84rem;padding:8px 12px;border:1px solid #dce4dd;background:#fff;color:#276b3d;white-space:nowrap}@media(max-width:760px){.car-form-import{margin-right:6px;padding:7px 9px}}
#fleetPanel>.panel-title{padding-bottom:12px;row-gap:10px}#fleetPanel .fleet-panel-heading h2{font-size:1.12rem;white-space:nowrap}#fleetPanel .category-filter{font-size:.78rem}#fleetPanel .category-segments{padding:3px}#fleetPanel .category-segments button{min-height:38px;padding:6px 9px;font-size:.82rem}#fleetPanel .fleet-panel-tools .search{width:clamp(220px,27vw,440px);border:1px solid #e2e9e2;background:#f7f9f7}#fleetPanel .fleet-panel-actions .secondary{border-radius:4px}@media(max-width:1350px){#fleetPanel .fleet-panel-tools .search{width:min(440px,55vw)}}@media(max-width:760px){#fleetPanel .fleet-panel-tools .search{width:100%}}
.heading-borrow-stats .borrow-heading-summary{flex-wrap:wrap;min-width:0}.heading-borrow-stats .borrow-heading-summary>button{min-width:130px;min-height:62px}.heading-borrow-stats .borrow-export{align-self:center}
.my-borrow-list{min-height:520px}.heading-borrow-stats .borrow-heading-summary>button{flex:0 0 145px}
.company-profile>section[hidden]{display:none!important}
/* 列表通用字号：新增列表沿用主信息、次信息与操作文字的层级。 */
:root{--list-text-size:.875rem;--list-detail-size:.75rem;--list-line-height:1.4}
.panel .table-wrap tbody td,.panel .list-row{font-size:var(--list-text-size);line-height:var(--list-line-height)}
.panel .table-wrap tbody td small,.panel .list-row small{font-size:var(--list-detail-size);line-height:1.35}
.panel .table-wrap tbody td .actions>button,.panel .table-wrap tbody td .actions>.muted{font-size:var(--list-text-size);line-height:var(--list-line-height);font-weight:400;letter-spacing:0}
.panel .table-wrap tbody td .actions>.muted{display:inline-block;color:#69756c}
.equipment-toolbar{display:flex;align-items:center;gap:16px;padding:18px 28px}.equipment-toolbar .search{max-width:420px}.equipment-history{margin-top:20px}.equipment-scanner-panel{margin-bottom:20px}.equipment-scanner-panel>.panel-title{align-items:flex-start;padding:20px 24px 0}.equipment-scanner-panel .panel-title .note{margin-top:5px}.equipment-scanner{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:10px 14px;padding:12px 24px 20px;max-width:100%}.equipment-scanner>label{font-weight:600;gap:5px}.equipment-scanner>label[for="equipmentBarcode"],.equipment-scan-row,.equipment-scanner>.note,.equipment-scan-result{grid-column:1/-1}.equipment-scan-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.equipment-barcode{min-height:46px;border:1.5px solid #bfd7c2;background:#f8fbf8;font-size:1.05rem;letter-spacing:.3px;padding:9px 13px}.equipment-barcode:focus{border-color:#238c43;box-shadow:0 0 0 3px #218a3c1c}.equipment-scan-row .primary{min-width:138px;padding:10px 18px}.equipment-scanner .note{margin:0;font-size:.8rem;line-height:1.4}.equipment-scanner label input,.equipment-scanner label select{min-height:42px;padding:9px 12px}.equipment-scan-result{min-height:42px;padding:9px 13px;background:#f3f6f3;border-radius:6px;color:#637066;font-size:.84rem}.equipment-scanner:not(.has-borrower) label:has(#equipmentTransactionNotes){grid-column:1/-1}.equipment-scan-success{color:#197337;font-size:.95rem}.equipment-history .panel-title{padding-bottom:18px}
@media(max-width:760px){.equipment-toolbar{align-items:stretch;flex-direction:column;padding:16px 18px}.equipment-toolbar .search{max-width:none}.equipment-scanner{grid-template-columns:1fr;gap:9px;padding:12px 18px 17px}.equipment-scanner>label[for="equipmentBarcode"],.equipment-scan-row,.equipment-scanner>.note,.equipment-scan-result,.equipment-scanner label{grid-column:1}.equipment-scan-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}.equipment-scan-row .primary{min-width:105px;width:auto;padding:10px 12px}.equipment-barcode{font-size:.95rem}.equipment-scanner.has-borrower label:has(#equipmentBorrower),.equipment-scanner.has-borrower label:has(#equipmentTransactionNotes){grid-column:auto}}
.borrow-stats-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:26px}.borrow-stats-section{min-width:0}.borrow-stats-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 4px 14px}.borrow-stats-heading h2{font-size:1.25rem}.borrow-stats-heading p{margin-top:5px;color:#737c74;font-size:.875rem}.borrow-stat-switches{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 14px}.borrow-stat-switches>button{flex:1 1 140px;min-width:130px}.equipment-stat-switches>button{flex-basis:160px}.borrow-stats-section>.panel{overflow:hidden}.stats-section-note{padding:14px 26px 0}.borrow-stats-section .borrow-filters{grid-template-columns:minmax(170px,1fr) minmax(230px,1.3fr) auto}@media(max-width:760px){.borrow-stats-heading{align-items:flex-start}.borrow-stat-switches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.borrow-stat-switches>button,.equipment-stat-switches>button{min-width:0;min-height:58px}.borrow-stats-section .borrow-filters{grid-template-columns:1fr 1fr}}
.workspace-tools{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:0 0 20px;min-height:0}.workspace-tools-summary{justify-content:flex-start}.workspace-tools .borrow-heading-summary{margin:0;flex-wrap:wrap}.workspace-tools .borrow-heading-summary>button{min-width:145px}@media(max-width:600px){.workspace-tools-summary .borrow-heading-summary{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-tools-summary .borrow-heading-summary>button{min-width:0}}
.borrow-panel-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0}.borrow-panel-actions .borrow-export{margin:0;padding:8px 12px;font-size:.82rem}@media(max-width:600px){.borrow-panel-actions{gap:8px;flex-wrap:wrap}.borrow-panel-actions .borrow-export{padding:7px 9px}}
.borrow-stats-record-title{gap:18px}.borrow-record-tools{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex:1;min-width:0}.borrow-stats-search{width:clamp(220px,26vw,340px);max-width:340px;padding:9px 12px;border-radius:4px;background:#f6f8f6;border-color:#e2e9e2}.borrow-record-tools .note{white-space:nowrap}@media(max-width:1100px){.borrow-stats-record-title{align-items:flex-start;flex-wrap:wrap}.borrow-record-tools{width:100%;flex:1 1 100%;justify-content:flex-start}.borrow-stats-search{width:auto;max-width:none;flex:1}}@media(max-width:560px){.borrow-record-tools{flex-wrap:wrap;gap:8px}.borrow-stats-search{flex:1 1 100%;width:100%}.borrow-record-tools .note{margin-right:auto}}
:root{--surface-card:#fff;--surface-border:#e1e8e1;--surface-radius:10px}.panel{background:var(--surface-card);border-color:var(--surface-border);border-radius:var(--surface-radius)}.stats,.borrow-stat-switches{background:var(--surface-card);border:1px solid var(--surface-border);border-radius:var(--surface-radius);padding:10px}.stat,.borrow-heading-summary>button,.equipment-method-card{background:var(--surface-card);border-color:var(--surface-border);border-radius:8px}.workspace-tools .borrow-stat-switches{margin-bottom:0}
.equipment-entry-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:calc(100% - 48px);max-width:680px;min-width:0;margin:8px 24px 14px}.equipment-entry-tabs>*{min-width:0;max-width:100%}.equipment-method-card{grid-template-columns:minmax(0,1fr);grid-template-rows:min-content min-content;row-gap:2px;min-width:0;height:84px;min-height:84px;max-width:100%;padding:8px 14px;text-align:left;align-content:center;overflow-wrap:anywhere;border:2px solid #e1e8e1}.equipment-method-card .caption{font-size:1rem;color:#59635b;white-space:normal}.equipment-method-card small{font-size:.82rem;line-height:1.35;white-space:normal;overflow-wrap:anywhere;color:#747d75}.equipment-entry-tabs .equipment-method-card.selected{border-color:#252b27;outline:2px solid #00ff01;outline-offset:2px}.equipment-method-card.selected .caption,.equipment-method-card.selected small{color:#c1ccc3}.equipment-scanner{padding:0 24px 20px}.equipment-scanner.manual-entry{align-items:end}.equipment-scanner.manual-entry>label{grid-column:span 1}.equipment-scanner.manual-entry>.equipment-manual-submit{justify-self:start;min-width:140px;padding:10px 18px}.equipment-scanner.manual-entry>.equipment-manual-help{grid-column:1/-1;margin:0}.equipment-scanner.manual-entry .equipment-scan-result{grid-column:1/-1}@media(max-width:760px){.equipment-entry-tabs{grid-template-columns:1fr;width:calc(100% - 36px);max-width:none;margin:8px 18px 14px}.equipment-scanner{padding:0 18px 17px}.equipment-scanner.manual-entry{grid-template-columns:1fr}.equipment-scanner.manual-entry>label,.equipment-scanner.manual-entry>.equipment-manual-submit,.equipment-scanner.manual-entry>.equipment-manual-help,.equipment-scanner.manual-entry .equipment-scan-result{grid-column:1}.equipment-scanner.manual-entry>.equipment-manual-submit{width:100%}}
.company-profile .vehicle-details-view{align-items:stretch;grid-template-columns:minmax(180px,34%) minmax(0,1fr)}
.company-profile .vehicle-photo-column{height:100%;display:grid;grid-template-rows:minmax(0,1fr) minmax(0,1fr);min-height:0}
.company-profile .vehicle-photo-preview{height:auto;min-height:0}
.company-profile .inspection-sheet-upload{height:100%;min-height:0;align-content:center}
.company-profile .vehicle-specs{grid-auto-rows:auto;align-content:start;align-items:start;gap:7px}
.company-profile .vehicle-specs>div{height:auto;min-height:57px;padding:8px 10px}
.company-profile .vehicle-specs dt{white-space:normal;overflow:visible;font-size:.72rem;line-height:1.3}
.company-profile .vehicle-specs dd{white-space:normal;overflow-wrap:anywhere;line-height:1.3}
.company-profile .vehicle-photo-upload{position:relative;display:grid;place-items:center;width:100%;height:100%;padding:0;overflow:hidden;color:#7d8c82;background:transparent;cursor:pointer}
.company-profile .vehicle-photo-upload img{width:100%;height:100%;object-fit:contain}
.company-profile .vehicle-photo-hint{position:absolute;bottom:0;left:0;right:0;padding:9px 12px;background:rgba(20,43,29,.78);color:#fff;font-size:.79rem;text-align:center;opacity:0;transition:opacity .15s}
.company-profile .vehicle-photo-upload:hover .vehicle-photo-hint,.company-profile .vehicle-photo-upload:focus-visible .vehicle-photo-hint{opacity:1}
.company-profile .vehicle-photo-upload:not(:has(img)) .vehicle-photo-hint{opacity:1;background:transparent;color:#356549;bottom:36%}
.company-profile .vehicle-photo-upload:disabled{cursor:not-allowed;opacity:.6}
.company-profile .vehicle-photo-note{display:block;margin:0;color:#7b877d;font-size:.73rem;line-height:1.35;text-align:center}
@media(max-width:760px){.company-profile .vehicle-details-view{grid-template-columns:1fr}.company-profile .vehicle-photo-column{height:auto;grid-template-rows:180px 180px}.company-profile .vehicle-photo-preview{height:100%}.company-profile .vehicle-specs{grid-template-columns:repeat(2,minmax(0,1fr))}}
.car-form-grid>label:not(.full),.car-form-grid>.brand-picker{min-height:78px;align-content:start}
.car-form-grid>label:not(.full)>input,.car-form-grid>label:not(.full)>select,.car-form-grid .brand-trigger{height:46px;min-height:46px}
.company-profile .vehicle-specs{grid-auto-rows:minmax(46px,auto);align-items:stretch;gap:4px}
.company-profile .vehicle-specs>div{height:auto;min-height:46px;padding:5px 8px;display:flex;flex-direction:column;justify-content:flex-start;gap:2px}
.company-profile .vehicle-specs dt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow:hidden;line-height:1.15}
.company-profile .vehicle-specs dd{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow-wrap:anywhere;overflow:hidden;line-height:1.18;margin-top:0}
@media(min-width:761px){
  .vehicle-table th:nth-child(1),.vehicle-table td:nth-child(1){width:18%}
  .vehicle-table th:nth-child(2),.vehicle-table td:nth-child(2){width:8%}
  .vehicle-table th:nth-child(3),.vehicle-table td:nth-child(3){width:7%}
  .vehicle-table th:nth-child(4),.vehicle-table td:nth-child(4){width:8%}
  .vehicle-table th:nth-child(5),.vehicle-table td:nth-child(5){width:10%}
  .vehicle-table th:nth-child(6),.vehicle-table td:nth-child(6){width:10%}
  .vehicle-table th:nth-child(7),.vehicle-table td:nth-child(7){width:14%}
  .vehicle-table th:nth-child(8),.vehicle-table td:nth-child(8){width:9%}
  .vehicle-table th:nth-child(9),.vehicle-table td:nth-child(9){width:16%}
  .vehicle-table .actions{display:flex;flex-wrap:nowrap;align-items:center;gap:5px;white-space:nowrap}
  .vehicle-table .actions button{width:auto;flex:none}
  .vehicle-table .actions .muted{white-space:nowrap;flex:none}
}
@media(min-width:761px) and (max-width:1200px){.vehicle-table-wrap{overflow-x:auto}.vehicle-table{min-width:1060px}}
@media(max-width:760px){.car-form-grid>label:not(.full),.car-form-grid>.brand-picker{min-height:74px}.company-profile .vehicle-specs>div{min-height:46px}}
.fleet-archived-filter,.equipment-archived-toggle{flex:none;min-height:38px;padding:7px 12px;border:1px solid #dce4dd;border-radius:4px;background:#fff;color:#516358;font-size:.82rem;line-height:1.2;white-space:nowrap}
.fleet-archived-filter:hover,.equipment-archived-toggle:hover{border-color:#7fad8a;background:#f2f8f3}
.fleet-archived-filter.active,.equipment-archived-toggle.active{border-color:var(--card-selected-border);background:var(--card-selected-bg);color:var(--card-selected-text)}
#fleetPanel .fleet-panel-heading{gap:10px;flex-wrap:wrap}
.fleet-category-group{display:flex;align-items:center;gap:8px;min-width:0}
.fleet-category-group.with-filter{padding:4px 7px 4px 13px;border-radius:6px;background:#eaf0eb}
.fleet-category-group.with-filter h2{margin:0;white-space:nowrap}
#fleetPanel .fleet-category-group .category-segments{padding:0;background:transparent}
#fleetPanel .fleet-category-group .category-filter{gap:0}
@media(max-width:760px){#fleetPanel .fleet-panel-heading{width:100%;gap:8px}.fleet-archived-filter{min-height:36px;padding:6px 10px}}
@media(max-width:760px){.fleet-category-group.with-filter{max-width:100%;flex-wrap:wrap;padding:7px 9px;gap:5px}.fleet-category-group.with-filter h2{width:100%}#fleetPanel .fleet-category-group .category-segments{max-width:100%;overflow-x:auto}}

/* 全站卡片规范：新增页面沿用 panel / panel-title / toolbar / table-wrap / stats。 */
:root{
  --surface-canvas:#f2f5f2;
  --surface-card:#fff;
  --surface-muted:#f8faf8;
  --surface-border:#b9cbbb;
  --surface-divider:#d5e1d7;
  --attention-surface:#fff9ed;
  --attention-border:#e7c88b;
  --attention-accent:#a86918;
  --attention-text:#5d4824;
  --table-header-bg:#e9f1ea;
  --table-header-text:#3f6048;
  --table-row-alt-bg:#f3f7f3;
  --table-head-font-size:.9rem;
  --table-cell-font-size:.875rem;
  --table-emphasis-font-size:.96rem;
  --table-meta-font-size:.78rem;
  --surface-radius:10px;
  --surface-gap:22px;
  --list-search-width:482px;
  --list-search-height:42px;
  --list-search-bg:#f7f9f7;
  --list-search-border:#e2e9e2;
  --list-search-font-size:.83rem;
  --list-search-placeholder-size:.875rem;
}
body{background:var(--surface-canvas)}
.panel{background:var(--surface-card);border:1px solid var(--surface-border);border-radius:var(--surface-radius);box-shadow:0 6px 20px #18341d0b}
.panel-title{min-height:80px;padding:23px 28px 20px;gap:24px;align-items:center;border-bottom:1px solid var(--surface-divider)}
.panel-title h2{line-height:1.3}
.panel-title .note{color:#66766a}
.panel>.toolbar{padding:18px 28px;gap:16px;border-bottom:1px solid var(--surface-divider)}
.panel .table-wrap th{background:var(--surface-muted);border-top:0;border-bottom:1px solid var(--surface-divider)}
.panel .table-wrap tbody td{border-bottom-color:#e7eee8}
.stats,.borrow-stat-switches{background:transparent;border:0;border-radius:0;padding:0;gap:16px}
.stat,.borrow-heading-summary>button,.equipment-method-card{background:var(--surface-card);border:1px solid var(--surface-border);border-radius:8px;box-shadow:0 2px 10px #18341d07}
.borrow-stats-layout{gap:32px}
.borrow-stat-switches{margin-bottom:var(--surface-gap)}
.borrow-stats-section>.panel{margin-top:0}
.borrow-stats-record-title{gap:24px}
.borrow-record-tools,.borrow-panel-actions{gap:18px}
.panel-title>.toolbar{padding:0;margin:0;border:0}
.borrow-record-tools .note,.borrow-panel-actions .note{white-space:nowrap}
.borrow-stats-search,.panel .search{min-height:42px;background:var(--surface-muted);border:1px solid var(--surface-border);border-radius:5px}
.borrow-export,.borrow-panel-actions .borrow-export{min-height:42px;padding:10px 16px;border:1px solid var(--surface-border);border-radius:5px;background:#fff;color:#276b3d;font-size:.875rem}
.equipment-toolbar,.user-toolbar,.event-toolbar{gap:16px}
@media(max-width:1100px){.panel-title{flex-wrap:wrap;row-gap:14px}.borrow-record-tools{width:100%;flex:1 1 100%;justify-content:flex-start}.borrow-panel-actions{margin-left:auto}}
@media(max-width:760px){.panel-title{min-height:0;padding:18px 18px 16px;gap:12px}.panel>.toolbar{padding:16px 18px}.stats,.borrow-stat-switches{gap:12px}.borrow-stat-switches{margin-bottom:18px}.borrow-stats-layout{gap:24px}.borrow-record-tools,.borrow-panel-actions{gap:10px}.borrow-stats-search{width:100%}}

/* Larger searchable borrower picker for equipment checkout. */
.equipment-scanner-panel{position:relative;z-index:3;overflow:visible}
.equipment-borrower-picker{position:relative;z-index:4;width:100%}
.equipment-borrower-picker>input{width:100%}
.equipment-borrower-options{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:20;max-height:360px;overflow-y:auto;padding:6px;background:#fff;border:1px solid var(--surface-border);border-radius:8px;box-shadow:0 12px 28px #18341d24;overscroll-behavior:contain}
.equipment-borrower-options[hidden],.equipment-borrower-empty[hidden]{display:none}
.equipment-borrower-option{display:flex;align-items:center;width:100%;min-height:48px;padding:10px 14px;border:0;border-radius:5px;background:transparent;color:#26312a;text-align:left;font:inherit;cursor:pointer}
.equipment-borrower-option:hover,.equipment-borrower-option:focus-visible,.equipment-borrower-option.active{outline:none;background:#edf5ee;color:#176b35}
.equipment-borrower-empty{padding:14px;color:#7b877d;font-size:.9rem}
@media(max-width:760px){.equipment-borrower-options{max-height:min(55vh,360px)}}
.equipment-scan-row .equipment-barcode,.equipment-scan-row .primary{height:46px;min-height:46px;box-sizing:border-box}
.equipment-method-card{height:46px;min-height:46px;padding:6px 14px;grid-template-rows:min-content;row-gap:0}
.equipment-entry-tabs .equipment-method-card.selected{outline:0;box-shadow:inset 0 0 0 2px #00ff01}
.equipment-checkout-queue{grid-column:1/-1;min-width:0;padding:14px;background:var(--surface-muted);border:1px solid var(--surface-border);border-radius:8px}
.equipment-checkout-queue-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#35443a}
.equipment-checkout-queue>p{margin:8px 0 12px}
.equipment-checkout-queue ul{list-style:none;max-height:250px;overflow:auto;margin:10px 0 12px;padding:0;border-top:1px solid var(--surface-divider)}
.equipment-checkout-queue li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 4px;border-bottom:1px solid var(--surface-divider)}
.equipment-checkout-queue li>div{min-width:0}
.equipment-checkout-queue li strong,.equipment-checkout-queue li small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.equipment-checkout-queue li small{margin-top:2px;color:#758078;font-family:ui-monospace,Consolas,monospace}
.equipment-checkout-queue li .text-btn{flex:none}
.equipment-checkout-queue>.primary{width:100%;height:46px;min-height:46px;border-radius:5px}
@media(max-width:760px){.equipment-checkout-queue{padding:11px}.equipment-checkout-queue li{padding:7px 2px}}
.equipment-checkout-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px 24px 12px}
.equipment-checkout-meta>label{min-width:0;gap:5px;font-weight:600}
.equipment-checkout-add{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:10px 14px;padding:0 24px 14px}
.equipment-checkout-add:has(#equipmentBarcode)>label,.equipment-checkout-add>.equipment-scan-row,.equipment-checkout-add>.equipment-scan-help{grid-column:1/-1}
.equipment-checkout-add>label{font-weight:600;gap:5px}
.equipment-checkout-add .equipment-scan-help{margin:0;color:#737d75;font-size:.82rem;line-height:1.4}
.equipment-checkout-add>.primary{min-height:46px;height:46px;padding:9px 16px;border-radius:5px}
.equipment-stock-stats{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:18px}
.equipment-stock-stat{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;min-height:84px;padding:15px 18px}
.equipment-stock-stat .caption{min-width:0;font-size:1rem;font-weight:600;white-space:normal}
.equipment-stock-stat strong{display:flex;align-items:baseline;gap:5px;flex:none;color:#126d37}
.equipment-stock-stat strong>span{font-size:1.8rem;line-height:1;font-weight:700}
.equipment-stock-stat strong small{color:#738077;font-size:.78rem}
.equipment-stock-stat.selected{background:#252b27;color:#fff;border-color:#00ff01;outline:2px solid #00ff01;outline-offset:2px}
.equipment-stock-stat.selected .caption{color:#c1ccc3}
.equipment-stock-stat.selected strong{color:#00ff01}
.equipment-stock-stat.selected strong small{color:#c1ccc3}
.equipment-scanner-panel>#equipmentScanResult{margin:0 24px 20px}
@media(max-width:1250px){.equipment-stock-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.equipment-stock-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.equipment-checkout-meta{grid-template-columns:1fr;padding:14px 18px 10px}.equipment-checkout-add{grid-template-columns:1fr;padding:0 18px 12px}.equipment-checkout-add>label,.equipment-checkout-add>.equipment-scan-row,.equipment-checkout-add>.equipment-scan-help{grid-column:1}.equipment-stock-stats{gap:10px}.equipment-stock-stat{min-height:74px;padding:12px}.equipment-stock-stat .caption{font-size:.88rem}.equipment-stock-stat strong>span{font-size:1.5rem}.equipment-scanner-panel>#equipmentScanResult{margin:0 18px 17px}}
@media(max-width:420px){.equipment-stock-stats{grid-template-columns:1fr 1fr}}

/* 全站紧凑布局：缩短重复页头与列表留白，让首屏展示更多记录。 */
:root{--surface-gap:16px}
.workspace{padding-top:16px;padding-bottom:36px}
.corporate-hero{width:100%;height:auto;aspect-ratio:6.1 / 1;margin-bottom:14px}
.topline{padding-bottom:14px}
.panel-title{min-height:64px;padding:15px 22px 14px;gap:16px}
.panel>.toolbar{padding:12px 22px;gap:12px}
.stats{margin-bottom:12px}
.empty{padding:34px 20px 38px}
.empty-icon{width:52px;height:52px;margin-bottom:12px;font-size:25px;border-radius:13px}
.empty p{margin:8px auto 16px;line-height:1.5}
.approval-panel{margin-bottom:12px}
.approval-row{padding:9px 20px;gap:12px}
.approval-scope-copy{padding:14px 22px 18px}
.approval-setting{margin:10px 0 4px}
.borrow-stats-layout{gap:20px}
.borrow-stat-switches{margin-bottom:12px}
.borrow-stats-section>.panel>.borrow-stat-switches{margin:0;padding:12px 22px;background:transparent}
.panel.my-borrow-list>.my-borrow-view-cards{margin:0;padding:12px 22px;background:transparent}
.panel.borrow-device-note>.my-borrow-view-cards{margin:0;padding:12px 22px;background:transparent}
.borrow-stat-switches>button{min-height:58px}
.workspace-tools{margin-bottom:14px}
.workspace-tools .borrow-heading-summary>button{min-height:58px}
.my-borrow-list{min-height:0}
.borrow-device-note{margin-top:12px;padding-bottom:12px}
.borrow-device-note p{padding:10px 22px 0}
.equipment-history{margin-top:14px}
.equipment-scanner-panel{margin-bottom:14px}
.equipment-scanner-panel>.panel-title{min-height:56px;padding:13px 20px 8px}
.equipment-scanner{padding:8px 20px 14px;gap:8px 12px}
.equipment-stock-stat{min-height:72px;padding:11px 15px}
.equipment-stock-stats{margin-bottom:14px}
.user-toolbar,.event-toolbar{padding:12px 22px}
.event-range,.event-filters{padding-top:10px;padding-bottom:10px}
.event-pagination{padding:10px 20px}
.panel .table-wrap th{padding-top:8px;padding-bottom:8px}
.panel .table-wrap td{padding-top:7px;padding-bottom:7px}
.panel .table-wrap td small{margin-top:2px}
.panel .user-row{min-height:44px;padding-top:5px;padding-bottom:5px}
.panel .event-row{min-height:46px;padding-top:9px;padding-bottom:9px}
.panel .approval-row{padding-top:9px;padding-bottom:9px}
@media(max-width:760px){
  .workspace{padding-top:12px;padding-bottom:24px}
  .corporate-hero{height:98px;aspect-ratio:auto;margin-bottom:12px}
  .hero-copy{gap:4px}
  .topline{padding-bottom:11px}
  .panel-title{min-height:54px;padding:12px 15px 11px;gap:10px}
  .panel>.toolbar{padding:10px 15px;gap:9px}
  .empty{padding:26px 16px 30px}
  .empty-icon{width:44px;height:44px;margin-bottom:9px;font-size:22px}
  .empty p{margin:7px auto 12px}
  .borrow-stats-layout{gap:16px}
  .borrow-stat-switches{margin-bottom:10px}
  .borrow-stats-section>.panel>.borrow-stat-switches{padding:10px 15px}
.panel.my-borrow-list>.my-borrow-view-cards{padding:10px 15px}
.panel.borrow-device-note>.my-borrow-view-cards{padding:10px 15px}
  .borrow-device-note p{padding:9px 15px 0}
  .equipment-scanner-panel>.panel-title{min-height:50px;padding:11px 15px 6px}
  .equipment-scanner{padding:7px 15px 12px}
  .equipment-stock-stat{min-height:64px;padding:9px 11px}
  .equipment-stock-stats{margin-bottom:12px}
  .user-toolbar,.event-toolbar{padding:10px 15px}
  .event-range,.event-filters{padding-top:9px;padding-bottom:9px}
  .panel .table-wrap tr{padding:9px 13px;gap:8px}
  .panel .table-wrap td:before{margin-bottom:4px}
}

/* Keep the page hero fixed at the top when filters change the content height. */
.shell>.workspace{margin:0 auto;align-self:start}
/* 统一侧边导航图标的视觉重量与对齐。 */
.nav button .icon{width:24px;height:24px;display:inline-grid;place-items:center;border:1px solid #b8c4ba;border-radius:7px;color:#5d6961;font-size:15px;line-height:1;background:#f7faf7;flex:0 0 24px}
.nav-section-heading{min-height:24px}
.nav button.active .icon{border-color:#86c995;background:#e9f7eb;color:#18813b;box-shadow:inset 0 0 0 1px #b8e4bf}
/* 增大桌面端内容展示范围，保留适度安全边距。 */
@media(min-width:761px){.workspace{max-width:none;padding-left:24px;padding-right:24px}}

/* 全站卡片配色：降低选中态的荧光感，统一为柔和浅绿。 */
:root{
  --surface-border:#d4dfd5;
  --card-selected-bg:#eaf3eb;
  --card-selected-border:#78a984;
  --card-selected-text:#26382b;
  --card-selected-muted:#5f7563;
  --card-selected-accent:#247540;
}
.panel,.stats,.borrow-stat-switches{background:var(--surface-card);border-color:var(--surface-border)}
.stat,.borrow-heading-summary>button,.equipment-method-card,.equipment-stock-stat{
  background:#fff;
  border-color:var(--surface-border);
  box-shadow:0 2px 8px #18341d08;
}
.stat:hover,.borrow-heading-summary>button:hover,.equipment-method-card:hover,.equipment-stock-stat:hover{
  background:#f8fbf8;
  border-color:#b9cfbc;
}
.stat.selected,.borrow-heading-summary>button.selected,.equipment-method-card.selected,.equipment-stock-stat.selected{
  background:var(--card-selected-bg);
  color:var(--card-selected-text);
  border-color:var(--card-selected-border);
  outline:0;
  box-shadow:inset 0 0 0 1px #78a984,0 2px 8px #18341d0a;
}
.stats .stat.selected:first-child,.stats .stat.equipment-stock-stat.selected:first-child{
  background:var(--card-selected-bg);
  color:var(--card-selected-text);
  border-color:var(--card-selected-border);
  outline:0;
  box-shadow:inset 0 0 0 1px #78a984,0 2px 8px #18341d0a;
}
.stat.selected .caption,.stat.selected small,
.borrow-heading-summary>button.selected span,
.equipment-method-card.selected .caption,.equipment-method-card.selected small,
.equipment-stock-stat.selected .caption,.equipment-stock-stat.selected strong small{
  color:var(--card-selected-muted);
}
.stat.selected b,.stat.selected.blue b,.stat.selected.orange b,
.stats .stat.selected:first-child b,
.stats .stat.equipment-stock-stat.selected:first-child strong,
.borrow-heading-summary>button.selected strong,
.equipment-stock-stat.selected strong{
  color:var(--card-selected-accent);
}
.equipment-entry-tabs .equipment-method-card.selected{
  background:var(--card-selected-bg);
  border-color:var(--card-selected-border);
  outline:0;
  box-shadow:inset 0 0 0 1px #78a984,0 2px 8px #18341d0a;
}
.equipment-stock-stat.selected{outline:0}

/* Keep one-line inventory and borrowing cards equal to the 46px checkout action. */
.borrow-stat-switches>button,
.borrow-heading-summary>button,
.equipment-entry-tabs>.equipment-method-card,
.equipment-stock-stats>.equipment-stock-stat{
  height:46px;
  min-height:46px;
  padding-top:6px;
  padding-bottom:6px;
}

/* Keep the spacing between fleet and equipment inventory cards on the page canvas. */
.stats{background:var(--surface-canvas)}

/* Inventory exports and administrator add actions share one compact toolbar row. */
.fleet-panel-actions .primary,
.equipment-toolbar-actions button{min-height:39px;padding:8px 10px;font-size:.8rem;line-height:1.25;white-space:nowrap}
.equipment-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-left:auto;flex:none}
.equipment-toolbar-actions .secondary{border:1px solid #dce4dd;background:#fff;color:#276b3d}
.equipment-toolbar-actions .primary{border-radius:4px}
@media(max-width:760px){.equipment-toolbar-actions{margin-left:0;justify-content:flex-end;flex-wrap:wrap}}
.equipment-ledger-title{display:flex;align-items:center;gap:14px}
.equipment-ledger-title h2{flex:none;white-space:nowrap}
.equipment-view-group{display:flex;flex:none;align-items:center;gap:8px;min-width:0;max-width:100%;padding:4px 7px 4px 13px;border-radius:6px;background:#eaf0eb}
.equipment-view-group h2{margin:0;font-size:1.12rem;white-space:nowrap}
.equipment-view-switches{display:flex;align-items:center;gap:3px;min-width:0}
.equipment-view-switches button{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:6px 9px;border-radius:4px;color:#365744;font-size:.82rem;white-space:nowrap}
.equipment-view-switches button span{display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 6px;border-radius:11px;background:#d9e4db;color:#3e6748;text-align:center;font-size:.72rem;font-weight:600}
.equipment-view-switches button:hover,.equipment-view-switches button:focus-visible{background:#e0ebe2}
.equipment-view-switches button.active{background:#253029;color:#fff;box-shadow:0 2px 7px #1222171a}
.equipment-view-switches button.active span{background:#00ed16;color:#12361b}
.equipment-ledger-controls{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex:1;min-width:0}
.equipment-ledger-controls .search{width:auto;max-width:none;flex:1 1 180px}
.equipment-ledger-controls .note{flex:0 1 auto;min-width:0}
.equipment-history-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
@media(max-width:1100px){.equipment-ledger-title{flex-wrap:wrap}.equipment-ledger-controls{flex-basis:100%;justify-content:flex-start;flex-wrap:wrap}.equipment-ledger-controls .search{flex:1 1 240px}}
@media(max-width:760px){.equipment-ledger-title{align-items:stretch}.equipment-view-group{flex-wrap:wrap;width:100%;padding:9px}.equipment-view-group h2{width:100%}.equipment-view-switches{flex-wrap:wrap}.equipment-ledger-controls{flex-direction:column;align-items:stretch;gap:10px}.equipment-ledger-controls .search{width:100%;flex:none}.equipment-ledger-controls .note{white-space:normal}.equipment-ledger-controls .equipment-archived-toggle{align-self:flex-start}.equipment-ledger-controls .equipment-toolbar-actions{justify-content:flex-start}.equipment-history-actions{width:100%;justify-content:space-between}}

/* Match equipment stock cards to the fleet metric cards: caption and note on two rows. */
.stats .equipment-stock-stat{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:min-content min-content;align-content:center;align-items:center;column-gap:10px;row-gap:6px;min-height:88px;padding:13px 18px}
.stats .equipment-stock-stat .caption{grid-column:1;grid-row:1;min-width:0}
.stats .equipment-stock-stat b{grid-column:2;grid-row:1 / 3;align-self:center;margin:0;min-width:1ch;text-align:right;font-size:2rem}
.stats .equipment-stock-stat small{grid-column:1;grid-row:2;min-width:0;margin:0;color:var(--muted)}
.stats .equipment-stock-stat.selected b{color:var(--card-selected-accent)}
.stats .equipment-stock-stat.selected small{color:var(--card-selected-muted)}
@media(max-width:760px){.stats .equipment-stock-stat{min-height:84px;padding:11px 12px;column-gap:6px}.stats .equipment-stock-stat b{font-size:1.7rem}}

/* The equipment form uses the same shared input and dialog styles as other forms. */
.equipment-form-grid{gap:14px 16px}
.equipment-number-note{display:block;color:var(--muted);font-size:.78rem;line-height:1.4}
.equipment-form-import,.equipment-form-template{min-height:39px;padding:8px 10px;border:1px solid var(--surface-border);border-radius:5px;background:var(--surface-card);color:#286441;font-size:.8rem;line-height:1.25;white-space:nowrap}
.equipment-form-template{margin-left:auto}
.equipment-form-import{margin-right:10px}
@media(max-width:760px){.equipment-form-grid{grid-template-columns:1fr;gap:12px}.equipment-form-grid>.full{grid-column:1}}
@media(max-width:760px){.equipment-form-import,.equipment-form-template{min-height:36px;padding:7px 8px;font-size:.76rem}.equipment-form-import{margin-right:4px}}

/* 2.0 双系统入口沿用原登录卡片，顶栏切换不改变业务卡片样式。 */
.auth-card.auth-card-dual{width:min(540px,100%)}
.module-login-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.auth-card .module-login-actions .primary{min-width:0;min-height:52px;margin-top:8px;padding:12px 8px;line-height:1.3;white-space:normal;text-align:center;font-size:clamp(.8rem,1.25vw,.96rem)}
.corporate-actions{display:flex;align-items:center;gap:8px;flex:none}
.module-switch{min-height:45px;padding:7px 14px;display:flex;align-items:center;gap:8px;border:1px solid #ffffff48;border-radius:5px;color:#f5fff6;white-space:nowrap;font-size:.86rem;font-weight:600;background:#ffffff0b}
.module-switch,.account-trigger{border-color:#ffffff48;border-radius:5px;background:#ffffff0b}
.module-switch:hover,.module-switch:focus-visible,.account-trigger:hover,.account-trigger[aria-expanded="true"]{background:#ffffff1e;border-color:#9fdda9}
.module-switch-symbol{font-size:1.15rem;color:#95e9a3;line-height:1}
@media(max-width:760px){.module-login-actions{gap:8px}.auth-card .module-login-actions .primary{font-size:clamp(.76rem,3.3vw,.9rem);padding-inline:5px}.corporate-actions{gap:6px}.module-switch{min-height:38px;padding:5px 8px;gap:4px;font-size:.71rem}.module-switch-long{display:none}}
@media(max-width:520px){.corporate-label{display:none}.corporate-inner{gap:8px}.account-identity{display:none}.module-switch span:last-child{max-width:110px;overflow:hidden;text-overflow:ellipsis}}

/* Vehicle test application follows the shared panel, toolbar, and table styles. */
.test-application-overview{display:grid;gap:14px;margin-bottom:var(--surface-gap);padding:22px;border:1px solid var(--surface-border);border-radius:var(--surface-radius,8px);background:var(--surface-card)}
.test-overview-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}
.test-overview-heading>div:first-child{flex:none}
.test-application-overview .test-records-head-actions{display:flex;align-items:center;justify-content:flex-end;flex:1 1 360px;min-width:220px;margin:0;padding:0;gap:10px}
.test-application-overview .test-records-head-actions .search{flex:1 1 240px;width:auto;min-width:180px;max-width:440px;margin:0}
.test-application-overview .test-records-head-actions .note{flex:none;white-space:nowrap}
.test-application-overview .test-records-head-actions .text-btn{flex:none;white-space:nowrap}
.test-overview-heading strong{display:block;color:#233b2c;font-size:1.25rem}
.test-overview-heading p{margin:5px 0 0;color:#617267;font-size:.89rem}
.test-application-statuses{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;min-width:0}
.test-application-statuses button{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 16px;border:1px solid var(--surface-border);border-radius:var(--surface-radius,8px);background:var(--surface-muted);color:#405849;text-align:left}
.test-application-statuses button b{font-size:1.25rem;color:#1e5834}
.test-application-statuses button:hover,.test-application-statuses button.selected{border-color:#64aa78;background:#e9f5ec}
.test-application-statuses button.needs-attention{border-color:#e6b393;background:#fff4e9;color:#88491e}
.test-application-statuses button.needs-attention b{color:#a34823}
@media(min-width:761px) and (max-width:1100px){.test-application-statuses button{padding:11px 10px;font-size:.86rem}}
html{scrollbar-gutter:stable;overflow-anchor:none}
.test-rejected-alert{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border:1px solid #e4a78b;border-left:4px solid #c95b36;border-radius:var(--surface-radius,8px);background:#fff4ed;color:#783d22}
.test-rejected-alert strong{font-size:.99rem}
.test-rejected-alert p{margin:4px 0 0;font-size:.85rem;overflow-wrap:anywhere}
.test-rejected-alert button{flex:none;border:1px solid #ce744e;border-radius:6px;padding:8px 12px;background:#fffaf7;color:#8b3e20;font-weight:600}
.test-rejected-row{background:#fffaf6}
.test-application-records .actions{display:flex;flex-wrap:wrap;gap:6px}
.test-route-notes summary{color:#23583a;font-weight:600;cursor:pointer;list-style-position:inside}
.test-route-notes[open] summary{margin-bottom:12px}
.panel>.toolbar.test-application-form{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start;gap:18px 22px}
.test-application-form label{display:grid;gap:8px;min-width:0;color:#33493a;font-size:1rem}
.test-person-field{display:grid;grid-template-rows:20px 46px;gap:8px;min-width:0;color:#33493a;font-size:1rem}
.test-person-header{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:6px 10px;min-width:0}
.test-person-header>label:first-child{display:block;margin-right:2px;font-weight:600;white-space:nowrap}
.test-person-actions{display:flex;align-items:center;gap:6px;min-width:0}
.test-person-header .test-person-self{display:inline-flex;align-items:center;gap:4px;color:#536459;font-size:.84rem;font-weight:400;white-space:nowrap;cursor:pointer}
.test-application-form .test-person-self input[type="checkbox"]{width:14px;min-width:14px;height:14px;min-height:14px;margin:0;padding:0;accent-color:#16833b}
.test-task-field{display:grid;grid-template-rows:auto 46px;gap:8px;min-width:0}
.test-task-header{display:flex;align-items:flex-start;justify-content:flex-start;flex-wrap:wrap;gap:6px 14px;min-width:0}
.test-task-header>label{display:block;margin-right:2px;white-space:nowrap;font-weight:600}
.test-task-header-actions{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:6px 10px;min-width:0}
.test-task-shortcuts{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:6px 12px;min-width:0}
.test-name-shortcuts{flex-wrap:nowrap}
.test-person-actions::before,.test-task-header:has(.test-task-header-actions)>.test-task-header-actions::before,.test-time-shortcuts::before{flex:none;width:1px;height:18px;margin-right:2px;background:linear-gradient(180deg,transparent,#b6d7bf 18%,#b6d7bf 82%,transparent);content:""}
.test-task-shortcuts label{display:inline-flex;align-items:center;gap:6px;line-height:1.2;white-space:nowrap;cursor:pointer;font-size:.84rem;font-weight:400}
.test-application-form .test-task-shortcuts input[type="checkbox"]{width:14px;min-width:14px;height:14px;min-height:14px;margin:0;padding:0;accent-color:#16833b}
.test-clear-button{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:2px 8px;border:1px solid #b6d7bf;border-radius:4px;background:#eaf5ed;color:#276b3d;font-size:.84rem;line-height:1.2;white-space:nowrap}
.test-clear-button:hover,.test-clear-button:focus-visible{background:#d9efdf;border-color:#69ae79;color:#15713a}
.test-time-field{display:grid;grid-template-rows:20px 46px;gap:8px;min-width:0}
.test-time-shortcuts{display:flex;align-items:center;gap:6px}
.test-time-shortcut{padding:2px 7px;border:1px solid var(--surface-border);border-radius:4px;background:var(--surface-muted);color:#276b3d;font-size:.84rem;line-height:1.2;white-space:nowrap}
.test-time-shortcut:hover,.test-time-shortcut:focus-visible{background:#e5f4e9;border-color:#69ae79}
.test-duration{margin-left:auto;padding:1px 7px;border-radius:4px;background:#eaf5ed;color:#246b3d;font-size:.84rem;font-weight:600;line-height:18px;white-space:nowrap}
.test-vehicle-field{display:grid;grid-template-columns:minmax(0,1fr) 270px;grid-template-rows:20px minmax(46px,auto);column-gap:12px;row-gap:8px;min-width:0;color:#33493a;font-size:1rem}
.test-vehicle-header{grid-column:1;grid-row:1;display:flex;align-items:center;justify-content:flex-start;gap:8px}
.test-vehicle-header #testVehicleLabel{font-weight:600}
#testVehicleLabel::after{display:none!important;content:none!important}
.test-vehicle-picker{grid-column:1;grid-row:2}
.test-vehicle-meta{grid-column:2;grid-row:2;display:flex;align-items:center;min-width:0;min-height:46px;padding:6px 10px;border:1px solid var(--surface-border);border-radius:5px;background:var(--surface-muted)}
.test-application-form input,.test-application-form select{width:100%;min-width:0;min-height:46px;background:var(--surface-muted);border:1px solid var(--surface-border);border-radius:5px;color:#243329;font-size:1rem;font-weight:400}
.test-application-form input:focus,.test-application-form select:focus{border-color:#2b9850}
.test-vehicle-field small{color:#6c7a6e;font-size:.78rem}
.test-vehicle-picker{position:relative;min-width:0;align-self:start}
.test-vehicle-picker #testVehicleTrigger{width:100%;height:46px;min-height:46px;padding:10px 14px;border:1px solid var(--surface-border);border-radius:5px;background:var(--surface-muted);color:#243329;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:10px;overflow:hidden;font-size:1rem;font-weight:400}
.test-vehicle-picker #testVehicleTrigger .test-vehicle-selection{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.test-vehicle-picker #testVehicleTrigger span:last-child{flex:none;font-size:1.15rem;color:#617568}
.test-vehicle-picker #testVehicleTrigger{font-size:var(--content-body-size, .875rem)}
.test-vehicle-picker #testVehicleTrigger .test-vehicle-selection{font-size:inherit}
.test-vehicle-picker #testVehicleTrigger[aria-expanded="true"]{border-color:#2b9850;box-shadow:0 0 0 3px #219e3914}
.test-vehicle-popup{position:absolute;z-index:20;top:calc(100% + 4px);left:0;right:0;padding:8px;background:var(--surface-card);border:1px solid var(--surface-border);border-radius:7px;box-shadow:0 15px 32px #17351d24}
.test-vehicle-popup[hidden]{display:none}
.test-vehicle-popup #testVehicleSearch{margin:0 0 7px;min-height:42px;background:var(--surface-muted)}
#testVehicleOptions{max-height:260px;overflow-y:auto}
#testVehicleOptions [role="option"]{display:block;width:100%;padding:10px 12px;border-radius:4px;background:transparent;color:#243329;text-align:left;overflow-wrap:anywhere;font-size:var(--content-body-size,.875rem);line-height:1.5}
#testVehicleOptions [role="option"]:hover,#testVehicleOptions [role="option"]:focus-visible,#testVehicleOptions [aria-selected="true"]{background:#e9f5eb;color:#176434}
#testVehicleOptions [role="option"] small{display:block;margin-top:4px;color:#a23e31;line-height:1.4}
.test-vehicle-empty{padding:12px;color:#6c7a6e;font-size:.85rem}
.test-vehicle-expiry-notice{display:flex;flex-direction:column;justify-content:center;gap:3px;margin:0;width:100%;color:#27633b;font-size:.84rem;line-height:1.35}
.test-vehicle-expiry-notice span{display:block;overflow-wrap:anywhere;white-space:normal}
.test-vehicle-meta:has(.test-vehicle-expiry-notice.blocked){border-color:#e9b9b1;background:#fff2ef}
.test-vehicle-expiry-notice.blocked{color:#a23e31}
.test-vehicle-expiry-notice[hidden]{display:none}
#modal.test-application-dialog{width:min(1120px,calc(100% - 32px));max-height:94vh;overflow-y:auto;border-radius:var(--surface-radius,10px)}
.test-application-dialog .test-application-dialog-body{padding:0 18px 18px}
.test-application-dialog .test-application-panel{margin:0;border:0;border-radius:0;box-shadow:none;overflow:visible}
.test-application-dialog .test-route-notes{margin:0 24px 16px}
.test-location-field{grid-column:1/-1}
.test-application-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:18px;min-height:46px}
.test-application-actions .error{flex:1;color:#ad4336}
.test-route-notes{padding:18px 22px 22px;border-top:1px solid var(--surface-border)}
.test-route-notes h3{margin:0 0 12px;font-size:1rem;color:#243b2c}
.test-route-note-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.test-route-note{min-width:0;padding:14px 16px;border:1px solid var(--surface-border);border-radius:var(--surface-radius,8px);background:var(--surface-muted)}
.test-route-note h4{margin:0 0 8px;color:#176434;font-size:.95rem}
.test-route-note p{margin:6px 0 0;line-height:1.55;font-size:.86rem;color:#425548;overflow-wrap:anywhere}
.test-route-note p strong{color:#243b2c}
.test-application-records{margin:0 0 var(--surface-gap)}
.test-application-overview .test-application-records{margin:4px 0 0;padding-top:14px;border-top:1px solid var(--surface-border);background:var(--surface-card)}
.test-records-head-actions{display:flex;align-items:center;gap:12px;margin-left:auto}
.access-records-note{margin:0;padding:14px 20px;color:#607166;font-size:.85rem;line-height:1.5}
.access-records-actions{display:flex;align-items:center;gap:12px;margin-left:auto}
.access-records-actions .remove{color:#af4438}
.access-records-actions button:disabled{opacity:.45;cursor:not-allowed}
.access-records-table{table-layout:fixed;width:100%;min-width:900px}
.access-records-table .access-col-user{width:8%}
.access-records-table .access-col-time{width:16%}
.access-records-table .access-col-type{width:8%}
.access-records-table .access-col-location{width:17%}
.access-records-table .access-col-ip{width:11%}
.access-records-table .access-col-device{width:26%}
.access-records-table .access-col-action{width:14%}
.access-records-table th,.access-records-table td{white-space:normal;vertical-align:middle;overflow-wrap:anywhere}
.access-records-table td{line-height:1.45}
.access-records-table .access-user-agent{display:table-cell;white-space:normal;overflow-wrap:anywhere;word-break:break-word;color:#65746a;font-size:.81rem}
.access-records-table td .remove{color:#ac4337;font-weight:650;white-space:nowrap}
.test-application-records .panel-title .note{margin:0;white-space:nowrap}
@media(max-width:1450px){.panel>.toolbar.test-application-form{grid-template-columns:1fr}.test-name-shortcuts{flex-wrap:wrap}}
@media(max-width:760px){.panel>.toolbar.test-application-form{gap:14px}.test-task-field,.test-location-field,.test-time-field{grid-template-rows:auto 46px}.test-task-header-actions{gap:6px}.test-task-shortcuts{gap:6px}.test-location-field,.test-application-actions{grid-column:1}.test-application-actions{flex-wrap:wrap}.test-application-actions .error{flex-basis:100%}.test-application-actions .primary{width:100%}.test-route-notes{padding:16px}.test-route-note-list{grid-template-columns:1fr}}
@media(max-width:760px){.test-application-overview{padding:16px}.test-overview-heading{align-items:center;flex-direction:row;flex-wrap:wrap;gap:10px}.test-overview-heading>.primary{margin-left:auto}.test-application-overview .test-records-head-actions{order:3;flex-basis:100%;min-width:0;justify-content:stretch;flex-wrap:wrap}.test-application-overview .test-records-head-actions .search{flex:1 1 100%;width:100%;max-width:none;min-width:0}.test-application-statuses{grid-template-columns:repeat(2,minmax(0,1fr))}.test-rejected-alert{align-items:stretch;flex-direction:column}.test-rejected-alert button{align-self:flex-start}}
@media(max-width:760px){.test-records-head-actions{gap:8px}.test-application-records .panel-title{flex-wrap:wrap}.vehicle-borrow-section .vehicle-borrow-table td:nth-child(3),.vehicle-borrow-section .vehicle-borrow-table td:nth-child(5){white-space:normal}}
@media(max-width:380px){.test-task-shortcuts{gap:6px}.test-task-shortcuts label{font-size:.7rem}}
@media(max-width:760px){.test-vehicle-field{grid-template-columns:minmax(0,1fr);grid-template-rows:20px 46px auto}.test-vehicle-header{grid-column:1;grid-row:1}.test-vehicle-picker{grid-column:1;grid-row:2}.test-vehicle-meta{grid-column:1;grid-row:3;height:auto;overflow:visible}.test-vehicle-expiry-notice{padding:3px 9px}}
@media(max-width:760px){#modal.test-application-dialog{width:calc(100% - 18px);max-height:96vh}.test-application-dialog .modal-head{padding:16px}.test-application-dialog .test-application-dialog-body{padding:0 8px 12px}.test-application-dialog .test-application-panel>.toolbar.test-application-form{padding:12px 8px}.test-application-dialog .test-route-notes{margin:0 8px 10px}}

/* Align the header brand divider with the shared sidebar edge in both systems. */
:root{--app-sidebar-width:248px;--header-brand-inset:32px}
.shell{grid-template-columns:var(--app-sidebar-width) minmax(0,1fr)}
.corporate-inner{max-width:none}
.corporate-logo{margin-right:calc(var(--app-sidebar-width) - var(--header-brand-inset) - 148px - 28px)}
@media(max-width:1100px){:root{--app-sidebar-width:205px;--header-brand-inset:24px}}
@media(max-width:760px){.shell{display:block}.corporate-logo{margin-right:0}}

/* Company vehicle utilization analysis on the borrowing statistics page. */
.company-usage-panel{margin-bottom:var(--surface-gap);overflow:hidden}
.company-usage-title{align-items:center;gap:20px}
.company-usage-title>div:first-child{min-width:0}
.company-usage-title h2{margin:0}
.company-usage-title .note{margin-top:5px}
.company-usage-windows{display:flex;gap:7px;flex:none}
.company-usage-windows button{min-width:58px;padding:7px 12px;border:1px solid var(--surface-border);border-radius:6px;background:var(--surface-card);color:#45614c}
.company-usage-windows button.selected{border-color:#70a67d;background:#eaf4ec;color:#176b36;font-weight:700}
.company-usage-content{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.5fr);gap:28px;padding:22px 26px 18px}
.company-usage-current{display:flex;align-items:center;justify-content:center;gap:24px;min-width:0;padding:10px 18px;border:1px solid var(--surface-border);border-radius:var(--surface-radius);background:var(--surface-muted)}
.company-usage-donut{display:grid;place-items:center;flex:none;width:156px;height:156px;border-radius:50%;position:relative}
.company-usage-donut svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.company-usage-donut:before{content:none}
.company-usage-donut>div{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px}
.company-usage-donut strong{font-size:1.75rem;line-height:1;color:#176b36}
.company-usage-donut span{color:#69766d;font-size:.82rem}
.company-usage-current-details{display:flex;flex-direction:column;gap:9px;color:#69766d}
.company-usage-current-details>strong{font-size:1.2rem;color:#243329}
.company-usage-current-details>strong span{font-size:.92rem;font-weight:500}
.company-usage-current-details small{font-size:.82rem}
.company-usage-legend{display:flex;align-items:center;gap:7px;font-size:.8rem;white-space:nowrap}
.company-usage-legend i{width:9px;height:9px;border-radius:50%;background:#14833d}
.company-usage-legend i.available{margin-left:7px;background:#cbd7cd}
.company-usage-current{flex-wrap:wrap}
.company-usage-roster{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;padding-top:10px;border-top:1px solid var(--surface-divider)}
.company-usage-roster-group{min-width:0}
.company-usage-roster-group h3{display:flex;align-items:center;gap:6px;margin:0 0 7px;color:#385742;font-size:.83rem}
.company-usage-roster-group h3 span{margin-left:auto;color:#718176;font-size:.75rem;font-weight:400}
.company-usage-roster-group h3 i{width:9px;height:9px;border-radius:50%;background:#14833d}
.company-usage-roster-group h3 i.available{background:#cbd7cd}
.company-usage-roster-group ul{display:grid;gap:5px;margin:0;padding:0;list-style:none}
.company-usage-roster-group li button{display:flex;align-items:center;flex-wrap:wrap;gap:2px 6px;width:100%;min-height:32px;padding:6px 8px;border:1px solid var(--surface-border);border-radius:5px;background:var(--surface-card);color:#2e4836;text-align:left}
.company-usage-roster-group li button:hover{border-color:#68aa78;background:#f3faf4}
.company-usage-roster-group li strong{font-size:.8rem}
.company-usage-roster-group li small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#77877c;font-size:.68rem}
.company-usage-roster-group li em{margin-left:auto;color:#267344;font-size:.7rem;font-style:normal}
.company-usage-roster-empty{padding:7px 8px;color:#829087;font-size:.78rem}
.company-usage-period{min-width:0;padding:8px 4px}
.company-usage-period-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px}
.company-usage-period-heading>div{display:flex;align-items:baseline;gap:12px}
.company-usage-period-heading>div span{font-weight:700;color:#415749}
.company-usage-period-heading>div strong{font-size:1.7rem;line-height:1;color:#176b36}
.company-usage-period-heading>small{color:#748077;text-align:right}
.company-usage-progress,.company-usage-bar{overflow:hidden;border-radius:999px;background:#e7eee8}
.company-usage-progress{height:12px;margin:15px 0 21px}
.company-usage-progress span,.company-usage-bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1c9b4b,#73c47f);transition:width .2s ease}
.company-usage-rank-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:9px}
.company-usage-rank-heading strong{color:#415749}
.company-usage-rank-heading span{color:#748077;font-size:.8rem}
.company-usage-rank{display:grid;gap:9px;margin:0;padding:0;list-style:none}
.company-usage-rank li{display:grid;grid-template-columns:minmax(130px,1fr) minmax(70px,1.4fr) 48px;align-items:center;gap:12px}
.company-usage-car-name{display:flex;min-width:0;flex-direction:column;gap:2px}
.company-usage-car-name strong,.company-usage-car-name small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.company-usage-car-name small{color:#758078;font-size:.75rem}
.company-usage-bar{height:8px}
.company-usage-rank li>b{color:#176b36;text-align:right;font-size:.88rem}
.company-usage-footnote{padding:0 26px 14px;color:#758078;font-size:.78rem}
.company-usage-empty{margin:8px 0;color:#758078;font-size:.86rem}
.company-usage-empty-state{padding:24px}
@media(max-width:980px){.company-usage-content{grid-template-columns:1fr;gap:16px}.company-usage-current{justify-content:flex-start}.company-usage-period{padding:8px 0}}
@media(max-width:760px){.company-usage-title{align-items:flex-start;flex-direction:column;gap:12px}.company-usage-windows{width:100%}.company-usage-windows button{flex:1}.company-usage-content{padding:16px;gap:14px}.company-usage-current{justify-content:center;gap:18px;padding:14px}.company-usage-donut{width:128px;height:128px}.company-usage-donut:before{inset:11px}.company-usage-donut strong{font-size:1.5rem}.company-usage-period-heading{align-items:flex-start;flex-direction:column;gap:5px}.company-usage-period-heading>small{text-align:left}.company-usage-rank li{grid-template-columns:minmax(100px,1fr) minmax(50px,1.3fr) 44px;gap:8px}.company-usage-footnote{padding:0 16px 14px}}
@media(max-width:420px){.company-usage-current{justify-content:flex-start;gap:13px;padding:12px}.company-usage-donut{width:108px;height:108px}.company-usage-donut:before{inset:9px}.company-usage-current-details>strong{font-size:1.05rem}.company-usage-rank li{grid-template-columns:minmax(90px,1fr) minmax(40px,1fr) 42px}}
@media(max-width:420px){.company-usage-roster{grid-template-columns:1fr}}

/* Equipment photography is scoped to the equipment system carousel. */
.hero-slide-equipment-gear{--slide-image:url('/device-banner-gear.jpg?v=clean-restored-20261012')}
.hero-slide-equipment-panels{--slide-image:url('/device-banner-panels.jpg')}
.hero-slide-equipment-room{--slide-image:url('/device-banner-room.jpg?v=wide-20261012')}
.device-system .hero-slide::before{background-position:center 48%;filter:blur(23px) brightness(.48);transform:scale(1.12)}
.device-system .hero-slide::after{background-size:68% auto;background-position:right 50%;mask-image:linear-gradient(90deg,transparent 0%,transparent 24%,#0001 33%,#0004 43%,#000b 56%,#000 68%,#000 90%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 24%,#0001 33%,#0004 43%,#000b 56%,#000 68%,#000 90%,transparent 100%)}
.device-system .hero-slide-equipment-gear::before{background-image:linear-gradient(90deg,#10241c 0%,#274038 42%,#758181 75%,#adb4c0 100%);filter:none;transform:none}
.device-system .hero-slide-equipment-gear::after{background-size:54% auto;background-position:right center;mask-image:linear-gradient(90deg,transparent 0%,transparent 45%,#0001 49%,#0007 59%,#000 71%,#000 90%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 45%,#0001 49%,#0007 59%,#000 71%,#000 90%,transparent 100%)}
.device-system .hero-slide-equipment-room::after{background-size:75% 100%;background-position:right center;mask-image:linear-gradient(90deg,transparent 0%,transparent 24%,#0001 33%,#0006 47%,#000 62%,#000 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 24%,#0001 33%,#0006 47%,#000 62%,#000 100%)}
.device-system .hero-slide-equipment-panels::after{background-size:68% 100%;background-position:right center}
.device-system .hero-shade{background:linear-gradient(90deg,#101d17f5 0%,#14251ce6 27%,#183024a8 47%,#16281b3d 68%,#17251a0c 86%,transparent 100%)}
@media(max-width:760px){
  .device-system .hero-slide::after{background-size:72% auto;mask-image:linear-gradient(90deg,transparent 0%,#0001 7%,#0005 17%,#000e 29%,#000 42%,#000 88%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,#0001 7%,#0005 17%,#000e 29%,#000 42%,#000 88%,transparent 100%)}
  .device-system .hero-slide-equipment-gear::after{background-size:60% auto;background-position:right center;mask-image:linear-gradient(90deg,transparent 0%,transparent 38%,#0001 44%,#0008 56%,#000 70%,#000 90%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 38%,#0001 44%,#0008 56%,#000 70%,#000 90%,transparent 100%)}
  .device-system .hero-slide-equipment-room::after{background-size:78% 100%;background-position:right center;mask-image:linear-gradient(90deg,transparent 0%,transparent 20%,#0001 30%,#0008 48%,#000 65%,#000 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 20%,#0001 30%,#0008 48%,#000 65%,#000 100%)}
  .device-system .hero-slide-equipment-panels::after{background-size:72% 100%;background-position:right center}
  .device-system .hero-shade{background:linear-gradient(90deg,#101d17f2 0%,#14251cd8 35%,#16281b88 59%,#17251a20 85%,transparent 100%)}
}

/* Keep the vehicle archive switch aligned with the shared export/add controls. */
#fleetPanel .fleet-panel-actions{gap:8px}
#fleetPanel .fleet-panel-actions .fleet-archived-filter{min-height:39px;padding:8px 12px;border:1px solid var(--card-border,#dce4dd);border-radius:4px;background:var(--card-bg,#fff);color:#276b3d;font-size:.8rem;line-height:1.25}
#fleetPanel .fleet-panel-actions .fleet-archived-filter:hover,#fleetPanel .fleet-panel-actions .fleet-archived-filter:focus-visible{border-color:var(--card-selected-border);background:var(--card-selected-bg)}
.equipment-ledger-controls .search{height:39px;padding:8px 12px;font-size:.83rem;line-height:1.25;font-family:inherit}
.equipment-ledger-controls .search::placeholder{font-size:.83rem;color:#8a928c;opacity:1}
.event-filters.equipment-event-filters{grid-template-columns:minmax(160px,1fr) minmax(130px,190px) minmax(130px,190px) auto}
@media(max-width:980px){.event-filters.equipment-event-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.event-filters.equipment-event-filters{grid-template-columns:1fr}}
@media(max-width:760px){#fleetPanel .fleet-panel-tools{width:100%}#fleetPanel .fleet-panel-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}}

/* 设备概览分类卡片按可用宽度自动换行，避免横向滚动。 */
.stats.equipment-stock-stats{
  grid-template-columns:repeat(auto-fit,minmax(min(100%,158px),1fr));
  grid-template-rows:auto;
  grid-auto-flow:row;
  grid-auto-columns:auto;
  gap:8px;
  overflow-x:visible;
}
.stats.equipment-stock-stats .equipment-stock-stat{
  height:auto;
  min-height:76px;
  padding:9px 10px;
  column-gap:6px;
  row-gap:3px;
}
.stats.equipment-stock-stats .equipment-stock-stat .caption{font-size:1rem;line-height:1.2}
.stats.equipment-stock-stats .equipment-stock-stat b{font-size:2rem}
.stats.equipment-stock-stats .equipment-stock-stat small{font-size:.84rem}
@media(max-width:760px){
  .stats.equipment-stock-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stats.equipment-stock-stats .equipment-stock-stat{min-height:76px}
  .stats.equipment-stock-stats .equipment-stock-stat .caption{font-size:.94rem}
  .stats.equipment-stock-stats .equipment-stock-stat b{font-size:1.8rem}
  .stats.equipment-stock-stats .equipment-stock-stat small{font-size:.8rem}
}

/* 顶栏名称在窄桌面窗口保持单行，英语副标题空间不足时收起。 */
.corporate-label strong,.corporate-label span{white-space:nowrap}
@media(max-width:1100px){.corporate-label span{display:none}}

/* 桌面窄窗口的横幅不能压住标题和说明文字。 */
@media(min-width:761px){.corporate-hero{min-height:140px}}

/* Vehicle inspection sheet and borrowing reminders. */
.vehicle-photo-column{display:flex;min-width:0;flex-direction:column;gap:10px}
.inspection-sheet-upload{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px 12px;border:1px solid var(--border,#d5dfd7);border-radius:10px;background:var(--surface,#fff)}
.vehicle-borrowing-notice{margin:14px 0;padding:14px 16px;border:1px solid var(--border,#d5dfd7);border-left:4px solid var(--accent,#188446);border-radius:10px;background:var(--surface-soft,#f4f8f5);color:var(--text,#26312a)}
.vehicle-borrowing-notice>p{white-space:normal;overflow-wrap:anywhere;margin:8px 0 12px}
.vehicle-borrowing-notice label{display:flex;align-items:flex-start;gap:8px;line-height:1.5}
.vehicle-borrowing-notice input{margin-top:.25em;accent-color:var(--accent,#188446)}
@media(max-width:760px){.vehicle-photo-column{gap:8px}.inspection-sheet-upload{align-items:flex-start;flex-direction:column}.vehicle-borrowing-notice{padding:12px}}





.company-profile .inspection-sheet-upload{display:flex;flex-direction:column;justify-content:center;gap:6px;overflow:hidden}
.company-profile .inspection-sheet-main{display:flex;flex:1;min-height:0;width:100%;flex-direction:column;align-items:center;justify-content:center;gap:6px}
.company-profile .inspection-sheet-preview{display:flex;position:relative;flex:1;min-height:0;width:100%;align-items:center;justify-content:center;color:#4f6255;overflow:hidden}
.company-profile .inspection-sheet-preview img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.company-profile .inspection-sheet-preview span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem}
@media(max-width:760px){.company-profile .inspection-sheet-preview img{max-height:142px}}

/* Keep long equipment category names clear of the count in overview cards. */
.stats.equipment-stock-stats .equipment-stock-stat{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(1.2em,auto) auto;column-gap:8px;row-gap:3px;min-height:88px;padding:11px 12px;align-items:center}
.stats.equipment-stock-stats .equipment-stock-stat .caption{grid-column:1;grid-row:1;min-width:0;max-width:100%;font-size:.92rem;line-height:1.2;overflow-wrap:anywhere}
.stats.equipment-stock-stats .equipment-stock-stat b{grid-column:2;grid-row:1 / 3;min-width:2ch;font-size:1.8rem;line-height:1;text-align:right}
.stats.equipment-stock-stats .equipment-stock-stat small{grid-column:1;grid-row:2;min-width:0;line-height:1.2}
@media(max-width:760px){.stats.equipment-stock-stats .equipment-stock-stat{min-height:82px;padding:10px}.stats.equipment-stock-stats .equipment-stock-stat .caption{font-size:.88rem}.stats.equipment-stock-stats .equipment-stock-stat b{font-size:1.65rem}}
.vehicle-change-section{display:grid;gap:12px;padding:16px;background:var(--surface-card,#fff);border:1px solid var(--surface-border,#d5dfd7);border-radius:var(--surface-radius,10px)}
.vehicle-change-section .company-section-head{margin:0}
.vehicle-change-count{padding:4px 9px;border-radius:999px;background:#eaf3eb;color:#247540;font-size:.78rem;font-weight:600;white-space:nowrap}
.vehicle-change-list{display:grid;gap:9px}
.vehicle-change-card{padding:12px 14px;border:1px solid #dfe8e1;border-radius:8px;background:#f6f8f6}
.vehicle-change-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#26382b}
.vehicle-change-meta strong{font-size:.92rem;font-weight:650}
.vehicle-change-meta time{color:#78817b;font-size:.78rem;text-align:right}
.vehicle-change-card p{margin-top:8px;color:#344339;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.vehicle-change-empty{margin:0;padding:12px;border:1px dashed #d5dfd7;border-radius:8px;background:#f7faf8}
.return-change-preview{display:block;max-width:560px;color:#455c4a;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
@media(max-width:760px){.vehicle-change-section{padding:12px;gap:10px}.vehicle-change-card{padding:10px}.vehicle-change-meta{align-items:flex-start;flex-direction:column;gap:3px}.vehicle-change-meta time{text-align:left}}

/* Compact 220V category cards and a responsive in-app notification inbox. */
.stats.equipment-stock-stats{grid-auto-columns:156px}
.notification-anchor{position:relative;flex:none}
.notification-trigger{position:relative;display:grid;place-items:center;width:42px;height:42px;padding:9px;border:1px solid #ffffff48;border-radius:6px;background:#ffffff0b;color:#f5fff6}
.notification-trigger:hover,.notification-trigger:focus-visible{background:#ffffff18;border-color:#a8d5af;outline:none}
.notification-trigger svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.notification-count{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 4px;border:2px solid #28332c;border-radius:999px;background:#00c937;color:#102316;font-size:.65rem;font-weight:750;line-height:14px;text-align:center}
.notification-panel{position:absolute;z-index:90;top:calc(100% + 12px);right:-54px;width:min(390px,calc(100vw - 28px));max-height:min(620px,calc(100vh - 90px));display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--surface-border);border-radius:12px;background:var(--surface-card,#fff);box-shadow:0 16px 42px #17251b30;color:#28352c}
.notification-anchor .notification-panel{right:0}
.notification-panel[hidden]{display:none}
.notification-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px 12px;border-bottom:1px solid var(--surface-border)}
.notification-panel-head strong{font-size:1.05rem}
.notification-panel-head button{padding:6px 9px;border:0;border-radius:6px;background:transparent;color:#267540;font-size:.82rem}
.notification-panel-head button:hover{background:#edf5ee}
.notification-tabs{display:flex;gap:5px;padding:10px 16px;border-bottom:1px solid #e7ede8}
.notification-tabs button{padding:7px 12px;border:0;border-radius:6px;background:transparent;color:#68756b;font-size:.86rem}
.notification-tabs button.active{background:#eaf3eb;color:#246d40;font-weight:650}
.notification-tabs b{margin-left:3px;color:#247540}
.notification-list{min-height:120px;overflow:auto;padding:2px 16px 8px}
.inbox-item{border-bottom:1px solid #e8eee9}
.inbox-item-main{display:grid;width:100%;gap:8px;padding:14px 4px;border:0;background:transparent;color:inherit;text-align:left}
.inbox-item-main:not(:disabled){cursor:pointer}
.inbox-item-main:hover{background:#f7faf7}
.inbox-item.read .inbox-item-main{color:#78827a}
.inbox-item-title{font-size:.92rem;font-weight:650}
.inbox-item-body{color:#647168;font-size:.84rem;line-height:1.5;overflow-wrap:anywhere}
.inbox-item-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#8a948c;font-size:.76rem}
.inbox-kind{padding:3px 8px;border-radius:999px;background:#edf3ee;color:#487354}
.inbox-kind.overdue{background:#fff2df;color:#9a6100}
.inbox-empty{display:grid;justify-items:center;gap:7px;padding:32px 12px;color:#738077;text-align:center}
.inbox-empty>span{display:grid;width:36px;height:36px;place-items:center;border-radius:50%;background:#eaf3eb;color:#267540;font-weight:700}
.inbox-empty strong{color:#3d4b40;font-size:.9rem}
.inbox-empty small{font-size:.78rem}
.borrowing-date-limit{margin:-5px 0 8px;padding:8px 10px;border-left:3px solid #7aab83;border-radius:4px;background:#f1f7f2;color:#376343}
@media(max-width:760px){.notification-trigger{width:38px;height:38px}.notification-panel{right:-54px;top:calc(100% + 9px);max-height:calc(100vh - 78px)}.notification-panel-head{padding:14px 15px 10px}.notification-list{padding-inline:13px}}

/* 空照片提示与检查表的状态文字、上传操作保持同样的上下排版。 */
.company-profile .vehicle-photo-upload:not(:has(img)){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:12px}
.company-profile .vehicle-photo-upload:not(:has(img))>span:first-child{color:var(--muted);font-size:.875rem;line-height:1.7}
.company-profile .vehicle-photo-upload:not(:has(img)) .vehicle-photo-hint{position:static;display:block;opacity:1;padding:5px 8px;background:transparent;color:var(--blue);font-size:.875rem;line-height:1.4}
.company-profile .inspection-sheet-main>.note{font-size:.875rem;line-height:1.7;text-align:center}
.company-profile .inspection-sheet-main>.text-btn{font-size:.875rem;line-height:1.4;padding:5px 8px}
.company-profile .inspection-sheet-upload{padding:0;border:1px dashed #d9e2dc;border-radius:14px;background:#f7faf8}
.company-profile .inspection-sheet-upload-button{position:relative;display:flex;width:100%;height:100%;min-height:0;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:12px;border:0;border-radius:inherit;background:transparent;color:var(--muted);cursor:pointer;font-size:.875rem;line-height:1.7;text-align:center}
.company-profile .inspection-sheet-upload-button:hover,.company-profile .inspection-sheet-upload-button:focus-visible{background:#eff7f1;outline:2px solid #84b994;outline-offset:-2px}
.company-profile .inspection-sheet-upload-button img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.company-profile .inspection-sheet-upload-button .vehicle-photo-hint{position:static;display:block;opacity:1;padding:5px 8px;background:transparent;color:var(--blue);font-size:.875rem;line-height:1.4}
.company-profile .inspection-sheet-upload-button:has(img) .vehicle-photo-hint{position:absolute;inset:auto 0 0;padding:9px 12px;background:rgba(20,43,29,.78);color:#fff;opacity:0}
.company-profile .inspection-sheet-upload-button:has(img):hover .vehicle-photo-hint,.company-profile .inspection-sheet-upload-button:has(img):focus-visible .vehicle-photo-hint{opacity:1}

/* 借用记录沿用表格组件，资料弹窗内使用更轻、更紧凑的行距。 */
.vehicle-borrow-table-wrap{border:1px solid var(--surface-border,#d5dfd7);border-radius:10px;background:var(--surface-card,#fff)}
.vehicle-borrow-table{table-layout:fixed;white-space:normal}
.vehicle-borrow-section .vehicle-borrow-table{table-layout:auto;width:100%}
.vehicle-borrow-section .vehicle-borrow-table th:first-child,.vehicle-borrow-section .vehicle-borrow-table td:first-child{width:1%;white-space:nowrap}
.vehicle-borrow-section .vehicle-borrow-table th:nth-child(3),.vehicle-borrow-section .vehicle-borrow-table td:nth-child(3),.vehicle-borrow-section .vehicle-borrow-table th:nth-child(5),.vehicle-borrow-section .vehicle-borrow-table td:nth-child(5){white-space:nowrap}
.vehicle-borrow-table th,.vehicle-borrow-table th:first-child{padding:9px 12px;background:var(--surface-muted,#f4f8f5);color:#65736a;font-size:.74rem;font-weight:600}
.vehicle-borrow-table td,.vehicle-borrow-table td:first-child{padding:10px 12px;border-bottom:1px solid var(--surface-divider,#e2e9e3);color:#344339;font-size:.8rem;line-height:1.4;overflow-wrap:anywhere}
.vehicle-borrow-table td strong{color:#1f392a;font-size:.82rem;font-weight:650}
.vehicle-borrow-table tbody tr:last-child td{border-bottom:0}
.vehicle-borrow-section .vehicle-borrow-table td:nth-child(5){color:#286b47}
@media(max-width:760px){.vehicle-borrow-table-wrap{overflow:visible}.vehicle-borrow-table tr{gap:9px 14px;padding:12px}.vehicle-borrow-table td,.vehicle-borrow-table td:first-child{padding:0;border:0}.vehicle-borrow-table td:last-child:before{display:block}.vehicle-borrow-table td:first-child{grid-column:1/-1}.vehicle-borrow-section .vehicle-borrow-table td:nth-child(3),.vehicle-borrow-section .vehicle-borrow-table td:nth-child(5){white-space:normal}}

/* 借用注意事项是给借车人的提醒，和普通参数卡片区分。 */
.company-profile .vehicle-specs>div.vehicle-spec-attention{border:1px solid #e5ca96;background:#fff7e8;box-shadow:inset 3px 0 #d49a36}
.company-profile .vehicle-spec-attention dt{color:#8a5a18;font-weight:700}
.company-profile .vehicle-spec-attention dd{color:#583b16;font-weight:700}

/* 借用确认的复选框与文字保持同一行；整行可点击。 */
.vehicle-borrowing-notice{border-color:var(--attention-border);border-left-color:var(--attention-accent);background:var(--attention-surface);color:var(--attention-text)}
.vehicle-borrowing-notice>strong,.vehicle-static-warning>strong{display:block;font-size:.95rem;line-height:1.4}
.vehicle-borrowing-notice>p,.vehicle-static-warning>p{margin:8px 0 12px;font-size:.88rem;line-height:1.55}
.vehicle-borrowing-notice>strong{display:flex;align-items:center;gap:8px;color:var(--attention-accent);font-size:1rem}
.vehicle-borrowing-notice>strong::before{content:"!";display:grid;place-items:center;flex:none;width:20px;height:20px;border-radius:50%;background:var(--attention-accent);color:#fff;font-size:.78rem;line-height:1}
.vehicle-borrowing-notice>p{color:var(--attention-text);font-size:.92rem}
.vehicle-borrowing-notice label.vehicle-confirm-row,.vehicle-static-warning label.vehicle-confirm-row{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;padding:10px 12px;border:1px solid #d5e3d8;border-radius:8px;background:#fff;color:#30543a;font-size:.82rem;line-height:1.45;cursor:pointer}
.vehicle-borrowing-notice label.vehicle-confirm-row{border-color:var(--attention-border);color:var(--attention-text)}
.vehicle-borrowing-notice .vehicle-confirm-row input[type=checkbox]{accent-color:var(--attention-accent)}
.vehicle-confirm-row input[type=checkbox]{width:18px;height:18px;min-width:18px;flex:0 0 18px;margin:0;padding:0;accent-color:#138047;cursor:pointer}
.vehicle-confirm-row span{min-width:0;overflow-wrap:anywhere}
.vehicle-static-warning{margin:14px 0;padding:14px 16px;border:1px solid #edcf96;border-left:4px solid #d49423;border-radius:10px;background:#fff8ea;color:#613f12}
.vehicle-static-warning label.vehicle-confirm-row{border-color:#ecd9b4;color:#684516}
.vehicle-static-warning .vehicle-confirm-row input[type=checkbox]{accent-color:#b57a12}
@media(max-width:760px){.vehicle-static-warning{padding:12px}.vehicle-borrowing-notice label.vehicle-confirm-row,.vehicle-static-warning label.vehicle-confirm-row{padding:10px}}

/* 桌面设备分类收紧到同一行，窄窗口沿用前面的响应式换行规则。 */
@media(min-width:1400px){
  .stats.equipment-stock-stats{grid-template-columns:repeat(var(--equipment-stock-columns,9),minmax(0,1fr));gap:7px}
  .stats.equipment-stock-stats .equipment-stock-stat{min-width:0;padding:8px 9px;column-gap:4px}
  .stats.equipment-stock-stats .equipment-stock-stat .caption{font-size:.85rem}
  .stats.equipment-stock-stats .equipment-stock-stat b{font-size:1.55rem;min-width:1.5ch}
  .stats.equipment-stock-stats .equipment-stock-stat small{font-size:.75rem}
}

/* 申请前展示服务端实际选定的审批人；拒绝原因在申请人记录中醒目可读。 */
.application-flow{display:grid;gap:10px;padding:14px 16px;border:1px solid #cbded0;border-left:4px solid #52a56b;border-radius:9px;background:linear-gradient(110deg,#f2f8f3,#fbfdfb);color:#35523d;font-size:.86rem;line-height:1.5}
.application-flow-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.application-flow strong{font-size:.93rem;color:#23432e}
.application-flow-count{padding:3px 9px;border-radius:999px;background:#e0f0e4;color:#267041;font-size:.77rem;font-weight:700;white-space:nowrap}
.application-flow p{margin:0;color:#44634b}
.application-flow p b{color:#1d5630}
.application-flow-people{display:flex;flex-wrap:wrap;gap:7px}
.application-flow-people span{padding:5px 10px;border:1px solid #cde3d2;border-radius:999px;background:#fff;color:#26623b;font-size:.8rem;font-weight:600}
.application-flow .application-flow-empty{color:#9b5327}
.application-flow ol{display:flex;flex-wrap:wrap;gap:7px 18px;list-style:none;margin:0;padding:0;color:#5b6d60;font-size:.78rem}
.application-flow-warning{border-color:#e7ca92;background:#fff8e9;color:#795114}
.test-application-flow,.vehicle-borrow-flow{width:100%;padding-top:16px;border-top:2px dashed #b4cfba}
.test-application-flow{grid-column:1/-1}
.test-application-flow .application-flow{width:100%;max-width:none;min-height:0}
.application-flow-test{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;min-height:62px;padding:11px 16px}
.application-flow-test strong{margin-right:8px;white-space:nowrap}
.application-flow-next{color:#5d7162;font-size:.82rem}
.application-flow-person{padding:4px 11px;border:1px solid #cde3d2;border-radius:999px;background:#fff;color:#26623b;font-size:.82rem;font-weight:700}
.application-flow-test .application-flow-count{margin-left:auto}
.application-flow-rail{display:flex;align-items:center;gap:18px;width:100%;max-width:none;min-height:0;padding:13px 18px}
.application-flow-rail>strong{flex:0 0 auto;font-size:.87rem;color:#244d33;white-space:nowrap}
.approval-rail{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
.approval-node{display:flex;align-items:center;gap:7px;min-width:0;padding:8px 13px;border:1px solid #d2e1d5;border-radius:10px;background:#fff;color:#244e34;box-shadow:0 2px 5px #233d2a08}
.approval-node small{font-size:.72rem;color:#698071;white-space:nowrap}
.approval-node b{font-size:.86rem;font-weight:700;overflow-wrap:anywhere}
.approval-node-reviewer{border-color:#8ec49c;background:#e9f5ec}
.approval-node-reviewer b{color:#166b37}
.approval-node-end{background:#f3f7f4}
.approval-arrow{flex:0 0 auto;color:#56a46b;font-size:1.25rem;font-weight:700;line-height:1}
@media(max-width:760px){.application-flow-rail{align-items:flex-start;flex-direction:column;gap:11px;padding:13px}.approval-rail{width:100%;gap:6px}.approval-node{flex:1 1 0;display:block;padding:7px 8px;text-align:center}.approval-node small,.approval-node b{display:block}.approval-node small{white-space:normal}.approval-arrow{font-size:1rem}.access-records-table{min-width:860px}}
.borrow-due-field{display:grid;gap:11px;padding:14px 15px;border:1px solid var(--surface-border,#d5dfd7);border-radius:9px;background:#f8fbf8}
.borrow-due-field>label{gap:8px;color:#364e3d;font-weight:600}
.borrow-due-field input{background:#fff}
.borrow-due-heading{display:flex;align-items:center;flex-wrap:nowrap;gap:6px 11px}
.borrow-due-heading>label{font-size:1rem;font-weight:600;color:#364e3d;white-space:nowrap}
.borrow-due-shortcuts{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.borrow-due-heading .test-duration{margin-left:auto}
.borrow-due-field>input[type=date]{width:100%;min-height:43px}
.borrow-due-caption{color:#66816e;font-size:.75rem;line-height:1.3}
.borrow-due-hint{display:flex;align-items:center;flex-wrap:wrap;gap:4px 7px;margin:0;padding:10px 11px;border-top:1px solid #dce9de;color:#41624a;font-size:.8rem;line-height:1.45}
.borrow-due-hint>span{display:grid;place-items:center;width:18px;height:18px;flex:0 0 18px;border-radius:50%;background:#e0f0e4;color:#2c7a46;font-size:.82rem;font-weight:700}
.borrow-due-hint strong{color:#1f643a;font-weight:700}
.borrow-due-hint small{margin-left:auto;color:#65826b;font-size:.76rem}
@media(max-width:760px){.borrow-due-field{padding:12px}.borrow-due-hint{padding:9px 2px}.borrow-due-hint small{width:100%;margin-left:25px}.application-flow-test{padding:11px 12px;gap:6px 10px}.application-flow-test .application-flow-count{margin-left:0}}
.loan-rejection-reason{display:block;margin-top:5px;color:#b83d31;font-weight:650;white-space:normal;overflow-wrap:anywhere}
.application-flow-diagram{display:grid;grid-template-columns:70px minmax(0,1fr);align-items:center;gap:12px;min-height:0;padding:10px 16px;border-left-width:3px;background:#f7faf7}
.application-flow.application-flow-diagram{width:100%;max-width:none;margin-inline:0}
.application-flow-diagram>strong{display:flex;align-items:center;justify-content:center;align-self:stretch;text-align:center;color:#244d33;font-size:1rem;font-weight:700;white-space:nowrap}
.flow-diagram-track{display:grid;grid-template-columns:minmax(115px,1fr) 68px minmax(180px,var(--reviewer-weight,1.3fr)) 68px minmax(115px,.9fr);align-items:stretch;gap:2px;width:min(100%,1050px);min-width:0;justify-self:center}
.flow-diagram-track:has(>.flow-stage-end:nth-child(3)){grid-template-columns:minmax(125px,1fr) 68px minmax(125px,1fr);width:min(100%,600px)}
.flow-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:52px;padding:4px 8px;text-align:center}
.flow-stage-label{display:block;width:100%;color:#55715e;font-size:.82rem;font-weight:650;line-height:1.3;white-space:normal}
.flow-stage-reviewer .flow-stage-label{color:#2e7445}
.flow-stage-people{position:relative;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:2px 9px;width:100%;min-width:0;padding-top:6px}
.flow-stage-people::before{content:"";position:absolute;top:0;left:50%;width:min(100%,150px);height:1px;background:var(--surface-divider);transform:translateX(-50%)}
.flow-stage-people span{display:inline-block;max-width:100%;color:#244f32;font-size:.92rem;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
.flow-stage-reviewer .flow-stage-people span{color:#176b38}
.flow-stage-end .flow-stage-people span{color:#698072;font-weight:600}
.flow-connector{position:relative;display:block;align-self:center;height:12px;color:#5c9c70;font-size:0;line-height:0}
.flow-connector::before{content:"";position:absolute;left:4px;right:7px;top:50%;height:1.5px;background:currentColor;transform:translateY(-50%)}
.flow-connector::after{content:"";position:absolute;right:7px;top:50%;width:7px;height:7px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:translateY(-50%) rotate(45deg)}
.test-application-overview,.test-application-records,.test-records-table-wrap{min-width:0;max-width:100%}
.shell{grid-template-columns:238px minmax(0,1fr)}
.workspace,.panel{min-width:0;max-width:100%}
.test-records-table-wrap{overflow-x:auto}
.test-records-table{table-layout:fixed;width:100%;white-space:normal}
.test-records-table th,.test-records-table td{white-space:normal;overflow-wrap:anywhere;vertical-align:middle}
.test-records-table th:nth-child(1){width:18%}.test-records-table th:nth-child(2){width:15%}.test-records-table th:nth-child(3){width:10%}.test-records-table th:nth-child(4){width:25%}.test-records-table th:nth-child(5){width:18%}.test-records-table th:last-child{width:14%}
.test-records-table.with-applicant th:nth-child(1){width:17%}.test-records-table.with-applicant th:nth-child(2){width:14%}.test-records-table.with-applicant th:nth-child(3){width:9%}.test-records-table.with-applicant th:nth-child(4){width:24%}.test-records-table.with-applicant th:nth-child(5){width:18%}.test-records-table.with-applicant th:nth-child(6){width:8%}.test-records-table.with-applicant th:nth-child(7){width:10%}
.borrow-stats-section .borrowings-table-wrap table{table-layout:fixed;min-width:900px;white-space:normal}
.borrow-stats-section .borrowings-table-wrap th,.borrow-stats-section .borrowings-table-wrap td{white-space:normal;overflow-wrap:anywhere}
.borrow-stats-section .borrowings-table-wrap th:last-child{width:17%}
.borrow-row-actions{flex-wrap:wrap;gap:3px 7px}
.borrow-row-actions button{padding:5px 7px;font-weight:650}
.borrow-row-actions button.btn-unavailable{border-color:var(--surface-border);background:var(--surface-muted);color:#64756a;box-shadow:none;cursor:pointer}
.borrow-row-actions button.btn-unavailable:hover{border-color:var(--surface-border);background:#edf1ed;color:#64756a;box-shadow:none}
#modal.vehicle-borrow-modal{width:min(720px,calc(100% - 24px));max-height:92vh}
#modal.vehicle-borrow-modal .modal-head{padding:17px 22px 9px}
#modal.vehicle-borrow-modal form{gap:11px;padding:0 22px 18px}
#modal.vehicle-borrow-modal .vehicle-static-warning{margin:0;padding:10px 12px}
#modal.vehicle-borrow-modal .vehicle-borrowing-notice{margin:0;padding:15px 16px}
#modal.vehicle-borrow-modal .vehicle-static-warning>p{margin:4px 0 8px;line-height:1.45}
#modal.vehicle-borrow-modal .vehicle-borrowing-notice>p{margin:10px 0 14px;line-height:1.6}
#modal.vehicle-borrow-modal .vehicle-confirm-row{padding:9px 11px}
#modal.vehicle-borrow-modal textarea[name=purpose]{min-height:68px;max-height:120px}
#modal.vehicle-borrow-modal .borrow-purpose-field{font-size:1rem;font-weight:700;color:#24372b}
#modal.vehicle-borrow-modal .borrow-purpose-field textarea{font-weight:400}
#modal.vehicle-borrow-modal .borrow-due-field{gap:7px;padding:9px 11px}
#modal.vehicle-borrow-modal .borrow-due-hint{padding:7px 4px}
#modal.vehicle-borrow-modal .application-flow-diagram{padding:8px 10px}
#modal.vehicle-borrow-modal .modal-actions{margin-top:0}
#modal.vehicle-borrow-modal .borrow-validity-notice{padding:10px 12px;border:1px solid var(--attention-border);border-left:4px solid var(--attention-accent);border-radius:var(--surface-radius);background:var(--attention-surface);color:var(--attention-text)}
#modal.vehicle-borrow-modal .borrow-validity-notice strong{color:var(--attention-accent)}
#modal.vehicle-borrow-modal .borrow-validity-notice p{margin:7px 0 4px;line-height:1.5}
#modal.vehicle-borrow-modal .borrow-validity-notice small{display:block;line-height:1.4}
#modal.vehicle-borrow-modal .borrow-mode{display:grid;gap:8px;padding-top:10px;border-top:1px dashed var(--surface-border)}
#modal.vehicle-borrow-modal .borrow-mode>strong{color:#315b3d}
#modal.vehicle-borrow-modal .borrow-mode-options{display:flex;gap:9px}
#modal.vehicle-borrow-modal .borrow-mode-options label{position:relative;display:flex;align-items:center;flex:1;min-width:0;min-height:58px;padding:11px 14px;border:1px solid var(--surface-border);border-radius:var(--surface-radius);background:#fff;color:var(--text,#26312a);cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease}
#modal.vehicle-borrow-modal .borrow-mode-options label:has(input:checked){border-color:#75ab84;background:#eaf5ed;color:#17683c}
#modal.vehicle-borrow-modal .borrow-mode-options label:nth-child(2):has(input:checked){border-color:#d8a552;background:#fff5e5;color:#895719}
#modal.vehicle-borrow-modal .borrow-mode-options label:has(input:disabled){opacity:.5;cursor:not-allowed}
#modal.vehicle-borrow-modal .borrow-mode-options label:has(input:focus-visible){outline:2px solid #268245;outline-offset:2px}
#modal.vehicle-borrow-modal .borrow-mode-options input{position:absolute;inset:0;width:1px;height:1px;margin:0;opacity:0;pointer-events:none}
#modal.vehicle-borrow-modal .borrow-mode-options span{font-weight:700;line-height:1.35}
#modal.vehicle-borrow-modal .borrow-mode-options small{display:block;margin-top:4px;color:var(--muted);font-weight:400;line-height:1.4}
#modal.vehicle-borrow-modal .borrow-mode-reason{font-size:.82rem;color:var(--attention-text)}
#modal.vehicle-borrow-modal [data-custody-confirm][hidden],#modal.vehicle-borrow-modal .borrow-due-hint[hidden]{display:none}
@media(max-width:760px){#modal.vehicle-borrow-modal .borrow-mode-options{flex-direction:column}}
@media(max-width:760px){.application-flow-diagram{grid-template-columns:62px minmax(0,1fr);gap:8px;padding:9px 11px}.application-flow-diagram>strong{font-size:1rem;white-space:normal}.flow-diagram-track,.flow-diagram-track:has(>.flow-stage-end:nth-child(3)){grid-template-columns:minmax(0,1fr);gap:2px;width:100%}.flow-stage{min-height:44px;padding:4px 8px}.flow-connector{justify-self:center;width:max-content;height:auto;padding:0;font-size:1rem;line-height:1;transform:rotate(90deg)}.flow-connector::before,.flow-connector::after{display:none}.flow-stage-people{min-height:0}.test-records-table{min-width:780px}.borrow-stats-section .borrowings-table-wrap table{min-width:900px}#modal.vehicle-borrow-modal .modal-head{padding:15px 16px 8px}#modal.vehicle-borrow-modal form{padding:0 16px 16px}}
@media(max-width:760px){.flow-connector{width:14px;height:22px;font-size:0;transform:none}.flow-connector::before{display:block;clip-path:polygon(40% 0,60% 0,60% calc(100% - 10px),100% calc(100% - 10px),50% 100%,0 calc(100% - 10px),40% calc(100% - 10px))}}
.my-borrow-rejection-alert{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin:16px 22px 0;padding:11px 14px;border:1px solid #edccc7;border-radius:8px;background:#fff4f1;color:#8d3027;font-size:.84rem}
.my-borrow-rejection-alert span{flex:1 1 240px;overflow-wrap:anywhere}
.my-borrow-rejection-alert button{padding:5px 8px;color:#a63026;font-weight:700}
/* 样车资料按关联信息分组，沿用全站卡片颜色与边框变量。 */
.company-profile .vehicle-spec-groups{display:grid;gap:10px;min-width:0}
.company-profile .vehicle-spec-group{min-width:0;padding:10px;border:1px solid var(--surface-border);border-radius:var(--surface-radius);background:var(--surface-card)}
.company-profile .vehicle-spec-group h4{margin:0 0 8px;padding-left:8px;border-left:3px solid #54a568;color:#315a3d;font-size:.78rem;line-height:1.4}
.company-profile .vehicle-spec-group .vehicle-specs{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.company-profile .vehicle-spec-group .vehicle-specs>div{border:1px solid var(--surface-divider);background:var(--surface-muted)}
.company-profile .vehicle-spec-group .vehicle-specs .vehicle-spec-wide{grid-column:span 2}
.company-profile .vehicle-spec-group .vehicle-specs .vehicle-spec-attention{border-color:#e5ca96;background:#fff7e8}
.approval-panel .approval-row>.approval-content{display:block;flex:1 1 auto;min-width:0}
.approval-vehicle-identity{display:flex;align-items:flex-start;gap:11px;min-width:0}
.approval-vehicle-identity>.brand-mark,.approval-vehicle-glyph{flex:0 0 44px;width:44px;height:38px;align-self:center}
.approval-vehicle-glyph{display:grid;place-items:center;border:1px solid var(--surface-border);border-radius:8px;background:var(--surface-muted);color:#3d7850;font-size:.85rem;font-weight:700}
.approval-vehicle-identity>div:last-child{min-width:0}
.approval-vehicle-identity strong{color:#213e2c;font-size:.98rem}
.approval-vehicle-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 10px;min-width:0}
.approval-vehicle-title strong{white-space:nowrap}
.approval-vehicle-title .vin{font-size:.72rem;white-space:nowrap}
.approval-vehicle-title .text-btn{padding:0;border:0;background:transparent;color:#267047;font-size:.72rem;white-space:nowrap}
.approval-vehicle-meta{display:flex;flex-wrap:wrap;gap:4px 6px;margin-top:5px}
.approval-vehicle-meta span{padding:3px 6px;border:1px solid var(--surface-border);border-radius:5px;background:var(--surface-muted);color:#49634f;font-size:.7rem;line-height:1.3;white-space:nowrap}
.approval-requests-table td strong,.approval-requests-table .approval-vehicle-identity strong,.approval-requests-table .loan-key-cell{font-weight:400}
.approval-panel .approval-row .approval-request-meta{margin:6px 0 0 55px;color:#5a6e60}
.approval-panel .approval-row .return-change-preview{margin-left:55px}
.approval-panel .approval-row .actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:280px}
.approval-panel .approval-row .actions .text-btn{background:var(--surface-muted);border:1px solid var(--surface-border);color:#286441;font-size:.76rem}
.approval-table-wrap{width:100%;overflow-x:auto}
.approval-requests-table{width:100%;min-width:980px;table-layout:fixed;white-space:normal}
.approval-requests-table th:nth-child(1){width:48%}.approval-requests-table th:nth-child(2){width:10%}.approval-requests-table th:nth-child(3){width:15%}.approval-requests-table th:nth-child(4){width:13%}.approval-requests-table th:nth-child(5){width:14%}
.borrow-approval-table th:nth-child(1){width:42%}.borrow-approval-table th:nth-child(2){width:9%}.borrow-approval-table th:nth-child(3){width:13%}.borrow-approval-table th:nth-child(4){width:14%}.borrow-approval-table th:nth-child(5){width:8%}.borrow-approval-table th:nth-child(6){width:14%}
.borrow-approval-table td:nth-child(5){font-weight:650;color:#286441;white-space:nowrap}
.approval-requests-table td,.approval-requests-table th{white-space:normal;vertical-align:middle;overflow-wrap:anywhere}
.approval-requests-table td{padding:12px 11px;border-bottom:1px solid var(--surface-divider);font-size:.84rem;line-height:1.45}
.approval-requests-table tbody tr:last-child td{border-bottom:0}
.approval-requests-table .actions{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.approval-requests-table .actions button{padding:6px 9px;white-space:normal}
.approval-requests-table .actions .text-btn{border:1px solid var(--surface-border);border-radius:5px;background:var(--surface-muted);color:#286441;font-size:.76rem}
.vehicle-table .vehicle-identity .brand-mark{width:40px;height:32px;flex:0 0 40px}
.vehicle-table .vehicle-identity .brand-mark img{width:38px;height:30px;max-width:38px;max-height:30px}
.brand-picker .brand-option .brand-mark{width:24px;height:20px;flex:0 0 24px}
.brand-picker .brand-option .brand-mark img{width:22px;height:18px;max-width:22px;max-height:18px}
.brand-picker .brand-option{min-height:36px;gap:8px}
.brand-picker .brand-trigger-mark,.brand-picker .brand-placeholder{width:24px;height:20px;flex:0 0 24px}
.brand-picker .brand-trigger-mark .brand-mark{width:24px;height:20px;flex:0 0 24px}
.brand-picker .brand-trigger-mark .brand-mark img{width:22px;height:18px;max-width:22px;max-height:18px}
.notification-head-actions{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:flex-end}
.notification-panel-head .notification-delete-all,.inbox-item-delete{color:#a94036}
.inbox-item{position:relative;display:flex;align-items:stretch;gap:5px}
.inbox-item-main{flex:1;min-width:0}
.inbox-item-delete{align-self:center;flex:0 0 auto;padding:5px 7px;border:1px solid transparent;border-radius:5px;background:transparent;font-size:.76rem}
.inbox-item-delete:hover,.inbox-item-delete:focus-visible{border-color:#edc7c2;background:#fff4f2}
.notification-target{outline:2px solid #77b78a;outline-offset:-2px;background:#f0faf2}
input[type=date],input[type=datetime-local]{min-height:44px;border-color:var(--surface-border);border-radius:var(--surface-radius,8px);background:var(--surface-muted);color:#243329;color-scheme:light;cursor:pointer}
input[type=date]:focus,input[type=datetime-local]:focus{border-color:#4b9c67;box-shadow:0 0 0 3px #44a46322}
input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.72;filter:sepia(.25) hue-rotate(60deg)}
.site-date-picker{position:fixed;inset:auto;margin:0;z-index:10000;max-height:calc(100vh - 20px);overflow:auto;padding:13px;border:1px solid var(--surface-border);border-radius:10px;background:var(--surface-card);color:#243329;box-shadow:0 18px 44px #172d1d38;font-family:inherit}
.site-date-picker:popover-open{display:block}
.site-date-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.site-date-head strong{font-size:.91rem;color:#214f31}
.site-date-head button{width:31px;height:31px;border:1px solid var(--surface-border);border-radius:7px;background:var(--surface-muted);color:#287345;font-size:1.3rem;line-height:1}
.site-date-head button:hover,.site-date-head button:focus-visible{background:#e8f5eb;border-color:#77b58b}
.site-date-weekdays,.site-date-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.site-date-weekdays span{padding:5px 0;color:#77877b;font-size:.73rem}
.site-date-day{height:34px;border:1px solid transparent;border-radius:6px;background:transparent;color:#263d2d;font-size:.82rem}
.site-date-day.outside{color:#a1aaa3}.site-date-day.today{border-color:#6baa7a;color:#20633a;font-weight:700}
.site-date-day.selected{background:#2e9c4e;color:#fff;font-weight:700}.site-date-day:hover:not(:disabled){background:#e7f4e9;color:#145c31}
.site-date-day.selected:hover:not(:disabled){background:#258742;color:#fff}.site-date-day:disabled{opacity:.28;cursor:not-allowed}
.site-date-time{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px;padding:8px 0;border-top:1px solid var(--surface-border)}
.site-date-time label{font-size:.79rem;color:#47614d}.site-date-time input{width:125px;min-height:34px;padding:4px 8px;border-color:var(--surface-border);border-radius:6px;background:var(--surface-muted)}
.site-date-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;margin-top:9px;padding-top:9px;border-top:1px solid var(--surface-border)}
.site-date-actions button{padding:5px 9px;border:1px solid var(--surface-border);border-radius:6px;background:var(--surface-muted);color:#276942;font-size:.78rem}
.site-date-actions button:hover,.site-date-actions button:focus-visible{background:#e9f5ec;border-color:#7dbb8c}
.site-date-actions .site-date-confirm{background:#198c3d;border-color:#198c3d;color:#fff}
.site-date-error{margin:7px 0 0;color:#b44338;font-size:.75rem}
.inspection-rule-note{margin:8px 1px 0;color:#62796a;font-size:.74rem;line-height:1.45}
@media(max-width:760px){.borrow-due-heading{flex-wrap:wrap}.borrow-due-heading .test-duration{margin-left:0}.notification-head-actions{gap:0}.inbox-item-delete{padding:5px 4px}.approval-requests-table.borrow-approval-table{min-width:930px}.site-date-picker{padding:11px}.site-date-day{height:32px}}
.rejection-reason-detail{margin:10px 0;padding:12px 14px;border:1px solid #edccc7;border-radius:8px;background:#fff4f1;font-size:.9rem;line-height:1.55}
.borrowing-parallel-note{margin:0;padding:8px 10px;border:1px solid var(--surface-border);border-radius:6px;background:var(--surface-muted);font-size:.78rem;line-height:1.4}
:root{--input-placeholder-size:.875rem}
input::placeholder,textarea::placeholder{color:#859087;font-size:var(--input-placeholder-size);font-weight:400;opacity:1}
.equipment-ledger-controls .search::placeholder{font-size:var(--input-placeholder-size)}
#fleetPanel .fleet-panel-tools .search::placeholder{font-size:var(--input-placeholder-size);color:#859087}
@media(max-width:760px){.company-profile .vehicle-spec-group .vehicle-specs{grid-template-columns:repeat(2,minmax(0,1fr))}.approval-panel .approval-row .actions{max-width:none;width:100%;justify-content:flex-start}.approval-panel .approval-row .approval-request-meta,.approval-panel .approval-row .return-change-preview{margin-left:0}}
@media(max-width:420px){.company-profile .vehicle-spec-group .vehicle-specs .vehicle-spec-wide{grid-column:span 2}}
.vehicle-borrowing-notes-section .company-section-head{margin-bottom:10px}
.vehicle-borrowing-notes-alert{display:flex;align-items:flex-start;gap:11px;padding:13px 15px;border:1px solid #e7bb70;border-left:4px solid #d9861d;border-radius:var(--surface-radius);background:#fff7e9;color:#784811}
.vehicle-borrowing-notes-alert>span{display:grid;place-items:center;flex:0 0 21px;width:21px;height:21px;border-radius:50%;background:#d9861d;color:#fff;font-size:.8rem;font-weight:700}
.vehicle-borrowing-notes-alert p{margin:0;font-size:.9rem;font-weight:650;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.company-profile .vehicle-spec-group .vehicle-spec-vin dd{font-size:.72rem;letter-spacing:-.035em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.notification-detail-message{margin:0 0 14px;padding:12px 14px;border:1px solid var(--surface-border);border-radius:var(--surface-radius);background:var(--surface-muted);line-height:1.65;overflow-wrap:anywhere}
.notification-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
.notification-detail-grid>div{min-width:0;padding:10px 12px;border:1px solid var(--surface-divider);border-radius:var(--surface-radius);background:var(--surface-card)}
.notification-detail-grid dt{color:#687a6c;font-size:.78rem}
.notification-detail-grid dd{margin:4px 0 0;color:#23392a;font-weight:600;overflow-wrap:anywhere}
@media(max-width:760px){.notification-detail-grid{grid-template-columns:1fr}.notification-detail-message{padding:11px 12px}}
.company-dialog .profile-header-actions{display:flex;align-items:center;gap:12px;flex:none}
.company-dialog .profile-header-actions .text-btn{white-space:nowrap}
@media(max-width:760px){.company-dialog .profile-header-actions{gap:5px}.company-dialog .profile-header-actions .text-btn{font-size:.78rem;padding-inline:5px}}
.loan-key-summary{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin:12px 0;padding:12px 14px;border:1px solid #cbded0;border-left:4px solid #4aa467;border-radius:var(--surface-radius);background:var(--surface-muted);color:#294d35;font-size:.88rem}
.loan-key-summary strong{white-space:nowrap}.loan-key-summary span{font-weight:700}.loan-key-summary small{flex-basis:100%;color:#607567;font-size:.76rem}
.loan-key-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.loan-key-grid label{min-width:0}.loan-key-grid small{display:block;margin-top:4px;color:#6c7c70;font-size:.75rem}
.loan-key-check{display:flex;align-items:flex-start;gap:9px;margin:12px 0;padding:10px 12px;border:1px solid var(--surface-border);border-radius:var(--surface-radius);background:var(--surface-muted);font-size:.84rem}.loan-key-check input{flex:0 0 auto;margin-top:2px}.loan-key-check span{line-height:1.4}
.loan-key-cell{display:block;color:#275c38;font-size:.82rem;line-height:1.4}
@media(max-width:760px){.loan-key-grid{grid-template-columns:1fr}}
.my-borrow-view-cards .needs-attention{border-color:#dfaca5;background:#fff3f0}
.avatar-picker-body{display:grid;gap:17px;padding:0 28px 28px}
.avatar-preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.avatar-preset{display:grid;justify-items:center;gap:8px;padding:13px 8px;border:1px solid var(--surface-border,#d5dfd7);border-radius:8px;background:var(--surface-card,#fff);font-size:.78rem;color:#49604e}
.avatar-preset:hover,.avatar-preset:focus-visible{border-color:#65a876;background:#f3faf4;outline:none}
.avatar-preset-art{display:grid;place-items:center;width:62px;height:62px;border-radius:50%;background:linear-gradient(135deg,var(--avatar-from),var(--avatar-to));box-shadow:inset 0 0 0 2px #ffffff55;color:white;font-size:1.75rem;font-weight:700}
.avatar-picker-actions{display:flex;justify-content:space-between;align-items:center;gap:12px}
@media(max-width:760px){.my-borrow-rejection-alert{margin:12px}.avatar-picker-body{padding:0 20px 22px}.avatar-preset-grid{gap:7px}.avatar-preset{padding:10px 4px}.avatar-preset-art{width:50px;height:50px;font-size:1.4rem}}

:is(.test-application-overview,.my-borrow-application-overview) .test-application-statuses{grid-template-columns:repeat(4,minmax(0,1fr))}
:is(.test-my-applications,.my-borrow-application-overview) .test-application-statuses>button{height:62px;min-height:62px;flex-direction:row;align-items:center;justify-content:space-between;padding:8px 20px}
:is(.test-my-applications,.my-borrow-application-overview) .test-application-statuses>button b{font-size:1.85rem;font-weight:500;line-height:1;color:#16713a}
:is(.test-my-applications,.my-borrow-application-overview) .test-application-statuses>button.selected{border-color:#78a984;background:#e9f5ec;box-shadow:inset 0 0 0 1px #78a984}
.test-records-table,.test-records-table.with-applicant{min-width:0;width:100%;table-layout:fixed}
.test-records-table-wrap{overflow-x:hidden}
.test-records-table th,.test-records-table td{padding:10px 8px;overflow-wrap:anywhere;line-height:1.45}
.test-records-table th:first-child,.test-records-table td:first-child{padding-left:12px}
.test-records-table.with-applicant th:nth-child(1){width:14%}
.test-records-table.with-applicant th:nth-child(2){width:13%}
.test-records-table.with-applicant th:nth-child(3){width:12%}
.test-records-table.with-applicant th:nth-child(4){width:23%}
.test-records-table.with-applicant th:nth-child(5){width:15%}
.test-records-table.with-applicant th:nth-child(6){width:7%}
.test-records-table.with-applicant th:nth-child(7){width:16%}
.test-records-table td:nth-child(3) strong{display:block;white-space:nowrap;overflow-wrap:normal}
.test-records-table td:nth-child(3) small{display:block;white-space:normal;overflow-wrap:anywhere}
.test-application-records .test-record-actions{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:6px;white-space:nowrap}
.test-record-actions button{flex:0 0 auto;white-space:nowrap;padding:5px 4px;font-size:.8rem}
.test-record-actions .record-detail-action{padding:5px 7px;border:1px solid var(--surface-border);border-radius:5px;background:var(--surface-muted)}
.test-record-actions [data-test-void],.test-record-actions [data-test-delete]{color:#b64236}
@media(max-width:1320px){
  .test-records-table,.test-records-table tbody{display:block;width:100%;min-width:0}
  .test-records-table thead{display:none}
  .test-records-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 18px;padding:14px;border-bottom:1px solid var(--surface-divider)}
  .test-records-table td,.test-records-table td:first-child{display:block;min-width:0;padding:0;border:0;overflow-wrap:anywhere}
  .test-records-table td::before{display:block;content:attr(data-label);margin-bottom:4px;color:#718176;font-size:.75rem;font-weight:600}
  .test-records-table td:last-child{grid-column:1/-1}
  .test-records-table .test-record-actions{justify-content:flex-start;flex-wrap:wrap;white-space:normal}
}
.approval-history-heading{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px}
.approval-history-heading h2{flex:none;white-space:nowrap}
.approval-history-heading .approval-history-toolbar{display:flex;align-items:center;justify-content:flex-end;flex:1 1 680px;flex-wrap:wrap;gap:10px;min-width:0}
.approval-history-heading .category-segments{display:flex;flex:none;max-width:100%;gap:2px;padding:4px;background:#eaf0eb;border-radius:6px}
.approval-history-heading .category-segments button{display:flex;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:6px 9px;white-space:nowrap;font-size:.82rem}
.approval-history-heading .category-segments button b{display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 6px;border-radius:11px;background:#d9e4db;color:#3e6748;font-size:.72rem;font-weight:600}
.approval-history-heading .category-segments button.active{background:#253029;color:#fff}
.approval-history-heading .category-segments button.active b{background:#00ed16;color:#12361b}
.approval-history-heading .approval-history-search{flex:1 1 220px;min-width:190px;max-width:320px;margin:0}
.approval-history-heading .approval-history-count{flex:none;white-space:nowrap;font-size:.8rem}
.approval-history-table{min-width:860px}
.approval-history-table td:last-child{white-space:nowrap}
.approval-history-table td:last-child .text-btn{padding:5px 7px}
@media(max-width:760px){.test-application-overview .test-application-statuses{grid-template-columns:repeat(2,minmax(0,1fr))}.approval-history-heading .approval-history-toolbar{justify-content:flex-start;flex-basis:100%}.approval-history-heading .category-segments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;overflow:visible}.approval-history-heading .category-segments button{justify-content:space-between;min-width:0}.approval-history-heading .approval-history-search{max-width:none;min-width:0}.approval-history-heading .approval-history-count{margin-left:auto}}

.vehicle-name-line .vehicle-favorite{display:inline-grid;place-items:center;flex:none;width:22px;height:22px;padding:2px;border:0;border-radius:4px;background:transparent;color:#87968a;line-height:1;cursor:pointer}
.vehicle-name-line .vehicle-favorite svg{width:17px;height:17px;fill:transparent;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.vehicle-name-line .vehicle-favorite:hover,.vehicle-name-line .vehicle-favorite:focus-visible{background:#edf5ee;color:#397c4a}
.vehicle-name-line .vehicle-favorite.is-favorite{color:#d29a28}
.vehicle-name-line .vehicle-favorite.is-favorite svg{fill:#f5c752;stroke:#bd8518}
.vehicle-table .vehicle-action-separator{flex:none;color:#91a196;font-size:.9rem;line-height:1}
.test-vehicle-filters{display:flex;gap:5px;margin:0 0 6px;padding:3px;border-radius:5px;background:var(--surface-muted)}
.test-vehicle-filters button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:30px;flex:1;padding:4px 8px;border:0;border-radius:4px;background:transparent;color:#56665a;font-size:.8rem;white-space:nowrap}
.test-vehicle-filters button.active{background:#26312a;color:#fff}
.test-vehicle-filters button b{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:10px;background:#e1ebe2;color:#41654a;font-size:.7rem}
.test-vehicle-filters button.active b{background:#00ed16;color:#12361b}
.test-vehicle-empty{margin:0;padding:12px;color:#6c7a6e;font-size:.85rem;text-align:center}
@media(max-width:760px){.test-vehicle-filters button{min-height:34px}}
.test-my-applications{min-height:0}
.test-my-applications>.panel-title{align-items:center;gap:14px}
.test-my-applications>.panel-title h2{flex:none;white-space:nowrap}
.test-my-applications>.panel-title .test-records-head-actions{display:flex;align-items:center;justify-content:flex-end;flex:1 1 640px;flex-wrap:wrap;gap:10px;min-width:0;margin:0;padding:0;border:0}
.test-my-applications>.panel-title .test-records-head-actions .search{flex:1 1 260px;width:auto;min-width:200px;max-width:420px;margin:0}
.test-my-applications>.panel-title .test-records-head-actions .note{flex:none;white-space:nowrap}
:is(.test-my-applications,.my-borrow-application-overview) .test-application-statuses>button{height:62px;min-height:62px;flex-direction:row;align-items:center;justify-content:space-between}
/* Match the title row height used by the vehicle borrowing panel. */
.test-application-overview{gap:0;padding:0}
.test-application-overview>.panel-title{min-height:80px;padding:23px 28px 20px}
.my-borrow-list>.panel-title{min-height:80px}
:is(.test-application-overview,.my-borrow-application-overview)>.test-application-statuses{margin:0;padding:12px 22px;background:transparent}
@media(max-width:760px){.test-my-applications>.panel-title{align-items:flex-start;flex-wrap:wrap}.test-my-applications>.panel-title .test-records-head-actions{flex-basis:100%;justify-content:flex-start}.test-my-applications>.panel-title .test-records-head-actions .search{flex:1 1 100%;width:100%;max-width:none;min-width:0}.test-my-applications>.panel-title .test-records-head-actions .primary{margin-left:auto}:is(.test-my-applications,.my-borrow-application-overview) .test-application-statuses{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.test-application-overview>.panel-title{min-height:0;padding:18px 18px 16px}:is(.test-application-overview,.my-borrow-application-overview)>.test-application-statuses{padding:10px 15px}}

/* Shared keyword filters for dense lists: keep search, count and actions together. */
.panel-title .auto-list-tools,.panel-title .event-head-actions,.panel-title .access-records-actions,.panel-title .equipment-history-search-tools,.test-application-records .test-records-head-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;flex:1 1 320px;min-width:0;margin-left:auto;padding:0;border:0}
.panel-title .auto-list-tools .search,.panel-title .event-head-actions .search,.panel-title .access-records-actions .search,.panel-title .equipment-history-search-tools .search,.test-application-records .test-records-head-actions .search{flex:1 1 220px;min-width:180px;max-width:380px;margin:0}
.panel-title .auto-list-tools .note,.panel-title .event-head-actions .note,.panel-title .access-records-actions .note,.panel-title .equipment-history-search-tools .note,.test-application-records .test-records-head-actions .note{white-space:nowrap}
.auto-list-tools .search{width:auto}
@media(max-width:760px){.panel-title .auto-list-tools,.panel-title .event-head-actions,.panel-title .access-records-actions,.panel-title .equipment-history-search-tools,.test-application-records .test-records-head-actions{justify-content:flex-start;flex-basis:100%;margin-left:0}.panel-title .auto-list-tools .search,.panel-title .event-head-actions .search,.panel-title .access-records-actions .search,.panel-title .equipment-history-search-tools .search,.test-application-records .test-records-head-actions .search{flex-basis:100%;max-width:none;min-width:0}}
.vehicle-record-section .company-section-head,.vehicle-borrow-section .company-section-head{flex-wrap:wrap}
.company-section-head .vehicle-record-search-tools{flex:1 1 200px;justify-content:flex-end;min-width:0;margin-left:auto;padding:0;border:0}
.company-section-head .vehicle-record-search-tools .search{width:100%;max-width:300px;margin:0}
@media(max-width:760px){.company-section-head .vehicle-record-search-tools{flex-basis:100%;justify-content:stretch;margin-left:0}.company-section-head .vehicle-record-search-tools .search{max-width:none}}

.test-approval-wrap{overflow-x:hidden}
.approval-requests-table.test-approval-table{min-width:0;width:100%;table-layout:fixed}
.test-approval-table th:nth-child(1){width:32%}
.test-approval-table th:nth-child(2){width:9%}
.test-approval-table th:nth-child(3){width:13%}
.test-approval-table th:nth-child(4){width:13%}
.test-approval-table th:nth-child(5){width:22%}
.test-approval-table th:nth-child(6){width:11%}
.test-approval-table td,.test-approval-table th{padding-inline:8px;overflow-wrap:anywhere}
.test-approval-table td:first-child,.test-approval-table th:first-child{padding-left:14px}
.test-approval-table td:nth-child(2) strong,.test-approval-table td:nth-child(4) strong{white-space:nowrap}
.test-approval-time{display:flex;align-items:center;flex-wrap:wrap;gap:2px 5px}
.test-approval-time time{white-space:nowrap}
.test-approval-table .actions{flex-wrap:wrap;gap:2px 4px}
.test-approval-table .actions button{white-space:nowrap;padding:5px 6px}
@media(max-width:1100px){
  .test-approval-table,.test-approval-table tbody{display:block;min-width:0;width:100%}
  .test-approval-table thead{display:none}
  .test-approval-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 18px;padding:14px;border-bottom:1px solid var(--surface-divider)}
  .test-approval-table td,.test-approval-table td:first-child{display:block;min-width:0;padding:0;border:0}
  .test-approval-table td::before{display:block;content:attr(data-label);margin-bottom:4px;color:#718176;font-size:.75rem;font-weight:600}
  .test-approval-table td:first-child,.test-approval-table td:last-child{grid-column:1/-1}
  .test-approval-table .actions{justify-content:flex-start}
}
@media(max-width:520px){.test-approval-table tr{grid-template-columns:1fr}.test-approval-table td{grid-column:1/-1}.test-approval-table .approval-vehicle-title .vin,.test-approval-table .approval-vehicle-meta span,.test-approval-time time{white-space:normal;overflow-wrap:anywhere}}

/* Every list keyword field follows the vehicle-ledger reference. */
#app .panel input.search,#app .test-application-records input.search,#modal input.search{
  flex:0 1 var(--list-search-width);
  width:var(--list-search-width);
  max-width:100%;
  height:var(--list-search-height);
  min-height:var(--list-search-height);
  padding:8px 12px;
  border:1px solid var(--list-search-border);
  border-radius:5px;
  background:var(--list-search-bg);
  color:#1d1d1f;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;
  font-size:var(--list-search-font-size);
  font-weight:400;
  line-height:1.25;
  box-sizing:border-box;
}
#app .panel input.search::placeholder,#app .test-application-records input.search::placeholder,#modal input.search::placeholder{
  color:#859087;
  font-size:var(--list-search-placeholder-size);
  font-weight:400;
  opacity:1;
}
@media(max-width:760px){
  #app .panel input.search,#app .test-application-records input.search,#modal input.search{flex:0 0 auto;width:100%;max-width:none}
}

/* Shared read-only details for vehicle, test, equipment and audit lists. */
#modal.record-detail-dialog{width:min(760px,calc(100% - 28px));max-height:90vh;border-color:var(--surface-divider);border-radius:var(--surface-radius)}
.record-detail-dialog .modal-head{align-items:flex-start;gap:16px;border-bottom:1px solid var(--surface-divider)}
.record-detail-dialog .modal-head h2{line-height:1.35;overflow-wrap:anywhere}
.record-detail-dialog .modal-head .note{margin:5px 0 0;overflow-wrap:anywhere}
.record-detail-body{display:grid;gap:15px;padding-top:18px}
.record-detail-section{min-width:0}
.record-detail-section h3{font-size:.95rem;margin:0 0 9px;color:#235736;font-weight:600}
.record-detail-section-heading{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-bottom:9px}
.record-detail-section-heading h3{margin:0}
.record-detail-car-link{padding:3px 8px;border:1px solid var(--surface-border);border-radius:5px;background:var(--surface-muted);color:#235736;font-size:.75rem;line-height:1.45;white-space:nowrap}
.record-detail-car-link:hover{background:#e8f2ea;border-color:#7eab89}
.record-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
.record-detail-grid>div{min-width:0;padding:10px 12px;border:1px solid var(--surface-divider);border-radius:var(--surface-radius);background:var(--surface-muted)}
.record-detail-grid dt{color:#69796d;font-size:.78rem;line-height:1.35}
.record-detail-grid dd{margin:5px 0 0;color:#23392a;font-size:.9rem;font-weight:500;line-height:1.5;overflow-wrap:anywhere;white-space:pre-wrap}
.record-detail-related{display:grid;gap:7px}
.record-detail-related>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--surface-divider);border-radius:var(--surface-radius);background:var(--surface-muted)}
.record-detail-related span{min-width:0;overflow-wrap:anywhere}
.record-detail-dialog .modal-actions{flex-wrap:wrap;padding-top:5px}
.record-detail-action{white-space:nowrap}
.record-list-actions{flex-wrap:wrap}
/* Account list filters share the heading row with the result count. */
.user-management-panel .user-panel-title{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;padding-bottom:18px;border-bottom:1px solid var(--surface-divider)}
.user-panel-title h2{flex:none;white-space:nowrap}
.user-management-panel .user-toolbar{display:flex;align-items:center;justify-content:flex-end;flex:1 1 520px;min-width:0;gap:10px;margin:0;padding:0;border:0}
.user-management-panel .user-toolbar .search{flex:0 1 var(--list-search-width);min-width:190px;margin:0}
.user-management-panel .user-toolbar select{flex:0 1 210px;width:210px;min-width:140px;min-height:var(--list-search-height);background:var(--surface-muted);border-color:var(--surface-border);border-radius:var(--surface-radius)}
.user-panel-title .user-count{flex:none;margin:0;white-space:nowrap}
@media(max-width:760px){
  .user-management-panel .user-panel-title{align-items:flex-start;gap:10px;padding-bottom:14px}
  .user-panel-title .user-count{margin-left:auto}
  .user-management-panel .user-toolbar{order:3;flex-basis:100%;flex-wrap:wrap;justify-content:stretch}
  .user-management-panel .user-toolbar .search{flex:1 1 100%;min-width:0}
  .user-management-panel .user-toolbar select{flex:1 1 100%;width:100%}
}
.event-row .record-detail-action,.user-row .record-detail-action,.registration-row .record-detail-action{padding:5px 7px}
.user-management-panel .user-row{min-height:46px;padding:5px 17px;gap:8px}
.user-management-panel .user-details{gap:10px}
.user-management-panel .user-controls{gap:0}
.user-management-panel .user-controls button{padding:5px 7px}
@media(max-width:760px){.user-management-panel .user-row{grid-template-columns:1fr;min-height:0;padding:9px 14px;gap:5px}.user-management-panel .user-details{flex-wrap:wrap;gap:4px 9px}.user-management-panel .user-meta{flex-basis:100%;min-width:0}.user-management-panel .user-controls{justify-content:flex-start;flex-wrap:wrap}}
@media(max-width:760px){
  #modal.record-detail-dialog{width:calc(100% - 20px);max-height:94vh}
  .record-detail-dialog .modal-head{padding:17px 16px 13px}
  .record-detail-dialog .dialog-body{padding:14px 16px 18px}
  .record-detail-grid{grid-template-columns:1fr}
  .record-detail-related>div{align-items:flex-start;flex-direction:column;gap:5px}
}

/* 全站文字与间距：模块标题、内容标题、正文、辅助信息四个层级。 */
:root{
  --content-title-size:.9rem;
  --module-title-size:1.12rem;
  --content-body-size:.875rem;
  --content-meta-size:.78rem;
  --content-line-height:1.5;
  --content-space:16px;
  --content-inset:22px;
  --control-gap:12px;
  --table-head-font-size:var(--content-title-size);
  --table-cell-font-size:var(--content-body-size);
  --table-meta-font-size:var(--content-meta-size);
  --list-text-size:var(--content-body-size);
  --list-detail-size:var(--content-meta-size);
  --list-search-font-size:var(--content-body-size);
  --list-search-placeholder-size:var(--content-body-size);
}
:is(#app,#modal){font-size:var(--content-body-size);line-height:var(--content-line-height)}
:is(#app,#modal) :is(.panel-title h2,.fleet-panel-heading h2,.modal-head h2){font-size:var(--module-title-size);font-weight:700;line-height:1.4;letter-spacing:0}
#app #fleetPanel .fleet-panel-heading h2{font-size:var(--module-title-size)}
:is(#app,#modal) :is(.panel h3,.dialog-body h3,form h3,.stat .caption){font-size:var(--content-title-size);font-weight:700;line-height:1.4}
:is(#app,#modal) :is(label,.picker-label,.note,.notice,.list-row,.record-detail-grid dd,.record-detail-related,.heading p){font-size:var(--content-body-size);line-height:var(--content-line-height)}
:is(#app,#modal) :is(.record-detail-grid dd,.list-row p){font-weight:400}
:is(#app,#modal) :is(input,select,textarea,.primary,.secondary,.text-btn,.segments button,.actions button,.brand-trigger,.brand-option){font-size:var(--content-body-size);line-height:var(--content-line-height)}
:is(#app,#modal) :is(.list-row small,.record-detail-grid dt,.panel-title .muted,.panel-title .note,.stat small,.footnote){font-size:var(--content-meta-size);line-height:1.4}
:is(#app,#modal) .list-row strong{font-size:var(--content-title-size)}
:is(#app,#modal) .panel-title{padding:var(--content-space) var(--content-inset);gap:var(--content-space);flex-wrap:wrap}
:is(#app,#modal) .toolbar{gap:var(--control-gap)}
:is(#app,#modal) .list-row{padding:var(--content-space) var(--content-inset);gap:var(--content-space)}
:is(#app,#modal) :is(.form-grid,.record-detail-body){gap:var(--content-space)}
:is(#app,#modal) .record-detail-grid{gap:var(--control-gap)}
:is(#app,#modal) .record-detail-grid>div{padding:12px 14px}
:is(#app,#modal) .record-detail-section-heading{gap:8px 12px;margin-bottom:12px}
:is(#app,#modal) .record-detail-car-link{font-size:var(--content-meta-size)}
:is(#app,#modal) .modal-head{padding:var(--content-space) var(--content-inset);gap:var(--content-space)}
:is(#app,#modal) .modal-actions{gap:var(--control-gap)}
:is(#app,#modal) :is(h3,h4){font-size:var(--content-title-size);line-height:1.4}
:is(#app,#modal) dl dt{font-size:var(--content-meta-size);line-height:1.4}
:is(#app,#modal) dl dd{font-size:var(--content-body-size);font-weight:400;line-height:var(--content-line-height)}
@media(max-width:760px){:root{--content-inset:16px;--content-space:12px;--control-gap:10px}}

/* Shared responsive list rules: fluid cells on wide screens, labelled cards when a list narrows. */
#app .table-wrap,#modal .table-wrap{container-type:inline-size;max-width:100%;overflow-x:auto}
#app .table-wrap table,#modal .table-wrap table{width:100%;table-layout:auto;white-space:normal}
#app .table-wrap col,#modal .table-wrap col{width:auto}
#app .table-wrap th,#app .table-wrap td,#modal .table-wrap th,#modal .table-wrap td{width:auto}
#app .table-wrap th,#app .table-wrap td,#modal .table-wrap th,#modal .table-wrap td{min-width:0;white-space:normal;overflow-wrap:anywhere;word-break:normal;vertical-align:top}
:is(#app,#modal) .table-wrap thead th{font-size:var(--table-head-font-size);font-weight:700;line-height:1.4;letter-spacing:.01em}
:is(#app,#modal) .table-wrap tbody td{font-size:var(--table-cell-font-size);line-height:1.48}
:is(#app,#modal) .table-wrap tbody td strong{font-size:var(--table-emphasis-font-size);line-height:1.4}
:is(#app,#modal) .table-wrap tbody td small{font-size:var(--table-meta-font-size);line-height:1.4}
:is(#app,#modal) .table-wrap tbody td:first-child{font-weight:600}
:is(#app,#modal) .table-wrap tbody td:first-child :is(strong,b){font-weight:600}
:is(#app,#modal) .table-wrap tbody td:first-child :is(small,.vin,button){font-weight:400}
:is(#app,#modal) .table-wrap tbody td:not(:first-child),:is(#app,#modal) .table-wrap tbody td:not(:first-child) *{font-weight:400}
:is(#app,#modal) .table-wrap tbody td:not(:first-child) *{font-size:var(--table-cell-font-size)}
:is(#app,#modal) .table-wrap tbody td:not(:first-child) :is(small,.vin){font-size:var(--table-meta-font-size)}
:is(#app,#modal) .table-wrap .table-atom{white-space:nowrap;overflow-wrap:normal;word-break:normal}
:is(#app,#modal) .loan-records-table :is(th,td){vertical-align:middle}
:is(#app,#modal) .loan-records-table :is(th,td):is(:nth-child(3),:nth-child(4),:nth-child(5),:nth-child(6)){text-align:center}
:is(#app,#modal) .loan-records-table td:nth-child(5) small{text-align:left}
:is(#app,#modal) .loan-records-table td:last-child .actions{justify-content:center}
#app .table-wrap .vin,#modal .table-wrap .vin{overflow-wrap:anywhere;word-break:break-all}
#app .table-wrap td .actions,#modal .table-wrap td .actions{flex-wrap:wrap}
#app .panel .list-row,#modal .list-row{min-width:0;overflow-wrap:anywhere}
#app .panel .list-row>*,#modal .list-row>*{min-width:0}
@container (min-width:761px){
  :is(#app,#modal) .table-wrap thead th{background:var(--table-header-bg);color:var(--table-header-text);font-weight:700;border-bottom:1px solid var(--surface-border)}
  :is(#app,#modal) .table-wrap tbody tr:nth-child(even) td{background:var(--table-row-alt-bg)}
  :is(#app,#modal) .table-wrap tbody tr:hover td{background:#eaf3eb}
  :is(#app,#modal) .table-wrap :is(th,td){text-align:center;vertical-align:middle}
}
@container (max-width:760px){
  .table-wrap table,.table-wrap tbody{display:block;width:100%;min-width:0!important}
  .table-wrap colgroup{display:none}
  .table-wrap thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
  .table-wrap tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin:10px 12px;padding:14px 16px;border:1px solid var(--surface-divider);border-radius:var(--surface-radius);background:var(--surface-card)}
  :is(#app,#modal) .table-wrap tbody td,:is(#app,#modal) .table-wrap tbody td:first-child{display:block;grid-column:auto;width:auto!important;max-width:100%;min-width:0;padding:0;border:0;overflow-wrap:anywhere;white-space:normal}
  :is(#app,#modal) .table-wrap tbody td:first-child,:is(#app,#modal) .table-wrap tbody td[data-label="操作"]{grid-column:1/-1}
  :is(#app,#modal) .table-wrap tbody td::before{display:block;content:attr(data-label);margin:0 0 4px;color:#697b6e;font-size:var(--table-meta-font-size);font-weight:400;line-height:1.3}
  .table-wrap tbody td[data-label="操作"]::before{margin-bottom:3px}
  .table-wrap tbody td .actions{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:6px}
  .table-wrap tbody td .actions button{white-space:normal}
}
@container (max-width:520px){
  :is(#app,#modal) .table-wrap .vin.table-atom{white-space:normal;overflow-wrap:anywhere;word-break:break-all}
  .table-wrap tbody tr{grid-template-columns:minmax(0,1fr);gap:10px;margin:8px;padding:13px}
  :is(#app,#modal) .table-wrap tbody td,:is(#app,#modal) .table-wrap tbody td:first-child,:is(#app,#modal) .table-wrap tbody td[data-label="操作"]{grid-column:1}
}
@container (max-width:760px){
  :is(#app,#modal) .table-wrap table.compact-history-table{display:table;width:100%;table-layout:auto}
  :is(#app,#modal) .table-wrap table.compact-history-table thead{position:static;display:table-header-group;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip-path:none;white-space:normal}
  :is(#app,#modal) .table-wrap table.compact-history-table tbody{display:table-row-group;width:auto}
  :is(#app,#modal) .table-wrap table.compact-history-table tbody tr{display:table-row;margin:0;padding:0;border:0;border-radius:0;background:transparent}
  :is(#app,#modal) .table-wrap table.compact-history-table :is(th,td){display:table-cell;width:auto;max-width:none;min-width:0;padding:7px 6px;border:0;border-bottom:1px solid var(--surface-divider);text-align:center;vertical-align:middle;overflow-wrap:anywhere}
  :is(#app,#modal) .table-wrap table.compact-history-table tbody td:first-child,:is(#app,#modal) .table-wrap table.compact-history-table tbody td[data-label="操作"]{grid-column:auto}
  :is(#app,#modal) .table-wrap table.compact-history-table tbody td::before{display:none}
}
@container (max-width:760px){
  :is(#app,#modal) .table-wrap tbody td{text-align:center;vertical-align:middle}
}

/* Keep page panel heading dividers and controls aligned to the approval-history reference. */
#app .panel-title{min-height:80px}
#app .panel-title .segments button{font-size:var(--content-body-size)}
@media(max-width:760px){#app .panel-title{min-height:0}}
.approval-history-title-group{display:flex;align-items:center;gap:10px;min-width:0;max-width:100%;padding:0 9px;background:#eaf0eb;border-radius:6px}
.approval-history-title-group h2{flex:none;white-space:nowrap;padding:0 8px}
.approval-history-heading .approval-history-toolbar{flex:1 1 360px;min-width:240px;margin-left:auto}
@media(max-width:760px){.approval-history-title-group{flex-wrap:wrap}.approval-history-heading .approval-history-toolbar{flex-basis:100%;min-width:0;margin-left:0}.approval-history-heading .category-segments{grid-template-columns:repeat(3,minmax(0,1fr))}}
#app .nav button{min-height:46px;font-size:1rem;font-weight:500;letter-spacing:.01em;color:#4d5b50}
#app .nav button.active{font-weight:700;color:#fff}
#app .nav button .nav-count{font-size:.72rem;font-weight:700;letter-spacing:0}
.empty button.empty-icon{border:0;transition:transform .16s ease,background .16s ease}
.empty button.empty-icon:hover{transform:translateY(-2px);background:#e4f4e7}
@media(max-width:760px){#app .nav button{min-height:40px;font-size:.9rem}}
.test-application-overview .test-application-records{margin:0;padding-top:0;border-top:0}
.registration-queue-title{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:88px;padding:18px 24px}
.registration-heading{display:flex;align-items:center;flex-wrap:wrap;gap:10px 20px;min-width:0}
.registration-heading h2{margin:0;white-space:nowrap}
.registration-heading .note{margin:0}
.registration-queue-title #addUser{flex:none;white-space:nowrap}
@media(max-width:760px){.registration-queue-title{min-height:0;padding:16px 18px;flex-wrap:wrap}.registration-heading{width:100%}.registration-queue-title #addUser{margin-left:auto}}

.customer-project-title{gap:16px}
.customer-project-title h2{flex:none}
.customer-project-title>.customer-project-tools{display:flex;align-items:center;justify-content:flex-end;flex:1 1 560px;gap:12px;min-width:0;margin:0;padding:0;border:0}
.customer-project-tools .search{flex:1 1 240px;width:auto;max-width:var(--list-search-width);margin:0}
.customer-project-tools .note{flex:none;white-space:nowrap}
.customer-project-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:16px 22px;border-bottom:1px solid var(--surface-divider);background:transparent}
.customer-project-summary>.stat{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:68px;padding:12px 18px}
.customer-project-summary>.stat b{margin:0;font-size:1.75rem;line-height:1;white-space:nowrap}
.customer-project-summary>.stat b small{font-size:.8rem;letter-spacing:0}
.customer-project-table{min-width:650px}
.customer-project-table td small{max-width:360px;white-space:normal;overflow-wrap:anywhere}
.customer-project-note{padding:12px 22px 16px;border-top:1px solid var(--surface-divider);color:#66766a;font-size:.78rem;line-height:1.5}
@media(max-width:760px){.customer-project-title{align-items:stretch}.customer-project-title>.customer-project-tools{flex-basis:100%;justify-content:flex-start;flex-wrap:wrap}.customer-project-tools .search{flex:1 1 100%;max-width:none}.customer-project-tools .company-usage-windows{width:100%}.customer-project-summary{grid-template-columns:1fr;gap:8px;padding:12px 15px}.customer-project-summary>.stat{min-height:54px}.customer-project-table{min-width:0;width:100%}.customer-project-table tbody tr{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;text-align:left}.customer-project-table td:first-child,.customer-project-table td:nth-child(2){grid-column:1/-1}.customer-project-table td:last-child{grid-column:auto}.customer-project-table td:last-child:before{display:block}.customer-project-note{padding:12px 15px}}

/* 样车列表操作以清晰的按钮呈现，禁用状态保留文字可读性。 */
.vehicle-table .actions:has(>[data-borrow]){gap:7px}
.vehicle-table .actions :is(button[data-borrow],button[data-test-apply]){width:auto;height:auto;min-height:34px;padding:6px 10px;border:1px solid var(--surface-border);border-radius:var(--surface-radius);background:var(--surface-card);color:#24643c;font-weight:650;line-height:1.25;text-align:center;white-space:nowrap;box-shadow:0 1px 2px #1736220a;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease}
.vehicle-table .actions button[data-borrow]{border-color:#aed2b6;background:#eaf5ed}
.vehicle-table .actions :is(button[data-borrow],button[data-test-apply]):not(:disabled):hover{border-color:#68a779;background:#dff1e4;box-shadow:0 2px 7px #204b2c1c}
.vehicle-table .actions :is(button[data-borrow],button[data-test-apply]):disabled{opacity:1;border-color:var(--surface-border);background:var(--surface-muted);color:#97a49a;box-shadow:none;cursor:not-allowed}
.test-vehicle-meta:has(.test-vehicle-expiry-notice.soon){border-color:var(--attention-border);background:var(--attention-surface)}
.test-vehicle-expiry-notice.soon{color:var(--attention-text)}
@media(max-width:760px){.vehicle-table .actions:has(>[data-borrow]){gap:5px}.vehicle-table .actions :is(button[data-borrow],button[data-test-apply]){min-height:36px;padding:6px 8px}}

/* 有效期栏按内容占宽，把其余空间留给完整的试验车辆 VIN。 */
.test-vehicle-field{grid-template-columns:minmax(0,1fr) fit-content(330px)}
.test-vehicle-meta{width:max-content;max-width:330px}
@media(max-width:760px){.test-vehicle-field{grid-template-columns:minmax(0,1fr)}.test-vehicle-meta{width:100%;max-width:none}}

/* 头像选择与裁剪沿用全站卡片色、边框和圆角。 */
#modal.avatar-picker-dialog{width:min(720px,calc(100% - 24px));max-height:94vh;overflow-y:auto}
.avatar-picker-dialog .avatar-picker-body{gap:15px;padding:0 24px 22px}
.avatar-hero{display:flex;align-items:center;gap:18px;padding:17px 20px;border:1px solid var(--surface-border);border-radius:var(--surface-radius);background:var(--surface-muted)}
.avatar-hero img{flex:none;width:88px;height:88px;border:3px solid var(--surface-card);border-radius:50%;object-fit:cover;box-shadow:0 3px 14px #183b241c}
.avatar-hero strong{display:block;color:#244b31;font-size:1.03rem}
.avatar-hero p{margin-top:5px;color:#657769;line-height:1.5}
.avatar-section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#315540}
.avatar-section-title span{color:#768579;font-size:.8rem}
.avatar-picker-dialog .avatar-preset-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.avatar-picker-dialog .avatar-preset{min-height:86px;gap:5px;padding:9px 6px;border-radius:var(--surface-radius);background:var(--surface-card);font-size:.85rem}
.avatar-picker-dialog .avatar-preset img{width:62px;height:62px;border-radius:50%;object-fit:cover;box-shadow:0 2px 8px #17362217}
.avatar-picker-dialog .avatar-preset.selected{border-color:#4d9d68;background:#eaf5ed;box-shadow:0 0 0 2px #4d9d6833}
.avatar-upload-choice{display:flex;align-items:center;gap:12px;width:100%;padding:13px 15px;border:1px dashed #83b493;border-radius:var(--surface-radius);background:var(--surface-muted);color:#285d3b;text-align:left}
.avatar-upload-choice:hover,.avatar-upload-choice:focus-visible{background:#eaf5ed;border-color:#4b9d65}
.avatar-upload-choice>span:nth-child(2){flex:1;min-width:0}
.avatar-upload-choice strong,.avatar-upload-choice small{display:block}
.avatar-upload-choice small{margin-top:3px;color:#657769;line-height:1.4}
.avatar-upload-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;background:#dff0e4;font-size:1.5rem;font-weight:600}
.avatar-crop-stage{display:grid;justify-items:center;gap:10px;padding:14px;border:1px solid var(--surface-border);border-radius:var(--surface-radius);background:var(--surface-muted)}
.avatar-crop-stage[hidden]{display:none}
.avatar-crop-head{display:flex;justify-content:space-between;gap:12px;width:100%;color:#315540}
.avatar-crop-head span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#69776b;font-size:.8rem}
.avatar-crop-stage canvas{display:block;width:240px;max-width:100%;height:auto;border:3px solid var(--surface-card);border-radius:50%;box-shadow:0 3px 12px #183b241c;cursor:grab;touch-action:none}
.avatar-crop-stage canvas:active{cursor:grabbing}
.avatar-crop-stage label{display:flex;align-items:center;gap:12px;width:min(330px,100%);color:#315540;white-space:nowrap}
.avatar-crop-stage input[type=range]{flex:1;min-height:28px;padding:0;accent-color:#319153}
.avatar-crop-stage>small{color:#68786b;text-align:center}
.avatar-crop-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;color:#68786b}
.avatar-crop-foot .text-btn{white-space:nowrap}
.avatar-picker-dialog.avatar-cropping .avatar-section-title,.avatar-picker-dialog.avatar-cropping .avatar-preset-grid{display:none}
.avatar-picker-dialog #avatarPickerError:empty{display:none}
.avatar-picker-dialog .avatar-picker-actions{padding-top:14px;border-top:1px dashed var(--surface-divider)}
.avatar-picker-dialog .avatar-picker-actions>div{display:flex;gap:9px}
.avatar-picker-dialog .avatar-picker-actions .primary,.avatar-picker-dialog .avatar-picker-actions .secondary{border-radius:var(--surface-radius);padding:9px 16px}
@media(max-width:760px){.avatar-picker-dialog .avatar-picker-body{gap:12px;padding:0 16px 17px}.avatar-hero{gap:12px;padding:12px}.avatar-hero img{width:64px;height:64px}.avatar-picker-dialog .avatar-preset-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.avatar-picker-dialog .avatar-preset{min-height:65px;padding:7px 3px;font-size:.75rem}.avatar-picker-dialog .avatar-preset img{width:49px;height:49px}.avatar-upload-choice{padding:10px}.avatar-picker-dialog .avatar-picker-actions{flex-wrap:wrap}.avatar-picker-dialog .avatar-picker-actions>div{margin-left:auto}}

/* 车辆统计与同类申请状态卡片统一标题字号。 */
:root{--metric-card-title-size:1.0625rem;--metric-card-note-size:.8125rem}
#app .workspace>.stats:not(.equipment-stock-stats){grid-template-columns:repeat(8,minmax(0,1fr));gap:10px}
#app .workspace>.stats:not(.equipment-stock-stats) .stat{min-width:0;padding-inline:12px}
#app .workspace>.stats:not(.equipment-stock-stats) .stat small{overflow-wrap:anywhere}
#app .stats:not(.equipment-stock-stats) .stat .caption,
#app .borrow-stat-switches>button span{font-size:var(--metric-card-title-size);font-weight:700;line-height:1.35;white-space:normal}
#app .stats:not(.equipment-stock-stats) .stat small{font-size:var(--metric-card-note-size);line-height:1.35}
@media(min-width:761px) and (max-width:1450px){#app .workspace>.stats:not(.equipment-stock-stats){grid-template-columns:repeat(8,minmax(0,1fr))}#app .workspace>.stats:not(.equipment-stock-stats) .stat{padding-inline:8px}#app .workspace>.stats:not(.equipment-stock-stats) .stat .caption{font-size:.85rem}}
@media(max-width:760px){:root{--metric-card-title-size:.95rem}#app .stats:not(.equipment-stock-stats):not(.customer-project-summary){grid-template-columns:repeat(2,minmax(0,1fr))}#app .workspace>.stats:not(.equipment-stock-stats){grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 访问记录让姓名、IP 和操作完整单行，长终端信息承担换行。 */
#app .access-records-table{table-layout:fixed;min-width:1100px}
#app .access-records-table col.access-col-user{width:14%}
#app .access-records-table col.access-col-time{width:12%}
#app .access-records-table col.access-col-type{width:6%}
#app .access-records-table col.access-col-location{width:9%}
#app .access-records-table col.access-col-ip{width:14%}
#app .access-records-table col.access-col-device{width:30%}
#app .access-records-table col.access-col-action{width:15%}
#app .access-records-table th,#app .access-records-table td{padding:10px 8px}
#app .access-records-table tbody td{vertical-align:middle;line-height:1.45}
#app .access-records-table tbody td:first-child strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.45}
#app .access-records-table tbody td.access-ip{overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;word-break:normal;white-space:nowrap}
#app .access-records-table tbody td.access-user-agent{overflow-wrap:anywhere;word-break:break-word;line-height:1.45}
#app .access-records-table td:last-child .record-list-actions{display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;gap:5px;white-space:nowrap}
#app .access-records-table .record-list-actions button{flex:none;padding:5px;line-height:1.45}
@container (max-width:760px){#app .access-records-table{min-width:0!important}#app .access-records-table td:last-child .record-list-actions{justify-content:flex-start}}
#app .access-records-table thead th{position:relative}
#app .access-records-table .access-column-resizer{position:absolute;top:15%;right:0;width:12px;height:70%;padding:0;border:0;border-radius:4px;background:transparent;cursor:col-resize;touch-action:none}
#app .access-records-table .access-column-resizer::after{content:"";position:absolute;top:18%;bottom:18%;right:0;border-right:2px solid #bed1c2}
#app .access-records-table .access-column-resizer:hover::after,#app .access-records-table .access-column-resizer:focus-visible::after,#app .access-records-table th.resizing .access-column-resizer::after{border-color:var(--green,#27824a)}
#app .access-records-table .access-column-resizer:focus-visible{outline:2px solid var(--green,#27824a);outline-offset:0}
@media(max-width:760px){#app .access-records-table .access-column-resizer{display:none}}
@container (max-width:760px){#app .access-records-table .access-column-resizer{display:none}}
:is(#app,#modal) .table-wrap thead th{position:relative}
:is(#app,#modal) .table-column-resizer{position:absolute;top:15%;right:0;width:12px;height:70%;padding:0;border:0;border-radius:4px;background:transparent;cursor:col-resize;touch-action:none}
:is(#app,#modal) .table-column-resizer::after{content:"";position:absolute;top:18%;bottom:18%;right:0;border-right:2px solid #bed1c2}
:is(#app,#modal) .table-column-resizer:hover::after,:is(#app,#modal) .table-column-resizer:focus-visible::after,:is(#app,#modal) th.resizing .table-column-resizer::after{border-color:var(--green,#27824a)}
:is(#app,#modal) .table-column-resizer:focus-visible{outline:2px solid var(--green,#27824a);outline-offset:0}
:is(#app,#modal) .table-column-toolbar{display:flex;justify-content:flex-end;padding:4px 12px;border-bottom:1px solid var(--surface-divider);background:var(--surface-card)}
:is(#app,#modal) .table-column-toolbar[hidden]{display:none!important}
:is(#app,#modal) .table-column-reset{padding:3px 7px;color:var(--green,#27824a);font-size:var(--content-meta-size)}
@container (max-width:760px){:is(#app,#modal) .table-column-resizer{display:none}}
.corporate-version{font-size:.72rem;color:#c9d3ca;letter-spacing:.03em;white-space:nowrap;margin-left:16px}@media(max-width:760px){.corporate-version{font-size:.6rem;margin-left:-8px}}
.list-filter-heading{min-height:80px;display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;padding:14px 22px}
.list-filter-title-group{display:flex;align-items:center;gap:10px;min-width:0;padding:4px 8px 4px 13px;border-radius:6px;background:#eaf0eb}
.list-filter-title-group h2{flex:none;white-space:nowrap}
.list-filter-title-group .list-status-segments{display:flex;flex:none;max-width:100%;gap:2px;padding:0;background:transparent}
.list-filter-title-group .list-status-segments button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:7px 10px;border-radius:5px;color:#526257;font-size:var(--content-body-size);line-height:1.2;white-space:nowrap}
.list-filter-title-group .list-status-segments button b{display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 6px;border-radius:11px;background:#d9e4db;color:#3e6748;font-size:.72rem;font-weight:600}
.list-filter-title-group .list-status-segments button.active{background:#253029;color:#fff}
.list-filter-title-group .list-status-segments button.active b{background:#00ed16;color:#12361b}
.list-filter-title-group .list-status-segments button.needs-attention:not(.active){color:#88491e}
.list-filter-heading>.test-records-head-actions,.list-filter-heading>.auto-list-tools{display:flex;align-items:center;justify-content:flex-end;flex:1 1 560px;flex-wrap:wrap;gap:10px;min-width:0;margin:0;padding:0;border:0}
/* Keep the shared header controls inside very narrow phone viewports. */
@media(max-width:360px){.corporate-inner{gap:5px;padding-inline:8px}.corporate-logo{width:76px}.corporate-version{display:none}.corporate-actions{gap:4px}.module-switch{min-height:34px;padding:4px 5px;gap:3px;font-size:.62rem}.module-switch-symbol{font-size:.9rem}.module-switch span:last-child{max-width:68px}.account-trigger{min-height:34px;padding:2px}.account-picture{width:28px;height:28px}.account-trigger>span:last-child{display:none}.notification-trigger{width:34px;height:34px;padding:6px}}
.list-filter-heading .test-records-head-actions .search,.list-filter-heading .auto-list-tools .search{flex:1 1 var(--list-search-width);width:var(--list-search-width);min-width:190px;max-width:var(--list-search-width);margin:0;padding-left:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23718377' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:12px center;background-size:18px}
.list-filter-heading .test-records-head-actions .note,.list-filter-heading .auto-list-tools .note{flex:none;white-space:nowrap}
@media(max-width:1100px){.list-filter-heading{height:auto}.list-filter-heading>.test-records-head-actions,.list-filter-heading>.auto-list-tools{flex-basis:100%;justify-content:flex-start}.list-filter-heading .test-records-head-actions .search,.list-filter-heading .auto-list-tools .search{flex:1 1 var(--list-search-width)}}
@media(max-width:760px){.list-filter-heading{min-height:0;padding:16px 18px;align-items:flex-start;gap:12px}.list-filter-title-group{width:100%;flex-wrap:wrap;padding:8px 9px;gap:6px}.list-filter-title-group h2{width:100%}.list-filter-title-group .list-status-segments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;overflow:visible}.list-filter-title-group .list-status-segments button{justify-content:space-between;min-width:0;min-height:38px;padding:6px 8px;font-size:.78rem}.list-filter-heading>.test-records-head-actions,.list-filter-heading>.auto-list-tools{flex-basis:100%;justify-content:flex-start;gap:8px}.list-filter-heading .test-records-head-actions .search,.list-filter-heading .auto-list-tools .search{flex:0 0 auto;width:100%;max-width:none;min-width:0}.list-filter-heading .test-records-head-actions .primary{margin-left:auto}}
:is(.test-application-overview,.my-borrow-application-overview)>.list-filter-heading{min-height:80px;padding:14px 22px}
.test-my-applications>.list-filter-heading>.test-records-head-actions,.my-borrow-application-overview>.list-filter-heading>.auto-list-tools{flex:1 1 560px;justify-content:flex-end;gap:10px;min-width:0;margin:0;padding:0;border:0}
.test-my-applications>.list-filter-heading .test-records-head-actions .search,.my-borrow-application-overview>.list-filter-heading .auto-list-tools .search{flex:1 1 var(--list-search-width);width:var(--list-search-width);min-width:190px;max-width:var(--list-search-width);margin:0;padding-left:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23718377' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:12px center;background-size:18px}
@media(max-width:1100px){.test-my-applications>.list-filter-heading>.test-records-head-actions,.my-borrow-application-overview>.list-filter-heading>.auto-list-tools{flex-basis:100%;justify-content:flex-start}.test-my-applications>.list-filter-heading .test-records-head-actions .search,.my-borrow-application-overview>.list-filter-heading .auto-list-tools .search{flex:1 1 var(--list-search-width)}}
@media(max-width:760px){:is(.test-application-overview,.my-borrow-application-overview)>.list-filter-heading{min-height:0;padding:16px 18px}.test-my-applications>.list-filter-heading>.test-records-head-actions,.my-borrow-application-overview>.list-filter-heading>.auto-list-tools{flex:1 1 100%;justify-content:flex-start;gap:8px}.test-my-applications>.list-filter-heading .test-records-head-actions .search,.my-borrow-application-overview>.list-filter-heading .auto-list-tools .search{flex:0 0 auto;width:100%;max-width:none;min-width:0}.test-my-applications>.list-filter-heading .test-records-head-actions .primary{margin-left:auto}}
.list-search-control{box-sizing:border-box;display:flex;align-items:center;gap:10px;flex:0 1 var(--list-search-width);width:var(--list-search-width);max-width:100%;height:var(--list-search-height);min-height:var(--list-search-height);padding:0 12px;border:1px solid var(--list-search-border);border-radius:5px;background:var(--list-search-bg)}
.list-search-mark{position:relative;display:block;flex:none;width:15px;height:15px}
.list-search-mark::before{position:absolute;top:1px;left:1px;width:8px;height:8px;border:1.5px solid #718377;border-radius:50%;content:""}
.list-search-mark::after{position:absolute;top:10px;left:10px;width:5px;height:1.5px;border-radius:1.5px;background:#718377;transform:rotate(45deg);transform-origin:left center;content:""}
.list-search-control:focus-within{border-color:#78a984;box-shadow:0 0 0 2px #218a3c1c}
.list-search-control input.search{flex:1 1 auto!important;width:0!important;min-width:0!important;max-width:none!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
#fleetPanel .fleet-panel-tools .list-search-control{flex:1 1 220px;width:clamp(220px,27vw,440px);max-width:440px}
@media(max-width:1350px){#fleetPanel .fleet-panel-tools .list-search-control{flex:none;width:min(440px,55vw)}}
@media(max-width:760px){.list-filter-heading .list-search-control{flex:0 0 100%;width:100%;max-width:none}#fleetPanel .fleet-panel-tools .list-search-control{flex:1 1 100%;width:100%;max-width:none}}
.feedback-page{display:grid;gap:16px;margin-bottom:var(--surface-gap)}
#app .feedback-panel-title,#app .feedback-admin-toolbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--surface-divider)}
#app .feedback-panel-title p{margin:5px 0 0;color:var(--text-muted);font-size:var(--content-meta-size);line-height:1.5}
#app .feedback-admin-toolbar .note{display:block;margin-top:5px}
.feedback-form-content{display:grid;gap:10px;padding:24px}
.feedback-form-content .feedback-label{margin:0;color:var(--text-primary);font-size:15px;font-weight:700}
.feedback-picker-wrap{position:relative}
.feedback-form-content select,.feedback-form-content textarea{box-sizing:border-box;width:100%;border:1px solid var(--surface-border);border-radius:var(--surface-radius);background:var(--surface-muted);color:var(--text-primary);font:inherit}
.feedback-form-content select{height:42px;padding:0 40px 0 12px;appearance:none}
.feedback-picker-wrap>span{position:absolute;right:14px;top:50%;transform:translateY(-55%);color:var(--text-muted);pointer-events:none}
.feedback-form-content .feedback-content-label{margin-top:10px}
.feedback-form-content textarea{min-height:125px;padding:12px;resize:vertical;line-height:1.55}
.feedback-form-content textarea::placeholder{color:#8a9b8e}
.feedback-count{color:var(--text-muted);font-size:13px;text-align:right}
.feedback-form-content .feedback-submit{justify-self:end;width:auto;min-width:148px;min-height:42px;margin-top:8px;padding:9px 22px;border-radius:6px;font-size:15px;font-weight:700}
.feedback-privacy{margin:0;color:var(--text-muted);font-size:13px;text-align:center}
.feedback-admin-heading{margin:0;color:var(--text-primary);font-size:var(--module-title-size);font-weight:700}
.feedback-admin-heading span{margin-left:8px;color:var(--text-muted);font-size:14px;font-weight:400}
.feedback-record-list{padding:0 24px}
.feedback-record{padding:16px 0;border-top:1px solid var(--surface-divider)}
.feedback-record-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--green,#176b43);font-size:var(--content-body-size)}
.feedback-record-head time{color:var(--text-muted);font-size:var(--content-meta-size);font-weight:400}
.feedback-record-content{margin:8px 0 0;color:var(--text-primary);font-size:var(--content-body-size);line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.feedback-record-meta{margin:7px 0 0;color:var(--text-muted);font-size:var(--content-meta-size)}
.feedback-empty{margin:0}
@media(max-width:760px){.feedback-page{gap:12px}#app .feedback-panel-title,#app .feedback-admin-toolbar{align-items:flex-start;gap:12px}#app .feedback-panel-title p{font-size:13px}.feedback-form-content{padding:18px}.feedback-form-content textarea{min-height:125px}.feedback-record-list{padding:0 18px}.feedback-form-content .feedback-submit{min-width:132px;max-width:100%}}
.nav .icon-system .feedback-nav-mark{display:grid;place-items:center;width:100%;height:100%;border-radius:6px;background:#e9f3ec;color:#176b43;font-size:17px;font-weight:600;line-height:1}
.nav button.active .icon-system .feedback-nav-mark{background:#e9f3ec;color:#176b43}
.feedback-nav-count{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:auto;padding:0 5px;border-radius:999px;background:#d93025;color:#fff;font-size:11px;font-weight:700;line-height:18px}
.feedback-admin-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 24px 0}
.feedback-admin-toolbar .feedback-admin-heading{margin:0;padding:0}
.feedback-status{display:inline-block;padding:3px 9px;border-radius:999px;background:#fff3df;color:#8b5718;font-size:12px;font-weight:700}
.feedback-status.adopted{background:#e7f4eb;color:#176b43}
.feedback-status.rejected{background:#fbeceb;color:#a13f35}
.feedback-admin-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.feedback-admin-actions button{min-height:34px}
@media(max-width:760px){.feedback-admin-toolbar{padding:18px 18px 0}.feedback-admin-toolbar .feedback-admin-heading{font-size:15px}.feedback-admin-actions button{min-height:40px}}

/* Login screen follows the mini-program's clean green-and-white treatment. */
.auth{min-height:100vh;place-items:center;padding:32px 20px;background:#f5f7f6;position:relative}
.auth:before{display:none}
.auth-card{width:min(430px,100%);padding:24px 28px 28px;border:0;border-radius:0;background:#fff;box-shadow:none}
.auth-card .brand-logo{width:200px;max-width:100%;margin:22px 0 24px}
.auth-card h1{color:#17271f;font-size:1.65rem;line-height:1.3;font-weight:750;letter-spacing:0}
.auth-card p{margin:10px 0 22px;color:#75867b;font-size:.9rem;line-height:1.6}
.auth-top-actions{margin:0 0 16px;font-size:.85rem}
.auth-register-link,.auth-back-link{border-color:#d8e4da;border-radius:8px;background:#f5f9f6;color:#176b3a}
.auth-card form{gap:14px;margin-top:24px;padding:22px 20px 20px;border:1px solid #dce8de;border-radius:12px;background:#fff;box-shadow:0 4px 14px rgba(25,65,46,.04)}
.auth-card form>label{gap:8px;color:#34483a;font-size:.9rem;font-weight:650}
.auth-card form input:not([type=checkbox]){height:44px;padding:0 12px;border:1px solid #d8e4da;border-radius:8px;background:#f8faf8;color:#24372b;font-size:.95rem}
.auth-card form input:not([type=checkbox])::placeholder{color:#95a59a}
.auth-card form input:not([type=checkbox]):focus{border-color:#29994c;box-shadow:0 0 0 3px #219e3914}
.auth-card .remember-row{font-size:.85rem;font-weight:400}
.auth-card .module-login-actions{grid-template-columns:1fr;gap:10px}
.auth-card .module-login-actions .primary,.auth-card form>.primary{min-height:46px;margin-top:2px;padding:12px 16px;border-radius:8px;background:#00ed16;color:#10251a;box-shadow:0 4px 10px rgba(0,237,22,.10);font-size:.95rem;font-weight:750}
.auth-card .module-login-actions .primary:hover,.auth-card form>.primary:hover{background:#00d914}
.auth-card .footnote{margin:18px 0 0;padding-top:14px;border-top:1px solid #e9eee9;color:#819187;font-size:.8rem}
@media(max-width:760px){.auth{padding:18px 16px}.auth-card{padding:18px 20px 24px}.auth-card .brand-logo{width:180px;margin:18px 0 20px}.auth-card h1{font-size:1.45rem}.auth-card form{padding:18px 16px}.auth-top-actions{margin-bottom:12px}}
.auth-card .login-method-switch{display:flex;gap:6px;margin-top:24px;padding:5px;border:1px solid #dce7de;border-radius:11px;background:#f1f5f2}
.auth-card .auth-mode-title{margin-bottom:18px;padding-bottom:12px;border-bottom:1px solid #edf1ed;color:#173a28;font-size:1rem;font-weight:750}
.auth-card .login-method-tab{flex:1;min-width:0;min-height:40px;padding:7px 8px;border:1px solid transparent;border-radius:8px;background:transparent;color:#718278;font-size:.9rem;font-weight:650;white-space:nowrap}
.auth-card .login-method-tab.selected{border-color:#d4e4d7;background:#fff;color:#176b3a;box-shadow:0 2px 8px rgba(20,54,34,.07)}
.auth-card #authForm[hidden],.auth-card .wechat-login-panel[hidden]{display:none}
.auth-card .wechat-login-panel{min-height:310px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;margin-top:14px;padding:24px 18px;border:1px solid #dce8de;border-radius:12px;background:#fff;box-shadow:0 4px 14px rgba(25,65,46,.04);text-align:center}
.wechat-login-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#e8f4eb;color:#138044;font-size:20px;font-weight:750}
.wechat-login-panel>strong{color:#183b28;font-size:1rem;font-weight:750}
.wechat-login-panel>p{margin:0;color:#7b8b80;font-size:.85rem;line-height:1.55}
.wechat-login-panel .wechat-login-qr{display:block;width:180px;height:180px;object-fit:contain;padding:7px;border:1px solid #e4ece5;border-radius:8px;background:#fff}
.wechat-login-panel .wechat-login-state{max-width:100%;color:#587061;font-size:.82rem;line-height:1.5;overflow-wrap:anywhere}
.wechat-login-panel .wechat-login-error{color:#b2392c}
@media(max-width:760px){.auth-card .login-method-switch{margin-top:20px}.auth-card .login-method-tab{font-size:.84rem}.auth-card .wechat-login-panel{min-height:290px;padding:20px 14px}.wechat-login-panel .wechat-login-qr{width:168px;height:168px}}

/* 借用统计：当前借用与分析 */
.borrow-stats-main-nav{display:flex;gap:4px;width:max-content;max-width:100%;padding:5px;background:#e8f0ea;border:1px solid var(--surface-border);border-radius:10px}
.borrow-stats-main-nav button{padding:11px 22px;border-radius:7px;font-weight:700}
.borrow-analysis-intro{padding:5px 4px 0}.borrow-analysis-intro h2{margin:0;color:#183a27;font-size:1.25rem}.borrow-analysis-intro p{margin:5px 0 0;color:#65766a}
.company-model-summary{padding:0 24px 20px}.company-model-summary h3{margin:0 0 10px;font-size:1rem;color:#274834}.company-model-summary .table-wrap{border:1px solid var(--surface-border);border-radius:8px}
.customer-project-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.customer-project-table{min-width:820px}
@media(max-width:760px){.borrow-stats-main-nav{width:100%}.borrow-stats-main-nav button{flex:1;padding:10px 8px}.company-model-summary{padding:0 15px 15px}.customer-project-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-project-table{min-width:820px}}

/* 借用分析：车辆运营总览 */
.borrow-analysis-dashboard{display:grid;gap:18px;min-width:0}
.borrow-analysis-dashboard .panel{overflow:hidden}
.analysis-overview-title{align-items:flex-end;gap:20px}
.analysis-overview-title>div:first-child h2{font-size:1.4rem;letter-spacing:-.025em;color:#183a29}
.analysis-overview-title p,.analysis-chart-panel .panel-title p{margin:6px 0 0;color:#6a7b70;font-size:.84rem;line-height:1.5}
.analysis-filter-bar{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin:0;padding:0;border:0}
.analysis-filter-label{font-size:.83rem;font-weight:700;color:#4c6555;white-space:nowrap}
.analysis-periods{display:flex;gap:2px;padding:3px;border:1px solid var(--surface-border);border-radius:7px;background:var(--surface-muted)}
.analysis-periods button{min-width:57px;padding:8px 11px;border-radius:5px;font-size:.82rem;white-space:nowrap}
.analysis-filter-bar input.search{width:var(--list-search-width);max-width:100%;min-height:var(--list-search-height);margin:0;padding-left:38px;background-color:var(--list-search-bg);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23718377' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:12px center;background-size:18px}
.analysis-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;padding:0;border-top:1px solid var(--surface-divider)}
.analysis-kpis>.stat{display:flex;align-items:flex-start;flex-direction:column;gap:8px;min-width:0;min-height:108px;padding:20px 25px;border:0;border-right:1px solid var(--surface-divider);border-radius:0;background:transparent;box-shadow:none}
.analysis-kpis>.stat:last-child{border-right:0}
.analysis-kpis>.stat .caption{font-size:.83rem;font-weight:700;color:#536b5b}
.analysis-kpis>.stat b{font-size:2rem;line-height:1.1;letter-spacing:-.04em;color:#183c29}
.analysis-kpis>.stat b small{font-size:.85rem;letter-spacing:0;color:#698273}
.analysis-chart-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.18fr);gap:18px;align-items:start}
.analysis-chart-panel .panel-title{align-items:center;gap:12px}
.analysis-chart-panel .panel-title h2{font-size:1.1rem;color:#1e3a29}
.analysis-chart-body{display:grid;gap:0;padding:10px 24px 20px}
.analysis-chart-row{display:grid;grid-template-columns:minmax(105px,1fr) minmax(80px,1.6fr) 98px;align-items:center;gap:15px;min-height:70px;border-bottom:1px solid var(--surface-divider)}
.analysis-chart-row:last-child{border-bottom:0}
.analysis-chart-label{display:grid;min-width:0;gap:4px}.analysis-chart-label strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.91rem;color:#284834}.analysis-chart-label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;color:#7a887d}
.analysis-chart-track{display:flex;align-items:center;gap:2px;width:100%;height:12px;overflow:hidden;border-radius:4px;background:#edf1ed}
.analysis-chart-track span{display:block;height:100%;min-width:0;background:#168047;border-radius:3px}
.analysis-chart-track .analysis-loan-bar{background:#168047}.analysis-chart-track .analysis-test-bar{background:#89a99a}
.analysis-chart-value{font-size:.9rem;color:#1e4930;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.analysis-chart-value small{font-size:.72rem;color:#77887b;font-weight:500}
.analysis-project-values{display:grid;gap:3px}.analysis-project-values strong{font-size:.86rem}
.analysis-legend{display:flex;gap:14px;margin-left:auto;color:#63766a;font-size:.77rem}.analysis-legend span{display:flex;align-items:center;gap:6px}.analysis-legend i{display:inline-block;width:10px;height:10px;border-radius:2px}.analysis-legend-loan{background:#168047}.analysis-legend-test{background:#89a99a}
.analysis-method{margin:0 4px;color:#6b7a70;font-size:.77rem;line-height:1.55}
.borrow-analysis-dashboard :is(button,input):focus-visible{outline:2px solid #167a42;outline-offset:2px}
@media(max-width:1250px){.analysis-overview-title{align-items:flex-start;flex-direction:column}.analysis-filter-bar{justify-content:flex-start;width:100%}.analysis-chart-grid{grid-template-columns:1fr}}
@media(max-width:760px){.analysis-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-kpis>.stat{min-height:106px;padding:17px}.analysis-kpis>.stat:nth-child(2){border-right:0}.analysis-kpis>.stat:nth-child(-n+2){border-bottom:1px solid var(--surface-divider)}.analysis-kpis>.stat b{font-size:1.6rem}.analysis-filter-bar input.search{flex:1 1 100%;width:100%}.analysis-chart-body{padding:8px 15px 15px}.analysis-chart-row{grid-template-columns:minmax(90px,1fr) minmax(65px,1.2fr) 78px;gap:8px}.analysis-chart-panel .panel-title{flex-wrap:wrap}.analysis-legend{margin-left:0}}

/* 借用统计筛选沿用车辆台账的分段标签 */
#app .borrow-stats-main-nav{display:inline-flex;align-items:center;gap:2px;width:max-content;max-width:100%;margin:0;padding:5px;border:0;border-radius:8px;background:#eaf0eb;box-shadow:none}
#app .borrow-stats-main-nav button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 16px;border:0;border-radius:5px;background:transparent;color:#526459;font-size:var(--content-body-size);font-weight:500;line-height:1.25;white-space:nowrap;box-shadow:none}
#app .borrow-stats-main-nav button.active{background:#253029;color:#fff;font-weight:650;box-shadow:0 2px 7px #1222171a}
#app .borrow-stats-main-nav button:hover:not(.active){background:#dfe9e1;color:#21452b}
#app .analysis-periods{display:inline-flex;gap:2px;padding:4px;border:0;border-radius:7px;background:#eaf0eb}
#app .analysis-periods button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:6px 12px;border:0;border-radius:5px;background:transparent;color:#526459;font-size:.84rem;font-weight:500;box-shadow:none}
#app .analysis-periods button.active{background:#253029;color:#fff;font-weight:650;box-shadow:0 2px 7px #1222171a}
#app .analysis-periods button:hover:not(.active){background:#dfe9e1;color:#21452b}
@media(max-width:760px){#app .borrow-stats-main-nav{display:flex;width:100%}#app .borrow-stats-main-nav button{flex:1;min-width:0;padding-inline:8px}#app .analysis-periods{max-width:100%;flex-wrap:wrap}}
#app .borrow-stats-main-nav{gap:0;padding:5px 7px;border-radius:7px;background:#e9efea}
#app .borrow-stats-main-nav .borrow-stats-nav-title{display:flex;align-items:center;min-height:42px;padding:0 14px 0 10px;color:#193428;font-size:1.12rem;font-weight:760;white-space:nowrap}
#app .borrow-stats-main-nav button{min-height:42px;padding:8px 15px;border-radius:4px}
@media(max-width:760px){#app .borrow-stats-main-nav{flex-wrap:wrap}#app .borrow-stats-main-nav .borrow-stats-nav-title{flex:1 1 100%;min-height:34px;padding-left:8px}#app .borrow-stats-main-nav button{flex:1 1 50%}}
/* 与车辆台账表头同色、同字号和留白 */
#app .borrow-stats-main-nav{gap:2px;padding:5px 8px 5px 10px;border-radius:6px;background:#eaf0eb}
#app .borrow-stats-main-nav .borrow-stats-nav-title{min-height:48px;padding:0 13px 0 8px;color:#152d21;font-size:1.25rem;font-weight:750}
#app .borrow-stats-main-nav button{min-height:48px;padding:9px 16px;border-radius:4px;color:#687972;font-size:1.05rem;font-weight:500}
#app .borrow-stats-main-nav button.active{background:#253029;color:#fff}
#app .analysis-periods{background:#eaf0eb}
#app .analysis-periods button{color:#687972}
#app .analysis-periods button.active{background:#253029;color:#fff}
@media(max-width:760px){#app .borrow-stats-main-nav .borrow-stats-nav-title{min-height:38px;font-size:1.06rem}#app .borrow-stats-main-nav button{min-height:42px;padding:7px 8px;font-size:.88rem}}

/* 借用分析：用有明确单位的排行卡片替代等长轨道 */
#app .analysis-chart-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
#app .analysis-chart-panel .panel-title{padding-bottom:18px;border-bottom:1px solid var(--surface-divider)}
#app .analysis-chart-body{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:18px 22px 22px}
#app .analysis-metric-item{display:flex;flex-direction:column;gap:12px;min-width:0;min-height:132px;padding:17px 18px;border:1px solid var(--surface-border);border-radius:var(--surface-radius);background:var(--surface-muted)}
#app .analysis-metric-top{display:flex;align-items:center;gap:9px;min-width:0}
#app .analysis-metric-top strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#233e2c;font-size:.98rem}
#app .analysis-rank{flex:none;color:#7a9481;font-size:.75rem;font-weight:700;font-variant-numeric:tabular-nums}
#app .analysis-metric-number{margin-top:auto;color:#184d30;font-size:1.7rem;font-weight:750;line-height:1.1;font-variant-numeric:tabular-nums}
#app .analysis-metric-number small,#app .analysis-project-times strong small{font-size:.76rem;font-weight:500;color:#64796c}
#app .analysis-metric-item p{color:#718176;font-size:.78rem}
#app .analysis-project-item{gap:16px;min-height:156px}
#app .analysis-project-count{margin-left:auto;color:#718176;font-size:.75rem;white-space:nowrap}
#app .analysis-project-times{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:auto}
#app .analysis-project-times>div{display:grid;gap:5px;min-width:0}
#app .analysis-project-times>div+div{padding-left:12px;border-left:1px solid var(--surface-divider)}
#app .analysis-project-times span{color:#667b6d;font-size:.76rem}
#app .analysis-project-times strong{color:#1d613b;font-size:1.25rem;line-height:1.1;font-variant-numeric:tabular-nums;white-space:nowrap}
#app .analysis-project-times>div>small{color:#819086;font-size:.72rem}
#app .analysis-chart-body>.empty{grid-column:1/-1}
@media(max-width:1300px){#app .analysis-chart-body{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){#app .analysis-chart-body{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){#app .analysis-chart-body{grid-template-columns:1fr;padding:14px}#app .analysis-metric-item{min-height:112px}}

/* 指标均为并列数据，统一底色以免误认成选中状态 */
#app .analysis-kpis>.stat,#app .analysis-kpis>.analysis-kpi-lead{background:var(--surface-card);color:var(--text-primary)}
#app .analysis-kpis>.stat .caption{color:#536b5b}
#app .analysis-kpis>.stat b{color:#183c29}

/* 同类时长使用共同刻度的 SVG 横向对比图 */
#app .analysis-chart-body{display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding:12px 24px 20px}
#app .analysis-compare-row{display:grid;grid-template-columns:minmax(150px,1.1fr) minmax(140px,2.7fr) 112px;align-items:center;gap:18px;min-height:58px;border-bottom:1px solid var(--surface-divider)}
#app .analysis-compare-row:last-child{border-bottom:0}
#app .analysis-compare-name{display:flex;align-items:center;gap:10px;min-width:0}
#app .analysis-compare-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#294333;font-size:.92rem}
#app .analysis-compare-name small{margin-left:auto;color:#7c8d80;white-space:nowrap}
#app .analysis-compare-bar{display:block;width:100%;height:12px;overflow:visible}
#app .analysis-compare-bar .analysis-bar-base{fill:#e9efea}
#app .analysis-compare-bar.company .analysis-bar-value,#app .analysis-compare-bar.loan .analysis-bar-value{fill:#168047}
#app .analysis-compare-bar.test .analysis-bar-value{fill:#7b9d8a}
#app .analysis-compare-value,#app .analysis-project-bar-row strong{color:#1b5132;font-size:.94rem;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
#app .analysis-compare-value small,#app .analysis-project-bar-row strong small{color:#76877b;font-size:.74rem;font-weight:500}
#app .analysis-project-compare{display:grid;grid-template-columns:minmax(150px,1fr) repeat(2,minmax(210px,1.4fr));align-items:center;gap:24px;padding:17px 0;border-bottom:1px solid var(--surface-divider)}
#app .analysis-project-compare:last-child{border-bottom:0}
#app .analysis-project-heading{display:grid;gap:5px;min-width:0}
#app .analysis-project-heading strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#294333}
#app .analysis-project-heading small{color:#7b8b7e;font-size:.76rem}
#app .analysis-project-bar-row{display:grid;grid-template-columns:30px minmax(80px,1fr) 104px;align-items:center;gap:10px;min-width:0}
#app .analysis-project-bar-row>span{color:#61786a;font-size:.78rem}
@media(max-width:1100px){#app .analysis-project-compare{grid-template-columns:minmax(130px,1fr) minmax(0,2fr);gap:9px 18px}#app .analysis-project-heading{grid-row:span 2}}
@media(max-width:760px){#app .analysis-chart-body{padding:10px 15px 15px}#app .analysis-compare-row{grid-template-columns:minmax(90px,1fr) minmax(80px,1.4fr) 86px;gap:8px}#app .analysis-compare-name{gap:5px}#app .analysis-compare-name small{display:none}#app .analysis-project-compare{grid-template-columns:1fr;gap:9px}#app .analysis-project-heading{grid-row:auto}#app .analysis-project-bar-row{grid-template-columns:30px minmax(80px,1fr) 90px}}

/* 自定义统计日期 */
#app .analysis-date-range{display:flex;align-items:end;gap:8px;flex-wrap:wrap}
#app .analysis-date-range label{display:grid;gap:4px;color:#607567;font-size:.73rem;font-weight:600;white-space:nowrap}
#app .analysis-date-range input[type=date]{width:145px;min-height:36px;padding:5px 9px;border:1px solid var(--list-search-border);border-radius:5px;background:var(--list-search-bg);color:var(--text-primary);font-size:.84rem}
#app .analysis-date-range>span{align-self:end;padding-bottom:8px;color:#738779;font-size:.8rem}
@media(max-width:760px){#app .analysis-date-range{width:100%}#app .analysis-date-range label{flex:1 1 120px}#app .analysis-date-range input[type=date]{width:100%}}

/* 分析图表的车型与项目多选 */
#app .analysis-select-list{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:13px 24px;border-bottom:1px solid var(--surface-divider)}
#app .analysis-select-list button{min-height:32px;padding:5px 11px;border:1px solid var(--surface-border);border-radius:5px;background:var(--surface-card);color:#67776b;font-size:.78rem;line-height:1.2}
#app .analysis-select-list button.is-active{border-color:#9ec5a8;background:#e8f3eb;color:#1d653b;font-weight:700}
#app .analysis-select-list button.analysis-select-all{margin-right:3px}
#app .analysis-select-list button.analysis-select-all.is-active{border-color:#253029;background:#253029;color:#fff}
#app .analysis-select-list button:hover{border-color:#4c9a61}
#app .analysis-select-list button:focus-visible{outline:2px solid #167a42;outline-offset:2px}
@media(max-width:760px){#app .analysis-select-list{padding:11px 15px}}

/* 自定义日期使用固定三列，起止输入框保持同一基线 */
#app .analysis-date-range{display:grid;grid-template-columns:180px 18px 180px;align-items:end;column-gap:9px;flex-wrap:nowrap;max-width:100%}
#app .analysis-date-range label{display:grid;grid-template-rows:18px 42px;gap:3px;min-width:0;margin:0;line-height:18px}
#app .analysis-date-range input[type=date]{box-sizing:border-box;display:block;width:100%;height:42px;min-height:42px;margin:0;padding:7px 10px;line-height:26px}
#app .analysis-date-range>span{display:grid;place-items:center;align-self:end;height:42px;padding:0;line-height:42px}
@media(max-width:760px){#app .analysis-date-range{grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);width:100%;column-gap:6px}#app .analysis-date-range label{min-width:0}}

/* 车型、项目下拉勾选 */
#app .analysis-chart-panel{overflow:visible}
#app .analysis-multi-wrap{position:relative;display:flex;justify-content:flex-end;padding:11px 24px;border-bottom:1px solid var(--surface-divider)}
#app .analysis-multi-trigger{display:flex;align-items:center;gap:10px;min-height:38px;padding:7px 12px;border:1px solid var(--surface-border);border-radius:6px;background:var(--surface-card);color:#294833;font-size:.84rem;font-weight:700}
#app .analysis-multi-trigger span{color:#6c8071;font-size:.76rem;font-weight:500}
#app .analysis-multi-trigger i{width:7px;height:7px;margin:0 3px 3px 1px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
#app .analysis-multi-trigger[aria-expanded=true]{border-color:#5b9970;box-shadow:0 0 0 3px #4a996018}
#app .analysis-multi-menu{position:absolute;top:calc(100% - 2px);right:24px;z-index:20;width:min(300px,calc(100vw - 40px));padding:5px;border:1px solid #cbd9cf;border-radius:8px;background:var(--surface-card);box-shadow:0 14px 30px #173b2426}
#app .analysis-multi-menu-head{display:flex;align-items:center;justify-content:space-between;padding:9px 11px;border-bottom:1px solid var(--surface-divider);color:#294833;font-size:.82rem}
#app .analysis-multi-menu-head button{padding:4px 8px;border-radius:4px;color:#247444;font-size:.78rem}
#app .analysis-multi-menu-head button:hover{background:#eaf2eb}
#app .analysis-multi-options{display:grid;gap:2px;max-height:250px;overflow-y:auto;padding:5px}
#app .analysis-multi-options label{display:flex;align-items:center;gap:10px;min-height:36px;padding:6px 8px;border-radius:5px;color:#2f4c39;font-size:.84rem;cursor:pointer}
#app .analysis-multi-options label:hover{background:#eef5ef}
#app .analysis-multi-options input[type=checkbox]{flex:none;width:17px;height:17px;min-width:17px;margin:0;padding:0;accent-color:#178048}
#app .analysis-multi-options label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:760px){#app .analysis-multi-wrap{padding:10px 15px}#app .analysis-multi-menu{right:15px}}

/* 自定义周期弹窗，日期输入不占用顶部筛选栏 */
#app .analysis-date-dialog{box-sizing:border-box;width:min(500px,calc(100vw - 32px));max-height:calc(100vh - 32px);margin:auto;padding:24px;border:1px solid var(--surface-border);border-radius:12px;background:var(--surface-card);color:var(--text-primary);box-shadow:0 24px 70px #152a1b35}
#app .analysis-date-dialog::backdrop{background:#14261b88}
#app .analysis-date-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
#app .analysis-date-dialog-head h2{font-size:1.18rem;color:#203b2a}
#app .analysis-date-dialog-head button{width:30px;height:30px;border-radius:5px;color:#75867b;font-size:1.45rem;line-height:1}
#app .analysis-date-dialog>p{margin:9px 0 22px;color:#718074;font-size:.85rem}
#app .analysis-date-dialog .analysis-date-range{grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);width:100%}
#app .analysis-date-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:26px}
#app .analysis-date-dialog-actions button{min-height:40px;padding:8px 17px;border-radius:6px}
@media(max-width:560px){#app .analysis-date-dialog{padding:19px}#app .analysis-date-dialog .analysis-date-range{column-gap:5px}#app .analysis-date-dialog .analysis-date-range input[type=date]{padding-inline:5px;font-size:.76rem}}

/* 图表标题与筛选同一行 */
#app .analysis-chart-panel .panel-title{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 20px}
#app .analysis-chart-panel .panel-title>div:first-child{min-width:0}
#app .analysis-chart-panel .panel-title .analysis-multi-wrap{flex:none;margin-left:auto;padding:0;border:0}
#app .analysis-chart-panel .panel-title .analysis-multi-menu{top:calc(100% + 6px);right:0}
@media(max-width:760px){#app .analysis-chart-panel .panel-title .analysis-multi-wrap{margin-left:0}#app .analysis-chart-panel .panel-title .analysis-multi-menu{right:auto;left:0}}

/* 应用自定义周期后，在分析标题下持续显示实际日期 */
#app .analysis-overview-title .analysis-active-range{display:flex;align-items:center;flex-wrap:wrap;gap:7px;width:max-content;max-width:100%;margin-top:11px;padding:6px 10px;border:1px solid #d3e2d6;border-radius:5px;background:#f1f7f2;color:#607667;font-size:.78rem;line-height:1.35}
#app .analysis-active-range strong{color:#235e39;font-size:.83rem;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
#app .analysis-active-range span{color:#7e9283}

/* 自定义日期紧随周期按钮显示；分析页仅保留周期筛选 */
#app .analysis-period-group{display:flex;align-items:center;gap:10px;min-width:0;max-width:100%}
#app .analysis-period-group .analysis-periods{flex:none}
#app .analysis-period-group .analysis-active-range{display:inline-flex;align-items:center;flex:none;gap:6px;min-height:34px;margin:0;padding:5px 9px;border:1px solid #d3e2d6;border-radius:5px;background:#f1f7f2;color:#607667;font-size:.78rem;line-height:1.25;white-space:nowrap}
@media(max-width:760px){#app .analysis-period-group{width:100%;overflow-x:auto;padding-bottom:2px}#app .analysis-period-group .analysis-periods{flex-wrap:nowrap}}

/* 小时指标下方展示等价车天 */

/* 借用统计标题保持静态文本样式，与右侧两个筛选按钮明确区分 */
#app .borrow-stats-main-nav{gap:3px;padding:5px 7px;background:var(--surface-muted)}
#app .borrow-stats-main-nav .borrow-stats-nav-title{min-height:44px;margin-right:5px;padding:0 16px 0 10px;border-right:1px solid var(--surface-border);color:var(--text-primary);font-size:1.08rem;font-weight:760}
#app .borrow-stats-main-nav button{min-height:44px;padding:8px 15px;font-size:.93rem}
@media(max-width:760px){#app .borrow-stats-main-nav{width:100%;flex-wrap:wrap}#app .borrow-stats-main-nav .borrow-stats-nav-title{flex:1 1 100%;min-height:34px;margin:0;padding:0 8px;border-right:0}#app .borrow-stats-main-nav button{flex:1 1 0}}

/* 与“我的试验申请”共用标题加分段筛选的尺寸与徽标 */
#app .borrow-stats-main-nav.list-filter-title-group{display:flex;align-items:center;gap:10px;width:max-content;max-width:100%;margin:0;padding:4px 8px 4px 13px;border:0;border-radius:6px;background:#eaf0eb;box-shadow:none}
#app .borrow-stats-main-nav .borrow-stats-nav-title{flex:none;min-height:0;margin:0;padding:0;border:0;color:var(--text-primary);font-size:1.12rem;font-weight:760;line-height:1.3;white-space:nowrap}
#app .borrow-stats-main-nav .list-status-segments{display:flex;flex:none;gap:2px;padding:0;background:transparent}
#app .borrow-stats-main-nav .list-status-segments button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:7px 10px;border-radius:5px;color:#526257;font-size:var(--content-body-size);font-weight:500;line-height:1.2;white-space:nowrap}
#app .borrow-stats-main-nav .list-status-segments button.active{background:#253029;color:#fff;font-weight:500}
#app .borrow-stats-main-nav .list-status-segments button b{display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 6px;border-radius:11px;background:#d9e4db;color:#3e6748;font-size:.72rem;font-weight:600}
#app .borrow-stats-main-nav .list-status-segments button.active b{background:#00ed16;color:#12361b}
@media(max-width:760px){#app .borrow-stats-main-nav.list-filter-title-group{width:100%;flex-wrap:wrap;padding:8px 9px;gap:6px}#app .borrow-stats-main-nav .borrow-stats-nav-title{width:100%}#app .borrow-stats-main-nav .list-status-segments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;overflow:visible}#app .borrow-stats-main-nav .list-status-segments button{justify-content:space-between;min-width:0;min-height:38px;padding:6px 8px;font-size:.78rem}}

/* 借用分析：宽屏并排比较，零值不绘制无意义的空轨道 */
#app .analysis-chart-body{padding:8px 20px 14px}
#app .analysis-compare-row{grid-template-columns:minmax(110px,1fr) minmax(100px,2fr) 100px;gap:14px;min-height:52px}
#app .analysis-compare-bar{height:9px}
#app .analysis-no-activity{display:block;color:#a1afa5;font-size:.85rem;text-align:center}
#app .analysis-project-compare{gap:14px;padding:13px 0}
#app .analysis-project-bar-row{grid-template-columns:28px minmax(60px,1fr) 88px;gap:7px}
@media(min-width:1600px){#app .analysis-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}#app .analysis-chart-panel{display:flex;flex-direction:column}#app .analysis-chart-panel .analysis-chart-body{flex:1;align-content:start}}
@media(max-width:760px){#app .analysis-chart-body{padding:8px 14px 12px}#app .analysis-compare-row{grid-template-columns:minmax(72px,1fr) minmax(45px,1.1fr) 84px;gap:8px;min-height:48px}#app .analysis-project-compare{padding:12px 0}#app .analysis-project-bar-row{grid-template-columns:30px minmax(60px,1fr) 80px}}

/* 总览指标单位紧跟数字，不再落到下一行 */
#app .analysis-kpis>.stat b{display:inline-flex;align-items:baseline;gap:5px;margin:0;text-align:left;white-space:nowrap}
#app .analysis-kpis>.stat b small{display:inline;margin:0;overflow:visible;color:#698273;font-size:.85rem;font-weight:500;line-height:1;white-space:nowrap}

/* 借用统计切换栏与内容共用白色卡片，横幅间距对齐试验申请页 */
#app .borrow-stats-workspace .corporate-hero{margin-bottom:20px}
#app .borrow-stats-nav-heading{min-height:80px;padding:14px 22px;background:var(--surface-card)}
#app .analysis-overview>.analysis-overview-title{border-bottom:0}
#app .analysis-overview>.analysis-kpis{border-top:0}
@media(max-width:760px){#app .borrow-stats-workspace .corporate-hero{margin-bottom:12px}#app .borrow-stats-nav-heading{min-height:0;padding:16px 18px}}

/* 窄屏审批流使用同样的细线箭头，方向改为向下 */
@media(max-width:760px){.flow-connector::before{display:block;left:50%;right:auto;top:2px;bottom:6px;width:1.5px;height:auto;clip-path:none;transform:translateX(-50%)}.flow-connector::after{display:block;left:50%;right:auto;top:auto;bottom:6px;width:7px;height:7px;border:0;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateX(-50%) rotate(45deg)}}

/* Keep the message inbox reachable beside the account and module controls. */
@media(max-width:520px){
  .corporate-inner{gap:6px;padding-inline:10px}
  .corporate-logo{width:clamp(76px,22vw,98px);min-width:0}
  .corporate-spacer{display:none}
  .corporate-actions{margin-inline-start:auto}
}
@media(max-width:760px){
  #app .workspace>.stats:not(.equipment-stock-stats) .stat{align-content:start;row-gap:4px}
  #app .workspace>.stats:not(.equipment-stock-stats) .stat small{grid-column:1 / -1;white-space:normal;overflow:visible}
  #app .workspace>.stats:not(.equipment-stock-stats) .stat b{grid-row:1}
}
@media(min-width:761px){
  #app .borrow-stats-workspace .corporate-hero{height:clamp(120px,10vw,152px);min-height:0;aspect-ratio:auto;margin-bottom:16px}
}
