@import url("https://flux.kaptio.com/tokens/flux.css");
@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@300;700&family=JetBrains+Mono:wght@400;700&family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Playfair+Display:wght@700&family=Sora:wght@700&display=swap");

/*
 * Brand theme variables. Defaults come from Flux tokens; brand presets
 * override them at runtime from journey.yaml-style branding data.
 */
:root {
  --brand-primary: var(--flux-primary-800);
  --brand-primary-strong: var(--flux-primary-600);
  --brand-primary-hover: var(--flux-primary-500);
  --brand-heading-font: "Fraunces", var(--flux-font-sans);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: clamp(16px, 0.875rem + 0.4vw, 19px);
  font-weight: 300;
}

body {
  margin: 0;
  font-family: var(--flux-font-sans);
  font-weight: 300;
  color: var(--flux-black);
  background: var(--flux-background);
  line-height: 1.5;
  min-height: 100vh;
}

h1, h2, h3, h4, strong, .brand-title, .btn, .badge, th, .context-value, .narrative-node-title {
  font-weight: 700;
}

h1, h2, h3, .brand-title {
  font-family: var(--brand-heading-font);
  letter-spacing: -0.01em;
}

a {
  color: var(--flux-primary-600);
}

a:hover {
  color: var(--flux-primary-400);
}

:focus-visible {
  outline: 2px solid var(--flux-primary-400);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--flux-space-2);
  z-index: 1000;
  padding: var(--flux-space-2) var(--flux-space-3);
  background: var(--flux-primary-800);
  color: var(--flux-white);
  text-decoration: none;
  border-radius: var(--flux-radius-sm);
}

.skip-link:focus {
  left: var(--flux-space-2);
}

.sample-banner {
  background: var(--flux-yellow-100);
  border-bottom: 1px solid var(--flux-yellow-300);
  padding: var(--flux-space-2) var(--flux-space-4);
  font-size: var(--flux-text-sm);
}

.site-header {
  background: var(--brand-primary);
  color: var(--flux-white);
  transition: background-color 200ms cubic-bezier(0.4, 0, 0.2, 1);
  padding: var(--flux-space-4) var(--flux-space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--flux-space-4);
  flex-wrap: wrap;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: var(--flux-space-1);
}

.brand-title {
  font-size: var(--flux-text-xl);
  margin: 0;
  color: var(--flux-white);
}

.brand-subtitle {
  margin: 0;
  font-size: var(--flux-text-sm);
  color: var(--flux-primary-100);
}

.powered-mark {
  font-size: var(--flux-text-xs);
  color: var(--flux-primary-100);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--flux-space-3);
  flex-wrap: wrap;
}

.trip-pill {
  display: inline-flex;
  padding: var(--flux-space-1) var(--flux-space-3);
  border-radius: var(--flux-radius-full);
  background: var(--flux-primary-700);
  color: var(--flux-white);
  font-size: var(--flux-text-xs);
  border: 1px solid var(--flux-primary-600);
}

.layout {
  display: grid;
  grid-template-columns: 15rem 1fr;
  min-height: calc(100vh - 10rem);
}

.sidebar {
  border-right: 1px solid var(--flux-grey-100);
  background: var(--flux-white);
  padding: var(--flux-space-4) 0;
}

