:root {
  --ink: #152e40;
  --muted: #4f6779;
  --hint: #5f7382;
  --teal: #076f68;
  --teal-dark: #06645e;
  --navy: #123545;
  --canvas: #f3f6f8;
  --line: #dce5eb;
  --control-border: #637a89;
  --soft: #e5f4f0;
  --danger: #af3535;
  --amber: #885b08;
  --radius: 16px;
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-size: 16px;
  line-height: 1.5;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-weight: 400;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.58;
}
a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}
a:hover {
  text-decoration: underline;
}
button {
  border: 0;
}
svg {
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 26px;
  line-height: 1.18;
  letter-spacing: -1px;
  font-weight: 500;
}
h2 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}
p {
  line-height: 1.6;
}
small {
  font-size: 12px;
}
strong {
  font-weight: 500;
}
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
.small {
  font-size: 13px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 9px;
}
.inline,
.button-row,
.filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.event-editor-fields[hidden] {
  display: none;
}
.event-editor-fields .form-grid {
  align-items: end;
}
.event-copy-options {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
}
.event-copy-options summary {
  display: flex;
  align-items: center;
  min-height: 48px;
  gap: 8px;
  cursor: pointer;
  color: var(--teal);
  font-weight: 500;
  list-style: none;
}
.event-copy-options summary::-webkit-details-marker {
  display: none;
}
.event-copy-options summary svg:last-child {
  margin-left: auto;
}
.event-copy-options[open] summary svg:last-child {
  transform: rotate(180deg);
}
.event-copy-options > .stack {
  padding: 4px 0 16px;
}
.event-copy-review h2 {
  font-size: 20px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.event-copy-review .details-list div {
  display: grid;
  grid-template-columns: minmax(105px, 1fr) minmax(0, 2fr);
  padding: 8px 0;
}
.event-copy-review.stack {
  gap: 10px;
}
.event-copy-review .details-list {
  margin: 0;
}
.event-copy-review p,
.event-copy-review dd {
  overflow-wrap: anywhere;
}
.event-copy-review {
  min-width: 0;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.span-2 {
  grid-column: 1/-1;
}
.preserve-lines {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--teal);
  color: #fff;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 500;
  line-height: 1.35;
  min-height: 42px;
  white-space: nowrap;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
.button:hover {
  background: var(--teal-dark);
  text-decoration: none;
}
.button.secondary {
  background: white;
  color: var(--ink);
  border-color: var(--control-border);
}
.button.secondary:hover {
  background: #eef5f5;
}
.button.ghost {
  background: transparent;
  color: var(--muted);
}
.button.ghost:hover {
  background: #eaf2f4;
  color: var(--teal);
}
.button.selected {
  background: #e1f1ee;
  color: #075e58;
}
.button.small {
  padding: 7px 11px;
  font-size: 13px;
  min-height: 36px;
}
.button.icon {
  padding: 9px;
  min-width: 40px;
}
.button.danger {
  color: var(--danger);
}
.button.danger:hover {
  background: #fff0ef;
}
.badge {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  padding: 4px 9px;
  background: #edf2f5;
  color: #526779;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 6px;
  letter-spacing: 0.1px;
}
.badge.green {
  background: #e4f3ed;
  color: #116b4b;
}
.badge.amber {
  background: #fff1d6;
  color: #7c5002;
}
.badge.red {
  background: #ffebea;
  color: #a62e2e;
}
.badge.gray {
  background: #eef1f4;
  color: #526779;
}
.icon-tile {
  width: 43px;
  height: 43px;
  border-radius: 11px;
  background: var(--soft);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.avatar {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  background: #e4eeef;
  color: #1b5260;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.avatar.large {
  width: 52px;
  height: 52px;
  font-size: 17px;
}
.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.app-header {
  height: 84px;
  padding: 0 4%;
  display: flex;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
  gap: 30px;
  position: sticky;
  top: 0;
  z-index: 30;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  color: var(--navy);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.45px;
  white-space: nowrap;
}
.brand small {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.brand-mark {
  width: 43px;
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: white;
  border-radius: 13px;
}
.brand-link:hover {
  text-decoration: none;
}
.app-header nav {
  display: flex;
  gap: 6px;
  height: 100%;
  align-items: center;
  flex: 1;
}
.app-header nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.app-header nav a:hover {
  text-decoration: none;
  background: #f1f6f7;
}
.app-header nav a.active {
  color: var(--teal);
  background: var(--soft);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.account-button {
  display: flex;
  align-items: center;
  gap: 9px;
  background: none;
  text-align: left;
  color: var(--ink);
  padding: 0;
}
.account-name {
  font-size: 13px;
  font-weight: 500;
}
.account-name small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.content {
  width: min(1250px, 92%);
  margin: 0 auto;
  flex: 1;
  padding: 34px 0 50px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 27px;
}
.page-heading p {
  margin-top: 8px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: 0 2px 5px #12354503;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
}
.section-heading p {
  margin-top: 4px;
}
.section-heading h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-footer {
  display: flex;
  justify-content: space-between;
  max-width: 1250px;
  width: 92%;
  margin: auto auto 22px;
  color: var(--muted);
  font-size: 12px;
}
.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.summary-strip button {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  text-align: left;
  border: 1px solid var(--control-border);
  border-radius: 12px;
  padding: 20px 22px;
  color: var(--ink);
}
.summary-strip button:hover,
.summary-strip button.current {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal);
}
.summary-icon {
  height: 42px;
  width: 42px;
  background: #e7f4f0;
  color: var(--teal);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.summary-icon.amber {
  background: #fff2dc;
  color: #8e6217;
}
.summary-strip strong {
  font-size: 27px;
  line-height: 1.1;
  display: block;
  font-weight: 500;
}
.summary-strip small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}
.panel.work-panel {
  padding: 0;
  overflow: hidden;
}
.work-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 21px 23px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.tabs .button {
  font-size: 13px;
  padding: 9px 12px;
}
.task-view-tabs {
  gap: 3px;
  padding: 4px;
  background: #e8eef1;
  border-radius: 11px;
}
.task-view-tabs .button {
  color: var(--muted);
  background: transparent;
  border-color: transparent;
}
.task-view-tabs .button.selected {
  color: var(--teal-dark);
  background: #fff;
  border-color: var(--teal);
}
.count {
  font-size: 12px;
  border-radius: 5px;
  background: #d1e7e2;
  color: var(--teal-dark);
  padding: 1px 6px;
}
.filter-row {
  flex-wrap: nowrap;
}
.search {
  background: white;
  border: 1px solid var(--control-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: var(--muted);
  min-width: 180px;
  max-width: 320px;
}
.search input {
  border: 0;
  min-width: 0;
  width: 100%;
  padding: 9px 0;
  background: transparent;
  outline: none;
  font-size: 13px;
}
.search:focus-within {
  box-shadow: 0 0 0 3px #087c7433;
  border-color: var(--teal);
}
.filter-row select,
.task-filters select {
  font-size: 13px;
  padding: 9px 30px 9px 12px;
  max-width: 210px;
}
.task-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 21px 23px;
  border-bottom: 1px solid #e6edf1;
}
.task-row:last-child {
  border-bottom: 0;
}
.task-state {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #eff4f6;
  color: #4b7283;
  flex-shrink: 0;
}
.task-state.complete {
  background: #e4f2eb;
  color: #167352;
}
.task-state.late {
  background: #fff3dc;
  color: #89611d;
}
.task-main {
  min-width: 0;
  flex: 1;
}
.task-name {
  background: none;
  text-align: left;
  padding: 0;
  font-weight: 500;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}
.task-name:hover {
  color: var(--teal);
}
.task-meta {
  display: flex;
  gap: 7px 15px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 7px;
  font-size: 12px;
  color: var(--muted);
}
.task-meta span,
.task-meta a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.task-meta a {
  font-weight: 500;
}
.task-meta .overdue {
  color: #9c3e2c;
}
.task-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 600px;
}
.task-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-shrink: 0;
}
.task-status {
  margin-top: 7px;
}
.task-actions .button {
  white-space: nowrap;
}
.action-sheet > .button {
  width: 100%;
  justify-content: flex-start;
  font-size: 14px;
}
.action-sheet {
  gap: 8px;
}
.done .task-name {
  color: var(--muted);
}
.list-caption {
  padding: 12px 23px;
  background: #fff9ed;
  color: #795922;
  font-size: 12px;
}
.task-filters {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 23px;
  background: #fafcfd;
  border-bottom: 1px solid var(--line);
}
.event-task {
  border-bottom: 1px solid var(--line);
}
.event-task:last-child {
  border-bottom: 0;
}
.event-task .task-row {
  border: 0;
  padding-bottom: 14px;
}
.planner-task-actions {
  display: flex;
  gap: 8px;
  padding: 0 23px 13px 76px;
}
.empty {
  padding: 44px 20px;
  text-align: center;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
}
.empty h3 {
  color: var(--ink);
}
.empty p {
  font-size: 13px;
  max-width: 480px;
}
.page-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 23px;
}
.segmented {
  display: flex;
  gap: 3px;
  background: #e9eff2;
  padding: 4px;
  border-radius: 10px;
}
.segmented button {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  padding: 9px 15px;
  border-radius: 7px;
}
.segmented button.selected {
  background: #fff;
  color: var(--teal);
  box-shadow: 0 1px 4px #12354512;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.event-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.event-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}
.date-block {
  width: 55px;
  min-height: 61px;
  border-radius: 11px;
  background: var(--soft);
  color: var(--teal);
  text-align: center;
  padding: 6px;
}
.date-block small {
  text-transform: uppercase;
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
}
.date-block strong {
  display: block;
  font-size: 25px;
  line-height: 1.1;
  margin-top: 2px;
}
.event-card h2 {
  font-size: 19px;
}
.event-card h2 a {
  color: var(--ink);
}
.event-place {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 19px;
  min-height: 36px;
}
.event-place svg {
  margin-top: 3px;
}
.event-card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 23px;
}
.event-card-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-top: auto;
  margin-bottom: 7px;
}
.progress {
  height: 5px;
  background: #e9eff2;
  border-radius: 4px;
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  background: #238f80;
}
.event-card footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 19px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}
.back-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}
.event-heading h1 {
  margin-top: 10px;
  font-size: 30px;
}
.event-access-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: -8px 0 14px;
  color: var(--muted);
  font-size: 13px;
}
.event-access-summary .scope-label {
  padding: 2px 7px;
  border-radius: 4px;
  background: #e9f4f3;
  color: #08736f;
  font-size: 12px;
}
.event-heading .button-row .button {
  font-size: 12px;
}
.draft-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff3d9;
  border: 1px solid #f1dfb4;
  color: #775210;
  border-radius: 10px;
  padding: 14px 17px;
  font-size: 13px;
  margin-bottom: 24px;
}
.event-facts {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 24px;
  margin-bottom: 27px;
}
.event-facts > div {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 13px;
  color: #2c5667;
}
.event-facts svg {
  color: #618592;
}
.event-facts small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 3px;
}
.event-tabs {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid #cedce3;
  margin-bottom: 25px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.event-tabs button {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  background: none;
  padding: 0 2px 15px;
  position: relative;
}
.event-tabs button.selected {
  color: var(--teal);
  border-bottom: 3px solid var(--teal);
  padding-bottom: 12px;
}
.details-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
}
.details-list {
  margin: 25px 0;
}
.details-list div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.details-list dt {
  color: var(--muted);
}
.details-list dd {
  text-align: right;
  margin: 0;
}
.details-grid .panel > h3 {
  margin: 24px 0 9px;
}
.details-grid .panel > .button {
  margin-top: 25px;
}
.activity-list {
  margin-top: 20px;
}
.activity-list > div {
  display: flex;
  gap: 14px;
  padding: 0 0 22px;
}
.activity-list strong {
  font-size: 13px;
}
.activity-list small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.activity-dot {
  width: 8px;
  height: 8px;
  background: #459e91;
  border: 3px solid #e5f1ed;
  border-radius: 50%;
  box-sizing: content-box;
  flex-shrink: 0;
  margin-top: 4px;
}
.team-group {
  margin-top: 25px;
}
.team-group > h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin: 18px 0 10px;
}
.member-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.member-main {
  flex: 1;
  min-width: 140px;
}
.member-main strong {
  font-size: 14px;
}
.member-main small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.member-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}
.member-controls select {
  max-width: 140px;
  font-size: 12px;
  padding: 8px 25px 8px 10px;
  min-height: 36px;
}
.assignment-count {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  color: var(--teal);
  white-space: nowrap;
  margin: 0 8px;
}
.vendors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.vendor-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.vendor-card .section-heading {
  width: 100%;
  margin-bottom: 16px;
}
.contact-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 17px 0;
  font-size: 12px;
  color: var(--muted);
}
.contact-lines > * {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  overflow-wrap: anywhere;
}
.contact-lines svg {
  margin-top: 2px;
}
.vendor-card > p {
  font-size: 12px;
  margin: 0 0 17px;
}
.vendor-card > .button,
.vendor-card > .button-row {
  margin-top: auto;
}
.linked-events {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
  margin: 0 0 20px;
}
.linked-events a {
  background: #edf6f3;
  padding: 4px 7px;
  border-radius: 5px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.standalone {
  margin: 0 0 22px;
  max-width: 360px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-weight: 500;
  color: var(--muted);
  padding: 11px 13px;
  background: #f5f8fa;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 17px 13px;
  border-bottom: 1px solid #e4ecf0;
  vertical-align: middle;
}
td small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.settings-panel {
  max-width: 850px;
  padding: 0;
  overflow: hidden;
}
.settings-panel > .section-heading {
  padding: 24px 24px 0;
  margin-bottom: 0;
}
.settings-panel .editor-body {
  padding: 25px;
  overflow: visible;
}
.settings-panel .editor-form,
.settings-panel .editor-scroll {
  flex: none;
  overflow: visible;
}
.settings-panel .editor-scroll {
  scrollbar-gutter: auto;
}
.settings-panel .form-footer {
  background: #fbfcfd;
}
input:not([type='checkbox']):not([type='radio']),
select,
textarea {
  border: 1px solid var(--control-border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  width: 100%;
  min-width: 0;
  font-size: 14px;
  line-height: 1.4;
  min-height: 42px;
}
input::placeholder,
textarea::placeholder {
  color: var(--hint);
  opacity: 1;
  font-weight: 400;
  opacity: 1;
}
select {
  padding-right: 30px;
  text-overflow: ellipsis;
}
textarea {
  resize: vertical;
  min-height: 80px;
}
input[type='file'] {
  font-size: 12px !important;
  padding: 9px !important;
}
input[type='file']::file-selector-button {
  border: 0;
  border-radius: 5px;
  padding: 4px 7px;
  color: var(--teal);
  background: var(--soft);
  margin-right: 8px;
}
input[type='checkbox'] {
  accent-color: var(--teal);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 0;
}
input[type='checkbox'].switch {
  appearance: none;
  width: 42px;
  height: 24px;
  background: #6f8795;
  border-radius: 15px;
  position: relative;
  transition: background 0.2s;
  cursor: pointer;
}
.switch:checked {
  background: var(--teal) !important;
}
.switch:after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 1px 3px #0002;
  transition: left 0.2s;
}
.switch:checked:after {
  left: 21px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  color: #476375;
  min-width: 0;
}
.field-label-row {
  display: flex;
  gap: 6px;
  align-items: center;
}
.field-label-row > label {
  cursor: pointer;
}
.field input,
.field select,
.field textarea {
  font-weight: 400;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.check-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 5px 0;
  font-size: 13px;
  color: var(--ink);
  font-weight: 400;
  cursor: pointer;
}
.toggle-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 3px 0 22px;
  border-bottom: 1px solid var(--line);
}
.toggle-line small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
  font-weight: 400;
}
.info-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  background: #edf6f5;
  border: 1px solid #d4e8e4;
  color: #386960;
  border-radius: 9px;
  font-size: 12px;
}
.info-note svg {
  cursor: help;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #132c40a6;
  backdrop-filter: blur(4px);
  padding: 25px;
}
.modal {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 50px);
  width: min(660px, 100%);
  background: white;
  border-radius: 20px;
  box-shadow: 0 25px 80px #031b324d;
  overflow: hidden;
}
.modal.wide {
  width: min(860px, 100%);
}
.admin-heading,
.admin-section-heading,
.admin-section-title,
.position-card-heading,
.person-name-line,
.people-group-heading {
  display: flex;
  align-items: center;
}
.admin-heading {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.admin-title {
  display: flex;
  align-items: baseline;
  gap: 11px;
}
.admin-title .eyebrow {
  margin: 0;
}
.admin-title h1 {
  font-size: 28px;
}
.context-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  padding: 0;
  color: #557181;
  background: #e9f2f3;
  border-radius: 10px;
}
.context-help:hover,
.context-help:focus-visible {
  color: var(--teal);
  background: #dcefeb;
}
.admin-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  padding: 5px;
  margin-bottom: 24px;
  background: #e8eef1;
  border: 1px solid #d9e3e8;
  border-radius: 13px;
}
.admin-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: 8px;
  padding: 10px 12px;
  color: #506b7d;
  font-size: 13px;
  font-weight: 500;
  border-radius: 9px;
  white-space: nowrap;
}
.admin-tabs a:hover {
  color: var(--teal);
  background: #f4f8f8;
  text-decoration: none;
}
.admin-tabs a.selected {
  color: #056d66;
  background: white;
  box-shadow: 0 1px 4px #0a34441a;
}
.admin-section-heading {
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  margin-bottom: 14px;
}
.admin-section-title {
  min-width: 0;
  gap: 8px;
}
.admin-section-title h2 {
  white-space: nowrap;
}
.admin-section-title .context-help {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  border-radius: 9px;
}
.admin-subtabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  background: #e8eef1;
  border-radius: 10px;
}
.admin-subtabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 10px;
  color: var(--muted);
  background: transparent;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.admin-subtabs button.selected {
  color: var(--teal);
  background: white;
  box-shadow: 0 1px 3px #0a34441a;
}
.count-chip,
.people-group-heading span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  color: #4d6878;
  background: #e8eef1;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}
