/* © 2026 Cromulent, Inc. All Rights Reserved.
   claim-admin.css - the admin's sheet, on claim.css's tokens and ground: the mark small with its role, a column of
   sections, each setting a heading, one line of help and its control. Crimson only on the one Save of each form and
   the full stops. No motion. */

.mark-row { display: flex; align-items: baseline; gap: 12px; }
.role { font: 500 11px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.top nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--crimson);
  text-underline-offset: 8px; text-decoration-thickness: 2px; }
.top .out { margin: 0; }
.top .out button { height: 34px; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px;
  background: transparent; color: var(--soft); font: 600 15px var(--face); cursor: pointer; }
.top .out button:hover { color: var(--ink); border-color: var(--muted); }

.page.admin { max-width: 46rem; }
.page.admin .lede { font-size: 18px; line-height: 28px; }
.page.admin .note { margin-top: 32px; }
.page.admin .note.quiet { border-left-color: var(--muted); }

.sheet { margin-top: 56px; }
.sheet section { border-top: 1px solid var(--line); padding-top: 28px; }
.sheet section + section { margin-top: 48px; }
.sheet h2 { margin: 0 0 8px; font: 600 11px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted); }
.row { padding: 20px 0; display: grid; gap: 8px; }
.row + .row { border-top: 1px solid rgba(58, 28, 36, .5); }
.row h3 { margin: 0; font: 600 18px/1.3 var(--face); letter-spacing: -.01em; }
.row h3 label { cursor: pointer; }
.help { margin: 0; max-width: 36em; color: var(--muted); font-size: 15px; line-height: 1.55; }

.sheet input[type="number"], .sheet input[type="password"], .sheet input:not([type]), .inline input {
  height: 44px; max-width: 22rem; width: 100%; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px;
  background: rgba(20, 7, 11, .85); color: var(--ink); font: 400 16px var(--face); }
.sheet input:focus, .inline input:focus { outline: none; border-color: var(--glow); }
.sheet input[name="code"], .inline input { font-family: var(--mono); letter-spacing: .04em; }
.amount { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.amount input[type="number"] { width: 7rem; font-family: var(--mono); text-align: right; }
.amount span { color: var(--soft); font-size: 15px; }

.switch, .choice { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; margin-top: 4px; }
.switch input, .choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--crimson); }
.switch span, .choice span { color: var(--soft); font-size: 16px; }
.choices { display: grid; gap: 10px; margin-top: 4px; }

.act { margin-top: 28px; }
.act button, .inline button { height: 44px; padding: 0 24px; border: 0; border-radius: 10px; background: var(--crimson);
  color: #fff; font: 600 16px var(--face); cursor: pointer; }
.act button:hover { background: #e51e55; }
.act button.plain, .inline button.plain { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.act button.plain:hover, .inline button.plain:hover { border-color: var(--muted); }

.people { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--line); }
.people li { padding: 20px 0; border-bottom: 1px solid rgba(58, 28, 36, .5); display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: baseline; gap: 12px 24px; }
.people li.is-off h3 { color: var(--muted); }
.people li.empty p { margin: 0; color: var(--muted); }
.who { display: flex; align-items: baseline; gap: 12px; }
.who h3 { margin: 0; font: 600 18px/1.3 var(--face); }
.state { font: 500 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.tools { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.tools form { margin: 0; }
button.link { padding: 0; border: 0; background: none; color: var(--soft); font: 400 15px var(--face); cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
button.link:hover { color: var(--ink); text-decoration-color: var(--ink); }
.tools details { width: 100%; }
.tools summary { color: var(--soft); font-size: 15px; cursor: pointer; }
.inline { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.inline label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.inline input { max-width: 16rem; }
.said-code { margin: 0; color: var(--muted); font-size: 15px; }
.said-code code { font: 500 16px var(--mono); color: var(--ink); letter-spacing: .04em; }

@media (max-width: 760px) {
  .top nav { gap: 16px; }
  body.admin .top nav a:not(.pill) { display: inline; }   /* the admin's two tabs stay on a phone */
  .role { display: none; }
  .sheet { margin-top: 40px; }
  .people li { flex-direction: column; }
}

/* the ornament layer (claim.css) frames a .sheet; admin's .sheet is the whole form, so its sections take the frame
   instead, one card a concern, numbered */
.page.admin { counter-reset: concern; }
.page.admin .sheet { background: none; box-shadow: none; border-radius: 0; }
.page.admin .sheet::before, .page.admin .sheet::after { display: none; }
.page.admin .sheet section { position: relative; padding: 26px 28px 10px; border: 0; border-radius: 16px; background: var(--sheet);
  box-shadow: inset 0 1px 0 rgba(249, 83, 123, .12), 0 0 0 1px var(--hair), 0 26px 60px -40px rgba(0, 0, 0, .9);
  counter-increment: concern; }
.page.admin .sheet section + section { margin-top: 20px; }
.page.admin .sheet section::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 1px;
  background: linear-gradient(90deg, var(--crimson), transparent 60%); }
.page.admin .sheet h2::before { content: "0" counter(concern) "  "; color: var(--glow); white-space: pre; }
.page.admin .act { margin: 24px 0 8px; }
