/* T - ממשק הניהול של פריימן (t.friman.app). עיצוב מחדש 14/10/2026.
 *
 * השפה העיצובית לקוחה מהמערכת עצמה, כדי ש-T ייראה כמוה:
 *   - הצבעים: theme.css של המסכים המשותפים, הבלוק :root[data-client="platform"]
 *     (הכתום והפחם של פריימן). הערכים מועתקים ולא מקושרים - T על דומיין אחר,
 *     ושינוי במערכת לא אמור לשבור את מסך הניהול בלי שמישהו שם לב.
 *   - המעטפת (סרגל צד 264px, navlink, כרטיסים לבנים עם צל רך): index.html של המסכים המשותפים.
 *   - מסך הכניסה: auth.html של הפלטפורמה (כרטיס מעוגל במרכז, "פריימן." עם נקודה כתומה).
 *
 * גדלים: בסיס 15.5px ושדות בגובה 46px - אבי ביקש "לא קטן וקשה לעבודה".
 */

:root {
  --brand:        #F26936;
  --brand-strong: #C24A1E;
  --brand-hover:  #e05520;
  --brand-wash:   #FFF3EE;
  --brand-ink:    #ffffff;

  --surface:      #ECEAE4;
  --surface-2:    #F5F4F0;
  --surface-3:    #FAF9F5;
  --panel:        #ffffff;

  --line:         #E6E3DC;
  --line-soft:    #EFEDE7;

  --ink:          #1C1C1E;
  --ink-2:        #2A2A2C;
  --muted:        #6B6B70;
  --muted-2:      #77777C;
  --faint:        #9A9A9F;

  --accent:       #1C1C1E;

  /* מצבים - לא חלק מהמיתוג: ירוק = תקין, אדום = תקלה, לכל לקוח. */
  --ok-bg:   #ecfdf5; --ok-ink:   #065f46; --ok-line:   #a7f3d0;
  --warn-bg: #fffbeb; --warn-ink: #92400e; --warn-line: #fde68a;
  --bad-bg:  #fef2f2; --bad-ink:  #b91c1c; --bad-line:  #fecaca;
  --info-bg: #eff6ff; --info-ink: #1d4ed8;

  --radius:    14px;
  --radius-sm: 11px;
  --shadow:    0 2px 8px rgb(40 30 20 / 0.06);
  --shadow-lg: 0 10px 30px rgb(40 30 20 / 0.10);
  --field-h:   46px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Heebo', system-ui, sans-serif;
  font-size: 15.5px; line-height: 1.55;
  background: var(--surface-3); color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--brand-strong); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgb(242 105 54 / 0.45); outline-offset: 2px; }

/* ── שדות ────────────────────────────────────────────────────────────────── */
input, select, textarea {
  width: 100%; min-height: var(--field-h);
  border: 1.5px solid var(--line); border-radius: 12px;
  padding: 0 14px; font-size: 15px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
textarea { padding: 11px 14px; resize: vertical; line-height: 1.7; min-height: 0; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgb(242 105 54 / 0.14); }
input[readonly] { background: var(--surface-2); }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; min-height: 0; padding: 0; accent-color: var(--brand); flex-shrink: 0; }
input[type=color] { width: 52px; height: var(--field-h); padding: 3px; cursor: pointer; }
input:disabled, select:disabled { opacity: .55; }

label { display: flex; flex-direction: column; gap: 7px; font-weight: 600; font-size: 14px; color: var(--ink-2); margin: 0; }
label > .sub { font-weight: 400; }
label.check { flex-direction: row; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; cursor: pointer; }

