:root {
  --background: #f3f6fb;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #2563eb;
  --secondary: #0ea5e9;
  --link: #2563eb;
  --job: #166534;
  --requested: #fef9c3;
  --booked: #dcfce7;
  --banner-bg: #ecfdf3;
  --banner-border: #bbf7d0;
  --banner-text: #166534;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", Arial, sans-serif;
  margin: 0;
  background: #dbe5dd;
  color: var(--text);
}

header {
  display: none !important;
}

.shell {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 12px;
  width: 100%;
}

.page-main {
  gap: 0;
}

.shell-nav {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.nav-logo {
  display: flex;
  justify-content: center;
}

.nav-logo-img {
  max-width: 140px;
  height: auto;
}

.nav-logo-img.mobile {
  max-width: 54px;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-item {
  display: block;
  text-decoration: none;
  color: #0f172a;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
  width: 100%;
  text-align: left;
}

.nav-menu form button.nav-item {
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  color: #0f172a;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
  width: 100%;
  text-align: left;
}

.nav-item:hover,
.nav-item:focus-visible {
  background: #e0f2fe;
  color: #0b2f4a;
  outline: 2px solid #0b2f4a;
  outline-offset: 2px;
}
.nav-menu form button.nav-item:hover,
.nav-menu form button.nav-item:focus-visible {
  background: #e0f2fe;
  color: #0b2f4a;
  outline: 2px solid #0b2f4a;
  outline-offset: 2px;
}

.nav-active {
  background: #e0f2fe;
  color: #0b2f4a;
  font-weight: 700;
  outline: 2px solid #0b2f4a;
  outline-offset: 2px;
}

.nav-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-submenu {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding-left: 8px;
}

.nav-submenu a,
.nav-submenu form button {
  text-align: left;
}

.mobile-header {
  display: none;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  background: none;
  border: none;
  border-radius: 0;
  padding: 2px 12px 2px 12px;
  box-shadow: none;
  flex-wrap: wrap;
  position: relative;
  margin-bottom: 2px;
}

  .hamburger-mobile {
    background: #0b2f4a;
    color: #fff;
    border: none;
    width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
    box-shadow: 0 6px 14px rgba(11, 47, 74, 0.2);
    order: 2;
    position: absolute;
    top: 4px;
    right: 6px;
    margin: 0;
    z-index: 5;
  }

.mobile-identity {
  display: flex;
  align-items: center;
  gap: 8px;
  order: 1;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 8px 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  width: 100%;
  flex: 1;
  position: relative;
  margin: 0 auto;
  margin-top: 0;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 90;
}

.shell-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.shell-topbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.view-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.shell-search input {
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  min-width: 200px;
  background: #fff;
}

.shell-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.shell-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: #475569;
  font-size: 13px;
}

.legend-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.legend-pill.booking {
  color: #0b3b57;
  background: #e0f2fe;
  border: 1px solid #0ea5e9;
  box-shadow: 0 0 0 1px #b9e6ff inset;
}

.legend-pill.request {
  color: #7a4100;
  background: #fef3c7;
  border: 1px solid #f59e0b;
}

.legend-pill.booked {
  color: #0f5132;
  background: #dcfce7;
  border: 1px solid #22c55e;
  box-shadow: 0 0 0 1px #9ae6b4 inset;
}

.shell-grid {
  display: flex;
  flex-direction: row;
}

/* shell-panel removed in favor of full-width calendar */

header {
  background: #0f172a;
  color: #fff;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.logo-link {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

nav a {
  color: #cbd5f5;
  margin-right: 12px;
  text-decoration: none;
  font-weight: 600;
}

nav a:hover {
  color: #fff;
}

main {
  padding: 16px 16px 32px;
  width: 100%;
  margin: 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 2px 10px rgba(37, 99, 235, 0.08);
}

.card h1,
.card h2,
.card h3,
.card h4 {
  margin-top: 0;
}

.card-compact {
  padding: 12px;
}

.card-flush {
  padding: 0;
}

.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  background: #0b2f4a !important;
  color: #fff !important;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(11, 47, 74, 0.25);
  transition: transform 0.08s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(11, 47, 74, 0.3);
  filter: brightness(1.02);
}

.btn-secondary {
  background: #0b2f4a !important;
  color: #fff !important;
  border: none !important;
  text-decoration: none;
  font-size: 14px;
}

.btn-compact {
  padding: 8px 10px;
}

.btn-compact {
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.form-group {
  margin-bottom: 14px;
}

label {
  display: block;
  margin-bottom: 3px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="datetime-local"],
input[type="date"],
input[type="time"],
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  box-sizing: border-box;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: #f8fafc;
  transition: border-color 0.1s ease, box-shadow 0.1s ease;
}

select:not([multiple]) {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230b2f4a' d='M1.41.59 6 5.17 10.59.59 12 2l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 44px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
  background: #fff;
}

.alert {
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
  border: 1px solid #e2e8f0;
}

.alert-success {
  background: #ecfdf3;
  color: #166534;
}

.alert-danger {
  background: #fef2f2;
  color: #b91c1c;
}

.alert-info {
  background: #eff6ff;
  color: #1d4ed8;
}

.alert-invite {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 6px;
  color: #1f2937;
  font-size: 16px;
}

.icon-link {
  text-decoration: none;
  color: #1f2937;
  font-size: 16px;
  margin-right: 6px;
}

.hamburger-btn {
  background: none;
  border: 1px solid #334155;
  color: #fff;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
}

.header-actions {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 42px;
  background: #fff;
  color: #0f172a;
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 180px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 20;
}

.dropdown-item {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  color: #0f172a;
}

.dropdown-logout {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: none;
  background: #f3f4f6;
  cursor: pointer;
  font-size: 14px;
}

.dropdown-form {
  margin: 0;
}

.layout-flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.layout-flex-between-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.layout-flex-end {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
  gap: 8px;
}

.layout-flex-start {
  display: flex;
  justify-content: flex-start;
  margin-top: 8px;
}

.layout-flex-between-start {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.layout-flex-center-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mb-8 {
  margin-bottom: 8px;
}

.mt-8 {
  margin-top: 0;
}

.mt-16 {
  margin-top: 16px;
}

.mt-0 {
  margin-top: 0;
}

.gap-8 {
  gap: 8px;
}

.gap-12 {
  gap: 12px;
}

.gap-16 {
  gap: 16px;
}

.flex-row {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.flex-1 {
  flex: 1;
}

.min-300 {
  min-width: 300px;
}

.min-260 {
  min-width: 260px;
}

.inline-form {
  display: inline;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.btn-row {
  display: flex;
  gap: 8px;
}

.form-row {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.inline-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.inline-gap-4 {
  display: flex;
  align-items: center;
  gap: 4px;
}

.number-compact {
  width: 80px;
  padding: 8px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
}

.heading-tight {
  margin: 8px 0 0 0;
}

.text-tight {
  margin: 4px 0;
}

.hidden {
  display: none;
}

.filter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.view-form {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  flex-direction: column;
}

.view-select-row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aux-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.hero-card {
  background: linear-gradient(135deg, #e3f2ff 0%, #ffffff 60%);
  border: 1px solid #dbeafe;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-kicker {
  margin: 0;
  color: #475569;
  font-size: 13px;
}

.hero-title {
  margin: 0;
  font-size: 24px;
  color: #0f172a;
}

.hero-sub {
  margin: 0;
  color: #334155;
}

.hero-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  padding: 6px 10px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 12px;
}

.tag-primary {
  background: #e0e7ff;
  color: #312e81;
}

.tag-info {
  background: #cffafe;
  color: #0e7490;
}

.hero-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.select-simple {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background-color: #f8fafc;
  font-size: 14px;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
}

.hero-legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: #475569;
  font-size: 13px;
}

.landing-hero {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #d6e3d7;
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 16px 44px rgba(11, 47, 74, 0.12);
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 920px;
}

.landing-logo {
  width: 140px;
  height: auto;
}

.landing-title {
  margin: 0;
  font-size: 26px;
  color: #0b2f4a;
  line-height: 1.35;
}

.landing-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  margin-right: 6px;
}

.legend-booking {
  background: #e0f2fe;
  border-color: #0ea5e9;
  color: #0ea5e9;
}
.legend-request {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #b45309;
}
.legend-booked {
  background: #dcfce7;
  border-color: #22c55e;
  color: #166534;
}

.calendar-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  min-height: 800px;
  flex: 1;
  width: 100%;
  margin-top: 2px;
}

.nav-btn-small {
  padding: 8px 10px;
}

.calendar-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.calendar-top-actions {
  margin-left: auto;
}

.calendar-quick {
  margin: 10px 0;
}

.calendar-card__top h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.view-switch .btn-group {
  display: flex;
  gap: 6px;
}

.side-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.side-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 18px;
}

.side-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-muted {
  color: #475569;
  font-size: 13px;
  margin-bottom: 10px;
}

.side-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-list-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
}

