:root {
  --ink: #173042;
  --muted: #6e7e8c;
  --muted-2: #93a0aa;
  --line: #e8edf0;
  --surface: #ffffff;
  --canvas: #f5f8f9;
  --navy: #0f4c5c;
  --navy-deep: #0a3543;
  --teal: #1b8592;
  --teal-soft: #e5f4f3;
  --amber: #d98a2b;
  --amber-soft: #fff3df;
  --purple: #765bc4;
  --purple-soft: #f1ecff;
  --shadow: 0 16px 44px rgba(27, 57, 72, .08);
  font-family: Inter, "Pretendard", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--canvas); }
button, input { font: inherit; }
button { cursor: pointer; }

.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 272px; flex: 0 0 272px; display: flex; flex-direction: column; padding: 28px 18px 18px; background: var(--navy-deep); color: #d9edf0; }
.brand-lockup { display: flex; gap: 12px; align-items: center; padding: 0 12px 36px; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: #55b3ad; color: var(--navy-deep); font-weight: 850; letter-spacing: -.06em; }
.brand-name { color: white; font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.brand-caption { margin-top: 3px; color: #8eb9bf; font-size: 11px; letter-spacing: .01em; }
.nav-list { display: grid; gap: 4px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 13px; min-height: 46px; padding: 0 13px; border: 0; border-radius: 11px; background: transparent; color: #a9c9cd; text-align: left; font-size: 14px; transition: background .18s ease, color .18s ease; }
.nav-item:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-item.active { background: rgba(85,179,173,.17); color: #fff; font-weight: 750; }
.nav-item.active::before { content: ""; position: absolute; left: -18px; width: 3px; height: 23px; border-radius: 0 4px 4px 0; background: #61c1ba; }
.nav-icon { width: 20px; color: #74c3c0; font-size: 18px; text-align: center; }
.nav-item.active .nav-icon { color: #a3e4dc; }
.sidebar-footer { margin-top: auto; }
.support-card { display: flex; gap: 9px; padding: 13px 12px; border: 1px solid rgba(147,208,205,.14); border-radius: 12px; background: rgba(255,255,255,.055); }
.support-dot { width: 7px; height: 7px; flex: 0 0 7px; margin-top: 5px; border-radius: 50%; background: #66d2a5; box-shadow: 0 0 0 4px rgba(102,210,165,.12); }
.support-card strong, .support-card span { display: block; }
.support-card strong { color: #dbf1ef; font-size: 12px; }
.support-card span { margin-top: 4px; color: #91b6bb; font-size: 11px; line-height: 1.35; }
.profile-button { display: flex; align-items: center; width: 100%; gap: 9px; margin-top: 15px; padding: 10px 8px; border: 0; border-radius: 11px; background: transparent; color: #eaf5f5; text-align: left; }
.profile-button:hover { background: rgba(255,255,255,.08); }
.avatar { display: grid; place-items: center; border-radius: 50%; font-weight: 800; }
.avatar-small { width: 33px; height: 33px; color: #0d4c4d; background: #b8e2de; font-size: 13px; }
.profile-copy { display: grid; gap: 2px; flex: 1; }
.profile-copy strong { font-size: 12px; }
.profile-copy small { color: #8db2b8; font-size: 10px; }
.chevron { color: #8db2b8; font-size: 18px; }

.page-frame { min-width: 0; flex: 1; }
.topbar { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 42px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.88); }
.breadcrumb { color: var(--muted); font-size: 13px; }
.breadcrumb span { margin: 0 9px; color: #c7d0d5; }
.topbar-actions { display: flex; align-items: center; gap: 17px; }
.search-box { display: flex; align-items: center; gap: 8px; width: min(340px, 30vw); height: 40px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfc; color: #82909a; }
.search-box span { font-size: 23px; line-height: 1; transform: rotate(-20deg); }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.search-box input::placeholder { color: #9aa6ae; }
.search-box kbd { color: #a4afb5; font-size: 10px; white-space: nowrap; }
.icon-button { display: grid; place-items: center; width: 39px; height: 39px; border: 0; border-radius: 10px; background: transparent; color: #617480; }
.icon-button:hover { background: #edf3f4; color: var(--navy); }
.notification-button { position: relative; font-size: 24px; }
.notification-button i { position: absolute; top: 8px; right: 9px; width: 6px; height: 6px; border: 2px solid white; border-radius: 50%; background: #e26e5c; }
.menu-toggle { display: none; }
.main-content { max-width: 1540px; margin: 0 auto; padding: 37px 42px 52px; }
.eyebrow { margin: 0; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.welcome-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.welcome-row h1 { margin: 8px 0 9px; color: var(--ink); font-size: clamp(26px, 3vw, 34px); letter-spacing: -.055em; line-height: 1.15; }
.welcome-row p { margin: 0; color: var(--muted); font-size: 14px; }
.date-panel { min-width: 205px; padding: 15px 18px; border: 1px solid #e1ebed; border-radius: 13px; background: #eef8f7; }
.date-panel span { display: block; color: var(--teal); font-size: 11px; font-weight: 750; }
.date-panel strong { display: block; margin-top: 5px; color: var(--navy-deep); font-size: 15px; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 23px; }
.metric-card { display: flex; align-items: center; gap: 13px; min-height: 102px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 6px 18px rgba(27, 57, 72, .03); }
.metric-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; color: var(--teal); background: var(--teal-soft); font-size: 20px; }
.metric-card:nth-child(2) .metric-icon { color: var(--amber); background: var(--amber-soft); }
.metric-card:nth-child(3) .metric-icon { color: var(--purple); background: var(--purple-soft); }
.metric-card:nth-child(4) .metric-icon { color: #3577a6; background: #e7f1fa; }
.metric-copy { min-width: 0; }
.metric-copy span, .metric-copy strong { display: block; }
.metric-copy span { color: var(--muted); font-size: 11px; }
.metric-copy strong { margin-top: 5px; color: var(--ink); font-size: 23px; letter-spacing: -.04em; }
.metric-copy small { color: var(--muted-2); font-size: 10px; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: 18px; }
.content-card { min-width: 0; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: var(--shadow); }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 13px; padding: 21px 22px 14px; }
.card-header h2 { margin: 0; color: var(--ink); font-size: 16px; letter-spacing: -.03em; }
.card-header p { margin: 5px 0 0; color: var(--muted-2); font-size: 11px; }
.text-link { border: 0; background: transparent; color: var(--teal); font-size: 11px; font-weight: 750; }
.text-link:hover { text-decoration: underline; }
.list { padding: 0 22px 17px; }
.list-row { display: flex; align-items: center; gap: 12px; min-height: 61px; border-top: 1px solid #f0f3f4; }
.list-row:first-child { border-top: 0; }
.row-bullet { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 3px; background: #b5deda; }
.row-bullet.important { background: #e4a447; }
.row-copy { min-width: 0; flex: 1; }
.row-copy strong, .row-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-copy strong { color: var(--ink); font-size: 13px; font-weight: 700; }
.row-copy span { margin-top: 5px; color: var(--muted-2); font-size: 11px; }
.tag { padding: 5px 7px; border-radius: 5px; color: #5c7080; background: #f3f6f7; font-size: 10px; white-space: nowrap; }
.tag.teal { color: #287874; background: var(--teal-soft); }
.tag.amber { color: #a06824; background: var(--amber-soft); }
.tag.purple { color: #654ca8; background: var(--purple-soft); }
.side-stack { display: grid; gap: 18px; }
.agenda-card { overflow: hidden; }
.agenda-card .card-header { padding-bottom: 16px; }
.agenda-list { padding: 0 22px 18px; }
.agenda-row { display: grid; grid-template-columns: 42px 1fr; gap: 13px; align-items: center; min-height: 67px; border-top: 1px solid #f0f3f4; }
.agenda-row:first-child { border-top: 0; }
.agenda-date { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--teal); background: #ebf8f7; }
.agenda-date strong { line-height: 1; font-size: 16px; }
.agenda-date span { margin-top: 3px; font-size: 9px; }
.agenda-copy strong, .agenda-copy span { display: block; }
.agenda-copy strong { color: var(--ink); font-size: 12px; }
.agenda-copy span { margin-top: 5px; color: var(--muted-2); font-size: 10px; }
.priority-card { padding-bottom: 8px; }
.priority-list { padding: 0 22px 10px; }
.priority-item { display: flex; gap: 11px; align-items: flex-start; padding: 10px 0; border-top: 1px solid #f0f3f4; }
.priority-item:first-child { border-top: 0; }
.priority-check { width: 15px; height: 15px; flex: 0 0 15px; margin-top: 1px; border: 2px solid #8fcac4; border-radius: 4px; }
.priority-item.done .priority-check { position: relative; border-color: var(--teal); background: var(--teal); }
.priority-item.done .priority-check::after { content: "✓"; position: absolute; top: -4px; left: 1px; color: white; font-size: 12px; }
.priority-item.done .priority-copy { color: var(--muted-2); text-decoration: line-through; }
.priority-copy { color: var(--ink); font-size: 12px; line-height: 1.4; }
.priority-copy span { display: block; margin-top: 4px; color: var(--muted-2); font-size: 10px; }

.section-view { animation: fade-in .22s ease both; }
@keyframes fade-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
.section-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 22px 0 17px; }
.section-toolbar p { margin: 0; color: var(--muted); font-size: 13px; }
.primary-button { border: 0; border-radius: 9px; padding: 10px 14px; color: white; background: var(--navy); font-size: 12px; font-weight: 750; }
.primary-button:hover { background: var(--teal); }
.section-placeholder { min-height: 280px; display: grid; place-items: center; padding: 40px; border: 1px dashed #cbdadd; border-radius: 15px; background: rgba(255,255,255,.68); text-align: center; }
.placeholder-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 13px; border-radius: 16px; color: var(--teal); background: var(--teal-soft); font-size: 25px; }
.section-placeholder h2 { margin: 0 0 7px; color: var(--ink); font-size: 18px; }
.section-placeholder p { max-width: 430px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.meeting-list { display: grid; gap: 12px; }
.meeting-record { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 21px 22px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: 0 6px 18px rgba(27, 57, 72, .03); }
.meeting-record-main { min-width: 0; flex: 1; }
.meeting-record-title { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.meeting-record-title h2 { margin: 0; color: var(--ink); font-size: 16px; letter-spacing: -.03em; }
.meeting-record-main p { margin: 10px 0 12px; color: var(--muted); font-size: 13px; line-height: 1.55; white-space: pre-wrap; }
.meeting-record-meta { color: var(--muted-2); font-size: 11px; }
.meeting-record-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.secondary-button, .danger-button { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 11px; border: 1px solid #dce5e8; border-radius: 8px; color: #48606c; background: #fff; font-size: 11px; text-decoration: none; }
.secondary-button:hover { border-color: #8fcac4; color: var(--teal); background: #f6fbfb; }
.danger-button { border-color: #f0d6d1; color: #b65e51; }
.danger-button:hover { border-color: #e3a59b; background: #fff7f5; }
.modal-backdrop { position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(10, 35, 45, .48); }
.modal-card { width: min(620px, 100%); max-height: min(760px, calc(100vh - 40px)); overflow: auto; border: 1px solid #e4ecee; border-radius: 17px; background: #fff; box-shadow: 0 24px 80px rgba(7, 33, 44, .25); }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 23px 24px 16px; border-bottom: 1px solid #eef2f3; }
.modal-header h2 { margin: 6px 0 0; color: var(--ink); font-size: 20px; letter-spacing: -.04em; }
.modal-close { width: 32px; height: 32px; border: 0; border-radius: 8px; color: var(--muted); background: #f5f8f9; font-size: 24px; line-height: 1; }
.modal-close:hover { color: var(--ink); background: #eaf1f2; }
.meeting-form { display: grid; gap: 16px; padding: 22px 24px 24px; }
.meeting-form label { display: grid; gap: 7px; color: var(--ink); font-size: 12px; font-weight: 750; }
.meeting-form input, .meeting-form textarea { width: 100%; border: 1px solid #dce6e8; border-radius: 9px; outline: 0; padding: 11px 12px; color: var(--ink); background: #fbfcfc; font-size: 13px; font-weight: 450; }
.meeting-form input:focus, .meeting-form textarea:focus { border-color: #69bcb5; box-shadow: 0 0 0 3px rgba(83, 181, 173, .13); }
.meeting-form textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.meeting-form small { color: var(--muted-2); font-size: 11px; font-weight: 450; }
.existing-file { padding: 10px 12px; border-radius: 8px; color: #536b77; background: #f4f8f8; font-size: 11px; }
.existing-file a { color: var(--teal); font-weight: 700; }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 3px; }
.form-status { min-height: 17px; margin: 0; color: #b65e51; font-size: 11px; }
.table-card { overflow: hidden; }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; min-width: 650px; }
.data-table th, .data-table td { padding: 15px 20px; border-bottom: 1px solid #eef2f3; text-align: left; font-size: 12px; }
.data-table th { color: var(--muted-2); background: #fbfcfc; font-size: 10px; font-weight: 750; }
.data-table td { color: var(--ink); }
.data-table tr:last-child td { border-bottom: 0; }

@media (max-width: 1120px) {
  .sidebar { width: 232px; flex-basis: 232px; }
  .topbar, .main-content { padding-left: 28px; padding-right: 28px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .sidebar { position: fixed; z-index: 20; inset: 0 auto 0 0; width: 272px; transform: translateX(-101%); transition: transform .2s ease; box-shadow: 20px 0 50px rgba(8, 39, 50, .2); }
  .sidebar.open { transform: translateX(0); }
  .menu-toggle { display: grid; }
  .topbar { height: 68px; padding: 0 18px; }
  .breadcrumb { display: none; }
  .search-box { width: min(310px, 60vw); }
  .main-content { padding: 28px 18px 42px; }
  .welcome-row { align-items: stretch; flex-direction: column; }
  .date-panel { width: fit-content; }
  .dashboard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .topbar-actions { gap: 4px; }
  .search-box { width: auto; flex: 1; }
  .search-box kbd { display: none; }
  .notification-button { display: none; }
  .metric-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric-card { min-height: 91px; padding: 12px; gap: 9px; }
  .metric-icon { width: 35px; height: 35px; flex-basis: 35px; font-size: 16px; }
  .metric-copy strong { font-size: 19px; }
  .metric-copy span { font-size: 10px; }
  .card-header { padding-left: 16px; padding-right: 16px; }
  .list, .agenda-list, .priority-list { padding-left: 16px; padding-right: 16px; }
  .welcome-row h1 { font-size: 27px; }
  .meeting-record { flex-direction: column; padding: 17px; }
  .meeting-record-actions { justify-content: flex-start; }
  .modal-backdrop { padding: 10px; }
  .modal-header, .meeting-form { padding-left: 17px; padding-right: 17px; }
}

