/* SWLARC Club Management v2.17 — Meetings & Minutes Cleanup */

html.sw-meetings217 {
  --sw217-navy:#0d2242;
  --sw217-blue:#174f78;
  --sw217-orange:#f58a1f;
  --sw217-line:#d4dee7;
  --sw217-soft:#f4f7f9;
  --sw217-text:#17212b;
  --sw217-muted:#6b7b8b;
  --sw217-danger:#a33232;
}

/* Tighten the top governance workspace without changing its navigation. */
html.sw-meetings217 .sw217-business-hero {
  padding-top:13px!important;
  padding-bottom:13px!important;
  margin-bottom:10px!important;
}

html.sw-meetings217 .sw217-business-hero h1,
html.sw-meetings217 .sw217-business-hero h2,
html.sw-meetings217 .sw217-business-hero h3 {
  margin-bottom:3px!important;
}

html.sw-meetings217 .sw217-metrics {
  gap:8px!important;
  margin-top:0!important;
  margin-bottom:10px!important;
}

html.sw-meetings217 .sw217-metrics > * {
  min-height:70px!important;
  padding:11px 12px!important;
}

html.sw-meetings217 .sw217-business-panel {
  margin-top:0!important;
  margin-bottom:10px!important;
  padding:10px 12px!important;
}

html.sw-meetings217 .sw217-business-panel > * {
  margin-top:0!important;
}

html.sw-meetings217 .sw217-core-business [class*="grid"],
html.sw-meetings217 .sw217-governance-panel [class*="grid"] {
  gap:6px!important;
}

html.sw-meetings217 .sw217-core-business button,
html.sw-meetings217 .sw217-governance-panel button,
html.sw-meetings217 .sw217-core-business [role="button"],
html.sw-meetings217 .sw217-governance-panel [role="button"] {
  min-height:48px!important;
  padding:8px 10px!important;
}

/* Shared action hierarchy */
html.sw-meetings217 .sw217-primary-action {
  border:1px solid var(--sw217-blue)!important;
  background:var(--sw217-blue)!important;
  color:#fff!important;
  font-weight:800!important;
  box-shadow:none!important;
}

html.sw-meetings217 .sw217-secondary-action {
  border:1px solid #b8c6d1!important;
  background:#fff!important;
  color:#173b5b!important;
  font-weight:800!important;
  box-shadow:none!important;
}

