* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font: var(--text-body);
  letter-spacing: var(--tracking-body);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
h1, h2, h3 { margin: 0; line-height: 1.32; text-wrap: balance; letter-spacing: var(--tracking-title); }
p { margin: 0; text-wrap: pretty; }
h1 { font: var(--text-title); }
h2 { font: var(--text-section); }
h3 { font: var(--text-label); }
a { color: var(--charcoal); }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 2px; border-radius: 7px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#live { position: fixed; top: 0; left: 0; }

.app { max-width: 480px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; padding: 0 20px calc(108px + env(safe-area-inset-bottom)); }
.app.notabs { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }

/* 상단 */
.topbar { display: flex; align-items: center; gap: 8px; min-height: 60px; padding-top: env(safe-area-inset-top); }
.topbar .title { flex: 1; min-width: 0; font-weight: 500; font-size: var(--type-size); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar .title + * { min-width: var(--tap); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 550; font-size: var(--type-size); letter-spacing: -.012em; color: var(--ink); text-decoration: none; }
.brand-dot { width: 26px; height: 26px; border-radius: 8px; flex: none; position: relative; background: var(--accent); }
.brand-dot::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }

/* 간격 */
.stack > * + * { margin-top: 12px; }
.stack-lg > * + * { margin-top: 24px; }
.row { display: flex; align-items: center; gap: 8px; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.muted { color: var(--sub); }
.small { font-size: var(--type-size); }
.tiny { font-size: var(--type-size); color: var(--sub); }
.center { text-align: center; }
.tiny, .chip, .code, .num { font-variant-numeric: tabular-nums; }

/* 카드 — 테두리 없이 흰 면과 아주 옅은 그림자만 */
.card { background: var(--card); border-radius: 11px; padding: 20px; box-shadow: var(--shadow); }
.card.tight { padding: 16px 18px; border-radius: 10px; }
.card.accent { background: var(--card); }
.list { background: var(--card); border-radius: 11px; overflow: hidden; box-shadow: var(--shadow); }
.list > * + * { border-top: 1px solid var(--line); }
.list-item { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 16px 20px; background: none; border: 0; text-align: left; cursor: pointer; text-decoration: none; color: inherit; }
.list-item:active { background: var(--mist); }
.list-item b { font-weight: 500; font-size: var(--type-size); }
.chev { color: var(--silver); flex: none; font-size: 20px; line-height: 1; }

/* 섹션 머리: 제목 ··· 전체보기 > */
.sec { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.sec h3 { font-size: var(--type-size); }
.sec .count { color: var(--faint); font-size: var(--type-size); font-weight: 450; }
.sec .more { margin-left: auto; color: var(--sub); font-size: var(--type-size); text-decoration: none; }

/* 홈 인사말 */
.greet h1 { font-size: var(--type-size); line-height: 1.4; }
.greet .sub { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: var(--type-size); font-weight: 450; color: var(--charcoal); }

/* 홈 타일 (2열) */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { position: relative; display: flex; flex-direction: column; min-height: 104px; padding: 18px; background: var(--card); border-radius: 11px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); overflow: hidden; }
.tile.big { grid-row: span 2; min-height: 218px; }
.tile .tk { font-size: var(--type-size); color: var(--sub); }
.tile .tt { font-size: var(--type-size); font-weight: 500; line-height: 1.35; margin-top: 2px; }
.tile .tn { font-size: var(--type-size); color: var(--sub); margin-top: 6px; }
.tile .tn b { color: var(--ink); font-size: var(--type-size); }
.tile .ti { position: absolute; right: 14px; bottom: 14px; width: 52px; height: 52px; }
.tile.big .ti { width: 76px; height: 76px; right: 16px; bottom: 16px; }
.tile .badge { align-self: flex-start; margin-top: 8px; }

/* 대표 카드 — 가장 가까운 약속 */
.featured { display: block; text-decoration: none; color: var(--ink); background: var(--card); border-radius: 12px; padding: 22px 20px 20px; box-shadow: var(--shadow); }
.featured .ftag { display: inline-flex; align-items: center; gap: 6px; color: var(--charcoal); font-size: var(--type-size); font-weight: 500; }
.featured .ftag i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.featured h2 { font-size: var(--type-size); margin: 8px 0 4px; }
.featured .fmeta { color: var(--sub); font-size: var(--type-size); }
.featured .fgo { display: flex; align-items: center; justify-content: center; margin-top: 18px; min-height: 50px; border-radius: 8px; background: var(--soft); font-weight: 500; font-size: var(--type-size); color: var(--ink); }

/* 빈 상태 카드 (+ 아이콘) */
.empty { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--card); border-radius: 11px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.empty .plus { width: 40px; height: 40px; border-radius: 50%; background:var(--action); color:var(--white); display: grid; place-items: center; font-size: 24px; font-weight: 400; flex: none; line-height: 1; }
.empty b { display: block; font-size: var(--type-size); }
.empty span { display: block; font-size: var(--type-size); color: var(--sub); margin-top: 2px; }

/* 소개 카드 (가운데 정렬 + 큰 버튼) */
.promo { background: var(--card); border-radius: 13px; padding: 28px 22px 22px; box-shadow: var(--shadow); text-align: center; }
.promo .pill { display: inline-block; background:var(--action); color:var(--white); border-radius: 8px; padding: 3px 12px; font-size: var(--type-size); font-weight: 550; letter-spacing: .02em; }
.promo h2 { font-size: var(--type-size); line-height: 1.4; margin-top: 12px; }
.promo p { color: var(--sub); font-size: var(--type-size); margin-top: 6px; }
.promo .art { margin: 22px auto 22px; width: 220px; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px; padding: 13px 18px; border-radius: 9px; border: 0; background: var(--soft); font-weight: 500; font-size: var(--type-size); cursor: pointer; text-decoration: none; color: var(--ink); transition: transform .12s, background .12s; }
.btn:active { transform: scale(.98); }
.btn.primary { background:var(--action); color:var(--white); }
.btn.primary:active { background: var(--accent-soft); color: var(--ink); }
.btn.danger { background: var(--red-bg); color: var(--red); }
.btn.ghost { background: transparent; color: var(--sub); min-height: 44px; }
.btn.block { display: flex; width: 100%; }
.btn.pill { border-radius: 8px; }
.btn[disabled] { background: var(--line); color: var(--silver); cursor: not-allowed; }
.btn.small { min-height: 38px; padding: 8px 14px; font-size: var(--type-size); border-radius: 7px; }
.iconbtn { width: var(--tap); height: var(--tap); border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; flex: none; color: var(--ink); text-decoration: none; font-size: 26px; line-height: 1; }

/* 칩 */
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 8px; font-size: var(--type-size); font-weight: 500; background: var(--soft); color: var(--sub); white-space: nowrap; }
.chip.green { background: var(--tint); color: var(--charcoal); }
.chip.amber { background: var(--amber-bg); color: var(--amber); }
.chip.red { background: var(--red-bg); color: var(--red); }

