/* ==========================================================
   KITQ 프론트 스타일 - KITQ_프로토타입_v0.html 원본 이관본
   재작성 금지. 디자인의 최종 근거는 프로토타입 파일이다.
   변경분 : 임베드 이미지 2건을 /front/images/ 실파일 참조로 교체
   ========================================================== */

  /* Pretendard (SIL OFL, 상업적 사용 가능) — SEED와 동일 계열 한글 웹폰트. 동적 서브셋: 사용 글자만 로드 */
  @import url("https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.css");
  :root{
    --bg:#f5f7fb; --surface:#ffffff; --surface-2:#eef3fa;
    --navy:#1D2B4D; --navy-deep:#141f38; --blue:#005BAC; --blue-2:#2f7ad1;
    --ink:#1a2333; --muted:#6b7280; --faint:#9aa2af; --line:#e5e7eb;
    --sans:"Pretendard Variable","Pretendard",-apple-system,BlinkMacSystemFont,"Segoe UI","Malgun Gothic","Apple SD Gothic Neo",sans-serif;
    --mono:"SF Mono","Cascadia Code",Consolas,monospace;
    --doc-img:url("/front/images/diploma-sample.png");
    --card-img:url("/front/images/card-sample.png");
  }

  *{box-sizing:border-box}
  html{overflow-y:scroll}
  body{margin:0; background:var(--bg)}
  .page{background:var(--bg); color:var(--ink); font-family:var(--sans); -webkit-font-smoothing:antialiased; line-height:1.6}
  .wrap{max-width:1120px; margin:0 auto; padding:0 24px}

  /* gnb */
  header.gnb{background:var(--surface); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:20}
  .gnb .wrap{display:flex; align-items:center; gap:28px; height:64px}
  .logo{display:inline-flex; align-items:center; text-decoration:none}
  .logo svg{height:38px; width:auto; display:block}
  .logo svg.logo-white{display:none}
  nav.main{display:flex; gap:26px; flex:1}
  nav.main a{color:var(--ink); text-decoration:none; font-size:15px; font-weight:600; padding:6px 0; border-bottom:2px solid transparent}
  nav.main a.on,nav.main a:hover{color:var(--blue); border-color:var(--blue)}
  .btn{display:inline-flex; align-items:center; justify-content:center; gap:6px; border-radius:8px; font-weight:700; font-size:14px; padding:10px 18px; text-decoration:none; border:1px solid transparent; cursor:pointer}
  .btn.primary{background:var(--blue); color:#fff}
  .btn.white{background:#fff; color:var(--navy)}
  .btn.ghost{background:transparent; color:var(--ink); border-color:var(--line)}
  .btn.sm{padding:8px 15px; font-size:13.5px}
  .gnb-actions{display:flex; align-items:center; gap:12px}
  .hlink{color:var(--ink); text-decoration:none; font-weight:600; font-size:14px; white-space:nowrap}
  .hlink:hover{color:var(--blue)}
  .btn.lg{padding:14px 26px; font-size:15.5px}

  /* 햄버거 + 모바일 메뉴 */
  .burger{display:none; flex-direction:column; gap:5px; padding:8px; background:none; border:0; cursor:pointer; margin-left:auto}
  .burger span{width:24px; height:2.5px; background:var(--ink); border-radius:2px; transition:transform .2s, opacity .2s}
  .burger.x span:nth-child(1){transform:translateY(7.5px) rotate(45deg)}
  .burger.x span:nth-child(2){opacity:0}
  .burger.x span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)}
  /* 모바일 메뉴 — 우→좌 슬라이드 드로어(모덜). 배경(.mmenu-backdrop)이 기존 콘텐츠를 전부 가린다 */
  .mmenu{position:fixed; inset:0; z-index:200; visibility:hidden; pointer-events:none}
  .mmenu.open{visibility:visible; pointer-events:auto}
  .mmenu-backdrop{position:absolute; inset:0; background:rgba(12,20,40,.5); opacity:0; transition:opacity .25s}
  .mmenu.open .mmenu-backdrop{opacity:1}
  .mmenu-panel{position:absolute; top:0; right:0; height:100%; width:82%; max-width:340px; background:var(--surface); box-shadow:-16px 0 44px -18px rgba(10,20,45,.4); display:flex; flex-direction:column; overflow-y:auto; transform:translateX(100%); transition:transform .28s ease}
  .mmenu.open .mmenu-panel{transform:translateX(0)}
  .mmenu-head{display:flex; justify-content:flex-end; padding:6px 10px 0 6px}
  .mmenu-close{position:relative; z-index:1; background:none; border:0; font-size:19px; line-height:1; color:var(--faint); cursor:pointer; width:44px; height:44px; border-radius:8px; display:flex; align-items:center; justify-content:center}
  .mmenu-close:active{background:var(--surface-2)}
  .mmenu-profile{display:flex; align-items:center; justify-content:space-between; gap:10px; padding:4px 22px 18px; margin-bottom:6px; border-bottom:1px solid var(--line)}
  .mmenu-name{flex:1; min-width:0; font-weight:700; color:var(--navy); font-size:14.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
  .mmenu-mypage{flex-shrink:0; display:inline-block; padding:8px 14px; border:1px solid var(--line); border-radius:9px; color:var(--ink); text-decoration:none; font-weight:700; font-size:13px; white-space:nowrap}
  .mmenu-links{display:flex; flex-direction:column}
  .mmenu-links a{padding:15px 22px; border-bottom:1px solid var(--line); color:var(--ink); text-decoration:none; font-weight:600; font-size:15.5px}
  .mmenu-actions{margin-top:auto; padding:18px 22px 22px; display:flex; flex-direction:column; gap:10px; border-top:1px solid var(--line)}
  .mmenu-actions a,.mmenu-actions button{width:100%}
  .mmenu-logout{background:none; border:0; color:var(--faint); font-weight:600; font-size:13.5px; text-align:center; padding:6px 0; cursor:pointer}

  /* 라우팅 */
  .page-view{display:none}
  .page-view.active{display:block}

  /* 준비중 플레이스홀더 */
  .ph-page{min-height:62vh; display:flex; align-items:center; justify-content:center; text-align:center; padding:64px 24px}
  .ph-inner{max-width:600px}
  .ph-badge{width:62px; height:62px; border-radius:15px; background:var(--surface-2); color:var(--blue); display:flex; align-items:center; justify-content:center; margin:0 auto 18px}
  .ph-badge svg{width:30px; height:30px; fill:currentColor; stroke:none}
  .ph-eyebrow{font-size:13px; font-weight:700; color:var(--blue); letter-spacing:.06em}
  .ph-page h2{font-size:26px; font-weight:800; margin:8px 0 10px; color:var(--navy)}
  .ph-page>.ph-inner>p{color:var(--muted); margin:0 0 20px; font-size:15px}
  .ph-plan{text-align:left; background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:16px 20px; font-size:13.5px}
  .ph-plan b{color:var(--navy)}
  .ph-plan ul{margin:8px 0 0; padding-left:18px; color:var(--muted)}
  .ph-plan li{margin:4px 0}
  .ph-status{display:inline-block; margin-top:16px; font-size:11.5px; color:var(--faint); font-family:var(--mono); background:var(--surface-2); padding:4px 10px; border-radius:6px}

  /* HERO */
  .hero{background:radial-gradient(900px 420px at 82% -18%, rgba(0,91,172,.07), transparent), var(--surface); color:var(--ink); position:relative; overflow:hidden; border-bottom:1px solid var(--line)}
  .hero .wrap{padding:70px 24px 64px; position:relative; z-index:1}
  .eyebrow{display:inline-block; font-size:13px; font-weight:700; letter-spacing:.04em; color:var(--blue); background:var(--surface-2); border:1px solid var(--line); padding:5px 12px; border-radius:20px; margin-bottom:20px}
  .hero h1{font-size:clamp(28px,4.4vw,46px); line-height:1.2; margin:0 0 16px; font-weight:800; letter-spacing:-.02em; text-wrap:balance; color:var(--navy)}
  .hero h1 span{color:var(--blue)}
  .hero p.lead{font-size:17px; color:var(--muted); max-width:620px; margin:0 0 30px}
  .search{display:flex; gap:10px; max-width:640px; flex-wrap:wrap}
  .search .field{flex:1; min-width:240px; background:var(--surface); border:1px solid var(--line); border-radius:10px; display:flex; align-items:center; padding:0 16px; color:var(--faint); font-size:15px; height:54px; cursor:pointer; box-shadow:0 2px 12px -6px rgba(20,35,70,.18)}
  .search .field .field-text{overflow:hidden; white-space:nowrap; text-overflow:ellipsis; min-width:0}
  .hero .trust{display:flex; gap:22px; margin-top:26px; flex-wrap:wrap; font-size:13.5px; color:var(--muted)}
  .hero .trust b{color:var(--ink)}
  .hero-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:44px; align-items:center}
  .hero-grid>div,.use-grid>div{min-width:0}
  .hero-right{display:flex; justify-content:center; align-items:center; position:relative}
  .hero-right::before{content:""; position:absolute; width:340px; height:340px; border-radius:50%; background:radial-gradient(circle, rgba(0,91,172,.10), transparent 70%); z-index:0}
  .cert-visual{position:relative; z-index:1}
  .cert-back{position:absolute; top:22px; left:22px; width:300px; height:448px; background:var(--surface); border:1px solid var(--line); border-radius:12px; box-shadow:0 20px 44px -26px rgba(20,35,70,.3); transform:rotate(6deg); z-index:0}
  .cert-img{position:relative; width:300px; height:448px; background:var(--doc-img) center/contain no-repeat; border:1px solid var(--line); border-radius:12px; box-shadow:0 34px 64px -30px rgba(20,35,70,.4); z-index:1}
  .cert-emblem{width:44px; height:44px; margin:0 auto 12px; border-radius:50%; background:var(--navy); color:#fff; font-family:var(--mono); font-weight:800; font-size:11px; display:flex; align-items:center; justify-content:center; letter-spacing:.02em}
  .cert-title{text-align:center; font-size:21px; font-weight:800; color:var(--navy); letter-spacing:.22em; margin-bottom:3px}
  .cert-sub{text-align:center; font-size:8.5px; letter-spacing:.16em; color:var(--faint); margin-bottom:16px}
  .cert-rows{border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:13px 0; display:flex; flex-direction:column; gap:9px; margin-bottom:14px}
  .cert-rows>div{display:flex; justify-content:space-between; align-items:baseline; font-size:12.5px}
  .cert-rows span{color:var(--muted)}
  .cert-rows b{color:var(--ink); font-weight:700}
  .cert-foot{display:flex; justify-content:space-between; align-items:center}
  .cert-foot .iss{font-size:10.5px; color:var(--muted)}
  .cert-foot .iss b{display:block; color:var(--navy); font-size:12.5px; margin-top:2px}
  .cert-seal{width:42px; height:42px; border-radius:50%; border:2px solid #c0392b; color:#c0392b; font-size:17px; font-weight:800; display:flex; align-items:center; justify-content:center; transform:rotate(-8deg); flex-shrink:0}

  /* 검색 오버레이 */
  .search-overlay{display:none; position:fixed; inset:0; z-index:200}
  .search-overlay.open{display:block}
  .so-backdrop{position:absolute; inset:0; z-index:1; background:rgba(12,20,40,.5); animation:soFade .2s ease}
  .so-panel{position:absolute; top:0; left:0; right:0; z-index:2; background:var(--surface); border-bottom:1px solid var(--line); box-shadow:0 24px 54px -22px rgba(10,20,45,.55); padding:22px 0 28px; max-height:62vh; overflow-y:auto; animation:soDown .22s ease}
  .so-inner{max-width:1120px; margin:0 auto; padding:0 24px}
  .so-search{display:flex; align-items:center; gap:10px; border:2px solid var(--blue); border-radius:12px; padding:0 16px; height:56px; background:var(--surface); margin-bottom:22px}
  .so-search input{flex:1; border:0; outline:0; background:transparent; font-size:16px; color:var(--ink); font-family:inherit; min-width:0}
  .so-search .ico{color:var(--blue); font-size:17px}
  .so-title{font-size:13px; font-weight:800; color:var(--blue); letter-spacing:.04em; margin-bottom:10px}
  .so-pop{display:grid; grid-template-columns:1fr 1fr; gap:6px 30px}
  .so-item{display:flex; align-items:center; gap:12px; padding:11px 8px; border-radius:8px; text-decoration:none; color:var(--ink); font-size:15px; font-weight:600}
  .so-item:hover{background:var(--surface-2)}
  .so-rank{width:24px; height:24px; border-radius:50%; background:var(--surface-2); color:var(--muted); font-size:12px; font-weight:800; display:flex; align-items:center; justify-content:center; flex-shrink:0}
  .so-item:nth-child(1) .so-rank,.so-item:nth-child(2) .so-rank,.so-item:nth-child(3) .so-rank{background:var(--blue); color:#fff}
  .so-note{margin-top:16px; font-size:12px; color:var(--faint)}
  @keyframes soDown{from{transform:translateY(-18px); opacity:.5}to{transform:none; opacity:1}}
  @keyframes soFade{from{opacity:0}to{opacity:1}}
  @media (max-width:640px){ .so-pop{grid-template-columns:1fr} }
  @media (prefers-reduced-motion:reduce){ .so-panel,.so-backdrop{animation:none} }

  /* STATS */
  .stats{background:var(--surface); border-bottom:1px solid var(--line)}
  .stats .wrap{display:grid; grid-template-columns:repeat(4,1fr); padding:0}
  .stat{padding:26px 20px; text-align:center; border-right:1px solid var(--line)}
  .stat:last-child{border-right:0}
  .stat .n{font-size:30px; font-weight:800; color:var(--navy); letter-spacing:-.01em}
  .stat .n span{font-size:16px}
  .stat .l{font-size:13px; color:var(--muted); margin-top:3px}

  /* SECTION */
  section.blk{padding:60px 0}
  .sec-head{text-align:center; margin-bottom:36px}
  .sec-head .tag{font-size:13px; font-weight:700; color:var(--blue); letter-spacing:.06em}
  .sec-head h2{font-size:28px; font-weight:800; margin:8px 0 6px; letter-spacing:-.01em}
  .sec-head p{color:var(--muted); margin:0; font-size:15px}

  .cats{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
  .cat{background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:18px 20px; text-decoration:none; color:var(--ink); transition:transform .15s, box-shadow .15s, border-color .15s; display:flex; align-items:center; gap:14px}
  .cat:hover{transform:translateY(-2px); box-shadow:0 12px 28px -18px rgba(20,35,70,.5); border-color:var(--blue)}
  .cat:hover .cat-ic{background:#E4EAF2}
  .cat-ic{width:46px; height:46px; border-radius:12px; background:#EEF2F7; display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:background .15s}
  .cat-ic svg{width:24px; height:24px}
  .cat-tx{flex:1; min-width:0}
  .cat .nm{font-size:16.5px; font-weight:700}
  .cat .ct{font-size:13px; color:var(--muted); margin-top:2px}
  .cat .arw{color:var(--blue); font-weight:800; flex-shrink:0}

  .steps{display:grid; grid-template-columns:repeat(4,1fr); gap:14px}
  .step{background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:22px 18px}
  .step .no{font-family:var(--mono); font-size:13px; font-weight:800; color:#fff; background:var(--navy); width:30px; height:30px; border-radius:8px; display:flex; align-items:center; justify-content:center; margin-bottom:12px}
  .step h4{margin:0 0 5px; font-size:16px; font-weight:700}
  .step p{margin:0; font-size:13.5px; color:var(--muted); line-height:1.5}

  .forms{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
  .form-c.hl{border-color:var(--blue); box-shadow:0 0 0 1px var(--blue) inset}
  .save{color:#b45309; font-weight:700; font-size:12px; background:rgba(180,83,9,.1); padding:1px 6px; border-radius:4px; margin-left:4px}
  .form-c{background:var(--surface); border:1px solid var(--line); border-radius:14px; overflow:hidden}
  .form-c .vis{height:150px; position:relative; overflow:hidden; background:linear-gradient(135deg,#e7eef8,#f1f5fb); display:flex; align-items:center; justify-content:center; border-bottom:1px solid var(--line)}
  /* 공통: 실물을 띄운 듯한 오브젝트(그림자) 일관 처리 */
  /* 상장형 — 세로 증서 */
  .vis-doc .doc{height:132px; aspect-ratio:.669; background:var(--doc-img) center/contain no-repeat; border-radius:3px; box-shadow:0 12px 24px -8px rgba(20,35,70,.35)}
  /* 카드형 — 가로 카드(배경 투명) */
  .vis-card .card{height:106px; aspect-ratio:1.549; background:var(--card-img) center/contain no-repeat; filter:drop-shadow(0 11px 18px rgba(20,35,70,.30))}
  /* 상장+카드형 — 두 실물을 겹쳐 배치 */
  .vis-combo .doc{position:absolute; left:35%; top:50%; height:122px; aspect-ratio:.669; transform:translate(-50%,-50%) rotate(-6deg); background:var(--doc-img) center/contain no-repeat; border-radius:3px; box-shadow:0 12px 24px -8px rgba(20,35,70,.33)}
  .vis-combo .card{position:absolute; z-index:1; left:62%; top:57%; height:80px; aspect-ratio:1.549; transform:translate(-50%,-50%) rotate(5deg); background:var(--card-img) center/contain no-repeat; filter:drop-shadow(0 9px 16px rgba(20,35,70,.34))}
  .form-c .bd{padding:18px 20px}
  .form-c h4{margin:0 0 4px; font-size:17px}
  .form-c p{margin:0; color:var(--muted); font-size:14px}
  .form-c .price{color:var(--blue); font-weight:800; font-size:16px; margin-top:8px}

  /* 자격 목록/검색 페이지 */
  .certhead{background:var(--surface); border-bottom:1px solid var(--line); padding:40px 0 34px}
  .certhead h1{font-size:30px; font-weight:800; color:var(--navy); margin:0 0 6px; letter-spacing:-.01em}
  .certhead p{margin:0 0 20px; color:var(--muted); font-size:15px}
  .csearch{display:flex; align-items:center; gap:10px; max-width:520px; border:1px solid var(--line); background:var(--surface); border-radius:10px; padding:0 14px; height:50px; box-shadow:0 2px 12px -6px rgba(20,35,70,.15)}
  .csearch input{flex:1; border:0; outline:0; background:transparent; font-size:15px; color:var(--ink); font-family:inherit; min-width:0}
  .csearch .ico{color:var(--blue)}
  .fbar{display:flex; flex-wrap:wrap; gap:8px}
  .fchip{font-size:13.5px; font-weight:600; padding:7px 15px; border-radius:20px; border:1px solid var(--line); background:var(--surface); color:var(--muted); cursor:pointer; transition:background .15s,color .15s,border-color .15s}
  .fchip:hover{border-color:var(--blue); color:var(--blue)}
  .fchip.on{background:var(--navy); border-color:var(--navy); color:#fff}
  .fchip .fc{margin-left:4px; opacity:.55; font-size:12px}
  .qcount{font-size:13px; color:var(--faint); margin:14px 2px 0}
  .qgrid{display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:12px}
  .qcard{display:flex; flex-direction:column; background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:18px; text-decoration:none; color:var(--ink); transition:transform .15s, box-shadow .15s, border-color .15s}
  .qcard:hover{transform:translateY(-2px); box-shadow:0 12px 28px -18px rgba(20,35,70,.5); border-color:var(--blue)}
  .qtags{display:flex; flex-wrap:wrap; gap:5px; margin-bottom:10px}
  .qtag{font-size:11px; font-weight:700; color:var(--blue); background:var(--surface-2); border-radius:5px; padding:3px 8px}
  .qname{font-size:16.5px; font-weight:700; margin-bottom:6px; line-height:1.35}
  .qdesc{font-size:12.5px; color:var(--muted); line-height:1.55; margin-bottom:14px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
  .qgrade{color:var(--blue); font-weight:700}
  .qgrade.multi{color:#B45309}
  .qfoot{margin-top:auto; display:flex; justify-content:space-between; align-items:center; border-top:1px solid var(--line); padding-top:12px}
  .qno{font-size:11.5px; color:var(--faint); font-family:var(--mono)}
  .qgo{font-size:13px; font-weight:700; color:var(--blue)}
  .qempty{display:none; text-align:center; color:var(--muted); padding:44px; font-size:14px}
  @media(max-width:860px){ .qgrid{grid-template-columns:1fr 1fr} .certhead{padding:30px 0 26px} .certhead h1{font-size:24px} }
  @media(max-width:560px){ .qgrid{grid-template-columns:1fr} }

  /* 활용 안내 */
  .use-grid{display:grid; grid-template-columns:.95fr 1.35fr; gap:30px; align-items:center}
  .use-txt h3{font-size:23px; font-weight:800; margin:0 0 12px; letter-spacing:-.01em; line-height:1.3}
  .use-txt p{color:var(--muted); margin:0 0 16px; font-size:15px}
  .use-txt ul{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px}
  .use-txt li{font-size:14.5px; padding-left:24px; position:relative}
  .use-txt li::before{content:"✔"; position:absolute; left:0; color:var(--blue); font-weight:800}
  .resume-wrap{overflow-x:auto}
  .resume{min-width:500px; border:1px solid #d6dbe4; border-radius:10px; background:#fff; overflow:hidden; font-size:12.5px; box-shadow:0 14px 34px -22px rgba(20,35,70,.45)}
  .r-id{display:grid; grid-template-columns:76px 80px 1fr 104px 1.25fr; gap:1px; background:#d6dbe4; border-bottom:1px solid #d6dbe4}
  .r-id>div{padding:8px 10px; display:flex; align-items:center; min-width:0}
  .r-id .lbl,.r-id .photo{background:#e8ecf3; color:var(--muted)}
  .r-id .lbl{white-space:nowrap}
  .r-id .photo{grid-row:span 2; justify-content:center; color:var(--faint); font-size:11px}
  .r-id .val{background:#fff; color:var(--ink); font-weight:600}
  .r-id .val.span{grid-column:3 / 6}
  .r-sec{text-align:center; padding:8px; background:#e8ecf3; color:var(--muted); font-weight:700; border-bottom:1px solid #d6dbe4; letter-spacing:.02em}
  .r-grid{display:grid; grid-template-columns:.9fr 1.7fr .5fr 1.4fr}
  .r-grid>span{padding:10px 8px; text-align:center; border-right:1px solid #d6dbe4; background:#fff}
  .r-grid>span:last-child{border-right:0}
  .r-grid.head{border-bottom:1px solid #d6dbe4}
  .r-grid.head>span{background:#e8ecf3; color:var(--muted); font-size:11.5px}
  .r-grid.hl>span{background:#fff; font-weight:700; color:var(--ink)}
  .use-note{margin-top:12px; font-size:12px; color:var(--faint)}

  .cta{background:linear-gradient(120deg,var(--blue),#0a4f8f); color:#fff; text-align:center}
  .cta .wrap{padding:52px 24px}
  .cta h2{font-size:26px; margin:0 0 8px; font-weight:800}
  .cta p{margin:0 0 22px; color:#dbe7f7; font-size:15px}

  footer{background:var(--navy-deep); color:#9fabc2; font-size:13.5px}
  footer .wrap{padding:38px 24px 44px}
  .flinks{display:flex; gap:18px; flex-wrap:wrap; margin-bottom:16px}
  .flinks a{color:#c7d1e3; text-decoration:none; font-weight:600; cursor:pointer}
  .flinks a.strong{color:#fff}
  footer .co{color:#7885a0; line-height:1.7; font-size:12.5px}

  /* ===== 반응형 ===== */
  @media (max-width:860px){
    nav.main{display:none}
    .gnb-actions{display:none}
    .burger{display:flex}
    .gnb .wrap{gap:12px; height:60px}
    .hero .wrap{padding:42px 22px 38px}
    .hero-grid{grid-template-columns:1fr; gap:30px}
    .hero-right{margin-top:4px}
    .hero p.lead{font-size:15px}
    .search .field{min-width:100%; height:50px}
    .search .btn.lg{width:100%}
    .stats .wrap{grid-template-columns:1fr 1fr}
    .stat{border-bottom:1px solid var(--line)}
    .stat:nth-child(2n){border-right:0}
    .stat:nth-last-child(-n+2){border-bottom:0}
    section.blk{padding:42px 0}
    .sec-head{margin-bottom:24px}
    .sec-head h2{font-size:22px}
    .cats{grid-template-columns:1fr 1fr}
    .steps{grid-template-columns:1fr 1fr}
    .forms{grid-template-columns:1fr}
    .use-grid{grid-template-columns:1fr; gap:22px}
    .cta .wrap{padding:40px 22px}
    .cta .btn{width:100%}
  }
  @media (max-width:420px){
    .hero h1{font-size:26px}
    .cat .nm{font-size:15px}
    .hero-right{display:none}
  }
  @media (prefers-reduced-motion:reduce){ .cat,.burger span{transition:none} }

  /* ================= 회원가입 · 로그인 공통 ================= */
  .auth{min-height:calc(100vh - 64px); background:var(--bg); padding:48px 24px 72px; display:flex; justify-content:center}
  .auth-box{width:100%; max-width:440px}
  .auth-box.wide{max-width:560px}
  .auth-head{text-align:center; margin-bottom:26px}
  .auth-head .emblem{width:52px; height:52px; margin:0 auto 14px; border-radius:13px; background:var(--navy); color:#fff; font-family:var(--mono); font-weight:800; font-size:13px; letter-spacing:.02em; display:flex; align-items:center; justify-content:center}
  .auth-head h1{font-size:24px; font-weight:800; color:var(--navy); margin:0 0 6px; letter-spacing:-.01em}
  .auth-head p{margin:0; color:var(--muted); font-size:14.5px}
  .auth-card{background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:30px 30px 26px; box-shadow:0 18px 48px -30px rgba(20,35,70,.4)}

  .field-row{margin-bottom:16px}
  .field-row label{display:block; font-size:13px; font-weight:700; color:var(--ink); margin-bottom:7px}
  .field-row label .req{color:#c0392b; margin-left:2px}
  .inp{width:100%; height:48px; border:1px solid var(--line); border-radius:10px; padding:0 14px; font-size:15px; font-family:inherit; color:var(--ink); background:var(--surface); outline:none; transition:border-color .15s, box-shadow .15s}
  .inp:focus{border-color:var(--blue); box-shadow:0 0 0 3px rgba(0,91,172,.12)}
  .inp::placeholder{color:var(--faint)}
  textarea.inp{height:auto; padding:12px 14px; resize:vertical; line-height:1.6}
  .inp-group{display:flex; gap:8px}
  .inp-group .inp{flex:1; min-width:0}
  .inp-group .btn{flex-shrink:0; height:48px}
  .field-hint{font-size:12px; color:var(--faint); margin-top:6px}
  .field-hint.ok{color:#0a7d38}
  .field-hint.err{color:#c0392b}
  .btn.block{width:100%; height:50px; font-size:15.5px}
  .btn.primary[disabled]{background:var(--faint); cursor:not-allowed; opacity:.7}

  .auth-alt{display:flex; align-items:center; justify-content:center; gap:14px; margin:16px 2px 4px; font-size:13.5px; color:var(--muted)}
  .auth-alt a{color:var(--ink); text-decoration:none; font-weight:600}
  .auth-alt a:hover{color:var(--blue)}
  .auth-alt .sep{width:1px; height:12px; background:var(--line)}

  .divider{display:flex; align-items:center; gap:14px; margin:24px 0 20px; color:var(--faint); font-size:12.5px}
  .divider::before,.divider::after{content:""; flex:1; height:1px; background:var(--line)}

  .sso{display:flex; flex-direction:column; gap:10px}
  .sso-btn{display:flex; align-items:center; justify-content:center; gap:9px; height:48px; border-radius:10px; border:1px solid var(--line); background:var(--surface); font-size:14.5px; font-weight:700; color:var(--ink); cursor:pointer; text-decoration:none; transition:background .15s, border-color .15s}
  .sso-btn:hover{background:var(--surface-2)}
  .sso-btn .ic{width:20px; height:20px; border-radius:5px; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:800; flex-shrink:0}
  .sso-btn.lms{border-color:var(--blue); color:var(--blue)}
  .sso-btn.lms .ic{background:var(--blue); color:#fff}
  .sso-btn.kakao .ic{background:#FEE500; color:#3c1e1e}
  .sso-btn.naver .ic{background:#03C75A; color:#fff}
  .sso-btn.google .ic{background:#fff; border:1px solid var(--line); color:#4285F4}

  .auth-foot-note{text-align:center; font-size:12px; color:var(--faint); margin-top:22px; line-height:1.6}

  /* 회원가입 스텝퍼 */
  .stepper{display:flex; align-items:center; justify-content:center; gap:0; margin-bottom:28px}
  .stepper .st{display:flex; flex-direction:column; align-items:center; gap:7px; position:relative; flex:1}
  .stepper .st .dot{width:34px; height:34px; border-radius:50%; background:var(--surface); border:2px solid var(--line); color:var(--faint); font-weight:800; font-size:14px; display:flex; align-items:center; justify-content:center; z-index:1; transition:.2s}
  .stepper .st .cap{font-size:12px; font-weight:700; color:var(--faint); white-space:nowrap}
  .stepper .st::before{content:""; position:absolute; top:17px; left:-50%; width:100%; height:2px; background:var(--line); z-index:0}
  .stepper .st:first-child::before{display:none}
  .stepper .st.on .dot{background:var(--blue); border-color:var(--blue); color:#fff}
  .stepper .st.on .cap{color:var(--blue)}
  .stepper .st.done .dot{background:var(--navy); border-color:var(--navy); color:#fff}
  .stepper .st.done::before{background:var(--navy)}
  .stepper .st.on::before{background:var(--blue)}

  .step-panel{display:none}
  .step-panel.active{display:block}

  /* 약관 동의 */
  .agree-all{display:flex; align-items:center; gap:11px; padding:16px 16px; border:1px solid var(--navy); background:var(--surface-2); border-radius:11px; margin-bottom:14px; cursor:pointer; font-weight:800; font-size:15px; color:var(--navy)}
  .agree-list{border:1px solid var(--line); border-radius:11px; overflow:hidden}
  .agree-item{display:flex; align-items:center; gap:11px; padding:14px 16px; border-top:1px solid var(--line); cursor:pointer; font-size:14px; color:var(--ink)}
  .agree-item:first-child{border-top:0}
  .agree-item .tx{flex:1; min-width:0}
  .agree-item .tag-req{font-size:11px; font-weight:800; color:#c0392b; margin-right:6px}
  .agree-item .tag-opt{font-size:11px; font-weight:800; color:var(--muted); margin-right:6px}
  .agree-item .view{font-size:12px; color:var(--faint); text-decoration:underline; cursor:pointer; flex-shrink:0}
  .chk{width:22px; height:22px; border-radius:6px; border:2px solid var(--line); background:var(--surface); flex-shrink:0; position:relative; transition:.15s}
  .chk.round{border-radius:50%}
  .chk.on{background:var(--blue); border-color:var(--blue)}
  .chk.on::after{content:""; position:absolute; left:6px; top:2px; width:6px; height:11px; border:solid #fff; border-width:0 2.5px 2.5px 0; transform:rotate(45deg)}

  /* 본인인증 */
  .verify-box{text-align:center; padding:8px 0 4px}
  .verify-ic{width:64px; height:64px; margin:0 auto 16px; border-radius:16px; background:var(--surface-2); color:var(--blue); display:flex; align-items:center; justify-content:center}
  .verify-ic svg{width:32px; height:32px; fill:currentColor; stroke:none}
  .verify-box h3{font-size:18px; font-weight:800; color:var(--navy); margin:0 0 8px}
  .verify-box p{color:var(--muted); font-size:14px; margin:0 0 22px; line-height:1.6}
  .verify-fields{text-align:left; display:none}
  .verify-fields.show{display:block}
  .verified-badge{display:none; align-items:center; justify-content:center; gap:8px; color:#0a7d38; font-weight:700; font-size:14.5px; background:rgba(10,125,56,.08); border:1px solid rgba(10,125,56,.25); border-radius:10px; padding:14px; margin-top:6px}
  .verified-badge.show{display:flex}

  /* 완료 */
  .done-box{text-align:center; padding:20px 0}
  .done-ic{width:78px; height:78px; margin:0 auto 20px; border-radius:50%; background:rgba(10,125,56,.1); color:#0a7d38; display:flex; align-items:center; justify-content:center}
  .done-ic svg{width:40px; height:40px; fill:currentColor; stroke:none}
  .done-box h2{font-size:23px; font-weight:800; color:var(--navy); margin:0 0 10px}
  .done-box p{color:var(--muted); font-size:15px; margin:0 0 26px; line-height:1.6}
  .done-box .btns{display:flex; gap:10px}
  .done-box .btns .btn{flex:1}

  .step-nav{display:flex; gap:10px; margin-top:24px}
  .step-nav .btn{flex:1; height:50px; font-size:15px}

  @media (max-width:480px){
    .auth{padding:32px 18px 56px}
    .auth-card{padding:24px 20px 22px}
    .stepper .st .cap{font-size:11px}
  }
  /* ===== About page (#about) ===== */
  .about-grid{display:grid; grid-template-columns:1.15fr .85fr; gap:44px; align-items:center}
  .sec-tag{font-size:13px; font-weight:700; color:var(--blue); letter-spacing:.06em; margin-bottom:10px}
  .about-h2{font-size:30px; line-height:1.28; font-weight:800; color:var(--navy); letter-spacing:-.02em; margin:0 0 18px}
  .about-p{color:var(--muted); font-size:15.5px; line-height:1.8; margin:0 0 14px}
  .about-sign{margin-top:22px; color:var(--ink); font-size:15px}
  .about-sign b{color:var(--navy); font-size:17px; margin-left:6px; letter-spacing:.04em}
  .about-portrait{background:linear-gradient(160deg,#f3f7fc,#e9f0f9); border:1px solid var(--line); border-radius:18px; padding:38px 24px; text-align:center}
  .emblem-lg{width:76px; height:76px; margin:0 auto 16px; border-radius:20px; background:var(--navy); color:#fff; font-family:var(--mono); font-weight:800; font-size:19px; letter-spacing:.02em; display:flex; align-items:center; justify-content:center}
  .pt-name{font-size:19px; font-weight:800; color:var(--navy)}
  .pt-sub{font-size:11px; letter-spacing:.08em; color:var(--faint); margin-top:6px}
  .vgrid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
  .vcard{background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:26px 22px}
  .vic{width:50px; height:50px; border-radius:13px; display:flex; align-items:center; justify-content:center; margin-bottom:16px}
  .vic svg{width:26px; height:26px; fill:currentColor}
  .vic-blue{background:#E8EEFE; color:#2563EB}
  .vic-green{background:#DDF3E3; color:#16A34A}
  .vic-indigo{background:#E9E7FD; color:#4F46E5}
  .vcard h4{margin:0 0 7px; font-size:17px; font-weight:700; color:var(--navy)}
  .vcard p{margin:0; color:var(--muted); font-size:14px; line-height:1.65}
  .ci-grid{display:grid; grid-template-columns:.8fr 1.2fr; gap:24px; align-items:stretch}
  .ci-logo{background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:34px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px}
  .ci-logo .wm{text-align:center}
  .ci-logo .wm .k{font-size:26px; font-weight:800; color:var(--navy); letter-spacing:.06em}
  .ci-logo .wm .k b{color:var(--blue)}
  .ci-logo .wm .s{font-size:11px; letter-spacing:.06em; color:var(--faint); margin-top:4px}
  .ci-swatches{display:grid; grid-template-columns:1fr 1fr; gap:12px}
  .sw{background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:14px 16px; display:flex; align-items:center; gap:12px; font-size:13.5px; color:var(--muted)}
  .sw i{width:34px; height:34px; border-radius:9px; flex-shrink:0; border:1px solid rgba(0,0,0,.06)}
  .sw b{display:block; color:var(--navy); font-size:14px; margin-bottom:2px}
  .reg-card{background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:8px 28px 26px; max-width:760px; margin:0 auto}
  .reg-card dl{display:grid; grid-template-columns:180px 1fr; margin:0}
  .reg-card dt{padding:15px 0; border-bottom:1px solid var(--line); color:var(--muted); font-size:14px}
  .reg-card dd{padding:15px 0; border-bottom:1px solid var(--line); margin:0; color:var(--ink); font-size:14.5px; font-weight:600}
  .reg-card .reg-btn{margin-top:22px; text-align:center}
  .reg-note{font-size:12.5px; color:var(--faint); text-align:center; margin-top:12px}
  .map-grid{display:grid; grid-template-columns:.9fr 1.1fr; gap:22px; align-items:stretch}
  .map-info{background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:26px 26px}
  .map-info .row{display:flex; gap:12px; padding:13px 0; border-bottom:1px solid var(--line); font-size:14.5px}
  .map-info .row:last-child{border-bottom:0}
  .map-info .row .lb{width:64px; flex-shrink:0; color:var(--muted); font-size:13.5px}
  .map-info .row .vv{color:var(--ink); font-weight:600}
  .map-box{border:1px solid var(--line); border-radius:14px; background:repeating-linear-gradient(135deg,#eef3fa,#eef3fa 12px,#e7eef7 12px,#e7eef7 24px); display:flex; align-items:center; justify-content:center; color:var(--faint); font-size:14px; min-height:240px}
  .about-cta{text-align:center}
  .about-cta h2{font-size:26px; font-weight:800; color:var(--navy); margin:0 0 8px}
  .about-cta p{color:var(--muted); margin:0 0 22px}
  .cta-btns{display:flex; gap:12px; justify-content:center; flex-wrap:wrap}
  @media(max-width:860px){
    .about-grid{grid-template-columns:1fr; gap:26px}
    .about-h2{font-size:24px}
    .vgrid{grid-template-columns:1fr}
    .ci-grid{grid-template-columns:1fr}
    .ci-swatches{grid-template-columns:1fr 1fr}
    .reg-card dl{grid-template-columns:120px 1fr}
    .map-grid{grid-template-columns:1fr}
  }
  /* ===== Support (#support) ===== */
  .sptabs{display:flex; gap:6px; flex-wrap:wrap; border-bottom:1px solid var(--line); margin-bottom:26px}
  .sptab{padding:11px 18px; font-size:14.5px; font-weight:700; color:var(--muted); background:none; border:0; border-bottom:2px solid transparent; cursor:pointer; margin-bottom:-1px}
  .sptab.on{color:var(--blue); border-bottom-color:var(--blue)}
  .sppanel{display:none}
  .sppanel.on{display:block}
  .nlist{border-top:1px solid var(--line)}
  .nlist a{display:flex; align-items:center; gap:14px; padding:16px 6px; border-bottom:1px solid var(--line); text-decoration:none; color:var(--ink)}
  .nlist a:hover{background:var(--surface-2)}
  .nlist .tag{font-size:11.5px; font-weight:700; color:var(--blue); background:var(--surface-2); border:1px solid var(--line); border-radius:5px; padding:2px 8px; flex-shrink:0}
  .nlist .ti{flex:1; font-size:14.5px; font-weight:600; min-width:0}
  .nlist .dt{font-size:12.5px; color:var(--faint); flex-shrink:0}
  .faq-item{border:1px solid var(--line); border-radius:12px; margin-bottom:10px; overflow:hidden; background:var(--surface)}
  .faq-q{display:flex; align-items:center; gap:12px; padding:16px 18px; cursor:pointer; font-weight:700; color:var(--navy); font-size:15px}
  .faq-q .qq{color:var(--blue); font-weight:800}
  .faq-q .ar{margin-left:auto; color:var(--faint); transition:transform .2s}
  .faq-item.open .faq-q .ar{transform:rotate(180deg)}
  .faq-a{display:none; padding:0 18px 18px 44px; color:var(--muted); font-size:14px; line-height:1.7}
  .faq-item.open .faq-a{display:block}
  .qform{max-width:640px}
  .qform .frow{margin-bottom:16px}
  .qform label{display:block; font-size:13.5px; font-weight:700; color:var(--navy); margin-bottom:7px}
  .qform .inp,.qform select,.qform textarea{width:100%; border:1px solid var(--line); border-radius:10px; padding:12px 14px; font-size:14.5px; font-family:inherit; color:var(--ink); background:var(--surface); outline:none}
  .qform textarea{min-height:130px; resize:vertical}
  .qform .file{border:1px dashed var(--line); border-radius:10px; padding:14px; font-size:13.5px; color:var(--faint); text-align:center}
  .fnote{font-size:12.5px; color:var(--faint); margin-top:8px}
  .flist{display:grid; gap:10px}
  .frow-file{display:flex; align-items:center; gap:14px; padding:16px 18px; border:1px solid var(--line); border-radius:12px; background:var(--surface)}
  .frow-file .fi{width:40px; height:40px; border-radius:10px; background:var(--surface-2); color:var(--blue); display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0}
  .frow-file .fn{flex:1; font-weight:600; font-size:14.5px}
  .frow-file .fm{font-size:12px; color:var(--faint)}
  .refund h4{font-size:16px; color:var(--navy); margin:22px 0 8px}
  .refund p,.refund li{color:var(--muted); font-size:14px; line-height:1.75}
  .refund .rbox{background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:6px 22px 14px}
  .refund table{width:100%; border-collapse:collapse; margin:6px 0}
  .refund th,.refund td{border-bottom:1px solid var(--line); padding:12px 8px; font-size:14px; text-align:left}
  .refund th{color:var(--navy); font-weight:700}
  .refund .warn{background:#fbf6ec; border:1px solid #ecdcbf; color:#7a5b1e; border-radius:10px; padding:12px 16px; font-size:13.5px; margin-top:14px}
  /* ===== Terms (#terms) ===== */
  .terms-grid{display:grid; grid-template-columns:220px 1fr; gap:32px; align-items:start}
  .terms-nav{position:sticky; top:84px; display:flex; flex-direction:column; gap:4px}
  .terms-nav button{text-align:left; padding:12px 16px; border-radius:10px; border:0; background:none; font-size:14.5px; font-weight:600; color:var(--muted); cursor:pointer}
  .terms-nav button.on{background:var(--surface-2); color:var(--blue); font-weight:700}
  .terms-doc{display:none; background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:34px 38px; min-width:0}
  .terms-doc.on{display:block}
  .terms-doc h2{font-size:22px; color:var(--navy); margin:0 0 6px}
  .terms-doc .eff{font-size:12.5px; color:var(--faint); margin:0 0 22px; padding-bottom:16px; border-bottom:1px solid var(--line)}
  .terms-doc h3{font-size:15.5px; color:var(--navy); margin:22px 0 8px}
  .terms-doc p,.terms-doc li{color:var(--muted); font-size:14px; line-height:1.8}
  .terms-doc ul{padding-left:20px; margin:6px 0}
  @media(max-width:860px){ .terms-grid{grid-template-columns:1fr} .terms-nav{position:static; flex-direction:row; flex-wrap:wrap} }
  /* ===== Cert detail (#cert-detail) ===== */
  .cd-bc{font-size:12.5px; color:var(--faint); margin-bottom:12px}
  .cd-bc a{color:var(--faint); text-decoration:none}
  .cd-title{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
  .cd-title h1{font-size:26px; font-weight:800; color:var(--navy); margin:0}
  .cd-badge{font-size:12px; font-weight:700; color:var(--blue); background:var(--surface-2); border:1px solid var(--line); border-radius:6px; padding:3px 9px}
  .cd-badge.pqi{color:#0a7d38; background:rgba(10,125,56,.08); border-color:rgba(10,125,56,.2)}
  .cd-sub{font-size:13px; color:var(--muted); margin-top:8px}
  .cd-cols{display:grid; grid-template-columns:1.7fr 1fr; gap:28px; align-items:start}
  .cd-tabs{display:flex; gap:4px; border-bottom:1px solid var(--line); margin-bottom:18px}
  .cd-tab{padding:10px 15px; font-size:14px; font-weight:700; color:var(--muted); background:none; border:0; border-bottom:2px solid transparent; cursor:pointer; margin-bottom:-1px}
  .cd-tab.on{color:var(--blue); border-bottom-color:var(--blue)}
  .cd-tp{display:none} .cd-tp.on{display:block}
  .cd-preview{display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:20px}
  .cd-shot{border:1px solid var(--line); border-radius:12px; height:150px; background:linear-gradient(135deg,#e7eef8,#f1f5fb); position:relative; overflow:hidden; display:flex; align-items:flex-end; justify-content:center}
  .cd-shot .obj{position:absolute; top:50%; left:50%; transform:translate(-50%,-54%)}
  .cd-shot.doc .obj{height:120px; aspect-ratio:.669; background:var(--doc-img) center/contain no-repeat; border-radius:3px; box-shadow:0 10px 22px -8px rgba(20,35,70,.32)}
  .cd-shot.card .obj{width:78%; aspect-ratio:1.549; background:var(--card-img) center/contain no-repeat; filter:drop-shadow(0 10px 18px rgba(20,35,70,.3))}
  .cd-shot .cap{position:relative; z-index:1; font-size:11.5px; color:var(--faint); background:rgba(255,255,255,.85); padding:2px 8px; border-radius:5px; margin-bottom:8px}
  .cd-info{background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:6px 22px}
  .cd-info .r{display:flex; justify-content:space-between; padding:14px 0; border-bottom:1px solid var(--line); font-size:14px}
  .cd-info .r:last-child{border-bottom:0}
  .cd-info .r .k{color:var(--muted)}
  .cd-info .r .v{color:var(--ink); font-weight:600}
  .cd-lbl{font-size:13px; font-weight:700; color:var(--navy); margin:22px 0 8px}
  .cd-note{background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:16px 18px; font-size:14px; color:var(--muted); line-height:1.7}
  .cd-apply{position:sticky; top:84px; background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:22px 22px 24px; box-shadow:0 20px 44px -30px rgba(20,35,70,.4)}
  .cd-price-l{font-size:12.5px; color:var(--faint)}
  .cd-price{font-size:26px; font-weight:800; color:var(--navy); margin-bottom:16px}
  .cd-opt-l{font-size:12.5px; font-weight:700; color:var(--muted); margin-bottom:8px}
  .cd-radio{display:flex; align-items:center; gap:10px; padding:12px 14px; border:1px solid var(--line); border-radius:10px; margin-bottom:8px; cursor:pointer; font-size:14px}
  .cd-radio.on{border-color:var(--blue); background:#f4f8fd}
  .cd-radio .rd{width:16px; height:16px; border-radius:50%; border:2px solid var(--line); flex-shrink:0}
  .cd-radio.on .rd{border-color:var(--blue); border-width:5px}
  .cd-radio .nm{font-weight:600; color:var(--ink)}
  .cd-radio .pr{margin-left:auto; color:var(--muted)}
  .cd-radio .sv{color:#b45309; font-weight:700; font-size:12px}
  .cd-apply .memo{font-size:11.5px; color:var(--faint); margin:8px 0 14px}
  .cd-apply .btn{width:100%; margin-bottom:8px}
  .cd-apply .learn{font-size:11.5px; color:var(--faint); text-align:center; margin-top:6px}
  /* ===== Apply wizard (#apply) ===== */
  .applywrap{max-width:720px; margin:0 auto}
  .ap-card{background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:18px 20px; margin-bottom:12px}
  .ap-row{display:flex; align-items:center; justify-content:space-between; gap:12px}
  .ap-thumb{width:48px; height:48px; border-radius:10px; background:var(--surface-2); color:var(--blue); display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; flex-shrink:0}
  .ap-nm{font-weight:700; color:var(--navy)}
  .ap-mt{font-size:12px; color:var(--faint)}
  .ap-amt{font-weight:800; color:var(--navy)}
  .ap-div{border-top:1px solid var(--line); margin:12px 0}
  .ap-forms{display:flex; gap:16px; flex-wrap:wrap; font-size:13.5px}
  .ap-banner{border:1px solid #d9e2ef; background:#eef4fb; border-radius:10px; padding:12px 15px; font-size:13.5px; color:#2b4a72; margin:10px 0}
  .ap-banner.ok{background:#eef7f0; border-color:#cfe6d5; color:#2f6b40}
  .ap-banner.warn{background:#fbf6ec; border-color:#ecdcbf; color:#7a5b1e}
  .ap-file{flex:1; min-width:200px; border:1px dashed var(--line); border-radius:10px; padding:12px 14px; font-size:13px; color:var(--faint); background:var(--surface)}
  .ap-lbl{font-size:13px; font-weight:700; color:var(--navy); margin:16px 0 7px}
  .ap-inp{width:100%; border:1px solid var(--line); border-radius:10px; padding:11px 14px; font-size:14px; color:var(--ink); background:var(--surface); font-family:inherit; outline:none}
  .ap-inp[readonly]{background:var(--surface-2); color:var(--muted)}
  .ap-pm{display:flex; gap:8px; flex-wrap:wrap}
  .ap-pm .btn{flex:1; min-width:110px}
  .ap-chk{display:flex; gap:9px; font-size:13px; color:var(--muted); margin-top:10px; line-height:1.5}
  .ap-total{background:var(--surface-2); border-radius:12px; padding:16px 18px; display:flex; justify-content:space-between; align-items:center; margin:14px 0}
  .ap-total .amt{font-size:20px; font-weight:800; color:var(--navy)}
  .ap-done{text-align:center; padding:30px 16px}
  .ap-done .em{font-size:40px}
  .ap-done h3{font-size:20px; color:var(--navy); margin:12px 0 6px}
  .ap-done p{color:var(--muted); margin:0}
  .ap-nav{display:flex; justify-content:space-between; gap:10px; margin-top:16px}
  /* ===== Mypage (#mypage) ===== */
  .my-grid{display:grid; grid-template-columns:210px 1fr; gap:28px; align-items:start}
  .my-nav{position:sticky; top:84px; display:flex; flex-direction:column; gap:3px}
  .my-nav button{text-align:left; padding:12px 16px; border-radius:10px; border:0; background:none; font-size:14.5px; font-weight:600; color:var(--muted); cursor:pointer}
  .my-nav button.on{background:var(--surface-2); color:var(--blue); font-weight:700}
  .my-nav .logout{margin-top:10px; padding-top:16px; border-top:1px solid var(--line); color:var(--faint); font-weight:600}
  .my-nav .logout:hover{color:var(--ink)}
  .my-panel{display:none} .my-panel.on{display:block}
  .my-panel h2{font-size:20px; color:var(--navy); margin:0 0 16px}
  .my-item{background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:18px 20px; margin-bottom:14px}
  .my-head{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px}
  .my-head .info{display:flex; align-items:center; gap:12px}
  .my-nm{font-weight:700; color:var(--navy)}
  .my-mt{font-size:12px; color:var(--faint)}
  .pill{font-size:11.5px; font-weight:700; padding:4px 11px; border-radius:20px; white-space:nowrap}
  .pill.ship{background:#e7eefe; color:#2563eb}
  .pill.wait{background:#fdf0d5; color:#b45309}
  .pill.ok{background:#ddf3e3; color:#16a34a}
  .track{display:flex; align-items:center}
  .track .tp{flex:1; text-align:center; font-size:11.5px; color:var(--faint); position:relative; padding-top:22px}
  .track .tp::before{content:""; position:absolute; top:6px; left:50%; width:14px; height:14px; border-radius:50%; background:var(--surface); border:2px solid var(--line); transform:translateX(-50%); z-index:1}
  .track .tp::after{content:""; position:absolute; top:12px; left:-50%; width:100%; height:2px; background:var(--line); z-index:0}
  .track .tp:first-child::after{display:none}
  .track .tp.done{color:var(--navy)} .track .tp.done::before{background:var(--navy); border-color:var(--navy)}
  .track .tp.done::after{background:var(--navy)}
  .track .tp.cur{color:var(--blue); font-weight:700} .track .tp.cur::before{background:var(--blue); border-color:var(--blue)}
  .track .tp.cur::after{background:var(--navy)}
  .my-foot{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:14px; padding-top:14px; border-top:1px solid var(--line); font-size:12.5px; color:var(--muted)}
  .my-table{width:100%; border-collapse:collapse}
  .my-table th,.my-table td{border-bottom:1px solid var(--line); padding:13px 8px; font-size:13.5px; text-align:left}
  .my-table th{color:var(--navy); font-weight:700; font-size:13px}
  .my-dl{background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:6px 22px; max-width:560px}
  .my-dl .r{display:flex; justify-content:space-between; padding:14px 0; border-bottom:1px solid var(--line); font-size:14px}
  .my-dl .r:last-child{border-bottom:0}
  .my-dl .k{color:var(--muted)} .my-dl .v{color:var(--ink); font-weight:600}
  @media(max-width:860px){ .cd-cols{grid-template-columns:1fr} .cd-apply{position:static} .my-grid{grid-template-columns:1fr} .my-nav{position:static; flex-direction:row; flex-wrap:wrap} .track .tp{font-size:10px} }
  /* ===== 로그인 상태(프로토타입) ===== */
  body:not(.authed) .au{display:none}
  body.authed .gu{display:none}
  /* ===== Mypage 신청내역: 날짜필터 + 아코디언 ===== */
  .ord-filter{display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:18px; padding-bottom:18px; border-bottom:1px solid var(--line)}
  .ord-filter .chips{display:flex; gap:6px; flex-wrap:wrap}
  .ord-chip{padding:8px 14px; border:1px solid var(--line); background:var(--surface); border-radius:20px; font-size:13px; font-weight:600; color:var(--muted); cursor:pointer}
  .ord-chip.on{background:var(--blue); border-color:var(--blue); color:#fff}
  .ord-range{display:flex; align-items:center; gap:8px}
  .ord-date{border:1px solid var(--line); border-radius:8px; padding:8px 10px; font-size:13px; font-family:inherit; color:var(--ink); background:var(--surface)}
  .ord-range span{color:var(--faint)}
  .ord-empty{text-align:center; color:var(--faint); font-size:14px; padding:40px 0}
  .my-item.ord{padding:0; overflow:hidden}
  .ord-sum{width:100%; display:flex; align-items:center; gap:14px; padding:17px 20px; background:none; border:0; cursor:pointer; text-align:left; font-family:inherit}
  .ord-sum:hover{background:var(--surface-2)}
  .ord-date-l{font-size:13px; color:var(--faint); width:92px; flex-shrink:0; font-variant-numeric:tabular-nums}
  .ord-nm{flex:1; font-weight:700; color:var(--navy); font-size:14.5px; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
  .ord-ar{color:var(--faint); transition:transform .2s; flex-shrink:0}
  .my-item.ord.open .ord-ar{transform:rotate(180deg)}
  .ord-detail{display:none; padding:0 20px 18px; border-top:1px solid var(--line)}
  .my-item.ord.open .ord-detail{display:block}
  .ord-meta{font-size:12px; color:var(--faint); margin:16px 0 4px}
  .pill.done{background:#e5e9f0; color:#475569}
  @media(max-width:560px){ .ord-filter{align-items:stretch} .ord-nm{white-space:normal} .ord-date-l{width:78px} }
  .ord-pager{display:flex; justify-content:center; gap:6px; margin-top:24px}
  .pg-btn{min-width:34px; height:34px; padding:0 10px; border:1px solid var(--line); background:var(--surface); border-radius:8px; font-size:13.5px; font-weight:600; color:var(--muted); cursor:pointer}
  .pg-btn:hover:not(:disabled):not(.on){background:var(--surface-2)}
  .pg-btn.on{background:var(--blue); border-color:var(--blue); color:#fff; cursor:default}
  .pg-btn:disabled{opacity:.4; cursor:default}
  .about-portrait .kitq-logo-wrap{display:flex; justify-content:center; align-items:center}
  .kitq-logo{width:230px; max-width:78%; height:auto; display:block; overflow:visible}
  /* feedback additions */
  .ci-concept .ci-sym{width:60px; height:60px; margin:0 auto 14px; display:flex; align-items:center; justify-content:center}
  .ci-concept .ci-sym svg{width:48px; height:48px}
  .ci-concept .vcard{text-align:center}
  .cd-grade{display:flex; gap:8px; margin-bottom:16px}
  .cd-gbtn{flex:1; padding:10px 0; border:1px solid var(--line); border-radius:9px; background:var(--surface); font-size:14px; font-weight:700; color:var(--muted); cursor:pointer}
  .cd-gbtn.on{border-color:var(--blue); background:#f4f8fd; color:var(--navy)}
  .btn:disabled{opacity:.42; cursor:default; pointer-events:none}
  .pub{border:1px solid var(--line); border-radius:10px; overflow:hidden; margin-bottom:8px}
  .pub-hd{background:#eaf1fb; color:var(--navy); text-align:center; font-weight:700; padding:10px; font-size:12.5px}
  .pub-hd b{color:var(--blue); margin:0 5px; font-weight:700}
  .pub-sec{background:var(--surface-2); color:var(--navy); font-weight:700; padding:7px 12px; border-top:1px solid var(--line); font-size:12px}
  .pub-t{width:100%; border-collapse:collapse; table-layout:fixed}
  .pub-t th{width:16%; background:#f5f8fc; color:var(--navy); font-weight:700; text-align:left; vertical-align:top; padding:9px 10px; border-top:1px solid var(--line); border-right:1px solid var(--line); font-size:11.5px; line-height:1.5}
  .pub-t td{padding:9px 10px; border-top:1px solid var(--line); border-right:1px solid var(--line); color:var(--ink); vertical-align:top; line-height:1.6; font-size:11.5px; word-break:break-word}
  .pub-t th:last-child,.pub-t td:last-child{border-right:0}
  .pub-ex{color:var(--faint); font-weight:400}
  .pub-notice{background:#fafbfc; border-top:1px solid var(--line); padding:11px 13px; font-size:11px; color:var(--muted); line-height:1.7}
  .stic{width:46px; height:46px; border-radius:12px; background:#EEF2F7; display:flex; align-items:center; justify-content:center; margin-bottom:14px}
  .stic svg{width:26px; height:26px; display:block}
  .ico svg{width:18px; height:18px; display:block}
  .hico{display:inline-flex; align-items:center; color:var(--blue); vertical-align:-3px; margin-right:9px}
  .hico svg{width:18px; height:18px}

  /* ===== 마이페이지 액션: 모달 · 발급정보 인라인 확장 (v0.33) ===== */
  .kmodal{display:none; position:fixed; inset:0; z-index:300}
  .kmodal.open{display:block}
  .kmodal .kback{position:absolute; inset:0; background:rgba(12,20,40,.5)}
  .kmodal .kbox{position:relative; z-index:1; background:var(--surface); width:calc(100% - 40px); max-width:460px; margin:7vh auto 0; border-radius:14px; box-shadow:0 30px 70px -30px rgba(10,20,45,.6); max-height:86vh; display:flex; flex-direction:column; overflow:hidden}
  /* 약관 본문처럼 긴 문서를 보여줄 때 쓰는 넓은 변형 */
  .kmodal .kbox.kbox-wide{max-width:760px}
  .kbox .khd{display:flex; align-items:center; justify-content:space-between; padding:17px 22px; border-bottom:1px solid var(--line)}
  .kbox .khd h3{margin:0; font-size:17px; font-weight:800; color:var(--navy)}
  .kbox .kx{background:none; border:0; font-size:17px; color:var(--faint); cursor:pointer; line-height:1; padding:4px}
  .kbox .kbd{padding:18px 22px; overflow-y:auto; flex:1; min-height:0}
  .kbox .kft{padding:14px 22px; border-top:1px solid var(--line); display:flex; gap:8px}
  .kbox .kft .btn{flex:1; height:46px}
  .krow{margin-bottom:14px}
  .krow>label{display:block; font-size:13px; font-weight:700; color:var(--navy); margin-bottom:7px}
  .kseg{display:flex; gap:8px; flex-wrap:wrap}
  .kseg .opt{flex:1; min-width:88px; text-align:center; padding:11px 8px; border:1px solid var(--line); border-radius:9px; font-size:13.5px; font-weight:600; color:var(--muted); cursor:pointer; user-select:none}
  .kseg .opt.on{border-color:var(--blue); background:#f4f8fd; color:var(--navy)}
  .ksum{background:var(--surface-2); border-radius:10px; padding:12px 14px; font-size:13.5px; line-height:1.85; margin-bottom:14px}
  .ksum b{color:var(--navy)}
  .knote{font-size:12px; color:var(--faint); line-height:1.65; margin-top:4px}
  .kchk{display:flex; gap:9px; align-items:flex-start; font-size:13px; color:var(--ink); line-height:1.5; cursor:pointer; margin-top:8px}
  .kchk input{margin-top:2px; flex-shrink:0}
  .cert-info{display:none; border-top:1px dashed var(--line); margin-top:14px; padding-top:12px}
  .my-item.open .cert-info{display:block}
  .cert-info .r{display:flex; justify-content:space-between; gap:14px; padding:5px 0; font-size:13px}
  .cert-info .r .k{color:var(--muted); flex-shrink:0} .cert-info .r .v{color:var(--ink); font-weight:600; text-align:right}
  .cert-info .pqi{margin-top:10px; background:var(--surface-2); border-radius:8px; padding:11px 13px; font-size:12.5px; color:var(--muted); line-height:1.6}


/* ----- 프로토타입 <main> 지역 스타일 ----- */

      .kl-st0, .kl-st1 {
        fill: #1d2b4d;
      }

      .kl-st2 {
        fill: none;
        stroke: #1671d3;
        stroke-miterlimit: 10;
        stroke-width: .2px;
      }

      .kl-st3 {
        fill: url(#_무제_그라디언트_5);
      }

      .kl-st4, .kl-st5, .kl-st6, .kl-st1 {
        isolation: isolate;
      }

      .kl-st7, .kl-st5 {
        fill: #005bac;
      }

      .kl-st5 {
        font-family: "Pretendard Variable","Pretendard","Malgun Gothic",sans-serif;
        font-size: 6.41px;
        font-weight: 600;
        letter-spacing: .18em;
      }

      .kl-st6 {
        fill: #6b7280;
        font-size: 6.64px;
      }

      .kl-st6, .kl-st1 {
        font-family: "Pretendard Variable","Pretendard","Malgun Gothic",sans-serif;
        font-weight: 700;
      }

      .kl-st1 {
        font-size: 14.47px;
      }
    