/* Shared visual tokens for the portal and its static demos. */
:root {
  --green: #24643c; --green-dark: #19492b; --green-soft: #eaf2ec;
  --ink: #1c2922; --text: #39483f; --muted: #58665d;
  --line: #dce3dd; --bg: #f5f7f4; --paper: #fff;
  --radius: 16px; --r-lg: var(--radius); --shadow: 0 1px 3px #1c29220a;
}
body { color: var(--ink); background: var(--bg); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
button, input, select, textarea { font-family: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.portal-demo {
  --color-bg: var(--bg); --color-surface: var(--paper);
  --color-text: var(--ink); --color-text-secondary: var(--muted); --color-text-muted: var(--muted);
  --color-primary: var(--green); --color-primary-light: var(--green-soft); --color-border: var(--line);
}
.portal-demo .header { background: var(--green); }
.portal-demo .tab.active { background: var(--green); border-color: var(--green); }
.portal-demo .tab:hover { border-color: var(--green); }
.portal-demo .header-content { flex-wrap: wrap; }
.portal-return { background: var(--paper); border-bottom: 1px solid var(--line); padding: 16px 24px; }
.portal-return a { color: var(--green); font-weight: 600; text-decoration: none; }

.business-demo .header__logo-icon { flex-shrink: 0; }
.business-demo .search-input::placeholder { color: #fff; opacity: .8; }
@media screen and (max-width: 1100px) {
  .business-demo .header { height: auto; flex-wrap: wrap; padding: 16px; gap: 12px; }
  .business-demo .header__logo { width: 100%; white-space: normal; font-size: 1.1rem; }
  .business-demo .header__spacer { display: none; }
  .business-demo .search-container { flex: 1 1 100%; width: 100%; }
  .business-demo .toolbar__btn span { display: inline; }
}
