/* Кабинет помощника (/helper/) — тёплая editorial-тема. Spectral (дисплей) + Golos Text (текст),
   оба нативно кириллические. Светлый кремовый фон, оранжевый — редкий акцент. Mobile-first. */
:root {
    --hp-paper: #F7F3EC;
    --hp-surface: #FFFFFF;
    --hp-ink: #211D18;
    --hp-muted: #7C746A;
    --hp-faint: #A79E92;
    --hp-line: #E7E0D5;
    --hp-hairline: #EFE9DF;
    --hp-accent: #E8500E;
    --hp-accent-soft: #FBEEE6;
    --hp-green: #17864A;
    --hp-green-soft: #E7F2EA;
    --hp-r: 18px;
    --hp-r-sm: 12px;
    --hp-shadow: 0 1px 2px rgba(33,29,24,.04), 0 22px 44px -28px rgba(33,29,24,.30);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--hp-paper); color: var(--hp-ink);
    font-family: "Golos Text", system-ui, -apple-system, sans-serif;
    font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: var(--hp-accent); }
h1, h2, h3 { font-family: "Spectral", Georgia, serif; font-weight: 600; letter-spacing: -.01em; }

/* Шапка */
.hp-top { border-bottom: 1px solid var(--hp-line); background: color-mix(in srgb, var(--hp-paper) 82%, #fff); }
.hp-top-in { max-width: 680px; margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; }
.hp-brand { font-family: "Spectral", serif; font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.hp-sub { font-family: "Golos Text", sans-serif; color: var(--hp-muted); font-weight: 500; font-size: 13px; margin-left: 8px; }
.hp-logout { font-size: 14px; text-decoration: none; color: var(--hp-muted); }
.hp-logout:hover { color: var(--hp-ink); }

.hp-main { max-width: 680px; margin: 0 auto; padding: 32px 20px 64px; }
.hp-foot { max-width: 680px; margin: 0 auto; padding: 28px 20px 48px; color: var(--hp-faint); font-size: 13px; text-align: center; }

/* Общие */
.hp-h1 { font-size: clamp(28px, 6vw, 38px); line-height: 1.1; margin: 0 0 10px; }
.hp-lead { color: var(--hp-muted); margin: 0 0 26px; max-width: 52ch; }
.hp-note { padding: 14px 16px; border-radius: var(--hp-r-sm); background: #fff; border: 1px solid var(--hp-line); color: var(--hp-muted); font-size: 15px; margin: 14px 0; }
.hp-ok { background: var(--hp-green-soft); border-color: transparent; color: var(--hp-green); }
.hp-err { background: #FBEBE9; border-color: transparent; color: #C0392B; }

/* Вход */
.hp-card { background: var(--hp-surface); border: 1px solid var(--hp-line); border-radius: var(--hp-r); padding: 36px 30px; box-shadow: var(--hp-shadow); }
.hp-narrow { max-width: 420px; margin: 36px auto; }
.hp-field { display: block; margin-bottom: 18px; }
.hp-field span { display: block; font-size: 13px; color: var(--hp-muted); margin-bottom: 8px; }
.hp-field input { width: 100%; padding: 14px 16px; border: 1px solid var(--hp-line); border-radius: var(--hp-r-sm); font-size: 16px; font-family: inherit; background: #fff; color: var(--hp-ink); transition: border-color .15s, box-shadow .15s; }
.hp-field input:focus { outline: none; border-color: var(--hp-accent); box-shadow: 0 0 0 4px var(--hp-accent-soft); }
.hp-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.hp-btn { width: 100%; background: var(--hp-accent); color: #fff; border: none; border-radius: var(--hp-r-sm); padding: 15px; font-size: 16px; font-weight: 600; font-family: inherit; cursor: pointer; transition: transform .18s cubic-bezier(.2,.8,.2,1), background .18s, box-shadow .18s; box-shadow: 0 10px 24px -12px rgba(232,80,14,.6); }
.hp-btn:hover { background: #D5480C; transform: translateY(-1px); }
.hp-btn:active { transform: translateY(0); }

/* Домашняя */
.hp-home > .hp-h1 { margin-bottom: 6px; }
.hp-event { background: var(--hp-surface); border: 1px solid var(--hp-line); border-radius: var(--hp-r); padding: 22px; margin-bottom: 18px; box-shadow: var(--hp-shadow); }
.hp-event-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.hp-event-name { font-family: "Spectral", serif; font-size: 21px; font-weight: 600; line-height: 1.2; }
.hp-event-meta { color: var(--hp-muted); font-size: 14px; margin-top: 5px; }
.hp-event-role { color: var(--hp-ink); font-size: 14px; margin-top: 6px; font-weight: 500; }
.hp-progress { flex: 0 0 auto; display: inline-flex; align-items: baseline; gap: 3px; background: var(--hp-accent-soft); color: var(--hp-accent); font-weight: 700; border-radius: 999px; padding: 6px 14px; font-size: 14px; font-variant-numeric: tabular-nums; }

.hp-checklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hp-hairline); }
.hp-checklist li form { margin: 0; }
.hp-check { width: 100%; display: flex; align-items: center; gap: 14px; background: transparent; border: none; border-bottom: 1px solid var(--hp-hairline); padding: 15px 4px; cursor: pointer; text-align: left; font-family: inherit; font-size: 16px; color: var(--hp-ink); transition: padding-left .18s ease; }
.hp-check:hover { padding-left: 8px; }
.hp-checklist li:last-child .hp-check { border-bottom: none; }
.hp-check-box { flex: 0 0 auto; width: 26px; height: 26px; border: 2px solid var(--hp-line); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; font-weight: 700; transition: background .18s, border-color .18s, transform .18s cubic-bezier(.2,1.4,.4,1); }
.hp-check.is-done .hp-check-box { background: var(--hp-green); border-color: var(--hp-green); transform: scale(1.05); }
.hp-check.is-done .hp-check-label { color: var(--hp-faint); text-decoration: line-through; text-decoration-color: var(--hp-line); }

@media (max-width: 480px) {
    .hp-event-head { flex-direction: column; }
    .hp-card { padding: 28px 22px; }
}
