/* Algorithmacy Studio. A document for an owner-run office, set on paper.
   Self-contained: this page does not load the conference stylesheets. */

:root{
  --paper: #FBFBF9;
  --paper-2: #F3F3EF;
  --tint: #EEF1F8;
  --ink: #141414;
  --ink-2: #4A4A48;
  --ink-3: #7A7A76;
  --rule: #D9D8D3;
  --rule-strong: #B9B8B2;
  --blueback: #1E3F9E;
  --blueback-deep: #16307A;
  --alert: #9A2E1F;
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --measure: 68ch;
}

*, *::before, *::after{ box-sizing: border-box; }

html{
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ transition: none !important; }
}
body{
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.6;
  font-variant-numeric: oldstyle-nums proportional-nums;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4{ font-weight: 500; margin: 0; letter-spacing: -0.005em; }
p, ul, ol, dl, table, figure{ margin: 0; }
a{ color: var(--blueback); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
a:hover{ color: var(--blueback-deep); }
:focus-visible{ outline: 2px solid var(--blueback); outline-offset: 3px; }
b, strong{ font-weight: 600; }
sup{ font-size: 0.7em; line-height: 0; vertical-align: 0.5em; }
sup a{ text-decoration: none; padding: 0 0.1em; }
img{ display: block; max-width: 100%; }
button, input, textarea, select{ font: inherit; color: inherit; }

.visually-hidden, .sr-only{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
a.visually-hidden:focus,
a.visually-hidden:focus-visible{
  position: fixed !important;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 16px;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--ink);
  color: var(--paper);
  z-index: 20;
  font-family: var(--sans);
  font-size: 0.875rem;
  text-decoration: none;
}

/* Page frame */
.sheet{
  width: min(1120px, 100% - 48px);
  margin: 0 auto;
}
@media (max-width: 600px){
  .sheet{ width: min(1120px, 100% - 36px); }
}

/* Top row */
.top{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 22px;
  border-bottom: 1px solid var(--ink);
}
.top-brand{
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.top-links{
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  font-family: var(--sans);
  font-size: 0.875rem;
}
.top-links a{ color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.top-links a:hover{ color: var(--ink); text-decoration: underline; }
.top-links a[aria-current="page"]{ color: var(--ink); }
@media (max-width: 700px){
  .top{
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 0 14px;
  }
  .top-links{
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.8125rem;
  }
}

/* Lead */
.lead{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  padding: 64px 0 56px;
}
.lead h1{
  font-size: clamp(2.5rem, 5.4vw, 4.375rem);
  line-height: 1.04;
  letter-spacing: -0.018em;
  max-width: 16ch;
  font-variation-settings: "opsz" 60;
}
.lead-text{
  max-width: var(--measure);
  margin-top: 28px;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.lead-text b{ color: var(--ink); font-weight: 500; }
.lead-actions{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 34px;
}
.lead-terms{
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  max-width: var(--measure);
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-2);
  font-variant-numeric: lining-nums tabular-nums;
}
.lead-terms b{ color: var(--ink); font-weight: 600; }
.lead-by{
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--ink-2);
}

/* Buttons */
.btn{
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  background: var(--blueback);
  border: 1px solid var(--blueback);
  border-radius: 4px;
  padding: 15px 20px;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover{ background: var(--blueback-deep); border-color: var(--blueback-deep); color: #fff; }
.btn:focus-visible{ outline: 2px solid var(--ink); outline-offset: 3px; }
.btn:disabled{ opacity: 0.6; cursor: wait; }
.btn-quiet{
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  padding: 14px 18px;
  text-decoration: none;
  cursor: pointer;
}
.btn-quiet:hover{ border-color: var(--ink); color: var(--ink); }
.text-link{
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--ink-2);
}

/* The record: three ways to run the work, in the ledger card. */
.record{
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}
.record-head{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 16px 20px;
  background: var(--tint);
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--ink-2);
}
.record-head b{ color: var(--ink); font-weight: 600; }
.record table{
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.45;
  font-variant-numeric: lining-nums tabular-nums;
}
.record th, .record td{
  text-align: left;
  vertical-align: top;
  padding: 12px 20px;
  border-top: 1px solid var(--rule);
}
.record thead th{
  border-top: 0;
  font-weight: 500;
  color: var(--ink-3);
  font-size: 0.8125rem;
  padding-top: 12px;
  padding-bottom: 10px;
}
.record tbody th{ font-weight: 500; white-space: nowrap; color: var(--ink-2); width: 9.5rem; }
.record td.status{ white-space: nowrap; width: 12rem; }
.record td.status.waiting{ color: var(--blueback); font-weight: 500; }
.record td.status.blocked{ color: var(--alert); font-weight: 500; }
.record tbody tr.is-studio,
.record tbody tr.is-studio th,
.record tbody tr.is-studio td{ background: var(--tint); }
.record tbody tr.is-studio td.status{ color: var(--ink); font-weight: 600; }
.record-foot{
  padding: 12px 20px 14px;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--ink-3);
}
/* Narrow record, and the desktop lead column: the label and the meter share a line, the entry sits under them. */
@media (max-width: 700px), (min-width: 1100px){
  .record thead{ display: none; }
  .record tbody{ display: block; }
  .record tbody tr{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 16px;
    border-top: 1px solid var(--rule);
    padding: 11px 20px 13px;
  }
  .record tbody tr:first-child{ border-top: 0; }
  .record tbody th, .record td{ border: 0; padding: 0; width: auto; white-space: normal; }
  .record tbody th{ grid-column: 1; grid-row: 1; font-size: 0.8125rem; color: var(--ink-3); font-weight: 500; white-space: nowrap; }
  .record td.status{ grid-column: 2; grid-row: 1; font-size: 0.8125rem; text-align: right; white-space: nowrap; }
  .record td:not(.status){ grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 700px){
  .record tbody tr{ padding-left: 16px; padding-right: 16px; }
}

/* Sections: a margin column for the heading, a content column for the text. */
.part{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px 56px;
  padding: 52px 0;
  border-top: 1px solid var(--rule);
}
.part-head h2{
  font-size: 1.5rem;
  line-height: 1.25;
  max-width: 16ch;
}
.part-head p{
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 26ch;
}
.part-body{ min-width: 0; }
.part-body > p, .part-body > ul, .part-body > ol, .part-body > dl{ max-width: var(--measure); }
.part-body > p + p{ margin-top: 1.1em; }
.part-body h3{ font-size: 1.25rem; line-height: 1.3; }
.muted{ color: var(--ink-2); }
.small{
  font-family: var(--sans);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-3);
}
.part-body > .small{ margin-top: 18px; }

.part-body code,
.call code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
}
@media (min-width: 1100px){
  .lead{ grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: 64px; align-items: start; padding-top: 72px; }
  .lead h1{ font-size: clamp(2.5rem, 4.3vw, 3.9rem); }
  .lead.lead-single{ grid-template-columns: minmax(0, 1fr); }
  .lead.lead-single h1{ max-width: 16ch; }
}
@media (min-width: 900px){
  .part{ grid-template-columns: 220px minmax(0, 1fr); }
  .part-head{ position: sticky; top: 28px; align-self: start; }
}

/* Figures from the reports */
.figures{
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px 40px;
  margin-top: 28px;
}
.part-body > .figures, .part-body > .month{ max-width: none; }
.figures li{ border-top: 1px solid var(--ink); padding-top: 14px; }
.figures .fig{
  display: block;
  font-size: 2.75rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums;
}
.figures p{ margin-top: 10px; font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
.part-body > .figures + p{ margin-top: 30px; }

/* The chores table */
.table-wrap{ overflow-x: auto; margin-top: 26px; -webkit-overflow-scrolling: touch; }
.grid-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.5;
}
.grid-table th, .grid-table td{
  text-align: left;
  vertical-align: top;
  padding: 14px 18px 16px 0;
  border-top: 1px solid var(--rule);
}
.grid-table thead th{
  border-top: 0;
  padding-top: 0;
  padding-bottom: 10px;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-3);
}
.grid-table tbody th{ font-weight: 500; color: var(--ink); width: 11rem; }
.grid-table tbody tr:last-child td, .grid-table tbody tr:last-child th{ border-bottom: 1px solid var(--rule); }
.grid-table td{ color: var(--ink-2); }
.grid-table td.never{ color: var(--ink); }
@media (max-width: 760px){
  .grid-table thead{ display: none; }
  .grid-table tbody tr{ display: block; border-top: 1px solid var(--rule); padding: 14px 0 16px; }
  .grid-table tbody tr:last-child{ border-bottom: 1px solid var(--rule); }
  .grid-table tbody th, .grid-table td{ display: block; border: 0; padding: 0; width: auto; }
  .grid-table tbody th{ font-size: 1.125rem; margin-bottom: 6px; }
  .grid-table td{ margin-top: 8px; }
  .grid-table td[data-label]::before{
    content: attr(data-label);
    display: block;
    font-family: var(--sans);
    font-size: 0.75rem;
    color: var(--ink-3);
    margin-bottom: 2px;
  }
  .grid-table tbody tr:last-child td{ border: 0; }
}

