/* ============================================================================
VERSION : 1.1.1
BUILT   : 2026-11-19 11:15 AM  Arizona (MST)
ARCHITECT : Dr. Vance Vasile
CHANGELOG (newest first):
  1.1.1  2026-11-19 11:15 AM MST - phones: each top bar link stays on one line; the bar takes a second row when the links need it.
  1.1.0  2026-11-19 10:20 AM MST - drop-down boxes (select) look like the other boxes.
  1.0.0  2026-11-19 8:30 AM MST - first version: the shared drvance.com app look (black and gold, Georgia
         headings, Arial body), top bar, buttons, banners, forms (labels one line, required mark on the
         label line, help under the box), password eye, tick boxes, tables, tags, closed sections, help page.
         Each app adds only its own screen in <app>.css.
============================================================================ */
:root { --ink: #0E0C0A; --ink2: #1A1714; --ink3: #24201B; --line: #3A332B; --gold: #D9B872; --gold2: #E9CF8F; --text: #F4EEE4;
        --muted: #B9AE9C; --bad: #B3261E; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: Arial, Helvetica, sans-serif; background: var(--ink); color: var(--text); font-size: 15px; }
[hidden] { display: none !important; }
a { color: var(--gold2); }
button { font: inherit; cursor: pointer; }
.sp { flex: 1; }
.inline { display: inline; margin: 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* top bar */
.top { display: flex; align-items: center; gap: 6px; padding: 5px 10px; border-bottom: 1px solid var(--line); min-height: 48px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.brand img { display: block; }
.brand span { font-family: Georgia, "Times New Roman", serif; font-size: 19px; color: var(--gold2); white-space: nowrap; }
.who { color: var(--muted); font-size: 14px; padding: 0 6px; }
.tlink { color: var(--text); background: none; border: 1px solid transparent; padding: 8px 10px; border-radius: 8px; text-decoration: none; font-size: 15px; min-height: 40px; display: inline-flex; align-items: center; }
.tlink:hover { border-color: var(--line); }

/* buttons and messages */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 16px; border-radius: 8px; border: 1px solid var(--line); background: var(--ink3); color: var(--text); font-weight: 700; text-decoration: none; font-size: 14px; }
.btn.gold { background: linear-gradient(115deg, #9F7835, #E9CF8F 42%, #A57C35 70%, #D9B872); color: #000; border: 0; }
.banner { padding: 10px 14px; border-radius: 8px; margin: 10px 0; font-size: 15px; }
.banner.ok { background: #1F2A1E; border: 1px solid #3B6B37; color: #DCEFD8; }
.banner.bad { background: #2E1715; border: 1px solid #8C4A45; color: #F7D9D6; }

/* pages and forms */
.page { max-width: 1040px; margin: 0 auto; padding: 16px; }
.card { background: var(--ink2); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.narrow { max-width: 440px; margin: 24px auto; }
h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: var(--gold2); font-size: 28px; margin: 6px 0 6px; }
h2 { font-family: Georgia, serif; font-weight: 400; color: var(--gold2); font-size: 21px; margin: 22px 0 8px; }
.sub { color: var(--muted); font-size: 13px; margin: 0 0 12px; }
.form { display: grid; gap: 12px; max-width: 640px; }
.fld { display: flex; flex-direction: column; gap: 5px; }
.lbl { font-size: 14px; color: var(--muted); white-space: nowrap; }
.req { color: var(--gold); font-size: inherit; font-weight: 700; }
.fld input, .fld select { height: 44px; border-radius: 8px; border: 1px solid var(--line); background: #000; color: #fff; padding: 0 12px; font-size: 16px; width: 100%; }
.help { font-size: 13px; color: var(--muted); margin: -4px 0 0; }
.pwwrap { position: relative; display: block; }
.pwwrap input { padding-right: 48px; }
.pweye { position: absolute; right: 2px; top: 2px; width: 44px; height: 40px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; }
.pweye svg { stroke: currentColor; fill: none; stroke-width: 1.8; }

/* lists, users, tables */
.pill { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 10px; border: 1px solid var(--line); color: var(--muted); }
.nw { white-space: nowrap; text-align: right; }
.foot { color: var(--muted); font-size: 12.5px; margin-top: 18px; }
details.sec { border-top: 1px solid var(--line); margin-top: 18px; }
details.sec summary { cursor: pointer; padding: 12px 0; color: var(--gold2); font-family: Georgia, serif; font-size: 19px; }
details.sec summary span { color: var(--muted); font-size: 14px; margin-left: 6px; font-family: Arial, sans-serif; }

.btn.small { min-height: 32px; padding: 4px 10px; font-size: 13px; font-weight: 400; }
.btn.quiet { background: none; }
.btn.danger { color: #F2B8B5; border-color: #8C4A45; background: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.tick { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.tick input { width: 22px; height: 22px; }
.lead { color: var(--text); }
.back { display: inline-block; margin: 4px 0; }
.codebox b { font-size: 20px; letter-spacing: 1px; color: #fff; }
.pill.ok { border-color: #3B6B37; color: #BFE3B9; }
.pill.bad { border-color: #8C4A45; color: #F2B8B5; }
h1 .pill { vertical-align: middle; font-family: Arial, sans-serif; }
.tablewrap { overflow-x: auto; }
table.grid { border-collapse: collapse; width: 100%; font-size: 15px; }
table.grid th, table.grid td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
table.grid th { color: var(--muted); font-weight: 400; font-size: 13px; }
table.grid.small td { font-size: 13px; padding: 6px 8px; }
.js-rowlink { cursor: pointer; }
.js-rowlink:hover td { background: var(--ink3); }
.form + .form { margin-top: 14px; }
.form + .help { margin-top: 12px; }

/* help */
.helpdoc { line-height: 1.55; overflow-wrap: anywhere; }
.helpdoc code { background: #000; padding: 1px 5px; border-radius: 4px; word-break: break-all; }

@media (max-width: 640px) {
  .hide-s { display: none; }
  .row2 { grid-template-columns: 1fr; }
  .brand span, .who { display: none; }
  .top { gap: 0; padding: 5px 6px; flex-wrap: wrap; justify-content: flex-end; }
  .top .brand { margin-right: auto; }
  .top .sp { display: none; }
  .tlink { padding: 8px 5px; font-size: 14px; white-space: nowrap; }
  .btn { padding: 8px 12px; }
}
