/* C / D / E 深化版。展示字体只用于工作台问候、日期和概览。 */
body:is([data-theme="editorial"],[data-theme="luxury"],[data-theme="swiss"]){font-family:var(--font-body,'Microsoft YaHei',sans-serif)}
body:is([data-theme="editorial"],[data-theme="luxury"],[data-theme="swiss"]) .metric-value{font-variant-numeric:lining-nums tabular-nums;font-feature-settings:'lnum' 1,'tnum' 1;font-size:36px;line-height:1.2;letter-spacing:-.5px}

/* C 杂志风：横向版心、开放章节、深墨与纸面，信息排列如工作刊物。 */
body[data-theme="editorial"]{--bg:#f4f0e6;--surface:#fbf8ef;--surface-soft:#eae3d5;--ink:#24261f;--muted:#777b6d;--line:#d7d3c5;--line-strong:#989a88;--accent:#56624a;--accent-soft:#e0e4d6;--accent-ink:#fffdf4;--metal:#ad8e51;--radius:0;--shadow:none}
html[data-mode="dark"] body[data-theme="editorial"]{--bg:#21251f;--surface:#282d25;--surface-soft:#333a2e;--ink:#f1eddf;--muted:#b0b8a6;--line:#434c3d;--line-strong:#7b866f;--accent:#b5c19d;--accent-soft:#3c4934;--accent-ink:#20271b;--metal:#c9ad72}
body[data-theme="editorial"] .eval-bar{background:var(--bg);border-bottom:1px solid var(--line-strong)}
body[data-theme="editorial"] .topbar{height:80px;min-height:80px;max-width:1320px;padding:20px 52px;border-bottom:1px solid var(--line-strong)}
body[data-theme="editorial"] .breadcrumb{font-size:10px;letter-spacing:1.8px;text-transform:uppercase}
body[data-theme="editorial"] .breadcrumb:before{content:'正';display:inline-block;border:1px solid var(--ink);color:var(--ink);font-size:15px;line-height:27px;width:27px;text-align:center;margin-right:16px;letter-spacing:0}
body[data-theme="editorial"] .top-actions{gap:24px}
body[data-theme="editorial"] .mini-avatar{background:transparent;border:1px solid var(--line-strong);color:var(--ink);border-radius:0}
body[data-theme="editorial"] #main-content{max-width:1320px;padding:52px 52px 55px}
body[data-theme="editorial"] .welcome-block{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:60px;align-items:end;padding:8px 0 46px;min-height:250px;border-bottom:2px solid var(--ink)}
body[data-theme="editorial"] .welcome-block:before{content:'日常工作 · 十月刊';position:absolute;right:0;top:0;letter-spacing:2px;font-size:10px;color:var(--muted)}
body[data-theme="editorial"] .welcome-copy .eyebrow{color:var(--accent);font-size:10px;letter-spacing:4px;margin-bottom:16px}
body[data-theme="editorial"] .welcome-title{font-family:var(--font-serif-head);font-size:60px;font-weight:600;line-height:1.35;letter-spacing:1px;margin:0 0 24px;max-width:680px}
body[data-theme="editorial"] .welcome-title br{display:none}
body[data-theme="editorial"] .welcome-note{font-size:13px;letter-spacing:1px;line-height:1.8}
body[data-theme="editorial"] .date-display{flex-direction:column;align-items:flex-end;gap:0;text-align:right;padding:16px 0 0;border-top:1px solid var(--metal)}
body[data-theme="editorial"] .day-number{font-family:var(--font-serif-head);font-size:88px;line-height:.95;font-weight:500;color:var(--ink);letter-spacing:-3px}
body[data-theme="editorial"] .date-meta{margin-top:17px;border:0;padding:0;font-size:11px;gap:5px;letter-spacing:.5px}
body[data-theme="editorial"] .date-meta b{font-size:12px;font-weight:500}
body[data-theme="editorial"] .hub-metrics{padding:25px 0 30px;margin:0 0 48px;border-top:0;border-bottom:1px solid var(--line-strong);gap:0}
body[data-theme="editorial"] .hub-metrics .metric-card{padding:0 30px;background:none;border:0;border-left:1px solid var(--line);border-radius:0;box-shadow:none}
body[data-theme="editorial"] .hub-metrics .metric-card:first-child{padding-left:0;border-left:0}
body[data-theme="editorial"] .hub-metrics .metric-label{font-size:11px;letter-spacing:1.8px;color:var(--accent)}
body[data-theme="editorial"] .hub-metrics .metric-value{font-family:var(--font-serif-head);font-weight:600;font-size:38px;line-height:1.2;margin:12px 10px 10px 0}
body[data-theme="editorial"] .hub-metrics .metric-note{font-size:11px;color:var(--muted)}
body[data-theme="editorial"] .hub-content{grid-template-columns:minmax(0,1.55fr) minmax(260px,1fr);gap:65px}
body[data-theme="editorial"] .hub-home .section-head{position:relative;align-items:end;padding:0 0 18px;border-bottom:1px solid var(--ink);margin-bottom:0}
body[data-theme="editorial"] .section-head>div{gap:15px;align-items:baseline}
body[data-theme="editorial"] .section-head .section-number{font-size:11px;line-height:1;letter-spacing:2px;color:var(--accent);padding:6px 0;border-top:1px solid var(--accent)}
body[data-theme="editorial"] .section-head h2{font-size:18px;font-weight:600;letter-spacing:2px}
body[data-theme="editorial"] .section-head>span{font-size:9px;letter-spacing:1px}
body[data-theme="editorial"] .app-links{padding:0}
body[data-theme="editorial"] .app-entry{display:grid;grid-template-columns:31px 39px minmax(0,1fr) 22px;gap:18px;min-height:128px;padding:28px 0;border-bottom:1px solid var(--line-strong);transition:padding .2s,background .2s}
body[data-theme="editorial"] .app-entry:last-child{border-bottom:1px solid var(--line-strong)}
body[data-theme="editorial"] .app-entry:hover{background:var(--surface-soft);padding-inline:12px}
body[data-theme="editorial"] .app-code{display:block;font-size:15px;font-weight:400;letter-spacing:1px;color:var(--metal)}
body[data-theme="editorial"] .app-symbol{background:none;border:1px solid var(--line);color:var(--accent);width:37px;height:45px;border-radius:0}
body[data-theme="editorial"] .app-symbol .icon{width:19px;height:19px}
body[data-theme="editorial"] .app-entry .entry-copy h3{font-size:18px;font-weight:500;letter-spacing:1px;margin-bottom:7px}
body[data-theme="editorial"] .app-entry .entry-copy p{font-size:11px;line-height:1.9}
body[data-theme="editorial"] .recent-apps{margin-top:25px;padding-top:15px;border:0;gap:20px}
body[data-theme="editorial"] .recent-chip{padding:4px 0;letter-spacing:.5px;border-bottom:1px solid var(--line-strong)}
body[data-theme="editorial"] .hub-aside{gap:37px}
body[data-theme="editorial"] .todo-item{gap:14px;padding:23px 0;border-bottom:1px solid var(--line)}
body[data-theme="editorial"] .todo-item input{border-radius:0;border-color:var(--line-strong)}
body[data-theme="editorial"] .todo-item b{font-size:12px;font-weight:500;letter-spacing:.3px}
body[data-theme="editorial"] .todo-item small{font-size:10px;margin-top:9px}
body[data-theme="editorial"] .announcement-item{padding:21px 0 0}
body[data-theme="editorial"] .notice-date{font-size:10px;letter-spacing:2px;border-bottom:1px solid var(--metal);display:inline-block;padding-bottom:5px;color:var(--metal)}
body[data-theme="editorial"] .announcement-item h3{font-size:14px;font-weight:500;letter-spacing:.6px;margin-top:18px}
body[data-theme="editorial"] .announcement-item p{font-size:11px;line-height:1.9}
body[data-theme="editorial"] .announcement-item .text-link{margin-top:20px;font-size:10px}
body[data-theme="editorial"] .page-foot{margin-top:50px;border-top:1px solid var(--ink);padding-top:19px;letter-spacing:1px}
body[data-theme="editorial"] .back-hub{font-size:10px;margin-bottom:26px;letter-spacing:1px}
body[data-theme="editorial"] .subapp-head{align-items:end;padding:0 0 30px;margin:0;border-bottom:2px solid var(--ink)}
body[data-theme="editorial"] .subapp-title h1{font-size:34px;letter-spacing:1px;font-weight:500;margin-top:17px}
body[data-theme="editorial"] .subapp-title p:last-child{font-size:12px;letter-spacing:.3px}
body[data-theme="editorial"] .subapp-actions .button{border-radius:0;min-height:42px;padding-inline:19px}
body[data-theme="editorial"] .local-nav{gap:0;margin-bottom:32px;border-top:0;border-bottom:1px solid var(--line-strong);counter-reset:chapters}
body[data-theme="editorial"] .local-nav button{counter-increment:chapters;padding:17px 28px 17px 0;letter-spacing:.5px;font-size:11px;border-bottom:0;box-shadow:none}
body[data-theme="editorial"] .local-nav button:before{content:'0' counter(chapters);color:var(--muted);font-size:9px;margin-right:10px}
body[data-theme="editorial"] .local-nav button.active{box-shadow:inset 0 -2px var(--accent);font-weight:600}
body[data-theme="editorial"] .metric-grid{margin-bottom:35px;padding:8px 0 25px;border-bottom:1px solid var(--line);gap:0}
body[data-theme="editorial"] .metric-grid .metric-card{border:0;border-left:1px solid var(--line);padding:0 24px;background:none;box-shadow:none;border-radius:0}
body[data-theme="editorial"] .metric-grid .metric-card:first-child{padding-left:0;border-left:0}
body[data-theme="editorial"] .metric-grid .metric-value{font-family:var(--font-body);font-weight:500;margin:13px 8px 12px 0}
body[data-theme="editorial"] .metric-grid .metric-label{font-size:11px;letter-spacing:.5px}
body[data-theme="editorial"] .metric-grid .metric-note{font-size:10px}
body[data-theme="editorial"] .data-panel{border:0;border-top:1px solid var(--ink);background:transparent;border-radius:0;box-shadow:none}
body[data-theme="editorial"] .panel-head{padding:20px 0;border-bottom:1px solid var(--line-strong)}
body[data-theme="editorial"] .panel-head h2{font-size:16px;letter-spacing:1px;font-weight:500}
body[data-theme="editorial"] .filter-bar{padding:18px 0;gap:15px;background:transparent}
body[data-theme="editorial"] :is(.period-tabs,.search-box,.filter-bar select,.form-grid input,.form-grid select){border-radius:0}
body[data-theme="editorial"] .period-tabs{background:var(--surface-soft);padding:0}
body[data-theme="editorial"] .period-tabs button{border-radius:0;padding:9px 15px}
body[data-theme="editorial"] .period-tabs button.active{background:var(--accent);color:var(--accent-ink)}
body[data-theme="editorial"] th{font-size:10px;padding-block:15px;background:var(--surface-soft);border-top:1px solid var(--line);border-bottom:1px solid var(--line-strong);letter-spacing:.4px}
body[data-theme="editorial"] td{font-size:11px;padding-block:23px;border-bottom:1px solid var(--line)}
body[data-theme="editorial"] .row-name{gap:14px}
body[data-theme="editorial"] .row-name .record-code{color:var(--metal);border-right:1px solid var(--line);padding-right:13px;font-size:10px}
body[data-theme="editorial"] .badge{border-radius:0;border-left:2px solid currentColor;padding:4px 8px;background:var(--accent-soft)}
body[data-theme="editorial"] .table-foot{padding:18px 0;border-top:1px solid var(--line-strong)}
body[data-theme="editorial"] .history-panel{background:transparent;border:0;border-top:1px solid var(--ink);border-radius:0;box-shadow:none}
body[data-theme="editorial"] .history-panel .section-head{padding:19px 0;border-bottom:1px solid var(--line-strong)}
body[data-theme="editorial"] .chart{padding-inline:15px}
body[data-theme="editorial"] .chart-column>div{background:var(--surface-soft);border-top:2px solid var(--accent);width:52%}
body[data-theme="editorial"] .chart-foot{padding-inline:0}
body[data-theme="editorial"] .activity-list{padding-inline:0}
body[data-theme="editorial"] .activity-item{padding-block:24px}
body[data-theme="editorial"] .archive-grid{padding:26px 0;gap:22px}
body[data-theme="editorial"] .archive-card{background:transparent;border:1px solid var(--line-strong);border-top:3px solid var(--accent);padding:25px;border-radius:0}
body[data-theme="editorial"] .export-panel{background:var(--surface);border:1px solid var(--line-strong);border-top:4px solid var(--ink);padding:38px;border-radius:0;box-shadow:none}
body[data-theme="editorial"] .export-panel h2{font-size:25px;letter-spacing:1px}
body[data-theme="editorial"] .export-option{border-radius:0;background:none;border-top:1px solid var(--ink);border-bottom:1px solid var(--ink);border-inline:0;padding-inline:0}
body[data-theme="editorial"] .file-symbol{background:none;color:var(--accent);border:1px solid var(--accent)}
body[data-theme="editorial"] .dialog{border-radius:0;border:1px solid var(--line-strong);border-top:4px solid var(--accent);padding:32px;box-shadow:0 18px 60px #0003}
body[data-theme="editorial"] .dialog-head{padding-bottom:20px;border-bottom:1px solid var(--line-strong)}
body[data-theme="editorial"] .detail-note{border-left:2px solid var(--metal);border-radius:0}
body[data-theme="editorial"] .dialog .button{border-radius:0}

/* D 静奢风：炭色侧翼、暖石纸面、黄铜细边与精确的精选卡比例。 */
body[data-theme="luxury"]{--bg:#eae7df;--surface:#fbfaf4;--surface-soft:#eeeae0;--ink:#30352b;--muted:#7c8071;--line:#dddccd;--line-strong:#b5ad94;--accent:#6c735a;--accent-soft:#e5e8db;--accent-ink:#fffef5;--metal:#a78c5b;--radius:15px;--shadow:0 5px 16px #2c332209,0 1px 2px #2c332206}
html[data-mode="dark"] body[data-theme="luxury"]{--bg:#181d18;--surface:#252d24;--surface-soft:#30382b;--ink:#ebeadd;--muted:#aeb5a2;--line:#3e4838;--line-strong:#69765b;--accent:#c1c6a4;--accent-soft:#3c4934;--accent-ink:#1f271b;--metal:#bca372;--shadow:0 6px 20px #0002,0 1px 2px #0001}
body[data-theme="luxury"] .workspace{grid-template-columns:222px minmax(0,1fr);gap:28px;padding:28px;align-items:start}
body[data-theme="luxury"] .sidebar{--ink:#f1eedd;--muted:#b4b8a5;--surface:#293125;--surface-soft:#394132;--line:#434b39;--line-strong:#778266;--accent:#c9ba90;--accent-soft:#424936;--accent-ink:#20271b;--metal:#b9a36c;background:#293125;border:1px solid #49513d;border-radius:17px;padding:31px 18px 23px;top:28px;height:calc(100vh - 100px);box-shadow:inset 0 0 0 5px #293125,inset 0 0 0 6px #626d481f,0 12px 24px #30352210;min-height:590px}
html[data-mode="dark"] body[data-theme="luxury"] .sidebar{background:#20271c;--surface:#20271c;--surface-soft:#303828;--line:#3c4532;box-shadow:inset 0 0 0 5px #20271c,inset 0 0 0 6px #b9a36c1c,0 8px 18px #0001}
body[data-theme="luxury"] .brand{gap:13px;padding:0 8px 27px;color:var(--ink)}
body[data-theme="luxury"] .brand-mark{border-radius:2px;width:38px;height:43px;background:transparent;color:var(--metal);border:1px solid var(--metal);box-shadow:inset 0 0 0 3px var(--surface),inset 0 0 0 4px #b9a36c55;font-size:25px}
body[data-theme="luxury"] .brand-words{font-size:18px;letter-spacing:2px}
body[data-theme="luxury"] .brand-words small{font-size:8px;letter-spacing:2px;color:var(--muted)}
body[data-theme="luxury"] .nav-caption{letter-spacing:2.5px;margin-top:8px;padding-left:11px;font-size:8px}
body[data-theme="luxury"] .side-nav{gap:7px}
body[data-theme="luxury"] .side-nav button{border-radius:8px;padding:13px 14px;min-height:47px;font-size:12px;color:var(--muted);border:1px solid transparent}
body[data-theme="luxury"] .side-nav button.active{color:var(--ink);background:var(--surface-soft);border-color:#76815b55;box-shadow:inset 2px 0 var(--metal)}
body[data-theme="luxury"] .side-nav button .icon{width:17px;height:17px}
body[data-theme="luxury"] .side-utilities{padding-top:20px;margin-top:1px}
body[data-theme="luxury"] .side-utilities button{font-size:10px;gap:14px;padding:8px 11px}
body[data-theme="luxury"] .side-utilities .icon{width:16px;height:16px}
body[data-theme="luxury"] .sidebar-note{font-size:11px;letter-spacing:2px;padding:20px 11px 6px}
body[data-theme="luxury"] .sidebar-note small{font-size:8px;letter-spacing:.2px;line-height:1.8}
body[data-theme="luxury"] .user-card{padding:21px 8px 0;color:var(--ink);font-size:12px}
body[data-theme="luxury"] .user-card .avatar{border:1px solid #75835b66;background:var(--surface-soft);color:var(--accent)}
body[data-theme="luxury"] .user-card small{font-size:8px;margin-top:4px}
body[data-theme="luxury"] .topbar{height:51px;min-height:51px;padding:0 5px;border-bottom:1px solid var(--line-strong)}
body[data-theme="luxury"] .top-actions{gap:19px}
body[data-theme="luxury"] .mini-avatar{border:1px solid var(--line-strong);background:var(--surface);border-radius:50%}
body[data-theme="luxury"] #main-content{max-width:1450px;padding:26px 5px 35px}
body[data-theme="luxury"] .welcome-block{padding:12px 0 32px;min-height:190px;align-items:center;gap:30px;border-bottom:1px solid var(--line-strong)}
body[data-theme="luxury"] .welcome-copy .eyebrow{font-size:9px;color:var(--metal);letter-spacing:3px}
body[data-theme="luxury"] .welcome-title{font-family:var(--font-serif-head);font-size:47px;line-height:1.5;letter-spacing:1px;font-weight:600;margin:11px 0 14px}
body[data-theme="luxury"] .welcome-title br{display:none}
body[data-theme="luxury"] .welcome-note{font-size:12px;letter-spacing:.6px;color:var(--muted)}
body[data-theme="luxury"] .date-display{min-width:183px;padding:22px 21px;background:var(--surface);border:1px solid var(--line-strong);border-radius:3px;gap:15px;box-shadow:inset 0 0 0 4px var(--surface),inset 0 0 0 5px var(--line)}
body[data-theme="luxury"] .day-number{font-family:var(--font-serif-head);font-size:60px;font-weight:500;color:var(--metal);letter-spacing:-2px}
body[data-theme="luxury"] .date-meta{padding-left:14px;border-left:1px solid var(--line-strong);font-size:9px;gap:4px}
body[data-theme="luxury"] .date-meta b{font-size:11px;font-weight:500}
body[data-theme="luxury"] .hub-metrics{gap:16px;margin:25px 0 35px;border:0}
body[data-theme="luxury"] .hub-metrics .metric-card{position:relative;min-height:173px;padding:22px 25px 20px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}
body[data-theme="luxury"] .hub-metrics .metric-card:before{content:'';position:absolute;top:22px;right:23px;width:16px;height:1px;background:var(--metal)}
body[data-theme="luxury"] .hub-metrics .metric-card:first-child{border-color:var(--line-strong);box-shadow:inset 0 0 0 4px var(--surface),inset 0 0 0 5px var(--line),var(--shadow)}
body[data-theme="luxury"] .hub-metrics .metric-label{font-size:11px;color:var(--muted);letter-spacing:.8px}
body[data-theme="luxury"] .hub-metrics .metric-value{font-family:var(--font-serif-head);font-size:38px;line-height:1.2;font-weight:600;color:var(--ink);margin:16px 9px 13px 0}
body[data-theme="luxury"] .hub-metrics .metric-note{font-size:10px;letter-spacing:.2px}
body[data-theme="luxury"] .hub-content{grid-template-columns:minmax(0,1fr) 280px;gap:24px}
body[data-theme="luxury"] .hub-home .section-head{border:0;padding:0 1px 20px;margin:0}
body[data-theme="luxury"] .section-head>div{gap:12px}
body[data-theme="luxury"] .section-number{border:1px solid var(--line-strong);color:var(--metal);border-radius:50%;display:grid;place-items:center;width:24px;height:24px;font-size:9px;letter-spacing:0}
body[data-theme="luxury"] .section-head h2{font-size:15px;letter-spacing:.8px;font-weight:500}
body[data-theme="luxury"] .section-head>span{font-size:9px;color:var(--muted)}
body[data-theme="luxury"] .app-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body[data-theme="luxury"] .app-entry{position:relative;min-height:261px;border:1px solid var(--line);background:var(--surface);border-radius:13px;padding:28px 23px 22px;gap:28px;box-shadow:var(--shadow);overflow:hidden}
body[data-theme="luxury"] .app-entry:before{content:'';position:absolute;left:23px;right:23px;top:0;height:2px;background:var(--metal);opacity:.65}
body[data-theme="luxury"] .app-entry:hover{background:var(--surface);border-color:var(--line-strong);box-shadow:0 10px 27px #30352213;transform:translateY(-2px)}
body[data-theme="luxury"] .app-code{position:absolute;right:23px;top:32px;font-size:10px;color:var(--metal);letter-spacing:1px}
body[data-theme="luxury"] .app-symbol{width:45px;height:49px;border:1px solid var(--line-strong);border-radius:4px;background:var(--surface-soft);color:var(--accent);box-shadow:inset 0 0 0 3px var(--surface-soft),inset 0 0 0 4px var(--line)}
body[data-theme="luxury"] .app-symbol .icon{width:23px;height:23px}
body[data-theme="luxury"] .app-entry .entry-copy h3{font-size:17px;font-weight:500;line-height:1.65;letter-spacing:.6px;margin-bottom:10px}
body[data-theme="luxury"] .app-entry .entry-copy p{font-size:11px;line-height:1.85}
body[data-theme="luxury"] .entry-arrow{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:var(--metal);border:1px solid var(--line-strong)}
body[data-theme="luxury"] .entry-arrow .icon{width:15px;height:15px}
body[data-theme="luxury"] .recent-apps{border-top:0;margin-top:6px;padding:22px 0 0;gap:14px;font-size:9px}
body[data-theme="luxury"] .recent-chip{background:var(--surface);border:1px solid var(--line);border-radius:4px;padding:7px 11px;font-size:9px}
body[data-theme="luxury"] .hub-aside{gap:19px}
body[data-theme="luxury"] :is(.todo-panel,.notice-panel){background:var(--surface);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);padding:22px 23px}
body[data-theme="luxury"] .hub-aside .section-head{padding-bottom:14px;border-bottom:1px solid var(--line)}
body[data-theme="luxury"] .hub-aside .section-number{border:0;width:auto;height:auto;font-size:10px;color:var(--metal)}
body[data-theme="luxury"] .todo-item{gap:13px;padding:20px 0;border-color:var(--line)}
body[data-theme="luxury"] .todo-item b{font-size:11px;font-weight:500}
body[data-theme="luxury"] .todo-item small{font-size:9px;margin-top:7px}
body[data-theme="luxury"] .todo-item input{border-radius:50%;width:14px;height:14px;border-color:var(--line-strong)}
body[data-theme="luxury"] .announcement-item{padding:18px 0 0}
body[data-theme="luxury"] .notice-date{font-size:9px;color:var(--metal);letter-spacing:1.5px}
body[data-theme="luxury"] .announcement-item h3{font-size:12px;line-height:1.8;margin-top:10px}
body[data-theme="luxury"] .announcement-item p{font-size:10px;line-height:1.8}
body[data-theme="luxury"] .announcement-item .text-link{font-size:10px;margin-top:16px}
body[data-theme="luxury"] .page-foot{border-top-color:var(--line-strong);font-size:9px;margin-top:32px}
body[data-theme="luxury"] .back-hub{font-size:10px;margin-bottom:26px}
body[data-theme="luxury"] .subapp-head{padding:5px 0 27px;border-bottom:1px solid var(--line-strong);margin-bottom:23px}
body[data-theme="luxury"] .subapp-title h1{font-size:32px;font-weight:500;letter-spacing:.4px;margin:12px 0}
body[data-theme="luxury"] .subapp-title p:last-child{font-size:11px}
body[data-theme="luxury"] .subapp-actions .button{border-radius:6px;min-height:42px;padding-inline:18px;font-size:11px}
body[data-theme="luxury"] .button.primary{background:var(--accent);color:var(--accent-ink)}
body[data-theme="luxury"] .local-nav{gap:0;padding:5px;border:1px solid var(--line);background:var(--surface-soft);border-radius:9px;margin-bottom:28px}
body[data-theme="luxury"] .local-nav button{font-size:11px;padding:10px 19px;border-radius:5px;border-bottom:0}
body[data-theme="luxury"] .local-nav button.active{background:var(--surface);color:var(--ink);box-shadow:0 1px 4px #0000000b;font-weight:500}
body[data-theme="luxury"] .metric-grid{gap:15px;margin-bottom:28px}
body[data-theme="luxury"] .metric-grid .metric-card{padding:20px 23px;border:1px solid var(--line);border-radius:11px;min-height:159px;background:var(--surface)}
body[data-theme="luxury"] .metric-grid .metric-value{font-family:var(--font-body);font-weight:500;margin-top:13px;margin-bottom:11px}
body[data-theme="luxury"] .metric-grid .metric-label{font-size:11px}
body[data-theme="luxury"] .metric-grid .metric-note{font-size:10px}
body[data-theme="luxury"] .data-panel{border:1px solid var(--line);background:var(--surface);border-radius:14px;overflow:hidden;box-shadow:var(--shadow)}
body[data-theme="luxury"] .panel-head{padding:23px 25px;border-bottom:1px solid var(--line)}
body[data-theme="luxury"] .panel-head h2{font-size:16px;font-weight:500;letter-spacing:.5px}
body[data-theme="luxury"] .panel-head>span{font-size:9px}
body[data-theme="luxury"] .panel-head .section-number{border:0;width:auto;height:auto;margin-right:1px}
body[data-theme="luxury"] .filter-bar{padding:18px 25px;background:var(--surface-soft);border-bottom:1px solid var(--line);gap:12px}
body[data-theme="luxury"] .period-tabs{padding:3px;border:1px solid var(--line);background:var(--surface);border-radius:6px}
body[data-theme="luxury"] .period-tabs button{border-radius:3px;font-size:10px;padding:5px 13px}
body[data-theme="luxury"] .period-tabs button.active{background:var(--accent-soft);color:var(--accent)}
body[data-theme="luxury"] :is(.search-box,.filter-bar select){border-radius:5px}
body[data-theme="luxury"] .date-control input{background:none}
body[data-theme="luxury"] .records-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:25px}
body[data-theme="luxury"] .record-card{position:relative;padding:21px 22px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:none;min-height:194px}
body[data-theme="luxury"] .record-card:hover{border-color:var(--line-strong);box-shadow:0 5px 16px #30352208}
body[data-theme="luxury"] .record-card-top{margin-bottom:16px}
body[data-theme="luxury"] .record-card-top>span{color:var(--metal);font-size:10px;border-bottom:1px solid var(--line-strong);padding-bottom:4px}
body[data-theme="luxury"] .record-card h3{font-size:18px;font-weight:500;letter-spacing:.4px}
body[data-theme="luxury"] .record-card p{font-size:10px;line-height:1.85;margin-top:12px}
body[data-theme="luxury"] .card-footer{padding-top:13px;margin-top:20px;font-size:9px}
body[data-theme="luxury"] .card-footer .text-link{font-size:10px;gap:8px}
body[data-theme="luxury"] .badge{border-radius:4px;font-size:9px;padding:4px 7px;letter-spacing:.3px}
body[data-theme="luxury"] .table-foot{font-size:9px;padding:17px 25px;border-top:1px solid var(--line);background:var(--surface-soft)}
body[data-theme="luxury"] .history-panel{background:var(--surface);border:1px solid var(--line);border-radius:13px;overflow:hidden;padding:24px}
body[data-theme="luxury"] .history-panel .section-head{border-bottom:1px solid var(--line);padding:0 0 20px}
body[data-theme="luxury"] .chart{padding-inline:8px}
body[data-theme="luxury"] .chart-column>div{border-radius:3px 3px 0 0;background:var(--accent-soft);border-top:2px solid var(--metal);width:48%}
body[data-theme="luxury"] .chart-foot{padding:18px 0 0}
body[data-theme="luxury"] .activity-list{padding-inline:0}
body[data-theme="luxury"] .archive-grid{padding:24px 0 0;gap:16px}
body[data-theme="luxury"] .archive-card{background:var(--surface-soft);border:1px solid var(--line);border-radius:7px;padding:23px}
body[data-theme="luxury"] .export-panel{border-radius:13px;max-width:820px;padding:38px;border:1px solid var(--line);box-shadow:var(--shadow)}
body[data-theme="luxury"] .export-panel h2{font-size:25px;letter-spacing:.5px}
body[data-theme="luxury"] .export-option{border:1px solid var(--line-strong);background:var(--surface-soft);border-radius:8px;padding:25px;box-shadow:inset 0 0 0 4px var(--surface-soft),inset 0 0 0 5px var(--line)}
body[data-theme="luxury"] .file-symbol{border:1px solid var(--line-strong);border-radius:2px;background:var(--surface);color:var(--metal)}
body[data-theme="luxury"] .dialog{border-radius:14px;border:1px solid var(--line-strong);box-shadow:inset 0 0 0 5px var(--surface),inset 0 0 0 6px var(--line),0 20px 70px #0003;padding:34px}
body[data-theme="luxury"] .dialog-head{padding-bottom:22px;border-bottom:1px solid var(--line);margin-bottom:24px}
body[data-theme="luxury"] .dialog-head h2{font-size:21px;font-weight:500;letter-spacing:.6px}
body[data-theme="luxury"] .detail-title>.record-code{font-size:10px;color:var(--metal);border-bottom:1px solid var(--line-strong);padding-bottom:4px}
body[data-theme="luxury"] .detail-note{background:var(--surface-soft);border:1px solid var(--line);border-radius:4px;font-size:11px}
body[data-theme="luxury"] .dialog :is(input,select,.button){border-radius:5px}
body[data-theme="luxury"] .dialog-actions{padding-top:19px;border-top:1px solid var(--line)}

/* E 瑞士风：明确的网格节奏、强对比块面、编号与列表详情双栏。 */
body[data-theme="swiss"]{--bg:#f4f4ef;--surface:#fffef8;--surface-soft:#e5e6dd;--ink:#171c17;--muted:#6f776b;--line:#d0d5c8;--line-strong:#969e8d;--accent:#d94429;--accent-soft:#f2dfd6;--accent-ink:#fff9ed;--radius:0;--shadow:none}
html[data-mode="dark"] body[data-theme="swiss"]{--bg:#171b17;--surface:#222821;--surface-soft:#30392d;--ink:#f0f1e6;--muted:#abb5a0;--line:#3f4c38;--line-strong:#748469;--accent:#f17b56;--accent-soft:#4a3125;--accent-ink:#1f1b13}
body[data-theme="swiss"] .workspace{grid-template-columns:186px minmax(0,1fr);gap:0}
body[data-theme="swiss"] .sidebar{padding:31px 20px 22px;background:var(--bg);border-right:1px solid var(--ink);gap:26px}
body[data-theme="swiss"] .brand{align-items:flex-start;padding-bottom:17px;gap:11px}
body[data-theme="swiss"] .brand-mark{width:34px;height:38px;font-size:24px;border:0;background:var(--accent);color:var(--accent-ink)}
body[data-theme="swiss"] .brand-words{font-size:17px;letter-spacing:.6px;font-weight:600}
body[data-theme="swiss"] .brand-words small{font-size:8px;letter-spacing:1px;margin-top:5px}
body[data-theme="swiss"] .nav-caption{font-size:8px;letter-spacing:2px;margin-top:0}
body[data-theme="swiss"] .side-nav{border-top:2px solid var(--ink);gap:0}
body[data-theme="swiss"] .side-nav button{border-bottom:1px solid var(--line-strong);border-radius:0;min-height:55px;padding:14px 8px;font-size:11px;gap:11px;color:var(--ink);font-weight:500}
body[data-theme="swiss"] .side-nav button.active{background:var(--ink);color:var(--bg);box-shadow:none;padding:14px 8px}
body[data-theme="swiss"] .side-nav .icon{width:17px;height:17px}
body[data-theme="swiss"] .side-utilities{border-top:0;gap:0;padding-top:0}
body[data-theme="swiss"] .side-utilities button{font-size:10px;padding:10px 7px;gap:12px}
body[data-theme="swiss"] .side-utilities .icon{width:15px;height:15px}
body[data-theme="swiss"] .sidebar-note{font-size:11px;font-weight:600;letter-spacing:.5px}
body[data-theme="swiss"] .sidebar-note small{font-size:8px;letter-spacing:0;font-weight:400;line-height:1.8}
body[data-theme="swiss"] :is(.avatar,.mini-avatar){border-radius:0;background:var(--ink);color:var(--bg)}
body[data-theme="swiss"] .user-card{font-size:11px;gap:10px;border-top:1px solid var(--ink);padding-top:20px}
body[data-theme="swiss"] .user-card small{font-size:8px;margin-top:4px}
body[data-theme="swiss"] .topbar{height:64px;padding:0 38px;border-bottom:1px solid var(--ink);background:transparent}
body[data-theme="swiss"] .breadcrumb{font-size:10px;letter-spacing:.6px}
body[data-theme="swiss"] .breadcrumb b{font-weight:600}
body[data-theme="swiss"] .top-actions{gap:16px}
body[data-theme="swiss"] #main-content{max-width:1580px;padding:37px 38px 38px}
body[data-theme="swiss"] .welcome-block{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 208px;gap:38px;align-items:stretch;border-bottom:4px solid var(--ink);padding:4px 0 34px;min-height:246px}
body[data-theme="swiss"] .welcome-copy .eyebrow{color:var(--ink);font-size:10px;font-weight:600;letter-spacing:1.1px}
body[data-theme="swiss"] .welcome-copy .eyebrow:before{content:'';display:inline-block;vertical-align:middle;width:15px;height:15px;background:var(--accent);margin-right:10px}
body[data-theme="swiss"] .welcome-title{font-family:var(--font-sans-display);font-size:66px;letter-spacing:-2px;line-height:1.2;font-weight:700;margin:20px 0 20px}
body[data-theme="swiss"] .welcome-title br{display:block}
body[data-theme="swiss"] .welcome-note{font-size:12px;letter-spacing:.3px}
body[data-theme="swiss"] .date-display{background:var(--accent);color:var(--accent-ink);padding:21px 24px;border:0;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:12px}
body[data-theme="swiss"] .day-number{font-family:var(--font-sans-display);font-size:82px;line-height:.92;font-weight:700;color:var(--accent-ink);letter-spacing:-3px}
body[data-theme="swiss"] .date-meta{display:grid;grid-template-columns:1fr;gap:4px;border:0;margin:0;padding:0;font-size:10px;color:var(--accent-ink)}
body[data-theme="swiss"] .date-meta b{font-size:13px;font-weight:600;color:var(--accent-ink)}
body[data-theme="swiss"] .hub-metrics{grid-template-columns:1fr 1fr 1fr;gap:0;padding:0;margin:0 0 40px;border-top:0;border-bottom:1px solid var(--ink)}
body[data-theme="swiss"] .hub-metrics .metric-card{display:block;min-height:165px;padding:23px 28px 22px;border:0;border-right:1px solid var(--line-strong);border-radius:0;background:transparent;box-shadow:none}
body[data-theme="swiss"] .hub-metrics .metric-card:first-child{padding-left:0}
body[data-theme="swiss"] .hub-metrics .metric-card:last-child{border-right:0}
body[data-theme="swiss"] .hub-metrics .metric-label{font-size:11px;color:var(--ink);letter-spacing:.5px;font-weight:600}
body[data-theme="swiss"] .hub-metrics .metric-value{font-family:var(--font-sans-display);font-size:38px;line-height:1.2;font-weight:700;margin:12px 10px 9px 0}
body[data-theme="swiss"] .hub-metrics .metric-note{font-size:10px}
body[data-theme="swiss"] .hub-content{grid-template-columns:minmax(0,1.5fr) minmax(265px,1fr);gap:0}
body[data-theme="swiss"] .app-directory{background:none;padding-right:35px;border:0;border-right:1px solid var(--line-strong);border-radius:0}
body[data-theme="swiss"] .hub-aside{padding-left:35px;gap:30px}
body[data-theme="swiss"] .hub-home .section-head{border-top:3px solid var(--ink);border-bottom:1px solid var(--line-strong);padding:18px 0;margin-bottom:0}
body[data-theme="swiss"] .section-head>div{gap:16px;align-items:baseline}
body[data-theme="swiss"] .section-head h2{font-size:17px;font-weight:700;letter-spacing:.4px}
body[data-theme="swiss"] .section-number{font-size:10px;color:var(--accent);font-weight:600}
body[data-theme="swiss"] .section-head>span{font-size:9px}
body[data-theme="swiss"] .app-entry{grid-template-columns:51px 32px minmax(0,1fr) 25px;gap:18px;min-height:127px;padding:27px 0;border-bottom:1px solid var(--line-strong);background:none;position:relative;transition:background .15s}
body[data-theme="swiss"] .app-entry:last-child{border-bottom:1px solid var(--line-strong)}
body[data-theme="swiss"] .app-entry:hover{background:var(--surface-soft)}
body[data-theme="swiss"] .app-code{display:block;color:var(--ink);font-size:32px;font-weight:700;letter-spacing:-1px;line-height:1}
body[data-theme="swiss"] .app-entry:first-child .app-code{color:var(--accent)}
body[data-theme="swiss"] .app-symbol{width:29px;height:33px;display:grid;place-items:center;color:var(--ink);border:0;background:none}
body[data-theme="swiss"] .app-symbol .icon{width:24px;height:24px}
body[data-theme="swiss"] .app-entry .entry-copy h3{font-size:19px;font-weight:700;letter-spacing:-.2px;margin-bottom:8px}
body[data-theme="swiss"] .app-entry .entry-copy p{font-size:11px;line-height:1.8}
body[data-theme="swiss"] .entry-arrow{background:var(--ink);color:var(--bg);display:grid;place-items:center;width:24px;height:24px}
body[data-theme="swiss"] .entry-arrow .icon{width:16px;height:16px}
body[data-theme="swiss"] .recent-apps{padding:19px 0 0;margin-top:19px;border:0;gap:13px}
body[data-theme="swiss"] .recent-chip{border:1px solid var(--ink);border-radius:0;background:none;padding:7px 11px;font-size:9px}
body[data-theme="swiss"] .todo-item{padding-block:24px;gap:13px}
body[data-theme="swiss"] .todo-item input{border-radius:0;border-color:var(--ink);height:14px;width:14px}
body[data-theme="swiss"] .todo-item b{font-size:12px;font-weight:500}
body[data-theme="swiss"] .todo-item small{font-size:9px;margin-top:9px}
body[data-theme="swiss"] .announcement-item{padding:23px 0 0}
body[data-theme="swiss"] .notice-date{display:inline-block;background:var(--ink);color:var(--bg);padding:5px 9px;font-size:10px;letter-spacing:1px}
body[data-theme="swiss"] .announcement-item h3{font-size:15px;font-weight:600;line-height:1.7;margin-top:15px}
body[data-theme="swiss"] .announcement-item p{font-size:11px;line-height:1.8}
body[data-theme="swiss"] .announcement-item .text-link{font-size:10px;font-weight:600}
body[data-theme="swiss"] .page-foot{border-top:2px solid var(--ink);font-size:9px;margin-top:43px}
body[data-theme="swiss"] .back-hub{font-size:10px;letter-spacing:.3px;margin-bottom:25px}
body[data-theme="swiss"] .subapp-head{align-items:end;padding-bottom:26px;border-bottom:4px solid var(--ink);margin-bottom:0}
body[data-theme="swiss"] .subapp-title h1{font-size:37px;font-weight:700;letter-spacing:-1px;line-height:1.4;margin:13px 0}
body[data-theme="swiss"] .subapp-title .eyebrow{font-size:10px;letter-spacing:.7px;color:var(--accent);font-weight:600}
body[data-theme="swiss"] .subapp-title p:last-child{font-size:11px;letter-spacing:.2px}
body[data-theme="swiss"] .subapp-actions .button{border-radius:0;min-height:43px;font-size:11px;padding-inline:18px;font-weight:600}
body[data-theme="swiss"] .button.primary{background:var(--accent);color:var(--accent-ink)}
body[data-theme="swiss"] .button.secondary{background:none;border-color:var(--ink)}
body[data-theme="swiss"] .local-nav{margin:0 0 28px;border-bottom:1px solid var(--ink);gap:0;counter-reset:local}
body[data-theme="swiss"] .local-nav button{counter-increment:local;border-bottom:0;border-right:1px solid var(--line-strong);padding:16px 20px;font-size:11px;border-radius:0;font-weight:500;color:var(--ink)}
body[data-theme="swiss"] .local-nav button:before{content:'0' counter(local);font-size:9px;color:var(--muted);margin-right:10px}
body[data-theme="swiss"] .local-nav button.active{background:var(--ink);color:var(--bg);box-shadow:none}
body[data-theme="swiss"] .local-nav button.active:before{color:var(--bg);opacity:.55}
body[data-theme="swiss"] .metric-grid{gap:0;padding:0 0 27px;border-bottom:1px solid var(--ink);margin-bottom:30px}
body[data-theme="swiss"] .metric-grid .metric-card{padding:0 25px;border:0;border-right:1px solid var(--line-strong);background:none;box-shadow:none;border-radius:0}
body[data-theme="swiss"] .metric-grid .metric-card:first-child{padding-left:0}
body[data-theme="swiss"] .metric-grid .metric-card:last-child{border-right:0}
body[data-theme="swiss"] .metric-grid .metric-value{font-family:var(--font-body);font-weight:600;margin-top:12px;margin-bottom:10px}
body[data-theme="swiss"] .metric-grid .metric-label{font-size:11px;letter-spacing:.3px;color:var(--ink)}
body[data-theme="swiss"] .metric-grid .metric-note{font-size:10px}
body[data-theme="swiss"] .content-grid.with-aside{grid-template-columns:minmax(0,1.8fr) minmax(250px,.9fr);gap:31px;align-items:start}
body[data-theme="swiss"] .data-panel{background:none;border:0;border-top:3px solid var(--ink);border-radius:0;box-shadow:none}
body[data-theme="swiss"] .panel-head{padding:20px 0;border-bottom:1px solid var(--line-strong)}
body[data-theme="swiss"] .panel-head h2{font-size:16px;letter-spacing:.3px;font-weight:600}
body[data-theme="swiss"] .filter-bar{padding:17px 0;gap:11px;border-bottom:1px solid var(--ink)}
body[data-theme="swiss"] .period-tabs{padding:0;border:1px solid var(--ink);background:none;border-radius:0}
body[data-theme="swiss"] .period-tabs button{padding:7px 12px;font-size:10px;border-radius:0}
body[data-theme="swiss"] .period-tabs button.active{background:var(--ink);color:var(--bg)}
body[data-theme="swiss"] :is(.search-box,.filter-bar input,.filter-bar select){border-radius:0}
body[data-theme="swiss"] .search-box{margin-left:auto;border-color:var(--line-strong);background:none}
body[data-theme="swiss"] .search-box input{width:140px}
body[data-theme="swiss"] .record-list{padding:0;gap:0}
body[data-theme="swiss"] .record-item{min-height:105px;padding:23px 14px 23px 0;gap:23px;border-bottom:1px solid var(--line-strong);border-radius:0;background:none;transition:background .15s,color .15s}
body[data-theme="swiss"] .record-item:last-child{border-bottom:1px solid var(--line-strong)}
body[data-theme="swiss"] .record-item>.record-code{font-size:22px;color:var(--ink);font-weight:600;min-width:39px;line-height:1}
body[data-theme="swiss"] .record-item-copy b{font-size:16px;font-weight:600;letter-spacing:.2px}
body[data-theme="swiss"] .record-item-copy small{font-size:10px;line-height:1.85;margin-top:7px}
body[data-theme="swiss"] .record-item-copy small span{margin-left:11px}
body[data-theme="swiss"] .record-item:hover{background:var(--surface-soft)}
body[data-theme="swiss"] .record-item.selected{border-left:4px solid var(--accent);background:var(--ink);color:var(--bg);padding-left:14px;padding-right:14px;gap:19px}
body[data-theme="swiss"] .record-item.selected>.record-code{color:var(--bg)}
body[data-theme="swiss"] .record-item.selected .record-item-copy small{color:var(--bg);opacity:.7}
body[data-theme="swiss"] .record-item.selected>.icon{color:var(--bg)}
body[data-theme="swiss"] .badge{font-size:9px;padding:4px 7px;border-radius:0;border:1px solid currentColor;background:none}
body[data-theme="swiss"] .badge.warning{background:var(--warning-soft);border-color:transparent}
body[data-theme="swiss"] .badge.draft{background:var(--surface-soft);border-color:transparent}
body[data-theme="swiss"] .table-foot{padding:18px 0;font-size:9px;border:0}
body[data-theme="swiss"] .detail-aside{position:sticky;top:24px;background:var(--surface);border:1px solid var(--ink);border-top:6px solid var(--accent);padding:26px;box-shadow:none;border-radius:0;min-height:325px}
body[data-theme="swiss"] .detail-aside>.eyebrow{font-size:10px;color:var(--accent);font-weight:600}
body[data-theme="swiss"] .detail-aside>h3{font-size:22px;font-weight:600;letter-spacing:-.3px;margin:21px 0 17px;line-height:1.6}
body[data-theme="swiss"] .detail-aside>p{font-size:11px;line-height:1.9}
body[data-theme="swiss"] .detail-title>.record-code{font-size:21px;color:var(--ink);font-weight:600;line-height:1}
body[data-theme="swiss"] .detail-fields{margin:25px 0;font-size:11px}
body[data-theme="swiss"] .detail-fields>div{padding-block:13px;border-bottom:1px solid var(--line-strong)}
body[data-theme="swiss"] .detail-fields dd{font-size:12px;font-weight:500}
body[data-theme="swiss"] .detail-note{background:var(--surface-soft);border-left:3px solid var(--ink);padding:14px;font-size:11px;border-radius:0}
body[data-theme="swiss"] .detail-actions .button{font-size:11px;border-radius:0}
body[data-theme="swiss"] .history-panel{border:0;border-top:3px solid var(--ink);border-radius:0;background:none;box-shadow:none}
body[data-theme="swiss"] .history-panel .section-head{padding:20px 0;border-bottom:1px solid var(--ink)}
body[data-theme="swiss"] .chart{padding:33px 20px 25px;gap:15px}
body[data-theme="swiss"] .chart-column b{color:var(--ink);font-size:12px;font-weight:600}
body[data-theme="swiss"] .chart-column>div{width:72%;background:var(--ink);border-top:0}
body[data-theme="swiss"] .chart-column:last-child>div{background:var(--accent)}
body[data-theme="swiss"] .chart-foot{border-top:1px solid var(--ink);padding-inline:0}
body[data-theme="swiss"] .activity-list{padding-inline:0}
body[data-theme="swiss"] .activity-item{padding-block:26px;border-color:var(--line-strong)}
body[data-theme="swiss"] .activity-dot{border-radius:0;width:8px;height:8px}
body[data-theme="swiss"] .archive-grid{padding:24px 0;gap:16px}
body[data-theme="swiss"] .archive-card{background:none;border:1px solid var(--ink);border-top:5px solid var(--ink);border-radius:0;padding:24px}
body[data-theme="swiss"] .archive-card h3{font-size:20px;font-weight:600}
body[data-theme="swiss"] .archive-card:hover{border-top-color:var(--accent);background:var(--surface-soft)}
body[data-theme="swiss"] .export-panel{background:none;border:1px solid var(--ink);border-top:6px solid var(--accent);border-radius:0;padding:34px;box-shadow:none;max-width:820px}
body[data-theme="swiss"] .export-panel h2{font-size:27px;font-weight:600;letter-spacing:-.5px}
body[data-theme="swiss"] .export-option{padding:25px 0;background:none;border:0;border-block:1px solid var(--ink);border-radius:0}
body[data-theme="swiss"] .file-symbol{background:var(--ink);color:var(--bg);height:51px;width:47px}
body[data-theme="swiss"] .format-notes>span{border:1px solid var(--line-strong);padding:3px 9px}
body[data-theme="swiss"] .dialog{border:1px solid var(--ink);border-top:6px solid var(--accent);border-radius:0;padding:30px;box-shadow:0 20px 70px #0003}
body[data-theme="swiss"] .dialog-head{border-bottom:2px solid var(--ink);padding-bottom:22px;margin-bottom:23px}
body[data-theme="swiss"] .dialog-head h2{font-size:22px;font-weight:600;letter-spacing:-.3px}
body[data-theme="swiss"] .dialog :is(input,select,.button){border-radius:0}
body[data-theme="swiss"] .dialog-actions{border-top:1px solid var(--line-strong);padding-top:20px}

/* 结构与比例随屏幕变化；不将横向桌面构图硬缩成移动卡片。 */
@media(max-width:1350px){
  body[data-theme="editorial"] .welcome-title{font-size:53px}
  body[data-theme="editorial"] .welcome-block{gap:36px;grid-template-columns:minmax(0,1fr) 150px}
  body[data-theme="editorial"] .hub-content{gap:45px}
  body[data-theme="luxury"] .hub-content{grid-template-columns:minmax(0,1fr)}
  body[data-theme="luxury"] .hub-aside{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
  body[data-theme="luxury"] .records-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-theme="swiss"] .welcome-title{font-size:59px}
  body[data-theme="swiss"] .welcome-block{grid-template-columns:minmax(0,1fr) 179px}
  body[data-theme="swiss"] .hub-content{grid-template-columns:minmax(0,1.45fr) minmax(235px,1fr)}
  body[data-theme="swiss"] .app-directory{padding-right:25px}
  body[data-theme="swiss"] .hub-aside{padding-left:25px}
  body[data-theme="swiss"] .content-grid.with-aside{grid-template-columns:minmax(0,1.65fr) minmax(235px,.9fr);gap:24px}
}
@media(max-width:1050px){
  body[data-theme="editorial"] :is(.topbar,#main-content){padding-inline:34px}
  body[data-theme="editorial"] #main-content{padding-top:35px}
  body[data-theme="editorial"] .welcome-title{font-size:47px}
  body[data-theme="editorial"] .welcome-title br{display:block}
  body[data-theme="editorial"] .hub-content{grid-template-columns:minmax(0,1.35fr) minmax(245px,1fr);gap:33px}
  body[data-theme="luxury"] .workspace{grid-template-columns:185px minmax(0,1fr);gap:20px;padding:20px}
  body[data-theme="luxury"] .sidebar{top:20px;padding-inline:12px}
  body[data-theme="luxury"] .welcome-title{font-size:38px}
  body[data-theme="luxury"] .welcome-title br{display:block}
  body[data-theme="luxury"] .date-display{min-width:145px;padding-inline:17px}
  body[data-theme="luxury"] .day-number{font-size:52px}
  body[data-theme="luxury"] .date-meta{font-size:8px;padding-left:10px}
  body[data-theme="luxury"] .app-links{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-theme="luxury"] .app-entry:last-child{grid-column:1/-1;min-height:185px}
  body[data-theme="luxury"] .hub-metrics .metric-card{padding-inline:18px}
  body[data-theme="swiss"] .workspace{grid-template-columns:154px minmax(0,1fr)}
  body[data-theme="swiss"] .sidebar{padding-inline:14px}
  body[data-theme="swiss"] :is(.topbar,#main-content){padding-inline:27px}
  body[data-theme="swiss"] .welcome-title{font-size:49px}
  body[data-theme="swiss"] .welcome-block{grid-template-columns:minmax(0,1fr) 140px;gap:25px}
  body[data-theme="swiss"] .date-display{padding:21px 18px}
  body[data-theme="swiss"] .day-number{font-size:65px}
  body[data-theme="swiss"] .hub-content{grid-template-columns:minmax(0,1fr);gap:30px}
  body[data-theme="swiss"] .app-directory{padding-right:0;border-right:0}
  body[data-theme="swiss"] .hub-aside{padding-left:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
  body[data-theme="swiss"] .content-grid.with-aside{grid-template-columns:minmax(0,1fr)}
  body[data-theme="swiss"] .detail-aside{position:static;margin-top:0;min-height:250px}
}
@media(max-width:800px){
  body[data-theme="editorial"] .hub-content{grid-template-columns:minmax(0,1fr);gap:33px}
  body[data-theme="editorial"] .hub-aside{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
  body[data-theme="editorial"] .welcome-title{font-size:47px}
  body[data-theme="editorial"] .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:24px}
  body[data-theme="editorial"] .metric-grid .metric-card:nth-child(3){border-left:0;padding-left:0}
  body[data-theme="luxury"] .workspace{display:block;padding:0}
  body[data-theme="luxury"] .sidebar{display:none}
  body[data-theme="luxury"] .topbar{padding-inline:25px;height:65px;border-bottom:1px solid var(--line-strong)}
  body[data-theme="luxury"] #main-content{padding:25px 25px 90px}
  body[data-theme="luxury"] .welcome-title{font-size:39px}
  body[data-theme="luxury"] .welcome-title br{display:none}
  body[data-theme="luxury"] .app-links{grid-template-columns:repeat(3,minmax(0,1fr))}
  body[data-theme="luxury"] .app-entry:last-child{grid-column:auto;min-height:261px}
  body[data-theme="swiss"] .workspace{display:block}
  body[data-theme="swiss"] .sidebar{display:none}
  body[data-theme="swiss"] .welcome-title{font-size:57px}
  body[data-theme="swiss"] .welcome-block{grid-template-columns:minmax(0,1fr) 160px}
  body[data-theme="swiss"] .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:24px}
  body[data-theme="swiss"] .metric-grid .metric-card:nth-child(2){border-right:0}
  body[data-theme="swiss"] .metric-grid .metric-card:nth-child(3){padding-left:0}
}
@media(max-width:600px){
  body:is([data-theme="editorial"],[data-theme="luxury"],[data-theme="swiss"]) .metric-value{font-size:32px}
  body:is([data-theme="editorial"],[data-theme="luxury"],[data-theme="swiss"]) .hub-metrics .metric-value{font-size:32px;line-height:1.2}
  body:is([data-theme="editorial"],[data-theme="luxury"],[data-theme="swiss"]) .hub-metrics .metric-note{display:block}
  body[data-theme="editorial"] .topbar{height:66px;min-height:66px;padding:0 23px}
  body[data-theme="editorial"] .breadcrumb{font-size:9px;letter-spacing:.5px}
  body[data-theme="editorial"] .breadcrumb:before{margin-right:9px;font-size:12px;width:23px;line-height:23px}
  body[data-theme="editorial"] #main-content{padding:27px 23px 95px}
  body[data-theme="editorial"] .welcome-block{grid-template-columns:minmax(0,1fr) 75px;align-items:end;gap:16px;min-height:225px;padding:22px 0 30px}
  body[data-theme="editorial"] .welcome-block:before{top:0;font-size:8px;letter-spacing:1px}
  body[data-theme="editorial"] .welcome-copy .eyebrow{font-size:8px;letter-spacing:2px;margin-bottom:15px;white-space:nowrap}
  body[data-theme="editorial"] .welcome-title{font-size:37px;line-height:1.4;letter-spacing:.3px;margin-bottom:14px}
  body[data-theme="editorial"] .welcome-title br{display:block}
  body[data-theme="editorial"] .welcome-note{font-size:10px;letter-spacing:.2px;line-height:1.9}
  body[data-theme="editorial"] .date-display{padding:12px 0 0;align-self:end}
  body[data-theme="editorial"] .day-number{font-size:55px;letter-spacing:-2px}
  body[data-theme="editorial"] .date-meta{font-size:8px;gap:4px;margin-top:12px;letter-spacing:0}
  body[data-theme="editorial"] .date-meta b{font-size:10px}
  body[data-theme="editorial"] .hub-metrics{padding:22px 0 24px;margin-bottom:31px}
  body[data-theme="editorial"] .hub-metrics .metric-card{padding:0 12px;min-height:115px}
  body[data-theme="editorial"] .hub-metrics .metric-card:first-child{padding-left:0}
  body[data-theme="editorial"] .hub-metrics .metric-label{font-size:10px;letter-spacing:.5px}
  body[data-theme="editorial"] .hub-metrics .metric-value{margin:12px 5px 8px 0}
  body[data-theme="editorial"] .hub-metrics .metric-unit{font-size:10px}
  body[data-theme="editorial"] .hub-metrics .metric-note{font-size:9px;line-height:1.9}
  body[data-theme="editorial"] .hub-content{gap:33px}
  body[data-theme="editorial"] .hub-aside{grid-template-columns:1fr;gap:31px}
  body[data-theme="editorial"] .section-head h2{font-size:16px;letter-spacing:1px}
  body[data-theme="editorial"] .app-entry{grid-template-columns:21px 32px minmax(0,1fr) 17px;gap:13px;min-height:118px;padding-block:25px}
  body[data-theme="editorial"] .app-code{font-size:11px;letter-spacing:0}
  body[data-theme="editorial"] .app-symbol{width:31px;height:37px}
  body[data-theme="editorial"] .app-symbol .icon{width:17px;height:17px}
  body[data-theme="editorial"] .app-entry .entry-copy h3{font-size:15px;letter-spacing:.3px}
  body[data-theme="editorial"] .app-entry .entry-copy p{font-size:10px;line-height:1.8}
  body[data-theme="editorial"] .app-entry:hover{padding-inline:0}
  body[data-theme="editorial"] .page-foot{margin-top:31px;letter-spacing:.3px}
  body[data-theme="editorial"] .subapp-head{padding-bottom:23px;align-items:flex-start}
  body[data-theme="editorial"] .subapp-title h1{font-size:27px;letter-spacing:.3px}
  body[data-theme="editorial"] .subapp-title .eyebrow{letter-spacing:1px;font-size:9px}
  body[data-theme="editorial"] .subapp-title p:last-child{font-size:11px;line-height:1.9}
  body[data-theme="editorial"] .subapp-actions .button{min-height:38px;padding:9px 12px;font-size:10px}
  body[data-theme="editorial"] .local-nav{margin-bottom:25px;gap:0}
  body[data-theme="editorial"] .local-nav button{padding:16px 20px 16px 0;font-size:10px}
  body[data-theme="editorial"] .local-nav button:before{margin-right:6px;font-size:8px}
  body[data-theme="editorial"] .metric-grid{row-gap:24px;padding-top:3px;margin-bottom:25px}
  body[data-theme="editorial"] .metric-grid .metric-card{padding-inline:20px}
  body[data-theme="editorial"] .metric-grid .metric-label{font-size:11px}
  body[data-theme="editorial"] .metric-grid .metric-note{font-size:10px}
  body[data-theme="editorial"] .filter-bar{gap:10px;padding-block:16px}
  body[data-theme="editorial"] .search-box{width:100%;margin-left:0}
  body[data-theme="editorial"] .search-box input{width:100%}
  body[data-theme="editorial"] .export-panel{padding:25px 23px}
  body[data-theme="editorial"] .export-panel h2{font-size:21px;letter-spacing:.4px}
  body[data-theme="editorial"] .archive-grid{grid-template-columns:1fr}
  body[data-theme="editorial"] .dialog{padding:24px}
  body[data-theme="luxury"] .topbar{height:61px;min-height:61px;padding-inline:19px}
  body[data-theme="luxury"] #main-content{padding:22px 19px 93px}
  body[data-theme="luxury"] .welcome-block{gap:16px;align-items:center;min-height:174px;padding:6px 0 24px}
  body[data-theme="luxury"] .welcome-copy .eyebrow{font-size:8px;letter-spacing:1.5px}
  body[data-theme="luxury"] .welcome-title{font-size:31px;letter-spacing:.2px;line-height:1.5;margin-bottom:9px}
  body[data-theme="luxury"] .welcome-title br{display:block}
  body[data-theme="luxury"] .welcome-note{font-size:10px;line-height:1.8;letter-spacing:.2px}
  body[data-theme="luxury"] .date-display{min-width:89px;display:flex;flex-direction:column;align-items:center;padding:17px 12px;border-radius:2px;gap:10px}
  body[data-theme="luxury"] .day-number{font-size:47px;line-height:.95}
  body[data-theme="luxury"] .date-meta{padding:10px 0 0;border-left:0;border-top:1px solid var(--line-strong);font-size:8px;gap:3px;text-align:center}
  body[data-theme="luxury"] .date-meta b{font-size:9px}
  body[data-theme="luxury"] .hub-metrics{margin:22px 0 29px;gap:8px}
  body[data-theme="luxury"] .hub-metrics .metric-card{padding:16px 11px;min-height:149px;border-radius:8px}
  body[data-theme="luxury"] .hub-metrics .metric-card:before{top:12px;right:11px;width:11px}
  body[data-theme="luxury"] .hub-metrics .metric-label{font-size:9px;letter-spacing:.2px}
  body[data-theme="luxury"] .hub-metrics .metric-value{margin:17px 4px 11px 0}
  body[data-theme="luxury"] .hub-metrics .metric-unit{font-size:10px}
  body[data-theme="luxury"] .hub-metrics .metric-note{font-size:9px;line-height:1.85}
  body[data-theme="luxury"] .hub-content{gap:29px}
  body[data-theme="luxury"] .hub-home .section-head{padding-bottom:17px}
  body[data-theme="luxury"] .section-head h2{font-size:14px}
  body[data-theme="luxury"] .app-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  body[data-theme="luxury"] .app-entry{min-height:240px;padding:23px 18px 20px;gap:27px;border-radius:10px}
  body[data-theme="luxury"] .app-entry:last-child{grid-column:1/-1;min-height:178px;display:grid;grid-template-columns:44px minmax(0,1fr) 30px;align-items:center;gap:20px}
  body[data-theme="luxury"] .app-entry:last-child .entry-arrow{margin:0;align-self:center}
  body[data-theme="luxury"] .app-entry:last-child .app-code{top:16px;right:19px}
  body[data-theme="luxury"] .app-entry:before{left:18px;right:18px}
  body[data-theme="luxury"] .app-code{right:18px;top:29px;font-size:9px}
  body[data-theme="luxury"] .app-symbol{width:40px;height:44px}
  body[data-theme="luxury"] .app-entry .entry-copy h3{font-size:15px;line-height:1.7;letter-spacing:.3px;margin-bottom:9px}
  body[data-theme="luxury"] .app-entry .entry-copy p{font-size:10px;line-height:1.85}
  body[data-theme="luxury"] .hub-aside{grid-template-columns:1fr;gap:19px}
  body[data-theme="luxury"] :is(.todo-panel,.notice-panel){padding:23px;border-radius:10px}
  body[data-theme="luxury"] .subapp-head{padding-top:0;padding-bottom:22px;margin-bottom:20px}
  body[data-theme="luxury"] .subapp-title h1{font-size:27px;line-height:1.5}
  body[data-theme="luxury"] .subapp-title .eyebrow{font-size:9px;letter-spacing:1px}
  body[data-theme="luxury"] .subapp-actions .button{min-height:37px;font-size:10px;padding-inline:12px}
  body[data-theme="luxury"] .local-nav{width:100%;margin-bottom:23px}
  body[data-theme="luxury"] .local-nav button{padding:9px 13px;font-size:10px}
  body[data-theme="luxury"] .metric-grid{gap:12px}
  body[data-theme="luxury"] .metric-grid .metric-card{min-height:151px;padding:19px;border-radius:9px}
  body[data-theme="luxury"] .metric-grid .metric-label{font-size:11px}
  body[data-theme="luxury"] .metric-grid .metric-note{font-size:10px}
  body[data-theme="luxury"] .panel-head{padding:22px 20px}
  body[data-theme="luxury"] .filter-bar{padding:16px 20px;gap:10px}
  body[data-theme="luxury"] .search-box{width:100%;margin-left:0}
  body[data-theme="luxury"] .search-box input{width:100%}
  body[data-theme="luxury"] .records-grid{grid-template-columns:1fr;padding:19px;gap:13px}
  body[data-theme="luxury"] .record-card{min-height:183px;padding:22px}
  body[data-theme="luxury"] .card-footer{margin-top:19px}
  body[data-theme="luxury"] .history-panel{padding:22px}
  body[data-theme="luxury"] .archive-grid{grid-template-columns:1fr}
  body[data-theme="luxury"] .export-panel{padding:27px 23px}
  body[data-theme="luxury"] .export-panel h2{font-size:21px}
  body[data-theme="luxury"] .export-option{padding:21px 18px;gap:15px}
  body[data-theme="luxury"] .dialog{padding:27px 24px}
  body[data-theme="swiss"] .topbar{height:61px;min-height:61px;padding-inline:19px}
  body[data-theme="swiss"] #main-content{padding:28px 19px 96px}
  body[data-theme="swiss"] .welcome-block{grid-template-columns:minmax(0,1fr) 94px;gap:18px;min-height:231px;padding:0 0 27px}
  body[data-theme="swiss"] .welcome-copy .eyebrow{font-size:8px;letter-spacing:.3px;white-space:nowrap}
  body[data-theme="swiss"] .welcome-copy .eyebrow:before{width:10px;height:10px;margin-right:7px}
  body[data-theme="swiss"] .welcome-title{font-size:40px;line-height:1.2;letter-spacing:-1px;margin:22px 0 17px}
  body[data-theme="swiss"] .welcome-note{font-size:10px;letter-spacing:0;line-height:1.85;max-width:180px}
  body[data-theme="swiss"] .date-display{align-self:stretch;justify-content:space-between;min-width:0;padding:20px 12px 16px}
  body[data-theme="swiss"] .day-number{font-size:52px;letter-spacing:-2px}
  body[data-theme="swiss"] .date-meta{font-size:8px;gap:4px}
  body[data-theme="swiss"] .date-meta b{font-size:10px}
  body[data-theme="swiss"] .hub-metrics{margin-bottom:29px;padding:0}
  body[data-theme="swiss"] .hub-metrics .metric-card{padding:20px 12px 21px;min-height:142px}
  body[data-theme="swiss"] .hub-metrics .metric-card:first-child{padding-left:0}
  body[data-theme="swiss"] .hub-metrics .metric-label{font-size:10px;letter-spacing:.1px}
  body[data-theme="swiss"] .hub-metrics .metric-value{margin:11px 5px 9px 0;letter-spacing:-.8px}
  body[data-theme="swiss"] .hub-metrics .metric-unit{font-size:10px}
  body[data-theme="swiss"] .hub-metrics .metric-note{font-size:9px;line-height:1.85}
  body[data-theme="swiss"] .hub-content{gap:32px}
  body[data-theme="swiss"] .hub-aside{grid-template-columns:1fr;gap:28px}
  body[data-theme="swiss"] .hub-home .section-head{padding:17px 0}
  body[data-theme="swiss"] .section-head h2{font-size:16px}
  body[data-theme="swiss"] .app-entry{grid-template-columns:35px 24px minmax(0,1fr) 22px;gap:13px;padding:25px 0;min-height:123px}
  body[data-theme="swiss"] .app-code{font-size:25px}
  body[data-theme="swiss"] .app-symbol{width:23px}
  body[data-theme="swiss"] .app-symbol .icon{width:21px;height:21px}
  body[data-theme="swiss"] .app-entry .entry-copy h3{font-size:15px;line-height:1.7;margin-bottom:8px}
  body[data-theme="swiss"] .app-entry .entry-copy p{font-size:10px;line-height:1.85}
  body[data-theme="swiss"] .entry-arrow{width:22px;height:22px}
  body[data-theme="swiss"] .entry-arrow .icon{width:14px;height:14px}
  body[data-theme="swiss"] .subapp-head{align-items:flex-start;padding-bottom:23px}
  body[data-theme="swiss"] .subapp-title h1{font-size:29px;letter-spacing:-.7px;line-height:1.5}
  body[data-theme="swiss"] .subapp-title .eyebrow{font-size:9px;letter-spacing:.5px}
  body[data-theme="swiss"] .subapp-title p:last-child{font-size:11px;line-height:1.8}
  body[data-theme="swiss"] .subapp-actions .button{min-height:38px;padding-inline:12px;font-size:10px}
  body[data-theme="swiss"] .local-nav{margin-bottom:23px}
  body[data-theme="swiss"] .local-nav button{padding:15px 13px;font-size:10px}
  body[data-theme="swiss"] .local-nav button:before{font-size:8px;margin-right:7px}
  body[data-theme="swiss"] .metric-grid{padding-bottom:24px;margin-bottom:27px;row-gap:23px}
  body[data-theme="swiss"] .metric-grid .metric-card{padding-inline:18px}
  body[data-theme="swiss"] .metric-grid .metric-card:first-child,body[data-theme="swiss"] .metric-grid .metric-card:nth-child(3){padding-left:0}
  body[data-theme="swiss"] .metric-grid .metric-label{font-size:11px}
  body[data-theme="swiss"] .metric-grid .metric-note{font-size:10px}
  body[data-theme="swiss"] .panel-head{padding:20px 0}
  body[data-theme="swiss"] .panel-head h2{font-size:15px}
  body[data-theme="swiss"] .filter-bar{gap:10px;padding:16px 0}
  body[data-theme="swiss"] .search-box{width:100%;margin-left:0}
  body[data-theme="swiss"] .search-box input{width:100%}
  body[data-theme="swiss"] .record-item{gap:14px;min-height:113px;padding:22px 6px 22px 0}
  body[data-theme="swiss"] .record-item>.record-code{font-size:19px;min-width:29px}
  body[data-theme="swiss"] .record-item-copy b{font-size:15px}
  body[data-theme="swiss"] .record-item-copy small{font-size:10px;line-height:1.8}
  body[data-theme="swiss"] .record-item-copy small span{display:block;margin-left:0;margin-top:2px}
  body[data-theme="swiss"] .record-item.selected{gap:11px;padding-left:10px;padding-right:9px}
  body[data-theme="swiss"] .record-item .badge{font-size:8px;padding:4px 5px;white-space:nowrap}
  body[data-theme="swiss"] .record-item>.icon{width:15px;height:15px}
  body[data-theme="swiss"] .detail-aside{padding:23px;min-height:245px}
  body[data-theme="swiss"] .chart{gap:10px;padding-inline:0}
  body[data-theme="swiss"] .archive-grid{grid-template-columns:1fr}
  body[data-theme="swiss"] .export-panel{padding:26px 23px}
  body[data-theme="swiss"] .export-panel h2{font-size:22px}
  body[data-theme="swiss"] .dialog{padding:26px 23px}
}
@media(prefers-reduced-motion:reduce){body[data-theme="luxury"] .app-entry:hover{transform:none}body[data-theme="editorial"] .app-entry{transition:none}}
