/* Общий слой стекла и неба. Токены и фон здесь общие для приложения, лендинга
   и презентации; орнаменты сферы презентации (holo-*) и сигнала тоже живут
   здесь. Язык рабочего интерфейса — золото и три круга лендинга — задан
   в styles/app.css и ограничен .app-shell. Reduced motion — в motion.css. */
:root {
  --bg: #090d0d;
  --panel-glass: #141f1ed9;
  --panel-raised-glass: #223130ee;
  --border-soft: #e6cd9c29;
  --accent: #e0c184;
  --violet: #b09bff;
  --radius: 16px;
  --shadow-panel: inset 0 1px 0 #f0e1c31a, inset 0 0 25px #3b56540a,
    0 8px 30px #080d0d66, 0 0 1px 1px #b1945b14;
  --surface-card: linear-gradient(120deg, #2534334d, #24323126);
}
body { background-image: radial-gradient(ellipse at 65% 0%, #293d3b50, transparent 65%); }
.ambient-backdrop__planet, .ambient-backdrop__orbit { display: none; }
.ambient-backdrop__nebula { opacity: .24; }
.ambient-backdrop__aurora { opacity: .2; }
.ambient-backdrop__grid { opacity: .3; background-size: 64px 64px; }
.ambient-circuits { position: absolute; inset: 0; width: 100%; height: 100%; stroke: #977d4a25; stroke-width: 1; }
.ambient-circuits__signal { stroke: #e1c38655; stroke-dasharray: 3 97; animation: cs-transmit 22s linear infinite; }
.star-field { opacity: .45; }
.sidebar {
  background: linear-gradient(165deg, #172020f0, #0d1514f5 60%, #1a2222eb);
  border-right-color: #debd7c26;
  box-shadow: 1px 0 15px #b98f3c18;
}
.brand { padding-bottom: 17px; }
.brand__mark { border-radius: 12px; color: #e3c78e; background: #24393849; box-shadow: 0 0 22px #d4a85130; }
.brand__name { font-weight: 650; }
.nav-group__title { color: #a5b2ae; font-size: 10px; }
.nav-link { border-radius: 9px; }
.nav-link[aria-current="page"] {
  background: linear-gradient(100deg, #9973265c, #b28f482b 76%, #bb9d6215);
  border-color: #dcb97252;
  box-shadow: inset 0 1px #e7cf9e2b, 0 0 22px #ac833226;
}
.nav-link[aria-current="page"]::before { width: 3px; height: 54%; top: 23%; background: #e0c184; }
.nav-link[aria-current="page"] .ui-icon { filter: drop-shadow(0 0 5px #ddbb77); }
.sidebar-summary { position: relative; padding: 12px 8px; border-radius: 12px; background: #2432313d; border: 1px solid #899f9a2e; }
.header { background: #111a19e0; border-bottom-color: #bda4732e; }
.header-action--capture { background: linear-gradient(115deg, #d3b26f, #dcb973); border-color: #e5cb98; }
.panel {
  background: radial-gradient(ellipse at 0 0, #7d663721, transparent 65%), var(--panel-glass);
  border-color: #bea67642;
  backdrop-filter: blur(18px);
}
.panel::before {
  left: 8%; right: 30%; top: -1px;
  background: linear-gradient(90deg, transparent, #dfbf80af, #9987ff80, transparent);
}
.panel::after { background: radial-gradient(360px circle at var(--light-x, 50%) var(--light-y, 0%), #dbb77019, transparent 70%); }
.panel__head { padding-bottom: 10px; border-bottom-color: #bfa97e22; }
.panel__title { font-weight: 600; }
.pulse-panel { border-color: #ceaf7070; box-shadow: var(--shadow-panel), -3px 0 20px #d3a74f10; }
.pulse-panel::before { background: linear-gradient(90deg, transparent, #e2c58c, #e0c182, transparent); }
.schedule-panel { border-color: #987fea4d; }
.schedule-panel::before { background: linear-gradient(90deg, transparent, #b494ff, transparent); }
.waiting-panel { border-color: #cab58b55; }
.card, .entity-row { border-color: #ebd7af19; }
.schedule__body { background: linear-gradient(100deg, #3347466e, #222f2e32); border-color: #c2ad831e; }
.btn--primary { box-shadow: 0 0 16px #dab56b1f, inset 0 1px #efeadf30; }
.dialog, .drawer, .demo-panel { border-color: #d6bd8a66; box-shadow: inset 0 1px #f1e3c733, 0 24px 90px #0a1211c0, 0 0 38px #d3ac5d18; }

/* Орнаменты сферы и финала презентации. */
.holo-transmission { stroke: #e5cc99; stroke-width: 1.6; stroke-dasharray: 9 91; animation: cs-transmit 8s linear infinite; filter: drop-shadow(0 0 4px #ddbb76); }
.holo-rotor { color: #e4c992; stroke: currentColor; stroke-width: 1.5; transform-origin: 0 0; animation: cs-orbit 40s linear infinite; }
.holo-rotor--reverse { color: #9c91fa; animation-direction: reverse; animation-duration: 29s; stroke-width: 2; }
.holo-meridians { stroke: #ccb17a4f; stroke-width: .7; }
.holo-longitude { transform-origin: 0 0; animation: cs-longitude 12s linear infinite; }
.holo-constellation { stroke: #dec49088; stroke-width: .6; }
.holo-constellation circle { fill: #f0eadf; stroke: none; filter: drop-shadow(0 0 3px #d8b163); animation: cs-breathe 4s ease-in-out infinite; }

.signal-trace { color: inherit; overflow: visible; }
.signal-trace__grid { stroke: currentColor; opacity: .1; stroke-width: .5; }
.signal-trace__base { stroke: currentColor; opacity: .3; stroke-width: 1.2; }
.signal-trace__flow { stroke: currentColor; stroke-width: 1.4; stroke-dasharray: 22 78; filter: drop-shadow(0 0 2px currentColor); animation: cs-transmit 6s linear var(--signal-delay, 0s) infinite; }

.graph-wrap { border-color: #bfa77866; box-shadow: inset 0 0 80px #0e141470, 0 0 30px #caa14f13; background: radial-gradient(ellipse at 50% 50%, #293b3a70, transparent 65%), #0d1413dd; }
.graph-orbits { stroke: #78958e3b; }
.graph-hub { stroke: #d6bf92; filter: drop-shadow(0 0 8px #dbb66d55); }
.graph-node__aura { fill: none; stroke: currentColor; stroke-dasharray: 12 7; opacity: 0; transition: opacity 200ms; }
.graph-node:hover .graph-node__aura, .graph-node:focus-visible .graph-node__aura,
.graph-node--selected .graph-node__aura { opacity: .7; transform-origin: 0 0; animation: cs-orbit 18s linear infinite; }

@keyframes cs-longitude { 0% { transform: scaleX(1); } 50% { transform: scaleX(-1); } 100% { transform: scaleX(1); } }
@media (hover: hover) {
  .panel:hover { border-color: #d6ba818c; box-shadow: var(--shadow-panel), 0 0 22px #d7b06116; }
}
@media (pointer: coarse) {
  .holo-constellation circle, .holo-transmission { filter: none; }
}
@supports not (backdrop-filter: blur(4px)) {
  .panel { background: var(--panel-solid); }
}
