/* SE Review — Design nach Handoff "SE Review Editor" (High-Fidelity) */
:root {
  --se-red: #d0253c;
  --se-red-hover: #b41f34;
  --se-black: #191919;
  --se-text2: #4a4340;
  --se-muted: #8d817b;
  --se-body: #25201e;
  --se-beige: #faf6f4;
  --se-blue: #eff7fb;
  --se-blue-border: #d9e9f2;
  --se-blue-text: #3c5a6b;
  --se-red-light: #fbefef;
  --se-green: #f2f8f8;
  --se-success: #4fb06d;
  --border-card: #eee6e1;
  --border-btn: #e2d9d4;
  --border-inner: #f2ece8;
  --ui-font: "Articulat CF", "Hanken Grotesk", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --doc-font: "Source Serif 4", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--se-beige); color: var(--se-black); font-family: var(--ui-font); }
.boot { padding: 4rem; text-align: center; color: var(--se-muted); }

/* ---------- Fixed top chrome (Google-Docs-Stil) ---------- */
.chrome {
  position: sticky; top: 0; z-index: 40;
  background: #fff; border-bottom: 1px solid var(--border-btn);
}
.topbar {
  background: #fff;
  min-height: 60px; padding: 8px 24px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
@media (max-width: 700px) { .topbar { padding: 8px 14px; } }
.topbar .brand {
  font-weight: 800; font-size: 20px; color: var(--se-red);
  text-decoration: none; white-space: nowrap; letter-spacing: -0.01em;
}
.topbar .review-pill {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--se-muted); border: 1px solid var(--border-btn); border-radius: 999px;
  padding: 3px 10px; white-space: nowrap;
}
.topbar .doc-title {
  font-size: 13.5px; font-weight: 600; color: var(--se-text2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  flex: 1; min-width: 120px;
}
.topbar .draft-chip {
  font-size: 11px; font-weight: 600; color: var(--se-muted);
  background: var(--se-beige); border-radius: 6px; padding: 3px 8px; white-space: nowrap;
}
.presence {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--se-beige); border-radius: 999px; padding: 4px 12px 4px 4px;
}
.presence.me { background: var(--se-green); }
.presence .avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--se-red); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.presence.me .avatar { background: var(--se-success); }
.presence .label { font-size: 12px; font-weight: 600; color: var(--se-text2); white-space: nowrap; }
.presence .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--se-success); }

/* ---------- Lock strip ---------- */
.lockstrip {
  background: var(--se-blue); border-bottom: 1px solid var(--se-blue-border);
  text-align: center; padding: 8px 16px;
  font-size: 12.5px; font-weight: 500; color: var(--se-blue-text);
}
.lockstrip::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--se-red); margin-right: 8px; vertical-align: 1px;
}

/* ---------- Workspace ---------- */
.layout {
  max-width: 1360px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 28px;
  padding: 28px clamp(14px, 3vw, 32px) 64px;
}
.doc-col { flex: 999 1 520px; min-width: 0; }
.sidebar { flex: 1 1 300px; max-width: 420px; display: flex; flex-direction: column; gap: 16px; }

