:root {
  --bg: #F6F2EA;
  --surface: #FFFDF9;
  --surface-2: #FBF7F0;
  --ink: #2B2621;
  --ink-2: #554D44;
  --muted: #8C8378;
  --line: #E8E1D5;
  --accent: #B8683E;
  --accent-ink: #FFFFFF;
  --accent-soft: #F3E3D6;
  --sage: #5F8A6B;
  --sage-soft: #E1EBE2;
  --gold: #D49A3A;
  --danger: #C0503F;
  --shadow: 0 1px 2px rgba(60, 40, 20, .05), 0 4px 14px rgba(60, 40, 20, .06);
  --radius: 18px;
  --serif: 'Gowun Batang', 'Nanum Myeongjo', serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  --tab-h: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1B1916; --surface: #25221E; --surface-2: #2C2824; --ink: #F1EBE2; --ink-2: #CFC6BA; --muted: #9F968A;
    --line: #38332D; --accent: #E08E5E; --accent-ink: #1B1916; --accent-soft: #3B2A20; --sage: #8DB096; --sage-soft: #26332B;
    --gold: #E2AE55; --danger: #E2715F; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 4px 14px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overscroll-behavior-y: none;
  -webkit-text-size-adjust: 100%;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }

#app { max-width: 560px; margin: 0 auto; min-height: 100%; }
#view { padding: calc(env(safe-area-inset-top) + 12px) 16px calc(var(--tab-h) + env(safe-area-inset-bottom) + 96px); }

/* ---------- Tab bar ---------- */
#tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; justify-content: center;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
#tabbar a {
  flex: 1; max-width: 140px; height: var(--tab-h); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; color: var(--muted); font-size: 11px; font-weight: 600; position: relative; transition: color .2s;
}
#tabbar a.active { color: var(--accent); }
#tabbar a.active svg { stroke-width: 2; }
#tabbar .badge {
  position: absolute; top: 9px; left: calc(50% + 6px); min-width: 17px; height: 17px; border-radius: 9px; padding: 0 5px;
  background: var(--danger); color: #fff; font-size: 10px; font-style: normal; display: grid; place-items: center; font-weight: 700;
}

