/* Ek modüller: site (sepette {%usta%} seçimi, ders programı, planlar, formlar ve imza, online dersler, hesaplayıcılar, ekler) ve panel bileşenleri.
   Renkler sitenin ve panelin kendi değişkenlerinden gelir (--brand, --surface, --line, --muted). */

/* ---------- Site ---------- */
.co-staff { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; margin-bottom: 14px; }
.co-staff button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); cursor: pointer; text-align: center; transition: border-color .12s, box-shadow .12s; }
.co-staff button:hover { border-color: var(--brand); }
.co-staff button.on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand) inset; }
.co-staff img, .co-staff .av { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--surface2, #f1f1f1); font-weight: 700; color: var(--brand); }
.co-staff small { color: var(--muted); font-size: 12px; line-height: 1.2; }

.cls-day { margin-bottom: 26px; }
.cls-day h3 { font-size: 18px; margin: 0 0 10px; }
.cls-list { display: grid; gap: 8px; }
.cls-it { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.cls-it.past { opacity: .5; }
.cls-t { display: flex; flex-direction: column; } .cls-t b { font-size: 17px; } .cls-t small, .cls-in small { color: var(--muted); }
.cls-in { display: flex; flex-direction: column; min-width: 0; }
.cls-r { display: flex; align-items: center; gap: 10px; }
.cls-left { font-size: 13px; font-weight: 700; color: var(--ok, #15803d); white-space: nowrap; } .cls-left.full { color: var(--danger, #b91c1c); }
@media (max-width: 600px) { .cls-it { grid-template-columns: 52px 1fr; } .cls-r { grid-column: 1 / -1; justify-content: space-between; } }

.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-bottom: 26px; }
.plan-card { display: flex; flex-direction: column; gap: 6px; } .plan-card h3 { margin: 4px 0; } .plan-card .price b { font-size: 26px; color: var(--brand); } .plan-card .btn { margin-top: auto; }
.ek-form { display: grid; gap: 12px; margin-top: 10px; } .ek-form label > span { display: block; font-weight: 600; margin-bottom: 4px; }
.ek-form input:not([type=checkbox]):not([type=radio]), .ek-form select, .ek-form textarea { width: 100%; }
.ek-form fieldset { border: 0; padding: 0; margin: 0; } .ek-form legend { font-weight: 600; margin-bottom: 4px; } .ek-form .yn { display: flex; gap: 16px; flex-wrap: wrap; } .ek-form .yn legend { width: 100%; }
.form-body { white-space: normal; background: var(--surface2, #f7f7f7); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; max-height: 320px; overflow: auto; font-size: 14px; line-height: 1.6; }
.sign-box { display: grid; gap: 6px; margin: 12px 0; } .sign-box > span { font-weight: 600; }
.sign-box canvas { width: 100%; max-width: 620px; aspect-ratio: 10 / 3; border: 1.5px dashed var(--line); border-radius: 12px; background: #fff; cursor: crosshair; }
.sign-box .link { justify-self: start; background: none; border: 0; color: var(--brand); cursor: pointer; padding: 0; font: inherit; text-decoration: underline; }
.sign-done img { max-width: 280px; border-bottom: 1px solid var(--line); background: #fff; }
.offer table.ql, .ql { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 14px; }
.ql th, .ql td { padding: 7px 6px; border-bottom: 1px solid var(--line); text-align: left; } .ql .n { text-align: right; white-space: nowrap; } .ql tfoot td { border: 0; } .ql tr.b td { font-weight: 700; font-size: 15px; }
.pay-now { border-color: var(--brand) !important; }

.att-box { display: grid; gap: 6px; } .att-btn { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--brand); font-weight: 600; }
.att-btn svg { width: 18px; height: 18px; } .att-box ul { margin: 0; padding-left: 18px; font-size: 13px; color: var(--muted); } .att-box li.err { color: var(--danger, #b91c1c); }

.calc { margin-bottom: 22px; } .calc h2 { margin-top: 0; }
.calc-in { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 14px 0; } .calc-in label > span { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; } .calc-in input, .calc-in select { width: 100%; }
.calc-out { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 14px 0; }
.calc-out div { background: var(--surface2, #f6f6f6); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; } .calc-out span { font-size: 13px; color: var(--muted); }
.calc-out b { font-size: 22px; color: var(--brand); } .calc-out small { font-size: 13px; color: var(--muted); font-weight: 600; }

.lms { display: grid; grid-template-columns: 300px 1fr; gap: 22px; align-items: start; }
.lms-nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; } .lms-nav li a { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 14px; }
.lms-nav li.on a { background: var(--surface2, #f3f3f3); font-weight: 700; } .lms-nav li i { width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: 12px; }
.lms-nav li.done i { background: var(--brand); color: var(--on-brand, #fff); border-color: transparent; } .lms-nav li em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--muted); }
.lms-sec { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 12px 10px 4px; } .lms-pct { height: 6px; border-radius: 9px; background: var(--line); overflow: hidden; margin-bottom: 12px; }
.lms-pct i { display: block; height: 100%; background: var(--brand); } .lms-video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; margin-bottom: 16px; }
.lms-video iframe, .lms-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; } .lms-quiz { display: grid; gap: 12px; margin: 16px 0; } .lms-quiz fieldset { border: 0; padding: 0; } .lms-quiz legend { font-weight: 600; margin-bottom: 6px; }
@media (max-width: 860px) { .lms { grid-template-columns: 1fr; } }

/* ---------- Panel ---------- */
.ek-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.ek-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.ek-kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; font-size: 13px; } .ek-kv small { color: var(--muted); }
.ek-board { overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.ek-board table { border-collapse: collapse; min-width: 100%; font-size: 12px; } .ek-board th, .ek-board td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 6px 8px; text-align: center; white-space: nowrap; }
.ek-board th { position: sticky; top: 0; background: var(--surface-2, #f6f6f6); z-index: 1; } .ek-board td.nm, .ek-board th.nm { text-align: left; position: sticky; left: 0; background: var(--surface); z-index: 2; font-weight: 600; }
.ek-board td.full { background: color-mix(in srgb, var(--danger, #dc2626) 18%, transparent); font-weight: 700; } .ek-board td.part { background: color-mix(in srgb, var(--warn, #d97706) 16%, transparent); } .ek-board td.free { color: var(--muted); }
.ek-day { position: relative; display: grid; gap: 0; } .ek-cols { display: grid; gap: 8px; }
.ek-col h4 { margin: 0 0 6px; font-size: 13px; display: flex; align-items: center; gap: 6px; } .ek-col h4 i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.ek-tl { position: relative; border: 1px solid var(--line); border-radius: 10px; background: repeating-linear-gradient(to bottom, transparent 0 39px, var(--line) 39px 40px); }
.ek-ev { position: absolute; left: 4px; right: 4px; border-radius: 8px; padding: 4px 6px; font-size: 11px; line-height: 1.25; overflow: hidden; color: #fff; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.ek-ev.blk { background: repeating-linear-gradient(45deg, #9ca3af 0 6px, #d1d5db 6px 12px) !important; color: #111; cursor: default; }
.ek-hours { position: absolute; left: -44px; top: 0; font-size: 11px; color: var(--muted); }
.ek-teeth { display: grid; gap: 10px; } .ek-jaw { display: grid; grid-template-columns: repeat(16, minmax(30px, 1fr)); gap: 3px; }
.ek-tooth { border: 1px solid var(--line); border-radius: 8px; padding: 6px 2px 4px; text-align: center; cursor: pointer; font-size: 11px; background: var(--surface); user-select: none; }
.ek-tooth b { display: block; font-size: 15px; } .ek-tooth.saglam { background: var(--surface); } .ek-tooth.curuk { background: #fecaca; } .ek-tooth.dolgu { background: #bfdbfe; } .ek-tooth.kanal { background: #ddd6fe; }
.ek-tooth.kron { background: #fde68a; } .ek-tooth.implant { background: #a7f3d0; } .ek-tooth.eksik { background: #e5e7eb; color: #9ca3af; text-decoration: line-through; } .ek-tooth.cekim { background: #fca5a5; border-color: #dc2626; } .ek-tooth.plan { background: #fef3c7; border-style: dashed; border-color: #d97706; }
.ek-legend { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; } .ek-legend span { padding: 3px 8px; border-radius: 99px; border: 1px solid var(--line); }
.ek-spark { width: 100%; height: 120px; } .ek-spark path { fill: none; stroke: var(--brand); stroke-width: 2; } .ek-spark circle { fill: var(--brand); }
.ek-lines td input { width: 100%; } .ek-lines td { padding: 3px; } .ek-lines .num { width: 90px; }
.ek-pos { display: grid; grid-template-columns: 1fr 340px; gap: 16px; align-items: start; } @media (max-width: 900px) { .ek-pos { grid-template-columns: 1fr; } }
.ek-pos .scan { font-size: 18px; padding: 14px; } .ek-pos .tot { font-size: 28px; font-weight: 800; }
.ek-mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.ek-mods label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; }
.ek-qr { display: block; margin: 10px auto; background: #fff; padding: 8px; border-radius: 8px; }
.ek-pill { display: inline-block; padding: 2px 8px; border-radius: 99px; background: var(--brand-soft, #eef); color: var(--brand-ink, var(--brand)); font-size: 12px; font-weight: 600; }
/* Renkli diş durumlarında koyu yazı (koyu temada da okunur); takvim kartları bağlantı çizgisiz */
.ek-tooth.curuk, .ek-tooth.dolgu, .ek-tooth.kanal, .ek-tooth.kron, .ek-tooth.implant, .ek-tooth.eksik, .ek-tooth.cekim, .ek-tooth.plan { color: #1f2937; }
.ek-tooth.eksik { color: #6b7280; }
.ek-ev, .ek-ev:hover { text-decoration: none; }

/* ---------- Büyüme (ek/buyume.php): acil servis, asistan, bölgeler, projeler, garanti, tavsiye, bildirim, geri sayım, koyu görünüm ---------- */
.gr-tl-sos { color: #fff !important; background: #dc2626; border-radius: 99px; padding: 2px 10px; font-weight: 700; }
.gr-dk { border: 0; background: none; color: inherit; cursor: pointer; padding: 2px 4px; display: inline-flex; align-items: center; }
/* Koyu / açık düğmesi: açıkta ay, koyuda güneş; mobil menüde yazılı satır (growth_dark_button) */
[data-darktoggle] .i-sun, html.dk [data-darktoggle] .i-moon, [data-darktoggle] .dk-d, html.dk [data-darktoggle] .dk-l { display: none; }
html.dk [data-darktoggle] .i-sun, html.dk [data-darktoggle] .dk-d { display: inline-block; }
.nav .nav-dk { gap: 10px; align-items: center; width: 100%; padding: 13px 14px; border: 0; border-radius: 12px; background: var(--tint); color: var(--text); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; text-align: left; }
.nav .nav-dk .i { width: 20px; height: 20px; }
/* Mobil menünün son satırları sol alttaki sabit dil seçicinin altında kalmasın */
@media (max-width: 1024px) { .nav { padding-bottom: 96px; } }
/* QR menü simgesi (QR menülü sektörlerde başlıkta, telefon simgesinin yanında) */
.hdr-qr { transition: background .2s, color .2s, border-color .2s; }
.hdr-qr:hover { border-color: var(--brand); background: var(--brand); color: var(--on-brand); }
.gr-sos { position: fixed; left: 20px; bottom: 22px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px 0 14px; border-radius: 99px;
  background: #dc2626; color: #fff; font-weight: 800; letter-spacing: .02em; box-shadow: 0 14px 30px -12px rgba(220, 38, 38, .7); animation: gr-pulse 2.4s infinite; }
.gr-sos .i { width: 22px; height: 22px; }
@keyframes gr-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, .45), 0 14px 30px -12px rgba(220, 38, 38, .7); } 50% { box-shadow: 0 0 0 12px rgba(220, 38, 38, 0), 0 14px 30px -12px rgba(220, 38, 38, .7); } }
@media (prefers-reduced-motion: reduce) { .gr-sos { animation: none; } }
.gr-sosband { background: #7f1d1d; color: #fff; }
.gr-sosband-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.gr-sosband-in > div { display: flex; gap: 14px; align-items: flex-start; }
.gr-sosband-in > div > .i { width: 34px; height: 34px; flex: none; padding: 6px; border-radius: 50%; background: #dc2626; }
.gr-sosband b { display: block; font-size: 17px; }
.gr-sosband span { opacity: .85; font-size: 14px; }
.gr-sosband .btn { background: #fff; color: #7f1d1d; border-color: transparent; }

.gr-bot-btn { position: fixed; right: 20px; bottom: 92px; z-index: 41; width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--brand); color: var(--on-brand, #fff); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); }
.gr-bot-btn .i { width: 26px; height: 26px; }
.gr-bot-btn.on { transform: scale(.92); }
.gr-bot { position: fixed; right: 20px; bottom: 156px; z-index: 45; width: min(370px, calc(100vw - 32px)); }
.gr-bot-card { background: var(--surface, #fff); color: var(--text, #111); border: 1px solid var(--line, #e5e7eb); border-radius: 18px; box-shadow: 0 30px 70px -26px rgba(0, 0, 0, .45);
  display: flex; flex-direction: column; max-height: min(560px, calc(100vh - 190px)); overflow: hidden; }
.gr-bot-card header { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: var(--brand); color: var(--on-brand, #fff); }
.gr-bot-card header b { display: flex; align-items: center; gap: 8px; }
.gr-bot-card header .icon-btn { background: transparent; border: 0; color: inherit; cursor: pointer; }
.gr-bot-log { padding: 14px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gr-msg { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: 14px; line-height: 1.5; background: var(--surface2, #f3f4f6); align-self: flex-start; overflow-wrap: anywhere; }
.gr-msg.u { align-self: flex-end; background: var(--brand); color: var(--on-brand, #fff); }
.gr-msg a { color: var(--brand); text-decoration: underline; }
.gr-msg.wait i { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: var(--muted, #888); animation: gr-dot 1s infinite; }
.gr-msg.wait i:nth-child(2) { animation-delay: .15s; }
.gr-msg.wait i:nth-child(3) { animation-delay: .3s; }
@keyframes gr-dot { 50% { opacity: .2; transform: translateY(-3px); } }
.gr-bot-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.gr-bot-links a { text-decoration: none; border: 1px solid var(--line, #ddd); border-radius: 99px; padding: 3px 10px; font-size: 13px; font-weight: 600; background: var(--surface, #fff); }
.gr-bot-chips { display: flex; gap: 6px; padding: 0 14px 10px; flex-wrap: wrap; }
.gr-bot-chips button { border: 1px solid var(--line, #ddd); background: var(--surface, #fff); color: inherit; border-radius: 99px; padding: 5px 10px; font-size: 12.5px; cursor: pointer; text-align: left; }
.gr-bot-card form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line, #e5e7eb); }
.gr-bot-card form input { flex: 1; min-width: 0; border: 1px solid var(--line, #ddd); border-radius: 99px; padding: 9px 14px; background: var(--bg, #fff); color: inherit; }
.gr-bot-note { display: block; padding: 0 14px 10px; color: var(--muted, #888); font-size: 11.5px; }
@media (max-width: 760px) {
  .gr-sos { left: 12px; bottom: calc(78px + env(safe-area-inset-bottom)); height: 46px; }
  .gr-bot-btn { right: 12px; bottom: calc(78px + env(safe-area-inset-bottom)); width: 48px; height: 48px; }
  .gr-bot { right: 12px; left: 12px; width: auto; bottom: calc(134px + env(safe-area-inset-bottom)); }
}

.gr-areas { display: flex; flex-wrap: wrap; gap: 10px; }
.gr-areas a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; transition: border-color .15s, transform .15s; }
.gr-areas a:hover { border-color: var(--brand); transform: translateY(-1px); }
.gr-areas a .i { color: var(--brand); }
.gr-areas.big { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.gr-areas.big a { border-radius: var(--radius-sm, 12px); padding: 16px; justify-content: space-between; }
.gr-areas.big a span { flex: 1; display: grid; }
.gr-areas.big small { color: var(--muted); font-weight: 500; }
.gr-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.gr-why > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm, 12px); padding: 18px; }
.gr-why .i { width: 28px; height: 28px; color: var(--brand); margin-bottom: 8px; }
.gr-why b { display: block; margin-bottom: 4px; }
.gr-why p { margin: 0; color: var(--muted); font-size: 14px; }

.gr-projs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.gr-proj { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius, 18px); overflow: hidden; display: flex; flex-direction: column; }
.gr-proj-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface2); }
.gr-proj-img > img, .gr-proj-img .ba-w, .gr-proj-img .ba-w img { width: 100%; height: 100%; object-fit: cover; }
.gr-proj-img .ba-w input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.gr-proj-t { padding: 16px 18px 18px; }
.gr-proj-t h3 { font-size: 18px; margin: 6px 0 8px; }
.gr-proj-t p { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.gr-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 13px; }
.gr-meta span { display: inline-flex; align-items: center; gap: 5px; }
.gr-meta .i { width: 15px; height: 15px; color: var(--brand); }

.gr-job { margin-bottom: 16px; }
.gr-job h2 { margin: 8px 0 10px; }
.gr-rvphoto { display: grid; gap: 6px; font-size: 14px; }
.gr-rvimg { display: block; margin: 8px 0; width: 120px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.gr-rvimg img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gr-push, .gr-wbox { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.gr-push > div { display: flex; gap: 12px; align-items: center; }
.gr-push .i, .gr-wbox > .i { width: 28px; height: 28px; color: var(--brand); flex: none; }
.gr-push b, .gr-wbox b { display: block; }
.gr-push small, .gr-wbox small { color: var(--muted); }
.gr-wbox > div { flex: 1; }
.gr-ref { text-align: center; }
.gr-code { display: block; font-size: 34px; letter-spacing: .12em; margin: 6px 0 14px; font-family: ui-monospace, monospace; color: var(--brand); }
.gr-ref .hero-ctas { justify-content: center; }

.gr-cd { display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; margin: 6px 0 14px; }
.gr-cd small { width: 100%; text-align: center; color: var(--muted); }
.gr-cd span { display: grid; place-items: center; min-width: 54px; padding: 6px 4px; border-radius: 10px; background: var(--tint, rgba(0, 0, 0, .05)); }
.gr-cd b { font-size: 22px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.gr-cd i { font-style: normal; font-size: 11px; color: var(--muted); }

/* Garanti belgesi (yazdırılabilir; sitenin stil dosyası olmadan açılır) */
.gr-doc { margin: 0; background: #f3f4f6; color: #111827; font: 15px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
.gr-cert { max-width: 760px; margin: 30px auto; background: #fff; border-radius: 14px; padding: 36px 40px; border-top: 6px solid var(--brand); box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .4); }
.gr-cert header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.gr-cert header b { font-size: 18px; display: block; }
.gr-cert header small { color: #6b7280; }
.gr-cert h1 { margin: 26px 0 4px; font-size: 30px; letter-spacing: -.01em; }
.gr-no { color: #6b7280; margin: 0 0 18px; }
.gr-no b { color: #111827; font-family: ui-monospace, monospace; letter-spacing: .08em; }
.gr-cert table { width: 100%; border-collapse: collapse; }
.gr-cert th, .gr-cert td { text-align: left; vertical-align: top; padding: 10px 0; border-bottom: 1px solid #e5e7eb; }
.gr-cert th { width: 34%; color: #6b7280; font-weight: 600; padding-right: 14px; }
.gr-st { border-radius: 99px; padding: 4px 12px; font-weight: 700; font-size: 13px; white-space: nowrap; }
.gr-st.ok { background: #dcfce7; color: #166534; }
.gr-st.no { background: #fee2e2; color: #991b1b; }
.gr-fine { color: #6b7280; font-size: 13px; margin-top: 18px; }
.gr-cert footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; font-size: 13px; flex-wrap: wrap; }
.gr-cert footer a { color: #6b7280; overflow-wrap: anywhere; }
.gr-cert footer button { border: 0; background: var(--brand); color: #fff; border-radius: 99px; padding: 9px 18px; font-weight: 600; cursor: pointer; }
@media print { .gr-doc { background: #fff; } .gr-cert { box-shadow: none; margin: 0; max-width: none; } .gr-cert footer button { display: none; } }
@media (max-width: 600px) { .gr-cert { margin: 0; border-radius: 0; padding: 24px 16px; } .gr-cert th { width: 40%; } }

/* Koyu görünüm (modern ve klasik tema; ziyaretçi tercihi veya sistem ayarı) */
html.dk body.t-modern, html.dk body.t-soft {
  --bg: #121212; --surface: #1c1c1e; --surface2: #262628; --text: #ececec; --muted: #a3a3a3; --line: #333336; --ink: #0b0b0b; --overlay: 0, 0, 0;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 30px -16px rgba(0, 0, 0, .8); --shadow-lg: 0 30px 70px -26px rgba(0, 0, 0, .85);
  --tint: color-mix(in srgb, var(--brand) 18%, transparent); --tint2: color-mix(in srgb, var(--brand) 28%, transparent);
  color-scheme: dark;
}
/* Koyu görünümde marka rengi koyu zeminde okunur parlaklığa çekilir (web.php → --brand-hi = bright_color; açık renkler değişmez).
   Bağlantılar, fiyatlar, etiketler ve düğmeler koyu lacivert / bordo gibi markalarda kaybolmasın; Gece teması da aynı değişkeni kullanır */
html.dk body { --brand: var(--brand-hi); --on-brand: var(--on-brand-hi); }
html.dk body.t-modern input, html.dk body.t-modern select, html.dk body.t-modern textarea,
html.dk body.t-soft input, html.dk body.t-soft select, html.dk body.t-soft textarea { background: var(--surface2); color: var(--text); border-color: var(--line); }

/* Emlak araması (app/emlak.php · web-ek.js) */
.es { --es-bg: var(--surface); background: var(--es-bg); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; text-align: left; }
.es-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.es-row > .es-f { flex: 1 1 170px; }
.es-row > .es-range { flex: 2 1 260px; }
.es-f { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.es-f > span { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.es-f select, .es-f input { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font-size: 14.5px; }
.es-f select:focus, .es-f input:focus { outline: 2px solid color-mix(in srgb, var(--brand) 50%, transparent); outline-offset: 0; border-color: transparent; }
.t-lux .es-f select:focus, .t-lux .es-f input:focus { outline-color: color-mix(in srgb, var(--gold) 60%, transparent); }
.es-go { min-height: 46px; padding: 0 26px; }
.es-range > div { display: flex; align-items: center; gap: 6px; }
.es-range i { color: var(--muted); font-style: normal; }
.es-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.es-tabs label { cursor: pointer; }
.es-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.es-tabs span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-weight: 650; font-size: 14px; color: var(--muted); background: var(--surface2); }
.es-tabs input:checked + span { background: var(--brand); border-color: transparent; color: var(--on-brand); }
.t-lux .es-tabs span { border-radius: 2px; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
.t-lux .es-tabs input:checked + span { background: var(--gold); color: #0b1220; }
.es-tabs input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.es-more { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 10px; }
.es-more > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; font-size: 14px; color: var(--brand); padding: 4px 2px; }
.t-lux .es-more > summary { color: var(--gold); }
.es-more > summary::-webkit-details-marker { display: none; }
.es-more > summary .i:last-child { transition: transform .2s; }
.es-more[open] > summary .i:last-child { transform: rotate(180deg); }
.es-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 12px; }
.es-oz, .es-q { grid-column: 1 / -1; }
.es-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.es-chips label { cursor: pointer; }
.es-chips input { position: absolute; opacity: 0; pointer-events: none; }
.es-chips span { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; background: var(--surface); }
.es-chips input:checked + span { background: var(--tint2); border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); font-weight: 650; }
.es-chips input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.es-foot { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-top: 14px; }
.es-reset { color: var(--muted); font-size: 14px; text-decoration: underline; }
/* Ana sayfa karşılama alanında: yarı saydam cam panel */
.hero.has-es .hero-txt { max-width: 1060px; }
.hero.has-es .hero-txt h1, .hero.has-es .hero-txt .lead { max-width: 760px; }
.es-hero { margin-top: 26px; --es-bg: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(10px); padding: 16px; }
.es-hero .es-more { margin-top: 10px; }
/* İlan listesi */
.es-list { margin-bottom: 16px; }
.es-sort { justify-content: space-between; margin-bottom: 20px; }
.es-sort .list-count { margin: 0; }
/* İlan sayfası özeti */
.es-facts h2 { display: flex; align-items: center; gap: 8px; }
.es-facts dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0 18px; margin: 6px 0 0; }
.es-facts dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.es-facts dt { color: var(--muted); font-size: 14px; }
.es-facts dd { margin: 0; font-weight: 700; text-align: right; }
@media (max-width: 720px) {
  .es-row > .es-f { flex: 1 1 calc(50% - 5px); }
  .es-go { flex: 1 1 100%; }
  .es-hero { padding: 12px; }
  .es-grid { grid-template-columns: 1fr; }
  .es-foot { justify-content: space-between; }
}
/* Dar ekranda taşmayı önle: select'lerin içerik genişliği hero ızgarasını büyütmesin */
.hero.has-es .hero-in, .hero.has-es .hero-txt { min-width: 0; width: 100%; }
.es, .es-f select, .es-f input { max-width: 100%; min-width: 0; }
.es-grid .es-range { grid-column: span 2; }
@media (max-width: 720px) { .es-grid .es-range { grid-column: auto; } }
/* Emlak kartı: büyük tutarlar ₺ ile tek satırda, düğme altta tam genişlikte (uzun "Özel gösterim iste" yazısı taşmasın) */
.es-card .svc-foot { flex-direction: column; align-items: stretch; gap: 12px; }
.es-card .svc-price { flex-wrap: nowrap; white-space: nowrap; align-items: baseline; }
.es-card .svc-price b { white-space: nowrap; }
.es-card .svc-foot .btn { width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Emlak: harita (Leaflet + OpenStreetMap), kredi hesaplama, ilan karşılaştırma ---------- */
.es-map { position: relative; z-index: 0; height: 340px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--surface2); }
.es-map-lg { height: min(68vh, 620px); }
.es-map-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.es-map-ph .i { width: 30px; height: 30px; opacity: .6; }
.es-map.leaflet-container { font: inherit; background: var(--surface2); }
html.dk .es-map .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(.88) saturate(.6); }
.es-place { display: flex; align-items: center; gap: 8px; margin: -4px 0 14px; color: var(--muted); }
.es-place .i { width: 17px; height: 17px; color: var(--brand); }
.t-lux .es-place .i { color: var(--gold); }
.es-map-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.es-map-foot small { flex: 1 1 260px; }
.es-map-note { margin: 10px 0 0; }
/* İğne: marka renginde damla; liste haritasında fiyat etiketli iğne */
.lf-pin { background: none; border: 0; }
.lf-pin span { position: relative; display: block; width: 30px; height: 30px; margin-top: 2px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--brand, #0369a1); border: 3px solid #fff; box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .55); }
.lf-pin span::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.t-lux .lf-pin span { background: var(--gold); }
.lf-price { background: none; border: 0; }
.lf-price b { position: absolute; left: 0; bottom: 8px; transform: translateX(-50%); white-space: nowrap; padding: 5px 10px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font: 800 12.5px/1 var(--font); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .6); border: 2px solid #fff; transition: transform .15s; }
.lf-price b::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 9px; height: 9px; background: inherit; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateX(-50%) rotate(45deg); }
.lf-price.so b { background: #64748b; }
.lf-price:hover b, .lf-price.on b { transform: translateX(-50%) scale(1.1); }
.t-lux .lf-price b { background: var(--gold); color: #0b1220; }
.es-map .leaflet-popup-content-wrapper { border-radius: 14px; padding: 0; overflow: hidden; background: var(--surface); color: var(--text); }
.es-map .leaflet-popup-tip { background: var(--surface); }
.es-map .leaflet-popup-content { margin: 0; width: 240px !important; }
.es-map a.leaflet-popup-close-button { color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); top: 4px; right: 4px; }
.es-pop { display: block; color: var(--text) !important; }
.es-pop img, .es-pop .noimg { display: block; width: 100%; height: 130px; object-fit: cover; background: var(--surface2); }
.es-pop span { display: grid; gap: 3px; padding: 10px 12px 12px; }
.es-pop b { font-size: 14px; line-height: 1.3; }
.es-pop small { color: var(--muted); font-size: 12.5px; }
.es-pop em { font-style: normal; font-weight: 800; color: var(--brand); font-size: 15px; }
.t-lux .es-pop em { color: var(--gold); }
/* Liste / Harita geçişi */
.es-view { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.es-view button { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 700 14px/1 var(--font); cursor: pointer; }
.es-view button .i { width: 17px; height: 17px; }
.es-view button small { font-size: 11.5px; padding: 2px 7px; border-radius: 999px; background: var(--surface2); color: var(--text); }
.es-view button.on { background: var(--brand); color: var(--on-brand); }
.es-view button.on small { background: rgba(255, 255, 255, .22); color: inherit; }
.t-lux .es-view, .t-lux .es-view button { border-radius: 2px; }
.t-lux .es-view button.on { background: var(--gold); color: #0b1220; }
.es-maplist { margin-bottom: 30px; }
/* Karşılaştır düğmesi: kartta favori düğmesinin altında, ilan sayfasında yazılı */
.es-cmp { position: absolute; top: 56px; right: 10px; z-index: 3; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #64748b; cursor: pointer; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .45); transition: transform .15s, color .15s, background .15s; }
.es-cmp .i { width: 18px; height: 18px; }
.es-cmp:hover { transform: scale(1.08); color: var(--brand); }
.es-cmp.on { background: var(--brand); color: var(--on-brand); }
.t-lux .es-cmp.on { background: var(--gold); color: #0b1220; }
.es-cmp.txt { position: static; width: auto; height: 36px; margin-left: auto; padding: 0 14px; gap: 7px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); box-shadow: none; font: 700 13.5px/1 var(--font); }
.es-cmp.txt:hover { transform: none; border-color: var(--brand); }
.es-cmp.txt.on { border-color: transparent; background: var(--brand); color: var(--on-brand); }
.t-lux .es-cmp.txt.on { background: var(--gold); color: #0b1220; }
.es-cmpbar { position: fixed; left: 50%; bottom: 22px; z-index: 45; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 999px; background: #0f1b2d; color: #fff; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .6); max-width: calc(100% - 32px); }
.es-cmpbar[hidden] { display: none; }
.es-cmpbar > .i { width: 20px; height: 20px; opacity: .8; }
.es-cmpbar span { font-size: 14.5px; white-space: nowrap; }
.es-cmpbar .btn .i { width: 16px; height: 16px; }
.es-cmpbar .icon-btn { width: 36px; height: 36px; background: rgba(255, 255, 255, .1); border-color: transparent; color: #fff; }
/* Kredi hesaplama */
.es-loan .el-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; align-items: stretch; }
.es-loan .el-in { display: grid; gap: 14px; align-content: start; }
.es-loan .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.el-f { display: grid; gap: 6px; }
.el-f > span { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--muted); }
.el-f > span b { color: var(--text); }
.el-f input:not([type=range]), .el-f select { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font: 600 15px var(--font); }
.el-f input[type=range] { width: 100%; accent-color: var(--brand); }
.t-lux .el-f input[type=range] { accent-color: var(--gold); }
.el-f em { font-style: normal; font-size: 13px; color: var(--muted); }
.es-loan .el-out { display: grid; align-content: start; gap: 4px; padding: 20px; border-radius: var(--radius-sm); background: var(--tint); border: 1px solid color-mix(in srgb, var(--brand) 20%, var(--line)); }
.es-loan .el-out > small { color: var(--muted); font-weight: 700; font-size: 13px; }
.es-loan .el-out > b { font-size: 30px; line-height: 1.15; color: var(--brand); letter-spacing: -.01em; }
.t-lux .es-loan .el-out > b { color: var(--gold); }
.es-loan dl { margin: 12px 0 0; display: grid; }
.es-loan dl > div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.es-loan dt { color: var(--muted); }
.es-loan dd { margin: 0; font-weight: 700; }
.es-loan > p { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; }
.es-loan > p .i { width: 16px; height: 16px; flex: none; margin-top: 3px; }
/* Karşılaştırma tablosu */
.ec-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); -webkit-overflow-scrolling: touch; }
.ec-table { width: 100%; min-width: calc(170px + var(--n) * 210px); border-collapse: collapse; table-layout: fixed; }
.ec-table th, .ec-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; font-size: 14.5px; }
.ec-table tbody th { width: 170px; color: var(--muted); font-weight: 600; font-size: 13.5px; position: sticky; left: 0; background: var(--surface); z-index: 1; }
.ec-table .ec-corner { width: 170px; position: sticky; left: 0; background: var(--surface); z-index: 1; }
.ec-head { position: relative; vertical-align: top !important; }
.ec-img { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface2); margin-bottom: 10px; }
.ec-img img { width: 100%; height: 100%; object-fit: cover; }
.ec-img .noimg { display: grid; place-items: center; height: 100%; color: var(--muted); }
.ec-name { display: block; font-weight: 800; line-height: 1.3; font-size: 15px; }
.ec-head small { display: flex; align-items: center; gap: 5px; margin-top: 6px; color: var(--muted); font-weight: 500; font-size: 12.5px; }
.ec-head small .i { width: 13px; height: 13px; flex: none; }
.ec-del { position: absolute; top: 18px; right: 20px; z-index: 2; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(15, 27, 45, .75); color: #fff; cursor: pointer; }
.ec-del .i { width: 15px; height: 15px; }
.ec-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.ec-price b { font-size: 17px; }
.ec-price s { color: var(--muted); font-size: 13px; }
.ec-price small { color: var(--muted); }
.ec-table td.best { background: color-mix(in srgb, var(--ok) 11%, transparent); font-weight: 700; }
.ec-yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.ec-yes .i { width: 15px; height: 15px; }
.ec-sec th { background: var(--surface2) !important; color: var(--text) !important; font-weight: 800 !important; text-transform: uppercase; letter-spacing: .06em; font-size: 12px !important; }
.ec-foot td { border-bottom: 0; }
.ec-note { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.ec-note .i { width: 15px; height: 15px; flex: none; }
@media (max-width: 760px) {
  .es-map { height: 260px; }
  .es-map-lg { height: 62vh; }
  .es-loan .el-grid { grid-template-columns: 1fr; }
  .es-cmpbar { bottom: calc(86px + env(safe-area-inset-bottom)); gap: 8px; padding-left: 14px; }
  .es-cmpbar > .i { display: none; }
  .ec-table { min-width: calc(120px + var(--n) * 170px); }
  .ec-table tbody th, .ec-table .ec-corner { width: 120px; }
  .es-sort { flex-wrap: wrap; gap: 10px; }
}

/* ---------- Canlı destek: sitedeki asistan penceresi ---------- */
.gr-bot-chips[hidden] { display: none; }
.gr-live-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--brand) !important; color: var(--brand) !important; font-weight: 700; background: transparent; border-radius: 99px; padding: 6px 12px; font-size: 13px; cursor: pointer; margin-top: 8px; }
.gr-bot-chips .gr-live-btn { margin-top: 0; }
.gr-live-btn .i { width: 16px; height: 16px; }
.gr-live-btn:hover { background: var(--brand) !important; color: var(--on-brand, #fff) !important; }
.gr-live-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 14px; font-size: 12.5px; border-bottom: 1px solid var(--line, #e5e7eb); background: var(--surface2, #f3f4f6); }
.gr-live-bar[hidden] { display: none; }
.gr-live-bar span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted, #666); }
.gr-live-bar button { border: 0; background: none; color: var(--brand); font-weight: 700; cursor: pointer; font-size: 12.5px; padding: 0; }
.gr-dot { width: 8px; height: 8px; border-radius: 50%; background: #a3a3a3; display: inline-block; }
.gr-dot.on { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
.gr-msg.sys { align-self: center; max-width: 92%; background: transparent; color: var(--muted, #777); font-size: 12.5px; text-align: center; padding: 2px 8px; }
.gr-msg .gr-by { display: block; font-style: normal; font-size: 11.5px; font-weight: 700; opacity: .75; margin-bottom: 2px; }
.gr-msg .gr-at { display: block; font-size: 10.5px; opacity: .6; margin-top: 3px; text-align: right; }
.gr-live-form { max-width: 100% !important; width: 100%; }
.gr-live-form form { display: flex !important; flex-direction: column; gap: 8px; padding: 0 !important; border: 0 !important; }
.gr-live-form span { font-size: 13px; color: var(--muted, #666); }
.gr-live-form input { border: 1px solid var(--line, #ddd); border-radius: 10px; padding: 9px 12px; background: var(--bg, #fff); color: inherit; font: inherit; }
.gr-live-form .btn { align-self: flex-start; }
.gr-bot-btn[data-n]::after { content: attr(data-n); position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: #ef4444; color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--surface, #fff); }

/* ---------- Canlı destek: panel sayfası ---------- */
.lc-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 16px; height: calc(100vh - 150px); min-height: 460px; }
.lc-list, .lc-pane { display: flex; flex-direction: column; overflow: hidden; min-height: 0; }
.lc-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line, #e5e7eb); }
.lc-off { margin: 10px 12px 0; padding: 10px 12px; border-radius: 10px; background: #fef3c7; color: #78350f; font-size: 13px; }
.lc-rows { overflow-y: auto; padding: 6px; flex: 1; }
.lc-rows button { width: 100%; display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; text-align: left; border: 0; background: none; padding: 10px; border-radius: 12px; cursor: pointer; color: inherit; font: inherit; }
.lc-rows button:hover { background: var(--surface2, #f3f4f6); }
.lc-rows button.on { background: color-mix(in srgb, var(--brand, #0e7490) 12%, transparent); }
.lc-rows button.closed { opacity: .6; }
.lc-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--brand, #0e7490); color: #fff; }
.lc-tx { min-width: 0; display: flex; flex-direction: column; }
.lc-tx small { color: var(--muted, #777); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 11.5px; color: var(--muted, #777); }
.lc-badge { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: #ef4444; color: #fff; font-weight: 800; font-size: 11px; display: grid; place-items: center; }
.lc-empty { padding: 14px; }
.lc-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line, #e5e7eb); flex-wrap: wrap; }
.lc-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lc-who small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-back { display: none; }
.lc-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--surface2, #f8fafc); }
.lc-m { max-width: 76%; padding: 9px 12px; border-radius: 14px; background: var(--surface, #fff); border: 1px solid var(--line, #e5e7eb); align-self: flex-start; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.lc-m.a { align-self: flex-end; background: var(--brand, #0e7490); color: #fff; border-color: transparent; }
.lc-m.s { align-self: center; background: transparent; border: 0; color: var(--muted, #777); font-size: 12.5px; text-align: center; white-space: normal; }
.lc-m em { display: block; font-style: normal; font-size: 11px; font-weight: 700; opacity: .8; }
.lc-m small { display: block; font-size: 10.5px; opacity: .65; margin-top: 3px; text-align: right; }
.lc-form { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--line, #e5e7eb); align-items: flex-end; }
.lc-form textarea { flex: 1; resize: vertical; min-height: 44px; }
.lc-blank { flex: 1; display: grid; place-items: center; align-content: center; gap: 8px; color: var(--muted, #888); }
.lc-blank .i { width: 40px; height: 40px; opacity: .4; }
@media (max-width: 900px) {
  .lc-wrap { grid-template-columns: 1fr; height: calc(100vh - 130px); }
  .lc-wrap.has-cur .lc-list { display: none; }
  .lc-wrap:not(.has-cur) .lc-pane { display: none; }
  .lc-back { display: inline-grid; }
}

/* ---------- Sözleşme örnekleri (/sozlesmeler) ---------- */
.ctr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ctr-card { display: flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.ctr-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 0, 0, .08); }
.ctr-card > svg { width: 30px; height: 30px; color: var(--brand); }
.ctr-card h3 { margin: 2px 0; font-size: 18px; }
.ctr-card p { margin: 0; color: var(--muted, #667); font-size: 14.5px; }
.ctr-more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--brand); font-size: 14px; }
.ctr-more svg { width: 16px; height: 16px; }
.ctr-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; align-items: start; }
.ctr-doc h2 { font-size: 19px; margin: 22px 0 10px; }
.ctr-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 4px; }
.ctr-fields { display: grid; grid-template-columns: minmax(0, 42%) 1fr; gap: 10px 16px; margin: 0; }
.ctr-fields dt { font-weight: 600; font-size: 14.5px; }
.ctr-fields dd { margin: 0; }
.ctr-line { display: block; border-bottom: 1px dashed var(--line, #ccd); height: 22px; }
.ctr-line.tall { height: 58px; }
.ctr-opt { display: inline-block; margin: 0 14px 4px 0; font-size: 14.5px; }
.ctr-body { border: 1px solid var(--line, #e3e6ea); border-radius: 12px; padding: 6px 18px; background: var(--bg2, rgba(0, 0, 0, .02)); }
.ctr-body p { margin: 10px 0; line-height: 1.65; }
.ctr-signs { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 36px; }
.ctr-signs div { border-top: 1px solid currentColor; padding-top: 8px; }
.ctr-signs small { display: block; opacity: .7; }
.ctr-date { margin-top: 20px; }
.ctr-side { position: sticky; top: 90px; }
.ctr-side h3 { margin: 0 0 8px; font-size: 16px; }
.ctr-side ul { list-style: none; margin: 0; padding: 0; }
.ctr-side li a { display: flex; gap: 8px; align-items: center; padding: 7px 0; color: inherit; text-decoration: none; font-size: 14.5px; border-bottom: 1px solid var(--line, #eee); }
.ctr-side li a:hover { color: var(--brand); }
.ctr-side svg { width: 16px; height: 16px; flex: none; color: var(--brand); }
@media (max-width: 860px) { .ctr-wrap { grid-template-columns: 1fr; } .ctr-side { position: static; } }
@media (max-width: 560px) { .ctr-fields { grid-template-columns: 1fr; gap: 4px; } .ctr-fields dd { margin-bottom: 8px; } .ctr-signs { grid-template-columns: 1fr; } }
@media print { .ctr-acts, .ctr-side, .phero .crumbs { display: none !important; } .ctr-wrap { display: block; } }

/* ---------- Hesaplayıcılar: hızlı geçiş ---------- */
.calc-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.calc-jump a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line, #dde); text-decoration: none; color: inherit; font-weight: 600; font-size: 14px; }
.calc-jump a:hover { border-color: var(--brand); color: var(--brand); }
.box.calc { scroll-margin-top: 90px; }

/* ---------- E-bilet (app/ek/bilet.php): etkinlik bilgisi, salon planı, bilet ---------- */
.bl-info ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.bl-info li { display: flex; gap: 10px; align-items: flex-start; }
.bl-info li .i { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 2px; }
.bl-info small { display: block; color: var(--muted); font-size: 12px; }
.bl-info b { font-weight: 600; }
.bl-box h2 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bl-box h2 small { margin-left: auto; font: 500 13px/1 var(--font); color: var(--muted); }
.bl-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.bl-legend span { display: inline-flex; align-items: center; gap: 6px; }
.bl-legend .bl-s { width: 16px; height: 16px; min-width: 0; padding: 0; pointer-events: none; }
.bl-scroll { overflow-x: auto; margin: 0 -4px; padding: 4px; -webkit-overflow-scrolling: touch; }
.bl-map { display: inline-flex; flex-direction: column; gap: 5px; min-width: 100%; align-items: center; padding-bottom: 6px; }
.bl-stage { width: min(80%, 520px); margin: 0 auto 14px; padding: 8px; text-align: center; font: 700 12px/1 var(--font); letter-spacing: .3em; color: var(--muted);
  background: var(--surface2); border-radius: 6px 6px 40% 40% / 6px 6px 18px 18px; }
.bl-row { display: flex; gap: 4px; align-items: center; }
.bl-row > b { width: 18px; text-align: center; font-size: 11px; color: var(--muted); flex: none; }
.bl-s { --c: #64748b; width: 26px; height: 26px; min-width: 26px; padding: 0; border: 0; border-radius: 6px 6px 3px 3px; background: color-mix(in srgb, var(--c) 22%, var(--surface));
  color: color-mix(in srgb, var(--c) 80%, var(--text)); font: 600 10px/26px var(--font); cursor: pointer; box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--c) 45%, transparent); transition: transform .12s, background .12s; }
.bl-s:hover:not(:disabled) { transform: translateY(-2px); background: color-mix(in srgb, var(--c) 40%, var(--surface)); }
.bl-s:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.bl-s.z0 { --c: #7c3aed; } .bl-s.z1 { --c: #0284c7; } .bl-s.z2 { --c: #059669; } .bl-s.z3 { --c: #d97706; } .bl-s.z4 { --c: #db2777; } .bl-s.z5 { --c: #475569; }
.bl-s.tk, .bl-s:disabled { --c: #9ca3af; background: repeating-linear-gradient(135deg, var(--surface2) 0 4px, var(--line) 4px 7px); color: transparent; cursor: not-allowed; box-shadow: none; }
.bl-s.tk.mine { background: color-mix(in srgb, var(--ok) 35%, var(--surface)); }
.bl-s.on { background: var(--brand); color: var(--on-brand, #fff); box-shadow: 0 4px 10px -4px var(--brand); transform: translateY(-2px); }
.bl-x { width: 26px; height: 26px; flex: none; }
.bl-gap { width: 14px; flex: none; }
.bl-sum { margin: 4px 0 12px; }
.bl-sum .muted { margin: 0; font-size: 14px; }
.bl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bl-chips button { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); background: var(--surface2); color: var(--text); border-radius: 99px; padding: 4px 6px 4px 11px; font: 600 13px/1.2 var(--font); cursor: pointer; }
.bl-chips small { font-weight: 500; color: var(--muted); }
.bl-chips i { font-style: normal; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--line); font-size: 13px; }
.bl-tot { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; font-size: 14px; }
.bl-tot b { font-size: 18px; }
.bl-tot .linkbtn { margin-left: auto; border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; }
.bl-tix ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.bl-tix li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px dashed var(--line); border-radius: var(--radius-sm); }
.bl-tix li b { display: block; }
.bl-tix li small { color: var(--muted); }
.bl-tix h2 .i, .km-meta .i { width: 20px; height: 20px; }
.bl-ticket { max-width: 420px; margin: 24px auto; background: #fff; border-radius: 18px; padding: 24px; border-top: 8px solid var(--brand); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .45); position: relative; }
.bl-ticket header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bl-ticket h1 { margin: 18px 0 4px; font-size: 24px; line-height: 1.2; }
.bl-when { margin: 0 0 14px; color: #4b5563; }
.bl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 0; border-top: 1px dashed #d1d5db; border-bottom: 1px dashed #d1d5db; }
.bl-grid small { display: block; color: #6b7280; font-size: 12px; }
.bl-grid b { font-size: 16px; }
.bl-qr { display: grid; place-items: center; margin: 18px auto 6px; }
.bl-qr svg { width: 220px; height: 220px; }
.bl-code { text-align: center; font: 700 16px/1 ui-monospace, monospace; letter-spacing: .12em; margin: 0 0 6px; }
.bl-msg { text-align: center; color: #991b1b; font-weight: 600; }
.bl-ticket.st-used .bl-qr, .bl-ticket.st-void .bl-qr, .bl-ticket.st-old .bl-qr { opacity: .25; }
.bl-staff { display: grid; gap: 8px; margin: 14px 0 4px; text-align: center; }
.bl-staff button { border: 0; border-radius: 12px; padding: 14px; font-weight: 700; font-size: 16px; background: #16a34a; color: #fff; cursor: pointer; }
.bl-staff button[data-force] { background: #d97706; }
.bl-staff output { font-weight: 600; }
.bl-ticket footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; font-size: 13px; }
.bl-ticket footer a { color: #6b7280; }
.bl-ticket footer button { border: 0; background: var(--brand); color: #fff; border-radius: 99px; padding: 9px 18px; font-weight: 600; cursor: pointer; }
@media print { .bl-ticket { box-shadow: none; margin: 0 auto; } .bl-ticket footer, .bl-staff { display: none; } }
@media (max-width: 480px) { .bl-ticket { margin: 0; border-radius: 0; min-height: 100vh; } .bl-s, .bl-x { width: 24px; height: 24px; min-width: 24px; line-height: 24px; } }

/* ---------- E-sertifika (app/ek/sertifika.php) ---------- */
.sr-look .form { display: grid; gap: 12px; }
.sr-look input { font: 600 18px/1 ui-monospace, monospace; letter-spacing: .08em; }
.sr-steps { margin-top: 26px; }
.sr-doc { padding: 16px; }
.sr-verify { max-width: 900px; margin: 10px auto 16px; display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 14px; background: #dcfce7; color: #14532d; }
.sr-verify .i { width: 30px; height: 30px; flex: none; }
.sr-verify b { display: block; font-size: 17px; }
.sr-verify.st-void { background: #fee2e2; color: #7f1d1d; }
.sr-verify.st-expired { background: #fef3c7; color: #78350f; }
.sr-cert { max-width: 900px; margin: 0 auto; background: #fff; padding: 14px; border-radius: 6px; box-shadow: 0 24px 60px -34px rgba(0, 0, 0, .5); }
.sr-cert.dim { filter: grayscale(.8); opacity: .7; }
.sr-frame { border: 2px solid var(--brand); outline: 1px solid color-mix(in srgb, var(--brand) 40%, transparent); outline-offset: -9px; padding: 44px 48px 30px; text-align: center; position: relative;
  background: radial-gradient(circle at 50% 0, color-mix(in srgb, var(--brand) 7%, #fff), #fff 60%); }
.sr-frame header { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sr-frame header img { max-height: 54px; max-width: 200px; }
.sr-frame header b { letter-spacing: .14em; text-transform: uppercase; font-size: 14px; color: #374151; }
.sr-frame h1 { font: 700 40px/1.1 Georgia, "Times New Roman", serif; margin: 22px 0 6px; color: var(--brand); letter-spacing: .02em; }
.sr-name { font: italic 600 34px/1.2 Georgia, serif; margin: 18px 0 6px; color: #111827; border-bottom: 1px solid #d1d5db; display: inline-block; padding: 0 30px 8px; }
.sr-text { max-width: 620px; margin: 12px auto; color: #374151; font-size: 16px; }
.sr-prog { font-weight: 700; font-size: 19px; margin: 6px 0 22px; }
.sr-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-top: 26px; }
.sr-signs { display: flex; gap: 34px; flex-wrap: wrap; }
.sr-sign { display: grid; justify-items: center; min-width: 150px; }
.sr-sign i { width: 150px; height: 34px; border-bottom: 1px solid #6b7280; margin-bottom: 6px; }
.sr-sign b { font-size: 14px; }
.sr-sign small { color: #6b7280; font-size: 12px; }
.sr-qrbox { display: grid; justify-items: center; gap: 4px; }
.sr-qr svg { width: 104px; height: 104px; }
.sr-qrbox small { font: 600 11px/1 ui-monospace, monospace; letter-spacing: .08em; color: #374151; }
.sr-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 22px 0 0; padding-top: 14px; border-top: 1px solid #e5e7eb; font-size: 12px; }
.sr-meta div { display: flex; gap: 6px; }
.sr-meta dt { color: #6b7280; }
.sr-meta dd { margin: 0; font-weight: 600; }
.sr-fine { max-width: 900px; margin: 14px auto 0; text-align: center; }
.sr-bar { max-width: 900px; margin: 10px auto 30px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.sr-bar a { color: #4b5563; }
.sr-bar button { border: 0; background: var(--brand); color: #fff; border-radius: 99px; padding: 10px 20px; font-weight: 600; cursor: pointer; }
@media print { @page { size: A4 landscape; margin: 10mm; } .sr-doc { padding: 0; background: #fff; } .sr-verify, .sr-bar, .sr-fine { display: none; } .sr-cert { box-shadow: none; padding: 0; } }
@media (max-width: 640px) { .sr-frame { padding: 28px 16px 20px; } .sr-frame h1 { font-size: 28px; } .sr-name { font-size: 24px; padding: 0 10px 6px; } .sr-foot { flex-direction: column; align-items: center; } .sr-signs { justify-content: center; } }

/* ---------- Kamu (app/ek/kamu.php): kararlar / ilanlar, rehber, başvuru istatistikleri ---------- */
.km-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.km-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; }
.km-tabs a small { color: var(--muted); font-weight: 500; }
.km-tabs a.on { background: var(--brand); border-color: var(--brand); color: var(--on-brand, #fff); }
.km-tabs a.on small { color: inherit; opacity: .8; }
.km-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 20px; }
.km-filter input { flex: 1 1 240px; min-width: 0; }
.km-filter input, .km-filter select { height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font: inherit; }
.km-docs { display: grid; gap: 12px; }
.km-docs.two-col { grid-template-columns: 1fr 1fr; }
.km-doc { display: flex; gap: 16px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.km-date { flex: none; width: 64px; height: 64px; border-radius: 12px; background: var(--tint); color: var(--brand); display: grid; place-content: center; text-align: center; line-height: 1.1; }
.km-date b { font-size: 22px; }
.km-date small { font-size: 11px; color: var(--muted); }
.km-body { min-width: 0; flex: 1; }
.km-kind { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); }
.km-body h3 { margin: 4px 0 6px; font-size: 17px; line-height: 1.35; }
.km-body h3 a { color: inherit; text-decoration: none; }
.km-body h3 a:hover { text-decoration: underline; }
.km-body p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.km-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.km-full .btn { margin-top: 10px; }
.km-meta { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; }
.km-meta li { display: inline-flex; align-items: center; gap: 6px; }
.km-h2 { margin: 30px 0 14px; font-size: 22px; }
.km-grp:first-of-type .km-h2 { margin-top: 6px; }
.km-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.km-card { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.km-card h3 { margin: 0 0 6px; font-size: 17px; }
.km-card p { margin: 0 0 8px; font-size: 14px; }
.km-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14px; }
.km-card li { display: flex; gap: 8px; align-items: flex-start; overflow-wrap: anywhere; }
.km-card li .i { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 2px; }
.km-card li small { color: var(--muted); }
.km-card a { color: inherit; }
.km-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.km-tiles div { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.km-tiles small { display: block; color: var(--muted); font-size: 13px; }
.km-tiles b { font-size: 28px; font-family: var(--font-h); }
.km-bars { display: flex; align-items: flex-end; gap: 6px; height: 190px; padding-top: 10px; }
.km-bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; font-size: 11px; }
.km-bar span { width: 100%; max-width: 30px; background: var(--tint2); border-radius: 5px 5px 2px 2px; position: relative; display: flex; align-items: flex-end; min-height: 2px; }
.km-bar i { display: block; width: 100%; background: var(--brand); border-radius: 5px 5px 2px 2px; }
.km-bar small { color: var(--muted); }
.km-bar b { font-size: 11px; }
.km-k { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin: 0 4px 0 10px; vertical-align: -1px; }
.km-k.a { background: var(--tint2); } .km-k.b { background: var(--brand); }
.km-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.km-cats li { display: grid; grid-template-columns: minmax(110px, 38%) 1fr auto; align-items: center; gap: 10px; font-size: 14px; }
.km-cats i { height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--brand) var(--w), var(--tint) var(--w)); }
.km-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.km-cta p { margin: 4px 0 0; }
@media (max-width: 760px) { .km-tiles { grid-template-columns: 1fr 1fr; } .km-docs.two-col { grid-template-columns: 1fr; } .km-doc { padding: 14px; gap: 12px; } .km-date { width: 52px; height: 52px; } .km-date b { font-size: 18px; } }

/* ---------- Panel: giriş kontrol (admin-ek2.js) ---------- */
.bk-scan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.bk-video { position: relative; background: #0b0b0b; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; display: grid; place-items: center; color: #9ca3af; }
.bk-video video { width: 100%; height: 100%; object-fit: cover; }
.bk-video.live::after { content: ""; position: absolute; inset: 18%; border: 3px solid rgba(255, 255, 255, .7); border-radius: 14px; pointer-events: none; }
.bk-res { border-radius: 14px; padding: 18px; min-height: 140px; display: grid; gap: 6px; align-content: start; background: var(--surface-2, #f3f4f6); color: var(--text, #111827); }
.bk-res b { font-size: 22px; }
.bk-res.ok { background: #dcfce7; color: #14532d; }
.bk-res.no { background: #fee2e2; color: #7f1d1d; }
.bk-res.warn { background: #fef3c7; color: #78350f; }
.bk-ev { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
.bk-meter { height: 8px; border-radius: 99px; background: #e5e7eb; overflow: hidden; grid-column: 1 / -1; }
.bk-meter i { display: block; height: 100%; background: var(--brand, #2563eb); }
.bk-plan { overflow-x: auto; padding: 8px 0; }
.bk-plan .bl-map { min-width: 0; }
@media (max-width: 800px) { .bk-scan { grid-template-columns: 1fr; } }
.sr-gap { height: 14px; }
