:root {
  --ink: #1b302a;
  --muted: #7a8e87;
  --muted-strong: #5e746c;
  --line: #e6eeea;
  --page: #f5faf8;
  --panel: #ffffff;
  --green: #108c67;
  --green-dark: #087452;
  --green-soft: #e9f7f1;
  --amber: #d59a2b;
  --amber-soft: #fff5df;
  --red: #d36c5f;
  --red-soft: #fff0ed;
  --shadow: 0 16px 42px rgba(26, 80, 62, .065);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--page); }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; }

.app-shell { min-height: 100vh; }
.topbar { height: 64px; padding: 0 5.8vw; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand strong { display: block; font-size: 16px; letter-spacing: -.02em; }
.brand small { display: block; margin-top: 2px; color: #99aaa4; font-size: 10px; }
.brand-mark { width: 38px; height: 38px; display: block; flex: 0 0 38px; object-fit: contain; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.version-pill, .workspace-pill { height: 35px; display: inline-flex; align-items: center; gap: 8px; padding: 0 13px; border: 1px solid transparent; border-radius: 18px; color: #70847c; background: #f2f7f5; font-size: 12px; }
.workspace-pill { border-color: var(--line); background: #fff; color: var(--muted-strong); }
.chevron { font-size: 16px; margin-left: 2px; }
.avatar-button { width: 35px; height: 35px; border-radius: 50%; color: var(--green-dark); background: #eef8f4; font-size: 12px; font-weight: 700; }
.status-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #22a87c; box-shadow: 0 0 0 3px rgba(34,168,124,.11); }

.page { width: min(1280px, calc(100% - 48px)); margin: 0 auto; padding: 40px 0 64px; }
.hero { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin: 0 0 28px; }
.eyebrow, .section-kicker { color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.eyebrow-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px #e5f4ee; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(28px, 3vw, 40px); line-height: 1.14; letter-spacing: -.05em; }
.hero p { margin-top: 10px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.hero-meta { display: flex; align-items: center; gap: 18px; padding-bottom: 5px; color: #9aa9a4; font-size: 11px; white-space: nowrap; }
.legend-item { display: inline-flex; align-items: center; gap: 7px; }
.legend-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; }
.legend-dot.green { background: #31a883; }.legend-dot.amber { background: #e4aa42; }.legend-dot.red { background: #dc7f70; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(320px, .78fr); gap: 20px; align-items: start; }
.main-column, .side-column { display: grid; gap: 20px; min-width: 0; }
.panel { border: 1px solid rgba(218,232,225,.88); border-radius: 22px; background: var(--panel); box-shadow: var(--shadow); }
.overview-panel { padding: 25px 27px 24px; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.compact-heading { align-items: center; }
.panel-heading h2 { margin-top: 7px; font-size: 21px; letter-spacing: -.035em; }
.panel-heading p { margin-top: 7px; color: var(--muted); font-size: 14px; }
.heading-actions { display: flex; align-items: center; gap: 12px; }
.sync-label, .live-pill { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: 11px; font-weight: 700; }
.live-pill { padding: 7px 10px; border-radius: 14px; background: var(--green-soft); }
.icon-button { width: 29px; height: 29px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--green-dark); background: #fff; text-decoration: none; font-size: 16px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.stat-card { min-height: 93px; padding: 15px 16px; border: 1px solid #edf3f0; border-radius: 15px; background: linear-gradient(145deg, #fbfefd, #f5faf8); }
.stat-card .stat-icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; color: var(--green); background: var(--green-soft); font-size: 13px; }
.stat-card:nth-child(2) .stat-icon { color: #c98b1c; background: var(--amber-soft); }.stat-card:nth-child(3) .stat-icon { color: #c96658; background: var(--red-soft); }.stat-card:nth-child(4) .stat-icon { color: #5278a6; background: #edf4fd; }
.stat-value { margin-top: 8px; font-size: 24px; font-weight: 800; letter-spacing: -.04em; }
.stat-label { margin-top: 2px; color: var(--muted); font-size: 13px; }
.priority-panel, .brand-panel, .action-panel, .rotation-panel { padding: 24px 26px; }
.text-button { color: var(--green); background: transparent; font-size: 11px; font-weight: 700; }
.text-button span, .primary-button span, .outline-button span { margin-left: 5px; font-size: 15px; }
.focus-list { display: grid; gap: 10px; margin-top: 20px; }
.focus-item { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 15px 16px; border: 1px solid #edf3f0; border-radius: 14px; background: #fbfdfc; }
.focus-index { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 9px; color: var(--green); background: var(--green-soft); font-size: 11px; font-weight: 800; }
.focus-item strong { display: block; font-size: 16px; }.focus-item p { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.focus-tag { padding: 6px 8px; border-radius: 9px; color: var(--green); background: var(--green-soft); font-size: 10px; font-weight: 700; white-space: nowrap; }
.focus-tag.amber { color: #ad771a; background: var(--amber-soft); }
.filter-wrap { display: flex; flex-wrap: wrap; justify-content: end; gap: 6px; }
.filter-button { padding: 7px 10px; border-radius: 12px; color: var(--muted); background: transparent; font-size: 11px; }.filter-button.active { color: #fff; background: var(--green); box-shadow: 0 5px 13px rgba(16,140,103,.18); }
.brand-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.brand-card { min-height: 167px; padding: 17px; border: 1px solid #eaf1ee; border-radius: 15px; background: linear-gradient(145deg, #fff, #fbfdfc); }
.brand-card-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.brand-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; }.brand-icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 9px; color: var(--green); background: var(--green-soft); font-size: 12px; }
.brand-status { display: inline-flex; align-items: center; gap: 5px; color: #9caea7; font-size: 10px; }.brand-status .status-dot { width: 5px; height: 5px; box-shadow: none; }
.brand-card ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted-strong); font-size: 14px; line-height: 1.65; }.brand-card li + li { margin-top: 5px; }.brand-card li::marker { color: #9fcfbc; }
.upload-panel { padding: 24px 25px 21px; }.bottom-upload-panel { margin-top: 20px; }.panel-desc { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.dropzone { min-height: 146px; display: flex; align-items: center; flex-direction: column; justify-content: center; margin-top: 16px; padding: 17px; border: 1px dashed #b7dfcf; border-radius: 15px; color: var(--muted-strong); background: #f9fdfb; text-align: center; cursor: pointer; transition: background .2s, border-color .2s; }.dropzone:hover, .dropzone.dragover { border-color: var(--green); background: #f1fbf6; }
.dropzone input { display: none; }.upload-icon { width: 31px; height: 31px; display: grid; place-items: center; margin-bottom: 8px; border-radius: 10px; color: var(--green); background: var(--green-soft); font-size: 20px; font-weight: 800; }.dropzone strong { color: var(--ink); font-size: 14px; }.dropzone small { margin-top: 5px; color: #a0b1aa; font-size: 12px; }.file-name { max-width: 100%; margin-top: 9px; overflow: hidden; color: var(--green); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.or-divider { display: flex; align-items: center; gap: 10px; margin: 16px 0 10px; color: #b2beb9; font-size: 10px; }.or-divider::before, .or-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.minutes-input { width: 100%; height: 95px; resize: vertical; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; outline: none; color: var(--ink); background: #fbfdfc; font-size: 14px; line-height: 1.6; }.minutes-input:focus { border-color: #8fcfb9; box-shadow: 0 0 0 3px rgba(16,140,103,.08); }
.upload-actions { display: flex; gap: 8px; margin-top: 11px; }.secondary-button, .primary-button, .outline-button { min-height: 36px; padding: 0 13px; border-radius: 11px; font-size: 11px; font-weight: 700; }.secondary-button { flex: 1; color: var(--muted-strong); background: #f2f7f5; }.primary-button { flex: 1.2; color: #fff; background: var(--green); box-shadow: 0 7px 16px rgba(16,140,103,.18); }.primary-button:hover { background: var(--green-dark); }.saved-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: #a1b0aa; font-size: 10px; }.saved-note .status-dot { width: 5px; height: 5px; box-shadow: none; }
.action-list { display: grid; gap: 4px; margin-top: 16px; }.action-item { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 9px; padding: 12px 0; border-bottom: 1px solid #f0f4f2; cursor: pointer; }.action-item:last-child { border-bottom: 0; }.action-checkbox { width: 16px; height: 16px; margin-top: 3px; border: 1.5px solid #b7ccc3; border-radius: 5px; }.action-item.done .action-checkbox { border-color: var(--green); background: var(--green); }.action-item.done .action-checkbox::after { content: "✓"; display: grid; place-items: center; height: 100%; color: #fff; font-size: 10px; }.action-item.done strong { color: #97aaa2; text-decoration: line-through; }.action-item strong { display: block; font-size: 15px; line-height: 1.5; }.action-meta { display: flex; gap: 8px; margin-top: 5px; color: #a0aea9; font-size: 12px; }.action-meta .due { color: #c68a22; }.count-badge { min-width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; color: #ad771a; background: var(--amber-soft); font-size: 12px; font-weight: 800; }.outline-button { width: 100%; margin-top: 14px; border: 1px solid #dbeae4; color: var(--green); background: #fff; }.outline-button:hover { background: var(--green-soft); }
.rotation-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: var(--green); background: var(--green-soft); font-size: 17px; }.rotation-flow { display: flex; align-items: center; gap: 7px; margin-top: 19px; }.rotation-person { flex: 1; padding: 10px 6px; border-radius: 11px; color: var(--muted-strong); background: #f6faf8; text-align: center; font-size: 11px; font-weight: 700; }.rotation-person.current { color: #fff; background: var(--green); }.rotation-arrow { color: #b3c8bf; font-size: 13px; }.rotation-note { margin-top: 14px; color: #a1b0aa; font-size: 10px; line-height: 1.5; }
.toast { position: fixed; z-index: 20; right: 24px; bottom: 24px; max-width: 330px; padding: 12px 16px; border: 1px solid #cde9dc; border-radius: 13px; color: var(--green-dark); background: #f0fbf6; box-shadow: 0 12px 35px rgba(23,77,57,.15); font-size: 12px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .25s ease; }.toast.show { opacity: 1; transform: translateY(0); }
.modal-backdrop { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 20px; background: rgba(22,48,40,.3); backdrop-filter: blur(4px); }.modal-backdrop[hidden] { display: none; }.detail-modal { position: relative; width: min(480px, 100%); padding: 30px; border-radius: 20px; background: #fff; box-shadow: 0 24px 70px rgba(21,63,48,.25); }.detail-modal h2 { margin-top: 9px; font-size: 22px; }.detail-modal p { margin-top: 14px; color: var(--muted-strong); font-size: 13px; line-height: 1.7; }.modal-close { position: absolute; top: 14px; right: 15px; width: 28px; height: 28px; border-radius: 50%; color: var(--muted); background: #f3f7f5; font-size: 20px; }.modal-meta { display: flex; gap: 8px; margin-top: 20px; color: var(--green); font-size: 11px; }.modal-meta span { padding: 6px 9px; border-radius: 8px; background: var(--green-soft); }
.empty-state { padding: 30px 10px; color: var(--muted); font-size: 12px; text-align: center; }
@media (max-width: 1040px) { .topbar { padding: 0 28px; }.dashboard-grid { grid-template-columns: 1fr; }.side-column { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }.action-panel, .rotation-panel { grid-column: auto; } }
@media (max-width: 720px) { .topbar { height: 58px; padding: 0 16px; }.topbar-actions { gap: 6px; }.version-pill, .workspace-pill { display: none; }.page { width: calc(100% - 26px); padding-top: 28px; }.hero { display: block; }.hero-meta { margin-top: 17px; }.stats-grid { grid-template-columns: repeat(2, 1fr); }.overview-panel, .priority-panel, .brand-panel, .action-panel, .rotation-panel, .upload-panel { padding: 20px 17px; }.panel-heading { gap: 12px; }.compact-heading { display: block; }.compact-heading > .filter-wrap { justify-content: start; margin-top: 14px; }.brand-grid { grid-template-columns: 1fr; }.side-column { display: grid; grid-template-columns: 1fr; }.upload-panel, .action-panel, .rotation-panel { grid-column: auto; grid-row: auto; }.focus-item { grid-template-columns: 28px minmax(0,1fr); }.focus-tag { grid-column: 2; justify-self: start; }.heading-actions { gap: 8px; }.panel-heading h2 { font-size: 18px; } }

/* Typography aligned with the reference meeting-notes page. */
h1 { font-size: clamp(28px, 3vw, 36px); }
.action-item strong { font-size: 16px; }
