.vocn-acars-pilot-portal:has(.vocn-occ-shell) {
  max-width: none !important;
  width: 100% !important;
}

.vocn-acars-panel:has(.vocn-occ-shell) {
  background: #0f172a;
  border-color: transparent;
  box-shadow: none;
  overflow: visible !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.vocn-acars-panel:has(.vocn-occ-shell)::before {
  display: none;
}

.vocn-occ-shell {
  width: min(1500px, 100%);
  margin: 24px auto 0;
  transform: none;
  color: #f8fafc;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.vocn-occ-restoring .vocn-occ-shell {
  visibility: hidden;
}

.vocn-occ-shell.is-refreshing {
  pointer-events: none;
}

.vocn-occ-shell.is-refreshing .vocn-occ-tab-section,
.vocn-occ-shell.is-refreshing .vocn-occ-kpis {
  opacity: .72;
  transition: opacity .16s ease;
}

.vocn-occ-shell * {
  box-sizing: border-box;
}

.vocn-occ-tab-hidden {
  display: none !important;
}

.vocn-occ-tab-section {
  scroll-margin-top: 0;
}

.vocn-occ-topbar,
.vocn-occ-kpi,
.vocn-occ-card,
.vocn-occ-sidebar,
.vocn-occ-activity,
.vocn-occ-flight-card,
.vocn-occ-health {
  border: 1px solid #334155;
  background: linear-gradient(145deg, rgba(30, 41, 59, .96), rgba(17, 24, 39, .98));
  box-shadow: 0 18px 44px rgba(2, 6, 23, .35);
}

.vocn-occ-topbar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 18px;
  border-radius: 16px;
  position: sticky;
  top: 12px;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.vocn-occ-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 150px;
}

.vocn-occ-brand strong {
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0;
}

.vocn-occ-brand span {
  color: #94a3b8;
  border-left: 1px solid #334155;
  padding-left: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.vocn-occ-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}

.vocn-occ-nav a {
  color: #cbd5e1;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}

.vocn-occ-nav a:hover,
.vocn-occ-nav a.is-active {
  color: #38bdf8;
  background: rgba(56, 189, 248, .10);
}

.vocn-occ-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: rgba(56, 189, 248, .22);
  border: 1px solid rgba(56, 189, 248, .42);
  color: #7dd3fc;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  margin-left: 3px;
  vertical-align: middle;
  letter-spacing: 0;
  text-transform: none;
}

.vocn-occ-nav-badge.is-warn {
  background: rgba(245, 158, 11, .20);
  border-color: rgba(245, 158, 11, .46);
  color: #fcd34d;
}

.vocn-occ-user {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 12px;
  white-space: nowrap;
}

.vocn-occ-dot,
.vocn-occ-kpi-icon {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 99px;
  background: #22c55e;
  box-shadow: 0 0 18px rgba(34, 197, 94, .75);
}

.vocn-occ-notice {
  margin: 16px 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #334155;
  background: rgba(56, 189, 248, .10);
  color: #f8fafc;
}

.vocn-occ-ajax-notice {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #334155;
  background: rgba(56, 189, 248, .10);
  color: #f8fafc;
}

.vocn-occ-ajax-notice.is-success {
  border-color: rgba(34, 197, 94, .45);
  background: rgba(34, 197, 94, .12);
}

.vocn-occ-ajax-notice.is-error {
  border-color: rgba(239, 68, 68, .55);
  background: rgba(239, 68, 68, .14);
}

.vocn-occ-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 14px;
  align-items: start;
}

.vocn-occ-summary-list {
  display: grid;
  gap: 8px;
}

.vocn-occ-summary-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 170px 120px 100px 90px;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(51, 65, 85, .75);
}

.vocn-occ-summary-row strong {
  display: block;
  color: #f8fafc;
  font-size: 17px;
}

.vocn-occ-summary-row span,
.vocn-occ-summary-row small {
  color: #94a3b8;
}

.vocn-occ-filterbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
}

.vocn-occ-filterbar input,
.vocn-occ-filterbar select {
  border: 1px solid #334155;
  border-radius: 10px;
  background: #111827;
  color: #f8fafc;
  padding: 10px 12px;
}

.vocn-occ-filterbar input {
  min-width: min(360px, 100%);
}

.vocn-occ-details {
  border: 1px solid rgba(51, 65, 85, .75);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 10px 0 12px;
  background: rgba(15, 23, 42, .42);
}

.vocn-occ-details summary,
.vocn-occ-reply summary {
  cursor: pointer;
  color: #38bdf8;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 12px;
}

.vocn-occ-row-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.vocn-occ-reply {
  min-width: min(520px, 100%);
}

.vocn-occ-health-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.vocn-occ-health-grid div {
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 12px;
  background: rgba(15, 23, 42, .45);
}

.vocn-occ-health-grid p {
  margin: 0 0 6px;
  color: #94a3b8;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .06em;
}

.vocn-occ-health-grid strong {
  color: #f8fafc;
}

.vocn-occ-subhead {
  margin: 18px 0 8px;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.vocn-occ-flight-actions a[data-occ-fill-recipient] {
  background: rgba(15, 23, 42, .9);
}

.vocn-occ-button-row button.is-loading,
.vocn-occ-flight-actions button.is-loading,
.vocn-occ-sidebar-actions button.is-loading {
  opacity: .72;
  cursor: wait;
}

.vocn-occ-notice.is-success {
  border-color: rgba(34, 197, 94, .45);
  background: rgba(34, 197, 94, .10);
}

.vocn-occ-notice.is-error {
  border-color: rgba(239, 68, 68, .55);
  background: rgba(239, 68, 68, .12);
}

.vocn-occ-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0;
}

.vocn-occ-kpi {
  border-radius: 14px;
  padding: 16px;
  display: flex;
  gap: 14px;
  min-height: 118px;
  text-decoration: none;
  color: inherit;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}

a.vocn-occ-kpi:hover {
  border-color: rgba(56, 189, 248, .58);
  background: linear-gradient(145deg, rgba(56, 189, 248, .12), rgba(15, 23, 42, .92));
  transform: translateY(-1px);
}

.vocn-occ-kpi p,
.vocn-occ-card-head h4,
.vocn-occ-flight-header p,
.vocn-occ-weather-grid p {
  margin: 0;
  color: #94a3b8;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.vocn-occ-kpi strong {
  display: block;
  margin: 6px 0 4px;
  color: #f8fafc;
  font-size: 28px;
  line-height: 1.05;
}

