:root {
  --ink: #2a2520; --muted: #5c5348; --bg: #fbf8f1; --paper: #fffdf8; --wash: #f3ecdc; --tile: #f6f0e3;
  --rule: #857a6b; --hair: #d9cfbb;
  --barn: #8c2a1c; --barn-dark: #6e1f14; --wheat: #e0a526; --squash: #a8520f;
  --field: #3f5d2a; --pine: #2c4620; --river: #1f5f73; --plum: #5f3355;
  --sage: #e8eedd; --sky: #e1eef0; --apricot: #f8e9d7; --heather: #f2e7ee; --on-dark: #fffdf8;
  --link: #1f5f73; --visited: #5f3355; --focus: #5f3355;
  --alert: #fbecc8; --alert-edge: #8a5a00;
  /* Whitewash: a light header and footer; barn red carries the name and headings.
     strips.svg and strips-footer.svg hold their own copies of these colors. */
  --head-bg: var(--paper); --head-ink: var(--barn); --head-sub: var(--muted);
  --head-field: var(--bg); --head-field-edge: var(--rule); --head-focus: var(--focus);
  --button: var(--wheat); --button-ink: var(--ink);
  --nav-bg: var(--wash); --nav-ink: var(--barn-dark); --nav-mark: var(--squash);
  --foot-bg: #ece5d3; --foot-ink: var(--ink); --foot-focus: var(--focus);
  --head: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
}
* { box-sizing: border-box; }
html { font-size: 106.25%; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--bg); line-height: 1.45;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-wrap: break-word; }
dd, li, td, p, a, address { overflow-wrap: anywhere; }
.month td, .month a, nav.main a, .name { overflow-wrap: normal; }
a { color: var(--link); text-decoration-thickness: 2px; text-underline-offset: .25em;
  text-decoration-color: color-mix(in srgb, currentColor 22%, transparent); }