/* Compare table: numbers in sans. */
.compare{ font-size: 0.9375rem; font-family: var(--sans); font-variant-numeric: lining-nums tabular-nums; }
.compare th, .compare td{ padding-right: 14px; }
.compare tbody th{ font-family: var(--serif); font-size: 1.0625rem; width: auto; white-space: nowrap; }
.compare tbody tr.is-studio th, .compare tbody tr.is-studio td{ background: var(--tint); font-weight: 500; }
.compare tbody tr.is-studio th{ padding-left: 12px; border-radius: 4px 0 0 4px; }
.compare tbody tr.is-studio td:last-child{ padding-right: 12px; border-radius: 0 4px 4px 0; }
@media (max-width: 760px){
  .compare tbody th{ white-space: normal; }
  .compare tbody tr.is-studio{ background: var(--tint); padding-left: 12px; padding-right: 12px; border-radius: 4px; }
  .compare tbody tr.is-studio th, .compare tbody tr.is-studio td{ background: transparent; }
}

/* The first month, a sequence. */
.month{
  list-style: none;
  padding: 0;
  margin-top: 6px;
  max-width: none;
}
.month li{
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 6px 28px;
  padding: 18px 0 20px;
  border-top: 1px solid var(--rule);
}
.month li:last-child{ border-bottom: 1px solid var(--rule); }
.month .when{
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  padding-top: 5px;
  font-variant-numeric: lining-nums;
}
.month h3{ font-size: 1.1875rem; }
.month p{ margin-top: 6px; color: var(--ink-2); max-width: 58ch; }
@media (max-width: 600px){
  .month li{ grid-template-columns: 1fr; gap: 4px; }
  .month .when{ padding-top: 0; }
}

