/* v12.5.1 — kayıt formu (kompakt yerleşim, firma fiyat listesi, çek planı) ve sakin hover.
   En son yüklenir; önceki katmanları (app.css, v12411-workspace.css, v12414-design.css) bilinçli olarak geçersiz kılar. */

/* ---- Sakin hover: kartlar/karolar/düğmeler yukarı kalkmaz, kayma/ölçek yok (gereksiz 3B his kaldırıldı) ---- */
@media (hover: hover) {
  .kpi:hover, .tile:hover, .btn:hover, .icon-btn:hover, .fab-desktop:hover, .link-btn:hover, .sb-link:hover, .alerts .al:hover,
  .w-tool-btn:hover, .bim-floor:hover, .btn-ai:hover, .aix-fab:hover, .hero .btn:hover, .ux-page-actions .btn:hover, .quick-grid .quick:hover { transform: none; }
  .kpi:hover .kpi-ico, .tile:hover .tile-ico, .sb-link:hover .ic, .li:hover .li-ico { transform: none; }
  .kpi:hover, .tile:hover { box-shadow: var(--shadow-1, 0 1px 3px rgba(0,0,0,.12)); }
}

/* ---- Metin seçilebilir / kopyalanabilir: listelerdeki başlık, alt metin ve tutarlar ---- */
.li .li-title, .li .li-sub, .li-amt, .kpi-val, .kpi-label, .stat-row, table td, table th, .detail-grid, .detail-grid b { -webkit-user-select: text; user-select: text; }

/* ---- Kayıt formu: kompakt, tek bakışta ---- */
.tx-sheet #txf .tx-section > h4 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tx-sheet #txf .tx-section > p:not(.tx-preview) { display: none; }
@media (min-width: 900px) {
  .tx-sheet #txf .tx-section > h4 { position: static; width: auto; height: auto; clip: auto; font-size: 13px; letter-spacing: .4px; text-transform: uppercase; color: var(--slate); }
}
.tx-form-guide { margin: 0 0 8px; }
.tx-form-guide summary { min-height: 32px; }
.tx-sheet #txf .tx-section .ux-field-hint { display: none; }
@media (min-width: 900px) { .tx-sheet #txf .tx-section .ux-field-hint { display: block; } }
.tx-sheet #txf .tx-section { padding: 12px; gap: 10px; }
.tx-sheet #txf .tx-quick { padding: 6px 12px; }
.tx-sheet #txf .tx-quick summary { display: flex; align-items: center; gap: 6px; min-height: 36px; }

/* tür seçici: tek satır, beş eşit düğme (ikon üstte, ad altta) */
.tx-sheet #txf #segType { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 0; background: transparent; }
.tx-sheet #txf #segType button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; min-height: 54px; padding: 6px 2px; border-radius: 10px; font-size: 11.5px; white-space: nowrap; }
.tx-sheet #txf #segType button span { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.saha-mode .tx-sheet #txf #segType { grid-template-columns: 1fr; }

/* tutar kutusu: para birimi seçimi kutunun içinde */
.cur-sel { appearance: none; -webkit-appearance: none; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); border-radius: 999px; padding: 6px 12px; min-height: 36px; font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; }
.tx-sheet .amount-box { gap: 8px; }
.tx-sheet .amount-box input { min-width: 0; }
.total-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.amount-help .hint { font-size: 11.5px; }

