:root{color-scheme:dark;--bg:#171a20;--panel:#1d2027;--line:#30343e;--muted:#9198a7;--text:#e7e9ee;--green:#9addbd;--accent:#7dc7a7;font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:13px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);overflow:hidden}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit;border:0;background:transparent}button:disabled{opacity:.35;cursor:default}button:hover{background:#ffffff09}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--green);outline-offset:2px}input,textarea,select{color:var(--text);background:#171a20;border:1px solid var(--line);border-radius:6px;padding:9px;width:100%}textarea{resize:vertical;min-height:86px;line-height:1.5}button.primary{background:var(--green);color:#16372a;font-weight:600}button.primary:hover{background:#b3ebcf}.topbar{height:64px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:16px;padding:0 22px;background:#1b1e25}.brand{font-size:21px;letter-spacing:-.7px;display:flex;align-items:center;gap:10px;font-weight:650}.brand-mark{font-size:28px;color:var(--green)}.prototype{font-size:8px;letter-spacing:1.2px;border:1px solid #394d45;border-radius:3px;padding:3px 4px;color:var(--green);margin-left:5px}.top-divider{height:24px;width:1px;background:var(--line);margin:0 4px}.project-name{font-weight:500;display:flex;gap:30px;align-items:center}.project-name span{color:var(--muted)}.top-spacer{flex:1}.sync{font-size:11px;color:var(--green)}.sync.warn{color:#e1ad65}.avatar{border-radius:50%;width:30px;height:30px;background:#35413b;color:#c3e5d5;border:1px solid #4b5f54;font-weight:600}.button{padding:9px 13px;border:1px solid var(--line);border-radius:6px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:12px}.button.subtle{border:0;background:#252932;color:#c3c8d2}.button.subtle span{color:#929aa9;font-size:10px}.icon-button{font-size:18px;width:30px;height:30px;border-radius:5px;flex-shrink:0}main{height:calc(100dvh - 64px);display:flex}.sidebar{width:198px;flex-shrink:0;border-right:1px solid var(--line);background:#1b1e25;padding:26px 13px 16px;display:flex;flex-direction:column;overflow:auto}.sidebar-label{font-size:9px;letter-spacing:1.7px;color:#838b9c;font-weight:650;padding:0 12px;margin-bottom:12px;display:flex;align-items:center;justify-content:space-between}.sidebar-label button{font-size:17px}nav{display:grid;gap:4px}.nav{display:flex;align-items:center;gap:11px;text-align:left;width:100%;padding:11px;border-radius:6px;font-size:12px;color:#b2b8c4}.nav span{font-size:17px;width:17px;color:#8893a5}.nav small{margin-left:auto;font-size:10px;color:#9ba6af}.nav.active{background:#2d3b36;color:#d7f4e6}.nav.active span{color:var(--green)}.sidebar-section{border-top:1px solid var(--line);padding-top:23px;margin-top:24px}.edit-item,.status-filter{width:100%;display:flex;align-items:center;gap:10px;padding:9px 12px;text-align:left;font-size:11px;color:#b0b7c3;border-radius:5px}.edit-item small,.status-filter small{margin-left:auto;color:#77818f;font-size:10px}.edit-item.active,.status-filter.active{background:#343b48;color:white}.edit-symbol{color:#7c8799;font-size:14px}.status-dot{width:7px;height:7px;display:inline-block;border-radius:50%;flex-shrink:0}.sidebar-bottom{margin-top:auto;padding:30px 10px 0;font-size:10px;color:#a7adba;line-height:1.7}.sidebar-bottom small{display:block;color:#707b8c;margin-top:4px;font-size:10px}.local-dot{display:inline-block;width:5px;height:5px;background:var(--green);border-radius:50%;margin-right:5px}.text-button{padding:15px 0 0;color:#a4adbc;display:flex;align-items:center;justify-content:space-between;width:100%;font-size:10px}kbd{font:10px 'Segoe UI',sans-serif;color:#83909c;border:1px solid #3b414c;border-radius:4px;padding:1px 5px}.stage{flex:1;min-width:0;display:flex;flex-direction:column}.stage-header{height:96px;flex-shrink:0;padding:24px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#1a1d24}.eyebrow{font-size:8px;letter-spacing:1.9px;color:#74818d;font-weight:600;margin-bottom:8px}h1{font-size:23px;letter-spacing:-.6px;font-weight:550;margin:0;white-space:nowrap}h1 span{font-size:10px;letter-spacing:0;font-weight:400;color:var(--muted);margin-left:14px}.stage-actions{display:flex;gap:10px;align-items:center}.search{border:1px solid var(--line);border-radius:6px;display:flex;align-items:center;padding:0 9px;background:#20242c;width:174px}.search span{color:var(--muted);font-size:22px}.search input{border:0;background:none;font-size:11px;padding:9px 7px;outline:none!important}.search kbd{border-color:#39414b}#canvas-wrap{flex:1;position:relative;overflow:hidden;min-height:0;background:#15181e}canvas{display:block;width:100%;height:100%;outline:none;touch-action:none}.canvas-hint{position:absolute;top:16px;left:24px;color:#65717f;font-size:10px;pointer-events:none}.canvas-toolbar{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);display:flex;align-items:center;background:#252a33;border:1px solid #3c4350;padding:5px;border-radius:9px;box-shadow:0 10px 30px #0004}.tool{font-size:20px;width:36px;height:34px;border-radius:5px;color:#99a4b5}.tool.active{background:#40554a;color:#b3ebcd}.tool-divider{height:19px;width:1px;background:#454b57;margin:0 5px}.zoom-controls{position:absolute;bottom:27px;right:22px;display:flex;align-items:center;gap:7px;background:#222731;border:1px solid var(--line);border-radius:6px;padding:4px;font-size:11px}.zoom-controls button{height:27px;min-width:26px;border-radius:4px}.zoom-controls>span:empty{width:1px;height:16px;background:var(--line)}#zoom-value{font-size:10px;min-width:31px;text-align:center;color:#b4becc}footer{height:30px;flex-shrink:0;display:flex;align-items:center;gap:20px;border-top:1px solid var(--line);padding:0 24px;font-size:9px;color:#75818e;background:#1b1e25}#render-stats{margin-left:auto}.inspector{width:294px;flex-shrink:0;border-left:1px solid var(--line);background:#1c2027;overflow-y:auto}.inspector-header{height:54px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 18px;font-size:9px;letter-spacing:1.7px;color:#8d98a8}.inspector-empty{padding:80px 28px;text-align:center;color:#8e99aa;font-size:12px;line-height:1.7}.inspector-empty>span{display:block;font-size:38px;color:#526259}.inspector-empty h3{color:#cdd3de;font-size:15px;font-weight:500}.inspector-empty small{display:block;margin-top:30px;color:#637181}.shot-preview{width:100%;aspect-ratio:16/9;object-fit:cover;background:#121419}.shot-fields{padding:18px}.shot-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:18px}.shot-heading strong{font-size:22px;font-weight:500;letter-spacing:-.4px}.shot-heading small{color:#8c99a8;font-size:9px}.field{display:block;margin:13px 0}.field>span,.mini-label{display:block;color:#8491a3;font-size:9px;letter-spacing:1.1px;margin-bottom:7px;text-transform:uppercase}.field input,.field select{font-size:12px}.chip-list{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:18px}.chip{border:1px solid #3b4552;color:#b7c4d4;font-size:9px;border-radius:4px;padding:5px 7px}.chip:hover{border-color:var(--accent)}.section-line{border-top:1px solid var(--line);margin:20px 0}.notes-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:12px}.notes-heading small{color:var(--muted)}.note-card{background:#252a33;border:1px solid #333b46;border-radius:7px;padding:11px;margin-bottom:10px;line-height:1.55}.note-meta{display:flex;justify-content:space-between;font-size:9px;color:#98a7b8;gap:5px}.note-body{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:8px}.note-actions{display:flex;justify-content:flex-end}.note-actions button{font-size:9px;color:#8899a9;padding-top:8px}.empty-notes{font-size:11px;color:#788796;line-height:1.7;margin:18px 0}.note-compose textarea{font-size:11px;min-height:76px}.note-compose .button{width:100%;margin-top:8px}.shot-tools{display:flex;gap:6px;margin:16px 0}.shot-tools button{flex:1;font-size:10px;padding:8px 5px}.menu{position:fixed;z-index:20;width:230px;padding:6px;background:#282e38;border:1px solid #46515f;border-radius:9px;box-shadow:0 14px 50px #0007}.menu button{width:100%;font-size:12px;text-align:left;padding:10px;border-radius:4px;display:flex;justify-content:space-between}.menu button:hover{background:#3b4653}.menu button small{font-size:10px;color:#8999a9}.menu hr{border:0;border-top:1px solid #3b4653}.project-menu{right:24px;top:58px}dialog{background:#232832;border:1px solid #475361;border-radius:12px;color:var(--text);width:min(700px,94vw);max-height:86vh;padding:0;box-shadow:0 30px 100px #0009}dialog::backdrop{background:#05080bb3;backdrop-filter:blur(3px)}.modal-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:19px 24px}.modal-header h2{font-size:19px;font-weight:500;margin:0}.modal-header button{font-size:25px;color:#8793a2}#modal-body{padding:22px 24px;max-height:60vh;overflow:auto}#modal-body p{color:#a4afbd;font-size:12px;line-height:1.7;margin-top:0}#modal-actions{padding:16px 24px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px}.import-table{width:100%;font-size:11px;border-collapse:collapse;margin-top:17px}.import-table td,.import-table th{padding:8px 5px;text-align:left;border-bottom:1px solid var(--line)}.import-table th{font-size:9px;color:#91a0b0;text-transform:uppercase;letter-spacing:.8px}.import-table input{min-width:90px;padding:7px}.filename{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.confidence{color:#a3ccb4;font-size:9px}.confidence.review,.confidence.missing{color:#edbd73}.import-preview{width:58px;max-height:40px;object-fit:cover}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.notice{font-size:11px!important;background:#343d3d;border:1px solid #4f6257;border-radius:6px;padding:12px;color:#bbd7c6!important}.shortcut-grid{display:grid;grid-template-columns:1fr auto;gap:12px;font-size:12px}.shortcut-grid span{color:#abb7c6}.history-row{padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.history-row small{display:block;color:#8c9bac;margin-top:6px}#toast{position:fixed;left:50%;bottom:100px;transform:translateX(-50%);z-index:100;background:#34443c;color:#e3f3e9;border:1px solid #63816e;border-radius:8px;box-shadow:0 10px 40px #0005;padding:13px 20px;max-width:600px;font-size:12px}.focus .sidebar,.focus .inspector,.focus .topbar,.focus .stage-header,.focus footer{display:none}.focus main{height:100dvh}.hide-inspector .inspector{display:none}#empty{position:absolute;top:35%;left:0;right:0;text-align:center}#empty h2{font-size:26px;font-weight:400}#empty p{color:var(--muted)}#drop-overlay{position:absolute;inset:12px;z-index:5;border:2px dashed var(--green);border-radius:12px;background:#243b32e8;display:grid;place-items:center;font-size:25px;pointer-events:none}[hidden]{display:none!important}.danger{color:#eba19d}.warning-text{color:#e1ad65!important}.notes-popup{position:fixed;width:340px;max-height:460px;overflow:auto;right:320px;top:175px;z-index:12;border:1px solid #596b62;background:#222b28;border-radius:10px;padding:18px;box-shadow:0 20px 60px #0008}.notes-popup header{display:flex;justify-content:space-between;margin-bottom:15px;cursor:move}.notes-popup h3{margin:0;font-size:15px}.notes-popup header button{font-size:20px}.connection-instruction{color:var(--green)!important}.selected-indicator{color:var(--green)}@media(max-width:1250px){.sidebar{width:166px}.inspector{width:264px}.topbar{gap:10px}.stage-header{padding:20px}.search{width:142px}.stage-actions{gap:5px}.canvas-toolbar{left:40%}.prototype{display:none}}@media(max-width:1000px){.inspector{position:absolute;right:0;top:64px;bottom:0;z-index:5;box-shadow:-15px 0 50px #0004}.sidebar{width:160px}.stage-actions .icon-button{display:none}.sync{display:none}.canvas-toolbar{left:45%}.notes-popup{right:30px}.hide-inspector .inspector{display:none}}@media(max-width:700px){.sidebar{display:none}.topbar{padding:0 12px}.brand{font-size:17px}.project-name{max-width:110px;overflow:hidden;white-space:nowrap}.top-divider,.avatar,#project-menu-button{display:none}.topbar .primary{font-size:10px;padding:8px}h1{font-size:20px}h1 span{display:none}.stage-header{height:80px;padding:14px}.search{width:125px}#links-button{font-size:10px;padding:8px}.canvas-toolbar{left:44%;bottom:65px}.canvas-hint{font-size:8px;left:12px}.zoom-controls{bottom:18px}.inspector{width:280px}.form-grid{grid-template-columns:1fr}}
