:root {
  --ink: #0f172a;
  --ink-soft: #475569;
  --muted: #7c8a9f;
  --line: #e2e8f0;
  --panel: #ffffff;
  --canvas: #f4f7f9;
  --teal: #2a6eb8;
  --teal-dark: #1e5f9f;
  --teal-soft: #e8f4fb;
  --amber: #b56b08;
  --amber-soft: #fff4dd;
  --coral: #b9513d;
  --coral-soft: #fce8e3;
  --violet: #51617c;
  --violet-soft: #edf1f6;
  --nav: #1e3b52;
  --nav-hover: #294e69;
  --shadow: 0 4px 18px rgba(30, 59, 82, 0.06);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}

* { box-sizing: border-box; }

body { margin: 0; min-width: 1080px; background: var(--canvas); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.app-shell { display: flex; min-height: 100vh; }
.sidebar { position: sticky; top: 0; width: 248px; height: 100vh; flex: 0 0 248px; background: var(--nav); color: #eef2fa; display: flex; flex-direction: column; padding: 22px 14px 16px; overflow-y: auto; }
.brand-block { display: flex; align-items: center; gap: 11px; padding: 0 10px 22px; }
.brand-mark { width: 58px; height: 42px; flex: 0 0 58px; border-radius: 7px; display: grid; place-items: center; overflow: hidden; background: #fff; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.brand-name { font-size: 15px; font-weight: 700; letter-spacing: 0; }
.brand-caption { margin-top: 3px; color: #9eabc3; font-size: 11px; }
.workspace-switcher { width: calc(100% - 8px); margin: 0 4px 17px; padding: 11px 12px; border: 1px solid rgba(255,255,255,.11); background: rgba(255,255,255,.055); border-radius: 7px; display: flex; align-items: center; gap: 9px; color: #fff; text-align: left; }
.workspace-switcher:hover { background: rgba(255,255,255,.09); }
.switcher-icon { width: 15px; height: 15px; margin-left: auto; color: #94a3b8; }
.switcher-label { color: #9eabc3; font-size: 10px; }
.switcher-value { margin-top: 3px; font-size: 13px; font-weight: 650; }
.status-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #46b1ea; box-shadow: 0 0 0 3px rgba(70,177,234,.16); }
.nav-list { display: flex; flex-direction: column; gap: 4px; }
.nav-group-label { padding: 12px 12px 6px; color: #64748b; font-size: 10px; text-transform: uppercase; letter-spacing: .7px; }
.nav-item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 38px; padding: 9px 11px; border: 0; border-radius: 6px; background: transparent; color: #aeb9ca; text-align: left; font-size: 13px; transition: background .16s, color .16s; }
.nav-item:hover { color: #fff; background: var(--nav-hover); }
.nav-item.active { color: #fff; background: #28536f; box-shadow: inset 3px 0 0 #46b1ea; }
.nav-icon { width: 17px; height: 17px; flex: 0 0 17px; color: #8795aa; text-align: center; font-size: 14px; }
.nav-item.active .nav-icon { color: #8bd4f6; }
.nav-count { margin-left: auto; min-width: 20px; padding: 2px 6px; border-radius: 10px; background: #455473; color: #f5f7fa; font-size: 10px; text-align: center; }
.nav-beta { margin-left: auto; padding: 2px 5px; border-radius: 4px; background: rgba(13,148,136,.17); color: #7dd3c7; font-size: 9px; }
.sidebar-footer { margin-top: auto; padding: 15px 10px 0; border-top: 1px solid rgba(255,255,255,.11); color: #8190a9; font-size: 11px; }
.system-health { display: flex; align-items: center; gap: 8px; color: #aab7c9; }
.footer-link { margin-top: 10px; }

.main-content { min-width: 0; flex: 1; }
.topbar { position: sticky; top: 0; z-index: 9; height: 68px; padding: 0 30px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: space-between; }
.topbar-title { display: flex; flex-direction: column; gap: 4px; }
.topbar-title strong { color: var(--ink); font-size: 15px; font-weight: 700; }
.topbar-title span { color: var(--muted); font-size: 10px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.global-search { width: 250px; height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: #f8fafc; color: var(--muted); }
.global-search:focus-within { border-color: #83c9c2; background: #fff; box-shadow: 0 0 0 3px rgba(13,148,136,.08); }
.global-search svg { width: 15px; height: 15px; }
.global-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.icon-button { position: relative; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink-soft); }
.icon-button:hover { border-color: #aab8c8; background: #f8fafc; }
.icon-button svg { width: 16px; height: 16px; }
.notification-dot { position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border: 1px solid #fff; border-radius: 50%; background: var(--amber); }
.data-status { display: flex; gap: 8px; align-items: center; color: #71809a; font-size: 12px; }
.avatar { width: 32px; height: 32px; border: 0; border-radius: 50%; display: grid; place-items: center; background: #dfe9ee; color: var(--ink); font-size: 12px; font-weight: 700; }
.page-container { padding: 28px 30px 48px; max-width: 1540px; margin: 0 auto; }
.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.eyebrow { color: var(--teal); font-size: 11px; font-weight: 750; letter-spacing: .7px; text-transform: uppercase; }
h1 { margin: 6px 0 7px; font-size: 25px; line-height: 1.2; letter-spacing: 0; }
h2 { margin: 0; font-size: 17px; line-height: 1.3; }
h3 { margin: 0; font-size: 14px; line-height: 1.4; }
.page-description { max-width: 680px; margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.heading-actions { display: flex; align-items: center; gap: 9px; }
.button { min-height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 13px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 650; transition: border .15s, background .15s, transform .15s; }
.button:hover { border-color: #a7b4c7; background: #fbfcfd; }
.button:active { transform: translateY(1px); }
.button-primary { border-color: var(--teal); background: var(--teal); color: #fff; }
.button-primary:hover { border-color: var(--teal-dark); background: var(--teal-dark); }
.button svg { width: 15px; height: 15px; }
.button-teal { border-color: var(--teal); background: var(--teal); color: white; }
.button-small { min-height: 29px; padding: 0 10px; font-size: 11px; }
.button-quiet { border-color: transparent; background: transparent; color: var(--teal); padding: 0 6px; }
.button-danger { color: var(--coral); }
.button-danger.delete-confirm { border-color: var(--coral); background: var(--coral); color: #fff; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.kpi-card { padding: 18px 19px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow); }
.dashboard-link-card { width: 100%; color: inherit; text-align: left; transition: border .15s, box-shadow .15s, transform .15s; }
.dashboard-link-card:hover { border-color: #b6c4d4; box-shadow: 0 10px 30px rgba(23,35,63,.1); transform: translateY(-1px); }
.kpi-label { color: var(--ink-soft); font-size: 12px; }
.kpi-value { margin-top: 10px; font-size: 28px; font-weight: 720; letter-spacing: 0; }
.kpi-foot { margin-top: 8px; color: var(--muted); font-size: 11px; }
.kpi-foot strong { color: var(--teal); font-weight: 650; }
.section-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(330px, .85fr); gap: 16px; margin-bottom: 16px; }
.panel { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow); }
.panel-header { min-height: 58px; padding: 15px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.panel-header p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.panel-body { padding: 17px 18px; }
.panel-empty { padding: 37px 20px; color: var(--muted); text-align: center; font-size: 12px; }
.task-list { display: flex; flex-direction: column; gap: 10px; }
.task-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #edf0f4; }
.dashboard-link-row { width: 100%; border-top: 0; border-right: 0; border-left: 0; background: transparent; color: inherit; text-align: left; }
.dashboard-link-row:hover { background: #fbfcfd; }
.task-row:last-child { border-bottom: 0; padding-bottom: 1px; }
.task-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 7px; background: var(--teal-soft); color: var(--teal); font-weight: 750; }
.task-main { min-width: 0; flex: 1; }
.task-title { overflow: hidden; color: var(--ink); font-size: 13px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.task-meta { margin-top: 5px; color: var(--muted); font-size: 11px; }
.task-status { color: var(--teal); font-size: 11px; white-space: nowrap; }
.progress-track { height: 5px; margin-top: 10px; border-radius: 5px; background: #edf0f4; overflow: hidden; }
.progress-bar { height: 100%; border-radius: inherit; background: var(--teal); }
.metric-list { display: flex; flex-direction: column; gap: 16px; }
.metric-line { display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 12px; }
.metric-label { color: var(--ink-soft); }
.metric-value { color: var(--ink); font-weight: 700; }
.metric-track { height: 7px; margin-top: 8px; border-radius: 6px; background: #edf0f4; overflow: hidden; }
.metric-fill { height: 100%; border-radius: inherit; background: var(--violet); }
.metric-fill.teal { background: var(--teal); }
.metric-fill.amber { background: #d7942c; }
.metric-fill.coral { background: var(--coral); }
.dashboard-product-shortcuts { margin-bottom: 16px; }
.dashboard-product-links { display: flex; flex-wrap: wrap; gap: 8px; }
.dashboard-product-link { display: inline-flex; align-items: center; gap: 9px; min-height: 34px; padding: 0 11px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink-soft); font-size: 11px; }
.dashboard-product-link strong { color: var(--teal); font-size: 12px; }
.dashboard-product-link:hover, .dashboard-product-link.active { border-color: var(--teal); background: var(--teal-soft); color: var(--teal); }
.dashboard-product-link.active strong { color: var(--teal); }
.insight-list { display: flex; flex-direction: column; gap: 11px; }
.insight-item { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px solid #edf0f4; }
.insight-item:last-child { border-bottom: 0; padding-bottom: 0; }
.insight-marker { width: 6px; height: 6px; flex: 0 0 6px; margin-top: 6px; border-radius: 50%; background: var(--teal); }
.insight-item strong { display: block; color: var(--ink); font-size: 12px; }
.insight-item p { margin: 4px 0 0; color: var(--ink-soft); font-size: 11px; line-height: 1.55; }

.profile-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr); gap: 17px; }
.profile-header { display: flex; align-items: center; gap: 15px; }
.company-seal { width: 52px; height: 52px; border-radius: 11px; display: grid; place-items: center; background: var(--ink); color: #f2b84b; font-size: 19px; font-weight: 800; }
.profile-title { font-size: 17px; font-weight: 720; }
.profile-subtitle { margin-top: 5px; color: var(--muted); font-size: 11px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 5px; background: #eef2f7; color: var(--ink-soft); font-size: 10px; }
.tag.teal { background: var(--teal-soft); color: var(--teal); }
.tag.amber { background: var(--amber-soft); color: var(--amber); }
.tag.coral { background: var(--coral-soft); color: var(--coral); }
.tag.violet { background: var(--violet-soft); color: var(--violet); }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 22px; border: 1px solid var(--line); background: var(--line); }
.detail-item { min-height: 78px; padding: 13px 14px; background: #fff; }
.detail-label { color: var(--muted); font-size: 11px; }
.detail-value { margin-top: 7px; color: var(--ink); font-size: 13px; font-weight: 650; line-height: 1.45; }
.check-list { display: flex; flex-direction: column; gap: 13px; }
.check-row { display: flex; align-items: flex-start; gap: 10px; }
.check-mark { width: 19px; height: 19px; flex: 0 0 19px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); font-size: 11px; font-weight: 800; }
.check-mark.pending { background: var(--amber-soft); color: var(--amber); }
.check-text strong { display: block; font-size: 12px; }
.check-text span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.45; }

.product-groups { display: flex; flex-direction: column; gap: 20px; }
.product-group-tabs { display: flex; gap: 7px; margin-bottom: 17px; padding: 4px; border: 1px solid var(--line); border-radius: 7px; background: #eef2f6; overflow-x: auto; }
.product-group-tab { flex: 0 0 auto; min-height: 32px; padding: 0 11px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: var(--ink-soft); font-size: 11px; white-space: nowrap; }
.product-group-tab span { margin-left: 4px; color: var(--muted); font-size: 10px; }
.product-group-tab:hover, .product-group-tab.active { border-color: var(--line); background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(23,35,63,.06); }
.product-group-tab.active { color: var(--teal); }
.product-group-tab.active span { color: var(--teal); }
.product-form-panel, .profile-form-panel, .task-form-panel, .task-detail-panel { margin-bottom: 18px; }
.profile-form-panel, .task-form-panel, .task-detail-panel { border-left: 3px solid var(--teal); }
.product-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 15px; }
.product-form label { display: flex; flex-direction: column; gap: 6px; color: var(--ink-soft); font-size: 11px; font-weight: 650; }
.product-form input, .product-form select, .product-form textarea { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; outline: 0; color: var(--ink); background: #fff; font-size: 11px; font-weight: 400; }
.product-form textarea { resize: vertical; line-height: 1.5; }
.product-form input:focus, .product-form select:focus, .product-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(17,124,120,.1); }
.product-form-wide { grid-column: 1 / -1; }
.product-detail-panel { margin-bottom: 18px; border-left: 3px solid var(--teal); }
.product-detail-layout { display: grid; grid-template-columns: minmax(230px, .4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.product-detail-media { position: relative; min-height: 230px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #f5f7fa; }
.product-detail-image { display: block; width: 100%; height: 230px; object-fit: contain; }
.product-detail-media .product-image-fallback { display: none; }
.product-detail-media.image-missing .product-image-fallback { display: flex; }
.product-detail-copy-wrap h3 { margin-bottom: 8px; }
.product-detail-copy { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.75; white-space: normal; }
.product-detail-section { margin-top: 20px; }
.product-detail-section h3 { margin-bottom: 9px; }
.product-detail-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.product-detail-section-heading h3 { margin: 0; }
.product-detail-table th { width: 180px; padding: 11px 13px; background: #f6f9fa; color: var(--ink); font-size: 11px; font-weight: 700; vertical-align: top; }
.product-detail-table td { padding: 11px 13px; color: var(--ink-soft); font-size: 12px; line-height: 1.65; white-space: normal; }
.product-multi-gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.product-gallery-item { min-width: 0; margin: 0; background: #f5f7fa; overflow: hidden; }
.product-gallery-item img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; }
.product-gallery-item figcaption { padding: 7px 8px; color: var(--muted); font-size: 10px; text-align: center; }
.product-spec-sheets { display: flex; flex-direction: column; gap: 16px; }
.product-spec-sheet { margin: 0; padding-top: 15px; border-top: 1px solid var(--line); }
.product-spec-sheet:first-child { padding-top: 0; border-top: 0; }
.product-spec-sheet img { display: block; width: 100%; max-height: 720px; object-fit: contain; background: #fff; }
.product-spec-sheet figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: 9px; color: var(--ink-soft); font-size: 11px; line-height: 1.55; }
.product-spec-sheet figcaption strong { color: var(--ink); font-size: 12px; }
.product-spec-sheet figcaption span { color: var(--muted); }
.product-gallery-item.image-missing img, .product-spec-sheet.image-missing img { display: none; }
.product-gallery-item.image-missing::after, .product-spec-sheet.image-missing::after { content: "图片加载失败"; min-height: 90px; display: grid; place-items: center; color: var(--muted); font-size: 11px; }
.product-spec-table-block { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.product-spec-table-block:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.product-spec-table-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 9px; }
.product-spec-table-title strong { color: var(--ink); font-size: 12px; }
.product-spec-table-title span { color: var(--muted); font-size: 10px; }
.product-spec-table th { padding: 10px 11px; background: #f3f6f8; color: var(--ink); font-size: 11px; font-weight: 700; text-align: left; }
.product-spec-table td { padding: 9px 11px; color: var(--ink-soft); font-size: 11px; white-space: nowrap; }
.product-group { min-width: 0; }
.product-group-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 0 0 11px; border-bottom: 1px solid var(--line); }
.product-group-heading h2 { margin-top: 4px; }
.product-group-heading p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.product-group-grid, .product-grid, .segment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.social-channel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.social-channel-card { display: flex; flex-direction: column; gap: 13px; min-height: 330px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); box-shadow: var(--shadow-sm); }
.acquisition-tool-card { min-height: 380px; }
.acquisition-tool-card .compact { color: var(--ink-soft); line-height: 1.65; flex: 1; }
.tool-rule-panel { margin: 16px 0; }
.tool-rule-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.tool-rule-grid > div { display: flex; flex-direction: column; gap: 7px; padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); }
.tool-rule-grid span { color: var(--ink-soft); font-size: 12px; line-height: 1.6; }
.social-channel-head, .social-brand, .social-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.social-brand { justify-content: flex-start; }
.social-logo { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; background: #102b3d; color: #5eead4; font-weight: 800; font-size: 16px; }
.social-brand h2 { margin: 0 0 3px; font-size: 16px; color: var(--ink); }
.social-brand span { font-size: 11px; color: var(--ink-soft); }
.social-field { display: grid; gap: 4px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.social-field strong { font-size: 11px; color: var(--ink-soft); }
.social-field span { font-size: 13px; line-height: 1.55; color: var(--ink); }
.social-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.social-card-footer { margin-top: auto; align-items: flex-end; }
.social-card-footer > span { max-width: 155px; font-size: 10px; line-height: 1.45; color: var(--ink-soft); }
.social-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.social-summary > div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.social-summary span { display: block; margin-bottom: 6px; font-size: 11px; color: var(--ink-soft); }
.social-summary strong { font-size: 24px; color: var(--ink); }
.social-funnel { display: flex; align-items: stretch; gap: 12px; }
.social-funnel > div { flex: 1; padding: 14px; border-radius: 8px; background: var(--canvas); }
.social-funnel strong, .social-funnel span { display: block; }
.social-funnel strong { margin-bottom: 6px; color: var(--ink); }
.social-funnel span { font-size: 11px; line-height: 1.5; color: var(--ink-soft); }
.social-funnel > i { align-self: center; color: var(--teal); font-style: normal; }
.market-strategy-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 14px; padding: 24px; border-radius: 12px; color: #fff; background: linear-gradient(120deg, #0f2740, #123b4b); }
.market-strategy-banner span { font-size: 11px; color: #99f6e4; }
.market-strategy-banner h2 { margin: 7px 0; font-size: 24px; }
.market-strategy-banner p { max-width: 760px; margin: 0; color: #c8d7e5; line-height: 1.7; }
.market-ratio { min-width: 150px; text-align: center; }
.market-ratio strong, .market-ratio span { display: block; }
.market-ratio strong { font-size: 40px; color: #5eead4; }
.market-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.market-kpi-grid > div { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.market-kpi-grid span, .market-kpi-grid small, .market-kpi-grid strong { display: block; }
.market-kpi-grid span, .market-kpi-grid small { color: var(--ink-soft); }
.market-kpi-grid span { margin-bottom: 7px; font-size: 11px; }
.market-kpi-grid strong { margin-bottom: 4px; color: var(--ink); font-size: 18px; }
.market-kpi-grid small { font-size: 10px; }
.market-report-section { margin-top: 14px; }
.market-analysis-grid, .market-columns, .market-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.market-analysis-grid article, .market-columns > div, .market-timeline article { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--canvas); }
.market-analysis-grid h3, .market-columns h3, .market-timeline h3 { margin: 0 0 8px; color: var(--ink); font-size: 15px; }
.market-analysis-grid p, .market-timeline p { margin: 0 0 12px; color: var(--ink-soft); line-height: 1.7; font-size: 12px; }
.market-table td { min-width: 120px; vertical-align: top; line-height: 1.6; }
.market-table th:last-child, .market-table td:last-child { min-width: 260px; }
.market-share { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #ccfbf1; color: #0f766e; font-weight: 700; }
.market-channel-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.market-channel-list > div { display: flex; gap: 12px; padding: 15px; border-radius: 8px; background: var(--canvas); }
.market-channel-list strong { color: var(--ink); }
.market-channel-list p { margin: 5px 0 0; color: var(--ink-soft); line-height: 1.6; font-size: 11px; }
.market-step { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: #0f766e; color: #fff; font-size: 10px; font-weight: 700; }
.market-timeline article > span { display: block; margin-bottom: 8px; color: var(--teal); font-size: 11px; font-weight: 700; }
.market-conclusion { margin-top: 14px; padding: 17px 18px; border-left: 4px solid var(--teal); border-radius: 6px; background: #ecfdf5; }
.market-conclusion strong { color: #065f46; }
.market-conclusion p { margin: 6px 0 0; color: #315c51; line-height: 1.7; }
.product-group-grid { margin-top: 13px; }
.product-card, .segment-card { min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow); overflow: hidden; }
.product-visual { position: relative; height: 164px; display: flex; align-items: center; justify-content: center; overflow: hidden; background-color: #f0f4f8; color: var(--ink); font-size: 14px; font-weight: 800; letter-spacing: 0; }
.product-image { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.product-code-badge { position: absolute; top: 10px; left: 10px; padding: 4px 7px; border: 1px solid rgba(255,255,255,.88); border-radius: 4px; background: rgba(255,255,255,.9); box-shadow: 0 2px 8px rgba(25,38,54,.08); color: var(--ink); font-size: 11px; font-weight: 800; }
.product-image-fallback { display: none; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--muted); font-size: 11px; font-weight: 650; }
.product-visual.image-missing .product-image { display: none; }
.product-visual.image-missing .product-image-fallback { display: flex; }
.product-visual > span:not(.product-code-badge):not(.product-image-fallback) { padding: 4px 7px; border: 1px solid rgba(255,255,255,.85); border-radius: 4px; background: rgba(255,255,255,.82); box-shadow: 0 2px 8px rgba(25,38,54,.08); }
.product-visual.one { background: #e7eef8; color: #2c4c7c; }
.product-visual.two { background: #eef3ed; color: #3f6b54; }
.product-visual.three { background: #f8eee5; color: #a45c32; }
.product-visual.four { background: #eeebf7; color: #66559c; }
.product-visual.five { background: #f6eee2; color: #966c31; }
.product-body { padding: 15px; }
.product-title { display: flex; justify-content: space-between; gap: 8px; }
.product-name { font-size: 15px; font-weight: 700; }
.product-number { color: var(--muted); font-size: 10px; }
.product-en { margin-top: 5px; color: var(--teal); font-size: 11px; font-weight: 650; }
.product-desc { min-height: 92px; margin: 10px 0 12px; color: var(--ink-soft); font-size: 12px; line-height: 1.65; }
.product-specs { min-height: 48px; margin: 0 0 12px; padding: 9px 10px; border-left: 2px solid var(--teal); background: #f6f9fa; color: var(--ink-soft); font-size: 11px; line-height: 1.6; }
.product-specs strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 10px; }
.product-footer { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; padding-top: 11px; border-top: 1px solid #edf0f4; }
.alias-line { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.product-index-description { min-width: 280px; max-width: 480px; color: var(--ink-soft); font-size: 12px; line-height: 1.65; white-space: normal; }

.segment-card { padding: 17px; }
.segment-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.priority-badge { min-width: 27px; padding: 4px 6px; border-radius: 5px; background: var(--teal-soft); color: var(--teal); font-size: 11px; font-weight: 800; text-align: center; }
.priority-badge.b { background: var(--amber-soft); color: var(--amber); }
.priority-badge.c { background: var(--coral-soft); color: var(--coral); }
.segment-name { font-size: 14px; font-weight: 700; }
.segment-desc { min-height: 48px; margin: 10px 0 13px; color: var(--ink-soft); font-size: 11px; line-height: 1.55; }
.segment-meta { padding-top: 12px; border-top: 1px solid #edf0f4; }
.segment-meta-label { color: var(--muted); font-size: 10px; }
.segment-keywords { margin-top: 7px; color: var(--ink-soft); font-size: 11px; line-height: 1.55; }
.segment-keyword-groups { display: flex; flex-direction: column; gap: 10px; margin-top: 9px; }
.segment-keyword-group { min-width: 0; }
.segment-keyword-group-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--ink-soft); font-size: 10px; font-weight: 700; }
.segment-keyword-group-title span { min-width: 20px; padding: 1px 5px; border-radius: 5px; background: #edf1f6; color: var(--muted); font-size: 9px; text-align: center; }
.segment-keyword-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.segment-keyword-chip { max-width: 100%; padding: 4px 6px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--ink-soft); font-size: 9px; line-height: 1.35; overflow-wrap: anywhere; }
.segment-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }

.import-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(310px, .8fr); gap: 17px; }
.dropzone { padding: 39px 30px; border: 1.5px dashed #b9c4d3; border-radius: 8px; background: #fbfcfd; text-align: center; transition: background .15s, border .15s; }
.dropzone:hover, .dropzone.dragging { border-color: var(--teal); background: #f1faf8; }
.drop-icon { width: 43px; height: 43px; margin: 0 auto 13px; border-radius: 10px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); font-size: 24px; }
.dropzone h3 { font-size: 15px; }
.dropzone p { max-width: 430px; margin: 8px auto 16px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.or-row { display: flex; align-items: center; gap: 10px; margin: 18px 0; color: var(--muted); font-size: 10px; }
.or-row::before, .or-row::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.csv-textarea { width: 100%; min-height: 132px; padding: 12px; resize: vertical; border: 1px solid var(--line); border-radius: 6px; outline: 0; color: var(--ink); background: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; line-height: 1.55; }
.csv-textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(17,124,120,.1); }
.form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 11px; }
.field-note { margin-top: 10px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.format-list { display: flex; flex-direction: column; gap: 11px; }
.format-row { display: flex; align-items: flex-start; gap: 10px; }
.format-number { width: 20px; height: 20px; flex: 0 0 20px; display: grid; place-items: center; border-radius: 50%; background: #edf1f6; color: var(--ink-soft); font-size: 10px; font-weight: 700; }
.format-row strong { display: block; font-size: 12px; }
.format-row span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.code-block { padding: 12px; border-radius: 6px; background: #f4f6f9; color: var(--ink-soft); font: 11px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; }

.table-toolbar { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.company-name-button { padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.company-name-button:hover { color: var(--primary); text-decoration: underline; }
.company-contact-cell { display: flex; flex-direction: column; gap: 5px; min-width: 170px; font-size: 12px; }
.company-contact-cell span { overflow-wrap: anywhere; }
.search-input, .select-input { height: 33px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; outline: 0; color: var(--ink); background: #fff; font-size: 11px; }
.search-input { width: 235px; }
.search-input:focus, .select-input:focus { border-color: var(--teal); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { padding: 11px 15px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: .25px; text-align: left; white-space: nowrap; }
td { padding: 13px 15px; border-bottom: 1px solid #edf0f4; color: var(--ink-soft); font-size: 11px; vertical-align: middle; }
tbody tr:hover { background: #fbfcfd; }
.company-cell { display: flex; align-items: center; gap: 9px; min-width: 220px; }
.company-avatar { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border-radius: 6px; background: #e7edf6; color: var(--ink); font-size: 11px; font-weight: 750; }
.company-name { color: var(--ink); font-weight: 650; }
.company-domain { margin-top: 3px; color: var(--muted); font-size: 10px; }
.score { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; padding: 4px 7px; border-radius: 5px; font-weight: 750; }
.score.high { background: var(--teal-soft); color: var(--teal); }
.score.mid { background: var(--amber-soft); color: var(--amber); }
.score.low { background: #eef0f3; color: #68758a; }
.stage { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 5px; background: #eef1f5; color: var(--ink-soft); font-size: 10px; white-space: nowrap; }
.stage.review { background: var(--violet-soft); color: var(--violet); }
.stage.qualified { background: var(--teal-soft); color: var(--teal); }
.stage.customer { background: var(--amber-soft); color: var(--amber); }
.table-actions { display: flex; align-items: center; justify-content: flex-end; gap: 4px; white-space: nowrap; }
.source-channel-summary { display: flex; gap: 8px; margin-bottom: 14px; overflow-x: auto; }
.source-channel-summary > div { min-width: 112px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); }
.source-channel-summary span, .source-channel-summary strong { display: block; }
.source-channel-summary span { margin-bottom: 5px; color: var(--muted); font-size: 10px; }
.source-channel-summary strong { color: var(--ink); font-size: 18px; }
.source-channel-line { display: flex; align-items: center; gap: 6px; margin-top: 5px; color: var(--muted); font-size: 9px; }
.source-channel-badge { padding: 2px 5px; border-radius: 4px; background: #e6fffb; color: #0f766e; font-weight: 700; white-space: nowrap; }
.lead-name-button { padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.lead-name-button:hover { color: var(--teal); text-decoration: underline; }
.lead-detail-panel { margin-bottom: 16px; border-left: 3px solid var(--teal); }
.lead-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.lead-detail-grid h3 { margin: 0; color: var(--ink); font-size: 14px; }
.lead-detail-grid .detail-grid { margin-top: 10px; }
.lead-detail-wide { grid-column: 1 / -1; }
.detail-value a { color: var(--teal); overflow-wrap: anywhere; }
.lead-auto-tags { display: flex; flex-wrap: wrap; gap: 4px; min-width: 190px; max-width: 260px; }
.email-sync-toggle { display: flex !important; flex-direction: row !important; align-items: center; gap: 8px; padding-top: 24px; }
.email-sync-toggle input { width: 16px !important; height: 16px; }

.crm-grid { display: grid; grid-template-columns: repeat(5, minmax(190px, 1fr)); gap: 12px; align-items: start; overflow-x: auto; padding-bottom: 4px; }
.crm-column { min-height: 260px; border: 1px solid var(--line); border-radius: 8px; background: #f8f9fb; }
.crm-column-header { padding: 13px 13px 11px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.crm-column-header h3 { font-size: 12px; }
.crm-column-count { min-width: 20px; padding: 2px 6px; border-radius: 10px; background: #e4e9f0; color: var(--ink-soft); font-size: 10px; text-align: center; }
.crm-cards { display: flex; flex-direction: column; gap: 8px; padding: 10px; }
.crm-card { padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; box-shadow: 0 3px 10px rgba(23,35,63,.04); }
.crm-card-name { color: var(--ink); font-size: 12px; font-weight: 700; }
.crm-card-meta { margin-top: 6px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.crm-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 10px; padding-top: 9px; border-top: 1px solid #edf0f4; }
.crm-value { color: var(--teal); font-size: 11px; font-weight: 700; }
.crm-card-actions { display: flex; align-items: center; gap: 3px; }
.opportunity-form-panel, .opportunity-detail-panel { margin-bottom: 16px; border-left: 3px solid var(--teal); }
.opportunity-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-bottom: 20px; border: 1px solid var(--line); background: var(--line); }
.opportunity-summary > div { min-width: 0; padding: 12px 13px; background: #fff; }
.opportunity-summary span { display: block; color: var(--muted); font-size: 10px; }
.opportunity-summary strong { display: block; margin-top: 6px; overflow-wrap: anywhere; color: var(--ink); font-size: 12px; }
.opportunity-detail-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr); gap: 22px; align-items: start; }
.opportunity-edit-actions { justify-content: space-between; }
.opportunity-activity-form { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 6px; background: #f8fafb; }
.opportunity-activity-list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.opportunity-activity { padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.opportunity-activity-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.opportunity-activity-head strong { color: var(--ink); font-size: 11px; }
.opportunity-activity-head span { color: var(--muted); font-size: 10px; }
.opportunity-activity p { margin: 7px 0 0; color: var(--ink-soft); font-size: 11px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }

.operations-strip { min-height: 44px; margin-bottom: 14px; padding: 9px 13px; border: 1px solid #cde8e4; border-radius: 7px; background: #f1faf8; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--ink-soft); font-size: 11px; }
.operations-strip > div { display: flex; align-items: center; gap: 9px; }
.operations-strip strong { color: var(--ink); font-size: 12px; }
.operations-strip-actions span { padding-right: 10px; border-right: 1px solid #cde8e4; }
.operations-strip-actions button { border: 0; background: transparent; color: var(--teal-dark); font-size: 11px; font-weight: 700; }
.kpi-top { min-height: 28px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.kpi-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; background: var(--teal-soft); color: var(--teal-dark); }
.kpi-icon svg { width: 15px; height: 15px; }
.kpi-trend { padding: 3px 6px; border-radius: 4px; background: #eef2f6; color: var(--ink-soft); font-size: 9px; font-weight: 700; }
.kpi-trend.positive { background: var(--teal-soft); color: var(--teal-dark); }
.kpi-trend.warning { background: var(--amber-soft); color: var(--amber); }

.crm-summary-grid, .email-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--line); overflow: hidden; box-shadow: var(--shadow); }
.crm-summary-grid > div, .email-metrics > div { min-width: 0; padding: 15px 17px; background: #fff; }
.crm-summary-grid span, .email-metrics span { display: block; color: var(--ink-soft); font-size: 11px; }
.crm-summary-grid strong, .email-metrics strong { display: block; margin-top: 7px; color: var(--ink); font-size: 22px; }
.crm-summary-grid small, .email-metrics small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }

.email-status-banner { min-height: 72px; margin-bottom: 16px; padding: 14px 16px; border: 1px solid #efd8ad; border-radius: 8px; background: #fffaf0; display: flex; align-items: center; gap: 13px; }
.email-status-banner.connected { border-color: #bfe3dd; background: #f1faf8; }
.email-status-icon { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 7px; background: var(--amber-soft); color: var(--amber); }
.email-status-banner.connected .email-status-icon { background: var(--teal-soft); color: var(--teal-dark); }
.email-status-icon svg { width: 19px; height: 19px; }
.email-status-banner > div:nth-child(2) { min-width: 0; flex: 1; }
.email-status-banner strong { color: var(--ink); font-size: 13px; }
.email-status-banner p { margin: 4px 0 0; color: var(--ink-soft); font-size: 11px; line-height: 1.5; }
.email-layout, .settings-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .65fr); gap: 16px; align-items: start; }
.security-note { margin-top: 15px; padding: 12px; border: 1px solid #cfe6e2; border-radius: 6px; background: #f3faf9; display: flex; align-items: flex-start; gap: 10px; }
.security-note svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--teal-dark); }
.security-note strong, .security-note span { display: block; }
.security-note strong { color: var(--ink); font-size: 11px; }
.security-note span { margin-top: 4px; color: var(--ink-soft); font-size: 10px; line-height: 1.5; }
.settings-list { display: flex; flex-direction: column; }
.settings-list > div { min-height: 39px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #edf0f4; font-size: 11px; }
.settings-list > div:last-child { border-bottom: 0; }
.settings-list span { color: var(--ink-soft); }
.settings-list strong { color: var(--ink); font-size: 11px; }
.settings-list .warning-text { color: var(--amber); }

.toast { position: fixed; right: 25px; bottom: 24px; z-index: 20; max-width: 340px; padding: 11px 14px; border: 1px solid #cbe7e3; border-radius: 6px; background: #effaf8; color: var(--teal); box-shadow: var(--shadow); font-size: 12px; opacity: 0; pointer-events: none; transform: translateY(7px); transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translateY(0); }
.server-login-overlay { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; background: rgba(30,59,82,.82); backdrop-filter: blur(8px); }
.server-login-card { width: min(390px, 100%); padding: 30px; border-radius: 14px; background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.server-login-card .login-brand { display: grid; place-items: center; width: 132px; height: 58px; margin-bottom: 18px; border: 1px solid #d9e9f3; border-radius: 9px; overflow: hidden; background: #fff; }
.server-login-card .login-brand img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.server-login-card h1 { margin: 0 0 8px; font-size: 22px; }
.server-login-card p { margin: 0 0 20px; color: var(--muted); line-height: 1.6; }
.server-login-card label { display: grid; gap: 7px; margin-top: 13px; color: var(--ink-soft); font-size: 11px; font-weight: 650; }
.server-login-card input { height: 40px; padding: 0 11px; border: 1px solid var(--line); border-radius: 6px; outline: 0; }
.server-login-card input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,148,136,.09); }
.server-login-card button { width: 100%; margin-top: 18px; }
.login-error { min-height: 18px; margin-top: 10px; color: #b42318; font-size: 11px; }
html[data-server="online"] .server-health-text::after { content: "服务器运行正常"; }
html[data-server="offline"] .server-health-text::after { content: "当前为静态模式"; }
.server-health-text { font-size: 0; }
.server-health-text::after { font-size: 11px; }
.muted { color: var(--muted); }
.compact { font-size: 11px; line-height: 1.55; }
.stack { display: flex; flex-direction: column; gap: 13px; }
.divider { height: 1px; background: var(--line); }

@media (max-width: 1180px) {
  .sidebar { width: 216px; flex-basis: 216px; }
  .page-container { padding-left: 24px; padding-right: 24px; }
  .topbar { padding-left: 24px; padding-right: 24px; }
  .product-group-grid, .product-grid, .segment-grid, .social-channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .market-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-analysis-grid, .market-columns, .market-timeline { grid-template-columns: minmax(0, 1fr); }
  .lead-detail-grid { grid-template-columns: minmax(0, 1fr); }
  .product-multi-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .global-search { width: 200px; }
}

@media (max-width: 760px) {
  body { min-width: 0; }
  .app-shell { display: block; }
  .sidebar { position: sticky; top: 0; z-index: 10; width: 100%; height: auto; padding: 7px 8px; flex: none; flex-direction: row; align-items: center; overflow: visible; }
  .brand-block { flex: 0 0 auto; padding: 0 5px 0 0; }
  .brand-block > div:last-child, .workspace-switcher, .nav-group-label, .sidebar-footer { display: none; }
  .brand-mark { width: 32px; height: 32px; border-radius: 7px; }
  .nav-list { min-width: 0; flex: 1; flex-direction: row; gap: 2px; overflow-x: auto; scrollbar-width: none; }
  .nav-list::-webkit-scrollbar { display: none; }
  .nav-item { width: auto; flex: 0 0 auto; gap: 5px; padding: 8px 9px; font-size: 11px; white-space: nowrap; }
  .nav-count { margin-left: 2px; }
  .main-content { width: 100%; }
  .topbar { min-height: 52px; height: auto; padding: 8px 12px; gap: 10px; }
  .topbar-title { min-width: 0; }
  .topbar-title span, .global-search, .icon-button { display: none; }
  .topbar-actions { gap: 7px; }
  .topbar-actions .button { min-height: 30px; padding: 0 9px; font-size: 11px; }
  .avatar { width: 29px; height: 29px; }
  .page-container { width: 100%; padding: 18px 12px 32px; }
  .page-heading { flex-direction: column; gap: 12px; margin-bottom: 18px; }
  .page-heading h1 { font-size: 22px; letter-spacing: 0; }
  .page-description { font-size: 12px; }
  .heading-actions { width: 100%; flex-wrap: wrap; }
  .heading-actions .button { flex: 1 1 auto; }
  .kpi-grid, .section-grid, .profile-layout, .import-layout, .crm-grid, .email-layout, .settings-layout { grid-template-columns: minmax(0, 1fr); }
  .crm-summary-grid, .email-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .operations-strip { align-items: flex-start; flex-direction: column; }
  .operations-strip-actions { width: 100%; flex-wrap: wrap; }
  .email-status-banner { align-items: flex-start; flex-wrap: wrap; }
  .email-status-banner .button { margin-left: 51px; }
  .product-group-grid, .product-grid, .segment-grid, .social-channel-grid, .social-summary, .tool-rule-grid { grid-template-columns: minmax(0, 1fr); }
  .social-funnel { flex-direction: column; }
  .social-funnel > i { transform: rotate(90deg); }
  .market-strategy-banner { align-items: flex-start; flex-direction: column; }
  .market-kpi-grid, .market-channel-list { grid-template-columns: minmax(0, 1fr); }
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .panel-header { align-items: flex-start; flex-wrap: wrap; padding: 13px 14px; }
  .panel-body { padding: 14px; }
  .product-form-grid { grid-template-columns: minmax(0, 1fr); }
  .product-form-wide { grid-column: auto; }
  .product-detail-panel .panel-header > div { min-width: 0; flex: 1 1 220px; }
  .product-detail-panel .panel-header h2, .product-detail-panel .panel-header p { overflow-wrap: anywhere; }
  .product-detail-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .product-detail-media { min-height: 260px; }
  .product-detail-image { height: 260px; }
  .product-detail-copy { font-size: 12px; }
  .product-detail-table, .product-detail-table tbody { display: block; width: 100%; }
  .product-detail-table tr { display: grid; grid-template-columns: 108px minmax(0, 1fr); }
  .product-detail-table th { width: auto; padding: 10px; white-space: normal; }
  .product-detail-table td { min-width: 0; padding: 10px; overflow-wrap: anywhere; }
  .product-multi-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-spec-sheet img { max-height: none; }
  .product-spec-table { min-width: 620px; }
  .product-spec-table-title { align-items: flex-start; flex-direction: column; gap: 4px; }
  .product-group-heading { align-items: flex-start; }
  .product-index-description { min-width: 260px; }
  .search-input { width: 100%; }
  .crm-grid { grid-template-columns: minmax(0, 1fr); overflow-x: visible; }
  .opportunity-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opportunity-detail-layout { grid-template-columns: minmax(0, 1fr); }
}
