/* Pretendard, SIL OFL 1.1; self-hosted variable webfont shared with the reference style. */
@font-face{font-family:'Cogran Pretendard';src:url('/assets/fonts/PretendardVariable.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{--cogran-font:'Cogran Pretendard','Segoe UI','Apple SD Gothic Neo','Malgun Gothic',sans-serif}
html body,body .workspace,body .auth-page,body .signup-page,body .migration-page{font-family:var(--cogran-font);-webkit-font-smoothing:antialiased}
body :where(button,input,select,textarea,summary){font-family:inherit}
body :where(h1,h2,h3,h4,p,a,span,small,strong,b,label,dt,dd,th,td,output){font-family:inherit}
body .workspace :where(button,input,select,textarea){font-family:var(--cogran-font)}
body .workspace{font-weight:450;letter-spacing:-.01em}
body .workspace :where(h1,h2,h3){font-weight:700;letter-spacing:-.02em}
body .workspace :where(th,label,.btn,.category-items a.active){font-weight:650}
body .workspace .nav-category>summary,body .workspace .nav-line>summary{font-weight:700}
body .workspace :where(td,.help,.caption){font-weight:450}
body :where(.eyebrow,.hero-caption,.section-kicker){font-family:var(--cogran-font)}
body :where(.otp-secret,pre,code){font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
/* Override legacy page-level type stacks consistently across public, auth and office views. */
body :is(h1,h2,h3,h4,p,a,span,small,strong,b,label,dt,dd,th,td,output,button,input,select,textarea,summary){font-family:var(--cogran-font)!important}
body :is(.otp-secret,pre,code){font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important}

/* Preserve strong navigation and headings; use Pretendard letterforms. */
body .q-style-header .nav-group>summary{font-weight:700}
body :is(.chapter-heading h2,.chapter-card h3,.editorial-rows h3,.shop-categories h2,.shop-status h2,.support-options h2,.news-list h2){font-weight:700}

/* Search hints stay accessible; mobile uses a magnifier without shrinking typed text. */
@media(max-width:760px){
 input:is([type="search"],[id$="-search"],[name="q"],[name$="Query"]):placeholder-shown{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23445f80' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E");background-position:11px center;background-repeat:no-repeat}
 input:is([type="search"],[id$="-search"],[name="q"],[name$="Query"])::placeholder{color:transparent!important;opacity:0!important}
 input:is([type="search"],[id$="-search"],[name="q"],[name$="Query"]):focus{background-image:none}
}