/* ---------- Toolbar (in der Chrome, Vollbreiten-Pille) ---------- */
.toolbar-wrap { padding: 0 clamp(10px, 2vw, 16px) 10px; background: #fff; }
.toolbar {
  display: flex; align-items: center; gap: 2px; flex-wrap: wrap;
  background: var(--se-beige); border-radius: 999px;
  padding: 4px 12px;
}
.toolbar .ro-chip {
  display: none; align-items: center; gap: 6px; height: 32px;
  background: var(--se-blue); color: var(--se-blue-text);
  font-size: 12px; font-weight: 700; border-radius: 999px; padding: 0 12px;
}
.toolbar .ro-chip svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.toolbar.locked .ro-chip { display: inline-flex; }
.toolbar .ro-div { display: none; }
.toolbar.locked .ro-div { display: block; }
.toolbar.locked button { pointer-events: none; cursor: default; }
.toolbar .tb-divider { width: 1px; height: 18px; background: var(--border-btn); margin: 0 4px; }
.toolbar button {
  width: 34px; height: 34px; border: none; background: transparent;
  border-radius: 7px; cursor: pointer; color: var(--se-black);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--ui-font); font-size: 14px;
}
.toolbar button:hover { background: #f0e8e3; }
.toolbar button.active { background: var(--se-red); color: #fff; }
.toolbar button.active svg { stroke: #fff; }
.toolbar button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.toolbar .glyph-b { font-weight: 800; }
.toolbar .glyph-i { font-style: italic; font-weight: 500; }
.toolbar .glyph-u { text-decoration: underline; font-weight: 600; }
.toolbar .glyph-h { font-weight: 700; font-size: 13.5px; }

/* ---------- Article card ---------- */
.sheet {
  background: #fff; border: 1px solid var(--border-card); border-radius: 16px;
  box-shadow: 0 2px 6px rgba(25,25,25,0.03);
  padding: clamp(28px, 5vw, 72px) clamp(24px, 6vw, 84px) clamp(40px, 7vw, 96px);
}
.kicker {
  font-family: var(--ui-font); margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.kicker .meta { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--se-muted); }

.ProseMirror {
  font-family: var(--doc-font);
  font-size: 18.5px; line-height: 1.65; color: var(--se-body);
  outline: none; min-height: 50vh;
}
.ProseMirror p { margin: 0 0 24px; }
.ProseMirror h1.se-title {
  font-size: clamp(28px, 4.5vw, 44px); font-weight: 700; line-height: 1.12;
  color: var(--se-black); margin: 0 0 18px; letter-spacing: -0.01em;
}
.ProseMirror p.se-standfirst {
  font-size: clamp(17px, 2.2vw, 21px); line-height: 1.45; color: var(--se-text2);
  margin: 0 0 26px; font-weight: 400;
}
.ProseMirror section.se-insights {
  background: var(--se-beige); border-radius: 12px;
  padding: 28px 32px 18px; margin: 0 0 32px; border: none;
}
.ProseMirror section.se-insights::before {
  content: "Key Insights";
  display: block; font-family: var(--ui-font);
  font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--se-red); margin-bottom: 14px;
}
.ProseMirror section.se-insights ul { margin: 0; padding-left: 0; list-style: none; }
.ProseMirror section.se-insights li {
  position: relative; padding-left: 20px; margin-bottom: 12px;
  font-size: 16.5px; line-height: 1.5;
}
.ProseMirror section.se-insights li::before {
  content: ""; position: absolute; left: 2px; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--se-red);
}
.ProseMirror section.se-insights p { margin: 0; }
.ProseMirror h2 { font-size: 26px; margin: 1.5em 0 0.6em; color: var(--se-black); }
.ProseMirror h3 { font-size: 21px; margin: 1.3em 0 0.5em; color: var(--se-black); }
.ProseMirror a { color: var(--se-red); }
.ProseMirror u { text-decoration: underline; }
.ProseMirror blockquote {
  border-left: 3px solid var(--se-red); margin: 1em 0 24px; padding: 2px 0 2px 20px; color: var(--se-text2);
}
.ProseMirror img { max-width: 100%; height: auto; border-radius: 8px; }
.ProseMirror table { border-collapse: collapse; width: 100%; margin: 0 0 24px; font-size: 16px; }
.ProseMirror td, .ProseMirror th { border: 1px solid var(--border-btn); padding: 8px 10px; vertical-align: top; }
.ProseMirror th { background: var(--se-beige); font-family: var(--ui-font); font-size: 13px; }
.ProseMirror .tableWrapper { overflow-x: auto; }
.ProseMirror .selectedCell { background: var(--se-blue); }

/* ---------- Suggestions im Text ---------- */
.ProseMirror ins {
  background: var(--se-green); text-decoration: none;
  border-bottom: 2px solid var(--se-success); color: inherit;
}
.ProseMirror del {
  background: var(--se-red-light);
  text-decoration: line-through; text-decoration-color: var(--se-red);
  color: #7c2733;
}

/* Platzhalter */
.ProseMirror [data-placeholder].is-empty::before {
  content: attr(data-placeholder);
  color: #c4bab3; pointer-events: none; height: 0; float: left; font-style: normal;
}

/* ---------- Bubble ---------- */
.bubble {
  position: absolute; z-index: 60; display: none;
  background: var(--se-black); border-radius: 8px; padding: 4px 5px; gap: 2px;
  box-shadow: 0 6px 24px rgba(25,25,25,0.28);
}
.bubble.show { display: flex; }
.bubble button {
  background: transparent; border: none; color: #fff;
  font-family: var(--ui-font); font-size: 13px;
  padding: 5px 9px; border-radius: 5px; cursor: pointer;
}
.bubble button:hover { background: rgba(255,255,255,0.14); }
.bubble button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.bubble .glyph-b { font-weight: 800; }
.bubble .glyph-i { font-style: italic; font-weight: 500; }
.bubble .glyph-u { text-decoration: underline; font-weight: 600; }
.bubble .glyph-h { font-weight: 700; font-size: 12px; }
.bubble button.active { background: var(--se-red); }

/* ---------- Sidebar-Karten ---------- */
.panel {
  background: #fff; border: 1px solid var(--border-card); border-radius: 14px;
  padding: 18px 18px 16px;
}
.panel h3 {
  margin: 0 0 14px; font-size: 12px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--se-black);
  display: flex; align-items: center; gap: 8px;
}
.panel h3 .count {
  font-size: 11px; font-weight: 700; color: var(--se-red);
  background: var(--se-red-light); border-radius: 999px; padding: 1px 8px;
  letter-spacing: 0;
}
.panel .btnrow { display: flex; gap: 8px; flex-wrap: wrap; }
.btn {
  font-family: var(--ui-font); border-radius: 9px; padding: 9px 14px;
  font-size: 13px; font-weight: 700; cursor: pointer;
  border: 1px solid var(--border-btn); background: #fff; color: var(--se-black);
}
.btn:hover { background: var(--se-beige); }
.btn.primary { background: var(--se-red); border-color: var(--se-red); color: #fff; }
.btn.primary:hover { background: var(--se-red-hover); border-color: var(--se-red-hover); }

/* Suggestion-Karten */
.sugg {
  border: 1px solid var(--border-card); border-left: 3px solid var(--se-red);
  border-radius: 10px; padding: 12px 12px 10px; margin-bottom: 10px; cursor: pointer;
}
.sugg .head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.sugg .avatar {
  width: 22px; height: 22px; border-radius: 50%; background: var(--se-red);
  color: #fff; font-size: 9.5px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sugg .who { font-size: 12.5px; font-weight: 700; color: var(--se-black); }
.sugg .when { font-size: 11px; color: var(--se-muted); margin-left: auto; }
.sugg .what { font-size: 13px; color: var(--se-text2); margin: 0 0 10px; line-height: 1.45; }
.sugg .what ins, .sugg .what del { font-family: var(--doc-font); padding: 0 3px; border-radius: 3px; }
.sugg .what ins { background: var(--se-green); text-decoration: none; }
.sugg .what del { background: var(--se-red-light); }
.sugg .actions { display: flex; gap: 6px; }
.sugg .actions button {
  font-family: var(--ui-font); font-size: 12px; font-weight: 700;
  padding: 6px 12px; border-radius: 7px; border: none; cursor: pointer;
}
.sugg .actions .ok { background: var(--se-black); color: #fff; }
.sugg .actions .ok:hover { background: #000; }
.sugg .actions .no { background: var(--se-red-light); color: var(--se-red); }
.sugg .actions .no:hover { background: #f7e0e0; }

.sugg-empty {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--se-text2);
}
.sugg-empty .check {
  width: 28px; height: 28px; border-radius: 50%; background: var(--se-green);
  color: var(--se-success); display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
}

/* Publish-Karte */
.autosave {
  display: flex; align-items: center; gap: 7px;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border-inner);
  font-size: 11.5px; color: var(--se-muted);
}
.autosave .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--se-success); }

/* Activity */
.activity-row { display: flex; align-items: baseline; gap: 8px; font-size: 12px; color: var(--se-text2); margin-bottom: 9px; }
.activity-row .dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; position: relative; top: -1px; }
.activity-row b { color: var(--se-black); }
.activity-row .when { color: var(--se-muted); margin-left: auto; white-space: nowrap; }

