/* Approved server application style, 25 November 2026.
   Direction developed with Unslop by Damir Sokolovsky, CC BY 4.0.
   https://github.com/heydamir/unslop */
@media screen {
  :root {
    --rcw-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --rcw-background: #242426;
    --rcw-surface: #2a2a2d;
    --rcw-ink: #f7f7f7;
    --rcw-muted: #c4c4c8;
    --rcw-line: #ffffff1a;
    --ink: #f7f7f7;
    --muted: #c4c4c8;
    --subtle: #b7b7bc;
    --canvas: #242426;
    --paper: #2a2a2d;
    --surface: #2a2a2d;
    --field: #222224;
    --soft: #333337;
    --line: #ffffff1a;
    --control-line: #85858b;
    --accent: #ededed;
    --on-accent: #242426;
    --ok: #9ddcb7;
    --warn: #f0ce94;
    --bad: #ffb6ad;
    --glass: #2a2a2d;
    --shadow: none;
    font-family: var(--rcw-font);
    font-size: 16px;
    color-scheme: dark;
    color: var(--ink);
    background: var(--canvas);
    accent-color: var(--accent);
  }
  :root body { color: var(--ink); background: var(--canvas); font: 16px/1.5 var(--rcw-font); }
  :root :is(button, input, select, textarea) { font-family: var(--rcw-font); }
  :root :is(h1, h2, h3) { font-weight: 500; }
  :root h1 { font-size: clamp(28px, 3.2vw, 36px); line-height: 1.2; letter-spacing: -.02em; }
  :root :is(h2, h3) { letter-spacing: 0; }
  :root :is(.eyebrow, .nav-label, .rcw-nav-label, .sectionlabel, .cost-step, .cost-kicker) {
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
  }
  :root :is(button, a, input, select, textarea, summary):focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
  :root :is(input, textarea)::placeholder { color: var(--subtle); opacity: 1; }
  :root :is(input, select, textarea) { color-scheme: dark; }
  :root :is(.section-meta, .meta, .note, .hint) { line-height: 1.5; }
  :root :is(.button, .primary, .secondary) { border-radius: 8px; box-shadow: none; }
}

/* RCW Server UI v1.0 — application menu, 25 November 2026.
   Adapted with Unslop by Damir Sokolovsky (@heydamir), CC BY 4.0.
   https://github.com/heydamir/unslop */