/* ── כפתורים ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 12px; border: none;
  background: var(--brand); color: var(--brand-ink);
  font-weight: 700; font-size: 15px; white-space: nowrap; text-decoration: none;
  box-shadow: 0 8px 18px rgb(242 105 54 / 0.22);
  transition: background .15s, transform .1s, box-shadow .15s;
}
.btn:hover { background: var(--brand-hover); }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: #cfcfd2; box-shadow: none; cursor: not-allowed; }
.btn.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn.ghost:hover { background: var(--surface-2); border-color: #d8d4cb; }
.btn.ghost:disabled { color: var(--faint); background: #fff; }
.btn.dark { background: var(--accent); color: #fff; box-shadow: none; }
.btn.danger { color: var(--bad-ink) !important; }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 13.5px; border-radius: 9px; }

/* ── טיפוגרפיה ועזרים ───────────────────────────────────────────────────── */
.sub { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.due { color: var(--bad-ink); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.ltr { direction: ltr; unicode-bidi: plaintext; }
.empty { text-align: center; color: var(--muted); padding: 48px 0; font-size: 15px; }
.err, .ok, .warn, .info {
  border-radius: 12px; padding: 12px 14px; font-size: 14.5px; font-weight: 600; margin-top: 12px; border: 1px solid transparent;
}
.err  { background: var(--bad-bg);  color: var(--bad-ink);  border-color: var(--bad-line); }
.ok   { background: var(--ok-bg);   color: var(--ok-ink);   border-color: var(--ok-line); }
.warn { background: var(--warn-bg); color: var(--warn-ink); border-color: var(--warn-line); }
.info { background: var(--info-bg); color: var(--info-ink); }

/* ── מסך הכניסה - כמו auth.html של הפלטפורמה ─────────────────────────────── */
.auth-screen { min-height: 100vh; background: var(--surface-2); position: relative; overflow: hidden; font-family: 'Assistant', 'Heebo', sans-serif; }
.auth-blob { position: absolute; width: 24rem; height: 24rem; border-radius: 50%; filter: blur(64px); pointer-events: none; }
.auth-blob.a { top: 0; left: 0; background: #ffedd5; opacity: .45; transform: translate(-50%, -50%); }
.auth-blob.b { bottom: 0; right: 0; background: #fff7ed; opacity: .7; transform: translate(50%, 50%); }
.auth-center { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; }
.auth-box { width: 100%; max-width: 28rem; }
.auth-logo { text-align: center; margin-bottom: 2rem; }
.auth-logo .name { font-size: 1.95rem; font-weight: 900; color: var(--ink); line-height: 1.2; }
.auth-logo .name span { color: var(--brand); }
.auth-logo .tag { font-size: .75rem; color: #9ca3af; margin-top: 4px; font-weight: 600; letter-spacing: .2em; }
.auth-card { background: #fff; border-radius: 2rem; border: 1px solid #f3f4f6; padding: 2rem;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.10), 0 8px 10px -6px rgb(0 0 0 / 0.10); }
.auth-card h1 { margin: 0; font-size: 1.35rem; font-weight: 800; }
.auth-card .lead { color: #6b7280; font-size: .95rem; margin-top: 4px; margin-bottom: 1.4rem; }
.auth-card label { font-family: inherit; font-size: .9rem; font-weight: 700; color: #4b5563; margin-top: 14px; }
.auth-card input { min-height: 0; padding: .85rem 1.1rem; border: 2px solid #e5e7eb; border-radius: 14px; background: #fafafa; font-size: 1rem; font-family: inherit; }
.auth-card input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgb(242 105 54 / 0.12); background: #fff; }
.auth-card .btn-primary { width: 100%; margin-top: 1.25rem; padding: .95rem; border: none; border-radius: 14px; background: var(--brand); color: #fff;
  font-family: inherit; font-size: 1.05rem; font-weight: 700; transition: background .2s, transform .15s; }
.auth-card .btn-primary:hover { background: var(--brand-hover); transform: translateY(-1px); }
.auth-card .btn-primary:disabled { background: #ccc; transform: none; cursor: not-allowed; }
.auth-echo { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #f3f4f6; border-radius: 14px; padding: .7rem 1rem; }
.auth-echo b { font-size: .95rem; }
.auth-link { background: none; border: none; color: var(--brand); font-weight: 700; font-size: .85rem; padding: 4px; }
.auth-link:hover { text-decoration: underline; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-left: 4rem; }
.pw-toggle { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #9ca3af; font-size: .8rem; font-weight: 700; }
.auth-note { text-align: center; font-size: .85rem; color: #6b7280; margin-top: 12px; line-height: 1.6; }
.auth-alert { margin-top: 14px; padding: .75rem; border-radius: 12px; font-size: .9rem; font-weight: 600; text-align: center;
  background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.auth-foot { text-align: center; font-size: .75rem; color: #9ca3af; margin-top: 1.5rem; }
#mfaBox { margin-top: 4px; }
#mfaBox img { border: 1px solid #f3f4f6; }

/* ── המעטפת: סרגל צד + תוכן ─────────────────────────────────────────────── */
.shell { display: flex; min-height: 100vh; }
.side {
  width: 264px; flex-shrink: 0; background: #fff; border-left: 1px solid var(--line);
  position: sticky; top: 0; align-self: flex-start; height: 100vh; overflow-y: auto;
  padding: 26px 18px; display: flex; flex-direction: column; gap: 4px;
}
.side-brand { display: flex; align-items: center; gap: 12px; padding: 6px 10px 24px; text-decoration: none; color: inherit; }
.side-mark { width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 22px; flex-shrink: 0; }
.side-brand .t1 { font-size: 17px; font-weight: 800; line-height: 1.2; }
.side-brand .t1 span { color: var(--brand); }
.side-brand .t2 { font-size: 13px; color: var(--muted); }
.navgroup { font-size: 12px; font-weight: 700; color: var(--faint); padding: 14px 14px 4px; letter-spacing: .02em; }
.navlink {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--radius-sm);
  color: #4a4a4f; font-weight: 500; font-size: 15px; text-decoration: none; position: relative;
}
.navlink:hover { background: var(--surface-2); }
.navlink.active { background: var(--brand-wash); color: var(--brand-strong); font-weight: 700; }
.navlink svg { width: 20px; height: 20px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.navlink .badge { margin-inline-start: auto; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 1px 8px; min-width: 24px; text-align: center; }
.side-user { margin-top: auto; padding: 14px; border-radius: 12px; background: var(--surface-2); display: flex; align-items: center; gap: 10px; }
.side-user .av { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.side-user .who2 { min-width: 0; flex: 1; }
.side-user .who2 div { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-user button { font-size: 13px; color: var(--muted); background: none; border: none; padding: 0; }
.side-user button:hover { color: var(--brand-strong); text-decoration: underline; }

.side-out { display: none !important; }
.navlist { display: flex; flex-direction: column; gap: 4px; }

.main { flex: 1; min-width: 0; padding: 30px 40px 80px; }
.topbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.topbar h1 { margin: 0; font-size: 28px; font-weight: 800; line-height: 1.25; }
.topbar .sub { font-size: 15px; margin-top: 4px; }

/* ── כרטיסים ─────────────────────────────────────────────────────────────── */
.card { background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 26px; margin-bottom: 18px; border: 1px solid var(--line-soft); }
.card-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.card-h strong, .card-title { font-size: 18px; font-weight: 700; }
.card > .sub:first-of-type { margin-top: 4px; }
details.card > summary { cursor: pointer; list-style: none; }
details.card > summary::-webkit-details-marker { display: none; }
details.card > summary strong::before { content: '▸'; display: inline-block; margin-inline-end: 8px; transition: transform .15s; color: var(--muted); }
details.card[open] > summary strong::before { transform: rotate(-90deg); }
details > summary { cursor: pointer; }

.cols { display: grid; gap: 18px; }
.cols.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid2, .fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px 20px; margin-top: 14px; }
.grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stack > * + * { margin-top: 14px; }

.sec { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-top: 14px; background: #fff; }
.sec h4 { margin: 0 0 10px; font-size: 16px; font-weight: 700; }

.kv { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; padding: 7px 0; border-bottom: 1px solid var(--line-soft); }
.kv:last-child { border-bottom: none; }
.kv b { font-weight: 700; }
.kv > span:first-child { color: var(--ink-2); }

.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; border: 1px solid var(--line-soft); }
.stat .n { font-size: 26px; font-weight: 800; line-height: 1.2; }
.stat .l { font-size: 13.5px; color: var(--muted); margin-top: 2px; }

/* מונה מכסה */
.meter { margin-top: 14px; }
.meter .top { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; gap: 10px; }
.bar { margin-top: 7px; height: 10px; border-radius: 6px; background: var(--surface); overflow: hidden; }
.bar > div { height: 100%; border-radius: 6px; background: var(--brand); transition: width .4s ease; }

/* תגיות מצב */
.pill, .st { font-size: 12.5px; font-weight: 700; padding: 3px 11px; border-radius: 999px; display: inline-block; white-space: nowrap; }
.pill.open { background: #fef3c7; color: #92400e; }
.pill.answered { background: #d1fae5; color: #065f46; }
.pill.closed { background: #e5e7eb; color: #4b5563; }
.st.active { background: #d1fae5; color: #065f46; }
.st.trial { background: #e0f2fe; color: #075985; }
.st.suspended { background: #fee2e2; color: #991b1b; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }

/* ── טבלת לקוחות הפלטפורמה ──────────────────────────────────────────────── */
.pc { display: grid; grid-template-columns: 2fr 1.2fr .9fr .8fr 1.1fr .6fr 24px; gap: 12px; align-items: center;
  padding: 14px 12px; border-top: 1px solid var(--line-soft); font-size: 14.5px; cursor: pointer; border-radius: 10px; color: inherit; text-decoration: none; }
.pc:hover { background: var(--surface-2); }
.pc.h { cursor: default; font-weight: 700; color: var(--muted); font-size: 13px; border-top: none; padding-bottom: 8px; }
.pc.h:hover { background: none; }
.pc .go { color: var(--faint); font-size: 18px; }
.search { position: relative; }
.search input { padding-right: 42px; }
.search svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; stroke: var(--faint); fill: none; stroke-width: 2; }

/* ── קוביות (מערכות ייעודיות) ───────────────────────────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
.tile { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; border: 1px solid var(--line-soft); }
.tile h3 { margin: 0; font-size: 19px; font-weight: 800; }
.price { font-size: 14px; font-weight: 700; color: var(--brand-strong); }
.tile details { margin-top: 14px; border-top: 1px solid var(--line-soft); padding-top: 10px; }
.tile details label { margin-top: 10px; }

/* ── תמיכה ──────────────────────────────────────────────────────────────── */
.msg { border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; margin-top: 9px; white-space: pre-wrap; font-size: 15px; line-height: 1.75; background: #fff; }
.msg.support { background: var(--brand-wash); border-color: #fbd9cb; }
.who { font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 3px; }
.filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.filters select { width: auto; min-width: 190px; }

.pager { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 14px; font-size: 14px; }
.pager button { background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 7px 16px; font-weight: 700; }
.pager button:disabled { opacity: .4; cursor: default; }

/* ── שלבים: האשף והכרטיס ────────────────────────────────────────────────── */
.flow-head { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line-soft); padding: 22px 26px 18px; margin-bottom: 18px; }
.flow-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.flow-title h2 { margin: 0; font-size: 24px; font-weight: 800; line-height: 1.3; }
.flow-title .sub { margin-top: 2px; }
.progress { margin-top: 18px; height: 8px; border-radius: 99px; background: var(--surface); overflow: hidden; }
.progress > div { height: 100%; background: var(--brand); border-radius: 99px; transition: width .35s ease; }
.progress-label { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); margin-top: 8px; font-weight: 600; }
.steps { display: flex; gap: 6px; margin-top: 16px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.step { flex: 1 1 0; min-width: 118px; display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center;
  background: none; border: none; padding: 6px 4px; border-radius: 12px; color: var(--muted); font-size: 13.5px; font-weight: 600; position: relative; }
.step .dot { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px;
  background: var(--surface-2); border: 2px solid var(--line); color: var(--muted); transition: all .2s; }
.step.done .dot { background: var(--brand-wash); border-color: var(--brand); color: var(--brand-strong); }
.step.on { color: var(--ink); font-weight: 800; }
.step.on .dot { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 14px rgb(242 105 54 / 0.3); }
.step:not(:disabled):hover { background: var(--surface-2); }
.step:disabled { cursor: default; opacity: .7; }
.flow-body { min-height: 320px; }
.flow-body > .card:first-child { margin-top: 0; }
.flow-foot { position: sticky; bottom: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  background: rgb(250 249 245 / 0.94); backdrop-filter: blur(6px); border-top: 1px solid var(--line); padding: 14px 4px; margin-top: 8px; }
.step-intro { font-size: 15px; color: var(--muted); margin: 0 0 4px; }
.addon-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
.addon-row:first-child { border-top: none; }
.addon-row .nm { flex: 1; min-width: 220px; display: flex; gap: 12px; align-items: flex-start; font-weight: 700; font-size: 15px; cursor: pointer; flex-direction: row; color: var(--ink); }
.addon-row .nm .sub { font-weight: 400; display: block; }
.addon-row input[type=number] { width: 130px; }
.admin-row { display: grid; grid-template-columns: minmax(0, 1fr) 170px auto; gap: 10px; margin-top: 10px; }

.suffix { display: flex; align-items: center; gap: 8px; direction: ltr; }
.suffix input { flex: 1; }
.suffix .sub { font-size: 15px; font-weight: 600; color: var(--muted); }
.colorrow { display: flex; gap: 8px; align-items: center; }
.colorrow input:not([type=color]) { width: 140px; }

/* תצוגה מקדימה של המיתוג - מסך הכניסה של הלקוח בקטן */
.preview { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; min-height: 300px; box-shadow: var(--shadow); }
.preview .pane { padding: 26px; font-size: 14px; line-height: 1.6; display: flex; flex-direction: column; }
.preview .pv-logo { max-height: 44px; max-width: 140px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px; align-self: flex-start; margin-bottom: 10px; }
.brand-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.brand-layout .sticky { position: sticky; top: 20px; }

/* הודעה קופצת קצרה */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; padding: 12px 22px; border-radius: 12px;
  font-weight: 700; font-size: 15px; z-index: 100; box-shadow: var(--shadow-lg); opacity: 0; transition: opacity .2s; pointer-events: none; }
.toast.on { opacity: 1; }

/* ── טלפון וטאבלט ───────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .brand-layout { grid-template-columns: 1fr; }
  .brand-layout .sticky { position: static; }
}
@media (max-width: 960px) {
  /* בטלפון הסרגל הופך לפס עליון: המותג + יציאה, ומתחתיו הלשוניות בגלילה אופקית. */
  .shell { display: block; }
  .side { position: sticky; top: 0; z-index: 20; width: 100%; height: auto; padding: 10px 0 0; gap: 0;
    border-left: none; border-bottom: 1px solid var(--line); overflow: visible; }
  .side-top { display: flex; justify-content: space-between; align-items: center; padding: 0 16px 10px; }
  .side-brand { padding: 0; }
  .side-mark { width: 36px; height: 36px; font-size: 18px; border-radius: 10px; }
  .side-out { display: inline-flex !important; }
  .navlist { display: flex; flex-direction: row; gap: 6px; overflow-x: auto; padding: 0 12px 10px; scrollbar-width: none; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 14px 16px; }
  .stat .n { font-size: 22px; }
  .navlist::-webkit-scrollbar { display: none; }
  .navgroup, .side-user { display: none; }
  .navlist .navlink { flex-shrink: 0; padding: 8px 14px; font-size: 14.5px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
  .navlist .navlink svg { display: none; }
  .navlist .navlink.active { border-color: var(--brand); }
  .navlist .navlink .badge { margin-inline-start: 4px; }
  .main { padding: 20px 16px 90px; }
  .topbar h1 { font-size: 23px; }
  .cols.two { grid-template-columns: 1fr; }
  .card { padding: 18px; }
  .flow-head { padding: 18px; }
  .flow-title h2 { font-size: 20px; }
  .step { min-width: 86px; font-size: 12.5px; }
  .step .dot { width: 30px; height: 30px; font-size: 13px; }
  .tiles { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .grid2 { grid-template-columns: 1fr; }
  /* בטלפון: שם, מסלול וסטטוס בעמודה אחת, והחץ בצד. המספרים - בכרטיס הלקוח. */
  .pc { grid-template-columns: 1fr auto; gap: 4px 10px; padding: 14px 8px; }
  .pc.h { display: none; }
  .pc > span:nth-child(-n+3) { grid-column: 1; }
  .pc > span:nth-child(2), .pc > span:nth-child(3) { font-size: 13.5px; }
  .pc > span:nth-child(4), .pc > span:nth-child(5), .pc > span:nth-child(6) { display: none; }
  .pc .go { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .preview { grid-template-columns: 1fr; }
  .admin-row { grid-template-columns: 1fr 1fr; }
  .admin-row input { grid-column: 1 / -1; }
  .filters select { flex: 1; min-width: 0; }
  .kv { flex-wrap: wrap; }
  .flow-foot .btn { flex: 1; }
}
