:root{--ink:#222436;--muted:#727487;--accent:#6355b5;--green:#6355b5;--line:#e5e4ed;--bg:#f8f8fb;--surface:#fff;--soft:#efedf9;--hover:#f3f1fa;--workspace:#ececf2;--shadow:0 12px 40px #26213e15;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
body{background:var(--bg)}.top{min-height:64px;padding:10px clamp(16px,4vw,48px)}.brandmark{background:#6355b5;border-radius:12px;box-shadow:none}.brand{letter-spacing:-.8px}.brand small{letter-spacing:1.4px;font-size:9px}.library{max-width:1320px;padding-top:34px}.intro{background:none;border:0;box-shadow:none;padding:0 0 16px;margin:0}.intro h1{font-weight:680;letter-spacing:-1.8px}.stats{border-radius:12px;box-shadow:none;margin-bottom:20px;padding:12px 16px}.pf-hub{border-radius:14px!important;padding:14px 16px!important;gap:14px!important}.pf-hub-actions .btn{border:0;background:var(--soft);color:var(--accent);font-weight:600}.pf-hub-actions .primary{background:var(--accent);color:white}.cover{border-radius:5px 13px 13px 5px;box-shadow:0 5px 14px #28213d18}.cover:after{opacity:.45}.btn,.tool,.iconbtn{transition:background .12s,color .12s}.primary,.edithead #exportPng{background:var(--accent);border-color:var(--accent);color:white}.primary:hover{background:#51439e}.edithead{min-height:52px;padding:5px 14px;gap:8px}.edithead h2{font-size:15px}.edithead .btn{min-height:34px}.toolbar{padding:0;gap:0;flex-direction:column;overflow:visible;box-shadow:0 2px 5px #26213e08}.toolbar .studio-row{display:flex;flex-wrap:nowrap;justify-content:safe center;align-items:center;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;min-height:46px;height:46px;gap:6px;padding:3px 10px;width:100%;flex:none}.toolbar .studio-row::-webkit-scrollbar{display:none}.toolbar .studio-row.secondary{height:38px;min-height:38px;gap:6px;padding:2px 10px}.toolbar .studio-row>*{flex-shrink:0}.toolbar .studio-row .tool,.toolbar .studio-row .iconbtn{min-height:36px;height:36px;padding:6px 8px;border-radius:8px}.toolbar .studio-row .pf-trigger{min-height:32px;padding:5px 8px}.toolbar .pf-menu .pf-pop{position:fixed!important;width:min(290px,calc(100vw - 16px));min-width:0;max-width:calc(100vw - 16px);z-index:100;background:var(--surface);box-shadow:var(--shadow);border-radius:12px}.toolbar .pf-pop .tool{height:auto;min-height:38px}.toolbar .q-icon{width:36px;display:grid;place-items:center}.toolbar .pf14-eraser{flex-direction:column;align-items:stretch}.toolbar .pf14-eraser select{max-width:none}.sidebar{width:118px;padding:10px 8px}.workspace{padding:16px 18px 40px}.paper{box-shadow:0 2px 14px #28213d15,0 0 0 1px #28213d08}.foot{height:34px}.modal{border-radius:16px}.modalback{backdrop-filter:blur(3px)}.pf10-tools{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:thin;min-height:44px}.pf10-tools>*{flex-shrink:0}.pf10-tools [hidden]{display:none!important}#modal.pf10-modal{border-radius:16px}#pf10Root .btn.primary{background:#6355b5;border-color:#6355b5}.pf10-card{border-radius:12px}.pf10-view{background:#ececf2}.pf-focus-mode .toolbar .studio-row.secondary{display:none}.pf-focus-mode .toolbar .studio-row{justify-content:safe center}.pf-focus-mode .workspace{padding-top:8px}.pf15-tabs{max-height:36px;flex:none}.pf15-tabs button{white-space:nowrap}
:root[data-pf-theme=dark]{--ink:#e8e6f2;--muted:#a7a5b9;--accent:#b6a9ff;--green:#b6a9ff;--line:#393747;--bg:#191822;--surface:#23222f;--soft:#35304d;--hover:#302d40;--workspace:#14131c}.pf10-tools{background:var(--surface)}
@media(max-width:650px){.toolbar .studio-row{justify-content:flex-start;height:48px;min-height:48px}.toolbar .studio-row.secondary{justify-content:flex-start}.toolbar .studio-row .tool{min-width:36px}.workspace{padding:8px 6px 32px}.sidebar{width:105px}.edithead{padding:4px 8px}.edithead .grow{min-width:0}.edithead h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.library{padding:22px 16px}.pf-hub{display:block!important}.pf-hub-actions{margin-top:10px}.stats{margin-bottom:16px}}
