/* Shared Studio palette, grounded in LegislativeAssistant.AI's light theme. */
:root {
  color-scheme: light;
  --blue: #3298dc;
  --blue-hover: #2987c6;
  --ink: #1f2123;
  --muted: #62676f;
  --line: #dfe0e1;
  --paper: #f7f7f7;
  --white: #fff;
  --wash: #f7f7f7;
  --pale-blue: #eaf5fc;
  --amber: #815713;
  /* Existing component names are retained; their visual role is now blue. */
  --green: var(--blue);
  --green-dark: var(--blue-hover);
  --mint: var(--pale-blue);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
}
body { color: var(--ink); background: var(--paper); }
a { color: #176b9f; text-underline-offset: .18em; }
a:hover { color: #134f75; }
button, input, select, textarea, .button { font: inherit; }
button, .button {
  border: 1px solid #d2d6dc;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  min-height: 38px;
  padding: 8px 13px;
  font-weight: 550;
  cursor: pointer;
  text-decoration: none;
}
button:hover, .button:hover { background: #f1f6fa; border-color: #a8bbca; }
button.primary, .button.primary {
  color: #112331;
  background: var(--blue);
  border-color: var(--blue);
  font-weight: 650;
}
button.primary:hover, .button.primary:hover { background: #56ace3 !important; }
button:disabled { opacity: .48; cursor: not-allowed; }
input:not([type=checkbox]):not([type=radio]), textarea, select {
  border: 1px solid #b9c1ca;
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
}
:where(button, a, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid #176b9f;
  outline-offset: 3px;
}
input[type=checkbox], input[type=radio], progress { accent-color: var(--blue); }
.site-header, body > header:not(.app-header) {
  background: var(--pale-blue);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.site-header a, body > header:not(.app-header) a { color: var(--ink); }
.site-header .site-brand, body > header:not(.app-header) > a { font-weight: 700; text-decoration: none; }
.eyebrow, .source-meta { color: var(--muted); }
.hero h1 em { color: #176b9f; }
.hero-visual, .data-section, .scope-strip, .collection-banner { background: #edf4f8; }
.hero-visual { border-color: var(--line); transform: none; }
.example-block, .preview-chrome, .example-footer, .example-timeline { border-color: var(--line); }
.example-timeline span { background: var(--blue); }
.status-dot { background: var(--blue); }
.operation-status { background: #edf6fc; border-color: #cbdce8; color: #294b60; }
.operation-status progress { accent-color: var(--blue); }
.operation-error { color: #852b27; background: #fff3f0; border-color: #d9b2ab; }
.result-identity { color: var(--muted); }
.studio-page [role=status] { background: #edf6fc; }
.studio-page form, .studio-card, .studio-page fieldset { border-color: var(--line); box-shadow: none; }
.studio-page input:not([type=checkbox]), .studio-page select, .studio-page textarea { border-color: #b9c1ca; }
.studio-card figcaption { color: var(--muted); }
.edit-inserted, ins { color: #176b9f; background: var(--pale-blue); }
.operation-composer { border-color: #cbdeeb; background: #f4f9fc; }
.direct-reading #source-text:focus { outline-color: var(--blue); }
.read-only-badge { color: #3e5463; background: #eef3f6; }
.selected-package-heading, .package-detail { border-color: var(--line); }
.studio-page label { font-size: .94rem; }
.studio-page input:not([type=checkbox]), .studio-page select { min-height: 42px; }
#copy label { color: var(--muted); font-size: .88rem; }
#copy textarea { min-height: 3.25rem; line-height: 1.55; color: var(--ink); }
.studio-sharing { color: #5a4217; background: #fff5df; font-size: .84rem; }
@media (max-width: 650px) {
  button, .button { min-height: 44px; }
  .studio-page input:not([type=checkbox]), .studio-page select, .studio-page textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Connected wordmark and full frame; selected B clearance and original SVG paths. */
.app-header { background: #e5f3fc; color: var(--ink); border-bottom: 1px solid #d6e8f4; }
body > header:not(.app-header) { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
body > header:not(.app-header) > nav { display: flex; flex-wrap: wrap; align-items: center; margin-left: 0; }
.site-header nav > a:not(.button) { color: #444b54; }
.site-header nav > a:hover, .site-header nav > a[aria-current] { color: #176b9f; }
a.studio-brand { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; color: #172033; text-decoration: none; white-space: nowrap; line-height: 1; }
a.studio-brand:hover { text-decoration: none; }
.studio-brand .studio-brand-lockup { display: block; width: 200px; height: auto; aspect-ratio: 945.112 / 322; flex-shrink: 0; }
@media (max-width: 420px) {
 a.studio-brand { gap: 7px; }
 .studio-brand .studio-brand-lockup { width: 176px; }
 }
.home-visibility-control{display:flex!important;align-items:center;gap:10px;padding:10px 0;font-weight:600}.home-visibility-control input{width:18px;height:18px;flex-shrink:0}#copy input[type=checkbox]{min-height:0}#copy>fieldset{min-width:0}

/* Shared article evidence presentation: workspace, public Artifacts and blog. */
.citation-marker { margin-left:3px; font-size:.75em; }.citation-marker a { font-weight:650; text-decoration:none; }
.article-prose { white-space:pre-wrap; }.article-references { border-top:1px solid var(--line,#d7e3ec); margin-top:24px; padding-top:12px; }.citation-reference { margin:12px 0; }.citation-reference summary { cursor:pointer; }.citation-reference blockquote { white-space:pre-wrap; max-height:320px; overflow:auto; border-left:3px solid var(--blue,#168fd0); margin:12px 0; padding:12px; }.citation-reference video { width:100%; max-height:420px; }.citation-identity { overflow-wrap:anywhere; font-size:11px; color:var(--muted,#526477); }
