:root{--color-bg: #111318;--color-surface: #1a1d24;--color-elevated: #22262f;--color-hover: #252a34;--color-border: rgba(255, 255, 255, .08);--color-border-hover: rgba(255, 255, 255, .14);--color-accent: #3b82f6;--color-accent-hover: #2563eb;--color-accent-surf: rgba(59, 130, 246, .12);--color-text-primary: #e2e8f0;--color-text-secondary: #94a3b8;--color-text-muted: #64748b;--color-danger: #ef4444;--color-success: #22c55e;--shadow-panel: 0 8px 32px rgba(0, 0, 0, .4);--shadow-dropdown: 0 4px 16px rgba(0, 0, 0, .3);--shadow-modal: 0 24px 64px rgba(0, 0, 0, .6)}[data-theme=light]{--color-bg: #f1f5f9;--color-surface: #ffffff;--color-elevated: #f8fafc;--color-hover: #f1f5f9;--color-border: #e2e8f0;--color-border-hover: #cbd5e1;--color-accent: #2563eb;--color-accent-hover: #1d4ed8;--color-accent-surf: rgba(37, 99, 235, .08);--color-text-primary: #1e293b;--color-text-secondary: #475569;--color-text-muted: #94a3b8;--color-danger: #dc2626;--color-success: #16a34a;--shadow-panel: 0 4px 16px rgba(0, 0, 0, .08);--shadow-dropdown: 0 4px 12px rgba(0, 0, 0, .1);--shadow-modal: 0 16px 48px rgba(0, 0, 0, .2)}:root{font-family:Figtree,system-ui,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html,body{margin:0;width:100%;height:100%;overflow:hidden;background-color:var(--color-bg);color:var(--color-text-primary)}*:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}button{font-family:inherit;cursor:pointer}a{color:var(--color-accent);text-decoration:inherit}a:hover{color:var(--color-accent-hover)}html,body{overscroll-behavior:none}:root{--ribbon-bottom: 139px}html[data-touch]{--ribbon-bottom: 197px;-webkit-tap-highlight-color:transparent}html[data-touch] input:not([type=checkbox]):not([type=radio]):not([type=range]),html[data-touch] select,html[data-touch] textarea{font-size:16px!important}html[data-touch] input[type=checkbox]{width:22px;height:22px}html[data-touch] [data-panel] button,html[data-touch] [data-float-bar] button{min-width:44px;min-height:44px}html[data-touch] [data-toolbar] button{min-width:30px;min-height:30px}html[data-touch] [data-toolbar]>:first-of-type button{min-width:40px;min-height:36px}html[data-touch] [data-asset-panel] button{min-width:28px;min-height:40px}html[data-touch] [data-bottom-bar] input:not([type=checkbox]),html[data-touch] [data-bottom-bar] select{min-height:34px}html[data-touch] [data-bottom-bar] button{width:40px!important;height:40px!important}[data-float-bar]{flex-wrap:wrap;justify-content:center;max-width:calc(100vw - 24px);box-sizing:border-box}html[data-phone] [data-float-bar]{bottom:68px!important}html[data-phone] [data-panel]{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:auto!important;height:auto!important;min-width:0!important;max-width:none!important;max-height:none!important;overflow-y:auto!important;border:none!important;border-radius:0!important;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);z-index:3100!important}.touch-fab{width:48px;height:48px;padding:0;border-radius:24px;display:flex;align-items:center;justify-content:center;font-size:13px;cursor:pointer;touch-action:manipulation;border:1px solid rgba(255,255,255,.15);background:#1a1d24eb;color:var(--color-text, #e2e8f0);box-shadow:0 2px 8px #0006}.touch-fab[data-active]{border:2px solid var(--color-accent, #3b82f6);background:#3b82f633;color:var(--color-accent, #3b82f6)}.touch-icon svg{width:24px;height:24px;display:block}@media(prefers-reduced-motion:reduce){[data-sheet]{transition:none!important}}html[data-touch] [data-asset-panel] button{padding-left:2px!important;padding-right:2px!important}
