/*
 * one.solar: the look every Solar Gators app shares (home screen, Orders, Solar Evals, CE Scope Map).
 * Load it first, then the app's own stylesheet:
 *   <link rel="stylesheet" href="../shared/onesolar.css">
 * and set light / dark before the page draws with ../shared/theme.js.
 *
 * What's here: colour tokens (light and dark), the base page, the top bar and account menu,
 * buttons, form controls, cards, tables, badges, alerts, tabs and dialogs.
 * Use the tokens (var(--orange), var(--surface)…) rather than hex colours, and dark mode follows.
 */

:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --orange: #f26b1d;
  --orange-dark: #d85a10;
  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: #dde3ea;
  --border-soft: #edf1f5;
  --text: #1c2733;
  --muted: #5d6d7e;
  --focus: #f26b1d55;

  --green: #17803d;
  --amber: #a15c07;
  --red: #b42318;
  --blue: #1d4ed8;
  --purple: #5b3cc4;

  --radius: 10px;

  /* Form controls, buttons and History dots (dark mode changes these). */
  --control-bg: #fff;
  --control-border: #c8d1dc;
  --btn-bg: #fff;
  --btn-hover: var(--surface-2);
  --dot-bg: #fff;
  --dot-border: #9aa8b8;
}

* { box-sizing: border-box; }

/* The hidden attribute must win over display rules like .nav a { display: inline-flex }. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

a { color: var(--blue); }
h1 { font-size: 22px; line-height: 1.25; margin: 0; }
h2 { font-size: 15px; margin: 0 0 14px; }
p { margin: 0 0 10px; }

.muted { color: var(--muted); }
.small { font-size: 12px; }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-weight: 600; }
.prewrap { white-space: pre-wrap; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.overdue { color: var(--red); font-weight: 600; }

/* ---- Top bar ------------------------------------------------------------ */

