
:root{--blue:#245bdb;--ink:#172943;--muted:#63738a;--line:#e1e7f0;--bg:#f5f7fb}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 system-ui,'Microsoft YaHei',sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,.btn{cursor:pointer;border:1px solid var(--line);background:white;border-radius:8px;padding:9px 15px;color:var(--ink)}button:hover,.btn:hover{border-color:var(--blue);color:var(--blue)}.primary{background:var(--blue);color:white;border-color:var(--blue)}.primary:hover{color:white;background:#1849bd}input,select,textarea{border:1px solid #ccd6e4;border-radius:7px;padding:10px;max-width:100%;background:white}label{display:grid;gap:6px;font-size:14px;margin:14px 0}header{height:64px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;gap:15px}.brand{font-size:21px;letter-spacing:2px;font-weight:650;color:var(--blue)}header nav{display:flex;gap:18px;font-size:14px}.shell{display:grid;grid-template-columns:216px 1fr;min-height:calc(100vh - 64px)}aside{background:white;padding:24px 16px;border-right:1px solid var(--line)}aside a{display:block;padding:9px 12px;border-radius:6px;font-size:14px}aside a.active{background:#eaf0ff;color:var(--blue);font-weight:600}.group{font-size:12px;color:var(--muted);margin:18px 12px 5px}main{padding:28px 36px;min-width:0;max-width:1600px;width:100%}.public{max-width:1080px;margin:auto}.title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}h1{font-size:26px;line-height:1.3;margin:0 0 8px}h2{font-size:19px;margin:0 0 14px}h3{font-size:16px;margin:0 0 8px}p{margin:8px 0;color:var(--muted)}.panel{background:white;border:1px solid var(--line);border-radius:10px;padding:22px;margin-bottom:20px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.two{grid-template-columns:repeat(2,1fr)}.four{grid-template-columns:repeat(4,1fr)}.metric{font-size:30px;font-weight:620;letter-spacing:-1px;margin:8px 0}.minor{font-size:14px;color:var(--muted)}.badge{display:inline-block;font-size:13px;padding:3px 8px;border-radius:5px;background:#edf3fe;color:#285dc2}.warn{background:#fff4dd;color:#9d6500}.bad{background:#fff0ef;color:#b04036}.good{background:#eaf7ef;color:#247348}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.spread{justify-content:space-between}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:14px;white-space:nowrap}th{text-align:left;color:var(--muted);font-weight:500;background:#f8fafd}td,th{padding:13px 12px;border-bottom:1px solid var(--line)}td button{padding:5px 10px;font-size:13px}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}.hero{position:relative;overflow:hidden;background:linear-gradient(120deg,#eff7ff,#f7faff 65%,#fff2e3);padding:28px;border:1px solid #dce6f5;border-radius:14px;margin-bottom:20px}.hero:after{content:'AIRPORT';position:absolute;right:18px;bottom:-20px;font-size:86px;letter-spacing:10px;font-weight:800;opacity:.035;pointer-events:none}.hero h1{font-size:32px}.entry{display:block;position:relative;padding:24px;border-radius:12px;background:white;border:1px solid #dbe3ef;min-height:170px}.entry b{font-size:22px;display:block;margin:10px 0}.entry small{color:var(--muted)}.entry:nth-child(1){border-top:4px solid #407de8}.entry:nth-child(2){border-top:4px solid #efaa4e}.entry:nth-child(3){border-top:4px solid #58b4c2}.icon{font-size:26px;color:var(--blue)}.notice{padding:13px 16px;background:#edf3ff;border-radius:7px;font-size:14px;margin-bottom:18px}.error{color:#b04036;font-size:14px}.form{max-width:450px;margin:0 auto}.form button{width:100%}.verify{padding:15px;background:#fafbfc;border:1px solid var(--line);border-radius:7px;margin:14px 0}.verify label{display:flex;align-items:center;margin:0}.verify input{width:18px;height:18px}.progress{height:8px;border-radius:9px;background:#e8eef8;margin:16px 0;overflow:hidden}.progress i{display:block;height:100%;background:#4e83e8}.tabs{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}.tabs a{padding:8px 15px;background:white;border:1px solid var(--line);border-radius:7px}.tabs a.active{color:var(--blue);border-color:var(--blue)}.product-art{height:110px;background:#eef3fa;display:grid;place-items:center;font-size:38px;color:#7086a5;border-radius:8px;margin-bottom:15px}.empty{text-align:center;padding:35px;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:13px;padding:0;max-width:540px;width:calc(100% - 32px)}dialog::backdrop{background:#15243c66}.dialog-body{padding:25px}.dialog-foot{padding:16px 25px;background:#f8fafd;display:flex;justify-content:flex-end;gap:10px}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#182b48;color:white;padding:12px 20px;border-radius:9px;z-index:50;display:none}.mobile-menu{display:none}footer{font-size:13px;text-align:center;color:var(--muted);padding:18px}.link{color:var(--blue)}.audit{font-family:inherit;font-size:14px}.safety{border-left:3px solid #efa34a;padding-left:14px}.checklist{display:grid;gap:10px}.checklist label{display:flex;align-items:center;margin:0}.pill{border-radius:20px}.money{color:#245bdb}.split{display:grid;grid-template-columns:2fr 1fr;gap:20px}.tiny{font-size:12px}.image-preview{max-width:100%;max-height:120px;object-fit:contain}.loading{opacity:.4;pointer-events:none}details{margin:12px 0}summary{cursor:pointer} @media(max-width:700px){header{padding:0 16px;height:58px}header nav{gap:12px;font-size:13px}header nav .desktop{display:none}.mobile-menu{display:block;padding:5px 10px}.shell{display:block}aside{display:none}aside.open{display:block;position:absolute;top:58px;left:0;width:230px;z-index:20;box-shadow:5px 10px 20px #17294322}main{padding:20px 16px}.grid,.two,.four,.split{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(2,1fr)}.panel{padding:18px}.hero{padding:20px}.hero h1{font-size:25px}.home-entries{gap:10px}.entry{min-height:0;padding:14px 18px;display:grid;grid-template-columns:36px 1fr;align-items:center}.entry b{font-size:19px;margin:0}.entry small{grid-column:2}.entry .icon{grid-row:1/3}.title{align-items:flex-start;flex-wrap:wrap}h1{font-size:23px}.metric{font-size:26px}.home .grid.metrics{grid-template-columns:1fr 1fr}.home .hero p{font-size:14px}.home .hero{margin-bottom:14px}.home .panel{margin-bottom:12px}.toolbar input{width:100%}.tabs{gap:6px}.tabs a{padding:6px 10px;font-size:14px}table{font-size:14px}header .brand{font-size:18px}.public{padding-top:16px}}

/* Mobile refinement: same route architecture, denser working surfaces. */
.image-preview{display:block;width:100%;height:125px;object-fit:cover;border-radius:8px;margin-bottom:14px}
aside.open{max-height:calc(100vh - 58px);overflow:auto}
@media(max-width:700px){
header nav>a:first-child{display:none}header nav>a{min-height:42px;display:flex;align-items:center}button,.btn{min-height:42px}.mobile-menu{min-height:40px}
.home .hero{padding:18px 20px}.home .hero h1{font-size:23px}.home .hero p{font-size:13px}.home .entry{background:#edf4fc;border:0;border-left:3px solid #5083d7;padding:12px 16px}.home .entry:nth-child(2){background:#fff1e7;border-left-color:#d99b61}.home .entry:nth-child(3){background:#e9f4f2;border-left-color:#55a599}
.home .entry small{font-size:12px}.home>.notice{font-size:13px;margin-bottom:12px}.home>.panel{padding:12px 16px}.home>.row:last-child{font-size:13px}
body[data-role=client] .metrics{grid-template-columns:1fr 1fr}body[data-role=client] .metrics .metric{font-size:24px}body[data-role=client] .metrics .metric small{font-size:14px}body[data-role=client] .metrics .btn{padding:8px;font-size:14px}body[data-role=client] .grid.two{gap:0}
body[data-role=agent] .grid,body[data-role=hq] .grid{gap:10px}body[data-role=agent] .metrics,body[data-role=hq] .metrics{grid-template-columns:1fr 1fr}body[data-role=agent] .metrics .panel,body[data-role=hq] .metrics .panel{margin-bottom:5px;padding:14px}body[data-role=agent] .metrics h2,body[data-role=hq] .metrics h2{font-size:14px}body[data-role=agent] .metric,body[data-role=hq] .metric{font-size:25px;margin:4px 0}
.table-wrap{overflow:visible}table{white-space:normal}thead{display:none}tbody,tr,td{display:block}tr{padding:12px 0;border-bottom:1px solid var(--line)}td{padding:4px 0;border:0;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}td:before{content:attr(data-label);font-size:12px;color:var(--muted);min-width:70px}td:first-child{font-weight:550;padding-bottom:9px}td:first-child:before{display:none}td button{min-height:40px}tr[hidden]{display:none}
.form .row a{font-size:14px}.panel .panel{border:0;border-bottom:1px solid var(--line);border-radius:0;padding:12px 0;margin-bottom:5px}.title{margin-bottom:16px}.title .minor{font-size:12px}.title select{padding:6px;font-size:13px}.product-art{height:100px}dialog{max-height:90vh;overflow:auto}.dialog-body{padding:20px}.dialog-foot{padding:12px 20px}.hero:after{font-size:56px}
}

/* Necessary QA repairs; page and business entry count unchanged. */
#menuShade{display:none}.menu-top{display:none}#toast{max-width:calc(100vw - 32px);overflow-wrap:anywhere;text-align:center}
input,textarea{min-width:0}textarea{width:100%;min-height:96px}dialog input,dialog select{width:100%}dialog{overflow-wrap:anywhere}dialog .dialog-foot{position:sticky;bottom:0;z-index:1}dialog .row button{max-width:100%;white-space:normal}
@media(max-width:700px){
body.menu-open{overflow:hidden}aside.open{position:fixed;top:58px;bottom:0;max-height:calc(100dvh - 58px);width:min(290px,calc(100vw - 50px));z-index:31;overflow-y:auto;overscroll-behavior:contain}.menu-top{display:flex;margin-bottom:18px}.menu-top a{padding:0}.menu-top button{font-size:14px;padding:6px 12px}
#menuShade.open{display:block;position:fixed;inset:58px 0 0;background:#17294344;z-index:30}.title select{max-width:100%}.row>*{max-width:100%}.panel{overflow-wrap:anywhere}body[data-page=register] header nav>a[href="#/client/login"],body[data-page=login] header nav>a[href="#/client/login"]{display:none}
.form button{width:auto}.form>form>button{width:100%}.form details button{padding:8px 12px;margin:5px 4px 0 0}dialog{max-height:calc(100dvh - 32px)}.home{padding-bottom:8px}.home .hero p{margin-bottom:0}.home .hero h1{margin-bottom:5px}.home .entry{padding-top:10px;padding-bottom:10px}
}
/* Shared role/navigation fixes; visual candidates scoped to four representative pages. */
.filter-label{display:flex;align-items:center;gap:10px;margin:0}.filter-label select{font-size:14px}header nav{align-items:center}.customer-actions{position:relative;margin:0}.customer-actions summary{font-size:14px;list-style:none;border:1px solid var(--line);padding:6px 10px;border-radius:6px;background:var(--surface,white);white-space:nowrap}.action-popover{position:absolute;right:0;top:100%;min-width:148px;background:var(--surface,white);border:1px solid var(--line);border-radius:9px;box-shadow:0 8px 20px #0002;z-index:25;padding:5px;display:grid;gap:2px}.action-popover button{text-align:left;font-size:14px;padding:9px;border:0;border-radius:5px;color:var(--ink);background:transparent}.action-popover button:hover{background:var(--bg)}.table-wrap:has(.customer-actions){overflow:visible}.qa-controls{border-color:#7892ba}.desktop-filter{font-size:14px}
body[data-representative=true]{--surface:#fff;font-weight:400}body[data-representative=true] .panel{background:var(--surface)}body[data-representative=true] header{background:var(--surface)}body[data-representative=true] button,body[data-representative=true] .btn{color:var(--ink);background:var(--surface);border-color:var(--line)}body[data-representative=true] .primary{background:var(--blue);color:var(--on-accent);border-color:var(--blue)}body[data-representative=true] .minor,body[data-representative=true] p{color:var(--muted)}body[data-representative=true] aside{background:var(--surface)}body[data-representative=true] .title{margin-bottom:20px}body[data-representative=true] .badge{background:var(--tag-bg);color:var(--tag-ink)}body[data-representative=true] .warn{background:#fff1d6;color:#8c5700}body[data-representative=true] .bad{background:#ffe7e4;color:#a62e29}body[data-representative=true] th{background:var(--bg)}body[data-representative=true] .money{color:var(--blue)}body[data-representative=true] .progress{background:var(--line)}body[data-representative=true] .progress i{background:var(--blue)}
/* A: closest to charcoal/lime reference. Rounded working surfaces and one clear accent. */
body[data-representative=true][data-candidate=A]{--blue:#acfa64;--on-accent:#15230d;--ink:#f1f3ed;--muted:#b5bdb1;--line:#373d35;--surface:#222622;--bg:#131613;--tag-bg:#34492c;--tag-ink:#c6fca7;background:var(--bg);letter-spacing:-.2px}
body[data-representative=true][data-candidate=A] .brand{color:#c3ff98}body[data-representative=true][data-candidate=A] .panel{border-radius:24px;border-color:transparent;padding:24px}body[data-representative=true][data-candidate=A] .hero{background:#acfa64;color:#15230d;border:0;border-radius:28px;padding:28px}body[data-representative=true][data-candidate=A] .hero p,body[data-representative=true][data-candidate=A] .hero .minor{color:#3b532e}body[data-representative=true][data-candidate=A] .hero h1{font-size:34px;font-weight:550;letter-spacing:-1px}body[data-representative=true][data-candidate=A] .entry{background:#222622;border:0;border-radius:24px;padding:24px}body[data-representative=true][data-candidate=A] .entry:nth-child(2){background:#2c3527}body[data-representative=true][data-candidate=A] .entry:nth-child(3){background:#303337}body[data-representative=true][data-candidate=A] .entry b{font-weight:500}body[data-representative=true][data-candidate=A] .icon{color:#c3ff98}body[data-representative=true][data-candidate=A] .notice{background:#2d3926;color:#e1efd8;border-radius:16px}body[data-representative=true][data-candidate=A] .metric{font-size:36px;font-weight:500}body[data-representative=true][data-candidate=A] button,body[data-representative=true][data-candidate=A] .btn{border-radius:24px}body[data-representative=true][data-candidate=A] .link{color:#c3ff98}body[data-representative=true][data-candidate=A] aside a.active{background:#34492c;color:#c6fca7}body[data-representative=true][data-candidate=A] input,body[data-representative=true][data-candidate=A] select{background:#1a1e1a;color:#eef3eb;border-color:#465043}
/* B: white, flatter, denser; list-first and restrained lime used only for primary actions. */
body[data-representative=true][data-candidate=B]{--blue:#2c641d;--on-accent:#fff;--ink:#19221b;--muted:#58655b;--line:#dae2d8;--surface:#fff;--bg:#f3f5f1;--tag-bg:#edf3e7;--tag-ink:#375d28;background:var(--bg)}
body[data-representative=true][data-candidate=B] .panel{border-radius:8px;padding:18px;box-shadow:none}body[data-representative=true][data-candidate=B] .hero{background:transparent;border:0;border-bottom:1px solid #d3dccf;border-radius:0;padding:16px 0 20px}body[data-representative=true][data-candidate=B] .hero:after{display:none}body[data-representative=true][data-candidate=B] .hero h1{font-size:28px;font-weight:600}body[data-representative=true][data-candidate=B] .home-entries{gap:0;border:1px solid var(--line);border-radius:8px;background:white}body[data-representative=true][data-candidate=B] .entry{border:0;border-radius:0;border-right:1px solid var(--line);background:white;padding:20px;min-height:145px}body[data-representative=true][data-candidate=B] .entry:last-child{border-right:0}body[data-representative=true][data-candidate=B] .entry b{font-size:20px}body[data-representative=true][data-candidate=B] button,body[data-representative=true][data-candidate=B] .btn{border-radius:6px}body[data-representative=true][data-candidate=B] .metric{font-size:30px;font-weight:600}body[data-representative=true][data-candidate=B] h2{font-size:17px}body[data-representative=true][data-candidate=B] .notice{background:#edf2e9;border-radius:6px;color:#294621}body[data-representative=true][data-candidate=B] .grid.four{gap:0;border:1px solid var(--line);border-radius:8px;margin-bottom:20px;background:white}body[data-representative=true][data-candidate=B] .grid.four>.panel{border:0;border-radius:0;margin:0;border-right:1px solid var(--line)}body[data-representative=true][data-candidate=B] .grid.four>.panel:last-child{border:0}body[data-representative=true][data-candidate=B] th,body[data-representative=true][data-candidate=B] td{padding:10px 12px}body[data-representative=true][data-candidate=B] .group{margin-top:14px}
/* C: cobalt identity, asymmetric entry composition and type-led route graphic; quiet inner pages. */
body[data-representative=true][data-candidate=C]{--blue:#155ce4;--on-accent:#fff;--ink:#142443;--muted:#596b86;--line:#dce4f2;--surface:#fff;--bg:#f0f4fb;--tag-bg:#e9f0ff;--tag-ink:#2459b3;background:var(--bg)}
body[data-representative=true][data-candidate=C] .brand{font-weight:700;letter-spacing:3px}body[data-representative=true][data-candidate=C] .panel{border-radius:14px;padding:22px}body[data-representative=true][data-candidate=C] .hero{background:linear-gradient(120deg,#1253d4,#1767ec 72%,#178fb8);color:white;border:0;border-radius:22px;padding:30px}body[data-representative=true][data-candidate=C] .hero p,body[data-representative=true][data-candidate=C] .hero .minor{color:#e0eaff}body[data-representative=true][data-candidate=C] .hero:after{content:'AIR / WORLD';opacity:.08;font-size:70px;letter-spacing:2px;bottom:-8px}body[data-representative=true][data-candidate=C] .hero h1{font-size:36px;font-weight:600;max-width:460px}body[data-representative=true][data-candidate=C] .home-entries{grid-template-columns:1.3fr 1fr 1fr;gap:12px}body[data-representative=true][data-candidate=C] .entry{background:white;border:1px solid #d5e1f4;border-radius:18px;padding:24px;min-height:160px}body[data-representative=true][data-candidate=C] .entry:first-child{background:#102849;color:white;border:0}body[data-representative=true][data-candidate=C] .entry:first-child small{color:#c2d6f8}body[data-representative=true][data-candidate=C] .entry:first-child .icon{color:#7fd8f6}body[data-representative=true][data-candidate=C] .entry b{font-size:22px;font-weight:550}body[data-representative=true][data-candidate=C] .metric{font-size:34px;letter-spacing:-1px}body[data-representative=true][data-candidate=C] button,body[data-representative=true][data-candidate=C] .btn{border-radius:12px}body[data-representative=true][data-candidate=C] .notice{border-left:3px solid #2469e5;background:#e7eefb;border-radius:0 10px 10px 0}body[data-representative=true][data-candidate=C] .grid.four>.panel:first-child{border-top:3px solid #2365dc}body[data-representative=true][data-candidate=C] .grid.four>.panel:nth-child(2){border-top:3px solid #53a0b9}body[data-representative=true][data-candidate=C] .shell>main{padding-top:32px}
@media(max-width:700px){
header nav{gap:10px}header nav .back-home{display:none}header nav>a[href="#/agent"],header nav>a[href="#/hq"]{font-size:13px}header nav>a{min-height:42px}.filter-label{font-size:14px}.filter-label select{padding:8px}.customer-actions summary{min-height:40px;display:flex;align-items:center;justify-content:center}.action-popover button{min-height:42px}.action-popover{right:0}.table-wrap:has(.customer-actions){overflow:visible}
body[data-role=hq][data-page=customers] tr{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:4px 10px;padding:14px 0}body[data-role=hq][data-page=customers] td:first-child{grid-column:1/-1;padding-right:73px;display:block;line-height:1.9}body[data-role=hq][data-page=customers] td:first-child .badge{margin-left:4px;padding:1px 5px;font-size:12px}body[data-role=hq][data-page=customers] td{padding:0;font-size:14px;display:block}body[data-role=hq][data-page=customers] td:before{margin-right:6px;min-width:0}body[data-role=hq][data-page=customers] td:last-child{position:absolute;right:0;top:14px}body[data-role=hq][data-page=customers] td:last-child:before{display:none}body[data-role=hq][data-page=customers] .panel{border:0;border-radius:0;padding:12px;background:var(--surface,white)}
body[data-representative=true] main{padding:18px 16px}body[data-representative=true] .title{margin-bottom:16px}body[data-representative=true] .title h1{font-size:25px}body[data-representative=true] .home>.hero{margin-top:0!important}body[data-representative=true] .home .entry{min-height:0}body[data-representative=true] .home-entries{grid-template-columns:1fr}
body[data-representative=true][data-candidate=A] .hero{padding:22px;border-radius:24px}body[data-representative=true][data-candidate=A] .hero h1{font-size:27px;max-width:300px}body[data-representative=true][data-candidate=A] .entry{border-left:0;border-radius:20px;padding:14px 18px;background:#222622}body[data-representative=true][data-candidate=A] .entry:nth-child(2){background:#2c3527}body[data-representative=true][data-candidate=A] .entry:nth-child(3){background:#303337}body[data-representative=true][data-candidate=A] .panel{padding:20px;border-radius:20px}body[data-representative=true][data-candidate=A] .home>.panel{padding:14px 18px}body[data-representative=true][data-candidate=A] .home .entry b{font-size:20px}body[data-representative=true][data-candidate=A] .metrics .metric{font-size:28px!important}
body[data-representative=true][data-candidate=B] .hero{padding:8px 0 17px;margin-bottom:0}body[data-representative=true][data-candidate=B] .hero h1{font-size:24px}body[data-representative=true][data-candidate=B] .home-entries{gap:0;margin-top:12px}body[data-representative=true][data-candidate=B] .entry{border:0;border-bottom:1px solid var(--line);background:white;padding:14px 16px;border-radius:0}body[data-representative=true][data-candidate=B] .entry:last-child{border-bottom:0}body[data-representative=true][data-candidate=B] .entry b{font-size:19px}body[data-representative=true][data-candidate=B] .panel{padding:16px;border-radius:8px}body[data-representative=true][data-candidate=B] .grid.four>.panel{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px;margin:0;border-radius:0}body[data-representative=true][data-candidate=B] .grid.four>.panel:nth-child(even){border-right:0}body[data-representative=true][data-candidate=B] .grid.four>.panel:nth-child(n+3){border-bottom:0}
body[data-representative=true][data-candidate=C] .hero{padding:24px 20px;border-radius:20px}body[data-representative=true][data-candidate=C] .hero h1{font-size:28px;max-width:250px}body[data-representative=true][data-candidate=C] .hero:after{font-size:40px;bottom:0;right:9px}body[data-representative=true][data-candidate=C] .home-entries{grid-template-columns:1fr 1fr;gap:10px}body[data-representative=true][data-candidate=C] .entry{display:block;padding:14px;border-radius:16px;border:1px solid var(--line);background:white;min-width:0}body[data-representative=true][data-candidate=C] .entry:first-child{grid-column:1/-1;display:grid;grid-template-columns:36px 1fr;background:#102849;border:0;padding:17px}body[data-representative=true][data-candidate=C] .entry .icon{display:block;font-size:23px;margin-bottom:6px}body[data-representative=true][data-candidate=C] .entry:first-child .icon{grid-row:1/3;margin:0}body[data-representative=true][data-candidate=C] .entry b{font-size:17px;line-height:1.4}body[data-representative=true][data-candidate=C] .entry:first-child b{font-size:21px}body[data-representative=true][data-candidate=C] .entry small{font-size:12px;display:block;margin-top:5px}body[data-representative=true][data-candidate=C] .panel{padding:18px;border-radius:14px}body[data-representative=true][data-candidate=C] .shell>main{padding-top:20px}
}
/* Current direction only. A/B/C candidate CSS remains unchanged. */
body[data-current-home=true]{--ink:#f9f5fa;--muted:#d0c4d0;--line:#493f4d;--blue:#efadd7;--bg:#101015;background:#101015;color:var(--ink)}
body[data-current-home=true] header{background:#101015;border-color:#29232d;height:64px}
body[data-current-home=true] .brand,body[data-current-home=true] .link{color:#f5c0e2}
body[data-current-home=true] header nav{color:#eee7ef}
body[data-current-home=true] button,body[data-current-home=true] .btn{background:#27232d;color:#f9f5fa;border-color:#514855;border-radius:22px}
body[data-current-home=true] button:hover,body[data-current-home=true] .btn:hover{background:#383040;border-color:#d4a4c6;color:#fff}
body[data-current-home=true] .home{max-width:1130px;padding:28px 32px 16px}
body[data-current-home=true] .hero{background:transparent;border:0;border-radius:0;padding:8px 0 22px;margin:0!important;overflow:visible}
body[data-current-home=true] .hero:after{display:none}
body[data-current-home=true] .hero h1{font-size:32px;font-weight:550;letter-spacing:-.7px;margin:6px 0}
body[data-current-home=true] .hero p{font-size:15px;margin:0;color:#cdbfcd}
body[data-current-home=true] .home-entries{gap:16px}
body[data-current-home=true] .entry{min-height:240px;border:1px solid #6d526b;border-radius:30px;padding:28px;background:radial-gradient(ellipse at 77% 62%,#8d2f6b 0%,#522843 33%,transparent 72%),linear-gradient(135deg,#372435,#1b1824);overflow:hidden;isolation:isolate}
body[data-current-home=true] .entry:nth-child(2){border-color:#414a74;background:radial-gradient(ellipse at 83% 70%,#344e93 0%,#242d53 40%,transparent 73%),linear-gradient(135deg,#252238,#171925)}
body[data-current-home=true] .entry:nth-child(3){border-color:#426467;background:radial-gradient(ellipse at 83% 65%,#326b64 0%,#254341 36%,transparent 72%),linear-gradient(135deg,#203b36,#172021)}
body[data-current-home=true] .entry b{font-size:24px;font-weight:550;margin:22px 0 8px;letter-spacing:-.4px}
body[data-current-home=true] .entry small{color:#f0e5ef;font-size:14px;line-height:1.5}
body[data-current-home=true] .entry .icon{color:#fff;font-size:26px}
body[data-current-home=true] .entry:hover{border-color:#e6bddb}
body[data-current-home=true] .entry:focus-visible{outline:3px solid #fff;outline-offset:4px}
body[data-current-home=true] .entry:after{content:'↗';position:absolute;right:20px;top:22px;border-radius:50%;background:#ffffff1a;width:42px;height:42px;display:grid;place-items:center;font-size:21px;color:#fff;pointer-events:none}
body[data-current-home=true] .home>.panel{background:#201c25;border:1px solid #3c3342;border-radius:22px;padding:14px 20px;margin:18px 0 12px!important}
body[data-current-home=true] .money{color:#f9d2ed;font-size:22px;font-weight:550;font-variant-numeric:tabular-nums}
body[data-current-home=true] .notice{background:#24202a;border:1px solid #3c3342;border-radius:20px;color:#e6dce9;padding:14px 20px;margin-bottom:14px}
body[data-current-home=true] footer{color:#c6b9c7;padding:12px}
body[data-current-home=true] dialog{background:#211d27;color:#f9f5fa;border-color:#514855}
body[data-current-home=true] dialog .dialog-foot{background:#29232f}
@media(max-width:700px){
body[data-current-home=true] header{height:58px}
body[data-current-home=true] .home{padding:16px 16px 8px}
body[data-current-home=true] .hero{padding:3px 0 16px}
body[data-current-home=true] .hero h1{font-size:24px;line-height:1.3;margin:5px 0 6px}
body[data-current-home=true] .hero .minor{font-size:13px}
body[data-current-home=true] .hero p{font-size:14px;line-height:1.5}
body[data-current-home=true] .home-entries{grid-template-columns:1fr;gap:10px}
body[data-current-home=true] .entry{min-height:96px;padding:18px 52px 18px 18px;border-radius:25px;grid-template-columns:34px 1fr;column-gap:10px}
body[data-current-home=true] .entry b{font-size:19px;margin:0 0 2px}
body[data-current-home=true] .entry small{font-size:13px}
body[data-current-home=true] .entry:after{top:30px;right:13px;width:32px;height:32px;font-size:18px}
body[data-current-home=true] .home>.panel{padding:12px 15px;margin:12px 0 10px!important}
body[data-current-home=true] .home>.panel .row{gap:6px}
body[data-current-home=true] .home>.panel button{padding:8px 12px;font-size:14px}
body[data-current-home=true] .money{font-size:19px;margin-left:8px!important}
body[data-current-home=true] .notice{padding:11px 15px;font-size:13px;gap:6px}
}


/* Adapter for existing Airport prototype markup; enabled for four routes only. */
body[data-mature=true]{--blue:#066fd1;--ink:#182433;--muted:#626f84;--line:#dce1e7;--bg:#f6f8fb;background:var(--bg);font:15px/1.5 system-ui,'Microsoft YaHei',sans-serif;color:var(--ink)}
body[data-mature=true] header{height:64px;padding:0 24px;background:#fff;display:flex;border-bottom:1px solid var(--line)}
body[data-mature=true] header nav{display:flex;gap:16px;align-items:center}
body[data-mature=true] .brand{font-size:20px;letter-spacing:2px;color:var(--blue)}
body[data-mature=true] .shell{grid-template-columns:216px minmax(0,1fr)}
body[data-mature=true] aside{padding:16px 12px;background:#fff}
body[data-mature=true] aside a{padding:8px 12px;border-radius:4px}
body[data-mature=true] main{padding:24px;max-width:1500px}
body[data-mature=true] .title{margin-bottom:18px;align-items:center}
body[data-mature=true] h1{font-size:24px;font-weight:600;margin:0 0 4px}
body[data-mature=true] h2{font-size:16px;font-weight:600;margin-bottom:14px}
body[data-mature=true] .panel{border:1px solid var(--line);border-radius:4px;padding:20px;margin-bottom:16px;box-shadow:0 1px 2px #18243306;background:#fff;display:block}
body[data-mature=true] .row{display:flex;gap:12px;margin:0;flex-wrap:wrap;align-items:center}
body[data-mature=true] .row>*{width:auto;padding:0;flex-shrink:1;max-width:100%}
body[data-mature=true] .grid{gap:16px}
body[data-mature=true] .minor{font-size:14px;color:var(--muted)}
body[data-mature=true] .metric{font-size:30px;font-weight:600;line-height:1.4;margin:8px 0;letter-spacing:0}
body[data-mature=true] .metrics .metric small{font-size:15px}
body[data-mature=true] .progress{height:6px;margin:12px 0}
body[data-mature=true] .progress i{background:var(--blue)}
body[data-mature=true] .table{font-size:14px;margin-bottom:0;--tblr-table-color:var(--ink)}
body[data-mature=true] .toolbar{display:flex;gap:12px;margin-bottom:16px;align-items:center}
body[data-mature=true] .toolbar input{width:260px}
body[data-mature=true] .customer-actions summary{padding:5px 9px;font-size:14px;border-radius:4px}
body[data-mature=true] .action-popover{border-radius:4px;min-width:160px;background:#fff;color:var(--ink);box-shadow:0 4px 16px #18243320}
body[data-mature=true] .action-popover button{justify-content:flex-start;min-height:36px;border:0;padding:8px 10px}
body[data-mature=true] dialog{border-radius:6px;background:#fff;color:var(--ink);padding:0;border:1px solid var(--line)}
body[data-mature=true] dialog .dialog-body{padding:20px}
body[data-mature=true] dialog .dialog-foot{padding:12px 20px;display:flex;gap:10px;background:#f6f8fb}
body[data-mature=true] .tabs{display:flex;gap:8px;margin-bottom:16px}
body[data-mature=true] .product-art{height:150px;border-radius:4px;overflow:hidden;background:#f6f8fb}
body[data-mature=true] .product-art img{width:100%;height:100%;object-fit:cover;margin:0;border-radius:0}
body[data-mature=true] .store-products .panel{padding:0;overflow:hidden}
body[data-mature=true] .store-products .product-body{padding:16px}
body[data-mature=true] .store-products .product-art{margin:0;border-radius:0}
body[data-mature=true] .store-products h2{margin:0 0 12px}
body[data-mature=true] .store-products .product-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:14px}
body[data-mature=true] .store-products .price{font-size:20px;font-weight:600;color:var(--blue)}
@media(max-width:700px){
body[data-mature=true] header{height:58px;padding:0 16px}
body[data-mature=true] main{padding:18px 16px}
body[data-mature=true] .title{gap:12px;margin-bottom:16px;align-items:flex-start}
body[data-mature=true] h1{font-size:22px}
body[data-mature=true] .panel{padding:16px;margin-bottom:14px}
body[data-mature=true] .grid.two{gap:0}
body[data-mature=true] .metrics{grid-template-columns:1fr 1fr;gap:12px!important}
body[data-mature=true] .metrics .metric{font-size:28px!important}
body[data-mature=true] .metrics>div:last-child .metric{font-size:18px!important;white-space:nowrap}
body[data-mature=true] .metrics .btn{padding:8px;font-size:14px;min-height:44px}
body[data-mature=true] .toolbar{align-items:stretch;gap:10px}
body[data-mature=true] .toolbar input{width:100%}
body[data-mature=true] .filter-label{width:100%;justify-content:space-between}
body[data-mature=true] .filter-label select{width:65%}
body[data-mature=true] .table tbody tr{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:6px 10px;padding:12px 0}
body[data-mature=true] .table td{padding:0;display:block;font-size:14px;border:0}
body[data-mature=true] .table td:first-child{grid-column:1/-1;padding-right:82px;line-height:1.8}
body[data-mature=true] .table td:first-child .badge{margin-left:3px}
body[data-mature=true] .table td:last-child{position:absolute;right:0;top:12px}
body[data-mature=true] .table td:last-child:before{display:none}
body[data-mature=true] .table tr[hidden]{display:none}
body[data-mature=true] .customer-actions summary{min-height:44px;display:flex;align-items:center;padding:8px 10px}
body[data-mature=true] .action-popover button{min-height:44px}
body[data-mature=true] .store-products{grid-template-columns:1fr}
body[data-mature=true] .store-products .product-art{height:145px}
}

/* Adapted from assimon/dujiaoka resources/views/luna and public/assets/luna/main.css.
 * MIT License, Copyright (c) 2023 assimon/dujiaoka.
 * Luna template contributors: Julyssn and faka.win (see template-reference/luna-README.md).
 * Full permission notice: ../licenses/Dujiaoka-MIT.txt.
 * Changes: scoped selectors, readable type, touch targets, no old backend or third-party imagery.
 */
body[data-mature=true] .store-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body[data-mature=true] .store-products .goods-box{padding:18px;vertical-align:middle;min-width:0;min-height:80px;background:#fff;border:1px solid #dce1e7;border-radius:6px;position:relative;display:flex;align-items:flex-start;gap:14px;margin:0;text-decoration:none;color:#545454}
body[data-mature=true] .store-products .product-art{vertical-align:top;min-width:80px;width:80px;height:80px;flex:0 0 80px;overflow:hidden;border-radius:6px;margin:0}
body[data-mature=true] .store-products .product-art img{width:100%;height:100%;border-radius:6px;object-fit:cover}
body[data-mature=true] .store-products .msg{vertical-align:top;display:block;flex:1;min-width:0;padding:0}
body[data-mature=true] .store-products .goods-name{margin:0 0 6px;font-size:16px;font-weight:500;color:#545454}
body[data-mature=true] .store-products .goods-price{font-size:20px;font-weight:600;color:#066fd1}
body[data-mature=true] .store-products .product-bottom{margin-top:8px;flex-wrap:wrap}
@media(max-width:700px){body[data-mature=true] .store-products{grid-template-columns:1fr}body[data-mature=true] .store-products .goods-box{padding:16px;gap:12px}body[data-mature=true] .store-products .product-art{height:80px}body[data-mature=true] .store-products .minor{font-size:14px}}
