/* =========================================================
   코고 · 내 학습 › 학습 기록 r1 — 화면 스타일
   모든 규칙은 .clh1 아래로 한정합니다. 사이트 셸(사이드바·상단 바·푸터)은 건드리지 않습니다.
   A) 글꼴·토큰  B) 머리·탭  C) 요약 띠  D) 팔각형 카드  E) 점수 구성·다음 공부
   F) 기록 카드  G) 공용 부품  H) 모션  I) 모바일  J) 동작 줄이기
   ========================================================= */

/* ---------- A) 글꼴·토큰 ---------- */
@font-face{font-family:'COGO Learning Numbers R1';src:url('fonts/cogo-learning-numbers-r1.woff2') format('woff2');font-weight:500 900;font-style:normal;font-display:swap}

.clh1{
  --ink:#101322; --ink-2:#384053; --ink-3:#687083; --ink-4:#A0A7B4;
  --rule:#D6DBE4; --hair:#E8EBF0; --panel:#F6F6F2; --card:#FFFFFF; --line:rgba(16,19,34,.1);
  --brand:#2F6BFF; --brand-ink:#1E4FD6; --b1:#EDF2FF; --b2:#D3E0FF; --b3:#A6C0FF;
  --sun:#FFC23D; --sun-t:#FFF5D8; --sun-line:#F0CF73; --sun-ink:#7A5200;
  --ok:#0F9A4E; --ok-t:#E3F5EA; --bad:#D63A40; --bad-t:#FCEBEC;
  /* 등급 색(탐험가 기본값). 모듈이 등급에 맞춰 덮어씁니다. */
  --t1:#315c9c; --t2:#6ca8dc; --t-bg:#eef5ff; --t-ink:#243b5d; --t-line:#bdcfe7; --t-soft:#dae9fc;
  --f-sans:'Pretendard Variable',Pretendard,'Noto Sans KR','Apple SD Gothic Neo','Malgun Gothic',sans-serif;
  --f-num:'COGO Learning Numbers R1','COGO Parent Report Numbers R1','Unbounded',var(--f-sans);
  --ease:cubic-bezier(.2,.7,.2,1); --ease-out:cubic-bezier(.16,1,.3,1); --spring:cubic-bezier(.34,1.56,.64,1);
  --row-h:40px; --side-min:340px; --radar-w:470px;
  position:relative;box-sizing:border-box;height:100%;min-height:0;
  display:grid;grid-template-rows:auto auto auto minmax(0,1fr);row-gap:12px;
  color:var(--ink);font-family:var(--f-sans);font-size:13.5px;line-height:1.45;letter-spacing:-.01em;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
.clh1 *,.clh1 *::before,.clh1 *::after{box-sizing:border-box}
/* 초기화는 :where()로 점수를 0으로 둬서, 아래 부품 규칙이 언제나 이기게 합니다 */
:where(.clh1) :where(h1,h2,h3,p,ol,ul){margin:0}
:where(.clh1) :where(button){font:inherit;color:inherit;background:none;border:0;padding:0;margin:0;cursor:pointer;text-align:inherit;-webkit-tap-highlight-color:transparent}
:where(.clh1) :where(button:disabled){cursor:default}
.clh1 :is(button,select,[tabindex]):focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.clh1-ico{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.clh1-num{font-family:var(--f-num);font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.clh1-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- B) 머리·탭 (보호자 보고서 r1의 .ph/.ptabs와 같은 치수) ---------- */
.clh1-ph{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.clh1-ph h1{font-size:26px;font-weight:750;letter-spacing:-.65px;line-height:35px}
.clh1-ph p{margin-top:4px;font-size:13.5px;color:#7A8194}
.clh1-ph-link{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 12px 0 16px;border:1px solid #E7E7E8;border-radius:12px;background:#fff;font-size:13px;font-weight:800;color:#4A5163;transition:border-color .2s,color .2s}
.clh1-ph-link:hover{border-color:var(--b3);color:var(--brand-ink)}
.clh1-ph-link .clh1-ico{width:15px;height:15px;transition:transform .25s var(--ease)}
.clh1-ph-link:hover .clh1-ico{transform:translateX(2px)}

.clh1-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px}
.clh1-tabs{display:inline-flex;gap:2px;height:44px;padding:4px;border-radius:14px;background:#EDEFF3}
.clh1-tabs button{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 16px;border-radius:10px;font-size:13.5px;font-weight:700;color:#4A5163;white-space:nowrap;transition:background .2s,color .2s}
.clh1-tabs button:hover{color:var(--ink);background:rgba(255,255,255,.65)}
.clh1-tabs button[aria-current]{background:var(--brand);color:#fff;font-weight:800;box-shadow:0 6px 14px -8px rgba(47,107,255,.75)}
.clh1-tab-n{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--bad);color:#fff;font-family:var(--f-num);font-size:10px;font-weight:700;line-height:18px;text-align:center}
.clh1-tab-n[hidden]{display:none}
.clh1-last{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--ink-3);white-space:nowrap}
.clh1-last .clh1-ico{width:14px;height:14px;color:var(--ink-4)}
.clh1-last b{color:var(--ink-2);font-weight:700}
.clh1-sample{font-style:normal;margin-right:6px;padding:3px 9px;border-radius:999px;background:var(--sun-t);color:var(--sun-ink);font-size:11.5px;font-weight:800}

/* ---------- C) 요약 띠: 해결 · 다시 볼 · 혼자 확인 · 꾸준히 쌓은 하루 ---------- */
.clh1-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,2.6fr);min-height:94px;background:var(--card);border:1px solid var(--line);border-radius:18px;overflow:hidden}
.clh1-k{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 1fr auto;column-gap:10px;min-width:0;padding:12px 16px 12px 18px;text-align:left;transition:background .25s}
.clh1-k + .clh1-k{border-left:1px solid var(--hair)}
button.clh1-k:hover{background:#FAFBFD}
.clh1-k-label{grid-column:1/-1;display:flex;align-items:center;gap:3px;font-size:12.5px;font-weight:700;color:var(--ink-3)}
.clh1-k-go{width:13px;height:13px;opacity:0;transform:translateX(-3px);transition:opacity .2s,transform .2s}
button.clh1-k:hover .clh1-k-go,button.clh1-k:focus-visible .clh1-k-go{opacity:1;transform:none}
.clh1-k-num{grid-column:1;align-self:center;display:flex;align-items:baseline;gap:4px;min-width:0}
.clh1-k-num b{font-size:30px;line-height:1.12;color:var(--ink)}
.clh1-k-num small{font-size:13px;font-weight:700;color:var(--ink-3);white-space:nowrap}
.clh1-k-sub{grid-column:1;display:flex;align-items:center;gap:5px;min-width:0;font-size:12px;color:var(--ink-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.clh1-up{display:inline-flex;align-items:center;gap:2px;font-style:normal;font-weight:800;color:var(--ok)}
.clh1-up .clh1-ico{width:12px;height:12px;stroke-width:2.4}
.clh1-k-viz{grid-column:2;grid-row:2/4;align-self:end;justify-self:end}

.clh1-dots{display:grid;grid-template-columns:repeat(10,7px);gap:3px;align-content:end;justify-content:end}
.clh1-dots i{width:7px;height:7px;border-radius:2px;background:var(--c)}
.clh1-cards{display:flex;align-items:flex-end;gap:5px;height:46px}
.clh1-cards i{width:28px;height:34px;display:grid;place-items:center;border-radius:8px;background:#fff;border:1px solid var(--hair);border-top:3px solid var(--c);color:var(--bad);box-shadow:0 6px 12px -9px rgba(16,19,34,.4)}
.clh1-cards i .clh1-ico{width:14px;height:14px;stroke-width:2.2}
.clh1-cards i.is-ok{color:var(--ok);border-top-color:var(--ok)}
.clh1-ring{position:relative;width:46px;height:46px;display:grid;place-items:center}
.clh1-ring svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.clh1-ring .t{fill:none;stroke:var(--hair);stroke-width:4}
.clh1-ring.is-empty .t{stroke:#DADFE7;stroke-dasharray:2.2 3.2}
.clh1-ring .v{fill:none;stroke:var(--ok);stroke-width:4;stroke-linecap:round;stroke-dasharray:var(--len) var(--C)}
.clh1-ring.is-empty .v{display:none}
.clh1-ring b{font-family:var(--f-num);font-size:10.5px;font-weight:700;color:var(--ink-3)}

.clh1-k-cal{grid-template-columns:auto minmax(0,1fr);grid-template-rows:1fr;column-gap:24px}
.clh1-cal-hd{display:grid;grid-template-rows:auto 1fr auto;min-width:128px}
.clh1-flame{width:20px;height:20px;align-self:center;margin-right:1px;color:var(--ink-4)}
.clh1-flame.is-on{color:#F2762E;fill:#FFD9A8}
.clh1-cal-bd{display:grid;grid-template-rows:minmax(0,1fr) auto;align-items:end;min-width:0;row-gap:6px}
.clh1-weeks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end;max-width:640px;width:100%;justify-self:end}
.clh1-week{display:grid;gap:4px;min-width:0}
.clh1-week-d{font-size:10.5px;font-weight:700;color:var(--ink-4);font-variant-numeric:tabular-nums}
.clh1-cells,.clh1-dows{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
.clh1-day{width:100%;aspect-ratio:1;border-radius:4px;background:#E6E9EF;transition:transform .2s var(--ease),box-shadow .2s}
.clh1-day.lv1{background:#CDEBDD}.clh1-day.lv2{background:#93D3B4}.clh1-day.lv3{background:#46B583}.clh1-day.lv4{background:#0F9A4E}
.clh1-day:hover{transform:scale(1.22);box-shadow:0 0 0 1.5px #fff,0 0 0 3px var(--ink-4)}
.clh1-day.is-today{box-shadow:0 0 0 2px #fff,0 0 0 3.5px var(--brand)}
.clh1-day[aria-pressed="true"]{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--ink);transform:scale(1.12)}
.clh1-dows span{font-size:9.5px;line-height:1;color:var(--ink-4);text-align:center;white-space:nowrap}
.clh1-dows span.is-today{justify-self:end;color:var(--brand-ink);font-weight:800}
.clh1-cal-note{justify-self:end;font-size:12px;color:var(--ink-3)}
.clh1-cal-note b{color:var(--ink-2);font-weight:800}
.clh1-cal-note span{color:var(--ink-4)}

/* ---------- D) 팔각형 카드 ---------- */
.clh1-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:16px;min-height:0}
.clh1-shape{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr);min-height:0;min-width:0;padding:16px 18px 16px 20px;border-radius:22px;border:1px solid var(--t-line);overflow:hidden;
  background:radial-gradient(70% 88% at 28% 58%,var(--t-bg) 0%,rgba(255,255,255,0) 72%),radial-gradient(40% 50% at 100% 0%,rgba(255,194,61,.08),rgba(255,255,255,0) 70%),#fff}
.clh1-shape-hd,.clh1-shape-bd{display:grid;grid-template-columns:minmax(0,var(--radar-w)) minmax(var(--side-min),1fr);column-gap:18px}
.clh1-shape-hd{align-items:start;min-width:0;row-gap:12px}
.clh1-shape-tt{min-width:0}
.clh1-shape-tt h2{font-size:17px;font-weight:800;letter-spacing:-.4px}
.clh1-shape-tt p{margin-top:2px;font-size:12px;color:var(--ink-3)}
.clh1-shape-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}
.clh1-tier{position:relative;display:inline-flex;align-items:center;gap:10px;height:46px;padding:0 12px 0 6px;border-radius:15px;border:1px solid var(--t-line);background:rgba(255,255,255,.8);color:var(--t-ink);overflow:hidden;transition:border-color .2s,transform .2s}
.clh1-tier:hover{border-color:var(--t2)}
.clh1-tier::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.85) 50%,transparent 70%);transform:translateX(-120%);pointer-events:none}
.clh1-crest{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:var(--t-bg)}
.clh1-crest-svg{width:30px;height:30px;overflow:visible}
.clh1-crest-svg .cs-frame *{fill:none;stroke:var(--t1);stroke-width:8;stroke-linejoin:round}
.clh1-crest-svg .cs-sym *{fill:none;stroke:var(--t1);stroke-width:8;stroke-linejoin:round;stroke-linecap:round}
.clh1-crest-svg .cs-sym .cs-fill{fill:var(--t1);stroke:none}
.clh1-crest-svg .cs-sym .cs-shine{fill:#fff;stroke:none}
.clh1-crest-svg .cs-sym .cs-second{fill:var(--t2);stroke:none}
.clh1-crest-svg .cs-sym{transform-origin:100px 100px}
.clh1-tier-tx{display:grid;line-height:1.25;text-align:left}
.clh1-tier-tx b{font-size:13.5px;font-weight:800}
.clh1-tier-tx small{font-size:11px;color:var(--t1)}
.clh1-tier-lv{display:grid;flex:none;justify-items:end;gap:3px;margin-inline-start:auto;padding-left:10px;border-left:1px solid var(--t-line);line-height:1}
.clh1-tier-lv b{font-family:var(--f-num);font-size:12px;color:var(--t1)}
.clh1-tier-track{display:block;width:62px;height:4px;border-radius:2px;background:var(--t-soft);overflow:hidden}
.clh1-tier-track i{display:block;height:100%;width:max(7%,var(--p));border-radius:2px;background:linear-gradient(90deg,var(--t2),var(--t1))}
.clh1-tier-lv small{font-size:9.5px;color:var(--ink-4);font-variant-numeric:tabular-nums}
.clh1-icon-btn{width:46px;height:46px;display:grid;place-items:center;border-radius:15px;border:1px solid var(--t-line);background:rgba(255,255,255,.8);color:var(--t1);transition:border-color .2s}
.clh1-icon-btn:hover{border-color:var(--t2)}
.clh1-icon-btn .clh1-ico{width:18px;height:18px;transition:transform .5s var(--ease)}
.clh1-icon-btn:hover .clh1-ico{transform:rotate(-200deg)}

.clh1-shape-bd{min-height:0;margin-top:8px;row-gap:18px}
.clh1-radar-box{position:relative;min-height:0;min-width:0;display:grid;place-items:center}
.clh1-radar{display:block;width:100%;max-height:100%;overflow:visible}
.clh1-side{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:10px;min-height:0;min-width:0;container:clh1side/size}

/* 팔각형 SVG */
.clh1 .clh1-sa{stop-color:var(--t-soft)}
.clh1 .clh1-sb{stop-color:var(--brand)}
.clh1 .clh1-sc{stop-color:var(--t2)}
.clh1-r-halo{opacity:.95}
.clh1-r-ticks{transform-origin:280px 250px}
.clh1-r-ticks line{stroke:var(--t-line);stroke-width:1.3}
.clh1-r-sweep{transform-origin:280px 250px;opacity:0;transition:opacity 1.2s ease}
.clh1-r-sweep line{stroke:var(--t2);stroke-width:1.2;stroke-opacity:.55}
.clh1-r-grid{fill:none;stroke:var(--rule);stroke-width:1;stroke-opacity:.8}
.clh1-r-grid.is-max{stroke:var(--t1);stroke-opacity:.55;stroke-dasharray:.008 .008}
.clh1-r-spokes line{stroke:#DDE2EA;stroke-width:1}
.clh1-r-spokes line.is-empty{stroke-dasharray:.02 .025;stroke:#CBD2DD}
.clh1-r-scale text{font-family:var(--f-num);font-size:9px;fill:var(--ink-4)}
.clh1-r-area{stroke-width:2.6;stroke-linejoin:round;fill-opacity:0}
.clh1-r-glow{fill:none;stroke-width:9;opacity:0}
.clh1.is-drawn .clh1-r-area{fill-opacity:1}
.clh1.is-drawn .clh1-r-glow{opacity:.3}
.clh1-r-beam{stroke:var(--brand);stroke-width:1.4;stroke-dasharray:3 4;opacity:0;transition:opacity .3s}
.clh1.is-drawn .clh1-r-beam{opacity:.5}
.clh1-r-dot{fill:#fff;stroke:var(--brand);stroke-width:2.6;transition:r .25s var(--spring),fill .2s}
.clh1-r-ping{fill:var(--brand);opacity:0}
.clh1-r-pt.is-sel .clh1-r-dot{fill:var(--brand);stroke:#fff;r:7px}
.clh1-r-hollow{fill:#fff;stroke:var(--ink-4);stroke-width:1.6;stroke-dasharray:2.4 2.4}
.clh1-r-sparks circle{fill:var(--t2);opacity:0}
.clh1-r-core{fill:var(--t1);opacity:.45}
.clh1-r-label{cursor:pointer;outline:none}
.clh1-r-hit{fill:transparent;stroke:transparent;stroke-width:1.2;transition:fill .2s,stroke .2s}
.clh1-r-label:hover .clh1-r-hit{fill:rgba(255,255,255,.8);stroke:var(--t-line)}
.clh1-r-label.is-sel .clh1-r-hit{fill:#fff;stroke:var(--brand);stroke-width:1.6}
.clh1-r-label:focus-visible .clh1-r-hit{stroke:var(--brand);stroke-width:2.6}
.clh1-r-name{font-size:13px;font-weight:750;fill:var(--ink-2)}
.clh1-r-val{font-family:var(--f-num);font-size:19px;font-weight:700;fill:var(--ink)}
.clh1-r-sub{font-size:10.5px;font-weight:650;fill:var(--ink-3)}
.clh1-r-label.is-sel :is(.clh1-r-name,.clh1-r-val){fill:var(--brand-ink)}
.clh1-r-label.is-empty .clh1-r-val{fill:var(--ink-4)}

/* ---------- E) 점수 구성 · 다음 공부 ---------- */
.clh1-axis{position:relative;display:flex;flex-direction:column;gap:8px;min-height:0;padding:13px 16px 12px;border-radius:16px;background:rgba(255,255,255,.94);border:1px solid var(--hair);overflow:hidden}
.clh1-ax-hd{display:flex;align-items:center;gap:8px;min-width:0}
.clh1-swatch{width:10px;height:10px;border-radius:3px;background:var(--c);flex:none}
.clh1-ax-hd h3{font-size:15px;font-weight:800;white-space:nowrap}
.clh1-badge{flex:none;font-style:normal;font-size:11px;font-weight:800;padding:3px 8px;border-radius:999px}
.clh1-badge.is-strong{background:var(--b1);color:var(--brand-ink)}
.clh1-badge.is-grow{background:var(--sun-t);color:var(--sun-ink)}
.clh1-badge.is-empty{background:var(--panel);color:var(--ink-3)}
.clh1-more{margin-left:auto;display:inline-flex;align-items:center;gap:2px;font-size:12px;font-weight:700;color:var(--ink-3);white-space:nowrap}
.clh1-more .clh1-ico{width:13px;height:13px}
.clh1-more:hover{color:var(--brand-ink)}
.clh1-ax-score{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:baseline;column-gap:4px}
.clh1-ax-score > b{font-size:34px;line-height:1;color:var(--ink)}
.clh1-ax-score > span{font-size:14px;font-weight:800;color:var(--ink-3)}
.clh1-ax-score p{justify-self:end;font-size:12.5px;color:var(--ink-3);text-align:right}
.clh1-ax-score p strong{color:var(--ok);font-weight:800}
.clh1-stack{position:relative;display:flex;height:12px;border-radius:6px;background:repeating-linear-gradient(135deg,#F2F4F8 0 4px,#E8EBF1 4px 8px)}
.clh1-stack i{height:100%;width:var(--w);background:var(--c);transform-origin:left center}
.clh1-stack i:first-child{border-radius:6px 0 0 6px}
.clh1-stack-cap{position:absolute;left:var(--at);top:-4px;bottom:-4px;width:2px;margin-left:-1px;border-radius:1px;background:var(--ink)}
.clh1-parts{list-style:none;padding:0;display:grid;gap:5px;flex:1 1 auto;align-content:space-evenly;min-height:0}
.clh1-parts li.is-lever{margin:-2px -6px;padding:2px 6px;border-radius:7px;background:var(--b1)}
.clh1-parts li.is-lever .clh1-p-add{color:var(--brand-ink)}
.clh1-parts li{display:grid;grid-template-columns:98px minmax(0,1fr) 74px 38px;align-items:center;gap:8px;font-size:12.5px;min-height:18px}
.clh1-p-name{display:flex;align-items:center;gap:6px;font-weight:700;color:var(--ink-2);white-space:nowrap}
.clh1-p-name i{width:8px;height:8px;border-radius:2px;background:var(--c);flex:none}
.clh1-p-name small{font-size:10.5px;font-weight:600;color:var(--ink-4)}
.clh1-p-bar{height:6px;border-radius:3px;background:#EEF1F6;overflow:hidden}
.clh1-p-bar i{display:block;height:100%;width:var(--v);border-radius:3px;background:var(--c);transform-origin:left center}
.clh1-p-fact{font-size:11.5px;color:var(--ink-3);text-align:right;white-space:nowrap}
.clh1-p-add{font-family:var(--f-num);font-size:11px;font-weight:700;color:var(--ink-2);text-align:right}
.clh1-tip{display:flex;align-items:flex-start;gap:6px;padding:7px 10px;border-radius:10px;background:var(--b1);color:var(--ink-2);font-size:12px;line-height:1.45}
.clh1-tip .clh1-ico{width:14px;height:14px;margin-top:1px;color:var(--brand)}
.clh1-tip b{margin-right:5px;color:var(--brand-ink);font-weight:800}
.clh1-week7{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:auto 0}
.clh1-week7 span{display:grid;justify-items:center;gap:4px}
.clh1-week7 i{width:100%;height:24px;border-radius:7px;background:#EEF0F4}
.clh1-week7 span.is-on i{background:linear-gradient(180deg,#FFD467,#FFB020)}
.clh1-week7 span.is-today i{box-shadow:inset 0 0 0 2px var(--brand)}
.clh1-week7 small{font-size:10.5px;color:var(--ink-4)}
.clh1-week7 .is-today small{color:var(--brand-ink);font-weight:800}
.clh1-ladder{list-style:none;padding:0;display:flex;gap:6px}
.clh1-ladder li{flex:1;display:flex;align-items:baseline;justify-content:space-between;padding:6px 10px;border-radius:9px;border:1px dashed var(--sun-line);background:#FFFBEF;font-size:12px}
.clh1-ladder b{font-weight:800;color:var(--sun-ink)}
.clh1-ladder span{font-family:var(--f-num);font-size:11.5px;font-weight:700;color:var(--ink-2)}
.clh1-ax-empty{display:grid;gap:12px;align-content:center;flex:1 1 auto}
.clh1-ax-empty p{font-size:13px;line-height:1.65;color:var(--ink-2)}

.clh1-next h3{margin:0 0 5px 2px;font-size:13px;font-weight:800;color:var(--ink-2)}
.clh1-next ol{list-style:none;padding:0;display:grid;gap:5px}
.clh1-step{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;padding:5px 6px 5px 8px;border-radius:12px;border:1px solid var(--hair);background:rgba(255,255,255,.9)}
.clh1-step.tone-bad{--tone:var(--bad);--tone-t:var(--bad-t)}
.clh1-step.tone-sun{--tone:var(--sun-ink);--tone-t:var(--sun-t)}
.clh1-step.tone-brand{--tone:var(--brand-ink);--tone-t:var(--b1)}
.clh1-step-n{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:var(--tone-t);color:var(--tone);font-family:var(--f-num);font-size:11.5px;font-weight:700}
.clh1-step-tx{display:grid;min-width:0;line-height:1.3}
.clh1-step-tx b{font-size:13px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.clh1-step-tx small{font-size:11.5px;color:var(--ink-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.clh1-step-go{display:inline-flex;align-items:center;gap:1px;height:30px;padding:0 7px 0 11px;border-radius:9px;background:var(--tone-t);color:var(--tone);font-size:12px;font-weight:800;white-space:nowrap;transition:filter .2s}
.clh1-step-go .clh1-ico{width:13px;height:13px;transition:transform .25s var(--ease)}
.clh1-step-go:hover{filter:brightness(.97)}
.clh1-step-go:hover .clh1-ico{transform:translateX(2px)}

/* 설명 칸이 낮을 때(작은 창): 덜 중요한 줄부터 접습니다 */
@container clh1side (max-height:440px){
  .clh1-stack{display:none}
  .clh1-axis{gap:7px;padding:12px 14px 11px}
  .clh1-ax-score > b{font-size:32px}
}
@container clh1side (max-height:400px){
  .clh1-p-fact{display:none}
  .clh1-parts li{grid-template-columns:98px minmax(0,1fr) 38px}
  .clh1-step-tx small{display:none}
  .clh1-step{padding:5px 6px 5px 8px}
}

/* ---------- F) 기록 카드 ---------- */
.clh1-log{container:clh1log/inline-size;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);min-height:0;min-width:0;padding:16px 16px 10px 18px;border-radius:18px;background:var(--card);border:1px solid var(--line)}
.clh1-log-hd{grid-row:1;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;min-width:0}
.clh1-log-hd h2{display:flex;align-items:baseline;gap:2px;font-size:17px;font-weight:800;letter-spacing:-.4px;white-space:nowrap}
.clh1-log-hd h2 b{margin-left:6px;font-size:16px;color:var(--brand-ink)}
.clh1-log-hd h2 small{font-size:12.5px;font-weight:700;color:var(--ink-3)}
.clh1-log-tools{display:flex;align-items:center;gap:8px;min-width:0}
.clh1-seg{display:inline-flex;padding:3px;border-radius:11px;background:#EDEFF3}
.clh1-seg button{display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 9px;border-radius:8px;font-size:12.5px;font-weight:700;color:#4A5163;white-space:nowrap;transition:background .2s,color .2s}
.clh1-seg button i{font-style:normal;font-family:var(--f-num);font-size:10.5px;font-weight:700;color:var(--ink-4)}
.clh1-seg button[aria-checked="true"]{background:#fff;color:var(--ink);box-shadow:0 1px 2px rgba(16,19,34,.12)}
.clh1-seg button[aria-checked="true"] i{color:var(--brand-ink)}
.clh1-sel{position:relative;display:inline-flex;align-items:center}
.clh1-sel select{appearance:none;height:36px;padding:0 30px 0 12px;border-radius:11px;border:1px solid var(--hair);background:#fff;font:inherit;font-size:12.5px;font-weight:700;color:var(--ink-2);cursor:pointer}
.clh1-sel .clh1-ico{position:absolute;right:9px;width:14px;height:14px;color:var(--ink-3);pointer-events:none}
.clh1-daychip{grid-row:2;display:flex;align-items:center;gap:8px;margin:-2px 0 8px;padding:6px 8px 6px 10px;border-radius:10px;background:var(--b1);font-size:12.5px;color:var(--ink-2)}
.clh1-daychip[hidden]{display:none}
.clh1-daychip > .clh1-ico{width:14px;height:14px;color:var(--brand)}
.clh1-daychip b{color:var(--brand-ink)}
.clh1-daychip button{margin-left:auto;display:inline-flex;align-items:center;gap:3px;font-size:12px;font-weight:800;color:var(--brand-ink)}
.clh1-daychip button .clh1-ico{width:12px;height:12px}

.clh1-list{grid-row:3;position:relative;min-height:0;overflow:hidden}
.clh1-list::before{content:"";position:absolute;left:73px;top:10px;bottom:10px;width:1px;background:var(--hair);transform-origin:top}
.clh1-row{position:relative;display:grid;grid-template-columns:80px minmax(0,1fr) 76px;align-items:center;height:var(--row-fit,var(--row-h))}
.clh1-row.is-first:not(:first-child)::after{content:"";position:absolute;left:84px;right:0;top:0;height:1px;background:var(--hair)}
.clh1-row.is-first::before{content:"";position:absolute;left:69.5px;top:50%;width:8px;height:8px;margin-top:-4px;border-radius:50%;background:#fff;border:2px solid var(--ink-4);z-index:1}
.clh1-row.is-first:has(.clh1-rail small:empty)::before{border-color:var(--ink-4)}
.clh1-rail{display:grid;align-content:center;padding-right:18px;text-align:right;line-height:1.15;min-width:0}
.clh1-rail b{font-family:var(--f-num);font-size:12px;font-weight:700;color:var(--ink)}
.clh1-rail small{font-size:10.5px;color:var(--ink-4);white-space:nowrap}
.clh1-row-main{display:grid;grid-template-columns:24px minmax(0,1fr) 44px 40px 58px;align-items:center;gap:8px;height:34px;margin-left:4px;padding:0 10px 0 8px;border-radius:10px;min-width:0;transition:background .2s}
.clh1-row-main:hover{background:#F4F6FA}
.clh1-st{width:22px;height:22px;display:grid;place-items:center;border-radius:7px}
.clh1-st .clh1-ico{width:13px;height:13px;stroke-width:2.3}
.clh1-row.is-ok .clh1-st{background:var(--ok-t);color:var(--ok)}
.clh1-row.is-aided .clh1-st{background:var(--b1);color:var(--brand)}
.clh1-row.is-bad .clh1-st{background:var(--bad-t);color:var(--bad)}
.clh1-row.is-later .clh1-st{background:var(--panel);color:var(--ink-4)}
.clh1-row-t{display:flex;align-items:center;gap:6px;min-width:0;font-size:13.5px;font-weight:650;color:var(--ink)}
.clh1-row-t > span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.clh1-tag{flex:none;font-style:normal;font-size:10.5px;font-weight:800;padding:2px 6px;border-radius:6px;background:var(--panel);color:var(--ink-3)}
.clh1-tag.is-ok{background:var(--ok-t);color:var(--ok)}
.clh1-subj{justify-self:start;font-size:11.5px;font-weight:800;color:var(--c);padding:2px 7px;border-radius:6px;background:color-mix(in srgb,var(--c) 10%,#fff);white-space:nowrap}
.clh1-time{font-size:12px;color:var(--ink-3);font-variant-numeric:tabular-nums;text-align:right}
.clh1-res{justify-self:end;font-size:11.5px;font-weight:800;padding:3px 8px;border-radius:999px;white-space:nowrap}
.clh1-row.is-ok .clh1-res{background:var(--ok-t);color:var(--ok)}
.clh1-row.is-aided .clh1-res{background:var(--b1);color:var(--brand-ink)}
.clh1-row.is-bad .clh1-res{background:var(--bad-t);color:var(--bad)}
.clh1-row.is-later .clh1-res{background:var(--panel);color:var(--ink-3)}
.clh1-row-act{justify-self:end;height:30px;padding:0 10px;border-radius:9px;border:1px solid #F1C3C6;background:#fff;color:var(--bad);font-size:12px;font-weight:800;white-space:nowrap;transition:background .2s}
.clh1-row-act:hover{background:var(--bad-t)}
.clh1-log-ft{grid-row:4;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:4px;padding-top:8px;border-top:1px solid var(--hair)}
.clh1-pageinfo{font-size:12px;color:var(--ink-3);font-variant-numeric:tabular-nums;white-space:nowrap}
.clh1-pageinfo em{margin-left:6px;padding:2px 7px;border-radius:6px;background:var(--panel);font-style:normal;font-size:11px}
.clh1-pager{display:flex;align-items:center;gap:6px}
.clh1-pager button{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;border:1px solid var(--hair);background:#fff;color:var(--ink-2);transition:border-color .2s}
.clh1-pager button:not(:disabled):hover{border-color:var(--b3);color:var(--brand-ink)}
.clh1-pager button:disabled{opacity:.4}
.clh1-pager b{min-width:46px;text-align:center;font-family:var(--f-num);font-size:12px;font-weight:700}
.clh1-pager b small{font-size:11px;color:var(--ink-4)}
.clh1-empty{height:100%;display:grid;place-content:center;justify-items:center;gap:6px;padding:20px;text-align:center}
.clh1-empty b{font-size:14px;font-weight:800}
.clh1-empty p{font-size:12.5px;color:var(--ink-3)}

/* 기록 카드가 좁을 때(작은 노트북): 덜 중요한 칸부터 접습니다 */
@container clh1log (max-width:600px){
  .clh1-seg button i{display:none}
  .clh1-row{grid-template-columns:66px minmax(0,1fr) 72px}
  .clh1-list::before{left:59px}
  .clh1-row.is-first::before{left:55.5px}
  .clh1-row.is-first:not(:first-child)::after{left:70px}
  .clh1-rail{padding-right:16px}
  .clh1-row-main{grid-template-columns:24px minmax(0,1fr) 42px 50px;padding-right:6px}
  .clh1-time{display:none}
  .clh1-tag:not(.is-ok){display:none}
}

/* ---------- G) 공용 부품 ---------- */
.clh1-btn{display:inline-flex;align-items:center;justify-self:start;gap:3px;height:36px;margin-top:4px;padding:0 10px 0 14px;border-radius:11px;background:var(--brand);color:#fff;font-size:13px;font-weight:800;box-shadow:0 8px 16px -10px rgba(47,107,255,.8)}
.clh1 .clh1-btn{color:#fff}
.clh1-btn .clh1-ico{width:14px;height:14px}
.clh1-empty .clh1-btn{justify-self:center}

/* ---------- H) 모션 ----------
   한 번의 등장 연출(요약 띠가 왼쪽부터 열림 → 팔각형이 그려짐 → 기록이 날짜선을 따라 적힘)과
   눌렀을 때의 반응, 그리고 팔각형 주변의 잔잔한 움직임만 둡니다. */
@keyframes clh1-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes clh1-fade{from{opacity:0}}
@keyframes clh1-wipe{from{clip-path:inset(0 100% 0 0);opacity:.3}to{clip-path:inset(0 0 0 0);opacity:1}}
@keyframes clh1-pop{from{transform:scale(0);opacity:0}}
@keyframes clh1-drop{from{translate:0 -16px;opacity:0}}
@keyframes clh1-ring{from{stroke-dasharray:0 var(--C)}}
@keyframes clh1-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes clh1-grow{from{transform:scaleY(0)}}
@keyframes clh1-row{from{opacity:0;transform:translateX(-10px)}}
@keyframes clh1-bar{from{transform:scaleX(0)}}
@keyframes clh1-spin{to{transform:rotate(360deg)}}
@keyframes clh1-ping{0%{opacity:.35;r:6px}75%,100%{opacity:0;r:22px}}
@keyframes clh1-today{0%,100%{box-shadow:0 0 0 2px #fff,0 0 0 3.5px var(--brand)}50%{box-shadow:0 0 0 2px #fff,0 0 0 6px rgba(47,107,255,.28)}}
@keyframes clh1-bob{to{translate:0 -3px}}
@keyframes clh1-flicker{0%,100%{transform:scale(1)}45%{transform:scale(1.1) rotate(-4deg)}70%{transform:scale(.96) rotate(2deg)}}
@keyframes clh1-shine{0%,72%{transform:translateX(-120%)}100%{transform:translateX(120%)}}
@keyframes clh1-compass{0%,100%{transform:rotate(0)}38%{transform:rotate(16deg)}62%{transform:rotate(-9deg)}}

.clh1.is-intro .clh1-ph{animation:clh1-in .6s var(--ease-out) both}
.clh1.is-intro .clh1-bar{animation:clh1-in .6s var(--ease-out) 60ms both}
.clh1.is-intro .clh1-strip > *{animation:clh1-wipe .8s var(--ease-out) both;animation-delay:calc(var(--n,0) * 90ms + 140ms)}
.clh1-strip > :nth-child(2){--n:1}.clh1-strip > :nth-child(3){--n:2}.clh1-strip > :nth-child(4){--n:3}
.clh1.is-intro .clh1-dots i{animation:clh1-pop .45s var(--spring) both;animation-delay:calc(var(--i) * 13ms + 420ms)}
.clh1.is-intro .clh1-cards i{animation:clh1-drop .6s var(--spring) both;animation-delay:calc(var(--i) * 130ms + 560ms)}
.clh1.is-intro .clh1-ring .v{animation:clh1-ring 1.1s var(--ease-out) .7s both}
.clh1.is-intro .clh1-day{animation:clh1-pop .5s var(--spring) both;animation-delay:calc(var(--i) * 16ms + 600ms)}
.clh1.is-intro .clh1-shape{animation:clh1-fade .7s ease 180ms both}
.clh1.is-intro .clh1-log{animation:clh1-in .7s var(--ease-out) 260ms both}
.clh1.is-intro .clh1-list::before{animation:clh1-grow 1s var(--ease-out) .45s both}
.clh1.is-intro .clh1-row,.clh1-list.is-anim .clh1-row{animation:clh1-row .5s var(--ease-out) both;animation-delay:calc(var(--k) * 45ms + var(--row-d,0ms))}
.clh1.is-intro .clh1-row{--row-d:520ms}
.clh1.is-intro .clh1-r-grid:not(.is-max),.clh1-radar.is-replay .clh1-r-grid:not(.is-max){stroke-dasharray:1 1;animation:clh1-draw .9s var(--ease) both;animation-delay:calc(var(--k) * 90ms + 80ms)}
.clh1.is-intro .clh1-r-grid.is-max,.clh1-radar.is-replay .clh1-r-grid.is-max{animation:clh1-fade .6s .42s both}
.clh1.is-intro .clh1-r-spokes line:not(.is-empty),.clh1-radar.is-replay .clh1-r-spokes line:not(.is-empty){stroke-dasharray:1 1;animation:clh1-draw .6s var(--ease) both;animation-delay:calc(var(--k) * 45ms + 260ms)}
.clh1.is-intro .clh1-r-ticks{animation:clh1-fade 1s .2s both}
.clh1.is-intro .clh1-r-label{animation:clh1-fade .5s both;animation-delay:calc(var(--k) * 115ms + 560ms)}
.clh1.is-intro .clh1-axis > *{animation:clh1-in .5s var(--ease-out) both;animation-delay:.9s}
.clh1.is-intro .clh1-axis > :nth-child(2){animation-delay:.96s}.clh1.is-intro .clh1-axis > :nth-child(3){animation-delay:1.02s}.clh1.is-intro .clh1-axis > :nth-child(4){animation-delay:1.08s}.clh1.is-intro .clh1-axis > :nth-child(5){animation-delay:1.14s}
.clh1.is-intro .clh1-p-bar i,.clh1-axis.is-swap .clh1-p-bar i{animation:clh1-bar .8s var(--ease-out) both;animation-delay:calc(var(--j) * 70ms + 120ms)}
.clh1.is-intro .clh1-p-bar i{animation-delay:calc(var(--j) * 70ms + 1.15s)}
.clh1.is-intro .clh1-stack i,.clh1-axis.is-swap .clh1-stack i{animation:clh1-bar .9s var(--ease-out) both}
.clh1.is-intro .clh1-stack i{animation-delay:1.05s}
.clh1-axis.is-swap > *{animation:clh1-in .45s var(--ease-out) both}
.clh1-axis.is-swap > :nth-child(2){animation-delay:40ms}.clh1-axis.is-swap > :nth-child(3){animation-delay:80ms}.clh1-axis.is-swap > :nth-child(4){animation-delay:120ms}.clh1-axis.is-swap > :nth-child(5){animation-delay:160ms}
.clh1.is-intro .clh1-step{animation:clh1-in .55s var(--ease-out) both;animation-delay:calc(var(--i) * 110ms + 1.3s)}
.clh1.is-intro .clh1-step-n{animation:clh1-pop .5s var(--spring) both;animation-delay:calc(var(--i) * 110ms + 1.4s)}

/* 그린 뒤의 잔잔한 움직임 */
.clh1.is-live .clh1-r-ticks{animation:clh1-spin 150s linear infinite}
.clh1.is-live .clh1-r-sweep{opacity:1;animation:clh1-spin 8s linear infinite}
.clh1.is-live .clh1-r-pt.is-sel .clh1-r-ping{animation:clh1-ping 2.2s var(--ease) infinite}
.clh1.is-live .clh1-day.is-today{animation:clh1-today 2.4s ease-in-out infinite}
.clh1.is-live .clh1-cards i:not(.is-ok){animation:clh1-bob 1.8s ease-in-out infinite alternate;animation-delay:calc(var(--i) * -.6s)}
.clh1.is-live .clh1-flame.is-on{animation:clh1-flicker 1.7s ease-in-out infinite}
.clh1.is-live .clh1-tier::after{animation:clh1-shine 6.5s ease-in-out 1s infinite}
.clh1.is-live .clh1-crest-svg .cs-sym{animation:clh1-compass 9s ease-in-out infinite}

/* ---------- I) 모바일(내용 폭 760px 미만 또는 창 900px 미만) ---------- */
.clh1.is-mobile{display:flex;flex-direction:column;gap:14px;height:auto}
.clh1.is-mobile .clh1-ph{flex-wrap:wrap;align-items:flex-start}
.clh1.is-mobile .clh1-bar{flex-direction:column;align-items:stretch;gap:8px}
.clh1.is-mobile .clh1-tabs{width:100%;overflow-x:auto}
.clh1.is-mobile .clh1-tabs button{flex:1;justify-content:center;padding:0 10px}
.clh1.is-mobile .clh1-strip{grid-template-columns:1fr 1fr;grid-template-areas:"a b" "c c" "d d"}
.clh1.is-mobile .clh1-strip > :nth-child(1){grid-area:a}
.clh1.is-mobile .clh1-strip > :nth-child(2){grid-area:b;border-left:1px solid var(--hair)}
.clh1.is-mobile .clh1-strip > :nth-child(3){grid-area:c;border-left:0;border-top:1px solid var(--hair)}
.clh1.is-mobile .clh1-strip > :nth-child(4){grid-area:d;border-left:0;border-top:1px solid var(--hair);grid-template-columns:1fr;row-gap:10px}
.clh1.is-mobile .clh1-dots{grid-template-columns:repeat(8,6px);gap:2px}
.clh1.is-mobile .clh1-dots i{width:6px;height:6px}
.clh1.is-mobile .clh1-tier-tx small{display:none}
.clh1.is-mobile .clh1-cal-hd{grid-template-columns:auto auto 1fr;grid-template-rows:auto;align-items:center;column-gap:10px}
.clh1.is-mobile .clh1-cal-hd .clh1-k-sub{justify-self:end}
.clh1.is-mobile .clh1-weeks{gap:8px;max-width:none}
.clh1.is-mobile .clh1-grid{grid-template-columns:1fr}
.clh1.is-mobile .clh1-shape-hd,.clh1.is-mobile .clh1-shape-bd{grid-template-columns:minmax(0,1fr)}
.clh1.is-mobile .clh1-radar-box{width:100%}
.clh1.is-mobile .clh1-side{container-type:normal;grid-template-rows:auto auto}
.clh1.is-mobile .clh1-list{min-height:calc(var(--row-h) * 8)}
.clh1.is-mobile .clh1-log-hd{flex-direction:column;align-items:stretch}
.clh1.is-mobile .clh1-log-tools{justify-content:space-between}
.clh1.is-mobile .clh1-list::before{left:51px}
.clh1.is-mobile .clh1-row{grid-template-columns:58px minmax(0,1fr) auto}
.clh1.is-mobile .clh1-row.is-first::before{left:47.5px}
.clh1.is-mobile .clh1-row.is-first:not(:first-child)::after{left:62px}
.clh1.is-mobile .clh1-rail{padding-right:14px}
.clh1.is-mobile .clh1-rail small{font-size:9.5px}
.clh1.is-mobile .clh1-row-main{grid-template-columns:22px minmax(0,1fr) auto auto}
.clh1.is-mobile .clh1-time{display:none}
.clh1.is-mobile .clh1-subj{display:none}

/* ---------- J) 동작 줄이기 ---------- */
@media (prefers-reduced-motion:reduce){
  .clh1 .clh1-r-sweep{display:none}
  .clh1 *,.clh1 *::before,.clh1 *::after{animation:none!important;transition:none!important}
}
.clh1[data-motion="off"] .clh1-r-sweep{display:none}
.clh1[data-motion="off"] *,.clh1[data-motion="off"] *::before,.clh1[data-motion="off"] *::after{animation:none!important;transition:none!important}
