@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;600;700;800&display=swap');
:root{--ink:#17312b;--muted:#71817b;--line:#e3eae6;--paper:#f5f8f6;--white:#fff;--green:#176b52;--green2:#e7f4ed;--orange:#d99039;--red:#b54141;--shadow:0 16px 40px #17312b0b}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Heebo,Arial,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}.boot{height:100vh;display:grid;place-content:center;justify-items:center;color:var(--muted)}.brand-mark{background:var(--green);color:#fff;border-radius:16px;padding:15px 17px;font-weight:800;font-size:22px}
.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr;background:#fff}.auth-visual{background:radial-gradient(circle at 80% 15%,#3c8a68 0,transparent 28%),linear-gradient(145deg,#102b26,#1a4c3d);color:#fff;padding:clamp(30px,6vw,86px);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-visual:after{content:"";position:absolute;width:460px;height:460px;border:1px solid #ffffff20;border-radius:50%;left:-140px;bottom:-220px;box-shadow:0 0 0 50px #ffffff08,0 0 0 100px #ffffff06}.logo-row{display:flex;align-items:center;gap:12px;font-weight:800;font-size:18px}.logo-icon{width:43px;height:43px;border-radius:14px;background:#ffffff1a;display:grid;place-items:center;font-weight:800;letter-spacing:-1px}.visual-copy{max-width:560px;z-index:1}.visual-copy h1{font-size:clamp(32px,4vw,54px);line-height:1.14;margin:0 0 20px;letter-spacing:-1.3px}.visual-copy p{color:#d0e1d8;font-size:16px;line-height:1.9;max-width:470px}.visual-foot{color:#a9c7ba;z-index:1}.auth-panel{display:grid;place-items:center;padding:28px}.auth-card{width:min(440px,100%)}.eyebrow{color:var(--green);font-weight:800;font-size:12px;letter-spacing:.5px}.auth-card h2{font-size:29px;margin:9px 0 8px}.subtext{color:var(--muted);line-height:1.7;margin:0 0 26px}.switcher{display:flex;background:#f0f4f1;border-radius:12px;padding:4px;gap:4px;margin-bottom:23px}.switcher button{flex:1;border:0;background:transparent;border-radius:9px;padding:10px;color:var(--muted);font-weight:700}.switcher button.active{background:#fff;color:var(--ink);box-shadow:0 2px 7px #142d2310}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:15px}.field label{font-weight:700;font-size:13px}.field input,.field select,.field textarea{width:100%;border:1px solid #dce5df;border-radius:10px;background:#fff;padding:12px 13px;outline:none;transition:.15s}.field input:focus,.field select:focus,.field textarea:focus{border-color:#4b9b7a;box-shadow:0 0 0 3px #1a80501b}.field small{color:var(--muted)}.btn{border:0;border-radius:10px;padding:11px 16px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:transform .12s,background .12s}.btn:active{transform:translateY(1px)}.btn-primary{background:var(--green);color:#fff}.btn-primary:hover{background:#12533f}.btn-light{background:#edf3ef;color:var(--ink)}.btn-outline{background:#fff;border:1px solid var(--line);color:var(--ink)}.btn-danger{background:#fff0ef;color:var(--red)}.btn-sm{padding:7px 10px;font-size:12px;border-radius:8px}.btn-block{width:100%}.error{background:#fff0ef;color:#9d3333;border:1px solid #f5d5d2;border-radius:10px;padding:11px;margin:12px 0;line-height:1.6}.notice{background:#fff7e9;color:#83521d;border:1px solid #f4e0b8;border-radius:10px;padding:12px;line-height:1.6;margin:14px 0}
.app-shell{min-height:100vh;display:grid;grid-template-columns:248px minmax(0,1fr)}.sidebar{background:#102b26;color:#fff;padding:23px 15px;display:flex;flex-direction:column;gap:26px;min-height:100vh;position:sticky;top:0;height:100vh}.side-brand{display:flex;align-items:center;gap:11px;padding:0 9px}.side-brand .logo-icon{background:#ffffff16}.side-brand small{display:block;color:#9eb9ad;font-size:11px;font-weight:500;margin-top:2px}.nav-label{color:#79988b;font-size:11px;font-weight:800;padding:0 12px;margin:0 0 8px}.nav-list{display:grid;gap:5px}.nav-item{border:0;background:transparent;color:#c5d6ce;border-radius:10px;text-align:right;padding:11px 12px;display:flex;align-items:center;gap:11px;font-weight:600}.nav-item .nav-icon{width:21px;text-align:center;font-size:16px}.nav-item:hover{background:#ffffff0d;color:#fff}.nav-item.active{background:#245b47;color:#fff;box-shadow:inset -3px 0 #77c49d}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff19;padding:17px 8px 0}.profile-mini{display:flex;gap:10px;align-items:center;margin-bottom:14px}.avatar{width:38px;height:38px;border-radius:12px;background:#d6eee0;color:#15563f;display:grid;place-items:center;font-weight:800;flex-shrink:0}.profile-mini strong{display:block;font-size:13px}.profile-mini small{display:block;color:#9eb9ad;font-size:11px;margin-top:3px}.main{min-width:0}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,3vw,38px);gap:20px}.topbar-title{font-size:13px;color:var(--muted)}.topbar-title strong{display:block;color:var(--ink);font-size:18px;margin-top:2px}.top-actions{display:flex;align-items:center;gap:10px}.role-pill{border-radius:99px;background:var(--green2);color:var(--green);padding:6px 11px;font-size:12px;font-weight:800}.content{padding:clamp(18px,3vw,36px);max-width:1500px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}.page-heading h1{font-size:27px;letter-spacing:-.6px;margin:0 0 5px}.page-heading p{color:var(--muted);margin:0;line-height:1.6}.heading-actions{display:flex;gap:8px;flex-wrap:wrap}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:19px;box-shadow:var(--shadow);min-width:0}.stat-top{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-weight:600;font-size:12px}.stat-icon{width:35px;height:35px;border-radius:11px;display:grid;place-items:center;background:#eaf5ee;color:var(--green);font-size:17px}.stat-number{font-size:31px;font-weight:800;letter-spacing:-1px;margin:11px 0 0}.stat-foot{font-size:11px;color:var(--muted);margin-top:3px}.panel{background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow);margin-bottom:19px;min-width:0}.panel-head{padding:18px 20px;border-bottom:1px solid #edf1ee;display:flex;justify-content:space-between;align-items:center;gap:12px}.panel-head h3{font-size:15px;margin:0}.panel-head p{margin:4px 0 0;color:var(--muted);font-size:12px}.panel-body{padding:19px 20px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap}th{text-align:right;background:#f8faf8;color:#77867f;font-size:11px;font-weight:800;padding:12px 16px;border-bottom:1px solid var(--line)}td{padding:13px 16px;border-bottom:1px solid #edf1ee;font-size:13px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfdfb}.primary-cell{font-weight:700}.secondary-cell{font-size:11px;color:var(--muted);margin-top:3px}.status{display:inline-flex;align-items:center;gap:6px;border-radius:99px;padding:5px 9px;font-size:11px;font-weight:800;background:#eef2ef;color:#63736b}.status:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.status.active,.status.completed,.status.פעיל{background:#e6f5ec;color:#22764d}.status.planned,.status.pending{background:#fff4df;color:#93611c}.status.ended,.status.failed,.status.inactive{background:#f1f2f1;color:#6f7772}.empty{padding:32px 18px;text-align:center;color:var(--muted)}.empty strong{display:block;color:var(--ink);margin-bottom:5px}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.event-card,.entity-card{border:1px solid var(--line);border-radius:13px;padding:17px;background:#fff;transition:.15s;min-width:0}.event-card:hover,.entity-card:hover{border-color:#b7d5c5;box-shadow:0 8px 20px #153c2c0a}.event-card h3,.entity-card h3{margin:11px 0 6px;font-size:16px}.event-card p,.entity-card p{color:var(--muted);margin:4px 0;line-height:1.6;font-size:12px}.event-card .btn{margin-top:13px}.event-card-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.icon-box{width:38px;height:38px;border-radius:12px;background:#edf6f0;display:grid;place-items:center;font-size:18px}.event-detail{border:1px solid #d8e8df;background:#f8fcf9;border-radius:14px;padding:20px;margin-bottom:18px}.event-detail-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}.event-detail h2{margin:0 0 6px}.event-detail p{color:var(--muted);margin:0}.detail-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.detail-metric{padding:12px;border:1px solid var(--line);background:#fff;border-radius:10px}.detail-metric strong{display:block;font-size:21px}.detail-metric span{color:var(--muted);font-size:11px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.search{border:1px solid var(--line);border-radius:9px;padding:9px 12px;min-width:210px;background:#fff}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.modal-backdrop{position:fixed;inset:0;background:#102b2677;z-index:50;display:grid;place-items:center;padding:20px}.modal{background:#fff;border-radius:17px;width:min(600px,100%);max-height:90vh;overflow:auto;box-shadow:0 24px 80px #071d1690}.modal-head{padding:20px 23px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.modal-head h2{font-size:19px;margin:0}.modal-content{padding:22px}.modal-actions{display:flex;justify-content:flex-start;gap:9px;margin-top:20px}.close-btn{border:0;background:#f0f4f1;width:33px;height:33px;border-radius:9px;font-size:20px;color:var(--muted)}.notice-inline{color:var(--muted);font-size:12px;line-height:1.7}.toast{position:fixed;bottom:24px;left:24px;z-index:100;background:#173b2f;color:#fff;padding:13px 18px;border-radius:11px;box-shadow:0 8px 30px #0002;max-width:min(450px,calc(100vw - 48px));opacity:0;transform:translateY(10px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translateY(0)}.toast.error-toast{background:#8f3030}.mobile-menu{display:none}
@media(max-width:1100px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:760px){.auth-shell{grid-template-columns:1fr}.auth-visual{display:none}.auth-panel{min-height:100vh;padding:22px}.app-shell{display:block}.sidebar{position:fixed;z-index:30;right:0;top:0;width:260px;transform:translateX(105%);transition:transform .2s;box-shadow:-10px 0 40px #0002}.sidebar.open{transform:translateX(0)}.mobile-menu{display:inline-flex}.topbar{height:68px;padding:0 16px}.topbar-title strong{font-size:16px}.role-pill{display:none}.content{padding:18px 14px}.page-heading{flex-direction:column}.heading-actions{width:100%}.heading-actions .btn{flex:1}.stat-grid{gap:9px}.stat-card{padding:14px}.stat-number{font-size:26px}.card-grid{grid-template-columns:1fr}.panel-head,.panel-body{padding:15px}.form-grid{grid-template-columns:1fr}.search{min-width:0;width:100%}.toolbar{align-items:stretch;flex-direction:column}.detail-metrics{grid-template-columns:1fr 1fr}.event-detail-head{flex-direction:column}.auth-card h2{font-size:26px}}
