:root {
  --ink: #18231f;
  --muted: #66726d;
  --line: #dfe5e1;
  --surface: #ffffff;
  --canvas: #f3f6f4;
  --accent: #1d5b47;
  --accent-strong: #154637;
  --accent-soft: #e4f0eb;
  --yes: #18714f;
  --yes-soft: #e4f5ed;
  --no: #9c493f;
  --no-soft: #faece9;
  --warning: #835d16;
  --warning-soft: #fff6df;
  --danger: #a33b34;
  --shadow: 0 20px 60px rgba(22, 45, 36, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--canvas);
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 39px;
  height: 39px;
  gap: 3px;
  padding: 8px;
  border-radius: 12px;
  background: var(--ink);
}

.brand-mark i {
  display: block;
  width: 5px;
  height: 20px;
  border-radius: 1px 1px 3px 3px;
  background: #fff;
}

.brand-mark i:nth-child(2) {
  height: 14px;
  opacity: 0.72;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(223, 229, 225, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.topbar-inner,
.simple-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.topbar nav a {
  text-decoration: none;
}

.topbar nav .active {
  color: var(--ink);
}

.inline-form {
  display: inline;
  margin: 0;
}

.link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.simple-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
}

.admin-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.narrow-shell,
.client-shell,
.auth-shell {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow-shell {
  padding: 76px 0;
}

.page-heading {
  margin-bottom: 30px;
}

.page-heading h1,
.client-heading h1,
.auth-heading h1,
.welcome-card h1 {
  margin: 8px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.page-heading h1 {
  font-size: clamp(38px, 5vw, 56px);
}

.page-heading p,
.client-heading p,
.auth-heading p,
.welcome-card p {
  max-width: 730px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.heading-meta {
  margin-bottom: 16px;
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.back-link:hover {
  color: var(--accent);
}

.panel,
.tour-card,
.client-card,
.auth-card,
.welcome-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel {
  margin-bottom: 24px;
  padding: 28px;
}

.panel.is-collapsed {
  display: none;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading > div {
  position: relative;
}

.section-heading h2 {
  display: inline;
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.015em;
}

.section-heading p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  margin-right: 9px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  vertical-align: 2px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 720;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(29, 91, 71, 0.2);
}

.button-primary:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
}

.button-secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: #b7c3bd;
  background: #f9fbfa;
}

.button-danger {
  border-color: #efd0cc;
  background: var(--no-soft);
  color: var(--danger);
}

.button-block {
  width: 100%;
}

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

.span-2 {
  grid-column: span 2;
}

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

.stack-form.compact {
  gap: 14px;
}

label > span {
  display: block;
  margin-bottom: 7px;
  color: #34413c;
  font-size: 13px;
  font-weight: 700;
}

label > span em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
}

label > small,
.stack-form label small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #cfd8d3;
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: var(--ink);
  transition: border-color 150ms, box-shadow 150ms;
}

input,
select {
  min-height: 44px;
  padding: 9px 12px;
}

textarea {
  min-height: 96px;
  padding: 11px 12px;
  resize: vertical;
  line-height: 1.5;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29, 91, 71, 0.12);
}

.form-action {
  display: flex;
  align-items: flex-end;
}

.alert {
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.45;
}

.alert-success {
  border-color: #c7e6d7;
  background: var(--yes-soft);
  color: #15553c;
}

.alert-error {
  border-color: #f0cbc6;
  background: var(--no-soft);
  color: #7f352f;
}

.alert-warning {
  border-color: #ecdba8;
  background: var(--warning-soft);
  color: #68480d;
}

.alert-info {
  background: #edf3f0;
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tour-card {
  display: flex;
  flex-direction: column;
  min-height: 285px;
  padding: 24px;
}

.tour-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tour-card h2 {
  margin: 25px 0 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.tour-card > p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.status-pill,
.response-state,
.privacy-badge,
.private-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 760;
}

.status-pill {
  padding: 6px 9px;
}

.status-open {
  background: var(--yes-soft);
  color: var(--yes);
}

.status-closed {
  background: #eef0ef;
  color: #5e6863;
}

.muted {
  color: var(--muted);
  font-size: 12px;
}

.card-metric {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: auto 0 18px;
  padding-top: 22px;
}

.card-metric strong {
  font-size: 24px;
}

.card-metric span {
  color: var(--muted);
  font-size: 12px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 56px 24px;
  text-align: center;
}

.empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.empty-state h2 {
  margin: 18px 0 8px;
  font-size: 19px;
}

.empty-state p,
.inline-empty {
  color: var(--muted);
  font-size: 14px;
}

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

.stats-grid article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.72);
}

.stats-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.stats-grid strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 500;
}

.stats-grid strong small {
  color: var(--muted);
  font-family: inherit;
  font-size: 16px;
}

.admin-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.slot-form {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  align-items: end;
  gap: 10px;
}

