:root {
  --bg: #f8faf9;
  --card: #fff;
  --ink: #1c2420;
  --muted: #5e6b64;
  --line: #e3ebe6;
  --brand: #1b6b4a;
  --on-brand: #fff;
  --soft: #e7f3ec;
  --expense: #d64545;
  --income: #2f6fde;
  --shadow: 0 8px 28px rgba(27, 50, 40, 0.06);
  color-scheme: light;
}
/* 어두운 색. theme.js 가 html[data-theme] 를 붙인다(DD-45: 시스템 따라 · 밝게 · 어둡게). */
:root[data-theme="dark"] {
  --bg: #111413;
  --card: #1c201e;
  --ink: #e8eeea;
  --muted: #a3b0a8;
  --line: #2c3330;
  --brand: #7fd3a8;
  --on-brand: #00391f;
  --soft: #163528;
  --expense: #ff8a80;
  --income: #8ab4f8;
  --shadow: none;
  color-scheme: dark;
}
/* 고른 칸의 배경. 기능 색(--brand)을 섞으므로 html[data-module] 에서도 따라간다. 섞기를 못 하는 브라우저는 --soft. */
:root { --picked: var(--soft); }
@supports (background: color-mix(in srgb, red 50%, blue)) {
  :root { --picked: color-mix(in srgb, var(--brand) 22%, var(--card)); }
}
* { box-sizing: border-box; }
/* hidden 속성이 display 지정에 지지 않게 한다. */
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body {
  font-family: "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background: var(--bg);
  color: var(--ink);
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
#app { min-height: 100%; }

.wrap { max-width: 720px; margin: 0 auto; padding: 16px 16px calc(132px + env(safe-area-inset-bottom)); }
.center { min-height: var(--vv-height, 100%); display: grid; place-items: center; padding: 24px 16px; }
.card {
  width: min(420px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px 22px;
}
h1 { font-size: 28px; margin: 8px 0 4px; }
.muted { color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 10px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 12px;
  padding: 12px 14px;
  /* 16px 보다 작으면 휴대폰이 칸을 누를 때 화면을 확대해서 키패드가 밀린다. */
  font-size: 16px;
}
textarea { min-height: 72px; resize: vertical; }
.primary, .ghost, .seg button, .chip, .nav button {
  border: 0;
  border-radius: 12px;
}
.primary {
  background: var(--brand);
  color: var(--on-brand);
  padding: 14px 16px;
  font-weight: 650;
}
.primary:disabled { opacity: 0.45; cursor: default; }
.ghost { background: transparent; color: var(--muted); padding: 8px; }
.seg { display: flex; gap: 6px; background: var(--soft); padding: 4px; border-radius: 14px; }
.seg button { flex: 1; background: transparent; padding: 10px; }
.seg button.on { background: var(--card); font-weight: 650; }
.hint { font-size: 13px; color: var(--muted); margin: 0; }
.version-line { text-align: center; margin-top: 12px; }
.error { color: var(--expense); font-size: 14px; margin: 0; }
.top {
  display: flex; align-items: center; gap: 10px;
  max-width: 720px; margin: 0 auto; padding: calc(12px + env(safe-area-inset-top)) 16px 0;
}
.top h1 { font-size: 18px; margin: 0; line-height: 1.2; }
.top .muted { font-size: 13px; }
.logo { display: block; border-radius: 22%; flex: none; }
.card > .logo { margin-bottom: 4px; }
.offline { font-size: 12px; background: var(--soft); color: var(--muted); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.top .spacer { flex: 1; }
.month { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 12px; }
.month strong { font-size: 18px; }
.sums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.sum { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.sum span { display: block; color: var(--muted); font-size: 12px; }
.sum b { display: block; font-size: clamp(12px, 3.4vw, 15px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.expense { color: var(--expense); }
.income { color: var(--income); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; }
.chip { background: var(--card); border: 1px solid var(--line); padding: 8px 12px; white-space: nowrap; }
.chip.on { background: var(--picked); border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); color: var(--brand); font-weight: 700; }
.chip:disabled { cursor: default; }
.day { margin: 16px 0 6px; display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; }
.row, .asset {
  display: flex; gap: 12px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px; margin-bottom: 8px; width: 100%; text-align: left;
}
.emoji { font-size: 22px; width: 36px; text-align: center; }
.grow { flex: 1; min-width: 0; }
.title { font-weight: 650; }
.sub { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.amount { font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1;
  display: grid; grid-template-columns: repeat(4, minmax(0, 120px)); justify-content: center; gap: 4px;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
}
.nav button {
  background: transparent; padding: 6px 4px; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px;
}
.nav .tab-icon { display: grid; place-items: center; width: 52px; height: 30px; border-radius: 999px; }
.nav button.on { color: var(--ink); font-weight: 700; }
.nav button.on .tab-icon { background: var(--soft); color: var(--brand); }
.fab {
  position: fixed; right: max(16px, calc(50% - 344px)); bottom: calc(84px + env(safe-area-inset-bottom));
  border: 0; border-radius: 999px; background: var(--brand); color: var(--on-brand);
  padding: 14px 18px; font-weight: 700; box-shadow: var(--shadow);
}
.notice {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(146px + env(safe-area-inset-bottom)); z-index: 4;
  display: flex; gap: 8px; align-items: center;
  background: var(--ink); color: var(--bg); border-radius: 999px;
  padding: 8px 8px 8px 16px; box-shadow: var(--shadow);
  /* left: 50% 라 폭을 정하지 않으면 화면 절반에서 줄이 꺾인다. 글 길이에 맞추고, 화면보다 길 때만 꺾는다. */
  width: max-content; max-width: calc(100vw - 32px); box-sizing: border-box;
}
.notice span { padding: 6px 8px 6px 0; }
.notice button { border: 0; background: transparent; color: inherit; font-weight: 700; padding: 6px 10px; }
.sheet {
  position: fixed; inset: 0; background: var(--bg); z-index: 2; overflow: auto;
}
.sheet .wrap { padding-top: 12px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 560px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
}
.pick {
  border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 8px 4px;
}
.pick.on { border-color: var(--brand); background: var(--picked); box-shadow: inset 0 0 0 1px var(--brand); }
.pick:disabled { cursor: default; color: var(--muted); }
.pick.on:disabled { color: var(--ink); }
.bar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--brand); }
.empty { text-align: center; padding: 32px 8px; }
.group { margin-top: 18px; }
.check { flex-direction: row; align-items: center; gap: 8px; color: var(--ink); }
.check input { width: auto; }

/* 설정·자산 편집(manage.js) */
.spacer { flex: 1; }
.bar-row { display: flex; align-items: center; gap: 8px; }
.line { padding: 6px 0; border-top: 1px solid var(--line); }
.card.wide { width: 100%; padding: 18px 16px; }
.big { font-size: 22px; }
.code { font-size: 26px; letter-spacing: 2px; }
.outline {
  border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 12px 14px; font-weight: 600;
}
.row.static { cursor: default; }
.row .plain { border: 0; background: transparent; text-align: left; padding: 0; font: inherit; color: inherit; }
.row.dim { opacity: 0.55; }
.row.unsorted { border-color: var(--brand); background: var(--picked); }
/* 끌어서 순서 바꾸기(manage.js sortable). 손잡이에서는 화면이 넘어가지 않게 한다. */
.handle { touch-action: none; cursor: grab; font-size: 20px; line-height: 1; padding: 8px 6px; margin: -8px 0 -8px -6px; user-select: none; }
.row.static { transition: transform 0.15s; }
.row.dragging { position: relative; z-index: 1; box-shadow: var(--shadow); border-color: var(--brand); transition: none; }
.row.dragging .handle { cursor: grabbing; }
.wrap-chips { flex-wrap: wrap; overflow: visible; }
.danger { color: var(--expense); }
h2 { font-size: 15px; color: var(--muted); margin: 18px 0 2px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-title { font-size: 14px; color: var(--muted); }
.stack > .ghost:first-child { align-self: flex-start; }
/* 입력 창 (manage.js formDialog) */
.modal {
  position: fixed; inset: 0; z-index: 5; display: grid; place-items: center; padding: 16px;
  background: rgba(0, 0, 0, 0.45);
}
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; }
/* 키보드·주소창이 먹는 높이만큼 입력 화면과 확인 창을 보이는 영역에 붙인다. inset 보다 뒤에 둔다. */
.sheet, .modal {
  top: var(--vv-top, 0px);
  height: var(--vv-height, 100dvh);
  bottom: auto;
}
.dialog { width: min(420px, 100%); max-height: calc(100% - 32px); overflow: auto; }
.dialog-title { color: var(--ink); font-size: 18px; margin: 0 0 4px; }
.picks { display: flex; flex-wrap: wrap; gap: 6px; }
.pick-emoji { border: 1px solid var(--line); background: var(--card); border-radius: 10px; width: 40px; height: 40px; font-size: 20px; padding: 0; }

/* 입력 화면: 금액·키패드·분류(앱과 같은 흐름) */
.sheet.editor { overflow: hidden; }
.editor-frame { max-width: 720px; height: 100%; min-height: 0; margin: 0 auto; display: flex; flex-direction: column; }
.editor-top {
  display: grid; grid-template-columns: 64px 1fr 64px; align-items: center;
  padding: calc(6px + env(safe-area-inset-top)) 8px 2px;
}
.editor-top strong { text-align: center; font-size: 17px; }
.editor-top .danger { justify-self: end; }
.editor-body { flex: 1; overflow: auto; padding: 4px 16px 16px; display: flex; flex-direction: column; gap: 14px; }
.amount-display {
  border: 0; border-bottom: 2px solid var(--line); background: transparent; color: var(--ink);
  text-align: right; font-size: clamp(30px, 9vw, 42px); font-weight: 800; padding: 6px 4px 8px;
  font-variant-numeric: tabular-nums;
}
.amount-display.zero { color: var(--muted); }
.amount-display.focus { border-bottom-color: var(--brand); }
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 560px) { .cat-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.cat {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0;
  padding: 10px 4px; border: 1px solid var(--line); background: var(--card); border-radius: 14px;
}
/* 고른 분류: 브랜드 색을 섞은 배경, 두 겹 테두리, 이름 색, 오른쪽 위 ✓. 라이트·다크·기능 색 어디서나 구분된다. */
.cat.on { background: var(--picked); border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.cat.on .cat-name { color: var(--brand); font-weight: 700; }
.cat.on::after {
  content: "✓"; position: absolute; top: 4px; right: 4px; width: 16px; height: 16px; border-radius: 999px;
  display: grid; place-items: center; font-size: 11px; font-weight: 800; line-height: 1;
  background: var(--brand); color: var(--on-brand);
}
.cat:disabled { cursor: default; }
.cat-emoji { font-size: 24px; line-height: 1; }
.cat-name { font-size: 12px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swap { align-self: center; }
.editor-foot {
  display: flex; flex-direction: column; gap: 8px; background: var(--bg);
  border-top: 1px solid var(--line); padding: 8px 12px calc(10px + env(safe-area-inset-bottom));
}
.date-field { position: relative; }
.date-button {
  width: 100%; text-align: left; border: 0; background: transparent; color: var(--ink);
  font-size: 17px; font-weight: 650; padding: 4px 0 8px;
}
.date-native {
  position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none;
}
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.key {
  height: clamp(48px, 8dvh, 58px); border: 0; border-radius: 14px; background: var(--card); color: var(--ink);
  font-size: 22px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line);
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none;
}
.key:active { background: var(--soft); }
.key.back { color: var(--muted); }
.save { width: 100%; min-height: 52px; }

/* 스위치 */
.switch-row { flex-direction: row; align-items: center; gap: 12px; color: var(--ink); font-size: 15px; }
input.switch {
  appearance: none; -webkit-appearance: none; flex: none; position: relative; cursor: pointer;
  width: 48px; height: 28px; padding: 0; border: 0; border-radius: 999px; background: var(--line);
  transition: background 0.15s;
}
input.switch::before {
  content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.15s;
}
input.switch:checked { background: var(--brand); }
input.switch:checked::before { transform: translateX(20px); }
input.switch:disabled { opacity: 0.55; cursor: default; }

.big-amount { font-size: 30px; margin: 4px 0; }

/* 통계. 분류 색은 항목마다 두고, 지출·수입 색은 위 버튼에 둔다. */
.stats { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.stats .seg { min-width: 0; }
.stats .seg button { min-width: 0; white-space: normal; line-height: 1.25; }
.stats .month { margin: 0; }
.stats h2 { margin: 0; }
.stat-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stat-head .seg { flex: none; }
.stat-head .seg button { flex: none; padding: 6px 12px; }
.share { gap: 12px; }
.share-line { display: flex; align-items: center; gap: 8px; }
.share-line .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.share-line .amt { color: var(--muted); font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.swatch { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.member-stat {
  display: flex; flex-direction: column; gap: 6px; width: 100%; text-align: left;
  border: 0; background: transparent; padding: 0; color: inherit; cursor: pointer;
}
.donut-wrap { position: relative; width: 196px; height: 196px; margin: 4px auto; }
.donut { display: block; width: 100%; height: 100%; }
.donut-total {
  position: absolute; inset: 54px; display: grid; place-items: center; text-align: center;
  font-weight: 800; font-size: 14px; line-height: 1.25; font-variant-numeric: tabular-nums;
}
.year-strip {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2px;
}
.year-col {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  border: 0; background: transparent; padding: 0; min-width: 0; overflow: hidden; color: var(--muted);
}
.year-col .amt {
  font-size: 9px; line-height: 1.1; height: 1.1em; max-width: 100%;
  overflow: hidden; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.year-col .stem { width: 70%; height: 52px; display: flex; align-items: flex-end; }
.year-col .stem span { display: block; width: 100%; border-radius: 3px 3px 0 0; background: var(--expense); }
.year-strip.income .stem span { background: var(--income); }
.year-col small { font-size: 10px; }
.year-col.on small { color: var(--ink); font-weight: 700; }
.range-nav { display: flex; align-items: center; justify-content: center; gap: 8px; }
.range-point { flex: 1; min-width: 0; }
.range-point .date-button { text-align: center; font-size: 15px; padding: 4px 0; }
.seg button.on { box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
[data-theme="dark"] .seg button.on { background: #2b3a33; color: var(--ink); }

/* 기능 넷(DD-30). 기능마다 대표 색. 가계부는 기본 초록 그대로. */
html[data-module="calendar"] { --brand: #2f6fde; --soft: #e5edfc; --on-brand: #fff; }
html[data-module="todo"] { --brand: #c9671c; --soft: #fbeedd; --on-brand: #fff; }
html[data-module="memo"] { --brand: #9a7400; --soft: #f7efcf; --on-brand: #fff; }
html[data-theme="dark"][data-module="calendar"] { --brand: #8ab4f8; --soft: #17284a; --on-brand: #0b1d3f; }
html[data-theme="dark"][data-module="todo"] { --brand: #f2a65a; --soft: #3a2614; --on-brand: #3a1d00; }
html[data-theme="dark"][data-module="memo"] { --brand: #e6c35a; --soft: #332a0e; --on-brand: #2b2100; }
.switch {
  display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 14px;
  padding: 6px 12px 6px 6px; background: var(--soft); color: var(--brand); font-weight: 800; font-size: 18px;
}
button.switch { cursor: pointer; }
.switch.static { background: transparent; padding-left: 0; color: var(--ink); }
.switch-mark {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  background: var(--brand); color: var(--on-brand); font-size: 16px;
}
.switch-caret { font-size: 14px; }
.family-name { font-size: 13px; }
.switcher { position: fixed; inset: 0; z-index: 5; background: rgba(0, 0, 0, .42); display: flex; align-items: flex-end; justify-content: center; }
.switcher-sheet {
  width: 100%; max-width: 720px; background: var(--card); border-radius: 22px 22px 0 0;
  padding: 16px 16px calc(20px + env(safe-area-inset-bottom)); display: grid; gap: 12px;
}
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile {
  border: 2px solid transparent; border-radius: 18px; padding: 16px 14px; text-align: left; cursor: pointer;
  display: grid; gap: 4px; color: #fff; min-height: 88px; align-content: start;
}
.tile-title { font-weight: 800; font-size: 17px; }
.tile-sub { font-size: 13px; opacity: .92; }
.tile.on { border-color: var(--ink); }
.tile-ledger { background: #1b6b4a; }
.tile-calendar { background: #2f6fde; }
.tile-todo { background: #c9671c; }
.tile-memo { background: #9a7400; }
.tiles.choose .tile.off { background: var(--card); color: var(--muted); border-color: var(--line); }
.feature-row { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 8px; }
.feature-name { font-weight: 650; }
.member-open { text-align: left; background: transparent; border: 0; padding: 4px 0; cursor: pointer; }

/* 할일·메모·일정 (board.js) */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.day.overdue { color: var(--expense); }
.todo-row {
  display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 10px 12px;
}
.todo-row.late { border-color: color-mix(in srgb, var(--expense) 45%, var(--line)); }
.todo-check {
  flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--brand); background: transparent;
  color: var(--on-brand); font-weight: 800; display: grid; place-items: center; cursor: pointer; padding: 0;
}
.todo-check.on { background: var(--brand); }
.todo-body { flex: 1; min-width: 0; text-align: left; background: transparent; border: 0; padding: 2px 0; cursor: pointer; }
.todo-row.done .title { text-decoration: line-through; color: var(--muted); }
.todo-row .title, .memo-card .title, .event-row .title { font-weight: 650; overflow-wrap: anywhere; }
.todo-row .sub, .memo-card .sub, .event-row .sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.memo-card, .event-row {
  display: block; width: 100%; text-align: left; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 14px; cursor: pointer;
}
.memo-preview { color: var(--muted); font-size: 14px; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.memo-compare { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.memo-compare.mine { border-color: var(--brand); }
.memo-compare pre { white-space: pre-wrap; font: inherit; margin: 6px 0 0; max-height: 30vh; overflow: auto; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-head { font-size: 12px; color: var(--muted); padding: 4px 0; }
.cal-head.weekend, .cal-day.weekend { color: var(--expense); }
.cal-day {
  border: 1px solid transparent; background: var(--card); border-radius: 10px; padding: 6px 0 2px; cursor: pointer;
  display: grid; gap: 0; min-height: 46px; font-size: 14px; color: var(--ink);
}
.cal-day.today { border-color: var(--brand); font-weight: 800; }
.cal-day.on { background: var(--soft); border-color: var(--brand); }
.cal-dots { color: var(--brand); font-size: 14px; line-height: 1; letter-spacing: 1px; min-height: 14px; }

/* 구글 로그인 버튼(DD-28) */
.google-button {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--card);
  font-weight: 700; cursor: pointer; color: var(--ink);
}
.g-mark {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; color: #4285f4; font-weight: 900; border: 1px solid #dadce0;
}

/* 설정 줄: 왼쪽 이름은 한 줄로 지키고, 오른쪽 설명이 길면 오른쪽이 줄을 바꾼다(좁은 휴대폰에서 이름이 세로로 깨지던 것). */
/* 이름 뒤에 설명(.muted)이 오는 설정 줄에만 건다. 가계부 내역 줄까지 걸리면 자산 이름이 길 때 금액이 틀 밖으로 밀렸다. */
.row > .grow:has(+ .muted) { flex: 1 0 auto; max-width: 62%; overflow-wrap: normal; word-break: keep-all; }
.row > .muted { flex: 0 1 auto; min-width: 0; margin-left: auto; text-align: right; word-break: keep-all; overflow-wrap: anywhere; }

/* 일정 색 점(DD-33 ⑪) */
.cal-dots { display: flex; gap: 3px; justify-content: center; align-items: center; min-height: 10px; }
.cal-dot { display: block; width: 6px; height: 6px; border-radius: 50%; }
/* 입력 창은 세로 flex 라 내용이 길면 칩 줄이 눌려 잘렸다. 줄어들지 않게 한다. */
.memo-chips { margin-top: -6px; flex-shrink: 0; }
.share-line .go { color: var(--muted); font-size: 18px; line-height: 1; }
/* 설정의 구글 시트 열기 줄(DD-35) */
a.row { color: inherit; text-decoration: none; box-sizing: border-box; }
