:root { --theme:#0d5bb8; }
.ls-full-width { width:100%; max-width:none; margin:0 auto; padding:0 20px; }
.ls-weighted { width:100%; min-width:0; }

  /* Stats bar */
  .stats-bar { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:24px; }
  .stat-box { flex:1; min-width:130px; background:#f0f4ff; border:1px solid #c7d8f5; border-radius:8px; padding:16px 18px; text-align:center; }
  .stat-box .stat-label { font-size:11px; text-transform:uppercase; letter-spacing:1px; color:var(--theme); font-weight:700; margin-bottom:6px; }
  .stat-box .stat-value { font-size:22px; font-weight:700; color:#111827; }
  .stat-box .stat-sub { font-size:11px; color:#9ca3af; margin-top:2px; }

  /* Filters */
  .filter-bar { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:16px; align-items:center; }
  .filter-bar input[type=text], .filter-bar select { padding:9px 12px; font-size:13px; border:1px solid #d1d9e0; border-radius:6px; background:#fff; color:#111827; transition:border-color .2s; }
  .filter-bar input[type=text]:focus, .filter-bar select:focus { outline:none; border-color:var(--theme); box-shadow:0 0 0 3px rgba(13,91,184,.08); }
  .filter-bar input[type=text] { min-width:220px; flex:1; }
  .filter-bar select { min-width:200px; }

  /* Practice table */
  .practice-table { width:100%; border-collapse:collapse; font-size:13px; }
  .practice-table th { font-size:11px; text-transform:uppercase; letter-spacing:0.6px; color:#6b7c85; background:#f8fafc; padding:10px 12px; text-align:left; border-bottom:2px solid #e8edf2; white-space:nowrap; font-weight:700; }
  .practice-table th[data-sort] { cursor:pointer; user-select:none; }
  .practice-table th[data-sort]:hover { background:#f0f4ff; color:var(--theme); }
  .practice-table td { padding:9px 12px; border-bottom:1px solid #f1f5f9; vertical-align:middle; color:#374151; }
  .practice-table tr:last-child td { border-bottom:none; }
  .practice-table tr:hover td { background:#f8fafc; }
  .practice-table .num { text-align:right; font-variant-numeric:tabular-nums; }

  .results-count { font-size:12px; color:#9ca3af; margin-bottom:8px; }

  /* Regional table */
  .regional-table { width:100%; border-collapse:collapse; font-size:13px; }
  .regional-table th { font-size:11px; text-transform:uppercase; letter-spacing:0.6px; color:#6b7c85; background:#f8fafc; padding:10px 12px; border-bottom:2px solid #e8edf2; font-weight:700; }
  .regional-table td { padding:9px 12px; border-bottom:1px solid #f1f5f9; color:#374151; }
  .regional-table tr:last-child td { border-bottom:none; }
  .regional-table tr:hover td { background:#f8fafc; }

  /* Tabs */
  .view-tabs { display:flex; gap:0; margin-bottom:20px; border-bottom:2px solid #e8edf2; }
  .view-tab { background:none; border:none; border-bottom:3px solid transparent; padding:10px 22px; font-size:13px; font-weight:600; color:#6b7c85; cursor:pointer; margin-bottom:-2px; transition:color .15s, border-color .15s; letter-spacing:0.3px; }
  .view-tab:hover { color:#111827; }
  .view-tab.active { color:var(--theme); border-bottom-color:var(--theme); }
  .tab-badge { display:inline-block; background:#f0f4ff; color:var(--theme); font-size:11px; font-weight:700; padding:1px 7px; border-radius:10px; margin-left:6px; vertical-align:middle; }
  .view-tab.active .tab-badge { background:var(--theme); color:#fff; }

  /* Loading */
  #loading-state { text-align:center; padding:48px 24px; color:#9ca3af; }
  .spinner-ring { display:inline-block; width:32px; height:32px; border:3px solid #e8edf2; border-top-color:var(--theme); border-radius:50%; animation:spin .8s linear infinite; margin-bottom:12px; }
  @keyframes spin { to { transform:rotate(360deg); } }
  #api-error { display:none; background:#fff3f3; border:1px solid #fca5a5; border-radius:6px; padding:12px 16px; font-size:14px; color:#dc2626; margin-bottom:16px; }

  /* Section head */
  .ls-section-head { font-size:16px; font-weight:700; color:#111827; margin-bottom:16px; padding-bottom:12px; border-bottom:1px solid #e8edf2; }
  .ls-attribution { background:#f0f4ff; border-left:4px solid var(--theme); border-radius:0 6px 6px 0; padding:14px 18px; font-size:13px; color:#555; margin-bottom:20px; }
  .ls-crosslink { background:#f8fafc; border:1px solid #e8edf2; border-radius:8px; padding:12px 18px; margin-bottom:24px; font-size:13px; color:#4b5563; }
  .ls-crosslink a { color:var(--theme); font-weight:600; }


  /* Stats bar */
  .stats-bar { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:24px; }
  .stat-box { flex:1; min-width:130px; background:#f0f4ff; border:1px solid #c7d8f5; border-radius:8px; padding:16px 18px; text-align:center; }
  .stat-box .stat-label { font-size:11px; text-transform:uppercase; letter-spacing:1px; color:var(--theme); font-weight:700; margin-bottom:6px; }
  .stat-box .stat-value { font-size:22px; font-weight:700; color:#111827; }
  .stat-box .stat-sub { font-size:11px; color:#9ca3af; margin-top:2px; }

  /* Filters */
  .filter-bar { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:16px; align-items:center; }
  .filter-bar input[type=text], .filter-bar select { padding:9px 12px; font-size:13px; border:1px solid #d1d9e0; border-radius:6px; background:#fff; color:#111827; transition:border-color .2s; }
  .filter-bar input[type=text]:focus, .filter-bar select:focus { outline:none; border-color:var(--theme); box-shadow:0 0 0 3px rgba(13,91,184,.08); }
  .filter-bar input[type=text] { min-width:240px; flex:1; }
  .filter-bar select { min-width:200px; }

  /* PCN table */
  .pcn-table { width:100%; border-collapse:collapse; font-size:13px; }
  .pcn-table th { font-size:11px; text-transform:uppercase; letter-spacing:0.6px; color:#6b7c85; background:#f8fafc; padding:10px 12px; text-align:left; border-bottom:2px solid #e8edf2; white-space:nowrap; font-weight:700; }
  .pcn-table th[data-sort] { cursor:pointer; user-select:none; }
  .pcn-table th[data-sort]:hover { background:#f0f4ff; color:var(--theme); }
  .pcn-table td { padding:9px 12px; border-bottom:1px solid #f1f5f9; vertical-align:middle; color:#374151; }
  .pcn-table tr:last-child td { border-bottom:none; }
  .pcn-table tr:hover td { background:#f8fafc; }
  .pcn-table .num { text-align:right; font-variant-numeric:tabular-nums; }

  .results-count { font-size:12px; color:#9ca3af; margin-bottom:8px; }

  /* Regional table */
  .regional-table { width:100%; border-collapse:collapse; font-size:13px; }
  .regional-table th { font-size:11px; text-transform:uppercase; letter-spacing:0.6px; color:#6b7c85; background:#f8fafc; padding:10px 12px; border-bottom:2px solid #e8edf2; font-weight:700; }
  .regional-table td { padding:9px 12px; border-bottom:1px solid #f1f5f9; color:#374151; }
  .regional-table tr:last-child td { border-bottom:none; }
  .regional-table tr:hover td { background:#f8fafc; }

  /* Tabs */
  .view-tabs { display:flex; gap:0; margin-bottom:20px; border-bottom:2px solid #e8edf2; }
  .view-tab { background:none; border:none; border-bottom:3px solid transparent; padding:10px 22px; font-size:13px; font-weight:600; color:#6b7c85; cursor:pointer; margin-bottom:-2px; transition:color .15s, border-color .15s; letter-spacing:0.3px; }
  .view-tab:hover { color:#111827; }
  .view-tab.active { color:var(--theme); border-bottom-color:var(--theme); }
  .tab-badge { display:inline-block; background:#f0f4ff; color:var(--theme); font-size:11px; font-weight:700; padding:1px 7px; border-radius:10px; margin-left:6px; vertical-align:middle; }
  .view-tab.active .tab-badge { background:var(--theme); color:#fff; }

  /* Loading */
  #loading-state { text-align:center; padding:48px 24px; color:#9ca3af; }
  .spinner-ring { display:inline-block; width:32px; height:32px; border:3px solid #e8edf2; border-top-color:var(--theme); border-radius:50%; animation:spin .8s linear infinite; margin-bottom:12px; }
  @keyframes spin { to { transform:rotate(360deg); } }
  #api-error { display:none; background:#fff3f3; border:1px solid #fca5a5; border-radius:6px; padding:12px 16px; font-size:14px; color:#dc2626; margin-bottom:16px; }

  /* Section head */
  .ls-section-head { font-size:16px; font-weight:700; color:#111827; margin-bottom:16px; padding-bottom:12px; border-bottom:1px solid #e8edf2; }
  .ls-attribution { background:#f0f4ff; border-left:4px solid var(--theme); border-radius:0 6px 6px 0; padding:14px 18px; font-size:13px; color:#555; margin-bottom:20px; }
  .ls-crosslink { background:#f8fafc; border:1px solid #e8edf2; border-radius:8px; padding:12px 18px; margin-bottom:24px; font-size:13px; color:#4b5563; }
  .ls-crosslink a { color:var(--theme); font-weight:600; }

.ls-style-1 {font-size:14px;margin:0;}
.ls-style-2 {display:none;}
.ls-style-3 {margin-bottom:28px;}
.ls-style-4 {overflow-x:auto;}
.ls-style-5 {text-align:right;}
.ls-style-6 {display:none;margin-bottom:28px;}
.ls-style-7 {font-size:14px;color:#4b5563;margin-bottom:16px;line-height:1.7;}
.ls-style-8 {text-align:center;}
.ls-style-9 {background:#f8fafc;}
.ls-style-10 {margin-bottom:16px;}
.ls-style-11 {font-size:14px;font-weight:700;color:#111827;margin-bottom:6px;}
.ls-style-12 {font-size:13px;color:#4b5563;margin:0;line-height:1.6;}

@media(max-width:768px){.ls-full-width{padding:0 12px}.ls-weighted table{display:block;overflow-x:auto;white-space:nowrap}}

.ls-js-style-1 {text-align:center;color:#999;padding:24px;font-style:italic;}
.ls-js-style-2 {font-weight:600;color:#1a2a3b;}
.ls-js-style-3 {font-size:12px;color:#888;}
.ls-js-style-4 {color:#ccc}
.ls-js-style-5 {font-size:12px;}
.ls-js-style-6 {text-align:right;}
.ls-js-style-7 {font-weight:600;}
.ls-js-style-8 {text-align:center;}
.ls-js-style-9 {color:#aaa;font-size:11px;margin-left:6px;}
.ls-weighted .section-padding { padding:24px 0 64px; }
.ls-weighted .row { display:flex; flex-wrap:wrap; gap:16px; }
.ls-weighted .col-12 { width:100%; min-width:0; }
.ls-weighted .col-md-4 { flex:1 1 220px; min-width:0; }
.ls-weighted .haresign-tool-card { background:#fff; border:1px solid #e6ebf1; border-radius:10px; padding:20px 22px; min-width:0; }
.ls-weighted .practice-table,.ls-weighted .pcn-table,.ls-weighted .regional-table { min-width:700px; }
@media(max-width:768px){.ls-weighted .section-padding{padding:12px 0 48px}.ls-weighted .haresign-tool-card{padding:14px}}
