/* selaa-kokeita-ohje: sivun omat sisältötyylit (pienoismallit). Poistuvat, kun pienoismallit korvataan kaappauksilla. */
:root{--vi:#6d28d9; --vi-dark:#5b21b6; --vi-soft:#a78bfa; --ink:#1e293b; --muted:#475569; --soft:#64748b; --faint:#94a3b8; --line:#e2e8f0; --line2:#cbd5e1; --card:#fafbfc; --head:#f1f5f9; --help-bg:#f5f3ff; --help-line:#a78bfa; --help-ink:#5b21b6; --warn-bg:#fef3c7; --warn-line:#f59e0b; --warn-ink:#92400e; --req:#dc2626; --green:#16a34a}
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)}
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}
.pane{background:#fff; border:1px solid var(--line); border-radius:12px; padding:14px 16px}
.btn{border:1px solid transparent; border-radius:7px; padding:7px 12px; font-weight:600; font-size:.84em; display:inline-flex; align-items:center; gap:6px; cursor:default; white-space:nowrap}
.btn.vi{background:var(--vi); color:#fff}
.btn.green{background:#16a34a; color:#fff}
.btn.ghost{background:#fff; border-color:var(--line2); color:#334155}
.btn.danger{background:#fee2e2; border-color:#fecaca; color:#b91c1c}
.btn.sm{padding:5px 10px; font-size:.8em}
.filterbar{display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-bottom:12px; font-size:.84em; color:var(--soft)}
.filterbar .sel{border:1px solid var(--line2); border-radius:7px; padding:5px 9px; background:#fff; color:var(--muted)}
.filterbar .si{flex:1; min-width:160px; border:1px solid var(--line2); border-radius:7px; padding:6px 10px; color:var(--faint)}
.ecards{display:grid; grid-template-columns:1fr 1fr; gap:12px}
@media(max-width:600px){
.ecards{grid-template-columns:1fr}
}
.ecard{border:1px solid var(--line); border-radius:11px; padding:13px 15px; background:#fff}
.ecard.active{background:#e0ffe0; border-color:#86efac}
.ecard .eh{display:flex; align-items:center; gap:8px; margin-bottom:8px}
.ecard .eh h3{margin:0; font-size:1.02em; flex:1}
.ecard .eh .gear{color:var(--soft)}
.ecard .det{font-size:.82em; color:var(--muted); margin-bottom:10px}
.ecard .det b{color:var(--ink)}
.ecard .acts{display:flex; gap:6px; flex-wrap:wrap}
.activebadge{font-size:.68em; font-weight:700; background:#dcfce7; color:#166534; border-radius:8px; padding:1px 7px}
.detgrid{display:grid; grid-template-columns:1fr 1.1fr; gap:12px}
@media(max-width:680px){
.detgrid{grid-template-columns:1fr}
}
.dbox{border:1px solid var(--line); border-radius:10px; background:#fff; padding:12px 14px; margin-bottom:10px}
.dbox h4{margin:0 0 8px; font-size:.92em}
.drow{display:flex; justify-content:space-between; font-size:.84em; color:var(--muted); padding:3px 0}
.drow b{color:var(--ink)}
.chartph{height:80px; border:1px dashed var(--line2); border-radius:8px; display:flex; align-items:flex-end; gap:5px; padding:8px; justify-content:center}
.chartph .b{width:14px; background:var(--vi-soft); border-radius:3px 3px 0 0}
.addbox{border:1px solid var(--line); border-radius:9px; padding:10px; background:#faf9ff; margin-bottom:10px}
.ta{width:100%; min-height:46px; border:1px solid var(--line2); border-radius:7px; padding:7px 9px; font-size:.84em; color:var(--faint); background:#fff}
.pchip{display:flex; align-items:center; gap:8px; border:1px solid var(--line); border-radius:8px; padding:6px 10px; font-size:.84em; margin-bottom:5px; background:#fff}
.pchip .st{font-size:.7em; font-weight:700; border-radius:7px; padding:1px 7px}
.st-undone{background:#fee2e2;color:#b91c1c}
.st-ungraded{background:#fef9c3;color:#854d0e}
.st-graded{background:#dcfce7;color:#166534}
.pchip .x{margin-left:auto; color:var(--faint)}
.kbd{font-family:ui-monospace,Menlo,Consolas,monospace; background:#eef2f7; border:1px solid var(--line2); border-radius:5px; padding:1px 7px; font-size:.86em}
.newtag{display:inline-block; font-size:.62em; font-weight:700; letter-spacing:.4px; text-transform:uppercase; background:#dcfce7; color:#166534; border:1px solid #bbf7d0; border-radius:6px; padding:2px 7px; margin-left:4px; vertical-align:middle}