.topbar { background: #fff; color: var(--text); border-bottom: 3px solid var(--orange); box-shadow: 0 1px 3px rgba(11, 37, 69, .06); }
.topbar-inner {
  max-width: 1280px; margin: 0 auto; padding: 8px 20px;
  display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; min-height: 62px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-weight: 700; font-size: 17px; white-space: nowrap; }
.brand-logo { height: 36px; width: auto; display: block; }
.brand-divider { width: 1px; height: 24px; background: var(--border); }
.brand-accent { color: var(--orange); }
.auth-sub { margin: -6px 0 14px; }
.nav { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; }
.nav a {
  color: var(--muted); text-decoration: none; padding: 7px 12px; border-radius: 6px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav a:hover { color: var(--navy); background: var(--surface-2); }
.nav a.active { color: var(--navy); background: #e8eef8; }
.nav-count {
  background: var(--orange); color: #fff; font-size: 11px; font-weight: 700;
  border-radius: 999px; padding: 0 7px; line-height: 18px;
}

/* ---- Layout ------------------------------------------------------------- */

.container { max-width: 1280px; margin: 0 auto; padding: 24px 20px 40px; }
.container:focus { outline: none; }
.footer { color: var(--muted); font-size: 12px; padding-top: 0; }

.page-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 16px; margin-bottom: 18px; flex-wrap: wrap;
}
.subtitle { color: var(--muted); margin: 6px 0 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.eyebrow { color: var(--muted); font-size: 13px; margin-bottom: 2px; }
.back-link { display: inline-block; margin-bottom: 10px; color: var(--muted); text-decoration: none; font-size: 13px; }
.back-link:hover { color: var(--text); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; margin-bottom: 16px;
}
.card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.card-head > h2, .card-head > h3 { flex: 1 0 auto; } /* the title keeps its line; buttons wrap under it when they don't fit */
.card-head h2 { margin: 0; }

/* ---- Tables ------------------------------------------------------------- */

.table-wrap { position: relative; overflow-x: auto;background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.table-wrap.flat { border-radius: 8px; }
.table { width: 100%; border-collapse: collapse; }
.table th {
  text-align: left; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  color: var(--muted); background: var(--surface-2); padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap;
}
.table td { padding: 10px 12px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: none; }
.table tfoot td { border-top: 1px solid var(--border); background: var(--surface-2); }
.table a.mono { text-decoration: none; }
.table tr.clickable { cursor: pointer; }
.table tr.clickable:hover td { background: #fff7f1; }
.cell-title { font-weight: 500; }

.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.toolbar input[type="search"] { flex: 1; min-width: 220px; max-width: 380px; }
.toolbar select { width: auto; }

.empty { padding: 36px 16px; text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius); }

/* ---- Badges ------------------------------------------------------------- */

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 600; white-space: nowrap; border: 1px solid transparent;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---- Forms -------------------------------------------------------------- */

input, select, textarea {
  font: inherit; color: inherit; width: 100%;
  padding: 8px 10px; border: 1px solid var(--control-border); border-radius: 6px; background: var(--control-bg);
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--focus); }

.form-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.form-grid .span-2 { grid-column: span 2; }
.field { margin-bottom: 12px; }
.form-grid .field { margin-bottom: 0; }
.field label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 5px; }
.req { color: var(--red); }

.form-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

/* ---- Buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 16px; border-radius: 6px; border: 1px solid var(--control-border); background: var(--btn-bg); color: var(--text);
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--btn-hover); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--focus); }
.btn-sm { padding: 5px 12px; font-size: 13px; }
.btn-lg { padding: 11px 22px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-ghost { border-color: transparent; background: transparent; color: var(--muted); }
.btn-primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-success { background: var(--green); border-color: var(--green); color: #fff; }
.btn-success:hover { background: #126a32; }
.btn-warning { background: #fff; border-color: #e5b44a; color: var(--amber); }
.btn-warning:hover { background: #fff8e6; }
.btn-danger { background: #fff; border-color: #efa59e; color: var(--red); }
.btn-danger:hover { background: #fff1ef; }
.stack-buttons { display: grid; gap: 8px; }

.icon-btn {
  width: 28px; height: 28px; border-radius: 6px; border: 1px solid transparent; background: transparent;
  color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer;
}
.icon-btn:hover:not(:disabled) { background: #fde4e2; color: var(--red); }
.icon-btn:disabled { opacity: .3; cursor: not-allowed; }

/* ---- Alerts ------------------------------------------------------------- */

.alert { padding: 12px 14px; border-radius: 8px; margin-bottom: 16px; border: 1px solid; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }
/* "Saved." and similar: stays in view while you're scrolled down, then tidies itself away */
.alert.flash { position: sticky; top: 8px; z-index: 20; box-shadow: 0 4px 14px rgba(11, 37, 69, .12); animation: flash-out .5s ease 6s forwards; }
@keyframes flash-out { to { opacity: 0; visibility: hidden; max-height: 0; padding-top: 0; padding-bottom: 0; margin: 0; border-width: 0; } }
@media (prefers-reduced-motion: reduce) { .alert.flash { animation-duration: 0s; } }
.alert-error { background: #fdecea; border-color: #f5c2bd; color: #7a1a12; }
.alert-success { background: #e6f6ec; border-color: #b8e2c7; color: #145c2e; }
.alert-info { background: #eef4ff; border-color: #cbdcfb; color: #1e3a78; }
.alert-warning { background: #fff7e0; border-color: #f3d98c; color: #6b4304; }

/* Hide app navigation until someone is signed in. */
body.signed-out .signed-in-only,
body.signed-out .footer { display: none; }

.account-link {
  display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2;
  color: var(--text); text-decoration: none; padding: 5px 10px; border-radius: 6px; margin-left: auto;
}
.account-link:hover, .account-link.active { background: var(--surface-2); }
.account-name { font-weight: 600; font-size: 13px; }
.account-role { font-size: 11px; color: var(--orange-dark); font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-name { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.auth-wrap { max-width: 420px; margin: 40px auto; }
.auth-card { padding: 28px; }
.auth-card h1 { margin-bottom: 18px; }
.auth-brand { color: var(--orange); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.auth-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.auth-foot { text-align: center; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); cursor: pointer; text-decoration: underline; }
.hint { color: var(--muted); font-size: 12px; margin-top: 4px; }

hr { border: 0; border-top: 1px solid var(--border); margin: 20px 0 14px; }
code { background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; font-size: 13px; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.tabs a { padding: 8px 14px; color: var(--muted); text-decoration: none; font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.active { color: var(--text); border-bottom-color: var(--orange); }

/* ---- Header menu: phones and tablets fold the page links into "Menu" ----------- */
.menu-btn {
  display: none; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--border); border-radius: 8px;
  background: #fff; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer;
}
.menu-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--focus); }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 16px; height: 2px; border-radius: 1px; background: currentColor; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; transition: transform .15s; }
.menu-icon::before { top: -5px; }
.menu-icon::after { top: 5px; }
body.nav-open .menu-icon { background: transparent; }
body.nav-open .menu-icon::before { top: 0; transform: rotate(45deg); }
body.nav-open .menu-icon::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .topbar-inner { padding: 8px 16px; gap: 8px 12px; min-height: 0; }
  .brand { order: 1; flex: 1; }
  .account-link { order: 2; margin-left: 0; align-items: flex-end; }
  .menu-btn { display: inline-flex; order: 3; flex: none; min-height: 40px; min-width: 40px; justify-content: center; }
  .nav {
    order: 4; display: none; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 2px;
    width: 100%; margin: 0; padding: 6px 0 4px; overflow: visible; border-top: 1px solid var(--border-soft);
  }
  body.nav-open .nav { display: flex; }
  .nav a { padding: 10px 12px; font-size: 15px; justify-content: space-between; }
}

.account-menu { position: relative; margin-left: 4px; }
button.account-link { border: 0; background: none; font: inherit; cursor: pointer; margin-left: 0; }
button.account-link::after { content: "▾"; font-size: 10px; color: var(--muted); position: absolute; right: -4px; top: 50%; transform: translateY(-50%); }
.account-pop {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; min-width: 220px; display: grid; padding: 6px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 8px 24px rgba(11, 37, 69, .14);
}
.account-pop a, .account-pop button {
  display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 6px; border: 0; background: none;
  color: var(--text); font: inherit; font-weight: 500; text-decoration: none; cursor: pointer;
}
.account-pop a:hover, .account-pop button:hover { background: var(--surface-2); }
.account-pop button { color: var(--red); }
.account-pop #menu-install { color: inherit; }

.nav { flex: 1; }

/* Narrow phones: the logo alone, so the + and account menu never cover "Orders" */
@media (max-width: 420px) { .brand-divider, #brand-name { display: none; } }

/* ---- Laptops with display scaling (about 960–1150px wide): keep the top bar on one line ---- */
@media (min-width: 961px) and (max-width: 1150px) {
  .topbar-inner { gap: 12px 14px; }
  .nav { flex-wrap: nowrap; }
  .nav a { padding: 7px 9px; }
  .account-role, .account-name { max-width: 150px; }
}

/* ---- Appearance menu ------------------------------------------------------ */

.theme-pick { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 12px 8px; margin-bottom: 2px; border-bottom: 1px solid var(--border-soft); }
.theme-pick > span { color: var(--muted); font-size: 12px; }
.theme-options { display: inline-flex; border: 1px solid var(--border); border-radius: 7px; overflow: hidden; }
.account-pop .theme-options button {
  width: auto; padding: 4px 9px; border-radius: 0; color: var(--muted); font-size: 12px; font-weight: 600;
}
.account-pop .theme-options button + button { border-left: 1px solid var(--border); }
.account-pop .theme-options button[aria-pressed="true"] { background: var(--orange); color: #fff; }

:root[data-theme="dark"] {
  color-scheme: dark;
  --navy: #e3ebff;
  --navy-2: #0d2b50;
  --orange: #fa4616;
  --orange-dark: #d63a10;
  --bg: #041327;
  --surface: #081f3d;
  --surface-2: #0d2b50;
  --border: #23486f;
  --border-soft: #17375c;
  --text: #f7f9ff;
  --muted: #a8b8ce;
  --focus: #fa461666;
  --green: #52c97f;
  --amber: #f2a900;
  --red: #ff7373;
  --blue: #78a9ff;
  --purple: #b39cff;

  /* local helpers for the overrides below */
  --d-hover: #0f325c;
  --d-active: #123a6a;
  --d-line-strong: #416b97;
  --d-input: #061a34;
  --d-shadow: 0 10px 30px #00000066;

  --control-bg: #061a34;
  --control-border: #416b97;
  --btn-bg: #0d2b50;
  --btn-hover: #0f325c;
  --dot-bg: #081f3d;
  --dot-border: #416b97;
}

/* ---- Added for every app ---------------------------------------------------- */

:root {
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --shadow: 0 1px 2px #0b254510, 0 4px 14px #0b25450d;
  --shadow-hover: 0 2px 4px #0b254514, 0 10px 28px #0b25451f;
  --shadow-pop: 0 8px 24px rgba(11, 37, 69, .14);
  --topbar-bg: #fff;
  --nav-active: #e8eef8;
}
:root[data-theme="dark"] {
  --shadow: 0 1px 2px #00000040, 0 4px 14px #00000033;
  --shadow-hover: 0 2px 4px #00000055, 0 12px 30px #00000066;
  --shadow-pop: var(--d-shadow);
  --topbar-bg: #06182f;
  --nav-active: var(--d-active);
}
body { font-family: var(--font); }
.mono { font-family: var(--font-mono); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* The app's name after "one.solar" in the top bar: "one.solar | Solar Evals". */
.brand-app { color: var(--muted); font-weight: 600; padding-left: 10px; border-left: 1px solid var(--border); }
@media (max-width: 640px) { .brand-app { display: none; } }
/* A simple account area for apps without the full account menu. */
.topbar-end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (max-width: 960px) { .topbar-end { order: 2; } }

/* Dialogs */
dialog { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-pop); }
dialog::backdrop { background: #0b254566; }

/* ---- Dark mode for the shared parts ---- */
[data-theme="dark"] .account-role { color: #ff7a45; }
[data-theme="dark"] .topbar { background: var(--topbar-bg); box-shadow: 0 1px 0 #00000055; }
[data-theme="dark"] .nav a.active { background: var(--d-active); }
[data-theme="dark"] .menu-btn,
[data-theme="dark"] .account-pop { background: var(--surface); }
[data-theme="dark"] .account-pop { box-shadow: var(--d-shadow); }
[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder { color: #6f86a3; }
[data-theme="dark"] input:disabled,
[data-theme="dark"] select:disabled,
[data-theme="dark"] textarea:disabled { background: var(--surface-2); color: var(--muted); }
[data-theme="dark"] .btn-primary:disabled { background: #1a3352; border-color: #1a3352; color: #7f93ad; }
[data-theme="dark"] .btn-success { background: #1f8f4c; border-color: #1f8f4c; color: #fff; }
[data-theme="dark"] .btn-success:hover { background: #187a40; }
[data-theme="dark"] .btn-warning { background: #2a2108; border-color: #8a6a14; color: #ffd98a; }
[data-theme="dark"] .btn-warning:hover { background: #3a2d0b; }
[data-theme="dark"] .btn-danger { background: #2e0f16; border-color: #7a2a33; color: #ff9d9d; }
[data-theme="dark"] .btn-danger:hover { background: #3d141c; }
[data-theme="dark"] .icon-btn:hover:not(:disabled) { background: #3d141c; }
[data-theme="dark"] .table tr.clickable:hover td { background: #10294a; }
[data-theme="dark"] .alert-error { background: #2e0f16; border-color: #7a2a33; color: #ffb3b3; }
[data-theme="dark"] .alert-success { background: #0b2e1f; border-color: #236b45; color: #9fe3b9; }
[data-theme="dark"] .alert-info { background: #0c2547; border-color: #2c5687; color: #b9d2ff; }
[data-theme="dark"] .alert-warning { background: #2a2108; border-color: #6b5212; color: #ffd98a; }
[data-theme="dark"] .alert.flash { box-shadow: var(--d-shadow); }
[data-theme="dark"] dialog::backdrop { background: #000000a0; }
/* Apps without page links in the top bar (Finances, Sponsors, Admin): the account menu still goes right. */
.brand + .account-menu { margin-left: auto; }

/* The announcement banner (Admin → one.solar → Banner & messages): under the top bar in every app and on the home screen. */
.announcement { border-bottom: 1px solid; font-size: 14px; }
.announcement .container { padding-top: 10px; padding-bottom: 10px; }
.announcement p { margin: 0 0 4px; }
.announcement p:last-child { margin: 0; }
.announcement-info { background: #eef4ff; border-color: #cbdcfb; color: #1e3a78; }
.announcement-warning { background: #fff7e0; border-color: #f3d98c; color: #6b4304; }
.announcement-success { background: #e6f6ec; border-color: #b8e2c7; color: #145c2e; }
.announcement-error { background: #fdecea; border-color: #f5c2bd; color: #7a1a12; }
[data-theme="dark"] .announcement-info { background: #0c2547; border-color: #2c5687; color: #b9d2ff; }
[data-theme="dark"] .announcement-warning { background: #2a2108; border-color: #6b5212; color: #ffd98a; }
[data-theme="dark"] .announcement-success { background: #0b2e1f; border-color: #236b45; color: #9fe3b9; }
[data-theme="dark"] .announcement-error { background: #2e0f16; border-color: #7a2a33; color: #ffb3b3; }

/* Out-of-date page / database being updated (shared/version-check.js) */
.os-version-banner { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 12px;
  flex-wrap: wrap; padding: 8px 44px 8px 16px; font-size: 14px; background: #fff4e5; color: #6b3d00; border-bottom: 1px solid #f5c58a; }
.os-version-banner.updating { background: #eef4ff; color: #1d3b72; border-bottom-color: #b8cdf5; }
.os-version-close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent;
  color: inherit; font-size: 20px; line-height: 1; padding: 4px 8px; cursor: pointer; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .os-version-banner { background: #3a2a10; color: #ffd9a3; border-bottom-color: #6b4a1a; }
  :root:not([data-theme="light"]) .os-version-banner.updating { background: #16233d; color: #c9dafc; border-bottom-color: #2b4370; }
}
:root[data-theme="dark"] .os-version-banner { background: #3a2a10; color: #ffd9a3; border-bottom-color: #6b4a1a; }
:root[data-theme="dark"] .os-version-banner.updating { background: #16233d; color: #c9dafc; border-bottom-color: #2b4370; }

/* "Report a problem" (shared/error-reporter.js) */
.os-report-dialog { width: min(520px, calc(100vw - 32px)); border: 1px solid var(--border); border-radius: 12px; padding: 20px;
  background: var(--surface); color: var(--text); margin: auto; }
.os-report-dialog::backdrop { background: rgba(11, 37, 69, .35); }
.os-report-dialog h2 { margin: 0 0 12px; font-size: 18px; }
.os-report-dialog label { display: block; font-weight: 600; margin-bottom: 6px; }
.os-report-dialog textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 8px 10px; border: 1px solid var(--border);
  border-radius: 8px; background: var(--surface); color: var(--text); }
.os-report-hint { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.os-report-msg { margin: 10px 0 0; font-weight: 600; }
.os-report-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