.side-list--plain {
  list-style: disc;
  padding-left: 18px;
}

.list-space > li {
  margin-bottom: 10px;
}

.list-space > li:last-child {
  margin-bottom: 0;
}

.calendar-nav-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 12px;
}

.calendar-week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid var(--border);
}

.week-cell {
  border: 1px solid var(--border);
  min-height: 280px;
  padding: 8px;
}

.week-day-label {
  font-weight: 600;
}

.week-entry {
  font-size: 12px;
  margin-top: 4px;
  text-align: left;
}

.job-pill {
  font-size: 12px;
  margin-top: 4px;
  text-align: left;
  padding: 4px;
  border-radius: 4px;
}

.job-pill.requested {
  background: #fef3c7;
  border: 1px solid #fbbf24;
  color: #b45309;
}

.job-pill.booked {
  background: #dcfce7;
  border: 1px solid #22c55e;
  color: #166534;
}

.job-pill {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.job-pill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.job-pill-status {
  font-size: 12px;
  color: inherit;
  flex-shrink: 0;
}

.link-booking {
  color: var(--link);
  text-decoration: none;
  font-weight: 600;
}

.link-job {
  color: var(--job);
  text-decoration: none;
  font-weight: 600;
}

.job-pill.requested .job-link {
  color: #b45309;
}

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

.month-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 14px;
  table-layout: fixed;
  background: #fff;
}

