/* instanthpi-public.css: the public doctor pages of instanthpi.com (/costs, /guild, /security, /privacy; site JOB-022).
   The same tokens as /doctors: navy background, cyan accent, Inter and JetBrains Mono, 8/12 px radii. */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background: #0a0a0f; color: #e0e0e0; line-height: 1.6; }
a { color: #00f0ff; }
[hidden] { display: none !important; }
header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; border-bottom: 1px solid #1f2233; flex-wrap: wrap; }
header nav { display: flex; align-items: center; gap: 16px; font-size: 14px; }
header nav a { text-decoration: none; }
.brand { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 18px; color: #00f0ff; text-decoration: none; }
.brand span { color: #8b97a6; font-weight: 500; font-size: 13px; margin-left: 8px; }
.btn { display: inline-block; background: #00f0ff; color: #0a0a0f; font-weight: 700; text-decoration: none; padding: 12px 22px; border-radius: 8px; font-size: 15px; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { background: #7ff7ff; }
.btn.small { padding: 8px 14px; font-size: 13px; }
.btn.ghost { background: transparent; color: #00f0ff; border: 1px solid #00f0ff; }
.btn:disabled { opacity: 0.6; cursor: default; }
main { max-width: 1040px; margin: 0 auto; padding: 24px 24px 64px; }
h1 { font-size: 34px; line-height: 1.2; color: #ffffff; margin: 24px 0 14px; }
h2 { font-size: 22px; color: #ffffff; margin: 36px 0 12px; }
h3 { font-size: 17px; color: #ffffff; margin: 22px 0 8px; }
p { margin: 0 0 12px; color: #c9d3de; }
.principle { font-family: 'JetBrains Mono', monospace; color: #00f0ff; font-weight: 700; font-size: 15px; margin-top: 18px; }
.lead { font-size: 18px; color: #e0e0e0; }
.big { font-size: 30px; color: #ffffff; font-family: 'JetBrains Mono', monospace; }
.fine { font-size: 12.5px; color: #8b97a6; }
ul.plain, ol.plain { margin: 0 0 12px 20px; color: #c9d3de; }
ul.plain li, ol.plain li { margin-bottom: 6px; }
.table-wrap { overflow-x: auto; margin: 18px 0 8px; border: 1px solid #1f2233; border-radius: 12px; }
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.data th, table.data td { padding: 9px 12px; border-bottom: 1px solid #1f2233; text-align: left; white-space: nowrap; }
table.data th { color: #8b97a6; font-weight: 600; font-size: 12.5px; background: #12121f; }
table.data td.num { text-align: right; font-family: 'JetBrains Mono', monospace; }
ul.roll { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; margin-top: 8px; color: #d6dee8; }
.card { background: #12121f; border: 1px solid #1f2233; border-radius: 12px; padding: 20px; margin: 12px 0; }
.charter h2 { font-size: 19px; }
.charter table { border-collapse: collapse; margin: 10px 0; font-size: 14px; }
.charter th, .charter td { border: 1px solid #1f2233; padding: 8px 10px; text-align: left; vertical-align: top; }
.why { counter-reset: why; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0; }
.why li { background: #12121f; border: 1px solid #1f2233; border-radius: 12px; padding: 14px 16px; }
.why li strong { display: block; color: #ffffff; margin-bottom: 4px; }
.why li p { font-size: 14.5px; margin: 0; }
form.join { display: grid; gap: 10px; max-width: 520px; }
form.join label { font-size: 13.5px; color: #b9c6d4; display: grid; gap: 4px; }
form.join input, form.join select { background: #1a1a2e; border: 1px solid #252545; border-radius: 8px; color: #e0e0e0; font-family: inherit; font-size: 15px; padding: 10px 12px; }
form.join label.check { display: block; }
form.join label.check input { width: auto; padding: 0; margin-right: 6px; vertical-align: middle; }
form.join input:focus, form.join select:focus { outline: none; border-color: #7b61ff; }
.msg { font-size: 14px; min-height: 20px; }
.msg.ok { color: #4ade80; }
.msg.err { color: #ff6b8b; }
footer { text-align: center; color: #66708a; font-size: 13px; padding: 24px; border-top: 1px solid #1f2233; }
@media (max-width: 760px) { h1 { font-size: 27px; } ul.roll, .why { grid-template-columns: minmax(0, 1fr); } }

/* site JOB-026: the group page (/groups/<slug>) and the admin list */
.grp-stats { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 6px 0 4px; color: #ffffff; font-weight: 600; }
.grp-stats p { color: inherit; margin: 0; }
.grp-note { font-size: 13.5px; color: #8b97a6; }
.grp-list, .grp-notes, .grp-history { list-style: none; display: grid; gap: 6px; margin: 8px 0; }
.grp-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #d6dee8; }
.grp-where, .grp-date { color: #8b97a6; font-size: 13px; }
.grp-type, .grp-role { font-size: 12px; border: 1px solid #252545; border-radius: 8px; padding: 1px 8px; color: #b9c6d4; margin-left: 8px; }
.grp-role { color: #4ade80; border-color: #4ade80; }
.grp-notes li { border-top: 1px solid #1f2233; padding-top: 8px; white-space: pre-wrap; overflow-wrap: anywhere; }
.grp-notes p { margin: 0 0 2px; }
.grp-history li { font-size: 13.5px; color: #c9d3de; }
.grp-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
.grp-steps li { font-size: 12.5px; border: 1px solid #252545; border-radius: 8px; padding: 3px 10px; color: #8b97a6; }
.grp-steps li.done { color: #4ade80; border-color: #2c6e49; }
.grp-steps li.now { color: #0a0a0f; background: #00f0ff; border-color: #00f0ff; font-weight: 700; }
.grp-field { display: grid; gap: 4px; font-size: 13.5px; color: #b9c6d4; margin: 8px 0; max-width: 560px; }
.grp-check { display: block; font-size: 14px; color: #d6dee8; margin: 6px 0; }
.grp-move { border-top: 1px solid #1f2233; margin-top: 12px; padding-top: 4px; }
#groupRoot input[type="text"], #groupRoot input[type="date"], #groupRoot input[type="number"], #groupRoot textarea, #groupRoot select { background: #1a1a2e; border: 1px solid #252545; border-radius: 8px; color: #e0e0e0; font: inherit; font-size: 14px; padding: 9px 11px; width: 100%; max-width: 560px; }
#groupRoot select { width: auto; }
#groupRoot textarea { resize: vertical; display: block; }
#groupRoot button { background: #1a1a2e; color: #e0e0e0; border: 1px solid #252545; border-radius: 8px; font: inherit; font-size: 14px; padding: 8px 14px; cursor: pointer; }
#groupRoot button.primary, #groupRoot button.btn { background: #00f0ff; color: #0a0a0f; border-color: #00f0ff; font-weight: 700; }
#groupRoot button:disabled { opacity: 0.6; cursor: default; }
#groupRoot .actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; align-items: center; }
#groupRoot h1 { overflow-wrap: anywhere; }
#groupRoot .card h2 { margin-top: 0; }
footer a { color: #8b97a6; }
