/* ===========================================================
   아리 — 대시보드  ·  'Rond' 클린 화이트 테마
   레퍼런스 팔레트 충실 분석:
   - 배경: 상단 옅은 웜 크림 → 하단 쿨 라이트 그레이 그라데이션
   - 카드: 순백 + 큰 라운드 + 아주 옅은 중립 그림자
   - 잉크: 거의 검정 차콜 / 단일 라임그린 CTA / 선택=차콜 채움
   - 컬러 액센트는 점·바에만 절제해서 사용
   상단바 = 메인 메뉴 · 좌측 아이콘 레일 = 서브 메뉴
   =========================================================== */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

:root {
  --bg-top: #f6efe7;
  --bg-mid: #eef0f1;
  --bg-bot: #e9ebed;
  --card: #ffffff;
  --card-2: #f4f5f6;
  --card-3: #eef0f1;
  --ink: #211f1c;
  --ink-2: #514d47;
  --muted: #8d8a85;
  --faint: #b6b3ad;
  --line: rgba(33, 31, 28, 0.07);
  --line-2: rgba(33, 31, 28, 0.13);
  --fill: #29241f;
  --fill-soft: #36302a;
  --on-fill: #f4efe6;
  --lime: #c2f24a;
  --lime-hi: #cdf85e;
  --lime-ink: #233006;
  --blue: #4f72e0;
  --coral: #df7256;
  --green: #4e9b66;
  --violet: #8b6fd4;
  --amber: #e0a23c;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px -14px rgba(30, 26, 22, 0.22), 0 2px 6px -2px rgba(30, 26, 22, 0.06);
  --shadow-sm: 0 4px 14px -8px rgba(30, 26, 22, 0.18);
  /* 글래스 */
  --glass: rgba(255, 255, 255, 0.4);
  --glass-2: rgba(255, 255, 255, 0.26);
  --glass-brd: rgba(255, 255, 255, 0.7);
  --glass-ink: rgba(26, 22, 18, 0.46);
  --blur: blur(26px) saturate(190%);
  --glass-hi: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  --font-disp: "Onest", "Pretendard", system-ui, sans-serif;
  --font-ui: "Pretendard", "Onest", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, monospace;
}