/* ---------- Page header ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 8px 2px 16px; }
.page-head h1 { font-family: var(--serif); font-size: 26px; font-weight: 700; margin: 0; letter-spacing: -.3px; }
.page-head .sub { color: var(--muted); font-size: 13px; margin-top: 2px; }
.head-actions { display: flex; gap: 6px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line);
}
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:active { transform: scale(.94); }

/* ---------- Overview card ---------- */
.overview {
  background: linear-gradient(135deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 70%, var(--gold)) 100%);
  color: #fff; border-radius: 22px; padding: 18px 18px 16px; margin-bottom: 20px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.overview::after {
  content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 70%);
}
.overview .ov-top { display: flex; align-items: baseline; gap: 8px; }
.overview .ov-num { font-family: var(--serif); font-size: 34px; font-weight: 700; line-height: 1; }
.overview .ov-label { font-size: 14px; opacity: .92; }
.overview .ov-msg { font-size: 13px; opacity: .88; margin-top: 6px; }
.overview .week { margin-top: 14px; }
.overview .week .d { background: rgba(255,255,255,.18); color: #fff; }
.overview .week .d.on { background: #fff; color: var(--accent); }
.overview .week .d.today { box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
@media (prefers-color-scheme: dark) { .overview { color: #1B1916; } .overview .week .d { color: #1B1916; background: rgba(0,0,0,.14);} .overview .week .d.on { background: #1B1916; color: var(--accent);} .overview .week .d.today{ box-shadow: 0 0 0 2px rgba(0,0,0,.6);} }

/* ---------- Week dots ---------- */
.week { display: flex; gap: 4px; }
.week .d {
  flex: 1; aspect-ratio: 1; max-width: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 9.5px; font-weight: 700; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line);
  transition: background .25s, color .25s, transform .25s;
}
.week .d.on { background: var(--sage); border-color: var(--sage); color: #fff; }
.week .d.today { border-color: var(--accent); border-width: 1.5px; }
.week .d.on.today { border-color: var(--sage); box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--accent); }
.week.lg .d { max-width: 32px; font-size: 11px; }
.week .d.pop { animation: pop .4s ease; }
@keyframes pop { 50% { transform: scale(1.25); } }

/* ---------- Personal grid ---------- */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cat-label {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 8px;
  font-family: var(--serif); font-size: 13px; font-weight: 700; color: var(--accent);
  margin: 12px 2px -2px; letter-spacing: .2px;
}
.cat-label:first-child { margin-top: 0; }
.cat-label::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.cat-label .n { font-family: var(--sans); font-weight: 600; font-size: 11px; color: var(--muted); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.p-card {
  padding: 13px 12px 11px; display: flex; flex-direction: column; gap: 10px; position: relative; min-height: 150px;
  cursor: pointer; transition: transform .15s;
}
.p-card:active { transform: scale(.985); }
.p-card .p-text {
  flex: 1; font-size: 14px; line-height: 1.55; white-space: pre-wrap; word-break: keep-all; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.p-card .shared-tag {
  position: absolute; top: 9px; right: 9px; width: 20px; height: 20px; border-radius: 50%; background: var(--sage-soft); color: var(--sage);
  display: grid; place-items: center;
}
.p-card .shared-tag svg { width: 12px; height: 12px; stroke-width: 2.2; }
.p-card.has-tag .p-text { padding-right: 18px; }
.p-card .week .d { font-size: 8.5px; }
.p-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.p-meta { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.p-meta b { color: var(--ink); font-weight: 700; }
.p-meta .fire { color: var(--gold); font-weight: 700; }

.pray-btn {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center;
  font-size: 19px; position: relative; flex: none; transition: transform .15s, background .2s;
}
.pray-btn:active { transform: scale(.9); }
.pray-btn.done { background: var(--accent); }
.plus-one {
  position: absolute; left: 50%; top: -4px; transform: translateX(-50%); font-size: 13px; font-weight: 800; color: var(--accent);
  pointer-events: none; animation: rise .8s ease-out forwards;
}
@keyframes rise { to { transform: translate(-50%, -26px); opacity: 0; } }

/* ---------- Empty states ---------- */
.empty { text-align: center; padding: 44px 20px; color: var(--muted); }
.empty .art { font-size: 40px; margin-bottom: 10px; }
.empty h3 { font-family: var(--serif); color: var(--ink); font-size: 18px; margin: 0 0 6px; }
.empty p { margin: 0 0 18px; font-size: 14px; }
.empty .btns { display: flex; flex-direction: column; gap: 8px; max-width: 260px; margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  height: 48px; border-radius: 14px; padding: 0 18px; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center;
  justify-content: center; gap: 6px; background: var(--accent); color: var(--accent-ink); transition: transform .12s, opacity .2s;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; }
.btn.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn.soft { background: var(--accent-soft); color: var(--accent); }
.btn.danger { background: transparent; color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 35%, transparent); }
.btn.sm { height: 36px; border-radius: 11px; font-size: 13px; padding: 0 12px; }
.btn.block { width: 100%; }
.link-btn { color: var(--accent); font-weight: 600; font-size: 14px; }

.fab {
  position: fixed; right: max(18px, calc(50% - 262px)); bottom: calc(var(--tab-h) + env(safe-area-inset-bottom) + 16px); z-index: 15;
  width: 56px; height: 56px; border-radius: 18px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 45%, transparent);
}
.fab svg { width: 26px; height: 26px; stroke-width: 2.2; }
.fab:active { transform: scale(.94); }

/* ---------- Shared page ---------- */
.chips { display: flex; gap: 6px; overflow-x: auto; margin: 0 -16px 14px; padding: 2px 16px 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 36px; padding: 0 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip .cnt { font-size: 11px; opacity: .7; }
.chip.add { color: var(--accent); border-style: dashed; }
.chip svg { width: 16px; height: 16px; }

.group-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 14px; padding: 10px 12px; margin-bottom: 14px; font-size: 13px; color: var(--muted);
}
.group-bar b { color: var(--ink); }
.group-bar .code { font-family: ui-monospace, Menlo, monospace; letter-spacing: 1.5px; color: var(--accent); font-weight: 700; }

.s-list { display: flex; flex-direction: column; gap: 12px; }
.s-card { padding: 15px 15px 12px; }
.s-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none;
  background: var(--sage-soft); color: var(--sage);
}
.avatar.me { background: var(--accent-soft); color: var(--accent); }
.s-head .who { flex: 1; min-width: 0; }
.s-head .who b { font-size: 14px; display: block; }
.s-head .who small { font-size: 12px; color: var(--muted); }
.s-text { font-size: 15.5px; line-height: 1.65; white-space: pre-wrap; word-break: keep-all; overflow-wrap: anywhere; margin: 0 0 14px; }
.s-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.s-row .week { flex: 1; max-width: 230px; }
.streak { font-size: 12.5px; color: var(--gold); font-weight: 700; white-space: nowrap; }
.streak.zero { color: var(--muted); font-weight: 500; }
.together {
  font-size: 12.5px; color: var(--ink-2); background: var(--surface-2); border-radius: 10px; padding: 8px 10px; margin-bottom: 10px;
  display: flex; justify-content: space-between; gap: 8px;
}
.together .who-list { min-width: 0; }
.together .total { color: var(--muted); white-space: nowrap; }
.s-foot { display: flex; gap: 8px; }
.s-pray {
  flex: 1; height: 44px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14.5px;
  display: flex; align-items: center; justify-content: center; gap: 7px; position: relative; transition: transform .12s, background .2s, color .2s;
}
.s-pray:active { transform: scale(.98); }
.s-pray.done { background: var(--accent); color: var(--accent-ink); }
.s-pray .cnt { font-size: 12px; font-weight: 600; opacity: .85; }
.s-pray .plus-one { color: var(--accent); }
.s-pray.done .plus-one { color: var(--accent); }
.s-cmt-btn {
  height: 44px; padding: 0 14px; border-radius: 13px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2);
  display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px;
}
.s-cmt-btn svg { width: 18px; height: 18px; }
.comments { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 10px; }
.cmt { display: flex; gap: 8px; padding: 6px 0; font-size: 13.5px; }
.cmt .avatar { width: 26px; height: 26px; font-size: 11px; }
.cmt .bub { flex: 1; min-width: 0; }
.cmt .bub b { font-size: 12.5px; margin-right: 6px; }
.cmt .bub time { font-size: 11px; color: var(--muted); }
.cmt .bub p { margin: 1px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.cmt .del { color: var(--muted); font-size: 11.5px; align-self: flex-start; padding: 2px 4px; }
.cmt-form { display: flex; gap: 6px; margin-top: 8px; }
.cmt-form input {
  flex: 1; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); padding: 0 12px; outline: none; min-width: 0;
  font-size: 16px;
}
.cmt-form input:focus { border-color: var(--accent); }
.cmt-form button { height: 40px; padding: 0 14px; border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 700; font-size: 13.5px; }

.push-banner {
  display: flex; align-items: center; gap: 10px; background: var(--sage-soft); color: var(--ink); border-radius: 14px; padding: 11px 12px; margin-bottom: 14px; font-size: 13px;
}
.push-banner svg { color: var(--sage); }
.push-banner .t { flex: 1; }
.push-banner button { font-weight: 700; color: var(--sage); font-size: 13px; white-space: nowrap; }

/* ---------- Alerts ---------- */
.alert-list { display: flex; flex-direction: column; }
.alert {
  display: flex; gap: 12px; padding: 13px 4px; border-bottom: 1px solid var(--line); align-items: flex-start;
}
.alert .ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-size: 17px; background: var(--surface); border: 1px solid var(--line); flex: none; }
.alert.unread .ic { background: var(--accent-soft); border-color: transparent; }
.alert .tx { flex: 1; min-width: 0; }
.alert .tx b { font-size: 13px; color: var(--muted); font-weight: 600; display: block; }
.alert .tx p { margin: 2px 0 0; font-size: 14.5px; overflow-wrap: anywhere; }
.alert time { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.alert.unread .tx p { font-weight: 600; }

/* ---------- Settings ---------- */
.section { margin-bottom: 22px; }
.section > h2 { font-size: 12.5px; font-weight: 700; color: var(--muted); margin: 0 4px 8px; letter-spacing: .3px; }
.list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.row { display: flex; align-items: center; gap: 12px; padding: 14px 15px; border-bottom: 1px solid var(--line); min-height: 54px; }
.row:last-child { border-bottom: 0; }
.row .grow { flex: 1; min-width: 0; }
.row .grow b { display: block; font-size: 15px; font-weight: 600; }
.row .grow small { color: var(--muted); font-size: 12.5px; }
.row > svg { color: var(--muted); width: 18px; height: 18px; }
button.row { width: 100%; text-align: left; }
.mono { font-family: ui-monospace, Menlo, monospace; letter-spacing: 1.5px; font-weight: 700; color: var(--accent); }
.switch { width: 48px; height: 28px; border-radius: 14px; background: var(--line); position: relative; transition: background .2s; flex: none; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.switch.on { background: var(--sage); }
.switch.on::after { transform: translateX(20px); }
.note { font-size: 12.5px; color: var(--muted); margin: 8px 4px 0; line-height: 1.55; }

/* ---------- Sheet (bottom modal) ---------- */
.sheet-backdrop {
  position: fixed; inset: 0; background: rgba(20, 14, 8, .38); z-index: 50; opacity: 0; transition: opacity .22s;
}
.sheet-backdrop.show { opacity: 1; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; max-width: 560px; margin: 0 auto;
  background: var(--surface); border-radius: 24px 24px 0 0; padding: 8px 18px calc(env(safe-area-inset-bottom) + 18px);
  max-height: 88vh; max-height: 88dvh; overflow-y: auto; transform: translateY(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 -8px 30px rgba(0,0,0,.12);
}
.sheet.show { transform: none; }
.sheet .grab { width: 38px; height: 4px; border-radius: 2px; background: var(--line); margin: 4px auto 12px; }
.sheet h3 { font-family: var(--serif); font-size: 20px; margin: 0 0 14px; }
.sheet .field { margin-bottom: 16px; }
.sheet label.lbl { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 7px; }
.input, .textarea {
  width: 100%; border: 1px solid var(--line); background: var(--surface-2); border-radius: 14px; padding: 12px 14px; outline: none;
  font-size: 16px; transition: border-color .2s;
}
.input { height: 50px; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.input:focus, .textarea:focus { border-color: var(--accent); }
.opt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.opt-chips .chip { height: 34px; font-size: 13.5px; }
.opt-chips .chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.opt-chips .chip.share.on { background: var(--sage); border-color: var(--sage); color: #fff; }
.sheet .actions { display: flex; gap: 8px; margin-top: 6px; }
.sheet .actions .btn { flex: 1; }

.detail-text { font-size: 16px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 16px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.stat { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 10px; text-align: center; }
.stat b { display: block; font-family: var(--serif); font-size: 22px; }
.stat small { font-size: 11.5px; color: var(--muted); }

.cat-row { display: flex; align-items: center; gap: 6px; padding: 6px 0; }
.cat-row .input { height: 44px; flex: 1; }
.cat-row .icon-btn { width: 36px; height: 36px; }
.cat-row .icon-btn.del { color: var(--danger); }
.menu-list { display: flex; flex-direction: column; }
.menu-list button { display: flex; align-items: center; gap: 12px; padding: 14px 4px; font-size: 15.5px; border-bottom: 1px solid var(--line); text-align: left; }
.menu-list button:last-child { border-bottom: 0; }
.menu-list button.danger { color: var(--danger); }
.member { display: flex; align-items: center; gap: 10px; padding: 8px 0; }

/* ---------- Onboarding ---------- */
.onboard { min-height: calc(100dvh - 40px); display: flex; flex-direction: column; justify-content: center; padding: 30px 6px 40px; }
.onboard .logo { width: 72px; height: 72px; border-radius: 22px; margin-bottom: 20px; box-shadow: var(--shadow); }
.onboard h1 { font-family: var(--serif); font-size: 30px; margin: 0 0 8px; letter-spacing: -.4px; }
.onboard p.lead { color: var(--ink-2); margin: 0 0 28px; font-size: 15px; line-height: 1.6; }
.onboard .field { margin-bottom: 14px; }
.onboard label.lbl { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 7px; }
.onboard .invite-hint { font-size: 12.5px; color: var(--sage); margin-top: 6px; }
.onboard .alt { text-align: center; margin-top: 18px; }

/* ---------- Toast ---------- */
#toast {
  position: fixed; left: 50%; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom) + 86px); transform: translate(-50%, 20px);
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; z-index: 80;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 40px); text-align: center;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Rotation lock ---------- */
#rotate-lock { display: none; }
@media (orientation: landscape) and (max-height: 520px) {
  #rotate-lock {
    display: grid; place-items: center; position: fixed; inset: 0; z-index: 999; background: var(--bg); color: var(--ink); text-align: center;
  }
  #rotate-lock svg { width: 54px; height: 54px; color: var(--accent); transform: rotate(-90deg); animation: turn 1.6s ease-in-out infinite; }
  #rotate-lock p { font-family: var(--serif); font-size: 18px; margin-top: 12px; }
  #app, #sheet-root { visibility: hidden; }
}
@keyframes turn { 0%, 30% { transform: rotate(-90deg); } 60%, 100% { transform: rotate(0deg); } }

.skeleton { height: 150px; border-radius: var(--radius); background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border: 1px solid var(--line); }
@keyframes sk { to { background-position: -200% 0; } }

/* export render target */
.export-doc { width: 720px; padding: 28px 32px; background: #fff; color: #222; font-family: var(--sans); }
.export-doc h1 { font-family: var(--serif); font-size: 26px; margin: 0 0 4px; color: #2B2621; }
.export-doc .meta { color: #888; font-size: 12px; margin-bottom: 18px; }
.export-doc h2 { font-family: var(--serif); font-size: 18px; color: #B8683E; margin: 22px 0 8px; border-bottom: 2px solid #F3E3D6; padding-bottom: 4px; }
.export-doc h3 { font-size: 13px; color: #5F8A6B; margin: 14px 0 6px; }
.export-doc table { width: 100%; border-collapse: collapse; font-size: 12px; }
.export-doc th { background: #F6F2EA; text-align: left; padding: 6px 8px; font-weight: 700; color: #555; border-bottom: 1px solid #E8E1D5; }
.export-doc td { padding: 7px 8px; border-bottom: 1px solid #EEE8DE; vertical-align: top; white-space: pre-wrap; }
.export-doc tr { page-break-inside: avoid; }
.export-doc .num { text-align: center; white-space: nowrap; }
body.typing .fab { opacity: 0; pointer-events: none; transform: scale(.8); }
.fab { transition: opacity .2s, transform .2s; }
