:root {
  color-scheme: light;
  --ink: #12343b;
  --muted: #5a6c73;
  --line: #d8e8ec;
  --paper: #f5fbfd;
  --panel: #ffffff;
  --accent: #00a6a6;
  --blue: #1267b3;
  --deep-blue: #064b78;
  --sand: #f5dfad;
  --accent-2: #ffc94a;
  --danger: #b4443f;
  --shadow: 0 18px 48px rgba(12, 77, 105, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 201, 74, 0.28), transparent 28%),
    linear-gradient(180deg, #e8faff 0%, #f8fcfb 38%, #ffffff 100%);
}

a {
  color: var(--accent);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding: 0 max(18px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
}

.topbar nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 10px;
  color: var(--deep-blue);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 999px;
}

.topbar nav a:hover {
  background: #e8f8fb;
}

.topbar a.knowledge-nav-button,
.topbar a.knowledge-nav-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #d69d1f;
  border-radius: 7px;
  background: #ffd65a;
  box-shadow: 0 4px 10px rgba(157, 104, 0, 0.14);
  color: #533500;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.topbar a.knowledge-nav-button-mobile {
  display: none;
}

.topbar a.knowledge-nav-button:hover,
.topbar a.knowledge-nav-button:focus-visible {
  background: #ffc83d;
  color: #3e2800;
  text-decoration: none;
}

.topbar a.knowledge-nav-button:focus-visible {
  outline: 3px solid rgba(214, 157, 31, 0.42);
  outline-offset: 2px;
}

.internal-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.internal-header-actions nav {
  order: 1;
}

.internal-header-actions .knowledge-nav-button {
  order: 2;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 52px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 0;
  align-items: stretch;
  min-height: 560px;
  margin-bottom: 18px;
  padding: clamp(28px, 5vw, 64px);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(5, 42, 74, 0.98) 0%, rgba(7, 70, 109, 0.94) 38%, rgba(8, 97, 145, 0.5) 56%, rgba(8, 97, 145, 0.08) 74%),
    url("/static/images/hero-sup-kolomna.webp?v=20260707-hero") center right / cover no-repeat,
    linear-gradient(135deg, #0795b7 0%, #0a72b8 45%, #06558d 100%);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 12px;
  font-size: clamp(42px, 8vw, 86px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--deep-blue) !important;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px !important;
}

.hero .eyebrow {
  color: #fff0a8 !important;
}

.panel,
.booking {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 20px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}

textarea {
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

button,
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
}

.primary {
  grid-column: 1 / -1;
  color: white;
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--blue));
  box-shadow: 0 14px 28px rgba(0, 166, 166, 0.22);
}

.notice,
.alert {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #e6f5ef;
  border: 1px solid #bfe3d4;
}

.alert {
  color: var(--danger);
  background: #fff0ef;
  border-color: #f2c6c2;
}

.alert ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  max-width: 620px;
}

.station-badge {
  display: inline-grid;
  gap: 7px;
  justify-self: start;
  margin-bottom: 18px;
  max-width: min(100%, 540px);
  padding: 15px 18px;
  color: #07393c;
  background: linear-gradient(135deg, rgba(217, 247, 231, 0.98) 0%, rgba(238, 250, 244, 0.96) 100%);
  border: 2px solid rgba(68, 184, 122, 0.9);
  border-left: 8px solid #13805c;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(2, 44, 71, 0.24);
  backdrop-filter: blur(10px);
}

.station-badge.closed {
  color: #7a1f1a;
  background: linear-gradient(135deg, rgba(255, 228, 222, 0.98) 0%, rgba(255, 245, 242, 0.96) 100%);
  border-color: rgba(223, 119, 103, 0.9);
  border-left-color: #c24131;
}

.station-badge.unknown {
  color: #07393c;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.72);
  border-left-color: #1aa6b7;
}

.station-badge strong {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 16px;
  line-height: 1.2;
}

.station-badge strong::before {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  background: #13805c;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(19, 128, 92, 0.14);
  content: "";
}

.station-badge.closed strong::before {
  background: #c24131;
  box-shadow: 0 0 0 4px rgba(194, 65, 49, 0.14);
}

.station-badge.unknown strong::before {
  background: #1aa6b7;
  box-shadow: 0 0 0 4px rgba(26, 166, 183, 0.14);
}

.station-badge span {
  color: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  opacity: 0.92;
}

.hero-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-status span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  color: #07393c;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
}

.hero-photo {
  position: absolute;
  inset: 0 0 0 45%;
  z-index: 0;
  margin: 0;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 0;
  background: url("/static/images/hero-sup-kolomna.webp?v=20260707-hero") center center / cover no-repeat;
  overflow: hidden;
  box-shadow: none;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(5, 42, 74, 0.98) 0%, rgba(7, 70, 109, 0.78) 28%, rgba(8, 97, 145, 0.26) 58%, rgba(8, 97, 145, 0) 82%);
  pointer-events: none;
}

.hero-photo img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.booking-zone {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  gap: 18px;
  align-items: start;
  margin: 28px 0;
  padding: clamp(18px, 3vw, 30px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(232, 249, 255, 0.94) 52%, rgba(210, 241, 255, 0.88) 100%);
  border: 1px solid rgba(153, 216, 235, 0.72);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(2, 44, 71, 0.16);
}

.stack {
  display: grid;
  gap: 18px;
}

.info-panel,
.calendar-panel {
  padding: 20px;
}

.info-panel h2,
.calendar-panel h2,
.form h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.quick-benefits,
.included-list,
.popular-price-grid {
  display: grid;
  gap: 14px;
}

.quick-benefits {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0 34px;
}

.quick-benefits article,
.included-list article,
.popular-price-grid article {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-benefits strong,
.included-list strong {
  color: var(--deep-blue);
  font-size: 18px;
}

.quick-benefits span,
.included-list span {
  color: var(--muted);
  line-height: 1.45;
}

.included-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}

.popular-price-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.popular-price-grid article {
  background: linear-gradient(180deg, #ffffff, #f6fdff);
}

.popular-price-grid .accent-card {
  background: linear-gradient(180deg, #fff8db, #ffffff);
  border-color: #f0d889;
}

.popular-price-grid h3,
.estimate h3 {
  margin: 0 0 10px;
}

.popular-price-grid p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid #e7f2f4;
}

.popular-price-grid p span {
  color: var(--deep-blue);
  font-weight: 900;
  text-align: right;
}

.price-anchor {
  display: inline-flex;
  margin-top: 14px;
  color: var(--deep-blue);
  font-weight: 900;
}

.booking-form {
  align-items: start;
}

.consent {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px;
}

.consent input {
  width: 20px;
  min-height: 20px;
  margin-top: 2px;
}

.estimate {
  padding: 16px;
  background: linear-gradient(180deg, #f1fbff, #ffffff);
  border: 1px solid #cce8f5;
  border-radius: 8px;
}

.estimate dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.estimate dl div,
.slot-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.estimate dt {
  color: var(--muted);
  font-weight: 700;
}

.estimate dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.availability-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
  padding: 12px;
  color: #07393c;
  font-weight: 800;
  background: #e6f7f4;
  border: 1px solid #c9e9e2;
  border-radius: 8px;
}

.availability-summary span {
  display: block;
}

.slot-list {
  display: grid;
  gap: 8px;
}

.slot-row {
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.slot-row span {
  color: var(--blue);
  font-weight: 900;
}

.slot-row strong {
  font-size: 14px;
}

.hero-lead {
  max-width: 760px !important;
  margin-bottom: 10px !important;
  font-size: 24px !important;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.primary-link {
  color: white;
  border-color: #ffffff;
  background: linear-gradient(135deg, #00b9b3, #116fbd);
  box-shadow: 0 16px 34px rgba(1, 70, 109, 0.22);
}

.ghost-link {
  color: #07393c;
  background: rgba(255, 255, 255, 0.9);
}

.landing-section {
  margin: 44px 0;
}

.section-head {
  max-width: 820px;
  margin-bottom: 16px;
}

.section-head h2,
.bottom-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.05;
}

.section-head p,
.bottom-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.occasion-grid,
.service-grid,
.two-column-info,
.faq-grid,
.price-grid {
  display: grid;
  gap: 14px;
}

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

.occasion-grid article,
.faq-grid details {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.occasion-grid article > span {
  font-size: 28px;
}

.occasion-grid h3,
.service-grid h3 {
  margin: 0 0 8px;
}

.occasion-grid p,
.service-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.price-grid,
.service-grid,
.two-column-info {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.price-card {
  padding: 20px;
}

.price-card h3 {
  margin: 0 0 14px;
}

.price-card ul,
.responsibility ul,
.two-column-info ul,
.two-column-info ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.price-card li {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid #eef5f7;
}

.price-card li span {
  color: var(--muted);
}

.fine-print {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.responsibility {
  padding: 18px 20px;
}

.responsibility summary,
.faq-grid summary {
  cursor: pointer;
  font-weight: 900;
}

.responsibility p,
.faq-grid p {
  color: var(--muted);
  line-height: 1.55;
}

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

.bottom-cta {
  padding: 28px;
  text-align: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 201, 74, 0.32), transparent 24%),
    linear-gradient(135deg, #e6f9f7, #f8fdff);
  border: 1px solid #c9e9e2;
  border-radius: 8px;
}

.bottom-cta .button {
  margin: 18px 0;
}

.staff-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  font-weight: 900;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--blue));
}

.timeline p {
  margin: 0;
  font-weight: 900;
}

.login {
  max-width: 420px;
  margin: 40px auto 0;
  padding: 22px;
}

.login h1 {
  margin-top: 0;
}

.admin-head,
.filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-head h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.08;
}

.admin-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.bookings-head {
  margin-bottom: 10px;
}

.bookings-head p {
  font-size: 14px;
  line-height: 1.3;
}

.filters {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.filters a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  text-decoration: none;
}

.station-shift-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 6px;
  align-items: center;
  margin: 0 0 12px;
  padding: 10px 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff0ec 0%, #fff8f6 50%, #ffffff 100%);
  border: 1px solid #ffc6bd;
  border-left: 12px solid #c24131;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(23, 33, 29, 0.13);
}

.station-shift-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #c24131, #f97316);
  content: "";
}

.station-shift-panel.open {
  border-left-color: #13805c;
  background: linear-gradient(135deg, #e7f8ef 0%, #f2fbf7 52%, #ffffff 100%);
  border-color: #9edebb;
}

.station-shift-panel.open::before {
  background: linear-gradient(90deg, #13805c, #1aa6b7);
}

.station-shift-info {
  display: grid;
  align-content: center;
  gap: 2px;
  min-width: 0;
}

.station-shift-info h2 {
  margin: 0;
  color: #8f241d;
  font-size: 24px;
  line-height: 1.08;
}

.station-shift-panel.open .station-shift-info h2 {
  color: #08734f;
}

.station-shift-info p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.station-shift-info span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.station-shift-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-content: center;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.station-shift-form.compact {
  justify-self: stretch;
  min-height: auto;
}

.station-shift-form .wide,
.station-shift-buttons {
  grid-column: 1 / -1;
}

.station-shift-form label {
  min-width: 0;
  font-size: 15px;
  font-weight: 900;
}

.station-shift-form input {
  min-height: 48px;
  font-size: 17px;
}

.station-shift-form label.wide::after {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  content: "Это сообщение увидят клиенты на сайте.";
}

.station-shift-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.station-shift-buttons button {
  box-sizing: border-box;
  height: 52px;
  min-height: 52px;
  padding: 0 14px;
  font-size: 16px;
  line-height: 1.15;
  white-space: normal;
}

.station-shift-main-action {
  box-shadow: 0 8px 16px rgba(23, 33, 29, 0.14);
}

.internal-logout {
  display: flex;
  justify-content: center;
  margin: 26px 0 6px;
}

.internal-logout button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.internal-logout button:hover {
  border-color: #b9c4be;
  background: #f5f7f5;
  color: var(--ink);
}

.knowledge-base {
  width: min(100%, 820px);
  margin: 0 auto;
}

.knowledge-back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 18px;
  color: #075f70;
  font-weight: 900;
  text-decoration: none;
}

.knowledge-back-link:hover {
  text-decoration: underline;
}

.knowledge-base-head {
  margin-bottom: 18px;
}

.knowledge-base-head h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
}

