/* R16 product layer (Astra, 2026-10-08). The Gopy OS desktop showcase inside #gopyos, plus Gopy OS window chrome
   around the Monday feed and the Autopilot panels. Loaded after style.css. Every rule is scoped to an r16- class.
   The look is taken from the real dashboard (gongpany-dashboard/app/src/os): desk/glass.css (the --gl recipe, 52px
   top bar, 44px window bar, 20px window radius, labelled dock, green focus rim), desk/desk.css (--d-* tokens),
   apps/tasks.css (board columns, status/priority pills), os.css (Outputs tabs + address bar, Approvals cards).
   No live backdrop blur anywhere here: everything sits in pinned or scrolling sections (scroll-motion-system). */

.r16-os, .r16-fwin, .r16-apwin, .r16-livewin {
  --r16-text: #f2f4f1; --r16-text2: rgba(242,244,241,.66); --r16-text3: rgba(242,244,241,.42);
  --r16-green: #34E88C; --r16-amber: #FFC65C; --r16-red: #ff7a7a; --r16-cyan: #7CF0FF;
  --r16-gl: linear-gradient(160deg, rgba(255,255,255,.115), rgba(255,255,255,.035) 46%, rgba(255,255,255,.06));
  --r16-rim: inset 0 1px 0 rgba(255,255,255,.22), inset 0 0 0 1px rgba(255,255,255,.085);
  --r16-drop: 0 24px 60px rgba(0,0,0,.45), 0 2px 8px rgba(0,0,0,.25);
  --r16-chip: rgba(255,255,255,.055);
  --r16-tint: rgba(13,16,20,.975);
}
.r16-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.r16-ic { flex: none; display: inline-block; vertical-align: middle; }

/* ================= shared window chrome (Window.tsx: icon, title + sub, tools, snap / minimise / maximise / close) */
.r16-wbar { position: relative; display: flex; align-items: center; gap: 9px; height: 44px; padding: 0 8px 0 14px; flex: none;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); box-shadow: inset 0 -1px 0 rgba(255,255,255,.06);
  color: var(--r16-text); user-select: none; min-width: 0; }