a:hover { text-decoration-color: color-mix(in srgb, currentColor 70%, transparent); }
a:visited { color: var(--visited); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
p { margin: .5em 0; }
h1, h2, h3 { font-family: var(--head); line-height: 1.2; margin: 1.1em 0 .4em; }
h1 { font-size: 1.75rem; margin-top: .6em; color: var(--barn); }
h2 { font-size: 1.25rem; color: var(--field); }
h3 { font-size: 1.05rem; color: var(--pine); }
img { max-width: 100%; height: auto; }
ul { padding-left: 1.25rem; } li { margin: .25rem 0; }
.wrap { max-width: 74rem; margin: 0 auto; padding: 0 1rem; }
main.wrap { padding-bottom: 2rem; }
.prose { max-width: 46rem; }
.muted { color: var(--muted); }
.tag { display: inline-block; border: 1px solid var(--hair); border-radius: 999px;
  padding: 0 .55em; font-size: .85rem; color: var(--ink); background: var(--paper); }

.skip { position: absolute; left: -999rem; background: var(--paper); padding: .75rem 1rem; }
.skip:focus { left: .5rem; top: .5rem; z-index: 2; }

/* The header ends in the four colors as contour-plowed strips; strips.svg's
   last band is --nav-bg, so it runs straight into the menu. */
.top { background: var(--head-bg); color: var(--head-ink); }
.top::after { content: ""; display: block; height: 1.6rem;
  background: url("strips.svg") 0 0 / 100% 100% no-repeat; }
.top a, .top a:visited { color: var(--head-ink); }
.top :focus-visible { outline-color: var(--head-focus); }
.mast { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; align-items: center;
  justify-content: space-between; padding: .5rem 1rem; }
.name { display: flex; align-items: center; gap: .6rem; padding: .15rem 0; font-family: var(--head);
  font-size: 1.4rem; font-weight: 700; line-height: 1.15; text-decoration: none; }
.name img { display: block; border-radius: 6px; }
.name small { display: block; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: .8rem; font-weight: 400; color: var(--head-sub); }
.find { display: flex; gap: .4rem; flex: 1 1 14rem; max-width: 22rem; min-width: 0; }
.find label { position: absolute; left: -999rem; }
input[type=search] { flex: 1; width: 100%; min-width: 0; font: inherit; min-height: 2.4rem; padding: 0 1rem;
  border: 1px solid var(--rule); border-radius: 999px; color: var(--ink); background: var(--paper); }
input[type=search]::placeholder { color: var(--muted); opacity: 1; }
button { font: inherit; font-weight: 600; min-height: 2.4rem; padding: 0 1rem; border-radius: 999px; cursor: pointer;
  color: var(--button-ink); background: var(--button); border: 1px solid var(--rule); }
.top input[type=search] { border-color: var(--head-field-edge); background: var(--head-field); }
.top button { border-color: transparent; }
nav.main { background: var(--nav-bg); }
nav.main ul { list-style: none; margin: 0 auto; padding: .1rem .6rem .45rem; display: flex; flex-wrap: wrap;
  gap: 0 .1rem; max-width: 74rem; }
nav.main li { margin: 0; }
nav.main a { position: relative; display: flex; align-items: center; min-height: 2.5rem; padding: 0 .55rem;
  border-radius: 999px; font-size: .95rem; color: var(--nav-ink); font-weight: 600; text-decoration: none; }
/* One underline mark: faint on hover, solid for the current page. */
nav.main a::after { content: ""; position: absolute; left: .55rem; right: .55rem; bottom: .3rem;
  height: 3px; border-radius: 3px; background: var(--nav-mark); opacity: 0; transition: opacity .15s; }
nav.main a:hover::after { opacity: .4; }
nav.main a[aria-current]::after { opacity: 1; }

.lead { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 1.5rem; align-items: start; margin-top: .6rem; }
.lead h1 { margin-top: 0; }
.lead > .prose > :last-child { margin-bottom: 0; }
.lead img { border-radius: 1.25rem; display: block; }
/* Phones: the photo floats beside the welcome text, which wraps around it. */
.lead.has-photo { display: flow-root; }
.lead.has-photo > img { float: right; width: 9rem; margin: .2rem 0 .5rem 1rem; }
@media (min-width: 44rem) {
  .lead.has-photo { display: grid; grid-template-columns: minmax(0, 1fr) 16rem; grid-template-rows: auto 1fr; }
  .lead.has-photo > img { float: none; width: auto; margin: 0; grid-column: 2; grid-row: 1 / span 2; }
}
.glance { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .1rem 1.25rem; }
.glance li { margin: 0; }

.sec { --c: var(--field); margin-top: 1.5rem; }
.sec > h2 { color: var(--c); margin: 0 0 .6rem; }
.sec.now { --c: var(--barn); } .sec.note { --c: var(--squash); }
.sec.online { --c: var(--river); } .sec.minutes { --c: var(--plum); }
.sec > p:last-child { margin-bottom: 0; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 2rem; }
@media (min-width: 52rem) { .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 2rem; }
.split h2:first-child { margin-top: .5rem; }
@media (min-width: 52rem) { .split { grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); } }
.schedules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 0 2rem; }

