:root{--sherpa:#004144;--sherpa-dark:#002e30;--sherpa-soft:#e6f0f0;--splice:#d1ff6e;--coral:#ff7f51;--coral-soft:#fff1eb;--ink:#0f1f20;--muted:#5b6b6c;--line:#dfe6e6;--surface:#fff;--canvas:#eef2f2;--green:#1f7a4d;--red:#b42318;--amber:#b45309;--blue:#1d4ed8;--radius:10px}*{box-sizing:border-box}html,body{background:var(--canvas);height:100%;color:var(--ink);margin:0;font:14px/1.45 Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}:focus-visible{outline:2px solid var(--coral);outline-offset:2px}p{margin:0}.muted{color:var(--muted)}.small{font-size:12px}.spacer{flex:1}.row{align-items:center;gap:8px;margin-top:10px;display:flex}.btn{white-space:nowrap;border:1px solid #0000;border-radius:8px;align-items:center;gap:8px;height:34px;padding:0 14px;font-weight:600;display:inline-flex}.btn-small{height:28px;padding:0 10px;font-size:12px}.btn-block{justify-content:center;width:100%}.btn-primary{background:var(--sherpa);color:#fff}.btn-primary:hover:not(:disabled){background:var(--sherpa-dark)}.btn-outline{background:var(--surface);border-color:var(--line)}.btn-outline:hover:not(:disabled){border-color:var(--sherpa)}.btn-splice{background:var(--splice);color:var(--sherpa-dark)}.btn-coral{background:var(--coral);color:#fff}.btn-ghost-light{color:#fff;background:0 0;border-color:#ffffff59}.btn-ghost-light:hover{border-color:#fff}.badge{background:var(--sherpa);color:#fff;text-align:center;border-radius:10px;min-width:20px;height:20px;padding:0 6px;font-size:11px;line-height:20px}.link,.link-light{text-underline-offset:2px;background:0 0;border:0;padding:0;font-weight:600;text-decoration:underline}.link{color:var(--sherpa)}.link-light{color:#ffffffd9;font-size:12px}.danger{color:var(--red)}.login{background:linear-gradient(160deg, var(--sherpa) 0%, var(--sherpa-dark) 100%);place-items:center;min-height:100%;padding:16px;display:grid}.login-card{background:var(--surface);border-radius:14px;gap:16px;width:min(380px,100%);padding:28px;display:grid;box-shadow:0 20px 50px #00000040}.field{gap:6px;font-size:13px;font-weight:600;display:grid}.field input{border:1px solid var(--line);border-radius:8px;height:40px;padding:0 12px;font-weight:400}.error{color:var(--red);font-size:13px}.brand{color:#fff;white-space:nowrap;align-items:center;gap:10px;font-size:15px;display:flex}.brand-dark{color:var(--ink)}.brand-mark{background:var(--splice);width:28px;height:28px;color:var(--sherpa-dark);border-radius:7px;place-items:center;font-weight:800;display:grid}.studio{flex-direction:column;height:100vh;display:flex}.topbar{background:var(--sherpa);flex-shrink:0;align-items:center;gap:12px;height:56px;padding:0 16px;display:flex}.segmented{background:#ffffff1a;border-radius:9px;padding:3px;display:inline-flex}.segmented button{color:#fffc;background:0 0;border:0;border-radius:6px;align-items:center;gap:6px;height:28px;padding:0 12px;font-size:13px;font-weight:600;display:inline-flex}.segmented button[aria-pressed=true]{color:var(--sherpa);background:#fff}.dot{border-radius:50%;width:7px;height:7px}.dot-amber{background:#f59e0b}.user{color:#fff;align-items:center;gap:8px;display:flex}.avatar{background:var(--coral);border-radius:50%;place-items:center;width:28px;height:28px;font-size:12px;font-weight:700;display:grid}.user-name{font-weight:600}.workspace{flex:1;min-height:0;display:flex}.side{background:var(--surface);border-right:1px solid var(--line);flex-direction:column;flex-shrink:0;width:400px;min-height:0;display:flex}.tabs{border-bottom:1px solid var(--line);gap:4px;padding:8px 12px 0;display:flex}.tabs button{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;align-items:center;gap:6px;padding:10px 12px;font-weight:600;display:inline-flex}.tabs button[aria-selected=true]{color:var(--sherpa);border-bottom-color:var(--sherpa)}.count{background:var(--coral);color:#fff;text-align:center;border-radius:9px;min-width:18px;height:18px;padding:0 5px;font-size:11px;line-height:18px}.notice{background:#fff7e6;border:1px solid #f5d38a;border-radius:8px;align-items:flex-start;gap:8px;margin:10px 12px 0;padding:10px 12px;font-size:13px;display:flex}.notice span{flex:1}.notice button{background:0 0;border:0;font-size:18px;line-height:1}.feed{flex-direction:column;flex:1;gap:14px;padding:14px 12px;display:flex;overflow-y:auto}.empty{border-radius:var(--radius);background:var(--sherpa-soft);gap:8px;padding:18px;display:grid}.empty h2{color:var(--sherpa);margin:0;font-size:16px}.turn{gap:6px;display:grid}.bubble{border-radius:var(--radius);white-space:pre-wrap;word-break:break-word;gap:6px;padding:10px 12px;display:grid}.bubble-user{background:var(--sherpa-soft);margin-left:24px}.bubble-claude{background:var(--surface);border:1px solid var(--line);margin-right:24px}.bubble-claude.status-undone>p{color:var(--muted);text-decoration:line-through}.bubble-claude.working{border-color:#f5d38a}.meta{color:var(--muted);white-space:normal;flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;display:flex}.meta strong{color:var(--ink)}.chip{border:1px solid var(--line);background:var(--surface);max-width:100%;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:1px 8px;font-size:12px;display:inline-flex;overflow:hidden}button.chip:hover{border-color:var(--sherpa)}.chip-coral{background:var(--coral-soft);border-color:#ffc6b0}.chip button{background:0 0;border:0;padding:0;font-size:14px;line-height:1}.pill{color:var(--muted);background:#eef0f0;border-radius:999px;padding:1px 8px;font-size:11px;font-weight:600}.pill-green{color:var(--green);background:#e3f4ea}.pill-red{color:var(--red);background:#fde8e6}.pill-amber{color:var(--amber);background:#fff3dd}.pill-blue{color:var(--blue);background:#e6edff}.activity{color:var(--muted);white-space:normal;margin:0;padding:0 0 0 16px;font-size:12px}.composer{border-top:1px solid var(--line);gap:8px;padding:10px 12px 12px;display:grid}.composer-context{flex-wrap:wrap;gap:6px;display:flex}.composer textarea,.new-comment textarea{resize:vertical;border:1px solid var(--line);background:var(--surface);border-radius:8px;width:100%;min-height:72px;padding:10px 12px}.composer textarea:focus,.new-comment textarea:focus{border-color:var(--sherpa);outline:none}.composer-actions{justify-content:space-between;align-items:center;gap:8px;display:flex}.new-comment{border-radius:var(--radius);background:var(--coral-soft);border:1px solid #ffc6b0;gap:8px;padding:12px;display:grid}.hint{padding:2px 2px 0}.toggle{color:var(--muted);align-items:center;gap:6px;display:inline-flex}.comment{border-radius:var(--radius);border:1px solid var(--line);background:var(--surface);gap:10px;padding:12px;display:flex}.comment.selected{border-color:var(--coral);box-shadow:0 0 0 2px #ff7f5133}.comment.resolved{opacity:.7}.comment-body{flex:1;gap:6px;min-width:0;display:grid}.pin{background:var(--coral);color:#fff;border-radius:12px 12px 12px 2px;flex-shrink:0;place-items:center;width:24px;height:24px;font-size:12px;font-weight:700;display:grid}.comment.resolved .pin{background:#64748b}.stage{flex:1;justify-content:center;align-items:stretch;min-width:0;padding:16px;display:flex;position:relative;overflow:auto}.device{background:#fff;border-radius:10px;flex-shrink:0;width:100%;overflow:hidden;box-shadow:0 1px 3px #00000014,0 8px 30px #00000014}.stage-tablet .device,.stage-mobile .device{border:10px solid #1b2526;border-radius:28px;max-height:100%}.stage-tablet .device{height:min(100%,1112px)}.stage-mobile .device{height:min(100%,844px)}.device iframe{border:0;width:100%;height:100%;display:block}.stage-message{text-align:center;max-width:420px;color:var(--muted);justify-items:center;gap:12px;margin:auto;display:grid}.spinner{border:3px solid var(--line);border-top-color:var(--sherpa);border-radius:50%;width:28px;height:28px;animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.modal-backdrop{z-index:10;background:#0a191a73;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.modal{background:var(--surface);border-radius:14px;gap:12px;width:min(560px,100%);max-height:85vh;padding:22px;display:grid;overflow-y:auto}.modal h2{margin:0;font-size:18px}.handover-list{gap:8px;margin:0;padding-left:20px;display:grid}@media (max-width:900px){.topbar{flex-wrap:wrap;height:auto;padding:10px 16px}.workspace{flex-direction:column}.side{border-right:0;border-bottom:1px solid var(--line);width:100%;max-height:50vh}.user-name{display:none}}