.r16-wic { display: grid; place-items: center; color: var(--r16-text3); flex: none; }
.r16-wt { display: flex; align-items: baseline; gap: 8px; flex: 1; min-width: 0; overflow: hidden; }
.r16-wt b { font-family: var(--head); font-weight: 400; font-size: 14.5px; letter-spacing: .005em; white-space: nowrap; }
.r16-wt em { font-style: normal; font-size: 12px; color: var(--r16-text3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r16-wctl { display: inline-flex; gap: 2px; flex: none; color: var(--r16-text3); }
.r16-wctl > svg, .r16-wctl > i { display: grid; place-items: center; width: 28px; height: 28px; padding: 7px; border-radius: 50%; box-sizing: border-box; }
.r16-wctl > i { padding: 0; font-style: normal; }
.r16-wback, .r16-wclose { display: none; }
.r16-demo { flex: none; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--r16-amber); background: rgba(255,198,92,.1); box-shadow: inset 0 0 0 1px rgba(255,198,92,.28); }

/* ================= Gopy OS showcase ================= */
.r16-os { position: relative; z-index: 3; color: var(--r16-text); }
.r16-stage { position: relative; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(250px, .34fr) minmax(0, 1fr);
  align-items: center; gap: clamp(20px, 3vw, 48px); padding: 76px clamp(18px, 3vw, 48px) 24px; box-sizing: border-box; }
.r16-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(42% 46% at 68% 52%, rgba(52,232,140,.12), transparent 70%), radial-gradient(30% 34% at 92% 12%, rgba(124,240,255,.06), transparent 70%); }
.r16-side { position: relative; z-index: 2; max-width: 400px; }
.r16-eyebrow { color: var(--r16-green); margin-bottom: 10px; }
.r16-h3 { font-family: var(--head); font-weight: 400; font-size: clamp(26px, 2.5vw, 38px); line-height: 1.08; letter-spacing: -.01em; margin: 0; }
.r16-lede { margin: 12px 0 18px; color: var(--soft, #D9DAD7); font-size: 16px; line-height: 1.5; }
.r16-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.r16-step button { display: grid; grid-template-columns: 30px 1fr; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-radius: 16px; background: none;
  color: var(--r16-text3); font: inherit; text-align: left; cursor: pointer; transition: background .3s, color .3s, box-shadow .3s; }
.r16-step .r16-num { font-family: var(--head); font-size: 13px; padding-top: 2px; color: inherit; }
.r16-step b { display: block; font-size: 15px; font-weight: 700; color: inherit; }
.r16-step em { display: block; font-style: normal; font-size: 13px; line-height: 1.4; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s, opacity .3s, margin .3s; }
.r16-step.on button { color: var(--r16-text); background: var(--r16-gl), rgba(20,24,28,.6); box-shadow: var(--r16-rim); }
.r16-step.on .r16-num { color: var(--r16-green); }
.r16-step.on em { max-height: 60px; opacity: .72; margin-top: 3px; }
.r16-step button:focus-visible { outline: 2px solid var(--r16-green); outline-offset: 2px; }
.r16-prog { height: 3px; margin: 16px 12px 0; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.r16-prog i { display: block; height: 100%; width: 0; background: var(--r16-green); border-radius: 3px; }
.r16-disc { margin: 12px 12px 0; font-size: 12px; color: var(--r16-text3); line-height: 1.45; }
.r16-cap { display: none; }

/* the device: the OS screen itself, no fake hardware. The screen is laid out at a fixed size and scaled by JS. */
.r16-device { position: relative; justify-self: stretch; align-self: stretch; min-width: 0; min-height: 0; }
.r16-frame { position: absolute; left: 0; top: 0; width: 0; height: 0; border-radius: 22px; overflow: hidden; transform-origin: 50% 60%; will-change: transform;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 40px 120px rgba(0,0,0,.65), 0 0 120px rgba(52,232,140,.08); }
.r16-screen { position: absolute; left: 0; top: 0; width: 1120px; height: 720px; transform-origin: 0 0; overflow: hidden; border-radius: 22px;
  background: #050607; font-family: var(--sans); font-size: 14px; line-height: 1.4; color: var(--r16-text); contain: layout paint; }
.r16-wall, .r16-wall i { position: absolute; inset: 0; pointer-events: none; }
.r16-wall { background: radial-gradient(1200px 800px at 50% 50%, transparent 40%, rgba(0,0,0,.4)), #050607; }
.r16-wall i:nth-child(1) { background: radial-gradient(60% 70% at 8% 100%, rgba(18,120,90,.55), transparent 70%); }
.r16-wall i:nth-child(2) { background: radial-gradient(50% 60% at 92% 16%, rgba(40,150,170,.26), transparent 70%); }
.r16-wall i:nth-child(3) { background: radial-gradient(1px 1px at 20px 20px, rgba(255,255,255,.06) 1px, transparent 1.5px) 0 0 / 28px 28px; }

/* top bar (Desktop.tsx: G + Gopy OS, workspace, search with ⌘K, working / waiting, theme, 中, Layout, me) */
.r16-top { position: absolute; left: 0; right: 0; top: 0; height: 52px; z-index: 20; display: flex; align-items: center; gap: 8px; padding: 0 12px;
  background: linear-gradient(180deg, rgba(10,12,14,.9), rgba(10,12,14,.74)); box-shadow: inset 0 -1px 0 rgba(255,255,255,.07); }
.r16-brand { display: inline-flex; align-items: center; gap: 9px; padding: 0 6px; }
.r16-brand b { font-family: var(--head); font-weight: 400; font-size: 17px; }
.r16-pill { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--r16-gl), var(--r16-chip);
  box-shadow: var(--r16-rim); color: var(--r16-text2); font-size: 13px; white-space: nowrap; }
.r16-pill.ws { color: var(--r16-text); font-weight: 600; }
.r16-wsdot { width: 8px; height: 8px; border-radius: 50%; background: var(--r16-green); }
.r16-pill.search { min-width: 250px; color: var(--r16-text3); }
.r16-pill kbd { margin-left: auto; padding: 1px 6px; border-radius: 6px; background: rgba(255,255,255,.07); font: inherit; font-size: 11px; }
.r16-pill.icon { width: 34px; padding: 0; justify-content: center; }
.r16-pill.lang { font-weight: 700; }
.r16-pill b { font-weight: 600; color: var(--r16-text); font-variant-numeric: tabular-nums; }
.r16-pill.r16-wait.is-on { color: var(--r16-amber); } .r16-pill.r16-wait.is-on b { color: var(--r16-amber); }
.r16-live { width: 7px; height: 7px; border-radius: 50%; background: var(--r16-text3); transition: background .3s, box-shadow .3s; }
.r16-live.is-on { background: var(--r16-green); box-shadow: 0 0 0 4px rgba(52,232,140,.18); }
.r16-gap { flex: 1; position: relative; align-self: stretch; }
.r16-me { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--r16-green); color: #04140b; font-weight: 700; font-size: 13px; box-shadow: 0 0 0 2px rgba(255,255,255,.12); }
.r16-demo-badge { position: absolute; z-index: 25; left: 12px; bottom: 22px; max-width: 112px; padding: 5px 10px; border-radius: 12px; text-align: center; line-height: 1.25; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #2a1a00; background: var(--r16-amber); box-shadow: 0 4px 14px rgba(0,0,0,.3); }

/* the G (GLogo.tsx: line draws, fill arrives, the eye settles as a breathing dot) */
.r16-g { position: relative; display: inline-block; flex: none; }
.r16-g svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.r16-gfill { fill: var(--r16-green); }
.r16-gline { fill: none; stroke: #b9ffd9; stroke-width: 14; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: 0; }
.r16-geye { position: absolute; left: 61.5%; top: 50%; width: 15%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, #fff 0 22%, #34E88C 46%, rgba(52,232,140,0) 72%); }
.r16-g-sm { width: 35px; height: 28px; filter: drop-shadow(0 0 10px rgba(52,232,140,.28)); }
.r16-g-lg { width: 150px; height: 120px; }
.r16-g-lg .r16-ga { left: 61.5%; top: 50%; }

/* boot (glass.css .gos-bootseq) */
.r16-boot { position: absolute; inset: 0; z-index: 40; display: grid; place-content: center; justify-items: center; gap: 18px;
  background: radial-gradient(600px 400px at 50% 50%, rgba(52,232,140,.12), transparent 70%), #040506; }
.r16-boot-w { font-family: var(--head); font-weight: 400; font-size: 26px; letter-spacing: .02em; color: #f2f4f1; }

/* windows area + dock */
.r16-wins { position: absolute; left: 10px; right: 10px; top: 52px; bottom: 82px; z-index: 5; }
.r16-hello { position: absolute; left: 0; right: 0; top: 34%; text-align: center; pointer-events: none; }
.r16-hello h5 { margin: 0; font-family: var(--head); font-weight: 400; font-size: 34px; }
.r16-hello p { margin: 6px 0 0; color: var(--r16-text2); font-size: 14px; }
.r16-dock { position: absolute; left: 50%; bottom: 12px; z-index: 20; display: flex; gap: 3px; padding: 7px; border-radius: 24px; transform: translateX(-50%);
  background: var(--r16-gl), rgba(12,15,18,.86); box-shadow: var(--r16-rim), var(--r16-drop); }
.r16-dk { position: relative; display: grid; grid-template-rows: 30px auto; place-items: center; align-content: center; gap: 1px; width: 60px; height: 56px; border-radius: 15px; color: var(--r16-text2); transition: background .25s, color .25s; }
.r16-dk-ic { position: relative; display: grid; place-items: center; width: 30px; height: 30px; }
.r16-dk-lb { font-size: 10.5px; font-weight: 600; line-height: 1.1; color: var(--r16-text3); max-width: 60px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r16-dk.is-open::after { content: ""; position: absolute; bottom: 2px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--r16-text3); }
.r16-dk.is-top { color: var(--r16-green); background: linear-gradient(160deg, rgba(52,232,140,.22), rgba(52,232,140,.07)); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 0 0 1px rgba(52,232,140,.28); }
.r16-dk.is-top .r16-dk-lb { color: var(--r16-text); }
.r16-dk.is-top::after { background: var(--r16-green); width: 14px; margin-left: -7px; border-radius: 3px; }
.r16-dk-sep { flex: none; width: 1px; height: 30px; margin: 0 4px; align-self: center; background: rgba(255,255,255,.12); }
.r16-dk-badge { position: absolute; top: -4px; right: -8px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; display: grid; place-items: center;
  font-style: normal; font-size: 10.5px; font-weight: 700; background: var(--r16-amber); color: #2a1a00; box-shadow: 0 0 0 2px rgba(10,12,14,.9); transform: scale(0); }

/* a window */
.r16-win { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; opacity: 0; transform-origin: 50% 50%;
  background: var(--r16-gl), var(--r16-tint); box-shadow: var(--r16-rim), var(--r16-drop); --dim: 0; }
.r16-win::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #050607; opacity: var(--dim); pointer-events: none; z-index: 9; }
.r16-win.is-focus { box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 0 0 1px rgba(255,255,255,.13), 0 0 0 1px rgba(52,232,140,.2), 0 30px 80px rgba(0,0,0,.55), 0 0 60px rgba(52,232,140,.07); }
.r16-win.is-focus .r16-wic { color: var(--r16-green); }
.r16-wbody { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.r16-w-chat { z-index: 1; } .r16-w-tasks { z-index: 2; } .r16-cards { z-index: 3; } .r16-w-outputs { z-index: 4; } .r16-w-approvals { z-index: 5; } .r16-w-connectors { z-index: 6; }
.r16-ghost { position: absolute; z-index: 2; opacity: 0; border-radius: 20px; pointer-events: none;
  background: linear-gradient(160deg, rgba(52,232,140,.14), rgba(52,232,140,.04)); box-shadow: inset 0 0 0 1.5px rgba(52,232,140,.55), 0 0 0 6px rgba(52,232,140,.06); }

/* cursor (desk) or touch dot (phone) */
.r16-cursor { position: absolute; left: 0; top: 0; z-index: 30; width: 22px; height: 22px; opacity: 0; pointer-events: none; will-change: transform; filter: drop-shadow(0 3px 6px rgba(0,0,0,.5)); }
.r16-cursor svg { position: absolute; left: -3px; top: -2px; }
.r16-cursor i { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(52,232,140,.9); opacity: 0; }
.r16-ga { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }

/* ---------- chat (classic room inside a window: head, You & / Agents tabs, bubbles, working pill, composer) */
.r16-room { display: grid; grid-template-rows: auto auto 1fr auto; height: 100%; }
.r16-room-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px 8px; }
.r16-room-head > div { flex: 1; min-width: 0; display: grid; }
.r16-room-head b { font-weight: 700; font-size: 15px; }
.r16-room-head em { font-style: normal; font-size: 12px; color: var(--r16-text3); }
.r16-face { position: relative; flex: none; width: 34px; height: 34px; }
.r16-face img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #F3E9DA; box-shadow: 0 0 0 2px #5B8DEF; }
.r16-face .r16-ga { left: 50%; top: -18px; }
.r16-tool { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--r16-chip); box-shadow: var(--r16-rim); font-size: 12.5px; color: var(--r16-text2); transition: background .25s, color .25s, box-shadow .25s; }
.r16-tool svg { color: var(--r16-green); }
.r16-tool.is-press { background: rgba(52,232,140,.16); color: var(--r16-text); box-shadow: inset 0 0 0 1px rgba(52,232,140,.45); }
.r16-tabs { display: flex; gap: 18px; padding: 0 14px; box-shadow: inset 0 -1px 0 rgba(255,255,255,.07); }
.r16-tabs span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 2px 10px; font-size: 13.5px; color: var(--r16-text3); }
.r16-tabs span.on { color: var(--r16-text); box-shadow: inset 0 -2px 0 var(--r16-green); }
.r16-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--r16-green); color: #04140b; font-style: normal; font-size: 10.5px; font-weight: 700; }
.r16-thread { position: relative; overflow: hidden; min-height: 0; -webkit-mask-image: linear-gradient(180deg, transparent, #000 22px); mask-image: linear-gradient(180deg, transparent, #000 22px); }
.r16-thread-in { display: flex; flex-direction: column; gap: 12px; padding: 14px; will-change: transform; }
.r16-msg { opacity: 0; }
.r16-msg.me { align-self: flex-end; max-width: 82%; display: grid; justify-items: end; gap: 4px; }
.r16-msg.me p { margin: 0; padding: 10px 14px; border-radius: 18px 18px 6px 18px; background: rgba(52,232,140,.16); box-shadow: inset 0 0 0 1px rgba(52,232,140,.22); font-size: 13.5px; line-height: 1.45; }
.r16-msg time { font-size: 11px; color: var(--r16-text3); }
.r16-msg.r16-ag { align-self: flex-start; max-width: 92%; display: grid; gap: 4px; }
.r16-from { font-size: 12px; font-weight: 700; color: #E0684A; }
.r16-bub { padding: 10px 12px; border-radius: 6px 18px 18px 18px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); font-size: 13.5px; }
.r16-bub > p { margin: 0; }
.r16-small { font-size: 12px !important; color: var(--r16-text3); margin-top: 8px !important; }
.r16-plan { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 5px; }
.r16-plan-row { position: relative; display: flex; align-items: center; gap: 9px; padding: 6px 30px 6px 7px; border-radius: 12px; background: rgba(0,0,0,.22); box-shadow: inset 3px 0 0 var(--c); opacity: 0; }
.r16-plan-row img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; background: #F3E9DA; }
.r16-plan-row span { display: grid; min-width: 0; }
.r16-plan-row b { font-weight: 600; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r16-plan-row em { font-style: normal; font-size: 11px; color: var(--r16-text3); }
.r16-plan-ok { position: absolute; right: 8px; top: 50%; display: grid; place-items: center; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--r16-green); color: #04140b; opacity: 0; }
.r16-working { display: inline-flex; align-self: flex-start; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 22px; opacity: 0;
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.025)); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px rgba(255,255,255,.07); }
.r16-orb { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: radial-gradient(circle, rgba(52,232,140,.16), transparent 70%); }
.r16-orb > i { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: var(--r16-green); box-shadow: 0 0 8px var(--r16-green); }
.r16-wk { display: grid; gap: 1px; }
.r16-wk b { font-weight: 600; font-size: 13.5px; }
.r16-wk em { font-style: normal; font-size: 11.5px; color: var(--r16-text3); font-variant-numeric: tabular-nums; }
.r16-comp { display: flex; align-items: center; gap: 12px; margin: 8px 12px 12px; padding: 0 16px; height: 50px; border-radius: 25px; background: rgba(0,0,0,.3); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); color: var(--r16-text2); }
.r16-comp-in { position: relative; flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; font-size: 13.5px; overflow: hidden; }
.r16-ph-txt { color: var(--r16-text3); }
.r16-typed { position: absolute; left: 0; top: 50%; white-space: nowrap; color: var(--r16-text); transform: translateY(-50%); }
.r16-typed:not(:empty) + .r16-ph-txt { visibility: hidden; }
.r16-typed:not(:empty)::after { content: ""; display: inline-block; width: 1.5px; height: 1.1em; margin-left: 1px; vertical-align: -2px; background: var(--r16-green); }

/* ---------- tasks (TasksApp board: segmented My work / Board / Team, New task, columns with dot + count, cards) */
.r16-tk { display: grid; grid-template-rows: auto 1fr; height: 100%; }
.r16-tk-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px 10px; }
.r16-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(0,0,0,.28); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.r16-seg > span { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px; border-radius: 999px; font-size: 13px; font-weight: 600; opacity: .7; white-space: nowrap; }
.r16-seg > span.on { opacity: 1; background: linear-gradient(160deg, rgba(255,255,255,.2), rgba(255,255,255,.07)); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.r16-seg > span.on svg { color: var(--r16-green); }
.r16-tk-head .r16-gap .r16-ga { left: 50%; top: 50%; }
.r16-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; font-weight: 700; font-size: 13px; white-space: nowrap;
  background: var(--r16-chip); box-shadow: var(--r16-rim); color: var(--r16-text); transition: transform .2s, background .2s, filter .2s; }
.r16-btn.primary, .r16-btn.approve { background: var(--r16-green); color: #06140c; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 6px 18px rgba(52,232,140,.22); }
.r16-btn.ghost { background: var(--r16-gl), var(--r16-chip); }
.r16-btn.sm { height: 30px; padding: 0 12px; font-size: 12.5px; }
.r16-btn.is-press { transform: scale(.93); filter: brightness(1.12); }
.r16-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0 14px 14px; min-height: 0; }
.r16-col { --c: rgba(200,210,205,.8); display: flex; flex-direction: column; border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.r16-col.is-doing { --c: var(--r16-cyan); } .r16-col.is-review { --c: var(--r16-amber); } .r16-col.is-done { --c: var(--r16-green); }
.r16-col h4 { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 12px 8px; font-family: var(--head); font-weight: 400; font-size: 14px; }
.r16-col h4 i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); flex: none; }
.r16-col h4 em { margin-left: auto; font-family: var(--sans); font-style: normal; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 9px; background: var(--r16-chip); font-variant-numeric: tabular-nums; }
.r16-list { display: none; }
.r16-cards { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; opacity: 0; }
.r16-card { position: absolute; left: 0; top: 0; width: 126px; height: 70px; box-sizing: border-box; display: grid; align-content: space-between; gap: 6px; padding: 9px 10px 9px 13px;
  border-radius: 14px; background: var(--r16-gl), rgba(20,25,30,.97); box-shadow: var(--r16-rim), inset 3px 0 0 var(--c), 0 4px 14px rgba(0,0,0,.25); opacity: 0; will-change: transform; }
.r16-card-t { font-weight: 600; font-size: 12px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.r16-card-m { display: flex; align-items: center; gap: 5px; min-width: 0; }
.r16-card-m img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; background: #F3E9DA; flex: none; }
.r16-own { font-size: 10.5px; color: var(--r16-text3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; }
.r16-stat { display: none; }
.r16-prio { flex: none; height: 17px; display: inline-flex; align-items: center; padding: 0 6px; border-radius: 999px; font-size: 9.5px; font-weight: 700; color: var(--r16-amber); background: rgba(255,210,122,.12); box-shadow: inset 0 0 0 1px rgba(255,210,122,.3); }
.r16-card-ok { position: absolute; right: 7px; top: 7px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--r16-green); color: #04140b; transform: scale(0); transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.r16-card.is-done .r16-card-ok { transform: scale(1); }
.r16-card.is-done .r16-card-t { opacity: .62; }
.r16-card.is-hot { box-shadow: var(--r16-rim), inset 3px 0 0 var(--c), 0 0 0 2px rgba(52,232,140,.65), 0 8px 24px rgba(0,0,0,.35); }

/* ---------- outputs (Outputs.tsx browser: tabs, back / forward / reload, gopy:// address, viewer, made-by strip) */
.r16-ob { display: grid; grid-template-rows: auto auto 1fr auto; height: 100%; }
.r16-ob-tabs { display: flex; gap: 4px; align-items: flex-end; padding: 8px 12px 0; box-shadow: inset 0 -1px 0 rgba(255,255,255,.07); }
.r16-ob-tab { display: flex; align-items: center; gap: 7px; max-width: 250px; padding: 8px 10px 9px 12px; border-radius: 10px 10px 0 0; font-size: 12.5px; color: var(--r16-text3); white-space: nowrap; }
.r16-ob-tab span { overflow: hidden; text-overflow: ellipsis; }
.r16-ob-tab.on { color: var(--r16-text); background: rgba(255,255,255,.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.r16-ob-tab.on svg:first-child { color: var(--r16-green); }
.r16-ob-tab2 { opacity: 0; }
.r16-ob-bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; color: var(--r16-text3); background: rgba(255,255,255,.04); }
.r16-ob-addr { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: rgba(0,0,0,.35); color: var(--r16-text2); font-size: 12.5px; }
.r16-ob-addr svg { color: var(--r16-green); }
.r16-ob-addr span { white-space: nowrap; overflow: hidden; }
.r16-ob-view { position: relative; min-height: 0; overflow: hidden; display: grid; place-items: start center; padding: 18px 18px 0; background: repeating-conic-gradient(#0b0d0f 0 25%, #090b0c 0 50%) 0 0 / 24px 24px; }
.r16-doc { position: relative; width: min(520px, 100%); box-sizing: border-box; padding: 20px 24px 22px; border-radius: 8px 8px 0 0; background: #f2f3ee; color: #121514; box-shadow: 0 -6px 30px rgba(0,0,0,.4); }
.r16-doc .r16-ga { left: auto; right: 34px; top: 30px; }
.r16-kind { display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #1d8f55; }
.r16-doc h5 { margin: 6px 0 2px; font-family: var(--head); font-weight: 400; font-size: 20px; line-height: 1.2; }
.r16-doc-sub { margin: 0 0 10px; font-size: 12.5px; color: rgba(0,0,0,.55); }
.r16-doc table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.r16-doc th { text-align: left; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(0,0,0,.45); padding: 4px 6px; border-bottom: 1px solid rgba(0,0,0,.12); }
.r16-doc td { padding: 6px; border-bottom: 1px solid rgba(0,0,0,.07); }
.r16-doc td:nth-child(n+2), .r16-doc th:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; }
.r16-total td { font-weight: 700; border-bottom: 0; }
.r16-doc-sig { margin: 10px 0 0; font-size: 12px; color: #1d8f55; font-weight: 600; }
.r16-ob-info { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: rgba(255,255,255,.04); box-shadow: inset 0 1px 0 rgba(255,255,255,.07); }
.r16-ob-info img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: #F3E9DA; }
.r16-ob-info > div { flex: 1; min-width: 0; display: grid; }
.r16-ob-info b { font-weight: 600; font-size: 13px; }
.r16-ob-info span { font-size: 12px; color: var(--r16-text3); }
.r16-ob-info .r16-btn span { color: inherit; font-size: inherit; }

/* ---------- approvals (Approvals.tsx: group by what the agent wants to do, card with No / Yes, Approved) */
.r16-apv { padding: 12px 16px 16px; display: grid; gap: 10px; align-content: start; }
.r16-h { margin: 0 2px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--r16-text3); }
.r16-apg { padding: 14px; border-radius: 18px; background: var(--r16-gl), rgba(255,255,255,.02); box-shadow: var(--r16-rim); }
.r16-apg header { display: flex; gap: 12px; align-items: center; }
.r16-apg header img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #F3E9DA; }
.r16-ap-what { flex: 1; min-width: 0; display: grid; gap: 2px; }
.r16-ap-what b { font-weight: 600; }
.r16-ap-what span { font-size: 13px; color: var(--r16-text2); }
.r16-ap-count { font-family: var(--head); font-size: 22px; color: var(--r16-amber); min-width: 30px; text-align: right; }
.r16-ap-card { position: relative; display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-top: 12px; padding: 12px; border-radius: 12px; background: rgba(0,0,0,.25); }
.r16-ap-card > div { min-width: 0; flex: 1; }
.r16-ap-card p { margin: 0 0 3px; font-size: 13.5px; }
.r16-ap-when { font-size: 12px; color: var(--r16-text3); }
.r16-ap-act { display: flex; gap: 6px; }
.r16-yes { position: relative; }
.r16-ap-done { position: absolute; right: 14px; top: 50%; display: inline-flex; align-items: center; gap: 6px; transform: translateY(-50%); font-size: 13px; font-weight: 700; color: var(--r16-green); opacity: 0; }
.r16-ap-note { display: flex; align-items: center; gap: 7px; margin: 2px 4px 0; font-size: 12.5px; color: var(--r16-text3); }

/* ---------- connectors (Connections.tsx honest states; chat apps are named tiles, not official marks) */
.r16-cn { padding: 14px 18px 18px; display: grid; gap: 12px; align-content: start; height: 100%; box-sizing: border-box; }
.r16-cn-head { position: relative; }
.r16-cn-head h5 { margin: 0; font-family: var(--head); font-weight: 400; font-size: 24px; }
.r16-cn-head p { margin: 3px 0 0; font-size: 13px; color: var(--r16-text2); }
.r16-cn-head .r16-ga { left: auto; right: 30px; top: 18px; }
.r16-cn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.r16-cn-card { display: grid; grid-template-columns: 42px 1fr; grid-template-rows: 1fr auto; gap: 8px 12px; padding: 14px; border-radius: 18px; background: var(--r16-gl), rgba(255,255,255,.02); box-shadow: var(--r16-rim); opacity: 0; }
.r16-cn-mono { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; font-weight: 700; font-size: 18px; color: var(--b);
  background: color-mix(in srgb, var(--b) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--b) 40%, transparent); font-family: var(--sans); }
.r16-cn-card b { font-weight: 700; font-size: 14.5px; }
.r16-cn-card b i { font-style: normal; font-weight: 600; color: var(--r16-text2); margin-left: 6px; }
.r16-cn-card b i:empty { display: none; }
.r16-cn-card p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--r16-text3); }
.r16-chip { justify-self: start; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap;
  color: var(--r16-amber); background: rgba(255,198,92,.08); box-shadow: inset 0 0 0 1px rgba(255,198,92,.32); }
.r16-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.r16-cn-note { display: flex; align-items: flex-start; gap: 8px; margin: 2px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(255,198,92,.08); font-size: 12.5px; line-height: 1.45; color: var(--r16-text); opacity: 0; }
.r16-cn-note svg { color: var(--r16-amber); margin-top: 1px; }
.r16-cn-tip { justify-self: start; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--r16-green); background: rgba(52,232,140,.1); box-shadow: inset 0 0 0 1px rgba(52,232,140,.3); opacity: 0; }

/* tokens drawn from attributes (not copy: a URL, a shortcut, an initial) */
.r16-addr::before { content: attr(data-addr); }
.r16-pill kbd::before, .r16-me::before, .r16-cn-mono::before { content: attr(data-k); }
/* the working pill and Mira's reply share one slot, so the reply lands where the pill was */
.r16-slot { display: grid; }
.r16-slot > * { grid-area: 1 / 1; }
.r16-hello .r16-ga { top: -34px; }
.r16-yes .r16-ga { top: -20px; }

/* ---------- tablet layout (761-1080): copy on top, the device below */
.r16-os.m-tab .r16-stage { grid-template-columns: 1fr; grid-template-rows: auto auto auto; align-content: center; align-items: start; padding-top: 84px; gap: 22px; }
.r16-os.m-tab .r16-cap { font-size: 15px; max-width: 620px; justify-self: center; }
.r16-os.m-tab .r16-side { max-width: 720px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.r16-os.m-tab .r16-side > .r16-eyebrow, .r16-os.m-tab .r16-h3, .r16-os.m-tab .r16-lede { grid-column: 1; }
.r16-os.m-tab .r16-steps { grid-column: 2; grid-row: 1 / span 4; display: none; }
.r16-os.m-tab .r16-prog, .r16-os.m-tab .r16-disc { grid-column: 1; margin-left: 0; }
.r16-os.m-tab .r16-lede { margin-bottom: 4px; }
.r16-os.m-tab .r16-cap, .r16-os.m-phone .r16-cap { display: block; }
.r16-os.m-tab .r16-side { grid-template-columns: 1fr; }

/* ---------- phone layout (<=760): one window at a time, 5-app dock, list view */
.r16-os.m-phone .r16-stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; padding: 66px 16px 14px; gap: 10px; }
.r16-os.m-phone .r16-side { max-width: none; }
.r16-os.m-phone .r16-eyebrow { margin-bottom: 4px; font-size: 11px; }
.r16-os.m-phone .r16-h3 { font-size: 23px; }
.r16-os.m-phone .r16-lede, .r16-os.m-phone .r16-steps { display: none; }
.r16-os.m-phone .r16-prog { margin: 8px 0 0; }
.r16-os.m-phone .r16-disc { margin: 6px 0 0; font-size: 11px; }
.r16-cap { position: relative; z-index: 2; margin: 0; min-height: 2.6em; font-size: 13.5px; line-height: 1.35; color: var(--r16-text2); text-align: center; }
.r16-cap b { color: var(--r16-text); font-weight: 700; margin-right: 6px; }
.r16-os.m-phone .r16-cap { order: 3; }
.r16-os.m-phone .r16-screen { width: 390px; height: 700px; border-radius: 30px; }
.r16-os.m-phone .r16-frame { border-radius: 30px; }
.r16-os.m-phone .r16-top { height: 48px; padding: 0 10px; gap: 6px; }
.r16-os.m-phone .r16-brand b, .r16-os.m-phone .r16-pill.search span, .r16-os.m-phone .r16-pill.search kbd,
.r16-os.m-phone .r16-pill.st, .r16-os.m-phone .r16-pill.icon, .r16-os.m-phone .r16-pill.lay { display: none; }
.r16-os.m-phone .r16-pill.search { min-width: 0; width: 34px; padding: 0; justify-content: center; margin-left: auto; }
.r16-os.m-phone .r16-top .r16-gap { display: none; }
.r16-os.m-phone .r16-demo-badge { display: none; }  /* every window bar still carries its Demo chip */
.r16-os.m-phone .r16-wins { left: 0; right: 0; top: 48px; bottom: 66px; }
.r16-os.m-phone .r16-dock { left: 0; right: 0; bottom: 0; transform: none; border-radius: 0; padding: 4px 6px 6px; justify-content: space-around; background: rgba(8,9,11,.97); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.r16-os.m-phone .r16-dk { width: 66px; }
.r16-os.m-phone .r16-dk:not([data-app=agents]):not([data-app=chat]):not([data-app=tasks]):not([data-app=approvals]):not([data-app=apps]), .r16-os.m-phone .r16-dk-sep { display: none; }
.r16-os.m-phone .r16-win { border-radius: 0; box-shadow: none; background: #0b0d10; }
.r16-os.m-phone .r16-wctl { display: none; }
.r16-os.m-phone .r16-wbar { height: 52px; padding: 0 6px; }
.r16-os.m-phone .r16-wback, .r16-os.m-phone .r16-wclose { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--r16-chip); box-shadow: var(--r16-rim); color: var(--r16-text); flex: none; }
.r16-os.m-phone .r16-wt em { display: none; }
.r16-os.m-phone .r16-hello h5 { font-size: 24px; }
.r16-os.m-phone .r16-hello { padding: 0 20px; }
.r16-os.m-phone .r16-board { display: flex; gap: 6px; padding: 0 12px 8px; }
.r16-os.m-phone .r16-col { flex: 1; border-radius: 12px; }
.r16-os.m-phone .r16-col h4 { padding: 7px 8px; font-size: 11.5px; gap: 5px; flex-wrap: nowrap; white-space: nowrap; }
.r16-os.m-phone .r16-col h4 em { padding: 0 6px; font-size: 11px; }
.r16-os.m-phone .r16-tk { grid-template-rows: auto auto 1fr; }
.r16-os.m-phone .r16-list { display: block; }
.r16-os.m-phone .r16-tk-head .r16-btn span, .r16-os.m-phone .r16-seg > span:not(.on) span { display: none; }
.r16-os.m-phone .r16-card { width: 366px; height: 62px; grid-template-columns: 1fr auto; padding: 10px 12px 10px 14px; }
.r16-os.m-phone .r16-card-t { font-size: 13.5px; -webkit-line-clamp: 1; grid-column: 1 / -1; }
.r16-os.m-phone .r16-card-m { grid-column: 1 / -1; }
.r16-os.m-phone .r16-own { font-size: 11.5px; }
.r16-os.m-phone .r16-stat { display: inline-flex; flex: none; height: 20px; align-items: center; padding: 0 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; background: var(--r16-chip); color: var(--r16-text2); }
.r16-os.m-phone .r16-stat.is-doing { color: var(--r16-cyan); } .r16-os.m-phone .r16-stat.is-review { color: var(--r16-amber); } .r16-os.m-phone .r16-stat.is-done { color: var(--r16-green); }
.r16-os.m-phone .r16-card-ok { right: 12px; top: 10px; }
.r16-os.m-phone .r16-ob-tab2, .r16-os.m-phone .r16-ob-bar svg:not(:first-child):not(:last-child) { display: none; }
.r16-os.m-phone .r16-ob-view { padding: 12px 10px 0; }
.r16-os.m-phone .r16-doc { padding: 16px 16px 18px; }
.r16-os.m-phone .r16-ob-info .r16-btn span { display: none; }
.r16-os.m-phone .r16-ap-card { flex-direction: column; align-items: stretch; }
.r16-os.m-phone .r16-ap-act { justify-content: flex-end; }
.r16-os.m-phone .r16-ap-done { top: auto; bottom: 18px; transform: none; }
.r16-os.m-phone .r16-cn { gap: 9px; padding: 12px 12px 14px; }
.r16-os.m-phone .r16-cn-head h5 { font-size: 20px; }
.r16-os.m-phone .r16-cn-head p { font-size: 12px; }
.r16-os.m-phone .r16-cn-grid { grid-template-columns: 1fr; gap: 6px; }
.r16-os.m-phone .r16-cn-card { grid-template-columns: 34px 1fr auto; grid-template-rows: auto; align-items: center; padding: 9px 10px; gap: 4px 10px; border-radius: 14px; }
.r16-os.m-phone .r16-cn-mono { grid-row: auto; width: 34px; height: 34px; font-size: 15px; border-radius: 11px; }
.r16-os.m-phone .r16-cn-card p { font-size: 11px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.r16-os.m-phone .r16-chip { font-size: 10.5px; padding: 0 8px; }
.r16-os.m-phone .r16-cn-note { font-size: 11.5px; padding: 8px 10px; }
.r16-os.m-phone .r16-cn-tip { display: none; }
.r16-os.m-phone .r16-cursor svg { display: none; }
.r16-os.m-phone .r16-cursor::before { content: ""; position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.28); box-shadow: 0 0 0 1.5px rgba(255,255,255,.7); }

/* ---------- reduced motion: no pin, no scrub; the steps pick the stage */
.r16-os.is-static .r16-stage { height: auto; min-height: 100svh; }
.r16-os.is-static .r16-cursor { display: none; }

/* ================= Monday feed as a Gopy OS window (Today) ================= */
.r16-fwin { position: relative; display: flex; flex-direction: column; flex: 1; min-height: 0; border-radius: 20px; overflow: hidden;
  background: var(--r16-gl), rgba(13,16,20,.9); box-shadow: var(--r16-rim), var(--r16-drop); }
.r16-fwin > .r16-wbar { flex: none; }
.r16-fwin .feed-head { margin: 10px 12px 8px; border-radius: 16px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.r16-fwin .feed-head img { box-shadow: 0 0 0 2px #5B8DEF; }
.r16-fwin .feed-head b { font-weight: 700; }
.r16-fwin .feed-count { padding: 3px 10px; border-radius: 999px; background: rgba(255,198,92,.1); box-shadow: inset 0 0 0 1px rgba(255,198,92,.28); }
.r16-fwin .feed { padding: 0 12px; gap: 7px; }
.r16-fwin .ntf { border-radius: 14px; background: var(--r16-gl), rgba(20,25,30,.94); box-shadow: var(--r16-rim), inset 3px 0 0 var(--c), 0 4px 14px rgba(0,0,0,.18); }
.r16-fwin .ntf.current { box-shadow: var(--r16-rim), inset 3px 0 0 var(--c), 0 0 0 1px rgba(52,232,140,.22), 0 10px 26px rgba(0,0,0,.3); }
.r16-fwin .ntf.done { box-shadow: var(--r16-rim), inset 3px 0 0 var(--r16-green), 0 4px 14px rgba(0,0,0,.18); }
.r16-fwin .ntf-text b { font-weight: 600; }
.r16-fwin .act { height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; background: var(--r16-gl), var(--r16-chip); box-shadow: var(--r16-rim); color: var(--r16-text); }
.r16-fwin .act:hover { background: var(--r16-gl), rgba(255,255,255,.1); }
.r16-fwin .act.primary { background: var(--r16-green); color: #06140c; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 6px 18px rgba(52,232,140,.2); }
.r16-fwin .act:focus-visible { outline: 2px solid var(--r16-green); outline-offset: 2px; }
.r16-fwin .ntf-auto input { accent-color: var(--r16-green); }
.r16-fwin .done-tag { color: var(--r16-green); }
.r16-fwin .feed-foot { margin: auto 12px 0; padding: 10px 2px 12px; }
.mon-feed:has(> .r16-fwin) { padding-top: 84px;
  background: radial-gradient(60% 50% at 82% 16%, rgba(52,232,140,.08), transparent 70%), radial-gradient(50% 50% at 10% 92%, rgba(124,240,255,.05), transparent 70%), #08090b; }

/* ================= Autopilot as two Gopy OS windows (Approvals switches + Live work) ================= */
.r16-apwin, .r16-livewin { position: relative; border-radius: 20px; overflow: hidden; background: var(--r16-gl), rgba(13,16,20,.9); box-shadow: var(--r16-rim), var(--r16-drop); }
.r16-apwin .ap-list { padding: 10px 12px 12px; gap: 6px; }
.r16-apwin .ap-row { border-radius: 14px; background: var(--r16-gl), rgba(20,25,30,.94); box-shadow: var(--r16-rim), inset 3px 0 0 var(--c); }
.r16-apwin .ap-row b { font-weight: 600; }
.r16-apwin .switch { background: rgba(0,0,0,.3); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.r16-apwin .switch .knob { background: linear-gradient(160deg, rgba(255,255,255,.3), rgba(255,255,255,.08)), var(--r16-amber); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 2px 8px rgba(0,0,0,.3); }
.r16-apwin .switch[aria-checked=true] .knob { background: linear-gradient(160deg, rgba(255,255,255,.3), rgba(255,255,255,.08)), var(--r16-green); }
.r16-apwin .switch:focus-visible { outline: 2px solid var(--r16-green); outline-offset: 2px; }
.r16-apwin .ap-lock { color: var(--r16-green); background: rgba(52,232,140,.1); box-shadow: inset 0 0 0 1px rgba(52,232,140,.28); }
.r16-livewin { width: min(470px, 100%); }
.r16-livewin .ap-live { width: auto; margin: 0; border-radius: 0; background: none; box-shadow: none; padding: 12px 14px 14px; }
.r16-livewin .ap-log { align-content: start; }
.r16-livewin .ap-live .dot { background: var(--r16-green); }
.r16-livewin .ap-ev { border-radius: 12px; background: var(--r16-gl), rgba(20,25,30,.9); box-shadow: var(--r16-rim); }
.r16-livewin .ap-ev.lock em { color: var(--r16-green); background: rgba(52,232,140,.12); }

@media (max-width: 1080px) {
  .mon-feed:has(> .r16-fwin) { padding-top: 14px; }
  .r16-fwin .r16-wt em { display: none; }
}
@media (max-width: 760px) {
  .r16-fwin #gMonday { right: 44px; top: 4px; }
  .r16-fwin, .r16-apwin, .r16-livewin { border-radius: 18px; }
  .r16-fwin .r16-wctl, .r16-apwin .r16-wctl, .r16-livewin .r16-wctl { display: none; }
  .r16-fwin .r16-wbar, .r16-apwin .r16-wbar, .r16-livewin .r16-wbar { height: 40px; }
  .r16-wt em { display: none; }
}
