/* rd-app-index.css: the app views of index.html on the light design (19 Nov 2026): /calculator, /my-deals, /company-check,
   /owner, the sign-in and register sheet and the Academy sign-in page (/?authOnly=1). <body class="rd rd-views">.
   Loaded after css/home.css and css/redesign.css. The page and its script (js/home-app.js, js/deals-tools.js) were written in the
   dark theme's colour names (--navy-900, --gold-300, --ivory-100 ...) and write some of them into inline styles, so those names
   are kept and pointed at the light palette on the body; every rule then reads in light colours with no change to the script.
   Same decisions as redesign.css: Inter 400 and 600 only, ink #051036, one action colour, corners 8 and 10, no gradients, no glow. */
body.rd-views {
  --navy-950: var(--page); --navy-900: #fff; --navy-850: #fff; --navy-800: var(--page); --navy-700: var(--page);
  --navy-line: var(--line); --navy-600: var(--line-strong);
  --gold-300: var(--action); --gold-400: var(--action); --gold-500: var(--action); --gold-glow: transparent;
  --ivory-100: var(--ink); --ivory-200: var(--ink); --slate-400: var(--muted); --slate-500: var(--muted);
  --emerald-400: var(--good); --emerald-glow: var(--good-tint); --rose-400: var(--bad); --rose-glow: var(--bad-tint);
  --radius-lg: 10px; --radius-md: 10px; --radius-sm: 8px;
  --font-display: var(--font); --font-body: var(--font);
  background: var(--page); color: var(--text); font-family: var(--font); padding-bottom: 0;
}
.rd-views h1, .rd-views h2, .rd-views h3, .rd-views h4 { font-family: var(--font); color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.rd-views ::selection { background: var(--tint-line); color: var(--ink); }
.rd-views :focus-visible { outline: 3px solid rgba(27,149,209,.45); outline-offset: 2px; }
.rd-views .wrap { max-width: 1180px; padding: 0 24px; }
.rd-views a { color: var(--action); }
.rd-views a:hover { color: var(--action-dark); }

/* Buttons: the gold gradient becomes the one action colour, the ghost an outline. */
.rd-views .btn { border-radius: var(--r-input); font-family: var(--font); font-weight: 600; transition: none; }
.rd-views .btn:hover { transform: none !important; }
.rd-views .btn-gold { background: var(--action); background-image: none; color: #fff; box-shadow: none; border: 1px solid var(--action); }
.rd-views .btn-gold:hover { background: var(--action-dark); border-color: var(--action-dark); color: #fff; box-shadow: none; }
.rd-views .btn-ghost { background: #fff; border: 1px solid var(--line-strong); color: var(--ink); }
.rd-views .btn-ghost:hover { border-color: var(--muted); color: var(--ink); }
.rd-views .btn:disabled { opacity: .6; }

/* Section heads and the small "eyebrow" label. */
.rd-views .section { padding: 32px 0 24px; }
.rd-views .section-head { margin-bottom: var(--s5); }
.rd-views .section-head h2, .rd-views .section-head h1 { font-size: 28px; letter-spacing: -.02em; }
.rd-views .section-head p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.rd-views .eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--muted); border: 0; padding: 0; margin-bottom: 6px; background: none; }
.rd-views .eyebrow .dot { display: none; }
.rd-views .hero { padding: 32px 0 16px; }
.rd-views .hero h1 { font-size: 32px; line-height: 1.15; }
.rd-views .hero h1 em { color: var(--action); }
.rd-views .hero p.lede { color: var(--muted); font-size: 16px; }
.rd-views .hero-stats div span { color: var(--muted); }
.rd-views .ticker-card { background: none; padding: 0; }
.rd-views .ticker-inner { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); }
.rd-views .ticker-live { color: var(--good); }
.rd-views .ticker-live i { background: var(--good); box-shadow: none; }
.rd-views .ticker-dots span.on { background: var(--action); }

/* Cards. */
.rd-views .panel, .rd-views .sdlt-card, .rd-views .auth-card, .rd-views .deals-table-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: none;
}
.rd-views .panel { padding: var(--s4); }
.rd-views .panel + .panel, .rd-views #priceCheckPanel { margin-top: var(--s4); }
.rd-views .panel h3 { font-size: 13px; letter-spacing: .06em; color: var(--muted); font-weight: 600; margin-bottom: var(--s3); }
.rd-views .panel h3 .hint { color: var(--muted); font-weight: 400; }
.rd-views .sdlt-card { padding: var(--s5); }
.rd-views .lead-panel { background: #fff; background-image: none; border: 1px solid var(--line); border-radius: var(--r-card); }
.rd-views .callout { background: var(--tint); border: 1px solid var(--tint-line); color: var(--text); border-radius: var(--r-input); }

/* Strategy tabs and chips: outlined pills, the current one filled with ink (as the calculator pages' chips). */
.rd-views .strategy-tab, .rd-views .chip { background: #fff; border: 1px solid var(--line); color: var(--text); font-family: var(--font); font-weight: 400; transition: none; border-radius: 999px; }
.rd-views .strategy-tab:hover, .rd-views .chip:hover { border-color: var(--line-strong); color: var(--ink); }
.rd-views .strategy-tab.active, .rd-views .chip.chip-active { background: var(--ink); background-image: none; border-color: var(--ink); color: #fff; font-weight: 600; }

/* Form fields. */
.rd-views .field label, .rd-views .auth-field label, .rd-views .deal-name-field label { color: var(--text); font-weight: 600; font-size: 13px; }
.rd-views .field input, .rd-views .field select, .rd-views .auth-field input, .rd-views .auth-field select, .rd-views .deal-name-field input,
.rd-views .lead-grid input, .rd-views input[type="text"], .rd-views input[type="number"], .rd-views input[type="email"], .rd-views input[type="password"], .rd-views input[type="url"], .rd-views input[type="tel"], .rd-views select {
  background: #fff; color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--r-input); font-family: var(--font);
}
.rd-views .field input:focus, .rd-views .field select:focus, .rd-views .auth-field input:focus, .rd-views .auth-field select:focus {
  outline: 3px solid rgba(27,149,209,.35); border-color: var(--action);
}
.rd-views .field-input .prefix, .rd-views .field-input .suffix, .rd-views .input-with-unit .unit-prefix { color: var(--muted); }
.rd-views input[type="checkbox"], .rd-views input[type="radio"] { accent-color: var(--action); }
.rd-views .check-row { color: var(--text); }

/* The result column. */
.rd-views .calc-auto-note { color: var(--muted); }
.rd-views .dash-hero, .rd-views .sdlt-result-hero { background: var(--tint); background-image: none; border: 1px solid var(--tint-line); border-radius: var(--r-card); box-shadow: none; }
.rd-views .dash-hero .label, .rd-views .sdlt-result-hero .label { color: var(--muted); }
.rd-views .dash-hero .big, .rd-views .sdlt-result-hero .value { color: var(--ink); font-family: var(--font); font-weight: 600; }
.rd-views .dash-hero .sub, .rd-views .sdlt-result-hero .sub { color: var(--muted); }
.rd-views .metric-card { background: #fff; border: 1px solid var(--tint-line); border-radius: var(--r-input); }
.rd-views .metric-card .label, .rd-views .metric-card .hint { color: var(--muted); }
.rd-views .metric-card .value { color: var(--ink); font-family: var(--font); font-weight: 600; }
.rd-views .metric-card .value.na { color: var(--muted); }
.rd-views .v.pos, .rd-views .pos { color: var(--good); }
.rd-views .v.neg, .rd-views .neg { color: var(--bad); }
.rd-views .occupancy-grid .occ-label { color: var(--muted); }
.rd-views .deal-score { font-family: var(--font); }
.rd-views .deal-score-strong { background: var(--good-tint); color: var(--good); border-color: var(--good); }
.rd-views .deal-score-ok { background: var(--warn-tint); color: var(--warn); border-color: var(--warn); }
.rd-views .deal-score-weak, .rd-views .deal-score-implausible { background: var(--bad-tint); color: var(--bad); border-color: var(--bad); }
.rd-views .deal-score-incomplete { background: var(--page); color: var(--muted); border-color: var(--muted); }
.rd-views .deal-score-reasons { color: var(--muted); }
.rd-views .badge { font-family: var(--font); }
.rd-views .badge.pass { background: var(--good-tint); color: var(--good); }
.rd-views .badge.fail { background: var(--bad-tint); color: var(--bad); }
.rd-views .badge.pro { background: #fff; border: 1px solid var(--action); color: var(--action-dark); }

/* My deals. */
.rd-views .deals-table thead th { color: var(--muted); border-bottom: 1px solid var(--line); background: #fff; font-family: var(--font); }
.rd-views .deals-table tbody td { color: var(--text); border-bottom: 1px solid var(--line); }
.rd-views .deals-table tbody tr:hover { background: var(--page); }
.rd-views .deals-table .strategy-pill { background: var(--page); border: 1px solid var(--line); color: var(--text); }
.rd-views .deals-table .row-delete { border-color: var(--bad); color: var(--bad); border-radius: var(--r-input); background: #fff; }
.rd-views .deals-table .row-delete:hover { background: var(--bad-tint); }
.rd-views .deals-table .deal-error { color: var(--bad); }
.rd-views .deals-table-wrap { background-image: none; }
.rd-views .blog-empty { color: var(--muted); }

/* Company check results. */
.rd-views .ch-pick { background: #fff; border: 1px solid var(--line); color: var(--text); border-radius: var(--r-input); }
.rd-views .ch-pick:hover, .rd-views .ch-pick:focus-visible { border-color: var(--action); }
.rd-views .ch-heading { color: var(--muted); }

/* The sign-in and register sheet. */
.rd-views .auth-modal-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: 0 12px 28px rgba(5,16,54,.18); }
.rd-views .auth-toggle { border: 1px solid var(--line-strong); border-radius: var(--r-input); padding: 3px; }
.rd-views .auth-toggle button { border-radius: 6px; color: var(--text); font-family: var(--font); }
.rd-views .auth-toggle button.active { background: var(--ink); color: #fff; }
.rd-views .auth-modal-close { color: var(--muted); }
.rd-views .auth-modal-close:hover { color: var(--ink); background: var(--page); }
.rd-views .auth-note, .rd-views .auth-hint, .rd-views .auth-terms, .rd-views .auth-deferred { color: var(--muted); }
.rd-views .auth-terms a { color: var(--action); }
.rd-views .auth-link { color: var(--muted); font-family: var(--font); }
.rd-views .auth-link:hover { color: var(--ink); }
.rd-views .auth-error, .rd-views .auth-hint.auth-hint-bad { color: var(--bad); }
.rd-views .auth-success { background: var(--good-tint); border-color: var(--good); color: var(--good); }
.rd-views .auth-info { color: var(--good); }
.rd-views .auth-closed, .rd-views .fn-gate { background: var(--page); border: 1px solid var(--line-strong); color: var(--text); border-radius: var(--r-input); }
.rd-views .fn-gate .fn-gate-btn { border: 1px solid var(--action); color: var(--action-dark); background: #fff; }
.rd-views .fn-gate .fn-gate-btn:hover { background: var(--tint); }
.rd-views .password-toggle { color: var(--muted); }
.rd-views .password-toggle:hover { color: var(--ink); }

/* Academy sign-in page (/?authOnly=1, shown inside the Academy's site): compact, on the Academy's own background. */
html.auth-only .auth-modal-card { box-shadow: none; }
/* Inside the sign-in sheet the "hero" box is only a wrapper: the card is white, not the tinted result box. */
.rd-views .auth-modal-card .dash-hero { background: none; border: 0; padding: 0; border-radius: 0; }
