/* ============================================================
   FLORIN+ — Calculator Components  (Gold Standard v1)
   Shared styles for all /rechner pages.
   Requires: assets/styles.css (tokens, reset, nav, footer)

   HOW TO USE A NEW CALCULATOR:
   1. <link rel="stylesheet" href="assets/styles.css"/>
   2. <link rel="stylesheet" href="assets/calculator.css"/>
   3. Add a minimal <style> block with your calculator's accent color:
      :root { --calc-accent: #4c1d95; --calc-accent-dark: #1e1b4b; }
   4. Implement update() with your data model — see schufa-kosten-rechner.html
      as the reference implementation.
   ============================================================ */

/* ── CALCULATOR TOKENS (override per-page via :root in <style>) ── */
:root {
  --calc-accent:         #4c1d95;
  --calc-accent-dark:    #1e1b4b;
  --calc-alert-bg:       #fef2f2;
  --calc-alert-border:   #fca5a5;
  --calc-ok-bg:          #f0fdf4;
  --calc-ok-border:      #86efac;
  --calc-mid-bg:         #fffbeb;
  --calc-mid-border:     #fde68a;
}

/* ── SCROLL PROGRESS BAR ── */
#scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, #155EEF, #5FE9D0);
  z-index: 9999; width: 0; transition: width .1s;
}

/* ── TOOL HERO ── */
.tool-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: white;
  padding: 72px 0 56px;
  text-align: left;
}
.hero-badges {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-badge {
  display: inline-flex; align-items: center;
  background: rgba(95,233,208,.18);
  border: 1px solid rgba(95,233,208,.4);
  color: #5FE9D0;
  font-size: .75rem; font-weight: 700;
  padding: 5px 14px; border-radius: 999px;
  white-space: nowrap; letter-spacing: .02em;
}
.tool-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; margin: 0 0 16px;
  color: #fff; line-height: 1.2;
}
.tool-hero > .container > p,
.tool-hero p {
  font-size: 1.05rem; max-width: 640px;
  margin: 0 0 16px; line-height: 1.6;
  color: rgba(255,255,255,.9) !important;
}

/* ── SCORE SECTION ── */
.score-section {
  background: white;
  border-radius: 24px;
  border: 1.5px solid var(--border, #e2e8f0);
  overflow: hidden;
  margin: 40px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.score-header {
  background: linear-gradient(135deg, var(--calc-accent-dark), var(--calc-accent));
  padding: 32px 40px; color: white;
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
}

/* ── GAUGE ── */
.score-gauge {
  flex-shrink: 0; position: relative; width: 140px; height: 140px;
}
.gauge-svg { width: 100%; height: 100%; transform: rotate(-210deg); }
.gauge-bg  { fill: none; stroke: rgba(255,255,255,.2); stroke-width: 12; stroke-linecap: round; }
.gauge-fill {
  fill: none; stroke-width: 12; stroke-linecap: round;
  transition: stroke-dashoffset .8s cubic-bezier(.4,0,.2,1), stroke .5s;
}
.gauge-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-45%); text-align: center;
}
.gauge-num { font-size: 2rem; font-weight: 800; line-height: 1; color: white; }
.gauge-pct { font-size: .7rem; font-weight: 600; opacity: .7; letter-spacing: .5px; margin-top: 2px; }

