/* -- superseded, merged into the later definition of this same selector further down: .dwf-civic-toolkit{font-family:inherit;color:inherit} */.dwf-lookup-row{display:flex;gap:.75rem;flex-wrap:wrap;margin:.5rem 0}.dwf-lookup-row input{min-width:260px;flex:1;padding:.75rem;border:1px solid #c9ced6;border-radius:8px}.dwf-lookup-row button,.dwf-button{display:inline-block;padding:.7rem 1rem;border:0;border-radius:8px;background:#1d4ed8;color:#fff;text-decoration:none;cursor:pointer}.dwf-help-text,.dwf-meta{color:#5f6b7a;font-size:.95em}.dwf-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem;margin-top:1rem}.dwf-member-card{display:flex;gap:1rem;border:0;border-radius:14px;padding:1rem;background:#fff;box-shadow:0 1px 3px rgba(15,23,42,.08)}.dwf-member-photo{width:84px;height:84px;object-fit:cover;border-radius:999px;background:#eef2f7}.dwf-member-body h3{margin:.1rem 0 .35rem}.dwf-member-body h3 a{color:inherit;text-decoration:none}.dwf-member-body h3 a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}.dwf-member-body p{margin:.35rem 0}.dwf-notice{padding:1rem;border:1px solid #d8dee8;border-radius:10px;background:#f8fafc;margin-top:1rem}.dwf-jurisdiction-hero,.dwf-jurisdiction-module{border:1px solid #d8dee8;border-radius:14px;padding:1.25rem;margin:1rem 0;background:#fff}.dwf-rep-lookup.is-loading .dwf-rep-results{opacity:.65}

/* ==========================================================================
   Who Represents Me? admin design system
   White/black, minimal, non-serif. Deliberately departs from stock wp-admin
   chrome inside .dwf-admin -- restyles WP's own buttons/tables/notices too,
   not just our own custom classes, since the brief is "don't look like
   default wp-admin" for these screens specifically.
   ========================================================================== */
.dwf-admin{
  --dwf-ink:#0a0a0a;
  --dwf-ink-soft:#3a3a3a;
  --dwf-graphite:#6b6b6b;
  --dwf-hairline:#e4e4e4;
  --dwf-hairline-strong:#cfcfcf;
  --dwf-paper:#ffffff;
  --dwf-fog:#fafafa;
  --dwf-saved:#1f6d43;
  --dwf-warn:#8a4a11;
  --dwf-font:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif;
  font-family:var(--dwf-font);
  color:var(--dwf-ink);
  -webkit-font-smoothing:antialiased;
}
.dwf-admin, .dwf-admin p, .dwf-admin li, .dwf-admin label, .dwf-admin th, .dwf-admin td{font-family:var(--dwf-font)}
.dwf-admin h1, .dwf-admin h2, .dwf-admin h3{font-family:var(--dwf-font);color:var(--dwf-ink);letter-spacing:-.01em}
.dwf-admin p{color:var(--dwf-ink-soft);line-height:1.65}
.dwf-admin a{color:var(--dwf-ink);text-decoration-color:var(--dwf-hairline-strong);text-underline-offset:.15em}
.dwf-admin a:hover{text-decoration-color:var(--dwf-ink)}
.dwf-admin code{background:var(--dwf-fog);border:1px solid var(--dwf-hairline);border-radius:4px;padding:.15rem .4rem;font-size:.9em;color:var(--dwf-ink)}

/* Header */
.dwf-admin .dwfct-admin-shell{max-width:1180px;margin-top:1.5rem}
.dwf-admin .dwfct-admin-hero{display:flex;justify-content:space-between;gap:1.5rem;align-items:flex-end;background:var(--dwf-paper);color:var(--dwf-ink);border:0;border-bottom:2px solid var(--dwf-ink);border-radius:0;padding:0 0 1.4rem;margin:0}
.dwf-admin .dwfct-admin-hero h1{color:var(--dwf-ink);margin:.2rem 0 .5rem;font-size:2.1rem;font-weight:700;line-height:1.1;letter-spacing:-.02em}
.dwf-admin .dwfct-admin-hero p{color:var(--dwf-graphite);max-width:640px;margin:.35rem 0 0;font-size:.98rem}
.dwf-admin .dwfct-eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:.72rem;font-weight:700;margin:0;color:var(--dwf-graphite)!important}
.dwf-admin .dwfct-version{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;background:transparent;border:1px solid var(--dwf-ink);border-radius:999px;padding:.4rem .9rem;font-weight:600;font-size:.82rem;color:var(--dwf-ink)}

/* Tabs -- underline style, not boxed pills */
.dwf-admin .dwfct-tabs{margin:0 0 2rem;padding:0;background:transparent;border:0;border-bottom:1px solid var(--dwf-hairline);border-radius:0;box-shadow:none}
.dwf-admin .dwfct-tabs .nav-tab-wrapper{border-bottom:0}
.dwf-admin .dwfct-tabs .nav-tab{margin:0 1.6rem 0 0;padding:.9rem 0;background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;font-weight:600;font-size:.92rem;color:var(--dwf-graphite);box-shadow:none;transition:color .12s ease,border-color .12s ease}
.dwf-admin .dwfct-tabs .nav-tab:hover,.dwf-admin .dwfct-tabs .nav-tab:focus{color:var(--dwf-ink);background:transparent;border-bottom-color:var(--dwf-hairline-strong)}
.dwf-admin .dwfct-tabs .nav-tab-active,.dwf-admin .dwfct-tabs .nav-tab-active:hover{color:var(--dwf-ink);border-bottom-color:var(--dwf-ink)}

/* Layout + cards */
.dwf-admin .dwfct-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;margin-top:1.25rem}
.dwf-admin .dwfct-card{background:var(--dwf-paper);border:1px solid var(--dwf-hairline);border-radius:6px;padding:1.5rem 1.7rem;box-shadow:none}
.dwf-admin .dwfct-notice-card{background:var(--dwf-fog);border-color:var(--dwf-hairline-strong)}
.dwf-admin .dwfct-card-wide{grid-column:1/-1}
/* "Show Optional State Map Shortcode and Data Retention as 2 columns side
   by side" + "increase width of column so this does not wrap" -- both
   ported from dwf-civic-toolkit-core. */
.dwf-admin .dwfct-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;margin-top:1.25rem}
@media (max-width:900px){.dwf-admin .dwfct-two-col{grid-template-columns:1fr}}
.dwf-admin .dwfct-table-scroll{overflow-x:auto}
.dwf-admin .dwfct-card h2{margin-top:0;font-size:1.15rem;font-weight:700}
.dwf-admin .dwfct-card h3{font-size:.98rem;font-weight:700;margin:1.1rem 0 .5rem}

/* Legacy panel classes kept for backward compatibility, restyled to match */
.dwf-admin .dwf-admin-hero{background:var(--dwf-paper);border:1px solid var(--dwf-hairline);border-radius:6px;padding:1.5rem 1.7rem;margin:1rem 0;box-shadow:none}
.dwf-admin .dwf-admin-hero h2{margin:.1rem 0 .5rem;font-size:1.3rem;font-weight:700}
.dwf-admin .dwf-admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1.25rem;margin-top:1rem}
.dwf-admin .dwf-admin-panel{background:var(--dwf-paper);border:1px solid var(--dwf-hairline);border-radius:6px;padding:1.5rem 1.7rem;margin:1rem 0;box-shadow:none}
.dwf-admin .dwf-step-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem;margin-top:1rem}
.dwf-admin .dwf-step-card{border:1px solid var(--dwf-hairline);border-radius:6px;padding:1.1rem;background:var(--dwf-fog)}
.dwf-admin .dwf-step-card h3{margin:.1rem 0 .4rem}

/* Checklists / status / stats */
.dwf-admin .dwfct-checklist{margin:0;padding-left:0;list-style:none}
.dwf-admin .dwfct-checklist li{margin:.6rem 0;padding:.7rem .9rem;border:1px solid var(--dwf-hairline);border-left:3px solid var(--dwf-ink);background:var(--dwf-fog);border-radius:4px}
.dwf-admin .dwfct-checklist li.is-disabled{opacity:.5;border-left-color:var(--dwf-hairline-strong)}
.dwf-admin .dwfct-inline-complete{margin:.5rem 0 0}
.dwf-admin .dwfct-status-list p{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--dwf-hairline);padding:.65rem 0;margin:0}
.dwf-admin .dwfct-status-saved{font-weight:700;color:var(--dwf-saved)}
.dwf-admin .dwfct-status-missing{font-weight:700;color:var(--dwf-warn)}
.dwf-admin .dwfct-status-optional{font-weight:700;color:var(--dwf-graphite)}
.dwf-admin .dwfct-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}
.dwf-admin .dwfct-stat-grid>div{background:var(--dwf-fog);border:1px solid var(--dwf-hairline);border-radius:6px;padding:1.1rem}
.dwf-admin .dwfct-stat-grid strong{display:block;font-size:1.7rem;font-weight:700;color:var(--dwf-ink);letter-spacing:-.02em}
.dwf-admin .dwfct-stat-grid span{display:block;color:var(--dwf-graphite);font-size:.86rem;margin-top:.2rem}
.dwf-admin .dwfct-checkbox-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem 1rem;margin:.5rem 0 1rem}

/* 8/12/26: live-updating status bar, brought back at Eric's request.
   Ported from dwf-civic-toolkit-core -- see that plugin for the full
   reasoning. .is-active is toggled by dwf-civic-toolkit-admin.js based on
   the AJAX response, not by PHP -- so the same markup works whether a
   queue is running or idle without a page reload either way. */
.dwf-admin .dwfct-progress-group{display:flex;flex-direction:column;gap:.9rem;margin-top:1rem}
.dwf-admin .dwfct-progress-row{display:flex;flex-direction:column;gap:.35rem}
.dwf-admin .dwfct-progress-row-head{display:flex;justify-content:space-between;align-items:baseline;font-size:.86rem}
.dwf-admin .dwfct-progress-label{font-weight:700;color:var(--dwf-ink)}
.dwf-admin .dwfct-progress-count{color:var(--dwf-graphite);font-variant-numeric:tabular-nums}
.dwf-admin .dwfct-progress-detail{font-size:.78rem;color:var(--dwf-graphite);margin-top:.15rem}
.dwf-admin .dwfct-progress-track{height:10px;border-radius:99px;background:var(--dwf-fog);border:1px solid var(--dwf-hairline);overflow:hidden}
.dwf-admin .dwfct-progress-fill{height:100%;width:0;border-radius:99px;background:var(--dwf-ink);transition:width .4s ease}
.dwf-admin .dwfct-progress-row.is-active .dwfct-progress-fill{background:var(--dwf-accent,var(--dwf-ink))}
.dwf-admin .dwfct-progress-row.is-active .dwfct-progress-label::after{content:" \2022 running";font-weight:400;color:var(--dwf-graphite);font-size:.82rem}
.dwf-admin .dwfct-checkbox-grid label{display:block;color:var(--dwf-ink-soft)}
@media (max-width:782px){.dwf-admin .dwfct-checkbox-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:480px){.dwf-admin .dwfct-checkbox-grid{grid-template-columns:1fr}}
.dwf-admin .dwfct-progress-bar{display:block;height:4px;background:var(--dwf-hairline);border-radius:999px;overflow:hidden;margin:.8rem 0 .4rem}
.dwf-admin .dwfct-progress-bar-fill{display:block;height:100%;background:var(--dwf-ink);border-radius:999px}
.dwf-admin .dwfct-progress-label{font-size:.82rem;color:var(--dwf-graphite)}
.dwf-admin .dwfct-compact-api-form input.regular-text{max-width:100%;width:100%}
@media (max-width:900px){.dwf-admin .dwfct-dashboard-grid{grid-template-columns:1fr}.dwf-admin .dwfct-admin-hero{display:block}.dwf-admin .dwfct-version{margin-top:1rem;display:inline-flex}}

/* Onboarding steps -- numbered outline tags, no color fill */
.dwf-admin .dwfct-onboarding-steps{display:grid;gap:.85rem;margin:1rem 0}
.dwf-admin .dwfct-onboarding-step{display:flex;align-items:flex-start;gap:1.1rem;text-decoration:none;background:var(--dwf-paper);border:1px solid var(--dwf-hairline);border-radius:6px;padding:1.15rem 1.3rem;transition:border-color .12s ease;color:var(--dwf-ink)}
.dwf-admin .dwfct-onboarding-step:hover{border-color:var(--dwf-ink)}
.dwf-admin .dwfct-onboarding-number{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;border-radius:999px;border:1.5px solid var(--dwf-ink);background:transparent;color:var(--dwf-ink);font-size:1.15rem;font-weight:700;line-height:1}
.dwf-admin .dwfct-onboarding-copy strong{display:block;font-size:1.05rem;font-weight:700;line-height:1.25;margin:.1rem 0 .3rem;color:var(--dwf-ink)}
.dwf-admin .dwfct-onboarding-copy span{display:block;font-size:.92rem;line-height:1.5;color:var(--dwf-graphite)}
.dwf-admin .dwfct-onboarding-step.is-complete{background:var(--dwf-fog);border-color:var(--dwf-hairline-strong)}
.dwf-admin .dwfct-onboarding-step.is-complete .dwfct-onboarding-number{background:var(--dwf-ink);color:var(--dwf-paper);border-color:var(--dwf-ink)}
.dwf-admin .dwfct-onboarding-step.is-complete .dwfct-onboarding-copy strong{color:var(--dwf-ink)}
@media (max-width:700px){.dwf-admin .dwfct-onboarding-step{display:block}.dwf-admin .dwfct-onboarding-number{margin-bottom:.75rem}}

/* WordPress default controls, restyled to match -- buttons, tables, forms, notices.
   8/12/26: real fix, ported from dwf-civic-toolkit-core -- see that plugin's
   own CSS for the full reasoning (primary/secondary previously resolved to
   an identical rest state, now deliberately filled vs outlined). */
