:root{--text:#1f2933;--muted:#6b7280;--bg:#f7f7f5;--panel:#fff;--border:#e3e5e8;--accent:#2f6fed;color:var(--text);background:var(--bg);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:14px}*{box-sizing:border-box}html,body,#root{height:100%;margin:0;overflow:hidden}.app{flex-direction:column;height:100vh;display:flex}.header{background:var(--panel);border-bottom:1px solid var(--border);white-space:nowrap;align-items:center;gap:12px;height:48px;padding:0 12px;display:flex;overflow:hidden}.app{overflow:hidden}@media (width<=1400px){.header .muted{display:none}}.spacer{flex:1}.brand{align-items:center;gap:8px;display:flex}.brand img{width:auto;height:36px}.tools button:disabled{opacity:.4;cursor:default}.sight-modes{align-items:center;gap:4px}.sight-modes .muted{margin-right:2px}.login-logo{border-radius:10px;width:100%;max-width:340px;margin:0 auto 16px;display:block}.tools{gap:4px;margin-left:8px;display:flex}.tools button{border:1px solid var(--border);background:var(--panel);color:var(--text);cursor:pointer;border-radius:6px;padding:5px 10px}.tools button.active{background:var(--accent);border-color:var(--accent);color:#fff}.zoom{align-items:center;gap:8px;display:flex}.status{color:var(--muted);background:#e5e7eb;border-radius:999px;padding:2px 8px;font-size:12px}.status.connected{color:#1a7f45;background:#dcf5e6}.people{align-items:center;gap:10px;display:flex}.person{align-items:center;gap:4px;display:inline-flex}.dot{vertical-align:middle;border-radius:50%;width:10px;height:10px;margin-right:4px;display:inline-block}.body{flex:1;min-height:0;display:flex;position:relative}.sidebar{background:var(--panel);border-right:1px solid var(--border);flex-shrink:0;width:260px;padding:16px;overflow-y:auto}.sidebar h2,.ideas h2{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:0 0 8px;font-size:13px}.catalog-group h3{color:var(--muted);margin:14px 0 4px;font-size:12px;font-weight:600}.catalog{margin:0;padding:0;list-style:none}.catalog li button{border:0;border-bottom:1px solid var(--border);text-align:left;width:100%;color:var(--text);cursor:pointer;background:0 0;align-items:center;gap:10px;padding:6px 4px;display:flex}.catalog li button:hover{background:#f0f4ff}.catalog img{object-fit:contain;flex-shrink:0;width:44px;height:44px}.catalog-name{display:block}.look-swatch{flex-shrink:0;width:44px;height:44px;line-height:0;display:block}.canvas{background:#fbfbfa;flex:1;min-width:0;position:relative;overflow:hidden}.canvas .hint{pointer-events:none;background:#ffffffd9;border-radius:6px;padding:4px 8px;position:absolute;bottom:10px;left:12px}.centred{text-align:center;padding:40px}.edit-bar{z-index:10;background:#fff8e1;border:1px solid #e6c65a;border-radius:8px;align-items:center;gap:12px;padding:8px 14px;display:flex;position:absolute;top:12px;left:50%;transform:translate(-50%);box-shadow:0 4px 14px #0000001a}.edit-bar button:not(.link){border:1px solid var(--accent);background:var(--accent);color:#fff;cursor:pointer;border-radius:6px;padding:4px 14px}.side{background:var(--panel);border-left:1px solid var(--border);flex-direction:column;flex-shrink:0;width:240px;display:flex;overflow-y:auto}.ideas{border-bottom:1px solid var(--border);padding:16px}.ideas-header{justify-content:space-between;align-items:baseline;display:flex}.ideas-new{flex-wrap:wrap;align-items:center;gap:6px;margin-top:4px;display:flex}.ideas-new button{border:1px solid var(--accent);background:var(--panel);color:var(--accent);cursor:pointer;font:inherit;border-radius:6px;padding:4px 8px;font-size:12px}.ideas-list{margin:12px 0 0;padding:0;list-style:none}.ideas-list li{border:2px solid var(--border);border-radius:8px;margin-bottom:14px;overflow:hidden}.ideas-list li.active{border-color:var(--accent)}.ideas-list .thumb{cursor:pointer;background:#fff;border:0;padding:0;line-height:0;display:block}.ideas-meta{flex-direction:column;gap:2px;padding:6px 8px;display:flex}.ideas-meta input{border:1px solid var(--border);width:100%;font:inherit;border-radius:4px;padding:2px 4px}.ideas-name{font-weight:600}.idea-row{background:#fff;align-items:stretch;display:flex;position:relative}.idea-row .lock{border:1px solid var(--border);cursor:pointer;opacity:.55;background:#ffffffe6;border-radius:8px;width:28px;height:28px;padding:0;font-size:15px;line-height:1;position:absolute;top:4px;left:4px}.idea-row .lock.locked{opacity:1;background:#fff3cd;border-color:#e6c65a}.sight-card{background:var(--panel);z-index:10;border:2px solid #1a9c4a;border-radius:10px;flex-direction:column;gap:4px;min-width:200px;padding:10px 14px;display:flex;position:absolute;bottom:40px;right:12px;box-shadow:0 4px 14px #0000001f}.sight-card.blocked{border-color:#d9534f}.sight-card ul{margin:2px 0 0;padding-left:18px}.lock-banner{z-index:10;background:#fff3cd;border:1px solid #e6c65a;border-radius:8px;align-items:center;gap:12px;padding:8px 14px;display:flex;position:absolute;top:12px;left:50%;transform:translate(-50%);box-shadow:0 4px 14px #0000001a}.lock-banner button{color:#5c4a00;cursor:pointer;font:inherit;background:#fff;border:1px solid #b8860b;border-radius:6px;padding:4px 12px}.layer-toggles{flex-direction:column;flex:1;justify-content:center;gap:3px;min-width:0;padding:4px;display:flex}.layer-toggles button{border:1px solid var(--border);background:var(--panel);width:100%;color:var(--text);font:inherit;cursor:pointer;border-radius:8px;justify-content:space-between;align-items:center;gap:4px;padding:4px 6px;font-size:13px;line-height:1;display:flex;overflow:hidden}.layer-toggles button.off{color:var(--muted);background:#f1f3f6}.layer-toggles button.off .layer-icon{opacity:.4}.link{color:var(--accent);cursor:pointer;font:inherit;background:0 0;border:0;padding:0}.link.danger{color:#b42318;text-align:left;font-size:12px}.muted{color:var(--muted)}.small{font-size:12px}.error{color:#b42318}.catalog-search{border:1px solid var(--border);width:100%;font:inherit;border-radius:8px;margin:0 0 8px;padding:8px 10px;font-size:16px}.phone-app{flex-direction:column;height:100dvh;display:flex;overflow:hidden}.phone-top{background:var(--panel);border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:8px 12px;display:flex}.phone-top .idea-name{text-overflow:ellipsis;white-space:nowrap;text-align:left;flex:1;min-width:0;font-weight:600;overflow:hidden;background:0 0!important;border:0!important;padding:8px 4px!important}.phone-top button,.phone-bar button{border:1px solid var(--border);background:var(--panel);color:var(--text);font:inherit;border-radius:10px}.phone-top button{padding:8px 10px;font-size:16px}.phone-top button:disabled{opacity:.35}.phone-canvas{background:#fbfbfa;flex:1;min-height:0;position:relative;overflow:hidden}.phone-bar{padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:var(--panel);border-top:1px solid var(--border);gap:6px;display:flex;overflow-x:auto}.phone-bar button{text-align:center;flex:1 0 auto;min-width:64px;padding:10px 6px;font-size:12px;line-height:1.2}.phone-bar button .icon{margin-bottom:2px;font-size:20px;display:block}.phone-bar button.active{background:var(--accent);border-color:var(--accent);color:#fff}.phone-status{pointer-events:none;background:#ffffffe6;border-radius:999px;padding:3px 8px;font-size:12px;position:absolute;top:8px;left:8px}.sheet-backdrop{z-index:40;background:#00000040;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--panel);border-radius:16px 16px 0 0;flex-direction:column;width:100%;max-height:80vh;display:flex;overflow:hidden;box-shadow:0 -8px 30px #0003}.sheet-grip{background:#d0d4da;border-radius:2px;width:40px;height:4px;margin:8px auto 4px}.sheet-body{flex:1;min-height:0;overflow-y:auto}.sheet-body .sidebar,.sheet-body .ideas,.sheet-body .notes{border:0;width:auto}.sheet-body textarea,.sheet-body input{font-size:16px}.sheet-close{margin:0 12px calc(12px + env(safe-area-inset-bottom));border:1px solid var(--border);background:var(--panel);color:var(--text);font:inherit;border-radius:10px;padding:12px;font-size:16px}.context-sheet{background:var(--panel);width:100%;max-height:80vh;padding-bottom:calc(8px + env(safe-area-inset-bottom));border-radius:16px 16px 0 0;overflow-y:auto}.context-sheet .menu li>button{padding:14px 18px;font-size:16px}.context-sheet .submenu{box-shadow:none;background:#f4f5f7;border:0;border-radius:0;position:static}.context-sheet .submenu li>button{padding-left:34px}.context-sheet .menu-swatches{grid-template-columns:repeat(5,40px);gap:10px;padding:10px 18px}.context-sheet .menu-swatches button{width:40px;height:40px}.sheet-cancel{border:1px solid var(--border);background:var(--panel);width:calc(100% - 24px);color:var(--text);font:inherit;border-radius:10px;margin:8px 12px 0;padding:12px;font-size:16px;display:block}@media (width<=820px){.chat-drawer{border-radius:0;width:auto;max-height:100dvh;top:0;left:0;right:0}.request-list{max-height:none}}.mobile{flex-direction:column;height:100dvh;display:flex;overflow:hidden}.mobile-header{background:var(--panel);border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:10px 14px;font-size:15px;display:flex}.mobile-title{margin:14px 16px 2px;font-size:20px}.mobile-sub{margin:0 16px 10px}.mobile-tabs{gap:8px;margin:10px 16px;display:flex}.mobile-tabs button{border:1px solid var(--border);background:var(--panel);color:var(--text);font:inherit;border-radius:10px;flex:1;padding:10px;font-size:15px}.mobile-tabs button.active{background:var(--accent);border-color:var(--accent);color:#fff}.mobile-notes{flex:1;min-height:0;overflow-y:auto}.mobile-notes .notes{padding:4px 16px 16px}.mobile-notes textarea,.mobile-notes input{font-size:16px}.mobile-list{flex:1;margin:0;padding:0 12px;list-style:none;overflow-y:auto}.mobile-list li button{border:1px solid var(--border);background:var(--panel);width:100%;color:var(--text);font:inherit;text-align:left;border-radius:12px;align-items:center;gap:14px;margin-bottom:10px;padding:8px;line-height:1.3;display:flex}.mobile-list li button>span:last-child{flex-direction:column;gap:2px;display:flex}.mobile-plan{background:#fbfbfa;flex:1;min-height:0}.mobile-hint{background:var(--panel);border-top:1px solid var(--border);text-align:center;margin:0;padding:8px 14px}.mobile-desktop{text-align:center;padding:14px}.login{justify-content:center;align-items:center;height:100vh;display:flex}.login-card{background:var(--panel);border:1px solid var(--border);text-align:center;border-radius:12px;width:min(400px,100vw - 32px);padding:28px}.login-card h1{margin:0 0 20px;font-size:22px}.login-card label{color:var(--muted);margin-bottom:8px;display:block}.login-card input{text-align:center;letter-spacing:.3em;border:1px solid var(--border);border-radius:8px;width:100%;padding:10px;font-size:22px}.login-card button{border:2px solid var(--accent);background:var(--accent);color:#fff;cursor:pointer;border-radius:8px;margin-top:14px;padding:10px 18px;font-size:15px}.login-names{justify-content:center;gap:12px;display:flex}.login-names button{background:var(--panel);min-width:110px;color:var(--text);font-size:18px}.set-row{align-items:center;display:flex}.set-row>button:first-child{flex:1;min-width:0}.set-row .catalog-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.set-thumb{background:#eef2ff;border-radius:8px;flex-shrink:0;width:44px;height:44px;line-height:0;display:block;overflow:hidden}.tiny{margin-left:6px;font-size:11px}.context-menu{z-index:20;background:var(--panel);border:1px solid var(--border);border-radius:8px;min-width:200px;padding:4px 0;position:absolute;box-shadow:0 8px 24px #0000001f}.menu{margin:0;padding:0;list-style:none}.menu li{position:relative}.menu li>button{width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;padding:7px 14px;display:flex}.menu li>button:hover:not(:disabled){background:#f0f4ff}.menu li>button:disabled{color:var(--muted);cursor:default}.menu li>button.danger{color:#b42318}.menu-arrow{color:var(--muted)}.menu-separator{background:var(--border);height:1px;margin:4px 0}.submenu{background:var(--panel);border:1px solid var(--border);border-radius:8px;min-width:170px;padding:4px 0;position:absolute;top:-5px;left:100%;box-shadow:0 8px 24px #0000001f}.menu-swatch-block{padding:4px 0 6px}.menu-swatch-label{color:var(--muted);padding:4px 14px 2px;font-size:12px;display:block}.menu-swatches{grid-template-columns:repeat(5,24px);gap:6px;padding:4px 12px;display:grid}.menu-swatches button{cursor:pointer;border:1px solid #00000026;border-radius:4px;width:24px;height:24px}.notes{padding:16px}.notes-header{justify-content:space-between;align-items:baseline;display:flex}.note-form{flex-direction:column;gap:6px;margin:8px 0 12px;display:flex}.note-form textarea{border:1px solid var(--border);width:100%;font:inherit;resize:vertical;border-radius:6px;padding:6px 8px}.note-form button{border:1px solid var(--accent);background:var(--accent);color:#fff;cursor:pointer;border-radius:6px;align-self:flex-end;padding:4px 12px}.note-form button:disabled{opacity:.5;cursor:default}.note-list{margin:0;padding:0;list-style:none}.note{border-top:1px solid var(--border);padding:10px 0}.note-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.note-author{align-items:center;gap:6px;font-weight:600;display:flex}.pin{background:var(--accent);color:#fff;cursor:pointer;border:0;border-radius:50%;width:22px;height:22px;font-size:11px;font-weight:700}.votes{align-items:center;gap:4px;display:flex}.votes button{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:2px 4px;font-size:12px}.votes button.voted{color:var(--accent)}.note-text{white-space:pre-wrap;margin:6px 0}.replies{border-left:2px solid var(--border);margin:4px 0 4px 10px;padding:0 0 0 8px;font-size:13px;list-style:none}.replies li{margin:4px 0}.note-actions{gap:12px;font-size:12px;display:flex}.inventory{border-top:1px solid var(--border);padding:16px}.inventory h2{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:0 0 8px;font-size:13px}.inventory-form{flex-direction:column;gap:6px;margin-bottom:10px;display:flex;position:relative}.inventory-form input,.inventory-form select{border:1px solid var(--border);font:inherit;border-radius:6px;padding:6px 8px;font-size:13px}.inventory-suggest{z-index:5;background:var(--panel);border:1px solid var(--border);border-radius:6px;margin:0;padding:4px 0;list-style:none;position:absolute;top:34px;left:0;right:0;box-shadow:0 6px 18px #0000001f}.inventory-suggest button{text-align:left;width:100%;font:inherit;cursor:pointer;background:0 0;border:0;padding:6px 10px}.inventory-suggest button:hover{background:#f0f4ff}.inventory-row{align-items:end;gap:8px;display:flex}.inventory-row label{color:var(--muted);flex-direction:column;gap:2px;font-size:11px;display:flex}.inventory-row input[type=number]{width:56px}.inventory-row button{border:1px solid var(--accent);background:var(--accent);color:#fff;cursor:pointer;border-radius:6px;margin-left:auto;padding:6px 14px}.inventory-row button:disabled{opacity:.5}.inventory-list{margin:0;padding:0;list-style:none}.inventory-list li{border-top:1px solid var(--border);padding:8px 0}.inventory-top{justify-content:space-between;align-items:center;display:flex}.inventory-meta{align-items:center;gap:8px;margin:4px 0;display:flex}.inventory-meta input[type=number]{border:1px solid var(--border);border-radius:4px;width:44px;padding:2px 4px}.inventory-meta select{border:1px solid var(--border);font:inherit;border-radius:4px;padding:2px 4px;font-size:12px}.inventory-meta .warn{color:#b45309}.inventory-notes{border:1px solid var(--border);width:100%;font:inherit;border-radius:4px;padding:4px 6px;font-size:12px}.wiring{border-top:1px solid var(--border);padding:16px}.wiring h2{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:0 0 8px;font-size:13px}.wiring h3{margin:10px 0 4px;font-size:13px}.wiring ul{margin:0;padding:0;list-style:none}.wiring li{border-top:1px solid var(--border);justify-content:space-between;gap:6px;padding:4px 0;font-size:12px;display:flex}.wiring li.warn{color:#b42318}.claude-button{color:#6b4fbb;cursor:pointer;background:#f4f0fc;border:1px solid #d9cff2;border-radius:50%;width:34px;height:34px;position:relative}.claude-button.active{color:#fff;background:#6b4fbb}.claude-mark{font-size:18px;line-height:1}.badge{color:#fff;text-align:center;background:#d9534f;border-radius:9px;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-weight:700;line-height:18px;position:absolute;top:-6px;right:-6px}.chat-drawer{background:var(--panel);border:1px solid var(--border);z-index:30;border-radius:14px;flex-direction:column;width:360px;max-height:calc(100vh - 72px);display:flex;position:absolute;top:56px;right:12px;overflow:hidden;box-shadow:0 12px 32px #00000029}.requests{flex-direction:column;min-height:0;padding:14px 16px 16px;display:flex}.requests-header{align-items:center;gap:8px;display:flex}.requests-header h2{flex:1;margin:0;font-size:15px}.requests-header .claude-mark{color:#6b4fbb}.request-list{flex:1;min-height:120px;max-height:50vh;margin:0;padding:0;list-style:none;overflow-y:auto}.request{background:#f1f3f6;border-radius:10px;margin:8px 0;padding:8px 10px}.request.from-me{background:#e8f0ff}.request.from-claude{background:#efe9fb}.request-meta{margin-bottom:3px;font-size:12px;font-weight:600}.request-text{white-space:pre-wrap;font-size:13px}
