/* =====================================================================
   Woofpen לפנסיונים — ערכת העיצוב "תעודה" (כחול)
   ---------------------------------------------------------------------
   מבוססת על ערכת המאלפים (woofpen-trainer/public/trainer-theme.css, מתוך
   הצעות-עיצוב/תעודה-כיוון-C.html) ומורחבת לכל מסכי הפנסיון.
   כל כלל כאן מתחיל ב-.theme-cert — המחלקה יושבת על <html> בכל דפי המערכת.
   להחזרת העיצוב הירוק הישן: להסיר את class="theme-cert" מתג ה-<html>.
   צבע המותג: --brand (מההגדרות theme.primary), ובלעדיו כחול כהה #2B4C7E.
   צבעי השלבים: STAGE_COLORS ב-app.js / portfolio.html (ללא שינוי).
   ===================================================================== */

.theme-cert{
  --b:var(--brand,#2B4C7E);
  --b-ink:color-mix(in oklab,var(--brand,#2B4C7E) 82%,black);
  --b-soft:color-mix(in oklab,var(--brand,#2B4C7E) 9%,white);
  --b-tint:color-mix(in oklab,var(--brand,#2B4C7E) 18%,white);
  --app-bg:#FAFAFA; --bar:rgba(250,250,250,.96);
  --text:#1F2328; --line-2:#EDEEF0; --r:8px; --r2:12px;
  --font:'Assistant','Segoe UI',Arial,sans-serif;
  --font-display:var(--font);   /* כותרות באותו פונט נקי של הגוף (לא סריף) */
  /* טוקנים של המערכת הכללית — כך גם רכיבים שלא עוצבו פרטנית מקבלים את הגוונים */
  --surface:#FFFFFF; --surface-2:#F1F2F4; --cream:#FAFAFA; --ink:#1F2328; --muted:#5A6169; --line:#E3E5E8; --border:#E3E5E8;
  --primary:var(--b); --primary-d:var(--b-ink); --primary-soft:var(--b-soft);
  --teal:var(--b-ink); --teal-soft:var(--b-soft);
  --radius:12px; --shadow:none; --shadow-sm:none;
}
html.theme-cert body{
  font-family:var(--font);background:#FAFAFA;background-image:none;color:var(--text);
  -webkit-font-smoothing:antialiased;
}
.theme-cert button,.theme-cert input,.theme-cert select,.theme-cert textarea{font-family:var(--font)}
.theme-cert .tr-ic{flex:none;display:block}
.theme-cert .device{background:var(--app-bg)}
.theme-cert .sub{color:var(--muted)}
html:not(.theme-cert) .tc-only{display:none!important}

/* ---------- כותרת עליונה ---------- */
.theme-cert .topbar{
  background:var(--bar);color:var(--text);box-shadow:none;border-bottom:1px solid var(--line);
  padding:calc(env(safe-area-inset-top) + 8px) 16px 8px;min-height:56px;backdrop-filter:blur(10px);
}
.theme-cert .tr-top{display:flex;align-items:center;gap:10px;width:100%;min-height:40px;min-width:0}
.theme-cert .tr-logo{flex:none;display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--b);color:#fff;overflow:hidden}
.theme-cert .tr-logo.img{background:none;border-radius:0;width:auto}
.theme-cert .tr-logo.img img{height:100%;width:auto;max-width:120px;object-fit:contain}
.theme-cert .tr-biz{flex:1;min-width:0;font-size:14px;font-weight:700;letter-spacing:.06em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.theme-cert .tr-back{flex:none;display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 2px;border:0;background:none;
  color:var(--b-ink);font-size:15px;font-weight:600;cursor:pointer}
.theme-cert .tr-ttl{flex:1;min-width:0;text-align:center;font-family:var(--font-display);font-size:18px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.theme-cert .tc-user{flex:0 1 auto;min-width:0;max-width:44%;height:34px;padding:0 12px;border:0;border-radius:99px;background:var(--surface);
  box-shadow:inset 0 0 0 1px var(--line);font-size:12.5px;font-weight:600;color:var(--text);cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.theme-cert .tc-out{flex:none;height:34px;padding:0 4px;border:0;background:none;font-size:13.5px;font-weight:600;color:var(--muted);cursor:pointer}

/* ---------- תוכן ---------- */
.theme-cert .content{background:transparent}
.theme-cert .mobile-back-btn{display:none}
.theme-cert .fab{width:52px;height:52px;border-radius:50%;background:var(--b);box-shadow:0 6px 18px color-mix(in oklab,var(--b) 35%,transparent);font-size:26px}

/* ---------- סרגל לשוניות ---------- */
.theme-cert .tabbar button .ti{display:grid;place-items:center;font-size:0;line-height:1}
.theme-cert .tabbar button .tl{display:block;white-space:nowrap}

/* ===================== טלפון (עד 767px) ===================== */
@media (max-width:767px){
  /* clip במקום hidden: אחרת הכותרת הדביקה לא נדבקת */
  .theme-cert .device{overflow:clip}
  .theme-cert .topbar{position:sticky;top:0}
  .theme-cert .content{overflow:visible;padding:14px 16px calc(env(safe-area-inset-bottom) + 96px)}
  .theme-cert .tabbar{
    position:fixed;top:auto;bottom:0;left:50%;right:auto;transform:translateX(-50%);width:100%;max-width:480px;
    display:grid;grid-template-columns:repeat(6,1fr);align-items:end;gap:0;
    padding:8px 4px calc(env(safe-area-inset-bottom) + 10px);
    background:var(--app-bg);border-bottom:0;border-top:1px solid var(--line);z-index:50;backdrop-filter:none;  /* בלי backdrop-filter: בכרום הוא ציֵּר את הסרגל מעל חלונות פתוחים */
  }
  .theme-cert .tabbar>a{display:none!important}
  .theme-cert .tabbar button{padding:4px 1px;border-radius:8px;gap:3px;font-size:10.5px;font-weight:500;color:var(--muted);min-width:0}
  .theme-cert .tabbar button.on{color:var(--b-ink);font-weight:700}
  .theme-cert .tabbar button.on .ti{transform:none}
  .theme-cert .tabbar.sub-screen{display:grid!important}
  html.theme-cert body[data-screen="register"] .tabbar{display:none!important}
  html.theme-cert body[data-screen="register"] .content{padding-bottom:calc(env(safe-area-inset-bottom) + 24px)}
  html.theme-cert body[data-screen="map"] .content{padding-bottom:0}
  .theme-cert .fab{display:none!important}   /* בטלפון: "רישום כלב חדש" נמצא בפעולות המהירות ובמסך הכלבים */
  .theme-cert .toast{position:fixed;bottom:calc(env(safe-area-inset-bottom) + 84px)}
  .theme-cert .sheet-overlay{position:fixed;z-index:120}
}

/* ===================== רכיבים כלליים ===================== */
.theme-cert .card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r2);box-shadow:none}
.theme-cert .section-t [data-ic]{display:inline-flex;vertical-align:-3px;margin-inline-end:6px;color:var(--b)}
.theme-cert .section-t{font-family:var(--font-display);font-size:18px;font-weight:600;margin:26px 0 10px;padding-bottom:8px;border-bottom:1px solid var(--line)}
.theme-cert .section-t .all{font-family:var(--font);font-size:13px;font-weight:600;color:var(--b-ink)}
.theme-cert .btn{border-radius:var(--r);box-shadow:none;background:var(--b);font-family:var(--font);font-weight:700}
.theme-cert .btn.teal{background:var(--b)}
.theme-cert .btn.ghost{background:var(--surface);color:var(--b-ink);box-shadow:inset 0 0 0 1px var(--b)}
.theme-cert .field label{font-size:13px;font-weight:600;color:#45464b}
.theme-cert .field input,.theme-cert .field textarea,.theme-cert .field select,.theme-cert .cs-btn,.theme-cert .inp{
  border:0;box-shadow:inset 0 0 0 1px var(--line);border-radius:var(--r);background:var(--surface);font-size:15px;color:var(--text)}
.theme-cert .inp{padding:11px 12px;outline:none}
.theme-cert .field input:focus,.theme-cert .field textarea:focus,.theme-cert .field select:focus,.theme-cert .cs-btn:focus,.theme-cert .inp:focus{box-shadow:inset 0 0 0 1.5px var(--b)}
.theme-cert .field input.invalid{box-shadow:inset 0 0 0 1.5px #C0392B}
.theme-cert .cs-panel{border:1px solid var(--line);border-radius:var(--r);box-shadow:0 10px 30px rgba(28,29,32,.12)}
.theme-cert .cs-opt{border-bottom-color:var(--line-2)}
.theme-cert .cs-opt:hover,.theme-cert .cs-opt.cs-hi,.theme-cert .cs-opt.cs-sel{background:var(--b-soft)}
.theme-cert .form-sec{color:var(--text);font-family:var(--font-display);font-size:18px;font-weight:700}
.theme-cert .q-card{border:1px solid var(--line);border-radius:var(--r);box-shadow:none}
.theme-cert .q-row{border-bottom-color:var(--line-2)}
.theme-cert .yn button{border:0;box-shadow:inset 0 0 0 1px var(--line);border-radius:var(--r)}
.theme-cert .yn button.on,.theme-cert .yn button.on.yes{background:var(--text);color:#fff;box-shadow:none}
.theme-cert .yn button.on.no{background:#B3261E;color:#fff;box-shadow:none}
.theme-cert .check input{accent-color:var(--b)}
.theme-cert .photo-up{border:1px dashed var(--line);border-radius:var(--r2);background:var(--surface)}
.theme-cert .fchip,.theme-cert .dog-pick{box-shadow:inset 0 0 0 1px var(--line);border-radius:99px;font-weight:600;background:var(--surface);color:var(--text)}
.theme-cert .fchip.on,.theme-cert .dog-pick.on{background:var(--b);color:#fff;box-shadow:none}
.theme-cert .kv{border-bottom-color:var(--line-2)}
.theme-cert .tag{font-weight:600;border-radius:99px}
.theme-cert .tag.train{background:var(--b-soft);color:var(--b-ink)}
.theme-cert .tag.stay{background:#EEF1F6;color:#3D4F6B}
.theme-cert .tag.rescue{background:#EAF1EC;color:#2F5D3E}
.theme-cert .type-toggle button,.theme-cert .pick-mode button{border:0;box-shadow:inset 0 0 0 1px var(--line);border-radius:var(--r2);font-weight:700}
.theme-cert .type-toggle button.on,.theme-cert .type-toggle button.on.t,.theme-cert .pick-mode button.on{box-shadow:inset 0 0 0 1.5px var(--b);background:var(--b-soft);color:var(--b-ink)}
.theme-cert .toast{background:var(--text);border-radius:var(--r);box-shadow:0 8px 24px rgba(0,0,0,.18)}
.theme-cert .sheet{background:var(--app-bg);border-radius:16px 16px 0 0}
.theme-cert .sheet h3{font-family:var(--font-display);font-weight:700;font-size:21px}
.theme-cert .avatar{border-radius:50%}
.theme-cert .edit-dog-btn{border:0;box-shadow:inset 0 0 0 1px var(--b);border-radius:var(--r);color:var(--b-ink);font-weight:700;background:var(--surface)}
.theme-cert .edit-dog-btn:hover{background:var(--b-soft);color:var(--b-ink)}
.theme-cert .map-btn{border-radius:var(--r);background:var(--surface);color:var(--b-ink);box-shadow:inset 0 0 0 1px var(--b);font-weight:700}
.theme-cert .map-btn:hover{background:var(--b-soft)}
.theme-cert .map-btn{box-shadow:inset 0 0 0 1px var(--line);color:var(--text)}
.theme-cert .occ .map-btn:first-child{background:var(--b);color:#fff;box-shadow:none}
.theme-cert .occ .map-btn:first-child:hover{background:var(--b-ink)}
.theme-cert .recur-box{border-color:var(--line)}

/* ===================== מסך הבית ===================== */
.theme-cert #screen-home .hero-greet{font-family:var(--font-display);font-size:32px;font-weight:500;line-height:1.15;margin:12px 0 2px}
.theme-cert #screen-home #today-str{color:var(--muted);font-size:14px;margin:0 0 18px!important}
.theme-cert .occ{background:var(--surface);border:1px solid var(--line);border-radius:var(--r2);box-shadow:none;padding:18px 18px 16px}
.theme-cert .occ .paw{display:none}
.theme-cert .occ .lbl{font-size:12px;font-weight:600;letter-spacing:.06em;color:var(--muted)}
.theme-cert .occ .big{font-family:var(--font-display);font-size:46px;font-weight:500;color:var(--text);margin:2px 0 4px}
.theme-cert .occ .big small{font-family:var(--font);font-size:16px;font-weight:500;color:var(--muted)}
.theme-cert .occ .bar{height:4px;border-radius:2px;background:var(--line-2);margin-top:10px}
.theme-cert .occ .bar i{background:var(--b);border-radius:2px}
.theme-cert .occ .map-btn{margin-top:14px;height:42px;padding:0 8px;font-size:13.5px}
/* שישה מדדים: רשת של 3, קווים דקים במקום כרטיסים */
.theme-cert .stat-grid{grid-template-columns:repeat(3,1fr);gap:0;margin:18px 0 0;border-top:0;background:var(--surface);border-radius:var(--r2);box-shadow:inset 0 0 0 1px var(--line);overflow:hidden}
.theme-cert .stat{background:none;border-radius:0;box-shadow:none;padding:12px 4px 10px;border-bottom:1px solid var(--line-2)}
.theme-cert .stat:nth-last-child(-n+3){border-bottom:0}
/* קווים מפרידים בין תיבות המדדים (בגוון הקווים הבהיר, בלי הקו השחור העליון) */
.theme-cert .stat:nth-child(3n+2),.theme-cert .stat:nth-child(3n+3){border-inline-start:1px solid var(--line)}
.theme-cert .stat .ic{font-size:12px;color:var(--b);line-height:1}
.theme-cert .stat .ic [data-ic]{display:inline-flex}
.theme-cert .stat [id$="-badges"]{gap:3px!important;margin-top:4px!important}
.theme-cert .stat .n{font-family:var(--font-display);font-size:30px;font-weight:500;line-height:1.05}
.theme-cert .stat .t{font-size:13px;font-weight:600;color:var(--text)}
.theme-cert .quick{gap:8px}
.theme-cert .quick a{border-radius:var(--r);background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);font-weight:600;font-size:14px;padding:12px}
.theme-cert .quick a .qi{border-radius:50%;background:var(--b-soft);color:var(--b);width:34px;height:34px;font-size:16px}
.theme-cert .quick a .qi [data-ic]{display:inline-flex}
/* עיגולי האייקונים בפעולות מהירות: גוונים עדינים עם אייקון כהה תואם. הכרטיסים נשארים לבנים */
.theme-cert .quick a:nth-child(4n+1) .qi{background:#E2F3EB;color:#1F6B4F}
.theme-cert .quick a:nth-child(4n+2) .qi{background:#E7EFFB;color:#2B5BA8}
.theme-cert .quick a:nth-child(4n+3) .qi{background:#FFF0E2;color:#A85A12}
.theme-cert .quick a:nth-child(4n+4) .qi{background:#EFE8FA;color:#5B3E99}
.theme-cert .quick a.tc-only .qi{background:#FFE4E1;color:#D9534F}
/* אזור הברכה בראש העמוד */
.theme-cert #screen-home .hero-box{background:var(--b-soft);border-radius:var(--r2);padding:14px 18px 12px;margin:2px 0 16px}
.theme-cert #screen-home .hero-box .hero-greet{margin-top:0}
.theme-cert #screen-home .hero-box #today-str{margin:0 0 8px!important}
.theme-cert #screen-home .hero-line{font-size:14.5px;font-weight:600;color:var(--b-ink)}
.theme-cert .home-task-row{border-bottom-color:var(--line-2)}
.theme-cert #home-tasks{padding:14px}
.theme-cert .task{border-bottom-color:var(--line-2)}

/* ===================== רשימת כלבים ===================== */
.theme-cert #screen-dogs .search{height:48px;margin:2px 0 12px;padding:0 14px;border-radius:var(--r);background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);color:var(--muted)}
.theme-cert #screen-dogs .search>span{font-size:0;width:18px;height:18px;flex:none;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E") center/contain no-repeat}
.theme-cert #screen-dogs .search input{font-size:15px}
.theme-cert #dog-filters .fchip[onclick^="go("]{background:var(--b)!important;border-color:var(--b)!important;color:#fff!important}
/* כפתורי הקבוצות (נמצאים / צפויים / שהו) — לשוניות עם קו תחתון */
.theme-cert #dogs-list>div:first-child>button{border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:none!important;color:var(--muted)!important;font-weight:600!important;font-size:13px!important;padding:10px 2px!important;min-width:0!important}
.theme-cert #dogs-list>div:first-child{border-bottom:1px solid var(--line);gap:0!important;flex-wrap:nowrap!important}
.theme-cert #dogs-list>div:first-child>button[style*="var(--primary"]{color:var(--text)!important;border-bottom-color:var(--b)!important}
/* כל כרטיס כלב — שורה בין קווים */
.theme-cert #dogs-list .card.dog-card{border:0;border-bottom:1px solid var(--line);border-radius:0;margin:0;padding:13px 2px;background:none}
.theme-cert .dog-card .avatar,.theme-cert .dog-card img{border-radius:50%!important}
.theme-cert .dog-card .nm{font-family:var(--font-display);font-size:18px;font-weight:500}
.theme-cert .dog-card .br{font-size:13px}
.theme-cert .dog-card .chev{opacity:.6}
.theme-cert .dog-card .tag{font-size:11px;padding:2px 8px}

/* ===================== כרטיס כלב ===================== */
.theme-cert .prof-head{background:none;box-shadow:none;border-radius:0;padding:10px 0 18px;border-bottom:1px solid var(--line);margin-bottom:16px}
.theme-cert .prof-head .avatar{width:96px;height:96px;font-size:46px;box-shadow:0 0 0 1px var(--line),0 0 0 5px var(--surface),0 0 0 6px var(--line)}
.theme-cert .prof-head #prof-photo-img{width:104px!important;height:104px!important;border:0!important;box-shadow:0 0 0 1px var(--line),0 0 0 5px var(--surface),0 0 0 6px var(--line)}
.theme-cert .prof-head button[onclick^="changeProfilePhoto"]{background:var(--b)!important;width:30px!important;height:30px!important;box-shadow:0 0 0 3px var(--app-bg)}
.theme-cert .prof-head button[onclick^="removeProfilePhoto"]{background:var(--surface)!important;color:#B3261E!important;box-shadow:0 0 0 3px var(--app-bg),inset 0 0 0 1px var(--line)}
.theme-cert .prof-head .nm{font-family:var(--font-display);font-size:40px;font-weight:700;line-height:1.1;margin-top:10px;color:var(--b-ink)}
.theme-cert .prof-head .nm span{font-size:16px;color:var(--muted)}
.theme-cert .prof-head .sub{font-size:14px}
.theme-cert .prof-head .badges{gap:6px}
.theme-cert .prof-head .tag{font-size:11.5px;font-weight:500;background:var(--surface-2);color:var(--muted);padding:3px 10px}
.theme-cert .prof-head .tag.train{background:var(--b-soft);color:var(--b-ink);font-weight:600}
.theme-cert .prof-head .edit-dog-btn{height:44px;margin-top:14px}
.theme-cert .prof-sec-wrap{border:1px solid var(--line);border-radius:var(--r);background:var(--surface);margin-bottom:8px}
.theme-cert .prof-sec-hdr{font-size:15px;font-weight:600;background:var(--surface);padding:13px 14px}
.theme-cert .prof-sec-hdr:hover{background:#F6F4EF}
.theme-cert .prof-sec-body .card{border:0;border-top:1px solid var(--line-2)!important;border-radius:0!important;box-shadow:none}
.theme-cert .trait{background:var(--surface-2);border-radius:var(--r)}
.theme-cert .owner-card .call{border-radius:50%;background:var(--b-soft);color:var(--b-ink)}
/* קטע האילוף בכרטיס הכלב */
.theme-cert .tc-train{padding:16px}
.theme-cert .tc-train-top{display:flex;align-items:flex-end;gap:12px;margin-bottom:6px}
.theme-cert .tc-train-top .tc-lbl{font-size:12px;color:var(--muted);font-weight:600}
.theme-cert .tc-train-top .tc-score{font-family:var(--font-display);font-size:44px;font-weight:500;line-height:1}
.theme-cert .tc-train-top .tc-score small{font-family:var(--font);font-size:15px;color:var(--muted);font-weight:500}
.theme-cert .tc-train-top .tc-band{margin-inline-start:auto;font-size:13px;font-weight:700;padding:4px 12px;border-radius:99px;background:var(--surface);box-shadow:inset 0 0 0 1.5px currentColor}
.theme-cert .tc-train-acts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.theme-cert .tc-train-acts .btn{height:48px;padding:0 8px;font-size:14.5px}
.theme-cert .tc-train-acts .btn.ghost{box-shadow:inset 0 0 0 1px var(--b)}
.theme-cert .tc-train-acts .tc-port{grid-column:1/-1;background:var(--surface);color:var(--b-ink);box-shadow:inset 0 0 0 1px var(--line)}
.theme-cert .tc-sub-h{display:flex;justify-content:space-between;align-items:baseline;margin:16px 0 4px;padding-bottom:6px;border-bottom:1px solid var(--line);
  font-family:var(--font-display);font-size:16px;font-weight:700}
.theme-cert .tc-sub-h small{font-family:var(--font);font-size:11.5px;font-weight:500;color:var(--muted)}
.theme-cert .minis{list-style:none;margin:0;padding:0}
.theme-cert .mini{display:grid;grid-template-columns:76px 1fr;align-items:center;gap:8px;padding:5px 0;border-bottom:1px solid var(--line-2);font-size:14px;font-weight:600}
.theme-cert .mini:last-child{border-bottom:0}
.theme-cert .mini-none{font-size:12.5px;font-weight:400;color:var(--muted)}
/* סולם השלבים — כמו בתיק ההתקדמות */
.theme-cert .ladder{position:relative;display:flex;justify-content:space-between;align-items:center;height:28px}
.theme-cert .ladder::before{content:"";position:absolute;inset-inline:6px;top:50%;height:1px;background:var(--line)}
.theme-cert .ladder .l{position:relative;z-index:1;flex:none;width:22px;display:grid;place-items:center;font-style:normal}
.theme-cert .ladder .l::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--line)}
.theme-cert .ladder .l.m::before{width:8px;height:8px;background:var(--c)}
.theme-cert .ladder .l.s::before{content:attr(data-n);width:17px;height:17px;border-radius:50%;background:var(--surface);box-shadow:inset 0 0 0 1.5px var(--c);color:var(--c);font:700 9.5px/17px var(--font);text-align:center}
.theme-cert .ladder .l.c::before{content:attr(data-n);width:22px;height:22px;border-radius:50%;background:var(--c);color:var(--t,#fff);font:700 11px/22px var(--font);text-align:center}

/* ===================== דוח אימון ===================== */
.theme-cert #screen-training>.range-tabs,.theme-cert #train-prog .range-tabs{display:flex;gap:0;margin:0 0 6px!important;border-bottom:1px solid var(--line)}
.theme-cert #screen-training>.range-tabs button,.theme-cert #train-prog .range-tabs button{flex:none;background:none;box-shadow:none;border-radius:0;color:var(--muted);
  font-size:14.5px;font-weight:600;padding:10px 4px;margin:0 0 -1px;margin-inline-end:22px;border-bottom:2px solid transparent}
.theme-cert #screen-training>.range-tabs button.on,.theme-cert #train-prog .range-tabs button.on{background:none;color:var(--text);border-bottom-color:var(--b)}
.theme-cert #train-prog .range-tabs{margin-top:6px!important}
.theme-cert .tr-hide{display:none!important}
.theme-cert .fm-l{font-size:12px;font-weight:600;color:var(--muted);margin:14px 0 0}
.theme-cert .fm-dogs{display:flex;gap:8px;padding:8px 0 8px;overflow-x:auto;scrollbar-width:none}
.theme-cert .fm-dogs::-webkit-scrollbar{display:none}
.theme-cert .fm-empty{font-size:13.5px;color:var(--muted);padding:10px 0}
.theme-cert .fd{flex:none;display:flex;align-items:center;gap:8px;height:44px;padding-inline:5px 14px;border:0;border-radius:99px;background:var(--surface);
  box-shadow:inset 0 0 0 1px var(--line);font-weight:600;font-size:14.5px;color:var(--text);cursor:pointer}
.theme-cert .fd .av{flex:none;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--b-soft);color:var(--b-ink);
  font-family:var(--font-display);font-weight:700;font-size:14px;object-fit:cover}
.theme-cert .fd.on{box-shadow:inset 0 0 0 1.5px var(--b);background:var(--b-soft);color:var(--b-ink)}
.theme-cert #train-report .frow{flex-wrap:wrap;gap:12px 14px;margin-top:8px}
.theme-cert #train-report .frow .field{flex:0 1 auto;margin-bottom:4px}
.theme-cert #train-report .frow .field:last-child{flex:1 1 200px}
.theme-cert #train-report .field label{font-size:12px;font-weight:600;color:var(--muted);margin-bottom:6px}
.theme-cert #t-date{height:40px;padding:0 12px;width:auto;font-size:14px;font-weight:600}
.theme-cert #session-num-wrap{font-size:12.5px!important;color:var(--muted)!important;font-weight:600!important}
.theme-cert #t-trainer{height:44px}
.theme-cert .chips-s{display:flex;flex-wrap:wrap;gap:6px}
.theme-cert .chips-s button{flex:none;display:flex;align-items:center;height:40px;padding:0 13px;border:0;border-radius:var(--r);background:var(--surface);
  box-shadow:inset 0 0 0 1px var(--line);font-size:14px;font-weight:600;color:var(--text);white-space:nowrap;cursor:pointer}
.theme-cert .chips-s button.on{background:var(--b);color:#fff;box-shadow:none}
.theme-cert .tc-dur-field #t-dur{display:none}
.theme-cert .tc-dur-field #t-dur.tr-show{display:block;width:96px;height:40px;margin-top:8px;padding:0 12px;text-align:center}
.theme-cert #t-location-other{margin-top:8px}
.theme-cert .tr-loc-field select,.theme-cert .tr-loc-field .cs-wrap{display:none!important}
/* כותרות הקטעים: "פקודות", "מיומנויות נלוות" */
.theme-cert #train-report .form-sec{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin:26px 0 10px;padding-bottom:8px;
  border-bottom:1px solid var(--text);color:var(--text);font-family:var(--font-display);font-size:21px;font-weight:700}
.theme-cert #train-report .form-sec small{font-family:var(--font);font-size:12.5px;color:var(--muted);font-weight:600}
/* מקרא השלבים בדוח האימון: מספר צבעוני + שם השלב, בשורות שעוטפות */
.theme-cert #train-report .tc-enh .stage-legend-box{margin:0 0 14px}
.theme-cert #train-report .stage-legend-strip{flex-wrap:wrap;overflow:visible}
.theme-cert #train-report .sl-cell{flex:1 0 calc(25% - 6px);flex-direction:row;justify-content:flex-start;gap:8px;padding:7px 9px;text-align:start}
.theme-cert #train-report .sl-cell-n{flex:none;color:#fff}
.theme-cert #train-report .sl-cell-t{font-size:12px;color:var(--text);font-weight:600}
/* כרטיס פקודה */
.theme-cert .cmd.tr-cmd{display:block;padding:16px 14px 12px;margin-bottom:8px;border-radius:var(--r);background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}
.theme-cert .tr-cmd .cname-col{display:flex;flex-direction:row;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap}
.theme-cert .tr-cmd .cname{font-family:var(--font-display);font-size:22px;font-weight:700}
.theme-cert .tr-cmd .cm-prev{font-size:12px;color:var(--muted)}
.theme-cert .tr-cmd select.stage-select,.theme-cert .tr-cmd .cs-wrap{display:none!important}
.theme-cert .tr-cmd .cm-l{font-size:12px;font-weight:600;color:var(--muted);margin:12px 0 6px}
.theme-cert .sp-row{display:flex;gap:4px;padding:3px 2px 8px;overflow-x:auto;scrollbar-width:none}
.theme-cert .sp{flex:1 0 30px;height:42px;padding:0;border:0;border-radius:9px;background:var(--surface);box-shadow:inset 0 0 0 1.5px var(--c);
  color:var(--c-ink,var(--c));font:700 15px var(--font);position:relative;cursor:pointer;touch-action:manipulation}
.theme-cert .sp.on{background:var(--c);color:var(--t,#fff);box-shadow:0 0 0 2px var(--surface),0 0 0 3.5px var(--c)}
.theme-cert .sp.prev::after{content:"";position:absolute;bottom:-7px;left:50%;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:var(--muted)}
.theme-cert .cm-sel{font-size:13.5px;font-weight:700;margin:4px 0 0;min-height:1em}
.theme-cert .cm-sel:empty{display:none}
.theme-cert .tr-cmd .seg{display:grid;grid-template-columns:auto repeat(5,1fr);gap:6px}
.theme-cert .tr-cmd .seg button{width:auto;height:46px;border:0;border-radius:9px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);
  font-family:var(--font-display);font-size:19px;font-weight:500;color:var(--text)}
.theme-cert .tr-cmd .seg button.snil{font-family:var(--font);font-size:12.5px;font-weight:600;color:var(--muted);padding:0 10px;min-width:0}
.theme-cert .tr-cmd .seg button.on{background:var(--text);border-color:var(--text);color:#fff;box-shadow:none}
.theme-cert .tr-cmd .seg button.snil.on{background:var(--line-2);color:var(--text);box-shadow:none}
.theme-cert .tr-cmd .cmd-note-btn,.theme-cert #report-skills .cmd-note-btn{border:0;box-shadow:none;background:none;padding:10px 0 2px;font-size:13.5px;font-weight:600;color:var(--b-ink)}
.theme-cert .tr-cmd .cmd-note-btn::before,.theme-cert #report-skills .cmd-note-btn::before{content:"+ "}
.theme-cert .cmd-note-btn.active{background:none;color:var(--b-ink)}
.theme-cert .cmd-note-wrap{padding:0 0 10px}
.theme-cert .cmd-note-input{border:0;box-shadow:inset 0 0 0 1px var(--line);border-radius:var(--r);padding:10px 12px;font-size:14px}
/* ציון הדוח */
.theme-cert .score-box{background:var(--surface);border:0;box-shadow:inset 0 0 0 1px var(--line);border-radius:var(--r);margin:12px 0 4px}
.theme-cert .score-title{color:var(--muted);font-weight:600}
.theme-cert .score-box .total{font-family:var(--font-display);font-size:36px;font-weight:500}
.theme-cert .score-box .max{font-weight:500}
.theme-cert .score-bar{height:4px;border-radius:2px;background:var(--line-2)}
.theme-cert .score-box .band{border-radius:99px;font-weight:700}
/* סרגלי השלבים / האיכות (כשמוצגים) */
.theme-cert .stage-legend-head{color:var(--muted);font-weight:600}
.theme-cert .sl-cell{background:var(--surface);border-color:var(--line);border-radius:var(--r)}
.theme-cert .sl-cell-n{border-radius:50%}
/* מיומנויות נלוות */
.theme-cert #report-skills .cmd{flex-wrap:wrap;row-gap:8px;padding:12px 14px;margin-bottom:8px;border-radius:var(--r);background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}
.theme-cert #report-skills .cname{font-size:15px;font-weight:600;flex:1 1 140px}
.theme-cert #report-skills input.cname{box-shadow:none}
.theme-cert #report-skills .seg{gap:4px;flex-wrap:wrap}
.theme-cert #report-skills .seg button{width:34px;height:36px;border:0;border-radius:8px;box-shadow:inset 0 0 0 1px var(--line);font-family:var(--font-display);font-size:16px;font-weight:500;color:var(--text)}
.theme-cert #report-skills .seg button.snil{width:auto;font-family:var(--font);font-size:12px;color:var(--muted)}
.theme-cert #report-skills .seg button.on{background:var(--text);color:#fff;box-shadow:none}
.theme-cert #report-skills .seg button.snil.on{background:var(--line-2);color:var(--text)}
.theme-cert .req-check{color:var(--muted)}
.theme-cert .req-check input{accent-color:var(--b)}
/* כפתורי השמירה — פס דביק מעל סרגל הלשוניות */
.theme-cert .tr-savebar{position:sticky;bottom:calc(env(safe-area-inset-bottom) + 64px);z-index:5;margin:18px -16px 0!important;padding:12px 16px 12px;
  background:var(--app-bg);border-top:1px solid var(--line)}
.theme-cert .tr-savebar .btn{height:52px;padding:0 10px;border-radius:var(--r);font-size:15.5px;font-weight:700}
.theme-cert .tr-savebar .btn+.btn{flex:0 1 40%!important;background:var(--surface)!important;color:var(--b-ink)!important;border:0!important;box-shadow:inset 0 0 0 1px var(--b)!important;font-size:14px}

/* ===================== התקדמות + דוחות ===================== */
.theme-cert .dog-select{padding:4px 0}
.theme-cert .dog-pick{height:40px;padding:0 14px}
.theme-cert .chart-summary{gap:0;border-top:1px solid var(--text);border-bottom:1px solid var(--line);background:var(--surface)}
.theme-cert .chart-summary .s{background:none;border-radius:0;box-shadow:none;padding:12px 6px}
.theme-cert .chart-summary .s+.s{border-inline-start:1px solid var(--line-2)}
.theme-cert .chart-summary .s .n{font-family:var(--font-display);font-size:28px;font-weight:500}
.theme-cert .chart-card{box-shadow:inset 0 0 0 1px var(--line);border-radius:var(--r);background:var(--surface)}
.theme-cert #rep-dog-select{gap:6px}
.theme-cert #rep-dog-select .fchip{height:40px;padding:0 14px}
.theme-cert #rep-score-card{padding:16px}
.theme-cert #rep-list .card{padding:14px}
.theme-cert #rep-empty{font-weight:500!important}

/* ===================== יומן ===================== */
.theme-cert .cal-head{font-family:var(--font-display);font-size:20px;font-weight:700}
.theme-cert .cal-nav-btn{background:var(--surface);border:0;box-shadow:inset 0 0 0 1px var(--line);border-radius:50%;width:32px;height:32px;color:var(--text)}
.theme-cert .cal-nav-btn:hover{background:var(--b);color:#fff}
.theme-cert .cal-grid{gap:3px}
.theme-cert .cal-cell{border-radius:var(--r);background:var(--surface);box-shadow:inset 0 0 0 1px var(--line-2);font-weight:500}
.theme-cert .cal-cell.empty{box-shadow:none;background:none}
.theme-cert .cal-cell.today{background:var(--b);color:#fff;font-weight:700;box-shadow:none}
.theme-cert .cal-cell.selected{outline-color:var(--b)}
.theme-cert .cal-tip{border:1px solid var(--line);border-radius:var(--r)}
.theme-cert .booking{border-bottom-color:var(--line-2)}
.theme-cert .booking .dt .d{font-family:var(--font-display);font-weight:500;font-size:22px}
.theme-cert #cal-day-panel{border:1px solid var(--line)!important;border-radius:var(--r2)!important}

/* ===================== חדרים ===================== */
.theme-cert .room-grid{gap:8px}
.theme-cert .room{border:1px solid var(--line);border-radius:var(--r2);box-shadow:none;background:var(--surface)}
.theme-cert .room .rt{font-family:var(--font-display);font-size:17px;font-weight:700}
.theme-cert .room .rt .st{font-family:var(--font)}
.theme-cert .room .occu .av{border-radius:50%}
.theme-cert .room .occu+.occu{border-top-color:var(--line-2)}
.theme-cert .room.free{border:1px dashed var(--line);background:none}
.theme-cert #rooms-date{box-shadow:inset 0 0 0 1px var(--line);border:0!important;border-radius:var(--r)!important;padding:7px 9px!important}

/* ===================== חצרות ===================== */
.theme-cert .yard-date-label{font-family:var(--font-display);font-size:24px;font-weight:700}
.theme-cert .yard-today-pill{color:var(--b-ink);background:var(--b-soft)}
.theme-cert .daypill{border-radius:var(--r);box-shadow:inset 0 0 0 1px var(--line);border:0}
.theme-cert .daypill .dd{font-family:var(--font-display);font-weight:500}
.theme-cert .daypill.on{background:var(--b)}
.theme-cert .daypill.today{box-shadow:inset 0 0 0 1.5px var(--b)}
.theme-cert .daypill.today.on{box-shadow:none}
.theme-cert .yard-add{border:1px dashed var(--b);background:var(--b-soft);color:var(--b-ink);border-radius:var(--r);font-weight:700}
.theme-cert #yard-view-toggle{border:1px solid var(--line)!important;border-radius:var(--r)!important}
.theme-cert .yvt.on{background:var(--b)}
.theme-cert .yard-card{border:1px solid var(--line);border-radius:var(--r2)}
.theme-cert .yslot{border-bottom-color:var(--line-2)}
.theme-cert .ytime .t{font-family:var(--font-display);font-weight:500;font-size:18px}
.theme-cert .ydogs .yd .av{border-radius:50%}
.theme-cert .recur-section,.theme-cert .reg-yard-slot{background:var(--surface);border:1px solid var(--line);border-radius:var(--r2)}
.theme-cert .recur-section-hdr{color:var(--text)}
.theme-cert .recur-row{border-bottom-color:var(--line-2)}
.theme-cert .add-yard-slot-btn{border:1px dashed var(--b);background:var(--b-soft);color:var(--b-ink);border-radius:var(--r)}

/* ===================== שעות עבודה ===================== */
.theme-cert #screen-worklog>div[style*="#F0F7ED"]{background:var(--surface)!important;border:1px solid var(--line)!important;border-radius:var(--r2)!important}
.theme-cert #screen-worklog>div[style*="#F0F7ED"] button{border:0!important;box-shadow:inset 0 0 0 1px var(--line);border-radius:50%!important;color:var(--text)!important;font-weight:500!important}
.theme-cert #wl-month-label{font-family:var(--font-display);font-weight:700!important;color:var(--text)!important;font-size:20px!important}

/* כפתורי "היום" / "על המפה" / יום קודם-הבא — כפתורי מתאר אחידים */
.theme-cert button[onclick^="setRoomsDate("],.theme-cert button[onclick^="openMapForRoomsDate"],
.theme-cert button[onclick^="setMapDate("],.theme-cert button[onclick^="shiftMapDate("]{
  background:var(--surface)!important;color:var(--b-ink)!important;border:0!important;box-shadow:inset 0 0 0 1px var(--line)!important;border-radius:var(--r)!important;font-weight:600!important;padding:7px 11px!important}

/* ===================== מפה ===================== */
.theme-cert .map-legend{background:var(--surface);border-bottom-color:var(--line);font-weight:600}
.theme-cert #map-datebar .btn{border-radius:var(--r)}

/* ===================== חלונות (הגדרות, מדדים, אישור) ===================== */
.theme-cert #settings-ov>div,.theme-cert #stat-modal-ov>div{border-radius:16px!important;background:var(--app-bg)!important}
.theme-cert #settings-ov>div>div:first-child>div:first-child{font-family:var(--font-display);font-weight:700!important;font-size:22px!important}
.theme-cert #settings-ov input,.theme-cert #settings-ov select{border:0!important;box-shadow:inset 0 0 0 1px var(--line);border-radius:var(--r)!important;background:var(--surface)!important}
.theme-cert #my-role{background:var(--b-soft)!important;border-color:var(--b-tint)!important;color:var(--b-ink)!important}

/* ===================== צבעים קשיחים מהקוד הישן (ירוק) → צבעי הערכה ===================== */
.theme-cert [style*="background:#2C6E1F"],.theme-cert [style*="background:linear-gradient(135deg,#2C6E1F"]{background:var(--b)!important}
.theme-cert [style*="color:#2C6E1F"],.theme-cert [style*="color:#1E4F15"]{color:var(--b-ink)!important}
.theme-cert [style*="border:1.5px solid #C8E6B0"],.theme-cert [style*="border:1px solid #C8E6B0"],.theme-cert [style*="border:2px solid #C8E6B0"]{border-color:var(--line)!important}
.theme-cert [style*="background:#F7FBF3"],.theme-cert [style*="background:#F0F9EA"],.theme-cert [style*="background:#F0FAF0"],.theme-cert [style*="background:#EAF3EA"]{background:var(--b-soft)!important}
.theme-cert [style*="border:1px solid #E0EFD3"],.theme-cert [style*="border-color:#A8D89A"]{border-color:var(--b-tint)!important}
.theme-cert [style*="border-radius:20px"]:not(.tag){border-radius:16px!important}

/* ===================== מחשב (768px ומעלה) ===================== */
@media (min-width:768px){
  .theme-cert .device{grid-template-rows:64px 1fr}
  .theme-cert .topbar{background:var(--bar);padding:0 36px;box-shadow:none;border-bottom:1px solid var(--line)}
  .theme-cert .content{scrollbar-color:var(--line) transparent}
  .theme-cert .content::-webkit-scrollbar-thumb{background:var(--line)}
  .theme-cert .screen{max-width:820px;margin-inline:auto}
  .theme-cert #screen-map{max-width:none}
  .theme-cert #screen-tv{max-width:none}   /* לוח המצב תופס את כל רוחב התוכן */
  .theme-cert .tabbar{background:var(--surface);border-inline-start:1px solid var(--line);padding:22px 12px}
  .theme-cert .tabbar button{font-size:15px;font-weight:600;color:var(--muted);border-radius:var(--r)}
  .theme-cert .tabbar button.on{background:var(--b-soft);color:var(--b-ink)}
  .theme-cert .tabbar button .ti{width:24px}
  .theme-cert .tabbar>a{border-radius:var(--r)!important;background:none!important;color:var(--b-ink)!important;box-shadow:inset 0 0 0 1px var(--line);font-weight:600!important}
  .theme-cert .tr-savebar{position:static;margin:18px 0 0!important;padding:12px 0 16px;border-radius:0;background:none;border-top:0;backdrop-filter:none}
  .theme-cert .stat-grid{grid-template-columns:repeat(6,1fr)}
  .theme-cert .stat{border-bottom:0}
  .theme-cert .stat+.stat{border-inline-start:1px solid var(--line)}
  .theme-cert .fab{border-radius:50%}
}

/* ===================== מסך הכניסה (login.html) ===================== */
html.theme-cert body:has(.lg-card){background:var(--app-bg);align-items:stretch;font-family:var(--font)}
.theme-cert .lg-card{max-width:420px;width:100%;margin:0 auto;padding:56px 30px 0;background:none;border:0!important;border-radius:0;box-shadow:none;
  display:flex;flex-direction:column;min-height:100vh}
.theme-cert .lg-card .logo-row{flex-direction:column;gap:6px;margin-bottom:0;text-align:center}
.theme-cert .lg-card .logo-row img{height:64px}
.theme-cert .lg-card .logo-text{text-align:center;margin-top:10px}
.theme-cert .lg-card .logo-text .t1{font-size:15px;font-weight:700;letter-spacing:.12em;color:var(--text)!important}
.theme-cert .lg-card .logo-text .t2{font-size:13px;font-weight:400;letter-spacing:0;color:var(--muted)!important}
.theme-cert .lg-card h2{font-family:var(--font-display);font-size:34px;font-weight:500;color:var(--text);margin:40px 0 28px;line-height:1.15}
.theme-cert .lg-card h2::after{content:"";display:block;width:48px;height:1px;background:var(--b);margin:14px auto 0}
.theme-cert .lg-card .field{margin-bottom:16px}
.theme-cert .lg-card label{font-size:13px;font-weight:600;color:#45464b;margin-bottom:6px}
.theme-cert .lg-card input:not([type=checkbox]){height:52px;border:0;border-radius:var(--r);background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);
  padding:0 16px;font:500 16px var(--font);color:var(--text)}
.theme-cert .lg-card input:not([type=checkbox]):focus{box-shadow:inset 0 0 0 1.5px var(--b)}
.theme-cert .lg-card #lg-pass{padding-left:70px!important}
.theme-cert .lg-card #lg-pass+button{font-size:0!important;left:14px!important;padding:6px 0!important}
.theme-cert .lg-card #lg-pass+button::after{font:600 13px var(--font);color:var(--b-ink)}
.theme-cert .lg-card #lg-pass[type=password]+button::after{content:"הצגה"}
.theme-cert .lg-card #lg-pass[type=text]+button::after{content:"הסתרה"}
.theme-cert .lg-card #remember-me{accent-color:var(--b)!important;width:20px!important;height:20px!important}
.theme-cert .lg-card #remember-me+label{font-size:14px!important;font-weight:500!important;color:var(--text)!important;margin:0}
.theme-cert .lg-card .btn{height:54px;padding:0;border-radius:var(--r);background:var(--b)!important;font:700 16.5px var(--font);margin-top:10px}
.theme-cert .lg-card a[onclick^="showForgot"]{font-size:14px!important;font-weight:600;text-decoration:none!important;color:var(--b-ink)!important}
.theme-cert .lg-card #forgot-panel{background:var(--surface)!important;border:0!important;box-shadow:inset 0 0 0 1px var(--line);border-radius:var(--r2)!important}
.theme-cert .lg-card .lg-foot{display:block;margin-top:auto;text-align:center;font-size:11.5px;color:var(--muted);padding:24px 0 30px;letter-spacing:.04em}
.lg-foot{display:none}

/* ===================== תיקונים נקודתיים ===================== */
/* תיבות סימון בתוך שדות טופס — בלי מסגרת השדה */
.theme-cert .field input[type=checkbox],.theme-cert .field input[type=radio]{box-shadow:none;border:0;width:auto;height:auto;accent-color:var(--b)}
.theme-cert input[type=checkbox],.theme-cert input[type=radio]{accent-color:var(--b)}
.theme-cert .yn button.on.no{background:var(--text)}
/* שדות שלא בתוך .field (חיפוש כלב חוזר, תאריכי מפה/חדרים, חלונות) */
.theme-cert #ret-phone,.theme-cert #map-date,.theme-cert #occ-check-date{height:44px;padding:0 12px!important;border:0!important;box-shadow:inset 0 0 0 1px var(--line);border-radius:var(--r)!important;background:var(--surface);font-size:15px;color:var(--text);outline:none}
.theme-cert #ret-phone+.btn{height:44px;width:auto}
/* ציונים בדוחות — ספרות התצוגה */
.theme-cert #rep-score-card [style*="font-size:32px"],.theme-cert #rep-list [style*="font-weight:900"]{font-family:var(--font-display)!important;font-weight:500!important}
.theme-cert #rep-score-card .band,.theme-cert #rep-list .band{border-radius:99px!important}
/* כותרות בחלונות */
.theme-cert #stat-modal-body>div:first-child[style*="font-weight:900"]{font-family:var(--font-display);font-weight:700!important;font-size:21px!important}
/* קוביות ציון ובורר שלב בחלון עריכת הדוח ובשאר המקומות */
.theme-cert .seg button{border:0;box-shadow:inset 0 0 0 1px var(--line);border-radius:8px;font-weight:600}
.theme-cert .seg button.on{box-shadow:none}
.theme-cert .stage-select{border:0;box-shadow:inset 0 0 0 1px var(--line);border-radius:var(--r);font-weight:600}
.theme-cert .stage-badge{border-radius:99px;font-weight:600}
.theme-cert .cmd-note-btn{border:0;box-shadow:inset 0 0 0 1px var(--line);border-radius:var(--r);font-weight:600}
/* מסך הכניסה: בלי לוגו מוגדר — עיגול בצבע המותג עם כף (הלוגו הירוק של Woofpen מוסתר) */
.theme-cert .lg-card .lg-paw{display:grid;place-items:center;width:72px;height:72px;margin:0 auto;border-radius:50%;background:var(--b);color:#fff}
.theme-cert .lg-card .logo-row img:not(.custom){display:none}

/* ===================== דפים ציבוריים: רישום (register.html), אימוץ (adopt.html), איפוס סיסמה ===================== */
html.theme-cert.pg-pub body{font-family:var(--font);background:var(--app-bg);background-image:none;color:var(--text);-webkit-font-smoothing:antialiased}
html.theme-cert.pg-pub button,html.theme-cert.pg-pub input,html.theme-cert.pg-pub textarea,html.theme-cert.pg-pub select{font-family:var(--font)}
/* --- רישום --- */
html.theme-cert.pg-register{--soft:var(--b-soft);--line:#E3E5E8;--ink:#1F2328;--muted:#5A6169}
.theme-cert.pg-register .hero{background:var(--surface);color:var(--text);border-bottom:1px solid var(--line);padding:34px 18px 26px}
.theme-cert.pg-register .hero h1{font-family:var(--font-display);font-size:30px;font-weight:700;color:var(--b-ink);line-height:1.2}
.theme-cert.pg-register .hero h1::after{content:"";display:block;width:56px;height:1px;background:var(--b);margin:14px auto 0}
.theme-cert.pg-register .hero p{color:var(--muted);opacity:1;margin-top:12px}
.theme-cert.pg-register .card{border:1px solid var(--line);border-right:1px solid var(--line);border-radius:var(--r2);box-shadow:none;padding:20px 18px 18px}
.theme-cert.pg-register .card h2{font-family:var(--font-display);font-size:20px;font-weight:700;color:var(--text);padding-bottom:8px;margin-bottom:6px;border-bottom:1px solid var(--line)}
.theme-cert.pg-register label{font-weight:600;color:#45464b}
.theme-cert.pg-register input:not([type=checkbox]):not([type=radio]),.theme-cert.pg-register textarea,.theme-cert.pg-register select{border:0;box-shadow:inset 0 0 0 1px var(--line);border-radius:var(--r);padding:11px 12px}
.theme-cert.pg-register input:focus,.theme-cert.pg-register textarea:focus,.theme-cert.pg-register select:focus{box-shadow:inset 0 0 0 1.5px var(--b)}
.theme-cert.pg-register input.invalid{box-shadow:inset 0 0 0 1.5px #c0392b}
.theme-cert.pg-register .seg button{border:0;box-shadow:inset 0 0 0 1px var(--line);border-radius:var(--r);font-weight:600;color:var(--text)}
.theme-cert.pg-register .seg button.on{background:var(--b);color:#fff;box-shadow:none}
.theme-cert.pg-register .photo-btn,.theme-cert.pg-register .sig-clear{border:0;box-shadow:inset 0 0 0 1px var(--line);border-radius:var(--r);color:var(--b-ink)}
.theme-cert.pg-register .agree-text,.theme-cert.pg-register .sig-canvas{border:1px solid var(--line);border-radius:var(--r);background:var(--surface)}
.theme-cert.pg-register .agree-text h3{font-family:var(--font-display);color:var(--text)}
.theme-cert.pg-register input[type=checkbox]{accent-color:var(--b)}
.theme-cert.pg-register .submit{border-radius:var(--r);background:var(--b);box-shadow:none;font-weight:700}
.theme-cert.pg-register .done h2{font-family:var(--font-display);color:var(--b-ink)}
/* --- אימוץ --- */
.theme-cert.pg-adopt .header{background:var(--surface)!important;color:var(--text);border-bottom:1px solid var(--line)}
.theme-cert.pg-adopt .header h1{font-family:var(--font-display);font-weight:700;color:var(--b-ink)}
.theme-cert.pg-adopt .header p{color:var(--muted);opacity:1}
.theme-cert.pg-adopt .header img[src="/logo.png"]{display:none}
.theme-cert.pg-adopt .intro{border:1px solid var(--line)!important;border-radius:var(--r2);box-shadow:none}
.theme-cert.pg-adopt .intro h2{font-family:var(--font-display);font-weight:700}
.theme-cert.pg-adopt .count-badge{background:var(--b)!important}
.theme-cert.pg-adopt .dog-card{border:1px solid var(--line);border-radius:var(--r2);box-shadow:none}
.theme-cert.pg-adopt .dog-card:hover{transform:none;box-shadow:0 10px 30px -14px rgba(40,35,20,.25)}
.theme-cert.pg-adopt .card-top{background:var(--b-soft)!important}
.theme-cert.pg-adopt .card-name{font-family:var(--font-display);font-weight:700;color:var(--b-ink)}
.theme-cert.pg-adopt .card-breed{color:var(--muted)}
.theme-cert.pg-adopt .card-hover-info{background:color-mix(in oklab,var(--b) 88%,transparent)}
.theme-cert.pg-adopt .section-label{color:var(--muted)!important;letter-spacing:.04em}
.theme-cert.pg-adopt .info-chip{background:var(--surface-2);color:var(--text)!important}
.theme-cert.pg-adopt .details-toggle{border:0;box-shadow:inset 0 0 0 1px var(--line);color:var(--b-ink)!important;border-radius:99px}
.theme-cert.pg-adopt .contact-btn,.theme-cert.pg-adopt .modal-send{background:var(--b)!important;border-radius:var(--r)}
.theme-cert.pg-adopt .adopted-banner span{background:var(--b)!important}
.theme-cert.pg-adopt .footer{background:var(--surface)!important;color:var(--muted);border-top:1px solid var(--line)}
.theme-cert.pg-adopt .footer a{color:var(--b-ink)!important}
.theme-cert.pg-adopt .modal{border-radius:16px;background:var(--app-bg)}
.theme-cert.pg-adopt .modal h3{font-family:var(--font-display);font-weight:700}
.theme-cert.pg-adopt .modal input,.theme-cert.pg-adopt .modal textarea{border:0;box-shadow:inset 0 0 0 1px var(--line);border-radius:var(--r)}
.theme-cert.pg-adopt .modal-success p{color:var(--b-ink)!important}
/* --- איפוס סיסמה --- */
.theme-cert.pg-reset .card{border:0;box-shadow:none;background:none;max-width:400px}
.theme-cert.pg-reset .logo{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 14px;border-radius:50%;background:var(--b);color:#fff;font-size:28px}
.theme-cert.pg-reset h1{font-family:var(--font-display);font-size:28px;font-weight:700;color:var(--text)}
.theme-cert.pg-reset input{height:50px;border:0;box-shadow:inset 0 0 0 1px var(--line);border-radius:var(--r);background:var(--surface)}
.theme-cert.pg-reset input:focus{box-shadow:inset 0 0 0 1.5px var(--b)}
.theme-cert.pg-reset button{height:52px;background:var(--b);border-radius:var(--r);font-weight:700}
.theme-cert.pg-reset button:hover{background:var(--b-ink)}
.theme-cert.pg-reset .logo{font-size:0}
.theme-cert.pg-reset .logo::after{content:"";width:28px;height:28px;background:#fff;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='5.6' cy='10.2' r='2.1'/%3E%3Ccircle cx='9.2' cy='5.8' r='2.1'/%3E%3Ccircle cx='14.8' cy='5.8' r='2.1'/%3E%3Ccircle cx='18.4' cy='10.2' r='2.1'/%3E%3Cpath d='M12 11.2c-3 0-6 4-6 6.6 0 2 1.6 2.9 3.3 2.3 1-.3 1.8-.8 2.7-.8s1.7.5 2.7.8c1.7.6 3.3-.3 3.3-2.3 0-2.6-3-6.6-6-6.6z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='5.6' cy='10.2' r='2.1'/%3E%3Ccircle cx='9.2' cy='5.8' r='2.1'/%3E%3Ccircle cx='14.8' cy='5.8' r='2.1'/%3E%3Ccircle cx='18.4' cy='10.2' r='2.1'/%3E%3Cpath d='M12 11.2c-3 0-6 4-6 6.6 0 2 1.6 2.9 3.3 2.3 1-.3 1.8-.8 2.7-.8s1.7.5 2.7.8c1.7.6 3.3-.3 3.3-2.3 0-2.6-3-6.6-6-6.6z'/%3E%3C/svg%3E") center/contain no-repeat}

/* הסבר קצר מתחת לכל סרגל בכרטיס הכלב + מקרא שלבי האילוף (2.10.2026) */
.theme-cert .bar-hint{display:block;font-size:12px;line-height:1.45;color:var(--muted);margin-top:8px}
.theme-cert .tr-legend{margin-top:10px}
.theme-cert .tr-legend .sl-cell{flex:1 0 64px;padding:6px 4px;border-radius:10px}
@media(max-width:600px){.theme-cert .tr-legend{flex-wrap:wrap;overflow:visible}.theme-cert .tr-legend .sl-cell{flex:1 0 calc(25% - 6px)}}

/* ===== בית "שקט" בסגנון המאלפים: ברכה עם שם, פס מדדים עם קו עליון, בלי רקעים צבעוניים ===== */
.theme-cert.home-quiet #screen-home .hero-box{background:none;padding:0;margin:10px 0 6px;border-radius:0}
.theme-cert.home-quiet #screen-home .hero-line{display:none}
.theme-cert.home-quiet #screen-home .hero-greet{font-family:var(--font-display);font-size:32px;font-weight:700;margin:12px 0 2px}
.theme-cert.home-quiet #screen-home #today-str{margin:0 0 18px!important}
.theme-cert.home-quiet .stat-grid{background:none;box-shadow:none;border-radius:0;border-top:1px solid var(--text);border-bottom:1px solid var(--line)}
.theme-cert.home-quiet .stat .ic{display:none}
.theme-cert.home-quiet .stat .n{font-family:var(--font-display);font-size:30px;font-weight:600}
.theme-cert.home-quiet .stat [id$="-badges"] span{background:none!important;padding:0!important}
.theme-cert.home-quiet .stat .t{font-size:12px;font-weight:500;color:var(--muted)}
.theme-cert.home-quiet .section-t{font-family:var(--font-display);font-size:20px;font-weight:700}
.theme-cert.home-quiet .quick a .qi,.theme-cert.home-quiet .quick a.tc-only .qi{background:var(--b-soft);color:var(--b)}

/* ===== דף הכלבים בסגנון המאלפים: כותרת גדולה + כפתור "+ כלב חדש", חיפוש עם אייקון קו, עיגול אות ===== */
.theme-cert .pg-h{display:flex;align-items:center;justify-content:space-between;padding:16px 0 14px}
.theme-cert .pg-h h2{font-family:var(--font-display);font-size:32px;font-weight:500;margin:0;line-height:1.1}
.theme-cert .btn-sm{display:inline-flex;align-items:center;gap:5px;height:36px;padding:0 14px;border:0;border-radius:99px;background:var(--b);color:#fff;font-weight:700;font-size:13.5px;cursor:pointer;font-family:var(--font)}
.theme-cert #screen-dogs .search{height:48px;margin:0;padding:0 14px;border-radius:var(--r);background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);color:var(--muted)}
.theme-cert #screen-dogs .search>span{font-size:0;width:18px;height:18px;flex:none;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E") center/contain no-repeat}
.theme-cert #screen-dogs .search input{font-size:15px}
.theme-cert .dog-card .avatar.mono{background:var(--b-soft)!important;color:var(--b-ink);font-family:var(--font-display);font-weight:600;font-size:18px;display:grid;place-items:center}

/* ===================== תפריט צף בתחתית + המבורגר (טלפון, 6.10.2026, הועבר מגרין דוג) =====================
   פריסה כמו אפליקציה: המסך בגובה החלון והתוכן גולל בתוך .content, והתפריט הוא פריט תחתון בעמודה (לא position:fixed).
   כך הוא נשאר בתחתית גם בגלילה בכל דפדפן בטלפון (בגרין דוג הרצועה "עלתה" באמצע המסך בגלילה בטלפון אמיתי).
   להחזרה לסרגל הקבוע: למחוק מכאן עד סוף הקובץ. */
.tc-burger{display:none}
#hb-menu{display:none}
@media (max-width:767px){
  html.theme-cert,.theme-cert body{height:100%}
  .theme-cert body{height:100vh;height:100dvh;min-height:0;overflow:hidden}
  .theme-cert .device{height:100vh;height:100dvh;min-height:0;overflow:hidden}
  .theme-cert .topbar{position:relative;top:auto;flex:none}
  .theme-cert .content{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:14px 16px 16px}
  .theme-cert .tabbar{position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;width:auto!important;max-width:none!important;flex:none;
    margin:0 10px calc(env(safe-area-inset-bottom) + 10px);border:1px solid var(--line)!important;border-radius:22px;box-shadow:0 8px 28px rgba(0,0,0,.14);background:var(--surface);padding:6px 4px}
  .tc-burger{display:grid;place-items:center;flex:none;width:36px;height:34px;border:0;border-radius:10px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);font-size:18px;color:var(--text);cursor:pointer;font-family:inherit}
  #hb-menu{position:fixed;top:62px;left:auto;right:12px;z-index:95;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.22);padding:6px;min-width:190px;direction:rtl}
  #hb-menu a{display:flex;align-items:center;gap:12px;font-size:15px;font-weight:600;padding:12px 14px;border-radius:12px;text-decoration:none;color:var(--b-ink,#1a1a1a)}
  #hb-menu a:hover{background:var(--b-soft,#eee)}
  #hb-menu .hb-i{font-size:20px;width:26px;text-align:center}
  body.hb-open #hb-menu{display:block}
  .nav-scrim{position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:94;display:none}
  body.hb-open .nav-scrim{display:block}
  .theme-cert .fab{display:none}
}
