:root {
  --wgc-purple: #3c1e4b;
  --wgc-purple-2: #4b2758;
  --wgc-gold: #d8ab4c;
  --wgc-bg: #f9f9fc;
  --wgc-panel: #ffffff;
  --wgc-text: #1a1c1e;
  --wgc-muted: #6b7280;
  --wgc-line: rgba(193, 200, 202, 0.3);
  --wgc-soft: #f7f9fb;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --radius-sm: 0 8px 8px 8px;
  --radius-card: 0 12px 12px 12px;
  --shadow-card: 0 4px 6px rgba(0, 0, 0, 0.05);
  --wgc-content-max: 1200px;
  --el-color-primary: var(--wgc-purple);
  --el-color-primary-light-3: #6d4d76;
  --el-color-primary-light-5: #927a99;
  --el-color-primary-light-7: #b7a7bc;
  --el-color-primary-light-8: #cec2d1;
  --el-color-primary-light-9: #e8e2e9;
  --el-color-primary-dark-2: #35173f;
  --el-border-radius-base: 8px;
  --el-font-family: "Noto Sans SC", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; color: var(--wgc-text); background: var(--wgc-bg); font-family: var(--el-font-family); }
button, input { font: inherit; }
[v-cloak] { display: none !important; }

/* Shape policy: every rounded rectangle has a square top-left corner. */
.el-button,
.el-input__wrapper,
.el-select__wrapper,
.el-date-editor,
.el-textarea__inner,
.el-tag,
.el-pager li,
.el-pagination button,
.el-segmented,
.el-segmented__item,
.el-segmented__item-selected,
.el-message,
.el-message-box,
.el-dialog,
.el-notification,
.el-progress-bar__outer,
.el-progress-bar__inner { border-radius: 0 8px 8px 8px !important; }