/* 회색 알약 탭 */
.filters, .steps { display: flex; gap: 4px; background: var(--mist); border-radius: 8px; padding: 4px; }
.filters a, .steps a { flex: 1 0 auto; text-align: center; min-height: 40px; display: grid; place-items: center; padding: 0 10px; border-radius: 6px; font-size: var(--type-size); font-weight: 500; color: var(--sub); text-decoration: none; }
.filters a[aria-current=page], .steps a[aria-current=page] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(33, 33, 33, .08); }
.steps { overflow-x: auto; scrollbar-width: none; }

/* 알림 띠 */
.banner { border-radius: 9px; padding: 14px 16px; font-size: var(--type-size); display: flex; gap: 10px; align-items: center; }
.banner b { display: block; }
.banner.info { background: var(--tint); color: var(--accent-ink); }
.banner.warn { background: var(--amber-bg); color: var(--amber); }
.banner.error { background: var(--red-bg); color: var(--red); }
.banner .grow > * + * { margin-top: 2px; }

/* 입력 */
label.field { display: block; }
label.field > span.lab, .lab { display: block; font-weight: 450; font-size: var(--type-size); color: var(--sub); margin-bottom: 8px; }
.hint { display: block; font-size: var(--type-size); color: var(--faint); margin-top: 6px; }
.hint:empty { display: none; }
.err { display: block; font-size: var(--type-size); color: var(--red); margin-top: 6px; font-weight: 450; }
input[type=text], input[type=url], input[type=datetime-local], input:not([type]), select, textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 8px; border: 0; background: var(--soft); font-size: var(--type-size); transition: box-shadow .12s, background .12s;
}
input:focus, select:focus, textarea:focus { outline: none; background: #fff; box-shadow: 0 0 0 2px var(--accent) inset; }
input::placeholder, textarea::placeholder { color: var(--silver); }
textarea { resize: vertical; min-height: 88px; }
input[aria-invalid=true], textarea[aria-invalid=true] { box-shadow: 0 0 0 2px var(--red) inset; background: #fff; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; font-weight: 500; font-size: var(--type-size); margin-bottom: 8px; }

/* 세그먼트 */
.seg { display: flex; gap: 4px; background: var(--soft); border-radius: 8px; padding: 4px; }
.seg label { flex: 1; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 42px; border-radius: 6px; font-weight: 500; font-size: var(--type-size); padding: 4px 6px; text-align: center; color: var(--faint); }
.seg input:checked + span { background: #fff; color: var(--charcoal); box-shadow: 0 1px 4px rgba(33, 33, 33, .1); }
.seg .is-maybe input:checked + span { color: var(--amber); }
.seg .is-no input:checked + span { color: var(--red); }
.seg input:focus-visible + span { outline: 3px solid var(--accent-ink); outline-offset: 2px; }

/* 선택 카드 */
.check { display: flex; align-items: flex-start; gap: 12px; min-height: var(--tap); padding: 16px 18px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset; cursor: pointer; transition: box-shadow .12s, background .12s; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--charcoal); flex: none; }
.check.on { background: var(--tint); box-shadow: 0 0 0 2px var(--accent) inset; }

/* 집계 막대 */
.bar { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; display: flex; margin-top: 10px; }
.bar i { display: block; height: 100%; }
.bar .a { background: var(--accent); }
.bar .m { background: var(--accent-soft); }
.bar .u { background: var(--accent-soft); }
.people { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* 하단 탭 */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); display: flex; justify-content: center; padding-bottom: env(safe-area-inset-bottom); z-index: 10; }
.tabbar a { flex: 1; max-width: 200px; min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--silver); text-decoration: none; font-size: var(--type-size); font-weight: 450; }
.tabbar a[aria-current=page] { color: var(--ink); }
.tabbar svg { width: 26px; height: 26px; }
.tabbar a[aria-current=page] svg .fillable { fill: currentColor; }

/* 첫 화면 */
.hero { padding: 12px 0 0; }
.hero h1 { font-size: var(--type-size); line-height: 1.35; font-weight: 550; }
.hero h1 em { font-style: normal; color: var(--charcoal); }