.sidebar .nav-toggle {
  display: none;
  margin: var(--flux-space-3) var(--flux-space-4);
  width: calc(100% - var(--flux-space-8));
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-act-label {
  padding: var(--flux-space-3) var(--flux-space-4) var(--flux-space-1);
  font-size: var(--flux-text-xs);
  font-weight: 700;
  color: var(--flux-grey-300);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-item button {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: var(--flux-space-3) var(--flux-space-4);
  font-family: inherit;
  font-size: var(--flux-text-sm);
  color: var(--flux-grey-500);
  cursor: pointer;
  min-height: 2.75rem;
}

.nav-item button:hover {
  background: var(--flux-grey-50);
  color: var(--flux-black);
}

.nav-item button[aria-current="page"] {
  color: var(--flux-primary-600);
  background: var(--flux-primary-50);
  font-weight: 700;
}

.main {
  padding: var(--flux-space-5);
  max-width: 72rem;
}

.panel {
  display: none;
}

.panel.is-active {
  display: block;
}

.panel-header {
  margin-bottom: var(--flux-space-5);
}

.panel-header h2 {
  margin: 0 0 var(--flux-space-2);
  font-size: var(--flux-text-2xl);
}

.panel-header p {
  margin: 0;
  color: var(--flux-grey-500);
  max-width: 42rem;
}

.act-label {
  margin: 0 0 var(--flux-space-2);
  font-size: var(--flux-text-sm);
  font-weight: 700;
  color: var(--brand-primary-strong);
}

.brand-preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--flux-space-2);
  margin-bottom: var(--flux-space-4);
}

.brand-preset-row button {
  border: 1px solid var(--flux-grey-200);
  background: var(--flux-white);
  padding: var(--flux-space-2) var(--flux-space-3);
  border-radius: var(--flux-radius-sm);
  font-family: inherit;
  font-size: var(--flux-text-sm);
  cursor: pointer;
  min-height: 2.75rem;
}

.brand-preset-row button:hover {
  background: var(--flux-grey-50);
}

.brand-preset-row button[aria-pressed="true"] {
  border-color: var(--brand-primary-strong);
  background: var(--flux-primary-50);
  font-weight: 700;
}

.brand-swatch {
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: var(--flux-radius-full);
  margin-right: var(--flux-space-2);
  vertical-align: baseline;
}

.text-muted {
  color: var(--flux-grey-500);
  font-size: var(--flux-text-sm);
  margin: var(--flux-space-2) 0 0;
}

.card {
  background: var(--flux-white);
  border: 1px solid var(--flux-grey-100);
  border-radius: var(--flux-radius-md);
  padding: var(--flux-space-5);
  margin-bottom: var(--flux-space-4);
}

.card h3 {
  margin: 0 0 var(--flux-space-3);
  font-size: var(--flux-text-lg);
}

.card-inset {
  background: var(--flux-grey-50);
  margin-top: var(--flux-space-4);
}

.note-spaced {
  margin-bottom: var(--flux-space-4);
}

.touch-target {
  min-height: 2.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--flux-space-2);
  border-radius: var(--flux-radius-sm);
  border: 1px solid transparent;
  padding: var(--flux-space-2) var(--flux-space-4);
  font-family: inherit;
  font-size: var(--flux-text-sm);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.4;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn[aria-busy="true"] {
  opacity: 0.7;
  cursor: wait;
}

.btn-primary {
  background: var(--brand-primary-strong);
  color: var(--flux-white);
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover:not(:disabled) {
  background: var(--brand-primary-hover);
}

.btn-secondary {
  background: var(--flux-grey-100);
  color: var(--flux-black);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--flux-grey-200);
}

.btn-outline {
  background: transparent;
  border-color: var(--flux-primary-600);
  color: var(--flux-primary-600);
}

.btn-outline:hover:not(:disabled) {
  background: var(--flux-primary-50);
}

.site-header .btn-outline {
  border-color: var(--flux-primary-300);
  color: var(--flux-white);
}

.site-header .btn-outline:hover:not(:disabled) {
  background: var(--flux-primary-700);
}

.btn-ghost {
  background: transparent;
  color: var(--flux-primary-600);
}

.btn-danger {
  background: var(--flux-error);
  color: var(--flux-white);
}

.btn-sm {
  font-size: var(--flux-text-xs);
  padding: var(--flux-space-2) var(--flux-space-3);
  min-height: 2.75rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--flux-space-3);
  margin-top: var(--flux-space-4);
}

.badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: var(--flux-radius-full);
  font-size: var(--flux-text-xs);
  font-weight: 700;
}

