/* ═══════════════════════════════════════════════════════════════════════
   이츠밀 자료실 — 제철 도감 · 위생 문서
   eatsmil.css / v3.css 위에 얹는 지면(紙面) 규칙.
   인상: 인쇄물 · 견본표 · 월력(月曆). 헤어라인과 숫자로만 짠다.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --rs-ink: #1B2A22;
  --rs-hair: rgba(27, 42, 34, .13);
  --rs-hair-soft: rgba(27, 42, 34, .075);
  --rs-band: #2A6F52;
  --rs-band-soft: rgba(42, 111, 82, .15);
  --rs-band-mid: rgba(42, 111, 82, .30);
  --rs-paper: #FFFDF8;
  --rs-num: 'Pretendard', sans-serif;
}

/* ── 지면 상단 ─────────────────────────────────────────────────────── */
.rsTop {
  padding-top: calc(var(--nav-h) + clamp(38px, 5.4vw, 82px));
  padding-bottom: clamp(26px, 3.4vw, 46px);
}
.rsTop__in {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(20px, 4vw, 58px);
  align-items: end;
}
.rsTop h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4.5vw, 58px);
  line-height: 1.16;
  letter-spacing: -.04em;
  margin-top: 16px;
  text-wrap: balance;
}
.rsTop h1 em { font-style: italic; color: var(--green); }
.rsTop__meta {
  display: grid;
  gap: 14px;
  justify-items: start;
  max-width: 40ch;
}
.rsTop__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.rsTop__rule { margin-top: clamp(24px, 3vw, 40px); border-top: 1.5px solid var(--rs-ink); }
@media (max-width: 820px) { .rsTop__in { grid-template-columns: 1fr; } }