.item-list {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.item-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding-left: 3px;
  font-size: 13px;
  font-weight: 620;
}

.item-list form {
  margin: 0;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
}

.icon-button:hover {
  background: var(--no-soft);
  color: var(--danger);
}

.privacy-badge {
  padding: 7px 10px;
  background: #eef2f0;
  color: #56625d;
}

.table-scroll {
  overflow-x: auto;
  margin: 0 -28px -28px;
  padding-bottom: 2px;
  border-radius: 0 0 var(--radius) var(--radius);
}

.response-table {
  width: 100%;
  min-width: 870px;
  border-spacing: 0;
  border-collapse: separate;
  font-size: 12px;
}

.response-table th,
.response-table td {
  height: 62px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: #fff;
  text-align: center;
  white-space: nowrap;
}

.response-table thead th {
  height: 58px;
  background: #f8faf9;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
}

.response-table th:first-child,
.response-table td:first-child {
  padding-left: 28px;
  text-align: left;
}

.response-table th:last-child,
.response-table td:last-child {
  padding-right: 28px;
}

.response-table th small,
.response-table tfoot small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.response-table .sticky-column {
  position: sticky;
  z-index: 2;
  left: 0;
  min-width: 170px;
  box-shadow: 9px 0 14px -16px rgba(24, 35, 31, 0.8);
}

.response-table thead .sticky-column {
  z-index: 3;
  background: #f8faf9;
}

.client-cell strong,
.client-cell small {
  display: block;
}

.client-cell strong {
  font-size: 13px;
}

.client-cell small {
  overflow: hidden;
  max-width: 160px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  text-overflow: ellipsis;
}

.response-state {
  padding: 6px 8px;
}

.response-state.complete {
  background: var(--yes-soft);
  color: var(--yes);
}

.response-state.waiting {
  background: #f0f2f1;
  color: #6c7671;
}

.availability-cell span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f2f4f3;
  color: #9aa29e;
  font-size: 16px;
  font-weight: 800;
}

.availability-cell.yes span {
  background: var(--yes-soft);
  color: var(--yes);
}

.availability-cell.no span {
  background: var(--no-soft);
  color: var(--no);
}

.link-cell {
  min-width: 250px;
}

.copy-field {
  display: flex;
  align-items: stretch;
}

.copy-field input {
  min-width: 0;
  height: 36px;
  min-height: 36px;
  border-radius: 8px 0 0 8px;
  background: #f8faf9;
  color: var(--muted);
  font-size: 10px;
}

.copy-field button {
  border: 1px solid #cfd8d3;
  border-left: 0;
  border-radius: 0 8px 8px 0;
  background: #fff;
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.row-actions details {
  position: relative;
}

.row-actions summary {
  padding: 8px;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
}

.row-actions summary::-webkit-details-marker {
  display: none;
}

.action-menu {
  position: absolute;
  z-index: 10;
  top: calc(100% + 4px);
  right: 0;
  width: 170px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(20, 40, 32, 0.16);
  text-align: left;
}

.action-menu form,
.action-menu button {
  width: 100%;
}

.action-menu button {
  padding: 9px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  text-align: left;
  cursor: pointer;
}

.action-menu button:hover {
  background: #f3f6f4;
}

.action-menu .danger-text {
  color: var(--danger);
}

.response-table tfoot th,
.response-table tfoot td {
  background: #f8faf9;
  font-size: 13px;
}

.settings-panel {
  padding: 0;
}

.settings-panel > details > summary {
  padding: 21px 28px;
  font-size: 14px;
  font-weight: 720;
  cursor: pointer;
}

.settings-form {
  padding: 7px 28px 28px;
}

.danger-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 28px 28px;
  padding: 20px;
  border: 1px solid #efd5d1;
  border-radius: 12px;
  background: #fffafa;
}

.danger-zone strong {
  font-size: 13px;
}

.danger-zone p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.auth-page,
.public-page {
  background:
    radial-gradient(circle at 15% 5%, rgba(191, 216, 205, 0.44), transparent 30%),
    radial-gradient(circle at 93% 90%, rgba(223, 229, 225, 0.75), transparent 32%),
    var(--canvas);
}

.auth-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 36px 0;
}

.auth-card {
  width: min(100%, 470px);
  padding: 38px;
}

.auth-heading {
  margin: 45px 0 26px;
}

.auth-heading h1 {
  font-size: 34px;
}

.welcome-card {
  padding: 54px;
  text-align: center;
}

.welcome-card h1 {
  font-size: 44px;
}

.welcome-card p {
  margin: 0 auto 26px;
}

.error-panel code {
  padding: 2px 5px;
  border-radius: 5px;
  background: #eef1ef;
}