/* ---------- Hinweise / Modal / Admin ---------- */
.banner {
  background: var(--se-blue); border: 1px solid var(--se-blue-border);
  border-radius: 10px; padding: 10px 14px; margin: 0 auto 16px; max-width: 760px;
  font-size: 13px; color: var(--se-blue-text);
}
.banner.warn { background: var(--se-red-light); border-color: #f0c8cd; color: #7c2733; }
.author-hint { max-width: 1360px; margin: 14px auto 0; padding: 0 clamp(14px,3vw,32px); font-size: 13px; color: var(--se-muted); }

.modal-bg { position: fixed; inset: 0; background: rgba(25,25,25,0.35); display: flex; align-items: center; justify-content: center; z-index: 80; }
.modal { background: #fff; border-radius: 14px; padding: 26px 28px; max-width: 430px; width: 92%; box-shadow: 0 8px 40px rgba(25,25,25,0.25); }
.modal h2 { margin: 0 0 8px; font-size: 18px; }
.modal p { margin: 0 0 16px; font-size: 13.5px; color: var(--se-text2); }
.modal input { width: 100%; padding: 10px 12px; font-size: 15px; border: 1px solid var(--border-btn); border-radius: 8px; font-family: var(--ui-font); }
.modal input:focus { outline: 2px solid var(--se-red); }
.modal .btn { margin-top: 16px; width: 100%; }

.admin { max-width: 960px; margin: 2rem auto; padding: 0 1rem; }
.admin h1 { color: var(--se-red); font-size: 22px; font-weight: 800; }
.admin table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-card); }
.admin th, .admin td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border-inner); font-size: 13px; }
.admin th { background: var(--se-beige); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--se-muted); }
.linkchip {
  display: inline-block; background: var(--se-beige); border: 1px solid var(--border-btn);
  border-radius: 6px; padding: 2px 9px; margin: 2px 4px 2px 0; font-size: 12px; cursor: pointer;
}
.linkchip:hover { border-color: var(--se-red); color: var(--se-red); }
.linkchip.revoked { text-decoration: line-through; opacity: 0.5; }
textarea.newdoc { width: 100%; min-height: 140px; font-family: var(--doc-font); font-size: 15px; border: 1px solid var(--border-btn); border-radius: 10px; padding: 12px; }
.save-state { font-size: 12px; color: var(--se-muted); white-space: nowrap; }
.toolbar:empty { display: none; }

