:root {
  --canvas:#E9E9E7; --paper:#FFFFFF; --ink:#1A1A1A; --mute:#5C5C5A; --line:#D8D8D4; --plat:#F3F3F0;
  --needle:#3B82F6; --ok:#15803D; --hold:#B45309; --wait:#F98D4A; --risk:#E54645;
  --type-deal:#3B82F6; --type-invoice:#5C5C5A; --type-decision:#B45309; --type-risk:#E54645;
  --type-person:#5C5C5A; --type-space:#5C5C5A; --type-approval:#15803D; --type-knowledge:#5C5C5A; --type-pipeline:#3B82F6;
  --motion-enter:420ms cubic-bezier(.2,1.15,.25,1);
  --motion-travel:560ms cubic-bezier(.22,1,.36,1);
  --motion-exit:280ms cubic-bezier(.4,0,.2,1);
  --motion-morph:360ms cubic-bezier(.16,1,.3,1);
  --motion-hover:160ms; --motion-nudge:90ms; --motion-spring:380ms 28;
  --enter-ms:420ms; --travel-ms:560ms; --exit-ms:280ms; --morph-ms:360ms;
  --spring-ms:380ms; --spring-damping:28;
  --gutter:clamp(32px,6.2vw,120px); --board-top:212px; --board-width:min(1144px,calc(100vw - var(--gutter)*2));
  --pan-x:0px; --pan-y:0px; --zoom:1; --tilt-x:0deg; --tilt-y:0deg; --keyboard-offset:0px;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-synthesis:none; color:var(--ink); background:var(--canvas);
}
* { box-sizing:border-box; }
html,body { margin:0; width:100%; height:100%; overflow:hidden; }
body { -webkit-font-smoothing:antialiased; overscroll-behavior:none; }
button,input,textarea,select { font:inherit; color:inherit; }
button { cursor:pointer; border:0; background:none; padding:0; -webkit-tap-highlight-color:transparent; }
button:disabled { opacity:.45; cursor:not-allowed; }
a { color:inherit; }
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible { outline:2px solid var(--needle); outline-offset:4px; }
button,input,select { min-height:44px; }
textarea { resize:none; }
[hidden] { display:none!important; }
svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.55; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.c-sprite { position:absolute; width:0; height:0; overflow:hidden; }
.c-sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.c-skip { position:fixed; top:8px; left:12px; z-index:500; transform:translateY(-160%); background:var(--paper); padding:16px; }
.c-skip:focus { transform:translateY(0); }
.l-header { position:relative; z-index:70; display:flex; align-items:center; justify-content:space-between; gap:24px; height:88px; padding:16px 34px; }
.c-brand { display:flex; align-items:center; gap:12px; font-size:19px; font-weight:500; letter-spacing:-.65px; white-space:nowrap; }
.c-brand-mark { width:33px; height:33px; display:grid; place-items:center; position:relative; border:1px solid #b4b4af; border-radius:10px; font-size:26px; font-family:Georgia,serif; font-style:italic; }
.c-brand-mark>span { position:absolute; right:-4px; top:-7px; color:var(--needle); font-size:16px; }
.c-brand strong { font-weight:550; }
.c-brand-divider { margin:0 10px; color:#9e9e98; font-weight:350; }
.c-lenses { display:flex; gap:3px; padding:4px; align-items:center; border:1px solid #d5d5d1; border-radius:16px; }
.c-lens { display:flex; align-items:center; gap:7px; padding:0 13px; border-radius:11px; font-size:12px; font-weight:520; color:var(--mute); transition:transform var(--motion-hover),opacity var(--motion-hover); }
.c-lens svg { width:18px; height:18px; }
.c-lens.is-current { color:var(--ink); background:var(--paper); box-shadow:0 1px 3px #1a1a1a0a; }
.c-lens:hover { transform:translateY(-2px); color:var(--ink); }
.l-header-end { display:flex; align-items:center; gap:16px; }
.c-demo { color:var(--mute); border:1px solid #c7c7c1; border-radius:8px; min-width:74px; font:600 10px/1 ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing:1.2px; padding:0 12px; }
.c-demo span { color:var(--ink); letter-spacing:0; }
.c-avatar { width:44px; height:44px; border-radius:50%; background:#dbdbd5; border:3px solid var(--canvas); outline:1px solid #cecec8; font-size:11px; font-weight:600; }
.l-stage { position:absolute; inset:88px 0 0; perspective:1600px; overflow:hidden; isolation:isolate; }
.l-grid { position:absolute; inset:0; pointer-events:none; opacity:.68; mask-image:linear-gradient(to bottom,transparent 0%,#000 19%,#000 82%,transparent 100%); }
.l-grid canvas { display:block; width:100%; height:100%; }
.l-intro { position:absolute; top:39px; left:var(--gutter); right:var(--gutter); display:flex; align-items:center; justify-content:space-between; gap:24px; z-index:5; pointer-events:none; }
.l-intro button { pointer-events:auto; }
.c-eyebrow { font-size:10px; font-weight:650; letter-spacing:1.8px; color:var(--mute); margin:0 0 18px; }
.c-eyebrow>span { color:#777770; }
h1 { margin:0; font-size:clamp(34px,3.4vw,48px); line-height:1.1; font-weight:450; letter-spacing:-1.95px; }
h1 em { font-family:Georgia,"Times New Roman",serif; font-weight:400; letter-spacing:-1.6px; }
.c-day-summary { font-size:14px; margin:14px 0 0; color:var(--mute); }
.l-intro-aside { display:flex; align-items:center; gap:44px; }
.c-layer { display:flex; border:1px solid #cfcec9; border-radius:25px; padding:3px; }
.c-layer button { min-height:44px; min-width:58px; border-radius:20px; font-size:12px; color:var(--mute); }
.c-layer .is-current { background:var(--paper); color:var(--ink); }
.c-next-date { display:flex; align-items:center; gap:12px; text-align:left; }
.c-next-date strong { display:block; font-size:17px; letter-spacing:-.4px; font-weight:500; }
.c-next-date small { display:block; font-size:11px; margin-top:5px; color:var(--mute); }
.c-next-date>svg { width:16px; height:16px; margin-left:12px; color:var(--mute); }
.c-clock { display:block; position:relative; width:44px; height:44px; border:1px solid #bdbdb6; border-radius:50%; }
.c-clock:before { content:""; position:absolute; top:20px; left:20px; width:3px; height:3px; border-radius:50%; background:var(--ink); }
.c-clock:after { content:""; position:absolute; top:6px; left:21px; height:15px; width:1px; background:var(--ink); }
.c-clock i { position:absolute; top:20px; left:10px; width:12px; height:1px; background:var(--needle); transform:rotate(30deg); transform-origin:right; }
.l-board-caption { position:absolute; top:calc(var(--board-top) - 34px); left:var(--gutter); right:var(--gutter); display:flex; justify-content:space-between; align-items:center; color:var(--mute); font-size:10px; z-index:4; }
.l-board-caption>span:first-child { display:flex; align-items:center; gap:10px; }
.l-board-caption strong { font-size:11px; font-weight:600; }
#card-count { color:#7c7c75; font:10px ui-monospace,monospace; }
.c-tiny-needle { display:block; width:5px; height:5px; border-radius:50%; background:var(--needle); }
.l-canvas-viewport { position:absolute; inset:var(--board-top) 0 196px; overflow:hidden; touch-action:none; outline:none!important; }
.l-world { width:var(--board-width); position:relative; margin:0 auto; transform:translate3d(var(--pan-x),var(--pan-y),0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(var(--zoom)); transform-style:preserve-3d; transform-origin:50% 45%; will-change:transform; }
.l-world.is-camera-ease { transition:transform var(--motion-travel); }
.l-cards { display:grid; grid-template-columns:1.1fr 1fr 1fr; grid-template-rows:171px 171px; gap:22px; transform-style:preserve-3d; }
.c-card { position:relative; border-radius:14px; padding:21px 23px 0; background:var(--paper); border:1px solid #deded9; display:flex; flex-direction:column; box-shadow:0 3px 6px #25252203,0 12px 25px #25252203; transform:translateZ(0); transform-origin:50% 50%; transition:transform var(--motion-travel),opacity var(--motion-travel),filter var(--motion-travel); min-width:0; }
.c-card.is-hero { grid-row:span 2; padding:28px 30px 0; }
.c-card:hover { transform:translateY(-5px) translateZ(8px); }
.c-card.is-selected { border-color:#85b2f8; }
.is-surface-open .c-card { opacity:.32; filter:blur(4px); transform:scale(.92) translateZ(-80px); }
.is-surface-open .c-card.is-source { opacity:.12; }
.c-card.is-filtered { display:none; }
.c-card-hit { position:absolute; inset:0; border-radius:14px; z-index:1; width:100%; height:100%; }
.c-card-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.c-card-kind { display:flex; align-items:center; gap:7px; color:var(--mute); font-size:10px; font-weight:520; letter-spacing:.2px; }
.c-card-kind svg { width:17px; height:17px; }
.c-card-order { font:10px ui-monospace,monospace; color:#818179; }
.c-card h2 { font-size:17px; font-weight:550; letter-spacing:-.55px; margin:0; line-height:1.2; }
.c-card-main { display:flex; align-items:baseline; gap:12px; justify-content:space-between; }
.c-card-amount { font-size:21px; line-height:1; white-space:nowrap; letter-spacing:-.6px; font-weight:500; }
.c-card[data-id="umsatz"] .c-card-amount { color:var(--hold); }
.c-card-why { font-size:11px; color:var(--mute); margin:9px 0 12px; line-height:1.45; }
.c-card-source { display:none; font-size:10px; line-height:1.4; color:var(--mute); margin:0; }
.c-card-footer { margin-top:auto; border-top:1px solid #eaeae6; min-height:44px; display:flex; align-items:center; justify-content:space-between; gap:8px; }
.c-card-next { font-size:10px; color:var(--mute); }
.c-card-action { position:relative; z-index:2; display:flex; align-items:center; justify-content:flex-end; gap:7px; min-height:44px; padding-left:10px; font-size:11px; font-weight:550; }
.c-card-action svg { width:16px; height:16px; }
.c-card.is-hero .c-card-top { margin-bottom:31px; }
.c-card.is-hero .c-card-kind { color:var(--needle); }
.c-card.is-hero h2 { font-size:27px; font-weight:500; letter-spacing:-1px; }
.c-card.is-hero .c-card-main { flex-direction:column; align-items:flex-start; gap:26px; }
.c-card.is-hero .c-card-amount { font-size:57px; letter-spacing:-2.6px; font-weight:420; }
.c-card.is-hero .c-card-amount small { font-size:27px; margin-left:5px; letter-spacing:-.7px; }
.c-card.is-hero .c-card-why { font-size:12px; margin-top:16px; }
.c-card.is-hero .c-card-source { display:block; margin-bottom:18px; }
.c-card.is-hero .c-card-footer { min-height:58px; }
.c-card.is-hero .c-card-action { font-size:12px; }
.c-card.is-hero .c-card-next { border:1px solid var(--line); padding:6px 8px; border-radius:6px; font-size:10px; }
.c-card.is-done .c-card-kind { color:var(--ok); }
.c-card.is-done .c-card-next { color:var(--ok); }
.c-card.is-rejected .c-card-kind { color:var(--mute); }
.c-connections { position:absolute; inset:0; width:100%; height:100%; opacity:0; pointer-events:none; overflow:visible; transition:opacity var(--motion-travel); stroke:var(--needle); stroke-width:.8; }
body.is-overview .c-connections,body.is-orbit .c-connections { opacity:.22; }
.c-empty { position:absolute; top:330px; left:50%; transform:translateX(-50%); color:var(--mute); }
.l-surface-zone { position:absolute; inset:168px 24px 223px; z-index:25; pointer-events:none; display:flex; align-items:center; justify-content:center; perspective:1600px; }
.c-surface { pointer-events:auto; background:var(--paper); border:1px solid #cfcec8; border-radius:17px; width:min(660px,100%); max-height:100%; overflow:auto; box-shadow:0 28px 70px #22221a16,0 3px 12px #22221a09; transform-origin:0 0; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#cccac3 transparent; }
.c-surface-header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 24px; border-bottom:1px solid #e8e8e3; position:sticky; top:0; z-index:2; background:var(--paper); }
.c-surface-trail { display:flex; align-items:center; gap:10px; font-size:11px; color:var(--mute); }
.c-surface-trail svg { width:19px; height:19px; color:var(--needle); }
.c-surface-trail b { font-weight:500; color:var(--ink); }
.c-surface-body { padding:24px 30px; }
.c-surface-body h2 { margin:0; font-size:30px; font-weight:480; letter-spacing:-1px; }
.c-surface-title { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; }
.c-surface-title>svg { width:36px; height:36px; color:#8b8b81; }
.c-surface-sub { color:var(--mute); font-size:12px; line-height:1.6; margin:8px 0 0; }
.c-surface-amount { margin:23px 0 20px; font-size:42px; letter-spacing:-1.6px; font-weight:450; }
.c-fact-line { display:flex; align-items:baseline; justify-content:space-between; gap:24px; font-size:12px; padding:10px 0; border-top:1px solid #eeeee9; }
.c-fact-line>span { color:var(--mute); }
.c-fact-line>strong { font-weight:500; text-align:right; }
.c-source-line { font-size:10px; color:var(--mute); margin:12px 0 0; line-height:1.65; }
.c-noop { display:flex; align-items:flex-start; gap:12px; border:1px solid #e0dfd9; border-radius:10px; margin-top:17px; padding:13px; font-size:11px; line-height:1.55; }
.c-noop svg { width:19px; height:19px; color:var(--hold); }
.c-noop strong { display:block; margin-bottom:3px; font-weight:550; }
.c-noop p { margin:0; color:var(--mute); }
.c-surface-footer { padding:15px 24px; border-top:1px solid #e8e8e3; display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; background:#fafaf8; }
.c-footer-secondary { display:flex; align-items:center; gap:3px; }
.c-button { min-height:44px; padding:0 17px; border:1px solid var(--ink); background:var(--ink); color:var(--paper); font-size:12px; font-weight:500; border-radius:9px; display:inline-flex; align-items:center; justify-content:center; gap:9px; transition:transform var(--motion-hover),opacity var(--motion-hover); }
.c-button:hover { transform:translateY(-2px); }
.c-button svg { width:17px; height:17px; }
.c-button-quiet { color:var(--ink); background:transparent; border-color:#d8d8d1; }
.c-text-button { padding:0 10px; font-size:11px; color:var(--mute); }
.c-text-button:hover { color:var(--ink); }
.c-button.is-approved { border-color:var(--ok); background:var(--ok); }
.c-settle { display:flex; align-items:center; gap:12px; padding:16px; margin-top:20px; border-radius:10px; background:#f4faf4; border:1px solid #bcd4bf; color:var(--ok); }
.c-settle strong { display:block; font-size:16px; font-weight:500; margin-bottom:4px; }
.c-settle small { color:var(--mute); font-size:11px; }
.c-variant-options { display:flex; gap:12px; margin:20px 0; }
.c-variant-options label { display:flex; align-items:center; gap:10px; min-height:50px; padding:12px 18px; border:1px solid var(--line); border-radius:9px; flex:1; cursor:pointer; font-size:12px; }
.c-variant-options label:has(input:checked) { border-color:#8ab6f8; background:#f7faff; }
input[type="radio"] { min-height:0; accent-color:var(--needle); }
.c-edit { display:flex; flex-direction:column; gap:8px; font-size:11px; color:var(--mute); margin-top:16px; }
.c-edit textarea,.c-edit input,.c-paper-search { width:100%; border:1px solid var(--line); border-radius:8px; padding:12px; background:#fafaf8; font-size:13px; }
.c-edit textarea { min-height:85px; }
.c-edit-row { display:flex; gap:12px; }
.c-edit-row label { flex:1; }
.c-knowledge-list { margin:18px 0; display:flex; flex-direction:column; }
.c-knowledge-list button { display:flex; align-items:center; gap:12px; min-height:62px; border-top:1px solid #e8e8e3; text-align:left; }
.c-knowledge-list button>span { flex:1; }
.c-knowledge-list strong { display:block; font-size:13px; font-weight:500; }
.c-knowledge-list small { display:block; font-size:10px; color:var(--mute); margin-top:4px; }
.c-knowledge-list svg { width:18px; height:18px; }
.c-history-list { list-style:none; padding:0; margin:20px 0 0; }
.c-history-list li { border-top:1px solid var(--line); padding:15px 0; display:flex; gap:15px; }
.c-history-list time { font:10px ui-monospace,monospace; color:var(--mute); margin-top:3px; }
.c-history-list strong { display:block; font-size:13px; font-weight:550; margin-bottom:5px; }
.c-history-list small { font-size:11px; color:var(--mute); }
.c-tv { background:#fffffff0; backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); border:1px solid var(--line); }
.c-tv .c-surface-header { border-top:3px solid var(--needle); border-radius:16px 16px 0 0; background:transparent; padding-top:13px; }
.c-tv-body { padding:22px; }
.c-tv-stage { position:relative; background:#f3f3ef; border:1px solid #deded7; border-radius:10px; padding:18px; overflow:hidden; }
.c-tv-appbar { display:flex; justify-content:space-between; align-items:center; font-size:11px; border-bottom:1px solid #d9d9d0; padding-bottom:14px; margin-bottom:18px; }
.c-tv-appbar strong { font-size:14px; letter-spacing:-.4px; }
.c-tv-watermark { font-size:9px; letter-spacing:1.3px; color:var(--hold); }
.c-tv-document { padding:22px; background:var(--paper); border:1px solid #ddddd6; border-radius:8px; }
.c-tv-document h3 { font-size:16px; font-weight:520; margin:0 0 18px; letter-spacing:-.4px; }
.c-tv-row { display:flex; justify-content:space-between; align-items:center; font-size:12px; min-height:42px; border-top:1px solid #ecece7; }
.c-tv-row b { font-weight:550; }
.c-tv-cursor { position:absolute; left:65%; top:52%; width:21px; height:27px; color:var(--needle); filter:drop-shadow(1px 2px 0 white); }
.c-tv-cursor svg { width:21px; height:27px; fill:var(--needle); stroke:white; stroke-width:1.5; }
.c-worker-status { display:flex; align-items:center; gap:9px; font-size:11px; color:var(--mute); margin:16px 0 0; }
.c-worker-dot { width:5px; height:5px; border-radius:50%; background:var(--wait); }
.c-tv-steps { display:flex; gap:20px; margin-top:16px; font-size:10px; color:var(--mute); }
.c-tv-steps .is-current { color:var(--ink); }
.c-risk-button { color:var(--risk); }
.c-orbit-caption { position:absolute; top:154px; right:var(--gutter); display:flex; align-items:center; gap:10px; font-size:11px; color:var(--mute); z-index:10; }
.c-orbit-caption>svg { width:17px; height:17px; }
.c-canvas-tools { position:fixed; left:32px; bottom:max(26px,env(safe-area-inset-bottom)); z-index:75; display:flex; align-items:center; border:1px solid #d3d3cc; padding:3px; background:#e9e9e7; border-radius:13px; }
.c-icon-button { min-width:44px; min-height:44px; display:inline-flex; align-items:center; justify-content:center; color:var(--mute); border-radius:9px; flex-shrink:0; transition:transform var(--motion-hover),opacity var(--motion-hover); }
.c-icon-button svg { width:18px; height:18px; }
.c-icon-button:hover { transform:translateY(-2px); color:var(--ink); }
.c-icon-button[aria-pressed="true"] { color:var(--needle); background:#fff9; }
#zoom-value { font:11px ui-monospace,monospace; min-width:48px; }
#zoom-value span { color:var(--mute); margin-left:2px; }
.c-tool-line { display:block; width:1px; height:19px; background:#d0d0c8; margin:0 4px; }
.c-room-button { display:flex; align-items:center; gap:6px; padding:0 9px; color:var(--mute); font-size:11px; }
.c-room-button svg { width:18px; height:18px; }
.c-room-button[aria-pressed="true"] { color:var(--needle); }
.c-render-info { position:fixed; right:34px; bottom:29px; z-index:65; display:flex; align-items:center; gap:13px; font-size:10px; color:var(--mute); }
#renderer-label { font:9px ui-monospace,monospace; letter-spacing:.3px; }
#palette-button { display:flex; align-items:center; gap:6px; padding:0 10px; border:1px solid #d1d1c9; border-radius:10px; }
#palette-button svg { width:16px; height:16px; }
kbd { font:10px ui-monospace,monospace; }
.c-jarvis { position:fixed; left:50%; bottom:calc(max(24px,env(safe-area-inset-bottom)) + var(--keyboard-offset)); transform:translateX(-50%); width:min(650px,calc(100vw - 48px)); padding:10px 16px 8px; border:1px solid #fff; outline:1px solid #cfcec86b; border-radius:23px; background:rgba(255,255,255,.79); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); box-shadow:0 12px 34px #2020190e,0 1px 4px #20201904; z-index:100; transform-origin:0 0; }
.c-jarvis-masthead { display:flex; align-items:center; min-height:36px; gap:8px; }
.c-orb-button { width:44px; min-width:44px; height:44px; min-height:44px; display:grid; place-items:center; }
.c-orb { display:block; position:relative; width:25px; height:25px; border:1px solid #c7cbd0; border-radius:50%; background:linear-gradient(145deg,#fff,#f3f4f5); }
.c-orb:after { content:""; position:absolute; inset:6px; border:1px solid #a8b7cb; border-radius:50%; }
.c-orb-ring { position:absolute; inset:-4px; border:1px solid transparent; border-radius:50%; }
.c-orb-needle { position:absolute; left:11px; top:4px; width:2px; height:8px; border-radius:2px; background:var(--needle); transform-origin:1px 8px; z-index:1; }
body[data-state="Listening"] .c-orb { animation:orb-pulse 1200ms ease-in-out infinite; }
body[data-state="Listening"] .c-orb-ring { border-color:#8eb8f2; }
body[data-state="Thinking"] .c-orb-ring { border-top-color:var(--needle); animation:orb-ring 2500ms linear infinite; }
body[data-state="Acting"] .c-orb-needle { animation:needle-tick 560ms cubic-bezier(.22,1,.36,1); }
.c-jarvis-state { display:flex; align-items:center; gap:9px; min-width:0; flex:1; }
.c-jarvis-state strong { font-size:10px; font-weight:620; }
#context-chip { font-size:10px; color:var(--mute); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; border-left:1px solid var(--line); padding-left:9px; }
.c-jarvis-tools { display:flex; gap:0; align-items:center; }
.c-jarvis-tools .c-icon-button { min-width:44px; width:44px; min-height:44px; }
.c-jarvis-tools svg { width:15px; height:15px; }
.c-jarvis-body { padding:1px 7px 8px; }
.c-ui-context { font-size:12px; line-height:1.4; margin:0 0 3px; font-weight:520; }
.c-reply { font-size:11px; line-height:1.45; color:var(--mute); margin:0; max-height:48px; overflow-y:auto; }
.c-composer { display:flex; align-items:center; gap:4px; padding:5px; border:1px solid #d8d8d2; border-radius:13px; background:var(--paper); }
.c-composer textarea { border:0; background:none; flex:1; min-width:0; height:44px; max-height:100px; padding:12px 9px; font-size:14px; line-height:20px; outline:none; }
.c-composer:focus-within { border-color:#9fb9db; }
.c-composer textarea::placeholder { color:#888880; }
.c-send { width:44px; min-width:44px; min-height:44px; display:grid; place-items:center; border-radius:9px; background:var(--ink); color:white; }
.c-send svg { width:20px; height:20px; }
.c-jarvis-foot { display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:9px; color:#71716a; padding:1px 7px 0; min-height:27px; }
#quick-intent { display:flex; align-items:center; gap:7px; font-size:10px; min-height:28px; color:var(--mute); }
#quick-intent svg { width:13px; height:13px; }
.c-conversation { max-height:180px; overflow:auto; padding:8px 0; border-top:1px solid var(--line); margin-top:10px; overscroll-behavior:contain; }
.c-message { padding:8px 0; line-height:1.55; font-size:12px; }
.c-message strong { display:block; color:var(--mute); font-size:9px; font-weight:550; margin-bottom:3px; text-transform:uppercase; letter-spacing:.9px; }
.c-message.is-user { margin-left:35px; }
.c-voice-consent { border-top:1px solid var(--line); margin-top:10px; padding-top:10px; }
.c-voice-consent p { margin:0 0 8px; font-size:11px; line-height:1.5; color:var(--mute); }
.c-voice-consent>div { display:flex; gap:8px; }
.c-jarvis[data-mode="pill"] { width:min(440px,calc(100vw - 40px)); padding:9px 12px; display:flex; align-items:center; gap:4px; }
.c-jarvis[data-mode="pill"] .c-jarvis-masthead { flex:0; }
.c-jarvis[data-mode="pill"] .c-jarvis-tools,.c-jarvis[data-mode="pill"] .c-jarvis-state,.c-jarvis[data-mode="pill"] .c-jarvis-body,.c-jarvis[data-mode="pill"] .c-jarvis-foot { display:none; }
.c-jarvis[data-mode="pill"] .c-composer { border:0; background:transparent; padding:0; flex:1; min-width:0; }
.c-jarvis[data-mode="pill"] textarea { font-size:13px; }
.c-jarvis[data-mode="orb"] { width:66px; height:66px; padding:0; border-radius:50%; }
.c-jarvis[data-mode="orb"] .c-jarvis-masthead { display:block; }
.c-jarvis[data-mode="orb"] .c-orb-button { width:64px; height:64px; }
.c-jarvis[data-mode="orb"] .c-orb { width:34px; height:34px; }
.c-jarvis[data-mode="orb"] .c-orb-needle { top:7px; left:15px; }
.c-jarvis[data-mode="orb"] .c-jarvis-state,.c-jarvis[data-mode="orb"] .c-jarvis-tools,.c-jarvis[data-mode="orb"] .c-jarvis-body,.c-jarvis[data-mode="orb"] .c-composer,.c-jarvis[data-mode="orb"] .c-jarvis-foot { display:none; }
.c-jarvis[data-mode="dock"] { top:98px; bottom:auto; border-radius:0 0 22px 22px; }
body[data-box-mode="dock"] { --board-top:365px; }
body[data-box-mode="dock"] .l-intro { top:226px; }
body[data-box-mode="dock"] .l-intro h1 { font-size:34px; }
body[data-box-mode="dock"] .l-intro .c-eyebrow { margin-bottom:12px; }
body[data-box-mode="dock"] .l-canvas-viewport { bottom:80px; }
body[data-box-mode="dock"] .l-surface-zone { top:290px; bottom:78px; }
.c-palette,.c-help { position:fixed; left:50%; transform:translateX(-50%); z-index:120; width:min(590px,calc(100vw - 40px)); background:var(--paper); border:1px solid var(--line); box-shadow:0 20px 60px #22221a24; border-radius:16px; }
.c-palette { top:105px; overflow:hidden; }
.c-palette-head { display:flex; align-items:center; gap:12px; padding:12px 18px; border-bottom:1px solid var(--line); }
.c-palette-head>svg { color:var(--mute); width:20px; height:20px; }
.c-palette input { flex:1; min-width:0; border:0; outline:none; font-size:13px; background:none; }
#palette-results { max-height:min(350px,calc(100dvh - 480px)); overflow-y:auto; padding:7px; }
.c-command { display:flex; align-items:center; justify-content:space-between; width:100%; min-height:48px; padding:8px 12px; text-align:left; font-size:12px; border-radius:8px; gap:12px; }
.c-command small { color:var(--mute); font-size:10px; }
.c-command[aria-selected="true"] { background:var(--plat); }
.c-palette>p { padding:0 18px; font-size:10px; color:var(--mute); }
.c-help { top:105px; padding:20px 26px 24px; max-height:calc(100dvh - 355px); overflow:auto; }
.c-help>header { display:flex; align-items:center; justify-content:space-between; }
.c-help .c-eyebrow { margin:0; }
.c-help h2 { font-size:28px; font-weight:450; letter-spacing:-1px; margin:10px 0 15px; }
.c-help p { font-size:12px; line-height:1.7; color:var(--mute); }
.c-help-commands { display:grid; grid-template-columns:1fr 1fr; border-block:1px solid var(--line); padding:6px 0; gap:2px 12px; }
.c-help-commands button { text-align:left; display:flex; align-items:center; gap:7px; justify-content:space-between; min-height:46px; font-size:11px; }
.c-help-commands svg { width:15px; height:15px; }
.c-help .c-help-small,.c-help-small { font-size:10px; line-height:1.6; color:var(--mute); }
.c-boot-error { position:fixed; z-index:300; inset:0; padding:15vh 10vw; background:var(--canvas); }
.c-boot-error h1 { font-size:32px; }
.c-boot-error p { max-width:600px; font-size:15px; line-height:1.7; }
.c-flight-ghost { position:fixed!important; z-index:45; margin:0!important; pointer-events:none!important; transform-origin:0 0; opacity:1; transition:none!important; filter:none!important; overflow:hidden; }
.c-flight-ghost button { visibility:hidden; }
body.is-pan .l-canvas-viewport { cursor:grab; }
body.is-dragging .l-canvas-viewport { cursor:grabbing; }
body.is-orbit .l-intro { opacity:.8; }
body.is-orbit .c-card:not(.is-selected) { filter:blur(1.4px); opacity:.75; }
body.is-surface-open.is-orbit .c-card { filter:blur(4px); opacity:.32; }
@keyframes orb-pulse { 0%,100% { transform:scale(1); } 50% { transform:scale(1.06); } }
@keyframes orb-ring { to { transform:rotate(360deg); } }
@keyframes needle-tick { 0% { transform:rotate(0); } 30% { transform:rotate(28deg); } 70% { transform:rotate(-6deg); } 100% { transform:rotate(0); } }
@media (min-width:1680px) { :root { --board-top:257px; --board-width:1250px; } .l-intro { top:67px; } .l-cards { grid-template-rows:190px 190px; gap:26px; } .c-card { padding:25px 27px 0; } .c-card.is-hero { padding:33px 35px 0; } .c-card.is-hero .c-card-amount { font-size:67px; } .c-card-main h2 { font-size:19px; } .c-card-why { font-size:12px; } .l-board-caption { left:calc(50% - 625px); right:calc(50% - 625px); } .l-surface-zone { inset:220px 24px 245px; } .c-jarvis { bottom:36px; } }
@media (max-width:1240px) { .l-header { padding-inline:24px; gap:16px; } .c-brand { font-size:16px; } .c-brand-mark { display:none; } .c-lens { padding:0 10px; gap:6px; } .l-header-end { gap:10px; } .l-intro-aside { gap:22px; } .c-canvas-tools { bottom:224px; left:var(--gutter); } .c-render-info { bottom:227px; right:var(--gutter); } .l-canvas-viewport { bottom:300px; } .c-card-main { gap:8px; } .c-card h2 { font-size:15px; } .c-card-amount { font-size:19px; } .c-card-why { font-size:10px; } }
@media (min-width:701px) and (max-width:1100px) { :root { --gutter:40px; --board-top:224px; } .l-cards { grid-template-columns:1fr 1fr; grid-template-rows:202px 178px 178px; gap:20px; } .c-card.is-hero { grid-row:auto; grid-column:1 / -1; padding:22px 27px 0; } .c-card.is-hero .c-card-top { margin-bottom:14px; } .c-card.is-hero .c-card-main { flex-direction:row; align-items:center; gap:20px; } .c-card.is-hero h2 { font-size:25px; } .c-card.is-hero .c-card-amount { font-size:40px; } .c-card.is-hero .c-card-amount small { font-size:24px; } .c-card.is-hero .c-card-why { margin-top:10px; } .c-card.is-hero .c-card-source { display:none; } .c-card.is-hero .c-card-footer { min-height:48px; } .c-card h2 { font-size:17px; } .c-card-amount { font-size:21px; } .c-card-why { font-size:11px; } .l-intro-aside { flex-direction:column; align-items:flex-end; gap:17px; } .c-next-date>svg { display:none; } .c-next-date .c-clock { width:37px; height:37px; } .c-next-date .c-clock:before { top:16px; left:16px; } .c-next-date .c-clock:after { left:17px; height:12px; top:5px; } .c-next-date .c-clock i { left:7px; top:17px; width:10px; } .l-canvas-viewport { overflow:auto; scrollbar-width:thin; scrollbar-color:#cfcec7 transparent; } .l-world { padding-bottom:8px; } .c-lens { font-size:11px; padding:0 8px; } .c-lens svg { width:16px; height:16px; } .c-avatar { display:none; } .l-surface-zone { top:210px; bottom:280px; } body[data-box-mode="dock"] { --board-top:406px; } body[data-box-mode="dock"] .l-intro { top:253px; } body[data-box-mode="dock"] .l-canvas-viewport { bottom:90px; } body[data-box-mode="dock"] .c-canvas-tools { bottom:24px; } body[data-box-mode="dock"] .c-render-info { bottom:27px; } }
@media (max-width:700px) { :root { --gutter:22px; --board-top:172px; --board-width:calc(100vw - 44px); } .l-header { height:122px; padding:12px 20px 8px; flex-wrap:wrap; align-content:flex-start; gap:11px 8px; } .c-brand { height:44px; font-size:18px; } .c-brand-mark { display:none; } .c-brand-divider { margin-inline:8px; } .l-header-end { margin-left:auto; } .c-demo { min-width:71px; min-height:44px; } .c-avatar { width:44px; height:44px; min-height:44px; display:grid; place-items:center; } .c-lenses { order:3; flex-basis:100%; width:100%; justify-content:space-between; padding:0; border:0; border-radius:0; gap:0; } .c-lens { flex:1; flex-direction:column; gap:5px; justify-content:center; padding:6px 2px; min-width:0; font-size:9px; border-radius:10px; min-height:49px; } .c-lens svg { width:18px; height:18px; } .c-lens.is-current { background:#ffffffb0; box-shadow:none; } .l-stage { top:122px; } .l-intro { top:25px; align-items:flex-start; gap:10px; } .c-eyebrow { font-size:8px; letter-spacing:1.1px; margin-bottom:14px; } .c-eyebrow>span { display:none; } h1 { font-size:30px; letter-spacing:-1.4px; line-height:1.2; max-width:270px; } h1 em { display:block; letter-spacing:-1px; } .c-day-summary { font-size:11px; margin-top:10px; } .l-intro-aside { position:absolute; right:0; top:39px; } .c-layer { padding:3px; } .c-layer button { min-width:44px; min-height:44px; font-size:10px; } .c-next-date { display:none; } .l-board-caption { top:calc(var(--board-top) - 24px); font-size:9px; } #canvas-hint { max-width:170px; text-align:right; font-size:9px; } .l-canvas-viewport { bottom:258px; overflow:auto; scrollbar-width:none; } .l-world { padding:4px 0 22px; transform-origin:50% 180px; } .l-cards { display:flex; flex-direction:column; gap:14px; } .c-card { min-height:163px; padding:20px 21px 0; border-radius:13px; } .c-card.is-hero { min-height:247px; padding:23px 24px 0; } .c-card-main { gap:14px; } .c-card h2 { font-size:17px; } .c-card-amount { font-size:20px; } .c-card-why { font-size:11px; margin-bottom:14px; } .c-card-top { margin-bottom:14px; } .c-card.is-hero .c-card-top { margin-bottom:18px; } .c-card.is-hero .c-card-main { flex-direction:row; align-items:baseline; gap:16px; } .c-card.is-hero h2 { max-width:170px; font-size:24px; } .c-card.is-hero .c-card-amount { font-size:36px; letter-spacing:-1.5px; } .c-card.is-hero .c-card-amount small { font-size:17px; display:block; text-align:right; letter-spacing:-.5px; margin-top:5px; } .c-card.is-hero .c-card-why { font-size:11px; margin-top:18px; } .c-card.is-hero .c-card-source { font-size:9px; margin-bottom:12px; } .c-card.is-hero .c-card-footer { min-height:51px; } .c-card-kind { font-size:9px; } .c-card-next { font-size:9px; } .c-card-action { font-size:11px; } .c-card-source { font-size:9px; } .c-canvas-tools { bottom:calc(207px + env(safe-area-inset-bottom)); left:22px; right:22px; justify-content:space-between; padding:2px; border-radius:11px; } .c-canvas-tools .c-icon-button { min-width:44px; width:44px; } .c-room-button { font-size:10px; padding:0 7px; } .c-render-info { bottom:calc(260px + env(safe-area-inset-bottom)); left:24px; right:24px; justify-content:space-between; pointer-events:none; } .c-render-info #altitude-label { display:none; } .c-render-info #renderer-label { font-size:8px; color:#82827a; } .c-render-info #palette-button { display:none; } .c-jarvis { bottom:calc(max(13px,env(safe-area-inset-bottom)) + var(--keyboard-offset)); width:calc(100vw - 28px); padding:6px 10px 7px; border-radius:20px; } .c-jarvis-masthead { min-height:40px; gap:3px; } .c-orb-button { width:44px; min-width:44px; } .c-jarvis-state { gap:6px; } .c-jarvis-state strong { font-size:9px; } #context-chip { font-size:9px; padding-left:6px; max-width:135px; } .c-jarvis-tools .c-icon-button { min-width:44px; width:44px; } #speak-toggle,#conversation-toggle { display:none; } .c-ui-context { font-size:11px; line-height:1.5; } .c-reply { font-size:10px; max-height:30px; } .c-jarvis-body { padding:0 6px 8px; } .c-composer textarea { font-size:16px; padding-left:8px; } .c-composer { padding:3px; border-radius:11px; } .c-send { width:44px; min-width:44px; } .c-jarvis-foot { padding-top:2px; min-height:29px; font-size:8px; gap:4px; } #quick-intent { font-size:9px; gap:5px; } #voice-status { max-width:200px; } .l-surface-zone { inset:137px 16px 270px; align-items:flex-start; } .c-surface { width:100%; max-height:100%; border-radius:13px; } .c-surface-header { padding:8px 12px; } .c-surface-trail { font-size:10px; gap:6px; } .c-surface-body { padding:20px; } .c-surface-body h2 { font-size:26px; } .c-surface-amount { font-size:37px; margin:18px 0; } .c-surface-sub { font-size:11px; } .c-fact-line { font-size:11px; gap:14px; } .c-source-line { font-size:9px; } .c-noop { padding:11px; font-size:10px; } .c-surface-footer { padding:9px 10px; position:sticky; bottom:0; z-index:2; } .c-footer-secondary { gap:0; flex:1; justify-content:space-between; } .c-text-button { padding:0 7px; font-size:10px; } .c-surface-footer>.c-button { width:100%; margin-top:3px; } .c-variant-options { gap:8px; } .c-variant-options label { font-size:11px; padding:10px; } .c-tv-body { padding:12px; } .c-tv-stage { padding:12px; } .c-tv-document { padding:14px; } .c-tv-steps { gap:12px; font-size:9px; } .c-worker-status { font-size:10px; } .c-orbit-caption { top:calc(var(--board-top) - 4px); left:22px; right:22px; justify-content:flex-end; font-size:9px; } .c-orbit-caption>svg { display:none; } .c-orbit-caption .c-icon-button { min-height:44px; } .c-palette,.c-help { top:130px; width:calc(100vw - 32px); } .c-palette { max-height:calc(100dvh - 345px); } #palette-results { max-height:calc(100dvh - 458px); } .c-palette-head { gap:8px; padding:7px 12px; } .c-palette input { font-size:12px; } .c-palette-head>svg { width:17px; height:17px; } .c-command { font-size:11px; } .c-command small { font-size:9px; } .c-help { max-height:calc(100dvh - 345px); padding:14px 20px 20px; } .c-help h2 { font-size:26px; } .c-help p { font-size:11px; } .c-help-commands { grid-template-columns:1fr; } .c-jarvis[data-mode="dock"] { top:auto; bottom:var(--keyboard-offset); width:100%; border-radius:20px 20px 0 0; padding-bottom:calc(8px + env(safe-area-inset-bottom)); } body[data-box-mode="dock"] { --board-top:172px; } body[data-box-mode="dock"] .l-intro { top:25px; } body[data-box-mode="dock"] .l-intro h1 { font-size:30px; } body[data-box-mode="dock"] .l-canvas-viewport { bottom:258px; } body[data-box-mode="dock"] .l-surface-zone { top:137px; bottom:270px; } .c-edit-row { flex-direction:column; } }
@media (max-height:760px) and (min-width:701px) { :root { --board-top:168px; } .l-intro { top:15px; } h1 { font-size:33px; } .c-eyebrow { margin-bottom:10px; } .l-cards { grid-template-rows:157px 157px; } .c-card.is-hero .c-card-top { margin-bottom:18px; } .c-card.is-hero .c-card-main { gap:15px; } .c-card.is-hero .c-card-amount { font-size:46px; } .l-canvas-viewport { bottom:201px; overflow:auto; } .c-canvas-tools { bottom:24px; } .c-render-info { bottom:27px; } .l-surface-zone { top:112px; bottom:210px; } }
@media (max-height:600px) and (max-width:950px) { .l-header { height:62px; padding-block:7px; flex-wrap:nowrap; } .c-lenses { order:0; flex-basis:auto; width:auto; border:0; } .c-lens { padding:4px 7px; } .c-lens span { display:none; } .c-avatar { display:none; } .l-stage { top:62px; } .l-intro,.l-board-caption { display:none; } :root { --board-top:12px; } .l-canvas-viewport { bottom:80px; } .c-jarvis { width:min(470px,calc(100vw - 24px)); bottom:8px; } .c-jarvis-body,.c-jarvis-foot { display:none; } .c-jarvis-masthead { min-height:33px; } .c-jarvis { padding-top:1px; } .c-canvas-tools { left:auto; right:10px; bottom:124px; width:300px; } .c-render-info { display:none; } .l-surface-zone { top:4px; bottom:129px; left:20px; right:20px; } .c-surface { max-width:540px; } .c-palette,.c-help { top:66px; max-height:calc(100dvh - 200px); } #palette-results { max-height:calc(100dvh - 300px); } }
@media (prefers-reduced-motion:reduce) {
  :root { --motion-enter:1ms linear; --motion-travel:1ms linear; --motion-exit:1ms linear; --motion-morph:1ms linear; --motion-hover:1ms; --motion-nudge:1ms; --motion-spring:1ms 28; --enter-ms:1ms; --travel-ms:1ms; --exit-ms:1ms; --morph-ms:1ms; --spring-ms:1ms; }
  *,*::before,*::after { animation-duration:1ms!important; animation-iteration-count:1!important; transition-duration:1ms!important; scroll-behavior:auto!important; }
  .l-world { transform:translate(var(--pan-x),var(--pan-y)) scale(var(--zoom))!important; }
  .c-card:hover { transform:none; }
  .is-surface-open .c-card { transform:scale(.92); }
  .c-orb,.c-orb-ring,.c-orb-needle { animation:none!important; }
}

/* Visual QA correction: persistent action rail; the paper, not its controls, scrolls. */
.l-canvas-viewport { perspective:1600px; }
.c-surface { display:flex; flex-direction:column; overflow:hidden; }
.c-surface-header { flex-shrink:0; position:relative; padding-block:8px; }
.c-surface-body,.c-tv-body { flex:1 1 auto; min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#cfcec7 transparent; }
.c-surface-footer { flex-shrink:0; position:relative; min-height:65px; padding-block:10px; }
.c-jarvis-foot { min-height:40px; }
#quick-intent { min-height:44px; }
.l-surface-zone { top:140px; bottom:249px; }
body.is-surface-open .l-board-caption { opacity:.35; }
body.is-surface-open .l-intro { opacity:.45; filter:blur(1px); }
body.is-overview .c-card-why,body.is-overview .c-card-source { visibility:hidden; }
@media (min-width:1680px) { .l-surface-zone { top:206px; bottom:273px; } }
@media (min-width:701px) and (max-width:1100px) { .l-surface-zone { top:182px; bottom:304px; } .c-canvas-tools { bottom:244px; } .c-render-info { bottom:247px; } }
@media (max-width:700px) {
  .c-jarvis-foot { min-height:38px; } #quick-intent { min-height:44px; }
  .c-jarvis { padding-bottom:4px; }
  .c-canvas-tools { bottom:calc(225px + env(safe-area-inset-bottom)); }
  .c-render-info { display:none; }
  .l-canvas-viewport { bottom:279px; }
  .l-surface-zone { top:134px; bottom:287px; }
  .c-surface-header { padding-block:4px; }
  .c-surface-footer { padding:7px 10px; min-height:102px; }
  .c-surface-trail { font-size:9px; }
  .c-jarvis-state { display:block; }
  #context-chip { display:block; border:0; padding:2px 0 0; max-width:144px; }
  .c-layer { transform:translateY(3px); }
  .c-surface .c-text-button { min-width:66px; }
  body[data-box-mode="dock"] .l-canvas-viewport { bottom:279px; }
  body[data-box-mode="dock"] .l-surface-zone { bottom:287px; }
}
@media (max-height:600px) and (max-width:950px) { .l-canvas-viewport { bottom:120px; } .l-surface-zone { top:4px; bottom:127px; } .c-canvas-tools { bottom:128px; } }
/* Reserve the box's actual height, including voice consent and the conversation. */
:root { --surface-base-reserve:249px; --jarvis-bottom-reserve:0px; }
.l-surface-zone { bottom:max(var(--surface-base-reserve),var(--jarvis-bottom-reserve)); }
@media (min-width:1101px) and (max-width:1679px) { .l-cards { grid-template-rows:165px 165px; } }
@media (min-width:1680px) { :root { --surface-base-reserve:273px; } }
@media (min-width:701px) and (max-width:1100px) { :root { --board-top:212px; --surface-base-reserve:304px; } .l-cards { grid-template-rows:192px 174px 174px; } }
@media (max-width:700px) {
  :root { --surface-base-reserve:218px; }
  .l-surface-zone { top:14px; bottom:max(var(--surface-base-reserve),var(--jarvis-bottom-reserve)); }
  body.is-surface-open .l-intro,body.is-surface-open .l-board-caption { opacity:0; pointer-events:none; }
  body.is-surface-open .c-canvas-tools { opacity:0; pointer-events:none; }
  body[data-box-mode="dock"] .l-surface-zone { top:14px; bottom:max(var(--surface-base-reserve),var(--jarvis-bottom-reserve)); }
}
@media (min-width:701px) { body[data-box-mode="dock"] .l-surface-zone { bottom:78px; } }
@media (max-height:600px) and (max-width:950px) { :root { --surface-base-reserve:127px; } .l-surface-zone { top:4px; bottom:max(var(--surface-base-reserve),var(--jarvis-bottom-reserve)); } }

/* Inactive neighbours are inert; active controls retain a full touch target. */
.c-text-button { min-width:44px; }
@media (max-height:600px) and (max-width:950px) { .c-lens { min-width:44px; } }
