*{box-sizing:border-box} [hidden]{display:none!important}
:root{--ink:#252522;--muted:#66675e;--rule:#ddded6;--paper:#f6f6f2;--lime:#d6f879;--violet:#7654ae;font-family:Inter,"Helvetica Neue",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button,a,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,textarea:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #9272cf;outline-offset:3px}button{background:none;border:0}header{background:#fcfcf9;border-bottom:1px solid var(--rule)}.bar,main,footer{width:min(1350px,calc(100% - clamp(32px,8vw,128px)));margin:auto}.bar{min-height:72px;display:flex;align-items:center;gap:clamp(25px,5vw,85px)}.logo{display:flex;align-items:center;color:var(--ink);text-decoration:none;gap:8px}.brandmark{height:33px;width:33px;background:no-repeat center/contain url('/icon.svg')}.logo b{font-size:30px;letter-spacing:-2px}.logo em,footer i{font-size:12px;font-weight:600;font-style:normal;white-space:nowrap}.logo em{align-self:center;margin-top:9px;color:#6b6a62}.bar nav{display:flex;align-self:stretch;gap:26px}.nav{font-size:14px;font-weight:600;color:var(--muted);position:relative;padding:0 2px}.nav.active{color:var(--ink)}.nav.active:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--ink)}.account,.plain{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:14px;font-weight:600;border:1px solid #cdcec6;border-radius:9px;padding:10px 15px;background:#fdfdf9}.account{margin-left:auto}.account:hover,.plain:hover,.nav:hover{background:#ededdf}svg{width:19px;height:19px;display:block}.heading{display:flex;gap:20px;justify-content:space-between;align-items:center;padding:clamp(27px,3vw,46px) 0 26px}h1,h2,p{margin:0}h1{font-size:clamp(34px,3.6vw,54px);font-weight:650;line-height:1.12;letter-spacing:-.065em}h1 span{color:#7c9950}.heading p{margin-top:9px;font-size:15px;line-height:1.5;color:var(--muted)}.workspace{display:grid;grid-template-columns:minmax(300px,.82fr) minmax(390px,1.65fr);gap:20px;align-items:start}.panel{background:#fffffc;border:1px solid var(--rule);border-radius:16px;overflow:hidden}.panelHead{padding:17px 22px;border-bottom:1px solid var(--rule);display:flex;justify-content:space-between;align-items:center;min-height:56px}.panelHead h2,.libraryTitle{font-size:18px;letter-spacing:-.035em;font-weight:650}.panelHead>span{color:var(--muted)}.controls{padding:20px 22px 23px;display:grid;gap:7px}fieldset{margin:0;padding:0;border:0;min-width:0}legend,label{display:block;font-size:14px;font-weight:650;line-height:1.35;letter-spacing:-.015em}legend{padding:0;margin-bottom:8px}.controls>label:not(:first-child),.controls>fieldset:not(:first-child),.controls>.pair,.controls>#aiFields{margin-top:9px}.modes,.styles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.modes button{padding:10px 2px;display:grid;gap:5px;justify-items:center;background:#fafaf5;border:1px solid var(--rule);border-radius:9px;font-size:13px;font-weight:600}.modes button.selected{border-color:#44473b;background:#eff3e2;box-shadow:inset 0 0 0 1px #44473b}.styles button{padding:0;font-size:12px;font-weight:600;text-align:left}.swatch{height:46px;display:block;border-radius:6px;margin-bottom:5px;overflow:hidden;text-align:center;position:relative}.swatch img{width:71%;height:145%;object-fit:contain;transform:rotate(-12deg);margin-top:0}.sw0{background:#d9ed9f}.sw1{background:#343733}.sw2{background:#f1c2a0}.styles button.selected .swatch{outline:2px solid #44473b;outline-offset:1px}.styles button.selected .swatch:after{content:"✓";position:absolute;right:4px;top:4px;width:17px;height:17px;display:grid;place-items:center;border-radius:100%;color:#fff;background:#292b27;font-size:12px}.pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pair select{margin-top:7px}textarea,select,input{width:100%;font-size:14px;line-height:1.4;background:#fbfbf7;border:1px solid #d7d9ce;border-radius:7px;padding:10px 12px}textarea{resize:vertical;min-height:45px;max-height:170px}#title{height:47px}#sub{height:57px}select{appearance:none;background:#fbfbf7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2354534e' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center;padding-right:30px}.previewMeta,#pageNum,.makebar small,footer{font-size:12px;color:var(--muted)}.previewMeta{font-variant-numeric:tabular-nums;letter-spacing:.04em}.stage{overflow:hidden;min-height:360px;height:clamp(360px,45vh,540px);display:grid;place-items:center;padding:25px;background-color:#e9ebe3;background-image:radial-gradient(#acb39f 0.8px,transparent 0.9px);background-size:10px 10px}.print{height:100%;max-width:100%;min-height:0;position:relative;display:flex;align-items:center;justify-content:center;filter:drop-shadow(1px 8px 9px #252a242a)}#poster{max-width:100%;max-height:100%;height:auto;width:auto;display:block}.stripWrap{display:flex;align-items:center;gap:12px;padding:12px 20px;background:#f9faf5;border-top:1px solid var(--rule)}#strip{min-width:0;display:flex;gap:7px;overflow-x:auto;padding:3px}#strip button{padding:1px;background:#fff;border:1px solid #d4d6cb;border-radius:4px;flex:0 0 auto}#strip button.selected{outline:2px solid #3b402e;outline-offset:0}#strip canvas{display:block;max-width:53px;height:43px;object-fit:contain;border-radius:2px}#pageNum{margin-left:auto;white-space:nowrap}.makebar{border-top:1px solid var(--rule);display:flex;align-items:center;gap:12px;justify-content:space-between;padding:18px 22px}.makebar b,.makebar small{display:block}.makebar b{font-size:16px;letter-spacing:-.025em}.makebar small{margin-top:4px}.primary{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--lime);border:1px solid #bdde69;border-radius:9px;padding:12px 17px;color:#25271d;font-weight:700;font-size:14px;min-height:44px}.primary:hover{background:#c7ec63}.primary:active{transform:translateY(1px)}footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--rule);margin-top:30px;padding:18px 0 24px}footer b{color:#57584f;font-size:16px;letter-spacing:-.055em}footer i{font-size:11px;letter-spacing:0}.library{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:16px;margin:18px 0 32px}.library article,.empty{border:1px solid var(--rule);background:#fffffc;border-radius:12px;overflow:hidden}.library article{padding:15px;display:grid;gap:9px;align-content:start}.library article h3{margin:0;overflow-wrap:anywhere;font-size:16px}.library article p,.empty,#ledger{font-size:14px;color:var(--muted);line-height:1.5}.library img,.library video{display:block;width:100%;max-height:240px;object-fit:contain;background:#e8eadf;border-radius:5px}.empty{padding:24px;grid-column:1/-1}.library .plain{justify-self:start}.library a{color:#4c386d;font-size:14px}.libraryTitle{margin-top:15px}#ledger{margin-top:8px}dialog{border:1px solid var(--rule);border-radius:15px;color:var(--ink);padding:28px;max-width:min(420px,92vw);width:420px}dialog::backdrop{background:#1b1e1a66;backdrop-filter:blur(3px)}dialog h2{font-size:24px;letter-spacing:-.04em;padding-right:25px}dialog p{font-size:15px;line-height:1.5;color:var(--muted);margin:12px 0}dialog label{margin:15px 0 5px}dialog .close{position:absolute;right:12px;top:8px;font-size:26px;color:#777}#dialogError{color:#a23225}.library button:hover{background:#eef1e3}#toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%,16px);padding:12px 17px;border-radius:9px;background:#252622;color:#fff;opacity:0;pointer-events:none;transition:.18s;max-width:90vw;text-align:center;font-size:14px;z-index:5}#toast.show{opacity:1;transform:translate(-50%,0)}@media(min-width:1500px){.stage{height:520px}}@media(max-width:900px){.bar,main,footer{width:calc(100% - 36px)}.workspace{grid-template-columns:minmax(260px,.85fr) minmax(340px,1.3fr);gap:13px}.controls,.panelHead,.makebar{padding-left:16px;padding-right:16px}.stage{height:410px}.bar{gap:28px}}@media(max-width:680px){.bar,main,footer{width:calc(100% - 28px)}.bar{min-height:61px;flex-wrap:wrap;gap:0;justify-content:space-between;padding-top:9px}.bar nav{order:3;width:100%;height:40px;gap:20px}.bar .account{font-size:12px;padding:8px 10px}.brandmark{width:29px;height:29px}.logo b{font-size:26px}.heading{align-items:flex-start;flex-wrap:wrap;gap:13px;padding:24px 0 17px}.heading p{font-size:14px;max-width:42ch}.heading .plain{font-size:13px;padding:8px 10px}.workspace{display:flex;flex-direction:column;gap:14px}.panel{width:100%}.settings .controls{display:grid;grid-template-columns:1fr 1fr;column-gap:12px}.controls>*{grid-column:1/-1}.stage{height:380px;min-height:250px;padding:19px}.panelHead{min-height:45px;padding-top:12px;padding-bottom:12px}.makebar,.stripWrap{padding:13px}.makebar .primary{font-size:13px}.account svg{width:15px;height:15px}.library{grid-template-columns:1fr 1fr}.library article{padding:10px}.library article h3{font-size:14px}footer{margin-top:22px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
