/* AILO Recruit J13 — 랩보드 LABBOARD
   원형: F 사이드 내비형(왼쪽 고정 그래파이트 세로 내비 + 보드 안 필터 패널, 하단 비교 서랍) / 타이포: Pretendard + Spline Sans Mono(번호·라벨·숫자) / 컬러: 오프화이트 #f7f7f5 + 그래파이트 #22252b + 에메랄드 #0e9f6e(면·막대, 글자는 #087a54) — 1px 격자선의 "비교표" 질감 */

:root {
  --ailo-bg: #f7f7f5;
  --ailo-fg: #22252b;
  --ailo-muted: #50545c;
  --ailo-line: rgba(34, 37, 43, .14);
  --ailo-accent: #087a54;
  --ailo-accent-ink: #ffffff;
  --ailo-header-h: 0px;
  --ailo-chip-bg: #fff;
  --ailo-chip-h: 40px;
  --ailo-chip-radius: 6px;
  --j13-side: 264px;
  --j13-gr: #22252b;
  --j13-gr2: #2e323a;
  --j13-em: #0e9f6e;
  --j13-em-ink: #087a54;
  --j13-em-lt: #3fd29c;
  --j13-em-soft: #e2f4ec;
  --j13-paper: #ffffff;
  --j13-mono: "Spline Sans Mono", "Pretendard Variable", Pretendard, monospace;
  --j13-sec: clamp(72px, 8vw, 128px);
  --j13-pad: clamp(20px, 4vw, 64px);
}

body { font-size: 17px; color: var(--ailo-fg); background: var(--ailo-bg); }
p { line-height: 1.7; }
:focus-visible { outline: 2px solid var(--j13-em-ink); outline-offset: 2px; }
.sd :focus-visible, .ft :focus-visible, .cmp__bar :focus-visible { outline-color: var(--j13-em-lt); }

/* 본문 영역: 데스크톱은 사이드 내비만큼 비움 */
main, .ft { margin-left: var(--j13-side); }
.sec-in { max-width: 1240px; margin: 0 auto; padding: var(--j13-sec) var(--j13-pad); }

/* ---------- 공통 제목·버튼 ---------- */
.eb { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-family: var(--j13-mono); font-synthesis: none; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--j13-em-ink); }
.eb span:first-child { padding: 3px 8px; border: 1px solid currentColor; border-radius: 4px; line-height: 1.2; }
.eb--light { color: var(--j13-em-lt); }
.ttl { font-size: clamp(28px, 1.8vw + 16px, 48px); font-weight: 800; line-height: 1.25; letter-spacing: -.03em; text-wrap: balance; margin: 0; }
.lead { margin: 16px 0 0; font-size: clamp(16px, .25vw + 15px, 18px); font-weight: 400; line-height: 1.7; color: var(--ailo-muted); max-width: 38em; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 48px; flex-wrap: wrap; margin-bottom: clamp(32px, 3.5vw, 52px); }
.head .lead { margin: 0; max-width: 30em; }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; font-weight: 700; color: var(--ailo-fg); border-bottom: 1px solid currentColor; }
.more i { transition: transform .2s var(--ailo-ease); }
.more:hover { color: var(--j13-em-ink); }
.more:hover i { transform: translateX(4px); }