/* ---------- v3: Share-Button, Admin, Contributor ---------- */
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ui-font); font-size: 12px; font-weight: 700;
  color: var(--se-red); background: #fff; border: 1px solid var(--se-red);
  border-radius: 999px; padding: 6px 13px; cursor: pointer; white-space: nowrap;
}
.share-btn:hover { background: var(--se-red-light); }
.share-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.admin-col { max-width: 960px; margin: 0 auto; padding: 24px 16px 64px; display: flex; flex-direction: column; gap: 24px; }
.upload-card { border-radius: 16px; }
.dropzone {
  border: 2px dashed var(--border-btn); background: var(--se-beige);
  border-radius: 14px; padding: 36px; text-align: center; cursor: pointer;
}
.dropzone.drag { border-color: var(--se-red); background: var(--se-red-light); }
.dropzone .dz-icon { margin-bottom: 10px; }
.dropzone .dz-title { font-size: 14px; font-weight: 700; }
.dropzone .dz-hint { font-size: 12.5px; color: var(--se-muted); margin-top: 4px; }
.file-chip { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.ext-badge {
  background: var(--se-black); color: #fff; font-size: 10px; font-weight: 800;
  border-radius: 5px; padding: 3px 7px; letter-spacing: 0.06em;
}
.doc-row { padding: 14px 0; border-bottom: 1px solid var(--border-inner); }
.doc-row:last-child { border-bottom: none; }
.doc-name { font-size: 15px; font-weight: 700; }
.doc-meta { font-size: 11.5px; color: var(--se-muted); margin: 3px 0 10px; display: flex; gap: 8px; align-items: center; }
.status-pill { font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 9px; }
.doc-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pill-btn {
  display: inline-flex; align-items: center; gap: 5px;
  height: 30px; padding: 0 13px; border-radius: 999px;
  font-family: var(--ui-font); font-size: 11.5px; font-weight: 700; cursor: pointer;
}
.pill-btn svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.pill-btn.dark { background: var(--se-black); color: #fff; border: none; }
.pill-btn.dark:hover { background: #000; }
.pill-btn.outline { background: #fff; color: var(--se-red); border: 1px solid var(--se-red); }
.pill-btn.outline:hover { background: var(--se-red-light); }
.pill-btn.danger { background: var(--se-red-light); color: var(--se-red); border: none; }
.pill-btn.danger:hover { background: #f7e0e0; }
.pill-btn.red { background: var(--se-red); color: #fff; border: none; height: 34px; padding: 0 18px; font-size: 12.5px; }
.pill-btn.red:hover { background: #b41f34; }
.pill-btn.red:disabled { opacity: 0.6; cursor: default; }
.pill-btn.quiet { background: transparent; color: var(--se-muted); border: 1px solid var(--border-btn); font-weight: 600; font-size: 12px; text-decoration: none; }
.pill-btn.quiet:hover { background: var(--se-beige); color: var(--se-black); }
a.pill-btn.quiet { background: var(--se-beige); color: var(--se-black); font-weight: 700; font-size: 12.5px; padding: 0 15px; }
a.pill-btn.quiet:hover { background: #f0e8e3; }

/* Admin v4: Begrüßung + Kartenköpfe */
.admin-head h1 { margin: 0 0 6px; font-size: clamp(24px, 3.5vw, 30px); font-weight: 800; letter-spacing: -0.015em; color: var(--se-black); }
.admin-head p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--se-muted); }
.card-title { margin: 0 0 4px; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; color: var(--se-black); display: flex; align-items: center; gap: 10px; }
.card-title .count { font-size: 12px; font-weight: 700; color: var(--se-red); background: var(--se-red-light); border-radius: 999px; padding: 4px 11px; }
.card-sub { margin: 0 0 16px; font-size: 13px; line-height: 1.5; color: var(--se-muted); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head .card-title { margin: 0; }
.doc-name.serif { font-family: var(--serif-font, 'Source Serif 4', Georgia, serif); font-size: 18px; font-weight: 600; line-height: 1.35; text-wrap: pretty; }
.doc-row .doc-meta { margin: 6px 0 14px; font-size: 12px; }
.doc-row { padding: 22px 0; }
.doc-actions .pill-btn { height: 34px; font-size: 12.5px; padding: 0 15px; }
.doc-actions .pill-btn.dark { padding: 0 18px; }

/* „Editing finished“-Button (Topbar) */
.finish-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 16px;
  border: none; border-radius: 9px; background: var(--se-black); color: #fff;
  font-family: var(--ui-font); font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.finish-btn:hover { background: #000; }

/* Archiv-Seite */
.arch-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; }
.arch-head > div { flex: 1 1 300px; }
.arch-panel { padding: 0; overflow: hidden; }
.arch-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  padding: 16px clamp(16px, 3vw, 24px); border-bottom: 1px solid var(--border-inner);
}
.arch-selall { display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--se-black); }
.arch-selall input, .arch-check { width: 16px; height: 16px; accent-color: var(--se-red); cursor: pointer; }
.arch-summary { font-size: 12px; color: var(--se-muted); }
.arch-delete {
  font-family: var(--ui-font); height: 34px; font-size: 12.5px; font-weight: 700;
  color: #b3a79f; background: #f2ece8; border: none; border-radius: 999px; padding: 0 18px; cursor: default;
}
.arch-delete.armed { color: #fff; background: var(--se-red); cursor: pointer; }
.arch-delete.armed:hover { background: #b41f34; }
.arch-row {
  display: flex; align-items: center; gap: 14px;
  padding: 18px clamp(16px, 3vw, 24px); border-bottom: 1px solid var(--border-inner);
}
.arch-row:last-child { border-bottom: none; }
.arch-row.sel { background: var(--se-red-light); }
.arch-main { flex: 1; min-width: 0; }
.arch-main .doc-meta { margin: 5px 0 0; }

.contrib-row { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.contrib-row .avatar {
  width: 22px; height: 22px; border-radius: 50%; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9.5px; font-weight: 700;
}
.contrib-row .cname { font-size: 12.5px; font-weight: 600; }
.contrib-row .cpill { margin-left: auto; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 9px; }

/* Login (Single-User) */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card {
  width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--border-card);
  border-radius: 16px; padding: 36px 32px; box-shadow: 0 2px 6px rgba(25,25,25,0.03); text-align: center;
}
.login-brand { font-weight: 800; font-size: 22px; letter-spacing: -0.015em; color: var(--se-red); }
.login-pill {
  display: inline-block; margin: 8px 0 20px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--se-muted); border: 1px solid var(--border-btn);
  border-radius: 999px; padding: 3px 10px;
}
.login-card h1 { margin: 0 0 6px; font-size: 22px; font-weight: 800; color: var(--se-black); }
.login-card p { margin: 0 0 20px; font-size: 13.5px; color: var(--se-muted); line-height: 1.5; }
.login-card form { display: flex; flex-direction: column; gap: 10px; }
.login-card input {
  font-family: var(--ui-font); font-size: 14px; padding: 11px 14px;
  border: 1px solid var(--border-btn); border-radius: 9px; outline: none;
}
.login-card input:focus { border-color: var(--se-red); }
.login-card .btn.primary { width: 100%; justify-content: center; }
.login-error { margin-top: 12px; font-size: 12.5px; color: var(--se-red); min-height: 16px; }