.badge-contract { background: var(--flux-green-200); color: var(--flux-black); }
.badge-simulated { background: var(--flux-yellow-300); color: var(--flux-black); }
.badge-vision { background: var(--flux-blue-200); color: var(--flux-black); }
.badge-pending { background: var(--flux-yellow-300); color: var(--flux-black); }
.badge-approved { background: var(--flux-green-200); color: var(--flux-black); }
.badge-revoked { background: var(--flux-orange-300); color: var(--flux-black); }
.badge-declined { background: var(--flux-orange-300); color: var(--flux-black); }

.maturity-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--flux-space-4);
  margin-bottom: var(--flux-space-4);
  font-size: var(--flux-text-sm);
}

.maturity-legend div {
  display: flex;
  align-items: center;
  gap: var(--flux-space-2);
}

.narrative-sequence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--flux-space-3);
  margin-bottom: var(--flux-space-3);
}

.narrative-node {
  padding: var(--flux-space-3) var(--flux-space-4);
  border: 1px solid var(--flux-primary-200);
  border-radius: var(--flux-radius-md);
  background: var(--flux-primary-50);
  display: flex;
  flex-direction: column;
  gap: var(--flux-space-1);
}

.narrative-node-title {
  font-size: var(--flux-text-sm);
  color: var(--flux-primary-800);
}

.narrative-node-detail {
  font-size: var(--flux-text-xs);
  color: var(--flux-grey-500);
}

.narrative-arrow {
  font-size: var(--flux-text-lg);
  color: var(--flux-grey-300);
  font-weight: 700;
}

.narrative-channels {
  display: flex;
  flex-wrap: wrap;
  gap: var(--flux-space-2);
}

.narrative-channel-chip {
  padding: var(--flux-space-2) var(--flux-space-3);
  border: 1px solid var(--flux-grey-200);
  border-radius: var(--flux-radius-sm);
  font-size: var(--flux-text-xs);
  background: var(--flux-white);
}

.narrative-channel-chip.is-vision {
  border-style: dashed;
  color: var(--flux-grey-500);
}

.disclosure-card {
  border: 1px solid var(--flux-grey-100);
  border-radius: var(--flux-radius-md);
  padding: var(--flux-space-3) var(--flux-space-4);
  margin-bottom: var(--flux-space-4);
  background: var(--flux-white);
}

.disclosure-card summary {
  cursor: pointer;
  font-weight: 700;
  font-size: var(--flux-text-sm);
  min-height: 2.75rem;
  display: flex;
  align-items: center;
}

.disclosure-errors {
  margin-bottom: var(--flux-space-4);
}

.trip-select-row,
.selector-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--flux-space-2);
  margin-bottom: var(--flux-space-4);
}

.trip-select-row button,
.selector-btn {
  border: 1px solid var(--flux-grey-200);
  background: var(--flux-white);
  padding: var(--flux-space-2) var(--flux-space-3);
  border-radius: var(--flux-radius-sm);
  font-size: var(--flux-text-sm);
  font-family: inherit;
  cursor: pointer;
  min-height: 2.75rem;
  font-weight: 300;
}

.trip-select-row button[aria-pressed="true"],
.selector-btn[aria-pressed="true"] {
  border-color: var(--flux-primary-400);
  background: var(--flux-primary-50);
  font-weight: 700;
  color: var(--flux-primary-800);
}

.selector-btn:active,
.trip-select-row button:active {
  transform: translateY(1px);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--flux-text-sm);
}

.data-table th {
  text-align: left;
  text-transform: uppercase;
  font-size: var(--flux-text-xs);
  letter-spacing: 0.06em;
  color: var(--flux-grey-300);
  padding: var(--flux-space-3) var(--flux-space-2);
  border-bottom: 1px solid var(--flux-grey-100);
  font-weight: 700;
}