.knowledge-base-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
}

.knowledge-base-content {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(23, 33, 29, 0.05);
}

.knowledge-base-content h2,
.knowledge-base-content h3 {
  color: var(--ink);
}

.knowledge-base-content h2 {
  margin: 0 0 24px;
  font-size: 25px;
}

.knowledge-base-content h3 {
  margin: 26px 0 10px;
  font-size: 20px;
}

.knowledge-base-content p,
.knowledge-base-content li {
  font-size: 16px;
  line-height: 1.55;
}

.knowledge-base-content p {
  margin: 8px 0;
}

.knowledge-base-content ol,
.knowledge-base-content ul {
  margin: 8px 0;
  padding-left: 24px;
}

.manager-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.manager-summary article,
.manager-summary .summary-card,
.manager-filters {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 33, 29, 0.05);
}

.manager-summary article,
.manager-summary .summary-card {
  display: grid;
  gap: 8px;
  min-height: 96px;
  padding: 16px;
  overflow: hidden;
}

.manager-summary .summary-dashboard {
  align-content: start;
  gap: 5px;
  min-height: 148px;
  padding: 14px;
  background: #282c2d;
  border: 3px solid #171a1b;
  border-radius: 10px;
  box-shadow: inset 0 0 0 2px #4b5552, inset 0 0 22px rgba(211, 244, 185, 0.1), 0 5px 0 #171a1b, 0 10px 20px rgba(23, 26, 27, 0.18);
  cursor: default;
}

.manager-summary .summary-dashboard .summary-kicker {
  color: #b8ddbd;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.manager-summary .summary-dashboard > span:not(.summary-kicker):not(.summary-explanation) {
  color: #eef8df;
}

.manager-summary .summary-dashboard strong {
  color: #d9ff9d;
  font-size: 52px;
  line-height: 1;
  text-shadow: 0 0 12px rgba(217, 255, 157, 0.38);
}

.manager-summary .summary-dashboard .summary-explanation {
  color: #b8ddbd;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.manager-summary .summary-card {
  position: relative;
  min-height: 148px;
  padding: 14px;
  color: var(--ink);
  text-decoration: none;
  border-width: 2px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 5px 0 var(--status-edge), 0 12px 22px rgba(23, 33, 29, 0.1);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.manager-summary .summary-card.pending {
  background: #fff8e8;
  border-color: #e6b849;
  --status-edge: #c79422;
}

.manager-summary .summary-card.confirmed {
  background: #eefaf4;
  border-color: #86cda5;
  --status-edge: #4f9c71;
}

.manager-summary .summary-card.cancelled {
  background: #fff1ee;
  border-color: #e5a29a;
  --status-edge: #bd6659;
}

.manager-summary .summary-action {
  align-self: end;
  border-top: 1px solid currentColor;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
  overflow-wrap: anywhere;
  padding-top: 8px;
}

.manager-summary .summary-card.pending .summary-action {
  color: #94650e;
}

.manager-summary .summary-card.confirmed .summary-action {
  color: #117149;
}

.manager-summary .summary-card.cancelled .summary-action {
  color: #a2382c;
}

.manager-summary .summary-card:hover,
.manager-summary .summary-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 7px 0 var(--status-edge), 0 16px 28px rgba(23, 33, 29, 0.16);
  outline: 3px solid rgba(19, 128, 92, 0.22);
  outline-offset: 2px;
}

.manager-summary .summary-card:active {
  transform: translateY(3px);
  box-shadow: inset 0 2px 4px rgba(23, 33, 29, 0.16), 0 2px 0 var(--status-edge), 0 7px 14px rgba(23, 33, 29, 0.12);
}

.manager-summary .summary-card.active {
  background: #eefaf4;
  border-color: var(--accent);
  box-shadow: inset 0 0 0 2px rgba(19, 128, 92, 0.26), 0 6px 0 var(--status-edge), 0 16px 30px rgba(23, 33, 29, 0.16);
}

.manager-summary .summary-card.pending.active {
  background: #fff8e8;
  border-color: var(--accent-2);
  box-shadow: inset 0 0 0 2px rgba(242, 177, 74, 0.32), 0 6px 0 var(--status-edge), 0 16px 30px rgba(23, 33, 29, 0.16);
}

.manager-summary .summary-card.cancelled.active {
  background: #fff1ee;
  border-color: var(--danger);
  box-shadow: inset 0 0 0 2px rgba(194, 65, 49, 0.24), 0 6px 0 var(--status-edge), 0 16px 30px rgba(23, 33, 29, 0.16);
}

.manager-summary span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.manager-summary strong {
  font-size: 30px;
  line-height: 1.12;
}

.manager-summary .summary-wide {
  grid-column: 1 / -1;
  min-height: auto;
  background: #eefaf4;
  border-color: #9edebb;
  border-left: 8px solid var(--accent);
}

.manager-summary .summary-wide strong {
  font-size: 16px;
  line-height: 1.5;
}

.manager-summary ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.45;
}

.manager-summary .summary-wide a {
  color: var(--ink);
  text-decoration: none;
}

.manager-summary .summary-wide a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.confirmed-schedule {
  display: grid;
  gap: 8px;
}

.confirmed-schedule-head {
  display: flex;
  gap: 6px 12px;
  align-items: baseline;
  justify-content: space-between;
}

.confirmed-schedule-head h2,
.confirmed-schedule-head p,
.confirmed-schedule-day h3,
.confirmed-schedule-empty {
  margin: 0;
}

.confirmed-schedule-head h2 {
  color: #087d66;
  font-size: 16px;
}

.confirmed-schedule-head p,
.confirmed-schedule-empty {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.confirmed-schedule-day {
  display: grid;
  grid-template-columns: minmax(118px, 0.8fr) minmax(0, 2fr);
  gap: 8px;
  align-items: start;
}

.confirmed-schedule-day h3 {
  padding-top: 7px;
  color: #075344;
  font-size: 14px;
  line-height: 1.2;
}

.manager-summary .confirmed-schedule-day ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.confirmed-schedule-day a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 8px;
  align-items: center;
  min-height: 34px;
  padding: 6px 8px;
  background: #ffffff;
  border: 1px solid #b7e4d0;
  border-radius: 6px;
}

