.theme-library { --glaze:#d4cfb2; --wash:#e7e3d7; --scene:#303b31; }
.theme-fern { --glaze:#b7c1a7; --wash:#e5e8dc; --scene:#273c30; }
.theme-gold { --glaze:#d6be91; --wash:#ede6d7; --scene:#3b3b2b; }
.theme-clay { --glaze:#cfae97; --wash:#eee1d6; --scene:#40372d; }
.theme-plum { --glaze:#c4aeb9; --wash:#ece2e6; --scene:#3b303a; }
.theme-wood { --glaze:#c7b8a1; --wash:#e9e4d9; --scene:#37392f; }
.category-page { --paper-ink:#293b2e; }
.category-page h1,.category-page h2,.hub-topics h2 { letter-spacing:-.04em; }
.cat-cover { background:linear-gradient(108deg,#192920 10%,var(--scene,#303a30)); }
.crumbs { display:flex;align-items:center;gap:10px;font-size:.84rem;color:#d7d8c9;padding-top:24px; }
.crumbs a,.cat-bottom a { text-decoration:underline;text-underline-offset:4px; }
.cat-spread { display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(30px,5vw,90px);align-items:center;padding:clamp(30px,4vw,68px) 0 clamp(44px,5vw,80px); }
.cat-lead h1 { font-size:clamp(3.2rem,5.8vw,7.2rem);line-height:.96;overflow-wrap:break-word;text-wrap:balance; }
.cat-lead>p,.guide-hero h1+p { font-size:clamp(1rem,1.2vw,1.2rem);line-height:1.6;max-width:43ch;margin-top:1.25rem;color:#e1e5d7; }
.cat-actions,.practice-controls,.pick-buttons { display:flex;align-items:center;gap:14px 22px;flex-wrap:wrap; }
.cat-actions { margin-top:1.6rem; }.cat-actions .quiet-link { font-size:.94rem; }
.product-display { display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(9px,1.2vw,21px);align-items:end; }
.display-sample { display:flex;flex-direction:column;justify-content:flex-end;background:var(--glaze,#c5c2a7);color:#28372c;overflow:hidden;border-radius:45% 45% 2px 2px/25% 25% 2px 2px; }
.display-sample:nth-child(2) { background:var(--wash,#e7e4da);border-radius:2px;padding-top:0; }
.display-sample img { display:block;width:100%;height:clamp(130px,16vw,270px);padding:clamp(14px,2vw,36px);margin-top:clamp(14px,1.5vw,26px);object-fit:contain;mix-blend-mode:multiply; }
.display-sample:nth-child(2) img { height:clamp(100px,13vw,220px);margin-top:0; }
.display-sample span { display:block;line-height:1.35;font-size:clamp(.8rem,.95vw,.98rem);padding:.8rem 1rem;border-top:1px solid #34433245; }
.display-sample:hover span,.hub-card:hover h3 { text-decoration:underline;text-underline-offset:4px; }
.picker-section { color:var(--paper-ink);background:var(--wash,#e6e5d8);padding-block:clamp(34px,5vw,80px); }
.picker-layout,.practice-inner { display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:clamp(22px,6vw,105px);align-items:start; }
.category-page h2,.hub-topics h2 { font-size:clamp(2.6rem,4vw,4.7rem);line-height:1.04; }
.picker-copy .section-origin { color:#485742; }
.picker-copy>p:last-child { margin-top:1rem;max-width:31ch;line-height:1.6; }
.picker { background:#faf9ee;border:1px solid #68755e59;border-radius:4px;padding:clamp(19px,2.9vw,48px); }
.picker fieldset { margin:0;padding:0;min-width:0;border:0; }
.step-line,.practice-position,.advice-caption { font-size:.86rem;font-weight:600; }
.step-line { color:#506043;margin:0 0 .5rem; }
.picker legend,.picker h3 { font:400 clamp(1.85rem,2.8vw,3.2rem)/1.07 var(--serif);letter-spacing:-.025em;margin:0 0 1rem;padding:0; }
.pick-options { display:grid;gap:6px; }
.pick-option { display:flex;align-items:center;gap:.75rem;border:1px solid #a7ad98;padding:.63rem .8rem;border-radius:3px;cursor:pointer;background:#f6f5ea; }
.pick-option input { accent-color:#304a34;width:1.05rem;height:1.05rem;flex:none;margin:0; }
.pick-option:has(:checked) { background:#e0e8d4;border-color:#476242; }
.pick-option:focus-within { outline:2px solid #456445;outline-offset:2px; }
.pick-main { border:1px solid #304737;background:#304737;color:#faf8ea;font-weight:600;border-radius:24px;padding:.65rem 1.2rem;min-height:42px; }
.pick-main:disabled { background:#daddd1;border-color:#bec4b6;color:#505a48;cursor:default; }
.pick-buttons,#pick-use .pick-main { margin-top:1.15rem; }
.text-button { color:inherit;border:0;background:transparent;font-weight:500;padding:.5rem .15rem;text-decoration:underline;text-underline-offset:4px; }
#pick-result>.text-button { display:block;margin-top:1.15rem; }
#pick-result>p+.quiet-link { display:inline-block;margin-top:.75rem; }
.advice-card { display:grid;grid-template-columns:minmax(62px,18%) minmax(0,1fr);gap:clamp(10px,1.6vw,24px);align-items:start;margin-top:1.25rem;padding-top:1.1rem;border-top:1px solid #b5bdac; }
.advice-card img { width:100%;height:88px;object-fit:contain;mix-blend-mode:multiply; }.advice-card h4 { font:400 1.65rem/1.12 var(--serif);margin:.2rem 0 .4rem; }
.advice-card .quiet-link { display:inline-block;margin-top:.6rem; }.advice-caption { color:#516446; }
.category-shelf,.hub-topics { padding-block:clamp(38px,5.3vw,84px); }
.shelf-heading { display:flex;justify-content:space-between;align-items:end;gap:15px;flex-wrap:wrap;margin-bottom:clamp(20px,2.1vw,33px); }
.shelf-grid,.hub-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,1.7vw,29px); }
.shelf-product { scroll-margin:18px;background:#f4f2e7;color:#26372d;display:flex;flex-direction:column;min-width:0;border-radius:3px;overflow:hidden; }
.shelf-product:target { outline:3px solid #e9ca7c;outline-offset:4px; }
.shelf-photo,.hub-picture,.hub-thumb { display:grid;place-items:center;background:var(--wash,#ebe8da);overflow:hidden; }
.shelf-photo { height:clamp(150px,16.8vw,275px); }
.shelf-photo img,.hub-picture img,.hub-thumb img { display:block;object-fit:contain;width:100%;height:100%;min-height:0;mix-blend-mode:multiply; }
.shelf-photo img { padding:clamp(17px,1.7vw,34px); }
.shelf-details { display:flex;flex:1;flex-direction:column;align-items:start;padding:clamp(15px,1.5vw,25px); }
.shelf-details h3,.hub-info h3 { font-size:clamp(1.65rem,2.25vw,2.7rem);letter-spacing:-.025em;overflow-wrap:anywhere; }
.shelf-details p { font-size:.96rem;line-height:1.55;margin:.7rem 0 1.2rem; }.shelf-details .shoplink { margin-top:auto; }
.shop-disclosure { margin-top:1.25rem;font-size:.86rem;line-height:1.5; }
.category-shelf .shop-disclosure { color:#d1d5c6; }
.cat-practice { padding-block:clamp(35px,5vw,80px);background:var(--scene,#304036);border-block:1px solid #b7c6a744; }
.practice-intro h2 { max-width:14ch;margin-bottom:1.3rem;text-wrap:balance; }
.practice-player { background:#18282099;border:1px solid #b7c6a759;border-radius:4px;padding:clamp(21px,3vw,46px); }
.practice-meter { display:flex;gap:8px;margin-bottom:1rem; }
.practice-meter i { width:clamp(35px,4vw,70px);height:4px;border-radius:2px;background:#7b887855;transition:background .5s; }
.practice-meter .is-current { background:#eadab1; }.practice-meter .is-done { background:#a0b395; }
.practice-position { color:#ddc990; }.practice-prompt { font:400 clamp(1.65rem,2.7vw,3rem)/1.13 var(--serif);max-width:36ch;margin:.7rem 0 1.2rem; }
.cat-bottom { display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-block:24px; }
.hub-topics { color:#2a3c2f;background:#f4f1e7; }
.hub-topics h2 { margin-bottom:1.55rem; }.hub-grid { row-gap:clamp(23px,2.7vw,40px); }
.hub-picture { height:clamp(115px,12.5vw,218px);border-radius:3px; }.hub-picture img { padding:clamp(12px,1.6vw,24px); }
.hub-info { display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:2px 8px;margin-top:.6rem; }.hub-info span { font-size:.8rem;color:#4c5d4c; }
.library .hub-product { grid-template-columns:clamp(68px,8vw,128px) minmax(0,1fr) auto; }
.hub-thumb { width:100%;height:clamp(80px,8vw,126px);border-radius:2px;background:#f5f2e9; }.hub-thumb img { padding:8px; }
.hub-product .product-type:hover { text-decoration:underline; }
.picker [hidden],.practice-player [hidden] { display:none; }
@media(max-width:950px) {
  .shelf-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.shelf-photo { height:200px; }
  .hub-info { display:block; }.hub-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:700px) {
  .cat-spread,.picker-layout,.practice-inner { grid-template-columns:minmax(0,1fr); }
  .cat-spread { gap:25px;padding-top:22px; }.crumbs { padding-top:17px; }
  .cat-lead h1 { font-size:clamp(2.85rem,11vw,4.4rem); }.cat-lead>p { margin-top:1rem; }
  .product-display { max-width:480px; }.display-sample img { height:clamp(110px,23vw,148px); }.display-sample:nth-child(2) img { height:clamp(93px,18vw,119px); }
  .cat-actions { margin-top:1.2rem; }.hub-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .shelf-details h3 { font-size:1.7rem; }.shelf-photo { height:clamp(135px,26vw,185px); }
  .library .hub-product { grid-template-columns:70px minmax(0,1fr);gap:8px 14px; }
  .hub-product .shoplink { grid-column:2; }.hub-thumb { align-self:start;height:82px; }
}
@media(max-width:420px) {
  .shelf-grid { grid-template-columns:minmax(0,1fr); }
  .shelf-product { display:grid;grid-template-columns:minmax(82px,.38fr) minmax(0,1fr); }
  .shelf-photo { height:100%;min-height:120px; }.shelf-photo img { max-height:155px;padding:8px; }
  .display-sample span { padding:.6rem; }.cat-actions { gap:13px; }.pick-buttons { gap:12px; }
}
@media(prefers-reduced-motion:reduce) { .practice-meter i { transition:none; } }

.hub-family{padding:clamp(20px,3vw,38px) 0;scroll-margin-top:1em}.hub-family>h3{font-size:clamp(1.55rem,2.7vw,2.6rem);margin:0 0 .65rem;font-weight:500}.hub-info h4{font:inherit;font-weight:650;font-size:1.12rem;margin:0}.family-nav{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 0 4px}.family-nav a{border:1px solid #899586;border-radius:24px;padding:.55rem .9rem;text-decoration:none}.family-nav a:hover,.family-nav a:focus-visible{background:#f8f4df;color:#273b29}.family-back{display:inline-block;margin-top:.8rem;font-size:.85rem;text-underline-offset:.23em}.mobile-category{display:none}#library-pages{display:flex;gap:.7rem;align-items:center;justify-content:space-between;flex-wrap:wrap;border-block:1px solid #8c9985;padding:1rem 0;margin:1rem 0}#library-pages[hidden]{display:none}#library-pages button{background:#e4e6d5;border:1px solid #84937e;border-radius:20px;color:#263f31;padding:.55rem 1rem;cursor:pointer}#library-pages button:disabled{opacity:.5;cursor:default}#catalog-page-number{font-size:.88rem}@media(max-width:760px){.library-index .category-filters{display:none}.library-index .mobile-category{display:grid;gap:.4rem;font-weight:650;margin:.8rem 0}.mobile-category select{max-width:100%;color:#273829;background:#f5f1df;padding:.6rem;border:1px solid #9ca78e;border-radius:4px}.hub-family .hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-family .hub-info{padding:.65rem .5rem}.hub-family .hub-info h4{overflow-wrap:anywhere}.family-nav a{font-size:.9rem;padding:.45rem .75rem}}

.product-compare{display:block;align-self:flex-start;font-size:.9rem;text-decoration:underline;text-underline-offset:.2em;margin-top:.65rem}.shelf-details .save-control{margin-top:.6rem}

.practice-player[hidden],#practice-download[hidden]{display:none!important}.practice-all{border-top:1px solid #7d9078;margin:1.2rem 0 .5rem;padding-top:.6rem}.practice-all summary{cursor:pointer;font-weight:600;text-underline-offset:.25em}.practice-all ol{padding-left:1.25rem;margin:.55rem 0}.practice-all li{margin:.5rem 0;line-height:1.55}.practice-intro #practice-download{padding:.5rem 0;line-height:1.35}.practice-intro #practice-file-status{font-size:.84rem;line-height:1.5;min-height:0}.practice-intro #practice-file-status:empty{display:none}
.practice-intro .practice-plan{display:block;text-decoration:underline;text-underline-offset:.24em;margin-top:.5rem;font-size:.9rem}

.shelf-details h3 a,.hub-product h3 a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.15em;text-decoration-color:#7a927e88}.shelf-details h3 a:hover,.hub-product h3 a:hover{text-decoration-color:currentColor}

.feature-matches{padding-block:clamp(24px,4vw,48px)}.feature-matches h2{font-size:clamp(1.75rem,3.3vw,3.4rem);line-height:1.13}.feature-matches table{width:100%;border-collapse:collapse;margin:.6rem 0}.feature-matches th,.feature-matches td{border-bottom:1px solid #81907c;padding:.55rem .75rem .55rem 0;text-align:left;vertical-align:top;overflow-wrap:anywhere}.feature-matches th[scope=row]{width:36%}.feature-matches a,.guide-byline a{text-decoration:underline;text-underline-offset:.18em}.feature-matches caption{text-align:left;padding:.35rem 0 .7rem}.guide-byline{margin-bottom:1rem}

.catalog-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: .8rem 1.1rem; max-width: 52rem; margin: 1rem 0; }
.catalog-controls[hidden] { display: none; }
.catalog-controls select, .catalog-controls input { width: 100%; min-width: 0; min-height: 44px; font: inherit; }
.catalog-controls select { border: 1px solid #889381; padding: .55rem .7rem; background: #f5f4e9; color: #23352c; border-radius: 3px; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: clamp(14px, 1.7vw, 26px); margin-top: .85rem; }
.catalog-grid .product-item { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; border: 1px solid #adb6a3; }
.catalog-grid .product-item[hidden] { display: none; }
.catalog-grid .shelf-photo { height: clamp(160px, 14vw, 235px); background: #fff; }
.catalog-grid .shelf-photo img { max-height: 100%; mix-blend-mode: normal; }
.shelf-details .product-type { font-size: .82rem; color: #4c614c; text-decoration: underline; text-underline-offset: .16em; }
.product-actions, .product-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; }
.product-actions { margin-top: auto; }
.product-actions a { min-height: 44px; font-size: .92rem; }
.detail-link { display: inline-flex; align-items: center; padding: .6rem .9rem; background: #304d3b; color: #fffdf2; border-radius: 22px; font-weight: 650; line-height: 1.25; }
.detail-link:hover, .detail-link:focus-visible { background: #233d2e; }
.product-actions .shoplink { justify-content: center; margin: 0; padding: .35rem 0; border: 0; border-radius: 0; text-decoration: underline; text-underline-offset: .2em; background: transparent; }
.product-tools .product-compare { margin: 0; }
.product-tools .save-control { margin: 0; }
.product-tools:has(a, button:not([hidden])) { margin-top: .5rem; }
@media (max-width: 580px) { .catalog-controls { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .category-shelf .shelf-product { display: flex; } .category-shelf .shelf-photo { height: 165px; } }