.tasks { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.tasks li { margin: 0; }
.tasks a { display: block; height: 100%; padding: .75rem 1rem; background: var(--sky);
  border-radius: 1rem; font-weight: 600; text-decoration: none; }
.tasks a { transition: background-color .15s, box-shadow .15s, transform .15s; }
.tasks a:hover { background: color-mix(in srgb, var(--sky) 40%, var(--paper)); transform: translateY(-2px);
  box-shadow: 0 1px 2px rgb(42 37 32 / .06), 0 6px 16px -6px rgb(31 95 115 / .35); }
.tasks small { display: block; font-size: .85rem; font-weight: 400; color: var(--muted); }

/* Notices are tinted tiles; --edge colors the title, --tint the ground. */
.notice { --edge: var(--field); --tint: var(--sage); padding: .8rem 1rem; margin: .75rem 0;
  border-radius: 1rem; background: color-mix(in srgb, var(--tint) 50%, var(--paper)); }
.notice h3, .notice h2 { margin: 0 0 .2rem; font-size: 1.05rem; color: var(--edge); }
.notice > :last-child, .notice .prose > :last-child { margin-bottom: 0; }
.notice p { margin: .25rem 0; }
.notice.urgent { --edge: var(--alert-edge); --tint: var(--alert); background: var(--alert); }
/* Regular notices rotate through four colors wherever they appear. Urgent ones are
   left out of the count, so a notice keeps its color on the home and notices pages. */
.notice:nth-child(4n+2 of .notice:not(.urgent)) { --edge: var(--river); --tint: var(--sky); }
.notice:nth-child(4n+3 of .notice:not(.urgent)) { --edge: var(--squash); --tint: var(--apricot); }
.notice:nth-child(4n of .notice:not(.urgent)) { --edge: var(--plum); --tint: var(--heather); }
.board { columns: 2 17rem; column-gap: .75rem; }
.board .notice { break-inside: avoid; margin: 0 0 .75rem; }
.oma { margin: .25rem 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 0 .75rem; }
.oma dt { font-weight: 600; } .oma dd { margin: 0; }

/* A list is one tile, kept dense: a pale hairline between items, none at the ends. */
.rows { list-style: none; padding: .15rem 1rem; margin: .4rem 0; border-radius: 1rem; background: var(--tile); }
.rows li { padding: .4rem 0; margin: 0; break-inside: avoid; }
.rows li + li { border-top: 1px solid color-mix(in srgb, var(--hair) 70%, transparent); }
.rows .what { display: block; font-weight: 600; }
.rows .when { display: block; }
.rows .also { display: block; font-size: .9rem; color: var(--muted); }
.rows .also mark { background: color-mix(in srgb, var(--squash) 35%, transparent); color: inherit; border-radius: .2em; padding: 0 .1em; }
.rows.many { columns: 2 22rem; column-gap: 2rem; }
@media (min-width: 52rem) {
  .rows.wide li { display: grid; grid-template-columns: minmax(0, 1fr) 21rem 12rem; gap: 0 1rem; }
}

.filters { display: flex; flex-wrap: wrap; gap: .3rem .35rem; list-style: none; padding: 0; margin: .4rem 0 .8rem; }
.filters li { margin: 0; }
.filters a { display: flex; align-items: center; min-height: 2.4rem; padding: 0 .9rem;
  border-radius: 999px; background: var(--wash); text-decoration: none; }
.filters a { transition: background-color .15s, box-shadow .15s, transform .15s; }
.filters a:hover { background: var(--paper); box-shadow: 0 1px 3px rgb(42 37 32 / .12); transform: translateY(-1px); }
.filters a[aria-current] { background: var(--field); color: var(--on-dark); }

.scroll { overflow-x: auto; margin: .6rem 0; }
table { border-collapse: collapse; width: 100%; }
caption { text-align: left; font-weight: 600; padding: .25rem 0; }
th, td { border: 1px solid var(--hair); padding: .3rem .5rem; text-align: left; }
th { background: var(--wash); }
.month th, .month td { text-align: center; padding: 0; height: 2.6rem; width: 14.28%; }
.month td { background: var(--paper); }
.month td a { display: flex; align-items: center; justify-content: center; height: 2.6rem;
  font-weight: 700; background: var(--sage); }
.month .today { outline: 3px solid var(--barn); outline-offset: -3px; }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin: .4rem 0; }
.pager a { display: inline-block; padding: .4rem 0; }

/* The meeting recorder, on an editor's meeting page only (record.js). */
.record { margin-top: 1.5rem; padding: .8rem 1rem 1rem; border-radius: 1rem; background: var(--tile); }
.record > h2 { margin-top: 0; }
.record-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.25rem; margin: .6rem 0; }
.record-go { min-width: 7rem; }
.record-upload { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; }
.record-file { font: inherit; max-width: 100%; }
.record-status { min-height: 1.45em; font-weight: 600; }
.record-part { margin-top: 1rem; }
.record-note { color: var(--muted); }
.record-voices { list-style: none; padding: 0; margin: .4rem 0 .8rem; display: grid; gap: .4rem; }
.record-voice { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .6rem; margin: 0; }
.record-label { font-weight: 600; min-width: 6.5rem; }
.record-name { font: inherit; min-height: 2.4rem; padding: 0 .75rem; border: 1px solid var(--rule);
  border-radius: .5rem; color: var(--ink); background: var(--paper); width: min(100%, 16rem); }