/* ── SCORE META ── */
.score-meta { flex: 1; min-width: 200px; }
.score-grade-label { font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; }
.score-desc { font-size: .9rem; opacity: .82; line-height: 1.5; margin-bottom: 12px; }
.grade-segments { display: flex; gap: 4px; margin-bottom: 14px; }
.gs        { flex: 1; height: 7px; border-radius: 4px; opacity: .35; transition: opacity .4s, transform .3s; }
.gs.active { opacity: 1; transform: scaleY(1.3); }
.gs--red    { background: #ef4444; }
.gs--orange { background: #f97316; }
.gs--yellow { background: #eab308; }
.gs--lime   { background: #84cc16; }
.gs--green  { background: #22c55e; }
.gs--teal   { background: #5FE9D0; }

/* ── BENCHMARK PILL (new) ── */
.score-benchmark {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: .8rem; font-weight: 600;
  transition: all .5s;
}
.score-benchmark strong { font-weight: 800; color: #5FE9D0; }
.score-benchmark .sb-icon { font-size: 1rem; }

/* ── SCORE BODY & SLIDER ── */
.score-body { padding: 32px 40px; }
.slider-wrap { margin-bottom: 8px; }
.slider-label {
  display: flex; justify-content: space-between;
  font-size: .82rem; color: var(--text-muted, #64748b);
  margin-bottom: 8px; font-weight: 500;
}
#score-slider {
  width: 100%; -webkit-appearance: none; appearance: none; height: 8px;
  background: linear-gradient(to right,
    #ef4444 0%, #f97316 20%, #eab308 40%,
    #84cc16 65%, #22c55e 80%, #5FE9D0 100%);
  border-radius: 4px; cursor: pointer; outline: none;
}
#score-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px;
  background: #fff; border-radius: 50%;
  border: 3px solid var(--calc-accent, #4c1d95);
  box-shadow: 0 2px 8px rgba(76,29,149,.3);
  cursor: pointer; transition: transform .15s;
}
#score-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
#score-slider::-moz-range-thumb {
  width: 24px; height: 24px; background: #fff; border-radius: 50%;
  border: 3px solid var(--calc-accent, #4c1d95);
  box-shadow: 0 2px 8px rgba(76,29,149,.3); cursor: pointer;
}
.slider-ticks {
  display: flex; justify-content: space-between;
  font-size: .7rem; color: #94a3b8; margin-top: 4px; padding: 0 2px;
}

/* ── RESULT CARDS ── */
.result-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 20px; padding: 0 40px 40px;
}
.result-card {
  border-radius: 16px; padding: 24px;
  border: 2px solid var(--border, #e2e8f0);
  transition: border-color .4s, background .4s;
  position: relative; overflow: hidden;
}
.result-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
}
.result-card--zins::before    { background: linear-gradient(90deg, #155EEF, #8b5cf6); }
.result-card--wohnung::before { background: linear-gradient(90deg, #22c55e, #5FE9D0); }
.result-card--kredit::before  { background: linear-gradient(90deg, #ef4444, #f97316); }
.result-card--alert { border-color: var(--calc-alert-border); background: var(--calc-alert-bg); }
.result-card--ok    { border-color: var(--calc-ok-border);    background: var(--calc-ok-bg); }
.result-card--mid   { border-color: var(--calc-mid-border);   background: var(--calc-mid-bg); }
.rc-icon  { font-size: 1.5rem; margin-bottom: 10px; }
.rc-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted, #64748b); margin-bottom: 8px; }
.rc-value { font-size: 2rem; font-weight: 900; line-height: 1.1; margin-bottom: 6px; transition: color .4s; }
.rc-sub   { font-size: .82rem; color: var(--text-muted, #64748b); line-height: 1.5; }
.rc-badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 10px; border-radius: 20px; margin-top: 8px; }
.badge--bad   { background: #fee2e2; color: #991b1b; }
.badge--mid   { background: #fef3c7; color: #92400e; }
.badge--ok    { background: #dcfce7; color: #14532d; }
.badge--great { background: #dbeafe; color: #1e40af; }

/* ── LOAN CALCULATOR ── */
.loan-section {
  background: #f8fafc; border-radius: 24px;
  border: 1.5px solid var(--border, #e2e8f0);
  padding: 40px; margin: 0 0 40px;
}
.loan-section h2 { font-size: 1.4rem; font-weight: 800; color: var(--dark, #0f172a); margin-bottom: 6px; }
.loan-sub  { font-size: .9rem; color: var(--text-muted, #64748b); margin-bottom: 32px; }
.loan-sliders { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 32px; }
.loan-slider-group label {
  font-size: .85rem; font-weight: 700; color: #374151;
  display: flex; justify-content: space-between; margin-bottom: 8px;
}
.loan-slider-group label span { color: var(--calc-accent, #4c1d95); font-weight: 800; }
.loan-slider-group input[type=range] {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 6px; background: #e2e8f0; border-radius: 3px;
  cursor: pointer; accent-color: var(--calc-accent, #4c1d95);
}
.loan-slider-group input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px;
  background: var(--calc-accent, #4c1d95); border-radius: 50%;
  cursor: pointer; box-shadow: 0 2px 6px rgba(76,29,149,.25);
}
.loan-compare { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.lc { border-radius: 14px; padding: 20px; text-align: center; }
.lc--yours { background: #eff6ff; border: 2px solid #bfdbfe; }
.lc--best  { background: #f0fdf4; border: 2px solid #bbf7d0; }
.lc--diff  { background: #fefce8; border: 2px solid #fde68a; }
.lc-head    { font-size: .72rem; font-weight: 700; text-transform: uppercase; color: #64748b; margin-bottom: 6px; letter-spacing: .04em; }
.lc-rate    { font-size: .95rem; font-weight: 800; margin-bottom: 4px; color: var(--dark, #0f172a); }
.lc-total   { font-size: 1.6rem; font-weight: 900; line-height: 1; transition: color .4s; }
.lc-sub     { font-size: .72rem; color: #94a3b8; margin-top: 4px; }
.lc--yours .lc-total { color: #1e40af; }
.lc--best  .lc-total { color: #14532d; }
.lc--diff  .lc-total { color: #92400e; }
.lc-monthly { font-size: .82rem; font-weight: 600; color: #64748b; margin-top: 6px; }

/* ── APARTMENT PROBABILITY ── */
.apt-section {
  background: white; border-radius: 24px;
  border: 1.5px solid var(--border, #e2e8f0);
  padding: 40px; margin: 0 0 40px;
}
.apt-section h2 { font-size: 1.4rem; font-weight: 800; color: var(--dark, #0f172a); margin-bottom: 6px; }
.apt-sub { font-size: .9rem; color: var(--text-muted, #64748b); margin-bottom: 28px; }
.apt-visual { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; margin-bottom: 32px; }
.apt-donut { flex-shrink: 0; position: relative; width: 160px; height: 160px; }
.apt-donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.apt-donut-bg   { fill: none; stroke: #f1f5f9; stroke-width: 18; }
.apt-donut-fill {
  fill: none; stroke-width: 18; stroke-linecap: butt;
  transition: stroke-dashoffset .8s cubic-bezier(.4,0,.2,1), stroke .5s;
}
.apt-donut-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); text-align: center;
}
.apt-pct   { font-size: 2rem; font-weight: 900; line-height: 1; transition: color .4s; }
.apt-label { font-size: .72rem; font-weight: 600; color: var(--text-muted, #64748b); margin-top: 2px; }
.apt-meta  { flex: 1; min-width: 200px; }
.apt-verdict { font-size: 1.2rem; font-weight: 800; color: var(--dark, #0f172a); margin-bottom: 8px; }
.apt-detail  { font-size: .9rem; color: #374151; line-height: 1.65; margin-bottom: 14px; }
.apt-rejection-bar { margin-top: 20px; }
.arb-label {
  font-size: .82rem; font-weight: 600; color: var(--text-muted, #64748b);
  margin-bottom: 6px; display: flex; justify-content: space-between;
}
.arb-track { height: 14px; background: #f1f5f9; border-radius: 7px; overflow: hidden; }
.arb-fill  { height: 100%; border-radius: 7px; transition: width .8s cubic-bezier(.4,0,.2,1), background .5s; }
.apt-cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 12px; }
.apt-city { background: #f8fafc; border-radius: 12px; padding: 14px 16px; border: 1px solid var(--border, #e2e8f0); }
.apt-city-name { font-size: .82rem; font-weight: 700; color: var(--dark, #0f172a); margin-bottom: 4px; }
.apt-city-val  { font-size: .78rem; color: var(--text-muted, #64748b); line-height: 1.4; }

/* ── COST BANNER ── */
.cost-banner {
  background: linear-gradient(135deg, var(--calc-accent-dark), var(--calc-accent));
  border-radius: 24px; padding: 40px; color: white;
  text-align: center; margin: 0 0 40px;
}
.cost-banner h2  { color: white; font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; }
.cost-banner > p { color: rgba(255,255,255,.9) !important; font-size: 1rem; line-height: 1.65; margin-bottom: 8px; }
.cost-total  { font-size: 3.5rem; font-weight: 900; line-height: 1; margin: 16px 0 4px; transition: all .4s; }
.cost-years  { font-size: .9rem; color: rgba(255,255,255,.8); margin-bottom: 0; }

/* ── COST BREAKDOWN (new) ── */
.cost-breakdown {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 12px; margin: 24px auto 28px; max-width: 700px;
  text-align: left;
}
.cbd-item {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px; padding: 14px 16px;
}
.cbd-label { font-size: .7rem; font-weight: 700; opacity: .8; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.cbd-val   { font-size: 1.3rem; font-weight: 900; line-height: 1; margin-bottom: 4px; }
.cbd-sub   { font-size: .7rem; opacity: .65; line-height: 1.35; }

/* ── TIPS SECTION (new) ── */
.tips-section {
  background: white; border-radius: 24px;
  border: 1.5px solid var(--border, #e2e8f0);
  padding: 40px; margin: 0 0 40px;
}
.tips-section h2 { font-size: 1.4rem; font-weight: 800; color: var(--dark, #0f172a); margin-bottom: 6px; }
.tips-sub { font-size: .9rem; color: var(--text-muted, #64748b); margin-bottom: 24px; }
.tips-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.tip-card {
  border-radius: 14px; padding: 20px 22px;
  background: #f8fafc;
  border: 1.5px solid var(--border, #e2e8f0);
  transition: border-color .2s, box-shadow .2s;
}
.tip-card:hover {
  border-color: var(--calc-accent, #4c1d95);
  box-shadow: 0 4px 16px rgba(76,29,149,.08);
}
.tip-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--calc-accent, #4c1d95); color: white;
  font-size: .8rem; font-weight: 800; margin-bottom: 10px; flex-shrink: 0;
}
.tip-title  { font-size: .9rem; font-weight: 800; color: var(--dark, #0f172a); margin-bottom: 6px; }
.tip-detail { font-size: .8rem; color: var(--text-muted, #64748b); line-height: 1.55; }

/* ── SHARE STRIP ── */
.share-strip {
  background: var(--bg-light, #f8fafc);
  padding: 32px 24px; border-top: 1px solid var(--border, #e2e8f0);
}
.share-strip p { font-size: .95rem; color: var(--text-muted, #64748b); margin-bottom: 14px; }
.share-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 8px;
  font-weight: 700; font-size: .85rem;
  text-decoration: none; border: none; cursor: pointer; transition: opacity .2s;
}
.share-btn:hover { opacity: .85; }
.share-btn.whatsapp { background: #25D366; color: white; }
.share-btn.linkedin  { background: #0A66C2; color: white; }
.share-btn.twitter   { background: #000;    color: white; }
.share-btn.facebook  { background: #1877F2; color: white; }
.share-btn.email     { background: #475569; color: white; }
.share-btn.copy      { background: #1A2222; color: white; }
.share-btn.telegram  { background: #0088CC; color: white; }
.share-btn.xing      { background: #006567; color: white; }
.share-btn.reddit    { background: #FF4500; color: white; }
.share-btn.pinterest { background: #E60023; color: white; }
.share-btn.print     { background: #334155; color: white; }
@media (max-width: 768px) { .tips-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .share-btn { padding: 9px 13px; font-size: .8rem; } }

/* ── STICKY CTA BAR ── */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 4800;
  background: linear-gradient(135deg, #052e16, #065f46);
  padding: 10px 20px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  transform: translateY(100%); transition: transform .35s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,.22);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta p { color: rgba(255,255,255,.85); margin: 0; font-size: .88rem; }
.sticky-cta .sc-btn {
  background: #22c55e; color: white; border: none;
  font-weight: 800; font-size: .92rem; padding: 11px 24px;
  border-radius: 10px; cursor: pointer; white-space: nowrap;
  transition: transform .15s; text-decoration: none; display: inline-block;
}
.sticky-cta .sc-btn:hover { transform: translateY(-2px); }
.sticky-cta .sc-close {
  background: transparent; border: none;
  color: rgba(255,255,255,.55); font-size: 1.2rem; cursor: pointer; padding: 4px 8px;
}
@media (max-width: 600px) { .sticky-cta p { display: none; } }

/* ── RATING WIDGET ── */
.fp-rating-widget {
  background: white; border-radius: 20px;
  border: 1.5px solid var(--border, #e2e8f0);
  padding: 28px 32px; margin: 40px 0 0; text-align: center;
}
.fp-rating-title { font-size: 1rem; font-weight: 700; color: var(--dark, #0f172a); margin-bottom: 12px; }
.fp-stars { display: flex; justify-content: center; gap: 8px; margin-bottom: 10px; cursor: pointer; }
.fp-star { font-size: 2rem; color: #d1d5db; transition: color .15s, transform .15s; user-select: none; }
.fp-star.active { color: #f59e0b; }
.fp-stars:hover .fp-star { color: #f59e0b; }
.fp-stars .fp-star:hover ~ .fp-star { color: #d1d5db; }
.fp-rating-avg { font-size: 1.5rem; font-weight: 900; color: var(--dark, #0f172a); }
.fp-rating-msg { font-size: .8rem; color: var(--text-muted, #64748b); margin-top: 4px; }

/* ── CTA BLOCK ── */
.cta-block {
  background: linear-gradient(135deg, #eff6ff 0%, #e0ecff 100%);
  border-top: 3px solid #155EEF; padding: 48px 40px;
  text-align: center; margin: 0 0 40px; border-radius: 24px;
}
.cta-badge {
  display: inline-block; background: #155EEF; color: white;
  font-size: .75rem; font-weight: 800; padding: 4px 12px;
  border-radius: 20px; letter-spacing: .04em; margin-bottom: 14px;
}
.cta-headline { font-size: 1.5rem; font-weight: 900; color: #0f172a; line-height: 1.3; margin: 0 0 12px; }
.cta-sub      { color: #334155; font-size: .95rem; line-height: 1.7; margin: 0 0 24px; }
.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, #155EEF, #5FE9D0);
  color: white; font-weight: 800; font-size: 1rem;
  padding: 16px 36px; border-radius: 14px; text-decoration: none;
  transition: opacity .2s, transform .15s; white-space: nowrap;
}
.cta-btn:hover { opacity: .9; transform: translateY(-2px); color: white; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .result-grid    { grid-template-columns: 1fr; padding: 0 24px 32px; }
  .loan-sliders   { grid-template-columns: 1fr; }
  .loan-compare   { grid-template-columns: 1fr; }
  .apt-visual     { flex-direction: column; align-items: flex-start; }
  .score-header   { padding: 24px; }
  .score-body     { padding: 24px; }
  .loan-section, .apt-section, .tips-section { padding: 24px; }
  .cost-breakdown { grid-template-columns: 1fr; max-width: 100%; }
  .tips-grid      { grid-template-columns: 1fr; }
  .cost-total     { font-size: 2.5rem; }
  .cta-block      { padding: 32px 24px; }
}
@media (max-width: 600px) {
  .score-header   { flex-direction: column; gap: 20px; }
  .cta-block      { padding: 28px 20px; }
}

/* ── COOKIE BANNER ── */
#cookie-banner {
  display: none;
  position: fixed; bottom: 20px; left: 20px; right: 20px;
  max-width: 680px; margin: 0 auto;
  background: #0a1628; color: #f1f5f9;
  padding: 18px 22px; border-radius: 14px;
  z-index: 9999;
  flex-wrap: wrap; align-items: center; gap: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.08);
}
.cb-text { flex: 1; min-width: 240px; font-size: .88rem; line-height: 1.5; }
.cb-text strong { display: block; margin-bottom: 4px; }
.cb-text a { color: #34d399; text-decoration: underline; }
.cb-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cb-btn { padding: 9px 16px; border-radius: 8px; font-size: .82rem; font-weight: 600; cursor: pointer; font-family: inherit; }
.cb-btn--decline  { border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; }
.cb-btn--accept   { border: none; background: #10b981; color: #fff; font-weight: 700; padding: 9px 18px; }
.cb-btn--settings { background: transparent; border: none; color: rgba(255,255,255,.6); font-size: .78rem; cursor: pointer; font-family: inherit; text-decoration: underline; padding: 0 4px; }

/* ── COOKIE SETTINGS MODAL ── */
#cookieModal {
  display: none;
  position: fixed; inset: 0;
  background: rgba(10,22,40,.6);
  z-index: 10000;
  align-items: center; justify-content: center; padding: 20px;
}
.ck-box { background: white; border-radius: 16px; max-width: 480px; width: 100%; padding: 28px 30px; color: #1e293b; box-shadow: 0 20px 60px rgba(0,0,0,.4); max-height: 85vh; overflow-y: auto; }
.ck-box h3 { font-size: 1.15rem; font-weight: 800; color: #0a1628; margin: 0 0 6px; }
.ck-box > p { font-size: .86rem; color: #64748b; margin: 0 0 18px; line-height: 1.55; }
.ck-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 12px 0; border-top: 1px solid #e2e8f0; }
.ck-row:last-of-type { border-bottom: 1px solid #e2e8f0; }
.ck-lbl-title { font-weight: 700; font-size: .92rem; }
.ck-lbl-desc  { font-size: .78rem; color: #64748b; margin-top: 2px; }
.ck-row input[type="checkbox"] { margin-top: 4px; width: 18px; height: 18px; accent-color: #10b981; flex-shrink: 0; }
.ck-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.ck-cancel { padding: 10px 18px; border-radius: 8px; border: 1px solid #cbd5e1; background: transparent; color: #1e293b; font-weight: 600; cursor: pointer; font-family: inherit; }
.ck-save   { padding: 10px 18px; border-radius: 8px; border: none; background: #10b981; color: #fff; font-weight: 700; cursor: pointer; font-family: inherit; }
