/* =========================================================
   נקודת מפגש — פאנל ניהול (admin.html)
   ========================================================= */
.page-admin{ background:#F4F1E8; }
.muted{ color:var(--muted); }
.num{ font-variant-numeric:tabular-nums; direction:ltr; text-align:right; }
.ltr-cell{ text-align:right; }
.btn-danger{ background:#B3261E; color:#fff; }
.btn-danger:hover{ background:#8F1D17; }
.btn .ic{ width:18px; height:18px; }

/* ---------- כניסה ---------- */
.admin-login{
  min-height:100vh; min-height:100dvh;
  display:grid; place-items:center;
  padding:24px 16px;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(42,90,146,.5), transparent 70%),
    var(--navy);
}
.login-card{
  width:min(420px, 100%);
  background:var(--paper); border-radius:26px;
  padding:32px clamp(20px, 5vw, 36px);
  display:flex; flex-direction:column; gap:14px; align-items:stretch; text-align:center;
  box-shadow:0 30px 70px rgba(0,0,0,.35);
  animation:pop-in .5s cubic-bezier(.2,.9,.3,1.15);
}
.login-logo{ width:180px; margin:0 auto; }
.login-card h1{ margin:0; font-family:var(--font-display); color:var(--navy); }
.login-card .form{ text-align:right; }
.login-card .link-btn{ align-self:center; }
.login-preview{ margin:0; padding:10px 12px; border-radius:12px; background:var(--gold-pale); font-size:var(--fs-small); }

/* ---------- מבנה הפאנל ---------- */
.admin-shell{ display:grid; grid-template-columns:250px minmax(0, 1fr); min-height:100vh; }
.admin-side{
  background:var(--navy); color:#fff;
  position:sticky; top:0; height:100vh; overflow-y:auto;
  padding:18px 14px; display:flex; flex-direction:column; gap:18px;
}
.admin-brand{ display:block; background:var(--paper); border-radius:16px; padding:8px 12px; }
.admin-brand img, .admin-brand canvas{ width:100%; max-width:180px; margin:0 auto; }
.admin-nav{ display:flex; flex-direction:column; gap:3px; }
.admin-nav a{
  display:flex; align-items:center; gap:11px;
  padding:10px 12px; border-radius:12px;
  color:#C9D3E3; text-decoration:none; font-weight:600;
  transition:background .2s, color .2s;
}
.admin-nav a .ic{ color:#7F92B3; transition:color .2s; }
.admin-nav a:hover{ background:rgba(255,255,255,.06); color:#fff; }
.admin-nav a[aria-current="page"]{ background:rgba(227,185,93,.14); color:#fff; box-shadow:inset -3px 0 0 var(--gold-bright); }
.admin-nav a[aria-current="page"] .ic{ color:var(--gold-bright); }
.nav-badge{
  margin-inline-start:auto; min-width:22px; height:22px; padding:0 7px;
  border-radius:999px; display:grid; place-items:center;
  background:var(--gold); color:var(--navy); font-size:.78rem;
  animation:badge-pop .4s cubic-bezier(.2,.9,.3,1.5);
}
@keyframes badge-pop{ from{ transform:scale(0); } }

.admin-main{ min-width:0; display:flex; flex-direction:column; }
.admin-top{
  position:sticky; top:0; z-index:15;
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
  padding:14px clamp(16px, 3vw, 32px);
  background:rgba(244,241,232,.92); backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.admin-title{ margin:0; font-family:var(--font-display); font-weight:800; font-size:1.5rem; color:var(--navy); }
.admin-user{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.admin-email{ color:var(--muted); font-size:var(--fs-small); }
.admin-content{ padding:22px clamp(16px, 3vw, 32px) 60px; display:flex; flex-direction:column; gap:18px; }
.admin-content.tab-in{ animation:rise .35s ease; }
@keyframes rise{ from{ opacity:0; transform:translateY(10px); } }

@media (max-width: 900px){
  .admin-shell{ grid-template-columns:1fr; }
  .admin-side{ position:sticky; top:0; z-index:20; height:auto; flex-direction:row; align-items:center; padding:8px 10px; gap:10px; }
  .admin-brand{ flex:none; padding:4px 8px; }
  .admin-brand img, .admin-brand canvas{ width:72px; }
  .admin-nav{ flex-direction:row; overflow-x:auto; scrollbar-width:none; flex:1; min-width:0; }
  .admin-nav::-webkit-scrollbar{ display:none; }
  .admin-nav a{ flex:none; padding:8px 10px; }
  .admin-nav a span{ white-space:nowrap; }
  .admin-nav a[aria-current="page"]{ box-shadow:inset 0 -3px 0 var(--gold-bright); }
  .admin-top{ position:static; }
}

/* ---------- רכיבים ---------- */
.a-card{
  background:var(--white); border:1px solid var(--line); border-radius:20px;
  padding:20px clamp(16px, 2.5vw, 24px);
  display:flex; flex-direction:column; gap:12px; min-width:0;
}
.a-card h2{ margin:0; font-family:var(--font-display); font-size:1.15rem; color:var(--navy); display:flex; align-items:center; gap:8px; }
.a-card h2 .ic{ color:var(--gold); }
.a-card-head{ display:flex; justify-content:space-between; align-items:center; gap:10px; }
.a-card-head a{ color:var(--navy); font-weight:700; font-size:var(--fs-small); text-decoration-color:var(--gold); }
.a-card-row{ flex-direction:row; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px 28px; }
.a-card-row > div{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.a-card-row .ic{ color:var(--gold); }
.a-grid-2{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:18px; }
@media (max-width: 1000px){ .a-grid-2{ grid-template-columns:1fr; } }
.a-note{ margin:0; font-size:var(--fs-small); }
.a-sub{ margin:8px 0 0; font-family:var(--font-display); color:var(--navy); font-size:1rem; }

.a-tiles{ display:grid; grid-template-columns:repeat(auto-fit, minmax(170px, 1fr)); gap:14px; }
.a-tile{
  display:flex; flex-direction:column; gap:2px;
  padding:18px 20px; border-radius:20px;
  background:var(--white); border:1px solid var(--line);
  color:inherit; text-decoration:none;
  transition:transform .2s, box-shadow .2s, border-color .2s;
}
a.a-tile:hover{ transform:translateY(-3px); box-shadow:0 14px 28px rgba(14,37,65,.1); border-color:var(--gold); }
.a-tile b{ font-family:var(--font-display); font-weight:800; font-size:2.3rem; color:var(--navy); line-height:1.1; font-variant-numeric:tabular-nums; }
.a-tile span{ color:var(--muted); font-weight:600; }
.a-tile-alert{ background:var(--navy); border-color:var(--navy); }
.a-tile-alert b{ color:var(--gold-bright); }
.a-tile-alert span{ color:#C9D3E3; }

.pill{ display:inline-block; padding:3px 10px; border-radius:999px; font-size:.78rem; font-weight:700; white-space:nowrap; }
.pill-ok{ background:#E3F1E5; color:#1E5B2B; }
.pill-warn{ background:#FBEFD5; color:#7A5310; }
.pill-muted{ background:#ECEEF2; color:#56607A; }
.pill-gold{ background:var(--gold-pale); color:#6E4E10; }

.a-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; }
.a-list li{ display:flex; justify-content:space-between; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); }
.a-list li:last-child{ border-bottom:0; }
.a-list p{ margin:3px 0 0; color:var(--muted); font-size:var(--fs-small); }
.a-list-side{ display:flex; flex-direction:column; align-items:flex-end; gap:4px; flex:none; }
.a-list-side small{ color:var(--muted); }

.a-health{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:12px; }
.a-health-item{ padding:14px; border-radius:14px; background:#FBF6EA; display:flex; flex-direction:column; gap:4px; }
.a-health-item > b{ font-family:var(--font-display); font-size:1.8rem; color:#9A6A16; line-height:1; }
.a-health-item.is-ok > b{ color:#2E7D32; }
.a-health-names{ display:flex; flex-wrap:wrap; gap:6px; margin-top:6px; align-items:center; }
@media (max-width: 800px){ .a-health{ grid-template-columns:1fr; } }
.chip-btn{ border:1px solid var(--line); background:var(--white); border-radius:999px; padding:3px 10px; font:inherit; font-size:.8rem; cursor:pointer; }
.chip-btn:hover{ border-color:var(--gold); }

/* סרגל כלים */
.a-toolbar{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.a-toolbar .btn-gold{ margin-inline-start:auto; }
.a-search{ display:flex; align-items:center; gap:8px; background:var(--white); border:1.5px solid var(--line); border-radius:12px; padding:0 12px; flex:1 1 220px; max-width:340px; }
.a-search:focus-within{ border-color:var(--gold); }
.a-search .ic{ color:var(--muted); }
.a-search input{ border:0; outline:0; background:none; font:inherit; padding:10px 0; width:100%; }
.a-chips{ display:flex; flex-wrap:wrap; gap:6px; }
.a-chips button{
  border:1.5px solid var(--line); background:var(--white); color:var(--ink);
  border-radius:999px; padding:7px 13px; font:inherit; font-weight:600; font-size:var(--fs-small); cursor:pointer;
  transition:background .2s, color .2s, border-color .2s;
}
.a-chips button small{ color:var(--muted); font-weight:700; margin-inline-start:2px; }
.a-chips button[aria-pressed="true"]{ background:var(--navy); color:#fff; border-color:var(--navy); }
.a-chips button[aria-pressed="true"] small{ color:var(--gold-bright); }
.a-select{
  appearance:none; -webkit-appearance:none; font:inherit; color:var(--ink);
  background:var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BF8A2A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat left 10px center / 16px;
  border:1.5px solid var(--line); border-radius:12px; padding:9px 12px 9px 34px; cursor:pointer;
}

/* טבלאות */
.a-table-wrap{ overflow-x:auto; background:var(--white); border:1px solid var(--line); border-radius:18px; }
.a-card .a-table-wrap{ border-radius:12px; }
.a-table{ width:100%; border-collapse:collapse; min-width:640px; }
.a-table th, .a-table td{ padding:11px 14px; text-align:right; border-bottom:1px solid var(--line); vertical-align:middle; }
.a-table thead th{ font-size:.8rem; color:var(--muted); font-weight:700; background:#FBF8F1; }
.a-table tbody tr{ transition:background .15s; }
.a-table tbody tr:hover{ background:#FCFAF4; }
.a-table tbody tr:last-child td{ border-bottom:0; }
.col-order{ width:84px; white-space:nowrap; }
.a-place{ display:flex; align-items:center; gap:12px; }
.a-place img, .a-thumb{ width:52px; height:40px; border-radius:9px; object-fit:cover; flex:none; }
.a-thumb{ display:grid; place-items:center; background:var(--navy); color:var(--gold-bright); }
.a-thumb .ic{ width:20px; height:20px; }
.a-place small{ display:block; color:var(--muted); }
.a-name{ background:none; border:0; padding:0; font:inherit; font-weight:700; color:var(--navy); cursor:pointer; text-align:right; }
.a-name:hover{ text-decoration:underline; text-decoration-color:var(--gold); }
.a-actions{ white-space:nowrap; text-align:left !important; }
.icon-btn{
  display:inline-grid; place-items:center; width:34px; height:34px; border-radius:10px;
  border:1px solid transparent; background:transparent; color:var(--navy); cursor:pointer;
  transition:background .15s, border-color .15s;
}
.icon-btn .ic{ width:18px; height:18px; }
.icon-btn:hover{ background:var(--paper); border-color:var(--line); }
.icon-btn[disabled]{ opacity:.3; cursor:default; background:none; border-color:transparent; }
.icon-danger{ color:#B3261E; }
.icon-danger:hover{ background:#FBEAEA; }
.a-mini{ width:100%; border-collapse:collapse; }
.a-mini td{ padding:8px 4px; border-bottom:1px solid var(--line); }
.a-mini tr:last-child td{ border-bottom:0; }

/* כרטיסי פניות */
.a-cards{ display:grid; grid-template-columns:repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap:14px; }
.a-msg{
  background:var(--white); border:1px solid var(--line); border-radius:18px;
  padding:16px 18px; display:flex; flex-direction:column; gap:8px;
  transition:opacity .25s, transform .25s;
}
.a-msg.is-new{ border-inline-start:4px solid var(--gold); }
.a-msg.leaving{ opacity:0; transform:scale(.97); }
.a-msg header{ display:flex; justify-content:space-between; gap:10px; align-items:flex-start; }
.a-msg-meta{ display:flex; flex-direction:column; align-items:flex-end; gap:4px; }
.a-msg-meta small{ color:var(--muted); }
.a-msg-text{ margin:0; white-space:pre-line; line-height:1.6; }
.a-msg-sub{ margin:0; color:var(--muted); font-weight:600; font-size:var(--fs-small); }
.a-msg-contact{ margin:0; display:flex; align-items:center; gap:6px; color:var(--muted); }
.a-msg-contact .ic{ width:16px; height:16px; color:var(--gold); }
.a-msg footer{ display:flex; flex-wrap:wrap; gap:6px; align-items:center; padding-top:8px; border-top:1px solid var(--line); margin-top:auto; }
.a-msg footer .icon-btn{ margin-inline-start:auto; }

.a-reviews{ display:flex; flex-direction:column; gap:10px; }
.a-review{ display:flex; justify-content:space-between; gap:14px; align-items:center; flex-wrap:wrap; padding:12px 16px; background:var(--white); border:1px solid var(--line); border-radius:14px; }
.a-card .a-review{ background:#FBF8F1; }
.a-review p{ margin:0 0 4px; font-size:1.02rem; }
.a-review small{ color:var(--muted); }
.a-review-acts{ display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.a-add-review{ border-top:1px solid var(--line); padding-top:14px; margin-top:6px; display:flex; flex-direction:column; gap:10px; }
.a-add-review h3{ margin:0; font-family:var(--font-display); font-size:1rem; color:var(--navy); }
.a-add-review .btn{ align-self:flex-start; }

/* טעינה וריק */
.a-loading{ display:flex; gap:8px; justify-content:center; padding:60px 0; }
.a-loading span{ width:12px; height:12px; border-radius:50%; background:var(--gold); animation:dots 1s ease-in-out infinite; }
.a-loading span:nth-child(2){ animation-delay:.15s; } .a-loading span:nth-child(3){ animation-delay:.3s; }
@keyframes dots{ 0%,100%{ transform:translateY(0); opacity:.4; } 50%{ transform:translateY(-10px); opacity:1; } }
.a-empty{ text-align:center; padding:50px 20px; background:var(--white); border:1.5px dashed var(--line); border-radius:20px; }
.a-empty h2{ margin:0 0 6px; font-family:var(--font-display); color:var(--navy); font-size:1.2rem; }
.a-empty p{ margin:0 0 12px; color:var(--muted); }

/* ---------- טופס עריכת מקום ---------- */
.a-editor{ gap:16px; }
.a-editor-bar{
  position:sticky; top:68px; z-index:12;
  display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap;
  padding:10px 12px; border-radius:16px;
  background:var(--navy); box-shadow:0 12px 28px rgba(14,37,65,.25);
}
.a-editor-bar > .btn-ghost{ color:#fff; border-color:rgba(255,255,255,.2); }
.a-editor-bar > .btn-ghost:hover{ background:rgba(255,255,255,.1); }
.a-editor-actions{ display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.a-editor-grid{ display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 360px); gap:18px; align-items:start; }
.a-editor-grid.a-even{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
.a-editor-main, .a-editor-side{ display:flex; flex-direction:column; gap:16px; min-width:0; }
@media (max-width: 1100px){ .a-editor-grid, .a-editor-grid.a-even{ grid-template-columns:1fr; } }
@media (max-width: 900px){ .a-editor-bar{ top:56px; } }
.a-field > span{ display:block; margin-bottom:6px; }
.a-warn{ margin:0; padding:10px 14px; border-radius:12px; background:#FBEFD5; color:#7A5310; font-weight:600; font-size:var(--fs-small); }
.a-inline{ display:flex; gap:6px; flex:1 1 260px; }
.a-inline input{ flex:1; min-width:0; font:inherit; padding:8px 12px; border:1.5px solid var(--line); border-radius:10px; }
.a-check{ display:flex !important; flex-direction:row !important; align-items:center; gap:8px; font-weight:600; }
.a-check input{ width:auto !important; display:inline !important; margin:0 !important; accent-color:var(--navy); }
.a-meta p{ margin:0; color:var(--muted); font-size:var(--fs-small); }

.a-rating{ display:flex; align-items:center; gap:14px; }
.a-rating input[type=range]{ flex:1; accent-color:var(--gold); padding:0; border:0; }
.a-rating output{
  width:56px; height:56px; border-radius:50%; flex:none;
  display:grid; place-items:center;
  background:var(--navy); color:var(--gold-bright);
  font-family:var(--font-display); font-weight:800; font-size:1.5rem;
  transition:opacity .2s;
}
.a-rating output.off{ opacity:.25; }

.a-map{ height:240px; border-radius:14px; overflow:hidden; background:#E8E2D2; border:1px solid var(--line); z-index:0; }
.map-pin svg{ width:40px; height:52px; filter:drop-shadow(0 6px 6px rgba(0,0,0,.3)); }
.map-pin path{ fill:var(--gold); stroke:#FFF6DE; stroke-width:3; }
.map-pin circle{ fill:var(--navy); }

/* תמונות */
.a-images{ display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:10px; }
.a-img{ position:relative; margin:0; border-radius:14px; overflow:hidden; aspect-ratio:4 / 3; background:var(--paper-deep); border:2px solid transparent; }
.a-img.is-main{ border-color:var(--gold); }
.a-img img{ width:100%; height:100%; object-fit:cover; }
.a-img-main{ position:absolute; top:8px; right:8px; background:var(--gold); color:var(--navy); font-weight:700; font-size:.75rem; padding:3px 9px; border-radius:999px; }
.a-img-tools{ position:absolute; inset:auto 0 0 0; display:flex; justify-content:center; gap:4px; padding:6px; background:linear-gradient(transparent, rgba(8,20,38,.75)); opacity:0; transition:opacity .2s; }
.a-img:hover .a-img-tools, .a-img:focus-within .a-img-tools{ opacity:1; }
.a-img-tools .icon-btn{ background:rgba(255,255,255,.92); width:30px; height:30px; }
@media (hover: none){ .a-img-tools{ opacity:1; } }
.a-dropzone{
  display:flex; flex-wrap:wrap; align-items:center; gap:10px;
  padding:14px; border:2px dashed var(--line); border-radius:14px;
  transition:border-color .2s, background .2s;
}
.a-dropzone.over{ border-color:var(--gold); background:var(--gold-pale); }
.a-progress{ height:6px; border-radius:3px; background:var(--paper-deep); overflow:hidden; }
.a-progress span{ display:block; height:100%; width:0; background:linear-gradient(90deg, var(--gold), var(--gold-bright)); transition:width .3s; }

/* עורך טקסט עשיר */
.rte{ border:1.5px solid var(--line); border-radius:12px; overflow:hidden; background:var(--white); }
.rte:focus-within{ border-color:var(--gold); box-shadow:0 0 0 3px rgba(227,185,93,.25); }
.rte-bar{ display:flex; flex-wrap:wrap; gap:2px; padding:5px; background:#FBF8F1; border-bottom:1px solid var(--line); }
.rte-bar button{
  min-width:32px; height:30px; padding:0 6px; border-radius:8px; border:0; background:transparent;
  font:inherit; font-weight:700; color:var(--navy); cursor:pointer;
}
.rte-bar button:hover{ background:var(--paper-deep); }
.rte-bar .sw{ display:inline-block; width:14px; height:14px; border-radius:50%; vertical-align:middle; }
.rte-area{ min-height:90px; padding:10px 14px; outline:0; font-size:1rem; line-height:1.7; }
.rte-area:empty::before{ content:attr(data-placeholder); color:#A3ABBB; }
.rte-area h3{ font-family:var(--font-display); color:var(--navy); margin:.4em 0; font-size:1.1rem; }
.rte-area p{ margin:0 0 .5em; }

/* מתג */
.a-switch{ display:flex !important; align-items:center; gap:10px; cursor:pointer; font-weight:700 !important; font-size:var(--fs-body) !important; }
.a-switch input{ position:absolute; opacity:0; width:1px; height:1px; }
.a-switch span{ width:46px; height:26px; border-radius:999px; background:#CBD2DE; position:relative; transition:background .2s; flex:none; }
.a-switch span::after{ content:""; position:absolute; top:3px; right:3px; width:20px; height:20px; border-radius:50%; background:#fff; box-shadow:0 2px 4px rgba(0,0,0,.2); transition:transform .25s cubic-bezier(.2,.9,.3,1.3); }
.a-switch input:checked + span{ background:var(--gold); }
.a-switch input:checked + span::after{ transform:translateX(-20px); }
.a-switch input:focus-visible + span{ outline:3px solid var(--gold); outline-offset:2px; }
.a-media-field{ display:flex; flex-wrap:wrap; gap:8px; align-items:flex-end; }
.a-media-field label{ flex:1 1 260px; }

/* סטטיסטיקות */
.a-chart{ position:relative; }
.a-chart svg{ width:100%; height:auto; display:block; overflow:visible; }
.ch-grid{ stroke:#ECE5D3; stroke-width:1; }
.ch-axis{ fill:var(--muted); font-size:11px; font-family:var(--font-body); }
.ch-area{ fill:rgba(14,37,65,.07); }
.ch-line{ fill:none; stroke:var(--navy); stroke-width:2.2; stroke-linejoin:round; stroke-linecap:round; }
.ch-end{ fill:var(--gold); stroke:#fff; stroke-width:2.5; }
.ch-dot{ fill:var(--navy); stroke:#fff; stroke-width:2.5; }
.ch-cross{ stroke:var(--gold); stroke-width:1; stroke-dasharray:3 3; }
.ch-hit{ fill:transparent; cursor:crosshair; }
.ch-tip{ position:absolute; width:120px; padding:8px 10px; border-radius:10px; background:var(--navy); color:#fff; font-size:.8rem; pointer-events:none; text-align:center; box-shadow:0 8px 20px rgba(14,37,65,.25); }
.ch-tip b{ font-family:var(--font-display); font-size:1.1rem; color:var(--gold-bright); }
.ch-tip span{ color:#C9D3E3; }
@media (prefers-reduced-motion: no-preference){
  .ch-line{ stroke-dasharray:3000; stroke-dashoffset:3000; animation:draw 1.4s cubic-bezier(.4,.1,.2,1) forwards; }
  .ch-area{ opacity:0; animation:fade-in .8s ease .7s forwards; }
  @keyframes draw{ to{ stroke-dashoffset:0; } }
  @keyframes fade-in{ to{ opacity:1; } }
}
.a-bars{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.a-bars li{ display:grid; grid-template-columns:minmax(0, 150px) minmax(0, 1fr) 40px; gap:10px; align-items:center; }
.a-bar-name{ font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.a-bar-name small{ display:block; color:var(--muted); font-weight:400; }
.a-bar{ height:12px; border-radius:6px; background:#F1EADA; overflow:hidden; }
.a-bar i{ display:block; height:100%; width:var(--w); background:var(--navy); border-radius:6px; animation:grow .9s cubic-bezier(.2,.7,.2,1) both; }
@keyframes grow{ from{ width:0; } }
.a-bars b{ font-variant-numeric:tabular-nums; text-align:left; }

/* כלים */
.a-score{ display:flex; align-items:baseline; gap:6px; color:var(--muted); font-weight:600; }
.a-score b{ font-family:var(--font-display); font-size:1.6rem; color:var(--navy); }
.a-issues{ display:flex; flex-wrap:wrap; gap:5px; }
.a-log{ max-height:200px; overflow-y:auto; font-size:var(--fs-small); display:flex; flex-direction:column; gap:3px; }
.a-log .ok{ color:#2E7D32; font-weight:700; } .a-log .no{ color:#B3261E; font-weight:700; }
.a-editor-bar .a-select, .a-toolbar .a-select{ width:auto; }
.a-chart svg{ direction:ltr; }

/* ---------- עורך עמוד ההטבות ---------- */
.ga-wrap{ display:flex; flex-direction:column; gap:16px; }
.ga-grid{ display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:18px; align-items:start; }
.ga-edit{ display:flex; flex-direction:column; gap:16px; min-width:0; }
.ga-edit h2 small{ font-weight:600; font-size:.9rem; }
.ga-rows{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.ga-row{ display:flex; align-items:center; gap:12px; padding:8px 12px; border:1px solid var(--line); border-radius:14px; background:var(--white); transition:opacity .2s, background .2s; }
.ga-row b{ flex:1; color:var(--navy); font-family:var(--font-display); }
.ga-row.off{ background:var(--paper); }
.ga-row.off b{ color:var(--muted); text-decoration:line-through; text-decoration-color:var(--line); }
.ga-sw{ font-size:var(--fs-small) !important; }
.ga-sw em{ font-style:normal; color:var(--muted); min-width:42px; }
.ga-grip{ width:28px; height:28px; flex:none; border-radius:50%; display:grid; place-items:center; background:var(--gold-pale); color:var(--navy); font-weight:800; font-size:.85rem; }
.ga-tools{ display:flex; gap:2px; align-items:center; }
.ga-tools.ga-col{ flex-direction:column; }

.ga-items{ display:flex; flex-direction:column; gap:10px; }
.ga-item{ border:1px solid var(--line); border-radius:16px; background:var(--white); transition:border-color .2s, box-shadow .2s; }
.ga-item[open]{ border-color:var(--gold); box-shadow:0 12px 26px -18px rgba(14,37,65,.45); }
.ga-item.off{ background:var(--paper); }
.ga-item summary{ list-style:none; display:flex; align-items:center; gap:12px; padding:10px 12px; cursor:pointer; }
.ga-item summary::-webkit-details-marker{ display:none; }
.ga-ic{ width:40px; height:40px; flex:none; border-radius:12px; display:grid; place-items:center; background:var(--navy); color:var(--gold-bright); }
.ga-ic .ic{ width:20px; height:20px; }
.ga-sum{ flex:1; min-width:0; display:flex; flex-direction:column; }
.ga-sum b{ color:var(--navy); font-family:var(--font-display); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ga-sum small{ color:var(--muted); }
.ga-body{ padding:4px 14px 14px; display:flex; flex-direction:column; gap:12px; border-top:1px dashed var(--line); padding-top:14px; }
.ga-item-acts{ justify-content:flex-end; }
.ga-del{ color:#B3261E !important; }
.ga-del:hover{ border-color:#B3261E !important; }
.ga-pair{ display:flex; gap:10px; align-items:flex-start; padding:10px; border:1px solid var(--line); border-radius:14px; margin-bottom:8px; }
.ga-pair .ga-grip{ margin-top:26px; }
.ga-pair-f{ flex:1; min-width:0; display:flex; flex-direction:column; gap:8px; }

/* תצוגה חיה */
.ga-preview{ position:sticky; top:136px; display:flex; flex-direction:column; gap:10px; min-width:0; }
.gp-head{ display:flex; justify-content:space-between; align-items:center; gap:10px; }
.gp-head b{ display:flex; align-items:center; gap:6px; color:var(--navy); font-family:var(--font-display); }
.gp-head b .ic{ color:var(--gold); width:18px; height:18px; }
.gp-box{ position:relative; overflow:hidden; border-radius:18px; border:1px solid var(--line); background:#FBF8F1;
  box-shadow:0 20px 40px -24px rgba(14,37,65,.5); max-height:calc(100vh - 200px); overflow-y:auto; overscroll-behavior:contain; }
.gp-box iframe{ display:block; border:0; transform-origin:top right; background:#FBF8F1; pointer-events:auto; }
.gp-box.phone{ max-width:390px; margin-inline:auto; border:8px solid var(--navy); border-radius:30px; }
@media (max-width: 1100px){
  .ga-grid{ grid-template-columns:1fr; }
  .ga-preview{ position:static; order:-1; }
  .gp-box{ max-height:60vh; }
}
.ga-wrap .a-editor-bar .btn-ghost{ color:#fff; border-color:rgba(255,255,255,.25); }
.ga-wrap .a-editor-bar .btn-ghost:hover{ background:rgba(255,255,255,.1); }
.ga-wrap .a-editor-bar .btn-ghost .ic{ color:var(--gold-bright); }
.a-span{ grid-column:1 / -1; }

/* טלפון: טבלת המקומות הופכת לכרטיסים */
@media (max-width: 700px){
  .a-table-places{ min-width:0; }
  .a-table-places thead{ display:none; }
  .a-table-places, .a-table-places tbody{ display:block; }
  .a-table-places tr{ display:grid; grid-template-columns:1fr auto; grid-template-areas:"main order" "meta meta" "acts acts";
    gap:8px 10px; padding:12px 14px; border-bottom:1px solid var(--line); }
  .a-table-places td{ display:block; padding:0; border:0; }
  .a-table-places td.col-order{ grid-area:order; display:flex; flex-direction:column; }
  .a-table-places td.td-main{ grid-area:main; }
  .a-table-places td.td-cat, .a-table-places td.td-rating, .a-table-places td.td-status, .a-table-places td.td-upd{ display:none; }
  .a-table-places td.td-meta{ grid-area:meta; display:flex !important; flex-wrap:wrap; gap:8px; align-items:center; font-size:var(--fs-small); color:var(--muted); }
  .a-table-places td.a-actions{ grid-area:acts; display:flex; gap:4px; justify-content:flex-start; border-top:1px dashed var(--line); padding-top:8px; }
}
@media (min-width: 701px){ .a-table-places td.td-meta{ display:none; } }

/* לוח בקרה: ברכה ופעולות מהירות */
.a-hello{ display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap;
  padding:20px clamp(16px, 2.5vw, 24px); border-radius:20px; color:#fff;
  background:radial-gradient(60% 120% at 10% 0%, rgba(227,185,93,.25), transparent 70%), linear-gradient(150deg, var(--navy-soft), var(--navy)); }
.a-hello h2{ margin:0 0 4px; font-family:var(--font-display); font-size:1.5rem; }
.a-hello p{ margin:0; color:#C9D3E3; }
.a-hello p b{ color:var(--gold-bright); }
.a-quick{ display:flex; gap:8px; flex-wrap:wrap; }
.a-q{ display:flex; flex-direction:column; align-items:center; gap:6px; min-width:88px; padding:10px 12px; border-radius:14px; cursor:pointer;
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.14); color:#fff; font:inherit; font-size:var(--fs-small); font-weight:700; text-decoration:none;
  transition:background .2s, transform .2s, border-color .2s; }
.a-q .ic{ width:22px; height:22px; color:var(--gold-bright); }
.a-q:hover{ background:rgba(255,255,255,.14); border-color:var(--gold); transform:translateY(-2px); }
.a-card-row-acts{ display:flex; gap:6px; flex-wrap:wrap; }
@media (max-width: 700px){ .a-quick{ display:grid; grid-template-columns:repeat(4, 1fr); width:100%; } .a-q{ min-width:0; } }

/* מילוי אוטומטי לפי שם */
.a-lookup-bar{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.a-lookup-bar .muted{ font-size:var(--fs-small); flex:1 1 220px; }
.a-lookup-bar .ic{ width:16px; height:16px; }
.a-lookup{ padding:12px 14px; border-radius:14px; background:#EEF6EE; border:1px solid #CFE3CF; animation:rise .3s ease; display:flex; flex-direction:column; gap:6px; }
.a-lk-head{ display:flex; gap:10px; align-items:flex-start; }
.a-lk-head > .ic{ width:22px; height:22px; flex:none; color:#2E7D32; margin-top:2px; }
.a-lk-head b{ display:block; color:var(--navy); }
.a-lk-head small{ display:block; color:var(--muted); line-height:1.5; }
.a-lk-wait{ color:var(--muted); }
.a-lookup:has(.a-lk-wait), .a-lookup:has(.a-lk-none){ background:#FBF6EA; border-color:var(--line); }
.a-lk-none > .ic{ color:var(--gold); }
.a-lk-filled{ margin:0; font-size:var(--fs-small); color:#2E5E30; font-weight:600; }
.a-lk-more summary{ cursor:pointer; font-weight:700; color:var(--navy); font-size:var(--fs-small); }
.a-lk-opt{ display:block; width:100%; text-align:right; margin-top:6px; padding:8px 10px; border-radius:10px; border:1px solid var(--line); background:#fff; cursor:pointer; font:inherit; }
.a-lk-opt:hover{ border-color:var(--gold); }
.a-lk-opt b{ display:block; color:var(--navy); }
.a-lk-opt small{ color:var(--muted); font-size:.8rem; }
.a-spin{ width:20px; height:20px; flex:none; border-radius:50%; border:2.5px solid var(--line); border-top-color:var(--gold); animation:spin .8s linear infinite; }
@keyframes spin{ to{ transform:rotate(360deg); } }
.a-filled{ animation:aFill 1.4s ease; }
@keyframes aFill{ 0%{ box-shadow:0 0 0 0 rgba(46,125,50,.0); background:#E6F4E6; } 30%{ box-shadow:0 0 0 4px rgba(46,125,50,.25); } 100%{ box-shadow:0 0 0 0 rgba(46,125,50,0); } }

/* יבוא מאקסל */
.a-imp-tpl{ color:#fff !important; background:transparent !important; border-color:rgba(255,255,255,.3) !important; }
.a-imp-tpl .ic{ color:var(--gold-bright); }
.a-imp-drop{ flex-direction:column; padding:28px 16px; text-align:center; }
.a-imp-ic{ width:56px; height:56px; border-radius:18px; display:grid; place-items:center; background:var(--gold-pale); color:var(--gold); }
.a-imp-ic .ic{ width:28px; height:28px; }
.a-imp-geo{ align-self:end; font-weight:600 !important; line-height:1.5; }
.a-imp-table td .ic{ width:18px; height:18px; color:#2E7D32; }
.a-imp-table tr.imp-skip td{ opacity:.55; }
.a-imp-table tr.imp-error{ background:#FDF3F2; }
.a-imp-done{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-top:14px; padding:16px; border-radius:16px; background:#EEF6EE; border:1px solid #CFE3CF; }
.a-imp-done > .ic{ width:34px; height:34px; color:#2E7D32; flex:none; }
.a-imp-done > div{ flex:1 1 260px; display:flex; flex-direction:column; gap:2px; }
.a-imp-done b{ color:var(--navy); }
.a-imp-done span{ color:var(--muted); }

/* ---------- כפתורים ועמודים ---------- */
.ft-list{ display:flex; flex-direction:column; border:1px solid var(--line); border-radius:14px; overflow:hidden; }
.ft-row{ padding:12px 14px; border-bottom:1px solid var(--line); flex-wrap:wrap; transition:background .2s; }
.ft-row:last-child{ border-bottom:0; }
.ft-row b{ font-weight:700; }
.ft-row small{ font-weight:400; font-size:var(--fs-small); }
.ft-state{ margin-inline-start:auto; font-style:normal; font-size:var(--fs-small); padding:3px 10px; border-radius:999px; background:#E3F2E7; color:#1E6B39; }
.ft-row.is-off{ background:#F7F3EA; }
.ft-row.is-off .ft-state{ background:#EDE6D6; color:#7A5310; }
.ft-mode{ border:0; padding:0; margin:0; display:flex; flex-direction:column; gap:6px; }
.ft-mode legend{ font-weight:700; margin-bottom:6px; padding:0; }

/* מענה בדוא"ל */
.a-mail-temps{ display:flex; flex-wrap:wrap; gap:8px; }
.a-mail-temps .chip{ padding:7px 14px; border-radius:999px; border:1px solid var(--line); background:var(--white); color:var(--navy); font:inherit; font-weight:600; cursor:pointer; }
.a-mail-temps .chip[aria-pressed="true"]{ background:var(--navy); border-color:var(--navy); color:var(--gold-bright); }
.a-mail textarea{ line-height:1.7; }
.a-msg-contact b{ color:var(--navy); }
.ft-extra{ padding:12px 14px; border-radius:14px; background:var(--white); border:1px solid var(--line); display:flex; flex-direction:column; gap:6px; }

/* ---------- פרסומות ---------- */
.ad-cards{ display:flex; flex-direction:column; gap:12px; margin-bottom:18px; }
.ad-card{ display:grid; grid-template-columns:120px 1fr auto; gap:18px; align-items:center; padding:16px; border-radius:18px; background:var(--white); border:1px solid var(--line); box-shadow:0 10px 24px -20px rgba(14,37,65,.5); }
.ad-card.is-off{ background:#FAF8F3; }
.ad-card.is-off .ad-card-mini{ filter:grayscale(.8); opacity:.6; }
.ad-card-body header{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.ad-card-body h3{ margin:0; font-family:var(--font-display); color:var(--navy); font-size:1.12rem; }
.ad-card-title{ margin:4px 0 8px; color:var(--ink); }
.ad-card-meta{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:6px 16px; color:var(--muted); font-size:var(--fs-small); }
.ad-card-meta li{ display:flex; align-items:center; gap:5px; }
.ad-card-meta .ic{ width:15px; height:15px; color:var(--gold); }
.ad-card-stat{ color:var(--navy); font-weight:700; }
.ad-card-acts{ display:flex; flex-direction:column; align-items:flex-end; gap:8px; }
.ad-card-acts > .btn{ width:100%; justify-content:center; }
.ad-card-more{ display:flex; gap:4px; }
.ad-card-more .icon-btn[disabled]{ opacity:.3; cursor:default; }

/* מיניאטורה שמראה את סוג התצוגה */
.ad-card-mini{ position:relative; display:block; width:120px; height:80px; border-radius:12px; background:#EEF1F6; border:1px solid var(--line); overflow:hidden; }
.ad-card-mini i{ position:absolute; inset:8px 10px auto; height:8px; border-radius:4px; background:#D5DBE5; box-shadow:0 14px 0 #E1E6EE, 0 28px 0 #E1E6EE; }
.ad-card-mini b{ position:absolute; border-radius:8px; background:var(--navy); box-shadow:0 0 0 2px var(--gold) inset; }
.ad-mini-popup b{ inset:16px 26px; }
.ad-mini-popup{ background:#C9D0DC; }
.ad-mini-banner b{ width:46px; height:34px; left:6px; bottom:6px; }
.ad-mini-bar b{ inset:0 0 auto; height:16px; border-radius:0; box-shadow:0 -2px 0 var(--gold) inset; }
.ad-card-mini.ad-theme-gold b{ background:linear-gradient(135deg, #F0CF86, var(--gold)); box-shadow:0 0 0 2px var(--navy) inset; }
.ad-card-mini.ad-theme-light b{ background:var(--gold-pale); box-shadow:0 0 0 2px var(--gold) inset; }

.ad-temps h2{ font-size:1.05rem; }
.ad-temps-row{ display:grid; grid-template-columns:repeat(auto-fill, minmax(170px, 1fr)); gap:12px; }
.ad-temp{ display:flex; flex-direction:column; align-items:center; gap:6px; padding:14px; border-radius:16px; border:1px dashed #D8C9A6; background:var(--white); cursor:pointer; font:inherit; color:var(--navy); transition:border-color .2s, transform .2s; }
.ad-temp:hover{ border-color:var(--gold); transform:translateY(-2px); }
.ad-temp small{ color:var(--muted); }

/* עורך פרסומת */
.ad-editor{ display:flex; flex-direction:column; gap:16px; max-width:860px; }
.ad-editor .a-card h2{ display:flex; align-items:center; gap:8px; }
.ad-editor .a-card h2 .ic{ width:20px; height:20px; color:var(--gold); }
.ad-on{ align-self:end; padding-bottom:10px; }
.ad-disp{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:12px; }
.ad-disp-opt{ position:relative; display:flex !important; flex-direction:column; align-items:center; gap:6px; padding:14px 10px; border-radius:16px; border:2px solid var(--line); background:var(--white); cursor:pointer; text-align:center; transition:border-color .2s, background .2s; }
.ad-disp-opt input{ position:absolute; opacity:0; }
.ad-disp-opt small{ color:var(--muted); font-weight:400; line-height:1.4; }
.ad-disp-opt:has(input:checked){ border-color:var(--gold); background:var(--gold-pale); }
.ad-disp-opt:has(input:focus-visible){ outline:3px solid var(--gold); outline-offset:2px; }
.ad-swatches{ border:0; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:14px; align-items:center; }
.ad-swatches legend{ font-weight:700; margin-bottom:6px; padding:0; width:100%; }
.ad-swatches label{ display:flex !important; flex-direction:row !important; align-items:center; gap:6px; cursor:pointer; font-weight:600; }
.ad-swatches input{ position:absolute; opacity:0; width:1px; }
.ad-sw{ width:28px; height:28px; border-radius:50%; border:3px solid var(--white); box-shadow:0 0 0 1px var(--line); }
.ad-sw-navy{ background:linear-gradient(135deg, var(--navy-soft), var(--navy)); }
.ad-sw-gold{ background:linear-gradient(135deg, #F0CF86, var(--gold)); }
.ad-sw-light{ background:var(--gold-pale); }
.ad-swatches input:checked + .ad-sw{ box-shadow:0 0 0 3px var(--gold); }
.ad-pages{ border:0; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
.ad-pages legend{ font-weight:700; margin-bottom:6px; padding:0; }
.ad-pages-list{ display:flex; flex-wrap:wrap; gap:8px 18px; padding-right:24px; }
.ad-pages-list input:disabled + *{ opacity:.6; }
.ad-save-bar{ position:sticky; bottom:0; z-index:4; display:flex; flex-wrap:wrap; gap:10px; padding:14px 16px; border-radius:16px; background:rgba(255,255,255,.95); border:1px solid var(--line); box-shadow:0 -10px 30px -18px rgba(14,37,65,.4); backdrop-filter:blur(6px); }
@media (max-width: 760px){
  .ad-card{ grid-template-columns:1fr; }
  .ad-card-mini{ display:none; }
  .ad-card-acts{ flex-direction:row; flex-wrap:wrap; align-items:center; }
  .ad-card-acts > .btn{ width:auto; }
  .ad-disp{ grid-template-columns:1fr; }
  .ad-disp-opt{ flex-direction:row; text-align:right; }
  .ad-disp-opt .ad-card-mini{ display:block; width:70px; height:48px; flex:none; }
}
.a-thread{ display:flex; flex-direction:column; gap:8px; margin:4px 0 2px; }
.a-thread-item{ padding:10px 12px; border-radius:12px; background:#F1F4F9; border-right:3px solid var(--navy); }
.a-thread-item small{ display:flex; align-items:center; gap:6px; color:var(--muted); }
.a-thread-item small .ic{ width:14px; height:14px; color:var(--gold); }
.a-thread-item small b{ color:#1E6B39; }
.a-thread-item p{ margin:4px 0 0; white-space:pre-line; color:var(--ink); font-size:var(--fs-small); }
.a-mail-to{ display:flex; align-items:center; gap:8px; margin:0; color:var(--muted); }
.a-mail-to .ic{ width:17px; height:17px; color:var(--gold); }
.a-mail-step2 p{ margin:16px 0 10px; color:var(--ink); }
.a-mail-ok{ display:flex; align-items:center; gap:14px; padding:14px 16px; border-radius:14px; background:#E3F2E7; color:#1E6B39; }
.a-mail-ok > .ic{ width:40px; height:40px; padding:9px; flex:none; border-radius:50%; background:#1E6B39; color:#fff; }
.a-mail-ok b{ display:block; font-size:1.05rem; }
.a-mail-ok span{ color:#2C5E3C; }

/* ---------- רשימת תפוצה ---------- */
.sub-tiles{ margin-bottom:18px; }
.sub-tiles .a-tile{ cursor:default; }
.a-row-acts{ white-space:nowrap; text-align:left; }
.a-row-acts .btn{ margin-inline-end:6px; }
.sub-batch-list{ display:flex; flex-wrap:wrap; gap:10px; margin:6px 0 12px; }
.sub-batch.done{ background:#E3F2E7; color:#1E6B39; box-shadow:none; }
.sub-batches p{ line-height:1.7; }
.rte-ext .rte-bar{ align-items:center; gap:4px; }
.rte-sep{ width:1px; height:22px; background:var(--line); margin:0 4px; }
.rte-bar select{ height:30px; padding:0 6px; border:1px solid var(--line); border-radius:8px; background:var(--white); font:inherit; font-size:.85rem; color:var(--navy); width:auto !important; }
.rte-color{ position:relative; display:inline-grid !important; place-items:center; width:30px; height:30px; border-radius:8px; cursor:pointer; font-weight:800 !important; color:var(--navy); border-bottom:4px solid currentColor; }
.rte-color:hover{ background:var(--paper-deep); }
.rte-color input{ position:absolute; inset:0; opacity:0; cursor:pointer; width:100% !important; height:100%; padding:0 !important; }
.rte-hl{ color:#E3B95D; font-size:.9rem; }

/* עורך פרסומת: טופס + תצוגה חיה */
.ad-ed-wrap{ display:grid; grid-template-columns:minmax(0, 1fr) minmax(320px, 440px); gap:20px; align-items:start; }
.ad-ed-wrap .ad-editor{ max-width:none; }
.ad-live{ position:sticky; top:84px; display:flex; flex-direction:column; gap:10px; }
.ad-live-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.ad-live-head b{ display:flex; align-items:center; gap:6px; color:var(--navy); }
.ad-live-head .ic{ width:18px; height:18px; color:var(--gold); }
.ad-live-dev{ display:flex; padding:3px; border-radius:10px; background:var(--white); border:1px solid var(--line); }
.ad-live-dev button{ border:0; background:none; padding:5px 12px; border-radius:8px; font:inherit; font-size:.85rem; cursor:pointer; color:var(--muted); }
.ad-live-dev button[aria-pressed="true"]{ background:var(--navy); color:#fff; }
.ad-live-stage{
  position:relative; min-height:420px; max-height:calc(100vh - 170px); overflow:auto; border-radius:18px; padding:14px;
  background:
    linear-gradient(rgba(8,20,38,.45), rgba(8,20,38,.45)),
    repeating-linear-gradient(0deg, #E8E2D4 0 12px, #F3EEE3 12px 40px);
  border:1px solid var(--line); display:grid; place-items:center; transition:padding .3s;
}
.ad-live-stage[data-display="bar"]{ align-items:start; place-items:start stretch; background:repeating-linear-gradient(0deg, #E8E2D4 0 12px, #F3EEE3 12px 40px); }
.ad-live-stage[data-display="banner"]{ place-items:end start; background:repeating-linear-gradient(0deg, #E8E2D4 0 12px, #F3EEE3 12px 40px); }
.ad-live-stage.is-phone{ padding-inline:calc(50% - 175px); }
.ad-live-stage .modal.ad-static{ padding:0; width:100%; }
.ad-live-stage .modal.ad-static .modal-box{ max-width:100%; }
.ad-live-stage .ad-bar{ width:100%; border-radius:10px; overflow:hidden; }
.ad-live-empty{ color:#fff; text-align:center; font-weight:600; }
.ad-live-stage[data-display="bar"] .ad-live-empty, .ad-live-stage[data-display="banner"] .ad-live-empty{ color:var(--muted); }

.ad-design .ad-d-grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px 18px; }
.ad-design input[type=range]{ width:100%; accent-color:var(--gold); padding:0 !important; border:0 !important; background:none !important; }
.ad-design output{ float:left; font-weight:700; color:var(--gold-text); font-size:var(--fs-small); }
.ad-design select option{ font-size:1rem; }
.ad-align{ border:0; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.ad-align legend{ font-weight:700; margin-bottom:6px; padding:0; width:100%; }
.ad-align label{ display:block !important; cursor:pointer; }
.ad-align input{ position:absolute; opacity:0; width:1px; }
.ad-align span{ display:inline-block; padding:7px 14px; border-radius:10px; border:1px solid var(--line); background:var(--white); font-weight:600; }
.ad-align input:checked + span{ background:var(--navy); border-color:var(--navy); color:var(--gold-bright); }
.ad-align input:focus-visible + span{ outline:3px solid var(--gold); }
.ad-colors{ display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:8px; }
.ad-clr{ display:flex; align-items:center; gap:4px; padding:6px 8px; border-radius:12px; border:1px dashed var(--line); background:var(--white); }
.ad-clr.is-set{ border-style:solid; border-color:var(--gold); }
.ad-clr label{ position:relative; flex:1; display:flex !important; flex-direction:row !important; align-items:center; gap:8px; cursor:pointer; font-weight:600 !important; font-size:.92rem !important; }
.ad-clr input{ position:absolute; inset:0; opacity:0; cursor:pointer; width:100% !important; padding:0 !important; }
.ad-clr-sw{ width:24px; height:24px; flex:none; border-radius:50%; border:2px solid #fff; box-shadow:0 0 0 1px var(--line); }
.ad-clr:not(.is-set) .ad-clr-sw{ opacity:.45; }
.ad-clr-x{ border:0; background:none; cursor:pointer; color:var(--muted); font-size:1rem; padding:2px 6px; border-radius:6px; }
.ad-clr:not(.is-set) .ad-clr-x{ visibility:hidden; }
.ad-d-checks{ display:flex; flex-direction:column; gap:6px; justify-content:center; }
@media (max-width: 1200px){
  .ad-ed-wrap{ grid-template-columns:1fr; }
  .ad-live{ position:relative; top:0; order:-1; }
  .ad-live-stage{ max-height:none; min-height:300px; }
}
@media (max-width: 560px){ .ad-design .ad-d-grid{ grid-template-columns:1fr; } }

/* ---------- הפקת החוברת ---------- */
.bk-tiles{ margin-bottom:18px; }
.bk-tiles .a-tile{ cursor:default; }
.bk-make{ margin-bottom:18px; }
.bk-make h2{ display:flex; align-items:center; gap:8px; }
.bk-make h2 .ic{ color:var(--gold); }
.bk-checks{ display:flex; flex-wrap:wrap; gap:8px 22px; }
.bk-count{ margin:0; font-size:1.05rem; color:var(--navy); }
.bk-miss{ display:inline-flex; align-items:center; gap:6px; color:#9A2F2F; font-weight:600; }
.bk-want{ color:#7A5310; font-size:var(--fs-small); }
.bk-ok{ display:inline-flex; align-items:center; gap:6px; color:#1E6B39; font-weight:600; }
.bk-miss .ic, .bk-ok .ic{ width:16px; height:16px; }
.bk-st{ padding:7px 10px; border-radius:10px; border:1.5px solid var(--line); font:inherit; font-weight:700; cursor:pointer; background:var(--white); color:var(--navy); }
.bk-st-ok{ background:#E3F2E7; border-color:#9FD0AE; color:#1E6B39; }
.bk-st-gold{ background:var(--gold-pale); border-color:#E0C27E; color:#7A5310; }
.bk-st-warn{ background:#FBE5E2; border-color:#E8B1AA; color:#9A2F2F; }
.bk-table td{ vertical-align:middle; }

/* בקשת הצטרפות של בית עסק */
.a-biz{ display:flex; flex-direction:column; gap:8px; }
.a-biz-card{ padding:14px; border-radius:14px; background:#F6F3EA; border:1px solid var(--line); display:flex; flex-direction:column; gap:6px; }
.a-biz-top{ display:flex; align-items:center; gap:10px; }
.a-biz-top > div{ flex:1; min-width:0; }
.a-biz-top b{ display:block; color:var(--navy); font-size:1.05rem; }
.a-biz-top small{ color:var(--muted); }
.a-biz-ic{ width:40px; height:40px; flex:none; border-radius:12px; display:grid; place-items:center; background:var(--navy); color:var(--gold-bright); }
.a-biz-deal{ padding:5px 12px; border-radius:10px; background:linear-gradient(135deg, var(--gold-bright), var(--gold)); color:var(--navy); font-weight:800; white-space:nowrap; }
.a-biz-title{ margin:0; font-weight:700; }
.a-biz-text{ margin:0; color:var(--ink); white-space:pre-line; line-height:1.6; }
.a-biz-meta{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:4px 16px; color:var(--muted); font-size:var(--fs-small); }
.a-biz-ok{ display:flex; align-items:center; gap:6px; margin:0; color:#1E6B39; font-weight:700; }
.a-biz-ok .ic{ width:16px; height:16px; }
.a-biz-files{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:4px; }
.a-biz-logo{ display:grid; place-items:center; width:90px; height:60px; border-radius:10px; background:#fff; border:1px solid var(--line); overflow:hidden; font-size:var(--fs-small); color:var(--muted); }
.a-biz-logo img{ max-width:100%; max-height:100%; object-fit:contain; }

/* ---------- מפרסמים ---------- */
.adv-tiles, .adv-rep-tiles{ margin-bottom:18px; }
.adv-tiles .a-tile, .adv-rep-tiles .a-tile{ cursor:default; }
.a-tile-warn b{ color:#9A2F2F; }
.adv-list{ display:flex; flex-direction:column; gap:14px; margin-bottom:12px; }
.adv-card{ padding:16px 18px; border-radius:18px; background:var(--white); border:1px solid var(--line); box-shadow:0 10px 24px -20px rgba(14,37,65,.5); display:flex; flex-direction:column; gap:10px; }
.adv-card header{ display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
.adv-card h3{ margin:0; font-family:var(--font-display); color:var(--navy); font-size:1.15rem; }
.adv-sum{ text-align:left; display:flex; flex-direction:column; }
.adv-sum b{ color:var(--navy); font-size:1.1rem; } .adv-sum small{ color:var(--muted); }
.adv-deals{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px; }
.adv-deals li{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding:8px 10px; border-radius:12px; background:#F7F4EC; }
.adv-k{ width:34px; height:34px; flex:none; border-radius:10px; display:grid; place-items:center; background:var(--navy); color:var(--gold-bright); }
.adv-k .ic{ width:17px; height:17px; }
.adv-d{ flex:1; min-width:180px; display:flex; flex-direction:column; }
.adv-d b{ color:var(--ink); } .adv-d small{ color:var(--muted); }
.adv-paid{ border:0; cursor:pointer; font:inherit; font-size:.82rem; }
.adv-card footer{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; padding-top:8px; border-top:1px solid var(--line); }
.adv-card footer .icon-danger{ margin-inline-start:auto; }
.adv-editor{ max-width:860px; display:flex; flex-direction:column; gap:16px; }
.adv-deal{ display:flex; flex-direction:column; gap:12px; padding:14px; border-radius:14px; border:1px solid var(--line); background:#FBF9F4; margin-bottom:12px; }
.adv-row4{ grid-template-columns:1fr 1fr 1fr auto; align-items:end; }
.adv-paidchk{ padding-bottom:12px; }
.adv-del{ align-self:flex-start; color:#9A2F2F; }
@media (max-width: 760px){ .adv-row4{ grid-template-columns:1fr 1fr; } .adv-card header{ flex-direction:column; } .adv-sum{ text-align:right; } }
/* מחירון */
.pl-head, .pl-row{ display:grid; grid-template-columns:120px minmax(0, 2fr) minmax(0, 1fr) 100px auto minmax(0, 1fr) 90px auto auto; gap:8px; align-items:center; }
.pl-head{ font-size:var(--fs-small); color:var(--muted); font-weight:700; padding:0 2px 6px; }
.pl-row{ padding:8px 0; border-top:1px dashed var(--line); }
.pl-row input:not([type=checkbox]), .pl-row select{ width:100%; }
.pl-price{ position:relative; display:block; }
.pl-price i{ position:absolute; left:10px; top:50%; transform:translateY(-50%); font-style:normal; color:var(--muted); }
.adv-from{ background:var(--gold-pale); padding:8px 10px; border-radius:10px; }
@media (max-width: 860px){ .pl-head{ display:none; } .pl-row{ grid-template-columns:1fr 1fr; } }

.map-blocked{ position:absolute; inset:auto 8px 8px 8px; z-index:500; margin:0; padding:8px 10px; background:#FFF8E6; border:1px solid var(--gold); border-radius:8px; font-size:13px; color:#1D2533; }

.a-gm-link{ display:flex; flex-direction:column; gap:6px; padding:10px 12px; border:1px dashed var(--line, #E6DCC6); border-radius:12px; }
.a-gm-link label{ font-weight:700; font-size:var(--fs-small); }
.a-gm-row{ display:flex; gap:8px; flex-wrap:wrap; }
.a-gm-row input{ flex:1 1 240px; min-width:0; }
.a-gm-link small{ font-size:13px; }

/* תגיות בעריכת מקום */
.a-tags{ border:0; padding:0; margin:0 0 10px; display:flex; flex-wrap:wrap; gap:6px; }
.a-tags legend{ font-weight:700; font-size:var(--fs-small); margin-bottom:6px; padding:0; }
.a-tag{ display:inline-flex !important; flex-direction:row !important; align-items:center; gap:6px; padding:5px 10px; border:1px solid var(--line, #E6DCC6); border-radius:999px; font-size:13px; cursor:pointer; background:#fff; margin:0 !important; }
.a-tag input{ width:auto !important; margin:0; accent-color:var(--navy); }
.a-tag:has(input:checked){ background:#EAF0F8; border-color:var(--navy); font-weight:700; }
.a-tags-warn .a-tag:has(input:checked){ background:#FFF4DC; border-color:var(--gold); }
.a-inline label{ flex:1 1 auto; }
.a-row-actions{ white-space:nowrap; } .a-row-actions .btn{ margin:2px 0; }

/* חיפוש תמונות חופשיות */
.a-imgsearch{ margin-top:12px; display:flex; flex-direction:column; gap:8px; align-items:flex-start; }
.a-imgsearch > div{ width:100%; display:flex; flex-direction:column; gap:8px; }
.a-imgres{ display:grid; grid-template-columns:repeat(auto-fill, minmax(170px, 1fr)); gap:10px; max-height:560px; overflow:auto; }
.a-imgres-item{ margin:0; border:1px solid var(--line); border-radius:12px; overflow:hidden; background:#fff; display:flex; flex-direction:column; }
.a-imgres-item img{ display:block; width:100%; aspect-ratio:4/3; object-fit:cover; background:var(--paper-deep); }
.a-imgres-item figcaption{ padding:6px 8px; display:flex; flex-direction:column; gap:6px; }
.a-imgres-item small{ font-size:11px; color:var(--muted); line-height:1.35; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.a-imgres-btns{ display:flex; gap:6px; }
.a-imgres-btns .btn:first-child{ flex:1; }

/* שעות פתיחה בעריכת מקום */
.a-hours{ display:flex; flex-direction:column; gap:8px; margin:8px 0 4px; }
.a-hour{ display:grid; grid-template-columns:1fr 1fr; gap:6px 10px; align-items:center; padding:8px 10px; border:1px solid var(--line); border-radius:10px; background:#fff; }
.a-hour b{ font-size:.9rem; color:var(--navy); }
.a-hour label{ display:flex !important; flex-direction:row !important; align-items:center; gap:6px; font-size:.85rem; margin:0 !important; min-width:0; }
.a-hour label.a-check{ justify-self:end; }
.a-hour input[type=time]{ min-width:0; width:100%; padding:5px 6px !important; }
.a-hour:has(input[type=checkbox]:checked) input[type=time]{ opacity:.4; }

/* ---------- שיחות טלפן ---------- */
.call-chips{ margin:0 0 14px; flex-wrap:wrap; }
.call-chips small{ opacity:.7; font-weight:700; }
.call-list{ display:flex; flex-direction:column; gap:10px; }
.call-card{ display:grid; grid-template-columns:1fr auto; gap:8px 16px; background:#fff; border:1px solid var(--line, #E6DCC6); border-radius:14px; padding:14px 16px; }
.call-card.is-due{ border-inline-start:5px solid var(--gold, #C08A2B); }
.call-main{ min-width:0; display:flex; flex-direction:column; gap:4px; }
.call-name b{ font-family:var(--font-display); color:var(--navy); font-size:1.08rem; }
.call-name small{ margin-inline-start:8px; color:var(--muted); font-weight:600; }
.call-contact{ color:var(--ink); display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; }
.call-tel{ display:inline-flex; align-items:center; gap:5px; font-weight:700; color:var(--navy); text-decoration:none; background:#F6EEDB; padding:3px 10px; border-radius:999px; unicode-bidi:isolate; }
.call-tel .ic{ width:15px; height:15px; }
.call-last{ margin:2px 0 0; font-size:.88rem; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.call-last span{ font-weight:700; }
.call-side{ display:flex; flex-direction:column; align-items:flex-end; gap:5px; text-align:end; }
.call-when{ font-size:.85rem; font-weight:700; color:var(--navy); }
.call-when.is-late{ color:#A3392B; }
.call-acts{ grid-column:1 / -1; display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.call-acts .icon-btn{ margin-inline-start:auto; }
.call-status, .call-offer{ border:1px solid var(--line, #E6DCC6); border-radius:12px; padding:10px 14px; display:flex; flex-wrap:wrap; gap:6px 16px; margin:0; }
.call-status legend, .call-offer legend{ font-weight:700; color:var(--navy); padding:0 6px; }
.call-quick{ display:flex; flex-wrap:wrap; gap:6px; margin-top:-6px; }
.call-log ul{ margin:8px 0 0; padding-inline-start:18px; display:flex; flex-direction:column; gap:4px; font-size:.9rem; }
@media (max-width:640px){
  .call-card{ grid-template-columns:1fr; }
  .call-side{ flex-direction:row; align-items:center; flex-wrap:wrap; text-align:start; }
}
.a-table tr.row-bad td{ background:#FBEDEA; }
.order-flag{ margin-top:4px; font-size:.82rem; font-weight:700; color:#8A2E2E; }
.callers{ list-style:none; margin:0 0 12px; padding:0; display:flex; flex-direction:column; gap:6px; }
.callers li{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; padding:8px 12px; background:#FBF7EE; border:1px solid var(--line); border-radius:10px; }
.callers li span{ font-weight:700; }
.callers li button{ margin-inline-start:auto; }
.callers-add{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.callers-add input{ flex:1 1 220px; }
/* טלפן: בלי קישורים לחלקים שאינם שלו */
body.is-caller .admin-side .admin-foot, body.is-caller [data-admin-only]{ display:none !important; }

/* ---------- תפריט בקבוצות ---------- */
.nav-group{ display:flex; flex-direction:column; gap:3px; margin-top:6px; }
.nav-group-h{ display:flex; align-items:center; gap:8px; width:100%; background:none; border:0; cursor:pointer;
  padding:9px 12px; color:#B3C1D8; font:inherit; font-size:.86rem; font-weight:700; letter-spacing:.02em; text-align:start; border-radius:8px; }
.nav-group-h:hover{ color:#fff; }
.nav-group-h .nav-badge{ margin-inline-start:6px; }
.nav-chev{ margin-inline-start:auto; width:7px; height:7px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); transition:transform .2s; }
.nav-group:not(.is-open) .nav-chev{ transform:rotate(-45deg); }
.nav-group:not(.is-open) .nav-group-items{ display:none; }
.nav-group-items{ display:flex; flex-direction:column; gap:2px; }
.admin-nav{ gap:2px; }
.admin-nav a{ padding:8px 12px; }
.nav-toggle-m{ display:none; }
.nav-toggle-m[hidden]{ display:none !important; }

@media (max-width: 900px){
  .admin-side{ flex-wrap:wrap; }
  .nav-toggle-m{ display:flex; align-items:center; gap:10px; flex:1; min-width:0; padding:10px 14px; border-radius:12px;
    background:rgba(255,255,255,.08); color:#fff; border:1px solid rgba(255,255,255,.14); font:inherit; font-weight:700; cursor:pointer; }
  .nav-toggle-m span:not(.nav-burger){ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .nav-burger{ width:18px; height:2px; background:currentColor; position:relative; flex:none; box-shadow:0 -6px 0 currentColor, 0 6px 0 currentColor; }
  .admin-side:not(.nav-open) .admin-nav{ display:none; }
  .admin-side .admin-nav{ flex-direction:column; overflow:visible; flex-basis:100%; max-height:70vh; overflow-y:auto; padding:6px 0 4px; }
  .admin-side .admin-nav a{ flex:none; }
  .admin-side .admin-nav a[aria-current="page"]{ box-shadow:inset -3px 0 0 var(--gold-bright); }
  /* טלפן (לשונית אחת): בלי כפתור תפריט */
  body.is-caller .admin-side .admin-nav{ display:flex !important; flex-direction:row; flex-basis:auto; }
}
.imp-file{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; padding:14px; border:2px dashed var(--line); border-radius:14px; background:#FBF7EE; }
.imp-file .btn{ cursor:pointer; }
.imp-file span{ flex:1 1 240px; font-size:.92rem; line-height:1.5; }
.imp-or{ display:flex; align-items:center; gap:10px; color:var(--muted); font-size:.85rem; margin:4px 0; }
.imp-or::before, .imp-or::after{ content:""; flex:1; height:1px; background:var(--line); }
.imp-preview{ background:#F3FAF5; border:1px solid #CFE6D5; border-radius:12px; padding:10px 12px; display:flex; flex-direction:column; gap:8px; }
.call-src{ margin-inline-start:8px; font-size:.72rem; vertical-align:middle; }
.sc-tabs{ flex-wrap:wrap; margin-bottom:6px; }
.sc-body{ display:flex; flex-direction:column; gap:10px; line-height:1.65; font-size:1rem; }
.sc-body p, .sc-body ol, .sc-body dl{ margin:0; }
.sc-say{ background:#fff; border:1px solid #D9C7A0; border-inline-start:4px solid var(--navy); border-radius:10px; padding:10px 14px; font-weight:600; color:var(--navy); }
.sc-key{ background:var(--navy); color:#fff; border-radius:10px; padding:10px 14px; font-weight:700; }
.sc-obj{ display:grid; grid-template-columns:minmax(120px, 200px) 1fr; gap:6px 14px; }
.sc-obj dt{ font-weight:800; color:var(--navy); }
.sc-obj dd{ margin:0; }
@media (max-width:600px){ .sc-obj{ grid-template-columns:1fr; } .sc-obj dd{ margin-bottom:6px; } }
.call-src-link{ display:inline-flex; align-items:center; gap:5px; font-weight:700; font-size:.88rem; color:var(--gold-text, #8A5C0E); text-decoration:none; padding:3px 10px; border-radius:999px; border:1px solid #E6CF9B; background:#fff; }
.call-src-link .ic{ width:14px; height:14px; }
.call-today{ background:#FBF3DF; border:1px solid #E6CF9B; border-radius:14px; padding:10px 14px; margin-bottom:14px; }
.call-today-head{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 14px; }
.call-today-head b{ display:inline-flex; align-items:center; gap:6px; color:#0E2541; }
.call-today-head b .ic{ width:16px; height:16px; }
.call-today-head span{ font-weight:700; color:#3B4558; font-size:.92rem; }
.call-today-head span.ok{ color:#2F6B3A; }
.call-today-head .btn{ margin-inline-start:auto; }
.call-today-line{ margin:6px 0 0; font-size:.88rem; color:#3B4558; }
.call-goal{ margin-top:8px; border-top:1px dashed #E6CF9B; padding-top:8px; }
.call-goal-title{ margin:0 0 4px; font-weight:700; color:#0E2541; font-size:.9rem; }
.goal-row{ display:grid; grid-template-columns:56px 1fr auto; align-items:center; gap:10px; font-size:.88rem; margin:4px 0; }
.goal-bar{ height:10px; background:#fff; border:1px solid #E6CF9B; border-radius:999px; overflow:hidden; }
.goal-bar i{ display:block; height:100%; background:linear-gradient(90deg,#C08A2B,#E0B45A); border-radius:999px; }
.goal-row b{ color:#0E2541; font-variant-numeric:tabular-nums; }
.link-btn{ background:none; border:0; padding:0; color:#8A5C0E; font-weight:700; text-decoration:underline; cursor:pointer; font:inherit; }
.ed-countdown{ display:flex; align-items:center; gap:14px; width:100%; text-align:start; background:#0E2541; color:#fff; border:0; border-radius:16px; padding:12px 16px; margin-bottom:14px; cursor:pointer; font:inherit; }
.ed-countdown.is-near{ background:#8A2E2E; }
.ed-days{ display:flex; flex-direction:column; align-items:center; justify-content:center; min-width:62px; height:62px; border-radius:14px; background:rgba(255,255,255,.12); }
.ed-days b{ font-size:1.6rem; line-height:1; color:#F1D18A; }
.ed-days small{ font-size:.75rem; opacity:.85; }
.ed-txt{ font-size:.92rem; line-height:1.6; }
.ed-txt em{ font-style:normal; color:#F1D18A; font-weight:700; }
.photo-bench-cta{ display:flex; align-items:center; gap:14px; width:100%; text-align:start; background:#FBF3DF; border:1px solid #E6CF9B; border-radius:16px; padding:12px 16px; margin-bottom:14px; cursor:pointer; font:inherit; color:#1D2533; }
.photo-bench-cta .pb-n{ display:grid; place-items:center; min-width:48px; height:48px; border-radius:12px; background:#C08A2B; color:#0E2541; font-weight:800; font-size:1.25rem; }
.photo-bench-cta small{ color:#5D6676; }
.photo-bench-cta > .ic{ margin-inline-start:auto; width:18px; height:18px; transform:scaleX(-1); }
.pb-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(250px, 1fr)); gap:14px; }
.pb-card{ background:#fff; border:1px solid #E6DCC6; border-radius:16px; overflow:hidden; display:flex; flex-direction:column; }
.pb-card.is-pub{ border-color:#9CC7A4; }
.pb-img{ position:relative; aspect-ratio:16/10; background:#F3EEE3; display:grid; place-items:center; }
.pb-img img{ width:100%; height:100%; object-fit:cover; }
.pb-img .a-thumb{ width:56px; height:56px; }
.pb-more{ position:absolute; bottom:8px; inset-inline-start:8px; background:rgba(14,37,65,.8); color:#fff; font-size:.8rem; font-weight:700; padding:2px 8px; border-radius:999px; }
.pb-body{ padding:10px 12px 12px; display:flex; flex-direction:column; gap:2px; }
.pb-body small{ color:#5D6676; }
.pb-acts{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:8px; }
.pb-up{ cursor:pointer; }
.pb-up.is-busy{ opacity:.6; pointer-events:none; }
.sc-prices tr.is-sold td{ opacity:.6; } .sc-prices tr.is-sold b{ text-decoration:line-through; }
/* הכנסות לפי חודשים */
.inc-card > summary{ display:flex; align-items:center; justify-content:space-between; gap:10px; cursor:pointer; list-style:none; }
.inc-card > summary::-webkit-details-marker{ display:none; }
.inc-card > summary h2{ margin:0; display:flex; align-items:center; gap:8px; font-size:1.05rem; }
.inc-card > summary::after{ content:'▾'; color:var(--muted); margin-inline-start:6px; }
.inc-card[open] > summary::after{ content:'▴'; }
.inc-chart{ display:grid; grid-template-columns:repeat(12, 1fr); gap:6px; align-items:end; height:190px; margin-top:16px; padding-bottom:4px; }
.inc-col{ display:flex; flex-direction:column; align-items:center; justify-content:flex-end; height:100%; gap:3px; min-width:0; }
.inc-bar{ width:100%; max-width:34px; min-height:2px; display:flex; flex-direction:column; border-radius:6px 6px 2px 2px; overflow:hidden; background:#EFE7D6; }
.inc-bar i{ display:block; min-height:0; }
.inc-booklet{ background:#0E2541; }
.inc-site{ background:#C08A2B; }
.inc-val{ font-size:.72rem; font-weight:700; color:#0E2541; white-space:nowrap; }
.inc-col small{ font-size:.72rem; color:var(--muted); white-space:nowrap; }
.inc-unpaid{ display:inline-block; width:7px; height:7px; border-radius:50%; background:#B4532A; }
.inc-unpaid.is-none{ visibility:hidden; }
.inc-legend{ display:flex; flex-wrap:wrap; gap:6px 16px; margin:12px 0 0; font-size:.85rem; color:#3B4558; }
.inc-legend span{ display:inline-flex; align-items:center; gap:6px; }
.inc-legend i{ display:inline-block; width:12px; height:12px; border-radius:3px; }
@media (max-width: 520px){ .inc-chart{ gap:3px; height:160px; } .inc-val{ font-size:.6rem; } .inc-col small{ font-size:.62rem; } }
.adv-deal-acts{ display:flex; flex-wrap:wrap; gap:4px 14px; width:100%; padding-inline-start:40px; font-size:.86rem; }
.adv-deal-acts .link-btn{ display:inline-flex; align-items:center; gap:4px; text-decoration:none; }
.adv-deal-acts .link-btn .ic{ width:14px; height:14px; }
.portal-link{ display:flex; gap:8px; margin:12px 0 16px; }
.portal-link input{ flex:1; min-width:0; font-size:.85rem; background:#F7F3EA; }
.mat-sub{ border:1px solid #E6DCC6; border-radius:12px; padding:10px 12px; margin:10px 0; }
.mat-sub header{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:6px; }
.mat-sub ul{ list-style:none; padding:0; margin:0 0 6px; display:grid; gap:4px; }
.mat-sub li a{ display:inline-flex; align-items:center; gap:6px; font-weight:700; color:#0E2541; }
.mat-sub li a .ic{ width:15px; height:15px; }
.mat-text{ margin:6px 0 0; background:#F7F3EA; border-radius:8px; padding:8px 10px; font-size:.92rem; }

/* ---------- עוזר אישי ---------- */
.as-card{ display:flex; flex-direction:column; gap:12px; max-width:900px; }
.as-head{ display:flex; gap:12px; align-items:flex-start; justify-content:space-between; }
.as-head h2{ display:flex; align-items:center; gap:8px; margin:0 0 4px; }
.as-head p{ margin:0; }
.as-log{ min-height:260px; max-height:min(60vh, 560px); overflow:auto; display:flex; flex-direction:column; gap:10px; padding:12px; background:#F7F3EA; border-radius:14px; border:1px solid var(--line); }
.as-empty{ margin:auto; color:var(--muted); text-align:center; max-width:40ch; }
.as-msg{ max-width:88%; padding:10px 14px; border-radius:16px; line-height:1.65; font-size:.97rem; }
.as-msg p{ margin:0 0 6px; } .as-msg p:last-child{ margin-bottom:0; }
.as-msg ul{ margin:4px 0 6px; padding-inline-start:20px; }
.as-msg .as-h{ font-weight:800; color:var(--navy); }
.as-user{ align-self:flex-start; background:var(--navy); color:#fff; border-end-start-radius:4px; }
.as-assistant{ align-self:flex-end; background:#fff; border:1px solid var(--line); border-end-end-radius:4px; }
.as-assistant.as-err{ background:#FBE4D5; border-color:#EBC0A6; }
.as-copy{ font-size:.82rem; margin-top:4px; }
.as-wait{ display:flex; gap:5px; align-items:center; padding:14px 16px; }
.as-wait span{ width:8px; height:8px; border-radius:50%; background:var(--gold); animation:as-dot 1s infinite ease-in-out; }
.as-wait span:nth-child(2){ animation-delay:.15s; } .as-wait span:nth-child(3){ animation-delay:.3s; }
@keyframes as-dot{ 0%,80%,100%{ opacity:.25; transform:scale(.8); } 40%{ opacity:1; transform:none; } }
.as-ideas{ display:flex; flex-wrap:wrap; gap:6px; }
.as-ideas[hidden]{ display:none; }
.as-form{ display:flex; gap:8px; align-items:flex-end; }
.as-form textarea{ flex:1; min-width:0; resize:vertical; min-height:48px; font:inherit; padding:10px 12px; border:1.5px solid var(--line); border-radius:12px; }
.as-form textarea:focus{ outline:0; border-color:var(--gold); box-shadow:0 0 0 3px rgba(227,185,93,.3); }
.as-foot{ margin:0; font-size:.82rem; }
@media (max-width:600px){ .as-head{ flex-direction:column; } .as-msg{ max-width:96%; } }
.as-head .btn{ white-space:nowrap; flex:none; }
.call-full{ font-size:.75rem; font-weight:700; color:#2F6B3A; background:#E3F1E5; border-radius:999px; padding:2px 8px; margin-inline-start:6px; white-space:nowrap; }
.call-part{ font-size:.75rem; font-weight:700; color:#8A5C0E; background:#FBF3DF; border-radius:999px; padding:2px 8px; margin-inline-start:6px; white-space:nowrap; }
.call-issue{ display:flex; gap:6px; align-items:flex-start; margin:6px 0 0; padding:6px 10px; border-radius:10px; background:#FBE4D5; color:#8A2E2E; font-size:.88rem; }
.call-issue .ic{ width:15px; height:15px; flex:none; margin-top:3px; }
.call-issue small{ color:#8A5C4E; font-weight:400; }
.call-flag{ font-size:.82rem; color:#8A2E2E; }
.chip-issue{ border-color:#EBC0A6 !important; color:#8A2E2E !important; }
.chip-issue[aria-pressed="true"]{ background:#8A2E2E !important; color:#fff !important; }
.issue-opts{ border:0; padding:0; margin:0; display:grid; gap:6px; }
.issue-opts legend{ font-weight:700; margin-bottom:6px; }
.call-mail{ display:inline-flex; align-items:center; gap:4px; font-size:.85rem; color:#0E2541; text-decoration:none; padding:3px 10px; border-radius:999px; background:#EEF2F8; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.call-mail .ic{ width:14px; height:14px; flex:none; }
.call-nomail{ display:inline-block; font-size:.8rem; font-weight:700; color:#8A2E2E; background:#FBE4D5; padding:3px 10px; border-radius:999px; }
.call-details{ border:0; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:6px; }
.call-details legend{ font-weight:700; margin-bottom:6px; width:100%; }
.cd-chip{ display:inline-flex !important; flex-direction:row !important; cursor:pointer; }
.cd-chip input{ position:absolute; opacity:0; pointer-events:none; }
.cd-chip span{ padding:5px 11px; border-radius:999px; border:1.5px solid var(--line); background:#fff; font-size:.85rem; font-weight:600; color:var(--ink, #1D2533); transition:background .15s, border-color .15s; }
.cd-chip input:checked + span{ background:var(--navy); border-color:var(--navy); color:#fff; }
.cd-chip input:focus-visible + span{ outline:3px solid var(--gold); outline-offset:2px; }
.hist-n{ display:inline-grid; place-items:center; min-width:20px; height:20px; padding:0 5px; border-radius:999px; background:var(--gold-pale, #F6E9C9); color:var(--navy); font-size:.75rem; }
.hist-notes{ background:#F7F3EA; border-radius:10px; padding:8px 12px; }
.hist-list{ list-style:none; margin:10px 0 0; padding:0 18px 0 4px; border-right:2px solid var(--line); display:flex; flex-direction:column; gap:10px; max-height:60vh; overflow:auto; }
.hist-list li{ position:relative; padding:8px 12px; background:#fff; border:1px solid var(--line); border-radius:12px; }
.hist-list li::before{ content:""; position:absolute; right:-21px; top:14px; width:10px; height:10px; border-radius:50%; background:var(--gold); border:2px solid #fff; }
.hist-list li.hist-ok::before{ background:#2F6B3A; } .hist-list li.hist-muted::before{ background:#9AA3B2; } .hist-list li.hist-warn::before{ background:#B4532A; } .hist-list li.hist-info::before{ background:#0E2541; }
.hist-when{ font-size:.8rem; color:var(--muted); margin-bottom:2px; }
.hist-text{ font-size:.95rem; line-height:1.55; }

/* ביצועים לפי טלפן */
.cs-wrap{ overflow-x:auto; margin-top:10px; }
.cs-table{ width:100%; border-collapse:collapse; font-size:.88rem; }
.cs-table th, .cs-table td{ padding:7px 8px; border-bottom:1px solid var(--line); text-align:center; white-space:nowrap; }
.cs-table thead th{ background:#F7F3EA; font-weight:700; }
.cs-table tbody th{ text-align:right; font-weight:600; }
.cs-table td.ok{ color:#1F7A4A; }
.cs-names td{ text-align:right !important; white-space:normal !important; font-size:.8rem; color:#5D6676; border-bottom:1px solid var(--line); }
.cs-hit{ color:#1F7A4A; font-weight:700; }
.cs-hit::after{ content:' ✓'; }

/* סנכרון בין טלפנים */
.call-who-sel{ display:inline-flex; align-items:center; gap:6px; font-weight:600; font-size:.9rem; }
.call-who-sel select{ max-width:240px; padding:6px 8px; border:1.5px solid var(--line); border-radius:10px; background:#fff; font:inherit; }
.call-lock{ margin:6px 0 0; display:inline-flex; align-items:center; gap:6px; padding:4px 10px; border-radius:999px; background:#FFF1D6; color:#8A5A00; font-size:.85rem; }
.call-lock svg{ width:15px; height:15px; }
.call-handlers{ margin:4px 0 0; font-size:.8rem; color:#5D6676; }
.call-prev{ background:#F7F3EA; border-radius:10px; padding:8px 12px; font-size:.9rem; }

/* סידור הניהול: פתיח קצר בראש מסך, שורת רמז, מיילים אוטומטיים */
.a-intro{ margin:0 0 14px; font-size:.95rem; }
.a-hint-line{ display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin:0 0 14px; padding:10px 14px; border-radius:12px; background:#FBF3E2; border:1px solid #EBD9B0; font-size:.92rem; }
.a-hint-line svg{ width:18px; height:18px; color:var(--gold, #B8862B); }
.a-hint-line a{ font-weight:700; }
a.a-tile{ text-decoration:none; color:inherit; }
.em-list{ display:grid; grid-template-columns:repeat(auto-fill, minmax(320px, 1fr)); gap:14px; }
.em-card{ margin:0 !important; display:flex; flex-direction:column; gap:8px; }
.em-card .form-actions{ margin-top:auto; }
.em-head{ display:flex; gap:12px; align-items:flex-start; }
.em-head h2{ margin:0; font-size:1.05rem; }
.em-ic{ flex:none; display:grid; place-items:center; width:40px; height:40px; border-radius:12px; background:#F6E9C9; color:var(--navy); }
.em-ic svg{ width:20px; height:20px; }
.em-meta{ margin:4px 0 0; display:flex; flex-wrap:wrap; gap:4px 14px; font-size:.85rem; color:#5D6676; }
.em-meta span{ display:inline-flex; align-items:center; gap:4px; }
.em-meta svg{ width:14px; height:14px; }
@media (max-width:520px){ .em-list{ grid-template-columns:1fr; } }
.a-note a, .a-intro a{ color:var(--navy); font-weight:700; text-decoration:underline; text-underline-offset:3px; }
@media (max-width: 420px){ .a-quick{ grid-template-columns:repeat(2, 1fr); } }

/* תצוגה לפי בחירה: שורת הבחירה בראש המסך */
.av-off{ display:none !important; }
.a-views{ margin:0 0 16px; padding:6px; background:#fff; border:1px solid var(--line); border-radius:22px; width:fit-content; max-width:100%; }
.a-views button{ border-color:transparent; }
@media (max-width:700px){
  .a-views{ border-radius:16px; width:100%; flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; }
  .a-views::-webkit-scrollbar{ display:none; }
  .a-views button{ flex:none; }
}

/* תפריט "עוד" קטן (פעולות משניות) */
.a-more{ position:relative; display:inline-block; }
.a-more > summary{ list-style:none; cursor:pointer; }
.a-more > summary::-webkit-details-marker{ display:none; }
.a-more-menu{ position:absolute; inset-inline-start:0; top:calc(100% + 6px); z-index:30; min-width:230px; display:flex; flex-direction:column; padding:6px; background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:0 12px 30px rgba(14,37,65,.16); }
.a-more-menu button{ display:flex; align-items:center; gap:8px; width:100%; padding:9px 12px; border:0; border-radius:10px; background:none; font:inherit; font-size:.92rem; font-weight:600; color:var(--ink, #1D2533); text-align:start; cursor:pointer; }
.a-more-menu button:hover, .a-more-menu button:focus-visible{ background:#F7F3EA; }
.a-more-menu button:disabled{ opacity:.45; cursor:default; }
.a-more-menu button.is-danger{ color:#B42318; }
.a-more-menu svg{ width:17px; height:17px; flex:none; }
.call-acts .a-more-menu{ inset-inline-start:auto; inset-inline-end:0; }
/* שדה המייל להוספת טלפן: שורה אחת רגילה */
.form.callers-add{ flex-direction:row; display:flex; }
.form.callers-add input{ flex:1 1 220px; min-width:0; height:auto; }
/* עריכת מקום בחלקים: טור אחד */
.a-editor-grid.av-flat{ display:block; }
.a-editor-grid.av-flat > div, .a-editor-grid.av-flat > aside{ display:flex; flex-direction:column; gap:18px; }
.a-editor-grid.av-flat > .av-off{ display:none !important; }

/* כפתורים צפים בצד שמאל */
.a-fabs{ position:fixed; z-index:45; left:calc(18px + env(safe-area-inset-left, 0px)); bottom:calc(18px + env(safe-area-inset-bottom, 0px)); display:flex; flex-direction:column; align-items:flex-start; gap:10px; }
.a-fab{ display:inline-flex; align-items:center; gap:8px; padding:12px 18px; border:0; border-radius:999px; font:inherit; font-weight:800; font-size:.95rem; cursor:pointer; box-shadow:0 10px 26px rgba(14,37,65,.28); }
.a-fab svg{ width:20px; height:20px; }
.a-fab-ai{ background:var(--navy); color:#fff; }
.a-fab-ai svg{ color:var(--gold-bright, #E7C46F); }
.a-fab-script{ background:var(--gold, #B8862B); color:#fff; }
.a-fab:focus-visible{ outline:3px solid var(--gold-bright, #E7C46F); outline-offset:3px; }
.a-fab[aria-expanded="true"]{ box-shadow:0 0 0 3px var(--gold-bright, #E7C46F), 0 10px 26px rgba(14,37,65,.28); }
@media (max-width:700px){ .a-fab span{ display:none; } .a-fab{ padding:14px; } }
/* חלון העוזר הצף */
.as-drawer{ position:fixed; z-index:44; left:calc(18px + env(safe-area-inset-left, 0px)); bottom:calc(84px + env(safe-area-inset-bottom, 0px)); width:min(440px, calc(100vw - 36px)); max-height:calc(100vh - 120px); overflow:auto; border-radius:18px; box-shadow:0 18px 48px rgba(14,37,65,.3); background:var(--paper, #FBF8F1); }
.as-drawer .as-card{ margin:0; border:0; box-shadow:none; }
.as-drawer .as-log{ min-height:200px; max-height:42vh; }
.as-drawer-x{ position:absolute; top:10px; left:10px; z-index:2; }
.as-compact .as-head p, .as-compact .as-foot{ display:none; }
.as-compact .as-head{ padding-left:44px; }
@media (max-width:700px){ .as-drawer{ left:12px; right:12px; width:auto; bottom:calc(80px + env(safe-area-inset-bottom, 0px)); } }
/* שלא יסתיר את הכפתורים בתחתית העמוד */
#adminContent{ padding-bottom:90px; }
.as-ideas .chip{ border:1px solid var(--line); background:#fff; border-radius:999px; padding:6px 12px; font:inherit; font-size:.88rem; font-weight:600; color:var(--ink, #1D2533); cursor:pointer; text-align:start; }
.as-ideas .chip:hover{ border-color:var(--gold); }
.call-mailed{ margin:6px 0 0; display:inline-flex; align-items:center; gap:6px; padding:4px 10px; border-radius:999px; background:#EEF2F8; color:#24406A; font-size:.85rem; }
.call-mailed.is-old{ background:#FBE9D7; color:#8A4B0F; }
.call-mailed svg{ width:15px; height:15px; }
.adv-pays{ max-width:420px; }
/* חיפוש בשיחות הטלפן */
.call-found{ display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin:4px 0 10px; padding:8px 12px; border-radius:12px; background:#EEF2F8; color:#24406A; font-size:.92rem; }
.call-found svg{ width:16px; height:16px; }
.call-chips [data-f].is-muted{ opacity:.45; }

/* שיחות טלפן: מועד חזרה עם שעה */
.call-when-row{ display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 170px); gap:10px; }
@media (max-width:520px){ .call-when-row{ grid-template-columns:1fr; } }
.call-when.is-now{ color:#1F7A4A; }
.call-quick .link-btn{ font-size:.85rem; color:var(--muted); }

/* הודעות מהמנהל לטלפנים */
.call-msgs{ display:flex; flex-direction:column; gap:10px; margin:0 0 16px; }
.call-msg{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:12px 16px; }
.call-msg.is-new{ border:2px solid var(--gold, #C08A2B); background:#FFF8E6; box-shadow:0 6px 18px rgba(14,37,65,.08); }
.call-msg header{ display:flex; align-items:center; gap:8px; color:var(--navy); }
.call-msg header .ic{ width:18px; height:18px; color:var(--gold, #C08A2B); }
.call-msg header small, .call-msg > small{ color:var(--muted); margin-inline-start:auto; font-weight:600; }
.call-msg p{ margin:8px 0 10px; line-height:1.65; font-size:1.02rem; }
.call-msgs-old summary{ cursor:pointer; font-weight:700; color:var(--muted); padding:4px 0; }
.call-msgs-old .call-msg{ margin-top:8px; }
.call-msgs-admin{ margin-top:18px; border-top:1px solid var(--line); padding-top:14px; }
.call-msgs-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:8px; }
.call-msgs-head h3{ margin:0; font-size:1.05rem; color:var(--navy); }
.call-msgs-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.call-msgs-list li{ display:flex; gap:10px; align-items:flex-start; justify-content:space-between; border:1px solid var(--line); border-radius:12px; padding:10px 12px; background:#fff; }
.call-msgs-list li p{ margin:4px 0; line-height:1.55; }
.call-msgs-list small.ok{ color:#1F7A4A; font-weight:700; }

/* שעון עבודה לטלפן */
.call-shift{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 18px; margin:0 0 14px; padding:12px 16px; border-radius:16px; background:#fff; border:1.5px solid var(--line); }
.call-shift.is-on{ border-color:#1F7A4A; background:#F1F8F3; }
.call-shift .cs-who{ flex:1 1 100%; display:flex; align-items:center; gap:8px; flex-wrap:wrap; color:var(--navy); }
.call-shift .cs-name{ display:flex; flex-wrap:wrap; align-items:flex-end; gap:8px; }
.call-shift .cs-name label{ display:flex; flex-direction:column; gap:4px; font-weight:700; }
.call-shift .cs-name input{ padding:7px 10px; border:1.5px solid var(--line); border-radius:10px; font:inherit; min-width:180px; }
.call-shift .cs-main{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.call-shift .cs-clock{ display:flex; align-items:center; gap:8px; font-weight:700; color:#1F7A4A; }
.call-shift .cs-clock b{ font-variant-numeric:tabular-nums; font-size:1.15rem; }
.call-shift .cs-clock.is-off{ color:var(--muted); }
.call-shift .cs-dot{ width:10px; height:10px; border-radius:50%; background:#1F7A4A; box-shadow:0 0 0 0 rgba(31,122,74,.5); animation:csPulse 1.6s infinite; }
@keyframes csPulse{ 70%{ box-shadow:0 0 0 8px rgba(31,122,74,0); } 100%{ box-shadow:0 0 0 0 rgba(31,122,74,0); } }
@media (prefers-reduced-motion: reduce){ .call-shift .cs-dot{ animation:none; } }
.call-shift .cs-sum{ color:var(--muted); font-weight:600; font-variant-numeric:tabular-nums; }
.call-shift .cs-sum b{ color:var(--navy); }
.call-shift .cs-stale{ display:flex; flex-wrap:wrap; align-items:flex-end; gap:8px 12px; padding:10px 12px; border-radius:12px; background:#FFF4E5; color:#8A4B0E; }
.call-shift .cs-stale label{ display:flex; flex-direction:column; gap:4px; font-weight:700; }
.call-shift .cs-stale input{ padding:6px 8px; border:1.5px solid var(--line); border-radius:10px; font:inherit; }
/* דו"ח שעות */
.hr-on{ color:#1F7A4A; font-weight:700; font-size:.82rem; margin-inline-start:6px; }
.hr-detail td{ background:#FBF8F1; }
.hr-detail ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px; }
.hr-detail li{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 14px; font-size:.92rem; }
.hr-table tfoot th, .hr-table tfoot td{ border-top:2px solid var(--line); }
.callers li b{ color:var(--navy); margin-inline-end:6px; }

/* שיחה מודרכת */
.gc-launch{ width:100%; justify-content:center; margin:4px 0 6px; }
.gc-phone{ margin:0 0 6px; }
.gc-trail{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 6px; margin:4px 0 10px; color:var(--muted); }
.gc-trail:empty{ display:none; }
.gc-crumb{ border:1px solid var(--line); background:#FBF7EE; color:var(--navy); border-radius:999px; padding:3px 12px; font:inherit; font-size:.85rem; font-weight:700; cursor:pointer; }
.gc-crumb:hover{ border-color:var(--gold, #C08A2B); }
.gc-body .sc-say{ margin:0 0 10px; padding:10px 14px; border-radius:12px; background:#F4F7FB; border-inline-start:4px solid var(--navy); line-height:1.65; }
.gc-q{ margin:14px 0 10px; font-size:1.1rem; color:var(--navy); }
.gc-opts{ display:grid; grid-template-columns:repeat(auto-fill, minmax(210px, 1fr)); gap:8px; }
.gc-opt{ display:flex; align-items:center; gap:10px; min-height:52px; padding:10px 14px; border:1.5px solid var(--line); border-radius:14px; background:#fff; color:var(--ink); font:inherit; font-weight:700; text-align:right; cursor:pointer; transition:border-color .15s, background .15s; }
.gc-opt:hover, .gc-opt:focus-visible{ border-color:var(--navy); background:#F7F9FC; }
.gc-opt .ic{ width:20px; height:20px; flex:none; color:var(--gold, #C08A2B); }
.gc-opt span:first-of-type{ flex:1; }
.gc-opt .gc-arrow{ flex:none; color:var(--muted); font-size:1.3rem; line-height:1; }
.gc-opt.is-end{ border-style:dashed; }
.gc-offers{ display:flex; flex-wrap:wrap; gap:8px; margin:8px 0 12px; }
.gc-prices{ margin-bottom:10px; }
.gc-next{ display:flex; justify-content:flex-start; }
.gc-sum{ margin:6px 0 4px; padding:12px 14px; border-radius:12px; background:#FFF8E6; border:1px solid #EBD9A8; }
.gc-sum p{ margin:0 0 4px; }
.gc-sum .ic{ width:16px; height:16px; vertical-align:-3px; }
.gc-foot{ justify-content:space-between; }
@media (max-width:520px){ .gc-opts{ grid-template-columns:1fr; } }

/* שיחת הודעות */
.msg-thread{ display:flex; flex-direction:column; gap:6px; margin:8px 0; }
.msg-b{ max-width:88%; padding:8px 12px; border-radius:12px; background:#F4F7FB; }
.msg-b.is-caller{ align-self:flex-end; background:#FFF4D8; }
.msg-b small{ color:var(--muted); font-size:.78rem; }
.msg-b p{ margin:3px 0 0; line-height:1.55; }
.msg-b blockquote{ margin:4px 0; padding:2px 8px; border-inline-start:3px solid var(--line); color:var(--muted); font-size:.85rem; }
.msg-reply{ display:flex; gap:8px; align-items:flex-end; margin-top:6px; }
.msg-reply textarea{ flex:1; min-height:38px; padding:8px 10px; border:1.5px solid var(--line); border-radius:10px; font:inherit; resize:vertical; }
.msg-acts{ display:flex; justify-content:flex-end; gap:8px; }
.msg-inbox{ display:flex; flex-direction:column; gap:10px; max-height:60vh; overflow:auto; }
.msg-inbox .call-msg header{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.cs-msg{ margin-inline-start:auto; }
.gc-pick{ margin:10px 0; }
.gc-opt small{ color:var(--muted); font-weight:600; margin-inline-start:6px; }
.adv-closer{ display:flex; align-items:center; gap:5px; flex-wrap:wrap; margin-top:3px; color:#1F7A4A; font-weight:600; }
.adv-closer .ic{ width:14px; height:14px; }

/* מיילים שנשלחו */
.ml-table tbody tr{ cursor:pointer; }
.ml-table tbody tr:hover td, .ml-table tbody tr:focus-visible td{ background:#F7F9FC; }
.ml-table tr.is-fail td{ background:#FFF4F2; }
.ml-when{ white-space:nowrap; color:var(--muted); font-size:.88rem; }
.ml-to{ max-width:240px; overflow:hidden; text-overflow:ellipsis; }
.ml-count{ margin-inline-start:auto; font-weight:600; }
.ml-meta{ display:grid; grid-template-columns:auto 1fr; gap:4px 14px; margin:0 0 12px; }
.ml-meta dt{ font-weight:700; color:var(--navy); }
.ml-meta dd{ margin:0; word-break:break-word; }
.ml-frame iframe{ width:100%; height:60vh; border:1px solid var(--line); border-radius:12px; background:#fff; }
@media (max-width:640px){
  .ml-table thead{ display:none; }
  .ml-table, .ml-table tbody{ display:block; }
  .ml-table tr{ display:flex; flex-direction:column; gap:2px; padding:10px 12px; border-top:1px solid var(--line); }
  .ml-table td{ display:block; border:0 !important; padding:0 !important; }
  .ml-table td:nth-child(3){ order:-1; font-weight:700; color:var(--navy); }
  .ml-to{ max-width:none; text-align:right; }
  .ml-table .ltr-cell{ text-align:right; }
}

/* עריכת המדריך */
.ge-top .ge-head{ display:flex; gap:16px; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; }
.ge-top h2{ margin:0 0 4px; }
.ge-form{ display:flex; flex-direction:column; gap:12px; margin-top:12px; }
.ge-stage > summary{ display:flex; align-items:center; gap:10px; cursor:pointer; font-weight:700; list-style:none; }
.ge-stage > summary::-webkit-details-marker{ display:none; }
.ge-stage > summary .ge-st{ flex:1; }
.ge-n{ display:inline-grid; place-items:center; width:30px; height:30px; border-radius:50%; background:var(--navy); color:var(--gold-bright); font-size:.9rem; flex:none; }
.ge-body{ display:flex; flex-direction:column; gap:10px; margin-top:12px; }
.ge-f{ display:flex; flex-direction:column; gap:4px; font-weight:700; font-size:.92rem; }
.ge-f small{ font-weight:400; }
.ge-f textarea, .ge-f input{ font:inherit; font-weight:400; border:1px solid var(--line); border-radius:8px; padding:8px 10px; background:var(--white); width:100%; }
.ge-f textarea{ resize:vertical; line-height:1.6; }
.ge-secs, .ge-groups{ display:flex; flex-direction:column; gap:10px; }
.ge-sec{ background:var(--paper); border:1px solid var(--line); }
.ge-sec-head{ display:flex; gap:10px; align-items:flex-end; }
.ge-sec-head .ge-f{ flex:1; }
.ge-tools{ display:flex; gap:6px; padding-bottom:6px; }
.ge-del{ color:#A3301F; }
.ge-extra summary{ cursor:pointer; color:var(--gold-text); font-weight:700; margin:4px 0; }
.ge-extra fieldset{ border:1px dashed var(--line); border-radius:10px; padding:8px 12px; margin:8px 0; display:flex; flex-direction:column; gap:8px; }
.ge-extra legend{ font-weight:700; font-size:.9rem; padding:0 4px; }
.ge-row{ display:grid; grid-template-columns:repeat(auto-fit, minmax(170px, 1fr)); gap:8px; }
.ge-savebar{ position:sticky; bottom:0; display:flex; gap:12px; align-items:center; padding:10px 0; background:linear-gradient(transparent, var(--paper) 30%); z-index:3; }
@media (max-width:640px){ .ge-sec-head{ flex-direction:column; align-items:stretch; } .ge-tools{ justify-content:flex-end; } }

/* ---- חנות המוצרים ---- */
.sh-form{ gap:14px; }
.sh-h{ margin:10px 0 0; font-family:var(--font-display); color:var(--navy); }
.sh-h small{ font-weight:400; font-size:.85rem; }
.sh-cat{ display:flex; flex-direction:column; gap:10px; }
.sh-cat.is-off, .sh-prod.is-off{ opacity:.65; }
.sh-row{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.sh-row .ge-f{ flex:none; }
.sh-row .ge-tools{ padding:0; }
.sh-title{ flex:1; min-width:180px; font:inherit; font-weight:700; border:1px solid var(--line); border-radius:8px; padding:8px 10px; background:var(--white); }
.sh-row select, .sh-body select{ font:inherit; border:1px solid var(--line); border-radius:8px; padding:7px 8px; background:var(--white); }
.sh-vis{ width:44px; height:44px; flex:none; display:grid; place-items:center; border-radius:10px; background:var(--gold-pale); color:var(--navy); overflow:hidden; }
.sh-vis svg{ width:70%; }
.sh-vis img{ width:100%; height:100%; object-fit:cover; }
.sh-body{ display:flex; flex-direction:column; gap:10px; padding:10px 0 4px; border-top:1px dashed var(--line); }
.sh-prods{ display:flex; flex-direction:column; gap:8px; padding-inline-start:18px; border-inline-start:3px solid var(--gold-pale); }
.sh-prods > .btn{ align-self:flex-start; }
.sh-prod{ background:var(--paper); border:1px solid var(--line); border-radius:12px; padding:10px; }
.sh-prod .sh-vis{ width:38px; height:38px; }
.sh-chk{ display:flex; align-items:center; gap:8px; font-weight:600; cursor:pointer; }
.sh-chk input{ width:auto; accent-color:var(--navy); }
.sh-fs{ border:1px solid var(--line); border-radius:12px; padding:10px 14px 12px; margin:0; display:flex; flex-direction:column; gap:10px; background:var(--white); }
.sh-fs legend{ font-weight:700; padding:0 6px; }
.sh-img-row{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:4px; }
.sh-img-row img{ width:84px; height:84px; object-fit:cover; border-radius:10px; border:1px solid var(--line); }
.sh-gal{ display:flex; gap:8px; flex-wrap:wrap; align-items:center; margin-top:4px; }
.sh-gal span{ position:relative; }
.sh-gal img{ width:70px; height:70px; object-fit:cover; border-radius:8px; border:1px solid var(--line); display:block; }
.sh-gal .icon-btn{ position:absolute; top:-8px; left:-8px; background:var(--white); border:1px solid var(--line); border-radius:50%; width:24px; height:24px; padding:0; }
.sh-mimg{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.sh-field{ border:1px dashed var(--line); border-radius:10px; padding:10px; display:flex; flex-direction:column; gap:8px; }
.sh-del-row{ display:flex; gap:14px; align-items:center; flex-wrap:wrap; justify-content:flex-end; }
@media (max-width:640px){ .sh-prods{ padding-inline-start:8px; } .sh-title{ min-width:0; width:100%; } }
.sh-tg{ border:1px solid var(--line); border-radius:10px; padding:8px 12px; background:var(--white); }
.sh-tg summary{ cursor:pointer; font-weight:700; color:var(--navy); }
.sh-tlist{ display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:10px; margin-top:10px; }
.sh-tlist input::placeholder, .sh-tlist textarea::placeholder{ color:#9AA3B5; }

.sh-cat{ padding:12px 14px !important; }
.sh-cat.is-open{ border-color:var(--gold); }
.sh-open{ min-width:110px; }
.sh-meta{ min-width:60px; }
.sh-more{ border-top:1px dashed var(--line); padding-top:8px; }
.sh-more > summary{ cursor:pointer; color:var(--gold-text); font-weight:700; font-size:.9rem; }
.sh-tabs{ display:flex; gap:4px; flex-wrap:wrap; margin-top:10px; border-bottom:1px solid var(--line); }
.sh-tabs button{ font:inherit; font-size:.88rem; font-weight:700; padding:7px 12px; border:1px solid transparent; border-bottom:0; border-radius:8px 8px 0 0; background:none; color:var(--muted); cursor:pointer; margin-bottom:-1px; }
.sh-tabs button[aria-selected="true"]{ background:var(--white); border-color:var(--line); color:var(--navy); }
.sh-prod .sh-body{ border-top:0; background:var(--white); border:1px solid var(--line); border-top:0; border-radius:0 0 10px 10px; padding:12px; }
.sh-fs b{ color:var(--navy); }
.ord-stage{ margin-top:6px; }
.ord-stage summary{ cursor:pointer; font-size:.85rem; color:var(--navy); font-weight:700; }
.ord-stage-box{ display:flex; flex-direction:column; gap:6px; margin-top:6px; min-width:200px; }
.ord-stage-box select, .ord-stage-box input:not([type=checkbox]){ font:inherit; font-size:.88rem; border:1px solid var(--line); border-radius:8px; padding:6px 8px; }
.ord-chk{ display:flex; gap:6px; align-items:center; font-size:.85rem; }
/* ---- מה דחוף היום ---- */
.a-urgent{ margin-bottom:18px; }
.a-urg{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.a-urg a{ display:flex; align-items:center; gap:12px; padding:10px 14px; border-radius:12px; text-decoration:none; color:var(--ink); background:var(--paper); border:1px solid var(--line); border-inline-start:5px solid var(--line); }
.a-urg a:hover{ border-color:var(--gold); }
.a-urg .is-high a{ border-inline-start-color:#B3261E; background:#FDF1F0; }
.a-urg .is-mid a{ border-inline-start-color:var(--gold); }
.a-urg b{ font-size:1.3rem; min-width:34px; text-align:center; color:var(--navy); font-family:var(--font-display); }
.a-urg span{ flex:1; display:flex; flex-direction:column; font-weight:700; }
.a-urg small{ font-weight:400; color:var(--muted); }
.a-urg i{ font-style:normal; color:var(--gold-text); font-weight:700; }
.a-urg-ok{ display:flex; gap:8px; align-items:center; color:#1E5B2B; font-weight:700; margin:0; }
.a-urg-ok .ic{ width:20px; height:20px; }
/* ---- חיפוש כללי ---- */
.a-gsearch{ position:relative; flex:1; max-width:420px; margin-inline:16px; }
.a-gsearch input{ width:100%; font:inherit; font-size:.92rem; padding:8px 12px; border:1px solid var(--line); border-radius:10px; background:var(--white); }
.a-gsearch input:focus{ outline:0; border-color:var(--gold); box-shadow:0 0 0 3px rgba(227,185,93,.3); }
.a-gs-res{ position:absolute; top:calc(100% + 6px); inset-inline:0; z-index:60; background:var(--white); border:1px solid var(--line); border-radius:12px; box-shadow:0 14px 30px rgba(14,37,65,.16); max-height:420px; overflow:auto; padding:6px; }
.a-gs-res button{ display:grid; grid-template-columns:auto 1fr; gap:2px 8px; align-items:center; width:100%; text-align:start; padding:8px 10px; border:0; background:none; border-radius:8px; cursor:pointer; font:inherit; }
.a-gs-res button:hover, .a-gs-res button:focus-visible{ background:var(--paper); }
.a-gs-res small{ grid-column:2; color:var(--muted); font-size:.8rem; }
.a-gs-res p{ margin:8px 10px; }
@media (max-width:900px){ .a-gsearch{ order:3; flex-basis:100%; max-width:none; margin:8px 0 0; } .admin-top{ flex-wrap:wrap; } }
.ord-exp{ display:flex; gap:8px; align-items:center; }
.ord-exp select{ font:inherit; font-size:.88rem; border:1px solid var(--line); border-radius:8px; padding:6px 8px; background:var(--white); }
.a-urgent{ background:var(--white); border:1px solid var(--line); border-radius:20px; padding:20px clamp(16px, 2.5vw, 24px); display:flex; flex-direction:column; gap:12px; }
.a-urgent .a-card-head h2{ display:flex; align-items:center; gap:8px; }
.a-urgent .a-card-head .ic{ width:20px; height:20px; color:var(--gold); }
.a-pushbtn{ display:inline-flex; gap:6px; align-items:center; }
.a-pushbtn .ic{ width:16px; height:16px; }
.a-pushbtn.is-on{ border-color:var(--gold); color:var(--gold-text); }
.push-dev summary{ cursor:pointer; font-weight:700; margin-top:10px; }
.push-list ul{ margin:8px 0 0; padding-inline-start:18px; }
/* ---- טבלת דגמים ---- */
.sh-mt{ display:flex; flex-direction:column; gap:8px; border:1px solid var(--line); border-radius:12px; padding:10px 12px; background:var(--white); }
.sh-mt-bar{ display:flex; flex-wrap:wrap; gap:8px 12px; align-items:center; }
.sh-mt-acts{ display:flex; flex-wrap:wrap; gap:6px; margin-inline-start:auto; }
.sh-mt-acts .btn{ display:inline-flex; gap:5px; align-items:center; }
.sh-mt-acts .ic{ width:15px; height:15px; }
.sh-mt-q{ font:inherit; font-size:.88rem; padding:5px 10px; border:1px solid var(--line); border-radius:8px; width:150px; }
.sh-mt-wrap{ max-height:420px; overflow:auto; border:1px solid var(--line); border-radius:8px; }
.sh-mt-t{ width:100%; border-collapse:collapse; font-size:.9rem; }
.sh-mt-t th{ position:sticky; top:0; background:var(--paper); text-align:start; font-weight:700; padding:6px 6px; border-bottom:1px solid var(--line); white-space:nowrap; z-index:1; }
.sh-mt-t th small{ display:block; font-weight:400; color:var(--muted); font-size:.72rem; }
.sh-mt-t td{ padding:3px 6px; border-bottom:1px solid #F0EADB; vertical-align:middle; }
.sh-mt-t input:not([type=checkbox]){ width:100%; min-width:60px; font:inherit; font-size:.9rem; padding:5px 7px; border:1px solid transparent; border-radius:6px; background:transparent; }
.sh-mt-t input:not([type=checkbox]):hover{ border-color:var(--line); }
.sh-mt-t input:not([type=checkbox]):focus{ outline:0; border-color:var(--gold); background:var(--white); }
.sh-mt-t td:nth-child(2) input{ width:80px; }
.sh-mt-t td:nth-child(4) input, .sh-mt-t td:nth-child(5) input{ width:80px; }
.sh-mt-t img{ width:34px; height:34px; object-fit:cover; border-radius:6px; display:block; }
.sh-mt-t .is-low{ color:#B3261E; }
.sh-mt-t .icon-btn{ width:28px; height:28px; display:grid; place-items:center; border:0; background:none; color:var(--muted); cursor:pointer; }
.sh-mt-t .icon-btn .ic{ width:14px; height:14px; }
.sh-mt-t tr[hidden]{ display:none; }
/* ---- שאלות נוספות ---- */
.sh-fhead{ display:flex; gap:10px; align-items:flex-end; flex-wrap:wrap; }
.sh-fhead .ge-f{ flex:1; min-width:200px; }
.sh-fn{ width:26px; height:26px; flex:none; border-radius:50%; background:var(--navy); color:var(--gold-bright); display:grid; place-items:center; font-weight:700; font-size:.85rem; margin-bottom:6px; }
.sh-opts{ display:flex; flex-direction:column; gap:6px; }
.sh-opt{ display:flex; gap:8px; align-items:center; }
.sh-opt > input{ flex:1; font:inherit; padding:6px 9px; border:1px solid var(--line); border-radius:8px; }
.sh-opt label{ display:flex; gap:4px; align-items:center; font-weight:700; color:var(--muted); }
.sh-opt label input{ width:80px; font:inherit; padding:6px 8px; border:1px solid var(--line); border-radius:8px; }
.sh-opt .icon-btn{ border:0; background:none; color:var(--muted); cursor:pointer; }
.sh-opts .link-btn{ align-self:flex-start; }
.sh-addf{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.sh-tpl{ display:flex; gap:6px; align-items:center; font-weight:700; font-size:.9rem; }
.sh-tpl select{ font:inherit; padding:6px 8px; border:1px solid var(--line); border-radius:8px; background:var(--white); }
.ord-kinds{ margin-bottom:10px; }
.ord-kinds button{ font-weight:700; }
.ord-kinds small{ opacity:.7; font-weight:400; }
.sh-opt label input[data-k$='.mult']{ width:56px; }
.hs-banner{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between; padding:10px 14px; border-radius:12px; background:#FBEFD5; color:#5A3E0C; margin-bottom:12px; font-weight:600; }
.hs-banner span{ display:flex; gap:8px; align-items:center; }
.hs-banner .ic{ width:18px; height:18px; }
.hs-body{ display:flex; flex-direction:column; gap:12px; }
.hs-list{ display:flex; flex-direction:column; gap:6px; max-height:300px; overflow:auto; border:1px solid var(--line); border-radius:10px; padding:8px; }
.hs-row{ display:flex; gap:10px; align-items:flex-start; padding:6px; border-radius:8px; cursor:pointer; }
.hs-row:hover{ background:var(--paper); }
.hs-row input{ margin-top:4px; width:18px; height:18px; }
.hs-row span{ display:flex; flex-direction:column; gap:2px; }
.hs-row small{ color:var(--muted); }
.hs-body textarea, .hs-body input#hsSubj{ font:inherit; border:1px solid var(--line); border-radius:8px; padding:8px 10px; }
.hs-row span .pill{ align-self:flex-start; }

/* יומן פעילות: מה השתנה */
.aud-diff td{ vertical-align:top; max-width:280px; word-break:break-word; font-size:.9rem; }
.aud-old{ background:#FDF1F1; }
.aud-new{ background:#EEF7EE; }

/* עריכה מרוכזת במקומות */
.td-sel{ width:34px; text-align:center; }
.td-sel input{ width:18px; height:18px; accent-color:var(--navy); cursor:pointer; }
.a-table-places tr.is-sel{ background:#FBF6EA; }
.bulk-bar{ position:sticky; top:8px; z-index:5; display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; margin:0 0 12px; padding:10px 14px;
  background:var(--navy); color:#fff; border-radius:14px; box-shadow:0 10px 24px rgba(14,37,65,.25); }
.bulk-bar label{ display:flex; align-items:center; gap:6px; font-size:.9rem; }
.bulk-bar select, .bulk-bar input{ font:inherit; font-size:.92rem; padding:6px 10px; border-radius:9px; border:0; background:#fff; color:var(--ink); max-width:220px; }
.bulk-bar .btn-navy{ background:var(--gold); color:var(--navy); }
.bulk-bar .link-btn{ color:var(--gold-bright); }
@media (max-width: 700px){
  .a-table-places tr{ grid-template-columns:auto 1fr auto; grid-template-areas:"sel main order" "meta meta meta" "acts acts acts"; }
  .a-table-places td.td-sel{ grid-area:sel; align-self:center; }
}

/* מדריכים לפי עיר */
.cg-admin{ display:grid; grid-template-columns:220px minmax(0, 1fr); gap:16px; align-items:start; }
.cg-list{ display:flex; flex-direction:column; gap:4px; max-height:70vh; overflow:auto; background:var(--white); border:1px solid var(--line); border-radius:14px; padding:8px; }
.cg-list button{ display:flex; align-items:center; gap:6px; text-align:right; border:0; background:transparent; padding:8px 10px; border-radius:9px; font:inherit; cursor:pointer; color:var(--ink); }
.cg-list button small{ color:var(--muted); }
.cg-list button[aria-current="true"]{ background:var(--navy); color:#fff; }
.cg-list button[aria-current="true"] small{ color:var(--gold-bright); }
.cg-ok{ margin-inline-start:auto; color:#2F6B3A; }
.cg-list button[aria-current="true"] .cg-ok{ color:var(--gold-bright); }
.cg-head{ display:flex; justify-content:space-between; align-items:baseline; gap:10px; }
.cg-edit textarea, .cg-tip input{ width:100%; font:inherit; padding:9px 12px; border:1.5px solid var(--line); border-radius:11px; }
.cg-tip{ display:grid; grid-template-columns:minmax(0, 1fr) auto; gap:6px; margin-bottom:10px; padding:10px; background:var(--paper); border-radius:12px; }
.cg-tip textarea{ grid-column:1; }
.cg-tip .icon-btn{ grid-row:1; grid-column:2; }
@media (max-width: 760px){ .cg-admin{ grid-template-columns:1fr; } .cg-list{ flex-direction:row; flex-wrap:wrap; max-height:none; } }
.ord-rev{ margin-top:8px; padding:8px 10px; background:#FBF6EA; border-radius:10px; display:flex; flex-direction:column; gap:3px; max-width:280px; }
.ord-stars{ color:#C08A2B; letter-spacing:1px; }
.ord-rev q{ font-size:.9rem; }
.hm-g{ border:1px solid var(--line); border-radius:14px; padding:10px 14px 4px; margin:0 0 12px; }
.hm-g legend{ font-weight:700; color:var(--navy); padding:0 6px; }
.staff-roles{ margin:6px 0 12px; padding-inline-start:18px; line-height:1.7; }
.staff-add{ margin-top:10px; }
.lk-log{ margin:12px 0 0; padding-inline-start:20px; max-height:280px; overflow:auto; line-height:1.7; font-size:.92rem; }
.lk-log .is-ok{ color:#2F6B3A; } .lk-log .is-bad{ color:#8A2E2E; } .lk-log .is-skip{ color:var(--muted); } .lk-log .is-wait{ color:var(--muted); }
/* הקו הטלפוני */
.ph-days{ display:flex; flex-wrap:wrap; gap:6px 14px; margin:8px 0; }
.ph-setup ol{ padding-inline-start:20px; line-height:1.8; }
.ph-setup li{ margin-bottom:8px; }
.ph-code{ direction:ltr; text-align:left; background:#0E2541; color:#F6E7C3; padding:12px 14px; border-radius:12px; font-size:.85rem; overflow:auto; white-space:pre; margin:8px 0; }
/* הקו הטלפוני: ניהול מלא */
.ph-status{ list-style:none; padding:0; margin:0 0 10px; display:grid; gap:6px; }
.ph-status li{ padding:8px 12px; border-radius:10px; font-size:.92rem; }
.ph-status li.ok{ background:#E8F5EC; color:#1D6B3A; }
.ph-status li.bad{ background:#FDF0E6; color:#9A4A12; }
.ph-tx label{ display:block; margin-bottom:10px; }
.ph-tx small{ font-weight:400; }
.ph-tx-row{ display:flex; gap:6px; align-items:flex-start; margin-top:4px; }
.ph-tx-row textarea{ flex:1; min-width:0; resize:vertical; }
.ph-say{ flex:none; min-width:40px; }
.ph-sim{ display:grid; gap:10px; grid-template-columns:1fr; }
@media (min-width:760px){ .ph-sim{ grid-template-columns:1fr 220px; } }
.ph-sim-screen{ background:#0E2541; color:#F6E7C3; border-radius:14px; padding:12px; height:280px; overflow:auto; display:flex; flex-direction:column; gap:6px; }
.ph-sim-line{ background:rgba(255,255,255,.08); padding:6px 10px; border-radius:10px; font-size:.9rem; align-self:flex-start; max-width:92%; }
.ph-sim-line.me{ align-self:flex-end; background:#C9A45C; color:#0E2541; font-weight:600; }
.ph-sim-line.sys{ align-self:center; background:none; opacity:.7; font-size:.82rem; }
.ph-sim-line.err{ background:#7a2a2a; }
.ph-sim-keys{ display:grid; grid-template-columns:repeat(3, 1fr); gap:6px; align-content:start; }
.ph-sim-keys > .muted, .ph-sim-keys > .btn, .ph-sim-num{ grid-column:1 / -1; }
.ph-sim-num{ display:flex; gap:6px; }
.ph-sim-num input{ flex:1; min-width:0; }
.ph-key{ font:inherit; font-size:1.15rem; font-weight:700; padding:10px 0; border-radius:12px; border:1px solid #d9dee6; background:#fff; color:#0E2541; cursor:pointer; }
.ph-key:last-child{ grid-column:2; }
.ph-key:disabled{ opacity:.3; cursor:default; }
.ph-recs, .ph-calls{ list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.ph-recs li, .ph-calls li{ border:1px solid #e6e9ef; border-radius:12px; padding:10px 12px; display:flex; flex-wrap:wrap; gap:8px; justify-content:space-between; align-items:center; }
.ph-rec-act{ display:flex; gap:10px; align-items:center; }
.ph-audio{ max-width:100%; height:36px; }
.ph-calls li{ display:block; }
.ph-trail{ margin-top:6px; display:flex; flex-wrap:wrap; gap:4px; align-items:center; font-size:.85rem; }
.ph-trail span{ background:#F1F3F7; border-radius:8px; padding:2px 8px; }
.ph-trail i{ font-style:normal; opacity:.5; }
.ph-tx-row textarea{ min-height:0; height:auto; padding:8px 10px; line-height:1.5; }
/* שלוחות בימות */
.ym-crumbs{ display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:0 0 14px; }
.ym-crumbs span{ opacity:.5; }
.ym-crumbs #ymRefresh{ margin-inline-start:auto; }
.ym-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(140px, 1fr)); gap:8px; margin-bottom:16px; }
.ym-ext{ font:inherit; text-align:start; display:flex; flex-direction:column; gap:2px; padding:10px 12px; border:1px solid #e1e5ec; border-radius:12px; background:#fff; color:#0E2541; cursor:pointer; }
.ym-ext:hover{ border-color:#C9A45C; }
.ym-ext b{ font-size:1.25rem; }
.ym-ext span{ font-size:.88rem; }
.ym-ext small{ font-size:.75rem; opacity:.65; }
.ym-new{ border-top:1px solid #eceff4; padding-top:12px; }
.ym-new h3{ margin:0 0 8px; font-size:1rem; }
.ym-files{ list-style:none; padding:0; margin:0 0 14px; display:grid; gap:6px; }
.ym-files li{ border:1px solid #e6e9ef; border-radius:12px; padding:8px 12px; display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; }
.ym-fname{ font-weight:700; }
.ym-fact{ margin-inline-start:auto; display:flex; align-items:center; gap:10px; }
.ym-fbody{ flex-basis:100%; }
.ym-fbody:empty{ display:none; }
.ym-fbody textarea{ width:100%; }
.ym-ren{ display:flex; align-items:flex-end; gap:8px; }
.ym-raw summary{ cursor:pointer; font-weight:600; margin:6px 0; }
.ym-raw textarea{ width:100%; font-family:monospace; font-size:.85rem; }
.ym-add{ display:grid; gap:8px; }
#ymUp{ max-width:100%; }
.ph-cust{ border:1px dashed #d5dbe4; border-radius:12px; padding:10px 12px; margin-bottom:8px; }
.ph-cust textarea{ width:100%; }
.ph-cust-act{ display:flex; gap:14px; justify-content:flex-end; }
/* מבנה הקו כעץ */
.pt-note{ background:#FFF6E3; border:1px solid #F0D9A8; border-radius:10px; padding:8px 12px; font-size:.9rem; }
.pt-root{ margin-top:6px; }
.pt-kids{ list-style:none; margin:0; padding:0 0 0 0; padding-inline-start:26px; position:relative; }
.pt-kids::before{ content:''; position:absolute; inset-inline-start:13px; top:0; bottom:18px; border-inline-start:2px solid #D9DEE7; }
.pt-node, .pt-add{ position:relative; padding-top:6px; }
.pt-node::before, .pt-add::before{ content:''; position:absolute; inset-inline-start:-13px; top:24px; width:13px; border-top:2px solid #D9DEE7; }
.pt-row{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; background:#fff; border:1px solid #E3E7EE; border-radius:12px; padding:6px 10px; }
.pt-row.editing{ border-color:#C9A45C; box-shadow:0 0 0 2px rgba(201,164,92,.2); }
.pt-rootrow{ background:#0E2541; color:#fff; border-color:#0E2541; }
.pt-rootrow .pt-label{ color:#fff; }
.pt-tog{ width:26px; height:26px; flex:none; border-radius:8px; border:1px solid #CBD2DD; background:#F5F7FA; font:inherit; font-weight:800; cursor:pointer; color:#0E2541; line-height:1; }
.pt-leaf{ border:none; background:none; cursor:default; }
.pt-key{ width:26px; height:26px; flex:none; border-radius:50%; background:#C9A45C; color:#0E2541; font-weight:800; display:inline-flex; align-items:center; justify-content:center; font-size:.9rem; }
.pt-home{ background:#F6E7C3; }
.pt-home .ic{ width:15px; height:15px; }
.pt-label{ font:inherit; font-weight:700; background:none; border:none; padding:2px 0; cursor:pointer; color:#0E2541; text-align:start; flex:1 1 140px; min-width:0; }
.pt-label:hover{ text-decoration:underline; }
.pt-type{ font-size:.78rem; border-radius:20px; padding:2px 9px; background:#EEF1F6; color:#44526A; white-space:nowrap; }
.pt-type.t-menu{ background:#E6EEF9; color:#1F4A86; }
.pt-type.t-say{ background:#F1ECF9; color:#5B3B8C; }
.pt-type.t-search, .pt-type.t-order{ background:#E8F5EC; color:#1D6B3A; }
.pt-type.t-email, .pt-type.t-goto, .pt-type.t-form{ background:#E9F4F6; color:#1B5E6B; }
.pt-type.t-agent, .pt-type.t-message{ background:#FDF0E6; color:#9A4A12; }
.pt-warn{ font-size:.78rem; color:#B3261E; font-weight:700; }
.pt-edit{ margin:6px 0 4px; padding:10px 12px; border:1px dashed #C9A45C; border-radius:12px; background:#FFFCF5; display:grid; gap:8px; }
.pt-edit textarea, .pt-edit input, .pt-edit select{ width:100%; }
.pt-edit-act{ display:flex; flex-wrap:wrap; gap:8px 14px; align-items:center; }
.pt-edit-act .btn{ margin-inline-start:auto; }
.pt-del{ color:#B3261E; }
.pt-add .link-btn{ display:inline-flex; align-items:center; gap:4px; font-size:.88rem; padding:4px 0; }
.pt-save{ margin-top:14px; flex-wrap:wrap; }
@media (max-width:560px){ .pt-kids{ padding-inline-start:18px; } .pt-kids::before{ inset-inline-start:8px; } .pt-node::before, .pt-add::before{ inset-inline-start:-10px; width:10px; } }
.a-recs{ margin:8px 0; padding-inline-start:20px; display:grid; gap:6px; }
.a-recs li{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; justify-content:space-between; }
.a-recs li span{ font-size:.9rem; }
.ph-steps{ padding-inline-start:20px; line-height:1.8; }
.ph-nat-prog{ margin:14px 0 4px; }
.ph-bar{ height:10px; border-radius:6px; background:#E8EBF0; overflow:hidden; }
.ph-bar span{ display:block; height:100%; background:#C9A45C; transition:width .3s; }
.ph-nat-prog p{ margin:6px 0 0; font-size:.9rem; }
