/* catalog-ui:20260907-light */
body.catalog-ui{--catalog-ink:#20324d;--catalog-muted:#5b6b80;--catalog-border:#dce3ed;--catalog-blue:#3156d3;background:#f5f7fb;color:var(--catalog-ink)}
body.catalog-ui .study-layout{grid-template-columns:210px minmax(0,1fr) 200px;gap:24px;max-width:1440px;padding:28px 24px}
body.catalog-ui .study-layout>aside.study-subjects{position:static;background:#fff!important;border:1px solid var(--catalog-border);border-radius:12px;color:var(--catalog-ink)!important;box-shadow:none}
body.catalog-ui .study-subjects .study-filter-panel>summary{background:#fff!important;color:var(--catalog-ink)!important;padding:16px!important;font-size:14px}
body.catalog-ui .study-subjects details.study-grade{background:#fff!important;border-color:var(--catalog-border)!important;color:var(--catalog-ink)!important}
body.catalog-ui .study-subjects .study-grade>summary{display:flex;gap:8px;align-items:center;min-height:44px;padding:10px 14px!important;background:#fff!important;color:var(--catalog-ink)!important}
body.catalog-ui .study-subjects .study-grade[open]>summary{background:#eef2ff!important;color:#2748b0!important}
body.catalog-ui .study-subjects .study-grade>summary::after{color:#65758a!important;border-color:#65758a!important}
body.catalog-ui .study-subjects .study-grade>a{display:flex;gap:8px;align-items:center;min-height:40px;padding:10px 14px!important;border:0!important;background:#fff!important;color:#425774!important;font-size:13px}
body.catalog-ui .study-subjects .study-grade>a:hover{background:#f0f4ff!important;color:#2748b0!important}
body.catalog-ui .study-subjects .study-grade>a[aria-current]{background:var(--catalog-blue)!important;color:#fff!important;font-weight:600}
body.catalog-ui .study-subjects .study-count-label{flex:1;min-width:0}
body.catalog-ui .study-subjects .study-book-count{background:#edf1f7!important;color:#526580!important;font-size:11px;line-height:1.5;border-radius:5px;padding:2px 6px;min-width:23px;text-align:center}
body.catalog-ui .study-subjects .study-grade>a[aria-current] .study-book-count{background:#ffffff26!important;color:#fff!important}
body.catalog-ui .study-subjects [hidden]{display:none!important}
body.catalog-ui .study-subjects :is(a,summary):focus-visible{outline:2px solid #3156d3;outline-offset:-3px}
body.catalog-ui .study-center .catalog-book,body.catalog-ui .study-photo{border:1px solid var(--catalog-border);border-radius:12px;background:#fff;box-shadow:none}
body.catalog-ui .study-center .catalog-book{padding:18px;gap:16px}
body.catalog-ui .study-center .catalog-book h3{color:#20324d;font-size:17px;line-height:1.4}
body.catalog-ui .study-center .catalog-book p{color:var(--catalog-muted);font-size:13px;line-height:1.6}
body.catalog-ui .study-center .catalog-book a{color:#294ab9}
body.catalog-ui .study-photo{padding:18px;position:static}
body.catalog-ui .study-photo h2{color:#20324d;font-size:19px}
body.catalog-ui .study-photo p{color:var(--catalog-muted);font-size:13px}
body.catalog-ui .study-photo>a{background:var(--catalog-blue);color:#fff;border-radius:8px;min-height:44px;box-sizing:border-box}
body.catalog-ui .fab{display:none!important}
body.catalog-ui [data-book-catalog] .book-filters{padding:10px 14px;margin:0 0 12px;border:1px solid var(--catalog-border);border-radius:12px;background:#fff;box-shadow:none}
body.catalog-ui .book-filters .book-filter-details{margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
body.catalog-ui .book-filter-details>summary{min-height:44px;box-sizing:border-box;padding:10px 0;color:#425774;font-size:13px}
body.catalog-ui .book-filters .book-filter-actions{margin-top:6px;padding-top:8px;border-top:1px solid #edf1f6;gap:12px;flex-wrap:wrap}
body.catalog-ui .book-filters .book-filter-actions label,body.catalog-ui .book-filters [data-reset-books]{font-size:12px;color:#526580}
body.catalog-ui .book-filters [hidden]{display:none!important}
body.catalog-ui [data-book-catalog] .catalog-search{margin-bottom:12px;color:#425774;font-size:13px}
body.catalog-ui [data-book-catalog] .catalog-search input{min-height:44px;border:1px solid #cbd5e3;border-radius:8px;box-sizing:border-box;background:#fff;color:#20324d}
body.catalog-ui [data-book-count]{color:#64748b;font-size:12px;margin:12px 0 18px}
@media(max-width:1200px){body.catalog-ui .study-layout{grid-template-columns:190px minmax(0,1fr)}body.catalog-ui .study-photo{grid-column:2}}
@media(max-width:999px){body.catalog-ui .study-layout{display:flex;padding:16px;gap:18px}body.catalog-ui .study-photo{display:none}body.catalog-ui .fab{display:inline-flex!important}body.catalog-ui .study-subjects{width:100%}body.catalog-ui .study-center .catalog-book{padding:16px}}

/* GDZ catalog field alignment, 20260908 */
body [data-book-catalog] .book-filter-row{align-items:flex-start;gap:14px}
body [data-book-catalog] .book-filter-row>label:not([hidden]),
body [data-book-catalog] label:has(>select[data-book-filter]):not([hidden]),
body [data-book-catalog] .catalog-search:not([hidden]){display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:8px!important;min-width:0;line-height:1.4}
body [data-book-catalog] select[data-book-filter],
body [data-book-catalog] input[data-book-search]{display:block;box-sizing:border-box;width:100%!important;max-width:100%;min-width:0;height:48px!important;min-height:48px!important;margin:0!important;padding:10px 12px;font:inherit;line-height:1.4;border-radius:9px}
body [data-book-catalog] .book-filter-row>label{min-width:0}
body [data-book-catalog] [data-reset-books]{min-height:44px;white-space:normal}
body [data-book-catalog] .catalog-book h3{overflow-wrap:anywhere}
body [data-book-catalog] .catalog-book>div{min-width:0}
@media(max-width:600px){body [data-book-catalog] .book-filter-row>label:not([hidden]){flex:1 1 100%!important}body [data-book-catalog] .book-filter-actions{align-items:stretch}body [data-book-catalog] [data-reset-books]{width:100%}}
