/* etatunnit-chattivastaanotto-ohje: sivun omat sisältötyylit (pienoismallit). Poistuvat, kun pienoismallit korvataan kaappauksilla. */
:root{--ro:#e11d48; --ro-dark:#be123c; --ro-soft:#fda4af; --ro-deep:#881337; --ink:#1e293b; --muted:#475569; --soft:#64748b; --faint:#94a3b8; --line:#e2e8f0; --line2:#cbd5e1; --help-bg:#fff1f2; --help-line:#fda4af; --help-ink:#9f1239; --warn-bg:#fef3c7; --warn-line:#f59e0b; --warn-ink:#92400e}
h3.sub{font-size:1.12em; margin:24px 0 8px; color:var(--ink)}
.callout{background:var(--help-bg); border-left:4px solid var(--help-line); color:var(--help-ink); padding:12px 16px; border-radius:8px; margin:16px 0; font-size:.95em;}
.callout.warn{background:var(--warn-bg); border-left-color:var(--warn-line); color:var(--warn-ink)}
.stud{background:#eff6ff; border-left:4px solid #60a5fa; color:#1e40af; padding:12px 16px; border-radius:8px; margin:16px 0; font-size:.95em}
.stud b{color:#1e3a8a}
ul.clean{margin:10px 0; padding-left:22px}
ul.clean li{margin:6px 0}
.path{display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:14px 0; font-size:.92em}
.path .crumb{background:#fff; border:1px solid var(--line2); border-radius:8px; padding:6px 12px; font-weight:600; color:var(--muted)}
.path .arr{color:var(--faint); font-weight:700}
.mock{margin:20px 0 8px; border-radius:12px; overflow:hidden; box-shadow:0 14px 34px rgba(15,23,42,.16); border:1px solid var(--line)}
.mock .bar{background:#e9eef5; padding:9px 12px; display:flex; align-items:center; gap:7px; border-bottom:1px solid var(--line)}
.mock .dot{width:11px;height:11px;border-radius:50%}
.mock .dot.r{background:#f87171}
.mock .dot.y{background:#fbbf24}
.mock .dot.g{background:#34d399}
.mock .bar .ttl{margin-left:10px; font-size:.8em; color:var(--soft); font-weight:600}
.app{font-size:14px; color:var(--ink)}
.screen{background:#f4f6fb; padding:16px 18px}
.btn{border:1px solid transparent; border-radius:7px; padding:6px 13px; font-weight:600; font-size:.82em; display:inline-flex; align-items:center; gap:6px; cursor:default; white-space:nowrap}
.btn.ro{background:var(--ro); color:#fff}
.btn.gr{background:#16a34a; color:#fff}
.btn.ghost{background:#fff; border:1px solid var(--line2); color:#334155}
.btn.dng{background:#fef2f2; border:1px solid #fca5a5; color:#b91c1c}
.btn.sm{padding:4px 10px; font-size:.78em}
.tbar{display:inline-flex; gap:6px; background:#1e293b; padding:8px 10px; border-radius:10px}
.tbar .tb{width:38px; height:34px; border-radius:8px; background:#334155; display:flex; align-items:center; justify-content:center; font-size:1.1em}
.tbar .tb.hl{background:#fff; box-shadow:0 0 0 2px var(--ro)}
.fg{margin-bottom:11px}
.fg label{display:block; font-size:.8em; font-weight:600; color:var(--muted); margin-bottom:4px}
.inp{width:100%; padding:7px 10px; border:1px solid var(--line2); border-radius:7px; font-size:.86em; background:#fff; color:var(--ink)}
.inp.ph{color:var(--faint)}
.row2{display:grid; grid-template-columns:1fr 1fr; gap:10px}
@media(max-width:540px){
.row2{grid-template-columns:1fr}
}
.tabs{display:flex; gap:6px; border-bottom:1px solid var(--line); margin-bottom:12px}
.tab{padding:7px 13px; font-size:.84em; font-weight:600; color:var(--soft); border-bottom:2px solid transparent}
.tab.act{color:var(--ro-dark); border-bottom-color:var(--ro)}
.chips{display:flex; gap:6px; flex-wrap:wrap}
.chip{background:#ffe4e6; border:1px solid var(--ro-soft); color:var(--ro-deep); border-radius:16px; padding:3px 10px; font-size:.78em; font-weight:600}
.rscard{border:1px solid var(--line); border-radius:11px; padding:12px 14px; margin-bottom:9px; background:#fff}
.rscard .h{display:flex; align-items:center; gap:9px; flex-wrap:wrap}
.rscard .t{font-weight:700}
.stat{font-size:.72em; font-weight:700; border-radius:9px; padding:2px 9px}
.st-on{background:#dcfce7; color:#166534}
.st-off{background:#f1f5f9; color:#94a3b8}
.st-live{background:#fee2e2; color:#991b1b}
.rsmeta{display:flex; gap:13px; flex-wrap:wrap; font-size:.8em; color:var(--soft); margin:5px 0 8px}
.rsacts{display:flex; gap:6px; flex-wrap:wrap}
.crwin{display:grid; grid-template-columns:200px 1fr; background:#0f172a; border-radius:10px; overflow:hidden; font-size:.82em; color:#cbd5e1; min-height:230px}
.crside{background:#1e293b; border-right:1px solid #334155; padding:10px}
.crside .ch{font-weight:700; color:#fff}
.crside .pres{font-size:.78em; color:#34d399; margin:1px 0 9px}
.crrow{display:flex; gap:6px; margin-bottom:7px}
.crinp{flex:1; background:#0b1220; border:1px solid #334155; border-radius:6px; padding:4px 7px; color:#94a3b8; font-size:.82em}
.crttl{font-size:.7em; text-transform:uppercase; letter-spacing:.05em; color:#94a3b8; margin:10px 0 4px}
.crq{background:#0b1220; border:1px solid #334155; border-radius:7px; padding:6px 8px; margin-bottom:5px; display:flex; justify-content:space-between; align-items:center}
.crq .nm{font-weight:600; color:#e2e8f0}
.crmain{display:flex; flex-direction:column}
.crtabs{display:flex; background:#1e293b; border-bottom:1px solid #334155}
.crtab{padding:8px 12px; font-size:.8em; color:#94a3b8; border-right:1px solid #334155}
.crtab.act{background:#0b1220; color:#fff; border-bottom:2px solid var(--ro)}
.crmsgs{flex:1; background:#0b1220; padding:12px; display:flex; flex-direction:column; gap:7px}
.bub{max-width:78%; padding:7px 11px; border-radius:13px; font-size:.84em; line-height:1.4}
.bub.rem{align-self:flex-start; background:#1e293b; border:1px solid #334155}
.bub.loc{align-self:flex-end; background:#3b82f6; color:#fff}
.crtools{display:flex; gap:5px; background:#1e293b; padding:7px 10px; border-top:1px solid #334155; flex-wrap:wrap}
.crtools .tl{background:#334155; border-radius:6px; padding:3px 8px; font-size:.78em; color:#e2e8f0}
.scourse{background:#fff; border:1px solid var(--line); border-radius:12px; padding:14px 16px}
.sbox{border:1px solid var(--line); border-radius:10px; padding:11px 13px; margin-top:10px; background:#fafbfc}
.sbox .bh{font-weight:700; font-size:.92em; margin-bottom:8px; display:flex; align-items:center; gap:7px}
.sitem{display:flex; align-items:center; gap:9px; padding:8px 0; border-top:1px solid var(--line)}
.badge{font-size:.7em; font-weight:700; border-radius:8px; padding:2px 8px}
.b-live{background:#fee2e2; color:#991b1b}
.b-soon{background:#fef3c7; color:#92400e}
.b-sched{background:#e0e7ff; color:#3730a3}
.b-any{background:#dcfce7; color:#166534}
.pres-dot{width:9px;height:9px;border-radius:50%;background:#16a34a;display:inline-block}
.kbd{font-family:ui-monospace,Menlo,Consolas,monospace; background:#eef2f7; border:1px solid var(--line2); border-radius:5px; padding:1px 7px; font-size:.86em}
