/* Bethel PC Symulator 1.1.0 — wspólne okno logowania (wygląd jak w FizykaLAB EDU i Procentowym Mistrzu) */
#pmUserChip { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; margin: 10px 0 0; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: background .2s; }
#pmUserChip:hover { background: rgba(255,255,255,.16); }
.pmacc-av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; background: linear-gradient(135deg, #0ea5e9, #0871d1); }
.pmacc-who { flex: 1; min-width: 0; display: grid; }
.pmacc-who b { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pmacc-who small { font-size: 12px; opacity: .75; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pmacc-go { opacity: .7; }

.pmacc-back { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 1rem; overflow: auto; background: rgba(3,24,42,.64); backdrop-filter: blur(7px); font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #142d49; }
.pmacc-back.closed { display: none; }
.pmacc-back [hidden] { display: none !important; }
.pmacc-modal { width: min(920px, 96vw); max-height: 92vh; overflow: auto; background: #fff; border-radius: 22px; box-shadow: 0 30px 90px rgba(0,0,0,.3); animation: pmaccIn .25s ease; }
@keyframes pmaccIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.pmacc-head { display: flex; align-items: center; padding: 1.2rem 1.3rem; border-bottom: 1px solid #dbe7f1; }
.pmacc-head h2 { margin: .2rem 0 0; font-size: 1.45rem; color: #0b2a4a; }
.pmacc-eyebrow { font-size: .72rem; font-weight: 900; letter-spacing: .12em; color: #0877c6; }
.pmacc-x { margin-left: auto; width: 38px; height: 38px; border: 1px solid #dbe7f1; border-radius: 10px; background: #f5f9fc; color: #43627a; font-size: 16px; cursor: pointer; }
.pmacc-now { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin: 1rem 1.2rem 0; padding: .8rem 1rem; border-radius: 14px; background: linear-gradient(135deg, #e9f5ff, #f4fbff); border: 1px solid #c8e3f6; }
.pmacc-now > div:first-child { flex: 1; min-width: 220px; display: grid; gap: 2px; }
.pmacc-now small { color: #47647b; font-size: .82rem; }
.pmacc-now-b { display: flex; flex-wrap: wrap; gap: .4rem; }
.pmacc-tasks { flex-basis: 100%; border-top: 1px dashed #bcd6ea; padding-top: .6rem; }
.pmacc-tasks h4 { margin: .4rem 0; font-size: .95rem; }
.pmacc-task { padding: .55rem .7rem; margin: .4rem 0; border-radius: 10px; background: #fff; border: 1px solid #dbe7f1; font-size: .88rem; }
.pmacc-task p { margin: .25rem 0; color: #47647b; }
.pmacc-task a { display: inline-block; margin: .2rem .3rem 0 0; padding: .2rem .55rem; border-radius: 99px; background: #e9f5ff; color: #0871d1; text-decoration: none; font-weight: 700; font-size: .8rem; }
.pmacc-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding: 1rem 1.2rem 0; }
.pmacc-tabs button { border: 1px solid #dbe7f1; background: #f5f9fc; padding: .8rem; border-radius: 11px; font: 850 .95rem system-ui, sans-serif; color: #486781; cursor: pointer; }
.pmacc-tabs button.active { background: #e9f5ff; color: #0877c6; border-color: #a8d4f0; }
.pmacc-pane { padding: 1rem 1.2rem 1.2rem; }
.pmacc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pmacc-box { border: 1px solid #dbe7f1; background: #fbfdff; border-radius: 15px; padding: 1rem; }
.pmacc-box.single { max-width: 520px; margin: auto; }
.pmacc-box h3 { margin: .1rem 0; font-size: 1.08rem; color: #0b2a4a; }
.pmacc-box p { color: #5b7389; font-size: .86rem; margin: .35rem 0; }
.pmacc-box label { display: block; font-size: .78rem; font-weight: 800; color: #47647b; margin: .65rem 0; }
.pmacc-box input { display: block; box-sizing: border-box; width: 100%; margin-top: .3rem; border: 1px solid #cdddea; border-radius: 9px; padding: .7rem; background: #fff; font: inherit; font-size: .95rem; color: #142d49; }
.pmacc-box input:focus { outline: none; border-color: #0877c6; box-shadow: 0 0 0 3px rgba(8,119,198,.18); }
.pmacc-box hr { border: 0; border-top: 1px solid #dbe7f1; margin: 1rem 0; }
.pmacc-btn { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; box-sizing: border-box; width: 100%; margin-top: .25rem; padding: .75rem 1rem; border: 0; border-radius: 10px; background: #0871d1; color: #fff; font: 800 .92rem system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.pmacc-btn:hover { filter: brightness(1.07); }
.pmacc-btn:disabled { opacity: .6; cursor: wait; }
.pmacc-btn.ghost { background: #fff; color: #0871d1; border: 1.5px solid #a8d4f0; }
.pmacc-btn.admin { background: #6d28d9; }
.pmacc-btn.small { width: auto; margin: 0; padding: .5rem .8rem; font-size: .84rem; }
.pmacc-hint { font-size: .78rem !important; color: #6a8297 !important; }
.pmacc-note { display: flex; gap: .55rem; align-items: flex-start; margin: .7rem 0 .4rem; padding: .75rem .85rem; border-radius: 12px; background: #fff8e6; border: 1px solid #f5d58a; color: #5a4300; font-size: .86rem; line-height: 1.45; }
.pmacc-note a { color: #0871d1; font-weight: 800; }
.pmacc-list { display: grid; gap: .4rem; margin-top: .7rem; }
.pmacc-list small { color: #6a8297; font-size: .75rem; }
.pmacc-list button { border: 1px solid #dbe7f1; background: #fff; border-radius: 9px; padding: .65rem; text-align: left; color: #375a74; font: 800 .9rem system-ui, sans-serif; cursor: pointer; }
.pmacc-list button:hover { border-color: #a8d4f0; background: #f2f9ff; }
.pmacc-list em { font-style: normal; font-size: .75rem; padding: .1rem .4rem; border-radius: 6px; background: #e9f5ff; color: #0877c6; }
.pmacc-list i { font-style: normal; color: #16a34a; font-size: .8rem; }
.pmacc-credit { text-align: center; padding: 1rem; color: #47647b; font-size: .78rem; }
.pmacc-credit a { color: inherit; }
.pmacc-toast { position: fixed; left: 50%; bottom: 24px; z-index: 9100; transform: translateX(-50%); max-width: 92vw; padding: .75rem 1.1rem; border-radius: 12px; background: #0b2a4a; color: #fff; font: 700 .92rem system-ui, sans-serif; box-shadow: 0 14px 34px rgba(0,0,0,.3); transition: opacity .4s, transform .4s; }
.pmacc-toast.warn { background: #a16207; }
.pmacc-toast.err { background: #a51d2d; }
.pmacc-toast.out { opacity: 0; transform: translate(-50%, 10px); }
@media (max-width: 680px) {
	.pmacc-two { grid-template-columns: 1fr; }
	.pmacc-tabs button { padding: .65rem .3rem; font-size: .82rem; }
	.pmacc-head h2 { font-size: 1.2rem; }
}
/* 1.1.0 — PC Symulator: komunikat i odporność na globalne style aplikacji */
.pmacc-msg { margin: 0 1.2rem; padding: 0; min-height: 0; font: 700 .9rem system-ui, sans-serif; color: #0b6b3a; }
.pmacc-msg:not(:empty) { padding: .7rem 1rem; margin-bottom: .6rem; border-radius: 12px; background: #e9f9ef; border: 1px solid #b7e7c8; }
.pmacc-msg.bad:not(:empty) { color: #8f1d2b; background: #fdecee; border-color: #f4c2c8; }
#pcAccountModal, #pcAccountModal * { letter-spacing: normal; text-transform: none; }
#pcAccountModal button { min-height: 0; box-shadow: none; }
#pcAccountModal .pmacc-tabs button { color: #486781; }
#pcAccountModal .pmacc-tabs button.active { color: #0877c6; }
#pcAccountModal input { color: #142d49; background: #fff; }
#pcAccountModal .pmacc-list button { color: #142d49; }
#pmaccCode { text-transform: uppercase !important; }
.pc-teacher-note { margin: 10px 0; padding: 10px 12px; border-radius: 10px; background: #fff8e1; border: 1px solid #f3d27a; color: #5c4400; font-size: 13px; line-height: 1.45; }
.pc-teacher-note a { color: #0b5cad; font-weight: 700; }
#pcAccountModal input:focus, #pcAccountModal input:active { background: #fff !important; color: #142d49 !important; }
#pcAccountModal input::placeholder { color: #8aa0b4; }
