.direction-governance {
  --gov-navy: #063761;
  --gov-teal: #0ea9b6;
  --gov-green: #68b640;
  --gov-pale: #eef8fa;
  --gov-border: #c8dde6;
  --gov-muted: #607184;
  display: grid;
  gap: 18px;
  color: #14243a;
}

body.direction-governance-active .workspace-context-bar { display: none; }
.global-governance-select {
  width: clamp(210px,24vw,360px);
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #8ed7df;
  border-radius: 999px;
  padding: 6px 13px 6px 15px;
  background: #f0fbfc;
  color: #063761;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.global-governance-select[hidden] { display: none; }
.global-governance-select:hover,.global-governance-select:focus-visible { border-color: #0ea9b6; background: #e5f7f9; outline: none; }
.global-governance-select-copy { min-width: 0; display: grid; gap: 1px; }
.global-governance-select-copy small { color: #087f8f; font-size: .62rem; font-weight: 850; letter-spacing: .06em; line-height: 1; text-transform: uppercase; }
.global-governance-select-copy strong { overflow: hidden; color: #063761; font-size: .76rem; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.global-governance-select-chevron { width: 8px; height: 8px; flex: 0 0 auto; border-right: 2px solid #087f8f; border-bottom: 2px solid #087f8f; transform: rotate(45deg) translateY(-2px); }
.gov-header-toast { position: absolute; z-index: 4; top: calc(100% + 8px); right: 22px; max-width: min(420px,calc(100vw - 28px)); padding: 9px 13px; border: 1px solid #a8d99a; border-radius: 10px; background: #f2faef; color: #2f7125; box-shadow: 0 10px 26px rgba(7,52,93,.16); font-size: .82rem; font-weight: 750; line-height: 1.35; pointer-events: none; animation: gov-toast-in .18s ease-out both; }
@keyframes gov-toast-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

.gov-shell { display: grid; gap: 14px; }
.gov-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.gov-heading h2,.gov-heading h3,.gov-panel h3,.gov-panel h4 { margin: 0; color: var(--gov-navy); }
.gov-heading p,.gov-panel p { color: var(--gov-muted); }
.gov-heading-actions,.gov-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gov-eyebrow { display: block; margin-bottom: 5px; color: #087f8f; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.gov-workspace-banner,.gov-panel,.gov-space-card,.gov-stat,.gov-list-item,.gov-source {
  border: 1px solid var(--gov-border);
  border-radius: 14px;
  background: #fff;
}
.gov-panel { border: 0; border-radius: 0; padding: 16px 0; border-bottom: 1px solid var(--gov-border); }
.gov-context-bar { display: grid; grid-template-columns: minmax(260px,1fr) auto auto; align-items: end; gap: 12px; padding: 0 0 14px; border-bottom: 1px solid var(--gov-border); }
.gov-context-bar label { display: grid; gap: 5px; color: var(--gov-muted); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.gov-context-bar select { width: 100%; min-height: 42px; border: 1px solid var(--gov-border); border-radius: 10px; padding: 8px 38px 8px 11px; background: #fff; color: var(--gov-navy); font: inherit; font-weight: 800; }
.gov-context-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-bottom: 7px; }
.gov-role { color: var(--gov-muted); font-size: .8rem; font-weight: 700; }
.gov-workspace-banner { padding: 12px 16px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.gov-workspace-banner strong { color: var(--gov-navy); }
.gov-panel-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.gov-panel-head p { margin: 4px 0 0; }

.gov-space-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 12px; }
.gov-space-card { padding: 16px; display: grid; gap: 10px; text-align: left; cursor: pointer; transition: border-color .15s ease,transform .15s ease,box-shadow .15s ease; }
.gov-space-card:hover,.gov-space-card:focus-visible { border-color: var(--gov-teal); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(8,67,98,.08); outline: none; }
.gov-space-card.is-active { border-color: var(--gov-teal); box-shadow: inset 4px 0 0 var(--gov-teal); }
.gov-space-card h3 { margin: 0; color: var(--gov-navy); }
.gov-space-card p { margin: 0; color: var(--gov-muted); line-height: 1.45; }

.gov-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.gov-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 9px; border-radius: 999px; background: #e8f6f8; color: #087989; font-size: .76rem; font-weight: 750; }
.gov-badge[data-tone="warning"] { background: #fff0e9; color: #a7422e; }
.gov-badge[data-tone="success"] { background: #edf8e9; color: #327a24; }
.gov-badge[data-tone="neutral"] { background: #edf2f5; color: #536575; }
.gov-badge[data-tone="restricted"] { background: #f4eefa; color: #70418b; }

.gov-tabs { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--gov-border); border-radius: 12px; background: #f7fafc; overflow-x: auto; }
.gov-tab { border: 0; border-radius: 9px; padding: 9px 13px; background: transparent; color: #536575; font-weight: 750; white-space: nowrap; cursor: pointer; }
.gov-tab:hover { color: var(--gov-navy); background: #fff; }
.gov-tab.is-active { color: var(--gov-navy); background: #fff; box-shadow: 0 2px 8px rgba(8,55,97,.09); }

.gov-overview { display: grid; gap: 22px; }
.gov-overview-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(128deg,#063761 0%,#075775 62%,#0b929c 100%);
  color: #fff;
  box-shadow: 0 18px 38px rgba(6,55,97,.16);
}
.gov-overview-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 330px;
  height: 330px;
  top: -225px;
  right: 12%;
  border: 48px solid rgba(255,255,255,.07);
  border-radius: 50%;
}
.gov-overview-hero .gov-eyebrow { color: #a7eef0; }
.gov-overview-hero h2 { margin: 0; color: #fff; font-size: clamp(1.4rem,2vw,2rem); line-height: 1.15; }
.gov-overview-hero p { margin: 7px 0 0; color: rgba(255,255,255,.78); line-height: 1.45; }
.gov-overview-hero-head { display: flex; justify-content: space-between; gap: 22px; align-items: flex-start; }
.gov-overview-quick-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.gov-button.hero-ghost { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.09); color: #fff; }
.gov-button.hero-ghost:hover:not(:disabled) { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.17); }
.gov-button.hero-primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #fff; color: var(--gov-navy); box-shadow: 0 7px 18px rgba(0,30,55,.16); }
.gov-button.hero-primary:hover:not(:disabled) { background: #eafafb; }
.gov-focus-meeting { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 17px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.22); }
.gov-date-tile { width: 68px; height: 72px; display: grid; place-content: center; text-align: center; border-radius: 15px; background: #fff; color: var(--gov-navy); box-shadow: 0 8px 20px rgba(0,30,55,.17); }
.gov-date-tile strong { font-size: 1.72rem; line-height: 1; }
.gov-date-tile span { margin-top: 5px; color: #087f8f; font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.gov-focus-copy { min-width: 0; }
.gov-focus-copy .gov-badge { background: rgba(255,255,255,.14); color: #fff; }
.gov-focus-copy .gov-badge[data-tone="warning"] { background: #fff0e9; color: #9c3b29; }
.gov-focus-copy p { max-width: 780px; }
.gov-hero-empty-action { margin-top: 22px; }

.gov-metric-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid var(--gov-border); border-bottom: 1px solid var(--gov-border); }
.gov-metric-strip > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 0; padding: 13px 18px; border-right: 1px solid var(--gov-border); }
.gov-metric-strip > div:first-child { padding-left: 2px; }
.gov-metric-strip > div:last-child { padding-right: 2px; border-right: 0; }
.gov-metric-strip span { color: var(--gov-muted); font-size: .8rem; font-weight: 750; }
.gov-metric-strip strong { color: var(--gov-navy); font-size: 1.45rem; line-height: 1; }
.gov-metric-strip [data-tone="warning"] strong { color: #b04431; }
.gov-metric-strip [data-tone="calm"] strong { color: #3d842d; }

.gov-overview-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 42px; }
.gov-overview-section { min-width: 0; }
.gov-overview-section .gov-section-title { min-height: 72px; }
.gov-count-bubble { min-width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 50%; background: #e2f6f8; color: #087f8f; font-weight: 850; }
.gov-attention-list,.gov-activity-list { display: grid; margin-top: 10px; border-top: 1px solid var(--gov-border); }
.gov-attention-item,.gov-activity-item { width: 100%; min-width: 0; display: grid; align-items: center; gap: 12px; padding: 14px 7px; border: 0; border-bottom: 1px solid var(--gov-border); background: transparent; color: inherit; font: inherit; text-align: left; }
button.gov-attention-item,button.gov-activity-item { cursor: pointer; }
button.gov-attention-item:hover,button.gov-activity-item:hover { border-radius: 10px; background: #f2fafb; }
.gov-attention-item { grid-template-columns: auto minmax(0,1fr) auto; }
.gov-attention-marker { width: 10px; height: 10px; border-radius: 50%; background: #8b9aa7; box-shadow: 0 0 0 5px #edf2f5; }
.gov-attention-item[data-tone="teal"] .gov-attention-marker { background: var(--gov-teal); box-shadow: 0 0 0 5px #e5f7f9; }
.gov-attention-item[data-tone="warning"] .gov-attention-marker { background: #d95c42; box-shadow: 0 0 0 5px #fff0eb; }
.gov-attention-item strong,.gov-activity-item strong { display: block; color: var(--gov-navy); line-height: 1.35; }
.gov-attention-item small,.gov-activity-item small { display: block; margin-top: 3px; color: var(--gov-muted); font-size: .8rem; line-height: 1.4; }
.gov-attention-arrow { color: #0b8794; font-size: 1.15rem; }
.gov-activity-item { grid-template-columns: auto minmax(0,1fr) auto auto; }
.gov-activity-symbol { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 11px; background: #e2f6f8; color: #087f8f; font-size: .78rem; font-weight: 900; }
.gov-activity-symbol[data-tone="memory"] { background: #edf8e9; color: #3e7f31; }
.gov-overview-calm { display: flex; align-items: center; gap: 13px; margin-top: 10px; padding: 18px; border-radius: 14px; background: #f2f9ef; color: #315f2a; }
.gov-overview-calm > span { width: 34px; height: 34px; display: inline-grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #dff1d8; font-weight: 900; }
.gov-overview-calm strong,.gov-overview-soft-empty strong { color: var(--gov-navy); }
.gov-overview-calm p,.gov-overview-soft-empty p { margin: 3px 0 0; color: var(--gov-muted); }
.gov-overview-soft-empty { margin-top: 10px; padding: 18px 7px; border-top: 1px solid var(--gov-border); border-bottom: 1px solid var(--gov-border); }
.gov-overview-soft-empty .gov-text-action { margin-top: 10px; }
.gov-text-action { align-self: flex-start; border: 0; padding: 3px 0; background: transparent; color: #087f8f; font: inherit; font-size: .82rem; font-weight: 850; cursor: pointer; white-space: nowrap; }
.gov-text-action:hover { color: var(--gov-navy); text-decoration: underline; }

.gov-grid-two { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr); gap: 14px; }
.gov-list { display: grid; gap: 9px; }
.gov-list-item { padding: 13px 4px; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; border-width: 0 0 1px; border-radius: 0; }
.gov-list-item.is-clickable { cursor: pointer; }
.gov-list-item.is-clickable:hover { border-color: var(--gov-teal); }
.gov-list-item h4 { margin: 0 0 4px; color: var(--gov-navy); }
.gov-list-item p { margin: 0; color: var(--gov-muted); line-height: 1.4; }
.gov-list-main { min-width: 0; }
.gov-list-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.gov-meeting-list-tools { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin: 4px 0 13px; padding: 13px 14px; border-radius: 13px; background: #f2f8fa; }
.gov-meeting-list-tools label { min-width: 150px; display: grid; flex: 1 1 160px; gap: 5px; color: #536575; font-size: .74rem; font-weight: 800; }
.gov-meeting-list-tools .gov-meeting-search { min-width: min(100%,280px); flex: 2 1 320px; }
.gov-meeting-list-tools input,.gov-meeting-list-tools select { width: 100%; min-height: 40px; border: 1px solid #bdd5df; border-radius: 9px; padding: 8px 11px; background: #fff; color: #14243a; font: inherit; }
.gov-meeting-list-tools input:focus,.gov-meeting-list-tools select:focus { border-color: var(--gov-teal); outline: 3px solid rgba(14,169,182,.14); }
.gov-meeting-result-count { margin: 0 0 5px !important; color: var(--gov-muted); font-size: .78rem; font-weight: 750; }
.gov-meeting-list { gap: 0; border-top: 1px solid var(--gov-border); }
.gov-meeting-list-item { width: 100%; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 20px; padding: 15px 7px; border: 0; border-bottom: 1px solid var(--gov-border); border-radius: 0; background: transparent; color: inherit; font: inherit; text-align: left; }
.gov-meeting-list-item.is-clickable:hover,.gov-meeting-list-item.is-clickable:focus-visible { border-color: var(--gov-border); background: #f4fafb; outline: none; }
.gov-meeting-list-context { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 7px; }
.gov-meeting-list-context strong { color: #2f536b; }
.gov-meeting-list-aside { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.gov-meeting-list-aside .gov-badges { justify-content: flex-end; }
.gov-meeting-list-arrow { color: #087f8f; font-size: 1.05rem; font-weight: 900; }
.gov-record-item { align-items: stretch; }
.gov-record-item .gov-list-main > h4 { display: flex; align-items: center; gap: 8px; font-size: .95rem; line-height: 1.35; font-weight: 780; }
.gov-record-item .gov-list-main > h4::before { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--gov-teal); content: ""; }
.gov-record-details { margin-top: 6px !important; color: #30465c !important; white-space: pre-wrap; }
.gov-record-due { margin-top: 8px !important; font-size: .82rem; }
.gov-record-timestamp { display: block; margin-top: 9px; color: var(--gov-muted); font-size: .72rem; }
.gov-record-item .gov-record-details,.gov-record-item .gov-record-due,.gov-record-item .gov-list-meta,.gov-record-item .gov-record-timestamp { margin-left: 14px; }
.gov-record-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; align-items: flex-start; gap: 7px; }
.gov-record-actions .gov-button { min-height: 34px; padding: 6px 11px; font-size: .78rem; }

.gov-empty { padding: 30px 20px; border: 1px dashed #b9d6df; border-radius: 14px; background: #f8fcfd; text-align: center; }
.gov-empty strong { display: block; color: var(--gov-navy); font-size: 1.05rem; }
.gov-empty p { max-width: 600px; margin: 8px auto 16px; color: var(--gov-muted); }

.gov-button { min-height: 38px; border: 1px solid transparent; border-radius: 999px; padding: 8px 15px; background: #e4f7f9; color: #007d8c; font: inherit; font-weight: 800; cursor: pointer; }
.gov-button:hover:not(:disabled) { background: #d5f1f4; }
.gov-button.primary { background: var(--gov-teal); color: #fff; }
.gov-button.primary:hover:not(:disabled) { background: #078f9c; }
.gov-button.ghost { border-color: var(--gov-border); background: #fff; color: var(--gov-navy); }
.gov-button.danger { background: #fff1ee; color: #b33f30; }
.gov-button:disabled { opacity: .5; cursor: not-allowed; }
.gov-icon-button { width: 36px; height: 36px; display: inline-grid; place-items: center; border: 1px solid var(--gov-border); border-radius: 50%; background: #fff; color: var(--gov-navy); cursor: pointer; }

.gov-form { display: grid; gap: 13px; }
.gov-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.gov-form label { display: grid; gap: 5px; color: #43566c; font-size: .82rem; font-weight: 750; }
.gov-form input,.gov-form select,.gov-form textarea,.gov-search input {
  width: 100%; border: 1px solid #bdd5df; border-radius: 9px; padding: 10px 11px; background: #fff; color: #14243a; font: inherit;
}
.gov-form textarea { min-height: 105px; resize: vertical; }
.gov-form input:focus,.gov-form select:focus,.gov-form textarea:focus,.gov-search input:focus { outline: 3px solid rgba(14,169,182,.14); border-color: var(--gov-teal); }
.gov-field-span { grid-column: 1/-1; }
.gov-help { margin: 0; color: var(--gov-muted); font-size: .8rem; font-weight: 500; }
.gov-form-divider { display: flex; align-items: center; gap: 10px; color: var(--gov-muted); font-size: .78rem; text-transform: uppercase; }
.gov-form-divider::before,.gov-form-divider::after { content:""; height: 1px; flex: 1; background: var(--gov-border); }
.gov-form-details { padding: 10px 0; border-top: 1px solid var(--gov-border); border-bottom: 1px solid var(--gov-border); }
.gov-form-details summary { cursor: pointer; color: var(--gov-navy); font-weight: 800; }
.gov-form-details[open] summary { margin-bottom: 12px; }

.gov-modal-layer { position: fixed; inset: 0; z-index: 1900; display: grid; place-items: center; padding: 20px; background: rgba(5,35,59,.55); }
.gov-modal-layer[hidden] { display: none; }
.gov-modal { width: min(720px,100%); max-height: min(860px,calc(100vh - 40px)); overflow: auto; border-radius: 16px; background: #fff; box-shadow: 0 24px 70px rgba(0,30,55,.26); }
.gov-modal-head,.gov-modal-foot { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--gov-border); }
.gov-modal-head h3 { margin: 0; color: var(--gov-navy); }
.gov-modal-body { padding: 18px; }
.gov-modal-foot { justify-content: flex-end; border-top: 1px solid var(--gov-border); border-bottom: 0; }
.gov-modal-context { display: grid; gap: 4px; margin-bottom: 12px; padding: 12px 14px; border-radius: 11px; background: #eef8fa; color: var(--gov-navy); }
.gov-confirmation { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 13px; align-items: start; padding: 8px 2px 20px; }
.gov-confirmation-icon { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 50%; background: #fff1ee; color: #b33f30; font-size: 1.15rem; font-weight: 900; }
.gov-confirmation strong { display: block; color: var(--gov-navy); font-size: 1.05rem; }
.gov-confirmation p { margin: 7px 0 0; color: var(--gov-muted); line-height: 1.5; }

.gov-instance-selector { display: grid; gap: 16px; }
.gov-instance-selector-intro { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gov-instance-selector-intro p { margin: 0; color: var(--gov-muted); line-height: 1.45; }
.gov-instance-choice-list { display: grid; gap: 10px; }
.gov-instance-choice { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--gov-border); border-radius: 13px; background: #fff; }
.gov-instance-choice.is-active { border-color: var(--gov-teal); box-shadow: inset 4px 0 0 var(--gov-teal); }
.gov-instance-choice-main { min-width: 0; display: grid; grid-template-columns: minmax(180px,1fr) auto; gap: 8px 14px; align-items: center; border: 0; padding: 3px 5px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.gov-instance-choice-main > span:first-child { min-width: 0; }
.gov-instance-choice-main strong,.gov-instance-choice-main small { display: block; }
.gov-instance-choice-main strong { overflow: hidden; color: var(--gov-navy); text-overflow: ellipsis; white-space: nowrap; }
.gov-instance-choice-main small { margin-top: 3px; overflow: hidden; color: var(--gov-muted); font-size: .78rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.gov-instance-choice-main:hover strong,.gov-instance-choice-main:focus-visible strong { color: #087f8f; }
.gov-instance-choice-main:focus-visible { border-radius: 8px; outline: 3px solid rgba(14,169,182,.16); }
.gov-instance-choice-state { grid-column: 1/-1; color: #087f8f; font-size: .76rem; font-weight: 800; }

.gov-meeting-layout { display: grid; grid-template-columns: minmax(230px,.62fr) minmax(0,1.38fr); gap: 14px; }
.gov-meeting-nav { align-self: start; position: sticky; top: 12px; }
.gov-meeting-detail { display: grid; gap: 14px; min-width: 0; }
.gov-meeting-dashboard { display: grid; gap: 18px; min-width: 0; }
.gov-meeting-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 2px 1px 13px; border-bottom: 1px solid var(--gov-border); }
.gov-meeting-heading { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 12px; }
.gov-meeting-heading h2 { margin: 0; color: var(--gov-navy); font-size: clamp(1.35rem,2vw,1.8rem); }
.gov-meeting-heading p { margin: 0; color: var(--gov-muted); }
.gov-meeting-meta { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 5px; font-size: .88rem; }
.gov-meeting-header-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; }
.gov-meeting-back { white-space: nowrap; }
.gov-overflow-menu { position: relative; }
.gov-overflow-menu > summary { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--gov-border); border-radius: 50%; background: #fff; color: var(--gov-navy); font-weight: 900; letter-spacing: .08em; cursor: pointer; list-style: none; }
.gov-overflow-menu > summary::-webkit-details-marker { display: none; }
.gov-overflow-menu > div { position: absolute; z-index: 5; top: calc(100% + 7px); right: 0; min-width: 205px; padding: 6px; border: 1px solid var(--gov-border); border-radius: 11px; background: #fff; box-shadow: 0 13px 28px rgba(6,55,97,.16); }
.gov-overflow-menu button { width: 100%; border: 0; border-radius: 8px; padding: 9px 11px; background: transparent; color: #a7422e; font: inherit; font-weight: 750; text-align: left; cursor: pointer; }
.gov-overflow-menu button:hover { background: #fff1ee; }

.gov-capture-hub { min-height: 92px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 15px; padding: 17px 19px; border-radius: 16px; background: linear-gradient(110deg,#063761,#087f8f); color: #fff; box-shadow: 0 12px 28px rgba(6,55,97,.13); }
.gov-capture-hub .gov-eyebrow { color: #a8eef1; }
.gov-capture-hub strong { display: block; font-size: 1.02rem; }
.gov-capture-hub p { margin: 4px 0 0; color: rgba(255,255,255,.76); }
.gov-capture-hub .gov-button.ghost { border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.1); color: #fff; }
.gov-capture-hub .gov-button.primary { background: #fff; color: var(--gov-navy); }
.gov-capture-hub.is-recording { background: linear-gradient(110deg,#6f3026,#a64a35); }
.gov-capture-hub.is-processing { background: linear-gradient(110deg,#075775,#0b929c); }
.gov-capture-hub.is-ready { background: linear-gradient(110deg,#285a31,#4b8a3c); }
.gov-capture-hub.is-failed { background: linear-gradient(110deg,#6d2f25,#a84b37); }
.gov-capture-hub.is-compact { min-height: 0; grid-template-columns: minmax(0,1fr) auto; padding: 11px 15px; border: 1px solid #bddce2; background: #f3fafb; color: var(--gov-navy); box-shadow: none; }
.gov-capture-hub.is-compact .gov-eyebrow { margin-bottom: 2px; color: #087f8f; font-size: .68rem; }
.gov-capture-hub.is-compact strong { font-size: .88rem; }
.gov-capture-hub.is-compact .gov-button.ghost { border-color: var(--gov-border); background: #fff; color: var(--gov-navy); }
.gov-capture-icon { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.15); font-weight: 900; }
.gov-capture-dot { width: 18px; height: 18px; margin: 13px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 8px rgba(255,255,255,.14); animation: gov-pulse 1.2s ease-in-out infinite; }
.gov-file-button { position: relative; overflow: hidden; }
.gov-file-button input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.gov-meeting-workbench { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(300px,.65fr); gap: 16px; align-items: stretch; }
.gov-meeting-workbench.is-notes-collapsed { grid-template-columns: minmax(0,1fr) 58px; }
.gov-document-workspace,.gov-notes-workspace { min-width: 0; border: 1px solid var(--gov-border); border-radius: 15px; background: #fff; overflow: hidden; }
.gov-document-tabs,.gov-notes-tabs { display: flex; gap: 2px; min-height: 48px; padding: 5px 7px 0; border-bottom: 1px solid var(--gov-border); background: #f5f9fb; }
.gov-document-tabs button,.gov-notes-tabs button { display: inline-flex; align-items: center; gap: 7px; border: 0; border-bottom: 3px solid transparent; padding: 9px 13px; background: transparent; color: #536575; font: inherit; font-weight: 800; cursor: pointer; }
.gov-document-tabs button.is-active,.gov-notes-tabs button.is-active { border-bottom-color: var(--gov-teal); color: var(--gov-navy); background: #fff; }
.gov-document-tabs button:disabled { color: #9ba9b4; cursor: not-allowed; opacity: .64; }
.gov-document-tabs button > span:not(.gov-spinner) { min-width: 22px; padding: 2px 6px; border-radius: 999px; background: #e5f2f5; font-size: .7rem; text-align: center; }
.gov-document-body { min-height: 430px; padding: 18px; }
.gov-document-panel,.gov-agenda-workspace { display: grid; gap: 15px; }
.gov-actions-surface { width: 100%; border: 0; border-radius: 0; }
.gov-actions-body { min-height: 430px; }
.gov-workspace-title { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.gov-workspace-title h3 { margin: 0; color: var(--gov-navy); }
.gov-workspace-title p { margin: 4px 0 0; color: var(--gov-muted); }
.gov-save-state { color: #4c7b53; font-size: .76rem; font-weight: 750; white-space: nowrap; }
.gov-agenda-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(12rem,max-content); gap: 4px 14px; align-items: start; }
.gov-agenda-heading h3 { grid-column: 1; grid-row: 1; }
.gov-agenda-heading .gov-save-state { grid-column: 2; grid-row: 1; justify-self: end; text-align: right; }
.gov-agenda-heading p { grid-column: 1/-1; grid-row: 2; min-width: 0; margin-top: 0; }

.gov-notes-workspace { display: grid; grid-template-rows: auto auto minmax(260px,1fr) auto; }
.gov-notes-tabs .gov-notes-collapse { margin-left: auto; border-bottom-color: transparent; color: #087f8f; font-size: 1.25rem; }
.gov-notes-workspace.is-collapsed { display: grid; min-height: 430px; }
.gov-notes-workspace.is-collapsed > button { display: flex; flex-direction: column; align-items: center; gap: 9px; border: 0; padding: 14px 8px; background: #f5f9fb; color: var(--gov-navy); font: inherit; cursor: pointer; }
.gov-notes-workspace.is-collapsed > button span { color: #087f8f; font-size: 1.25rem; }
.gov-notes-workspace.is-collapsed > button strong { font-size: .75rem; writing-mode: vertical-rl; transform: rotate(180deg); }
.gov-notes-copy { padding: 17px 17px 8px; }
.gov-notes-copy strong { color: var(--gov-navy); }
.gov-notes-copy p { margin: 5px 0 0; color: var(--gov-muted); font-size: .82rem; line-height: 1.45; }
.gov-notes-workspace textarea { width: calc(100% - 34px); min-height: 260px; margin: 8px 17px; border: 0; padding: 0; resize: vertical; color: #20364d; font: inherit; line-height: 1.55; }
.gov-notes-workspace textarea:focus { outline: 0; }
.gov-notes-workspace > small { padding: 10px 17px 15px; color: var(--gov-muted); border-top: 1px solid #e7eff2; }
.gov-session-notes { min-height: 260px; max-height: 520px; overflow: auto; padding: 6px 12px 12px; }
.gov-session-note-row { display: grid; grid-template-columns: 54px minmax(0,1fr) 28px; gap: 7px; align-items: start; padding: 8px 4px; border-bottom: 1px solid #e7eff2; }
.gov-session-note-context { min-width: 0; padding-top: 7px; color: var(--gov-muted); font-size: .68rem; }
.gov-session-note-context time { color: #087f8f; font: 800 .72rem/1.3 ui-monospace,SFMono-Regular,Menlo,monospace; }
.gov-session-note-row textarea { width: 100%; min-height: 34px; max-height: 160px; margin: 0; padding: 6px 8px; border: 1px solid transparent; border-radius: 7px; resize: none; line-height: 1.35; }
.gov-session-note-row textarea:focus { border-color: #8acdd4; background: #f8fcfd; }
.gov-session-note-row .gov-icon-button { width: 27px; height: 27px; border-color: transparent; color: var(--gov-muted); }

.gov-agenda-quick-list { display: grid; border-top: 1px solid var(--gov-border); }
.gov-agenda-row { display: grid; grid-template-columns: 30px 26px minmax(0,1fr) auto; gap: 9px; align-items: start; padding: 13px 0; border-bottom: 1px solid var(--gov-border); }
.gov-agenda-row.is-active { margin: 0 -10px; padding-right: 10px; padding-left: 10px; border-radius: 10px; background: #f0faf6; box-shadow: inset 3px 0 0 #58a93f; }
.gov-active-agenda { border-radius: 999px; padding: 4px 8px; background: #def3d8; color: #347628; font-weight: 850; }
.gov-agenda-row.is-done [data-agenda-title] { color: #507064; text-decoration: line-through; text-decoration-thickness: 1px; }
.gov-agenda-main { min-width: 0; display: grid; gap: 8px; }
.gov-agenda-row input,.gov-agenda-row select { min-width: 0; border: 1px solid #bdd5df; border-radius: 8px; padding: 8px; background: #fff; color: #14243a; font: inherit; }
.gov-agenda-row [data-agenda-title] { width: 100%; border: 0; padding: 3px 0; color: var(--gov-navy); font-weight: 800; }
.gov-agenda-row [data-agenda-title]:focus { outline: 0; box-shadow: 0 2px 0 var(--gov-teal); }
.gov-agenda-number { padding-top: 4px; color: #087f8f; font-weight: 900; text-align: center; }
.gov-agenda-progress { width: 27px; height: 27px; display: inline-grid; place-items: center; border: 2px solid #aac6cf; border-radius: 50%; background: #fff; color: #fff; font: inherit; font-size: .82rem; font-weight: 900; cursor: pointer; }
.gov-agenda-progress:hover:not(:disabled),.gov-agenda-progress:focus-visible { border-color: #58a93f; outline: 3px solid rgba(88,169,63,.14); }
.gov-agenda-progress.is-done { border-color: #58a93f; background: #58a93f; }
.gov-agenda-progress:disabled { cursor: default; opacity: .75; }
.gov-agenda-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--gov-muted); font-size: .74rem; }
.gov-agenda-meta select { max-width: 150px; padding: 5px 7px; }
.gov-agenda-meta label { display: flex; align-items: center; gap: 5px; }
.gov-agenda-meta input { width: 58px; padding: 5px 7px; }
.gov-agenda-actions { display: flex; gap: 5px; }
.gov-agenda-actions .gov-icon-button { width: 30px; height: 30px; font-size: .72rem; font-weight: 900; }
.gov-agenda-actions .gov-icon-button:disabled { opacity: .35; cursor: default; }
.gov-agenda-links { display: flex; flex-wrap: wrap; gap: 6px; }
.gov-agenda-links button { max-width: 100%; display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 5px 9px; background: #eef6f8; color: #24445c; font: inherit; font-size: .73rem; cursor: pointer; }
.gov-agenda-links button:hover { background: #dff2f5; color: #006f7d; }
.gov-agenda-links button span { width: 19px; height: 19px; display: inline-grid; place-items: center; border-radius: 50%; background: #0ea9b6; color: #fff; font-size: .66rem; font-weight: 900; }

.gov-meeting-shortcuts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.gov-meeting-shortcut { min-width: 0; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 14px; border: 1px solid var(--gov-border); border-radius: 13px; background: #fff; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.gov-meeting-shortcut:hover,.gov-meeting-shortcut:focus-visible { border-color: var(--gov-teal); background: #f6fbfc; outline: none; }
.gov-meeting-shortcut strong,.gov-meeting-shortcut small { display: block; }
.gov-meeting-shortcut strong { overflow: hidden; color: var(--gov-navy); text-overflow: ellipsis; white-space: nowrap; }
.gov-meeting-shortcut small { margin-top: 3px; color: var(--gov-muted); font-size: .75rem; }
.gov-shortcut-count { width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 10px; background: #e5f7f9; color: #087f8f; font-weight: 900; }
.gov-transcript-version { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--gov-border); border-bottom: 1px solid var(--gov-border); color: var(--gov-muted); font-size: .8rem; }
.gov-media-state { padding: 12px; border-radius: 10px; background: #f2f7f8; }
.gov-media-state p { margin: 4px 0 0; color: var(--gov-muted); }
.gov-spinner.mini { width: 13px; height: 13px; border-width: 2px; }

.gov-minutes-panel { display: grid; gap: 17px; }
.gov-minutes-toolbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding-bottom: 17px; border-bottom: 1px solid var(--gov-border); }
.gov-minutes-toolbar h3,.gov-minutes-reader h4 { margin: 0; color: var(--gov-navy); }
.gov-minutes-toolbar p { margin: 4px 0 0; color: var(--gov-muted); }
.gov-minutes-reader { width: 100%; min-height: 58vh; margin: 0; padding: 4px 0 20px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.gov-minutes-reader > header { padding-bottom: 16px; border-bottom: 1px solid var(--gov-border); }
.gov-minutes-reader h4 { font-size: clamp(1.18rem,2vw,1.55rem); line-height: 1.3; }
.gov-minutes-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 8px; }
.gov-minutes-meta time { color: var(--gov-muted); font-size: .8rem; }
.gov-minutes-copy { padding: 24px 0 10px; color: #243a4e; font: 1rem/1.72 Georgia,"Times New Roman",serif; }
.gov-minutes-copy h2,.gov-minutes-copy h3,.gov-minutes-copy h4 { margin: 1.7em 0 .55em; color: var(--gov-navy); font-family: inherit; line-height: 1.3; }
.gov-minutes-copy h2:first-child,.gov-minutes-copy h3:first-child { margin-top: 0; }
.gov-minutes-copy p { margin: .72em 0; color: #2b4256; }
.gov-minutes-copy ol,.gov-minutes-copy ul { margin: .7em 0 1.1em; padding-left: 1.65em; }
.gov-minutes-copy li { margin: .35em 0; padding-left: .2em; }
.gov-minutes-copy blockquote { margin: 1em 0; padding: 8px 16px; border-left: 4px solid var(--gov-teal); background: #f4fafb; color: #42596b; }
.gov-minutes-copy code { padding: 1px 4px; border-radius: 4px; background: #edf3f5; font: .88em ui-monospace,SFMono-Regular,Menlo,monospace; }
.gov-minutes-copy hr { border: 0; border-top: 1px solid var(--gov-border); margin: 1.5em 0; }
.gov-minutes-reader > .gov-transition { padding-top: 18px; border-top: 1px solid var(--gov-border); }
.gov-transition { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.gov-version-history { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--gov-border); }
.gov-version-history summary { cursor: pointer; color: var(--gov-navy); font-weight: 800; }
.gov-version-history[open] summary { margin-bottom: 10px; }

.gov-version-history .gov-list-item.is-selected { border-color: var(--gov-teal); background: #f0fafb; box-shadow: inset 3px 0 0 var(--gov-teal); }
.gov-transcript-detail { margin-top: 12px; padding: 14px; border: 1px solid var(--gov-border); border-radius: 12px; background: #f8fcfd; }
.gov-transcript-editor-head,.gov-transcript-editor-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.gov-transcript-editor-head label { display: flex; align-items: center; gap: 8px; color: var(--gov-muted); font-size: .76rem; font-weight: 750; }
.gov-transcript-editor-head select,.gov-transcript-detail input,.gov-transcript-detail textarea { border: 1px solid #bdd5df; border-radius: 8px; background: #fff; color: #20364d; font: inherit; }
.gov-transcript-editor-head select { padding: 6px 8px; }
.gov-transcript-segments { display: grid; gap: 0; margin-top: 10px; max-height: 620px; overflow: auto; border-top: 1px solid #e1ecef; }
.gov-transcript-segment { display: grid; grid-template-columns: 46px minmax(145px,.27fr) minmax(0,1fr); gap: 8px; align-items: start; padding: 7px 5px; border: 0; border-bottom: 1px solid #e7eff2; border-radius: 0; background: #fff; }
.gov-transcript-segment:focus-within { background: #f7fbfc; box-shadow: inset 3px 0 0 #86cbd2; }
.gov-transcript-speaker { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) 28px; gap: 4px; }
.gov-transcript-speaker input { width: 100%; min-width: 0; padding: 5px 7px; font-weight: 750; }
.gov-transcript-speaker .gov-icon-button { width: 28px; height: 28px; border-color: transparent; }
.gov-transcript-segment textarea { width: 100%; min-width: 0; min-height: 32px; max-height: 180px; padding: 5px 8px; resize: none; line-height: 1.35; }
.gov-transcript-fulltext { width: 100%; min-height: 320px; margin-top: 12px; padding: 12px; resize: vertical; line-height: 1.55; }
.gov-transcript-detail [readonly] { border-color: transparent; background: transparent; }
.gov-transcript-editor-foot { margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--gov-border); }
.gov-transcript-time { color: #087f8f; font: 700 .78rem/1.4 ui-monospace,SFMono-Regular,Menlo,monospace; }

.gov-voice-box { display: grid; gap: 10px; padding: 13px; border: 1px solid var(--gov-border); border-radius: 12px; background: #f7fbfc; }
.gov-voice-box p { margin: 4px 0 0; }
.gov-recording { display: inline-flex; gap: 8px; align-items: center; color: #a7422e; font-weight: 750; }
.gov-recording span { width: 10px; height: 10px; border-radius: 50%; background: #d64a3a; animation: gov-pulse 1.2s ease-in-out infinite; }
.gov-audio { display: block; width: min(100%,460px); margin-top: 10px; }
.gov-memory-recent { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--gov-border); }
@keyframes gov-pulse { 50% { opacity: .35; transform: scale(.8); } }

.gov-search { display: grid; grid-template-columns: minmax(240px,1fr) minmax(125px,.25fr) minmax(150px,.3fr) auto auto auto; gap: 8px; }
.gov-search select,.gov-search input { width: 100%; border: 1px solid #bdd5df; border-radius: 9px; padding: 10px 11px; background:#fff; color:#14243a; font:inherit; }
.gov-search-answer { margin-top: 14px; padding: 14px; border-left: 4px solid var(--gov-green); background: #f4faf1; color: #294b2a; }
.gov-memory-scope { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:9px 12px; border-radius:10px; background:var(--gov-pale); color:var(--gov-muted); font-size:.8rem; }
.gov-memory-scope strong { color:var(--gov-navy); }
.gov-query-history { display:grid; gap:12px; margin-top:4px; }
.gov-query-card { display:grid; gap:14px; padding:17px 0; border-top:1px solid var(--gov-border); }
.gov-query-card header { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; }
.gov-query-card h4 { margin:3px 0 0; color:var(--gov-navy); font-size:1rem; }
.gov-query-card time { color:var(--gov-muted); font-size:.76rem; white-space:nowrap; }
.gov-query-answer { padding:15px 17px; border-left:4px solid var(--gov-teal); border-radius:0 10px 10px 0; background:#f3fafb; color:#20384d; line-height:1.65; white-space:pre-wrap; }
.gov-query-sources { color:var(--gov-muted); }
.gov-query-sources summary { cursor:pointer; color:var(--gov-navy); font-weight:800; }
.gov-query-sources > div { display:grid; gap:8px; margin-top:10px; }
.gov-query-sources article { display:grid; grid-template-columns:auto minmax(0,1fr); gap:10px; padding:10px 12px; border:1px solid var(--gov-border); border-radius:10px; }
.gov-query-sources article > span { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:var(--gov-pale); color:var(--gov-teal); font-weight:850; }
.gov-query-sources article div { display:grid; gap:3px; }
.gov-query-sources article small { color:var(--gov-muted); }
.gov-query-sources article p { margin:4px 0 0; color:#3c5063; line-height:1.45; }
.gov-source { padding: 13px; }
.gov-source mark { background: #fff2a8; }
.gov-source p { margin: 8px 0 0; line-height: 1.5; }
.gov-source-head { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
.gov-source-head small,.gov-result-count { color:var(--gov-muted); }
.gov-source-media { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:12px; }
.gov-source-note { padding-left:10px; border-left:3px solid var(--gov-green); color:var(--gov-muted); }
.gov-transcript-snippet { margin-top:12px; padding:10px 0; border-top:1px solid var(--gov-border); }
.gov-transcript-snippet summary { cursor:pointer; color:var(--gov-navy); font-weight:800; }

.gov-memory-surface,.gov-settings { display:grid; gap:16px; }
.gov-section-title { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; }
.gov-section-title.compact { margin-top:4px; }
.gov-section-title h3,.gov-section-title h4,.gov-question-intro h4 { margin:0; color:var(--gov-navy); }
.gov-section-title p,.gov-question-intro p { margin:4px 0 0; color:var(--gov-muted); }
.gov-memory-tabs,.gov-add-tabs { display:flex; gap:4px; padding-bottom:1px; border-bottom:1px solid var(--gov-border); overflow-x:auto; }
.gov-memory-tabs button,.gov-add-tabs button { border:0; border-bottom:3px solid transparent; padding:10px 14px; background:transparent; color:var(--gov-muted); font:inherit; font-weight:800; cursor:pointer; white-space:nowrap; }
.gov-memory-tabs button.is-active,.gov-add-tabs button.is-active { border-bottom-color:var(--gov-teal); color:var(--gov-navy); }
.gov-memory-content { display:grid; gap:14px; }
.gov-memory-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); background:var(--gov-pale); border-radius:12px; }
.gov-memory-summary div { padding:16px; border-right:1px solid var(--gov-border); }
.gov-memory-summary div:last-child { border-right:0; }
.gov-memory-summary strong { display:block; color:var(--gov-navy); font-size:1.45rem; }
.gov-memory-summary span { color:var(--gov-muted); font-size:.8rem; }
.gov-memory-indexing { display:flex; flex-wrap:wrap; align-items:center; gap:8px 11px; padding:11px 14px; border:1px solid #cce3b9; border-radius:10px; background:#f3faef; color:#3d7132; font-size:.82rem; }
.gov-memory-indexing > span:last-child { color:var(--gov-muted); }
.gov-memory-recent-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 28px; border-top:1px solid var(--gov-border); }
.gov-memory-recent-item { min-width:0; display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:11px; padding:14px 2px; border-bottom:1px solid var(--gov-border); }
.gov-memory-recent-item strong,.gov-memory-recent-item small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.gov-memory-recent-item strong { color:var(--gov-navy); }
.gov-memory-recent-item small { margin-top:3px; color:var(--gov-muted); font-size:.76rem; }
.gov-memory-symbol { width:34px; height:34px; display:grid; place-items:center; border-radius:10px; background:#e2f6f8; color:#087f8f; font-weight:900; }
.gov-memory-list { display:grid; }
.gov-memory-list .gov-source { border-width:0 0 1px; border-radius:0; padding:15px 2px; }
.gov-memory-filters { position:sticky; z-index:2; top:0; display:grid; grid-template-columns:minmax(230px,1.5fr) repeat(auto-fit,minmax(130px,1fr)); gap:8px; align-items:end; padding:12px; border-radius:12px; background:#f2f8fa; }
.gov-memory-filters input,.gov-memory-filters select { width:100%; min-height:40px; border:1px solid var(--gov-border); border-radius:9px; padding:8px 10px; background:#fff; font:inherit; }
.gov-memory-filters label { display:grid; gap:4px; color:var(--gov-muted); font-size:.75rem; font-weight:750; }
.gov-memory-filter-actions { min-height:40px; display:flex; align-items:center; gap:10px; }
.gov-memory-results-head { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.gov-memory-results-head p { margin:0; }
.gov-memory-results-head > span { padding:4px 8px; border-radius:999px; background:#e7f4f6; color:#087f8f; font-size:.72rem; font-weight:800; }
.gov-memory-explorer { border-top:1px solid var(--gov-border); }
.gov-memory-explorer-head,.gov-memory-explorer-item > summary { display:grid; grid-template-columns:minmax(95px,.65fr) minmax(260px,2fr) minmax(160px,1fr) minmax(115px,.75fr) minmax(100px,.65fr) 22px; gap:14px; align-items:center; }
.gov-memory-explorer-head { padding:9px 10px; color:var(--gov-muted); font-size:.7rem; font-weight:850; letter-spacing:.04em; text-transform:uppercase; }
.gov-memory-explorer-item { border-bottom:1px solid var(--gov-border); }
.gov-memory-explorer-item > summary { padding:13px 10px; cursor:pointer; list-style:none; color:#334d61; }
.gov-memory-explorer-item > summary::-webkit-details-marker { display:none; }
.gov-memory-explorer-item > summary:hover { background:#f5fafb; }
.gov-memory-explorer-item > summary strong,.gov-memory-explorer-item > summary small { display:block; }
.gov-memory-explorer-item > summary strong { overflow:hidden; color:var(--gov-navy); text-overflow:ellipsis; white-space:nowrap; }
.gov-memory-explorer-item > summary small { display:-webkit-box; margin-top:4px; overflow:hidden; color:var(--gov-muted); font-size:.74rem; line-height:1.35; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.gov-memory-explorer-item > summary time { color:var(--gov-muted); font-size:.78rem; }
.gov-memory-chevron { color:#087f8f; font-weight:900; transition:transform .15s ease; }
.gov-memory-explorer-item[open] .gov-memory-chevron { transform:rotate(180deg); }
.gov-memory-explorer-detail { padding:4px 20px 18px 120px; background:#f8fbfc; }
.gov-memory-explorer-detail .gov-source { border:0; background:transparent; }
.gov-question-form { display:grid; gap:10px; }
.gov-question-bar { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:9px; }
.gov-question-bar input { min-height:46px; border:1px solid #bdd5df; border-radius:10px; padding:10px 13px; background:#fff; color:#14243a; font:inherit; }
.gov-question-filters { color:var(--gov-muted); }
.gov-question-filters summary { width:max-content; cursor:pointer; color:#087f8f; font-size:.8rem; font-weight:800; }
.gov-question-filters > div { display:grid; grid-template-columns:repeat(4,minmax(130px,1fr)); gap:8px; margin-top:10px; padding:12px; border-radius:11px; background:#f2f8fa; }
.gov-question-filters label { display:grid; gap:4px; color:var(--gov-muted); font-size:.74rem; font-weight:750; }
.gov-question-filters input,.gov-question-filters select { min-height:39px; border:1px solid var(--gov-border); border-radius:8px; padding:7px 9px; background:#fff; font:inherit; }
.gov-add-tabs { margin-bottom:16px; }
.gov-settings-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:0; padding:14px 0; border-top:1px solid var(--gov-border); border-bottom:1px solid var(--gov-border); }
.gov-settings-list div { padding:0 16px; border-right:1px solid var(--gov-border); }
.gov-settings-list div:first-child { padding-left:0; }.gov-settings-list div:last-child { border-right:0; }
.gov-settings-list dt { color:var(--gov-muted); font-size:.78rem; font-weight:700; }.gov-settings-list dd { margin:4px 0 0; color:var(--gov-navy); font-weight:800; }
.gov-principles { color:var(--gov-muted); }.gov-principles summary { cursor:pointer; color:var(--gov-navy); font-weight:800; }

.gov-alert { padding: 12px 14px; border: 1px solid #ffd2c7; border-radius: 10px; background: #fff5f1; color: #963e2f; }
.gov-alert[data-tone="success"] { border-color: #c9e8bc; background: #f3faef; color: #347326; }
.gov-loading { display: flex; align-items: center; gap: 10px; padding: 20px; color: var(--gov-muted); }
.gov-spinner { width: 18px; height: 18px; border: 3px solid #d2e7ec; border-top-color: var(--gov-teal); border-radius: 50%; animation: gov-spin .7s linear infinite; }
@keyframes gov-spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .gov-grid-two,.gov-meeting-layout,.gov-overview-grid,.gov-meeting-workbench { grid-template-columns: 1fr; }
  .gov-meeting-workbench.is-notes-collapsed { grid-template-columns:1fr; }
  .gov-notes-workspace.is-collapsed { min-height:0; }
  .gov-notes-workspace.is-collapsed > button { flex-direction:row; justify-content:center; }
  .gov-notes-workspace.is-collapsed > button strong { writing-mode:horizontal-tb; transform:none; }
  .gov-meeting-nav { position: static; }
  .gov-metric-strip { grid-template-columns: repeat(2,minmax(110px,1fr)); }
  .gov-metric-strip > div:nth-child(2) { border-right: 0; }
  .gov-metric-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--gov-border); }
  .gov-metric-strip > div:first-child,.gov-metric-strip > div:nth-child(3) { padding-left: 2px; }
  .gov-search,.gov-memory-filters { grid-template-columns:1fr 1fr; }
  .gov-memory-explorer-head { display:none; }
  .gov-memory-explorer-item > summary { grid-template-columns:minmax(90px,.45fr) minmax(0,1.7fr) minmax(110px,.7fr) 22px; }
  .gov-memory-explorer-item > summary > span:nth-child(3),.gov-memory-explorer-item > summary > span:nth-child(5) { display:none; }
  .gov-memory-explorer-detail { padding-left:18px; }
  .gov-context-bar { grid-template-columns:1fr auto; }.gov-context-meta { grid-column:1/-1; grid-row:2; }
  .gov-meeting-shortcuts { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .gov-heading,.gov-panel-head,.gov-list-item { flex-direction: column; }
  .gov-form-grid { grid-template-columns: 1fr; }
  .gov-overview-hero { padding: 20px; border-radius: 16px; }
  .gov-overview-hero-head { display: grid; }
  .gov-overview-quick-actions { justify-content: flex-start; }
  .gov-focus-meeting { grid-template-columns: auto minmax(0,1fr); align-items: start; }
  .gov-focus-meeting .hero-primary { grid-column: 1/-1; width: 100%; }
  .gov-metric-strip > div { padding: 12px 10px; }
  .gov-metric-strip > div:first-child,.gov-metric-strip > div:nth-child(3) { padding-left: 0; }
  .gov-metric-strip span { font-size: .72rem; }
  .gov-metric-strip strong { font-size: 1.25rem; }
  .gov-overview-grid { gap: 30px; }
  .gov-activity-item { grid-template-columns: auto minmax(0,1fr) auto; }
  .gov-activity-item .gov-badge { display: none; }
  .gov-meeting-header,.gov-capture-hub { grid-template-columns: 1fr; display: grid; }
  .gov-capture-hub.is-compact { grid-template-columns:1fr; }
  .gov-meeting-header-actions { justify-content: flex-end; }
  .gov-capture-icon,.gov-capture-dot { display: none; }
  .gov-document-tabs button,.gov-notes-tabs button { padding-inline: 9px; }
  .gov-document-body { padding: 14px; }
  .gov-agenda-row { grid-template-columns: 28px 24px minmax(0,1fr); }
  .gov-agenda-actions { grid-column: 3; flex-wrap: wrap; }
  .gov-record-actions { justify-content: flex-start; }
  .gov-meeting-shortcuts { grid-template-columns: 1fr; }
  .gov-search,.gov-memory-filters,.gov-memory-summary,.gov-settings-list,.gov-memory-recent-list,.gov-question-filters > div { grid-template-columns: 1fr; }
  .gov-section-title,.gov-context-bar { grid-template-columns:1fr; display:grid; }
  .gov-context-meta { grid-column:auto;grid-row:auto; }
  .gov-memory-summary div,.gov-settings-list div { border-right:0; border-bottom:1px solid var(--gov-border); padding:12px 0; }
  .gov-minutes-toolbar { display:grid; }
  .gov-minutes-reader { min-height:50vh; padding:4px 0 18px; border:0; box-shadow:none; }
  .gov-question-bar { grid-template-columns:1fr; }
  .gov-memory-explorer-item > summary { grid-template-columns:minmax(84px,.55fr) minmax(0,1fr) 20px; gap:8px; }
  .gov-memory-explorer-item > summary time { display:none; }
  .gov-transcript-segment { grid-template-columns: 48px minmax(0,1fr); }
  .gov-transcript-segment textarea { grid-column: 1/-1; }
  .gov-session-note-row { grid-template-columns: 50px minmax(0,1fr) 28px; }
  .global-governance-select { width: min(32vw,150px); padding-inline: 10px; }
  .gov-header-toast { right: 10px; }
  .global-governance-select-copy small { display: none; }
  .gov-instance-selector-intro { align-items: stretch; flex-direction: column; }
  .gov-instance-choice { grid-template-columns: 1fr; }
  .gov-instance-choice-main { grid-template-columns: 1fr; }
  .gov-instance-choice-main .gov-badges { justify-content: flex-start; }
  .gov-meeting-list-tools { display: grid; grid-template-columns: 1fr; }
  .gov-meeting-list-tools label,.gov-meeting-list-tools .gov-meeting-search { min-width: 0; }
  .gov-meeting-list-item { grid-template-columns: 1fr; gap: 10px; }
  .gov-meeting-list-aside { justify-content: space-between; }
  .gov-meeting-list-aside .gov-badges { justify-content: flex-start; }
}
@media (max-width: 500px) {
  body.direction-governance-active .global-logo { display: none; }
  body.direction-governance-active .global-workspace-select { width: clamp(96px,36vw,140px); }
  .global-governance-select { width: clamp(90px,28vw,120px); }
}