.admin-search {
  display: flex;
  align-items: center;
  gap: 9px;
  width: min(430px, 100%);
  min-height: 42px;
  margin-bottom: 18px;
  padding: 0 13px;
  color: #658091;
  background: white;
  border: 1px solid var(--control-border);
  border-radius: 10px;
}
.admin-search:focus-within {
  border-color: #65aca6;
  box-shadow: 0 0 0 3px #5ab8ae26;
}
.admin-search input[type='search'] {
  width: 100%;
  min-width: 0;
  min-height: auto;
  padding: 9px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  box-shadow: none;
}
.people-groups {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.people-group-heading {
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px 7px;
}
.people-group-heading h3 {
  color: #587184;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}
.panel.people-list {
  padding: 0;
  overflow: hidden;
}
.person-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
}
.person-row:last-child {
  border-bottom: 0;
}
.person-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #0a5061;
  background: #dfecef;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 500;
}
.person-body {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(0, 1.4fr);
  grid-template-rows: auto auto;
  column-gap: 28px;
  min-width: 0;
}
.person-name-line {
  grid-column: 1;
  grid-row: 1;
  gap: 9px;
}
.person-name-line strong,
.person-email {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.person-name-line strong {
  min-width: 0;
  font-size: 14px;
}
.person-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  grid-column: 1;
  padding: 2px 6px;
  border-radius: 5px;
  background: #f1f5f6;
  white-space: nowrap;
}
.person-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}
.person-state > span {
  width: 7px;
  height: 7px;
  background: #8aa0ad;
  border-radius: 50%;
}
.person-state.active {
  color: #187158;
}
.person-state.active > span {
  background: #13916d;
}
.person-state.invited {
  color: #805807;
}
.person-state.invited > span {
  background: #d39723;
}
.person-state.disabled {
  color: #9d3a3a;
}
.person-state.disabled > span {
  background: #c74a4a;
}
.person-email {
  display: block;
  grid-column: 1;
  grid-row: 2;
  max-width: 520px;
  margin-top: 1px;
  color: var(--muted);
  font-size: 12px;
}
.person-facts {
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-top: 5px;
  color: #3f5d6f;
  font-size: 12px;
}
.person-facts span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.person-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}
.person-actions .button {
  min-width: 40px;
  min-height: 40px;
}
.position-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 14px;
}
.position-card {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 18px;
}
.position-card-heading {
  justify-content: space-between;
  gap: 10px;
}
.position-kicker {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.position-person,
.position-access {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.position-access {
  color: var(--teal);
}
.position-card > .muted {
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.position-card .button-row {
  margin-top: auto;
}
.access-explanation {
  padding: 14px;
  background: var(--soft);
  border-radius: 10px;
  font-size: 14px;
}
.account-role-fields {
  display: grid;
  gap: 12px;
}
.role-summary {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}
.role-summary svg {
  margin-top: 2px;
  color: var(--teal);
}
.role-guide {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  margin-bottom: 14px;
  background: #fff;
  font-size: 14px;
}
.role-guide summary,
.activity-details summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  min-height: 44px;
  color: var(--teal);
  list-style: none;
}
.role-guide summary::-webkit-details-marker,
.activity-details summary::-webkit-details-marker {
  display: none;
}
.role-guide summary svg:last-child,
.activity-details summary svg {
  margin-left: auto;
}
.role-guide[open] summary svg:last-child,
.activity-details[open] summary svg {
  transform: rotate(180deg);
}
.role-guide dl,
.role-guide p {
  margin: 0 0 12px;
}
.role-guide dl > div {
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.role-guide dt {
  font-weight: 500;
}
.role-guide dd,
.role-guide p {
  margin-left: 0;
  color: var(--muted);
}
.role-guide summary:focus-visible,
.activity-details summary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 6px;
}
.role-inheritance {
  border-left: 3px solid var(--teal);
  background: var(--soft);
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
}
.role-inheritance > span {
  color: var(--muted);
  font-size: 12px;
}
.role-inheritance > div {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 6px 0;
}
.role-inheritance a {
  display: inline-block;
  padding: 10px 0 0;
}
.activity-filters.panel {
  padding: 16px;
  margin-bottom: 16px;
}
.activity-filter-main {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}
.activity-filter-main .field,
.activity-filter-extra .field {
  min-width: 0;
}
.activity-filter-main input {
  min-width: 0;
  max-width: 100%;
}
.activity-filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.activity-zone {
  margin-right: auto;
  font-size: 12px;
}
.activity-filter-extra {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.activity-pending {
  margin-top: 8px;
  font-size: 13px;
}
.activity-results.panel {
  padding: 0 20px;
}
.activity-results-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  color: var(--muted);
  font-size: 14px;
}
.activity-entry {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.activity-entry-heading {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.activity-type {
  color: var(--teal);
}
.activity-entry h3 {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}
.activity-people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0 0;
  font-size: 14px;
}
.activity-people dt {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 2px;
}
.activity-people dd,
.activity-details dd {
  margin: 0;
}
.activity-details {
  font-size: 13px;
  margin-top: 4px;
}
.activity-details summary {
  width: max-content;
  max-width: 100%;
  gap: 10px;
}
.activity-details dl {
  margin: 8px 0 0;
  background: var(--canvas);
  padding: 4px 12px;
  border-radius: 8px;
}
.activity-details dl > div {
  padding: 8px 0;
}
.activity-details dt {
  color: var(--muted);
  margin-bottom: 3px;
}
.activity-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
@media (max-width: 600px) {
  .activity-filters.panel {
    padding: 12px;
  }
  .activity-filter-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .activity-filter-main > :first-child {
    grid-column: 1 / -1;
  }
  .activity-filter-extra {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .activity-filter-actions {
    gap: 4px;
    flex-wrap: wrap;
  }
  .activity-zone {
    display: none;
  }
  .activity-filter-actions > :first-child {
    margin-right: auto;
  }
  .activity-filter-actions .button {
    padding-left: 10px;
    padding-right: 10px;
  }
  .activity-results.panel {
    padding: 0 14px;
  }
  .activity-entry-heading {
    font-size: 12px;
  }
  .activity-people {
    gap: 8px;
  }
}
.admin-history-panel {
  padding-top: 5px;
  padding-bottom: 5px;
}
.admin-history article {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.event-tabs > a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  color: var(--muted);
  white-space: nowrap;
  font-weight: 500;
  border-bottom: 3px solid transparent;
}
.event-tabs > a.selected {
  color: var(--teal);
  border-bottom-color: var(--teal);
}
.modal-header {
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid var(--line);
  padding: 20px 23px;
  flex-shrink: 0;
}
.modal-header h2 {
  font-size: 20px;
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.modal-header > .button {
  margin-left: auto;
}
.editor-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
}
.editor-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: scroll;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: auto;
  scrollbar-color: #73969e #edf3f5;
  -webkit-overflow-scrolling: touch;
}
.editor-scroll > .editor-body {
  overflow: visible;
}
.editor-body > * {
  flex-shrink: 0;
}
.task-details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}
.task-details summary {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  color: var(--teal);
  min-height: 24px;
}
.task-details summary::-webkit-details-marker {
  display: none;
}
.task-details summary svg:last-child {
  margin-left: auto;
  margin-right: 0;
}
.task-details[open] summary svg:last-child {
  transform: rotate(180deg);
}
.task-details summary svg {
  vertical-align: middle;
  margin-right: 8px;
}
.task-details[open] > .stack {
  margin-top: 18px;
}
.editor-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  min-height: 0;
  border: 0;
  margin: 0;
  min-width: 0;
  scrollbar-width: thin;
  scrollbar-color: #a9c4ca transparent;
}
.editor-body:disabled {
  opacity: 0.9;
}
.editor-scroll > .editor-after-fields {
  padding-top: 0;
}
.form-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
  background: white;
}
.form-error {
  padding: 12px 24px;
  color: var(--danger);
  font-size: 13px;
  background: #fff0ee;
  flex-shrink: 0;
}
.inset {
  background: #f5f8fa;
  border: 1px solid #e0e9ee;
  border-radius: 11px;
  padding: 19px;
}
.task-context {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--teal);
  font-size: 12px;
  font-weight: 500;
}
.file-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.person-intro {
  display: flex;
  gap: 15px;
  align-items: center;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(600px, 92%);
  background: #123b49;
  color: white;
  box-shadow: 0 10px 25px #12354526;
  padding: 14px 17px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  z-index: 100;
}
.toast span {
  overflow-wrap: anywhere;
}
.toast button {
  background: none;
  color: white;
  padding: 3px;
  margin-left: 5px;
}
.toast button:focus-visible {
  outline-color: #fff;
}
.registration-settings {
  padding: 0;
  overflow: hidden;
}
.builder-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 6px;
}
.base-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.base-fields > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #f0f5f7;
  border: 1px dashed #cddde4;
  border-radius: 9px;
  padding: 12px 14px;
  font-size: 12px;
}
.base-fields .badge {
  font-size: 12px;
}
.question-card {
  display: flex;
  gap: 14px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfd;
}
.question-number {
  width: 25px;
  height: 25px;
  border-radius: 7px;
  background: #e1eeeb;
  color: var(--teal-dark);
  font-weight: 500;
  text-align: center;
  line-height: 25px;
  font-size: 12px;
  flex-shrink: 0;
}
.question-inputs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.question-tools {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.question-tools .button {
  min-width: 32px;
  min-height: 32px;
  padding: 5px;
}
.share-row {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  background: #f8fbfc;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.share-row > div {
  flex: 1;
  min-width: 180px;
}
.share-row strong {
  font-size: 13px;
}
.answer {
  background: #f4f8f9;
  border-radius: 9px;
  padding: 13px;
}
.answer strong {
  font-size: 12px;
}
.answer p {
  font-size: 13px;
  margin-top: 6px;
}
.mail-list > button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  padding: 17px 4px;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--ink);
}
.mail-list > button > span:not(.badge) {
  flex: 1;
  min-width: 0;
}
.mail-list strong {
  font-size: 13px;
}
.mail-list small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.mail-list > button > svg:first-child {
  color: var(--teal);
}
.mail-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
}
.public-shell {
  width: min(660px, 92%);
  margin: 45px auto 60px;
}
.public-shell > .brand {
  justify-content: center;
  margin-bottom: 35px;
}
.login-card,
.registration-card {
  padding: 36px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 15px 50px #153b4610;
}
.login-card h1 {
  font-size: 31px;
  line-height: 1.25;
  max-width: 470px;
}
.login-card > .muted {
  margin: 14px 0 24px;
}
.login-card > .tabs {
  margin-bottom: 23px;
  background: #f2f6f8;
  border-radius: 9px;
  padding: 4px;
}
.login-card > .small {
  margin-top: 23px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.login-card .button[type='submit'] {
  width: 100%;
  margin-top: 4px;
}
.error {
  color: var(--danger);
  font-size: 13px;
}
.success {
  color: var(--teal);
  font-size: 13px;
}
.loading {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--teal);
}
.spin {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.public-facts {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 25px 0;
  color: #355d6c;
  font-size: 13px;
}
.public-facts span {
  display: flex;
  gap: 9px;
  align-items: center;
}
.registration-card > .stack {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}
.registration-card > .info-note {
  margin-top: 25px;
}
.registration-success {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
}
.registration-success > svg {
  color: var(--teal);
}
.reference {
  background: var(--soft);
  padding: 10px 15px;
  border-radius: 7px;
  color: var(--teal-dark);
  font-weight: 500;
  font-size: 13px;
}
@media (min-width: 1450px) {
  .content {
    padding-top: 42px;
  }
  .app-header {
    padding-left: max(4%, calc((100vw - 1360px) / 2));
    padding-right: max(4%, calc((100vw - 1360px) / 2));
  }
}
@media (max-width: 1100px) {
  .app-header {
    gap: 16px;
    padding: 0 3%;
  }
  .app-header nav {
    gap: 0;
  }
  .app-header nav a {
    padding: 10px 9px;
    font-size: 12px;
  }
  .account-name {
    display: none;
  }
  .header-actions {
    gap: 4px;
  }
  .brand {
    font-size: 17px;
  }
  .brand-mark {
    width: 38px;
    height: 38px;
  }
  .brand small {
    font-size: 12px;
  }
  .summary-strip button {
    padding: 18px 14px;
    gap: 11px;
  }
  .summary-strip small {
    font-size: 12px;
  }
  .events-grid,
  .vendors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filter-row {
    width: 100%;
  }
  .filter-row .search {
    flex: 1;
    max-width: none;
  }
  .member-row {
    flex-wrap: wrap;
  }
  .member-controls {
    margin-left: auto;
  }
  .details-grid {
    grid-template-columns: 1fr;
  }
  .event-heading {
    align-items: flex-start;
    flex-direction: row;
  }
  .event-facts {
    gap: 20px;
  }
  .base-fields {
    grid-template-columns: 1fr;
  }
  .base-fields > span {
    padding: 10px 13px;
  }
}
@media (max-width: 720px) {
  :root {
    font-size: 16px;
  }
  .app-header {
    height: 69px;
    padding: 0 5%;
    position: sticky;
    gap: 10px;
  }
  .app-header .brand small {
    font-size: 12px;
  }
  .app-header .brand {
    font-size: 17px;
  }
  .app-header nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    height: 68px;
    justify-content: space-around;
    gap: 0;
    z-index: 40;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .app-header nav a {
    flex: 1;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 8px 3px;
    font-size: 12px;
    border-radius: 0;
    height: 100%;
    white-space: normal;
    text-align: center;
  }
  .app-header nav a.active {
    background: #eff8f5;
  }
  .app-header nav a svg {
    width: 19px;
    height: 19px;
  }
  .content {
    width: 91%;
    padding: 25px 0 35px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading p {
    font-size: 12px;
    max-width: 320px;
  }
  .page-heading > .button {
    font-size: 0;
    padding: 10px;
    min-width: 42px;
  }
  .page-heading > .button svg {
    width: 20px;
    height: 20px;
  }
  .eyebrow {
    font-size: 12px;
    letter-spacing: 1.3px;
  }
  .summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 14px;
  }
  .summary-strip button {
    padding: 9px 10px;
    gap: 8px;
    min-height: 60px;
  }
  .summary-strip strong {
    font-size: 20px;
  }
  .summary-strip small {
    font-size: 12px;
    margin-top: 2px;
  }
  .summary-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 9px;
  }
  .summary-icon svg {
    width: 18px;
  }
  .work-toolbar {
    padding: 15px;
    gap: 14px;
  }
  .tabs {
    gap: 3px;
    flex-wrap: nowrap;
  }
  .tabs .button {
    font-size: 12px;
    padding: 8px;
    gap: 5px;
    min-height: 36px;
  }
  .tabs .button svg {
    width: 15px;
    height: 15px;
  }
  .filter-row {
    gap: 8px;
    flex-wrap: wrap;
  }
  .filter-row select {
    max-width: none;
    width: 100%;
  }
  .filter-row .search {
    width: 100%;
    min-width: 0;
  }
  .task-row {
    padding: 18px 14px;
    gap: 11px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .task-state {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    margin-top: 2px;
  }
  .task-state svg {
    width: 17px;
    height: 17px;
  }
  .task-name {
    font-size: 14px;
  }
  .task-main {
    flex: 1;
    min-width: 150px;
  }
  .task-meta {
    font-size: 12px;
    gap: 6px 10px;
  }
  .task-actions {
    padding-left: 41px;
    width: 100%;
    gap: 10px;
    justify-content: space-between;
  }
  .task-actions .button.icon {
    min-height: 30px;
    padding: 5px;
    min-width: 32px;
  }
  .task-actions .badge {
    font-size: 12px;
  }
  .task-note {
    font-size: 12px;
    max-width: 100%;
    white-space: normal;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .panel {
    padding: 19px;
  }
  .work-panel {
    padding: 0;
  }
  .events-grid,
  .vendors-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .event-card {
    padding: 21px;
  }
  .page-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
  }
  .page-toolbar .search {
    max-width: none;
  }
  .segmented {
    justify-content: space-between;
  }
  .segmented button {
    font-size: 12px;
    padding: 8px 10px;
  }
  .segmented button svg {
    display: none;
  }
  .event-heading {
    gap: 19px;
  }
  .event-heading h1 {
    font-size: 27px;
    line-height: 1.25;
  }
  .event-heading .button-row {
    gap: 7px;
  }
  .event-heading .button {
    font-size: 12px;
    padding: 8px 10px;
    min-height: 36px;
    gap: 5px;
  }
  .event-heading .button svg {
    width: 15px;
    height: 15px;
  }
  .event-facts {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .event-facts > div {
    font-size: 12px;
  }
  .event-tabs {
    gap: 20px;
    margin-bottom: 20px;
  }
  .event-tabs button {
    font-size: 12px;
    padding-bottom: 12px;
  }
  .event-tabs button.selected {
    padding-bottom: 9px;
  }
  .event-tabs button svg {
    width: 16px;
    height: 16px;
  }
  .admin-heading {
    margin-bottom: 12px;
  }
  .admin-title {
    gap: 8px;
  }
  .admin-title .eyebrow {
    display: none;
  }
  .admin-title h1 {
    font-size: 24px;
    letter-spacing: -0.6px;
  }
  .admin-heading > .context-help {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
  .admin-tabs {
    gap: 3px;
    margin-bottom: 18px;
    padding: 4px;
  }
  .admin-tabs a {
    flex-direction: column;
    gap: 3px;
    min-height: 51px;
    padding: 6px 2px;
    font-size: 12px;
    line-height: 1.15;
    overflow: hidden;
  }
  .admin-tabs a svg {
    width: 17px;
    height: 17px;
  }
  .admin-section-heading {
    min-height: 38px;
    margin-bottom: 11px;
  }
  .admin-section-title {
    gap: 6px;
  }
  .admin-section-title h2 {
    font-size: 19px;
  }
  .admin-section-title .context-help {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
  .admin-section-heading > .button {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 12px;
  }
  .settings-heading {
    align-items: center;
  }
  .admin-subtabs button {
    padding: 6px 8px;
    font-size: 12px;
  }
  .wide-button-text {
    display: none;
  }
  .admin-search {
    min-height: 39px;
    margin-bottom: 14px;
  }
  .people-groups {
    gap: 14px;
  }
  .people-group-heading {
    padding-bottom: 5px;
  }
  .person-row {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 75px;
    padding: 10px 11px;
  }
  .person-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 12px;
  }
  .person-name-line {
    gap: 7px;
  }
  .person-body {
    display: block;
  }
  .person-state {
    gap: 0;
    font-size: 0;
  }
  .person-name-line strong {
    font-size: 13px;
  }
  .person-email,
  .person-facts {
    font-size: 12px;
  }
  .person-email {
    max-width: min(47vw, 240px);
  }
  .person-facts {
    display: flex;
    gap: 3px 11px;
    max-width: calc(100vw - 145px);
    overflow: hidden;
  }
  .person-facts span {
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .person-facts span + span::before {
    content: none;
  }
  .person-facts span:last-child {
    display: none;
  }
  .person-actions {
    gap: 0;
  }
  .person-actions .button {
    min-width: 38px;
    min-height: 38px;
    padding: 8px;
  }
  .position-grid {
    gap: 10px;
  }
  .panel.position-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 10px;
    padding: 14px;
  }
  .position-card-heading,
  .position-card > .muted {
    grid-column: 1 / -1;
  }
  .position-person,
  .position-access {
    grid-column: 1;
  }
  .position-card .button-row {
    grid-column: 2;
    grid-row: 2 / span 2;
    justify-content: flex-end;
    align-self: center;
    margin: 0;
  }
  .position-person,
  .position-access {
    font-size: 12px;
  }
  .position-card > .muted {
    display: none;
  }
  .position-kicker {
    display: none;
  }
  .panel.admin-history-panel {
    padding: 3px 15px;
  }
  .panel.people-list {
    padding: 0;
  }
  .admin-history article {
    padding: 11px 0;
  }
  .admin-history article strong {
    font-size: 12px;
  }
  .admin-history article p {
    font-size: 12px;
  }
  .draft-banner {
    font-size: 12px;
    padding: 12px;
    align-items: flex-start;
  }
  .task-filters {
    padding: 12px 15px;
    flex-wrap: wrap;
  }
  .task-filters select {
    width: 100%;
    max-width: none;
  }
  .task-filters .search {
    max-width: none;
    flex: 1;
    min-width: 0;
  }
  .planner-task-actions {
    padding: 0 14px 14px 55px;
  }
  .planner-task-actions .button {
    font-size: 12px;
    padding: 6px 7px;
    min-height: 32px;
  }
  .section-heading {
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
  }
  .section-heading h2 {
    font-size: 19px;
  }
  .section-heading .button-row .button {
    font-size: 12px;
    min-height: 37px;
    padding: 8px 10px;
  }
  .member-row {
    gap: 10px;
    align-items: flex-start;
  }
  .member-main {
    min-width: 150px;
  }
  .assignment-count {
    margin: 0 0 0 46px;
  }
  .member-controls {
    width: 100%;
    margin-left: 46px;
  }
  .member-controls select {
    flex: 1;
    max-width: none;
  }
  .member-row > .badge:last-child {
    margin-left: auto;
  }
  .team-group > h3 {
    font-size: 12px;
  }
  .member-main strong {
    font-size: 13px;
  }
  .member-main small {
    font-size: 12px;
  }
  .details-grid {
    gap: 18px;
  }
  .details-list div {
    font-size: 12px;
  }
  .app-footer {
    font-size: 12px;
    margin-bottom: 91px;
    gap: 12px;
  }
  .app-footer span:last-child {
    text-align: right;
  }
  .modal-backdrop {
    padding: 12px;
  }
  .users-table,
  .users-table tbody,
  .users-table tr,
  .users-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .users-table thead {
    display: none;
  }
  .users-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .users-table td:first-child,
  .users-table td:nth-child(2),
  .users-table td:last-child {
    grid-column: 1 / -1;
  }
  .admin-users-heading {
    flex-wrap: wrap;
  }
  .page-heading.admin-users-heading > .button {
    font-size: 14px;
    padding: 10px 14px;
    width: auto;
  }
  .users-table td {
    border: 0;
    padding: 5px 16px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .users-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    color: var(--muted);
  }
  .users-table td:empty {
    display: none;
  }
  .position-card {
    padding: 18px;
  }
  .modal {
    border-radius: 16px;
    max-height: calc(100dvh - 24px);
  }
  .modal-header {
    padding: 16px;
    gap: 10px;
  }
  .modal-header h2 {
    font-size: 18px;
  }
  .modal-header .icon-tile {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }
  .modal-header .icon-tile svg {
    width: 19px;
  }
  .editor-body {
    padding: 18px;
    gap: 18px;
  }
  .editor-body .form-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .form-footer {
    padding: 14px 18px;
  }
  .form-footer .button {
    font-size: 12px;
    padding: 10px 13px;
    min-height: 42px;
  }
  .field {
    font-size: 14px;
  }
  input:not([type='checkbox']):not([type='radio']),
  select,
  textarea {
    font-size: 16px;
    min-height: 44px;
  }
  .search input {
    font-size: 16px !important;
    min-height: 44px !important;
  }
  .inset {
    padding: 14px;
  }
  .info-note {
    font-size: 12px;
  }
  .panel.settings-panel {
    padding: 0;
  }
  .settings-panel .editor-body {
    padding: 19px;
  }
  .settings-panel > .section-heading {
    padding: 20px 19px 0;
  }
  .settings-panel .form-grid {
    grid-template-columns: 1fr;
  }
  .registration-settings {
    padding: 0;
  }
  .builder-heading {
    align-items: flex-start;
    gap: 10px;
  }
  .builder-heading h3 {
    font-size: 15px;
  }
  .builder-heading .button {
    font-size: 12px;
    padding: 7px;
  }
  .question-card {
    padding: 13px;
    gap: 9px;
    flex-wrap: wrap;
  }
  .question-number {
    width: 21px;
    height: 21px;
    font-size: 12px;
    line-height: 21px;
  }
  .question-inputs {
    min-width: calc(100% - 35px);
  }
  .question-tools {
    flex-direction: row;
    margin-left: 29px;
  }
  .share-row {
    padding: 18px;
    gap: 10px;
  }
  .share-row > div {
    flex-basis: 100%;
  }
  .share-row .button {
    font-size: 12px;
  }
  .mail-list > button {
    flex-wrap: wrap;
    gap: 10px;
  }
  .mail-list > button > span:not(.badge) {
    min-width: calc(100% - 45px);
  }
  .mail-list > button .badge {
    margin-left: 30px;
  }
  .mail-list strong {
    font-size: 12px;
  }
  .mail-list small {
    font-size: 12px;
  }
  .toast {
    bottom: 82px;
    font-size: 12px;
    width: max-content;
    max-width: 92%;
    padding: 12px 14px;
  }
  .public-shell {
    margin-top: 30px;
  }
  .login-card,
  .registration-card {
    padding: 24px;
  }
  .login-card h1,
  .registration-card h1 {
    font-size: 27px;
  }
  .login-card .tabs .button {
    font-size: 12px;
    padding: 8px;
  }
  .public-shell > .brand {
    margin-bottom: 25px;
  }
  .public-facts {
    font-size: 12px;
  }
  .registration-card .form-grid {
    grid-template-columns: 1fr;
  }
  .check-line {
    font-size: 12px;
    align-items: flex-start;
  }
  .check-line input {
    margin-top: 2px;
  }
  table {
    min-width: 550px;
  }
  .public-shell .check-line {
    align-items: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.search input:not([type='checkbox']):not([type='radio']) {
  border: 0;
  background: transparent;
  box-shadow: none;
  min-height: 38px;
  padding: 8px 0;
  border-radius: 0;
  font-size: 13px;
}

/* Accessible, mobile-first finishing layer */
.brand-link,
.app-header nav a,
.button,
.event-card h2 a,
.back-link,
.linked-events a,
.admin-tabs a {
  text-decoration: none;
}
.content:focus {
  outline: none;
}
.app-header {
  min-height: 64px;
  height: auto;
  padding-top: 8px;
  padding-bottom: 8px;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}
.brand {
  font-size: 18px;
}
.content {
  padding-top: 24px;
  padding-bottom: 40px;
}
.page-heading {
  margin-bottom: 18px;
}
.page-heading p {
  margin-top: 4px;
}
.panel {
  padding: 21px;
}
.button {
  min-height: 44px;
  font-size: 14px;
}
.button.small {
  min-height: 40px;
  font-size: 13px;
}
.button.icon {
  min-width: 44px;
}
.event-card-statuses {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}
.nav-label-short,
.tab-label-short {
  display: none;
}
@media (min-width: 721px) and (max-width: 950px) {
  .app-header {
    gap: 12px;
    padding-right: 12px;
    padding-left: 12px;
  }
  .app-header .brand small,
  .nav-label-wide {
    display: none;
  }
  .nav-label-short {
    display: inline;
  }
  .app-header nav {
    justify-content: center;
    min-width: 0;
  }
  .app-header nav a {
    flex-direction: column;
    gap: 2px;
    padding: 6px 8px;
    min-height: 44px;
  }
}
.help-tip {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}
.help-popover {
  position: fixed;
  z-index: 150;
  width: min(320px, calc(100vw - 32px));
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--control-border);
  border-radius: 10px;
  box-shadow: 0 10px 30px #12354526;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  max-height: min(240px, calc(100dvh - 32px));
  overflow-y: auto;
  overscroll-behavior: contain;
  overflow-wrap: anywhere;
}
.info-note .context-help {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
}
.install-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 14px;
  padding: 14px;
  background: #f4f8f8;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.install-panel > div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.install-panel h3 {
  font-size: 15px;
}
.install-panel small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
}
.install-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--teal);
  background: var(--soft);
  border-radius: 9px;
}
.install-help {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
}
.install-status {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  color: #116b4b;
  background: #e4f3ed;
  border-radius: 10px;
}
.toast.error {
  background: #8f2f2f;
}
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
}