.data-table th.num,
.data-table td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.data-table td {
  padding: var(--flux-space-3) var(--flux-space-2);
  border-bottom: 1px solid var(--flux-grey-100);
  vertical-align: top;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--flux-space-4);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--flux-space-1);
}

.form-field.full-width {
  grid-column: 1 / -1;
}

.form-field label,
fieldset legend {
  font-size: var(--flux-text-sm);
  font-weight: 700;
}

fieldset.form-field {
  border: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

fieldset.form-field legend {
  padding: 0;
  margin-bottom: var(--flux-space-1);
}

.form-field input:not([type="checkbox"]):not([type="radio"]),
.form-field select,
.form-field textarea {
  width: 100%;
  padding: var(--flux-space-2) var(--flux-space-3);
  border-radius: var(--flux-radius-sm);
  border: 1px solid var(--flux-grey-200);
  background: var(--flux-white);
  font-family: inherit;
  font-size: var(--flux-text-sm);
  min-height: 2.75rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--flux-primary-400);
  box-shadow: 0 0 0 1px var(--flux-primary-300);
  outline: none;
}

.form-field input[aria-invalid="true"] {
  border-color: var(--flux-error);
}

fieldset[aria-invalid="true"] .scope-item,
fieldset[aria-invalid="true"] .grant-item {
  border-color: var(--flux-error);
}

.field-error {
  font-size: var(--flux-text-xs);
  color: var(--flux-error);
  min-height: 1rem;
}

.validation-summary {
  padding: var(--flux-space-3) var(--flux-space-4);
  border: 1px solid var(--flux-error);
  background: var(--flux-orange-100);
  border-radius: var(--flux-radius-md);
  margin-bottom: var(--flux-space-4);
  font-size: var(--flux-text-sm);
}

.validation-summary ul {
  margin: var(--flux-space-2) 0 0;
  padding-left: var(--flux-space-5);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: var(--flux-space-2);
  font-size: var(--flux-text-sm);
}

.checkbox-row input {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.2rem;
  accent-color: var(--flux-primary-400);
}

.scope-list,
.grant-checkboxes {
  display: flex;
  flex-direction: column;
  gap: var(--flux-space-2);
}

.scope-item,
.grant-item {
  display: flex;
  gap: var(--flux-space-3);
  align-items: flex-start;
  padding: var(--flux-space-2) var(--flux-space-3);
  border: 1px solid var(--flux-grey-100);
  border-radius: var(--flux-radius-sm);
  min-height: 2.75rem;
  cursor: pointer;
  background: var(--flux-white);
}

.scope-item:hover,
.grant-item:hover {
  border-color: var(--flux-grey-200);
  background: var(--flux-grey-50);
}

.scope-item input[type="checkbox"],
.grant-item input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.2rem;
  accent-color: var(--flux-primary-400);
}

.scope-item > div,
.grant-item > div {
  flex: 1;
  min-width: 0;
}

.scope-item strong,
.grant-item strong {
  display: block;
  font-size: var(--flux-text-sm);
}

.scope-item span,
.grant-item span {
  display: block;
  font-size: var(--flux-text-xs);
  color: var(--flux-grey-500);
}

.grant-item.is-requested {
  border-color: var(--flux-primary-200);
  background: var(--flux-primary-50);
}

.grant-fieldset {
  border: none;
  margin: var(--flux-space-4) 0 0;
  padding: 0;
}

.grant-fieldset legend {
  margin-bottom: var(--flux-space-2);
}

.note {
  padding: var(--flux-space-4);
  border-radius: var(--flux-radius-md);
  font-size: var(--flux-text-sm);
}

.note-info { background: var(--flux-primary-100); border: 1px solid var(--flux-primary-200); }
.note-warning { background: var(--flux-yellow-100); border: 1px solid var(--flux-yellow-300); }
.note-success { background: var(--flux-green-100); border: 1px solid var(--flux-green-200); }