.vocn-occ-kpi small,
.vocn-occ-muted,
.vocn-occ-feed-item span,
.vocn-occ-list-row span {
  color: #94a3b8;
}

.vocn-occ-kpi.is-blue .vocn-occ-kpi-icon { background: #38bdf8; box-shadow: 0 0 20px rgba(56, 189, 248, .65); }
.vocn-occ-kpi.is-green .vocn-occ-kpi-icon { background: #22c55e; }
.vocn-occ-kpi.is-orange .vocn-occ-kpi-icon { background: #f59e0b; box-shadow: 0 0 20px rgba(245, 158, 11, .65); }

.vocn-occ-pending-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.vocn-occ-pending-card {
  border: 1px solid #334155;
  border-radius: 14px;
  background: rgba(15, 23, 42, .72);
  padding: 14px;
}

.vocn-occ-pending-card h5 {
  margin: 0 0 4px;
  color: #f8fafc;
  font-size: 18px;
}

.vocn-occ-list-row.is-unread {
  background: rgba(56, 189, 248, .08);
  border-left: 3px solid #38bdf8;
  padding-left: 10px;
}

.vocn-occ-ops-grid {
  display: grid;
  grid-template-columns: 370px minmax(0, 1fr) 330px;
  gap: 16px;
  align-items: start;
}

.vocn-occ-sidebar,
.vocn-occ-activity,
.vocn-occ-card {
  border-radius: 16px;
  padding: 16px;
}

.vocn-occ-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.vocn-occ-card-head h4 {
  color: #f8fafc;
  font-size: 15px;
}

.vocn-occ-search input,
.vocn-occ-field input,
.vocn-occ-field select,
.vocn-occ-field textarea,
.vocn-occ-gate-card input {
  width: 100%;
  border: 1px solid #334155;
  border-radius: 12px;
  background: #111827;
  color: #f8fafc;
  padding: 11px 12px;
  outline: none;
}

.vocn-occ-search input:focus,
.vocn-occ-field input:focus,
.vocn-occ-field select:focus,
.vocn-occ-field textarea:focus,
.vocn-occ-gate-card input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, .12);
}

.vocn-occ-flight-card {
  border-radius: 14px;
  padding: 14px;
  margin-top: 12px;
}

.vocn-occ-flight-card.is-active,
.vocn-occ-flight-card:hover {
  border-color: rgba(56, 189, 248, .8);
  background: linear-gradient(145deg, rgba(30, 64, 109, .65), rgba(30, 41, 59, .98));
}

.vocn-occ-flight-row,
.vocn-occ-flight-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.vocn-occ-flight-row strong {
  color: #f8fafc;
  font-size: 18px;
}

.vocn-occ-flight-row span,
.vocn-occ-flight-meta span,
.vocn-occ-route {
  color: #cbd5e1;
}

.vocn-occ-flight-row small {
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.vocn-occ-route {
  margin: 8px 0;
  font-size: 15px;
}

.vocn-occ-flight-meta {
  justify-content: flex-start;
  margin-bottom: 12px;
  font-size: 12px;
}

.vocn-occ-flight-actions,
.vocn-occ-sidebar-actions,
.vocn-occ-button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.vocn-occ-flight-actions form {
  margin: 0;
}

.vocn-occ-flight-actions button,
.vocn-occ-flight-actions a,
.vocn-occ-primary,
.vocn-occ-secondary,
.vocn-occ-danger,
.vocn-occ-link-button,
.vocn-occ-staff-actions button,
.vocn-occ-button-row .vocn-acars-button,
.vocn-occ-sidebar-actions .vocn-acars-button {
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 10px 13px;
  background: rgba(56, 189, 248, .12);
  color: #f8fafc;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
}

.vocn-occ-sidebar-actions form {
  margin: 0;
}

.vocn-occ-primary {
  background: linear-gradient(135deg, #1d4ed8, #38bdf8);
  border-color: rgba(56, 189, 248, .65);
}

.vocn-occ-secondary,
.vocn-occ-link-button {
  background: rgba(15, 23, 42, .9);
  color: #cbd5e1;
}

.vocn-occ-danger {
  background: rgba(239, 68, 68, .16);
  border-color: rgba(239, 68, 68, .45);
  color: #fecaca;
}

.vocn-occ-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 7px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  border: 1px solid rgba(148, 163, 184, .25);
  color: #cbd5e1;
}

.vocn-occ-badge.is-blue { color: #7dd3fc; border-color: rgba(56, 189, 248, .45); background: rgba(56, 189, 248, .12); }
.vocn-occ-badge.is-success { color: #86efac; border-color: rgba(34, 197, 94, .42); background: rgba(34, 197, 94, .12); }
.vocn-occ-badge.is-warning { color: #fcd34d; border-color: rgba(245, 158, 11, .45); background: rgba(245, 158, 11, .14); }
.vocn-occ-badge.is-critical { color: #fca5a5; border-color: rgba(239, 68, 68, .52); background: rgba(239, 68, 68, .15); }

.vocn-occ-flight-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.vocn-occ-js .vocn-occ-flight-panel {
  display: none;
}

.vocn-occ-js .vocn-occ-flight-panel.is-active {
  display: grid;
}

.vocn-occ-flight-header {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr auto;
  align-items: center;
  gap: 18px;
}

.vocn-occ-flight-header h3 {
  margin: 4px 0 3px;
  color: #f8fafc;
  font-size: 30px;
}

.vocn-occ-flight-header strong,
.vocn-occ-weather-grid strong {
  display: block;
  margin-top: 5px;
  color: #f8fafc;
}

.vocn-occ-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 16px;
}

.vocn-occ-briefing-text {
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 14px;
  background: rgba(15, 23, 42, .42);
  margin-bottom: 14px;
}

.vocn-occ-briefing-text h5,
.vocn-occ-field span {
  color: #38bdf8;
  margin: 0 0 7px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.vocn-occ-briefing-text p {
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0 0 14px;
}

.vocn-occ-preline {
  white-space: pre-wrap;
}

.vocn-occ-full-briefing {
  border-top: 1px solid rgba(51, 65, 85, .75);
  margin-top: 8px;
  padding-top: 8px;
}

.vocn-occ-full-briefing summary {
  color: #38bdf8;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.vocn-occ-full-briefing p {
  margin-top: 10px;
}

.vocn-occ-field {
  display: block;
  margin-bottom: 14px;
}

.vocn-occ-field textarea {
  min-height: 138px;
  font-family: Consolas, Monaco, monospace;
  color: #86efac;
}

.vocn-occ-weather-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.vocn-occ-weather-grid div,
.vocn-occ-metar,
.vocn-occ-alert-form {
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 12px;
  background: rgba(15, 23, 42, .45);
}

.vocn-occ-metar strong {
  color: #38bdf8;
  font-size: 12px;
}

.vocn-occ-metar p {
  color: #cbd5e1;
  font-family: Consolas, Monaco, monospace;
  font-size: 12px;
  line-height: 1.55;
}

.vocn-occ-alert-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.vocn-occ-feed-item,
.vocn-occ-list-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #334155;
}

.vocn-occ-feed-item p,
.vocn-occ-list-row p {
  margin: 0;
  color: #cbd5e1;
}

.vocn-occ-section {
  margin-top: 16px;
}

.vocn-occ-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.vocn-occ-gate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.vocn-occ-gate-card {
  display: grid;
  gap: 10px;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 12px;
  background: rgba(15, 23, 42, .42);
}

.vocn-occ-gate-card span {
  color: #94a3b8;
}

.vocn-occ-gate-card strong {
  display: block;
  color: #f8fafc;
}

.vocn-occ-list {
  display: grid;
  gap: 2px;
}

.vocn-occ-list-row {
  grid-template-columns: 160px 120px 90px minmax(0, 1fr);
  align-items: start;
}

.vocn-occ-list-row strong {
  color: #f8fafc;
}

.vocn-occ-list-row em {
  font-style: normal;
  color: #38bdf8;
}

.vocn-occ-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.vocn-occ-health {
  margin-top: 16px;
  border-radius: 16px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1.4fr repeat(6, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
  color: #cbd5e1;
}

.vocn-occ-health strong {
  display: block;
  color: #f8fafc;
}

.vocn-occ-health span {
  color: #94a3b8;
}

.vocn-occ-health .is-online {
  color: #22c55e;
}

.vocn-occ-health .is-warning {
  color: #f59e0b;
}

.vocn-acars-staff-pilot-settings {
  width: min(1500px, 100%);
  margin: 16px auto 0;
  border: 1px solid #334155;
  border-radius: 14px;
  background: rgba(17, 24, 39, .88);
  padding: 12px 14px;
}

.vocn-acars-staff-pilot-settings summary {
  cursor: pointer;
  color: #94a3b8;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.vocn-acars-staff-page .page-hero {
  display: none !important;
}

.vocn-acars-staff-page .acars-template-content {
  padding-top: 86px !important;
}

.vocn-occ-shell {
  width: min(1680px, 100%);
  margin-top: 8px;
  font-size: 13px;
}

.vocn-occ-topbar {
  padding: 10px 12px;
  border-radius: 12px;
  top: 8px;
}

.vocn-occ-brand {
  min-width: 118px;
}

.vocn-occ-brand strong {
  font-size: 24px;
}

.vocn-occ-nav a {
  padding: 8px 9px;
  font-size: 11px;
}

.vocn-occ-kpis {
  gap: 8px;
  margin: 10px 0;
}

.vocn-occ-kpi {
  min-height: 84px;
  padding: 11px;
  gap: 10px;
}

.vocn-occ-kpi strong {
  font-size: 23px;
}

.vocn-occ-ops-grid {
  grid-template-columns: 300px minmax(0, 1fr) 280px;
  gap: 10px;
}

.vocn-occ-sidebar,
.vocn-occ-activity,
.vocn-occ-card {
  border-radius: 12px;
  padding: 11px;
}

.vocn-occ-card-head {
  margin-bottom: 9px;
}

.vocn-occ-flight-card {
  margin-top: 8px;
  padding: 10px;
  border-radius: 11px;
}

.vocn-occ-route {
  margin: 6px 0;
}

.vocn-occ-flight-meta {
  margin-bottom: 8px;
}

.vocn-occ-flight-actions button,
.vocn-occ-flight-actions a,
.vocn-occ-primary,
.vocn-occ-secondary,
.vocn-occ-danger,
.vocn-occ-link-button,
.vocn-occ-button-row .vocn-acars-button,
.vocn-occ-sidebar-actions .vocn-acars-button {
  padding: 8px 10px;
  border-radius: 8px;
}

.vocn-occ-flight-header {
  gap: 12px;
}

.vocn-occ-flight-header h3 {
  font-size: 25px;
}

.vocn-occ-detail-grid {
  gap: 10px;
}

.vocn-occ-briefing-text,
.vocn-occ-weather-grid div,
.vocn-occ-metar,
.vocn-occ-alert-form {
  border-radius: 10px;
  padding: 10px;
}

.vocn-occ-field textarea {
  min-height: 104px;
}

.vocn-occ-weather-grid {
  gap: 8px;
  margin-bottom: 10px;
}

.vocn-occ-feed-item,
.vocn-occ-list-row {
  padding: 8px 0;
}

.vocn-occ-section {
  margin-top: 10px;
}

.vocn-occ-gate-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.vocn-occ-health {
  margin-top: 10px;
  padding: 12px;
  border-radius: 12px;
}

@media (max-width: 1280px) {
  .vocn-occ-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vocn-occ-ops-grid {
    grid-template-columns: 320px minmax(0, 1fr);
  }

  .vocn-occ-activity {
    grid-column: 1 / -1;
  }

  .vocn-occ-health {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .vocn-occ-ops-grid {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .vocn-occ-main {
    min-width: 0;
  }

  .vocn-occ-detail-grid,
  .vocn-occ-pending-grid {
    grid-template-columns: 1fr;
  }

  .vocn-occ-activity {
    max-height: 360px;
    overflow: auto;
  }
}

@media (max-width: 1024px) {
  .vocn-occ-shell {
    width: min(100%, calc(100vw - 16px));
  }

  .vocn-occ-topbar {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .vocn-occ-user {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .vocn-occ-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vocn-occ-ops-grid {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .vocn-occ-sidebar {
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 108px);
    overflow: auto;
  }
}

@media (min-width: 700px) and (max-width: 1180px) {
  .vocn-acars-panel:has(.vocn-occ-shell) {
    padding-top: 0 !important;
  }

  .vocn-occ-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 10px;
    font-size: 14px;
    background:
      radial-gradient(circle at 8% 0%, rgba(56, 189, 248, .14), transparent 30%),
      radial-gradient(circle at 92% 12%, rgba(34, 197, 94, .08), transparent 28%),
      #0f172a;
  }

  .vocn-occ-topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    top: 8px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(15, 23, 42, .92);
    box-shadow: 0 18px 42px rgba(2, 6, 23, .48);
  }

  .vocn-occ-brand {
    min-width: 0;
    gap: 9px;
  }

  .vocn-occ-brand strong {
    font-size: 25px;
  }

  .vocn-occ-brand span {
    display: none;
  }

  .vocn-occ-nav {
    justify-content: center;
    gap: 8px;
    padding: 2px;
    background: rgba(2, 6, 23, .26);
    border: 1px solid rgba(51, 65, 85, .72);
    border-radius: 16px;
  }

  .vocn-occ-nav a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 13px;
    font-size: 11px;
  }

  .vocn-occ-nav a.is-active {
    background: rgba(56, 189, 248, .18);
    box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .28);
  }

  .vocn-occ-user {
    justify-self: end;
    min-height: 42px;
    padding: 0 10px;
    border: 1px solid rgba(51, 65, 85, .72);
    border-radius: 14px;
    background: rgba(17, 24, 39, .78);
  }

  .vocn-occ-user span:not(.vocn-occ-dot) {
    display: none;
  }

  .vocn-occ-kpis {
    display: grid;
    grid-template-columns: repeat(6, minmax(148px, 1fr));
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .vocn-occ-kpi {
    min-height: 92px;
    padding: 12px;
    border-radius: 16px;
    scroll-snap-align: start;
  }

  .vocn-occ-kpi strong {
    font-size: 24px;
  }

  .vocn-occ-kpi small {
    font-size: 12px;
  }

  .vocn-occ-ops-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .vocn-occ-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 12px;
  }

  .vocn-occ-sidebar .vocn-occ-card-head,
  .vocn-occ-search,
  .vocn-occ-sidebar-actions {
    max-width: none;
  }

  .vocn-occ-search input {
    min-height: 46px;
    font-size: 16px;
  }

  .vocn-occ-sidebar {
    display: grid;
    gap: 10px;
  }

  .vocn-occ-sidebar > .vocn-occ-flight-card,
  .vocn-occ-sidebar > .vocn-occ-card-head,
  .vocn-occ-sidebar > .vocn-occ-search,
  .vocn-occ-sidebar > .vocn-occ-sidebar-actions,
  .vocn-occ-sidebar > .vocn-occ-muted {
    min-width: 0;
  }

  .vocn-occ-sidebar {
    grid-template-columns: 1fr;
  }

  .vocn-occ-sidebar .vocn-occ-card-head {
    margin-bottom: 0;
  }

  .vocn-occ-sidebar .vocn-occ-flight-card {
    width: 280px;
    min-width: 280px;
    margin-top: 0;
  }

  .vocn-occ-sidebar .vocn-occ-flight-card:first-of-type {
    margin-left: 0;
  }

  .vocn-occ-sidebar {
    overflow-x: auto;
  }

  .vocn-occ-sidebar .vocn-occ-search,
  .vocn-occ-sidebar .vocn-occ-card-head,
  .vocn-occ-sidebar .vocn-occ-sidebar-actions {
    position: sticky;
    left: 0;
    z-index: 1;
  }

  .vocn-occ-sidebar .vocn-occ-card-head,
  .vocn-occ-sidebar .vocn-occ-search,
  .vocn-occ-sidebar .vocn-occ-sidebar-actions {
    width: 100%;
  }

  .vocn-occ-sidebar {
    display: flex;
    align-items: stretch;
    gap: 10px;
  }

  .vocn-occ-sidebar .vocn-occ-card-head,
  .vocn-occ-sidebar .vocn-occ-search,
  .vocn-occ-sidebar .vocn-occ-sidebar-actions {
    flex: 0 0 260px;
  }

  .vocn-occ-sidebar .vocn-occ-sidebar-actions {
    align-content: flex-start;
  }

  .vocn-occ-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .vocn-occ-sidebar .vocn-occ-card-head,
  .vocn-occ-sidebar .vocn-occ-search,
  .vocn-occ-sidebar .vocn-occ-sidebar-actions,
  .vocn-occ-sidebar > .vocn-occ-muted {
    grid-column: 1 / -1;
    position: static;
    width: auto;
    flex: initial;
  }

  .vocn-occ-sidebar .vocn-occ-flight-card {
    width: auto;
    min-width: 0;
  }

  .vocn-occ-main,
  .vocn-occ-activity {
    min-width: 0;
  }

  .vocn-occ-activity {
    max-height: none;
  }

  .vocn-occ-flight-panel {
    gap: 12px;
  }

  .vocn-occ-flight-header {
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 12px;
    border-radius: 18px;
    padding: 14px;
  }

  .vocn-occ-flight-header > .vocn-occ-badge {
    justify-self: start;
  }

  .vocn-occ-detail-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr);
    gap: 12px;
  }

  .vocn-occ-dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .vocn-occ-summary-row {
    grid-template-columns: minmax(140px, 1fr) 130px 96px 92px;
  }

  .vocn-occ-summary-row small {
    display: none;
  }

  .vocn-occ-card,
  .vocn-occ-sidebar,
  .vocn-occ-activity,
  .vocn-occ-flight-card,
  .vocn-occ-health {
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(2, 6, 23, .34);
  }

  .vocn-occ-card,
  .vocn-occ-activity {
    padding: 14px;
  }

  .vocn-occ-button-row,
  .vocn-occ-flight-actions,
  .vocn-occ-sidebar-actions {
    gap: 8px;
  }

  .vocn-occ-flight-actions button,
  .vocn-occ-flight-actions a,
  .vocn-occ-primary,
  .vocn-occ-secondary,
  .vocn-occ-danger,
  .vocn-occ-link-button,
  .vocn-occ-button-row .vocn-acars-button,
  .vocn-occ-sidebar-actions .vocn-acars-button {
    min-height: 44px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .vocn-occ-field input,
  .vocn-occ-field select,
  .vocn-occ-field textarea,
  .vocn-occ-gate-card input {
    min-height: 46px;
    font-size: 16px;
  }

  .vocn-occ-field textarea {
    min-height: 118px;
  }

  .vocn-occ-weather-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vocn-occ-gate-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vocn-occ-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vocn-occ-list-row {
    grid-template-columns: 120px 120px 80px minmax(0, 1fr);
  }

  .vocn-occ-pending-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vocn-occ-health {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vocn-occ-health-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 700px) and (max-width: 940px) {
  .vocn-occ-topbar {
    grid-template-columns: 1fr;
  }

  .vocn-occ-nav {
    justify-content: flex-start;
  }

  .vocn-occ-user {
    justify-self: stretch;
    justify-content: flex-start;
  }

  .vocn-occ-kpis {
    grid-template-columns: repeat(6, 170px);
  }

  .vocn-occ-detail-grid,
  .vocn-occ-pending-grid {
    grid-template-columns: 1fr;
  }

  .vocn-occ-dashboard-grid,
  .vocn-occ-summary-row,
  .vocn-occ-health-grid {
    grid-template-columns: 1fr;
  }

  .vocn-occ-sidebar {
    grid-template-columns: 1fr;
  }

  .vocn-occ-flight-header {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vocn-occ-list-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .vocn-occ-shell {
    width: min(100%, calc(100vw - 20px));
  }

  .vocn-occ-topbar,
  .vocn-occ-user {
    align-items: flex-start;
  }

  .vocn-occ-topbar,
  .vocn-occ-ops-grid,
  .vocn-occ-dashboard-grid,
  .vocn-occ-summary-row,
  .vocn-occ-health-grid,
  .vocn-occ-detail-grid,
  .vocn-occ-flight-header,
  .vocn-occ-section-grid {
    grid-template-columns: 1fr;
  }

  .vocn-occ-topbar {
    display: grid;
  }

  .vocn-occ-kpis,
  .vocn-occ-form-grid,
  .vocn-occ-gate-grid,
  .vocn-occ-weather-grid,
  .vocn-occ-health {
    grid-template-columns: 1fr 1fr;
  }

  .vocn-occ-list-row {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   Tablet improvements (700–1180px) — refinements on top of the block above
   ══════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 700px) and (max-width: 1180px) {

  /* Flight summary rows: hide less important columns on tablet */
  .vocn-occ-summary-row {
    grid-template-columns: minmax(130px, 1fr) 110px 90px 80px;
  }
  .vocn-occ-summary-row small {
    display: none;
  }

  /* Gate grid: 3 cols on tablet */
  .vocn-occ-gate-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Health grid: 3 cols */
  .vocn-occ-health-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Form grid: 2 cols */
  .vocn-occ-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Briefing textarea */
  .vocn-occ-field textarea {
    min-height: 110px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   Phone portrait (≤699px) — full mobile-first redesign
   ══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 699px) {

  /* ── Shell ── */
  .vocn-occ-shell {
    width: 100%;
    margin: 0;
    font-size: 14px;
    background:
      radial-gradient(circle at 10% 0%, rgba(56,189,248,.13), transparent 36%),
      radial-gradient(circle at 90% 18%, rgba(34,197,94,.07), transparent 32%),
      #0f172a;
  }

  /* ── Topbar: 2-row compact header ── */
  .vocn-occ-topbar {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-radius: 0;
    top: 0;
    border-left: none;
    border-right: none;
    border-top: none;
  }

  /* Row 1: brand + user badge */
  .vocn-occ-topbar > .vocn-occ-brand,
  .vocn-occ-topbar > .vocn-occ-user {
    display: flex;
  }

  .vocn-occ-topbar-row1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    width: 100%;
  }

  /* We simulate row-1 by styling brand + user directly */
  .vocn-occ-brand {
    min-width: 0;
    gap: 8px;
  }

  .vocn-occ-brand strong {
    font-size: 22px;
  }

  .vocn-occ-brand span {
    font-size: 10px;
    padding-left: 8px;
    letter-spacing: .06em;
  }

  .vocn-occ-user {
    font-size: 11px;
    gap: 5px;
    white-space: nowrap;
  }

  /* Hide verbose user text, keep dot + name */
  .vocn-occ-user > span:not(.vocn-occ-dot):not(strong) {
    display: none;
  }

  .vocn-occ-user strong {
    font-size: 12px;
    color: #f8fafc;
  }

  /* ── Nav: pill row, full width, horizontal scroll ── */
  .vocn-occ-nav {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 12px 10px;
    border-top: 1px solid rgba(51,65,85,.55);
    scroll-snap-type: x proximity;
  }

  .vocn-occ-nav::-webkit-scrollbar { display: none; }

  .vocn-occ-nav a {
    flex-shrink: 0;
    scroll-snap-align: start;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    border: 1px solid rgba(51,65,85,.65);
    display: inline-flex;
    align-items: center;
    background: rgba(15,23,42,.55);
    color: #94a3b8;
    transition: background .14s, color .14s, border-color .14s;
  }

  .vocn-occ-nav a.is-active {
    background: rgba(56,189,248,.18);
    border-color: rgba(56,189,248,.5);
    color: #38bdf8;
    box-shadow: 0 0 0 1px rgba(56,189,248,.2) inset;
  }

  /* ── Main content area ── */
  .vocn-occ-main,
  .vocn-occ-section,
  .vocn-occ-card,
  .vocn-occ-sidebar,
  .vocn-occ-activity {
    padding: 12px 14px;
  }

  /* Cards: rounded, visible separation */
  .vocn-occ-card,
  .vocn-occ-sidebar,
  .vocn-occ-activity,
  .vocn-occ-flight-card,
  .vocn-occ-health {
    border-radius: 16px;
    margin: 0 14px;
  }

  /* ── KPIs: horizontal snap scroll row ── */
  .vocn-occ-kpis {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    padding: 12px 14px;
    margin: 0;
  }

  .vocn-occ-kpis::-webkit-scrollbar { display: none; }

  .vocn-occ-kpi {
    flex: 0 0 148px;
    min-width: 148px;
    scroll-snap-align: start;
    min-height: 96px;
    padding: 12px;
    border-radius: 16px;
    gap: 10px;
    flex-direction: column;
    justify-content: space-between;
  }

  .vocn-occ-kpi p {
    font-size: 10px;
    letter-spacing: .07em;
    margin-bottom: 2px;
  }

  .vocn-occ-kpi strong {
    font-size: 28px;
    margin: 2px 0;
  }

  .vocn-occ-kpi small {
    font-size: 11px;
    line-height: 1.3;
  }

  /* ── All major grids → single column ── */
  .vocn-occ-ops-grid,
  .vocn-occ-dashboard-grid,
  .vocn-occ-detail-grid,
  .vocn-occ-pending-grid,
  .vocn-occ-section-grid,
  .vocn-occ-health-grid,
  .vocn-occ-form-grid,
  .vocn-occ-gate-grid,
  .vocn-occ-weather-grid,
  .vocn-occ-health {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Sidebar: no sticky, no fixed height */
  .vocn-occ-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
  }

  /* ── Flight cards ── */
  .vocn-occ-flight-card {
    margin: 8px 14px 0;
    border-radius: 14px;
    padding: 14px;
  }

  .vocn-occ-flight-card.is-active,
  .vocn-occ-flight-card:hover {
    border-color: rgba(56,189,248,.7);
  }

  /* Flight row: callsign left, aircraft right */
  .vocn-occ-flight-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }

  .vocn-occ-flight-row strong {
    font-size: 20px;
    letter-spacing: .02em;
  }

  .vocn-occ-route {
    font-size: 14px;
    margin: 6px 0;
    color: #cbd5e1;
  }

  .vocn-occ-flight-meta {
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 12px;
  }

  /* Flight action buttons: wrap, touch-sized */
  .vocn-occ-flight-actions {
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
  }

  /* ── Flight detail header (open panel) ── */
  .vocn-occ-flight-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    background: rgba(15,23,42,.55);
    border: 1px solid #334155;
    border-radius: 16px;
  }

  .vocn-occ-flight-header h3 {
    font-size: 26px;
    margin: 2px 0;
  }

  /* ── Summary rows: card style ── */
  .vocn-occ-summary-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    align-items: center;
    padding: 12px 0;
  }

  .vocn-occ-summary-row > div {
    flex: 1 1 100%;
  }

  .vocn-occ-summary-row > span,
  .vocn-occ-summary-row > small {
    flex: 0 0 auto;
  }

  .vocn-occ-summary-row strong {
    font-size: 16px;
  }

  /* ── Inbox / feed rows: stacked card layout ── */
  .vocn-occ-feed-item,
  .vocn-occ-list-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
  }

  .vocn-occ-feed-item span,
  .vocn-occ-list-row > span:first-child {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .05em;
  }

  .vocn-occ-list-row strong {
    font-size: 15px;
  }

  .vocn-occ-list-row em {
    font-size: 13px;
  }

  .vocn-occ-list-row.is-unread {
    border-left: 3px solid #38bdf8;
    padding-left: 10px;
  }

  /* ── Touch-friendly buttons everywhere ── */
  .vocn-occ-flight-actions button,
  .vocn-occ-flight-actions a,
  .vocn-occ-primary,
  .vocn-occ-secondary,
  .vocn-occ-danger,
  .vocn-occ-link-button,
  .vocn-occ-button-row .vocn-acars-button,
  .vocn-occ-sidebar-actions .vocn-acars-button,
  .vocn-occ-sidebar-actions button {
    min-height: 48px;
    padding: 0 16px;
    font-size: 13px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Action rows: wrap with full width on single button rows */
  .vocn-occ-button-row,
  .vocn-occ-sidebar-actions {
    gap: 8px;
    flex-wrap: wrap;
  }

  .vocn-occ-sidebar-actions button,
  .vocn-occ-sidebar-actions .vocn-acars-button {
    flex: 1 1 calc(50% - 4px);
    min-width: 120px;
  }

  /* ── Form inputs: 16px prevents iOS auto-zoom ── */
  .vocn-occ-search input,
  .vocn-occ-field input,
  .vocn-occ-field select,
  .vocn-occ-field textarea,
  .vocn-occ-gate-card input,
  .vocn-occ-filterbar input,
  .vocn-occ-filterbar select {
    font-size: 16px;
    min-height: 48px;
    border-radius: 12px;
  }

  .vocn-occ-field textarea {
    min-height: 120px;
    font-size: 14px;
  }

  /* Search input: full width */
  .vocn-occ-search input {
    width: 100%;
    min-width: 0;
  }

  /* Filterbar: stack on phone */
  .vocn-occ-filterbar {
    flex-wrap: wrap;
    gap: 8px;
  }

  .vocn-occ-filterbar input,
  .vocn-occ-filterbar select {
    flex: 1 1 100%;
    min-width: 0;
  }

  /* ── Section spacing ── */
  .vocn-occ-section {
    margin-top: 12px;
  }

  .vocn-occ-subhead {
    margin: 14px 0 6px;
    font-size: 11px;
  }

  /* ── Weather cards ── */
  .vocn-occ-metar {
    border-radius: 12px;
    padding: 12px;
  }

  .vocn-occ-metar p {
    font-size: 12px;
    line-height: 1.6;
    word-break: break-all;
  }

  /* ── Activity / logs ── */
  .vocn-occ-activity {
    max-height: none;
    overflow: visible;
  }

  /* ── Gate cards ── */
  .vocn-occ-gate-card {
    border-radius: 12px;
    padding: 12px;
  }

  /* ── Health strip → stacked cards ── */
  .vocn-occ-health {
    padding: 14px;
    border-radius: 16px;
    gap: 10px;
    margin: 10px 14px;
  }

  /* ── Notice banners ── */
  .vocn-occ-notice,
  .vocn-occ-ajax-notice {
    border-radius: 12px;
    margin: 10px 14px;
    font-size: 13px;
  }

  /* ── Details/summary: bigger tap target ── */
  .vocn-occ-details summary,
  .vocn-occ-reply summary,
  .vocn-occ-full-briefing summary {
    min-height: 40px;
    display: flex;
    align-items: center;
  }

  /* ── Safe area support for notched phones ── */
  .vocn-occ-topbar {
    padding-top: max(10px, env(safe-area-inset-top));
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }

  .vocn-occ-shell {
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }
}

/* ==========================================================
   vOCN OCC — Tablet Compact Mode
   App-density overrides for ACARS/OCC tablet use.
   ========================================================== */
:root{
  --vocn-tablet-radius:10px;
  --vocn-tablet-gap:10px;
  --vocn-tablet-pad:10px;
}
html:has(.vocn-occ-shell),
body:has(.vocn-occ-shell){
  background:#07111f!important;
  overflow-x:hidden!important;
}
.vocn-acars-page .ast-container,
.vocn-acars-page .site-content,
.vocn-acars-page .entry-content,
.vocn-acars-page main,
.vocn-acars-page article,
.vocn-acars-page .vocn-acars-pilot-portal,
.vocn-acars-page .vocn-acars-panel:has(.vocn-occ-shell){
  max-width:none!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
.vocn-occ-shell{
  width:min(1220px,calc(100vw - 18px))!important;
  margin:8px auto!important;
  font-size:13px!important;
  line-height:1.35!important;
  --occ-border-soft:rgba(51,65,85,.72);
}
.vocn-occ-topbar,
.vocn-occ-kpi,
.vocn-occ-card,
.vocn-occ-sidebar,
.vocn-occ-activity,
.vocn-occ-flight-card,
.vocn-occ-health,
.vocn-occ-pending-card,
.vocn-occ-gate-card{
  border-radius:var(--vocn-tablet-radius)!important;
  box-shadow:0 8px 22px rgba(2,6,23,.26)!important;
}
.vocn-occ-topbar{
  top:6px!important;
  padding:7px 10px!important;
  min-height:46px!important;
  gap:10px!important;
  border-radius:12px!important;
}
.vocn-occ-brand{min-width:auto!important;gap:8px!important;}
.vocn-occ-brand strong{font-size:22px!important;line-height:1!important;}
.vocn-occ-brand span{font-size:10px!important;padding-left:8px!important;}
.vocn-occ-nav{gap:3px!important;}
.vocn-occ-nav a{
  padding:7px 8px!important;
  border-radius:8px!important;
  font-size:10px!important;
  letter-spacing:.04em!important;
}
.vocn-occ-nav-badge{
  min-width:15px!important;
  height:15px!important;
  font-size:9px!important;
  margin-left:2px!important;
}
.vocn-occ-user{font-size:10px!important;gap:6px!important;}
.vocn-occ-dot{width:7px!important;height:7px!important;}
.vocn-occ-notice,.vocn-occ-ajax-notice{
  margin:8px 0!important;
  padding:8px 10px!important;
  border-radius:9px!important;
  font-size:12px!important;
}
.vocn-occ-kpis{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:8px!important;
  margin:8px 0!important;
}
.vocn-occ-kpi{
  min-height:72px!important;
  padding:10px!important;
  gap:8px!important;
}
.vocn-occ-kpi-icon{width:7px!important;height:7px!important;margin-top:3px!important;}
.vocn-occ-kpi p,
.vocn-occ-card-head h4,
.vocn-occ-flight-header p,
.vocn-occ-weather-grid p,
.vocn-occ-health-grid p{
  font-size:10px!important;
  letter-spacing:.055em!important;
}
.vocn-occ-kpi strong{font-size:20px!important;margin:3px 0 2px!important;}
.vocn-occ-kpi small{font-size:10px!important;line-height:1.25!important;}
.vocn-occ-dashboard-grid{
  grid-template-columns:minmax(0,1fr) 285px!important;
  gap:9px!important;
}
.vocn-occ-ops-grid{
  grid-template-columns:250px minmax(0,1fr)!important;
  gap:9px!important;
}
.vocn-occ-ops-grid > :nth-child(3){display:none!important;}
.vocn-occ-sidebar,
.vocn-occ-activity,
.vocn-occ-card,
.vocn-occ-pending-card,
.vocn-occ-health,
.vocn-occ-gate-card{
  padding:10px!important;
}
.vocn-occ-card-head{margin-bottom:8px!important;gap:8px!important;}
.vocn-occ-card-head h4{font-size:12px!important;}
.vocn-occ-subhead{margin:12px 0 6px!important;font-size:13px!important;}
.vocn-occ-search input,
.vocn-occ-field input,
.vocn-occ-field select,
.vocn-occ-field textarea,
.vocn-occ-filterbar input,
.vocn-occ-filterbar select,
.vocn-occ-gate-card input{
  min-height:34px!important;
  padding:7px 9px!important;
  border-radius:8px!important;
  font-size:12px!important;
}
.vocn-occ-flight-card{
  padding:9px!important;
  margin-bottom:7px!important;
  border-radius:10px!important;
}
.vocn-occ-flight-header{gap:8px!important;margin-bottom:6px!important;}
.vocn-occ-flight-header strong,
.vocn-occ-pending-card h5{font-size:16px!important;line-height:1!important;}
.vocn-occ-flight-meta,
.vocn-occ-flight-row,
.vocn-occ-route,
.vocn-occ-detail-grid{
  gap:6px!important;
}
.vocn-occ-flight-meta span,
.vocn-occ-flight-row span,
.vocn-occ-flight-card small,
.vocn-occ-muted{font-size:10px!important;}
.vocn-occ-badge,
.vocn-occ-primary,
.vocn-occ-secondary,
.vocn-occ-danger,
.vocn-occ-link-button,
.vocn-occ-button-row button,
.vocn-occ-flight-actions button,
.vocn-occ-flight-actions a,
.vocn-occ-sidebar-actions button{
  min-height:30px!important;
  padding:6px 9px!important;
  border-radius:7px!important;
  font-size:10px!important;
  letter-spacing:.04em!important;
}
.vocn-occ-sidebar-actions{gap:7px!important;margin-top:7px!important;}
.vocn-occ-flight-panel{
  display:none!important;
}
.vocn-occ-flight-panel.is-active{
  display:grid!important;
  grid-template-columns:minmax(0,1.1fr) 300px!important;
  gap:9px!important;
  align-items:start!important;
}
.vocn-occ-flight-panel > .vocn-occ-card{min-height:0!important;}
.vocn-occ-weather-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:6px!important;
}
.vocn-occ-weather-grid div,
.vocn-occ-metar{
  padding:8px!important;
  border-radius:8px!important;
}
.vocn-occ-weather-grid strong{font-size:12px!important;margin-top:2px!important;}
.vocn-occ-metar{margin-top:6px!important;}
.vocn-occ-metar strong{font-size:10px!important;}
.vocn-occ-metar p,
.vocn-occ-preline,
.vocn-occ-briefing-text{
  font-size:10.5px!important;
  line-height:1.42!important;
}
.vocn-occ-pending-grid,
.vocn-occ-section-grid,
.vocn-occ-gate-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:9px!important;
}
.vocn-occ-health-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
}
.vocn-occ-health-grid div{
  padding:9px!important;
  border-radius:9px!important;
}
.vocn-occ-list{gap:0!important;}
.vocn-occ-list-row{
  display:grid!important;
  grid-template-columns:145px 92px 70px minmax(0,1fr)!important;
  gap:8px!important;
  align-items:start!important;
  padding:8px 0!important;
  min-height:0!important;
}
.vocn-occ-list-row strong{font-size:12px!important;line-height:1.15!important;}
.vocn-occ-list-row span,
.vocn-occ-list-row em,
.vocn-occ-list-row p{font-size:10.5px!important;line-height:1.35!important;}
.vocn-occ-list-row p{margin:0!important;}
.vocn-occ-filterbar{gap:8px!important;margin-bottom:8px!important;}
.vocn-occ-summary-row{
  grid-template-columns:minmax(120px,1fr) 130px 82px 70px 58px!important;
  gap:8px!important;
  padding:7px 0!important;
}
.vocn-occ-summary-row strong{font-size:14px!important;}
.vocn-occ-feed-item{padding:7px 0!important;}
.vocn-occ-feed-item strong{font-size:12px!important;}
.vocn-occ-feed-item span{font-size:10px!important;}
.vocn-occ-details{padding:8px!important;margin:7px 0!important;border-radius:8px!important;}
.vocn-occ-details summary,.vocn-occ-reply summary{font-size:10px!important;}
@media (max-width:1180px){
  .vocn-occ-shell{width:calc(100vw - 12px)!important;margin:6px auto!important;}
  .vocn-occ-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .vocn-occ-ops-grid{grid-template-columns:230px minmax(0,1fr)!important;}
  .vocn-occ-flight-panel.is-active{grid-template-columns:minmax(0,1fr)!important;}
  .vocn-occ-dashboard-grid{grid-template-columns:1fr!important;}
  .vocn-occ-user strong{display:none!important;}
}
@media (max-width:900px){
  .vocn-occ-topbar{align-items:flex-start!important;flex-wrap:wrap!important;}
  .vocn-occ-brand{width:100%!important;}
  .vocn-occ-nav{width:100%!important;order:3!important;}
  .vocn-occ-user{position:absolute!important;right:10px!important;top:10px!important;}
  .vocn-occ-ops-grid{grid-template-columns:1fr!important;}
  .vocn-occ-sidebar{position:relative!important;top:auto!important;}
  .vocn-occ-list-row{grid-template-columns:1fr!important;gap:3px!important;}
  .vocn-occ-pending-grid,.vocn-occ-section-grid,.vocn-occ-gate-grid,.vocn-occ-health-grid{grid-template-columns:1fr!important;}
}

/* ==========================================================
   vOCN Child hard mobile override — ACARS/OCC only
   Keeps Home/Fleet untouched. Removes Astra width conflicts.
   ========================================================== */
@media (max-width: 767px) {
  html,
  body.vocn-acars-page {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body.vocn-acars-page,
  body.vocn-acars-page #page,
  body.vocn-acars-page .site,
  body.vocn-acars-page .site-content,
  body.vocn-acars-page .ast-container,
  body.vocn-acars-page .entry-content,
  body.vocn-acars-page main,
  body.vocn-acars-page article,
  body.vocn-acars-page .acars-template-content,
  body.vocn-acars-page .vocn-acars-pilot-portal,
  body.vocn-acars-page .vocn-acars-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
  }

  body.vocn-acars-page .vocn-occ-shell {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 8px 8px max(18px, env(safe-area-inset-bottom)) !important;
    border-radius: 0 !important;
    overflow-x: hidden !important;
  }

  body.vocn-acars-page .vocn-occ-topbar,
  body.vocn-acars-page .vocn-occ-topbar-compact {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 10px !important;
    padding: 10px 8px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    border-radius: 0 0 18px 18px !important;
  }

  body.vocn-acars-page .vocn-occ-brand {
    width: 100% !important;
    justify-content: center !important;
    min-width: 0 !important;
  }

  body.vocn-acars-page .vocn-occ-nav,
  body.vocn-acars-page .vocn-occ-tabs,
  body.vocn-acars-page .vocn-ops-flight-switcher {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    justify-content: flex-start !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  body.vocn-acars-page .vocn-occ-nav::-webkit-scrollbar,
  body.vocn-acars-page .vocn-occ-tabs::-webkit-scrollbar,
  body.vocn-acars-page .vocn-ops-flight-switcher::-webkit-scrollbar {
    display: none !important;
  }

  body.vocn-acars-page .vocn-occ-nav a,
  body.vocn-acars-page .vocn-occ-tab,
  body.vocn-acars-page .vocn-efb-flight-chip {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    min-width: auto !important;
  }

  body.vocn-acars-page .vocn-occ-user,
  body.vocn-acars-page .vocn-occ-push-wrap {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  body.vocn-acars-page .vocn-ops-dashboard-v165,
  body.vocn-acars-page .vocn-occ-dashboard-grid,
  body.vocn-acars-page .vocn-occ-ops-grid,
  body.vocn-acars-page .vocn-occ-flight-panel.is-active {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body.vocn-acars-page .vocn-ops-flight-overview,
  body.vocn-acars-page .vocn-ops-feed,
  body.vocn-acars-page .vocn-ops-base-weather,
  body.vocn-acars-page .vocn-ops-live-flights,
  body.vocn-acars-page .vocn-ops-queue,
  body.vocn-acars-page .vocn-ops-alerts,
  body.vocn-acars-page .vocn-ops-system,
  body.vocn-acars-page .vocn-ops-footer,
  body.vocn-acars-page .vocn-occ-card,
  body.vocn-acars-page .vocn-ops-card,
  body.vocn-acars-page .vocn-occ-activity,
  body.vocn-acars-page .vocn-occ-sidebar {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: hidden !important;
  }

  body.vocn-acars-page .vocn-ops-card {
    padding: 12px !important;
    border-radius: 18px !important;
  }

  body.vocn-acars-page .vocn-ops-route {
    grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  body.vocn-acars-page .vocn-ops-route b {
    font-size: clamp(24px, 8vw, 34px) !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.vocn-acars-page .vocn-ops-route i:before,
  body.vocn-acars-page .vocn-ops-route i:after {
    width: 70px !important;
  }

  body.vocn-acars-page .vocn-ops-metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.vocn-acars-page .vocn-ops-feed-list a,
  body.vocn-acars-page .vocn-ops-alert-list a,
  body.vocn-acars-page .vocn-occ-feed-item {
    grid-template-columns: 16px minmax(0, 1fr) !important;
  }

  body.vocn-acars-page .vocn-ops-feed-list span,
  body.vocn-acars-page .vocn-ops-alert-list em,
  body.vocn-acars-page .vocn-occ-feed-item time {
    grid-column: 2 !important;
    justify-self: start !important;
    margin-top: 5px !important;
    white-space: normal !important;
  }
}