/* ── 문서 메타 띠 (판형·쪽수·갱신) ─────────────────────────────────── */
.metaBar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--rs-hair);
}
.metaBar__i {
  display: grid;
  gap: 3px;
  padding: 13px clamp(14px, 2vw, 26px) 13px 0;
  margin-right: clamp(14px, 2vw, 26px);
  border-right: 1px solid var(--rs-hair-soft);
}
.metaBar__i:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.metaBar__k {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.metaBar__v {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.metaBar__v em { font-style: normal; font-weight: 500; color: var(--muted); }

/* ── 섹션 ──────────────────────────────────────────────────────────── */
.rsSec { padding-block: clamp(40px, 5.4vw, 78px); }
.rsSec--tight { padding-block: clamp(28px, 3.4vw, 48px); }
.rsSec--band { background: var(--band); }
.rsHead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: clamp(14px, 3vw, 48px);
  align-items: end;
  margin-bottom: clamp(22px, 2.8vw, 38px);
}
.rsHead__t { display: grid; gap: 12px; }
.rsHead h2 {
  font-family: var(--serif);
  font-size: clamp(23px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -.032em;
  text-wrap: balance;
}
.rsHead__a {
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink-soft);
  max-width: 40ch;
  text-wrap: pretty;
}
.rsHead__a b { color: var(--ink); font-weight: 700; }
@media (max-width: 860px) { .rsHead { grid-template-columns: 1fr; align-items: start; } }

/* ═══════════════════════════════════════════════════════════════════
   월별 분포 막대 — '언제 무엇이 많은가'
   ═══════════════════════════════════════════════════════════════════ */
.mBar {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
  border-top: 1.5px solid var(--rs-ink);
  border-bottom: 1px solid var(--rs-hair-soft);
  padding-block: 16px 10px;
}
.mBar__c {
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 6px;
  justify-items: center;
  padding-inline: 2px;
  border-right: 1px solid var(--rs-hair-soft);
}
.mBar__c:last-child { border-right: 0; }
.mBar__col {
  position: relative;
  width: 100%;
  height: clamp(56px, 8vw, 92px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.mBar__bar {
  width: 58%;
  max-width: 26px;
  min-height: 3px;
  background: var(--rs-band-mid);
  border-radius: 1px 1px 0 0;
  transition: background .4s;
}
.mBar__c.is-peak .mBar__bar { background: var(--rs-band); }
.mBar__n {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.mBar__m {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.mBar__c.is-now .mBar__m { color: var(--green-deep); }
.mBar__c.is-now .mBar__n { color: var(--green-deep); }
.mBar__c.is-now .mBar__col::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 100%;
  background: repeating-linear-gradient(180deg, var(--amber) 0 3px, transparent 3px 6px);
  opacity: .55;
}
.mBar__c.is-now .mBar__bar { background: var(--amber); }
.mBar__cap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--muted);
}
.mBar__cap span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; line-height: 1; }
.mBar__cap i {
  width: 9px; height: 9px; border-radius: 1px; background: var(--rs-band); flex: none;
}
.mBar__cap i.mid { background: var(--rs-band-mid); }
.mBar__cap i.now { background: var(--amber); }

/* ═══════════════════════════════════════════════════════════════════
   제철 격자표
   ═══════════════════════════════════════════════════════════════════ */
.gridWrap {
  overflow-x: auto;
  border-top: 1.5px solid var(--rs-ink);
  background: var(--rs-paper);
}
.gridWrap::-webkit-scrollbar { height: 8px; }
.gridWrap::-webkit-scrollbar-thumb { background: rgba(27,42,34,.18); border-radius: 99px; }

.tblSeason {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
}
.tblSeason col.c-item { width: 132px; }
.tblSeason col.c-orig { width: 96px; }
.tblSeason col.c-m { width: 30px; }
.tblSeason col.c-note { width: 138px; }

.tblSeason thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--rs-paper);
  padding: 9px 4px 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--muted);
  text-align: center;
  border-bottom: 1px solid var(--rs-ink);
  white-space: nowrap;
}
.tblSeason thead th.h-item,
.tblSeason thead th.h-orig { text-align: left; padding-left: 10px; }
.tblSeason thead th.h-note { text-align: left; padding-left: 10px; }
.tblSeason thead th.is-now { color: var(--green-deep); }
.tblSeason thead th.is-now::after {
  content: '';
  display: block;
  width: 4px; height: 4px;
  margin: 3px auto 0;
  border-radius: 50%;
  background: var(--amber);
}
/* 계절 띠 */
.seasonStrip th {
  padding: 0 !important;
  border-bottom: 1px solid var(--rs-hair-soft) !important;
  height: 20px;
}
.seasonStrip .sp {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .22em;
  color: rgba(27,42,34,.42);
  text-transform: uppercase;
  border-right: 1px solid var(--rs-hair-soft);
}
.seasonStrip .sp:last-child { border-right: 0; }
.seasonStrip .sp--blank { border-right: 0; }

.tblSeason tbody tr.grp td {
  background: var(--ivory-warm);
  border-top: 1.5px solid var(--rs-ink);
  border-bottom: 1px solid var(--rs-hair-soft);
  padding: 7px 10px 6px;
}
.tblSeason tbody tr.grp:first-child td { border-top: 0; }
.grp__k {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
}
.grp__k em {
  font-family: var(--sans);
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--muted);
}

