/* Topic-specific layouts only; shared components live in components.css. */
.stats-bar{background: var(--white); border: 1px solid var(--border);
      border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
      padding: 18px 24px; display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
      margin-bottom: 28px;}
.stat-item{padding: 0 22px; border-right: 1px solid var(--border-light); text-align: center;}
.stat-item:first-child{padding-left: 0;}
.stat-item:last-child{border-right: none; padding-right: 0;}
.stat-desc{font-size:12px; color: var(--text-muted); font-weight: 600;}
.stat-change{font-family: var(--font-head); font-size:12px; font-weight: 600; margin-top: 2px;}
.stat-change.up{color: var(--green);}
.stat-change.down{color: var(--red);}
.bill-stage-inline{font-size:12px; font-weight: 600; color: var(--text-muted); letter-spacing: .02em; white-space: nowrap;}
.bill-meta-item{display: flex; align-items: center; gap: 4px;}
.bill-stages-grid{display: flex; gap: 8px; margin-top: 10px; font-size:12px; align-items: center;}
.bill-stage-house{flex: 1; background: #fff; border: 1px solid var(--border-light); 
      border-radius: 6px; padding: 8px 10px;}
.bill-stage-house-title{font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; font-size:12px; text-align: center;}
.bill-stages-arrow{color: var(--text-muted); font-size:14px; opacity: 0.6; flex-shrink: 0;}
.bill-stage-circles{display: flex; gap: 4px; justify-content: center;}
.bill-stage-circle{width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border-light);
      background: #fff; display: flex; align-items: center; justify-content: center;
      font-size:12px; color: var(--text-muted);}
