/* Hospital Management SaaS — clinical / trustworthy mood.
   Shifts the accent role from coral (site default) to sea (clinical/calm).
   Structural rules live in project-common.css and product-kit.css. */
:root{
  --accent:var(--sea);
  --accent-hover:var(--sea-mid);
  --accent-soft:#4fc8ae1f;
  --accent-2:#6aa8ff;
}
.btn-primary,.skip-link,.loop li::before{color:#06241d}
@media (prefers-color-scheme: light){
  :root:not([data-theme="dark"]){--accent:#0a7566;--accent-hover:#085a4e;--accent-soft:#0a756617;--accent-2:#1d4ed8}
  :root:not([data-theme="dark"]) .btn-primary,
  :root:not([data-theme="dark"]) .skip-link,
  :root:not([data-theme="dark"]) .loop li::before{color:#fff}
  :root:not([data-theme="dark"]) .eyebrow{color:#0a7566}
}
:root[data-theme="light"]{--accent:#0a7566;--accent-hover:#085a4e;--accent-soft:#0a756617;--accent-2:#1d4ed8}
:root[data-theme="light"] .btn-primary,
:root[data-theme="light"] .skip-link,
:root[data-theme="light"] .loop li::before{color:#fff}
:root[data-theme="light"] .eyebrow{color:#0a7566}

/* ---- Hospital pieces ---- */
.tg-mark{border-radius:14px;flex:none}
.arch-figure{margin:0;padding:var(--space-5);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--bg-elevated)}
.arch-figure svg{display:block;width:100%;height:auto}
.arch-figure .a-box{fill:var(--bg-surface);stroke:var(--border-strong,var(--border-subtle));stroke-width:1.5}
.arch-figure .a-accent{fill:var(--accent-soft);stroke:var(--accent);stroke-width:1.5}
.arch-figure .a-line{stroke:var(--text-muted);stroke-width:1.4;fill:none}
.arch-figure .a-dash{stroke:var(--accent);stroke-width:1.4;fill:none;stroke-dasharray:4 4}
.arch-figure text{fill:var(--text-primary);font-family:var(--font-mono);font-size:12px}
.arch-figure .a-sub{fill:var(--text-muted);font-size:10.5px}
.arch-figure .a-title{font-size:13px;font-weight:600}

.calc{display:grid;grid-template-columns:1.3fr 1fr;gap:var(--space-6);align-items:start}
.calc > *{min-width:0}
.calc-rows{display:grid;gap:var(--space-3)}
.calc-row{
  display:grid;grid-template-columns:auto 1fr auto;gap:var(--space-3);align-items:center;
  padding:var(--space-3) var(--space-4);border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--bg-elevated);
}
.calc-row.is-off{opacity:.55}
.calc-row label.calc-name{font-weight:600;cursor:pointer}
.calc-row input[type=number]{
  width:5.5rem;padding:.35rem .5rem;border-radius:var(--radius-sm);border:1px solid var(--border-subtle);
  background:var(--bg-surface);color:var(--text-primary);font-family:var(--font-mono);font-size:.85rem;text-align:right;
}
.calc-row small{display:block;color:var(--text-muted);font-weight:400;font-size:.78rem}
.calc-out{padding:var(--space-5);border:1px solid color-mix(in srgb,var(--accent) 40%,var(--border-subtle));border-radius:var(--radius-lg);background:var(--accent-soft)}
.calc-out dl{margin:0;display:grid;gap:var(--space-3)}
.calc-out dt{font-family:var(--font-mono);font-size:.7rem;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted)}
.calc-out dd{margin:0;font-size:1.6rem;font-weight:700}
.calc-out .calc-disc{display:flex;align-items:center;gap:var(--space-3);margin-top:var(--space-4);font-size:.9rem}
.calc-out .calc-disc input{width:4.5rem}
@media (max-width:900px){.calc{grid-template-columns:1fr}}
@media (max-width:480px){.calc-row{grid-template-columns:auto 1fr}.calc-row .calc-price{grid-column:1 / -1}}