.bt { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 6px; font-size: 17px; font-weight: 700; border: 1px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.bt--em { background: var(--j13-em-ink); color: #fff; }
.bt--em:hover { background: #06623f; color: #fff; }
.bt--line { border-color: var(--j13-gr); color: var(--j13-gr); background: transparent; }
.bt--line:hover { background: var(--j13-gr); color: #fff; }

/* ---------- Side Nav ---------- */
.sd { position: fixed; left: 0; top: 0; bottom: 0; z-index: 100; width: var(--j13-side); display: flex; flex-direction: column; padding: 32px 24px 24px; background: var(--j13-gr); color: #fff; overflow-y: auto; scrollbar-width: none; }
.sd::-webkit-scrollbar { display: none; }
.sd__logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.sd__logo:hover { color: #fff; }
.sd__mark { flex: none; display: inline-flex; align-items: flex-end; gap: 3px; width: 32px; height: 32px; padding: 6px; border-radius: 6px; background: var(--j13-gr2); }
.sd__mark i { flex: 1; border-radius: 1px; background: var(--j13-em-lt); }
.sd__mark i:nth-child(1) { height: 55%; }
.sd__mark i:nth-child(2) { height: 100%; background: #fff; }
.sd__mark i:nth-child(3) { height: 75%; }
.sd__brand { font-family: var(--j13-mono); font-synthesis: none; font-size: 21px; font-weight: 600; letter-spacing: .02em; line-height: 1; }
.sd__brand small { display: block; margin-top: 6px; font-family: var(--ailo-font); font-size: 14px; font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, .72); }
.sd__nav { margin-top: 44px; }
.sd__nav ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.sd__nav li { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.sd__nav a { display: flex; align-items: center; gap: 14px; min-height: 52px; font-size: 16px; font-weight: 600; color: rgba(255, 255, 255, .86); transition: color .2s, padding .2s var(--ailo-ease); }
.sd__nav a span { font-family: var(--j13-mono); font-size: 14px; font-weight: 500; color: var(--j13-em-lt); }
.sd__nav a:hover { color: #fff; padding-left: 6px; }
.sd__foot { margin-top: auto; padding-top: 32px; }
.sd__season { margin: 0 0 18px; padding: 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 6px; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .8); }
.sd__season span { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--j13-em-lt); }
.sd__season b { font-family: var(--j13-mono); font-size: 22px; font-weight: 600; color: #fff; margin-right: 2px; }
.sd__member { display: flex; gap: 8px; }
.sd__member a { flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 6px; font-size: 15px; font-weight: 600; color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.sd__member a:last-child { background: var(--j13-em-ink); border-color: var(--j13-em-ink); }
.sd__member a:hover { border-color: #fff; }
.sd .ailo-burger { display: none; color: #fff; }

/* 모바일 메뉴 */
.mnav { background: var(--j13-gr); color: #fff; }
.mnav__in { min-height: 100%; padding: 96px 24px 40px; display: flex; flex-direction: column; }
.mnav__eb { font-family: var(--j13-mono); font-size: 14px; letter-spacing: .14em; color: var(--j13-em-lt); margin: 0 0 12px; }
.mnav ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.mnav li { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.mnav ul a { display: flex; align-items: center; gap: 16px; min-height: 60px; font-size: 20px; font-weight: 700; color: #fff; }
.mnav ul a span { font-family: var(--j13-mono); font-size: 14px; font-weight: 500; color: var(--j13-em-lt); }
.mnav__member { display: flex; gap: 10px; margin-top: 32px; }
.mnav__member a { flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-weight: 600; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); min-height: clamp(640px, 100svh, 900px); border-bottom: 1px solid var(--ailo-line); }
.hero__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 6vw, 96px) var(--j13-pad); }
.hero__copy .eb { gap: 10px; flex-wrap: wrap; }
.hero__title { margin: 8px 0 0; font-size: clamp(36px, 3.6vw + 12px, 76px); font-weight: 800; line-height: 1.14; letter-spacing: -.04em; }
.hero__title em { font-style: normal; color: var(--j13-em-ink); background: linear-gradient(transparent 70%, var(--j13-em-soft) 70%); }
.hero__sub { margin: 24px 0 0; max-width: 34em; font-size: clamp(16px, .3vw + 15px, 18px); color: var(--ailo-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.search { margin-top: 36px; max-width: 520px; padding-top: 24px; border-top: 1px solid var(--ailo-line); }
.search__label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--ailo-muted); }
.search__row { display: flex; background: #fff; border: 1px solid var(--ailo-line); border-radius: 6px; overflow: hidden; }
.search__row:focus-within { border-color: var(--j13-gr); }
.search__input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 0; background: transparent; font-size: 16px; }
.search__input:focus { outline: none; }
.search__btn { flex: none; width: 56px; border: 0; background: var(--j13-gr); color: #fff; font-size: 17px; }
.search__btn:hover { background: #000; }

.hero__media { position: relative; overflow: hidden; background: #dfe1dd; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.hero__peek { position: absolute; left: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); width: min(340px, calc(100% - 40px)); padding: 18px 20px 16px; background: rgba(255, 255, 255, .96); border-radius: 6px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .35); }
.hero__peek-t { margin: 0 0 12px; font-family: var(--j13-mono); font-size: 14px; font-weight: 600; letter-spacing: .1em; color: var(--j13-em-ink); }
.hero__peek-grid { display: grid; grid-template-columns: 88px repeat(3, 1fr); gap: 10px 8px; align-items: center; }
.hero__peek-grid .k { font-size: 14px; font-weight: 600; color: var(--ailo-fg); line-height: 1.3; }
.hero__peek-grid .k small { color: var(--ailo-muted); font-weight: 500; font-size: 12px; }
.hero__peek-grid .v { height: 8px; border-radius: 4px; background: #eceeea; overflow: hidden; }
.hero__peek-grid .v i { display: block; height: 100%; width: var(--w); background: var(--j13-gr); border-radius: 4px; transform-origin: left; animation: j13-grow 1.2s var(--ailo-ease) both; }
.hero__peek-grid .v:nth-child(4n+3) i { background: var(--j13-em); }
@keyframes j13-grow { from { transform: scaleX(0); } }
.hero__peek-n { display: grid; grid-template-columns: 88px repeat(3, 1fr); gap: 8px; margin: 10px 0 0; font-family: var(--j13-mono); font-size: 14px; font-weight: 600; color: var(--ailo-muted); }
.hero__peek-n span:first-child { grid-column: 2; }

/* ---------- Numbers ---------- */
.nums { border-bottom: 1px solid var(--ailo-line); background: var(--j13-paper); }
.nums__grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.nums__item { padding: clamp(24px, 3vw, 40px) var(--j13-pad); border-right: 1px solid var(--ailo-line); }
.nums__item:last-child { border-right: 0; }
.nums__item dt { font-size: 15px; font-weight: 600; color: var(--ailo-muted); }
.nums__item dt small { font-size: 14px; font-weight: 500; }
.nums__item dd { margin: 10px 0 0; display: flex; align-items: baseline; gap: 4px; }
.nums__item b { font-family: var(--j13-mono); font-synthesis: none; font-size: clamp(32px, 2.6vw + 12px, 52px); font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.nums__item dd span { font-size: 16px; font-weight: 600; color: var(--ailo-muted); }

/* ---------- Board ---------- */
.board { position: relative; padding: var(--j13-sec) var(--j13-pad); max-width: 1440px; }
.board__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 48px; flex-wrap: wrap; margin-bottom: clamp(28px, 3vw, 44px); }
.board__grid { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 32px; align-items: start; }

/* 필터 패널 */
.flt { position: sticky; top: 24px; }
.flt__toggle { display: none; border: 0; }
.flt__panel { background: var(--j13-paper); border: 1px solid var(--ailo-line); border-radius: 6px; }
.flt__top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--ailo-line); }
.flt__t { margin: 0; font-family: var(--j13-mono); font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.flt__reset { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border: 0; background: transparent; font-size: 14px; font-weight: 600; color: var(--ailo-muted); border-radius: 4px; }
.flt__reset:hover { color: var(--j13-em-ink); background: var(--j13-em-soft); }
.flt__q { position: relative; display: block; margin: 16px 18px 4px; }
.flt__q i { position: absolute; left: 12px; top: 50%; translate: 0 -50%; font-size: 14px; color: var(--ailo-muted); }
.flt__q input { width: 100%; height: 44px; padding: 0 12px 0 36px; border: 1px solid var(--ailo-line); border-radius: 6px; background: var(--ailo-bg); font-size: 15px; }
.flt__q input:focus { outline: none; border-color: var(--j13-gr); background: #fff; }
.flt__set { margin: 0; padding: 16px 18px; border: 0; border-bottom: 1px solid var(--ailo-line); min-width: 0; }
.flt__set:last-child { border-bottom: 0; }
.flt__set legend { float: none; width: auto; margin: 0 0 10px; padding: 0; font-size: 15px; font-weight: 700; line-height: 1.4; }
.flt__set legend small { font-size: 14px; font-weight: 500; color: var(--ailo-muted); margin-left: 4px; }
.flt__ck { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 15px; cursor: pointer; }
.flt__ck input { width: 18px; height: 18px; accent-color: var(--j13-em-ink); flex: none; }
.flt__ck em { margin-left: auto; font-style: normal; font-family: var(--j13-mono); font-size: 14px; color: var(--ailo-muted); }
.flt__chips { --ailo-chip-gap: 6px; }
.flt__chips .ailo-chip span, .mail__labs .ailo-chip span { font-size: 14px; padding: 0 12px; }
.ailo-chip input:checked + span { background: var(--j13-gr); border-color: var(--j13-gr); color: #fff; }
.flt__range-v { margin: 0 0 8px; font-size: 15px; color: var(--ailo-muted); }
.flt__range-v b { font-family: var(--j13-mono); font-weight: 600; color: var(--ailo-fg); }
.flt__hint { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--ailo-muted); }

/* 이중 범위 슬라이더 */
.range { position: relative; height: 36px; }
.range__track { position: absolute; left: 9px; right: 9px; top: 50%; height: 6px; margin-top: -3px; border-radius: 3px; background: #e3e5e1; }
.range__track i { position: absolute; top: 0; bottom: 0; left: 0; right: 0; border-radius: 3px; background: var(--j13-em); }
.range__in { position: absolute; left: 0; top: 0; width: 100%; height: 36px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; pointer-events: none; }
.range__in::-webkit-slider-runnable-track { height: 36px; background: transparent; }
.range__in::-moz-range-track { height: 36px; background: transparent; }
.range__in::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; margin-top: 8px; border-radius: 50%; background: #fff; border: 1px solid var(--j13-gr); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); cursor: grab; }
.range__in::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 1px solid var(--j13-gr); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); cursor: grab; }
.range__in:focus { outline: none; }
.range__in:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--j13-em-soft), 0 0 0 5px var(--j13-em-ink); }
.range__in:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--j13-em-soft), 0 0 0 5px var(--j13-em-ink); }

/* 결과 */
.res__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--j13-gr); }
.res__count { margin: 0; font-size: 17px; font-weight: 600; }
.res__count b { font-family: var(--j13-mono); font-size: 22px; font-weight: 600; color: var(--j13-em-ink); }
.res__sort { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; font-weight: 600; color: var(--ailo-muted); }
.res__sort select { height: 44px; padding: 0 36px 0 12px; border: 1px solid var(--ailo-line); border-radius: 6px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2322252b' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; font-size: 15px; font-weight: 600; color: var(--ailo-fg); }

.labs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.lab { position: relative; display: flex; flex-direction: column; background: var(--j13-paper); border: 1px solid var(--ailo-line); border-radius: 6px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.lab:hover { box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .22); }
.lab.is-picked { border-color: var(--j13-em); }
.lab.is-picked::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--j13-em); z-index: 2; }
.lab__link { display: flex; flex-direction: column; color: inherit; }
.lab__link:hover .lab__name { color: var(--j13-em-ink); }
.lab__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #e3e5e1; }
.lab__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ailo-ease); }
.lab__link:hover .lab__media img { transform: scale(1.04); }
.lab__cat { align-self: flex-start; margin: 16px 18px 0; padding: 2px 8px; border: 1px solid var(--ailo-line); border-radius: 4px; font-size: 14px; font-weight: 700; color: var(--j13-em-ink); }
.lab__name { display: block; margin: 10px 18px 0; font-size: 18px; font-weight: 700; line-height: 1.4; letter-spacing: -.02em; transition: color .2s; }
.lab__sum { display: block; margin: 6px 18px 0; font-size: 16px; line-height: 1.6; color: var(--ailo-muted); }
.lab__deg { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 18px 0; padding: 0; }
.lab__deg li { padding: 3px 9px; border-radius: 4px; background: var(--ailo-bg); font-size: 14px; font-weight: 600; }
.lab__spec { margin: 14px 18px 0; border-top: 1px solid var(--ailo-line); }
.lab__spec > div { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--ailo-line); font-size: 15px; }
.lab__spec dt { font-weight: 500; color: var(--ailo-muted); }
.lab__spec dd { margin: 0; font-weight: 600; }
.lab__spec small { font-size: 14px; font-weight: 500; color: var(--ailo-muted); }
.lab__spec .is-soon { color: #b4321f; }
.lab__foot { margin: 10px 18px 14px; font-family: var(--j13-mono); font-size: 14px; color: var(--ailo-muted); }
.lab__pick { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; border: 0; border-top: 1px solid var(--ailo-line); background: transparent; font-size: 16px; font-weight: 700; color: var(--ailo-fg); transition: background-color .2s, color .2s; }
.lab__pick:hover { background: var(--ailo-bg); }
.lab__pick[aria-pressed="true"] { background: var(--j13-em-soft); color: var(--j13-em-ink); }
.lab__pick:focus-visible { outline-offset: -3px; }
.lab[hidden] { display: none; }

.res__empty { padding: 40px 24px; text-align: center; background: var(--j13-paper); border: 1px dashed var(--ailo-line); border-radius: 6px; }
.res__empty p { margin: 0 0 16px; font-size: 17px; }
.res__note { margin: 20px 0 0; font-size: 16px; line-height: 1.6; color: var(--ailo-muted); }

/* ---------- 비교 서랍 ---------- */
.cmp { position: fixed; left: var(--j13-side); right: 0; bottom: 0; z-index: 90; display: flex; flex-direction: column; }
.cmp[hidden] { display: none; }
.cmp__dim { display: none; position: fixed; inset: 0; background: rgba(17, 19, 23, .5); z-index: -1; }
.cmp.is-open .cmp__dim { display: block; }
.cmp__bar { order: 2; display: flex; align-items: center; gap: 16px 24px; padding: 14px var(--j13-pad); background: var(--j13-gr); color: #fff; box-shadow: 0 -12px 30px -12px rgba(0, 0, 0, .35); }
.cmp.is-full .cmp__bar { animation: j13-nudge .4s var(--ailo-ease); }
@keyframes j13-nudge { 25% { translate: -6px 0; } 75% { translate: 6px 0; } }
.cmp__count { flex: none; margin: 0; display: flex; align-items: baseline; gap: 4px; font-size: 15px; }
.cmp__lbl { font-weight: 600; color: rgba(255, 255, 255, .8); margin-right: 4px; }
.cmp__count b { font-family: var(--j13-mono); font-size: 26px; font-weight: 600; color: var(--j13-em-lt); }
.cmp__count span:last-child { font-family: var(--j13-mono); color: rgba(255, 255, 255, .7); }
.cmp__slots { flex: 1; min-width: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; }
.slot { display: flex; align-items: center; gap: 8px; min-width: 0; height: 48px; padding: 0 6px 0 10px; border: 1px dashed rgba(255, 255, 255, .28); border-radius: 6px; }
.slot.is-on { border: 1px solid transparent; background: var(--j13-gr2); }
.slot__e { font-size: 14px; color: rgba(255, 255, 255, .62); }
.slot__n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 600; }
.slot__x { flex: none; width: 36px; height: 36px; border: 0; border-radius: 4px; background: transparent; color: rgba(255, 255, 255, .8); }
.slot__x:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.cmp__ab { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 4px; background: var(--j13-em); color: #fff; font-family: var(--j13-mono); font-size: 14px; font-weight: 600; }
.cmp__acts { flex: none; display: flex; gap: 8px; }
.cmp__open { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 6px; background: var(--j13-em-ink); color: #fff; font-size: 16px; font-weight: 700; }
.cmp__open:hover { background: #06623f; }
.cmp__open i { transition: rotate .25s var(--ailo-ease); }
.cmp.is-open .cmp__open i { rotate: 180deg; }
.cmp__clear { min-height: 48px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 6px; background: transparent; color: #fff; font-size: 15px; font-weight: 600; }
.cmp__clear:hover { border-color: #fff; }

.cmp__panel { order: 1; display: flex; flex-direction: column; max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); background: #fff; border-radius: 10px 10px 0 0; box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .4); animation: j13-up .3s var(--ailo-ease); }
.cmp__panel[hidden] { display: none; }
.cmp__panel:focus { outline: none; }
@keyframes j13-up { from { transform: translateY(24px); opacity: 0; } }
.cmp__ph { position: relative; padding: 22px var(--j13-pad) 16px; border-bottom: 1px solid var(--ailo-line); }
.cmp__title { margin: 0; font-size: clamp(20px, 1vw + 14px, 26px); font-weight: 800; letter-spacing: -.02em; }
.cmp__sub { margin: 4px 0 0; padding-right: 48px; font-size: 14px; color: var(--ailo-muted); }
.cmp__x { position: absolute; right: calc(var(--j13-pad) - 10px); top: 18px; width: 44px; height: 44px; border: 1px solid var(--ailo-line); border-radius: 6px; background: #fff; font-size: 18px; color: var(--ailo-fg); }
.cmp__x:hover { background: var(--ailo-bg); }
.cmp__body { overflow-y: auto; padding: 0 var(--j13-pad); overscroll-behavior: contain; }
.cmp__table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; }
.cmp__table th, .cmp__table td { padding: 14px 16px; border-bottom: 1px solid var(--ailo-line); text-align: left; vertical-align: top; line-height: 1.55; }
.cmp__table thead th { position: sticky; top: 0; z-index: 1; background: #fff; padding-top: 18px; border-bottom: 1px solid var(--j13-gr); }
.cmp__table thead th { padding-right: 52px; }
.cmp__table thead th strong { display: block; margin-top: 8px; font-size: 17px; font-weight: 700; line-height: 1.35; }
.cmp__table thead th em { display: block; margin-top: 2px; font-style: normal; font-size: 14px; font-weight: 500; color: var(--ailo-muted); }
.cmp__table thead th, .cmp__table td { position: relative; }
.cmp__table .cmp__rk { width: 150px; font-family: var(--j13-mono); font-size: 14px; letter-spacing: .1em; color: var(--ailo-muted); vertical-align: bottom; padding-right: 16px; }
.cmp__table tbody th { font-size: 15px; font-weight: 700; color: var(--ailo-fg); background: var(--ailo-bg); }
.cmp__table tbody th small, .cmpc dt small { font-size: 14px; font-weight: 500; color: var(--ailo-muted); }
.cmp__table td + td, .cmp__table th + td, .cmp__table thead th + th { border-left: 1px solid var(--ailo-line); }
.cmp__rm { position: absolute; right: 8px; top: 12px; width: 36px; height: 36px; border: 0; border-radius: 4px; background: transparent; color: var(--ailo-muted); font-size: 16px; }
.cmp__rm:hover { background: var(--ailo-bg); color: var(--ailo-fg); }
.tag { display: inline-block; margin: 0 2px 4px 0; padding: 2px 8px; border-radius: 4px; background: var(--ailo-bg); font-size: 14px; font-weight: 600; }
.na { color: var(--ailo-muted); font-style: italic; }
.best { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 4px; background: var(--j13-em-soft); color: var(--j13-em-ink); font-size: 14px; font-weight: 700; }
.cmp__cards { display: none; }
.cmp__more { margin: 16px 0; font-size: 15px; color: var(--ailo-muted); }
.cmp__more a { color: var(--j13-em-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cmp__pf { padding: 16px var(--j13-pad); border-top: 1px solid var(--ailo-line); }

html.j13-has-cmp body { padding-bottom: 80px; }

/* ---------- How ---------- */
.how { background: var(--j13-paper); border-top: 1px solid var(--ailo-line); border-bottom: 1px solid var(--ailo-line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ailo-line); border-radius: 6px; overflow: hidden; }
.step { position: relative; padding: clamp(24px, 2.6vw, 36px); border-right: 1px solid var(--ailo-line); }
.step:last-child { border-right: 0; }
.step__no { font-family: var(--j13-mono); font-size: 14px; font-weight: 600; letter-spacing: .12em; color: var(--j13-em-ink); }
.step__ico { position: absolute; right: clamp(24px, 2.6vw, 36px); top: clamp(24px, 2.6vw, 36px); font-size: 22px; color: var(--j13-gr); }
.step h3 { margin: 28px 0 10px; font-size: clamp(20px, .6vw + 16px, 24px); font-weight: 700; letter-spacing: -.02em; }
.step p { margin: 0; font-size: 16px; color: var(--ailo-muted); }
.crit { margin-top: clamp(40px, 4vw, 64px); }
.crit__t { margin: 0 0 16px; font-size: 20px; font-weight: 700; }
.crit__grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--j13-gr); }
.crit__grid > div { padding: 20px 24px 22px 0; border-bottom: 1px solid var(--ailo-line); }
.crit__grid > div:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--ailo-line); }
.crit__grid dt { display: flex; align-items: baseline; gap: 10px; font-size: 17px; font-weight: 700; }
.crit__grid dt span { font-family: var(--j13-mono); font-size: 14px; color: var(--j13-em-ink); }
.crit__grid dt small { font-size: 14px; font-weight: 500; color: var(--ailo-muted); }
.crit__grid dd { margin: 6px 0 0; font-size: 16px; line-height: 1.6; color: var(--ailo-muted); }

/* ---------- Fields ---------- */
.fields__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px 64px; align-items: center; }
.fbars { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--j13-gr); }
.fbars li { border-bottom: 1px solid var(--ailo-line); }
.fbar { display: grid; grid-template-columns: 88px minmax(0, 1fr) 64px; align-items: center; gap: 16px; width: 100%; min-height: 64px; padding: 0 8px; border: 0; background: transparent; text-align: left; color: var(--ailo-fg); transition: background-color .2s; }
.fbar:hover { background: var(--j13-paper); }
.fbar__k { font-size: 17px; font-weight: 700; }
.fbar__track { height: 12px; border-radius: 2px; background: #e6e8e4; overflow: hidden; }
.fbar__track i { display: block; height: 100%; width: var(--p); background: var(--j13-gr); border-radius: 2px; transition: background-color .2s; }
.fbar:hover .fbar__track i { background: var(--j13-em); }
.fbar__n { font-family: var(--j13-mono); font-size: 20px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.fbar__n small { font-family: var(--ailo-font); font-size: 14px; color: var(--ailo-muted); margin-left: 2px; }

/* ---------- Mail ---------- */
.mail { background: var(--j13-gr); color: #fff; }
.mail .eb { color: var(--j13-em-lt); }
.mail .lead { color: rgba(255, 255, 255, .78); }
.mail__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px; align-items: start; }
.mail__set { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.mail__set legend { float: none; width: auto; margin: 0 0 10px; padding: 0; font-size: 15px; font-weight: 700; line-height: 1.4; color: rgba(255, 255, 255, .9); }
.mail__labs { --ailo-chip-bg: transparent; --ailo-chip-line: rgba(255, 255, 255, .3); }
.mail__labs .ailo-chip span { color: #fff; }
.mail__labs .ailo-chip input:checked + span { background: var(--j13-em-ink); border-color: var(--j13-em-ink); color: #fff; }
.mail__none { margin: 0; padding: 14px 16px; border: 1px dashed rgba(255, 255, 255, .3); border-radius: 6px; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.mail__none a { color: var(--j13-em-lt); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.mail__none[hidden] { display: none; }
.mail__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fld { display: block; margin: 0 0 14px; }
.fld > span { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.fld > span b { color: #c2412b; }
.fld input:not([type=checkbox]):not([type=radio]), .fld select, .fld textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--ailo-line); border-radius: 6px; background: #fff; font-size: 16px; color: var(--ailo-fg); }
.fld textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.fld input[type=file] { padding: 10px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--j13-gr); box-shadow: 0 0 0 3px var(--j13-em-soft); }
.fld__hint { display: block; margin-top: 6px; font-style: normal; font-size: 14px; color: var(--ailo-muted); }
.mail .fld > span { color: rgba(255, 255, 255, .9); }
.mail .fld input, .mail .fld select { border-color: rgba(255, 255, 255, .12); }
.mail__tips { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.mail__tips li { display: flex; gap: 10px; padding: 4px 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.mail__tips i { margin-top: 5px; font-size: 14px; color: var(--j13-em-lt); }
.draft { background: #fff; color: var(--ailo-fg); border-radius: 8px; overflow: hidden; }
.draft__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--ailo-line); background: var(--ailo-bg); }
.draft__t { margin: 0; font-family: var(--j13-mono); font-size: 14px; font-weight: 600; letter-spacing: .06em; }
.draft__t i { color: var(--j13-em-ink); margin-right: 4px; }
.draft__copy { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 6px; background: var(--j13-em-ink); color: #fff; font-size: 15px; font-weight: 700; }
.draft__copy:hover { background: #06623f; }
.draft__txt { display: block; width: 100%; min-height: 420px; padding: 20px; border: 0; resize: vertical; font-size: 16px; line-height: 1.75; color: var(--ailo-fg); background: #fff; }
.draft__txt:focus { outline: none; box-shadow: inset 0 0 0 2px var(--j13-em-soft); }
.draft__status { margin: 0; min-height: 0; padding: 0 20px; font-size: 15px; font-weight: 600; color: var(--j13-em-ink); }
.draft__status:not(:empty) { padding: 12px 20px; border-top: 1px solid var(--ailo-line); background: var(--j13-em-soft); }
.draft__status.is-err { color: #9a2f1d; background: #fbeae6; }

/* ---------- Stories ---------- */
.stories__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.story a { display: flex; flex-direction: column; height: 100%; color: inherit; }
.story__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: #e3e5e1; }
.story__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ailo-ease); }
.story a:hover img { transform: scale(1.04); }
.story__cat { margin-top: 16px; font-family: var(--j13-mono); font-synthesis: none; font-size: 14px; font-weight: 600; color: var(--j13-em-ink); }
.story__title { margin-top: 8px; font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: -.02em; }
.story a:hover .story__title { text-decoration: underline; text-underline-offset: 4px; }
.story__sum { margin-top: 8px; font-size: 16px; line-height: 1.65; color: var(--ailo-muted); }
.story__date { margin-top: auto; padding-top: 14px; font-family: var(--j13-mono); font-size: 14px; color: var(--ailo-muted); }

/* ---------- Notice + FAQ ---------- */
.info { background: var(--j13-paper); border-top: 1px solid var(--ailo-line); }
.info__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; }
.info__h { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.info__t { margin: 0 0 12px; font-size: clamp(22px, .8vw + 16px, 28px); font-weight: 800; letter-spacing: -.02em; }
.info__h .info__t { margin: 0; }
.info .ailo-postlist { border-top-color: var(--j13-gr); }
.info .ailo-postlist a { font-size: 16px; }
.info .ailo-postlist__cat { font-size: 14px; font-weight: 700; color: var(--j13-em-ink); }
.info .ailo-postlist__date { font-family: var(--j13-mono); font-size: 14px; }
.faq { border-bottom: 1px solid var(--ailo-line); }
.info__faq .info__t { padding-bottom: 12px; margin-bottom: 0; border-bottom: 1px solid var(--j13-gr); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 12px 0; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--j13-mono); font-size: 22px; color: var(--j13-em-ink); transition: rotate .2s; }
.faq[open] summary::after { rotate: 45deg; }
.faq p { margin: 0 0 18px; font-size: 16px; color: var(--ailo-muted); }

/* ---------- Register ---------- */
.register { background: var(--j13-gr); color: #fff; }
.register .lead { color: rgba(255, 255, 255, .78); }
.register__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.register__photo { margin: 32px 0 0; border-radius: 6px; overflow: hidden; }
.register__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.form { padding: clamp(24px, 3vw, 40px); background: #fff; color: var(--ailo-fg); border-radius: 8px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__set { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.form__set legend { float: none; width: auto; margin: 0 0 8px; padding: 0; font-size: 15px; font-weight: 600; line-height: 1.4; }
.form__agree { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 20px; font-size: 14px; line-height: 1.6; color: var(--ailo-muted); cursor: pointer; }
.form__agree input { flex: none; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--j13-em-ink); }
.form__submit { width: 100%; }

/* ---------- Footer ---------- */
.ft { background: #1a1c21; color: rgba(255, 255, 255, .78); border-top: 1px solid rgba(255, 255, 255, .08); }
.ft__in { max-width: 1240px; margin: 0 auto; padding: clamp(48px, 5vw, 72px) var(--j13-pad) 36px; }
.ft__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ft__nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.ft__nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: rgba(255, 255, 255, .82); }
.ft__nav a b { color: #fff; }
.ft__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ft__info { margin: 24px 0 0; font-size: 14px; line-height: 1.85; }
.ft__note { margin: 12px 0 0; font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .66); }
.ft__copy { margin: 24px 0 0; font-family: var(--j13-mono); font-size: 13px; color: rgba(255, 255, 255, .6); }

/* ---------- 반응형 ---------- */
@media (max-width: 1279.98px) {
  .board__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .flt { position: static; }
  .flt__toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 1px solid var(--j13-gr); border-radius: 6px; background: #fff; font-size: 16px; font-weight: 700; color: var(--ailo-fg); }
  .flt__toggle[aria-expanded="true"] { background: var(--j13-gr); color: #fff; }
  .flt__on { padding: 1px 8px; border-radius: 4px; background: var(--j13-em-ink); color: #fff; font-size: 14px; }
  .flt__on[hidden] { display: none; }
  .flt__panel { display: none; margin-top: 12px; }
  .flt__panel.is-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flt__panel.is-open .flt__top, .flt__panel.is-open .flt__q { grid-column: 1 / -1; }
  .flt__panel.is-open .flt__set { border-bottom: 1px solid var(--ailo-line); }
  .flt__panel.is-open .flt__set:nth-of-type(odd) { border-right: 1px solid var(--ailo-line); }
}
@media (max-width: 1199.98px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
  .nums__grid { grid-template-columns: repeat(2, 1fr); }
  .nums__item:nth-child(2) { border-right: 0; }
  .nums__item:nth-child(-n+2) { border-bottom: 1px solid var(--ailo-line); }
  .crit__grid { grid-template-columns: repeat(2, 1fr); }
  .crit__grid > div:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .crit__grid > div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--ailo-line); }
  .cmp__slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  :root { --j13-side: 0px; }
  .sd { bottom: auto; right: 0; width: auto; height: 64px; flex-direction: row; align-items: center; justify-content: space-between; padding: 0 12px 0 20px; overflow: visible; }
  .sd__nav, .sd__foot { display: none; }
  .sd__brand { font-size: 18px; }
  .sd__brand small { display: none; }
  .sd__mark { width: 28px; height: 28px; padding: 5px; }
  .sd .ailo-burger { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; }
  main { padding-top: 64px; }
  main section[id] { scroll-margin-top: 64px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { padding-top: 48px; padding-bottom: 40px; }
  .hero__media { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--ailo-line); }
  .step:last-child { border-bottom: 0; }
  .fields__grid, .mail__grid, .info__grid, .register__grid { grid-template-columns: minmax(0, 1fr); }
  .stories__list { grid-template-columns: repeat(2, 1fr); }
  .stories__list .story:nth-child(3) { display: none; }
  .register__photo { display: none; }
}
@media (max-width: 767.98px) {
  .cmp__bar { flex-wrap: wrap; gap: 10px 12px; padding: 12px 16px; }
  .cmp__slots { order: 3; flex-basis: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .slot { height: 40px; padding: 0 2px 0 6px; gap: 4px; }
  .slot__n { font-size: 14px; }
  .slot__x { width: 32px; height: 32px; }
  .slot__e { font-size: 14px; }
  .slot .cmp__ab { width: 20px; height: 20px; font-size: 12px; }
  .cmp__acts { margin-left: auto; }
  .cmp__open { min-height: 44px; padding: 0 14px; font-size: 15px; }
  .cmp__clear { min-height: 44px; padding: 0 12px; font-size: 14px; }
  html.j13-has-cmp body { padding-bottom: 124px; }
  /* 펼치면 전체 화면 시트 */
  .cmp__panel { position: fixed; inset: 0; max-height: none; border-radius: 0; z-index: 2; }
  .cmp__tw { display: none; }
  .cmp__cards { display: grid; gap: 16px; padding: 16px 0; }
  .cmpc { border: 1px solid var(--ailo-line); border-radius: 6px; overflow: hidden; }
  .cmpc__h { position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 14px 52px 14px 14px; background: var(--ailo-bg); border-bottom: 1px solid var(--ailo-line); }
  .cmpc__h strong { display: block; font-size: 17px; line-height: 1.35; }
  .cmpc__h em { display: block; font-style: normal; font-size: 14px; color: var(--ailo-muted); }
  .cmpc__h .cmp__rm { top: 8px; right: 6px; }
  .cmpc dl { margin: 0; padding: 0 14px; }
  .cmpc dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--ailo-line); font-size: 15px; line-height: 1.55; }
  .cmpc dl > div:last-child { border-bottom: 0; }
  .cmpc dt { font-weight: 700; }
  .cmpc dd { margin: 0; }
  html.j13-cmp-open body { overflow: hidden; }
  .cmp.is-open { z-index: 120; }
  .cmp__pf .bt { width: 100%; }
  .nums__item { padding: 22px 20px; }
}
@media (max-width: 575.98px) {
  .hero__title { font-size: clamp(32px, 9vw, 40px); }
  .hero__actions .bt { flex: 1 1 auto; }
  .hero__peek { width: calc(100% - 32px); left: 16px; bottom: 16px; padding: 14px 14px 12px; }
  .hero__peek-grid, .hero__peek-n { grid-template-columns: 76px repeat(3, 1fr); }
  .flt__panel.is-open { grid-template-columns: minmax(0, 1fr); }
  .flt__panel.is-open .flt__set:nth-of-type(odd) { border-right: 0; }
  .res__bar { align-items: flex-start; flex-direction: column; }
  .crit__grid { grid-template-columns: 1fr; }
  .crit__grid > div:nth-child(even) { padding-left: 0; border-left: 0; }
  .fbar { grid-template-columns: 72px minmax(0, 1fr) 56px; gap: 10px; padding: 0; }
  .mail__row, .form__row { grid-template-columns: 1fr; gap: 0; }
  .stories__list { grid-template-columns: 1fr; }
  .stories__list .story:nth-child(3) { display: block; }
  .draft__txt { min-height: 380px; padding: 16px; }
  .draft__top { padding-left: 16px; }
  .info .ailo-postlist__date { display: none; }
  .form { padding: 22px 18px; }
}

/* 동작 줄이기 */
@media (prefers-reduced-motion: reduce) {
  .hero__peek-grid .v i, .cmp__panel, .cmp.is-full .cmp__bar { animation: none !important; }
  .lab, .lab__media img, .story__media img, .sd__nav a, .fbar__track i, .more i, .cmp__open i { transition: none !important; }
  .lab__link:hover .lab__media img, .story a:hover img { transform: none; }
}