@media (max-width: 720px) {
  .app-header {
    min-height: calc(56px + env(safe-area-inset-top));
    height: auto;
    padding: max(6px, env(safe-area-inset-top)) 12px 6px;
  }
  .app-header .brand {
    font-size: 16px;
  }
  .app-header .brand small,
  .account-name {
    display: none;
  }
  .app-header .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  .app-header .brand-mark svg {
    width: 21px;
    height: 21px;
  }
  .header-actions {
    gap: 2px;
  }
  .account-button {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }
  .app-header nav {
    height: calc(64px + env(safe-area-inset-bottom));
    min-height: calc(64px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
  }
  .app-header nav a {
    min-width: 0;
    min-height: 64px;
    height: 64px;
    padding: 6px 3px;
    font-size: 12px;
    line-height: 1.15;
  }
  .nav-label-wide {
    display: none;
  }
  .nav-label-short {
    display: inline;
  }
  .content {
    width: auto;
    margin: 0;
    padding: 15px 12px calc(84px + env(safe-area-inset-bottom));
  }
  .page-heading {
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
  }
  .page-heading h1,
  .event-heading h1,
  .admin-title h1 {
    margin-top: 0;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -0.35px;
  }
  .page-heading p {
    display: none;
  }
  .page-heading.event-heading p {
    display: block;
    font-size: 13px;
    margin-top: 4px;
  }
  .page-heading .eyebrow {
    display: none;
  }
  .page-heading > .button {
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    font-size: 13px;
  }
  .eyebrow {
    margin-bottom: 3px;
    font-size: 12px;
    letter-spacing: 1px;
  }
  .panel {
    padding: 16px;
  }
  .summary-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    margin-bottom: 12px;
  }
  .summary-strip button {
    display: block;
    min-width: 0;
    min-height: 56px;
    padding: 7px 3px;
    text-align: center;
    border-radius: 10px;
  }
  .summary-icon {
    display: none;
  }
  .summary-strip strong {
    font-size: 18px;
  }
  .summary-strip small {
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.15;
    white-space: normal;
  }
  .work-toolbar {
    padding: 12px;
    gap: 10px;
  }
  .work-toolbar > .tabs,
  .login-card > .tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 4px;
  }
  .tabs .button {
    min-width: 0;
    min-height: 44px;
    padding: 7px 5px;
    font-size: 12px;
    line-height: 1.2;
    white-space: normal;
  }
  .filter-row,
  .task-filters {
    width: 100%;
    gap: 8px;
  }
  .filter-row select,
  .filter-row .search,
  .task-filters select,
  .task-filters .search {
    width: 100%;
    max-width: none;
  }
  .task-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px 10px;
    padding: 14px 12px;
  }
  .task-state {
    display: none;
  }
  .task-main {
    min-width: 0;
  }
  .task-name {
    font-size: 15px;
  }
  .task-meta,
  .task-note {
    font-size: 12px;
  }
  .task-note {
    display: -webkit-box;
    max-width: 100%;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .task-actions {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    flex-direction: column;
    align-items: flex-end;
  }
  .task-actions .button.icon,
  .planner-task-actions .button {
    min-width: 44px;
    min-height: 44px;
  }
  .planner-task-actions {
    padding: 0 12px 12px 56px;
  }
  .page-toolbar {
    gap: 9px;
    margin-bottom: 14px;
  }
  .segmented {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
  }
  .segmented button {
    justify-content: center;
    min-width: 0;
    min-height: 44px;
    padding: 7px 4px;
    font-size: 12px;
  }
  .events-grid,
  .vendors-grid {
    gap: 12px;
  }
  .event-card {
    padding: 16px;
  }
  .event-card-top {
    margin-bottom: 12px;
  }
  .event-card h2 {
    font-size: 18px;
  }
  .event-place {
    min-height: 0;
    margin: 9px 0 13px;
    font-size: 13px;
  }
  .event-card-meta {
    margin-bottom: 15px;
    font-size: 13px;
  }
  .event-heading {
    align-items: flex-start;
    gap: 12px;
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .event-heading .button-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 7px;
  }
  .event-heading .button {
    min-width: 0;
    min-height: 44px;
    padding: 8px;
    font-size: 12px;
    white-space: normal;
  }
  .event-facts {
    display: none;
  }
  .event-facts > div {
    font-size: 13px;
  }
  .event-facts small {
    font-size: 12px;
  }
  .event-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 5px;
    margin-bottom: 16px;
    padding: 4px;
    overflow: visible;
    background: #e8eef1;
    border: 0;
    border-radius: 11px;
  }
  .event-tabs button {
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    min-height: 44px;
    padding: 7px 4px;
    color: var(--muted);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 12px;
    white-space: normal;
  }
  .event-tabs button.selected {
    padding-bottom: 7px;
    color: var(--teal-dark);
    background: #fff;
    border-color: var(--teal);
  }
  .tab-label-wide {
    display: none;
  }
  .tab-label-short {
    display: inline;
  }
  .details-list div {
    align-items: flex-start;
  }
  .details-list dt,
  .details-list dd {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .member-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: start;
    gap: 7px 10px;
  }
  .member-main {
    min-width: 0;
  }
  .member-main strong,
  .member-main small,
  .assignment-count {
    font-size: 12px;
  }
  .assignment-count {
    grid-column: 2;
    margin: 0;
  }
  .member-row > .badge {
    grid-column: 3;
    grid-row: 1;
  }
  .member-controls {
    grid-column: 2 / -1;
    width: 100%;
    margin: 0;
  }
  .member-controls select {
    flex: 1;
    max-width: none;
    min-height: 44px;
  }
  .admin-heading {
    min-height: 44px;
    margin-bottom: 8px;
  }
  .admin-title .eyebrow {
    display: none;
  }
  .admin-tabs {
    margin-bottom: 14px;
  }
  .admin-tabs a {
    min-height: 52px;
    padding: 6px 3px;
    font-size: 12px;
    line-height: 1.15;
    overflow: visible;
  }
  .admin-section-heading {
    min-height: 44px;
    margin-bottom: 9px;
  }
  .admin-section-title h2,
  .section-heading h2 {
    font-size: 18px;
  }
  .context-help,
  .admin-section-title .context-help,
  .admin-heading > .help-tip .context-help {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
  .person-row {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    align-items: start;
    min-height: 0;
    padding: 11px;
  }
  .person-tools {
    flex-direction: column;
    gap: 3px;
    min-width: 50px;
  }
  .person-avatar {
    width: 32px;
    height: 32px;
  }
  .person-body {
    display: block;
  }
  .person-name-line {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .person-name-line strong {
    font-size: 14px;
  }
  .person-state,
  .person-email,
  .person-facts {
    font-size: 12px;
  }
  .person-email {
    max-width: 100%;
  }
  .person-facts {
    display: flex;
    gap: 2px 10px;
    max-width: 100%;
    margin-top: 3px;
    overflow: visible;
    flex-wrap: wrap;
  }
  .person-facts span,
  .person-name-line strong,
  .person-email {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .person-facts span:last-child {
    display: none;
  }
  .person-actions .button {
    min-width: 44px;
    min-height: 44px;
  }
  .modal-backdrop {
    align-items: center;
    padding: 8px;
  }
  .modal {
    width: 100%;
    max-height: calc(100dvh - 16px);
    border-radius: 16px;
  }
  .modal-header {
    padding: 12px;
    gap: 8px;
  }
  .modal-header h2 {
    font-size: 18px;
  }
  .editor-scroll {
    overflow-y: auto;
    scrollbar-gutter: auto;
  }
  .editor-body {
    padding: 15px;
    gap: 15px;
  }
  .form-footer {
    padding: 12px 15px calc(12px + env(safe-area-inset-bottom));
  }
  .form-footer .button {
    min-height: 44px;
    font-size: 13px;
  }
  .field {
    font-size: 14px;
  }
  input:not([type='checkbox']):not([type='radio']),
  select,
  textarea,
  .search input:not([type='checkbox']):not([type='radio']) {
    min-height: 44px;
    font-size: 16px;
  }
  .section-heading {
    margin-bottom: 14px;
  }
  .registration-settings .section-heading {
    align-items: stretch;
  }
  .section-heading .tabs.compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .table-wrap {
    overflow: visible;
  }
  table,
  tbody,
  tr,
  td {
    display: block;
    width: 100%;
    min-width: 0;
  }
  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  tbody tr {
    margin-bottom: 10px;
    padding: 8px 0;
    border: 1px solid var(--line);
    border-radius: 10px;
  }
  td {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    padding: 7px 12px;
    border: 0;
    overflow-wrap: anywhere;
  }
  td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 12px;
  }
  td:first-child {
    display: block;
  }
  td:first-child::before {
    display: block;
    margin-bottom: 3px;
  }
  td:last-child .button {
    width: 100%;
  }
  .install-panel {
    grid-template-columns: 1fr;
  }
  .install-panel > .button,
  .install-help {
    grid-column: 1;
    width: 100%;
  }
  .public-shell {
    width: auto;
    margin: 16px 12px calc(24px + env(safe-area-inset-bottom));
  }
  .public-shell > .brand {
    margin-bottom: 16px;
  }
  .login-card,
  .registration-card {
    padding: 18px;
    border-radius: 16px;
  }
  .login-card h1,
  .registration-card h1 {
    font-size: 23px;
  }
  .app-footer {
    width: auto;
    margin: 0 12px calc(76px + env(safe-area-inset-bottom));
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .content {
    padding-right: 10px;
    padding-left: 10px;
  }
  .app-header {
    padding-right: 8px;
    padding-left: 8px;
  }
  .app-header .brand {
    gap: 7px;
    font-size: 15px;
  }
  .summary-strip small {
    font-size: 12px;
  }
  .event-tabs {
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  }
  .admin-tabs a svg,
  .segmented button svg {
    display: none;
  }
}

@media (max-width: 720px) {
  .app-header {
    padding-right: max(12px, env(safe-area-inset-right));
    padding-left: max(12px, env(safe-area-inset-left));
  }
  .app-header nav {
    padding-right: env(safe-area-inset-right);
    padding-left: env(safe-area-inset-left);
  }
  .content {
    padding-right: max(12px, env(safe-area-inset-right));
    padding-left: max(12px, env(safe-area-inset-left));
  }
  .modal-backdrop {
    padding-right: max(8px, env(safe-area-inset-right));
    padding-left: max(8px, env(safe-area-inset-left));
  }
  .public-shell,
  .app-footer {
    margin-right: max(12px, env(safe-area-inset-right));
    margin-left: max(12px, env(safe-area-inset-left));
  }
}

@media (orientation: landscape) and (pointer: coarse) {
  .app-header {
    padding-right: max(4%, env(safe-area-inset-right));
    padding-left: max(4%, env(safe-area-inset-left));
  }
  .modal-backdrop {
    padding-right: max(18px, env(safe-area-inset-right));
    padding-left: max(18px, env(safe-area-inset-left));
  }
  .public-shell {
    padding-right: env(safe-area-inset-right);
    padding-left: env(safe-area-inset-left);
  }
}

@media (hover: none), (pointer: coarse) {
  button,
  a.button,
  select,
  input:not([type='checkbox']):not([type='radio']),
  summary {
    min-height: 44px;
  }
  .brand-link,
  .back-link,
  .event-card h2 a,
  .contact-lines a,
  .linked-events a,
  .file-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

@media (forced-colors: active) {
  .button,
  .summary-strip button,
  input,
  select,
  textarea,
  .event-tabs button.selected {
    border: 1px solid ButtonText;
  }
}

.data-controls {
  margin-top: 16px;
}
.board-title {
  display: flex;
  align-items: center;
  gap: 6px;
}
.board-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.board-heading > div {
  flex: initial;
  width: auto;
  min-width: 0;
}
.board-heading .board-actions {
  flex-wrap: nowrap;
}
.board-heading p {
  margin: 0;
}
.board-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.board-actions .button {
  min-width: 44px;
}
.board-filters {
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(100px, 1fr) minmax(120px, 1fr) minmax(150px, 2fr);
  gap: 12px;
}
.board-filters .field {
  min-width: 0;
}
.board-filters select,
.board-filters input {
  min-width: 0;
  width: 100%;
  max-width: none;
}
.board-result-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 10px;
  color: var(--muted);
  font-size: 13px;
}
.activity-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 6px;
  padding: 12px 16px 0;
}
.activity-toolbar > .field {
  display: contents;
}
.activity-toolbar .field-label-row {
  grid-column: 1;
  grid-row: 1;
}
.activity-toolbar > .button {
  grid-column: 2;
  grid-row: 1;
}
.activity-toolbar > .help-tip {
  grid-column: 3;
  grid-row: 1;
}
.activity-toolbar select {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  min-width: 0;
}
.board-add-short {
  display: none;
}
@media (max-width: 440px) {
  .board-title > .help-tip,
  .board-add-wide {
    display: none;
  }
  .board-add-short {
    display: inline;
  }
  .board-title h1 {
    white-space: nowrap;
  }
  .board-heading {
    gap: 6px;
  }
  .board-heading .board-actions {
    gap: 2px;
  }
  .board-heading .board-actions > .button {
    padding-inline: 10px;
  }
  .activity-toolbar {
    padding-inline: 12px;
  }
}
.board-filter-disclosure {
  margin: 0 16px;
}
.board-filter-disclosure > summary {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  min-height: 44px;
  color: var(--teal);
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
}
.board-filter-disclosure > summary::-webkit-details-marker {
  display: none;
}
.board-filter-disclosure .board-filters {
  padding: 0 0 12px;
}
.board-result-count button {
  color: var(--teal);
  background: transparent;
  min-height: 44px;
  text-decoration: underline;
}
.my-task-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
}
.my-task-filters > select,
.my-task-filters > .search {
  width: 100%;
  min-width: 0;
  max-width: none;
}
.event-browser-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(140px, 180px) minmax(160px, 1fr);
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.event-browser-filters > select,
.event-browser-filters > .search {
  width: 100%;
  min-width: 0;
  max-width: none;
}
.event-browser-filters .event-scope {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.profile-facts {
  margin: 0;
}
.profile-facts > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
}
.profile-facts dt,
.profile-credit {
  color: var(--muted);
}
.profile-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.profile-save {
  display: flex;
  justify-content: flex-end;
}
.empty-action {
  display: flex;
  justify-content: center;
  padding-bottom: 16px;
}
.profile-security-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.profile-credit {
  font-size: 13px;
  margin-top: 12px;
}
.account-profile-link {
  justify-content: flex-start;
}
@media (max-width: 720px) {
  .event-browser-filters {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }
  .event-browser-filters .event-scope {
    grid-column: 1 / -1;
  }
  .profile-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .profile-grid > .stack {
    gap: 14px;
  }
  .profile-security-actions {
    flex-direction: column;
  }
  .board-filters {
    padding: 12px;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  }
  .board-filters:has(> .field:nth-child(3)) > .field:last-child {
    grid-column: 1 / -1;
  }
  .task-filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .task-filters .search {
    min-width: 0;
  }
  .task-actions .button.small {
    padding: 8px 10px;
    gap: 5px;
    min-height: 44px;
  }
  .data-controls .section-heading {
    flex-direction: row;
  }
  .data-controls h2 {
    font-size: 16px;
  }
}
.board-task {
  border-bottom: 1px solid var(--line, #d4e2e5);
}
.board-task:last-child {
  border-bottom: 0;
}
.board-task .task-row {
  border-bottom: 0;
}
.report-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
}
.report-filter-panel {
  padding: 12px 18px;
}
.report-filter-panel summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  min-height: 44px;
  color: var(--teal);
}
.report-filter-panel summary::after {
  content: '+';
  margin-left: auto;
  font-size: 22px;
}
.report-filter-panel[open] summary::after {
  content: '\2212';
}
.report-filter-panel .report-controls {
  margin: 12px 0 4px;
}
.report-controls input,
.report-controls select {
  width: 100%;
  min-width: 0;
}
.report-totals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
}
.report-period {
  display: flex;
  flex-wrap: wrap;
  overflow-wrap: anywhere;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  margin: 14px 0;
}
.report-task-link {
  text-align: left;
  color: var(--teal);
  background: transparent;
  padding: 4px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 44px;
}
.report-item .overdue {
  color: var(--danger);
}
.report-section {
  margin-top: 16px;
}
.report-item {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 8px 16px;
  padding: 14px 0;
  border-bottom: 1px solid #d4e2e5;
  overflow-wrap: anywhere;
}
.report-item small,
.history-list small {
  display: block;
  color: #476474;
  font-size: 12px;
  margin-top: 4px;
}
.report-item p {
  grid-column: 1 / -1;
  margin: 0;
  white-space: pre-wrap;
}
.history-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}
.history-list li {
  border-left: 2px solid #0b827d;
  padding: 0 0 12px 12px;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.history-list p {
  white-space: pre-wrap;
  margin: 6px 0 0;
}
@media (max-width: 720px) {
  .app-header nav a {
    min-width: 0;
    flex: 1;
    padding-right: 4px;
    padding-left: 4px;
  }
  .report-controls {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .report-controls .button {
    grid-column: 1 / -1;
  }
  .report-controls > .field:last-child {
    grid-column: 1 / -1;
  }
  .report-item {
    grid-template-columns: 1fr;
  }
  .board-actions .button {
    padding: 8px 12px;
  }
}
@media print {
  .app-header,
  .app-footer,
  .board-actions,
  .report-controls,
  .report-filter-panel,
  .back-link,
  .toast,
  .skip-link {
    display: none !important;
  }
  .content {
    max-width: none;
    margin: 0;
    padding: 0;
  }
  body,
  .panel {
    background: white;
    color: black;
    box-shadow: none;
  }
  .report-item,
  .history-list li {
    break-inside: avoid;
  }
  .board-report .page-heading button,
  .board-result-count {
    display: none !important;
  }
  .board-report .report-task-link {
    color: black;
    text-decoration: none;
    min-height: 0;
  }
  .board-report .report-period {
    display: block;
  }
}
@media (max-width: 440px) {
  .board-actions a.button span {
    display: none;
  }
  .board-heading h1 {
    font-size: 21px;
  }
  .board-heading .board-actions {
    gap: 5px;
  }
}
@media (max-width: 360px) {
  .report-controls {
    grid-template-columns: minmax(0, 1fr);
  }
  .board-heading .board-actions .button {
    padding: 6px 8px;
  }
  .board-heading {
    gap: 6px;
  }
  .board-heading h1 {
    font-size: 18px;
  }
}

.board-search-row {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: 12px;
  padding: 16px 20px 8px;
}
.board-filters {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.board-filters .field {
  min-width: 0;
}
.compact-check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 400;
}
.compact-check input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.selected-activity {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
}
.selected-activity > span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
}
.list-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line, #d4e2e5);
  font-size: 13px;
}
.list-pagination .button {
  min-height: 44px;
  font-weight: 400;
}
.list-error {
  padding: 12px 20px;
}
.report-page-summary {
  display: none;
}
.record-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
.record-facts dt {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}
.record-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.preserve-lines {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .board-search-row {
    padding: 12px 12px 4px;
    gap: 8px;
    grid-template-columns: minmax(110px, 0.85fr) minmax(0, 1.15fr);
  }
  .board-search-row select,
  .board-search-row input {
    padding-left: 10px;
    padding-right: 10px;
  }
  .board-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .board-filters .compact-check {
    grid-column: 1 / -1;
  }
  .selected-activity {
    padding: 0 12px;
  }
  .list-pagination {
    padding: 10px;
    gap: 6px;
  }
  .list-pagination .button {
    padding: 8px;
  }
  .board-title h1 {
    font-weight: 500;
  }
}
@media (max-width: 360px) {
  .board-filters {
    grid-template-columns: minmax(0, 1fr);
  }
  .list-pagination > span {
    order: -1;
    flex-basis: 100%;
    text-align: center;
  }
}
@media print {
  .list-pagination,
  .report-pagination {
    display: none !important;
  }
  .report-page-summary {
    display: block;
  }
}

