.kb-root{--kb-ink:#272923;--kb-muted:#5d5f57;--kb-paper:#f6f3ec;--kb-page:#fffdf8;--kb-line:#ddd6c7;--kb-accent:#8a3b2b;--kb-focus:#1f5fbf;background:var(--kb-paper);min-height:calc(100svh - 68px);color:var(--kb-ink);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;padding:12px max(clamp(16px,3vw,40px),50% - 700px) 48px;overflow-x:clip}.kb-root :where(h1,h2,h3,p,a,li,span,strong){color:inherit}.kb-root :focus-visible{outline:3px solid var(--kb-focus);outline-offset:3px;border-radius:6px}.kb-sample-banner{letter-spacing:.04em;color:var(--kb-muted);text-align:center;margin:0 0 12px;font-size:12px}.kb-button,.kb-chips button{border:1px solid var(--kb-line);background:var(--kb-page);min-height:44px;color:var(--kb-ink);font:inherit;cursor:pointer;white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;gap:6px;padding:0 16px;font-size:15px;text-decoration:none;display:inline-flex}.kb-button.is-primary{background:var(--kb-ink);border-color:var(--kb-ink);color:var(--kb-paper)}.kb-button.is-quiet{background:0 0}.kb-chips{overscroll-behavior-x:contain;scrollbar-width:thin;flex-wrap:nowrap;gap:8px;min-width:0;max-width:100%;padding:2px;display:flex;overflow-x:auto}.kb-chips button{flex:none}.kb-chips button[aria-pressed=true]{background:var(--kb-ink);border-color:var(--kb-ink);color:var(--kb-paper)}.kb-chip-count{font-variant-numeric:tabular-nums;opacity:.8}.kb-notice{border:1px solid var(--kb-line);border-left:4px solid var(--kb-ink);background:var(--kb-page);border-radius:8px;margin:12px 0;padding:12px 16px;font-size:14px}.kb-cover-choose{min-height:44px;color:var(--kb-ink);font:inherit;cursor:pointer;background:0 0;border:1px solid #b6b6a7;border-radius:4px;justify-self:stretch;padding:0 8px;font-size:12px}.kb-view-switch{flex-wrap:wrap;align-items:center;gap:4px 10px;min-width:0;display:flex}.kb-view-switch .kb-button[aria-pressed=true]{background:var(--kb-ink);border-color:var(--kb-ink);color:var(--kb-paper)}.kb-view-note{color:var(--kb-muted);margin:0;font-size:12px}.kb-head-tools{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}.kb-lang-note{color:var(--kb-muted);margin:8px 0 0;font-size:14px}.kb-link-button{min-height:44px;color:var(--kb-ink);font:inherit;cursor:pointer;background:0 0;border:0;padding:0 4px;text-decoration:underline}.kb-cover-options{border:0;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:12px;margin:0;padding:0;display:grid}.kb-cover-option{cursor:pointer;border:2px solid #0000;border-radius:8px;gap:4px;min-height:44px;padding:4px;display:grid;position:relative}.kb-cover-option:has(input:checked){border-color:var(--kb-ink)}.kb-cover-option:focus-within{outline:3px solid var(--kb-focus);outline-offset:2px}.kb-cover-option input{opacity:0;width:1px;height:1px;position:absolute}.kb-sheet-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.kb-reason-options{border:0;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:4px;margin:0;padding:0;display:grid}.kb-reason-option{cursor:pointer;border-radius:8px;align-items:center;gap:8px;min-height:44px;padding:0 8px;display:flex}.kb-reason-option:focus-within{outline:3px solid var(--kb-focus);outline-offset:2px}.kb-reason-note{gap:4px;margin-top:12px;display:grid}.kb-reason-note input{border:1px solid var(--kb-line);min-height:44px;font:inherit;background:var(--kb-page);color:var(--kb-ink);border-radius:8px;padding:0 12px}.kb-reason-edit{margin:8px 0 0}.kb-reason-failure{margin:12px 0 0;font-weight:600}.kb-skeleton,.kb-chip-skeleton,.kb-line-skeleton{background:#e9e3d6}.kb-chip-skeleton{border-radius:999px;flex:none;width:88px;height:44px;display:inline-block}.kb-line-skeleton{border-radius:6px;width:80%;height:12px;margin-top:6px;display:block}.kb-line-skeleton.is-short{width:50%}.kb-line-skeleton.is-heading{width:120px;height:16px;margin:0 0 12px}.kb-shelf-head{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:16px;min-width:0;margin-bottom:8px;display:flex}.kb-shelf{min-width:0}.kb-shelf-head h1,.kb-title h1,.kb-state h1,.kb-card-text h1{font-family:var(--font-display), system-ui, sans-serif;letter-spacing:.01em;margin:0;font-weight:400}.kb-shelf-head h1{font-size:clamp(32px,4vw,48px)}.kb-shelf-group{margin-top:28px}.kb-shelf-group h2{text-transform:uppercase;letter-spacing:.08em;color:var(--kb-muted);margin:0 0 12px;font-size:15px}.kb-meter{background:var(--kb-line);border-radius:4px;height:4px;display:block;overflow:hidden}.kb-meter>span{background:var(--kb-ink);height:100%;display:block}.kb-empty{color:var(--kb-muted)}.kb-art{aspect-ratio:63/88;background:#e9e3d6;border-radius:6px;transition:transform .2s;display:block;position:relative;overflow:hidden}.kb-art img{object-fit:cover;-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block}.kb-art-plate{text-align:center;color:var(--kb-muted);background:linear-gradient(160deg,#efe9dc,#e2d9c6);align-content:center;gap:4px;padding:10px;font-size:12px;display:grid;position:absolute;inset:0}.kb-art-plate>span:first-child{color:var(--kb-ink);font-weight:600}.kb-watermark{pointer-events:none;letter-spacing:.18em;color:#ffffff8c;text-shadow:0 0 2px #00000073;white-space:nowrap;font:700 clamp(12px,2.2vw,22px)/1 system-ui,sans-serif;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)rotate(-28deg)}.kb-art.is-ghost{outline-offset:-1.5px;background:0 0;outline:1.5px dashed #b9b09d}.kb-art.is-ghost img,.kb-art.is-ghost .kb-art-plate{opacity:.22;filter:grayscale()}.kb-binder-head{grid-template-columns:auto 1fr auto;align-items:center;gap:16px;margin-bottom:12px;display:grid}.kb-back{color:var(--kb-ink);align-items:center;min-height:44px;font-size:15px;text-decoration:none;display:inline-flex}.kb-title{text-align:center}.kb-title h1{font-size:clamp(26px,3vw,38px)}.kb-title p{color:var(--kb-muted);margin:2px 0 0;font-size:14px}.kb-spread{touch-action:pan-y;-webkit-user-select:none;user-select:none;justify-content:center;gap:0;display:flex}.kb-spread[data-gestures=pending] .kb-pocket>a{pointer-events:none}.kb-page{background:var(--kb-page);border:1px solid var(--kb-line);border-radius:10px;flex:1 1 0;max-width:max(460px,74svh - 185px);padding:18px;position:relative;box-shadow:0 12px 32px #2729231a}.kb-section-label{letter-spacing:.04em;background:var(--kb-paper);border:1px solid var(--kb-line);border-radius:999px;margin:0;padding:2px 10px;font-size:12px;font-weight:600;position:absolute;top:-11px;left:18px}.kb-grid{grid-template-columns:repeat(3,1fr);gap:12px;margin:0;padding:0;list-style:none;display:grid}.kb-pocket{min-width:0;position:relative}.kb-pocket>a{color:inherit;gap:6px;text-decoration:none;display:grid}.kb-pocket.is-empty{aspect-ratio:63/88;background:repeating-linear-gradient(135deg,#0000 0 8px,#27292306 8px 16px);border-radius:6px}.kb-caption{color:var(--kb-muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;line-height:1.3;overflow:hidden}.kb-ghost-name,.kb-ghost-cta{white-space:nowrap;text-overflow:ellipsis;font-size:12px;line-height:1.25;overflow:hidden}.kb-ghost-name{color:var(--kb-ink);margin-top:-4px}.kb-ghost-cta{color:var(--kb-ink);margin-top:-4px;font-weight:600}.kb-badge{background:var(--kb-ink);max-width:calc(100% - 12px);color:var(--kb-paper);white-space:nowrap;text-overflow:ellipsis;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:600;position:absolute;top:6px;left:6px;overflow:hidden}.kb-badge.is-variant{color:var(--kb-ink);border:1px solid var(--kb-line);background:#fffdf8eb;font-weight:500}.kb-card-text .kb-badge{display:inline-block;position:static}.kb-slab{border:1px solid var(--kb-line);background:#ffffffe6;border-radius:4px;padding:1px 6px;font-size:10px;font-weight:600;position:absolute;bottom:30px;right:6px}.kb-pager{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;max-width:100%;margin-top:16px;display:flex}.kb-arrow{border:1px solid var(--kb-line);background:var(--kb-page);cursor:pointer;width:44px;height:44px;color:var(--kb-ink);border-radius:50%;font-size:18px}.kb-arrow:disabled{opacity:.35;cursor:default}.kb-dots{flex-wrap:wrap;justify-content:center;gap:0;margin:0;padding:0;list-style:none;display:flex}.kb-dots button{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:44px;height:44px;display:grid}.kb-hunt-error{justify-items:start;gap:8px;display:grid}.kb-hunt-error p{margin:0;font-size:14px}.kb-dots button:before{content:"";background:var(--kb-line);border-radius:50%;width:8px;height:8px}.kb-dots button[aria-current=page]:before{background:var(--kb-ink);width:10px;height:10px}.kb-pagebar{text-align:center;gap:6px;min-width:160px;font-size:14px;display:grid}.kb-sheet{border:1px solid var(--kb-line);background:var(--kb-page);width:calc(100% - 32px);max-width:420px;color:var(--kb-ink);border-radius:16px;margin:auto;padding:24px}.kb-sheet::backdrop{background:#27292359}.kb-sheet h2{margin:0 0 16px;font-size:18px}.kb-sheet.kb-cover-sheet{width:min(720px,100% - 32px);max-width:720px;max-height:min(88svh,860px);padding:20px 24px;overflow:hidden}.kb-sheet.kb-cover-sheet[open]{flex-direction:column;display:flex}.kb-cover-sheet>h2,.kb-cover-sheet>.kb-help{flex:none}.kb-cover-sheet>h2{margin-bottom:4px}.kb-cover-scroll{overscroll-behavior:contain;flex:auto;min-height:0;margin:12px -4px 0;padding:4px;overflow-y:auto}.kb-cover-sheet .kb-sheet-actions{border-top:1px solid var(--kb-line);background:var(--kb-page);flex:none;margin-top:0;padding-top:12px}.kb-switch-row{justify-content:space-between;align-items:center;gap:16px;display:flex}.kb-switch{cursor:pointer;min-height:44px;color:var(--kb-ink);font:inherit;background:0 0;border:0;flex:none;align-items:center;gap:8px;padding:0 4px;font-size:14px;display:inline-flex}.kb-switch-track{border:1px solid var(--kb-line);background:#e3ddd0;border-radius:999px;width:52px;height:32px;position:relative}.kb-switch-thumb{background:#fff;border-radius:50%;width:24px;height:24px;transition:transform .18s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #00000040}.kb-switch[aria-checked=true] .kb-switch-track{background:var(--kb-ink);border-color:var(--kb-ink)}.kb-switch[aria-checked=true] .kb-switch-thumb{transform:translate(20px)}.kb-switch-state{text-align:left;min-width:2.2em}.kb-help{color:var(--kb-muted);font-size:14px;line-height:1.45}.kb-help.is-small{font-size:12px}.kb-card-open{max-width:900px;margin:0 auto}.kb-card-body{grid-template-columns:minmax(220px,360px) 1fr;align-items:start;gap:32px;margin-top:12px;display:grid}.kb-card-figure{position:relative}.kb-card-figure .kb-slab{bottom:8px}.kb-card-text h1{font-size:clamp(28px,3vw,40px)}.kb-hunt{border:1px solid var(--kb-line);background:var(--kb-page);border-radius:12px;margin-top:20px;padding:16px}.kb-hunt h2{margin:0;font-size:17px}.kb-hunting{font-weight:600}.kb-card-bar{justify-content:space-between;align-items:center;gap:12px;display:flex}.kb-card-where{color:var(--kb-muted);margin:0;font-size:14px}.kb-card-bar{flex-wrap:wrap}.kb-card-bar>.kb-head-tools{margin-left:auto}.kb-close{border:1px solid var(--kb-line);background:var(--kb-page);width:44px;height:44px;color:var(--kb-ink);cursor:pointer;border-radius:50%;flex:none;font-size:24px;line-height:1}.kb-reason{justify-items:start;gap:6px;margin:8px 0;display:grid}.kb-reason p{margin:0;font-size:15px;line-height:1.45}.kb-note{white-space:pre-wrap;overflow-wrap:anywhere}.kb-note-label{letter-spacing:.08em;text-transform:uppercase;color:var(--kb-muted);margin:0;font-size:11px;font-weight:700}.kb-identity{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;margin:16px 0 8px;display:grid}.kb-identity div{min-width:0}.kb-identity dt{letter-spacing:.08em;text-transform:uppercase;color:var(--kb-muted);font-size:11px;font-weight:700}.kb-identity dd{overflow-wrap:anywhere;margin:0;font-size:15px}.kb-status{margin:8px 0;font-weight:600}.kb-pocket-nav{gap:12px;margin-top:20px;display:flex}.kb-entry-note{color:var(--kb-muted);max-width:70ch;font-size:13px}.kb-entry-label{letter-spacing:.06em;text-transform:uppercase;color:var(--kb-muted);margin:20px 0 6px;font-size:12px;font-weight:600}.kb-entry-header,.kb-entry-collection{width:100vw;margin-left:calc(50% - 50vw)}.kb-entry-header{z-index:auto;position:relative;top:auto}.kb-entry-collection{background:var(--kb-paper);padding:4px 0 24px}.kb-state{text-align:center;justify-items:center;gap:12px;max-width:560px;margin:64px auto;display:grid}.kb-state h2{margin:0;font-size:22px}.kb-state p{color:var(--kb-muted);margin:0}.kb-state-actions{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}@media (min-width:1024px){.kb-spread{gap:6px}.kb-spread .kb-page:first-child:not(:last-child){border-radius:10px 2px 2px 10px}.kb-spread .kb-page:last-child:not(:first-child){border-radius:2px 10px 10px 2px}}@media (max-width:1023.98px){.kb-companion{display:none}.kb-page{max-width:560px;padding:12px}.kb-grid{gap:8px}}@media (max-width:640px){.kb-binder-head{grid-template-columns:1fr auto}.kb-title{text-align:left;grid-area:2/1/auto/-1}.kb-binder-head>.kb-head-tools{grid-area:3/1/auto/-1;justify-content:flex-start}.kb-card-body{grid-template-columns:1fr;gap:16px}.kb-card-figure{width:100%;max-width:300px;margin:0 auto}.kb-caption{font-size:11px}.kb-pager .kb-dots{flex-basis:100%;order:3}.kb-sheet{border-radius:16px 16px 0 0;width:100%;max-width:none;margin:auto 0 0}.kb-sheet.kb-cover-sheet{width:100%;max-width:none;max-height:85svh;padding:16px 16px calc(12px + env(safe-area-inset-bottom));border-radius:16px 16px 0 0;margin:auto 0 0}}@media (prefers-reduced-motion:reduce){.kb-art,.kb-switch-thumb{transition:none}}
