
:root{--ink:var(--theme-text-primary, #25272c);--muted:var(--theme-text-muted, #777b84);--line:rgba(var(--theme-ink-rgb, 37, 39, 44), 0.12);--line2:rgba(var(--theme-ink-rgb, 37, 39, 44), 0.22);--paper:var(--theme-surface, #fff);--bg:var(--theme-canvas, #f7f8fa);--pink:#ff007f;--pinksoft:rgba(255,0,127,.055);--mono:"JetBrains Mono","SFMono-Regular",Consolas,monospace;--sans:"Space Grotesk",Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--serif:Georgia,"Times New Roman",serif}
*{box-sizing:border-box}html{background:var(--bg);color:var(--ink);font-family:var(--sans)}body{margin:0;background:var(--bg)}button,input,select{font:inherit}.ws-app{width:min(1660px,calc(100% - 40px));margin:0 auto;padding:0 0 72px}.ws-label,label>span{font-family:var(--mono);font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.ws-note{border:1px solid var(--line);border-radius:22px;background:rgba(var(--theme-ink-rgb, 37, 39, 44), 0.022);padding:17px 18px;color:var(--theme-text-soft, #62666e);font-size:11px;line-height:1.55}.ws-toolbar{display:grid;grid-template-columns:minmax(280px,1.4fr) repeat(2,minmax(190px,.45fr));gap:12px;padding:22px 0 16px}.ws-search{height:50px;border:1px solid var(--line2);border-radius:999px;background:var(--theme-surface, #fff);display:flex;align-items:center;padding:0 17px}.ws-search input{width:100%;border:0;outline:0;background:transparent;color:var(--ink)}select{height:50px;border:1px solid var(--line2);border-radius:999px;background:var(--theme-surface, #fff);padding:0 38px 0 15px;color:var(--ink);outline:0}.ws-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:5px 3px 16px;color:var(--muted);font-family:var(--mono);font-size:9px}.ws-summary strong{color:var(--ink)}.ws-reset{border:0;background:none;color:var(--pink);font-family:var(--mono);font-size:9px;font-weight:800;text-transform:uppercase;cursor:pointer}.ws-table-shell{border:1px solid var(--line2);border-radius:22px;overflow:hidden;background:var(--theme-surface, #fff)}.ws-table{width:100%;border-collapse:collapse;table-layout:fixed}.ws-table .source-col-jurisdiction{width:18%}.ws-table .source-col-authority{width:29%}.ws-table .source-col-site{width:25%}.ws-table .source-col-key-date{width:13%}.ws-table .source-col-updated{width:15%}.ws-table th{position:sticky;top:0;z-index:2;background:var(--theme-canvas, #f3f4f6);text-align:left;padding:13px 15px;border-bottom:1px solid var(--line2);color:var(--muted);font-family:var(--mono);font-size:9px;letter-spacing:.09em;text-transform:uppercase}.ws-table td{padding:14px 15px;border-bottom:1px solid rgba(var(--theme-ink-rgb, 37, 39, 44), 0.075);vertical-align:top;font-size:12px}.ws-table tr:last-child td{border-bottom:0}.ws-table tbody tr:hover{background:rgba(var(--theme-ink-rgb, 37, 39, 44), 0.018)}.ws-table strong{display:block;font-size:12px;line-height:1.35}.ws-table small{display:block;margin-top:4px;color:var(--muted);font-size:10px;line-height:1.4}.ws-table a{color:var(--ink);text-decoration:none}.ws-table a:hover{color:var(--pink)}.ws-pill{display:inline-flex;border:1px solid var(--line);border-radius:999px;padding:5px 8px;background:rgba(var(--theme-ink-rgb, 37, 39, 44), 0.018);font-family:var(--mono);font-size:8px;font-weight:800}.ws-muted{color:var(--muted)}.ws-empty{padding:48px 28px;text-align:center}.ws-empty strong{display:block;font-family:var(--serif);font-size:30px}.ws-empty p{max-width:720px;margin:10px auto 0;color:var(--muted);font-size:12px;line-height:1.6}.timeline-list{display:grid;gap:10px}.timeline-year{margin:16px 0 7px;font-family:var(--serif);font-size:32px}.change-card{border:1px solid var(--line2);border-radius:20px;background:var(--theme-surface, #fff);padding:17px 18px}.change-meta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}.change-card h3{margin:0 0 8px;font-size:18px}.change-card p{margin:0;color:var(--theme-text-soft, #62666e);font-size:12px;line-height:1.6}.change-dates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-top:14px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--line)}.change-dates div{background:var(--theme-surface, #fff);padding:10px 12px}.change-dates span{display:block;color:var(--muted);font-family:var(--mono);font-size:8px;text-transform:uppercase}.change-dates strong{display:block;margin-top:4px;font-size:11px}.history-model{margin-top:18px;border:1px solid var(--line);border-radius:20px;padding:18px;background:rgba(var(--theme-ink-rgb, 37, 39, 44), 0.018)}.history-model h2{margin:0 0 8px;font-size:18px}.history-model p{margin:0;color:var(--theme-text-soft, #63676e);font-size:11px;line-height:1.6}.history-fields{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.history-fields span{border:1px solid var(--line);border-radius:999px;padding:6px 8px;background:var(--theme-surface, #fff);font-family:var(--mono);font-size:8px}@media(max-width:900px){.ws-toolbar{grid-template-columns:1fr 1fr}.ws-search{grid-column:1/-1}.ws-table-shell{overflow:auto}.ws-table{width:900px;min-width:900px}.ws-table .source-col-jurisdiction{width:170px}.ws-table .source-col-authority{width:270px}.ws-table .source-col-site{width:235px}.ws-table .source-col-key-date{width:110px}.ws-table .source-col-updated{width:115px}.ws-table th:nth-child(5),.ws-table td:nth-child(5){padding-left:8px;padding-right:12px;text-align:right}.change-dates{grid-template-columns:1fr}}
@media(max-width:620px){.ws-app{width:min(100% - 22px,1660px)}.ws-toolbar{grid-template-columns:1fr}.ws-search{grid-column:auto}.ws-note{border-radius:18px}}

/* Sources: compact filters retain their widths during search interaction. */

.sources-toolbar{display:flex;align-items:flex-end;gap:10px;width:100%;padding:22px 0 16px}
.sources-toolbar>label{display:grid;gap:7px;min-width:0}
.sources-toolbar>.filter-search{flex:0 0 var(--search-rest-width,390px);width:var(--search-rest-width,390px);max-width:var(--search-rest-width,390px);min-width:0}
.sources-toolbar>.filter-search .ws-search{width:100%}
.sources-toolbar .ws-search{transition:border-color .15s ease}
.sources-toolbar .ws-search:hover,
.sources-toolbar .ws-search:focus-within{border-color:rgba(255,0,127,.52);outline:0;box-shadow:none}
.sources-toolbar>.filter-select{flex:1 1 0;width:0;min-width:0}
.sources-toolbar select.content-select{display:block;width:100%;min-width:0;max-width:none}
@media(max-width:1180px){
  .sources-toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .sources-toolbar>.filter-search{grid-column:1/-1;width:100%;max-width:none;min-width:0}
  .sources-toolbar>.filter-select{width:auto;min-width:0}
  .sources-toolbar select.content-select{width:100%}
}
@media(max-width:900px){
  .sources-toolbar{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .sources-toolbar{grid-template-columns:1fr}
  .sources-toolbar>.filter-search{grid-column:auto}
}

/* v160 Sources: single Established info marker + hero-style tooltip */
.source-title{margin-top:4px}
.source-badges{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:7px}
.source-badge{display:inline-flex;align-items:center;min-height:20px;border:1px solid rgba(var(--theme-ink-rgb, 37, 39, 44), 0.18);border-radius:999px;padding:3px 7px;background:rgba(var(--theme-ink-rgb, 37, 39, 44), 0.018);color:var(--theme-text-muted, #70747c);font-family:var(--mono);font-size:7.5px;font-weight:800;line-height:1;letter-spacing:.055em;text-transform:uppercase;white-space:nowrap}
.source-badge-primary{border-color:rgba(var(--theme-ink-rgb, 37, 39, 44), 0.3);background:rgba(var(--theme-ink-rgb, 37, 39, 44), 0.022);color:var(--theme-text-primary, #25272c)}
.established-value{display:inline-flex;align-items:center;white-space:nowrap}
.ws-table .established-value strong{display:inline;margin:0}
.ws-info{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:13px;height:13px;border:1px solid rgba(var(--theme-ink-rgb, 76, 80, 88), 0.16);border-radius:999px;background:rgba(var(--theme-paper-rgb, 255, 255, 255), 0.72);color:var(--theme-text-soft, rgba(37,39,44,.62));font-family:var(--mono);font-size:8px;font-style:normal;font-weight:900;letter-spacing:0;line-height:1;text-transform:none;cursor:help;vertical-align:middle;outline:none}
.ws-info::after{content:attr(data-tooltip);position:absolute;right:-1px;top:calc(100% + 8px);z-index:40;width:270px;max-width:70vw;border:1px solid rgba(var(--theme-ink-rgb, 37, 39, 44), 0.12);border-radius:12px;background:rgba(37,39,44,.96);color:#fff;padding:9px 10px;font-family:var(--sans);font-size:11px;font-weight:650;letter-spacing:0;line-height:1.35;text-transform:none;text-align:left;white-space:normal;opacity:0;visibility:hidden;pointer-events:none;transition:opacity 150ms ease,visibility 150ms ease}
.ws-info:hover,.ws-info:focus-visible{border-color:rgba(255,0,127,.24);color:var(--pink);background:rgba(255,0,127,.04)}
.ws-info:hover::after,.ws-info:focus-visible::after{opacity:1;visibility:visible}
.ws-info-head{margin-left:4px}

/* v161 Sources: clickable type badges + lighter date columns */
.source-badge{appearance:none;-webkit-appearance:none;cursor:pointer}
.source-badge:hover,.source-badge:focus-visible,.source-badge.is-active{border-color:rgba(255,0,127,.34);background:rgba(255,0,127,.055);color:var(--pink);outline:none}
.table-date-value{font-weight:400;line-height:1.35}
.ws-table td:nth-child(4),.ws-table td:nth-child(5){font-weight:400}

/* v178 Sources: Source Architecture 2.0 — entity-first register, evidence nested without loss */
.evidence-details{margin-top:10px;border-top:1px solid rgba(var(--theme-ink-rgb, 37, 39, 44), 0.09);padding-top:8px}
.evidence-details summary{display:inline-flex;align-items:center;gap:6px;cursor:pointer;color:var(--theme-text-soft, #5f636b);font-family:var(--mono);font-size:8.5px;font-weight:800;letter-spacing:.055em;text-transform:uppercase;list-style:none}
.evidence-details summary::-webkit-details-marker{display:none}
.evidence-details summary::before{content:"+";display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;border:1px solid rgba(var(--theme-ink-rgb, 37, 39, 44), 0.18);border-radius:999px;color:var(--theme-text-primary, #25272c);font-size:10px;line-height:1}
.evidence-details[open] summary::before{content:"−"}
.evidence-details summary:hover,.evidence-details summary:focus-visible{color:var(--pink);outline:none}
.evidence-list{display:grid;gap:7px;margin-top:9px}
.evidence-item{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.72fr);gap:12px;padding:9px 10px;border:1px solid rgba(var(--theme-ink-rgb, 37, 39, 44), 0.1);border-radius:12px;background:rgba(var(--theme-ink-rgb, 37, 39, 44), 0.018)}
.evidence-item strong{font-size:10.5px!important;font-weight:700}
.evidence-item small{font-family:var(--mono);font-size:7.5px!important;letter-spacing:.035em;text-transform:uppercase}
.evidence-meta{display:flex;align-items:flex-start;justify-content:flex-end;gap:5px;flex-wrap:wrap;color:var(--theme-text-muted, #737780);font-family:var(--mono);font-size:7.5px;line-height:1.4;text-align:right}
.evidence-meta span{display:inline-flex;align-items:center;gap:3px}
.evidence-meta strong{display:inline!important;font-size:7.5px!important;color:var(--theme-text-soft, #565a61)}
.evidence-item-single{grid-template-columns:minmax(0,1fr)}
.evidence-meta .date-sep{color:var(--theme-text-muted, rgba(37,39,44,.25))}
@media(max-width:900px){.evidence-item{grid-template-columns:1fr}.evidence-meta{justify-content:flex-start;text-align:left}}

/* v206 · source dates + flag-icons */
.source-jurisdiction{display:flex;align-items:center;gap:9px;min-width:0}
.source-jurisdiction>div{min-width:0}
.source-flag{display:inline-block;flex:0 0 auto;width:20px;height:15px;border:1px solid rgba(var(--theme-ink-rgb, 37, 39, 44), 0.1);border-radius:2px;background-size:cover}
.source-scope-emblem{display:inline-flex;flex:0 0 20px;width:20px;height:20px;align-items:center;justify-content:center}
.source-scope-emblem img{display:block;width:20px;height:15px;object-fit:contain}
.source-scope-global{display:inline-flex;flex:0 0 20px;width:20px;height:20px;align-items:center;justify-content:center;color:var(--pink)}
.source-scope-global svg{display:block;width:19px;height:19px;stroke:currentColor;stroke-width:1.5}
.source-date-kind{display:block!important;margin-top:3px!important;color:var(--theme-text-muted, #737780)!important;font-family:var(--mono);font-size:7px!important;line-height:1.3;letter-spacing:.035em;text-transform:uppercase}

/* v219-design: source-date details use the custom tooltip instead of browser title UI. */
.source-date-tooltip{position:relative;cursor:help;outline:none}
.source-date-tooltip::after{content:attr(data-tooltip);position:absolute;left:0;bottom:calc(100% + 8px);z-index:60;width:270px;max-width:70vw;border:1px solid rgba(var(--theme-ink-rgb, 37, 39, 44), 0.12);border-radius:12px;background:rgba(37,39,44,.96);color:#fff;padding:9px 10px;font-family:var(--sans);font-size:11px;font-weight:650;letter-spacing:0;line-height:1.35;text-transform:none;text-align:left;white-space:normal;opacity:0;visibility:hidden;pointer-events:none;transition:opacity 150ms ease,visibility 150ms ease}
.source-date-tooltip:hover::after,.source-date-tooltip:focus-visible::after{opacity:1;visibility:visible}

/* v224-design: move dropdown chevrons inward and use one consistent indicator. */
select.content-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--theme-surface, #fff);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3.25 5.25 7 9l3.75-3.75' fill='none' stroke='%2325272c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 22px center;
  background-size: 14px 14px;
  padding-right: 54px;
}

/* v231-ui — shared expanded-workspace footer */
/* v493 — compact Source Register search copy and split geography filters. */
.sources-toolbar .ws-search input::placeholder{font-size:14px;font-weight:400;opacity:1;color:var(--theme-text-muted,#7a7d84)}
#sourcePagination{margin-bottom:4px}

/* v509: jurisdiction cells stay real links; hover is text-only, matching Official site links. */
.source-jurisdiction-link{display:inline-flex;max-width:100%;color:inherit!important;text-decoration:none;cursor:pointer;background:transparent!important;border-radius:0;outline:none;box-shadow:none!important}
.source-jurisdiction-link strong{transition:color .16s ease}
.source-jurisdiction-link:hover,.source-jurisdiction-link:focus-visible,.source-jurisdiction-link:active{background:transparent!important;box-shadow:none!important;outline:none!important}
.source-jurisdiction-link:hover strong,.source-jurisdiction-link:focus-visible strong{color:var(--pink)}

/* v539 — direct admin deep links into Source Register */
.ws-table tr.source-deeplink-entity>td{background:rgba(223,0,105,.035)}.ws-table tr.source-deeplink-entity>td:first-child{box-shadow:inset 3px 0 0 var(--pink)}.evidence-item.source-deeplink-evidence{border-color:rgba(223,0,105,.34);background:rgba(223,0,105,.055);box-shadow:0 0 0 2px rgba(223,0,105,.06)}

/* v651: page header owns the external 36px gap; filter row starts without duplicate top spacing. */
.sources-toolbar.page-content-start{padding-top:0}
/* v655 — keep hidden key-date tooltips inside the mobile table scroll extent. */
@media(max-width:900px){
  .source-date-tooltip::after{left:auto;right:0}
}

