@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/ibm-plex-sans-cyrillic-ext-400-normal-g30qAdWV.woff2) format("woff2"),url(/assets/ibm-plex-sans-cyrillic-ext-400-normal-Dsrv2Tcn.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/ibm-plex-sans-cyrillic-400-normal-DZqxrq2p.woff2) format("woff2"),url(/assets/ibm-plex-sans-cyrillic-400-normal-BTotfTJu.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/ibm-plex-sans-greek-400-normal-_efipK4i.woff2) format("woff2"),url(/assets/ibm-plex-sans-greek-400-normal-D9ESIMu3.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/ibm-plex-sans-vietnamese-400-normal-DG4YqDda.woff2) format("woff2"),url(/assets/ibm-plex-sans-vietnamese-400-normal-fK1oJ5dG.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/ibm-plex-sans-latin-ext-400-normal-C5H60-Va.woff2) format("woff2"),url(/assets/ibm-plex-sans-latin-ext-400-normal-RBey6euL.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/ibm-plex-sans-latin-400-normal-CDDApCn2.woff2) format("woff2"),url(/assets/ibm-plex-sans-latin-400-normal-CYLoc0-x.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/ibm-plex-sans-cyrillic-ext-500-normal-Cs5J6C77.woff2) format("woff2"),url(/assets/ibm-plex-sans-cyrillic-ext-500-normal-DB5PtV2g.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/ibm-plex-sans-cyrillic-500-normal-CocWQlwt.woff2) format("woff2"),url(/assets/ibm-plex-sans-cyrillic-500-normal-ByOcLdNv.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/ibm-plex-sans-greek-500-normal-JMMifIXV.woff2) format("woff2"),url(/assets/ibm-plex-sans-greek-500-normal-CuWXN6rf.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/ibm-plex-sans-vietnamese-500-normal-e4dixQRQ.woff2) format("woff2"),url(/assets/ibm-plex-sans-vietnamese-500-normal-BEb3_waV.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/ibm-plex-sans-latin-ext-500-normal-DakdToA3.woff2) format("woff2"),url(/assets/ibm-plex-sans-latin-ext-500-normal-D0aIdm-b.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/ibm-plex-sans-latin-500-normal-6ng42L7E.woff2) format("woff2"),url(/assets/ibm-plex-sans-latin-500-normal-BgVn5rGT.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/ibm-plex-sans-cyrillic-ext-600-normal-DUMzJB7m.woff2) format("woff2"),url(/assets/ibm-plex-sans-cyrillic-ext-600-normal-Bz0x94Yp.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/ibm-plex-sans-cyrillic-600-normal-71GNu3SW.woff2) format("woff2"),url(/assets/ibm-plex-sans-cyrillic-600-normal-BGq0mW3O.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/ibm-plex-sans-greek-600-normal-DzTrcv_p.woff2) format("woff2"),url(/assets/ibm-plex-sans-greek-600-normal-D-CqTdkO.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/ibm-plex-sans-vietnamese-600-normal-DpPYBSTl.woff2) format("woff2"),url(/assets/ibm-plex-sans-vietnamese-600-normal-DgdngZtN.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/ibm-plex-sans-latin-ext-600-normal-DOrvGEcy.woff2) format("woff2"),url(/assets/ibm-plex-sans-latin-ext-600-normal-DIrixKbi.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/ibm-plex-sans-latin-600-normal-CuJfVYMP.woff2) format("woff2"),url(/assets/ibm-plex-sans-latin-600-normal-Cu4Hd6ag.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Comic Neue;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/comic-neue-latin-400-normal-BdhG8RSD.woff2) format("woff2"),url(/assets/comic-neue-latin-400-normal-CU7kPFAv.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Comic Neue;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/comic-neue-latin-700-normal-NE4Vcoll.woff2) format("woff2"),url(/assets/comic-neue-latin-700-normal-yR9qu__P.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Playtime With Hot Toddies;src:url(/fonts/PlaytimeWithHotToddies.ttf) format("truetype");font-style:normal;font-weight:400 700;font-display:swap}@font-face{font-family:Playtime Oblique;src:url(/fonts/PlaytimeOblique.ttf) format("truetype");font-style:normal;font-weight:400 700;font-display:swap}@font-face{font-family:"Playtime With Hot Toddies 3D";src:url(/fonts/PlaytimeWithHotToddies3D.ttf) format("truetype");font-style:normal;font-weight:400 700;font-display:swap}:root{font-family:IBM Plex Sans,sans-serif;color:#252b26;background:#f4f3ed;font-synthesis:none;--ink: #252b26;--muted: #62675e;--rule: #d5d7cc;--ground: #f4f3ed;--surface: #fafaf7;--accent: #b85e17;--wash: #fbecd9;--error: #ad3434;font-size:13px}.home{min-height:100dvh;background:var(--ground)}.home-bar{display:flex;align-items:center;gap:16px;padding:20px 40px;border-bottom:1px solid var(--rule);background:var(--surface)}.home-bar .button{margin-left:auto}.home-bar .brand{min-width:0}.home-location{color:var(--muted);padding-left:16px;border-left:1px solid var(--rule)}.home-content{max-width:1120px;margin:0 auto;padding:56px 40px 32px}.home h1{font-size:32px;font-weight:500;letter-spacing:-.03em;margin:0 0 10px;line-height:1.2}.library-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.library-heading p,.setup-heading p{color:var(--muted);font-size:15px;line-height:1.6}.library-tools{display:flex;align-items:center;gap:24px;padding:16px 0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}.project-search{display:flex;align-items:center;gap:10px;flex:1;max-width:400px;color:var(--muted)}.project-search input{width:100%;background:var(--surface)}.project-sort{display:flex;align-items:center;gap:10px;color:var(--muted)}.project-sort select{background:var(--surface)}.project-count{margin-left:auto;color:var(--muted);white-space:nowrap}.library-project{display:flex;align-items:center;gap:24px;padding:24px 0;border-bottom:1px solid var(--rule)}.project-cover{width:76px;height:108px;padding:0;flex-shrink:0;overflow:hidden;background:#e7e7de}.project-cover svg{height:100%;width:100%;display:block}.project-cover:hover{outline:2px solid var(--accent);outline-offset:3px}.project-details{flex:1;min-width:0}.project-open{display:flex;align-items:center;gap:10px;padding:0;text-align:left;max-width:100%}.project-open h2{overflow-wrap:anywhere;font-size:19px;font-weight:500}.project-open:hover{color:var(--accent)}.project-details>p{color:var(--muted);margin-top:9px}.project-details time{display:block;color:var(--muted);font-size:12px;margin-top:6px;font-variant-numeric:tabular-nums}.project-row-actions{display:flex;gap:6px}.library-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center;min-height:330px;padding:48px 20px}.library-empty>svg{color:var(--accent)}.library-empty h2{font-size:23px;font-weight:500}.library-empty p{color:var(--muted);line-height:1.6;max-width:420px}.empty-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}.library-footer{display:flex;justify-content:space-between;gap:20px;color:var(--muted);padding-top:24px;font-size:12px;line-height:1.6}.home-notice{background:var(--wash);display:flex;gap:16px;align-items:center;padding:16px;margin-bottom:24px;border-radius:6px;line-height:1.6}.home-notice p{flex:1}.home-back{display:inline-flex;align-items:center;gap:8px;margin-bottom:28px}.setup-heading{margin-bottom:32px}.project-setup{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.65fr);gap:64px;border-top:1px solid var(--rule);padding-top:32px}.setup-fields{display:flex;flex-direction:column;gap:24px}.setup-fields .field{margin:0}.setup-fields>.button{align-self:flex-start}.setup-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}.layout-choices{border:0;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}.layout-choices legend{padding:0;margin-bottom:12px;font-weight:500}.layout-choices label{display:flex;align-items:center;gap:8px;padding:12px;border:1px solid var(--rule);border-radius:6px;background:var(--surface);cursor:pointer}.layout-choices label.selected{border-color:var(--accent);background:var(--wash)}.layout-choices input{accent-color:var(--accent)}.setup-note{border-left:1px solid var(--rule);padding-left:32px;color:var(--muted);line-height:1.8}.setup-note>svg{color:var(--accent);margin-bottom:16px}.setup-note h2{color:var(--ink);font-size:22px;margin-bottom:16px}.setup-note p+p{margin-top:24px}.rename-form{display:flex;gap:8px;align-items:center}.rename-form input{width:100%}.delete-project{margin-top:16px;display:flex;flex-wrap:wrap;gap:8px}.delete-project p{flex-basis:100%;color:var(--muted);line-height:1.6}.button.danger{color:var(--error);border-color:var(--error)}@media(max-width:700px){.home-bar{padding:16px 20px;gap:12px;flex-wrap:wrap}.home-location{display:none}.home-bar .brand{font-size:20px}.home-content{padding:32px 20px}.home h1{font-size:27px}.library-heading{align-items:flex-start;flex-wrap:wrap;gap:16px}.library-tools{gap:12px;flex-wrap:wrap}.project-search{flex-basis:100%;max-width:none}.library-project{display:grid;grid-template-columns:58px minmax(0,1fr);gap:16px}.project-cover{width:58px;height:82px}.project-row-actions{grid-column:2;margin-left:0}.project-row-actions .icon-button{width:36px;height:36px}.library-footer{flex-direction:column;gap:4px}.project-setup{grid-template-columns:1fr;gap:32px}.setup-note{border-left:0;border-top:1px solid var(--rule);padding:24px 0 0}.setup-pair,.layout-choices{grid-template-columns:1fr}.rename-form{flex-wrap:wrap}}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.4;cursor:not-allowed}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid #aa5110;outline-offset:3px}::selection{background:#efd4ad;color:#252b26}input,textarea{caret-color:#b85e17}*{scrollbar-width:thin;scrollbar-color:#b5b8aa transparent}h2,h3,p{margin:0}h2{font-size:16px;font-weight:600;letter-spacing:-.025em}h3{font-size:12px;font-weight:600}svg{flex-shrink:0}a{color:inherit;text-decoration:none}button{border:0;background:none}input,select,textarea{min-width:0;border:1px solid var(--rule);border-radius:5px;background:#fff;color:var(--ink);padding:8px 10px}textarea{resize:vertical;line-height:1.5}input::placeholder,textarea::placeholder{color:#70766b}.studio{height:100dvh;min-height:480px;display:flex;flex-direction:column;overflow:hidden}.project-bar{height:72px;flex-shrink:0;display:flex;align-items:center;padding:0 24px;gap:16px;border-bottom:1px solid var(--rule);background:var(--surface);z-index:30}.brand{display:flex;align-items:center;gap:9px;font-size:23px;font-weight:600;letter-spacing:-.04em}.brand-dot{color:var(--accent)}.project-identity{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.project-identity>input{background:transparent;border:0;padding:0;width:min(100%,400px);font-size:14px;font-weight:500}.save-status{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:4px}.save-status.failed{color:var(--error)}.project-actions{display:flex;align-items:center;gap:8px}.divider{height:18px;width:1px;background:var(--rule);margin:0 6px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:5px;flex-shrink:0}.icon-button:not(:disabled):hover{background:#e9eadd}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--rule);border-radius:6px;background:var(--surface);padding:8px 12px;font-size:12px;font-weight:500;line-height:1.35;min-height:34px}.button:hover:not(:disabled){background:#eeefe6}.button.primary{background:var(--accent);border-color:var(--accent);color:#fff}.button.primary:hover:not(:disabled){background:#9f4f10}.button.quiet{border:0;background:transparent}.button.quiet:hover,.button.quiet.selected{background:#e9eadd}.button.danger{color:#a02d2d;background:transparent}.button.danger:hover{background:#f9e7e3}.button.full-width{width:100%;margin-top:10px}.text-button{display:inline-flex;align-items:center;gap:5px;font-weight:500;font-size:12px;color:#92460e;padding:5px 0}.text-button:hover{text-decoration:underline;text-underline-offset:3px}.workspace{flex:1;min-height:0;display:grid;grid-template-columns:204px minmax(0,1fr) 264px}.left-sidebar,.right-sidebar{background:var(--surface);display:flex;flex-direction:column;min-height:0;overflow:hidden}.left-sidebar{border-right:1px solid var(--rule)}.right-sidebar{border-left:1px solid var(--rule)}.sidebar-tabs{height:49px;flex-shrink:0;display:flex;align-items:stretch;border-bottom:1px solid var(--rule);padding:0 14px;gap:16px}.sidebar-tabs>button:not(.icon-button){display:flex;align-items:center;gap:5px;padding:0;font-size:12px;color:var(--muted);border-bottom:2px solid transparent}.sidebar-tabs>button.active{color:var(--ink);border-bottom-color:var(--accent)}.sidebar-tabs>button>span{font-size:10px;background:#e9eadd;padding:1px 4px;border-radius:3px}.right-tabs{gap:18px}.drawer-close{display:none}.page-list{padding:20px 20px 10px;overflow:auto;max-height:42%;min-height:180px;flex-shrink:0}.page-entry{display:block;width:100%;text-align:left;padding:0;margin-bottom:18px}.thumbnail{padding:5px;border:1px solid var(--rule);border-radius:5px;background:#eceee4;height:142px;display:flex;align-items:center;justify-content:center}.thumbnail svg{height:100%;max-width:100%;box-shadow:0 2px 3px #252b2610}.page-entry.active .thumbnail{border-color:var(--accent);background:#f5e5cd;outline:1px solid var(--accent)}.page-entry:hover .thumbnail{border-color:#909686}.page-entry-label{display:flex;justify-content:space-between;align-items:center;margin-top:8px;font-size:11px}.page-entry-label strong{font-weight:500}.page-entry-label>span{color:var(--muted);font-size:10px}.add-page{width:100%;border:1px dashed #b8bcad;border-radius:5px;display:flex;align-items:center;justify-content:center;gap:6px;padding:9px;font-size:12px;color:var(--muted)}.add-page:hover{background:#eeefe6}.page-actions{display:flex;align-items:center;justify-content:space-between;margin:7px 0}.bubble-library{border-top:1px solid var(--rule);padding:20px 16px;overflow:auto;flex:1;min-height:160px}.section-heading{display:flex;justify-content:space-between;align-items:center}.section-heading h2{font-size:13px;letter-spacing:0}.section-heading svg{color:var(--muted)}.bubble-library>p{color:var(--muted);font-size:10px;margin-top:5px;margin-bottom:17px}.bubble-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.bubble-grid>button{display:flex;align-items:center;flex-direction:column;gap:4px;min-height:74px;border-radius:5px;padding:7px 2px;color:#3d4738}.bubble-grid>button:hover{background:#eeefe4;color:#92460e}.bubble-grid span{font-size:10px;line-height:1.3}.sidebar-footer{height:44px;border-top:1px solid var(--rule);display:flex;align-items:center;justify-content:space-between;padding:0 12px;flex-shrink:0}.sidebar-footer>span{font-size:9px;color:var(--muted)}.main-workspace{display:flex;flex-direction:column;min-width:0;min-height:0;background:#e7e7de;position:relative}.page-toolbar{height:49px;min-height:49px;display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--surface);border-bottom:1px solid var(--rule);padding:0 20px;z-index:5}.page-heading{display:flex;align-items:center;gap:10px;min-width:0}.page-heading>span{font-size:11px;white-space:nowrap;font-weight:500}.toolbar-dot{width:3px;height:3px;background:#a0a598;border-radius:50%;flex-shrink:0}.page-heading>input{border:0;background:transparent;padding:0;font-size:12px;color:var(--muted);width:180px;max-width:100%}.toolbar-actions{display:flex;align-items:center;gap:3px}.canvas-area{flex:1;min-height:0;overflow:auto;padding:24px 40px 36px;position:relative}.canvas-heading,.canvas-caption{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:10px;color:var(--muted);max-width:100%;margin:0 auto 14px;white-space:nowrap;min-width:340px}.canvas-heading>span:first-child{font-weight:500;color:#4a5344}.muted{color:#72796b}.canvas-sheet{width:max-content;margin:0 auto}.page-canvas{display:block;box-shadow:0 6px 20px #252b2615;touch-action:none;-webkit-user-select:none;user-select:none}.panel-base,.lettering{cursor:move}.lettering:focus-visible .selection-box{stroke-width:2}.resize-handle{cursor:nwse-resize}.tail-handle{cursor:grab}.tail-handle:active{cursor:grabbing}.tail-section-body .segmented button{font-size:12px;gap:6px}.tail-section-body .help-copy{margin:8px 0}.tail-section-body .field-pair,.tail-section-body .text-button{margin-top:8px}.canvas-text-editor{display:block;width:100%;height:100%;border:0;background:#fffdf1;outline:1px solid #b85e17!important;border-radius:0;resize:none;overflow:auto;padding:3px;-webkit-user-select:text;user-select:text;box-sizing:border-box}.canvas-caption{margin-top:14px;margin-bottom:0}.canvas-footer{height:43px;min-height:43px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;background:var(--surface);border-top:1px solid var(--rule);gap:8px}.canvas-footer>span{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted)}.status-dot{height:5px;width:5px;background:#748565;border-radius:50%}.zoom-control{display:flex;align-items:center;gap:3px;font-size:10px}.zoom-control input{border:0;background:transparent;padding:2px;width:32px;text-align:center;font-size:11px;-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}.zoom-control input::-webkit-inner-spin-button{display:none}.zoom-control .icon-button{width:26px;height:26px}.inspector-content{padding:22px 18px 30px;overflow:auto;flex:1}.inspector-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:22px;gap:8px}.inspector-heading h2{font-size:16px}.inspector-heading p{font-size:11px;color:var(--muted);margin-top:4px}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px;min-width:0}.field>span{font-size:10px;font-weight:500;color:var(--muted)}.field input,.field select,.field textarea{width:100%;font-size:12px}.field input[type=number]{padding-right:3px}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.inspector-section{border-top:1px solid var(--rule);padding-top:18px;margin-top:22px}.inspector-section h3{margin-bottom:15px}.check-field{display:flex;align-items:center;gap:7px;font-size:12px;margin:12px 0;cursor:pointer}.check-field input{accent-color:var(--accent);width:14px;height:14px;padding:0;margin:0}.segmented{display:flex;border:1px solid var(--rule);border-radius:5px;overflow:hidden}.segmented button{flex:1;display:flex;align-items:center;justify-content:center;padding:7px}.segmented button+button{border-left:1px solid var(--rule)}.segmented button.active{background:var(--wash);color:#92460e}.segmented button:hover{background:#eeefe6}.style-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:5px}.style-grid button{display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 2px 5px;border:1px solid var(--rule);border-radius:5px;background:none;color:#3d4738}.style-grid button span{font-size:10px;line-height:1.3}.style-grid button:hover{background:#eeefe6}.style-grid button.active{background:var(--wash);border-color:var(--accent);color:#92460e}.help-copy{font-size:11px;line-height:1.6;color:var(--muted);margin:10px 0}.selection-hint{font-size:12px;line-height:1.7;color:var(--muted);padding:14px;background:#eeefe6;border-radius:5px}.inline-error{color:var(--error);font-size:11px;line-height:1.6;margin:8px 0}.production-note{margin-top:26px;padding-top:18px;border-top:1px solid var(--rule)}.production-note h3{margin-bottom:8px}.production-note p{font-size:11px;color:var(--muted);line-height:1.7;margin-bottom:8px}details{margin:12px 0}summary{cursor:pointer;font-size:11px;color:var(--muted);margin-bottom:10px}.character-list{padding:20px 16px;overflow:auto;max-height:50%}.character{display:flex;gap:8px;margin:18px 0}.character-avatar{width:26px;height:26px;display:flex;justify-content:center;align-items:center;background:#e3e8d8;color:#485637;font-size:12px;font-weight:600;border-radius:6px;flex-shrink:0}.character>div:last-child{min-width:0}.character input{border:0;background:transparent;width:100%;padding:3px 0;font-size:12px;font-weight:500}.character textarea{font-size:10px;width:100%;margin-top:6px;background:transparent;border:0;padding:0;line-height:1.5}.script-panel{border-top:1px solid var(--rule);padding-top:15px;margin-top:18px}.script-panel>.text-button{margin-bottom:12px}.export-notice{padding:12px;background:#fbecd9;color:#70400f;font-size:11px;line-height:1.7;margin:20px 0}.export-issues{padding:12px;background:#f8e5e0;color:#8f2929;font-size:11px;line-height:1.6;margin-bottom:16px}.export-issues p+p{margin-top:10px}.preflight-ok{display:flex;align-items:center;gap:7px;font-size:11px;color:#476039;margin:20px 0}.layout-editor{padding:14px 18px;background:#fffdf5;border-bottom:1px solid var(--rule);display:flex;align-items:center;flex-wrap:wrap;gap:12px;position:relative;z-index:4}.layout-editor>div{flex:1;min-width:180px}.layout-editor strong{font-size:12px}.layout-editor p{font-size:10px;color:var(--muted);margin-top:5px}.layout-editor .field{width:130px;margin:0}.layout-editor>.text-button{font-size:10px}.toast{position:fixed;bottom:60px;left:50%;transform:translate(-50%);max-width:min(560px,calc(100% - 32px));padding:12px 12px 12px 18px;background:#252b26;color:#fff;display:flex;align-items:center;gap:16px;border-radius:7px;z-index:100;box-shadow:0 4px 18px #252b2630;font-size:12px;line-height:1.5}.toast .icon-button:hover{background:#424b3b}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#252b2655;z-index:80;display:flex;align-items:center;justify-content:center;padding:24px}.project-dialog{width:480px;max-width:100%;background:var(--surface);padding:26px;border-radius:12px;max-height:85dvh;overflow:auto;box-shadow:0 12px 40px #252b2630}.dialog-heading{display:flex;justify-content:space-between;align-items:start;margin-bottom:22px}.dialog-heading h2{font-size:22px}.dialog-heading p{color:var(--muted);font-size:12px;margin-top:6px}.project-list>button{display:flex;align-items:center;gap:14px;width:100%;text-align:left;border-top:1px solid var(--rule);padding:16px 4px}.project-list>button:hover{background:#eeefe6}.project-list>button>span{flex:1;display:flex;flex-direction:column;gap:5px}.project-list strong{font-size:14px;font-weight:500}.project-list span span{font-size:11px;color:var(--muted)}.dialog-actions{margin-top:24px;display:flex;justify-content:space-between;gap:10px}.mobile-toggle{display:none}.empty-canvas{position:absolute;top:35%;left:50%;transform:translate(-50%);text-align:center;background:var(--surface);padding:22px;border-radius:8px;min-width:230px}.empty-canvas p{color:var(--muted);margin:10px 0 18px;font-size:12px}@media(min-width:1500px){.workspace{grid-template-columns:232px minmax(0,1fr) 288px}.project-bar{padding:0 28px;gap:24px}.page-list{padding-left:30px;padding-right:30px}.thumbnail{height:155px}.inspector-content{padding:26px 24px}.canvas-area{padding-top:30px}.bubble-library{padding:24px}.bubble-grid>button{min-height:84px}}@media(max-width:1100px){.workspace{grid-template-columns:174px minmax(0,1fr) 240px}.project-bar{padding:0 18px;gap:16px}.brand{min-width:0}.page-list{padding:16px 16px 8px}.canvas-area{padding:22px 24px}.page-toolbar{padding:0 12px}.page-heading>input{width:130px}.canvas-caption{white-space:normal;min-width:280px}.bubble-library{padding:18px 12px}.inspector-content{padding:20px 15px}}@media(max-width:900px){.workspace{grid-template-columns:174px minmax(0,1fr)}.right-sidebar{display:none;position:fixed;right:0;top:72px;bottom:0;width:280px;z-index:40;box-shadow:-4px 0 20px #252b2620}.right-sidebar.drawer-open{display:flex}.mobile-toggle{display:inline-flex}.right-sidebar .drawer-close{display:inline-flex;align-self:center;margin-left:auto}.right-tabs{gap:12px}.page-heading>input{width:170px}}@media(max-width:620px){.project-bar{height:62px;padding:0 12px;gap:14px}.brand{font-size:19px;min-width:0;gap:5px}.brand>svg{width:19px}.project-identity>input{font-size:12px;width:100%}.save-status{font-size:8px}.project-actions{gap:1px}.project-actions>.divider,.project-actions>.icon-button[aria-label=Redo]{display:none}.project-actions>.button{padding:7px 9px}.project-actions>.button>span{display:none}.project-actions .icon-button{width:26px}.workspace{grid-template-columns:minmax(0,1fr)}.left-sidebar{display:none;position:fixed;left:0;top:62px;bottom:0;width:220px;z-index:40;box-shadow:4px 0 20px #252b2620}.left-sidebar.drawer-open{display:flex}.left-sidebar .drawer-close{display:inline-flex;align-self:center;margin-left:auto}.right-sidebar{top:62px;width:min(290px,90vw)}.page-toolbar{height:auto;min-height:49px;padding:6px 8px;gap:2px}.page-heading{gap:6px}.page-heading>input{width:108px;font-size:11px}.page-heading>span{font-size:10px}.toolbar-actions .button{font-size:0;padding:6px;gap:4px}.toolbar-actions .button svg{width:14px}.toolbar-actions>.icon-button[aria-label="Sort panels in reading order"]{display:none}.canvas-area{padding:18px 22px 30px}.canvas-heading,.canvas-caption{font-size:9px;min-width:300px}.canvas-footer{padding:0 8px}.canvas-footer>span{font-size:8px;max-width:165px}.zoom-control{gap:0}.zoom-control .icon-button{width:25px}.layout-editor{padding:12px;gap:10px}.layout-editor .field{width:calc(50% - 8px)}.layout-editor>div{flex-basis:100%}.dialog-actions{flex-wrap:wrap}.project-dialog{padding:22px}.modal-backdrop{padding:14px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}.project-bar{height:48px;min-height:48px;padding:0 16px;gap:16px}.brand{font-size:20px;min-width:0}.project-identity{display:flex;align-items:center;gap:12px}.project-identity>input{font-size:13px}.save-status{white-space:nowrap;font-size:10px;margin-left:auto}.workspace{grid-template-columns:52px minmax(0,1fr) 280px}.tool-rail{display:flex;flex-direction:column;align-items:center;gap:3px;padding:10px 4px;background:var(--surface);border-right:1px solid var(--rule);overflow:auto;min-height:0}.tool-rail>.icon-button{width:38px;height:34px}.tool-rail .active{background:var(--wash);color:#92460e;box-shadow:inset 0 0 0 1px #d5a77f}.rail-rule{width:28px;height:1px;background:var(--rule);margin:7px 0}.lettering-tool{width:40px;height:39px;border-radius:5px;display:flex;align-items:center;justify-content:center}.lettering-tool svg{width:30px;height:25px}.lettering-tool:hover{background:var(--wash);color:#92460e}.shortcut-button{margin-top:auto}.page-toolbar{height:36px;min-height:36px;padding:0 12px}.page-heading>input{width:240px}.page-heading>span{font-size:11px}.selection-toolbar{height:46px;min-height:46px;display:flex;align-items:center;gap:10px;padding:0 12px;background:#f4f3ed;border-bottom:1px solid var(--rule);overflow-x:auto;white-space:nowrap}.selection-toolbar>strong{font-size:12px;min-width:66px;font-weight:500}.context-hint{color:var(--muted);font-size:11px}.quick-geometry{display:flex;gap:8px}.quick-geometry .field{flex-direction:row;align-items:center;gap:5px;margin:0}.quick-geometry input{width:64px;font-size:11px;padding:4px;height:27px}.selection-toolbar>select{width:110px;padding:4px;font-size:11px;height:27px}.selection-actions{display:flex;margin-left:auto;gap:2px}.selection-toolbar .button{min-height:27px;padding:4px 7px;font-size:11px}.canvas-area{overflow:hidden;padding:0;display:flex;align-items:center;justify-content:center;background:#e3e4dc;overscroll-behavior:none}.canvas-sheet{margin:0;flex-shrink:0;will-change:transform}.canvas-area.hand-mode{cursor:grab}.canvas-area.hand-mode:active{cursor:grabbing}.hand-mode .lettering,.hand-mode .panel-base{cursor:inherit}.page-canvas{box-shadow:0 4px 16px #252b2620}.canvas-footer{height:30px;min-height:30px;padding:0 10px}.canvas-footer>span{font-size:10px}.page-strip{height:54px;min-height:54px;display:flex;align-items:center;gap:4px;overflow-x:auto;padding:4px 8px;border-top:1px solid var(--rule);background:var(--surface)}.page-chip{display:flex;align-items:center;gap:8px;white-space:nowrap;padding:4px 12px 4px 5px;border:1px solid transparent;border-radius:4px;font-size:11px;flex-shrink:0}.page-chip.active{border-color:#c79265;background:var(--wash);color:#783907}.page-chip:hover{background:#eeefe6}.mini-thumbnail{height:34px;width:25px;display:flex;align-items:center;justify-content:center}.mini-thumbnail svg{height:100%;width:100%;border:1px solid #aaa}.page-strip-actions{display:flex;gap:2px;margin-left:auto;flex-shrink:0}.sidebar-tabs{height:36px;min-height:36px;padding:0 12px;gap:18px}.sidebar-tabs>button:not(.icon-button){font-size:11px}.inspector-content{padding:14px;min-height:0}.inspector-heading{margin-bottom:14px}.inspector-heading h2{font-size:14px}.inspector-heading p{font-size:10px}.field{gap:4px;margin-bottom:10px}.field input,.field select,.field textarea{font-size:12px;padding:6px 8px}.field textarea{resize:vertical;min-height:60px;max-height:170px}.inspector-section{padding-top:12px;margin-top:14px}.inspector-section h3{margin-bottom:10px}.inspector-section>summary{font-weight:500;font-size:12px;color:var(--ink);padding:2px 0}.inspector-section .field-pair{gap:8px}.help-copy{font-size:11px;line-height:1.5}.selection-hint{padding:10px;font-size:11px}.production-note{margin-top:14px;padding-top:12px}.objects-dock{height:190px;min-height:130px;max-height:28%;border-top:1px solid var(--rule);display:flex;flex-direction:column;background:#f4f3ed}.objects-dock h3{font-size:11px;font-weight:500;padding:8px 12px;display:flex;justify-content:space-between;border-bottom:1px solid var(--rule)}.objects-dock h3 span{color:var(--muted)}.objects-list{overflow:auto;min-height:0;flex:1;padding:4px 0}.object-row{width:100%;display:flex;align-items:center;gap:7px;padding:5px 12px 5px 27px;text-align:left;font-size:11px;height:27px}.object-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.object-row svg{flex-shrink:0;color:var(--muted)}.object-row.panel-row{font-weight:500;padding-left:12px}.panel-row>span{margin-left:auto;color:var(--muted)}.object-row:hover{background:#e9eadd}.object-row.active{background:var(--wash);color:#783907}.layout-editor{position:absolute;top:82px;left:12px;right:12px;z-index:20;border:1px solid var(--rule);border-radius:6px;box-shadow:0 8px 20px #252b2620;padding:14px;align-items:end}.layout-editor>div{flex-basis:100%}.layout-editor .field{width:145px}.layout-editor>.icon-button{position:absolute;right:8px;top:8px}.shortcut-popover{position:fixed;left:64px;bottom:18px;width:370px;max-width:calc(100vw - 80px);background:var(--surface);border:1px solid var(--rule);padding:18px;z-index:70;border-radius:8px;box-shadow:0 8px 24px #252b2625}.shortcut-popover .dialog-heading{margin-bottom:12px}.shortcut-popover h2{font-size:15px}.shortcut-popover>div:not(.dialog-heading){display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;padding:7px 0;border-bottom:1px solid #e5e6dc}.shortcut-popover kbd{font-family:inherit;font-size:10px;background:#e9eadd;padding:3px 5px;border-radius:3px;white-space:nowrap}.shortcut-popover p{font-size:10px;color:var(--muted);margin-top:12px}.mobile-toggle[aria-label="Show pages and lettering"]{display:none}.toast{bottom:100px}.project-actions{gap:3px}.project-actions .button{min-height:29px;padding:6px 10px}.project-dialog{border-radius:8px}@media(min-width:1500px){.workspace{grid-template-columns:52px minmax(0,1fr) 288px}.project-bar{padding:0 18px;gap:24px}.inspector-content{padding:16px}.canvas-area{padding:0}}@media(max-width:1100px){.workspace{grid-template-columns:48px minmax(0,1fr) 250px}.project-bar{gap:16px}.brand{min-width:0}.canvas-area{padding:0}.inspector-content{padding:12px}.save-status{font-size:9px}.page-heading>input{width:170px}}@media(max-width:900px){.workspace{grid-template-columns:48px minmax(0,1fr)}.right-sidebar{top:48px;bottom:0;width:280px}.project-identity{gap:8px}.save-status{display:none}.canvas-area{padding:0}.page-toolbar .mobile-toggle[aria-label="Show properties"]{display:inline-flex}}@media(max-width:620px){.project-bar{height:48px;padding:0 8px;gap:8px}.brand{font-size:16px;gap:4px}.brand>svg{display:none}.project-identity>input{font-size:12px;min-width:0}.project-actions>.icon-button[aria-label="New script"],.project-actions>.icon-button[aria-label="Save project file"]{display:none}.project-actions>.icon-button[aria-label=Redo]{display:inline-flex}.workspace{grid-template-columns:42px minmax(0,1fr)}.tool-rail{padding:8px 2px;gap:2px}.tool-rail>.icon-button{width:34px;height:32px}.lettering-tool{width:34px;height:36px}.page-toolbar{height:36px;min-height:36px;padding:0 6px}.page-heading>input{width:82px}.page-heading{gap:5px}.toolbar-actions .button{padding:4px;min-height:27px}.toolbar-actions .button svg:last-child{display:none}.selection-toolbar{height:43px;min-height:43px;padding:0 7px;gap:6px}.selection-toolbar>strong{min-width:48px;font-size:11px}.context-hint{font-size:10px}.quick-geometry input{width:48px}.selection-toolbar>select{width:90px}.selection-toolbar .button{font-size:10px}.selection-actions{margin-left:4px}.canvas-area{padding:0}.canvas-footer{padding:0 4px}.canvas-footer>span{max-width:115px;font-size:9px}.zoom-control .icon-button{width:23px}.page-strip{height:50px;min-height:50px;padding:3px}.page-chip{padding:3px 7px 3px 3px;gap:4px}.page-strip-actions{display:none}.right-sidebar{top:48px;width:min(280px,85vw)}.layout-editor{top:79px;left:5px;right:5px;padding:12px;gap:10px}.layout-editor .field{width:calc(50% - 6px)}.shortcut-popover{left:47px;bottom:8px;padding:12px;max-height:85dvh;overflow:auto}.shortcut-popover>div:not(.dialog-heading){font-size:10px}.shortcut-popover kbd{font-size:9px}}.project-identity{flex-direction:row;justify-content:flex-start}.project-identity>input{width:min(45vw,300px)}.tool-rail{touch-action:pan-y}.canvas-area{touch-action:none}.objects-dock{flex-shrink:0}.inspector-content{flex:1 1 0}.tool-rail button:focus-visible{outline-offset:0}@media(max-width:620px){.brand{min-width:80px}.project-identity>input{width:100%}.selection-toolbar>select[aria-label="Selected font"]{width:110px}}.workspace{grid-template-columns:52px minmax(0,1fr) var(--dock-width, 280px)}.tool-rail>.icon-button{flex:0 0 34px}.lettering-tool{flex:0 0 39px}.icon-button>svg{width:18px;height:18px;min-width:18px;max-width:18px;flex:0 0 18px;align-self:center;display:block}.lettering-tool>svg{width:34px;height:26px;flex:none;display:block;aspect-ratio:17/13}.sidebar-tabs svg,.object-row svg{width:16px;height:16px;min-width:16px;max-width:16px;flex:0 0 16px}.selection-toolbar>*{flex-shrink:0}.panel-operation-group{display:flex;align-items:center;gap:2px}.panel-operation-group+.panel-operation-group{padding-left:10px;border-left:1px solid var(--rule)}.selection-toolbar .field input{font-variant-numeric:tabular-nums}.selection-toolbar .active{background:var(--wash);color:#783907}.auto-layout-toggle{margin-left:4px}.document-tools{display:flex;align-items:center;gap:4px}.selection-toolbar>strong{min-width:58px}.selection-actions{margin-left:auto}.dock-tab-label{display:none}.right-tabs{gap:5px}.right-tabs>button:not(.icon-button){justify-content:center;width:36px}.right-sidebar{position:relative}.dock-resize{position:absolute;left:-3px;top:36px;bottom:0;width:7px;cursor:col-resize;z-index:25;touch-action:none}.dock-resize:hover{background:#b85e1740}.dock-toggle{margin-right:auto}.dock-collapsed .workspace{grid-template-columns:52px minmax(0,1fr) 44px}.dock-collapsed .right-sidebar .inspector-content,.dock-collapsed .objects-dock,.dock-collapsed .dock-resize{display:none}.dock-collapsed .right-tabs{height:auto;flex-direction:column;padding:7px 4px;gap:7px;border:0}.dock-collapsed .right-tabs>button{height:32px;min-height:32px;width:34px;margin:0;border-bottom:0}.dock-collapsed .right-tabs>button.active{background:var(--wash);border-radius:4px}.auto-layout-editor{position:absolute;left:12px;top:88px;width:min(540px,calc(100% - 24px));background:var(--surface);border:1px solid var(--rule);border-radius:6px;box-shadow:0 8px 24px #252b2625;z-index:30;max-height:calc(100% - 160px);display:flex;flex-direction:column;overflow:hidden}.auto-layout-editor>header{display:flex;align-items:center;gap:8px;padding:9px 12px;border-bottom:1px solid var(--rule)}.auto-layout-editor header strong{font-size:12px;font-weight:500}.auto-layout-editor header>span{margin-left:auto;font-size:10px;color:var(--muted)}.auto-layout-editor>footer{display:flex;align-items:center;gap:8px;padding:8px 12px;border-top:1px solid var(--rule)}.auto-layout-editor footer>span{font-size:10px;color:var(--muted);flex:1}.auto-layout-editor footer .button{min-height:29px;padding:5px 12px}.layout-builder{display:flex;gap:16px;padding:14px;min-height:0;overflow:auto;align-items:flex-start}.layout-preview{width:115px;max-height:190px;flex:0 0 115px;box-shadow:0 2px 8px #252b2618}.layout-controls{flex:1;min-width:0}.layout-presets{display:flex;align-items:center;gap:5px;margin-bottom:12px;flex-wrap:wrap}.layout-presets>button{width:33px;height:40px;display:flex;align-items:center;justify-content:center;color:var(--muted);border-radius:3px}.layout-presets>button:hover,.layout-presets>button:focus-visible{background:var(--wash);color:#783907}.layout-presets svg{width:28px;height:35px;flex:none}.layout-row{display:flex;align-items:center;gap:5px;margin-bottom:7px}.layout-row>svg{width:14px;height:14px;flex:none;color:var(--muted)}.layout-row>select{padding:4px;font-size:11px;height:27px;width:56px}.layout-row>select:first-of-type{width:43px}.layout-row>.field{margin:0;width:52px}.layout-row>.field>span{display:none}.layout-row input{padding:4px;font-size:11px;height:27px}.layout-row .icon-button{width:25px;height:25px}.layout-row .icon-button>svg{width:14px;height:14px;min-width:14px;flex-basis:14px}.layout-gaps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-top:1px solid var(--rule);padding-top:12px;margin-top:8px}.layout-gaps .field{margin-bottom:0}.layout-gaps input{font-size:11px;padding:5px}.layout-gaps .field>span{font-size:10px}.split-limits-note{margin:8px 0 0;font-size:11px;color:var(--muted)}.measurement-units{display:flex;align-items:center;gap:8px;margin-bottom:12px;font-size:11px;color:var(--muted)}.measurement-units select{min-width:0;flex:1}.production-note>summary{color:var(--ink);font-size:11px}.objects-dock h3{font-size:10px}.tool-rail .rail-rule{flex-shrink:0}@media(max-width:1100px){.workspace{grid-template-columns:48px minmax(0,1fr) min(var(--dock-width, 280px),260px)}.dock-collapsed .workspace{grid-template-columns:48px minmax(0,1fr) 44px}}@media(max-width:900px){.workspace,.dock-collapsed .workspace{grid-template-columns:48px minmax(0,1fr)}.right-sidebar{position:fixed;width:min(var(--dock-width, 280px),85vw)}.dock-resize,.dock-toggle{display:none}.dock-collapsed .right-sidebar .inspector-content,.dock-collapsed .objects-dock{display:flex}.dock-collapsed .right-tabs{flex-direction:row;height:36px;padding:0 12px;gap:5px}.right-tabs .drawer-close{margin-left:auto}.auto-layout-editor{max-height:calc(100% - 140px)}}@media(max-width:620px){.workspace,.dock-collapsed .workspace{grid-template-columns:42px minmax(0,1fr)}.tool-rail>.icon-button{flex-basis:32px}.lettering-tool{flex-basis:36px}.selection-toolbar>strong{min-width:48px}.auto-layout-editor{left:5px;top:83px;width:calc(100% - 10px)}.layout-builder{gap:10px;padding:10px;flex-wrap:wrap}.layout-preview{width:60px;flex-basis:60px;max-height:95px}.layout-controls{flex-basis:calc(100% - 75px)}.layout-presets{gap:1px}.layout-presets>button{width:28px;height:34px}.layout-presets svg{width:24px;height:30px}.layout-row{gap:3px}.layout-row>svg{display:none}.layout-row>select{width:49px}.layout-row>select:first-of-type{width:38px}.layout-row>.field{width:42px}.layout-gaps{gap:5px}.auto-layout-editor>footer{padding:6px 8px}.auto-layout-editor footer>span{font-size:9px}}.resize-horizontal{cursor:ew-resize}.resize-vertical{cursor:ns-resize}@media(min-width:901px)and (max-width:1100px){.workspace{grid-template-columns:48px minmax(0,1fr) min(var(--dock-width, 280px),40vw)}}@media(max-width:900px){.dock-collapsed .right-sidebar .inspector-content{display:block}}.canvas-text-editor{background:transparent;border:0;outline:none!important;box-shadow:none;border-radius:0;padding:3px;color:var(--ink)}.rotate-handle{cursor:grab;touch-action:none}.rotate-handle:active{cursor:grabbing}.rotate-handle:focus-visible{outline:2px solid #aa5110;outline-offset:3px}.canvas-handles-toggle.active{color:var(--accent);background:var(--wash)}.layout-margins{margin-top:12px;border-top:1px solid var(--rule);padding-top:8px}.margin-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.margin-heading strong{font-size:11px;font-weight:500}.margin-heading .active{color:var(--accent);background:var(--wash)}.margin-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.page-canvas{overflow:visible}.canvas-multi-select-toggle.active{color:var(--accent);background:var(--wash)}.multi-panel-actions{display:flex;align-items:center;gap:8px}.panel-base:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.image-object-preview{display:block;width:100%;max-height:160px;object-fit:contain;margin-bottom:8px}