.confirmed-schedule-day time {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.confirmed-schedule-day strong {
  color: #087d66;
  font-size: 13px;
  white-space: nowrap;
}

.status-page-head {
  margin: 0 0 16px;
  padding: 18px;
  background: #f8fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.status-page-head h2 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.15;
}

.status-page-head p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.manager-filters {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(240px, 1.3fr) auto auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
  padding: 16px;
}

.manager-filters label {
  min-width: 0;
}

.manager-filters .wide-filter {
  min-width: 220px;
}

.manager-filters button,
.manager-filters .button {
  min-height: 46px;
  white-space: nowrap;
}

.list {
  display: grid;
  gap: 12px;
}

.booking {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 18px;
  border-left-width: 6px;
}

.booking.pending {
  border-left-color: var(--accent-2);
  background: #fffaf0;
}

.booking.confirmed {
  border-left-color: var(--accent);
  background: #f0fbf6;
  border-color: #bfead6;
}

.booking.cancelled {
  border-left-color: var(--danger);
  background: #fff4f1;
  border-color: #ffc6bd;
}

.booking-main {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.booking-main p {
  margin: 6px 0 0;
  color: var(--muted);
}

.manager-card {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
}

.manager-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.manager-card-head strong {
  font-size: 22px;
  line-height: 1.15;
}

.manager-card:target {
  outline: 3px solid rgba(19, 128, 92, 0.38);
  outline-offset: 3px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  border-radius: 999px;
  background: #f4f6f5;
}

.status-pill.pending {
  color: #6f4a00;
  background: #fff4d8;
}

.status-pill.confirmed {
  color: #07393c;
  background: #dff5ec;
}

.status-pill.cancelled {
  color: #7a1f1a;
  background: #ffe4e1;
}

.booking-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
  margin: 10px 0;
}

.booking-details div {
  padding: 10px;
  background: #f8fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.booking-details dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.booking-details dd {
  margin: 4px 0 0;
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.client-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  font-size: 17px;
}

.client-line strong,
.client-line a {
  overflow-wrap: anywhere;
}

.booking-audit-line {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.booking-audit-line {
  margin-top: 8px;
}

.booking-history {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.booking-history h3 {
  margin: 0;
  font-size: 16px;
}

.booking-history-event {
  display: grid;
  gap: 3px;
  padding-left: 10px;
  border-left: 3px solid var(--line);
}

.booking-history-meta,
.booking-history-empty {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.booking-history-event strong {
  font-size: 14px;
}

.booking-history-event p {
  margin: 0;
  overflow-wrap: anywhere;
}

.manager-text-block {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  background: #f8fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.manager-text-block span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.manager-text-block p {
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.manager-actions {
  display: grid;
  align-content: start;
  gap: 10px;
}

.manager-actions form {
  display: grid;
  gap: 8px;
}

.internal-bookings-page .cancel-disclosure {
  border-top: 1px solid var(--line);
}

.internal-bookings-page .cancel-disclosure summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  color: var(--danger);
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.internal-bookings-page .cancel-disclosure summary::marker {
  color: var(--danger);
}

.internal-bookings-page .time-change-disclosure {
  padding: 0 9px;
  border: 1px solid #91c9dc;
  border-radius: 7px;
  background: #f1fbfe;
}

.internal-bookings-page .time-change-disclosure summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: #0b6077;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.internal-bookings-page .time-change-disclosure summary::marker {
  color: #0b6077;
}

.time-change-form {
  display: grid;
  gap: 8px;
  padding: 0 0 9px;
}

.time-change-form textarea {
  min-height: 78px;
}

.time-change-action {
  color: #ffffff;
  border-color: #0b6f88;
  background: #0b6f88;
}

.manager-actions button {
  min-height: 48px;
  width: 100%;
  font-size: 15px;
}

.confirm-action {
  color: white;
  border-color: var(--accent);
  background: var(--accent);
}

.cancel-action {
  color: white;
  border-color: var(--danger);
  background: var(--danger);
}

.comment-form,
.cancel-form,
.restore-form {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.internal-bookings-page .cancel-disclosure .cancel-form {
  padding-top: 0;
  border-top: 0;
}

.comment-form textarea,
.cancel-form textarea,
.restore-form textarea {
  min-height: 110px;
}

.cancel-form textarea,
.restore-form textarea {
  min-height: 78px;
}

.restore-form > strong {
  color: #146c58;
  font-size: 15px;
}

.restore-action {
  color: #0f4f40;
  border-color: #78bfa8;
  background: #e1f5ed;
}

.processed-note {
  padding: 12px;
  color: var(--muted);
  font-weight: 800;
  background: #f4f6f5;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.muted {
  color: var(--muted);
}

.user-create-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
  padding: 16px;
}

.user-create-form h2 {
  grid-column: 1 / -1;
  margin: 0;
}

.user-list {
  display: grid;
  gap: 12px;
}

.user-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 16px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 33, 29, 0.05);
}

.user-card.inactive {
  border-left-color: var(--danger);
  opacity: 0.78;
}

.user-card h2 {
  margin: 0 0 8px;
}

.user-card p {
  margin: 6px 0;
}

.user-actions {
  display: grid;
  gap: 10px;
}

.user-actions form {
  display: grid;
  gap: 8px;
}

.status-form {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 150px;
}

@media (max-width: 720px) {
  main {
    width: min(100% - 24px, 1180px);
    padding-top: 16px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 0 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .internal-topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(140px, 160px);
    align-items: center;
    gap: 8px 10px;
  }

  .internal-topbar .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .internal-header-actions {
    display: contents;
  }

  .internal-topbar a.knowledge-nav-button-desktop {
    display: none;
  }

  .internal-topbar a.knowledge-nav-button-mobile {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-height: 82px;
    padding: 10px 12px;
    font-size: 16px;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }

  .internal-topbar nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto;
    padding: 20px;
    background:
      linear-gradient(180deg, rgba(5, 42, 74, 0.98) 0%, rgba(7, 70, 109, 0.92) 52%, rgba(8, 97, 145, 0.78) 100%),
      linear-gradient(135deg, #0795b7 0%, #0a72b8 45%, #06558d 100%);
  }

  .hero-photo {
    position: relative;
    inset: auto;
    min-height: 240px;
    aspect-ratio: 16 / 10;
  }

  .hero-photo::before {
    background: linear-gradient(180deg, rgba(5, 42, 74, 0.18) 0%, rgba(5, 42, 74, 0) 52%);
  }

  .hero-photo img {
    min-height: 0;
  }

  .hero h1 {
    font-size: 42px;
  }

  .form,
  .booking {
    grid-template-columns: 1fr;
  }

  .manager-summary,
  .manager-filters,
  .booking-details,
  .user-create-form,
  .user-card {
    grid-template-columns: 1fr;
  }

  .manager-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .booking-zone,
  .quick-benefits,
  .popular-price-grid,
  .included-list,
  .occasion-grid,
  .price-grid,
  .service-grid,
  .two-column-info,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .station-badge {
    width: 100%;
    padding: 14px 15px;
  }

  .station-badge strong {
    font-size: 15px;
  }

  .section-head h2,
  .bottom-cta h2 {
    font-size: 28px;
  }

  .calendar-panel {
    order: 2;
  }

  .admin-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-head h1 {
    font-size: 30px;
  }

  .bookings-head {
    gap: 4px;
    margin-bottom: 8px;
  }

  .bookings-head h1 {
    font-size: 28px;
  }

  .bookings-head p {
    margin-top: 2px;
    font-size: 13px;
  }

  .station-shift-panel,
  .station-shift-form,
  .station-shift-buttons {
    grid-template-columns: 1fr;
  }

  .station-shift-panel {
    margin: 0 0 10px;
    gap: 6px;
    padding: 10px 11px;
    border-left-width: 8px;
  }

  .station-shift-info h2 {
    font-size: 22px;
  }

  .station-shift-info p {
    font-size: 14px;
  }

  .station-shift-form {
    padding: 0;
  }

  .station-shift-form input {
    width: 100%;
  }

  .station-shift-buttons button {
    height: 52px;
    min-height: 52px;
    width: 100%;
  }

  .station-shift-buttons {
    grid-template-columns: 1fr;
  }

  .internal-logout {
    justify-content: stretch;
  }

  .internal-logout button {
    width: 100%;
  }

  .knowledge-base-head h1 {
    font-size: 29px;
  }

  .knowledge-base-content {
    padding: 18px 16px;
  }

  .knowledge-base-content h2 {
    font-size: 23px;
  }

  .knowledge-base-content h3 {
    font-size: 19px;
  }

  .manager-summary {
    grid-template-columns: 1fr;
  }

  .manager-summary .summary-wide {
    grid-column: 1 / -1;
  }

  .manager-filters button,
  .manager-filters .button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .public-page .topbar { gap: 6px; padding-inline: 10px; }
  .public-page .public-brand { font-size: 18px; }
  .public-page .public-brand small { font-size: 9px; }
  .public-page .public-header-actions { gap: 6px; }
  .public-page .language-selector summary { padding-inline: 7px; font-size: 12px; }
  .public-page .topbar nav .public-nav-cta { min-height: 40px; padding-inline: 8px; font-size: 11px; }
}

/* ISSUE-001: base rules must not be limited to the phone breakpoint.
   Without these dimensions, the inline warning SVG uses the browser's
   300 × 150 default viewport and black fill on desktop. */
.internal-bookings-page .booking-next-step {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
  min-width: 0;
  margin: 8px 0;
  padding: 8px 10px;
  color: #8f241d;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  background: #fff0ed;
  border: 1px solid #f0a59d;
  border-radius: 7px;
}

.internal-bookings-page .booking-next-step svg {
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.internal-bookings-page .booking-next-step span {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.internal-bookings-page .booking-next-step small {
  color: #b03a30;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

@media (min-width: 721px) {
  .internal-bookings-page .manager-card {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
    gap: 18px;
    padding: 18px;
  }

  .internal-bookings-page .manager-actions {
    align-content: start;
    gap: 10px;
  }

  .internal-bookings-page .booking-details {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .internal-bookings-page .booking-details div {
    min-width: 0;
    padding: 9px;
  }

  .internal-bookings-page .booking-decision-row {
    display: grid;
    gap: 8px;
  }

  .internal-bookings-page .booking-decision-row .confirm-action {
    min-height: 48px;
  }
}

@media (max-width: 720px) {
  .internal-bookings-page .booking-next-step {
    margin: 0;
  }
}

.public-page .public-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.public-page .language-selector {
  position: relative;
  flex: 0 0 auto;
}

.public-page .language-selector summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 10px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  list-style: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 6px;
}

.public-page .language-selector__selected-flag { font-size: 16px; line-height: 1; }

.public-page .language-selector summary::-webkit-details-marker { display: none; }
.public-page .language-selector[open] .language-selector__chevron { transform: rotate(180deg); }
.public-page .language-selector summary:focus-visible,
.public-page .language-selector a:focus-visible { outline: 3px solid #ffc94a; outline-offset: 3px; }

.public-page .language-selector__menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  width: 208px;
  padding: 6px;
  background: #ffffff;
  border: 1px solid #cfe1e8;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(0, 32, 52, .22);
}

.public-page .language-selector__menu a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 9px 10px;
  color: #082e42;
  text-decoration: none;
  border-radius: 5px;
}

.public-page .language-selector__menu a[aria-current="page"] { background: #e8f6f3; }
.public-page .language-selector__menu small { color: #5b727c; font-size: 11px; }
.public-page .language-selector__menu strong,
.public-page .language-selector__menu small { display: block; }
.public-page .language-selector__flag { font-size: 17px; line-height: 1; }
.public-page .language-selector__current { color: #087f6b; font-weight: 900; }

@media (max-width: 1100px) and (min-width: 721px) {
  .public-page .topbar { flex-wrap: wrap; }
  .public-page .public-header-actions { width: 100%; justify-content: flex-end; }
  .public-page .topbar nav { flex-wrap: wrap; justify-content: flex-end; }
}

@media (max-width: 720px) {
  .public-page .public-header-actions { gap: 8px; }
  .public-page .public-header-actions nav a:not(.public-nav-cta) { display: none; }
  .public-page .language-selector summary { min-height: 34px; padding-inline: 8px; }
  .public-page .language-selector summary { gap: 0; min-width: 34px; justify-content: center; }
  .public-page .language-selector__selected-flag { font-size: 15px; }
  .public-page .language-selector__selected-label,
  .public-page .language-selector__chevron { display: none; }
  .public-page .language-selector__menu { width: min(208px, calc(100vw - 20px)); }
}

@media (max-width: 600px) {
  .manager-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .manager-summary .summary-dashboard,
  .manager-summary .summary-card.cancelled,
  .manager-summary .summary-wide {
    grid-column: 1 / -1;
  }

  .manager-summary .summary-dashboard {
    min-height: 128px;
  }

  .manager-summary .summary-dashboard strong {
    font-size: 46px;
  }

  .manager-summary .summary-card {
    gap: 6px;
    min-height: 104px;
    padding: 12px;
  }
}

/* Public landing redesign. Internal pages keep the shared base styles above. */
.public-page {
  background: #f7faf8;
}

.public-page .topbar {
  box-sizing: border-box;
  min-height: 62px;
  padding: 0 max(18px, calc((100vw - 1240px) / 2));
  color: #ffffff;
  background: #062f49;
  border-bottom-color: rgba(152, 219, 232, 0.25);
  box-shadow: 0 4px 18px rgba(2, 26, 42, 0.16);
}

.public-page .brand,
.public-page .brand:visited {
  color: #ffffff;
  font-size: 18px;
}

.public-page .topbar nav {
  gap: 2px;
  overflow: visible;
}

.public-page .topbar nav a {
  min-height: 40px;
  padding: 8px 9px;
  color: #eaf6fb;
  font-size: 12px;
  border-radius: 6px;
}

.public-page .topbar nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.public-page .topbar nav .public-nav-cta {
  margin-left: 8px;
  padding-inline: 15px;
  color: #173141;
  background: #ffc94a;
  border: 1px solid #f2b823;
  box-shadow: 0 3px 0 #d99816;
}

.public-page .topbar nav .public-nav-cta:hover {
  color: #173141;
  background: #ffd45e;
}

.public-page main {
  width: min(1240px, calc(100% - 32px));
  padding: 18px 0 0;
}

.public-page .sup-hero {
  min-height: 600px;
  margin-bottom: 0;
  padding: 56px;
  background: #062f49;
  border: 0;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 22px 52px rgba(2, 38, 58, 0.2);
}

.public-page .sup-hero .hero-photo {
  inset: 0;
  background: none;
}

.public-page .sup-hero .hero-photo::before {
  background: linear-gradient(90deg, rgba(2, 31, 51, 0.96) 0%, rgba(2, 39, 63, 0.86) 39%, rgba(2, 45, 70, 0.38) 68%, rgba(2, 45, 70, 0.08) 100%);
}

.public-page .sup-hero .hero-copy {
  max-width: 570px;
}

.public-page .sup-hero h1 {
  max-width: 530px;
  margin-bottom: 14px;
  font-size: 58px;
  line-height: 0.98;
}

.public-page .sup-hero .hero-lead {
  max-width: 500px !important;
  font-size: 20px !important;
  line-height: 1.25;
}

.public-page .sup-hero .hero-text {
  max-width: 500px;
  font-size: 16px;
  line-height: 1.45;
}

.public-page .hero-checklist {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  color: #eefaff;
  font-weight: 700;
  list-style: none;
}

.public-page .hero-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.public-page .hero-checklist li::before {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #073247;
  font-size: 13px;
  font-weight: 900;
  background: #64ddd0;
  border-radius: 50%;
  content: "✓";
}

.public-page .hero-actions {
  gap: 10px;
  margin-top: 24px;
}

.public-page .hero-actions .button {
  min-height: 48px;
  padding: 12px 18px;
}

.public-page .primary-link {
  color: #183142;
  background: #ffc94a;
  border-color: #ffd76c;
  box-shadow: 0 4px 0 #d99816;
}

.public-page .primary-link:hover {
  color: #183142;
  background: #ffd45e;
}

.public-page .ghost-link {
  color: #ffffff;
  background: rgba(4, 37, 57, 0.42);
  border-color: #64ddd0;
}

.public-page .hero-status {
  margin-top: 18px;
}

.public-page .hero-status span {
  color: #f2ffff;
  background: transparent;
  border: 0;
  padding: 0;
}

.public-page .hero-status span::before {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  background: #64ddd0;
  border-radius: 50%;
  content: "";
}

.public-page .hero-station {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 3;
  width: min(330px, calc(100% - 60px));
}

.public-page .hero-station .station-badge {
  width: 100%;
  margin: 0;
  padding: 15px 16px;
  box-shadow: 0 14px 30px rgba(0, 22, 36, 0.28);
}

.station-ticker {
  width: 100%;
  overflow: hidden;
  color: #073d2b;
  background: linear-gradient(135deg, #b9f6cf 0%, #54cf84 48%, #a7efbd 100%);
  border: 2px solid rgba(15, 126, 70, 0.94);
  border-left: 9px solid #087340;
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(0, 22, 36, 0.3), 0 0 24px rgba(80, 224, 135, 0.3);
}

.station-ticker.closed {
  color: #701b1a;
  background: linear-gradient(135deg, #ffb7ab 0%, #e95043 48%, #ffada1 100%);
  border-color: rgba(158, 38, 31, 0.96);
  border-left-color: #a92620;
  box-shadow: 0 14px 30px rgba(0, 22, 36, 0.3), 0 0 24px rgba(240, 68, 53, 0.35);
}

.station-ticker.unknown {
  color: #07393c;
  background: linear-gradient(135deg, #d8f8fa 0%, #8edce3 48%, #d3f5f7 100%);
  border-color: rgba(15, 121, 137, 0.9);
  border-left-color: #087b8a;
}

.station-ticker__viewport {
  overflow: hidden;
  padding: 15px 0;
}

.station-ticker__track {
  display: flex;
  width: max-content;
  animation: station-ticker-scroll 18s linear infinite;
  will-change: transform;
}

.station-ticker__message {
  display: inline-flex;
  align-items: center;
  padding-right: 72px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.station-ticker__message::before {
  width: 11px;
  height: 11px;
  margin: 0 10px 0 16px;
  flex: 0 0 auto;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.34);
  content: "";
}

.station-ticker__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes station-ticker-scroll {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .station-ticker__track {
    animation: none;
  }
}

.public-page .public-scenarios {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 38px;
  padding: 22px 20px;
  background: #ffffff;
  border: 1px solid #deebee;
  border-top: 0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 16px 34px rgba(2, 38, 58, 0.08);
}

.public-page .public-scenarios article {
  padding: 4px 18px;
  text-align: center;
  background: transparent;
  border: 0;
  border-right: 1px solid #deebee;
  border-radius: 0;
  box-shadow: none;
}

.public-page .public-scenarios article:last-child {
  border-right: 0;
}

.public-page .public-scenarios strong {
  color: #064b78;
  font-size: 16px;
}

.public-page .public-scenarios span {
  font-size: 14px;
}

.public-page .landing-section {
  margin: 38px 0;
}

.public-page .section-head {
  margin-bottom: 18px;
}

.public-page .section-head h2,
.public-page .bottom-cta h2 {
  font-size: 36px;
}

.public-page .section-head p,
.public-page .bottom-cta p {
  font-size: 16px;
}

.public-page .popular-price-grid {
  gap: 12px;
}

.public-page .popular-price-grid article {
  min-height: 100%;
  padding: 18px;
  background: #ffffff;
  border-color: #d9e9ec;
  box-shadow: 0 10px 24px rgba(6, 75, 120, 0.08);
}

.public-page .popular-price-grid article:first-child {
  border-top: 5px solid #00a6a6;
}

.public-page .popular-price-grid article:nth-child(2) {
  border-top: 5px solid #1267b3;
}

.public-page .popular-price-grid .accent-card {
  border-top: 5px solid #ffc94a;
  background: #fffaf0;
}

.public-page .popular-price-grid article:last-child {
  border-top: 5px solid #497a92;
}

.public-page .price-anchor {
  padding: 10px 12px;
  background: #eef7f8;
  border-radius: 6px;
}

.public-page .booking-zone {
  gap: 14px;
  margin: 34px 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.public-page .booking-zone .panel {
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(6, 75, 120, 0.1);
}

.public-page .booking-form {
  gap: 12px;
  padding: 24px;
  border-top: 6px solid #064b78;
}

.public-page .calendar-panel {
  padding: 22px;
  border-top: 6px solid #00a6a6;
}

.public-page .booking-form h2,
.public-page .calendar-panel h2 {
  font-size: 24px;
}

.public-page .booking-form label,
.public-page .calendar-panel label {
  gap: 6px;
}

.public-page .booking-form input,
.public-page .booking-form select,
.public-page .booking-form textarea,
.public-page .calendar-panel input {
  border-color: #c6dce2;
}

.public-page .booking-form input:focus-visible,
.public-page .booking-form select:focus-visible,
.public-page .booking-form textarea:focus-visible,
.public-page .calendar-panel input:focus-visible,
.public-page .topbar a:focus-visible,
.public-page .button:focus-visible,
.public-page .primary:focus-visible {
  outline: 3px solid rgba(0, 166, 166, 0.34);
  outline-offset: 2px;
}

.public-page .booking-form .primary {
  min-height: 48px;
  color: #183142;
  background: #ffc94a;
  border-color: #f2b823;
  box-shadow: 0 4px 0 #d99816;
}

.public-page .estimate {
  background: #f1f9fb;
  border-color: #cbe5eb;
}

.public-page .availability-summary {
  background: #e9f8f6;
  border-color: #bfe5dc;
}

.public-page .slot-row {
  border-color: #d8e8ec;
}

.public-page .public-included .included-list {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.public-page .public-included .included-list article {
  padding: 16px 12px;
  box-shadow: none;
  text-align: center;
}

.public-page .public-included .included-list strong {
  font-size: 15px;
}

.public-page .public-included .included-list span {
  font-size: 13px;
}

.public-page .public-process-safety {
  padding: 22px;
  background: #f0f8f7;
  border: 1px solid #d8ece7;
  border-radius: 10px;
}

.public-page .public-process-safety .panel {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.public-page .public-process-safety .safety-panel {
  padding-left: 24px;
  border-left: 1px solid #c8e1dc;
}

.public-page .timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.public-page .timeline li {
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
}

.public-page .timeline p {
  font-size: 14px;
}

.public-page .faq-grid details {
  box-shadow: none;
}

.public-page .bottom-cta {
  padding: 34px;
  color: #ffffff;
  text-align: left;
  background: #062f49;
  border-color: #062f49;
  border-radius: 10px;
}

.public-page .bottom-cta h2,
.public-page .bottom-cta p,
.public-page .bottom-cta .staff-link {
  color: #ffffff;
}

.public-page .bottom-cta .button {
  color: #183142;
  border-color: #f2b823;
  background: #ffc94a;
  box-shadow: 0 4px 0 #d99816;
}

.public-page .bottom-cta .staff-link {
  color: #bfe6ed;
}

@media (max-width: 900px) {
  .public-page .topbar {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
  }

  .public-page .topbar nav {
    min-width: 0;
    margin-left: auto;
  }

  .public-page .topbar nav a:not(.public-nav-cta) {
    display: none;
  }

  .public-page .topbar nav .public-nav-cta {
    margin-left: 0;
    min-height: 42px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .public-page .topbar nav a {
    padding-inline: 6px;
    font-size: 11px;
  }

  .public-page .sup-hero {
    min-height: 560px;
    padding: 42px;
  }

  .public-page .sup-hero h1 {
    font-size: 48px;
  }

  .public-page .public-included .included-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .public-page .topbar {
    flex-direction: row;
    align-items: center;
    min-height: 58px;
    padding: 8px 12px;
  }

  .public-page .topbar nav {
    margin-left: auto;
  }

  .public-page .topbar nav a:not(.public-nav-cta) {
    display: none;
  }

  .public-page .topbar nav .public-nav-cta {
    margin-left: 0;
    min-height: 42px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .public-page main {
    width: min(100% - 24px, 1240px);
    padding-top: 12px;
  }

  .public-page .sup-hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 24px;
    border-radius: 10px 10px 0 0;
  }

  .public-page .sup-hero .hero-photo {
    position: relative;
    inset: auto;
    order: 3;
    min-height: 230px;
    margin: 22px -24px -24px;
    border-radius: 0;
  }

  .public-page .sup-hero .hero-photo::before {
    background: linear-gradient(180deg, rgba(2, 31, 51, 0.28), rgba(2, 31, 51, 0));
  }

  .public-page .sup-hero .hero-copy {
    width: 100%;
  }

  .public-page .sup-hero h1 {
    font-size: 40px;
  }

  .public-page .sup-hero .hero-lead {
    font-size: 18px !important;
  }

  .public-page .hero-station {
    position: static;
    order: 2;
    width: 100%;
    margin-top: 18px;
  }

  .public-page .hero-actions {
    flex-direction: column;
  }

  .public-page .hero-actions .button {
    width: 100%;
  }

  .public-page .public-scenarios {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 0;
    padding: 18px 8px;
  }

  .public-page .public-scenarios article:nth-child(2) {
    border-right: 0;
  }

  .public-page .public-scenarios article {
    padding: 4px 10px;
  }

  .public-page .section-head h2,
  .public-page .bottom-cta h2 {
    font-size: 28px;
  }

  .public-page .booking-zone {
    grid-template-columns: 1fr;
  }

  .public-page .booking-form,
  .public-page .calendar-panel {
    padding: 18px;
  }

  .public-page .public-included .included-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-page .public-process-safety {
    padding: 18px;
  }

  .public-page .public-process-safety .safety-panel {
    padding: 20px 0 0;
    border-top: 1px solid #c8e1dc;
    border-left: 0;
  }

  .public-page .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-page .bottom-cta {
    padding: 24px;
  }
}

@media (max-width: 420px) {
  .public-page .sup-hero h1 {
    font-size: 36px;
  }

  .public-page .hero-checklist {
    font-size: 14px;
  }

  .public-page .public-scenarios strong {
    font-size: 14px;
  }

  .public-page .public-scenarios span {
    font-size: 12px;
  }
}

/* Final mobile task-card polish. Scope is limited to internal bookings. */
.internal-bookings-page .summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.internal-bookings-page .summary-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.internal-bookings-page .summary-label-mobile {
  display: none;
}

.internal-bookings-page .booking-created,
.internal-bookings-page .booking-price-row {
  display: none;
}

@media (max-width: 720px) {
  .internal-bookings-page .internal-topbar {
    position: static;
    grid-template-rows: 44px 40px;
    gap: 2px 8px;
    height: 96px;
    min-height: 96px;
    padding: 4px 10px 6px;
  }

  .internal-bookings-page .internal-topbar .brand {
    font-size: 17px;
  }

  .internal-bookings-page .internal-topbar a.knowledge-nav-button-mobile {
    min-height: 40px;
    padding: 7px 9px;
    font-size: 13px;
  }

  .internal-bookings-page .internal-topbar nav a {
    min-height: 40px;
    padding: 7px 10px;
  }

  .internal-bookings-page .manager-summary {
    grid-template-columns: 0.9fr 1fr 1.15fr 1fr;
    gap: 5px;
    align-items: stretch;
  }

  .internal-bookings-page .manager-summary .summary-dashboard,
  .internal-bookings-page .manager-summary .summary-card {
    grid-column: auto;
    min-width: 0;
    min-height: 92px;
    padding: 8px 5px;
  }

  .internal-bookings-page .manager-summary .summary-dashboard {
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    gap: 1px;
    cursor: default;
    transform: none;
  }

  .internal-bookings-page .manager-summary .summary-dashboard .summary-desktop-copy {
    display: none;
  }

  .internal-bookings-page .manager-summary .summary-dashboard .summary-kicker {
    display: block;
    color: #b8ddbd;
    font-size: 11px;
    line-height: 1;
    text-transform: none;
  }

  .internal-bookings-page .manager-summary .summary-dashboard strong {
    align-self: center;
    color: #d9ff9d;
    font-size: 32px;
    line-height: 1;
  }

  .internal-bookings-page .manager-summary .summary-dashboard .summary-explanation {
    display: block;
    color: #b8ddbd;
    font-size: 0;
    line-height: 1;
  }

  .internal-bookings-page .manager-summary .summary-dashboard .summary-explanation::after {
    font-size: 10px;
    content: "всего";
  }

  .internal-bookings-page .manager-summary .summary-card {
    grid-template-columns: 1fr;
    grid-template-rows: 16px 1fr auto 11px;
    justify-items: center;
    gap: 1px;
    border-width: 2px;
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 4px 0 var(--status-edge), 0 8px 14px rgba(23, 33, 29, 0.1);
    transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
  }

  .internal-bookings-page .manager-summary .summary-card:active {
    transform: translateY(3px);
    box-shadow: inset 0 2px 4px rgba(23, 33, 29, 0.14), 0 1px 0 var(--status-edge), 0 4px 8px rgba(23, 33, 29, 0.1);
  }

  .internal-bookings-page .manager-summary .summary-card .summary-icon {
    grid-row: 1;
  }

  .internal-bookings-page .manager-summary .summary-card .summary-icon svg {
    width: 16px;
    height: 16px;
  }

  .internal-bookings-page .manager-summary .summary-card .summary-label {
    grid-row: 3;
    align-self: center;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.05;
    text-align: center;
  }

  .internal-bookings-page .summary-label-desktop {
    display: none;
  }

  .internal-bookings-page .summary-label-mobile {
    display: inline;
  }

  .internal-bookings-page .manager-summary .summary-card strong {
    grid-row: 2;
    align-self: center;
    font-size: 25px;
    line-height: 1;
  }

  .internal-bookings-page .manager-summary .summary-card .summary-action {
    grid-row: 4;
    padding-top: 0;
    font-size: 0;
    line-height: 1;
  }

  .internal-bookings-page .manager-summary .summary-card .summary-action::before {
    font-size: 10px;
    content: "Открыть";
  }

  .internal-bookings-page .manager-summary .summary-card.active .summary-action::before {
    content: "Открыто";
  }

  .internal-bookings-page .manager-summary .summary-wide {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    min-height: 48px;
    margin-top: 1px;
    padding: 8px 10px;
  }

  .internal-bookings-page .manager-summary .summary-wide span {
    display: none;
  }

  .internal-bookings-page .manager-summary .summary-wide strong {
    font-size: 13px;
    line-height: 1.25;
  }

  .internal-bookings-page .manager-summary .confirmed-schedule {
    display: grid;
    align-items: stretch;
    min-height: 0;
    padding: 9px 10px;
  }

  .internal-bookings-page .confirmed-schedule-head {
    display: flex;
  }

  .internal-bookings-page .confirmed-schedule-head h2 {
    font-size: 15px;
  }

  .internal-bookings-page .confirmed-schedule-head p {
    display: block;
    font-size: 11px;
    text-align: right;
  }

  .internal-bookings-page .confirmed-schedule-day {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .internal-bookings-page .confirmed-schedule-day h3 {
    padding-top: 2px;
    font-size: 13px;
  }

  .internal-bookings-page .confirmed-schedule-day a {
    min-height: 32px;
    padding: 5px 7px;
  }

  .internal-bookings-page .confirmed-schedule-day time {
    font-size: 13px;
  }

  .internal-bookings-page .confirmed-schedule-day strong {
    font-size: 12px;
  }

  .internal-bookings-page .manager-card {
    gap: 7px;
  }

  .internal-bookings-page .booking-created {
    display: block;
    order: 2;
    margin: -4px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
  }

  .internal-bookings-page .booking-next-step {
    order: 3;
    margin: 0;
    padding: 6px 8px;
    color: #075f70;
    font-size: 13px;
    background: #e5f7fa;
    border: 1px solid #b8e4ea;
    border-radius: 6px;
  }

  .internal-bookings-page .client-line {
    order: 4;
  }

  .internal-bookings-page .booking-details {
    order: 5;
  }

  .internal-bookings-page .booking-details div {
    min-height: 54px;
  }

  .internal-bookings-page .booking-details div:last-child {
    grid-column: auto;
    min-height: 54px;
    padding-block: 8px;
  }

  .internal-bookings-page .booking-price-row {
    display: flex;
    order: 6;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 8px 10px;
    color: #07393c;
    background: #dff5ec;
    border: 1px solid #9edebb;
    border-radius: 7px;
  }

  .internal-bookings-page .booking-price-row span {
    font-size: 14px;
    font-weight: 800;
  }

  .internal-bookings-page .booking-price-row strong {
    font-size: 19px;
    line-height: 1;
  }

  .internal-bookings-page .booking-audit-line {
    order: 7;
  }

  .internal-bookings-page .customer-message {
    order: 7;
    background: #eef8fc;
    border-color: #c7e4ed;
  }

  .internal-bookings-page .customer-message span {
    color: #17627a;
  }

  .internal-bookings-page .booking-status-form {
    order: 8;
  }

  .internal-bookings-page .booking-status-form::before {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    content: "После звонка клиенту";
  }

  .internal-bookings-page .booking-status-form .confirm-action {
    min-height: 50px;
    font-size: 16px;
    box-shadow: 0 4px 0 #006d70;
  }

  .internal-bookings-page .booking-status-form .confirm-action:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #006d70;
  }

  .internal-bookings-page .booking-history {
    order: 9;
  }

  .internal-bookings-page .manager-actions .comment-form {
    order: 10;
    padding: 9px;
    background: #f3fbf6;
    border: 1px solid #bfead6;
    border-radius: 7px;
  }

  .internal-bookings-page .manager-actions .comment-form label {
    gap: 5px;
  }

  .internal-bookings-page .comment-form-title {
    color: #0d6650;
    font-size: 15px;
    font-weight: 900;
  }

  .internal-bookings-page .comment-form-help {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
  }

  .internal-bookings-page .manager-actions .comment-form textarea {
    min-height: 72px;
  }

  .internal-bookings-page .manager-actions .comment-form button {
    color: #ffffff;
    background: #087d66;
    border-color: #087d66;
  }

  .internal-bookings-page .cancel-disclosure {
    order: 11;
    padding: 0 9px;
    border: 1px solid #f3c0bc;
    border-radius: 7px;
  }

  .internal-bookings-page .cancel-disclosure summary {
    color: #a2382c;
  }

  .internal-bookings-page .cancel-warning {
    margin: 0;
    color: #8f241d;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
  }

  .internal-bookings-page .cancel-disclosure .cancel-form {
    padding: 0 0 9px;
  }
}

/* Compact touch layout for the internal bookings workflow only. */
.internal-bookings-page :is(a, button, input, textarea, summary):focus-visible {
  outline: 3px solid rgba(0, 166, 166, 0.45);
  outline-offset: 2px;
}

@media (max-width: 899px) {
  .internal-bookings-page .manager-card {
    grid-template-columns: 1fr;
  }

  .internal-bookings-page .booking-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .internal-bookings-page main {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
    padding-bottom: 28px;
  }

  .internal-bookings-page .internal-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 8px;
    min-height: 104px;
    padding: 6px 10px 7px;
  }

  .internal-bookings-page .internal-topbar .brand {
    max-width: 100%;
    font-size: 15px;
  }

  .internal-bookings-page .internal-topbar a.knowledge-nav-button-mobile {
    width: auto;
    min-height: 44px;
    padding: 8px 10px;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
  }

  .internal-bookings-page .internal-topbar nav {
    gap: 2px;
  }

  .internal-bookings-page .internal-topbar nav a {
    min-height: 44px;
    padding: 8px 10px;
    font-size: 14px;
  }

  .internal-bookings-page .bookings-head {
    margin-bottom: 6px;
  }

  .internal-bookings-page .bookings-head h1 {
    font-size: 24px;
    line-height: 1.1;
  }

  .internal-bookings-page .bookings-head p {
    font-size: 13px;
    line-height: 1.25;
  }

  .internal-bookings-page .station-shift-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 9px 10px;
  }

  .internal-bookings-page .station-shift-info h2 {
    font-size: 18px;
  }

  .internal-bookings-page .station-shift-info p {
    font-size: 13px;
    line-height: 1.25;
  }

  .internal-bookings-page .station-shift-info span {
    font-size: 10px;
  }

  .internal-bookings-page .station-shift-buttons,
  .internal-bookings-page .station-shift-form {
    display: block;
  }

  .internal-bookings-page .station-shift-buttons button {
    width: auto;
    min-width: 116px;
    height: 44px;
    min-height: 44px;
    padding: 8px 10px;
    font-size: 13px;
    white-space: nowrap;
  }

  .internal-bookings-page .status-page-head {
    margin-bottom: 8px;
    padding: 10px 12px;
  }

  .internal-bookings-page .status-page-head h2 {
    margin-bottom: 3px;
    font-size: 19px;
  }

  .internal-bookings-page .status-page-head p {
    font-size: 13px;
    line-height: 1.3;
  }

  .internal-bookings-page .manager-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 8px;
  }

  .internal-bookings-page .manager-summary .summary-dashboard,
  .internal-bookings-page .manager-summary .summary-wide {
    grid-column: 1 / -1;
  }

  .internal-bookings-page .manager-summary .summary-dashboard {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 66px;
    padding: 8px 10px;
  }

  .internal-bookings-page .manager-summary .summary-dashboard .summary-kicker,
  .internal-bookings-page .manager-summary .summary-dashboard .summary-explanation {
    display: none;
  }

  .internal-bookings-page .manager-summary .summary-dashboard > span:not(.summary-kicker):not(.summary-explanation) {
    font-size: 14px;
  }

  .internal-bookings-page .manager-summary .summary-dashboard strong {
    font-size: 34px;
  }

  .internal-bookings-page .manager-summary .summary-card {
    min-height: 78px;
    gap: 2px;
    padding: 9px 7px;
    border-radius: 8px;
  }

  .internal-bookings-page .manager-summary .summary-card span:first-child {
    font-size: 12px;
  }

  .internal-bookings-page .manager-summary .summary-card strong {
    font-size: 24px;
  }

  .internal-bookings-page .manager-summary .summary-action {
    padding-top: 1px;
    font-size: 0;
  }

  .internal-bookings-page .manager-summary .summary-action::before {
    font-size: 11px;
    content: "Открыть";
  }

  .internal-bookings-page .manager-summary .summary-card.active .summary-action::before {
    content: "Открыто";
  }

  .internal-bookings-page .manager-summary .summary-wide {
    min-height: 44px;
    padding: 9px 10px;
    border-left-width: 5px;
  }

  .internal-bookings-page .manager-summary .summary-wide span,
  .internal-bookings-page .manager-summary .summary-wide strong {
    font-size: 13px;
    line-height: 1.3;
  }

  .internal-bookings-page .manager-filters {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 7px;
    margin-bottom: 8px;
    padding: 9px;
  }

  .internal-bookings-page .manager-filters label,
  .internal-bookings-page .manager-filters .wide-filter {
    min-width: 0;
  }

  .internal-bookings-page .manager-filters .wide-filter {
    grid-column: 1 / -1;
  }

  .internal-bookings-page .manager-filters button,
  .internal-bookings-page .manager-filters .button {
    width: auto;
    min-height: 44px;
    padding: 8px 10px;
    font-size: 13px;
  }

  .internal-bookings-page .manager-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-left-width: 5px;
  }

  .internal-bookings-page .manager-card .booking-main,
  .internal-bookings-page .manager-card .manager-actions {
    display: contents;
  }

  .internal-bookings-page .manager-card-head {
    order: 1;
    align-items: center;
    flex-direction: row;
  }

  .internal-bookings-page .manager-card-head strong {
    font-size: 18px;
  }

  .internal-bookings-page .status-pill {
    min-height: 26px;
    padding: 4px 8px;
    font-size: 13px;
  }

  .internal-bookings-page .booking-next-step {
    order: 2;
    margin: -2px 0 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
  }

  .internal-bookings-page .client-line {
    order: 3;
    gap: 4px 12px;
    align-items: baseline;
    font-size: 16px;
    line-height: 1.3;
  }

  .internal-bookings-page .client-line a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-weight: 900;
  }

  .internal-bookings-page .booking-details {
    order: 4;
    gap: 7px;
    margin: 0;
  }

  .internal-bookings-page .booking-details div {
    min-height: 58px;
    padding: 8px 9px;
  }

  .internal-bookings-page .booking-details div:last-child {
    grid-column: 1 / -1;
    min-height: auto;
    padding-block: 7px;
  }

  .internal-bookings-page .booking-details dt {
    font-size: 11px;
  }

  .internal-bookings-page .booking-details dd {
    margin-top: 3px;
    font-size: 15px;
  }

  .internal-bookings-page .booking-audit-line {
    order: 5;
    margin-top: 0;
  }

  .internal-bookings-page .manager-text-block {
    order: 5;
    gap: 2px;
    padding: 8px 10px;
  }

  .internal-bookings-page .manager-text-block p {
    font-size: 14px;
    line-height: 1.35;
  }

  .internal-bookings-page .booking-status-form {
    order: 6;
  }

  .internal-bookings-page .booking-status-form .confirm-action {
    min-height: 48px;
    background: #008f92;
  }

  .internal-bookings-page .booking-history {
    order: 7;
    gap: 6px;
    margin-top: 0;
    padding-top: 8px;
  }

  .internal-bookings-page .booking-history h3 {
    font-size: 15px;
  }

  .internal-bookings-page .booking-history-event {
    gap: 2px;
    padding-left: 8px;
  }

  .internal-bookings-page .manager-actions .comment-form {
    order: 8;
    padding-top: 8px;
  }

  .internal-bookings-page .manager-actions .comment-form textarea {
    min-height: 72px;
  }

  .internal-bookings-page .cancel-disclosure {
    order: 9;
  }

  .internal-bookings-page .cancel-disclosure .cancel-form textarea {
    min-height: 68px;
  }

  .internal-bookings-page .restore-form {
    order: 8;
  }

  .internal-bookings-page .manager-actions button,
  .internal-bookings-page .cancel-disclosure summary {
    min-height: 44px;
  }
}

/* Visual-alignment pass: public routes only. */
.public-page main {
  width: 100%;
  padding: 0 0 42px;
}

.public-page .topbar {
  position: relative;
}

.public-page .public-brand {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.public-page .public-brand small {
  color: #ffc94a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.public-page .sup-hero {
  width: 100%;
  min-height: 620px;
  margin: 0;
  padding: 72px max(20px, calc((100vw - 1240px) / 2));
  border-radius: 0;
  box-shadow: none;
}

.public-page .sup-hero .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

.public-page .sup-hero .hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.public-page .sup-hero .hero-photo::before {
  background: linear-gradient(90deg, rgba(2, 28, 47, 0.95) 0%, rgba(3, 39, 61, 0.82) 34%, rgba(3, 48, 73, 0.34) 61%, rgba(3, 48, 73, 0.02) 100%);
}

.public-page .sup-hero .hero-copy {
  width: min(560px, 100%);
  max-width: 560px;
}

.public-page .sup-hero h1 {
  max-width: 540px;
  font-size: 60px;
}

.public-page .hero-station {
  top: 28px;
  right: max(20px, calc((100vw - 1240px) / 2));
  width: min(320px, calc(100% - 40px));
  padding: 0;
  background: transparent;
}

.public-page .hero-station .station-badge {
  min-height: 0;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(1, 22, 37, 0.2);
}

.public-page .scenario-section,
.public-page .public-included,
.public-page .public-process-safety,
.public-page .faq-section,
.public-page .price-section,
.public-page main > .landing-section:not(.bottom-cta) {
  width: min(1240px, calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
}

.public-page .notice,
.public-page .alert {
  width: min(1240px, calc(100% - 32px));
  margin: 18px auto;
}

.public-page .scenario-section {
  margin-top: 32px;
  margin-bottom: 32px;
}

.public-page .scenario-section .section-head {
  max-width: 680px;
  margin-bottom: 12px;
}

.public-page .scenario-section .section-head h2 {
  font-size: 32px;
}

.public-page .scenario-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  padding: 10px 0;
  background: transparent;
}

.public-page .scenario-grid article {
  min-height: 154px;
  padding: 12px 14px;
  text-align: center;
  background: transparent;
  border: 0;
  border-right: 1px solid #dce9eb;
  border-radius: 0;
  box-shadow: none;
}

.public-page .scenario-grid article:last-child {
  border-right: 0;
}

.public-page .scenario-icon,
.public-page .included-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #00a6a6;
}

.public-page .scenario-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}

.public-page .scenario-icon svg,
.public-page .included-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.public-page .scenario-grid h3 {
  margin-bottom: 6px;
  color: #073e63;
  font-size: 15px;
}

.public-page .scenario-grid p {
  font-size: 13px;
  line-height: 1.35;
}

.public-page .conversion-zone {
  display: grid;
  grid-template-columns: minmax(300px, 0.39fr) minmax(0, 0.61fr);
  width: min(1240px, calc(100% - 32px));
  margin: 36px auto;
  overflow: hidden;
  background: #f7fbfc;
  border: 1px solid #d8e8ec;
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(6, 75, 120, 0.1);
}

.public-page .tariff-summary {
  padding: 24px;
  background: #ffffff;
  border-right: 1px solid #d8e8ec;
}

.public-page .tariff-summary .section-head h2 {
  font-size: 30px;
}

.public-page .tariff-summary .section-head p {
  font-size: 15px;
}

.public-page .tariff-summary .popular-price-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.public-page .tariff-summary .popular-price-grid article {
  padding: 12px 10px;
  border-top-width: 4px;
  box-shadow: none;
}

.public-page .tariff-summary .popular-price-grid h3 {
  font-size: 14px;
}

.public-page .tariff-summary .popular-price-grid p {
  display: grid;
  gap: 2px;
  padding: 7px 0;
  font-size: 12px;
}

.public-page .tariff-summary .popular-price-grid p span {
  text-align: left;
}

.public-page .tariff-summary .accent-card p strong {
  line-height: 1.25;
}

.public-page .tariff-summary .price-anchor {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.35;
}

.public-page .booking-shell {
  min-width: 0;
  padding: 12px;
  background: #edf7fa;
}

.public-page .booking-shell-head {
  padding: 13px 18px;
  background: #063b60;
  border-radius: 8px 8px 0 0;
}

.public-page .booking-shell-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: 20px;
}

.public-page .booking-shell .booking-zone {
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.9fr);
  gap: 0;
  margin: 0;
}

.public-page .booking-shell .booking-zone .panel {
  border-radius: 0;
  box-shadow: none;
}

.public-page .booking-shell .booking-form {
  padding: 18px;
  border-top: 0;
  border-right: 1px solid #d8e8ec;
  border-radius: 0 0 0 8px !important;
}

.public-page .booking-shell .calendar-panel {
  padding: 18px;
  border-top: 0;
  border-radius: 0 0 8px 0 !important;
}

.public-page .booking-shell .booking-form h2,
.public-page .booking-shell .calendar-panel h2 {
  font-size: 20px;
}

.public-page .booking-shell .booking-form textarea {
  min-height: 88px;
}

.public-page .slots-toggle {
  width: 100%;
  min-height: 40px;
  margin-top: 8px;
  color: #075981;
  font-weight: 900;
  background: #ffffff;
  border-color: #c7e1e7;
}

.public-page .slots-toggle[hidden] {
  display: none;
}

.public-page .slot-list:not(.is-expanded) .slot-row-extra {
  display: none;
}

.public-page .public-included {
  margin-top: 38px;
}

.public-page .public-included .included-list article {
  display: grid;
  grid-template-rows: 40px auto 1fr;
  gap: 6px;
  min-height: 150px;
}

.public-page .included-icon {
  width: 40px;
  height: 40px;
  justify-self: center;
  color: #075981;
}

.public-page .public-included .included-list strong {
  font-size: 14px;
}

.public-page .public-included .included-list span {
  font-size: 12px;
  line-height: 1.3;
}

.public-page .public-process-safety {
  gap: 28px;
  margin-top: 34px;
  margin-bottom: 34px;
}

.public-page .public-process-safety .timeline {
  position: relative;
}

.public-page .public-process-safety .timeline::before {
  position: absolute;
  top: 19px;
  right: 12%;
  left: 12%;
  border-top: 3px dotted #8acfc9;
  content: "";
}

.public-page .public-process-safety .timeline li {
  position: relative;
  z-index: 1;
}

.public-page .public-process-safety .timeline span {
  background: #00a6a6;
}

.public-page .public-process-safety .safety-panel li {
  position: relative;
  padding-left: 20px;
  list-style: none;
}

.public-page .public-process-safety .safety-panel li::before {
  position: absolute;
  left: 0;
  color: #00a6a6;
  font-weight: 900;
  content: "✓";
}

.public-page .public-process-safety .safety-panel li:last-child {
  color: #b4443f;
  font-weight: 900;
}

.public-page .faq-section,
.public-page .price-section {
  margin-top: 30px;
  margin-bottom: 30px;
}

.public-page .faq-grid details,
.public-page .price-card,
.public-page .service-grid .info-panel,
.public-page .responsibility {
  box-shadow: 0 8px 20px rgba(6, 75, 120, 0.06);
}

.public-page .price-card,
.public-page .service-grid .info-panel,
.public-page .responsibility {
  padding: 18px;
}

.public-page .bottom-cta {
  display: grid;
  grid-template-columns: 1fr 1fr minmax(220px, 0.75fr);
  gap: 28px;
  width: 100%;
  margin: 42px 0 0;
  padding: 34px max(20px, calc((100vw - 1240px) / 2));
  border-radius: 0;
}

.public-page .bottom-cta h2 {
  font-size: 24px;
}

.public-page .bottom-cta .eyebrow {
  color: #64ddd0 !important;
}

.public-page .footer-contacts {
  align-self: center;
  padding-left: 24px;
  border-left: 1px solid rgba(191, 230, 237, 0.45);
}

.public-page .bottom-cta .staff-link {
  grid-column: 1 / -1;
  margin: 0;
}

@media (max-width: 960px) {
  .public-page .sup-hero {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .public-page .sup-hero h1 {
    font-size: 50px;
  }

  .public-page .conversion-zone {
    grid-template-columns: 1fr;
  }

  .public-page .tariff-summary {
    border-right: 0;
    border-bottom: 1px solid #d8e8ec;
  }

  .public-page .tariff-summary .popular-price-grid {
    max-width: 720px;
  }

  .public-page .bottom-cta {
    grid-template-columns: 1fr 1fr;
  }

  .public-page .footer-contacts {
    grid-column: 1 / -1;
    padding: 18px 0 0;
    border-top: 1px solid rgba(191, 230, 237, 0.45);
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .public-page .sup-hero {
    padding: 32px 20px 0;
  }

  .public-page .sup-hero .hero-copy {
    width: 100%;
  }

  .public-page .sup-hero .hero-photo {
    position: absolute;
    inset: 0;
    order: initial;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
  }

  .public-page .sup-hero .hero-photo::before {
    background: linear-gradient(180deg, rgba(2, 28, 47, 0.82) 0%, rgba(2, 35, 55, 0.73) 56%, rgba(2, 35, 55, 0.48) 100%);
  }

  .public-page .hero-station {
    position: static;
    order: 2;
    width: 100%;
    margin: 18px 0 0;
  }

  .public-page .scenario-section,
  .public-page .public-included,
  .public-page .public-process-safety,
  .public-page .faq-section,
  .public-page .price-section,
  .public-page main > .landing-section:not(.bottom-cta),
  .public-page .conversion-zone {
    width: min(100% - 24px, 1240px);
  }

  .public-page .scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 0;
  }

  .public-page .scenario-grid article {
    min-height: 138px;
  }

  .public-page .scenario-grid article:nth-child(2n) {
    border-right: 0;
  }

  .public-page .tariff-summary,
  .public-page .booking-shell {
    padding: 16px;
  }

  .public-page .tariff-summary .popular-price-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .public-page .booking-shell .booking-zone {
    grid-template-columns: 1fr;
  }

  .public-page .booking-shell .booking-form {
    border-right: 0;
    border-bottom: 1px solid #d8e8ec;
    border-radius: 0 !important;
  }

  .public-page .booking-shell .calendar-panel {
    border-radius: 0 0 8px 8px !important;
  }

  .public-page .public-process-safety .timeline::before {
    display: none;
  }

  .public-page .bottom-cta {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 20px;
  }

  .public-page .footer-contacts {
    grid-column: auto;
  }
}

@media (max-width: 420px) {
  .public-page .tariff-summary .popular-price-grid {
    grid-template-columns: 1fr;
  }

  .public-page .tariff-summary .popular-price-grid article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
  }

  .public-page .tariff-summary .popular-price-grid h3 {
    grid-column: 1 / -1;
  }
}

/* Final overrides follow earlier responsive rules intentionally. */
@media (max-width: 720px) {
  .internal-bookings-page .internal-topbar {
    position: static;
    grid-template-rows: 44px 40px;
    gap: 2px 8px;
    height: 96px;
    min-height: 96px;
    padding: 4px 10px 6px;
  }

  .internal-bookings-page .internal-topbar .brand { font-size: 17px; }
  .internal-bookings-page .internal-topbar a.knowledge-nav-button-mobile { min-height: 40px; padding: 7px 9px; font-size: 13px; }
  .internal-bookings-page .internal-topbar nav a { min-height: 40px; padding: 7px 10px; }

  .internal-bookings-page .manager-summary {
    grid-template-columns: 0.9fr 1fr 1.15fr 1fr;
    gap: 5px;
    align-items: stretch;
  }

  .internal-bookings-page .manager-summary .summary-dashboard,
  .internal-bookings-page .manager-summary .summary-card {
    grid-column: auto;
    min-width: 0;
    min-height: 92px;
    padding: 8px 5px;
  }

  .internal-bookings-page .manager-summary .summary-dashboard {
    display: grid;
    grid-template: auto 1fr auto / 1fr;
    place-items: center;
    gap: 1px;
    cursor: default;
  }

  .internal-bookings-page .manager-summary .summary-dashboard .summary-desktop-copy { display: none; }
  .internal-bookings-page .manager-summary .summary-dashboard .summary-kicker { display: block; color: #b8ddbd; font-size: 11px; line-height: 1; text-transform: none; }
  .internal-bookings-page .manager-summary .summary-dashboard strong { color: #d9ff9d; font-size: 32px; line-height: 1; }
  .internal-bookings-page .manager-summary .summary-dashboard .summary-explanation { display: block; color: #b8ddbd; font-size: 0; line-height: 1; }
  .internal-bookings-page .manager-summary .summary-dashboard .summary-explanation::after { font-size: 10px; content: "всего"; }

  .internal-bookings-page .manager-summary .summary-card {
    grid-template: 16px 1fr auto 11px / 1fr;
    justify-items: center;
    gap: 1px;
    border-width: 2px;
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 4px 0 var(--status-edge), 0 8px 14px rgba(23, 33, 29, 0.1);
    transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
  }

  .internal-bookings-page .manager-summary .summary-card:active {
    transform: translateY(3px);
    box-shadow: inset 0 2px 4px rgba(23, 33, 29, 0.14), 0 1px 0 var(--status-edge), 0 4px 8px rgba(23, 33, 29, 0.1);
  }

  .internal-bookings-page .manager-summary .summary-card .summary-icon { grid-row: 1; }
  .internal-bookings-page .manager-summary .summary-card .summary-icon svg { width: 16px; height: 16px; }
  .internal-bookings-page .manager-summary .summary-card .summary-label { grid-row: 3; align-self: center; font-size: 11px; font-weight: 900; line-height: 1.05; text-align: center; }
  .internal-bookings-page .summary-label-desktop { display: none; }
  .internal-bookings-page .summary-label-mobile { display: inline; }
  .internal-bookings-page .manager-summary .summary-card strong { grid-row: 2; align-self: center; font-size: 25px; line-height: 1; }
  .internal-bookings-page .manager-summary .summary-card .summary-action { grid-row: 4; padding-top: 0; font-size: 0; line-height: 1; }
  .internal-bookings-page .manager-summary .summary-card .summary-action::before { font-size: 10px; content: "Открыть"; }
  .internal-bookings-page .manager-summary .summary-card.active .summary-action::before { content: "Открыто"; }

  .internal-bookings-page .manager-summary .summary-wide {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    min-height: 48px;
    margin-top: 1px;
    padding: 8px 10px;
  }

  .internal-bookings-page .manager-summary .summary-wide span { display: none; }
  .internal-bookings-page .manager-summary .summary-wide strong { font-size: 13px; line-height: 1.25; }

  .internal-bookings-page .manager-card { gap: 7px; }
  .internal-bookings-page .booking-created { display: block; order: 2; margin: -4px 0 0; color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.25; }
  .internal-bookings-page .booking-next-step { order: 3; margin: 0; padding: 6px 8px; color: #075f70; font-size: 13px; background: #e5f7fa; border: 1px solid #b8e4ea; border-radius: 6px; }
  .internal-bookings-page .client-line { order: 4; }
  .internal-bookings-page .booking-details { order: 5; }
  .internal-bookings-page .booking-details div,
  .internal-bookings-page .booking-details div:last-child { grid-column: auto; min-height: 54px; padding-block: 8px; }

  .internal-bookings-page .booking-price-row {
    display: flex;
    order: 6;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 8px 10px;
    color: #07393c;
    background: #dff5ec;
    border: 1px solid #9edebb;
    border-radius: 7px;
  }

  .internal-bookings-page .booking-price-row span { font-size: 14px; font-weight: 800; }
  .internal-bookings-page .booking-price-row strong { font-size: 19px; line-height: 1; }
  .internal-bookings-page .booking-audit-line,
  .internal-bookings-page .customer-message { order: 7; }
  .internal-bookings-page .customer-message { background: #eef8fc; border-color: #c7e4ed; }
  .internal-bookings-page .customer-message span { color: #17627a; }
  .internal-bookings-page .booking-status-form { order: 8; }
  .internal-bookings-page .booking-status-form::before { display: block; margin-bottom: 4px; color: var(--muted); font-size: 12px; font-weight: 800; content: "После звонка клиенту"; }
  .internal-bookings-page .booking-status-form .confirm-action { min-height: 50px; font-size: 16px; box-shadow: 0 4px 0 #006d70; }
  .internal-bookings-page .booking-status-form .confirm-action:active { transform: translateY(3px); box-shadow: 0 1px 0 #006d70; }
  .internal-bookings-page .booking-history { order: 9; }

  .internal-bookings-page .time-change-disclosure { order: 8; }
  .internal-bookings-page .time-change-disclosure summary { min-height: 44px; }
  .internal-bookings-page .time-change-form textarea { min-height: 72px; }

  .internal-bookings-page .manager-actions .comment-form { order: 10; padding: 9px; background: #f3fbf6; border: 1px solid #bfead6; border-radius: 7px; }
  .internal-bookings-page .manager-actions .comment-form label { gap: 5px; }
  .internal-bookings-page .comment-form-title { color: #0d6650; font-size: 15px; font-weight: 900; }
  .internal-bookings-page .comment-form-help { color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.3; }
  .internal-bookings-page .manager-actions .comment-form textarea { min-height: 72px; }
  .internal-bookings-page .manager-actions .comment-form button { color: #ffffff; background: #087d66; border-color: #087d66; }

  .internal-bookings-page .cancel-disclosure { order: 11; padding: 0 9px; border: 1px solid #f3c0bc; border-radius: 7px; }
  .internal-bookings-page .cancel-disclosure summary { color: #a2382c; }
  .internal-bookings-page .cancel-warning { margin: 0; color: #8f241d; font-size: 12px; font-weight: 800; line-height: 1.3; }
  .internal-bookings-page .cancel-disclosure .cancel-form { padding: 0 0 9px; }
}

/* Desktop header acceptance fix: one compact row on the bookings page only. */
@media (min-width: 900px) {
  .internal-bookings-page .internal-topbar {
    display: grid;
    grid-template-columns: max-content max-content minmax(0, 1fr);
    align-items: center;
    gap: 36px;
    min-height: 76px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .internal-bookings-page .internal-topbar .brand {
    grid-column: 1;
    grid-row: 1;
    font-size: 24px;
  }

  .internal-bookings-page .internal-header-actions {
    display: contents;
  }

  .internal-bookings-page .internal-header-actions nav {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    gap: 20px;
    margin: 0;
    overflow: visible;
  }

  .internal-bookings-page .internal-header-actions .knowledge-nav-button-desktop {
    display: inline-flex;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    min-height: 44px;
    padding: 8px 14px;
    font-size: 0;
  }

  .internal-bookings-page .internal-header-actions .knowledge-nav-button-desktop::after {
    font-size: 14px;
    content: "📘 База знаний";
  }

  .internal-bookings-page main {
    padding-top: 10px;
  }
}

@media (min-width: 900px) and (max-width: 1100px) {
  .internal-bookings-page .internal-topbar {
    gap: 22px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .internal-bookings-page .internal-topbar .brand {
    font-size: 21px;
  }

  .internal-bookings-page .internal-header-actions nav {
    gap: 8px;
  }

  .internal-bookings-page .internal-header-actions nav a {
    padding-inline: 8px;
    font-size: 13px;
  }
}

@media (max-width: 720px) {
  .internal-bookings-page .client-line {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    gap: 6px 10px;
    align-items: center;
  }

  .internal-bookings-page .client-line a {
    min-width: 0;
  }

  .internal-bookings-page .booking-contact-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 5px 8px;
    color: #075344;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    background: #dff5ec;
    border: 1px solid #9edebb;
    border-radius: 7px;
  }

  .internal-bookings-page .booking-decision-row {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 7px;
    order: 8;
  }

  .internal-bookings-page .booking-decision-row .booking-status-form,
  .internal-bookings-page .booking-decision-row .cancel-disclosure {
    order: initial;
    min-width: 0;
  }

  .internal-bookings-page .booking-decision-row .booking-status-form::before {
    margin-bottom: 3px;
    font-size: 11px;
  }

  .internal-bookings-page .booking-decision-row .booking-status-form .confirm-action {
    min-height: 50px;
    padding-inline: 10px;
    font-size: 15px;
  }

  .internal-bookings-page .booking-decision-row .cancel-disclosure {
    align-self: end;
    min-height: 50px;
    padding: 0;
    background: #c33f34;
    border-color: #a9322a;
    box-shadow: 0 4px 0 #8f2822;
  }

  .internal-bookings-page .booking-decision-row .cancel-disclosure summary {
    justify-content: center;
    min-height: 50px;
    padding: 8px 6px;
    color: #ffffff;
    font-size: 0;
    text-align: center;
  }

  .internal-bookings-page .booking-decision-row .cancel-disclosure summary::after {
    font-size: 13px;
    font-weight: 900;
    content: "Отменить";
  }

  .internal-bookings-page .booking-decision-row .cancel-disclosure summary::marker {
    color: transparent;
  }

  .internal-bookings-page .booking-decision-row .cancel-disclosure:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #8f2822;
  }

  @supports selector(:has(*)) {
    .internal-bookings-page .booking-decision-row:has(.cancel-disclosure[open]) {
      grid-template-columns: 1fr;
    }
  }

  .internal-bookings-page .booking-decision-row .cancel-disclosure[open] {
    grid-column: 1 / -1;
    padding: 0 9px;
    color: var(--ink);
    background: #fff4f1;
    border-color: #f3c0bc;
    box-shadow: none;
  }

  .internal-bookings-page .booking-decision-row .cancel-disclosure[open] summary {
    justify-content: flex-start;
    color: #a2382c;
    font-size: 15px;
  }

  .internal-bookings-page .booking-decision-row .cancel-disclosure[open] summary::after {
    content: "";
  }

  .internal-bookings-page .status-page-head {
    padding: 9px 11px;
    background: #fff8e8;
    border-color: #f2c659;
    border-left: 5px solid #e4a928;
  }

  .internal-bookings-page .status-page-head h2 {
    color: #6f4a00;
  }

  .internal-bookings-page .status-page-guidance {
    display: grid;
    gap: 4px;
    margin: 0;
    color: #4f3a12;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
  }

  .internal-bookings-page .status-page-guidance span::before {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 7px 2px 0;
    vertical-align: middle;
    background: #d69216;
    border-radius: 50%;
    content: "";
  }

  .internal-bookings-page .manager-filters label {
    gap: 3px;
  }

  .internal-bookings-page .filter-help {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
  }

  .internal-bookings-page .booking-next-step {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 7px 9px;
    color: #8f241d;
    background: #fff0ed;
    border-color: #f0a59d;
  }

  .internal-bookings-page .booking-next-step svg {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .internal-bookings-page .booking-next-step span {
    display: grid;
    gap: 1px;
  }

  .internal-bookings-page .booking-next-step small {
    color: #b03a30;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .internal-bookings-page .booking-contact-price {
    display: grid;
    gap: 2px;
    justify-items: end;
    min-height: 42px;
    padding: 5px 8px;
  }

  .internal-bookings-page .booking-contact-price small {
    color: #397168;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
  }

  .internal-bookings-page .booking-contact-price strong {
    font-size: 16px;
  }

  .internal-bookings-page .booking-decision-row::before {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    content: "После звонка клиенту";
  }

  .internal-bookings-page .booking-decision-row .booking-status-form::before {
    display: none;
  }

  .internal-bookings-page .worklog {
    gap: 7px;
    padding: 10px;
    background: #f7fbfc;
    border: 1px solid #c9e1e8;
    border-radius: 8px;
  }

  .internal-bookings-page .worklog h3 {
    color: #0b5367;
    font-size: 16px;
  }

  .internal-bookings-page .worklog .customer-message {
    order: initial;
    padding: 8px 9px;
    background: #eaf7fc;
    border-left-color: #41aac4;
    border-radius: 6px;
  }

  .internal-bookings-page .worklog .customer-message .booking-history-meta {
    color: #17627a;
    font-weight: 900;
  }

  .internal-bookings-page .worklog .customer-message p {
    color: var(--ink);
    font-size: 14px;
  }

  .internal-bookings-page .worklog .booking-history-empty {
    margin: 0;
  }

  .internal-bookings-page .worklog .comment-form {
    display: grid;
    gap: 8px;
    padding: 9px;
    background: #f3fbf6;
    border: 1px solid #9edebb;
    border-radius: 7px;
  }

  .internal-bookings-page .worklog .comment-form label {
    gap: 5px;
  }

  .internal-bookings-page .worklog .comment-form textarea {
    min-height: 72px;
  }

  .internal-bookings-page .worklog .comment-form button {
    color: #ffffff;
    background: #087d66;
    border-color: #087d66;
  }

  .internal-bookings-page .worklog .comment-form.needs-worklog {
    background: #fff8e8;
    border-color: #e4a928;
    box-shadow: 0 0 0 3px rgba(228, 169, 40, 0.26);
  }

  .internal-bookings-page .worklog .comment-form.needs-worklog textarea {
    border-color: #d69216;
    box-shadow: 0 0 0 3px rgba(228, 169, 40, 0.16);
  }

  .internal-bookings-page .manager-actions .comment-form {
    border-color: #9edebb;
  }
}

/* Keep the confirmed schedule as a vertical, scrollable list on phones. */
@media (max-width: 720px) {
  .internal-bookings-page .manager-summary .summary-wide.confirmed-schedule {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 9px;
    min-height: 0;
    padding: 10px;
  }

  .internal-bookings-page .confirmed-schedule-head {
    display: flex;
    align-items: baseline;
  }

  .internal-bookings-page .confirmed-schedule-day {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    width: 100%;
  }

  .internal-bookings-page .confirmed-schedule-day h3 {
    padding-top: 3px;
  }

  .internal-bookings-page .manager-summary .confirmed-schedule-day ul {
    width: 100%;
  }

  .internal-bookings-page .confirmed-schedule-day a {
    width: 100%;
  }
}

/* Public weather widget: data is loaded from the local read-only endpoint. */
.public-page .hero-weather {
  position: absolute;
  top: 156px;
  right: max(20px, calc((100vw - 1240px) / 2));
  z-index: 2;
  display: grid;
  gap: 9px;
  width: min(330px, calc(100% - 40px));
  padding: 14px;
  color: #082e42;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(153, 225, 231, 0.9);
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(1, 22, 37, 0.22);
}

@supports (backdrop-filter: blur(8px)) {
  .public-page .hero-weather { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px); }
}

.public-page .weather-widget-head,
.public-page .weather-current,
.public-page .weather-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.public-page .weather-widget-head h2,
.public-page .weather-widget-head span,
.public-page .weather-summary,
.public-page .weather-loading,
.public-page .weather-unavailable { margin: 0; }
.public-page .weather-widget-head h2 { color: #075b72; font-size: 16px; }
.public-page .weather-widget-head span { color: #4f6c78; font-size: 12px; font-weight: 800; }
.public-page .weather-current { justify-content: flex-start; font-size: 14px; font-weight: 800; }
.public-page .weather-current strong { font-size: 30px; line-height: 1; }
.public-page .weather-current > span:last-child { min-width: 0; flex: 1; line-height: 1.15; }
.public-page .weather-icon { width: 34px; color: #d69216; font-size: 29px; line-height: 1; text-align: center; }
.public-page .weather-periods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.public-page .weather-periods > div { display: grid; gap: 2px; min-height: 54px; padding: 6px; background: #edf9fb; border: 1px solid #c5e8ec; border-radius: 6px; }
.public-page .weather-periods span { color: #51717a; font-size: 10px; font-weight: 800; }
.public-page .weather-period-icon { color: #087d88; font-size: 16px; line-height: 1; }
.public-page .weather-periods strong { color: #0c4454; font-size: 14px; }
.public-page .weather-summary { color: #183f4b; font-size: 12px; font-weight: 800; line-height: 1.32; }
.public-page .weather-meta { flex-wrap: wrap; align-items: baseline; color: #637b83; font-size: 10px; font-weight: 700; line-height: 1.25; }
.public-page .weather-meta a { color: #075b72; text-decoration: underline; text-underline-offset: 2px; }
.public-page .weather-meta a:focus-visible { outline: 3px solid #ffc94a; outline-offset: 2px; }
.public-page .weather-loading,
.public-page .weather-unavailable { min-height: 40px; color: #365a65; font-size: 13px; font-weight: 800; }

@media (min-width: 901px) {
  .public-page .sup-hero .hero-copy { position: static; }
}

@media (max-width: 900px) {
  .public-page .sup-hero .hero-weather {
    position: relative;
    top: auto;
    right: auto;
    width: min(240px, 48%);
    margin: 0 0 14px auto;
  }
}

@media (max-width: 720px) {
  .public-page .sup-hero .hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(160px, 46%);
    grid-template-areas:
      "eyebrow eyebrow"
      "title weather"
      "lead lead"
      "description description"
      "benefits benefits"
      "actions actions"
      "status status";
    column-gap: 8px;
    row-gap: 14px;
    align-content: start;
  }

  .public-page .sup-hero .eyebrow { grid-area: eyebrow; margin: 0; }
  .public-page .sup-hero h1 {
    grid-area: title;
    margin: 0;
    font-size: 48px;
    line-height: 0.96;
  }
  .public-page .sup-hero .hero-lead { grid-area: lead; margin: 0; }
  .public-page .sup-hero .hero-text { grid-area: description; margin: 0; }
  .public-page .sup-hero .hero-checklist { grid-area: benefits; margin: 0; }
  .public-page .sup-hero .hero-actions { grid-area: actions; margin: 0; }
  .public-page .sup-hero .hero-status { grid-area: status; margin: 0; }

  .public-page .sup-hero .hero-weather {
    grid-area: weather;
    top: auto;
    right: auto;
    width: 100%;
    min-width: 0;
    margin: 34px 0 0;
    padding: 9px;
    gap: 6px;
    border-radius: 14px;
    align-self: start;
  }

  .public-page .weather-widget-head h2 { font-size: 12px; }
  .public-page .weather-widget-head { align-items: flex-start; gap: 4px; }
  .public-page .weather-widget-head span { font-size: 10px; white-space: nowrap; }
  .public-page .weather-current strong { font-size: 23px; }
  .public-page .weather-icon { width: 22px; font-size: 20px; }
  .public-page .weather-current { gap: 4px; font-size: 11px; }
  .public-page .weather-current > span:last-child { font-size: 10px; overflow-wrap: anywhere; }
  .public-page .weather-periods { gap: 2px; }
  .public-page .weather-periods > div { min-height: 43px; padding: 3px; }
  .public-page .weather-periods span { font-size: 8px; }
  .public-page .weather-period-icon { font-size: 12px; }
  .public-page .weather-periods strong { font-size: 11px; }
  .public-page .weather-summary { font-size: 10px; line-height: 1.24; }
  .public-page .weather-meta { gap: 3px; font-size: 8px; }
  .public-page .weather-meta a { overflow-wrap: anywhere; }

}

@media (max-width: 400px) {
  .public-page .sup-hero h1 { font-size: 44px; }
  .public-page .weather-current {
    display: grid;
    grid-template-columns: 22px auto minmax(0, 1fr);
    align-items: center;
  }
  .public-page .weather-current > span:last-child {
    grid-column: 2 / -1;
    line-height: 1.12;
  }
}

@media (min-width: 1024px) {
  .public-page .sup-hero { min-height: 684px; }
  .public-page .sup-hero .hero-copy { align-content: start; }

  .public-page .sup-hero .hero-weather {
    top: auto;
    right: auto;
    bottom: 16px;
    left: max(20px, calc((100vw - 1240px) / 2));
    display: grid;
    grid-template-columns: minmax(145px, 0.9fr) minmax(165px, 1fr) minmax(185px, 1.25fr);
    grid-template-areas:
      "head head head"
      "current periods summary"
      "meta meta meta";
    column-gap: 12px;
    row-gap: 4px;
    width: clamp(560px, 47vw, 660px);
    min-height: 0;
    padding: 9px 14px 8px;
    border-radius: 14px;
  }

  .public-page .hero-weather .weather-widget-head {
    grid-area: head;
    justify-content: flex-start;
    gap: 8px;
  }

  .public-page .hero-weather .weather-widget-head h2 { font-size: 14px; }
  .public-page .hero-weather .weather-widget-head span { font-size: 11px; }
  .public-page .hero-weather .weather-current {
    grid-area: current;
    align-self: center;
    gap: 7px;
    font-size: 13px;
  }

  .public-page .hero-weather .weather-current strong { font-size: 27px; }
  .public-page .hero-weather .weather-icon { width: 26px; font-size: 22px; }
  .public-page .hero-weather .weather-periods {
    grid-area: periods;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .public-page .hero-weather .weather-periods > div:first-child { display: none; }
  .public-page .hero-weather .weather-periods > div {
    min-height: 40px;
    padding: 4px 6px;
  }

  .public-page .hero-weather .weather-periods span { font-size: 9px; }
  .public-page .hero-weather .weather-period-icon { font-size: 14px; }
  .public-page .hero-weather .weather-periods strong { font-size: 13px; }
  .public-page .hero-weather .weather-summary {
    grid-area: summary;
    align-self: center;
    font-size: 12px;
    line-height: 1.28;
  }

  .public-page .hero-weather .weather-meta {
    grid-area: meta;
    justify-content: space-between;
    gap: 12px;
    font-size: 10px;
  }
}

@media (min-width: 1024px) and (max-width: 1239px) {
  .public-page .sup-hero { min-height: 742px; }
}

@media (prefers-reduced-motion: reduce) {
  .public-page .hero-weather { scroll-behavior: auto; }
}

/* Public mobile action dock: it is enabled after the hero leaves the viewport. */
@media (max-width: 720px) {
  .public-page.mobile-action-dock-visible main {
    padding-bottom: calc(94px + env(safe-area-inset-bottom));
  }

  .public-page .mobile-action-dock {
    position: fixed;
    z-index: 30;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.8fr);
    gap: 8px;
    min-height: 66px;
    padding: 7px;
    background: #09241e;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(2, 24, 32, 0.34);
  }

  .public-page .mobile-action-dock[hidden] {
    display: none;
  }

  .public-page .mobile-action-dock a {
    display: grid;
    place-items: center;
    min-height: 52px;
    padding: 10px 12px;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
  }

  .public-page .mobile-action-dock__call {
    color: #ffffff;
    background: transparent;
  }

  .public-page .mobile-action-dock__booking {
    color: #082e42;
    background: #ffc94a;
    box-shadow: 0 3px 0 #d69216;
  }

  .public-page .mobile-action-dock a:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
  }

  .public-page .mobile-action-dock__booking:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #d69216;
  }
}

/* Public footer location map uses the official Yandex Maps share iframe. */
.public-page .location-map {
  grid-column: 1 / -1;
  min-width: 0;
}

.public-page .location-map__title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.public-page .location-map__frame {
  height: 400px;
  overflow: hidden;
  border: 1px solid rgba(100, 221, 208, 0.78);
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(1, 23, 37, 0.28);
}

.public-page .location-map__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.public-page .location-map__route {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 14px;
  padding: 12px 24px;
  color: #082e42;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  background: #ffc94a;
  border: 1px solid #f2b823;
  border-radius: 10px;
  box-shadow: 0 4px 0 #d99816;
}

.public-page .location-map__route:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.public-page .location-map__route:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #d99816;
}

@media (max-width: 960px) {
  .public-page .location-map__frame {
    height: 380px;
  }
}

@media (max-width: 720px) {
  .public-page .location-map {
    width: calc(100% + 16px);
    margin-inline: -8px;
  }

  .public-page .location-map__frame {
    height: 292px;
    border-radius: 10px;
  }

  .public-page .location-map__route {
    width: 100%;
    min-height: 54px;
    margin-top: 12px;
  }
}

/* Keep the brand, locale selector and booking CTA on one 390 px row. */
@media (max-width: 420px) {
  .public-page .topbar {
    gap: 4px;
    padding-inline: 8px;
  }

  .public-page .public-brand {
    font-size: 16px;
  }

  .public-page .public-brand small {
    font-size: 8px;
  }

  .public-page .public-header-actions {
    gap: 4px;
    min-width: 0;
  }

  .public-page .language-selector summary { min-width: 32px; padding-inline: 5px; }

  .public-page .topbar nav .public-nav-cta {
    min-height: 38px;
    padding-inline: 6px;
    font-size: 10px;
    white-space: nowrap;
  }
}