.tblSeason tbody td {
  padding: 0;
  border-bottom: 1px solid var(--rs-hair-soft);
  height: 25px;
}
.tblSeason tbody tr:hover td.cell,
.tblSeason tbody tr:hover td.t-item,
.tblSeason tbody tr:hover td.t-orig,
.tblSeason tbody tr:hover td.t-note { background: #FCF7EC; }

td.t-item {
  padding: 0 6px 0 10px !important;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
td.t-orig {
  padding: 0 6px 0 10px !important;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
td.t-orig b { font-weight: 700; color: var(--ink-soft); }
td.t-note {
  padding: 0 10px !important;
  font-size: 10.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -.01em;
}
td.t-note.is-year { color: var(--green); font-weight: 700; }

/* 월 셀 */
td.cell {
  position: relative;
  border-left: 1px solid var(--rs-hair-soft);
  background: var(--rs-paper);
}
td.cell:first-of-type { border-left: 1px solid var(--rs-hair); }
td.cell.on { background: var(--rs-band); }
td.cell.on + td.cell.on { border-left-color: rgba(255,255,255,.28); }
td.cell.mid { background: var(--rs-band-mid); }
td.cell.year { background: var(--rs-band-soft); }
td.cell.now::after {
  content: '';
  position: absolute;
  inset: 0;
  border-left: 1px solid rgba(233,162,59,.5);
  border-right: 1px solid rgba(233,162,59,.5);
  pointer-events: none;
}
td.cell.on.now { box-shadow: inset 0 0 0 1px var(--amber); }

/* 표 하단 요약 */
.tblFoot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
  padding-top: 12px;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.6;
}
.tblFoot__lg { display: inline-flex; align-items: center; gap: 7px; }
.tblFoot__lg i { width: 12px; height: 8px; border-radius: 1px; background: var(--rs-band); }
.tblFoot__lg i.mid { background: var(--rs-band-mid); }
.tblFoot__lg i.year { background: var(--rs-band-soft); }
.tblFoot__lg i.off { background: var(--rs-paper); border: 1px solid var(--rs-hair); }
.tblFoot__lg i.now { background: transparent; border: 1px solid var(--amber); }

/* ── 수산물 표 — 메모는 문장이므로 줄바꿈 허용 ─────────────────────
   (채소 표의 비고는 '6~11월' 같은 짧은 구간 표기라 nowrap 유지)          */
#seaTable col.c-item { width: 118px; }
#seaTable col.c-orig { width: 158px; }
#seaTable col.c-m { width: 32px; }
#seaTable col.c-note { width: auto; }
#seaTable tbody td { height: auto; }
#seaTable td.t-item,
#seaTable td.t-orig { vertical-align: middle; }
#seaTable td.t-note {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  padding: 7px 13px !important;
  font-size: 10.5px;
  line-height: 1.52;
  color: var(--ink-soft);
  vertical-align: middle;
  word-break: keep-all;
  text-wrap: pretty;
}

/* ═══════════════════════════════════════════════════════════════════
   이번 달 요약 — 칩
   ═══════════════════════════════════════════════════════════════════ */
.nowBox {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  border-top: 1.5px solid var(--rs-ink);
  padding-top: 18px;
  align-items: start;
}
.nowBox__side { display: grid; gap: 6px; align-content: start; min-width: 0; }
.nowBox__m {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.06em;
  color: var(--green-deep);
  font-variant-numeric: tabular-nums;
}
.nowBox__m em { font-style: normal; font-size: .32em; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.nowBox__k { font-size: 10.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.nowBox__d { font-size: 12px; line-height: 1.6; color: var(--muted); }
.chipGroups { display: grid; gap: 18px; min-width: 0; }
.chipRow { display: block; }
.chipRow__k {
  display: block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 7px;
  line-height: 1;
}
.chips { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 5px; min-width: 0; }
.chip {
  display: inline-block;
  padding: 4px 9px 5px;
  border: 1px solid var(--rs-hair);
  border-radius: 3px;
  background: var(--rs-paper);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--ink);
  white-space: nowrap;
}
.chip em {
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -.01em;
}
.chip--sea { border-color: rgba(42,111,82,.3); }
@media (max-width: 700px) {
  .nowBox { grid-template-columns: 1fr; }
  .chipRow { grid-template-columns: 1fr; gap: 5px; }
}

/* ═══════════════════════════════════════════════════════════════════
   자료실 허브 — 색인 줄
   ═══════════════════════════════════════════════════════════════════ */
.idx { border-top: 1.5px solid var(--rs-ink); }
.idx__row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1.15fr) minmax(0, .85fr) auto 30px;
  gap: clamp(12px, 2vw, 28px);
  align-items: center;
  padding: clamp(20px, 2.4vw, 30px) 0;
  border-bottom: 1px solid var(--rs-hair-soft);
  transition: background .35s, padding .35s;
}
.idx__row:hover { background: var(--rs-paper); padding-inline: 12px; }
.idx__n {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--amber);
  align-self: start;
  padding-top: 5px;
}
.idx__t {
  font-family: var(--serif);
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -.032em;
  transition: color .3s;
}
.idx__row:hover .idx__t { color: var(--green); }
.idx__s { font-size: 13px; line-height: 1.68; color: var(--muted); margin-top: 7px; max-width: 40ch; }
.idx__fig {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  border-left: 1px solid var(--rs-hair-soft);
  padding-left: clamp(10px, 1.6vw, 20px);
}
.idx__fig b { display: block; font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.idx__fmt { display: flex; gap: 4px; }
.idx__fmt span {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .09em;
  padding: 4px 6px;
  border-radius: 2px;
  background: var(--green-mist);
  color: var(--green-deep);
}
.idx__go { color: var(--muted); transition: transform .4s var(--ease-pop), color .3s; }
.idx__go svg { width: 18px; height: 18px; }
.idx__row:hover .idx__go { transform: translateX(5px); color: var(--green); }
@media (max-width: 940px) {
  .idx__row { grid-template-columns: 34px minmax(0, 1fr) 24px; }
  .idx__fig, .idx__fmt { display: none; }
}

/* 허브 상단 요약 3칸 */
.hubFacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1.5px solid var(--rs-ink);
  border-bottom: 1px solid var(--rs-hair-soft);
}
.hubFacts__i { padding: 20px 20px 22px 0; border-right: 1px solid var(--rs-hair-soft); display: grid; gap: 6px; }
.hubFacts__i + .hubFacts__i { padding-left: clamp(14px, 2vw, 24px); }
.hubFacts__i:last-child { border-right: 0; }
.hubFacts__v {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.045em;
  color: var(--green-deep);
  font-variant-numeric: tabular-nums;
}
.hubFacts__v em { font-style: normal; font-size: .46em; color: var(--green); margin-left: 2px; }
.hubFacts__k { font-size: 12px; line-height: 1.6; color: var(--muted); }
@media (max-width: 700px) {
  .hubFacts { grid-template-columns: 1fr; }
  .hubFacts__i, .hubFacts__i + .hubFacts__i { border-right: 0; padding-left: 0; border-bottom: 1px solid var(--rs-hair-soft); }
  .hubFacts__i:last-child { border-bottom: 0; }
}