.platform-shell { min-height: 100vh; display: grid; grid-template-columns: 295px minmax(0, 1fr); }
.platform-sidebar { position: fixed; inset: 0 auto 0 0; width: 295px; display: flex; flex-direction: column; padding: 32px 16px 24px; border-right: 1px solid var(--wgc-line); background: #f7f9fb; z-index: 20; }
.brand-lockup { display: flex; align-items: center; gap: 8px; color: var(--wgc-gold); }
.platform-sidebar .brand-lockup { padding: 0 16px; }
.platform-sidebar .brand-lockup img { width: 131px; height: 64px; object-fit: contain; object-position: left center; }
.brand-copy { display: flex; flex-direction: column; line-height: .83; }
.brand-copy strong { font-size: 11px; letter-spacing: .02em; }
.brand-copy span { margin-top: 5px; font-size: 8px; line-height: 1; }
.platform-sidebar > h1 { margin: 8px 16px 24px; color: var(--wgc-purple); font-size: 18px; line-height: 24px; white-space: nowrap; }
.sidebar-user { min-height: 56px; display: flex; align-items: center; gap: 16px; margin: 0 16px; padding: 8px; border-radius: var(--radius-card); background: #fff; }
.sidebar-user > span, .sidebar-user > img { width: 40px; height: 40px; display: grid; flex: 0 0 40px; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--wgc-purple), var(--wgc-gold)); color: #fff; object-fit: cover; }
.sidebar-user div { min-width: 0; display: grid; gap: 3px; }
.sidebar-user strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user small { display: none; }
.sidebar-nav { display: grid; gap: 18px; margin-top: 24px; }
.sidebar-nav > a { height: 52px; display: flex; align-items: center; gap: 16px; padding: 0 20px; border-radius: var(--radius-sm); color: #41484a; font-size: 14px; font-weight: 600; text-decoration: none; transition: .18s ease; }
.sidebar-nav a:hover { background: #ebe8ed; color: var(--wgc-purple); }
.sidebar-nav a.is-active { background: var(--wgc-purple); color: #fff; font-weight: 650; }
.nav-icon { display: block; width: 20px; height: 20px; flex: 0 0 20px; object-fit: contain; }
.nav-icon-waveform, .nav-icon-members, .nav-icon-audit, .nav-icon-logout { width: 20px; height: 20px; flex-basis: 20px; }
.sidebar-nav a.is-active .nav-icon { filter: brightness(0) invert(1); }
.sidebar-subnav { display: grid; gap: 4px; margin-top: -14px; padding-left: 32px; }
.sidebar-subnav a { min-height: 48px; display: flex; align-items: center; padding: 0 20px; border-radius: var(--radius-sm); color: #41484a; font-size: 14px; text-decoration: none; }
.sidebar-subnav a.is-active { background: var(--wgc-purple); color: #fff; font-weight: 600; }
.sidebar-divider { height: 1px; margin: 12px 16px; background: var(--wgc-line); }
.sidebar-logout { margin-top: auto; }
.sidebar-logout button { width: 100%; height: 52px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: var(--radius-sm); background: transparent; color: #41484a; font-size: 14px; font-weight: 600; cursor: pointer; }
.sidebar-logout button:hover { color: var(--wgc-purple); }
.platform-main { grid-column: 2; min-width: 0; min-height: 100vh; background: #fff; }
.page-header { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 max(40px, calc((100% - var(--wgc-content-max)) / 2)); border-bottom: 1px solid var(--wgc-line); background: #fff; }
.page-title-row { display: flex; align-items: baseline; gap: 8px; }
.page-title-row h2 { margin: 0; color: var(--wgc-purple); font-size: 22px; line-height: 32px; }
.page-title-row span, .page-title-row strong { color: rgba(65,72,74,.6); font-size: 16px; font-weight: 400; }
.breadcrumb-icon { display: block; width: 4px; height: 7px; flex: 0 0 4px; opacity: .6; object-fit: contain; }
.dashboard-header { justify-content: flex-start; }
.dashboard-header { padding-inline: max(32px, calc((100% - var(--wgc-content-max)) / 2)); }
.dashboard-header .page-title-row { width: 195px; align-items: center; }
.dashboard-header .page-title-row h2 { color: #000; font-weight: 600; }
.dashboard-header .page-title-row strong { color: #41484a; font-size: 18px; line-height: 20px; opacity: .6; }
.dashboard-header .breadcrumb-icon { width: 3.7px; height: 6px; flex: 0 0 3.7px; }
.header-filter { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; margin-left: 8px; }
.header-filter label { color: var(--wgc-text); font-size: 18px; line-height: 24px; font-weight: 700; white-space: nowrap; }
.week-select { width: fit-content; min-width: 240px; max-width: 600px; }
.week-select .el-select__wrapper { flex-wrap: nowrap; }
.week-select .el-select__selection { flex-wrap: nowrap; min-width: 0; }
.week-select-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.week-select-actions button { min-height: 34px; border: 1px solid var(--wgc-line); border-radius: var(--radius-sm); background: #fff; color: var(--wgc-purple); font-weight: 700; cursor: pointer; }
.week-select-actions button:disabled { color: #aaa6ad; background: #f7f7f8; cursor: not-allowed; }
.dashboard-export-button { min-height: 32px; flex: 0 0 auto; margin-left: auto; border-color: var(--wgc-purple); color: var(--wgc-purple); font-weight: 700; }
.dashboard-export-button img { display: block; width: 16px; height: 16px; flex: 0 0 16px; object-fit: contain; }
.page-content { padding: 40px; background: #fff; }
.dashboard-content { padding: 32px; background: #fff; }
.dashboard-content { min-height: calc(100vh - 80px); }
.page-content > *, .dashboard-content > * { width: 100%; max-width: var(--wgc-content-max); margin-inline: auto; }
.content-card { border: 1px solid var(--wgc-line); border-radius: var(--radius-card); background: var(--wgc-panel); box-shadow: var(--shadow-card); }
.keyword-tabs { display: none; gap: 8px; margin-bottom: 16px; }
.keyword-tabs button { min-width: 112px; height: 38px; border: 1px solid var(--wgc-line); border-radius: var(--radius-sm); background: #fff; color: var(--wgc-text); cursor: pointer; }
.keyword-tabs button.is-active { border-color: var(--wgc-purple); background: var(--wgc-purple); color: #fff; }
.card-heading { display: flex; align-items: center; gap: 10px; }
.card-heading h3 { margin: 0; color: var(--wgc-text); font-size: 14px; font-weight: 600; }
.heading-icon { display: block; width: 18px; height: 18px; flex: 0 0 18px; object-fit: contain; }
.metric-heading-icon { width: 34px; height: 35px; flex-basis: 34px; }
.trend-heading-icon { width: 20px; height: 14px; flex-basis: 20px; }
.metric-overview > .card-heading h3,
.trend-card .trend-heading h3 { font-size: 18px; line-height: 24px; font-weight: 700; }
.metric-overview { height: 294px; padding: 24px; }
.metric-layout { display: grid; grid-template-columns: minmax(150px, .65fr) minmax(220px, .9fr) minmax(360px, 1.5fr); gap: 24px; align-items: center; height: 192px; margin-top: 18px; }
.primary-metric { display: flex; min-height: 180px; align-items: center; justify-content: center; padding-bottom: 24px; }
.primary-metric strong { display: block; margin: 0; color: var(--wgc-gold); font-size: 48px; line-height: 56px; letter-spacing: -.96px; font-weight: 700; }
.radar-chart { height: 192px; }
.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.metric-grid div { min-height: 76px; padding: 16px; border-radius: var(--radius-sm); background: var(--wgc-bg); }
.metric-grid dt { color: var(--wgc-muted); font-size: 12px; }
.metric-grid dd { margin: 8px 0 0; font-size: 22px; font-weight: 700; }
.insight-card { min-height: 390px; height: auto; margin-top: 24px; padding: 20px; border: 0; background: var(--wgc-purple); color: #fff; }
.insight-title { width: 100%; color: var(--wgc-gold); }
.insight-title h3 { color: var(--wgc-gold); font-size: 18px; line-height: 24px; font-weight: 600; }
.insight-week-label { margin-left: auto; color: #ded4e2; font-size: 13px; line-height: 20px; white-space: nowrap; }
.insight-tabs { margin-top: 8px; --el-text-color-primary: #fff; --el-text-color-regular: rgba(255,255,255,.72); --el-border-color-light: rgba(255,255,255,.12); }
.insight-tabs .el-tabs__item { height: 43px; padding: 0 8px; color: rgba(255,255,255,.68); font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: .6px; }
.insight-tabs .el-tabs__item + .el-tabs__item { margin-left: 8px; }
.insight-tabs .el-tabs__item.is-active { color: var(--wgc-gold); }
.insight-tabs .el-tabs__active-bar { background: var(--wgc-gold); }
.insight-tabs .el-tabs__nav-wrap::after { background: rgba(255,255,255,.12); }
.sentiment-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 8px; }
.sentiment-columns article { min-width: 0; }
.sentiment-columns h4 { margin: 0 0 16px; font-size: 14px; line-height: 16px; font-weight: 700; letter-spacing: .6px; }
.sentiment-columns h4 { display: flex; align-items: center; gap: 8px; }
.sentiment-columns h4 img { display: block; width: 12px; height: 12px; flex: 0 0 12px; object-fit: contain; }
.sentiment-columns h4.positive { color: var(--wgc-gold); }
.sentiment-columns h4.negative { color: #b9aebe; }
.sentiment-columns p, .event-list p { margin: 0 0 7px; color: #e9def2; font-size: 14px; line-height: 1.5; }
.sentiment-line-label { color: #fff; font-weight: 700; }
.sentiment-progress { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.sentiment-progress > div { display: flex; justify-content: space-between; margin-bottom: 7px; color: var(--wgc-gold); font-size: 14px; line-height: 20px; }
.sentiment-progress .el-progress-bar__outer { background: rgba(255,255,255,.78); }
.trend-card { height: 525px; display: flex; flex-direction: column; margin-top: 24px; padding: 22px 24px 16px; }
.trend-heading { justify-content: space-between; }
.trend-heading > div { display: flex; align-items: center; gap: 10px; }
.trend-card .el-segmented { height: 28px; min-height: 28px; padding: 2px; font-size: 12px; }
.trend-card .el-segmented__group { height: 24px; }
.trend-card .el-segmented__item { height: 24px; padding: 0 10px; font-size: 12px; line-height: 24px; }
.trend-card .el-segmented__item-label { font-size: 12px; line-height: 24px; }
.trend-chart { flex: 1; min-height: 375px; margin-top: 12px; }
.state-panel { min-height: 360px; display: grid; place-items: center; align-content: center; gap: 12px; border: 1px solid var(--wgc-line); border-radius: var(--radius-card); background: #fff; text-align: center; }
.state-panel p { margin: 0; color: var(--wgc-muted); }
.platform-footer, .login-footer { padding: 18px 32px; color: #bbb8bd; font-size: 11px; text-align: center; background: #fff; }

.filter-bar { display: grid; grid-template-columns: minmax(300px, 384px) 180px 180px auto; gap: 16px; margin-bottom: 32px; }
.filter-bar.audit-filter { grid-template-columns: minmax(300px, 384px) 180px 180px auto; }
.filter-bar .el-input__wrapper, .filter-bar .el-select__wrapper { min-height: 48px; background: #f7f9fb; }
.page-header .el-button { min-height: 44px; padding-inline: 24px; }
.field-icon { display: block; width: 16px; height: 16px; flex: 0 0 16px; object-fit: contain; }
.field-icon-lock { height: 21px; }
.field-icon-shield { height: 20px; }
.field-icon-mail { width: 20px; }
.field-eye-button { width: 30px; height: 30px; display: grid; place-items: center; border: 0; padding: 0; background: transparent; cursor: pointer; }
.field-eye-button img { display: block; width: 22px; height: 15px; object-fit: contain; }
.button-icon { display: block; width: 16px; height: 16px; flex: 0 0 16px; margin-right: 8px; object-fit: contain; }
.icon-button { width: 48px; height: 48px; min-height: 48px; flex: 0 0 48px; padding: 0 !important; }
.icon-button img { display: block; width: 16px; height: 16px; object-fit: contain; }
.table-card { overflow: hidden; }
.table-card .el-table { --el-table-header-bg-color: #f7f8fa; --el-table-row-hover-bg-color: #faf8fb; }
.table-card .el-table th.el-table__cell { height: 50px; color: #41484a; font-size: 12px; font-weight: 650; }
.table-card .el-table td.el-table__cell { height: 62px; }
.member-cell { display: flex; align-items: center; gap: 12px; }
.member-cell div { display: grid; gap: 4px; }
.member-cell strong { font-size: 14px; }
.member-cell small { color: var(--wgc-muted); }
.table-action-button { width: 36px; height: 36px; margin-left: 8px !important; padding: 0 !important; border: 0 !important; background: #f7f9fb !important; }
.table-action-button:first-child { margin-left: 0 !important; }
.table-action-button img { display: block; width: 18px; height: 18px; flex: 0 0 18px; object-fit: contain; }
.table-footer { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 20px; border-top: 1px solid var(--wgc-line); }
.table-footer > span { color: var(--wgc-muted); font-size: 13px; }
.table-empty { min-height: 220px; display: grid; place-items: center; align-content: center; gap: 8px; }
.table-empty strong { font-size: 15px; }
.table-empty p { margin: 0; color: var(--wgc-muted); }

.member-form-card { width: 100%; max-width: 896px; padding: 36px 32px 48px; border-top: 4px solid var(--wgc-purple); background: #f7f9fb; }
#member-form-app .page-content { padding-top: 16px; }
.avatar-upload { display: grid; place-items: center; gap: 12px; margin-bottom: 32px; text-align: center; }
.avatar-upload button { width: 96px; height: 96px; display: grid; place-items: center; overflow: hidden; padding: 0; border: 2px dashed var(--wgc-purple); border-radius: 50%; background: #faf9fb; color: var(--wgc-purple); font-size: 28px; line-height: 0; cursor: pointer; }
.avatar-upload img { display: block; width: 100%; height: 100%; object-fit: cover; }
.avatar-upload img.camera-icon { width: 22px; height: 20px; object-fit: contain; }
.avatar-upload small { color: #41484a; font-size: 14px; line-height: 20px; }
.avatar-crop-dialog { --el-dialog-padding-primary: 24px; }
.avatar-crop-dialog .el-dialog__title { color: var(--wgc-text); font-size: 20px; font-weight: 700; }
.avatar-crop-workspace { display: grid; justify-items: center; gap: 18px; }
.avatar-crop-workspace > p { width: 100%; margin: 0; color: #41484a; font-size: 14px; line-height: 20px; text-align: center; }
.avatar-crop-stage { position: relative; width: min(400px, 100%); aspect-ratio: 1; overflow: hidden; background: #e9edf1; box-shadow: 0 0 0 1px var(--wgc-line); }
.avatar-crop-stage canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.avatar-crop-stage canvas:active { cursor: grabbing; }
.avatar-crop-stage > span { position: absolute; inset: 20px; pointer-events: none; border: 2px dashed rgba(255,255,255,.95); border-radius: 50%; box-shadow: 0 0 0 999px rgba(26,28,30,.42); }
.avatar-crop-zoom { width: min(400px, 100%); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; color: #41484a; font-size: 13px; }
.avatar-crop-workspace > small { color: var(--wgc-muted); font-size: 13px; }
.member-form-card .el-form-item__label { color: #000; font-size: 18px; font-weight: 600; line-height: 24px; margin-bottom: 8px; }
.member-form-card .el-input__wrapper { min-height: 48px; background: #fff; }
.member-form-card .el-input__inner { font-size: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.password-reset-panel { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 18px; padding: 14px 16px; border: 1px solid var(--wgc-line); background: #fff; }
.password-reset-panel > div { min-width: 0; display: flex; align-items: center; gap: 12px; }
.password-reset-panel > div > img { width: 20px; height: 20px; object-fit: contain; }
.password-reset-panel span { min-width: 0; display: grid; gap: 2px; }
.password-reset-panel strong { color: var(--wgc-text); font-size: 16px; line-height: 22px; }
.password-reset-panel small { color: var(--wgc-muted); font-size: 13px; line-height: 18px; }
.password-reset-panel .el-button { flex: 0 0 auto; min-height: 40px; }
.password-fields { margin-top: 0; }
.role-cards { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.role-cards .el-radio { height: auto; min-height: 102px; display: flex; align-items: flex-start; margin: 0; padding: 25px; border: 1px solid #fff; border-radius: var(--radius-sm); background: rgba(255,255,255,.36); }
.role-cards .el-radio.is-checked { border-color: var(--wgc-purple); background: #faf8fb; }
.role-cards .el-radio__label div { display: grid; gap: 8px; white-space: normal; }
.role-cards .el-radio__label { flex: 1; }
.role-cards .el-radio__label div { position: relative; padding-right: 32px; }
.role-cards .role-icon { position: absolute; top: 4px; right: 0; width: 16px; height: 20px; object-fit: contain; }
.role-cards .el-radio__label strong { color: var(--wgc-text); font-size: 18px; line-height: 24px; }
.role-cards .el-radio__label span { color: #41484a; font-size: 14px; line-height: 20px; }
.form-actions { display: flex; justify-content: flex-end; gap: 24px; margin-top: 32px; padding-top: 32px; border-top: 0; }
.form-actions .el-button { min-width: 96px; min-height: 40px; }

.login-body { min-height: 100vh; display: flex; flex-direction: column; background: #f9f9fc; }
.login-brandbar { min-height: 80px; display: flex; align-items: center; gap: 24px; padding: 0 40px; border-bottom: 1px solid var(--wgc-line); background: #f9f9fc; }
.login-brandbar .brand-lockup img { width: 98px; height: 48px; object-fit: contain; object-position: left center; }
.login-brandbar h1 { min-height: 40px; display: flex; align-items: center; margin: 0; padding-left: 17px; border-left: 1px solid var(--wgc-line); color: var(--wgc-purple); font-size: 24px; line-height: 24px; }
.login-main { flex: 0 0 auto; display: grid; place-items: start center; padding: 48px 16px 0; }
.login-footer { padding-top: 24px; padding-bottom: 24px; background: #f9f9fc; }
.login-card { width: min(480px, 100%); padding: 34px; border: 1px solid var(--wgc-line); border-radius: 0 16px 16px 16px; background: rgba(255,255,255,.9); box-shadow: var(--shadow-card); }
.login-card h2 { margin: 0 0 32px; color: #41484a; font-size: 24px; line-height: 24px; font-weight: 400; text-align: center; }
.login-card .el-form { display: grid; gap: 16px; }
.login-card .el-form-item { margin-bottom: 0; }
.login-card .el-form-item__label { width: 100%; height: auto; padding: 0 0 4px; color: #41484a; font-size: 16px; line-height: 24px; }
.login-card .el-input__wrapper { min-height: 48px; padding: 0 12px; }
.login-card .el-input__inner { padding-left: 8px; font-size: 16px; }
.password-label { width: 100%; display: flex; justify-content: space-between; }
.password-label button, .login-contact button { border: 0; padding: 0; background: transparent; color: var(--wgc-purple); cursor: pointer; }
.captcha-row { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 12px; }
.captcha-image { height: 48px; overflow: hidden; border: 1px solid var(--wgc-line); border-radius: var(--radius-sm); padding: 0; background: #f4f1f6; cursor: pointer; }
.captcha-image img { width: 100%; height: 100%; object-fit: cover; }
.login-submit { width: 100%; min-height: 56px; margin-top: 0; font-size: 16px; }
.login-submit .login-icon { width: 15px; height: 15px; margin-left: 8px; flex: 0 0 15px; }
.login-contact { margin-top: 32px; padding-top: 25px; border-top: 1px solid var(--wgc-line); color: #41484a; text-align: center; font-size: 16px; line-height: 24px; }
.login-contact button { color: #00323c; font-weight: 700; }
.login-contact button { margin-left: 4px; }

.dashboard-loading-overlay { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.56); }
.dashboard-loading-dialog { min-width: 184px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 22px; border-radius: 0 8px 8px 8px; background: rgba(28,20,31,.94); box-shadow: 0 14px 36px rgba(0,0,0,.3); color: #fff; font-size: 15px; font-weight: 600; }
.dashboard-loading-dialog img { width: 36px; height: 36px; flex: 0 0 36px; object-fit: contain; }
.week-select.has-week-range .el-select__selection > .el-select__selected-item:first-child { display: flex; align-items: center; }
.week-select.has-week-range .el-select__selection > .el-select__selected-item:first-child::after { content: "-"; flex: 0 0 auto; margin: 0 3px 0 9px; color: #77727c; font-weight: 600; }

@media (min-width: 721px) and (max-width: 1280px) {
  .dashboard-header { min-height: 116px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 10px; padding-block: 12px; }
  .dashboard-header .page-title-row { width: auto; }
  .dashboard-header .header-filter { width: 100%; margin-left: 0; }
  .dashboard-header .week-select { width: auto; min-width: 0; max-width: none; flex: 1 1 auto; }
}

@media (max-width: 980px) {
  .platform-shell { grid-template-columns: 84px minmax(0, 1fr); }
  .platform-sidebar { width: 84px; padding: 20px 12px; }
  .platform-sidebar .brand-lockup { padding: 0; }
  .platform-sidebar .brand-lockup img { width: 60px; height: 30px; flex: 0 0 60px; }
  .platform-sidebar .brand-copy, .platform-sidebar > h1, .sidebar-nav a:not(.is-active) { font-size: 0; }
  .platform-sidebar .brand-lockup { justify-content: center; }
  .sidebar-user { width: 60px; justify-content: center; gap: 0; margin: 0; padding: 8px; }
  .sidebar-user div { display: none; }
  .sidebar-nav a { justify-content: center; padding: 0; font-size: 0; }
  .sidebar-subnav, .sidebar-divider { display: none; }
  .sidebar-nav a span { font-size: 18px; }
  .sidebar-logout button { justify-content: center; font-size: 0; }
  .sidebar-logout span { font-size: 18px; }
  .platform-main { grid-column: 2; }
  .metric-overview, .insight-card { height: auto; }
  .metric-layout { height: auto; grid-template-columns: 1fr 1fr; }
  .metric-grid { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .insight-title { flex-wrap: wrap; }
  .insight-week-label { width: 100%; margin-left: 34px; white-space: normal; }
  .platform-shell { display: block; }
  .platform-sidebar { position: static; width: auto; height: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 16px; border-right: 0; border-bottom: 1px solid var(--wgc-line); }
  .platform-sidebar .brand-lockup { justify-content: flex-start; }
  .platform-sidebar > h1, .sidebar-user, .sidebar-logout { display: none; }
  .sidebar-nav { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 0; }
  .sidebar-nav a, .sidebar-nav a:not(.is-active) { width: 40px; height: 40px; flex: 0 0 40px; justify-content: center; gap: 0; padding: 0; font-size: 0; }
  .platform-main { min-height: 0; }
  .page-header { min-height: auto; align-items: flex-start; flex-direction: column; padding: 18px 16px; }
  .dashboard-header { gap: 14px; }
  .dashboard-header .page-title-row { width: auto; }
  .header-filter { width: 100%; align-items: flex-start; flex-direction: column; margin: 0; }
  .header-filter .el-date-editor, .header-filter .week-select { width: 100%; }
  .dashboard-export-button { align-self: flex-end; margin-left: 0; }
  .page-content, .dashboard-content { padding: 16px; }
  .keyword-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
  .keyword-tabs button { flex: 1; height: 40px; border: 1px solid var(--wgc-line); border-radius: var(--radius-sm); background: #fff; color: var(--wgc-text); }
  .keyword-tabs button.is-active { border-color: var(--wgc-purple); background: var(--wgc-purple); color: #fff; }
  .metric-layout, .form-grid, .role-cards, .sentiment-columns { grid-template-columns: 1fr; }
  .radar-chart { min-height: 180px; }
  .filter-bar, .filter-bar.audit-filter { grid-template-columns: 1fr; }
  .member-form-card { padding: 20px; }
  .login-brandbar { padding: 12px 16px; }
  .login-brandbar h1 { font-size: 16px; }
  .login-card { padding: 24px 20px; }
  .captcha-row { grid-template-columns: 1fr 126px; }
}
