Add ATC Team chat, soft identity, and update Present decks.

Ship team/DM chat with files, avatars, unread alerts, and a first-open identity gate (including Guest); fold Team into Ops desk; clarify Datacenter Engineer vs "Data Plumbers" FDE roles; refresh Present story/tech slides to match.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
root
2026-07-19 01:42:00 +02:00
parent 03e207b46d
commit b4714c70d1
11 changed files with 1953 additions and 139 deletions
+530 -55
View File
@@ -146,22 +146,24 @@ button { cursor: pointer; }
.kpi-strip {
flex: 1;
display: flex;
flex-wrap: wrap;
gap: 0.3rem;
overflow: visible;
padding: 0.35rem 0;
flex-wrap: nowrap;
gap: 0.25rem;
overflow-x: auto;
overflow-y: hidden;
padding: 0.2rem 0;
min-width: 0;
justify-content: flex-start;
align-content: center;
scrollbar-width: thin;
}
.kpi {
appearance: none;
border: 1px solid transparent;
background: rgba(0, 118, 206, 0.12);
border-radius: 6px;
padding: 0.28rem 0.55rem;
padding: 0.22rem 0.42rem;
min-width: 0;
flex: 0 1 auto;
flex: 0 0 auto;
text-align: left;
transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
@@ -5233,58 +5235,47 @@ html[data-theme="light"] .rs-prod-meta strong { color: #122033; }
html[data-theme="light"] .rs-prod-meta em,
html[data-theme="light"] .rs-lib-hint { color: #4a5d72; }
/* Theme FAB — parks left while Full Inventory is open (inspector is right) */
.theme-fab {
position: fixed;
right: 14px;
left: auto;
bottom: 48px;
z-index: 9000;
width: 42px;
height: 42px;
border-radius: 999px;
border: 2px solid rgba(255, 255, 255, 0.35);
background: linear-gradient(145deg, #00a8e8, #0076ce);
color: #fff;
display: grid;
place-items: center;
box-shadow:
0 4px 14px rgba(0, 118, 206, 0.45),
0 0 0 3px rgba(0, 168, 232, 0.2);
cursor: pointer;
/* Theme toggle — in topbar (FAB removed so it no longer blocks the map) */
.btn.theme-toggle {
width: 2.15rem;
min-width: 2.15rem;
height: 2.15rem;
padding: 0;
transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease, left 0.2s ease, right 0.2s ease, opacity 0.15s ease;
display: inline-grid;
place-items: center;
border-radius: 8px;
flex-shrink: 0;
}
body.inv-open .theme-fab {
right: auto;
left: 14px;
bottom: 56px;
opacity: 0.92;
box-shadow:
0 4px 14px rgba(255, 154, 60, 0.35),
0 0 0 3px rgba(255, 154, 60, 0.18);
border-color: rgba(255, 184, 77, 0.55);
}
.theme-fab:hover {
border-color: #fff;
.btn.theme-toggle .theme-ico { display: none; }
html[data-theme="light"] .btn.theme-toggle .theme-ico-to-dark { display: block; }
html[data-theme="dark"] .btn.theme-toggle .theme-ico-to-light,
html:not([data-theme]) .btn.theme-toggle .theme-ico-to-light { display: block; }
.theme-fab { display: none !important; }
.team-unread {
display: inline-grid;
place-items: center;
min-width: 1.05rem;
height: 1.05rem;
padding: 0 0.28rem;
border-radius: 999px;
background: #e53935;
color: #fff;
transform: translateY(-2px) scale(1.05);
filter: brightness(1.08);
box-shadow:
0 8px 20px rgba(0, 118, 206, 0.55),
0 0 0 4px rgba(0, 168, 232, 0.28);
font-size: 0.62rem;
font-weight: 700;
font-family: var(--mono);
line-height: 1;
}
.theme-fab .theme-ico { display: none; }
html[data-theme="light"] .theme-fab .theme-ico-moon { display: block; }
html[data-theme="dark"] .theme-fab .theme-ico-sun,
html:not([data-theme]) .theme-fab .theme-ico-sun { display: block; }
html[data-theme="light"] .theme-fab {
background: linear-gradient(145deg, #1aa3e8, #0062b0);
border-color: rgba(255, 255, 255, 0.7);
color: #fff;
box-shadow:
0 4px 14px rgba(0, 98, 176, 0.35),
0 0 0 3px rgba(0, 118, 206, 0.15);
.team-unread.hidden { display: none !important; }
.ops-team-combo.has-unread {
box-shadow: 0 0 0 1px rgba(229, 57, 53, 0.55);
}
@keyframes team-pulse {
0%, 100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.55); }
50% { box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.15); }
}
.ops-team-combo.has-unread.pulse {
animation: team-pulse 1.2s ease 2;
}
/* Present button + deck */
@@ -5553,7 +5544,7 @@ html[data-theme="light"] .theme-fab {
border-top: 1px solid rgba(255,255,255,0.06);
background: rgba(0,0,0,0.35);
}
body.present-open .theme-fab { opacity: 0; pointer-events: none; }
body.present-open .theme-fab { display: none !important; }
.network-drawer.drawer,
.reports-drawer.drawer {
display: flex;
@@ -8812,3 +8803,487 @@ html[data-theme="light"] .ctc-name { color: #102033; }
min-height: 0;
}
.console-fleet-card { cursor: grab; }
/* ===== ATC Team chat + identity gate ===== */
.ops-head-actions {
display: flex;
align-items: center;
gap: 0.4rem;
margin-left: auto;
}
.ops-team-combo {
display: inline-flex;
align-items: stretch;
border-radius: 8px;
overflow: hidden;
border: 1px solid rgba(45, 212, 191, 0.45);
background: rgba(14, 116, 144, 0.12);
}
html[data-theme="light"] .ops-team-combo {
border-color: rgba(0, 118, 206, 0.35);
background: rgba(0, 118, 206, 0.06);
}
html[data-theme="light"] .ops-team-combo #btn-ops {
border-right-color: rgba(0, 118, 206, 0.25);
color: var(--text);
}
.ops-team-combo .btn {
border: none;
border-radius: 0;
margin: 0;
}
.ops-team-combo #btn-ops {
border-right: 1px solid rgba(45, 212, 191, 0.35);
background: transparent;
padding-inline: 0.65rem;
}
.ops-team-combo #btn-ops:hover {
background: rgba(45, 212, 191, 0.12);
}
.ops-team-combo .btn.team-btn {
background: linear-gradient(135deg, rgba(14, 116, 144, 0.35), rgba(45, 212, 191, 0.45));
border-color: transparent;
color: #d7fffa;
font-weight: 600;
display: inline-flex;
align-items: center;
gap: 0.35rem;
padding-right: 0.35rem;
}
.team-btn-label { padding-left: 0.15rem; }
.team-btn-who {
display: inline-flex;
align-items: center;
gap: 0.28rem;
font-size: 0.68rem;
font-weight: 500;
padding: 0.12rem 0.4rem 0.12rem 0.25rem;
border-radius: 999px;
background: rgba(0, 0, 0, 0.28);
border: 1px solid rgba(255, 255, 255, 0.12);
max-width: 6.5rem;
cursor: pointer;
}
.team-btn-who.hidden { display: none !important; }
.team-btn-who:hover {
border-color: rgba(45, 212, 191, 0.55);
background: rgba(0, 0, 0, 0.4);
}
.team-btn-who strong {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #e8fffb;
}
.tib-av {
width: 1.05rem;
height: 1.05rem;
border-radius: 50%;
overflow: hidden;
flex-shrink: 0;
background: rgba(255,255,255,0.08);
}
.tib-av img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.tib-dot {
width: 0.35rem;
height: 0.35rem;
border-radius: 50%;
background: #3dffa0;
box-shadow: 0 0 6px #3dffa0;
flex-shrink: 0;
}
.tib-dot.admin { background: #ffb06a; box-shadow: 0 0 6px #ffb06a; }
.tib-dot.guest { background: #9eb4c8; box-shadow: none; }
.btn.team-btn {
background: linear-gradient(135deg, rgba(14, 116, 144, 0.35), rgba(45, 212, 191, 0.45));
border-color: rgba(45, 212, 191, 0.65);
color: #d7fffa;
font-weight: 600;
}
.identity-gate {
position: fixed;
inset: 0;
z-index: 120;
display: grid;
place-items: center;
padding: 1.5rem;
background:
radial-gradient(ellipse 60% 40% at 20% 10%, rgba(0, 168, 232, 0.2), transparent 55%),
radial-gradient(ellipse 50% 40% at 80% 80%, rgba(45, 212, 191, 0.12), transparent 50%),
rgba(4, 10, 18, 0.92);
backdrop-filter: blur(8px);
}
.identity-gate.hidden { display: none !important; }
.identity-gate-card {
width: min(820px, 96vw);
background: rgba(8, 16, 28, 0.95);
border: 1px solid rgba(45, 212, 191, 0.35);
border-radius: 18px;
padding: 1.5rem 1.6rem 1.75rem;
box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
text-align: center;
}
.identity-gate-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 0.75rem;
margin-top: 1.1rem;
text-align: left;
}
@media (max-width: 700px) {
.identity-gate-grid { grid-template-columns: 1fr; }
}
.id-card.guest {
grid-column: 1 / -1;
background: rgba(255, 255, 255, 0.04);
border-style: dashed;
}
.id-card.team-guest .id-kicker { color: #a8b8c8; }
body.identity-locked {
overflow: hidden;
}
.id-card {
appearance: none;
border: 1px solid rgba(255, 255, 255, 0.1);
background: rgba(0, 0, 0, 0.28);
color: inherit;
border-radius: 14px;
padding: 0.9rem 1rem 0.9rem 4.1rem;
display: grid;
gap: 0.2rem;
cursor: pointer;
transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
position: relative;
}
.id-card.selected {
border-color: rgba(45, 212, 191, 0.7);
box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.35);
}
.id-card:hover {
transform: translateY(-2px);
border-color: rgba(45, 212, 191, 0.55);
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.id-card.team-admin:hover { border-color: rgba(255, 154, 60, 0.65); }
.id-av {
position: absolute;
left: 0.85rem;
top: 50%;
transform: translateY(-50%);
width: 2.6rem;
height: 2.6rem;
border-radius: 50%;
overflow: hidden;
background: rgba(45, 212, 191, 0.15);
border: 1px solid rgba(255,255,255,0.12);
}
.id-av img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.id-av.fallback img { display: none; }
.id-av-fallback {
display: none;
width: 100%;
height: 100%;
place-items: center;
font-weight: 700;
color: #7ee8d8;
font-size: 1rem;
}
.id-av.fallback .id-av-fallback { display: grid; }
.id-kicker {
font-size: 0.62rem;
letter-spacing: 0.1em;
text-transform: uppercase;
color: #7ee8d8;
}
.id-card.team-admin .id-kicker { color: #ffb06a; }
.id-card strong { font-size: 1rem; color: #fff; }
.id-role, .id-focus { font-size: 0.72rem; color: #9eb4c8; }
.identity-avatar-row {
margin-top: 1.15rem;
padding-top: 1rem;
border-top: 1px solid rgba(255,255,255,0.08);
display: flex;
align-items: center;
gap: 0.75rem;
text-align: left;
}
.identity-avatar-row.dim { opacity: 0.55; }
.id-avatar-preview {
width: 3.2rem;
height: 3.2rem;
border-radius: 50%;
overflow: hidden;
flex-shrink: 0;
background: rgba(45, 212, 191, 0.12);
border: 1px solid rgba(255,255,255,0.12);
display: grid;
place-items: center;
position: relative;
}
.id-avatar-preview img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.id-avatar-preview span {
font-weight: 700;
color: #7ee8d8;
font-size: 1.1rem;
}
.identity-avatar-copy { flex: 1; min-width: 0; }
.identity-avatar-copy strong { display: block; color: #e8f0f8; font-size: 0.9rem; }
.identity-avatar-copy .modal-sub { margin: 0.15rem 0 0; font-size: 0.72rem; }
.team-drawer.drawer,
.drawer.team-drawer {
top: 0; left: 0; right: 0; bottom: 0;
width: 100vw !important;
max-width: 100vw !important;
height: 100vh !important;
max-height: 100vh !important;
border: none;
transform: translateY(110%);
overflow: hidden;
display: flex;
flex-direction: column;
z-index: 80;
background:
radial-gradient(ellipse 50% 35% at 10% 0%, rgba(45, 212, 191, 0.14), transparent 55%),
radial-gradient(ellipse 40% 40% at 90% 20%, rgba(0, 118, 206, 0.12), transparent 50%),
#050b12;
}
.team-drawer.drawer.open { transform: translateY(0); }
.team-head { flex-wrap: wrap; gap: 0.6rem; padding: 0.75rem 1rem; border-bottom: 1px solid rgba(45, 212, 191, 0.2); }
.team-title { display: block; font-weight: 700; color: #7ee8d8; }
.team-sub { margin: 0.1rem 0 0; font-size: 0.72rem; color: #9eb4c8; }
.team-head-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin-left: auto; }
.team-presence { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.tp-pill {
font-size: 0.66rem;
font-family: var(--mono);
padding: 0.15rem 0.45rem 0.15rem 0.2rem;
border-radius: 999px;
border: 1px solid rgba(255,255,255,0.1);
display: inline-flex;
align-items: center;
gap: 0.3rem;
color: #c5d6e6;
}
.tp-av {
width: 1.05rem;
height: 1.05rem;
border-radius: 50%;
object-fit: cover;
background: rgba(255,255,255,0.08);
}
.tp-pill i { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: #667788; }
.tp-pill.on { border-color: rgba(61,255,160,0.4); }
.tp-pill.on i { background: #3dffa0; box-shadow: 0 0 8px #3dffa0; }
.team-body {
flex: 1;
min-height: 0;
display: grid;
grid-template-columns: min(280px, 34vw) 1fr;
}
.team-rail {
border-right: 1px solid rgba(45, 212, 191, 0.15);
overflow: auto;
background: rgba(0, 12, 20, 0.4);
padding: 0.65rem;
}
.team-room-group {
font-size: 0.62rem;
letter-spacing: 0.1em;
text-transform: uppercase;
color: #7ee8d8;
margin: 0.55rem 0 0.3rem;
}
.team-room {
width: 100%;
text-align: left;
appearance: none;
border: 1px solid transparent;
background: transparent;
color: inherit;
border-radius: 10px;
padding: 0.55rem 0.6rem;
display: flex;
align-items: center;
gap: 0.55rem;
cursor: pointer;
margin-bottom: 0.25rem;
}
.tr-av {
width: 2rem;
height: 2rem;
border-radius: 50%;
object-fit: cover;
flex-shrink: 0;
background: rgba(255,255,255,0.06);
}
.tr-av.hidden { display: none; }
.tr-text { min-width: 0; display: grid; gap: 0.15rem; flex: 1; }
.team-room:hover { background: rgba(45, 212, 191, 0.08); }
.team-room.active {
border-color: rgba(45, 212, 191, 0.4);
background: rgba(45, 212, 191, 0.12);
}
.team-room.live .tr-title::after {
content: "";
display: inline-block;
width: 0.35rem;
height: 0.35rem;
margin-left: 0.35rem;
border-radius: 50%;
background: #3dffa0;
box-shadow: 0 0 6px #3dffa0;
vertical-align: middle;
}
.tr-unread {
display: inline-grid;
place-items: center;
min-width: 1rem;
height: 1rem;
margin-left: 0.35rem;
padding: 0 0.25rem;
border-radius: 999px;
background: #e53935;
color: #fff;
font-size: 0.6rem;
font-weight: 700;
vertical-align: middle;
}
.tr-title { font-weight: 600; color: #fff; font-size: 0.84rem; }
.tr-preview { font-size: 0.68rem; color: #8aa0b4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-room.has-unread .tr-title { color: #fff; }
.team-room.has-unread .tr-preview { color: #c5d6e6; }
.team-chat-main {
min-height: 0;
display: flex;
flex-direction: column;
position: relative;
}
.team-chat-main.drag-files::after {
content: "Drop files to share";
position: absolute;
inset: 0.75rem;
border: 2px dashed rgba(45, 212, 191, 0.55);
border-radius: 12px;
display: grid;
place-items: center;
background: rgba(4, 20, 28, 0.72);
color: #7ee8d8;
font-weight: 600;
z-index: 5;
pointer-events: none;
}
.team-chat-head {
display: flex;
justify-content: space-between;
align-items: flex-end;
gap: 0.75rem;
padding: 0.75rem 1rem 0.4rem;
border-bottom: 1px solid rgba(255,255,255,0.06);
}
.team-chat-head h2 { margin: 0; font-size: 1.05rem; color: #e8f0f8; }
.team-typing { font-size: 0.72rem; color: #7ee8d8; min-height: 1em; }
.team-messages {
flex: 1;
min-height: 0;
overflow: auto;
padding: 0.85rem 1rem;
display: flex;
flex-direction: column;
gap: 0.55rem;
}
.team-bubble {
max-width: min(560px, 88%);
border-radius: 14px;
padding: 0.55rem 0.75rem;
border: 1px solid rgba(255,255,255,0.08);
background: rgba(12, 22, 34, 0.9);
display: flex;
gap: 0.55rem;
align-items: flex-start;
}
.team-bubble.mine {
align-self: flex-end;
flex-direction: row-reverse;
background: linear-gradient(135deg, rgba(0, 118, 206, 0.28), rgba(45, 212, 191, 0.18));
border-color: rgba(45, 212, 191, 0.35);
}
.team-bubble.theirs.team-admin {
border-color: rgba(255, 154, 60, 0.28);
}
.tb-av {
width: 2rem;
height: 2rem;
border-radius: 50%;
object-fit: cover;
flex-shrink: 0;
background: rgba(255,255,255,0.06);
margin-top: 0.1rem;
}
.tb-av.hidden { display: none; }
.tb-content { min-width: 0; flex: 1; }
.tb-meta {
display: flex;
justify-content: space-between;
gap: 0.75rem;
font-size: 0.66rem;
color: #8aa0b4;
margin-bottom: 0.25rem;
}
.tb-meta strong { color: #d7e6f4; }
.tb-body { font-size: 0.88rem; color: #f0f4f8; white-space: pre-wrap; word-break: break-word; }
.team-file {
display: block;
margin-top: 0.4rem;
padding: 0.45rem 0.55rem;
border-radius: 8px;
border: 1px solid rgba(45, 212, 191, 0.3);
background: rgba(0, 0, 0, 0.25);
text-decoration: none;
color: #7ee8d8;
}
.team-file:hover { border-color: #7ee8d8; }
.tf-name { display: block; font-weight: 600; font-size: 0.8rem; }
.tf-meta { font-size: 0.66rem; color: #9eb4c8; font-family: var(--mono); }
.team-composer {
display: flex;
gap: 0.4rem;
padding: 0.65rem 1rem 0.85rem;
border-top: 1px solid rgba(255,255,255,0.06);
align-items: center;
}
.team-composer input[type="text"] {
flex: 1;
background: rgba(0,0,0,0.35);
border: 1px solid rgba(45, 212, 191, 0.28);
border-radius: 10px;
color: #fff;
padding: 0.55rem 0.7rem;
}
.team-attach { cursor: pointer; }
@media (max-width: 900px) {
.team-body { grid-template-columns: 1fr; }
.team-rail { max-height: 28vh; border-right: none; border-bottom: 1px solid rgba(45, 212, 191, 0.15); }
}