/* PHOENIX ADAPTIVE DESIGN SUPPORT, the customer portal (/adaptive/). Built on Phoenix Check's own look (/css/site.css):
   ember on night, rem throughout so a reader's text size carries through, no word under 1rem, every control at least
   3rem (48 px) each way, typing boxes at 1rem (16 px, so an iPhone never zooms), and the pages hold together at 200 %
   text and 320 px wide. The portal is a showcase of the service: the Adaptive Framework measures it before it ships. */

[hidden] { display: none !important; }

/* ------------------------------------------------------------------ the door: a picture beside a card */
.door { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); min-height: calc(100vh - 4.5rem); }
.door-art { position: relative; min-height: 16rem; overflow: hidden; isolation: isolate; }
.door-art img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.door-art::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--ink) 0%, rgba(11, 6, 8, 0.35) 55%, rgba(11, 6, 8, 0.15) 100%); }
.door-art .caption { position: absolute; left: var(--gutter); right: var(--gutter-r); bottom: 1.75rem; }
.door-art .caption b { display: block; font: 700 clamp(1.4rem, 3vw, 2rem)/1.15 var(--display); letter-spacing: 0.06em; color: var(--cream); text-shadow: 0 0 1.5rem rgba(255, 110, 30, 0.5); overflow-wrap: anywhere; }
.door-art .caption span { display: block; margin-top: 0.4rem; color: var(--text); }
.door-main { display: flex; align-items: center; justify-content: center; padding: 3rem var(--gutter-r) 3rem var(--gutter); }
.door-card {
  width: 100%; max-width: 34rem; padding: calc(var(--pad) + 0.5rem) var(--pad);
  border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.25);
  background: var(--panel); box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.45);
}
.door-card.wide { max-width: 44rem; }
.door-title { margin: 0 0 0.75rem; font: 700 clamp(1.75rem, 4vw, 2.4rem)/1.15 var(--display); letter-spacing: 0.05em; color: var(--cream); overflow-wrap: anywhere; hyphens: auto; }
.lede-sm { margin: 0 0 1.5rem; color: var(--muted); font-size: 1.05rem; }
.door-card .kicker { margin-bottom: 0.5rem; }
.door-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; margin: 1.25rem 0 0; }
.door-links a { display: inline-flex; align-items: center; min-height: 3rem; }

