@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:400;font-display:swap;src:url('/static/fonts/source-sans-3-latin-400.woff2') format('woff2')}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:600;font-display:swap;src:url('/static/fonts/source-sans-3-latin-600.woff2') format('woff2')}
:root{font-family:'Source Sans 3',system-ui,sans-serif;color:#18202d;background:#f8f9fb;font-synthesis:none;--muted:#647084;--border:#dde2e9;--ink:#18202d;--focus:#4f46e5;--surface:#fff;font-size:16px}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.43}button,a,input,select,textarea,summary{touch-action:manipulation}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #a5b4fc;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #818cf8;outline-offset:2px}[hidden]{display:none!important}.icon{width:19px;height:19px;flex:none;vertical-align:middle}.skip{position:fixed;left:16px;top:-80px;background:white;padding:12px;z-index:100}.skip:focus{top:10px}
.site-header{height:74px;padding:0 40px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1600px;margin:auto}.brand{font-size:22px;font-weight:600;letter-spacing:-.5px;display:flex;align-items:center;gap:10px}.brand:hover{text-decoration:none}.brand-mark{display:flex;gap:3px;align-items:center;height:26px}.brand-mark i{display:block;width:5px;height:22px;background:#4f46e5;border-radius:2px}.brand-mark i:nth-child(2){background:#8b5cf6;height:26px}.brand-mark i:nth-child(3){background:#eab308;height:19px}.header-actions{display:flex;align-items:center;gap:24px;font-size:14px}.draft-state{color:var(--muted)}
main{max-width:1440px;margin:auto;padding:44px 40px 64px}.intro{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:38px}.eyebrow{font-size:11px;font-weight:600;letter-spacing:1.2px;color:var(--muted);margin:0 0 10px}.intro h1{font-size:38px;line-height:1.1;letter-spacing:-1.1px;margin:0 0 10px;font-weight:600}.intro p:last-child{margin:0;color:var(--muted);font-size:17px}.intro>.text-button{margin-bottom:3px;white-space:nowrap}.workspace{display:grid;grid-template-columns:minmax(330px,380px) minmax(0,1fr);gap:46px;align-items:start}.editor,.output{min-width:0}.output{position:sticky;top:24px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;min-height:28px}h2{font-weight:600;font-size:17px;letter-spacing:-.2px;margin:0}.step{font-size:12px;color:#8792a3;margin-right:10px;font-weight:400;font-variant-numeric:tabular-nums}.text-button{padding:6px 0;background:none;border:none;color:var(--muted);font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px}.text-button:hover:not(:disabled){color:var(--ink);text-decoration:underline}.filters{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:13px}.filters button{border:0;border-radius:5px;background:none;padding:7px 10px;min-height:36px;font-size:14px;color:var(--muted);white-space:nowrap}.filters button[aria-pressed=true]{background:#e8eaf0;color:var(--ink);font-weight:600}.filters button:hover{background:#eef0f4}.search-form{height:47px;display:flex;align-items:center;gap:9px;border:1px solid #cbd2dd;border-radius:7px;background:#fff;padding:0 12px;position:relative}.search-form:focus-within{box-shadow:0 0 0 3px #6366f11c;border-color:#818cf8}.search-form input{min-width:0;width:100%;border:0;background:none;color:var(--ink);outline:none;font-size:15px}.search-form input:focus{outline:none}.search-form input::placeholder{color:#8a94a3}.search-form>span{color:#8a94a3;display:flex}.search-form button{border:1px solid #e5e7eb;border-radius:4px;background:#f8f9fb;font-size:15px;color:#6b7280;min-height:28px;min-width:28px}.search-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;color:var(--muted);margin:18px 0 9px;min-height:18px}.search-note{font-size:12px;color:var(--muted);margin-bottom:10px}.results{max-height:300px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;min-height:70px;padding-right:3px}.result{display:grid;grid-template-columns:34px minmax(0,1fr) 35px;align-items:center;gap:10px;padding:10px 6px;border-bottom:1px solid #e8ebf0;min-height:65px}.result:last-child{border-bottom:0}.result-swatch{width:31px;height:40px;border-radius:4px;color:white;display:grid;place-items:center}.result-swatch .icon{width:17px;height:17px}.result-info{min-width:0}.result-title{font-size:15px;font-weight:600;line-height:1.22;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block}.result-author{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;margin-top:3px}.icon-button{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:1px solid transparent;border-radius:5px;min-width:34px;min-height:34px;padding:6px;color:var(--muted)}.icon-button:hover:not(:disabled){background:#e9edf4;color:var(--ink)}.result-add{border-color:#dce1ea;background:#fff}.result-add.added{background:#edf3ee;color:#3b6a49;border-color:#d5e3d7}.empty-results{font-size:14px;color:var(--muted);padding:20px 4px;line-height:1.5}.inline-error{background:#fff3f2;border:1px solid #f4cdc8;border-radius:6px;padding:12px;font-size:14px;color:#992b22;margin:12px 0}.skeleton{height:58px;margin:4px 0;background:linear-gradient(100deg,#eef0f4 30%,#f8f9fb 48%,#eef0f4 65%);background-size:220% 100%;border-radius:5px;animation:shimmer 1.3s infinite}@keyframes shimmer{to{background-position:-220% 0}}.searching #search-icon{animation:breathe 1s infinite alternate}@keyframes breathe{to{opacity:.3}}
.selection-section{border-top:1px solid var(--border);padding-top:24px;margin-top:24px}.selection-section .section-heading{margin-bottom:4px}.count{display:inline-flex;align-items:center;justify-content:center;color:var(--muted);background:#e9edf2;border-radius:4px;padding:2px 6px;font-size:12px;letter-spacing:0;margin-left:6px;font-weight:400;font-variant-numeric:tabular-nums}.helper{font-size:12px;line-height:1.4;color:var(--muted);margin:6px 0 14px}.selection{padding:0;margin:0;list-style:none}.selection-row{display:grid;grid-template-columns:20px 28px minmax(0,1fr) auto;gap:7px;align-items:center;min-height:65px;border-bottom:1px solid #e8ebf0;position:relative;background:#f8f9fb}.selection-row.dragging{opacity:.35}.selection-row.drag-over{box-shadow:0 -2px 0 #6366f1}.drag-handle{color:#a0a9b7;cursor:grab;display:flex;align-items:center;justify-content:center}.drag-handle .icon{width:15px}.selection-number{font-size:12px;color:#7d8899;font-variant-numeric:tabular-nums}.selection-edit{border:0;background:none;text-align:left;padding:10px 0;min-width:0}.selection-edit>strong{font-size:14px;font-weight:600;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selection-edit>span{font-size:12px;color:var(--muted);display:flex;gap:5px;align-items:center}.mini-color{width:8px;height:8px;border-radius:2px;display:inline-block}.row-actions{display:flex;align-items:center;gap:0}.row-actions .icon-button{min-width:29px;min-height:34px;padding:5px}.row-actions .icon{width:15px}.selection-empty{padding:21px 0;color:#8792a3;font-size:14px}.refresh{margin-top:11px;font-size:12px}.refresh .icon{width:14px}.dimension{font-size:12px;color:var(--muted);white-space:nowrap}.preview{border-radius:10px;background:#10131b;color:#fff;padding:23px 22px 14px;min-height:430px;position:relative;overflow:hidden}.preview.light{background:#eef0f5;color:#18202d}.preview-title{display:flex;align-items:center;gap:12px;margin-bottom:20px}.preview-title input{background:transparent;border:1px solid transparent;padding:3px 5px;margin-left:-5px;color:inherit;font-size:18px;letter-spacing:-.2px;font-weight:600;width:100%;min-width:0;border-radius:3px}.preview-title input:hover{border-color:#ffffff30}.preview-title input:focus{outline:2px solid #818cf8}.preview-title span{font-size:11px;color:#8794a9;white-space:nowrap}.shelf{display:flex;gap:6px;align-items:stretch;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#596077 transparent;padding:0 0 12px;min-height:0}.spine-button{border:0;background:transparent;flex:none;display:block;padding:0;border-radius:7px;overflow:hidden;transition:transform .16s ease;position:relative}.spine-button:hover{transform:translateY(-3px)}.spine-button:first-child{margin-left:auto}.spine-button:last-child{margin-right:auto}.spine-button canvas{height:480px;width:auto;display:block;border-radius:7px}.spine-button:focus-visible{outline-offset:1px}.preview-hint{font-size:11px;color:#8f9bb0;margin:3px 0 0;min-height:17px}.preview.light .preview-hint{color:#657086}.preview-empty{height:330px;position:relative;display:grid;place-items:center;text-align:center}.preview-empty h3{font-size:18px;font-weight:600;margin:0 0 6px;color:#cbd5e4}.preview-empty p{font-size:14px;color:#8c98ad;margin:0}.preview.light .preview-empty h3{color:#657086}.empty-spines{display:flex;position:absolute;inset:0;justify-content:center;gap:8px;opacity:.32;pointer-events:none;mask-image:linear-gradient(to bottom,#000,transparent 54%,transparent 65%,#000)}.empty-spines i{width:45px;border:1px solid #647089;border-radius:7px}.preview-empty>div:last-child{z-index:1}.appearance{display:flex;align-items:center;flex-wrap:wrap;gap:18px;padding:17px 1px;border-bottom:1px solid var(--border)}.toggle{display:inline-flex;gap:7px;align-items:center;cursor:pointer;font-size:14px;min-height:30px}.toggle input{width:15px;height:15px;accent-color:#4f46e5;margin:0}.width-control{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted);margin-left:auto}.width-control select{border:1px solid #dce1ea;background:#fff;border-radius:5px;padding:4px 7px;color:var(--ink);font-size:13px;min-height:30px}.backdrop{background:none;border:0;color:var(--muted);font-size:24px;line-height:1;padding:0;min-height:32px;min-width:32px}.export-section{padding-top:21px}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:6px;font-size:15px;line-height:1.2;min-height:44px;padding:12px 16px;font-weight:600}.primary{background:#18202d;color:white;border:1px solid #18202d}.primary:hover:not(:disabled){background:#303b50}.secondary{background:#fff;color:#455268;border:1px solid #d4dbe5;font-weight:400}.secondary:hover:not(:disabled){background:#f0f2f7}.export-section>.primary{width:100%;min-height:49px;font-size:16px}.secondary-actions{display:flex;gap:10px;margin-top:10px}.secondary-actions .secondary{flex:1;white-space:nowrap;font-size:14px;padding:11px 9px}.export-help{font-size:12px;color:var(--muted);margin:12px 0 2px;text-align:center}.export-section>.text-button{display:flex;margin:3px auto 0;font-size:12px}.export-more{font-size:12px;color:var(--muted);margin-top:18px;line-height:1.5}.export-more summary{cursor:pointer;min-height:30px}.export-more p{margin:5px 0}.export-more a{text-decoration:underline}.export-progress{display:flex;align-items:center;gap:12px;margin-top:10px;font-size:12px;color:var(--muted)}progress{accent-color:#6366f1;flex:1;height:5px}.shared-banner{padding:16px;border:1px solid #ccd2ee;border-radius:8px;margin-bottom:25px;background:#f0f1fc;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:14px}.shared-banner p{margin:0}.shared-banner>div{display:flex;gap:20px}.shared-mode .workspace{grid-template-columns:1fr;max-width:950px;margin:auto}.shared-mode .editor,.shared-mode .appearance{display:none}.shared-mode .output{position:static}.shared-mode .intro{display:none}.shared-mode #shelf-title{pointer-events:none}.shared-mode .preview{min-height:0}.shared-mode .spine-button canvas{height:500px}
footer{max-width:1440px;margin:0 auto;padding:20px 40px 28px;border-top:1px solid var(--border);font-size:12px;color:var(--muted);display:flex;align-items:center;justify-content:space-between;gap:16px;line-height:1.7}footer p{margin:0}footer p:last-child{display:flex;align-items:center;gap:16px;white-space:nowrap}footer .text-button{font-size:12px}.footer-dot{padding:0 9px}.version{font-size:11px;color:#93a0b2}.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);padding:12px 18px;border-radius:8px;background:#18202d;color:#fff;box-shadow:0 6px 25px #11182725;max-width:min(90vw,600px);z-index:100;font-size:14px;line-height:1.4}.toast.error{background:#882e28}dialog{border:1px solid #dce2eb;background:#fbfcfe;color:var(--ink);border-radius:12px;padding:25px;max-width:500px;width:calc(100% - 32px);max-height:90dvh;overflow-y:auto;box-shadow:0 20px 80px #0003}dialog::backdrop{background:#0f172a70;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:17px}.dialog-heading h2{font-size:23px}.dialog-heading .icon-button{margin-right:-6px}.field{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:600;margin:17px 0 0}.field input,.field textarea,.field select{border:1px solid #cbd2df;background:#fff;color:var(--ink);padding:11px;border-radius:6px;font-size:16px;min-width:0;width:100%;font-weight:400}.field textarea{resize:vertical;line-height:1.6}.color-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.dialog-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:24px}.dialog-actions .primary{min-width:110px}.item-meta{font-size:13px;color:var(--muted);display:grid;grid-template-columns:90px 1fr;gap:5px 15px;margin-top:24px}.item-meta dt{font-weight:600}.item-meta dd{margin:0;overflow-wrap:anywhere}.source-link{font-size:14px;color:#4f46e5}.about-copy{font-size:15px;line-height:1.6;color:#546176}.about-copy a{text-decoration:underline}.file-import{cursor:pointer;text-align:left;font-size:13px}.noscript{padding:30px;color:#a22}body.busy-export #download{background:#303b50}
@media(min-width:1450px){.spine-button canvas{height:520px}.preview{min-height:500px}.preview-empty{height:400px}}
@media(max-width:1100px){.site-header{padding:0 24px}main{padding:32px 24px 45px}.workspace{grid-template-columns:minmax(300px,340px) minmax(0,1fr);gap:28px}.appearance{gap:12px}.dimension{font-size:11px}.step{margin-right:7px}.preview{padding:18px 16px 12px}.preview-title input{font-size:16px}.secondary-actions{flex-wrap:wrap}.secondary-actions .secondary{min-width:120px}.intro h1{font-size:34px}footer{padding:20px 24px}}
@media(max-width:800px){.site-header{height:62px;padding:0 18px}.header-actions{gap:12px}.draft-state{display:none}.brand{font-size:21px}main{padding:27px 18px 36px}.intro{align-items:start;gap:15px;margin-bottom:27px}.intro h1{font-size:30px;max-width:320px}.intro p:last-child{font-size:15px}.eyebrow{font-size:10px;letter-spacing:.9px}.intro>.text-button{font-size:12px;max-width:95px;white-space:normal;text-align:right;margin-top:23px}.workspace{display:flex;flex-direction:column;gap:30px}.editor,.output{width:100%}.output{position:static}.results{max-height:230px}.filters{gap:3px}.filters button{font-size:14px;padding:7px 10px;min-height:38px}.selection-section{margin-top:20px;padding-top:20px}.row-actions .icon-button{min-width:38px;min-height:42px}.row-actions .icon{width:17px}.selection-row{grid-template-columns:18px 22px minmax(0,1fr) auto;gap:5px}.selection-edit>strong{font-size:15px}.preview{padding:20px 16px 13px;min-height:0}.spine-button canvas{height:440px}.preview-empty{height:270px}.appearance{gap:16px}.appearance .toggle{min-height:36px}.width-control{margin-left:auto}.output .section-heading{margin-bottom:12px}.primary,.secondary{min-height:46px}.shared-banner{flex-direction:column;align-items:start}.shared-banner>div{gap:12px}.shared-mode .spine-button canvas{height:440px}footer{padding:18px;flex-direction:column;align-items:start;gap:6px}.footer-dot{display:block;height:0;visibility:hidden}footer p:first-child{max-width:500px}.toast{bottom:14px}.dimension{font-size:11px}.export-more{margin-top:16px}.export-help{font-size:12px}}
@media(max-width:380px){main{padding-left:14px;padding-right:14px}.site-header{padding:0 14px}.intro h1{font-size:27px}.filters button{padding:6px 8px;font-size:13px}.row-actions .icon-button{min-width:33px}.appearance{gap:12px}.width-control{margin-left:0}.dimension{max-width:110px;text-align:right}.section-heading h2{font-size:16px}.preview-title input{font-size:16px}.spine-button canvas{height:400px}.dialog-actions{flex-wrap:wrap}.dialog-actions>*{flex:1}.preview-title span{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* V2: collections, reserve and progressive disclosure. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sort-control{margin-left:auto}.sort-control select{border:0;background:transparent;color:#58667b;font-size:12px;max-width:135px;min-height:32px;cursor:pointer}.search-heading{flex-wrap:wrap;gap:4px 10px;margin-top:10px}#search-state:empty{display:none}
.collection-preview{border:1px solid var(--border);border-radius:7px;padding:16px;margin:8px 0;background:#fff}.collection-preview strong{font-size:17px;line-height:1.3;display:block}.collection-preview p{font-size:13px;color:var(--muted);line-height:1.4;margin:8px 0 12px}.collection-preview .helper{margin:12px 0 0;font-size:12px}.collection-preview~.results:empty{min-height:0}
.reserve-section{margin-top:22px;padding-top:16px;border-top:1px dashed #cbd2dd}.reserve-section h3{font-size:14px;font-weight:600;margin:0;color:#626d7e}.reserve-row{background:#f0f2f5}.reserve-row .selection-edit>strong{color:#677181}.reserve-row .selection-edit{padding-right:4px}.reserve-row .include{padding:6px;min-height:38px;font-size:12px;color:#37465c}.reserve-pages{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted)}.draft-actions{display:flex;justify-content:space-between;gap:14px}.selection-edit>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.mini-color{margin-right:4px}
.reserve-divider{flex:none;align-self:stretch;width:34px;writing-mode:vertical-rl;color:#a7b0bf;border-left:1px dashed #606979;padding:12px 8px;font-size:11px;margin-left:8px}.reserve-spine{width:56.25px;height:480px;background:linear-gradient(155deg,#505866,#323946);color:#d3dae5;text-align:left}.reserve-rank{position:absolute;top:15px;left:0;right:0;text-align:center;font-size:12px}.reserve-title{position:absolute;top:55px;bottom:20px;left:50%;transform:translateX(-50%);writing-mode:vertical-rl;font-size:22px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview.light .reserve-spine{background:linear-gradient(155deg,#d4d9e2,#b4bdcb);color:#485364}.style-options{border-bottom:1px solid var(--border);padding:10px 0}.style-options h3{font-size:12px;font-weight:600;color:var(--muted);margin:0 0 3px}.style-options .appearance{border:0;padding:8px 0}.shared-mode .style-options{display:none}.metadata-feedback{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;color:var(--muted);margin-bottom:10px}.metadata-feedback:has(#metadata-status:empty){display:none}.preview-jump{display:none}.preview-title{flex-wrap:wrap;gap:3px}.preview-title span{display:block!important}.preview-title input{flex-basis:100%}.output{scroll-margin-top:20px}.shared-mode .reserve-section{display:none}
@media(min-width:1450px){.reserve-spine{height:520px;width:60.94px}}
@media(max-width:800px){.reserve-spine{height:440px;width:51.56px}.preview-jump{position:fixed;bottom:14px;right:18px;z-index:40;display:block;border-radius:24px;background:#18202d;color:#fff;font-size:14px;padding:12px 18px;box-shadow:0 3px 16px #11182730;min-height:44px}.preview-jump:hover{text-decoration:none;background:#303b50}footer{padding-bottom:80px}.toast{bottom:72px}.reserve-row .include{min-height:44px}.sort-control select{min-height:38px}.results{max-height:230px}.reserve-title{font-size:20px}}
@media(max-width:380px){.reserve-spine{height:400px;width:46.88px}.reserve-row{grid-template-columns:18px 22px minmax(0,1fr) auto}.reserve-row .include{padding-left:3px;padding-right:3px}.preview-jump{right:14px}}

.reserve-spine{width:calc(480px * var(--reserve-ratio,.1171875))}.output-visible .preview-jump{display:none}
@media(min-width:1450px){.reserve-spine{width:calc(520px * var(--reserve-ratio,.1171875))}}
@media(max-width:800px){.reserve-spine{width:calc(440px * var(--reserve-ratio,.1171875))}}
@media(max-width:380px){.reserve-spine{width:calc(400px * var(--reserve-ratio,.1171875))}}

/* V3: small account control and a single preview sheet for examples. */
#account-button{font-size:13px;color:#455268;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;min-height:38px}.examples-dialog{width:calc(100% - 32px);max-width:650px;padding:25px}.examples-dialog .dialog-heading{align-items:start;margin-bottom:20px}.examples-dialog .dialog-heading .eyebrow{margin-bottom:7px}.example-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.example-sources button{border:1px solid var(--border);background:#fff;border-radius:7px;padding:14px 12px;text-align:left;min-width:0;display:flex;flex-direction:column;align-items:start;gap:7px}.example-sources button[aria-pressed=true]{border-color:#8b83e7;background:#f0effa;box-shadow:inset 0 0 0 1px #8b83e7}.example-sources button:hover{border-color:#8b83e7}.example-sources .icon{width:19px;height:19px;color:#6658b9}.example-sources strong{font-size:14px;font-weight:600;line-height:1.2}.example-sources button>span:last-child{font-size:12px;color:var(--muted);line-height:1.3}.example-description{font-size:14px;line-height:1.5;margin:18px 0 5px;color:#465269}.example-auth{padding:15px 0;border-top:1px solid var(--border);margin-top:14px}.example-auth p{font-size:14px;color:var(--muted);margin:0 0 12px}.example-auth .text-button{margin-left:12px}.example-public{font-size:13px;color:var(--muted);margin-bottom:16px}.example-public summary{cursor:pointer;min-height:36px;align-content:center}.example-public form{display:flex;gap:8px;margin:9px 0}.example-public input{flex:1;min-width:0;border:1px solid #cbd2df;background:#fff;border-radius:6px;padding:9px 12px;color:var(--ink);font-size:16px}.example-public .secondary{font-size:14px;white-space:nowrap}.example-list-heading{font-size:12px;color:var(--muted);display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:30px}.example-list{list-style:none;padding:0;margin:0}.example-pick{display:grid;grid-template-columns:18px 31px minmax(0,1fr);align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #e5e8ee;cursor:pointer}.example-pick:has(input:disabled){opacity:.6;cursor:default}.example-pick input{accent-color:#6658b9;width:17px;height:17px;margin:0}.example-pick-copy{min-width:0}.example-pick-copy strong{display:block;font-size:15px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}.example-pick-copy>span{display:block;font-size:12px;color:#647084;margin-top:2px;overflow-wrap:anywhere}.example-pick-copy small{display:block;font-size:11px;color:#798397;margin-top:3px}.example-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;bottom:-25px;margin-top:16px;padding:14px 0;background:#fbfcfe;border-top:1px solid var(--border)}.example-bottom .helper{margin:0}.example-bottom .primary{white-space:nowrap}.example-notes{font-size:13px;line-height:1.5;padding:10px 12px;background:#f4f0e8;border-radius:5px;color:#76613d}.auth-page{max-width:540px;margin:12vh auto;padding:30px}.auth-page h1{font-size:28px;margin:45px 0 16px;line-height:1.2}.auth-page p{color:var(--muted);line-height:1.6}.auth-page .text-button{margin:15px 0}.example-list[aria-busy=true]{min-height:50px}
@media(max-width:800px){.header-actions{gap:14px}.header-actions>a{font-size:12px}#account-button{max-width:130px;font-size:12px;min-height:44px}.examples-dialog{padding:20px}.example-sources{gap:6px}.example-sources button{padding:12px 9px}.example-sources strong{font-size:13px}.example-sources button>span:last-child{font-size:11px}.example-bottom{bottom:-20px;padding:14px 0}.example-bottom .primary{padding:12px;font-size:14px}}
@media(max-width:380px){.header-actions{gap:8px}.brand{font-size:19px;gap:7px}.examples-dialog{padding:17px;width:calc(100% - 24px)}.example-sources{grid-template-columns:1fr}.example-sources button{display:grid;grid-template-columns:20px 1fr;gap:3px 9px;padding:10px 12px}.example-sources .icon{grid-row:1/3;align-self:center}.example-sources button>span:last-child{grid-column:2}.example-bottom{bottom:-17px;gap:8px}.example-bottom .helper{font-size:11px}.example-public form{flex-wrap:wrap}.example-public input{width:100%;flex-basis:100%}}

.example-context{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center}.example-context a{color:#574ca4;display:inline-flex;align-items:center;gap:3px}.example-context a .icon{width:13px;height:13px}

/* V3.2: visible controls and one ordering interaction across both views. */
.style-options{padding:16px 0 12px}.style-options .appearance{gap:8px 10px;padding:4px 0}
.appearance .toggle{position:relative;min-height:40px;gap:8px;padding:0 10px;border:1px solid #d7dde7;border-radius:6px;background:#fff;color:#5c687b;cursor:pointer;font-size:13px;transition:border-color .15s,background .15s}
.appearance .toggle input{position:absolute;opacity:0;width:100%;height:100%;inset:0;margin:0;cursor:pointer}
.appearance .toggle:has(input:checked){border-color:#c7cbee;background:#eeeffb;color:#373b6f}
.appearance .toggle:has(input:focus-visible){outline:3px solid #a5b4fc;outline-offset:2px}
.toggle-check{display:grid;place-items:center;width:16px;height:16px;border:1px solid #abb4c3;border-radius:4px;background:#fff;pointer-events:none}
.toggle-check .icon{width:12px;height:12px;opacity:0;display:block}
input:checked+.toggle-check{background:#5655a4;border-color:#5655a4;color:#fff}input:checked+.toggle-check .icon{opacity:1}
.width-control{gap:8px}.width-control select,.backdrop{min-height:40px}.backdrop{min-width:40px}
.selection-row{grid-template-columns:36px 22px minmax(0,1fr) auto;gap:5px}.drag-handle{border:0;background:transparent;border-radius:5px;color:#7b8799;width:36px;min-height:44px;touch-action:none;padding:0}.drag-handle:hover{background:#e8ebf2;color:#313c51}.drag-handle .icon{width:18px}
.selection{min-height:12px}.spine-button{cursor:grab;touch-action:pan-x pan-y;user-select:none}.shared-mode .spine-button{cursor:pointer}
.is-reordering,.is-reordering *{cursor:grabbing!important}.is-reordering .spine-button:hover{transform:none}.reorder-placeholder{opacity:.22!important;outline:2px dashed #919bea;outline-offset:-2px}.reorder-chosen{transition:none!important}.reorder-floating{opacity:1!important;box-shadow:0 10px 30px #11182740;pointer-events:none!important;z-index:1000!important;margin:0!important}.reorder-floating.selection-row{list-style:none;border:1px solid #b9bfd5;border-radius:6px}.reorder-floating.spine-button{transform:none}
.my-collections{margin-top:26px;padding-top:20px;border-top:1px solid var(--border)}.collections-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.collections-heading h3{margin:0;font-size:16px;font-weight:600}.my-collections-list{list-style:none;padding:0;margin:0;max-height:200px;overflow-y:auto;overscroll-behavior:contain}.my-collections-list button{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;width:100%;border:0;border-bottom:1px solid #e8ebf0;background:transparent;padding:10px 4px;min-height:50px}.my-collections-list button:hover,.my-collections-list button[aria-pressed=true]{background:#f0f1fb}.my-collections-list strong{display:block;font-size:14px;font-weight:600;overflow-wrap:anywhere}.my-collections-list small{font-size:12px;color:var(--muted)}.my-collections-list .icon{color:#7a8198}.import-collection-preview{border-left:2px solid #6466bc;padding:2px 0 2px 14px;margin-top:16px}.import-collection-preview>strong{font-size:15px;overflow-wrap:anywhere}.import-collection-preview .primary{min-height:40px;font-size:14px}.my-collections>.helper{margin:6px 0 12px}#collections-more{margin-top:6px;min-height:40px}
@media(max-width:800px){.selection-row,.reserve-row{grid-template-columns:36px 22px minmax(0,1fr) auto}.appearance .toggle{min-height:44px}.width-control select,.backdrop{min-height:44px}.backdrop{min-width:44px}.style-options .appearance{gap:8px}.my-collections-list{max-height:170px}}
@media(forced-colors:active){input:checked+.toggle-check{background:Highlight;color:HighlightText}.appearance .toggle:has(input:checked){border-color:Highlight}}
