html[data-screen="home-usable"], html[data-screen="home-usable"] body, html[data-screen="home-usable"] #app { min-height: 100%; overflow: hidden; }

.usable-cockpit {
  --cockpit-bg: #02070d;
  --cockpit-panel: rgba(5, 15, 24, .84);
  --cockpit-line: rgba(112, 194, 210, .2);
  --cockpit-safe-left: 182px;
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 680px;
  overflow: hidden;
  color: #eef7f4;
  background:
    radial-gradient(circle at 52% 47%, rgba(37, 82, 104, .32), transparent 31%),
    radial-gradient(circle at 69% 40%, rgba(72, 52, 143, .17), transparent 24%),
    linear-gradient(145deg, #02070d, #06131d 55%, #02070d);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.usable-cockpit *, .usable-cockpit *::before, .usable-cockpit *::after { box-sizing: border-box; }
.usable-cockpit button, .usable-cockpit a, .usable-cockpit textarea { font: inherit; }
.usable-cockpit button, .usable-cockpit a { -webkit-tap-highlight-color: transparent; }
.usable-cockpit button:focus-visible, .usable-cockpit a:focus-visible, .usable-cockpit textarea:focus-visible { outline: 2px solid #f2be72; outline-offset: 3px; }

.skip-link { position: fixed; z-index: 100; left: 20px; top: -80px; padding: 12px 18px; border-radius: 10px; background: #eef7f4; color: #06131d; transition: top .18s ease; }
.skip-link:focus { top: 18px; }
.cockpit-stars { position: absolute; inset: 0; pointer-events: none; opacity: .48; background-image: radial-gradient(circle, rgba(219,245,255,.75) 0 1px, transparent 1.4px); background-size: 67px 67px; mask-image: radial-gradient(ellipse at center, #000 15%, transparent 86%); }
.cockpit-stars::after { content: ""; position: absolute; inset: -20%; background-image: radial-gradient(circle, rgba(102,209,226,.64) 0 1px, transparent 1.4px); background-size: 113px 97px; transform: rotate(7deg); }
.cockpit-frame { position: absolute; z-index: 1; inset: 0; pointer-events: none; border: 1px solid rgba(130, 193, 209, .14); box-shadow: inset 0 0 100px rgba(0,0,0,.8); }
.cockpit-frame::before, .cockpit-frame::after { content: ""; position: absolute; top: 74px; bottom: 66px; width: 55px; border: solid rgba(91, 169, 192, .18); }
.cockpit-frame::before { left: 0; border-width: 1px 1px 1px 0; clip-path: polygon(0 0,100% 7%,100% 93%,0 100%); background: linear-gradient(90deg, rgba(10,35,51,.96), rgba(4,15,24,.74)); }
.cockpit-frame::after { display: none; }
.cockpit-frame i { position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); border: 1px solid rgba(92, 169, 192, .2); border-radius: 50%; }
.cockpit-frame i:nth-child(1) { top: -51vw; width: 116vw; height: 66vw; }
.cockpit-frame i:nth-child(2) { bottom: -14vw; width: 78vw; height: 19vw; box-shadow: 0 -18px 60px rgba(19,79,104,.13); }
.cockpit-frame i:nth-child(3) { bottom: -10vw; width: 54vw; height: 14vw; border-color: rgba(242,190,114,.12); }

.cockpit-header { position: relative; z-index: 20; height: 74px; display: grid; grid-template-columns: 220px 1fr 220px; align-items: center; padding: 0 32px 0 26px; border-bottom: 1px solid rgba(100,181,202,.13); background: linear-gradient(180deg, rgba(2,9,15,.92), rgba(3,12,19,.46)); }
.cockpit-brand { display: flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .08em; }
.cockpit-brand span { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(103,228,214,.34); border-radius: 50%; color: #67e4d6; box-shadow: inset 0 0 16px rgba(103,228,214,.12); }
.developer-credit { position: absolute; left: 164px; top: 50%; max-width: min(420px, calc(50vw - 340px)); margin: 0; padding-left: 13px; border-left: 1px solid rgba(103,228,214,.2); transform: translateY(-50%); color: #799593; font-size: 10px; line-height: 1.55; letter-spacing: .03em; }
.developer-credit span { margin-right: 7px; color: #67e4d6; font: 8px/1.4 "IBM Plex Mono", Consolas, monospace; letter-spacing: .12em; }
.developer-credit b { color: #b7cbc8; font-weight: 400; }
.top-commands { justify-self: center; display: flex; align-items: center; padding: 6px; border: 1px solid rgba(119,194,211,.2); border-radius: 999px; background: rgba(3,12,19,.75); box-shadow: 0 18px 54px rgba(0,0,0,.24), inset 0 0 24px rgba(80,156,181,.04); }
.top-commands a { display: flex; min-height: 42px; align-items: center; gap: 9px; padding: 0 20px; border-radius: 999px; color: #b9cac7; font-size: 13px; }
.top-commands a + a { border-left: 1px solid rgba(111,178,196,.13); }
.top-commands a:hover, .top-commands a:focus-visible { color: #fff; background: rgba(74,130,153,.13); }
.top-commands .is-primary { color: #f7deb0; }
.top-commands button { display: flex; min-height: 42px; align-items: center; gap: 9px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: #b9cac7; font: inherit; font-size: 13px; cursor: pointer; }
.top-commands > * + * { border-left: 1px solid rgba(111,178,196,.13); }
.top-commands button:hover, .top-commands button:focus-visible { color: #fff; background: rgba(74,130,153,.13); }
.top-commands .recycle-command { min-height: 42px; align-items: center; gap: 7px; padding: 0 13px; color: #9fbab5; font-size: 11px; }
.top-commands .recycle-command span { color: #67e4d6; font-size: 15px; }
.top-commands .recycle-command:hover, .top-commands .recycle-command:focus-visible { color: #f2f8f6; background: rgba(74,130,153,.13); }
.top-commands .insight-command { min-height: 38px; margin-left: 6px; padding: 0 16px; border: 0; color: #05201f; background: #67e4d6; box-shadow: 0 0 18px rgba(103,228,214,.22); }
.top-commands .insight-command:hover, .top-commands .insight-command:focus-visible { color: #041514; background: #8aeee1; }
.top-commands .insight-command span { color: inherit; }
.flight-meta { justify-self: end; display: grid; grid-template-columns: 9px minmax(0, 1fr); column-gap: 8px; align-items: center; min-width: 164px; min-height: 58px; padding: 8px 12px; border: 1px solid rgba(34,175,244,.82); border-radius: 8px; background: linear-gradient(145deg, rgba(7,34,48,.95), rgba(5,20,31,.9)); color: #e8f8ff; text-decoration: none; box-shadow: 0 0 0 1px rgba(34,175,244,.12), inset 0 0 22px rgba(34,175,244,.07), 0 0 20px rgba(24,148,212,.08); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.flight-meta:hover, .flight-meta:focus-visible { border-color: #48c8ff; color: #fff; transform: translateY(-1px); box-shadow: 0 0 0 2px rgba(34,175,244,.16), inset 0 0 24px rgba(34,175,244,.11), 0 0 24px rgba(24,148,212,.18); }
.flight-meta-copy { display: grid; min-width: 0; gap: 3px; text-align: right; }
.flight-meta b { overflow: hidden; color: #f2fbff; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.flight-meta small { overflow: hidden; color: #91aaa7; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.online-dot { width: 7px; height: 7px; border-radius: 50%; background: #67e4d6; box-shadow: 0 0 12px #67e4d6; }

.side-rail { position: absolute; z-index: 22; top: 92px; bottom: 84px; left: 18px; width: 146px; display: flex; flex-direction: column; gap: 12px; padding: 14px 10px; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: rgba(103,228,214,.32) transparent; border: 1px solid rgba(184,235,241,.28); border-radius: 20px; background: linear-gradient(145deg,rgba(131,215,226,.13),rgba(8,29,42,.38) 42%,rgba(4,14,24,.52)); backdrop-filter: blur(18px) saturate(1.24) brightness(1.06); -webkit-backdrop-filter: blur(18px) saturate(1.24) brightness(1.06); box-shadow: inset 1px 1px 0 rgba(239,255,255,.16), inset -1px -1px 0 rgba(103,228,214,.09), inset 0 0 28px rgba(126,221,232,.08), 16px 0 55px rgba(0,0,0,.2); }
.side-rail::before { content: ""; position: absolute; inset: 1px; border: 1px solid rgba(230,253,255,.1); border-radius: 18px; pointer-events: none; }
.side-rail-group { position: relative; z-index: 1; display: grid; gap: 6px; }
.side-rail-heading { padding: 0 9px 2px; color: #64827f; font: 8px/1.4 "IBM Plex Mono", Consolas, monospace; letter-spacing: .13em; text-transform: uppercase; }
.side-rail-divider { position: relative; z-index: 1; height: 1px; margin: 1px 8px; background: linear-gradient(90deg, transparent, rgba(103,228,214,.28), transparent); }
.side-rail a { position: relative; display: grid; grid-template-columns: 26px minmax(0,1fr) auto; min-height: 56px; align-items: center; gap: 8px; padding: 8px 9px; border: 1px solid transparent; border-radius: 12px; color: #91aaa7; text-align: left; text-decoration: none; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.side-rail a > span:first-child { display: grid; width: 24px; height: 24px; place-items: center; color: #7da09d; font-size: 18px; }
.side-rail-copy { display: grid; min-width: 0; gap: 3px; }
.side-rail-copy b { overflow: hidden; color: inherit; font-size: 11px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.side-rail-copy small { overflow: hidden; color: #64827f; font-size: 8px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.side-rail a > i { color: #6f9aa0; font: 14px/1 "IBM Plex Mono", Consolas, monospace; font-style: normal; }
.side-rail a:hover, .side-rail a:focus-visible, .side-rail a.is-active { color: #dff9f4; border-color: rgba(103,228,214,.28); background: rgba(34,110,126,.25); box-shadow: inset 0 0 20px rgba(103,228,214,.07); }
.side-rail a:hover { transform: translateX(1px); }
.side-rail a.is-active::before { content: ""; position: absolute; top: 10px; bottom: 10px; left: -1px; width: 2px; border-radius: 2px; background: #67e4d6; box-shadow: 0 0 12px rgba(103,228,214,.72); }
.side-rail a.is-active > span:first-child { color: #67e4d6; }
.side-rail a.is-active .side-rail-copy small { color: #8ccfc6; }
.side-rail-deep { border-color: rgba(154,124,255,.12) !important; }
.side-rail-deep > span:first-child { color: #a795e4 !important; }
.side-rail-deep:hover, .side-rail-deep:focus-visible { border-color: rgba(154,124,255,.35) !important; background: rgba(88,66,142,.2) !important; }
.side-rail-deep .side-rail-copy small { color: #8276ad; }
.side-rail-node { border-color: rgba(106,183,255,.12) !important; }
.side-rail-node > span:first-child { color: #6ab7ff !important; }
.side-rail-node:hover, .side-rail-node:focus-visible { border-color: rgba(106,183,255,.34) !important; background: rgba(38,82,127,.2) !important; }
.side-rail-node .side-rail-copy small { color: #6f98bb; }
.side-rail-talent { border-color: rgba(242,190,114,.14) !important; }
.side-rail-talent > span:first-child { color: #f2be72 !important; }
.side-rail-talent:hover, .side-rail-talent:focus-visible { border-color: rgba(242,190,114,.38) !important; background: rgba(116,75,33,.2) !important; }
.side-rail-talent .side-rail-copy small { color: #b99769; }
.side-rail-backup { border-color: rgba(103,228,214,.14) !important; }
.side-rail-backup > span:first-child { color: #67e4d6 !important; }
.side-rail-backup:hover, .side-rail-backup:focus-visible { border-color: rgba(103,228,214,.38) !important; background: rgba(34,110,126,.2) !important; }
.side-rail-backup .side-rail-copy small { color: #79aaa5; }

#lifeform-stage, #today-action, #growth-status { scroll-margin-top: 100px; }

.cockpit-main { position: relative; z-index: 10; height: calc(100dvh - 162px); min-height: 538px; display: grid; grid-template-columns: minmax(0, 1fr) clamp(380px, 26vw, 430px); gap: 16px; padding: 14px 24px 14px var(--cockpit-safe-left); }
.viewport-shell { --viewport-heading-space: 68px; min-width: 0; position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr); border: 1px solid rgba(169,224,235,.3); border-radius: 34px 34px 25% 25% / 32px 32px 13% 13%; overflow: hidden; background: radial-gradient(circle at 52% 48%, rgba(16,59,78,.25), rgba(2,10,17,.2) 45%, rgba(0,4,8,.66)); box-shadow: inset 0 1px rgba(241,255,255,.17), inset 0 -1px rgba(103,228,214,.09), inset 0 0 92px rgba(1,7,12,.66), 0 20px 80px rgba(0,0,0,.24), 0 0 36px rgba(80,170,193,.035); }
.viewport-shell::before { content: ""; position: absolute; z-index: 8; inset: 10px; pointer-events: none; border: 1px solid rgba(207,244,249,.22); border-radius: inherit; box-shadow: inset 0 2px 2px rgba(255,255,255,.13), inset 2px 0 3px rgba(157,231,240,.09), inset -2px 0 3px rgba(154,124,255,.07), inset 0 0 52px rgba(128,223,238,.055); }
.viewport-glass { position: absolute; z-index: 9; inset: 10px; overflow: hidden; border-radius: inherit; pointer-events: none; background: linear-gradient(118deg,rgba(222,250,253,.055),rgba(157,226,236,.012) 24%,transparent 48%,rgba(154,124,255,.018) 76%,rgba(189,239,246,.04)), radial-gradient(ellipse at 50% -12%,rgba(225,252,255,.075),transparent 45%); box-shadow: inset 0 0 62px rgba(128,223,238,.065), inset 0 0 4px rgba(235,254,255,.3); backdrop-filter: blur(.65px) saturate(1.14) brightness(1.025); -webkit-backdrop-filter: blur(.65px) saturate(1.14) brightness(1.025); }
.viewport-glass::before { content: ""; position: absolute; top: -23%; left: -17%; width: 78%; height: 41%; border-radius: 50%; transform: rotate(-8deg); background: linear-gradient(180deg,rgba(241,255,255,.24),rgba(168,231,239,.06) 47%,rgba(122,199,214,.018) 68%,transparent 82%); filter: blur(4px); opacity: .74; }
.viewport-glass::after { content: ""; position: absolute; inset: 0; opacity: .4; background: radial-gradient(circle at 18% 28%,rgba(255,255,255,.68) 0 .55px,transparent .95px), radial-gradient(circle at 76% 18%,rgba(190,239,246,.46) 0 .45px,transparent .85px), linear-gradient(104deg,transparent 39%,rgba(215,250,253,.09) 47%,rgba(156,221,233,.025) 52%,transparent 58%); background-size: 109px 91px,151px 137px,100% 100%; }
.viewport-glass i { position: absolute; border: 1px solid rgba(219,250,253,.13); border-radius: 50%; opacity: .72; box-shadow: 0 0 12px rgba(176,236,243,.035); }
.viewport-glass i:nth-child(1) { width: 120%; height: 48%; left: -44%; top: -30%; transform: rotate(-7deg); }
.viewport-glass i:nth-child(2) { width: 76%; height: 34%; right: -36%; bottom: -23%; transform: rotate(12deg); border-color: rgba(154,124,255,.065); }
.viewport-lens { position: absolute; z-index: 2; inset: 10px; border-radius: inherit; pointer-events: none; background: transparent; transition: background .3s ease, backdrop-filter .3s ease, -webkit-backdrop-filter .3s ease; }
.usable-cockpit.lens-balanced .viewport-lens { background: rgba(2,13,22,.24); backdrop-filter: brightness(.78) saturate(.9) contrast(1.01); -webkit-backdrop-filter: brightness(.78) saturate(.9) contrast(1.01); box-shadow: inset 0 0 70px rgba(0,7,15,.16); }
.usable-cockpit.lens-deep .viewport-lens { background: rgba(0,4,12,.58); backdrop-filter: brightness(.56) saturate(.76) contrast(1.08); -webkit-backdrop-filter: brightness(.56) saturate(.76) contrast(1.08); box-shadow: inset 0 0 90px rgba(0,0,5,.32); }
.usable-cockpit.effect-full .viewport-glass::before { animation: cockpit-glass-glide 18s ease-in-out infinite alternate; }
@keyframes cockpit-glass-glide { from { transform: translate3d(-2%,0,0) rotate(-9deg); opacity: .46; } to { transform: translate3d(9%,5%,0) rotate(-6deg); opacity: .68; } }
.viewport-heading { position: relative; z-index: 11; padding: 20px 26px 0; background: transparent; pointer-events: none; }
.viewport-heading span { color: #67e4d6; font: 9px/1.5 "IBM Plex Mono", Consolas, monospace; letter-spacing: .14em; }
.viewport-heading h1 { max-width: min(100%, 620px); margin: 3px 0 0; overflow-wrap: anywhere; font-size: 20px; font-weight: 500; text-shadow: 0 2px 12px rgba(0,0,0,.95), 0 0 18px rgba(103,228,214,.08); }
.organism-stage { position: relative; min-height: 0; touch-action: none; cursor: grab; overflow: visible; }
.organism-stage:active { cursor: grabbing; }
.organism-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.organism-stage > .cosmic-background-canvas { position: absolute; z-index: 1; top: calc(-1 * var(--viewport-heading-space)); right: 0; bottom: 0; left: 0; width: 100%; height: calc(100% + var(--viewport-heading-space)); opacity: .9; mix-blend-mode: screen; pointer-events: none; filter: saturate(.98) brightness(1.055); }
.organism-stage > .cosmic-orbital-canvas { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; opacity: .98; pointer-events: none; filter: saturate(1.35) brightness(1.16); }
.p1-lifeform-layer { position: absolute; inset: 0; z-index: 2; overflow: hidden; }
.p1-lifeform-layer .rotatable-organism-canvas { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; cursor: grab; touch-action: none; outline: none; mix-blend-mode: screen; filter: saturate(1.08) brightness(1.05); }
.p1-lifeform-layer .rotatable-organism-canvas:focus-visible, .organism-canvas:focus-visible { outline: 2px solid #f2be72; outline-offset: -5px; }
.p1-lifeform-layer .rotatable-organism-canvas.is-dragging { cursor: grabbing; }
.knowledge-markers { position: absolute; z-index: 20; inset: 0; pointer-events: none; }
.knowledge-marker { position: absolute; z-index: 21; display: grid; min-width: 100px; justify-items: center; gap: 2px; padding: 5px 8px 7px; border: 1px solid transparent; border-radius: 12px; transform: translate(-50%,-50%); background: rgba(2,10,17,.82); color: #dce9e6; pointer-events: auto; cursor: pointer; transition: transform .18s cubic-bezier(.2,.7,.2,1), background .18s ease, border-color .18s ease; }
.knowledge-marker b { font-size: 11px; font-weight: 500; text-shadow: 0 2px 10px #000; }
.knowledge-marker small { color: #8fa7a5; font-size: 8px; }
.knowledge-marker:hover, .knowledge-marker:focus-visible, .knowledge-marker.is-selected { z-index: 22; border-color: rgba(242,190,114,.72); background: rgba(5,18,28,.96); box-shadow: 0 0 0 1px rgba(242,190,114,.18), 0 10px 28px rgba(0,0,0,.42), 0 0 26px rgba(242,190,114,.18); transform: translate(-50%,-50%) scale(2); }
.knowledge-marker.is-selected b { color: #ffe6b8; }
.has-confirmed-evidence .marker-backprop { border-color: rgba(242,190,114,.46); box-shadow: 0 0 24px rgba(242,190,114,.08); }
.marker-atom { display: none; background: radial-gradient(circle at 35% 30%, #fff, var(--marker-color, #67dff4) 48%, #071322 72%); box-shadow: 0 0 14px var(--marker-color, #67dff4); }
.marker-violet, i.marker-violet { background: radial-gradient(circle at 35% 30%, #fff, #c8aaff 16%, #643ab5 48%, #110b24 70%); box-shadow: 0 0 14px rgba(154,124,255,.8); }
.marker-blue, i.marker-blue { background: radial-gradient(circle at 35% 30%, #fff, #9fcaff 16%, #316caf 48%, #071322 70%); box-shadow: 0 0 14px rgba(93,168,255,.75); }
.marker-gold, i.marker-gold { background: radial-gradient(circle at 35% 30%, #fff, #ffe1a5 16%, #9c6427 48%, #1c1107 70%); box-shadow: 0 0 14px rgba(242,190,114,.7); }
.stage-ticker { position: absolute; z-index: 10; right: 20px; bottom: 15px; left: 20px; height: 32px; overflow: hidden; border: 1px solid rgba(123,205,218,.22); border-radius: 999px; background: linear-gradient(90deg,rgba(2,12,20,.9),rgba(7,27,38,.68),rgba(2,12,20,.9)); box-shadow: inset 0 0 18px rgba(103,228,214,.055), 0 2px 12px rgba(0,0,0,.3); color: #d2e4e1; font: 12px/30px "IBM Plex Mono",Consolas,monospace; letter-spacing: .025em; text-shadow: 0 1px 8px rgba(0,0,0,.95); white-space: nowrap; pointer-events: none; mask-image: linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent); -webkit-mask-image: linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent); }
.stage-ticker-track { display: flex; width: max-content; animation: stage-ticker-scroll 34s linear infinite; will-change: transform; }
.stage-ticker-sequence { display: flex; flex: none; }
.stage-ticker-sequence span { display: inline-flex; align-items: center; padding-right: 64px; }
.stage-ticker-sequence i { width: 8px; height: 8px; margin-right: 10px; border: 1px solid #67e4d6; border-radius: 50%; box-shadow: 0 0 8px rgba(103,228,214,.35); }
.stage-ticker-sequence b { margin: 0 15px; color: #67e4d6; font-weight: 400; }
@keyframes stage-ticker-scroll { to { transform: translate3d(-50%,0,0); } }
.growth-arrival { position: absolute; z-index: 12; top: 48%; left: 50%; display: grid; min-width: 230px; gap: 4px; padding: 15px 18px; border: 1px solid rgba(242,190,114,.5); border-radius: 13px; transform: translate(-50%,-50%); background: rgba(5,16,25,.93); box-shadow: 0 0 70px rgba(242,190,114,.2), inset 0 0 22px rgba(103,228,214,.05); animation: growth-arrival 2.6s ease both; text-align: center; pointer-events: none; }
.growth-arrival span { color: #67e4d6; font: 8px "IBM Plex Mono",Consolas,monospace; letter-spacing: .12em; }.growth-arrival b { color: #ffe5b6; font-size: 14px; font-weight: 550; }.growth-arrival small { color: #91aaa7; font-size: 9px; }
@keyframes growth-arrival { 0% { opacity: 0; transform: translate(-50%,-44%) scale(.92); } 15%,75% { opacity: 1; transform: translate(-50%,-50%) scale(1); } 100% { opacity: 0; transform: translate(-50%,-56%) scale(1.02); visibility: hidden; } }

.mission-panel { position: relative; min-width: 0; display: grid; grid-template-rows: repeat(4, minmax(0, auto)); align-content: center; gap: 9px; overflow: auto; padding: 3px 2px 3px 0; scrollbar-width: thin; scrollbar-color: rgba(103,228,214,.25) transparent; }
.mission-card { position: relative; overflow: hidden; padding: 14px 16px; border: 1px solid rgba(170,226,235,.27); border-radius: 15px; background: linear-gradient(145deg,rgba(118,205,219,.12),rgba(7,29,42,.42) 46%,rgba(3,14,24,.58)); backdrop-filter: blur(18px) saturate(1.2) brightness(1.04); -webkit-backdrop-filter: blur(18px) saturate(1.2) brightness(1.04); box-shadow: inset 1px 1px 0 rgba(241,255,255,.12), inset -1px -1px 0 rgba(103,228,214,.07), inset 0 0 26px rgba(110,209,222,.055), 0 13px 35px rgba(0,0,0,.24); }
.mission-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: linear-gradient(transparent,#67e4d6,transparent); opacity: .7; }
.mission-card::after { content: ""; position: absolute; inset: 1px; border: 1px solid rgba(226,253,255,.08); border-radius: 14px; background: linear-gradient(118deg,rgba(237,255,255,.08),transparent 25%,transparent 72%,rgba(154,124,255,.035)); pointer-events: none; }
.mission-card header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; color: #6f9aa0; font: 8px/1.4 "IBM Plex Mono", Consolas, monospace; letter-spacing: .1em; }
.mission-card header b { color: #9fb3b0; font-weight: 500; letter-spacing: 0; }
.mission-card h2 { margin: 2px 0 7px; font-size: 15px; line-height: 1.35; font-weight: 600; }
.mission-card p { margin: 0; color: #9fb3b0; font-size: 10px; line-height: 1.55; }
.mission-card button, .mission-card > a { border: 0; background: none; color: #bcd7d3; cursor: pointer; }
.route-card { border-color: rgba(242,190,114,.2); }
.route-card::before { background: linear-gradient(transparent,#f2be72,transparent); }
.route-card header span, .route-card header b { color: #d4a863; }
.route-card blockquote { margin: 0 0 7px; padding: 0 0 0 11px; border-left: 1px solid rgba(242,190,114,.45); color: #f1e5ce; font-size: 12px; line-height: 1.55; }
.route-card button { margin-top: 8px; padding: 0; color: #f2be72; font-size: 10px; }
.node-title { display: flex; align-items: center; gap: 11px; }
.node-title i { display: block; width: 25px; height: 25px; flex: 0 0 auto; border-radius: 45% 55% 50% 48%; }
.node-title small { color: #91aaa7; font-size: 9px; }
.node-title h2 { margin: 0; }
.node-card dl { margin: 8px 0 7px; }
.node-card dl div { display: flex; justify-content: space-between; padding: 4px 0; border-top: 1px solid rgba(110,184,202,.1); font-size: 9px; }
.node-card dt { color: #75908f; }.node-card dd { margin: 0; color: #b8cdca; }
.node-card > a, .growth-card > a { display: flex; justify-content: space-between; padding-top: 6px; color: #67e4d6; font-size: 10px; }
.action-card { border-color: rgba(154,124,255,.28); }
.action-card::before { background: linear-gradient(transparent,#9a7cff,transparent); }
.action-card > small { color: #a795e4; font-size: 9px; }
.action-primary { display: flex; min-height: 34px; align-items: center; justify-content: space-between; margin-top: 9px; padding: 0 11px; border: 1px solid rgba(242,190,114,.38) !important; border-radius: 9px; background: rgba(123,78,30,.22) !important; color: #ffe9be !important; font-size: 10px; }
.action-secondary { display: flex; justify-content: flex-end; gap: 13px; margin-top: 6px; }
.action-secondary button { padding: 3px 0; color: #8fa7a5; font-size: 9px; }
.growth-zero { display: flex; align-items: baseline; gap: 9px; margin: -1px 0 4px; }
.growth-zero b { color: #f2be72; font: 28px/1 "IBM Plex Mono", Consolas, monospace; }
.growth-zero span { color: #cbd9d7; font-size: 10px; }

.cockpit-main.is-growth-history { grid-template-columns: minmax(0,1fr); }
.growth-history-view { position: relative; min-width: 0; overflow: auto; padding: clamp(22px,3vw,42px); border: 1px solid rgba(169,224,235,.3); border-radius: 26px; background: radial-gradient(circle at 82% 8%,rgba(154,124,255,.12),transparent 25%),linear-gradient(145deg,rgba(29,76,91,.4),rgba(4,17,27,.88) 48%,rgba(2,10,17,.94)); box-shadow: inset 1px 1px rgba(241,255,255,.14),inset 0 0 70px rgba(103,228,214,.045),0 20px 70px rgba(0,0,0,.26); backdrop-filter: blur(22px) saturate(1.14); }
.growth-history-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid rgba(148,207,216,.16); }
.growth-history-header > div { min-width: 0; }.growth-history-header span { color: #67e4d6; font: 10px/1.3 "IBM Plex Mono",Consolas,monospace; letter-spacing: .1em; }.growth-history-header h1 { margin: 7px 0 6px; color: #fff0c7; font-size: clamp(28px,3vw,42px); line-height: 1.15; letter-spacing: 0; }.growth-history-header p { margin: 0; color: #a9c0bc; font-size: 12px; line-height: 1.65; }
.growth-history-header > a,.growth-history-empty a,.growth-history-item footer a,.growth-history-controls > a { display: inline-flex; min-height: 40px; flex: 0 0 auto; align-items: center; justify-content: center; gap: 7px; padding: 0 14px; border: 1px solid rgba(103,228,214,.36); border-radius: 8px; background: linear-gradient(145deg,rgba(91,176,191,.16),rgba(5,23,32,.76)); color: #d9f7f1; font-size: 11px; box-shadow: inset 1px 1px rgba(240,255,255,.1); }
.growth-history-header > a:hover,.growth-history-header > a:focus-visible,.growth-history-empty a:hover,.growth-history-empty a:focus-visible,.growth-history-item footer a:hover,.growth-history-item footer a:focus-visible,.growth-history-controls > a:hover,.growth-history-controls > a:focus-visible { border-color: #67e4d6; background: rgba(27,94,97,.5); outline: 0; transform: translateY(-1px); }
.growth-history-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 22px 0 28px; padding: 0; border: 1px solid rgba(170,226,235,.18); border-radius: 12px; background: rgba(7,26,36,.5); }
.growth-history-summary div { min-width: 0; padding: 15px 18px; border-left: 1px solid rgba(148,207,216,.13); }.growth-history-summary div:first-child { border-left: 0; }.growth-history-summary dt { color: #829d99; font-size: 10px; }.growth-history-summary dd { margin: 5px 0 0; color: #ffe2a8; font: 27px/1 "IBM Plex Mono",Consolas,monospace; }
.growth-history-timeline { display: grid; gap: 12px; max-width: 1080px; margin: 0; padding: 0; list-style: none; }
.growth-history-item { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 18px; align-items: stretch; }
.growth-history-time { position: relative; display: flex; justify-content: flex-end; padding: 15px 18px 0 0; text-align: right; }.growth-history-time::after { content:""; position: absolute; top: 0; right: 1px; bottom: -13px; width: 1px; background: rgba(103,228,214,.22); }.growth-history-time time { color: #839c98; font-size: 9px; line-height: 1.45; }.growth-history-time i { position: absolute; z-index: 1; top: 19px; right: -4px; width: 10px; height: 10px; border: 2px solid #0b222c; border-radius: 50%; background: #67e4d6; box-shadow: 0 0 12px rgba(103,228,214,.6); }
.growth-history-item article { min-width: 0; padding: 15px 17px; border: 1px solid rgba(170,226,235,.2); border-radius: 12px; background: linear-gradient(145deg,rgba(73,139,151,.12),rgba(4,18,27,.68)); box-shadow: inset 1px 1px rgba(240,255,255,.08); }
.growth-history-item article > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }.growth-history-item article > header span { color: #73d8d1; font-size: 9px; }.growth-history-item h2 { margin: 4px 0 0; color: #edf7f4; font-size: 17px; line-height: 1.35; }.growth-history-item article > header b { flex: 0 0 auto; color: #f2be72; font: 11px "IBM Plex Mono",Consolas,monospace; }.growth-history-item article > p { margin: 12px 0; color: #b9cbc7; font-size: 12px; line-height: 1.65; }.growth-history-item footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.growth-history-item footer > span { color: #819a96; font-size: 9px; }.growth-history-item footer a { min-height: 34px; padding: 0 11px; }
.growth-history-empty { display: grid; min-height: 250px; place-items: center; align-content: center; gap: 9px; padding: 28px; border: 1px dashed rgba(103,228,214,.24); border-radius: 14px; text-align: center; }.growth-history-empty > span { color: #67e4d6; font-size: 28px; }.growth-history-empty h2 { margin: 0; color: #f1e5c8; font-size: 20px; }.growth-history-empty p { max-width: 38em; margin: 0 0 8px; color: #91a9a5; font-size: 11px; line-height: 1.65; }
.growth-history-controls { justify-content: space-between; }.growth-history-controls > div b { color: #f2be72; font-size: 11px; }.growth-history-controls > a { min-height: 36px; }

.mission-panel.is-domain-detail { display: block; align-content: initial; overflow: auto; }
.mission-panel.is-domain-empty { display: block; align-content: initial; overflow: auto; }
.domain-empty-state { min-height: 100%; display: grid; align-content: center; gap: 12px; padding: 32px 22px; border: 1px solid rgba(103,228,214,.28); border-radius: 16px; background: linear-gradient(145deg, rgba(91,176,191,.13), rgba(7,29,42,.6) 50%, rgba(3,14,24,.78)); box-shadow: inset 1px 1px 0 rgba(241,255,255,.12), inset 0 0 28px rgba(103,228,214,.055), 0 10px 28px rgba(0,0,0,.2); }
.domain-empty-state > span { color: #76eadc; font: 11px/1.4 "IBM Plex Mono", Consolas, monospace; letter-spacing: 0; }
.domain-empty-state h2 { margin: 0; color: #f6e5be; font-size: 22px; line-height: 1.25; font-weight: 600; }
.domain-empty-state p { max-width: 34em; margin: 0; color: #b8cbc8; font-size: 12px; line-height: 1.7; }
.domain-empty-state button { justify-self: start; min-height: 40px; padding: 0 15px; border: 1px solid rgba(103,228,214,.42); border-radius: 8px; background: rgba(6,28,37,.82); color: #d3fff8; font-size: 12px; cursor: pointer; }
.domain-empty-state button:hover, .domain-empty-state button:focus-visible { border-color: #67e4d6; background: rgba(27,113,112,.52); }
.domain-empty-state button span { margin-right: 7px; color: #f2be72; }
.domain-detail-shell { display: flex; flex-direction: column; gap: 15px; padding: 4px 4px 6px 0; }
.domain-detail-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 4px 2px 0 4px; }
.domain-detail-header > div { min-width: 0; }
.domain-detail-header span { color: #76eadc; font: 11px/1.4 "IBM Plex Mono", Consolas, monospace; letter-spacing: 0; }
.domain-detail-header h2 { margin: 6px 0 4px; color: #f6e5be; font-size: 24px; line-height: 1.2; font-weight: 600; }
.domain-detail-header p { margin: 0; color: #b8cbc8; font-size: 12px; line-height: 1.5; }
.cockpit-domain-superpower { display: grid; gap: 7px; margin: 10px 0; padding: 11px 12px; border: 1px solid rgba(255,210,125,.2); background: rgba(30,23,20,.32); }
.superpower-state header { display: flex; align-items: start; justify-content: space-between; gap: 10px; margin: 0; }
.superpower-state header div { display: grid; gap: 3px; min-width: 0; }
.superpower-state header span { color: #f2be72; font: 8px/1.35 "IBM Plex Mono", Consolas, monospace; letter-spacing: .08em; }
.superpower-state header strong { color: #ffe0a4; font-size: 14px; }
.superpower-state header > b { color: #ffe1a5; font: 20px/1 "IBM Plex Mono", Consolas, monospace; }
.superpower-state p { margin: 0; color: rgba(229,238,238,.75); font-size: 10px; line-height: 1.5; }
.superpower-progress { height: 5px; overflow: hidden; border-radius: 999px; background: rgba(127,149,158,.2); }
.superpower-progress i { display: block; width: var(--progress); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #67dff4, #9b8cff, #f2be72); box-shadow: 0 0 12px rgba(154,124,255,.35); }
.superpower-stats { display: flex; flex-wrap: wrap; gap: 5px 10px; color: #a9bfbc; font-size: 9px; line-height: 1.4; }
.superpower-stats b { flex: 1 1 100%; color: #d7e5e1; font-weight: 500; }
.superpower-state > small { color: rgba(229,238,238,.58); font-size: 9px; line-height: 1.45; }
.superpower-violet { border-color: rgba(154,124,255,.36); }.superpower-blue { border-color: rgba(106,183,255,.34); }.superpower-gold { border-color: rgba(242,190,114,.48); }.superpower-muted { border-color: rgba(127,149,158,.27); }
.talent-panel { display: grid; gap: 12px; margin-top: 18px; padding: 14px 13px 15px; border: 1px solid rgba(242,190,114,.28); border-radius: 13px; background: linear-gradient(145deg, rgba(110,78,36,.13), rgba(7,25,36,.74) 50%, rgba(3,14,24,.86)); box-shadow: inset 1px 1px 0 rgba(255,238,195,.1), inset 0 0 24px rgba(242,190,114,.035); scroll-margin-top: 16px; }
.talent-panel-header { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.talent-panel-header > div { min-width: 0; }.talent-panel-header span, .talent-columns header span, .talent-ledger header span { color: #d4a863; font: 8px/1.35 "IBM Plex Mono", Consolas, monospace; letter-spacing: .08em; }
.talent-panel-header h2 { margin: 4px 0 4px; color: #ffe5b5; font-size: 17px; }.talent-panel-header p { margin: 0; color: #a9bfbc; font-size: 10px; line-height: 1.5; }.talent-panel-header > strong { color: #ffe1a5; font: 30px/1 "IBM Plex Mono", Consolas, monospace; white-space: nowrap; }.talent-panel-header > strong em { margin-left: 2px; color: #c7a369; font-size: 10px; font-style: normal; }
.talent-metric-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 4px; }.talent-metric-grid div { display: grid; gap: 3px; min-width: 0; padding: 8px 6px; border-left: 1px solid rgba(242,190,114,.2); }.talent-metric-grid div:first-child { border-left: 0; padding-left: 0; }.talent-metric-grid b { color: #ffe1a5; font: 19px/1 "IBM Plex Mono", Consolas, monospace; }.talent-metric-grid span { color: #dbe7e3; font-size: 9px; white-space: nowrap; }.talent-metric-grid small { color: #899e9a; font-size: 8px; line-height: 1.3; }
.talent-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.talent-columns > section, .talent-ledger { min-width: 0; }.talent-columns header, .talent-ledger header { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; }.talent-columns header b, .talent-ledger header b { color: #9fb3b0; font-size: 9px; font-weight: 500; }.talent-columns ul, .talent-ledger ul { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }.talent-columns li, .talent-ledger li { display: grid; grid-template-columns: 19px minmax(0,1fr); gap: 7px; align-items: start; padding: 7px 7px; border: 1px solid rgba(126,172,173,.16); border-radius: 7px; background: rgba(4,17,26,.45); }.talent-columns li > span, .talent-ledger li > span { color: #f2be72; font-size: 13px; line-height: 1.1; text-align: center; }.talent-columns li b, .talent-ledger li b { display: block; overflow: hidden; color: #dce9e5; font-size: 10px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }.talent-columns li small, .talent-ledger li small { display: block; margin-top: 2px; color: #879e9a; font-size: 8px; line-height: 1.35; }.talent-level { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; color: #071322 !important; background: #67dff4; font: 8px "IBM Plex Mono", Consolas, monospace; }.talent-level.level-4 { background: #9b8cff; }.talent-level.level-5 { background: #f2be72; }.talent-ledger { padding-top: 2px; border-top: 1px solid rgba(242,190,114,.16); }.talent-ledger-empty { border-style: dashed !important; background: rgba(4,17,26,.28) !important; }
.domain-detail-back { flex: 0 0 auto; min-height: 38px; padding: 0 13px; border: 1px solid rgba(103,228,214,.38); border-radius: 8px; background: rgba(6,28,37,.82) !important; color: #d3fff8 !important; font-size: 11px !important; cursor: pointer; }
.domain-detail-back:hover, .domain-detail-back:focus-visible { border-color: #67e4d6; background: rgba(27,113,112,.52) !important; }
.domain-detail-header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 7px; }
.domain-detail-archive { min-height: 38px; padding: 0 11px; border: 1px solid rgba(242,190,114,.34); border-radius: 8px; background: rgba(48,32,21,.52); color: #f0d29b; font-size: 10px; cursor: pointer; }
.domain-detail-archive:hover, .domain-detail-archive:focus-visible { border-color: rgba(242,190,114,.72); background: rgba(100,61,24,.56); color: #ffe9bd; }
.domain-overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.domain-overview-card { position: relative; min-width: 0; min-height: 154px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 14px 15px 13px; border: 1px solid rgba(170,226,235,.32); border-radius: 13px; background: linear-gradient(145deg, rgba(118,205,219,.16), rgba(7,29,42,.68) 55%, rgba(3,14,24,.78)); box-shadow: inset 1px 1px 0 rgba(241,255,255,.14), inset 0 0 24px rgba(110,209,222,.07), 0 9px 24px rgba(0,0,0,.22); }
.domain-overview-card::after { content: ""; position: absolute; inset: 1px; border: 1px solid rgba(226,253,255,.08); border-radius: 12px; pointer-events: none; }
.domain-overview-card .overview-kicker { position: relative; z-index: 1; color: #8bc0c4; font: 11px/1.3 "IBM Plex Mono", Consolas, monospace; letter-spacing: 0; }
.domain-overview-card strong { position: relative; z-index: 1; display: block; margin-top: 4px; color: #ffe5b5; font: 34px/1 "IBM Plex Mono", Consolas, monospace; letter-spacing: 0; }
.domain-overview-card strong em { color: #d3e2df; font-size: 13px; font-style: normal; }
.domain-overview-card small { position: relative; z-index: 1; color: #bed0cd; font-size: 11px; line-height: 1.4; }
.domain-overview-card > b { position: relative; z-index: 1; overflow: hidden; margin-top: 5px; color: #edf7f4; font-size: 11px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.structure-card { border-color: rgba(103,228,214,.32); }
.study-card { border-color: rgba(154,124,255,.32); }
.mastery-card { border-color: rgba(242,190,114,.34); }
.next-card { border-color: rgba(119,194,211,.3); }
.branch-visual { position: relative; height: 48px; margin: 6px 1px 0; }
.branch-visual::before, .branch-visual::after { content: ""; position: absolute; background: rgba(103,228,214,.42); transform-origin: left center; }
.branch-visual::before { top: 20px; left: 18px; width: 62%; height: 1px; transform: rotate(-24deg); box-shadow: 0 12px rgba(103,228,214,.24); }
.branch-visual::after { top: 20px; left: 18px; width: 55%; height: 1px; transform: rotate(23deg); background: rgba(154,124,255,.46); }
.branch-visual i, .branch-visual b { position: absolute; z-index: 1; display: block; width: 8px; height: 8px; border: 1px solid #bdf4eb; border-radius: 50%; background: #173c46; box-shadow: 0 0 10px rgba(103,228,214,.6); }
.branch-visual b { top: 16px; left: 14px; width: 16px; height: 16px; border-color: #f2be72; background: #694b26; box-shadow: 0 0 15px rgba(242,190,114,.62); }
.branch-visual i:nth-of-type(1) { top: 1px; left: 50px; }.branch-visual i:nth-of-type(2) { top: 27px; left: 65px; }.branch-visual i:nth-of-type(3) { top: 0; right: 18px; }.branch-visual i:nth-of-type(4) { top: 31px; right: 5px; }
.bar-visual, .mastery-visual { height: 48px; display: flex; align-items: end; gap: 6px; margin: 6px 1px 0; padding: 0 2px; border-bottom: 1px solid rgba(145,207,215,.3); }
.bar-visual i, .mastery-visual i { display: block; flex: 1; min-width: 4px; height: var(--bar); border-radius: 3px 3px 0 0; background: linear-gradient(#a795e4, #5c4c9e); box-shadow: 0 0 10px rgba(154,124,255,.22); }
.mastery-visual i { background: linear-gradient(#ffe1a5, #b37530); box-shadow: 0 0 10px rgba(242,190,114,.22); }
.route-visual { position: relative; height: 48px; margin: 6px 1px 0; }
.route-visual::before { content: ""; position: absolute; top: 21px; right: 5px; left: 4px; height: 1px; background: linear-gradient(90deg, rgba(103,228,214,.24), #67e4d6, rgba(242,190,114,.64)); }
.route-visual i { position: absolute; top: 17px; display: block; width: 9px; height: 9px; border: 1px solid #aeece4; border-radius: 50%; background: #163c47; box-shadow: 0 0 10px rgba(103,228,214,.56); }
.route-visual i:nth-child(1) { left: 2px; }.route-visual i:nth-child(2) { left: 45%; }.route-visual i:nth-child(3) { right: 2px; border-color: #f2be72; background: #6c4c27; box-shadow: 0 0 13px rgba(242,190,114,.56); }
.domain-summary { position: relative; overflow: hidden; padding: 16px 17px 15px; border: 1px solid rgba(129,211,221,.34); border-radius: 13px; background: linear-gradient(145deg, rgba(91,176,191,.14), rgba(7,29,42,.72) 48%, rgba(3,14,24,.82)); box-shadow: inset 1px 1px 0 rgba(241,255,255,.13), inset 0 0 28px rgba(103,228,214,.055), 0 10px 28px rgba(0,0,0,.23); }
.domain-summary::before { content: ""; position: absolute; inset: 1px; border: 1px solid rgba(226,253,255,.08); border-radius: 12px; background: linear-gradient(118deg, rgba(237,255,255,.055), transparent 28%, transparent 75%, rgba(103,228,214,.025)); pointer-events: none; }
.domain-summary > header { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; color: #91c6ca; font: 11px/1.35 "IBM Plex Mono", Consolas, monospace; letter-spacing: 0; }
.domain-summary > header b { color: #d7e4e1; font-size: 11px; font-weight: 500; letter-spacing: 0; }
.domain-summary-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.05fr 1.35fr; gap: 0; }
.domain-summary-stat { min-width: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 4px; align-items: baseline; padding: 0 7px; border-left: 1px solid rgba(103,228,214,.2); }
.domain-summary-stat:first-child { padding-left: 0; border-left: 0; }
.domain-summary-stat strong { grid-row: span 2; color: #ffe5b5; font: 26px/1 "IBM Plex Mono", Consolas, monospace; }
.domain-summary-stat span { color: #e0ebe8; font-size: 12px; }
.domain-summary-stat small { overflow: hidden; color: #afc4c1; font-size: 11px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.domain-summary-stat:last-child { grid-template-columns: 1fr; gap: 2px; }
.domain-summary-stat:last-child strong { grid-row: auto; overflow: hidden; color: #ffe1a5; font: 16px/1.3 "Noto Sans SC", "Microsoft YaHei", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.domain-summary-note { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 9px; margin: 14px 0 0; color: #d0dfdc; font-size: 12px; line-height: 1.55; }
.domain-summary-note i { width: 7px; height: 7px; flex: 0 0 auto; margin-top: 5px; border-radius: 50%; background: #67e4d6; box-shadow: 0 0 10px rgba(103,228,214,.72); }
.domain-data-viz { position: relative; overflow: hidden; padding: 13px 14px 12px; border: 1px solid rgba(154,124,255,.28); border-radius: 13px; background: linear-gradient(145deg, rgba(75,65,132,.16), rgba(7,24,37,.78) 52%, rgba(3,14,24,.88)); box-shadow: inset 1px 1px 0 rgba(241,255,255,.1), inset 0 0 24px rgba(154,124,255,.06), 0 10px 28px rgba(0,0,0,.2); }
.domain-data-viz::before { content: ""; position: absolute; inset: 1px; border: 1px solid rgba(226,253,255,.07); border-radius: 12px; pointer-events: none; }
.domain-data-viz > header { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.domain-data-viz > header > div { display: grid; gap: 3px; }
.domain-data-viz > header span { color: #a795e4; font: 9px/1.3 "IBM Plex Mono", Consolas, monospace; letter-spacing: .08em; }
.domain-data-viz > header b { color: #d9e5e2; font-size: 11px; font-weight: 500; }
.domain-data-viz > header > strong { color: #ffe1a5; font: 15px/1 "IBM Plex Mono", Consolas, monospace; white-space: nowrap; }
.knowledge-graph-plot { position: relative; min-height: 156px; border: 1px solid rgba(146,178,220,.17); border-radius: 9px; background: radial-gradient(circle at 50% 45%, rgba(65,96,157,.18), transparent 62%), rgba(2,10,18,.58); }
.knowledge-graph-svg { display: block; width: 100%; height: 156px; overflow: visible; }
.knowledge-graph-links line { stroke: rgba(151,166,228,.48); stroke-width: 1.2; stroke-dasharray: 4 4; }
.knowledge-graph-node circle { fill: color-mix(in srgb, var(--graph-node-color), #071322 42%); stroke: color-mix(in srgb, var(--graph-node-color), #fff 58%); stroke-width: 1.3; filter: drop-shadow(0 0 5px color-mix(in srgb, var(--graph-node-color), transparent 42%)); }
.knowledge-graph-node text { fill: #d6e4e3; font: 9px "Noto Sans SC", "Microsoft YaHei", sans-serif; text-anchor: middle; paint-order: stroke; stroke: rgba(2,10,18,.9); stroke-width: 3px; stroke-linejoin: round; }
.knowledge-graph-empty { min-height: 156px; display: grid; place-content: center; justify-items: center; gap: 6px; padding: 18px; text-align: center; }
.knowledge-graph-empty i { color: #67e4d6; font: 31px/1 "IBM Plex Mono", Consolas, monospace; opacity: .75; }
.knowledge-graph-empty b { color: #dce8e5; font-size: 12px; font-weight: 500; }
.knowledge-graph-empty small { max-width: 220px; color: #879f9b; font-size: 10px; line-height: 1.45; }
.knowledge-data-metrics { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin-top: 8px; }
.knowledge-data-metrics div { display: grid; gap: 2px; min-width: 0; padding: 7px 6px; border-left: 1px solid rgba(154,124,255,.24); }
.knowledge-data-metrics div:first-child { border-left: 0; padding-left: 0; }
.knowledge-data-metrics b { color: #ffe1a5; font: 18px/1 "IBM Plex Mono", Consolas, monospace; }
.knowledge-data-metrics span { color: #9fb3b0; font-size: 9px; white-space: nowrap; }
.knowledge-level-distribution { position: relative; z-index: 1; display: flex; align-items: end; gap: 5px; height: 42px; margin-top: 7px; padding-top: 13px; border-top: 1px solid rgba(154,124,255,.16); }
.knowledge-level-distribution > span { align-self: start; margin-right: 4px; color: #8fa7a5; font-size: 9px; white-space: nowrap; }
.knowledge-level-distribution i { position: relative; display: flex; flex: 1; min-width: 12px; height: max(3px, var(--level)); align-items: end; justify-content: center; border-radius: 3px 3px 0 0; background: linear-gradient(#a795e4, #5c4c9e); font-style: normal; box-shadow: 0 0 8px rgba(154,124,255,.18); }
.knowledge-level-distribution i b { position: absolute; bottom: -14px; color: #7f9794; font: 8px "IBM Plex Mono", Consolas, monospace; font-weight: 400; }
.domain-start-action { position: relative; width: 100%; min-height: 76px; display: grid; grid-template-columns: 38px minmax(0,1fr) 22px; align-items: center; gap: 9px; overflow: hidden; padding: 0 14px; border: 1px solid rgba(242,190,114,.62); border-radius: 14px; background: linear-gradient(100deg, rgba(110,66,26,.78), rgba(63,38,24,.78) 52%, rgba(29,24,21,.88)) !important; color: #ffedc6 !important; text-align: left; cursor: pointer; box-shadow: 0 0 0 1px rgba(242,190,114,.1), inset 0 1px rgba(255,238,195,.22), 0 12px 26px rgba(0,0,0,.25), 0 0 26px rgba(242,190,114,.12); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.domain-start-action::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 18%, rgba(255,242,204,.23) 48%, transparent 76%); transform: translateX(-110%); transition: transform .55s ease; }
.domain-start-action:hover, .domain-start-action:focus-visible { border-color: #ffe1a5; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(242,190,114,.2), inset 0 1px rgba(255,238,195,.26), 0 15px 30px rgba(0,0,0,.3), 0 0 34px rgba(242,190,114,.2); }
.domain-start-action:hover::before, .domain-start-action:focus-visible::before { transform: translateX(110%); }
.domain-start-action.is-today-action-focus { animation: today-action-focus 1.4s ease both; }
.domain-start-action:disabled { cursor: wait; }
.domain-start-action > span { position: relative; z-index: 1; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255,224,165,.5); border-radius: 50%; color: #ffe1a5; font-size: 20px; }
.domain-start-action > div, .domain-start-action > i { position: relative; z-index: 1; }
.domain-start-action > div { display: grid; gap: 2px; min-width: 0; }
.domain-start-action b { color: #ffedc6; font-size: 16px; font-weight: 600; white-space: nowrap; }
.domain-start-action small { color: #dec9a0; font-size: 10px; line-height: 1.35; }
.domain-start-action > i { color: #ffe1a5; font-size: 18px; font-style: normal; text-align: right; }
.domain-assistant-action { position: relative; width: 100%; min-height: 76px; display: grid; grid-template-columns: 38px minmax(0,1fr) 22px; align-items: center; gap: 9px; overflow: hidden; padding: 0 14px; border: 1px solid rgba(103,228,214,.48); border-radius: 14px; background: linear-gradient(100deg, rgba(17,75,82,.78), rgba(17,42,55,.82) 52%, rgba(8,24,35,.9)) !important; color: #d7fff8 !important; text-align: left; cursor: pointer; box-shadow: 0 0 0 1px rgba(103,228,214,.08), inset 0 1px rgba(235,255,255,.16), 0 12px 26px rgba(0,0,0,.24), 0 0 24px rgba(103,228,214,.1); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.domain-assistant-action:hover, .domain-assistant-action:focus-visible { border-color: #67e4d6; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(103,228,214,.18), inset 0 1px rgba(235,255,255,.24), 0 15px 30px rgba(0,0,0,.3), 0 0 30px rgba(103,228,214,.2); }
.domain-assistant-action > span { position: relative; z-index: 1; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(103,228,214,.5); border-radius: 50%; color: #9ff3e8; font-size: 19px; }
.domain-assistant-action > div, .domain-assistant-action > i { position: relative; z-index: 1; }
.domain-assistant-action > div { display: grid; gap: 2px; min-width: 0; }
.domain-assistant-action b { color: #d7fff8; font-size: 16px; font-weight: 600; white-space: nowrap; }
.domain-assistant-action small { color: #b5d8d4; font-size: 10px; line-height: 1.35; }
.domain-assistant-action > i { color: #9ff3e8; font-size: 18px; font-style: normal; text-align: right; }
.ai-assistant-dialog { position: fixed; z-index: 40; inset: auto; width: auto; max-width: none; max-height: none; margin: 0; padding: 0; border: 1px solid rgba(103,228,214,.48); border-radius: 16px; background: #061722 !important; opacity: 1; color: #eef7f4; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: 0 20px 55px rgba(0,0,0,.58), inset 0 1px rgba(235,255,255,.12); overflow: hidden; }
.ai-assistant-dialog[hidden] { display: none; }
.ai-assistant-dialog::backdrop { background: transparent; }
.ai-assistant-shell { display: grid; grid-template-rows: auto auto minmax(190px, 1fr) auto auto auto; height: 100%; max-height: none; overflow: hidden; }
.ai-assistant-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 24px 16px; border-bottom: 1px solid rgba(111,178,196,.14); background: #0d3440; }
.ai-assistant-header > div { min-width: 0; }
.ai-assistant-header span { color: #67e4d6; font: 9px "IBM Plex Mono", Consolas, monospace; letter-spacing: .12em; }
.ai-assistant-header h2 { margin: 5px 0 3px; color: #f3fbf8; font-size: 24px; line-height: 1.1; }
.ai-assistant-header p { margin: 0; color: #9fbcb8; font-size: 11px; }
.ai-assistant-header p b { color: #d5f9f0; font-weight: 600; }
.ai-assistant-close { flex: 0 0 auto; width: 34px; height: 34px; padding: 0; border: 1px solid rgba(121,178,185,.3); border-radius: 50%; background: #09222d; color: #b7cbc8; font-size: 19px; line-height: 1; cursor: pointer; }
.ai-assistant-close:hover, .ai-assistant-close:focus-visible { border-color: #67e4d6; color: #fff; }
.ai-assistant-status { display: flex; align-items: center; gap: 9px; padding: 10px 24px; border-bottom: 1px solid rgba(111,178,196,.1); background: #0a2733; color: #a9c2be; font-size: 10px; }
.ai-assistant-status span { padding: 4px 7px; border: 1px solid rgba(103,228,214,.3); border-radius: 5px; background: #15545a; color: #9ff3e8; font-size: 9px; font-weight: 600; }
.ai-assistant-status small { color: #78918e; font-size: 9px; }
.ai-assistant-messages { display: grid; align-content: start; gap: 11px; min-height: 190px; max-height: 360px; overflow-y: auto; padding: 18px 24px; background: #061722; scrollbar-color: rgba(103,228,214,.3) #061722; scrollbar-width: thin; }
.assistant-message { display: grid; grid-template-columns: 23px minmax(0, 1fr); gap: 8px; max-width: 88%; align-items: start; }
.assistant-message > span { display: grid; width: 23px; height: 23px; place-items: center; border: 1px solid rgba(103,228,214,.3); border-radius: 50%; color: #9ff3e8; font: 8px "IBM Plex Mono", Consolas, monospace; }
.assistant-message p { margin: 0; padding: 9px 11px; border: 1px solid rgba(111,178,196,.16); border-radius: 4px 12px 12px 12px; background: #0c2b39; color: #c6d9d6; font-size: 11px; line-height: 1.65; overflow-wrap: anywhere; }
.assistant-message.is-user { margin-left: auto; grid-template-columns: minmax(0, 1fr) 23px; }
.assistant-message.is-user > span { grid-column: 2; border-color: rgba(242,190,114,.38); color: #ffdfaa; }
.assistant-message.is-user p { grid-column: 1; grid-row: 1; border-color: rgba(242,190,114,.24); border-radius: 12px 4px 12px 12px; background: #4b321c; color: #f6e5c7; }
.ai-assistant-prompts { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding: 0 24px 13px; background: #061722; }
.ai-assistant-prompts > span { flex: 0 0 100%; color: #728b89; font-size: 9px; }
.ai-assistant-prompts button { min-height: 29px; padding: 0 9px; border: 1px solid rgba(103,228,214,.25); border-radius: 7px; background: #15545a; color: #bdf4eb; font-size: 9px; cursor: pointer; }
.ai-assistant-prompts button:hover, .ai-assistant-prompts button:focus-visible { border-color: #67e4d6; background: rgba(27,113,112,.56); color: #fff; }
.ai-assistant-composer { display: grid; gap: 8px; padding: 13px 24px 12px; border-top: 1px solid rgba(111,178,196,.12); background: #04111b; }
.ai-assistant-composer textarea { width: 100%; min-height: 54px; max-height: 130px; resize: vertical; padding: 10px 11px; border: 1px solid rgba(103,228,214,.24); border-radius: 9px; outline: 0; background: #020d15; color: #eef7f4; font: inherit; font-size: 11px; line-height: 1.55; }
.ai-assistant-composer textarea::placeholder { color: #6f8986; }
.ai-assistant-composer textarea:focus { border-color: rgba(103,228,214,.72); box-shadow: 0 0 0 3px rgba(84,209,202,.1); }
.ai-assistant-composer > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ai-assistant-composer small { color: #6f8986; font-size: 9px; }
.ai-assistant-composer button { min-height: 34px; padding: 0 14px; border: 1px solid rgba(103,228,214,.48); border-radius: 8px; background: #1b7170; color: #e5fffa; font-size: 10px; font-weight: 600; cursor: pointer; }
.ai-assistant-composer button:hover, .ai-assistant-composer button:focus-visible { border-color: #8af4e7; background: rgba(40,142,137,.7); color: #fff; }
.ai-assistant-composer button span { margin-left: 3px; font-size: 13px; }
.ai-assistant-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 24px 13px; background: #061722; color: #647e7b; font-size: 9px; }
.ai-assistant-footer button { padding: 2px 0; border: 0; background: transparent; color: #89aaa5; font-size: 9px; cursor: pointer; }
.ai-assistant-footer button:hover, .ai-assistant-footer button:focus-visible { color: #c9eee7; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.usable-cockpit.is-action-ritual .domain-start-action { animation: action-ritual-button .72s ease both; }
.usable-cockpit.is-action-ritual .domain-start-action::before { transform: translateX(110%); }
.usable-cockpit.is-action-ritual .viewport-shell { animation: action-ritual-viewport .72s ease both; }
@keyframes action-ritual-button { 0% { transform: scale(1); box-shadow: 0 0 0 1px rgba(242,190,114,.2), 0 0 24px rgba(242,190,114,.12); } 42% { transform: scale(1.025); box-shadow: 0 0 0 5px rgba(242,190,114,.12), 0 0 44px rgba(242,190,114,.38); } 100% { transform: scale(1); box-shadow: 0 0 0 1px rgba(242,190,114,.16), 0 0 28px rgba(242,190,114,.22); } }
@keyframes action-ritual-viewport { 0%, 100% { filter: brightness(1); } 42% { filter: brightness(1.12) saturate(1.08); } }
@keyframes today-action-focus { 0%, 100% { transform: translateY(0); box-shadow: 0 0 0 1px rgba(242,190,114,.12), 0 12px 26px rgba(0,0,0,.25), 0 0 26px rgba(242,190,114,.12); } 38%, 68% { transform: translateY(-2px); box-shadow: 0 0 0 5px rgba(242,190,114,.16), 0 16px 34px rgba(0,0,0,.3), 0 0 42px rgba(242,190,114,.36); } }

.cockpit-controls { position: relative; z-index: 20; height: 88px; display: flex; align-items: center; gap: 8px; padding: 0 28px 0 var(--cockpit-safe-left); border-top: 1px solid rgba(100,181,202,.14); background: linear-gradient(0deg, rgba(2,9,15,.96), rgba(3,12,19,.64)); }
.cockpit-controls > div { display: flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 11px; border-right: 1px solid rgba(111,178,196,.12); }
.cockpit-controls span { color: #718887; font-size: 9px; }
.cockpit-controls button { padding: 0; border: 0; background: none; color: #c2d4d1; font-size: 10px; cursor: pointer; }
.cockpit-controls .lens-control { border: 1px solid rgba(103,228,214,.28); border-radius: 9px; background: rgba(6,28,37,.58); box-shadow: inset 0 1px rgba(235,255,255,.08), 0 0 16px rgba(41,157,157,.06); }
.cockpit-controls .lens-control > span { color: #67e4d6; }
.cockpit-controls .lens-control > button { min-width: 42px; min-height: 28px; padding: 0 8px; border: 1px solid rgba(103,228,214,.38); border-radius: 7px; background: rgba(18,78,82,.4); color: #bdf4eb; font-size: 11px; font-weight: 600; }
.cockpit-controls .lens-control > button:hover, .cockpit-controls .lens-control > button:focus-visible { border-color: #67e4d6; background: rgba(27,113,112,.62); color: #fff; }
.persistent-action-zone { position: absolute; top: 50%; right: 24px; display: grid; width: clamp(380px, 26vw, 430px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; transform: translateY(-50%); }
.cockpit-controls > .persistent-action-zone { display: grid; align-items: stretch; min-height: 0; padding: 0; border: 0; }
.persistent-action-zone .persistent-action { width: 100%; height: calc(100% - 12px); min-height: 64px; }
.cockpit-controls > .persistent-action-zone .persistent-action { padding: 0 12px; border-radius: 14px; }
.cockpit-controls > .persistent-action-zone .domain-start-action { border: 1px solid rgba(242,190,114,.62); background: linear-gradient(100deg, rgba(110,66,26,.78), rgba(63,38,24,.78) 52%, rgba(29,24,21,.88)) !important; color: #ffedc6 !important; }
.cockpit-controls > .persistent-action-zone .domain-assistant-action { border: 1px solid rgba(103,228,214,.48); background: linear-gradient(100deg, rgba(17,75,82,.78), rgba(17,42,55,.82) 52%, rgba(8,24,35,.9)) !important; color: #d7fff8 !important; }
.persistent-action-zone .persistent-action b { font-size: 15px; }
.persistent-action-zone .persistent-action small { font-size: 9px; }

.route-dialog { width: min(560px, calc(100vw - 32px)); padding: 0; border: 1px solid rgba(116,194,211,.28); border-radius: 22px; background: rgba(5,16,25,.97); color: #eef7f4; box-shadow: 0 38px 120px rgba(0,0,0,.75); }
.route-dialog::backdrop { background: rgba(0,5,9,.78); backdrop-filter: blur(7px); }
.route-dialog form { padding: 24px; }
.route-dialog header { display: flex; justify-content: space-between; align-items: start; }
.route-dialog header span { color: #f2be72; font: 9px "IBM Plex Mono", Consolas, monospace; letter-spacing: .12em; }
.route-dialog h2 { margin: 6px 0 0; font-size: 22px; }
.route-dialog header button { width: 36px; height: 36px; border: 1px solid rgba(121,178,185,.2); border-radius: 50%; background: transparent; color: #b7cbc8; }
.route-dialog > form > p { color: #9fb3b0; font-size: 12px; line-height: 1.7; }
.route-dialog label { display: grid; gap: 8px; margin: 18px 0; color: #cfddda; font-size: 12px; }
.route-dialog textarea { min-height: 135px; resize: vertical; padding: 14px; border: 1px solid rgba(103,228,214,.2); border-radius: 12px; background: rgba(1,8,13,.72); color: #eef7f4; line-height: 1.7; }
.route-dialog label small { color: #728b89; font-size: 9px; }
.route-dialog form > div:last-child { display: flex; justify-content: flex-end; gap: 10px; }
.route-dialog form > div:last-child button { min-height: 42px; padding: 0 18px; border: 1px solid rgba(121,178,185,.22); border-radius: 10px; background: rgba(7,25,35,.8); color: #c7d8d5; }
.route-dialog form > div:last-child .save-route { border-color: rgba(242,190,114,.46); background: rgba(124,78,31,.42); color: #ffebc6; }
.domain-archive-dialog { width: min(520px, calc(100vw - 32px)); padding: 0; border: 1px solid rgba(103,228,214,.32); border-radius: 16px; background: rgba(5,16,25,.98); color: #eef7f4; box-shadow: 0 32px 110px rgba(0,0,0,.72), inset 0 1px rgba(235,255,255,.1); }
.domain-archive-dialog::backdrop { background: rgba(0,5,9,.78); backdrop-filter: blur(7px); }
.domain-archive-dialog > section { padding: 22px; }
.domain-archive-dialog header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.domain-archive-dialog header > div { display: grid; gap: 5px; }
.domain-archive-dialog header span { color: #f2be72; font: 9px "IBM Plex Mono", Consolas, monospace; letter-spacing: .12em; }
.domain-archive-dialog h2 { margin: 0; color: #f4f8f6; font-size: 21px; }
.domain-archive-dialog header button { width: 32px; height: 32px; border: 1px solid rgba(121,178,185,.24); border-radius: 50%; background: transparent; color: #b7cbc8; font-size: 18px; cursor: pointer; }
.dialog-copy { margin: 16px 0; color: #a9bdb9; font-size: 12px; line-height: 1.7; }
.domain-dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 19px; }
.domain-dialog-actions button, .recycle-item button { min-height: 38px; padding: 0 13px; border: 1px solid rgba(121,178,185,.24); border-radius: 8px; background: rgba(7,25,35,.8); color: #c7d8d5; font-size: 11px; cursor: pointer; }
.domain-dialog-actions button.is-danger { border-color: rgba(242,145,120,.52); background: rgba(100,45,30,.42); color: #ffd0bb; }
.domain-dialog-actions button.is-danger:hover, .domain-dialog-actions button.is-danger:focus-visible { border-color: rgba(255,157,124,.86); background: rgba(126,54,35,.58); }
.archive-confirm-field { display: grid; gap: 7px; color: #cbdad7; font-size: 11px; }
.archive-confirm-field input { min-height: 42px; padding: 0 12px; border: 1px solid rgba(110,201,210,.26); border-radius: 8px; outline: 0; background: rgba(1,10,16,.78); color: #eff8f6; font: inherit; }
.archive-confirm-field input:focus { border-color: rgba(112,230,223,.68); box-shadow: 0 0 0 3px rgba(84,209,202,.09); }
.archive-confirm-error { display: block; margin-top: 7px; color: #ffad92; font-size: 10px; }
.recycle-list { display: grid; gap: 8px; margin-top: 16px; }
.recycle-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border: 1px solid rgba(103,228,214,.18); border-radius: 9px; background: rgba(8,31,42,.62); }
.recycle-item > div { display: grid; gap: 4px; min-width: 0; }
.recycle-item b { overflow: hidden; color: #e4f0ed; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.recycle-item small { color: #8fa7a5; font-size: 10px; }
.recycle-item button { flex: 0 0 auto; border-color: rgba(103,228,214,.34); background: rgba(17,75,82,.38); color: #c9f3ec; }
.recycle-item button:hover, .recycle-item button:focus-visible { border-color: #67e4d6; background: rgba(27,113,112,.56); }
.recycle-empty { margin: 18px 0 5px; color: #8fa7a5; font-size: 12px; }
.cockpit-workspace-dialog { width: min(1040px, calc(100vw - 32px)); height: min(740px, calc(100vh - 32px)); max-width: none; max-height: none; padding: 0; overflow: hidden; border: 1px solid rgba(110,210,218,.36); border-radius: 18px; background: #07131c; color: #eef8f6; box-shadow: 0 42px 140px rgba(0,0,0,.78), inset 0 0 0 1px rgba(255,255,255,.025); }
.cockpit-workspace-dialog::backdrop { background: rgba(0,5,9,.83); backdrop-filter: blur(9px) saturate(.78); }
.cockpit-workspace-shell { display: grid; grid-template-rows: 74px minmax(0,1fr); height: 100%; background: radial-gradient(circle at 78% 10%, rgba(91,142,184,.16), transparent 38%), linear-gradient(145deg, rgba(7,26,38,.98), rgba(3,11,18,.99)); }
.cockpit-workspace-topbar { display: flex; align-items: center; justify-content: space-between; padding: 0 25px; border-bottom: 1px solid rgba(115,205,214,.16); background: rgba(3,13,21,.7); }
.cockpit-workspace-topbar > div { display: grid; gap: 3px; }
.cockpit-workspace-topbar span { color: #6fe0dc; font: 9px "IBM Plex Mono", Consolas, monospace; }
.cockpit-workspace-topbar h2 { margin: 0; color: #f2f8f6; font-size: 19px; font-weight: 620; }
.cockpit-workspace-topbar > button { width: 38px; height: 38px; border: 1px solid rgba(119,200,207,.24); border-radius: 50%; background: rgba(8,27,38,.72); color: #c8dcda; font-size: 21px; cursor: pointer; }
.cockpit-workspace-topbar > button:hover, .cockpit-workspace-topbar > button:focus-visible { border-color: rgba(115,230,224,.64); color: #fff; }
.cockpit-workspace-content { min-height: 0; overflow: auto; padding: 24px 26px 28px; scrollbar-width: thin; scrollbar-color: rgba(103,228,214,.3) transparent; }
.workspace-intro { display: grid; max-width: 760px; gap: 6px; margin-bottom: 17px; }
.workspace-intro > span { color: #70dfdc; font: 9px "IBM Plex Mono", Consolas, monospace; }
.workspace-intro h2 { margin: 0; color: #f3f8f6; font-size: 25px; font-weight: 600; }
.workspace-intro p { margin: 1px 0 0; color: #a9bdb9; font-size: 13px; line-height: 1.65; }
.discovery-switcher { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin-bottom: 19px; padding: 5px; border: 1px solid rgba(105,194,204,.16); border-radius: 8px; background: rgba(1,9,15,.58); }
.discovery-switcher button { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; min-height: 54px; align-items: center; padding: 7px 12px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #b9cbc8; text-align: left; cursor: pointer; }
.discovery-switcher button > span { grid-row: 1 / -1; color: #73dfdc; font-size: 19px; }
.discovery-switcher button b { font-size: 13px; }
.discovery-switcher button small { color: #718b88; font-size: 10px; }
.discovery-switcher button:hover, .discovery-switcher button:focus-visible, .discovery-switcher button.is-active { border-color: rgba(110,224,219,.3); background: linear-gradient(135deg, rgba(19,62,69,.74), rgba(8,29,41,.7)); color: #f4fbf9; }
.workspace-section-heading { display: flex; align-items: end; justify-content: space-between; margin: 0 1px 11px; }
.workspace-section-heading > div { display: flex; align-items: baseline; gap: 10px; }
.workspace-section-heading span { color: #dce8e5; font-size: 14px; font-weight: 600; }
.workspace-section-heading small { color: #758f8c; font-size: 10px; }
.workspace-section-heading button { min-height: 36px; padding: 0 13px; border: 1px solid rgba(108,211,211,.26); border-radius: 7px; background: rgba(8,31,42,.68); color: #bfe1dd; font-size: 12px; cursor: pointer; }
.workspace-section-heading button span { margin-right: 5px; color: #73dfdc; font-size: 16px; }
.cockpit-direction-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
/* Stable civilization classification view; compact enough to scan as a whole. */
.v2-home dialog.cockpit-workspace-dialog[data-workspace-mode="discovery"][open] { top: 80px; max-height: calc(100dvh - 156px); }
.cockpit-workspace-dialog[data-workspace-mode="discovery"] .cockpit-workspace-shell { grid-template-rows: 60px minmax(0,1fr); }
.cockpit-workspace-dialog[data-workspace-mode="discovery"] .workspace-intro > span { display: none; }
.cockpit-workspace-dialog[data-workspace-mode="discovery"] .workspace-intro h2 { font-size: 22px; }
.cockpit-workspace-dialog[data-workspace-mode="discovery"] .discovery-switcher { margin-bottom: 16px; }
.cockpit-workspace-dialog[data-workspace-mode="discovery"] .discovery-switcher button { display: flex; gap: 10px; min-height: 42px; }
.cockpit-workspace-dialog[data-workspace-mode="discovery"] .discovery-switcher small { display: none; }
.custom-direction-form select { width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid rgba(122,196,205,.25); border-radius: 8px; background: #0a202d; color: #dce9ea; font: inherit; }
.creation-search { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 22px; }
.creation-search > label { color: #a9bdb9; font-size: 12px; }
.creation-search > div { display: flex; align-items: center; gap: 6px; }
.creation-search input { width: 250px; min-width: 0; min-height: 38px; padding: 8px 12px; border: 1px solid rgba(155,197,205,.22); border-radius: 9px; background: rgba(3,15,25,.48); color: #eef8f6; font: inherit; font-size: 12px; }
.creation-search input::placeholder { color: #91a6ae; }
.creation-search button, .creation-breadcrumb button { min-height: 38px; padding: 7px 12px; border: 0; border-radius: 8px; background: rgba(123,186,195,.1); color: #c4dedf; cursor: pointer; }
.civilization-classification-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.cockpit-workspace-dialog .civilization-classification { display: grid; align-content: center; gap: 9px; min-width: 0; min-height: 83px; padding: 15px; border: 1px solid rgba(150,186,200,.16); border-radius: 11px; background: rgba(25,45,61,.38); color: #edf3f4; text-align: left; cursor: pointer; box-shadow: none; }
.civilization-classification .classification-name { display: flex; align-items: center; gap: 8px; }
.classification-name i { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--direction-color); }
.classification-name b { font-size: 15px; font-weight: 560; }
.classification-name > small { font-size: 9px; color: #a9c8bf; }
.classification-name > span { margin-left: auto; color: #819eae; font-size: 13px; }
.classification-note { padding-left: 14px; color: #a0b3c0; font-size: 11px; line-height: 1.5; }
.cockpit-workspace-dialog .civilization-classification:hover { border-color: var(--direction-color); background: rgba(46,72,89,.48); }
.cockpit-workspace-dialog :is(.civilization-classification,.creation-search input,.creation-search button,.creation-breadcrumb button,.creation-root-detail button,.creation-topic button):focus-visible { outline: 2px solid #a6ddd9; outline-offset: 3px; }
.creation-breadcrumb { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; color: #acbdc9; font-size: 12px; }
.usable-cockpit .creation-breadcrumb button { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; box-sizing:border-box; min-width:92px; min-height:44px; height:auto; padding:10px 16px; font-family:inherit; font-size:13px; line-height:20px; letter-spacing:0; white-space:nowrap; border-radius:9px; background:transparent; }
.creation-root-detail { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 26px; padding: 22px; border-radius: 13px; border: 1px solid rgba(155,188,205,.2); background: linear-gradient(115deg,rgba(40,65,83,.55),rgba(16,32,45,.22)); }
.creation-root-detail small, .creation-topic small { color: #93adbe; font-size: 11px; line-height: 1.6; }
.creation-root-detail h3 { margin: 7px 0; color: #eef5f6; font-size: 27px; font-weight: 550; }
.creation-root-detail p, .creation-topic p { margin: 0; color: #afbecb; font-size: 12px; line-height: 1.6; }
.creation-root-detail button, .creation-topic button { flex-shrink: 0; min-height: 40px; padding: 9px 16px; border: 1px solid rgba(148,195,206,.3); border-radius: 9px; background: rgba(126,174,189,.12); color: #dbeaec; cursor: pointer; font-size: 12px; }
.creation-root-detail button:disabled { opacity: .5; cursor: default; }
.creation-topic-list { display: grid; gap: 0; }
.creation-topic { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 5px; border-bottom: 1px solid rgba(151,184,201,.14); }
.creation-topic > div { min-width: 0; }
.creation-topic h3 { margin: 4px 0; color: #e2ecf0; font-size: 17px; font-weight: 550; }
.creation-topic button { border-color: transparent; background: transparent; }
.creation-topic button:hover { background: rgba(126,174,189,.12); }
.creation-search-heading { margin-top: 24px; }
.creation-empty { padding: 20px 0; color: #a9bbc8; font-size: 13px; line-height: 1.8; }
.usable-cockpit.daylight-mode .civilization-classification, .usable-cockpit.daylight-mode .creation-root-detail { background: rgba(227,243,247,.75); border-color: rgba(65,120,145,.22); color: #284457; }
.usable-cockpit.daylight-mode :is(.classification-note,.creation-search label,.creation-topic small,.creation-topic p,.creation-root-detail p,.creation-root-detail small,.creation-empty,.creation-breadcrumb) { color: #587583; }
.usable-cockpit.daylight-mode :is(.creation-topic h3,.creation-root-detail h3) { color: #284457; }
.usable-cockpit.daylight-mode :is(.creation-search input,.creation-search button,.creation-breadcrumb button,.creation-root-detail button,.creation-topic button) { color: #315d6d; background: rgba(235,249,252,.8); }
@media (max-width: 860px) {
  .civilization-classification-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .v2-home dialog.cockpit-workspace-dialog[data-workspace-mode="discovery"][open] { top: 126px; max-height: calc(100dvh - 210px); }
  .cockpit-workspace-dialog[data-workspace-mode="discovery"] .discovery-switcher button { justify-content: center; }
  .cockpit-workspace-dialog[data-workspace-mode="discovery"] .workspace-intro h2 { font-size: 19px; }
  .civilization-classification-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .cockpit-workspace-dialog .civilization-classification { padding: 12px 10px; min-height: 82px; }
  .classification-name { flex-wrap: wrap; }
  .classification-name b { font-size: 14px; }
  .classification-note { padding-left: 0; font-size: 10px; }
  .creation-search { display: grid; grid-template-columns: minmax(0,1fr); justify-content: stretch; gap: 8px; }
  .creation-search > div { width: 100%; }
  .creation-search input { width: 0; flex: 1; }
  .creation-search button { flex-shrink: 0; }
  .creation-root-detail { align-items: stretch; flex-direction: column; gap: 16px; padding: 18px; }
  .creation-topic { gap: 8px; }
  .creation-topic button { padding: 8px; font-size: 11px; }
}
.cockpit-direction-card { position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; min-height: 174px; padding: 14px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--direction-color), transparent 68%); border-radius: 8px; background: linear-gradient(145deg, rgba(12,37,49,.93), rgba(4,14,22,.92)); box-shadow: inset 0 1px rgba(255,255,255,.035); }
.cockpit-direction-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--direction-color); opacity: .72; }
.cockpit-direction-card.is-active { border-color: color-mix(in srgb, var(--direction-color), transparent 34%); }
.cockpit-direction-card header { display: flex; align-items: center; justify-content: space-between; color: #829a97; font-size: 10px; }
.cockpit-direction-card header i { width: 8px; height: 8px; border-radius: 50%; background: var(--direction-color); box-shadow: 0 0 12px var(--direction-color); }
.cockpit-direction-card h3 { margin: 10px 0 2px; color: #f0f7f5; font-size: 18px; font-weight: 610; }
.cockpit-direction-card p { margin: 0; color: color-mix(in srgb, var(--direction-color), #dce8e5 62%); font-size: 12px; }
.cockpit-direction-card > small { align-self: start; margin-top: 7px; color: #94a9a6; font-size: 11px; line-height: 1.5; }
.cockpit-direction-card > button { align-self: end; justify-self: stretch; min-height: 36px; margin-top: 10px; border: 1px solid color-mix(in srgb, var(--direction-color), transparent 56%); border-radius: 6px; background: color-mix(in srgb, var(--direction-color), transparent 91%); color: #dcecea; font-size: 12px; cursor: pointer; }
.cockpit-direction-card > button span { float: right; margin-right: 9px; color: var(--direction-color); }
.academic-track-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; max-width: 850px; margin: 24px auto 0; }
.academic-track-form label { display: grid; align-content: start; gap: 8px; color: #ccdcd9; font-size: 12px; }
.academic-track-form label.is-wide { grid-column: 1 / -1; }
.academic-track-form select { min-width: 0; min-height: 46px; padding: 0 13px; border: 1px solid rgba(110,201,210,.23); border-radius: 7px; outline: 0; background: rgba(1,10,16,.72); color: #eff8f6; font: inherit; font-size: 14px; }
.academic-track-form select:focus { border-color: rgba(112,230,223,.68); box-shadow: 0 0 0 3px rgba(84,209,202,.09); }
.academic-track-form .knowledge-form-footer { grid-column: 1 / -1; }
.academic-track-privacy { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 9px; padding: 12px 14px; border: 1px solid rgba(103,228,214,.17); border-radius: 8px; background: rgba(8,35,43,.44); color: #a8c4c0; font-size: 11px; line-height: 1.55; }
.academic-track-privacy i { flex: 0 0 auto; color: #73dfdc; font-style: normal; }
.academic-track-context { display: grid; gap: 3px; padding: 10px 12px; border: 1px solid rgba(255,210,125,.24); background: rgba(56,38,20,.22); }
.academic-track-context span { color: #f2be72; font: 9px "IBM Plex Mono", Consolas, monospace; letter-spacing: .1em; }
.academic-track-context b { color: #ffe2aa; font-size: 13px; }
.academic-track-context small { color: #c7d7d2; font-size: 10px; line-height: 1.45; }
.guided-question { max-width: 760px; margin: 25px auto 0; padding: 24px; border: 1px solid rgba(111,216,215,.25); border-radius: 8px; background: linear-gradient(145deg, rgba(12,39,51,.88), rgba(5,18,28,.9)); }
.guided-question > header { display: flex; justify-content: space-between; color: #73dfdc; font: 10px "IBM Plex Mono", Consolas, monospace; }
.guided-question > header small { color: #7f9693; }
.guided-question h3 { margin: 14px 0 19px; color: #f2f8f6; font-size: 21px; font-weight: 560; }
.guided-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.guided-options button { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 14px; border: 1px solid rgba(115,205,214,.2); border-radius: 7px; background: rgba(5,23,34,.72); color: #cbdcda; font-size: 13px; cursor: pointer; }
.guided-options button:hover, .guided-options button:focus-visible { border-color: rgba(112,225,220,.55); background: rgba(15,55,63,.78); color: #fff; }
.guided-options button span { color: #73dfdc; }
.guided-free { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 12px; }
.guided-free input, .custom-direction-form input, .custom-direction-form textarea, .cockpit-knowledge-form input, .cockpit-knowledge-form textarea, .cockpit-knowledge-form select { min-width: 0; border: 1px solid rgba(110,201,210,.23); border-radius: 7px; outline: 0; background: rgba(1,10,16,.72); color: #eff8f6; font: inherit; font-size: 14px; }
.guided-free input { min-height: 44px; padding: 0 13px; }
.guided-free button { min-width: 76px; border: 1px solid rgba(104,225,218,.38); border-radius: 7px; background: rgba(20,77,78,.52); color: #dcf4ef; cursor: pointer; }
.guided-free input:focus, .custom-direction-form input:focus, .custom-direction-form textarea:focus, .cockpit-knowledge-form input:focus, .cockpit-knowledge-form textarea:focus, .cockpit-knowledge-form select:focus { border-color: rgba(112,230,223,.68); box-shadow: 0 0 0 3px rgba(84,209,202,.09); }
.guided-secondary, .guided-footer { display: flex; gap: 9px; margin-top: 13px; }
.guided-secondary button, .guided-footer button { min-height: 34px; padding: 0 11px; border: 0; background: transparent; color: #8fa6a2; font-size: 11px; cursor: pointer; }
.guided-secondary button:hover, .guided-footer button:hover { color: #e8f4f1; }
.guided-footer { justify-content: space-between; max-width: 760px; margin-right: auto; margin-left: auto; }
.guided-results { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.guided-results article { display: grid; min-height: 236px; padding: 16px; border: 1px solid color-mix(in srgb, var(--direction-color), transparent 62%); border-radius: 8px; background: linear-gradient(155deg, rgba(11,36,48,.9), rgba(3,14,23,.92)); }
.guided-results article > span { color: var(--direction-color); font: 10px "IBM Plex Mono", Consolas, monospace; }
.guided-results h3 { margin: 12px 0 4px; color: #f1f8f6; font-size: 20px; }
.guided-results p { margin: 0; color: #afc3bf; font-size: 12px; }
.guided-results small { margin-top: 12px; color: #879e9a; font-size: 11px; line-height: 1.55; }
.guided-results button { align-self: end; min-height: 38px; margin-top: 14px; border: 1px solid color-mix(in srgb, var(--direction-color), transparent 50%); border-radius: 6px; background: color-mix(in srgb, var(--direction-color), transparent 90%); color: #deeeeb; cursor: pointer; }
.custom-direction-form, .custom-conflict { max-width: 720px; margin: 24px auto 0; padding: 25px; border: 1px solid rgba(112,215,215,.24); border-radius: 8px; background: linear-gradient(145deg, rgba(11,38,50,.88), rgba(4,16,25,.92)); }
.custom-direction-form label { display: grid; gap: 8px; margin-bottom: 17px; color: #cbdad7; font-size: 12px; }
.custom-direction-form input, .custom-direction-form textarea { padding: 12px 13px; resize: vertical; }
.custom-direction-form > div, .custom-conflict > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.custom-direction-form > div small { color: #7f9692; font-size: 10px; }
.custom-direction-form > div button, .custom-conflict button { min-height: 42px; padding: 0 16px; border: 1px solid rgba(242,190,114,.48); border-radius: 7px; background: rgba(123,78,32,.35); color: #ffe9bf; cursor: pointer; }
.custom-conflict > span { color: #f2be72; font: 10px "IBM Plex Mono", Consolas, monospace; }
.custom-conflict h3 { margin: 10px 0 4px; color: #f5f9f7; font-size: 23px; }
.custom-conflict p { margin: 0 0 24px; color: #a7bbb7; font-size: 13px; }
.custom-conflict > div { justify-content: flex-start; }
.custom-conflict button:first-child { border-color: rgba(106,224,218,.38); background: rgba(18,75,76,.38); color: #d9f2ed; }
.cockpit-knowledge-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; max-width: 850px; margin: 24px auto 0; }
.cockpit-knowledge-form label { display: grid; align-content: start; gap: 8px; color: #ccdcd9; font-size: 12px; }
.cockpit-knowledge-form label.is-wide { grid-column: 1 / -1; }
.cockpit-knowledge-form input, .cockpit-knowledge-form textarea, .cockpit-knowledge-form select { padding: 12px 13px; resize: vertical; }
.cockpit-knowledge-form label > small { color: #7c9692; font-size: 10px; }
.knowledge-form-footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 5px; }
.knowledge-form-footer small { color: #7f9692; font-size: 10px; }
.knowledge-form-footer button { min-height: 46px; padding: 0 21px; border: 1px solid rgba(242,190,114,.5); border-radius: 7px; background: linear-gradient(135deg, rgba(126,82,35,.72), rgba(76,48,24,.66)); color: #ffe9bf; font-size: 14px; font-weight: 600; cursor: pointer; }
.knowledge-form-footer button span { margin-left: 18px; }
.workspace-success { display: grid; justify-items: center; max-width: 620px; margin: 34px auto 0; text-align: center; }
.success-signal { position: relative; display: grid; width: 120px; height: 120px; place-items: center; margin-bottom: 19px; }
.success-signal i { position: absolute; inset: 0; border: 1px solid rgba(100,225,216,.25); border-radius: 50%; animation: success-ring 2.4s ease-out infinite; }
.success-signal i:nth-child(2) { inset: 14px; animation-delay: .25s; }
.success-signal i:nth-child(3) { inset: 29px; animation-delay: .5s; }
.success-signal span { display: grid; z-index: 1; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(247,197,115,.58); border-radius: 50%; background: rgba(107,71,32,.5); color: #ffe4af; font-size: 22px; box-shadow: 0 0 30px rgba(242,190,114,.2); }
.workspace-success > span { color: #73dfdc; font: 10px "IBM Plex Mono", Consolas, monospace; }
.workspace-success h2 { margin: 9px 0 5px; color: #f5f9f7; font-size: 29px; }
.workspace-success > p { max-width: 520px; margin: 0; color: #a8bdb9; font-size: 13px; line-height: 1.7; }
.workspace-success dl { display: grid; grid-template-columns: repeat(2,minmax(150px,1fr)); width: min(440px,100%); gap: 8px; margin: 24px 0; }
.workspace-success dl div { display: grid; gap: 4px; padding: 13px; border: 1px solid rgba(111,204,211,.18); border-radius: 7px; background: rgba(5,23,33,.72); }
.workspace-success dt { color: #7d9692; font-size: 10px; }
.workspace-success dd { margin: 0; color: #e6f0ed; font-size: 14px; }
.workspace-success-actions { display: flex; gap: 10px; }
.workspace-success-actions button { min-height: 44px; padding: 0 18px; border: 1px solid rgba(112,203,211,.24); border-radius: 7px; background: rgba(8,31,42,.74); color: #bdd1cd; cursor: pointer; }
.workspace-success-actions button.is-primary { border-color: rgba(242,190,114,.48); background: rgba(116,75,33,.42); color: #ffe7b9; }
@keyframes success-ring { 0% { transform: scale(.72); opacity: 0; } 28% { opacity: .8; } 100% { transform: scale(1.08); opacity: 0; } }
.sr-announcer { position: fixed; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (max-width: 560px) {
  .ai-assistant-dialog { position: fixed; inset: 88px 8px 78px; width: auto; max-height: none; border-radius: 16px; }
  .ai-assistant-shell { max-height: none; }
  .ai-assistant-header { padding: 18px 16px 13px; }
  .ai-assistant-header h2 { font-size: 21px; }
  .ai-assistant-status { align-items: flex-start; flex-direction: column; gap: 5px; padding: 9px 16px; }
  .ai-assistant-messages { min-height: 145px; max-height: 34dvh; padding: 14px 16px; }
  .assistant-message { max-width: 94%; }
  .ai-assistant-prompts { gap: 6px; padding: 0 16px 11px; }
  .ai-assistant-prompts button { flex: 1 1 auto; }
  .ai-assistant-composer { padding: 11px 16px 10px; }
  .ai-assistant-composer small { font-size: 8px; }
  .ai-assistant-footer { padding: 8px 16px 11px; }
}

@media (max-width: 1320px) {
  .usable-cockpit { --cockpit-safe-left: 180px; }
  .cockpit-main { grid-template-columns: minmax(0,1fr) 380px; gap: 12px; padding-right: 16px; }
  .mission-card { padding: 12px 13px; }
  .mission-card p { line-height: 1.45; }
  .domain-detail-shell { gap: 6px; }
  .domain-overview-grid { gap: 10px; }
  .domain-overview-card { min-height: 134px; padding: 10px 12px 9px; }
  .branch-visual, .bar-visual, .mastery-visual, .route-visual { height: 36px; }
  .branch-visual::before, .branch-visual::after { top: 17px; }
  .branch-visual b { top: 10px; }
  .branch-visual i:nth-of-type(2) { top: 22px; }
  .branch-visual i:nth-of-type(4) { top: 24px; }
  .route-visual::before { top: 17px; }
  .route-visual i { top: 13px; }
  .domain-summary { padding: 11px 14px 10px; }
  .domain-summary > header { margin-bottom: 8px; }
  .domain-summary-note { margin-top: 10px; font-size: 12px; line-height: 1.45; }
  .domain-start-action, .domain-assistant-action { min-height: 64px; padding: 0 12px; }
}

@media (min-width: 901px) and (max-height: 760px) {
  .domain-detail-shell { gap: 6px; }
  .domain-detail-header h2 { margin: 3px 0 2px; font-size: 22px; }
  .domain-detail-header p { font-size: 11px; line-height: 1.35; }
  .domain-detail-back { min-height: 32px; }
  .domain-overview-card { min-height: 124px; padding: 8px 11px; }
  .domain-overview-card strong { margin-top: 2px; font-size: 28px; }
  .branch-visual, .bar-visual, .mastery-visual, .route-visual { height: 24px; margin-top: 2px; }
  .branch-visual::before, .branch-visual::after { top: 11px; }
  .branch-visual b { top: 4px; }
  .branch-visual i:nth-of-type(1) { top: 0; }
  .branch-visual i:nth-of-type(2) { top: 15px; }
  .branch-visual i:nth-of-type(3) { top: 0; }
  .branch-visual i:nth-of-type(4) { top: 15px; }
  .route-visual::before { top: 11px; }
  .route-visual i { top: 7px; }
  .domain-summary { padding: 9px 11px 8px; }
  .domain-summary > header { margin-bottom: 5px; }
  .domain-summary-note { display: none; }
  .domain-start-action, .domain-assistant-action { min-height: 62px; }
}

@media (max-width: 900px) {
  html[data-screen="home-usable"], html[data-screen="home-usable"] body, html[data-screen="home-usable"] #app { min-height: 100%; overflow: auto; }
  .usable-cockpit { min-height: 100dvh; height: auto; overflow: hidden; padding-bottom: 76px; }
  .cockpit-header { position: sticky; top: 0; height: 88px; grid-template-columns: auto minmax(0, 1fr) auto; padding: 0 16px 22px; }
  .cockpit-brand b { display: none; }
  .developer-credit { left: 58px; right: 16px; top: auto; bottom: 6px; max-width: none; padding-left: 0; border-left: 0; transform: none; overflow: hidden; color: #728b89; font-size: 8px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
  .developer-credit span { margin-right: 5px; font-size: 7px; }
  .flight-meta { justify-self: end; min-width: 112px; min-height: 46px; padding: 5px 8px; grid-template-columns: 6px minmax(0, 1fr); column-gap: 6px; }
  .flight-meta b { font-size: 10px; }
  .flight-meta small { font-size: 8px; }
  .flight-meta .online-dot { width: 6px; height: 6px; }
  .top-commands { justify-self: end; }
  .top-commands a { min-height: 40px; padding: 0 12px; font-size: 0; }
  .top-commands a span { font-size: 16px; }
  .top-commands a.is-primary { font-size: 11px; }
  .top-commands button { min-height: 40px; padding: 0 12px; font-size: 0; }
  .top-commands button span { font-size: 16px; }
  .top-commands .recycle-command { min-height: 40px; padding: 0 12px; font-size: 0; }
  .top-commands .recycle-command span { font-size: 16px; }
  .top-commands .insight-command { min-height: 38px; margin-left: 4px; padding: 0 12px; font-size: 0; }
  .top-commands .insight-command span { font-size: 16px; }
  .side-rail { position: fixed; z-index: 60; top: auto; right: 10px; bottom: 9px; left: 10px; width: auto; height: 58px; flex-direction: row; justify-content: space-around; gap: 0; padding: 5px; border-radius: 18px; }
  .side-rail-group { display: contents; }
  .side-rail-heading, .side-rail-divider, .side-rail-copy small, .side-rail a > i { display: none; }
  .side-rail a { grid-template-columns: 1fr; min-width: 58px; min-height: 46px; align-content: center; justify-items: center; gap: 1px; padding: 3px 6px; text-align: center; }
  .side-rail a > span:first-child { width: auto; height: auto; font-size: 15px; }
  .side-rail-copy { display: block; }
  .side-rail-copy b { font-size: 8px; font-weight: 500; }
  .cockpit-main { height: auto; min-height: 0; display: block; padding: 10px 12px 0; }
  .viewport-shell { --viewport-heading-space: 92px; height: min(68vh, 570px); min-height: 470px; border-radius: 26px; }
  .viewport-heading { display: block; padding: 18px 18px 0; }
  .mission-panel { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 10px; overflow: visible; }
  .mission-panel.is-domain-detail { display: block; overflow: visible; }
  .cockpit-controls { height: auto; min-height: 128px; flex-wrap: wrap; padding: 10px 14px 12px; }
  .cockpit-controls > .persistent-action-zone { position: relative; top: auto; right: auto; left: auto; width: 100%; flex: 1 0 100%; order: -1; transform: none; padding: 0; border: 0; }
  .persistent-action-zone .persistent-action { height: auto; min-height: 60px; }
  .cockpit-frame::before, .cockpit-frame::after { display: none; }
  .cockpit-workspace-dialog { width: calc(100vw - 20px); height: calc(100dvh - 20px); }
  .cockpit-workspace-content { padding: 20px; }
  .cockpit-direction-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .guided-results { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cockpit-main.is-growth-history { display: block; padding-bottom: 10px; }
  .growth-history-view { min-height: calc(100dvh - 162px); border-radius: 20px; }
}

@media (max-width: 560px) {
  .usable-cockpit { padding-bottom: 70px; }
  .top-commands a { padding: 0 10px; }
  .top-commands button { padding: 0 10px; }
  .top-commands a.is-primary { font-size: 0; }
  .top-commands a.is-primary span { font-size: 16px; }
  .viewport-shell { --viewport-heading-space: 96px; height: 510px; min-height: 510px; border-radius: 22px; }
  .viewport-heading h1 { font-size: 18px; }
  .knowledge-marker { min-width: 78px; padding: 3px 5px 5px; }
  .knowledge-marker b { font-size: 9px; }.knowledge-marker small { font-size: 7px; }
  .marker-atom { width: 20px; height: 20px; }
  .marker-ai { left: 20% !important; top: 27% !important; }
  .marker-backprop { left: 76% !important; top: 31% !important; }
  .marker-systems { left: 20% !important; top: 72% !important; }
  .marker-expression { left: 76% !important; top: 72% !important; }
  .marker-evidence { left: 54% !important; top: 19% !important; }
  .stage-ticker { right: 13px; bottom: 11px; left: 13px; height: 30px; font-size: 11px; line-height: 28px; }
  .mission-panel { grid-template-columns: 1fr; }
  .growth-history-view { padding: 18px 14px; }
  .growth-history-header { display: grid; gap: 14px; }.growth-history-header > a { justify-self: start; }
  .growth-history-summary { grid-template-columns: 1fr; }.growth-history-summary div { display: flex; align-items: center; justify-content: space-between; padding: 11px 13px; border-top: 1px solid rgba(148,207,216,.13); border-left: 0; }.growth-history-summary div:first-child { border-top: 0; }.growth-history-summary dd { margin: 0; font-size: 22px; }
  .growth-history-item { grid-template-columns: 1fr; gap: 6px; }.growth-history-time { justify-content: flex-start; padding: 0 0 0 18px; text-align: left; }.growth-history-time::after { top: 4px; right: auto; bottom: -9px; left: 4px; }.growth-history-time i { top: 2px; right: auto; left: 0; }.growth-history-item article > header { display: grid; gap: 8px; }.growth-history-item article > header b { justify-self: start; }
  .domain-overview-grid { grid-template-columns: 1fr; }
  .talent-panel { margin-top: 14px; padding: 13px 11px; }
  .talent-metric-grid { grid-template-columns: repeat(3,minmax(0,1fr)); row-gap: 7px; }
  .talent-metric-grid div:nth-child(4) { border-left: 0; padding-left: 0; }
  .talent-columns { grid-template-columns: 1fr; gap: 12px; }
  .superpower-stats b { flex-basis: 100%; }
  .domain-detail-header h2 { font-size: 18px; }
  .domain-detail-header p { font-size: 10px; }
  .domain-overview-card { min-height: 128px; }
  .domain-start-action, .domain-assistant-action { min-height: 72px; grid-template-columns: 32px minmax(0,1fr) 16px; gap: 7px; padding: 0 10px; }
  .domain-start-action > span, .domain-assistant-action > span { width: 30px; height: 30px; font-size: 16px; }
  .domain-start-action b, .domain-assistant-action b { font-size: 15px; }
  .domain-start-action small, .domain-assistant-action small { font-size: 9px; }
  .mission-card { padding: 16px; }
  .mission-card h2 { font-size: 16px; }.mission-card p { font-size: 11px; }
  .route-card blockquote { font-size: 13px; }
  .cockpit-controls { justify-content: center; }
  .cockpit-controls > .persistent-action-zone { flex-basis: 100%; }
  .cockpit-controls > div { flex: 1 1 21%; justify-content: center; padding: 0 5px; }
  .cockpit-workspace-dialog { width: calc(100vw - 12px); height: calc(100dvh - 12px); border-radius: 12px; }
  .cockpit-workspace-shell { grid-template-rows: 62px minmax(0,1fr); }
  .cockpit-workspace-topbar { padding: 0 14px; }
  .cockpit-workspace-topbar h2 { font-size: 17px; }
  .cockpit-workspace-content { padding: 16px 14px 22px; }
  .workspace-intro { margin-bottom: 13px; }
  .workspace-intro h2 { font-size: 21px; }
  .workspace-intro p { font-size: 12px; }
  .discovery-switcher { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; padding: 4px; }
  .discovery-switcher button { grid-template-columns: 1fr; grid-template-rows: auto auto; min-height: 54px; justify-items: center; padding: 6px 4px; text-align: center; }
  .discovery-switcher button > span { display: none; }
  .discovery-switcher button b { font-size: 11px; }
  .discovery-switcher button small { font-size: 8px; }
  .workspace-section-heading { align-items: center; }
  .workspace-section-heading > div { display: grid; gap: 1px; }
  .cockpit-direction-grid, .guided-results { grid-template-columns: 1fr; }
  .cockpit-direction-card { min-height: 166px; }
  .academic-track-form { grid-template-columns: 1fr; margin-top: 14px; }
  .academic-track-form label, .academic-track-form label.is-wide, .academic-track-form .knowledge-form-footer, .academic-track-privacy { grid-column: 1; }
  .academic-track-form .knowledge-form-footer { align-items: stretch; flex-direction: column; }
  .academic-track-form .knowledge-form-footer button { width: 100%; }
  .guided-question { margin-top: 15px; padding: 17px; }
  .guided-question h3 { font-size: 18px; }
  .guided-options { grid-template-columns: 1fr; }
  .guided-free { grid-template-columns: 1fr; }
  .guided-free button { min-height: 40px; }
  .guided-secondary { flex-wrap: wrap; }
  .custom-direction-form, .custom-conflict { margin-top: 14px; padding: 18px; }
  .custom-direction-form > div, .custom-conflict > div { align-items: stretch; flex-direction: column; }
  .custom-direction-form > div button, .custom-conflict button { width: 100%; }
  .cockpit-knowledge-form { grid-template-columns: 1fr; margin-top: 14px; }
  .cockpit-knowledge-form label, .cockpit-knowledge-form label.is-wide, .knowledge-form-footer { grid-column: 1; }
  .knowledge-form-footer { align-items: stretch; flex-direction: column; }
  .knowledge-form-footer button { width: 100%; }
  .workspace-success { margin-top: 12px; }
  .workspace-success h2 { font-size: 23px; }
  .workspace-success dl { grid-template-columns: 1fr 1fr; }
  .workspace-success-actions { width: 100%; }
  .workspace-success-actions button { flex: 1; padding: 0 8px; }

  /* V1.0.7 public-release readability and touch-target floor. */
  .developer-credit, .developer-credit span, .flight-meta b, .flight-meta small, .side-rail-copy b,
  .knowledge-marker b, .knowledge-marker small, .domain-start-action small, .domain-assistant-action small,
  .cockpit-controls span, .cockpit-controls button { font-size: 11px; letter-spacing: 0; }
  .developer-credit { white-space: normal; line-height: 1.25; }
  .top-commands a, .top-commands button, .top-commands .recycle-command,
  .cockpit-brand, .flight-meta, .knowledge-marker, .domain-empty-state button,
  .cockpit-controls > div:not(.persistent-action-zone),
  .cockpit-controls > div:not(.persistent-action-zone) button { min-height: 44px; }
  .cockpit-brand { min-width: 44px; justify-content: center; }
  .knowledge-marker { min-width: 88px; padding: 6px 7px; }
  .side-rail-copy b { line-height: 1.15; }
  .cockpit-controls > div:not(.persistent-action-zone) button { display: inline-flex; min-width: 44px; align-items: center; justify-content: center; }
  .cockpit-controls .lens-control > button { min-width: 48px; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .usable-cockpit *, .usable-cockpit *::before, .usable-cockpit *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .knowledge-marker:hover, .knowledge-marker:focus-visible, .knowledge-marker.is-selected { transform: translate(-50%,-50%) scale(2); }
  .online-dot { box-shadow: none; }
  .viewport-glass::before { animation: none !important; }
  .viewport-lens { transition: none; }
  .stage-ticker { overflow-x: auto; pointer-events: auto; scrollbar-width: thin; scrollbar-color: rgba(103,228,214,.28) transparent; mask-image: none; -webkit-mask-image: none; }
  .stage-ticker-track { animation: none !important; }
  .stage-ticker-sequence + .stage-ticker-sequence { display: none; }
  .growth-arrival { animation: none; }
}

/* Readability pass: keep the navigation copy and footer controls legible at a glance. */
@media (min-width: 901px) {
  .usable-cockpit { --cockpit-safe-left: 198px; }
  .side-rail { width: 174px; }
  .side-rail-heading { color: #8aa6a3; font-size: 9px; font-weight: 600; }
  .side-rail a { min-height: 58px; color: #b8ceca; }
  .side-rail-copy { gap: 4px; }
  .side-rail-copy b { font-size: 13px; font-weight: 700; line-height: 1.25; text-shadow: 0 1px 8px rgba(0, 0, 0, .34); }
  .side-rail-copy small { color: #849f9c; font-size: 10px; font-weight: 500; line-height: 1.35; }

  .cockpit-controls { gap: 10px; }
  .cockpit-controls > div:not(.persistent-action-zone) {
    min-height: 44px;
    gap: 8px;
    padding: 5px 8px;
    border: 1px solid rgba(111, 178, 196, .18);
    border-radius: 10px;
    background: rgba(5, 24, 34, .52);
    box-shadow: inset 0 1px rgba(235, 255, 255, .08), 0 5px 16px rgba(0, 0, 0, .12);
  }
  .cockpit-controls > div:not(.persistent-action-zone) > span {
    min-width: 28px;
    color: #8aa7a3;
    font-size: 10px;
    font-weight: 600;
    text-align: center;
  }
  .cockpit-controls > div:not(.persistent-action-zone) > button {
    display: inline-flex;
    width: 72px;
    min-width: 72px;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border: 1px solid rgba(148, 211, 216, .32);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(40, 91, 102, .72), rgba(14, 49, 61, .78));
    color: #e0f4f0;
    font-size: 11px;
    font-weight: 650;
    line-height: 1;
    white-space: nowrap;
  }
  .cockpit-controls > div:not(.persistent-action-zone) > button:hover,
  .cockpit-controls > div:not(.persistent-action-zone) > button:focus-visible {
    border-color: rgba(103, 228, 214, .78);
    background: linear-gradient(180deg, rgba(46, 125, 126, .84), rgba(18, 75, 80, .9));
    color: #fff;
  }
  .cockpit-controls .lens-control > button,
  .cockpit-controls .theme-control > button { min-height: 32px; border-radius: 8px; }
}

.usable-cockpit.effect-reduced .knowledge-marker { transition: none; }
.usable-cockpit.effect-reduced .knowledge-marker:hover, .usable-cockpit.effect-reduced .knowledge-marker:focus-visible, .usable-cockpit.effect-reduced .knowledge-marker.is-selected { transform: translate(-50%,-50%) scale(2); }
.usable-cockpit.effect-reduced .stage-ticker { overflow-x: auto; pointer-events: auto; scrollbar-width: thin; scrollbar-color: rgba(103,228,214,.28) transparent; mask-image: none; -webkit-mask-image: none; }
.usable-cockpit.effect-reduced .stage-ticker-track { animation: none; }
.usable-cockpit.effect-reduced .stage-ticker-sequence + .stage-ticker-sequence { display: none; }
.usable-cockpit.effect-balanced .cockpit-stars { opacity: .31; }

/* Today's mission is a focused command layer over the existing cockpit. */
.usable-cockpit.is-today-action-open::after { content: ""; position: fixed; z-index: 70; inset: 0; pointer-events: none; background: rgba(255,42,56,.05); box-shadow: inset 0 0 150px rgba(255,42,56,.08); animation: today-action-warning-flash 1.05s steps(2,end) infinite; }
.usable-cockpit.is-today-action-open .cockpit-main { filter: blur(3px) brightness(.42) saturate(.62); transform: scale(.992); transition: filter .3s ease, transform .3s ease; }
.usable-cockpit.is-today-action-open .cockpit-header, .usable-cockpit.is-today-action-open .side-rail, .usable-cockpit.is-today-action-open .cockpit-controls { filter: brightness(.52); transition: filter .3s ease; }
.today-action-dialog { position: fixed; z-index: 80; top: 50%; left: 50%; width: min(650px, calc(100vw - 40px)); max-width: none; max-height: calc(100dvh - 54px); margin: 0; padding: 0; overflow: hidden; border: 1px solid rgba(103,228,214,.48); border-radius: 20px; background: rgba(4,15,24,.985); color: #eef7f4; box-shadow: 0 34px 100px rgba(0,0,0,.72), 0 0 70px rgba(71,196,193,.16), inset 0 1px rgba(235,255,255,.16); transform: translate(-50%,-50%) scale(.96); }
.today-action-dialog[open] { animation: today-action-enter .34s cubic-bezier(.2,.75,.25,1) both; }
.today-action-dialog.is-expanded { width: min(820px, calc(100vw - 40px)); }
.today-action-dialog::backdrop { background: rgba(0,4,10,.7); backdrop-filter: blur(8px) brightness(.62) saturate(.72); -webkit-backdrop-filter: blur(8px) brightness(.62) saturate(.72); animation: today-action-backdrop-flash 1.05s steps(2,end) infinite; }
@keyframes today-action-warning-flash { 0%, 28% { background: rgba(255,42,56,.08); box-shadow: inset 0 0 150px rgba(255,42,56,.15); } 29%, 100% { background: rgba(4,8,14,.05); box-shadow: inset 0 0 105px rgba(0,0,0,.12); } }
@keyframes today-action-backdrop-flash { 0%, 28% { background-color: rgba(255,33,48,.13); } 29%, 100% { background-color: rgba(0,4,10,.72); } }
@keyframes today-action-enter { from { opacity: 0; transform: translate(-50%,-47%) scale(.93); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
.today-action-shell { display: grid; grid-template-rows: auto auto auto minmax(0,1fr) auto; max-height: calc(100dvh - 54px); overflow: auto; }
.today-action-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 17px 24px; border-bottom: 1px solid rgba(111,178,196,.16); background: linear-gradient(125deg, rgba(11,54,65,.72), rgba(5,20,30,.88)); }
.today-action-header > span { color: #67e4d6; font: 9px/1.4 "IBM Plex Mono", Consolas, monospace; letter-spacing: .12em; }
.today-action-header-actions { display: flex; align-items: center; gap: 10px; min-width: 0; }
.today-action-header b { max-width: 190px; overflow: hidden; color: #f2be72; font-size: 11px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.today-action-change { display: inline-flex; min-height: 30px; align-items: center; gap: 6px; padding: 0 9px; border: 1px solid rgba(242,190,114,.42); border-radius: 7px; background: rgba(110,66,26,.24); color: #f6d79f; font-size: 10px; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.today-action-change:hover, .today-action-change:focus-visible { border-color: #f2be72; background: rgba(131,78,29,.48); transform: translateY(-1px); }
.today-action-change span { color: #ffe1a5; font-size: 15px; line-height: 1; }
.today-action-beacon { position: relative; display: grid; width: 116px; height: 116px; place-items: center; margin: 23px auto 12px; }
.today-action-beacon i { position: absolute; inset: 0; border: 1px solid rgba(103,228,214,.25); border-radius: 50%; animation: today-action-pulse 2.8s ease-out infinite; }
.today-action-beacon i:nth-child(2) { inset: 15px; animation-delay: .42s; border-color: rgba(242,190,114,.32); }
.today-action-beacon i:nth-child(3) { inset: 30px; animation-delay: .84s; border-color: rgba(103,228,214,.4); }
.today-action-beacon b { display: grid; z-index: 1; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,93,97,.88); border-radius: 50%; background: radial-gradient(circle at 42% 35%, #fff8dd 0 8%, #ffdf8a 10% 18%, #ff6b57 34%, #c51329 66%, #3a0a17 100%); color: #fff8d9; font: 23px/1 "Noto Sans SC", "Microsoft YaHei", sans-serif; text-shadow: 0 0 9px rgba(255,255,255,.9); box-shadow: 0 0 0 3px rgba(255,53,62,.16), 0 0 25px rgba(255,45,54,.76), 0 0 62px rgba(255,61,49,.4), inset 0 0 12px rgba(255,244,191,.7); animation: today-action-siren .52s steps(2,end) infinite; }
.today-action-warning-icon { position: relative; }
.today-action-warning-icon::before, .today-action-warning-icon::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.today-action-warning-icon::before { inset: -14px; border: 2px solid rgba(255,71,78,.42); box-shadow: 0 0 16px rgba(255,47,53,.45); animation: today-action-siren-ring .72s ease-out infinite; }
.today-action-warning-icon::after { inset: -25px; border: 1px dashed rgba(255,164,97,.48); animation: today-action-siren-ring 1.02s ease-out .16s infinite; }
.today-action-warning-icon span { display: block; transform: translateY(-1px); }
@keyframes today-action-siren { 0%, 38% { filter: brightness(1.38) saturate(1.35); opacity: 1; } 39%, 100% { filter: brightness(.6) saturate(1.08); opacity: .65; } }
@keyframes today-action-siren-ring { 0% { opacity: .72; transform: scale(.74); } 100% { opacity: 0; transform: scale(1.12); } }
@keyframes today-action-pulse { 0% { opacity: .05; transform: scale(.72); } 22% { opacity: .78; } 100% { opacity: 0; transform: scale(1.08); } }
.today-action-message { display: grid; justify-items: center; padding: 0 34px 23px; text-align: center; }
.today-action-message h2 { position: relative; max-width: 670px; margin: 9px 0 12px; color: #f7f5e8; font-size: clamp(19px, 2.2vw, 27px); line-height: 1.38; font-weight: 550; text-shadow: 0 2px 18px rgba(0,0,0,.65); }
.today-action-message p { position: relative; max-width: 560px; min-height: 43px; margin: 0; color: #b8cfca; font-size: 12px; line-height: 1.75; }
.today-action-message h2::after, .today-action-message p::after { content: ""; display: inline-block; width: 1px; height: 1.05em; margin-left: 4px; vertical-align: -.18em; background: #67e4d6; box-shadow: 0 0 8px rgba(103,228,214,.8); opacity: 0; }
.today-action-dialog.is-typing-title .today-action-message h2::after, .today-action-dialog.is-typing-copy .today-action-message p::after { opacity: 1; animation: today-action-cursor .78s steps(1,end) infinite; }
@keyframes today-action-cursor { 50% { opacity: 0; } }
.today-action-details { display: grid; gap: 15px; margin: 0 24px 20px; padding: 18px; border: 1px solid rgba(103,228,214,.2); border-radius: 13px; background: linear-gradient(145deg, rgba(12,52,61,.48), rgba(4,18,29,.82)); animation: today-action-details-in .24s ease both; }
.today-action-details[hidden] { display: none; }
@keyframes today-action-details-in { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: translateY(0); } }
.today-action-detail-intro { display: grid; gap: 5px; }
.today-action-detail-intro > span { color: #8eaaa5; font: 9px/1.4 "IBM Plex Mono", Consolas, monospace; letter-spacing: .12em; }
.today-action-detail-intro b { color: #f0e2c2; font-size: 17px; font-weight: 550; }
.today-action-detail-intro p { margin: 0; color: #adc5c0; font-size: 11px; line-height: 1.65; }
.today-action-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin: 0; }
.today-action-detail-grid div { display: grid; gap: 5px; min-width: 0; padding: 10px 11px; border-left: 2px solid rgba(103,228,214,.35); background: rgba(1,10,17,.34); }
.today-action-detail-grid dt { color: #72908d; font-size: 9px; }
.today-action-detail-grid dd { margin: 0; color: #d7e7e3; font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.today-action-footer { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.3fr); gap: 10px; padding: 14px 24px 21px; border-top: 1px solid rgba(111,178,196,.14); background: rgba(2,10,16,.68); }
.today-action-footer button { min-height: 47px; border-radius: 10px; font-size: 12px; font-weight: 550; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease, opacity .2s ease; }
.today-action-detail-button { border: 1px solid rgba(103,228,214,.35); background: rgba(14,58,67,.46); color: #c9eee8; }
.today-action-detail-button:hover, .today-action-detail-button:focus-visible { border-color: #67e4d6; background: rgba(25,100,102,.6); transform: translateY(-1px); }
.today-action-accept-button { border: 1px solid rgba(242,190,114,.64); background: linear-gradient(105deg, rgba(121,76,30,.8), rgba(77,48,26,.82)); color: #ffeac0; box-shadow: 0 0 22px rgba(242,190,114,.12), inset 0 1px rgba(255,238,195,.18); }
.today-action-accept-button:hover, .today-action-accept-button:focus-visible { border-color: #ffe1a5; background: linear-gradient(105deg, rgba(147,91,34,.9), rgba(92,56,26,.88)); transform: translateY(-1px); }
.today-action-accept-button:disabled { cursor: wait; opacity: .48; transform: none; }
.today-action-accept-button span { margin-left: 10px; font-size: 16px; }

@media (max-width: 560px) {
  .today-action-dialog, .today-action-dialog.is-expanded { width: calc(100vw - 18px); max-height: calc(100dvh - 28px); border-radius: 16px; }
  .today-action-shell { max-height: calc(100dvh - 28px); }
  .today-action-header { padding: 14px 16px; }
  .today-action-header > span { max-width: 150px; font-size: 8px; }
  .today-action-header-actions { gap: 6px; }
  .today-action-header b { max-width: 92px; font-size: 9px; }
  .today-action-change { min-height: 28px; padding: 0 7px; font-size: 9px; }
  .today-action-change span { font-size: 13px; }
  .today-action-beacon { width: 88px; height: 88px; margin: 18px auto 9px; }
  .today-action-beacon b { width: 38px; height: 38px; font-size: 17px; }
  .today-action-message { padding: 0 17px 18px; }
  .today-action-message h2 { margin: 7px 0 9px; font-size: 19px; }
  .today-action-message p { min-height: 63px; font-size: 11px; line-height: 1.62; }
  .today-action-details { margin: 0 12px 14px; padding: 13px; }
  .today-action-detail-grid { grid-template-columns: 1fr; }
  .today-action-footer { grid-template-columns: 1fr 1.3fr; gap: 8px; padding: 11px 12px 14px; }
  .today-action-footer button { min-height: 44px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .usable-cockpit.is-today-action-open::after, .today-action-dialog::backdrop, .today-action-warning-icon, .today-action-warning-icon::before, .today-action-warning-icon::after { animation: none; }
}