[data-theme="dark"] {
  --bg-top: #201d1a;
  --bg-mid: #1a1816;
  --bg-bot: #161413;
  --card: #2c2925;
  --card-2: #353029;
  --card-3: #3b352d;
  --ink: #f3eee6;
  --ink-2: #c3bdb4;
  --muted: #948e85;
  --faint: #6f6a62;
  --line: rgba(244, 239, 230, 0.09);
  --line-2: rgba(244, 239, 230, 0.16);
  --fill: #f4efe6;
  --fill-soft: #e7e0d4;
  --on-fill: #211f1c;
  --shadow: 0 14px 36px -16px rgba(0, 0, 0, 0.7), 0 2px 8px -3px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 6px 16px -10px rgba(0, 0, 0, 0.6);
  --glass: rgba(48, 43, 38, 0.4);
  --glass-2: rgba(70, 63, 55, 0.28);
  --glass-brd: rgba(255, 255, 255, 0.1);
  --glass-ink: rgba(16, 13, 11, 0.42);
  --glass-hi: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body {
  font-family: var(--font-ui);
  color: var(--ink);
  background: linear-gradient(178deg, var(--bg-top) 0%, var(--bg-mid) 20%, var(--bg-bot) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.011em;
  word-break: keep-all;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

.ic { width: 1em; height: 1em; flex-shrink: 0; display: block; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.dash {
  max-width: 1620px;
  margin: 0 auto;
  padding: 0 26px 40px;
}

/* ====================== 상단바 — 메인 메뉴 ====================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 70px;
  margin: 0 -26px;
  padding: 0 30px;
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--fill);
  color: var(--coral);
  display: grid; place-items: center;
  position: relative;
}
.brand-mark .ic { width: 21px; height: 21px; }
.brand-mark::after {
  content: ""; position: absolute;
  top: -2px; right: -2px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--coral);
  border: 2px solid var(--bg-top);
}
.brand-tag { line-height: 1.15; }
.brand-tag b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.brand-tag span {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--muted); text-transform: uppercase; white-space: nowrap;
}
.brand-tag b { white-space: nowrap; }

.mainnav {
  display: flex; align-items: center; gap: 2px;
  min-width: 0; overflow-x: auto; scrollbar-width: none;
}
.mainnav::-webkit-scrollbar { display: none; }
.mainnav a {
  text-decoration: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500;
  color: var(--ink-2);
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}
.mainnav a .ic { width: 16px; height: 16px; color: var(--muted); transition: color 0.16s; }
.mainnav a:hover { color: var(--ink); }
.mainnav a:hover .ic { color: var(--ink-2); }
.mainnav a.active {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-brd);
}
.mainnav a.active .ic { color: var(--ink); }
.mainnav a .badge {
  font-size: 11px; font-weight: 700;
  background: var(--coral); color: #fff;
  border-radius: 999px; padding: 0 6px; min-width: 18px; text-align: center;
}

.top-actions { margin-left: auto; display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.t-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink-2);
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.12s, color 0.16s;
}
.t-btn .ic { width: 18px; height: 18px; }
.t-btn:hover { color: var(--ink); transform: translateY(-1px); }
.t-btn.dot::after {
  content: ""; position: absolute; top: 9px; right: 10px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--coral); border: 2px solid var(--card);
}
.t-ava {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--violet));
  color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 15px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

/* ====================== 페이지 헤더 ====================== */
.pagehead {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding: 14px 4px 22px;
}
.ph-back {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--glass); border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  color: var(--ink); box-shadow: var(--shadow-sm);
  margin-bottom: 4px;
  transition: transform 0.12s;
}
.ph-back .ic { width: 19px; height: 19px; }
.ph-back:hover { transform: translateX(-2px); }
.ph-eyebrow {
  font-size: 13.5px; color: var(--muted); font-weight: 500;
  margin-bottom: 7px; display: flex; align-items: center; gap: 9px;
}
.ph-eyebrow .wx { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-2); }
.ph-eyebrow .wx .ic { width: 15px; height: 15px; color: var(--amber); }
.ph-eyebrow .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }
.ph-title {
  font-family: var(--font-disp);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
}
.ph-title em { font-style: normal; color: var(--muted); }
.ph-search {
  margin-left: auto;
  display: flex; align-items: center; gap: 10px;
  width: 250px; padding: 12px 18px;
  border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow-sm);
  margin-bottom: 4px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.ph-search:focus-within { border-color: var(--line-2); box-shadow: 0 0 0 4px rgba(79,114,224,0.12); }
.ph-search .ic { width: 17px; height: 17px; color: var(--muted); }
.ph-search input {
  flex: 1; min-width: 0; border: none; background: none; outline: none;
  font-size: 14px; color: var(--ink);
}
.ph-search input::placeholder { color: var(--faint); }

/* ====================== 작업 영역 (레일 + 보드) ====================== */
.work { display: flex; gap: 18px; align-items: flex-start; }

.rail {
  position: sticky; top: 86px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  flex-shrink: 0;
}
.rail button {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: grid; place-items: center;
  color: var(--muted);
  position: relative;
  transition: background 0.15s, color 0.15s;
}
.rail button .ic { width: 19px; height: 19px; }
.rail button:hover { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); color: var(--ink-2); box-shadow: var(--shadow-sm); border: 1px solid var(--glass-brd); }
.rail button.active { background: var(--fill); color: var(--on-fill); box-shadow: var(--shadow); }
.rail button .tip {
  position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%) translateY(4px) scale(0.96);
  background: var(--fill); color: var(--on-fill);
  font-size: 12px; font-weight: 600; white-space: nowrap;
  padding: 5px 10px; border-radius: 8px;
  opacity: 0; pointer-events: none; transition: opacity 0.14s, transform 0.14s;
  z-index: 60;
  box-shadow: var(--shadow-sm);
}
.rail button .tip::after {
  content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: var(--fill);
}
.rail button:hover .tip { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
.rail .sp { height: 10px; }
.rail button .rdot {
  position: absolute; top: 7px; right: 7px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--coral); border: 2px solid var(--bg-top);
}
.rail button.active .rdot { border-color: var(--fill); }

