@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-cyrillic-ext-400-normal-BQZuk6qB.woff2) format("woff2"),url(./inter-cyrillic-ext-400-normal-DQukG94-.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-cyrillic-400-normal-obahsSVq.woff2) format("woff2"),url(./inter-cyrillic-400-normal-HOLc17fK.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-greek-ext-400-normal-DGGRlc-M.woff2) format("woff2"),url(./inter-greek-ext-400-normal-KugGGMne.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-greek-400-normal-B4URO6DV.woff2) format("woff2"),url(./inter-greek-400-normal-q2sYcFCs.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-vietnamese-400-normal-DMkecbls.woff2) format("woff2"),url(./inter-vietnamese-400-normal-Bbgyi5SW.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-latin-ext-400-normal-C1nco2VV.woff2) format("woff2"),url(./inter-latin-ext-400-normal-77YHD8bZ.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-latin-400-normal-C38fXH4l.woff2) format("woff2"),url(./inter-latin-400-normal-CyCys3Eg.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./inter-cyrillic-ext-500-normal-B0yAr1jD.woff2) format("woff2"),url(./inter-cyrillic-ext-500-normal-BmqWE9Dz.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./inter-cyrillic-500-normal-BasfLYem.woff2) format("woff2"),url(./inter-cyrillic-500-normal-CxZf_p3X.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./inter-greek-ext-500-normal-C4iEst2y.woff2) format("woff2"),url(./inter-greek-ext-500-normal-2j5mBUwD.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./inter-greek-500-normal-BIZE56-Y.woff2) format("woff2"),url(./inter-greek-500-normal-Xzm54t5V.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./inter-vietnamese-500-normal-DOriooB6.woff2) format("woff2"),url(./inter-vietnamese-500-normal-mJboJaSs.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./inter-latin-ext-500-normal-CV4jyFjo.woff2) format("woff2"),url(./inter-latin-ext-500-normal-BxGbmqWO.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./inter-latin-500-normal-Cerq10X2.woff2) format("woff2"),url(./inter-latin-500-normal-BL9OpVg8.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./inter-cyrillic-ext-600-normal-Dfes3d0z.woff2) format("woff2"),url(./inter-cyrillic-ext-600-normal-Bcila6Z-.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./inter-cyrillic-600-normal-CWCymEST.woff2) format("woff2"),url(./inter-cyrillic-600-normal-4D_pXhcN.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./inter-greek-ext-600-normal-DRtmH8MT.woff2) format("woff2"),url(./inter-greek-ext-600-normal-B8X0CLgF.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./inter-greek-600-normal-plRanbMR.woff2) format("woff2"),url(./inter-greek-600-normal-BZpKdvQh.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./inter-vietnamese-600-normal-Cc8MFFhd.woff2) format("woff2"),url(./inter-vietnamese-600-normal-BuLX-rYi.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./inter-latin-ext-600-normal-D2bJ5OIk.woff2) format("woff2"),url(./inter-latin-ext-600-normal-CIVaiw4L.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./inter-latin-600-normal-LgqL8muc.woff2) format("woff2"),url(./inter-latin-600-normal-CiBQ2DWP.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Noto Sans Tamil;font-style:normal;font-display:swap;font-weight:400;src:url(./noto-sans-tamil-tamil-400-normal-cIr4vgaa.woff2) format("woff2"),url(./noto-sans-tamil-tamil-400-normal-Bt0_HtAo.woff) format("woff");unicode-range:U+0964-0965,U+0B82-0BFA,U+200C-200D,U+20B9,U+25CC}@font-face{font-family:Noto Sans Tamil;font-style:normal;font-display:swap;font-weight:400;src:url(./noto-sans-tamil-latin-ext-400-normal-DcqX8bzT.woff2) format("woff2"),url(./noto-sans-tamil-latin-ext-400-normal-9ZDdQipz.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Noto Sans Tamil;font-style:normal;font-display:swap;font-weight:400;src:url(./noto-sans-tamil-latin-400-normal-Dkj4wjWb.woff2) format("woff2"),url(./noto-sans-tamil-latin-400-normal-1qF9FKsw.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--space-1: 4px;--space-1-5: 6px;--space-2: 8px;--space-3: 10px;--space-4: 12px;--space-5: 14px;--space-6: 16px;--space-7: 20px;--space-8: 40px;--radius-sm: 4px;--radius-input: 6px;--radius-md: 8px;--radius-lg: 12px;--radius-pill: 999px;--radius-control: 7px;--z-overlay: 20;--z-drawer: 30;--z-modal-backdrop: 40;--z-modal: 50;--z-sticky: 1;--z-canvas-editor: 10;--z-canvas-loader: 22;--color-white: #ffffff;--color-black: #000000;--color-text-primary: #171717;--color-text-muted: #404040;--color-text-inverse: #d4d4d4;--color-slate-800: #1f2937;--color-slate-700: #334155;--color-slate-500: #64748b;--color-slate-400: #94a3b8;--color-surface: #ffffff;--color-surface-alt: #f8fafc;--color-surface-accent: #eff6ff;--color-surface-button: #f3f4f6;--color-surface-soft: #eef2ff;--color-surface-draft: #fcfcff;--color-border-default: #d1d5db;--color-border-muted: #cbd5e1;--color-border-subtle: #e5e7eb;--color-border-input: #9ca3af;--color-accent: #2563eb;--color-accent-strong: #1d4ed8;--color-accent-alt: #0ea5e9;--color-focus: #93c5fd;--color-link-hover: #1e40af;--color-success: #10b981;--color-teal: #0d9488;--color-ok: #065f46;--color-warn: #b91c1c;--color-danger-bg: #fee2e2;--color-danger-border: #ef4444;--color-danger-text: #7f1d1d;--color-callout-bg: #fef9c3;--color-callout-border: #facc15;--color-drawer-bg: #262626;--color-drawer-border: #3f3f46;--color-drawer-border-strong: #52525b;--color-drawer-text: var(--color-text-inverse);--gradient-page-from-position: 0%;--gradient-page-to-position: 100%;--gradient-page-from: #c6d6d1 var(--gradient-page-from-position);--gradient-page-to: #9fb5ae var(--gradient-page-to-position);--gradient-page-stops: var(--gradient-page-from), var(--gradient-page-to);--shadow-soft: 0 10px 24px rgba(15, 23, 42, .12);--shadow-floating: 0 10px 24px rgba(15, 23, 42, .2);--shadow-modal: 0 24px 60px rgba(15, 23, 42, .2);--shadow-focus-ring: 0 0 0 2px rgba(37, 99, 235, .2);--overlay-backdrop: rgba(15, 23, 42, .35);--overlay-surface-translucent: rgba(255, 255, 255, .7);--overlay-muted-border: rgba(148, 163, 184, .5);--surface-header-cta: rgba(15, 23, 42, .1);--app-gutter: 20px;--app-text-color: var(--color-text-primary);--app-text-muted-color: var(--color-text-muted);font-family:Inter,Trebuchet MS,Verdana,sans-serif;color:var(--app-text-color)}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;overflow:hidden;background-image:linear-gradient(135deg,var(--gradient-page-stops));color:inherit}.app{max-width:1400px;margin:0 auto;padding:var(--app-gutter);height:100vh;height:100dvh;display:grid;grid-template-rows:auto 1fr;overflow:hidden}header{margin-bottom:18px;position:relative;padding-left:56px;padding-right:220px}h1,h2,h3{margin:0 0 8px}p{margin:6px 0}.local-only{background:var(--color-callout-bg);border:1px solid var(--color-callout-border);border-radius:var(--radius-md);padding:8px 10px;max-width:700px}main{display:grid;grid-template-columns:minmax(320px,1fr) minmax(620px,1.45fr);gap:16px;min-height:0;overflow:hidden}.hamburger-btn{position:absolute;left:0;top:0;width:42px;height:42px;padding:8px;display:inline-flex;flex-direction:column;align-items:stretch;justify-content:center;gap:5px;color:var(--color-slate-800)}.hamburger-btn span{display:block;width:100%;height:2px;flex:0 0 2px;border-radius:var(--radius-pill);background-color:currentColor}.header-actions{position:absolute;top:0;right:0;display:inline-flex;gap:var(--space-2)}.header-action-link{border:1px solid transparent;border-radius:4px;background:transparent;padding:4px 12px;white-space:nowrap;text-decoration-color:var(--color-success);text-underline-offset:2px}.header-action-link:hover{text-decoration:underline}.header-action-cta{border:1px solid transparent;border-radius:4px;background:var(--surface-header-cta);padding:0 12px;min-height:40px;white-space:nowrap}.header-action-cta:hover{border-color:var(--color-success)}.menu-backdrop{position:fixed;inset:0;background:var(--overlay-backdrop);border:0;border-radius:0;z-index:var(--z-overlay)}.panel{background:var(--color-surface);border:1px solid var(--color-border-default);border-radius:var(--radius-lg);padding:var(--space-5)}.editor-panel{grid-column:2;grid-row:1;min-width:0;background:transparent;border:0;border-radius:0;padding:0;min-height:0}.data-panel{grid-column:1;grid-row:1;min-width:0;background:transparent;border:0;border-radius:0;padding:0;display:flex;flex-direction:column;min-height:0}.output-panel{grid-column:1 / -1;grid-row:2}.editor-controls{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:var(--space-3);width:100%}.stage-toolbar{max-width:100%;margin:0 auto 10px}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--space-4);align-items:start;min-height:0;height:100%}.editor-layout>div{display:flex;flex-direction:column;min-width:0;min-height:0}.card-detail-panel{border:1px solid var(--color-border-default);border-radius:var(--radius-md);padding:10px;background:var(--color-surface-alt)}.card-detail-panel .image-options,.card-detail-panel .image-selected-state{margin-top:8px;border:1px solid var(--color-border-muted);border-radius:var(--radius-md);background:var(--color-surface-soft);padding:8px}.image-selected-state{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-1-5)}.card-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2)}.card-detail-heading h3{margin:0}.image-actions-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-2)}.image-url-inline{margin-top:8px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--space-2)}.image-url-mode{position:relative}.image-url-close{position:absolute;right:0;top:0;min-width:28px;padding:4px 8px;line-height:1}.image-url-input-active{width:100%;padding-right:42px;border-color:var(--color-accent);box-shadow:var(--shadow-focus-ring);outline:none}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.emoji-options,.emoji-search-mode{margin-top:8px}.emoji-search-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--space-2);margin-bottom:8px}.emoji-search-results{max-height:234px;overflow-y:auto;padding-right:2px}.floating-image-panel .emoji-search-results{max-height:clamp(72px,calc(var(--floating-panel-max-height, 360px) - 220px),234px);min-height:0;flex:1 1 auto}.emoji-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--space-1-5)}.emoji-choice{font-size:24px;line-height:1;padding:8px 4px}.emoji-picker-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--space-2)}.emoji-search-icon-button{border:0;background:transparent;padding:0;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.emoji-search-icon-button:hover .search-glyph,.emoji-search-icon-button:focus-visible .search-glyph{border-color:var(--color-link-hover)}.search-glyph{width:14px;height:14px;border:2px solid var(--color-slate-700);border-radius:50%;position:relative}.search-glyph:after{content:"";position:absolute;width:7px;height:2px;background:var(--color-slate-700);border-radius:var(--radius-sm);right:-6px;bottom:-2px;transform:rotate(45deg)}label{display:flex;flex-direction:column;gap:4px;font-size:14px}input,textarea,select,button{font:inherit}textarea,input,select{border:1px solid var(--color-border-input);border-radius:var(--radius-input);padding:var(--space-1-5)}input[type=color]{padding:0;width:52px;height:36px}.stage-wrap{position:relative;max-width:100%;margin:0 auto}.stage-canvas{position:relative}.floating-inspector-panel{position:fixed;z-index:calc(var(--z-modal) + 1);max-width:calc(100vw - 24px);max-height:calc(var(--floating-panel-max-height, 100vh) - env(safe-area-inset-bottom,0px));box-sizing:border-box}.floating-inspector-panel .card-detail-panel,.floating-text-panel .text-control-panel{margin:0;border:1px solid var(--color-slate-400);border-radius:var(--radius-md);background:var(--color-surface);padding:10px;box-shadow:var(--shadow-floating);max-height:100%}.floating-image-panel .card-detail-panel{display:flex;flex-direction:column;overflow:hidden}.floating-image-panel .image-options{display:flex;flex-direction:column;min-height:0}.floating-image-panel .emoji-search-mode{display:flex;flex-direction:column;min-height:0;flex:1 1 auto}.floating-text-panel .text-control-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px}.stage-shell{position:relative;width:100%;flex:1;min-height:0;overflow:visible}.mobile-card-nav{position:absolute;right:-38px;top:50%;transform:translateY(-50%);z-index:3;display:flex;flex-direction:column;gap:var(--space-1-5)}.mobile-card-nav-button{width:30px;height:30px;min-height:30px;padding:0;border-radius:var(--radius-pill);font-size:15px;line-height:1;background:var(--color-surface);border:1px solid var(--color-border-input)}.stage{display:block}.canvas-text-editor{position:absolute;z-index:var(--z-canvas-editor);margin:0;padding-left:4px;padding-right:4px;border:2px solid var(--color-accent);border-radius:var(--radius-sm);outline:none;resize:none;background:transparent;box-shadow:none;overflow:hidden;white-space:pre-wrap;word-break:break-word}.canvas-drop-overlay{position:absolute;z-index:var(--z-overlay);border:1px dashed var(--color-slate-500);border-radius:4px;background:var(--overlay-surface-translucent);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-2);pointer-events:none}.canvas-drop-overlay p{margin:0;font-size:13px;font-weight:600;color:var(--app-text-muted-color);text-align:center;padding:0 10px}.canvas-image-loading{position:absolute;z-index:var(--z-canvas-loader);display:flex;align-items:center;justify-content:center;pointer-events:none}.canvas-image-loading .spinner{width:28px;height:28px;border:3px solid var(--overlay-muted-border);border-top-color:var(--color-accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.canvas-drop-overlay-icon{position:relative;width:34px;height:28px}.canvas-drop-overlay-icon .icon-frame{position:absolute;left:2px;top:4px;width:24px;height:18px;border:2px solid var(--color-slate-700);border-radius:3px}.canvas-drop-overlay-icon .icon-plus-v,.canvas-drop-overlay-icon .icon-plus-h{position:absolute;right:0;top:0;background:var(--color-accent);border-radius:var(--radius-sm)}.canvas-drop-overlay-icon .icon-plus-v{width:4px;height:14px;right:4px;top:1px}.canvas-drop-overlay-icon .icon-plus-h{width:14px;height:4px;right:-1px;top:6px}.row-buttons{margin:10px 0;display:flex;gap:var(--space-2)}button{padding:8px 12px;border-radius:7px;border:1px solid var(--color-border-input);background:var(--color-surface-button);color:inherit;cursor:pointer}button.primary{background:var(--color-accent);border-color:var(--color-accent-strong);color:var(--color-surface)}button:disabled{opacity:.6;cursor:not-allowed}button.danger{background:var(--color-danger-bg);border-color:var(--color-danger-border);color:var(--color-danger-text)}button.button-link{border:0;background:transparent;padding:0;color:var(--color-accent-strong);text-decoration:underline}button.button-link:hover{color:var(--color-link-hover)}.drop-zone{border:1px dashed var(--color-slate-400);border-radius:var(--radius-input);padding:4px;margin-bottom:4px;color:var(--app-text-muted-color);font-size:12px;text-align:center}.drop-zone.large{padding:var(--space-6);margin:8px 0;font-size:13px}.warn{color:var(--color-warn)}.ok{color:var(--color-ok)}.checkbox-row{margin-top:10px;flex-direction:row;align-items:center}.control-checkbox{margin-top:0;align-self:flex-end;padding-bottom:2px}.double-sided-switch{display:inline-flex;align-items:center;gap:var(--space-2);padding:var(--space-1-5) var(--space-2);border:1px solid var(--color-border-subtle);border-radius:var(--radius-pill);background:var(--color-surface);box-shadow:var(--shadow-soft)}.double-sided-option{min-height:38px;border:1px solid transparent;border-radius:var(--radius-pill);background:transparent;color:inherit;font-weight:600;padding:8px 20px;white-space:nowrap}.double-sided-option:hover:not(.is-active){background:var(--color-border-subtle)}.double-sided-option.is-active{background:var(--color-teal);color:var(--color-surface)}.status{margin-top:10px;font-weight:600}.progress-wrap{margin-top:10px}.progress-label{display:flex;justify-content:space-between;font-size:13px;margin-bottom:4px}.progress-track{width:100%;height:10px;background:var(--color-border-subtle);border-radius:var(--radius-pill);overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,var(--color-accent),var(--color-accent-alt));transition:width .12s linear}.hint{margin-top:8px;color:var(--app-text-muted-color)}.loading{padding:var(--space-8)}.panel.sets-drawer{position:fixed;top:0;left:0;width:min(390px,92vw);height:100vh;height:100dvh;z-index:var(--z-drawer);border-radius:0 12px 12px 0;transform:translate(-105%);transition:transform .18s ease;overflow:auto;background:radial-gradient(circle at 0% 0%,rgba(37,99,235,.18),transparent 40%),linear-gradient(165deg,#1c1d22,#262a32);border-color:#303540;border-right-color:#475569;color:var(--color-drawer-text);display:flex;flex-direction:column;gap:var(--space-4);padding:14px 12px 12px;box-shadow:16px 0 48px #0f172a66}.sets-drawer.open{transform:translate(0)}.sets-drawer-header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);position:sticky;top:-14px;z-index:1;margin:-14px -12px 0;padding:14px 12px 10px;background:linear-gradient(180deg,#111827f2,#111827b8);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.sets-drawer-header-copy h2{margin:0}.sets-drawer-header-copy p{margin:3px 0 0;color:#9ca3af;font-size:12px}.sets-drawer-close{width:34px;height:34px;padding:0;border:1px solid #4b5563;border-radius:var(--radius-pill);background:#111827ad;color:#e5e7eb;display:inline-flex;align-items:center;justify-content:center;transition:border-color .14s ease,background-color .14s ease}.sets-drawer-close:hover{border-color:#60a5fa;background:#1e293beb}.sets-drawer-close span{position:relative;width:14px;height:14px}.sets-drawer-close span:before,.sets-drawer-close span:after{content:"";position:absolute;left:6px;top:0;width:2px;height:14px;background:currentColor;border-radius:var(--radius-pill)}.sets-drawer-close span:before{transform:rotate(45deg)}.sets-drawer-close span:after{transform:rotate(-45deg)}.sets-drawer p{color:var(--color-drawer-text)}.set-list{display:flex;flex-direction:column;gap:var(--space-2);flex:1;min-height:0;overflow:auto;padding-right:2px}.set-item{border:1px solid #3f4756;border-radius:10px;padding:10px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;position:relative;overflow:hidden;background:linear-gradient(165deg,#1e293bc2,#1e293b73);box-shadow:inset 0 1px #ffffff08;transition:transform .12s ease,border-color .12s ease,background-color .12s ease}.set-item:before{content:"";position:absolute;top:9px;bottom:9px;left:0;width:3px;border-radius:var(--radius-pill);background:transparent}.set-item-actions{display:flex;flex-direction:row;gap:var(--space-1-5)}.set-item:hover{border-color:#5b6578;transform:translateY(-1px)}.set-item.active{border-color:#60a5fa;background:linear-gradient(165deg,#1d4ed86b,#1e40af33);box-shadow:inset 0 1px #93c5fd4d}.set-item.active:before{background:#93c5fd}.set-select{width:100%;text-align:left;display:flex;flex-direction:column;gap:4px;padding:0;border:0;background:transparent;cursor:pointer}.set-name{font-size:15px;font-weight:600;color:#f8fafc}.set-meta{font-size:12px;color:#9ca3af}.sets-drawer .set-item,.sets-drawer .set-select{background:transparent;color:#f8fafc}.sets-drawer .set-item{color:#f8fafc}.sets-drawer .set-create-item{justify-content:center;align-items:center;gap:var(--space-2);border-style:dashed;border-color:#64748b;background:linear-gradient(160deg,#0f172ab3,#0f172a66);color:#cbd5e1;min-height:52px}.sets-drawer .set-create-item:hover{border-color:#93c5fd;color:#dbeafe}.sets-drawer .set-create-icon{font-size:18px;line-height:1;font-weight:600;width:20px;height:20px;border-radius:var(--radius-pill);display:inline-flex;align-items:center;justify-content:center;background:#3b82f640}.set-delete-button{width:30px;height:30px;padding:0;border:1px solid #7f1d1d;border-radius:var(--radius-sm);background:#7f1d1d47;color:#fecaca;display:inline-flex;align-items:center;justify-content:center;transition:background-color .12s ease,border-color .12s ease,color .12s ease}.set-rename-button{min-width:68px;min-height:30px;padding:4px 10px;border:1px solid #475569;border-radius:var(--radius-sm);background:#0f172a6b;color:#e2e8f0;font-size:12px;line-height:1.2;transition:border-color .12s ease,background-color .12s ease,color .12s ease}.set-rename-button:hover{border-color:#93c5fd;background:#2563eb3d;color:#dbeafe}.set-delete-button:hover{border-color:#ef4444;background:#b91c1c;color:#fff}.set-select:focus-visible,.set-rename-button:focus-visible,.set-delete-button:focus-visible,.set-create-item:focus-visible,.sets-drawer-close:focus-visible{outline:2px solid #93c5fd;outline-offset:2px}.set-delete-icon{width:14px;height:14px;display:block}.set-create-backdrop{z-index:var(--z-modal-backdrop)}.set-create-modal{position:fixed;z-index:var(--z-modal);top:50%;left:50%;transform:translate(-50%,-50%);width:min(380px,calc(100vw - 28px));background:var(--color-surface);border:1px solid var(--color-border-muted);border-radius:var(--radius-lg);padding:var(--space-4);box-shadow:var(--shadow-modal)}.set-create-modal h3{margin:0 0 10px}.set-create-modal-label{display:grid;gap:var(--space-1-5)}.set-create-modal-actions{margin-top:12px;display:flex;justify-content:flex-end;gap:var(--space-2)}@media(max-width:640px){.panel.sets-drawer{width:min(390px,96vw)}.set-item{grid-template-columns:1fr;gap:8px}.set-item-actions{justify-content:flex-end}}.list-table{flex:1;min-height:0;overflow:auto;border:1px solid var(--color-border-default);border-radius:var(--radius-md);background:var(--color-surface)}table{width:100%;border-collapse:collapse}th,td{border-bottom:1px solid var(--color-border-subtle);padding:6px;font-size:13px;vertical-align:middle}td input[type=text],td input:not([type]){width:100%}.list-table th{position:sticky;top:0;z-index:var(--z-sticky);background:var(--color-surface-alt);text-align:left;padding:9px 10px}.list-table td{padding:0}.list-table td input{border:0;border-radius:0;padding:9px 10px;min-height:40px;font-size:16px}.list-table td input:focus{outline:2px solid var(--color-focus);outline-offset:-2px;background:var(--color-surface-accent)}.subtitle-cell{display:flex;align-items:center}.subtitle-cell input{flex:1}.row-warning{margin-right:8px;color:var(--color-warn);font-weight:700}.sheet-hint-row td{padding:8px 10px;color:var(--app-text-muted-color);font-size:12px}.draft-row td{background:var(--color-surface-draft)}.list-table:not(:focus-within) tr.selected{background:var(--color-surface-accent)}.list-table:not(:focus-within) tr.selected td{background:var(--color-surface-accent)}.list-table:not(:focus-within) tr.selected td input{background:var(--color-surface-accent)}.list-table tbody tr:focus-within{background:var(--color-surface-accent)}.list-table tbody tr:focus-within td{background:var(--color-surface-accent)}.list-table tbody tr:focus-within td input{background:var(--color-surface-accent)}.csv-backdrop{z-index:var(--z-modal-backdrop)}.csv-modal{position:fixed;z-index:var(--z-modal);top:50%;left:50%;transform:translate(-50%,-50%);width:min(720px,calc(100vw - 24px));background:var(--color-surface);border:1px solid var(--color-border-muted);border-radius:var(--radius-lg);padding:var(--space-4);box-shadow:var(--shadow-modal)}.csv-modal textarea{width:100%}.onboarding-modal{width:min(620px,calc(100vw - 24px));display:grid;gap:10px}.onboarding-modal h3{margin:0}.onboarding-modal ol{margin:0;padding-left:20px;display:grid;gap:6px}.onboarding-modal p{margin:0;padding:10px;border:1px solid #dbeafe;border-radius:10px;background:#eff6ff8c;color:var(--color-text-muted)}.onboarding-modal-actions{margin:0;justify-content:flex-end}.export-modal{width:min(560px,calc(100vw - 24px));display:grid;gap:12px;border-color:#c7d2fe;background:radial-gradient(circle at 100% 0%,rgba(37,99,235,.1),transparent 45%),linear-gradient(180deg,#fff,#f8fafc)}.export-modal-header h3{margin:0;font-size:22px;line-height:1.2}.export-modal-preview{border:1px solid #dbeafe;border-radius:10px;background:linear-gradient(180deg,#f8fafc,#eff6ff);padding:8px;display:flex;justify-content:center}.export-modal-preview svg{width:min(180px,100%);height:auto;display:block}.export-modal-preview .export-page-outline{fill:#fff;stroke:#94a3b8;stroke-width:1.5}.export-modal-preview .export-card-outline{fill:#dbeafe;stroke:#3b82f6;stroke-width:1.25}.export-modal-header p{margin:6px 0 0;color:var(--color-text-muted);font-size:13px}.export-modal-controls{display:grid;gap:10px;padding:10px;border:1px solid #dbeafe;border-radius:10px;background:#eff6ff8c}.export-modal .checkbox-row.export-modal-checkbox{margin-top:2px}.export-modal-spacing{display:grid;gap:6px}.export-modal-spacing>span{font-size:14px}.export-modal-segmented{display:inline-grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.export-modal-segmented-three{grid-template-columns:repeat(3,minmax(0,1fr))}.export-modal-segmented button{min-height:34px;border:1px solid #bfdbfe;border-radius:8px;background:#dbeafe59;color:#1e3a8a}.export-modal-segmented button.active{border-color:#1d4ed8;background:#1d4ed8;color:#fff}.export-modal-note{margin:0;font-size:12px;color:#1e40af;text-align:center}.export-modal-note-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.export-modal-note-row .export-modal-note{grid-column:2}.export-modal-segmented button:focus-visible{outline:2px solid #93c5fd;outline-offset:1px}.export-modal-actions{margin:2px 0 0;justify-content:flex-end}.export-modal-actions .primary{min-width:132px}.export-modal-progress{margin:4px 0 0;padding:10px;border:1px solid #bfdbfe;border-radius:10px;background:#ffffffe6}.export-modal-progress .progress-label{font-weight:600}.export-modal-progress .progress-track{height:10px;border-radius:999px;border-color:#93c5fd}.export-modal-progress .progress-fill{background:linear-gradient(90deg,#2563eb,#0ea5e9)}.export-modal-status{margin:0;padding:10px;border:1px solid #c7d2fe;border-radius:10px;background:#eef2ff}.export-modal-hint{margin:0;padding:8px 10px;border-left:3px solid #60a5fa;border-radius:8px;background:#dbeafe8c}@media(max-width:1180px){main{grid-template-columns:1fr;grid-template-rows:minmax(0,2fr) minmax(0,1fr)}header{padding-left:0;padding-top:50px;padding-right:0}.hamburger-btn{top:0;left:0}.header-actions{top:0;right:0}.editor-panel{grid-column:auto;grid-row:1;min-height:0}.data-panel{grid-column:auto;grid-row:2;min-height:0}.editor-layout{grid-template-columns:1fr}}@media(max-width:720px){header>h1,header>p{display:none}}@media(max-width:420px){.editor-controls{gap:var(--space-2)}.double-sided-switch{padding:var(--space-1) var(--space-1-5);gap:var(--space-1-5)}.double-sided-option{min-height:34px;padding:var(--space-1-5) var(--space-4)}}