/* Price */
.price{
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 4px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}
.price > div{ padding: 22px 0 26px; }
.price .amt{
  display: block;
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.015em;
  font-variant-numeric: lining-nums;
}
.price .amt small{ font-size: 1.125rem; font-weight: 400; color: var(--ink-2); letter-spacing: 0; margin-left: 0.3em; }
.price .amt + .amt{ margin-top: 14px; }
.price h3{ font-size: 1rem; font-family: var(--sans); font-weight: 500; margin: 0 0 10px; }
.price ul{ margin: 16px 0 0; padding: 0 0 0 1.1em; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.price li + li{ margin-top: 6px; }
@media (min-width: 700px){
  .price{ grid-template-columns: 1fr 1fr; gap: 0 40px; }
  .price > div + div{ border-left: 1px solid var(--rule); padding-left: 40px; }
}
.excluded{ margin-top: 26px; }
.excluded h3{ font-size: 1rem; font-family: var(--sans); font-weight: 500; color: var(--ink-3); }
.excluded ul{ margin: 10px 0 0; padding: 0 0 0 1.1em; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.excluded li + li{ margin-top: 6px; }

/* Posture list */
.posture{
  list-style: none;
  padding: 0;
  margin-top: 22px;
  border-top: 1px solid var(--rule);
}
.posture li{
  padding: 14px 0 16px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
}
.posture li b{ color: var(--ink); font-weight: 500; }

/* Estimate: a sentence with the numbers in it. */
.roi{ margin-top: 10px; max-width: var(--measure); }
.roi-sentence{
  font-size: 1.375rem;
  line-height: 1.75;
}
.roi-field{ display: inline-block; white-space: nowrap; }
.roi-field span{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.roi input{
  width: 4.2ch;
  padding: 0 0.1em 1px;
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-size: inherit;
  font-weight: 500;
  color: var(--blueback);
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--blueback);
  border-radius: 0;
  font-variant-numeric: lining-nums tabular-nums;
  -moz-appearance: textfield;
}
.roi input#roi-rate{ width: 5.2ch; }
.roi input::-webkit-outer-spin-button, .roi input::-webkit-inner-spin-button{ -webkit-appearance: none; margin: 0; }
.roi input:focus{ outline: none; border-bottom-color: var(--ink); background: var(--tint); }
.roi-out{
  margin-top: 18px;
  padding: 16px 20px;
  background: var(--tint);
  border-radius: 6px;
  font-size: 1.0625rem;
  line-height: 1.55;
}

/* The engineer */
.person{
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 8px;
  max-width: var(--measure);
}
.person + .person{ margin-top: 32px; }
.person img{ width: 88px; height: 88px; border-radius: 50%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.person h3{ font-size: 1.25rem; }
.person p{ margin-top: 6px; color: var(--ink-2); }
.person .small{ margin-top: 10px; }

/* The call */
.call{
  list-style: none;
  padding: 0;
  margin-top: 6px;
  max-width: var(--measure);
}
.call li{
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 4px 24px;
  padding: 12px 0 14px;
  border-top: 1px solid var(--rule);
  color: var(--ink-2);
}
.call li:last-child{ border-bottom: 1px solid var(--rule); }
.call .when{ font-family: var(--sans); font-size: 0.875rem; font-weight: 500; color: var(--ink-2); padding-top: 4px; }
.call b{ color: var(--ink); font-weight: 500; }
@media (max-width: 600px){
  .call li{ grid-template-columns: 1fr; }
}

/* Questions */
.faq{ margin-top: 4px; max-width: var(--measure); border-top: 1px solid var(--rule); }
.faq details{ border-bottom: 1px solid var(--rule); }
.faq summary{
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 16px 0;
  font-size: 1.125rem;
  font-weight: 500;
}
.faq summary::-webkit-details-marker{ display: none; }
.faq summary::after{
  content: "+";
  flex: 0 0 auto;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink-3);
  width: 1.25rem;
  text-align: right;
}
.faq details[open] summary::after{ content: "–"; }
.faq summary:hover{ color: var(--blueback); }
.faq details p{ padding: 0 2.5rem 20px 0; color: var(--ink-2); max-width: 60ch; }

/* Booking widget and the form share one style. */
.book-panel{ margin-top: 20px; }
.book-note, .book-error{
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0 0 14px;
}
.book-note{ color: var(--ink-2); }
.book-error{ color: var(--alert); }
.book-days, .book-times{ display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.book-slot{
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  padding: 9px 12px;
  cursor: pointer;
  font-variant-numeric: lining-nums tabular-nums;
}
.book-slot:hover{ border-color: var(--ink); }
.book-slot.is-on, .book-slot[aria-pressed="true"]{ color: #fff; background: var(--blueback); border-color: var(--blueback); }
.book-form, .desk-fields{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}
.book-form label, .desk-field{
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}
.book-form label.wide, .desk-field-wide{ grid-column: 1 / -1; }
.book-form input, .book-form textarea, .desk-fields input, .desk-fields textarea{
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  padding: 12px 14px;
  width: 100%;
}
.desk-fields textarea, .book-form textarea{ resize: vertical; min-height: 7.5rem; line-height: 1.5; }
.book-form input:focus, .book-form textarea:focus, .desk-fields input:focus, .desk-fields textarea:focus{
  outline: 2px solid var(--blueback);
  outline-offset: 0;
  border-color: var(--blueback);
}
.book-form button{
  justify-self: start;
  grid-column: 1 / -1;
}
.book-form button, .book-text-btn{ font-family: var(--sans); font-weight: 600; font-size: 0.9375rem; border-radius: 4px; cursor: pointer; }
.book-form button{ color: #fff; background: var(--blueback); border: 1px solid var(--blueback); padding: 14px 20px; }
.book-form button:hover{ background: var(--blueback-deep); }
.book-form button:disabled{ opacity: 0.6; cursor: wait; }
.book-text-btn{ background: #fff; color: var(--ink); border: 1px solid var(--rule-strong); padding: 9px 12px; font-weight: 500; }
.book-text-btn:hover{ border-color: var(--ink); }
.book-confirm h3{ font-size: 1.75rem; margin-bottom: 8px; }
.book-confirm p{ margin: 0 0 8px; max-width: 56ch; color: var(--ink-2); }
.book-hp, .desk-hp{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
@media (max-width: 600px){
  .book-form, .desk-fields{ grid-template-columns: 1fr; }
  .book-form button{ width: 100%; }
}
.desk-hint{ font-weight: 400; color: var(--ink-3); font-size: 0.8125rem; }
.desk-optional{ font-weight: 400; color: var(--ink-3); }

/* The written note, below the calendar */
.write{ margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--rule); }
.write h3{ font-size: 1.375rem; }
.write > p{ margin-top: 10px; color: var(--ink-2); max-width: var(--measure); }
.desk{ margin-top: 24px; }
.desk fieldset{
  border: 0;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
}
.desk legend{
  float: left;
  width: 100%;
  padding: 0;
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
}
.desk fieldset label{
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--ink);
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  background: #fff;
}
.desk fieldset label:has(input:checked){ background: var(--blueback); border-color: var(--blueback); color: #fff; }
.desk fieldset label:has(input:focus-visible){ outline: 2px solid var(--blueback); outline-offset: 2px; }
.desk fieldset input{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.desk fieldset:disabled label{ opacity: 0.45; cursor: default; }
.desk-consent{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 20px;
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--ink-2);
}
.desk-consent input{ margin: 4px 0 0; width: 16px; height: 16px; accent-color: var(--blueback); }
.desk-line{
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--ink-2);
  font-variant-numeric: lining-nums;
}
.desk-status{ margin-top: 12px; font-family: var(--sans); font-size: 0.9375rem; color: var(--alert); }
.desk-send{ margin-top: 16px; }
.desk-note{ margin-top: 14px; font-family: var(--sans); font-size: 0.875rem; color: var(--ink-3); max-width: var(--measure); }
.desk-done{ margin-top: 24px; padding: 20px 22px; background: var(--tint); border-radius: 6px; max-width: var(--measure); }
.desk-done h3{ font-size: 1.375rem; }
.desk-done p{ margin-top: 6px; color: var(--ink-2); }

/* Sources */
.sources{
  margin-top: 4px;
  padding-left: 1.4em;
  font-family: var(--sans);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.sources li + li{ margin-top: 10px; }
.sources li:target{ background: var(--tint); }

/* Foot */
.foot{
  margin-top: 40px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--ink-2);
}
.foot nav{ display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 18px;
}
@media (max-width: 700px){
  .foot-links{ justify-content: flex-start; }
}
.foot a{ color: var(--ink-2); }
.foot a:hover{ color: var(--ink); }

/* Pages that reuse the shell */
.page-lead{ padding: 56px 0 28px; }
.page-lead h1{ font-size: clamp(2rem, 4.5vw, 3.25rem); line-height: 1.08; letter-spacing: -0.015em; max-width: 18ch; }
.page-lead p{ margin-top: 18px; max-width: var(--measure); font-size: 1.125rem; color: var(--ink-2); }
.page-body{ padding: 0 0 40px; }
.page-body .book-panel{ margin-top: 0; }
.page-body > .small{ margin-top: 28px; }

/* One slim bar under the header rule. Both labels share a cell so the height does not jump. */
.prompt-bar{
  margin: 14px 0 0;
  padding: 0;
  background: none;
  border: 0;
}
.prompt-copy{
  display: grid;
  width: 100%;
  text-align: left;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  background: var(--blueback);
  border: 0;
  border-radius: 4px;
  padding: 11px 16px;
  cursor: pointer;
}
.prompt-idle,
.prompt-done{
  grid-area: 1 / 1;
}
.prompt-done{ visibility: hidden; }
.prompt-copy.is-copied{ background: var(--ink); }
.prompt-copy.is-copied .prompt-idle{ visibility: hidden; }
.prompt-copy.is-copied .prompt-done{ visibility: visible; }
.prompt-copy:hover{ background: var(--blueback-deep); color: #fff; }
.prompt-copy.is-copied:hover{ background: var(--ink); }
.prompt-copy:focus-visible{ outline: 2px solid var(--ink); outline-offset: 3px; }
.prompt-bar + .lead{ padding-top: 32px; }
@media (min-width: 1100px){
  .prompt-bar + .lead{ padding-top: 36px; }
}
@media (max-width: 700px){
  .prompt-bar{ margin-top: 12px; }
  .prompt-copy{ font-size: 0.875rem; line-height: 1.35; padding: 10px 12px; }
}

/* Details carried in from a prefilled booking link. */
.book-brought{
  margin: 0 0 28px;
  padding: 16px 16px 4px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--tint);
}
.book-brought h2{
  font-size: 1.35rem;
  line-height: 1.25;
  margin-bottom: 8px;
}
.book-brought .book-facts{
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ink-2);
}
.book-brought .book-facts li + li{ margin-top: 4px; }
.book-brought .book-facts b{ color: var(--ink); font-weight: 600; }
