/* Puni Call Note (Pre-Uni New College) — 화면 스타일
   색: 남색 글자 + 학원 파랑(일반 동작), 빨강은 오직 녹음에만 쓴다. (지나기록기 디자인에서 색만 바꿈) */

:root {
  /* Pre-Uni New College 색: 연한 회청색 바탕, 남색 글자, 학원 파랑 단추, 빨강은 녹음에만 */
  --paper: #F4F6FA;
  --surface: #FFFFFF;
  --ink: #16233A;
  --muted: #56627A;
  --line: #DCE2EC;
  --line-strong: #C5CEDC;
  --teal: #1F5FBF;        /* 기본 버튼 (학원 파랑) — 변수 이름은 예전 그대로 둠 */
  --teal-ink: #FFFFFF;
  --teal-soft: #E3ECFA;
  --sage: #DCE8F8;        /* 학교 문장 뒤 원 */
  --mustard-soft: #FFF1CC;
  --mustard-ink: #7A5300;
  --rec: #D93A3F;
  --rec-soft: #F6D9DA;
  --warn: #9A5B00;
  --warn-soft: #FFF3DC;
  --ok: #2F7A4C;

  --radius-sm: 12px;
  --radius: 18px;
  --gutter: 16px;
  --tabbar-h: 68px;

  --font: 'IBM Plex Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Segoe UI', sans-serif;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0F1724;
    --surface: #172234;
    --ink: #E8EDF5;
    --muted: #9AA7BC;
    --line: #26324A;
    --line-strong: #34425E;
    --teal: #7FB0F5;
    --teal-ink: #0B1626;
    --teal-soft: #1E2F4D;
    --sage: #1E2F4D;
    --mustard-soft: #3A2E12;
    --mustard-ink: #F0C66B;
    --rec: #FF5A5F;
    --rec-soft: #3A1C1E;
    --warn: #F0B45A;
    --warn-soft: #33270F;
    --ok: #6CCB8E;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  /* 한국어는 단어 중간에서 줄이 바뀌지 않게, 긴 주소는 필요할 때만 끊기게 */
  word-break: keep-all;
  overflow-wrap: anywhere;
}

body { min-height: 100dvh; }

a { color: var(--teal); }
b, strong { font-weight: 650; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ── 첫 로딩 ── */
.boot { min-height: 100dvh; display: grid; place-items: center; }
.boot-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--rec);
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .25; } }

/* ── 화면 틀 ── */
.shell {
  max-width: 560px;
  margin: 0 auto;
  min-height: 100dvh;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 24px);
}

.topbar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 12px;
  padding: calc(env(safe-area-inset-top) + 12px) var(--gutter) 12px;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.topbar h1 {
  flex: 1;
  margin: 0;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--teal-soft); color: var(--teal);
  display: grid; place-items: center;
  font-size: 14px; font-weight: 650;
  overflow: hidden; flex: none;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.topbar a { text-decoration: none; }

main { padding: 4px var(--gutter) 0; }

.page-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 8px 0 6px;
}
.lead { color: var(--muted); margin: 0 0 20px; max-width: 34em; }

/* ── 아래 탭 ── */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar nav {
  max-width: 560px; margin: 0 auto;
  display: flex; height: var(--tabbar-h);
}
.tabbar a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px; font-weight: 550;
}
.tabbar a svg { width: 24px; height: 24px; }
.tabbar a[aria-current="page"] { color: var(--ink); }
.tabbar a[aria-current="page"] .tab-rec { fill: var(--rec); }

