/* Bio-Science hibajelző (1.1.0; alap: 1.0.0) - bal alsó sarok, hogy ne ütközzön a jobb oldali MI-asszisztens és Megjelenés gombokkal */
.bshj-btn { position: fixed; left: 14px; bottom: 14px; z-index: 990; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 9px; border: 1px solid #c9d3dd; border-radius: 999px; background: #fff; color: #1d2733; font: 600 13px/1.2 system-ui, -apple-system, "Segoe UI", Arial, sans-serif; box-shadow: 0 6px 18px rgb(0 0 0 / .18); cursor: pointer; }
.bshj-btn:hover, .bshj-btn:focus-visible { border-color: #b4372f; box-shadow: 0 0 0 3px rgb(180 55 47 / .18), 0 6px 18px rgb(0 0 0 / .18); outline: none; }
.bshj-btn__ic { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #b4372f; color: #fff; font: 800 13px/1 system-ui, Arial, sans-serif; }
body.has-dock .bshj-btn { bottom: 96px; }
@media (max-width: 640px) {
	.bshj-btn { padding: 0; width: 44px; height: 44px; justify-content: center; left: 12px; bottom: 12px; }
	.bshj-btn__tx { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.bshj-btn__ic { width: 26px; height: 26px; font-size: 15px; }
}
.bshj-box { position: fixed; left: 14px; bottom: 66px; z-index: 1150; width: min(380px, calc(100vw - 28px)); max-height: calc(100vh - 90px); overflow: auto; box-sizing: border-box; padding: 16px; border: 1px solid #c9d3dd; border-radius: 14px; background: #fff; color: #1d2733; font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Arial, sans-serif; box-shadow: 0 18px 50px rgb(0 0 0 / .28); text-align: left; }
.bshj-box[hidden] { display: none; }
body.has-dock .bshj-box { bottom: 148px; }
.bshj-box * { box-sizing: border-box; }
.bshj-title { margin: 0 0 10px; font-weight: 700; font-size: 15px; }
.bshj-lab { display: block; margin: 0 0 10px; }
.bshj-lab span { display: block; margin: 0 0 4px; color: #47525e; font-size: 13px; }
.bshj-box textarea, .bshj-box input[type=text] { width: 100%; padding: 8px 10px; border: 1px solid #b9c4cf; border-radius: 8px; background: #fff; color: #1d2733; font: 14px/1.4 inherit; }
.bshj-box textarea:focus, .bshj-box input[type=text]:focus { outline: 2px solid #1a63b5; outline-offset: 1px; }
.bshj-chk { display: flex; gap: 8px; align-items: center; margin: 0 0 8px; font-size: 13px; }
.bshj-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }
.bshj-info { margin: 0 0 8px; color: #5b6672; font-size: 12px; }
.bshj-msg { margin: 0 0 8px; min-height: 1em; font-weight: 600; color: #1f6f4a; }
.bshj-acts { display: flex; justify-content: flex-end; gap: 8px; margin: 0; }
.bshj-acts button { padding: 8px 14px; border-radius: 999px; font: 600 13px system-ui, Arial, sans-serif; cursor: pointer; }
.bshj-cancel { border: 1px solid #c9d3dd; background: #fff; color: #1d2733; }
.bshj-send { border: 1px solid #b4372f; background: #b4372f; color: #fff; }
.bshj-send[disabled] { opacity: .6; cursor: wait; }
@media print { .bshj-btn, .bshj-box { display: none !important; } }
/* 1.0.3: a sütisáv fölé emelve csak ikon (asztalon se lógjon bele a tartalom oldalsávjába) */
.bshj-btn.is-lifted { padding: 0; width: 44px; height: 44px; justify-content: center; }
.bshj-btn.is-lifted .bshj-btn__tx { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 1.1.0: fejléc + „Bejelentéseim”, jelvény, értesítő sáv, állapotcímkék */
.bshj-btn__badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #1a63b5; color: #fff; font: 700 12px/20px system-ui, Arial, sans-serif; text-align: center; box-shadow: 0 0 0 2px #fff; }
.bshj-btn__badge[hidden] { display: none; }
.bshj-btn__badge.is-dot { min-width: 12px; width: 12px; height: 12px; padding: 0; top: -3px; right: -3px; background: #1f8a4c; }
.bshj-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
.bshj-head .bshj-title { margin: 0; }
.bshj-tog { flex: none; padding: 4px 10px; border: 1px solid #c9d3dd; border-radius: 999px; background: #f4f7fa; color: #1a4f8f; font: 600 12px/1.3 system-ui, Arial, sans-serif; cursor: pointer; }
.bshj-tog:hover, .bshj-tog:focus-visible { border-color: #1a63b5; outline: 2px solid #1a63b5; outline-offset: 1px; }
.bshj-msg[data-kind="ok"] { color: #1f6f4a; }
.bshj-msg[data-kind="warn"] { color: #8a5a00; }
.bshj-msg[data-kind="err"] { color: #b4372f; }
.bshj-msg:empty { display: none; }
.bshj-box .bshj-msg { margin: 10px 0 0; }
.bshj-list { list-style: none; margin: 0 0 12px; padding: 0; max-height: min(52vh, 420px); overflow: auto; }
.bshj-list[aria-busy="true"] { opacity: .6; }
.bshj-item { padding: 9px 0; border-top: 1px solid #e3e8ee; }
.bshj-item:first-child { border-top: 0; }
.bshj-item p { margin: 0; }
.bshj-item__h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; }
.bshj-item__h time { color: #5b6672; font-size: 12px; }
.bshj-item__n { margin-top: 3px !important; color: #2c3743; font-size: 13px; overflow-wrap: anywhere; }
.bshj-item__a { margin-top: 5px !important; padding: 6px 8px; border-left: 3px solid #1f8a4c; background: #f1f8f4; font-size: 13px; overflow-wrap: anywhere; white-space: pre-line; }
.bshj-empty { padding: 8px 0; color: #5b6672; font-size: 13px; }
.bshj-st { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: #e8eef5; color: #1d2733; }
.bshj-st--uj { background: #e6effa; color: #174a85; }
.bshj-st--folyamatban { background: #fff3d6; color: #6e4a00; }
.bshj-st--kesz { background: #e2f4ea; color: #17603a; }
.bshj-st--teves { background: #eceff2; color: #47525e; }
.bshj-st--waiting { background: #fde8e6; color: #8f2a23; }
.bshj-new { color: #17603a; font-size: 11.5px; font-weight: 700; }
.bshj-retry { border: 1px solid #1a63b5; background: #fff; color: #1a4f8f; }
.bshj-toast { position: fixed; left: 14px; bottom: 66px; z-index: 1160; max-width: min(380px, calc(100vw - 28px)); padding: 10px 14px; border-radius: 10px; background: #1d2733; color: #fff; font: 600 13px/1.4 system-ui, -apple-system, "Segoe UI", Arial, sans-serif; box-shadow: 0 10px 30px rgb(0 0 0 / .3); }
.bshj-toast[hidden] { display: none; }
body.has-dock .bshj-toast { bottom: 148px; }
@media (prefers-reduced-motion: no-preference) { .bshj-toast:not([hidden]) { animation: bshj-in .18s ease-out; } @keyframes bshj-in { from { opacity: 0; transform: translateY(6px); } } }
@media print { .bshj-toast { display: none !important; } }
