/* Сцена скринкаста: интерфейс продукта из design/tokens.css (светлая тема), в области .stage */
.stage{
  --ink:#121418; --ink-2:#3f444c; --mut:#656b75; --paper:#ffffff; --ground:#f4f5f7; --sunk:#eceef1;
  --line:#e2e5ea; --line-2:#d3d7dd; --mark:#fff0b3; --mark-ink:#5c4a00; --nora:#2f5bd3; --nora-soft:#e8eefc;
  --on-nora:#ffffff; --warn:#b54708; --warn-soft:#fdeee3; --ok:#1a7f45; --ok-soft:#e5f4ea;
  --video:#1c1f25; --video-2:#2a2e36; --on-dark:#f2f3f5;
  --shadow:0 1px 2px rgba(16,24,40,.05),0 4px 16px rgba(16,24,40,.06);
  --r:12px;
  --font:"Onest",-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
  --mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  color-scheme:light;
  position:absolute; left:0; top:0; width:1100px; height:680px; transform-origin:0 0;
  background:var(--ground); color:var(--ink); font-family:var(--font); font-size:13.5px; line-height:1.45;
  -webkit-font-smoothing:antialiased; overflow:hidden; user-select:none;
}
.stage *{box-sizing:border-box}
.stage .mut{color:var(--mut)}
.stage .mono{font-family:var(--mono)}
.stage .lbl{font-size:10.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mut)}
.stage .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:32px;padding:0 12px;border-radius:9px;border:1px solid var(--line-2);background:var(--paper);font:inherit;font-size:12.5px;font-weight:500;color:var(--ink);white-space:nowrap;transition:transform .12s ease,background .2s ease}
.stage .btn-sm{height:28px;padding:0 10px;font-size:12px;border-radius:8px}
.stage .btn-dark{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.stage .btn-nora{background:var(--nora);border-color:var(--nora);color:var(--on-nora)}
.stage .btn.is-pressed{transform:scale(.94)}
.stage .chip{display:inline-flex;align-items:center;gap:5px;height:21px;padding:0 8px;border-radius:6px;background:var(--sunk);font-size:11px;font-weight:500;color:var(--ink-2);white-space:nowrap;transition:background .6s ease,color .6s ease}
.stage .chip-nora{background:var(--nora-soft);color:var(--nora)}
.stage .chip-warn{background:var(--warn-soft);color:var(--warn)}
.stage .chip-ok{background:var(--ok-soft);color:var(--ok)}
.stage .av{width:26px;height:26px;border-radius:50%;background:var(--sunk);color:var(--ink-2);font-size:10.5px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.stage .av-nora{background:var(--nora);color:var(--on-nora)}
.stage .marked{background:var(--mark)!important;color:var(--mark-ink)}
.stage .hl{transition:background 1.4s ease,color 1.4s ease;border-radius:6px}
.stage .ai{display:inline-flex;align-items:center;height:15px;padding:0 4px;border-radius:4px;background:var(--nora);color:var(--on-nora);font-size:9.5px;font-weight:700}

/* сцены */
.stage .scene{position:absolute;inset:0;padding:14px;display:flex;flex-direction:column;gap:12px;opacity:0;visibility:hidden;transition:opacity .5s ease,visibility 0s linear .5s}
.stage .scene.is-on{opacity:1;visibility:visible;transition:opacity .5s ease}
.stage .appbar{display:flex;align-items:center;gap:10px;height:22px;font-size:12px;color:var(--mut)}
.stage .appbar b{color:var(--ink);font-weight:600}
.stage .appbar .grow{flex:1}

/* блоки */
.stage .blk{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}
.stage .blk-hd{display:flex;align-items:center;gap:8px;padding:9px 14px;border-bottom:1px solid var(--line);font-size:12.5px;font-weight:600;flex-shrink:0}
.stage .blk-hd .grow{flex:1}
.stage .blk-hd .mut{font-weight:400;font-size:11.5px}
.stage .blk-bd{padding:6px 14px 10px;overflow:hidden;min-height:0;flex:1}

/* комната */
.stage .rm-top{display:flex;align-items:center;gap:16px;background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:10px 16px;flex-shrink:0}
.stage .rm-title{font-size:15px;font-weight:650}
.stage .rm-title .mut{font-weight:400;font-size:13px;margin-left:6px}
.stage .rm-sub{font-size:11.5px}
.stage .rm-clock{margin-left:auto;border:1px solid var(--line);border-radius:10px;padding:5px 12px;display:flex;align-items:baseline;gap:4px}
.stage .rm-clock .tmr{font-family:var(--mono);font-size:21px;font-weight:500;font-variant-numeric:tabular-nums;transition:color .3s}
.stage .rm-clock .mut{font-family:var(--mono);font-size:12px}
.stage .rm-clock.is-over .tmr{color:var(--warn)}
.stage .room{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;flex:1;min-height:0}
.stage .vstrip{display:flex;flex-direction:column;gap:7px;min-height:0}
.stage .tile{flex:1;background:var(--video);border-radius:10px;position:relative;display:flex;align-items:center;justify-content:center;color:var(--on-dark);outline:2px solid transparent;outline-offset:-2px;transition:outline-color .25s ease}
.stage .tile .face{width:38px;height:38px;border-radius:50%;background:var(--video-2);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;color:#c9ced6}
.stage .tile.nora .face{background:var(--nora);color:#fff}
.stage .tile .tname{position:absolute;left:6px;bottom:6px;display:inline-flex;align-items:center;gap:5px;background:rgba(0,0,0,.55);padding:2px 7px;border-radius:6px;font-size:11px}
.stage .tile .bars{display:inline-flex;align-items:flex-end;gap:2px;height:11px;width:0;overflow:hidden;transition:width .2s}
.stage .tile .bars i{width:2.5px;height:3px;border-radius:2px;background:#fff;opacity:.9}
.stage .tile.is-speaking{outline-color:#6f93ff}
.stage .tile.is-speaking .bars{width:16px}
.stage .tile.is-speaking .bars i{animation:st-bar .9s ease-in-out infinite}
.stage .tile.is-speaking .bars i:nth-child(2){animation-delay:.15s}
.stage .tile.is-speaking .bars i:nth-child(3){animation-delay:.3s}
.stage .tile.is-speaking .bars i:nth-child(4){animation-delay:.45s}
@keyframes st-bar{0%,100%{height:3px}50%{height:11px}}
.stage .tile .tstate{font-size:10px;color:#aeb4bf}
.stage .board{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:12px;min-height:0}
.stage .rm-bar{display:flex;align-items:center;gap:8px;background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:8px 12px;flex-shrink:0}
.stage .rm-bar .ctl{width:32px;height:32px;border-radius:50%;border:1px solid var(--line-2);display:inline-flex;align-items:center;justify-content:center;color:var(--ink-2)}
.stage .rm-bar .ctl svg{width:15px;height:15px}
.stage .rm-bar .grow{flex:1}
.stage .rm-bar .leave{color:var(--warn);border-color:var(--warn)}

/* повестка */
.stage .ag{display:flex;flex-direction:column;gap:3px}
.stage .ag-item{display:grid;grid-template-columns:16px minmax(0,1fr) auto;gap:2px 8px;align-items:baseline;padding:7px 9px;border:1px solid transparent;border-radius:10px;transition:background .4s,border-color .4s}
.stage .ag-n{font-size:11.5px;color:var(--mut);font-variant-numeric:tabular-nums}
.stage .ag-t{font-weight:500}
.stage .ag-min{font-size:11.5px;color:var(--mut);font-family:var(--mono)}
.stage .ag-notes{grid-column:2 / -1;font-size:12px;color:var(--ink-2)}
.stage .ag-notes:empty{display:none}
.stage .ag-item.is-done .ag-t,.stage .ag-item.is-done .ag-notes{color:var(--mut)}
.stage .ag-item.is-current{border-color:var(--line-2);background:var(--ground)}
.stage .ag-item.is-current .ag-t{font-weight:650}

/* лента Talisa */
.stage .feed{display:flex;flex-direction:column}
.stage .fi{display:grid;grid-template-columns:40px minmax(0,1fr);gap:1px 8px;padding:8px 0;border-top:1px solid var(--line);animation:st-in .45s ease-out both}
.stage .fi:first-child{border-top:none}
.stage .fi-time{font-family:var(--mono);font-size:11px;color:var(--mut);padding-top:2px}
.stage .fi-title{font-size:12.5px;font-weight:600}
.stage .fi-src{grid-column:2;font-size:11.5px;color:var(--mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stage .fi-acts{grid-column:2;display:flex;gap:6px;margin-top:5px}
.stage .fi.is-waiting{background:var(--ground);border-radius:10px;border-top-color:transparent;padding:8px 8px;margin:3px -8px}
.stage .fi.is-waiting + .fi{border-top-color:transparent}
.stage .empty{font-size:12px;color:var(--mut);padding:6px 0}
@keyframes st-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}

/* задачи */
.stage .tasks{display:flex;flex-direction:column}
.stage .tk{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:0 8px;align-items:baseline;padding:7px 4px;border-top:1px solid var(--line)}
.stage .tk:first-child{border-top:none}
.stage .tk-k{font-family:var(--mono);font-size:11px;color:var(--mut)}
.stage .tk-t{font-weight:500;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stage .tk-k{grid-column:1;grid-row:1}
.stage .tk-t{grid-column:2;grid-row:1}
.stage .tk-m{grid-column:2;grid-row:2;font-size:11.5px;color:var(--mut)}
.stage .tk .chip{grid-column:3;grid-row:1 / span 2;align-self:center}
.stage .tk.is-new{animation:st-in .45s ease-out both}

/* транскрипт */
.stage .tx{display:flex;flex-direction:column;gap:5px;font-size:12px}
.stage .tx div{display:grid;grid-template-columns:40px minmax(0,1fr);gap:8px;animation:st-in .35s ease-out both}
.stage .tx .t{font-family:var(--mono);font-size:11px;color:var(--mut)}
.stage .tx b{font-weight:600}

/* чат мессенджера */
.stage .chat{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);display:flex;flex-direction:column;min-height:0;overflow:hidden;position:relative}
.stage .chat-hd{display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid var(--line)}
.stage .chat-hd b{display:block;font-size:13px}
.stage .chat-hd small{display:block;font-size:11px;color:var(--mut)}
.stage .chat-hd .grow{flex:1}
.stage .chat-bd{flex:1;padding:12px 14px;display:flex;flex-direction:column;gap:8px;justify-content:flex-end;min-height:0;overflow:hidden;background:var(--ground)}
.stage .msg{max-width:82%;padding:8px 11px;border-radius:12px;font-size:12.5px;animation:st-in .4s ease-out both}
.stage .msg.in{background:var(--paper);border:1px solid var(--line);align-self:flex-start;border-bottom-left-radius:4px}
.stage .msg.out{background:#dbe6ff;align-self:flex-end;border-bottom-right-radius:4px}
.stage .msg .who{font-size:11px;font-weight:600;color:var(--nora);margin-bottom:2px}
.stage .msg .card{margin-top:7px;padding:7px 9px;border:1px solid var(--line);border-radius:9px;background:var(--ground);font-size:12px;display:flex;flex-direction:column;gap:3px}
.stage .msg .card .row{display:flex;align-items:center;gap:8px}
.stage .msg .acts{display:flex;gap:6px;margin-top:8px}
.stage .msg .meta{font-size:10.5px;color:var(--mut);text-align:right;margin-top:3px}
.stage .chat-in{display:flex;gap:8px;padding:10px 12px;border-top:1px solid var(--line)}
.stage .chat-in .inp{flex:1;height:32px;border:1px solid var(--line-2);border-radius:9px;padding:0 10px;display:flex;align-items:center;color:var(--mut);font-size:12.5px}

/* дашборд */
.stage .dash{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:14px 16px;display:flex;flex-direction:column;gap:10px;min-height:0;overflow:hidden}
.stage .dash h3{margin:0;font-size:17px;font-weight:650}
.stage .row2{display:grid;gap:12px;min-height:0;flex:1}
.stage .st{display:grid;grid-template-columns:26px minmax(0,1fr) auto;gap:0 10px;align-items:center;padding:6px 0;border-top:1px solid var(--line);font-size:12.5px}
.stage .st:first-child{border-top:none}
.stage .st small{display:block;color:var(--mut);font-size:11.5px}
.stage .progress{height:10px;border-radius:6px;background:var(--sunk);overflow:hidden}
.stage .progress i{display:block;height:100%;width:0;background:var(--ok);border-radius:6px;transition:width 1.6s cubic-bezier(.2,.7,.2,1)}
.stage .big{font-size:34px;font-weight:650;letter-spacing:-.02em;line-height:1}
.stage .big small{font-size:14px;font-weight:500;color:var(--mut);letter-spacing:0;margin-left:4px}
.stage .kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.stage .kpi{border:1px solid var(--line);border-radius:10px;padding:10px 12px}
.stage .kpi b{display:block;font-size:22px;font-weight:650;margin-top:2px}
.stage .kpi small{font-size:11px;color:var(--mut)}
.stage .pub{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;font-size:12.5px}
.stage .spin{width:14px;height:14px;border-radius:50%;border:2px solid var(--line-2);border-top-color:var(--nora);animation:st-spin .8s linear infinite;flex-shrink:0}
@keyframes st-spin{to{transform:rotate(360deg)}}
.stage .ok-dot{width:16px;height:16px;border-radius:50%;background:var(--ok);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:10px;flex-shrink:0}

/* звонок с Talisa */
.stage .call{position:absolute;left:12px;right:12px;top:58px;bottom:12px;background:var(--video);border-radius:12px;color:var(--on-dark);display:flex;flex-direction:column;align-items:center;padding:22px 18px 16px;gap:10px;opacity:0;transform:translateY(12px) scale(.98);transition:opacity .45s ease,transform .45s ease;pointer-events:none}
.stage .call.is-on{opacity:1;transform:none}
.stage .call .face{width:74px;height:74px;border-radius:50%;background:var(--nora);display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:600;color:#fff;box-shadow:0 0 0 0 rgba(111,147,255,.5)}
.stage .call.nora-talks .face{animation:st-ring 1.4s ease-out infinite}
@keyframes st-ring{0%{box-shadow:0 0 0 0 rgba(111,147,255,.55)}100%{box-shadow:0 0 0 18px rgba(111,147,255,0)}}
.stage .call .cn{font-size:14px;font-weight:600}
.stage .call .cs{font-size:11.5px;color:#aeb4bf;font-family:var(--mono)}
.stage .call .ctx{width:100%;display:flex;flex-direction:column;gap:7px;margin-top:6px}
.stage .call .cx{background:var(--video-2);border-radius:9px;padding:8px 10px;font-size:12px;display:flex;flex-direction:column;gap:2px;animation:st-in .4s ease-out both}
.stage .call .cx small{color:#aeb4bf;font-size:10.5px;text-transform:uppercase;letter-spacing:.05em;font-weight:600}
.stage .call .me{position:absolute;right:12px;top:12px;width:62px;height:44px;border-radius:8px;background:var(--video-2);display:flex;align-items:center;justify-content:center;font-size:11px;color:#c9ced6;outline:2px solid transparent;outline-offset:-2px}
.stage .call .me.is-speaking{outline-color:#6f93ff}
.stage .call .hang{margin-top:auto;display:flex;gap:10px}
.stage .call .hang span{width:34px;height:34px;border-radius:50%;background:var(--video-2);display:inline-flex;align-items:center;justify-content:center}
.stage .call .hang span.red{background:#c2410c}
.stage .call svg{width:15px;height:15px}

/* курсор */
.stage .cursor{position:absolute;left:0;top:0;width:22px;height:22px;z-index:30;pointer-events:none;transition:transform 1s cubic-bezier(.45,.05,.25,1),opacity .3s;opacity:0;filter:drop-shadow(0 2px 3px rgba(0,0,0,.25))}
.stage .cursor.is-on{opacity:1}
.stage .cursor .ring{position:absolute;left:-9px;top:-9px;width:22px;height:22px;border-radius:50%;border:2px solid var(--nora);opacity:0}
.stage .cursor.is-click .ring{animation:st-click .5s ease-out}
@keyframes st-click{0%{opacity:.9;transform:scale(.3)}100%{opacity:0;transform:scale(1.6)}}
.stage .rv{opacity:0;transform:translateY(8px);transition:opacity .5s ease,transform .5s ease}
.stage .rv.is-on{opacity:1;transform:none}
