:root{color-scheme:light;--bg: #f4f8fc;--bg-elevated: #ffffff;--bg-soft: #eef5ff;--line: #d7e3f4;--line-strong: #c3d5ec;--text: #12233d;--text-soft: #5d708c;--primary: #1f6fe5;--primary-deep: #1554b5;--success: #16a34a;--danger: #dc2626;--shadow: 0 10px 30px rgba(18, 35, 61, .08)}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;min-width:320px;color:var(--text);background:linear-gradient(180deg,rgba(31,111,229,.04),transparent 240px),linear-gradient(135deg,#f7fbff,#eef4fb);font-family:PingFang SC,Microsoft YaHei,Noto Sans SC,sans-serif}a{color:inherit}#root{min-height:100vh}.app-shell{min-height:100vh;background:transparent}.app-sider.ant-layout-sider{background:linear-gradient(180deg,#eaf4ff,#dcecff);border-right:1px solid #c6daf3}.brand-panel{padding:24px 20px 20px;color:var(--text)}.brand-panel .ant-typography,.brand-panel .ant-typography-secondary{color:var(--text)}.brand-panel .ant-typography{margin-bottom:10px}.section-kicker{font-size:12px;line-height:1;letter-spacing:.16em;text-transform:uppercase}.app-sider .ant-menu{padding:8px 12px;color:#4f6786;background:transparent;border-inline-end:none}.app-sider .ant-menu-item{height:44px;margin:6px 0;line-height:44px;border-radius:12px}.app-sider .ant-menu-item .ant-menu-title-content{font-weight:500}.app-sider .ant-menu-item-selected{color:#fff;background:linear-gradient(90deg,#2f7df0,#5c9cff)}.app-main{background:transparent;min-height:100vh}.app-content{height:100vh;padding:10px;overflow:hidden}.page-stack,.code-layout{display:grid;gap:10px}.page-stack{min-height:calc(100vh - 20px);align-content:start}.theme-page,.status-page{height:calc(100vh - 20px);grid-template-rows:auto minmax(0,1fr);min-height:0}.code-layout{grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);align-items:start}.hero-panel{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.9fr);gap:10px}.theme-summary-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:start}.hero-copy,.hero-metrics,.panel-card,.metric-card{border:1px solid var(--line);border-radius:18px;background:#fffffff5;box-shadow:var(--shadow)}.hero-copy{padding:10px}.hero-copy .ant-typography{margin-bottom:10px}.hero-metrics{display:grid;grid-template-columns:1fr;gap:1px;overflow:hidden;background:var(--line)}.metric-card.ant-card{border:none;border-radius:0;box-shadow:none}.compact-metric-card.ant-card{border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);align-self:start}.compact-metric-card .ant-card-body{padding:16px 22px}.compact-metric-card .ant-statistic{display:grid;align-items:center;justify-content:center;gap:6px;text-align:center}.compact-metric-card .ant-statistic .ant-statistic-title{margin-bottom:0;color:var(--text-soft);font-size:13px;line-height:1.2}.compact-metric-card .ant-statistic .ant-statistic-content{color:var(--primary-deep);font-size:22px;line-height:1;font-weight:700}.metric-card .ant-statistic{min-height:100%}.panel-card.ant-card{border-radius:18px}.panel-card .ant-card-body{padding:10px}.theme-list-card .ant-card-body{height:100%;padding:8px 10px 10px}.theme-list-card.ant-card{height:100%;min-height:0;overflow:hidden}.theme-list-frame{display:flex;height:100%;min-height:0;flex-direction:column;overflow:hidden}.message-filter-bar{margin-bottom:10px}.theme-toolbar{display:flex;justify-content:flex-end}.message-filter-form{min-width:0}.message-filter-grid{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.message-filter-field{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center}.message-filter-label{color:var(--text);font-size:14px;font-weight:400;white-space:nowrap}.phone-filter-field{grid-template-columns:auto 120px}.theme-filter-field{grid-template-columns:auto 200px}.project-filter-field{grid-template-columns:auto 160px}.range-filter-field{grid-template-columns:auto 260px}.message-filter-grid .ant-form-item{margin-bottom:0}.message-filter-grid .ant-form-item-control-input{min-height:auto}.message-filter-grid .ant-input,.message-filter-grid .ant-picker,.message-filter-grid .ant-picker-input>input{font-size:14px}.message-filter-actions{display:flex;gap:6px;align-items:center;justify-content:flex-end;margin-left:auto}.message-filter-actions .ant-btn{height:32px;min-width:64px;padding-inline:12px}.section-kicker{margin-bottom:10px;color:var(--primary)}.panel-desc{display:block;margin-bottom:20px;color:var(--text-soft)}.card-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.card-title-row .ant-typography{margin-bottom:4px}.theme-list-heading{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;text-align:left}.theme-list-heading .ant-typography{margin-bottom:0}.theme-list-heading .ant-typography.ant-typography-h4,.theme-list-heading h4.ant-typography{font-size:18px;line-height:1.2}.theme-list-actions{align-items:center;justify-content:flex-end;margin-left:auto}.theme-list-actions .ant-btn{height:36px;padding-inline:16px}.theme-list-card .ant-table-wrapper,.theme-list-card .ant-spin-nested-loading,.theme-list-card .ant-spin-container{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}.theme-list-card .ant-table,.theme-list-card .ant-table-container{display:flex;min-height:0;flex:1;flex-direction:column}.theme-list-card .ant-table-content{min-height:0}.theme-list-card .ant-table-body{flex:1;overscroll-behavior:contain}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.status-summary-grid{align-items:start}.status-list-actions-row{justify-content:flex-end}.compact-form-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.compact-form-row.single{grid-template-columns:minmax(0,720px)}.compact-form-row .ant-form-item{margin-bottom:10px}.full-width,.full-width .ant-picker{width:100%}.result-panel{min-height:100%}.result-content{display:grid;gap:18px}.result-topline{display:grid;gap:16px}.code-display{display:inline-flex;align-items:center;justify-content:center;min-height:112px;padding:18px 22px;border:1px solid rgba(31,111,229,.16);border-radius:16px;background:linear-gradient(135deg,#eff6ff,#fff);color:var(--primary-deep);font-size:clamp(42px,7vw,72px);font-weight:700;letter-spacing:.08em}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.detail-item{padding:10px;border:1px solid var(--line);border-radius:14px;background:var(--bg-soft)}.detail-item span{display:block;margin-bottom:8px;font-size:12px;color:var(--text-soft)}.detail-item strong{font-size:14px;font-weight:600}.result-empty{align-content:center;min-height:320px}.center-box{min-height:320px;display:grid;place-items:center}.ant-layout,.ant-layout *{scrollbar-width:thin;scrollbar-color:#c2d5ec transparent}.ant-card,.ant-input,.ant-input-affix-wrapper,.ant-input-number,.ant-picker,.ant-select-selector,.ant-btn,.ant-table-wrapper,.ant-tag{border-radius:12px}.ant-btn{height:40px;font-weight:600}.ant-btn-primary{border-color:var(--primary);background:linear-gradient(180deg,#2e7df0,#1f6fe5);box-shadow:none}.ant-btn-primary:hover,.ant-btn-primary:focus{border-color:var(--primary-deep)!important;background:var(--primary-deep)!important}.ant-input,.ant-input-affix-wrapper,.ant-input-number,.ant-picker{border-color:var(--line-strong);background:#fff}.ant-input:hover,.ant-input-affix-wrapper:hover,.ant-input-number:hover,.ant-picker:hover{border-color:#8bb4f4}.ant-input:focus,.ant-input-focused,.ant-input-affix-wrapper-focused,.ant-input-number-focused,.ant-picker-focused{border-color:var(--primary)!important;box-shadow:0 0 0 2px #1f6fe51f!important}.ant-table-wrapper .ant-table{background:transparent}.ant-table-wrapper .ant-table-thead>tr>th{padding:12px 16px;color:var(--text);font-weight:700;text-align:center;background:#f6f9ff;border-bottom:1px solid var(--line)}.ant-table-wrapper .ant-table-tbody>tr>td{padding:12px 16px;color:var(--text);border-bottom:1px solid #e7eff9;background:#fff}.ant-table-wrapper .ant-table-tbody>tr:hover>td{background:#f8fbff!important}.message-content-cell{text-align:center;white-space:nowrap}.message-table-center-cell{text-align:center}.ant-pagination .ant-pagination-item-active{border-color:var(--primary)}.ant-pagination .ant-pagination-item-active a{color:var(--primary)}.ant-tag{padding-inline:10px}@media(max-width:1200px){.code-layout,.hero-panel,.theme-summary-row,.summary-grid,.detail-grid,.compact-form-row{grid-template-columns:1fr}.message-filter-grid{justify-content:flex-start}.message-filter-field{grid-template-columns:1fr;gap:6px;align-items:stretch}.message-filter-actions{justify-content:flex-end;width:100%;margin-left:0}}@media(max-width:768px){.app-content,.hero-copy,.panel-card .ant-card-body{padding:10px}.card-title-row{flex-direction:column;align-items:stretch}.theme-list-actions{justify-content:flex-end}.message-filter-grid{align-items:stretch}.message-filter-actions{justify-content:stretch}.message-filter-actions .ant-btn{flex:1}}
