:root{--ink:#17171a;--ink-2:#4e4b45;--ink-3:#8c877d;--line:#e7e2d8;--line-strong:#d6d0c4;--surface:#fff;--surface-2:#f8f6f1;--surface-3:#efebe3;--paper:#f3efe6;--workspace:#ece7dc;--dot:#d3ccbd;--accent:#ff5f1f;--accent-hover:#ec4f10;--accent-ink:#c2410c;--accent-soft:#fff0e6;--lime:#d4f25a;--lime-deep:#b9dc2e;--night:#17171a;--danger:#d93a3a;--danger-soft:#fdeceb;--radius-sm:8px;--radius:10px;--radius-lg:16px;--shadow-pop:0 12px 36px #28201029, 0 2px 6px #2820100f;--shadow-card:0 1px 2px #2820100f, 0 0 0 1px #2820100f;--shadow-island:0 4px 18px #2820101a, 0 0 0 1px #28201012;--font:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--display:"Instrument Serif", Georgia, serif;--mono:ui-monospace, "SF Mono", Menlo, Consolas, monospace;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*,:before,:after{box-sizing:border-box}html,body,#root{height:100%}body{background:var(--paper);color:var(--ink);font:14px/1.45 var(--font);-webkit-font-smoothing:antialiased;margin:0}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;background:0 0;border:0;padding:0}button:disabled{cursor:default}h1,h2,h3,h4,p{margin:0}img{display:block}hr{border:0;border-top:1px solid var(--line);margin:6px 0}kbd{font:12px var(--font);color:var(--ink-3)}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.muted{color:var(--ink-3)}.small{font-size:12px}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.logo{align-items:center;gap:.35em;display:inline-flex}.logo__word{font:italic 400 1.45em/1 var(--display);letter-spacing:-.01em}.display{font-family:var(--display);letter-spacing:-.01em;font-weight:400}.logo svg{flex:none}.btn{border-radius:var(--radius);border:1px solid var(--line-strong);background:var(--surface);white-space:nowrap;justify-content:center;align-items:center;gap:8px;height:40px;padding:0 16px;font-weight:600;transition:background .12s,border-color .12s;display:inline-flex}.btn:hover:not(:disabled){background:var(--surface-2)}.btn:disabled{opacity:.5}.btn--primary{background:var(--ink);border-color:var(--ink);color:#fff}.btn--primary:hover:not(:disabled){background:#2c2b30}.btn--pop{background:var(--lime);border-color:var(--ink);color:var(--ink);box-shadow:2px 2px 0 var(--ink);transition:transform .1s,box-shadow .1s}.btn--pop:hover:not(:disabled){background:var(--lime);box-shadow:3px 3px 0 var(--ink);transform:translate(-1px,-1px)}.btn--pop:active:not(:disabled){box-shadow:1px 1px 0 var(--ink);transform:translate(1px,1px)}.btn--light{color:var(--ink);background:#fff;border-color:#fff}.btn--light:hover:not(:disabled){background:#f1f1f4}.btn--danger{background:var(--danger);border-color:var(--danger);color:#fff}.btn--danger:hover:not(:disabled){background:#c52f34}.btn--block{width:100%}.btn--lg{height:44px;font-size:15px}.link{color:var(--ink);text-decoration:underline;-webkit-text-decoration-color:var(--accent);text-decoration-color:var(--accent);text-underline-offset:3px;font-weight:600}.link:hover{text-decoration:underline}.icon-btn{border-radius:var(--radius-sm);width:36px;height:36px;color:var(--ink);flex:none;place-items:center;display:inline-grid;position:relative}.icon-btn--sm{width:28px;height:28px;color:var(--ink-2)}.icon-btn:hover:not(:disabled){background:var(--surface-3)}.icon-btn.is-active{background:var(--lime);color:var(--ink)}.icon-btn:disabled{opacity:.35}[data-tip]{position:relative}[data-tip]:after{content:attr(data-tip);color:#fff;white-space:nowrap;pointer-events:none;opacity:0;z-index:500;background:#1c1b22;border-radius:6px;padding:5px 8px;font-size:12px;font-weight:500;line-height:1.3;transition:opacity .1s;position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%)}[data-tip-pos=right]:after{top:50%;left:calc(100% + 12px);transform:translateY(-50%)}[data-tip-pos=above]:after{top:auto;bottom:calc(100% + 8px)}[data-tip]:hover:after{opacity:1;transition-delay:.45s}[data-tip]:active:after,[aria-expanded=true]:after{opacity:0}.text-input,.input-label input,.size-inputs input{border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--surface);width:100%;height:40px;padding:0 12px}.text-input:focus,.input-label input:focus,.size-inputs input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}.input-label{gap:6px;font-size:13px;font-weight:600;display:grid}.search-field{border-radius:var(--radius);border:1px solid var(--line-strong);background:var(--surface);height:40px;color:var(--ink-3);flex:none;align-items:center;gap:8px;padding:0 12px;display:flex}.search-field:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.search-field input{min-width:0;color:var(--ink);background:0 0;border:0;outline:0;flex:1}.search-field--lg{background:var(--surface-2);border-color:#0000;border-radius:10px;height:44px}.check{cursor:pointer;align-items:center;gap:8px;font-size:13px;display:flex}.check input{width:16px;height:16px;accent-color:var(--accent)}.form-error{color:var(--danger);background:var(--danger-soft);border-radius:var(--radius-sm);padding:8px 10px;font-size:13px}.segmented{border-radius:var(--radius);background:var(--surface-3);gap:2px;padding:3px;display:flex}.segmented button{height:32px;color:var(--ink-2);border-radius:6px;flex:1;font-size:13px;font-weight:500}.segmented button.is-active{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px #00000014}.size-inputs{align-items:flex-end;gap:8px;display:flex}.size-inputs label{color:var(--ink-2);flex:1;gap:4px;font-size:12px;font-weight:600;display:grid}.size-inputs__x,.size-inputs__unit{height:40px;color:var(--ink-3);line-height:40px}.slider{gap:6px;display:grid}.slider__label{font-size:13px;font-weight:500}.slider__row{align-items:center;gap:12px;display:flex}input[type=range]{--fill:50%;appearance:none;background:linear-gradient(to right, var(--accent) var(--fill), var(--line-strong) var(--fill));outline-offset:6px;border-radius:2px;flex:1;height:4px}input[type=range]::-webkit-slider-thumb{appearance:none;border:1px solid var(--line-strong);background:#fff;border-radius:50%;width:16px;height:16px;box-shadow:0 1px 3px #0003}input[type=range]::-moz-range-thumb{border:1px solid var(--line-strong);background:#fff;border-radius:50%;width:16px;height:16px;box-shadow:0 1px 3px #0003}.slider__value{border:1px solid var(--line-strong);border-radius:var(--radius-sm);width:64px;height:32px;color:var(--ink-3);align-items:center;gap:2px;padding:0 8px;font-size:13px;display:flex}.slider__value input{text-align:right;width:100%;color:var(--ink);background:0 0;border:0;outline:0}.popover{z-index:1000;background:var(--surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-pop);border:1px solid var(--line);max-height:calc(100vh - 16px);animation:.12s ease-out pop-in;position:fixed;overflow:auto}@keyframes pop-in{0%{opacity:0;transform:translateY(-4px)}}.menu,.context-menu{min-width:220px;padding:6px}.menu-item{border-radius:var(--radius-sm);text-align:left;align-items:center;gap:10px;width:100%;height:36px;padding:0 10px;display:flex}.menu-item:hover:not(:disabled){background:var(--surface-3)}.menu-item:disabled{opacity:.4}.menu-item__icon{width:18px;color:var(--ink-2);place-items:center;display:grid}.menu-item__icon:empty{display:none}.menu-item__label{flex:1}.menu-item.is-danger,.menu-item.is-danger .menu-item__icon{color:var(--danger)}.menu-user{padding:8px 10px;display:grid}.menu-user span{color:var(--ink-3);font-size:13px}.panel-popover{gap:16px;width:280px;padding:16px;display:grid}.panel-popover--wide{width:320px}.dialog-backdrop{z-index:900;background:#100e1e73;place-items:center;padding:24px;animation:.15s fade-in;display:grid;position:fixed;inset:0}@keyframes fade-in{0%{opacity:0}}.dialog{background:var(--surface);max-width:100%;max-height:calc(100vh - 48px);box-shadow:var(--shadow-pop);border-radius:16px;flex-direction:column;display:flex;overflow:hidden}.dialog__header{justify-content:space-between;align-items:center;padding:18px 20px 8px 24px;display:flex}.dialog__header h2{font-size:18px}.dialog__body{gap:16px;padding:12px 24px;display:grid;overflow:auto}.dialog__footer{justify-content:flex-end;gap:8px;padding:16px 24px 20px;display:flex}.avatar{background:var(--lime);width:36px;height:36px;color:var(--ink);border:1.5px solid var(--ink);border-radius:50%;flex:none;font-size:13px;font-weight:700}.empty-note{color:var(--ink-3);padding:16px 4px;font-size:13px}.empty-state{text-align:center;border:1px dashed var(--line-strong);border-radius:var(--radius-lg);gap:6px;padding:28px 16px;display:grid}.empty-state--wide{padding:48px 24px}.screen-message{height:100%;color:var(--ink-2);place-content:center;justify-items:center;gap:16px;font-size:15px;display:grid}.chips{scrollbar-width:none;flex:none;gap:6px;display:flex;overflow-x:auto}.chip{border:1px solid var(--line-strong);white-space:nowrap;border-radius:16px;height:32px;padding:0 12px;font-size:13px;font-weight:500}.chip:hover{background:var(--surface-2)}.chip.is-active{background:var(--ink);border-color:var(--ink);color:#fff}.badge{color:#fff;background:#000000a6;border-radius:4px;padding:2px 6px;font-size:11px;font-weight:600;position:absolute;bottom:6px;right:6px}.preset-row{border-radius:var(--radius-sm);text-align:left;align-items:center;gap:12px;width:100%;min-height:40px;padding:0 10px;display:flex}.preset-row:hover:not(:disabled),.preset-row.is-active{background:var(--surface-3)}.preset-row span:nth-last-child(2){flex:1}.preset-row .muted{font-size:12px}.preset-shape{place-items:center;width:22px;height:22px;display:grid}.preset-shape span{border:1.5px solid var(--ink-2);border-radius:2px}.preset-list{border:1px solid var(--line);border-radius:var(--radius);max-height:260px;padding:4px;overflow:auto}.shortcut-list{margin:0;padding:8px 24px 24px;display:grid}.shortcut-list div{border-bottom:1px solid var(--line);justify-content:space-between;padding:8px 0;display:flex}.shortcut-list dd{margin:0}.shortcut-list kbd{color:var(--ink-2);background:var(--surface-3);border-radius:4px;padding:2px 8px;font-size:13px}.home{background:var(--paper);flex-direction:column;height:100vh;display:flex}.home-top{grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;padding:14px 28px;display:grid}.home-top__logo{color:inherit;justify-self:start;text-decoration:none}.tabs{background:var(--surface);box-shadow:var(--shadow-card);border-radius:999px;gap:2px;padding:4px;display:flex}.tabs__item{height:36px;color:var(--ink-2);border-radius:999px;place-items:center;padding:0 18px;font-weight:500;text-decoration:none;display:grid}.tabs__item:hover{color:var(--ink);background:var(--surface-2)}.tabs__item.is-active{background:var(--ink);color:#fff}.home-top__right{justify-self:end;align-items:center;gap:10px;display:flex}.home-top__right .search-field{background:var(--surface);border-color:var(--line);border-radius:999px;width:200px}.home-top__right .btn--pop{border-width:1.5px;border-radius:999px}.create-popover{width:380px}.create-menu{flex-direction:column;gap:10px;max-height:min(620px,100vh - 40px);padding:14px;display:flex}.create-menu__list{min-height:120px;margin:0 -6px;padding:0 6px;overflow-y:auto}.create-menu__custom{border-top:1px solid var(--line);gap:10px;padding-top:12px;display:grid}.create-menu__custom h4{font-size:13px}.dialog .create-menu{padding-top:4px}.home-content{flex:1;width:100%;overflow-y:auto}.home-inner{max-width:1680px;margin:0 auto;padding:24px 40px 80px}.page-title{margin:12px 0 28px;font-size:46px;line-height:1.05}.greeting{padding:28px 0 8px}.greeting__date{font:500 12px var(--mono);text-transform:uppercase;letter-spacing:.08em;color:var(--ink-3);margin-bottom:10px}.greeting h1{max-width:900px;font-size:clamp(40px,5.2vw,68px);line-height:1}.greeting em{color:var(--ink-3)}.shelf{scrollbar-width:thin;gap:10px;margin:32px -40px 0;padding:4px 40px 12px;display:flex;overflow-x:auto}.size-card{text-align:left;flex:none;gap:2px;width:126px;display:grid}.size-card__stage{border-radius:var(--radius-lg);background:var(--surface);height:118px;box-shadow:var(--shadow-card);place-items:center;margin-bottom:8px;transition:transform .12s,box-shadow .12s;display:grid}.size-card__paper{background:var(--paper);border:1.5px solid var(--ink);border-radius:3px;transition:background .12s;display:block}.size-card:hover .size-card__stage{box-shadow:3px 3px 0 var(--ink), 0 0 0 1.5px var(--ink);transform:translateY(-3px)}.size-card:hover .size-card__paper{background:var(--lime)}.size-card strong{font-size:13px;font-weight:600}.size-card__dims{font:12px var(--mono);color:var(--ink-3)}.size-card--custom .size-card__stage{box-shadow:none;border:1.5px dashed var(--line-strong);color:var(--ink-2);background:0 0}.size-card--custom:hover .size-card__stage{border-color:var(--ink);background:var(--lime);color:var(--ink);border-style:solid}.home-section{margin-top:44px}.home-section__head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:baseline;margin-bottom:16px;padding-bottom:10px;display:flex}.home-section h2{font:400 30px/1.1 var(--display)}.design-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:28px 22px;display:grid}.design-card{gap:10px;min-width:0;display:grid}.design-card__thumb{aspect-ratio:4/3;border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-card);justify-content:center;align-items:center;padding:18px;transition:transform .12s,box-shadow .12s;display:flex;overflow:hidden}.design-card__thumb:hover{box-shadow:4px 4px 0 var(--ink), 0 0 0 1.5px var(--ink);transform:translateY(-3px)}.design-card__thumb img{object-fit:contain;max-width:100%;min-height:0;max-height:100%;box-shadow:0 1px 4px #28201029}.design-card__blank{background:#fff;max-width:100%;height:100%;max-height:100%;display:block;box-shadow:0 1px 4px #28201029}.design-card__meta{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.design-card__meta>div{min-width:0;display:grid}.design-card__title{white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.design-card__more{opacity:0}.design-card:hover .design-card__more,.design-card__more:focus-visible{opacity:1}.design-card__skeleton{aspect-ratio:4/3;border-radius:var(--radius-lg);background:var(--surface-3);animation:1.2s ease-in-out infinite alternate skeleton}@keyframes skeleton{to{opacity:.5}}.empty-state{background:#ffffff80}.template-row{flex-wrap:wrap;gap:22px;display:flex}.template-group+.template-group{margin-top:40px}.template-group h2{margin-bottom:16px}.home-template{text-align:left;gap:2px;width:236px;display:grid}.home-template__thumb{border-radius:var(--radius-lg);background:var(--surface);height:172px;box-shadow:var(--shadow-card);place-items:center;margin-bottom:8px;transition:transform .12s,box-shadow .12s;display:grid;overflow:hidden}.home-template__thumb canvas{box-shadow:0 1px 4px #28201029}.home-template:hover .home-template__thumb{box-shadow:4px 4px 0 var(--ink), 0 0 0 1.5px var(--ink);transform:translateY(-3px)}.home-template__title{font-weight:600}.brand-page{max-width:560px}.brand-page>.muted{margin:-16px 0 24px}.brand-page__card{border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-card);height:640px}.auth{background:var(--paper);grid-template-columns:minmax(380px,1fr) 1.1fr;min-height:100vh;display:grid}.auth__form-side{flex-direction:column;padding:32px 48px;display:flex}.auth__form{gap:16px;width:min(380px,100%);margin:auto;display:grid}.auth__form h1{font:400 52px/1 var(--display);letter-spacing:-.01em}.auth__form>.muted{margin-top:-6px;margin-bottom:8px}.auth__form .input-label input{background:var(--surface)}.auth__switch{text-align:center;color:var(--ink-2)}.auth__art{background:var(--ink);background-image:radial-gradient(#2c2b30 1.2px,#0000 1.4px);background-size:22px 22px;border-radius:24px;place-items:center;margin:14px;padding:40px;display:grid;overflow:hidden}.auth-art{width:440px;height:460px;position:relative}.auth-art__card{border-radius:10px;position:absolute;overflow:hidden;box-shadow:0 24px 48px #00000059}.auth-art__card--a{background:#f3e9dc;flex-direction:column;width:250px;height:320px;padding:24px;display:flex;top:20px;left:0;transform:rotate(-5deg)}.auth-art__kicker{letter-spacing:.2em;color:#2b4c3f;font-size:11px;font-weight:800}.auth-art__big{font:400 56px/.95 var(--display);color:#2b4c3f;margin-top:12px}.auth-art__circle{background:var(--accent);border-radius:50%;width:180px;height:180px;position:absolute;bottom:-40px;right:-40px}.auth-art__card--b{background:#fff;flex-direction:column;justify-content:space-between;width:230px;height:150px;padding:18px;display:flex;top:0;right:0;transform:rotate(4deg)}.auth-art__title{font-size:18px;font-weight:800}.auth-art__bars{align-items:flex-end;gap:10px;height:64px;display:flex}.auth-art__bars i{background:var(--ink);border-radius:3px 3px 0 0;flex:1}.auth-art__bars i:last-child{background:var(--accent)}.auth-art__card--c{background:var(--lime);place-items:center;width:220px;height:220px;display:grid;bottom:10px;right:20px;transform:rotate(-2deg)}.auth-art__script{font:italic 40px var(--display);color:var(--ink)}@media (width<=900px){.auth{grid-template-columns:1fr}.auth__art{display:none}.home-top{grid-template-columns:auto 1fr}.tabs,.home-top__right .search-field{display:none}.home-inner{padding:16px 20px 64px}}.shared{background-color:var(--workspace);background-image:radial-gradient(var(--dot) 1.1px, transparent 1.3px);background-size:22px 22px;min-height:100vh}.shared__top{z-index:2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);background:#f3efe6e6;align-items:center;gap:20px;padding:14px 24px;display:flex;position:sticky;top:0}.shared__logo{color:inherit;text-decoration:none}.shared__title{align-items:baseline;gap:12px;min-width:0;display:flex}.shared__title h1{white-space:nowrap;text-overflow:ellipsis;font-size:26px;overflow:hidden}.shared__pages{justify-items:center;gap:40px;padding:32px 24px 64px;display:grid}.shared__page{gap:10px;margin:0;display:grid}.shared__canvas{background:#fff;box-shadow:0 1px 2px #2820101a,0 8px 24px #28201014}.shared__canvas canvas{display:block}.shared__page figcaption{color:var(--ink-2);align-items:baseline;gap:10px;display:flex}.shared__page figcaption .display{color:var(--ink);font-size:24px}.shared .screen-message{height:auto;min-height:calc(100vh - 72px)}.editor{--canvas-left:82px;background:var(--workspace);height:100vh;position:relative;overflow:hidden}.editor.has-drawer{--canvas-left:436px}.island,.island-row{z-index:30;align-items:center;gap:2px;display:flex;position:absolute}.island{background:var(--surface);height:48px;box-shadow:var(--shadow-island);border-radius:14px;padding:0 6px;position:relative}.island--tl{max-width:calc(100vw - 480px);padding-right:14px;position:absolute;top:14px;left:14px}.island-row--tr{gap:10px;top:14px;right:14px}.island-row--tr .btn--pop{border-width:1.5px;border-radius:12px;height:44px}.island__divider{background:var(--line);flex:none;width:1px;height:22px;margin:0 6px}.brand-btn{height:38px;color:var(--ink-2);border-radius:10px;align-items:center;gap:4px;padding:0 6px 0 4px;display:inline-flex}.brand-btn:hover,.brand-btn.is-open{background:var(--surface-3)}.title-input{border-radius:var(--radius-sm);min-width:0;max-width:300px;height:36px;font:400 21px/1 var(--display);text-overflow:ellipsis;background:0 0;border:1px solid #0000;padding:0 8px}.title-input:hover{background:var(--surface-2)}.title-input:focus{border-color:var(--ink);background:var(--surface);outline:none}.save-state{color:var(--ink-3);white-space:nowrap;align-items:center;gap:6px;margin-left:4px;font-size:12px;display:inline-flex}.save-state i{background:var(--lime-deep);border-radius:50%;width:7px;height:7px}.save-state.is-dirty i,.save-state.is-saving i{background:var(--ink-3);animation:.9s ease-in-out infinite alternate blink}.save-state.is-error{color:var(--danger)}.save-state.is-error i{background:var(--danger)}@keyframes blink{to{opacity:.3}}.zoom{align-items:center;display:flex}.zoom__value{min-width:52px;height:30px;font:500 13px var(--mono);border-radius:6px}.zoom__value:hover{background:var(--surface-3)}.zoom-menu{min-width:160px}.dock{z-index:30;background:var(--ink);box-shadow:var(--shadow-island);border-radius:16px;flex-direction:column;gap:4px;padding:6px;display:flex;position:absolute;top:76px;left:14px}.dock__item{color:#cfcac0;border-radius:11px;place-items:center;width:42px;height:42px;transition:background .12s,color .12s;display:grid}.dock__item:hover{color:#fff;background:#ffffff1a}.dock__item.is-active{background:var(--lime);color:var(--ink)}.drawer{z-index:25;background:var(--surface);width:340px;box-shadow:var(--shadow-island);border-radius:18px;flex-direction:column;animation:.16s ease-out drawer-in;display:flex;position:absolute;top:76px;bottom:14px;left:82px;overflow:hidden}@keyframes drawer-in{0%{opacity:0;transform:translate(-8px)}}.drawer__head{justify-content:space-between;align-items:center;padding:14px 12px 0 18px;display:flex}.drawer__head h2{font-size:26px;line-height:1.1}.drawer .panel{flex:1;min-height:0;padding-top:10px}.panel__hint{color:var(--ink-3);font-size:12px}.panel{flex-direction:column;gap:12px;height:100%;padding:16px 16px 0;display:flex}.panel.is-dropping{outline:2px dashed var(--accent);outline-offset:-8px;background:var(--accent-soft)}.panel__title{font-size:15px}.panel__scroll{flex:1;margin:0 -16px;padding:0 16px 24px;overflow-y:auto}.panel-section{gap:10px;padding-top:12px;display:grid}.panel-section+.panel-section{margin-top:12px}.panel-section h3{font-size:14px;font-weight:700}.subhead{color:var(--ink-2);margin-top:8px;font-size:13px}.template-grid{grid-template-columns:1fr 1fr;gap:12px;padding-top:4px;display:grid}.template-card{text-align:left;gap:6px;display:grid}.template-card__thumb{border-radius:var(--radius);background:var(--surface-3);place-items:center;min-height:100px;transition:box-shadow .12s;display:grid;position:relative;overflow:hidden}.template-card__thumb canvas{display:block}.template-card:hover .template-card__thumb{box-shadow:0 0 0 2px var(--ink)}.template-card__title{color:var(--ink-2);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.element-grid{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.element-tile{aspect-ratio:1;border-radius:var(--radius);background:var(--surface-2);place-items:center;display:grid}.element-tile:hover{background:var(--surface-3)}.text-style{border-radius:var(--radius);border:1px solid var(--line-strong);text-align:left;width:100%;padding:12px 14px;line-height:1.2;display:block}.text-style:hover{background:var(--surface-2)}.text-style--heading{font-size:26px;font-weight:700}.text-style--sub{font-size:18px;font-weight:600}.text-style--body{font-size:13px}.combo-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.combo{border-radius:var(--radius);background:var(--surface-2);text-align:center;align-content:center;gap:6px;min-height:104px;padding:12px;display:grid}.combo:hover{background:var(--surface-3)}.combo__heading{font-size:19px;line-height:1.1}.combo__body{color:var(--ink-2);font-size:10px}.upload-progress{color:var(--ink-2);align-items:center;gap:8px;padding:8px 0 12px;font-size:13px;display:flex}.masonry{columns:2;column-gap:8px}.masonry__item{break-inside:avoid;margin-bottom:8px;position:relative}.upload-thumb{border-radius:var(--radius);background:var(--surface-3) repeating-conic-gradient(#e7e7ec 0% 25%, transparent 0% 50%) 0 0 / 14px 14px;width:100%;display:block;overflow:hidden}.upload-thumb img{width:100%;height:auto}.upload-thumb:hover{box-shadow:0 0 0 2px var(--ink)}.upload-thumb__delete{opacity:0;background:#fffffff2;border-radius:6px;place-items:center;width:26px;height:26px;display:grid;position:absolute;top:6px;right:6px;box-shadow:0 1px 3px #0003}.masonry__item:hover .upload-thumb__delete{opacity:1}.upload-thumb__delete:hover{color:var(--danger)}.brand-swatches{flex-wrap:wrap;gap:8px;display:flex}.brand-swatch,.logo-tile{position:relative}.brand-swatch__remove{background:var(--ink);color:#fff;opacity:0;border-radius:50%;place-items:center;width:18px;height:18px;display:grid;position:absolute;top:-6px;right:-6px}.brand-swatch:hover .brand-swatch__remove,.logo-tile:hover .brand-swatch__remove{opacity:1}.brand-font-row{color:var(--ink-2);grid-template-columns:64px 1fr;align-items:center;gap:8px;font-size:13px;display:grid}.brand-font-row .font-select{width:100%}.list-row{border-radius:var(--radius-sm);background:var(--surface-2);justify-content:space-between;align-items:center;padding:6px 4px 6px 10px;display:flex}.logo-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.logo-tile>button:first-child{aspect-ratio:1;border-radius:var(--radius);background:var(--surface-2);place-items:center;width:100%;padding:10px;display:grid}.logo-tile img{object-fit:contain;max-width:100%;max-height:100%}.logo-tile--add{aspect-ratio:1;border-radius:var(--radius);border:1px dashed var(--line-strong);color:var(--ink-2);place-content:center;justify-items:center;gap:4px;font-size:12px;display:grid}.logo-tile--add:hover{border-color:var(--accent);color:var(--accent-ink)}.layer-list{gap:4px;margin:0;padding:0;list-style:none;display:grid}.layer-row{border-radius:var(--radius);border:1px solid var(--line);background:var(--surface);cursor:grab;align-items:center;gap:10px;height:44px;padding:0 6px;display:flex}.layer-row:hover{background:var(--surface-2)}.layer-row.is-selected{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink);background:#fbfde9}.layer-row.is-over{box-shadow:0 -2px 0 var(--accent)}.layer-row__preview{background:var(--surface-3);width:32px;height:32px;color:var(--ink-2);border-radius:6px;flex:none;place-items:center;display:grid;overflow:hidden}.layer-row__preview img{object-fit:cover;width:100%;height:100%}.layer-row__label{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.layer-row__tag{color:var(--ink-3);font-size:11px}.layer-row__lock{opacity:0}.layer-row:hover .layer-row__lock,.layer-row__lock.is-on{opacity:1}.context-bar{z-index:30;bottom:16px;left:calc(var(--canvas-left) + (100vw - var(--canvas-left)) / 2);max-width:calc(100vw - var(--canvas-left) - 24px);background:var(--surface);white-space:nowrap;border-radius:16px;align-items:center;gap:4px;height:54px;padding:0 8px;transition:left .16s ease-out;display:flex;position:absolute;transform:translate(-50%);box-shadow:0 10px 30px #28201029,0 0 0 1px #28201014}.context-bar [data-tip]:after{top:auto;bottom:calc(100% + 10px)}.context-bar__group{align-items:center;gap:2px;min-width:0;display:flex}.context-bar__group--end{flex:none}.context-bar__divider{background:var(--line);flex:none;width:1px;height:26px;margin:0 6px}.context-bar__note{color:var(--ink-2);align-items:center;gap:6px;padding:0 8px;font-weight:500;display:inline-flex}.page-count{font:500 13px var(--mono);color:var(--ink)}.tool-btn{border-radius:var(--radius-sm);white-space:nowrap;align-items:center;gap:8px;height:36px;padding:0 10px;font-weight:500;display:inline-flex}.tool-btn:hover:not(:disabled),.tool-btn.is-active{background:var(--surface-3)}.tool-btn:disabled{opacity:.4}.select-btn{border-radius:var(--radius-sm);border:1px solid var(--line-strong);background:var(--surface);justify-content:space-between;align-items:center;gap:8px;height:36px;padding:0 10px;display:inline-flex}.select-btn:hover,.select-btn.is-open{border-color:var(--ink-3)}.font-select{width:172px}.font-select span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.stepper{border:1px solid var(--line-strong);border-radius:var(--radius-sm);align-items:center;height:36px;margin:0 4px;display:inline-flex}.stepper button{width:28px;height:100%;color:var(--ink-2);place-items:center;display:grid}.stepper button:hover{background:var(--surface-3)}.stepper input{border:0;border-left:1px solid var(--line);border-right:1px solid var(--line);text-align:center;outline:0;width:44px;height:100%}.text-color-btn{flex-direction:column;gap:0}.text-color-btn__a{font-family:Georgia,serif;font-size:17px;font-weight:700;line-height:1}.text-color-btn__bar{border-radius:1px;width:20px;height:4px;margin-top:2px;box-shadow:inset 0 0 0 1px #0000001f}.glyph-label{font-size:14px;font-weight:600}.color-dot{border-radius:6px;flex:none;width:24px;height:24px;box-shadow:inset 0 0 0 1px #00000026}.ring-dot{border:4px solid;border-radius:50%;width:22px;height:22px}.border-icon{border:2px dashed var(--ink-2);border-radius:4px;width:20px;height:20px}.position-panel{gap:10px;display:grid}.position-panel h4{color:var(--ink-2);margin-top:4px;font-size:12px;font-weight:700}.grid-2{grid-template-columns:1fr 1fr;gap:6px;display:grid}.action-btn{border-radius:var(--radius-sm);height:36px;color:var(--ink);align-items:center;gap:8px;padding:0 10px;font-size:13px;display:flex}.action-btn svg{color:var(--ink-2)}.action-btn:hover{background:var(--surface-3)}.number-field{border:1px solid var(--line-strong);border-radius:var(--radius-sm);height:36px;color:var(--ink-3);align-items:center;gap:6px;padding:0 10px;font-size:12px;display:flex}.number-field input{text-align:right;width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0;font-size:13px}.number-field:focus-within{border-color:var(--accent)}.number-field.is-disabled{background:var(--surface-2)}.color-popover{width:284px}.color-panel{gap:14px;padding:14px;display:grid}.color-panel__custom{gap:8px;display:flex}.hex-input{border:1px solid var(--line-strong);border-radius:var(--radius-sm);text-transform:uppercase;flex:1;height:34px;padding:0 10px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px}.hex-input:focus{border-color:var(--accent);outline:none}.swatch-group h4{color:var(--ink-2);margin-bottom:8px;font-size:12px;font-weight:600}.swatch-grid{grid-template-columns:repeat(6,1fr);gap:8px;display:grid}.swatch{aspect-ratio:1;border-radius:50%;width:100%;transition:transform 80ms;box-shadow:inset 0 0 0 1px #0000001f}.swatch:hover{transform:scale(1.08)}.swatch.is-current{box-shadow:inset 0 0 0 1px #0000001f, 0 0 0 2px #fff, 0 0 0 4px var(--ink)}.swatch--lg{width:44px;height:44px}.swatch--none{background:linear-gradient(135deg, #fff 45%, var(--danger) 45%, var(--danger) 55%, #fff 55%)!important}.swatch--picker{cursor:pointer;color:#fff;background:conic-gradient(#ff4d4d,#fc3,#4dd97a,#33b5ff,#96f,#ff4dc4,#ff4d4d);flex:none;place-items:center;width:34px;height:34px;display:grid;position:relative}.swatch--picker.swatch--lg{width:44px;height:44px}.swatch--picker svg{filter:drop-shadow(0 0 2px #00000080)}.swatch--picker input{opacity:0;cursor:pointer;position:absolute;inset:0}.font-popover{width:300px;overflow:hidden}.font-list{flex-direction:column;max-height:min(480px,100vh - 120px);display:flex}.font-list .search-field{margin:12px}.font-list__scroll{padding:0 6px 8px;overflow-y:auto}.font-list h4{color:var(--ink-3);padding:10px 10px 4px;font-size:12px;font-weight:600}.font-option{border-radius:var(--radius-sm);text-align:left;justify-content:space-between;align-items:center;width:100%;height:38px;padding:0 10px;font-size:16px;display:flex}.font-option:hover{background:var(--surface-3)}.font-option svg{color:var(--ink)}.download-popover{width:340px}.download-panel{gap:18px;padding:18px;display:grid}.download-panel h3{font-size:16px}.field{gap:8px;display:grid}.field__label{font-size:13px;font-weight:500}.field__hint{color:var(--ink-3);font-size:12px}.format-list{gap:6px;display:grid}.format{border-radius:var(--radius);border:1px solid var(--line-strong);text-align:left;gap:1px;padding:10px 12px;display:grid}.format span{color:var(--ink-3);font-size:12px}.format:hover{background:var(--surface-2)}.format.is-active{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink);background:#fbfde9}.workspace{scrollbar-gutter:stable;background-color:var(--workspace);background-image:radial-gradient(var(--dot) 1.1px, transparent 1.3px);background-size:22px 22px;background-attachment:local;position:absolute;inset:0;overflow:auto}.page-list{min-width:fit-content;min-height:100%;padding:84px 28px 112px calc(var(--canvas-left) + 12px);flex-direction:column;align-items:center;gap:36px;transition:padding-left .16s ease-out;display:flex}.page-frame{grid-template-columns:64px auto 44px;align-items:start;display:grid}.page-gutter{justify-items:end;gap:2px;padding-right:14px;display:grid;position:relative}.page-num{font:400 34px/1 var(--display);color:var(--ink-3);position:relative}.page-frame.is-active .page-num{color:var(--ink)}.page-frame.is-active .page-num:before{content:"";background:var(--accent);border-radius:50%;width:7px;height:7px;margin-top:-2px;position:absolute;top:50%;left:-14px}.page-title{text-overflow:ellipsis;text-align:right;min-width:56px;max-width:380px;height:22px;color:var(--ink-2);background:0 0;border:0;border-bottom:1px solid #0000;padding:0 2px;font-size:11px;position:absolute;top:40px;right:14px}.page-title::placeholder{color:var(--ink-3);opacity:0}.page-frame:hover .page-title::placeholder,.page-title:focus::placeholder{opacity:1}.page-title:focus{border-bottom-color:var(--ink);outline:none}.page-tools{opacity:0;flex-direction:column;gap:2px;padding-left:10px;transition:opacity .12s;display:flex}.page-frame:hover .page-tools,.page-frame.is-active .page-tools{opacity:1}.page-tools .icon-btn{background:#ffffffb3;border-radius:9px;width:32px;height:32px}.page-tools .icon-btn:hover:not(:disabled){background:#fff}.page-tools [data-tip]:after{top:50%;bottom:auto;left:calc(100% + 8px);transform:translateY(-50%)}.page{background:#fff;position:relative;box-shadow:0 1px 2px #2820101a,0 8px 24px #28201014}.add-page{border:1.5px dashed var(--line-strong);height:46px;color:var(--ink-2);border-radius:12px;justify-content:center;align-items:center;gap:8px;margin-left:20px;font-weight:600;display:inline-flex}.add-page:hover{border-color:var(--ink);color:var(--ink);background:#ffffff80}.text-editor{z-index:5;outline:1.5px solid var(--accent);outline-offset:0;resize:none;transform-origin:0 0;white-space:pre-wrap;overflow-wrap:break-word;caret-color:var(--accent);background:0 0;border:0;margin:0;padding:0;position:absolute;overflow:hidden}@media (width<=1100px){.editor.has-drawer{--canvas-left:396px}.drawer{width:300px}.save-state{display:none}}.model-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.model-tile-wrap{position:relative}.model-tile-wrap:hover .upload-thumb__delete{opacity:1}.model-tile{aspect-ratio:1;border-radius:var(--radius);background:var(--surface-2);place-items:center;width:100%;display:grid;overflow:hidden}.model-tile:hover{background:var(--surface-3);box-shadow:0 0 0 1.5px var(--ink)}.model-tile img{object-fit:contain;width:100%;height:100%}.segmented--inline{margin:0 4px}.segmented--inline button{height:30px;padding:0 10px}.btn--island{height:48px;box-shadow:var(--shadow-island);border:0;border-radius:14px;position:relative}.live-dot{background:var(--lime-deep);border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 2px #fff}.share-popover{width:380px}.share-panel{gap:14px;padding:18px;display:grid}.share-panel h3{font-size:16px}.share-panel .link{justify-self:start;align-items:center;gap:4px;display:inline-flex}.switch-row{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;display:flex}.switch-row>span{gap:2px;display:grid}.switch{appearance:none;background:var(--line-strong);cursor:pointer;border-radius:12px;flex:none;width:40px;height:24px;transition:background .15s;position:relative}.switch:after{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 2px #0003}.switch:checked{background:var(--ink)}.switch:checked:after{background:var(--lime);transform:translate(16px)}.share-link{gap:6px;display:flex}.share-link input{border:1px solid var(--line-strong);border-radius:var(--radius);min-width:0;height:40px;font:13px var(--mono);background:var(--surface-2);flex:1;padding:0 10px}.inline-range{align-items:center;gap:10px;padding:0 8px;font-weight:500;display:flex}.inline-range input{flex:none;width:140px}.inline-range__value{min-width:42px;font:12px var(--mono);color:var(--ink-2)}.btn--sm{border-radius:9px;height:34px;margin-left:4px;padding:0 12px}
