:root {
  
  --blue-5:  #b0eefc; --blue-10: #7de3f4; --blue-15: #49cce6; --blue-20: #01b6d1;
  --blue-25: #007da5; --blue-30: #006184; --blue-35: #005175; --blue-40: #003057;
  --focus-ring:     #3a3d40;

  
  --primary:        #006184;
  --primary-ink:    #004d69;   
  --primary-wash:   #e6eff3;   
  --link:           #006184;
  --link-active:    #b00504;
  --link-visited:   #9c4f9c;

  
  --confirm:        #318d43;
  --confirm-wash:   #e9f3eb;
  --danger:         #b00504;
  --danger-wash:    #f7e9e9;
  --warning:        #d45311;
  --warning-wash:   #fbeee7;
  --info:           #006184;

  
  --white:          #ffffff;
  --gray2:          #f7f8f8;
  --gray3:          #eff0f0;
  --gray5:          #e0e2e2;
  --gray10:         #d0d3d3;
  --gray15:         #bdc0c0;
  --gray20:         #a9adad;
  --gray25:         #9da1a1;
  --gray30:         #878a8c;   
  --gray35:         #676b6e;
  --gray40:         #53575b;
  --gray60:         #3a3d40;
  --gray90:         #0d0f10;
  --text120:        #212225;

  
  --bg:             #ffffff;
  --bg-alt:         #eff0f0;
  --bg-hover:       #eff0f0;
  --bg-active:      #e0e2e2;
  --bg-disabled:    #f7f8f8;
  --ink:            #212225;
  --ink-2:          #53575b;
  
  --ink-3:          #6f7376;
  --ink-inverted:   #ffffff;

  --line:           #e0e2e2;   
  --line-2:         #bdc0c0;   
  --line-3:         #878a8c;   

  
  --sans:  "Source Sans 3", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  --serif: "Source Serif 4", "Noto Serif", Georgia, serif;

  --fs-10: 0.625rem;  --fs-11: 0.6875rem; --fs-12: 0.75rem;
  --fs-13: 0.8125rem; --fs-14: 0.875rem;  --fs-16: 1rem;
  --fs-18: 1.125rem;  --fs-20: 1.25rem;   --fs-22: 1.375rem;
  --fs-26: 1.625rem;  --fs-28: 1.75rem;   --fs-30: 1.875rem;
  --fs-32: 2rem;      --fs-40: 2.5rem;    --fs-48: 3rem;

  --lh-tight: 1.2; --lh: 1.4; --lh-loose: 1.6;

  
  --s4: .25rem;  --s8: .5rem;   --s10: .625rem; --s12: .75rem;
  --s16: 1rem;   --s20: 1.25rem;--s24: 1.5rem;  --s32: 2rem;
  --s40: 2.5rem; --s48: 3rem;   --s60: 3.75rem; --s64: 4rem;
  --s96: 6rem;   --s128: 8rem;

  
  --radius: 0.125rem;

  
  --shadow-raised:   0 2px 4px 0 #00000033;
  --shadow-detached: 0 4px 8px 0 #00000033;
  --shadow-overlaid: 0 8px 16px 0 #00000033;
  --shadow-popped:   0 16px 32px 0 #00000033;

  --measure: 42rem;      
  --page:    64rem;      
  --ease:    cubic-bezier(.32,.72,0,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-16);
  line-height: var(--lh);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
h1,h2,h3,h4,p,figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--link); text-underline-offset: .15em; }
a:active { color: var(--link-active); }

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.display   { font-family: var(--serif); font-size: clamp(2.25rem, 5.5vw, var(--fs-40)); line-height: var(--lh-tight); font-weight: 400; }
.title     { font-size: var(--fs-26); line-height: var(--lh-tight); font-weight: 600; }
.section-head { font-size: var(--fs-32); line-height: var(--lh-tight); font-weight: 300; }
.subtitle  { font-size: var(--fs-20); line-height: var(--lh-tight); font-weight: 600; }
.heading   { font-size: var(--fs-18); line-height: var(--lh-tight); font-weight: 600; }
.body      { font-size: var(--fs-16); line-height: var(--lh-loose); }
.small     { font-size: var(--fs-14); line-height: var(--lh); }
.caption   { font-size: var(--fs-13); line-height: var(--lh); color: var(--ink-2); }
.eyebrow   { font-size: var(--fs-12); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.muted     { color: var(--ink-2); }
.dim       { color: var(--ink-3); }
.tnum      { font-variant-numeric: tabular-nums; }

.page   { max-width: var(--page); margin-inline: auto; padding-inline: var(--s20); }
.narrow { max-width: var(--measure); margin-inline: auto; padding-inline: var(--s20); }
.stack > * + *      { margin-top: var(--s16); }
.stack-8 > * + *    { margin-top: var(--s8); }
.stack-24 > * + *   { margin-top: var(--s24); }
.stack-32 > * + *   { margin-top: var(--s32); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--s16); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s8); }
.section { padding-block: var(--s64); }
.section--major { padding-block: var(--s128); }
.rule { border: 0; border-top: 1px solid var(--line); margin-block: var(--s24); }