.client-page {
  background:
    linear-gradient(180deg, #edf3ef 0, #f7f8f7 360px, #f7f8f7 100%);
}

.client-header {
  min-height: 94px;
}

.private-label {
  padding: 7px 10px;
  border: 1px solid #d3dfd9;
  background: rgba(255, 255, 255, 0.6);
  color: #5f6d67;
}

.client-shell {
  padding: 18px 0 70px;
}

.client-card {
  padding: 42px;
}

.client-heading {
  margin-bottom: 31px;
}

.client-heading h1 {
  font-size: clamp(33px, 6vw, 47px);
}

.client-heading .greeting {
  margin: 28px 0 4px;
  color: var(--ink);
  font-weight: 720;
}

.client-heading .deadline {
  margin-top: 17px;
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: #f2f7f4;
  color: #4f5e57;
  font-size: 13px;
}

.availability-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

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

.availability-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fbfcfb;
}

.slot-date {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.slot-number {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 820;
}

.slot-date strong,
.slot-date small {
  display: block;
}

.slot-date strong {
  overflow: hidden;
  max-width: 275px;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slot-date small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.choice-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  flex: 0 0 238px;
}

.choice-group input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-group label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 39px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: #5c6863;
  font-size: 11px;
  font-weight: 740;
  cursor: pointer;
  transition: 130ms ease;
}

.choice-group label:hover {
  border-color: #bdc9c3;
}

.choice-group input:focus-visible + label {
  outline: 3px solid rgba(29, 91, 71, 0.18);
}

.choice-group input[value="1"]:checked + label {
  border-color: #a9d9c2;
  background: var(--yes-soft);
  color: var(--yes);
}

.choice-group input[value="0"]:checked + label {
  border-color: #ecc5bf;
  background: var(--no-soft);
  color: var(--no);
}

.client-submit {
  min-height: 50px;
  margin-top: 20px;
  font-size: 15px;
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.privacy-note p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.privacy-note strong {
  color: #47534e;
}

.lock-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 4px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.saved-banner {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: -8px 0 28px;
  padding: 15px;
  border: 1px solid #c5e5d5;
  border-radius: 12px;
  background: var(--yes-soft);
  color: #15553c;
}

.saved-banner > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--yes);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.saved-banner strong,
.saved-banner p {
  display: block;
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.saved-banner p {
  margin-top: 2px;
  opacity: 0.78;
}

.client-empty,
.centered-card {
  padding: 40px 12px;
  text-align: center;
}

.client-empty h2,
.centered-card h1 {
  margin: 16px 0 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.client-empty p,
.centered-card p {
  max-width: 440px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.state-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  font-weight: 800;
}

.state-icon.neutral {
  background: #edf1ef;
  color: #6f7a75;
}

.state-icon.closed {
  background: var(--yes-soft);
  color: var(--yes);
}

.answer-summary {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.answer-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12px;
}

.answer-yes {
  color: var(--yes);
}

.answer-no {
  color: var(--no);
}

@media (max-width: 930px) {
  .tour-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar-inner,
  .simple-header,
  .admin-shell {
    width: min(100% - 26px, 1180px);
  }

  .topbar nav > a {
    display: none;
  }

  .admin-shell {
    padding-top: 32px;
  }

  .heading-row,
  .tour-heading {
    flex-direction: column;
  }

  .heading-row > .button,
  .tour-heading > .button {
    width: 100%;
  }

  .tour-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid article {
    min-height: 72px;
  }

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

  .span-2 {
    grid-column: span 1;
  }

  .slot-form {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .slot-form .button {
    grid-column: 1 / -1;
  }

  .panel,
  .client-card,
  .auth-card {
    padding: 22px;
  }

  .table-scroll {
    margin: 0 -22px -22px;
  }

  .response-table th:first-child,
  .response-table td:first-child {
    padding-left: 22px;
  }

  .settings-panel {
    padding: 0;
  }

  .settings-panel > details > summary {
    padding: 20px 22px;
  }

  .settings-form {
    padding: 5px 22px 22px;
  }

  .danger-zone {
    align-items: stretch;
    flex-direction: column;
    margin: 0 22px 22px;
  }

  .client-header {
    min-height: 78px;
  }

  .client-shell {
    width: min(100% - 20px, 720px);
    padding-top: 4px;
  }

  .client-heading h1 {
    font-size: 34px;
  }

  .availability-row {
    align-items: stretch;
    flex-direction: column;
  }

  .choice-group {
    flex-basis: auto;
    width: 100%;
  }

  .slot-date strong {
    max-width: none;
  }
}

@media (max-width: 440px) {
  .brand small {
    display: none;
  }

  .private-label {
    font-size: 10px;
  }

  .page-heading h1 {
    font-size: 37px;
  }

  .welcome-card {
    padding: 38px 22px;
  }

  .welcome-card h1 {
    font-size: 36px;
  }

  .choice-group {
    grid-template-columns: 1fr;
  }
}
