:root{--brand:#4f46e5;--brand-hover:#4338ca;--brand-soft:#eeedff;--on-brand:#fff;--bg:#f7f8fb;--ring:0 0 0 3px #4f46e52e}.container{max-width:1270px}.wide{max-width:1350px}:root[data-theme=dark]{--brand:#a5a1ff;--brand-hover:#c4bfff;--brand-soft:#292545;--on-brand:#171525}:root[data-theme=dark] .bp-btn.primary{color:#171525}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--brand:#a5a1ff;--brand-hover:#c4bfff;--brand-soft:#292545;--on-brand:#171525}}
.logo-mark{background:var(--brand)}.bp-hero{display:flex;align-items:center;justify-content:space-between;gap:40px;padding-top:43px;padding-bottom:34px}.bp-hero h1{font-size:clamp(2rem,3.9vw,3rem);max-width:none;letter-spacing:-.045em;margin:0 0 14px}.bp-hero .hero-lede{max-width:75ch;font-size:1rem}.title-dot{color:var(--brand)}.feature-chips{display:flex;gap:9px;flex-wrap:wrap;margin-top:21px}.feature-chips span{background:var(--surface);border:1px solid var(--border);padding:5px 10px;border-radius:25px;font-size:.68rem;color:var(--muted)}.hero-pages{display:flex;position:relative;min-width:210px;align-items:center;justify-content:center;transform:rotate(6deg);background:#eeedfb;border:1px solid #dbd8f7;padding:14px 24px 31px;border-radius:7px;box-shadow:4px 5px 0 #e3e1f0}.hero-pages>span{display:flex;align-items:center;justify-content:center;background:white;border:1px solid #e3dfef;width:75px;height:96px;font-size:35px;font-family:Georgia,serif;color:#514b79}.hero-pages>span:first-child{transform:rotate(-4deg)}.hero-pages small{position:absolute;bottom:9px;left:0;right:0;text-align:center;font-size:7px;color:#827b9d;letter-spacing:2px}.hero-pages i{width:2px;height:85px;background:#ddd6f1}
.studio{background:var(--surface);border:1px solid var(--border);border-radius:17px;overflow:hidden;box-shadow:var(--shadow);scroll-margin-top:85px}.studio-bar{padding:14px 22px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:14px}.studio-label{display:flex;align-items:center;gap:9px;font-size:.83rem;font-weight:700}.studio-label i{width:7px;height:7px;border-radius:50%;background:#6ba487;box-shadow:0 0 0 4px #6ba48713}.local-pill{font-size:.67rem;color:var(--muted)}.workspace{display:grid;grid-template-columns:290px minmax(0,1fr)}.settings-panel{padding:23px;border-right:1px solid var(--border)}.step-title{display:flex;align-items:center;gap:9px;margin-bottom:16px}.step-title>span{display:flex;align-items:center;justify-content:center;width:23px;height:23px;flex-shrink:0;background:var(--brand-soft);color:var(--brand);font-size:.61rem;border-radius:6px;font-weight:750}.step-title h2{font-size:.85rem;margin:0;letter-spacing:-.01em}.dropzone{display:flex;align-items:center;flex-direction:column;text-align:center;gap:9px;border:1.5px dashed var(--border-strong);border-radius:12px;padding:23px 13px;background:var(--surface-2)}.dropzone.dragover{background:var(--brand-soft);border-color:var(--brand)}.dropzone svg{color:var(--brand)}.dropzone strong{font-size:.82rem}.dropzone>span{font-size:.6rem;color:var(--muted);line-height:1.7}.bp-btn{display:inline-flex;align-items:center;justify-content:center;font:inherit;font-size:.73rem;font-weight:650;line-height:1.5;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);color:var(--text-2);padding:9px 13px;min-height:38px;cursor:pointer;text-decoration:none}.bp-btn:hover{background:var(--brand-soft);border-color:var(--brand);color:var(--brand);text-decoration:none}.bp-btn.primary{background:var(--brand);border-color:var(--brand);color:var(--on-brand);box-shadow:0 3px 8px #4f46e51a}.bp-btn:disabled,.nav-btn:disabled{opacity:.4;cursor:default}.bp-btn.full{width:100%}.text-btn{font:inherit;font-size:.68rem;color:var(--brand);border:0;background:transparent;padding:9px 0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.text-btn:disabled{opacity:.4;cursor:default}.file-card{display:flex;gap:9px;align-items:center;border:1px solid var(--border);border-radius:9px;padding:11px;margin-top:10px;min-width:0}.file-card>span{background:var(--brand-soft);color:var(--brand);padding:10px 6px;font-size:.6rem;font-weight:750;border-radius:6px}.file-card>div{flex:1;min-width:0}.file-card strong{display:block;font-size:.72rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-card small{font-size:.62rem;color:var(--muted)}.file-card .icon-btn{min-width:25px;width:25px;height:28px;padding:0}.studio fieldset{border:0;margin:12px 0 0;padding:0;min-width:0}.studio label{display:block;font-size:.68rem;font-weight:650;color:var(--text-2);margin-bottom:12px}.studio input:not([type=checkbox]),.studio select{font:inherit;font-size:.78rem;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:7px;padding:8px 9px;width:100%;margin-top:6px;min-height:36px}.studio input:focus,.studio select:focus{outline:2px solid #8c85ff65;border-color:var(--brand)}.field-hint{font-size:.61rem;color:var(--muted);line-height:1.7;margin:-3px 0 18px}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:11px}.field-pair label{min-width:0}.panel-line{height:1px;background:var(--border);margin:20px 0}.studio .check{display:flex;align-items:center;gap:7px;font-size:.66rem;font-weight:500}.check input{accent-color:var(--brand)}.advanced{border:0;background:var(--surface-2);padding:10px;border-radius:8px;margin:15px 0}.advanced summary{font-size:.65rem;font-weight:600;cursor:pointer;color:var(--muted)}.advanced .check{margin-top:12px;margin-bottom:0}.output-panel{padding:22px 25px;min-width:0;background:var(--surface-2)}.output-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.output-heading .step-title{margin:0}.source-badge{font-size:.59rem;border:1px solid var(--border);border-radius:20px;padding:5px 9px;color:var(--muted);max-width:55%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;margin:19px 0 15px;gap:12px}.side-tabs{display:flex;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:3px;gap:3px}.side-tabs button{font:inherit;font-size:.7rem;font-weight:650;border:0;background:transparent;color:var(--muted);padding:7px 15px;border-radius:5px;cursor:pointer}.side-tabs .active{background:var(--brand-soft);color:var(--brand)}.sheet-navigation{display:flex;align-items:center;gap:8px}.studio .sheet-navigation select{margin:0;font-size:.65rem;min-width:75px;max-width:220px}.nav-btn{width:31px;height:32px;background:var(--surface);border:1px solid var(--border);color:var(--text-2);border-radius:7px;cursor:pointer}.preview-stage{position:relative;min-height:250px;aspect-ratio:1.59;background:#2b3048;background-image:radial-gradient(#ffffff08 1px,transparent 1px);background-size:14px 14px;border-radius:12px;padding:26px;display:flex;align-items:center;justify-content:center;overflow:hidden}.paper-shadow{width:100%;max-width:780px;box-shadow:0 10px 30px #10132350;line-height:0;transform:rotate(-.4deg);background:white;aspect-ratio:1.414;overflow:hidden}.paper-shadow canvas{width:100%;height:100%;object-fit:contain;background:#fff;display:block}.preview-loading{position:absolute;inset:0;background:#2b3048d9;display:flex;align-items:center;justify-content:center;padding:30px;font-size:.8rem;color:white;text-align:center}.page-pair{display:flex;align-items:center;justify-content:center;gap:28px;margin:17px 0 7px}.page-pair span{font-size:.75rem;font-family:var(--mono);font-weight:700;color:var(--brand);background:var(--brand-soft);padding:4px 15px;min-width:55px;text-align:center;border-radius:5px}.page-pair i{font-size:.7rem;color:var(--muted);font-style:normal}.preview-hint{font-size:.62rem;color:var(--muted);text-align:center;margin:0 0 20px}.stats{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--border);background:var(--surface);border-radius:10px;padding:13px 5px;text-align:center}.stats>div+div{border-left:1px solid var(--border)}.stats span{display:block;font-size:.62rem;color:var(--muted);margin-bottom:5px}.stats strong{font-size:1.3rem;color:var(--text);letter-spacing:-.03em}.download-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:20px 0 0}.download-actions .bp-btn:first-child{flex:1}.status{font-size:.68rem;color:var(--muted);text-align:center;margin:14px 0}.error{font-size:.75rem;background:#fff0eb;color:#b54738;padding:12px;border-radius:8px;line-height:1.8}.error:empty{display:none}.print-callout{display:flex;gap:12px;padding:13px;background:var(--brand-soft);border:1px solid color-mix(in srgb,var(--brand) 18%,var(--border));border-radius:9px}.print-callout>span{color:var(--brand);font-size:22px}.print-callout strong{font-size:.68rem;color:var(--brand)}.print-callout p{font-size:.64rem;color:var(--text-2);line-height:1.8;margin:5px 0 0}.secondary-actions{display:flex;justify-content:space-between;gap:15px;margin:10px 0 17px}.map-details{border-top:1px solid var(--border);padding-top:15px}.map-details summary{font-size:.75rem;font-weight:650;cursor:pointer}.table-scroll{max-height:230px;overflow:auto;margin-top:13px}table{width:100%;border-collapse:collapse;font-size:.7rem}th,td{text-align:start;padding:9px 10px;border-bottom:1px solid var(--border)}th{font-size:.6rem;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);background:var(--surface)}td button{border:0;background:transparent;font:inherit;color:var(--brand);cursor:pointer;text-decoration:underline;text-underline-offset:2px}.guide-section{padding:48px 0 26px}.guide-section h2{font-size:1.6rem;letter-spacing:-.03em}.guide-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.guide-card{position:relative;padding:23px;border:1px solid var(--border);border-radius:13px;background:var(--surface);text-decoration:none}.guide-card:hover{border-color:var(--brand);text-decoration:none}.guide-card>span{font-size:.65rem;letter-spacing:.1em;font-weight:700;color:var(--brand)}.guide-card h3{font-size:1rem;margin:12px 0 8px}.guide-card p{font-size:.75rem;line-height:1.8;color:var(--muted)}.guide-card b{display:block;text-align:end;color:var(--brand)}.fit-note{font-size:.76rem;line-height:1.9;color:var(--muted);max-width:900px;padding-bottom:30px}.bp-footer{background:var(--surface);border-top:1px solid var(--border);padding:30px 0}.footer-row{display:flex;align-items:center;justify-content:space-between;gap:25px}.footer-row p{font-size:.68rem;color:var(--muted);margin:12px 0}.footer-row>div:last-child{text-align:end}.footer-row>div:last-child a{margin-inline-start:17px;color:var(--muted);font-size:.7rem;text-decoration:none}.bp-prose{max-width:840px;min-height:60vh;padding:35px 0 60px}.bp-prose h1{font-size:2.2rem;letter-spacing:-.03em}.bp-prose h2{font-size:1.35rem;margin-top:30px}.bp-prose p,.bp-prose li{line-height:1.95;color:var(--text-2)}.bp-prose .guide-cards{grid-template-columns:1fr;margin-top:35px}.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}
@media(max-width:1100px){.nav{display:none}.header-actions{margin-left:auto}.workspace{grid-template-columns:265px minmax(0,1fr)}.hero-pages{display:none}.output-panel{padding:20px}.preview-stage{padding:20px}}@media(max-width:760px){.header-inner{height:auto;min-height:64px;flex-wrap:wrap;padding-top:9px;padding-bottom:9px;gap:8px}.logo{font-size:.92rem}.logo>span{max-width:170px;line-height:1.2}.lang-menu summary{font-size:.68rem;padding:0 7px}.bp-hero{padding-top:28px;padding-bottom:26px}.bp-hero h1{font-size:2.1rem}.bp-hero .hero-lede{font-size:.93rem}.workspace{grid-template-columns:1fr}.settings-panel{border-right:0;border-bottom:1px solid var(--border);padding:19px}.dropzone{padding:19px}.field-pair{gap:14px}.output-panel{padding:17px}.output-heading{align-items:start}.source-badge{font-size:.55rem}.preview-stage{min-height:180px;padding:14px;aspect-ratio:1.5}.paper-shadow{transform:none}.preview-toolbar{gap:7px}.side-tabs button{font-size:.65rem;padding:7px 10px}.studio .sheet-navigation select{max-width:135px;min-width:60px;font-size:.6rem}.nav-btn{width:27px}.stats span{font-size:.55rem}.stats strong{font-size:1.15rem}.download-actions .bp-btn:first-child{flex-basis:100%}.download-actions .bp-btn:not(:first-child){flex:1}.studio-bar{padding:13px}.local-pill{max-width:150px;font-size:.55rem}.guide-cards{grid-template-columns:1fr}.secondary-actions{flex-wrap:wrap;gap:0}.footer-row{display:block}.footer-row>div:last-child{text-align:start}.footer-row>div:last-child a{margin:0 15px 0 0}.bp-prose h1{font-size:1.9rem}.table-scroll{max-height:250px}}
