/* Fuel for redOrbit Motion
   Built on the redorbit motion intranet design system (same as Telemetry):
   Unbounded display, Figtree text, sun / red / violet / teal / pink / sky / lime. */

:root {
  --red: #FF2E4D; --violet: #7B3CFF; --sun: #FFC21A; --teal: #00B89F;
  --pink: #FF5FB8; --sky: #2E9BFF; --lime: #9BE22D; --on-sun: #2A1E00;
  --danger: #D0102E; --danger-text: #C00D2A;
  --bg: #FBFAFF; --surface: #FFFFFF; --ink: #1A1530; --muted: #5D5878;
  --line: #E7E3F5; --soft: #F1EEFC;
  --radius: 20px;
  --sec: var(--violet); --on-sec: #FFFFFF; --rings: rgba(255,255,255,.35);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #120E24; --surface: #1D1838; --ink: #F5F2FF; --muted: #ABA5C8; --line: #2F2852; --soft: #241E44; --danger-text: #FF7A8F; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #120E24; --surface: #1D1838; --ink: #F5F2FF; --muted: #ABA5C8; --line: #2F2852; --soft: #241E44; --danger-text: #FF7A8F; color-scheme: dark; }

/* Each section has its own colour, like the intranet. */
body[data-sec="sun"] { --sec: var(--sun); --on-sec: var(--on-sun); --rings: rgba(42,30,0,.22); }
body[data-sec="violet"] { --sec: var(--violet); --on-sec: #FFFFFF; }
body[data-sec="teal"] { --sec: #00866F; --on-sec: #FFFFFF; }
body[data-sec="sky"] { --sec: #1A73D1; --on-sec: #FFFFFF; }
body[data-sec="pink"] { --sec: #C2337F; --on-sec: #FFFFFF; }
body[data-sec="red"] { --sec: #D0102E; --on-sec: #FFFFFF; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 Figtree, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; padding-bottom: env(safe-area-inset-bottom, 0px); }
h1, h2, h3, .disp { font-family: Unbounded, "Arial Black", system-ui, sans-serif; letter-spacing: -.025em; line-height: 1.15; margin: 0; }
h1 { font-weight: 800; font-size: 30px; } h2 { font-weight: 600; font-size: 19px; } h3 { font-weight: 600; font-size: 16px; }
.h-lg { font-size: 22px; }
a { color: inherit; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.skip, .sr { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--surface); padding: 10px 14px; border-radius: 10px; }
.bg-red { background: var(--red); } .bg-violet { background: var(--violet); } .bg-sun { background: var(--sun); }
.bg-teal { background: var(--teal); } .bg-pink { background: var(--pink); } .bg-sky { background: var(--sky); }

/* ---------- header ---------- */
.top { background: var(--surface); border-bottom: 1.5px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 40px; width: auto; display: block; }
.logo-d { display: none !important; }
:root[data-theme="dark"] .logo-l { display: none !important; } :root[data-theme="dark"] .logo-d { display: block !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-l { display: none !important; } :root:not([data-theme="light"]) .logo-d { display: block !important; } }
.brand-rule { width: 1.5px; height: 34px; background: var(--line); }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name .disp { font-weight: 800; font-size: 17px; }
.brand-name small { color: var(--muted); font-size: 13px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.tab { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 14.5px; white-space: nowrap; color: var(--muted); border: 1.5px solid transparent; }
.tab:hover { color: var(--ink); border-color: var(--line); }
.tab i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.tab.on { color: #FFFFFF; } .tab.on i { background: #FFFFFF; }
.tab.on-sun { background: var(--sun); color: var(--on-sun); } .tab.on-sun i { background: var(--on-sun); }
.tab.on-violet { background: var(--violet); } .tab.on-teal { background: #00866F; } .tab.on-sky { background: #1A73D1; }
.tab.on-pink { background: #C2337F; } .tab.on-red { background: #D0102E; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.me { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.me-text { display: flex; flex-direction: column; line-height: 1.2; font-size: 14px; } .me-text small { color: var(--muted); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--red); color: #FFFFFF; font: 800 13px Unbounded, sans-serif; flex: none; }
@media (max-width: 980px) { .tabs { order: 3; flex-basis: 100%; margin-left: 0; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; } .me { margin-left: auto; } }
@media (max-width: 760px) { .me-text, .brand-name small { display: none; } .brand img { height: 32px; } }

/* ---------- ticker ---------- */
.ticker { background: linear-gradient(90deg, var(--red), var(--pink) 30%, var(--violet) 55%, var(--sky) 80%, var(--teal));
  color: #FFFFFF; font-weight: 600; font-size: 14px; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-block; padding: 9px 0; animation: tick 45s linear infinite; }
.ticker span { margin: 0 28px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- page ---------- */
main.page { display: flex; flex-direction: column; gap: 22px; padding-top: 26px; padding-bottom: 64px; }
main.page:focus { outline: none; }
/* The page heading becomes the intranet's full-colour section band with orbit rings. */
.head { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px;
  background: var(--sec); color: var(--on-sec); border-radius: 28px; padding: 34px clamp(22px, 4vw, 40px) 36px; min-height: 160px; }
.head::after { content: ""; position: absolute; right: -110px; top: 50%; width: 460px; height: 460px; transform: translateY(-50%); pointer-events: none;
  border-radius: 50%; border: 2px solid var(--rings);
  background: radial-gradient(circle, transparent 0 58px, var(--rings) 59px 61px, transparent 62px 128px, var(--rings) 129px 131px, transparent 132px); }
.head > * { position: relative; z-index: 1; }
.head h1 { font-weight: 800; font-size: clamp(32px, 5vw, 60px); line-height: .98; }
.sub { font-size: 15px; } .head .sub { opacity: .9; margin-top: 8px; }
.head a.small, .head .small.strong { color: inherit; }
.head .btn { border-color: currentColor; color: inherit; background: transparent; }
.head .btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
body:not([data-sec="sun"]) .head .btn.primary { background: #FFFFFF; color: #1A1530; border-color: #FFFFFF; }
.head .field { color: inherit; } .head .field select, .head .in { color: var(--ink); }
.head .search { background: rgba(255,255,255,.94); color: #1A1530; border-color: transparent; }

.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.between { justify-content: space-between; } .end { justify-content: flex-end; } .end-items { align-items: flex-end; }
.stack { display: flex; flex-direction: column; gap: 16px; } .stack-s { display: flex; flex-direction: column; gap: 10px; }
.stack-xs { display: flex; flex-direction: column; gap: 4px; } .stack-0 { display: flex; flex-direction: column; }
.card { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); }
.pad { padding: 22px 24px; }
.narrow { max-width: 560px; } .narrow-lg { max-width: 820px; width: 100%; }
.split { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.split > .grow { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.split > .side { flex: 1 1 360px; min-width: 0; max-width: 100%; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
@media (max-width: 480px) { .grid2 { grid-template-columns: 1fr; } }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.muted { color: var(--muted); } .small { font-size: 13.5px; } .strong { font-weight: 700; } .neg, .bad { color: var(--danger-text); }
.ink { color: var(--ink); font-size: 15px; } .lh { line-height: 1.7; } .pre { white-space: pre-line; } .nowrap { white-space: nowrap; } .right { text-align: right; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: 700 15px Figtree, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--soft); }
.btn.primary { background: var(--sun); color: var(--on-sun); border-color: var(--sun); }
.btn.primary:hover { background: #F2B200; border-color: #F2B200; }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 14px; border-color: var(--line); }
.btn.danger { color: var(--danger-text); border-color: var(--line); }
.btn.ghost { border-color: transparent; }
.btn.big { min-height: 52px; font-size: 16px; width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.w100 { width: 100%; }
.actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; } .actions form { display: contents; }
form.inline { display: inline; }
.chips { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--soft); }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--muted); }
.chip[aria-current="true"] { background: var(--violet); color: #FFFFFF; }

/* ---------- status pills ---------- */
.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; border: 1.5px solid transparent; }
.b-Overdue { background: color-mix(in srgb, var(--red) 18%, var(--surface)); color: var(--danger-text); }
.b-Part { background: color-mix(in srgb, var(--sun) 30%, var(--surface)); color: var(--ink); }
.b-Sent { background: color-mix(in srgb, var(--sky) 18%, var(--surface)); color: var(--ink); }
.b-Paid { background: #00866F; color: #FFFFFF; }
.b-Draft, .b-Void { background: transparent; color: var(--muted); border-color: var(--line); }

/* ---------- tables ---------- */
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
table.wide { min-width: 760px; }
th { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; text-align: left; padding: 13px 14px; border-bottom: 1.5px solid var(--line); white-space: nowrap; }
td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
th:first-child, td:first-child { padding-left: 22px; } th:last-child, td:last-child { padding-right: 22px; }
.num { text-align: right; white-space: nowrap; }
tr.sel td { background: color-mix(in srgb, var(--violet) 9%, var(--surface)); }
.rowlink { font-weight: 700; color: var(--ink); text-decoration: none; } .rowlink:hover { text-decoration: underline; } .fw5 { font-weight: 500; }

/* ---------- overview ---------- */
.hero { background: #1A1530; color: #F5F2FF; border-radius: 24px; padding: 30px 34px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; align-items: end; }
:root[data-theme="dark"] .hero { background: #2A2350; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero { background: #2A2350; } }
.hero .big { font: 800 clamp(36px, 5vw, 52px)/1 Unbounded, sans-serif; letter-spacing: -.03em; color: var(--sun); }
.hero .mut { opacity: .78; font-size: 14px; }
.bar { height: 10px; border-radius: 5px; background: rgba(255,255,255,.16); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 5px; }
.hero .bar > i[style*="hero-ink"] { background: var(--teal) !important; }
.hero .bar > i[style*="bright"] { background: var(--red) !important; }
.strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.strip > div { padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; border-right: 1.5px solid var(--line); }
.strip > div:last-child { border-right: 0; }
.strip .v { font: 800 24px Unbounded, sans-serif; letter-spacing: -.025em; }
.chart { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; align-items: end; height: 200px; border-bottom: 1.5px solid var(--line); }
.chart .col { display: flex; gap: 4px; align-items: flex-end; justify-content: center; height: 100%; }
.chart .col i { display: block; width: 40%; max-width: 22px; border-radius: 6px 6px 0 0; min-height: 2px; }
.chart .col i[style*="char"] { background: var(--violet) !important; } .chart .col i[style*="bright"] { background: var(--red) !important; }
.chart-labels { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; text-align: center; font-size: 13px; color: var(--muted); }
.legend { display: flex; gap: 14px; font-size: 13px; color: var(--muted); } .legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.legend i[style*="char"] { background: var(--violet) !important; } .legend i[style*="bright"] { background: var(--red) !important; }
.list > div { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); } .list .grow { flex: 1; min-width: 0; }

/* ---------- panels ---------- */
.sect { padding: 18px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.sect.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .big-n { font: 800 19px Unbounded, sans-serif; }
.small-row { font-size: 14px; } .bt { border-top: 1px solid var(--line); padding-top: 8px; }
.kv { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 8px; font-size: 14.5px; } .kv > span:nth-child(odd) { color: var(--muted); }
.progress { height: 10px; border-radius: 5px; background: var(--soft); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--teal); }
.progress i[style*="char"] { background: var(--violet) !important; }
.empty { padding: 30px 24px; color: var(--muted); text-align: center; }
.banner { padding: 14px 18px; border-radius: 14px; font-weight: 600; font-size: 15px; border: 1.5px solid; }
.banner ul { margin: 6px 0 0; padding-left: 18px; font-weight: 500; }
.banner.ok { background: color-mix(in srgb, var(--teal) 16%, var(--surface)); border-color: var(--teal); }
.banner.bad { background: color-mix(in srgb, var(--red) 12%, var(--surface)); border-color: var(--red); }
.banner.warn { background: color-mix(in srgb, var(--sun) 22%, var(--surface)); border-color: var(--sun); }
.banner.plain { background: var(--soft); border-color: var(--line); }
.temp { font: 800 18px Unbounded, sans-serif; letter-spacing: .02em; padding: 2px 8px; user-select: all; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea, .in { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 14px;
  font: 500 16px Figtree, sans-serif; color: var(--ink); background: var(--surface); }
.in.auto { width: auto; }
.field textarea { resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus, .in:focus { outline: 3px solid var(--sky); outline-offset: 1px; }
.field input:disabled, .field textarea:disabled, .field select:disabled { opacity: .7; }
.field .hint { font-size: 13px; color: var(--muted); font-weight: 500; }
.field.check { flex-direction: row; align-items: center; gap: 10px; } .field.check input { width: 20px; height: 20px; min-height: 0; accent-color: var(--violet); }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; } .full { grid-column: 1 / -1; }
.search { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; flex: 0 1 320px; margin: 0; }
.search input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 15px; min-height: 42px; }
.wide-search { flex: none; max-width: 520px; }
.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 100px; border: 2px dashed var(--line);
  border-radius: 18px; background: var(--soft); cursor: pointer; text-align: center; padding: 12px; font-weight: 500; }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop:focus-within { outline: 3px solid var(--sky); outline-offset: 2px; }

/* ---------- invoice editor ---------- */
.lines { min-width: 640px; }
.lines td { padding: 8px 6px; border-bottom: 1px solid var(--line); } .lines th { padding: 8px 6px; }
.lines input { min-height: 42px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); width: 100%; font-size: 14.5px; }
.lines input.r { text-align: right; }
.w-qty { width: 70px; } .w-rate, .w-amt { width: 130px; } .w-x { width: 44px; }
.total { font: 800 26px Unbounded, sans-serif; letter-spacing: -.025em; } .total-row { gap: 16px; align-items: baseline; }
.svc { display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); cursor: pointer; }
.svc:hover { border-color: var(--violet); background: color-mix(in srgb, var(--violet) 7%, var(--surface)); } .svc .row { gap: 8px; flex-wrap: nowrap; }
.sticky-actions { position: sticky; bottom: 0; background: var(--bg); padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 3; }

/* ---------- reports ---------- */
.pl-row { padding: 10px 0; border-bottom: 1px solid var(--line); } .pl-total { padding: 12px 0 22px; }
.net { border-top: 3px double var(--ink); padding-top: 14px; align-items: baseline; }
.net-v { font: 800 30px Unbounded, sans-serif; letter-spacing: -.025em; }

/* ---------- business ---------- */
.bankcard { border: 1.5px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.bankcard.def { border-color: var(--violet); background: color-mix(in srgb, var(--violet) 6%, var(--surface)); }

/* ---------- dialogs ---------- */
dialog { border: 0; border-radius: 24px; padding: 0; width: min(600px, calc(100vw - 24px)); max-height: calc(100vh - 24px); background: var(--surface); color: var(--ink); box-shadow: 0 20px 50px rgba(26,21,48,.28); }
dialog::backdrop { background: rgba(18,14,36,.55); }
.dlg-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1.5px solid var(--line); }
.dlg-b { padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; }
.dlg-f { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 14px 22px; border-top: 1.5px solid var(--line); }
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-weight: 700; z-index: 50; }

/* ---------- footer ---------- */
.foot { border-top: 1.5px solid var(--line); padding: 28px 0; font-size: 14px; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 600; } .foot a { text-decoration: none; } .foot a:hover { color: var(--ink); }

/* ---------- sign-in ---------- */
body.bare { background: var(--bg); }
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.auth-card { width: 100%; max-width: 440px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.auth-card h1 { font-size: 30px; }
.auth-card img { height: 46px; width: auto; }
.login { min-height: 100vh; display: flex; flex-wrap: wrap; }
.login-brand { flex: 1 1 460px; position: relative; overflow: hidden; background: var(--sun); color: var(--on-sun); padding: 52px clamp(24px, 5vw, 64px);
  padding-top: calc(52px + env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 380px; }
.login-logo { width: 200px; height: auto; display: block; position: relative; z-index: 1; }
.login-title { position: relative; z-index: 1; max-width: 480px; }
.login-title span { display: block; font: 800 clamp(64px, 10vw, 120px)/.9 Unbounded, sans-serif; letter-spacing: -.04em; }
.login-title p { font-size: 20px; line-height: 1.45; margin: 16px 0 0; font-weight: 600; }
.login-url { font-size: 14px; font-weight: 700; position: relative; z-index: 1; }
.login-form { flex: 1 1 460px; padding: 48px 24px; display: flex; align-items: center; justify-content: center; background: var(--bg); color: var(--ink); }
.ro-orbit { position: absolute; right: -150px; bottom: -170px; color: var(--on-sun); }
.ro-orbit ellipse, .ro-orbit circle:not(.ro-sat) { stroke: currentColor; }
.ro-orbit .ro-sat { fill: var(--red); }
@keyframes ro-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes ro-fade { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes ro-orbit-in { from { opacity: 0; transform: rotate(-40deg) scale(.85); } to { opacity: .25; transform: none; } }
@keyframes ro-spin { to { transform: rotate(360deg); } }
@keyframes ro-sat { to { offset-distance: 100%; } }
.ro-rise { animation: ro-rise .8s cubic-bezier(.2,.7,.2,1) .15s both; } .ro-rise2 { animation: ro-rise .8s cubic-bezier(.2,.7,.2,1) .3s both; }
.ro-card { animation: ro-fade .7s cubic-bezier(.2,.7,.2,1) .45s both; }
.ro-orbit { transform-origin: center; animation: ro-orbit-in 1.4s cubic-bezier(.2,.7,.2,1) both; opacity: .25; }
.ro-orbit .ro-ring { transform-origin: 260px 260px; animation: ro-spin 90s linear 1.4s infinite; }
.ro-sat { offset-path: path("M 39.6 377.9 A 250 110 -28 1 1 480.4 142.1 A 250 110 -28 1 1 39.6 377.9 Z"); animation: ro-sat 14s linear infinite; }
.ro-btn svg { transition: transform .2s; } .ro-btn:hover svg { transform: translateX(4px); }
@media (max-width: 700px) { .login-brand { min-height: 300px; } .login-title p { font-size: 17px; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .ro-sat { display: none; } }
@media print { .top, .ticker, .foot, .btn, .chips, .search, .banner { display: none !important; } .head { background: none; color: var(--ink); padding: 0; min-height: 0; } .head::after { display: none; } .card { border: 0; } }