.bill-stage-circle.complete{background: #e8f5e9; border-color: #2e7d32; color: #2e7d32;}
.bill-stage-circle.active{background: var(--accent); border-color: var(--accent); color: #fff;
      box-shadow: 0 0 0 2px rgba(10, 88, 202, 0.15);}
.bill-substage{font-size:12px; color: var(--text-muted); font-weight: 500; margin-top: 2px;}
.bill-bottom{display: block; margin-bottom: 9px; line-height: 1.5;}
.bill-stage-tag{font-size:12px; font-weight: 600; color: var(--text-secondary);
      text-transform: capitalize; letter-spacing: 0.02em;
      display: inline; margin-right: 8px;}
.bill-stage-tag::after{content: '·';
      margin-left: 6px;
      color: var(--text-muted);
      font-weight: 400;
      font-size:14px;}
.mp-grid{display:grid; grid-template-columns:1fr 1fr; gap:0;}
.mp-card{padding:14px 16px; border-bottom:1px solid var(--border-light); border-right:1px solid var(--border-light); display:flex; flex-direction:column; gap:8px; transition:background .15s;}
.mp-card:hover{background:var(--off-white);}
.mp-card:nth-child(2n){border-right:none;}
.mp-card:nth-last-child(-n+2){border-bottom:none;}
.mp-card-top{display:flex; align-items:center; gap:10px;}
.mp-avatar{width:36px; height:36px; border-radius:50%; color:#fff; font-family:var(--font-head); font-size:12px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; border:2px solid;}
.mp-card-info{flex:1; min-width:0;}
.mp-name{font-family:var(--font-head); font-size:13px; font-weight:700; color:var(--text-primary); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.mp-role{font-size:12px; color:var(--text-muted); font-weight:500; margin-top:1px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.mp-party-dot{width:7px; height:7px; border-radius:50%; flex-shrink:0;}
.mp-sub{font-size:12px; color:var(--text-muted); font-weight:500;}
.mp-card-links{display:flex; align-items:center; gap:6px; flex-wrap:wrap;}
.mp-link{display:inline-flex; align-items:center; gap:4px; font-family:var(--font-head); font-size:12px; font-weight:700; text-decoration:none; padding:3px 8px; border-radius:4px; border:1px solid transparent; transition:all .15s; white-space:nowrap;}
.mp-link--x{background:#000; color:#fff; border-color:#000;}
.mp-link--x:hover{background:#333;}
.mp-link--parl{background:var(--accent-light); color:var(--accent); border-color:#b8d0f5;}
.mp-link--parl:hover{background:#d0e4fb;}
.mp-tabs{display: flex; gap: 4px; padding: 12px 16px 0;
      border-bottom: 1px solid var(--border-light);
      background: var(--off-white);}
.mp-tab{font-family: var(--font-head); font-size:12px; font-weight: 700;
      padding: 6px 12px; border-radius: 6px 6px 0 0; cursor: pointer;
      border: 1px solid transparent; border-bottom: none;
      color: var(--text-muted); background: transparent; transition: all .15s;}
.mp-tab:hover{color: var(--text-secondary); background: rgba(255,255,255,.6);}
.mp-tab.active{color: var(--accent); background: var(--white);
      border-color: var(--border); border-bottom-color: var(--white);
      margin-bottom: -1px; position: relative; z-index: 1;}
.mp-panel{display: none;}
.mp-panel.active{display: block;}
.x-embed-wrap{padding: 16px;}
.x-embed-note{background: var(--off-white); border: 1px solid var(--border);
      border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 10px;
      font-size:12px; color: var(--text-muted); font-weight: 500;}
.x-embed-note strong{color: var(--text-secondary); font-family: var(--font-head);}
.parl-status{padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px;}
.parl-indicator{display: flex; align-items: center; gap: 10px;}
.parl-dot{width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;}
.parl-dot.sitting{background: var(--green); box-shadow: 0 0 0 3px rgba(26,122,74,.15);}
.parl-dot.recess{background: var(--amber); box-shadow: 0 0 0 3px rgba(180,83,9,.15);}
.parl-dot.prorogued{background: var(--red); box-shadow: 0 0 0 3px rgba(192,57,43,.15);}
.parl-status-text{font-size:14px; font-weight: 700; font-family: var(--font-head);}
.parl-next{font-size:12px; color: var(--text-muted); margin-top: 1px; font-weight: 500;}
.majority-wrap{padding: 18px;}
.party-row{display: flex; align-items: center; gap: 10px; margin-bottom: 7px; font-size:13px;}
.party-name{width: 80px; font-weight: 700; color: var(--text-secondary); flex-shrink: 0; font-family: var(--font-head); font-size:12px;}
.party-bar-bg{flex: 1; height: 7px; background: var(--off-white); border-radius: 4px; overflow: hidden;}
.party-bar-fill{height: 100%; border-radius: 0 4px 4px 0;}
.party-seats{width: 38px; font-family: var(--font-mono); font-size:12px; font-weight: 500; color: var(--text-muted); text-align: right; flex-shrink: 0;}
.majority-label{font-size:12px; color: var(--text-muted); text-align: center; padding-top: 10px; border-top: 1px solid var(--border-light); font-weight: 500;}
.majority-label strong{color: var(--text-secondary); font-family: var(--font-head); font-weight: 700;}
.bills-grid{display: block;}
.bills-grid .bill-item{border-bottom: 1px solid var(--border-light);}
.seats-layout{display: grid; grid-template-columns: 1fr 1.2fr;}
.seats-layout .majority-wrap{border-right: 1px solid var(--border-light);}
.seats-summary{padding: 18px 22px; display: flex; flex-direction: column; justify-content: center; gap: 12px;}
.seats-summary .ss-head{display: flex; flex-direction: column; gap: 3px;}
.seats-summary .ss-party{font-family: var(--font-head); font-size:14px; font-weight: 800; color: var(--text-primary); letter-spacing: -.02em;}
.seats-summary .ss-sub{font-size:12px; color: var(--text-muted);}
.seats-summary .ss-sub strong{color: var(--text-secondary); font-family: var(--font-head);}
.seat-grid{display: grid; grid-auto-flow: column; grid-template-rows: repeat(13, auto); grid-auto-columns: 1fr; gap: 2px;}
.seat-box{width: 100%; aspect-ratio: 1 / 1; border-radius: 2px;}
.seats-summary .ss-foot{font-size:12px; color: var(--text-muted); font-family: var(--font-mono);}
@media (max-width: 700px){.seats-layout{grid-template-columns: 1fr;}
.seats-layout .majority-wrap{border-right: none; border-bottom: 1px solid var(--border-light);}}
.policy-item{padding: 13px 18px; border-bottom: 1px solid var(--border-light);
      display: flex; align-items: center; gap: 12px; transition: background .15s;}
.policy-item:last-child{border-bottom: none;}
.policy-bar-section{position: relative;}
.policy-bar-section::after{content: attr(data-tooltip);
      position: absolute;
      bottom: calc(100% + 12px);
      left: 50%;
      transform: translateX(-50%) translateY(4px);
      background: #1f2937;
      color: #fff;
      padding: 8px 12px;
      border-radius: 6px;
      font-size:12px;
      font-weight: 500;
      white-space: nowrap;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s, transform 0.2s;
      box-shadow: 0 4px 6px -1px rgba(0,0,0,0.2), 0 2px 4px -1px rgba(0,0,0,0.1);
      z-index: 100;}
.policy-bar-section::before{content: '';
      position: absolute;
      bottom: calc(100% + 4px);
      left: 50%;
      transform: translateX(-50%) translateY(4px);
      border: 4px solid transparent;
      border-top-color: #1f2937;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s, transform 0.2s;
      z-index: 100;}
.policy-bar-section:hover::after,.policy-bar-section:hover::before{opacity: 1;
      transform: translateX(-50%) translateY(0);}
.policy-item:hover{background: var(--off-white);}
.policy-status-dot{width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;}
.policy-status-dot.active{background: var(--green);}
.policy-status-dot.pending{background: var(--amber);}
.policy-status-dot.stalled{background: var(--red);}
.policy-text{flex: 1;}
.policy-name{font-size:13px; font-weight: 700; color: var(--text-primary); font-family: var(--font-head);}
.policy-dept{font-size:12px; color: var(--text-muted); margin-top: 1px; font-weight: 500;}
.coming-soon{text-align: center; padding: 30px 22px;
      display: flex; flex-direction: column; align-items: center; gap: 9px;}
.coming-soon-icon{width: 42px; height: 42px; background: var(--off-white);
      border: 1px solid var(--border); border-radius: 11px;
      display: flex; align-items: center; justify-content: center; margin-bottom: 3px;}
.coming-soon-icon svg{width: 19px; height: 19px; stroke: var(--text-muted); fill: none; stroke-width: 1.75;}
.coming-soon h3{font-size:14px; font-weight: 700; color: var(--text-primary);}
.coming-soon p{font-size:12.5px; color: var(--text-muted); max-width: 200px; line-height: 1.5; font-weight: 500;}
.fade-in{animation: fadeUp .5s ease both;}
.fade-in:nth-child(1){animation-delay: .04s;}
.fade-in:nth-child(2){animation-delay: .09s;}
.fade-in:nth-child(3){animation-delay: .14s;}
.fade-in:nth-child(4){animation-delay: .19s;}
.policy-card{padding: 22px 24px;}
.policy-head{display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px;}
.policy-total{font-size:13px; color: var(--text-secondary); font-weight: 600;}
.policy-updated{font-family: var(--font-mono); font-size:12px; color: var(--text-muted); white-space: nowrap;}
.policy-total strong{font-family: var(--font-head); font-weight: 800; color: var(--text-primary); font-size:15px;}
.policy-bar-wrap{display: flex; height: 38px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);}
.policy-bar-wrap .policy-bar-section{height: 100%; transition: filter .15s;}
.policy-bar-wrap .policy-bar-section:first-child{border-radius: 8px 0 0 8px;}
.policy-bar-wrap .policy-bar-section:last-child{border-radius: 0 8px 8px 0;}
.policy-bar-wrap .policy-bar-section:hover{filter: brightness(1.08);}
.policy-legend{display: flex; flex-wrap: wrap; justify-content: center; gap: 11px 20px; margin-top: 18px;}
.pl-item{display: flex; align-items: center; gap: 7px;}
.pl-dot{width: 11px; height: 11px; border-radius: 3px; flex-shrink: 0;}
.pl-count{font-family: var(--font-head); font-weight: 800; font-size:14px; color: var(--text-primary);}
.pl-label{font-size:12px; color: var(--text-secondary); font-weight: 600;}
.policy-foot{margin-top: 16px; text-align: center; font-size:12px; color: var(--text-muted); font-family: var(--font-mono);}
@media (max-width: 600px){.policy-card{padding: 18px 16px;}
.policy-legend{gap: 9px 16px;}}
@media (max-width: 960px){.stats-bar{grid-template-columns: 1fr 1fr; row-gap: 16px;}
.stat-item:nth-child(2){border-right: none;}
.stat-item:nth-child(3){padding-left: 0;}}
@media (max-width: 640px){.stats-bar{grid-template-columns: 1fr 1fr;}
.mp-grid{grid-template-columns: 1fr;}
.mp-card{border-right: none;}
.mp-card:nth-last-child(-n+2){border-bottom: 1px solid var(--border-light);}
.mp-card:last-child{border-bottom: none;}
.bill-stages-grid{display: none;}}