/* ═══════════════════════════════════════════════════════════════════
   A4 종이 — 위생 점검표
   ═══════════════════════════════════════════════════════════════════ */
.paperStage {
  display: flex;
  justify-content: center;
  padding: clamp(10px, 2.4vw, 34px) 0 clamp(20px, 3vw, 40px);
}
.paperStage__in {
  width: 794px;
  transform-origin: top center;
  transform: scale(var(--ps, 1));
  will-change: transform;
}
.paper {
  position: relative;
  width: 794px;
  min-height: 1123px;
  background: #FFFEFB;
  color: var(--rs-ink);
  padding: 44px 46px 38px;
  box-shadow: 0 40px 70px -50px rgba(20,37,28,.55), 0 2px 6px rgba(20,37,28,.07);
  border: 1px solid rgba(27,42,34,.09);
  display: flex;
  flex-direction: column;
  font-size: 11px;
  line-height: 1.5;
  word-break: keep-all;
}
.paper__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--rs-ink);
}
.paper__brand { display: flex; align-items: center; gap: 9px; }
.paper__brand img { height: 17px; width: auto; }
.paper__brand span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--muted);
  padding-left: 9px;
  border-left: 1px solid var(--rs-hair);
}
.paper__no {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--muted);
  text-align: right;
  line-height: 1.7;
}
.paper__title { padding: 22px 0 16px; }
.paper__title h1 {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.2;
}
.paper__title p { margin-top: 8px; font-size: 10px; line-height: 1.6; color: var(--muted); max-width: 56ch; }
.paper__fill {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 6px 26px;
  align-items: center;
  justify-content: start;
  padding: 10px 13px;
  background: var(--ivory-warm);
  border: 1px solid var(--rs-hair-soft);
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 12px;
  white-space: nowrap;
}
.paper__fill > span { display: inline-flex; align-items: baseline; gap: 2px; white-space: nowrap; }
.paper__fill u {
  display: inline-block;
  min-width: 30px;
  border-bottom: 1px solid rgba(27,42,34,.32);
  text-decoration: none;
  margin-inline: 2px;
  height: 13px;
  vertical-align: baseline;
}

