/* GlobalScorer cloud pages: sage header, calm and flat, Atkinson Hyperlegible where installed (System Description,
   "Interface and printing"). Phone first: everything fits a narrow screen. */
:root { --sage: #5A8A82; --slate: #2C3E50; --ink: #1d2327; --muted: #5b6770; --line: #d9dfe3; --bg: #f7f6f2; --danger: #a12622; --ok: #2f6b3b; }
* { box-sizing: border-box; }
body { margin: 0; font-family: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif; color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.45; }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px 32px; }
.top { background: var(--sage); color: #fff; padding: 12px 0; }
.top .wrap { padding-bottom: 0; }
.brand { font-weight: 700; letter-spacing: .3px; }
.sub { opacity: .9; margin-left: 8px; }
h1 { font-size: 1.5em; margin: 18px 0 6px; }
h2 { font-size: 1.15em; margin: 22px 0 8px; color: var(--slate); }
.meta { color: var(--muted); font-size: .92em; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 12px 0; }
a { color: var(--slate); }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: .9em; }
label { display: block; font-weight: 600; margin: 10px 0 4px; }
input[type=text], input[type=password], input[type=date], input[type=time], select { width: 100%; padding: 10px; font: inherit; border: 1px solid #b9c2c8; border-radius: 8px; background: #fff; }
button, .button { display: inline-block; font: inherit; padding: 10px 16px; border-radius: 8px; border: 1px solid var(--slate); background: #fff; color: var(--slate); cursor: pointer; text-decoration: none; }
button.main, .button.main { background: var(--slate); color: #fff; }
button.small { padding: 4px 10px; font-size: .9em; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.row > * { flex: 1 1 160px; }
.problem { color: var(--danger); font-weight: 600; }
.done { color: var(--ok); font-weight: 600; }
.badge { display: inline-block; font-size: .8em; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line); }
.badge.open { color: var(--ok); border-color: var(--ok); }
.badge.closed { color: var(--muted); }
.namebox { position: relative; }
.picks { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; background: #fff; border: 1px solid #b9c2c8; border-radius: 8px; margin: 2px 0 0; padding: 0; list-style: none; max-height: 280px; overflow: auto; }
.picks li { padding: 9px 10px; cursor: pointer; border-bottom: 1px solid var(--line); }
.picks li:hover, .picks li:focus { background: #eef3f2; }
.num { color: var(--muted); font-variant-numeric: tabular-nums; }
.key { font-family: Consolas, monospace; word-break: break-all; background: #fff8dc; padding: 8px; border-radius: 6px; }
form.inline { display: inline; }
