/* Site Plate: the console as a surveyed map sheet. Plates (aerial, drawings, scans,
   photographs) sit inside hairline neatlines on a dark sheet; lists are the sheet's
   schedules; lime marks only the current item and actions. Loaded after app.css. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url('/app/vendor/fonts/archivo-latin-wdth.woff2') format('woff2-variations');
}
:root {
  --bg: #0f130f;
  --rail: #0a0d0a;
  --margin: #0c100c;
  --surface: #161b16;
  --raised: #1f261f;
  --ink: #eef1ea;
  --muted: #b0baad;
  --subtle: #8d998a;
  --sage: #9aa894;
  --graticule: #5f6d5b;
  --line: #263026;
  --plate: #070907;
  --paper: #e8ebe4;
  --lime: #d2de26;
  --lime-hover: #e0eb4c;
  --lime-ink: #151b06;
  --pending: #e6d38d;
  --danger: #ff9e90;
  --rail-w: 248px;
  --head-h: 76px;
  --tool-h: 58px;
  --band: 34px;
  --gutter: 40px;
  --max: 1760px;
  --font: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --caps: 600 12px/1.3 var(--font);
  scrollbar-color: #2d382d transparent;
}
html,
body {
  font: 15px/1.5 var(--font);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: rgba(210, 222, 38, 0.32);
  color: var(--ink);
}
input,
textarea {
  caret-color: var(--lime);
}
.tabular,
time,
.count {
  font-variant-numeric: tabular-nums;
}
h1 {
  font-size: 26px;
  font-weight: 620;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
h2 {
  font-weight: 600;
}
h3 {
  font-weight: 580;
}
/* Map-sheet lettering: spaced, widened capitals for legends, labels and grid values. */
.caps,
.sheet-facts dt,
.pane-facts dt,
.margin-block h3,
.pane h3,
.schedule-pane h3,
.schedule-head,
.day-head,
.staff-tools > summary {
  font: var(--caps);
  font-stretch: 118%;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}

/* Shell ------------------------------------------------------------------ */
.sidebar {
  padding: 28px 22px 22px;
  border-right: 1px solid var(--line);
  scrollbar-width: thin;
}
.brand img {
  width: 92px;
}
.project-label {
  display: flex;
  flex-direction: column;
  margin: 30px 0 26px;
  font-size: 13.5px;
}
.project-label strong {
  font-size: 16px;
  font-weight: 580;
  line-height: 1.3;
  color: var(--ink);
}
.project-label .job-number {
  order: 3;
  margin: 10px 0 0;
  font: var(--caps);
  font-stretch: 118%;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}
nav {
  gap: 0;
}
.nav-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
nav a {
  position: relative;
  margin: 0 -10px;
  padding: 9px 10px 9px 24px;
  color: var(--muted);
  border-radius: 2px;
  font-size: 15px;
}
nav a:hover {
  background: #141a14;
  color: var(--ink);
}
nav a[aria-current='page'] {
  background: #161d16;
  color: var(--ink);
  font-weight: 600;
}
/* The current item carries a survey control mark rather than a filled block. */
nav a[aria-current='page']::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 50%;
  width: 8px;
  height: 7px;
  margin-top: -4px;
  background: var(--lime);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
