/* Copyright (c) 2026 Jake Fourie. All rights reserved. Proprietary and confidential. */
/* Clarimap brand for the pricing, welcome and sign-in pages: navy, teal and white, flat surfaces, clean lines. Loaded after portal.css. */
:root, :root[data-theme="dark"], :root[data-theme="light"] {
  --bg: #080d18; --surface: #0d1626; --raised: #131e33; --ink: #e9eef7; --ink-soft: #9aa7bd; --line: #22304a; --link: #3a4d70;
  --brand: #0d1626; --brand-2: #38e0c8; --on-brand: #f4f7fb; --on-brand-soft: #9aa7bd; --accent: #38e0c8; --accent-ink: #38e0c8;
  --ok: #5fd6a0; --warn: #f0c067; --bad: #ff9080; --idle: #7c8aa3; --ok-bg: #0f2e25; --warn-bg: #33280f; --bad-bg: #3b1a17;
  --shadow: none; color-scheme: dark;
}
body { background: var(--bg); }
.btn { background: #38e0c8; border-color: #38e0c8; color: #08101c; border-radius: 8px; }
.btn.alt { background: transparent; border-color: var(--line); color: var(--ink); }
.btn:hover { background: #6beadb; } .btn.alt:hover { background: rgba(255, 255, 255, 0.05); border-color: #38e0c8; }
a { color: #38e0c8; }
.s-top { background: var(--bg); border-bottom: 1px solid var(--line); }
.s-top .nm, .a-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.2rem; letter-spacing: -0.02em; color: #f4f7fb; }
.s-top .nm::before, .a-brand::before { content: ""; width: 28px; height: 28px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M35.5 14.4A15 15 0 1 0 35.5 33.6' stroke='%2338e0c8' stroke-width='7' stroke-linecap='round' fill='none'/%3E%3Ccircle cx='24' cy='24' r='5.2' fill='%23f4f7fb'/%3E%3C/svg%3E") center / contain no-repeat; }
.s-plan, .s-box, .a-card { background: var(--surface); border-radius: 12px; box-shadow: none; }
.s-plan.pop { border-color: #38e0c8; box-shadow: 0 0 0 1px #38e0c8; }
.s-plan.on { background: var(--raised); }
.s-tag { background: #38e0c8; color: #08101c; }
.s-toggle { border-radius: 8px; } .s-toggle button[aria-pressed="true"] { background: #38e0c8; color: #08101c; }
.s-draft { background: var(--surface); color: var(--ink-soft); }
.s-offer { border: 1px solid #1c4a3c; }
.a-links a, .a-links button { color: #38e0c8; }
input, select, textarea { border-radius: 8px; }
/* Messages: a neutral panel with a coloured edge. No brown fills. */
.s-msg { background: var(--raised); color: var(--ink); border: 1px solid var(--line); border-left: 3px solid #f0c067; border-radius: 8px; }
.s-msg.ok { background: var(--raised); color: var(--ink); border-left-color: #5fd6a0; }
.s-offer { background: var(--raised); color: var(--ink); border: 1px solid var(--line); border-left: 3px solid #38e0c8; border-radius: 8px; }
