/* Court AI: white pages, clear type, and a consistent research interface. */
:root {
  --paper: #fff;
  --canvas: #fff;
  --wash: #fff;
  --stone: #fff;
  --soft: #fff;
  --warn-bg: #fff;
  --action-wash: #fff;
  --ink: #172b4d;
  --muted: #58677b;
  --faint: #6d7785;
  --line: #dce2e8;
  --line-soft: #e8ecf0;
  --radius: 4px;
  --r: 4px;
  --font: Arial, Helvetica, sans-serif;
}
html, body { background: #fff; }
body { color: var(--ink); }
h1, h2, h3 { text-wrap: balance; }
button, input, select, textarea { border-radius: 4px; }
a, button { -webkit-tap-highlight-color: transparent; }
:is(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid #124e38; outline-offset: 4px; }
button:not(:disabled):hover { border-color: #124e38; }
mark { background: #fff; border-bottom: 2px solid #124e38; }

/* Links and buttons share exactly the same alignment in the main menu. */
.site-header { padding-inline: max(28px, calc((100vw - 1320px) / 2)); border-color: var(--line); }
.site-header .header-nav { display: flex; align-items: stretch; gap: 28px; }
.site-header .header-nav > :is(a, button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 0 0 auto;
  min-height: 54px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.site-header .header-nav > :is(a, button):hover { color: #124e38; }
.site-header .header-nav > :is(a, button).active { color: #124e38; }
.site-header .header-nav > :is(a, button).active::after { height: 2px; background: #124e38; }
.brand-name { font-size: 24px; letter-spacing: -.8px; }
.brand-descriptor { font-size: 9px; letter-spacing: 1.2px; }
.header-meta .site-beta { background: #fff; border-color: var(--line); }
.site-header .header-signup { border-radius: 4px; font-size: 12px; }
.country-selector summary { border-color: var(--line); }
.country-menu { box-shadow: none; border: 1px solid #aebbc8; }
.main-container { max-width: 1376px; padding-inline: 28px; }

/* The news strip is part of the page, not a coloured banner. */
.breaking-news { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.breaking-news-inner { max-width: 1376px; min-height: 39px; padding: 6px 28px; }
.breaking-news .breaking-news-headline { color: var(--ink); font-size: 12px; }
.breaking-news-label, .breaking-news .breaking-news-read { color: #124e38; }
.breaking-news .breaking-news-toggle, .breaking-news .breaking-news-toggle:hover { background: #fff; border-color: var(--line); color: var(--muted); }
.breaking-news a:focus-visible, .breaking-news button:focus-visible { outline-color: #124e38; }
.news-dot { background: #124e38; }
.news-separator { color: var(--muted); }

/* A compact first screen: introduction on the left, the working form on the right. */
.home-page { --home-cream: #fff; --home-line: var(--line); }
.home-hero {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  grid-template-areas: "copy ask" "support support";
  gap: 44px 60px;
  padding: 42px 0 38px;
}
.home-hero-copy { padding-top: 0; }
.home-hero .home-eyebrow, .home-ask-panel .home-feature-label { margin: 0 0 17px; font-size: 10px; line-height: 1.5; letter-spacing: 1.4px; }
.home-hero h1 { font-size: clamp(38px, 3.8vw, 52px); font-weight: 600; line-height: 1.08; letter-spacing: -2px; margin-bottom: 23px; max-width: 550px; }
.home-hero h1 em { color: var(--ink); }
.home-lede { font-size: 16px; line-height: 1.7; max-width: 54ch; }
.home-actions { margin-top: 23px; gap: 22px; }
.home-scope { margin-top: 22px; }
.home-scope select { border-color: #b8c3ce; border-radius: 4px; max-width: 310px; }
.home-feature.home-ask-panel { border: 0; border-left: 1px solid var(--line); background: #fff; padding: 0 0 0 36px; }
.home-ask-panel h2 { font-size: 32px; font-weight: 600; letter-spacing: -1px; margin: 0 0 10px; }
.home-ask-panel h2 a { color: var(--ink); }
.home-ask-panel > p { font-size: 14px; line-height: 1.6; margin-bottom: 10px; color: var(--muted); }
.home-ask-panel .home-guide-jump { font-size: 12px; }
.home-page .home-ask-form { margin: 18px 0 0; padding: 0; border: 0; background: #fff; border-radius: 0; }
.home-ask-form label { font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.home-ask-form textarea { min-height: 100px; border-color: #aab7c5; border-radius: 4px; padding: 12px 14px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.home-ask-form .home-ask-example { font-size: 12px; padding: 7px 0 9px; }
.home-ask-controls { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; align-items: end; margin-top: 5px; }
.home-ask-court { min-width: 0; }
.home-ask-form .home-ask-court-label { margin: 0 0 7px; font-size: 12px; }
.home-ask-form select { min-height: 48px; border-color: #aab7c5; border-radius: 4px; padding: 10px 32px 10px 12px; color: var(--ink); }
.home-page .home-ask-controls button.home-primary { min-height: 48px; padding: 10px 16px; margin: 0; font-size: 15px; border-radius: 4px; }
.home-ask-form #homeAskHelp { margin-top: 11px!important; margin-bottom: 11px!important; font-size: 11px!important; line-height: 1.6; color: var(--muted); }
.home-ask-form .court-ai-placeholder { border-top: 0; padding-top: 0; margin-bottom: 0!important; }
.court-ai-answer { border-radius: 4px; box-shadow: none; color: var(--ink); }
.court-ai-title { color: var(--ink); }

/* The twelve common questions fill the left column below Explore AI Rules. */
.home-guides { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 25px; }
.home-guides-heading { display: block; margin-bottom: 18px; }
.home-guides-heading .home-kicker { margin-bottom: 7px; }
.home-guides-heading .home-question-heading { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.8px; line-height: 1.25; color: var(--ink); }
.home-guides-heading p { margin: 10px 0 0; max-width: none; font-size: 12px; line-height: 1.6; color: var(--muted); }
.home-guides .home-ask-questions { grid-template-columns: minmax(0, 1fr); gap: 0; margin-bottom: 13px; }
.home-guides .home-ask-questions a { grid-template-columns: 22px minmax(0, 1fr) 13px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: #fff; padding: 13px 0; min-height: 52px; font-size: 14px; line-height: 1.55; color: var(--ink); }
.home-guides .home-ask-questions a:hover { color: #124e38; border-top-color: #124e38; background: #fff; }
.home-question-number { color: #124e38; font-weight: 700; }
.home-guides .home-ask-questions svg { color: #124e38; }
.home-ask-note { margin: 0; font-size: 11px; color: var(--muted); }
.home-hero-support { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 50px; border-top: 1px solid var(--line); padding-top: 29px; }
.home-hero-support .home-signup-callout { margin: 0; padding: 0; background: #fff; border: 0; border-radius: 0; }
.home-signup-callout strong { font-size: 22px; color: var(--ink); font-weight: 600; }
.home-signup-callout span { font-size: 14px; max-width: 52ch; }
.home-hero-support .home-overview-feature { margin: 0; padding: 0 0 0 28px; background: #fff; border: 0; border-left: 1px solid var(--line); border-radius: 0; }
.home-overview-feature h2 { font-size: 25px; color: var(--ink); }
.home-overview-feature:hover { background: #fff; }
.home-hero-support .home-current-coverage { grid-column: 1/-1; margin: 0; max-width: none; font-size: 11px; }
.home-section { padding: 38px 0; }
.home-section-heading h2 { color: var(--ink); font-size: 31px; font-weight: 600; letter-spacing: -1px; }
.home-case-card, .home-jurisdiction-card { border-radius: 4px; box-shadow: none; }
.home-case-card:hover, .home-jurisdiction-card:hover { background: #fff; border-color: #124e38; }
.home-country-link { border-color: var(--line); }
.home-contact { background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.page-heading h1 { font-size: 38px; font-weight: 600; letter-spacing: -1.3px; }
.article-header h1 { font-family: var(--font); color: var(--ink); font-weight: 600; letter-spacing: -1.7px; }
.article-body h2 { color: var(--ink); font-weight: 600; }
.article-commencement, .overview-conclusion, .detail-callout, .research-notice, .collection-hierarchy { background: #fff; }
.article-commencement, .overview-conclusion { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.records-table tbody tr:hover, .results-list tbody tr:hover, .court-entry:hover, .related-record:hover { background: #fff; }
.rail-tabs button.active { box-shadow: inset 2px 0 0 #124e38; }
.record-dialog { box-shadow: none; border-color: #aab7c5; }
.analytics-choice { box-shadow: none; border-color: #aab7c5; }
.analytics-choice button { background: #fff; }

/* The dedicated Ask page shares the same white, straightforward layout. */
.ask-page { background: #fff; font-family: Arial, Helvetica, sans-serif; }
.ask-page .bar { padding: 20px 28px; }
.ask-page .wrap { padding: 34px 28px; }
.ask-page .hero { max-width: 940px; }
.ask-page h1 { font-family: inherit; font-size: 44px; font-weight: 600; letter-spacing: -1.6px; line-height: 1.12; }
.ask-page h2, .ask-page .check-card h2 { font-family: inherit; font-weight: 600; }
.ask-page .search-card, .ask-page .answer-card, .ask-page .check-card, .ask-page dialog { border-radius: 4px; box-shadow: none; }
.ask-page .search-card { padding: 24px; }
.ask-page .notice, .ask-page .qualification, .ask-page .sample, .ask-page .alert, .ask-page .badge, .ask-page .pill, .ask-page .suggestion, .ask-page .suggestion:hover { background: #fff; }
.ask-page .badge { border: 1px solid var(--line); }
.ask-page .field select, .ask-page textarea, .ask-page button { border-radius: 4px; }
.ask-page #ask-btn { min-width: 128px; border-radius: 4px; }
.ask-page .actions { justify-content: flex-start; }
.ask-page .actions .helper { margin-left: auto; }
.ask-page .notice { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ask-page .empty { border: 0; border-top: 1px solid var(--line); border-radius: 0; text-align: left; padding: 24px 0; }
.ask-page .pill { border-radius: 3px; }
.ask-page footer { padding-inline: 28px; }

@media (min-width: 1450px) {
  .site-header { min-height: 92px; display: flex; flex-wrap: nowrap; gap: 30px; padding-top: 0; }
  .site-header .header-nav { margin-left: auto; height: 92px; order: initial; flex-basis: auto; overflow: visible; }
  .site-header .header-meta { display: flex; margin-left: auto; gap: 10px; }
  .site-header .site-beta { display: none; }
  .site-header .header-tools { display: flex; gap: 5px; padding: 9px 0; }
  .site-header #countryControl { width: 205px; }
  .site-header .header-signup { min-height: 32px; padding: 6px 12px; }
}
@media (max-width: 1199px) {
  .home-hero { gap: 34px; }
  .home-feature.home-ask-panel { padding-left: 26px; }
  .home-hero h1 { font-size: 40px; }

}
@media (max-width: 900px) {
  .home-hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "ask" "questions" "support"; padding-top: 30px; }
  .home-feature.home-ask-panel { border-left: 0; border-top: 1px solid var(--line); padding: 25px 0 0; }
  .home-hero-copy { display: contents; }
  .home-hero-intro { grid-area: copy; }
  .home-guides { grid-area: questions; margin-top: 0; }
  .home-lede { max-width: 68ch; }
  .home-hero-copy { max-width: none; }
  .home-hero h1 { max-width: 640px; font-size: 44px; }
}
@media (max-width: 640px) {
  .site-header, .main-container { padding-inline: 20px; }
  .site-header .header-nav { gap: 22px; }
  .site-header .header-nav > :is(a, button) { font-size: 14px; min-height: 52px; }
  .breaking-news-inner { padding-inline: 20px; }
  .home-hero { gap: 28px; padding-top: 26px; }
  .home-hero h1 { font-size: 38px; letter-spacing: -1.4px; }
  .home-lede { font-size: 15px; line-height: 1.65; }
  .home-ask-panel h2 { font-size: 29px; }
  .home-ask-controls { grid-template-columns: minmax(0, 1fr) 88px; gap: 10px; }
  .home-ask-form select { font-size: 13px; }
  .home-guides-heading { display: block; }
  .home-guides-heading p { margin-top: 10px; max-width: none; }
  .home-guides .home-ask-questions { grid-template-columns: minmax(0, 1fr); }
  .home-guides .home-ask-questions a { min-height: 52px; font-size: 13px; }
  .home-hero-support { grid-template-columns: minmax(0, 1fr); }
  .home-hero-support .home-overview-feature { padding: 24px 0 0; border: 0; border-top: 1px solid var(--line); }
  .home-section-heading h2 { font-size: 28px; }
  .home-contact { padding: 24px 20px; }
  .ask-page .bar, .ask-page .wrap, .ask-page footer { padding-inline: 20px; }
  .ask-page h1 { font-size: 36px; }
  .ask-page .search-card { padding: 18px; }
  .ask-page .actions .helper { margin-left: 0; }
}
@media print { .home-feature.home-ask-panel, .home-guides, .home-hero-support { break-inside: avoid; } }

/* Account access and saved research share the site's white, restrained layout. */
.court-ai-membership{margin:15px 0;padding:14px 0;border-top:1px solid #dce2e5;border-bottom:1px solid #dce2e5;font-size:13px;line-height:1.55;color:#334d5c}
.court-ai-membership p{margin:0 0 5px!important}.court-ai-membership p:last-child{margin-bottom:0!important}
.court-ai-membership a{color:#14513a;text-decoration:underline;text-underline-offset:3px}
.court-ai-history{margin:14px 0;border:1px solid #cbd4d9;border-radius:4px;background:#fff;color:#162c38}
.court-ai-history summary{padding:12px 14px;cursor:pointer;font-weight:650;font-size:14px;list-style:disclosure-closed}.court-ai-history[open] summary{list-style:disclosure-open;border-bottom:1px solid #dce2e5}
.court-ai-history [data-question-list]{padding:0 14px 12px;max-height:350px;overflow:auto}.court-ai-history h4{font-size:12px;text-transform:uppercase;letter-spacing:.06em;margin:16px 0 8px}.court-ai-history ul{list-style:none;padding:0;margin:0}.court-ai-history li{border-bottom:1px solid #e3e8eb}.court-ai-history button,.court-ai-history li>span{display:block;width:100%;text-align:left;padding:11px 0;border:0;background:#fff;color:#173e31;font:inherit;font-size:14px;line-height:1.45}.court-ai-history button:hover{text-decoration:underline}.court-ai-history small{display:block;color:#667681;font-size:11px;margin-top:4px}.court-ai-history-empty,.court-ai-history-note{font-size:12px!important;color:#667681!important;margin:10px 0!important}
.court-ai-consent{display:flex!important;align-items:flex-start;gap:8px;font-size:12px!important;font-weight:400!important;color:#52616b;line-height:1.5;margin:12px 0!important}.court-ai-consent input{width:16px!important;height:16px!important;min-height:0!important;flex:none;margin-top:2px}.court-ai-data-note{font-size:11px!important;color:#667681!important;line-height:1.5!important;margin:10px 0!important}.court-ai-repeat{border:1px solid #aebeb6;color:#17543c;background:#fff;padding:9px 13px;border-radius:4px;font:inherit;cursor:pointer;font-size:13px}.court-ai-question{font-size:16px!important;font-weight:600;color:#1d3949}.court-ai-meta{font-size:12px;color:#52616b}

.home-cases-heading-row{display:flex;align-items:center;justify-content:space-between;gap:16px 24px;flex-wrap:wrap}
.home-cases-heading-row h2{margin-bottom:0}
.home-cases-links{display:flex;align-items:center;gap:12px 28px;flex-wrap:wrap}
.home-cases-links .home-secondary{font-size:14px;white-space:normal}

/* Visible support actions and the private owner approval counter. */
.court-support-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 17px;background:#183442;color:#fff!important;border:1px solid #183442;border-radius:4px;text-decoration:none!important;font:600 14px/1.4 system-ui,sans-serif;white-space:nowrap}
.court-support-button:hover{background:#274b5b}.court-support-button:focus-visible,.owner-approval-link:focus-visible{outline:3px solid #5785a0;outline-offset:3px}
.court-support-button.court-support-outline{background:#fff;color:#183442!important}.court-support-outline:hover{text-decoration:underline!important}
.court-support-inline{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid #dce2e5;padding-top:18px;margin-top:20px}.court-support-inline span{font-size:12px;color:#52616b}
.site-footer .court-support-button{margin:10px 0 10px 8px}.ask-page footer .court-support-button{margin:12px}
.owner-approval-link{display:inline-flex;align-items:center;min-height:38px;padding:6px 10px;border:1px solid #18553c;border-radius:4px;color:#18553c;font:600 12px/1.4 system-ui,sans-serif;white-space:nowrap;text-decoration:none}
.owner-approval-link[hidden]{display:none!important}.court-ai-publication-note{font-size:12px;line-height:1.6;color:#334d5c;border-left:2px solid #183442;padding-left:12px;margin:14px 0}
@media(max-width:600px){.site-footer .court-support-button{margin-left:0}.court-support-inline{align-items:flex-start;flex-direction:column}.ask-page .nav{flex-wrap:wrap}.ask-page footer .court-support-button{margin-left:0}}
@media print{.court-support-button,.court-support-inline,.owner-approval-link{display:none!important}}

/* Bright status flags lead each record, rather than trailing its title. */
.freshness-marker{display:block;width:fit-content;max-width:100%;margin:0 0 10px;line-height:1;text-align:left}
.freshness-badge{display:inline-block;vertical-align:top;margin:0;padding:5px 9px;border:0;border-radius:2px;color:#06331f;background:#13bf6d;font:800 11px/1.3 Arial,Helvetica,sans-serif;letter-spacing:.07em;white-space:nowrap}
.record-tile>.freshness-marker{margin-bottom:12px}
.dialog-top>.freshness-marker{margin-bottom:14px}
.new-week-link{margin:0 0 2rem}.freshness-badge:empty{display:none}

/* Shared colours also reach the standalone information pages. */
:root{--heading:#143e63;--ink:#303b45;--muted:#4e6070;--action:#006c45;--action-hover:#004c31;--focus:#006c45}
h1,h2,h3,h4{color:var(--heading)}

.court-ai-question-dialog{box-sizing:border-box;width:min(700px,calc(100% - 32px));max-height:85vh;margin:auto;padding:28px;border:1px solid #809bad;border-top:3px solid var(--heading,#143e63);border-radius:0;background:#fff;color:var(--ink,#303b45);overflow:auto}
.court-ai-question-dialog::backdrop{background:rgba(13,44,73,.4)}
.court-ai-question-dialog .question-dialog-heading{display:flex;align-items:flex-start;gap:20px;justify-content:space-between;margin:0 0 18px}
.court-ai-question-dialog h2{margin:0;font:400 30px/1.2 Georgia,serif;letter-spacing:-.6px;color:var(--heading,#143e63)}
.court-ai-question-dialog .question-dialog-heading form{margin:0;flex-shrink:0}
.court-ai-question-dialog .question-dialog-heading button{padding:5px 0;border:0;background:#fff;color:var(--action,#006c45);font:600 12px/1.5 Arial,sans-serif;text-decoration:underline;cursor:pointer}
.court-ai-question-dialog>p{font-size:14px;line-height:1.6;color:var(--muted,#4e6070)}
.common-question-links{padding-left:25px;margin:0}.common-question-links li{padding:12px 0;border-bottom:1px solid #dee5ea}.common-question-links li::marker{color:var(--action,#006c45)}
.common-question-links a{font-size:14px;line-height:1.5;color:var(--heading,#143e63);text-decoration:none}.common-question-links a:hover{text-decoration:underline}.common-question-links svg{width:14px;margin-left:6px}
.court-ai-history-dialog h4{margin:22px 0 8px;color:var(--heading,#143e63);font:700 11px/1.5 Arial,sans-serif;text-transform:uppercase;letter-spacing:.06em}
.court-ai-history-dialog ul{list-style:none;padding:0;margin:0}.court-ai-history-dialog li{border-bottom:1px solid #dee5ea}
.court-ai-history-dialog li button,.court-ai-history-dialog li>span{display:block;width:100%;text-align:left;padding:12px 0;border:0;background:#fff;color:var(--heading,#143e63);font:14px/1.5 Arial,sans-serif}
.court-ai-history-dialog li button{cursor:pointer}.court-ai-history-dialog li button:hover{text-decoration:underline}.court-ai-history-dialog small{display:block;color:var(--muted,#4e6070);font-size:11px;margin-top:5px}
.ask-history-link{margin:20px 0;font-size:14px}
@media(max-width:520px){.court-ai-question-dialog{padding:22px 18px}.court-ai-question-dialog h2{font-size:26px}.court-ai-question-dialog .question-dialog-heading{gap:12px}}