nav .count {
  font-size: 13px;
  color: var(--subtle);
}
nav a[aria-current='page'] .count {
  color: var(--muted);
}
.staff-tools {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.staff-tools > summary {
  list-style: none;
  cursor: pointer;
  padding: 6px 0 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.staff-tools > summary::-webkit-details-marker {
  display: none;
}
.staff-tools > summary::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--sage);
  border-bottom: 1.5px solid var(--sage);
  transform: rotate(-45deg);
  transition: transform 0.2s;
}
.staff-tools[open] > summary::after {
  transform: rotate(45deg);
}
.staff-tools > summary:hover {
  color: var(--ink);
}
.staff-tools > summary:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
.contact-link {
  font-size: 14px;
  color: var(--ink);
}
.account {
  font-size: 13px;
}
.account button {
  font-size: 13px;
}
/* One content column, shared by the title strip and the stage, at every width. */
.page-head {
  min-height: var(--head-h);
  padding: 14px max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  background: var(--bg);
}
#page-heading .meta {
  margin-top: 4px;
  font-size: 13.5px;
}
.back-link {
  font-size: 13px;
}
body[data-frame='plate'] {
  --head-h: 60px;
}
body[data-frame='plate'] .page-head {
  padding-top: 8px;
  padding-bottom: 8px;
  padding-inline: 24px;
}
body[data-frame='plate'] #page-heading h1 {
  font-size: 19px;
}
body[data-frame='plate'] #page-heading .back-link {
  margin-bottom: 1px;
}
body[data-frame='plate'] #page-heading .meta {
  margin-top: 1px;
  font-size: 13px;
}
.content {
  max-width: var(--max);
  padding: 32px var(--gutter) 64px;
}
.toolbar {
  min-height: var(--tool-h);
  padding: 8px 20px;
  background: var(--margin);
}
.button {
  border-radius: 2px;
  font-size: 14px;
  font-weight: 520;
  border-color: #333f33;
}
.button.primary {
  color: var(--lime-ink);
  font-weight: 620;
}
.button.primary:hover {
  background: var(--lime-hover);
}
.button.small {
  min-height: 36px;
  font-size: 13px;
  padding: 6px 12px;
}
.text-button {
  font-size: 13.5px;
}
.notice {
  background: #131a11;
  border-color: #2e3b24;
  color: #d9dfc8;
  border-radius: 2px;
}
.preview-note,
.quiet-line {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 18px;
}
.quiet-line {
  margin-top: 28px;
}
.quiet-line a {
  color: var(--ink);
}
.status {
  font-size: 13px;
}
.status.pending {
  color: var(--pending);
}
.filter-tabs a {
  font-size: 15px;
}
.empty {
  padding: 72px 0;
}
.empty h2 {
  font-size: 30px;
  letter-spacing: -0.015em;
}
#toast {
  border-radius: 2px;
}
.confirm {
  border-radius: 2px;
}

/* The plate: aerial inside a neatline, graticule in the surrounding band. ------- */
.sheet-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(380px, 32%, 500px);
  height: 100%;
  min-height: 560px;
}
.plate {
  position: relative;
  min-width: 0;
  min-height: 0;
  background: var(--bg);
}
.plate-svg {
  position: absolute;
  inset: 0;
  display: block;
  font-family: var(--font);
}
.empty-plate {
  display: grid;
  place-items: center;
  color: var(--muted);
  padding: 40px;
}
.plate-mat {
  fill: var(--plate);
}
.neatline {
  fill: none;
  stroke: var(--graticule);
  stroke-width: 1;
}
.graticule line {
  stroke: var(--graticule);
  stroke-width: 1;
}
.grid-label {
  fill: var(--sage);
  font-size: 11px;
  font-weight: 560;
  font-stretch: 112%;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}