.record-first { color: var(--muted); font-size: .9rem; flex-basis: 100%; }
.record-turns { list-style: none; padding: 0; margin: .4rem 0; }
.record-turn { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0 .6rem; padding: .3rem 0; margin: 0; }
.record-turn + .record-turn { border-top: 1px solid color-mix(in srgb, var(--hair) 70%, transparent); }
.record-at { grid-row: span 2; align-self: start; min-height: 2rem; padding: 0 .5rem; font-weight: 400;
  font-variant-numeric: tabular-nums; background: var(--paper); border-color: var(--hair); }
.record-who { font-weight: 600; }
.record-text { grid-column: 2; }
/* The minutes, drafted and corrected on an editor's meeting page (minutes-page.js), and as residents read them. */
.minutes-lines { padding-left: 1.4rem; margin: .6rem 0; display: grid; gap: .8rem; }
.minutes-line { display: grid; gap: .35rem; }
.minutes-line-motion { padding: .5rem .7rem; border-left: 3px solid var(--rule); background: var(--paper); border-radius: .3rem; }
.minutes-row { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .8rem; }
.minutes-kind { font-weight: 600; }
.minutes-title, .minutes-text, .minutes-pick, .subscribe-email { font: inherit; padding: .35rem .6rem; border: 1px solid var(--rule);
  border-radius: .5rem; color: var(--ink); background: var(--paper); }
.minutes-title { flex: 1 1 14rem; font-weight: 600; }
.minutes-text { width: 100%; field-sizing: content; min-height: 2.6rem; max-height: 20rem; }
.minutes-pick { min-height: 2.2rem; }
.minutes-unsure { border-style: dashed; color: var(--muted); font-style: italic; }
.minutes-votes { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; }
.minutes-play { min-height: 2rem; padding: 0 .5rem; font-weight: 400; font-variant-numeric: tabular-nums;
  background: var(--paper); border-color: var(--hair); }
.minutes-drop { margin-left: auto; font-weight: 400; }
.minutes-motion { padding-left: .7rem; border-left: 3px solid var(--rule); }
.subscribe { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin: 1rem 0 1.5rem; }
.subscribe-label { flex-basis: 100%; font-weight: 600; }
.subscribe-email { min-height: 2.4rem; width: min(100%, 20rem); }
@media print { .record { display: none; } }

/* strips-footer.svg paints --bg above a wheat strip; --foot-bg shows below it. */
.bottom { background: url("strips-footer.svg") 0 0 / 100% 1.5rem no-repeat, var(--foot-bg); color: var(--foot-ink);
  padding: 2.4rem 0 1.5rem; font-size: .95rem; }
.bottom .wrap { display: flex; flex-wrap: wrap; gap: .5rem 3rem; justify-content: space-between; }
.bottom address { font-style: normal; }
.bottom a, .bottom a:visited { display: inline-block; padding: .2rem 0; color: var(--foot-ink); }
.bottom :focus-visible { outline-color: var(--foot-focus); }
@media print { .top form, nav.main, .bottom { display: none; } }

/* A link off the site: each page names its own host (site.js `shell`) to take the mark off links back to it. */
a[href^="http"]::after { content: ""; display: inline-block;
  width: .7em; height: .7em; margin-left: .25em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M5 2.5H2V10h7.5V7M7 1.5h3.5V5M10.5 1.5 5.5 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M5 2.5H2V10h7.5V7M7 1.5h3.5V5M10.5 1.5 5.5 6.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.tasks a { position: relative; padding-right: 1.8rem; }
.tasks a::after { position: absolute; top: .95rem; right: .85rem; margin: 0; }
@media print { a[href^="http"]::after { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .tasks a, .filters a { transition: none; transform: none !important; }
  nav.main a::after { transition: none; }
}
