/* tejas.decodes · the site account (sign in, profile) inside the statute manuals.
   The manuals have their own design tokens; this adds the site's colour tokens that
   account.css needs, and places the account button in the manual's top bar.
   Loaded only by the manuals, before account.css. */
:root {
  --c-bg: 248 247 244;
  --c-surface: 255 255 255;
  --c-ink: 22 24 29;
  --c-ink-2: 91 97 110;
  --c-ink-3: 95 100 109;
  --c-line: 231 231 228;
  --c-line-2: 240 240 238;
  --c-accent: 27 58 107;
  --c-accent-soft: 238 242 248;
  --c-amber: 138 90 0;
  --c-amber-soft: 253 246 233;
  --c-amber-line: 232 213 172;
  --c-red-soft: 253 241 240;
  --c-red-line: 230 201 197;
  --c-red-ink: 138 48 40;
  --c-green-soft: 240 246 241;
  --c-green-line: 201 223 205;
  --c-green-ink: 42 92 52;
  --shadow: 0 1px 2px rgba(16,20,30,.04), 0 8px 24px -12px rgba(16,20,30,.10);
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
:root[data-theme="dark"] {
  --c-bg: 15 17 21;
  --c-surface: 21 24 32;
  --c-ink: 232 233 236;
  --c-ink-2: 154 160 173;
  --c-ink-3: 150 156 168;
  --c-line: 35 39 51;
  --c-line-2: 28 32 42;
  --c-accent: 143 179 232;
  --c-accent-soft: 24 34 52;
  --c-amber: 217 164 65;
  --c-amber-soft: 34 28 16;
  --c-amber-line: 58 47 24;
  --c-red-soft: 36 23 22;
  --c-red-line: 61 37 35;
  --c-red-ink: 224 147 138;
  --c-green-soft: 20 32 26;
  --c-green-line: 34 57 42;
  --c-green-ink: 143 199 155;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.6);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --c-bg: 15 17 21;
    --c-surface: 21 24 32;
    --c-ink: 232 233 236;
    --c-ink-2: 154 160 173;
    --c-ink-3: 150 156 168;
    --c-line: 35 39 51;
    --c-line-2: 28 32 42;
    --c-accent: 143 179 232;
    --c-accent-soft: 24 34 52;
    --c-amber: 217 164 65;
    --c-amber-soft: 34 28 16;
    --c-amber-line: 58 47 24;
    --c-red-soft: 36 23 22;
    --c-red-line: 61 37 35;
    --c-red-ink: 224 147 138;
    --c-green-soft: 20 32 26;
    --c-green-line: 34 57 42;
    --c-green-ink: 143 199 155;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.6);
}
}

.tb-acct { display: inline-flex; align-items: center; margin-left: 4px; }
.tb-acct .acct-signin { height: 36px; }
@media (max-width: 860px) {
  .tb-acct .acct-signin span { display: none; }
  .tb-acct .acct-signin { width: 36px; padding: 0; justify-content: center; }
}
