body.portal-shell-page > .container {
  padding-bottom: 4.5rem;
}

.hidden {
  display: none !important;
}

.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 40vh;
  color: var(--wingman-muted);
  font-size: 0.95rem;
}

.loading-spinner {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid rgba(255, 193, 7, 0.18);
  border-top-color: var(--wingman-gold);
  animation: tk-spin 0.8s linear infinite;
}

@keyframes tk-spin {
  to {
    transform: rotate(360deg);
  }
}

.fatal-state {
  margin: 4rem auto;
  max-width: 32rem;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
  color: #fecaca;
  text-align: center;
}

.tk-page {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 1280px;
}

.tk-eyebrow {
  margin: 0 0 0.5rem;
  color: rgba(255, 193, 7, 0.9);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tk-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.9rem, 2.6vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.tk-subtitle {
  margin: 0.5rem 0 0;
  color: var(--wingman-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.tk-banner {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--wingman-border-strong);
  background: var(--wingman-panel);
  color: var(--wingman-text);
  font-size: 0.9rem;
}

.tk-banner-error {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.1);
  color: #fecaca;
}

.tk-banner-success {
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.1);
  color: #bbf7d0;
}

.tk-workspace {
  display: grid;
  grid-template-columns: minmax(16rem, 20rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.tk-trip-pane {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--wingman-border);
  background: var(--wingman-panel);
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
}

.tk-pane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tk-pane-title {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
}

.tk-trip-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tk-trip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--wingman-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--wingman-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.tk-trip:hover {
  border-color: rgba(255, 193, 7, 0.35);
}

.tk-trip:focus-visible,
.tk-btn:focus-visible,
.tk-menu-row:focus-visible,
.tk-link:focus-visible {
  outline: 2px solid var(--wingman-gold);
  outline-offset: 2px;
}

.tk-trip-selected {
  border-color: rgba(255, 193, 7, 0.55);
  background: rgba(255, 193, 7, 0.1);
}

.tk-trip iconify-icon {
  color: var(--wingman-gold);
  flex-shrink: 0;
}

.tk-trip-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.tk-trip-title {
  color: #ffffff;
  font-weight: 600;
}

.tk-trip-dates {
  color: var(--wingman-muted);
  font-size: 0.82rem;
}

.tk-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 0.5rem;
  color: var(--wingman-muted);
}

.tk-briefing-pane {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.tk-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.6rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 193, 7, 0.16);
  background: var(--wingman-panel);
}

.tk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.5rem;
  padding: 0.5rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 193, 7, 0.22);
  background: rgba(255, 193, 7, 0.1);
  color: var(--wingman-gold);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}

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

.tk-btn-ghost {
  background: transparent;
}

.tk-btn-primary {
  background: var(--wingman-gold);
  color: #1c1917;
  border-color: var(--wingman-gold);
}

.tk-briefing {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.tk-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 4rem 1rem;
  border-radius: 16px;
  border: 1px dashed var(--wingman-border-strong);
  color: var(--wingman-muted);
  text-align: center;
}

.tk-placeholder-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
}

.tk-placeholder-copy {
  margin: 0;
  font-size: 0.9rem;
}

.tk-error-text {
  color: #fca5a5;
}

.tk-weather-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 193, 7, 0.18);
  background: rgba(255, 193, 7, 0.08);
  color: var(--wingman-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tk-weather-note iconify-icon {
  color: var(--wingman-gold);
  flex-shrink: 0;
}

/* Header card */
.tk-header-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 193, 7, 0.16);
  background: linear-gradient(135deg, #3a241c 0%, #261710 55%, #12100f 100%);
}

.tk-header-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.tk-header-copy {
  min-width: 0;
}

.tk-header-eyebrow {
  margin: 0 0 0.35rem;
  color: rgba(255, 193, 7, 0.9);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.tk-header-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.tk-header-dates {
  margin: 0.3rem 0 0;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.tk-days-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  min-width: 4rem;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 193, 7, 0.3);
  background: rgba(255, 193, 7, 0.08);
}

.tk-days-value {
  color: var(--wingman-gold);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
}

