/* kundenverwaltung.eu – Demo */
:root {
  --bg: #F4F6F9; --card: #FFFFFF; --line: #E3E8EF; --line-soft: #EEF2F7;
  --text: #1F2937; --strong: #111827; --muted: #5B6474; --text2: #3D4656;
  --blue: #2563EB; --blue-d: #1D5FD1; --blue-dd: #174EA8; --blue-l: #E6F0FC; --blue-b: #CFE0F8;
  --green: #1E7A46; --green-l: #E3F4EA; --orange: #A4520B; --orange-l: #FDF0E1;
  --red: #B42318; --red-l: #FDECEA; --purple: #6941C6; --purple-l: #F1ECFD;
  --r: 12px; --shadow: 0 1px 2px rgba(17,24,39,.04), 0 8px 24px rgba(17,24,39,.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* , *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--text); background: var(--bg); }
a { color: var(--blue-d); text-underline-offset: 3px; }
a:hover { color: var(--blue-dd); }
h1, h2, h3 { color: var(--strong); line-height: 1.25; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: 26px; }
h2 { font-size: 16px; font-weight: 600; }
h3 { font-size: 15px; font-weight: 600; }
p { margin: 0 0 .8em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.mt { margin-top: 16px; }
.mt-lg { margin-top: 28px; }
.grow { flex: 1; min-width: 0; }
.inline { display: inline; }
:focus-visible { outline: 3px solid #93B8F3; outline-offset: 2px; border-radius: 6px; }
svg { flex: none; }

/* ---------- Demo-Leiste ---------- */
.demo-bar { background: #111827; color: #E5E9F0; font-size: 13px; padding: 8px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.demo-bar b { color: #fff; }
.demo-actions { display: flex; align-items: center; gap: 14px; }
.link-btn { background: none; border: 0; color: #C9D3E1; font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; }
.link-btn:hover { color: #fff; }
.demo-cta { color: #93E0B4; font-weight: 600; text-decoration: none; }
.demo-cta:hover { color: #B8EDCC; }

/* ---------- Grundlayout ---------- */
.app { display: flex; min-height: calc(100vh - 37px); }
.sidebar { width: 252px; flex: none; background: #fff; border-right: 1px solid var(--line); padding: 18px 14px; display: flex; flex-direction: column; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--strong); font-weight: 750; font-size: 17px; padding: 4px 8px; letter-spacing: -0.02em; }
.brand:hover { color: var(--strong); }
.brand .tld { color: var(--blue-d); }
.sidebar nav { display: flex; flex-direction: column; gap: 2px; }
.nav-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--text2); font-weight: 500; min-height: 42px; }
.nav-link:hover { background: var(--bg); color: var(--strong); }
.nav-link.active { background: var(--blue-l); color: var(--blue-d); font-weight: 600; }
.nav-link .count { margin-left: auto; font-size: 12px; font-weight: 600; background: var(--blue-l); color: var(--blue-d); border-radius: 10px; padding: 1px 8px; }
.nav-link.active .count { background: #fff; }
.sidebar-bottom { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.plan { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.plan b { color: var(--strong); }
.plan span { color: var(--muted); font-size: 12px; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 28px; }
.search { position: relative; flex: 1 1 260px; max-width: 460px; }
.search svg { position: absolute; left: 13px; top: 13px; color: var(--muted); }
.search input { width: 100%; height: 44px; border: 1px solid #DCE2EA; border-radius: 10px; padding: 0 14px 0 40px; font: inherit; background: #fff; color: var(--text); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; }
.content { padding: 4px 28px 48px; display: flex; flex-direction: column; gap: 20px; }

@media (max-width: 900px) {
  .sidebar { position: fixed; z-index: 40; top: 0; bottom: 0; left: 0; transform: translateX(-105%); transition: transform .2s; box-shadow: var(--shadow); overflow-y: auto; }
  .sidebar.open { transform: none; }
  .menu-btn { display: inline-flex; }
  .topbar { padding: 12px 16px; }
  .content { padding: 4px 16px 40px; }
  .topbar .btn span { display: none; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 10px; border: 1px solid #D3DAE4; background: #fff; color: var(--strong); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: #AFC3DE; color: var(--blue-d); }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-d); border-color: var(--blue-d); color: #fff; }
.btn-danger { color: var(--red); }
.btn-danger:hover { border-color: #F3B6B0; color: var(--red); background: var(--red-l); }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn-lg { min-height: 50px; padding: 0 24px; font-size: 16px; }
.icon-btn { width: 42px; height: 42px; border: 1px solid #DCE2EA; border-radius: 10px; background: #fff; color: var(--text2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn:hover { color: var(--blue-d); }
.icon-btn-sm { width: 32px; height: 32px; border-radius: 8px; }

.dropdown { position: relative; }
.dropdown summary { list-style: none; }
.dropdown summary::-webkit-details-marker { display: none; }
.dropdown-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; min-width: 200px; display: flex; flex-direction: column; }
.dropdown-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--text); text-decoration: none; }
.dropdown-menu a:hover { background: var(--bg); color: var(--blue-d); }

/* ---------- Bausteine ---------- */
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.page-head p { margin: 4px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.card-head a { font-size: 13px; font-weight: 600; text-decoration: none; }
.card-flush { padding: 0; overflow: hidden; }
.card-blue { background: #EAF2FD; border-color: var(--blue-b); }
.row { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.col-2 { flex: 2 1 420px; min-width: 0; }
.col-1 { flex: 1 1 300px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }
a.kpi:hover { border-color: var(--blue-b); color: inherit; }
.kpi .label { font-size: 13px; color: var(--muted); font-weight: 500; }
.kpi .value { font-size: 26px; font-weight: 700; color: var(--strong); letter-spacing: -0.02em; }
.kpi .sub { font-size: 13px; color: var(--text2); }
.flash { background: var(--green-l); color: #14532D; border: 1px solid #BFE5CC; border-radius: 10px; padding: 11px 14px; display: flex; gap: 10px; align-items: center; }
.empty { padding: 32px 20px; text-align: center; color: var(--muted); }
.notice { background: var(--blue-l); border: 1px solid var(--blue-b); border-radius: 10px; padding: 12px 16px; color: #2B3A52; font-size: 14px; }
.notice-orange { background: var(--orange-l); border-color: #F5D3AE; color: #6B3A08; }

.badge { display: inline-block; font-size: 12px; font-weight: 600; border-radius: 6px; padding: 2px 8px; white-space: nowrap; }
.badge-gray { color: var(--text2); background: var(--line-soft); }
.badge-blue { color: var(--blue-d); background: var(--blue-l); }
.badge-green { color: var(--green); background: var(--green-l); }
.badge-orange { color: var(--orange); background: var(--orange-l); }
.badge-red { color: var(--red); background: var(--red-l); }
.badge-purple { color: var(--purple); background: var(--purple-l); }

.avatar { width: 30px; height: 30px; border-radius: 50%; background: #DCEAFB; color: var(--blue-d); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.avatar-lg { width: 40px; height: 40px; font-size: 14px; }
.avatar-xl { width: 64px; height: 64px; font-size: 22px; font-weight: 700; }

/* ---------- Tabellen ---------- */
.table-box { position: relative; overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); background: #F9FAFC; padding: 11px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 11px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #FAFCFF; }
.table th:first-child, .table td:first-child { padding-left: 18px; }
.table th:last-child, .table td:last-child { padding-right: 18px; }
.table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table tfoot td { font-weight: 700; color: var(--strong); background: #F9FAFC; border-top: 1px solid var(--line); }
.name-cell { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--strong); font-weight: 600; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 0 13px; border: 1px solid #DCE2EA; border-radius: 17px; background: #fff; color: var(--text2); font-size: 13px; text-decoration: none; }
.chip:hover { border-color: var(--blue-b); color: var(--blue-d); }
.chip.active { background: var(--blue-l); border-color: var(--blue-b); color: var(--blue-d); font-weight: 600; }

/* ---------- Formulare ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-size: 13px; font-weight: 600; color: var(--text2); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=time], input[type=search]:not(.search input), input:not([type]), select, textarea {
  font: inherit; color: var(--text); background: #fff; border: 1px solid #CBD3DE; border-radius: 9px; padding: 9px 12px; min-height: 42px; width: 100%;
}
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px #D6E5FB; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.span-2 { grid-column: span 2; }
.span-all { grid-column: 1 / -1; }
@media (max-width: 700px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .span-2 { grid-column: auto; } }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500 !important; color: var(--text) !important; font-size: 14px !important; min-height: 42px; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.form-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.form-actions .right-side { margin-left: auto; }
fieldset { border: 0; margin: 0; padding: 0; }

/* ---------- Dashboard ---------- */
.bars { display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 120px; align-items: center; gap: 12px; font-size: 13px; }
.bar { height: 10px; border-radius: 6px; background: var(--line-soft); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; }
.task-list { display: flex; flex-direction: column; }
.task-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.task-item:last-child { border-bottom: 0; }
.task-item input { width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.task-item .t { flex: 1; min-width: 0; }
.task-item.done .t-title { color: var(--muted); text-decoration: line-through; }
.task-item .t-meta { font-size: 12px; color: var(--muted); }
.feed { display: flex; flex-direction: column; gap: 14px; }
.feed-item { display: flex; gap: 12px; align-items: flex-start; }
.feed-ic { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex: none; background: var(--line-soft); color: var(--text2); }
.feed-ic.blue { background: var(--blue-l); color: var(--blue-d); }
.feed-ic.green { background: var(--green-l); color: var(--green); }
.feed-ic.orange { background: var(--orange-l); color: var(--orange); }
.feed-text { font-size: 14px; color: var(--text); }
.feed-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ---------- Pipeline ---------- */
.board-wrap { position: relative; overflow-x: auto; padding-bottom: 8px; }
.board { display: grid; grid-template-columns: repeat(6, minmax(250px, 1fr)); gap: 14px; min-width: 1560px; }
.column { background: #EAEFF5; border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 10px; min-height: 240px; }
.column.drop { outline: 2px dashed var(--blue); outline-offset: -2px; background: #E1EBF8; }
.column-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 0; }
.column-head h2 { font-size: 14px; }
.column-line { height: 4px; border-radius: 2px; }
.deal-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 13px; display: flex; flex-direction: column; gap: 6px; cursor: grab; text-decoration: none; color: inherit; }
.deal-card:hover { border-color: var(--blue-b); color: inherit; box-shadow: var(--shadow); }
.deal-card.dragging { opacity: .5; }
.deal-card .d-title { font-weight: 600; color: var(--strong); font-size: 14px; text-decoration: none; }
.deal-card .d-title:hover { color: var(--blue-d); text-decoration: underline; }
.deal-card .d-firm { font-size: 13px; color: var(--text2); }
.deal-card .d-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.deal-card .d-value { font-weight: 700; color: var(--strong); font-size: 14px; }
.stage-select { display: none; }
@media (hover: none) { .stage-select { display: block; } }

/* ---------- Kontakt-Detail ---------- */
.profile { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.dl { display: grid; gap: 12px; }
.dl div { display: flex; flex-direction: column; gap: 2px; }
.dl dt { font-size: 12px; color: var(--muted); }
.dl dd { margin: 0; font-size: 14px; color: var(--text); overflow-wrap: anywhere; }
.tabs { position: relative; display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; padding: 0 12px; }
.tabs a { padding: 13px 12px; text-decoration: none; color: var(--text2); border-bottom: 2px solid transparent; white-space: nowrap; font-size: 14px; }
.tabs a.active { color: var(--blue-d); border-bottom-color: var(--blue); font-weight: 600; }
.note-box { background: #F9FAFC; border: 1px solid var(--line-soft); border-radius: 9px; padding: 9px 12px; margin-top: 6px; white-space: pre-line; }

/* ---------- Kalender ---------- */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cal-h { font-size: 12px; font-weight: 600; color: var(--muted); padding: 8px 10px; background: #F9FAFC; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cal-d { min-height: 112px; padding: 6px 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cal-d.other { background: #FAFBFC; }
.cal-d.other .cal-n { color: #A7B0BD; }
.cal-n { font-size: 13px; font-weight: 600; color: var(--text2); }
.cal-d.today .cal-n { background: var(--blue); color: #fff; border-radius: 10px; padding: 0 7px; align-self: flex-start; }
.cal-e { font-size: 12px; border-radius: 5px; padding: 2px 6px; background: var(--blue-l); color: var(--blue-dd); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-e.task { background: var(--orange-l); color: #7A3C05; }
@media (max-width: 760px) { .cal-d { min-height: 70px; } .cal-e { font-size: 10px; } }

/* ---------- Belege ---------- */
.items td { vertical-align: top; }
.items input, .items select { min-height: 38px; padding: 7px 9px; }
.items .w-qty { width: 90px; }
.items .w-unit { width: 100px; }
.items .w-price { width: 130px; }
.items .w-vat { width: 100px; }
.totals { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; padding: 16px 22px; }
.totals div { display: flex; gap: 32px; }
.totals span:last-child { min-width: 120px; text-align: right; font-variant-numeric: tabular-nums; }
.totals .grand { font-size: 18px; font-weight: 700; color: var(--strong); border-top: 1px solid var(--line); padding-top: 8px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; border: 1px solid #CBD3DE; border-radius: 10px; padding: 11px 13px; cursor: pointer; }
.radio-card input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--blue); }
.radio-card:has(input:checked) { border: 2px solid var(--blue); padding: 10px 12px; background: #F3F8FE; }
.radio-card b { display: block; color: var(--strong); font-size: 14px; }
.radio-card small { color: var(--text2); font-size: 12px; }

/* ---------- Berichte ---------- */
.vbars { display: flex; align-items: flex-end; gap: 10px; height: 200px; padding-top: 10px; }
.vbar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; min-width: 0; }
.vbar i { display: block; width: 100%; max-width: 46px; background: var(--blue); border-radius: 6px 6px 0 0; min-height: 2px; }
.vbar i.light { background: #A9C8F5; }
.vbar span { font-size: 11px; color: var(--muted); white-space: nowrap; }
.vbar b { font-size: 11px; color: var(--text2); font-weight: 600; white-space: nowrap; }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* ---------- Automationen ---------- */
.auto { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line-soft); }
.auto:last-child { border-bottom: 0; }
.auto .flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--text2); margin-top: 6px; }
.switch { position: relative; width: 46px; height: 26px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.switch span { position: absolute; inset: 0; background: #CBD3DE; border-radius: 13px; transition: background .15s; pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--blue); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { box-shadow: 0 0 0 3px #93B8F3; }

/* ---------- Einrichtung ---------- */
.setup-body { background: linear-gradient(#fff, var(--bg) 320px); }
.setup { max-width: 820px; margin: 0 auto; padding: 40px 20px 60px; display: flex; flex-direction: column; gap: 16px; }
.brand-lg { font-size: 22px; padding: 0; align-self: flex-start; margin-bottom: 12px; }
.setup h1 { font-size: 30px; }
.setup-card { padding: 8px 28px 28px; box-shadow: var(--shadow); }
.step { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.step h2 { margin-bottom: 10px; font-size: 17px; }
.step-no { width: 30px; height: 30px; border-radius: 50%; background: var(--blue-l); color: var(--blue-d); font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice label { display: flex; align-items: center; gap: 10px; border: 1px solid #CBD3DE; border-radius: 10px; padding: 12px 14px; cursor: pointer; font-weight: 500; min-height: 50px; height: 100%; }
.choice input:checked + label { border: 2px solid var(--blue); background: #F3F8FE; padding: 11px 13px; color: var(--blue-dd); }
.choice input:focus-visible + label { box-shadow: 0 0 0 3px #D6E5FB; }
.setup-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-top: 22px; }

/* ---------- Hilfe ---------- */
.help-btn { background: #fff; }
.help-btn svg { color: var(--blue); }
.help-panel { width: min(400px, calc(100vw - 32px)); max-height: min(70vh, 560px); overflow-y: auto; padding: 18px 18px 12px; font-size: 14px; line-height: 1.55; color: var(--text); display: block; }
.help-panel h2 { font-size: 16px; margin: 0 0 6px; }
.help-panel p { margin: 0 0 10px; }
.help-steps { margin: 0 0 12px; padding-left: 1.3em; display: grid; gap: 6px; }
.help-steps li::marker { color: var(--blue); font-weight: 700; }
.help-tip { display: flex; gap: 8px; align-items: flex-start; background: var(--blue-l); color: var(--blue-dd); border-radius: 10px; padding: 9px 11px; font-size: 13px; }
.help-tip svg { flex: none; margin-top: 2px; }
.dropdown-menu a.help-all { border-top: 1px solid var(--line); border-radius: 0; margin-top: 4px; padding: 10px 0 4px; color: var(--blue-d); font-weight: 600; }
.help-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; align-items: start; }
.help-item { border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.help-item summary { cursor: pointer; padding: 10px 14px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.help-item summary::-webkit-details-marker { display: none; }
.help-item summary::after { content: "+"; color: var(--blue); font-size: 18px; font-weight: 500; }
.help-item[open] summary::after { content: "–"; }
.help-body { padding: 0 14px 12px; font-size: 14px; line-height: 1.55; }
.help-body > p { margin: 0 0 8px; }
@media (max-width: 760px) { .help-btn span { display: none; } .help-drop { position: static; } .help-drop .dropdown-menu { left: 12px; right: 12px; top: calc(100% - 4px); width: auto; max-height: 72vh; } }
