/* StegoLab: свой акцент (янтарно-коралловый) поверх общей темы NeuroKey */
:root {
  --accent: #F6A24B;
  --accent-2: #FF6F91;
  --accent-grad: linear-gradient(135deg, #FFC36B 0%, #F6A24B 45%, #FF6F91 100%);
  --accent-soft: rgba(246, 162, 75, 0.12);
  --bit-on: #F6A24B;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --accent: #C4610A;
    --accent-2: #D23F6A;
    --accent-grad: linear-gradient(135deg, #E9902E 0%, #C4610A 45%, #D23F6A 100%);
    --accent-soft: rgba(196, 97, 10, 0.09);
    --bit-on: #C4610A;
    --on-accent: #ffffff;
  }
}
/* читаемость: крупнее текст, ярче второстепенный цвет */
body { font-size: 16px; line-height: 1.6; }
:root { --muted: #A9B1C4; --text-2: #CDD3E0; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --muted: #565D74; --text-2: #2B3046; } }
.page-head h1 { font-size: 32px; }
.page-head p { font-size: 17px; line-height: 1.6; }
.card { padding: 24px 26px; }
.card h2 { font-size: 19px; margin-bottom: 16px; }
.hint { font-size: 14.5px; line-height: 1.55; }
label { font-size: 14.5px; }
input, select, textarea { font-size: 15.5px; }
textarea#msg { font: 16px/1.6 var(--font); }
button.wide { font-size: 15.5px; padding: 14px 16px; }
.step-no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent-grad); color: var(--on-accent); font: 700 15px var(--mono); margin-right: 10px; vertical-align: 2px; }
.big-verdict { font-size: 20px; font-weight: 700; line-height: 1.35; margin-bottom: 6px; }
.big-verdict.ok { color: var(--ok); }
.plain { font-size: 16px; color: var(--text-2); margin-bottom: 14px; }
.kv { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.kv b { font-size: 20px; }
.kv span { font-size: 13.5px; }
.pic .cap { font-size: 14.5px; }
details.more { margin-top: 18px; }
details.more > summary { font-size: 15px; }
.g1 { background: radial-gradient(circle, rgba(246, 162, 75, .22), transparent 70%); }
.g2 { background: radial-gradient(circle, rgba(255, 111, 145, .14), transparent 70%); }
button.primary { box-shadow: 0 10px 28px -12px rgba(246, 162, 75, .75), inset 0 1px 0 rgba(255, 255, 255, .25); }
.logo-mark { box-shadow: 0 8px 24px -8px rgba(246, 162, 75, .7); }

/* картинки */
.pics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pic { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pic .frame { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 8px; display: grid; place-items: center; min-height: 160px; }
.pic canvas, .pic img { max-width: 100%; max-height: 380px; height: auto; border-radius: 8px; display: block; }
.pic .cap { font-size: 12.5px; color: var(--muted); }
.pic .cap b { color: var(--text-2); font-weight: 600; }
.zoom { cursor: zoom-in; }

.src-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.src-row .drop { flex: 1; min-width: 220px; padding: 18px; }
.info { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; margin-top: 12px; }
.info span { font-size: 12.5px; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; }
.meter { height: 8px; background: var(--surface-3); border-radius: 4px; overflow: hidden; margin-top: 6px; }
.meter i { display: block; height: 100%; background: var(--accent-grad); width: 0; transition: width .2s; }
.meter.over i { background: var(--bad); }
.count { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

.msgbox { font: 15px/1.6 var(--font); background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; white-space: pre-wrap; word-break: break-word; min-height: 60px; }
.grade { font-weight: 600; }
.grade.ok { color: var(--ok); } .grade.warn { color: var(--warn); } .grade.bad { color: var(--bad); }

@media (max-width: 860px) { .pics { grid-template-columns: 1fr; } }
