/* support/support.css — the support section (#246; the approved mock docs/mocks/support-centre.html, "topic tiles").
   The website's information-page look (support.html / privacy.html before this build: the ground, the ink, the 720
   column, the gold h2, .box's card and rim) and the sign-in form's fields and button (web/web.css 250-264, 347-352),
   written as values because these pages carry no web/web.css. The footer is web/foot.css. */
:root { color-scheme: dark; }
body {
  margin: 0; background: #0d0d0f; color: #e7e7ea;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65; font-size: 17px;
}
*, *::before, *::after { box-sizing: border-box; }
.wrap { max-width: 720px; margin: 0 auto; padding: 40px 22px 56px; }
h1 { font-size: 30px; line-height: 1.25; margin: 0 0 4px; }
h2 { font-size: 20px; line-height: 1.3; margin: 34px 0 10px; color: #facc15; }
.meta { color: #8a8a93; font-size: 14px; margin: 0 0 8px; }
a { color: #8ab4ff; }
:focus-visible { outline: 2px solid #8ab4ff; outline-offset: 2px; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.g { display: block; flex: none; }
.crumb { position: relative; display: inline-block; font-size: 15px; line-height: 22px; margin: -6px 0 10px; }
/* a 44 px target round the 22 px line, nothing drawn */
.crumb::after { content: ""; position: absolute; inset: -11px -6px; }

/* the search box */
.search { position: relative; margin: 18px 0 22px; }
.search .g { position: absolute; left: 16px; top: 50%; margin-top: -10px; pointer-events: none; }
.search input {
  width: 100%; padding: 14px 16px 14px 46px; border: 1px solid #27272a; border-radius: 12px; background: #1f1f23;
  color: #f5f5f5; font: inherit; font-size: 17px; line-height: 21px;
  -webkit-appearance: none; appearance: none;
}
.search input::placeholder { color: #b4bac2; opacity: 1; }
/* the search's submit button is hidden until a keyboard reaches it; then it shows, with its focus ring */
.search button.vh:focus-visible {
  position: static; width: auto; height: auto; margin: 10px 0 0; padding: 10px 16px; overflow: visible; clip: auto;
  white-space: normal; border: 0; border-radius: 12px; background: #2563eb; color: #fff; font: inherit; font-weight: 700;
}

/* the six tiles */
/* two columns while a name fits one line in half the column (9em), else one; three on a computer */
.tiles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(max(9em, calc(50% - 5px)), 1fr)); gap: 10px;
  margin: 0; padding: 0; list-style: none;
}
.tiles li { margin: 0; min-width: 0; }
.tile {
  display: flex; flex-direction: column; gap: 12px; min-width: 0; height: 100%; padding: 16px 10px 14px;
  background: #141417; border: 1px solid #2a2a31; border-radius: 12px; color: #e7e7ea; text-decoration: none;
}
.tile:hover { border-color: #3a3a44; }
.tile span { font-size: 15px; font-weight: 700; line-height: 20px; }
@media (min-width: 1024px) {
  .wrap { padding-top: 56px; }
  .tiles { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  .tile { padding: 20px 18px 18px; }
  .tile span { font-size: 16px; }
}

/* the two buttons */
.btns { display: flex; gap: 10px; margin-top: 22px; }
.btn {
  flex: 1; min-width: 0; display: block; padding: 15px 12px; border: 0; border-radius: 12px; background: #2563eb;
  color: #fff; font: inherit; font-size: 16px; font-weight: 700; line-height: 19px; text-align: center; text-decoration: none; cursor: pointer;
}
/* side by side while each label fits one line (9em), stacked when the text is larger */
.btns { flex-wrap: wrap; }
.btns .btn { flex: 1 1 9em; }
.btn.out { background: #141417; border: 1px solid #2a2a31; color: #e7e7ea; padding: 14px 12px; }
.btn[disabled] { opacity: .6; cursor: default; }
@media (min-width: 1024px) { .btns .btn { flex: none; width: 200px; } }

/* the questions, folded (details / summary: they open without script) */
.ql { background: #141417; border: 1px solid #2a2a31; border-radius: 12px; overflow: hidden; margin-top: 16px; }
h2 + .ql { margin-top: 0; }
.ql details + details { border-top: 1px solid #2a2a31; }
.ql summary {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 14px 12px 16px; cursor: pointer;
  list-style: none; font-size: 16px; font-weight: 600; line-height: 21px;
}
.ql summary::-webkit-details-marker { display: none; }
.ql summary span { flex: 1; min-width: 0; }
.ql details[open] summary { font-weight: 700; }
.ql .minus, .ql details[open] .plus { display: none; }
.ql details[open] .minus { display: block; }
.ql .a { margin: -4px 0 0; padding: 0 16px 16px; font-size: 16px; line-height: 1.6; }
.ql .a p { margin: 0; }
.ql .from { margin-top: 6px; font-size: 14px; color: #8a8a93; }

/* the forms */
.form { display: flex; flex-direction: column; margin-top: 18px; }
.form[hidden] { display: none; }
.lab { display: block; font-size: 13px; line-height: 16px; color: #b4bac2; margin: 16px 0 8px; }
.form > .lab:first-child, .form > fieldset:first-child legend { margin-top: 4px; }
.field {
  width: 100%; padding: 14px 16px; border: 1px solid #27272a; border-radius: 12px; background: #1f1f23;
  color: #f5f5f5; font: inherit; font-size: 17px; line-height: 21px; -webkit-appearance: none; appearance: none;
}
textarea.field { height: 104px; resize: vertical; text-align: left; }
.field::placeholder { color: #b4bac2; opacity: 1; }
.field[aria-invalid="true"] { border-color: #fb7185; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  position: relative; display: inline-block; padding: 8px 13px; border: 1px solid #27272a; border-radius: 999px; background: #1f1f23;
  color: #b4bac2; font-size: 14px; font-weight: 700; line-height: 18px; cursor: pointer;
}
/* a 46 px target round the 36 px pill, nothing drawn; the 8 px gap keeps neighbours apart */
.chip span::after { content: ""; position: absolute; inset: -5px 0; }
.chip input:checked + span { border-color: #2563eb; background: #2563eb; color: #fff; }
.chip input:focus-visible + span { outline: 2px solid #8ab4ff; outline-offset: 2px; }
.note { margin: 12px 0 0; color: #8a8a93; font-size: 14px; line-height: 20px; }
.tickrow { display: flex; align-items: center; gap: 12px; margin-top: 18px; min-height: 44px; font-size: 16px; line-height: 21px; cursor: pointer; }
.tickrow input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: #2563eb; }
.err { margin: 6px 0 0; color: #fda4af; font-size: 14px; line-height: 20px; }
.err:empty { display: none; }
.turn { margin-top: 12px; min-height: 86px; display: flex; align-items: center; justify-content: center; }
.form .btn { width: 100%; margin-top: 14px; }
.summary { margin: 14px 0 0; color: #fda4af; font-size: 15px; line-height: 21px; }
.summary:empty { display: none; }
.done { margin-top: 18px; padding: 14px 18px; background: #141417; border: 1px solid #2a2a31; border-radius: 12px; }
.done:focus { outline: none; }
.line { margin: 0; font-size: 16px; line-height: 26px; }
.count { margin: 0 0 8px; color: #8a8a93; font-size: 14px; }
.count:empty { display: none; }
ul.plain { padding-left: 20px; }
ul.plain li { margin: 6px 0; }