.tk-days-label {
  color: var(--wingman-muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.tk-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.tk-metric {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.tk-metric-value {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
}

.tk-metric-label {
  color: var(--wingman-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tk-accent {
  color: var(--wingman-gold);
}

.tk-label {
  margin: 0;
  color: var(--wingman-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tk-route-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  color: var(--wingman-muted);
}

.tk-route-chip {
  padding: 0.25rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--wingman-border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.tk-route-layover {
  border-color: rgba(77, 235, 255, 0.45);
  color: #4debff;
}

.tk-route-connection {
  border-color: rgba(255, 193, 7, 0.4);
  color: var(--wingman-gold);
}

.tk-route-map {
  position: relative;
  height: 280px;
  margin-top: 0.75rem;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tk-route-map-note {
  margin: 0.4rem 0 0;
  color: var(--wingman-muted);
  font-size: 0.72rem;
}

.tk-map-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}

.tk-map-placeholder-title {
  margin: 0;
  color: #ffffff;
  font-weight: 600;
}

.tk-map-placeholder-copy {
  margin: 0.25rem 0 0;
  color: var(--wingman-muted);
  font-size: 0.8rem;
}

.tk-map-marker {
  position: relative;
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.tk-map-marker img {
  display: block;
  width: 14px;
  height: 14px;
}

.tk-map-tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  background: rgba(18, 16, 15, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.tk-map-marker:hover .tk-map-tooltip,
.tk-map-marker.is-selected .tk-map-tooltip {
  opacity: 1;
}

.tk-ground-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.75rem;
}

.tk-ground-panel {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--wingman-border);
}

.tk-ground-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
  color: var(--wingman-gold);
}

.tk-ground-layover .tk-ground-head {
  color: #4debff;
}

.tk-ground-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tk-ground-count {
  margin-left: auto;
  color: var(--wingman-muted);
  font-size: 0.78rem;
}

.tk-ground-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.25rem 0;
  font-size: 0.9rem;
}

.tk-ground-airport {
  color: #ffffff;
  font-weight: 600;
}

.tk-ground-duration {
  color: #cbd5e1;
}

/* Sections & cards */
.tk-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tk-section-title {
  margin: 0;
  color: var(--wingman-gold);
  font-size: 1.15rem;
  font-weight: 700;
}

.tk-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--wingman-border);
  background: var(--wingman-panel);
  min-width: 0;
}

.tk-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tk-card-title {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
}

.tk-card-code {
  color: var(--wingman-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.tk-duration {
  color: #4debff;
  font-size: 0.9rem;
  font-weight: 600;
}

.tk-paragraph {
  margin: 0;
  color: var(--wingman-text);
  font-size: 0.93rem;
  line-height: 1.6;
}

.tk-muted {
  margin: 0;
  color: var(--wingman-muted);
  font-size: 0.88rem;
}

.tk-hint {
  margin: 0;
  color: var(--wingman-muted);
  font-size: 0.8rem;
  font-style: italic;
}

.tk-detail {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.5;
}

.tk-sub-label {
  margin: 0.35rem 0 0;
  color: var(--wingman-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tk-sub-heading {
  margin: 0.25rem 0 0;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Weather */
.tk-weather-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
  gap: 0.75rem;
}

.tk-weather-dash {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.tk-dash-point {
  display: flex;
  flex-direction: column;
}

.tk-dash-label {
  color: var(--wingman-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tk-dash-value {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
}

.tk-day-row,
.tk-taf-row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.tk-day-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  flex: 0 0 auto;
  min-width: 5.5rem;
  padding: 0.6rem 0.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--wingman-border);
  color: var(--wingman-muted);
  text-align: center;
}

.tk-day-first {
  border-color: rgba(255, 193, 7, 0.35);
}

.tk-day-label {
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
}

.tk-day-temp {
  color: #cbd5e1;
  font-size: 0.82rem;
}

.tk-aviation {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.tk-aviation:empty {
  display: none;
}

.tk-taf-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  min-width: 5.5rem;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  border-left: 4px solid #94a3b8;
  background: rgba(255, 255, 255, 0.04);
}

.tk-taf-time {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
}

.tk-taf-day {
  color: var(--wingman-muted);
  font-size: 0.72rem;
}

.tk-taf-cat {
  font-size: 0.82rem;
  font-weight: 700;
}

.tk-raw-row {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.tk-raw-type {
  flex-shrink: 0;
  width: 3.4rem;
  color: var(--wingman-gold);
  font-size: 0.75rem;
  font-weight: 700;
}

.tk-raw {
  color: #cbd5e1;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* Crew */
.tk-crew-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: 0.75rem;
}

.tk-crew-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.tk-crew-pos {
  width: 3rem;
  color: var(--wingman-muted);
  font-weight: 600;
}

.tk-crew-name {
  color: #ffffff;
}

.tk-crew-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
}

.tk-crew-phone {
  color: #cbd5e1;
  font-size: 0.82rem;
}

.tk-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--wingman-border-strong);
  color: var(--wingman-gold);
}

/* Layovers & day rooms */
.tk-hotel-name {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
}

.tk-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: #cbd5e1;
  overflow-wrap: anywhere;
}

.tk-contact-row iconify-icon {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--wingman-gold);
}

.tk-link {
  color: var(--wingman-gold);
  text-decoration: none;
}

.tk-link:hover {
  text-decoration: underline;
}

.tk-view-more {
  align-self: flex-start;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.tk-discount {
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #bbf7d0;
  font-size: 0.88rem;
}

.tk-discount p {
  margin: 0.15rem 0 0;
}

.tk-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tk-chip {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--wingman-border);
  color: #cbd5e1;
  font-size: 0.78rem;
}

.tk-restaurant-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.55;
}

.tk-restaurant-name {
  color: #ffffff;
}

.tk-notes {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
}

.tk-note-text {
  margin: 0;
  color: var(--wingman-text);
  font-size: 0.88rem;
  white-space: pre-wrap;
}

.tk-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.tk-status-booked {
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.1);
}

.tk-status-not-booked {
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.1);
}

/* Fatigue */
.tk-highlight-title {
  margin: 0;
  font-weight: 600;
}

.tk-tone-warning {
  color: #ef4444;
}

.tk-tone-caution {
  color: #ff9500;
}

.tk-tone-neutral {
  color: var(--wingman-muted);
}

.tk-table-scroll {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--wingman-border);
}