/* ====================== 보드 (베n토 그리드) ====================== */
.board {
  flex: 1; min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.card {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius);
  box-shadow: var(--shadow), var(--glass-hi);
  padding: 20px;
  display: flex; flex-direction: column;
  min-width: 0;
}
.card.sp2 { grid-column: span 2; }
.card.r2 { grid-row: span 2; }

.ch {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.ch .ico {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--glass-2); color: var(--ink);
  border: 1px solid var(--glass-brd);
  flex-shrink: 0;
}
.ch .ico .ic { width: 17px; height: 17px; }
.ch .htext { min-width: 0; }
.ch h3 { font-size: 15.5px; font-weight: 700; letter-spacing: -0.02em; margin: 0; white-space: nowrap; }
.ch .sub { font-size: 12px; color: var(--muted); margin-top: 1px; }
.ch .tool {
  margin-left: auto; width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center; color: var(--muted);
  transition: background 0.15s, color 0.15s;
}
.ch .tool .ic { width: 16px; height: 16px; }
.ch .tool:hover { background: var(--card-2); color: var(--ink); }
.ch .count {
  margin-left: auto;
  font-size: 12px; font-weight: 700; color: var(--ink-2);
  background: var(--glass-2); border: 1px solid var(--glass-brd);
  border-radius: 999px; padding: 3px 10px;
}

/* ---------- 히어로: 브리핑 + 명령 ---------- */
.hero {
  background:
    radial-gradient(95% 105% at 0% 0%, rgba(231, 128, 82, 0.22), transparent 56%),
    radial-gradient(130% 130% at 100% 0%, rgba(255,255,255,0.42), transparent 50%),
    var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow), var(--glass-hi);
  color: var(--ink);
}
.hero .ch h3 { color: var(--ink); }
.hero-spark {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em;
  color: #fff;
  background: var(--coral);
  border: 1px solid transparent;
  padding: 5px 12px; border-radius: 999px;
  align-self: flex-start;
  box-shadow: 0 5px 14px -5px var(--coral);
}
.hero-spark .ic { width: 14px; height: 14px; }
.hero-spark { white-space: nowrap; }
.hero p.brief {
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin: 16px 0 18px;
  color: var(--ink);
  max-width: 40ch;
}
.hero p.brief b {
  color: var(--ink); font-weight: 700;
  border-bottom: 2px solid color-mix(in oklab, var(--coral) 60%, transparent);
  padding-bottom: 1px;
}
.cmd {
  display: flex; align-items: center; gap: 10px;
  background: var(--glass-2);
  border: 1px solid var(--glass-brd);
  border-radius: 15px;
  padding: 7px 7px 7px 16px;
  margin-top: auto;
}
.cmd .ic.lead { width: 18px; height: 18px; color: var(--ink-2); }
.cmd > svg:first-child { color: var(--ink-2); }
.cmd input {
  flex: 1; min-width: 0; border: none; background: none; outline: none;
  color: var(--ink); font-size: 14.5px;
}
.cmd input::placeholder { color: var(--faint); }
.cmd .send {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--fill); color: var(--on-fill);
  display: grid; place-items: center; flex-shrink: 0;
  transition: filter 0.14s;
}
.cmd .send .ic { width: 18px; height: 18px; }
.cmd .send:hover { filter: brightness(1.05); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 500;
  color: var(--ink-2);
  background: var(--glass-2);
  border: 1px solid var(--glass-brd);
  padding: 7px 12px; border-radius: 999px;
  transition: background 0.14s;
}
.chip .ic { width: 14px; height: 14px; color: var(--muted); }
.chip:hover { background: var(--card-2); }