.masthead {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 20;
}
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s16); min-height: 56px; }
.masthead__mark { display: flex; align-items: baseline; gap: var(--s8); text-decoration: none; color: var(--ink); }
.masthead__stake { font-size: var(--fs-14); font-weight: 600; }
.masthead__org   { font-size: var(--fs-14); color: var(--ink-3); }

.btn {
  --btn-bg: var(--primary); --btn-fg: var(--ink-inverted); --btn-bd: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s8);
  min-height: 44px; padding: var(--s10) var(--s20);
  font-size: var(--fs-16); font-weight: 400; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-bd); border-radius: var(--radius);
  cursor: pointer; text-decoration: none;
  transition: background-color .3s ease, border-color .3s ease, opacity .15s ease;
}
.btn:hover  { --btn-bg: var(--blue-25); --btn-bd: var(--blue-25); }   
.btn:active { --btn-bg: var(--blue-35); --btn-bd: var(--blue-35); }

.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn--secondary { --btn-bg: transparent; --btn-fg: var(--primary); --btn-bd: var(--line-2); }
.btn--secondary:hover { --btn-bg: var(--bg-hover); --btn-fg: var(--primary-ink); --btn-bd: var(--line-3); }
.btn--quiet { --btn-bg: transparent; --btn-fg: var(--ink-2); --btn-bd: transparent; padding-inline: var(--s12); font-weight: 400; }
.btn--quiet:hover { --btn-bg: var(--bg-hover); --btn-fg: var(--ink); --btn-bd: transparent; }
.btn--danger { --btn-bg: transparent; --btn-fg: var(--danger); --btn-bd: var(--line-2); }
.btn--danger:hover { --btn-bg: var(--danger-wash); --btn-bd: var(--danger); }
.btn--block { width: 100%; }
.btn--lg { min-height: 52px; font-size: var(--fs-18); padding-inline: var(--s32); }
.btn--sm { min-height: 34px; font-size: var(--fs-14); padding: var(--s4) var(--s12); }
@media (pointer: coarse) { .btn--sm { min-height: 44px; } }

.field { display: block; }
.field__label { display: block; font-size: var(--fs-14); font-weight: 600; margin-bottom: var(--s8); }
.field__hint  { font-size: var(--fs-13); color: var(--ink-2); margin-top: var(--s8); }
.field__error { font-size: var(--fs-13); color: var(--danger); margin-top: var(--s8); display: none; }
.field.is-invalid .field__error { display: block; }
.field.is-invalid .input { border-color: var(--danger); }
.input {
  width: 100%; min-height: 44px; padding: var(--s10) var(--s12);
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line-3); border-radius: var(--radius);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
  appearance: none;
}
.input:hover { border-color: var(--gray40); }
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-wash); }
.input:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; box-shadow: none; }
.input::placeholder { color: var(--ink-3); }
textarea.input { min-height: 96px; resize: vertical; line-height: var(--lh-loose); }
select.input {
  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 d='M1 1.5 6 6.5l5-5' stroke='%2353575b' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right var(--s12) center; padding-right: var(--s32);
}

