.brief-preview { list-style:none; display:grid; gap:7px; padding:0; margin:0 0 14px; }
.brief-preview li { display:flex; align-items:center; gap:11px; padding:8px 10px; border:1px solid #344d63; border-radius:9px; background:#102032; animation:brief-enter .4s ease-out both; animation-delay:calc(var(--order) * .28s); }
.brief-preview li strong { display:block; font-size:15px; }
.brief-preview li div span { color:var(--muted); font-size:13px; }
.brief-icon { display:grid; place-items:center; width:32px; height:32px; border-radius:7px; background:#234959; color:var(--mint); }
.brief-icon svg { width:18px; height:18px; }
@keyframes brief-enter { from { opacity:0; transform:translateY(7px); } to { opacity:1; transform:none; } }
.mast #route {
  display:grid; flex:0 1 860px; min-width:0; grid-template-columns:minmax(0,1fr);
  justify-content:stretch; gap:8px; padding:9px 11px; border:1px solid #344d63;
  border-radius:12px; background:#0d1927;
}
.mast .brand { flex:none; }
.route-header { display:flex; align-items:center; gap:5px 12px; flex-wrap:wrap; }
.route-header h2 { margin:0 auto 0 0; color:var(--ink); font-size:15px; font-weight:750; }
.route-current { color:#b4c5d6; font-size:12px; }
.route-current small { font-size:inherit; }
.challenge-list {
  display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:6px;
  margin:0; padding:0; list-style:none;
}
.challenge-card {
  --challenge:#a9baff;
  width:100%; min-height:58px; display:flex; align-items:center; gap:7px;
  padding:6px; border:1px solid #425770; border-radius:8px;
  background:#172639; color:#eef5fc; text-align:left;
}
.challenge-card[data-choice="isolation"] { --challenge:#e5baff; }
.challenge-card[data-choice="habitat"] { --challenge:#8cf4d2; }
.challenge-card[data-choice="distance"] { --challenge:#ffb2cb; }
.challenge-card[data-choice="radiation"] { --challenge:#ffd385; }
.challenge-icon {
  display:grid !important; place-items:center; width:29px; height:29px; flex:none; border-radius:6px;
  color:var(--challenge); background:color-mix(in srgb,var(--challenge) 19%,#122238);
}
.challenge-icon svg { width:17px; height:17px; }
.challenge-copy { display:grid !important; gap:3px !important; min-width:0; white-space:normal !important; }
.challenge-copy strong { font-size:12px; line-height:1.22; }
.challenge-state { color:#bbcbdc; font-size:10px; }
.challenge-card[data-state="locked"] { cursor:default; }
.challenge-card[data-state="current"],.challenge-card:enabled:is(:hover,:focus-visible) {
  border-color:var(--challenge); background:color-mix(in srgb,var(--challenge) 17%,#112135);
}
.challenge-card[data-state="current"] { cursor:default; }
.challenge-card[data-state="current"] .challenge-state,.challenge-card[data-state="available"] .challenge-state { color:var(--challenge); }
@media(max-width:850px) {
  .mast { flex-wrap:wrap; }
  .mast #route { flex:1 1 100%; }
}
@media(max-width:540px) {
  .challenge-list { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .challenge-card { min-height:50px; }
  .challenge-icon { width:25px; height:25px; }
}

.mission-choices { display:grid; gap:8px; margin:14px 0 0; }
.mission-choices h2 { margin:0 0 2px; color:var(--ink); font-size:18px; line-height:1.25; }
.mission-choices button {
  display:grid; grid-template-columns:36px minmax(0,1fr) auto; align-items:center; gap:10px; min-height:60px; text-align:left;
  width:100%; padding:10px 13px; border:1px solid #466276; border-radius:8px;
  background:#162739; color:var(--ink);
}
.mission-choices button:not(:disabled):is(:hover,:focus-visible) { border-color:var(--mint); background:#1d3b42; }
.mission-choices button:disabled { opacity:.65; cursor:wait; }
.mission-choices strong { display:block; font-size:16px; line-height:1.2; }
.mission-choices small { display:block; margin-top:3px; color:#c0d1df; font-size:13px; line-height:1.3; }
 .choice-icon { display:grid; place-items:center; width:36px; height:36px; border-radius:7px; color:var(--mint); background:#234653; }
.choice-icon svg { width:21px; height:21px; }
.choice-arrow { color:var(--mint); font-size:17px; }
.isolation-actions > .mission-choices { margin-top:0; }

[data-phase="prepare"] .mission-choices button[data-choice="personal"] {
  --choice-accent:#91f0d8;
  --choice-icon:#215047;
  --choice-background:#132f2e;
  --choice-border:#427d70;
}
[data-phase="prepare"] .mission-choices button[data-choice="shehab"] {
  --choice-accent:#a8ccff;
  --choice-icon:#28476b;
  --choice-background:#182a43;
  --choice-border:#496d9b;
}
[data-phase="prepare"] .mission-choices button {
  border-color:var(--choice-border); background:var(--choice-background);
}
[data-phase="prepare"] .mission-choices button:is(:hover,:focus-visible) {
  border-color:var(--choice-accent); background:var(--choice-icon);
}
[data-phase="prepare"] .choice-icon { color:var(--choice-accent); background:var(--choice-icon); }
[data-phase="prepare"] .choice-arrow { color:var(--choice-accent); }
