/* 企益推送 — 共享组件；局部修正回到本组件定义。Copyright (c) 2026 涂鸦。 */
.mp-theme .brand{display:inline-flex;align-items:center;gap:var(--brand-gap);color:var(--color-ink);white-space:nowrap;max-width:100%;text-decoration:none}
.mp-theme .brand-symbol{display:block;width:var(--brand-symbol-size);height:var(--brand-symbol-size);flex-shrink:0;object-fit:contain}
.mp-theme .brand-combined{display:block;width:auto;max-width:min(100%,calc(var(--brand-wordmark-width) + var(--brand-symbol-size) + var(--brand-gap)));height:var(--brand-symbol-size);object-fit:contain;object-position:left center}
.mp-theme .brand-name{min-width:0;max-width:var(--brand-wordmark-width);overflow:hidden;text-overflow:ellipsis;font-size:var(--text-base);font-weight:var(--weight-strong)}
.mp-theme .brand-wordmark{display:block;width:var(--brand-wordmark-width);height:auto;flex-shrink:0;mix-blend-mode:multiply}
.mp-theme .brand-mark{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.mp-theme .button{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:var(--control-height);padding:0 var(--button-inline-padding);border:1px solid transparent;border-radius:var(--button-radius);flex-shrink:0;background:var(--color-brand);color:var(--color-white);font-size:var(--text-sm);font-weight:var(--weight-strong);line-height:1.5;white-space:nowrap;transition:background var(--transition-fast),transform var(--transition-fast)}
.mp-theme .button:hover{background:var(--color-brand-hover);color:var(--color-white)}
.mp-theme .button:active{transform:translateY(1px)}
.mp-theme .button--quiet{background:var(--color-white);border-color:var(--color-border-strong);color:var(--color-body);font-weight:var(--weight-normal)}
.mp-theme .button--quiet:hover{background:var(--color-brand-soft);color:var(--color-brand);border-color:var(--color-brand)}
.mp-theme .button--small{min-height:var(--control-small-height);padding:0 var(--space-4)}
.mp-theme .button--large{min-height:48px;padding-inline:var(--space-6);font-size:var(--text-sm)}
.mp-theme .button--wide{width:100%}
.mp-theme .button--light{background:var(--color-white);color:var(--color-brand)}
.mp-theme .button--light:hover{background:var(--color-brand-soft);color:var(--color-brand)}
.mp-theme .text-link,
.mp-theme .text-button{font-size:var(--text-sm);font-weight:var(--weight-strong);color:var(--color-brand);white-space:nowrap}
.mp-theme .text-button{display:inline-flex;align-items:center;justify-content:center;min-height:var(--control-small-height);padding:0 var(--space-3);background:var(--color-white);border:1px solid var(--color-border);border-radius:var(--button-radius);font-weight:var(--weight-normal)}
.mp-theme .text-button--danger{color:var(--color-danger)}
.mp-theme .icon-button{width:var(--icon-button-size);height:var(--icon-button-size);display:inline-grid;place-items:center;background:transparent;border:1px solid var(--color-border);border-radius:var(--button-radius);color:var(--color-muted);flex-shrink:0}
.mp-theme .icon-button:hover{color:var(--color-brand);background:var(--color-brand-soft)}
.mp-theme .feature-icon{display:grid;place-items:center;width:64px;height:64px;color:var(--color-brand);background:var(--color-brand-soft);border-radius:var(--radius-xl)}
.mp-theme .feature-icon .icon{width:30px;height:30px;stroke-width:1.6}
.mp-theme .panel{background:var(--color-white);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:var(--space-6);margin-bottom:var(--space-6);min-width:0}
.mp-theme .panel--form{width:100%;max-width:none}
.mp-theme .panel-heading>.button,
.mp-theme .panel-heading>.text-link{flex-shrink:0}
.mp-theme .panel-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:var(--space-3) var(--space-5);padding-bottom:var(--space-4);margin-bottom:var(--space-5);border-bottom:1px solid var(--color-border)}
.mp-theme .panel-heading-meta{font-size:var(--text-sm);color:var(--color-muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.mp-theme .panel-heading h2{font-size:var(--text-lg);line-height:1.35;margin:0}
.mp-theme .panel-heading p{font-size:var(--text-sm);font-weight:var(--weight-normal);color:var(--color-muted);margin:var(--space-2) 0 0;line-height:1.6}
.mp-theme .panel-heading-inline{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--space-1) var(--space-4);min-width:0}
.mp-theme .panel-heading-inline p{margin:0;overflow-wrap:anywhere}
.mp-theme .panel-heading>.button .icon{width:16px;height:16px}
.mp-theme .stat-card{padding:var(--space-6);background:var(--color-white);border:1px solid var(--color-border);border-radius:var(--radius-lg);min-width:0}
.mp-theme .stat-top{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);font-size:var(--text-sm);font-weight:var(--weight-normal)}
.mp-theme .stat-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:var(--radius-sm);background:var(--color-brand-soft);color:var(--color-brand)}
.mp-theme .stat-icon .icon{width:18px;height:18px}
.mp-theme .stat-value{display:block;font-size:var(--text-2xl);line-height:1.35;margin-block:var(--space-3) var(--space-2);letter-spacing:0;font-variant-numeric:tabular-nums}
.mp-theme .stat-card>small{color:var(--color-muted);font-size:var(--text-xs)}
.mp-theme .badge{display:inline-flex;align-items:center;padding:3px 9px;font-size:var(--text-xs);border-radius:var(--radius-sm);white-space:nowrap}
.mp-theme .badge--success{background:var(--color-success-bg);color:var(--color-success)}
.mp-theme .badge--danger{background:var(--color-danger-bg);color:var(--color-danger)}
.mp-theme .badge--neutral{background:var(--color-canvas);color:var(--color-muted)}
.mp-theme .inline-badges{display:flex;flex-wrap:wrap;gap:var(--space-2)}
.mp-theme .alert{padding:var(--space-4) var(--space-5);background:var(--color-white);border:1px solid var(--color-border);border-radius:var(--radius-sm);margin-bottom:var(--space-6);font-size:var(--text-sm)}
.mp-theme .alert--success{background:var(--color-success-bg);border-color:var(--color-border-strong);color:var(--color-success)}
.mp-theme .alert--danger{background:var(--color-danger-bg);color:var(--color-danger)}
.mp-theme .empty{text-align:center;padding:var(--space-8) var(--space-6)}
.mp-theme .empty>.icon{width:40px;height:40px;padding:var(--space-2);stroke-width:1.6;color:var(--color-muted);background:var(--color-surface-soft);border-radius:var(--radius-md)}
.mp-theme .empty h3{margin:var(--space-4) 0 var(--space-2);font-size:var(--text-base);font-weight:var(--weight-normal)}
.mp-theme .empty p{font-size:var(--text-sm);color:var(--color-muted);margin:0}
.mp-theme .table-wrap{width:100%;overflow-x:auto}
.mp-theme .table-wrap table{min-width:640px}
.mp-theme table{width:100%;border-collapse:collapse;text-align:left;font-size:var(--text-sm);line-height:1.6;font-variant-numeric:tabular-nums}
.mp-theme th{background:var(--color-surface-soft);color:var(--color-muted);font-weight:var(--weight-normal);white-space:nowrap;padding:var(--space-3) var(--space-6);border-bottom:1px solid var(--color-border)}
.mp-theme td{padding:var(--space-4) var(--space-6);border-bottom:1px solid var(--color-border);vertical-align:middle}
.mp-theme tbody tr:last-child td{border-bottom:0}
.mp-theme td .truncate{max-width:240px}
.mp-theme .cell-subtitle{display:block;font-size:var(--text-xs);color:var(--color-muted);margin-top:var(--space-1)}
.mp-theme td .inline-actions{flex-wrap:nowrap}
.mp-theme td input{max-width:150px}
.mp-theme .nowrap-cell{white-space:nowrap}
.mp-theme .plan-name-cell{min-width:8.5rem;text-wrap:balance}
.mp-theme .table-inline-form input{height:var(--control-small-height);min-width:8rem}
.mp-theme .form-stack{display:flex;flex-direction:column;gap:var(--space-5)}
.mp-theme .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-5) var(--space-6)}
.mp-theme .form-grid-wide{grid-column:1/-1}
.mp-theme label{display:flex;flex-direction:column;gap:var(--space-2);font-size:var(--text-sm);font-weight:var(--weight-normal);color:var(--color-body);min-width:0;text-wrap:balance}
.mp-theme input,
.mp-theme select,
.mp-theme textarea{width:100%;min-width:0;background:var(--color-white);border:1px solid var(--color-border-strong);border-radius:var(--radius-sm);height:var(--control-height);padding:var(--control-padding-block) var(--space-3);font-size:var(--text-sm);line-height:1.5;color:var(--color-ink);font-weight:var(--weight-normal);transition:border-color var(--transition-fast),box-shadow var(--transition-fast)}
.mp-theme input::placeholder,
.mp-theme textarea::placeholder{color:var(--color-muted)}
.mp-theme input:focus,
.mp-theme select:focus,
.mp-theme textarea:focus{border-color:var(--color-brand);outline:none}
.mp-theme input[readonly]{background:var(--color-surface-soft);color:var(--color-muted)}
.mp-theme input[type=checkbox]{width:17px;height:17px;min-height:17px;accent-color:var(--color-brand);flex-shrink:0;margin:0}
.mp-theme select{appearance:none;background-image:url('../chevron.svg');background-repeat:no-repeat;background-position:right 12px center;background-size:14px;padding-right:var(--space-8)}
.mp-theme textarea{height:auto;min-height:112px;resize:vertical}
.mp-theme .settings-tabs{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-bottom:var(--space-4)}
.mp-theme .settings-tabs .icon,.mp-theme .support-menu .icon,.mp-theme .support-card .icon{width:16px;height:16px}
.mp-theme .settings-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr);gap:var(--space-8);align-items:start}
.mp-theme .settings-grid .form-stack{min-width:0}
.mp-theme .settings-grid textarea{min-height:80px}
.mp-theme .settings-panel input[type=file]{height:auto;min-height:var(--control-height);padding:var(--space-1);font-size:var(--text-xs)}
.mp-theme .settings-panel input[type=file]::file-selector-button{border:0;border-radius:var(--radius-pill);padding:var(--space-2) var(--space-3);margin-inline-end:var(--space-2);background:var(--color-brand-soft);color:var(--color-brand);font:inherit;cursor:pointer}
.mp-theme .settings-panel .settings-option{align-items:center;margin:var(--space-3) 0 0;font-size:var(--text-xs)}
.mp-theme .settings-images{border-top:1px solid var(--color-border);padding-top:var(--space-5)}
.mp-theme .settings-actions{display:flex;flex-wrap:wrap;gap:var(--space-3);padding-top:var(--space-5);border-top:1px solid var(--color-border)}
.mp-theme .settings-switch{padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface-soft)}
.mp-theme .settings-switch .checkbox-row{margin:0 0 var(--space-1);align-items:center;font-weight:var(--weight-strong)}
.mp-theme .settings-preview{min-width:0;display:grid;gap:var(--space-3);padding:var(--space-5);border:1px solid var(--color-border);border-radius:var(--radius-xl);background:var(--color-surface-soft)}
.mp-theme .settings-preview h3{margin:0 0 var(--space-1)}
.mp-theme .brand-preview-sample{min-width:0;display:grid;gap:var(--space-2);padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-white)}
.mp-theme .brand-preview-sample--icon{grid-template-columns:1fr auto;align-items:center}
.mp-theme .settings-preview-label{font-size:var(--text-xs);color:var(--color-muted)}
.mp-theme .support-menu>summary{list-style:none;cursor:pointer}
.mp-theme .support-menu>summary::-webkit-details-marker{display:none}
.mp-theme .support-menu[open]>summary{color:var(--color-brand);border-color:var(--color-brand);background:var(--color-brand-soft)}
.mp-theme .support-card{display:grid;gap:var(--space-3);padding:var(--space-5);border:1px solid var(--color-border);border-radius:var(--radius-xl);background:var(--color-white)}
.mp-theme .support-card h4{display:flex;align-items:center;gap:var(--space-2);margin:0;font-size:var(--text-base)}
.mp-theme .support-card h4 .icon{color:var(--color-brand)}
.mp-theme .support-qr{display:grid;justify-items:center;gap:var(--space-2);padding:var(--space-3);border-radius:var(--radius-lg);background:var(--color-surface-soft)}
.mp-theme .support-qr img{display:block;width:9rem;height:9rem;max-width:100%;object-fit:contain;background:var(--color-white);border-radius:var(--radius-sm)}
.mp-theme .support-qr span,.mp-theme .support-hours{font-size:var(--text-xs);color:var(--color-muted)}
.mp-theme .support-hours,.mp-theme .support-note{margin:0;overflow-wrap:anywhere;white-space:pre-line}
.mp-theme .support-note{border-top:1px solid var(--color-border);padding-top:var(--space-3)}
.mp-theme .support-card .support-call{width:100%;white-space:normal;overflow-wrap:anywhere}
@media(max-width:900px){.mp-theme .settings-grid{grid-template-columns:1fr;gap:var(--space-5)}}

