.button{min-height:var(--control-height);border-radius:var(--radius-control);transition:background-color var(--motion-fast), border-color var(--motion-fast), color var(--motion-fast), box-shadow var(--motion-fast);border:1px solid #0000;justify-content:center;align-items:center;gap:8px;padding:8px 15px;font-size:14px;font-weight:600;line-height:1.4;text-decoration:none;display:inline-flex}.button--primary{color:#fff;background:var(--accent);border-color:var(--accent);box-shadow:0 1px 2px #17396f1a}.button--primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.button--secondary{color:var(--accent);border-color:var(--control-border);background:#fff}.button--secondary:hover:not(:disabled){background:var(--accent-light);border-color:#507cbd}.button--text{color:var(--accent);text-underline-offset:4px;background:0 0;padding-inline:8px;text-decoration:underline}.button--text:hover:not(:disabled){background:var(--accent-light)}.button--quiet{color:#52637a;background:#f4f6f8;border-color:#dce2e8}.button--quiet:hover:not(:disabled){color:#182b40;background:#e8edf3}.button--danger{color:#a82e36;background:#fff;border-color:#d2a6aa}.button--danger:hover:not(:disabled){color:#fff;background:#a82e36;border-color:#a82e36}.button--sm{min-height:var(--control-height);padding:8px 12px;font-size:13px}.button:disabled{color:#7a8592;box-shadow:none;background:#edf0f3;border-color:#dbe0e6;text-decoration:none}.button:active:not(:disabled){box-shadow:inset 0 1px 2px #10243a20}.button--text:active:not(:disabled),.button--quiet:active:not(:disabled){background:#e3eaf4}.button-spinner{border:2px solid;border-right-color:#0000;border-radius:50%;width:12px;height:12px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.icon-button{border:1px solid var(--line);color:var(--muted);width:var(--control-height);height:var(--control-height);border-radius:var(--radius-control);background:#fff;flex:none;justify-content:center;align-items:center;padding:10px;line-height:1;display:inline-flex}.icon-button svg{width:20px;height:20px}.icon-button:hover:not(:disabled){color:var(--accent);background:#edf3ff}.page-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.page-heading{flex:1;min-width:0}.page-title-line{flex-wrap:wrap;align-items:baseline;gap:8px 14px;display:flex}.page-context{color:var(--muted);font-size:12px}.page-description{color:var(--muted);max-width:720px;margin-top:6px;font-size:13px}.page-actions{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:10px;display:flex}.notice{border:1px solid;border-radius:4px;padding:12px 16px;font-size:13px;line-height:1.65}.notice strong{margin-bottom:3px;font-size:13px;display:block}.notice--info{color:#375679;background:#f1f5fb;border-color:#c7d5e8}.notice--success{color:#246348;background:#eef6f1;border-color:#bed4c8}.notice--warning{color:#7e5717;background:#fff8e8;border-color:#e7d4a7}.notice--error{color:#9d3038;background:#fff2f2;border-color:#e4bfc2}.data-region-wrap{min-width:0;max-width:100%}.data-region{overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--radius-control);scrollbar-color:#92a0b1 var(--surface-subtle);max-width:100%;min-height:0;overflow:auto}.data-region>table{border:0}.data-region thead th{z-index:1;box-shadow:0 1px var(--line);position:sticky;top:0}.data-scroll-hint{color:var(--muted);align-items:center;gap:7px;margin-top:7px;font-size:12px;line-height:1.5;display:flex}.data-scroll-hint svg{flex-shrink:0;width:16px;height:16px}.empty-state{text-align:center;color:var(--muted);padding:34px 20px}.empty-state-mark{color:#74859a;justify-content:center;margin-bottom:12px;display:flex}.empty-state-mark svg{width:32px;height:32px}.empty-state h3{color:var(--ink);font-size:15px}.empty-state p{max-width:480px;margin:8px auto 0;font-size:14px}.empty-state .page-actions{justify-content:center;margin-top:16px}.form-field{flex-direction:column;gap:7px;min-width:0;display:flex}.form-field>label{color:var(--ink);font-size:14px;font-weight:600;line-height:1.5}.required-note{color:var(--muted);margin-left:7px;font-size:12px;font-weight:400}.form-field>small{color:var(--muted)}input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{width:100%;min-width:0;min-height:var(--control-height);color:var(--ink);border:1px solid var(--control-border);border-radius:var(--radius-control);caret-color:var(--accent);background:#fff;padding:8px 12px;font-size:14px;line-height:1.5}input::placeholder,textarea::placeholder{color:#657486}textarea{resize:vertical;min-height:96px}input:disabled,select:disabled,textarea:disabled{color:#728093;background:#f1f3f5}.form-field--error input,.form-field--error textarea,.form-field--error select{border-color:var(--danger)}.form-field .field-error{color:var(--danger)}.status-badge{white-space:normal;overflow-wrap:anywhere;color:#657486;background:#f0f2f5;border-radius:4px;align-items:center;gap:6px;padding:4px 8px;font-size:12px;line-height:1.35;display:inline-flex}.status-dot{background:currentColor;border-radius:50%;flex-shrink:0;width:5px;height:5px}.status-badge--success{color:#286148;background:#eaf4ed}.status-badge--warning{color:#805b16;background:#fff4d9}.status-badge--error{color:#a3313b;background:#fbecee}.status-badge--info{color:#315cac;background:#eaf1ff}.detail-section{border:1px solid var(--line);background:#fff;border-radius:7px;padding:20px}.detail-section>header{flex-wrap:wrap;justify-content:space-between;gap:16px;margin-bottom:16px;display:flex}.detail-section>header>div:first-child{flex:1;min-width:0}.detail-section>header h2{font-size:18px}.detail-section>header p{margin-top:5px}.modal-backdrop{z-index:100;background:#0a182999;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.modal{border-radius:var(--radius-panel);background:#fff;flex-direction:column;width:660px;max-width:100%;max-height:calc(100dvh - 48px);display:flex;box-shadow:0 24px 90px #0004}.modal--sm{width:480px}.modal--lg{width:1020px}.modal-header{border-bottom:1px solid var(--line);justify-content:space-between;gap:24px;padding:20px;display:flex}.modal-header h2{font-size:18px}.modal-header .muted{margin-top:8px}.modal-body{overscroll-behavior:contain;min-height:0;padding:20px;overflow:auto}.modal-footer{border-top:1px solid var(--line);border-radius:0 0 var(--radius-panel) var(--radius-panel);background:#fbfcfd;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;padding:16px 20px;display:flex}.tab-strip{border-bottom:1px solid var(--line);gap:6px;margin-bottom:20px;display:flex;overflow-x:auto}.tab-button{color:var(--muted);min-height:var(--control-height);white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:5px 5px 0 0;align-items:center;gap:8px;padding:10px 16px;font-size:14px;display:inline-flex;position:relative}.tab-button:hover{color:#245bc1;background:#edf3ff}.tab-button[aria-selected=true]{color:#16479e;background:var(--accent-light);border-bottom-color:#245bc1;font-weight:600}.tab-count{font-variant-numeric:tabular-nums;color:var(--muted);background:#e6ebf2;border-radius:3px;padding:0 5px;font-size:12px}.tab-button[aria-selected=true] .tab-count{color:var(--accent-hover);background:#dbe6fc}.toast-stack{z-index:200;gap:10px;width:min(420px,100vw - 36px);display:grid;position:fixed;bottom:24px;right:24px}.toast-item{color:#fff;background:#10243a;border-radius:6px;justify-content:space-between;align-items:flex-start;gap:16px;padding:14px 18px;font-size:13px;line-height:1.6;display:flex;box-shadow:0 6px 24px #10243a33}.toast-item button{color:#fff;min-width:var(--control-height);min-height:var(--control-height);background:0 0;border:0;flex-shrink:0;justify-content:center;align-items:center;padding:10px;display:inline-flex}.toast-item button:hover{border-radius:var(--radius-control);background:#ffffff14}.toast-item button svg{width:20px;height:20px}.toast-item>span{overflow-wrap:anywhere;min-width:0}@media (max-width:1100px){.page-header{flex-wrap:wrap}}@media (max-width:760px){.page-header{flex-direction:column;gap:16px;margin-bottom:16px}.page-actions{gap:8px}.page-header>.page-actions{width:100%}.modal-backdrop{padding:12px}.modal{max-height:calc(100dvh - 24px)}.modal-header,.modal-body{padding:16px}.modal-footer{padding:12px 16px max(12px, env(safe-area-inset-bottom))}.modal-header h2{font-size:18px}.detail-section{padding:16px}.detail-section>header{flex-direction:column}.tab-button{padding-inline:14px}.toast-stack{right:16px;bottom:max(16px, env(safe-area-inset-bottom))}input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{font-size:16px}}:root{font-family:var(--sans);color:#182b40;font-synthesis:none;-webkit-font-smoothing:antialiased;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--sans:"PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;--navy:#10243a;--navy-deep:#0a1829;--paper:#f5f3ed;--surface:#fff;--ink:#182b40;--muted:#59697a;--line:#dce1e6;--accent:#245bc1;--accent-light:#edf3ff;--accent-hover:#16479e;--control-border:#8492a2;--control-height:40px;--surface-subtle:#f4f6f9;--surface-hover:#f3f7fe;--focus:#3269c8;--radius-control:6px;--radius-panel:8px;--motion-fast:.14s;--brass:#b09363;--danger:#ad343c;--success:#246348;--warning:#8e5c0e;--serif:"Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;--shadow:0 16px 48px #10243a1a;background:#f5f3ed;font-size:14px;line-height:1.55}*{box-sizing:border-box}body{min-width:0;margin:0}::selection{color:var(--navy-deep);background:#dce8ff}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation;-webkit-tap-highlight-color:#245bc11f}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:var(--accent);text-underline-offset:4px}a:hover{color:#153c8a}button,input,select,textarea,a,summary{outline-offset:2px}:focus-visible{outline:2px solid var(--focus)}h1,h2,h3,p{margin:0}h1{font:600 24px/1.4 var(--sans)}h2{font:600 18px/1.5 var(--sans)}h3{font-size:16px;line-height:1.5}p{line-height:1.65}h1,h2,h3{text-wrap:balance}.page-description,.muted,.notice{text-wrap:pretty}small{font-size:12px;line-height:1.65}.muted{color:var(--muted);font-size:13px}.eyebrow{letter-spacing:.04em;color:var(--muted);margin-bottom:7px;font-size:12px;font-weight:600}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.app-shell{grid-template-columns:224px minmax(0,1fr);min-height:100dvh;display:grid}.sidebar{background:var(--navy-deep);color:#e5ebf2;flex-direction:column;height:100dvh;padding:24px 16px 12px;display:flex;position:sticky;top:0}.brand{color:#f4eee1;align-items:center;gap:12px;padding:0 12px 22px;text-decoration:none;display:flex}.brand-name{font:600 25px var(--serif);letter-spacing:.12em}.brand-sub{letter-spacing:.04em;color:#aebbd0;font-size:12px}.nav-group-label{color:#92a5bd;margin:0 12px 6px;font-size:12px;font-weight:500}.main-nav{scrollbar-color:#526780 transparent;scrollbar-width:thin;flex-direction:column;gap:18px;min-height:0;padding-block:2px;display:flex;overflow:auto}.nav-group{gap:2px;display:grid}.nav-link{min-height:var(--control-height);border-radius:var(--radius-control);color:#b6c3d4;transition:background-color var(--motion-fast), color var(--motion-fast);border:1px solid #0000;align-items:center;gap:11px;padding:8px 12px;font-size:14px;text-decoration:none;display:flex}.nav-link:hover{color:#fff;background:#ffffff0d}.nav-link.router-link-active{color:#fff;background:#ffffff10;border-color:#aebed43d;font-weight:600}.nav-link svg{flex:none;width:18px;height:18px}.sidebar-bottom{flex-shrink:0;margin-top:auto;padding-top:18px}.account-card{border-top:1px solid #ffffff24;margin-top:10px;padding:14px 12px 0}.account-name{color:#f4eee1;overflow-wrap:anywhere;font-size:13px;font-weight:600}.account-role{color:#a6b7cc;margin-top:5px;font-size:12px}.account-links{flex-wrap:wrap;gap:4px;margin-top:8px;display:flex}.account-links a,.account-links button{color:#c1d1e7;text-underline-offset:4px;background:0 0;border:0;align-items:center;min-height:40px;padding:8px 3px;font-size:12px;text-decoration:underline;display:inline-flex}.account-links a:hover,.account-links button:hover{color:#fff}.sidebar :focus-visible{outline-color:#b2cdfd}.mobile-page-title{display:none}.shell-main{min-width:0}.topbar{min-height:56px;color:var(--muted);background:#fbfaf6;border-bottom:1px solid #e5e3db;justify-content:space-between;align-items:center;gap:20px;padding:8px 24px;font-size:13px;display:flex}.breadcrumbs{flex-wrap:wrap;align-items:center;gap:10px;min-width:0;display:flex}.breadcrumbs a{color:var(--muted);text-decoration:none}.breadcrumbs a:hover{color:var(--accent);text-decoration:underline}.topbar time{font-variant-numeric:tabular-nums;flex-shrink:0;font-size:12px}.topbar strong{color:var(--ink);font-weight:500}.workspace{max-width:1800px;margin:auto;padding:24px 24px 40px}.shell-footer{color:var(--muted);border-top:1px solid #e1e2dd;justify-content:space-between;gap:16px;padding:16px 24px;font-size:12px;display:flex}.mobile-nav-toggle{display:none}.skip-link{z-index:1000;background:#fff;padding:12px;position:fixed;top:-60px;left:12px}.skip-link:focus{top:10px}.panel,.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel);padding:20px}.panel-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.section-stack{gap:20px;display:grid}.two-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0;display:grid}.stat-tile{border-radius:var(--radius-panel);background:#fff;border:1px solid #dce1e6;padding:16px 20px}.stat-label{color:var(--muted);font-size:13px}.stat-value{font:600 24px/1.35 var(--sans);font-variant-numeric:tabular-nums;color:var(--ink);margin:8px 0;display:block}.stat-hint{color:var(--muted);font-size:12px}.divider{border:0;border-top:1px solid var(--line);margin:24px 0}.inline-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.text-link{color:var(--accent);text-underline-offset:4px;font-size:13px;font-weight:500;text-decoration:underline}.danger-text{color:var(--danger)}.stack{gap:16px;display:grid}.compact-stack{gap:10px;display:grid}.preformatted{white-space:pre-wrap;overflow-wrap:anywhere;background:#f4f6f9;border:1px solid #dce2e8;border-radius:5px;max-height:440px;margin:0;padding:15px;font:12px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;overflow:auto}.definition-list{grid-template-columns:130px minmax(0,1fr);gap:12px;margin:0;font-size:13px;display:grid}.definition-list dt{color:var(--muted)}.definition-list dd{overflow-wrap:anywhere;margin:0}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.form-grid .full{grid-column:1/-1}.check-row{min-height:var(--control-height);align-items:flex-start;gap:10px;font-size:13px;line-height:1.7;display:flex}.check-row input{accent-color:var(--accent);flex:none;margin:4px 0 0}.check-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.code-editor{tab-size:2;min-height:190px;font:12px/1.75 ui-monospace,SFMono-Regular,Consolas,monospace}.subtle-details{border-top:1px solid var(--line);margin-top:16px;padding-top:14px}.subtle-details>summary{color:var(--accent);cursor:pointer;min-height:var(--control-height);padding:9px 0;font-size:13px;font-weight:600}.subtle-details[open]>summary{margin-bottom:12px}.list-search{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:16px;display:flex}.list-search>input,.list-search>.form-field{flex:220px;width:auto;min-width:0}.list-search>.button{flex-shrink:0}.table{border-collapse:collapse;width:100%;font-size:13px}.table th{color:#627188;text-align:left;letter-spacing:.03em;background:#f3f5f8;font-size:12px;font-weight:600}.table td,.table th{vertical-align:top;border-bottom:1px solid #e5e9ee;height:44px;padding:10px 12px}.table td.amount,.table th.amount{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.table tbody tr:last-child td{border-bottom:0}.table tbody tr:hover{background:#f8faff}.table-action{color:var(--accent);text-underline-offset:4px;text-align:left;background:0 0;border:0;min-width:28px;min-height:28px;padding:0;font-size:13px;font-weight:600;line-height:1.6;text-decoration:underline}.table-description{color:var(--muted);max-width:460px;margin-top:4px;font-size:12px;line-height:1.6}.tag{color:#53677f;background:#f6f8fb;border:1px solid #dce2e9;border-radius:4px;padding:3px 7px;font-size:12px}.loading-block{color:var(--muted);text-align:center;padding:36px}.link-list{gap:8px;display:grid}.link-list a{border:1px solid var(--line);overflow-wrap:anywhere;background:#fff;border-radius:5px;justify-content:space-between;gap:12px;min-width:0;padding:12px 14px;text-decoration:none;display:flex}.link-list a:after{content:"→";color:var(--accent)}@media (max-width:1000px){.app-shell{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding-inline:12px}.workspace{padding:24px}.topbar,.shell-footer{padding-inline:24px}.two-columns{grid-template-columns:1fr}}@media (max-width:760px){.app-shell{display:block}.sidebar{height:auto;padding:8px 16px;position:relative}.brand{flex-shrink:0;padding:0}.brand-name{font-size:22px}.brand-sub{display:none}.mobile-head{justify-content:space-between;align-items:center;gap:10px;min-height:44px;display:flex}.mobile-page-title{color:#c4d1e3;overflow-wrap:anywhere;flex:1;min-width:0;font-size:12px;line-height:1.4;display:block}.mobile-nav-toggle{color:#f4eee1;border-radius:var(--radius-control);background:#ffffff0b;border:1px solid #ffffff4d;flex-shrink:0;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:0 10px;font-size:13px;display:inline-flex}.mobile-nav-toggle svg{width:18px;height:18px}.main-nav{margin-top:16px}.nav-link{min-height:44px}.nav-group{gap:4px}.nav-group-label{margin-top:0}.main-nav[data-open=false],.sidebar[data-open=false] .sidebar-bottom{display:none}.sidebar-bottom{padding-top:12px}.account-links{gap:8px}.account-links a,.account-links button{min-height:44px;padding-inline:8px}.topbar{display:none}.workspace{padding:16px 16px 32px}.shell-footer{flex-direction:column;gap:4px;padding:16px}.panel,.card{padding:16px}h1{font-size:22px}.stat-grid{gap:10px;margin:18px 0}.stat-tile{padding:14px 12px}.stat-value{font-size:22px}.stat-hint{font-size:12px}.definition-list{grid-template-columns:95px minmax(0,1fr)}.form-grid,.check-grid{grid-template-columns:1fr}.table td,.table th{padding:10px 12px}.data-region .table{min-width:620px}.preformatted{font-size:12px}.list-search>input,.list-search>.form-field{flex-basis:180px}.table-action{min-height:44px}}@media (max-width:400px){.stat-grid{grid-template-columns:1fr}.stat-tile{border-top:1px solid var(--line);grid-template-columns:1fr auto;align-items:center;gap:5px 12px;display:grid}.stat-value{grid-area:1/2/3;margin:0}.stat-hint{grid-column:1}}@media (max-width:760px),(pointer:coarse){:root{--control-height:44px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media print{.sidebar,.topbar,.shell-footer,.page-actions,.modal-footer{display:none!important}.app-shell{display:block}.workspace{padding:0}.panel,.card{break-inside:avoid;box-shadow:none}.data-region,.preformatted{max-height:none!important;overflow:visible!important}.data-region thead th{position:static}.modal-backdrop{background:0 0;padding:0;position:static}.modal{max-height:none;box-shadow:none}}
