/* ═══════════════════════════════════════════════════════════════
   AYGÜN AVM — Kurumsal Satış Paneli
   Renk Paleti: Kırmızı #D01F2E / Koyu #1C1C1E / Pastel gri zeminler
   ═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700;800&family=DM+Mono:wght@400;500&display=swap');

:root {
  /* Marka renkleri */
  --red:        #D01F2E;
  --red-dark:   #A3161F;
  --red-light:  #FEF2F2;
  --red-mid:    #FEE2E2;
  --black:      #1C1C1E;
  --charcoal:   #2D2D30;

  /* Yüzeyler — pastel, kurumsal */
  --bg:         #F5F6F8;
  --surface:    #FFFFFF;
  --surface-2:  #F0F1F4;
  --surface-3:  #E8EAF0;
  --border:     #DDE1EA;
  --border-2:   #C9CDD8;

  /* Metin */
  --text-1:     #1C1C1E;
  --text-2:     #52525B;
  --text-3:     #A1A1AA;
  --text-inv:   #FFFFFF;

  /* Durum renkleri — soluk */
  --green:      #16A34A;
  --green-bg:   #F0FDF4;
  --green-bd:   #BBF7D0;
  --amber:      #B45309;
  --amber-bg:   #FFFBEB;
  --amber-bd:   #FDE68A;
  --blue:       #1D4ED8;
  --blue-bg:    #EFF6FF;
  --blue-bd:    #BFDBFE;
  --purple:     #6D28D9;
  --purple-bg:  #F5F3FF;
  --purple-bd:  #DDD6FE;

  /* Gölge */
  --sh-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --sh-md: 0 4px 12px rgba(0,0,0,.08);
  --sh-lg: 0 12px 32px rgba(0,0,0,.12);
  --sh-xl: 0 20px 60px rgba(0,0,0,.16);

  /* Köşe yarıçapı */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-full: 9999px;
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
html { font-size:14px; -webkit-text-size-adjust:100%; }
body {
  font-family:'DM Sans', system-ui, sans-serif;
  background:var(--bg); color:var(--text-1);
  min-height:100dvh; overscroll-behavior:none;
}
input,select,textarea,button { font-family:inherit; font-size:inherit; -webkit-tap-highlight-color:transparent; }
::-webkit-scrollbar { width:4px; height:4px; }
::-webkit-scrollbar-track { background:transparent; }
::-webkit-scrollbar-thumb { background:var(--border-2); border-radius:2px; }

/* ── LOGIN ───────────────────────────────────────────────────── */
#login-screen {
  min-height:100dvh; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(160deg, #F5F6F8 0%, #EBECf0 50%, #E2E4EC 100%);
  padding:20px; position:relative; overflow:hidden;
}
#login-screen::before {
  content:''; position:absolute; top:-120px; right:-80px;
  width:400px; height:400px; border-radius:50%;
  background:radial-gradient(circle, rgba(208,31,46,.08) 0%, transparent 70%);
}
#login-screen::after {
  content:''; position:absolute; bottom:-100px; left:-60px;
  width:300px; height:300px; border-radius:50%;
  background:radial-gradient(circle, rgba(28,28,30,.05) 0%, transparent 70%);
}
.login-box {
  background:var(--surface); border-radius:var(--r-xl);
  padding:38px 32px; width:100%; max-width:400px;
  box-shadow:var(--sh-xl); position:relative; z-index:1;
  border:1px solid var(--border);
}
.login-logo-wrap { display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.login-logo-wrap img { height:54px; object-fit:contain; }
.login-divider { height:1px; background:var(--border); margin:0 0 18px; }
.login-subtitle { font-size:.80rem; color:var(--text-3); font-weight:500; text-align:center; margin-bottom:18px; margin-top:-12px; letter-spacing:.01em; }
.login-field {
  display:flex; align-items:center; gap:10px;
  border:1.5px solid var(--border); border-radius:var(--r-md);
  padding:11px 14px; background:var(--surface-2);
  transition:border-color .15s, background .15s; margin-bottom:10px;
}
.login-field:focus-within { border-color:var(--red); background:var(--surface); }
.login-field-icon { font-size:.95rem; width:18px; text-align:center; }
.login-field input { border:none; background:transparent; outline:none; width:100%; font-size:.88rem; color:var(--text-1); }
.remember-label { display:flex; align-items:center; gap:8px; font-size:.78rem; color:var(--text-2); cursor:pointer; margin-bottom:14px; }
.btn-login {
  width:100%; padding:13px;
  background:var(--red); color:#fff;
  border:none; border-radius:var(--r-md);
  font-weight:700; font-size:.90rem;
  cursor:pointer; transition:all .12s;
  box-shadow:0 4px 14px rgba(208,31,46,.30); letter-spacing:.01em;
}
.btn-login:hover  { background:var(--red-dark); }
.btn-login:active { transform:scale(.98); box-shadow:none; }
#login-err {
  color:var(--red); font-size:.78rem; font-weight:600;
  background:var(--red-light); padding:9px 12px;
  border-radius:var(--r-sm); border-left:3px solid var(--red);
  margin-top:6px;
}