/* 점검표 본문 */
.chk {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 10px;
  flex: 1;
}
.chk col.c1 { width: 56px; }
.chk col.c2 { width: 72px; }
.chk col.c3 { width: auto; }
.chk col.c4 { width: 36px; }
.chk col.c5 { width: 42px; }
.chk col.c6 { width: 76px; }
.chk thead th {
  background: var(--green-mist);
  border: 1px solid var(--rs-hair);
  padding: 7px 3px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--green-deep);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
  word-break: keep-all;
}
.chk tbody td {
  border: 1px solid var(--rs-hair);
  padding: 5px 7px;
  vertical-align: middle;
  line-height: 1.45;
}
.chk td.g1 {
  background: rgba(231,239,231,.55);
  text-align: center;
  font-size: 9.5px;
  font-weight: 800;
  color: var(--green-deep);
  letter-spacing: -.01em;
  line-height: 1.35;
}
.chk td.g1 em { display: block; font-style: normal; font-size: 8px; font-weight: 700; color: var(--muted); letter-spacing: .04em; margin-top: 2px; }
.chk td.g2 {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--ink-soft);
  text-align: center;
  background: rgba(244,240,231,.5);
  line-height: 1.3;
}
.chk td.item { font-size: 9.8px; color: var(--rs-ink); overflow: hidden; }
.chk td.item b { font-weight: 700; }
.chk td.item .sub {
  display: block;
  font-size: 8.4px;
  line-height: 1.42;
  color: var(--muted);
  margin-top: 2px;
  word-break: keep-all;
}
.chk td.item .sub::before { content: '– '; }
.chk td.item .mini {
  display: block;
  margin-top: 4px;
  margin-left: 0;
}
.chk td.box { text-align: center; color: rgba(27,42,34,.28); font-size: 11px; }
.chk td.memo { background: rgba(250,248,243,.5); }
.chk tr.filled td.g1 { background: rgba(231,239,231,.55); }
.chk .mini {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 8.5px;
  color: var(--muted);
  white-space: nowrap;
  margin-right: 10px;
}
.chk .mini u {
  display: inline-block;
  min-width: 26px;
  border-bottom: 1px solid rgba(27,42,34,.32);
  text-decoration: none;
  height: 10px;
}

.paper__foot {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--rs-hair);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  font-size: 8px;
  line-height: 1.7;
  color: var(--muted);
  letter-spacing: .01em;
}
.paper__foot b { color: var(--ink-soft); font-weight: 700; }
.paper__sign {
  display: flex;
  gap: 18px;
  font-size: 9px;
  font-weight: 700;
  color: var(--ink-soft);
}
.paper__sign u {
  display: inline-block;
  min-width: 62px;
  border-bottom: 1px solid rgba(27,42,34,.4);
  text-decoration: none;
  margin-left: 6px;
}

