.xp { --xp-bg: #ebe7dc; --xp-fg: #191816; background: var(--xp-bg); color: var(--xp-fg); }
.xp .nav { color: white; }
.xp-back { display: inline-flex; align-items: center; gap: .5rem; }
.xp-hero { min-height: 100svh; padding: 9rem var(--pad) 3rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: clip; }
.xp-kicker { display: flex; justify-content: space-between; gap: 2rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.xp-title { position: relative; z-index: 2; margin: auto 0 2rem; font-size: clamp(4.2rem, 14vw, 14rem); line-height: .72; letter-spacing: -.085em; font-weight: 600; }
.xp-title i { display: block; padding-left: 14vw; font-family: Georgia, serif; font-weight: 400; }
.xp-lede { align-self: end; max-width: 30rem; font-size: clamp(1.1rem, 2vw, 1.55rem); line-height: 1.45; }
.editorial-intro { min-height: 150svh; position: relative; padding: 12rem var(--pad); }
.editorial-image { position: sticky; top: 8vh; width: min(76vw, 1100px); height: 84svh; margin: auto; overflow: hidden; }
.editorial-image img { width: 100%; height: 115%; object-fit: cover; }
.editorial-float { position: absolute; z-index: 3; max-width: 22rem; padding: 1.3rem; background: rgba(235,231,220,.92); backdrop-filter: blur(12px); }
.editorial-float.one { top: 25%; left: 5%; }
.editorial-float.two { top: 62%; right: 4%; }
.editorial-float small { text-transform: uppercase; letter-spacing: .12em; }
.editorial-float h2 { margin: .8rem 0 0; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 4rem); font-weight: 400; line-height: .95; }
.chapter { min-height: 100svh; padding: 10rem var(--pad); display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 5rem; }
.chapter-no { font-family: Georgia, serif; font-size: clamp(8rem, 20vw, 21rem); line-height: .7; color: #d0cbc0; }
.chapter h2 { margin: 0; font-size: clamp(3rem, 7vw, 7rem); line-height: .85; letter-spacing: -.065em; }
.chapter p { max-width: 34rem; margin-top: 2rem; font-size: 1.15rem; line-height: 1.65; }
.xp-next { min-height: 70svh; padding: 8rem var(--pad); display: grid; place-items: center; text-align: center; background: var(--xp-fg); color: var(--xp-bg); }
.xp-next a { font-size: clamp(3rem, 9vw, 9rem); line-height: .8; letter-spacing: -.07em; }
.xp-next span { display: block; margin-bottom: 1.5rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; }

.kinetic { --xp-bg: #0b0b0b; --xp-fg: #f5f2e9; }
.kinetic .xp-hero { isolation: isolate; }
#kinetic-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.kinetic .xp-title { mix-blend-mode: difference; }
.ticker { overflow: hidden; border-block: 1px solid rgba(255,255,255,.2); padding: .9rem 0; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 2rem; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; animation: ticker 17s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }
.type-stage { height: 420vh; position: relative; }
.type-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.type-word { position: absolute; margin: 0; font-size: clamp(6rem, 26vw, 25rem); line-height: .7; letter-spacing: -.1em; font-weight: 700; will-change: transform, opacity; }
.type-word:nth-child(2) { font-family: Georgia, serif; font-style: italic; font-weight: 400; color: #d3ff4d; }
.type-word:nth-child(3) { -webkit-text-stroke: 1px white; color: transparent; }
.type-word:nth-child(4) { color: #ff6336; }
.kinetic-copy { padding: 10rem var(--pad); display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: start; }
.kinetic-copy p { margin: 0; max-width: 13ch; font-size: clamp(2.6rem, 6vw, 7rem); line-height: .92; letter-spacing: -.05em; }

.object { --xp-bg: #d6ff50; --xp-fg: #13140f; }
.object .xp-hero { min-height: 120svh; }
.object-visual { position: absolute; z-index: 0; width: min(50vw, 700px); aspect-ratio: 1; right: 6vw; top: 15vh; border-radius: 50%; overflow: hidden; box-shadow: 0 5rem 10rem rgba(0,0,0,.23); }
.object-visual img { width: 100%; height: 100%; object-fit: cover; }
.object .xp-title { align-self: start; margin-top: 45vh; mix-blend-mode: difference; color: white; }
.object-spec { height: 450vh; position: relative; background: #111; color: white; }
.object-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.object-stage { position: absolute; inset: 10vh 17vw; border-radius: 2rem; overflow: hidden; background: #222; }
.object-stage img, .object-stage video { width: 100%; height: 100%; object-fit: cover; will-change: transform, filter; }
.object-label { position: absolute; z-index: 2; max-width: 20rem; }
.object-label h2 { margin: .5rem 0; font-size: clamp(2rem, 4vw, 4rem); line-height: .9; letter-spacing: -.04em; }
.object-label p { color: #aaa; line-height: 1.5; }
.object-label:nth-of-type(1) { top: 17%; left: var(--pad); }
.object-label:nth-of-type(2) { right: var(--pad); top: 45%; text-align: right; }
.object-label:nth-of-type(3) { left: var(--pad); bottom: 12%; }
.object-label { opacity: 0; transform: translateY(2rem); transition: opacity .35s, transform .35s; }
.object-label.active { opacity: 1; transform: none; }
.spec-line { display: inline-block; width: 2.5rem; height: 1px; vertical-align: middle; margin-right: .8rem; background: currentColor; }

.legal { min-height: 100svh; padding: 10rem var(--pad) 6rem; max-width: 920px; }
.legal h1 { margin: 0 0 4rem; font-size: clamp(4rem, 10vw, 8rem); line-height: .8; letter-spacing: -.07em; }
.legal h2 { margin-top: 3rem; font-size: 1.5rem; }
.legal p, .legal li { color: #c4c1b9; line-height: 1.7; }
.notice { border: 1px solid var(--acid); padding: 1.2rem; color: var(--paper) !important; }

.workspace { --xp-bg: #0c0d10; --xp-fg: #f3f3ee; background: var(--xp-bg); color: var(--xp-fg); }
.workspace .xp-hero { min-height: 60svh; padding-bottom: 2rem; }
.workspace .xp-title { font-size: clamp(3.8rem, 10vw, 10rem); }
.live-pulse { display: inline-flex; align-items: center; gap: .6rem; color: var(--lime); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.pulse-dot { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: pulseDot 1.8s infinite ease-in-out; }
@keyframes pulseDot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.75); } }

.desk-wrap { padding: 0 var(--pad) 8rem; }
.desk { min-height: 84svh; display: grid; grid-template-columns: 16rem 1fr 24rem; background: #13151a; border: 1px solid rgba(255,255,255,.1); border-radius: 1.5rem; overflow: hidden; box-shadow: 0 4rem 10rem rgba(0,0,0,.6); backdrop-filter: blur(20px); }

/* Sidebar */
.desk-side { padding: 1.6rem; background: #0e0f13; border-right: 1px solid rgba(255,255,255,.07); display: flex; flex-direction: column; gap: 1.8rem; }
.desk-brand { display: flex; align-items: center; gap: .9rem; }
.desk-brand-badge { width: 2.2rem; height: 2.2rem; display: grid; place-items: center; background: var(--acid); color: var(--ink); font-weight: 800; font-size: .8rem; border-radius: .6rem; }
.desk-brand strong { display: block; font-size: .95rem; letter-spacing: -.02em; }
.desk-brand span { display: block; font-size: .65rem; color: #888; text-transform: uppercase; letter-spacing: .1em; }

.desk-nav { display: grid; gap: .4rem; }
.nav-tab { display: flex; align-items: center; justify-content: space-between; gap: .6rem; border: 1px solid transparent; border-radius: .75rem; padding: .8rem .9rem; color: #9c9c96; background: transparent; cursor: pointer; font-size: .82rem; font-weight: 500; text-align: left; transition: all .2s ease; }
.nav-tab .tab-icon { font-size: 1rem; }
.nav-tab:hover { background: rgba(255,255,255,.04); color: white; }
.nav-tab.active { background: rgba(255,255,255,.08); color: white; border-color: rgba(255,255,255,.12); box-shadow: 0 4px 20px rgba(0,0,0,.3); }
.nav-tab .badge { font-size: .62rem; padding: .2rem .5rem; border-radius: 999px; background: rgba(255,255,255,.08); color: #ccc; }
.nav-tab.active .badge { background: var(--acid); color: white; font-weight: 600; }
.nav-tab .badge.ping { background: rgba(199,255,79,.15); color: var(--lime); }

.desk-system-stat { padding: 1rem; border-radius: .8rem; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.05); display: grid; gap: .5rem; font-size: .72rem; }
.stat-line { display: flex; justify-content: space-between; color: #888; }
.stat-line b { color: #eee; }
.stat-line b.lime { color: var(--lime); }
.desk-side small { margin-top: auto; color: #555; font-size: .7rem; line-height: 1.4; }

/* Main Viewport */
.desk-main { padding: 2rem; min-width: 0; display: flex; flex-direction: column; background: #13151a; overflow-y: auto; max-height: 84svh; }
.desk-top { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; margin-bottom: 2rem; padding-bottom: 1.2rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.desk-view-crumb { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: #777; margin-bottom: .3rem; }
.desk-view-title { margin: 0; font-size: 1.7rem; font-weight: 600; letter-spacing: -.03em; }
.desk-actions { display: flex; align-items: center; gap: .8rem; }
.desk-search { width: min(16rem, 35vw); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: .65rem 1.1rem; background: rgba(0,0,0,.3); color: white; font-size: .8rem; outline: none; }
.desk-search:focus { border-color: var(--acid); }
.btn-primary { background: var(--acid); color: white; border: 0; border-radius: 999px; padding: .65rem 1.2rem; font-size: .75rem; font-weight: 600; letter-spacing: .04em; cursor: pointer; transition: transform .2s, background .2s; }
.btn-primary:hover { background: #ff7850; transform: translateY(-1px); }
.btn-secondary { background: rgba(255,255,255,.06); color: #ccc; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: .55rem 1rem; font-size: .72rem; cursor: pointer; transition: all .2s; }
.btn-secondary:hover { background: rgba(255,255,255,.12); color: white; }

/* Tabs System */
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pane-intro { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; color: #999; font-size: .85rem; line-height: 1.5; }
.pane-intro p { margin: 0; max-width: 44rem; }

/* Command Hub */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.8rem; }
.kpi-card { padding: 1.2rem; border-radius: 1rem; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07); display: flex; flex-direction: column; justify-content: space-between; }
.kpi-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: #777; }
.kpi-value { display: block; margin: .6rem 0 .4rem; font-size: 1.7rem; font-weight: 700; letter-spacing: -.03em; }
.kpi-trend { font-size: .7rem; color: #777; }
.kpi-trend.positive { color: var(--lime); }
.hub-split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.2rem; }
.hub-card { padding: 1.4rem; border-radius: 1rem; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07); }
.hub-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.hub-card-head h3 { margin: 0; font-size: 1.05rem; }
.live-dot { font-size: .7rem; color: var(--lime); letter-spacing: .08em; text-transform: uppercase; }
.activity-feed { display: grid; gap: .75rem; }
.activity-item { display: flex; gap: .8rem; align-items: start; padding: .75rem; border-radius: .6rem; background: rgba(0,0,0,.25); border-left: 2px solid var(--acid); font-size: .8rem; }
.activity-item p { margin: 0 0 .2rem; }
.activity-item small { color: #666; font-size: .68rem; }
.quick-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.quick-link-btn { display: flex; flex-direction: column; gap: .25rem; text-align: left; padding: 1rem; border-radius: .8rem; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); color: inherit; cursor: pointer; transition: all .2s; }
.quick-link-btn:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); transform: translateY(-2px); }
.quick-link-btn .icon { font-size: 1.3rem; margin-bottom: .2rem; }
.quick-link-btn strong { font-size: .85rem; }
.quick-link-btn small { color: #888; font-size: .7rem; }

/* CRM Kanban */
.kanban-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: start; }
.kanban-col { background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.06); border-radius: 1rem; padding: 1rem; min-height: 26rem; display: flex; flex-direction: column; gap: .8rem; }
.kanban-col-head { padding-bottom: .75rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.col-title-wrap { display: flex; align-items: center; gap: .5rem; margin-bottom: .35rem; }
.col-dot { width: .45rem; height: .45rem; border-radius: 50%; }
.col-meta { display: flex; justify-content: space-between; font-size: .7rem; color: #888; }
.col-meta b { color: #ddd; }
.kanban-cards { display: grid; gap: .75rem; }
.kanban-card { background: #1a1d24; border: 1px solid rgba(255,255,255,.08); border-radius: .8rem; padding: .9rem; display: grid; gap: .6rem; box-shadow: 0 4px 12px rgba(0,0,0,.2); transition: transform .2s, border-color .2s; }
.kanban-card:hover { border-color: rgba(255,255,255,.2); transform: translateY(-2px); }
.card-top { display: flex; justify-content: space-between; align-items: center; font-size: .7rem; }
.card-client { color: #aaa; font-weight: 500; }
.card-badge { padding: .15rem .45rem; border-radius: 999px; font-size: .6rem; font-weight: 600; text-transform: uppercase; }
.card-badge.high { background: rgba(255,99,54,.18); color: var(--acid); }
.card-badge.critical { background: rgba(255,40,90,.2); color: #ff3366; }
.card-badge.medium { background: rgba(255,208,54,.15); color: #ffd036; }
.card-title { margin: 0; font-size: .86rem; font-weight: 600; line-height: 1.35; }
.card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: .4rem; border-top: 1px solid rgba(255,255,255,.05); }
.card-val { font-size: .88rem; color: var(--lime); }
.card-controls { display: flex; gap: .3rem; }
.move-btn { background: rgba(255,255,255,.07); color: white; border: 0; width: 1.6rem; height: 1.6rem; border-radius: .4rem; display: grid; place-items: center; cursor: pointer; font-size: .8rem; transition: background .15s; }
.move-btn:hover { background: var(--acid); }

/* Dienstplan Matrix */
.schedule-container { background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.07); border-radius: 1rem; overflow: hidden; }
.schedule-table { width: 100%; border-collapse: collapse; text-align: center; font-size: .82rem; }
.schedule-table th, .schedule-table td { padding: 1.1rem .8rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.schedule-table th { background: rgba(255,255,255,.02); color: #888; font-weight: 500; text-transform: uppercase; font-size: .7rem; letter-spacing: .08em; }
.schedule-table th:first-child, .schedule-table td:first-child { text-align: left; padding-left: 1.4rem; }
.team-meta strong { display: block; font-size: .9rem; }
.team-meta small { color: #777; font-size: .72rem; }
.shift-chip { border: 0; border-radius: .6rem; padding: .5rem .8rem; font-size: .75rem; font-weight: 600; cursor: pointer; transition: all .15s ease; width: 100%; max-width: 6.8rem; }
.shift-chip[data-shift="Früh"] { background: rgba(199,255,79,.15); color: var(--lime); border: 1px solid rgba(199,255,79,.3); }
.shift-chip[data-shift="Spät"] { background: rgba(79,172,254,.15); color: #4facfe; border: 1px solid rgba(79,172,254,.3); }
.shift-chip[data-shift="Bereitschaft"] { background: rgba(255,208,54,.15); color: #ffd036; border: 1px solid rgba(255,208,54,.3); }
.shift-chip[data-shift="Frei"] { background: rgba(255,255,255,.04); color: #666; border: 1px solid rgba(255,255,255,.06); }
.shift-chip:hover { transform: scale(1.05); filter: brightness(1.2); }
.hours-badge { color: #ddd; font-size: .85rem; }

/* Workflow / Automations Engine */
.flow-canvas-wrap { display: grid; gap: 1.5rem; }
.flow-nodes { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 2rem 1.5rem; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.08); border-radius: 1.2rem; overflow-x: auto; }
.flow-node { flex: 1; min-width: 9rem; padding: 1rem; border-radius: .8rem; background: #1a1d24; border: 1px solid rgba(255,255,255,.09); display: grid; gap: .3rem; transition: all .25s ease; position: relative; }
.flow-node.active { border-color: var(--acid); box-shadow: 0 0 20px rgba(255,99,54,.35); transform: translateY(-4px); }
.flow-node.success { border-color: var(--lime); box-shadow: 0 0 16px rgba(199,255,79,.25); }
.node-type { font-size: .6rem; text-transform: uppercase; letter-spacing: .12em; color: #777; }
.flow-node strong { font-size: .82rem; line-height: 1.3; }
.flow-node small { color: #888; font-size: .68rem; }
.node-status { font-size: .62rem; color: #666; margin-top: .4rem; }
.flow-node.active .node-status { color: var(--acid); font-weight: 600; }
.flow-node.success .node-status { color: var(--lime); font-weight: 600; }
.flow-arrow { color: #555; font-size: 1.2rem; font-weight: 700; flex: none; }

.terminal-log { background: #0a0b0d; border: 1px solid rgba(255,255,255,.09); border-radius: 1rem; overflow: hidden; font-family: monospace; }
.terminal-head { display: flex; justify-content: space-between; padding: .8rem 1.2rem; background: rgba(255,255,255,.03); border-bottom: 1px solid rgba(255,255,255,.06); font-size: .75rem; color: #888; }
.terminal-head .log-status { color: var(--lime); }
.terminal-body { padding: 1.2rem; margin: 0; color: #a5f3fc; font-size: .78rem; line-height: 1.7; min-height: 9rem; max-height: 13rem; overflow-y: auto; white-space: pre-wrap; }

/* Database Table */
.filter-pills { display: flex; gap: .5rem; margin-bottom: 1.2rem; }
.filter-pill { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: 999px; padding: .45rem .9rem; color: #999; font-size: .72rem; cursor: pointer; transition: all .15s; }
.filter-pill:hover { color: white; background: rgba(255,255,255,.08); }
.filter-pill.active { background: var(--acid); color: white; border-color: var(--acid); font-weight: 600; }
.table-wrap { background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.07); border-radius: 1rem; overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.data-table th, .data-table td { padding: 1rem .9rem; border-bottom: 1px solid rgba(255,255,255,.06); text-align: left; }
.data-table th { background: rgba(255,255,255,.02); color: #777; font-weight: 500; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.db-type-tag { padding: .2rem .5rem; border-radius: .4rem; font-size: .62rem; text-transform: uppercase; font-weight: 600; background: rgba(255,255,255,.08); color: #ddd; }
.db-type-tag.client { background: rgba(199,255,79,.12); color: var(--lime); }
.db-type-tag.contract { background: rgba(79,172,254,.12); color: #4facfe; }
.db-type-tag.shift { background: rgba(255,208,54,.12); color: #ffd036; }
.db-link-tag { font-size: .72rem; color: #888; }
.status-pill { padding: .2rem .6rem; border-radius: 999px; background: rgba(255,255,255,.06); font-size: .68rem; color: #ccc; }

/* Copilot / Chat Sidebar */
.desk-chat { display: flex; flex-direction: column; padding: 1.6rem; border-left: 1px solid rgba(255,255,255,.07); background: #0e0f13; }
.chat-header { padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.chat-title { display: flex; justify-content: space-between; align-items: center; }
.chat-title h3 { margin: 0; font-size: 1.05rem; font-weight: 600; }
.chat-status { font-size: .65rem; color: var(--lime); text-transform: uppercase; letter-spacing: .08em; display: flex; align-items: center; gap: .4rem; }
.chat-header small { color: #777; font-size: .7rem; }
.chat-quick-prompts { display: grid; gap: .35rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.chat-quick-prompts button { text-align: left; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: .5rem; padding: .45rem .65rem; color: #aaa; font-size: .7rem; cursor: pointer; transition: all .15s; }
.chat-quick-prompts button:hover { background: rgba(255,255,255,.08); color: white; border-color: rgba(255,255,255,.15); }
.chat-log { display: flex; flex: 1; flex-direction: column; gap: .8rem; padding: 1.2rem 0; overflow-y: auto; max-height: 22rem; }
.bubble { max-width: 92%; padding: .8rem 1rem; border-radius: 1rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); font-size: .8rem; line-height: 1.45; color: #ddd; }
.bubble.user { align-self: end; background: var(--acid); color: white; border-color: transparent; }
.chat-form { display: flex; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.06); }
.chat-form input { min-width: 0; flex: 1; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: .65rem 1rem; background: rgba(0,0,0,.4); color: white; font-size: .8rem; outline: none; }
.chat-form input:focus { border-color: var(--acid); }
.chat-form button { width: 2.6rem; height: 2.6rem; border: 0; border-radius: 50%; color: white; background: var(--acid); cursor: pointer; font-size: .9rem; flex: none; transition: transform .2s; }
.chat-form button:hover { transform: scale(1.08); }

@media (max-width: 1100px) {
  .desk { grid-template-columns: 1fr; }
  .desk-side { display: none; }
  .desk-chat { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .kanban-grid { grid-template-columns: 1fr 1fr; }
  .hub-split { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .xp-title { font-size: clamp(3.2rem, 16vw, 6rem); }
  .kpi-grid { grid-template-columns: 1fr; }
  .kanban-grid { grid-template-columns: 1fr; }
  .desk-top { flex-direction: column; align-items: start; }
  .desk-search { width: 100%; }
}