.flow-stepper {
  display: flex;
  flex-wrap: wrap;
  gap: var(--flux-space-2);
  margin: 0 0 var(--flux-space-4);
  padding: 0;
  list-style: none;
}

.flow-step {
  font-size: var(--flux-text-xs);
  padding: var(--flux-space-2) var(--flux-space-3);
  border-radius: var(--flux-radius-sm);
  border: 1px solid var(--flux-grey-200);
  color: var(--flux-grey-500);
  min-height: 2.75rem;
  display: flex;
  align-items: center;
}

.flow-step.is-done {
  background: var(--flux-green-100);
  border-color: var(--flux-green-200);
  color: var(--flux-black);
}

.flow-step.is-current {
  background: var(--flux-primary-50);
  border-color: var(--flux-primary-400);
  color: var(--flux-primary-800);
  font-weight: 700;
}

.flow-step.is-locked {
  opacity: 0.55;
}

.flow-step[aria-current="step"] {
  box-shadow: 0 0 0 1px var(--flux-primary-300);
}

.context-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: var(--flux-space-4);
}

.context-label {
  display: block;
  font-size: var(--flux-text-xs);
  color: var(--flux-grey-500);
  margin-bottom: var(--flux-space-1);
}

.context-value {
  font-size: var(--flux-text-sm);
  color: var(--flux-black);
}

.room-option {
  display: flex;
  align-items: flex-start;
  gap: var(--flux-space-3);
  padding: var(--flux-space-3);
  border: 1px solid var(--flux-grey-100);
  border-radius: var(--flux-radius-sm);
  margin-bottom: var(--flux-space-2);
  cursor: pointer;
  min-height: 2.75rem;
}

.room-option:has(input:checked) {
  border-color: var(--flux-primary-400);
  background: var(--flux-primary-50);
}

.room-option input {
  margin-top: 0.25rem;
  accent-color: var(--flux-primary-400);
}

.explorer-controls {
  display: flex;
  flex-wrap: wrap;
  gap: var(--flux-space-3);
  margin-bottom: var(--flux-space-4);
  align-items: flex-end;
}

.stage-action-bar {
  margin-bottom: var(--flux-space-4);
}

.recovery-message {
  font-size: var(--flux-text-sm);
  color: var(--flux-grey-500);
  margin: var(--flux-space-2) 0 0;
  min-height: 1.25rem;
}

.recovery-message.is-error {
  color: var(--flux-error);
}

.explorer-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--flux-space-4);
}

.code-panel {
  background: var(--flux-primary-800);
  color: var(--flux-primary-100);
  border-radius: var(--flux-radius-md);
  overflow: hidden;
  border: 1px solid var(--flux-primary-700);
}

.code-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--flux-space-2) var(--flux-space-3);
  background: var(--flux-primary-900);
  font-size: var(--flux-text-xs);
  color: var(--flux-grey-300);
}

.code-panel pre {
  margin: 0;
  padding: var(--flux-space-4);
  overflow-x: auto;
  font-family: var(--flux-font-mono);
  font-size: var(--flux-text-xs);
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.response-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--flux-space-3);
  font-size: var(--flux-text-xs);
  margin-bottom: var(--flux-space-3);
}

.response-meta span {
  padding: var(--flux-space-1) var(--flux-space-2);
  background: var(--flux-grey-50);
  border-radius: var(--flux-radius-sm);
  border: 1px solid var(--flux-grey-100);
}

.status-2xx { color: var(--flux-success); font-weight: 700; }
.status-4xx { color: var(--flux-error); font-weight: 700; }

.channel-preview {
  border: 1px solid var(--flux-grey-100);
  border-radius: var(--flux-radius-md);
  padding: var(--flux-space-5);
  min-height: 14rem;
  background: var(--flux-white);
}

.channel-preview h4 {
  margin: 0 0 var(--flux-space-2);
}

.channel-preview .price-line {
  font-size: var(--flux-text-lg);
  font-weight: 700;
  color: var(--flux-primary-600);
  font-variant-numeric: tabular-nums;
}