:root body { margin: 0; background: var(--canvas); color: var(--ink); }
body a { color: var(--ink); }
body .shell { width: 100%; max-width: 1120px; margin-inline: auto; padding: 0 32px calc(112px + env(safe-area-inset-bottom)); }
body .masthead { gap: 8px; min-height: 88px; padding: 16px 0; border-bottom: 1px solid var(--line); }
body .brand { flex: 1; min-width: 0; max-width: 172px; }
body .brand img { display: block; width: 172px; max-width: 100%; height: auto; object-fit: contain; }
body :is(.bp-partner-entry, .help) { display: inline-flex; flex: 0 0 auto; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); box-shadow: none; font-size: 14px; font-weight: 400; }
body .bp-partner-entry { margin-left: auto; }
body .help { width: 44px; padding: 8px; }
body .masthead svg { width: 18px; height: 18px; }
body .menu-intro { padding: 24px 0; }
body .menu-intro h1 { margin: 0 0 8px; font-size: 28px; font-weight: 500; line-height: 1.25; letter-spacing: 0; }
body .menu-intro p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
body .menu-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
body .menu-button { display: flex; min-width: 0; min-height: 112px; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); text-decoration: none; box-shadow: none; transition: background-color 160ms ease, border-color 160ms ease; }
body .menu-button > svg { display: block; width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; color: var(--muted); }
body .menu-button strong { display: block; color: var(--ink); font-size: 16px; font-weight: 500; line-height: 1.35; letter-spacing: 0; overflow-wrap: normal; }
body .menu-button:hover { background: var(--soft); border-color: #ffffff40; transform: none; }
body .menu-button:active { background: #3a3a3e; }
body .menu-group { margin-top: 32px; }
body .menu-group h2 { margin: 0 0 12px; font-size: 18px; line-height: 1.4; font-weight: 500; letter-spacing: 0; }
body .menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
body .menu-row { display: flex; min-height: 56px; min-width: 0; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.4; text-decoration: none; transition: background-color 160ms ease, border-color 160ms ease; }
body .menu-row span { flex: 1; min-width: 0; }
body .menu-row svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; color: var(--muted); }
body .menu-row:hover { background: var(--soft); border-color: #ffffff40; }
body .menu-footer { margin: 24px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
body .bottom-nav { inset: auto 0 0; width: 100%; max-width: 1120px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 4px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); border: 0; border-top: 1px solid var(--line); border-radius: 0; background: var(--canvas); color: var(--muted); box-shadow: none; backdrop-filter: none; }
body .bottom-nav a { position: relative; width: auto; min-width: 0; min-height: 56px; gap: 4px; justify-content: center; padding: 4px 0; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 400; line-height: 20px; letter-spacing: 0; white-space: nowrap; overflow-wrap: normal; }
body .bottom-nav a[aria-current="page"] { border-color: var(--line); border-radius: 8px; background: var(--soft); color: var(--ink); }
body .bottom-nav a::after { content: none; }
body .bottom-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; opacity: 1; filter: none; transform: none; }
body #section { padding: 24px 0; }
body .back { display: inline-flex; min-height: 44px; align-items: center; margin-bottom: 16px; color: var(--muted); font-size: 14px; }
body #section h1 { color: var(--ink); font-size: 28px; font-weight: 500; letter-spacing: 0; line-height: 1.25; }
body :is(.lead, .section-note) { color: var(--muted); font-size: 16px; line-height: 1.6; }
body :is(.section-subtitle, .help-item h2) { font-size: 18px; font-weight: 500; line-height: 1.4; letter-spacing: 0; }
body .section-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--muted); }
body .section-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; filter: none; }
body :is(.tile, .contact-action, .help-item, .resource, .coming, .help-row) { color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: none; }
body .resource { min-height: 64px; padding: 16px; gap: 12px; }
body .resource strong { color: var(--ink); font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: 0; }
body .resource small { color: var(--muted); font-size: 14px; line-height: 1.5; }
body .resource .destination svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
body .resource .channel-icon { filter: none; transform: none; }
body .object { display: none; }
body .contact-action { display: flex; min-height: 48px; align-items: center; padding: 12px 16px; font-size: 16px; font-weight: 500; }
body :is(.help-item, .coming) { padding: 20px; }
body .help-item p { color: var(--muted); line-height: 1.6; }
body :is(.tool-bar, #tool, #tool-frame) { background: var(--canvas); color: var(--ink); }
body .tool-bar { min-height: 56px; border-color: var(--line); }
body .tool-bar :is(a, strong) { color: var(--ink); font-size: 14px; font-weight: 400; }
body .tool-bar a { min-height: 44px; display: inline-flex; align-items: center; }
body #tool-external { font-size: 22px; }
body .pressable:active { box-shadow: none !important; transform: none; }
body :is(a, button):focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
body [hidden] { display: none !important; }
@media (max-width: 960px) {
  body .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body .shell { padding-inline: 16px; }
  body .masthead { min-height: 80px; padding: 12px 0; }
  body .bp-partner-entry { width: 44px; padding: 8px; font-size: 0; }
  body .bp-partner-entry svg { flex-shrink: 0; }
  body .menu-intro { padding: 24px 0 20px; }
  body .menu-intro h1 { font-size: 24px; }
  body .menu-grid { gap: 8px; }
  body .menu-button { min-height: 112px; gap: 12px; }
  body .menu-list { grid-template-columns: 1fr; }
  body .menu-group { margin-top: 24px; }
}
@media (max-width: 600px) {
  body .bottom-nav a { font-size: 13px; }
}
@media (max-width: 360px) {
  body .bottom-nav a { font-size: 12px; }
  body .menu-grid { grid-template-columns: 1fr; }
  body .menu-button { min-height: 64px; flex-direction: row; align-items: center; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  body :is(.menu-button, .menu-row) { transition: none; }
}
