:root{font-family:system-ui,"Microsoft YaHei",sans-serif;color:#17243b;background:#f4f6fa}body{margin:0}header{background:#fff;padding:20px 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dbe1eb}h1{font-size:23px;margin:0}main,#message{margin:20px auto;max-width:1180px;padding:0 24px}form,.panel{background:white;border:1px solid #dbe1eb;border-radius:8px;padding:24px;margin-bottom:20px}#login{max-width:400px;margin:48px auto}label{display:block;margin:12px 0}input,select{display:block;padding:10px;border:1px solid #b9c5d6;border-radius:5px;max-width:100%;box-sizing:border-box;width:360px;margin-top:5px}button{background:#255ed4;color:white;border:0;border-radius:5px;padding:10px 16px;cursor:pointer;margin:4px 8px 4px 0}button:disabled{opacity:.5;cursor:wait}nav{margin-bottom:20px}table{width:100%;border-collapse:collapse;background:white;font-size:14px}th,td{text-align:left;padding:12px;border-bottom:1px solid #dbe1eb;overflow-wrap:anywhere}td button{font-size:12px;padding:7px}pre{white-space:pre-wrap;overflow-wrap:anywhere}small{color:#52647f}.scroll{overflow:auto}#message{color:#9f2d20;min-height:24px}a{color:#255ed4}[hidden]{display:none!important}

/* Card display: keep complete identifiers selectable; scroll the table, not the page. */
.license-table{min-width:960px;table-layout:fixed}.license-table th:nth-child(1){width:350px}.license-table th:nth-child(2){width:150px}.license-table th:nth-child(3){width:165px}.license-table th:nth-child(4){width:75px}.license-table th:nth-child(5){width:180px}.license-table td{vertical-align:top;line-height:1.6}.copy-value{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap;min-width:0}.copy-value code{font-family:Consolas,monospace;font-size:13px;line-height:1.8;white-space:normal;overflow-wrap:anywhere;user-select:all;max-width:100%}.copy-value button{flex:none;margin:0;padding:6px 10px;font-size:12px}.license-identity small{display:block;margin-top:8px}.license-actions{display:flex;flex-wrap:wrap;gap:5px}.license-actions button{margin:0;white-space:nowrap}.generated-cards{display:grid;gap:12px;margin-top:16px}.generated-cards .copy-value{padding:12px;background:#f4f6fa;border:1px solid #dbe1eb;border-radius:5px}.clipboard-fallback{position:fixed;left:-10000px;top:0}@media(max-width:640px){main,#message{padding:0 12px}form,.panel{padding:16px}header{padding:16px 12px}.generated-cards .copy-value{display:grid;grid-template-columns:minmax(0,1fr)}.generated-cards button{justify-self:start}}

/* Activation categories and usable card codes. */
.license-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}.license-filters button{background:#e5ebf6;color:#29446e;border:1px solid #c8d4e8;margin:0}.license-filters button[aria-pressed=true]{background:#255ed4;border-color:#255ed4;color:white}.license-card-table{min-width:850px}.license-card-table td{vertical-align:top;line-height:1.6}.license-card-table th:first-child{width:38%}.license-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;max-width:400px}.license-card code{font:13px/1.8 Consolas,monospace;overflow-wrap:anywhere;user-select:all}.license-card button{margin:0}.license-card-actions{display:flex;flex-wrap:wrap;gap:6px;min-width:145px}.license-card-actions button{margin:0;white-space:nowrap}button.danger{background:#b3261e}.card-clipboard{position:fixed;left:-10000px;top:0}

/* Readable audit events; internal references remain collapsed. */
.audit-table{min-width:880px}.audit-table td{vertical-align:top;line-height:1.6}.audit-table th:nth-child(1){width:155px}.audit-table th:nth-child(2){width:230px}.audit-table th:nth-child(3){width:175px}.audit-table th:nth-child(5){width:120px}.audit-action{display:grid;gap:7px}.audit-status{justify-self:start;border-radius:4px;padding:2px 7px;font-size:12px}.audit-recorded{color:#216342;background:#e8f5ed}.audit-failed{color:#8f4014;background:#fff0e3}.audit-details{margin-top:8px;color:#52647f;font-size:12px}.audit-details summary{cursor:pointer;color:#255ed4}.audit-details div{overflow-wrap:anywhere;margin-top:5px}

/* 天域网络验证-软件后台 品牌区（左上角 Logo + 主标题 + 副标题） */
.brand{display:flex;align-items:center;gap:12px;min-width:0}
.brand-logo{width:42px;height:42px;flex:none;border-radius:12px;background:linear-gradient(145deg,#4f8dff,#1d4ed8);color:#fff;font-size:21px;font-weight:700;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px rgba(37,94,212,.3),inset 0 1px 0 rgba(255,255,255,.35)}
.brand-text{display:flex;flex-direction:column;line-height:1.28;min-width:0}
.brand-text b{font-size:19px;color:#17243b;font-weight:700;white-space:nowrap}
.brand-text i{font-style:normal;font-size:12.5px;color:#7b8aa3;margin-top:2px}
@media(max-width:640px){.brand-logo{width:34px;height:34px;font-size:17px;border-radius:9px}.brand-text b{font-size:15px}.brand-text i{font-size:11.5px}}

/* 左侧竖排功能导航 */
.console-layout{display:grid;grid-template-columns:214px minmax(0,1fr);gap:22px;align-items:start}
.side-nav{position:sticky;top:18px;display:flex;flex-direction:column;gap:3px;margin:0;background:#fff;border:1px solid #dbe1eb;border-radius:12px;padding:10px 9px;box-shadow:0 2px 10px rgba(23,36,59,.05)}
.nav-group{margin:9px 9px 5px;font-size:12px;font-weight:700;color:#8494ad;letter-spacing:.6px}
.side-nav .nav-group:first-child{margin-top:3px}
.side-nav .nav-item{display:flex;align-items:center;gap:9px;width:100%;margin:0;padding:9px 11px;background:transparent;color:#31425e;border:0;border-radius:9px;font-size:14px;line-height:1.2;text-align:left;cursor:pointer;transition:background .15s,color .15s}
.side-nav .nav-item:hover{background:#eef3fb;color:#17243b}
.side-nav .nav-item.active{background:#17243b;color:#fff;box-shadow:0 6px 16px rgba(23,36,59,.22)}
.nav-ico{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:900px){.console-layout{grid-template-columns:1fr;gap:14px}.side-nav{position:static;flex-direction:row;flex-wrap:wrap}.side-nav .nav-group{display:none}.side-nav .nav-item{width:auto}}




/* ===== 开发者仪表盘（参考图 1:1 复刻） ===== */
.xa-grid{display:grid;gap:16px;margin-bottom:16px}
.xa-row-top{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.xa-row-stats{grid-template-columns:repeat(5,minmax(0,1fr))}
.xa-row-bottom{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.xa-col{display:grid;gap:16px;align-content:start}
.xa-card{background:#fff;border:1px solid #e8edf5;border-radius:10px;padding:18px 20px;box-shadow:0 1px 3px rgba(23,36,59,.04)}
.xa-card-head{display:flex;align-items:center;gap:8px;font-size:15px;color:#17243b}
.xa-card-head b{font-weight:700}
.xa-card-sub{margin:6px 0 0;font-size:12.5px;color:#8494ad}
.xa-ico{display:inline-flex;align-items:center;justify-content:center;flex:none}
.xa-ico svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ico-green{color:#22b573}.ico-cyan{color:#12b3d6}.ico-violet{color:#7c5cf0}.ico-amber{color:#f0a020}.ico-blue{color:#2f6ef0}

/* 平台公告 */
.xa-notice{display:flex;flex-direction:column;min-height:214px}
.xa-notice-head{display:flex;align-items:center;gap:8px}
.xa-chip{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;padding:2px 9px;border-radius:20px;background:#f4f7fc;color:#8494ad;border:1px solid #e6ebf3}
.xa-chip-ico svg{width:13px;height:13px}
.xa-notice-body{flex:1;text-align:center;display:flex;flex-direction:column;justify-content:center;padding:4px 0}
.xa-notice-big{font-size:19px;font-weight:700;color:#17243b;margin-bottom:28px}
.xa-notice-body p{margin:0 0 8px;text-align:left;font-size:13px;color:#52647f}

/* 广告横幅 */
.xa-banner{position:relative;overflow:hidden;min-height:214px;display:flex;flex-direction:column;gap:6px;border:none;color:#fff;background:linear-gradient(115deg,#6b5cf0 0%,#7e73f4 42%,#4f8ef7 100%)}
.xa-banner::after{content:'';position:absolute;right:-46px;top:-64px;width:230px;height:230px;border-radius:50%;background:rgba(255,255,255,.14)}
.xa-banner::before{content:'';position:absolute;left:-36px;bottom:-76px;width:190px;height:190px;border-radius:50%;background:rgba(255,255,255,.1)}
.xa-banner-top{display:flex;justify-content:flex-end;gap:8px;position:relative}
.xa-banner-top .xa-chip{background:rgba(255,255,255,.22);color:#fff;border-color:rgba(255,255,255,.35)}
.xa-banner-brand{display:flex;align-items:center;gap:11px;position:relative;margin-top:2px}
.xa-banner-logo{width:30px;height:30px;border-radius:8px;background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.35);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px}
.xa-banner-brand h3{margin:0;font-size:26px;font-weight:800;letter-spacing:1.5px}
.xa-banner > p{margin:0;font-size:13px;color:#ece9ff;position:relative;letter-spacing:.5px}
.xa-feats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:8px 0 6px;position:relative}
.xa-feat{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);border-radius:9px;padding:9px 10px;display:flex;flex-direction:column;gap:3px}
.xa-feat b{font-size:12.5px}
.xa-feat small{font-size:10.5px;color:#e6e2ff;line-height:1.5}
.xa-banner-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.24);border-radius:8px;padding:7px 12px;font-size:12px;position:relative}
.xa-banner-url{display:inline-flex;align-items:center;gap:7px}
.xa-url-ico svg{width:14px;height:14px}

/* 统计卡 */
.xa-stat{display:flex;flex-direction:column;min-height:128px}
.xa-stat-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;font-size:13px;color:#52647f}
.xa-stat-top .xa-ico svg{width:19px;height:19px}
.xa-stat-value{font-size:27px;font-weight:700;color:#17243b;line-height:1.15;margin-top:14px}
.xa-stat-note{font-size:11.5px;color:#8494ad;margin-top:2px}

/* 我的额度 */
.xa-quota{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;margin-bottom:16px}
.xa-quota-l{display:flex;align-items:center;gap:12px;min-width:0}
.xa-quota-ico{width:34px;height:34px;flex:none;border-radius:50%;background:#fdeaf3;color:#e34d8d;display:flex;align-items:center;justify-content:center}
.xa-quota-ico svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.xa-quota-t{display:flex;flex-direction:column;gap:3px}
.xa-quota-t b{font-size:15px;color:#17243b}
.xa-quota-t small{font-size:12.5px;color:#8494ad}
.xa-quota-more{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#52647f;cursor:pointer;white-space:nowrap}
.xa-more-ico svg{width:15px;height:15px}

/* 软件卡密分布 */
.xa-dist-body{display:flex;align-items:center;gap:34px;padding:18px 0 8px;min-height:252px}
.xa-donut{width:186px;height:186px;flex:none;transform:rotate(-90deg)}
.xa-donut circle{fill:none;stroke-width:7.5}
.xa-ring{stroke:#3b6ef0}
.xa-ring-b{stroke:#7bc86c}
.xa-legend{display:flex;flex-direction:column;gap:12px}
.xa-legend-row{display:flex;align-items:center;gap:9px;font-size:13.5px;color:#31425e}
.xa-swatch{width:13px;height:13px;border-radius:3px;flex:none}
.xa-swatch-a{background:#3b6ef0}
.xa-swatch-b{background:#7bc86c}

/* 每日签到 / 快捷操作 */
.xa-sign{display:flex;flex-direction:column;gap:10px}
.xa-sign-state{margin:0;font-size:12.5px;color:#8494ad}
.xa-sign-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:2px}
.xa-sign-row b{font-size:15px;color:#17243b}
.xa-btn-dark{background:#1f2937;color:#fff;border:1px solid #1f2937;border-radius:8px;padding:8px 18px;cursor:pointer;margin:0}
.xa-btn-dark:hover{background:#111827}
.xa-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.xa-quick-btn{display:flex;align-items:center;gap:9px;width:100%;margin:0;padding:11px 14px;background:#fff;color:#31425e;border:1px solid #e2e8f2;border-radius:8px;font-size:13.5px;text-align:left;cursor:pointer}
.xa-quick-btn:hover{background:#f7f9fd;border-color:#cfdcf3}
.xa-quick-btn .xa-ico svg{width:16px;height:16px}

/* 程序数据查看 */
.xa-dump-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.xa-dump-right{display:flex;align-items:center;gap:10px}
.xa-dump-right select{width:180px;margin:0}
.xa-col-btn{background:#f4f7fc;color:#31425e;border:1px solid #e2e8f2;border-radius:7px;padding:7px 13px;cursor:pointer;margin:0}
.xa-col-btn:hover{background:#eaf0fa}
.xa-dump-sub{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 10px;font-size:13.5px;color:#17243b}
.xa-dump-sub-l{display:inline-flex;align-items:center;gap:8px}
.xa-dump-list{border:1px solid #e8edf5;border-radius:9px;overflow:hidden}
.xa-dump-list-head{display:grid;grid-template-columns:80px 1fr 160px 200px;gap:10px;background:#f8fafd;border-bottom:1px solid #eef2f8;padding:11px 16px;font-size:12.5px;color:#8494ad}
.xa-dump-empty{padding:36px;text-align:center;color:#a3aec2;font-size:13px}

/* 占位页 */
.xa-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:48px;text-align:center;color:#8494ad}
.xa-empty b{font-size:15px;color:#17243b}
.xa-empty p{margin:0;font-size:13px}

@media(max-width:1180px){.xa-row-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.xa-row-top,.xa-row-bottom{grid-template-columns:1fr}}
@media(max-width:700px){.xa-row-stats{grid-template-columns:1fr}.xa-dist-body{flex-direction:column;gap:16px}.xa-quick-grid{grid-template-columns:1fr}.xa-feats{grid-template-columns:1fr}.xa-dump-list-head{grid-template-columns:60px 1fr}}

/* ===== 满屏铺开 + 按参考图比例放大（覆盖前面的尺寸限制） ===== */
main{max-width:none;margin:0;padding:22px 30px 48px}
#message{margin:14px 30px 0;max-width:none;padding:0}
.console-layout{grid-template-columns:226px minmax(0,1fr);gap:28px}
.side-nav{padding:12px 11px}
.side-nav .nav-group{margin:11px 10px 6px;font-size:12.5px}
.side-nav .nav-item{padding:11px 13px;font-size:14.5px;gap:10px}
.side-nav .nav-ico{width:18px;height:18px}

#content h2{font-size:22px;margin:6px 0 22px}

.xa-grid{gap:20px;margin-bottom:20px}
.xa-card{padding:22px 24px;border-radius:12px}
.xa-card-head{font-size:16px}
.xa-card-head .xa-ico svg{width:19px;height:19px}
.xa-card-sub{font-size:13.5px;margin-top:7px}

.xa-notice{min-height:236px}
.xa-notice-head{gap:9px}
.xa-chip{font-size:12.5px;padding:3px 11px}
.xa-notice-big{font-size:21px;margin-bottom:32px}
.xa-notice-body p{font-size:14px;margin-bottom:10px}

.xa-banner{min-height:236px;gap:8px}
.xa-banner-brand h3{font-size:30px}
.xa-banner-logo{width:34px;height:34px;font-size:14px;border-radius:9px}
.xa-banner > p{font-size:14.5px}
.xa-feats{gap:12px;margin:12px 0 8px}
.xa-feat{padding:11px 13px;border-radius:10px}
.xa-feat b{font-size:13.5px}
.xa-feat small{font-size:11.5px}
.xa-banner-foot{padding:9px 14px;font-size:13px;border-radius:9px}

.xa-stat{min-height:152px;padding:22px 24px}
.xa-stat-top{font-size:14px}
.xa-stat-top .xa-ico svg{width:21px;height:21px}
.xa-stat-value{font-size:32px;margin-top:20px}
.xa-stat-note{font-size:12.5px;margin-top:4px}

.xa-quota{padding:24px 26px;margin-bottom:20px}
.xa-quota-ico{width:38px;height:38px}
.xa-quota-ico svg{width:21px;height:21px}
.xa-quota-t b{font-size:16.5px}
.xa-quota-t small{font-size:13.5px}
.xa-quota-more{font-size:14px}

.xa-dist-body{min-height:300px;gap:44px;padding:22px 0 10px}
.xa-donut{width:214px;height:214px}
.xa-legend{gap:14px}
.xa-legend-row{font-size:14.5px}
.xa-swatch{width:15px;height:15px}

.xa-sign{gap:12px}
.xa-sign-state{font-size:13.5px}
.xa-sign-row b{font-size:16.5px}
.xa-btn-dark{padding:10px 24px;font-size:14.5px;border-radius:9px}
.xa-quick-grid{gap:12px;margin-top:16px}
.xa-quick-btn{padding:13px 16px;font-size:14px;gap:10px}
.xa-quick-btn .xa-ico svg{width:17px;height:17px}

.xa-dump-right select{width:210px}
.xa-col-btn{padding:9px 16px;font-size:13.5px}
.xa-dump-sub{font-size:14.5px;margin:18px 0 12px}
.xa-dump-list-head{padding:13px 18px;font-size:13.5px;grid-template-columns:90px 1fr 180px 220px}
.xa-dump-empty{padding:46px;font-size:13.5px}

@media(max-width:1280px){.xa-row-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.console-layout{grid-template-columns:1fr;gap:18px}.xa-row-top,.xa-row-bottom{grid-template-columns:1fr}}

/* ===== 顶栏右侧：颜色切换 / 通知 / 账号登录 ===== */
header{position:relative;z-index:60}
.head-actions{display:flex;align-items:center;gap:10px}
.head-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:36px;min-width:36px;padding:0 10px;margin:0;background:#fff;color:#52647f;border:1px solid #e2e8f2;border-radius:9px;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.head-btn:hover{background:#f5f8fd;color:#17243b;border-color:#cfdcf3}
.head-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.head-acct{padding:0 12px 0 6px;font-size:13.5px}
.head-avatar{width:26px;height:26px;flex:none;border-radius:50%;background:linear-gradient(145deg,#4f8dff,#1d4ed8);color:#fff;font-size:12.5px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.head-dot{position:absolute;top:6px;right:7px;width:7px;height:7px;border-radius:50%;background:#ef4444;border:1.5px solid #fff}

.head-pop{position:absolute;right:26px;top:52px;width:296px;background:#fff;border:1px solid #e6ebf3;border-radius:12px;box-shadow:0 16px 40px rgba(23,36,59,.16);padding:14px;z-index:70}
.pop-title{font-size:13px;color:#8494ad;margin-bottom:10px;letter-spacing:.5px}
.pop-empty{font-size:13px;color:#8494ad;padding:12px 4px;text-align:center}
.pop-list{display:flex;flex-direction:column;gap:9px;max-height:260px;overflow:auto}
.pop-row{display:flex;flex-direction:column;gap:2px;padding:8px 10px;background:#f8fafd;border:1px solid #eef2f8;border-radius:8px}
.pop-row b{font-size:13px;color:#17243b;font-weight:600}
.pop-row small{font-size:11.5px;color:#8494ad}
.pop-acct{display:flex;align-items:center;gap:11px;padding-bottom:12px;border-bottom:1px solid #eef2f8}
.pop-avatar{width:38px;height:38px;flex:none;border-radius:50%;background:linear-gradient(145deg,#4f8dff,#1d4ed8);color:#fff;font-size:16px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.pop-acct-info{display:flex;flex-direction:column;gap:2px;min-width:0}
.pop-acct-info b{font-size:15px;color:#17243b}
.pop-acct-info small{font-size:11.5px;color:#8494ad}
.pop-kv{padding:12px 0 4px}
.pop-kv-list{display:flex;flex-direction:column;gap:8px}
.pop-kv-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:13px}
.pop-kv-row span{color:#8494ad}
.pop-kv-row b{color:#17243b;font-weight:600;font-size:13px;overflow-wrap:anywhere;text-align:right}
.pop-foot{display:flex;gap:9px;padding-top:12px;margin-top:6px;border-top:1px solid #eef2f8}
.pop-btn{flex:1;margin:0;padding:9px 12px;font-size:13.5px;background:#f4f7fc;color:#31425e;border:1px solid #e2e8f2;border-radius:8px;cursor:pointer;text-align:center}
.pop-btn:hover{background:#eaf0fa}
.pop-btn.pri{background:#255ed4;border-color:#255ed4;color:#fff}
.pop-btn.pri:hover{background:#1d4fbb}
.pop-btn.danger{background:#fff;border-color:#f2c9c9;color:#c22a2a}
.pop-btn.danger:hover{background:#fdf2f2}

/* ===== 深色主题（颜色切换） ===== */
html.dark{color-scheme:dark;background:#0e1421}
html.dark body{background:#0e1421;color:#e6ecf7}
html.dark header{background:#141c2c;border-bottom-color:#26314a}
html.dark .brand-text b{color:#fff}
html.dark .brand-text i{color:#8e9bb5}
html.dark .head-btn{background:#1a2233;border-color:#2b3650;color:#a9b6cd}
html.dark .head-btn:hover{background:#212c42;color:#fff;border-color:#3a4863}
html.dark .head-dot{border-color:#141c2c}
html.dark .head-pop{background:#141c2c;border-color:#2b3650;box-shadow:0 16px 40px rgba(0,0,0,.5)}
html.dark .pop-title{color:#7b8aa3}
html.dark .pop-empty{color:#7b8aa3}
html.dark .pop-row{background:#1a2233;border-color:#26314a}
html.dark .pop-row b{color:#e6ecf7}
html.dark .pop-row small{color:#8494ad}
html.dark .pop-acct{border-bottom-color:#26314a}
html.dark .pop-acct-info b{color:#e6ecf7}
html.dark .pop-kv-row span{color:#8494ad}
html.dark .pop-kv-row b{color:#e6ecf7}
html.dark .pop-foot{border-top-color:#26314a}
html.dark .pop-btn{background:#1a2233;border-color:#2b3650;color:#c3cee2}
html.dark .pop-btn:hover{background:#212c42}
html.dark .pop-btn.pri{background:#255ed4;border-color:#255ed4;color:#fff}
html.dark .pop-btn.danger{background:#1a2233;border-color:#5b2b2b;color:#f2a3a3}
html.dark .side-nav{background:#141c2c;border-color:#26314a;box-shadow:none}
html.dark .side-nav .nav-item{color:#c3cee2}
html.dark .side-nav .nav-item:hover{background:#1e2a41;color:#fff}
html.dark .side-nav .nav-item.active{background:#2f6ef0;color:#fff;box-shadow:0 6px 16px rgba(0,0,0,.35)}
html.dark .nav-group{color:#6f7d97}
html.dark #content h2{color:#e6ecf7}
html.dark form,html.dark .panel,html.dark table{background:#141c2c;border-color:#26314a;color:#e6ecf7}
html.dark th{background:#1a2233;color:#93a1bb}
html.dark td{border-bottom-color:#232e46}
html.dark small{color:#8494ad}
html.dark #message{color:#fbbf24}
html.dark input,html.dark select{background:#121a29;border-color:#2b3650;color:#e6ecf7}
html.dark .xa-card{background:#141c2c;border-color:#26314a;box-shadow:none}
html.dark .xa-card-head,html.dark .xa-card-head b{color:#e6ecf7}
html.dark .xa-card-sub{color:#8494ad}
html.dark .xa-chip{background:#1c2637;border-color:#2b3650;color:#a9b6cd}
html.dark .xa-notice-big{color:#e6ecf7}
html.dark .xa-notice-body p{color:#a9b6cd}
html.dark .xa-stat-top{color:#a9b6cd}
html.dark .xa-stat-value{color:#fff}
html.dark .xa-stat-note{color:#8494ad}
html.dark .xa-quota-ico{background:#3a2130;color:#f472b6}
html.dark .xa-quota-t b{color:#e6ecf7}
html.dark .xa-quota-t small{color:#8494ad}
html.dark .xa-quota-more{color:#a9b6cd}
html.dark .xa-donut .xa-ring{stroke:#4f8df7}
html.dark .xa-donut .xa-ring-b{stroke:#5fbf7f}
html.dark .xa-legend-row{color:#c3cee2}
html.dark .xa-swatch-a{background:#4f8df7}
html.dark .xa-swatch-b{background:#5fbf7f}
html.dark .xa-sign-state{color:#8494ad}
html.dark .xa-sign-row b{color:#e6ecf7}
html.dark .xa-btn-dark{background:#2f6ef0;border-color:#2f6ef0;color:#fff}
html.dark .xa-btn-dark:hover{background:#3b82f6}
html.dark .xa-quick-btn{background:#1a2233;border-color:#2b3650;color:#c3cee2}
html.dark .xa-quick-btn:hover{background:#212c42;border-color:#3a4863}
html.dark .xa-dump-sub{color:#e6ecf7}
html.dark .xa-col-btn{background:#1a2233;border-color:#2b3650;color:#c3cee2}
html.dark .xa-col-btn:hover{background:#212c42}
html.dark .xa-dump-list{border-color:#26314a}
html.dark .xa-dump-list-head{background:#1a2233;border-bottom-color:#26314a;color:#8494ad}
html.dark .xa-dump-empty{color:#6f7d97}
html.dark .xa-empty{color:#8494ad}
html.dark .xa-empty b{color:#e6ecf7}
html.dark #login{background:#0b101b}
html.dark .xa-banner{background:linear-gradient(115deg,#4b3fd0 0%,#5a4fe0 42%,#2f6ef0 100%)}

/* ===== 左侧导航：按参考图 1:1（平铺、无卡片框） ===== */
body{background:#f7f8fb}
.side-nav{position:sticky;top:18px;display:flex;flex-direction:column;gap:3px;margin:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;min-height:calc(100vh - 130px)}
.side-nav .nav-group{margin:16px 12px 7px;font-size:12.5px;font-weight:600;color:#9aa5b8;letter-spacing:.3px}
.side-nav .nav-group:first-child{margin-top:4px}
.side-nav .nav-item{display:flex;align-items:center;gap:11px;width:100%;margin:0;padding:11px 12px;background:transparent;color:#3c4a63;border:0;border-radius:9px;font-size:14.5px;line-height:1.25;text-align:left;cursor:pointer;transition:background .15s,color .15s}
.side-nav .nav-item:hover{background:#f0f3f9;color:#17243b}
.side-nav .nav-item.active{background:#1f2b3f;color:#fff}
.side-nav .nav-ico{width:18px;height:18px;flex:none;color:#8494ad;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.side-nav .nav-item:hover .nav-ico{color:#52647f}
.side-nav .nav-item.active .nav-ico{color:#fff}
.nav-user{margin-top:auto;display:flex;align-items:center;gap:10px;padding:12px 10px 6px;border-top:1px solid #eef1f6;cursor:pointer;border-radius:0 0 9px 9px}
.nav-user:hover{background:#f0f3f9}
.nav-avatar{width:32px;height:32px;flex:none;border-radius:50%;background:linear-gradient(145deg,#4f8dff,#1d4ed8);color:#fff;font-size:13px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.nav-user-info{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}
.nav-user-info b{font-size:13.5px;color:#17243b;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nav-user-info small{font-size:11.5px;color:#9aa5b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nav-user-chev{width:16px;height:16px;flex:none;color:#9aa5b8;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

html.dark .side-nav{background:transparent;border:0;box-shadow:none}
html.dark .side-nav .nav-item{color:#c3cee2}
html.dark .side-nav .nav-item:hover{background:#1a2233;color:#fff}
html.dark .side-nav .nav-item.active{background:#2f6ef0;color:#fff}
html.dark .side-nav .nav-ico{color:#7b8aa3}
html.dark .side-nav .nav-item:hover .nav-ico{color:#c3cee2}
html.dark .side-nav .nav-item.active .nav-ico{color:#fff}
html.dark .nav-user{border-top-color:#26314a}
html.dark .nav-user:hover{background:#1a2233}
html.dark .nav-user-info b{color:#e6ecf7}
html.dark .nav-user-info small{color:#7b8aa3}


/* ===== 顶部内容上移 v2（连状态条占位一起压掉） ===== */
main{padding:6px 30px 44px}
#message{margin:4px 30px 0;min-height:16px;max-width:none;padding:0;font-size:12.5px;line-height:16px}
#content h2{font-size:22px;margin:0 0 12px}
.console-layout{padding-top:0}
.xa-row-top{margin-bottom:18px}

/* ===== 横幅视频（放上 mp4 后自动覆盖播放，没放就保持原样） ===== */
.xa-banner{position:relative}
.xa-banner-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .45s ease;z-index:1;pointer-events:none;display:block}
.xa-banner.has-video .xa-banner-video{opacity:1}
.xa-banner-inner{position:relative;z-index:2;display:flex;flex-direction:column;gap:8px;height:100%;transition:opacity .45s ease}
.xa-banner.has-video .xa-banner-inner{opacity:0}
.xa-banner-inner > p{margin:0;font-size:14.5px;color:#ece9ff;letter-spacing:.5px}
@media(max-width:1000px){.xa-banner{min-height:200px}}

/* ===== 横幅背景：光速隧道原图，不叠任何覆盖色 ===== */
.xa-banner{background-image:url('/launcher-updates/banner-cover.jpg');background-size:cover;background-position:center;background-repeat:no-repeat}
html.dark .xa-banner{background-image:url('/launcher-updates/banner-cover.jpg');background-size:cover;background-position:center;background-repeat:no-repeat}
.xa-banner::before,.xa-banner::after{display:none}
/* ===== 横幅文字可读性（仅文字投影，非覆盖层） ===== */
.xa-banner-inner{text-shadow:0 1px 4px rgba(2,8,20,.6)}
.xa-banner-inner .xa-feat small{text-shadow:0 1px 3px rgba(2,8,20,.65)}

/* ===== 横幅：纯画面 + 无限缩放动画（冲进光速隧道） ===== */
.xa-banner{overflow:hidden;background-image:url('/launcher-updates/banner-cover.jpg');background-size:cover;background-position:center;background-repeat:no-repeat;background-color:#050a14}
/* 覆盖旧的装饰圆点残留：尺寸撑满、无圆角、无底色 */
.xa-banner::before{content:'';display:block;position:absolute;left:0;top:0;right:0;bottom:0;width:100%;height:100%;border-radius:0;background-color:transparent;
background-image:url('/launcher-updates/banner-cover.jpg');background-size:cover;background-position:center;background-repeat:no-repeat;
transform-origin:50% 50%;z-index:0;pointer-events:none;animation:xaTunnel 9s ease-in-out infinite alternate}
.xa-banner::after{display:none}
@keyframes xaTunnel{
  from{transform:scale(1)}
  to{transform:scale(1.45)}
}
html.dark .xa-banner{background-image:url('/launcher-updates/banner-cover.jpg');background-size:cover;background-position:center;background-repeat:no-repeat;background-color:#050a14}
@media (prefers-reduced-motion: reduce){.xa-banner::before{animation:none}}

/* ===== 软件管理 页 ===== */
.sw-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:2px 0 18px}
.sw-head-l{min-width:0}
.sw-title{font-size:26px;font-weight:700;color:#17243b;margin:0 0 7px;letter-spacing:.3px}
.sw-head-l p{margin:0;font-size:13px;color:#8494ad}
.sw-head-r{display:flex;align-items:center;gap:12px;flex:none}
.sw-count{font-size:12.5px;padding:4px 13px;border-radius:20px;background:rgba(224,82,82,.1);color:#d94d4d;border:1px solid rgba(224,82,82,.28);white-space:nowrap}
.sw-add{display:inline-flex;align-items:center;gap:7px;margin:0;padding:9px 16px;font-size:13.5px;border-radius:9px;cursor:pointer;background:#17243b;color:#fff;border:1px solid #17243b}
.sw-add:hover{background:#22304a;border-color:#22304a}
.sw-ico{display:inline-flex;align-items:center;justify-content:center;flex:none}
.sw-ico svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.sw-body{background:#fff;border:1px solid #e8edf5;border-radius:14px;min-height:400px;padding:26px;box-shadow:0 1px 3px rgba(23,36,59,.04)}
.sw-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;min-height:340px;text-align:center}
.sw-empty-ico{width:78px;height:78px;border-radius:18px;border:1.7px dashed #c3cddd;display:flex;align-items:center;justify-content:center;color:#93a1b5;margin-bottom:6px}
.sw-empty-ico .sw-ico svg{width:36px;height:36px;stroke-width:1.7}
.sw-empty b{font-size:16px;font-weight:600;color:#17243b}
.sw-empty small{font-size:13px;color:#8494ad}

.sw-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}
.sw-card{display:flex;flex-direction:column;gap:14px;background:#fff;border:1px solid #e8edf5;border-radius:12px;padding:16px 18px}
.sw-card-top{display:flex;align-items:center;gap:11px;min-width:0}
.sw-card-ico{width:38px;height:38px;flex:none;border-radius:11px;background:#f2f6fd;color:#2f6ef0;display:inline-flex;align-items:center;justify-content:center}
.sw-card-ico svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sw-card-t{display:flex;flex-direction:column;gap:3px;min-width:0}
.sw-card-t b{font-size:14.5px;color:#17243b;overflow-wrap:anywhere}
.sw-card-t small{font-size:12px;color:#8494ad}
.sw-card-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.sw-stat{display:flex;flex-direction:column;gap:1px;text-align:center;background:#f8fafd;border:1px solid #eaeff7;border-radius:8px;padding:8px 6px}
.sw-stat b{font-size:16px;color:#17243b}
.sw-stat span{font-size:11.5px;color:#8494ad}
.sw-card-f{display:flex;gap:9px;padding-top:12px;border-top:1px solid #eef1f6}
.sw-btn{flex:1;margin:0;padding:9px 12px;font-size:13.5px;border-radius:8px;cursor:pointer;text-align:center;background:#f4f7fc;color:#31425e;border:1px solid #e2e8f2}
.sw-btn:hover{background:#eaf0fa}
.sw-btn.pri{background:#2f6ef0;border-color:#2f6ef0;color:#fff}
.sw-btn.pri:hover{background:#2560d8}

.sw-mask{position:fixed;inset:0;background:rgba(8,12,20,.55);display:flex;align-items:center;justify-content:center;z-index:200;padding:20px}
.sw-modal{width:420px;max-width:100%;background:#fff;border:1px solid #e6ebf3;border-radius:14px;box-shadow:0 24px 60px rgba(12,20,35,.28);padding:20px}
.sw-modal-h{font-size:16px;font-weight:700;color:#17243b;margin-bottom:14px}
.sw-field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.sw-field span{font-size:12.5px;color:#8494ad}
.sw-field input{width:100%;padding:10px 12px;border-radius:9px;border:1px solid #dbe1eb;background:#fff;color:#17243b;outline:none}
.sw-field input:focus{border-color:#2f6ef0}
.sw-modal-f{display:flex;gap:10px;justify-content:flex-end;padding-top:6px}

html.dark .sw-title{color:#e6ecf7}
html.dark .sw-head-l p{color:#8494ad}
html.dark .sw-count{background:rgba(224,82,82,.16);color:#f08a8a;border-color:rgba(224,82,82,.35)}
html.dark .sw-add{background:#f2f5fa;color:#101827;border-color:#f2f5fa}
html.dark .sw-add:hover{background:#fff;border-color:#fff}
html.dark .sw-body{background:#121a28;border-color:#243049;box-shadow:none}
html.dark .sw-empty-ico{border-color:#3a4761;color:#7b8aa3}
html.dark .sw-empty b{color:#e6ecf7}
html.dark .sw-empty small{color:#8494ad}
html.dark .sw-card{background:#121a28;border-color:#243049}
html.dark .sw-card-ico{background:#1b2740;color:#5a97ff}
html.dark .sw-card-t b{color:#e6ecf7}
html.dark .sw-card-t small{color:#8494ad}
html.dark .sw-stat{background:#182136;border-color:#243049}
html.dark .sw-stat b{color:#e6ecf7}
html.dark .sw-stat span{color:#8494ad}
html.dark .sw-card-f{border-top-color:#243049}
html.dark .sw-btn{background:#1a2233;border-color:#2b3650;color:#c3cee2}
html.dark .sw-btn:hover{background:#212c42}
html.dark .sw-btn.pri{background:#2f6ef0;border-color:#2f6ef0;color:#fff}
html.dark .sw-modal{background:#141c2c;border-color:#2b3650;box-shadow:0 24px 60px rgba(0,0,0,.6)}
html.dark .sw-modal-h{color:#e6ecf7}
html.dark .sw-field span{color:#8494ad}
html.dark .sw-field input{background:#101827;border-color:#2b3650;color:#e6ecf7}
@media(max-width:700px){.sw-head{flex-direction:column;align-items:stretch}.sw-head-r{justify-content:flex-start}.sw-grid{grid-template-columns:1fr}}

/* ===== 加固服务 页 ===== */
.hd-head{display:flex;align-items:center;gap:13px;margin:2px 0 16px}
.hd-badge{width:42px;height:42px;flex:none;border-radius:12px;background:#f2f6fd;color:#2f6ef0;display:inline-flex;align-items:center;justify-content:center}
.hd-head-t{min-width:0}
.hd-title{font-size:26px;font-weight:700;color:#17243b;margin:0 0 6px;letter-spacing:.3px}
.hd-head-t p{margin:0;font-size:13px;color:#8494ad}
.hd-ico{display:inline-flex;align-items:center;justify-content:center;flex:none}
.hd-ico svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.hd-badge .hd-ico svg{width:22px;height:22px}
.hd-blue{color:#2f6ef0}
.hd-warn-ico{color:#f0a020}

/* 标签栏 */
.hd-tabs{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:16px}
.hd-tab{display:inline-flex;align-items:center;gap:7px;margin:0;padding:9px 14px;font-size:13.5px;border-radius:9px;cursor:pointer;background:#fff;color:#31425e;border:1px solid #e2e8f2}
.hd-tab:hover{background:#f5f8fd;border-color:#cfdcf3}
.hd-tab.active{background:#17243b;color:#fff;border-color:#17243b}
.hd-tab.disabled{opacity:.55;cursor:not-allowed}
.hd-tag{font-size:11px;padding:1px 7px;border-radius:20px;background:#f1f4f9;color:#9aa5b8;border:1px solid #e4e9f1}

/* 配额条 */
.hd-quota{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid #e8edf5;border-radius:12px;padding:16px 20px;margin-bottom:16px}
.hd-quota-l{display:flex;align-items:center;gap:10px;font-size:13.5px;color:#f0a020}
.hd-quota-l .hd-ico svg{width:19px;height:19px}
.hd-quota-r{display:flex;flex-direction:column;align-items:flex-end;gap:1px}
.hd-quota-r small{font-size:12px;color:#8494ad}
.hd-quota-r b{font-size:25px;font-weight:700;color:#17243b;line-height:1.1}

/* 两栏 */
.hd-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
.hd-card{background:#fff;border:1px solid #e8edf5;border-radius:14px;padding:20px 22px}
.hd-card-h{display:flex;align-items:center;gap:9px;font-size:15px;color:#17243b}
.hd-card-h b{font-weight:700}
.hd-card-sub{margin:7px 0 14px;font-size:12.5px;color:#8494ad;line-height:1.7}

/* 上传区 */
.hd-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:196px;border:1.6px dashed #cbd6e6;border-radius:12px;cursor:pointer;padding:22px;text-align:center;transition:border-color .15s,background .15s}
.hd-drop:hover,.hd-drop.over{border-color:#2f6ef0;background:#f7faff}
.hd-file{display:none}
.hd-drop-ico{color:#93a1b5}
.hd-drop-ico svg{width:38px;height:38px;stroke-width:1.6}
.hd-drop-t{display:flex;flex-direction:column;gap:5px}
.hd-drop-t b{font-size:14px;color:#17243b;font-weight:600}
.hd-drop-t small{font-size:12.5px;color:#8494ad}
.hd-picked{font-size:12.5px;color:#2f6ef0;background:#eef4ff;border:1px solid #d8e5ff;border-radius:8px;padding:6px 12px}

/* 保护级别 */
.hd-lev-label{font-size:13px;font-weight:600;color:#17243b;margin:18px 0 10px}
.hd-lev-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hd-lev{display:flex;align-items:center;gap:10px;margin:0;padding:12px 13px;text-align:left;background:#fff;border:1px solid #e2e8f2;border-radius:10px;cursor:pointer}
.hd-lev:hover{background:#f8fafd}
.hd-lev.active{border-color:#2f6ef0;box-shadow:0 0 0 2px rgba(47,110,240,.12)}
.hd-dot{width:11px;height:11px;border-radius:50%;flex:none}
.lv-gray{background:#9aa5b8}.lv-blue{background:#2f6ef0}.lv-violet{background:#7c5cf0}.lv-red{background:#ef4444}
.hd-lev-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.hd-lev-t b{font-size:13.5px;color:#17243b}
.hd-lev-t small{font-size:11.5px;color:#8494ad}
.hd-run{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;margin:20px 0 0;padding:12px;font-size:14px;border-radius:10px;cursor:pointer;background:#eef1f6;color:#8494ad;border:1px solid #e2e8f2}
.hd-run:hover{background:#e8ecf3}
.hd-run .hd-ico svg{width:16px;height:16px}

/* 保护项清单 */
.hd-seg{margin-left:auto;display:inline-flex;background:#f1f4f9;border:1px solid #e4e9f1;border-radius:9px;padding:2px}
.hd-seg button{margin:0;padding:5px 14px;font-size:12.5px;border:0;border-radius:7px;background:transparent;color:#8494ad;cursor:pointer}
.hd-seg button.active{background:#fff;color:#17243b;box-shadow:0 1px 3px rgba(23,36,59,.12)}
.hd-list{display:flex;flex-direction:column}
.hd-feat{display:flex;align-items:flex-start;gap:11px;padding:11px 0;border-bottom:1px solid #f1f4f9}
.hd-feat:last-child{border-bottom:0}
.hd-ok{color:#12b76a;margin-top:1px}
.hd-ok svg{width:18px;height:18px}
.hd-feat-t{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.hd-feat-t b{font-size:13.5px;color:#17243b;font-weight:600}
.hd-feat-t small{font-size:12px;color:#8494ad}
.hd-feat-box{display:none;width:16px;height:16px;margin:2px 0 0;accent-color:#2f6ef0;cursor:pointer;flex:none}
.hd-card.hd-custom .hd-feat-box{display:block}
.hd-card.hd-custom .hd-ok{display:none}
.hd-feat.off .hd-feat-t b,.hd-feat.off .hd-feat-t small{opacity:.42}

@media(max-width:1080px){.hd-grid{grid-template-columns:1fr}}
@media(max-width:700px){.hd-lev-grid{grid-template-columns:1fr}.hd-title{font-size:22px}}

/* 深色 */
html.dark .hd-badge{background:#1b2740;color:#5a97ff}
html.dark .hd-title{color:#e6ecf7}
html.dark .hd-tab{background:#141c2c;border-color:#2b3650;color:#c3cee2}
html.dark .hd-tab:hover{background:#1b2437;border-color:#3a4863}
html.dark .hd-tab.active{background:#2f6ef0;border-color:#2f6ef0;color:#fff}
html.dark .hd-tag{background:#1a2233;border-color:#2b3650;color:#7b8aa3}
html.dark .hd-quota{background:#121a28;border-color:#243049}
html.dark .hd-quota-r b{color:#e6ecf7}
html.dark .hd-card{background:#121a28;border-color:#243049}
html.dark .hd-card-h{color:#e6ecf7}
html.dark .hd-drop{border-color:#33415c}
html.dark .hd-drop:hover,html.dark .hd-drop.over{border-color:#2f6ef0;background:#151f33}
html.dark .hd-drop-t b{color:#e6ecf7}
html.dark .hd-picked{background:#16233c;border-color:#26385c;color:#7aa9ff}
html.dark .hd-lev-label{color:#e6ecf7}
html.dark .hd-lev{background:#141c2c;border-color:#2b3650}
html.dark .hd-lev:hover{background:#1a2438}
html.dark .hd-lev.active{border-color:#2f6ef0;box-shadow:0 0 0 2px rgba(47,110,240,.22)}
html.dark .hd-lev-t b{color:#e6ecf7}
html.dark .hd-run{background:#1a2233;border-color:#2b3650;color:#7b8aa3}
html.dark .hd-seg{background:#1a2233;border-color:#2b3650}
html.dark .hd-seg button.active{background:#2b3650;color:#e6ecf7;box-shadow:none}
html.dark .hd-feat{border-bottom-color:#1e2740}
html.dark .hd-feat-t b{color:#e6ecf7}
html.dark .hd-feat-t small{color:#8494ad}

/* ===== 软件管理：删除按钮（追加样式） ===== */
.sw-btn.danger{background:#fff;border-color:#f2c9c9;color:#c22a2a;display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;padding:9px 16px}
.sw-btn.danger:hover{background:#fdf2f2}
.sw-btn.danger:disabled{opacity:.45;cursor:not-allowed;background:#f7f9fc;border-color:#e8edf5;color:#a3aec2}
.sw-btn.danger .sw-ico svg{width:15px;height:15px}
.sw-card-f .sw-btn.pri{flex:1}
html.dark .sw-btn.danger{background:#1a2233;border-color:#5b2b2b;color:#f2a3a3}
html.dark .sw-btn.danger:hover{background:#241a1a}
html.dark .sw-btn.danger:disabled{background:#161e2e;border-color:#28324a;color:#5d6a80}

/* ===== 二次确认弹窗（追加） ===== */
.sw-modal-desc{margin:0 0 4px;font-size:13.5px;line-height:1.85;color:#52647f}
.sw-btn.pri.sw-btn-del{background:#d94646;border-color:#d94646;color:#fff}
.sw-btn.pri.sw-btn-del:hover{background:#c33c3c}
html.dark .sw-modal-desc{color:#a9b6cd}
html.dark .sw-btn.pri.sw-btn-del{background:#c0392b;border-color:#c0392b;color:#fff}
html.dark .sw-btn.pri.sw-btn-del:hover{background:#a93226}

/* ===== 软件详情 / 卡密下发 ===== */
.sd-head{display:flex;align-items:center;gap:13px;margin:2px 0 16px}
.sd-back{display:inline-flex;align-items:center;gap:5px;margin:0;padding:8px 13px;font-size:13px;border-radius:9px;background:#fff;border:1px solid #e2e8f2;color:#52647f;cursor:pointer}
.sd-back:hover{background:#f5f8fd}
.sd-badge{width:42px;height:42px;flex:none;border-radius:12px;background:#f2f6fd;color:#2f6ef0;display:inline-flex;align-items:center;justify-content:center}
.sd-ico{display:inline-flex;align-items:center;justify-content:center;flex:none}
.sd-ico svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.sd-badge .sd-ico svg{width:22px;height:22px}
.sd-blue{color:#2f6ef0}.sd-violet{color:#7c5cf0}
.sd-head-t{flex:1;min-width:0}
.sd-title{font-size:24px;font-weight:700;color:#17243b;margin:0 0 5px}
.sd-head-t p{margin:0;font-size:12.5px;color:#8494ad}
.sd-head-r{display:flex;gap:10px;flex:none}
.sd-btn{display:inline-flex;align-items:center;gap:7px;margin:0;padding:9px 15px;font-size:13.5px;border-radius:9px;background:#fff;border:1px solid #e2e8f2;color:#31425e;cursor:pointer}
.sd-btn:hover{background:#f5f8fd}
.sd-btn.pri{background:#2f6ef0;border-color:#2f6ef0;color:#fff}
.sd-btn.pri:hover{background:#2560d8}
.sd-btn:disabled{opacity:.5;cursor:not-allowed}
.sd-block{width:100%;justify-content:center;margin-top:14px}

.sd-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}
.sd-stat{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e8edf5;border-radius:12px;padding:16px 18px}
.sd-stat-ico{width:36px;height:36px;border-radius:10px;background:#f2f6fd;color:#2f6ef0;display:inline-flex;align-items:center;justify-content:center}
.sd-stat-ico svg{width:19px;height:19px}
.sd-stat-t{display:flex;flex-direction:column;gap:2px}
.sd-stat-t b{font-size:22px;color:#17243b;line-height:1.15}
.sd-stat-t span{font-size:12px;color:#8494ad}

.sd-row{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:16px;margin-bottom:16px}
.sd-card{background:#fff;border:1px solid #e8edf5;border-radius:14px;padding:20px 22px}
.sd-card-h{display:flex;align-items:center;gap:9px;font-size:15px;color:#17243b}
.sd-card-h b{font-weight:700}
.sd-card-sub{margin:7px 0 14px;font-size:12.5px;color:#8494ad}
.sd-form{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:12px}
.sd-field{display:flex;flex-direction:column;gap:6px}
.sd-field span{font-size:12.5px;color:#8494ad}
.sd-field select,.sd-field input{width:100%;padding:10px 12px;border-radius:9px;border:1px solid #dbe1eb;background:#fff;color:#17243b;outline:none}
.sd-quick{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.sd-chip-btn{margin:0;padding:5px 12px;font-size:12.5px;border-radius:20px;background:#f2f5fa;border:1px solid #e2e8f2;color:#52647f;cursor:pointer}
.sd-chip-btn:hover{background:#e9eff8}
.sd-plans{display:flex;flex-direction:column;gap:9px}
.sd-plan{background:#f8fafd;border:1px solid #eaeff7;border-radius:9px;padding:10px 13px}
.sd-plan-t{display:flex;flex-direction:column;gap:3px}
.sd-plan-t b{font-size:13.5px;color:#17243b}
.sd-plan-t small{font-size:12px;color:#8494ad}
.sd-empty-line{padding:22px;text-align:center;font-size:13px;color:#a3aec2;border:1.5px dashed #dbe3ee;border-radius:10px}

.sd-full{margin-bottom:16px}
.sd-list-head-r{display:flex;gap:9px;margin-left:auto;align-items:center}
.sd-search{padding:8px 12px;border-radius:9px;border:1px solid #dbe1eb;font-size:13px;width:200px;outline:none}
.sd-tabs{display:flex;gap:9px;margin:14px 0 12px}
.sd-tab{margin:0;padding:7px 14px;font-size:13px;border-radius:9px;background:#f4f7fc;border:1px solid #e2e8f2;color:#52647f;cursor:pointer}
.sd-tab.active{background:#17243b;border-color:#17243b;color:#fff}
.sd-table{border:1px solid #e8edf5;border-radius:10px;overflow:hidden}
.sd-tr{display:grid;grid-template-columns:minmax(0,1.7fr) 1fr 1.05fr 84px 190px;gap:12px;align-items:center;padding:11px 16px;border-bottom:1px solid #f1f4f9;font-size:13px}
.sd-tr:last-child{border-bottom:0}
.sd-th{background:#f8fafd;color:#8494ad;font-size:12.5px;padding:10px 16px}
.sd-td{display:flex;flex-direction:column;gap:3px;min-width:0;color:#17243b}
.sd-td small{font-size:11.5px;color:#8494ad}
.sd-code{flex-direction:row;align-items:center;gap:9px}
.sd-code code{font:12.5px/1.6 Consolas,monospace;overflow-wrap:anywhere;user-select:all}
.sd-mini{margin:0;padding:4px 10px;font-size:12px;border-radius:7px;background:#f4f7fc;border:1px solid #e2e8f2;color:#31425e;cursor:pointer;white-space:nowrap}
.sd-mini:hover{background:#e9eff8}
.sd-danger{background:#fff;border-color:#f2c9c9;color:#c22a2a}
.sd-danger:hover{background:#fdf2f2}
.sd-actions{flex-direction:row;gap:6px;flex-wrap:wrap}
.sd-tag{display:inline-block;font-size:11.5px;padding:2px 9px;border-radius:20px;width:fit-content}
.sd-tag.ok{background:rgba(18,183,106,.12);color:#0f9d58}
.sd-tag.warn{background:rgba(240,160,32,.16);color:#b8760a}
.sd-tag.err{background:rgba(224,82,82,.12);color:#c22a2a}
.sd-tag.gray{background:#f2f5fa;color:#8494ad}
.sd-pager{display:flex;align-items:center;gap:10px;justify-content:flex-end;padding-top:14px;font-size:13px;color:#8494ad}
.sd-dev{display:flex;flex-direction:column;gap:4px;padding:10px 0;border-bottom:1px solid #f1f4f9;font-size:12.5px;color:#17243b}
.sd-dev small{color:#8494ad}
.sd-pre{max-height:300px;overflow:auto;background:#f8fafd;border:1px solid #eaeff7;border-radius:9px;padding:12px;font:12.5px/1.75 Consolas,monospace;user-select:all;margin:0 0 4px}
.sw-modal.wide{width:580px}

html.dark .sd-back,html.dark .sd-btn{background:#141c2c;border-color:#2b3650;color:#c3cee2}
html.dark .sd-back:hover,html.dark .sd-btn:hover{background:#1b2437}
html.dark .sd-btn.pri{background:#2f6ef0;border-color:#2f6ef0;color:#fff}
html.dark .sd-badge{background:#1b2740;color:#5a97ff}
html.dark .sd-title{color:#e6ecf7}
html.dark .sd-stat,html.dark .sd-card{background:#121a28;border-color:#243049}
html.dark .sd-stat-ico{background:#1b2740;color:#5a97ff}
html.dark .sd-stat-t b,html.dark .sd-card-h,html.dark .sd-plan-t b,html.dark .sd-td{color:#e6ecf7}
html.dark .sd-field select,html.dark .sd-field input,html.dark .sd-search{background:#101827;border-color:#2b3650;color:#e6ecf7}
html.dark .sd-chip-btn{background:#1a2233;border-color:#2b3650;color:#a9b6cd}
html.dark .sd-chip-btn:hover{background:#212c42}
html.dark .sd-plan{background:#16203a;border-color:#243049}
html.dark .sd-empty-line{border-color:#2b3650;color:#6f7d97}
html.dark .sd-tab{background:#1a2233;border-color:#2b3650;color:#a9b6cd}
html.dark .sd-tab.active{background:#2f6ef0;border-color:#2f6ef0;color:#fff}
html.dark .sd-table{border-color:#243049}
html.dark .sd-tr{border-bottom-color:#1e2740}
html.dark .sd-th{background:#182136;color:#8494ad}
html.dark .sd-mini{background:#1a2233;border-color:#2b3650;color:#c3cee2}
html.dark .sd-mini:hover{background:#212c42}
html.dark .sd-danger{background:#1a2233;border-color:#5b2b2b;color:#f2a3a3}
html.dark .sd-tag.gray{background:#1a2233;color:#8494ad}
html.dark .sd-pre{background:#101827;border-color:#243049;color:#c3cee2}
html.dark .sd-dev{border-bottom-color:#1e2740;color:#e6ecf7}
@media(max-width:1200px){.sd-row{grid-template-columns:1fr}.sd-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.sd-head{flex-wrap:wrap}.sd-tr{grid-template-columns:1fr 1fr;gap:8px}.sd-th{display:none}.sd-form{grid-template-columns:1fr}}


/* ===== 卡密列表：多选 + 批量操作（追加） ===== */
.sd-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 12px;padding:10px 14px;background:#f8fafd;border:1px solid #eaeff7;border-radius:10px}
.sd-bar-all{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:#52647f;cursor:pointer;user-select:none}
.sd-bar-count{font-size:12.5px;color:#8494ad;margin-right:auto}
.sd-check{width:16px;height:16px;accent-color:#2f6ef0;cursor:pointer;margin:0;flex:none}
.sd-bar .sd-btn{padding:7px 13px;font-size:13px}
.sd-tr{grid-template-columns:34px minmax(0,1.6fr) 1fr 1.05fr 84px 190px !important}
.sd-tr.picked{background:#f4f8ff}
.sd-field-num{flex:1}
.sd-field-unit{width:110px;flex:none}
.sd-form2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sd-form2 .sd-wide{grid-column:1 / -1}

html.dark .sd-bar{background:#16203a;border-color:#243049}
html.dark .sd-bar-all{color:#a9b6cd}
html.dark .sd-tr.picked{background:#182339}
/* ===== 卡密格式设置（位数 / 统一前缀 / 字符集） ===== */
.sd-fmt-wrap{margin-top:14px;padding-top:14px;border-top:1px dashed #e6ebf3}
.sd-fmt{display:grid;grid-template-columns:122px minmax(0,1fr) 206px;gap:12px}
.sd-fmt-prev{margin-top:10px;padding:9px 11px;border:1px dashed #dfe6f0;border-radius:9px;background:#f7f9fc;color:#5d6e8a;font-size:12.5px;font-family:Consolas,Menlo,Monaco,monospace;letter-spacing:.3px;word-break:break-all;line-height:1.6}
.sd-fmt-wrap .sd-quick{margin-top:10px}
html.dark .sd-fmt-wrap{border-top-color:#25304a}
html.dark .sd-fmt-prev{background:#141c2b;border-color:#2b3650;color:#93a3bd}
@media(max-width:900px){.sd-fmt{grid-template-columns:1fr}}

/* ===== 加固服务：上传/报告/进度 ===== */
.hd-progress{margin-top:10px;font-size:12.5px;color:#8494ad;min-height:16px}
.hd-report{margin-top:14px;padding:14px 16px;border:1px solid #e2e8f2;border-radius:12px;background:#f7f9fc}
.hd-report p{margin:0 0 6px;font-size:12.5px;color:#3f5170;line-height:1.65}
.hd-report p.hd-note{color:#b26a00}
.hd-report-f{margin-top:10px;display:flex;gap:10px}
html.dark .hd-report{background:#141c2b;border-color:#2b3650}
html.dark .hd-report p{color:#b9c6db}
html.dark .hd-report p.hd-note{color:#e0a94a}
.hd-lev.active{border-color:#3b82f6}
.hd-run[disabled]{opacity:.65}

/* ===== 加固页：档位参数摘要与开/关标记 ===== */
.hd-fsum{margin:2px 0 12px;padding:8px 12px;border-radius:9px;background:#f2f6fd;color:#3f5170;font-size:12.5px;line-height:1.6;border:1px dashed #d6e2f5}
html.dark .hd-fsum{background:#141c2b;border-color:#2b3650;color:#b9c6db}
.hd-feat .hd-tag2{margin-left:auto;font-size:11.5px;padding:2px 8px;border-radius:20px;background:#f2f5fa;color:#93a0b6;border:1px solid #e2e8f2;white-space:nowrap}
.hd-feat .hd-tag2.on{background:#eaf7ef;color:#2f9e63;border-color:#c9ebd8}
html.dark .hd-feat .hd-tag2{background:#1a2233;border-color:#2b3650;color:#7d8ba3}
html.dark .hd-feat .hd-tag2.on{background:#12291d;border-color:#1f5a3a;color:#5fd39a}
.hd-feat.off{opacity:.55}
.hd-feat.off .hd-ico.hd-off svg{stroke:#93a0b6}
