@font-face { font-family: "Inter"; src: url(fonts/Inter.ttf) format("truetype"); font-weight: 100 900; }
@font-face { font-family: "JetBrains Mono"; src: url(fonts/JetBrainsMono.ttf) format("truetype"); font-weight: 100 900; }
@font-face { font-family: "Pixelify"; src: url(fonts/PixelifySans.ttf) format("truetype"); font-weight: 400 700; }

:root {
  --navy: #0b1f4d; --navy-2: #102a63; --blue: #00338d; --cobalt: #1e49e2; --sky: #7fa7ff;
  --ink: #0e1a33; --muted: #5b6b8a; --line: #e2e7f1; --bg: #eef2f9;
  --green: #12a36b; --amber: #f2a900; --red: #e5484d;
  --chat-w: 760px; --top-h: 76px; --office-h: 584px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #050c1f; overflow: hidden; }
body { font-family: "Inter", "Helvetica Neue", Arial, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; }

#stage { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; background: var(--bg); overflow: hidden; }

/* ---------------- top bar */
#topbar { position: absolute; left: 0; top: 0; width: 1920px; height: var(--top-h); display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 70%, var(--cobalt) 100%); color: #fff; z-index: 5; }
.brand { display: flex; align-items: center; gap: 18px; }
.brand-mark { display: grid; grid-template-columns: 14px 14px; gap: 4px; }
.brand-mark span { width: 14px; height: 14px; background: #fff; }
.brand-mark span:nth-child(2) { background: var(--sky); } .brand-mark span:nth-child(3) { background: #9fb8ff; } .brand-mark span:nth-child(4) { background: rgba(255,255,255,.45); }
h1 { margin: 0; font-size: 25px; font-weight: 700; letter-spacing: -.3px; white-space: nowrap; }
.sub { font-size: 13.5px; opacity: .78; margin-top: 2px; letter-spacing: .2px; white-space: nowrap; }
#tabs { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; background: rgba(4,12,36,.35); padding: 5px; border-radius: 12px; }
#tabs button { all: unset; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 8px; color: rgba(255,255,255,.75); font: 600 16px "Inter", sans-serif; transition: background .2s, color .2s; white-space: nowrap; }
#tabs button kbd { font: 700 11px "JetBrains Mono", monospace; padding: 2px 6px; border-radius: 4px; background: rgba(255,255,255,.14); color: rgba(255,255,255,.8); }
#tabs button:hover { background: rgba(255,255,255,.08); color: #fff; }
#tabs button.on { background: #fff; color: var(--navy); }
#tabs button.on kbd { background: var(--navy); color: #fff; }
.pill.beats { background: #ffd166; color: var(--navy); letter-spacing: 1px; }
.pill.hidden { display: none; }
.top-right { display: flex; align-items: center; gap: 22px; }
.pill { display: flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.12); font-weight: 700; font-size: 14px; letter-spacing: 1.5px; }
.pill i { width: 10px; height: 10px; border-radius: 50%; background: #ff5a5f; box-shadow: 0 0 0 0 rgba(255,90,95,.7); animation: pulse 1.6s infinite; }
.pill.paused i { background: #ffd166; animation: none; }
.pill.done i { background: #3ddc97; animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,90,95,.7);} 70% { box-shadow: 0 0 0 10px rgba(255,90,95,0);} 100% { box-shadow: 0 0 0 0 rgba(255,90,95,0);} }
.speed { font-family: "JetBrains Mono", monospace; font-size: 16px; opacity: .7; min-width: 32px; text-align: right; }
.clock-block { text-align: right; }
.clock-label { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; opacity: .7; }
.clock { font-family: "JetBrains Mono", monospace; font-size: 34px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }

/* ---------------- views */
#views { position: absolute; left: 0; top: var(--top-h); width: 1920px; height: calc(1080px - var(--top-h)); }
.panel-view { position: absolute; transition: left .45s cubic-bezier(.3,.8,.2,1), top .45s cubic-bezier(.3,.8,.2,1), width .45s cubic-bezier(.3,.8,.2,1), height .45s cubic-bezier(.3,.8,.2,1), opacity .35s; overflow: hidden; }
.panel-view.off { opacity: 0; pointer-events: none; z-index: 0; }
.enlarge { position: absolute; right: 12px; top: 10px; z-index: 30; font: 700 12px "Inter", sans-serif; color: #fff; background: rgba(9,18,42,.7); padding: 5px 10px; border-radius: 6px; opacity: 0; transition: opacity .2s; pointer-events: none; letter-spacing: .5px; }
.view-overview .panel-view:hover .enlarge { opacity: 1; }
.view-overview .panel-view:not(#cfo) { cursor: zoom-in; }
.view-overview .panel-view:hover { box-shadow: inset 0 0 0 3px rgba(47,107,255,.55); }
#dash .enlarge { top: 6px; }

/* ---------------- chat */
#chat { background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.channel { font-weight: 700; font-size: 21px; }
.members { font-size: 14px; color: var(--muted); margin-top: 2px; }
.avatar-stack { display: flex; }
.avatar-stack .av { width: 38px; height: 38px; margin-left: -8px; border: 3px solid #fff; }
.chat-feed { flex: 1; overflow: hidden; padding: 0 22px; position: relative; }
.feed-inner { padding: 12px 0 8px; }
.chat-head { position: relative; z-index: 3; }
#chat::after { content: ""; position: absolute; left: 0; right: 0; top: 75px; height: 60px; z-index: 2; pointer-events: none; background: linear-gradient(#fff, rgba(255,255,255,0)); }
.chat-feed::before { display: none; content: ""; position: absolute; left: 0; right: 0; top: 0; height: 70px; background: linear-gradient(#fff, rgba(255,255,255,0)); z-index: 2; pointer-events: none; }
.feed-inner { display: flex; flex-direction: column; gap: 4px; }

.msg { display: grid; grid-template-columns: 50px 1fr; gap: 14px; padding: 10px 10px; border-radius: 12px; animation: msgIn .45s cubic-bezier(.2,.8,.2,1) both; }
.msg.instant { animation: none; }
.msg.cont { padding-top: 0; }
.msg.cont .av { visibility: hidden; height: 0; }
.msg.cont .meta { display: none; }
.msg.human { background: #f1f5ff; }
.msg.flash { animation: msgIn .45s cubic-bezier(.2,.8,.2,1) both, flash 2.4s ease-out .2s; }
@keyframes msgIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes flash { 0% { background: rgba(229,72,77,.10);} 100% { background: transparent; } }
.av { width: 50px; height: 50px; border-radius: 12px; image-rendering: pixelated; background: #eef2fb; display: block; }
.av.human { display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 20px; background: var(--navy); border-radius: 50%; }
.meta { display: flex; align-items: baseline; gap: 10px; margin-bottom: 3px; }
.name { font-weight: 700; font-size: 19px; }
.role { font-size: 13px; color: var(--muted); padding: 2px 8px; border-radius: 6px; background: #f0f3f9; }
.ts { font-size: 13px; color: #9aa6bd; font-family: "JetBrains Mono", monospace; }
.text { font-size: 19.5px; line-height: 1.42; color: #1b2742; }
.text b, .text .amt { font-weight: 700; color: var(--ink); }
.mention { color: var(--cobalt); background: rgba(30,73,226,.09); padding: 0 4px; border-radius: 5px; font-weight: 600; }

.card { margin-top: 10px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fbfcff; max-width: 640px; }
.card-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); padding: 8px 14px; background: #f3f6fc; border-bottom: 1px solid var(--line); }
.card table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.card td, .card th { padding: 6px 14px; text-align: left; border-bottom: 1px solid #eef1f7; }
.card th { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .6px; }
.card td.num { text-align: right; font-family: "JetBrains Mono", monospace; font-variant-numeric: tabular-nums; }
.card tr.hl td { background: rgba(229,72,77,.09); color: #b42318; font-weight: 600; }
.card .dr { width: 46px; font-weight: 700; color: var(--cobalt); }
.card pre { margin: 0; padding: 12px 14px; font: 14.5px/1.5 "JetBrains Mono", monospace; background: #0f1830; color: #d6e2ff; }
.card pre .c { color: #6f84b3; } .card pre .s { color: #ffc878; }
.card ul { margin: 0; padding: 10px 14px 10px 34px; font-size: 16px; line-height: 1.55; }

.typing-row { height: 44px; padding: 0 30px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.typing-row .av { width: 26px; height: 26px; border-radius: 7px; }
.dots { display: inline-flex; gap: 4px; padding: 8px 12px; background: #f0f3f9; border-radius: 14px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #8e9bb5; animation: bounce 1.1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5;} 30% { transform: translateY(-5px); opacity: 1; } }

/* ---------------- office */
#office { background: #1b2a52; }
#office3d { position: absolute; inset: 0; }
#office3d canvas { display: block; width: 100% !important; height: 100% !important; }
#officeOverlay { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.tag3d { position: absolute; left: 0; top: 0; will-change: transform; }

.nameplate { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; will-change: transform; }
.nameplate .np { display: flex; align-items: center; gap: 8px; background: rgba(9,18,42,.82); color: #fff; padding: 4px 12px 4px 8px; border-radius: 8px; font-weight: 700; font-size: 16px; letter-spacing: .2px; border-left: 4px solid var(--c); white-space: nowrap; }
.nameplate .np em { font-style: normal; font-weight: 500; opacity: .65; font-size: 13px; }
.nameplate .act { font-size: 13px; color: #fff; background: var(--c); padding: 2px 9px; border-radius: 6px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateY(-4px); transition: all .3s; max-width: 330px; overflow: hidden; text-overflow: ellipsis; }
.nameplate.working .act, .nameplate.alert .act, .nameplate.waiting .act, .nameplate.done .act { opacity: 1; transform: none; }
.nameplate.alert .act { background: var(--red); }
.nameplate.done .act { background: var(--green); }
.nameplate.waiting .act { background: #5b6b8a; }

.bubble-anchor { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; z-index: 3; }
.bubble { position: absolute; left: 0; bottom: 0; transform: translateX(-50%); background: #fff; color: var(--ink); font-family: "Inter", sans-serif; font-size: var(--bub, 20px); font-weight: 700; padding: .42em .8em; border-radius: 14px;
  box-shadow: 0 0 0 3px var(--c, #0e1a33), 0 8px 18px rgba(0,0,0,.28); white-space: nowrap; animation: bubIn .32s cubic-bezier(.2,1.4,.4,1) both; letter-spacing: -.1px; }
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -13px; margin-left: -8px; border: 8px solid transparent; border-top: 10px solid var(--c, #0e1a33); border-bottom: 0; }
.bubble::before { content: ""; position: absolute; left: 50%; bottom: -8px; margin-left: -5px; border: 5px solid transparent; border-top: 7px solid #fff; border-bottom: 0; z-index: 1; }
.bubble .who { color: var(--c); margin-right: .35em; }
.bubble.out { animation: bubOut .3s ease-in both; }
.bubble.alert { background: #fff1f1; }
@keyframes bubIn { from { opacity: 0; transform: translate(-50%, 20%) scale(.6);} to { opacity: 1; transform: translate(-50%, 0) scale(1);} }
@keyframes bubOut { to { opacity: 0; transform: translate(-50%, -10%) scale(.9);} }
.badge3d { position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; display: grid; place-items: center; font: 900 22px "Inter", sans-serif; color: #fff; box-shadow: 0 0 0 3px #fff, 0 6px 14px rgba(0,0,0,.3); opacity: 0; transition: opacity .25s; will-change: transform; }
.badge3d.alert { background: var(--red); opacity: 1; animation: badgePulse .8s ease-in-out infinite alternate; }
.badge3d.done { background: var(--green); opacity: 1; }
.badge3d.waiting { background: #5b6b8a; opacity: 1; font-size: 16px; }
@keyframes badgePulse { from { box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(229,72,77,.5); } to { box-shadow: 0 0 0 3px #fff, 0 0 0 14px rgba(229,72,77,0); } }
#catchToast { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); z-index: 20; background: rgba(9,18,42,.9); color: #fff; padding: 10px 22px 12px; border-radius: 14px; text-align: center; box-shadow: 0 0 0 3px var(--c, #fff), 0 14px 40px rgba(0,0,0,.35); transition: opacity .35s, transform .35s; pointer-events: none; }
#catchToast.hidden { opacity: 0; transform: translate(-50%, -20px); }
#catchToast .k { font: 800 13px "Inter", sans-serif; letter-spacing: 2px; text-transform: uppercase; color: var(--c); }
#catchToast .v { font: 800 34px "JetBrains Mono", monospace; letter-spacing: -1px; }
#catchToast .t { font: 600 16px "Inter", sans-serif; opacity: .85; }
#catchToast .hold { margin-top: 4px; font: 700 12px "Inter", sans-serif; color: #ffd166; letter-spacing: 1px; }
.toast-greg { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 20; background: #fff; color: var(--ink); padding: 10px 18px; border-radius: 12px; font: 700 20px "Inter", sans-serif; box-shadow: 0 0 0 3px var(--navy), 0 10px 30px rgba(0,0,0,.3); display: flex; gap: 12px; align-items: center; animation: msgIn .4s both; }
.toast-greg .av { width: 36px; height: 36px; font-size: 16px; }

.handoff-chip { position: absolute; transform: translate(-50%, -50%); font-family: "Pixelify", sans-serif; font-size: 16px; font-weight: 600; color: #fff; padding: 3px 10px; border-radius: 4px; white-space: nowrap; box-shadow: 0 0 0 2px rgba(255,255,255,.9); z-index: 4; }
.handoff-doc { position: absolute; width: 26px; height: 32px; margin: -16px 0 0 -13px; image-rendering: pixelated; z-index: 4; filter: drop-shadow(0 3px 0 rgba(0,0,0,.3)); }

/* ---------------- dashboard */
#dash { display: grid; grid-template-columns: 318px 1fr 296px; gap: 14px; padding: 14px 16px 16px; background: var(--bg); }
.panel { background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: 0 1px 0 #dfe5f0, 0 6px 18px rgba(14,26,51,.05); overflow: hidden; position: relative; }
.panel-title { font-size: 13px; text-transform: uppercase; letter-spacing: 1.6px; font-weight: 700; color: var(--muted); display: flex; justify-content: space-between; margin-bottom: 10px; }
.panel-title span { color: var(--ink); font-family: "JetBrains Mono", monospace; letter-spacing: 0; }

#tasks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
#tasks li { display: grid; grid-template-columns: 22px 1fr 26px 46px; align-items: center; gap: 8px; font-size: 15.5px; white-space: nowrap; padding: 5px 6px; border-radius: 8px; color: #8995ad; transition: background .3s, color .3s; }
#tasks li .ic { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c6cfe0; position: relative; }
#tasks li.active { color: var(--ink); background: #f2f6ff; font-weight: 600; }
#tasks li.active .ic { border-color: var(--cobalt); border-top-color: transparent; animation: spin 1s linear infinite; }
#tasks li.done { color: var(--ink); }
#tasks li.done .ic { background: var(--green); border-color: var(--green); animation: pop .35s cubic-bezier(.2,1.6,.4,1); }
#tasks li.done .ic::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
#tasks li .who { width: 26px; height: 26px; border-radius: 7px; opacity: .35; }
#tasks li.active .who, #tasks li.done .who { opacity: 1; }
#tasks li .when { font-family: "JetBrains Mono", monospace; font-size: 13px; color: #9aa6bd; text-align: right; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { transform: scale(.3); } to { transform: scale(1); } }

#issueGrid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: calc(100% - 26px); }
.issue { border-radius: 12px; padding: 12px 14px 10px 16px; position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.issue.empty { border: 2px dashed #d5dcea; background: repeating-linear-gradient(-45deg, #fafbfe, #fafbfe 10px, #f4f6fb 10px, #f4f6fb 20px); display: grid; place-items: center; color: #a6b0c4; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }
.issue.found { border-left: 6px solid var(--c); box-shadow: 0 8px 22px rgba(14,26,51,.10); animation: cardIn .7s cubic-bezier(.2,1.3,.3,1) both; }
.issue.instant { animation: none; }
@keyframes cardIn { 0% { transform: scale(.6) rotate(-2deg); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; } }
.issue .amt { font-family: "JetBrains Mono", monospace; font-size: 27px; font-weight: 800; color: var(--ink); letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.issue .ttl { font-weight: 700; font-size: 16px; margin-top: 1px; }
.issue .det { font-size: 13px; color: var(--muted); margin-top: 1px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.issue .foot { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: #33415f; padding-top: 6px; }
.issue .foot .av { width: 22px; height: 22px; border-radius: 6px; }
.issue .foot .act { font-weight: 600; color: var(--green); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.issue .tag { align-self: flex-start; font-size: 10.5px; font-weight: 800; letter-spacing: 1.2px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, white); padding: 2px 7px; border-radius: 5px; text-transform: uppercase; margin-bottom: 3px; }

.totals { display: flex; flex-direction: column; background: linear-gradient(160deg, var(--navy) 0%, var(--blue) 100%); color: #fff; }
.totals .panel-title { color: rgba(255,255,255,.7); }
.big-money { font-family: "JetBrains Mono", monospace; font-size: 40px; font-weight: 800; letter-spacing: -1.5px; font-variant-numeric: tabular-nums; line-height: 1.05; }
.big-money.bump { animation: bump .6s cubic-bezier(.2,1.5,.4,1); }
@keyframes bump { 0% { transform: scale(1);} 30% { transform: scale(1.08); color: #9ff0c8; } 100% { transform: scale(1);} }
.money-sub { font-size: 14px; opacity: .78; margin-top: 4px; }
.stats { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.stat { display: flex; justify-content: space-between; font-size: 14px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 6px; }
.stat b { font-family: "JetBrains Mono", monospace; font-size: 15px; }
.baseline { margin-top: auto; font-size: 13px; opacity: .8; padding-top: 8px; }
.baseline b { color: #9ff0c8; }

/* ---------------- hud & end */
#hud { position: absolute; right: 18px; bottom: 14px; display: flex; gap: 12px; font-size: 12px; color: #fff; background: rgba(9,18,42,.62); padding: 6px 12px; border-radius: 8px; z-index: 20; transition: opacity .3s; }
#hud b { font-family: "JetBrains Mono", monospace; }
#hud.hidden, #hud.idle { opacity: 0; }
#endCard { position: absolute; left: var(--end-l, 760px); top: calc(var(--top-h) + var(--end-t, 14px)); width: var(--end-w, 1160px); display: grid; justify-items: center; z-index: 15; pointer-events: none; transition: opacity .8s; }
#endCard.hidden { opacity: 0; }
.end-inner { text-align: center; color: #fff; background: rgba(9,18,42,.88); padding: 14px 44px 18px; border-radius: 18px; box-shadow: 0 0 0 4px rgba(255,255,255,.9), 0 20px 60px rgba(0,0,0,.4); }
.end-kicker { font-family: "Pixelify", sans-serif; font-size: 26px; color: #9ff0c8; letter-spacing: 1px; }
.end-big { font-family: "JetBrains Mono", monospace; font-size: 60px; line-height: 1.1; font-weight: 800; letter-spacing: -2px; }
.end-sub { font-size: 20px; opacity: .85; }

.welcome { margin: 26px 10px 18px; padding: 18px 20px; border-radius: 14px; background: linear-gradient(135deg, #f3f6ff, #eef3fb); border: 1px solid var(--line); }
.welcome h3 { margin: 0 0 4px; font-size: 22px; }
.welcome p { margin: 0 0 12px; color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.welcome .roster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 12px; }
.welcome .who { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.welcome .who .av { width: 30px; height: 30px; border-radius: 8px; }
.welcome .who b { display: block; font-size: 15px; }
.welcome .who span { color: var(--muted); font-size: 12.5px; }

/* ---------------- view layouts (positions relative to #views, 1920x1004) */
.view-overview #chat { left: 0; top: 0; width: 760px; height: 1004px; }
.view-overview #office { left: 760px; top: 0; width: 1160px; height: 584px; }
.view-overview #dash { left: 760px; top: 584px; width: 1160px; height: 420px; }
.view-overview #cfo { left: 0; top: 0; width: 1920px; height: 1004px; }
.view-overview #cfo { opacity: 0; pointer-events: none; }

.view-office #office { left: 0; top: 0; width: 1920px; height: 1004px; z-index: 2; }
.view-office #chat { left: -760px; top: 0; width: 760px; height: 1004px; }
.view-office #dash { left: 760px; top: 1004px; width: 1160px; height: 420px; }
.view-office #cfo, .view-chat #cfo, .view-close #cfo { left: 0; top: 0; width: 1920px; height: 1004px; opacity: 0; pointer-events: none; }

.view-chat #chat { left: 0; top: 0; width: 1920px; height: 1004px; z-index: 2; }
.view-chat #office { left: 1920px; top: 0; width: 1160px; height: 584px; }
.view-chat #dash { left: 1920px; top: 584px; width: 1160px; height: 420px; }

.view-close #dash { left: 0; top: 0; width: 1920px; height: 1004px; z-index: 2; }
.view-close #chat { left: -760px; top: 0; width: 760px; height: 1004px; }
.view-close #office { left: 760px; top: -584px; width: 1160px; height: 584px; }

.view-cfo #cfo { left: 0; top: 0; width: 1920px; height: 1004px; z-index: 3; opacity: 1; }
.view-cfo #chat { left: 0; top: 0; width: 760px; height: 1004px; }
.view-cfo #office { left: 760px; top: 0; width: 1160px; height: 584px; }
.view-cfo #dash { left: 760px; top: 584px; width: 1160px; height: 420px; }
.view-cfo #chat, .view-cfo #office, .view-cfo #dash { opacity: 0; pointer-events: none; }

/* chat focus: big type, centered column */
.view-chat .chat-feed { padding: 0 calc((1920px - 1240px) / 2); }
.view-chat .chat-head { padding: 18px calc((1920px - 1240px) / 2 + 10px); }
.view-chat .channel { font-size: 28px; }
.view-chat .msg { grid-template-columns: 66px 1fr; gap: 18px; padding: 14px 14px; }
.view-chat .av { width: 66px; height: 66px; }
.view-chat .name { font-size: 25px; }
.view-chat .role { font-size: 15px; }
.view-chat .ts { font-size: 15px; }
.view-chat .text { font-size: 30px; line-height: 1.38; }
.view-chat .card { max-width: 900px; }
.view-chat .card table { font-size: 21px; }
.view-chat .card pre { font-size: 19px; }
.view-chat .card ul { font-size: 22px; }
.view-chat .typing-row { padding: 0 calc((1920px - 1240px) / 2 + 14px); font-size: 19px; height: 54px; }
.view-chat #chat::after { top: 85px; }
.view-chat .welcome { max-width: 1100px; }

/* close focus */
.view-close #dash { grid-template-columns: 520px 1fr 470px; gap: 22px; padding: 26px 28px 28px; }
.view-close .panel { padding: 22px 26px; border-radius: 18px; }
.view-close .panel-title { font-size: 17px; margin-bottom: 18px; }
.view-close #tasks { gap: 12px; }
.view-close #tasks li { font-size: 25px; grid-template-columns: 34px 1fr 40px 76px; padding: 12px 12px; }
.view-close #tasks li .ic { width: 30px; height: 30px; border-width: 3px; }
.view-close #tasks li.done .ic::after { left: 8px; top: 2px; width: 8px; height: 15px; border-width: 0 3.5px 3.5px 0; }
.view-close #tasks li .who { width: 38px; height: 38px; }
.view-close #tasks li .when { font-size: 18px; }
.view-close #issueGrid { gap: 18px; height: calc(100% - 40px); }
.view-close .issue { padding: 22px 24px 18px 26px; border-radius: 16px; }
.view-close .issue .amt { font-size: 50px; }
.view-close .issue .ttl { font-size: 27px; margin-top: 4px; }
.view-close .issue .det { font-size: 19px; }
.view-close .issue .tag { font-size: 14px; padding: 4px 10px; }
.view-close .issue .foot { font-size: 18px; }
.view-close .issue .foot .av { width: 32px; height: 32px; }
.view-close .issue.empty { font-size: 20px; }
.view-close .big-money { font-size: 58px; }
.view-close .money-sub { font-size: 18px; }
.view-close .stat { font-size: 19px; padding-top: 12px; }
.view-close .stat b { font-size: 20px; }
.view-close .stats { gap: 12px; margin-top: 28px; }
.view-close .baseline { font-size: 18px; }

/* office focus: larger tags */
.view-office { --bub: 26px; }
.view-office .nameplate .np { font-size: 20px; padding: 6px 14px 6px 10px; }
.view-office .nameplate .np em { font-size: 15px; }
.view-office .nameplate .act { font-size: 15px; }
.view-office .badge3d { width: 44px; height: 44px; margin: -22px 0 0 -22px; font-size: 28px; }

.view-overview .nameplate .np em { display: none; }
.view-overview .nameplate .np { font-size: 15px; }
.view-overview .nameplate .act { font-size: 12.5px; max-width: 220px; }
.nameplate.compact .act, .nameplate.compact .np em { display: none; }
.nameplate.compact .np { font-size: 14px; padding: 3px 9px 3px 7px; }
.view-office .nameplate.compact .np { font-size: 17px; }
