/* Light family entrance: access first, then clear Start, Open and active-work routes. */
.launch-screen {
  --focus-ring:var(--accent);
  position:fixed;
  inset:0;
  z-index:100;
  display:flex;
  flex-direction:column;
  align-items:center;
  overflow:auto;
  padding:clamp(24px,4.5vh,54px) 24px 20px;
  color:var(--ink);
  background:var(--family-frame);
}
.launch-panel { width:min(860px,100%); margin:auto 0 0; padding:30px 0 42px; }
.launch-title { margin:0 0 clamp(30px,5vh,48px); font-size:clamp(44px,5vw,66px); font-weight:200; line-height:1.02; letter-spacing:-.045em; }
.launch-title:focus, .launch-stage-heading h2:focus { outline:none; }
.launch-stage-frame { min-height:250px; }
.launch-title, .launch-stage { animation:interface-arrive var(--motion-quick) var(--ease-standard) both; }
.launch-paths { display:grid; gap:10px; }
.launch-path {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  width:100%;
  min-height:82px;
  padding:17px 20px;
  text-align:left;
  border:1px solid var(--line);
  color:inherit;
  background:var(--surface);
  box-shadow:0 1px 0 rgba(17,17,16,.02);
  transition:background var(--motion-quick) var(--ease-standard), border-color var(--motion-quick) var(--ease-standard), box-shadow var(--motion-quick) var(--ease-standard);
}
.launch-path strong { display:block; font-size:18px; font-weight:400; line-height:1.35; }
.launch-path small { display:block; margin-top:3px; color:var(--muted); font-size:13px; font-weight:400; line-height:1.4; }
.launch-path-arrow { display:grid; place-items:center; width:34px; height:34px; flex-shrink:0; border:1px solid var(--line-strong); border-radius:50%; font-size:18px; color:var(--accent-strong); }
.launch-path:hover { border-color:var(--accent-line); background:var(--surface-softer); box-shadow:0 8px 24px rgba(26,22,16,.045); }
.launch-path:hover .launch-path-arrow { border-color:var(--accent); color:var(--accent); }
.launch-screen :is(button,a,input,summary):focus-visible { outline-offset:4px; }
.launch-workspace-routes { display:grid; gap:24px; }
.launch-route-section { display:grid; gap:10px; }
.launch-section-title { color:var(--muted); font-size:14px; font-weight:450; line-height:1.4; letter-spacing:.015em; }
.launch-tasks { --choice-border:var(--line); --choice-surface:var(--surface); --choice-ink:var(--ink); --choice-hover:var(--surface-softer); --choice-accent:var(--accent); }
.launch-open-route { margin-top:0; }
.launch-open-document {
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  min-height:54px;
  padding:12px 16px;
  border:1px solid var(--line);
  background:transparent;
  color:var(--ink-soft);
  font-size:15px;
  text-align:left;
}
.launch-open-document::after { content:"→"; color:var(--accent-strong); font-size:18px; }
.launch-open-document:hover { border-color:var(--line-strong); background:rgba(255,255,255,.48); }
.launch-quiet-actions { display:flex; align-items:center; justify-content:flex-end; min-height:24px; margin-top:-4px; }
.launch-quiet-actions:not(:has(> :not([hidden]))) { display:none; }
.launch-back { display:inline-block; color:var(--muted); font-size:14px; line-height:1.6; text-decoration:none; text-underline-offset:4px; }
.launch-back:hover { color:var(--accent-strong); text-decoration:underline; }
.launch-stage-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:24px; }
.launch-stage-heading h2 { font-size:26px; line-height:1.25; font-weight:300; letter-spacing:-.02em; }
.launch-organisation { margin-bottom:24px; font-size:17px; color:var(--ink-soft); }
.organisation-login:not([hidden]) + .launch-organisation { margin-top:20px; }
.launch-button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:11px 25px; border:1px solid var(--ink); border-radius:0; background:var(--ink); color:var(--surface); text-decoration:none; font-size:15px; line-height:1.4; font-weight:400; }
.launch-button:hover { background:#302a20; }
.launch-button:disabled { opacity:.48; cursor:wait; }
.launch-setup { max-width:450px; font-size:16px; line-height:1.6; color:var(--muted); }
.launch-inline-status { margin:16px 0 0; font-size:14px; line-height:1.5; color:var(--muted); }
.launch-inline-status:empty { display:none; }
.owner-login, .organisation-login { max-width:480px; }
:is(.owner-login,.organisation-login) label { display:block; color:var(--muted); font-size:14px; margin-bottom:9px; }
:is(.owner-login,.organisation-login) input { background:var(--surface); border-color:var(--line-strong); color:var(--ink); border-radius:0; }
:is(.owner-login,.organisation-login) input:focus { background:var(--surface); border-color:var(--accent); box-shadow:0 0 0 2px var(--accent-soft); }
:is(.owner-login,.organisation-login) .launch-button, #launchRecoveryContinue { margin-top:20px; }
.launch-field-message { margin:8px 0 0; color:var(--muted); font-size:14px; line-height:1.5; }
.launch-field-message:empty { display:none; }
.launch-field-message[data-tone="error"] { color:var(--danger); }
:is(.owner-login,.organisation-login) input[aria-invalid="true"] { border-color:var(--danger); }
.launch-field-hint { margin:8px 0 0; color:var(--muted-secondary); font-size:13px; line-height:1.5; }
.launch-recovery-copy { font-size:16px; line-height:1.6; color:var(--muted); }
.launch-footer { flex-shrink:0; margin-top:auto; padding:12px 0 0; }
.launch-footer a { display:block; }
.launch-footer-logo { width:var(--footer-stamp); height:var(--footer-stamp); object-fit:contain; opacity:.62; }
.launch-active #application { display:none; }
.launch-complete .launch-screen { display:none; }
.launch-complete #application { --motion-offset-y:0px; animation:interface-arrive var(--motion-quick) var(--ease-standard) both; }
.launch-active-operation { border-color:var(--accent-line); background:var(--accent-soft); }
.launch-active-operation:hover { border-color:var(--accent); background:#efe1c4; }
.launch-active-operation[data-status="needs-attention"],
.launch-active-operation[data-status="paused"] { border-color:var(--accent); }

@media (max-width:600px) {
  .launch-screen { padding:24px 18px 18px; }
  .launch-panel { padding:20px 0 32px; }
  .launch-title { margin-bottom:30px; font-size:44px; }
  .launch-workspace-routes { gap:20px; }
  .launch-path { min-height:76px; gap:14px; padding:15px 16px; }
  .launch-path strong { font-size:17px; }
  .launch-section-title { font-size:13px; }
}
@media (max-height:580px) {
  .launch-panel { margin:0; padding:10px 0 26px; }
  .launch-title { margin-bottom:24px; font-size:42px; }
  .launch-workspace-routes { gap:18px; }
}