.channel-desc {
  color: var(--flux-grey-500);
  font-size: var(--flux-text-sm);
}

.code-snippet {
  font-family: var(--flux-font-mono);
  font-size: var(--flux-text-xs);
  background: var(--flux-grey-50);
  padding: var(--flux-space-3);
  border-radius: var(--flux-radius-sm);
  overflow-x: auto;
}

.chat-window {
  max-width: 28rem;
  border: 1px solid var(--flux-grey-100);
  border-radius: var(--flux-radius-md);
  overflow: hidden;
}

.chat-header {
  background: var(--flux-primary-800);
  color: var(--flux-white);
  padding: var(--flux-space-3);
  font-size: var(--flux-text-sm);
  font-weight: 700;
}

.chat-body {
  padding: var(--flux-space-3);
  display: flex;
  flex-direction: column;
  gap: var(--flux-space-2);
  background: var(--flux-background);
  min-height: 10rem;
}

.chat-bubble {
  max-width: 85%;
  padding: var(--flux-space-2) var(--flux-space-3);
  border-radius: var(--flux-radius-md);
  font-size: var(--flux-text-sm);
}

.chat-bubble-bot {
  background: var(--flux-white);
  border: 1px solid var(--flux-grey-100);
  align-self: flex-start;
}

.chat-bubble-user {
  background: var(--flux-primary-100);
  align-self: flex-end;
}

.key-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--flux-space-3);
  padding: var(--flux-space-3);
  background: var(--flux-grey-50);
  border-radius: var(--flux-radius-sm);
  border: 1px solid var(--flux-grey-100);
  font-family: var(--flux-font-mono);
  font-size: var(--flux-text-sm);
}

.key-value {
  flex: 1;
  min-width: 12rem;
  word-break: break-all;
}

.key-status-line,
.admin-status {
  margin-top: var(--flux-space-3);
  font-size: var(--flux-text-sm);
}

.confirm-panel {
  margin-top: var(--flux-space-3);
  padding: var(--flux-space-3);
  border: 1px solid var(--flux-orange-300);
  background: var(--flux-orange-100);
  border-radius: var(--flux-radius-sm);
  font-size: var(--flux-text-sm);
}

.site-footer {
  border-top: 1px solid var(--flux-grey-100);
  background: var(--flux-white);
  padding: var(--flux-space-4) var(--flux-space-5);
}

.presenter-guide summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
}

.presenter-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--flux-primary-800);
  color: var(--flux-white);
  padding: var(--flux-space-3) var(--flux-space-4);
  border-top: 1px solid var(--flux-primary-700);
  z-index: 50;
  box-shadow: var(--flux-shadow-lg);
}

.presenter-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--flux-space-3);
}

.presenter-cue-body {
  font-size: var(--flux-text-sm);
  color: var(--flux-primary-100);
  margin: var(--flux-space-2) 0;
}

.presenter-drawer-controls {
  display: flex;
  gap: var(--flux-space-2);
}

.presenter-close-btn {
  color: var(--flux-white);
}

.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;
}

@media (max-width: 56rem) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-right: none;
    border-bottom: 1px solid var(--flux-grey-100);
    padding: 0;
  }

  .sidebar.is-collapsed .nav-list {
    display: none;
  }

  .sidebar .nav-toggle {
    display: inline-flex;
  }

  .explorer-layout {
    grid-template-columns: 1fr;
  }

  .main {
    padding: var(--flux-space-4);
  }

  .presenter-drawer {
    padding: var(--flux-space-2) var(--flux-space-3);
  }

  .presenter-cue-body {
    display: none;
  }

  .presenter-drawer-controls {
    margin-top: var(--flux-space-1);
  }

  body.presenter-open .main {
    padding-bottom: 7rem;
  }
}

@media (max-width: 36rem) {
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row .btn {
    width: 100%;
  }
}