.dwf-admin .button,.dwf-admin .button-secondary{
  background:var(--dwf-paper);border:1px solid var(--dwf-ink);color:var(--dwf-ink);
  border-radius:4px;font-weight:600;font-size:.86rem;padding:.5rem 1.1rem;height:auto;
  box-shadow:none;text-shadow:none;transition:background .12s ease,color .12s ease;
}
.dwf-admin .button:hover,.dwf-admin .button-secondary:hover{background:var(--dwf-ink);color:var(--dwf-paper);border-color:var(--dwf-ink);opacity:1}
.dwf-admin .button-primary{
  background:var(--dwf-ink);border:1px solid var(--dwf-ink);color:var(--dwf-paper);
  border-radius:4px;font-weight:600;font-size:.86rem;padding:.5rem 1.1rem;height:auto;
  box-shadow:none;text-shadow:none;transition:background .12s ease,border-color .12s ease;
}
.dwf-admin .button-primary:hover,.dwf-admin .button-primary:focus{background:var(--dwf-ink-soft);border-color:var(--dwf-ink-soft);color:var(--dwf-paper);opacity:1}
.dwf-admin p.submit{text-align:right;margin:1rem 0 0;padding:0;}
.dwf-admin p:has(> a.button:only-child),
.dwf-admin p:has(> button:only-child),
.dwf-admin p:has(> input[type="submit"]:only-child){text-align:right}
/* "Change items in box to bullet list" -- ported from dwf-civic-toolkit-core. */
.dwf-admin .dwfct-setup-links{list-style:none;margin:.75rem 0 0;padding:0;display:flex;flex-direction:column;gap:.5rem}
.dwf-admin .dwfct-setup-links li{margin:0}
.dwf-admin .dwfct-setup-links .button,.dwf-admin .dwfct-setup-links .button-primary{display:inline-block;width:auto}
.dwf-admin input[type="text"],.dwf-admin input[type="password"],.dwf-admin input[type="email"],
.dwf-admin input[type="url"],.dwf-admin input[type="number"],.dwf-admin select,.dwf-admin textarea{
  border:1px solid var(--dwf-hairline-strong);border-radius:4px;box-shadow:none;color:var(--dwf-ink);
  padding:.5rem .65rem;font-family:var(--dwf-font);background:var(--dwf-paper);
}
.dwf-admin input[type="text"]:focus,.dwf-admin input[type="password"]:focus,.dwf-admin input[type="email"]:focus,
.dwf-admin input[type="url"]:focus,.dwf-admin input[type="number"]:focus,.dwf-admin select:focus,.dwf-admin textarea:focus{
  border-color:var(--dwf-ink);box-shadow:0 0 0 1px var(--dwf-ink);outline:none;
}
.dwf-admin input[type="checkbox"],.dwf-admin input[type="radio"]{accent-color:var(--dwf-ink)}
.dwf-admin table.widefat,.dwf-admin table.form-table{border:1px solid var(--dwf-hairline);border-radius:6px;overflow:hidden;border-collapse:separate;border-spacing:0}
.dwf-admin table.widefat th,.dwf-admin table.widefat td{border-color:var(--dwf-hairline);padding:.75rem .9rem;font-family:var(--dwf-font)}
.dwf-admin table.widefat thead th{background:var(--dwf-fog);color:var(--dwf-ink);font-weight:700;text-transform:uppercase;font-size:.72rem;letter-spacing:.08em}
.dwf-admin table.widefat.striped tbody tr:nth-child(odd){background:var(--dwf-fog)}
.dwf-admin table.form-table th{font-weight:600;color:var(--dwf-ink)}
.dwf-admin .description{color:var(--dwf-graphite);font-size:.88rem}
.dwf-admin .notice,.dwf-admin div.notice{border:1px solid var(--dwf-hairline-strong);border-left:3px solid var(--dwf-ink);background:var(--dwf-paper);border-radius:4px;box-shadow:none}
.dwf-admin .notice-success,.dwf-admin div.notice-success{border-left-color:var(--dwf-saved)}
.dwf-admin .notice-warning,.dwf-admin div.notice-warning{border-left-color:var(--dwf-warn)}
.dwf-admin .notice-error,.dwf-admin div.notice-error{border-left-color:#8a1f1f}


/* Public States archive and older state-page style restoration */
.dwf-state-map-wrap{display:flex;justify-content:center;margin:1rem auto 2rem;max-width:800px;width:100%}.dwf-state-map-wrap>*{max-width:100%}.dwf-state-index-section{margin:2rem 0}.dwf-state-index-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:2.25rem;row-gap:.35rem}.dwf-state-index-list p{margin:0}.dwf-state-index-list a{text-decoration:none}.dwf-state-index-list a:hover{text-decoration:underline}.dwf-state-index-section--territories{border-top:1px solid #d8dee8;margin-top:2.5rem;padding-top:1.5rem}.dwf-state-tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0 1.5rem}.dwf-state-tabs a{display:inline-block;text-decoration:none;border:1px solid #d8dee8;border-radius:999px;padding:.5rem .85rem;background:#fff}.dwf-state-kicker{text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:#1d4ed8;margin:0 0 .35rem}.dwf-state-fact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin:1rem 0}.dwf-state-fact{border:1px solid #d8dee8;border-radius:12px;padding:1rem;background:#f8fafc}.dwf-state-fact strong,.dwf-state-fact span{display:block}.dwf-state-fact span{margin-top:.35rem;color:#475569}.dwf-branch-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin:1rem 0}.dwf-branch-card-grid article{border:1px solid #d8dee8;border-radius:12px;padding:1rem;background:#f8fafc}.dwfct-action-row{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap;margin:1rem 0}.dwfct-map-shortcode-form{margin-top:1.25rem}.dwfct-map-shortcode-form input.large-text{max-width:760px}
@media (max-width:760px){.dwf-state-index-list{grid-template-columns:1fr}}


/* Full-width generated state pages and editable States index. */
.dwf-state-page-full,
.dwf-generated-state-page,
.dwf-states-index.alignwide,
.dwf-states-index.alignfull {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.entry-content > .dwf-civic-toolkit.dwf-state-page-full,
.entry-content > .dwf-civic-toolkit.dwf-states-index {
  max-width: none;
}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-legacy-header { padding: 3rem 0 4rem; border-bottom: 1px solid #e5e7eb; } */
.dwf-state-legacy-header h1 { font-size: clamp(3rem, 7vw, 5.25rem); line-height: 1; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
/* 2026-07-22: .dwf-state-legacy-overview and .dwf-state-intro-copy (the
   plain, unscoped version) removed here -- confirmed dead, no PHP
   anywhere in the plugin outputs .dwf-state-legacy-header or
   .dwf-state-legacy-overview. The active version of .dwf-state-intro-copy
   is the one scoped to .dwf-state-page-full further down this file. */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-header-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #e5e7eb; } */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-header-fact { padding: 1rem 0; border-bottom: 1px solid #e5e7eb; } */
.dwf-state-header-fact__label { display: block; text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; color: #475569; font-weight: 700; }
.dwf-state-header-fact__value { display: block; font-weight: 700; color: #111827; }
.dwf-state-federal-card { border: 1px solid #e5e7eb; border-radius: 8px; padding: 1rem; max-width: 960px; box-shadow: 0 10px 30px rgba(15,23,42,.04); }
.dwf-state-federal-card h2 { margin-top: 0; }
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-rep-section { border: 1px solid #e5e7eb; border-radius: 12px; padding: 1rem; margin-top: 1rem; } */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-member-grid { display: grid; gap: .75rem; } */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-member-grid--senate { grid-template-columns: repeat(2, minmax(0, 1fr)); } */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-member-grid--house { grid-template-columns: repeat(3, minmax(0, 1fr)); } */
.dwf-state-member-card { display: flex; gap: .75rem; align-items: center; border: 1px solid #edf2f7; border-radius: 8px; padding: .75rem; min-height: 72px; }
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-member-card img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; } */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-member-district { display: block; font-size: .85rem; color: #475569; } */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-member-name { display: block; font-weight: 700; text-decoration: none; } */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-member-party { display: block; color: #475569; font-size: .9rem; } */
.dwf-empty-copy { color: #64748b; }
@media (max-width: 800px) { .dwf-state-legacy-overview, .dwf-state-member-grid--senate, .dwf-state-member-grid--house { grid-template-columns: 1fr; } }

/* Plugin-supplied page templates for editable State/States pages.
 *
 * PAGE WIDTH (2026-08-30, per direct instruction, SUPERSEDES the entire
 * width-iteration history that used to be documented here -- three
 * corrections across two sessions, from a dead `alignfull` class
 * through a Memberlite-specific hardcode to a two-layer viewport-escape
 * system matching the sibling Presidents plugin, plus a later fix for a
 * competing 1180px rule found drifting against this one). None of that
 * is being refined further; it's being removed. The real lesson from
 * that whole history, repeated near-identically across multiple files
 * in this plugin, is that inventing a custom width mechanism per
 * template is itself the wrong approach -- each one was a fresh,
 * independent place to get width wrong on a given theme. These four
 * templates (States Home, State Profile, Family Page, Congress Member)
 * now render inside whatever content width the active theme already
 * provides by default, the same as an ordinary WordPress page -- no
 * wrapper class, no viewport math, no fixed max-width. Also a
 * straightforward portability improvement for Who Represents Me? (the
 * WP.org-bound plugin these same four templates are shared with):
 * fewer assumptions about how to reach "full width" means fewer ways to
 * get it wrong on an arbitrary end-user's theme, not just this site's.
 */
.dwf-plugin-page-template,
.dwf-plugin-template-content,
.dwf-plugin-template-content--states-home,
.dwf-plugin-template-content--state-profile,
.dwf-plugin-template-content--family-page,
.dwf-plugin-template-content--congress-member,
.dwf-plugin-content-cap {
  width: auto;
  max-width: none;
}
/* Descendant selector, not direct-child -- .dwf-civic-toolkit content
   (e.g. the [dwf_states_index] shortcode, embedded via the_content() in
   dwf-states-home-template.php) now sits one level deeper than before,
   inside the new .dwf-plugin-content-cap wrapper added 2026-08-06. A
   descendant selector survives that without needing to track the exact
   nesting depth. */
.dwf-plugin-template-content .dwf-civic-toolkit {
  width: 100%;
  max-width: none;
}

/* DWF Civic Block Registry layout system */
.dwf-civic-layout{display:flex;flex-direction:column;gap:1.5rem;width:100%;}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-civic-layout-row{display:grid;gap:1.25rem;width:100%;align-items:stretch;} */
.dwf-civic-layout-row--1{grid-template-columns:1fr;}
.dwf-civic-layout-row--2{grid-template-columns:repeat(2,minmax(0,1fr));}
.dwf-civic-layout-row--3{grid-template-columns:repeat(3,minmax(0,1fr));}
.dwf-civic-layout-row--4{grid-template-columns:repeat(4,minmax(0,1fr));}
.dwf-civic-layout-col--full{grid-column:1 / -1;}
.dwf-civic-block{width:100%;box-sizing:border-box;}
.dwf-civic-block--layout-half .dwf-state-member-grid{grid-template-columns:1fr;}
.dwf-civic-block--layout-third .dwf-state-member-grid,
.dwf-civic-block--layout-quarter .dwf-state-member-grid,
.dwf-civic-block--layout-compact .dwf-state-member-grid{grid-template-columns:1fr;}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-member-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.55rem;} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-member-list li{border:1px solid #e5e7eb;border-radius:10px;padding:.65rem .75rem;background:#fff;display:flex;flex-direction:column;gap:.15rem;} */
.dwf-state-member-list a{font-weight:700;text-decoration:none;}
.dwf-state-member-list span{font-size:.86rem;color:#667085;}
.dwf-civic-addon-zone{margin-top:1.5rem;}
.dwf-state-header-facts--standalone{margin:0;}
@media (max-width: 800px){.dwf-civic-layout-row--2,.dwf-civic-layout-row--3,.dwf-civic-layout-row--4{grid-template-columns:1fr;}}

/* Public Square MVP shell/design system additions */
.dwf-civic-container{max-width:1180px;margin:0 auto;padding:clamp(20px,3vw,44px)}.dwf-civic-container-slot{margin:0 0 28px}.dwf-shell-card,.dwf-civic-module,.dwf-tools-directory,.dwf-mvp-report{background:#fff;border:1px solid #d9dee8;border-radius:16px;padding:clamp(18px,2.5vw,30px);box-shadow:0 8px 24px rgba(15,23,42,.06)}.dwf-tool-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}.dwf-tool-card{border:1px solid #e5e7eb;border-radius:14px;padding:18px;background:#f8fafc}.dwf-tool-meta{font-size:.88rem;opacity:.75}.dwf-tool-button,.dwfps-red-button{display:inline-block;border-radius:999px;padding:.65rem 1rem;text-decoration:none;border:1px solid currentColor;font-weight:700}@media(max-width:700px){.dwf-civic-container{padding:18px}.dwf-shell-card,.dwf-civic-module,.dwf-tools-directory,.dwf-mvp-report{padding:18px;border-radius:12px}.dwf-tool-grid{grid-template-columns:1fr}}

/* 3.3.6: state header polish */
.dwf-state-header-facts .dwf-state-header-fact:nth-child(1), .dwf-state-header-facts .dwf-state-header-fact:nth-child(2){align-self:stretch;}
@media (min-width: 640px){.dwf-state-header-facts{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* 3.3.8-dev representative lookup form restoration */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-lookup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-lookup-grid label{display:flex;flex-direction:column;gap:6px;font-weight:600} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-lookup-grid input{width:100%;box-sizing:border-box} */
@media (max-width:700px){.dwf-lookup-grid{grid-template-columns:1fr}}

/* 3.3.9-dev: tighter state pages and restored representative profiles */
.dwf-generated-state-page .dwf-civic-layout,
.dwf-state-page-full .dwf-civic-layout{gap:1rem;max-width:1040px;margin:0 auto;}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-legacy-header{padding:2rem 0 1.75rem;border-bottom:1px solid #e5e7eb}
.dwf-state-legacy-overview{padding:1.75rem 0 1.25rem;gap:2rem;max-width:1040px;}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-header-facts{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));border-top:1px solid #e5e7eb;gap:0;border-left:1px solid #e5e7eb;border-radius:14px;overflow:hidden;background:#fff}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-header-fact{padding:.85rem 1rem;border-bottom:1px solid #e5e7eb;border-right:1px solid #e5e7eb;background:#fff}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-civic-layout-row{display:grid;gap:1rem;width:100%;align-items:stretch}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-rep-section{max-width:1040px;margin:0 auto 1rem;padding:1rem 1.1rem;background:#fff;} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-rep-section h2{font-size:1.35rem;margin:.1rem 0 .8rem;} */
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-member-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.4rem}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-member-list li{border:1px solid #e5e7eb;border-radius:10px;padding:.55rem .7rem;background:#fff;display:flex;flex-direction:row;gap:1rem;justify-content:space-between;align-items:center}
.dwf-state-member-list__meta{white-space:nowrap;}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile{max-width:1040px;margin:0 auto 2rem;} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__header{display:flex;gap:1.5rem;align-items:center;border:1px solid #e5e7eb;border-radius:18px;padding:1.25rem;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.05);} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__photo{width:128px;height:128px;border-radius:16px;object-fit:cover;background:#f1f5f9;} */
.dwf-member-profile__intro h2{margin:.1rem 0 .35rem;font-size:clamp(1.8rem,4vw,2.8rem);line-height:1.05;}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__subtitle{margin:0 0 .85rem;color:#475569;font-weight:700;} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0;} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__card{border:1px solid #e5e7eb;border-radius:14px;padding:1rem;background:#fff;} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__card h3{margin-top:0;} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__facts{display:grid;grid-template-columns:minmax(120px,.45fr) 1fr;gap:.45rem .8rem;margin:0;} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__facts dt{font-weight:700;color:#475569;} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__facts dd{margin:0;color:#111827;} */
.dwf-member-profile__terms ul,.dwf-member-profile__party-history ul{margin:.5rem 0 0;padding-left:1.2rem;}
@media (max-width:800px){.dwf-state-legacy-overview,.dwf-member-profile__grid{grid-template-columns:1fr}/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__header{align-items:flex-start} */.dwf-state-member-list li{display:block}.dwf-state-member-list__meta{white-space:normal}/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__photo{width:96px;height:96px} */}
@media (max-width:560px){.dwf-member-profile__header{display:block}.dwf-member-profile__photo{margin-bottom:1rem}.dwf-member-profile__facts{grid-template-columns:1fr}.dwf-member-profile__facts dt{margin-top:.35rem}.dwf-state-header-facts{grid-template-columns:1fr}}

/* 3.3.10-dev: restore fuller representative cards while keeping state pages tight */
/* merged from 3 historical duplicate definitions of this selector in this file/context */
.dwf-state-rep-section{border:1px solid #e5e7eb;border-radius:14px;padding:1rem;margin-top:1rem;max-width:1040px;margin:1.25rem 0;background:#fff}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-rep-section h2{font-size:1.35rem;margin:0 0 .75rem}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-member-grid{display:grid;gap:1rem;} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-member-grid--senate{grid-template-columns:repeat(2,minmax(0,1fr));} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-member-grid--house{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));} */
.dwf-congress-member-card{display:flex;gap:1rem;border:1px solid #d8dee8;border-radius:14px;padding:1rem;background:#fff;box-shadow:0 1px 3px rgba(15,23,42,.08);align-items:flex-start;}
.dwf-congress-member-card--state{min-height:132px;}
.dwf-congress-member-card__photo{width:84px;height:84px;object-fit:cover;border-radius:999px;background:#eef2f7;display:block;}
.dwf-congress-member-card--full .dwf-congress-member-card__photo{width:108px;height:108px;}
.dwf-congress-member-card__body{min-width:0;flex:1;}
.dwf-congress-member-card__body h3{margin:.1rem 0 .25rem;font-size:1.1rem;line-height:1.25;}
.dwf-congress-member-card__body h3 a{text-decoration:none;}
.dwf-congress-member-card__chamber{margin:0 0 .2rem;color:#667085;font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;}
.dwf-congress-member-card__meta{margin:.25rem 0;color:#475569;font-size:.92rem;}
.dwf-congress-member-card__facts{display:flex;flex-wrap:wrap;gap:.45rem 1rem;margin:.45rem 0;color:#475569;font-size:.9rem;}
.dwf-congress-member-card__actions{display:flex;flex-wrap:wrap;gap:.45rem;margin:.65rem 0 0;}
.dwf-button--secondary{background:#f1f5f9;color:#1e293b;border:1px solid #cbd5e1;}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile{border:1px solid #d8dee8;border-radius:16px;padding:1.25rem;background:#fff;} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile.dwf-member-card-single{box-shadow:0 1px 4px rgba(15,23,42,.08);} */
@media (max-width:800px){.dwf-state-member-grid--senate,.dwf-state-member-grid--house{grid-template-columns:1fr}.dwf-congress-member-card{display:block}.dwf-congress-member-card__photo{margin-bottom:.75rem}.dwf-congress-member-card__actions{display:block}.dwf-congress-member-card__actions .dwf-button{margin:.25rem .25rem .25rem 0}}
.dwf-congress-member-card h3 a{color:inherit;text-decoration:none!important}
.dwf-congress-member-card h3 a:hover{text-decoration:underline!important}
.dwf-congress-member-card__actions .dwf-button{background:#9C2140;border-radius:999px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;font-size:.72rem;padding:.7rem 1.1rem}
.dwf-congress-member-card__actions .dwf-button--secondary{background:#fff;color:#9C2140;border:1px solid #9C2140}


/* Built-in linked U.S. map for the States hub. */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-map-wrap--built-in {
    margin: 1.5rem 0 2rem;
    text-align: center;
} */
.dwf-usa-image-map {
    display: inline-block;
    max-width: 100%;
    margin: 0 auto;
}
.dwf-usa-image-map img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 1px solid #d9dfe8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

/* 3.3.13: built-in state map sizing */
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-map-wrap--built-in{margin:1.5rem 0 2rem;text-align:center;max-width:800px;width:100%;margin-left:auto;margin-right:auto}
.dwf-state-map-wrap--built-in .dwf-usa-image-map{margin:0 auto;max-width:800px;width:100%;}
.dwf-state-map-wrap--built-in img{display:block;margin:0 auto;width:100%;max-width:800px;height:auto;}
.dwf-state-map-wrap--custom{max-width:800px;width:100%;margin-left:auto;margin-right:auto;text-align:center;}

/* 3.3.14: SVG linked U.S. map with consistent Guide-to-Govt colors. */
.dwf-state-map-wrap--svg{position:relative;display:block;max-width:800px;width:100%;margin:1rem auto 2rem;text-align:center;}
.dwf-state-map-wrap--svg .dwf-usa-svg-map{display:block;max-width:800px;width:100%;margin:0 auto;}
.dwf-state-map-wrap--svg .dwf-state-svg-map{display:block;width:100%;max-width:800px;height:auto;margin:0 auto;overflow:visible;}
.dwf-state-svg-map .dwf-map-state-link .dwf-map-state-shape,
.dwf-state-svg-map .dwf-map-state-link .dwf-map-state-shape path{fill:#1e73be!important;stroke:#f8f5ef!important;stroke-width:1.25!important;stroke-opacity:1!important;fill-opacity:1!important;transition:fill .18s ease,stroke .18s ease,filter .18s ease;cursor:pointer;}
.dwf-state-svg-map .dwf-map-state-link:hover .dwf-map-state-shape,
.dwf-state-svg-map .dwf-map-state-link:focus .dwf-map-state-shape,
.dwf-state-svg-map .dwf-map-state-link:hover .dwf-map-state-shape path,
.dwf-state-svg-map .dwf-map-state-link:focus .dwf-map-state-shape path{fill:#496f5a!important;stroke:#f8f5ef!important;filter:drop-shadow(0 2px 2px rgba(26,39,68,.28));}
.dwf-state-svg-map .dwf-map-state-link:focus{outline:none;}
.dwf-state-svg-map .dwf-map-state-link:focus-visible .dwf-map-state-shape path{stroke:#b8923a!important;stroke-width:2!important;}
.dwf-map-tooltip{position:fixed;z-index:9999;pointer-events:none;transform:translate(14px,14px);background:#1a2744;color:#fff;border:1px solid #b8923a;border-radius:10px;padding:8px 11px;font-size:14px;font-weight:700;box-shadow:0 8px 24px rgba(0,0,0,.22);opacity:0;transition:opacity .12s ease;}
.dwf-map-tooltip.is-visible{opacity:1;}


/* 3.3.16-dev: simplify state-page section/card borders. */
.dwf-state-page-full .dwf-civic-module,
.dwf-state-page-full .dwf-shell-card,
.dwf-state-page-full .dwf-tools-directory,
.dwf-state-page-full .dwf-mvp-report {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-rep-section {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
} */
.dwf-state-page-full .dwf-congress-member-card,
.dwf-state-page-full .dwf-state-member-card,
.dwf-state-page-full .dwf-state-member-list li {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* 3.3.19 representative profile restoration */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__photo{
    width:128px;
    height:128px;
    border-radius:999px !important;
    object-fit:cover;
    background:#f1f5f9;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__intro h1,
.dwf-member-profile__intro h2{
    margin:.1rem 0 .35rem;
    font-size:clamp(1.8rem,4vw,2.8rem);
    line-height:1.05;
} */
.dwf-member-profile__card h4{
    margin:.75rem 0 .35rem;
    font-size:1rem;
}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__resource-list{
    margin:.5rem 0 0;
    padding-left:1.2rem;
} */
@media (max-width:800px){/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__photo{width:96px;height:96px}}

/* 3.3.31-dev: restore older 2.x state-page representative card layout. */
/* merged from 3 historical duplicate definitions of this selector in this file/context */
.dwf-state-member-grid{display:grid;gap:.75rem}
/* merged from 3 historical duplicate definitions of this selector in this file/context */
.dwf-state-member-grid--senate{grid-template-columns:repeat(2,minmax(0,1fr))}
/* merged from 3 historical duplicate definitions of this selector in this file/context */
.dwf-state-member-grid--house{grid-template-columns:repeat(3,minmax(0,1fr))}
.dwf-state-page-full .dwf-state-member-card,
.dwf-state-member-card{
    display:flex;
    gap:.75rem;
    align-items:center;
    min-height:72px;
    padding:.75rem;
    background:#fff;
}
.dwf-state-member-photo-link{display:block;flex:0 0 auto;line-height:0;}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-member-card img{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#eef2f7}
.dwf-state-member-card__body{min-width:0;}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-member-district{display:block;font-size:.85rem;color:#475569}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-member-name{display:block;font-weight:700;text-decoration:none;line-height:1.25}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-member-party{display:block;color:#475569;font-size:.9rem}
@media (max-width:800px){
    .dwf-state-member-grid--senate,
    .dwf-state-member-grid--house{grid-template-columns:1fr;}
}

/* 3.3.32-dev: representative profile layout/content cleanup from older stable profile work. */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile{
    max-width:1040px;
    margin:0 auto 2rem;
    border:0;
    border-radius:0;
    padding:0;
    background:transparent;
    box-shadow:none;
} */
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile.dwf-member-card-single{box-shadow:none}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__header,
.dwf-member-profile__card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    box-shadow:0 1px 4px rgba(15,23,42,.06);
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__header{
    padding:1.35rem;
    margin-bottom:1rem;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__photo{
    width:128px;
    height:128px;
    border-radius:999px!important;
    object-fit:cover;
    background:#eef2f7;
    flex:0 0 auto;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__intro{min-width:0;} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__actions{
    display:flex;
    flex-wrap:wrap;
    gap:.5rem;
    margin-top:.75rem;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__about{margin-bottom:1rem;} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__card{padding:1rem 1.05rem;} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__work,
.dwf-member-profile__resources{margin-top:1rem;} */
@media (max-width:800px){
    /* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__header{align-items:flex-start}
    .dwf-member-profile__actions{display:block;}
    .dwf-member-profile__actions .dwf-button{margin:.25rem .25rem .25rem 0;}
}

/* 3.3.38-dev: tighter GTG-inspired state header and section rhythm. */
.dwf-state-page-full{
    --dwf-state-ink:#141414;
    --dwf-state-muted:#55514d;
    --dwf-state-rule:#ddd7cf;
    --dwf-state-rust:#8b2236;
}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-civic-container{
    max-width:1120px;
    padding-top:clamp(22px,3vw,38px);
    padding-bottom:clamp(28px,3vw,42px);
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-civic-container-slot{
    margin:0 0 clamp(18px,2.2vw,28px);
} */
.dwf-state-page-full .dwf-civic-layout,
.dwf-generated-state-page .dwf-civic-layout{
    gap:clamp(16px,2.2vw,28px);
}
.dwf-state-page-full .dwf-civic-layout-row{
    gap:clamp(14px,2vw,22px);
}
.dwf-state-page-full .dwf-state-legacy-header{
    display:none;
}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-legacy-overview.dwf-state-hero{
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(300px,.78fr);
    gap:clamp(28px,5vw,68px);
    align-items:center;
    max-width:1040px;
    margin:0 auto;
    padding:clamp(12px,2.5vw,28px) 0 clamp(18px,3vw,34px);
    border-bottom:1px solid var(--dwf-state-rule);
} */
.dwf-state-hero__copy{
    min-width:0;
}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-eyebrow{
    margin:0 0 .7rem;
    font-size:.78rem;
    line-height:1;
    font-weight:900;
    letter-spacing:.20em;
    text-transform:uppercase;
    color:var(--dwf-state-rust);
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-hero h1{
    margin:0;
    font-family:Georgia,'Times New Roman',serif;
    font-size:clamp(3.4rem,7vw,5.8rem);
    font-weight:400;
    line-height:.92;
    letter-spacing:-.055em;
    color:var(--dwf-state-ink);
} */
.dwf-state-page-full .dwf-state-intro-copy{
    margin-top:clamp(18px,2.6vw,30px);
    max-width:560px;
}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-intro-copy p{
    margin:0;
    line-height:1.55;
    color:#1f2f46;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-header-facts{
    align-self:center;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0;
    border:1px solid #e6e0d8;
    border-radius:10px;
    overflow:hidden;
    background:#fff;
    box-shadow:none;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-header-fact{
    min-height:84px;
    padding:1rem 1.05rem;
    border:0;
    border-right:1px solid #e6e0d8;
    border-bottom:1px solid #e6e0d8;
    background:#fff;
} */
.dwf-state-page-full .dwf-state-header-fact:nth-child(2n){border-right:0;}
.dwf-state-page-full .dwf-state-header-fact:nth-last-child(-n+2){border-bottom:0;}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-header-fact__label{
    display:block;
    margin:0 0 .45rem;
    font-size:.72rem;
    line-height:1.05;
    font-weight:900;
    letter-spacing:.22em;
    text-transform:uppercase;
    color:#334155;
} */
.dwf-state-page-full .dwf-state-header-fact__value{
    display:block;
    font-size:.98rem;
    line-height:1.2;
    font-weight:800;
    color:#111827;
}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-rep-section{
    max-width:1040px;
    margin:0 auto clamp(14px,2vw,22px) !important;
    padding:0 1rem !important;
    background:#fff;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-rep-section h2{
    margin:0 0 1rem;
    font-size:1.35rem;
    line-height:1.15;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-member-grid{
    gap:clamp(.7rem,1.35vw,1rem) clamp(1.3rem,3vw,2.1rem);
} */
.dwf-state-page-full .dwf-state-member-card,
.dwf-state-page-full .dwf-state-member-list li{
    min-height:54px;
    padding:.35rem .25rem !important;
}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-member-card img{
    width:36px;
    height:36px;
} */
.dwf-state-page-full .dwf-state-member-district,
.dwf-state-page-full .dwf-state-member-party{
    line-height:1.18;
}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-member-name{
    line-height:1.15;
} */
@media (max-width:900px){
    .dwf-state-page-full .dwf-state-legacy-overview.dwf-state-hero{
        grid-template-columns:1fr;
        gap:22px;
    }
    .dwf-state-page-full .dwf-state-intro-copy{max-width:100%;}
}
@media (max-width:560px){
    .dwf-state-page-full .dwf-state-header-facts{grid-template-columns:1fr;}
    .dwf-state-page-full .dwf-state-header-fact{border-right:0;border-bottom:1px solid #e6e0d8;}
    .dwf-state-page-full .dwf-state-header-fact:last-child{border-bottom:0;}
}


/* 3.3.39-dev: find-reps width, state-card cleanup, and GTG-inspired rep profiles. */
.dwf-rep-lookup{width:100%;max-width:none;margin:0;}
.dwf-rep-lookup-form{width:100%;max-width:none;}
.dwf-rep-lookup-form .dwf-help-text{max-width:760px;margin:0 0 1.75rem;color:#36445a;line-height:1.55;}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-lookup-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:12px 0;width:100%;max-width:none}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-lookup-grid label{display:flex;flex-direction:column;gap:.35rem;font-weight:800;font-size:.86rem;color:#111827}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-lookup-grid input{width:100%;box-sizing:border-box;padding:.8rem .9rem;border:1px solid #cfd6e0;background:#eef4ff;border-radius:0}
.dwf-rep-lookup-form .dwf-button{margin-top:.45rem;background:#a7432f;border-radius:8px;letter-spacing:.14em;text-transform:uppercase;font-weight:900;font-size:.78rem;padding:.85rem 1.2rem;}
.dwf-credit-link{margin:1.1rem 0 0;font-size:.78rem;text-align:right}
.dwf-credit-link a{color:#6b7280;text-decoration:underline}
.dwf-credit-link a:hover{color:#a7432f}
.dwf-rep-results .dwf-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;margin-top:2rem;}
.dwf-rep-results .dwf-member-card{box-shadow:none;border:0;border-radius:12px;padding:1.25rem;align-items:flex-start;}
.dwf-rep-results .dwf-member-card h3 a{color:inherit;text-decoration:none;}
.dwf-rep-results .dwf-member-card h3 a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;}
.dwf-rep-results .dwf-member-photo{width:72px;height:72px;}
.dwf-rep-results .dwf-member-body h3{font-size:1.55rem;line-height:1.05;margin:0 0 .45rem;}
.dwf-rep-results .dwf-member-body p{margin:.25rem 0;}
@media (max-width:900px){.dwf-lookup-grid,.dwf-rep-results .dwf-card-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:620px){.dwf-lookup-grid,.dwf-rep-results .dwf-card-grid{grid-template-columns:1fr;}}

/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-member-party{font-size:.88rem;} */
.dwf-state-page-full .dwf-state-member-card__body .dwf-state-member-party{margin-top:.05rem;}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-legacy-overview.dwf-state-hero{padding-bottom:clamp(8px,1.6vw,18px);} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-civic-container-slot{margin-bottom:clamp(12px,1.6vw,20px);} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-rep-section{margin-bottom:clamp(8px,1.4vw,16px)!important;} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-member-grid{row-gap:.78rem;} */

.dwf-member-profile,
.dwf-rep-profile{--dwf-profile-ink:#141414;--dwf-profile-muted:#55514d;--dwf-profile-rule:#ddd7cf;--dwf-profile-rust:#8b2236;--dwf-profile-navy:#16233b;--dwf-profile-accent:var(--dwf-profile-rust);}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile{max-width:1120px;} */
/* 2026-07-22: .dwf-rep-profile added to the rule above -- found via a
   style-guide audit that this class (the generated profile page's actual
   wrapper) never carried .dwf-member-profile at all, so these variables,
   including --dwf-profile-rust used by the active-tab color below, were
   never properly defined there. That accidentally meant the generated
   profile's active tab just inherited plain ink instead of showing any
   color -- not the same bug as the shortcode (which does have
   .dwf-member-profile, and was hardcoded to always show House's rust
   regardless of the member's actual chamber), but neither one was doing
   this correctly on purpose. Both now define these variables the same
   way, with the chamber-specific override just below setting the actual
   accent correctly for each member's real chamber. */
/* 2026-07-22: found via a style-guide audit -- the active-tab color on a
   rep profile page (Recent Votes/Sponsored/Cosponsored/Committees) was
   hardcoded to --dwf-profile-rust (House's color) unconditionally, so a
   Senator's own profile page showed House's rust instead of Senate's
   color. Unlike the Congress/House/Senate overview pages (where a
   chamber color showing up on a DIFFERENT chamber's page was the
   violation this session fixed by going neutral), an individual member's
   profile page genuinely IS that one chamber's content -- using that
   chamber's own color here is what the guide's "one color, one meaning"
   rule actually calls for, not a violation of it. */
.dwf-rep-profile--senate,
.dwf-member-profile--senate { --dwf-profile-accent: #541D34; }
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__header{display:grid;grid-template-columns:150px minmax(0,1fr);gap:1.6rem;align-items:center;border-color:var(--dwf-profile-rule);border-radius:10px;padding:1.6rem 1.8rem;margin-bottom:1.15rem;box-shadow:none;} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__photo{width:132px!important;height:132px!important;border:4px solid #f6f3ef;box-shadow:0 8px 18px rgba(15,23,42,.10);} */
.dwf-member-profile__intro h1,.dwf-member-profile__intro h2{font-size:clamp(2.1rem,4.2vw,3.35rem);letter-spacing:-.055em;margin:0 0 .4rem;}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__subtitle{margin:.15rem 0 0;color:#344054;font-weight:800;} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__chips{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:1.1rem 0 0;border-top:1px solid var(--dwf-profile-rule);border-left:1px solid var(--dwf-profile-rule);} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__chips div{padding:.72rem .8rem;border-right:1px solid var(--dwf-profile-rule);border-bottom:1px solid var(--dwf-profile-rule);background:#fff;} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__chips dt{font-size:.66rem;line-height:1.05;text-transform:uppercase;letter-spacing:.18em;color:var(--dwf-profile-accent);font-weight:900;margin:0 0 .35rem;} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__chips dd{margin:0;font-size:.92rem;line-height:1.2;font-weight:800;color:var(--dwf-profile-ink);} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__actions .dwf-button{background:var(--dwf-profile-accent);border-radius:999px;color:#fff!important;font-weight:900;text-transform:uppercase;letter-spacing:.12em;font-size:.72rem;padding:.72rem 1rem;} */
.dwf-member-profile__actions .dwf-button--secondary{background:#fff;color:var(--dwf-profile-accent)!important;border:1px solid var(--dwf-profile-accent);}
/* merged from 3 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__card{border:1px solid #e5e7eb;border-radius:10px;padding:1.35rem 1.5rem;background:#fff;border-color:var(--dwf-profile-rule);box-shadow:none}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__card h3{font-size:.9rem;line-height:1.05;font-weight:900;letter-spacing:.16em;text-transform:uppercase;color:var(--dwf-profile-accent);margin:0 0 1rem;} */
.dwf-member-profile__about p,.dwf-member-profile__resources p{font-size:1.02rem;line-height:1.62;color:#334155;margin:0;}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;align-items:start;} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__facts{display:grid;grid-template-columns:minmax(130px,.5fr) minmax(0,1fr);gap:.55rem 1rem;margin:0;} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__facts dt{font-size:.82rem;text-transform:uppercase;letter-spacing:.08em;color:#475569;font-weight:900;} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__facts dd{margin:0;color:#111827;font-weight:600;} */
.dwf-member-profile__work,.dwf-member-profile__resources{margin-top:1rem;}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__work ul{columns:2;column-gap:2rem;margin:.5rem 0 0;padding-left:1.1rem;} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__resource-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.55rem;margin-top:1rem;padding:0;} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__resource-list a{display:flex;align-items:center;justify-content:space-between;gap:.75rem;border-bottom:1px solid var(--dwf-profile-rule);padding:.65rem 0;color:var(--dwf-profile-ink);font-weight:800;text-decoration:none;} */
.dwf-member-profile__resource-list a::after{content:'→';color:var(--dwf-profile-accent);}
.dwf-member-profile__resource-list a:hover{color:var(--dwf-profile-accent);}
@media (max-width:900px){/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__header{grid-template-columns:1fr;text-align:left} */.dwf-member-profile__chips{grid-template-columns:repeat(2,minmax(0,1fr));}/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__grid{grid-template-columns:1fr} *//* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__work ul{columns:1;} */}


/* 3.3.40-dev: Guide to Government template-inspired page rhythm. */
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-civic-toolkit{font-family:inherit;color:inherit;--dwf-gtg-ink:#141414;--dwf-gtg-muted:#575757;--dwf-gtg-rule:#ded8cf;--dwf-gtg-soft:#f4f1ec;--dwf-gtg-rust:#a6422b;--dwf-gtg-serif:Georgia,"Times New Roman",serif}

/* State page: use GTG page-head/section rhythm with less empty space. */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-civic-container{
    max-width:1200px;
    padding:clamp(24px,3vw,42px) 28px clamp(36px,4vw,60px);
} */
/* merged from 3 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-state-legacy-overview.dwf-state-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.78fr);gap:clamp(28px,5vw,68px);align-items:start;max-width:1120px;margin:0 auto;padding:clamp(18px,3vw,38px) 0 clamp(26px,3vw,44px);border-bottom:1px solid var(--dwf-gtg-rule);padding-bottom:clamp(8px,1.6vw,18px)}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-eyebrow{
    color:var(--dwf-gtg-rust);
    font-size:12px;
    letter-spacing:.22em;
    font-weight:900;
} */
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-state-hero h1{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(52px,7vw,84px);font-weight:400;line-height:.92;letter-spacing:-.055em;color:var(--dwf-gtg-ink)}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-state-intro-copy p{margin:0;line-height:1.55;color:var(--dwf-gtg-muted);font-size:clamp(17px,1.4vw,20px)}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-state-header-facts{align-self:center;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid #e6e0d8;border-radius:0;overflow:hidden;background:#fff;box-shadow:none;border-color:var(--dwf-gtg-rule)}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-state-header-fact{min-height:84px;padding:1rem 1.1rem;border:0;border-right:1px solid #e6e0d8;border-bottom:1px solid #e6e0d8;background:#fff;border-color:var(--dwf-gtg-rule)}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-state-header-fact__label{display:block;margin:0 0 .45rem;font-size:12px;line-height:1.05;font-weight:900;letter-spacing:.18em;text-transform:uppercase;color:#1f2f46}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-rep-section{
    max-width:1120px;
    padding:clamp(18px,2vw,24px) 0 0!important;
    margin:0 auto clamp(10px,1.4vw,16px)!important;
    border-top:0!important;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-rep-section h2{
    font-size:24px;
    line-height:1.15;
    margin:0 0 16px;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-member-grid{
    gap:0 34px;
} */
.dwf-state-page-full .dwf-state-member-card{
    border-top:1px solid var(--dwf-gtg-rule)!important;
    padding:14px 0!important;
    min-height:76px;
}
.dwf-state-page-full .dwf-state-member-card:last-child{
    border-bottom:1px solid var(--dwf-gtg-rule)!important;
}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-state-member-card img{width:44px;height:44px}
.dwf-state-page-full .dwf-state-member-district{
    color:var(--dwf-gtg-muted);
    font-size:13px;
}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-state-member-name{line-height:1.12;color:var(--dwf-gtg-ink);font-size:16px}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-state-member-party{font-size:14px;color:var(--dwf-gtg-muted)}

/* Representative profile: GTG article layout, less boxed/card-heavy. */
/* merged from 5 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile{max-width:1200px;margin:0 auto clamp(42px,5vw,70px);border:0;border-radius:0;padding:0 28px;background:transparent;box-shadow:none;--dwf-profile-ink:var(--dwf-gtg-ink);--dwf-profile-muted:var(--dwf-gtg-muted);--dwf-profile-rule:var(--dwf-gtg-rule);--dwf-profile-rust:var(--dwf-gtg-rust)}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__header{
    display:grid;
    grid-template-columns:minmax(0,1fr) 150px;
    gap:clamp(24px,4vw,46px);
    align-items:center;
    padding:clamp(30px,4vw,48px) 0 clamp(26px,3vw,38px);
    margin:0 0 clamp(18px,2.5vw,30px);
    border:0;
    border-bottom:1px solid var(--dwf-profile-rule);
    border-radius:0;
    box-shadow:none;
    background:transparent;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__photo{
    order:2;
    width:132px!important;
    height:132px!important;
    justify-self:end;
    border:0;
    box-shadow:none;
    background:#f1f1f1;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__intro{order:1;min-width:0;} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__intro:before{
    content:'Congress Member Profile';
    display:block;
    margin:0 0 .8rem;
    color:var(--dwf-profile-accent);
    font-size:12px;
    font-weight:900;
    letter-spacing:.22em;
    text-transform:uppercase;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__intro h1,
.dwf-member-profile__intro h2{
    max-width:880px;
    font-size:clamp(44px,5.4vw,74px);
    line-height:.95;
    letter-spacing:-.07em;
    margin:0 0 .75rem;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__subtitle{
    margin:0;
    max-width:720px;
    color:#334155;
    font-size:18px;
    line-height:1.35;
    font-weight:800;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__chips{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(130px,1fr));
    gap:0;
    margin:1.35rem 0 0;
    max-width:900px;
    border-top:1px solid var(--dwf-profile-rule);
    border-left:0;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__chips div{
    border-right:0;
    border-bottom:1px solid var(--dwf-profile-rule);
    padding:.75rem 1.1rem .75rem 0;
    background:transparent;
} */
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__chips dt{font-size:11px;line-height:1.05;text-transform:uppercase;letter-spacing:.18em;color:var(--dwf-profile-accent);font-weight:900;margin:0 0 .35rem}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__chips dd{margin:0;font-size:15px;line-height:1.2;font-weight:800;color:var(--dwf-profile-ink)}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__actions{
    margin-top:1.15rem;
    gap:1rem;
} */
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__actions .dwf-button{background:transparent!important;border-radius:0;color:var(--dwf-profile-accent)!important;font-weight:900;text-transform:uppercase;letter-spacing:.16em;font-size:12px;padding:0 0 2px;display:inline-flex;align-items:center;border:0;border-bottom:1px solid rgba(166,66,43,.35)}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__about{
    border:0!important;
    border-bottom:1px solid var(--dwf-profile-rule)!important;
    padding:0 0 clamp(22px,3vw,34px)!important;
    margin:0 0 clamp(22px,3vw,34px)!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:transparent!important;
} */
.dwf-member-profile__about h3{
    display:none;
}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__about p{
    max-width:900px;
    color:var(--dwf-profile-muted);
    font-size:clamp(18px,1.6vw,22px);
    line-height:1.55;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__grid{
    display:grid;
    grid-template-columns:minmax(240px,300px) minmax(0,1fr);
    gap:clamp(24px,4vw,46px);
    align-items:start;
    margin:0 0 clamp(28px,4vw,48px);
} */
.dwf-member-profile__grid .dwf-member-profile__card{
    border:0;
    border-top:1px solid var(--dwf-profile-rule);
    border-radius:0;
    box-shadow:none;
    background:transparent;
    padding:16px 0 0;
}
.dwf-member-profile__grid .dwf-member-profile__card:nth-child(3){
    grid-column:2;
}
/* merged from 3 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__card h3{margin-top:0;font-size:22px;line-height:1.15;font-weight:900;letter-spacing:0;text-transform:none;color:var(--dwf-profile-ink);margin:0 0 14px}
/* merged from 3 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__facts{display:grid;grid-template-columns:minmax(125px,.45fr) minmax(0,1fr);gap:.55rem 1.1rem;margin:0}
/* merged from 3 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__facts dt{font-weight:900;color:#344054;font-size:12px;text-transform:uppercase;letter-spacing:.11em;margin:0}
/* merged from 3 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__facts dd{margin:0;color:var(--dwf-profile-ink);font-weight:700}
.dwf-member-profile__card p{
    color:var(--dwf-profile-muted);
    line-height:1.45;
}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__work,
.dwf-member-profile__resources{margin-top:1rem;border:0;border-top:1px solid var(--dwf-profile-rule);border-radius:0;box-shadow:none;background:transparent;padding:clamp(20px,2.6vw,32px) 0 0;margin:0 0 clamp(24px,3vw,36px)}
.dwf-member-profile__work h3,
.dwf-member-profile__resources h3{
    font-size:27px;
    line-height:1.1;
    margin:0 0 12px;
    color:var(--dwf-profile-ink);
    letter-spacing:0;
    text-transform:none;
}
.dwf-member-profile__work h4{
    font-size:15px;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:var(--dwf-profile-accent);
    margin:18px 0 8px;
}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__work ul{
    columns:2;
    column-gap:34px;
    margin:0;
    padding-left:1.1rem;
} */
/* merged from 3 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__resource-list{margin:.5rem 0 0;padding-left:1.2rem;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 34px;margin-top:22px;padding:0}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__resource-list a{display:flex;align-items:center;justify-content:space-between;gap:.75rem;border-bottom:0;padding:14px 0;color:var(--dwf-profile-ink);font-weight:800;text-decoration:none;border-top:1px solid var(--dwf-profile-rule);font-size:16px}
.dwf-member-profile__resource-list a:last-child{
    border-bottom:1px solid var(--dwf-profile-rule);
}
@media(max-width:900px){
    /* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__header{grid-template-columns:1fr;} */
    /* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__photo{order:1;justify-self:start;width:104px!important;height:104px!important;} */
    .dwf-member-profile__intro{order:2;}
    /* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__grid{grid-template-columns:1fr}
    .dwf-member-profile__grid .dwf-member-profile__card:nth-child(3){grid-column:auto;}
    .dwf-member-profile__resource-list{grid-template-columns:1fr 1fr;}
    /* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__work ul{columns:1}
}
@media(max-width:640px){
    .dwf-state-page-full .dwf-civic-container,.dwf-member-profile{padding-left:18px;padding-right:18px;}
    .dwf-state-page-full .dwf-state-legacy-overview.dwf-state-hero{grid-template-columns:1fr;}
    .dwf-member-profile__resource-list{grid-template-columns:1fr;}
}

/* 3.3.41-dev: refined representative profile layout and congressional work panels. */
/* merged from 5 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__header{display:grid;gap:clamp(28px,4vw,52px)!important;align-items:start!important;border:0;border-radius:0;padding:clamp(30px,4vw,48px) 0 clamp(26px,3vw,38px);background:transparent;box-shadow:none;margin-bottom:1.15rem;grid-template-columns:210px minmax(0,1fr)!important;border-color:var(--dwf-profile-rule);margin:0 0 clamp(18px,2.5vw,30px);border-bottom:1px solid var(--dwf-profile-rule)}
/* merged from 6 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__photo{width:198px!important;height:198px!important;border-radius:999px!important;object-fit:cover;background:#f1f1f1;flex:0 0 auto;border:0;box-shadow:none;order:1!important;justify-self:start!important}
/* merged from 3 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__intro{min-width:0;order:2!important}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__intro:before{content:none!important;display:none!important;margin:0 0 .8rem;color:var(--dwf-profile-accent);font-size:12px;font-weight:900;letter-spacing:.22em;text-transform:uppercase}
/* merged from 4 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__subtitle{margin:0;color:#334155;font-weight:800;max-width:720px;font-size:18px;line-height:1.35;display:none!important}
/* merged from 3 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__actions{display:none!important;flex-wrap:wrap;gap:1rem;margin-top:1.15rem}
.dwf-member-profile__grid--facts-contact{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:clamp(28px,4vw,52px)!important;
}
.dwf-member-profile__office-list{display:grid;gap:1rem;}
.dwf-member-profile__office h4{
    margin:0 0 .35rem!important;
    font-size:14px!important;
    letter-spacing:.08em!important;
    text-transform:uppercase!important;
    color:var(--dwf-profile-accent)!important;
}
.dwf-member-profile__office p{margin:.15rem 0!important;}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__work-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,3vw,34px);margin-top:1.2rem;} */
.dwf-member-profile__work-panel{min-width:0;}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__work-panel h4{
    border-bottom:1px solid var(--dwf-profile-rule);
    padding-bottom:.7rem;
    margin:0!important;
} */
.dwf-member-profile__resource-list--work,
.dwf-member-profile__resource-list--committees{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:0!important;
    margin-top:0!important;
}
.dwf-member-profile__resource-list--work a,
.dwf-member-profile__resource-list--work span,
.dwf-member-profile__resource-list--committees span{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:.75rem;
    border-bottom:1px solid var(--dwf-profile-rule);
    padding:12px 0;
    color:var(--dwf-profile-ink);
    font-weight:800;
    text-decoration:none;
    line-height:1.25;
}
.dwf-member-profile__resource-list--work a::after{content:'→';color:var(--dwf-profile-accent);flex:0 0 auto;}
.dwf-member-profile__resource-list--committees{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 34px!important;margin-bottom:1.4rem;}
/* merged from 3 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__work ul{columns:auto!important;column-gap:34px;margin:0;padding-left:1.1rem}
@media(max-width:900px){
    /* merged from 3 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__header{grid-template-columns:1fr!important;text-align:left}
    /* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__photo{order:1;justify-self:start;width:132px!important;height:132px!important}
    .dwf-member-profile__grid--facts-contact,.dwf-member-profile__work-tabs{grid-template-columns:1fr!important;}
    .dwf-member-profile__resource-list--committees{grid-template-columns:1fr!important;}
}


/* 3.3.42-dev: final profile/state tightening and congressional work tabs. */
.dwf-state-page-full .dwf-civic-container,
.dwf-state-page-full .dwf-state-legacy-overview.dwf-state-hero,
.dwf-state-page-full .dwf-state-rep-section{
    max-width:1200px!important;
}
/* merged from 3 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-state-eyebrow{margin:0 0 .7rem;font-size:12px;line-height:1;font-weight:900;letter-spacing:.22em;text-transform:uppercase;color:var(--dwf-gtg-rust);display:none!important}
.dwf-member-profile__header,
.dwf-member-profile__about,
.dwf-member-profile__grid .dwf-member-profile__card,
.dwf-member-profile__work,
.dwf-member-profile__resources{
    border-top:0!important;
    border-bottom:0!important;
}
/* merged from 3 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__about{margin-bottom:clamp(16px,2.2vw,28px)!important;border:0!important;border-bottom:1px solid var(--dwf-profile-rule)!important;padding:0 0 clamp(22px,3vw,34px)!important;margin:0 0 clamp(22px,3vw,34px)!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding-bottom:clamp(14px,2vw,24px)!important}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__about p{max-width:none!important;color:var(--dwf-profile-muted);font-size:clamp(18px,1.6vw,22px);line-height:1.55;width:100%}
/* merged from 3 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__chips{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:0;margin:1.35rem 0 0;border-top:0!important;border-left:0;max-width:900px;margin-top:1rem!important}
/* merged from 3 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__chips div{padding:.75rem 1.1rem .75rem 0;border-right:0;border-bottom:0!important;background:transparent}
/* merged from 4 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__grid{display:grid;grid-template-columns:minmax(240px,300px) minmax(0,1fr);gap:clamp(24px,4vw,46px);margin:0 0 clamp(28px,4vw,48px);align-items:start;margin-bottom:clamp(20px,3vw,34px)!important}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__work-tabs{
    display:grid!important;
    grid-template-columns:minmax(220px,.28fr) minmax(0,1fr)!important;
    gap:0 clamp(28px,4vw,54px)!important;
    align-items:start;
    margin-top:1.3rem!important;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__tab-radio{position:absolute!important;left:-9999px!important;} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__tab-label{
    grid-column:1;
    display:block;
    cursor:pointer;
    padding:14px 0;
    border-bottom:1px solid rgba(222,216,207,.9);
    color:var(--dwf-profile-ink);
    font-size:15px;
    font-weight:900;
    line-height:1.15;
    letter-spacing:.03em;
} */
.dwf-member-profile__tab-radio:checked + .dwf-member-profile__tab-label{
    color:var(--dwf-profile-accent);
}
.dwf-member-profile__tab-radio:focus-visible + .dwf-member-profile__tab-label{
    outline:2px solid var(--dwf-profile-accent);
    outline-offset:4px;
}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__tab-panel{
    grid-column:2;
    grid-row:1 / span 12;
    display:none;
    min-width:0;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__tab-radio:checked + .dwf-member-profile__tab-label + .dwf-member-profile__tab-panel{
    display:block;
} */
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__work-panel h4{border-bottom:1px solid var(--dwf-profile-rule);padding-bottom:.7rem;margin:0!important;display:none!important}
.dwf-member-profile__resource-list--work{margin-top:0!important;}
.dwf-member-profile__resource-list--work a,
.dwf-member-profile__resource-list--work span{
    font-size:15px;
    line-height:1.28;
    min-height:44px;
}
.dwf-member-profile__committee-list{
    display:grid;
    gap:1rem;
}
.dwf-member-profile__committee-item{
    border-bottom:1px solid var(--dwf-profile-rule);
    padding:0 0 1rem;
}
.dwf-member-profile__committee-tag{
    display:inline-block;
    margin:0 0 .4rem;
    padding:.2rem .55rem;
    border-radius:999px;
    background:var(--dwf-profile-accent);
    color:#fff;
    font-size:11px;
    font-weight:900;
    letter-spacing:.06em;
    text-transform:uppercase;
}
.dwf-member-profile__committee-item h5{
    margin:0 0 .35rem;
    font-size:17px;
    line-height:1.2;
    font-weight:900;
    color:var(--dwf-profile-ink);
}
.dwf-member-profile__committee-item p{
    margin:.15rem 0 .45rem!important;
    color:var(--dwf-profile-muted)!important;
}
.dwf-member-profile__committee-item a{
    color:var(--dwf-profile-accent);
    font-weight:800;
    text-decoration:underline;
    text-underline-offset:3px;
}
.dwf-member-profile__resources{padding-top:clamp(16px,2vw,24px)!important;}
@media(max-width:900px){
    /* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__work-tabs{grid-template-columns:1fr!important;} */
    .dwf-member-profile__tab-label{grid-column:1;}
    /* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__tab-panel{grid-column:1;grid-row:auto;} */
}

/* 3.3.43-dev: visible congressional work tabs and state header alignment. */
.dwf-member-profile__resources p{
    color:var(--dwf-profile-muted);
    font-size:1rem;
    line-height:1.45;
    max-width:900px;
}
.dwf-member-profile__empty{
    margin:0!important;
    color:var(--dwf-profile-muted)!important;
    font-size:1rem;
    line-height:1.45;
}
/* merged from 3 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__work-tabs{display:grid!important;grid-template-columns:minmax(220px,.28fr) minmax(0,1fr)!important;gap:0 clamp(28px,4vw,54px)!important;margin-top:1.3rem!important;align-items:start}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__tab-radio{position:absolute!important;left:-9999px!important}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__tab-label{grid-column:1;display:block!important;cursor:pointer;padding:14px 0;border-bottom:1px solid rgba(222,216,207,.9);color:var(--dwf-profile-ink);font-size:15px;font-weight:900;line-height:1.15;letter-spacing:.03em}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__tab-panel{grid-column:2;grid-row:1 / span 12;display:none!important;min-width:0}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__tab-radio:checked + .dwf-member-profile__tab-label + .dwf-member-profile__tab-panel{display:block!important}

/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-profile-header{
    max-width:1200px!important;
    margin:0 auto clamp(30px,4vw,54px)!important;
    padding:clamp(34px,4vw,54px) 28px clamp(24px,3vw,38px)!important;
    border:0!important;
    background:transparent!important;
    display:block!important;
} */
.dwf-state-page-full .dwf-state-profile-header__main{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(320px,.42fr);
    gap:clamp(28px,4vw,52px);
    align-items:start;
}
/* 2026-07-06 fresh-start fix: same principle already applied to congress
   member profiles -- structural sizing only, no hardcoded font-family or
   color, so the theme's own typography applies here too. */
.dwf-state-page-full .dwf-state-profile-header__title h1,
.dwf-state-page-full .dwf-state-profile-header h1{
    font-size:clamp(50px,6vw,84px)!important;
    line-height:.95!important;
    letter-spacing:-.07em!important;
    margin:0!important;
}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-profile-header__intro{
    margin:clamp(18px,2.4vw,30px) 0 0!important;
    max-width:none!important;
    padding-top:clamp(18px,2vw,26px);
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-profile-header__intro p{
    max-width:900px!important;
    color:var(--dwf-gtg-muted,#575757)!important;
    font-size:clamp(18px,1.55vw,22px)!important;
    line-height:1.55!important;
} */
.dwf-state-page-full .dwf-state-profile-header .dwf-state-header-facts{
    align-self:start!important;
    margin:0!important;
    border:1px solid var(--dwf-gtg-rule,#ded8cf)!important;
    border-radius:0!important;
    box-shadow:none!important;
    max-width:none!important;
}
.dwf-state-page-full .dwf-state-profile-header .dwf-state-header-fact{
    min-height:92px;
    padding:1rem 1.1rem!important;
}
.dwf-state-page-full .dwf-state-profile-header .dwf-state-header-fact__label{
    color:var(--dwf-gtg-rust,#a6422b)!important;
}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-rep-section{
    max-width:1200px!important;
    padding-left:28px!important;
    padding-right:28px!important;
} */
@media(max-width:900px){
    .dwf-state-page-full .dwf-state-profile-header__main{grid-template-columns:1fr;}
    /* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__work-tabs{grid-template-columns:1fr!important}
    /* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__tab-panel{grid-column:1!important;grid-row:auto!important}
}
@media(max-width:640px){
    .dwf-state-page-full .dwf-state-profile-header,
    .dwf-state-page-full .dwf-state-rep-section{padding-left:18px!important;padding-right:18px!important;}
}

/* 3.3.44-dev: state header/profile parity and tighter page rhythm. */
.dwf-state-page-full,
.dwf-state-page-full .dwf-civic-container,
.dwf-state-page-full .dwf-civic-layout,
.dwf-state-page-full .dwf-civic-layout-row,
.dwf-state-page-full .dwf-state-profile-header,
.dwf-state-page-full .dwf-state-rep-section{
    max-width:1120px!important;
    width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
}
/* Master list row 1.1 (10/13/26, Claude MV): inside the plugin's own page template the theme sets
   the page width, and .dwf-plugin-content-cap is the single width authority (see the 2026-08-07
   note further down). There the State page fills that box instead of shrinking to 1120px and
   centring, which put every section 25px in from the page title on each side (measured on a
   rendered State page at 1440px: title 135px, sections 160px). On themes without the plugin's
   page template, no .dwf-plugin-content-cap, the 1120px cap above still applies. */
.dwf-plugin-content-cap .dwf-state-page-full,
.dwf-plugin-content-cap .dwf-state-page-full .dwf-civic-container,
.dwf-plugin-content-cap .dwf-state-page-full .dwf-civic-layout,
.dwf-plugin-content-cap .dwf-state-page-full .dwf-civic-layout-row,
.dwf-plugin-content-cap .dwf-state-page-full .dwf-state-profile-header,
.dwf-plugin-content-cap .dwf-state-page-full .dwf-state-rep-section{
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-civic-container{
    padding:clamp(24px,3vw,42px) clamp(18px,3vw,30px)!important;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-civic-layout,
.dwf-state-page-full .dwf-civic-layout-row{
    display:block!important;
    gap:0!important;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-civic-container-slot{
    margin-bottom:clamp(22px,3vw,36px)!important;
} */
.dwf-state-page-full .dwf-state-profile-header.dwf-state-profile-header--member-style{
    padding:clamp(18px,2.5vw,30px) 0 clamp(12px,2vw,22px)!important;
    margin-bottom:clamp(26px,3vw,42px)!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
}
.dwf-state-page-full .dwf-state-profile-header--member-style .dwf-state-profile-header__title h1{
    font-size:clamp(3rem,6vw,5.6rem)!important;
    line-height:.95!important;
    letter-spacing:-.07em!important;
    margin:0 0 clamp(18px,2.4vw,30px)!important;
}
.dwf-state-page-full .dwf-state-header-facts--chips{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:0!important;
    border-top:1px solid var(--dwf-profile-rule,#ddd7cf)!important;
    border-left:1px solid var(--dwf-profile-rule,#ddd7cf)!important;
    border-right:0!important;
    border-bottom:0!important;
    border-radius:0!important;
    background:transparent!important;
    margin:0 0 clamp(20px,2.5vw,32px)!important;
    overflow:visible!important;
    max-width:none!important;
}
.dwf-state-page-full .dwf-state-header-facts--chips .dwf-state-header-fact{
    min-height:0!important;
    padding:.75rem .85rem!important;
    border-right:1px solid var(--dwf-profile-rule,#ddd7cf)!important;
    border-bottom:1px solid var(--dwf-profile-rule,#ddd7cf)!important;
    background:#fff!important;
}
.dwf-state-page-full .dwf-state-header-facts--chips .dwf-state-header-fact__label{
    display:block!important;
    margin:0 0 .35rem!important;
    font-size:.66rem!important;
    line-height:1.05!important;
    text-transform:uppercase!important;
    letter-spacing:.18em!important;
    color:var(--dwf-profile-rust,#8b2236)!important;
    font-weight:900!important;
}
.dwf-state-page-full .dwf-state-header-facts--chips .dwf-state-header-fact__value{
    display:block!important;
    margin:0!important;
    font-size:.92rem!important;
    line-height:1.2!important;
    font-weight:800!important;
    color:var(--dwf-profile-ink,#141414)!important;
}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-state-profile-header__intro{margin:0!important;max-width:none!important;padding-top:clamp(18px,2vw,26px);padding:0!important}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-state-profile-header__intro p{max-width:none!important;color:var(--dwf-profile-muted,#55514d)!important;font-size:clamp(1.05rem,1.7vw,1.28rem)!important;line-height:1.55!important;width:100%!important;margin:0!important}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-rep-section{
    padding:0!important;
    margin-bottom:clamp(26px,3vw,42px)!important;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-rep-section h2{
    margin:0 0 .85rem!important;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-member-grid{
    row-gap:.35rem!important;
} */
@media(max-width:900px){
    .dwf-state-page-full .dwf-state-header-facts--chips{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:560px){
    .dwf-state-page-full .dwf-state-header-facts--chips{grid-template-columns:1fr!important;}
}

/* 3.3.45-dev: force state headers to mirror representative profile header rhythm. */
.dwf-state-page-full .dwf-civic-container,
.dwf-state-page-full .dwf-civic-layout,
.dwf-state-page-full .dwf-civic-layout-row,
.dwf-state-page-full .dwf-civic-container-slot,
.dwf-state-page-full .dwf-state-profile-header--rep-style,
.dwf-state-page-full .dwf-state-rep-section{
    max-width:1200px!important;
    width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
}
/* merged from 4 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-civic-container{max-width:1200px;padding-top:clamp(22px,3vw,38px);padding-bottom:clamp(28px,3vw,42px);padding:clamp(18px,2.5vw,34px) 28px clamp(30px,4vw,52px)!important}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-civic-layout,
.dwf-state-page-full .dwf-civic-layout-row{display:block!important;gap:0!important}
/* merged from 4 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-civic-container-slot{margin:0 0 clamp(18px,2.2vw,28px);margin-bottom:clamp(10px,1.6vw,18px)!important}
.dwf-state-page-full .dwf-state-profile-header--rep-style{
    padding:0!important;
    margin-bottom:clamp(16px,2.2vw,28px)!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
}
.dwf-state-page-full .dwf-state-profile-header--rep-style .dwf-state-profile-header__header{
    display:block!important;
    grid-template-columns:1fr!important;
    padding:clamp(24px,3vw,42px) 0 clamp(12px,1.6vw,20px)!important;
    margin:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
}
.dwf-state-page-full .dwf-state-profile-header--rep-style .dwf-state-profile-header__title{display:block!important;min-width:0!important;}
.dwf-state-page-full .dwf-state-profile-header--rep-style h1{
    font-size:clamp(44px,5.4vw,74px)!important;
    line-height:.95!important;
    letter-spacing:-.07em!important;
    margin:0 0 1rem!important;
    max-width:none!important;
}
.dwf-state-page-full .dwf-state-profile-header--rep-style .dwf-state-header-facts--chips{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:0!important;
    width:100%!important;
    max-width:900px!important;
    margin:0!important;
    border:0!important;
    border-top:1px solid var(--dwf-profile-rule,#ddd7cf)!important;
    border-radius:0!important;
    background:transparent!important;
    overflow:visible!important;
}
.dwf-state-page-full .dwf-state-profile-header--rep-style .dwf-state-header-fact{
    min-height:0!important;
    padding:.75rem 1.1rem .75rem 0!important;
    border:0!important;
    border-bottom:1px solid var(--dwf-profile-rule,#ddd7cf)!important;
    background:transparent!important;
}
.dwf-state-page-full .dwf-state-profile-header--rep-style .dwf-state-header-fact__label{
    display:block!important;
    margin:0 0 .35rem!important;
    color:var(--dwf-profile-rust,#8b2236)!important;
    font-size:11px!important;
    line-height:1.05!important;
    font-weight:900!important;
    letter-spacing:.18em!important;
    text-transform:uppercase!important;
}
.dwf-state-page-full .dwf-state-profile-header--rep-style .dwf-state-header-fact__value{
    display:block!important;
    margin:0!important;
    color:var(--dwf-profile-ink,#141414)!important;
    font-size:15px!important;
    line-height:1.2!important;
    font-weight:800!important;
}
.dwf-state-page-full .dwf-state-profile-header--rep-style .dwf-state-intro-copy,
.dwf-state-page-full .dwf-state-profile-header--rep-style .dwf-state-profile-header__intro{
    width:100%!important;
    max-width:none!important;
    margin:clamp(18px,2.4vw,30px) 0 0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
}
.dwf-state-page-full .dwf-state-profile-header--rep-style .dwf-state-intro-copy p{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    color:var(--dwf-profile-muted,#55514d)!important;
    font-size:clamp(18px,1.6vw,22px)!important;
    line-height:1.55!important;
}
/* merged from 7 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-state-rep-section{border:0!important;box-shadow:none!important;border-radius:0!important;max-width:1200px!important;margin:0 auto clamp(10px,1.4vw,16px)!important;padding:clamp(6px,.8vw,10px) 0 0!important;background:#fff;margin-bottom:clamp(12px,2vw,24px)!important;border-top:0!important;padding-left:28px!important;padding-right:28px!important}
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-rep-section h2{margin:0 0 .75rem!important;} */
/* merged from 5 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-state-member-grid{gap:0 34px;row-gap:.25rem!important}
@media(max-width:900px){.dwf-state-page-full .dwf-state-profile-header--rep-style .dwf-state-header-facts--chips{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:640px){.dwf-state-page-full .dwf-civic-container{padding-left:18px!important;padding-right:18px!important;}.dwf-state-page-full .dwf-state-profile-header--rep-style .dwf-state-header-facts--chips{grid-template-columns:1fr!important;}}

/* 3.3.46 shared canonical tab system.
 *
 * 2026-08-07: .dwf-civic-canonical-page.alignwide and .dwf-generated-state-
 * page.alignwide removed from this rule -- confirmed real, this is exactly
 * what's on the real generated state page's outer wrapper div (see
 * render_state_page_content()'s $wrapper_classes) -- and its max-width:
 * 1180px was capping page width to something narrower than (and
 * independent from) .dwf-plugin-content-cap's 1320px, nested one level
 * inside it. Two rules both trying to be the page-width authority is
 * exactly the kind of drift already fixed once this session (the old
 * dwf-family-pages-shape.css 1100px rule, and the dead .dwf-rep-profile
 * 75rem rule) -- this was the same problem in a third place, just not
 * caught until state pages specifically were reported still too narrow
 * after everything else was fixed. .dwf-plugin-content-cap is now the
 * single source of truth for page width; this legacy rule doesn't need
 * to also try.
 *
 * .dwf-civic-virtual-page .dwf-civic-canonical-page kept as-is --
 * confirmed a genuinely different context (templates/dwf-civic-canonical-
 * page.php, the virtual/fallback-page template, not a real generated
 * Page), no evidence it's part of this bug.
 */
.dwf-civic-virtual-page .dwf-civic-canonical-page {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(18px, 4vw, 42px);
  padding-right: clamp(18px, 4vw, 42px);
}
.dwf-civic-tabs {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  margin-top: clamp(18px, 3vw, 28px);
}
.dwf-civic-tablist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: 24px;
}
.dwf-civic-tab-button {
  appearance: none;
  border: 0;
  background: transparent;
  border-left: 3px solid transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  line-height: 1.25;
  padding: 10px 12px;
  text-align: left;
}
.dwf-civic-tab-button:hover,
.dwf-civic-tab-button:focus,
.dwf-civic-tab-button.is-active {
  border-left-color: currentColor;
  background: rgba(0,0,0,.04);
  outline: none;
}
.dwf-civic-tab-panel[hidden] { display: none !important; }
.dwf-civic-tab-panel > :first-child { margin-top: 0; }

/* 2026-07-22: the pathway tabs (Bill/Nomination/Treaty/Impeachment/
   Oversight on the House and Senate pages) reuse this component for its
   click/keyboard/ARIA behavior, but need a horizontal, underlined tab row
   (matching the uploaded senatehouseoverviewtabs.png reference) instead of
   the sidebar-nav-plus-panel layout this component uses everywhere else --
   that sidebar shape was designed for a directory-style single content
   tool, not a short row of question types. Scoped to --pathway only, so
   every other use of .dwf-civic-tabs on state/profile pages is unaffected. */
.dwf-civic-tabs--pathway { display: block; margin-top: clamp(18px, 3vw, 28px); }
.dwf-civic-tabs--pathway .dwf-civic-tablist { flex-direction: row; flex-wrap: wrap; gap: 0; position: static; border-bottom: 1px solid var(--dwf-congress-rule, #ddd7cf); margin-bottom: 1.6rem; }
.dwf-civic-tabs--pathway .dwf-civic-tab-button { border-left: 0; border-bottom: 3px solid transparent; padding: 10px 18px 12px 0; margin-right: 24px; text-transform: uppercase; font-size: .78rem; letter-spacing: .06em; }
.dwf-civic-tabs--pathway .dwf-civic-tab-button:hover,
.dwf-civic-tabs--pathway .dwf-civic-tab-button:focus,
.dwf-civic-tabs--pathway .dwf-civic-tab-button.is-active { border-left-color: transparent; border-bottom-color: currentColor; background: transparent; }
@media (max-width: 600px) {
  .dwf-civic-tabs--pathway .dwf-civic-tablist { flex-direction: column; border-bottom: 0; }
  .dwf-civic-tabs--pathway .dwf-civic-tab-button { border-bottom: 0; border-left: 3px solid transparent; padding: 10px 12px; margin-right: 0; }
  .dwf-civic-tabs--pathway .dwf-civic-tab-button.is-active { border-left-color: currentColor; border-bottom-color: transparent; background: rgba(0,0,0,.04); }
}

/* 2026-07-06: this component reserves a sidebar-nav column unconditionally,
   which was designed for choosing between several tabs. With exactly one tab
   (Member Directory on Congress/House/Senate; Congressional Work on rep
   profiles), that sidebar has nothing to navigate between and just eats
   space while visually disconnecting the content from the rest of the page.
   Collapsing to a single flowing column when there's only one tab fixes this
   everywhere this shared component is used with a single tab, not just one
   page type. */
.dwf-civic-tabs:has(.dwf-civic-tablist > .dwf-civic-tab-button:only-child) {
  display: block;
}
.dwf-civic-tabs:has(.dwf-civic-tablist > .dwf-civic-tab-button:only-child) .dwf-civic-tablist {
  display: none;
}
/* 2026-07-06 follow-up: hiding the tab nav wasn't enough on its own -- the
   panel itself still carried a bordered/shadowed "card" look designed for a
   genuine multi-tab context, which is exactly why this still read as a
   separate boxed widget rather than page content once the nav disappeared.
   Stripping that chrome specifically for the single-tab case lets the
   content actually flow into the page. */
.dwf-civic-tabs:has(.dwf-civic-tablist > .dwf-civic-tab-button:only-child) .dwf-civic-tab-panel {
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.dwf-civic-tab-content h2:first-child { margin-top: 0; }
.dwf-civic-tab-content--federal-representation .dwf-state-rep-section { margin-top: 0; }
.dwf-civic-tab-content--federal-representation .dwf-state-rep-section + .dwf-state-rep-section { margin-top: clamp(20px, 3vw, 32px); }
.dwf-congress-directory-grid { margin-top: 18px; }
.dwf-congress-canonical-header { margin-bottom: 0; }
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-state-profile-header{max-width:1200px!important;margin:0 auto clamp(30px,4vw,54px)!important;padding:clamp(34px,4vw,54px) 28px clamp(24px,3vw,38px)!important;border:0!important;background:transparent!important;display:block!important;margin-bottom:0}
.dwf-state-page-full .dwf-civic-tabs { margin-top: 18px; }
/* merged from 5 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-state-rep-section h2{margin:0 0 .75rem!important;font-size:24px;line-height:1.15;margin-top:0}
@media (max-width: 760px) {
  .dwf-civic-tabs { grid-template-columns: 1fr; }
  .dwf-civic-tablist { position: static; flex-direction: row; flex-wrap: wrap; }
  .dwf-civic-tab-button { border-left: 0; border-bottom: 3px solid transparent; }
  .dwf-civic-tab-button:hover,
  .dwf-civic-tab-button:focus,
  .dwf-civic-tab-button.is-active { border-bottom-color: currentColor; }
}

/* 3.3.51 canonical Congress/chamber fallback pages */
.dwf-civic-canonical-page .dwf-congress-canonical-header{
  padding-top:clamp(32px,6vw,72px);
  margin-bottom:clamp(18px,3vw,32px);
}
.dwf-civic-canonical-page .dwf-congress-canonical-header .dwf-member-profile__header{
  align-items:flex-start;
}
.dwf-congress-canonical-intro p,
.dwf-civic-tab-intro{
  max-width:none;
  color:var(--dwf-profile-muted,#55514d);
  font-size:clamp(16px,1.25vw,19px);
  line-height:1.55;
}
.dwf-congress-chamber-links{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem 1.25rem;
  margin:0 0 clamp(18px,3vw,28px);
}
.dwf-congress-chamber-links a,
.dwf-congress-jump-menu a{
  color:var(--dwf-profile-accent,#a9442f);
  font-weight:800;
  text-decoration:none;
}
.dwf-congress-chamber-links a:hover,
.dwf-congress-chamber-links a:focus,
.dwf-congress-jump-menu a:hover,
.dwf-congress-jump-menu a:focus{
  text-decoration:underline;
}
.dwf-congress-jump-menu{
  display:flex;
  flex-wrap:wrap;
  gap:.35rem .6rem;
  border-top:1px solid rgba(0,0,0,.09);
  border-bottom:1px solid rgba(0,0,0,.09);
  padding:.7rem 0;
  margin:clamp(14px,2vw,22px) 0 clamp(16px,2.5vw,26px);
  font-size:.82rem;
  letter-spacing:.08em;
}
.dwf-congress-directory-list{
  display:grid;
  gap:clamp(10px,1.5vw,16px);
}
.dwf-congress-directory-hint{
  margin:.5rem 0 1rem;
  color:#6b6b6b;
  font-size:.92rem;
}
.dwf-congress-state-group{
  border-bottom:1px solid #e4e4e4;
  padding-bottom:clamp(10px,1.5vw,16px);
}
.dwf-congress-state-group summary{
  margin:0;
  padding:.55rem 0;
  font-size:clamp(1.05rem,1.6vw,1.35rem);
  font-weight:700;
  cursor:pointer;
  list-style:none;
}
.dwf-congress-state-group summary::-webkit-details-marker{display:none;}
.dwf-congress-state-group summary::before{
  content:"+";
  display:inline-block;
  width:1.1em;
  color:#8b2236;
  font-weight:900;
}
.dwf-congress-state-group[open] summary::before{content:"–";}
.dwf-congress-state-group__members{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.2rem clamp(18px,3vw,34px);
  margin-top:.4rem;
}
.dwf-congress-directory-member{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:.75rem;
  align-items:center;
  border-top:1px solid rgba(0,0,0,.09);
  padding:.72rem 0;
}
.dwf-congress-directory-member__photo img{
  width:42px;
  height:42px;
  object-fit:cover;
  border-radius:999px;
  display:block;
}
.dwf-congress-directory-member__name{
  display:block;
  color:inherit;
  font-weight:850;
  line-height:1.15;
  text-decoration:none;
}
.dwf-congress-directory-member__name:hover,
.dwf-congress-directory-member__name:focus{
  color:var(--dwf-profile-accent,#a9442f);
  text-decoration:underline;
}
.dwf-congress-directory-member__meta{
  display:block;
  color:var(--dwf-profile-muted,#55514d);
  font-size:.86rem;
  line-height:1.25;
  margin-top:.12rem;
}
@media(max-width:900px){
  .dwf-congress-state-group__members{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:640px){
  .dwf-congress-state-group__members{grid-template-columns:1fr;}
  .dwf-civic-canonical-page .dwf-member-profile__chips{grid-template-columns:repeat(2,minmax(0,1fr));}
}


/* 3.3.52-dev: Core-only state page rhythm and add-on tab activation cleanup. */
.dwf-state-page-full.has-core-only-layout .dwf-state-profile-header.dwf-state-profile-header--member-style{
    margin-bottom:clamp(14px,1.8vw,24px)!important;
    padding-bottom:clamp(8px,1.2vw,14px)!important;
}
.dwf-state-page-full.has-core-only-layout .dwf-state-header-facts--chips{
    margin-bottom:clamp(10px,1.5vw,18px)!important;
}
.dwf-state-page-full.has-core-only-layout .dwf-state-profile-header__intro{
    margin-top:clamp(10px,1.5vw,18px)!important;
}
.dwf-state-page-full.has-core-only-layout .dwf-state-profile-header__intro p{
    margin-top:0!important;
    margin-bottom:clamp(16px,2vw,26px)!important;
}
.dwf-state-page-full.has-core-only-layout .dwf-state-rep-section{
    margin-top:0!important;
    margin-bottom:clamp(18px,2.4vw,30px)!important;
}
.dwf-state-page-full.has-addon-tabs .dwf-state-profile-header.dwf-state-profile-header--member-style{
    margin-bottom:clamp(14px,2vw,26px)!important;
}
.dwf-state-page-full.has-addon-tabs .dwf-civic-tabs--state{
    margin-top:clamp(8px,1vw,14px)!important;
}

/* 3.3.61: keep representative learn-more links visible without accordion controls. */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__resource-group {
    margin-top: 0.75rem;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    background: rgba(255,255,255,.65);
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__resource-group h4 {
    margin: 0;
    font-weight: 700;
    font-size: 1rem;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__resource-list--compact {
    margin-top: 0.65rem;
    gap: 0.45rem;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-member-profile__resource-list--compact a {
    font-size: 0.92rem;
    padding: 0.35rem 0.55rem;
} */


/* 3.3.62-dev: visitor-friendly empty states for work tabs. */
.dwf-member-profile__friendly-empty{
    display:flex!important;
    gap:14px!important;
    align-items:flex-start!important;
    padding:clamp(16px,2.25vw,24px)!important;
    border:1px solid var(--dwf-profile-line, var(--dwf-rule, #ddd7cf))!important;
    border-radius:14px!important;
    background:#faf9f6!important;
    max-width:780px!important;
}
.dwf-member-profile__friendly-empty-icon{
    display:inline-flex!important;
    width:34px!important;
    height:34px!important;
    flex:0 0 34px!important;
    align-items:center!important;
    justify-content:center!important;
    border:2px solid var(--dwf-profile-accent)!important;
    border-radius:999px!important;
    color:var(--dwf-profile-accent)!important;
    font-size:0!important;
    line-height:1!important;
    margin-top:2px!important;
}
.dwf-member-profile__friendly-empty-icon::before{
    content:"";
    display:block;
    width:9px;
    height:9px;
    border-radius:999px;
    background:var(--dwf-profile-accent);
}
.dwf-member-profile__friendly-empty strong{
    display:block!important;
    font-size:1.05rem!important;
    line-height:1.2!important;
    color:var(--dwf-profile-ink)!important;
    margin:0 0 5px!important;
}
.dwf-member-profile__friendly-empty p{
    margin:0!important;
    color:var(--dwf-profile-muted)!important;
    font-size:1rem!important;
    line-height:1.45!important;
}

/* 3.3.63-dev: image icons for visitor-friendly vote/legislation fallbacks. */
.dwf-member-profile__friendly-empty img.dwf-member-profile__friendly-empty-icon{
    width:44px!important;
    height:44px!important;
    flex:0 0 44px!important;
    border:0!important;
    border-radius:0!important;
    object-fit:contain!important;
    margin-top:0!important;
}
.dwf-member-profile__friendly-empty img.dwf-member-profile__friendly-empty-icon::before{
    content:none!important;
    display:none!important;
}

/* 3.3.64-dev: Congressional Work refresh timing footer. */
.dwf-member-profile__work-status{
    margin:14px 0 0;
    padding-top:10px;
    border-top:1px solid rgba(0,0,0,.08);
    font-size:13px;
    line-height:1.4;
    color:#555;
}
.dwf-member-profile__pagination{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin:16px 0 0;
    padding-top:12px;
    border-top:1px solid rgba(0,0,0,.08);
    font-size:14px;
}
.dwf-member-profile__pagination a{
    font-weight:700;
    text-decoration:none;
}
.dwf-member-profile__pagination a:hover{text-decoration:underline;}
.dwf-member-profile__pagination-disabled{
    opacity:.4;
    font-weight:700;
}
.dwf-member-profile__pagination-status{
    color:#666;
    font-size:13px;
    white-space:nowrap;
}


/* 3.3.68-dev: keep shared add-on tab content readable on custom/theme backgrounds. */
.dwf-civic-tab-panel,
.dwf-civic-tab-content,
.dwf-civic-tabs .dwf-civic-tab-panel {
  background: #fff;
  color: inherit;
}
.dwf-civic-tab-panel {
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 16px;
  padding: clamp(18px, 3vw, 30px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
}
.dwf-civic-tab-content > :last-child,
.dwf-civic-tab-panel > :last-child {
  margin-bottom: 0;
}

/* 3.3.69-dev: theme contract wrappers and stronger tab readability. */
.dwf-civic-page,
.dwf-civic-shell {
  box-sizing: border-box;
}
.dwf-civic-page *,
.dwf-civic-page *::before,
.dwf-civic-page *::after {
  box-sizing: border-box;
}
.dwf-civic-page--state,
.dwf-civic-page--congress_home,
.dwf-civic-page--congress_senate,
.dwf-civic-page--congress_house,
.dwf-civic-page--member,
.dwf-civic-page--congress_member_profile {
  width: 100%;
}
.dwf-civic-tabs__panel,
.dwf-civic-tab-panel,
.dwf-civic-tabs__panel > .dwf-civic-module,
.dwf-civic-tab-panel > .dwf-civic-module,
.dwf-civic-tab-content {
  background: #fff;
}
.dwf-civic-tabs__nav {
  background: transparent;
}
.dwf-civic-empty-state,
.dwf-civic-fallback,
.dwf-civic-missing-dependency,
.dwf-civic-coming-soon,
.dwf-civic-limited,
.dwf-civic-error-public {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 16px;
  padding: clamp(16px, 2.5vw, 24px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
}
.dwf-civic-error-admin {
  border-left: 4px solid #b91c1c;
}


.dwf-admin .dwfct-work-data-notice{background:#fafafa!important;border-left:3px solid #8a4a11!important;border-top:1px solid #e4e4e4!important;border-right:1px solid #e4e4e4!important;border-bottom:1px solid #e4e4e4!important;color:#0a0a0a!important;box-shadow:none;}
.dwf-admin .dwfct-work-data-notice p,.dwf-admin .dwfct-work-data-notice strong{color:#0a0a0a!important;}
.dwf-admin .dwfct-work-data-notice a{color:#0a0a0a!important;font-weight:700;text-decoration:underline;}
.dwf-admin .dwfct-work-data-notice .notice-dismiss:before{color:#0a0a0a!important;}

/* Readable global admin notices, including notices printed outside the plugin wrapper. */
.notice.dwfct-work-data-notice,
div.dwfct-work-data-notice{
  background:#fafafa!important;
  border-left:3px solid #8a4a11!important;
  border-top:1px solid #e4e4e4!important;
  border-right:1px solid #e4e4e4!important;
  border-bottom:1px solid #e4e4e4!important;
  color:#0a0a0a!important;
  box-shadow:none!important;
}
.notice.dwfct-work-data-notice p,
.notice.dwfct-work-data-notice strong,
.notice.dwfct-work-data-notice span,
div.dwfct-work-data-notice p,
div.dwfct-work-data-notice strong,
div.dwfct-work-data-notice span{
  color:#0a0a0a!important;
}
.notice.dwfct-work-data-notice a,
div.dwfct-work-data-notice a{
  color:#0a0a0a!important;
  font-weight:700!important;
  text-decoration:underline!important;
}
.notice.dwfct-work-data-notice .notice-dismiss:before,
div.dwfct-work-data-notice .notice-dismiss:before{
  color:#0a0a0a!important;
}
#adminmenu .toplevel_page_dwf-civic-toolkit .wp-menu-image img{
  width:20px!important;
  height:20px!important;
  object-fit:contain!important;
  padding-top:7px!important;
  opacity:.85!important;
}
#adminmenu .toplevel_page_dwf-civic-toolkit:hover .wp-menu-image img,
#adminmenu .toplevel_page_dwf-civic-toolkit.current .wp-menu-image img,
#adminmenu .toplevel_page_dwf-civic-toolkit.wp-has-current-submenu .wp-menu-image img{
  opacity:1!important;
}


/* 3.3.73: Representatives admin Congressional Work status panel. */
.dwfct-work-status-panel {
    border: 1px solid #e4e4e4;
    background: #ffffff;
    border-radius: 6px;
    padding: 16px;
}
.dwfct-work-status-panel h3 {
    margin-top: 0;
    color: #0a0a0a;
}
.dwfct-work-status-panel .description {
    color: #6b6b6b;
}
.dwfct-work-stat-grid {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}


/* Admin notices -- simplified now that the hero is white, not the old blue gradient. */
.dwf-admin .dwfct-admin-hero .notice,
.dwf-admin .dwfct-admin-hero .dwfct-admin-result-notice,
.dwf-admin .dwfct-admin-hero .dwfct-work-data-notice,
.dwfct-admin-hero .notice,
.dwfct-admin-hero .dwfct-admin-result-notice,
.dwfct-admin-hero .dwfct-work-data-notice{
  background:#fafafa!important;
  color:#0a0a0a!important;
  border-left:3px solid #8a4a11!important;
  border-top:1px solid #e4e4e4!important;
  border-right:1px solid #e4e4e4!important;
  border-bottom:1px solid #e4e4e4!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
.dwf-admin .dwfct-admin-hero .notice-success,
.dwf-admin .dwfct-admin-hero .dwfct-admin-result-notice.notice-success,
.dwfct-admin-hero .notice.notice-success,
.dwfct-admin-hero .dwfct-admin-result-notice.notice-success{
  background:#fafafa!important;
  color:#0a0a0a!important;
  border-left-color:#1f6d43!important;
}
.dwf-admin .dwfct-admin-hero .notice p,
.dwf-admin .dwfct-admin-hero .notice strong,
.dwf-admin .dwfct-admin-hero .notice span,
.dwf-admin .dwfct-admin-hero .notice a,
.dwfct-admin-hero .notice *:not(.notice-dismiss):not(.dashicons),
.dwfct-admin-hero .dwfct-admin-result-notice *:not(.notice-dismiss):not(.dashicons),
.dwfct-admin-hero .dwfct-work-data-notice *:not(.notice-dismiss):not(.dashicons){
  color:inherit!important;
  text-shadow:none!important;
}
.dwf-admin .dwfct-admin-hero .notice a,
.dwfct-admin-hero .notice a,
.dwfct-admin-hero .dwfct-admin-result-notice a,
.dwfct-admin-hero .dwfct-work-data-notice a{
  color:#0a0a0a!important;
  font-weight:700!important;
  text-decoration:underline!important;
}


/* Core admin status messages in the main content area. */
.dwfct-page-notice{
    background:#fff!important;
    border:1px solid #e4e4e4!important;
    border-left:3px solid #0a0a0a!important;
    border-radius:4px;
    box-shadow:none;
    color:#0a0a0a!important;
    margin:16px 0;
    padding:12px 16px;
}
.dwfct-page-notice p{
    color:#0a0a0a!important;
    margin:.35em 0!important;
}
.dwfct-page-notice strong{color:#0a0a0a!important;}
.dwfct-page-notice-success{
    background:#fff!important;
    border-color:#e4e4e4!important;
    border-left-color:#1f6d43!important;
}
.dwfct-page-notice-error{
    background:#fff!important;
    border-color:#e4e4e4!important;
    border-left-color:#8a1f1f!important;
}


/* 3.3.82-dev: content deep-dive profile enhancements. */
.dwf-member-profile__snapshot{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:0;
    margin:0 0 clamp(24px,3vw,38px);
    border-top:1px solid var(--dwf-profile-rule, #ded8cf);
    border-bottom:1px solid var(--dwf-profile-rule, #ded8cf);
    background:#fff;
}
.dwf-member-profile__snapshot-card{
    position:relative;
    min-height:118px;
    padding:18px 20px 16px;
    border-right:1px solid var(--dwf-profile-rule, #ded8cf);
    overflow:hidden;
}
.dwf-member-profile__snapshot-card:last-child{border-right:0;}
.dwf-member-profile__snapshot-card::before{
    content:'';
    position:absolute;
    inset:0 auto 0 0;
    width:5px;
    background:var(--dwf-profile-rust, #8b2236);
    opacity:.88;
}
.dwf-member-profile__snapshot-label{
    display:block;
    margin:0 0 .55rem;
    color:var(--dwf-profile-rust, #8b2236);
    font-size:11px;
    font-weight:900;
    letter-spacing:.16em;
    line-height:1.1;
    text-transform:uppercase;
}
.dwf-member-profile__snapshot-value{
    display:block;
    color:var(--dwf-profile-ink, #141414);
    font-size:clamp(32px,4vw,50px);
    line-height:.9;
    letter-spacing:-.06em;
}
.dwf-member-profile__snapshot-note{
    display:block;
    max-width:210px;
    margin:.7rem 0 0;
    color:var(--dwf-profile-muted, #55514d);
    font-size:13px;
    line-height:1.25;
    font-weight:700;
}
.dwf-member-profile__work-intro{
    max-width:860px;
    margin:0 0 1.35rem!important;
    color:var(--dwf-profile-muted, #55514d)!important;
    font-size:1rem;
    line-height:1.5!important;
}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__resource-group{margin-top:1.35rem;border:1px solid rgba(0,0,0,.08);border-radius:12px;padding:0.75rem 0.9rem;background:rgba(255,255,255,.65)}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__resource-group h4{margin:0;font-weight:700;font-size:1rem;margin-bottom:.4rem!important}
.dwf-member-profile__resource-note{
    max-width:840px!important;
    margin:.15rem 0 .8rem!important;
    color:var(--dwf-profile-muted, #55514d)!important;
    font-size:.96rem!important;
    line-height:1.45!important;
}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__resource-list--compact{margin-top:0.65rem;gap:0 28px!important;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))!important}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__resource-list--compact a{font-size:0.92rem;padding:0.35rem 0.55rem;min-height:52px;background:linear-gradient(90deg, rgba(250,248,245,.85), rgba(255,255,255,0));padding-left:.85rem!important}
@media(max-width:900px){
    .dwf-member-profile__snapshot{grid-template-columns:repeat(2,minmax(0,1fr));}
    .dwf-member-profile__snapshot-card:nth-child(2){border-right:0;}
    .dwf-member-profile__snapshot-card:nth-child(-n+2){border-bottom:1px solid var(--dwf-profile-rule, #ded8cf);}
}
@media(max-width:560px){
    .dwf-member-profile__snapshot{grid-template-columns:1fr;}
    .dwf-member-profile__snapshot-card{border-right:0;border-bottom:1px solid var(--dwf-profile-rule, #ded8cf);}
    .dwf-member-profile__snapshot-card:last-child{border-bottom:0;}
}

/* 3.3.83: content deep-dive restore pass from 2.x profile copy + approval-page design rhythm. */
.dwf-member-profile__reader-guide{
    margin:clamp(18px,3vw,34px) 0;
    padding:clamp(18px,3vw,28px);
    border:1px solid var(--dwf-profile-rule,#ded8cf);
    border-radius:18px;
    background:linear-gradient(135deg,#ffffff 0%,#fbf7f0 100%);
    box-shadow:0 12px 30px rgba(49,40,31,.06);
}
.dwf-member-profile__section-heading{display:grid;gap:.25rem;margin-bottom:1rem;}
.dwf-member-profile__section-heading span{
    color:var(--dwf-profile-rust,#a64f2b);
    font-size:.74rem;
    font-weight:900;
    letter-spacing:.16em;
    text-transform:uppercase;
}
.dwf-member-profile__section-heading h3{
    margin:0!important;
    color:var(--dwf-profile-ink,#1f2937)!important;
    font-size:clamp(1.25rem,2.4vw,1.8rem)!important;
    line-height:1.15!important;
    letter-spacing:-.02em;
    text-transform:none!important;
}
.dwf-member-profile__guide-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;}
.dwf-member-profile__guide-card{
    position:relative;
    min-height:142px;
    padding:1rem 1rem 1.1rem;
    border:1px solid rgba(109,93,77,.18);
    border-radius:14px;
    background:#fff;
    overflow:hidden;
}
.dwf-member-profile__guide-card::after{
    content:'';
    position:absolute;
    left:0;right:0;bottom:0;height:4px;
    background:linear-gradient(90deg,var(--dwf-profile-rust,#a64f2b),rgba(166,79,43,.18));
}
.dwf-member-profile__guide-number{
    display:inline-grid;
    place-items:center;
    width:34px;height:34px;
    border-radius:999px;
    background:rgba(166,79,43,.11);
    color:var(--dwf-profile-rust,#a64f2b);
    font-weight:900;
    font-size:.78rem;
    margin-bottom:.8rem;
}
.dwf-member-profile__guide-card h4{margin:0 0 .45rem!important;color:var(--dwf-profile-ink,#1f2937)!important;font-size:1rem!important;line-height:1.25!important;}
.dwf-member-profile__guide-card p{margin:0!important;color:#475569!important;font-size:.94rem!important;line-height:1.55!important;}
@media (max-width:980px){.dwf-member-profile__guide-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:620px){.dwf-member-profile__reader-guide{padding:1rem}.dwf-member-profile__guide-grid{grid-template-columns:1fr}.dwf-member-profile__guide-card{min-height:auto;}}


/* 3.3.84-dev: make state add-on tabs render as real top tabs across themes. */
.dwf-civic-tabs.dwf-civic-tabs--state{
    display:block!important;
    width:100%!important;
    margin-top:clamp(18px,2.5vw,30px)!important;
}
.dwf-civic-tabs--state .dwf-civic-tablist,
.dwf-civic-tabs--state .dwf-civic-tabs__nav{
    position:static!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    gap:0!important;
    align-items:flex-end!important;
    border-bottom:1px solid rgba(15,23,42,.14)!important;
    margin:0 0 clamp(18px,2.5vw,26px)!important;
    background:transparent!important;
}
.dwf-civic-tabs--state .dwf-civic-tab-button,
.dwf-civic-tabs--state .dwf-civic-tabs__tab{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:0!important;
    border:1px solid rgba(15,23,42,.14)!important;
    border-bottom:0!important;
    border-radius:10px 10px 0 0!important;
    background:#fff!important;
    color:#111827!important;
    margin:0 6px -1px 0!important;
    padding:12px 18px!important;
    font-size:.82rem!important;
    font-weight:900!important;
    letter-spacing:.12em!important;
    line-height:1.1!important;
    text-transform:uppercase!important;
    text-align:center!important;
    box-shadow:none!important;
}
.dwf-civic-tabs--state .dwf-civic-tab-button:hover,
.dwf-civic-tabs--state .dwf-civic-tab-button:focus,
.dwf-civic-tabs--state .dwf-civic-tab-button.is-active,
.dwf-civic-tabs--state .dwf-civic-tabs__tab:hover,
.dwf-civic-tabs--state .dwf-civic-tabs__tab:focus,
.dwf-civic-tabs--state .dwf-civic-tabs__tab.is-active{
    border-color:#8b2236!important;
    color:#8b2236!important;
    background:#fff!important;
    outline:0!important;
}
.dwf-civic-tabs--state .dwf-civic-tab-panel[hidden],
.dwf-civic-tabs--state .dwf-civic-tabs__panel[hidden]{
    display:none!important;
}
.dwf-civic-tabs--state .dwf-civic-tab-panel,
.dwf-civic-tabs--state .dwf-civic-tabs__panel{
    display:block;
    width:100%!important;
}
@media(max-width:640px){
    .dwf-civic-tabs--state .dwf-civic-tab-button,
    .dwf-civic-tabs--state .dwf-civic-tabs__tab{
        flex:1 1 100%!important;
        margin-right:0!important;
        border-radius:8px!important;
        border-bottom:1px solid rgba(15,23,42,.14)!important;
    }
}

/* 3.3.85-dev: state tabs use the same side-tab rhythm as representative profile work tabs. */
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state,
.dwf-civic-tabs.dwf-civic-tabs--state{
    display:grid!important;
    grid-template-columns:minmax(220px,.28fr) minmax(0,1fr)!important;
    gap:0 clamp(28px,4vw,54px)!important;
    align-items:start!important;
    width:100%!important;
    margin-top:clamp(18px,2.5vw,30px)!important;
}
.dwf-state-page-full .dwf-civic-tabs--state .dwf-civic-tablist,
.dwf-state-page-full .dwf-civic-tabs--state .dwf-civic-tabs__nav,
.dwf-civic-tabs--state .dwf-civic-tablist,
.dwf-civic-tabs--state .dwf-civic-tabs__nav{
    grid-column:1!important;
    position:static!important;
    display:flex!important;
    flex-direction:column!important;
    flex-wrap:nowrap!important;
    gap:0!important;
    align-items:stretch!important;
    border:0!important;
    margin:0!important;
    background:transparent!important;
}
.dwf-state-page-full .dwf-civic-tabs--state .dwf-civic-tab-button,
.dwf-state-page-full .dwf-civic-tabs--state .dwf-civic-tabs__tab,
.dwf-civic-tabs--state .dwf-civic-tab-button,
.dwf-civic-tabs--state .dwf-civic-tabs__tab{
    display:block!important;
    width:100%!important;
    justify-content:flex-start!important;
    border:0!important;
    border-bottom:1px solid rgba(222,216,207,.9)!important;
    border-radius:0!important;
    background:transparent!important;
    color:var(--dwf-profile-ink,#171717)!important;
    margin:0!important;
    padding:14px 0!important;
    box-shadow:none!important;
    font-size:15px!important;
    font-weight:900!important;
    line-height:1.15!important;
    letter-spacing:.03em!important;
    text-align:left!important;
    text-transform:none!important;
}
.dwf-state-page-full .dwf-civic-tabs--state .dwf-civic-tab-button:hover,
.dwf-state-page-full .dwf-civic-tabs--state .dwf-civic-tab-button:focus,
.dwf-state-page-full .dwf-civic-tabs--state .dwf-civic-tab-button.is-active,
.dwf-state-page-full .dwf-civic-tabs--state .dwf-civic-tabs__tab:hover,
.dwf-state-page-full .dwf-civic-tabs--state .dwf-civic-tabs__tab:focus,
.dwf-state-page-full .dwf-civic-tabs--state .dwf-civic-tabs__tab.is-active,
.dwf-civic-tabs--state .dwf-civic-tab-button:hover,
.dwf-civic-tabs--state .dwf-civic-tab-button:focus,
.dwf-civic-tabs--state .dwf-civic-tab-button.is-active,
.dwf-civic-tabs--state .dwf-civic-tabs__tab:hover,
.dwf-civic-tabs--state .dwf-civic-tabs__tab:focus,
.dwf-civic-tabs--state .dwf-civic-tabs__tab.is-active{
    color:var(--dwf-profile-rust,#8b2236)!important;
    background:transparent!important;
    border-left:0!important;
    border-top:0!important;
    border-right:0!important;
    border-bottom-color:rgba(222,216,207,.9)!important;
    outline:0!important;
}
.dwf-state-page-full .dwf-civic-tabs--state .dwf-civic-tabpanels,
.dwf-state-page-full .dwf-civic-tabs--state .dwf-civic-tabs__panels,
.dwf-civic-tabs--state .dwf-civic-tabpanels,
.dwf-civic-tabs--state .dwf-civic-tabs__panels{
    grid-column:2!important;
    min-width:0!important;
}
.dwf-state-page-full .dwf-civic-tabs--state .dwf-civic-tab-panel[hidden],
.dwf-state-page-full .dwf-civic-tabs--state .dwf-civic-tabs__panel[hidden],
.dwf-civic-tabs--state .dwf-civic-tab-panel[hidden],
.dwf-civic-tabs--state .dwf-civic-tabs__panel[hidden]{
    display:none!important;
}
.dwf-state-page-full .dwf-civic-tabs--state .dwf-civic-tab-panel,
.dwf-state-page-full .dwf-civic-tabs--state .dwf-civic-tabs__panel,
.dwf-civic-tabs--state .dwf-civic-tab-panel,
.dwf-civic-tabs--state .dwf-civic-tabs__panel{
    display:block;
    width:100%!important;
}
@media(max-width:760px){
    .dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state,
    .dwf-civic-tabs.dwf-civic-tabs--state{
        grid-template-columns:1fr!important;
        gap:clamp(18px,4vw,24px)!important;
    }
    .dwf-state-page-full .dwf-civic-tabs--state .dwf-civic-tabpanels,
    .dwf-state-page-full .dwf-civic-tabs--state .dwf-civic-tabs__panels,
    .dwf-civic-tabs--state .dwf-civic-tabpanels,
    .dwf-civic-tabs--state .dwf-civic-tabs__panels{
        grid-column:1!important;
    }
}


/* 3.3.86-dev: State page tab containment and nested add-on layout cleanup.
   The outer Core state page tabs should match representative profile tabs.
   Nested add-on/tab markup inside a state panel should not become a second cramped tab column. */
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root{
    display:grid!important;
    grid-template-columns:minmax(220px,260px) minmax(0,1fr)!important;
    gap:0 clamp(28px,4vw,54px)!important;
    align-items:start!important;
    width:100%!important;
}
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tablist,
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabs__nav{
    grid-column:1!important;
}
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabpanels,
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabs__panels{
    grid-column:2!important;
    min-width:0!important;
    max-width:100%!important;
}
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabpanels > .dwf-civic-tab-panel,
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel{
    min-width:0!important;
    max-width:100%!important;
    overflow-wrap:anywhere;
}
/* Nested state/tab layouts provided by an add-on should render as content, not as another tab system. */
.dwf-state-page-full .dwf-civic-tabs--state.dwf-civic-tabs--root .dwf-civic-tabpanels .dwf-civic-tabs,
.dwf-state-page-full .dwf-civic-tabs--state.dwf-civic-tabs--root .dwf-civic-tabs__panels .dwf-civic-tabs{
    display:block!important;
    grid-template-columns:1fr!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
}
.dwf-state-page-full .dwf-civic-tabs--state.dwf-civic-tabs--root .dwf-civic-tabpanels .dwf-civic-tabs > .dwf-civic-tablist,
.dwf-state-page-full .dwf-civic-tabs--state.dwf-civic-tabs--root .dwf-civic-tabs__panels .dwf-civic-tabs > .dwf-civic-tablist,
.dwf-state-page-full .dwf-civic-tabs--state.dwf-civic-tabs--root .dwf-civic-tabpanels .dwf-civic-tabs > .dwf-civic-tabs__nav,
.dwf-state-page-full .dwf-civic-tabs--state.dwf-civic-tabs--root .dwf-civic-tabs__panels .dwf-civic-tabs > .dwf-civic-tabs__nav{
    display:none!important;
}
.dwf-state-page-full .dwf-civic-tabs--state.dwf-civic-tabs--root .dwf-civic-tabpanels .dwf-civic-tabs > .dwf-civic-tabpanels,
.dwf-state-page-full .dwf-civic-tabs--state.dwf-civic-tabs--root .dwf-civic-tabs__panels .dwf-civic-tabs > .dwf-civic-tabpanels,
.dwf-state-page-full .dwf-civic-tabs--state.dwf-civic-tabs--root .dwf-civic-tabpanels .dwf-civic-tabs > .dwf-civic-tabs__panels,
.dwf-state-page-full .dwf-civic-tabs--state.dwf-civic-tabs--root .dwf-civic-tabs__panels .dwf-civic-tabs > .dwf-civic-tabs__panels{
    display:block!important;
    grid-column:1!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
}
.dwf-state-page-full .dwf-civic-tabs--state.dwf-civic-tabs--root .dwf-civic-tabpanels .dwf-civic-tabs > .dwf-civic-tabpanels > .dwf-civic-tab-panel,
.dwf-state-page-full .dwf-civic-tabs--state.dwf-civic-tabs--root .dwf-civic-tabs__panels .dwf-civic-tabs > .dwf-civic-tabpanels > .dwf-civic-tab-panel,
.dwf-state-page-full .dwf-civic-tabs--state.dwf-civic-tabs--root .dwf-civic-tabpanels .dwf-civic-tabs > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel,
.dwf-state-page-full .dwf-civic-tabs--state.dwf-civic-tabs--root .dwf-civic-tabs__panels .dwf-civic-tabs > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 0 clamp(18px,2.4vw,30px)!important;
    padding:0!important;
    border:0!important;
    box-shadow:none!important;
}
@media(max-width:760px){
    .dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root{
        grid-template-columns:1fr!important;
        gap:clamp(18px,4vw,24px)!important;
    }
    .dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabpanels,
    .dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabs__panels{
        grid-column:1!important;
    }
}

/* 3.3.87-dev: flatten embedded add-on tab/navigation systems inside Core state tabs.
   Some add-ons render their own internal tab menu inside the State Government panel.
   That creates a second narrow navigation column and squeezes the educational cards.
   Core-owned state pages should have one page-level tab system only. */
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabpanels > .dwf-civic-tab-panel [role="tablist"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [role="tablist"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="tablist"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="tablist"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="tab-list"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="tab-list"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="tab-nav"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="tab-nav"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="tabs-nav"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="tabs-nav"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="tab-menu"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="tab-menu"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="section-nav"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="section-nav"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="toc-nav"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="toc-nav"]{
    display:none!important;
}

.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="tab-grid"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="tab-grid"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="tabs-grid"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="tabs-grid"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="tab-layout"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="tab-layout"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="tabs-layout"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="tabs-layout"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="state-tabs"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="state-tabs"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="state-tab"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="state-tab"]{
    display:block!important;
    grid-template-columns:1fr!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
}

.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabpanels > .dwf-civic-tab-panel [role="tabpanel"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [role="tabpanel"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="tab-panel"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="tab-panel"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="tabs-panel"],
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="tabs-panel"]{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
}

.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabpanels > .dwf-civic-tab-panel .dwfsgt-core-tab,
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel .dwfsgt-core-tab,
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabpanels > .dwf-civic-tab-panel .dwfgt-tab-fragment,
.dwf-state-page-full .dwf-civic-tabs.dwf-civic-tabs--state.dwf-civic-tabs--root > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel .dwfgt-tab-fragment{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
}


/* 3.3.89-dev: keep the restored Core state profile design visible first; add-on tabs move below Core representation. */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-addon-tabs,
.dwf-generated-state-page .dwf-state-addon-tabs{
    max-width:1200px!important;
    width:100%!important;
    margin:clamp(28px,4vw,48px) auto 0!important;
    padding-top:clamp(20px,3vw,32px)!important;
    border-top:1px solid var(--dwf-profile-rule,#ddd7cf)!important;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs.dwf-civic-tabs--state,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs.dwf-civic-tabs--state{
    display:block!important;
    width:100%!important;
    margin-top:0!important;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tablist,
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__nav,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tablist,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__nav{
    position:static!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    gap:0!important;
    align-items:flex-end!important;
    border-bottom:1px solid rgba(15,23,42,.14)!important;
    margin:0 0 clamp(18px,2.5vw,26px)!important;
    background:transparent!important;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tab-button,
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__tab,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tab-button,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__tab{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:0!important;
    border:1px solid rgba(15,23,42,.14)!important;
    border-bottom:0!important;
    border-radius:10px 10px 0 0!important;
    background:#fff!important;
    color:#111827!important;
    margin:0 6px -1px 0!important;
    padding:12px 18px!important;
    font-size:.82rem!important;
    font-weight:900!important;
    letter-spacing:.12em!important;
    line-height:1.1!important;
    text-transform:uppercase!important;
    text-align:center!important;
    box-shadow:none!important;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tab-button:hover,
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tab-button:focus,
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tab-button.is-active,
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__tab:hover,
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__tab:focus,
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__tab.is-active,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tab-button:hover,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tab-button:focus,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tab-button.is-active,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__tab:hover,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__tab:focus,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__tab.is-active{
    border-color:#8b2236!important;
    color:#8b2236!important;
    background:#fff!important;
    outline:0!important;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabpanels,
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__panels,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabpanels,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__panels{
    display:block!important;
    width:100%!important;
} */
@media(max-width:640px){
    .dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tab-button,
    .dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__tab,
    .dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tab-button,
    .dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__tab{
        flex:1 1 100%!important;
        margin-right:0!important;
        border-radius:8px!important;
        border-bottom:1px solid rgba(15,23,42,.14)!important;
    }
}

/* 3.3.91-dev: State add-on tabs stay as side tabs only.
   The previous restoration moved add-on tabs below the Core state profile but reintroduced
   top-tab pills. Keep the below-Core placement while forcing the page-level state tabs into
   the same vertical side-navigation rhythm used by representative profile work tabs. */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-addon-tabs,
.dwf-generated-state-page .dwf-state-addon-tabs{
    max-width:1200px!important;
    width:100%!important;
    margin:clamp(28px,4vw,48px) auto 0!important;
    padding-top:clamp(20px,3vw,32px)!important;
    padding-bottom:clamp(22px,3vw,38px)!important;
    border-top:1px solid var(--dwf-profile-rule,#ddd7cf)!important;
} */
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs.dwf-civic-tabs--state,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs.dwf-civic-tabs--state{display:grid!important;width:100%!important;margin-top:0!important;grid-template-columns:minmax(220px,260px) minmax(0,1fr)!important;gap:0 clamp(28px,4vw,54px)!important;align-items:start!important}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tablist,
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__nav,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tablist,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__nav{position:static!important;display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:0!important;align-items:stretch!important;border-bottom:1px solid rgba(15,23,42,.14)!important;margin:0!important;background:transparent!important;grid-column:1!important;justify-content:flex-start!important;border:0!important}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tab-button,
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__tab,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tab-button,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__tab{display:block!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-width:0!important;border:0!important;border-bottom:1px solid rgba(222,216,207,.9)!important;border-radius:0!important;background:transparent!important;color:var(--dwf-profile-ink,#171717)!important;margin:0!important;padding:14px 0!important;font-size:15px!important;font-weight:900!important;letter-spacing:.03em!important;line-height:1.15!important;text-transform:none!important;text-align:left!important;box-shadow:none!important}
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tab-button::after,
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__tab::after,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tab-button::after,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__tab::after{
    content:'→';
    float:right;
    color:var(--dwf-profile-rust,#8b2236);
    font-weight:700;
}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tab-button:hover,
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tab-button:focus,
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tab-button.is-active,
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__tab:hover,
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__tab:focus,
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__tab.is-active,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tab-button:hover,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tab-button:focus,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tab-button.is-active,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__tab:hover,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__tab:focus,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__tab.is-active{border-color:#8b2236!important;color:var(--dwf-profile-rust,#8b2236)!important;background:transparent!important;outline:0!important;border-left:0!important;border-top:0!important;border-right:0!important;border-bottom-color:rgba(222,216,207,.9)!important}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabpanels,
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__panels,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabpanels,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__panels{display:block!important;width:100%!important;grid-column:2!important;min-width:0!important}
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tab-panel,
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__panel,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tab-panel,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__panel{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
}
@media(max-width:760px){
    .dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs.dwf-civic-tabs--state,
    .dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs.dwf-civic-tabs--state{
        grid-template-columns:1fr!important;
        gap:clamp(18px,4vw,24px)!important;
    }
    .dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabpanels,
    .dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__panels,
    .dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabpanels,
    .dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state .dwf-civic-tabs__panels{
        grid-column:1!important;
    }
}

/* 3.3.91-dev: give state profile pages a little more breathing room before the site footer. */
.dwf-state-page-full,
.dwf-generated-state-page{
    margin-bottom:clamp(40px,5vw,72px)!important;
}



/* 3.3.93-dev: keep state pages to one side-tab system and give add-on panels the full content width.
   Add-ons may render an internal section/tab menu inside a state tab. On Core-owned state pages that creates
   a second side rail and squeezes the educational cards. The page-level State Government / Voting tabs remain
   the only visible tab controls; nested add-on navigation is flattened into normal content. */
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel,
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel{
    overflow-wrap:normal!important;
    word-break:normal!important;
}

.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [role="tablist"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [role="tablist"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [role="tablist"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [role="tablist"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="tablist"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="tablist"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="tablist"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="tablist"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="tab-list"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="tab-list"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="tab-list"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="tab-list"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="tab-nav"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="tab-nav"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="tab-nav"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="tab-nav"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="tabs-nav"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="tabs-nav"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="tabs-nav"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="tabs-nav"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="section-nav"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="section-nav"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="section-nav"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="section-nav"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="side-nav"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="side-nav"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="side-nav"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="side-nav"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="subnav"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="subnav"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="subnav"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="subnav"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="sub-nav"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="sub-nav"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="sub-nav"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="sub-nav"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="toc-nav"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="toc-nav"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="toc-nav"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="toc-nav"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel nav[class*="nav"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel nav[class*="nav"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel nav[class*="nav"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel nav[class*="nav"]{
    display:none!important;
}

.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="tab-layout"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="tab-layout"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="tabs-layout"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="tabs-layout"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="section-layout"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="section-layout"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="sidebar-layout"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="sidebar-layout"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="content-layout"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="content-layout"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="tab-layout"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="tab-layout"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="tabs-layout"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="tabs-layout"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="section-layout"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="section-layout"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="sidebar-layout"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="sidebar-layout"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="content-layout"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="content-layout"]{
    display:block!important;
    grid-template-columns:1fr!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
}

.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="content"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="content"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="main"],
.dwf-state-page-full .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="main"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="content"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="content"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabpanels > .dwf-civic-tab-panel [class*="main"],
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-civic-tabs--state > .dwf-civic-tabs__panels > .dwf-civic-tabs__panel [class*="main"]{
    grid-column:1 / -1!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
}

.dwf-state-page-full .dwf-state-addon-tabs [class*="card-grid"],
.dwf-state-page-full .dwf-state-addon-tabs [class*="cards-grid"],
.dwf-state-page-full .dwf-state-addon-tabs [class*="branch-grid"],
.dwf-generated-state-page .dwf-state-addon-tabs [class*="card-grid"],
.dwf-generated-state-page .dwf-state-addon-tabs [class*="cards-grid"],
.dwf-generated-state-page .dwf-state-addon-tabs [class*="branch-grid"]{
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr))!important;
    gap:clamp(16px,2vw,24px)!important;
}


/* 3.3.95-dev: quality guard for GTG-style State Government tab content.
   Core keeps one side-tab system while presenting branch information as readable cards. */
.dwf-state-gov-polished{width:100%;max-width:100%;}
.dwf-state-gov-polished__header{display:grid;grid-template-columns:minmax(220px,.72fr) minmax(280px,1fr);gap:clamp(20px,3vw,36px);align-items:end;margin:0 0 clamp(20px,3vw,34px);}
.dwf-state-gov-polished__header h2{font-size:clamp(2.2rem,4.4vw,4.4rem)!important;line-height:.92!important;letter-spacing:-.055em!important;margin:0!important;max-width:8.5em!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;}
.dwf-state-gov-polished__header p{font-size:clamp(.98rem,1.1vw,1.08rem)!important;line-height:1.55!important;margin:0!important;color:var(--dwf-profile-muted,#4b5563)!important;}
.dwf-state-gov-polished__cards,
.dwf-state-branch-card-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:clamp(16px,2vw,24px)!important;width:100%!important;}
/* 2026-07-08: corrected to the actual official branch color table --
   Executive was wrongly using the same rust/#8b2236 value as the House
   chamber color (a completely different concept: chamber vs. branch), and
   Legislative/Judicial were both off from their real official values.
   Hardcoded directly rather than through var(--dwf-profile-rust, ...) --
   that fallback-value pattern is exactly what caused a color-drift bug a
   few passes back, and these are officially fixed, unrelated-to-brand-accent
   colors that shouldn't move if --dwf-profile-rust ever changes for
   unrelated reasons. */
.dwf-state-branch-card{border:1px solid var(--dwf-profile-rule,#ded8cf)!important;border-top:4px solid #1F4E79!important;background:#fff!important;padding:clamp(18px,2vw,26px)!important;min-width:0!important;box-shadow:none!important;}
.dwf-state-branch-card--legislative{border-top-color:#233A5E!important;}
.dwf-state-branch-card--judicial{border-top-color:#31505D!important;}
.dwf-state-branch-card__kicker{display:block;color:#1F4E79!important;text-transform:uppercase!important;letter-spacing:.18em!important;font-weight:900!important;font-size:.72rem!important;line-height:1.1!important;margin:0 0 .85rem!important;}
.dwf-state-branch-card--legislative .dwf-state-branch-card__kicker{color:#233A5E!important;}
.dwf-state-branch-card--judicial .dwf-state-branch-card__kicker{color:#31505D!important;}
.dwf-state-branch-card h3{font-size:clamp(1.25rem,1.8vw,1.8rem)!important;line-height:1.02!important;letter-spacing:-.035em!important;margin:0 0 1rem!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;}
.dwf-state-branch-card p{font-size:.98rem!important;line-height:1.58!important;margin:0!important;color:var(--dwf-profile-muted,#4b5563)!important;}
.dwf-state-gov-polished__links{border-top:1px solid var(--dwf-profile-rule,#ded8cf);margin-top:clamp(24px,3vw,36px);padding-top:clamp(18px,2vw,26px);}
.dwf-state-gov-polished__links h3{font-size:1rem!important;letter-spacing:0!important;margin:0 0 1rem!important;}
.dwf-state-gov-polished__link-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px 16px;}
.dwf-state-gov-polished__link-grid a{display:block;border-bottom:1px solid var(--dwf-profile-rule,#ded8cf);padding:.65rem 1.7rem .65rem 0;text-decoration:none!important;font-weight:900;color:var(--dwf-profile-ink,#171717);position:relative;}
.dwf-state-gov-polished__link-grid a::after{content:'→';position:absolute;right:.35rem;color:var(--dwf-profile-rust,#8b2236);}
@media(max-width:980px){.dwf-state-gov-polished__header{grid-template-columns:1fr;align-items:start}.dwf-state-gov-polished__header h2{max-width:12em!important}.dwf-state-gov-polished__cards,.dwf-state-branch-card-grid{grid-template-columns:1fr!important}}


/* 3.3.96-dev: shared Guide to Government title/header contract.
   Mirrors the Judicial Review title proof: title only, optional deck, no logo or stray ornament
   on pages marked dwfgt-page--no-logo. Kept in Core so add-ons can rely on the same page-title spec. */
.dwfgt-page{
  /* 2026-07-22: this wrapper never had its own max-width -- the family-page
     template it sits inside deliberately has none either (max-width:none,
     to escape the theme's narrower sidebar layout), so nothing was capping
     these three pages at all on wide screens. 1200px matches the max-width
     already used elsewhere in this plugin for other full-width-template
     pages (state pages, member profiles), rather than inventing a new
     number. */
  max-width: 1200px;
  margin: 0 auto;
  --dwfgt-ink:#141414;
  --dwfgt-muted:#55514d;
  --dwfgt-rust:#8b2236;
  --dwfgt-rule:#ddd7cf;
  color:var(--dwfgt-ink);
}
.dwfgt-page .dwfgt-page-header{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,.72fr);
  gap:clamp(28px,5vw,76px);
  align-items:center;
  padding:clamp(34px,6vw,76px) 0 clamp(24px,4vw,54px);
}
.dwfgt-page.dwfgt-page--no-logo .dwfgt-page-header,
.dwfgt-page .dwfgt-page-header--no-logo{
  grid-template-columns:minmax(0,1fr);
  max-width:880px;
}
.dwfgt-page .dwfgt-logo-title{
  margin:0 0 16px;
  color:var(--dwfgt-rust);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(44px,6vw,76px);
  font-style:italic;
  font-weight:400;
  letter-spacing:-.055em;
  line-height:.92;
  text-transform:none;
}
.dwfgt-page .dwfgt-page-deck{
  max-width:760px;
  margin:0;
  color:var(--dwfgt-ink);
  font-family:Arial,Helvetica,sans-serif;
  font-size:clamp(19px,2.1vw,26px);
  font-weight:800;
  letter-spacing:-.025em;
  line-height:1.05;
}
.dwfgt-page .dwfgt-page-intro{
  max-width:760px;
  margin:10px 0 0;
  color:var(--dwfgt-muted);
  font-family:Arial,Helvetica,sans-serif;
  font-size:15px;
  line-height:1.45;
}
.dwfgt-page.dwfgt-page--no-logo .dwfgt-logo-icon,
.dwfgt-page .dwfgt-page-header--no-logo .dwfgt-logo-icon,
.dwfgt-page.dwfgt-page--no-logo .dwfgt-page-header__icon,
.dwfgt-page .dwfgt-page-header--no-logo .dwfgt-page-header__icon,
.dwfgt-page.dwfgt-page--no-logo .dwfgt-page-quote,
.dwfgt-page .dwfgt-page-header--no-logo .dwfgt-page-quote{
  display:none!important;
}
.dwfgt-page.dwfgt-page--glossary-term .dwfgt-page-quote,
.dwfgt-page.dwfgt-page--glossary-term .dwfgt-logo-icon,
.dwfgt-page.dwfgt-page--glossary-term .dwfgt-page-header__icon{
  display:none!important;
}
@media(max-width:760px){
  .dwfgt-page .dwfgt-page-header{
    grid-template-columns:1fr;
    gap:22px;
  }
  .dwfgt-page .dwfgt-logo-title{
    font-size:clamp(38px,13vw,58px);
  }
}


/* 3.3.97-dev: visitor-facing State Voting Resources finder.
   Replaces setup instructions with an accessible selector and rendered resource panels. */
.dwf-voting-resource-finder{
  border:1px solid var(--dwfgt-rule,#ddd7cf);
  border-radius:16px;
  padding:clamp(18px,3vw,34px);
  background:#fff;
  box-shadow:0 18px 40px rgba(20,20,20,.045);
  margin:clamp(18px,3vw,36px) 0;
}
.dwf-voting-resource-finder__control{
  display:grid;
  grid-template-columns:minmax(180px,.35fr) minmax(220px,1fr);
  gap:14px 22px;
  align-items:center;
  border-bottom:1px solid var(--dwfgt-rule,#ddd7cf);
  padding-bottom:clamp(14px,2vw,22px);
  margin-bottom:clamp(16px,2.5vw,28px);
}
.dwf-voting-resource-finder__control label{
  color:var(--dwfgt-rust,#8b2236);
  font-family:Arial,Helvetica,sans-serif;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.18em;
  line-height:1.1;
  text-transform:uppercase;
}
.dwf-voting-resource-finder__select{
  width:100%;
  max-width:520px;
  min-height:46px;
  border:1px solid var(--dwfgt-rule,#ddd7cf);
  border-radius:10px;
  padding:0 14px;
  background:#fff;
  color:var(--dwfgt-ink,#141414);
  font-family:Arial,Helvetica,sans-serif;
  font-size:1rem;
  font-weight:800;
}
.dwf-voting-resource-finder__empty,
.dwf-voting-resource-finder__fallback{
  color:var(--dwfgt-muted,#55514d);
  font-family:Arial,Helvetica,sans-serif;
  font-size:1rem;
  line-height:1.55;
}
.dwf-voting-resource-finder__panel h2{
  margin:0 0 16px;
  color:var(--dwfgt-ink,#141414);
  font-family:Arial,Helvetica,sans-serif;
  font-size:clamp(24px,3vw,38px);
  font-weight:900;
  letter-spacing:-.04em;
  line-height:1;
}
.dwf-voting-resource-finder__links{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:10px 18px;
  margin-top:18px;
}
.dwf-voting-resource-finder__links a{
  display:block;
  position:relative;
  border-bottom:1px solid var(--dwfgt-rule,#ddd7cf);
  padding:.72rem 1.8rem .72rem 0;
  color:var(--dwfgt-ink,#141414);
  font-family:Arial,Helvetica,sans-serif;
  font-weight:900;
  line-height:1.15;
  text-decoration:none!important;
}
.dwf-voting-resource-finder__links a::after{
  content:'→';
  position:absolute;
  right:.25rem;
  color:var(--dwfgt-rust,#8b2236);
}
.dwf-voting-resource-finder__code,
.dwf-voting-resource-finder__noscript{
  margin-top:16px;
  color:var(--dwfgt-muted,#55514d);
  font-size:.92rem;
}
@media(max-width:760px){
  .dwf-voting-resource-finder__control{
    grid-template-columns:1fr;
  }
}


/* 3.3.105-dev: public rendering cleanup for state tabs, voting integration, and faint lines. */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-gov-polished__cards,
.dwf-state-page-full .dwf-state-branch-card-grid,
.dwf-generated-state-page .dwf-state-gov-polished__cards,
.dwf-generated-state-page .dwf-state-branch-card-grid{
    grid-template-columns:1fr!important;
} */
/* -- superseded, merged into the later definition of this same selector further down: .dwf-state-page-full .dwf-state-branch-card,
.dwf-generated-state-page .dwf-state-branch-card{
    border-left:0!important;
    border-right:0!important;
    border-bottom:0!important;
    border-radius:0!important;
} */
.dwf-state-page-full .dwf-state-gov-polished__links,
.dwf-generated-state-page .dwf-state-gov-polished__links{
    border-top:0!important;
}
.dwf-state-page-full .dwf-state-member-card,
.dwf-state-page-full .dwf-state-member-list li,
.dwf-generated-state-page .dwf-state-member-card,
.dwf-generated-state-page .dwf-state-member-list li{
    border-left:0!important;
    border-right:0!important;
    border-top:0!important;
    border-radius:0!important;
    box-shadow:none!important;
}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__header,
.dwf-member-profile__card{background:#fff;border:1px solid #e5e7eb;border-radius:0!important;box-shadow:none!important;border-left:0!important;border-right:0!important}
.dwf-core-voting-tab-fallback{
    max-width:980px;
    margin:0 auto;
    padding:clamp(24px,4vw,44px) 0;
}
.dwf-core-voting-tab-fallback__kicker{
    margin:0 0 .7rem;
    color:var(--dwf-profile-rust,#8b2236);
    font-size:.76rem;
    font-weight:900;
    letter-spacing:.18em;
    text-transform:uppercase;
}
.dwf-core-voting-tab-fallback h2{
    margin:0 0 .8rem!important;
    font-size:clamp(2rem,4vw,3.5rem)!important;
    line-height:.96!important;
    letter-spacing:-.055em!important;
}
.dwf-core-voting-tab-fallback p:not(.dwf-core-voting-tab-fallback__kicker){
    max-width:760px;
    margin:0 0 1.25rem;
    color:var(--dwf-profile-muted,#514d47);
    font-size:1.05rem;
    line-height:1.55;
}
.dwf-core-voting-tab-fallback__links{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:.65rem 1rem;
}
.dwf-core-voting-tab-fallback__links a{
    display:block;
    padding:.75rem 0;
    color:var(--dwf-profile-rust,#8b2236)!important;
    font-weight:900;
    text-decoration:none!important;
}
.dwf-state-page-full .dwfv-state-tab,
.dwf-generated-state-page .dwfv-state-tab{
    width:100%;
    max-width:980px;
    margin:0 auto!important;
    padding:0!important;
}
.dwf-state-page-full .dwfv-state-tab-lookup-form,
.dwf-generated-state-page .dwfv-state-tab-lookup-form{
    display:grid!important;
    gap:11px!important;
}
.dwf-state-page-full .dwfv-state-tab-form-line--details,
.dwf-generated-state-page .dwfv-state-tab-form-line--details{
    display:grid!important;
    grid-template-columns:1.35fr .55fr .7fr!important;
    gap:10px!important;
}
.dwf-state-page-full .dwfv-state-tab-lookup-form label,
.dwf-generated-state-page .dwfv-state-tab-lookup-form label{
    display:grid!important;
    gap:5px!important;
    font-size:.74rem!important;
    font-weight:900!important;
}
.dwf-state-page-full .dwfv-state-tab-lookup-form input,
.dwf-generated-state-page .dwfv-state-tab-lookup-form input{
    width:100%!important;
    min-height:40px!important;
    border:0!important;
    background:#f6f3ef!important;
    padding:9px 10px!important;
    font:inherit!important;
    box-sizing:border-box!important;
}
.dwf-state-page-full .dwfv-state-tab-lookup-form button,
.dwf-generated-state-page .dwfv-state-tab-lookup-form button{
    width:100%!important;
    min-height:42px!important;
    border:0!important;
    background:#a6422b!important;
    color:#fff!important;
    text-transform:uppercase!important;
    letter-spacing:.08em!important;
    font-size:.78rem!important;
    font-weight:900!important;
    cursor:pointer!important;
}
@media(max-width:700px){
    .dwf-state-page-full .dwfv-state-tab-form-line--details,
    .dwf-generated-state-page .dwfv-state-tab-form-line--details{grid-template-columns:1fr!important;}
}


/* 3.3.113-dev: screenshot-test fixes for state pages and public member profiles. */
.single-dwf_congress_member .dwf-member-profile-editor-summary,
.dwf-civic-member-profile-template .dwf-member-profile-editor-summary,
.dwf-member-profile-editor-summary[hidden]{
  display:none!important;
}
.dwf-state-page-full .dwf-state-profile-header--rep-style .dwf-member-profile__header,
.dwf-generated-state-page .dwf-state-profile-header--rep-style .dwf-member-profile__header{
  display:block!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  margin:0 0 clamp(22px,3vw,34px)!important;
  background:transparent!important;
}
.dwf-state-page-full .dwf-state-profile-header--rep-style .dwf-state-profile-header__intro,
.dwf-generated-state-page .dwf-state-profile-header--rep-style .dwf-state-profile-header__intro{
  margin:0 0 clamp(22px,3vw,36px)!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.dwf-state-page-full .dwf-state-header-facts--snapshot,
.dwf-generated-state-page .dwf-state-header-facts--snapshot{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
  width:100%!important;
  max-width:none!important;
  margin:0 0 clamp(28px,4vw,46px)!important;
  border-top:1px solid var(--dwf-profile-rule,#ded8cf)!important;
  border-bottom:0!important;
  border-left:0!important;
  border-right:0!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.dwf-state-page-full .dwf-state-header-facts--snapshot .dwf-state-header-fact,
.dwf-generated-state-page .dwf-state-header-facts--snapshot .dwf-state-header-fact{
  position:relative!important;
  min-height:132px!important;
  padding:26px 28px 24px!important;
  border:0!important;
  border-right:0!important;
  border-left:1px solid var(--dwf-profile-rule,#ded8cf)!important;
  background:#fff!important;
  overflow:hidden!important;
  text-align:center!important;
}
.dwf-state-page-full .dwf-state-header-facts--snapshot .dwf-state-header-fact:first-child,
.dwf-generated-state-page .dwf-state-header-facts--snapshot .dwf-state-header-fact:first-child{border-left:0!important;}
.dwf-state-page-full .dwf-state-header-facts--snapshot .dwf-state-header-fact:last-child,
.dwf-generated-state-page .dwf-state-header-facts--snapshot .dwf-state-header-fact:last-child{border-right:0!important;}
/* 2026-07-22: the left rust accent bar (:before) removed -- per direct
   instruction, this stat strip should match the plain numeric strip
   already used on Congress/House/Senate pages (no box/border treatment,
   centered), not the boxed-with-accent-bar style. Content (which facts
   appear here) is unchanged, only the visual treatment. */
.dwf-state-page-full .dwf-state-header-facts--snapshot .dwf-state-header-fact__label,
.dwf-generated-state-page .dwf-state-header-facts--snapshot .dwf-state-header-fact__label{
  display:block!important;margin:0 0 .55rem!important;color:var(--dwf-profile-ink,#141414)!important;font-size:11px!important;font-weight:900!important;letter-spacing:.16em!important;line-height:1.1!important;text-transform:uppercase!important;
}
.dwf-state-page-full .dwf-state-header-facts--snapshot .dwf-state-header-fact__value,
.dwf-generated-state-page .dwf-state-header-facts--snapshot .dwf-state-header-fact__value{
  display:block!important;margin:0!important;color:var(--dwf-profile-ink,#141414)!important;font-size:clamp(26px,2.6vw,3.2rem)!important;line-height:1.02!important;letter-spacing:-.03em!important;font-weight:900!important;
}
.dwf-state-page-full .dwf-state-header-facts--snapshot .dwf-state-header-fact__value{white-space:normal!important;}
.dwf-state-page-full .dwf-state-addon-tabs .dwf-state-gov-polished__cards,
.dwf-state-page-full .dwf-state-addon-tabs .dwf-state-branch-card-grid,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-state-gov-polished__cards,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-state-branch-card-grid{
  display:grid!important;grid-template-columns:1fr!important;gap:clamp(14px,2vw,22px)!important;
}
.dwf-state-page-full .dwf-state-addon-tabs .dwf-state-branch-card,
.dwf-generated-state-page .dwf-state-addon-tabs .dwf-state-branch-card{
  display:block!important;width:100%!important;border-left:0!important;border-right:0!important;border-bottom:0!important;border-radius:0!important;
}
@media(max-width:900px){
  .dwf-state-page-full .dwf-state-header-facts--snapshot,
  .dwf-generated-state-page .dwf-state-header-facts--snapshot{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .dwf-state-page-full .dwf-state-header-facts--snapshot .dwf-state-header-fact:nth-child(odd),
  .dwf-generated-state-page .dwf-state-header-facts--snapshot .dwf-state-header-fact:nth-child(odd){border-left:0!important;}
  .dwf-state-page-full .dwf-state-header-facts--snapshot .dwf-state-header-fact:nth-child(-n+2),
  .dwf-generated-state-page .dwf-state-header-facts--snapshot .dwf-state-header-fact:nth-child(-n+2){border-bottom:1px solid var(--dwf-profile-rule,#ded8cf)!important;}
}
@media(max-width:640px){
  .dwf-state-page-full .dwf-state-header-facts--snapshot,
  .dwf-generated-state-page .dwf-state-header-facts--snapshot{grid-template-columns:1fr!important;}
  .dwf-state-page-full .dwf-state-header-facts--snapshot .dwf-state-header-fact,
  .dwf-generated-state-page .dwf-state-header-facts--snapshot .dwf-state-header-fact{border-left:0!important;border-bottom:1px solid var(--dwf-profile-rule,#ded8cf)!important;}
  .dwf-state-page-full .dwf-state-header-facts--snapshot .dwf-state-header-fact:last-child,
  .dwf-generated-state-page .dwf-state-header-facts--snapshot .dwf-state-header-fact:last-child{border-bottom:0!important;}
}


/* 2026-07-05 fresh-start fix: the previous "family-rule header pass" hardcoded
   a rust italic serif style with !important onto the member/state name heading,
   which fought the active theme's own typography (the "red script" font seen
   in testing). Per the fresh-start design principle -- the theme owns fonts and
   colors; the plugin only owns structural shape -- this keeps sizing/spacing
   only and drops font-family, font-style, font-weight, and color entirely so
   the active theme's heading styles apply, same as the write-once generator
   already does. */
/* merged from 3 historical duplicate definitions of this selector in this file/context */
.dwf-member-profile__intro h1,
.dwf-member-profile__intro h2{margin:0 0 clamp(14px,2vw,24px);font-size:clamp(44px,5.4vw,74px);line-height:.95;max-width:min(860px,100%);letter-spacing:-.07em}


/* 3.3.118 scoped tab and profile cleanup. */
.dwf-civic-tabs.is-dwf-tabs-enhanced .dwf-civic-tab-panel:not(.is-active),
.dwf-civic-tabs.is-dwf-tabs-enhanced .dwf-civic-tabs__panel:not(.is-active){display:none!important;}
.dwf-civic-tabs:not(.is-dwf-tabs-enhanced) .dwf-civic-tab-panel,
.dwf-civic-tabs:not(.is-dwf-tabs-enhanced) .dwf-civic-tabs__panel{display:block!important;margin-bottom:clamp(18px,3vw,30px)!important;}
.dwf-state-page-full .dwf-civic-tabs--state .dwf-civic-tab-panel,
.dwf-state-page-full .dwf-civic-tabs--state .dwf-civic-tabs__panel{grid-column:2!important;}


/* 3.3.122: final state-page visual cleanup and single add-on normalization. */
.dwf-state-page-full .dwf-civic-single-addon-section,
.dwf-generated-state-page .dwf-civic-single-addon-section{
  max-width:1200px!important;
  width:100%!important;
  margin:clamp(28px,4vw,48px) auto 0!important;
  padding:0 0 clamp(22px,3vw,38px)!important;
  border-top:0!important;
}
/* merged from 3 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-state-addon-tabs,
.dwf-generated-state-page .dwf-state-addon-tabs{max-width:1200px!important;width:100%!important;margin:clamp(28px,4vw,48px) auto 0!important;padding-top:clamp(20px,3vw,32px)!important;border-top:0!important;padding-bottom:clamp(22px,3vw,38px)!important}
.dwf-state-page-full .dwf-state-member-card,
.dwf-generated-state-page .dwf-state-member-card,
.dwf-state-page-full .dwf-state-member-card:last-child,
.dwf-generated-state-page .dwf-state-member-card:last-child{
  border-top:0!important;
  border-bottom:0!important;
}
.dwf-state-page-full .dwf-state-member-photo-link,
.dwf-generated-state-page .dwf-state-member-photo-link{
  border:0!important;
  box-shadow:none!important;
}
.dwf-state-page-full .dwf-state-member-grid,
.dwf-generated-state-page .dwf-state-member-grid{
  border:0!important;
}
.dwf-state-page-full .dwf-state-gov-polished__header,
.dwf-generated-state-page .dwf-state-gov-polished__header{
  align-items:start!important;
}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-state-gov-polished__cards,
.dwf-state-page-full .dwf-state-branch-card-grid,
.dwf-generated-state-page .dwf-state-gov-polished__cards,
.dwf-generated-state-page .dwf-state-branch-card-grid{grid-template-columns:1fr!important;gap:clamp(16px,2vw,24px)!important}
/* merged from 2 historical duplicate definitions of this selector in this file/context */
.dwf-state-page-full .dwf-state-branch-card,
.dwf-generated-state-page .dwf-state-branch-card{border-left:0!important;border-right:0!important;border-bottom:0!important;border-radius:0!important;padding:clamp(18px,2.2vw,28px) 0!important}

/* Congress member profile: photo + name row. Structural only (layout, photo
   shape) -- deliberately no font-family/color overrides here, since these
   profile pages are meant to let the active theme's own typography and
   colors carry through, unlike the shortcode's own separate renderer. */
.dwf-rep-profile__identity{
  display:flex;
  align-items:center;
  gap:1.5rem;
  flex-wrap:wrap;
  margin-bottom:1.25rem;
}
.dwf-rep-profile__photo{
  width:140px;
  height:140px;
  object-fit:cover;
  border-radius:999px;
  flex:0 0 auto;
}
.dwf-rep-profile__name{
  margin:0;
}

/* 2026-07-22: state-page House delegation column count. Appended at the
   end of this file deliberately -- .dwf-state-member-grid--house has
   several competing redefinitions earlier in this same file from
   different passes (a known, previously-flagged tangle in this specific
   area). Rather than guess which one wins the cascade, this uses a
   compound two-class selector, which beats any single-class
   .dwf-state-member-grid--house rule on specificity alone, regardless of
   source order -- so it reliably wins without touching or untangling the
   older rules. A House delegation of exactly 2 members matches the
   Senate's 2-column spacing; anything else uses 3 columns per row. */
.dwf-state-member-grid--house.dwf-state-member-grid--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.dwf-state-member-grid--house.dwf-state-member-grid--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
@media (max-width: 800px) {
  .dwf-state-member-grid--house.dwf-state-member-grid--cols-2,
  .dwf-state-member-grid--house.dwf-state-member-grid--cols-3 { grid-template-columns: 1fr !important; }
}

/* 1.2.22 (9/28/26): state pages aligned with the page title (Eric, Utah
   screenshot: "width issue"). Several older rules still capped inner state
   wrappers at 1040px and centered them, so the body sat ~80px in from the
   theme's title on wide screens. Per the project rule that the theme owns
   page width (a hardcoded max-width in plugin CSS is a bug), the inner
   wrappers now simply fill the width the theme gives the page. */
.dwf-state-page-full .dwf-civic-container,
.dwf-state-page-full .dwf-civic-layout,
.dwf-state-page-full .dwf-state-legacy-overview,
.dwf-state-page-full .dwf-state-rep-section,
.dwf-state-legacy-overview,
.dwf-state-rep-section{max-width:none;margin-left:0;margin-right:0}
.dwf-state-page-full .dwf-civic-container{padding-left:0;padding-right:0}


/* 1.2.50 (Grok MV, 2026-10-29): state pages use the same member-card format as
   Find Your Representatives (findreps.png). The --state layout keeps the
   84px round photo, chamber label, and meta that the public lookup shows,
   while the grid still fits the beige delegation band. */
.dwf-state-member-grid .dwf-congress-member-card--state {
    min-height: 120px;
    align-items: flex-start;
}
.dwf-state-member-grid .dwf-congress-member-card--state .dwf-congress-member-card__photo {
    width: 84px;
    height: 84px;
    border-radius: 999px;
}
.dwf-state-member-grid .dwf-congress-member-card--state .dwf-congress-member-card__chamber {
    margin-bottom: .15rem;
}
@media (max-width: 800px) {
    .dwf-state-member-grid .dwf-congress-member-card--state {
        flex-direction: row;
    }
}

/* Admin feedback 2026-11-01: notices above chrome, no mid-page green bar */
.lumen-app > .notice,
.lumen-app > .dwfct-page-notice,
.wrap.lumen-app > .notice {
  margin: 0 0 1rem !important;
  order: -1;
}
.lumen-app {
  display: flex;
  flex-direction: column;
}
.lumen-header {
  order: 0;
}
.lumen-notice-slot {
  order: -1;
}
.dwfct-page-notice {
  border-left: 4px solid #9C2140;
  background: #fff;
  padding: 0.75rem 1rem;
  margin: 0 0 1rem;
  box-shadow: none;
}
.dwfct-page-notice-success {
  border-left-color: #2e7d32;
}
.dwfct-page-notice p {
  margin: 0;
}
.dwfct-work-data-notice {
  border-left-color: #d97706;
}
