:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#19202c;background:#f1f4f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 75% 0,#dce8ff 0,transparent 32%),#f3f5f8;color:#19202c}button,input{font:inherit}.hidden{display:none!important}.login-view{min-height:100vh;display:grid;place-items:center;padding:30px;background:radial-gradient(circle at 25% 20%,rgba(82,126,255,.17),transparent 34%),radial-gradient(circle at 80% 75%,rgba(117,85,238,.13),transparent 30%)}.login-card{width:min(430px,100%);padding:42px;border:1px solid rgba(255,255,255,.85);border-radius:30px;background:rgba(255,255,255,.82);box-shadow:0 32px 90px rgba(39,55,86,.16);backdrop-filter:blur(28px)}.brand-mark{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;color:white;font-size:28px;background:linear-gradient(145deg,#2f7cf4,#7055e9);box-shadow:0 12px 28px rgba(61,94,220,.3)}.brand-mark.small{width:42px;height:42px;border-radius:13px;font-size:20px}.eyebrow{display:block;margin-top:24px;color:#507ae4;font-weight:800;font-size:11px;letter-spacing:.18em}.login-card h1{margin:10px 0 7px;font-size:32px}.login-card>p{margin:0 0 28px;color:#7b8492;font-size:14px}.login-card form,.settings-form{display:grid;gap:16px}label{display:grid;gap:8px;color:#687281;font-size:12px;font-weight:650}input{width:100%;height:48px;padding:0 14px;border:1px solid #dfe4eb;border-radius:13px;outline:0;color:#1e2530;background:#fff;transition:.2s}input:focus{border-color:#77a3f5;box-shadow:0 0 0 4px rgba(70,126,232,.1)}button{border:0;cursor:pointer}.primary{height:48px;border-radius:13px;color:white;font-weight:750;background:linear-gradient(120deg,#377cf0,#6857ea);box-shadow:0 10px 24px rgba(54,99,219,.22)}.form-error{min-height:18px;color:#d34444;font-size:12px}.app-view{min-height:100vh;display:grid;grid-template-columns:246px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;padding:24px 16px;display:flex;flex-direction:column;border-right:1px solid rgba(49,64,90,.08);background:rgba(249,250,252,.82);backdrop-filter:blur(28px)}.brand{display:flex;align-items:center;gap:12px;padding:0 8px 28px}.brand b,.brand span{display:block}.brand b{font-size:16px}.brand span{margin-top:3px;color:#9aa2ae;font-size:10px;letter-spacing:.11em}.sidebar nav{display:grid;gap:7px}.sidebar nav button,.logout{height:46px;padding:0 14px;border-radius:13px;text-align:left;color:#68717f;background:transparent;font-weight:650}.sidebar nav button:hover,.sidebar nav button.active{color:#216ee1;background:white;box-shadow:0 7px 20px rgba(35,52,83,.08)}.sidebar-status{margin-top:auto;padding:13px;border:1px solid #e2e6ec;border-radius:15px;background:#fff;display:flex;align-items:center;gap:9px}.sidebar-status i{width:9px;height:9px;border-radius:50%;background:#31ca69;box-shadow:0 0 0 5px #e5faed}.sidebar-status span,.sidebar-status b,.sidebar-status small{display:block}.sidebar-status b{font-size:11px}.sidebar-status small{margin-top:3px;color:#9aa1ac;font-size:9px}.logout{margin-top:10px;text-align:center;border:1px solid #e2e6ec;background:rgba(255,255,255,.65)}main{min-width:0;padding:30px 36px 50px}.topbar{display:flex;align-items:end;justify-content:space-between;margin:0 auto 24px;max-width:1420px}.topbar .eyebrow{margin:0}.topbar h1{margin:7px 0 0;font-size:28px}.top-actions{display:flex;align-items:center;gap:12px;color:#9aa1ac;font-size:11px}.top-actions button,.panel-head button{height:36px;padding:0 13px;border:1px solid #e0e5ec;border-radius:10px;background:#fff;color:#566170}.page{display:none;max-width:1420px;margin:auto}.active-page{display:block}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.stats-grid article,.panel{border:1px solid rgba(255,255,255,.86);background:rgba(255,255,255,.78);box-shadow:0 16px 45px rgba(45,62,91,.08);backdrop-filter:blur(24px)}.stats-grid article{min-height:152px;padding:23px;border-radius:22px}.stats-grid span{color:#77818f;font-size:12px}.stats-grid strong{display:block;margin:14px 0 9px;font-size:32px;letter-spacing:-.04em}.stats-grid small{color:#a1a8b3;font-size:10px}.split-grid,.service-grid{margin-top:16px;display:grid;grid-template-columns:1fr 1fr;gap:16px}.panel{border-radius:22px;overflow:hidden}.panel-head{min-height:76px;padding:18px 20px;border-bottom:1px solid rgba(62,76,102,.08);display:flex;align-items:center;justify-content:space-between;gap:15px}.panel-head h2{margin:0;font-size:16px}.panel-head p{margin:5px 0 0;color:#939ba7;font-size:10px}.compact-list{padding:6px 20px 14px}.compact-row{min-height:58px;padding:10px 0;border-bottom:1px solid #edf0f4;display:flex;align-items:center;justify-content:space-between;gap:12px}.compact-row:last-child{border:0}.compact-row b,.compact-row span{display:block}.compact-row b{max-width:420px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.compact-row span{margin-top:4px;color:#9aa2ad;font-size:9px}.compact-row em{padding:6px 9px;border-radius:999px;background:#edf5ff;color:#3475cd;font-size:9px;font-style:normal}.full-panel{min-height:calc(100vh - 135px)}.search{width:260px;height:38px}.table-wrap{overflow:auto;padding:0 20px 20px}table{width:100%;border-collapse:collapse;white-space:nowrap}th,td{padding:15px 11px;border-bottom:1px solid #edf0f4;text-align:left}th{color:#939ba6;font-size:10px;font-weight:650}td{font-size:11px}.user-cell{display:flex;align-items:center;gap:10px}.avatar{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;color:#416fc7;background:#e9f1ff;font-weight:800}.user-cell b,.user-cell span{display:block}.user-cell span{margin-top:3px;color:#9ca3ad;font-size:9px}.status-chip{padding:6px 9px;border-radius:999px;background:#e7f8ed;color:#269556;font-size:9px;font-weight:700}.status-chip.disabled,.status-chip.failed{background:#fff0f0;color:#d34b4b}.status-chip.processing{background:#fff5df;color:#bc7819}.row-actions{display:flex;gap:6px}.row-actions button{height:30px;padding:0 9px;border-radius:8px;color:#3d70c2;background:#edf4ff;font-size:9px}.row-actions button.danger{color:#bd4d4d;background:#fff0f0}.settings-panel{min-height:390px}.settings-form{padding:20px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-actions{display:flex;justify-content:flex-end;gap:9px}.form-actions button,.settings-form>button{height:44px;padding:0 17px;border-radius:12px}.form-actions button:not(.primary){border:1px solid #dfe4eb;background:#fff}.toast{position:fixed;right:24px;bottom:24px;z-index:30;padding:13px 17px;border-radius:12px;color:white;background:#202733;box-shadow:0 15px 40px rgba(0,0,0,.2);opacity:0;transform:translateY(10px);pointer-events:none;transition:.25s}.toast.show{opacity:1;transform:none}dialog{width:min(440px,calc(100% - 30px));padding:0;border:0;border-radius:24px;box-shadow:0 28px 90px rgba(0,0,0,.28)}dialog::backdrop{background:rgba(20,25,34,.55);backdrop-filter:blur(10px)}dialog form{padding:24px}.dialog-head{display:flex;align-items:start;justify-content:space-between}.dialog-head .eyebrow{margin:0}.dialog-head h2{margin:7px 0 0}.dialog-head button{width:34px;height:34px;border-radius:10px;background:#eef1f5;font-size:20px}.dialog-actions{margin-top:22px;display:grid;grid-template-columns:1fr 1fr;gap:9px}.dialog-actions button{height:44px;border-radius:12px}.dialog-actions button:not(.primary){background:#edf0f4}dialog p{color:#76808c;font-size:12px}
@media(max-width:1000px){.app-view{grid-template-columns:78px minmax(0,1fr)}.brand>div:last-child,.sidebar nav button,.logout{font-size:0}.brand{padding:0 2px 28px}.sidebar nav button{text-align:center}.stats-grid{grid-template-columns:repeat(2,1fr)}.split-grid,.service-grid{grid-template-columns:1fr}}
.payment-panel{grid-column:1/-1}.settings-form textarea{width:100%;padding:12px 14px;border:1px solid #dfe4eb;border-radius:13px;outline:0;color:#1e2530;background:#fff;resize:vertical;line-height:1.55}.settings-form textarea:focus{border-color:#77a3f5;box-shadow:0 0 0 4px rgba(70,126,232,.1)}.field-row.triple{grid-template-columns:repeat(3,1fr)}.payment-notice{margin:0;padding:12px 14px;border-radius:11px;color:#687586;background:#f2f6fb;font-size:11px}.payment-notice code{color:#2f6fcf;font-weight:700}.payment-orders-panel{margin-top:16px}.payment-orders-panel small{color:#939da9}.status-chip.paid{color:#218752;background:#e7f8ed}.status-chip.pending{color:#b37518;background:#fff5df}@media(max-width:760px){.field-row,.field-row.triple{grid-template-columns:1fr}.payment-panel{grid-column:auto}}
@media(max-width:650px){main{padding:20px 14px}.sidebar{display:none}.app-view{display:block}.stats-grid{grid-template-columns:1fr 1fr;gap:9px}.stats-grid article{padding:16px;min-height:125px}.top-actions span{display:none}.field-row{grid-template-columns:1fr}.panel-head{align-items:flex-start}.search{width:150px}}

/* Daydream membership console */
.brand-mark{padding:0;overflow:hidden;border:0;background:#08090b;box-shadow:0 12px 28px rgba(30,39,57,.2)}.brand-mark img{width:100%;height:100%;display:block;object-fit:cover}.brand-mark.small{border-radius:12px}
.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stats-grid article{background:linear-gradient(145deg,rgba(255,255,255,.93),rgba(244,249,255,.82));border-color:rgba(255,255,255,.95)}
.membership-chip{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;color:#3975c8;background:#edf5ff;font-size:9px;font-weight:750}.membership-chip.team{color:#7651cb;background:#f4efff}.seat-cell b,.seat-cell small{display:block}.seat-cell b{font-size:11px}.seat-cell small{margin-top:4px;color:#929ba7;font-size:9px}.seat-cell.warning b{color:#c36f1c}.row-actions{flex-wrap:wrap}.row-actions button{border:0;outline:0}.row-actions button.membership{color:#6b50c4;background:#f2edff}.row-actions button:focus-visible{box-shadow:0 0 0 3px rgba(77,132,215,.15)}
select{width:100%;height:48px;padding:0 14px;border:1px solid #dfe4eb;border-radius:13px;outline:0;color:#1e2530;background:#fff}select:focus{border-color:#77a3f5;box-shadow:0 0 0 4px rgba(70,126,232,.1)}
.membership-dialog{width:min(620px,calc(100% - 30px))}.membership-dialog form{padding:26px}.membership-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.seat-policy{margin:12px 0 17px;padding:11px 13px;border:1px solid #dbe9f8;border-radius:12px;color:#60738b;background:#f3f8ff;font-size:10px;line-height:1.65}.device-section{padding:14px;border:1px solid #e2e8f0;border-radius:15px;background:#f8fafc}.device-section>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.device-section h3{margin:0;font-size:12px}.danger-ghost{height:32px;padding:0 10px;border:0;border-radius:9px;color:#be5555;background:#fff0f0;font-size:9px;font-weight:700}.device-list{max-height:240px;margin-top:10px;overflow:auto;display:grid;gap:7px}.device-list>span{padding:20px;color:#98a1ad;text-align:center;font-size:10px}.device-row{min-height:56px;padding:9px 10px;border:1px solid #e5e9ef;border-radius:11px;background:white;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}.device-row b,.device-row span{display:block}.device-row b{font-size:10px}.device-row span{margin-top:4px;color:#939ca8;font-size:8px}.device-row button{height:30px;padding:0 9px;border:0;border-radius:8px;color:#b84d4d;background:#fff0f0;font-size:8px}.device-row.revoked{opacity:.58}.device-row.revoked button{display:none}.dialog-head button,.dialog-actions button{border:0;outline:0}.dialog-head button:focus-visible,.dialog-actions button:focus-visible{box-shadow:0 0 0 4px rgba(70,126,232,.14)}
@media(max-width:900px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.membership-fields{grid-template-columns:1fr}.app-view{grid-template-columns:210px minmax(0,1fr)}main{padding:22px 18px}.table-wrap{padding-left:12px;padding-right:12px}}

/* Multi-route scheduler and dedicated-line plans */
.route-manager-panel{grid-column:1/-1}.scheduler-settings{padding:16px 20px;border-bottom:1px solid #edf0f4;display:flex;align-items:end;justify-content:space-between;gap:18px;background:#f8fbff}.scheduler-settings label{width:260px}.scheduler-settings input{height:42px}.scheduler-settings>div{display:flex;gap:9px}.scheduler-settings button,.route-card footer button{height:38px;padding:0 13px;border:1px solid #dfe5ee;border-radius:10px;color:#506073;background:#fff}.scheduler-settings .primary{border:0;color:#fff}.route-list{padding:18px 20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.route-empty{grid-column:1/-1;padding:35px;color:#98a1ad;text-align:center}.route-card{padding:16px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 7px 20px rgba(40,60,90,.05)}.route-card.disabled{opacity:.55}.route-card header{display:flex;align-items:start;justify-content:space-between;gap:12px}.route-card header b,.route-card header span{display:block}.route-card header b{font-size:13px}.route-card header span{margin-top:4px;color:#8b95a3;font-size:9px}.route-card>p{margin:12px 0;color:#647185;font-size:10px;overflow-wrap:anywhere}.route-health{padding:6px 9px;border-radius:999px;color:#278a52;background:#e8f8ee;font-size:9px;font-style:normal;font-weight:750}.route-health.offline{color:#c24c4c;background:#fff0f0}.route-health.degraded,.route-health.unknown{color:#a76c18;background:#fff5df}.route-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;padding:11px;border-radius:11px;background:#f7f9fc}.route-metrics span{color:#8993a1;font-size:9px}.route-metrics b{color:#394657}.route-card>small{display:block;margin-top:9px;color:#c04e4e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.route-card footer{margin-top:12px;display:flex;justify-content:flex-end;gap:7px}.route-card footer .danger{color:#bd4d4d;background:#fff4f4}.route-form{border-top:1px solid #edf0f4;background:#fbfcfe}.route-enabled{min-height:48px;padding:0 14px;border:1px solid #dfe4eb;border-radius:13px;display:flex;grid-template-columns:auto 1fr;align-items:center;gap:10px;background:#fff}.route-enabled input{width:17px;height:17px;padding:0}.service-tier-chip{display:inline-flex;padding:6px 9px;border-radius:999px;color:#66717f;background:#f0f2f5;font-size:9px;font-weight:750}.service-tier-chip.enterprise{color:#6b49c7;background:#f1ecff}.membership-fields{grid-template-columns:repeat(3,minmax(0,1fr))}
.xibapi-speed-state{margin:12px 20px 0;padding:10px 12px;border:1px solid #dfe8f4;border-radius:11px;color:#53657b;background:#f5f9ff;font-size:10px}.xibapi-speed-state.ready{color:#187c48;border-color:#ccebd9;background:#eefaf3}.xibapi-speed-state.testing{color:#8d671d;border-color:#f0dfb6;background:#fffaf0}.xibapi-speed-state.failed{color:#b04b4b;border-color:#f0cece;background:#fff5f5}
@media(max-width:900px){.route-list{grid-template-columns:1fr}.scheduler-settings{align-items:stretch;flex-direction:column}.scheduler-settings label{width:100%}.membership-fields{grid-template-columns:1fr}}

/* Monthly successful-usage report */
.monthly-usage-panel{margin-top:16px}.monthly-actions{display:flex;align-items:center;gap:8px}.monthly-actions input{width:155px;height:38px}.monthly-actions button{height:38px;padding:0 13px;border:1px solid #dce4ee;border-radius:10px;color:#3d70c2;background:#eef5ff;font-size:10px;font-weight:750}.monthly-summary{padding:16px 20px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.monthly-summary article{padding:14px;border:1px solid #e6ebf2;border-radius:14px;background:linear-gradient(145deg,#fbfdff,#f5f8fc)}.monthly-summary span,.monthly-summary strong,.monthly-summary small{display:block}.monthly-summary span{color:#7d8795;font-size:9px}.monthly-summary strong{margin:7px 0 5px;color:#28394f;font-size:24px}.monthly-summary small{color:#98a1ad;font-size:8px}.chart-legend{padding:2px 20px 12px;display:flex;justify-content:flex-end;gap:16px;color:#778391;font-size:9px}.chart-legend span{display:flex;align-items:center;gap:6px}.chart-legend i{width:9px;height:9px;border-radius:3px}.chart-legend .image2,.monthly-chart i.image2{background:linear-gradient(180deg,#4d94ef,#75b6f2)}.chart-legend .vector,.monthly-chart i.vector{background:linear-gradient(180deg,#7959e8,#ae8bf1)}.monthly-chart{height:250px;margin:0 20px 20px;padding:18px 10px 0;border-left:1px solid #dfe5ed;border-bottom:1px solid #dfe5ed;overflow-x:auto;display:flex;align-items:stretch;gap:4px;background:repeating-linear-gradient(to top,transparent 0,transparent 49px,rgba(99,120,151,.08) 50px)}.monthly-chart>span{margin:auto;color:#98a1ad}.chart-day{min-width:28px;flex:1;display:grid;grid-template-rows:minmax(0,1fr) 24px;align-items:end}.bar-pair{height:100%;display:flex;align-items:end;justify-content:center;gap:2px}.bar-pair i{position:relative;width:9px;min-height:0;border-radius:4px 4px 1px 1px;transition:height .25s}.bar-pair i b{position:absolute;left:50%;top:-13px;color:#657387;font-size:7px;transform:translateX(-50%)}.chart-day>span{padding-top:6px;color:#8b95a2;text-align:center;font-size:8px}
@media(max-width:900px){.monthly-summary{grid-template-columns:repeat(2,1fr)}.monthly-chart{min-width:0}.monthly-actions{align-items:stretch;flex-direction:column}.monthly-actions input{width:150px}}

/* Frontend announcement publishing */
.announcement-panel{grid-column:1/-1;min-height:0}.announcement-panel .settings-form{grid-template-columns:minmax(180px,.45fr) minmax(320px,1.55fr);align-items:end}.announcement-panel .route-enabled,.announcement-panel .payment-notice,.announcement-panel .settings-form>button{grid-column:1/-1}.announcement-panel textarea{min-height:96px}@media(max-width:760px){.announcement-panel .settings-form{grid-template-columns:1fr}}

/* 302.AI layered-image configuration */
.service-config-stack{display:grid;gap:16px;align-content:start}.layered-panel{min-height:0;background:radial-gradient(circle at 92% 0,rgba(89,116,242,.1),transparent 32%),rgba(255,255,255,.82)}.layered-heading{display:flex;align-items:center;gap:12px}.layered-mark{width:42px;height:42px;flex:0 0 auto;border-radius:13px;color:#fff;background:linear-gradient(135deg,#387cf0,#7056ea);box-shadow:0 9px 22px rgba(65,89,210,.24);display:grid;place-items:center;font-size:12px;font-weight:850;letter-spacing:-.04em}.layered-panel .settings-form{gap:14px}.layered-panel select{width:100%;height:48px;padding:0 38px 0 14px;border:1px solid #dfe4eb;border-radius:13px;outline:0;color:#1e2530;background:#fff}.layered-panel select:focus{border-color:#77a3f5;box-shadow:0 0 0 4px rgba(70,126,232,.1)}.layered-panel .form-actions{justify-content:flex-end}.layered-panel .form-actions .primary{min-width:190px}@media(max-width:760px){.layered-heading{align-items:flex-start}.layered-mark{width:36px;height:36px;border-radius:11px}.layered-panel .form-actions .primary{width:100%}}