/* 안내 문구 박스 (종이 안) */
.notePaper {
  margin-top: 12px;
  padding: 9px 12px;
  border: 1px solid var(--rs-hair-soft);
  border-left: 2px solid var(--green);
  background: rgba(250,248,243,.7);
  font-size: 8.8px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.notePaper b { color: var(--green-deep); }

/* ═══════════════════════════════════════════════════════════════════
   위생 팁 — 카드
   ═══════════════════════════════════════════════════════════════════ */
.tipHead {
  display: grid;
  grid-template-columns: 58px 148px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--rs-ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.tip {
  display: grid;
  grid-template-columns: 58px 148px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 20px 0 22px;
  border-bottom: 1px solid var(--rs-hair-soft);
  transition: background .35s;
}
.tip:hover { background: var(--rs-paper); }
.tip__n {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--amber);
  padding-top: 3px;
}
.tip__ico { display: grid; gap: 8px; align-content: start; }
.tip__ico svg { width: 30px; height: 30px; stroke: var(--green); fill: none; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.tip__cat {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--muted);
  text-transform: uppercase;
}
.tip__b { display: grid; gap: 10px; }
.tip__t {
  font-family: var(--serif);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: -.028em;
  color: var(--ink);
  text-wrap: pretty;
}
.tip__dual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--rs-hair-soft);
}
.tip__col { padding: 10px 16px 0 0; }
.tip__col + .tip__col { padding-left: 16px; border-left: 1px solid var(--rs-hair-soft); }
.tip__k {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.tip__k i { width: 5px; height: 5px; border-radius: 50%; flex: none; }
.tip__col--no .tip__k { color: #A8552F; }
.tip__col--no .tip__k i { background: #C0653A; }
.tip__col--yes .tip__k { color: var(--green); }
.tip__col--yes .tip__k i { background: var(--green); }
.tip__tx { font-size: 12.5px; line-height: 1.72; color: var(--ink-soft); text-wrap: pretty; }
.tip__tx b { color: var(--ink); font-weight: 700; }
.tip__src {
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--muted);
  padding-top: 2px;
}
@media (max-width: 780px) {
  .tipHead { display: none; }
  .tip { grid-template-columns: 42px minmax(0, 1fr); gap: 10px 12px; }
  .tip__ico { grid-row: 1 / 3; }
  .tip__dual { grid-template-columns: 1fr; }
  .tip__col + .tip__col { padding-left: 0; border-left: 0; border-top: 1px dashed var(--rs-hair); margin-top: 8px; }
}

/* 팁 상단 범례 */
.tipLegend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 12px 0 0;
  font-size: 11.5px;
  color: var(--muted);
}
.tipLegend span { display: inline-flex; align-items: center; gap: 6px; }
.tipLegend i { width: 5px; height: 5px; border-radius: 50%; }
.tipLegend i.no { background: #C0653A; }
.tipLegend i.yes { background: var(--green); }

/* ═══════════════════════════════════════════════════════════════════
   내려받기 · 인쇄 버튼
   ═══════════════════════════════════════════════════════════════════ */
.dlBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding-inline: 16px;
  border: 1.4px solid var(--rs-hair);
  border-radius: 999px;
  background: var(--rs-paper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  transition: border-color .3s, color .3s, transform .3s var(--ease-pop), background .3s;
}
.dlBtn svg { width: 15px; height: 15px; flex: none; }
.dlBtn:hover { border-color: var(--green); color: var(--green); transform: translateY(-1px); }
.dlBtn--solid { background: var(--green); border-color: var(--green); color: var(--ivory); }
.dlBtn--solid:hover { background: var(--green-deep); border-color: var(--green-deep); color: var(--ivory); }
.dlBtn[disabled] { opacity: .55; cursor: progress; transform: none; }

/* 자료 출처 각주 */
.srcNote {
  margin-top: clamp(28px, 3.4vw, 44px);
  padding-top: 14px;
  border-top: 1px solid var(--rs-hair-soft);
  display: grid;
  gap: 6px;
  font-size: 11.5px;
  line-height: 1.72;
  color: var(--muted);
  max-width: 78ch;
}
.srcNote b { color: var(--ink-soft); font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════════
   캡처(내보내기) 모드 — 같은 DOM을 1600px 지면으로 다시 조판
   ═══════════════════════════════════════════════════════════════════ */
.capHost { position: fixed; left: -12000px; top: 0; width: 1600px; background: var(--ivory); padding: 64px 64px 56px; }
.capHost .capHead { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding-bottom: 18px; border-bottom: 2px solid var(--rs-ink); margin-bottom: 26px; }
.capHost .capHead h3 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.18;
}
.capHost .capHead p { font-size: 14px; line-height: 1.7; color: var(--muted); margin-top: 8px; max-width: 62ch; }
.capHost .capHead__side { text-align: right; display: grid; gap: 4px; font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.capHost .capHead__side img { height: 22px; width: auto; margin-left: auto; }
.capHost .tblSeason { min-width: 0; }
.capHost .tblSeason tbody td { height: 30px; }
.capHost td.t-item { font-size: 15px; }
.capHost td.t-orig { font-size: 12.5px; }
.capHost td.t-note { font-size: 12px; }
.capHost .tblSeason thead th { font-size: 12px; padding: 11px 4px 10px; }
.capHost .grp__k { font-size: 17px; }
.capHost .mBar__col { height: 110px; }
.capHost .capFoot { display: flex; justify-content: space-between; gap: 20px; margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--rs-hair); font-size: 11.5px; color: var(--muted); }

/* ═══════════════════════════════════════════════════════════════════
   인쇄
   ═══════════════════════════════════════════════════════════════════ */
@media print {
  @page { size: A4 landscape; margin: 9mm; }
  html, body { background: #fff !important; }
  body { overflow: visible !important; }
  .nav, .navSheet, .foot, .subnav, .rsTop__acts, .dlBar, .noPrint, .lightbox { display: none !important; }
  .rsTop { padding-top: 0 !important; }
  .rsSec { padding-block: 0 !important; }
  .wrap { max-width: none; padding-inline: 0; }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .gridWrap { overflow: visible !important; border-top: 1.5px solid #000; }
  .tblSeason { min-width: 0; }
  .tblSeason thead th { position: static; background: #fff !important; }
  .tblSeason tbody tr { break-inside: avoid; }
  .tblSeason tbody tr.grp { break-after: avoid; }
  .mBar { break-inside: avoid; }
  .nowBox { break-inside: avoid; }
  .chip { border-color: rgba(0,0,0,.18); }
  /* 제철 값은 인쇄에서도 살아야 함 */
  td.cell.on { background: #2A6F52 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  td.cell.mid { background: rgba(42,111,82,.34) !important; }
  td.cell.year { background: rgba(42,111,82,.16) !important; }
  .paperStage { padding: 0 !important; }
  .paperStage__in { transform: none !important; width: auto !important; }
  .paper { box-shadow: none !important; border: 0 !important; min-height: 0 !important; }
}

/* 위생 점검표는 세로 A4로 인쇄 / 제철·팁은 가로 A4
   — 명명된 페이지(named page)로 분기. @page는 @media 안에 중첩할 수 없다. */
@page portrait { size: A4 portrait; margin: 9mm; }
@media print {
  body[data-print="portrait"] { page: portrait; }
  body[data-print="portrait"] .paper { min-height: 0 !important; }
}

/* 화면 전용 표시 제어 */
.onlyScreen { display: initial; }
@media print { .onlyScreen { display: none !important; } }

/* ── 리빌 기본 노출 ─────────────────────────────────────────────────
   자료 페이지는 '항상 읽히는 문서'가 우선. 스크립트·관찰자 상태와 무관하게
   내용은 보이게 두고, 모션은 부가로만 쓴다.                                */
body[data-page="season"] [data-reveal],
body[data-page="check"] [data-reveal],
body[data-page="tips"] [data-reveal],
body[data-page="hub"] [data-reveal] {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity .7s var(--ease-expo), transform .7s var(--ease-expo);
}


/* ── 공유 · 인쇄 QR ─────────────────────────────────────────────── */
.qrFoot { display: none; align-items: center; gap: 14px; margin-top: 22px; font-size: 12px; line-height: 1.55; color: var(--ink-soft); }
.qrFoot img { width: 84px; height: 84px; flex: none; }
.qrFoot p { margin: 0; }
.qrFoot--paper { display: flex; margin: 0 14px 0 0; flex: none; }
.qrFoot--paper img { width: 64px; height: 64px; }
.capHost .capFoot .capQr { width: 72px; height: 72px; vertical-align: middle; }
@media print { .qrFoot { display: flex; break-inside: avoid; } }

/* 화살표는 명조(Hahmlet)에 글리프가 없어 본문 고딕으로 */
.ar { font-style: normal; font-family: var(--sans); }
