:root{--bg:#eef8fa;--panel:#fff;--ink:#153b46;--muted:#7f969e;--line:#d9e8eb;--teal:#0faab2;--teal-dark:#0c6d76;--red:#e84c57;--orange:#ed941f;--green:#15966d;--blue:#3a83d2;--shadow:0 12px 34px rgba(31,79,91,.08)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Arial,"Noto Sans Hebrew",sans-serif;background:var(--bg);color:var(--ink)}button,input,select{font:inherit}.app-shell{display:grid;grid-template-columns:190px minmax(0,1fr);min-height:100vh}.sidebar{background:#f7fbfc;border-left:1px solid var(--line);padding:18px 12px;position:sticky;top:0;height:100vh;overflow:auto}.brand{display:flex;align-items:center;gap:8px;font-size:24px;font-weight:900;margin:0 4px 18px;color:#173f49}.brand-mark{color:#22c4c9;font-size:19px}.nav{display:flex;flex-direction:column;gap:7px}.nav-btn{border:1px solid var(--line);background:#fff;color:#294f59;border-radius:12px;padding:12px 14px;text-align:right;font-weight:800;cursor:pointer}.nav-btn:hover{background:#f0fbfc}.nav-btn.active{background:linear-gradient(180deg,#11aeb5,#0d929a);border-color:transparent;color:#fff}.main{min-width:0}.topbar{height:72px;background:#0d6973;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 24px;position:sticky;top:0;z-index:20;box-shadow:0 5px 18px rgba(18,68,78,.08)}.company{font-weight:900}.topbar-actions{display:flex;align-items:center;gap:12px}.search{width:min(420px,42vw);background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);color:#fff;border-radius:12px;padding:10px 13px;outline:none}.search::placeholder{color:#d8ecee}.user-badge{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.16);font-weight:900}.view{padding:28px}.page-head{margin-bottom:20px}.eyebrow{font-size:12px;color:#0d9ca4;font-weight:900;margin-bottom:7px}.page-head h1{font-size:34px;margin:0 0 6px}.page-head p{margin:0;color:var(--muted)}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px}.metric{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:var(--shadow);display:flex;justify-content:space-between;gap:12px;align-items:center}.metric.red{background:#fff8f8;border-color:#ffd9dc}.metric.orange{background:#fffaf2;border-color:#ffe1bb}.metric.green{background:#f6fffb;border-color:#d9efe5}.metric.blue{background:#f6faff;border-color:#d9e9fb}.metric strong{font-size:32px}.metric b{display:block;margin-top:2px}.metric small{display:block;color:var(--muted);margin-top:3px}.metric-icon{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;font-size:20px;font-weight:900;background:#eef7f8}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);overflow:hidden}.panel-head{padding:18px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head h2{margin:0;font-size:21px}.panel-head span{color:var(--muted);font-size:13px}.panel-body{padding:0}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:14px 16px;text-align:right;border-bottom:1px solid #edf3f4}.table th{font-size:12px;color:#799097;background:#f8fbfc}.table tbody tr{cursor:pointer}.table tbody tr:hover td{background:#f2fbfc}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900}.badge.red{background:#ffe7e9;color:#d6424b}.badge.orange{background:#fff0d9;color:#d77e0f}.badge.green{background:#ddf5eb;color:#108360}.badge.blue{background:#e2efff;color:#2d75c6}.badge.gray{background:#eef2f3;color:#71858b}.empty{padding:34px;text-align:center;color:var(--muted)}.drawer-backdrop{position:fixed;inset:0;background:rgba(10,38,48,.28);backdrop-filter:blur(3px);z-index:100;opacity:0;pointer-events:none;transition:.2s}.drawer-backdrop.open{opacity:1;pointer-events:auto}.drawer{position:fixed;top:0;left:0;width:min(560px,94vw);height:100vh;background:#fff;z-index:101;box-shadow:24px 0 70px rgba(15,52,64,.22);transform:translateX(-105%);transition:.24s;display:flex;flex-direction:column}.drawer.open{transform:translateX(0)}.drawer-head{padding:24px 26px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:16px;background:linear-gradient(180deg,#fff,#f8fdfe)}.drawer-person{display:flex;gap:14px;align-items:center}.avatar{width:58px;height:58px;border-radius:17px;background:#d9f3f5;color:#0b7f87;display:grid;place-items:center;font-size:22px;font-weight:900}.drawer-title{font-size:25px;font-weight:900}.drawer-sub{font-size:13px;color:var(--muted);margin-top:4px}.icon-btn{border:0;background:#eef7f8;width:36px;height:36px;border-radius:10px;cursor:pointer}.drawer-body{padding:22px 26px 34px;overflow:auto}.section-title{font-size:17px;font-weight:900;margin:0 0 12px}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.info{border:1px solid var(--line);background:#fbfeff;border-radius:13px;padding:12px}.info small{display:block;color:var(--muted);font-size:11px;margin-bottom:4px}.training-card{border:1px solid var(--line);border-radius:14px;padding:14px;margin:10px 0}.training-card-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.training-card-name{font-weight:900}.dates{display:grid;grid-template-columns:1fr 1fr;gap:8px;color:#6f8790;font-size:12px;margin-top:9px}.btn{border:0;border-radius:10px;padding:10px 14px;background:#11aeb4;color:#fff;font-weight:900;cursor:pointer}.btn-secondary{background:#eef7f8;color:#245d68;border:1px solid #d8e8eb}.btn-danger{background:#fff4f5;color:#bc3f49;border:1px solid #f2d4d7}.row-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.cell-sub{font-size:12px;color:var(--muted);margin-top:3px}.field-select{min-width:320px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:10px 12px;color:var(--ink)}.builder-toolbar{display:flex;gap:10px;align-items:center;margin-bottom:14px;flex-wrap:wrap}.builder-grid{display:grid;grid-template-columns:320px minmax(0,1fr);gap:16px;align-items:start}.palette{position:sticky;top:88px}.palette-help{padding:14px 18px 8px;color:var(--muted);font-size:13px}.palette-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:10px 14px 16px}.palette-item{border:1px solid #d9e9ec;background:#f9fcfd;border-radius:13px;padding:13px 11px;text-align:right;color:#365d67;cursor:grab;min-height:82px;display:flex;flex-direction:column;justify-content:center;gap:7px;touch-action:none}.palette-item:hover{background:#eefafb;border-color:#9bdde0}.palette-item span{color:#0faab2;font-size:21px}.palette-item b{font-size:15px;line-height:1.25}.builder-canvas{min-height:520px}.builder-drop{min-height:450px;padding:16px;transition:.15s}.builder-drop.over{background:#eefafb;box-shadow:inset 0 0 0 3px rgba(15,170,178,.16)}.builder-empty{min-height:300px;border:2px dashed #c5e1e5;border-radius:15px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:var(--muted)}.builder-empty b{font-size:18px;color:#365d67}.builder-row{display:grid;grid-template-columns:38px 42px minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:12px;margin-bottom:10px;background:#fff}.builder-row.over{border-color:#0faab2;background:#f0fbfc}.builder-row.dragging{opacity:.45}.drag-grip{border:0;background:transparent;color:#8aa0a6;font-size:22px;cursor:grab;touch-action:none}.step-num{width:38px;height:38px;border-radius:11px;background:#e6f7f8;color:#0b8188;display:grid;place-items:center;font-weight:900}.builder-row-title{font-weight:900}.drag-ghost{position:fixed;z-index:1000;pointer-events:none;transform:translate(-50%,-50%);background:#0d7c85;color:#fff;padding:10px 14px;border-radius:11px;font-weight:900;box-shadow:0 14px 36px rgba(14,73,82,.28)}.toast{position:fixed;left:20px;bottom:20px;z-index:200;background:#173d48;color:#fff;padding:11px 14px;border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,.18)}@media(max-width:1000px){.app-shell{grid-template-columns:82px minmax(0,1fr)}.brand span:last-child,.nav-btn{font-size:0}.nav-btn::first-letter{font-size:16px}.metrics{grid-template-columns:1fr 1fr}.builder-grid{grid-template-columns:1fr}.palette{position:static}.palette-grid{grid-template-columns:repeat(4,1fr)}}@media(max-width:680px){.app-shell{display:block}.sidebar{height:auto;position:static;display:flex;gap:8px;overflow:auto}.brand{display:none}.nav{flex-direction:row}.nav-btn{white-space:nowrap;font-size:13px}.topbar{padding:0 14px}.company{display:none}.search{width:70vw}.view{padding:18px}.metrics{grid-template-columns:1fr}.page-head h1{font-size:28px}.info-grid,.dates{grid-template-columns:1fr}.table{min-width:700px}.panel{overflow:auto}.palette-grid{grid-template-columns:1fr 1fr}.field-select{min-width:0;width:100%}.builder-toolbar .btn{width:100%}.builder-row{grid-template-columns:34px 40px 1fr}.builder-row .row-actions{grid-column:1/-1}}

/* Antaro V2 global shell */
.app-shell{display:flex;flex-direction:column;min-height:100vh}
.topbar{direction:ltr;width:100%;height:68px;padding:0 28px;background:#0d6973;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:60;box-shadow:0 3px 14px rgba(11,65,73,.12)}
.topbar-brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;min-width:0;white-space:nowrap}
.topbar-brand-mark{font-size:26px;line-height:1;color:#2bc8ce;transform:translateY(-1px)}
.topbar-brand-name{font-size:29px;line-height:1;font-weight:900;letter-spacing:-.5px}
.topbar-brand-tagline{font-size:11px;font-weight:900;letter-spacing:.6px;color:#d5eff1;margin-left:2px}
.topbar-actions{direction:rtl;display:flex;align-items:center;gap:12px;margin-left:auto}
.topbar-user-copy{display:flex;flex-direction:column;line-height:1.15;text-align:right;min-width:92px}
.topbar-user-copy strong{font-size:13px;color:#fff}.topbar-user-copy small{font-size:11px;color:#d7ecee;margin-top:3px;font-weight:700}
.search{width:min(460px,34vw);height:40px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.24);border-radius:10px;padding:0 14px;color:#fff;outline:none}
.user-badge{width:38px;height:38px;flex:0 0 38px;background:rgba(255,255,255,.17);border:1px solid rgba(255,255,255,.12);font-size:14px}
.workspace-shell{direction:ltr;display:grid;grid-template-columns:minmax(0,1fr) 214px;flex:1;min-height:0}
.main{grid-column:1;direction:rtl;min-width:0}
.sidebar{grid-column:2;direction:rtl;position:sticky;top:68px;height:calc(100vh - 68px);align-self:start;background:#f8fbfc;border-left:1px solid var(--line);padding:12px 10px;overflow:auto}
.nav{gap:7px}.nav-btn{min-height:43px;border-radius:11px;padding:10px 13px}
.site-footer{direction:ltr;min-height:62px;background:#0d6973;color:#fff;display:grid;grid-template-columns:minmax(320px,1fr) auto minmax(220px,1fr);align-items:center;gap:22px;padding:0 28px;box-shadow:0 -3px 14px rgba(11,65,73,.08)}
.footer-brand{display:flex;align-items:center;gap:8px;color:#fff;text-decoration:none;justify-self:start;white-space:nowrap}
.footer-brand-mark{color:#2bc8ce;font-size:21px}.footer-brand-name{font-size:21px;font-weight:900}.footer-brand-tagline{font-size:10px;font-weight:900;letter-spacing:.5px;color:#d5eff1}
.footer-nav{direction:rtl;display:flex;align-items:center;gap:28px;justify-self:center;white-space:nowrap}.footer-nav a{color:#fff;text-decoration:none;font-size:12px;font-weight:800}.footer-nav a:hover{text-decoration:underline}
.footer-copy{justify-self:end;font-size:12px;color:#e2f1f2;white-space:nowrap}

@media(max-width:1050px){
  .workspace-shell{grid-template-columns:minmax(0,1fr) 84px}
  .nav-btn{font-size:0;text-align:center;padding:10px 6px}.nav-btn::first-letter{font-size:16px}
  .topbar-brand-tagline{display:none}.topbar-user-copy{display:none}.search{width:min(390px,44vw)}
  .site-footer{grid-template-columns:1fr auto}.footer-nav{display:none}.footer-copy{grid-column:2}.footer-brand{grid-column:1}
}
@media(max-width:680px){
  .topbar{height:62px;padding:0 14px}.topbar-brand-name{font-size:23px}.topbar-brand-mark{font-size:21px}.search{width:48vw;height:36px}.user-badge{width:34px;height:34px;flex-basis:34px}
  .workspace-shell{display:flex;flex-direction:column}.sidebar{position:static;order:-1;width:100%;height:auto;padding:8px;overflow-x:auto;border-left:0;border-bottom:1px solid var(--line)}.nav{flex-direction:row;min-width:max-content}.nav-btn{font-size:12px!important;white-space:nowrap;min-height:38px;padding:8px 11px}
  .view{padding:16px}.site-footer{min-height:58px;padding:0 16px;display:flex;justify-content:space-between}.footer-brand-tagline{display:none}.footer-copy{font-size:11px}
}