.grid-cross {
  fill: none;
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 1;
}
.plate-outline {
  fill: rgba(210, 222, 38, 0.07);
  stroke: #fff;
  stroke-width: 2;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.7));
}
.plate-outline.approx {
  stroke-dasharray: 8 6;
}
.plate-extent {
  fill: none;
  stroke: #fff;
  stroke-opacity: 0.8;
  stroke-width: 1.25;
  stroke-dasharray: 2 5;
}
.callout .mark {
  fill: var(--bg);
  stroke: var(--lime);
  stroke-width: 1.5;
  transition: fill 0.15s;
}
.callout .mark-number {
  fill: var(--lime);
  font-size: 12.5px;
  font-weight: 680;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.callout .leader {
  stroke: var(--lime);
  stroke-width: 1.25;
}
.callout .anchor {
  fill: var(--lime);
}
a.callout {
  cursor: pointer;
  outline: none;
}
a.callout:hover .mark,
a.callout:focus-visible .mark {
  fill: var(--lime);
}
a.callout:hover .mark-number,
a.callout:focus-visible .mark-number {
  fill: var(--lime-ink);
}
a.callout:focus-visible .mark {
  stroke: #fff;
  stroke-width: 2.5;
}
.scale-bar-plate .seg.dark {
  fill: var(--bg);
}
.scale-bar-plate .seg.light {
  fill: #fff;
}
.scale-bar-plate .seg-frame {
  fill: none;
  stroke: #fff;
  stroke-width: 1;
}
.scale-bar-plate text,
.north-point text {
  fill: #fff;
  font-size: 11px;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
  paint-order: stroke;
  stroke: rgba(0, 0, 0, 0.75);
  stroke-width: 3px;
}
.north-point path {
  fill: #fff;
  stroke: #fff;
  stroke-width: 1;
  stroke-linejoin: round;
}
.north-point path.half {
  fill: var(--bg);
}

/* The margin: the sheet's title block and legend beside the plate. ------------ */
.margin {
  min-width: 0;
  overflow: auto;
  background: var(--margin);
  border-left: 1px solid var(--line);
  padding: 34px 34px 44px;
  scrollbar-width: thin;
}
.address {
  font-size: clamp(40px, 3.4vw, 56px);
  line-height: 1.02;
  font-weight: 640;
  font-stretch: 78%;
  letter-spacing: -0.02em;
}
/* Key inside the plate's neatline. */
.key-box {
  fill: rgba(10, 13, 10, 0.9);
  stroke: var(--line);
}
.key-text {
  fill: var(--ink);
  font-size: 12px;
  font-weight: 500;
}
.key-text.credit {
  fill: var(--sage);
  font-variant-numeric: tabular-nums;
}
.key-outline {
  stroke: #fff;
  stroke-width: 2;
  stroke-dasharray: 5 4;
}
.key-extent {
  stroke: #fff;
  stroke-width: 1.25;
  stroke-dasharray: 2 4;
}
.key-mark {
  fill: var(--bg);
  stroke: var(--lime);
  stroke-width: 1.5;
}
/* Main column plus margin, for views without a plate. */
.sheet-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(320px, 28%, 420px);
  min-height: 100%;
  max-width: var(--max);
  margin: 0 auto;
}
.sheet-main {
  min-width: 0;
  max-width: 980px;
  padding: 32px var(--gutter) 64px;
}
.sheet-cols > .margin {
  overflow: visible;
}
.margin-sentence {
  font-size: 17px;
  color: var(--muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.margin-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.margin-item h3 {
  font-size: 17px;
  font-weight: 580;
  line-height: 1.3;
  margin-bottom: 4px;
}
.margin-item h3 a {
  text-decoration: none;
}
.margin-item h3 a:hover {
  color: var(--lime);
}
.margin-title {
  font-size: 22px;
  margin-bottom: 18px;
}
.margin-lead {
  font-size: 16px;
  margin-bottom: 4px;
}
.margin-lead a {
  text-decoration: none;
}
.margin-lead a:hover {
  color: var(--lime);
}
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0 0 24px;
  padding: 0;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  row-gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1.5px solid var(--sage);
  border-radius: 50%;
  color: var(--sage);
  font-size: 12px;
  font-weight: 680;
}
.steps strong {
  font-weight: 580;
}
.steps span {
  color: var(--muted);
  font-size: 14px;
}
/* Disclosure markers: one drawn chevron everywhere. */
.document-history > summary,
.walk-plan > summary,
.cloud-info > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}
.document-history > summary::-webkit-details-marker,
.walk-plan > summary::-webkit-details-marker,
.cloud-info > summary::-webkit-details-marker {
  display: none;
}
.document-history > summary::before,
.walk-plan > summary::before,
.cloud-info > summary::before {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.2s;
}
.document-history[open] > summary::before,
.walk-plan[open] > summary::before,
.cloud-info[open] > summary::before {
  transform: rotate(45deg);
}
.locality {
  margin-top: 10px;
  font-size: 17px;
  color: var(--muted);
}
.project-kind {
  margin-top: 18px;
  font-size: 15px;
  max-width: 36ch;
}
.sheet-facts,
.pane-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.sheet-facts dd,
.pane-facts dd {
  margin: 4px 0 0;
  font-size: 14.5px;
  overflow-wrap: anywhere;
}
.margin-block {
  margin-top: 34px;
}
.margin-block h3,
.schedule-pane h3 {
  margin-bottom: 12px;
}
.block-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.margin-block h3.needs-line {
  margin: 0;
  font: 590 22px/1.25 var(--font);
  font-stretch: 100%;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--ink);
}
.needs.attention .needs-line {
  color: var(--lime);
}
.needs .button {
  margin-top: 16px;
}
.needs-detail {
  margin-top: 12px;
  display: grid;
  gap: 4px;
}
.needs-detail a {
  font-size: 15px;
  text-decoration: none;
}
.needs-detail a:hover {
  color: var(--lime);
}
.issue-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.issue-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.issue-row:hover .row-title {
  color: var(--lime);
}
.plate-legend {
  list-style: none;
  margin: 0;
  padding: 0;
}
.plate-legend a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 7px 0;
  text-decoration: none;
  font-size: 14.5px;
}
.plate-legend a:hover {
  color: var(--lime);
}
.legend-mark {
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1.5px solid var(--lime);
  border-radius: 50%;
  color: var(--lime);
  font-size: 12px;
  font-weight: 680;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.margin-links {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}
.margin-links a {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.margin-links strong {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
}
.margin-links span {
  color: var(--muted);
  font-size: 14px;
}
.margin-links a:hover strong {
  color: var(--lime);
}
.dataset + .dataset {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.dataset h2 {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 22px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.dataset h2 .legend-mark {
  margin-top: 1px;
}
.dataset > .meta {
  margin-top: 16px;
  display: block;
}
.pane-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* A drawing sheet: the PDF's first page, or a paper placeholder with its number. -- */
.sheet {
  position: relative;
  display: block;
  width: 64px;
  aspect-ratio: 1.414;
  background: var(--paper);
  box-shadow:
    inset 0 0 0 3px var(--paper),
    inset 0 0 0 4px #b3bcb0;
  overflow: hidden;
  flex-shrink: 0;
}
.sheet img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.sheet.ready img {
  opacity: 1;
}
.sheet-no {
  position: absolute;
  right: 4px;
  bottom: 4px;
  padding: 1px 4px;
  border-left: 1px solid #b3bcb0;
  border-top: 1px solid #b3bcb0;
  color: #3a453a;
  font-size: 10px;
  font-weight: 650;
  font-stretch: 80%;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}
.sheet.ready .sheet-no {
  display: none;
}
.sheet.large {
  width: 100%;
}
.sheet.large .sheet-no {
  font-size: 13px;
  right: 8px;
  bottom: 8px;
}

/* Schedules: registers set as the sheet's drawing schedule, columns fixed. ------- */
.schedule-view {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(340px, 26%, 420px);
  min-height: 100%;
  max-width: var(--max);
  margin: 0 auto;
}
.schedule-main {
  min-width: 0;
  padding: 26px var(--gutter) 64px;
}
.schedule-pane {
  position: sticky;
  top: 0;
  align-self: start;
  max-height: 100%;
  overflow: auto;
  padding: 28px 32px 40px;
  border-left: 1px solid var(--line);
  background: var(--margin);
  min-height: 100%;
  scrollbar-width: thin;
}
.schedule-pane h2 {
  font-size: 23px;
  line-height: 1.2;
  margin-top: 20px;
}
.schedule-pane > .meta {
  display: block;
  margin-top: 4px;
}
.schedule-pane h3 {
  margin-top: 30px;
}
.pane-sheet {
  display: block;
}
.pane-sheet:hover .sheet,
.pane-sheet:focus-visible .sheet {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
.pane-revisions {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pane-revisions li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.pane-revisions a {
  text-decoration: none;
}
.schedule-head,
.document-row {
  display: grid;
  grid-template-columns: 22px 76px minmax(0, 1fr) 48px 96px 118px;
  column-gap: 18px;
  align-items: center;
}
.schedule-head {
  padding: 10px 0 9px;
  border-bottom: 1px solid var(--line);
  margin-top: 6px;
}
.document-row {
  border-top: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  cursor: pointer;
}
.document-row:hover {
  background: #121712;
}
.document-row.selected {
  background: #141b14;
}
.document-row .check {
  padding-top: 0;
  align-self: center;
}
.sheet-button {
  padding: 0;
  display: block;
}
.sheet-button .sheet {
  width: 76px;
}
.sheet-button[aria-pressed='true'] .sheet {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
.doc-main {
  min-width: 0;
}
.document-title {
  font-size: 16.5px;
  font-weight: 580;
  line-height: 1.3;
}
.doc-number {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13.5px;
}
.document-meta {
  display: none;
}
.doc-rev {
  font-size: 15px;
}
.doc-date {
  font-size: 13.5px;
  color: var(--muted);
}
.document-row .document-actions {
  display: none;
}
.document-history {
  grid-column: 3 / -1;
  margin-top: 8px;
}

/* Photographs: the latest visit leads as a large plate. ------------------------- */
.visits {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 22px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px var(--gutter) 64px;
}
.visit {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  min-width: 0;
}
.visit.lead {
  grid-column: span 7;
  grid-row: span 2;
}
.visit-cover {
  display: block;
  background: var(--plate);
  overflow: hidden;
}
.visit-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.visit.lead .visit-cover {
  flex: 1;
  min-height: 0;
}
.visit.lead .visit-cover img {
  height: 100%;
  aspect-ratio: auto;
  min-height: 320px;
}
.visit:hover .visit-cover img {
  transform: scale(1.015);
}
.visit-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 6px;
}
.visit-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.visit-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 12px;
}
.visit-title {
  font-size: 19px;
  font-weight: 590;
  line-height: 1.25;
}
.visit.lead .visit-title {
  font-size: 26px;
  letter-spacing: -0.01em;
}
.visit:hover .visit-title {
  color: var(--lime);
}

/* Council application: updates on a dated axis, then the schedule. -------------- */
.event-axis {
  position: relative;
  margin: 8px 0 36px;
  padding: 0 48px;
  height: 118px;
}
.axis-line {
  position: absolute;
  left: 48px;
  right: 48px;
  top: 58px;
  height: 1px;
  background: var(--graticule);
}
.axis-event {
  position: absolute;
  top: 58px;
  left: calc(48px + (100% - 96px) * var(--at) / 100);
}
.axis-dot {
  position: absolute;
  left: -6px;
  top: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid var(--sage);
  background: var(--bg);
}
.axis-event.open .axis-dot {
  border-color: var(--lime);
  background: var(--lime);
}
.axis-date {
  position: absolute;
  bottom: 14px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 13px;
  color: var(--muted);
}
.axis-event.below .axis-date {
  bottom: auto;
  top: 14px;
}
.axis-event.open .axis-date {
  color: var(--ink);
}
.event-axis figcaption {
  position: absolute;
  left: 48px;
  bottom: 0;
}
.council-list .timeline-item {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 110px;
  gap: 24px;
  align-items: baseline;
  padding: 22px 0;
}
.council-list time {
  font-size: 14px;
}
.council-list h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.council-list .status {
  justify-self: end;
}

/* Decisions and activity ---------------------------------------------------- */
.decision-lead {
  padding: 16px 0 40px;
  border-bottom: 1px solid var(--line);
}
.statement {
  font-size: clamp(30px, 2.5vw, 44px);
  font-weight: 620;
  font-stretch: 90%;
  letter-spacing: -0.02em;
  line-height: 1.08;
  max-width: 20ch;
}
.lede {
  margin-top: 14px;
  font-size: 16.5px;
  color: var(--muted);
  max-width: 58ch;
}
.approval-row.open {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 26px;
}
.approval-row.open .sheet {
  width: 132px;
}
.records {
  margin-top: 40px;
}
.activity-day + .activity-day {
  margin-top: 34px;
}
.day-head {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.activity-row {
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  padding: 13px 0;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}
.activity-row time {
  font-size: 14px;
}
.activity-row p {
  font-size: 15px;
}

/* Widths ------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .schedule-view {
    grid-template-columns: minmax(0, 1fr);
  }
  .schedule-pane {
    display: none;
  }
  .schedule-head,
  .document-row {
    grid-template-columns: 22px 68px minmax(0, 1fr) 44px 90px;
  }
  .schedule-head span:last-child,
  .doc-date {
    display: none;
  }
  .document-row .document-actions {
    display: flex;
    grid-column: 3 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
  }
  .sheet-button .sheet {
    width: 68px;
  }
}
@media (max-width: 1100px) {
  :root {
    --gutter: 26px;
    --band: 28px;
  }
  .sheet-split {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
  .margin {
    padding: 28px 26px 36px;
  }
}
@media (max-width: 900px) {
  .sheet-split,
  .sheet-cols {
    grid-template-columns: 1fr;
    height: auto;
  }
  .sheet-cols > .margin {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .sheet-split .plate {
    height: min(64vh, 560px);
  }
  .margin {
    border-left: 0;
    border-top: 1px solid var(--line);
    overflow: visible;
  }
  .visit,
  .visit.lead {
    grid-column: span 12;
    grid-row: auto;
  }
  .visit.lead .visit-cover img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}
@media (max-width: 760px) {
  :root {
    --rail-w: 0px;
    --gutter: 18px;
    --band: 22px;
    --head-h: 68px;
  }
  .address {
    font-size: 34px;
  }
  .schedule-main {
    padding-top: 18px;
  }
  .schedule-head {
    display: none;
  }
  .document-row {
    grid-template-columns: 22px 60px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
  }
  .doc-rev,
  .doc-status {
    display: none;
  }
  .document-meta {
    display: flex;
    font-size: 13px;
  }
  .sheet-button .sheet {
    width: 60px;
  }
  .document-row .document-actions,
  .document-history {
    grid-column: 2 / -1;
  }
  .council-list .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .council-list .status {
    justify-self: start;
  }
  .event-axis {
    padding: 0 24px;
  }
  .axis-line {
    left: 24px;
    right: 24px;
  }
  .axis-event {
    left: calc(24px + (100% - 48px) * var(--at) / 100);
  }
  .event-axis figcaption {
    left: 24px;
  }
  .approval-row.open {
    grid-template-columns: 1fr;
  }
  .activity-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }
  body[data-frame='plate'] .page-head {
    padding-inline: 16px;
  }
}
@media (max-height: 760px) and (min-width: 761px) {
  .sheet-split {
    min-height: 480px;
  }
}
/* Setup markers over the survey overview. */
.cloud-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
/* A 24px hit target around a 10px dot; the number shows when there is room. */
.cloud-marker {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: auto;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  padding: 0;
  background: none;
  color: var(--lime);
  font-size: 11px;
  font-weight: 680;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.cloud-marker::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--lime);
  background: rgba(10, 13, 10, 0.88);
}
.cloud-marker span {
  position: absolute;
  left: 19px;
  top: 2px;
  padding: 1px 4px;
  background: rgba(10, 13, 10, 0.88);
  white-space: nowrap;
  display: none;
}
.cloud-marker.labelled span,
.cloud-marker:hover span,
.cloud-marker:focus-visible span {
  display: block;
}
.cloud-marker:hover::before,
.cloud-marker:focus-visible::before {
  background: var(--lime);
}
