/* Original 1120px shell and green header, with viewport-sized workspaces. */
html,
body {
  height: 100%;
  overflow: hidden;
}
body {
  display: flex;
  flex-direction: column;
  background: var(--surface-soft);
}
.app-header {
  position: relative;
  flex: 0 0 auto;
  background: var(--brand);
  border-bottom: 1px solid #ffffff29;
  box-shadow: 0 6px 18px #1f29331a;
}
.app-nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 70px;
  grid-template-columns: minmax(150px, 1fr) minmax(280px, auto) minmax(
      150px,
      1fr
    );
}
.brand-link {
  padding: 6px 10px;
  background: #fff;
  border-radius: 8px;
}
.logo {
  width: 138px;
}
.header-title {
  display: block;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 8px 18px;
  border-radius: 999px;
  background: #ffffff1c;
  box-shadow: inset 0 0 0 1px #ffffff29;
  text-shadow: 0 1px 1px #1f293329;
}
.language-switcher {
  border: 1px solid #ffffff61;
  background: #ffffff21;
}
.language-switcher a {
  color: #fff;
}
.language-switcher a.active {
  color: var(--brand-dark);
  background: #fff;
}
.language-switcher a:hover {
  color: #fff;
  background: #ffffff2e;
}
.app-flashes {
  flex: 0 0 auto;
  width: min(1120px, calc(100% - 32px));
  max-height: 76px;
  overflow: auto;
  margin: 0 auto;
}
.app-flashes .alert {
  padding: 8px 12px;
  margin: 5px 0;
  font-size: 12px;
}
.booking-shell,
.compact-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 14px auto;
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.compact-booking .journey-back {
  margin: 0 0 10px;
  width: fit-content;
}
.booking-intro,
.booking-bottom,
.booking-footer,
.mobile-calendar-jump {
  display: none !important;
}
.compact-booking .booking-card {
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.7fr);
  flex: 1;
  min-height: 0;
}
.compact-booking .booking-details {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.compact-booking .booking-brand {
  display: none;
}
.compact-booking .booking-details-content {
  padding: 22px;
}
.compact-booking .booking-host {
  font-size: 10px;
  margin: 0 0 8px;
}
.compact-booking .booking-details h1 {
  font-size: 23px;
  margin: 0 0 14px;
  letter-spacing: -0.6px;
  line-height: 1.22;
}
.compact-booking .meeting-meta {
  font-size: 12px;
  margin: 10px 0;
  gap: 9px;
}
.compact-booking .address {
  font-size: 11px;
  line-height: 1.55;
}
.compact-booking .address svg {
  width: 18px;
}
.compact-booking .booking-description {
  font-size: 11px;
  line-height: 1.65;
  margin: 12px 0;
}
.compact-booking .applicant-card {
  padding: 11px 12px;
  max-width: 300px;
  background: #f8fafc;
}
.compact-booking .applicant-heading {
  margin-bottom: 9px;
}
.compact-booking .applicant-heading h2 {
  font-size: 11px;
}
.compact-booking .applicant-heading > span {
  display: none;
}
.compact-booking .applicant-card dl {
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}
.compact-booking .applicant-name {
  grid-column: auto;
}
.compact-booking .applicant-card dt {
  font-size: 9px;
  margin-bottom: 3px;
}
.compact-booking .applicant-card dd {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
}
.application-status {
  font-size: 10px;
  padding: 3px 7px;
}
.application-status.is-approved,
.status-positive {
  background: #eaf4ec;
  color: #26733c;
}
.application-status.is-rejected,
.status-negative {
  background: #fff0ed;
  color: #b42318;
}
.compact-booking .bring-note {
  font-size: 10px;
  margin-top: 12px;
}
.compact-booking .booking-selector {
  padding: 22px;
  min-height: 0;
  overflow-y: auto;
}
.compact-booking .selector-header h2 {
  font-size: 23px;
  margin: 5px 0 7px;
}
.compact-booking .selector-header p {
  font-size: 11px;
  margin-bottom: 10px;
}
.compact-booking .booking-step {
  font-size: 9px;
}
.compact-booking .booking-message {
  font-size: 10px;
  padding: 8px 10px;
  margin: 9px 0;
}
.compact-booking .calendar-time-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.compact-booking .month-navigation {
  margin: 0 0 16px;
}
.compact-booking .month-navigation h3 {
  font-size: 14px;
}
.compact-booking .month-navigation button {
  width: 30px;
  height: 30px;
  font-size: 25px;
}
.compact-booking .calendar-weekdays {
  font-size: 10px;
  margin-bottom: 10px;
}
.compact-booking .calendar-days {
  gap: 6px 1px;
}
.compact-booking .calendar-days button {
  height: 36px;
  width: 36px;
  font-size: 12px;
}
.compact-booking .calendar-legend {
  font-size: 9px;
  line-height: 1.5;
  margin: 14px 0;
}
.compact-booking .timezone-field {
  margin-top: 14px;
  padding-top: 12px;
}
.compact-booking .timezone-field label {
  font-size: 11px;
  margin-bottom: 5px;
}
.compact-booking .timezone-field select {
  font-size: 10px;
}
.compact-booking .timezone-field small {
  font-size: 9px;
}
.compact-booking .time-panel {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.compact-booking .time-panel h3 {
  font-size: 11px;
  margin: 5px 0 12px;
}
.compact-booking .time-panel > p {
  font-size: 10px;
  padding: 8px 10px;
  margin-bottom: 12px;
  line-height: 1.5;
}
.compact-booking .time-slots {
  grid-template-columns: 1fr;
  gap: 7px;
  max-height: clamp(160px, 40dvh, 360px);
  overflow-y: auto;
}
.compact-booking .time-slots button {
  min-height: 40px;
  font-size: 11px;
  padding: 9px 5px;
}
.compact-booking .selected-summary {
  padding: 9px;
  font-size: 10px;
  line-height: 1.5;
  margin: 12px 0;
}
.compact-booking #booking-confirm > p {
  font-size: 9px;
}
.compact-booking .calendar-loading {
  min-height: 240px;
  font-size: 11px;
}
.compact-booking .journey-summary {
  margin-top: 14px;
  padding-top: 12px;
}
.compact-booking .journey-summary h2 {
  font-size: 12px;
  margin-bottom: 8px;
}
.compact-booking .journey-distance {
  font-size: 10px;
  color: #627995;
  margin: 0 0 8px;
}
.compact-booking .journey-distance:empty {
  display: none;
}
.compact-booking .journey-location-form label {
  font-size: 9px;
}
.compact-booking .journey-location-form > div {
  flex-wrap: wrap;
  gap: 6px;
}
.compact-booking .journey-location-form input {
  flex: 1 1 140px;
  font-size: 11px;
  padding: 9px;
}
.compact-booking .journey-location-form button {
  font-size: 10px;
  padding: 9px;
}
.compact-booking .journey-actions {
  gap: 8px;
  margin-top: 8px;
}
.compact-booking .journey-actions button,
.compact-booking .journey-actions a {
  font-size: 10px;
  padding: 8px;
}
.compact-booking .directions-message,
.compact-booking .journey-warning {
  font-size: 10px;
  line-height: 1.5;
  padding: 8px;
  margin-top: 8px;
}
.compact-booking #journey-map-panel {
  position: relative;
  clear: both;
  width: 100%;
  margin-top: 10px;
  flex: none;
}
.compact-booking #journey-map {
  height: 170px;
  width: 100%;
}
.compact-booking #journey-route {
  max-height: 115px;
  font-size: 10px;
  padding: 6px;
}
.pac-container {
  z-index: 1000 !important;
}
/* Confirmation, management, verification and scanner share these compact cards. */
.compact-content {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.6fr);
  flex: 1;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: white;
  box-shadow: 0 12px 36px #18304c08;
}
.compact-aside,
.compact-main {
  padding: 26px;
  min-height: 0;
  overflow: auto;
}
.compact-aside {
  background: #fbfcfa;
  border-right: 1px solid var(--line);
}
.compact-aside > img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  margin-bottom: 20px;
}
.compact-content h1 {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 16px;
}
.compact-content h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 13px;
}
.compact-content h3 {
  font-size: 13px;
  font-weight: 700;
}
.compact-content p {
  font-size: 12px;
  color: #627995;
  line-height: 1.7;
}
.compact-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #728499;
  margin-bottom: 10px;
}
.compact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 20px 0;
}
.compact-info dt {
  font-size: 10px;
  color: #7c8ca0;
  font-weight: 500;
  margin: 0 0 5px;
}
.compact-info dd {
  font-size: 12px;
  overflow-wrap: anywhere;
  margin: 0;
}
.compact-notice {
  font-size: 12px;
  padding: 14px;
  border-radius: 8px;
  background: #edf5e8;
  color: #386324;
  margin: 12px 0 20px;
}
.compact-notice.error {
  background: #fff0ed;
  color: #b42318;
}
.compact-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.compact-actions form {
  margin: 0;
}
.compact-actions button,
.compact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
  border-radius: 6px;
  padding: 11px 16px;
  font-size: 12px;
  text-decoration: none;
}
.compact-actions .secondary {
  background: white;
  color: var(--brand);
}
.compact-actions .danger {
  background: #fff;
  color: #b42318;
  border-color: #e6b9b2;
}
.compact-actions button:disabled {
  opacity: 0.6;
}
.compact-rule {
  border-top: 1px solid #e4eaf0;
  margin: 20px 0;
  padding-top: 20px;
}
.compact-status {
  display: inline-block;
  border-radius: 5px;
  padding: 5px 9px;
  font-size: 11px;
}
.compact-main canvas {
  max-height: 40dvh;
  max-width: 100%;
  object-fit: contain;
}
@media (max-width: 1000px) {
  .compact-booking .booking-card {
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.5fr);
  }
  .compact-booking .booking-details-content,
  .compact-booking .booking-selector {
    padding: 16px;
  }
  .compact-booking .calendar-time-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 10px;
  }
  .compact-booking .calendar-days button {
    width: 29px;
    height: 32px;
  }
  .compact-booking .time-slots button {
    font-size: 10px;
  }
  .header-title {
    font-size: 13px;
  }
}
@media (max-width: 720px) {
  .app-nav {
    min-height: 64px;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }
  .header-title {
    display: block;
    font-size: 10px;
    padding: 5px;
    line-height: 1.5;
  }
  .logo {
    width: 94px;
    max-width: 25vw;
  }
  .brand-link {
    padding: 4px 6px;
  }
  .language-switcher {
    gap: 0;
    padding: 2px;
  }
  .language-switcher a {
    min-width: 27px;
    height: 28px;
    padding: 0 5px;
    font-size: 10px;
  }
  .booking-shell,
  .compact-shell {
    width: calc(100% - 20px);
    margin: 10px auto;
  }
  .compact-booking .journey-back {
    font-size: 10px;
    margin-bottom: 6px;
  }
  .compact-booking .booking-card {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(85px, 0.7fr) minmax(0, 2fr);
  }
  .compact-booking .booking-details {
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  .compact-booking .booking-details-content {
    padding: 12px 14px;
  }
  .compact-booking .booking-details h1 {
    font-size: 17px;
    margin-bottom: 8px;
  }
  .compact-booking .booking-host,
  .compact-booking .booking-description,
  .compact-booking .bring-note {
    display: none;
  }
  .compact-booking .meeting-meta {
    margin: 6px 0;
    font-size: 10px;
  }
  .compact-booking .address {
    font-size: 10px;
  }
  .compact-booking .applicant-card {
    max-width: none;
  }
  .compact-booking .applicant-card dl {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .compact-booking .booking-selector {
    padding: 12px;
    overflow: auto;
  }
  .compact-booking .selector-header h2 {
    font-size: 18px;
    margin: 0 0 5px;
  }
  .compact-booking .selector-header p {
    font-size: 10px;
    margin-bottom: 6px;
  }
  .compact-booking .booking-step {
    display: none;
  }
  .compact-booking .calendar-time-layout {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: 8px;
    margin-top: 12px;
  }
  .compact-booking .month-navigation h3 {
    font-size: 11px;
  }
  .compact-booking .month-navigation {
    margin-bottom: 10px;
  }
  .compact-booking .month-navigation button {
    width: 23px;
    height: 23px;
    font-size: 22px;
    line-height: 18px;
  }
  .compact-booking .calendar-weekdays {
    font-size: 8px;
    margin-bottom: 7px;
  }
  .compact-booking .calendar-days {
    gap: 3px 0;
  }
  .compact-booking .calendar-days button {
    width: 24px;
    height: 27px;
    font-size: 10px;
  }
  .compact-booking .calendar-legend {
    font-size: 8px;
    margin: 8px 0;
  }
  .compact-booking .timezone-field {
    padding-top: 7px;
    margin-top: 8px;
  }
  .compact-booking .timezone-field small {
    font-size: 8px;
  }
  .compact-booking .timezone-field select {
    font-size: 9px;
    width: 100%;
  }
  .compact-booking .time-panel h3 {
    font-size: 10px;
    line-height: 1.5;
    margin: 0 0 7px;
  }
  .compact-booking .time-panel > p {
    font-size: 8px;
    padding: 6px;
    margin-bottom: 7px;
  }
  .compact-booking .time-slots {
    max-height: 210px;
    gap: 5px;
  }
  .compact-booking .time-slots button {
    font-size: 9px;
    min-height: 34px;
    padding: 7px 2px;
  }
  .compact-booking .schedule-slot-row {
    gap: 4px;
  }
  .compact-booking .selected-summary {
    font-size: 8px;
    padding: 6px;
  }
  .compact-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }
  .compact-aside {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 16px;
    max-height: 24dvh;
  }
  .compact-aside > img {
    display: none;
  }
  .compact-content h1 {
    font-size: 20px;
    margin-bottom: 8px;
  }
  .compact-main {
    padding: 18px;
  }
  .compact-info {
    gap: 13px;
    margin: 16px 0;
  }
}
@media (max-height: 700px) and (min-width: 721px) {
  .compact-booking .calendar-days button {
    height: 29px;
    width: 29px;
  }
  .compact-booking .calendar-days {
    gap: 3px 0;
  }
  .compact-booking .booking-selector,
  .compact-booking .booking-details-content {
    padding: 16px;
  }
  .compact-booking .selector-header p {
    margin-bottom: 5px;
  }
  .compact-booking .calendar-time-layout {
    margin-top: 10px;
  }
  .compact-booking .month-navigation {
    margin-bottom: 10px;
  }
}

.compact-booking .booking-about {
  font-size: 10px;
  color: #627995;
  margin: 10px 0;
}
.compact-booking .booking-about summary {
  cursor: pointer;
  font-weight: 600;
}
.compact-booking #journey-map {
  height: 140px;
}
.compact-booking #journey-route {
  max-height: 90px;
}
.compact-booking
  .booking-details:has(#journey-map-panel:not([hidden]))
  .bring-note {
  display: none;
}
@media (max-width: 720px) {
  .compact-booking .booking-about {
    display: none;
  }
}

.office-address-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.office-address-link:hover { color: #477600; }
.compact-notice.warning { background: #fff8e6; color: #755310; border-color: #edcf86; }

.compact-booking .booking-selector {
  display: flex;
  flex-direction: column;
}
.compact-booking .booking-selector > * {
  flex-shrink: 0;
}
.compact-booking .booking-authenticity {
  margin-top: auto;
  padding-top: 14px;
  color: #667787;
  text-align: center;
  font-size: 10px;
  line-height: 1.5;
}
.compact-booking .booking-authenticity p {
  margin: 0 0 3px;
}
.compact-booking .booking-authenticity p span {
  color: #417505;
}
.compact-booking .booking-authenticity small {
  font-size: 9px;
}

/* Directions are optional; the shared footer spans every visible column. */
.compact-booking .booking-card {
  grid-template-columns: minmax(250px, .9fr) minmax(0, 2fr);
  grid-template-rows: minmax(0, 1fr) auto;
}
.compact-booking .booking-card.directions-open {
  grid-template-columns: minmax(220px, .9fr) minmax(0, 2fr) minmax(230px, .95fr);
}
.compact-booking .booking-details-content, .compact-booking .booking-selector { padding: 20px; }
.compact-booking .booking-details { grid-row: 1; }
.compact-booking .booking-selector { grid-row: 1; }
.compact-booking .booking-about, .compact-booking .booking-about .booking-description { display: block; }
.compact-booking .booking-about .booking-description { margin-top: 9px; }
.booking-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.compact-booking .booking-heading-row .booking-step { display: inline; }
.directions-toggle { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border: 1px solid #dce7d1; border-radius: 8px; background: #f5f9ef; color: #417505; cursor: pointer; }
.directions-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.directions-toggle:hover, .directions-toggle[aria-expanded="true"] { background: #417505; color: white; border-color: #417505; }
.directions-toggle:focus-visible { outline: 3px solid #91b861; outline-offset: 3px; }
.compact-booking .booking-directions { grid-row: 1; min-width: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 20px 16px; border-top: 0; border-left: 1px solid var(--line); background: #fbfcfa; }
.compact-booking .booking-directions[hidden] { display: none; }
.compact-booking .booking-directions h2 { margin: 0 0 16px; font-size: 16px; }
.compact-booking .booking-directions .journey-location-form > div { display: flex; flex-direction: column; gap: 8px; }
.compact-booking .booking-directions .journey-location-form input { width: 100%; min-width: 0; flex: 1 1 auto; height: 38px; }
.compact-booking .booking-directions .journey-location-form button { width: 100%; min-height: 36px; flex-shrink: 0; }
.compact-booking .booking-directions .journey-actions { display: flex; margin: 12px 0; }
.compact-booking .booking-directions #external-directions { width: 100%; text-align: center; }
.compact-booking .booking-directions #journey-map { height: 190px; }
.compact-booking .booking-directions #journey-route { max-height: 220px; }
.compact-booking .calendar-time-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; }
.compact-booking .booking-card > .booking-authenticity { grid-column: 1 / -1; grid-row: 2; margin: 0; padding: 10px 14px; border-top: 1px solid var(--line); background: #fbfcfa; }
@media (min-width: 721px) {
  .compact-booking .booking-card.directions-open .calendar-days button { width: 26px; height: 30px; }
  .compact-booking .booking-card.directions-open .calendar-days { gap: 5px 0; }
  .compact-booking .booking-card.directions-open .calendar-weekdays { font-size: 10px; }
}
@media (min-width: 721px) and (max-width: 1100px) {
  .compact-booking .booking-card { grid-template-columns: minmax(210px, .85fr) minmax(0, 1.8fr); }
  .compact-booking .booking-card.directions-open { grid-template-columns: minmax(170px, .8fr) minmax(0, 2fr) minmax(180px, .85fr); }
  .compact-booking .booking-card.directions-open .booking-selector,
  .compact-booking .booking-card.directions-open .booking-details-content,
  .compact-booking .booking-card.directions-open .booking-directions { padding: 12px; }
  .compact-booking .booking-card.directions-open .calendar-days button { width: 21px; height: 28px; }
  .compact-booking .booking-card.directions-open .calendar-time-layout { gap: 8px; }
}
@media (max-width: 720px) {
  .compact-booking .booking-card, .compact-booking .booking-card.directions-open { grid-template-columns: 1fr; grid-template-rows: auto auto auto; overflow-y: auto; align-content: start; }
  .compact-booking .booking-card.directions-open { grid-template-rows: auto auto auto auto; }
  .compact-booking .booking-details, .compact-booking .booking-selector, .compact-booking .booking-directions { grid-row: auto; overflow: visible; }
  .compact-booking .booking-details-content, .compact-booking .booking-selector { padding: 14px; }
  .compact-booking .booking-directions { border-left: 0; border-top: 1px solid var(--line); padding: 16px 14px; }
  .compact-booking .booking-card > .booking-authenticity { grid-row: auto; position: sticky; bottom: 0; z-index: 2; }
}

/* Keep route controls compact and use the panel height for directions. */
.compact-booking .booking-directions { display: flex; flex-direction: column; }
.compact-booking .booking-directions > :not(#journey-map-panel) { flex-shrink: 0; }
.compact-booking .directions-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.compact-booking .directions-heading h2 { margin: 0; }
.compact-booking .directions-heading .journey-distance { margin: 0; white-space: nowrap; font-weight: 600; }
.compact-booking .booking-directions .journey-location-form .journey-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin: 8px 0 0; }
.compact-booking .booking-directions .journey-actions button,
.compact-booking .booking-directions .journey-actions #external-directions { display: flex; align-items: center; justify-content: center; min-height: 38px; width: 100%; padding: 8px 5px; border-radius: 6px; font-size: 10px; line-height: 1.4; text-align: center; text-decoration: none; }
.compact-booking .booking-directions .journey-actions #external-directions { border: 1px solid var(--brand); color: var(--brand); background: white; }
.compact-booking .booking-directions .journey-actions #external-directions:hover { background: #edf4e5; }
.compact-booking .booking-directions #journey-map-panel { flex: 1 1 0; min-height: 200px; display: grid; grid-template-rows: minmax(100px, .7fr) minmax(0, 1fr); }
.compact-booking .booking-directions #journey-map-panel[hidden] { display: none; }
.compact-booking .booking-directions #journey-map { height: 100%; min-height: 0; }
.compact-booking .booking-directions #journey-route { height: 100%; min-height: 0; max-height: none; overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 720px) {
  .compact-booking .booking-directions #journey-map-panel { flex: none; height: 480px; }
}

/* Shared error workspace follows the booking layout and remains scrollable on small screens. */
.error-shell { overflow: auto; border: 1px solid var(--border, #dce4ed); border-radius: 16px; background: #fff; }
.error-shell .compact-content { flex: 1; border: 0; border-radius: 0; min-height: 0; }
.error-main { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 16px; overflow-y: auto; }
.error-main .compact-actions { justify-content: center; }
.error-main h2 { font-size: clamp(24px, 3vw, 34px); margin: 0; }
.error-main p { max-width: 560px; margin: 0; line-height: 1.7; }
.error-symbol { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #fceeee; color: #b42318; font-size: 32px; font-weight: 700; }
.error-footer { flex-shrink: 0; padding: 12px 18px; text-align: center; border-top: 1px solid #dce4ed; color: #60758d; font-size: 11px; }
.error-footer p { margin: 3px 0; }
@media (max-width: 700px) { .error-shell { overflow: visible; } .error-main { min-height: 300px; overflow: visible; } }
@media (max-width: 700px) {
  .error-shell .compact-content { display: flex; flex-direction: column; flex: none; overflow: visible; }
  .error-shell .compact-aside { flex: none; overflow: visible; max-height: none; }
  .error-shell .compact-main { flex: none; }
}
