:root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --text: #172033;
    --muted: #64748b;
    --border: #dbe2ea;
    --primary: #1858a8;
    --primary-dark: #10427f;
    --danger: #b42318;
    --success: #157f3b;
    --warning: #9a6700;
    --shadow: 0 10px 30px rgba(15, 23, 42, .08);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); line-height: 1.5; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.topbar { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 5vw; background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.brand { font-weight: 800; color: var(--text); }
.topbar nav { display: flex; align-items: center; gap: 20px; font-size: .95rem; }
.container { width: min(1180px, 92vw); margin: 34px auto; }
.footer { color: var(--muted); text-align: center; padding: 30px; font-size: .85rem; }
h1, h2, h3 { line-height: 1.2; margin-top: 0; }
h1 { font-size: clamp(1.7rem, 3vw, 2.35rem); margin-bottom: .4rem; }
h2 { font-size: 1.2rem; }
.muted { color: var(--muted); }.small { font-size: .88rem; }.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; color: var(--muted); font-weight: 700; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 24px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.group-card { color: var(--text); transition: transform .15s, box-shadow .15s; }
.group-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(15,23,42,.12); }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.breadcrumbs { margin-bottom: 18px; font-size: .9rem; color: var(--muted); }
.auth-shell { min-height: 78vh; display: grid; place-items: center; }
.auth-card { width: min(440px, 94vw); background: #fff; padding: 34px; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); }
.auth-card.wide { width: min(720px, 94vw); }
label { display: grid; gap: 7px; font-weight: 650; margin-bottom: 16px; }
input, textarea, select { width: 100%; border: 1px solid #b8c3d1; border-radius: 9px; padding: 11px 12px; font: inherit; color: var(--text); background: #fff; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(24,88,168,.15); border-color: var(--primary); }
textarea { resize: vertical; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 15px; border-radius: 9px; border: 1px solid #b8c3d1; background: #fff; color: var(--text); font-weight: 750; cursor: pointer; font-size: .93rem; }
.button:hover { text-decoration: none; background: #f8fafc; }
.button-primary { background: var(--primary); color: white; border-color: var(--primary); }.button-primary:hover { background: var(--primary-dark); }
.button-danger { background: var(--danger); color: white; border-color: var(--danger); }.button-small { min-height: 34px; padding: 6px 11px; }.button-block { width: 100%; }
.button-stack { display: grid; gap: 9px; margin: 16px 0; }
.alert { padding: 13px 15px; border-radius: 10px; margin-bottom: 18px; border: 1px solid transparent; }
.alert-danger { background: #fff0ef; border-color: #fecaca; color: #8a1c13; }.alert-success { background: #edfdf2; border-color: #bbf7d0; color: #166534; }.alert-warning { background: #fff9e8; border-color: #fde68a; color: #854d0e; }
.text-success { color: var(--success); }.text-danger { color: var(--danger); }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; } th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); } th { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; } tr:last-child td { border-bottom: 0; }.actions { text-align: right; }
.status { display: inline-flex; padding: 4px 9px; border-radius: 999px; background: #e9eef5; font-size: .82rem; font-weight: 750; }.status-draft { background: #fff7d6; color: #805b00; }.status-finalized { background: #dcfce7; color: #166534; }.status-reopened { background: #e0e7ff; color: #3730a3; }
.empty-state { text-align: center; background: #fff; border: 1px dashed #b8c3d1; border-radius: 14px; padding: 50px 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.evaluation-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .85fr); gap: 22px; align-items: start; }
.feedback-column { position: sticky; top: 90px; }
fieldset { border: 0; padding: 0; margin: 0 0 25px; } legend { font-weight: 800; margin-bottom: 10px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 9px; }
.choice { display: flex; align-items: center; gap: 9px; margin: 0; padding: 11px; border: 1px solid var(--border); border-radius: 10px; font-weight: 550; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--primary); background: #eef5ff; }
.choice input { width: auto; margin: 0; }
.confirmation { display: flex; grid-template-columns: auto 1fr; align-items: start; gap: 10px; font-size: .9rem; font-weight: 550; }.confirmation input { width: auto; margin-top: 5px; }
.hidden { display: none !important; }.disabled-section { opacity: .45; pointer-events: none; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
code { background: #eef2f7; padding: 2px 5px; border-radius: 5px; }
@media (max-width: 850px) { .evaluation-layout { grid-template-columns: 1fr; }.feedback-column { position: static; }.topbar { align-items: flex-start; padding-top: 14px; padding-bottom: 14px; }.topbar nav { flex-wrap: wrap; justify-content: flex-end; }.page-heading { align-items: flex-start; flex-direction: column; } }
@media (max-width: 560px) { .container { width: min(94vw, 1180px); margin-top: 20px; }.card, .auth-card { padding: 18px; }.grid-2 { grid-template-columns: 1fr; }.choice-grid { grid-template-columns: 1fr; }.topbar nav span { display: none; } }
