:root {
  --navy: #0B2D64; --coral: #FF6B3D; --coral-dark: #E85A2C;
  --cream: #FAF6EF; --beige: #F1E9DC; --line: #E2D7C5; --ink: #1D2433; --muted: #5F6676;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Poppins", system-ui, sans-serif; background: var(--cream); color: var(--ink); font-size: 15px; line-height: 1.55; }
a { color: var(--navy); }
header.top { background: var(--navy); color: #fff; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { font-weight: 600; font-size: 19px; letter-spacing: .3px; color: #fff; text-decoration: none; }
.brand span { color: var(--coral); }
header.top nav { display: flex; gap: 10px; align-items: center; font-size: 14px; }
header.top nav a, header.top nav button { color: #fff; background: none; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; padding: 6px 12px; cursor: pointer; font: inherit; text-decoration: none; }
main { max-width: 980px; margin: 0 auto; padding: 28px 20px 60px; }
h1 { color: var(--navy); font-weight: 600; font-size: 26px; margin: 0 0 6px; }
h2 { color: var(--navy); font-weight: 600; font-size: 20px; margin: 0 0 12px; }
h3 { color: var(--navy); font-weight: 600; font-size: 16px; margin: 18px 0 8px; }
.sub { color: var(--muted); margin: 0 0 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; margin-bottom: 20px; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login { width: 100%; max-width: 400px; }
.login .brand { color: var(--navy); font-size: 24px; display: block; text-align: center; margin-bottom: 18px; }
label { display: block; font-size: 13px; font-weight: 500; margin: 12px 0 5px; color: var(--navy); }
input, select { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; font: inherit; background: #fff; }
input:focus, select:focus { outline: 2px solid var(--coral); border-color: transparent; }
button.btn { background: var(--coral-dark); color: #fff; border: 0; border-radius: 9px; padding: 10px 18px; font: inherit; font-weight: 600; cursor: pointer; }
button.btn:hover { background: #d14e22; }
button.btn.secondary { background: var(--navy); }
button.btn.ghost { background: none; color: var(--navy); border: 1px solid var(--line); font-weight: 500; }
button.btn.small { padding: 5px 11px; font-size: 13px; }
button:disabled { opacity: .55; cursor: wait; }
.full { width: 100%; margin-top: 18px; }
.msg { margin-top: 12px; font-size: 14px; min-height: 1em; }
.msg.err { color: #B3261E; } .msg.ok { color: #1F7A4A; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs button { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font: inherit; cursor: pointer; color: var(--navy); }
.tabs button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.phase { border-top: 1px solid var(--line); padding-top: 6px; }
.phase:first-of-type { border-top: 0; }
.item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.item:last-child { border-bottom: 0; }
.item .t { font-weight: 500; }
.tag { display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; background: var(--beige); color: var(--navy); border-radius: 6px; padding: 2px 7px; margin-right: 8px; }
.empty { color: var(--muted); font-style: italic; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; align-items: end; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--navy); font-weight: 600; font-size: 13px; }
.chk { display: inline-flex; align-items: center; gap: 5px; margin-right: 12px; font-size: 13px; white-space: nowrap; }
.chk input { width: auto; }
.player { position: relative; padding-top: 56.25%; margin-top: 10px; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }
audio { width: 100%; margin-top: 8px; }
footer { text-align: center; color: var(--muted); font-size: 12px; padding: 20px; }