.tk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.tk-table th,
.tk-table td {
  padding: 0.55rem 0.75rem;
  text-align: left;
  white-space: nowrap;
}

.tk-table th {
  color: var(--wingman-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
}

.tk-table td {
  color: #e2e8f0;
  border-top: 1px solid var(--wingman-border);
}

/* Catering */
.tk-order {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--wingman-border);
}

.tk-order:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.tk-order-label {
  margin: 0;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
}

.tk-order-line {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.88rem;
}

.tk-menu-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--wingman-text);
  text-decoration: none;
}

.tk-menu-row iconify-icon {
  margin-left: auto;
  color: var(--wingman-muted);
}

.tk-menu-code {
  color: #ffffff;
  font-weight: 600;
}

/* Modals */
.tk-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.6);
}

.tk-modal {
  width: min(28rem, 100%);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--wingman-border-strong);
  background: #1c120e;
  color: var(--wingman-text);
}

.tk-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.tk-modal-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.1rem;
}

.tk-modal-close {
  display: inline-flex;
  padding: 0.25rem;
  border: 0;
  background: transparent;
  color: var(--wingman-muted);
  cursor: pointer;
}

.tk-modal-copy {
  margin: 0 0 1rem;
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.5;
}

.tk-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.tk-group-label {
  margin: 0.75rem 0 0.4rem;
  color: var(--wingman-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tk-always-list {
  margin: 0;
  padding: 0.6rem 0.9rem 0.6rem 1.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.6;
}

.tk-options {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.tk-option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  cursor: pointer;
}

.tk-option:hover {
  background: rgba(255, 255, 255, 0.04);
}

.tk-option input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.1rem;
  accent-color: var(--wingman-gold);
}

.tk-option-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.tk-option-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.tk-option-label {
  color: #ffffff;
  font-size: 0.92rem;
}

.tk-option-helper {
  color: var(--wingman-muted);
  font-size: 0.78rem;
}

.tk-inline-error {
  margin: 0.75rem 0 0;
  color: #fca5a5;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .tk-workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .tk-trip-pane {
    position: static;
    max-height: none;
  }
}

@media (max-width: 480px) {
  .tk-header-card {
    padding: 1rem;
  }

  .tk-metrics {
    gap: 0.4rem;
  }

  .tk-metric {
    padding: 0.5rem;
  }

  .tk-metric-value {
    font-size: 1.1rem;
  }

  .tk-toolbar .tk-btn {
    flex: 1 1 auto;
  }

  .tk-route-map {
    height: 240px;
  }
}

@media print {
  @page {
    margin: 12mm;
  }

  html,
  body.portal-shell-page {
    height: auto;
    overflow: visible;
    display: block;
    background: #ffffff !important;
    color: #111827;
  }

  body.portal-shell-page::before,
  body.portal-shell-page > .container::before,
  .app-sidebar,
  .mobile-header,
  .mobile-sidebar-backdrop,
  .tk-modal-overlay,
  .tk-banner,
  .tk-route-map,
  .tk-route-map-note,
  .tk-no-print {
    display: none !important;
  }

  body.tk-print-omit-orders .tk-catering-orders {
    display: none !important;
  }

  body.portal-shell-page > .container {
    height: auto;
    overflow: visible;
    padding: 0;
  }

  .tk-workspace {
    display: block;
  }

  .tk-briefing,
  .tk-briefing * {
    color: #111827 !important;
    background: transparent !important;
    border-color: #d1d5db !important;
    box-shadow: none !important;
  }

  .tk-section-title,
  .tk-header-eyebrow {
    color: #351c15 !important;
  }

  .tk-status-booked,
  .tk-status-booked * {
    color: #15803d !important;
  }

  .tk-status-not-booked,
  .tk-status-not-booked * {
    color: #b91c1c !important;
  }

  .tk-card,
  .tk-header-card,
  .tk-table-scroll {
    break-inside: avoid;
  }

  .tk-day-row,
  .tk-taf-row,
  .tk-table-scroll {
    overflow: visible;
    flex-wrap: wrap;
  }

  .tk-link {
    text-decoration: none;
  }
}