/* Remove the repeated section-title feeling. */
html.sw-meetings217 .sw217-section-strip {
  min-height:28px!important;
  margin:2px 0 5px!important;
  padding:0 2px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

html.sw-meetings217 .sw217-section-strip > * {
  padding-top:0!important;
  padding-bottom:0!important;
}

html.sw-meetings217 .sw217-section-strip h1,
html.sw-meetings217 .sw217-section-strip h2,
html.sw-meetings217 .sw217-section-strip h3,
html.sw-meetings217 .sw217-section-strip strong {
  font-size:12px!important;
  color:#244058!important;
}

html.sw-meetings217 .sw217-section-strip p,
html.sw-meetings217 .sw217-section-strip small,
html.sw-meetings217 .sw217-section-strip span {
  color:var(--sw217-muted)!important;
  font-size:8px!important;
}

/* Correct meeting-record toolbar. */
html.sw-meetings217 .sw217-record-eyebrow {
  color:#40586e!important;
  letter-spacing:.12em!important;
}

html.sw-meetings217 .sw217-record-help {
  color:var(--sw217-muted)!important;
}

html.sw-meetings217 .sw217-record-toolbar {
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-height:52px!important;
  padding:8px 10px!important;
  border:1px solid var(--sw217-line)!important;
  background:#fff!important;
  box-shadow:none!important;
}

html.sw-meetings217 .sw217-record-toolbar input[type="search"],
html.sw-meetings217 .sw217-record-toolbar input[placeholder*="Search meetings" i] {
  min-height:36px!important;
  border:1px solid #c1ccd5!important;
  background:#fff!important;
}

html.sw-meetings217 .sw217-schedule-lower {
  min-height:36px!important;
  padding:0 13px!important;
}

/* Meeting Operations hero */
html.sw-meetings217 .sw217-operations-hero {
  margin-top:10px!important;
  padding-top:14px!important;
  padding-bottom:14px!important;
  border-left:4px solid var(--sw217-orange)!important;
  background:#fff!important;
}

html.sw-meetings217 .sw217-operations-hero h1,
html.sw-meetings217 .sw217-operations-hero h2,
html.sw-meetings217 .sw217-operations-hero h3 {
  color:var(--sw217-navy)!important;
}

html.sw-meetings217 .sw217-governance-link {
  min-height:34px!important;
  padding:0 11px!important;
  border:1px solid #b8c6d1!important;
  background:#fff!important;
  color:#173b5b!important;
  font-size:9px!important;
  font-weight:800!important;
  box-shadow:none!important;
}

html.sw-meetings217 .sw217-meeting-count {
  min-width:82px!important;
  padding:8px 10px!important;
  border:1px solid var(--sw217-line)!important;
  background:#f6f8fa!important;
  box-shadow:none!important;
}

/* Meeting table */
html.sw-meetings217 .sw217-meeting-table {
  width:100%!important;
  border-collapse:collapse!important;
  border:1px solid var(--sw217-line)!important;
  background:#fff!important;
}

html.sw-meetings217 .sw217-meeting-table th {
  padding-top:9px!important;
  padding-bottom:9px!important;
  background:#f2f5f7!important;
  color:#596a7a!important;
  font-size:8px!important;
  font-weight:900!important;
  letter-spacing:.07em!important;
  text-transform:uppercase!important;
}

html.sw-meetings217 .sw217-meeting-table td {
  padding-top:10px!important;
  padding-bottom:10px!important;
  vertical-align:middle!important;
}

html.sw-meetings217 .sw217-ops-cell {
  min-width:430px;
}

html.sw-meetings217 .sw217-ops-layout {
  display:flex;
  align-items:flex-end;
  gap:8px;
  flex-wrap:wrap;
}

html.sw-meetings217 .sw217-op-group {
  display:flex;
  align-items:center;
  gap:5px;
  flex-wrap:wrap;
}

html.sw-meetings217 .sw217-op-group > span {
  display:block;
  width:100%;
  margin-bottom:1px;
  color:#758493;
  font-size:7px;
  font-weight:900;
  letter-spacing:.08em;
}

html.sw-meetings217 .sw217-workspace-group {
  padding-right:8px;
  border-right:1px solid #dde4ea;
}

html.sw-meetings217 .sw217-open-workspace {
  min-height:30px!important;
  padding:0 9px!important;
  border:1px solid var(--sw217-blue)!important;
  background:var(--sw217-blue)!important;
  color:#fff!important;
  font-size:8px!important;
  font-weight:900!important;
}

html.sw-meetings217 .sw217-tool-button,
html.sw-meetings217 .sw217-edit {
  min-height:30px!important;
  padding:0 8px!important;
  border:1px solid #b9c6d0!important;
  background:#fff!important;
  color:#173b5b!important;
  font-size:8px!important;
  font-weight:800!important;
  box-shadow:none!important;
}

html.sw-meetings217 .sw217-delete {
  min-height:30px!important;
  padding:0 8px!important;
  border:1px solid #d8b2b2!important;
  background:#fff!important;
  color:var(--sw217-danger)!important;
  font-size:8px!important;
  font-weight:800!important;
  box-shadow:none!important;
}

html.sw-meetings217 .sw217-record-cell {
  white-space:nowrap;
}

@media(max-width:1100px) {
  html.sw-meetings217 .sw217-ops-cell {
    min-width:330px;
  }

  html.sw-meetings217 .sw217-ops-layout {
    align-items:flex-start;
    flex-direction:column;
  }

  html.sw-meetings217 .sw217-workspace-group {
    padding-right:0;
    padding-bottom:6px;
    border-right:0;
    border-bottom:1px solid #dde4ea;
  }
}

@media(max-width:760px) {
  html.sw-meetings217 .sw217-record-toolbar {
    align-items:stretch!important;
    flex-direction:column!important;
  }

  html.sw-meetings217 .sw217-record-toolbar > * {
    width:100%!important;
  }

  html.sw-meetings217 .sw217-meeting-table {
    min-width:880px!important;
  }
}
