/* Launcher layout. All surfaces, typography, buttons and atmosphere use the
   unchanged shared Frontend components in design-system/site-components.css. */
:root {color-scheme:dark;background:var(--ah-black);font-synthesis:none}
.launcher {position:relative;isolation:isolate;margin:0;min-height:100svh}
.launcher #launcher-background {position:fixed;inset:0;z-index:-1}
.launcher a {color:inherit;text-decoration:none}
.launcher>header {max-width:1120px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;font-size:14px}
.launcher .brand {display:flex;gap:9px;align-items:center}
.launcher .brand img {width:24px}
.launcher main {width:min(720px,100%);padding:74px 24px 60px;margin:auto}
.launcher h1 {font-size:clamp(34px,5.7vw,52px);margin:0 0 38px;text-align:center}
.launcher h2 {font-size:22px;margin:0 0 20px}
.launcher #agent-question {text-align:center}
.providers {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.provider {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:130px;padding:20px 8px;cursor:pointer}
.provider img {width:32px;height:32px;object-fit:contain}
.provider-name {font-size:15px}
.provider-action {font-size:11px}
.launcher .panel {margin:32px 0 0;padding:26px}
.launcher .panel p {margin:12px 0}
.launcher .muted {font-size:13px}
.selection {display:flex;gap:12px;align-items:center}
.selection img {width:26px;height:26px;object-fit:contain}
.launcher .selection h2 {font-size:21px;margin:0}
.launcher select,.launcher input,.launcher textarea {display:block;width:100%;max-width:100%;padding:0;border:0;outline-offset:4px;background:transparent;color:inherit;font:inherit}
.launcher input,.launcher textarea {font-size:13px;line-height:1.65}
.launcher textarea {resize:vertical}
.launcher select option {background:var(--ah-black);color:var(--ah-white)}
.launcher .field {display:block;margin:20px 0 8px;font-size:13px}
.launcher .field-surface {padding:13px 15px}
.launcher .skill-picker {max-width:420px;margin:-22px auto 32px}
.launcher .skill-picker summary {text-align:center}
.sr-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.launcher ol {padding-left:22px;font-size:14px}
.launcher li+li {margin-top:8px}
.launcher .actions {display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:20px 0 14px}
.launcher .text-link {font-size:13px;color:var(--ah-blue);text-decoration:underline;text-underline-offset:4px}
.launcher .actions .text-link {padding:10px 4px}
.launcher summary {cursor:pointer;font-size:14px;min-height:44px;padding:10px 0}
.launcher summary::marker {color:var(--ah-blue)}
.launcher #status {color:var(--ah-blue);font-size:14px;min-height:22px}
.launcher .setup {margin-top:16px;padding-top:10px}
.launcher .help {margin-top:34px}
.launcher .help>summary {text-align:center;font-size:13px}
.launcher .help p,.launcher .help code {font-size:13px}
.launcher .help code {display:block;overflow-wrap:anywhere}
.launcher :is(a,button,input,select,textarea,summary):focus-visible {outline:2px solid var(--ah-mint);outline-offset:4px}
.launcher [hidden] {display:none!important}
@media(max-width:540px) {
  .launcher main {padding:42px 20px 40px}
  .launcher>header {padding:20px}
  .launcher h1 {margin-bottom:30px}
  .providers {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .provider {min-height:112px;padding:16px 8px;gap:8px}
  .provider img {width:28px;height:28px}
  .launcher .panel {padding:22px 18px}
  .launcher .actions .ah-glass-button {flex:1 1 150px}
  .launcher .help {margin-top:24px}
}