.mp-theme .form-hint{color:var(--color-muted);font-size:var(--text-xs);font-weight:var(--weight-normal);line-height:1.8;margin:0;text-wrap:pretty}
.mp-theme .form-stack>.button{align-self:flex-start}
.mp-theme .form-stack>.button--wide{align-self:stretch}
.mp-theme .form-section-title{border-top:1px solid var(--color-border);padding-top:var(--space-5);margin:0;font-weight:var(--weight-strong)}
.mp-theme .form-actions{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-4);padding-top:var(--space-5);border-top:1px solid var(--color-border)}
.mp-theme .form-actions .checkbox-row{margin:0}
.mp-theme .checkbox-row{display:flex;flex-direction:row;align-items:flex-start;gap:var(--space-3);font-weight:var(--weight-normal);line-height:1.4;margin-bottom:var(--space-4)}
.mp-theme .checkbox-row input{margin-top:2px}
.mp-theme .checkbox-group{display:flex;flex-wrap:wrap;gap:var(--space-6)}
.mp-theme .checkbox-group .checkbox-row{margin:0}
.mp-theme .password-field{position:relative}
.mp-theme .auth-password{display:grid;gap:var(--space-2)}
.mp-theme .auth-password-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}
.mp-theme .auth-password-heading a{font-size:var(--text-sm);white-space:nowrap}
.mp-theme .registration-fields{display:grid;gap:var(--space-5);min-inline-size:0;padding:0;margin:0;border:0}
.mp-theme .mail-code-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--space-3);align-items:end}
.mp-theme .mail-code-field .button{padding-inline:var(--space-3)}
.mp-theme .mail-code-field .button:disabled{cursor:default}
.mp-theme .mail-code-status{margin-top:calc(-1 * var(--space-3))}
.mp-theme [data-mail-code-status]:empty{display:none}
.mp-theme .password-field input{padding-right:48px}
.mp-theme .password-toggle:hover{color:var(--color-brand);background:var(--color-brand-soft)}
.mp-theme .password-toggle{position:absolute;right:var(--space-2);top:50%;transform:translateY(-50%);width:30px;height:30px;display:grid;place-items:center;padding:0;border:0;border-radius:var(--button-radius);background:transparent;color:var(--color-muted)}
.mp-theme .inline-actions{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap}
.mp-theme .stack-actions{display:flex;flex-direction:column;align-items:flex-end;gap:var(--space-3)}
.mp-theme .toolbar{display:flex;justify-content:space-between;align-items:center;gap:var(--space-4);margin-bottom:var(--space-5)}
.mp-theme .toolbar--filter{justify-content:flex-start;align-items:flex-end}
.mp-theme .toolbar--filter label{min-width:240px}
.mp-theme .toolbar input{width:auto}
.mp-theme .avatar{width:34px;height:34px;flex-shrink:0;display:inline-grid;place-items:center;border-radius:50%;background:var(--color-brand-soft);color:var(--color-brand)}
.mp-theme .account-item{display:flex;gap:var(--space-4);padding-block:var(--space-5);border-bottom:1px solid var(--color-border)}
.mp-theme .account-item:first-child{padding-top:0}
.mp-theme .account-item:last-child{border:0;padding-bottom:0}
.mp-theme .account-avatar{width:45px;height:45px;flex-shrink:0;display:grid;place-items:center;color:var(--color-brand);background:var(--color-brand-soft);border-radius:var(--radius-md)}
.mp-theme .account-info{flex:1;min-width:0}
.mp-theme .account-info h3{margin-bottom:var(--space-2)}
.mp-theme .account-info>div{margin-block:var(--space-2)}
.mp-theme .account-info small{color:var(--color-muted);font-size:var(--text-xs)}
.mp-theme .account-info p{font-size:var(--text-xs);margin:var(--space-2) 0}
.mp-theme .template-card{border:1px solid var(--color-border);padding:var(--space-5);border-radius:var(--radius-md);min-width:0}
.mp-theme .template-card-icon{display:inline-grid;place-items:center;width:38px;height:38px;color:var(--color-brand);background:var(--color-brand-soft);border-radius:var(--radius-sm);margin-bottom:var(--space-4)}
.mp-theme .template-card h3{margin-bottom:var(--space-3)}
.mp-theme .template-card code{font-size:var(--text-xs);color:var(--color-muted)}
.mp-theme .template-content{white-space:pre-wrap;overflow-wrap:anywhere;font-size:var(--text-sm);color:var(--color-muted);margin-top:var(--space-4);min-height:75px}
.mp-theme .template-switch>.button{align-self:end;justify-self:start}
.mp-theme .template-switch{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:var(--space-3);padding-bottom:var(--space-6);border-bottom:1px solid var(--color-border);margin-bottom:var(--space-6)}
.mp-theme .preview-content{position:sticky;inset-block-start:var(--space-6)}
.mp-theme .preview-content>.form-hint{margin-top:var(--space-5);text-align:center}
@media(width > 1200px){
  .mp-theme .editor-layout--empty .preview-panel{display:flex}
  .mp-theme .editor-layout--empty .preview-content{display:flex;flex:1;flex-direction:column}
  .mp-theme .editor-layout--empty .notification-card{margin-block-start:auto}
  .mp-theme .editor-layout--empty .preview-content>.form-hint{margin-block-end:auto}
}
.mp-theme .notification-card{background:var(--color-white);border-radius:var(--radius-md);padding:var(--space-6);border:1px solid var(--color-border)}
.mp-theme .notification-heading{font-size:var(--text-lg);font-weight:var(--weight-strong);color:var(--color-ink)}
.mp-theme .notification-date{font-size:var(--text-sm);color:var(--color-muted);margin-top:var(--space-2);margin-bottom:var(--space-8)}
.mp-theme .notification-card dl div{display:grid;grid-template-columns:minmax(72px,auto) minmax(0,1fr);gap:var(--space-3);margin-block:var(--space-3);font-size:var(--text-sm)}
.mp-theme .notification-card dt{color:var(--color-muted);flex-shrink:0}
.mp-theme .notification-card dd{color:var(--color-ink);overflow-wrap:anywhere}
.mp-theme .notification-footer{display:flex;align-items:center;justify-content:space-between;margin-top:var(--space-8);border-top:1px solid var(--color-border);padding-top:var(--space-4);font-size:var(--text-sm)}
.mp-theme .notification-footer>span{color:var(--color-brand)}
.mp-theme .welcome-panel{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-6);margin-bottom:var(--space-6);
}
.mp-theme .welcome-column{
  display:flex;flex-direction:column;gap:var(--space-3);padding:var(--space-5) var(--space-6);min-width:0;
  background:var(--color-white);border:1px solid var(--color-border);border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm);
}
.mp-theme .welcome-column--plan{background:var(--heading-background);border-color:var(--color-border-strong)}
.mp-theme .welcome-column--plan .stat-icon{background:var(--color-white)}
.mp-theme .welcome-column-heading{
  display:flex;align-items:center;min-width:0;gap:var(--space-3);
  padding-bottom:var(--space-3);border-bottom:1px solid var(--color-border);
}
.mp-theme .welcome-column-heading h2{font-size:var(--text-lg);margin:0;line-height:1.35}
.mp-theme .welcome-column p{margin:0;font-size:var(--text-sm);line-height:1.65;color:var(--color-body)}
.mp-theme .welcome-plan{display:grid;gap:var(--space-1);min-width:0}
.mp-theme .welcome-plan>strong{font-size:var(--text-xl);line-height:1.35;overflow-wrap:anywhere}
.mp-theme .welcome-plan .welcome-expiry{display:flex;flex-wrap:wrap;gap:0 var(--space-2);color:var(--color-muted)}
.mp-theme .welcome-expiry time{white-space:nowrap;font-variant-numeric:tabular-nums}
.mp-theme .welcome-plan-features:not(:has(.badge)){display:none}
.mp-theme .welcome-actions{margin-top:auto;padding-top:var(--space-1)}
.mp-theme .welcome-column .check-list{margin:0}
.mp-theme .welcome-column .check-list li:last-child{margin-bottom:0}
.mp-theme .pricing-card{background:var(--color-white);padding:var(--space-8);border:1px solid var(--color-border);border-radius:var(--radius-md);display:flex;flex-direction:column}
.mp-theme .pricing-card h3{font-size:var(--text-xl)}
.mp-theme .pricing-card>p{color:var(--color-muted);font-size:var(--text-sm)}
.mp-theme .pricing-card>.button,
.mp-theme .pricing-card>form{margin-top:auto}
.mp-theme .plan-price{display:flex;align-items:baseline;gap:var(--space-2);margin-bottom:var(--space-5);color:var(--color-ink)}
.mp-theme .plan-price strong{font-size:2.5rem;letter-spacing:-.04em}
.mp-theme .plan-price small{font-size:var(--text-sm);color:var(--color-muted)}
.mp-theme .check-list{list-style:none;padding:0;font-size:var(--text-sm);margin:var(--space-4) 0 var(--space-6)}
.mp-theme .check-list li{display:flex;align-items:flex-start;gap:var(--space-2);margin-bottom:var(--space-3)}
.mp-theme .check-list .icon{margin-top:.15em;color:var(--color-brand)}
.mp-theme .current-plan{display:grid;gap:var(--space-5)}
.mp-theme .current-plan-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);align-items:center;gap:var(--space-6)}
.mp-theme .current-plan-identity{min-width:0}
.mp-theme .current-plan-label{color:var(--color-brand);font-size:var(--text-sm);font-weight:var(--weight-strong)}
.mp-theme .current-plan h2{font-size:var(--text-2xl);margin:var(--space-1) 0 var(--space-2);overflow-wrap:anywhere}
.mp-theme .current-plan-expiry{display:flex;flex-wrap:wrap;gap:0 var(--space-2);font-size:var(--text-sm);color:var(--color-muted);margin:0}
.mp-theme .current-plan-expiry time{font-variant-numeric:tabular-nums;white-space:nowrap}
.mp-theme .plan-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:var(--color-surface-soft);border:1px solid var(--color-border);border-radius:var(--radius-md);padding-block:var(--space-3)}
.mp-theme .plan-facts>div{min-width:0;padding-inline:var(--space-4)}
.mp-theme .plan-facts>div+div{border-inline-start:1px solid var(--color-border)}
.mp-theme .plan-facts dt,.mp-theme .plan-facts small{font-size:var(--text-xs);color:var(--color-muted)}
.mp-theme .plan-facts dd{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 var(--space-1);line-height:1.4;margin-top:var(--space-1)}
.mp-theme .plan-facts strong{font-size:var(--text-xl);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.mp-theme .plan-facts small{white-space:nowrap}
.mp-theme .current-plan-policy{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--space-1) var(--space-4);padding-top:var(--space-4);border-top:1px solid var(--color-border)}
.mp-theme .current-plan-policy h3{font-size:var(--text-sm);white-space:nowrap;margin:0}
.mp-theme .current-plan-policy p{font-size:var(--text-sm);color:var(--color-muted);margin:0;text-wrap:pretty}
.mp-theme .member-row{display:flex;gap:var(--space-4);align-items:center;padding-block:var(--space-4);border-bottom:1px solid var(--color-border)}
.mp-theme .member-row>div{flex:1;min-width:0}
.mp-theme .member-row strong,
.mp-theme .member-row small{display:block}
.mp-theme .member-row small{color:var(--color-muted);font-size:var(--text-xs);overflow-wrap:anywhere}
.mp-theme .payment-amount{display:block;font-size:var(--text-3xl);margin-block:var(--space-5)}
.mp-theme .payment-qr{width:240px;height:240px;padding:var(--space-4);border:1px solid var(--color-border);margin:var(--space-6) auto}
.mp-theme .payment-qr img,
.mp-theme .payment-qr svg{width:100%;height:100%}
.mp-theme .toast{position:fixed;bottom:var(--space-8);left:50%;transform:translateX(-50%);background:var(--color-ink);color:var(--color-white);padding:var(--space-3) var(--space-6);border-radius:var(--radius-md);box-shadow:var(--shadow-md);font-size:var(--text-sm);z-index:var(--z-toast);max-width:90vw}
@media(max-width:1200px){.mp-theme .preview-content{position:static}}
@media(max-width:1024px){
  .mp-theme .welcome-column{padding-inline:var(--space-4)}
  .mp-theme .welcome-column-heading{gap:var(--space-2)}
  .mp-theme .welcome-column-heading h2{font-size:var(--text-base)}
}
@media(max-width:768px){
.mp-theme .panel{padding:var(--space-6)}
.mp-theme .stat-card{padding:var(--space-4)}
.mp-theme .stat-top{gap:var(--space-2);align-items:flex-start}
.mp-theme .stat-icon{width:28px;height:28px;flex-shrink:0}
.mp-theme .stat-value{font-size:var(--text-xl)}
.mp-theme .panel-heading{gap:var(--space-3)}
.mp-theme .panel-heading h2{font-size:var(--text-lg)}
.mp-theme .form-grid{grid-template-columns:1fr}
.mp-theme .toolbar{flex-wrap:wrap}
.mp-theme .toolbar--filter label{min-width:0;flex:1}
.mp-theme .toolbar .inline-actions{width:100%}
.mp-theme .toolbar input{flex:1;min-width:0}
.mp-theme .form-actions>.button{width:100%}
.mp-theme .welcome-panel{grid-template-columns:1fr;gap:var(--space-4)}
.mp-theme .account-item{flex-wrap:wrap}
.mp-theme .account-item .stack-actions{width:100%;flex-direction:row;justify-content:flex-start}
.mp-theme .current-plan-summary{grid-template-columns:1fr;gap:var(--space-4)}
.mp-theme .plan-facts>div{padding-inline:var(--space-2)}
.mp-theme .plan-facts dd{flex-direction:column;align-items:flex-start}
.mp-theme .plan-facts strong{font-size:clamp(var(--text-sm),4.1vw,var(--text-xl))}
.mp-theme .pricing-card{padding:var(--space-6)}
.mp-theme .template-switch{grid-template-columns:1fr}
.mp-theme .template-switch>.button{justify-self:start}
.mp-theme .template-content{min-height:0}
}