.month-table th {
  padding: 12px;
  color: var(--muted);
  width: 14.28%;
  background: #f8fafc;
}

.month-table td {
  background: #fff;
}

.month-cell,
.month-cell--out {
  padding: 12px;
  border: 1px solid #e2e8f0;
  vertical-align: top;
  min-height: 280px;
  height: auto;
  width: 14.28%;
}

.month-cell--out {
  background: #f8fafc;
  min-height: 240px;
}

.month-table-wrapper {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.month-day {
  font-weight: 600;
  margin-bottom: 4px;
}

.month-booking {
  font-size: 12px;
  margin-top: 4px;
  text-align: left;
}

.day-pill.booking,
.week-entry.day-pill.booking,
.month-booking.day-pill.booking {
  background: #e0f2fe;
  border: 1px solid #38bdf8;
  color: #075985;
  padding: 10px 12px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 8px 18px rgba(56, 189, 248, 0.15);
  margin-bottom: 8px;
}

.day-pill.booking a,
.week-entry.day-pill.booking a,
.month-booking.day-pill.booking a {
  color: inherit;
}

.day-pill.booking .pill-meta,
.week-entry.day-pill.booking .pill-meta,
.month-booking.day-pill.booking .pill-meta {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.table th,
.table td {
  padding: 8px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

.table th {
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  background: #f8fafc;
}

.table-centered th,
.table-centered td {
  text-align: center;
}

.table-right {
  text-align: right;
}

.table-center {
  text-align: center;
}

.table-check-head {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.table-checkbox {
  margin: 0;
}

.table-empty {
  padding: 10px;
  text-align: center;
}

.multi-select {
  min-width: 180px;
  height: auto;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background-color: #f8fafc;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230b2f4a' d='M1.41.59 6 5.17 10.59.59 12 2l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 44px;
}

.multi-select option {
  background: #fff;
  color: var(--text);
}

.multi-select option:checked {
  background: #e2e8f0;
}

.card-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.copy-banner {
  background: var(--banner-bg);
  color: var(--banner-text);
  padding: 10px 12px;
  border: 1px solid var(--banner-border);
  border-radius: 6px;
  margin-top: 8px;
  font-weight: 600;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 50;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  overflow-y: auto;
}

.modal-card {
  max-width: 520px;
  width: 90%;
  position: relative;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 18px;
}

.page-title {
  margin: 0;
}

.booking-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.booking-frame {
  background: #fff;
  border-radius: 8px;
  width: 90%;
  max-width: 900px;
  height: 90%;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.booking-frame__header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.booking-frame .modal-close {
  position: static;
}

.iframe-full {
  width: 100%;
  height: auto;
  flex: 1;
  border: none;
  border-radius: 0 0 8px 8px;
}

.embed-view header {
  display: none;
}

.embed-view main {
  padding-top: 12px;
}

@media (max-width: 960px) {
  body {
    background: #dbe5dd;
  }

  main {
    padding: 2px 10px 8px;
  }

  main.page-main {
    max-width: 100%;
    margin: 0 auto 8px;
    padding: 4px 8px 10px;
    gap: 6px;
  }

  .shell {
    display: block;
    grid-template-columns: 1fr;
  }
  .booking-frame {
    width: 95%;
    height: 90%;
  }

  .mobile-header {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 80;
    padding: 4px 8px 0 8px;
    max-width: 100%;
    width: 100%;
    margin: 0 auto 4px;
  }

  .shell-nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    max-height: 100vh;
    width: 260px;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    z-index: 120;
    overflow-y: auto;
  }

  .nav-open .shell-nav {
    transform: translateX(0);
  }

  .nav-overlay {
    display: none;
  }

  .nav-open .nav-overlay {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .shell-main {
    padding-top: 4px;
    gap: 6px;
    align-items: stretch;
  }

  .mobile-identity {
    border-radius: 18px;
    padding: 8px 10px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    width: 100%;
    max-width: 100%;
  }

  .calendar-card__top {
    flex-direction: row;
    align-items: center;
  }

  .shell-topbar {
    display: none;
  }

  .view-switch {
    display: none;
  }

  .calendar-card {
    padding: 10px;
    min-height: 0;
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    margin-top: 0;
  }

  .calendar-nav-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .shell-legend {
    gap: 6px;
  }

  .calendar-week-grid,
  .month-table-wrapper {
    overflow-x: auto;
  }

  .btn,
  .btn-secondary {
    padding: 6px 10px !important;
    font-size: 12px;
  }

  .legend-pill {
    padding: 5px 8px;
    font-size: 11px;
  }

  .view-switch {
    display: none;
  }

  body {
    font-size: 14px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }
}
/* Base heading sizes */
h1 {
  font-size: 28px !important;
  line-height: 1.3;
  font-weight: 700 !important;
}

h2 {
  font-size: 24px !important;
  line-height: 1.3;
  font-weight: 700 !important;
}

h3 {
  font-size: 20px !important;
  line-height: 1.3;
  font-weight: 700 !important;
}

h4 {
  font-size: 18px !important;
  line-height: 1.3;
  font-weight: 700 !important;
}
