/* Lechuza Suite — identity layer; workflow geometry remains in workbench.css. */
:root {
  --lechuza-forest: #244c43;
  --lechuza-paper: #f7f5ef;
  --lechuza-ochre: #a27b43;
  --bg: var(--lechuza-paper);
  --paper: #fffefa;
  --ink: #263b34;
  --muted: #65736b;
  --line: #dce2d9;
  --accent: var(--lechuza-forest);
  --soft: #eaf0e7;
  --warn: #835b22;
  --screen-violet: var(--accent);
  --screen-violet-strong: #244c43;
  --screen-violet-soft: var(--soft);
  --screen-violet-wash: #f0f3eb;
  --screen-warning: var(--warn);
  --brand-preview: #e8ebe5;
  --brand-scan: #73998633;
}
html[data-theme="dark"] {
  --bg: #19231f;
  --paper: #232f29;
  --ink: #edf0e9;
  --muted: #b1bdb2;
  --line: #405146;
  --accent: #bad2be;
  --soft: #304638;
  --warn: #e3bd83;
  --screen-violet: var(--accent);
  --screen-violet-strong: #bad2be;
  --screen-violet-soft: var(--soft);
  --screen-violet-wash: #283b30;
  --screen-warning: var(--warn);
  --brand-preview: #303c35;
  --brand-scan: #bad2be33;
}
.brand { flex: none; gap: 11px; }
.brand img { width: 44px; height: 44px; }
.brand strong { font: 500 28px/1 Georgia, Cambria, serif; letter-spacing: -.8px; }
.brand span { display: block; font: 600 10px/1.3 system-ui, sans-serif; letter-spacing: .18em; margin-top: 4px; color: var(--muted); }
.top-shell { border-bottom-color: var(--line); }
.top-shell nav a[aria-current="page"] { box-shadow: inset 0 -2px var(--accent); }
.login-logo { width: 80px; height: 80px; padding: 0; margin-bottom: 24px; border: 0; border-radius: 22px; background: transparent; box-shadow: none; }
.login-intro h1 { letter-spacing: -.04em; }
.login-card { box-shadow: 0 16px 48px #243b3210; }
.office-name { color: var(--muted); text-transform: none; letter-spacing: .015em; line-height: 1.8; }
.document-pane { background: var(--brand-preview); }
.source-thumb.is-active:after { background: linear-gradient(transparent, var(--brand-scan), transparent); }
.release-badge { display: inline-block; font-size: 12px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 20px; color: var(--accent); background: var(--soft); }
.brand-error { max-width: 680px; margin: 12vh auto; }
.brand-error .brand { margin-bottom: 48px; }
@media (max-width: 600px) {
  .brand img { width: 37px; height: 37px; }
  .brand strong { font-size: 25px; }
  .brand span { display: block; font-size: 9px; margin-top: 3px; }
  .login-logo { width: 64px; height: 64px; margin-bottom: 18px; }
  .shell-tools { gap: 8px; }
}

/* Selection overlays follow the brand; official document pixels remain untouched. */
.official-zone.active { outline-color: var(--accent); background: #73998625; }
.official-zone.filled { background: #7399860a; }
@keyframes arrival { from { background: #73998666; } to { background: #7399860a; } }

/* Artwork supplied by the owner, 18/09/2026. PNGs retain real alpha. */
.brand { gap: 9px; }
.brand .brand-crest { width: 44px; height: 44px; }
.brand .brand-wordmark { width: 128px; height: auto; border-radius: 0; }
.login-brand { display: flex; align-items: center; gap: 20px; width: fit-content; max-width: 100%; margin-bottom: 25px; }
.login-brand .login-logo { width: 108px; height: 108px; border-radius: 0; margin: 0; flex: none; }
.login-wordmark { width: 190px; height: auto; min-width: 0; }
html[data-theme="dark"] .brand, html[data-theme="dark"] .login-brand { background: #f7f5ef; border-radius: 9px; padding: 6px 10px; }
@media (max-width: 600px) {
 .brand .brand-crest { width: 34px; height: 34px; }
 .brand .brand-wordmark { width: 108px; }
 .brand { gap: 6px; }
 .login-brand { gap: 15px; margin: 0 auto 24px; }
 .login-brand .login-logo { width: 88px; height: 88px; }
 .login-wordmark { width: 176px; }
 html[data-theme="dark"] .brand { padding: 4px 6px; }
}
