/* iglc.net: colours from the IGLC logo (blue #365a91, orange #d4772a). */

/* Fonts are served from iglc.net itself (no Google requests). Made by tools/build_fonts.py;
   SIL Open Font License, see static/fonts/*-OFL.txt. */
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/source-serif-4-var.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url("../fonts/source-serif-4-italic-var.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/source-sans-3-var.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url("../fonts/source-sans-3-italic-var.woff2") format("woff2"); }

:root {
  --blue: #365a91;
  --blue-dark: #1f3657;
  --blue-deep: #172a45;
  --blue-tint: #eef2f8;
  --orange: #d4772a;
  --orange-text: #a8551a;   /* orange dark enough for text on white */
  --ink: #1c2533;
  --muted: #5b6676;
  --line: #dde2ea;
  --soft: #f6f7f9;
  --white: #ffffff;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 8px;
  --wrap: 72rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.125rem; font-optical-sizing: auto; line-height: 1.6; color: var(--ink); background: var(--white); }
a { color: var(--blue); text-underline-offset: .15em; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; color: var(--ink); margin: 1.6em 0 .5em; }
h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.7rem); margin-top: .2em; letter-spacing: -.01em; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--white); padding: .5rem .75rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-text); margin: 0 0 .4rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 44rem; }

/* Header */
.site-header { border-top: 5px solid var(--orange); border-bottom: 1px solid var(--line); background: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.75rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { width: auto; height: 44px; display: block; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: .5rem .55rem; border-radius: 6px; text-decoration: none; color: var(--ink); font-weight: 500; white-space: nowrap; }
.main-nav > ul > li > a:hover, .main-nav > ul > li.current > a, .main-nav a[aria-current="page"] { background: var(--blue-tint); color: var(--blue-dark); }
.main-nav .has-sub > a::after { content: ""; display: inline-block; margin-left: .4rem; vertical-align: .2em; border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0; }
.main-nav .has-sub > ul { display: none; position: absolute; left: 0; top: 100%; z-index: 20; list-style: none; margin: 0; padding: .35rem; min-width: 15rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 28px rgb(0 0 0 / .1); }
.main-nav .has-sub.align-right > ul { left: auto; right: 0; }
.main-nav .has-sub:hover > ul, .main-nav .has-sub:focus-within > ul { display: block; }
.main-nav .has-sub > ul a { font-weight: 400; }
.main-nav .has-sub > ul a:hover { background: var(--blue-tint); color: var(--blue-dark); }
.menu { display: none; }
@media (max-width: 70rem) {
  .main-nav.desktop { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; padding: .5rem .8rem; border: 1px solid var(--line); border-radius: 6px; font-weight: 600; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu .main-nav { display: none; }
  .menu[open] .main-nav { display: block; position: absolute; right: 0; top: calc(100% + .4rem); z-index: 20; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgb(0 0 0 / .08); min-width: 16rem; max-height: 80vh; overflow-y: auto; padding: .4rem; }
  .menu[open] .main-nav > ul { flex-direction: column; }
  .menu .has-sub > ul { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 .3rem .8rem; min-width: 0; }
  .menu .has-sub > a::after { display: none; }
}

main { padding-bottom: 4rem; }
.page-head { padding: 2rem 0 .5rem; }
.crumbs { font-size: .9rem; margin: 0 0 .75rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* Buttons and forms */
.button { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .65rem 1.1rem; border-radius: 6px; border: 1px solid var(--blue); background: var(--blue); color: var(--white); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.button.secondary { background: var(--white); color: var(--blue); }
.button.secondary:hover { background: var(--blue-tint); color: var(--blue-dark); }
.button.block { width: 100%; }
.search-form label { display: block; font-weight: 600; margin-bottom: .4rem; }
.search-row { display: flex; gap: .5rem; max-width: 40rem; }
.search-row input { flex: 1; min-width: 0; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.search-row input:focus { border-color: var(--blue); }

/* Home */
.hero { background: linear-gradient(135deg, var(--blue-deep), var(--blue-dark) 60%, var(--blue)); color: var(--white); padding: 3.5rem 0 3rem; }
.hero h1 { color: var(--white); max-width: 40rem; }
.hero .lead { color: #d6e0ef; }
.hero .search-form label { color: var(--white); }
.hero .search-row input { border-color: transparent; }
.hero .button { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.hero .button:hover { background: #e38a40; border-color: #e38a40; }
.stats { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.stats strong { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1.1; }
.stats span { color: #c6d3e6; font-size: .9rem; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 2.5rem; margin-top: 1rem; }
@media (max-width: 60rem) { .home-grid { grid-template-columns: 1fr; } }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.section-head a { font-weight: 600; white-space: nowrap; }

/* Conference list */
.conf-table { width: 100%; max-width: 48rem; border-collapse: collapse; font-size: 1.05rem; }
.conf-table th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: .5rem .75rem; border-bottom: 2px solid var(--line); }
.conf-table td { padding: .6rem .75rem; border-bottom: 1px solid var(--line); }
.conf-table td:first-child a { font-weight: 600; text-decoration: none; white-space: nowrap; }
.conf-table td:first-child a:hover { text-decoration: underline; }
.conf-table tbody tr:hover { background: var(--soft); }
.conf-table .num { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 36rem) { .conf-table { font-size: .95rem; } .conf-table th, .conf-table td { padding: .5rem .4rem; } }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; background: var(--soft); }
.panel h2, .panel h3 { margin-top: 0; }
.panel + .panel { margin-top: 1rem; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li + li { border-top: 1px solid var(--line); }
.link-list a { display: block; padding: .5rem 0; text-decoration: none; font-weight: 500; }
.link-list a:hover { text-decoration: underline; }

/* Paper and search lists */
.paper-list { list-style: none; padding: 0; margin: 0; }
.paper-list li { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.paper-list li[hidden] { display: none; }
.paper-no { font-weight: 700; color: var(--orange-text); margin-right: .6rem; }
.list-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; margin-bottom: .5rem; }
.list-head h2 { margin: 0; }
.filter { display: flex; align-items: center; gap: .75rem; flex: 1; max-width: 30rem; }
.filter input { flex: 1; min-width: 0; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.filter input:focus { border-color: var(--blue); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.paper-list .pp { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .9rem; padding-top: .2rem; }
.paper-list .title { font-weight: 600; text-decoration: none; }
.paper-list .title:hover { text-decoration: underline; }
.paper-list .meta { font-size: .92rem; color: var(--muted); margin-top: .1rem; }
.paper-list .meta a { font-weight: 600; }
@media (max-width: 36rem) { .paper-list li { grid-template-columns: 1fr; gap: .1rem; } }

/* Paper page */
.paper-layout { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 3rem; align-items: start; }
@media (max-width: 58rem) { .paper-layout { grid-template-columns: 1fr; gap: 1.5rem; } }
.paper-layout aside { position: sticky; top: 1rem; }
@media (max-width: 58rem) { .paper-layout aside { position: static; order: -1; } }
.authors { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.authors li { font-weight: 600; }
.authors sup { font-weight: 400; color: var(--muted); margin-left: .1rem; }
ol.affiliations { margin: .6rem 0 0; padding-left: 1.4rem; font-size: .9rem; color: var(--muted); }
ol.affiliations li::marker { font-size: .8em; }
.doi-line { margin: .75rem 0 0; font-size: .95rem; }
.cite h3 { font-family: var(--sans); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 .4rem; }
.cite h3:not(:first-child) { margin-top: 1.25rem; }
.abstract { font-size: 1.08rem; max-width: 46rem; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.chips li { background: var(--blue-tint); color: var(--blue-dark); border-radius: 999px; padding: .2rem .7rem; font-size: .9rem; }
.facts { margin: 1rem 0 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .4rem 1rem; font-size: .95rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
aside .facts { grid-template-columns: 1fr; gap: 0; }
aside .facts dt { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin-top: .8rem; }
.cite { position: relative; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; max-width: 46rem; }
.cite p { margin: 0 0 .75rem; }
.copy-status { margin-left: .5rem; font-size: .9rem; color: var(--muted); }

/* Conference page */
.conf-head { background: var(--soft); border-bottom: 1px solid var(--line); padding: 2rem 0 1.5rem; margin-bottom: 1.5rem; }
.conf-head .facts { max-width: 40rem; }
.conf-head-logo { display: block; max-height: 110px; width: auto; margin: .25rem 0 .75rem; }  /* the conference's logo on light backgrounds */
.actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }

/* Content pages */
.content-layout { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 3rem; align-items: start; }
.content-layout.single { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 52rem) { .content-layout { grid-template-columns: 1fr; gap: 1rem; } }
.section-nav { position: sticky; top: 1rem; font-size: .95rem; }
.section-nav h2 { font-size: 1rem; font-family: var(--sans); margin: 0 0 .5rem; }
.section-nav ul { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.section-nav a { display: block; padding: .3rem .8rem; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--ink); }
.section-nav a:hover { color: var(--blue); }
.section-nav a[aria-current="page"] { border-left-color: var(--orange); color: var(--blue-dark); font-weight: 600; }
@media (max-width: 52rem) { .section-nav { position: static; } }
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.45rem; }
.prose li { margin-bottom: .3rem; }
.prose table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .5rem; text-align: left; vertical-align: top; }
.prose th { background: var(--soft); }
.child-pages { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .6rem; }
.child-pages a { display: block; height: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.child-pages a:hover { border-color: var(--blue); }

/* Links page */
.links { list-style: none; padding: 0; display: grid; gap: .75rem; }
.links a { font-weight: 600; }

/* Footer */
.site-footer { background: var(--blue-deep); color: #c9d4e4; font-size: .95rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding: 2.75rem 0 2rem; }
@media (max-width: 48rem) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-family: var(--sans); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--white); margin: 0 0 .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .12); padding: 1rem 0 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; font-size: .85rem; }

/* Admin bar, shown only to staff */
.admin-bar { background: var(--ink); color: #cfd6e0; font-size: .88rem; }
.admin-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.25rem; min-height: 2.4rem; }
.admin-bar a { color: var(--white); text-decoration: none; }
.admin-bar a:hover { text-decoration: underline; }
.admin-bar-label { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; color: var(--orange); }
.admin-bar .admin-edit { background: var(--orange); color: var(--ink); font-weight: 700; padding: .15rem .6rem; border-radius: 4px; }
.admin-bar-logout { margin: 0 0 0 auto; }
.admin-bar-logout button { background: none; border: 0; color: #cfd6e0; font: inherit; cursor: pointer; padding: 0; }
.admin-bar-logout button:hover { color: var(--white); text-decoration: underline; }
.cite .copy { padding: .25rem .75rem; font-size: .85rem; }

/* Search and author pages */
.search-filters { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .75rem; font-size: .92rem; }
.search-filters label { display: inline-flex; align-items: center; gap: .35rem; font-weight: 400; margin: 0; }
.search-filters select { font: inherit; padding: .3rem .4rem; border: 1px solid var(--line); border-radius: 4px; background: #fff; max-width: 12rem; }
.search-help { font-size: .88rem; color: var(--muted); margin-top: .6rem; }
.result-count { margin-top: 1.5rem; }
mark { background: #fbe7d3; color: inherit; padding: 0 .1em; border-radius: 2px; }
.snippet { font-size: .9rem; color: var(--muted); margin: .25rem 0 0; line-height: 1.45; }
.pager { display: flex; gap: 1.25rem; align-items: center; justify-content: center; margin: 1.5rem 0; }
.author-hits { margin-top: 1.5rem; padding: .75rem 1rem; border-left: 3px solid var(--orange); background: var(--soft); }
.author-hits h2 { font-size: 1rem; margin: 0 0 .4rem; }
.author-hits ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; }
.author-hits span, .author-list span, .coauthors span { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.letters { display: flex; flex-wrap: wrap; gap: .15rem; margin-top: 1rem; }
.letters a { display: inline-block; min-width: 1.9rem; text-align: center; padding: .25rem 0; text-decoration: none; border-radius: 4px; }
.letters a:hover, .letters a[aria-current] { background: var(--blue); color: #fff; }
.list-heading { font-size: 1.15rem; margin-top: 1.75rem; }
.author-list { list-style: none; padding: 0; columns: 3 14rem; column-gap: 2rem; }
.author-list li { padding: .2rem 0; break-inside: avoid; }
.author-layout { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; gap: 2.5rem; margin-top: 1.5rem; }
.coauthors h2 { font-size: 1rem; margin: .6rem 0 .5rem; }
.coauthors ul { list-style: none; padding: 0; margin: 0; }
.coauthors li { padding: .25rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: .5rem; }
.orcid, .also { color: var(--muted); font-size: .92rem; margin: .25rem 0; }
@media (max-width: 50rem) { .author-layout { grid-template-columns: 1fr; } }

/* Committees */
.committee { margin-top: 2.25rem; }
.committee-intro { max-width: 46rem; }
table.members { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: .75rem; font-size: .95rem; }
table.members th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border-bottom: 2px solid var(--line); padding: .4rem .6rem .4rem 0; }
table.members td { border-bottom: 1px solid var(--line); padding: .55rem .6rem .55rem 0; vertical-align: top; }
table.members .name { font-weight: 600; }
table.members .term { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--muted); }
.past-members { margin-top: .75rem; }
.past-members summary { cursor: pointer; color: var(--blue); }
@media (max-width: 40rem) {
  table.members thead { display: none; }
  table.members tr { display: block; padding: .5rem 0; border-bottom: 1px solid var(--line); }
  table.members td { display: block; border: 0; padding: 0; }
}
table.members th:nth-child(1) { width: 26%; }
table.members th:nth-child(2) { width: 26%; }
table.members th:nth-child(4) { width: 7.5rem; }

/* Tracks in a conference's paper list */
.track-heading { font-size: 1.15rem; margin: 2rem 0 .25rem; padding-bottom: .3rem; border-bottom: 2px solid var(--orange); }
.track-group[hidden] { display: none; }

/* Paper check */
.check-form { max-width: 44rem; margin-top: 1.5rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.check-form fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.check-form legend { font-weight: 700; margin-bottom: .35rem; }
.check-form .radio { display: block; margin: .2rem 0; }
.field-error, .form-errors { display: block; color: #b42318; font-size: .9rem; }
.check-facts .hash { font-family: ui-monospace, monospace; font-size: .8rem; word-break: break-all; }
.check-group h2 { font-size: 1.1rem; margin-top: 1.5rem; }

/* Proceedings production (editors) */
.prod-filters { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin: 1rem 0; font-size: .92rem; }
.prod-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: .5rem 0 1rem; }
.prod-table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border-bottom: 2px solid var(--line); padding: .35rem .5rem .35rem 0; }
.prod-table td { border-bottom: 1px solid var(--line); padding: .45rem .5rem .45rem 0; vertical-align: top; }
.prod-table tr.differs td { background: #fff7e6; }
.badge { display: inline-block; padding: .05rem .45rem; border-radius: 999px; font-size: .8rem; background: var(--soft); border: 1px solid var(--line); white-space: nowrap; }
.badge.approved { background: #dcfce7; border-color: #bbf7d0; }
.badge.needs_work { background: #fee2e2; border-color: #fecaca; }
.badge.uploaded { background: var(--blue-tint); }
.ok { color: #15803d; font-weight: 600; }
.fail { color: #b42318; font-weight: 600; }
.prod-paper aside .panel { margin-bottom: 1rem; }
.prod-paper aside h3 { margin-top: 0; font-size: 1rem; }
.plain-list { list-style: none; padding: 0; }
.upload-report { margin: 1rem 0 1.5rem; padding: 1rem; border-left: 3px solid var(--blue); background: var(--soft); }
.prod-paper aside select, .prod-paper aside input[type=text], .prod-paper aside textarea, .prod-paper aside input[type=file] { max-width: 100%; box-sizing: border-box; }
.prod-paper aside select { width: 100%; }
.arrange-track { margin: 1.25rem 0; padding: .5rem .75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white, #fff); }
.arrange-track h2 { font-size: 1.05rem; margin: .25rem 0 .5rem; }
.arrange-papers { list-style: none; padding: 0; margin: 0; min-height: 1.5rem; }
.arrange-papers li { display: flex; gap: .6rem; align-items: baseline; padding: .35rem .25rem; border-top: 1px solid var(--line); background: #fff; }
.arrange-papers li .pp { min-width: 6.5rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.grip { cursor: grab; color: var(--muted); user-select: none; }
.dragging { opacity: .45; }

/* A paper corrected after publication */
.correction-note { border-left: 3px solid var(--orange); padding: .4rem .8rem; background: var(--soft); font-size: .95rem; }
.publish-progress { font-variant-numeric: tabular-nums; }
.book-steps > li { margin-bottom: 2rem; }
.book-steps h2 { margin-top: 0; }
.isbn-form label { margin-right: 1rem; }
.linklike { background: none; border: 0; padding: 0; color: var(--blue); text-decoration: underline; cursor: pointer; font: inherit; }
/* The authors' metadata check */
.metadata-check fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem 1rem; margin: 0 0 1rem; }
.metadata-check legend { font-weight: 700; padding: 0 .3rem; }
.metadata-check input[type=text], .metadata-check textarea { width: 100%; box-sizing: border-box; font: inherit; padding: .4rem; }
.metadata-check .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 40rem) { .metadata-check .row { grid-template-columns: 1fr; } }

/* Tracks on a conference page */
.track-index ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: .35rem .5rem; }
.track-index li a { display: inline-block; padding: .2rem .65rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .9rem; }
.track-index li a:hover { background: var(--blue-tint); }
.track-group { scroll-margin-top: 1rem; }

/* Accounts and login (apps/accounts; allauth's pages under /accounts/, the person's pages under /my/) */
.account-link { display: flex; align-items: center; gap: .75rem; font-size: .95rem; margin-left: auto; flex-shrink: 0; white-space: nowrap; }
.account-link a { font-weight: 600; text-decoration: none; white-space: nowrap; }
.account-link a:hover, .account-link a[aria-current="page"] { text-decoration: underline; }
.account-link form { margin: 0; }
.account-link button { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; }
.account-link button:hover { color: var(--ink); text-decoration: underline; }
.account-name { max-width: 12rem; overflow: hidden; text-overflow: ellipsis; }
.account-page.manage > h1, .account-page.entrance > h1 { padding-top: 2rem; }
.messages { list-style: none; padding: 0; margin: 1rem 0 0; }
.message, .notice { border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 6px; background: var(--blue-tint); padding: .75rem 1rem; margin: 0 0 .75rem; }
.message.error, .notice.error { border-left-color: #b3261e; background: #fbeeed; }
.notice.success { border-left-color: #2e7d32; background: #edf6ee; }
.message.warning, .notice.warning { border-left-color: var(--orange); background: #fdf3ea; }
.message.success { border-left-color: #2e7d32; background: #edf6ee; }
.notice p:last-child { margin-bottom: 0; }
.account-page.manage { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 0 2.5rem; align-items: start; }
.account-page.manage > .messages { grid-column: 1 / -1; }
.account-page.manage > :not(.account-nav):not(.messages) { grid-column: 2; }
.account-nav { grid-row: span 20; padding-top: 2.4rem; font-size: .95rem; }
.account-nav ul { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.account-nav a { display: block; padding: .35rem .8rem; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--ink); }
.account-nav a:hover { color: var(--blue); }
.account-nav a[aria-current="page"] { border-left-color: var(--orange); color: var(--blue-dark); font-weight: 600; }
.narrow, .account-page.entrance > .account-form, .account-page.entrance > form, .account-page.manage .account-form { max-width: 34rem; }
.account-form .field { margin: 0 0 1rem; }
.account-form .field > label, .account-form legend { display: block; font-weight: 600; margin-bottom: .3rem; }
.account-form .field.checkbox > label { display: inline; font-weight: 400; }
.account-form input[type="text"], .account-form input[type="email"], .account-form input[type="password"], .account-form input[type="number"],
.account-form input[type="url"], .account-form input[type="tel"], .account-form select, .account-form textarea {
  width: 100%; padding: .6rem .8rem; border: 1px solid #aeb7c4; border-radius: 6px; font: inherit; background: var(--white); }
.account-form input:focus, .account-form select:focus { border-color: var(--blue); }
.account-form .help { display: block; color: var(--muted); font-size: .9rem; margin-top: .25rem; }
.account-form .errorlist { list-style: none; padding: 0; margin: .3rem 0 0; color: #b3261e; font-weight: 600; font-size: .95rem; }
.account-form fieldset { border: 0; padding: 0; }
.account-form label.inline { margin-right: 1.25rem; font-weight: 400; }
.account-form .actions { align-items: center; gap: 1rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.button.danger { background: #b3261e; border-color: #b3261e; }
.login-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1rem; align-items: start; }
.login-options .panel + .panel { margin-top: 0; }
.login-options .account-form { max-width: none; }
.signup-link { margin-top: 1.5rem; max-width: 46rem; }
.my-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 1rem; align-items: start; margin-top: 1rem; }
.my-grid .panel + .panel { margin-top: 0; }
.role-list { padding-left: 1.2rem; margin: 0 0 1rem; }
.security-list { display: grid; gap: 1rem; max-width: 46rem; }
.security-list .panel + .panel { margin-top: 0; }
.account-page table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.account-page th, .account-page td { border-bottom: 1px solid var(--line); padding: .5rem; text-align: left; vertical-align: top; }
@media (max-width: 50rem) {
  .account-page.manage { display: block; }
  .account-nav { padding-top: 1rem; }
  .account-nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1rem; border-left: 0; }
  .account-nav a { border-left: 0; padding: .3rem 0; margin: 0; }
  .account-nav a[aria-current="page"] { border-bottom: 2px solid var(--orange); }
}
@media (max-width: 60rem) { .account-name { max-width: 8rem; } }

/* The committees' pages (apps/portal) */
.portal-head { padding-bottom: 0; }
.portal-tabs { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; border-bottom: 1px solid var(--line); margin-top: 1rem; }
.portal-tabs a { padding: .5rem 0; text-decoration: none; font-weight: 600; color: var(--ink); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.portal-tabs a:hover { color: var(--blue); }
.portal-tabs a[aria-current="page"] { border-bottom-color: var(--orange); color: var(--blue-dark); }
.count { display: inline-block; min-width: 1.5em; padding: 0 .4em; border-radius: 999px; background: var(--blue-tint); color: var(--blue-dark); font-size: .8rem; text-align: center; }
.visibility-label { font-size: .9rem; color: var(--muted); margin: 1rem 0; }
.visibility-label span { display: inline-block; background: #fdf3ea; color: var(--orange-text); border: 1px solid #f1d2b3; border-radius: 4px; padding: 0 .45rem; font-weight: 700; font-size: .8rem; margin-right: .4rem; }
.status-counts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.status-counts a { display: block; padding: .5rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.status-counts a:hover { border-color: var(--blue); }
.status-counts strong { font-size: 1.2rem; margin-right: .2rem; }
.item-links { list-style: none; padding: 0; margin: 0; }
.item-links li { padding: .3rem 0; border-bottom: 1px solid var(--line); }
.item-no { display: inline-block; min-width: 2.2rem; font-weight: 700; color: var(--orange-text); font-variant-numeric: tabular-nums; }
.item-no::before { content: "#"; }
.view-switch { margin: 0; }
.board { display: grid; grid-template-columns: repeat(6, minmax(10.5rem, 1fr)); gap: .75rem; overflow-x: auto; padding-bottom: .5rem; margin: 1rem 0; }
.board-column { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem; }
.board-column h2 { font-family: var(--sans); font-size: .95rem; margin: 0 0 .5rem; display: flex; justify-content: space-between; align-items: center; }
.board-column ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.item-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: .5rem .6rem; font-size: .95rem; line-height: 1.35; }
.item-card a { text-decoration: none; font-weight: 600; color: var(--ink); display: block; }
.item-card a:hover { color: var(--blue); text-decoration: underline; }
.item-card .meta, .portal-table .meta { display: block; color: var(--muted); font-size: .85rem; margin-top: .2rem; }
.item-card.confidential { border-left: 3px solid var(--orange); }
.portal-filters { display: flex; flex-wrap: wrap; gap: 0 1rem; align-items: end; max-width: none; }
.portal-filters .field { margin-bottom: .75rem; }
.portal-table { width: 100%; border-collapse: collapse; font-size: 1rem; margin: 1rem 0; }
.portal-table th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: .5rem; border-bottom: 2px solid var(--line); }
.portal-table td { padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.portal-table .age { white-space: nowrap; }
.portal-table .age.old { color: var(--orange-text); font-weight: 700; }
.portal-table .review { white-space: nowrap; }
.portal-table form.inline { display: inline-flex; gap: .3rem; align-items: center; margin: 0 .3rem .3rem 0; }
.portal-table select, .portal-table input[type="text"] { padding: .45rem .5rem; border: 1px solid #aeb7c4; border-radius: 6px; font: inherit; font-size: .95rem; }
.portal-table .button { padding: .4rem .75rem; font-size: .95rem; }
.portal-table details.drop { display: inline-block; }
.portal-table details.drop summary { cursor: pointer; color: #b3261e; font-weight: 600; }
.portal-table details.drop form { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: .4rem; white-space: normal; }
.tag { font-size: .8rem; padding: 0 .4rem; border-radius: 4px; background: #fdf3ea; color: var(--orange-text); }
.tag-agenda { background: var(--blue-tint); color: var(--blue-dark); }
.park-form { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: 0 1rem; align-items: end; max-width: 60rem; }
.item-head h2 { margin-top: .3rem; font-size: 1.7rem; }
.item-facts { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; align-items: center; font-size: .95rem; color: var(--muted); }
.status { display: inline-block; padding: .1rem .6rem; border-radius: 999px; background: var(--blue-tint); color: var(--blue-dark); font-weight: 700; font-size: .85rem; }
.status-parked { background: #eef0f3; color: var(--ink); }
.status-decided { background: #edf6ee; color: #1f5f24; }
.status-closed, .status-dropped { background: #eef0f3; color: var(--muted); }
.item-layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 2.5rem; align-items: start; margin-top: 1rem; }
.item-side .panel + .panel { margin-top: 1rem; }
/* The item page (D71): title bar, the strip of facts with their controls, sections, one side card */
.draft-banner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: .6rem 0 .8rem; padding: .7rem 1rem; background: #fff8ef; border: 1px solid #f1d6b8; border-radius: var(--radius); }
.draft-banner form { flex-shrink: 0; }
.my-drafts { margin: 0 0 1.2rem; padding: .8rem 1rem; background: #fff8ef; border: 1px solid #f1d6b8; border-radius: var(--radius); }
.my-drafts h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.my-drafts ul { margin: 0; padding-left: 1.1rem; }
@media (max-width: 760px) { .draft-banner { flex-direction: column; align-items: flex-start; } }
.item-titlebar { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.item-titlebar h2 { margin: .3rem 0 0; }
.item-head-actions { display: flex; gap: .5rem; flex-shrink: 0; margin-top: .3rem; }
.item-menu > summary.button::after { border-top-color: currentColor; }
.dropdown > summary.button { color: var(--white); padding: .55rem 1rem; }
.dropdown > summary.button.secondary { color: var(--blue); }
.dropdown > summary.button:hover, .dropdown[open] > summary.button { background: var(--blue-dark); color: var(--white); }
.dropdown > summary.button.secondary:hover, .dropdown[open] > summary.button.secondary { background: var(--blue-tint); color: var(--blue-dark); }
.item-menu .dropdown-panel { min-width: 20rem; }
.item-menu .dropdown-panel a strong { display: block; font-weight: 600; }
.item-menu .dropdown-panel a span { display: block; font-size: .85rem; color: var(--muted); }
.item-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 1rem 0 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.strip-cell { padding: .65rem .9rem; border-left: 1px solid var(--line); position: relative; }
.strip-cell:first-child { border-left: 0; }
.strip-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.strip-value { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; margin-top: .25rem; font-size: .95rem; }
.strip-pop > summary.link-button { padding: 0; font-weight: 400; color: var(--blue); text-decoration: underline; background: none !important; }
.strip-pop > summary.link-button::after { display: none; }
.pop-form { left: 0; right: auto; min-width: 19rem; max-width: 24rem; padding: .9rem 1rem; }
.dropdown-panel.dropdown-right { right: 0; left: auto; }
.pop-form .account-form { max-width: none; }
.pop-form .account-form .field { margin: 0 0 .7rem; }
.pop-form h4 { margin: 0 0 .6rem; }
.dropdown-panel.pop-form form button.button { display: inline-flex; width: auto; text-align: center; padding: .55rem 1rem; color: var(--white); background: var(--blue); }
.dropdown-panel.pop-form form button.button:hover { background: var(--blue-dark); color: var(--white); }
.dropdown-panel.pop-form form button.button.secondary { color: var(--blue); background: var(--white); }
.dropdown-panel.pop-form form button.button.secondary:hover { background: var(--blue-tint); color: var(--blue-dark); }
.item-summary p:first-child { margin-top: 0; }
.item-section { margin: 2rem 0 0; }
.item-section h3 { margin: 0 0 .6rem; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; }
.section-head h3 { margin: 0; }
.item-rows { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); }
.item-rows > li { border-top: 1px solid var(--line); }
.item-rows > li:first-child { border-top: 0; }
.material-row { display: grid; grid-template-columns: 2rem minmax(0, 1fr) 9rem 10rem; gap: .8rem; align-items: center; padding: .6rem .8rem; }
.material-row p { margin: .1rem 0 0; }
.material-icon { width: 2rem; height: 2rem; border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.icon-doc { background: var(--blue-tint); color: var(--blue); }
.icon-cba { background: #e3f5e9; color: #1a6b3c; }
.icon-points { background: #fdf3ea; color: var(--orange-text); }
.icon-standard { background: #f1ecf8; color: #5b3f8c; }
.material-kind, .material-state { font-size: .88rem; color: var(--muted); }
.earlier summary { cursor: pointer; color: var(--blue); }
.earlier ul { margin: .2rem 0 0; padding-left: 1.1rem; }
.decision-row { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) 8rem; gap: .8rem; align-items: baseline; padding: .6rem .8rem; }
.decision-row p { margin: 0; }
.decision-row p + p { margin-top: .15rem; }
.decision-code { font-weight: 700; }
.decision-result { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; }
.proposal-box { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 1.5rem 0 0; }
.proposal-head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding: .8rem 1.1rem; background: var(--soft); border-bottom: 1px solid var(--line); }
.proposal-head h3 { margin: 0; }
.proposal-body { padding: .9rem 1.1rem 1rem; }
.proposal-box > .vote-panel { margin: 1rem; }
.proposal-draft { border-style: dashed; border-color: #e0b98c; }
.proposal-draft .proposal-head { background: #fff8ef; }
.status-draft { background: #fff3e6; color: #8a4513; }
.proposal-completes { color: var(--ink); font-weight: 600; }
.write-proposal { margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.write-proposal .import-proposal .pop-form { width: min(26rem, 90vw); }
.share-send { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: .8rem; padding: .7rem .9rem; background: #f6f7f9; border-radius: var(--radius); }
.share-send p { margin: 0; flex: 1 1 18rem; }
.import-plan { border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 1rem; }
.import-plan-head { padding: .8rem 1rem; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: .2rem; }
.import-plan-head strong { font-size: 1.1rem; }
.import-plan-head p { margin: .2rem 0 0; }
.import-plan-rows { display: grid; grid-template-columns: 11rem minmax(0, 1fr); margin: 0; }
.import-plan-rows dt, .import-plan-rows dd { margin: 0; padding: .6rem 1rem; border-bottom: 1px solid var(--line); }
.import-plan-rows dt { color: var(--muted); }
.import-plan-rows dt:nth-last-of-type(1), .import-plan-rows dd:last-of-type { border-bottom: 0; }
.import-points { margin: 0 0 1rem; }
.import-create { margin-top: 1rem; }
@media (max-width: 600px) { .import-plan-rows { grid-template-columns: 1fr; } .import-plan-rows dt { border-bottom: 0; padding-bottom: 0; } }
.note-form { display: flex; gap: .6rem; align-items: flex-start; margin: 0 0 1.1rem; }
.note-form textarea { flex-grow: 1; min-height: 2.6rem; font: inherit; padding: .45rem .6rem; border: 1px solid #c9ced6; border-radius: 6px; }
.side-card { padding: 0; }
.side-card > section { padding: .9rem 1.1rem; border-top: 1px solid var(--line); position: relative; }
.side-card > section:first-child { border-top: 0; }
.side-card h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.side-card .item-links { margin: 0 0 .7rem; }
.side-pop > summary.button { display: inline-flex; }
.add-action > summary { list-style: none; display: inline-flex; }
.add-action > summary::-webkit-details-marker { display: none; }
.add-action[open] > summary { display: none; }
.add-action .account-form { padding: .8rem; background: var(--soft); border-radius: var(--radius); }
@media (max-width: 760px) {
  .item-titlebar { flex-direction: column; gap: .6rem; }
  .item-strip { grid-template-columns: 1fr 1fr; }
  .strip-cell:nth-child(3) { border-left: 0; }
  .strip-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .material-row { grid-template-columns: 2rem minmax(0, 1fr); }
  .material-kind { display: none; }
  .material-state { grid-column: 2; }
  .decision-row { grid-template-columns: 5rem minmax(0, 1fr); }
  .decision-result { grid-column: 2; flex-direction: row; gap: .6rem; }
  .pop-form { position: fixed; left: 1rem; right: 1rem; top: auto; max-width: none; }
  .note-form { flex-direction: column; align-items: stretch; }
  .note-form .button { align-self: flex-start; }
}
.item-side .account-form .field.checkbox, .item-side fieldset label { display: block; }
.documents { padding-left: 1.2rem; }
.add-document summary { cursor: pointer; color: var(--blue); font-weight: 600; margin: .5rem 0; }
.timeline { list-style: none; padding: 0; margin: 0 0 1rem; border-left: 2px solid var(--line); }
.timeline .event { padding: 0 0 .9rem 1rem; position: relative; }
.timeline .event::before { content: ""; position: absolute; left: -6px; top: .5rem; width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.timeline .event-status::before, .timeline .event-created::before { background: var(--orange); }
.timeline .event-head { margin: 0; }
.timeline .event-text p { margin: .2rem 0 0; }
@media (max-width: 60rem) {
  .board { grid-template-columns: 1fr; overflow: visible; }
  .item-layout { grid-template-columns: minmax(0, 1fr); }
  .park-form { grid-template-columns: 1fr; }
  .portal-table .review { white-space: normal; }
}

/* Meetings (apps/portal, docs/portal-meetings.md) */
.meeting-list { list-style: none; padding: 0; }
.meeting-list li { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.meeting-list a { font-weight: 600; }
.agenda { padding-left: 1.5rem; }
.agenda > li { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.agenda-entry.standing .agenda-line { color: var(--muted); }
.agenda-line { display: flex; flex-wrap: wrap; gap: .3rem .75rem; align-items: baseline; }
.agenda-edit { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; margin-top: .4rem; font-size: .9rem; }
.agenda-edit input[type="number"] { width: 4.5rem; padding: .3rem .4rem; border: 1px solid #aeb7c4; border-radius: 6px; font: inherit; }
.agenda-edit select { padding: .3rem .4rem; border: 1px solid #aeb7c4; border-radius: 6px; font: inherit; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; cursor: pointer; }
form.inline { display: inline; }
.inline-form { display: flex; flex-wrap: wrap; gap: 0 1rem; align-items: end; max-width: 50rem; margin: 1rem 0; }
.inline-form .field { flex: 1 1 18rem; }
.chair-tools { margin-top: 2rem; padding-top: 1rem; border-top: 2px solid var(--line); }
.quorum { background: var(--blue-tint); border-radius: 6px; padding: .6rem .9rem; }
.attendance { list-style: none; padding: 0; columns: 2 16rem; }
.attendance li { padding: .15rem 0; break-inside: avoid; }
.live-entries { padding-left: 1.5rem; }
.live-entry { padding: .75rem 0 1rem; border-bottom: 2px solid var(--line); }
.live-entry h3 { font-size: 1.15rem; margin: .2rem 0 .5rem; }
.outcome-form fieldset label.inline { display: inline-block; margin: 0 1rem .3rem 0; }
.outcome-form { max-width: 46rem; }

.add-action summary { cursor: pointer; color: var(--blue); font-weight: 600; }
blockquote.decision { margin: .4rem 0 .6rem; padding: .4rem .8rem; border-left: 3px solid var(--orange); background: var(--soft); }
.status-not_reached { background: #fdf3ea; color: var(--orange-text); }
.live-entry details.votes { margin: 0 0 .75rem; }
.live-entry details.votes summary { cursor: pointer; color: var(--blue); font-weight: 600; }
.vote-row { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.vote-row .field { width: 7rem; }
.add-to-agenda { margin-top: 1.5rem; }
.add-to-agenda h3 { margin-top: 0; }
.jump-links { font-size: .95rem; }

/* Proposals and votes (docs/portal-decisions.md) */
.proposal { margin: 1.5rem 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.proposal h3 .status { font-family: var(--sans); vertical-align: middle; margin-left: .4rem; }
.vote-panel { margin: 1rem 0; }
.vote-panel h4 { margin-top: 0; }
.ballots { columns: 2 16rem; padding-left: 1.1rem; }
.proposal details summary { cursor: pointer; color: var(--blue); font-weight: 600; }
.vote-box { margin: 0 0 .75rem; }
.vote-choices label.inline { margin-right: .9rem; white-space: nowrap; }
.meeting-vote { max-width: 60rem; }
.status-adopted { background: #edf6ee; color: #1f5f24; }
.status-not_adopted { background: #fbeeed; color: #8c1d18; }

/* /my/: what needs you, notices (committee-portal.md T9) */
.needs-you { margin-bottom: 2rem; }
.panel.attention { border-left: 4px solid var(--orange); }
.notices li.unseen > a { font-weight: 700; }
.notices li.unseen::before { content: "●"; color: var(--orange); margin-right: .35rem; font-size: .7rem; vertical-align: middle; }

/* Scheduling polls (docs/portal-scheduling.md) */
.table-scroll { overflow-x: auto; }
.slot-table { border-collapse: collapse; width: 100%; margin: .5rem 0 1rem; }
.slot-table th, .slot-table td { border-bottom: 1px solid var(--line); padding: .5rem .6rem; text-align: left; vertical-align: top; }
.slot-table tr.chosen { background: var(--blue-tint); }
.answer-cell label.inline { display: block; white-space: nowrap; }
.holiday { color: #8a4b00; }
.form-row { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.form-row .field { min-width: 12rem; }

/* The Charter (apps/charter) */
.charter-layout { display: grid; grid-template-columns: minmax(12rem, 16rem) 1fr; gap: 2rem; align-items: start; }
@media (max-width: 800px) { .charter-layout { grid-template-columns: minmax(0, 1fr); } }
.charter-toc { position: sticky; top: 1rem; font-size: .9rem; }
.charter-toc ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.charter-toc li { margin: .2rem 0; }
.charter .clause { display: grid; grid-template-columns: 5.5rem 1fr; gap: .5rem; margin: .45rem 0; }
.charter .clause.depth-1 { margin-left: 1.5rem; }
.charter .clause.depth-2 { margin-left: 3rem; }
.charter .clause.depth-3 { margin-left: 4.5rem; }
.charter .clause-no { color: var(--muted, #555); text-decoration: none; font-variant-numeric: tabular-nums; }
.charter .clause-no:hover { text-decoration: underline; }
.charter .clause-text > :first-child { margin-top: 0; }
.charter .clause-text ul { margin: .3rem 0; }
.charter .added { background: #ecfdf3; }
.charter .changed { background: #fff7e6; }
.charter .former { color: var(--muted, #555); font-size: .85rem; font-style: italic; }
.charter :target { outline: 2px solid var(--orange); outline-offset: 2px; }
.side-by-side { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.side-by-side .old { background: #f6f6f6; padding: .6rem .8rem; border-radius: 6px; }
.side-by-side .new { background: #ecfdf3; padding: .6rem .8rem; border-radius: 6px; }
@media (max-width: 700px) { .side-by-side { grid-template-columns: 1fr; } }
.amend-row { margin: 1rem 0 1.5rem; }
.inline-form { display: inline; }

/* Choosing by Advantages (apps/cba): per factor, the factor and its criteria on the left and a labelled
   band each for the attributes, advantages and importance. Fields look like plain text until their column
   is in use (.active); red marks the worst attribute, green the biggest advantage. */
.cba-grid { border-collapse: collapse; width: 100%; font-size: .95rem; table-layout: fixed; }
.cba-grid .cba-factor-col { width: 12rem; }
.cba-grid th, .cba-grid td { border: 1px solid var(--line); padding: .45rem .55rem; vertical-align: top; text-align: left; font-weight: 400; }
.cba-grid td { min-width: 12rem; }
.cba-grid thead th { background: var(--soft); vertical-align: bottom; }
.cba-grid thead th.cba-corner { background: var(--white); border-top-color: var(--white); border-left-color: var(--white); }
.cba-grid tbody.cba-factor { border-top: 3px solid var(--ink); }
.cba-grid .cba-factor-cell { background: var(--soft); }
.cba-grid tr.cba-band td { background: #fbfbfc; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: .2rem .6rem .15rem; }
.cba-grid p { margin: .1rem 0; padding: .25rem .4rem; }
.cba-label { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: .4rem 0 0 .2rem; }
.cba-labelrow { display: flex; align-items: center; justify-content: space-between; gap: .3rem; }
.cba-labelrow .cba-label { margin-top: 0; }
.cba-fname, .cba-altname { font-weight: 700; }
.cba-fname { font-size: 1.02rem; }
.cba-sub { margin: 0 0 0 .45rem !important; padding: 0 !important; }
.cba-delete { display: inline-flex; align-items: center; justify-content: center; width: 1.7rem; height: 1.7rem; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #8a8f98; cursor: pointer; }
.cba-delete:hover, .cba-delete:focus-visible { background: #fde8e7; color: #a3261c; }
/* the fields: no frame and no background until their column is in use */
.cba-field { display: block; width: 100%; box-sizing: border-box; font: inherit; color: inherit; line-height: 1.35; padding: .25rem .4rem; border: 1px solid transparent; border-radius: 4px; background: transparent; resize: none; overflow: hidden; field-sizing: content; min-height: 1.95em; }
.cba-field::placeholder { color: #9aa2ad; font-style: italic; }
.cba-field:hover { background: rgba(54, 90, 145, .05); }
.cba-field:focus { outline: 2px solid var(--blue); outline-offset: 0; background: var(--white); }
.cba-grid .active .cba-field { border-color: #c9ced6; background: var(--white); }
.cba-grid .active { box-shadow: inset 0 0 0 1px #b9c7dc; }
.cba-field[type=number] { -moz-appearance: textfield; appearance: textfield; }
.cba-field[type=number]::-webkit-inner-spin-button, .cba-field[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.cba-grid .cba-imp { width: 5.5rem; font-weight: 700; font-size: 1.1rem; }
.cba-grid .cba-currency { display: inline-block; width: 6rem; min-height: 0; }
/* the marks show on hover and in the column in use; elsewhere the tags show what is marked */
.cba-marks { display: none; flex-wrap: wrap; gap: .2rem .9rem; margin: .3rem 0 0 .2rem; font-size: .82rem; }
.cba-marks label { display: inline-flex; align-items: center; gap: .3rem; cursor: pointer; }
.cba-grid td:hover .cba-marks, .cba-grid td.active .cba-marks { display: flex; }
.cba-grid.editing td:hover .cba-tags, .cba-grid.editing td.active .cba-tags { display: none; }
.cba-tags .tag { margin: .3rem .3rem 0 .2rem; }
.mark-worst { color: #a3261c; font-weight: 600; }
.mark-biggest { color: #1a6b3c; font-weight: 600; }
.cba-none { color: #8a8f98; font-style: italic; }
.cba-grid th.out { color: #8a1c1c; }
.cba-grid td.fails { box-shadow: inset 4px 0 0 #8a1c1c; }
.cba-grid td.worst { background: #fde8e7; box-shadow: inset 0 0 0 2px #c0362c; }
.cba-grid td.biggest { background: #e3f5e9; box-shadow: inset 0 0 0 2px #1f7a45; }
.cba-grid td.paramount { background: #e3f5e9; }
.tag-worst { background: #fde8e7; border-color: #c0362c; color: #a3261c; }
.tag-biggest { background: #e3f5e9; border-color: #1f7a45; color: #1a6b3c; }
.tag-out { border-color: #8a1c1c; color: #8a1c1c; }
.key-worst { background: #fde8e7; color: #a3261c; padding: 0 .3rem; border-radius: 3px; font-weight: 600; }
.key-biggest { background: #e3f5e9; color: #1a6b3c; padding: 0 .3rem; border-radius: 3px; font-weight: 600; }
.cba-grid tfoot tr.totals td, .cba-grid tfoot tr.totals th { background: var(--blue-tint); border-top: 3px solid var(--ink); }
.cba-grid tfoot tr.cost td, .cba-grid tfoot tr.cost th { border-top-width: 1px; }
.cba-add { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin: 1rem 0 .5rem; }
.cba-add input { width: 16rem; max-width: 100%; }
.cba-rankbar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: .5rem 0 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.button.is-disabled { background: #c9ced6; border-color: #c9ced6; color: var(--muted); cursor: not-allowed; pointer-events: auto; }
.cba-status { min-height: 1.3em; color: var(--muted); position: sticky; bottom: 0; background: var(--white); padding: .3rem 0; }
.cba-decide { margin: 1rem 0; }
/* ranking and scoring the biggest advantages */
.cba-rank { max-width: 64rem; }
.cba-ranking { border-collapse: collapse; width: 100%; font-size: .95rem; }
.cba-ranking th, .cba-ranking td { border: 1px solid var(--line); padding: .55rem .6rem; vertical-align: middle; text-align: left; }
.cba-ranking tbody th { font-weight: 600; }
.cba-ranking thead th { background: var(--soft); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.cba-ranking tr.top td, .cba-ranking tr.top th { background: #e3f5e9; }
.cba-rank-cell { white-space: nowrap; }
.cba-rank-number { display: inline-block; width: 1.6em; font-weight: 700; font-size: 1.1rem; }
.cba-move { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; margin-left: .2rem; padding: 0; border: 1px solid #c9ced6; border-radius: 5px; background: var(--white); color: var(--blue); cursor: pointer; vertical-align: middle; }
.cba-move:hover { background: var(--blue-tint); }
.cba-move:disabled { color: #c9ced6; border-color: #e6e9ee; background: var(--white); cursor: default; }
.cba-rank-imp { font: inherit; font-weight: 700; font-size: 1.1rem; width: 5.5rem; padding: .3rem .45rem; border: 1px solid #c9ced6; border-radius: 4px; }
.cba-warn { margin: .3rem 0 0; font-size: .8rem; font-weight: 600; color: var(--orange-text); }
@media (max-width: 700px) {
  .cba-grid .cba-factor-col { width: 9rem; }
  .cba-marks { display: flex; }
  .cba-grid.editing .cba-tags { display: none; }
}
.cba-cell { margin: 1rem 0; }
.bid-data { display: grid; grid-template-columns: minmax(10rem, 14rem) 1fr; gap: .4rem 1rem; }
.bid-data dt { font-weight: 700; }
.bid-data dd { margin: 0; }
@media (max-width: 700px) { .bid-data { grid-template-columns: 1fr; } }

/* Standards (apps/standards) */
.standards-list { display: grid; gap: 1rem; margin: 1.5rem 0; }
.standard-card h2 { margin-top: 0; font-size: 1.25rem; }
.standard-card p { margin: .4rem 0; }
.standard-text h1.standard-title { font-size: 1.6rem; margin-top: 0; }
.standard-text .standard-subtitle { color: var(--muted); }
.standard-preview { border: 1px solid var(--line); padding: 1rem 1.25rem; max-height: 40rem; overflow: auto; }
.standard-text img { max-width: 100%; height: auto; }
.standard-text > .panel { margin-bottom: 1.5rem; }
.standard-files a + a { margin-left: .5rem; }

/* Requests to the committee (apps/committee_requests) */
.request-message { border-left: 3px solid var(--line); padding: .25rem 0 .25rem .75rem; margin: .75rem 0; }
.request-message.from-committee { border-left-color: var(--blue); }
.request-message p { margin: .2rem 0; }

/* Decision points (apps/points) */
.points-table td:nth-child(2) { width: 14rem; }
.points-table td:nth-child(3) { width: 14rem; }
.point-options li { margin: .35rem 0; }
.ballot-point { margin: 1rem 0; }
.ballot-point legend { font-weight: 600; padding: 0 .25rem; }
.ballot-form .choice { margin-right: 1rem; white-space: nowrap; }
.ballot-form input.rank { width: 4rem; }
.table-scroll { overflow-x: auto; }

/* Committee tabs: six in a row with More on a wide screen; one scrolling row on a phone (section 11) */
.portal-tabs { align-items: flex-end; }
.portal-tabs a { white-space: nowrap; }
.portal-tabs .tab-more { display: none; }
.more-menu { position: relative; }
.more-menu summary { list-style: none; cursor: pointer; padding: .5rem 0; font-weight: 600; color: var(--ink);
  border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.more-menu summary::-webkit-details-marker { display: none; }
.more-menu summary::after { content: " ▾"; font-size: .8em; color: var(--muted); }
.more-menu.current summary { border-bottom-color: var(--orange); color: var(--blue-dark); }
.more-menu summary:hover { color: var(--blue); }
.more-menu ul { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 15rem; margin: 0; padding: .35rem 0;
  list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 20px rgba(20, 30, 60, .12); }
.more-menu li a { display: block; padding: .45rem 1rem; border: 0; margin: 0; font-weight: 500; }
.more-menu li a:hover { background: var(--blue-tint); }
.more-menu li.sep { border-top: 1px solid var(--line); margin-top: .3rem; padding-top: .3rem; }
@media (max-width: 760px) {
  .portal-tabs { flex-wrap: nowrap; overflow-x: auto; gap: 0 1.1rem; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); padding-right: 2rem; }
  .portal-tabs::-webkit-scrollbar { display: none; }
  .portal-tabs .tab-more { display: inline-block; }
  .portal-tabs .more-menu { display: none; }
}

/* Tables on a phone: scroll sideways rather than squeeze words onto separate lines */
@media (max-width: 700px) {
  .portal-table, .points-table { display: block; overflow-x: auto; position: relative; -webkit-overflow-scrolling: touch; }
  .portal-table th, .portal-table td { min-width: 6.5rem; }
  .portal-table td:first-child, .portal-table th:first-child { min-width: 11rem; }
}

/* One opening for every page in the committee's space: heading and buttons, then a short introduction */
.list-head { margin-top: 1.25rem; }
.list-head h2 { font-size: 1.45rem; }
.list-head .view-switch { font-family: var(--sans); font-size: .95rem; font-weight: 400; margin-left: .75rem; color: var(--muted); }
.list-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.page-intro { color: var(--muted); max-width: 48rem; margin: .25rem 0 1.25rem; }
.crumbs { margin: .75rem 0 .25rem; }
.tool-links { list-style: none; margin: 0; padding: 0; }
.tool-links li { margin: .35rem 0; line-height: 1.35; }
.tool-links .muted { display: block; }
@media (max-width: 760px) { .portal-head h1 { font-size: 1.6rem; line-height: 1.2; } .portal-head { margin-bottom: 0; } }

/* The account menu (top right) */
.dropdown { position: relative; }
.dropdown > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .35rem; padding: .4rem .6rem;
  border-radius: 6px; font-weight: 600; color: var(--blue); white-space: nowrap; }
.dropdown > summary::-webkit-details-marker { display: none; }
.dropdown > summary::after { content: ""; border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0; margin-left: .15rem; }
.dropdown > summary:hover, .dropdown[open] > summary { background: var(--blue-tint); }
.dropdown-panel { position: absolute; right: 0; top: calc(100% + .35rem); z-index: 30; min-width: 17rem; max-width: 22rem; padding: .4rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 28px rgb(0 0 0 / .12);
  white-space: normal; }
.dropdown-panel ul { list-style: none; margin: 0; padding: 0; }
.dropdown-panel a { display: block; padding: .4rem .6rem; border-radius: 6px; color: var(--ink); font-weight: 400; text-decoration: none; }
.dropdown-panel a:hover { background: var(--blue-tint); color: var(--blue-dark); text-decoration: none; }
.dropdown-heading { margin: .5rem .6rem .1rem; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.dropdown-sep { border-top: 1px solid var(--line); margin-top: .35rem !important; padding-top: .35rem !important; }
.dropdown-panel form button { display: block; width: 100%; text-align: left; padding: .4rem .6rem; border-radius: 6px; color: var(--muted); }
.dropdown-panel form button:hover { background: var(--blue-tint); color: var(--ink); text-decoration: none; }
.account-menu .count { font-size: .75rem; }

/* Governance: the starting cards on Committees and officers */
.governance-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .75rem; margin: 1.5rem 0 2.5rem; }
.gov-card { display: block; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft);
  text-decoration: none; color: var(--ink); }
.gov-card strong { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--blue-dark); margin-bottom: .2rem; }
.gov-card span { display: block; font-size: .95rem; color: var(--muted); line-height: 1.4; }
.gov-card:hover { border-color: var(--blue); background: var(--blue-tint); }
.gov-card.primary { border-left: 4px solid var(--orange); }
.main-nav.desktop .phone-only { display: none; }  /* the logo links home on a wide screen */

/* The advanced search, opened in place */
.search-more { margin-top: .6rem; }
.search-more > summary { cursor: pointer; color: var(--blue); font-weight: 600; font-size: .95rem; width: max-content; }
.search-more[open] > summary { margin-bottom: .5rem; }
.search-more .search-help { margin: .5rem 0 0; }

/* Decision points (apps/points, D73): points edited in place while drafted; ticked ones go out as a batch */
.points-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin: .4rem 0 .6rem; }
.points-head h2 { margin: 0 0 .3rem; }
.points-meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; color: var(--muted); font-size: .95rem; }
.points-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin: 1rem 0; }
.points-filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.point-edit[hidden], .paste-panel[hidden], .batch-bar[hidden], .mode-one[hidden], .mode-choice[hidden],
.point-card[hidden], .points-group[hidden] { display: none; }
.points-filters .filter { white-space: nowrap; font: inherit; font-size: .9rem; border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: .25rem .8rem; cursor: pointer; color: var(--ink); }
.points-filters .filter.is-on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.points-actions { display: flex; gap: .5rem; }
.paste-panel { margin: 0 0 1rem; }
.paste-panel textarea { width: 100%; box-sizing: border-box; }
.paste-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .6rem 1rem; }
.paste-row .field { margin: 0; }
.points-group { margin: 0 0 1.4rem; }
.points-group-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 .5rem; }
.points-group-head h3 { margin: 0; }
.point-card { border: 1px solid var(--line); border-radius: 10px; background: var(--white); margin: 0 0 .5rem; }
.point-card.is-open { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.point-row { display: grid; grid-template-columns: 1.4rem 2.3rem minmax(0, 1fr) auto auto 2.1rem; gap: .6rem; align-items: center; padding: .6rem .75rem; }
.point-pick { width: 1.1rem; height: 1.1rem; }
.point-no { font-weight: 700; color: var(--blue-dark); background: var(--blue-tint); border-radius: 6px; text-align: center; padding: .15rem 0; }
.point-main { min-width: 0; display: flex; flex-direction: column; }
.point-q { font-weight: 600; color: var(--ink); text-decoration: none; }
.point-q:hover { text-decoration: underline; }
.point-preview { font-size: .88rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { display: inline-block; font-size: .78rem; font-weight: 600; border-radius: 999px; padding: .05rem .6rem; white-space: nowrap; }
.pill-route { background: var(--blue-tint); color: var(--blue-dark); }
.pill-ready { background: #e3f5e9; color: #1a6b3c; }
.pill-drafting { background: #fff3e6; color: #8a4513; }
.pill-comment, .pill-voting { background: var(--blue-tint); color: var(--blue-dark); }
.pill-decided { background: #edf6ee; color: #1f5f24; }
.pill-withdrawn { background: #eef0f3; color: var(--muted); }
.point-toggle { width: 2rem; height: 2rem; border: 0; background: transparent; border-radius: 6px; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.point-toggle:hover { background: var(--blue-tint); color: var(--blue); }
.point-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.point-edit { padding: .2rem 1rem 1rem 4.9rem; display: flex; flex-direction: column; gap: .7rem; }
.new-point .point-edit { padding: 1rem; }
.point-edit .field { margin: 0; display: flex; flex-direction: column; gap: .25rem; }
.point-edit .field label { font-weight: 600; font-size: .9rem; display: flex; flex-direction: column; gap: .25rem; }
.point-edit input:not([type=radio]):not([type=checkbox]), .point-edit textarea, .point-edit select { font: inherit; padding: .4rem .55rem; border: 1px solid #c9ced6; border-radius: 6px; background: var(--white); width: 100%; box-sizing: border-box; }
.point-mode, .point-deps { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; }
.point-mode legend, .point-deps legend, .flabel { font-weight: 600; font-size: .9rem; padding: 0; margin: 0 0 .25rem; }
.point-mode label { display: inline-flex; align-items: center; gap: .35rem; }
.options { display: flex; flex-direction: column; gap: .4rem; }
.option-row { display: grid; grid-template-columns: auto minmax(0, 1fr) 1.8rem; gap: .5rem; align-items: center; }
.option-rec { font-size: .85rem; font-weight: 600; color: #1a6b3c; display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; }
.option-remove { width: 1.8rem; height: 1.8rem; border: 0; background: transparent; border-radius: 5px; color: #8a8f98; cursor: pointer; font-size: 1.1rem; }
.option-remove:hover { background: #fde8e7; color: #a3261c; }
.point-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.new-point .point-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .88rem; border: 1px solid #c9ced6; border-radius: 999px; padding: .15rem .65rem; cursor: pointer; }
.chip:has(input:checked) { background: var(--blue-tint); border-color: var(--blue); color: var(--blue-dark); font-weight: 600; }
.point-edit-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.link-button.danger { color: #a3261c; }
.batch-bar { position: sticky; bottom: .6rem; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 1rem 0; padding: .75rem 1rem; background: var(--ink); color: var(--white); border-radius: 10px; box-shadow: 0 8px 24px rgb(28 37 51 / .25); }
.batch-bar input { font: inherit; padding: .35rem .55rem; border: 0; border-radius: 6px; width: 15rem; max-width: 100%; }
.batch-bar .button { background: var(--white); color: var(--ink); border-color: var(--white); }
.batch-bar .link-button { color: var(--white); margin-left: auto; }
@media (max-width: 760px) {
  .point-row { grid-template-columns: 1.4rem 2.1rem minmax(0, 1fr) 2.1rem; }
  .point-row .pill-route { display: none; }
  .point-row [data-label] { grid-column: 3; justify-self: start; }
  .point-edit { padding: .2rem .8rem .9rem; }
  .point-fields { grid-template-columns: 1fr; }
}

/* Working groups on committee items (committee-portal.md D78 to D83) */
.status-group-active { background: #e3f5e9; color: #1a6b3c; }
.status-group-dormant, .status-group-closed { background: #eef0f3; color: #4a5463; }
.group-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin: 0 0 1rem; }
.group-head .group-status { margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.group-head-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.group-item { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: .9rem 1.1rem; margin: 0 0 1rem; background: #f6f7f9; border: 1px solid var(--line); border-radius: var(--radius); }
.group-item > div { flex: 1 1 22rem; }
.group-item-title { margin: .15rem 0; font-size: 1.15rem; font-weight: 700; }
.group-item p { margin: 0; }
.group-instructions blockquote { margin: .4rem 0 0; }
.group-layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 1.5rem; align-items: start; }
.group-main, .group-side { display: flex; flex-direction: column; gap: 1rem; }
.group-main .panel, .group-side .panel { margin: 0; }
.group-actions { list-style: none; padding: 0; margin: 0 0 .6rem; }
.group-actions li { display: grid; grid-template-columns: minmax(0, 1fr) 11rem 7rem; gap: .6rem; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.group-actions li:last-child { border-bottom: 0; }
.group-actions form.inline { display: inline; }
.attendance-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .4rem 1rem; margin: 0 0 .6rem; }
.attendance-grid label { display: flex; gap: .5rem; align-items: center; }
.notes-box textarea { width: 100%; box-sizing: border-box; font: inherit; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: var(--radius); }
.notes-box textarea[readonly] { background: #f6f7f9; }
.notes-lock { margin: 0 0 .4rem; color: #8a4513; }
.notes-conflict { margin-top: .8rem; }
.notes-keeper { margin: 0 0 1rem; }
.notes-keeper p { margin: 0; }
.notes-keeper form { margin: 0; }
.group-rows td { vertical-align: top; }
.review .flag { color: #8a4513; font-weight: 600; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0 1rem; }
@media (max-width: 860px) { .group-layout { grid-template-columns: 1fr; } .group-actions li { grid-template-columns: 1fr; gap: .1rem; } }
.action-row { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr) 10rem auto; gap: 0 .8rem; align-items: end; }
.action-row .field { margin-bottom: 0; }
.action-row .help { display: none; }
@media (max-width: 760px) { .action-row { grid-template-columns: 1fr; } }

/* Scheduling polls on a week grid (committee-portal.md D84) */
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg-option { display: inline-flex; gap: .4rem; align-items: center; padding: .55rem 1rem; cursor: pointer; }
.seg-option:has(input:checked) { background: var(--blue); color: #fff; font-weight: 600; }
.repeat-option { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin: .3rem 0; }
.repeat-option select { width: auto; }
.grid-layout { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 1.5rem; align-items: start; }
.grid-side { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 1rem; }
.grid-side .panel { margin: 0; }
.grid-legend { display: flex; flex-wrap: wrap; gap: .3rem .8rem; align-items: center; font-size: .85rem; }
.sw { display: inline-block; width: 1.1rem; height: .85rem; border-radius: 3px; vertical-align: middle; border: 1px solid rgba(0,0,0,.08); }
.week-grid { display: grid; grid-template-columns: 4rem repeat(var(--cols), minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-size: .8rem; }
.wg-corner, .wg-head { background: #f6f7f9; border-bottom: 1px solid var(--line); }
.wg-head { padding: .35rem .4rem; text-align: center; font-weight: 700; border-left: 1px solid #eef0f3; }
.wg-time { height: 1.9rem; display: flex; align-items: center; justify-content: flex-end; padding: 0 .5rem; color: var(--muted); border-top: 1px solid #eef0f3; }
.week-grid.half .wg-time { height: 1.3rem; font-size: .72rem; }
.week-grid.half .wg-half { border-top-style: dashed; }
.wg-cell { height: 1.9rem; border: 0; border-left: 1px solid #fff; border-top: 1px solid #fff; display: flex; align-items: center; justify-content: center; gap: .25rem; font: inherit; font-size: .78rem; margin: 0; padding: 0; position: relative; }
.week-grid.half .wg-cell { height: 1.3rem; font-size: .7rem; }
label.wg-cell, button.wg-cell { cursor: pointer; }
.wg-cell input { position: absolute; opacity: 0; pointer-events: none; }
.wg-cell:focus-within, button.wg-cell:focus-visible { outline: 2px solid var(--blue-dark); outline-offset: -2px; }
.s4 { background: #2f6f4f; color: #fff; } .s3 { background: #5f9a7b; color: #fff; } .s2 { background: #a7cdb6; }
.s1 { background: #dcebe1; } .s0 { background: #f1f2f4; color: #6b7280; }
.wg-cell.is-picked { box-shadow: inset 0 0 0 3px #1f3657; font-weight: 700; }
.wg-cell.is-picked span::before { content: "✓ "; }
.wg-none, .wg-empty { background: repeating-linear-gradient(135deg, #fff 0 6px, #f6f7f9 6px 12px); border-left-color: #eef0f3; border-top-color: #eef0f3; }
.wg-empty { background: #fff; }
.a-yes { background: #2f6f4f; color: #fff; } .a-maybe { background: #f3c98b; color: #5a3608; } .a-no { background: #e9ecef; color: #4a5463; }
.a-none { background: #fff; box-shadow: inset 0 0 0 2px #365a91; color: #1f3657; }
.wg-cont { opacity: .45; }
.wg-cont.a-none { box-shadow: none; background: #eef2f8; opacity: 1; }
.wg-offer .wg-t { font-weight: 700; }
.wg-result { background: #dcebe1; color: var(--ink); }
.wg-result.is-best { background: #2f6f4f; color: #fff; }
.wg-result.is-open, .wg-result.is-chosen { box-shadow: inset 0 0 0 3px #1f3657; }
.r-cont { background: #eef5f0; }
.my-answers { list-style: none; padding: 0; margin: 0 0 .6rem; }
.my-answers li { display: flex; flex-direction: column; gap: .15rem; padding: .4rem 0; border-bottom: 1px solid var(--line); }
.answer-radios { display: flex; flex-wrap: wrap; gap: .2rem .6rem; font-size: .85rem; }
.poll-section { margin: 1.5rem 0; }
@media (max-width: 900px) { .grid-layout { grid-template-columns: 1fr; } .grid-side { position: static; } .week-grid { font-size: .7rem; } }
.block-option { display: block; margin: .35rem 0; } .block-option .help { display: block; margin-left: 1.6rem; }
.earlier-work { margin-top: .5rem; font-size: .9rem; }
.earlier-work summary { cursor: pointer; color: var(--blue); font-weight: 600; }
.earlier-work ul { list-style: none; margin: .4rem 0 0; padding: 0; }
.earlier-work li { display: grid; grid-template-columns: minmax(0, 1fr) 10rem 7rem; gap: .6rem; padding: .35rem 0; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .earlier-work li { grid-template-columns: 1fr; gap: 0; } }