/* ------------------------------------------------------------------ forms */
.stack { display: grid; gap: 0.5rem; }
.stack .btn { justify-self: start; margin-top: 0.75rem; }
.label { display: block; margin-top: 0.6rem; font-weight: 700; color: var(--text); }
.label .opt { font-weight: 400; color: var(--muted); }
.field {
  display: block; width: 100%; min-height: 3rem; padding: 0.65rem 0.9rem;
  font: 1rem/1.4 var(--sans); color: var(--text); background: rgba(11, 6, 8, 0.7);
  border: 1px solid rgba(255, 190, 130, 0.35); border-radius: 0.75rem;
}
.field:focus { border-color: var(--flame); outline: 0.15rem solid rgba(255, 178, 62, 0.45); outline-offset: 0.1rem; }
textarea.field { min-height: 7rem; resize: vertical; }
.field.code { max-width: 13rem; font: 700 1.5rem/1.2 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; letter-spacing: 0.3em; }
.field.code.wide { max-width: 20rem; font-size: 1.15rem; letter-spacing: 0.1em; }
.hint { margin: 0.1rem 0 0; color: var(--muted); }
.out { min-height: 1.6em; margin: 0.75rem 0 0; color: var(--flame); font-weight: 600; }
.note { margin: 0.5rem 0 0; color: var(--muted); }
.note.warn { color: var(--flame); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 1rem 0 0; }
.row.tight { margin: 0.5rem 0 0; gap: 0.25rem 1rem; justify-content: space-between; }
.btn.small { padding: 0.55rem 1.1rem; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; filter: grayscale(0.3); }
.linkish { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 0.25rem; font: inherit; color: var(--gold); background: none; border: 0; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; text-align: left; }
.linkish:hover { color: #fff0c8; }
.tick { display: flex; align-items: center; gap: 0.5rem; min-height: 3rem; margin-top: 1rem; cursor: pointer; }
.show { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 3rem; margin-top: 0.25rem; color: var(--muted); cursor: pointer; }
/* A tick box: a 1.5rem box drawn in the middle of a 3rem square, so the place a finger lands is the full 48 px (the
   Adaptive Framework measures the box itself, as a finger does) while the box looks the size people expect. */
.tick input, .show input {
  flex: none; width: 3rem; height: 3rem; margin: 0 0 0 -0.75rem; appearance: none; -webkit-appearance: none; cursor: pointer;
  border-radius: 0.75rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='1' y='1' width='22' height='22' rx='5' fill='%230b0608' stroke='%23ffbe82' stroke-width='2'/%3E%3C/svg%3E") center / 1.5rem no-repeat;
}
.tick input:checked, .show input:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='1' y='1' width='22' height='22' rx='5' fill='%23ff6a1a' stroke='%23ff6a1a' stroke-width='2'/%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230b0608' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.tick input:focus-visible, .show input:focus-visible { outline: 0.15rem solid var(--flame); outline-offset: -0.35rem; }
@media (forced-colors: active) { .tick input, .show input { appearance: auto; -webkit-appearance: checkbox; width: 1.5rem; height: 1.5rem; margin: 0; background: none; } }
.tick + .note { margin-top: 0; }
/* the box people never see: a program that fills every field fills this one too (server/adaptive/botcheck.js) */
.honey { position: absolute; left: -100vw; top: auto; width: 1px; height: 1px; overflow: hidden; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 0 1rem; }

/* the person check */
.check { margin: 1.5rem 0 0; padding: var(--pad); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(11, 6, 8, 0.45); min-width: 0; }
.check legend { padding: 0 0.4rem; font-weight: 700; color: var(--gold); }
.check .picture { width: 100%; max-width: 27.5rem; height: auto; aspect-ratio: 440 / 160; margin: 0.5rem 0; border-radius: 0.75rem; border: 1px solid var(--line); background: #1b0f14; }
.check .question { margin: 0.5rem 0 0; font-size: 1.1rem; color: var(--text); }
.check-status { min-height: 1.6em; }

/* the second step */
.alt-way { margin: 0.5rem 0 0; }
.promise { margin: 1.5rem 0 0; padding: 0.9rem 1rem; border-left: 0.2rem solid var(--ember); background: rgba(255, 106, 26, 0.07); border-radius: 0 0.75rem 0.75rem 0; color: var(--muted); }
.setup-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.setup-steps > li { position: relative; padding: 0 0 1.25rem 3rem; counter-increment: s; }
.setup-steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; font-weight: 800; color: #1a0a04; background: linear-gradient(180deg, #ffc35a, var(--ember)); }
.setup-steps b { display: block; margin: 0.15rem 0 0.25rem; color: var(--cream); }
.add-app { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 1rem; align-items: start; margin-top: 0.5rem; }
.add-app p { margin: 0 0 0.5rem; color: var(--muted); }
.qr svg { display: block; width: 100%; max-width: 13rem; height: auto; padding: 0.5rem; background: #fff; border-radius: 0.75rem; }
.key { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.key code { padding: 0.5rem 0.7rem; border-radius: 0.5rem; background: rgba(255, 255, 255, 0.06); font: 1rem/1.4 ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0.06em; overflow-wrap: anywhere; }
.codes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: 0.5rem; margin: 0.5rem 0 0; padding: 0; list-style: none; }
.codes li code { display: block; padding: 0.55rem 0.7rem; border-radius: 0.5rem; background: rgba(255, 255, 255, 0.06); font: 1rem/1.4 ui-monospace, Menlo, Consolas, monospace; text-align: center; }

/* ------------------------------------------------------------------ the workspace */
.work { max-width: 64rem; margin: 0 auto; padding: 2.5rem var(--gutter-r) 4rem var(--gutter); }
.hello { margin: 0 0 2rem; }
.panel { margin: 0 0 1.5rem; padding: var(--pad); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.25); background: var(--panel); }
.panel h2 { margin: 0 0 0.75rem; font: 700 clamp(1.3rem, 3vw, 1.6rem)/1.2 var(--display); letter-spacing: 0.05em; color: var(--cream); }
.panel p { margin: 0 0 0.5rem; color: var(--muted); }
.panel.soon { border-color: var(--line-hot); background: linear-gradient(135deg, rgba(255, 106, 26, 0.12), rgba(28, 12, 18, 0.72) 60%); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: 0.75rem; margin: 0.5rem 0 0.5rem; }
.fact { padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(11, 6, 8, 0.45); }
.fact-label { display: block; color: var(--muted); }
.fact b { display: block; margin-top: 0.15rem; font-size: 1.1rem; color: var(--text); overflow-wrap: anywhere; }
.fact.good b { color: #8ee6a8; }
.fact.warn b { color: var(--flame); }
.keys { margin: 1rem 0 0; padding: 0; list-style: none; }
.keys li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding: 0.6rem 0; border-top: 1px solid var(--line); }
.details { display: grid; grid-template-columns: minmax(0, max-content) minmax(0, 1fr); gap: 0.4rem 1.5rem; margin: 0; }
.details dt { color: var(--muted); }
.details dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 30rem) { .details { grid-template-columns: minmax(0, 1fr); } .details dd { margin-bottom: 0.5rem; } }
.account-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }

