/* LegalFlow V4 UI - Author: Pablo Rotem - 2026-09-26 */
:root{--lf:#0e63cf;--lf2:#0a4ca3;--ink:#172236;--muted:#687386;--line:#e3e8ef;--bg:#f5f7fa;--card:#fff}
.lfv7-wrap{max-width:1240px;margin:28px auto;padding:0 16px;color:var(--ink);font-family:Arial,Helvetica,sans-serif}.lfv7-wrap *{box-sizing:border-box}
.lfv7-searchbox{background:linear-gradient(135deg,#0b3f82,#116bd6);color:#fff;padding:30px;border-radius:22px}.lfv7-searchbox h1{color:#fff;margin-top:0}
.lfv7-searchgrid{display:grid;grid-template-columns:2fr repeat(5,1fr) auto;gap:9px}.lfv7-searchgrid input,.lfv7-searchgrid select,.lfv7-filterbar input,.lfv7-filterbar select,.lfv7-formcard input,.lfv7-formcard textarea,.lfv7-formcard select,.lfv7-panel input,.lfv7-panel textarea,.lfv7-panel select{width:100%;padding:11px;border:1px solid var(--line);border-radius:10px;background:#fff}
.lfv7-searchgrid button,.lfv7-primary,.lfv7-panel button,.lfv7-filterbar button{border:0;background:var(--lf);color:#fff;padding:11px 16px;border-radius:10px;font-weight:700;cursor:pointer}.lfv7-secondary{display:inline-block;background:#fff;color:var(--ink);border:1px solid var(--line);padding:9px 12px;border-radius:9px}.small{padding:5px 9px;font-size:12px}
.lfv7-results{margin-top:22px}.lfv7-lawyer-card{display:grid;grid-template-columns:185px 1fr;gap:20px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;margin-bottom:15px;box-shadow:0 6px 20px rgba(20,40,70,.04)}.lfv7-photo{height:180px;overflow:hidden;border-radius:14px;background:#edf1f6}.lfv7-photo img{width:100%;height:100%;object-fit:cover;object-position:center top}.lfv7-avatar{height:100%;display:flex;align-items:center;justify-content:center;font-size:55px}.lfv7-cardhead{display:flex;justify-content:space-between;gap:12px}.lfv7-cardhead h2{margin:0 0 8px}.lfv7-badge{display:inline-block;background:#e8f7ef;color:#166847;padding:5px 9px;border-radius:999px;font-size:12px}.lfv7-badge.blue{background:#eaf2ff;color:#1359aa}.lfv7-rating{color:#a86600;font-weight:800}.lfv7-chips{display:flex;flex-wrap:wrap;gap:6px}.lfv7-chips span{background:#eef5ff;color:#174f96;padding:5px 9px;border-radius:999px;font-size:12px}.lfv7-actions{margin-top:14px}
.lfv7-panel,.lfv7-formcard{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:0 6px 20px rgba(20,40,70,.04)}.lfv7-formcard{max-width:720px;margin:auto}.lfv7-formcard label,.lfv7-panel label{display:block;font-weight:700;margin:11px 0 5px}.lfv7-formcard textarea,.lfv7-panel textarea{min-height:100px}
.lfv7-dashhead{display:flex;justify-content:space-between;align-items:center;gap:15px}.lfv7-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0}.lfv7-tabs a{padding:9px 12px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink)}.lfv7-tabs a.active{background:var(--lf);color:#fff}
.lfv7-kpi-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:18px}.lfv7-kpi-grid>div,.lfv7-stats>div{background:#fff;border:1px solid var(--line);border-radius:15px;padding:17px}.lfv7-kpi-grid span{display:block;color:var(--muted);font-size:13px}.lfv7-kpi-grid strong{display:block;font-size:24px;margin-top:6px}.lfv7-grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.lfv7-funnel-row{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:10px 0}
.lfv7-filterbar{display:grid;grid-template-columns:2fr repeat(6,1fr) auto;gap:7px;margin-bottom:10px}.lfv7-toolbar{display:flex;justify-content:flex-end;margin:8px 0}.lfv7-tablewrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:15px}.lfv7-datatable{width:100%;border-collapse:collapse}.lfv7-datatable th,.lfv7-datatable td{padding:11px;border-bottom:1px solid var(--line);text-align:start;white-space:nowrap}.lfv7-score{display:inline-flex;min-width:34px;height:34px;align-items:center;justify-content:center;border-radius:50%;font-weight:800}.score-hot{background:#ffe9e9;color:#a20e0e}.score-warm{background:#fff3d8;color:#855600}.score-cold{background:#edf2f7;color:#516174}.lfv7-priority{padding:5px 8px;border-radius:999px;font-size:12px}.p-urgent{background:#ffe6e6;color:#9d0000}.p-hot{background:#fff0dd;color:#9a5100}.p-normal{background:#eef5ff;color:#164f96}.p-low{background:#f1f3f5;color:#586473}.lfv7-modal-panel{margin-top:20px}.lfv7-timeline{border-inline-start:3px solid #d4dce8;padding-inline-start:12px;margin:13px 0}.lfv7-firmgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
@media(max-width:1050px){.lfv7-searchgrid,.lfv7-filterbar{grid-template-columns:repeat(2,1fr)}.lfv7-kpi-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:720px){.lfv7-searchgrid,.lfv7-filterbar,.lfv7-kpi-grid,.lfv7-grid2,.lfv7-firmgrid{grid-template-columns:1fr}.lfv7-lawyer-card{grid-template-columns:105px 1fr}.lfv7-photo{height:125px}.lfv7-cardhead{display:block}}
.lfv7-listrow{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.lfv7-matter-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.lfv7-matter-kpis>div{background:#f8fafc;border:1px solid var(--line);border-radius:12px;padding:14px}.lfv7-matter-kpis strong{display:block;font-size:20px;margin-top:5px}
@media(max-width:720px){.lfv7-matter-kpis{grid-template-columns:1fr}}


/* V7.3 dependent speciality autocomplete */
.lfv7-speciality-picker{display:grid;gap:8px;min-width:0}
.lfv7-ac-field{position:relative;min-width:0}
.lfv7-ac-field>input[type="text"]{width:100%;box-sizing:border-box}
.lfv7-ac-menu{
  position:absolute;z-index:9999;inset-inline:0;top:calc(100% + 4px);
  max-height:290px;overflow:auto;background:#fff;border:1px solid #ccd3da;
  border-radius:8px;box-shadow:0 10px 30px rgba(0,0,0,.14);padding:6px
}
.lfv7-ac-option{
  display:block;width:100%;text-align:start;border:0;background:transparent;
  padding:9px 10px;border-radius:6px;cursor:pointer;font:inherit
}
.lfv7-ac-option:hover,.lfv7-ac-option:focus{background:#f0f4f7}
.lfv7-ac-check{
  display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:6px;
  cursor:pointer
}
.lfv7-ac-check:hover{background:#f0f4f7}
.lfv7-ac-check input{width:auto!important;min-width:auto!important}
.lfv7-ac-empty{padding:10px;color:#717b85}
.lfv7-speciality-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}
.lfv7-speciality-chip{
  display:inline-flex;align-items:center;gap:6px;background:#eef3f7;
  border:1px solid #d4dde4;border-radius:999px;padding:5px 9px;font-size:13px
}
.lfv7-speciality-chip button{
  border:0;background:transparent;cursor:pointer;font-size:18px;line-height:1;
  padding:0;color:#555
}
.lfv7-speciality-child-search:disabled{background:#eef1f3;color:#8a9299;cursor:not-allowed}


/* ============================================================
 * LegalFlow V7.5 Lawyer Dashboard Hebrew UX
 * Pablo Rotem - 2026-09-28
 * ============================================================ */
.lfv75-dashboard{
  direction:rtl;
  text-align:right;
  max-width:1380px;
}
.lfv75-dashboard input,
.lfv75-dashboard select,
.lfv75-dashboard textarea,
.lfv75-dashboard button{
  font-family:Arial,Helvetica,sans-serif;
}
.lfv75-dashhead{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  padding:24px 26px;
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(135deg,#ffffff,#f2f7fc);
  box-shadow:0 8px 28px rgba(22,49,82,.06);
}
.lfv75-dashhead h1{
  margin:2px 0 4px;
  font-size:32px;
  color:#163d67;
}
.lfv75-eyebrow{
  margin:0;
  font-size:12px;
  font-weight:800;
  color:#0e63cf;
  letter-spacing:.2px;
}
.lfv75-subtitle{
  margin:0;
  color:var(--muted);
  font-size:15px;
}
.lfv75-head-actions{
  display:flex;
  gap:8px;
}
.lfv75-helpstrip{
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin:14px 0;
  padding:12px 16px;
  border:1px solid #cae0f7;
  border-radius:12px;
  background:#edf6ff;
  color:#26445f;
  line-height:1.65;
  font-size:13px;
}
.lfv75-helpstrip strong{white-space:nowrap;color:#0c579e}
.lfv75-tabs{
  padding:10px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  position:sticky;
  top:8px;
  z-index:20;
  box-shadow:0 5px 18px rgba(30,50,80,.05);
}
body.admin-bar .lfv75-tabs{top:40px}
.lfv75-tabs a{
  font-size:13px;
  font-weight:700;
}
.lfv75-section-intro{
  margin:18px 0 14px;
  padding:17px 20px;
  border-right:4px solid var(--lf);
  border-radius:12px;
  background:#fff;
  box-shadow:0 4px 16px rgba(20,40,70,.04);
}
.lfv75-section-intro.compact{margin-top:0}
.lfv75-section-intro h2{
  margin:0 0 5px;
  color:#173c63;
  font-size:24px;
}
.lfv75-section-intro p{
  margin:0;
  color:#657182;
  line-height:1.7;
  font-size:14px;
}
.lfv75-kpi-grid>div{
  min-height:120px;
  position:relative;
}
.lfv75-kpi-grid small{
  display:block;
  margin-top:8px;
  color:#8993a0;
  font-size:11px;
  line-height:1.45;
}
.lfv75-panel-head{
  display:flex;
  justify-content:space-between;
  gap:15px;
  align-items:flex-start;
  margin-bottom:14px;
}
.lfv75-panel-head h2,
.lfv75-panel-head h3{
  margin:0 0 4px;
}
.lfv75-panel-head p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
}
.lfv75-help{
  margin:0 0 12px;
  color:#6f7a86;
  font-size:13px;
  line-height:1.65;
}
.lfv75-empty{
  margin:10px 0;
  padding:14px;
  border:1px dashed #ccd5df;
  border-radius:10px;
  color:#7a8490;
  background:#fafbfc;
}
.lfv75-form{
  display:grid;
  gap:10px;
}
.lfv75-form.compact{gap:8px}
.lfv75-form label{
  margin:0;
  color:#273548;
}
.lfv75-form label small{
  display:block;
  margin-top:3px;
  color:#87909b;
  font-weight:400;
  font-size:11px;
  line-height:1.4;
}
.lfv75-form input,
.lfv75-form select,
.lfv75-form textarea{
  border-radius:8px!important;
  padding:10px 11px!important;
}
.lfv75-form textarea{
  min-height:88px;
  resize:vertical;
}
.lfv75-form-grid2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.lfv75-fieldset{
  margin:4px 0 8px;
  padding:14px;
  border:1px solid #dce3ea;
  border-radius:12px;
  background:#fbfcfd;
}
.lfv75-fieldset legend{
  padding:0 8px;
  font-weight:800;
  color:#174f85;
}
.lfv75-new-client-fields{
  display:grid;
  gap:10px;
  margin-top:10px;
  padding-top:10px;
  border-top:1px dashed #d7dfe7;
}
.lfv75-inline-field{
  display:grid!important;
  gap:4px;
  margin:0!important;
  font-size:11px;
  color:#738091;
}
.lfv75-inline-field input{margin:0}
.lfv75-filterbar{
  grid-template-columns:1.8fr 1fr 1fr 1fr 1fr 1fr auto;
  align-items:end;
}
.lfv75-detail-panel{margin-top:18px}
.lfv75-convert-form{
  display:grid;
  grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto;
  gap:14px;
  align-items:center;
}
.lfv75-convert-form h3{margin:0 0 3px}
.lfv75-convert-form p{margin:0;color:var(--muted);font-size:12px}
.lfv75-status{
  display:inline-block;
  border-radius:999px;
  padding:5px 9px;
  background:#eef4fb;
  color:#245d91;
  font-size:11px;
  font-weight:700;
}
.lfv75-matter-center{margin-top:18px}
.lfv75-matter-columns{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-top:16px;
}
.lfv75-subpanel{
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px;
  background:#fbfcfe;
}
.lfv75-subpanel h3{margin:0 0 10px;color:#1c466f}
.lfv75-check,
.lfv75-required-check{
  display:flex!important;
  flex-direction:row!important;
  align-items:center;
  gap:7px;
  margin:4px 0!important;
  font-weight:600!important;
}
.lfv75-check input,
.lfv75-required-check input{
  width:17px!important;
  min-width:17px!important;
  height:17px!important;
  margin:0!important;
  padding:0!important;
}
.lfv75-inline-action{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:end;
}
.lfv75-inline-action label{margin:0}
.lfv75-inline-action input{width:120px!important}
.lfv75-wide-panel{margin-top:18px}
.lfv75-separator{
  border:0;
  border-top:1px solid var(--line);
  margin:22px 0;
}
.lfv75-codearea{
  min-height:240px!important;
  direction:rtl;
  font-family:Arial,Helvetica,sans-serif!important;
}
.lfv75-helpbox{
  padding:12px 14px;
  border:1px solid #cfe1f3;
  border-radius:10px;
  background:#f0f7fd;
  color:#38536d;
  font-size:12px;
  line-height:1.65;
}
.lfv75-helpbox p{margin:4px 0}
.lfv75-helpbox code{
  display:inline-block;
  margin:3px 2px;
  padding:3px 6px;
  border-radius:5px;
  background:#fff;
  border:1px solid #d9e4ee;
  direction:ltr;
}
.lfv75-info-card{
  margin-top:16px;
  padding:18px;
  border:1px solid #d8e1e8;
  border-radius:15px;
  background:#fff;
}
.lfv75-info-card.large{
  padding:25px;
  font-size:15px;
  line-height:1.8;
}
.lfv75-info-card h2,
.lfv75-info-card h3{margin-top:0;color:#174b7c}
.lfv75-template-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:10px;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid var(--line);
}
.lfv75-template-card span{color:#5f6b78}
.lfv75-template-card small{
  border-radius:999px;
  padding:4px 8px;
  background:#eef4fa;
  color:#47647f;
}
.lfv75-builder{
  margin-top:5px;
  border:1px solid #d9e1e8;
  border-radius:12px;
  overflow:hidden;
}
.lfv75-builder-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:11px 13px;
  background:#f3f6f9;
  border-bottom:1px solid #d9e1e8;
}
.lfv75-builder-rows{
  display:grid;
  gap:0;
}
.lfv75-builder-row{
  display:grid;
  grid-template-columns:150px minmax(0,1fr) 36px;
  gap:10px;
  align-items:end;
  padding:12px;
  border-bottom:1px solid #edf0f3;
}
.lfv75-builder-row:last-child{border-bottom:0}
.lfv75-builder-row label{font-size:12px}
.lfv75-builder-row input,
.lfv75-builder-row select{margin-top:5px}
.lfv75-intake-row{
  grid-template-columns:180px minmax(0,1fr) 90px 36px;
}
.lfv75-required-check{
  align-self:center;
  margin-bottom:10px!important;
}
.lfv75-remove-row{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  padding:0!important;
  border-radius:50%!important;
  background:#fff1f1!important;
  color:#a52a2a!important;
  border:1px solid #f0caca!important;
  font-size:20px!important;
}
.lfv75-dashboard .lfv7-tablewrap{
  border-radius:12px;
}
.lfv75-dashboard .lfv7-datatable th{
  background:#f4f7fa;
  color:#36506a;
  font-size:12px;
}
.lfv75-dashboard .lfv7-datatable td{
  font-size:13px;
}
.lfv75-dashboard .lfv7-listrow{
  align-items:center;
}
.lfv75-dashboard .lfv7-listrow form{margin:0}
@media(max-width:1100px){
  .lfv75-filterbar{grid-template-columns:repeat(3,1fr)}
  .lfv75-kpi-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:800px){
  .lfv75-dashhead{display:block}
  .lfv75-head-actions{margin-top:12px}
  .lfv75-helpstrip{display:block}
  .lfv75-helpstrip strong{display:block;margin-bottom:4px}
  .lfv75-tabs{position:static}
  .lfv75-form-grid2,
  .lfv75-matter-columns,
  .lfv75-convert-form{grid-template-columns:1fr}
  .lfv75-builder-row,
  .lfv75-intake-row{grid-template-columns:1fr}
  .lfv75-remove-row{justify-self:start}
  .lfv75-template-card{grid-template-columns:1fr}
}
@media(max-width:600px){
  .lfv75-filterbar{grid-template-columns:1fr}
  .lfv75-kpi-grid{grid-template-columns:1fr 1fr}
}

/* V7.6 lawyer profile editor - Pablo Rotem 2026-09-28 */
.lfv76-profile-edit{max-width:1100px;margin:30px auto;padding:0 16px;color:#26323b}.lfv76-profile-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:20px}.lfv76-profile-head h1{margin:0 0 6px;color:#174f80}.lfv76-profile-head p{margin:0;color:#65717a}.lfv76-profile-score{min-width:120px;text-align:center;padding:14px;border:1px solid #d9e1e6;background:#fff}.lfv76-profile-score strong{display:block;font-size:30px;color:#174f80}.lfv76-profile-score span{font-size:12px;color:#667}.lfv76-success{padding:12px 15px;margin-bottom:16px;background:#e9f7ed;border:1px solid #b8dfc0;color:#256b34}.lfv76-profile-form{display:grid;gap:16px}.lfv76-card{background:#fff;border:1px solid #dce3e8;padding:20px}.lfv76-card h2{margin:0 0 5px;color:#174f80}.lfv76-help{margin:0 0 18px;color:#6c7780}.lfv76-grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.lfv76-card label{display:grid;gap:6px;font-weight:700}.lfv76-card input,.lfv76-card select,.lfv76-card textarea{width:100%;box-sizing:border-box;border:1px solid #cbd5dc;background:#fff;padding:10px 12px;font:inherit}.lfv76-card textarea{resize:vertical}.lfv76-card select[multiple]{padding:6px;min-height:170px}.lfv76-card small{font-weight:400;color:#7a858d;line-height:1.45}.lfv76-current-photo{display:flex;gap:10px;align-items:center;margin-top:14px;color:#667}.lfv76-current-photo img{width:72px;height:72px;object-fit:cover;border-radius:50%}.lfv76-checks{display:flex;flex-wrap:wrap;gap:18px;margin-top:16px}.lfv76-checks label{display:flex;align-items:center;gap:7px}.lfv76-checks input{width:auto}.lfv76-savebar{position:sticky;bottom:0;z-index:15;display:flex;align-items:center;gap:12px;padding:14px 16px;background:#fff;border:1px solid #d5dde3;box-shadow:0 -2px 10px rgba(0,0,0,.06)}.lfv76-primary,.lfv76-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:0;text-decoration:none;font-weight:800}.lfv76-primary{background:#f58212;color:#fff;cursor:pointer}.lfv76-secondary{border:1px solid #174f80;color:#174f80;background:#fff}.lfv76-savebar span{color:#6d7780}@media(max-width:720px){.lfv76-profile-head{display:block}.lfv76-profile-score{margin-top:12px}.lfv76-grid2{grid-template-columns:1fr}.lfv76-savebar{flex-wrap:wrap}}


/* ============================================================
 * LegalFlow V7.7 – CRM workspace redesign
 * Pablo Rotem - 2026-09-28
 * ============================================================ */

.lfv77-crm-shell{
  display:grid;
  grid-template-columns:245px minmax(0,1fr);
  gap:22px;
  align-items:start;
  margin-top:18px;
}

.lfv77-crm-sidebar{
  position:sticky;
  top:18px;
  background:#173e5e;
  color:#fff;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(18,51,75,.12);
}

.lfv77-sidebar-profile{
  display:flex;
  gap:11px;
  align-items:center;
  padding:18px 16px;
  background:#12344f;
  border-bottom:1px solid rgba(255,255,255,.1);
}

.lfv77-sidebar-profile img,
.lfv77-avatar-fallback{
  width:46px;
  height:46px;
  border-radius:50%;
  object-fit:cover;
  flex:0 0 46px;
}

.lfv77-avatar-fallback{
  display:flex;
  align-items:center;
  justify-content:center;
  background:#ef7d00;
  font-size:22px;
  font-weight:900;
}

.lfv77-sidebar-profile strong{
  display:block;
  line-height:1.3;
}

.lfv77-sidebar-profile small{
  display:block;
  margin-top:3px;
  color:#bfd0dc;
}

.lfv77-side-tabs{
  display:block!important;
  padding:8px!important;
  background:transparent!important;
  border:0!important;
  overflow:visible!important;
}

.lfv77-side-tabs a{
  display:block!important;
  width:100%!important;
  box-sizing:border-box!important;
  margin:2px 0!important;
  padding:9px 11px!important;
  text-align:right!important;
  border:0!important;
  border-radius:5px!important;
  color:#dbe7ee!important;
  background:transparent!important;
  font-size:14px!important;
  font-weight:600!important;
}

.lfv77-side-tabs a:hover{
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
}

.lfv77-side-tabs a.active{
  background:#fff!important;
  color:#174f80!important;
  font-weight:900!important;
}

.lfv77-sidebar-actions{
  padding:12px;
  background:#102f48;
  border-top:1px solid rgba(255,255,255,.1);
}

.lfv77-sidebar-actions a{
  display:block;
  margin:5px 0;
  padding:9px 10px;
  text-align:center;
  text-decoration:none;
  color:#fff;
  border:1px solid rgba(255,255,255,.25);
  border-radius:5px;
  font-size:13px;
  font-weight:800;
}

.lfv77-crm-main{
  min-width:0;
}

.lfv75-dashhead{
  background:linear-gradient(135deg,#fff,#f3f8fb);
  border:1px solid #dbe5eb;
  border-radius:8px;
  padding:20px 22px!important;
}

.lfv75-helpstrip{
  border-radius:7px;
  border:1px solid #dbe5eb!important;
  background:#fff!important;
}

.lfv77-profile-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:9px 16px;
  background:#ef7d00;
  color:#fff!important;
  font-weight:900;
  text-decoration:none;
  border-radius:4px;
  border:0;
}

.lfv77-two-column{
  display:grid;
  grid-template-columns:minmax(320px,.85fr) minmax(0,1.15fr);
  gap:18px;
}

.lfv77-three-column{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.lfv77-form{
  display:grid;
  gap:14px;
}

.lfv77-form label{
  display:grid;
  gap:6px;
  font-weight:700;
}

.lfv77-form input,
.lfv77-form textarea,
.lfv77-form select{
  width:100%;
  box-sizing:border-box;
  border:1px solid #cbd6dd;
  background:#fff;
  padding:10px 11px;
  font:inherit;
}

.lfv77-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.lfv77-client-list{
  display:grid;
  gap:9px;
}

.lfv77-client-card,
.lfv77-ledger-row{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  padding:12px 13px;
  border:1px solid #e0e6ea;
  background:#fbfcfd;
  border-radius:5px;
}

.lfv77-client-card strong,
.lfv77-ledger-row strong{
  display:block;
  color:#173f61;
}

.lfv77-client-card small,
.lfv77-ledger-row small{
  display:block;
  margin-top:3px;
  color:#71808a;
}

.lfv77-client-meta{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:4px;
  font-size:12px;
  color:#667680;
}

.lfv77-chip{
  display:inline-block;
  padding:3px 7px;
  background:#e8f5eb;
  color:#28733a;
  border-radius:999px;
}

.lfv77-success{
  margin-bottom:16px;
  padding:12px 15px;
  border:1px solid #b8dfc0;
  background:#e9f7ed;
  color:#256b34;
  border-radius:5px;
}

.lfv77-empty{
  color:#76838c;
}

.lfv77-profile-summary{
  display:flex;
  gap:20px;
  align-items:flex-start;
}

.lfv77-profile-summary img{
  width:120px;
  height:120px;
  object-fit:cover;
  border-radius:7px;
}

.lfv77-profile-summary h2{
  margin-top:0;
}

.lfv77-profile-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:18px;
}

.lfv77-feature-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}

.lfv77-feature-grid div{
  padding:14px;
  border:1px solid #e0e7eb;
  background:#f8fafb;
  border-radius:5px;
}

.lfv77-feature-grid strong,
.lfv77-feature-grid span{
  display:block;
}

.lfv77-feature-grid span{
  margin-top:5px;
  color:#6b7982;
  font-size:13px;
  line-height:1.45;
}

@media(max-width:1100px){
  .lfv77-crm-shell{
    grid-template-columns:1fr;
  }
  .lfv77-crm-sidebar{
    position:static;
  }
  .lfv77-side-tabs{
    display:flex!important;
    overflow-x:auto!important;
    gap:5px;
  }
  .lfv77-side-tabs a{
    width:auto!important;
    min-width:max-content!important;
  }
  .lfv77-sidebar-actions{
    display:flex;
    gap:8px;
  }
  .lfv77-sidebar-actions a{
    flex:1;
  }
  .lfv77-three-column{
    grid-template-columns:1fr;
  }
  .lfv77-feature-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:760px){
  .lfv77-two-column,
  .lfv77-form-grid{
    grid-template-columns:1fr;
  }
  .lfv77-feature-grid{
    grid-template-columns:1fr;
  }
  .lfv77-profile-summary{
    display:block;
  }
  .lfv77-profile-summary img{
    margin-bottom:14px;
  }
}


/* V7.7 profile editor polish */
.lfv76-profile-edit{
  max-width:1180px!important;
}
.lfv76-profile-head{
  padding:22px!important;
  background:linear-gradient(135deg,#fff,#f4f8fb);
  border:1px solid #dbe5eb;
  border-radius:8px;
}
.lfv76-card{
  border-radius:8px!important;
  box-shadow:0 5px 16px rgba(25,55,75,.045);
}
.lfv76-card h2{
  font-size:22px;
}
.lfv76-savebar{
  border-radius:7px 7px 0 0;
}


/* ============================================================
 * V7.8 hard-routed full profile editor
 * Pablo Rotem - 2026-09-28
 * ============================================================ */

.lfv78-profile-route{
  width:100%;
  padding:34px 18px 70px;
  background:#f4f7f9;
  box-sizing:border-box;
}

.lfv78-profile-route-inner{
  width:min(1180px,100%);
  margin:0 auto;
}

.lfv78-profile-route .lfv76-profile-edit{
  width:100%;
  max-width:none!important;
  margin:0!important;
}

.lfv78-profile-route .lfv76-profile-head{
  margin-bottom:18px;
}

.lfv78-profile-route .lfv76-card{
  background:#fff;
}

.lfv78-profile-route .lfv7-notice{
  width:min(900px,100%);
  margin:35px auto;
  padding:18px 20px;
  background:#fff8dc;
  border:1px solid #e9cb73;
  color:#5f4c12;
  box-sizing:border-box;
}

@media(max-width:700px){
  .lfv78-profile-route{
    padding:18px 10px 45px;
  }
}


/* ============================================================
 * V7.9 profile editor route / diagnostics
 * Pablo Rotem - 2026-09-28
 * ============================================================ */

.lfv79-profile-link-error{
  font-size:16px;
  line-height:1.8;
  border-radius:7px;
}

.lfv78-profile-route::before{
  content:"עדכון פרופיל";
  display:block;
  width:min(1180px,100%);
  margin:0 auto 18px;
  color:#174f80;
  font-size:30px;
  font-weight:900;
  text-align:right;
}