/* ---- Firma fiyat listesi ---- */
.price-box { display: flex; flex-direction: column; gap: 8px; }
.price-box:empty { display: none; }
.price-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.price-head.muted { color: var(--slate); }
.price-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.price-chip { display: flex; flex-direction: column; align-items: flex-start; gap: 0; text-align: left; min-height: 44px; padding: 6px 12px; white-space: normal; }
.price-chip b { font-size: 13px; }
.price-chip small { font-size: 11.5px; color: var(--slate); }
.price-chip.on { border-color: var(--accent); }
.price-note { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 12px; font-size: 12.5px; line-height: 1.5; border: 1px solid var(--line); background: var(--surface-2); }
.price-note .btn { margin-left: auto; flex: none; }
.price-note.ok { border-color: color-mix(in srgb, var(--green, #2E8B62) 50%, transparent); }
.price-note.warn { border-color: color-mix(in srgb, var(--amber, #B8730A) 55%, transparent); background: color-mix(in srgb, var(--amber, #B8730A) 12%, transparent); }
.price-save { font-size: 12.5px; }

/* ---- Çek planı ---- */
.plan-box:empty { display: none; }
.plan-box { display: flex; flex-direction: column; gap: 10px; }
.switch-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 12px; cursor: pointer; }
.switch-row input { width: 22px; height: 22px; margin-top: 2px; flex: none; }
.switch-row small { display: block; color: var(--slate); font-size: 11.5px; line-height: 1.5; }
.plan-gen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: end; }
.plan-gen .btn { grid-column: 1 / -1; }
.plan-table-wrap { overflow-x: auto; }
.plan-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.plan-table th { text-align: left; font-size: 11.5px; color: var(--slate); padding: 4px 4px; }
.plan-table td { padding: 3px 3px; }
.plan-table input { width: 100%; min-width: 0; min-height: 40px; border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; background: var(--surface); color: var(--ink); font: inherit; }
.plan-table input.r { text-align: right; }
.plan-table th.r { text-align: right; }
.plan-foot { display: flex; flex-wrap: wrap; gap: 6px; }
.plan-sum { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 8px 12px; border-radius: 10px; font-size: 12.5px; background: var(--surface-2); }
.plan-sum.ok { background: color-mix(in srgb, var(--green, #2E8B62) 14%, transparent); }
.plan-sum.warn { background: color-mix(in srgb, var(--amber, #B8730A) 14%, transparent); }
.plan-sum.err { background: color-mix(in srgb, var(--red, #C0453B) 16%, transparent); }
.plan-err { display: flex; gap: 6px; align-items: center; color: var(--red, #C0453B); font-size: 12.5px; margin: 0; }
@media (max-width: 420px) { .plan-gen { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plan-table th:nth-child(4), .plan-table td:nth-child(4) { display: none; } }
@media (prefers-reduced-motion: reduce) { .price-chip, .cur-sel { transition: none; } }

/* ---- Bağlam menüsü (sağ tık) ve uzun basma sayfası ---- */
.ctx-menu { position: fixed; z-index: 1200; min-width: 220px; max-width: min(340px, calc(100vw - 12px)); padding: 6px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 12px 36px rgba(0,0,0,.35); }
.ctx-menu hr, .ctx-sheet hr { border: 0; border-top: 1px solid var(--line); margin: 4px 2px; }
.ctx-item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 8px 12px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; }
.ctx-item:hover, .ctx-item:focus-visible { background: var(--surface-2); outline: none; }
.ctx-item:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.ctx-item.danger { color: var(--red, #C0453B); }
.ctx-item[disabled] { opacity: .45; cursor: default; }
.ctx-ic { width: 18px; flex: none; }
.ctx-sheet { display: flex; flex-direction: column; gap: 2px; }
.ctx-sheet .ctx-item { min-height: 52px; font-size: 15px; border-radius: 12px; }

/* ---- Çoklu seçim ---- */
.sel-mode .li.tx { position: relative; padding-left: 44px; cursor: pointer; }
.sel-mode .li.tx::before { content: ''; position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border: 2px solid var(--slate); border-radius: 6px; background: var(--surface); }
.li.tx.sel { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); box-shadow: inset 0 0 0 2px var(--accent); }
.sel-mode .li.tx.sel::before { background: var(--accent); border-color: var(--accent); }
.sel-mode .li.tx.sel::after { content: '✓'; position: absolute; left: 19px; top: 50%; margin-top: -10px; color: #1B2A41; font-weight: 800; font-size: 13px; line-height: 20px; }
.sel-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabbar-h, 0px) + var(--safe-b, 0px) + 12px); z-index: 90; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; width: min(720px, calc(100vw - 20px)); padding: 8px 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.sel-bar .sel-count { font-size: 13px; padding: 0 6px; }
@media (min-width: 1100px) { .sel-bar { bottom: 20px; } }

/* ---- Dosya sürükle-bırak katmanı ---- */
.drop-overlay { position: fixed; inset: 0; z-index: 1300; display: grid; place-items: center; background: color-mix(in srgb, var(--navy, #1B2A41) 78%, transparent); backdrop-filter: blur(3px); pointer-events: none; }
.drop-overlay > div { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 32px 40px; border: 3px dashed var(--accent); border-radius: 24px; color: #fff; text-align: center; max-width: min(520px, calc(100vw - 32px)); }
.drop-overlay svg { width: 44px; height: 44px; }
.drop-overlay small { opacity: .85; line-height: 1.5; }
@media (forced-colors: active) { .ctx-menu { border: 2px solid CanvasText; } .li.tx.sel { outline: 3px solid Highlight; } }

/* ============ Mobil okunabilirlik (telefon/tablet): yazı tabanı 11,5–12 px, başlık ve filtre düzeni ============ */
.eyebrow, .ux-page-heading .eyebrow, .dash-layoutbar .eyebrow { font-size: 11.5px; letter-spacing: .5px; }
.dash-filterbar label[for], .dash-period-note, .dash-layoutbar [data-layout-note], .dashboard-page .dash-summary .kpi-sub, .dashboard-page .dash-card .card-head .sub, .dashboard-page .kpi-label { font-size: 12px; }
#topbar .tb-title small, #topbar .sync-badge, .cal-day small, .qtbl small, .aig-tag, .hol-name { font-size: 11.5px; }
@media (max-width: 900px) {
  #tabbar .tab, #tabbar .fab { font-size: 11px; }
  label, .field > span, .hint, .small, .xs, small, .li-meta, .badge { font-size: max(1em, 11.5px); }
  .li-sub, .li-meta { line-height: 1.45; }
}
@media (max-width: 760px) {
  .workspace-heading { align-items: stretch !important; text-align: left; }
  .workspace-heading > div, .workspace-heading .dash-customize { width: 100%; }
  .dash-customize, .ux-page-actions { justify-content: flex-start; flex-wrap: wrap; }
  .ux-page-actions .btn, .dash-customize .btn { flex: 1 1 140px; }
}
@media (max-width: 520px) {
  .dash-filterbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .dash-filterbar > div { min-width: 0; }
  .dash-filterbar > div:nth-child(3), .dash-filterbar .dash-period-note { grid-column: 1 / -1; }
  .dash-filterbar select { font-size: 14px; padding-left: 10px; padding-right: 28px; text-overflow: ellipsis; }
  .dash-layoutbar { display: none; } /* tek sütunlu telefonda sütun/yoğunluk ayarı anlamsız; ayrıntı: Düzeni değiştir */
  .dash-heading { margin-bottom: 12px; }
  .kpi-grid { gap: 10px; }
}

/* kayıt formu ince ayar: tür seçici tek satır (eski 2 sütun kuralını geçersiz kılar), para birimi seçimi dar */
.tx-sheet #txf #segType button:last-child { grid-column: auto; }
.cur-sel, .amount-box .cur-sel, .total-row .cur-sel { width: auto; flex: none; max-width: 120px; }
.kpi .kpi-label { font-size: 12px; }
.tx-sheet .amount-box .cur-sel, .tx-sheet .total-row .cur-sel, .cur-sel { width: auto !important; max-width: 112px !important; flex: none !important; }
.tx-sheet .amount-box input { flex: 1 1 auto !important; width: auto !important; min-width: 0 !important; }
.tx-sheet #txf .field { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.tx-sheet #txf .amount-box, .tx-sheet #txf .amount-help { min-width: 0; max-width: 100%; }
.tx-sheet #txf .amount-box input { flex: 1 1 0 !important; }

/* ======================================================================
   v12.5.1 — Toast (dokunulabilir), Bildirim merkezi, Ses ayarları
   ====================================================================== */
.toasts { z-index: 420; }
.toast { cursor: default; touch-action: pan-y; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
.toast.is-action { cursor: pointer; }
.toast .toast-msg { flex: 1 1 auto; min-width: 0; line-height: 1.4; overflow-wrap: anywhere; }
.toast .toast-n { flex: none; font-size: 12px; background: rgba(255, 255, 255, .2); border-radius: 999px; padding: 1px 8px; }
.toast .toast-act { margin-left: 0; flex: none; min-height: 36px; }
.toast .toast-x { margin-left: 0; flex: none; width: 34px; height: 34px; padding: 0; display: grid; place-items: center; background: transparent; opacity: .72; border-radius: 10px; }
.toast .toast-x:hover, .toast .toast-x:focus-visible { opacity: 1; background: rgba(255, 255, 255, .18); }
.toast .toast-x svg { width: 16px; height: 16px; }
.toast.bump { animation: toast-bump .28s var(--ease-out, ease-out); }
@keyframes toast-bump { 50% { transform: scale(1.04); } }
#bellBtn.ring svg { animation: bell-ring .9s ease-in-out 1; transform-origin: 50% 8%; }
@keyframes bell-ring { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(16deg); } 30% { transform: rotate(-14deg); } 45% { transform: rotate(10deg); } 60% { transform: rotate(-8deg); } 75% { transform: rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { #bellBtn.ring svg, .toast.bump { animation: none; } }

.nc { display: flex; flex-direction: column; gap: 12px; }
.nc-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.nc-sum { margin: 0; font-size: 14px; font-weight: 650; color: var(--ink-2, var(--ink)); }
.nc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.nc-actions .btn { min-height: 44px; }
.nc-filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.nc-filters::-webkit-scrollbar { display: none; }
.nc-filters .chip { flex: none; min-height: 40px; white-space: nowrap; font-size: 13px; }
.nc-filters .chip small { opacity: .75; margin-left: 2px; }
.nc-day { margin: 12px 0 2px; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--slate); }
.nc-item { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--line); border-left-width: 4px; border-radius: 14px; background: var(--surface); margin: 8px 0; }
.nc-item.level-error { border-left-color: var(--red, #D14343); }
.nc-item.level-warn { border-left-color: var(--amber, #D98A1F); }
.nc-item.level-success { border-left-color: var(--green, #2E9E6B); }
.nc-item.level-info { border-left-color: var(--slate, #64748b); }
.nc-item.is-new { background: color-mix(in srgb, var(--accent, #E8A33D) 8%, var(--surface)); }
.nc-ico { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--surface-2); color: var(--ink-2, var(--ink)); }
.nc-ico svg { width: 20px; height: 20px; }
.nc-main { flex: 1; min-width: 0; }
.nc-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.nc-head b { font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.nc-head time { margin-left: auto; font-size: 12.5px; color: var(--slate); white-space: nowrap; }
.nc-n { font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2, var(--ink)); }
.nc-lvl { font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--slate); }
.nc-item.level-error .nc-lvl { color: var(--red, #D14343); border-color: currentColor; }
.nc-item.level-warn .nc-lvl { color: var(--amber, #B8730A); border-color: currentColor; }
.nc-text { margin: 6px 0 0; font-size: 14px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.nc-text.is-clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.nc-more { margin-top: 2px; min-height: 36px; }
.nc-meta { margin: 10px 0 0; display: grid; gap: 4px; font-size: 12.5px; }
.nc-meta > div { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 8px; }
.nc-meta dt { color: var(--slate); font-weight: 650; }
.nc-meta dd { margin: 0; overflow-wrap: anywhere; color: var(--ink-2, var(--ink)); }
.nc-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.nc-btns .btn { min-height: 40px; }
.nc-empty { text-align: center; padding: 36px 16px; color: var(--slate); }
.nc-empty svg { width: 40px; height: 40px; }
.nc-empty b { display: block; margin: 10px 0 4px; color: var(--ink); font-size: 16px; }
.nc-empty p { margin: 0 auto; max-width: 420px; font-size: 13.5px; line-height: 1.6; }
.atlas-event header { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.atlas-event header .ae-ico { display: inline-grid; place-items: center; color: var(--ink-2, var(--ink)); }
.atlas-event header time { margin-left: auto; font-size: 12px; color: var(--slate); }
.atlas-event .nc-meta { font-size: 12px; }

.nc-set section { margin-bottom: 20px; }
.nc-set h3 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--slate); }
.nc-radio { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 12px; margin: 6px 0; cursor: pointer; flex: 1; min-width: 0; }
.nc-radio input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent, #E8A33D); }
.nc-radio span { min-width: 0; }
.nc-radio b { display: block; font-size: 14.5px; }
.nc-radio small { display: block; color: var(--slate); font-size: 12.5px; line-height: 1.5; margin-top: 2px; }
.nc-radio:has(input:checked) { border-color: var(--accent, #E8A33D); background: color-mix(in srgb, var(--accent, #E8A33D) 8%, transparent); }
.nc-switch { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 2px; border-bottom: 1px solid var(--line); min-height: 52px; cursor: pointer; }
.nc-switch span { min-width: 0; }
.nc-switch b { font-size: 14.5px; font-weight: 650; }
.nc-switch small { display: block; color: var(--slate); font-size: 12.5px; font-weight: 400; line-height: 1.5; margin-top: 2px; }
.nc-switch input[type=checkbox] { appearance: none; -webkit-appearance: none; flex: none; width: 48px; height: 28px; border-radius: 999px; background: var(--line); position: relative; transition: background .2s; cursor: pointer; margin: 0; }
.nc-switch input[type=checkbox]::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); transition: transform .2s; }
.nc-switch input[type=checkbox]:checked { background: var(--accent, #E8A33D); }
.nc-switch input[type=checkbox]:checked::after { transform: translateX(20px); }
.nc-switch input[type=checkbox]:focus-visible, .nc-radio input:focus-visible { outline: 2px solid var(--accent, #E8A33D); outline-offset: 3px; }
.nc-sel { margin-top: 10px; }
.nc-sel select { min-height: 46px; }
.nc-seg { display: flex; gap: 6px; flex-wrap: wrap; }
.nc-seg label { flex: 1 1 100px; min-height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; font-weight: 650; font-size: 14px; cursor: pointer; text-align: center; padding: 6px 10px; position: relative; }
.nc-seg label.on { border-color: var(--accent, #E8A33D); background: color-mix(in srgb, var(--accent, #E8A33D) 14%, transparent); }
.nc-seg input { position: absolute; opacity: 0; pointer-events: none; }
.vp-now { margin: 10px 0 0; font-size: 13.5px; }
.vp-warn { display: flex; gap: 10px; margin-top: 10px; padding: 12px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--amber, #B8730A) 50%, transparent); background: color-mix(in srgb, var(--amber, #B8730A) 12%, transparent); font-size: 13.5px; line-height: 1.55; }
.vp-warn svg { flex: none; margin-top: 2px; }
.vp-warn p { margin: 4px 0 0; }
.vp-list { display: flex; flex-direction: column; gap: 4px; }
.vp-row { display: flex; gap: 8px; align-items: center; }
.vp-row .btn { flex: none; min-height: 44px; }
.vp-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.vb { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--slate); }
.vb.f { color: #B5427A; border-color: currentColor; }
.vb.m { color: #3B6FB6; border-color: currentColor; }
.vb.q { color: var(--green, #2E9E6B); border-color: currentColor; }
.vp-range { display: block; margin: 12px 0; }
.vp-range span { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 6px; }
.vp-range input[type=range] { width: 100%; min-height: 32px; accent-color: var(--accent, #E8A33D); }
@media (max-width: 520px) {
  .nc-item { padding: 12px; gap: 10px; }
  .nc-ico { width: 34px; height: 34px; }
  .nc-head time { margin-left: 0; flex-basis: 100%; }
  .nc-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .nc-actions .btn { justify-content: center; min-width: 0; padding-left: 8px; padding-right: 8px; }
  .nc-actions .btn:last-child { grid-column: 1 / -1; }
  .nc-btns .btn { flex: 1 1 auto; justify-content: center; }
  .nc-meta > div { grid-template-columns: 1fr; gap: 0; }
  .vp-row { flex-direction: column; align-items: stretch; }
}
.vp-cloud { margin: 0 0 10px; font-size: 13.5px; line-height: 1.55; }
.vp-admin { display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1px dashed var(--line); border-radius: 12px; }
.vp-admin .field { margin: 6px 0; }
.vp-admin input, .vp-admin select { min-height: 46px; }
.vp-admin .btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* ======================================================================
   v12.5.1 — ATLAS pencere/sayfa: tam duyarlı, dokunmaya uygun, okunur yazı boyutları
   ====================================================================== */
.atlas-head .eyebrow { font-size: 11px; letter-spacing: .6px; }
.atlas-head p { font-size: 12.5px; }
.atlas-head .atlas-window-controls button { width: 44px; height: 44px; }
.atlas-utility { display: grid; grid-template-columns: minmax(120px, 1.7fr) repeat(4, minmax(0, 1fr)); gap: 8px; padding: 10px 14px; align-items: stretch; }
.atlas-utility label { grid-column: auto; display: flex; align-items: center; gap: 0; margin: 0; font-size: 0; font-weight: 650; }
.atlas-utility label select { flex: 1 1 auto; width: 100%; min-width: 0; min-height: 46px; font-size: 14px; padding: 8px 30px 8px 12px; border-radius: 12px; }
.atlas-utility .btn { min-height: 52px; padding: 6px 4px; font-size: 12.5px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; line-height: 1.15; text-align: center; white-space: normal; border-radius: 12px; }
.atlas-utility .btn svg { width: 20px; height: 20px; }
.atlas-engine-note { padding: 0 16px 10px; font-size: 12px; line-height: 1.5; }
.atlas-dock .atlas-engine-note { display: none; }
.atlas-messages { padding: 16px; gap: 12px; }
.atlas-message { font-size: 14px; line-height: 1.6; max-width: 96%; }
.atlas-event p { font-size: 13.5px; }
.atlas-message-actions { gap: 6px; }
.atlas-message-actions .btn { min-height: 44px; font-size: 12.5px; padding: 8px 12px; }
.atlas-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 10px 14px; overflow: visible; }
.atlas-quick .chip { min-height: 48px; font-size: 12.5px; line-height: 1.25; white-space: normal; text-align: center; justify-content: center; display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 12px; }
.atlas-composer { padding: 12px 14px max(12px, var(--safe-b)); }
.atlas-composer > label { font-size: 12.5px; }
.atlas-composer textarea { font-size: 16px; min-height: 60px; border-radius: 12px; }
.atlas-compose-foot small { font-size: 12px; }
.atlas-compose-foot { gap: 8px; }
.atlas-compose-foot .btn { min-height: 48px; font-size: 14px; padding: 0 18px; }
.atlas-compose-foot .icon-btn { width: 48px; height: 48px; border-radius: 12px; }
.atlas-send-status { font-size: 12.5px; }
.atlas-launcher small { font-size: 11.5px; }
.atlas-notice time, .atlas-event header time { font-size: 12px; }
@media (max-width: 760px) {
  .atlas-utility { padding: 8px 10px; gap: 6px; }
  .atlas-quick { padding: 8px 10px; }
  .atlas-messages { padding: 12px; }
  .atlas-message { max-width: 100%; }
}
@media (max-width: 479px) {
  .atlas-utility { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .atlas-utility label { grid-column: 1 / -1; }
  .atlas-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atlas-head .eyebrow { font-size: 10.5px; }
  .atlas-head h2 { font-size: 18px; }
  .atlas-head p { font-size: 12px; }
  .atlas-utility label { font-size: 0; gap: 0; }
  .atlas-utility label select { max-width: none; width: 100%; font-size: 14px; }
  .atlas-utility .btn { font-size: 12px; min-height: 50px; }
  .atlas-engine-note { display: none; }
  .atlas-compose-foot small { display: none; }
  .atlas-compose-foot .btn { flex: 1; justify-content: center; }
}
@media (max-width: 359px) {
  .atlas-utility { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atlas-utility .btn { flex-direction: row; gap: 6px; min-height: 46px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .atlas-utility { grid-template-columns: repeat(5, auto); padding: 4px 10px; }
  .atlas-utility label { grid-column: auto; }
  .atlas-utility .btn { flex-direction: row; min-height: 40px; padding: 4px 10px; }
  .atlas-quick { grid-template-columns: repeat(4, auto); }
}
@media (max-width: 640px) {
  .atlas-dock { bottom: calc(var(--tabbar-h) + var(--safe-b) + 10px); height: calc(100dvh - var(--tabbar-h) - var(--safe-b) - var(--safe-t) - 28px); }
  .atlas-launcher[aria-expanded=true] { display: none; }
  .atlas-quick .chip { min-height: 44px; }
}

/* ======================================================================
   v12.5.1 — Kayıt formu: "Belgeden doldur" şeridi (fotoğraf · galeri/PDF · karekod · XML) ve inceleme kartı
   ====================================================================== */
.scan-bar { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 12px; margin-bottom: 12px; }
.scan-title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.scan-title b { display: flex; gap: 6px; align-items: center; font-size: 15px; }
.scan-title small { font-size: 12px; color: var(--slate); text-align: right; }
.scan-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.scan-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 80px; padding: 8px 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); color: var(--ink); text-align: center; cursor: pointer; font: inherit; -webkit-tap-highlight-color: transparent; transition: transform .12s, background .15s; }
.scan-btn svg { width: 26px; height: 26px; flex: none; }
.scan-tx { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.scan-btn b { font-size: 13.5px; line-height: 1.25; }
.scan-btn small { font-size: 12px; color: var(--slate); line-height: 1.3; }
.scan-btn.primary { background: var(--accent, #E8A33D); color: #1b1305; border-color: transparent; }
.scan-btn.primary small { color: inherit; opacity: .8; }
.scan-btn:hover { background: color-mix(in srgb, var(--accent, #E8A33D) 14%, var(--surface-2)); }
.scan-btn.primary:hover { background: var(--accent, #E8A33D); filter: brightness(1.05); }
.scan-btn:active { transform: scale(.98); }
.scan-btn:focus-visible { outline: 2px solid var(--accent, #E8A33D); outline-offset: 2px; }
.scan-hint { margin: 10px 2px 0; font-size: 12px; line-height: 1.5; color: var(--slate); }
.scan-status { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px; border-radius: 12px; background: color-mix(in srgb, var(--accent, #E8A33D) 10%, transparent); }
.scan-status b { font-size: 14px; }
.scan-status small { display: block; color: var(--slate); font-size: 12px; line-height: 1.4; }
.scan-status .btn { margin-left: auto; flex: none; }
.scan-status .spin { width: 22px; height: 22px; border: 3px solid var(--line); border-top-color: var(--accent, #E8A33D); border-radius: 50%; animation: spin 1s linear infinite; flex: none; }
.scan-result { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.scan-res-head { display: flex; flex-wrap: wrap; gap: 6px 10px; justify-content: space-between; align-items: center; }
.scan-res-head b { display: flex; gap: 6px; align-items: center; font-size: 14.5px; }
.scan-via { font-size: 12px; color: var(--slate); padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; }
.scan-chips { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.scan-chips li { display: flex; flex-direction: column; padding: 6px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); min-width: 0; max-width: 100%; }
.scan-chips li span { font-size: 11.5px; color: var(--slate); }
.scan-chips li b { font-size: 13.5px; overflow-wrap: anywhere; }
.scan-miss, .scan-note { margin: 10px 0 0; font-size: 13px; line-height: 1.5; display: flex; gap: 6px; align-items: flex-start; }
.scan-miss { color: var(--amber, #B8730A); }
.scan-miss svg, .scan-note svg { flex: none; margin-top: 2px; }
.scan-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; padding: 10px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--amber, #B8730A) 50%, transparent); background: color-mix(in srgb, var(--amber, #B8730A) 10%, transparent); font-size: 13.5px; }
.scan-contact > span { flex: 1 1 180px; min-width: 0; overflow-wrap: anywhere; }
.scan-contact .btn { min-height: 44px; }
.scan-items { margin-top: 10px; }
.scan-items summary { cursor: pointer; font-weight: 650; min-height: 44px; display: flex; align-items: center; }
.scan-items .tbl { width: 100%; font-size: 13px; }
.scan-next { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.scan-next > span { font-size: 13px; color: var(--slate); }
.scan-next .chip { min-height: 44px; }
.scan-res-foot { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.scan-res-foot .btn { min-height: 44px; }
.field.scan-hit, [data-field].scan-hit { border-radius: 12px; box-shadow: -3px 0 0 0 var(--accent, #E8A33D); padding-left: 8px; background: color-mix(in srgb, var(--accent, #E8A33D) 6%, transparent); }
@media (max-width: 560px) {
  .scan-bar { padding: 10px; }
  .scan-actions { gap: 6px; }
  .scan-btn { min-height: 68px; padding: 8px 2px; gap: 3px; border-radius: 12px; }
  .scan-btn svg { width: 24px; height: 24px; }
  .scan-btn b { font-size: 12px; }
  .scan-btn small { display: none; }
  .scan-title { margin-bottom: 8px; }
  .scan-title small { display: none; }
  .scan-hint { font-size: 11.5px; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { .scan-btn { transition: none; } .scan-status .spin { animation-duration: 2s; } }

/* Kayıt formu: her alanın altındaki genel yardım cümleleri kalabalık yapıyordu; gerekli kısa ipuçları alanların kendi satırlarında kalır */
.tx-sheet #txf .ux-field-hint { display: none; }
/* ATLAS telefon: sohbet alanı ekranın çoğunu alsın — sayfa başlığı (ATLAS başlığıyla aynı), hızlı öneriler tek satır kaydırmalı, yazma alanı kompakt */
@media (max-width: 760px) {
  .page.atlas-surface > .workspace-heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: 0; }
  .page.atlas-surface > .page-guide { max-height: 52px; }
  .atlas-quick, .atlas-dock .atlas-quick { display: flex; grid-template-columns: none; overflow-x: auto; gap: 8px; padding: 8px 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
  .atlas-quick::-webkit-scrollbar { display: none; }
  .atlas-quick .chip { flex: none; scroll-snap-align: start; min-height: 44px; white-space: nowrap; padding: 6px 14px; }
  .atlas-composer > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .atlas-composer { padding-top: 8px; }
  .atlas-composer textarea { min-height: 48px; }
}
@media (max-width: 760px) {
  .atlas-quick, .atlas-dock .atlas-quick { flex-wrap: nowrap; }
}
@media (max-width: 479px) {
  .atlas-head { padding: 8px 12px; }
  .atlas-head .atlas-avatar { width: 40px; height: 52px; }
  .atlas-head .atlas-worker { transform: scale(.62) rotateY(-14deg); }
  .atlas-head p { display: none; }
  .atlas-head h2 { margin: 0; }
}

/* ======================================================================
   v12.5.1 — Sürükle-bırak sıralama (yönetici): tutamaç, hayalet, bırakma çizgisi
   ====================================================================== */
.list-label { margin: 14px 4px 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .3px; color: var(--slate); }
.list-label small { font-weight: 500; opacity: .85; letter-spacing: 0; }
.is-reorder > [data-rid] { position: relative; }
.drag-grip { flex: none; display: inline-grid; place-items: center; width: 34px; min-height: 44px; margin: -6px 2px -6px -8px; color: var(--slate); cursor: grab; touch-action: none; border-radius: 10px; -webkit-tap-highlight-color: transparent; }
.drag-grip:hover, .drag-grip:focus-visible { color: var(--ink); background: color-mix(in srgb, var(--accent, #E8A33D) 14%, transparent); }
.drag-grip:focus-visible { outline: 2px solid var(--accent, #E8A33D); outline-offset: 1px; }
.drag-grip svg { width: 18px; height: 18px; }
.is-reorder > .li { align-items: center; }
.drag-ghost { opacity: .35; background: color-mix(in srgb, var(--accent, #E8A33D) 18%, var(--surface)) !important; border-radius: 12px; }
.drag-chosen { box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .55); cursor: grabbing; }
.chips.is-reorder > .chip { cursor: grab; }
.chips.is-reorder > .chip.drag-chosen { cursor: grabbing; }
@media (pointer: coarse) { .drag-grip { width: 40px; min-height: 48px; } }

/* Kayıt formu: kaydedilmemiş taslak çubuğu */
.draft-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; margin-bottom: 12px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--accent, #E8A33D) 55%, transparent); background: color-mix(in srgb, var(--accent, #E8A33D) 12%, transparent); }
.draft-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: color-mix(in srgb, var(--accent, #E8A33D) 25%, transparent); }
.draft-tx { flex: 1 1 160px; min-width: 0; }
.draft-tx b { display: block; font-size: 14px; }
.draft-tx small { display: block; font-size: 12.5px; color: var(--slate); overflow-wrap: anywhere; }
.draft-bar .btn { min-height: 44px; flex: none; }
@media (max-width: 480px) { .draft-bar .btn { flex: 1 1 auto; } }
/* en küçük yazılar: okunabilirlik tabanı (takvim tatil adı, harita koordinatı) */
.cal-day .hol-name { font-size: 10.5px; }
.mp-coord { font-size: 11px !important; }

/* ============================================================ v12.6.1 klavye (js/keyboard.js: html.kb-on, --vvh, --vvt)
   Mobilde ekran klavyesi açıkken ATLAS görünür alanı doldurur: başlık + konuşma + yazma alanı + Gönder hep görünür;
   motor/düğme şeridi, hızlı öneriler, avatar ve notlar geçici gizlenir; alt sekme ve ATLAS düğmesi klavyenin üstüne binmez. */
@media (max-width: 1099px) {
  html.kb-on #tabbar, html.kb-on .tabbar, html.kb-on .atlas-launcher { display: none !important; }
  html.kb-on .atlas-dock, html.kb-on .atlas-dock[data-size="full"], html.kb-on .atlas-dock[data-size="compact"] {
    position: fixed; top: var(--vvt, 0px); bottom: auto; left: 0; right: 0; width: auto; max-width: none; height: var(--vvh, 100dvh); max-height: none;
    margin: 0; border-radius: 0; border: 0; box-shadow: none;
  }
  html.kb-on .atlas-dock .atlas-avatar, html.kb-on .atlas-dock .atlas-head .eyebrow, html.kb-on .atlas-dock .atlas-head p,
  html.kb-on .atlas-dock .atlas-utility, html.kb-on .atlas-dock .atlas-engine-note, html.kb-on .atlas-dock .atlas-quick { display: none !important; }
  html.kb-on .atlas-dock .atlas-head { padding: 4px 8px 4px 14px; min-height: 0; gap: 8px; }
  html.kb-on .atlas-dock .atlas-head h2 { font-size: 16px; margin: 0; }
  html.kb-on .atlas-dock .atlas-messages { flex: 1 1 auto; min-height: 0; padding: 8px 10px; }
  html.kb-on .atlas-dock .atlas-composer { padding: 6px 10px max(6px, var(--safe-b)); }
  html.kb-on .atlas-dock .atlas-composer textarea { min-height: 44px; height: 44px; max-height: 88px; }
  html.kb-on .atlas-dock .atlas-compose-foot { margin-top: 5px; }
  /* /asistan sayfasındaki sohbet kartı: sayfa kaydırması yerine görünür alana sığar */
  html.kb-on .page.atlas-surface { height: calc(var(--vvh, 100dvh) - 66px); min-height: 0; max-height: none; }
  html.kb-on .page.atlas-surface > .page-guide, html.kb-on .page.atlas-surface .atlas-utility, html.kb-on .page.atlas-surface .atlas-quick,
  html.kb-on .page.atlas-surface .atlas-engine-note { display: none !important; }
  html.kb-on .page.atlas-surface .atlas-messages { flex: 1 1 auto; min-height: 0; }
}
/* yatay telefon + klavye: görünür alan ~200 px; başlık gizlenir, yazma alanı ve Gönder yan yana tek satıra yaklaşır */
@media (max-width: 1099px) and (max-height: 420px) {
  html.kb-on .atlas-dock .atlas-head { display: none; }
  html.kb-on .atlas-dock .atlas-messages { padding: 6px 10px; }
  html.kb-on .atlas-dock .atlas-composer { padding: 5px 10px max(5px, var(--safe-b)); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; align-items: end; }
  html.kb-on .atlas-dock .atlas-composer textarea { min-height: 40px; height: 40px; }
  html.kb-on .atlas-dock .atlas-compose-foot { margin: 0; flex-wrap: nowrap; }
  html.kb-on .atlas-dock .atlas-compose-foot .btn-primary { min-width: 96px; }
}
html.kb-on .atlas-dock .atlas-composer > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.kb-on .atlas-dock .atlas-compose-foot small { display: none; }
@media (max-width: 1099px) and (max-height: 420px) {
  html.kb-on .atlas-dock .atlas-composer textarea { grid-column: 1; grid-row: 1; }
  html.kb-on .atlas-dock .atlas-compose-foot { grid-column: 2; grid-row: 1; }
}
html.kb-on .page.atlas-surface { scroll-margin-top: 64px; }
/* klavye açıkken anlık mesaj kutuları yazma alanının üstüne binmesin: görünür alanın ÜSTÜNE alınır */
@media (max-width: 1099px) {
  html.kb-on .toasts { top: calc(var(--vvt, 0px) + 8px); bottom: auto; }
}

/* v12.7 erişilebilirlik: adres değişince odak sayfa alanına taşınır (görünmez halka); sabit üst çubuk odaklanan öğeyi örtmesin */
#view:focus{outline:none}
html{scroll-padding-top:calc(var(--topbar-h,56px) + 12px)}
