
    :root { color-scheme:dark; --bg:#0b0e15; --panel:#141a25; --panel2:#1b2330; --line:#293240; --text:#f2f5fa; --muted:#95a0b5; --rose:#ff536b; --orange:#ffb15e; --green:#58d7a1; --blue:#84a8ff; --radius:18px; font-family: system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif; }
    * { box-sizing:border-box; }
    body { background:radial-gradient(ellipse at 48% -10%, #202d45 0%, transparent 36%),var(--bg); color:var(--text); margin:0; min-height:100vh; line-height:1.5; }
    button,input {font:inherit;} button {cursor:pointer;} button:focus-visible,input:focus-visible {outline:2px solid var(--blue); outline-offset:3px;}
    .shell {max-width:1280px; padding:28px 24px 48px; margin:0 auto;}
    .top {display:flex; justify-content:space-between; gap:20px; align-items:center; padding:8px 0 30px;}
    .identity {display:flex; align-items:center; gap:14px;}
    .brand {display:grid; place-items:center; width:48px; height:48px; color:white; background:linear-gradient(145deg,#fa6577,#b92f4c); border:1px solid #ff8795; border-radius:14px; box-shadow:0 10px 30px #ff536b33;}
    .brand svg {width:26px;height:26px; transform:rotate(-20deg);}
    .brand-text strong {font-size:23px;letter-spacing:1.5px;font-weight:850;display:block;direction:ltr;text-align:right;}
    .brand-text span {font-size:12px;color:var(--muted);}
    .top-info {display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end;align-items:center;}
    .pill {display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);padding:7px 12px;border-radius:999px;background:#141d28;color:var(--muted);font-size:12px;white-space:nowrap;}
    .pill .dot {width:7px;height:7px;background:var(--green);border-radius:50%;box-shadow:0 0 12px #58d7a166;}
    .alert-pill {border-color:#70513d;background:#36261f;color:#ffc18b;}
    .layout {display:grid;grid-template-columns:minmax(0,1.72fr) minmax(280px,.9fr);gap:20px;align-items:start;}
    .panel {background:linear-gradient(150deg,#171d28,#111722);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 12px 40px #00000024;overflow:hidden;}
    .signal {padding:24px;}
    .panel-head {display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;}
    .eyebrow {color:var(--muted);font-size:12px;font-weight:700;letter-spacing:.4px;}
    .panel-head h1 {font-size:20px;margin:4px 0 0;letter-spacing:-.3px;}
    .tag {border:1px solid #8c603c;color:#ffbf81;background:#47302177;padding:7px 12px;border-radius:9px;font-size:11px;font-weight:800;}
    .sky {height:315px;position:relative;overflow:hidden;margin:20px 0;border-radius:16px;border:1px solid #3b3548;background:radial-gradient(ellipse at 50% 50%,#33293f 0%,#1d2132 46%,#141b28 80%);display:grid;place-items:center;isolation:isolate;}
    .sky:before {content:"";position:absolute;inset:0;background-image:linear-gradient(#8091ae0c 1px,transparent 1px),linear-gradient(90deg,#8091ae0c 1px,transparent 1px);background-size:30px 30px;mask-image:linear-gradient(transparent 3%,black 50%,transparent 100%)}
    .sky:after {content:"";position:absolute;left:-12%;right:-12%;bottom:-80%;height:105%;border:1px solid #ff536b38;border-radius:50%;box-shadow:0 0 0 46px #ff536b09,0 0 0 92px #ff536b06;transform:rotate(-10deg);}
    .orbit {position:absolute;width:380px;height:380px;border:1px dashed #e4a0af22;border-radius:50%;top:45px;left:calc(50% - 190px);}
    .plane {position:absolute;left:14%;top:26%;color:#ff7f83;filter:drop-shadow(0 4px 18px #ff536b88);transform:rotate(-24deg);z-index:2;}
    .plane svg {width:48px;height:48px;}
    .chart-line {position:absolute;inset:0;width:100%;height:100%;opacity:.75;z-index:1;pointer-events:none;}
    .sky-center {position:relative;z-index:3;text-align:center;padding:20px;display:grid;gap:7px;justify-items:center;}
    .center-label {color:#cbd1de;font-size:13px;}
    .multiplier {direction:ltr;unicode-bidi:isolate;font-size:clamp(62px,8vw,101px);font-weight:850;line-height:1.05;letter-spacing:-5px;font-variant-numeric:tabular-nums;color:var(--orange);text-shadow:0 4px 28px #ff9e4152;}
    .center-note {font-size:12px;color:#bbc3d2;max-width:280px;}
    .status {background:#282b3b;border:1px solid #55516a;padding:7px 13px;border-radius:999px;font-size:11px;color:#ced3e3;margin-top:6px;}
    .stats3 {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px;}
    .small-stat {border:1px solid var(--line);border-radius:12px;background:#1b2330;padding:12px 13px;min-width:0;}
    .small-stat span {display:block;font-size:11px;color:var(--muted);}
    .small-stat strong {display:block;font-size:21px;direction:ltr;text-align:right;margin-top:4px;font-variant-numeric:tabular-nums;}
    .controls {display:flex;gap:10px;flex-wrap:wrap;}
    .btn {border-radius:11px;padding:13px 18px;border:1px solid var(--line);background:#273242;color:white;font-weight:750;min-height:46px;transition:filter .15s,transform .15s;}
    .btn:hover:not(:disabled) {filter:brightness(1.14);transform:translateY(-1px)}
    .btn:disabled {opacity:.44;cursor:not-allowed;}
    .btn-primary {border-color:#ed6273;background:linear-gradient(135deg,#ff6b78,#d53b5d);box-shadow:0 6px 16px #ec455032;}
    .btn-secondary {background:#222c3b;}
    .btn-ghost {background:transparent;}
    .subtitle {color:var(--muted);font-size:12px;margin:13px 0 0;line-height:1.8;}
    .side {display:grid;gap:20px;}
    .section {padding:20px;}
    .section-title {font-size:15px;margin:0 0 14px;font-weight:800;display:flex;justify-content:space-between;align-items:center;gap:8px;}
    .meta {color:var(--muted);font-size:11px;font-weight:500;}
    .choice {display:grid;grid-template-columns:1fr 1fr;background:#0f151e;border:1px solid var(--line);border-radius:11px;padding:4px;gap:4px;margin-bottom:18px;}
    .choice button {border:0;background:transparent;color:var(--muted);border-radius:8px;min-height:39px;font-size:12px;font-weight:750;}
    .choice button.active {background:#273447;color:#fff;box-shadow:0 1px 3px #0007;}
    label {display:block;color:#b5bfd0;font-size:12px;font-weight:700;margin-bottom:8px;}
    .field {width:100%;background:#0e1520;border:1px solid #384454;border-radius:10px;padding:12px 14px;color:#fff;font-size:16px;min-height:44px;direction:ltr;text-align:left;}
    .field::placeholder {color:#66748b;}
    .form-row {display:grid;grid-template-columns:1fr auto;gap:9px;align-items:end;}
    .hint {font-size:11px;color:var(--muted);line-height:1.75;margin:12px 0 0;}
    .privacy {padding:18px 20px;border:1px solid #325545;background:linear-gradient(150deg,#17322a,#14251f);border-radius:var(--radius);}
    .privacy h3 {display:flex;align-items:center;gap:7px;color:#96edc5;font-size:13px;margin:0 0 8px;}
    .privacy p {font-size:12px;color:#b0c7bc;line-height:1.9;margin:0;}
    .privacy svg {width:18px;height:18px;}
    .history {margin-top:20px;padding:20px;}
    .history-head {display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;margin-bottom:16px;}
    .history h2 {margin:0;font-size:17px;}
    .history-actions {display:flex;gap:9px;flex-wrap:wrap;}
    .text-btn {border:1px solid var(--line);background:#202a36;color:#c4d1e4;font-size:11px;padding:8px 11px;border-radius:8px;}
    .text-btn:disabled {opacity:.4;cursor:not-allowed;}
    .table-scroll {overflow-x:auto;}
    table {width:100%;border-collapse:collapse;text-align:right;white-space:nowrap;min-width:600px;}
    th {font-size:11px;color:var(--muted);font-weight:650;background:#18202c;padding:11px 13px;}
    td {border-top:1px solid var(--line);padding:13px;font-size:13px;color:#dbe1eb;}
    td[data-ltr] {direction:ltr;text-align:right;font-variant-numeric:tabular-nums;}
    .good {color:var(--green);font-weight:800;} .bad {color:#ff7b88;font-weight:800;}
    .empty {text-align:center;color:var(--muted);padding:29px 10px 13px;font-size:12px;}
    .error {color:#ff9ba9;font-size:12px;min-height:18px;margin-top:9px;}
    footer {font-size:11px;color:#65758c;text-align:center;margin-top:22px;line-height:1.9;}
    @media(max-width:840px) {.layout {grid-template-columns:1fr;}.side {grid-template-columns:1fr 1fr;}.top {align-items:flex-start}.brand-text strong {font-size:19px;}}
    @media(max-width:580px) {.shell {padding:16px 12px 30px;}.top {gap:10px;flex-direction:column;padding-bottom:18px}.top-info {justify-content:flex-start}.signal {padding:15px;}.sky {height:290px;margin:16px 0}.multiplier {font-size:68px}.plane {left:8%;top:22%}.plane svg {width:36px}.stats3 {gap:6px}.small-stat {padding:10px 8px}.small-stat strong {font-size:17px}.small-stat span {font-size:10px}.controls .btn {flex:1;padding:12px 8px;font-size:12px}.side {grid-template-columns:1fr}.history {padding:14px}.section {padding:16px}.form-row {grid-template-columns:1fr;}}
    @media(prefers-reduced-motion:reduce) {*,*:before,*:after {transition:none!important;animation:none!important;}}
  
    .analysis-form{display:grid;gap:12px}.three-inputs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
    .three-inputs .field{padding:10px 8px;font-size:17px;font-weight:750;text-align:center;min-width:0}
    .small-select{background:#101823;color:#fff;border:1px solid #384454;border-radius:10px;padding:12px;width:100%;min-height:44px}
    .soft-text{color:#c5ccda;font-size:13px}.strong-num{font-size:27px;color:#ffb15e;font-variant-numeric:tabular-nums}
    .source-info{padding:14px;background:#132133;border:1px solid #344459;border-radius:12px}
    .warnbar{margin:0 0 20px;background:#2a221d;border:1px solid #6b4a2e;border-radius:13px;padding:12px 16px;color:#f6cba5;font-size:12px;line-height:1.8}
    .statusbox{font-size:12px;min-height:24px;color:#abc2df}.links{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
    .links a{color:#94bdff;text-decoration:underline;text-underline-offset:3px;font-size:12px}
    .footerstatus{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap}.section-title select{max-width:170px}
    .note{font-size:12px;color:#b3bdd0;line-height:1.85}
    .top-info .pill {white-space:normal}
    @media(max-width:420px){.three-inputs{gap:5px}.three-inputs .field{font-size:15px}.strong-num{font-size:22px}}

.monitor-controls{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}.monitor-controls input{width:100px;padding:8px}.monitor-controls label{display:grid;gap:6px}#monitor-preview{max-width:100%;background:#10131b;border:1px solid #414859}#monitor-review{padding:16px;border:1px solid #edb96d}#monitor-reading{overflow-wrap:anywhere}

.monitor-canvas{display:block;max-width:100%;height:auto;margin:8px 0;border-radius:8px;background:#0b0d12}
.monitor-canvas.pick{cursor:crosshair;touch-action:none}
.monitor-canvas[hidden]{display:none}
.reading{font-size:1.25rem;font-weight:700;letter-spacing:.02em}

/* Golden aircraft identity only; monitoring behavior remains unchanged. */
.brand{background:#030620;border-color:#aa8139;box-shadow:0 6px 20px #ffc84a20;overflow:hidden}
.brand img{display:block;width:48px;height:48px;object-fit:contain}
.plane{color:inherit;filter:drop-shadow(0 4px 14px #e6b33630);transform:none}
.plane img{display:block;width:100px;height:100px;object-fit:contain;border-radius:18px}
@media(max-width:580px){.plane img{width:72px;height:72px;border-radius:12px}}

.simple-shell{max-width:1000px}.simple-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:20px}.simple-form h1{font-size:26px;margin:8px 0}.simple-form .analysis-form{margin-top:24px}.forecast-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.forecast-head h2{font-size:21px;margin:6px 0}.forecast-head img{border-radius:14px}.forecast-value{display:block;font-size:64px;color:#ffd16b;direction:ltr;text-align:right;font-variant-numeric:tabular-nums;line-height:1.25;margin:20px 0}.forecast-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-summary{padding:14px 18px;border:1px solid #4b452d;border-radius:12px;background:#211f18;color:#e8d8a8;font-size:13px}.simple-shell a{color:#ffd16b}.simple-result{min-width:0}.simple-shell [hidden]{display:none!important}
@media(max-width:680px){.simple-layout{grid-template-columns:1fr}.forecast-value{font-size:52px}.simple-form h1{font-size:23px}}

.forecast-report{margin-top:24px}.evaluation-warning{border:1px solid #8d6a35;border-radius:10px;padding:12px;color:#f4d89c;background:#2c2419;font-size:13px}.prediction-success{color:#75e2a5;font-weight:800}.prediction-failure{color:#ff7b88;font-weight:800}.prediction-waiting{color:#c6cfdf}.prediction-neutral{color:#efc578}.result-mark{font-size:23px;margin-inline-end:7px}.forecast-report td{white-space:normal;min-width:86px;vertical-align:top}.forecast-report .context-cell{direction:ltr;min-width:150px}.forecast-report .outcome-cell{font-weight:800;font-size:17px;direction:ltr}.forecast-report table{min-width:830px}.forecast-report h2{font-size:20px;margin:0}.forecast-report .meta{white-space:normal}#forecast-class{font-weight:750;color:#ffd16b}

.probability-note{display:block;margin-top:5px;color:#aeb9cc;font-size:11px;line-height:1.6}