/* a sheet over the page for a step that needs its own space (a native dialog: focus stays inside, Escape closes it) */
dialog.sheet {
  width: min(36rem, calc(100vw - 2rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  max-height: calc(100vh - 2rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); padding: var(--pad);
  /* centred in the part of the screen the camera, the corners and the home bar leave free */
  inset: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  color: var(--text); background: #1a0b11; border: 1px solid var(--line-hot); border-radius: calc(var(--radius) * 1.25);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.6);
}
dialog.sheet::backdrop { background: rgba(5, 2, 4, 0.72); }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.sheet-head h2 { margin: 0.5rem 0 0.75rem; font: 700 1.35rem/1.25 var(--display); color: var(--cream); overflow-wrap: anywhere; }
.sheet .close { flex: none; width: 3rem; height: 3rem; font-size: 1.6rem; line-height: 1; color: var(--text); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.sheet p { color: var(--muted); }

/* the thank-you after a form */
.thanks { text-align: left; }
.thanks .big { display: grid; place-items: center; width: 4rem; height: 4rem; margin: 0 0 1rem; border-radius: 50%; background: radial-gradient(circle, #fff3c4 0%, var(--flame) 45%, var(--ember) 100%); color: #1a0a04; font-size: 2rem; font-weight: 800; }
.next { margin: 1rem 0 0; padding-left: 1.25rem; color: var(--muted); }
.next li { margin: 0.4rem 0; }

/* a short message at the foot of the screen */
.toast {
  position: fixed; left: 50%; bottom: max(1.25rem, env(safe-area-inset-bottom, 0px)); z-index: 40;
  max-width: min(32rem, calc(100vw - 2rem)); padding: 0.85rem 1.2rem; border-radius: 0.9rem;
  background: #24101a; border: 1px solid var(--line-hot); color: var(--text);
  transform: translate(-50%, 200%); opacity: 0; transition: transform 0.3s, opacity 0.3s; pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast.good { border-color: rgba(120, 220, 150, 0.6); }
.toast.bad { border-color: rgba(255, 120, 90, 0.8); }
.details + .note { margin-top: 1rem; }

/* projects (the workspace) and one project (/adaptive/project/) */
.btn.danger { color: #fff; background: #a3261c; border-color: #ff8a70; box-shadow: none; }
.btn.danger:hover { background: #bf2e22; }
.back { display: inline-flex; align-items: center; min-height: 3rem; margin-bottom: 0.25rem; color: var(--gold); }
.back::before { content: '\2190'; margin-right: 0.4rem; }
.row.tight-left { margin: 0; gap: 0 1rem; }
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: 0.75rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.project-card { min-width: 0; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(11, 6, 8, 0.45); }
.project-card .name { display: inline-flex; align-items: center; min-height: 3rem; font: 700 1.2rem/1.25 var(--display); letter-spacing: 0.04em; color: var(--cream); overflow-wrap: anywhere; }
.project-card .site { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.counts { display: flex; flex-wrap: wrap; gap: 0.4rem 0.5rem; margin: 0.6rem 0 0; padding: 0; list-style: none; }
.counts li { padding: 0.2rem 0.65rem; border: 1px solid var(--line); border-radius: 1rem; color: var(--text); }
.sev-P1 { color: #ffab9b !important; }
.sev-P2 { color: #ffd27a !important; }
.sev-P3 { color: var(--muted) !important; }
.good-n { color: #8ee6a8 !important; }
.new-project { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.new-project h3 { margin: 0; font: 700 1.15rem/1.3 var(--display); letter-spacing: 0.04em; color: var(--cream); }
.field.file { padding: 0.6rem; min-height: 3rem; }
.field.file::file-selector-button { min-height: 2.5rem; margin-right: 0.75rem; padding: 0.4rem 1rem; font: inherit; color: var(--text); background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-hot); border-radius: 0.6rem; cursor: pointer; }
table.runs { width: 100%; margin: 0.5rem 0 0; border-collapse: collapse; }
table.runs th { padding: 0.5rem; text-align: left; color: var(--muted); font-weight: 700; }
table.runs td { padding: 0.5rem; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
table.runs td.act { text-align: right; }
table.runs td.act .btn { margin: 0.15rem 0; }
@media (max-width: 44rem) {
  table.runs thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table.runs, table.runs tbody, table.runs tr, table.runs td { display: block; width: 100%; }
  table.runs tr { padding: 0.5rem 0; border-top: 1px solid var(--line); }
  table.runs td { display: flex; justify-content: space-between; gap: 1rem; padding: 0.25rem 0; border: 0; }
  table.runs td::before { content: attr(data-label); color: var(--muted); }
  table.runs td.act { flex-wrap: wrap; justify-content: flex-start; gap: 0.5rem; padding-top: 0.5rem; }
  table.runs td.act::before { content: none; }
}

/* Sign in with Discord (server/adaptive/discord.js): an "or" between the two ways in, and the second way. */
.other-way { margin: 1rem 0 0; }
.or { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 1rem; color: var(--muted); }
.or::before, .or::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
.btn.discord { width: 100%; justify-content: center; }

/* the charts (the report, adaptive-viewer.js, and a project's progress, adaptive-project.js): bars with their totals at the end, a legend where a bar has parts, and the same numbers as a table */
.charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); gap: 1.5rem; }
.chart h3 { margin: 0 0 0.75rem; font: 700 1.1rem/1.3 var(--display); letter-spacing: 0.03em; color: var(--cream); }
.bars { display: grid; gap: 0.6rem; }
.bar-row { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr) auto; align-items: center; gap: 0.75rem; }
.bar-name { color: var(--text); overflow-wrap: anywhere; }
.track { display: flex; gap: 2px; min-height: 1rem; }
.seg { display: block; min-width: 4px; height: 1rem; }
.seg:last-child { border-radius: 0 4px 4px 0; }
.bar-n { min-width: 2.5rem; text-align: right; color: var(--text); }
@media (max-width: 34rem) {
  .bar-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0.25rem; }
  .bar-name { grid-column: 1 / -1; }
}
.legend { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin: 0.75rem 0 0; padding: 0; list-style: none; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 0.4rem; }
.legend i { width: 0.8rem; height: 0.8rem; border-radius: 0.2rem; }
.as-table { max-width: 100%; margin-top: 0.5rem; overflow-x: auto; }
.as-table summary, .where summary { display: inline-flex; align-items: center; min-height: 3rem; color: var(--gold); cursor: pointer; }
table.data { width: 100%; border-collapse: collapse; }
table.data caption { text-align: left; color: var(--muted); padding: 0.25rem 0; }
table.data th, table.data td { padding: 0.4rem 0.5rem; border-top: 1px solid var(--line); text-align: left; }
table.data td { text-align: right; }
.tip { position: fixed; z-index: 50; max-width: 18rem; padding: 0.45rem 0.7rem; border-radius: 0.6rem; background: #24101a; border: 1px solid var(--line-hot); color: var(--text); pointer-events: none; opacity: 0; transition: opacity 0.12s; }
.tip.show { opacity: 1; }

/* ------------------------------------------------------------------ Ember, the flame guide (adaptive-guide.js) */
.bar nav .guide-btn { gap: 0.4rem; min-width: 3rem; color: var(--muted); text-decoration: none; }
.bar nav .guide-btn:hover, .bar nav .guide-btn[aria-expanded="true"] { color: var(--gold); }
.bar nav .guide-btn img { width: 1.25rem; height: auto; }
.guide-who { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.guide-who h2 { margin: 0; font: 700 1.35rem/1.25 var(--display); color: var(--cream); overflow-wrap: anywhere; }
.ember { flex: none; width: 3rem; height: auto; filter: drop-shadow(0 0 0.6rem rgba(255, 120, 40, 0.45)); }
.ember.small { width: 2.25rem; }
dialog.guide-sheet { width: min(42rem, calc(100vw - 2rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px))); }
.guide-sheet .sheet-head { align-items: center; margin-bottom: 0.5rem; }
.guide-topics { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0 0.5rem; }
.guide-topics .chip { min-height: 3rem; padding: 0 1rem; font: inherit; color: var(--text); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 1.5rem; cursor: pointer; }
.guide-topics .chip:hover { border-color: var(--line-hot); }
.guide-topics .chip[aria-pressed="true"] { color: #1a0b11; background: var(--gold); border-color: var(--gold); font-weight: 700; }
.guide-list .sub, .guide-found .note { margin: 1rem 0 0.25rem; }
.guide-list .sub { font: 700 1.1rem/1.3 var(--display); color: var(--cream); }
.faq { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; min-height: 3rem; padding: 0.4rem 0; color: var(--text); font-weight: 700; cursor: pointer; overflow-wrap: anywhere; }
.faq summary:hover { color: var(--gold); }
.faq[open] summary { color: var(--gold); }
.faq p { margin: 0 0 0.75rem; }
.guide-hello { display: grid; gap: 0.25rem; border-color: var(--line-hot); background: linear-gradient(135deg, rgba(255, 106, 26, 0.12), rgba(28, 12, 18, 0.72) 60%); }
.guide-hello p { margin: 0.5rem 0 0; }
.guide-tour {
  position: fixed; z-index: 60; right: calc(1rem + env(safe-area-inset-right, 0px)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  width: min(24rem, calc(100vw - 2rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  max-height: calc(100vh - 2rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); overflow: auto;
  padding: var(--pad); color: var(--text); background: #1a0b11; border: 1px solid var(--line-hot); border-radius: calc(var(--radius) * 1.25);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.6);
}
.guide-tour .kicker { display: block; margin: 0; }
.guide-tour h2 { font-size: 1.15rem; }
.guide-tour p { margin: 0.75rem 0 0; color: var(--muted); }
.guide-tour h2:focus { outline: none; }
.guide-spot { position: relative; z-index: 1; outline: 3px solid var(--gold); outline-offset: 4px; border-radius: var(--radius); box-shadow: 0 0 0 0.5rem rgba(255, 170, 60, 0.15); }
@media (prefers-reduced-motion: no-preference) { .guide-spot { transition: outline-color 0.2s; } }
@media print { .guide-btn, .guide-tour, .guide-hello, dialog.guide-sheet { display: none !important; } .guide-spot { outline: none; box-shadow: none; } }
@media (forced-colors: active) { .guide-spot { outline-color: Highlight; } .guide-topics .chip[aria-pressed="true"] { forced-color-adjust: none; color: HighlightText; background: Highlight; } }

/* ------------------------------------------------------------------ a project's team (adaptive-project.js, team.js) */
.shared { margin: 0.5rem 0 0; color: var(--gold); }
.choice { margin: 0.75rem 0 0; padding: 0; border: 0; min-width: 0; }
.choice .pick { display: flex; align-items: center; gap: 0.6rem; min-height: 3rem; color: var(--text); cursor: pointer; }
.choice .pick input { flex: none; width: 1.4rem; height: 1.4rem; margin: 0; accent-color: var(--gold); }
.big-code { margin: 0.5rem 0; font: 700 clamp(1.4rem, 5vw, 2rem)/1.2 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; letter-spacing: 0.08em; color: var(--cream); overflow-wrap: anywhere; user-select: all; }
.team-code:not(:empty) { margin: 1rem 0; padding: var(--pad); border: 1px solid var(--line-hot); border-radius: var(--radius); background: rgba(255, 106, 26, 0.08); }
.team-list select.field { width: auto; min-width: 10rem; }