/* ── HEADER ──────────────────────────────────────────────────── */
.sticky-header {
  position:sticky; top:0; z-index:100;
  background:var(--surface); border-bottom:1px solid var(--border);
  box-shadow:var(--sh-sm);
}
header { display:flex; align-items:center; justify-content:space-between; padding:8px 12px; gap:8px; min-height:52px; }
.brand-area { display:flex; align-items:center; gap:8px; flex-shrink:0; }
.header-logo img { height:28px; object-fit:contain; }
#v-tag {
  font-size:.60rem; color:var(--text-3);
  font-family:'DM Mono',monospace; background:var(--surface-2);
  padding:2px 7px; border-radius:var(--r-full); border:1px solid var(--border);
}
.header-right { display:flex; align-items:center; gap:5px; flex-shrink:0; }
.hdr-btn {
  width:32px; height:32px;
  background:var(--surface-2); border:1.5px solid var(--border);
  border-radius:var(--r-md); font-size:.82rem;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:all .12s; color:var(--text-2); position:relative;
  flex-shrink:0;
}
.hdr-btn:hover  { border-color:var(--red); color:var(--red); }
.hdr-btn:active { transform:scale(.88); }
.hdr-btn.active { background:var(--amber-bg); border-color:var(--amber); color:var(--amber); }
.hdr-btn-badge {
  position:absolute; top:-5px; right:-5px;
  width:16px; height:16px; border-radius:50%;
  background:var(--red); color:#fff;
  font-size:.58rem; font-weight:800;
  display:flex; align-items:center; justify-content:center;
  border:2px solid var(--surface);
}
.cart-trigger {
  display:flex; align-items:center; gap:5px;
  background:var(--red); color:#fff;
  border:none; border-radius:var(--r-md);
  padding:7px 11px; font-weight:700; font-size:.78rem;
  cursor:pointer; transition:all .10s;
  box-shadow:0 2px 8px rgba(208,31,46,.25);
  flex-shrink:0;
}
.cart-trigger:active { transform:scale(.95); }
#cart-count {
  background:rgba(255,255,255,.28); border-radius:var(--r-full);
  padding:1px 6px; font-size:.72rem; font-weight:800; min-width:18px; text-align:center;
}
/* Mesaj badge */
.msg-unread-badge {
  position:absolute; top:-5px; right:-5px;
  width:16px; height:16px; border-radius:50%;
  background:var(--red); color:#fff; font-size:.58rem; font-weight:800;
  display:flex; align-items:center; justify-content:center;
  border:2px solid var(--surface);
}

/* ── SEARCH ──────────────────────────────────────────────────── */
.search-container { padding:0 12px 10px; }
#search {
  width:100%; padding:10px 14px;
  border:1.5px solid var(--border); border-radius:var(--r-md);
  background:var(--surface-2); outline:none; font-size:.86rem;
  color:var(--text-1); transition:all .15s;
}
#search:focus { border-color:var(--red); background:var(--surface); }

/* ── PRODUCT TABLE ───────────────────────────────────────────── */
main { padding:8px 0 120px; }
.table-wrapper { overflow-x:auto; -webkit-overflow-scrolling:touch; }
#product-table { width:100%; border-collapse:collapse; min-width:580px; }
#product-table thead th {
  position:sticky; top:0;
  background:var(--black); color:var(--text-inv);
  font-size:.63rem; font-weight:600; text-transform:uppercase;
  letter-spacing:.07em; padding:9px 10px; text-align:left;
  white-space:nowrap; border-right:1px solid rgba(255,255,255,.08);
}
#product-table tbody tr { border-bottom:1px solid var(--border); transition:background .07s; }
#product-table tbody tr:hover { background:var(--red-light); }
#product-table td { padding:7px 10px; font-size:.78rem; vertical-align:middle; }
.add-btn {
  width:28px; height:28px; background:var(--red); color:#fff;
  border:none; border-radius:var(--r-sm); font-size:1.1rem; font-weight:700;
  cursor:pointer; transition:all .08s;
  display:flex; align-items:center; justify-content:center;
}
.add-btn:active { transform:scale(.86); }
.product-name { display:block; font-weight:600; font-size:.78rem; line-height:1.3; }
.product-desc { display:block; font-size:.65rem; color:var(--text-3); margin-top:1px; }
.stok-kritik { color:var(--red); font-weight:700; font-size:.75rem; }
.stok-orta   { color:var(--amber); font-weight:600; font-size:.75rem; }
.stok-bol    { color:var(--green); font-weight:600; font-size:.75rem; }
.td-price    { font-family:'DM Mono',monospace; font-size:.74rem; white-space:nowrap; }
.td-gam      { font-size:.68rem; color:var(--text-3); }
.td-marka    { font-size:.70rem; color:var(--text-2); font-weight:600; }

/* ── MODAL OVERLAY ───────────────────────────────────────────── */
.modal-overlay {
  display:none; position:fixed; inset:0; z-index:200;
  background:rgba(28,28,30,.5); align-items:flex-end; justify-content:center;
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
}
@keyframes slideUp {
  from { transform:translateY(40px); opacity:0; }
  to   { transform:translateY(0);    opacity:1; }
}
@keyframes fadeIn {
  from { opacity:0; }
  to   { opacity:1; }
}

