:root {
  color-scheme: light;
  --ink:#222b33; --sub:#58636c; --line:#dce1e5; --green:#107c41; --orange:#b64b29; --blue:#206aaa;
  --sans:"Segoe UI",Inter,"Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  --mono:"IBM Plex Mono","SFMono-Regular",Consolas,Menlo,monospace;
}
* { box-sizing:border-box; }
html,body { margin:0; min-height:100%; }
body { height:100vh; height:100dvh; display:flex; flex-direction:column; overflow:hidden; color:var(--ink); background:#accdf4; font-family:var(--sans); -webkit-font-smoothing:antialiased; }
button,input,select { font:inherit; color:inherit; }
button { border:0; padding:0; background:transparent; cursor:pointer; }
button:disabled { opacity:.35; cursor:default; }
button:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible,[contenteditable]:focus-visible { outline:2px solid #347cc2; outline-offset:-2px; }
button,.titlebar,.toolbar,.taskbar,.ribbon-tabs,.thumbnails { user-select:none; -webkit-user-select:none; }
[hidden] { display:none !important; }
.icon,.glyph { --size:22px; width:var(--size); height:var(--size); display:inline-block; flex:none; background:url("assets/icons.png") no-repeat; background-size:calc(var(--size)*6) var(--size); background-position:calc(var(--size)*var(--offset,0)) 0; }
.icon-folder {--offset:-1}.icon-sheet {--offset:-2}.icon-deck {--offset:-3}.icon-monitor {--offset:-4}.icon-desktop {--offset:-5}
.glyph { --size:24px; background-image:url("assets/ribbon.png");background-size:calc(var(--size)*14) var(--size); }
.g-copy {--offset:-1}.g-fill {--offset:-2}.g-align {--offset:-3}.g-table {--offset:-4}.g-sum {--offset:-5}.g-percent {--offset:-6}.g-list {--offset:-7}.g-newslide {--offset:-8}.g-layout {--offset:-9}.g-text {--offset:-10}.g-shapes {--offset:-11}.g-select {--offset:-12}.g-show {--offset:-13}
.desktop { flex:1; min-height:0; position:relative; isolation:isolate; overflow:hidden; background:#91b8e7 url("assets/desktop.webp") center / cover no-repeat; }
.shortcuts { position:absolute; left:0; top:3.6%; width:5.7%; display:grid; justify-items:center; gap:12px; }
.shortcut { width:100%; max-width:76px; height:65px; display:grid; justify-items:center; align-content:center; gap:3px; border:1px solid transparent; border-radius:4px; color:white; text-shadow:0 1px 4px #132a44,0 0 2px #14283b; font-size:10px; font-weight:600; }
.shortcut .icon { --size:34px; filter:drop-shadow(0 2px 3px #18315a44); }
.shortcut:hover { background:#f2f7ff30; border-color:#f2f7ff55; }
.window { position:absolute; display:flex; flex-direction:column; min-height:0; overflow:hidden; background:#fff; border:1px solid #344e6547; border-radius:9px; box-shadow:0 14px 40px -8px #17324e5e,0 2px 6px #26384e26; }
.sheet-window { --accent:var(--green); --tint:#eaf2ed; left:5.8%; top:3.1%; width:49%; height:72.6%; z-index:3; }
.deck-window { --accent:var(--orange); --tint:#f9efeb; left:52.4%; top:12.5%; width:46.2%; height:74%; z-index:4; }
.monitor-window { left:5.8%; bottom:2.8%; width:min(46%,660px); z-index:5; background:#fafbfd; }
.window.is-maximized { inset:5px !important; width:auto !important; height:auto !important; }
.titlebar { display:flex; align-items:center; gap:7px; flex:0 0 38px; min-width:0; padding-left:13px; background:var(--tint,#f5f7fa); cursor:grab; touch-action:none; }
.titlebar:active { cursor:grabbing; }
.titlebar .icon { --size:21px; }
.app-name { font-size:12px; font-weight:650; color:#34413c; }
.title-rule { width:1px; height:13px; background:#aebcb46b; margin:0 2px; }
.titlebar h2 { font-size:12px; line-height:1.2; font-weight:550; margin:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.quick-tools { display:flex; margin-left:4px; gap:1px; }
.quick-tools button { width:22px; height:24px; font:19px/1 var(--sans); border-radius:3px; }
.window-controls { display:flex; margin-left:auto; align-self:stretch; }
.win-button { width:31px; position:relative; }
.win-button:hover,.quick-tools button:hover:not(:disabled) { background:#24344212; }
.win-button.close:hover { background:#c42c22; color:white; }
.win-button::before,.win-button::after { content:""; position:absolute; }
.minimize::before { top:50%; left:calc(50% - 5px); width:10px; height:1px; background:currentColor; }
.maximize::before { top:calc(50% - 4.5px); left:calc(50% - 4.5px); width:8px; height:8px; border:1px solid currentColor; border-radius:1px; }
.close::before,.close::after { top:50%; left:calc(50% - 6px); width:12px; height:1px; background:currentColor; transform:rotate(45deg); }
.close::after { transform:rotate(-45deg); }
.ribbon-tabs { display:flex; align-items:stretch; gap:3px; flex:0 0 30px; padding:0 8px; background:var(--tint); }
.ribbon-tabs button { position:relative; padding:0 9px; font-size:11px; white-space:nowrap; }
.ribbon-tabs button:hover,.ribbon-tabs button[aria-expanded=true] { background:#ffffff75; }
.ribbon-tabs button[aria-pressed=true] { font-weight:700; }
.ribbon-tabs button[aria-pressed=true]::after { content:""; position:absolute; height:3px; bottom:0; left:9px; right:9px; border-radius:2px 2px 0 0; background:var(--accent); }
.collaborators { margin-left:auto; display:flex; align-items:center; padding-right:4px; }
.collaborators i { font:600 9px var(--sans); border:2px solid var(--tint); border-radius:50%; width:20px; height:20px; display:grid; place-items:center; margin-left:-4px; background:#d9c8f1; color:#59367b; }
.collaborators i:nth-child(2) { background:#f6d0b5;color:#77431d; }.collaborators i:nth-child(3){background:#b8deec;color:#2c5e7b;}
.toolbar { display:flex; align-items:stretch; flex:0 0 68px; padding:5px 8px 4px; gap:2px; border-bottom:1px solid #d8dee0; background:linear-gradient(#fff,#fafbfc); }
.ribbon-group { display:flex; flex-direction:column; align-items:stretch; justify-content:space-between; padding:0 8px; border-right:1px solid #e0e3e6; }
.ribbon-group:first-child { padding-left:3px; }.ribbon-group:last-child { border-right:0; }
.ribbon-group>small { font-size:9px; color:#667078; text-align:center; white-space:nowrap; }
.group-body { display:flex; flex:1; align-items:flex-start; justify-content:center; gap:4px; }
.ribbon-large { display:inline-flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; border:1px solid transparent; border-radius:4px; padding:1px 4px; height:44px; font-size:10px; white-space:nowrap; }
.ribbon-large:hover,.small-glyph:hover,.tool:hover,.tool[aria-pressed=true] { background:#edf1f4; border-color:#d7dfe2; }
.small-glyph,.tool { display:inline-grid; place-items:center; align-self:center; width:21px; height:20px; border-radius:3px; border:1px solid transparent; }
.small-glyph .glyph,.tool .glyph {--size:17px;}
.font-lines { display:grid; gap:2px; align-items:start; }
.font-lines>div { display:flex; gap:3px; }
.tool-select select { height:19px; border:1px solid #bcc3c7; background:#fff; border-radius:3px; font-size:10px; padding:0 2px; }
.font-select select { width:75px; }.size-select select { width:35px; }
.tool { height:19px; font-size:12px; }.tool em { font-family:Georgia,serif; }
.alternate-ribbon { align-items:center; gap:12px; }
.formula-bar { display:flex; align-items:center; gap:3px; flex:0 0 29px; padding:3px 5px; background:#f5f6f7; border-bottom:1px solid #d9dfe0; }
#cell-address,#formula { height:21px; border:1px solid #c8cdce; border-radius:3px; font:11px var(--sans); background:#fff; }
#cell-address { min-width:62px; padding:2px 8px; color:#353d3a; }
.fx { padding:0 9px; font:italic 15px Georgia,serif; color:#627067; }
#formula { min-width:0; flex:1; padding:0 7px; font-variant-numeric:tabular-nums; }
.grid-scroll { flex:1; min-height:0; overflow:auto; scrollbar-width:thin; scrollbar-color:#bdc6bf #f6f7f6; background:#fff; }
#sheet-grid { width:100%; table-layout:fixed; border-spacing:0; font-size:clamp(10px,.88vw,13px); color:#25332c; }
#sheet-grid th,#sheet-grid td { padding:2px 7px; height:clamp(22px,2.9vh,31px); border-right:1px solid #d8dfda; border-bottom:1px solid #d8dfda; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#sheet-grid .row-num,#sheet-grid .letters th { text-align:center; background:#f4f6f5; color:#647169; padding:0; font:10px var(--sans); }
#sheet-grid .letters th { height:19px; }
#sheet-grid .letters { position:sticky; top:0; z-index:2; }
#sheet-grid .letters th:first-child { background:linear-gradient(135deg,transparent 55%,#a6b3aa 56%) bottom 3px right 3px / 8px 8px no-repeat,#f2f4f3; }
#sheet-grid .sheet-heading { text-align:left; background:#e3eee7; height:clamp(34px,5vh,48px); border-bottom-color:#b5cdbe; }
.sheet-heading strong { font-size:clamp(15px,1.52vw,25px); font-weight:700; color:#234d39; letter-spacing:-.035em; }
.period { margin-left:12px; font:600 10px var(--sans); color:#50725e; }
#sheet-grid .field-name { background:#246849; color:white; font-weight:600; text-align:left; height:25px; border-color:#43815f; font-size:11px; }
#sheet-grid .field-name.number { text-align:right; }
#sheet-grid td { background:#fff; }
#sheet-grid tr:nth-child(even) td[data-cell] { background:#f3f8f5; }
#sheet-grid [data-cell] { position:relative; cursor:cell; }
#sheet-grid .number { text-align:right; font-variant-numeric:tabular-nums; }
#sheet-grid .selected { outline:2px solid #168451; outline-offset:-2px; }
#sheet-grid .selected::after { content:""; position:absolute; right:0; bottom:0; width:4px; height:4px; background:#168451; }
#sheet-grid .sum td { background:#dfede4; font-weight:700; border-top:1px solid #9aba9f; }
#sheet-grid td.agent-edit { box-shadow:inset 0 0 0 1.5px var(--agent-ink); }
#sheet-grid td[data-typing] { background:var(--agent-wash,#e0f1e5); }
.ratio-cell { display:flex; align-items:center; gap:5px; }.ratio-track { display:block; flex:1; height:9px; background:#e5efe8; }
.ratio-track i { display:block; height:100%; background:#78b28b; }
.ratio-cell small { min-width:24px; text-align:right; font:10px var(--sans); font-variant-numeric:tabular-nums; }
.no-bars .ratio-track { visibility:hidden; }
.owner { color:#617168; font:10px var(--mono); }
.cell-input { position:absolute; inset:0; width:100%; height:100%; border:2px solid var(--green); padding:1px 5px; background:white; font:inherit; }
#sheet-grid .journal-heading { background:#f0f4f2; color:#355544; height:25px; text-align:left; font-weight:650; }
#sheet-grid .journal-label { color:#63736b; font-size:10px; font-weight:600; }
#sheet-grid .journal-entry td { color:#59665e; font-size:11px; }
#sheet-grid .journal-entry td.up { color:#087e51; }#sheet-grid .journal-entry td.down { color:#9c523c; }
.sheet-footer,.deck-footer { display:flex; flex:0 0 28px; align-items:center; gap:8px; padding:0 9px; background:#f5f7f6; color:#57635e; border-top:1px solid #d8dedd; font-size:10px; }
.grid-icon { font-size:15px; color:#607067; }.sheet-tabs { height:100%; display:flex; }
.sheet-tabs button { padding:0 11px; font-size:11px; }.sheet-tabs button[aria-pressed=true] { color:#126b3d; font-weight:650; background:#fff; box-shadow:inset 0 -3px #21844f; }
.sheet-state { margin-left:auto; display:flex; gap:5px; align-items:center; }.sheet-state span,.status-light { display:inline-block; width:6px; height:6px; border-radius:50%; background:#159464; }
.is-paused .status-light,.is-paused .sheet-state span { background:#bc8738; }
.deck-editor { display:flex; flex:1 1 0; min-height:0; }
.thumbnails { flex:0 0 clamp(66px,6vw,98px); display:flex; flex-direction:column; gap:13px; padding:12px 7px; overflow:auto; background:#f8f8f9; border-right:1px solid #dcdedf; scrollbar-width:thin; }
.thumbnail { display:flex; flex-direction:column; align-items:stretch; gap:4px; text-align:left; }
.thumbnail>span:first-child { font:10px var(--sans); color:#666; }
.thumbnail[aria-current=true]>span:first-child { color:#ad431d; font-weight:700; }
.mini-slide { display:block; position:relative; width:100%; aspect-ratio:16/9; border:1px solid #c6c9cc; background:white; overflow:hidden; }
.thumbnail[aria-current=true] .mini-slide { outline:2px solid #c65730; outline-offset:1px; }
.mini-slide { container-type:inline-size; }
.slide-workspace { position:relative; min-width:0; flex:1; display:grid; place-items:center; overflow:hidden; background:#e8e9eb; container-type:size; }
.slide-canvas { width:min(calc(100cqw - 26px),calc((100cqh - 28px)*1.7777778)); aspect-ratio:16/9; position:relative; container-type:inline-size; background:#fff; box-shadow:0 1px 4px #28344240; }
.slide { position:absolute; inset:0; overflow:hidden; background:white; color:#173649; }
.slide-topline { position:absolute; top:6.9%; left:6%; right:6%; display:flex; justify-content:space-between; align-items:center; font:650 1.55cqw/1 var(--sans); letter-spacing:.12em; color:#43656f; }
.slide-kicker { display:inline-flex; gap:1.3cqw; align-items:center; }.slide-kicker::before {content:"";width:3.5cqw;height:.47cqw;background:#db7649;}
.slide h3 { position:absolute; left:5.8%; top:15%; width:88%; margin:0; font:700 5.15cqw/1.23 var(--sans); letter-spacing:-.055em; white-space:pre-line; overflow-wrap:anywhere; z-index:2; }
.slide h3[contenteditable] { outline:1px solid #8aa7bf; }
.slide-sub { position:absolute; left:6%; top:76.3%; width:87%; margin:0; font:500 2.0cqw/1.35 var(--sans); color:#455d69; }
.slide-bottomline { position:absolute; bottom:5%; left:6%; right:6%; display:flex; align-items:flex-end; justify-content:space-between; height:6%; border-top:1px solid #d0dadc; font:600 1.35cqw/1 var(--sans); color:#60737c; letter-spacing:.09em; }
.slide-art { position:absolute; touch-action:none; cursor:move; }
.slide-art * { pointer-events:none; }
.slide-art.selected-art { outline:1px solid #8299af; }
.handle { display:none; position:absolute; width:5px; height:5px; border:1px solid #7f93a6; background:white; border-radius:50%; }
.selected-art>.handle { display:block; }.handle:nth-last-child(4){top:-3px;left:-3px}.handle:nth-last-child(3){top:-3px;right:-3px}.handle:nth-last-child(2){bottom:-3px;right:-3px}.handle:last-child{bottom:-3px;left:-3px}
.slide-cover { background:#f6f3eb; }.slide-cover .slide-topline,.slide-cover .slide-bottomline { right:49%; }.slide-cover .slide-topline>span:last-child { display:none; }
.slide-cover h3 { top:27%; width:52%; font-size:6.9cqw; line-height:1.18; }.slide-cover .slide-sub { top:62%; width:47%; }
.slide-cover .slide-art { width:42%; height:100%; }.slide-cover .slide-art img { width:100%; height:100%; object-fit:cover; }
.slide-mix .slide-art { width:51%; height:34%; }
.slide-metric { position:absolute; left:6%; top:36%; width:31%; }
.slide-metric>span { display:block; font:650 1.9cqw var(--sans); color:#46646b; }
.slide-metric strong { display:block; white-space:nowrap; font:650 10.5cqw/1.1 var(--sans); letter-spacing:-.065em; color:#096960; font-variant-numeric:tabular-nums; }
.slide-metric small { font:500 1.85cqw/1.2 var(--sans); color:#52616e; }
.slide-chart { height:100%; display:grid; grid-template-rows:repeat(6,1fr); gap:2%; }
.chart-row { min-height:0; display:grid; grid-template-columns:32% 1fr 11%; align-items:center; column-gap:3%; }
.chart-row b { font:550 1.7cqw/1 var(--sans); white-space:nowrap; }
.chart-track { display:block; height:53%; background:#e4eeed; }.chart-track i { display:block; height:100%; background:#388d88; }
.chart-row:nth-child(even) .chart-track i { background:#285f72; }
.chart-row small { font:600 1.65cqw var(--sans); text-align:right; font-variant-numeric:tabular-nums; }
.slide-next .slide-art { width:61%; height:38%; }.slide-next .slide-metric strong {color:#32627c;}
.slide-checklist { height:100%; display:grid; grid-template-rows:repeat(3,1fr); }
.slide-checklist>div { display:flex; align-items:center; gap:3%; border-bottom:1px solid #dbe3e7; font:550 2.3cqw var(--sans); }
.slide-checklist i { width:2.1cqw; height:2.1cqw; border:1px solid #5f8c88; background:#f6faf9; }.slide-checklist .done i { background:#2f8379; }
.slide-checklist small { margin-left:auto; font:600 1.7cqw var(--sans); color:#466a6b; }
.speaker-notes { min-width:0; display:flex; gap:9px; flex:0 0 28px; align-items:center; border-top:1px solid #dbdfe2; padding:0 10px; background:#fafbfc; font-size:10px; }
.speaker-notes>span:first-child { flex:none; font-weight:650; color:#657079; }#slide-notes { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.deck-footer { flex-basis:24px; background:#f4f5f6; }.footer-rule { margin-left:auto; }.deck-ratio { color:#6b7379; }
.monitor-window .titlebar { flex-basis:32px; background:#f4f7fa; border-bottom:1px solid #e2e7eb; }
.monitor-window .titlebar .icon { --size:18px; }.monitor-window .win-button { width:25px; }
#edit-count { margin-left:4px; color:#667580; font:10px var(--sans); font-variant-numeric:tabular-nums; }
.monitor-inner { padding:9px 12px 10px; display:grid; gap:7px; background:#fff; }
.monitor-readout { display:flex; align-items:center; gap:8px; }
.agent-total { display:flex; gap:5px; align-items:baseline; white-space:nowrap; }.agent-total strong { font:650 21px/1 var(--sans); font-variant-numeric:tabular-nums; letter-spacing:-1px; }.agent-total>span:last-child {font-size:10px;color:#596774;}
.agent-total .status-light { align-self:center; }.meter { display:flex; align-items:flex-end; width:62px; height:17px; gap:1px; overflow:hidden; }
.meter i { flex:1; min-width:1px; max-height:100%; background:#5d9aa1; }
.transport { margin-left:auto; display:flex; gap:6px; align-items:center; }
.transport-play,.speed-control button { height:24px; border:1px solid #d1d9de; background:#fff; font-size:10px; border-radius:4px; }
.transport-play { display:flex; align-items:center; justify-content:center; gap:5px; min-width:66px; padding:0 6px; }.transport-play:hover,.speed-control button:hover { background:#edf4f8; }
.speed-control { display:flex; }.speed-control button { min-width:28px; padding:0 3px; border-radius:0; }.speed-control button:first-child { border-radius:4px 0 0 4px; }.speed-control button:last-child { border-radius:0 4px 4px 0; }.speed-control button+button { border-left:0; }
.speed-control [aria-pressed=true] { color:#15578b; background:#e0edf7; font-weight:700; }
.pause-icon { width:7px;height:9px;border-inline:2px solid currentColor; }.play-icon {width:0;height:0;border-block:4px solid transparent;border-left:6px solid currentColor;}
.activity-list { display:grid; gap:3px; }.activity-list>div { display:flex; align-items:center; gap:6px; height:18px; min-width:0; }
.activity-list .icon { --size:15px; }.actor { min-width:42px; font:600 9px var(--mono); color:#5d6b77; }.change { overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#364552;font-variant-numeric:tabular-nums; }
.taskbar { z-index:105; position:relative; flex:0 0 49px; background:linear-gradient(110deg,#e5eef9,#edf3fb 52%,#dceafa); box-shadow:inset 0 1px #ffffffb3; border-top:1px solid #a5b8ca; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; padding:0 14px; }
.session,.system-tray,.task-apps { display:flex; align-items:center; }.session { gap:7px; }.session h1 { margin:0 4px 0 0; font:650 14px var(--sans); letter-spacing:-.04em; }.session #live-status {font-size:10px;color:#526370;}
.task-apps { gap:4px; }.task-app { position:relative; display:grid; place-items:center; height:37px; width:41px; border:1px solid transparent; border-radius:5px; }.task-app .icon {--size:26px;}
.task-app.active,.task-app:hover,.system-tray button:hover {background:#ffffffb8;border-color:#cfdae4;}
.task-app[data-task]::after {content:"";position:absolute;bottom:1px;width:5px;height:3px;background:#96a5b1;border-radius:2px;}
.task-app.active::after {width:14px;background:#217cb0;}.task-app.is-hidden::after {background:#aeb6bd;}
.start-logo {width:22px;height:22px;background:conic-gradient(from 90deg at 50% 50%,#1689d4 0 25%,#268fd9 0 50%,#40ace9 0 75%,#2194df 0);position:relative;}
.start-logo::before,.start-logo::after{content:"";position:absolute;background:#e5eef9;}.start-logo::before{width:2px;inset:0 auto 0 calc(50% - 1px);}.start-logo::after{height:2px;inset:calc(50% - 1px) 0 auto;}
.system-tray {justify-self:end;gap:6px;align-self:stretch;}.system-tray button {width:24px;height:29px;border:1px solid transparent;border-radius:4px;display:grid;place-items:center;}
.system-time {text-align:right;font-size:10px;display:grid;line-height:1.28;font-variant-numeric:tabular-nums;}#clock {font-size:12px;}
#show-desktop {border-left:1px solid #abbfce;width:7px;border-radius:0;margin-left:3px;height:33px;}
.speaker-glyph {position:relative;width:15px;height:12px;}.speaker-glyph::before{content:"";position:absolute;inset:0 5px 0 0;background:#425461;clip-path:polygon(0 30%,37% 30%,100% 0,100% 100%,37% 70%,0 70%);}
.speaker-glyph::after{content:"×";position:absolute;right:-2px;top:1px;font:bold 10px var(--sans);}#sound[aria-pressed=true] .speaker-glyph::after{content:")";}
.fullscreen i {display:block;width:13px;height:13px;background:linear-gradient(#455461,#455461) left top/5px 1px,linear-gradient(#455461,#455461) left top/1px 5px,linear-gradient(#455461,#455461) right top/5px 1px,linear-gradient(#455461,#455461) right top/1px 5px,linear-gradient(#455461,#455461) left bottom/5px 1px,linear-gradient(#455461,#455461) left bottom/1px 5px,linear-gradient(#455461,#455461) right bottom/5px 1px,linear-gradient(#455461,#455461) right bottom/1px 5px;background-repeat:no-repeat;}
#cursor-layer {position:absolute;inset:0;pointer-events:none;z-index:95;overflow:hidden;}
.agent {position:absolute;top:0;left:0;width:18px;height:19px;will-change:transform;}
.agent canvas {width:18px;height:19px;display:block;filter:drop-shadow(0 1px 1px #22303f66);}
.agent-label {position:absolute;top:12px;left:11px;background:var(--tag);color:#202c37;border:1px solid var(--tag-line);border-radius:2px 7px 7px 7px;padding:2px 5px;font:600 9px/1 var(--sans);white-space:nowrap;opacity:0;}
.agent.working .agent-label,.agent.editing .agent-label {opacity:.96;}.agent.editing .agent-label{box-shadow:0 1px 3px #273a4a30;}
.agent.label-left .agent-label{left:auto;right:13px;}.agent.label-up .agent-label{top:auto;bottom:16px;}.labels-off .agent-label{display:none;}
.click-ring {position:absolute;opacity:0;left:-6px;top:-6px;width:16px;height:16px;border:1px solid var(--tag-line);border-radius:50%;}
[data-typing]::after {content:"";display:inline-block;height:1em;vertical-align:-.12em;border-left:1px solid currentColor;}
.thumbnail .agent-touch,.slide h3.agent-touch {outline:1px solid var(--agent-ink);}
.menu-popup,dialog {background:#fcfdfe;border:1px solid #bdc9d3;border-radius:8px;box-shadow:0 9px 32px #1e344647;color:var(--ink);}
.menu-popup {position:fixed;z-index:160;min-width:200px;padding:5px;}
.menu-popup button,.folder-list button {display:flex;align-items:center;gap:9px;width:100%;text-align:left;padding:7px 10px;border-radius:4px;font-size:12px;}
.menu-popup button:hover,.folder-list button:hover {background:#e7f0f7;}.menu-popup .icon {--size:18px;}.menu-mark {width:18px;text-align:center;}.menu-popup kbd{margin-left:auto;color:#73808a;font:10px var(--mono);}
.menu-popup hr {border:0;border-top:1px solid var(--line);margin:4px;}
dialog {width:min(390px,calc(100% - 26px));padding:0;max-height:calc(100dvh - 30px);overflow:auto;}dialog::backdrop {background:#182a3c4d;}
dialog .titlebar {height:36px;cursor:default;}.dialog-body {padding:18px;font:12px/1.7 var(--sans);}.dialog-body h3{font-size:19px;margin:0;}.dialog-body dl{display:grid;grid-template-columns:auto 1fr;gap:5px 10px;}.dialog-body dt{font-weight:650;}.dialog-body dd{margin:0;}.folder-list{padding:9px;}
dialog.presenting{width:min(96vw,calc((100dvh - 100px)*1.7777778),1600px);}.present-stage{width:100%;aspect-ratio:16/9;position:relative;container-type:inline-size;}.present-stage .slide-art{cursor:default;}.present-nav{display:flex;align-items:center;justify-content:center;gap:14px;padding:5px;font:11px var(--sans);}.present-nav button{border:1px solid var(--line);border-radius:4px;padding:2px 9px;}
noscript{position:fixed;inset:40% 10% auto;background:white;text-align:center;padding:12px;z-index:155;}
@media(min-width:851px) and (max-height:740px) {
  .sheet-window { top:2.2%;height:73%; }.deck-window{top:10.5%;height:79%;}.monitor-window{bottom:2%;}
  .monitor-inner{padding:6px 10px;gap:4px;}.monitor-window .titlebar{flex-basis:28px;}.activity-list{gap:0;}
}
@media(min-width:851px) and (max-width:1120px) {
  .sheet-window{left:5.8%;width:50.2%;}.deck-window{left:50%;width:48.9%;}.ribbon-group{padding-inline:4px;}.ribbon-tabs button{padding-inline:6px;}.titlebar{gap:4px;padding-left:8px;}
  .monitor-window{width:43%;}.shortcuts{width:5.7%;}.shortcut{font-size:8px;}.meter{width:35px;}.collaborators i{width:16px;height:16px;}
}
@media(max-width:850px),(max-height:510px) {
  body{height:auto;overflow:auto;min-height:100dvh;}
  .desktop{flex:none;display:flex;flex-direction:column;gap:12px;align-items:stretch;padding:8px clamp(7px,2vw,17px) 60px;min-height:100dvh;background-attachment:fixed;}
  .shortcuts{position:static;display:flex;gap:8px;width:auto;justify-content:flex-start;}.shortcut{width:22%;max-width:80px;height:49px;font-size:9px;gap:0;}.shortcut .icon{--size:29px;}
  .window,.window.is-maximized{position:relative;inset:auto !important;width:100% !important;height:auto !important;flex:none;}.sheet-window{order:1;}.deck-window{order:2;}.monitor-window{order:3;}
  .titlebar{height:33px;flex-basis:33px;cursor:default;touch-action:pan-y;padding-left:9px;gap:5px;}.win-button{width:26px;}.win-button.maximize{display:none;}
  .ribbon-tabs{flex-basis:26px;gap:0;padding-inline:5px;}.ribbon-tabs button{font-size:10px;padding:0 6px;}.ribbon-tabs button[aria-pressed=true]::after{left:5px;right:5px;}
  .toolbar{flex-basis:58px;padding:3px;gap:0;}.ribbon-group{padding-inline:4px;}.ribbon-group>small{font-size:8px;}.group-body{gap:0;}.ribbon-large{font-size:9px;height:37px;padding:0 3px;}.ribbon-large .glyph{--size:19px;}
  .font-select select{width:57px;}.size-select select{width:32px;}.font-lines>div{gap:1px;}.tool{width:18px;height:15px;font-size:11px;}.small-glyph{width:17px;}.collaborators i{width:16px;height:16px;font-size:7px;}
  .formula-bar{flex-basis:26px;}.grid-scroll{flex:none;height:clamp(238px,59vw,325px);}
  #sheet-grid{font-size:10px;}#sheet-grid td,#sheet-grid th{height:22px;padding-inline:3px;}#sheet-grid .sheet-heading{height:32px;}.sheet-heading strong{font-size:16px;}.period{font-size:8px;margin-left:6px;}
  #sheet-grid .field-name,#sheet-grid .journal-entry td{font-size:9px;}#sheet-grid .owner,.ratio-cell small{font-size:8px;}.ratio-cell{gap:2px;}.ratio-cell small{min-width:18px;}
  .deck-editor{flex:none;height:clamp(170px,46vw,345px);}.thumbnails{flex-basis:clamp(46px,12vw,85px);padding:6px 4px;gap:7px;}
  .slide-canvas{width:min(calc(100cqw - 12px),calc((100cqh - 12px)*1.7777778));}
  .speaker-notes{flex-basis:22px;font-size:9px;}.deck-footer{flex-basis:20px;}
  .monitor-inner{padding:8px;}.meter{width:32px;}.taskbar{position:fixed;bottom:0;left:0;right:0;height:41px;padding:0 7px;display:flex;justify-content:space-between;gap:3px;}
  .session{gap:3px;}.session h1{font-size:12px;}.session #live-status{display:none;}.task-apps{gap:0;}.task-app{height:32px;width:31px;}.task-app .icon{--size:22px;}.start-logo{width:18px;height:18px;}.system-tray{gap:1px;}.system-tray button{width:17px;}.system-time{font-size:8px;}#clock{font-size:10px;}#show-desktop{width:5px;margin:0;}
  .agent canvas{width:15px;height:16px;}.agent-label{font-size:8px;padding:1px 3px;left:9px;top:10px;}
}
@media(max-width:370px){.collaborators,.quick-tools,.meter,#fullscreen{display:none;}.app-name{font-size:10px;}.titlebar h2{font-size:11px;}.ribbon-group{padding-inline:2px;}.session h1{font-size:10px;}.system-tray>.tray-button{display:none;}.ribbon-large{padding-inline:2px;}.transport{gap:3px;}.speed-control button{min-width:24px;}}
