:root { --good: #1b7f3b; --info: #1f5fbf; --warn: #b36b00; --bad: #b3261e; --grey: #5b5f66; --bg: #101418; --fg: #f4f6f8; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--fg); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
main { max-width: 900px; margin: 0 auto; padding: 1rem; min-height: 100%; display: flex; flex-direction: column; }
section[hidden], div[hidden] { display: none !important; }
header { display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem; opacity: .9; }
#online-dot { display: inline-block; width: .8rem; height: .8rem; border-radius: 50%; margin-right: .4rem; background: var(--grey); }
#online-dot.on { background: #3ddc84; } #online-dot.off { background: var(--bad); }
.mode { margin: 1rem 0 .5rem; padding: 1.2rem; border-radius: 1rem; font-size: 2.4rem; font-weight: 800; text-align: center; letter-spacing: .06em; }
.mode.in { background: var(--good); } .mode.out { background: var(--info); }
.mode span { margin: 0 .5rem; }
#prompt { text-align: center; font-size: 1.6rem; margin: .5rem 0 1rem; }
.result { min-height: 9rem; border-radius: 1rem; padding: 1rem; text-align: center; background: #1b2128; display: flex; flex-direction: column; justify-content: center; }
.result.good { background: var(--good); } .result.info { background: var(--info); } .result.warn { background: var(--warn); } .result.bad { background: var(--bad); } .result.grey { background: var(--grey); }
.result .big { font-size: 2.6rem; font-weight: 800; } .result .small { font-size: 1.5rem; margin-top: .3rem; }
#recent { list-style: none; padding: 0; margin: 1rem 0; font-size: 1.1rem; }
#recent li { padding: .35rem .6rem; border-left: .5rem solid var(--grey); margin-bottom: .25rem; background: #1b2128; }
#recent li.good { border-color: var(--good); } #recent li.info { border-color: var(--info); } #recent li.warn { border-color: var(--warn); } #recent li.bad { border-color: var(--bad); }
#unsaved { padding: .8rem; border-radius: .6rem; font-weight: 700; text-align: center; }
#unsaved.alert { background: var(--bad); font-size: 1.3rem; } #unsaved.saving { background: #1b2128; }
footer { margin-top: auto; display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; }
button { font: inherit; padding: .9rem 1.4rem; border-radius: .7rem; border: 2px solid #3a424c; background: #1b2128; color: var(--fg); cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 3px solid #8ab4f8; }
#staff-panel, #enrol { max-width: 28rem; margin: 3rem auto; }
input { font: inherit; padding: .8rem; border-radius: .6rem; border: 2px solid #3a424c; background: #0b0e11; color: var(--fg); width: 100%; margin: .4rem 0 .8rem; }
#switching, #resume { position: fixed; inset: 0; background: rgba(0,0,0,.88); display: flex; align-items: center; justify-content: center; font-size: 2rem; z-index: 10; }
.sink { position: fixed; left: -1000px; top: 0; width: 1px; height: 1px; opacity: 0; }
