/* DAMOS theme: matches the DAMOS OS site the demo is embedded into.
   Enabled with DEMO_THEME=damos; the default dashboard look is untouched. */

@font-face {
  font-family: 'Science Gothic';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 50% 200%;
  src: url('fonts/science-gothic-cyrillic-standard-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Science Gothic';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 50% 200%;
  src: url('fonts/science-gothic-latin-standard-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Handjet';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/handjet-latin-full-normal.woff2') format('woff2');
}

.theme-damos {
  --bg: #050608; --panel: #0B0C0F; --panel2: #08090B; --line: #26282E; --line2: #34373F;
  --text: #EDEEF1; --muted: #9A9FAA; --faint: #5F6470;
  --good: #FFAE3B; --warn: #FFAE3B; --bad: #E8826E; --accent: #FFAE3B;
}
.theme-damos body {
  background: var(--bg);
  font-family: 'Science Gothic', system-ui, sans-serif;
  font-stretch: 92%; font-weight: 340; line-height: 1.5;
}
.theme-damos .wrap { max-width: none; padding: 18px 18px 40px; }

/* the host window already titles the demo */
.theme-damos .eyebrow, .theme-damos .hero h1, .theme-damos .hero p { display: none; }
.theme-damos .hero { margin: 0 0 14px; justify-content: flex-end; }

.theme-damos .card, .theme-damos .stat, .theme-damos .mini,
.theme-damos .step, .theme-damos .audit-item, .theme-damos .case-item,
.theme-damos select, .theme-damos textarea, .theme-damos input,
.theme-damos button, .theme-damos .lang-switch, .theme-damos .pill { border-radius: 0; }

.theme-damos .card { background: var(--panel); border-color: var(--line); padding: 18px; }
.theme-damos .card h2 {
  font-stretch: 68%; font-weight: 560; letter-spacing: .12em; text-transform: uppercase;
  font-size: 12px; color: var(--muted); margin-bottom: 14px;
}
.theme-damos .stats { gap: 0; margin: 0 0 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.theme-damos .stat { background: none; border: 0; border-left: 1px solid var(--line); padding: 12px 16px; }
.theme-damos .stat:first-child { border-left: 0; padding-left: 0; }
.theme-damos .stat b, .theme-damos .mini b {
  font-family: 'Handjet', monospace; font-weight: 500; font-variation-settings: 'ELSH' 2, 'ELGR' 1.2;
  font-size: 40px; line-height: 1; color: var(--text);
}
.theme-damos .mini b { font-size: 22px; }
.theme-damos .mini { background: var(--panel2); border-color: var(--line); }

.theme-damos select, .theme-damos textarea, .theme-damos input {
  background: var(--panel2); border-color: var(--line2); color: var(--text); font-family: inherit;
}
.theme-damos select:focus, .theme-damos textarea:focus, .theme-damos input:focus { outline: none; border-color: var(--accent); }

.theme-damos button { background: var(--accent); color: #140D02; font-weight: 600; font-family: inherit; }
.theme-damos button:hover { background: #FFC062; }
.theme-damos button.secondary { background: transparent; color: var(--text); border: 1px solid var(--line2); }
.theme-damos button.secondary:hover { border-color: var(--accent); }
.theme-damos button.danger { background: transparent; color: var(--muted); border: 1px solid var(--line2); }
.theme-damos .lang-switch { border-color: var(--line2); background: transparent; }
.theme-damos .lang-switch button { background: transparent; color: var(--muted); border: 0; }
.theme-damos .lang-switch button.active { background: transparent; color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }

/* steps: square markers, amber when done */
.theme-damos .step, .theme-damos .audit-item, .theme-damos .case-item { background: var(--panel2); border-color: var(--line); }
.theme-damos .case-item:hover { border-color: var(--accent); }
.theme-damos .dot { border-radius: 0; width: 8px; height: 8px; background: var(--line2); }
.theme-damos .done .dot, .theme-damos .warn .dot { background: var(--accent); }

.theme-damos .pill { background: transparent; border: 1px solid var(--line2); color: var(--muted); font-weight: 560; letter-spacing: .06em; }
.theme-damos .pill.high, .theme-damos .pill.critical { border-color: var(--bad); color: var(--bad); background: transparent; }
.theme-damos .pill.medium { border-color: var(--accent); color: var(--accent); background: transparent; }
.theme-damos .incident { border-color: var(--accent); background: rgba(255, 174, 59, .06); }
.theme-damos .ticket { border-color: var(--line2); background: var(--panel2); }
.theme-damos .ok { color: var(--accent); }
.theme-damos .fail { color: var(--bad); }
.theme-damos .section { border-top-color: var(--line); }
.theme-damos .footer, .theme-damos .muted { color: var(--faint); }

.theme-damos ::-webkit-scrollbar { width: 8px; height: 8px; }
.theme-damos ::-webkit-scrollbar-thumb { background: var(--line2); }
.theme-damos * { scrollbar-color: var(--line2) transparent; }

@media (max-width: 620px) {
  .theme-damos .wrap { padding: 12px 12px 32px; }
  .theme-damos .stats { grid-template-columns: 1fr 1fr; }
  .theme-damos .stat, .theme-damos .stat:first-child { border-left: 0; padding: 10px 0; }
  .theme-damos .stat:nth-child(even) { border-left: 1px solid var(--line); padding-left: 14px; }
  .theme-damos .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