/* ---------- 오늘 일정 ---------- */
.sched { display: flex; flex-direction: column; }
.ev {
  display: flex; gap: 13px; padding: 13px 0;
  border-top: 1px solid var(--line);
}
.ev:first-of-type { border-top: none; padding-top: 4px; }
.ev-time {
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  color: var(--ink-2); width: 42px; flex-shrink: 0; padding-top: 1px;
}
.ev-body { flex: 1; min-width: 0; position: relative; padding-left: 15px; }
.ev-body::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 3px; border-radius: 3px; background: var(--accent, var(--blue));
}
.ev-title { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.ev-meta { font-size: 12px; color: var(--muted); margin-top: 3px; display: flex; align-items: center; gap: 7px; }
.ev-meta .dur { color: var(--faint); }
.ev .soon {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.02em;
  color: #fff; background: var(--coral);
  padding: 1px 7px; border-radius: 999px; align-self: flex-start; margin-top: 1px;
  flex-shrink: 0;
}
.sched-note {
  margin-top: 12px; display: flex; gap: 9px; align-items: flex-start;
  background: var(--glass-2); border: 1px solid var(--glass-brd); border-radius: var(--radius-sm);
  padding: 11px 13px; font-size: 12.5px; color: var(--ink-2); line-height: 1.4;
}
.sched-note .ic { width: 15px; height: 15px; color: var(--coral); flex-shrink: 0; margin-top: 1px; }

/* ---------- 할 일 ---------- */
.tasks { display: flex; flex-direction: column; gap: 8px; }
.task {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-brd);
  background: var(--glass-2);
  cursor: pointer;
  transition: background 0.14s, border-color 0.14s;
}
.task:hover { background: var(--card-2); }
.task .box {
  width: 21px; height: 21px; border-radius: 7px;
  border: 2px solid var(--line-2);
  display: grid; place-items: center; flex-shrink: 0;
  color: transparent; transition: all 0.14s;
}
.task .box .ic { width: 13px; height: 13px; }
.task.done .box { background: var(--green); border-color: var(--green); color: #fff; }
.task-body { flex: 1; min-width: 0; }
.task-title { font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.task.done .task-title { color: var(--faint); text-decoration: line-through; }
.task-meta { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.task .prio {
  font-size: 10.5px; font-weight: 700; flex-shrink: 0;
  padding: 2px 8px; border-radius: 999px;
}
.prio.high { color: var(--coral); background: color-mix(in oklab, var(--coral) 14%, transparent); }
.prio.mid { color: var(--amber); background: color-mix(in oklab, var(--amber) 16%, transparent); }
.prio.low { color: var(--muted); background: var(--card-2); }

/* 포커스 작업 — 따뜻한 코럴 액센트 (라이트 글래스) */
.task.focus {
  background:
    linear-gradient(90deg, color-mix(in oklab, var(--coral) 13%, transparent), transparent 58%),
    var(--glass);
  border-color: color-mix(in oklab, var(--coral) 38%, var(--glass-brd));
  box-shadow: var(--shadow-sm), inset 3px 0 0 0 var(--coral);
}
.task.focus .task-title { color: var(--ink); font-weight: 700; }
.task.focus .task-meta { color: var(--muted); }
.task.focus .box { border-color: var(--coral); background: color-mix(in oklab, var(--coral) 14%, transparent); }
.task.focus .prio.high { color: var(--coral); background: color-mix(in oklab, var(--coral) 14%, transparent); }
.task.focus .focus-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
  color: #fff; background: var(--coral);
  padding: 1px 7px; border-radius: 999px;
}

/* ---------- 미팅 준비 ---------- */
.mtg-when { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.mtg-people { display: flex; align-items: center; margin-bottom: 14px; }
.mtg-people .av {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: #fff;
  border: 2px solid var(--card); margin-left: -8px;
}
.mtg-people .av:first-child { margin-left: 0; }
.mtg-people .more { font-size: 12px; color: var(--muted); margin-left: 10px; }
.mtg-brief { display: flex; flex-direction: column; gap: 9px; margin-bottom: 16px; }
.mtg-brief li {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 13px; color: var(--ink-2); line-height: 1.4; list-style: none;
}
.mtg-brief li .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ink-2);
  margin-top: 6px; flex-shrink: 0;
}
.mtg-cta {
  margin-top: auto;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px; border-radius: 13px;
  background: var(--fill); color: var(--on-fill);
  font-size: 13.5px; font-weight: 600;
  transition: filter 0.14s;
}
.mtg-cta { white-space: nowrap; }
.mtg-cta:hover { filter: brightness(1.1); }
.mtg-cta .ic { width: 16px; height: 16px; }

/* ---------- 집중도 차트 ---------- */
.focus-stat { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; flex-wrap: nowrap; white-space: nowrap; }
.focus-stat .u { min-width: 0; white-space: nowrap; }
.focus-stat b { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; font-family: var(--font-disp); }
.focus-stat .u { font-size: 13px; color: var(--muted); }
.focus-stat .delta { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--green); display: inline-flex; align-items: center; gap: 3px; }
.focus-stat .delta .ic { width: 13px; height: 13px; }
.chart { margin-top: 10px; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.chart svg { width: 100%; height: 100%; min-height: 120px; display: block; overflow: visible; }
.chart-x { display: flex; justify-content: space-between; margin-top: 8px; }
.chart-x span { font-size: 10.5px; color: var(--faint); font-family: var(--font-mono); }

/* ---------- 목표 ---------- */
.goals { display: flex; flex-direction: column; gap: 15px; }
.goal-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 7px; }
.goal-title { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; flex: 1; min-width: 0; }
.goal-pct { flex-shrink: 0; }
.goal-pct { font-size: 13px; font-weight: 700; font-family: var(--font-mono); }
.goal-bar { height: 7px; border-radius: 999px; background: var(--card-2); overflow: hidden; }
.goal-bar i { display: block; height: 100%; border-radius: 999px; }
.goal-sub { font-size: 11.5px; color: var(--muted); margin-top: 5px; }

