@font-face{font-family:DC Studio Sans;src:url(/fonts/LiberationSans-Regular.ttf)format("truetype");font-weight:400;font-display:swap}@font-face{font-family:DC Studio Sans;src:url(/fonts/LiberationSans-Bold.ttf)format("truetype");font-weight:700;font-display:swap}:root{--bg-app:#ecedea;--bg-surface:#fff;--bg-surface-subtle:#f5f6f4;--bg-surface-muted:#e6e9e4;--bg-canvas:#dde2db;--bg-canvas-dot:#bfc8bc;--text-primary:#15201a;--text-secondary:#46554d;--text-muted:#64746b;--border-subtle:#d5dcd3;--border-strong:#b5c1b3;--accent-primary:#1a3529;--accent-primary-hover:#244737;--accent-primary-fg:#fff;--accent-soft:#e2ebe5;--focus-ring:#92652d;--danger-fg:#9e2a1f;--danger-bg:#fdf2f0;--danger-border:#e5b7b1;--warn-fg:#6e4d16;--warn-bg:#fbf5e8;--warn-border:#dec99a;--shadow-sm:0 1px 2px #14201a0d;--shadow-md:0 6px 16px #14201a17;--shadow-lg:0 16px 38px #0c161138;color:var(--text-primary);background:var(--bg-app);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-family:DC Studio Sans,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg-app:#0e1411;--bg-surface:#16201b;--bg-surface-subtle:#1c2822;--bg-surface-muted:#23322a;--bg-canvas:#0a0f0c;--bg-canvas-dot:#202d26;--text-primary:#edf2ee;--text-secondary:#b0beb5;--text-muted:#84968b;--border-subtle:#26352d;--border-strong:#374c40;--accent-primary:#2d664c;--accent-primary-hover:#377a5b;--accent-primary-fg:#f5faf7;--accent-soft:#1f362b;--focus-ring:#d49a52;--danger-fg:#ff9c91;--danger-bg:#331917;--danger-border:#662e29;--warn-fg:#f0cf95;--warn-bg:#2c2313;--warn-border:#594624;--shadow-sm:0 1px 3px #00000052;--shadow-md:0 8px 20px #0000006b;--shadow-lg:0 18px 44px #0009}*{box-sizing:border-box}body{background:var(--bg-app);min-width:280px;color:var(--text-primary);margin:0}button,a{-webkit-tap-highlight-color:transparent}:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.app-shell{flex-direction:column;width:100%;min-height:100svh;margin:0 auto;display:flex}.app-shell--library{gap:8px;max-width:1480px;padding:8px clamp(10px,1.8vw,20px)}.app-shell--editor{gap:0;max-width:none;padding:0}.skip-link{z-index:200;background:var(--accent-primary);color:var(--accent-primary-fg);border-radius:6px;padding:6px 12px;font-size:12.5px;font-weight:600;text-decoration:none;position:absolute;top:6px;left:6px;transform:translateY(-220%)}.skip-link:focus{transform:translateY(0)}.studio-header-strip{background:var(--bg-surface);border:1px solid var(--border-subtle);min-height:42px;box-shadow:var(--shadow-sm);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 14px;padding:5px 12px;display:flex}.brand{flex-shrink:0;align-items:center;gap:8px;display:flex}.brand--compact{gap:0}.brand-mark{background:var(--accent-primary);width:28px;height:28px;color:var(--accent-primary-fg);letter-spacing:-.8px;border-radius:6px;place-items:center;font-size:13.5px;font-weight:700;display:grid}.brand-mark--compact{width:26px;height:26px;font-size:12.5px}.brand-identity{align-items:baseline;gap:6px;display:flex}.brand p{margin:0}.brand-name{letter-spacing:-.02em;color:var(--text-primary);font-size:14px;font-weight:700}.brand-byline{color:var(--text-muted);font-size:11.5px}.app-shell.dc-embedded.app-shell--library{max-width:none;padding:clamp(6px,1.2vw,12px)}.app-shell.dc-embedded.app-shell--editor{padding:0}.dc-embedded main{padding-block:0}.dc-group-close{min-width:32px;min-height:32px;color:var(--text-primary);border:1px solid var(--border-subtle);background:0 0;border-radius:6px;flex-shrink:0;place-items:center;margin-left:4px;padding:0;font-size:20px;line-height:1;display:grid}.dc-group-close:hover{background:var(--bg-surface-muted)}html.dc-group-embed-active,body.dc-group-embed-active{overscroll-behavior:none;width:100%;height:100%;overflow:hidden}html.dc-group-embed-active #root{width:100%;height:100%;min-height:0;overflow:hidden}.app-shell.dc-embedded{width:100%;height:100dvh;min-height:0;margin:0;overflow:hidden}.dc-embedded main{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:auto;min-width:0;min-height:0;overflow:hidden auto}.dc-embedded.dc-shell-hosted footer,.dc-embedded.dc-shell-hosted .studio-footer-bar{display:none}.dc-embedded.dc-shell-hosted.app-shell--library{padding:clamp(6px,1vw,12px)}.dc-embedded.dc-embedded--focus.app-shell--library{padding:clamp(4px,.8vw,8px)}.dc-embedded.dc-embedded--immersive{padding:0}main{flex-direction:column;flex:1;min-width:0;padding-block:0;display:flex}button{border:1px solid var(--accent-primary);background:var(--accent-primary);min-height:32px;color:var(--accent-primary-fg);font:inherit;cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:5px;padding:5px 10px;font-size:12.5px;font-weight:600;line-height:1.2;transition:background-color .12s,border-color .12s,color .12s;display:inline-flex}button:hover:not(:disabled){background:var(--accent-primary-hover);border-color:var(--accent-primary-hover);filter:none}button.secondary{background:var(--bg-surface);color:var(--text-primary);border-color:var(--border-strong);font-weight:500}button.secondary:hover:not(:disabled){background:var(--bg-surface-muted);border-color:var(--border-strong)}.studio-footer-bar{border-top:1px solid var(--border-subtle);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 14px;padding-top:6px;display:flex}.studio-footer-bar--editor{border-top:0;padding:0 10px}.studio-footer-bar--editor footer{display:none}.pwa-status{color:var(--text-secondary);font-size:11.5px;line-height:1.35}.pwa-status:empty{display:none}.pwa-status p{margin:0}.pwa-status [role=alert]{color:var(--danger-fg);font-weight:600}.update-notice{background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:6px;flex-wrap:wrap;align-items:center;gap:8px;padding:6px 10px;display:flex}.update-actions{flex-wrap:wrap;gap:6px;display:flex}footer{color:var(--text-muted);margin-left:auto;font-size:11.5px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.editor{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.document-bar{background:var(--bg-surface);border-bottom:1px solid var(--border-subtle);z-index:40;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 12px;min-height:44px;padding:4px 10px;display:flex}.document-bar-start{flex:240px;align-items:center;gap:8px;min-width:0;display:flex}.library-return{flex-shrink:0;margin:0;font-weight:600;min-height:30px!important;padding:4px 8px!important;font-size:12px!important}.document-meta{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.document-title{align-items:center;min-width:0;margin:0;display:flex}.document-title input{width:min(220px,42vw);font-weight:700;min-height:30px!important;color:var(--text-primary)!important;background:0 0!important;border:1px solid #0000!important;border-radius:5px!important;padding:3px 8px!important;font-size:13.5px!important}.document-title input:hover,.document-title input:focus{background:var(--bg-surface-subtle)!important;border-color:var(--border-strong)!important}.session-warning{color:var(--text-muted);white-space:nowrap;margin:0;font-size:11px}.document-bar-end{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.history-actions{align-items:center;gap:5px;display:flex}.history-step-group{border-right:1px solid var(--border-subtle);align-items:center;gap:3px;padding-right:5px;display:inline-flex}.editor button,.file-button{background:var(--bg-surface);color:var(--text-primary);border:1px solid var(--border-subtle);border-radius:6px;min-height:30px;padding:4px 8px;font-size:12px;font-weight:600}.editor .icon-only-btn{width:30px;min-width:30px;height:30px;padding:0}.editor button:hover:not(:disabled),.file-button:hover:not(.disabled){background:var(--bg-surface-muted);border-color:var(--border-strong);filter:none}.editor button.editor-export-btn{background:var(--accent-primary);color:var(--accent-primary-fg);border-color:var(--accent-primary);padding:4px 10px}.editor button.editor-export-btn:hover:not(:disabled){background:var(--accent-primary-hover);border-color:var(--accent-primary-hover)}.editor button:disabled{opacity:.38;cursor:default}.editor button[aria-pressed=true],.editor button[aria-current=page]{background:var(--accent-primary);color:var(--accent-primary-fg);border-color:var(--accent-primary)}.editor input,.editor textarea,.editor select{border:1px solid var(--border-strong);width:100%;min-width:0;min-height:28px;font:inherit;color:var(--text-primary);background:var(--bg-surface);font-variant-numeric:tabular-nums;border-radius:5px;padding:4px 7px;font-size:12px}.editor textarea{resize:vertical}.editor input[type=color]{cursor:pointer;height:28px;padding:2px}.editor input[type=checkbox]{width:15px;height:15px;min-height:15px;accent-color:var(--accent-primary)}.editor input[type=range]{min-height:20px;accent-color:var(--accent-primary);background:0 0;border:0;padding:0}.file-button{cursor:pointer;justify-content:center;align-items:center;gap:5px;display:inline-flex;position:relative;overflow:hidden}.file-button input[type=file]{opacity:0;cursor:pointer;padding:0;position:absolute;inset:0}.file-button:focus-within{outline:2px solid var(--focus-ring);outline-offset:2px}.file-button.disabled{opacity:.4}.editor-workspace{flex:1;grid-template-columns:52px minmax(0,1fr) 268px;align-items:stretch;gap:0;min-height:0;display:grid}.tool-bar{border-right:1px solid var(--border-subtle);background:var(--bg-surface);z-index:20;flex-direction:column;align-items:center;gap:4px;padding:8px 5px;display:flex}.tool-group{flex-direction:column;align-items:center;gap:4px;width:100%;display:flex}.tool-bar .tool-btn{width:40px;height:38px;min-height:38px;color:var(--text-secondary);background:0 0;border-color:#0000;border-radius:7px;justify-content:center;align-items:center;padding:0;display:flex;position:relative}.tool-bar .tool-btn:hover:not(:disabled):not(.disabled){background:var(--bg-surface-muted);color:var(--text-primary)}.tool-bar .tool-btn[aria-pressed=true]{background:var(--accent-primary);color:var(--accent-primary-fg)}@media (width>=861px){.tool-bar .tool-label{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}}.tool-divider{border-top:1px solid var(--border-subtle);width:28px;height:1px;margin-block:4px}.zoom-control{width:100%;color:var(--text-secondary);text-align:center;font-variant-numeric:tabular-nums;flex-direction:column;align-items:center;gap:3px;padding:4px 2px 0;font-size:10px;font-weight:700;display:flex}.zoom-control input{width:42px}.drawing-area{background:var(--bg-canvas);flex-direction:column;min-width:0;min-height:0;display:flex}.canvas-viewport{background-color:var(--bg-canvas);background-image:radial-gradient(var(--bg-canvas-dot) 1px, transparent 1px);touch-action:none;background-size:16px 16px;flex:1;width:100%;height:clamp(420px,100dvh - 82px,780px);overflow:hidden}.canvas-viewport.pan-mode{cursor:grab}.canvas-viewport.pan-mode:active{cursor:grabbing}.canvas-bottom-dock{background:var(--bg-surface);border-top:1px solid var(--border-subtle);align-items:center;min-height:38px;padding:4px 10px;display:flex}.page-bar{flex-wrap:wrap;align-items:center;gap:8px;width:100%;display:flex}.page-bar nav{flex-wrap:nowrap;align-items:center;gap:4px;max-width:100%;display:flex;overflow-x:auto}.page-bar nav button{font-variant-numeric:tabular-nums;flex-direction:row;flex-shrink:0;align-items:center;gap:5px;min-width:44px;height:28px;min-height:28px;padding:2px 6px;font-size:11px;display:inline-flex}.page-bar .page-thumbnail{flex-shrink:0;width:18px;height:22px;margin:0}.page-bar-actions{align-items:center;gap:4px;display:inline-flex}.page-bar .page-action-btn{width:28px;min-width:28px;height:28px;min-height:28px;padding:0}.page-dimensions-readout{color:var(--text-secondary);background:var(--bg-surface-subtle);border:1px solid var(--border-subtle);font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:5px;padding:2px 7px;font-size:11px;font-weight:600}.canvas-help{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;max-width:42ch;margin:0 0 0 auto;font-size:11px;line-height:1.3;overflow:hidden}.editor-sidebar{scrollbar-gutter:stable;border-left:1px solid var(--border-subtle);background:var(--bg-surface);min-width:0;max-height:calc(100dvh - 44px);color:var(--text-primary);flex-direction:column;padding:0;display:flex;overflow-y:auto}.view-units,.properties-panel{border-bottom:1px solid var(--border-subtle);background:var(--bg-surface)}.view-units>summary,.properties-panel>summary{cursor:pointer;min-height:32px;color:var(--text-primary);background:var(--bg-surface-subtle);-webkit-user-select:none;user-select:none;padding:6px 10px;font-size:11.5px;font-weight:700}.view-units-body,.properties-panel-body{border-top:1px solid var(--border-subtle);background:var(--bg-surface);padding:8px 10px 10px}.inspector{gap:8px;display:grid}.inspector-group{border-bottom:1px solid var(--border-subtle);gap:6px;padding-bottom:8px;display:grid}.inspector-toggles-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;display:flex}.editor-sidebar h2{color:var(--text-primary);align-items:center;gap:5px;margin:0 0 6px;font-size:11.5px;font-weight:700;display:flex}.editor-sidebar h2 span{background:var(--bg-surface-muted);color:var(--text-secondary);font-variant-numeric:tabular-nums;border-radius:5px;margin-left:auto;padding:1px 6px;font-size:11px;font-weight:600}.field{color:var(--text-secondary);gap:3px;margin:0;font-size:11px;font-weight:600;display:grid}.field-grid{grid-template-columns:1fr 1fr;gap:6px;display:grid}.field-grid--3col{grid-template-columns:repeat(auto-fit,minmax(68px,1fr))}.check-field{min-height:24px;color:var(--text-primary);cursor:pointer;align-items:center;gap:5px;margin:0;font-size:11px;font-weight:500;display:inline-flex}.editor fieldset{border:0;gap:8px;min-width:0;margin:0;padding:0;display:grid}.editor fieldset:disabled{opacity:.55}.object-actions{grid-template-columns:1fr 1fr;gap:5px;display:grid}.object-actions button{min-height:28px;padding:3px 6px;font-size:11.5px}.object-actions .danger{color:var(--danger-fg);border-color:var(--danger-border);background:var(--danger-bg);grid-column:1/-1}.wide-button{width:100%;min-height:28px!important;font-size:11.5px!important}.selection-hint,.object-list p{color:var(--text-muted);margin:0;font-size:11.5px;line-height:1.4}.object-list{background:var(--bg-surface);padding:8px 10px 10px}.object-list ol{gap:3px;max-height:190px;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.object-list li{margin:0}.object-list button{text-align:left;overflow-wrap:anywhere;justify-content:space-between;align-items:center;gap:6px;width:100%;min-height:28px;padding:3px 7px;font-size:11.5px;display:flex}.layer-item-name{align-items:center;gap:5px;min-width:0;display:inline-flex}.layer-lock-tag{opacity:.85;flex-shrink:0;align-items:center;gap:3px;font-size:10px;display:inline-flex}.editor-error{border:1px solid var(--danger-border);background:var(--danger-bg);color:var(--danger-fg);border-radius:6px;margin:4px 10px;padding:6px 10px;font-size:12px;font-weight:500}.editor-busy-banner{background:var(--accent-soft);color:var(--text-primary);border-radius:6px;margin:4px 10px;padding:4px 10px;font-size:12px}@media (width<=860px){.editor-workspace{grid-template-columns:minmax(0,1fr)}.tool-bar{border-right:0;border-bottom:1px solid var(--border-subtle);flex-flow:wrap;align-items:center;padding:5px 8px}.tool-group{flex-flow:wrap;gap:4px;width:auto}.tool-bar .tool-btn{gap:5px;width:auto;height:34px;min-height:34px;padding:4px 8px;font-size:11.5px}.tool-divider{border-top:0;border-left:1px solid var(--border-subtle);width:1px;height:22px;margin:0 2px}.zoom-control{flex-direction:row;gap:6px;width:auto;padding:2px 6px}.zoom-control input{width:84px}.editor-sidebar{border-left:0;border-top:1px solid var(--border-subtle);max-height:none;overflow:visible}.canvas-viewport{height:440px}.canvas-help{max-width:100%;margin-left:0}}.persistence-panel{flex-direction:column;flex:auto;gap:4px;min-width:0;display:flex}.persistence-bar{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px 12px;display:flex}.app-shell--library .persistence-bar{justify-content:space-between}.persistence-status-group{flex-wrap:wrap;align-items:center;gap:5px 8px;min-width:0;display:flex}.persistence-indicator{background:var(--accent-soft);width:22px;height:22px;color:var(--accent-primary);border-radius:5px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}:root[data-theme=dark] .persistence-indicator{color:var(--text-primary)}.persistence-indicator--error,.persistence-indicator--corrupt,.persistence-indicator--conflict{background:var(--danger-bg);color:var(--danger-fg)}.persistence-status-group>p[data-testid=save-status]{color:var(--text-primary);white-space:nowrap;margin:0;font-size:12px;font-weight:600}.storage-hint{color:var(--text-muted);margin:0;font-size:11.5px;line-height:1.4}.app-shell--editor .persistence-status-group>.storage-hint{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.drawer-storage-note{color:var(--text-secondary);margin:0 0 8px;font-size:11.5px;line-height:1.4}.persistence-inline-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.persistence-notice{background:var(--accent-soft);color:var(--text-primary);border-radius:5px;padding:4px 8px}.persistence-panel [role=alert]{background:var(--danger-bg);border:1px solid var(--danger-border);color:var(--danger-fg);border-radius:5px;margin:0;padding:4px 8px;font-size:12px;font-weight:500}.persistence-details{font-size:12px;position:relative}.persistence-details>summary{cursor:pointer;background:var(--bg-surface-subtle);border:1px solid var(--border-subtle);min-height:28px;color:var(--text-secondary);-webkit-user-select:none;user-select:none;white-space:nowrap;border-radius:6px;align-items:center;gap:5px;padding:4px 9px;font-size:11.5px;font-weight:600;list-style:none;display:inline-flex}.persistence-details>summary::-webkit-details-marker{display:none}.persistence-details>summary:hover{background:var(--bg-surface-muted);color:var(--text-primary)}.persistence-drawer{z-index:90;background:var(--bg-surface);border:1px solid var(--border-strong);width:min(560px,100vw - 24px);box-shadow:var(--shadow-lg);border-radius:10px;padding:12px;position:absolute;top:calc(100% + 6px);right:0}.persistence-drawer-grid{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px 16px;display:flex}.persistence-actions-group{flex:340px;gap:8px;min-width:0;display:grid}.persistence-prefs-group{flex-wrap:wrap;align-items:flex-end;gap:8px;display:flex}.theme-select-label{color:var(--text-secondary);gap:3px;font-size:11.5px;font-weight:600;display:grid;margin:0!important}.theme-select-label select{border:1px solid var(--border-strong);background:var(--bg-surface);min-height:32px;color:var(--text-primary);font:inherit;border-radius:6px;padding:4px 8px;font-size:12px}.recovery-list{gap:5px;max-height:180px;margin:4px 0 0;padding:0;font-size:11.5px;list-style:none;display:grid;overflow-y:auto}.recovery-list li{background:var(--bg-surface-subtle);border:1px solid var(--border-subtle);border-radius:6px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;padding:6px 8px;display:flex}.recovery-item-actions{flex-wrap:wrap;gap:5px;display:flex}.library{flex-direction:column;gap:10px;padding:0 0 12px;display:flex}.library-hero-bar{background:var(--bg-surface);border:1px solid var(--border-subtle);min-height:46px;box-shadow:var(--shadow-sm);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;padding:6px 12px;display:flex}.library-hero-start{flex-wrap:wrap;align-items:center;gap:10px 16px;display:flex}.library-hero-bar h1{letter-spacing:-.02em;color:var(--text-primary);white-space:nowrap;margin:0;font-size:16px;font-weight:700}.home-navigation{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.home-nav-tabs{background:var(--bg-surface-muted);border:1px solid var(--border-subtle);border-radius:7px;align-items:center;gap:2px;padding:2px;display:inline-flex}.home-navigation .nav-tab-btn{border:0;border-radius:5px;min-height:30px;padding:4px 10px;font-size:12.5px;font-weight:600}.home-navigation .nav-tab-btn[aria-pressed=true]{background:var(--bg-surface);color:var(--text-primary);box-shadow:var(--shadow-sm)}.home-navigation .nav-tab-btn[aria-pressed=false]{color:var(--text-secondary);background:0 0}.home-navigation .nav-tab-btn[aria-pressed=false]:hover{color:var(--text-primary)}.primary-create-btn{min-height:32px;padding:5px 12px;font-size:12.5px;font-weight:600}.library-hero-end{flex:0 260px;align-items:center;gap:8px;min-width:180px;display:flex}.search-field{width:100%;color:var(--text-muted);align-items:center;margin:0;display:flex;position:relative}.search-field svg{pointer-events:none;position:absolute;left:9px}.search-field input{width:100%;min-width:0;background:var(--bg-surface-subtle)!important;border:1px solid var(--border-subtle)!important;border-radius:6px!important;min-height:32px!important;padding:4px 10px 4px 28px!important;font-size:12.5px!important}.search-field input:focus{background:var(--bg-surface)!important;border-color:var(--border-strong)!important}.library-context-strip{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 14px;display:flex}.recent-project{text-align:left;background:var(--bg-surface);border:1px solid var(--border-subtle);min-height:32px;color:var(--text-primary);overflow-wrap:anywhere;border-radius:7px;justify-content:flex-start;padding:5px 12px;font-size:12.5px;font-weight:600}.library-subnote{color:var(--text-secondary);margin:0;font-size:12px}.library input,.session-dialog input:not([type=radio]):not([type=checkbox]),.session-dialog select{background:var(--bg-surface);border:1px solid var(--border-strong);width:100%;min-width:0;min-height:34px;font:inherit;color:var(--text-primary);font-variant-numeric:tabular-nums;border-radius:6px;padding:5px 9px;font-size:12.5px}.design-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,236px),1fr));gap:12px;display:grid}.design-card{border:1px solid var(--border-subtle);background:var(--bg-surface);min-width:0;box-shadow:var(--shadow-sm);overflow-wrap:anywhere;border-radius:10px;flex-direction:column;gap:8px;padding:8px;transition:border-color .12s,box-shadow .12s;display:flex}.design-card:hover{border-color:var(--border-strong);box-shadow:var(--shadow-md)}.thumbnail-button,.thumbnail-frame{border:1px solid var(--border-subtle);background-color:var(--bg-canvas);background-image:radial-gradient(var(--bg-canvas-dot) 1px, transparent 1px);background-size:10px 10px;border-radius:6px;justify-content:center;align-items:center;width:100%;padding:8px;display:flex}.thumbnail-button{cursor:pointer}.thumbnail-button:hover{background-color:var(--bg-surface-muted)}.page-thumbnail{filter:drop-shadow(0 2px 5px #0000001f);background:0 0;border:0;width:100%;height:132px;display:block}.design-card-footer{flex-direction:column;flex:1;gap:6px;display:flex}.design-card-body{gap:2px;display:grid}.design-card h3{color:var(--text-primary);margin:0;font-size:13.5px;font-weight:700;line-height:1.25}.design-card p{color:var(--text-secondary);font-variant-numeric:tabular-nums;margin:0;font-size:11.5px;line-height:1.35}.design-card .design-card-date{color:var(--text-muted);font-size:11px}.card-actions{border-top:1px solid var(--border-subtle);flex-wrap:wrap;align-items:center;gap:4px;margin-top:auto;padding-top:6px;display:flex}.design-card .card-icon-btn{background:var(--bg-surface-subtle);width:28px;min-width:28px;height:28px;min-height:28px;color:var(--text-secondary);border-color:var(--border-subtle);border-radius:6px;padding:0}.design-card .card-icon-btn:hover:not(:disabled){background:var(--bg-surface-muted);color:var(--text-primary);border-color:var(--border-strong)}.design-card .card-icon-btn.card-danger-btn{margin-left:auto}.design-card .card-icon-btn.card-danger-btn:hover:not(:disabled){background:var(--danger-bg);color:var(--danger-fg);border-color:var(--danger-border)}.design-card .primary-card-btn{background:var(--accent-primary);min-height:28px;color:var(--accent-primary-fg);border-color:var(--accent-primary);flex:1;padding:4px 8px;font-size:12px}.empty-library-state,.empty-search-state{text-align:center;border:1px dashed var(--border-strong);background:var(--bg-surface-subtle);color:var(--text-secondary);border-radius:8px;justify-content:center;align-items:center;gap:10px;padding:20px 16px;font-size:13px;display:flex}.empty-library-state p{margin:0}.session-dialog{border:1px solid var(--border-strong);background:var(--bg-surface);width:min(540px,100% - 20px);max-height:calc(100svh - 24px);color:var(--text-primary);box-shadow:var(--shadow-lg);border-radius:12px;padding:0;overflow-y:auto}.session-dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0a100d94}.dialog-heading{border-bottom:1px solid var(--border-subtle);background:var(--bg-surface-subtle);justify-content:space-between;align-items:center;gap:10px;padding:10px 16px;display:flex}.session-dialog h2{margin:0;font-size:15px;font-weight:700}.dialog-close{min-height:28px;padding:4px 8px;font-size:11.5px}.dialog-body{gap:10px;padding:14px 16px 16px;display:grid}.dialog-lead{color:var(--text-secondary);margin:0;font-size:12.5px;line-height:1.45}.session-dialog form{gap:10px;display:grid}.session-dialog label{color:var(--text-secondary);gap:4px;margin:0;font-size:12px;font-weight:600;display:grid}.session-dialog fieldset{border:1px solid var(--border-subtle);background:var(--bg-surface-subtle);border-radius:8px;gap:10px;min-width:0;margin:0;padding:10px 12px;display:grid}.session-dialog legend{color:var(--text-primary);padding:0 5px;font-size:12px;font-weight:700}.size-preset-grid{grid-template-columns:1fr 120px;gap:8px;display:grid}.dimensions-row{grid-template-columns:1fr auto;align-items:end;gap:8px;display:grid}.orientation-button{white-space:nowrap;min-height:34px}.favorites-drawer{border-top:1px solid var(--border-subtle);margin:0;padding-top:6px}.favorites-drawer>summary{cursor:pointer;min-height:28px;color:var(--text-secondary);padding-block:3px;font-size:12px;font-weight:600}.favorites-content{gap:8px;padding-top:6px;display:grid}.favorites-form-row{grid-template-columns:1fr auto;align-items:end;gap:8px;display:grid}.favorites-list{gap:4px;display:grid}.favorite-item{background:var(--bg-surface);border:1px solid var(--border-subtle);font-variant-numeric:tabular-nums;border-radius:5px;justify-content:space-between;align-items:center;gap:8px;margin:0;padding:4px 8px;font-size:11.5px;display:flex}.dialog-footer{border-top:1px solid var(--border-subtle);flex-wrap:wrap;justify-content:flex-end;gap:6px;padding-top:8px;display:flex}.danger-solid-btn{background:var(--danger-fg);border-color:var(--danger-fg);color:#fff}.session-dialog .radio-field{min-height:30px;color:var(--text-primary);align-items:center;gap:8px;margin:0;font-weight:500;display:flex}.session-dialog input[type=radio]{width:16px;height:16px;accent-color:var(--accent-primary)}.session-dialog input[type=checkbox]{width:16px;height:16px;min-height:16px;accent-color:var(--accent-primary);flex-shrink:0;padding:0}.resize-previews{grid-template-columns:1fr 1fr;gap:10px;display:grid}.resize-previews figure{background:var(--bg-surface-subtle);border:1px solid var(--border-subtle);border-radius:6px;min-width:0;margin:0;padding:8px}.resize-previews figcaption{color:var(--text-secondary);overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin-top:6px;font-size:11.5px}.resize-warning,.template-origin-note{background:var(--warn-bg);border:1px solid var(--warn-border);color:var(--warn-fg);border-radius:6px;margin:0;padding:8px 10px;font-size:12px;line-height:1.45}.resize-warning p{margin:3px 0}.export-options{gap:10px;margin:0;display:grid;background:0 0!important;border:0!important;padding:0!important}.export-pages-fieldset{max-height:150px;overflow:auto}.export-check{align-items:center;gap:8px;min-height:28px;color:var(--text-primary)!important;font-weight:500!important;display:flex!important}.export-source-meta{color:var(--text-primary);margin:0;font-size:12px;font-weight:600}.generated-files-list{background:var(--bg-surface-subtle);border:1px solid var(--border-subtle);border-radius:6px;gap:5px;margin:0;padding:8px 10px;font-size:12.5px;list-style:none;display:grid}.download-link{color:var(--accent-primary);overflow-wrap:anywhere;align-items:center;gap:5px;font-weight:600;display:inline-flex}:root[data-theme=dark] .download-link{color:var(--text-primary)}.app-shell button:disabled{opacity:.42;cursor:not-allowed;filter:none}@media (width<=760px){.size-preset-grid,.dimensions-row,.favorites-form-row,.resize-previews{grid-template-columns:1fr}.library-hero-end{flex:100%}}:root{--bg-app:#f3f2ee;--bg-surface:#faf9f6;--bg-surface-subtle:#f3f2ee;--bg-surface-muted:#e5e4df;--bg-canvas:#e5e4df;--bg-canvas-dot:#d1d0cb;--text-primary:#18191b;--text-secondary:#52514d;--text-muted:#6e6d68;--border-subtle:#d1d0cb;--border-strong:#9c9a92;--accent-primary:#383836;--accent-primary-hover:#52514d;--accent-primary-fg:#faf9f6;--accent-soft:#e5e4df;--focus-ring:#6e6d68;--identity-design:#c72b83}:root[data-theme=dark]{--bg-app:#121315;--bg-surface:#18191b;--bg-surface-subtle:#1e1f22;--bg-surface-muted:#252629;--bg-canvas:#121315;--bg-canvas-dot:#252629;--text-primary:#f3f2ee;--text-secondary:#d1d0cb;--text-muted:#9c9a92;--border-subtle:#383836;--border-strong:#6e6d68;--accent-primary:#383836;--accent-primary-hover:#52514d;--accent-primary-fg:#faf9f6;--accent-soft:#252629;--focus-ring:#d1d0cb}.brand-mark{background:var(--identity-design)}.app-shell--editor{height:100dvh;min-height:0;overflow:hidden}.app-shell--editor main{min-height:0;overflow:hidden}.editor{height:100%;position:relative;overflow:hidden}.document-bar{flex-wrap:nowrap;flex:none;min-height:48px}.document-bar-start{flex:1 1 0}.document-bar-end{flex-wrap:nowrap;gap:4px}.document-title input{width:180px;max-width:100%}.editor-options{position:relative}.editor-options>summary{cursor:pointer;place-items:center;min-width:44px;min-height:44px;list-style:none;display:grid}.editor-options-body{background:var(--bg-surface);border:1px solid var(--border-strong);width:min(90vw,480px);max-height:75dvh;box-shadow:var(--shadow-lg);z-index:80;padding:12px;position:absolute;top:100%;right:0;overflow:auto}.editor-access-bar{background:var(--bg-surface);border-bottom:1px solid var(--border-subtle);flex-shrink:0;align-items:center;gap:4px;padding:4px 8px;display:flex}.compact-save{color:var(--text-secondary);margin-left:auto;font-size:11px}.editor-workspace{flex:1;grid-template-columns:minmax(0,1fr) 268px;min-height:0;display:grid;position:relative}.drawing-area{grid-area:1/1;min-height:0}.canvas-viewport{flex:1 1 0;height:100%;min-height:0}.editor-sidebar{grid-area:1/2;max-height:100%;overflow-y:auto}.tool-bar.ribbon-panel{z-index:35;width:min(96%,550px);max-height:55%;box-shadow:var(--shadow-md);border:1px solid var(--border-strong);align-items:stretch;padding:8px;display:none;position:absolute;top:0;left:0;overflow:auto}.tool-bar.is-open{display:flex}.ribbon-heading{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.ribbon-heading strong{margin-right:auto}.tool-registry{flex-wrap:wrap;gap:4px;display:flex}.tool-registry .tool-btn{gap:5px;width:auto;height:auto;min-height:44px;padding:8px}.tool-bar .zoom-control{flex-direction:row;justify-content:center}.tool-bar .zoom-control input{width:min(220px,60%)}.panel-dismiss{display:none!important}.editor .canvas-help{display:none}.canvas-bottom-dock{flex:none;max-height:86px;padding:3px 6px;overflow:auto}.page-bar{width:100%;min-width:0}.page-bar nav{min-width:0;overflow-x:auto}.editor button,.editor .file-button{min-height:36px}.editor .icon-only-btn{width:36px;min-height:36px}.editor .persistence-status-group>.storage-hint{display:none}.series-controls{background:var(--bg-surface);border-bottom:1px solid var(--border-subtle);flex-wrap:wrap;align-items:center;gap:6px;max-height:150px;padding:6px 10px;display:flex;overflow:auto}.series-controls label{align-items:center;gap:5px;font-size:12px;display:inline-flex}.series-controls select,.series-controls input{min-width:0;max-width:180px}.series-link-grid{flex-wrap:wrap;gap:8px;padding:8px;display:flex}.series-note{color:var(--text-secondary);margin:0;font-size:12px}@media (width<=860px){.document-title input{width:100%;padding:2px!important;font-size:12px!important}.document-bar{gap:3px;padding:0 4px}.document-bar-start{gap:4px}.document-meta{min-width:0}.brand--compact{display:flex}.return-label{display:none}.library-return{min-width:36px;min-height:44px!important}.history-step-group{border:0;padding-right:0}.editor .icon-only-btn{width:36px;min-height:44px}.editor-workspace{flex-direction:column;display:flex}.drawing-area{flex:1}.editor-sidebar{z-index:30;background:var(--bg-surface);max-height:58%;box-shadow:var(--shadow-lg);padding-bottom:env(safe-area-inset-bottom);display:none;position:absolute;bottom:0;left:0;right:0;overflow-y:auto}.panel-properties .editor-sidebar,.panel-layers .editor-sidebar{display:block}.panel-properties .object-list,.panel-layers .properties-panel,.panel-layers .view-units{display:none}.panel-dismiss{z-index:2;float:right;position:sticky;top:0;display:inline-flex!important}.editor-access-bar{gap:2px;padding:2px 4px}.editor-access-bar>button{min-height:44px;padding:4px;font-size:11px}.editor-access-bar .compact-save{max-width:65px;font-size:10px}.canvas-bottom-dock{max-height:48px;display:flex}.panel-pages .canvas-bottom-dock{max-height:86px;display:flex}.ribbon-panel{max-height:60%!important}.editor .canvas-viewport{height:100%}.series-controls{max-height:100px;padding:3px 6px}.series-controls button,.series-controls label{font-size:11px}.series-controls>.series-note{display:none}}@media (prefers-reduced-motion:reduce){*{transition:none!important}}.series-controls{border-inline:0;flex-shrink:0;width:100%;min-width:0;margin:0}.series-controls>details{min-width:0;max-width:100%}.series-library{margin-bottom:12px}.persistence-drawer{width:min(560px,100vw - 24px);max-height:75dvh;position:fixed;top:min(110px,15dvh);left:auto;right:12px;overflow:auto}.inspector textarea{scroll-margin-block:24px}.editor-options .persistence-details{position:static}@media (width<=860px){.panel-properties .editor-sidebar,.panel-layers .editor-sidebar{max-height:calc(58% - 24px);bottom:48px}}.dc-group-close,.editor .dc-group-close{min-width:44px;min-height:44px}.editor .series-controls{flex-wrap:wrap;align-items:center;gap:6px;padding:6px 10px;display:flex}.storage-dismiss{z-index:2;margin-bottom:8px;position:sticky;top:0}@media (width<=860px){.editor .series-controls{padding:3px 6px}.editor .series-controls>label select{max-width:140px}.editor .series-controls>details[open]{z-index:75;background:var(--bg-surface);border:1px solid var(--border-strong);max-width:calc(100vw - 24px);max-height:65dvh;box-shadow:var(--shadow-lg);padding:12px;position:fixed;top:110px;left:12px;right:12px;overflow:auto}}.dc-universal-tools .editor-access-bar,.dc-universal-tools .tool-bar.ribbon-panel,.dc-universal-tools .home-navigation{display:none!important}.series-controls[hidden]{display:none}.dc-universal-tools .studio-header-strip:not(:has(.persistence-details[open])){display:none}.document-heading{flex:1;min-width:0}.document-save{color:var(--text-secondary);align-items:center;gap:4px;font-size:10px;line-height:1.3;display:flex}.save-dot{background:currentColor;border-radius:50%;flex:none;width:5px;height:5px}.save-error,.save-conflict,.save-corrupt{color:var(--danger-fg)}.save-saving .save-dot{background:var(--focus-ring)}.menu-page-size{color:var(--text-secondary);font-size:12px}.ecosystem-entry{border-top:1px solid var(--border-subtle);gap:5px;padding:10px 0;display:grid}.ecosystem-entry a{color:var(--text-primary);border:1px solid var(--border-subtle);border-radius:6px;padding:8px;text-decoration:none}.ecosystem-entry small{color:var(--text-secondary);font-size:11px}.editor-context{flex:none;min-width:0}.mobile-tools{background:var(--bg-surface);border-bottom:1px solid var(--border-subtle);flex:none;align-items:stretch;gap:3px;min-width:0;padding:3px 6px;display:flex}.mobile-tools .tool-registry{flex-wrap:nowrap;flex:1;gap:3px;min-width:0;display:flex}.mobile-tools .tool-btn,.editor .mobile-more{background:0 0;border-color:#0000;flex-direction:column;flex:1 1 0;justify-content:center;gap:2px;min-width:0;min-height:42px;padding:4px 5px;font-size:10px;display:flex}.mobile-tools .tool-btn svg{width:17px;height:17px}.editor .mobile-more{flex:0 0 44px}.mobile-more>span:first-child{height:17px;font-size:17px;line-height:16px}.mobile-tools .tool-btn:focus-within,.mobile-tools .tool-btn:hover{background:var(--bg-surface-muted)}.mobile-tools .mobile-more[aria-expanded=true]{background:var(--accent-soft);margin-left:auto}.dc-universal-tools .mobile-tools{display:none!important}.app-shell--editor .pwa-status>p[role=status]{display:none}.immersion-controls{right:max(10px, env(safe-area-inset-right));bottom:max(10px, env(safe-area-inset-bottom));z-index:65;border:1px solid var(--border-strong);background:var(--bg-surface);box-shadow:var(--shadow-md);border-radius:10px;gap:6px;padding:4px;display:flex;position:absolute}.editor .immersion-controls button{min-height:40px;padding:6px 10px}.editor--immersive>.document-bar,.editor--immersive>.editor-context,.editor--immersive>.editor-access-bar,.editor--immersive>.mobile-tools,.editor--immersive .canvas-bottom-dock{display:none}.editor--immersive .editor-workspace{grid-template-columns:minmax(0,1fr)}.editor--immersive:not(.panel-properties):not(.panel-layers) .editor-sidebar{display:none}.editor--immersive .editor-sidebar{z-index:40;background:var(--bg-surface);max-height:58%;box-shadow:var(--shadow-lg);grid-column:1;position:absolute;bottom:64px;left:8px;right:8px}.editor--immersive .panel-dismiss{display:inline-flex!important}.app-shell--editor:has(.editor--immersive) .studio-footer-bar:not(:has([role=alert],.update-notice)){display:none}@media (width<=860px){.editor .document-bar{min-height:46px;padding:0 4px}.document-title input{min-height:23px!important;padding:1px 3px!important;font-size:12px!important}.document-save{white-space:nowrap;text-overflow:ellipsis;max-width:150px;font-size:9px;overflow:hidden}.document-bar .brand-mark{width:23px;height:23px;font-size:11px}.editor .document-bar .icon-only-btn{width:32px;min-height:42px}.editor-options>summary{min-width:36px;min-height:42px}.editor .library-return{min-width:32px;min-height:42px!important;padding:3px!important}.editor .canvas-bottom-dock{min-height:36px;max-height:40px;padding:2px 5px}.editor .page-bar{flex-wrap:nowrap;gap:4px}.editor .page-dimensions-readout{display:none}.editor .page-bar nav button,.editor .page-action-btn{min-width:32px;min-height:32px}.panel-properties .editor-sidebar,.panel-layers .editor-sidebar{bottom:40px}.editor .series-controls{gap:4px;padding:3px 6px}.series-controls>strong{font-size:12px}.editor .series-controls>label select{min-height:28px;font-size:11px}}.standalone-shell{--selection-accent:#85651e;--selection-bg:#eee5cf;--focus-ring:#85651e}:root[data-theme=dark] .standalone-shell{--selection-accent:#d9b464;--selection-bg:#302a1f;--focus-ring:#d9b464}.standalone-shell button[aria-pressed=true],.standalone-shell button[aria-current=page],.standalone-shell button[aria-selected=true]{background:var(--selection-bg);color:var(--selection-accent);border-color:var(--selection-accent)}.standalone-shell.app-shell--editor{height:min(100dvh, var(--dc-visible-height,100dvh))}.editor--standalone{--recovery-safe-left:max(8px, env(safe-area-inset-left));--recovery-safe-right:max(8px, env(safe-area-inset-right));--recovery-safe-bottom:max(8px, env(safe-area-inset-bottom));container:design-editor/inline-size}.editor--standalone .document-bar{gap:10px;min-height:46px;padding:2px 10px}.editor--standalone .document-title input{width:100%;max-width:500px}.editor--standalone .document-heading{align-items:center;gap:10px;display:flex}.editor--standalone .document-title{flex:1}.editor--standalone .document-save{flex:none;font-size:10px}.group-header-link{color:var(--text-secondary);border:1px solid var(--border-subtle);white-space:nowrap;border-radius:5px;padding:8px;font-size:12px;text-decoration:none}.editor--standalone .ribbon-reopen{min-width:36px;padding:5px}.professional-ribbon{background:var(--bg-surface);border-bottom:1px solid var(--border-subtle);flex:none;min-width:0;max-height:min(210px,34%);overflow-y:auto}.ribbon-tabs-row{border-bottom:1px solid var(--border-subtle);align-items:center;gap:5px;min-width:0;padding:0 8px;display:flex}.ribbon-tabs{scrollbar-width:thin;flex:1;gap:2px;min-width:0;display:flex;overflow-x:auto}.editor .ribbon-tabs>button{white-space:nowrap;background:0 0;border:0;border-radius:0;min-height:32px;padding:6px 12px}.editor .ribbon-tabs>button[aria-selected=true]{color:var(--selection-accent);background:var(--selection-bg);box-shadow:inset 0 -2px var(--selection-accent)}.editor .ribbon-tabs-row>button{flex:none;min-height:28px;padding:3px 7px;font-size:11px}.ribbon-content{align-items:center;gap:12px;min-width:0;min-height:58px;padding:5px 10px;display:flex}.ribbon-content .tool-registry{scrollbar-width:thin;flex-wrap:nowrap;align-items:center;min-width:0;overflow-x:auto}.ribbon-content .tool-btn{background:0 0;border-color:#0000;flex-direction:column;flex:none;justify-content:center;gap:3px;min-height:46px;padding:4px 9px;font-size:11px;display:flex}.ribbon-content .tool-btn svg{width:18px;height:18px}.ribbon-content:has(.series-controls){display:block}.ribbon-content .series-controls{border:0;padding:6px 0}.ribbon-file-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.ribbon-measures{color:var(--text-secondary);white-space:nowrap;margin:0;font-size:12px}.ribbon-zoom{align-items:center;gap:8px;font-size:11px;display:flex}.ribbon-zoom input{width:100px}.essential-tools{align-items:stretch;gap:1px;padding:2px 4px;display:flex;position:relative}.essential-tools .tool-registry{flex-wrap:nowrap;flex:3;gap:1px;min-width:0;display:flex}.editor .essential-tools .tool-btn,.editor .essential-tools>button{background:0 0;border-color:#0000;flex-direction:column;flex:1;justify-content:center;gap:2px;min-width:0;min-height:40px;padding:3px;font-size:10px;display:flex}.essential-tools svg{width:17px;height:17px}.editor .essential-tools>button:last-of-type:not([aria-label="Salir del modo inmersivo"]){flex:0 0 28px}.shape-tools{z-index:50;border:1px solid var(--border-strong);background:var(--bg-surface);box-shadow:var(--shadow-md);padding:5px;position:absolute;top:100%;left:4px}.essential-tools:has(.shape-tools){flex-wrap:wrap}.essential-tools .shape-tools{box-shadow:none;border:0;flex:0 0 100%;padding:0;position:static}.shape-tools .tool-registry{flex-wrap:wrap}.editor--standalone .editor-workspace{grid-template-columns:minmax(0,1fr);display:grid;position:relative}.editor--standalone .drawing-area{grid-area:1}.editor--standalone .editor-sidebar{min-height:0;max-height:100%;padding-bottom:env(safe-area-inset-bottom);border-left:1px solid var(--border-subtle);box-shadow:none;grid-area:1;display:none;position:static;overflow-y:auto}.editor--standalone:is(.panel-properties,.panel-layers,.panel-pages) .editor-workspace{grid-template-columns:minmax(0,1fr) 280px}.editor--standalone:is(.panel-properties,.panel-layers,.panel-pages) .editor-sidebar{display:block}.editor--standalone .panel-dismiss{float:right;z-index:3;margin:4px;position:sticky;top:0;display:inline-flex!important}.editor--standalone .inspector-tabs{border-bottom:1px solid var(--border-subtle);gap:2px;padding:4px;display:flex}.editor--standalone .inspector-tabs button{flex:1;padding:3px 7px;font-size:11px}.editor--standalone .panel-height-control,.editor--standalone.panel-layers :is(.properties-panel,.view-units),.editor--standalone.panel-pages :is(.properties-panel,.view-units,.object-list),.editor--standalone.panel-properties .object-list{display:none}.editor--standalone .selection-hint p{margin:3px 0 8px}.pages-panel{gap:6px;padding:10px;display:grid}.pages-panel button{justify-content:flex-start;display:flex}.pages-panel .page-thumbnail{width:44px;height:55px;margin:0}.editor--standalone .canvas-bottom-dock{min-height:34px;max-height:38px;padding:2px 6px}.editor--standalone .page-bar{flex-wrap:nowrap;gap:5px}.editor--standalone .page-bar nav{flex:1}.editor--standalone .page-bar nav button,.editor--standalone .page-bar-actions button{min-width:30px;min-height:30px}.editor--standalone .page-dimensions-readout{font-size:10px}.editor .footer-zoom{min-height:28px;padding:3px 6px;font-size:10px}.explorer-slot{border-right:1px solid var(--border-subtle);grid-area:1/1;min-width:0;min-height:0;overflow:hidden}.editor--standalone[data-explorer=true] .editor-workspace{grid-template-columns:210px minmax(0,1fr)}.editor--standalone[data-explorer=true]:is(.panel-properties,.panel-layers,.panel-pages) .editor-workspace{grid-template-columns:210px minmax(0,1fr) 280px}.library-explorer{background:var(--bg-surface);flex-direction:column;gap:8px;height:100%;padding:8px;display:flex;overflow:auto}.explorer-heading{justify-content:space-between;align-items:center;font-size:12px;display:flex}.library-explorer nav{gap:3px;display:grid}.library-explorer nav button{border-color:#0000;justify-content:flex-start;font-size:11px}.library-explorer nav small{margin-left:auto}.library-explorer svg{flex:none;width:15px;height:15px}.explorer-search{align-items:center;gap:4px;display:flex}.explorer-projects{flex:1;align-content:start;gap:4px;min-height:80px;display:grid;overflow:auto}.explorer-projects>button{text-align:left;justify-content:flex-start;align-items:center;min-height:58px}.explorer-projects .page-thumbnail{flex:none;width:32px;height:42px;margin:0}.explorer-projects>button>span{gap:4px;min-width:0;display:grid}.explorer-projects strong{white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.explorer-projects small{color:var(--text-secondary);font-size:10px}.editor .recovery-capsule{z-index:65;max-width:calc(100% - 16px);right:var(--recovery-safe-right);bottom:var(--recovery-safe-bottom)}.editor .capsule-grip{touch-action:none;cursor:move;min-width:28px;padding:3px}.editor--standalone.editor--immersive>.professional-ribbon{display:block}.editor--standalone.editor--immersive .editor-sidebar{bottom:auto}@container design-editor (width<=1100px){.group-header-link{display:none}.document-bar .explorer-toggle{min-width:32px;padding:3px;font-size:0}.document-bar .explorer-toggle span{display:none}.explorer-slot{z-index:45;width:min(260px,85%);box-shadow:var(--shadow-lg);position:absolute;inset:0 auto 0 0}}.editor--standalone:not([data-layout=desktop])[data-explorer=true] .editor-workspace{grid-template-columns:minmax(0,1fr)}.editor--standalone:not([data-layout=desktop])[data-explorer=true]:is(.panel-properties,.panel-layers,.panel-pages) .editor-workspace{grid-template-columns:minmax(0,1fr) 260px}@container design-editor (width<=700px){.document-bar .document-heading{display:block}.document-bar .document-save{max-width:120px;font-size:9px}.document-bar .document-title input{min-height:21px!important;font-size:12px!important}.document-bar .brand-mark{width:22px;height:22px;font-size:11px}.document-bar .return-label{display:none}.document-bar .history-actions .icon-only-btn{width:28px;min-width:28px;min-height:36px}.document-bar .document-bar-start{gap:3px}.document-bar .document-bar-end{gap:2px}.document-bar .library-return{min-width:28px;min-height:36px!important;padding:3px!important}.document-bar .editor-options>summary{min-width:28px;min-height:36px}.ribbon-content{gap:4px;padding:3px 4px}.ribbon-content .tool-btn{min-height:42px;padding:3px 6px;font-size:10px}.ribbon-tabs-row{gap:2px;padding:0 3px}.ribbon-tabs>button{font-size:11px;padding:5px 8px!important}.page-dimensions-readout{display:none}.ribbon-content .series-controls{flex-wrap:wrap;gap:4px;max-height:120px}.ribbon-content .series-controls>details[open]{max-width:100%;max-height:180px;padding:6px;position:static;overflow:auto}}.editor--standalone:is([data-layout=phone],[data-layout=compact]) .document-bar{gap:3px;min-height:44px;padding:1px 3px}.editor--standalone:is([data-layout=phone],[data-layout=compact]) .editor-workspace{display:grid;grid-template-columns:minmax(0,1fr)!important}.editor--standalone:is([data-layout=phone],[data-layout=compact]) .editor-sidebar{height:var(--panel-height,48%);max-height:calc(100% - 44px);box-shadow:var(--shadow-lg);border:1px solid var(--border-strong);grid-area:auto;position:absolute;inset:auto 0 38px;overflow-y:auto}.editor--standalone:is([data-layout=phone],[data-layout=compact]) .panel-height-control{align-items:center;gap:6px;padding:4px 8px;font-size:10px;display:flex}.editor--standalone:is([data-layout=phone],[data-layout=compact]) .panel-height-control input{width:100px}.editor--standalone:is([data-layout=phone],[data-layout=compact]) .recovery-capsule button{min-height:38px;padding:5px 7px;font-size:11px}.editor--standalone:is([data-layout=phone],[data-layout=compact]) .editor-options-body{width:min(420px,100cqw - 8px);max-height:min(75dvh, var(--dc-visible-height,100dvh) - 50px)}.editor--standalone .session-warning:not(.sr-only){display:none}.editor .recovery-capsule{scroll-margin-left:max(8px, env(safe-area-inset-left));scroll-margin-right:max(8px, env(safe-area-inset-right));scroll-margin-bottom:max(8px, env(safe-area-inset-bottom))}.ribbon-history{border-right:1px solid var(--border-subtle);flex:none;padding-right:5px}.editor--standalone .ribbon-history .history-step-group{border:0;padding:0;display:flex}.editor--standalone .ribbon-history .history-actions{display:flex}.standalone-shell.app-shell--library{max-width:none;padding:8px 12px}.standalone-shell .library-hero-bar{padding:6px 0}.standalone-shell .library-hero-start>h1{letter-spacing:-.02em;margin:4px 0 8px;font-size:18px}.standalone-shell .studio-header-strip{border-radius:5px;min-height:44px}.standalone-shell .design-card{border-radius:6px}
