/* MoveConsole — the "ask us" form: text on the left, the form on the right. Used at the foot of every Help Center page
   and on /partners. The same fields and script as /contact (assets/contact.js, [data-contact], the .co-* parts), in the
   plain style of the role.css pages; each page's --accent / --tint-2 colour the focus ring. */

.askf-grid{ display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(28px, 5vw, 80px); padding-top: 22px; border-top: 1px solid var(--hair); }
.askf-txt{ display: grid; justify-items: start; gap: 18px; }
.askf-txt p{ max-width: 40ch; margin: 0; color: var(--ink-s); font-size: 17px; line-height: 1.55; }
.askf-txt a.askf-link{ color: var(--accent-600); text-decoration: underline; text-underline-offset: 3px; }

.askf-form{ position: relative; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--hair), 0 30px 60px -44px rgba(6, 26, 63, .35); }
.askf-form form{ display: grid; gap: 16px; padding: clamp(22px, 2.6vw, 32px); }
.askf-fields{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.askf-form .co-f{ display: grid; gap: 6px; }
.askf-form .co-f label{ color: var(--ink-s); font: 500 13.5px/1.3 var(--font-ui); }
.askf-form .co-f label i{ color: var(--muted); font-style: normal; font-weight: 400; }
.askf-form input, .askf-form textarea{
  width: 100%; min-width: 0; padding: 0 13px; border: 1px solid #dcdfe5; border-radius: 10px; background: #fff; color: var(--ink);
  font: 400 15.5px/1.4 var(--font-ui); transition: border-color .2s, box-shadow .2s;
}
.askf-form input{ height: 46px; }
.askf-form textarea{ min-height: 140px; padding: 12px 13px; resize: vertical; }
.askf-form input:focus, .askf-form textarea:focus{ outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--tint-2); }
.askf-form .co-f.bad input, .askf-form .co-f.bad textarea{ border-color: #d92d20; }
.askf-form .co-msg{ color: #b42318; font-size: 12.5px; }
.askf-form .co-msg:empty{ display: none; }

.askf-topics{ display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.askf-topics legend{ width: 100%; margin-bottom: 8px; padding: 0; color: var(--ink-s); font: 500 13.5px/1.3 var(--font-ui); }
.askf-topics label{ position: relative; }
.askf-topics input{ position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.askf-topics span{ display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid #dcdfe5; background: #fff; color: var(--ink-s); font: 500 14px/1 var(--font-ui); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.askf-topics input:checked + span{ border-color: var(--navy); background: var(--navy); color: #fff; }
.askf-topics input:focus-visible + span{ outline: 2px solid var(--accent); outline-offset: 2px; }

.askf-send{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.askf-form .co-legal{ margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.askf-form .co-legal a{ color: var(--ink-s); text-decoration: underline; text-underline-offset: 2px; }
.askf-form .co-status{ margin: 0; color: #b42318; font-size: 14px; }
.askf-form .co-status:empty{ display: none; }
.askf-form .co-hp{ position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* sent: the form gives way to a confirmation */
.askf-form .co-done{ display: none; justify-items: center; gap: 12px; padding: 48px 26px 44px; text-align: center; }
.askf-form.is-sent .co-done{ display: grid; }
.askf-form.is-sent form{ display: none; }
.askf-form .co-done > i{
  width: 56px; height: 56px; border-radius: 50%;
  background: #16a362 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 26px no-repeat;
}
.askf-form .co-done h3{ margin: 6px 0 0; color: var(--navy); font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.askf-form .co-done p{ max-width: 40ch; margin: 0; color: var(--ink-s); font-size: 16px; line-height: 1.5; }

@media (max-width: 900px){
  .askf-grid{ grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px){
  .askf-fields{ grid-template-columns: minmax(0, 1fr); }
}
/* touch screens: iOS zooms the page in when a field with text under 16px is tapped */
@media (any-pointer: coarse){
  .askf-form input, .askf-form textarea{ font-size: 16px; }
}
