/* Shared local typefaces and scale for storefront, account and management. */
@font-face{font-family:Pretendard;src:url('fonts/Pretendard-Regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Pretendard;src:url('fonts/Pretendard-Medium.woff2') format('woff2');font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:Pretendard;src:url('fonts/Pretendard-SemiBold.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:Pretendard;src:url('fonts/Pretendard-Bold.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
:root{--font-ui:Pretendard,-apple-system,BlinkMacSystemFont,'Segoe UI','Malgun Gothic',sans-serif;--type-body:16px;--type-ui:14px;--type-note:13px;--type-title:clamp(28px,2.8vw,36px)}
html body,html body.admin-dashboard,html body:not(.archive){font-family:var(--font-ui);font-size:var(--type-body);font-weight:400;line-height:1.7;letter-spacing:-.012em;-webkit-font-smoothing:antialiased;word-break:keep-all;overflow-wrap:break-word}
button,input,select,textarea,dialog{font-family:var(--font-ui)}
html body input,html body select,html body textarea,html body .editor-panel input,html body .editor-panel select,html body .editor-panel textarea{font-family:var(--font-ui);font-size:16px;line-height:1.5;letter-spacing:-.01em}
html body button,html body .primary,html body .secondary,html body .text-button{font-family:var(--font-ui);font-size:var(--type-ui);font-weight:500;line-height:1.5;letter-spacing:-.01em}
html body header nav,html body header nav>a,html body header .site-session,html body header .account-nav,html body header .bag,html body header .photobook-menu>summary,html body header .photobook-submenu>a{font-size:var(--type-ui);font-weight:500;line-height:1.5;letter-spacing:-.01em}
html body .member-main h1,html body .order-main h1,html body .orders-main h1{font-family:var(--font-ui);font-size:var(--type-title);font-weight:600;line-height:1.25;letter-spacing:-.035em;margin-block:16px 24px}
html body .member-main h2,html body .orders-main h2,html body .order-panel h2,html body .summary-card h2,html body .service-panel h2{font-size:22px;font-weight:600;line-height:1.4;letter-spacing:-.025em}
html body label,html body .editor-panel label,html body .order-panel label{font-size:var(--type-ui);font-weight:500;line-height:1.6}
html body .notice,html body .fine,html body .field-help,html body .order-meta{font-size:var(--type-ui);line-height:1.75;letter-spacing:-.01em}
html body .lead,html body .order-main .page-heading p:not(.eyebrow){font-size:16px;line-height:1.8}
html body .member-footer{font-size:var(--type-note);line-height:1.7}
html body .eyebrow,html body .rail-caption,html body .rail-label{font-size:12px;font-weight:500;line-height:1.5;letter-spacing:.12em}
html body .session-nickname,html body #account-nickname,html body #members-list td:first-child{font-weight:700}
html body .admin-rail>a:not(.wordmark),html body .breadcrumb,html body .status-tabs button{font-size:14px}
html body .product-row strong{font-size:15px;font-weight:600;line-height:1.6}
html body .product-row small,html body .list-columns,html body .status-pill,html body #list-label{font-size:13px;line-height:1.6}
html body .product-price,html body .stat{font-size:15px}
html body .stat strong{font-size:30px;line-height:1.2;font-weight:600;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
html body .editor-panel .editor-title h2{font-size:26px}
html body.archive .section-heading h2{font-family:var(--font-ui);font-size:30px;font-weight:500;letter-spacing:-.035em;line-height:1.35}
html body.archive .filters button,html body.archive .catalog-sort label,html body.archive .catalog-side>a{font-size:14px}
html body.archive .product-card h3{font-size:16px;font-weight:500;line-height:1.5;letter-spacing:-.015em}
html body.archive .card-meta,html body.archive .card-bottom,html body.archive #result-count{font-size:13px;line-height:1.6}
html body.archive .card-bottom strong{font-size:15px;font-weight:600}
html body.archive .archive-intro h1{line-height:1.08;letter-spacing:-.035em}
.notice.success{background:#edf4ee;border-color:#4b7656;color:#214d32;font-weight:500}
/* Separate instructions by meaning while allowing each line to wrap on phones. */
.copy-stack{margin-block:16px}.copy-stack>p{margin-block:0}.copy-stack>p+p{margin-top:8px}
.notice,[role=status],.field-help,.copy-lines{white-space:pre-line;overflow-wrap:break-word}
html body .copy-stack>p{line-height:1.8}
/* A clear edition hierarchy, then independent series and goods filters. */
.archive .catalog-side .catalog-filter-group{padding-block:18px;border-bottom:1px solid var(--line)}
.archive .catalog-side .catalog-filter-group:first-of-type{padding-top:0}
.archive .catalog-side .catalog-filter-heading{margin:0 0 10px;font-size:12px;font-weight:600;letter-spacing:.08em;color:#7a898e}
.archive .catalog-side .catalog-filter-group a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:10px 12px;margin-block:3px;border:1px solid transparent;border-radius:5px;font-size:14px;line-height:1.5;color:#586c75;transition:background .15s,color .15s}
.archive .catalog-side .catalog-filter-group a>span{display:inline-flex;align-items:center;justify-content:center;min-width:24px;padding:2px 5px;background:#f0f3f3;border-radius:4px;font-size:12px;font-variant-numeric:tabular-nums;color:#7d9099}
.archive .catalog-side .catalog-filter-group a:hover{background:#f0f4f3;color:var(--ink)}
.archive .catalog-side .catalog-filter-group a.active{background:#e9efed;border-color:#dbe6e1;color:#203d33;font-weight:600}
.archive .catalog-side .catalog-filter-group a.active>span{background:#dce7e2;color:#355c4c}
.archive .catalog-editions{border-left:2px solid #e3e9e6;padding-left:8px}
#digital-status.success{font-size:15px;overflow-wrap:anywhere}
/* Override older page-specific enlargement rules, including dynamically loaded admin.css. */
html body:not(.archive) :is(label,.primary,.secondary,.notice,.text-button){font-size:14px}
html body:not(.archive) input{font-size:16px}
html body.admin-dashboard :is(.primary,.secondary,.notice,.status-tabs button,.editor-panel label,.breadcrumb,.member-header nav,.member-header nav>a,.product-price,.product-price.muted,.admin-rail>a:not(.wordmark)){font-size:14px}
html body.admin-dashboard :is(.editor-panel input,.editor-panel select,.editor-panel textarea,.admin-search-wrap input){font-size:16px;line-height:1.5}
html body.admin-dashboard :is(.product-row strong,.stat){font-size:15px}
html body.admin-dashboard :is(.product-row small,.list-columns,.status-pill,.rail-caption,.rail-label,.form-section-title,.member-footer){font-size:13px}
html body.admin-dashboard .product-row button{font-size:14px}
html body.admin-dashboard .editor-panel .fine{font-size:14px}
html body.admin-dashboard .editor-panel .editor-title h2{font-size:26px}
html body.admin-dashboard .lead{font-size:16px}
html body.admin-dashboard .eyebrow{font-size:12px}
html body.admin-dashboard .stat strong{font-size:30px}
html body.archive header nav>a,html body.archive header .photobook-menu>summary,html body.archive header .photobook-submenu>a{font-size:14px;line-height:1.5;letter-spacing:-.01em}
html body .policy-main h1{font-size:var(--type-title);font-weight:600;line-height:1.25;letter-spacing:-.035em}
html body .policy-main h2{font-size:22px;font-weight:600;line-height:1.4;letter-spacing:-.025em}
@media(max-width:640px){html body .policy-main h1{font-size:28px}html body .policy-main h2{font-size:20px}html body.admin-dashboard .stat strong{font-size:26px}}
#digital-list p{padding-block:14px;border-bottom:1px solid var(--line);font-size:14px;overflow-wrap:anywhere}
.member-digital-panel{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}.member-digital-panel .editor-title{flex-wrap:wrap;gap:12px}.member-digital-panel form{max-width:600px;margin-block:24px}.member-digital-panel .member-digital-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:18px;border-bottom:1px solid var(--line)}.member-digital-item>div{min-width:0;overflow-wrap:anywhere}.member-digital-item p{margin:5px 0;font-size:14px}.member-digital-item button{flex-shrink:0}.member-digital-panel details{margin-top:24px}.member-digital-panel details p{font-size:13px;overflow-wrap:anywhere}
@media(max-width:640px){.member-digital-panel .member-digital-item{flex-wrap:wrap;align-items:flex-start}.member-digital-item button{width:100%}}
@media(max-width:640px){html body .member-main h1,html body .order-main h1,html body .orders-main h1{font-size:28px}html body .member-main h2,html body .orders-main h2,html body .order-panel h2{font-size:20px}html body.archive .section-heading h2{font-size:26px}html body.archive .product-card h3{font-size:15px}html body .stat strong{font-size:26px}html body .member-footer{font-size:12px}}

/* Customer pages keep account actions accessible without a second navigation row. */
html body header.member-header:has(.customer-session:not([hidden])){position:relative;z-index:10}
html body header.member-header:has(.customer-session:not([hidden]))>nav>a:is([href="account.html"],[href="/account"],[href="/account.html"]){display:none}
html body header.member-header .site-session.customer-session{width:auto;flex-basis:auto}
.customer-account>summary{display:flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;padding:8px 14px;border:1px solid #dbe3e7;border-radius:5px;background:#fff;cursor:pointer;font-size:14px;list-style:none}
.customer-account>summary::-webkit-details-marker{display:none}
.customer-account>summary::after{content:'▾'}
.customer-account[open]>summary::after{content:'▴'}
.customer-account-content{position:absolute;right:16px;top:calc(100% - 4px);z-index:20;width:min(340px,calc(100vw - 32px));padding:16px;background:#fff;border:1px solid #dbe3e7;border-radius:6px;box-shadow:0 10px 24px #172c361f}
html body header.member-header .customer-account .session-links{display:grid;grid-template-columns:1fr 1fr;gap:8px}
html body header.member-header .customer-account .session-links>a,html body header.member-header .customer-account .session-links>button{justify-content:flex-start;min-height:44px;white-space:normal;text-align:left}
html body header.member-header .customer-account .session-greeting{display:flex;width:100%;margin-bottom:8px}
html body.archive #detail .detail-policy{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;font-size:14px;text-decoration:underline;text-underline-offset:3px}
@media(max-width:740px){
 html body header.member-header:has(.customer-session:not([hidden])){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px;min-height:0;padding:12px 16px}
 html body header.member-header:has(.customer-session:not([hidden]))>a{grid-column:1;grid-row:1;justify-self:start}
 html body header.member-header:has(.customer-session:not([hidden]))>nav{grid-column:1/-1;grid-row:2;width:100%;margin:0;justify-content:flex-start;gap:4px 16px}
 html body header.member-header:has(.customer-session:not([hidden]))>.session-actions,html body header.member-header .site-session.customer-session{display:contents}
 html body header.member-header .customer-account{grid-column:2;grid-row:1;justify-self:end}
}