.choices { display: flex; flex-wrap: wrap; gap: var(--s8); }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.choice__face {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px; padding: var(--s8) var(--s16);
  font-size: var(--fs-16); font-weight: 500;
  border: 1px solid var(--line-3); border-radius: var(--radius);
  background: var(--white); color: var(--ink);
  transition: all .15s var(--ease);
}
.choice input:hover + .choice__face { background: var(--bg-hover); border-color: var(--gray40); }
.choice input:focus-visible + .choice__face { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.choice input:checked + .choice__face {
  background: var(--primary); border-color: var(--primary); color: var(--ink-inverted); font-weight: 600;
}

.option {
  display: flex; align-items: center; gap: var(--s16);
  width: 100%; padding: var(--s16); text-align: left;
  background: var(--white); border: 0; border-bottom: 1px solid var(--line);
  cursor: pointer; transition: background-color .12s var(--ease);
}
.option:hover  { background: var(--bg-hover); }
.option:active { background: var(--bg-active); }
.option:last-child { border-bottom: 0; }
.option__body  { flex: 1 1 auto; min-width: 0; }
.option__name  { font-size: var(--fs-16); font-weight: 600; }
.option__meta  { font-size: var(--fs-13); color: var(--ink-2); margin-top: 2px; }
.option__chev  { flex: 0 0 auto; color: var(--ink-3); }
.option[aria-selected="true"] { background: var(--primary-wash); box-shadow: inset 3px 0 0 var(--primary); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card__pad  { padding: var(--s20); }
.card__head { padding: var(--s16) var(--s20); border-bottom: 1px solid var(--line); }
.card--raised { box-shadow: var(--shadow-raised); }
.group { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.group__label { padding: var(--s10) var(--s16); background: var(--bg-alt); border-bottom: 1px solid var(--line); }

.pill {
  display: inline-flex; align-items: center; gap: var(--s4);
  padding: 3px var(--s10); border-radius: var(--radius);
  font-size: var(--fs-12); font-weight: 600; line-height: 1.4;
  border: 1px solid transparent; white-space: nowrap;
}
.pill--ok      { background: var(--confirm-wash); color: #1f5c2b; border-color: #c3ddc8; }
.pill--wait    { background: var(--warning-wash); color: #8a3a0b; border-color: #eccdb9; }
.pill--none    { background: var(--gray3);        color: var(--ink-2); border-color: var(--gray10); }
.pill--info    { background: var(--primary-wash); color: var(--primary-ink); border-color: #b9d3dd; }
.pill__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }

.notice { display: flex; gap: var(--s12); padding: var(--s16); border: 1px solid var(--line); border-left-width: 3px; border-radius: var(--radius); background: var(--gray2); }
.notice--ok   { border-left-color: var(--confirm); background: var(--confirm-wash); }
.notice--warn { border-left-color: var(--warning); background: var(--warning-wash); }
.notice--info { border-left-color: var(--primary); background: var(--primary-wash); }
.notice--err  { border-left-color: var(--danger);  background: var(--danger-wash); }

.step { border-top: 1px solid var(--line); padding-block: var(--s32); }
.step:first-of-type { border-top: 0; }
.step[hidden] { display: none; }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: var(--ink-inverted); font-size: var(--fs-12); font-weight: 700; flex: none; }
.step__num--done { background: var(--confirm); }
.step__head { display: flex; align-items: center; gap: var(--s12); margin-bottom: var(--s20); }

.actionbar {
  position: sticky; bottom: 0; z-index: 15;
  background: color-mix(in srgb, var(--white) 92%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: var(--s12) var(--s20);
  padding-bottom: calc(var(--s12) + env(safe-area-inset-bottom));
}
.actionbar__inner { max-width: var(--measure); margin-inline: auto; display: flex; align-items: center; gap: var(--s16); }
.actionbar__summary { flex: 1 1 auto; min-width: 0; font-size: var(--fs-13); color: var(--ink-2); }

.table { width: 100%; border-collapse: collapse; font-size: var(--fs-14); }
.table th { text-align: left; font-size: var(--fs-12); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: var(--s10) var(--s12); border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.table td { padding: var(--s12); border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr:hover { background: var(--bg-hover); }
.table tbody tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.sitefoot { border-top: 1px solid var(--line); background: var(--gray2); margin-top: var(--s64); padding-block: var(--s32); }
.disclaimer { font-size: var(--fs-13); line-height: var(--lh-loose); color: var(--ink-2); max-width: var(--measure); }
.disclaimer strong { color: var(--ink); font-weight: 600; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fade-in { animation: fadeIn .28s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  .page, .narrow { padding-inline: var(--s16); }
  
  .masthead__mark { flex-direction: column; align-items: flex-start; gap: 0; }
  .masthead__org  { font-size: var(--fs-12); }
  .section { padding-block: var(--s32); }
  .hide-sm { display: none !important; }
}

.shell { display: grid; grid-template-columns: 15.5rem minmax(0, 1fr); min-height: 100vh; min-height: 100svh; }
.shell__nav {
  grid-column: 1; display: flex; flex-direction: column; gap: var(--s24);
  padding: var(--s20) var(--s16) var(--s16);
  border-right: 1px solid var(--line); background: var(--white);
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow-y: auto;
}
.shell__main { grid-column: 2; min-width: 0; }
.shell__bar { display: none; }
.shell__scrim { display: none; }

.nav__brand { display: block; text-decoration: none; color: var(--ink); padding: var(--s4) var(--s12); }
.nav__stake { display: block; font-size: var(--fs-14); font-weight: 600; line-height: 1.25; }
.nav__org   { display: block; font-size: var(--fs-13); color: var(--ink-3); }

.nav__main { flex: 1 1 auto; }
.nav__main ul { display: flex; flex-direction: column; gap: 1px; }
.nav__link {
  display: flex; align-items: center; gap: var(--s12);
  min-height: 44px; padding: var(--s8) var(--s12);
  font-size: var(--fs-14); color: var(--ink-2); text-decoration: none;
  border-radius: var(--radius);
  transition: background-color .12s var(--ease), color .12s var(--ease);
}
.nav__link:hover { background: var(--bg-hover); color: var(--ink); }
.nav__link.is-active {
  background: var(--primary-wash); color: var(--primary-ink);
  box-shadow: inset 2px 0 0 var(--primary); font-weight: 600;
}
.nav__ico { flex: none; opacity: .75; }
.nav__link.is-active .nav__ico { opacity: 1; }

.nav__section + .nav__section { margin-top: var(--s16); }
.nav__heading { padding: 0 var(--s12); margin-bottom: var(--s4); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

.nav__foot { border-top: 1px solid var(--line); padding-top: var(--s12); display: flex; flex-direction: column; gap: var(--s4); }
.nav__who { padding: var(--s8) var(--s12) 0; font-size: var(--fs-13); color: var(--ink-3); }
.nav__signout {
  align-self: flex-start; min-height: 44px; padding: var(--s4) var(--s12);
  font-size: var(--fs-13); color: var(--ink-3);
  background: none; border: 0; cursor: pointer; text-align: left;
}
.nav__signout:hover { color: var(--ink); text-decoration: underline; }

.view { padding: var(--s32) var(--s32) var(--s64); max-width: 68rem; }
.view__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s16); flex-wrap: wrap; margin-bottom: var(--s24); }
.view__title { font-size: var(--fs-32); font-weight: 300; line-height: var(--lh-tight); }
.view__sub { font-size: var(--fs-14); color: var(--ink-2); margin-top: var(--s4); }

@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .shell__main { grid-column: 1; }
  .shell__bar {
    display: flex; align-items: center; gap: var(--s12);
    min-height: 56px; padding: 0 var(--s16);
    border-bottom: 1px solid var(--line); background: var(--white);
    position: sticky; top: 0; z-index: 30;
  }
  .bar__menu {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-left: calc(var(--s8) * -1);
    background: none; border: 0; color: var(--ink); cursor: pointer; border-radius: var(--radius);
  }
  .bar__menu:hover { background: var(--bg-hover); }
  .bar__title { font-size: var(--fs-14); font-weight: 600; }
  .shell__nav {
    position: fixed; inset: 0 auto 0 0; z-index: 40; width: 16rem;
    transform: translateX(-100%); transition: transform .22s var(--ease), visibility .22s;
    box-shadow: var(--shadow-overlaid);
    
    visibility: hidden;
  }
  body.nav-open .shell__nav { transform: none; visibility: visible; }
  .shell__scrim { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(13,15,16,.4); }
  .view { padding: var(--s24) var(--s16) var(--s48); }
  .view__title { font-size: var(--fs-28); }
}
@media (prefers-reduced-motion: reduce) { .shell__nav { transition: none; } }

@media print {
  .shell { display: block; }
  .shell__nav, .shell__bar, .shell__scrim { display: none !important; }
  .view { padding: 0; max-width: none; }
}

.view__loading {
  padding-block: var(--s48);
  color: var(--ink-3); font-size: var(--fs-14);
  text-align: center;
}

.empty {
  max-width: var(--measure);
  padding: var(--s32) var(--s24);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white);
}
.empty__h { font-size: var(--fs-18); font-weight: 600; line-height: var(--lh-tight); }
.empty__p { margin-top: var(--s8); font-size: var(--fs-14); line-height: var(--lh-loose); color: var(--ink-2); }
.empty__act { margin-top: var(--s20); display: flex; gap: var(--s8); flex-wrap: wrap; }

.block-head {
  font-size: var(--fs-20); font-weight: 600; line-height: var(--lh-tight);
  padding-bottom: var(--s8); border-bottom: 1px solid var(--line-2);
  margin-bottom: var(--s16);
}

.lrow {
  display: grid; grid-template-columns: var(--rail, 7.5rem) minmax(0, 1fr) auto;
  align-items: baseline; gap: var(--s8) var(--s16);
  padding: var(--s12) var(--s4) var(--s12) var(--s16);
  border-bottom: 1px solid var(--line);
}
.lrow:last-child { border-bottom: 0; }
.lrow--label { --rail: 9rem; }
.lrow__rail { font-size: var(--fs-14); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.lrow__body { min-width: 0; }

.lrow__body > * { display: block; }
.lrow__meta { display: block; font-size: var(--fs-13); color: var(--ink-2); margin-top: 2px; }
.lrow__act  { display: flex; align-items: center; gap: var(--s8); justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 640px) {
  .lrow { grid-template-columns: minmax(0, 1fr); padding-left: var(--s12); }
  .lrow__act { justify-content: flex-start; }
}

.shell__main { display: flex; flex-direction: column; min-height: 100%; }
.view { flex: 1 1 auto; }
.view__foot {
  border-top: 1px solid var(--line); background: var(--gray2);
  padding: var(--s32) var(--s32);
}

.view__foot > *:not(.disclaimer) { max-width: 68rem; }
@media (max-width: 900px) { .view__foot { padding: var(--s24) var(--s16); } }

.actions {
  display: flex; align-items: center; gap: var(--s8); flex-wrap: wrap;
  padding-top: var(--s16); border-top: 1px solid var(--line); margin-top: var(--s24);
}
.actions__spacer { flex: 1 1 auto; }

.confirm { display: flex; align-items: center; gap: var(--s12); flex-wrap: wrap; width: 100%; }
.confirm__q { font-size: var(--fs-14); color: var(--ink); }

.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset > legend { padding: 0; margin-bottom: var(--s4); }

.checkline { display: flex; align-items: center; gap: var(--s8); min-height: 44px; font-size: var(--fs-14); }
.checkline input { width: 18px; height: 18px; accent-color: var(--primary); }

.sheet {
  width: min(34rem, calc(100vw - 1.5rem)); max-height: 86vh; padding: 0;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: var(--shadow-overlaid); overflow: auto; overscroll-behavior: contain;
}
.sheet::backdrop { background: rgba(13, 15, 16, .45); }
.sheet__head {
  position: sticky; top: 0; z-index: 1; background: var(--white);
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s16);
  padding: var(--s16) var(--s20); border-bottom: 1px solid var(--line);
}
.sheet__body { padding: var(--s20); }
.sheet__foot { padding: var(--s16) var(--s20); border-top: 1px solid var(--line); }

.lead { border-top: 3px solid var(--primary); padding-top: var(--s20); }

.loaderr { max-width: var(--measure); }

.vlog__month + .vlog__month { margin-top: var(--s32); }
.vlog__monthname {
  font-size: var(--fs-13); text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-3); font-weight: 600; margin: 0 0 var(--s12);
}
.vlog {
  max-width: var(--measure);
  padding: var(--s16) 0 var(--s20);
  border-top: 1px solid var(--line);
}
.vlog__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s12); flex-wrap: wrap;
}
.vlog__ward { font-size: var(--fs-16); font-weight: 600; margin: 0; }
.vlog__when { font-size: var(--fs-13); color: var(--ink-2); margin: 0; }
.vlog__sub { font-size: var(--fs-13); color: var(--ink-2); margin: var(--s4) 0 0; }
.vlog__body { margin-top: var(--s24); }
.vlog__part + .vlog__part { margin-top: var(--s32); }

.vlog__label {
  font-size: var(--fs-13); font-weight: 700; line-height: var(--lh-tight);
  letter-spacing: .08em; text-transform: uppercase; color: var(--primary);
  margin: 0 0 var(--s12); padding-bottom: var(--s8); border-bottom: 1px solid var(--ink);
}

.vlog__text, .vlog .rich {
  font-family: var(--serif); font-size: var(--fs-18); line-height: 1.55;
}
.vlog__text {
  margin: 0; white-space: pre-wrap; overflow-wrap: break-word;
}

.vlog .rich ol { list-style: decimal outside; padding-left: 2.25rem; }
.vlog .rich ol li {
  padding: var(--s8) 0 var(--s12); border-bottom: 1px solid var(--line);
}
.vlog .rich ol li + li { margin-top: 0; }
.vlog .rich ol li::marker {
  font-family: var(--sans); font-weight: 300; font-size: 1.3em;
  color: var(--primary); font-variant-numeric: tabular-nums;
}
.vlog .rich h3, .vlog .rich h4, .vlog .rich h5, .vlog .rich h6 { font-family: var(--sans); }
.vlog__none { margin: 0; font-size: var(--fs-14); color: var(--ink-3); }

.rich { font-size: var(--fs-16); line-height: var(--lh-loose); color: var(--ink); max-width: var(--measure); }
.rich > * + * { margin-top: var(--s12); }
.rich h3, .rich h4, .rich h5, .rich h6 {
  font-size: var(--fs-16); font-weight: 700; line-height: var(--lh-tight);
  color: var(--ink); margin-top: var(--s24);
}
.rich > h3:first-child, .rich > h4:first-child, .rich > h5:first-child { margin-top: 0; }
.rich strong { font-weight: 700; }
.rich a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.rich ul, .rich ol { padding-left: 0; }
.rich li { line-height: var(--lh-loose); }
.rich li + li { margin-top: var(--s8); }
.rich ul li { position: relative; padding-left: var(--s20); list-style: none; }
.rich ul li::before {
  content: ""; position: absolute; left: var(--s4); top: .72em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--primary);
}

.rich ol { list-style: decimal; padding-left: var(--s24); }
.rich ol li::marker { color: var(--primary); font-weight: 700; font-variant-numeric: tabular-nums; }
.rich blockquote {
  border-left: 3px solid var(--line-2); padding-left: var(--s16);
  font-family: var(--serif); color: var(--ink-2);
}

.council-editor__toolbar { display: flex; flex-wrap: wrap; gap: var(--s4); padding: var(--s4); border: 1px solid var(--line-2); border-bottom: 0; }
.council-editor__body { min-height: 8rem; max-width: none; overflow-wrap: anywhere; }
.council-editor__body:focus { outline: 2px solid var(--primary); outline-offset: 2px; }
.council-editor__body ul { list-style: disc; padding-left: var(--s24); }
.council-editor__body ul li { list-style: disc; padding-left: 0; }
.council-editor__body ul li::before { display: none; }

.council-editor__link { padding: var(--s12); border: 1px solid var(--line-2); }

.visit-archive__ward { border-top: 1px solid var(--line); }
.visit-archive__ward:last-child { border-bottom: 1px solid var(--line); }
.visit-archive__ward-summary, .visit-archive__visit-summary {
  cursor: pointer; padding: var(--s16) var(--s8); overflow-wrap: anywhere;
}
.visit-archive__ward-summary::marker, .visit-archive__visit-summary::marker { color: var(--ink-3); }
.visit-archive__name { font-size: var(--fs-16); font-weight: 600; }
.visit-archive__meta { display: inline-block; color: var(--ink-2); font-size: var(--fs-13); margin-left: var(--s8); }
.visit-archive__visits { padding: 0 var(--s16) var(--s12); }
.visit-archive__visit { border-top: 1px solid var(--line); }
.visit-archive__visit-summary { font-weight: 600; }
.visit-archive__visit-summary .visit-archive__meta { font-weight: 400; }
.visit-archive__visit > .vlog { border-top: 0; padding-top: 0; }
.visit-archive__ward-summary:focus-visible, .visit-archive__visit-summary:focus-visible {
  outline: 2px solid currentColor; outline-offset: -2px;
}
@media (max-width: 560px) {
  .visit-archive__meta { display: block; margin: var(--s4) 0 0 var(--s16); }
  .visit-archive__visits { padding-left: var(--s8); padding-right: var(--s8); }
}
