/* Shared visual foundations. Opt-in so existing admin/viewer styles stay intact. */
:root {
  --im-bg: #03121d;
  --im-panel: #081925;
  --im-border: #193647;
  --im-input-border: #335468;
  --im-text: #f4f7fb;
  --im-muted: #adc2d6;
  --im-accent: #00d4e5;
  --im-green: #00e676;
  --im-radius: 12px;
  --im-font: "Segoe UI", Arial, sans-serif;
}
.im-app, .im-app * { box-sizing: border-box; }
.im-app { margin: 0; min-height: 100vh; color-scheme: dark; color: var(--im-text); background: var(--im-bg); font-family: var(--im-font); -webkit-font-smoothing: antialiased; }
.im-app a { color: inherit; }
.im-app button, .im-app input, .im-app select { font-family: inherit; }
.im-app input, .im-app select { font-size: 16px; }
.im-app [hidden] { display: none !important; }
.im-app :focus-visible { outline: 3px solid var(--im-accent); outline-offset: 4px; }
.im-header { min-height: 80px; padding: 20px max(24px, calc((100vw - 1512px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--im-border); background: rgba(5, 21, 33, .9); }
.im-brand-group, .im-header-actions { display: flex; align-items: center; gap: 24px; }
.im-brand { white-space: nowrap; font-weight: 750; font-size: 29px; letter-spacing: -.9px; text-decoration: none; }
.im-brand span { color: var(--im-accent); }
.im-tagline { margin: 0; border-left: 1px solid var(--im-border); padding-left: 24px; color: var(--im-muted); font-size: 15px; }
.im-status-indicator { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; font-size: 14px; }
.im-status-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--im-green); box-shadow: 0 0 16px #00e67615; }
.im-contact { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; border-left: 1px solid var(--im-border); padding-left: 24px; font-size: 15px; }
.im-contact:hover { color: var(--im-accent); }
.im-icon { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.im-card { border: 1px solid var(--im-border); border-radius: var(--im-radius); background: linear-gradient(145deg, #091b28d9, #05131ed9); }
.im-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 60px; padding: 14px 20px; border: 1px solid #20e5ef; border-radius: 9px; background: linear-gradient(110deg, #06d6df, #00b9e9); color: #00111d; font-weight: 700; font-size: 17px; cursor: pointer; }
.im-button:hover:not(:disabled) { filter: brightness(1.08); }
.im-button:disabled { opacity: .65; cursor: wait; }
.im-input { width: 100%; min-width: 0; height: 52px; border: 1px solid var(--im-input-border); border-radius: 8px; background: #03121bb3; color: var(--im-text); padding: 12px 16px; }
.im-input::placeholder { color: #91a7bb; opacity: 1; }
.im-input:focus { border-color: var(--im-accent); }
.im-input:disabled { color: var(--im-muted); opacity: .8; cursor: not-allowed; }
.im-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1000px) { .im-tagline { display: none; } }
@media (max-width: 560px) {
  .im-header { min-height: 74px; padding: 16px 20px; gap: 12px; flex-wrap: wrap; }
  .im-brand { font-size: 24px; }
  .im-header-actions { gap: 14px; }
  .im-status-indicator { font-size: 12px; gap: 7px; }
  .im-status-dot { width: 9px; height: 9px; }
  .im-contact { padding-left: 14px; font-size: 13px; gap: 7px; }
  .im-contact .im-icon { width: 19px; }
}
@media (prefers-reduced-motion: reduce) { .im-app *, .im-app *::before, .im-app *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
