/* 已确认白色主体与薰衣草紫组件；仅销售视觉，不改变业务或页面网格。 */
:root{
 --bg:#FFFFFF;--bg-elevated:#FFFFFF;--sidebar:#FFFFFF;--panel:rgba(255,255,255,.96);--panel-solid:#FFFFFF;--panel-2:#F6F5FA;
 --line:rgba(45,32,75,.09);--line-strong:rgba(45,32,75,.17);--text:#292536;--muted:#696477;--muted-2:#777183;
 --primary:#A78BFA;--primary-deep:#8B6CF0;--primary-press:#7C5CE0;--primary-soft:rgba(167,139,250,.16);--primary-glow:0 8px 28px rgba(139,108,240,.35);
 --comparison-up:#B42338;--comparison-down:#19784F;
 --success:#3DDC97;--danger:#FF6B8A;--warning:#F5C14A;--info:#7AA2FF;
 --radius-card:18px;--radius-control:12px;--shadow-card:0 10px 40px rgba(45,32,75,.07);--inset-shine:inset 0 1px 0 rgba(255,255,255,.6);--glass-blur:blur(14px);
 --purple:var(--primary);--deep:#7652C1;--ink:var(--text);--border:var(--line);--selected:var(--primary-soft);--soft:#FAF9FD;--visual-focus:#7652C1;
 color-scheme:light;
}
html,body,.shell,.account-layout{background:var(--bg);color:var(--text)}
body{-webkit-font-smoothing:antialiased}
h1,h2,h3,strong,b{color:var(--text)}
a{color:var(--deep)}
small,.muted,.block,.page-heading p,.chart-subtitle,.chart-unit,.chart-reason,.topbar-clock,.brand-copy small,.workspace-identity small,.account-help,.account-foot,.account-card>p{color:var(--muted)}
.material-symbols-outlined{font-variation-settings:'FILL' 0,'wght' 300,'GRAD' 0,'opsz' 24}
button,.btn,a,input,select,textarea{transition:background-color .16s,border-color .16s,box-shadow .16s}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--visual-focus);outline-offset:3px}
.btn,button.btn,a.btn,.sidebar-toggle{background:transparent;color:var(--text);border:1px solid var(--line-strong);border-radius:var(--radius-control);box-shadow:var(--inset-shine)}
.btn{min-height:44px;padding:10px 16px;gap:7px}
.btn:hover:not(:disabled),.sidebar-toggle:hover{background:var(--primary-soft);border-color:rgba(167,139,250,.35);color:var(--text);transform:none;box-shadow:var(--inset-shine)}
.btn.primary,button.primary{background:linear-gradient(135deg,#B69CFF,var(--primary));color:#171122;border-color:rgba(139,108,240,.25);font-weight:650;box-shadow:0 6px 20px rgba(139,108,240,.18),var(--inset-shine)}
.btn.primary:hover:not(:disabled){background:#B99EFF;color:#171122;transform:none}
.btn:active:not(:disabled){transform:none;background:var(--primary-soft)}
.btn.primary:active:not(:disabled){background:var(--primary-press);color:#FFFFFF}
.btn.ghost{background:transparent;border-color:transparent;box-shadow:none}
.btn.danger{color:var(--error)}
button:disabled,.btn:disabled{opacity:.42;box-shadow:none}
input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]):not([type=hidden]),select,textarea{background-color:var(--bg-elevated);color:var(--text);border:1px solid var(--line-strong);border-radius:var(--radius-control);box-shadow:inset 0 1px 4px rgba(45,32,75,.03)}
input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]):not([type=hidden]),select{min-height:44px}
input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}
input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}
input[type=checkbox],input[type=radio]{accent-color:var(--primary)}
select:not([multiple]){padding-right:38px;background-position:right 12px center;background-size:16px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23696477' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E")}
.sidebar,.side-foot{background:var(--sidebar);color:var(--text)}
.sidebar{border-right:1px solid var(--line);padding-bottom:16px;overflow:hidden}
.sidebar .brand,.sidebar>.btn,.sidebar .side-foot{flex-shrink:0}
.sidebar .brand,.side-foot{border-color:var(--line)}
.sidebar .brand h2,.sidebar .brand small,.side-foot .workspace-identity,.side-foot .workspace-identity small{color:var(--text)}
.sidebar .nav{min-height:0;overflow-y:auto;flex-shrink:1}
.sidebar .nav a{color:var(--muted);border:1px solid transparent;border-radius:var(--radius-control);min-height:50px;box-shadow:none}
.sidebar .nav a .material-symbols-outlined{font-size:23px}
.sidebar .nav a.active{background:var(--primary-soft);color:var(--deep);border-color:rgba(167,139,250,.17);box-shadow:var(--inset-shine)}
.sidebar .nav a:hover{background:rgba(167,139,250,.09)}
.sidebar>.btn,.sidebar .btn.primary{background:var(--panel-2);border-color:var(--line-strong);color:var(--text);box-shadow:none}
.sidebar .side-foot{margin-top:auto;padding:16px 8px 0;border-top:1px solid var(--line)}
.topbar{background:rgba(255,255,255,.96);border-color:var(--line);backdrop-filter:var(--glass-blur)}
.topbar .sidebar-toggle{background:var(--panel-2);color:var(--muted);border-radius:var(--radius-control)}
.topbar .search{background:#FFFFFF;border:1px solid var(--line-strong);border-radius:var(--radius-control);box-shadow:inset 0 1px 4px rgba(45,32,75,.03)}
.topbar .search input{background:transparent;border:0;box-shadow:none}
.topbar kbd{background:var(--panel-2);color:var(--muted);border-color:var(--line-strong)}
.avatar,.workspace-identity .avatar,.account-logo{background:var(--primary-soft);color:var(--deep);border:1px solid rgba(167,139,250,.18)}
.panel,.drawer,.account-card{border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:var(--shadow-card),var(--inset-shine);backdrop-filter:var(--glass-blur)}
.panel,.account-card,.account-card.membership-card{background:#FFFFFF}
.panel-head,.chart-foot,.funnel-foot,.drawer-header,.drawer-footer,.dashboard-definitions{border-color:var(--line)}
.task-card,.grade-def,.tag-editor-catalog,.dropzone,.notice,.release-notes{border-radius:var(--radius-control)}
.task-card:not(.overdue),.grade-def,.tag-editor-catalog{border-color:var(--line)}
.data-table{color:var(--text)}
.data-table th{background:var(--panel-2);color:var(--muted);border-color:var(--line)}
.data-table td{border-color:var(--line);background:transparent}
.data-table tbody tr:hover td{background:rgba(167,139,250,.08)}
.customer-name,.customer-name.unknown,.customer-name.male,.customer-name.female{color:var(--text)}
.date-cell,.customer-table td small{color:var(--muted)}
.customer-table td .btn,.data-table td .btn{min-height:40px;padding:8px 11px;background:transparent;color:var(--deep);border:1px solid var(--line-strong);border-radius:var(--radius-control);box-shadow:none}
.customer-table td .btn:hover{background:var(--primary-soft)}
.customer-batch-bar{color:var(--muted);border-color:var(--line)}
.tag,.sample-badge{border:1px solid var(--line-strong);background:var(--panel-2);color:var(--muted);border-radius:8px}
.progress-done{color:#19784F;background:rgba(61,220,151,.11);border-color:rgba(61,220,151,.27)}
.progress-pending{color:#856315;background:rgba(245,193,74,.11);border-color:rgba(245,193,74,.27)}
.progress-declined,.progress-unset{color:var(--muted);background:rgba(154,151,178,.11);border-color:rgba(154,151,178,.24)}
.customer-tags .customer-tag-chip,.customer-tag-chip,.inline-grade,.grade-label{color:color-mix(in srgb,var(--tag-color,var(--grade,var(--primary))) 70%,#292536);background-color:color-mix(in srgb,var(--tag-color,var(--grade,var(--primary))) 14%,var(--panel-solid));border-color:color-mix(in srgb,var(--tag-color,var(--grade,var(--primary))) 40%,transparent)}
.customer-tags .customer-tag-chip,.customer-tag-chip{border-radius:6px}
.customer-status-filters .tag{padding:5px 9px}
.customer-status-filters>button,.customer-status-filters>button .tag,.customer-status-filters>button.active,.customer-status-filters>button.active .tag{border-radius:var(--radius-control)}
.customer-status-filters>button.active,.customer-status-filters>button.active .tag{background:var(--primary);color:#171122;border-color:var(--primary);box-shadow:none;outline:none}
.customer-status-filters>button:focus-visible{outline:2px solid var(--visual-focus);outline-offset:3px}
.settings-nav>a,.tabs button,.segmented button,.filters button{font-size:var(--fs-body)}
.settings-nav>a{color:var(--muted);border-radius:var(--radius-control)}
.settings-nav>a:hover,.settings-nav>a.active,.segmented button.active{background:var(--primary-soft);color:var(--deep);box-shadow:none}
.tabs button.active{color:var(--deep);border-bottom-color:var(--primary)}
.content>.attention-notice{background:rgba(245,193,74,.055);color:#7A5D1B;border-color:rgba(245,193,74,.18);border-radius:var(--radius-card);box-shadow:none}
.attention-notice>.btn{background:transparent;border-color:rgba(245,193,74,.28);color:#7A5D1B;min-height:40px}
.footer-badge{background:var(--panel-solid);color:var(--muted);border-color:var(--line);box-shadow:none}
.dashboard-context,.dashboard-kpi p,.dashboard-kpi .kpi-comparison,.dashboard-kpi div>span,.grade-legend small,.grade-legend-name,.funnel-heading p,.funnel-heading small,.funnel-foot{color:var(--muted)}
.dashboard-month{background:var(--bg-elevated);border-color:var(--line-strong);color:var(--deep);border-radius:var(--radius-control)}
.dashboard-month select{border:0}
.workspace-metric{color:var(--text)}
.dashboard-kpi-icon{background:var(--primary-soft);color:var(--deep)}
.dashboard-kpi:nth-child(2) .dashboard-kpi-icon{background:rgba(61,220,151,.1);color:#19784F}
.dashboard-kpi:nth-child(3) .dashboard-kpi-icon{background:rgba(154,151,178,.1);color:var(--muted)}
.dashboard-kpi:nth-child(4) .dashboard-kpi-icon{background:rgba(122,162,255,.1);color:#4972BE}
.dashboard-kpi:nth-child(5) .dashboard-kpi-icon{background:rgba(245,193,74,.1);color:#856315}
.dashboard-kpi strong,.grade-donut strong,.grade-legend b{color:var(--text)}
.dashboard-kpi:hover{border-color:rgba(167,139,250,.3);background:var(--panel-2)}
.dashboard-charts .dashboard-chart:first-child{background:radial-gradient(ellipse at 60% 100%,rgba(139,108,240,.08),transparent 70%),#FFFFFF}
.trend-bars{border-color:var(--line);background-image:linear-gradient(to top,var(--line) 1px,transparent 1px);background-size:100% 50%}
.trend-column,.trend-bar-space>b,.trend-y{color:var(--muted)}
.trend-bar,.trend-bar.current{background:linear-gradient(0deg,rgba(139,108,240,.4),#A78BFA);border-radius:6px 6px 0 0}
.trend-line{filter:drop-shadow(0 0 4px rgba(167,139,250,.25))}
.trend-line polyline{stroke:#A78BFA}
.trend-point{background:var(--panel-solid);border-color:#A78BFA}
.grade-donut>div{background:var(--panel-solid);color:var(--text)}
.grade-legend a{color:var(--text);border-color:var(--line)}
.grade-legend>a:hover{background:var(--primary-soft)}
.chart-foot,.chart-foot b,.funnel-cohort p,.dashboard-definitions summary,.high-grade-summary{color:var(--deep)}
.high-grade-summary{background:var(--primary-soft);border-color:rgba(167,139,250,.2)}
.funnel-cohort,.funnel-cohort strong,.funnel-cohort a,.funnel-stage-label,.funnel-number{color:var(--text)}
.funnel-cohort span,.funnel-cohort small,.funnel-stage-label small,.funnel-number small{color:var(--muted)}
.funnel-slice.step-0{background:#A78BFA}.funnel-slice.step-1{background:#7AA2FF}.funnel-slice.step-2{background:#D6AE54}.funnel-slice.step-3{background:#43B989}
.funnel-connector{background:var(--line-strong)}
.overlay{background:rgba(38,28,56,.25);backdrop-filter:blur(5px)}
.drawer,.drawer-header,.drawer-footer{background:rgba(255,255,255,.98)}
.drawer{border-color:var(--line-strong)}
.drawer-header p,.tag-editor-note,.tag-choice-head,.tag-new-preview-field>label{color:var(--muted)}
.tag-choice-row,.tag-new-section{background:transparent;border-color:var(--line)}
.tag-editor-catalog{border:1px solid var(--line-strong)}
.tag-editor-catalog legend{color:var(--muted)}
.tag-choice-name{color:var(--text)}
.account-brand,.account-brand strong,.account-card h1{color:var(--text)}
.account-brand small,.account-eyebrow,.account-card .account-help,.account-card .muted,.account-heading p{color:var(--muted)}
.account-logo{box-shadow:none}
.account-card{background:linear-gradient(145deg,rgba(167,139,250,.05),transparent 55%),#FFFFFF}
.account-card #auth-toggle{margin-top:16px;background:transparent;color:var(--deep);border-color:var(--line-strong);border-radius:var(--radius-control)}
.account-card .btn.primary{width:100%}
.account-card.membership-card>.btn.primary{width:auto;min-width:180px;flex-shrink:0}
.account-card .tag.green{background:rgba(61,220,151,.11);color:#19784F;border-color:rgba(61,220,151,.27)}

/* 统一中文系统字体与字号阶梯。 */

:root{
 --font-ui:'PingFang SC','Microsoft YaHei',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
 --fs-hero:28px;--fs-h1:24px;--fs-h2:18px;--fs-h3:15px;
 --fs-body:14px;--fs-secondary:13px;--fs-caption:12px;--fs-micro:11px;
 --fw-heading:650;--fw-title:700;--fw-label:650;--fw-body:400;--fw-secondary:400;
 --lh-body:1.6;--lh-number:1.2;--lh-table:1.4;
}
body{font-family:var(--font-ui);font-size:var(--fs-body);font-weight:var(--fw-body);line-height:var(--lh-body);font-variant-numeric:tabular-nums}
button,input,select,textarea,.btn{font-family:var(--font-ui);font-size:var(--fs-body);font-weight:500;line-height:var(--lh-body);font-variant-numeric:tabular-nums}
h1,.page-heading h1,.account-card h1,.account-heading h1{font-size:var(--fs-h1);font-weight:var(--fw-title);line-height:1.3}
h2,.panel h2,.dashboard-chart h2,.funnel-panel h2,.drawer-header h2{font-size:var(--fs-h2);font-weight:var(--fw-title);line-height:1.4}
h3,.panel h3{font-size:var(--fs-h3);font-weight:var(--fw-title);line-height:1.4}
.sidebar .brand h2{font-size:var(--fs-h2);font-weight:var(--fw-heading)}
.sidebar .nav a{font-size:var(--fs-body);font-weight:500}
.sidebar .nav a.active{font-weight:var(--fw-title)}
.sidebar .brand small,.brand-copy small,.nav-label{font-size:var(--fs-caption);font-weight:400}
.topbar .search input{font-size:var(--fs-body)}
.topbar-clock,.topbar kbd{font-size:var(--fs-caption)}
.workspace-identity b,.side-foot .workspace-identity b{font-size:var(--fs-body);font-weight:600}
.workspace-identity small,.side-foot .workspace-identity small{font-size:var(--fs-caption);font-weight:400}
small,.muted,.page-heading p,.account-card p,.account-card .muted,.account-help,.account-foot{font-size:var(--fs-secondary);font-weight:var(--fw-secondary);line-height:var(--lh-body)}
label.field,.field,.field>label,.account-card label.field{font-size:var(--fs-secondary);font-weight:var(--fw-label);color:var(--muted)}
.account-eyebrow,.account-brand small,.account-card .account-help,.account-foot{font-size:var(--fs-caption)}
.account-brand strong{font-size:var(--fs-h2);font-weight:var(--fw-title)}
.data-table th,.customer-table th{font-size:var(--fs-body);font-weight:var(--fw-title);line-height:var(--lh-table)}
.data-table td,.customer-table td,.customer-table .name{font-size:var(--fs-body);line-height:var(--lh-table)}
.customer-table .name{font-weight:500}
.customer-table .date-cell,.customer-table td small,.customer-table .block{font-size:var(--fs-caption);font-weight:400;line-height:var(--lh-table);font-variant-numeric:tabular-nums}
.customer-table td .btn,.data-table td .btn{font-size:var(--fs-secondary);font-weight:500}
.tag,.sample-badge,.grade-label,.customer-tags .customer-tag-chip,.customer-tag-chip,.customer-status-filters .tag,.tag-color-preview .customer-tag-chip{font-size:var(--fs-caption);font-weight:500;line-height:1.5}
.inline-grade{font-size:var(--fs-body);font-weight:500}
.customer-batch-bar,.customer-batch-bar span,.customer-batch-bar label{font-size:var(--fs-secondary)}
.content>.attention-notice,.attention-notice p,.attention-notice>.btn{font-size:var(--fs-secondary);font-weight:400}
.footer-badge{font-size:var(--fs-caption)}
.dashboard-context,.dashboard-context small,.dashboard-month select{font-size:var(--fs-secondary)}
.dashboard-kpi strong,.workspace-metric>strong,.grade-donut strong,.funnel-cohort strong{font-size:var(--fs-hero);font-weight:var(--fw-heading);line-height:var(--lh-number);font-variant-numeric:tabular-nums}
.dashboard-kpi p{font-size:var(--fs-secondary);font-weight:var(--fw-title)}
.dashboard-kpi strong small,.dashboard-kpi div>span,.dashboard-kpi .kpi-comparison,.dashboard-kpi .chart-reason,.grade-donut small{font-size:var(--fs-caption);font-weight:400}
.chart-unit,.chart-subtitle,.chart-reason,.chart-foot,.trend-y,.trend-bar-space>b,.trend-column>small,.grade-legend>a,.grade-legend b,.grade-legend small,.grade-legend .grade-change,.high-grade-summary{font-size:var(--fs-caption);font-weight:400}
.dashboard-chart .panel-head>a,.funnel-panel .panel-head>a,.funnel-heading p,.funnel-heading small,.funnel-foot,.dashboard-definitions{font-size:var(--fs-caption);font-weight:400}
.funnel-stage-label,.funnel-cohort>span{font-size:var(--fs-h3);font-weight:500}
.funnel-number{font-size:var(--fs-h2);font-weight:var(--fw-heading);line-height:var(--lh-number);font-variant-numeric:tabular-nums}
.funnel-stage-label>small,.funnel-number small,.funnel-cohort strong small,.funnel-cohort p{font-size:var(--fs-caption);font-weight:400}
.drawer-header p,.tag-editor-note{font-size:var(--fs-secondary);font-weight:400}
.tag-choice-head,.tag-new-preview-field>label{font-size:var(--fs-caption);font-weight:400}
.tag-editor-catalog legend{font-size:var(--fs-secondary);font-weight:500}
.tag-choice-label,.tag-choice-row select,.tag-new-controls select{font-size:var(--fs-body);font-weight:400}
/* 11px 仅预留给已有的新功能徽章，其他辅助文字最低12px。 */
/* 会员入口保持次级操作，窄屏沿用全宽按钮。 */

@media(max-width:600px){.account-card.membership-card>.btn.primary{width:100%;min-width:0}}


/* 正式页面共用字号，不改变原有列宽和断点。 */
.customer-detail-tasks b,.customer-note,.followup-timeline{font-size:var(--fs-body)}
.field small,.grade-setup,.grade-setup-link,.avatar-editor-controls small,.customer-overview-fact,.customer-detail-tasks .btn,.customer-detail-columns .panel-head .btn{font-size:var(--fs-secondary)}
.avatar-editor-controls h3{font-size:var(--fs-h3)}
.avatar-editor-actions .btn{font-size:var(--fs-body)}
.customer-identity h2{font-size:var(--fs-h1)}
.customer-overview-fact dt,.customer-last-updated small,.customer-detail-tasks time{color:var(--muted)}
.customer-table .date-cell{white-space:nowrap}
@media(prefers-reduced-motion:reduce){button,.btn,a,input,select,textarea{transition:none}}

/* 覆盖旧组件中小于12px的辅助文字。 */
.search-results small,.search-result-kind,.settings-nav .setup-status,.sidebar .nav-badge,.sidebar.collapsed .nav-badge,.analysis-message-media-item .analysis-message-media-name,.ai-usage-heading small,.ai-usage-items a>small,.metric-value small,.side-status,.setup-status,.trend-chart text{font-size:var(--fs-caption)}

/* 跟进内容是整块选择区域，不套用胶囊按钮的悬停底色；保留键盘焦点提示。 */
.schedule-task>.btn[data-action="schedule-select"],.schedule-task>.btn[data-action="schedule-select"]:hover:not(:disabled),.schedule-task>.btn[data-action="schedule-select"]:active:not(:disabled){background:transparent;border:0;border-radius:var(--radius-control);box-shadow:none;transform:none}

/* 标题与字段名突出层级；只调整字重，正文、字号及布局保持原样。 */
.customer-overview-fact dt,.customer-facts dt,.customer-summary p,.grade-preview-field>label,.tag-new-preview-field>label,.tag-editor-catalog legend{font-weight:var(--fw-label)}
.workspace-metric h3,.grade-due-heading h3,details>summary{font-weight:var(--fw-title)}
.funnel-stage-label>span,.funnel-cohort>span{font-weight:var(--fw-label)}

/* 操作与筛选统一圆角矩形；头像、图表圆点等非按钮图形保持原样。 */
button,.btn,.filters button,.segmented button,.tabs button,.nav button{border-radius:var(--radius-control)}
/* 红涨绿跌只表示数值方向，不判断指标好坏；零变化与历史不足保持中性。 */
.metric-change{font-size:inherit;line-height:inherit;white-space:nowrap;font-variant-numeric:tabular-nums}
.metric-change.metric-change--up{color:var(--comparison-up);font-weight:700}
.metric-change.metric-change--down{color:var(--comparison-down);font-weight:700}
.metric-change.metric-change--flat{color:var(--muted);font-weight:400}

/* 页面巡检：字段名与必填标记同一行，说明与操作分层。 */
.field-title{display:inline-flex;align-items:baseline;gap:4px;min-width:0;line-height:1.5}
.required-mark{color:var(--error);flex-shrink:0}
.settings-content{display:flex;flex-direction:column;gap:20px;min-width:0}
.settings-content>form,.settings-content>section{margin-top:0;margin-bottom:0}
.drawer-header{gap:16px;align-items:flex-start}
.drawer-header>div{min-width:0}
.drawer-header h2{overflow-wrap:anywhere}
.drawer-header>button{flex:0 0 40px;width:40px;min-height:40px;padding:0}
.drawer-header small{display:block;margin-top:4px;line-height:1.6}
.drawer-footer{flex-wrap:wrap}
/* 图例随卡片实际宽度换行，避免名称被压成竖列。 */
.grade-chart{flex-wrap:wrap;justify-content:center}
.grade-legend{flex:1 1 230px;min-width:min(230px,100%);max-width:none}
.grade-legend>a{grid-template-columns:8px minmax(0,1fr) 24px 44px 65px}
.grade-legend-name{overflow-wrap:break-word}
.library-card>div:not(.library-icon){display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.library-card>div>b{margin-top:auto}
@media(max-width:600px){
 .drawer-header,.drawer-footer{padding:16px 18px}
 .drawer-body{padding:20px 18px}
 .settings-content{gap:16px}
}
/* 上传与多选同样使用现有控件风格，保留原生选择和键盘行为。 */
input[type=file]::file-selector-button{font:inherit;color:var(--deep);background:var(--primary-soft);border:1px solid var(--line-strong);border-radius:8px;padding:7px 12px;margin-right:10px;cursor:pointer}
#product-feedback-form fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;min-width:0;margin:0;padding:16px;border:1px solid var(--line);border-radius:var(--radius-control)}
#product-feedback-form legend{padding:0 6px;font-size:var(--fs-secondary);font-weight:var(--fw-label);color:var(--muted)}
#product-feedback-form fieldset label{gap:8px;min-height:36px;min-width:0}
#product-feedback-form fieldset input{flex:0 0 auto}
#product-feedback-records>.row{flex-wrap:wrap;margin-top:12px}
.dashboard-chart{container-type:inline-size}
@container(max-width:460px){
 .grade-chart{gap:16px}
 .grade-donut{width:125px;height:125px}
 .grade-donut>div{width:90px;height:90px}
}
/* 设置页还有二级菜单，提醒配置按实际卡片宽度响应，避免三列挤压按钮。 */
.notification-setup{container-type:inline-size}
@container(max-width:900px){
 .notification-overview,.setup-steps{grid-template-columns:1fr}
 .notification-tutorial{max-width:560px}
}
.setup-steps .btn{max-width:100%;white-space:normal;text-align:center}
