:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--app-bg:#f5f7fb;--app-surface:#fff;--app-surface-soft:#f8fafc;--app-line:#dce3ef;--app-line-strong:#c6d1e3;--app-text:#172033;--app-muted:#64748b;--app-faint:#94a3b8;--app-primary:#2f6fed;--app-primary-strong:#1d4ed8;--app-accent:#14b8a6;--app-warning:#f59e0b;--app-danger:#dc2626;--app-success:#16a34a;--app-sidebar:#242a42;--app-sidebar-2:#303857;--app-sidebar-text:#edf3ff;--app-radius:8px;--app-shadow:0 18px 45px #19223a17;font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#app{min-width:0;min-height:100%;margin:0}body{background:var(--app-bg);color:var(--app-text);overflow-x:hidden}button,input,textarea{font:inherit}a{color:inherit;text-decoration:none}.page{gap:16px;display:grid}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;display:flex}.page-title{letter-spacing:0;overflow-wrap:anywhere;text-wrap:balance;margin:0;font-size:24px;line-height:1.2}.page-subtitle{color:var(--app-muted);overflow-wrap:anywhere;text-wrap:pretty;margin:6px 0 0;font-size:14px;line-height:1.55}.panel{border:1px solid var(--app-line);border-radius:var(--app-radius);background:var(--app-surface);box-shadow:var(--app-shadow)}.panel-body{min-width:0;padding:18px}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.metric{border:1px solid var(--app-line);border-radius:var(--app-radius);background:var(--app-surface);padding:16px}.metric-label{color:var(--app-muted);margin:0 0 8px;font-size:13px}.metric-value{margin:0;font-size:22px;font-weight:700}.two-column{grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:16px;display:grid}.muted{color:var(--app-muted)}.mono{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace}.section-title{margin:0 0 12px;font-size:16px;font-weight:700}.template-outline{margin:0;padding-left:18px}.template-outline li{margin:6px 0}@media (width<=920px){.metric-grid,.two-column{grid-template-columns:1fr}}@media (width<=820px){html,body,#app{width:100%;max-width:100%;overflow-x:hidden}.page{gap:12px;min-width:0}.page-header{flex-direction:column;align-items:flex-start;gap:10px}.page-header>div{width:100%;min-width:0}.page-title{font-size:21px}.page-subtitle{line-height:1.55}.page-header .n-space,.page-header :where(.n-space){width:100%;row-gap:8px!important}.page-header .n-button,.page-header :where(.n-button){min-height:38px}.page-header .n-space .n-button,.page-header :where(.n-space) :where(.n-button){flex:132px}.panel{min-width:0;overflow:hidden}.panel-body{-webkit-overflow-scrolling:touch;min-width:0;padding:12px;overflow-x:auto}.page .n-grid{grid-template-columns:minmax(0,1fr)!important}.page .n-grid>*{grid-column:1/-1!important}.n-data-table{min-width:0}.n-data-table .n-data-table-wrapper,.n-data-table .n-data-table-base-table{-webkit-overflow-scrolling:touch;overflow-x:auto}.n-data-table .n-data-table-th{white-space:nowrap}.n-data-table .n-data-table-td{overflow-wrap:anywhere;vertical-align:top}.n-modal-container .n-card{max-width:calc(100vw - 20px)}.n-drawer{max-width:88vw}.n-form-item{min-width:0}.n-input,.n-input-number,.n-select{max-width:100%}.page-head{flex-direction:column!important;align-items:stretch!important;gap:12px!important;padding:14px!important}.page-head h1{overflow-wrap:anywhere;text-wrap:balance;font-size:22px!important;line-height:1.25!important}.page-head p{font-size:14px;line-height:1.55;max-width:100%!important}.page-head>.n-button,.page-head>:where(.n-button){width:100%}.work-grid,.rewrite-grid,.report-grid,.content-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}.panel-title,.form-actions,.preview-actions,.button-row,.action-row{flex-wrap:wrap;align-items:stretch!important}.panel-title{gap:10px!important}.panel-title>*,.form-actions>*,.preview-actions>*,.button-row>*,.action-row>*{min-width:0}.button-row,.preview-actions{width:100%}.button-row .n-button,.preview-actions .n-button{flex:128px}.preview-editor textarea,.preview-editor :where(textarea){min-height:320px!important}.recent-panel{min-width:0;overflow:hidden}.recent-panel .n-data-table{overflow-x:auto}}@media (width<=520px){.page-title{font-size:20px}.panel-body{padding:10px}.metric-grid{gap:10px}.metric{padding:12px}.metric-value{font-size:20px}}