.skeleton { height: 96px; border-radius: 11px; background: linear-gradient(90deg, var(--line), var(--mist), var(--line)); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.toast { position: fixed; left: 50%; bottom: calc(88px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: rgba(48, 48, 59, .96); color: #fff; padding: 12px 18px; border-radius: 8px; font-size: var(--type-size); z-index: 30; max-width: calc(100% - 40px); text-align: center; }
.dialog-back { position: fixed; inset: 0; background: rgba(0, 0, 0, .4); display: flex; align-items: flex-end; justify-content: center; z-index: 40; }
.dialog { background: #fff; width: 100%; max-width: 480px; border-radius: 13px 13px 0 0; padding: 26px 20px calc(20px + env(safe-area-inset-bottom)); max-height: 90vh; overflow-y: auto; }

.code { font-family: var(--mono); font-size: var(--type-size); font-weight: 500; letter-spacing: .04em; background: var(--soft); border-radius: 8px; padding: 14px; text-align: center; user-select: all; word-break: break-all; }
textarea.copy { font-size: var(--type-size); min-height: 170px; }
.offline { position: sticky; top: 0; z-index: 20; background: var(--amber-bg); color: var(--amber); font-size: var(--type-size); font-weight: 500; padding: 8px 12px; text-align: center; margin: 0 -20px; }

/* 확정 카드 (앱 안) */
.ticket { background: var(--card); border-radius: 13px; padding: 24px 22px 22px; box-shadow: var(--shadow); }
.ticket .kv { display: grid; grid-template-columns: 52px 1fr; gap: 14px 10px; margin-top: 18px; }
.ticket .kv dt { color: var(--faint); font-weight: 450; font-size: var(--type-size); }
.ticket .kv dd { margin: 0; font-weight: 450; }
.ticket .kv dd .s { display: block; color: var(--sub); font-weight: 400; font-size: var(--type-size); }

/* =========================================================
   영수증 — 공유하기 안에서만 쓰는 모양
   ========================================================= */
.receipt { position: relative; background: #fff; padding: 26px 22px 20px; margin: 10px 4px; filter: drop-shadow(0 6px 18px rgba(33, 33, 33, .12)); }
.receipt::before, .receipt::after { content: ""; position: absolute; left: 0; right: 0; height: 6px; pointer-events: none; }
.receipt::before { top: -6px; background: radial-gradient(circle at 6px 6px, #fff 5.5px, transparent 6px) 0 0 / 12px 6px repeat-x; }
.receipt::after { bottom: -6px; background: radial-gradient(circle at 6px 0, #fff 5.5px, transparent 6px) 0 0 / 12px 6px repeat-x; }
.rc-head { text-align: center; }
.rc-head .rc-brand { display: inline-flex; align-items: center; gap: 7px; font-weight: 550; font-size: var(--type-size); }
.rc-head .rc-sub { font-family: var(--mono); font-size: var(--type-size); color: var(--faint); letter-spacing: .06em; margin-top: 2px; }
.rc-rule { border: 0; border-top: 1.5px dashed var(--line); margin: 16px 0; }
.rc-rule.double { border-top: 3px double var(--line); }
.rc-line { display: flex; align-items: baseline; gap: 8px; padding: 3px 0; }
.rc-line .k { flex: none; color: var(--sub); font-weight: 450; font-size: var(--type-size); }
.rc-line .dots { flex: 1; min-width: 14px; border-bottom: 2px dotted var(--line); transform: translateY(-5px); }
.rc-line .v { flex: none; max-width: 65%; text-align: right; font-weight: 500; font-size: var(--type-size); }
.rc-item { padding: 6px 0; }
.rc-item .k { display: block; font-size: var(--type-caption); color: var(--sub); }
.rc-item .v { display: block; font-size: var(--type-size); font-weight: 550; line-height: 1.4; margin-top: 2px; }
.rc-item .s { display: block; font-size: var(--type-size); color: var(--sub); }
.rc-total { display: flex; align-items: baseline; justify-content: space-between; font-weight: 550; font-size: var(--type-size); }
.rc-total .v { color: var(--charcoal); }
.barcode { height: 40px; margin: 18px 10px 6px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 17px); opacity: .85; }
.barcode-no { text-align: center; font-family: var(--mono); font-size: var(--type-size); letter-spacing: .3em; color: var(--faint); }
.stamp { position: absolute; right: 18px; top: 56px; border: 2.5px solid var(--accent); color: var(--charcoal); border-radius: 6px; padding: 2px 12px; font-weight: 550; font-size: var(--type-size); letter-spacing: .08em; transform: rotate(-9deg); background: rgba(255, 255, 255, .85); }
.stamp.amber { border-color: var(--accent-soft); color: var(--amber); }
.stamp.red { border-color: var(--red); color: var(--red); }
.receipt-wrap { background: var(--soft); border-radius: 11px; padding: 20px 14px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.iconbtn svg { width: 26px; height: 26px; color: var(--ink); }
.tile-ic { width: 40px; height: 40px; }
.share-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* =========================================================
   섹션 색 구분 · 단계식 만들기 · 달력 · 도구 타일
   ========================================================= */
.tone-blue { --t-bg: var(--mist); --t-fg: var(--charcoal); }
.tone-coral { --t-bg: var(--tint); --t-fg: var(--charcoal); }
.tone-orange { --t-bg: var(--tint); --t-fg: var(--charcoal); }
.tone-purple { --t-bg: var(--mist); --t-fg: var(--charcoal); }
.tone-green { --t-bg: var(--mist); --t-fg: var(--accent-ink); }
.tone-yellow { --t-bg: var(--tint); --t-fg: var(--charcoal); }
.tone-pink { --t-bg: var(--tint); --t-fg: var(--charcoal); }

.sec-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 7px; background: var(--t-bg); font-size: 21px; line-height: 1; flex: none; }
.sec-ic.sm { width: 32px; height: 32px; border-radius: 6px; font-size: var(--type-size); }
.sec-head { display: flex; align-items: center; gap: 12px; }
.sec-head h2 { flex: 1; min-width: 0; font-size: var(--type-size); }
.sec-head .sub { display: block; font-size: var(--type-size); font-weight: 400; color: var(--sub); letter-spacing: -0.01em; }
.section { background: var(--card); border-radius: 12px; padding: 20px; box-shadow: var(--shadow); }
.section > * + * { margin-top: 16px; }

/* 질문형 선택 카드 */
.choices { display: grid; gap: 10px; }
.choice { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 18px; border: 0; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1.5px var(--line) inset; cursor: pointer; color: var(--ink); transition: box-shadow .12s, background .12s; }
.choice b { display: block; font-size: var(--type-size); }
.choice span.d { display: block; font-size: var(--type-size); color: var(--sub); margin-top: 2px; }
.choice .em { font-size: 26px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; background: var(--soft); flex: none; }
.choice[aria-pressed=true] { background: var(--tint); box-shadow: 0 0 0 2px var(--accent) inset; }
.choice[aria-pressed=true] .em { background: var(--tint); }

/* 단계 진행 */
.wiz-top { display: flex; align-items: center; gap: 10px; min-height: 60px; }
.wiz-bar { flex: 1; height: 6px; border-radius: 8px; background: var(--line); overflow: hidden; }
.wiz-bar i { display: block; height: 100%; background: var(--accent); border-radius: 8px; transition: width .2s; }
.wiz-step { font-size: var(--type-size); font-weight: 500; color: var(--faint); }
.wiz-q { font-size: var(--type-size); font-weight: 550; line-height: 1.35; letter-spacing: -.012em; }
.wiz-q small { display: block; font-size: var(--type-size); font-weight: 400; color: var(--sub); margin-top: 6px; letter-spacing: -0.01em; }
.actionbar { position: sticky; bottom: 0; margin: 24px -20px 0; padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, transparent, var(--bg) 26%); display: flex; gap: 8px; z-index: 5; }
.actionbar .btn { flex: 1; }
.actionbar .btn.back { flex: 0 0 auto; padding: 13px 20px; background: #fff; }

/* 달력 */
.cal { user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head b { font-size: var(--type-size); }
.cal-head button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--soft); font-size: 20px; cursor: pointer; color: var(--ink); }
.cal-head button[disabled] { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: var(--type-size); font-weight: 500; color: var(--faint); padding: 4px 0; }
.cal-dow.sun { color: var(--charcoal); }
.cal-dow.sat { color: var(--charcoal); }
.cal-day { aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 50%; background: transparent; font-size: var(--type-size); font-weight: 450; cursor: pointer; color: var(--ink); font-variant-numeric: tabular-nums; display: grid; place-items: center; position: relative; }
.cal-day:hover { background: var(--soft); }
.cal-day[disabled] { color: var(--silver); cursor: default; background: transparent; }
.cal-day.today::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.cal-day[aria-pressed=true] { background:var(--action); color:var(--white); }
.cal-day[aria-pressed=true]::after { background: #fff; }

/* 시간 칩 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { min-height: 42px; padding: 8px 14px; border-radius: 8px; border: 0; background: var(--soft); font-weight: 500; font-size: var(--type-size); color: var(--sub); cursor: pointer; }
.pick[aria-pressed=true] { background: var(--ink); color: #fff; }
.pick.add { background: transparent; box-shadow: 0 0 0 1.5px var(--line) inset; }
input[type=time], input[type=date] { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 8px; border: 0; background: var(--soft); font-size: var(--type-size); }

/* 후보 목록 줄 */
.slotrow { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 8px; background: var(--soft); }
.slotrow .grow b { display: block; font-size: var(--type-size); }
.slotrow .grow span { display: block; font-size: var(--type-size); color: var(--sub); }
.x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; color: var(--sub); font-size: 18px; cursor: pointer; flex: none; }

/* 약속 안 도구 타일 */
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tool { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 11px; background: var(--card); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); min-height: 120px; position: relative; }
.tool b { font-size: var(--type-size); }
.tool .st { font-size: var(--type-size); color: var(--sub); line-height: 1.45; }
.tool .dot { position: absolute; right: 14px; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent-soft); }
.tool.wide { grid-column: span 2; flex-direction: row; align-items: center; min-height: 0; }

/* 메신저 미리보기 줄 */
.msgline { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: var(--type-size); color: var(--sub); }
.msgline b { color: var(--ink); font-weight: 500; }
.msgline .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 방명록 말풍선 */
.bubbles { display: flex; flex-direction: column; gap: 10px; }
.bubble { display: flex; gap: 10px; align-items: flex-start; }
.bubble .av { width: 34px; height: 34px; border-radius: 50%; background: var(--tint); color: var(--charcoal); display: grid; place-items: center; font-weight: 550; font-size: var(--type-size); flex: none; }
.bubble .bx { background: #fff; border-radius: 4px 9px 9px 9px; padding: 10px 14px; box-shadow: var(--shadow); max-width: 82%; }
.bubble .bx small { display: block; font-size: var(--type-size); color: var(--faint); font-weight: 500; margin-bottom: 2px; }
.bubble.me { flex-direction: row-reverse; }
.bubble.me .bx { background:var(--action); color:var(--white); border-radius: 9px 4px 9px 9px; }
.bubble.me .bx small { color: var(--sub); }
.bubble.me .av { background:var(--action); color:var(--white); }

/* 체크 목록 */
.todo { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.todo:last-child { border-bottom: 0; }
.todo input { width: 24px; height: 24px; accent-color: var(--charcoal); flex: none; margin: 0; }
.todo .grow { font-size: var(--type-size); }
.todo.done .grow { color: var(--faint); text-decoration: line-through; }
.todo .by { font-size: var(--type-size); color: var(--faint); }
.inline-add { display: flex; gap: 8px; }
.inline-add input { flex: 1; }
.inline-add .btn { flex: none; min-height: 52px; }

/* 꾸밈 정도 */
.levels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.level { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 2px; border-radius: 8px; border: 0; background: var(--soft); cursor: pointer; color: var(--sub); font-size: var(--type-size); font-weight: 500; }
.level .lv { font-size: var(--type-size); line-height: 1; }
.level[aria-pressed=true] { background: var(--ink); color: #fff; }
.dist { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.dist div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; font-size: var(--type-size); color: var(--faint); }
.dist i { display: block; width: 100%; border-radius: 8px 8px 4px 4px; background: var(--muted); min-height: 4px; }

/* 메뉴 투표 */
.vote { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset; }
.vote.mine { box-shadow: 0 0 0 2px var(--accent-soft) inset; background: var(--tint); }
.vote.fixed { box-shadow: 0 0 0 2px var(--accent) inset; background: var(--tint); }
.vote .grow b { display: block; font-size: var(--type-size); }
.vote .grow span { display: block; font-size: var(--type-size); color: var(--sub); }

/* 첫 만남부터 확정까지 — 기존 팔레트 안에서 부드러운 화면 위계 */
.app { padding-left: 22px; padding-right: 22px; }
.app.notabs { padding-bottom: 48px; }
.app:has(.schedule-editor) { padding-bottom: 150px; }
.topbar { min-height: 76px; gap: 12px; }
.brand { font-size: var(--type-size); font-weight: 550; letter-spacing: -.012em; }
.brand-dot { width: 22px; height: 22px; border-radius: 8px; background: var(--accent); }
.brand-dot::after { inset: 7px; }
.topbar .title { font-size: var(--type-size); font-weight: 450; color: var(--sub); }
.iconbtn { background: var(--card); box-shadow: var(--shadow); }
.iconbtn svg { width: 22px; height: 22px; }
.btn { font-weight: 450; border-radius: 10px; font-size: var(--type-size); min-height: 52px; }
.btn.primary { background:var(--action); color:var(--white); }
.btn.primary:active { background: var(--accent-soft); color: var(--ink); }
.btn.small { min-height: 44px; border-radius: 8px; }
.btn.ghost { font-weight: 400; }
.btn[disabled], .btn.primary[disabled] { background: var(--line); color: var(--sub); }
.btn[hidden] { display: none; }
.card { border-radius: 14px; box-shadow: none; }
.chip { border-radius: 8px; font-size: var(--type-size); font-weight: 450; padding: 4px 9px; }
.account-avatar { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; flex: none; background: var(--tint); color: var(--charcoal); border: 3px solid var(--card); border-radius: 50%; font-weight: 450; font-size: var(--type-size); }
.eyebrow { display: block; font-size: var(--type-size); line-height: 1.5; color: var(--sub); font-weight: 400; letter-spacing: -.01em; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0 26px; }
.page-heading h1 { margin-top: 4px; font-size: var(--type-size); font-weight: 550; line-height: 1.25; }
.new-meeting { min-height: 44px; padding: 10px 15px; border-radius: 9px; font-size: var(--type-size); white-space: nowrap; }
.new-meeting > span { font-size: 21px; line-height: 1; font-weight: 400; }
.home-body { display: flex; flex-direction: column; gap: 28px; }
.home-filters { display: flex; gap: 6px; padding: 5px; border-radius: 10px; background: var(--line); }
.home-filters a { flex: 1; min-height: 42px; padding: 10px 4px; text-align: center; text-decoration: none; color: var(--sub); font-size: var(--type-size); font-weight: 400; border-radius: 8px; white-space: nowrap; }
.home-filters a[aria-current=page] { background: var(--card); color: var(--ink); box-shadow: var(--shadow); font-weight: 500; }
.section-heading { display: flex; align-items: center; gap: 8px; margin: 0 2px 13px; }
.section-heading h2 { font-size: var(--type-size); font-weight: 500; }
.section-count { color: var(--charcoal); font-size: var(--type-size); font-weight: 450; }
.meeting-cards { display: flex; flex-direction: column; gap: 12px; }
.meeting-card { display: block; text-decoration: none; color: var(--ink); background: var(--card); border-radius: 14px; padding: 20px; border: 1px solid transparent; transition: transform .15s, box-shadow .15s; }
.meeting-card:hover { box-shadow: var(--shadow); }
.meeting-card:active { transform: scale(.99); }
.meeting-card.needs-card { background: var(--tint); }
.meeting-card-top, .meeting-card-main, .meeting-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.meeting-card-top { margin-bottom: 16px; }
.meeting-card-top .tiny { font-size: var(--type-size); }
.needs-card .chip { background: var(--card); }
.meeting-card-main { align-items: flex-start; }
.meeting-card h3 { font-size: var(--type-size); font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.meeting-meta { font-size: var(--type-size); color: var(--sub); margin-top: 5px; line-height: 1.6; }
.meeting-card-bottom { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; }
.needs-card .meeting-card-bottom { border-color: var(--card); }
.meeting-card-bottom .tiny { font-size: var(--type-size); }
.card-action { color: var(--charcoal); font-size: var(--type-size); font-weight: 450; flex: none; }
.date-stamp { flex: none; width: 55px; height: 67px; border-radius: 9px; text-align: center; padding: 7px 0; background: var(--soft); }
.date-stamp span { display: block; font-size: var(--type-size); color: var(--sub); }
.date-stamp b { font-size: var(--type-size); font-weight: 450; line-height: 1.3; }
.home-footer { color: var(--sub); font-size: var(--type-size); text-align: center; padding: 6px 0 8px; }
.home-empty { text-align: center; background: var(--card); border-radius: 16px; padding: 40px 22px; }
.empty-calendar { display: block; width: 72px; height: 72px; margin: 0 auto 20px; }
.home-empty h2 { font-size: var(--type-size); }
.home-empty p { margin: 12px auto 26px; max-width: 235px; color: var(--sub); font-size: var(--type-size); line-height: 1.8; }
.tabbar { left: 50%; right: auto; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom)); width: min(calc(100% - 44px), 436px); border: 1px solid var(--line); border-radius: 13px; padding: 6px; gap: 6px; box-shadow: 0 5px 24px rgba(33,33,33,.08); }
.tabbar a { flex-direction: row; gap: 9px; min-height: 50px; max-width: none; border-radius: 10px; color: var(--sub); font-size: var(--type-size); font-weight: 400; }
.tabbar a[aria-current=page] { color: var(--charcoal); background: var(--tint); font-weight: 500; }
.tabbar svg { width: 20px; height: 20px; }
.tabbar a[aria-current=page] svg .fillable { fill: none; }
.detail-body { display: flex; flex-direction: column; gap: 22px; }
.detail-hero { background: var(--tint); border-radius: 16px; padding: 24px; position: relative; overflow: hidden; }
.detail-hero .chip { background: var(--card); }
.detail-hero > .row { height: 32px; }
.detail-calendar { width: 56px; height: 56px; }
.detail-hero h1 { font-size: var(--type-size); margin-top: 22px; font-weight: 550; line-height: 1.35; }
.detail-subtitle { font-size: var(--type-size); color: var(--sub); margin-top: 9px; line-height: 1.7; }
.people-strip { display: flex; align-items: center; gap: 10px; margin-top: 21px; min-height: 32px; color: var(--sub); font-size: var(--type-size); }
.avatar-stack { display: flex; padding-left: 3px; }
.avatar-stack:empty { display: none; }
.avatar-stack span { width: 29px; height: 29px; display: grid; place-items: center; background: var(--card); border: 2px solid var(--tint); border-radius: 50%; margin-left: -3px; font-size: var(--type-size); font-weight: 450; color: var(--charcoal); }
.meeting-progress { display: flex; list-style: none; padding: 20px 0 0; margin: 22px 0 0; border-top: 1px solid var(--card); gap: 10px; justify-content: space-between; }
.meeting-progress li { display: flex; gap: 6px; align-items: center; font-size: var(--type-size); color: var(--sub); }
.meeting-progress li > span { background: var(--card); width: 21px; height: 21px; border-radius: 50%; display: inline-grid; place-items: center; font-size: var(--type-size); }
.meeting-progress li.is-reached { color: var(--charcoal); font-weight: 450; }
.meeting-progress li.is-reached > span { background: var(--charcoal); color: var(--card); }
.next-action { background: var(--card); border-radius: 14px; padding: 22px; }
.next-action b { font-size: var(--type-size); }
.next-action p { font-size: var(--type-size); color: var(--sub); margin: 6px 0 18px; }
.overview-card { background: var(--card); border-radius: 14px; padding: 0 18px; }
.overview-row { display: flex; align-items: center; gap: 14px; padding: 20px 0; color: var(--ink); text-decoration: none; }
.overview-row + .overview-row { border-top: 1px solid var(--line); }
.overview-row .eyebrow { margin-bottom: 4px; }
.overview-row b { display: block; font-size: var(--type-size); font-weight: 450; line-height: 1.6; }
.overview-icon { width: 36px; height: 36px; flex: none; }
.host-decision { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 4px; }
.host-decision b { font-size: var(--type-size); }
.host-decision p { font-size: var(--type-size); color: var(--sub); margin-top: 3px; }
.host-decision .btn { font-size: var(--type-size); min-height: 44px; padding: 10px 15px; background: var(--card); }
.selection-done { display: flex; align-items: center; gap: 12px; padding: 0 4px; }
.selection-done b { font-size: var(--type-size); }
.selection-done p { font-size: var(--type-size); color: var(--sub); margin-top: 4px; }
.done-mark { display: grid; place-items: center; background: var(--tint); color: var(--charcoal); width: 38px; height: 38px; border-radius: 50%; flex: none; }
.meeting-note { padding: 0 4px; }
.meeting-note p { margin-top: 6px; font-size: var(--type-size); white-space: pre-wrap; }
.soft-details { border-radius: 12px; background: var(--card); padding: 0 18px; }
.soft-details > summary { cursor: pointer; list-style: none; padding: 18px 24px 18px 0; position: relative; font-size: var(--type-size); font-weight: 450; min-height: 56px; }
.soft-details > summary::-webkit-details-marker { display: none; }
.soft-details > summary::after { content: '+'; position: absolute; right: 0; top: 16px; color: var(--sub); font-size: 18px; font-weight: 400; }
.soft-details[open] > summary::after { content: '−'; }
.soft-details > summary > span { display: block; margin-top: 4px; font-size: var(--type-size); font-weight: 400; color: var(--sub); }
.soft-details > :not(summary) { margin-bottom: 18px; }
.soft-details .tools { gap: 8px; }
.soft-details .tool { box-shadow: none; background: var(--soft); min-height: 110px; border-radius: 9px; padding: 14px; gap: 8px; }
.soft-details .tool b { font-size: var(--type-size); }
.soft-details .tool .st { font-size: var(--type-size); }
.soft-details .sec-ic { width: 30px; height: 30px; font-size: var(--type-size); background: var(--card); }
.soft-details.management { background: transparent; border-top: 1px solid var(--line); border-radius: 0; padding: 0 4px; }
.detail-body > .management { margin-top: -10px; }
.last-message { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; padding: 0 4px; }
.last-message b { font-size: var(--type-size); }
.last-message p { font-size: var(--type-size); color: var(--sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.schedule-heading { padding: 10px 0 3px; }
.schedule-heading h1 { font-size: var(--type-size); line-height: 1.4; font-weight: 550; margin-top: 7px; }
.schedule-heading > p:last-child { font-size: var(--type-size); margin-top: 9px; }
.schedule-edit-link { float: right; margin-top: -12px; }
.schedule-editor { clear: both; }
.selection-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.selection-toolbar b { font-size: var(--type-size); font-weight: 450; }
.selection-toolbar .tiny { font-size: var(--type-size); margin-top: 3px; }
.all-available { background: var(--tint); color: var(--charcoal); font-size: var(--type-size); white-space: nowrap; }
.selection-progress { display: flex; align-items: center; gap: 14px; margin-bottom: 19px; }
.selection-progress progress { appearance: none; flex: 1; width: 0; height: 5px; border: none; border-radius: 8px; overflow: hidden; background: var(--line); }
.selection-progress progress::-webkit-progress-bar { background: var(--line); border-radius: 8px; }
.selection-progress progress::-webkit-progress-value { background: var(--accent); border-radius: 8px; transition: width .2s; }
.selection-progress progress::-moz-progress-bar { background: var(--accent); border-radius: 8px; }
.progress-value { color: var(--charcoal); font-size: var(--type-size); font-weight: 450; min-width: 30px; text-align: right; }
.slot-cards { display: flex; flex-direction: column; gap: 13px; }
.slot-card { border: 0; border-radius: 13px; padding: 20px; margin: 0; min-width: 0; background: var(--card); }
.slot-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.slot-heading b { font-size: var(--type-size); font-weight: 450; }
.slot-heading p { font-size: var(--type-size); color: var(--sub); margin-top: 4px; }
.slot-votes { font-size: var(--type-size); background: var(--soft); color: var(--charcoal); border-radius: 11px; padding: 5px 9px; white-space: nowrap; }
.schedule-options { background: transparent; padding: 0; gap: 8px; }
.schedule-options label { min-width: 0; }
.schedule-options span { min-height: 46px; border-radius: 8px; background: var(--soft); color: var(--sub); font-size: var(--type-size); font-weight: 400; gap: 6px; padding: 4px; }
.schedule-options i { font-style: normal; font-size: var(--type-size); font-weight: 400; }
.schedule-options input:checked + span { background: var(--tint); color: var(--charcoal); box-shadow: inset 0 0 0 1.5px var(--accent); font-weight: 500; }
.schedule-options .is-maybe input:checked + span { background: var(--amber-bg); color: var(--amber); box-shadow: inset 0 0 0 1.5px var(--amber); }
.schedule-options .is-no input:checked + span { background: var(--red-bg); color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); }
.schedule-options input:disabled + span { opacity: .55; }
.selection-status { font-size: var(--type-size); line-height: 1.7; color: var(--sub); margin: 16px 2px 0; }
.draft-action { text-align: center; margin-top: 8px; }
.schedule-dock { position: fixed; z-index: 10; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100%, 480px); padding: 16px 22px calc(15px + env(safe-area-inset-bottom)); background: var(--bg); border-radius: 13px 13px 0 0; box-shadow: 0 -5px 20px rgba(33,33,33,.035); }
.schedule-dock p { margin-top: 9px; text-align: center; font-size: var(--type-size); color: var(--sub); }
.schedule-dock .btn { min-height: 54px; border-radius: 10px; }
.schedule-results .list { box-shadow: none; }
.schedule-results .tiny { font-size: var(--type-size); }
.schedule-results .people { gap: 4px; }
.schedule-results .chip { font-size: var(--type-size); white-space: normal; }
.schedule-results h3 { font-size: var(--type-size); }
@media (max-width: 359px) {
  .app { padding-left: 16px; padding-right: 16px; }
  .slot-card { padding: 16px; }
  .detail-hero { padding: 20px; }
  .meeting-progress { gap: 5px; }
  .meeting-progress li { gap: 4px; font-size: var(--type-size); }
  .schedule-heading h1 { font-size: var(--type-size); }
  .schedule-options span { font-size: var(--type-size); gap: 3px; }
  .meeting-card { padding: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* 사용자 피드백 반영: 흰 바탕, 명확한 대비, 실제 선택 현황 */
.app { background: var(--paper); }
.topbar { min-height: 68px; }
.brand-dot { border-radius: 6px; }
.iconbtn { box-shadow: none; border: 1px solid var(--line); border-radius: 7px; }
.profile-link { display: flex; align-items: center; gap: 7px; color: var(--ink); font-size: var(--type-size); font-weight: 450; text-decoration: none; max-width: 50%; overflow-wrap: anywhere; }
.profile-link svg, .person-symbol { width: 22px; height: 22px; color: var(--sub); flex: none; }
.btn, .btn.small { border-radius: 6px; }
.btn:not(.primary):not(.ghost):not(.danger) { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.btn.primary { background:var(--action); color:var(--white); border: 1px solid var(--accent); }
.btn[disabled], .btn.primary[disabled] { border-color: var(--line); background: var(--line); color: var(--sub); }
.card, .tile, .home-empty { border: 1px solid var(--line); border-radius: 9px; box-shadow: none; }
.page-heading { padding-top: 12px; padding-bottom: 22px; }
.page-heading h1 { margin-top: 0; font-size: var(--type-size); }
.home-filters { padding: 0; gap: 8px; background: #fff; border-radius: 0; }
.home-filters a { border-radius: 6px; border: 1px solid var(--line); }
.home-filters a[aria-current=page] { background: var(--charcoal); border-color: var(--charcoal); color: #fff; box-shadow: none; }
.meeting-card { border-radius: 9px; border-color: var(--line); }
.meeting-card:hover { box-shadow: none; border-color: var(--charcoal); }
.meeting-card.needs-card { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.needs-card .tiny, .needs-card .meeting-meta, .needs-card .card-action { color: #fff; }
.needs-card .chip { background: #fff; color: var(--charcoal); }
.needs-card .meeting-card-bottom { border-color: #fff; }
.meeting-card .chip.green, .chip.green { background: var(--charcoal); color: #fff; }
.needs-card .chip.green { background: #fff; color: var(--charcoal); }
.date-stamp { background: #fff; border: 1px solid var(--line); border-radius: 7px; }
.tabbar { bottom: 0; width: min(100%, 480px); border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 10px 22px calc(10px + env(safe-area-inset-bottom)); gap: 10px; }
.tabbar a { border-radius: 6px; min-height: 45px; }
.tabbar a[aria-current=page] { background: var(--charcoal); color: #fff; }
.detail-body { gap: 26px; }
.detail-hero { padding: 23px 22px; background: var(--card); color: var(--ink); }
.detail-kicker { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: var(--type-size); }
.detail-hero .chip { background: #fff; color: var(--charcoal); border-radius: 6px; }
.detail-hero h1 { margin-top: 20px; font-size: var(--type-size); line-height: 1.3; }
.detail-facts { display: flex; flex-direction: column; gap: 3px; margin-top: 17px; font-size: var(--type-size); line-height: 1.7; }
.hero-deadline { border-top: 1px solid #fff; padding-top: 13px; margin-top: 15px; font-size: var(--type-size); }
.invite-strip { display: flex; flex-direction: column; gap: 13px; border-bottom: 1px solid var(--line); padding: 0 0 23px; }
.invite-strip h2 { font-size: var(--type-size); font-weight: 500; }
.invite-strip p { font-size: var(--type-size); color: var(--sub); margin-top: 4px; }
.invite-actions { display: flex; gap: 8px; }
.invite-actions .btn { flex: 1; font-size: var(--type-size); border-color: var(--charcoal) !important; color: var(--charcoal) !important; }
.decision-list { display: flex; flex-direction: column; gap: 12px; }
.decision-row { display: block; border: 1px solid var(--line); border-radius: 9px; padding: 18px; text-decoration: none; color: var(--ink); position: relative; }
.decision-row.needs-selection { border-color: var(--charcoal); }
.decision-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.decision-label { font-size: var(--type-size); font-weight: 500; }
.decision-action { color: var(--sub); font-size: var(--type-size); font-weight: 450; padding: 4px 0; }
.needs-selection .decision-action { color: var(--charcoal); }
.decision-value { display: block; margin-top: 9px; font-size: var(--type-size); font-weight: 500; line-height: 1.45; }
.decision-progress { appearance: none; display: block; width: 100%; height: 6px; border: 0; border-radius: 0; overflow: hidden; margin-top: 13px; background: var(--line); }
.decision-progress::-webkit-progress-bar { background: var(--line); }
.decision-progress::-webkit-progress-value { background: var(--charcoal); }
.decision-progress::-moz-progress-bar { background: var(--charcoal); }
.decision-note { margin-top: 10px; font-size: var(--type-size); line-height: 1.65; color: var(--sub); }
.my-action-label { display: inline-block; margin-top: 11px; font-size: var(--type-size); font-weight: 450; background: var(--charcoal); color: #fff; border-radius: 5px; padding: 3px 7px; }
.finalize-panel { display: flex; align-items: center; gap: 15px; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.finalize-panel h2 { font-size: var(--type-size); }
.finalize-panel p { font-size: var(--type-size); line-height: 1.7; color: var(--sub); margin-top: 5px; }
.finalize-panel .btn { flex: none; min-height: 45px; font-size: var(--type-size); padding: 9px 13px; }
.participant-table { border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.refresh-people { margin-left: auto; font-size: var(--type-size); padding: 4px 0; }
.participant-table-head, .participant-table-row { display: grid; grid-template-columns: minmax(0,1fr) 68px 68px; gap: 10px; align-items: center; padding: 13px 15px; }
.participant-table-head { color: var(--sub); font-size: var(--type-size); border-bottom: 1px solid var(--line); }
.participant-table-head > :not(:first-child), .participant-table-row > :not(:first-child) { text-align: center; }
.participant-table-row + .participant-table-row { border-top: 1px solid var(--line); }
.participant-name { display: flex; align-items: center; gap: 6px; font-size: var(--type-size); font-weight: 450; overflow-wrap: anywhere; flex-wrap: wrap; }
.me-tag { font-size: var(--type-size); line-height: 1.4; padding: 2px 5px; color: var(--charcoal); border: 1px solid var(--charcoal); border-radius: 4px; }
.response-tag { display: inline-block; font-size: var(--type-size); color: var(--sub); padding: 3px 6px; border-radius: 4px; }
.response-tag.done { background: var(--charcoal); color: #fff; }
.response-tag.pending { color: var(--ink); }
.meeting-note h2 { font-size: var(--type-size); }
.soft-details { border: 1px solid var(--line); border-radius: 8px; }
.soft-details.management { border-left: 0; border-right: 0; border-bottom: 0; }
.soft-details .tool { background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.soft-details .sec-ic { background: #fff; }
.schedule-heading h1 { margin-top: 0; font-size: var(--type-size); }
.slot-card { border-radius: 9px; border: 1px solid var(--line); }
.slot-votes { background: #fff; border: 1px solid var(--line); border-radius: 5px; }
.schedule-options span { background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.schedule-options input:checked + span { background: var(--charcoal); color: #fff; border-color: var(--charcoal); box-shadow: none; }
.schedule-options .is-maybe input:checked + span { background: var(--amber); color: #fff; border-color: var(--amber); box-shadow: none; }
.schedule-options .is-no input:checked + span { background: var(--red); color: #fff; border-color: var(--red); box-shadow: none; }
.all-available { color: var(--charcoal) !important; border-color: var(--charcoal) !important; }
.schedule-dock { background: #fff; border-top: 1px solid var(--line); box-shadow: none; border-radius: 0; }
.schedule-dock .btn { border-radius: 6px; }
.selection-progress progress::-webkit-progress-value { background: var(--charcoal); }
@media (max-width: 359px) {
  .participant-table-head, .participant-table-row { grid-template-columns: minmax(0,1fr) 58px 58px; gap: 6px; padding: 12px; }
  .detail-hero h1 { font-size: var(--type-size); }
  .finalize-panel { flex-wrap: wrap; }
}

b, strong { font-weight: 550; }
