
/* HALAKH production v2 — one-stage operations */
#hk-production-controls,#hk-studio-preflight,#hk-studio-archive,#hk-msg-monitor{color:#1d382e;font:14px/1.55 system-ui}
#hk-production-controls,#hk-studio-preflight{background:#f9f7f0;border:1px solid #b8c7b9;border-radius:8px;padding:17px;margin:16px 0}
#hk-production-controls h3,#hk-studio-preflight h3,#hk-studio-archive h3{font:400 23px/1.2 Georgia,serif;color:#183a2f;margin:0 0 8px}
#hk-production-controls p,#hk-studio-preflight p{margin:6px 0 12px;color:#425b4d;font-size:12px}
.hk-prod-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.hk-prod-actions button,#hk-production-controls button,#hk-studio-preflight button,#hk-studio-archive button{border:1px solid #839a88;border-radius:5px;background:#fffdf7;color:#193b2d;cursor:pointer;padding:10px 12px;min-height:42px;font:600 12px system-ui}
.hk-prod-actions button[aria-pressed="true"],#hk-production-controls button.hk-important{background:#1e4637;border-color:#1e4637;color:#fff9ed}
#hk-production-controls input,#hk-production-controls textarea,#hk-studio-archive input,#hk-studio-archive textarea{box-sizing:border-box;border:1px solid #9eafa1;border-radius:5px;background:#fffefa;color:#16382b;width:100%;min-height:42px;padding:9px 10px;font:15px system-ui}
#hk-production-controls textarea,#hk-studio-archive textarea{resize:vertical;min-height:74px}
.hk-prod-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.hk-prod-fields label{display:grid;gap:5px;font-size:12px;font-weight:650}
.hk-prod-fields label.wide{grid-column:1/-1}
.hk-prod-small{font-size:12px;color:#516756}
#hk-prod-feedback{color:#344f40;margin:10px 0 0;min-height:23px}
#hk-studio-preflight .hk-check-result{display:grid;gap:5px;list-style:none;padding:0;margin:10px 0}
#hk-studio-preflight .hk-check-result li{padding:6px 9px;background:#edf0e9;border-left:3px solid #748e75;font:12px system-ui}
#hk-studio-preflight .hk-check-result li.warn{border-left-color:#af8857;background:#fbf0db}
#hk-studio-preflight .hk-check-result li.error{border-left-color:#a34b43;background:#f9e7e4}
.hk-prod-stage-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(245px,1fr);gap:14px;align-items:start}
.hk-prod-stage-layout #live{min-width:0}
#hk-msg-monitor{border:1px solid #aab9aa;background:#f8f6ef;border-radius:8px;padding:13px;min-width:0}
#hk-msg-monitor summary{cursor:pointer;color:#1b392d;font:650 14px system-ui;padding:5px 0 8px}
#hk-msg-monitor .hk-messages{min-height:110px;max-height:360px;overflow:auto;display:grid;gap:8px;background:#fffdf7;border:1px solid #d4ded1;border-radius:5px;padding:9px}
#hk-msg-monitor .hk-msg{border-bottom:1px solid #e2e7df;padding:5px 0}
#hk-msg-monitor .hk-msg strong{display:block;font-size:11px;color:#475e4f}
#hk-msg-monitor .hk-msg span{display:block;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}
#hk-msg-monitor small{display:block;color:#647366;margin:9px 0;font-size:11px}
#hk-msg-monitor a{color:#275140}
#hk-onair-strip{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:11px 15px;border-radius:7px;background:#1b302b;color:#f3ecdb;font:12px system-ui;border:1px solid #62766d;margin:10px 0}
#hk-onair-strip strong{color:#d5bb90;letter-spacing:.08em}
#hk-onair-strip span{padding-right:10px;border-right:1px solid rgba(222,218,200,.27)}
#hk-onair-strip span:last-child{border:0}
#hk-onair-strip[data-onair=true]{position:sticky;bottom:7px;z-index:65;box-shadow:0 7px 25px #0a1c1d66;background:#152b26}
#hk-prod-scene-overlay,#hk-public-scene-overlay{position:absolute;inset:0;z-index:12;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:15px;padding:clamp(20px,7%,54px);background:radial-gradient(ellipse at 16% 22%,#3d4e43 0%,transparent 55%),radial-gradient(ellipse at 88% 80%,#2d413d 0%,transparent 55%),linear-gradient(155deg,#162c2a,#1c302d 58%,#26392f);color:#f6f1e5;pointer-events:none;overflow:hidden}
#hk-prod-scene-overlay[hidden],#hk-public-scene-overlay[hidden]{display:none!important}
#hk-prod-scene-overlay[data-scene=prelive],#hk-public-scene-overlay[data-scene=prelive]{background:radial-gradient(ellipse at 20% 35%,#61725d 0%,transparent 45%),radial-gradient(ellipse at 85% 15%,#666b54 0%,transparent 50%),linear-gradient(125deg,#233a36,#3a4e42 56%,#233a36)}
#hk-prod-scene-overlay[data-scene=closing],#hk-public-scene-overlay[data-scene=closing]{background:linear-gradient(155deg,#122823,#21382c)}
.hk-scene-overline{font:650 10px system-ui;letter-spacing:.19em;color:#d9bf8e}
.hk-scene-title{font:400 clamp(23px,4vw,43px)/1.12 Georgia,serif;color:#f4eadd;max-width:100%;overflow-wrap:anywhere}
.hk-scene-body{font:400 clamp(12px,1.7vw,19px)/1.55 Georgia,serif;color:#eee7d5;white-space:pre-line;overflow-wrap:anywhere;max-width:85%;max-height:56%;overflow:hidden}
#hk-studio-archive{display:grid;gap:10px;padding:11px 0}
#hk-studio-archive .hk-archive-item{padding:13px;border:1px solid #c4cfc2;border-radius:6px;background:#fffdf8;display:grid;gap:9px}
#hk-studio-archive .hk-archive-item strong{font:500 17px Georgia,serif;color:#224132}
#hk-studio-archive .hk-archive-meta{font:12px system-ui;color:#526456}
#hk-studio-archive .hk-archive-edit{display:grid;gap:9px;padding:12px;border:1px solid #cbd4c7}
#hk-studio-archive .hk-archive-edit label{font:12px system-ui;display:grid;gap:5px}
#hk-studio-archive button.danger{border-color:#ad665a;color:#884739}
#hk-studio-archive .hk-archive-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
#hk-studio-archive .hk-archive-actions a{border:1px solid #809888;border-radius:5px;padding:9px 10px;text-decoration:none;color:#204631;background:#fffefa;font:600 12px system-ui}
@media(max-width:880px){.hk-prod-stage-layout{grid-template-columns:1fr}#hk-msg-monitor .hk-messages{max-height:220px}}
@media(max-width:650px){.hk-prod-fields{grid-template-columns:1fr}.hk-prod-fields label.wide{grid-column:1}#hk-onair-strip{font-size:11px;padding:9px}.hk-scene-body{max-width:95%}}