/* ── SHARED MODAL PARTS ──────────────────────────────────────── */
.modal-header {
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 18px 13px;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.modal-header h3 { font-size:.92rem; font-weight:700; color:#fff; letter-spacing:.01em; }
.modal-badge {
  background:rgba(255,255,255,.22); color:#fff;
  font-size:.68rem; font-weight:700; padding:2px 9px; border-radius:var(--r-full);
}
.close-modal-btn {
  width:28px; height:28px; background:rgba(255,255,255,.18);
  color:#fff; border:none; border-radius:var(--r-sm); font-size:.85rem;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:all .10s; flex-shrink:0;
}
.close-modal-btn:active { transform:scale(.88); }
.footer-field { display:flex; flex-direction:column; gap:4px; }
.footer-field label { font-size:.62rem; font-weight:700; color:var(--text-3); text-transform:uppercase; letter-spacing:.06em; }
.footer-field input,
.footer-field select,
.footer-field textarea {
  padding:10px 12px; border:1.5px solid var(--border);
  border-radius:var(--r-md); background:var(--surface-2);
  outline:none; font-size:.83rem; color:var(--text-1); transition:all .12s;
}
.footer-field input:focus,
.footer-field select:focus,
.footer-field textarea:focus { border-color:var(--red); background:var(--surface); }
.footer-field textarea { resize:vertical; min-height:60px; }
.footer-field.full { grid-column:1/-1; }

/* ── CART MODAL ──────────────────────────────────────────────── */
.cart-modal-content {
  background:var(--surface); width:100%; max-width:720px;
  max-height:90vh; display:flex; flex-direction:column;
  overflow:hidden; border-radius:var(--r-xl) var(--r-xl) 0 0;
  box-shadow:var(--sh-xl); animation:slideUp .25s cubic-bezier(.22,1,.36,1) both;
}
.cart-modal-content .modal-header { background:var(--black); }
.cart-table-area { flex:1; overflow-y:auto; padding:8px; -webkit-overflow-scrolling:touch; }
.empty-cart { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; height:130px; color:var(--text-3); font-size:.82rem; }
.empty-cart-icon { font-size:2.2rem; }
.cart-table { width:100%; border-collapse:collapse; font-size:.75rem; min-width:540px; }
.cart-table thead th {
  background:var(--surface-2); color:var(--text-2);
  font-size:.61rem; font-weight:700; letter-spacing:.06em;
  text-transform:uppercase; padding:7px 9px;
  border-bottom:2px solid var(--border); text-align:left;
}
.cart-table tbody td { padding:9px 9px; border-bottom:1px solid var(--border); vertical-align:middle; }
.cart-table tbody tr:last-child td { border-bottom:none; }
.cart-price { font-family:'DM Mono',monospace; font-size:.73rem; white-space:nowrap; }
.cart-stok-0 { color:var(--red); font-weight:700; }
.discount-row td { background:var(--amber-bg); }
.total-row td { background:var(--red-mid); font-weight:800; }
.remove-btn {
  width:24px; height:24px; background:var(--red-light); color:var(--red);
  border:1px solid var(--red-mid); border-radius:var(--r-sm); font-size:.75rem;
  cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all .08s;
}
.remove-btn:active { transform:scale(.88); }
.cart-footer { padding:10px 14px 14px; border-top:1px solid var(--border); background:var(--surface); }
.cart-footer-row { display:flex; gap:8px; margin-bottom:8px; }
.final-actions { display:flex; gap:8px; flex-wrap:wrap; }
.btn-propose {
  flex:2; min-width:110px; padding:12px 10px;
  background:var(--blue-bg); color:var(--blue);
  border:1.5px solid var(--blue-bd); border-radius:var(--r-md);
  font-family:inherit; font-weight:700; font-size:.82rem;
  cursor:pointer; transition:all .10s; white-space:nowrap;
}
.btn-propose:active { transform:scale(.96); }
.btn-abakus {
  flex:2; min-width:110px; padding:12px 10px;
  background:var(--purple-bg); color:var(--purple);
  border:1.5px solid var(--purple-bd); border-radius:var(--r-md);
  font-family:inherit; font-weight:700; font-size:.82rem;
  cursor:pointer; transition:all .10s; white-space:nowrap;
}
.btn-abakus:active { transform:scale(.96); }
.btn-sale {
  flex:2; min-width:110px; padding:12px 10px;
  background:var(--green-bg); color:var(--green);
  border:1.5px solid var(--green-bd); border-radius:var(--r-md);
  font-family:inherit; font-weight:700; font-size:.82rem;
  cursor:pointer; transition:all .10s; white-space:nowrap;
}
.btn-sale:active { transform:scale(.96); }
.btn-clear-all {
  width:42px; padding:12px 0;
  background:var(--red-light); border:1.5px solid var(--red-mid);
  color:var(--red); border-radius:var(--r-md);
  font-family:inherit; font-size:.95rem; cursor:pointer; transition:all .10s;
}
.btn-clear-all:active { transform:scale(.92); }

/* ── ABAKÜS MODAL ────────────────────────────────────────────── */
.abakus-modal-content {
  background:var(--surface); width:100%; max-width:720px;
  height:90vh; display:flex; flex-direction:column;
  overflow:hidden; border-radius:var(--r-xl) var(--r-xl) 0 0;
  box-shadow:var(--sh-xl); animation:slideUp .25s cubic-bezier(.22,1,.36,1) both;
}
.abakus-modal-content .modal-header { background:var(--charcoal); }
.abakus-body { flex:1; overflow-y:auto; padding:12px; -webkit-overflow-scrolling:touch; }
.ab-top-row { display:flex; gap:10px; margin-bottom:10px; }
.ab-top-row .footer-field { flex:1; }
.ab-hint { font-size:.58rem; font-weight:400; color:var(--text-3); }

.ab-nakit-row {
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  background:var(--black); color:#fff;
  border-radius:var(--r-lg); padding:12px 15px; margin-bottom:10px;
}
.ab-nakit-row strong { font-size:1.12rem; font-weight:800; font-family:'DM Mono',monospace; }
.ab-kart-badge {
  margin-left:auto; font-size:.65rem; font-weight:600;
  background:rgba(255,255,255,.15); padding:3px 9px; border-radius:var(--r-full);
}

.ab-table-wrap { overflow-x:auto; border-radius:var(--r-lg); box-shadow:var(--sh-sm); border:1px solid var(--border); }
.ab-table { width:100%; border-collapse:collapse; background:var(--surface); font-size:.76rem; min-width:420px; }
.ab-table thead th {
  background:var(--surface-2); color:var(--text-2);
  font-size:.61rem; font-weight:700; letter-spacing:.06em;
  text-transform:uppercase; padding:8px 10px;
  border-bottom:2px solid var(--border); text-align:left; white-space:nowrap;
}
.ab-table tbody td { padding:10px 10px; border-bottom:1px solid var(--border); vertical-align:middle; }
.ab-table tbody tr:last-child td { border-bottom:none; }
.ab-row-sel { cursor:pointer; transition:background .07s; }
.ab-row-sel:hover { background:var(--surface-2) !important; }
.ab-row-best   { background:var(--red-light) !important; }
.ab-row-good   { background:var(--green-bg); }
.ab-row-selected { outline:2.5px solid var(--red) !important; outline-offset:-2px; background:var(--red-mid) !important; }
.ab-taksit-dot { display:inline-block; width:5px; height:5px; background:var(--red); border-radius:50%; margin-left:5px; vertical-align:middle; }
.ab-oran-good  { color:var(--green); font-weight:700; }
.ab-oran-high  { color:var(--amber); font-weight:600; }
.ab-badge-best { display:inline-block; font-size:.60rem; font-weight:800; background:var(--red); color:#fff; padding:2px 7px; border-radius:var(--r-full); }
.ab-badge-good { display:inline-block; font-size:.60rem; font-weight:700; background:var(--green-bg); color:var(--green); border:1px solid var(--green-bd); padding:2px 7px; border-radius:var(--r-full); }
.ab-badge-cell { white-space:nowrap; }
.ab-zincir-cell { font-weight:600; color:var(--text-2); font-size:.73rem; }
.ab-mono       { font-family:'DM Mono',monospace; font-size:.74rem; font-weight:600; }
.ab-tahsilat-cell { color:var(--red-dark); font-weight:800; }
.ab-no-data    { padding:24px; text-align:center; color:var(--text-3); font-size:.82rem; }

.ab-all-zincir { margin-top:10px; border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden; }
.ab-all-zincir-summary {
  cursor:pointer; font-size:.73rem; font-weight:700; color:var(--text-2);
  padding:10px 14px; background:var(--surface-2); list-style:none; user-select:none;
  display:flex; align-items:center; gap:6px;
}
.ab-all-zincir-summary::-webkit-details-marker { display:none; }
.ab-all-zincir-summary::before { content:'▶'; font-size:.60rem; }
.ab-all-zincir[open] .ab-all-zincir-summary::before { content:'▼'; }
.ab-zincir-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:1px; background:var(--border); }
.ab-zincir-card { background:var(--surface); }
.ab-zincir-card-title { padding:8px 10px; background:var(--surface-2); font-size:.68rem; font-weight:700; color:var(--text-1); border-bottom:1px solid var(--border); }
.ab-table-sm td { padding:6px 8px; font-size:.70rem; }

.ab-wa-btn {
  margin-top:10px; padding:13px 16px;
  background:var(--black); color:#fff;
  border:none; border-radius:var(--r-lg);
  font-family:inherit; font-size:.84rem; font-weight:700;
  cursor:pointer; width:100%; display:flex; align-items:center; gap:10px;
  box-shadow:var(--sh-md); transition:all .10s;
}
.ab-wa-btn:active { transform:scale(.98); box-shadow:none; }
.ab-wa-btn strong { margin-left:auto; font-size:.95rem; font-family:'DM Mono',monospace; color:var(--red); }
.ab-wa-oran { font-size:.70rem; opacity:.70; }

/* ── TEKLİF / WA MODAL ───────────────────────────────────────── */
.wa-modal-content {
  background:var(--surface); width:100%; max-width:540px;
  max-height:90vh; display:flex; flex-direction:column;
  overflow:hidden; border-radius:var(--r-xl) var(--r-xl) 0 0;
  box-shadow:var(--sh-xl); animation:slideUp .25s cubic-bezier(.22,1,.36,1) both;
}
.wa-modal-content .modal-header { background:var(--black); }
.wa-modal-body { flex:1; overflow-y:auto; padding:14px; }
.wa-section-label {
  font-size:.62rem; font-weight:700; color:var(--text-3);
  letter-spacing:.07em; text-transform:uppercase; margin-bottom:8px;
}
.price-type-row { display:flex; gap:7px; flex-wrap:wrap; margin-bottom:14px; }
.price-type-chip {
  padding:7px 13px;
  background:var(--surface-2); border:1.5px solid var(--border);
  border-radius:var(--r-full); font-family:inherit;
  font-size:.75rem; font-weight:600; color:var(--text-2);
  cursor:pointer; transition:all .12s; line-height:1;
}
.price-type-chip.active { background:var(--black); border-color:var(--black); color:#fff; }
.price-type-chip:active { transform:scale(.92); }
.wa-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:12px; }
.wa-send-btn {
  width:100%; padding:14px;
  background:var(--red); color:#fff;
  border:none; border-radius:var(--r-md);
  font-family:inherit; font-weight:800; font-size:.92rem;
  cursor:pointer; transition:all .10s;
  box-shadow:0 4px 14px rgba(208,31,46,.28); letter-spacing:.01em;
}
.wa-send-btn:active { transform:scale(.98); box-shadow:none; }
.wa-ab-info-box {
  display:flex; flex-wrap:wrap; gap:6px; padding:10px 12px; margin-bottom:12px;
  background:var(--surface-2); border:1px solid var(--border); border-radius:var(--r-lg);
}
.wa-ab-chip { font-size:.72rem; font-weight:600; padding:3px 10px; border-radius:var(--r-full); background:var(--surface); border:1px solid var(--border); color:var(--text-1); }
.wa-ab-tahsilat { background:var(--red); color:#fff; border-color:var(--red); }
.wa-ab-aylik    { background:var(--surface-2); color:var(--purple); border-color:var(--purple-bd); }

/* ── TEKLİFLER MODAL ─────────────────────────────────────────── */
.proposals-modal-content {
  background:var(--surface); width:100%; max-width:680px;
  height:90vh; display:flex; flex-direction:column;
  overflow:hidden; border-radius:var(--r-xl) var(--r-xl) 0 0;
  box-shadow:var(--sh-xl); animation:slideUp .25s cubic-bezier(.22,1,.36,1) both;
}
.proposals-modal-content .modal-header { background:var(--charcoal); }
.proposals-body { flex:1; overflow-y:auto; padding:10px; }
.proposal-card {
  border:1px solid var(--border); border-radius:var(--r-lg);
  margin-bottom:8px; overflow:hidden; background:var(--surface);
  box-shadow:var(--sh-sm); transition:all .12s;
}
.proposal-card:hover { box-shadow:var(--sh-md); }
.proposal-card-header {
  display:flex; align-items:center; gap:10px; padding:10px 13px;
  background:var(--surface-2); border-bottom:1px solid var(--border);
}
.proposal-status {
  font-size:.65rem; font-weight:800; padding:3px 9px; border-radius:var(--r-full);
  text-transform:uppercase; letter-spacing:.04em;
}
.status-bekliyor { background:var(--amber-bg); color:var(--amber); border:1px solid var(--amber-bd); }
.status-onaylandi { background:var(--green-bg); color:var(--green); border:1px solid var(--green-bd); }
.status-iptal { background:var(--red-light); color:var(--red); border:1px solid var(--red-mid); }
.proposal-name { font-weight:700; font-size:.82rem; }
.proposal-meta { font-size:.68rem; color:var(--text-3); margin-left:auto; }
.proposal-body { padding:10px 13px; }
.proposal-row { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:6px; }
.proposal-tag { font-size:.68rem; background:var(--surface-2); border:1px solid var(--border); padding:2px 8px; border-radius:var(--r-full); color:var(--text-2); }
.proposal-products { font-size:.72rem; color:var(--text-2); line-height:1.5; }
.proposal-actions { display:flex; gap:6px; padding:8px 13px; border-top:1px solid var(--border); }
.btn-approve { flex:1; padding:8px; background:var(--green-bg); color:var(--green); border:1px solid var(--green-bd); border-radius:var(--r-sm); font-family:inherit; font-size:.76rem; font-weight:700; cursor:pointer; transition:all .10s; }
.btn-cancel  { flex:1; padding:8px; background:var(--red-light); color:var(--red); border:1px solid var(--red-mid); border-radius:var(--r-sm); font-family:inherit; font-size:.76rem; font-weight:700; cursor:pointer; transition:all .10s; }

/* ── SATIŞ BELGESİ MODAL ─────────────────────────────────────── */
.sale-modal-content {
  background:var(--surface); width:100%; max-width:580px;
  max-height:92vh; display:flex; flex-direction:column;
  overflow:hidden; border-radius:var(--r-xl) var(--r-xl) 0 0;
  box-shadow:var(--sh-xl); animation:slideUp .25s cubic-bezier(.22,1,.36,1) both;
}
.sale-modal-content .modal-header { background:var(--black); }
.sale-form { flex:1; overflow-y:auto; padding:14px; }
.sale-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:10px; }
.sale-send-btn {
  width:100%; padding:13px;
  background:var(--red); color:#fff; border:none;
  border-radius:var(--r-md); font-family:inherit; font-weight:700; font-size:.90rem;
  cursor:pointer; transition:all .10s;
  box-shadow:0 4px 14px rgba(208,31,46,.28); margin-top:12px;
}
.sale-send-btn:active { transform:scale(.98); }

/* PDF önizleme */
#sale-preview {
  background:var(--surface-2); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:16px; margin:12px 0; font-size:.78rem;
}
.sale-preview-logo { display:flex; align-items:center; justify-content:center; margin-bottom:14px; }
.sale-preview-logo img { height:40px; object-fit:contain; }
.sale-preview-title { font-size:.92rem; font-weight:800; text-align:center; color:var(--text-1); margin-bottom:2px; }
.sale-preview-sub   { font-size:.68rem; color:var(--text-3); text-align:center; margin-bottom:14px; }
.sale-preview-section { margin-bottom:10px; }
.sale-preview-section-title { font-size:.64rem; font-weight:700; text-transform:uppercase; letter-spacing:.07em; color:var(--text-3); margin-bottom:5px; border-bottom:1px solid var(--border); padding-bottom:3px; }
.sale-preview-row { display:flex; justify-content:space-between; padding:3px 0; font-size:.75rem; }
.sale-preview-row span:first-child { color:var(--text-3); }
.sale-preview-row span:last-child  { font-weight:600; }
.sale-total-row { background:var(--black); color:#fff; padding:8px 12px; border-radius:var(--r-sm); display:flex; justify-content:space-between; align-items:center; margin-top:8px; }
.sale-total-row span:last-child { font-size:1rem; font-weight:800; font-family:'DM Mono',monospace; }

/* ── MESAJLAR / BİLDİRİMLER ──────────────────────────────────── */
.msg-modal-content {
  background:var(--surface); width:100%; max-width:480px;
  height:80vh; display:flex; flex-direction:column;
  overflow:hidden; border-radius:var(--r-xl) var(--r-xl) 0 0;
  box-shadow:var(--sh-xl); animation:slideUp .25s cubic-bezier(.22,1,.36,1) both;
}
.msg-modal-content .modal-header { background:var(--charcoal); }
.msg-body { flex:1; overflow-y:auto; padding:10px; }
.msg-item {
  border:1px solid var(--border); border-radius:var(--r-lg);
  padding:10px 13px; margin-bottom:8px; background:var(--surface);
  box-shadow:var(--sh-sm);
}
.msg-item.unread { border-left:3px solid var(--red); background:var(--red-light); }
.msg-item-header { display:flex; align-items:center; gap:8px; margin-bottom:5px; }
.msg-from  { font-size:.70rem; font-weight:700; color:var(--red); }
.msg-time  { font-size:.65rem; color:var(--text-3); margin-left:auto; }
.msg-text  { font-size:.78rem; color:var(--text-1); line-height:1.5; }
.msg-unread-dot { width:7px; height:7px; border-radius:50%; background:var(--red); flex-shrink:0; }
/* Admin mesaj gönder kutusu */
.msg-compose { padding:10px; border-top:1px solid var(--border); background:var(--surface); }
.msg-compose-row { display:flex; gap:8px; margin-bottom:8px; }
.msg-send-btn {
  padding:10px 16px; background:var(--red); color:#fff; border:none;
  border-radius:var(--r-md); font-family:inherit; font-weight:700; font-size:.80rem;
  cursor:pointer; transition:all .10s; white-space:nowrap;
}
.msg-send-btn:active { transform:scale(.96); }

/* Bildirim banner (kullanıcı ekranı üstü) */
#user-msg-bar {
  display:none; padding:7px 14px;
  background:var(--black); color:#fff;
  font-size:.77rem; font-weight:600; cursor:pointer;
  align-items:center; gap:8px; border-bottom:1px solid rgba(255,255,255,.1);
}
#user-msg-bar.visible { display:flex; }
#user-msg-bar span.dot { width:7px; height:7px; border-radius:50%; background:var(--red); flex-shrink:0; }

/* ── DEĞİŞİKLİK POPUP ────────────────────────────────────────── */
.change-modal-content {
  background:var(--surface); width:100%; max-width:500px;
  max-height:72vh; overflow-y:auto; border-radius:var(--r-xl);
  box-shadow:var(--sh-xl); margin:16px; animation:fadeIn .22s ease both;
}
.change-header {
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 18px;
  background:var(--black); border-radius:var(--r-xl) var(--r-xl) 0 0;
}
.change-header h3 { font-size:.90rem; font-weight:800; color:#fff; }
.change-list-wrap { padding:4px 0; }
.change-item {
  display:flex; align-items:flex-start; gap:12px;
  padding:11px 18px; border-bottom:1px solid var(--border); font-size:.78rem;
}
.change-item:last-child { border-bottom:none; }
.change-icon { font-size:1rem; flex-shrink:0; margin-top:1px; }
.change-product { font-weight:700; color:var(--text-1); display:block; margin-bottom:2px; }
.change-detail  { font-size:.72rem; color:var(--text-2); }
.change-badge   {
  margin-left:auto; font-size:.64rem; font-weight:700;
  padding:2px 8px; border-radius:var(--r-full); white-space:nowrap;
}
.badge-price-up   { background:var(--red-light); color:var(--red); }
.badge-price-down { background:var(--green-bg); color:var(--green); }
.badge-stok-up    { background:var(--green-bg); color:var(--green); }
.badge-stok-down  { background:var(--amber-bg); color:var(--amber); }
.badge-desc       { background:var(--blue-bg); color:var(--blue); }

/* ── ADMIN MODAL ─────────────────────────────────────────────── */
.admin-modal-overlay {
  display:none; position:fixed; inset:0; z-index:300;
  background:rgba(28,28,30,.55); align-items:flex-end; justify-content:center;
  backdrop-filter:blur(6px);
}
.admin-modal-content {
  background:var(--surface); width:100%; max-width:580px;
  height:90vh; display:flex; flex-direction:column;
  overflow:hidden; border-radius:var(--r-xl) var(--r-xl) 0 0;
  box-shadow:var(--sh-xl); animation:slideUp .25s cubic-bezier(.22,1,.36,1) both;
}
.admin-header { display:flex; align-items:center; justify-content:space-between; padding:14px 18px; background:var(--black); }
.admin-header-info h3 { color:#fff; font-size:.95rem; font-weight:800; }
.admin-header-info p  { color:var(--text-3); font-size:.70rem; margin-top:2px; }
.admin-tabs { display:flex; border-bottom:2px solid var(--border); background:var(--surface); overflow-x:auto; }
.admin-tab {
  flex:1; min-width:70px; padding:10px 8px;
  font-family:inherit; font-size:.73rem; font-weight:600;
  color:var(--text-3); background:transparent; border:none;
  border-bottom:2.5px solid transparent; cursor:pointer; transition:all .12s;
  white-space:nowrap;
}
.admin-tab.active { color:var(--red); border-bottom-color:var(--red); }
.admin-body { flex:1; overflow-y:auto; }
.admin-tab-content { display:none; }
.admin-tab-content.active { display:block; }
.admin-stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; padding:12px; }
.stat-card { background:var(--surface-2); border-radius:var(--r-lg); padding:12px 10px; text-align:center; border:1px solid var(--border); }
.stat-card-icon { font-size:1.2rem; display:block; margin-bottom:4px; }
.stat-card-val  { font-size:1.4rem; font-weight:900; color:var(--red); font-family:'DM Mono',monospace; }
.stat-card-lbl  { font-size:.63rem; color:var(--text-3); font-weight:600; text-transform:uppercase; }
.admin-section  { padding:0 12px 14px; }
.admin-section-header { font-size:.67rem; font-weight:700; color:var(--text-3); text-transform:uppercase; letter-spacing:.07em; padding:11px 0 7px; }
.admin-section-actions { display:flex; gap:6px; align-items:center; }
.btn-reset {
  padding:5px 12px; background:var(--red-light); color:var(--red);
  border:1px solid var(--red-mid); border-radius:var(--r-full);
  font-family:inherit; font-size:.70rem; font-weight:700;
  cursor:pointer; transition:all .10s;
}
.btn-reset:active { transform:scale(.94); }
.daily-chart { background:var(--surface-2); border-radius:var(--r-lg); padding:12px; border:1px solid var(--border); }
.chart-bars { display:flex; align-items:flex-end; gap:6px; height:80px; }
.chart-bar-wrap { flex:1; display:flex; flex-direction:column; align-items:center; gap:4px; height:100%; }
.chart-bar { width:100%; background:var(--border-2); border-radius:4px 4px 0 0; min-height:4px; transition:all .3s; }
.chart-bar.today { background:var(--red); }
.chart-label { font-size:.58rem; color:var(--text-3); font-family:'DM Mono',monospace; }
.user-row { display:flex; align-items:center; gap:10px; padding:10px 0; border-bottom:1px solid var(--border); }
.user-avatar { width:34px; height:34px; background:var(--red-light); color:var(--red); border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:.78rem; flex-shrink:0; border:1px solid var(--red-mid); }
.user-email  { font-size:.78rem; font-weight:600; }
.user-meta   { font-size:.68rem; color:var(--text-3); margin-top:1px; }
.user-badges { display:flex; gap:4px; flex-wrap:wrap; margin-left:auto; }
.badge { font-size:.62rem; font-weight:700; padding:2px 7px; border-radius:var(--r-full); }
.badge-green  { background:var(--green-bg); color:var(--green); }
.badge-blue   { background:var(--blue-bg); color:var(--blue); }
.badge-orange { background:var(--amber-bg); color:var(--amber); }
.badge-red    { background:var(--red-light); color:var(--red); }
.product-row { display:flex; align-items:center; gap:8px; padding:7px 0; border-bottom:1px solid var(--border); }
.product-rank { width:20px; text-align:center; font-size:.68rem; font-weight:700; color:var(--text-3); }
.product-bar-wrap { flex:1; }
.product-bar-name  { font-size:.73rem; font-weight:600; margin-bottom:3px; }
.product-bar-track { height:5px; background:var(--border); border-radius:3px; overflow:hidden; }
.product-bar-fill  { height:100%; background:var(--red); border-radius:3px; }
.product-bar-count { font-size:.68rem; font-weight:700; color:var(--text-3); white-space:nowrap; }
/* Kullanıcı yönetim butonları */
.user-action-btns { display:flex; gap:4px; }
.btn-user-msg { padding:5px 10px; background:var(--blue-bg); color:var(--blue); border:1px solid var(--blue-bd); border-radius:var(--r-sm); font-family:inherit; font-size:.68rem; font-weight:700; cursor:pointer; }
/* Satış listesi admin */
.sale-row { display:flex; flex-direction:column; gap:3px; padding:10px 0; border-bottom:1px solid var(--border); }
.sale-row-header { display:flex; align-items:center; gap:8px; }
.sale-customer { font-weight:700; font-size:.80rem; }
.sale-amount   { font-family:'DM Mono',monospace; font-size:.80rem; color:var(--red); font-weight:700; margin-left:auto; }
.sale-detail   { font-size:.68rem; color:var(--text-3); }

/* ── TOAST ───────────────────────────────────────────────────── */
#change-toast { position:fixed; bottom:16px; left:12px; right:12px; z-index:500; display:flex; flex-direction:column; gap:6px; pointer-events:none; }
.toast-item {
  display:flex; align-items:center; gap:8px; padding:10px 12px;
  background:var(--black); color:#fff; border-radius:var(--r-md);
  font-size:.78rem; box-shadow:var(--sh-md); pointer-events:all;
  animation:slideUp .22s ease both; border-left:3px solid var(--red);
}
.toast-close { background:rgba(255,255,255,.15); border:none; color:#fff; border-radius:var(--r-xs); padding:2px 6px; cursor:pointer; font-size:.70rem; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media(max-width:480px) {
  .ab-top-row    { flex-direction:column; }
  .wa-grid       { grid-template-columns:1fr; }
  .ab-zincir-grid { grid-template-columns:1fr; }
  .admin-stats-grid { grid-template-columns:repeat(2,1fr); }
  .sale-form-grid  { grid-template-columns:1fr; }
  .final-actions { gap:6px; }
}
/* ── NAKİT SATIRI (Abaküs) ──────────────────────────────────── */
.ab-row-nakit { background:linear-gradient(90deg,rgba(16,185,129,.07),transparent); border-left:3px solid #10b981; }
.ab-row-nakit td { font-weight:700; color:#059669; }
.ab-row-nakit:hover { background:rgba(16,185,129,.13) !important; }
.ab-row-nakit.selected { background:rgba(16,185,129,.20) !important; }
.ab-badge-nakit {
  display:inline-block; padding:2px 7px; border-radius:20px;
  background:#10b981; color:#fff; font-size:.65rem; font-weight:800;
  letter-spacing:.04em; vertical-align:middle; margin-left:4px;
}
.wa-ab-nakit {
  display:inline-flex; align-items:center; gap:4px; padding:3px 10px;
  background:#d1fae5; color:#065f46; border-radius:20px;
  font-size:.72rem; font-weight:700; border:1px solid #6ee7b7;
}

/* ── KARŞILAMA / KULLANIM KILAVUZU MODAL ────────────────────── */
.welcome-modal-content {
  max-width:480px; width:calc(100% - 32px); max-height:85vh;
  overflow-y:auto; border-radius:var(--r-lg);
  background:var(--surface); padding:0;
  box-shadow:var(--sh-lg);
}
.welcome-header {
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 20px 14px; border-bottom:1px solid var(--border);
  position:sticky; top:0; background:var(--surface); z-index:1;
}
.welcome-header h2 { font-size:1rem; font-weight:800; margin:0; }
.welcome-header-subtitle { font-size:.72rem; color:var(--text-3); margin-top:2px; }
.welcome-body { padding:16px 20px 20px; display:flex; flex-direction:column; gap:14px; }
.welcome-section {
  display:flex; gap:12px; align-items:flex-start;
  padding:12px 14px; border-radius:var(--r-md);
  background:var(--bg); border:1px solid var(--border);
}
.welcome-section-icon {
  font-size:1.4rem; line-height:1; flex-shrink:0; margin-top:1px;
}
.welcome-section-title { font-size:.80rem; font-weight:800; margin-bottom:3px; }
.welcome-section-text { font-size:.73rem; color:var(--text-2); line-height:1.5; }

/* ── ADMIN HIZLI MESAJ KUTUSU ───────────────────────────────── */
.admin-quickmsg-box {
  display:flex; flex-wrap:wrap; gap:8px; align-items:flex-end;
  padding:14px; background:var(--bg); border-radius:var(--r-md);
  border:1px solid var(--border); margin-top:10px;
}
.admin-quickmsg-box select,
.admin-quickmsg-box textarea {
  font-family:inherit; font-size:.78rem;
  border:1px solid var(--border); border-radius:var(--r-sm);
  padding:7px 10px; background:var(--surface); color:var(--text-1);
  flex:1; min-width:140px;
}
.admin-quickmsg-box textarea { min-height:54px; resize:vertical; }

/* ── ADMIN MESAJ LİSTESİ ────────────────────────────────────── */
.admin-msg-row {
  display:flex; flex-direction:column; gap:4px;
  padding:10px 0; border-bottom:1px solid var(--border);
}
.admin-msg-header { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.admin-msg-to {
  font-size:.68rem; font-weight:700; padding:2px 8px;
  border-radius:20px; background:var(--blue-bg); color:var(--blue);
  border:1px solid var(--blue-bd);
}
.admin-msg-from {
  font-size:.68rem; color:var(--text-3);
}
.admin-msg-time { font-size:.65rem; color:var(--text-3); margin-left:auto; }
.admin-msg-text { font-size:.78rem; color:var(--text-1); line-height:1.5; }
.admin-empty {
  text-align:center; padding:32px 16px;
  color:var(--text-3); font-size:.80rem;
}
.admin-empty-icon { font-size:2rem; margin-bottom:8px; }

/* ── INFO BUTONU (HEADER) ────────────────────────────────────── */
#info-btn {
  background:none; border:none; cursor:pointer;
  font-size:1.1rem; padding:4px 6px; border-radius:var(--r-sm);
  color:var(--text-2); transition:background .15s;
}
#info-btn:hover { background:var(--bg); }

/* ── SEPET WA BUTONU ─────────────────────────────────────────── */
.btn-wa-direct {
  padding:9px 14px; background:#25d366; color:#fff;
  border:none; border-radius:var(--r-sm); font-family:inherit;
  font-size:.78rem; font-weight:700; cursor:pointer;
  display:flex; align-items:center; gap:5px;
  transition:background .15s;
}
.btn-wa-direct:hover { background:#1da851; }

/* ── KULLANICI TAG (Teklif listesi) ──────────────────────────── */
.proposal-user-tag {
  font-size:.65rem; font-weight:700; padding:2px 7px;
  border-radius:20px; background:var(--yellow-bg,#fef9c3);
  color:var(--yellow,#854d0e); border:1px solid var(--yellow-bd,#fde68a);
  margin-left:4px;
}

/* ── WA YENİDEN GÖNDER BUTONU ────────────────────────────────── */
.btn-wa-resend {
  padding:7px 12px; background:#25d366; color:#fff;
  border:none; border-radius:var(--r-sm); font-family:inherit;
  font-size:.72rem; font-weight:700; cursor:pointer;
  transition:background .15s;
}
.btn-wa-resend:hover { background:#1da851; }
.btn-wa-resend:active { transform:scale(.97); }

/* ── STAT CARD TODAY BADGE ───────────────────────────────────── */
.stat-today {
  display:block; font-size:.58rem; font-weight:600;
  color:var(--text-3); margin-top:2px;
}

/* ── CHART BAR VAL ───────────────────────────────────────────── */
.chart-bar-val {
  display:block; font-size:.55rem; font-weight:700;
  color:var(--text-3); text-align:center;
  position:absolute; top:-14px; left:50%; transform:translateX(-50%);
}
.chart-bar { position:relative; }

/* ── ADMIN MSG ROW FIX ───────────────────────────────────────── */
.admin-msg-row.unread { background:var(--green-bg,#f0fdf4); border-left:3px solid var(--green,#22c55e); }

/* ── TEKLİF FİLTRE ÇUBUĞU ───────────────────────────────────── */
.prop-filter-bar {
  display:flex; gap:6px; padding:10px 14px 6px;
  background:var(--surface); border-bottom:1px solid var(--border);
  flex-wrap:wrap;
}
.prop-filter-btn {
  flex:1; min-width:70px; padding:7px 10px;
  background:var(--surface-2); border:1.5px solid var(--border);
  border-radius:var(--r-full); font-family:inherit; font-size:.72rem;
  font-weight:600; color:var(--text-2); cursor:pointer;
  transition:all .12s; text-align:center; white-space:nowrap;
}
.prop-filter-btn.active {
  background:var(--red); border-color:var(--red); color:#fff;
}
.prop-filter-btn:not(.active):hover { border-color:var(--red); color:var(--red); }

/* ── TEKLIF KAPALI ETİKET ────────────────────────────────────── */
.prop-closed-label { font-size:.70rem; color:var(--text-3); }
.prop-user-tag {
  background:var(--amber-bg); color:var(--amber);
  border-color:var(--amber-bd); font-weight:700;
}

/* ── ABAKÜS AKSİYON PANELİ ──────────────────────────────────── */
.ab-actions {
  margin: 12px 0 4px;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
}
.ab-actions-label {
  font-size: .68rem; font-weight: 700; color: var(--text-3);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px;
}
.ab-actions-row {
  display: flex; gap: 8px;
}
.ab-action-btn {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px; padding: 10px 6px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md); cursor: pointer;
  font-family: inherit; font-size: .70rem; font-weight: 700;
  transition: all .12s; background: var(--surface);
  color: var(--text-1);
}
.ab-action-btn:hover { transform: translateY(-1px); }
.ab-action-icon { font-size: 1.3rem; }
.ab-action-wa     { border-color: #22c55e; color: #166534; background: #f0fdf4; }
.ab-action-wa:hover { background: #dcfce7; }
.ab-action-teklif { border-color: #3b82f6; color: #1e3a8a; background: #eff6ff; }
.ab-action-teklif:hover { background: #dbeafe; }
.ab-action-satis  { border-color: #f59e0b; color: #78350f; background: #fffbeb; }
.ab-action-satis:hover  { background: #fef3c7; }

.ab-selection-info {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px;
}
.ab-sel-chip {
  padding: 3px 10px; border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--border);
  font-size: .70rem; font-weight: 600; color: var(--text-2);
}
.ab-sel-nakit   { background: #f0fdf4; border-color: #86efac; color: #166534; }
.ab-sel-tahsilat{ background: #eff6ff; border-color: #93c5fd; color: #1e40af; font-weight: 800; }
.ab-sel-aylik   { background: #fdf4ff; border-color: #d8b4fe; color: #581c87; }

/* ── AKSİYON MODAL EK ALANLAR ───────────────────────────────── */
.wa-section-divider {
  font-size: .68rem; font-weight: 700; color: var(--text-3);
  text-transform: uppercase; letter-spacing: .06em;
  padding: 10px 0 6px; border-top: 1px solid var(--border);
  margin-top: 6px;
}
.req-star { color: var(--red); }
#phone-req-label { font-size: .65rem; color: var(--text-3); font-weight: 400; }

/* ── TEKLİFE NOT EKLEME ─────────────────────────────────────── */
.btn-add-note {
  padding: 5px 10px; border-radius: var(--r-full);
  background: #fdf4ff; border: 1.5px solid #d8b4fe;
  color: #7c3aed; font-size: .70rem; font-weight: 700;
  cursor: pointer; font-family: inherit;
}
.btn-add-note:hover { background: #f3e8ff; }

.prop-admin-notes {
  margin-top: 8px;
  display: flex; flex-direction: column; gap: 4px;
}
.prop-admin-note {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px;
  padding: 5px 8px;
  background: #fdf4ff; border-left: 3px solid #c084fc;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .70rem;
}
.prop-note-who   { font-weight: 700; color: #7c3aed; white-space: nowrap; }
.prop-note-text  { flex: 1; color: var(--text-1); }
.prop-note-time  { color: var(--text-3); font-size: .64rem; white-space: nowrap; }
