
/* 한 열 화면(휴대폰 기준 폭). PC에서도 같은 화면을 가운데에 둔다. 시트는 아래에서 올라온다 */
:root{
  --bg:#ffffff; --page:#ffffff; --fg:#191f28; --sub:#4e5968; --muted:#6b7684; --faint:#8b95a1;
  --line:#e5e8eb; --line2:#f2f4f6; --fill:#f2f4f6; --fill2:#f9fafb;
  --logo-bar:#1e3a8a; --logo-dot:#3182f6;
  --accent:#2272eb; --accent-ink:#1b64da; --accent-soft:#e8f3ff; --accent-soft2:#f2f8ff; --accent-line:#b9d6ff; --on-accent:#ffffff;
  --over:#c9252f; --over-soft:#fff0f0; --over-btn:#e42939; --over-line:#ffb3b8;
  --near:#b25e00; --near-soft:#fff8e6;
  --z1:#f2f4f6; --z2:#fff1d6; --z3:#ffe2e3; --l70:#8b95a1; --lul:#191f28;
  --dom:#067647; --dom-bg:#ecfdf3; --imp:#175cd3; --imp-bg:#eff8ff; --dsld:#6941c6; --dsld-bg:#f4f3ff;
  --otc:#0e7068; --otc-bg:#e6f6f4; --otc-line:#9fd8d1;
  --hero:#2563eb; --hero-sub:#dbeafe;
  --scrim:rgba(17,24,39,.45); --cab:#f7f9fb; --cab-line:#d6dde6;
  --font:"Noto Sans KR",-apple-system,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --hero:#1e3a8a; --hero-sub:#c7d7fe; --bg:#15181d; --page:#0d0f12; --fg:#eceef1; --sub:#b4bcc6; --muted:#8d96a1; --faint:#68717c;
  --line:#2b3038; --line2:#23272e; --fill:#22262d; --fill2:#1b1f25;
  --logo-bar:#dbe7ff; --logo-dot:#4f8dfd;
  --accent:#4f8dfd; --accent-ink:#8ab4ff; --accent-soft:#1b2a44; --accent-soft2:#18223a; --accent-line:#2f4a7a; --on-accent:#ffffff;
  --over:#ff8a80; --over-soft:#3a1d1d; --over-btn:#e5484d; --over-line:#6b2b2b;
  --near:#f5b25a; --near-soft:#33270f;
  --z1:#22262d; --z2:#3a2f16; --z3:#3d2020; --l70:#7a8592; --lul:#eceef1;
  --dom:#5fd39a; --dom-bg:#13301f; --imp:#7cb4ff; --imp-bg:#152a45; --dsld:#b9a3ff; --dsld-bg:#271f45; --otc:#5fd8ca; --otc-bg:#102e2b; --otc-line:#245b55;
  --scrim:rgba(0,0,0,.6); --cab:#1d2229; --cab-line:#39414b; color-scheme:dark}}
:root[data-theme="dark"]{
  --hero:#1e3a8a; --hero-sub:#c7d7fe; --bg:#15181d; --page:#0d0f12; --fg:#eceef1; --sub:#b4bcc6; --muted:#8d96a1; --faint:#68717c;
  --line:#2b3038; --line2:#23272e; --fill:#22262d; --fill2:#1b1f25;
  --logo-bar:#dbe7ff; --logo-dot:#4f8dfd;
  --accent:#4f8dfd; --accent-ink:#8ab4ff; --accent-soft:#1b2a44; --accent-soft2:#18223a; --accent-line:#2f4a7a; --on-accent:#ffffff;
  --over:#ff8a80; --over-soft:#3a1d1d; --over-btn:#e5484d; --over-line:#6b2b2b;
  --near:#f5b25a; --near-soft:#33270f;
  --z1:#22262d; --z2:#3a2f16; --z3:#3d2020; --l70:#7a8592; --lul:#eceef1;
  --dom:#5fd39a; --dom-bg:#13301f; --imp:#7cb4ff; --imp-bg:#152a45; --dsld:#b9a3ff; --dsld-bg:#271f45; --otc:#5fd8ca; --otc-bg:#102e2b; --otc-line:#245b55;
  --scrim:rgba(0,0,0,.6); --cab:#1d2229; --cab-line:#39414b; color-scheme:dark}
*{box-sizing:border-box}
html{background:var(--page)}
body{margin:0;background:var(--page);color:var(--fg);font-family:var(--font);font-size:16px;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere;-webkit-tap-highlight-color:transparent}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer}
/* 아주 좁은 화면(폴드 접은 화면 280px 등, 2026-10-20 화면 크기 점검): 위 줄의 로고를 숨기고 기준 단추를 줄인다 */
.sumcard .row{flex-wrap:wrap}
.skick{display:block;font-size:14px;font-weight:600;color:var(--sub)}
.s12{font-size:12px;line-height:1.5;color:var(--faint)}
.tealtxt{color:var(--otc);font-weight:600;display:inline-flex;align-items:center;gap:4px}.tealtxt .sdot{width:7px;height:7px}.sumcard b{white-space:nowrap}
.app{max-width:480px;margin:0 auto;min-height:100vh;background:var(--page);padding:0 16px 150px;display:flex;flex-direction:column;gap:16px;position:relative}
@media (min-width:560px){.app{box-shadow:0 0 0 1px var(--line)}}
.fixw{position:fixed;left:0;right:0;margin:0 auto;max-width:480px}
h1,h2,h3,p{margin:0}
.h1{font-size:26px;line-height:1.38;font-weight:700;letter-spacing:-.03em}
.h2{font-size:22px;line-height:1.38;font-weight:700;letter-spacing:-.02em}
.sub{font-size:16px;color:var(--sub);line-height:1.6}
.s14{font-size:14px;color:var(--muted);line-height:1.5}
.s13{font-size:13px;color:var(--muted);line-height:1.5}
.b{font-weight:700}
.red{color:var(--over)} .amber{color:var(--near)}
.num{font-variant-numeric:tabular-nums}
.row{display:flex;align-items:center;gap:10px}
.col{display:flex;flex-direction:column;gap:10px}
.grow{flex:1;min-width:0}
.between{justify-content:space-between}
.ell{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top{height:56px;display:flex;align-items:center;gap:8px;flex:none}
.top .word{font-size:20px;font-weight:700;letter-spacing:-.02em}
.wm{border:0;background:transparent;padding:6px 4px;color:var(--fg);display:inline-flex;align-items:center;gap:6px;line-height:1}
.iconbtn{width:40px;height:40px;margin-left:-8px;border:0;background:transparent;display:flex;align-items:center;justify-content:center;border-radius:10px}
.backtxt{display:flex;align-items:center;gap:2px;border:0;background:transparent;font-size:16px;font-weight:500;margin-left:-6px;padding:6px 4px;white-space:nowrap;flex:none}
/* 2026-11-21 독립 검토 D1(C-01): 위 줄의 로고는 줄바꿈하지 않는다 · 기준 칩(.dest.dfit — 성분 화면)이 줄어드는 칸(글은 .dtx에서 …) · 칩 글이 긴 화면(.tlong)은 440px 이하에서 로고를 감춘다 */
.top .wm{flex:none}.mkw{white-space:nowrap}
.dest.dfit{min-width:0}.dest.dfit .dtx{min-width:0;overflow:hidden;text-overflow:ellipsis}
@media (max-width:440px){.top.tlong .wm{display:none}}
.link{border:0;background:transparent;color:var(--accent-ink);font-weight:700;padding:6px 0;font-size:15px}
.link.gray{color:var(--sub);font-weight:500}
.brandline{font-size:14px;font-weight:700;color:var(--accent-ink);letter-spacing:-.01em}
/* 넣을 곳 칩 */
.dest{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 10px 0 12px;border-radius:999px;border:1.5px solid var(--accent-line);background:var(--accent-soft2);color:var(--accent-ink);font-size:15px;font-weight:700;white-space:nowrap}
.dest.static{cursor:default;background:var(--fill);border-color:transparent;color:var(--sub);height:30px;font-size:14px}
/* 검색 */
.search{display:flex;align-items:center;gap:10px;min-height:56px;border-radius:18px;border:1.5px solid transparent;padding:0 14px 0 16px;background:var(--bg)}
.search.hero{border:2px solid transparent;background:var(--fill)}
.search:focus-within{border:2px solid var(--accent)}
.search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:17px;height:52px}
.search input::-webkit-search-cancel-button{display:none;-webkit-appearance:none}
.search input::placeholder{color:var(--faint)}
.search .clear{width:26px;height:26px;border-radius:50%;border:0;background:var(--line);color:var(--bg);font-size:13px;display:flex;align-items:center;justify-content:center}
.searchlink{display:flex;align-items:center;gap:10px;min-height:54px;border-radius:14px;border:1.5px solid var(--line);padding:0 16px;font-size:17px;color:var(--faint);background:var(--bg);width:100%;text-align:left}
.chips{display:flex;flex-wrap:wrap;gap:8px}
/* 유통 경로 표시 */
.badge{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 8px;border-radius:6px;font-size:13px;font-weight:700;white-space:nowrap}
.badge.big{height:26px;font-size:14px}
.badge svg{width:13px;height:13px}
.badge.dom{background:var(--dom-bg);color:var(--dom)} .badge.imp{background:var(--imp-bg);color:var(--imp)} .badge.dsld{background:var(--dsld-bg);color:var(--dsld)}
/* 일반의약품(명세 7-1c): 갈래 표시는 영양제 갈래와 달리 회색으로 덮지 않는다(늘 구분되어 보이게). 막대·기준선 색은 영양제와 같다 */
.badge.otc{background:var(--otc-bg);color:var(--otc)}
.dchip.t-otc{background:var(--otc-bg)!important;color:var(--otc)!important}
/* 일반의약품 칸 (명세 7-1c, 2026-10-20): 결과 안에서 다른 색 칸으로. 합계·%·막대 없음 */
.otcfold summary::-webkit-details-marker{display:none}
.otcfold{border:0;border-radius:18px;background:var(--otc-bg);padding:2px 12px 12px;margin-top:4px;scroll-margin-top:12px}
.otcfold summary{display:flex;align-items:center;gap:12px;min-height:64px;padding:10px 4px;cursor:pointer;list-style:none;color:var(--otc)}
.otcfold summary b{font-size:17px}
.otcfold summary .sdot{width:12px;height:12px}
.otcfold summary .ctag{font-size:12px;padding:3px 8px;background:var(--bg)}
.otcfold summary .osum{color:var(--otc);opacity:.85;line-height:1.4;white-space:normal}
.obody{display:flex;flex-direction:column;background:var(--bg);border-radius:14px;padding:4px 16px 16px}
.orow{display:flex;flex-direction:column;gap:4px;padding:16px 0}.orow+.orow{border-top:1px solid var(--line2)}
.onm{font-size:17px;margin-bottom:2px}
.oline{display:flex;align-items:center;gap:12px;padding:8px 0;font-size:15.5px}
.oform{display:block;border-top:1px dashed var(--line2);margin:6px 0 2px}
.ofold{margin:0}.orow+.ofold{border-top:1px solid var(--line2)}.ofold summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;padding:16px 0;font-size:15.5px;font-weight:600;color:var(--fg)}.ofold summary::-webkit-details-marker{display:none}.ofold summary .ocar{margin-left:auto}.ofold[open]>summary .ocar{transform:rotate(45deg);margin-top:-4px}.ofbody{display:flex;flex-direction:column;border-top:1px solid var(--line2)}
.ohint{color:var(--muted);padding:14px 0 2px;line-height:1.5}
.otcfold.nutotc{display:flex;flex-direction:column}.otcsum{display:flex;align-items:center;gap:12px;min-height:64px;padding:10px 4px;color:var(--otc)}.otcsum b{font-size:16px}.otcsum .sdot{width:12px;height:12px}.otcsum .ctag{font-size:12px;padding:3px 8px;background:var(--bg)}.otcsum .osum{color:var(--otc);opacity:.85;line-height:1.4}.nutotc .obody{padding-top:0}.nutotc .orow{padding-top:8px}
.oacts{display:flex;flex-direction:column;gap:8px;padding-top:14px}.orow+.oacts,.ofold+.oacts{border-top:1px solid var(--line2);margin-top:2px}
.obtn{display:flex;align-items:center;gap:8px;width:100%;padding:13px 14px;border:1px solid var(--line);border-radius:12px;background:var(--bg);font:inherit;font-size:15px;font-weight:600;color:var(--accent-ink);text-align:left;cursor:pointer}
.otcfold .ocar{width:8px;height:8px;border-right:2px solid var(--otc);border-bottom:2px solid var(--otc);transform:rotate(-45deg);margin:0 4px 0 2px;flex:none}
.otcfold[open]>summary .ocar{transform:rotate(45deg);margin-top:-4px}
.oline .num{font-size:16px;font-weight:700;flex:none}.oline.ref{padding:8px 0 4px}.oline.ref .ell{font-weight:600;color:var(--sub)}.sdot.ref{background:transparent;border:2px solid var(--muted);box-sizing:border-box}
.oline .ell{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.osub{font-size:12.5px;color:var(--muted);line-height:1.3}
.otcalso{display:flex;align-items:center;gap:7px;margin-top:2px;font-size:13px;font-weight:600;color:var(--otc);text-align:left;cursor:pointer}.otcalso .sdot{width:9px;height:9px;flex:none}
.otcnotice{display:flex;flex-direction:column;gap:8px;padding:12px 14px;border-radius:14px;background:var(--otc-bg);color:var(--fg)}.otcnotice>.row b{color:var(--otc);font-size:15.5px}.otcnotice .s14{line-height:1.55;color:var(--sub)}
.otcill{position:relative;display:flex;flex-direction:column;gap:6px;padding:10px 12px;border-radius:10px;background:var(--bg)}.oiex{position:absolute;bottom:8px;right:10px;font-size:10.5px;font-weight:700;color:var(--muted);background:var(--fill);border-radius:5px;padding:1px 5px}.oir{display:flex;align-items:center;gap:10px;font-size:13px}.oil1{flex:none;min-width:64px;white-space:nowrap;color:var(--muted);font-weight:600}.oir.otc .oil1{color:var(--otc)}
.oibar{position:relative;flex:1;height:8px;border-radius:4px;background:var(--fill)}.oibar i{position:absolute;left:0;top:0;bottom:0;border-radius:4px;background:var(--accent)}.oibar em{position:absolute;left:72%;top:-3px;width:2px;height:14px;background:var(--fg)}.oir .num{font-weight:700}.oitxt{flex:1;color:var(--sub);line-height:1.5}.oir.otc .num{color:var(--otc)}
.h1k{display:block;font-size:15px;font-weight:600;color:var(--sub);margin-bottom:-2px}
.mrow .cnt.otcc{display:inline-flex;align-items:center;gap:4px;color:var(--otc);background:var(--otc-bg)}.mrow .cnt.otcc .sdot{width:8px;height:8px}
.num.otc{color:var(--otc)}
.whyq{display:flex;flex-direction:column;gap:8px}.whyc{display:flex;flex-direction:column;gap:6px;padding:14px;border-radius:14px;background:var(--fill)}.whyc.otc{background:var(--otc-bg)}
.whyk{font-size:12.5px;font-weight:700;color:var(--muted)}.whyc.otc .whyk{color:var(--otc)}.whyqt{font-size:15.5px;line-height:1.4}.whya{display:flex;align-items:baseline;gap:8px}.whya .num{font-size:26px;font-weight:800}.whyc.otc .whya .num{color:var(--otc)}.whya span{font-size:14px;color:var(--sub)}
.whyrow{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:8px 12px;margin-top:10px;padding:12px 14px;border-radius:14px;border:1px solid var(--line)}.whyrow .whyeq{font-size:17px;font-variant-numeric:tabular-nums;white-space:nowrap}.whyrow .whyeq i{font-style:normal;color:var(--muted);padding:0 2px}.whyrow .whyeq .t{color:var(--otc)}
.whyx{width:26px;height:26px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:14px;font-weight:800}.whyrow.no .whyx{background:#fee2e2;color:#b91c1c}.whyrow.ok .whyx{background:#dcfce7;color:#15803d}.whyrow .s14{grid-column:1/-1;line-height:1.55;color:var(--sub)}
.ocol{display:flex;flex-direction:column;gap:8px;padding:14px;border-radius:14px;background:var(--fill)}
.ocol.otc{background:var(--otc-bg)}
.ocol>b{font-size:16px}
.otab{width:100%;border-collapse:collapse;font-size:15px;margin:4px 0}
.otab th{font-weight:600;color:var(--muted);text-align:left;padding:8px 4px;border-bottom:1px solid var(--line2);font-size:13px}
.otab td{padding:11px 4px;border-bottom:1px solid var(--line2);vertical-align:top}
.otab .num{text-align:right}
.otab .otf{display:block;font-size:12.5px;color:var(--muted);margin-top:2px}
.otcl{display:block;font-size:13px;line-height:1.45;color:var(--otc);margin-top:4px;text-align:left}
.otcm{flex-basis:calc(100% - 27px);margin:2px 0 0 27px}
.otcbox{display:flex;flex-direction:column;gap:6px;background:var(--otc-bg);border:1px solid var(--otc-line);border-radius:12px;padding:12px 14px;font-size:14px;line-height:1.5;color:var(--fg)}
.otcbox b{color:var(--otc)}
.otctag{display:inline-block;font-size:11.5px;font-weight:700;color:var(--otc);background:var(--otc-bg);border:1px solid var(--otc-line);border-radius:6px;padding:0 6px;margin-right:6px;vertical-align:1px;line-height:17px;white-space:nowrap}
.calc{display:flex;flex-direction:column;background:var(--fill2);border-radius:14px;padding:4px 14px 12px}
.calc .cr{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line2)}
.calc .cr>i{flex:none;width:10px;height:10px;border-radius:50%;background:var(--faint)}.calc .cr>i.otc{background:repeating-linear-gradient(135deg,var(--otc) 0 2px,var(--otc-line) 2px 4px)}
.calc .cn{font-size:15px;font-weight:600;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calc .ctag{font-size:11.5px;font-weight:700;color:var(--otc);background:var(--otc-bg);border-radius:5px;padding:1px 5px;vertical-align:2px}
.calc .ch{font-size:12.5px;color:var(--muted);line-height:1.4}.calc .cr>b{flex:none;font-size:16px}
.calc .csum{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:4px;padding-top:12px;font-size:14px;color:var(--sub)}.calc .csum b{color:var(--fg)}.calc .cpct{font-size:20px}
.two{display:grid;grid-template-columns:1fr 1fr;gap:8px}.two>div{display:flex;flex-direction:column;gap:4px;background:var(--fill2);border-radius:12px;padding:10px 12px;font-size:12.5px;color:var(--muted);line-height:1.45}.two b{font-size:14.5px;color:var(--fg)}
.uses summary{cursor:pointer;color:var(--accent-ink);font-size:14px;padding:4px 0}.uses span{display:block;font-size:13px;color:var(--sub);line-height:1.5;margin-top:6px}
.whysec{display:flex;flex-direction:column;gap:6px;border-top:1px solid var(--line2);padding-top:12px;font-size:14.5px;line-height:1.55}
.otcflag{display:block;cursor:pointer;text-align:left;background:var(--otc-bg);border-left:3px solid var(--otc);border-radius:8px;padding:8px 10px;margin:6px 0 2px;font-size:13px;line-height:1.5;color:var(--fg)}
.otcflag b{color:var(--otc);font-size:13.5px}
.otcflag.v2{background:none;border:0;padding:2px 0;margin:2px 0 0;color:var(--otc);font-weight:700;font-size:14px}
.from2{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--sub);background:var(--fill2);border-radius:10px;padding:8px 10px}
.from2 .dots{display:flex;gap:3px;flex:none}.from2 .dots i{width:8px;height:8px;border-radius:50%}
.from2 .dots i.otc{background:repeating-linear-gradient(135deg,var(--otc) 0 2px,var(--otc-line) 2px 4px)}
.from2 .mr{flex:none;color:var(--muted);font-size:13px}
.badges{display:flex;gap:4px;flex-wrap:wrap}
/* 이용 방법 */
.how{display:flex;gap:8px}
.how>div{flex:1;display:flex;flex-direction:column;gap:4px;padding:12px;border-radius:14px;background:var(--fill2)}
.how .n{width:22px;height:22px;border-radius:50%;background:var(--fg);color:var(--bg);font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}
.how b{font-size:15px} .how span{font-size:12.5px;color:var(--muted);line-height:1.45}
/* 경로 탭 */
.tabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:0 16px}
.tabs::-webkit-scrollbar{display:none}
.tab{flex:none;height:38px;padding:0 14px;border-radius:999px;border:1.5px solid var(--line);background:var(--bg);font-size:14px;display:flex;align-items:center;gap:4px}
.tab .c{color:var(--muted)}
.tab[aria-pressed="true"]{background:var(--fg);border-color:var(--fg);color:var(--bg);font-weight:700}
.tab[aria-pressed="true"] .c{color:var(--bg);opacity:.7}
.tab:disabled{opacity:.45;cursor:default}
/* 검색 결과: 밑줄 탭 + 테두리 없는 목록 */
.utabs{display:flex;gap:20px;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--line2);margin:0 -16px;padding:0 16px}
.utabs:empty,#qinfo:empty{display:none}
.utabs::-webkit-scrollbar{display:none}
.utab{flex:none;height:42px;padding:0;border:0;background:none;font-size:15px;color:var(--muted);display:flex;align-items:center;gap:5px;box-shadow:inset 0 -2px 0 transparent}
.utab .c{font-size:13px;font-variant-numeric:tabular-nums}
.utab[aria-pressed="true"]{color:var(--fg);font-weight:700;box-shadow:inset 0 -2px 0 var(--fg)}
.plist{display:flex;flex-direction:column;margin-top:-4px}
.prow{display:flex;align-items:center;gap:14px;width:100%;padding:14px 0;border:0;border-bottom:1px solid var(--line2);background:none;text-align:left;color:inherit;font:inherit;cursor:pointer}
.prow:last-child{border-bottom:0}
.prow:active{background:var(--fill2)}
.prow.dim .pr-name,.prow.dim .fthumb{opacity:.55}
.pr-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.pr-name{font-size:16px;font-weight:700;line-height:1.35;letter-spacing:-.01em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pr-meta{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pr-nut{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13.5px;color:var(--sub);font-weight:600;font-variant-numeric:tabular-nums;line-height:1.4}
.pr-nut .d{color:var(--faint);font-weight:500}
.pr-nut .sep{color:var(--faint);margin:0 5px}
.pr-nut .hi{color:var(--accent-ink)}
.pr-nut.muted{color:var(--faint);font-weight:500}
.pr-nut.fact{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:keep-all}
.padd{flex:none;height:36px;padding:0 13px 0 11px;border-radius:999px;background:var(--accent);color:var(--on-accent);display:flex;align-items:center;gap:4px;font-size:14.5px;font-weight:700;white-space:nowrap}
.prow:active .padd{filter:brightness(.92)}
.prw{position:relative}
.prw.hasdet .prow{min-height:96px;align-items:flex-start}
.prw.hasdet .prow .padd,.prw.hasdet .prow .pin{margin-top:2px}
.pdet{position:absolute;right:0;top:56px;height:32px;padding:0 4px 0 10px;border:0;border-radius:8px;background:none;color:var(--sub);font-size:13.5px;font-weight:600;display:flex;align-items:center;gap:2px}
.pdet:active{background:var(--fill)}
.pin{flex:none;height:36px;padding:0 12px;border-radius:999px;background:var(--fill);color:var(--muted);display:flex;align-items:center;gap:4px;font-size:14px;font-weight:600;white-space:nowrap}
/* 2026-10-21 검색 목록에서 서랍에 든 제품: 같은 자리에 누를 수 있는 단추를 겹친다(줄 단추 안에 단추를 넣을 수 없어서). 줄 안의 표는 자리만 지킨다 */
.pin.ph{visibility:hidden}
.othd{display:flex;align-items:center;gap:4px;margin-top:4px;font-size:12px;font-weight:600;color:var(--muted)}
.prw .pinx{position:absolute;right:0;top:16px;border:0;cursor:pointer;font:inherit;font-size:14px}
.prw .pinx:active{filter:brightness(.94)}
.prw .pinx:not(.fresh){color:var(--sub);background:var(--fill)}
.putguide{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:14px;background:var(--accent-soft);color:var(--accent-ink);margin:2px 0 6px}
.putguide svg{flex:none;margin-top:1px}
.putguide>span{display:flex;flex-direction:column;gap:2px;min-width:0}
.putguide b{font-size:14.5px}
.putguide>span>span{font-size:13px;color:var(--sub)}
/* 제품 줄 */
.hit{display:flex;align-items:center;gap:12px;padding:13px 0;border-top:1px solid var(--line2)}
.hit:first-child{border-top:0}
.hit .nm{font-size:16px;font-weight:700;line-height:1.35}
.addbtn{flex:none;height:40px;padding:0 14px;border-radius:10px;border:0;background:var(--accent-soft);color:var(--accent-ink);font-size:15px;font-weight:700}
.addbtn.in{background:var(--fill);color:var(--muted);font-weight:500}
.bottle{flex:none;width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center}
.bottle.lg{width:56px;height:56px;border-radius:14px}
.bottle.sm{width:36px;height:36px;border-radius:10px}
/* 버튼 */
.btn{min-height:56px;border-radius:14px;border:0;font-size:17px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 16px;white-space:nowrap;width:100%}
.btn.p{background:var(--accent);color:var(--on-accent)}
.btn.s{background:var(--accent-soft);color:var(--accent-ink);font-size:16px}
.btn.g{background:var(--fill);color:var(--fg)}
.btn.r{background:var(--over-btn);color:#fff}
.btn.t{background:transparent;color:var(--sub);font-weight:500;font-size:15px;min-height:44px}
.btn:disabled{background:var(--line);color:var(--muted);cursor:default}
.btn.auto{width:auto;padding:0 26px;min-height:52px}
.grid2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.opt{min-height:52px;border-radius:12px;border:1.5px solid #d1d5db;border-color:var(--line);background:var(--bg);font-size:16px;padding:0 6px}
.opt[aria-pressed="true"]{border:2px solid var(--accent);background:var(--accent-soft);color:var(--accent-ink);font-weight:700}
.opt.pill{border-radius:999px;min-height:44px;padding:0 18px;font-size:15px}
.opt.card{text-align:left;padding:12px;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.opt.card[aria-pressed="true"]{background:var(--accent-soft2)}
.q{font-size:16px;font-weight:700}
/* 아래 고정 바 */
.bbar{position:fixed;left:0;right:0;bottom:0;margin:0 auto;max-width:480px;background:var(--bg);border-top:1px solid var(--line);padding:12px 20px calc(16px + env(safe-area-inset-bottom));z-index:20}
.bbar .info{flex:1;min-width:0;text-align:left;border:0;background:transparent;padding:0}
.bbar .info b{display:block;font-size:15px} .bbar .info span{font-size:13px;color:var(--muted)}
/* 서랍 */
.drawerbox{border-radius:18px;background:var(--fill);padding:6px 16px 4px}
.drawerbox .head{display:flex;align-items:center;justify-content:space-between;padding:10px 0 8px}
.item{display:flex;align-items:center;gap:12px;padding:14px 0;border-top:1px solid var(--line)}
.drawerbox .item:first-of-type{border-top:0}
.plain .item{border-top:1px solid var(--line2)}
.item .nm{font-size:16px;font-weight:700}
.item .meta{font-size:14px;color:var(--sub)}
.smallbtn{flex:none;height:36px;padding:0 12px;border-radius:10px;border:0;background:var(--bg);color:var(--sub);font-size:14px}
.plain .smallbtn{background:var(--fill)}
.trash{display:inline-flex;align-items:center;gap:5px;height:34px;padding:0 12px;border-radius:10px;border:1.5px solid var(--over-line);background:var(--bg);color:var(--over);font-size:14px;font-weight:700}
.units{display:inline-flex;align-items:center;gap:2px;border:1px solid var(--line);border-radius:999px;background:var(--bg)}
.units button{width:30px;height:28px;border:0;background:transparent;font-size:16px;color:var(--sub)}
.units span{min-width:56px;text-align:center;font-size:14px}
/* 결과 */
.sim{border-radius:16px;background:var(--accent-soft2);border:2px solid var(--accent);padding:14px;display:flex;flex-direction:column;gap:10px}
.sim .cell{min-height:56px;border-radius:12px;border:1.5px solid var(--accent-line);background:var(--bg);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;padding:0 12px;text-align:left}
.sim .cell.wide{grid-column:span 2}
.sim .cell small{font-size:12px;color:var(--muted)}
.sim .cell b{font-size:17px;font-weight:700;color:var(--accent-ink);display:flex;align-items:center;justify-content:space-between;width:100%}
.sim .tagx{font-size:12px;color:var(--accent-ink);font-weight:700;background:var(--accent-soft);border-radius:999px;padding:3px 8px;white-space:nowrap}
.callout{display:flex;gap:8px;align-items:flex-start;font-size:14px;color:var(--accent-ink);line-height:1.5;background:var(--bg);border-radius:10px;padding:10px 12px}
.callout .i{flex:none;width:18px;height:18px;margin-top:2px;border-radius:50%;background:var(--accent);color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}
.tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.tiles>div{border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:2px}
.tiles span{font-size:13px;font-weight:700} .tiles b{font-size:24px;line-height:1.2} .tiles b small{font-size:15px}
.t-over{background:var(--over-soft);color:var(--over)} .t-near{background:var(--near-soft);color:var(--near)} .t-ok{background:var(--fill);color:var(--sub)}
.st.amb{background:#f3f4f6;color:#4b5563}
.ambbox{display:flex;flex-direction:column;gap:8px;padding:14px 16px;border-radius:14px;background:#fffbeb;box-shadow:inset 0 0 0 1px #fde68a;font-size:14.5px;line-height:1.6;color:#78350f}
.ambbox>b{font-size:15.5px}
.ambline{display:block;margin-top:2px;padding:8px 12px;border-radius:10px;background:#fffbeb;color:#92400e;font-size:13.5px;font-weight:600;text-align:left}
.notice{background:var(--fill);border-radius:12px;padding:12px 14px;font-size:14px;color:var(--sub);line-height:1.55}
.legend{display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--sub)}
.legend .sw{width:12px;height:12px;border-radius:3px;display:inline-block}
.legend .k{display:inline-flex;align-items:center;gap:6px}
.axis{position:relative;height:18px;font-size:12px;color:var(--muted)}
.axis span{position:absolute;white-space:nowrap}
.nrow{display:flex;flex-direction:column;gap:10px;padding:16px 0;border:0;border-top:1px solid var(--line2);background:transparent;text-align:left;width:100%}
.nrow .nm{font-size:18px;font-weight:700;flex:1}
.nrow .pct{font-size:24px;font-weight:700;min-width:68px;text-align:right;letter-spacing:-.02em}
.nrow .meta{display:flex;justify-content:space-between;gap:8px;font-size:14px;color:var(--sub)}
.st{display:inline-flex;align-items:center;gap:4px;height:26px;padding:0 10px;border-radius:999px;font-size:13px;font-weight:700;white-space:nowrap}
.st.over{background:var(--over-soft);color:var(--over)} .st.near{background:var(--near-soft);color:var(--near)}
.bar{position:relative;height:22px;border-radius:10px;background:linear-gradient(90deg,var(--z1) 0 46.67%,var(--z2) 46.67% 66.67%,var(--z3) 66.67% 100%)}
.bar.lg{height:30px}
.bar i{position:absolute;top:3px;bottom:3px;box-shadow:inset -1.5px 0 0 var(--bg)}
.bar i:first-child{border-radius:7px 0 0 7px}
.bar i.last{border-radius:0 7px 7px 0} .bar i.only{border-radius:7px}
.bar .hatch{position:absolute;top:3px;bottom:3px;border-radius:0 7px 7px 0;background:repeating-linear-gradient(-45deg,rgba(255,255,255,.75) 0 3px,transparent 3px 7px)}
.bar .l70{position:absolute;left:46.67%;top:0;bottom:0;border-left:2px dashed var(--l70)}
.bar .lul{position:absolute;left:calc(66.67% - 1.5px);top:-5px;bottom:-5px;width:3px;border-radius:2px;background:var(--lul)}
/* 의견 메일 칸(mailbox) · 만든 이유 시트(story) 꾸밈은 2026-11-19에 지웠다 — 같은 글·메일 칸은 /about · /contact 페이지(web/site-pages.js 꾸밈) */
/* 서랍 카드 */
.cardimg{display:flex;align-items:center;justify-content:center;width:100%;max-width:100%;aspect-ratio:1080/1350;border-radius:14px;background:var(--fill2);box-shadow:inset 0 0 0 1px var(--line2)}
img.cardimg{display:block;height:auto;max-height:52vh;object-fit:contain}
/* 주의사항 한글 풀이 */
.cauko{list-style:none;margin:10px 0 8px;padding:12px 14px;border-radius:10px;background:var(--fill2);display:flex;flex-direction:column;gap:8px}
.cauko li{font-size:14.5px;line-height:1.55;padding-left:12px;position:relative}
.cauko li::before{content:"";position:absolute;left:0;top:.62em;width:4px;height:4px;border-radius:50%;background:var(--faint)}
.cauko li.en{color:var(--muted);font-size:13.5px}
.cautag{display:inline-block;margin-left:6px;font-size:11px;font-weight:700;color:var(--muted);background:var(--fill);border-radius:5px;padding:0 5px;vertical-align:1px}
.cauen{margin-top:8px} .cauen summary{font-size:13.5px;color:var(--accent-ink);cursor:pointer;list-style:none}
/* 붙여넣기 안내 */
.pastehint{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted);margin-top:-6px}
.pastehint svg{width:13px;height:13px}
/* 받은 조합 */
.eyebrow2{font-size:13px;font-weight:700;color:var(--accent-ink)}
/* 살까 고민 중 */
.pltag{display:inline-block;font-size:11.5px;font-weight:700;color:var(--accent-ink);background:var(--accent-soft);border-radius:6px;padding:1px 6px;margin-right:6px;vertical-align:1px}
/* 회수·판매중지(2026-11-06, db/070): 서랍 줄 표(.pltag.rc) · 서랍장 위 카드와 제품 시트 칸(.rcnote — 왼쪽 선). 글은 사실과 출처만 */
.pltag.rc{color:var(--over);background:var(--over-soft)}
.rcnote{border-left:3px solid var(--over)}
.rcit{display:flex;flex-direction:column;gap:2px;padding-top:8px;border-top:1px solid var(--line2);overflow-wrap:anywhere}
.rcit .rcn{font-size:15px}
.rcnote .rcgo{min-height:44px;border-bottom:0;font-size:15px;font-weight:700;color:var(--accent-ink);text-decoration:none}
.rcsrc{color:var(--muted)}
.irow.planned .fthumb{opacity:.6;outline:1.5px dashed var(--accent-line);outline-offset:2px}
.seg2.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.seg2.three button{font-size:14.5px;padding:0 4px}
.pldelta{font-size:14px;color:var(--sub)} .pldelta b{color:var(--fg)}
/* 결과 화면 잠시 빼고 보기(저장하지 않음) */
.hidestrip{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:12px;background:var(--accent-soft);color:var(--accent-ink);font-size:15px;font-weight:700}
.hidestrip small{display:block;font-size:13px;font-weight:500;color:var(--sub);margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hidestrip .link{flex:none}
/* 첫 화면 B안: 파란 머리 + 예시 결과 카드 */
.bhero{margin:0 -16px;padding:0 16px 112px;background:var(--hero);color:#fff;display:flex;flex-direction:column}
.bhero h1{margin:22px 0 0;font-size:34px;line-height:1.28;font-weight:700;letter-spacing:-.035em;text-wrap:balance}
.bhero p{margin:12px 0 0;font-size:15.5px;line-height:1.6;color:var(--hero-sub)}
.bhero .wm{display:flex;align-items:center;gap:6px;border:0;background:none}
.link.onblue{color:var(--hero-sub);font-weight:500;font-size:14px}
.dest.onblue{background:rgba(255,255,255,.14);border-color:transparent;color:#fff}
.dbar{position:relative;height:16px;border-radius:8px;background:var(--z3);margin-top:16px}
.dbar i{position:absolute;top:2px;bottom:2px}
.dbar .ul{position:absolute;left:66.6%;top:-6px;bottom:-6px;width:3px;border-radius:2px;background:var(--lul)}
.dbar .ult{position:absolute;left:66.6%;top:-22px;transform:translateX(-50%);font-size:11px;font-weight:700;color:var(--sub)}
.search.hero{height:60px;border-radius:18px;border-width:2.5px}
.steps2{list-style:none;margin:2px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.steps2 li{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:12px 12px 13px;border-radius:14px;background:var(--fill2);box-shadow:inset 0 0 0 1.5px var(--line2)}
.steps2 .n{width:24px;height:24px;border-radius:50%;background:var(--accent-soft);color:var(--accent-ink);font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center}
.steps2 b{font-size:15.5px;letter-spacing:-.02em;white-space:nowrap}
.steps2 .t{font-size:12px;color:inherit;opacity:.68;line-height:1.35}
@media (prefers-reduced-motion:no-preference){
  .steps2 li{animation:6s ease-in-out infinite}
  .steps2 .k1{animation-name:dStep1} .steps2 .k2{animation-name:dStep2} .steps2 .k3{animation-name:dStep3}
  .steps2 .k1 .n{animation:dNum1 6s infinite} .steps2 .k2 .n{animation:dNum2 6s infinite} .steps2 .k3 .n{animation:dNum3 6s infinite}
}
@keyframes dStep1{0%,13%{background:var(--accent);box-shadow:none;color:#fff;transform:scale(1.03)}16%,100%{background:var(--fill2);color:var(--fg);transform:none}}
@keyframes dStep2{0%,13%{background:var(--fill2);color:var(--fg);transform:none}16%,40%{background:var(--accent);box-shadow:none;color:#fff;transform:scale(1.03)}43%,100%{background:var(--fill2);color:var(--fg);transform:none}}
@keyframes dStep3{0%,40%{background:var(--fill2);color:var(--fg);transform:none}43%,90%{background:var(--accent);box-shadow:none;color:#fff;transform:scale(1.03)}94%,100%{background:var(--fill2);color:var(--fg);transform:none}}
@keyframes dNum1{0%,13%{background:#fff;color:var(--accent-ink)}16%,100%{background:var(--accent-soft)}}
@keyframes dNum2{0%,13%{background:var(--accent-soft)}16%,40%{background:#fff;color:var(--accent-ink)}43%,100%{background:var(--accent-soft)}}
@keyframes dNum3{0%,40%{background:var(--accent-soft)}43%,90%{background:#fff;color:var(--accent-ink)}94%,100%{background:var(--accent-soft)}}
/* 서랍장 (간결판) */
.mpills{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:0 16px}
.mpills::-webkit-scrollbar{display:none}
.mpill{flex:none;height:36px;padding:0 14px;border-radius:999px;border:1.5px solid var(--line);background:var(--bg);font-size:14.5px;font-weight:600;color:var(--sub);display:flex;align-items:center;gap:6px}
.mpill .c{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.mpill[aria-pressed="true"]{background:var(--fg);border-color:var(--fg);color:var(--bg)}
.mpill[aria-pressed="true"] .c{color:var(--bg);opacity:.7}
.mpill.add{border-style:dashed;color:var(--muted)}
.mpill .pen{margin-left:-2px;opacity:.75;flex:none} /* 아이 홈: 고른 아이 칸을 다시 누르면 고치기(2026-10-28) */
.sumcard{display:flex;align-items:center;gap:12px;width:100%;padding:16px;border-radius:16px;border:0;background:var(--fill2);box-shadow:inset 0 0 0 1px var(--line2);text-align:left;color:inherit;font:inherit}
.ilist{display:flex;flex-direction:column}
.irow{display:flex;align-items:center;gap:12px;width:100%;padding:12px 0;border:0;border-top:1px solid var(--line2);background:none;text-align:left;color:inherit;font:inherit}
.irow:active{background:var(--fill2)}
.emptybox{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;background:var(--bg);border-radius:18px;padding:26px 18px 20px}
.emptybox svg{margin-bottom:6px}.emptybox>b{font-size:18px}.emptybox>span{font-size:14px;color:var(--sub);line-height:1.5}
.emptybox .esteps{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:13px;color:var(--muted)}
.emptybox .esteps span{display:flex;align-items:center;gap:5px}.emptybox .esteps i{font-style:normal;width:18px;height:18px;border-radius:50%;background:var(--fill);color:var(--sub);font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.emptybox .esteps em{font-style:normal;color:var(--faint)}
/* 디자인 v2(2026-10-20): 약통 색 점 · 막 넣은 줄 한 번 움직임 */
.ir-name .pdot.otc{background:repeating-linear-gradient(135deg,var(--otc) 0 2px,var(--otc-line) 2px 4px)}.ir-name .pdot{display:inline-block;width:8px;height:8px;border-radius:50%;margin:0 7px 2px 0;vertical-align:middle}
.irow.justin{animation:justin .32s ease-out}
@keyframes justin{from{opacity:0;transform:translateY(-10px) scale(.97)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.irow.justin{animation:none}}
.mbar.seg i{border-radius:0}.mbar.seg i.only,.mbar.seg i:first-child{border-radius:2px 0 0 2px}.mbar.seg i.last,.mbar.seg i.only{border-top-right-radius:2px;border-bottom-right-radius:2px}
.irow>svg{flex:none;color:var(--faint)}
.ir-name{font-size:15.5px;font-weight:700;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.link.ul{font-size:13.5px;text-decoration:underline;text-underline-offset:3px;padding:2px 0}
.isteps{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:14px;background:var(--fill2)}
.units.big{height:44px} .units.big button{width:44px;height:42px;font-size:20px} .units.big .num{font-size:17px;font-weight:700;min-width:70px;text-align:center}
/* 결과 화면 (간결판) */
.basischip{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:10px 14px;border:0;border-radius:12px;background:var(--fill);font-size:14px;color:var(--sub);text-align:left}
.basischip b{color:var(--fg)}
.basischip .dflt{font-size:11.5px;font-weight:700;color:var(--muted);background:var(--bg);border-radius:6px;padding:1px 6px;margin-left:6px;white-space:nowrap}
.basischip .go{flex:none;display:flex;align-items:center;gap:2px;color:var(--accent-ink);font-weight:700}
.spill{display:inline-flex;align-items:center;height:28px;padding:0 11px;border-radius:999px;font-size:13.5px;font-weight:700;white-space:nowrap}
.spill.over{background:var(--over-soft);color:var(--over)} .spill.near{background:var(--near-soft);color:var(--near)} .spill.dup{background:var(--fill);color:var(--sub)}
.note1{display:flex;gap:8px;align-items:flex-start;font-size:13.5px;color:var(--muted);line-height:1.5}
.note1 .i{flex:none;width:16px;height:16px;margin-top:2px;border-radius:50%;background:var(--faint);color:var(--bg);font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center}
.fcard{display:flex;flex-direction:column;gap:10px;width:100%;padding:16px;border-radius:16px;border:1.5px solid var(--line);background:var(--bg);text-align:left;color:inherit;font:inherit}
.fcard.over{border-color:var(--over-line)} .fcard.near{border-color:var(--near)}
/* color-mix()는 Safari 16.2·Chrome 111 아래에서 못 읽는다. var()가 든 선언이라 앞 줄 폴백이 먹지 않고 투명이 되므로(QA M3), 섞은 색은 @supports 안에만 두고 바깥 규칙에 단색 */
@supports (color:color-mix(in srgb,red 50%,blue)){.fcard.near{border-color:color-mix(in srgb,var(--near) 35%,transparent)}}
.fcard .nm{font-size:18px;font-weight:700;letter-spacing:-.01em}
.fcard .pct{font-size:26px;font-weight:700;letter-spacing:-.02em}
.fcard .bar{height:16px}
.fcard .bar i{top:2px;bottom:2px}
.fcard .bar{margin-top:16px}
.fcard .bar .lul::after{content:"상한";position:absolute;top:-17px;left:50%;transform:translateX(-50%);font-size:11px;font-weight:700;color:var(--sub);white-space:nowrap}
.fcard .meta{font-size:13.5px;color:var(--muted)}
.fcard .from{font-size:13px;font-weight:700;color:var(--sub);margin-bottom:-4px}
.srcs{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border-radius:12px;background:var(--fill2)}
.srcs .s1{display:flex;align-items:center;gap:8px;font-size:14px;min-width:0}
.srcs .s1 i{flex:none;width:10px;height:10px;border-radius:3px}
.srcs .s1 .n{flex:1;min-width:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.35;color:var(--sub)}
.srcs .s1 b{flex:none;font-weight:700}
.srcs .s1 small{font-size:12.5px;color:var(--muted)}
.sech{display:flex;align-items:baseline;justify-content:space-between;padding:8px 0 6px}
.sech b{font-size:17px} .sech span{font-size:13px;color:var(--muted)}
.mrow{display:flex;align-items:center;gap:8px;width:100%;padding:13px 0;border:0;border-top:1px solid var(--line2);background:none;text-align:left;color:inherit;font:inherit}
.mrow .dots{display:flex;flex-wrap:wrap;align-content:center;gap:3px;flex:none;width:19px} .mrow .dots i{width:8px;height:8px;border-radius:2px}.mrow .dots i.otc{background:repeating-linear-gradient(135deg,var(--otc) 0 2px,var(--otc-line) 2px 4px)}
.mrow .nm{font-size:16px;font-weight:600;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mrow .cnt{flex:none;font-size:12px;font-weight:700;color:var(--sub);background:var(--fill);border-radius:6px;padding:2px 6px}
.mrow .v{font-size:15px;font-weight:700;color:var(--sub)} .mrow .v.nul{font-weight:600;color:var(--muted)} .mrow .v small{font-size:12px;font-weight:500;color:var(--faint)}
.mrow svg{color:var(--faint);flex:none}
.more{display:flex;align-items:center;justify-content:space-between;padding:16px 0;border:0;border-top:1px solid var(--line2);background:transparent;color:var(--accent-ink);width:100%;text-align:left}
.nogrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 16px;font-size:15px}
.nogrid div{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-bottom:1px solid var(--line2)}
.bigpct{font-size:52px;font-weight:700;letter-spacing:-.03em;line-height:1.05}
.src{display:flex;align-items:center;gap:10px;padding:14px 0;border-top:1px solid var(--line2)}
.src:first-of-type{border-top:0}
.basisbox{background:var(--fill);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:6px}
details.cau{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0}
/* 라벨 원문 보기 · 제보 (보강 설계서 1-2) */
.chk{display:flex;flex-direction:column;gap:2px;background:var(--near-soft);color:var(--fg);border-radius:12px;padding:12px 14px;font-size:14px;line-height:1.5}
.chk b{color:var(--near);font-size:13px}
.lblbox{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.lblhead{width:100%;display:flex;justify-content:space-between;align-items:center;padding:14px 0;font-size:16px;font-weight:500;color:var(--fg);background:none;border:0;cursor:pointer;font-family:inherit}
.lblhead[aria-expanded="true"] svg{transform:rotate(180deg)}
.lblbody{display:flex;flex-direction:column;gap:10px;padding:0 0 14px}
.lblbody pre.raw{max-height:280px;overflow:auto}
.lbltbl{width:100%;border-collapse:collapse;font-size:13px}
.lbltbl td{padding:6px 0;border-bottom:1px solid var(--line2);vertical-align:top}
.lbltbl td.num{text-align:right;white-space:nowrap;padding-left:12px}
.lbltbl tr.nest td{color:var(--sub)}
.lbltbl tr.nest td:first-child{padding-left:14px}
.rpbox{display:flex;flex-direction:column;gap:10px;background:var(--fill2);border-radius:12px;padding:12px}
.rpdone{color:var(--sub)}
details.cau summary{font-size:16px;font-weight:500;cursor:pointer;list-style:none;display:flex;justify-content:space-between}
details.cau summary::-webkit-details-marker{display:none}
pre.raw{white-space:pre-wrap;font-family:inherit;font-size:14px;color:var(--sub);background:var(--fill2);border-radius:10px;padding:12px;margin:10px 0 0}
.foot{font-size:13px;color:var(--muted);line-height:1.6;padding:20px 0 4px;border-top:1px solid var(--line2);display:flex;flex-direction:column;gap:14px}
/* 다시 왔을 때 */
.dtabs{display:flex;gap:8px;overflow-x:auto;margin:0 -16px;padding:0 16px 2px;scrollbar-width:none}
.dtabs::-webkit-scrollbar{display:none}
.dtab{flex:none;width:118px;min-height:78px;border-radius:14px;border:1.5px solid var(--line);background:var(--bg);padding:10px 12px;display:flex;flex-direction:column;justify-content:space-between;text-align:left}
.dtab b{font-size:16px} .dtab span{font-size:13px;color:var(--muted);line-height:1.4}
.dtab[aria-pressed="true"]{border:2px solid var(--accent);background:var(--accent-soft2)}
.dtab[aria-pressed="true"] b{color:var(--accent-ink)}
.dtab.add{border-style:dashed;align-items:center;justify-content:center;color:var(--sub);font-weight:700;font-size:14px;width:100px}
.lastcard{display:flex;align-items:center;gap:14px;padding:16px;border-radius:18px;background:var(--fill2);border:1px solid var(--line2);text-align:left;width:100%}
.stack{display:flex;height:10px;border-radius:5px;overflow:hidden;gap:2px}
.adapp{display:flex;flex-direction:column;gap:6px;width:320px;max-width:100%;margin:24px auto 8px}.adapp .adtag{font-size:12px;line-height:16px;color:var(--muted)}.adapp:has(ins[data-ad-status="unfilled"]){display:none}
.vnote{display:flex;flex-direction:column;gap:6px;background:var(--bg);border-radius:16px;padding:14px 16px;box-shadow:0 1px 2px rgba(0,0,0,.04),0 4px 14px rgba(0,0,0,.05)}.vnote b{font-size:15px;line-height:1.45}
.buyhint{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:0;background:var(--bg);border-radius:16px;padding:14px 14px 14px 16px;color:var(--fg)}.buyhint b{font-size:15px}.buyhint span span{font-size:13px;color:var(--muted);line-height:1.5}.buyhint>svg{flex:none;color:var(--faint)}
.qcard{border:1.5px solid var(--line);border-radius:18px;padding:16px;display:flex;flex-direction:column;gap:12px}
.qcard .chipb{min-height:44px;padding:0 14px;border-radius:999px;border:1.5px solid var(--line);background:var(--bg);font-size:15px}
/* 시트 */
.scrim{position:fixed;inset:0;background:var(--scrim);z-index:40;display:flex;align-items:flex-end;justify-content:center}
.sheet{width:100%;max-width:480px;max-height:92vh;overflow:auto;background:var(--bg);border-radius:24px 24px 0 0;padding:12px 20px calc(24px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:16px}
.sheet.anim{animation:up .26s cubic-bezier(.2,.8,.2,1)}
@keyframes up{from{transform:translateY(40px);opacity:.4}to{transform:none;opacity:1}}
.grab{width:40px;height:5px;border-radius:3px;background:var(--line);align-self:center;flex:none}
.drow{display:flex;align-items:center;gap:12px;min-height:64px;padding:0 14px;border-radius:14px;border:1.5px solid var(--line);background:var(--bg);text-align:left;width:100%}
.drow[aria-pressed="true"]{border:2px solid var(--accent);background:var(--accent-soft2)}
.drow.add{border-style:dashed}
.drow .ic{width:40px;height:40px;border-radius:12px;background:var(--accent-soft);color:var(--accent-ink);display:flex;align-items:center;justify-content:center;flex:none}
.mark{width:24px;height:24px;border-radius:50%;border:2px solid var(--line);flex:none;display:flex;align-items:center;justify-content:center;font-size:13px;color:#fff}
[aria-pressed="true"] .mark{background:var(--accent);border-color:var(--accent)}
.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:110px;z-index:60;background:#111827;color:#fff;border-radius:14px;padding:12px 16px;font-size:15px;display:flex;align-items:center;gap:14px;max-width:440px;width:calc(100% - 40px);box-shadow:0 8px 24px rgba(0,0,0,.2)}
.toast button{border:0;background:transparent;color:#8ab4ff;font-weight:700;white-space:nowrap}
.famcard{gap:12px;padding:16px}.famcard .q{font-size:15px}.famcard select.by{width:100%;background:var(--fill);border:0}
.keyhero{display:flex;align-items:center;gap:12px;padding:2px 0 4px}.keyhero .kic{flex:none;width:48px;height:48px;border-radius:14px;background:var(--accent-soft);color:var(--accent-ink);display:flex;align-items:center;justify-content:center}.keyhero .kt{font-size:20px;font-weight:700;line-height:1.3}
.keysteps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;counter-reset:k}.keysteps li{display:grid;grid-template-columns:24px 1fr;column-gap:10px;row-gap:2px;counter-increment:k}
.keysteps li::before{content:counter(k);grid-row:span 2;width:24px;height:24px;border-radius:50%;background:var(--fill);color:var(--sub);font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}
.keysteps b{font-size:15px}.keysteps span{font-size:13.5px;color:var(--sub);line-height:1.5}
select.by{min-height:52px;border-radius:12px;border:1.5px solid var(--line);background:var(--bg);padding:0 12px;font-size:16px}
/* 계산 중 */
/* 결과 직전 기준 질문 */
.ask{position:fixed;inset:0;z-index:79;background:var(--bg);overflow-y:auto;display:flex;flex-direction:column;padding:calc(env(safe-area-inset-top,0px) + 40px) 20px calc(env(safe-area-inset-bottom,0px) + 20px)}
.ask-in{flex:1;width:100%;max-width:440px;margin:0 auto;display:flex;flex-direction:column;gap:28px}
.ask .opt{min-height:50px;font-size:16px}
.ask .grid3{gap:8px}
.ask-foot{width:100%;max-width:440px;margin:24px auto 0;display:flex;justify-content:center}
.ask-foot .link{font-size:14px;text-decoration:underline;text-underline-offset:3px;color:var(--muted)}
.ask .kidlink{align-self:flex-end;font-size:13.5px;padding:2px 0;color:var(--muted)}
.loading{position:fixed;inset:0;z-index:80;background:var(--bg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:30px;padding:0 28px;cursor:pointer}
.loading .prog{position:absolute;left:0;right:0;top:0;height:4px;background:var(--fill)}
.loading .prog i{display:block;height:100%;background:var(--accent);width:0;animation:prog var(--dur) linear forwards}
.loading ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:18px;width:100%;max-width:360px}
.loading li{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:700;color:var(--faint)}
.loading li .d{flex:none;width:24px;height:24px;border-radius:50%;border:2.5px solid var(--line);font-size:13px;display:flex;align-items:center;justify-content:center;color:transparent}
.loading .hint{position:absolute;bottom:40px;left:0;right:0;text-align:center;font-size:14px;color:var(--muted);line-height:1.6}
/* 낮은 화면(아이폰 SE 375×553 등)에서 셋째 줄이 아래 안내와 겹치지 않게(2026-10-29 QA L1). 아주 낮으면(가로 화면) 그림을 뺀다 */
@media (max-height:640px){.loading{gap:18px}.loading>svg{width:220px;height:184px}.loading ol{gap:12px}.loading li{font-size:16px}.loading .hint{bottom:18px}}
@media (max-height:480px){.loading>svg{display:none}}
.an{animation-duration:var(--dur);animation-fill-mode:both;animation-timing-function:ease-in-out}
.fall{animation-name:fall} .cap{animation-name:cap} .drop{animation-name:drop} .slot{animation-name:slot} .nudge{animation-name:nudge} .sum{animation-name:sum}
.grow2{animation-name:grow;transform-box:fill-box;transform-origin:50% 100%} .ulline{animation-name:ulline}
.t1{animation-name:t1} .t2{animation-name:t2} .t3{animation-name:t3} .d1{animation-name:d1} .d2{animation-name:d2} .d3{animation-name:d3}
@keyframes fall{0%{transform:translateY(-46px);opacity:0}3%{opacity:1}11%{transform:translateY(0);opacity:1}13%,100%{transform:translateY(0);opacity:0}}
@keyframes cap{0%,12%{transform:translateY(-16px);opacity:0}16%,100%{transform:translateY(0);opacity:1}}
@keyframes drop{0%,18%{transform:translateY(0);opacity:1}30%{transform:translateY(118px);opacity:1}31%,100%{transform:translateY(118px);opacity:0}}
@keyframes slot{0%,15%{opacity:0}19%,30%{opacity:1}35%,100%{opacity:0}}
@keyframes nudge{0%,15%{transform:translateY(0)}19%,30%{transform:translateY(7px)}35%,100%{transform:translateY(0)}}
@keyframes sum{0%,34%{opacity:0;transform:translateY(8px)}40%,62%{opacity:1;transform:translateY(0)}66%,100%{opacity:0;transform:translateY(-6px)}}
@keyframes grow{0%,67%{transform:scaleY(0);opacity:0}70%{opacity:1}80%,100%{transform:scaleY(1);opacity:1}}
@keyframes ulline{0%,67%{opacity:0}72%,100%{opacity:1}}
@keyframes t1{0%,32%{color:var(--fg)}34%,100%{color:var(--muted)}}
@keyframes t2{0%,32%{color:var(--faint)}34%,65%{color:var(--fg)}67%,100%{color:var(--muted)}}
@keyframes t3{0%,65%{color:var(--faint)}67%,100%{color:var(--fg)}}
@keyframes d1{0%,32%{border-color:var(--accent);background:transparent;color:transparent}34%,100%{border-color:var(--accent);background:var(--accent);color:#fff}}
@keyframes d2{0%,32%{border-color:var(--line)}34%,65%{border-color:var(--accent);background:transparent;color:transparent}67%,100%{border-color:var(--accent);background:var(--accent);color:#fff}}
@keyframes d3{0%,65%{border-color:var(--line)}67%,100%{border-color:var(--accent)}}
@keyframes prog{to{width:100%}}
@media (prefers-reduced-motion: reduce){.an,.sheet.anim,.loading .prog i{animation-duration:1ms!important}}
/* 검색 결과 카드 */
.thumb2{flex:none;display:flex;align-items:center;justify-content:center}
.fthumb{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--fill2);box-shadow:inset 0 0 0 1.5px var(--line)}
@supports (color:color-mix(in srgb,red 50%,blue)){.fthumb{background:linear-gradient(160deg,color-mix(in srgb,var(--fc) 12%,var(--bg)),color-mix(in srgb,var(--fc) 26%,var(--bg)));box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--fc) 30%,transparent)}}
.fthumb svg{display:block;margin-top:-4px}
@supports (color:color-mix(in srgb,red 50%,blue)){.fthumb svg{filter:drop-shadow(0 2px 2px color-mix(in srgb,var(--fc) 35%,transparent))}}
.fthumb .fl{font-size:11px;font-weight:700;line-height:1;color:var(--fc);letter-spacing:-.02em;margin-top:-3px}
@supports (color:color-mix(in srgb,red 50%,blue)){.fthumb .fl{color:color-mix(in srgb,var(--fc) 80%,var(--fg))}}
.pcard{display:flex;gap:12px;align-items:center;min-height:104px;box-sizing:border-box;padding:14px;border-radius:18px;border:1px solid var(--line);background:var(--bg)}
.pcard.dim{opacity:.8}
.pc-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.pc-name{font-size:16.5px;font-weight:600;line-height:1.32;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;letter-spacing:-.01em}
.pc-maker{font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}
.pc-nutline{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin-top:2px}
.pc-first{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.pc-nutline.muted{font-size:12.5px;color:var(--muted)}
.pc-day{font-size:12px;color:var(--muted);font-weight:600;margin-right:1px}
.pc-more{font-size:12px;color:var(--muted);font-weight:600}
.pc-nutline .nchip{height:23px;padding:0 7px;font-size:12.5px;overflow:visible}
.pc-tags{display:flex;gap:4px;align-items:center;overflow:hidden;white-space:nowrap}
.pc-nut{min-width:0;overflow:hidden;display:flex}
.nchip{display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:6px;background:var(--fill);color:var(--sub);font-size:12.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nchip.hi{background:var(--accent);color:#fff}
.plus{flex:none;width:42px;height:42px;border-radius:50%;border:0;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(37,99,235,.28)}
.innow{flex:none;height:32px;padding:0 10px;border-radius:999px;border:0;background:var(--fill);color:var(--muted);font-size:12.5px;font-weight:700;white-space:nowrap}
.qbanner{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:12px;background:var(--accent-soft);color:var(--accent-ink);font-size:13.5px;line-height:1.45;margin-bottom:10px}
.qbanner svg{width:16px;height:16px;flex:none}
.empty1{display:flex;flex-direction:column;gap:6px;align-items:center;text-align:center;padding:28px 10px;border-radius:18px;background:var(--fill2);font-size:14px;color:var(--sub)}
.empty1 b{font-size:16px;color:var(--fg)}
/* 빈 검색 화면의 찾는 길(2026-11-10 시안): 줄을 누르면 그 예로 찾는다 */
.qhow{display:flex;flex-direction:column;border-radius:16px;background:var(--bg);overflow:hidden}
.qh-t{padding:16px 16px 4px;font-size:15px;color:var(--fg)}
.qh-row{display:flex;align-items:center;gap:12px;min-height:54px;padding:0 14px 0 16px;border:0;background:none;text-align:left;color:var(--fg)}
.qh-row + .qh-row{border-top:1px solid var(--line2)}
.qh-k{flex:none;width:86px;font-size:13.5px;color:var(--muted)}
.qh-q{flex:1;min-width:0;font-size:16px;font-weight:600;color:var(--accent-ink)}
.qh-row svg{flex:none;color:var(--accent-ink)}
.qh-n{padding:6px 16px 14px;font-size:12.5px;line-height:1.45;color:var(--muted);word-break:keep-all}
/* 넣기 시트 */
.phead{display:flex;gap:14px;align-items:center;padding:14px;border-radius:18px;background:var(--fill2)}
.labcard{position:relative;text-align:left;border-radius:16px;border:1.5px solid var(--line);background:var(--bg);padding:12px;display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.labcard[aria-pressed="true"]{border:2px solid var(--accent);background:var(--accent-soft2)}
.labcard b{font-size:15px}
.labcard .mark{position:absolute;top:10px;right:10px;width:22px;height:22px}
.labart{width:100%;height:62px;border-radius:8px;background:#fff;padding:7px 8px;box-sizing:border-box;display:flex;flex-direction:column;gap:4px}
.labart b{font-size:9.5px;font-weight:700;color:#344054}
.labart i{display:block;height:3px;border-radius:2px;background:#d0d5dd}
.labart.ko{border:1px solid #d0d5dd}
.labart.en{border:1.5px solid #111827;gap:3px}
.labart.en b{font-weight:700;color:#111827}
.labart.en em{display:block;height:3px;background:#111827}
.labart.en i{height:2px;background:#98a2b3}
.pickrow{display:flex;gap:8px}.pickrow.wrap{flex-wrap:wrap}.pickrow.wrap .pick1{flex:0 0 calc(25% - 6px);min-height:52px}
.pick1{flex:1;min-height:72px;border-radius:14px;border:1.5px solid var(--line);background:var(--bg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:14px}
.pick1[aria-pressed="true"]{border:2px solid var(--accent);background:var(--accent-soft2);color:var(--accent-ink);font-weight:700}
.dosefix{display:flex;align-items:center;gap:12px;padding:14px;border-radius:14px;border:1.5px solid var(--line);font-size:15px;line-height:1.45}
.stepper{display:flex;align-items:center;justify-content:space-between;height:56px;border-radius:14px;border:1.5px solid var(--line);padding:0 6px}
.stepper button{width:44px;height:44px;border:0;border-radius:10px;background:var(--fill);font-size:22px;color:var(--fg)}
.stepper span{font-size:16px}
.live{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;background:var(--accent-soft);color:var(--accent-ink);font-size:14.5px;line-height:1.45}
.seg2{display:flex;padding:4px;border-radius:12px;background:var(--fill)}
.seg2 button{flex:1;height:42px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-size:15px}
.seg2 button[aria-pressed="true"]{background:var(--bg);color:var(--fg);font-weight:700;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.dchip{display:inline-flex;align-items:center;gap:6px;height:42px;padding:0 14px 0 6px;border-radius:999px;border:1.5px solid var(--line);background:var(--bg);font-size:14.5px}
.dchip .dico{width:30px;height:30px;border-radius:50%;background:var(--fill);display:flex;align-items:center;justify-content:center}
.dchip[aria-pressed="true"]{border:2px solid var(--accent);background:var(--accent-soft2);color:var(--accent-ink);font-weight:700}
.dchip[aria-pressed="true"] .dico{background:var(--accent-soft)}
.dchip.add{border-style:dashed;padding:0 14px;color:var(--sub)}
.sheet-cta{position:sticky;bottom:calc(-24px - env(safe-area-inset-bottom));margin:0 -20px calc(-24px - env(safe-area-inset-bottom));padding:12px 20px calc(24px + env(safe-area-inset-bottom));background:var(--bg);border-top:1px solid var(--line2)}
.avgline{font-size:13.5px;color:var(--sub);background:var(--fill2);border-radius:8px;padding:6px 10px;align-self:flex-start}
/* 니아신 두 형태(2026-10-29 QA M2): 어느 형태 기준인지·두 형태 합·다른 형태를 그 상한과 견준 값 */
.nialine{display:block;font-size:13px;line-height:1.5;color:var(--sub);text-align:left}
/* 상한 기준 문구(2026-10-30 QA M8 — 명세 6장 두 문장, 결과 카드의 '하루 … · 상한 …' 줄 바로 아래) */
.ulsc{display:block;font-size:13px;line-height:1.5;color:var(--muted);text-align:left;margin-top:-4px}
/* 첫 화면 위계 */
.hero2{display:flex;flex-direction:column;gap:0;padding:20px 0 6px}
.eyebrow{font-size:13px;font-weight:700;color:var(--accent-ink);letter-spacing:.02em;margin-bottom:12px}
.t-lead{font-size:20px;font-weight:500;color:var(--sub);letter-spacing:-.02em;line-height:1.4}
.t-main{font-size:32px;font-weight:700;letter-spacing:-.04em;line-height:1.28;margin-top:2px}
.t-sub{font-size:15px;color:var(--muted);margin-top:14px;line-height:1.5}
.steps1{display:flex;align-items:center;gap:6px;font-size:13.5px;color:var(--sub);padding:2px 2px 0}
.steps1 .st1{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.steps1 .n{width:20px;height:20px;border-radius:50%;background:var(--fill);color:var(--sub);font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.steps1 i{flex:1;height:1px;background:var(--line);min-width:8px}
.legend1{display:flex;flex-direction:column;gap:8px;margin-top:14px;font-size:13px;color:var(--muted)}
.foot{margin-top:auto}
/* 제품 상세 (화면 위 전체 시트) */
.dlayer{position:fixed;inset:0;z-index:60;background:var(--scrim);display:flex;justify-content:center;align-items:flex-end}
.dpanel{width:100%;max-width:480px;height:calc(100% - 16px);background:var(--page);border-radius:22px 22px 0 0;display:flex;flex-direction:column;overflow:hidden;animation:up .26s cubic-bezier(.2,.8,.2,1)}
.dtop{display:flex;align-items:center;gap:4px;padding:6px 8px;background:var(--bg);border-bottom:1px solid var(--line);font-size:16px}
.dbody{flex:1;overflow:auto;padding:12px;display:flex;flex-direction:column;gap:10px}
.dcard,.dsec,.dmine{background:var(--bg);border-radius:18px;padding:18px;display:flex;flex-direction:column;gap:10px}
.dmine{background:var(--accent-soft);border:1px solid var(--accent-line)}
.dhead{display:flex;gap:14px;align-items:flex-start}.dname{margin:0;font-size:21px;line-height:1.3;font-weight:700;letter-spacing:-.03em}
.dlead{font-size:24px;font-weight:700;letter-spacing:-.03em}
/* 제품 상세 머리의 갈래 표(국내 제조·정식 수입…). 넣기 시트의 '어느 서랍에' 칩(.dchip)과 이름이 같아 그 칩까지 24px로 줄이던 것을 상세 머리(.dhead) 안으로 한정(2026-10-30 QA M13) */
.dhead .dchip{align-self:flex-start;display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:99px;font-size:12px;font-weight:700;background:var(--fill);color:var(--sub)}
.dhead .dchip.t-dom{background:var(--accent-soft);color:var(--accent-ink)}.dhead .dchip.t-imp{background:#f0fdfa;color:#0f766e}.dhead .dchip.t-dsld{background:#f5f3ff;color:#5b21b6}
.dfact{background:var(--fill2);border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:2px;min-width:0}.dfact b{font-size:15px}
.drw{display:flex;flex-direction:column;gap:6px;padding:12px 0;border-top:1px solid var(--line2)}
.dbar{position:relative;height:8px;border-radius:6px;background:var(--fill)}.dbar i{position:absolute;left:0;top:0;bottom:0;border-radius:6px;background:var(--accent)}
.dbar.near i{background:var(--near)}.dbar.over i{background:var(--over)}.dbar em{position:absolute;top:-3px;bottom:-3px;width:2px;background:var(--faint)}.dbar em.ul{background:var(--over)}
.dsum{background:var(--bg);border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:2px;font-size:14px}
.dnotes{margin:0;padding-left:18px;font-size:13px;color:var(--muted);line-height:1.6}
.dcta{background:var(--bg);border-top:1px solid var(--line);padding:12px 12px calc(16px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:8px}
.dlink{display:flex;align-items:center;gap:8px;min-height:48px;padding:0 14px;border-radius:12px;border:0;background:var(--accent-soft);color:var(--accent-ink);font-size:15px;font-weight:700;text-align:left}
.h3{margin:0;font-size:17px;font-weight:700}
.nbar{display:flex;align-items:center;gap:4px;margin:0 0 10px;background:var(--accent-soft);border:1px solid var(--accent-line);border-radius:14px;padding:2px 2px 2px 4px}
.nbar-t{display:flex;align-items:center;gap:8px;min-height:44px;border:0;background:transparent;color:var(--fg);font-size:14px;text-align:left;padding:0 8px;min-width:0}
.nbar-t b{flex:none;color:var(--accent-ink)}.nbar-t span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.inbar{display:flex;align-items:center;margin:8px 0 2px;background:var(--bg);border-radius:16px;box-shadow:0 1px 2px rgba(0,0,0,.04),0 4px 14px rgba(0,0,0,.06)}
.inbar-b{flex:1;min-width:0;display:flex;align-items:center;gap:12px;min-height:60px;padding:8px 4px 8px 12px;border:0;background:transparent;color:var(--fg);text-align:left}
.inbar-ic{width:36px;height:36px;flex:none;border-radius:12px;background:var(--accent-soft);color:var(--accent-ink);display:flex;align-items:center;justify-content:center}
.inbar-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.inbar-t b{font-size:14.5px;font-weight:700;letter-spacing:-.01em}.inbar-t span{font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.inbar-go{flex:none;display:flex;align-items:center;gap:2px;font-size:14px;font-weight:700;color:var(--accent-ink)}.inbar-go svg{width:18px;height:18px}
.inbar-x{width:36px;height:44px;flex:none;border:0;background:transparent;color:var(--faint);display:flex;align-items:center;justify-content:center}
.nbar-x{width:44px;height:44px;flex:none;border:0;background:transparent;color:var(--muted);display:flex;align-items:center;justify-content:center}
.notice-item{padding:14px 0;border-top:1px solid var(--line2)}.notice-body{margin:0;white-space:pre-line;font-size:15px;line-height:1.65;color:var(--sub)}
.app>.foot{padding-top:20px}
/* 첫 화면 서랍 그림 */
.minicab{flex:none}
.hero{display:flex;align-items:center;gap:12px}
.toolpill{border:0;background:transparent;color:var(--muted);font-size:13px;text-decoration:underline;padding:4px 0}
/* 2026-10-15 단순화 */
.phero{display:flex;flex-direction:column;gap:10px;padding:28px 0 4px}
.phero h1{margin:0;font-size:30px;line-height:1.32;font-weight:700;letter-spacing:-.035em;text-wrap:balance}
.pastehint{margin:0 4px}
/* 2026-10-23 하단 정리(운영자, 시안 확인 뒤): 로고 → 링크 → 안내 한 줄 → '기준·출처·개인정보' 접는 칸(흰 카드) → © 한 줄. 공지·후원하기는 첫 화면 ≡ 메뉴로 */
.flinks{display:flex;flex-wrap:wrap;column-gap:18px;margin:-6px 0 -4px}
.flinks button{border:0;background:none;padding:0;min-height:36px;font:inherit;font-size:14px;font-weight:600;color:var(--sub);cursor:pointer}
/* 개인정보 처리방침 링크(2026-10-30 PR-H): 다른 하단 링크(회색 단추 글자)와 구분되게 파란 글자 + 굵게(개인정보 보호법 시행령 제31조 제2항 · 표준 개인정보 보호지침의
   '글자 크기·색상 등으로 다른 고지와 구분'). 진한 회색(--fg)은 v2 토큰에서 옆 링크(--sub)와 1.5:1밖에 안 달라 구분이 안 됐다(독립 검토) */
.flinks a{display:inline-flex;align-items:center;min-height:36px;font-size:14px;font-weight:700;color:var(--accent-ink);text-decoration:none}
.foot .fline{margin:0;font-size:13px;line-height:1.6;color:var(--sub)}
.facc{background:var(--bg);border-radius:14px}
.facc>summary{list-style:none;min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 16px;font-size:14px;font-weight:600;color:var(--sub);cursor:pointer}
.facc>summary::-webkit-details-marker{display:none}
.facc>summary svg{flex:none;color:var(--faint);transition:transform .15s}
.facc[open]>summary svg{transform:rotate(180deg)}
.facc-b{display:flex;flex-direction:column;padding:0 16px 6px}
.fsec{display:flex;flex-direction:column;gap:4px;padding:14px 0;border-top:1px solid var(--line2)}
.fsec>b{font-size:12.5px;font-weight:700;color:var(--sub)}
.fsec p{margin:0;font-size:13px;line-height:1.6;color:var(--muted)}
.fsec a{color:var(--sub);text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
.fdots{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:3px;font-size:13px;line-height:1.55;color:var(--muted)}
.fdots li{display:flex;gap:8px}.fdots li::before{content:"";flex:none;width:3px;height:3px;border-radius:50%;background:var(--faint);margin-top:9px}
.fcopy{margin:0;font-size:12px;color:var(--muted)}
.folds{display:flex;flex-direction:column;border-top:8px solid var(--fill2);margin:4px -20px 0;padding:4px 20px 0}
.fold{border-bottom:1px solid var(--line2)}
.fold:last-child{border-bottom:0}
.fold summary{display:flex;align-items:center;justify-content:space-between;min-height:56px;font-size:16px;cursor:pointer;list-style:none}
.fold summary::-webkit-details-marker{display:none}
.fold summary svg{transition:transform .15s}
.fold[open] summary svg{transform:rotate(180deg)}
.foldbody{display:flex;flex-direction:column;gap:10px;padding:0 0 18px;font-size:14px;color:var(--sub);line-height:1.7}
.sdot{width:10px;height:10px;border-radius:50%;flex:none}
.dosehero{display:flex;flex-direction:column;align-items:center;gap:12px;padding:18px 0;border-radius:20px;background:var(--fill2)}
.dosehero b{font-size:32px;min-width:110px;text-align:center}
.rbtn{width:52px;height:52px;border-radius:50%;border:1px solid var(--line);background:var(--bg);font-size:26px;line-height:1;color:var(--fg)}
/* 새 통 기록 한 줄 (제품 시트, 2026-10-20): 왼쪽 상태 글·오른쪽 작은 단추 */
.brow{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;background:var(--fill)}
.brow>span>b{font-size:15px;color:var(--fg)}
.brow .smallbtn{background:var(--bg);color:var(--fg);font-weight:600;min-height:40px}
.lrow{display:flex;align-items:center;gap:8px;min-height:52px;border:0;border-bottom:1px solid var(--line2);background:transparent;font-size:16px;color:var(--fg);text-align:left;width:100%;padding:0}
.tbtn{border:0;background:transparent;font-size:14px;color:var(--sub);min-height:44px;padding:0 4px}
.tbtn.red{color:var(--over)}
.effl{display:flex;gap:6px;align-items:flex-start;font-size:13.5px;color:var(--sub);line-height:1.5;text-align:left}
.effl svg{flex:none;margin-top:2px;color:var(--muted)}
.effl b{color:var(--fg);font-weight:700}
.effbox{display:flex;flex-direction:column;gap:8px;padding:18px;border-radius:18px;background:var(--fill2);font-size:14.5px;color:var(--sub);line-height:1.65}
.effbox .lab{font-size:13px;font-weight:700;color:var(--muted)}
.effbox b{font-size:18px;line-height:1.45;color:var(--fg)}
.effbox .basis{font-size:13.5px;padding-top:8px;border-top:1px solid var(--line2)}
.cartbtn{display:flex;align-items:center;gap:6px;height:40px;padding:0 14px;border-radius:999px;border:0;background:var(--fill);color:var(--fg);font-size:15px;font-weight:700}
.cartbtn.on{background:var(--accent-soft,#eff4ff);color:var(--accent-ink,#1d4ed8)}
.cartbtn .cnt{min-width:22px;height:22px;padding:0 6px;box-sizing:border-box;border-radius:11px;background:var(--accent);color:#fff;font-size:13px;display:flex;align-items:center;justify-content:center;font-variant-numeric:tabular-nums}
.sumbox{border-radius:20px;background:var(--fill2);box-shadow:inset 0 0 0 1px var(--line2);display:flex;flex-direction:column}
.sumtop{display:flex;align-items:center;gap:12px;width:100%;padding:18px;border:0;background:transparent;text-align:left;color:inherit;font:inherit}
.sumtop .go{display:flex;align-items:center;gap:2px;font-size:15px;font-weight:700;color:var(--accent-ink);flex:none}
.sumq{display:flex;flex-direction:column;gap:10px;padding:14px 18px 18px;border-top:1px solid var(--line2)}
.sumq .chipb{min-height:40px;padding:0 14px;border-radius:999px;border:1.5px solid var(--line);background:var(--bg);font-size:14.5px}
/* 오랜만에 돌아왔을 때 카드 (2026-10-20 C-4): 제품 줄마다 칩, 답한 줄은 고른 칩 하나만 */
.lgcard{gap:12px}
.lglist{display:flex;flex-direction:column}
.lgrow{display:flex;flex-direction:column;gap:8px;padding:12px 0;border-top:1px solid var(--line2)}
.lgrow .lgname{display:flex;align-items:center;gap:6px;font-size:15px;font-weight:600;min-width:0;flex-wrap:wrap}
.lgrow .lgname .pdot{flex:none;display:inline-block;width:8px;height:8px;border-radius:50%}
.lgrow .lgname .pdot.otc{background:repeating-linear-gradient(135deg,var(--otc) 0 2px,var(--otc-line) 2px 4px)}
.lgrow .chips{gap:6px}
.lgrow .chipb{min-height:34px;padding:0 11px;font-size:13px;letter-spacing:-.01em}
.lgrow.done .chipb.done{display:inline-flex;align-items:center;background:var(--fg);color:var(--bg);border-color:transparent;font-weight:600}
.lgrow>.s13:empty{display:none}
/* 중단·교체 이유 칩 (꺼내기 시트 2단계, 2026-10-20) */
.rchips{gap:8px}
.rchips .chipb{min-height:40px;padding:0 14px;border-radius:999px;border:1.5px solid var(--line);background:var(--bg);font-size:14.5px}
/* 하단 '자세히' 안 스위치 한 줄: 통계에 보내지 않기 */
.optrow{display:flex;align-items:center;gap:10px;width:100%;margin-top:8px;padding:10px 0 2px;border:0;border-top:1px solid var(--line2);background:transparent;font:inherit;font-size:14px;color:var(--fg);text-align:left}
.tgl{flex:none;width:40px;height:24px;border-radius:12px;background:var(--line);position:relative;transition:background .15s}
.tgl i{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2);transition:left .15s}
.optrow[aria-checked="true"] .tgl{background:var(--fg)}
.optrow[aria-checked="true"] .tgl i{left:19px}
.ibar{display:flex;gap:10px;align-items:flex-start;margin:0 -20px 4px;padding:14px 12px 14px 20px;background:#fff7ed;border-bottom:1px solid #fed7aa;color:#7c2d12;font-size:13.5px;line-height:1.5}
.ibar b{font-size:14.5px;color:#7c2d12}
.ibtn{min-height:40px;padding:0 14px;border-radius:999px;border:1.5px solid #fdba74;background:#fff;color:#7c2d12;font-size:14px;font-weight:700}
.ibtn.p{background:#c2410c;border-color:#c2410c;color:#fff}
.shead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-2px 0 -6px}
.h3s{font-size:19px;font-weight:700;letter-spacing:-.02em;margin:0}
.xbtn{width:40px;height:40px;flex:none;border-radius:20px;border:0;background:var(--fill);color:var(--sub);display:flex;align-items:center;justify-content:center}
.alist{display:flex;flex-direction:column;margin:0 -10px}
.arow{display:flex;align-items:center;gap:14px;min-height:60px;padding:6px 10px;border:0;border-radius:14px;background:none;color:var(--fg);text-align:left;width:100%}
.arow:active{background:var(--fill)}
.arow b{font-size:16px;font-weight:700}
.arow .ai{width:40px;height:40px;flex:none;border-radius:12px;background:var(--accent-soft);color:var(--accent-ink);display:flex;align-items:center;justify-content:center}
.arow>svg{color:var(--muted);flex:none}
.bgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.bchip{min-height:52px;border-radius:14px;border:1.5px solid var(--line);background:var(--bg);color:var(--fg);font-size:15px;font-weight:700}
.bchip.last{border:2px solid var(--accent);background:var(--accent-soft2)}
.bchip:active{background:var(--fill)}
.pfail{margin:0;padding:10px 12px;border-radius:12px;background:#fef3f2;color:#b42318;font-size:14px;line-height:1.5}
@media (prefers-color-scheme: dark){.pfail{background:#3a1512;color:#fda29b}}
.tlink{align-self:center;min-height:40px;border:0;background:none;color:var(--sub);font-size:14px;text-decoration:underline;text-underline-offset:3px}
.scrim.pick{z-index:60} /* 카카오톡(안드로이드)에서 연 열쇠 링크의 '어느 브라우저로 열까요?'(본문 끝 스크립트) — 앱 화면보다 위 */
/* 서랍 열쇠 (2026-10-15): 열쇠에만 노란색. 파란색은 계산·행동 */
.khint,.knudge,.kopen{display:flex;align-items:center;gap:12px;border-radius:16px;background:#fffbeb;box-shadow:inset 0 0 0 1px #fde68a;color:#92400e;font-size:13px;line-height:1.5}
.khint{padding:14px 16px}.khint b,.knudge b,.kopen b{font-size:14.5px;color:#78350f}
.kic{width:38px;height:38px;flex:none;border-radius:11px;background:#fef3c7;color:#92400e;display:flex;align-items:center;justify-content:center}
.knudge{padding:12px 10px 12px 14px;margin-bottom:12px;text-align:left}.knudge .col{align-items:flex-start;text-align:left}.knudge span{font-size:12.5px}
.kbtn{flex:none;height:40px;padding:0 14px;border-radius:999px;border:0;background:#b45309;color:#fff;font-size:14px;font-weight:700}
.kopen{padding:14px 16px;margin-top:4px}
.kchk{width:34px;height:34px;flex:none;border-radius:17px;background:#b45309;color:#fff;display:flex;align-items:center;justify-content:center}
.cartbtn .kdot{width:26px;height:26px;margin-right:-8px;border-radius:13px;background:#fef3c7;color:#92400e;display:flex;align-items:center;justify-content:center}
.kticket{display:flex;border-radius:18px;background:#fffbeb;box-shadow:inset 0 0 0 1.5px #fcd34d;overflow:hidden}
.kt-ic{width:84px;flex:none;display:flex;align-items:center;justify-content:center;background:#fef3c7;color:#92400e;border-right:2px dashed #fcd34d}
.kt-k{font-size:12.5px;color:#92400e;font-weight:700}.kt-u{font-size:13px;color:var(--muted);font-family:ui-monospace,Menlo,monospace}
.ktext{margin:0;font-size:15px;line-height:1.6;color:var(--sub)}
.kstale{margin:0;padding:10px 12px;border-radius:12px;background:#fffbeb;color:#92400e;font-size:14px;line-height:1.5}
.knotes{display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--muted);line-height:1.55}
.knotes span{display:flex;gap:8px}.knotes svg{flex:none;margin-top:2px}
.arow .ai.key{background:#fef3c7;color:#92400e}
.alist.sep{border-top:1px solid var(--line2);padding-top:8px}
@media (prefers-color-scheme: dark){.khint,.knudge,.kopen,.kticket,.kstale{background:#2a1f0a;box-shadow:inset 0 0 0 1px #6b4a12;color:#fcd34d}.khint b,.knudge b,.kopen b{color:#fde68a}.kic,.kt-ic,.cartbtn .kdot,.arow .ai.key{background:#3d2c0c;color:#fcd34d}.kt-k{color:#fcd34d}}
.codebox{display:flex;align-items:center;gap:8px;min-height:52px;padding:4px 4px 4px 14px;border-radius:14px;background:var(--fill);}
.cb-t{flex:1;min-width:0;font-size:13.5px;color:var(--sub);font-family:ui-monospace,Menlo,monospace;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cbtn{flex:none;display:flex;align-items:center;gap:6px;height:44px;padding:0 14px;border-radius:11px;border:0;background:var(--bg);color:var(--accent-ink);font-size:15px;font-weight:700;box-shadow:0 0 0 1px var(--line)}
.sendwhat{display:flex;flex-direction:column;gap:3px;padding:14px 16px;border-radius:14px;box-shadow:inset 0 0 0 1px var(--line)}
.sendwhat b{font-size:16px}
.howto{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:8px;font-size:15px;line-height:1.6;color:var(--sub)}
@media (prefers-color-scheme: dark){.ibar{background:#2a1a0e;border-color:#5a3413;color:#fed7aa}.ibar b{color:#fed7aa}.ibtn{background:transparent;color:#fed7aa;border-color:#9a4a16}}
/* 2026-10-15 B안: 회색 바탕 위 흰 카드 */
.card{background:var(--bg);border-radius:22px;padding:22px}
.card.tight{padding:6px 20px}
.plist,.ilist{background:var(--bg);border-radius:22px;padding:2px 18px}
.plist{margin-top:0}
.sumcard,.effbox{background:var(--bg);box-shadow:none}
.folds{background:var(--bg);border-top:0;border-radius:22px;margin:4px 0 0;padding:4px 20px}
.card.tight .sech{padding-top:12px}
.card.tight .nrow:first-of-type{border-top:0}
.fcard{border-color:transparent;border-radius:22px}
/* 2026-10-15 B안 2단계: 시트·버튼 — 시트 안 묶음은 회색 상자, 선택은 파란 테두리, 테두리 선 대신 면 */
.btn{border-radius:16px}
.sheet{border-radius:24px 24px 0 0}
.alist{margin:0;background:var(--fill);border-radius:16px;padding:4px 6px}
.alist.sep{border-top:0;padding-top:4px}
.arow:active{background:var(--bg)}
.arow .ai{background:var(--bg)}
.opt,.qcard .chipb,.dchip,.drow,.labcard,.pick1,.pcard,.dtab{border-color:transparent;background:var(--fill)}
.opt[aria-pressed="true"],.opt.card[aria-pressed="true"]{border:2px solid var(--accent);background:var(--accent-soft)}
.qcard{border:0;background:var(--fill)}
.sendwhat{box-shadow:none;background:var(--fill)}
.app .mpill,.app .tab,.app .dchip,.app .searchlink{border-color:transparent;background:var(--bg)}
.app .tab[aria-pressed="true"]{background:var(--fg);color:var(--bg)}
.ask{background:var(--page)}
.scrim.over{z-index:70}
.rgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px;counter-reset:st}
.steps li{display:flex;flex-direction:column;gap:2px;padding-left:38px;position:relative;font-size:14px;color:var(--sub)}
.steps li b{color:var(--fg);font-size:15px}
.steps li::before{counter-increment:st;content:counter(st);position:absolute;left:0;top:0;width:26px;height:26px;border-radius:13px;background:var(--fill);color:var(--muted);font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center}
.steps li.done::before{content:"✓";background:var(--dom);color:#fff}
.vchk{color:var(--dom);font-weight:700}

/* 2026-10-16 H3 "건강": 애플 건강 앱의 문법. 회색 바탕 위 흰 카드, 주요 버튼·고른 칩은 검정, 색은 상태(70%·상한)에만.
   글꼴은 Pretendard, 굵기는 700까지만(800·900을 쓰면 투박해 보여서). 막대는 얇게, 70%·상한 눈금을 세운다. 앞선 규칙 위에 덮어쓴다
   2026-10-30 글자 대비(명세 3장 4.5:1, QA M12): 글자색은 흰 카드·회색 바탕(--page·--fill·--fill2·--line2) 어디에서나 4.5:1 이상.
   --faint·--accent·--over·--near(밝은 화면), --faint·--accent·--over-btn(어두운 화면)을 한 단계 진하게/밝게. 글자로 쓰는 파랑은 --accent-ink,
   --accent는 흰 글자를 얹는 바탕(새로 표·넣기 단추)과 막대·테두리용. 값을 바꾸면 test/qa-a11y.test.js의 대비 계산이 본다 */
:root{
  --page:#f2f2f7; --bg:#ffffff; --fg:#1c1c1e; --sub:#3a3a3c; --muted:#6a6a6f; --faint:#6c6c70;
  --line:#e5e5ea; --line2:#efeff2; --fill:#f2f2f7; --fill2:#f7f7fa;
  --accent:#0066d6; --accent-ink:#0066d6; --accent-soft:#f2f2f7; --accent-soft2:#f7f7fa; --accent-line:#d1d1d6;
  --over:#c72b25; --over-soft:#fff0ef; --over-btn:#c72b25; --over-line:#ffc9c5; --over-bar:#ff3b30; --over-pale:#ffc2bd;
  --near:#a65900; --near-soft:#fff5e3; --near-bar:#ff9f0a;
  --track:#e9e9ee; --tick:#c7c7cc; --scrim:rgba(0,0,0,.36);
  --font:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;
}
/* 글꼴(2026-11-05): 기본은 휴대폰 글꼴, 글꼴을 받아 둔 브라우저(html.wf — 머리 스크립트)만 Pretendard */
:root.wf{--font:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --page:#000000; --bg:#1c1c1e; --fg:#f5f5f7; --sub:#d1d1d6; --muted:#98989f; --faint:#939396;
  --line:#38383a; --line2:#2c2c2e; --fill:#2c2c2e; --fill2:#242426;
  --accent:#0a72e4; --accent-ink:#4da3ff; --accent-soft:#2c2c2e; --accent-soft2:#242426; --accent-line:#48484a;
  --over:#ff6961; --over-soft:#3a1715; --over-btn:#cc3339; --over-bar:#ff453a; --over-pale:#6b2a26; --near:#ffb340; --near-soft:#33260e; --near-bar:#ff9f0a;
  --track:#2c2c2e; --tick:#48484a; --scrim:rgba(0,0,0,.6)}}
:root[data-theme="dark"]{
  --page:#000000; --bg:#1c1c1e; --fg:#f5f5f7; --sub:#d1d1d6; --muted:#98989f; --faint:#939396;
  --line:#38383a; --line2:#2c2c2e; --fill:#2c2c2e; --fill2:#242426;
  --accent:#0a72e4; --accent-ink:#4da3ff; --accent-soft:#2c2c2e; --accent-soft2:#242426; --accent-line:#48484a;
  --over:#ff6961; --over-soft:#3a1715; --over-btn:#cc3339; --over-bar:#ff453a; --over-pale:#6b2a26; --near:#ffb340; --near-soft:#33260e; --near-bar:#ff9f0a;
  --track:#2c2c2e; --tick:#48484a; --scrim:rgba(0,0,0,.6)}
body{letter-spacing:-.01em;-webkit-font-smoothing:antialiased}
/* 높은 가독성(ss06 — 1·4·6·9·I·l)은 Pretendard일 때만(html.wf): 휴대폰 글꼴에 켜면 아이폰 SF는 0에 빗금이 들어가고, 기본 글꼴이 Inter인 컴퓨터는 글자가 네모 안에 들어간다 */
.wf body{font-feature-settings:"ss06"}
.num,.pct,.pvv b,.pvn{font-variant-numeric:tabular-nums}
/* 글자: 크기 단계는 28·22·17·15.5·13.5·12.5, 굵기는 700·600·500 */
.h1{font-size:25px;line-height:1.36;font-weight:700;letter-spacing:-.028em}
.h2{font-size:21px;line-height:1.4;font-weight:700;letter-spacing:-.025em}
.h3s{font-size:18px;font-weight:700}
.sub{font-size:15.5px}
.s14{font-size:14px} .s13{font-size:13px}
.b,.q,b{font-weight:600}
.app{padding:0 16px 150px;gap:14px}
.top .word,.dname,.dlead,.t-main,.bhero h1,.phero h1,.tiles b,.labart.en b,.steps2 .n{font-weight:700}
.link{font-weight:600}
/* 첫 화면 */
.card{background:var(--bg);border-radius:16px;padding:18px}
.card.tight{padding:2px 16px}
.phero h1{font-size:28px;line-height:1.32;letter-spacing:-.032em}
.search,.search.hero{min-height:50px;height:auto;border:0;border-radius:12px;background:var(--bg);padding:0 12px 0 14px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.search input{font-size:16.5px;height:48px}
.search:focus-within{border:0;box-shadow:0 0 0 2px var(--accent)}
/* 2026-10-17 첫 화면 검색창이 배경에 묻힘(제보): 진하지 않은 테두리 한 줄 + 아주 옅은 그림자, 안내 글자는 입력한 글자와 헷갈리지 않는 회색. 색 칠하기·두꺼운 테두리는 쓰지 않는다 */
.search.hero{min-height:56px;border-radius:14px;box-shadow:0 0 0 1px rgba(60,60,67,.2),0 6px 20px rgba(0,0,0,.06)}
.search.hero input{font-size:17px;height:54px}
.search.hero input::placeholder{color:var(--muted)}
.search.hero:focus-within{box-shadow:0 0 0 2px var(--accent),0 6px 20px rgba(0,0,0,.06)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .search.hero{box-shadow:0 0 0 1px rgba(235,235,245,.22)}}
:root[data-theme="dark"] .search.hero{box-shadow:0 0 0 1px rgba(235,235,245,.22)}
.searchlink{border:0;border-radius:12px;background:var(--bg);min-height:50px;font-size:16px}
.pastehint{font-size:12.5px}
.dbar{height:6px;border-radius:3px;background:var(--track);margin-top:20px}
.dbar i{top:0;bottom:0}
.dbar .ul{top:-5px;bottom:-5px;width:2px;background:var(--fg);left:calc(66.6% - 1px)}
.dbar .ult{top:-20px;font-size:10.5px;font-weight:600;color:var(--muted)}
.srcs{background:var(--fill2);border-radius:12px}
.srcs .s1{font-size:13.5px}.srcs .s1 i{border-radius:50%;width:8px;height:8px}
.cartbtn{background:var(--bg);color:var(--fg);font-weight:600;height:38px}
.cartbtn.on{background:var(--bg);color:var(--fg)}
.cartbtn .cnt{background:var(--fg);color:var(--bg)}
/* 2026-10-28: 위쪽 둥근 단추 이름을 .tbtn → .tnbtn으로(글자 단추 .tbtn과 이름이 겹쳐 넣기 시트 맨 아래 '다른 서랍으로 옮기기'·'서랍에서 꺼내기' 등이 44px 동그라미로 눌려 세 줄로 깨졌다) */
/* 2026-10-23 첫 화면 위쪽 [종 · 서랍 n · ≡](운영자, 시안 확인 뒤). 좁아지면 서랍 그림 → '서랍' 글자 → 로고 글자 순서로 접는다.
   세 버튼과 누르는 크기 44px는 어느 폭에서나 그대로(240~412px 실측: 가로 넘침·잘림 없음, 로고와 버튼 사이 최소 22px) */
.stop .wm{min-width:0;overflow:hidden}
.stop .tnav{display:flex;align-items:center;gap:6px;flex:none}
.tnbtn{position:relative;flex:none;width:44px;height:44px;border:0;border-radius:22px;background:var(--bg);color:var(--fg);display:flex;align-items:center;justify-content:center;padding:0}
.tnbtn .tdot{position:absolute;top:9px;right:10px;width:8px;height:8px;border-radius:4px;background:var(--over-btn);box-shadow:0 0 0 2px var(--bg)}
.stop .cartbtn{position:relative;flex:none;height:44px;padding:0 12px;gap:6px;white-space:nowrap}
.stop .cartbtn .cic{display:flex}
.stop .cartbtn.keyed .cic{display:none}
.stop .cartbtn .kdot{margin:0 0 0 -4px}
@media (max-width:374px){.stop .tnav{gap:4px}.stop .wm .mkw{font-size:20px!important}.stop .cartbtn .cic,.stop .cartbtn .kdot{display:none}.stop .cartbtn{padding:0 10px 0 14px}}
@media (max-width:319px){.stop .cartbtn .ctx{display:none}.stop .cartbtn .cic,.stop .cartbtn.keyed .cic{display:flex}.stop .cartbtn{width:44px;padding:0;justify-content:center}
  .stop .cartbtn .cnt{position:absolute;top:1px;right:-3px;min-width:19px;height:19px;padding:0 5px;font-size:11.5px;box-shadow:0 0 0 2px var(--bg)}}
@media (max-width:279px){.stop .wm .mkw{display:none}}
/* 2026-10-23 ≡ 메뉴 시트: '알맞음' 묶음은 옅은 회색 판 안에 아이콘 + 이름 두 칸씩. 도구 묶음(공개 통계 등)은 켜질 때 위에 줄로 */
.msec{display:flex;flex-direction:column;gap:8px}
/* 메뉴 '도구' 줄(2026-10-24 성분 사전, 시안 Menu): 그림 칸 + 이름 + 한 줄 설명 */
.mtools{display:flex;flex-direction:column}
.mtool{min-height:68px;display:flex;align-items:center;gap:14px;color:inherit;text-decoration:none}
.mtool .mti{width:44px;height:44px;border-radius:12px;background:var(--accent-soft);color:var(--accent-ink);display:flex;align-items:center;justify-content:center;flex:none}
.mtool .mtt{display:flex;flex-direction:column;gap:2px}
.mtool .mtt b{font-size:16.5px}
.mtool>svg{color:var(--faint);flex:none}
.qm{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));background:var(--fill2);border-radius:16px;padding:4px}
.qmi{min-height:50px;display:flex;align-items:center;gap:10px;padding:0 12px;border:0;border-radius:12px;background:transparent;font:inherit;font-size:15px;font-weight:500;color:var(--fg);text-align:left;cursor:pointer}
.qmi svg{flex:none;color:var(--muted)}
.qmi:active{background:var(--fill)}
a.qmi{text-decoration:none}
/* 개인정보 처리방침(2026-10-30 PR-H — 늘 맨 끝): 예전에는 늘 줄을 다 써서 앞 칸 옆이 비었다. 2026-11-19(운영자 "개인정보처리방침이 밑에 내려갈 이유가 없잖아?")부터
   옆 칸이 비어 있으면 그 자리에 들어간다(좁은 휴대폰에서는 '개인정보 / 처리방침' 두 줄). 홀수 번째라 혼자 남을 때만 줄을 다 쓴다 — 빈 칸이 생기지 않는다 */
.qm>.qpriv{line-height:1.3}.qm>.qpriv:nth-child(odd){grid-column:1/-1}
@media (max-width:359px){.qmi{gap:8px;padding:0 10px;font-size:14px}}
.mrow{min-height:64px;display:flex;align-items:center;gap:14px;color:var(--fg);text-decoration:none}
.mrow .mic{width:44px;height:44px;flex:none;border-radius:12px;background:var(--fill);color:var(--accent-ink);display:flex;align-items:center;justify-content:center}
.mrow b{font-size:16px}
.sheet .fcopy{text-align:center}
.sumbox,.sumcard,.effbox,.lastcard{background:var(--bg);box-shadow:none;border-radius:16px;border:0}
.sumq{border-top:1px solid var(--line2)}
.folds{background:var(--bg);border:0;border-radius:16px;margin:4px 0 0;padding:0 16px}
/* 검색 결과 */
.utabs{border-bottom:1px solid var(--line);margin:0 -16px;padding:0 16px}
.utab{font-size:14.5px}
.utab[aria-pressed="true"]{font-weight:600;color:var(--accent-ink);box-shadow:inset 0 -2px 0 var(--accent)}
.plist,.ilist{background:var(--bg);border-radius:16px;padding:0 16px;margin-top:0}
.prow{padding:14px 0;gap:12px}
.prw.hasdet .prow{min-height:0}
.pr-name{font-size:16px;font-weight:600;letter-spacing:-.015em}
.pr-meta{font-size:13px}
.pr-nut{font-size:13.5px;font-weight:500}
.padd{background:var(--accent);color:var(--on-accent);font-weight:600;height:34px}
.pin{background:var(--fill);font-weight:500}
.pvv{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:1px;min-width:64px}
.pvv b{font-size:19px;font-weight:700;letter-spacing:-.02em;line-height:1.2}
.pvv small{font-size:11px;color:var(--muted);white-space:nowrap;max-width:96px;overflow:hidden;text-overflow:ellipsis}
.dside{display:flex;flex-direction:column;gap:6px;margin-top:6px;padding-top:12px;border-top:1px solid var(--line2)}
.dside .drw b:not(.num){font-weight:600;color:var(--sub)}
.pvln{display:flex;align-items:center;gap:8px;margin-top:8px}
.pvln.pvwait{visibility:hidden} /* 상세를 아직 못 받은 찾기 줄: '넣으면 ○%' 줄 자리만 비워 둔다(상세가 와도 줄 높이가 덜 바뀌게, 2026-10-28) */
.pvln .mbar{flex:1;min-width:48px;margin-top:0}
.pvln .pvt{font-size:12px;color:var(--muted);white-space:nowrap;max-width:110px;overflow:hidden;text-overflow:ellipsis}
.pvln b{flex:none;white-space:nowrap;font-size:15px;font-weight:700;letter-spacing:-.01em;min-width:38px;text-align:right}
.pvln.over b{color:var(--over)} .pvln.near b{color:var(--near)} .pvln.ok b{color:var(--fg)}
.pvv.over b{color:var(--over)} .pvv.near b{color:var(--near)} .pvv.ok b{color:var(--fg)}
.prw.hasdet .pdet{top:auto;bottom:10px;height:28px;font-size:12.5px;color:var(--muted)}
.prw.hasdet .prow{padding-bottom:40px}
.ovl{align-self:flex-start;margin-top:4px;padding:1px 7px;border-radius:6px;background:var(--fill);color:var(--sub);font-size:12px;font-weight:600}
.putguide{background:var(--bg);color:var(--fg);border-radius:14px}
.putguide>span>span{color:var(--muted)}
.qbanner{background:var(--bg);color:var(--sub);border-radius:12px}
.empty1{background:var(--bg);border-radius:16px}
.fthumb{background:var(--fill2)!important;box-shadow:none!important;border-radius:12px!important;color:var(--fc)}
@supports (color:color-mix(in srgb,red 50%,blue)){.fthumb{background:color-mix(in srgb,var(--fc) 13%,var(--bg))!important}}
.fthumb svg{filter:none}
.fthumb .fl{color:var(--fc);font-weight:600}
@supports (color:color-mix(in srgb,red 50%,blue)){.fthumb .fl{color:color-mix(in srgb,var(--fc) 75%,var(--fg))}}
.instlist{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:8px;font-size:15px;line-height:1.55;color:var(--fg)}
.fthumb.hasb svg{margin-top:0}
.fthumb .fl.fb{font-weight:800;letter-spacing:-.04em;white-space:nowrap;margin-top:1px;max-width:94%;overflow:hidden}
@supports (color:color-mix(in srgb,red 50%,blue)){@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .fthumb{background:color-mix(in srgb,var(--fc) 24%,var(--bg))!important}}}
@supports (color:color-mix(in srgb,red 50%,blue)){:root[data-theme="dark"] .fthumb{background:color-mix(in srgb,var(--fc) 24%,var(--bg))!important}}
.bottle{border-radius:12px}
.badge{font-weight:600}
.badge.dom,.badge.imp,.badge.dsld{background:var(--fill);color:var(--sub)}
.dest{background:var(--bg);border:0;color:var(--fg);font-weight:600}
.dest.static{background:transparent;color:var(--muted);padding:0}
/* 얇은 막대(목록용) */
.mbar{position:relative;display:block;height:4px;border-radius:2px;background:var(--track);margin-top:10px}
.mbar i{position:absolute;top:0;bottom:0;left:0;border-radius:2px}
.mbar .f{background:#8e8e93}
.mbar.near .f{background:var(--near-bar)}
.mbar.over .f{background:var(--over-pale)}
.mbar .was{background:var(--tick)}
.mbar .ov{background:var(--over-bar);border-radius:0 2px 2px 0}
.mbar em{position:absolute}
.mbar .t70{left:46.67%;top:-2px;bottom:-2px;width:1px;background:var(--tick)}
.mbar .tul{left:calc(66.67% - 1px);top:-4px;bottom:-4px;width:2px;border-radius:1px;background:var(--fg)}
.mrow{flex-wrap:wrap;padding:12px 0}
.mrow .mbar{flex-basis:calc(100% - 27px);margin:8px 0 2px 27px}
.mrow .nm{font-size:15.5px;font-weight:500}
.mrow .v{font-size:15px;font-weight:600;color:var(--fg)}
.mrow .dots i{border-radius:50%}
.mrow .cnt{font-weight:600}
/* 큰 막대(성분 카드·상세): 제품마다 회색 칸, 상한 넘은 만큼만 빨강 */
.bar{height:8px;border-radius:4px;background:var(--track);margin:4px 0 2px}
.bar.lg{height:12px;border-radius:6px}
.bar i{top:0;bottom:0;box-shadow:inset -2px 0 0 var(--bg)}
.bar i:first-child{border-radius:4px 0 0 4px}
.bar i.last{border-radius:0 4px 4px 0} .bar i.only{border-radius:4px}
.bar .ov{position:absolute;top:0;bottom:0;background:var(--over-bar);border-radius:0 4px 4px 0}
.bar .l70{left:46.67%;top:-3px;bottom:-3px;border-left:1px solid var(--tick)}
.bar .lul{left:calc(66.67% - 1px);top:-5px;bottom:-5px;width:2px;border-radius:1px;background:var(--fg)}
.axis{font-size:11px}
/* 결과 */
.grp{display:flex;align-items:center;gap:6px;margin:6px 4px -4px;font-size:13px;font-weight:600;color:var(--muted)}
.grp i{width:7px;height:7px;border-radius:50%;background:var(--faint)}
.grp span{font-weight:500;color:var(--faint)}
.grp.over{color:var(--over)} .grp.over i{background:var(--over-bar)}
.grp.near{color:var(--near)} .grp.near i{background:var(--near-bar)}
.fcard{background:var(--bg);border:0!important;border-radius:16px;padding:16px;gap:10px}
.fcard .nm{font-size:17px;font-weight:700}
.fcard .pct{font-size:28px;font-weight:700;letter-spacing:-.025em}
.fcard .bar{height:8px;margin-top:18px}
.fcard .bar i{top:0;bottom:0}
.fcard .bar .lul::after{top:-16px;font-size:10.5px;font-weight:600;color:var(--muted)}
.fcard .meta{font-size:13px}
.fcard .from{font-weight:600;color:var(--muted)}
.nrow .nm{font-weight:600}
.nrow .pct{font-weight:700}
.st{height:24px;padding:0 9px;font-size:12px;font-weight:600}
.spill{font-weight:600}
.red{color:var(--over)} .amber{color:var(--near)}
/* 일반의약품이 더해져 넘은 성분(시안 B, 2026-10-20): 빨강·주황 대신 일반의약품 색. 막대의 일반의약품 몫은 줄무늬 */
.teal{color:var(--otc)}
.st.otc,.spill.otc{background:var(--otc-bg);color:var(--otc)}
.grp.otc{color:var(--otc)}
/* 첫 화면을 못 그렸을 때(2026-10-21 안전망) */
/* 첫 화면을 먼저 그리고 서랍 정보를 받는 동안(2026-10-21) */
.sumskel{cursor:default}.skel{display:block;height:12px;border-radius:6px;background:var(--fill);width:72%}.skel.short{width:44%}
@media (prefers-reduced-motion:no-preference){.skel{background:linear-gradient(90deg,var(--fill) 0%,var(--line) 50%,var(--fill) 100%);background-size:200% 100%;animation:skel 1.2s ease-in-out infinite}}
@keyframes skel{0%{background-position:100% 0}100%{background-position:-100% 0}}
.bootfail{display:flex;flex-direction:column;gap:10px;align-items:flex-start;padding:48px 4px;font-size:15px;color:var(--sub)}.bootfail b{font-size:20px;color:var(--fg)}
/* 검색에서 내려간 제품(2026-10-21): 서랍에 남기고 합계에서 뺀다 */
.gonerow{cursor:default}.gonerow .ir-name{color:var(--sub);white-space:normal;overflow:visible;-webkit-line-clamp:unset}.gonerow .pr-meta{white-space:normal}
.gonet{display:inline-block;flex:none;border-radius:12px;background:var(--fill);border:1px dashed var(--line)}
.gonerm{flex:none;font-size:13.5px;white-space:nowrap;min-height:40px}
.gonestrip{background:var(--fill);color:var(--fg)}.gonestrip .grow{min-width:0} .grp.otc i{background:var(--otc)}
.bar i.otc,.mbar i.otc,.dbar.otc i{background:repeating-linear-gradient(-45deg,var(--otc) 0 3px,var(--bg) 3px 6px)}
@supports (color:color-mix(in srgb,red 50%,blue)){.bar i.otc,.mbar i.otc,.dbar.otc i{background:repeating-linear-gradient(-45deg,var(--otc) 0 3px,color-mix(in srgb,var(--otc) 50%,var(--bg)) 3px 6px)}}
.mbar i.otc{border-radius:0 2px 2px 0}
.srcs .s1 i.otc,.sdot.otc{background:repeating-linear-gradient(-45deg,var(--otc) 0 2px,var(--bg) 2px 4px)}
@supports (color:color-mix(in srgb,red 50%,blue)){.srcs .s1 i.otc,.sdot.otc{background:repeating-linear-gradient(-45deg,var(--otc) 0 2px,color-mix(in srgb,var(--otc) 50%,var(--bg)) 2px 4px)}}
.pvln.otcOver b,.pvln.otcNear b{color:var(--fg)}
.splitl{display:block;font-size:13px;color:var(--muted);margin-top:-6px;text-align:right}
.nrow .splitl{margin-top:2px}
.splitl.big{text-align:left;margin-top:0;font-size:14px}
.partl{display:block;font-size:13px;line-height:1.45;color:var(--muted);text-align:left}
.basischip{background:var(--bg);border-radius:12px}
.basischip .dflt{background:var(--fill)}
/* 기준 칩 '기본' 한 줄(2026-11-17 안 2 — web/app.js basisSub): 기본 기준일 때만 칩이 두 줄(위: 기준 · 고르기 / 아래: 왜 고르는지). 색은 더하지 않는다 */
.basischip.dfl{flex-wrap:wrap;row-gap:2px;padding:11px 14px 12px}
.basischip .bsub{flex-basis:100%;font-size:12.5px;line-height:1.4;color:var(--muted);text-align:left}
.sech b{font-size:15px;font-weight:600}
.sim{background:var(--bg);border:0;border-radius:16px}
.sim .cell{background:var(--fill);border:0}
.sim .cell b{color:var(--fg);font-weight:600}
.sim .tagx{background:var(--fill);color:var(--sub);font-weight:600}
.callout{background:var(--fill);color:var(--sub)}
.callout .i{background:var(--fg);color:var(--bg)}
.notice{background:var(--fill)}
.app>.notice{background:var(--bg)}
.avgline{background:var(--fill)}
.effl b{font-weight:600}
.app .seg2{background:var(--line)}
/* 서랍 */
.ilist .irow:first-child{border-top:0}
.irow{padding:12px 0}
.ir-name{font-size:16px;font-weight:600}
.trash{border:0;background:transparent;color:var(--over);font-weight:600;height:30px;padding:0 4px}
.app .mpill,.app .tab,.app .dchip{background:var(--bg);border:0}
.app .mpill[aria-pressed="true"],.app .tab[aria-pressed="true"]{background:var(--fg);color:var(--bg)}
.pltag{background:var(--fill);color:var(--sub);font-weight:600}
/* 버튼 */
.btn{min-height:52px;border-radius:14px;font-size:16px;font-weight:600}
.btn.p{background:var(--accent);color:var(--on-accent)} /* 2026-11-10 운영자 1안: 누르는 큰 단추는 모든 화면에서 파랑(빨강·주황은 상태, 검정은 글자·고른 칩) */
.btn.s{background:var(--bg);color:var(--fg)}
.btn.g{background:var(--fill);color:var(--fg)}
.btn.auto{min-height:48px;border-radius:24px;padding:0 22px}
.btn:disabled{background:var(--line);color:var(--muted)}
.bbar{background:var(--bg);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border-top:1px solid var(--line);padding:10px 16px calc(14px + env(safe-area-inset-bottom))}
@supports (color:color-mix(in srgb,red 50%,blue)){.bbar{background:color-mix(in srgb,var(--bg) 90%,transparent)}}
.bbar .info b{font-weight:600}
/* 시트 */
.sheet{border-radius:22px 22px 0 0;padding:8px 20px calc(24px + env(safe-area-inset-bottom));gap:18px}
.grab{width:36px;background:var(--tick)}
.sheet .btn.s{background:var(--fill)}
.sheet-cta{border-top:0}
.phead{background:none;padding:0;border-radius:0}
.phead b{font-weight:700}
.opt,.qcard .chipb,.dchip,.drow,.labcard,.pick1,.pcard,.dtab,.bchip,.chipb{border:0;background:var(--fill);box-shadow:none}
.opt{min-height:48px;border-radius:12px;font-size:15.5px}
.opt[aria-pressed="true"],.opt.card[aria-pressed="true"],.opt.pill[aria-pressed="true"],.dchip[aria-pressed="true"],.drow[aria-pressed="true"],.dtab[aria-pressed="true"]{border:0;background:var(--fg);color:var(--bg);font-weight:600}
@supports (color:color-mix(in srgb,red 50%,blue)){.dchip[aria-pressed="true"] .dico{background:color-mix(in srgb,var(--bg) 20%,transparent)}}
.dtab[aria-pressed="true"] b,.dtab[aria-pressed="true"] span{color:var(--bg)}
.labcard[aria-pressed="true"],.pick1[aria-pressed="true"]{background:var(--bg);box-shadow:inset 0 0 0 2px var(--fg);color:var(--fg);font-weight:600}
[aria-pressed="true"] .mark{background:var(--fg);border-color:var(--fg)}
.dosefix,.stepper{border:0;background:var(--fill)}
.stepper button{background:var(--bg)}
.dosehero{background:var(--fill)}
.rbtn{border:0;background:var(--bg)}
.live{background:var(--fill);color:var(--sub)}
.seg2{background:var(--fill);border-radius:10px}
.seg2 button{border-radius:8px}
.seg2 button[aria-pressed="true"]{font-weight:600}
.pvbox{display:flex;flex-direction:column;gap:14px;padding:16px;border-radius:16px;background:var(--fill2)}
.pvrow{display:flex;flex-direction:column;gap:0}
.pvrow b{font-size:15px;font-weight:600}
.pvn{font-size:13.5px;color:var(--muted)}
.pvn s{text-decoration:none;color:var(--muted)}
.pvn b{font-size:17px;font-weight:700}
.pvrow .mbar{margin-top:8px;height:5px}
.alist{background:var(--fill);border-radius:14px;padding:2px 12px;margin:0}
.alist .arow{border-bottom:1px solid var(--line);border-radius:0;padding:6px 0}
.alist .arow:last-child{border-bottom:0}
.arow b{font-weight:600}
.arow .ai{background:var(--bg);color:var(--fg);border-radius:10px}
.xbtn{background:var(--fill)}
.codebox{background:var(--fill);border:0}
.cbtn{color:var(--fg);box-shadow:none}
.sendwhat{background:var(--fill);box-shadow:none;border:0}
.qcard{background:var(--bg);border:0}
.dlink{background:var(--fill);color:var(--fg);font-weight:600}
.dmine{background:var(--fill2);border:1px solid var(--line)}
.dcard,.dsec{border-radius:16px}
.toast{background:#1c1c1e;border-radius:14px}
.ask{background:var(--bg)}
.ask .opt{min-height:48px}
.rpbox{background:var(--fill)}
.lblbox{border-color:var(--line2)}
.ambbox,.ambline{border-radius:12px}
.khint,.knudge,.kopen,.kticket,.kstale{border-radius:16px}
.kbtn{font-weight:600}
.dpanel.still{animation:none}
/* 제품 페이지 본문(서버가 그림 — web/product-body.js, 2026-11-17): 앱 제품 정보 시트와 같은 칸(dtop · dcard · dsec · drw · dbar)을 페이지에 그대로 놓는다.
   검색 로봇이 읽고, 처음 온 사람은 앱이 시트를 열기 전 이 화면을 먼저 본다. 여기 줄은 시트에 없는 것(페이지 틀 · 성분 사전 링크 · 접는 원문 · 계산기 링크)만 */
.pp{margin:0 -16px;display:flex;flex-direction:column}
.pptop{position:sticky;top:0;z-index:2}
.ppbody{padding:12px;display:flex;flex-direction:column;gap:10px}
.ppn{color:inherit;text-decoration:none}
.ppx summary{list-style:none}
.ppx summary::-webkit-details-marker{display:none}
.ppx[open] summary svg{transform:rotate(180deg)}
.ppl{display:flex;flex-direction:column}
.ppl a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;border-top:1px solid var(--line2);color:var(--fg);text-decoration:none;font-weight:600;font-size:15px}
.ppl a svg{color:var(--muted);flex:none}
.sheet,.dpanel{overscroll-behavior:contain;will-change:transform}
/* 팝업이 떠 있는 동안에는 페이지의 "당겨서 새로고침"·바운스를 끈다(아래로 끌어 닫기와 겹치지 않게) */
html:has(#layer .scrim),html:has(#layer .dlayer),html:has(#layer .scrim) body,html:has(#layer .dlayer) body{overscroll-behavior-y:none}
.grab{position:relative}.grab::after{content:"";position:absolute;left:-60px;right:-60px;top:-12px;bottom:-12px}
.bigpct{font-size:44px;font-weight:700;letter-spacing:-.035em}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) :is(.bar i:not(.ov):not(.otc),.srcs .s1 i:not(.otc),.sdot:not(.otc),.mrow .dots i,.from2 .dots i:not(.otc),.tlg .tdots i:not(.otc),.legend .sw,.hrl i,.hrp i:not(.no)){filter:brightness(1.8)}}
:root[data-theme="dark"] :is(.bar i:not(.ov):not(.otc),.srcs .s1 i:not(.otc),.sdot:not(.otc),.mrow .dots i,.from2 .dots i:not(.otc),.tlg .tdots i:not(.otc),.legend .sw,.hrl i,.hrp i:not(.no)){filter:brightness(1.8)}
.bigpct+.sub{font-size:14px;color:var(--muted)}
/* 제품 비교(2026-10-24, docs/COMPARE_PLAN.md): 고른 순서대로 나란히. 색은 이름표(파랑·보라·하늘·일반의약품 색)와 70%·100% 선의 색만, 차이를 강조하는 색은 쓰지 않는다 */
.mnew{display:inline-block;margin-left:6px;padding:1px 6px;border-radius:6px;background:var(--accent);color:#fff;font-size:11px;font-weight:700;line-height:17px;vertical-align:2px}
.ctitle{font-size:18px;font-weight:700;letter-spacing:-.02em;margin-left:-2px}
.ctop{flex:none;font-size:15px;padding:6px 2px}
.cintro{font-size:15px;line-height:1.6;color:var(--muted)}
.cheads{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.chead{display:flex;flex-direction:column;gap:6px;min-width:0;padding:10px 10px 12px;border-radius:14px;background:var(--bg);text-align:left}
.chead>.row{gap:4px;min-height:20px}
.cdot{display:inline-block;width:10px;height:10px;border-radius:50%;flex:none}
.cx{width:30px;height:30px;margin:-6px -7px -6px 0;border:0;border-radius:15px;background:transparent;color:var(--faint);display:flex;align-items:center;justify-content:center;padding:0;flex:none}
.cname{border:0;background:none;padding:0;font:inherit;font-size:14.5px;font-weight:700;line-height:1.35;color:var(--fg);text-align:left;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;word-break:keep-all;overflow-wrap:anywhere}
.cmk{font-size:12px;line-height:1.3;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.croute{display:flex;min-width:0}
.ctype{font-size:11.5px;font-weight:700;color:var(--sub);background:var(--fill);border-radius:6px;padding:0 6px;line-height:19px;white-space:nowrap}
.croute .otctag{margin:0}
.cput{margin-top:auto;height:34px;border:0;border-radius:17px;background:var(--accent);color:var(--on-accent);font:inherit;font-size:13.5px;font-weight:700;white-space:nowrap}
.cin{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:4px;height:34px;border-radius:17px;background:var(--fill);color:var(--muted);font-size:12.5px;font-weight:600;white-space:nowrap}
.chead.empty{align-items:center;justify-content:center;gap:2px;min-height:118px;border:1.5px dashed var(--line);background:transparent;color:var(--muted);font:inherit;font-size:13.5px;font-weight:600;cursor:pointer}
@supports (color:color-mix(in srgb,red 50%,blue)){.chead.empty{border-color:color-mix(in srgb,var(--muted) 45%,transparent)}}
.chead.empty .cplus{font-size:22px;font-weight:400;line-height:1}
.chead.wait .cname{color:var(--muted)}
.cfrom{background:var(--bg)}.cfrom .arow .ai{background:var(--fill)}
.csec{display:flex;flex-direction:column;gap:10px;margin-top:6px}
.csh{display:flex;align-items:baseline;gap:4px 8px;flex-wrap:wrap}
.cglance{display:flex;flex-direction:column;background:var(--bg);border-radius:16px;padding:2px 14px}
.grw{display:grid;grid-template-columns:72px repeat(var(--n),minmax(0,1fr));gap:8px;padding:11px 0;border-top:1px solid var(--line2);align-items:start}
.grw:first-child{border-top:0}
.gk{font-size:13px;line-height:1.4;color:var(--muted)}
.gc{display:flex;flex-direction:column;gap:1px;min-width:0;font-size:14px}
.gm{display:block;font-weight:600;line-height:1.4;min-width:0}
.gm .cdot{width:8px;height:8px;margin-right:5px;vertical-align:1px}
.glink{border:0;background:none;padding:0;font:inherit;font-size:13.5px;font-weight:600;color:var(--accent-ink);text-align:left;line-height:1.4}
.glink.otc{color:var(--otc)}
.cchips{display:flex;gap:8px;flex-wrap:wrap}
.cchip{height:36px;padding:0 14px;border:0;border-radius:18px;background:var(--bg);font:inherit;font-size:14px;font-weight:600;color:var(--sub)}
.cchip[aria-pressed="true"]{background:var(--fg);color:var(--bg)}
.ccard{display:flex;flex-direction:column;gap:2px;padding:14px 16px 10px;border-radius:16px;background:var(--bg)}
.cch{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding-bottom:4px}
.cch>b{font-size:16.5px;line-height:1.35}
.cul{display:flex;flex-direction:column;align-items:flex-end;text-align:right;font-size:12.5px;color:var(--muted);line-height:1.4}
.cul small{font-size:11.5px;color:var(--faint)}
.cl{display:flex;align-items:center;gap:10px;min-height:48px;padding:6px 0;border-top:1px solid var(--line2)}
.cch+.cl{border-top:0}
.cl .mbar{flex:1;min-width:40px;margin:0;height:6px;border-radius:3px}
.cl .mbar i{border-radius:3px}
.clab{flex:1;min-width:0;font-size:13px;line-height:1.4;color:var(--muted);display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.cl.otc .clab{color:var(--otc);font-weight:600}
.clab .ctag{font-size:11.5px;font-weight:700;color:var(--otc);background:var(--otc-bg);border-radius:5px;padding:1px 6px}
.cv{flex:none;display:flex;flex-direction:column;align-items:flex-end;min-width:66px;text-align:right;line-height:1.3}
.cv b{font-size:15.5px;font-weight:700}
.cp{font-size:12.5px;color:var(--muted);font-weight:600;white-space:nowrap}
.cp.amber{color:var(--near)}.cp.red{color:var(--over)}
.cz{color:var(--faint);font-weight:600}
.cmore{align-self:flex-start;font-size:14.5px;padding:4px 0}
.crow{display:flex;align-items:center;gap:6px}
.cmat{display:flex;flex-direction:column;background:var(--bg);border-radius:16px;padding:4px 14px 6px}
.cmr{display:grid;grid-template-columns:minmax(58px,1.3fr) repeat(var(--n),minmax(0,1fr));gap:6px;align-items:center;min-height:42px;padding:6px 0;border-top:1px solid var(--line2);font-size:14.5px}
.cmr.ch{border-top:0;min-height:34px;font-size:12px;color:var(--muted);font-weight:600}
.cmr>span:not(:first-child){text-align:right}
.cmr.ch>span{display:block;line-height:1.3}
.cmr.ch>span.otc{color:var(--otc)}
.cmr .cdot{width:8px;height:8px;margin-right:4px;vertical-align:0}
.cmn{font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cmr .num{font-weight:700}
.cmr .num.otc{color:var(--otc);font-size:13px}
.cnone{padding:12px 0}
.ccross{display:flex;align-items:center;gap:6px 12px;flex-wrap:wrap;padding:11px 14px;border-radius:12px;background:var(--bg);font-size:14px;color:var(--sub)}
.ccross .num{display:inline-flex;align-items:center;gap:5px;font-weight:700;color:var(--fg)}
.otcnote2{padding:11px 14px;border-radius:12px;background:var(--otc-bg);color:var(--otc);font-size:13.5px;line-height:1.55}
.cfolds{display:flex;flex-direction:column;gap:8px}
.cfold{background:var(--bg);border-radius:14px;padding:0 14px}
.cfold.otc{background:var(--otc-bg)}
.cfold summary{display:flex;align-items:center;gap:8px;min-height:52px;cursor:pointer;list-style:none;font-size:15px;font-weight:600}
.cfold summary::-webkit-details-marker{display:none}
.cfold summary .s13{flex:none;font-weight:500}
.cfold.otc summary,.cfold.otc summary .s13{color:var(--otc)}
.cfold summary svg{flex:none;color:var(--faint);transition:transform .15s}
.cfold[open] summary svg{transform:rotate(180deg)}
.cfbody{display:flex;flex-direction:column;gap:8px;padding:0 0 14px;font-size:14px;color:var(--sub)}
.cfbody>b{color:var(--fg);font-size:14.5px;margin-top:4px}
.cfbody pre.raw{margin:0}
.cend{display:flex;flex-direction:column;gap:6px;margin-top:6px;padding-top:14px;border-top:1px solid var(--line);font-size:13px;color:var(--muted);line-height:1.6}
.cend .cotc{color:var(--otc);font-weight:700;font-size:14px}
.cdemo{gap:4px}.cdemo>.s13{margin-bottom:6px}
.clegend{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding-top:4px}.clegend .cdot{width:8px;height:8px}
.cplist{display:flex;flex-direction:column;background:var(--fill2);border-radius:14px;padding:0 12px}
.cprow{display:flex;align-items:center;gap:10px;width:100%;padding:10px 0;border:0;border-top:1px solid var(--line2);background:none;text-align:left;font:inherit;color:inherit;cursor:pointer}
.cprow:first-child{border-top:0}
.cprow:disabled{opacity:.45;cursor:default}
.cprow .ir-name{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.cpgrp{font-size:13.5px;color:var(--sub);margin:2px 0 -8px}
.dcta .grid2 .btn{min-height:48px;font-size:15px;padding:0 8px}
/* 제품 정보 위의 안내(예: 비교에 넣었어요 · 비교 보기)는 아래 단추 줄 위에 띄운다 */
.dlayer~.toast{bottom:calc(152px + env(safe-area-inset-bottom))}
@media (max-width:360px){
  .grw{grid-template-columns:repeat(var(--n),minmax(0,1fr));row-gap:4px}.grw .gk{grid-column:1/-1}
  .chead{padding:9px 8px 10px}.cname{font-size:13.5px}.cv{min-width:58px}.cmr{font-size:13.5px;gap:4px}
  .cmr.ch{font-size:11px}.cmr .num.otc{font-size:12px}.dcta .grid2 .btn{font-size:14px}
}
/* 작은 화면 바꿈(2026-10-20): 맨 끝에 두어 앞의 같은 규칙보다 이긴다 */
.t-s{display:none}
@media (max-width:360px){
  .t-l{display:none}.t-s{display:inline}
  .padd,.pin{width:36px;padding:0;justify-content:center}.padd .pt,.pin .pt{display:none}.padd svg{width:15px;height:15px}
  .two{grid-template-columns:1fr}.two>div{flex-direction:row;flex-wrap:wrap;column-gap:8px;align-items:baseline}
  .calc .csum{flex-direction:column;align-items:flex-start}.calc .cpct{font-size:24px}
  .h1{font-size:26px}
}
@media (max-width:340px){.prow .fthumb{display:none}}
@media (max-width:360px){.famcard .grid4{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:330px){.top:has(.dest) .wm{display:none}.dest{padding:0 8px;font-size:13px}.h1{font-size:24px}}
/* 아이 나이가 구간이 갈리는 해(2026-10-25, docs/KIDS_PLAN.md 9장): 결과·제품 정보·기준 고르기의 한 줄 */
p.kedge{margin:-6px 4px 0}
.dmine p.kedge{margin:0}
/* 아이 서랍 넣기 시트(2026-10-25, docs/KIDS_PLAN.md 7장): 라벨의 나이별 양 칸 · 라벨 섭취방법 · 나이가 든 문장 · 주의사항 중 어린이 문장. 글은 모두 라벨 원문 그대로 */
.kdose{display:flex;flex-direction:column;gap:10px}
.kdose .opt.card{min-height:0}
.kdose .opt.card b{font-size:15.5px;line-height:1.35}
.kdose .opt.card .s13{line-height:1.45;word-break:keep-all;overflow-wrap:anywhere}
.kdose .opt.card[aria-pressed="true"] .s13{color:inherit;opacity:.72}
.kdose .kline.off{opacity:.55;cursor:default}
/* 제품 정보의 아이 기준 칸(2026-10-26 KIDS_PLAN 8장·21장): 넣기 시트의 나이 줄 칸과 같은 모양. 서랍 제품은 보여 주기만(still) */
.dkid .opt.card{min-height:0}
.dkid .opt.card b{font-size:15.5px;line-height:1.35}
.dkid .opt.card .s13{line-height:1.45;word-break:keep-all;overflow-wrap:anywhere}
.dkid .opt.card[aria-pressed="true"] .s13{color:inherit;opacity:.72}
.dkid .kline.off{opacity:.55;cursor:default}
.dkid .kline.still{cursor:default}
.dkl{margin-bottom:-6px;font-weight:600;color:var(--sub)}
.dsrv{white-space:pre-line;color:var(--sub);line-height:1.55;word-break:keep-all;overflow-wrap:anywhere}
.dknote{line-height:1.5;word-break:keep-all}
.ksrv{white-space:pre-line;color:var(--sub);display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;word-break:keep-all;overflow-wrap:anywhere}
.kquote{font-size:13.5px;line-height:1.5;color:var(--sub);padding:8px 12px;border-radius:10px;background:var(--fill2);word-break:keep-all;overflow-wrap:anywhere}
.kcau{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border-radius:14px;background:var(--fill2);font-size:14px;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere}
.kcau b{font-size:14px}
.kcau .kcauh{color:var(--sub)}
.kcau .kcaui{padding-left:12px;margin-top:-4px}
/* 찾기 칩 '아이용 표시'(2026-10-26, docs/KIDS_PLAN.md 19장): 아이 서랍에 넣는 중일 때만 검색창 아래 한 줄 · 이름순 목록 머리 · 결과 끝 두 단추 */
.kchips{display:flex;flex-direction:column;gap:8px;min-width:0}
/* 제형 칩(2026-10-26 KIDS_PLAN 21장): '아이용 표시' 옆에 넷 — 옆으로 밀어 더 보기(첫 화면의 최근 넣은 제품 줄과 같은 방식) */
.kcrow{display:flex;align-items:center;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:2px 16px;overscroll-behavior-x:contain}
.kcrow::-webkit-scrollbar{display:none}
.kcsep{flex:none;width:1.5px;height:20px;border-radius:1px;background:var(--line)}
.kchips:empty{display:none}
.kchips .s13{min-width:0;line-height:1.35;word-break:keep-all}
.kchip{flex:none;height:34px;padding:0 13px;border-radius:999px;border:1.5px solid var(--line);background:var(--bg);font-size:14.5px;font-weight:600;color:var(--sub);display:flex;align-items:center;gap:5px}
.kchip[aria-pressed="true"]{background:var(--fg);border-color:var(--fg);color:var(--bg)}
.kidhead{display:flex;flex-direction:column;gap:3px}
.kidhead .s13{line-height:1.45;word-break:keep-all}
.kidall{display:flex;align-items:center;gap:8px;width:100%;min-height:52px;margin:8px 0 4px;padding:0 14px;border-radius:14px;border:1.5px solid var(--line);background:var(--bg);font-size:15px;font-weight:600;color:var(--fg);text-align:left}
.kidall .c{font-weight:500;color:var(--muted);font-variant-numeric:tabular-nums}
.kmore{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;margin:8px 0 4px;border-radius:14px;border:0;background:var(--fill);font-size:15px;font-weight:600;color:var(--fg)}
.kmore .c{font-size:13px;font-weight:500;color:var(--muted);font-variant-numeric:tabular-nums}
.kmorenote{margin:10px 4px 4px;text-align:center;word-break:keep-all}
.pr-nut.kage{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:keep-all}
/* 찾기 줄의 라벨 나이별 하루 양(2026-10-26 KIDS_PLAN 6장·21장): 두 줄까지(한 줄로 자르면 둘째 나이 줄이 가려진다) */
.pr-age{font-size:12.5px;line-height:1.4;color:var(--muted);white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:keep-all;font-variant-numeric:tabular-nums}
/* 아이 홈(2026-10-26, docs/KIDS_PLAN.md 4·5장): 사실 카드 · 아이 칸 · 태어난 해 고르기 · 찾기 · 나이 기준 표. 이름은 kh…(넣기 시트의 .kline과 겹치지 않게).
   2026-10-28: 첫 화면의 카드·한 줄은 '도구' 칸으로 바뀌어, 사실 카드는 아이 홈에만 남는다. 2026-10-29: 막대(.khfrow)는 처음 온 사람의 넘기는 카드 '아이 영양제' 장에도 */
.khfact{display:flex;flex-direction:column;gap:12px;width:100%;border:0;text-align:left;color:inherit;font:inherit}
.khfh{font-size:19px;line-height:1.4;letter-spacing:-.02em}
.khfrow{display:flex;flex-direction:column;gap:6px}
.khfrow b{font-size:15px}
.khfrow .s13{white-space:nowrap}
.khfk{color:var(--fg);font-size:13px}
.khfbar{position:relative;height:8px;border-radius:4px;background:var(--fill)}
.khfbar i{position:absolute;left:0;top:0;bottom:0;border-radius:4px;background:var(--accent)}
.khfbar::after{content:"";position:absolute;right:0;top:-3px;width:2px;height:14px;border-radius:1px;background:var(--muted)}
.khfsrc{line-height:1.45;word-break:keep-all}
.khline{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:12px 14px 12px 12px;border:0;border-radius:16px;background:var(--bg);text-align:left;color:inherit;font:inherit;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.khline b{font-size:15.5px}
.khline>svg{flex:none;color:var(--faint)}
.khli{width:40px;height:40px;border-radius:12px;background:var(--accent-soft);color:var(--accent-ink);display:flex;align-items:center;justify-content:center;flex:none}
.khinapp{display:flex;align-items:center;gap:12px;padding:12px 12px 12px 16px;border-radius:16px;background:var(--bg);box-shadow:0 1px 2px rgba(0,0,0,.04),0 4px 14px rgba(0,0,0,.05)}
.khinapp .s14{color:var(--sub);line-height:1.45;word-break:keep-all}
.khinapp .btn{width:auto;flex:none;min-height:40px;padding:0 14px;font-size:14.5px;background:var(--accent-soft);color:var(--accent-ink)}
.khpick .q{font-size:16px}
.khyears{gap:6px}
.khyears .opt{min-height:44px;font-size:15px;font-variant-numeric:tabular-nums;padding:0 2px}
@media (max-width:360px){.famcard .khyears{grid-template-columns:repeat(4,minmax(0,1fr))}}
.khtabs .mpill{font-variant-numeric:tabular-nums}
.khfind{gap:12px}
.khq{width:100%;cursor:pointer;font:inherit;text-align:left;background:var(--bg)}
.khq span{flex:1;font-size:17px;color:var(--muted)}
.khchips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.khchips .kchip{height:38px;justify-content:center;padding:0 6px}
.khchips.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.khchips.four .kchip{font-size:14px;padding:0 2px;letter-spacing:-.02em}
.khcl{margin-bottom:-4px;font-weight:600;color:var(--sub)}
@media (max-width:360px){.khchips.four{grid-template-columns:repeat(2,minmax(0,1fr))}}
.khref{gap:12px}
.khtab{width:100%;border-collapse:collapse;font-size:14.5px}
.khtab th,.khtab td{padding:9px 4px;border-bottom:1px solid var(--line2);text-align:right;vertical-align:baseline}
.khtab thead th{font-size:12.5px;font-weight:600;color:var(--muted);padding-top:2px}
.khtab th:first-child{text-align:left;padding-left:0}
.khtab tbody th{font-weight:600;color:var(--fg)}
.khtab td:last-child,.khtab th:last-child{padding-right:0}
.khtab td b{font-size:15.5px}
.khun{display:block;font-size:11.5px;font-weight:500;color:var(--muted);line-height:1.3}
.khai{display:inline-block;margin-left:4px;padding:0 5px;border-radius:5px;background:var(--fill);font-size:11px;font-weight:600;color:var(--muted);line-height:17px;vertical-align:1px}
.khad{color:var(--faint)}
.khnote{margin:4px 4px 0;line-height:1.55;word-break:keep-all}
/* 임신·수유 홈(2026-10-28, docs/PREG_PLAN.md 4장): 기준 세 칸 · 기준표 숫자 표(성분마다 권장·상한 두 줄) · 라벨의 임신·수유 문장 · 보건소 칸. 이름은 pg… */
.pgsr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap} /* 화면 읽기 프로그램만(화면 제목 h1 — QA L16) */
.pgref{gap:12px}
.pgtab{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}
.pgtab th,.pgtab td{padding:3px 3px;text-align:right;vertical-align:baseline}
.pgtab thead th{font-size:12.5px;font-weight:600;color:var(--muted);padding:2px 3px 8px;border-bottom:1px solid var(--line2);white-space:nowrap}
.pgtab thead th:first-child{text-align:left;padding-left:0}
.pgtab tbody th{text-align:left;padding:10px 6px 10px 0;font-weight:600;color:var(--fg);vertical-align:top;border-bottom:1px solid var(--line2);white-space:nowrap}
.pgtab td.num{white-space:nowrap;overflow-wrap:normal}
.pgtab .pgr td{padding-top:10px}
.pgtab .pgu td{padding-bottom:10px;border-bottom:1px solid var(--line2)}
.pgtab .pgk{font-size:12px;font-weight:500;color:var(--muted);text-align:left;white-space:nowrap}
.pgtab td b{font-size:15px}
.pgtab td:last-child,.pgtab th:last-child{padding-right:0}
.pgtab td.pgno{text-align:left;font-size:12.5px;line-height:1.45;color:var(--sub);word-break:keep-all;white-space:normal}
@media (max-width:340px){.pgtab{font-size:13px}.pgtab td b{font-size:14px}.pgtab th,.pgtab td{padding-left:2px;padding-right:2px}.pgtab tbody th{padding-right:4px}}
.pgcau{gap:12px}
.pgcp{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border-radius:14px;background:var(--fill2);font-size:14px;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere}
.pgch{display:flex;align-items:baseline;gap:10px;min-width:0}
.pgch b{font-size:14.5px;min-width:0}
.pgch .link{flex:none;padding:0;font-size:13.5px}
.pgcl{display:block}
.pgcl[lang="en"]{color:var(--sub)}
.pgko{display:block;font-size:13px;line-height:1.5;color:var(--sub);margin-top:-2px}
.pgko .cautag{margin:0 6px 0 0}
.pggov{gap:6px}
.pggov .s14{line-height:1.55;color:var(--sub);word-break:keep-all}
.pglink{display:inline-flex;align-items:center;gap:2px;align-self:flex-start;padding:2px 0;text-decoration:none}
.pgprep{word-break:keep-all}
.utabs[data-more]{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 36px),transparent)} /* 오른쪽에 더 있으면 끝을 흐리게 — 찾기 갈래 탭도(QA L12) */
/* 첫 화면 '도구' 머리(.htools · .hth · .hti). 예전 첫 화면의 서랍 고르기 칸·도구 목록·넘기는 카드는 첫 화면이 서랍장으로 바뀌며(2026-11-05) 쓰는 곳이 없어져 꾸밈도 지웠다(2026-11-06) */
.htools{display:flex;flex-direction:column;gap:10px}
.hth{margin:0;padding:0 4px;font-size:15px;font-weight:600;color:var(--sub)}
.hti{width:38px;height:38px;border-radius:12px;background:var(--accent-soft);color:var(--accent-ink);display:flex;align-items:center;justify-content:center;flex:none}
.khnw{white-space:nowrap} /* 좁으면 '3~5세 9mg'과 '· 어른 35mg' 사이에서만 줄을 바꾼다 */
.rsec{display:flex;flex-direction:column;gap:6px}
.rsec .sech{padding:4px 4px 0}
.rsec .sech b{display:flex;align-items:center;gap:6px}
.rmore{align-self:center;padding:6px 10px;font-size:14px}
/* 같이 먹는 제품 가져오기(2026-11-11, 명세 3장 가족 추가 4번): 빈 가족 서랍·찾기 화면 맨 위 한 줄(.improw) · 시트의 고르기 줄(.fimp — 누르면 오른쪽 동그라미에 체크) */
.improw{display:flex;align-items:center;gap:12px;width:100%;margin:2px 0 6px;padding:13px 14px;border:0;border-radius:14px;background:var(--accent-soft2);color:inherit;font:inherit;text-align:left;cursor:pointer}
.improw:active{filter:brightness(.97)}
.improw b{font-size:15.5px;color:var(--accent-ink);line-height:1.35}
.impic{flex:none;width:38px;height:38px;border-radius:12px;background:var(--accent-soft);color:var(--accent-ink);display:flex;align-items:center;justify-content:center}
.dimp{min-height:72px}.dimp b{font-size:15.5px;line-height:1.35}.dimp .s13{color:var(--muted);font-weight:400}
.prow.fimp{min-height:0;align-items:center}
.sheet .plist.fimpl{padding:0;background:none;border-radius:0} /* 시트(흰 바탕) 안에서는 목록 카드 여백 없이 머리와 줄을 맞춘다 */
.fimp .fchk{flex:none;width:26px;height:26px;border-radius:50%;border:2px solid var(--line);display:flex;align-items:center;justify-content:center;color:var(--on-accent)}
.fimp[aria-pressed="true"] .fchk{background:var(--accent);border-color:var(--accent)}
.fimp:disabled{cursor:default}
.fimp:disabled .pr-name,.fimp:disabled .fthumb{opacity:.55}
.fhas{flex:none;font-size:12.5px;color:var(--muted);white-space:nowrap}
/* 찾기 화면(2026-11-10 운영자 '눈에 안 띔 · 너무 흑백' → D안): 서랍이 비어 있으면 아래 서랍 막대를 가리키는 파란 말풍선(.dtip — #results 안, 화면 아래에 떠 있음),
   막대와 % 설명은 목록 위 작은 한 줄(.putsub). 아래 막대 '내 서랍 N통' 옆에 넣은 통 수만큼 파란 점(.dslots — 빈 자리 없음, 다섯 넘으면 '+N') */
.dtip{position:fixed;z-index:21;left:max(16px,calc(50vw - 224px));bottom:calc(92px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:8px;max-width:calc(100vw - 32px);padding:12px 16px;border-radius:16px;background:var(--accent);color:var(--on-accent);font-size:15.5px;box-shadow:0 10px 26px rgba(0,102,214,.3);pointer-events:none;transition:opacity .2s ease,transform .2s ease}
.dtip svg{flex:none}
.dtip b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* 2026-11-21 독립 검토 D1(R4-02): 말풍선은 누름을 받지 않는다(위 .dtip의 pointer-events:none — 아래 제품 줄로 지나감) · 목록을 밀면 흐려진다(body.dtipoff — web/app.js 스크롤) */
body.dtipoff .dtip{opacity:0;transform:translateY(8px)}
@media (prefers-reduced-motion:reduce){.dtip{transition:none}}
.dtip::after{content:"";position:absolute;left:26px;bottom:-8px;border-style:solid;border-width:9px 8px 0;border-color:var(--accent) transparent transparent}
.putsub{margin:0 2px 2px;font-size:13px;line-height:1.45;color:var(--muted)}
.bbar .info b .dslots{display:inline-flex;align-items:center;gap:5px;margin-left:10px;vertical-align:1px}
.bbar .info b .dslots:empty{display:none}
.dslots i{width:10px;height:10px;border-radius:50%;background:var(--accent)}
.dslots em{font-style:normal;font-size:13px;font-weight:700;color:var(--accent-ink);line-height:10px}
/* 2026-10-30 접근성(오픈 전 점검 PR-F, 명세 3장 '60~70대 기준: 누르는 곳 44px 이상, 글자 대비 4.5:1 이상' · docs/QA_2026-10-29.md M12·M13).
   ① 글자 대비 — 색 토큰(H3 머리) 밖에서 4.5:1을 깎던 자리 */
.prow.dim .pr-name{opacity:1;color:var(--muted)} /* 이미 넣은 제품 줄: 투명하게(3.8:1) 대신 회색 글자 — 누르면 제품 시트가 열리는 줄이라 읽혀야 한다 */
.otcfold summary .osum,.otcsum .osum{opacity:1}
.seg2 button:not([aria-pressed="true"]){color:var(--sub)} /* 회색 칸(--line·--fill) 위 고르지 않은 칸: 애플 분할 단추처럼 글자는 진하게, 고른 칸은 흰 바탕·굵기로 가른다 */
:is(.opt,.dchip,.drow,.dtab)[aria-pressed="true"] :is(.s13,.s14){color:inherit;opacity:.72} /* 고른 칸(검정 바탕) 안의 작은 회색 글 */
[aria-pressed="true"] .mark{color:var(--bg)} /* 어두운 화면: 고른 표시 바탕(--fg)이 흰색이라 흰 ✓가 안 보였다 */
.search .clear{background:var(--faint)} /* ✕와 바탕이 1.3:1 — 지우기 단추가 보이게 */
/* ② 누르는 곳 — 보이는 크기·자리는 그대로 두고 누르는 자리만 ::after로 가운데에서 최소 44×44까지 넓힌다.
   이웃 단추를 가리지 않는지는 실제 브라우저로 쟀다(PR-F 화면 걷기: 단추마다 가운데에서 바깥으로 1px씩 elementFromPoint). 작은 단추를 새로 만들면 여기에 더한다.
   스스로 넘침을 자르는 것(.stop .wm)·가로로 미는 줄(.mpills·.kcrow·.utabs)은 칸 높이를 따로 맞춘다 */
:is(.flinks button,.flinks a,.facc-b a,.link,details.cau>summary,details.cauen>summary,details.uses>summary,button.dchip,.search .clear,.trash,.wm,.backtxt,.dest,.mpill,.optrow,.kchip,.xbtn,.iconbtn,.htrust button,.basischip,.kbtn,.smallbtn,.seg2 button,.toast button,.otcalso,.otcc,.utab,.hlimall){position:relative}
:is(.flinks button,.flinks a,.facc-b a,.link,details.cau>summary,details.cauen>summary,details.uses>summary,button.dchip,.search .clear,.trash,.wm,.backtxt,.dest,.mpill,.optrow,.kchip,.xbtn,.iconbtn,.htrust button,.basischip,.kbtn,.smallbtn,.seg2 button,.toast button,.otcalso,.otcc,.utab,.pdet,.pinx,.hlimall)::after{content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%)}
.dtop>.iconbtn:first-child::after{left:0;transform:translateY(-50%)} /* 제품 상세의 닫기: 판 왼쪽 끝(넘침 자름)에 붙어 있어 오른쪽으로만 넓힌다 */
.link.hitdn::after{top:0;transform:translateX(-50%)} /* 바로 위에 다른 단추가 붙어 있으면 누르는 자리를 아래로만(제품 정보 '왜 더하지 않나요 ›') */
button.otcflag{width:100%;border:0;border-left:3px solid var(--otc);font:inherit;text-align:left}button.otcflag.v2{width:auto;border:0;background:none} /* 홀로 있는 '왜 ○○%가 나왔나요?'(성분 화면)는 진짜 단추 */
.flinks{row-gap:8px}
.stop .wm{min-height:44px}
.mpills{padding-top:4px;padding-bottom:4px;margin-top:-4px;margin-bottom:-4px}
.kcrow{padding-top:5px;padding-bottom:5px;margin-top:-3px;margin-bottom:-3px}
.utab{height:44px}
/* 첫 화면 소개(2026-10-31 SEO 정리): 자바스크립트를 돌리지 않는 로봇이 읽는 글(data-pre). 화면 코드가 뜨면 바로 앱 화면으로 바뀐다 */
.pre{padding:28px 20px 40px}.pre .pb{margin:0;color:var(--accent-ink);font-weight:700;font-size:15px}.pre h1{margin:8px 0 12px;font-size:24px;line-height:1.35;color:var(--fg)}
.pre p,.pre li{color:var(--sub);font-size:15px;line-height:1.6}.pre ul{margin:14px 0;padding-left:20px}.pre a{color:var(--accent-ink)}.pre .pf{color:var(--muted);font-size:13px}/* 미리 그린 첫 화면(2026-11-05 속도, web/prerender.mjs): 처음 온 사람이 아니면(html.pre-back — 머리 스크립트) 숨기고 앱이 그릴 때까지 기다린다.
   늦으면(느린 망·새 화면 코드를 받는 중) 0.6초 뒤 '화면을 여는 중이에요' 한 줄. 처음 온 사람에게는 그 한 줄을 두지 않는다 */
.prewait{display:none}
.pre-back #app>[data-pre]{display:none}
.pre-back #app>.prewait{display:flex;justify-content:center;padding:32vh 20px 0;color:var(--muted);font-size:15px;animation:preIn .3s .6s both}
/* 열쇠 링크(html.pre-key — 머리 스크립트): 늦을 때 한 줄 대신 바로 '열쇠로 서랍을 여는 중' 장면 — 닫힌 서랍 앞판(서랍장 앞판과 같은 모양) 가운데에서 열쇠가 돌다가 앱이 그리면 서랍이 열린다 */
.prewait .pwk{display:none}
.pre-key #app>.prewait{padding-top:20vh;animation:none}
.pre-key #app>.prewait .pwt{display:none}
.pre-key #app>.prewait .pwk{display:flex;flex-direction:column;align-items:center;gap:14px;width:100%;max-width:400px}
.pwd{position:relative;display:block;width:100%;height:56px;border-radius:16px;background:var(--bg)}
.pwd .pwh{position:absolute;left:50%;top:50%;width:28px;height:6px;margin:-3px 0 0 -14px;border-radius:3px;background:var(--line)}
.pwd .pwi{position:absolute;left:50%;top:50%;width:32px;height:32px;margin:-16px 0 0 -16px;border-radius:16px;background:#fef3c7;color:#92400e;display:flex;align-items:center;justify-content:center}
@media (prefers-color-scheme: dark){.pwd .pwi{background:#3d2c0c;color:#fcd34d}}
@media (prefers-reduced-motion:no-preference){.pre-key #app>.prewait .pwi{animation:pwKey 1.4s ease-in-out infinite}}
@keyframes pwKey{0%,10%{transform:rotate(0)}40%,70%{transform:rotate(90deg)}100%{transform:rotate(0)}}
@keyframes preIn{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.pre-back #app>.prewait{animation:none}}

/* 2026-11-05 첫 화면 = 서랍장(B안). 처음 온 사람의 얇은 서랍장(.cabh·.cab·서랍 앞판 .dfront)은 2026-11-11 첫 화면 K안에서 지웠다. 빈 목록(.dempty) · 색은 화면 토큰만 */
.dempty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:4px 0;text-align:center}
.dempty b{font-size:15px}
.dempty>span{font-size:13px;color:var(--muted)}
.dempty .skel{align-self:stretch}
.dempty .dretry{min-height:44px;margin-top:2px}
.dghost{display:flex;gap:10px}
.dghost i{display:block;width:34px;height:42px;border-radius:9px;border:1.5px dashed var(--line)}
.dghost i:first-child{height:36px;margin-top:6px}
/* 2026-11-07 D안(운영자 "보기 힘들고 문구가 많다 · 처음 온 사람 기준으로 쉽게 · 사용자 입장에서 직관적으로"): 다시 온 사람의 서랍장은
   맨 위 '누구 서랍' 칩(.ptab — 고른 칩은 검정) → 결과 요약 카드 → 오늘의 질문 → '넣은 영양제' 흰 목록(.dlist, 맨 아래 '영양제 넣기' 줄) →
   열쇠·서랍 관리 한 장(.utools). 굵기는 700까지(H3) · 색은 화면 토큰만.
   2026-11-11 다듬은 A안: 이 차례는 '내 서랍' 페이지로(오늘의 질문은 첫 화면) · 요약 카드는 .sumx(첫 화면과 같은 모양) · 아래 한 장은 한 줄 세 칸(.ut3) */
.ptabs{display:flex;gap:8px;overflow-x:auto;margin:0 -16px;padding:0 16px;scrollbar-width:none}
.ptabs::-webkit-scrollbar{display:none}
.ptabs[data-more]{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 36px),transparent)} /* 오른쪽에 더 있으면(가족이 많을 때) 끝을 흐리게 — 찾기 갈래 탭과 같은 규칙 */
.ptab{position:relative;flex:none;display:inline-flex;align-items:center;gap:5px;min-height:44px;padding:0 16px;border:0;border-radius:22px;background:var(--bg);color:var(--fg);font:inherit;font-size:15px;white-space:nowrap}
.ptab b{font-weight:700}
.ptab small{font-size:13px;color:var(--muted)}
.ptab.on{background:var(--fg);color:var(--bg)}
.ptab.on small{color:inherit;opacity:.75}
.ptab.add{color:var(--accent-ink);font-weight:600}
.cbody{display:flex;flex-direction:column;gap:14px}
.sumx,.sumcard.sumx{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:18px 18px 14px;border-radius:16px;background:var(--bg)}
.sumx .sxh{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:4px 10px} /* 좁아 제목과 '고민 중 포함'이 한 줄에 안 들어가면 표가 아래 줄로 */
.sumx .sh1{margin:0;font-size:19px;font-weight:700;line-height:1.4;letter-spacing:-.02em}
.sumx .sh2{margin:0;font-size:17px;font-weight:700;line-height:1.4;letter-spacing:-.02em}
.sumx .sh2 small{margin-left:2px;font-size:14px;font-weight:600;color:var(--muted)}
.stag{flex:none;margin-top:2px;padding:0 8px;border-radius:6px;background:var(--fill);font-size:12px;font-weight:700;line-height:22px;color:var(--sub);white-space:nowrap}
.sumx .skick{margin-bottom:2px}
.sumx .sbasis{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-top:2px;font-size:13px;line-height:1.5;color:var(--muted)}
.sumx .sbasis .link{flex:none;padding:0;font-size:13px;line-height:1.5;font-weight:700}
.sumx .sotcl{margin-top:6px}
.sumx .ssub{margin:6px 0 0;line-height:1.5}
.sumx .shead{margin:8px 0 0;font-size:15px;font-weight:600;line-height:1.5}
.sumx .szero{margin:12px 0 0;font-size:14px;font-weight:600;line-height:1.5;color:var(--sub)}
.sgi{flex:none;width:20px;height:20px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;font-style:normal;font-size:12px;font-weight:700;line-height:1}
.sgi.o{background:var(--over-btn);color:#fff}
.sgi.n{box-shadow:inset 0 0 0 3px var(--near-bar,#ff9f0a)}
.sgi.z{box-shadow:inset 0 0 0 3px var(--tick,#c7c7cc)}
.snrs{display:flex;flex-direction:column;margin-top:10px}
.snr{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:6px 0;border:0;border-top:1px solid var(--line2);background:none;color:inherit;font:inherit;text-align:left}
.snr .sdt{flex:none;width:8px;height:8px;border-radius:50%;background:var(--tick)}
.snr .sdt.red{background:var(--over-bar)}
.snr .sdt.amber{background:var(--near-bar)}
.snr .snt{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;column-gap:6px}
.snr .snn{font-size:15.5px;font-weight:600;line-height:1.45}
.snr .sns{font-size:12.5px;line-height:1.45;color:var(--muted)}
.snr .sns.ol{color:var(--sub);font-weight:600}
.snr .snp{flex:none;display:flex;align-items:baseline;justify-content:flex-end;gap:4px;white-space:nowrap}
.snr .snp small{font-size:12px;color:var(--muted)}
.snr .snp b{font-size:18px;font-weight:700}
.snr>svg{flex:none;color:var(--faint)}
.snr.srest .snt{flex-direction:column;align-items:flex-start}
.snr.srest .snn{font-size:13.5px;font-weight:500;color:var(--sub)}
.sumx .sxrest{display:flex;flex-direction:column;gap:2px;margin:0;padding:10px 0 0;border-top:1px solid var(--line2);font-size:13px;line-height:1.5;color:var(--sub)}
.sumx .sfoot{margin:6px 0 0;font-size:12.5px;line-height:1.5;color:var(--muted)}
.sumx .sxopen{margin-top:14px;min-height:50px}
.sumx .sxgo{display:flex;align-items:center;justify-content:center;gap:2px;width:100%;min-height:48px;margin-top:2px;padding:0;border:0;border-top:1px solid var(--line2);background:none;color:var(--accent-ink);font:inherit;font-size:15.5px;font-weight:700}
.sinfo{margin-top:12px;padding:12px 14px;border-radius:12px;background:var(--fill2);font-size:13px;line-height:1.5;color:var(--sub)}
.sinfo p{margin:0}.sinfo p+p{margin-top:4px}
.sinfo b{color:var(--fg);font-weight:700}
.dlh{display:flex;align-items:baseline;gap:6px;margin:6px 4px 10px;font-size:17px;font-weight:700}
.dlh span{font-size:15px;font-weight:600;color:var(--muted)}
.dlist .dtray{display:flex;flex-direction:column;gap:10px}
.dlist .dempty{padding:18px 0 14px}
.dadd{display:flex;align-items:center;gap:12px;width:100%;min-height:68px;padding:0;border:0;border-top:1px solid var(--line2);background:none;color:var(--accent-ink);font:inherit;font-size:15.5px;font-weight:700;text-align:left}
.ilist>.dadd:first-child{border-top:0}
.dplus{flex:none;width:44px;height:44px;border-radius:12px;background:var(--accent-soft);display:flex;align-items:center;justify-content:center}
.arow.red b{color:var(--over)}
.arow.red .ai{background:var(--over-soft);color:var(--over)}
/* 처음 안내(2026-11-07, 말풍선 4단계 — app.js TOUR·tourPlace): 화면 전체를 어둡게 덮고 한 곳만 비춘다. 비추는 칸(.thole)의 큰 그림자가 곧 덮개라
   칸 자리·크기와 말풍선 높이는 그린 뒤 app.js가 잰다(그 전에는 말풍선을 감춘다). 덮개(.tour)가 누름을 모두 받아 뒤 화면은 눌리지도 밀리지도 않는다.
   말풍선은 흰 카드(--bg) · '다음'은 결과 자세히 보기 단추와 같은 검정 · 단계 번호는 진한 파랑 · 굵기 700까지(H3) */
.tour{--tdim:rgba(17,24,39,.68);position:fixed;inset:0;z-index:75;touch-action:none;overscroll-behavior:contain}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .tour{--tdim:rgba(0,0,0,.74)}}
:root[data-theme="dark"] .tour{--tdim:rgba(0,0,0,.74)}
.thole{position:fixed;left:50%;top:50%;width:0;height:0;border-radius:18px;box-shadow:0 0 0 200vmax var(--tdim);outline:2px solid rgba(255,255,255,.95);outline-offset:2px;pointer-events:none;transition:left .3s cubic-bezier(.2,.8,.2,1),top .3s cubic-bezier(.2,.8,.2,1),width .3s cubic-bezier(.2,.8,.2,1),height .3s cubic-bezier(.2,.8,.2,1),border-radius .3s}
.tour.nohole .thole{outline:0}
.tbub{position:fixed;top:0;left:20px;right:20px;max-width:440px;margin:0 auto;visibility:hidden;display:flex;flex-direction:column;padding:16px 18px 10px;border-radius:18px;background:var(--bg);color:var(--fg);box-shadow:0 14px 36px rgba(0,0,0,.28)}
.tour.on .tbub{visibility:visible}
.tbub:focus{outline:none} /* 초점은 말풍선(대화 상자)에 — 단추 테두리는 Tab으로 옮길 때만 */
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .tbub{box-shadow:0 0 0 1px rgba(255,255,255,.1),0 14px 36px rgba(0,0,0,.5)}}
:root[data-theme="dark"] .tbub{box-shadow:0 0 0 1px rgba(255,255,255,.1),0 14px 36px rgba(0,0,0,.5)}
.tarr{position:absolute;left:40px;width:16px;height:16px;border-radius:3px;background:var(--bg);transform:rotate(45deg)}
.tarr.t{top:-7px}
.tarr.b{bottom:-7px}
.tstp{font-size:12.5px;font-weight:700;line-height:18px;color:var(--accent-ink)}
.tt{margin:4px 0 0;font-size:17px;font-weight:700;line-height:1.4;letter-spacing:-.02em}
.ts{margin:6px 0 0;font-size:14px;line-height:1.5;color:var(--sub)}
.tlg{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:10px;font-size:13px;color:var(--muted)}
.tlg span{display:inline-flex;align-items:center;gap:6px}
.tlg .sgi{width:16px;height:16px;border-radius:8px;font-size:10px}
/* 처음 결과 말풍선(rnum, 2026-11-10): 비춘 카드의 그림 뜻 — 영양제 색 점(카드의 '○통에서 더했어요' 점과 같은 꼴) · 일반의약품 줄무늬 · 상한을 넘은 빨간 조각 */
.tlg .tdots{display:inline-flex;gap:3px;font-style:normal}
.tlg .tdots i{width:8px;height:8px;border-radius:50%}
.tlg .tdots i.otc{background:repeating-linear-gradient(135deg,var(--otc) 0 2px,var(--otc-line) 2px 4px)}
.tlg .tov{width:18px;height:8px;border-radius:2px 4px 4px 2px;background:var(--over-bar);font-style:normal}
.tbb{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.tskip{min-height:44px;padding:0 4px;border:0;background:none;color:var(--muted);font:inherit;font-size:15px;font-weight:600}
.tnext{min-height:44px;padding:0 22px;border:0;border-radius:12px;background:var(--accent);color:var(--on-accent);font:inherit;font-size:15px;font-weight:700}
@media (prefers-reduced-motion:no-preference){.tour.on .tbub.anim{animation:tbubIn .24s cubic-bezier(.2,.8,.2,1) both}}
@keyframes tbubIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
/* 모션 1(2026-11-05, 콘티 M1·M2): 넣기 쏙 — 제품 그림이 찾기 화면 아래 '○ 서랍 n통'으로 날아가고(app.js flyIn, 0.4초) 숫자가 톡(0.2초) ·
   서랍 열기 — 다른 화면에서 서랍장으로 왔거나 다른 서랍을 고를 때만 칩 아래(요약·목록)가 살짝 내려앉고 0.04초씩 차례로(0.3초, render의 V.drwSlide — 2026-11-07 D안부터 서랍 안쪽 대신).
   글자는 바로 보이고 살짝만 움직인다. 동작 줄이기면 움직이지 않는다(넣기 쏙은 그림을 아예 띄우지 않음) */
.flyer{position:fixed;left:0;top:0;z-index:90;pointer-events:none;will-change:transform,opacity}
.bbn{font-style:normal;display:inline-block}
@media (prefers-reduced-motion:no-preference){
.bbn.bump{animation:bump .22s ease-out}
.dslots .bump{animation:bump .22s ease-out}
.cbody.dslide>*{animation:drowIn .3s cubic-bezier(.2,.8,.2,1) both}
.cbody.dslide>:nth-child(2){animation-delay:.04s}
.cbody.dslide>:nth-child(n+3){animation-delay:.08s}
}
@keyframes bump{40%{transform:scale(1.35)}}
@keyframes drowIn{from{opacity:.35;transform:translateY(-8px)}to{opacity:1;transform:none}}
/* 모션 2(2026-11-05, 콘티 M3·M4): 열쇠 이야기 — 결과 아래 노란 띠 안에서만 세 장면(.kst·.ksi 1.2초씩, 늦춤은 app.js가 칸마다 적음) → 늘 보던 띠(.k0)로,
   끝에 열쇠가 '열쇠·공유'로 쏙(app.js keyStoryEnd → .kglow) · 열쇠로 열 때 — 고른 서랍 칩에 열쇠가 꽂혀 한 번 돌고(2026-11-07 D안부터 앞판 대신 칩, 그 아래 요약·목록은 숨었다가)(0.5초 — 콘티 0.6초를 링크 로딩 이야기 뒤 줄임)
   돌기가 끝나 갈 때(0.45초) 서랍이 열리고(0.3초) '열쇠로 … 열었어요' 띠(0.7초).
   동작 줄이기면 장면 없이 늘 보던 띠 · 바로 열린 서랍(app.js가 장면을 그리지 않고, 꾸밈도 겹친 장면을 숨긴다) */
.kstk{display:grid;min-width:0}.kstk>*{grid-area:1/1}
.knudge .kstk>.kst{display:flex;flex-direction:column;gap:2px;min-width:0;text-align:left}
.kic.kstk{place-items:center}.kic.kstk>.ksi{display:flex}
.kfly{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:22px;background:#fef3c7;color:#92400e}
.ptab .dkeyi{position:absolute;left:50%;top:50%;width:32px;height:32px;margin:-16px 0 0 -16px;border-radius:16px;background:#fef3c7;color:#92400e;display:flex;align-items:center;justify-content:center;pointer-events:none;opacity:0}
@media (prefers-color-scheme: dark){.kfly,.ptab .dkeyi{background:#3d2c0c;color:#fcd34d}}
@media (prefers-reduced-motion:no-preference){
.kstory .kst,.kstory .ksi{animation:kst 1.2s both}
.kstory .kst.k0,.kstory .ksi.k0{animation:kst0 .3s both}
.kglow{animation:kglow .7s ease-out}
.ptabs.dkey .ptab.on .dkeyi{animation:dkeyTurn .5s ease-in-out both}
.cbody.dkey>*{animation:dbodyIn .3s cubic-bezier(.2,.8,.2,1) .45s both}
.kopen.kin{animation:kst0 .3s .7s both}
.kopen.kis{animation:kst0 .3s .2s both}
.eyebrow2.kturn svg{animation:kturn .5s ease-in-out both}
}
@media (prefers-reduced-motion:reduce){.kstory .kst:not(.k0),.kstory .ksi:not(.k0){display:none}}
@keyframes kst{0%{opacity:0;transform:translateY(6px)}12%,88%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-6px)}}
@keyframes kst0{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes kglow{0%{box-shadow:0 0 0 0 rgba(245,158,11,.6)}100%{box-shadow:0 0 0 14px rgba(245,158,11,0)}}
@keyframes dbodyIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@keyframes dkeyTurn{0%{opacity:0;transform:scale(.6)}25%{opacity:1;transform:scale(1) rotate(0)}75%{opacity:1;transform:scale(1) rotate(90deg)}100%{opacity:0;transform:scale(1) rotate(90deg)}}
@keyframes kturn{0%,100%{transform:none}50%{transform:rotate(90deg)}}
.qbox{background:var(--bg);border-radius:16px}
/* 도구 네 칸(첫 화면 아래): 그림 + 이름, '새로'는 칸 오른쪽 위 */
.htiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.htile{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;min-height:88px;padding:14px 4px 12px;border-radius:16px;background:var(--bg);color:var(--fg);text-decoration:none;text-align:center}
.htile .hti{width:40px;height:40px;border-radius:12px;background:var(--fill);color:var(--accent-ink);display:flex;align-items:center;justify-content:center}
.htile b{font-size:13px;font-weight:600;line-height:1.3}
.htile .mnew{position:absolute;top:6px;right:6px;margin:0}
.htile.hwide{grid-column:1/-1;flex-direction:row;gap:12px;min-height:64px;padding:12px 14px;text-align:left}
.htile.hwide .hwt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.htile.hwide .hwt b{font-size:15px;font-weight:600}
.htile.hwide .hwt span{font-size:13px;color:var(--sub);line-height:1.35}
.htile.hwide>svg{flex:none;color:var(--faint)}
/* 첫 화면 '하루 상한섭취량'(2026-11-17 — web/app.js homeLimits): '도구'와 같은 머리(.hth) · 흰 목록 한 장(도구 칸과 같은 16px 모서리 · 줄 높이 56px · 줄 사이 가는 선) */
.hlim{display:flex;flex-direction:column;gap:8px}
.hlimh{display:flex;align-items:center;justify-content:space-between;gap:8px}
.hlimall{display:inline-flex;align-items:center;gap:2px;min-height:32px;padding:0 0 0 8px;font-size:13px;color:var(--sub);text-decoration:none;white-space:nowrap}
.hlimall svg{width:16px;height:16px;color:var(--faint)}
.hlims{margin:-6px 0 0;padding:0 4px;font-size:12.5px;line-height:1.5;color:var(--muted)}
.hlimc{background:var(--bg);border-radius:16px;overflow:hidden}
.hlimr{display:flex;align-items:center;gap:10px;min-height:56px;padding:8px 12px 8px 16px;color:var(--fg);text-decoration:none}
.hlimr+.hlimr{border-top:1px solid var(--line2)}
.hlimr:active{background:var(--fill)}
.hlimr:focus-visible,.hlimall:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.hlimn{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.hlimn b{font-size:15px;font-weight:600}
.hlimn small{font-size:12.5px;color:var(--muted)}
.hlimv{font-size:16px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.hlimv small{font-size:12px;font-weight:600;color:var(--sub);margin-left:2px}
.hlimr>svg{flex:none;color:var(--faint)}
.hhow{display:flex;flex-direction:column;gap:8px}
.hhowr{padding-top:12px;padding-bottom:12px}.hhowr .hlimn{gap:3px}.hhowr .hlimn small{line-height:1.5}
div.hhowr:active{background:none}
/* '알맞음은 이렇게 계산해요' 둘째 · 셋째 덩이(2026-12-01 B3 시안5 — web/app.js homeHow): 작은 머리 · 흰 목록 한 장씩(링크 없는 줄 — '>' 없음, 체크 표) */
.hh3{margin:12px 0 0;padding:0 4px;font-size:14px;font-weight:600;color:var(--sub)}
.hsrc,.hchk{list-style:none;margin:0;padding:2px 16px;background:var(--bg);border-radius:16px}
.hsrc li,.hchk li{display:flex;gap:12px;padding:11px 0;font-size:14px;line-height:1.55}
.hsrc li+li,.hchk li+li{border-top:1px solid var(--line2)}
.hsrc b{flex:none;width:72px;color:var(--sub);font-weight:600}
.hchk li{gap:10px;align-items:flex-start}
.hchk .hck{flex:none;margin-top:3px;color:var(--accent-ink)}
.hchk a{color:var(--accent-ink);text-decoration:underline;text-underline-offset:2px}
/* 첫 화면 '결과는 이렇게 보여요'(2026-12-01 B3 시안4 — web/app.js homeExample): 머리 + '예시' 표 · 흰 칸 하나(약통 칩 · 성분 셋 — 결과 막대와 같은 꼴 · 한 줄) */
.hres{display:flex;flex-direction:column;gap:8px}
.hresh{display:flex;align-items:center;gap:8px}
.hresb{display:inline-flex;align-items:center;height:22px;padding:0 7px;border-radius:6px;background:var(--bg);box-shadow:inset 0 0 0 1px var(--line);color:var(--sub);font-size:12px;font-weight:700}
.hresc{background:var(--bg);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:16px}
.hrbt{display:flex;flex-wrap:wrap;gap:6px}
.hrp{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 10px;border-radius:15px;background:var(--fill);font-size:13.5px;color:var(--fg)}
.hrp i{flex:none;width:8px;height:8px;border-radius:4px}
.hrp i.no{background:transparent;box-shadow:inset 0 0 0 1.5px var(--faint)}
.hrp.plan{background:var(--bg);outline:1.5px dashed var(--line);outline-offset:-1.5px}
.hrp small{margin-left:2px;font-size:11.5px;font-weight:700;color:var(--sub)}
.hrr{display:flex;flex-direction:column;gap:6px}
.hrrh{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px}
.hrrh>b:first-child{font-size:16px}
.hra{font-size:14px;color:var(--sub)}
.hrrh .st{margin-left:auto;align-self:center}
.hrpct{font-size:20px;font-weight:800;letter-spacing:-.02em}
.hra+.hrpct{margin-left:auto}
.hrl{margin:0;display:flex;flex-wrap:wrap;gap:4px 12px;font-size:12.5px;color:var(--muted)}
.hrl span{display:inline-flex;align-items:center;gap:5px}
.hrl i{width:7px;height:7px;border-radius:2px}
.hrl .pltag{margin-right:-1px;padding:0 5px;font-size:11px}
.hrn{margin:0;padding-top:12px;border-top:1px solid var(--line2);font-size:13px;line-height:1.6;color:var(--muted)}
/* 하단 링크(2026-11-05 저녁 'F1' 두 줄 → 2026-11-11 첫 화면 K안 한 줄 — 운영자 "풋터는 왜 간결화되지 않았아?" · 2026-11-19 '의견 보내기' → '문의하기', 두 링크는 주소가 있는 회색 링크 .fsub): 알맞음 소개 | 문의하기 | 개인정보 처리방침.
   만든 이유·홈 화면에 추가는 ≡ 메뉴에. 사이는 가는 세로줄(글자 아님), 개인정보 처리방침은 지금처럼 진한 파랑 굵게. 누르는 자리는 :is(.flinks button,.flinks a)::after가 44px로 넓힌다 */
.flinks{display:flex;flex-direction:column;align-items:flex-start;gap:0;margin:-8px 0 -6px}
.flinks>span{display:flex;align-items:center;flex-wrap:wrap}
.flinks button,.flinks a{display:inline-flex;align-items:center;min-height:36px;text-align:left}
.flinks button{font-weight:500}
.flinks i{display:block;width:1px;height:12px;margin:0 10px;background:var(--line)}
/* 2026-11-22 이용약관(애드센스 재신청 준비): 링크가 넷 — 360px 폰에서 한 줄에 안 들어간다(338px > 328px). 좁은 폭에서만 두 줄(375px 이상은 한 줄 그대로).
   세로줄은 링크 앞에 붙은 덩어리(.fl)라 줄이 바뀌어도 링크와 같이 가고, 모든 줄 머리의 세로줄(21px)은 왼쪽으로 밀어 잘라 낸다(clip-path — 위·아래·오른쪽과
   왼쪽 6px은 남겨 누르는 자리(::after 44px)와 초점 테두리가 잘리지 않게). 두 줄일 때 줄 사이 8px(누르는 자리가 겹치지 않게) */
.flinks{clip-path:inset(-8px -8px -8px -6px)}
.flinks>span{margin-left:-21px;row-gap:8px}
.flinks .fl{display:inline-flex;align-items:center}
.flinks .fl>i{flex:none}
/* 2026-11-09 화면 점검(운영자 "기능이 조금씩 바뀌면서 U/I가 틀어졌다") — 앞선 규칙 위에 덮어쓴다
   · 결과·찾기 아래 고정 칸의 보조 단추(.btn.s)가 흰 바탕에 흰색이라 글자만 떠 보였다 → 시트 단추와 같은 회색
   · 서랍장 요약의 아이콘: 70% 없음은 빈 동그라미가 체크 안 한 선택지처럼 보였다 → 채운 체크(파랑) · 70% 이상도 채운 주황 느낌표(넘음 빨강 !과 같은 모양 — 처음 안내 범례도 같은 칸을 쓴다)
   · 서랍장 아래 한 장(.utools)의 그림 칸이 흰 카드 위 흰 칸이라 안 보였다(열쇠만 노랑) → 제품 비교 '어디서 고를까요?'(.cfrom)와 같은 회색 칸
   · '도구' 제목이 '넣은 영양제'보다 작고 흐렸다 → 같은 크기·굵기 · 결과 목록 카드 맨 위 줄의 구분선이 카드 위 가장자리에 보였다 → 첫 줄은 선 없이
   · 하단(.foot)의 링크 줄에서 앱 단추가 아닌 일반 링크(성분 사전 화면의 '알맞음 첫 화면')는 단추와 같은 회색(.fsub) */
.bbar .btn.s{background:var(--fill)}
.sgi.z{box-shadow:none;background:var(--accent);color:#fff}
.sgi.z::before{content:"";width:7px;height:4px;margin-top:-2px;border:solid currentColor;border-width:0 0 2px 2px;transform:rotate(-45deg)}
.sgi.n{box-shadow:none;background:var(--near-bar);color:#fff}
.sgi.n::before{content:"!"}
.hth{margin:6px 0 2px;padding:0 4px;font-size:17px;font-weight:700;color:var(--fg)}
.card>.mrow:first-child{border-top-color:transparent}
.flinks a.fsub{font-weight:500;color:var(--sub)}
/* 서랍장 C안(2026-11-09 운영자 — 시안 A·B·C 중 C, 안내 글은 그대로). app.js cabinet
   ①② 요약 카드 머리 색 띠·성분 줄 막대는 2026-11-11 다듬은 A안에서 뺐다(줄 앞 색 점과 숫자 색 — 위 .sumx)
   ③ '누구 서랍' 칩을 서랍 앞판처럼(아래 짧은 손잡이), 고른 서랍은 파랑 */
.ptabs{padding-top:2px;padding-bottom:10px}
.ptab{flex-direction:column;justify-content:center;gap:0;min-width:76px;min-height:58px;padding:6px 16px 12px;border-radius:14px;background:var(--bg);box-shadow:0 1px 2px rgba(0,0,0,.06)}
.ptab::after{content:"";position:absolute;left:50%;bottom:7px;width:22px;height:4px;margin-left:-11px;border-radius:2px;background:var(--line)}
.ptab b{font-size:16px}
.ptab small{font-size:12px}
.ptab.on{background:var(--accent);color:#fff;box-shadow:0 4px 10px rgba(0,102,214,.25)}
.ptab.on small{opacity:1}
.ptab.on::after{background:rgba(255,255,255,.55)}
.ptab.add{flex-direction:row;gap:5px;min-width:0;box-shadow:none;background:transparent;padding-bottom:6px}
.ptab.add::after{display:none}
/* 첫 화면 K안(2026-11-11 — 운영자 "첫 화면이 많다 · 비주얼로 뭘 하는 곳인지 · 먹는 영양제도 살 영양제도", 시안 '먹는 것 + 살까 하는 것'):
   제목 → 찾기 칸 → 믿을 근거 한 줄(.htrust) → 그림(.hvis). 예전 흰 카드·소개 문장·예시 카드·얇은 서랍장·두 줄 안내는 지웠다.
   그림은 3D로 그린 알약(web/hero/<알>-l·-d.webp — scripts/hero-pills, 밝은·어두운 화면 따로 · 그림자 구워 넣음)을 무대(340×180) 안 %로 놓는다.
   움직임은 이 페이지에서 한 번(.play — 먹는 다섯 알이 놓이고 → 고민 중 한 알이 들어오고 → 비타민 D 표 · 나머지 옅게 → 40%에서 140% → 찾기 칸이 한 번 빛남) ·
   동작 줄이기면 다 놓인 모습 · 다시 그려도 이어서(--he, app.js heroFix). 그림이 받아지기 전에 움직임이 끝나지 않게 0.3초 뒤부터. 굵기는 700까지 · 색은 화면 토큰만(그림자 빼고) */
.hhero{gap:16px;padding:8px 0 4px}
.qtip{display:block;margin-top:4px} /* 찾기 화면: 검색어가 없을 때 '쇼핑앱 제품명 붙여 넣기' 한 줄(예전 첫 화면 검색창 아래에서 옮김) */
.hhero h1{font-size:27px;line-height:1.34;letter-spacing:-.035em}
.htrust{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 10px;margin:0;font-size:12.5px;letter-spacing:-.01em;color:var(--muted)}
.htrust button{border:0;background:none;padding:0;font:inherit;color:inherit;display:inline-flex;align-items:center;gap:4px;white-space:nowrap;cursor:pointer}
.htrust svg{width:13px;height:13px;color:var(--faint)}
/* 그림 칸(2026-11-17 운영자 '같이 넣기'): '고민 중' 알약·고리·표가 오른쪽 46px에서 들어오는 동안(hIn·hInC) 문서가 옆으로 넘쳐 휴대폰에서 화면이 9~20px 밀렸다.
   좌우를 바깥 여백(16px)만큼 넓히고 안쪽을 같은 만큼 띄워 자리는 그대로 두고, 자르는 선을 화면 끝에 — 다 놓인 모습(그림자까지)은 그대로(320~1280px 견줌).
   overflow-x:clip을 모르는 옛 Safari(15 이하)는 예전과 같다(잠깐 넘침). hidden이 아니라 clip — 스크롤 칸을 만들지 않는다 */
.hvis{display:flex;flex-direction:column;gap:6px;margin:2px -16px 0;padding:0 16px;overflow-x:clip}
.hstage{position:relative;width:100%;max-width:340px;margin:0 auto}
.hstage::before{content:"";display:block;padding-top:52.94%} /* 340×180(aspect-ratio가 없는 옛 Safari도 같은 높이) */
.hp{position:absolute;display:block}
.hp::before{content:"";position:absolute;left:0;top:0;right:0;bottom:0;background:var(--hi) center/100% 100% no-repeat}
.hp.hoff::before{opacity:.36}
.hp-capsule{--hi:url(/hero/capsule-l.webp)}.hp-omega{--hi:url(/hero/omega-l.webp)}.hp-vitd{--hi:url(/hero/vitd-l.webp)}.hp-caplet{--hi:url(/hero/caplet-l.webp)}.hp-tablet{--hi:url(/hero/tablet-l.webp)}.hp-mag{--hi:url(/hero/mag-l.webp)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .hp-capsule{--hi:url(/hero/capsule-d.webp)}:root:not([data-theme="light"]) .hp-omega{--hi:url(/hero/omega-d.webp)}:root:not([data-theme="light"]) .hp-vitd{--hi:url(/hero/vitd-d.webp)}:root:not([data-theme="light"]) .hp-caplet{--hi:url(/hero/caplet-d.webp)}:root:not([data-theme="light"]) .hp-tablet{--hi:url(/hero/tablet-d.webp)}:root:not([data-theme="light"]) .hp-mag{--hi:url(/hero/mag-d.webp)}}
:root[data-theme="dark"] .hp-capsule{--hi:url(/hero/capsule-d.webp)}:root[data-theme="dark"] .hp-omega{--hi:url(/hero/omega-d.webp)}:root[data-theme="dark"] .hp-vitd{--hi:url(/hero/vitd-d.webp)}:root[data-theme="dark"] .hp-caplet{--hi:url(/hero/caplet-d.webp)}:root[data-theme="dark"] .hp-tablet{--hi:url(/hero/tablet-d.webp)}:root[data-theme="dark"] .hp-mag{--hi:url(/hero/mag-d.webp)}
.hring{position:absolute;z-index:1;left:75.59%;top:18.89%;width:20%;height:29.72%;border:1.5px dashed var(--faint);border-radius:50%}
.hex,.hplan,.htag{position:absolute;display:inline-flex;align-items:center;border-radius:999px;white-space:nowrap;letter-spacing:-.02em}
.hex{left:0;top:2px;z-index:4;height:20px;padding:0 6px;border-radius:6px;background:var(--bg);box-shadow:inset 0 0 0 1px var(--line);color:var(--muted);font-size:11.5px;font-weight:700}
.hplan{left:85.59%;top:16.11%;z-index:3;transform:translate(-50%,-50%);height:22px;padding:0 8px;background:var(--bg);box-shadow:inset 0 0 0 1px var(--line),0 4px 10px -4px rgba(15,23,42,.25);color:var(--fg);font-size:12px;font-weight:700}
.htag{z-index:3;transform:translate(-50%,-50%);height:24px;padding:0 9px;background:var(--accent);color:#fff;font-size:12.5px;font-weight:700;box-shadow:0 0 0 2px var(--page),0 6px 14px -4px rgba(34,114,235,.55)}
.hcap{margin:0;display:flex;flex-direction:column;align-items:center;gap:1px;text-align:center;letter-spacing:-.01em}
.hcap span{font-size:13.5px;font-weight:600;color:var(--muted)}
.hcap b{font-size:15px;font-weight:700;color:var(--fg)}
@property --hr{syntax:"<integer>";inherits:false;initial-value:140}
.hpct{margin-left:3px;font-style:normal;font-size:20px;letter-spacing:-.02em;color:var(--over);font-variant-numeric:tabular-nums;--hr:140;counter-reset:hr var(--hr)}
.hpct::after{content:counter(hr) "%"}
@media (prefers-reduced-motion:no-preference){
  .hhero.play .hp{animation:hDrop .55s cubic-bezier(.25,1.35,.5,1) calc(var(--hd,0s) - var(--he,0s)) both}
  .hhero.play .hp.hnew,.hhero.play .hring{animation:hIn .6s cubic-bezier(.2,.9,.3,1.12) calc(1s - var(--he,0s)) both}
  .hhero.play .hplan{animation:hInC .6s cubic-bezier(.2,.9,.3,1.12) calc(1s - var(--he,0s)) both}
  .hhero.play .hp.hoff::before{animation:hDim .45s ease calc(1.55s - var(--he,0s)) both}
  .hhero.play .htag{animation:hTag .42s cubic-bezier(.2,.9,.3,1.35) calc(var(--ht,0s) - var(--he,0s)) both}
  .hhero.play .hcap{animation:hFade .35s ease calc(2.1s - var(--he,0s)) both}
  .hhero.play .hpct{animation:hNum .75s linear calc(2.15s - var(--he,0s)) both}
  .hhero.play .search.hero:not(:focus-within){animation:hGlow 1.3s ease-out calc(3s - var(--he,0s)) 1}
  @media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .hhero.play .search.hero:not(:focus-within){animation-name:hGlowD}}
  :root[data-theme="dark"] .hhero.play .search.hero:not(:focus-within){animation-name:hGlowD}
}
@keyframes hDrop{from{opacity:0;transform:translateY(-22px) scale(1.06)}45%{opacity:1}to{opacity:1;transform:none}}
@keyframes hIn{from{opacity:0;transform:translateX(46px)}to{opacity:1;transform:none}}
@keyframes hInC{from{opacity:0;transform:translate(calc(-50% + 46px),-50%)}to{opacity:1;transform:translate(-50%,-50%)}}
@keyframes hDim{from{opacity:1}to{opacity:.36}}
@keyframes hTag{from{opacity:0;transform:translate(-50%,-30%) scale(.6)}to{opacity:1;transform:translate(-50%,-50%)}}
@keyframes hFade{from{opacity:0}to{opacity:1}}
@keyframes hNum{0%{--hr:40;color:var(--muted)}59%{--hr:99;color:var(--muted)}60%{color:var(--over)}100%{--hr:140;color:var(--over)}}
@keyframes hGlow{0%,100%{box-shadow:0 0 0 1px rgba(60,60,67,.2),0 6px 20px rgba(0,0,0,.06)}35%{box-shadow:0 0 0 2px rgba(34,114,235,.55),0 0 0 7px rgba(34,114,235,.16),0 6px 20px rgba(0,0,0,.06)}}
@keyframes hGlowD{0%,100%{box-shadow:0 0 0 1px rgba(235,235,245,.22)}35%{box-shadow:0 0 0 2px rgba(80,150,255,.7),0 0 0 7px rgba(80,150,255,.2)}}
/* 다듬은 A안(2026-11-11 — 운영자 "다시 온 사람 화면도 많이 복잡해 · 다시 왔다는 메시지 · 로고는 첫 페이지로 · 처음 서랍장을 연 사람 기준으로 친절하게", 시안 'A안 다듬은 것').
   app.js startScreen·homeCard·drawerScreen·keyRow·drawerTools. 굵기는 700까지 · 색은 화면 토큰(열쇠 노랑은 열쇠 띠·칸과 같은 값)
   ① 첫 화면 인사(.hback): '다시 오셨네요'(처음 넣은 날은 '첫 영양제를 넣었어요') + 한 줄 · 찾기 칸(처음 온 사람 화면과 같은 칸)
   ② 첫 화면 요약 카드(.hsum — 모양은 위 .sumx): 줄은 누르는 곳이 아니라 조금 낮게 · [서랍 열기] · 받는 중이면 같은 자리에 회색 줄 두 개
   ③ 첫 화면 열쇠 한 줄(.hkey): 안 챙겼거나 서랍이 바뀌었을 때만 · 노란 열쇠 칸 · 오른쪽 '열쇠 챙기기'
   ④ 내 서랍 페이지 위(.dtop): ‹(처음 화면) · '○ 서랍' · 로고  ⑤ 아래 한 줄 세 칸(.ut3 — 홈 화면에 추가가 없으면 두 칸 .n2) */
.hback{gap:4px;padding:18px 0 0}
.hback h1{font-size:26px;line-height:1.3;letter-spacing:-.03em}
.hbsub{margin:0 0 10px;font-size:15px;line-height:1.5;color:var(--sub)}
.hbsub b{font-weight:700;color:var(--fg)}
.hsum .snr{min-height:44px}
.hsum[aria-busy] .skel{margin-top:14px}
.hsum[aria-busy] .skel.short{margin-top:10px;margin-bottom:6px}
.hsum .dempty{padding:6px 0 2px}
.qbox>.sumq{border-top:0}
.hkey{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:12px 14px;border:0;border-radius:16px;background:var(--bg);color:var(--fg);font:inherit;text-align:left}
.hkey .hki{flex:none;width:38px;height:38px;border-radius:11px;background:#fef3c7;color:#92400e;display:flex;align-items:center;justify-content:center}
.hkey .hkt{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.hkey .hkt b{font-size:15px;font-weight:700;line-height:1.4;text-wrap:balance}
.hkey .hkt span{font-size:13px;line-height:1.45;color:var(--muted);text-wrap:balance}
.hkey .hkgo{flex:none;font-size:14.5px;font-weight:700;color:var(--accent-ink);white-space:nowrap}
.dtop h1{margin:0;min-width:0;font-size:19px;font-weight:700;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dtop .wm{flex:none}
.ut3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ut3.n2{grid-template-columns:repeat(2,minmax(0,1fr))}
.utile{display:flex;flex-direction:column;align-items:center;gap:6px;min-height:96px;padding:14px 6px 12px;border:0;border-radius:16px;background:var(--bg);color:var(--fg);font:inherit;text-align:center}
.utile .uti{width:38px;height:38px;border-radius:11px;background:var(--fill);color:var(--fg);display:flex;align-items:center;justify-content:center}
.utile.key .uti{background:#fef3c7;color:#92400e}
.utile b{font-size:13.5px;font-weight:700;line-height:1.3}
.utile small{font-size:12px;line-height:1.35;color:var(--muted);text-wrap:balance}
.utile.warn small{color:var(--near);font-weight:600}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) :is(.hkey .hki,.utile.key .uti){background:#3d2c0c;color:#fcd34d}}
:root[data-theme="dark"] :is(.hkey .hki,.utile.key .uti){background:#3d2c0c;color:#fcd34d}