/* ---------- 메일 요약 ---------- */
.mails { display: flex; flex-direction: column; }
.mail-row {
  display: flex; gap: 11px; padding: 12px 0;
  border-top: 1px solid var(--line); cursor: pointer;
}
.mail-row:first-of-type { border-top: none; padding-top: 2px; }
.mail-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.mail-body { flex: 1; min-width: 0; }
.mail-from { display: flex; align-items: center; gap: 7px; }
.mail-from { min-width: 0; }
.mail-from b { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1 1 auto; }
.mail-from .t { font-size: 11px; color: var(--faint); white-space: nowrap; flex-shrink: 0; }
.mail-task { flex-shrink: 0; }
.mail-subj { font-size: 13px; color: var(--ink-2); font-weight: 500; margin-top: 2px; line-height: 1.3; }
.mail-sum { font-size: 11.5px; color: var(--muted); margin-top: 2px; line-height: 1.3; }
.mail-task {
  font-size: 10px; font-weight: 700; color: var(--blue); white-space: nowrap;
  background: color-mix(in oklab, var(--blue) 12%, transparent);
  padding: 1px 6px; border-radius: 999px; margin-left: 6px;
}

/* ---------- 건강 ---------- */
.rings { display: flex; justify-content: space-around; gap: 8px; margin-bottom: 14px; }
.ring { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ring .dial {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  position: relative;
}
.ring .dial::before {
  content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--card);
}
.ring .dial .ic { width: 17px; height: 17px; position: relative; z-index: 1; }
.ring .rv { font-size: 13px; font-weight: 700; font-family: var(--font-mono); }
.ring .rl { font-size: 11px; color: var(--muted); }
.health-nudge {
  margin-top: auto;
  display: flex; gap: 9px; align-items: flex-start;
  background: var(--glass-2); border: 1px solid var(--glass-brd); border-radius: var(--radius-sm);
  padding: 11px 13px; font-size: 12.5px; color: var(--ink-2); line-height: 1.4;
}
.health-nudge .ic { width: 15px; height: 15px; color: var(--violet); flex-shrink: 0; margin-top: 1px; }