/* ── 버튼 ── */
button, .btn {
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background-color .15s, border-color .15s;
}
.btn-primary { background: var(--teal); color: var(--teal-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--teal) 88%, var(--ink)); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-quiet:hover { background: var(--surface); }
.btn-danger { background: transparent; color: var(--rec); border-color: color-mix(in srgb, var(--rec) 40%, transparent); }
.btn-small { min-height: 36px; padding: 0 12px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-google { background: var(--surface); color: var(--ink); border-color: var(--line-strong); min-height: 52px; font-size: 16px; }
.btn-google svg { width: 20px; height: 20px; }

.link-btn {
  background: none; border: 0; padding: 4px 0;
  color: var(--teal); font-weight: 600; font-size: 14px;
  text-decoration: none;
}

.lang-btn {
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px; font-weight: 600;
  min-height: 32px;
}

/* ── 녹음 홈: 이 화면의 주인공은 큰 녹음 버튼 하나 ── */
.rec-hero {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 28px 0 8px;
}
.rec-button {
  position: relative;
  width: min(62vw, 228px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 0;
  background: var(--rec);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 0 0 10px var(--rec-soft);
  transition: transform .12s ease;
}
.rec-button:active { transform: scale(.97); }
.rec-button .rec-label {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.rec-button::after {
  /* 안쪽 테두리: 녹음기 버튼의 경계 */
  content: '';
  position: absolute; inset: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
}
.rec-hint { color: var(--muted); font-size: 14px; margin: 22px 0 0; max-width: 22em; }

.kind-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin: 28px 0 0;
}
.kind-row-title { font-size: 14px; color: var(--muted); margin: 28px 0 0; font-weight: 550; }
.kind-btn {
  min-height: 56px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}
.kind-row-title + .kind-row { margin-top: 10px; }

/* ── 구역 ── */
.section { margin-top: 32px; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 10px;
}
.section-head h2, .section h2 {
  font-size: 17px; font-weight: 650; margin: 0; letter-spacing: -0.01em;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.panel + .panel { margin-top: 14px; }
.panel h2 { font-size: 17px; font-weight: 650; margin: 0 0 14px; letter-spacing: -0.01em; }
.panel h2:has(+ .desc) { margin-bottom: 4px; }
.panel .desc { color: var(--muted); font-size: 14px; margin: 0 0 14px; }

.panel.is-later { background: transparent; border-style: dashed; }
.panel.is-later h2 { color: var(--muted); }
.later-chip {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 1px 9px;
  margin-left: 8px;
  vertical-align: 2px;
}

/* ── 빈 화면 ── */
.empty {
  text-align: left;
  padding: 28px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.empty h3 { margin: 0 0 4px; font-size: 16px; font-weight: 650; }
.empty p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }

/* ── 폼 ── */
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 16px; /* 아이폰 확대 방지 */
}
textarea {
  width: 100%; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; line-height: 1.55; resize: vertical;
}
textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
input:focus, select:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.row { display: flex; gap: 8px; }
.row > * { flex: 1; }
.row > .shrink { flex: none; }

.copy-box {
  display: flex; align-items: center; gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 8px 8px 12px;
  margin-bottom: 14px;
}
.copy-box code {
  flex: 1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  word-break: break-all;
}

ol.steps { padding-left: 1.3em; margin: 0 0 14px; font-size: 14px; }
ol.steps li { margin-bottom: 6px; }

.notice {
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 16px;
}
.notice.error { background: var(--rec-soft); color: var(--ink); border-left: 3px solid var(--rec); }
.notice.warn { background: var(--warn-soft); color: var(--ink); border-left: 3px solid var(--warn); }
.notice.ok { background: var(--teal-soft); color: var(--ink); border-left: 3px solid var(--teal); }

/* ── 로그인 ── */
.login {
  max-width: 440px;
  margin: 0 auto;
  min-height: 100dvh;
  padding: calc(env(safe-area-inset-top) + 20px) 24px calc(env(safe-area-inset-bottom) + 28px);
  display: flex; flex-direction: column;
}
.login-top { display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.brand-mark { width: auto; height: 32px; display: block; }
.login-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 32px 0 12vh; }
.login-body h1 {
  font-size: clamp(30px, 8vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 750;
  margin: 0 0 14px;
  max-width: 11em;
}
.login-body p { color: var(--muted); margin: 0 0 32px; font-size: 17px; }
.login-foot { color: var(--muted); font-size: 13px; margin: 14px 0 0 !important; }

/* 로그인 화면의 파형: 말이 글이 되는 과정을 한 번 보여 준다 */
.wave { display: flex; align-items: center; gap: 4px; height: 44px; margin-bottom: 28px; }
.wave i {
  display: block; width: 5px; border-radius: 3px;
  background: var(--rec);
  height: calc(var(--h) * 1%);
  transform-origin: center;
  animation: wave-in .9s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: calc(var(--i) * 35ms);
}
.wave i:nth-child(n+12) { background: var(--line-strong); }
@keyframes wave-in { from { transform: scaleY(.1); opacity: 0; } }

/* ── 이메일 로그인 ── */
.login-form { margin-bottom: 4px; }
.login-form[hidden] { display: none; }
.code-sent { color: var(--muted); font-size: 14px; margin: 0 0 14px !important; }
.code-input { font-size: 26px !important; letter-spacing: .4em; text-align: center; font-weight: 650; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0; }
.or::before, .or::after { content: ''; flex: 1; border-top: 1px solid var(--line); }

/* ── 사용자 목록 ── */
.user-list { list-style: none; margin: 0; padding: 0; }
.user-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.user-item:first-child { border-top: 0; }
.user-item .avatar { width: 40px; height: 40px; }
.user-name { font-weight: 650; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.user-mail { color: var(--muted); font-size: 14px; word-break: break-all; }
.user-meta { color: var(--muted); font-size: 13px; margin-top: 2px; }
.user-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.user-item.is-off .user-name, .user-item.is-off .user-mail { opacity: .55; }

.badge {
  font-size: 12px; font-weight: 600;
  border-radius: 999px; padding: 1px 8px;
  background: var(--teal-soft); color: var(--teal);
}
.badge.off { background: var(--paper); color: var(--muted); border: 1px solid var(--line-strong); }
.badge.me { background: var(--paper); color: var(--ink); border: 1px solid var(--line-strong); }

/* ── 관리 하위 탭 ── */
.subtabs { display: flex; gap: 6px; margin: 4px 0 20px; }
.subtabs a {
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600; font-size: 14px;
  border: 1px solid var(--line-strong);
}
.subtabs a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ── 내 정보 ── */
.profile { display: flex; gap: 14px; align-items: center; margin: 8px 0 24px; }
.profile .avatar { width: 56px; height: 56px; font-size: 20px; }
.profile-name { font-size: 20px; font-weight: 700; }
.profile-mail { color: var(--muted); font-size: 14px; }

.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; }
.seg button { border: 0; background: transparent; color: var(--ink); padding: 8px 16px; font-weight: 600; min-height: 40px; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* ── 알림 ── */
#toast {
  position: fixed; left: 50%; z-index: 50;
  bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 16px);
  transform: translate(-50%, 12px);
  max-width: calc(100% - 32px);
  background: var(--ink); color: var(--paper);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 550;
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (min-width: 720px) {
  .page-title { font-size: 30px; }
}


/* ── 학교 문장 · 캐릭터 그림 ── */
.brand-hero { position: relative; height: 236px; display: flex; justify-content: center; align-items: flex-end; margin: 4px 0 24px; }
.brand-hero::before { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 220px; height: 220px; border-radius: 50%; background: var(--sage); }
.brand-hero img { position: relative; height: 200px; width: auto; display: block; margin-bottom: 18px; }
.bubble {
  position: absolute; top: 14px; right: 0;
  background: var(--surface); color: var(--ink);
  border-radius: 16px 16px 16px 4px; padding: 10px 14px;
  font-size: 14px; font-weight: 600; line-height: 1.45;
  box-shadow: 0 1px 0 var(--line);
}
@media (min-width: 420px) { .bubble { right: 8%; } }

.greet { display: flex; align-items: center; gap: 12px; margin: 6px 0 4px; }
.greet-date { font-size: 13px; color: var(--muted); }
.greet-name { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.face { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--sage); flex: none; }
.face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.face img[src^="/brand/"] { object-fit: contain; padding: 5px; background: #fff; }

.rec-button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.rec-button svg { width: 34px; height: 34px; position: relative; z-index: 1; }
.rec-button .rec-label { position: relative; z-index: 1; }
.kind-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 66px; border-radius: 14px; }
.kind-btn svg { width: 20px; height: 20px; color: var(--teal); }

.empty-art {
  display: flex; gap: 12px; align-items: stretch;
  background: var(--surface); border-radius: var(--radius);
  padding: 18px 0 0 18px; overflow: hidden;
}
.empty-art > div { flex: 1; padding-bottom: 18px; }
.empty-art h3 { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.empty-art p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.empty-art .btn { margin-top: 14px; }
.empty-art img { height: 124px; width: auto; align-self: flex-end; display: block; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; min-height: 112px; }
.page-head > div { padding-bottom: 12px; }
.page-head .page-title { margin-top: 0; }
.page-head .lead { margin: 0; }
.page-head img { height: 108px; width: auto; display: block; margin-right: -6px; }

.tabbar a[aria-current="page"] { font-weight: 700; }


/* ── 기록 카드 ── */
.rec-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rec-card { display: block; background: var(--surface); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: var(--ink); border: 1px solid transparent; }
.rec-card:hover { border-color: var(--line-strong); }
.rec-card-top { display: flex; align-items: center; justify-content: flex-start; gap: 8px; }
.rec-card-when { font-size: 14px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; margin-right: 2px; }
.rec-card-title { font-size: 16px; font-weight: 700; margin-top: 6px; }
.rec-card-snippet { margin: 4px 0 0; font-size: 14px; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rec-card-meta { margin-top: 8px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.kind-badge { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 10px; background: var(--teal-soft); color: var(--teal); }
.kind-badge.kind-consult { background: var(--mustard-soft); color: var(--mustard-ink); }
.kind-badge.kind-unassigned { background: var(--paper); color: var(--muted); border: 1px solid var(--line-strong); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rec); display: inline-block; animation: pulse 1.2s ease-in-out infinite; }

.chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 16px; }
.chip { font: inherit; font-size: 14px; font-weight: 600; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ── 기록 상세 ── */
.back-link { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; min-height: 44px; }
.back-link svg { width: 20px; height: 20px; }
.detail-when { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; margin: 4px 0 6px; }
.title-input { font-size: 20px !important; font-weight: 700; border: 0 !important; background: transparent !important; padding: 4px 0 !important; min-height: 44px; margin-bottom: 8px; border-bottom: 1px dashed var(--line-strong) !important; border-radius: 0 !important; }
.consent-row { display: flex; align-items: center; gap: 10px; font-size: 15px; min-height: 44px; }
.consent-row input { width: 20px; height: 20px; accent-color: var(--teal); }
.player { display: flex; align-items: center; gap: 12px; margin: 8px 0 0; flex-wrap: wrap; }
.player .btn svg { width: 18px; height: 18px; }
.player-status { font-size: 14px; color: var(--muted); }
.export-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.export-bar .btn { min-height: 44px; padding: 0 14px; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.export-bar .btn svg { width: 18px; height: 18px; }
.exp-opt { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin-left: 4px; }
.exp-opt input { width: 18px; height: 18px; accent-color: var(--teal); }
.transcript { list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: var(--radius); }
.transcript .line { display: grid; grid-template-columns: 64px 1fr; gap: 6px; padding: 12px 14px; border-top: 1px solid var(--line); }
.transcript .line:first-child { border-top: 0; }
.transcript .line.playing { background: var(--teal-soft); }
.transcript p, .live-lines p { margin: 0; font-size: 15px; line-height: 1.6; }
.transcript p.muted, .live-lines p.muted { color: var(--muted); }
.transcript .line-body { display: grid; gap: 8px; min-width: 0; }
.transcript p.turn { padding-left: 10px; border-left: 3px solid var(--line); }
.transcript p.turn b { display: inline-block; min-width: 2.6em; margin-right: 4px; font-size: 13px; font-weight: 600; }
.transcript p.turn-a { border-left-color: var(--teal); }
.transcript p.turn-a b { color: var(--teal); }
.transcript p.turn-b { border-left-color: #C9821B; }
.transcript p.turn-b b { color: #9A5F0C; }
.transcript p.turn-q b { color: var(--muted); }
.spk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 10px; }
.spk-note { font-size: 13px; color: var(--muted); }
.line-time { font: inherit; font-size: 13px; color: var(--teal); background: none; border: 0; padding: 2px 0; text-align: left; cursor: pointer; font-variant-numeric: tabular-nums; min-height: 32px; align-self: start; }

/* ── 녹음 화면 (어두운 화면, 탭 없음) ── */
.rec-screen {
  --rs-ink: #F2F4F2; --rs-muted: #A9B2AC; --rs-line: #3A424A; --rs-card: #F2F4F2;
  min-height: 100dvh; background: #1F2328; color: var(--rs-ink);
  display: flex; flex-direction: column; max-width: 560px; margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 16px) 16px calc(env(safe-area-inset-bottom) + 20px);
  box-sizing: border-box;
}
body:has(.rec-screen) { background: #1F2328; }
.rec-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px; }
.rec-state { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.rec-screen .live-dot { background: #FF5A5F; }
.rec-screen.is-paused .live-dot { animation: none; background: var(--rs-muted); }
.rec-keep { font-size: 13px; color: var(--rs-muted); border: 1px solid var(--rs-line); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.rec-center { text-align: center; padding: 22px 0 0; }
.rec-date { font-size: 15px; font-weight: 600; color: #C9D1CC; font-variant-numeric: tabular-nums; }
.rec-clock { font-size: 56px; font-weight: 600; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; line-height: 1.2; margin-top: 2px; }
.kind-pill { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 600; background: #2B3138; border-radius: 999px; padding: 6px 14px; }
.meter { display: flex; align-items: center; justify-content: center; gap: 5px; height: 48px; margin-top: 16px; }
.meter i { display: block; width: 5px; height: 44px; border-radius: 3px; background: #FF5A5F; transform: scaleY(.12); transition: transform .08s linear; }
.live-card { margin-top: 18px; flex: 1; min-height: 220px; max-height: 46dvh; overflow-y: auto; background: var(--rs-card); color: #1F2328; border-radius: 20px; padding: 14px 16px; }
.live-head { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.live-head span:last-child { font-weight: 500; color: #5A6370; font-size: 12px; }
.live-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.live-lines p.muted { color: #5A6370; }
.line-time-static { display: block; font-size: 12px; color: #5A6370; font-variant-numeric: tabular-nums; }
.live-hint { color: #5A6370; font-size: 14px; }
.rec-controls { display: flex; align-items: center; justify-content: center; gap: 24px; padding-top: 20px; }
.round-btn { width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--rs-line); background: #2B3138; color: var(--rs-ink); display: grid; place-items: center; cursor: pointer; }
.round-btn svg { width: 22px; height: 22px; }
.stop-btn { height: 72px; padding: 0 28px; border-radius: 999px; border: 0; background: #D93A3F; color: #fff; font: inherit; font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.stop-btn svg { width: 18px; height: 18px; }
.stop-btn[disabled] { opacity: .7; }

/* ── 동의 확인 시트 ── */
.sheet-wrap { position: fixed; inset: 0; z-index: 60; background: rgba(15, 18, 20, .45); display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 560px; background: var(--surface); color: var(--ink); border-radius: 22px 22px 0 0; padding: 22px 20px calc(env(safe-area-inset-bottom) + 20px); box-sizing: border-box; }
.sheet h2 { margin: 0 0 6px; font-size: 19px; }
.sheet p { margin: 0 0 12px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.sheet .row { margin-top: 12px; }

/* ── 가입 신청 ── */
.signup-cta { margin: 18px 0 0 !important; font-size: 15px !important; color: var(--muted); }
.signup-cta a { font-weight: 600; }
.signup-panel { border: 2px solid var(--mustard-soft); }

.user-en { font-size: 14px; color: var(--ink); }
.sheet { max-height: 90dvh; overflow-y: auto; }

/* ── 메뉴 (왼쪽 서랍) ── */
.menu-btn { width: 40px; height: 40px; margin-left: -8px; border: 0; background: transparent; color: var(--ink); border-radius: 10px; display: grid; place-items: center; cursor: pointer; flex: none; }
.menu-btn svg { width: 24px; height: 24px; }
.home-link { color: inherit; text-decoration: none; }
.drawer-wrap { position: fixed; inset: 0; z-index: 70; background: rgba(15, 18, 20, .4); }
.drawer {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(300px, 84vw);
  background: var(--surface); padding: calc(env(safe-area-inset-top) + 18px) 12px 24px;
  display: flex; flex-direction: column; gap: 2px; overflow-y: auto;
  box-shadow: 2px 0 0 var(--line);
  animation: drawer-in .18s ease-out;
}
@keyframes drawer-in { from { transform: translateX(-24px); opacity: 0; } }
.drawer-head { display: flex; align-items: center; gap: 12px; padding: 4px 8px 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.drawer-name { font-weight: 700; font-size: 16px; }
.drawer-role { font-size: 13px; color: var(--muted); }
.menu-group { font-size: 13px; font-weight: 600; color: var(--muted); padding: 14px 10px 4px; }
.menu-link {
  display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 10px;
  border-radius: 12px; color: var(--ink); text-decoration: none; font: inherit; font-size: 16px; font-weight: 600;
  background: transparent; border: 0; width: 100%; text-align: left; cursor: pointer;
}
.menu-link svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.menu-link:hover, .menu-link[aria-current="page"] { background: var(--teal-soft); }
.menu-link[aria-current="page"] svg { color: var(--teal); }
.menu-link span:first-of-type { flex: 1; }
.menu-count { font-size: 12px; font-weight: 700; color: var(--mustard-ink); background: var(--mustard-soft); border-radius: 999px; padding: 2px 9px; }
.menu-count[hidden] { display: none; }

/* ── 홈: 관리자 바로가기 ── */
.admin-card {
  display: flex; align-items: center; gap: 12px; margin-top: 24px;
  background: var(--surface); border-radius: var(--radius); padding: 14px 16px;
  color: var(--ink); text-decoration: none; border: 1px solid var(--line);
}
.admin-card:hover { border-color: var(--line-strong); }
.admin-card-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; flex: none; }
.admin-card-icon svg { width: 22px; height: 22px; }
.admin-card-text { flex: 1; display: flex; flex-direction: column; }
.admin-card-text b { font-size: 16px; }
.admin-card-text small { font-size: 13px; color: var(--muted); }
.admin-card-arrow { font-size: 24px; color: var(--muted); line-height: 1; }

/* ── 게시판 검색·날짜 ── */
.search { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; padding: 4px 4px 4px 12px; margin: 4px 0 12px; }
.search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search input { border: 0 !important; background: transparent !important; min-height: 40px !important; padding: 0 !important; outline: none; }
.search input:focus { outline: none !important; }
.search:focus-within { outline: 2px solid var(--teal); outline-offset: 1px; }
.day-head { font-size: 14px; font-weight: 700; color: var(--muted); margin: 18px 2px 8px; font-variant-numeric: tabular-nums; }
.day-head:first-of-type { margin-top: 4px; }
mark { background: var(--mustard-soft); color: inherit; border-radius: 3px; padding: 0 2px; }

/* ── 비밀번호·메일 설정 ── */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 48px !important; }
.pw-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.pw-eye svg { width: 20px; height: 20px; }
.mode-link { display: block; margin: 10px auto 0; font-size: 14px; }
.sheet-sub { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; }
.seg-field { border: 0; padding: 0; margin: 0 0 14px; }
.seg-field legend { font-size: 14px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.radio { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; }
.radio input { width: 20px; height: 20px; accent-color: var(--teal); }
.provider-box[hidden] { display: none; }
.search input { flex: 1; min-width: 0; width: auto !important; }

/* ── 메일 템플릿 ── */
.tpl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tpl-item { display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.tpl-item:hover { border-color: var(--teal); }
.tpl-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; }
.tpl-icon svg { width: 22px; height: 22px; }
.tpl-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tpl-text b { font-size: 16px; }
.tpl-text small { color: var(--muted); font-size: 14px; }
.tpl-text em { font-style: normal; font-size: 13px; color: var(--muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tpl-badge { flex: none; font-size: 12px; font-weight: 700; color: #7A5300; background: #F6E3B4; border-radius: 999px; padding: 3px 10px; }
.tpl-edit { display: grid; gap: 16px; align-items: start; }
@media (min-width: 900px) { .tpl-edit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.tpl-vars { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 16px; }
.tpl-vars > span { width: 100%; font-size: 13px; color: var(--muted); }
.tpl-vars .chip { font-size: 13px; padding: 4px 10px; min-height: 32px; }
.tpl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.tpl-preview { position: sticky; top: 12px; background: #F4F6FA; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tpl-preview-head { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.tpl-preview-head span { font-size: 12px; color: var(--muted); }
.tpl-preview-head b { font-size: 15px; word-break: keep-all; }
.tpl-preview iframe { display: block; width: 100%; height: 520px; border: 0; background: #F4F6FA; }


/* ── 화면 틀: 사용자 / 관리자 ── */
.side { display: none; }
.mode-badge { font-style: normal; font-size: 12px; font-weight: 700; color: #7A5300; background: #F6E3B4; border-radius: 999px; padding: 2px 9px; margin-left: 8px; vertical-align: 2px; }
.topbar h1 .home-link { color: inherit; }
.exit-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink); font-size: 14px; font-weight: 600; }
.exit-btn svg { width: 18px; height: 18px; }
.layout-admin .topbar { background: color-mix(in srgb, #1F2328 96%, transparent); color: #F2F4F2; }
.layout-admin .topbar .menu-btn, .layout-admin .topbar .lang-btn { color: #F2F4F2; border-color: #3A424A; background: transparent; }
.layout-admin .exit-btn { color: #F2F4F2; border-color: #3A424A; }
.tabbar-admin { background: #1F2328; border-top-color: #1F2328; }
.tabbar-admin a { color: #A9B2AC; position: relative; }
.tabbar-admin a[aria-current="page"] { color: #FFFFFF; }
.tab-count { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 18px; height: 18px; border-radius: 9px; background: var(--rec); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.menu-sep { height: 1px; background: var(--line); margin: 10px 8px; }

@media (min-width: 900px) {
  :root { --side-w: 248px; }
  .side {
    display: flex; flex-direction: column; position: fixed; z-index: 20; left: 0; top: 0; bottom: 0; width: var(--side-w);
    padding: 22px 14px 18px; box-sizing: border-box; background: var(--surface); border-right: 1px solid var(--line); overflow-y: auto;
  }
  .side-brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 22px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 17px; }
  .side-brand img { border-radius: 0; }
  .side-brand em { white-space: nowrap; font-style: normal; font-size: 12px; font-weight: 700; color: #7A5300; background: #F6E3B4; border-radius: 999px; padding: 2px 9px; }
  .side-nav { display: flex; flex-direction: column; gap: 2px; }
  .side-link, .side-switch {
    position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 12px;
    color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px;
  }
  .side-link svg, .side-switch svg { width: 20px; height: 20px; flex: none; }
  .side-link:hover { background: var(--paper); color: var(--ink); }
  .side-link[aria-current="page"] { background: var(--teal-soft); color: var(--teal); }
  .side-link .menu-count { margin-left: auto; }
  .side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
  .side-switch { border: 1px solid var(--line-strong); color: var(--ink); }
  .side-switch:hover { border-color: var(--teal); }
  .side-user { display: flex; align-items: center; gap: 10px; padding: 4px 8px; text-decoration: none; color: var(--ink); }
  .side-user span { display: flex; flex-direction: column; min-width: 0; }
  .side-user b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .side-user small { font-size: 12px; color: var(--muted); }

  .layout-admin .side { background: #1F2328; border-right-color: #1F2328; }
  .layout-admin .side-brand, .layout-admin .side-user { color: #F2F4F2; }
  .layout-admin .side-link { color: #A9B2AC; }
  .layout-admin .side-link:hover { background: #2B3138; color: #FFFFFF; }
  .layout-admin .side-link[aria-current="page"] { background: #1F5FBF; color: #FFFFFF; }
  .layout-admin .side-foot { border-top-color: #3A424A; }
  .layout-admin .side-switch { color: #F2F4F2; border-color: #3A424A; }
  .layout-admin .side-user small { color: #A9B2AC; }

  .layout .shell { max-width: none; margin: 0 0 0 var(--side-w); padding-bottom: 48px; }
  .layout .topbar { padding-left: 40px; padding-right: 40px; }
  .layout .topbar .menu-btn, .layout .topbar .top-avatar, .layout .topbar .home-link { display: none; }
  .layout .topbar h1 .mode-badge { margin-left: 0; }
  .layout-admin .topbar .exit-btn { display: none; }
  /* PC: 화면 전체를 씀 (Sang 2026-11-24) — 너무 넓은 화면만 1800px 에서 멈춤 */
  .layout main, .layout main:has(.wide) { max-width: 1800px; margin: 0 auto; padding: 8px 40px 0; }
  .tabbar { display: none; }
  .layout-admin .topbar { background: color-mix(in srgb, var(--paper) 92%, transparent); color: var(--ink); }
  .layout-admin .topbar .lang-btn { color: var(--ink); border-color: var(--line-strong); }
}

.tab-count[hidden], .menu-count[hidden] { display: none !important; }

/* ── 파트 3~8: 요약·태그·상대·분석·명단 ── */
.rec-card-top { flex-wrap: wrap; }
.rec-card-people { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--teal); }
.rec-card-people svg { width: 15px; height: 15px; }
.rec-card-snippet.is-summary { color: var(--ink); }
.ai-mark svg { width: 14px; height: 14px; color: var(--teal); vertical-align: -2px; margin-right: 4px; }
.rec-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.todo-badge { font-size: 12px; font-weight: 700; color: #7A5300; background: #F6E3B4; border-radius: 999px; padding: 2px 8px; }
.tag-mini { font-size: 12px; color: var(--teal); font-weight: 600; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 16px; }
.tag-row:empty { display: none; }
.tag-chip { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid transparent; background: var(--teal-soft); color: var(--teal); font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.tag-chip[aria-pressed="true"] { background: var(--teal); color: #fff; }
.tag-chip small { font-weight: 500; opacity: .7; }
.tag-chip.is-static { cursor: default; padding-right: 4px; }
.tag-chip.is-static button { border: 0; background: transparent; color: inherit; font-size: 18px; line-height: 1; width: 26px; height: 26px; border-radius: 50%; cursor: pointer; }
.tag-chip.is-static button:hover { background: rgba(0,0,0,.08); }
.filter-note { display: flex; align-items: center; gap: 8px; margin: -4px 0 14px; font-size: 14px; color: var(--ink); background: var(--teal-soft); border-radius: 12px; padding: 8px 12px; }
.filter-note svg { width: 18px; height: 18px; color: var(--teal); flex: none; }
.filter-note span { flex: 1; }

.people-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 14px; }
.people-label { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.people-label svg { width: 17px; height: 17px; }
.person-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.person-chip em { font-style: normal; font-size: 11px; font-weight: 700; color: #7A5300; background: #F6E3B4; border-radius: 999px; padding: 1px 6px; }
.pick-search { margin-bottom: 10px; }
.pick-list { max-height: 40vh; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.pick-item { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-radius: 10px; cursor: pointer; }
.pick-item:hover { background: var(--paper); }
.pick-item input { width: 20px; height: 20px; accent-color: var(--teal); flex: none; }
.pick-item span { display: flex; flex-direction: column; }
.pick-item small { color: var(--muted); font-size: 13px; }
.pick-add { gap: 6px; }
.pick-add select { flex: 0 0 96px; }

.summary-sec .section-head h2 { display: inline-flex; align-items: center; gap: 6px; }
.summary-sec .section-head h2 svg, .ai-panel h2 svg, form[data-section="ai"] h2 svg { width: 20px; height: 20px; color: var(--teal); }
.sum-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px; }
.sum-card h3 { font-size: 13px; font-weight: 700; color: var(--teal); margin: 14px 0 6px; }
.sum-card h3:first-child { margin-top: 0; }
.sum-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 16px; line-height: 1.6; }
.todo-list { display: flex; flex-direction: column; gap: 2px; }
.todo { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.5; padding: 4px 0; cursor: pointer; }
.todo input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); flex: none; }
.todo input:checked + span { text-decoration: line-through; color: var(--muted); }
.tag-edit { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 16px; }
.tag-add input { min-height: 32px !important; height: 32px; width: 120px !important; border-radius: 999px !important; font-size: 14px !important; padding: 0 12px !important; }
.sum-foot { font-size: 12px; color: var(--muted); margin: 14px 0 0; }
.sum-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sum-actions .btn { min-height: 42px; font-size: 15px; }
.sum-actions .btn svg { width: 18px; height: 18px; }
.sum-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.sum-empty p { margin: 0; }
.sum-working { display: flex; align-items: center; gap: 14px; }
.sum-working img { width: 72px; height: auto; flex: none; animation: bob 1.6s ease-in-out infinite; }
.sum-working p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
@keyframes bob { 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .sum-working img { animation: none; } }

.check-row { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 14px; font-size: 15px; cursor: pointer; }
.check-row input[type="checkbox"] { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal); flex: none; }
.ai-pick { flex-wrap: wrap; }
.ai-pick .field { min-width: 200px; }
.ai-box { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 14px; margin-bottom: 10px; background: var(--paper); }
.ai-box[open] { padding-bottom: 6px; }
.ai-box summary { min-height: 46px; display: flex; align-items: center; gap: 6px; cursor: pointer; font-size: 15px; color: var(--muted); }
.ai-box summary b { color: var(--ink); }
.ai-box code, .provider-box code { font-size: 12px; background: var(--surface); padding: 1px 5px; border-radius: 4px; word-break: break-all; }
.sub-block { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; }
.sub-block h3 { font-size: 16px; margin: 0 0 10px; }

.page-head.wide { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
@media (min-width: 640px) { .stat-row { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.stat b { font-size: 24px; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--muted); }
.grid-2 { display: grid; gap: 14px; margin-bottom: 14px; }
.grid-2 .panel + .panel { margin-top: 0; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bars li { display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 10px; font-size: 14px; }
.bar-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar { height: 10px; background: var(--paper); border-radius: 5px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--teal); border-radius: 5px; }
.bar-n { color: var(--muted); font-variant-numeric: tabular-nums; }
.count-chip { font-size: 13px; font-weight: 700; color: #7A5300; background: #F6E3B4; border-radius: 999px; padding: 1px 9px; vertical-align: 3px; }
.todo-admin { list-style: none; margin: 0; padding: 0; }
.todo-admin li + li { border-top: 1px solid var(--line); }
.todo-admin a { display: flex; flex-direction: column; gap: 2px; padding: 10px 2px; text-decoration: none; color: var(--ink); }
.todo-admin small { color: var(--muted); font-size: 13px; }
.ai-panel .notice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.analysis { margin-bottom: 14px; }
.analysis .overview { font-size: 17px; line-height: 1.65; margin: 0 0 6px; }
.analysis h3 { font-size: 14px; color: var(--teal); margin: 16px 0 6px; }

.contact-list { list-style: none; margin: 0 0 16px; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; }
.contact-item + .contact-item { border-top: 1px solid var(--line); }
.contact-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.contact-main small { color: var(--muted); font-size: 13px; }
.kind-mini { font-size: 13px; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.rec-card-top { justify-content: flex-start; }
.rec-card-top .rec-card-when { margin-left: 0; }
.page-head.wide { min-height: 0; }
.btn > svg { width: 20px; height: 20px; flex: none; }

/* ── 인터넷 없이 녹음 ── */
#net-bar { position: fixed; z-index: 80; left: 50%; transform: translateX(-50%); width: max-content; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 10px); max-width: calc(100% - 24px); box-sizing: border-box;
  background: #1F2328; color: #F6E3B4; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.18); text-align: center; }
.pending-card { background: #FFF8E6; border: 1px solid #F0DCA8; border-radius: var(--radius); padding: 14px 16px; margin: 0 0 16px; color: #3D3420; }
.pending-head { display: flex; align-items: center; gap: 12px; }
.pending-head > svg { width: 26px; height: 26px; flex: none; color: #7A5300; }
.pending-head > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pending-head small { font-size: 13px; color: #6B5A30; }
.pending-list { list-style: none; margin: 10px 0 0; padding: 0; font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
.pending-list li { display: flex; flex-direction: column; gap: 2px; padding-top: 6px; border-top: 1px solid #F0DCA8; }
.pending-err { color: var(--rec); font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.link-btn.danger { color: var(--rec); }
#upload-state.is-offline { color: #7A5300; background: #F6E3B4; font-weight: 700; border-radius: 999px; padding: 2px 10px; }
body:has(.rec-screen) #net-bar { display: none; }
@media (min-width: 900px) { #net-bar { bottom: 20px; left: calc(50% + var(--side-w) / 2); } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pending-card { background: #2E2818; border-color: #4A3F22; color: #F2E6C4; } :root:not([data-theme="light"]) .pending-card small { color: #D8C796; } }

/* ── 파일 올리기 ── */
.upload-link { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border: 1px dashed var(--line-strong); color: var(--ink); text-decoration: none; }
.upload-link:hover { border-color: var(--teal); }
.upload-link > svg { width: 26px; height: 26px; color: var(--teal); flex: none; }
.upload-link > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.upload-link small { color: var(--muted); font-size: 13px; }
.upload-link > span:last-child { font-size: 22px; color: var(--muted); }
.drop-zone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 150px; padding: 20px; margin: 8px 0 14px;
  border: 2px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface); text-align: center; cursor: pointer; }
.drop-zone:hover, .drop-zone:focus-within { border-color: var(--teal); }
.drop-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-zone > svg { width: 40px; height: 40px; color: var(--teal); }
.drop-zone b { font-size: 17px; }
.drop-zone small { color: var(--muted); font-size: 13px; }
.help-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 14px; margin-bottom: 16px; }
.help-box summary { min-height: 46px; display: flex; align-items: center; cursor: pointer; font-weight: 600; font-size: 15px; }
.help-box[open] { padding-bottom: 8px; }
.up-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.up-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.up-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-bottom: 10px; }
.up-head b { font-size: 15px; word-break: break-all; flex: 1 1 100%; }
.up-head small { color: var(--muted); font-size: 13px; flex: 1; }
.up-prog { font-size: 14px; color: var(--teal); font-weight: 600; min-height: 1em; }
.up-prog:empty { display: none; }
#up-form .btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; }
.src-tag { display: inline-block; font-style: normal; font-size: 11px; font-weight: 700; color: #2C5139; background: var(--teal-soft); border-radius: 999px; padding: 1px 7px; margin-left: 4px; vertical-align: 1px; }
.up-prog.is-err { color: var(--rec); }

/* ── 전화 (PhoneUI, 2026-11-23) ── */
.ph-top { justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.ph-status { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; }
.ph-status .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.ph-on .dot { background: var(--ok); }
.ph-wait .dot { background: var(--mustard-ink); }
.ph-err { color: var(--warn); }
.ph-err .dot { background: var(--warn); }
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; }
.switch input { width: 20px; height: 20px; accent-color: var(--teal); }
.dialer { display: grid; gap: 12px; max-width: 360px; margin: 8px auto 0; }
.dial-input { font-size: 28px; text-align: center; letter-spacing: .04em; padding: 12px; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); width: 100%; }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.keypad .key { font-size: 24px; padding: 14px 0; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); cursor: pointer; }
.keypad .key:active { background: var(--teal-soft); }
.dial-row { gap: 10px; }
.btn-call { flex: 1; background: var(--ok); color: #fff; border: 0; font-size: 18px; font-weight: 700; padding: 14px; border-radius: 999px; }
.call-list { list-style: none; margin: 0; padding: 0; }
.call-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.call-item small { display: block; color: var(--muted); }
.call-item.call-missed b { color: var(--rec); }
.ph-check { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 6px; }
.ph-check li::before { content: '○'; margin-right: 8px; color: var(--muted); }
.ph-check li.ok::before { content: '✓'; color: var(--ok); font-weight: 700; }
.ph-admin { display: grid; gap: 10px; margin: 8px 0 12px; }

.phone-dock { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabbar-h) + 12px); z-index: 60;
  width: min(560px, calc(100% - 24px)); display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: var(--radius); background: var(--ink); color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.phone-dock[hidden] { display: none; }
.phone-dock .pd-who { display: grid; min-width: 0; }
.phone-dock .pd-who b { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phone-dock .pd-who span, .phone-dock .pd-who em { font-size: 13px; opacity: .8; font-style: normal; }
.phone-dock .pd-btns { display: flex; gap: 8px; flex-shrink: 0; }
.phone-dock .btn-quiet { background: rgba(255,255,255,.12); color: #fff; border-color: transparent; }
.pd-answer { background: var(--ok); color: #fff; border: 0; }
.pd-hang { background: var(--rec); color: #fff; border: 0; }
.phone-dock.is-ringing { animation: pd-pulse 1.2s ease-in-out infinite; }
@keyframes pd-pulse { 50% { box-shadow: 0 0 0 8px rgba(47,122,76,.35); } }
@media (min-width: 900px) { .phone-dock { bottom: 20px; } }
@media (prefers-reduced-motion: reduce) { .phone-dock.is-ringing { animation: none; } }

/* AI 연결: 키 상태 표시 */
.key-badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; vertical-align: 1px; }
.key-badge.ok { background: #E3F5EA; color: #1E7A43; }
.key-badge.bad { background: #FDE8E8; color: #B42318; }
.key-badge.none { background: transparent; color: var(--muted); font-weight: 400; }
.key-badge.wait { background: var(--line); color: var(--muted); font-weight: 400; }

/* AI 연결: 일마다 한 줄 (무엇에 · 어느 AI · 생각 깊이) */
.ai-h { font-size: 15px; margin: 18px 0 8px; }
.ai-jobs { display: grid; gap: 8px; }
.ai-job { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 10px; align-items: end; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.ai-job-name b { display: block; font-size: 14px; }
.ai-job-name small { display: block; color: var(--muted); font-size: 12px; line-height: 1.45; margin-top: 2px; }
.ai-job .field { margin: 0; }
.ai-fixed { padding: 10px 0; font-weight: 600; }
@media (max-width: 720px) { .ai-job { grid-template-columns: 1fr 1fr; } .ai-job-name { grid-column: 1 / -1; } }

/* ── PC 화면 전체 쓰기 (Sang 2026-11-24) ── */
@media (min-width: 1200px) {
  .layout .rec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .layout .detail-cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: start; }
  .layout .detail-cols > .section { margin-top: 0; }
  .layout .detail-cols .summary-sec:empty { display: none; }
  .layout .detail-cols:has(.summary-sec:empty) { grid-template-columns: 1fr; }
  .layout .detail-cols .summary-sec { position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow: auto; }
  .layout main:has(form.panel) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; align-items: start; }
  .layout main:has(form.panel) > :not(form.panel) { grid-column: 1 / -1; }
  .layout .title-input { font-size: 26px; }
}
@media (min-width: 1700px) {
  .layout .rec-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ── 통화 분석 (calls.js) ── */
.calls-page .chip.on { background: #000; color: #fff; border-color: #000; }
.calls-page .chips { margin: 6px 0; }
.calls-range { margin: 8px 0 12px; color: #000; }
.calls-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 10px 0 16px; }
.calls-kpi { border: 1px solid #000; border-radius: 12px; padding: 10px 12px; background: #fff; }
.calls-kpi span { display: block; font-size: 13px; font-weight: 700; color: #000; }
.calls-kpi b { display: block; font-size: 28px; line-height: 1.2; }
.calls-kpi small { font-size: 12px; color: #000; }
.heat-wrap { overflow-x: auto; }
table.heat { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 13px; }
table.heat th { font-weight: 700; padding: 4px; color: #000; white-space: nowrap; font-size: 12px; }
table.heat td { border: 1px solid #fff; text-align: center; padding: 6px 2px; min-width: 38px; font-weight: 700; }
table.heat td i { display: block; font-style: normal; font-size: 11px; color: #E60000; background: #fff; border-radius: 6px; margin: 2px 4px 0; }
.calls-two { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 1000px) { .calls-two { grid-template-columns: 1fr 1fr; } }
.vbars { display: flex; align-items: flex-end; gap: 4px; height: 190px; padding-top: 8px; overflow-x: auto; }
.vbar { flex: 1 0 26px; display: flex; flex-direction: column; align-items: center; height: 100%; }
.vstack { flex: 1; width: 70%; display: flex; flex-direction: column; justify-content: flex-end; }
.vstack span { display: block; width: 100%; }
.vbar b { font-size: 12px; color: #000; }
.vbar small { font-size: 11px; color: #000; white-space: nowrap; }
.vbars.days .vbar { flex-basis: 22px; }
.calls-legend { font-size: 13px; color: #000; margin: 6px 0 0; }
.calls-legend span { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin: 0 4px 0 10px; vertical-align: -1px; }
.calls-page .grid-table { border-collapse: collapse; width: 100%; font-size: 14px; }
.calls-page .grid-table th, .calls-page .grid-table td { border: 1px solid #000; padding: 6px 8px; text-align: left; color: #000; }
.calls-page .grid-table th { background: #F2F2F2; }
.calls-page .table-wrap { overflow-x: auto; }

/* 통화 분석: 데이터 시각 · 사용법 그림 */
.calls-fresh { display: flex; gap: 12px; align-items: flex-start; border: 2px solid #0050FF; background: #EAF1FF; border-radius: 12px; padding: 12px 14px; margin: 8px 0 12px; color: #000; }
.calls-fresh .cf-ico { font-size: 26px; line-height: 1; }
.calls-fresh b { font-size: 16px; }
.calls-fresh p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; }
.calls-fresh .pill { display: inline-block; margin: 4px 4px 0 0; padding: 3px 10px; border-radius: 12px; background: #fff; border: 1px solid #000; font-size: 13px; font-weight: 700; }
.calls-fresh .pill.ok { background: #008A3A; color: #fff; border-color: #008A3A; }
.calls-guide { border: 1px solid #000; border-radius: 12px; background: #fff; padding: 10px 14px; margin: 0 0 14px; color: #000; }
.calls-guide summary { font-weight: 700; font-size: 15px; cursor: pointer; }
.calls-guide h3 { font-size: 15px; margin: 16px 0 8px; }
.cg-flow { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.cg-split { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 280px; }
.cg-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cg-box { border: 2px solid #000; border-radius: 10px; padding: 8px 10px; background: #fff; min-width: 120px; max-width: 200px; text-align: center; }
.cg-box b { display: block; font-size: 14px; }
.cg-box small { display: block; font-size: 12px; line-height: 1.35; }
.cg-ico { font-size: 22px; }
.cg-box.src { border-color: #000; background: #F2F2F2; align-self: center; }
.cg-box.rec { border-color: #0050FF; background: #EAF1FF; }
.cg-box.cdr { border-color: #E60000; background: #FFECEC; }
.cg-box.out { border-color: #008A3A; background: #E8F7EE; }
.cg-arrow { display: flex; flex-direction: column; align-items: center; font-size: 11px; font-weight: 700; color: #000; min-width: 70px; text-align: center; }
.cg-arrow::after { content: '➜'; font-size: 20px; line-height: 1; }
.cg-rules { display: grid; gap: 6px; }
.cg-rule { display: grid; grid-template-columns: 14px 130px 1fr; gap: 8px; align-items: start; font-size: 14px; }
.cg-dot { width: 14px; height: 14px; border-radius: 50%; margin-top: 3px; }
.cg-steps { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.6; }
@media (max-width: 640px) { .cg-arrow { min-width: 100%; flex-direction: row; justify-content: center; gap: 6px; } .cg-arrow::after { content: '⬇'; } .cg-box { max-width: none; width: 100%; } .cg-rule { grid-template-columns: 14px 1fr; } .cg-rule span:last-child { grid-column: 2; } }

.calls-busy { font-size: 13px; font-weight: 700; color: #0050FF; margin-left: 6px; }
.calls-page .chip:disabled { opacity: .5; }
.cg-src { display: flex; justify-content: center; margin-bottom: 6px; }
.cg-lanes { display: grid; gap: 10px; }
.cg-lane { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; grid-template-areas: 'when when when when when' 'a b c d e'; align-items: center; gap: 6px; border: 1px dashed #000; border-radius: 10px; padding: 8px; }
.cg-lane .cg-when { grid-area: when; font-weight: 700; font-size: 13px; }
.cg-lane .cg-box { max-width: none; }
.cg-lane > .cg-box:nth-of-type(1) { grid-column: 1; }
@media (max-width: 760px) { .cg-lane { grid-template-columns: 1fr; grid-template-areas: none; } .cg-lane .cg-when { grid-area: auto; } .cg-lane > * { grid-column: 1 !important; } .cg-arrow { min-width: 0; flex-direction: row; justify-content: center; gap: 6px; } .cg-arrow::after { content: '⬇'; } }
table.heat td:hover { outline: 2px solid #000; }
main.page.calls-page { max-width: 1400px; }
.calls-page .grid-table td:nth-child(2), .calls-page .grid-table td:nth-child(3) a b { white-space: nowrap; }
.calls-page .grid-table td { vertical-align: top; }
.calls-times { display: inline-block; background: #E60000; color: #fff; font-weight: 700; font-size: 12px; border-radius: 10px; padding: 1px 7px; margin-right: 2px; }

/* 전화 녹음 게시판 (callrec.js) */
.cr-dir { font-weight: 700; font-size: .82rem; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.cr-dir.in { color: #0050FF; background: #E8EFFF; }
.cr-dir.out { color: #B35500; background: #FFF0E0; }
.cr-line { font-size: .78rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; color: #fff; background: #0050FF; white-space: nowrap; }
.cr-line.hs { background: #7A00FF; }
.cr-cat { font-size: .78rem; padding: 2px 8px; border-radius: 999px; background: #F1F3F6; color: #333; }
.cr-card .rec-card-title svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 3px; }
.cr-cats-label { font-size: .82rem; color: var(--muted, #666); margin-right: 4px; align-self: center; }
.day-head small { font-weight: 500; color: var(--muted, #666); margin-left: 6px; font-size: .8em; }
.cr-more { text-align: center; margin: 18px 0 30px; }

/* 앱으로 설치 (install.js) */
.install-bar { display: flex; align-items: center; gap: 10px; background: #EAF1FF; border: 1px solid #C9DAFB; border-radius: 16px; padding: 10px 10px 10px 12px; margin: 0 0 16px; }
.install-bar img { border-radius: 10px; flex: none; }
.install-bar span { flex: 1; display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.install-bar b { font-size: 15px; color: #0B3B9C; }
.install-bar small { font-size: 13px; color: #4A5A73; }
.install-bar .ins-x { border: 0; background: transparent; color: #4A5A73; font-size: 16px; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; flex: none; }
.ins-head { display: flex; gap: 14px; align-items: flex-start; margin: 4px 0 14px; }
.ins-head b { font-size: 16px; }
.ins-head p { margin: 4px 0 0 !important; font-size: 14px !important; color: var(--muted); line-height: 1.5; }
.ins-app { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: none; font-size: 11px; color: var(--muted); }
.ins-app img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 6px 14px rgba(11, 59, 156, .25); }
.ins-steps { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; }
.ins-step { display: flex; align-items: center; gap: 12px; background: var(--surface-2, #F4F6FA); border-radius: 14px; padding: 10px 12px; }
.ins-n { width: 26px; height: 26px; border-radius: 50%; background: #1F5FBF; color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; flex: none; }
.ins-g { width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid #DCE7FB; color: #1F5FBF; display: grid; place-items: center; flex: none; }
.ins-g svg { width: 26px; height: 26px; }
.ins-t { display: flex; flex-direction: column; font-size: 15px; line-height: 1.4; }
.ins-t small { color: var(--muted); font-size: 13px; }
.ins-warn { background: #FFF4E5; color: #8A4B00 !important; border-radius: 12px; padding: 10px 12px; font-size: 14px !important; }
.ins-pc { display: flex; gap: 16px; align-items: center; background: var(--surface-2, #F4F6FA); border-radius: 16px; padding: 14px; margin: 6px 0 10px; }
.ins-qr { width: 150px; height: 150px; background: #fff; border-radius: 10px; flex: none; }
.ins-qr svg { width: 100%; height: 100%; display: block; }
.ins-pc b { font-size: 16px; }
.ins-pc p { margin: 6px 0 0 !important; font-size: 14px !important; }
.ins-url { font-family: ui-monospace, monospace; font-size: 13px !important; color: #1F5FBF !important; word-break: break-all; }
.ins-more summary { cursor: pointer; color: #1F5FBF; font-weight: 600; margin: 6px 0; }
.ins-more h4 { margin: 14px 0 4px; font-size: 14px; }
.ins-done { display: flex; gap: 14px; align-items: center; }
.ins-done p { margin: 0 !important; }
[data-install-go] svg, [data-ins-copy] svg { width: 18px; height: 18px; vertical-align: -3px; }
@media (max-width: 420px) { .ins-pc { flex-direction: column; text-align: center; } }
[data-install-go][hidden] { display: none !important; }
.vbar.part .vstack { opacity: .45; background-image: repeating-linear-gradient(135deg, transparent 0 4px, rgba(255,255,255,.6) 4px 7px); }
.vbar .part-tag { display: block; font-size: 10px; color: #A34A00; font-weight: 700; white-space: nowrap; }
.weekly-box { margin-top: 18px; border-top: 1px solid var(--line, #E3E6EB); padding-top: 14px; } .weekly-box h3 { margin: 0 0 4px; font-size: 16px; }