.arrangement-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 18px;
}
.arrangement-summary > span:not(.badge) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}
.arrangement-reference {
  overflow-wrap: anywhere;
  font-size: 0.9rem;
  margin: 10px 0 0;
}
.team-search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin: 12px 0 20px;
  align-items: center;
}
.team-search-bar .search {
  min-width: 0;
  max-width: none;
}
.team-search-bar select {
  width: auto;
  max-width: 145px;
}
@media (max-width: 480px) {
  .team-search-bar {
    gap: 8px;
  }
  .team-search-bar select {
    max-width: 110px;
    padding-inline: 9px;
  }
}

.member-picker {
  min-width: 0;
}
.member-picker-static {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  overflow-wrap: anywhere;
}
.member-picker-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--control-border);
  border-radius: 10px;
  background: white;
  color: var(--ink);
  text-align: left;
  font-weight: 400;
}
.member-picker-trigger > span {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.member-picker-trigger[aria-expanded='true'] {
  border-color: var(--teal);
}
.member-picker-panel {
  padding: 10px;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  min-width: 0;
}
.member-picker-search {
  position: relative;
}
.member-picker-search > svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}
.member-picker-search input:not([type='checkbox']):not([type='radio']) {
  padding-left: 34px;
  min-height: 44px;
}
.member-picker-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin: 8px 0;
}
.member-picker-filters button {
  min-height: 38px;
  padding: 5px 4px;
  border-radius: 6px;
  background: var(--canvas);
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}
.member-picker-filters button[aria-pressed='true'] {
  background: var(--soft);
  color: var(--teal);
}
.member-picker-results {
  max-height: 224px;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 0;
  list-style: none;
}
.member-picker-results li + li {
  border-top: 1px solid var(--line);
}
.member-picker-results button {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 7px;
  background: white;
  color: var(--ink);
  text-align: left;
  font-weight: 400;
}
.member-picker-results button[aria-pressed='true'] {
  background: var(--soft);
}
.member-picker-results button > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.member-picker-results small {
  display: block;
  color: var(--hint);
  font-size: 12px;
  font-weight: 400;
}
.member-picker-count {
  margin-top: 6px;
  color: var(--hint);
  font-size: 12px;
}
.member-picker-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.member-picker-methods .button {
  min-width: 0;
  padding: 10px 8px;
  font-weight: 400;
  font-size: 13px;
  white-space: normal;
}
.member-picker-methods .button[aria-pressed='true'] {
  color: var(--teal);
  border-color: var(--teal);
  background: var(--soft);
}
.member-picker button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: -2px;
}
.receipt-record {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.receipt-record .file-link {
  min-width: 0;
  overflow-wrap: anywhere;
}
.receipt-confirm {
  flex: 1 1 100%;
  padding-top: 8px;
}
.receipt-confirm > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.history-purchase {
  display: grid;
  gap: 2px;
  margin-top: 6px;
  padding-left: 10px;
  border-left: 2px solid var(--line);
  font-weight: 400;
}
@media (max-width: 480px) {
  .member-picker-trigger {
    padding: 9px 10px;
    gap: 8px;
  }
  .member-picker-panel {
    padding: 8px;
  }
  .member-picker-results {
    max-height: 190px;
  }
}