/* ---------- 지출 ---------- */
.fin-big { display: flex; align-items: baseline; gap: 8px; }
.fin-big b { font-size: 30px; font-weight: 700; font-family: var(--font-disp); letter-spacing: -0.02em; }
.fin-big .u { font-size: 13px; color: var(--muted); white-space: nowrap; }
.fin-big { white-space: nowrap; }
.fin-delta { font-size: 12px; color: var(--green); font-weight: 600; margin-top: 2px; }
.fin-bar { height: 9px; border-radius: 999px; background: var(--card-2); overflow: hidden; margin: 13px 0 6px; }
.fin-bar i { display: block; height: 100%; border-radius: 999px; background: var(--fill); }
.fin-range { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); font-family: var(--font-mono); }
.fin-subs { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.fin-sub { display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.fin-sub .nm { font-weight: 600; }
.fin-sub .dt { color: var(--muted); }
.fin-sub .amt { margin-left: auto; font-family: var(--font-mono); font-weight: 500; color: var(--ink-2); }

/* ---------- 마법의 인박스 (Magic Inbox) ---------- */
.mbox-modes { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 14px; }
.mbox-modes .mode {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  background: var(--glass-2); border: 1px solid var(--glass-brd);
  padding: 7px 12px; border-radius: 999px; transition: background 0.14s, color 0.14s;
}
.mbox-modes .mode .ic { width: 14px; height: 14px; color: var(--muted); }
.mbox-modes .mode:hover { background: var(--card-2); color: var(--ink); }
.mbox-modes .mode-hint { font-size: 11.5px; color: var(--faint); flex: 1; min-width: 120px; text-align: right; }
.mbox-list { display: flex; flex-direction: column; }
.cap {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 13px 0; border-top: 1px solid var(--line);
}
.cap:first-child { border-top: none; padding-top: 2px; }
.cap-k {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--glass-2); border: 1px solid var(--glass-brd); color: var(--ink-2);
}
.cap-k .ic { width: 15px; height: 15px; }
.cap-k.voice { color: var(--violet); }
.cap-k.image { color: var(--blue); }
.cap-k.text { color: var(--ink-2); }
.cap-body { flex: 1; min-width: 0; }
.cap-raw { font-size: 13.5px; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
.cap-route { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.cap-route .r-arrow { color: var(--coral); display: inline-flex; }
.cap-route .r-arrow .ic { width: 14px; height: 14px; }
.r-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; color: var(--ink-2);
  background: var(--glass-2); border: 1px solid var(--glass-brd);
  padding: 3px 9px; border-radius: 999px;
}
.r-chip .ic { width: 12px; height: 12px; color: var(--muted); }
.r-chip .pdot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.r-chip.proj { color: var(--ink); font-weight: 700; }
.cap-time { font-size: 11px; color: var(--faint); white-space: nowrap; flex-shrink: 0; padding-top: 2px; }

/* ---------- 오늘의 집중 (Focus of the Day) ---------- */
.foc-note { font-size: 13px; color: var(--ink-2); line-height: 1.5; margin: 0 0 14px; }
.foc-note b { color: var(--ink); font-weight: 700; }
.foc-track { display: flex; flex-direction: column; gap: 10px; position: relative; }
.foc-block { display: flex; gap: 12px; align-items: stretch; }
.fb-time {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: var(--ink-2); width: 42px; flex-shrink: 0; padding-top: 12px;
}
.fb-card {
  flex: 1; min-width: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-brd);
  background: var(--glass-2);
  padding: 11px 13px;
  position: relative;
}
.foc-block.deep .fb-card {
  background: linear-gradient(100deg, color-mix(in oklab, var(--coral) 14%, transparent), transparent 70%), var(--glass);
  border-color: color-mix(in oklab, var(--coral) 34%, var(--glass-brd));
  box-shadow: inset 3px 0 0 0 var(--coral);
}
.fb-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.fb-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.02em;
  padding: 2px 8px; border-radius: 999px;
  color: var(--ink-2); background: var(--card-2);
}
.fb-tag.deep { color: #fff; background: var(--coral); }
.fb-len { font-size: 11px; color: var(--faint); font-family: var(--font-mono); margin-left: auto; }
.fb-title { font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.foc-block.deep .fb-title { font-weight: 700; }
.fb-gap { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); margin-top: 5px; }
.fb-gap .ic { width: 12px; height: 12px; }

/* ---------- 미팅 액션 아이템 ---------- */
.mtg-actions {
  margin-bottom: 14px; padding: 12px 13px;
  background: var(--glass-2); border: 1px solid var(--glass-brd); border-radius: var(--radius-sm);
}
.ma-head { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 10px; }
.ma-head .ic { width: 13px; height: 13px; color: var(--coral); }
.ma-row { display: flex; align-items: center; gap: 9px; padding: 6px 0; }
.ma-check {
  width: 17px; height: 17px; border-radius: 6px; flex-shrink: 0;
  border: 2px solid var(--line-2); display: grid; place-items: center; color: transparent;
}
.ma-check .ic { width: 11px; height: 11px; }
.ma-text { font-size: 12.5px; font-weight: 500; line-height: 1.3; flex: 1; min-width: 0; }
.ma-meta { font-size: 10.5px; color: var(--muted); white-space: nowrap; flex-shrink: 0; }

/* ---------- 위임 현황 (Delegation) ---------- */
.dg-suggest {
  display: flex; gap: 10px; align-items: flex-start;
  background: linear-gradient(100deg, color-mix(in oklab, var(--blue) 12%, transparent), transparent 70%), var(--glass-2);
  border: 1px solid color-mix(in oklab, var(--blue) 26%, var(--glass-brd));
  border-radius: var(--radius-sm); padding: 12px 13px; margin-bottom: 14px;
}
.dg-s-ic { width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center; background: var(--blue); color: #fff; }
.dg-s-ic .ic { width: 14px; height: 14px; }
.dg-suggest p { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; margin: 2px 0 0; }
.dg-suggest p b { color: var(--ink); font-weight: 700; }
.dg-list { display: flex; flex-direction: column; gap: 9px; }
.dg-row {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px;
  border-radius: var(--radius-sm); border: 1px solid var(--glass-brd); background: var(--glass-2);
}
.dg-row.review { border-color: color-mix(in oklab, var(--green) 36%, var(--glass-brd)); background: linear-gradient(100deg, color-mix(in oklab, var(--green) 10%, transparent), transparent 70%), var(--glass-2); }
.dg-av { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; }
.dg-body { flex: 1; min-width: 0; }
.dg-task { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.dg-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }
.dg-state {
  font-size: 10.5px; font-weight: 700; flex-shrink: 0;
  padding: 3px 9px; border-radius: 999px; color: var(--ink-2); background: var(--card-2);
}
.dg-state.review { color: #fff; background: var(--green); }

/* ---------- 이어서 하기 + 환경 우선순위 ---------- */
.rs-card {
  border-radius: var(--radius-sm); border: 1px solid var(--glass-brd); background: var(--glass-2);
  padding: 14px; margin-bottom: 12px;
}
.rs-top { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.rs-proj { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-ago { font-size: 10.5px; color: var(--faint); flex-shrink: 0; white-space: nowrap; }
.rs-ctx { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; margin: 0 0 10px; }
.rs-next {
  font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.35;
  display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px;
}
.rs-next-lb {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.05em; color: var(--muted);
  background: var(--card-2); padding: 2px 7px; border-radius: 999px; flex-shrink: 0;
}
.rs-cta {
  display: inline-flex; align-items: center; gap: 7px; width: 100%; justify-content: center;
  padding: 10px; border-radius: 11px; background: var(--fill); color: var(--on-fill);
  font-size: 12.5px; font-weight: 600; transition: filter 0.14s;
}
.rs-cta .ic { width: 14px; height: 14px; }
.rs-cta:hover { filter: brightness(1.1); }
.env-nudge {
  display: flex; align-items: center; gap: 11px; padding: 12px 13px;
  border-radius: var(--radius-sm);
  background: linear-gradient(100deg, color-mix(in oklab, var(--coral) 13%, transparent), transparent 70%), var(--glass-2);
  border: 1px solid color-mix(in oklab, var(--coral) 30%, var(--glass-brd));
}
.env-nudge .en-ic { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; display: grid; place-items: center; background: color-mix(in oklab, var(--coral) 16%, transparent); color: var(--coral); }
.env-nudge .en-ic .ic { width: 16px; height: 16px; }
.en-body { flex: 1; min-width: 0; }
.en-task { font-size: 12.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.en-reason { font-size: 11px; color: var(--muted); margin-top: 2px; line-height: 1.3; }
.en-flag {
  display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0;
  font-size: 10px; font-weight: 700; color: #fff; background: var(--coral);
  padding: 3px 8px; border-radius: 999px;
}
.en-flag .ic { width: 11px; height: 11px; }

.entered .card { animation: cardin 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes cardin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ====================== 반응형 ====================== */
@media (max-width: 1200px) {
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card.sp2 { grid-column: span 2; }
  .card.r2 { grid-row: span 1; }
}
@media (max-width: 720px) {
  .dash { padding: 0 14px 30px; }
  .topbar { margin: 0 -14px; padding: 0 16px; gap: 14px; }
  .mainnav { display: none; }
  .board { grid-template-columns: 1fr; }
  .card.sp2 { grid-column: span 1; }
  .work { gap: 10px; }
  .rail { flex-direction: row; position: static; overflow-x: auto; width: 100%; }
  .ph-search { width: 150px; }
}
