@font-face{font-family:Heebo;src:url(assets/heebo.ttf) format("truetype");font-weight:100 900;font-display:swap}
:root{--danger:#a23d37;--shadow:0 2px 8px #0c2c4610}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--canvas);color:var(--ink);font-family:Heebo,Arial,sans-serif;font-size:1rem;line-height:1.5}
button,select,input,textarea{font:inherit}
a{color:inherit;text-decoration:none}
button{cursor:pointer}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #07898a;outline-offset:3px}
h1,h2,h3,p{margin:0}
[hidden]{display:none!important}
.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{position:fixed;inset-block-start:.5rem;inset-inline-start:.5rem;background:white;padding:.6rem;z-index:20}
.shell{display:grid;min-height:100vh}
.sidebar{position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;overflow:auto;z-index:7}
.sidebar-bottom{margin-top:auto;display:flex;align-items:center}
.icon{width:20px;height:20px;vertical-align:middle;flex:none}
.workspace{min-width:0}
.topbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.icon-button,.button{border:1px solid var(--line);border-radius:9px;background:white;color:var(--ink);font-weight:650;font-size:.86rem;padding:8px 12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px}
.icon-button:hover,.button:hover{background:#eef6fa}
.icon-button{padding:7px}
.button.primary{color:white}
.menu-button{display:none}
main:focus{outline:none}
.hero{position:relative;isolation:isolate;overflow:hidden}
.hero::before{content:"";position:absolute;inset:0;z-index:-1}
.panel h2{font-size:1.12rem;font-weight:800}
.subtle{font-size:.84rem;color:var(--muted)}
.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.metric,.panel{background:white;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);min-width:0}
.metric{padding:13px 14px;display:block}
a.metric:hover{border-color:#69aeaa;box-shadow:0 2px 9px #087d7b24}
.metric-head{display:flex;align-items:center;gap:9px;font-weight:690;font-size:.88rem}
.tile-icon{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#e1f2f1;color:#087675;flex:none}
.tile-icon.blue{background:#e7f0fc;color:#286b9f}
.tile-icon.gold{background:#fff0de;color:#90531f}
.tile-icon.purple{background:#f1eafb;color:#775494}
.tile-icon .icon{width:17px;height:17px}
.metric-value{font-size:clamp(1.38rem,2.7vw,2rem);display:flex;align-items:baseline;gap:5px;font-weight:790;margin:6px 0 0;line-height:1.25}
.metric-value small{font-size:.79rem;font-weight:600;color:var(--muted)}
bdi,.numeric{font-variant-numeric:tabular-nums}
.metric p{font-size:.76rem;color:var(--muted);margin-top:4px}
.panel{padding:17px;margin-bottom:14px}
.panel-head{display:flex;justify-content:space-between;align-items:start;gap:12px}
.panel-head p{font-size:.83rem;color:var(--muted);margin-top:2px}
.filters,.actions,.switch{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.switch{gap:2px;background:#edf3f7;border-radius:8px;padding:3px}
.switch button{padding:4px 8px;border:0;background:transparent;border-radius:6px;color:var(--muted);font-weight:650;font-size:.79rem;min-height:31px}
.switch button[aria-pressed=true]{background:white;color:#145954;box-shadow:0 1px 4px #142b4030}
.legend{display:flex;gap:13px;margin-top:12px;flex-wrap:wrap;font-size:.76rem;color:var(--muted)}
.legend span{display:inline-flex;align-items:center;gap:5px}
.legend i{width:10px;height:10px;border-radius:3px;background:var(--teal)}
.legend span:nth-child(2) i{background:#3989c3}
.chart{width:100%;display:block;overflow:visible;margin-top:4px;min-height:140px}
.chart text{fill:#52677b;font-size:12px}
.chart .grid{stroke:#e2eaf0;stroke-width:1}
.chart .zero{stroke:#9ab0bf;stroke-width:1.2}
.chart .column:focus{outline:none}
.chart .column:focus rect,.chart .column:hover rect{stroke:#10263b;stroke-width:2}
.chart-readout{color:var(--muted);font-size:.79rem;min-height:23px}
.pill{display:inline-flex;align-items:center;white-space:nowrap;border-radius:20px;padding:3px 8px;font-size:.72rem;font-weight:700;background:#e6f3f5;color:#176575}
.pill.warn{background:#fff0de;color:#8c501d}
.pill.danger{background:#fcece9;color:#963932}
.pill.neutral{background:#edf1f6;color:#52667a}
.site-footer{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:.76rem}
.page-heading{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:17px}
.page-heading h1{font-weight:820;font-size:clamp(1.7rem,4vw,2.48rem);line-height:1.2;margin-bottom:5px}
.page-heading p{color:var(--muted)}
.compact-cards{margin:0 0 15px}
.table-area{overflow:auto;margin-top:12px}
table{border-collapse:collapse;width:100%;text-align:start;min-width:480px;font-size:.9rem}
td,th{text-align:start;padding:9px 10px;border-bottom:1px solid #e5edf3}
th{background:#eef4f8;font-weight:750;white-space:nowrap}
tbody tr:hover{background:#f7fbfd}
.number{white-space:nowrap}
.over{color:var(--danger);font-weight:750}
.panel .button:not(.panel-head .button){margin-top:10px}
.filters{margin:12px 0 4px}
.filters label{display:flex;align-items:center;gap:6px;font-size:.86rem;font-weight:650}
select,input,textarea{border:1px solid #bdccd8;border-radius:8px;padding:7px 10px;background:white;color:var(--ink);min-width:0}
select{appearance:none;padding-inline-end:30px;background:white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%2353697d' stroke-width='1.7'/%3E%3C/svg%3E") left 8px center no-repeat}
.coverage{padding:9px 11px;border-radius:8px;background:#eaf2f8;color:#2d4962;font-size:.85rem;margin-top:10px}
.asset-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
.asset{border:1px solid var(--line);border-radius:10px;padding:12px;display:flex;align-items:center;gap:12px}
.asset img{width:66px;height:50px;object-fit:contain}
progress{display:block;width:100%;height:9px;accent-color:#148480}
.quota-list{display:grid;gap:12px;margin-top:12px}
.quota{display:grid;gap:4px}
.quota label{display:flex;justify-content:space-between;gap:5px;font-size:.81rem;font-weight:650}
dialog{border:1px solid var(--line);border-radius:14px;padding:20px;width:min(600px,calc(100vw - 24px));color:var(--ink);box-shadow:0 18px 70px #10263b70;max-height:90dvh}
dialog::backdrop,.shade{background:#0d203378}
.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}
.dialog-head h2{font-size:1.25rem}
.dialog-list{padding-inline-start:21px;margin-bottom:4px}
.dialog-list li{margin-bottom:8px}
form{display:grid;gap:12px}
form label{display:grid;gap:4px;font-size:.9rem;font-weight:700}
.shade{position:fixed;inset:0;z-index:6}
@media(max-width:950px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.panel{padding:13px}.asset-grid{grid-template-columns:1fr}}
@media(max-width:420px){.cards{gap:7px}.metric{padding:9px}.metric-head{font-size:.76rem;gap:5px}.tile-icon{width:27px;height:27px}.metric-value{font-size:1.3rem}.panel-head{flex-wrap:wrap}}

/* כפר מונאש · מעטפת הפורטל ופריסת כלכלת המים */
:root{
  --navy:#26465f;--navy-dark:#162f44;--teal:#08766e;--ink:#142c40;--muted:#394f65;
  --canvas:#cfdbe6;--line:#93a7b9;--blue:#165aab;--surface:#f6f9fc;--water-metrics:#e4edf4;
  --accent:#164e75;--overview-line:#d8e4ec;--overview-ink:#112c41;--overview-muted:#486073;
  --loss-accent:#3048ae;--content-padding:clamp(18px,2vw,26px);
}
.shell{grid-template-columns:217px minmax(0,1fr)}
.sidebar{background:var(--navy-dark);padding:0;color:white}
.brand{
  display:grid;align-content:center;gap:7px;min-height:131px;border:0;border-radius:0 0 0 16px;
  padding:14px 13px 17px;background:var(--water-metrics);color:var(--ink)
}
.partner-logos{display:flex;align-items:center;justify-content:center;gap:10px;max-width:100%;min-width:0}
.partner-logos img{display:block;object-fit:contain;height:auto;min-width:0}
.partner-zafrir{width:42px;flex:none;border-radius:5px}
.partner-matan{width:124px;border-radius:4px}
.brand-place{display:flex;justify-content:center;align-items:baseline;gap:9px}
.brand-place strong{font-weight:800;font-size:1.06rem}
.brand-place small{font-size:.65rem;letter-spacing:normal;direction:rtl;color:var(--ink)}
.sidebar nav{padding:11px 10px 13px}
.nav-group{margin:0 0 5px}
.nav-group :is(summary,a,button){
  display:flex;align-items:center;gap:11px;width:100%;padding:10px 11px;min-height:45px;
  cursor:pointer;border:0;border-radius:9px;background:transparent;color:white;font-size:.875rem;font-weight:720;
  text-align:start
}
.nav-group summary{list-style:none}
.nav-group summary::-webkit-details-marker{display:none}
.nav-group [data-nav-trigger] span{flex:1}
.nav-group [data-nav-trigger] i{display:flex;width:13px;flex:none}
.nav-group [data-nav-trigger] i .icon{width:13px}
.nav-group [data-nav-trigger]:is([aria-expanded="true"],:hover),.nav-group.has-current [data-nav-trigger],
.nav-group :is(a,button):hover{background:#315874}
.nav-group a[aria-current="page"]{background:#0759a5;box-shadow:none}
.nav-group a[aria-current="page"] svg{color:white}
.nav-children{
  position:fixed;inset:auto;width:min(254px,calc(100vw - 16px));max-height:calc(100dvh - 16px);
  margin:0;padding:8px;border:1px solid #4d6580;border-radius:12px;background:var(--navy-dark);
  color:#fff;box-shadow:0 12px 26px #10263c55
}
.nav-children a{min-height:42px;padding:7px 10px;font-size:.89rem;font-weight:630}
.nav-children a[aria-current]{background:#315874}
.nav-children a .icon{width:16px;height:16px}
.nav-children a img{width:min(172px,100%);height:auto;border-radius:4px;background:white;padding:3px 5px}
.sidebar-bottom{justify-content:end;padding:12px 17px 18px;border:0}
.sidebar-bottom button{background:transparent;border:1px solid #496985;color:#ebf6ff;border-radius:8px;padding:7px 10px;font-size:.75rem}
.sidebar-bottom button:hover{background:#315874}
.topbar{height:88px;border-color:#a9bbcb;background:var(--water-metrics);padding:0 var(--content-padding);gap:16px}
.location{display:block;margin-inline-end:auto;color:var(--accent);font-size:1.55rem;line-height:1.3;font-weight:790;white-space:nowrap}
.location small{display:block;margin-top:5px;font-size:.78rem;font-weight:530;color:var(--ink)}
.workspace-identity{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:.72rem}
.workspace-identity span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--navy);color:white;font-weight:750}
.search-form{width:min(50%,510px);position:relative}
.search-field{
  display:flex;align-items:center;gap:12px;height:46px;border:1px solid var(--line);border-radius:15px;
  padding:0 13px;background:var(--surface);color:var(--accent)
}
.search-field input{border:0;background:transparent;padding:0;flex:1;min-width:0;outline:none;font-size:.94rem;font-weight:400}
.search-field input::placeholder{color:var(--muted);opacity:1}
.search-field:focus-within{outline:2px solid var(--accent);outline-offset:2px}
.search-field .icon{width:17px;height:17px}
.search-results{
  position:absolute;inset:calc(100% + 5px) 0 auto;z-index:5;list-style:none;margin:0;padding:5px;
  border:1px solid var(--line);border-radius:10px;background:var(--surface);box-shadow:0 3px 12px #183e5f28
}
.search-results a,.search-empty{display:block;padding:8px 10px;border-radius:6px}
.search-results a:hover,.search-results a:focus-visible{background:#d7e6f1}
.topbar .icon-button{
  background:var(--surface);color:var(--ink);border-color:#a9bbcb;border-radius:11px;
  padding:7px;min-width:40px;min-height:40px
}
.topbar .icon-button:hover{background:#d7e6f1}
.breadcrumbs{display:block;padding:5px var(--content-padding) 3px;color:var(--muted);font-size:.79rem}
.breadcrumbs a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
main{max-width:none;padding:5px var(--content-padding) 15px}
.home-actions{display:flex;justify-content:start;margin:0 0 13px}
.home-actions .button{
  min-height:48px;gap:10px;padding:8px 14px;border-radius:12px;background:var(--accent);
  border-color:var(--accent);color:white;font-size:1rem;font-weight:790
}
.home-actions .button .icon{width:28px;height:28px;background:white;color:var(--accent);border-radius:50%;padding:4px;stroke-width:2.9}
.home-actions .button:hover{background:#0d3b5b}
.hero{
  display:block;height:clamp(132px,15vw,164px);min-height:0;margin-bottom:20px;padding:0;border-radius:17px;
  background:#26465f url(assets/hero.webp) center 57% / cover no-repeat
}
.hero::before{background:linear-gradient(105deg,#135f6377,#102e4bdf 75%)}
.hero-copy{padding:19px 23px}
.hero h1{font-size:clamp(29px,3.8vw,48px);font-weight:810;line-height:1.2;margin:0;color:white;text-shadow:0 2px 3px #102a4155}
.home-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:14px}
.home-tile,.home-choice{
  min-width:0;background:white;border:1px solid var(--overview-line);border-radius:17px;box-shadow:0 4px 18px #183e5f0a;
  color:var(--overview-ink);padding:16px 17px 11px
}
.home-tile{display:flex;flex-direction:column;min-height:536px}
.home-tile-heading{display:flex;align-items:center;gap:10px}
.home-tile-heading .tile-icon{width:39px;height:39px;border-radius:10px;background:#e6f2ee;color:var(--teal)}
.home-tile-heading .tile-icon.blue{background:#e7effa;color:var(--blue)}
.home-tile-heading .tile-icon .icon{width:22px;height:22px}
.home-tile h2{font-size:22px;font-weight:820;letter-spacing:-.02em;line-height:1.2}
.home-tile-heading p{margin-top:3px;font-size:13px;color:var(--overview-muted)}
.home-tile-content{padding-top:8px}
.home-tile-footer{margin-top:auto;min-height:43px;padding:10px 0 1px;display:flex;align-items:center}
.home-tile-footer a,.home-choice>a{color:var(--blue);font-size:.88rem;font-weight:720;text-decoration:underline;text-underline-offset:4px}
.home-note{margin-bottom:8px;color:var(--overview-muted);font-size:.81rem}
.home-source-list,.home-sales-list{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.home-source-list li{border:1px solid var(--overview-line);border-radius:10px;background:#f2f6f8;padding:5px 9px;line-height:1.45}
.home-source-list li div,.home-sales-list li div{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:0 7px}
.home-source-list h3{font-size:.94rem;font-weight:800}
.home-source-list span{color:var(--overview-muted);font-size:.81rem}
.home-source-list strong{font-size:.88rem;font-weight:750}
.home-source-list li p{font-size:.75rem;color:var(--overview-muted)}
.home-loss-controls .switch{padding:0;gap:5px;background:transparent}
.home-loss-controls .switch button{
  min-height:44px;padding:6px 9px;border:1px solid #a9b8de;border-radius:8px;background:#f9fbfd;color:#192d52;font-weight:720
}
.home-loss-controls .switch button[aria-pressed="true"]{background:#30469f;color:white;box-shadow:none}
.home-loss-controls p{margin-top:2px;color:var(--overview-muted);font-size:.81rem}
.home-loss-focus{padding:8px;border:1px solid #c8d4ed;border-radius:15px;background:#f9fbfd}
.home-loss-summary{display:flex;justify-content:space-between;align-items:baseline;gap:6px;padding:0 1px;font-size:.82rem}
.home-loss-summary>span{display:flex;align-items:baseline;gap:6px;color:var(--overview-muted);flex-wrap:wrap}
.home-loss-summary span strong{color:var(--loss-accent);font-size:1.88rem;font-weight:840;line-height:1.25}
.home-loss-focus svg{width:100%;display:block;margin-top:4px}
.home-loss-focus svg text{font:11px Heebo,Arial,sans-serif;fill:var(--overview-muted)}
.home-loss-focus svg circle{fill:var(--loss-accent);cursor:default}
.home-loss-focus svg circle:is(:hover,:focus){stroke:#142c40;stroke-width:2;outline:none}
.home-grid-line{stroke:#d7e2f2;stroke-width:1}
.home-area{fill:#d8e2fa}
.home-trend{stroke:var(--loss-accent);stroke-width:2;fill:none}
.home-loss-readout{min-height:1.2em;color:var(--overview-muted);font-size:.76rem}
.home-sales-total{margin:2px 0 10px;font-weight:700}
.home-sales-total strong{font-size:clamp(28px,3vw,40px);letter-spacing:-.04em;font-weight:830}
.home-sales-total small{color:var(--overview-muted);font-size:.77rem;font-weight:400;margin-inline-start:6px}
.home-sales-list li{font-size:.875rem}
.home-sales-track{height:5px;border-radius:999px;background:#dae4ed;display:block;margin-top:4px}
.home-sales-track span{height:100%;border-radius:inherit;background:var(--teal);display:block}
.home-ribbon{
  gap:0;border:1px solid #adc3d3;border-radius:17px;overflow:hidden;
  background:#eaf2f7;box-shadow:0 4px 14px #183e5f12
}
.home-ribbon .home-tile{border:0;border-radius:0;box-shadow:none;padding:0;min-height:500px;background:#eaf2f7}
.home-ribbon .home-tile + .home-tile{border-inline-start:1px solid #b1c7d6}
.home-ribbon .home-tile-bars{background:#e9f3f0}
.home-ribbon .home-tile-heading{
  background:#193d54;color:white;min-height:70px;border-bottom:2px solid #9dbed2;padding:12px 16px
}
.home-ribbon .home-tile-heading h2{color:white}
.home-ribbon .home-tile-heading p{color:#e0ecf6}
.home-ribbon .home-tile-content{padding:12px 15px 0}
.home-ribbon .home-tile-footer{padding:10px 15px 12px}
.home-ribbon .home-source-list{gap:9px}
.home-ribbon .home-source-list li{padding:9px;border-radius:9px;background:#f4f8fb}
.home-ribbon .home-source-list h3{display:flex;gap:6px;align-items:center;min-width:0}
.home-ribbon .home-source-list li>div{flex-wrap:nowrap}
.home-ribbon .home-source-list .tile-icon{display:grid;width:30px;height:30px}
.home-ribbon .home-source-list .tile-icon .icon{width:17px;height:17px}
.home-quota-total{display:grid;justify-items:end;flex:none}
.home-quota-total strong{color:var(--overview-ink);white-space:nowrap}
.home-loss-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:6px}
.home-loss-source{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 5px;padding:5px 7px;text-align:start;
  color:var(--overview-ink);background:#f9fbfd;border:1px solid #b2c2e2;border-radius:8px;font:inherit;font-size:.74rem
}
.home-loss-source span{font-weight:650}
.home-loss-source strong{color:var(--loss-accent)}
.home-loss-source[aria-pressed="true"]{background:#e0e7fc;border-color:#637ed2}
.home-loss-source svg{grid-column:1/-1;width:100%;height:16px;direction:ltr}
.home-loss-source polyline{fill:none;stroke:var(--loss-accent);stroke-width:1.5;vector-effect:non-scaling-stroke}
.home-ribbon .home-sales-total{background:#d9ece4;padding:8px 11px 10px;border-radius:10px;font-size:.92rem}
.home-ribbon .home-sales-total strong{line-height:1.1}
.home-ribbon .home-sales-total small{display:block;font-weight:650;margin:0 0 3px}
.home-ribbon .home-sales-list{gap:0}
.home-ribbon .home-sales-list li{border-bottom:1px solid #d1e4df}
.home-ribbon .home-sales-list li:last-child{border-bottom:0}
.home-ribbon .home-sales-list li>div,.home-sales-list summary{padding:9px 0}
.home-sales-list summary{display:flex;align-items:center;gap:5px;cursor:pointer}
.home-sales-list summary span{margin-inline-end:auto}
.home-sales-list summary::before{content:'‹';color:var(--blue);font-size:1.15rem;line-height:1;flex:none}
.home-sales-list details[open] summary::before{transform:rotate(-90deg)}
.home-use-sources{display:grid;gap:6px;padding-bottom:8px}
.home-use-source{border:1px solid #c7ded7;background:#f4f9f7;border-radius:8px;padding:6px 8px;font-size:.77rem}
.home-use-source>div:first-child{padding-bottom:3px}
.home-use-source progress{height:6px;margin-top:4px}
.home-tiles.home-ribbon{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:950px){
  .home-tiles.home-ribbon{grid-template-columns:minmax(0,1fr)}
  .home-ribbon .home-tile{min-height:0}
  .home-ribbon .home-tile + .home-tile{border-inline-start:0;border-block-start:1px solid #b1c7d6}
}
.home-choice{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px}
.home-choice-heading h2{font-size:1.125rem;font-weight:790;margin:0 0 3px}
.home-choice-heading .button{margin:0}
.home-choice-values{display:flex;justify-content:space-evenly;align-items:center;gap:10px;flex-wrap:wrap}
.home-choice-values>div{display:grid}
.home-choice-values small{color:var(--overview-muted);font-size:.8rem;font-weight:650}
.home-choice-label{display:flex;align-items:center;gap:5px;color:var(--accent);font-weight:690;font-size:.875rem}
.site-footer{padding:5px var(--content-padding) 18px;align-items:center;max-width:none}
.site-footer .partner-zafrir{width:30px}
.site-footer .partner-matan{width:100px}
.page-heading{padding:18px 22px;border-radius:18px;background:var(--navy);color:white;align-items:center}
.page-heading h1{font-size:clamp(27px,3vw,36px);font-weight:760}
.page-heading p{color:white}
.panel,.metric,dialog{background:var(--surface);border-color:var(--line)}
th,.coverage{background:var(--water-metrics)}
.button{background:var(--surface);color:var(--accent)}
.button.primary{background:var(--accent);border-color:var(--accent)}
.button.primary:hover{background:#0d3b5b}
@media(min-width:801px){
  .nav-collapsed .shell{grid-template-columns:78px minmax(0,1fr)}
  .nav-collapsed .brand-place,.nav-collapsed .nav-group > :is(a,button) span,.nav-collapsed .nav-group [data-nav-trigger] i{display:none}
  .nav-collapsed .partner-logos{flex-direction:column;gap:4px}
  .nav-collapsed .sidebar .partner-zafrir{width:25px}
  .nav-collapsed .sidebar .partner-matan{width:48px}
  .nav-collapsed .nav-group :is(summary,a,button){justify-content:center}
  .nav-collapsed .sidebar-bottom{justify-content:center}
}

.module-tabs{margin-bottom:12px}
.module-tabs .switch{display:inline-flex;background:#e4edf4}
.module-tabs .switch button{padding:7px 12px}
.module-tabs .switch button[aria-pressed="true"]{background:var(--accent);color:white}
.operations-panel .actions{margin-block:8px}
.operations-panel .table-area{max-height:70vh;overscroll-behavior:contain}
.operations-panel th{position:sticky;top:0;z-index:1}
.operations-panel td,.operations-panel th{border-inline-end:1px solid #e4edf4}
.operations-panel td:last-child,.operations-panel th:last-child{border-inline-end:0}
.operations-panel td .button,.operations-panel .actions .button,.operations-panel .filters .button{margin:0}
.operations-panel td .button + .button{margin-inline-start:5px}
.operations-panel .filters label{flex-wrap:wrap}
.loss-group-cell{display:grid;gap:4px;justify-items:start}
.loss-group-cell strong{white-space:nowrap}
.radar-panel td .actions{flex-wrap:nowrap}
.rate-cards{display:flex;align-items:stretch;gap:5px;max-width:100%;overflow:auto;padding:3px 0}
.rate-card{
  flex:none;min-width:82px;display:grid;justify-items:center;padding:5px 7px;
  background:#edf6f3;border:1px solid #d6ebe3;border-radius:8px;color:#142c40
}
.rate-card small{display:flex;gap:3px;white-space:nowrap;color:#486073;font-size:.75rem}
.rate-card strong{font-size:1.02rem}
.radar-panel td:nth-child(3){min-width:255px}
.wide-dialog{width:min(1080px,calc(100vw - 24px))}
.detail-actions{margin-top:12px}
.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.module-card{display:flex;gap:12px;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:14px}
.module-card:hover{background:#e4edf4}
.module-card h2{font-size:1.1rem}
.module-card p,.module-card small{color:var(--muted)}
.model-name{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.model-name img{width:40px;height:33px;object-fit:contain}
.meter-detail-image{width:min(140px,100%);max-height:95px;object-fit:contain}
.asset-location-image{display:block;width:100%;max-height:330px;object-fit:contain;margin-top:10px;border-radius:8px}
.infrastructure-image{max-height:460px;object-position:right center}
.module-links{margin-block-start:14px}
.module-links .button{margin-top:0!important}
.health-logo{width:min(200px,100%);height:auto;margin-top:12px}
.inline-form{display:flex;align-items:end;gap:6px;flex-wrap:wrap}
.message-copy{white-space:pre-wrap}
.event-summary{
  display:inline-flex;align-items:center;gap:9px;margin:0 0 12px;padding:10px 13px;border-radius:10px;
  border:1px solid #b9cedc;background:#e4edf4;color:var(--accent);font-weight:730
}
.event-list-panel .switch{display:inline-flex;margin-bottom:10px}
.event-list-panel .switch button{min-height:36px}
.event-list-panel .switch button[aria-pressed="true"]{background:var(--accent);color:white}
.event-filter-search{min-width:0;width:min(100%,360px)}
#event-list-filter .actions{align-items:end;margin:0}
#event-list-filter input{min-height:38px}
.event-meta{display:block;color:var(--muted);font-size:.78rem}
.event-list-panel form details,.event-form details{border:1px solid var(--overview-line);border-radius:11px;background:white}
.event-list-panel form summary,.event-form summary{padding:10px 12px;cursor:pointer;color:var(--accent);font-size:.9rem;font-weight:720}
.event-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px 13px}
.event-form details .event-form-grid,.event-list-panel details .event-form-grid{padding:0 12px 12px}
.event-form-grid label{min-width:0}
.event-form-grid :is(input,select,textarea){width:100%;min-width:0}
.event-form-grid input[type="file"]{font-size:.82rem}
.event-form-grid .event-span,.event-form-grid .event-check{grid-column:1/-1}
.event-form-grid .event-check{display:flex;align-items:center;gap:7px}
.event-check input[type="checkbox"]{width:auto;accent-color:var(--accent)}
.event-form-grid small{font-size:.77rem;font-weight:500;color:var(--muted)}
.event-dialog{width:min(780px,calc(100vw - 24px))}
.event-dialog .dialog-head{padding-bottom:10px;border-bottom:1px solid var(--overview-line)}
.event-form-actions{position:sticky;bottom:-20px;justify-content:end;background:var(--surface);border-top:1px solid var(--overview-line);padding:9px 0}
.event-form-error:empty{display:none}
.event-form-error{color:var(--danger);font-weight:700}
.event-detail-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(0,1fr);gap:14px;align-items:start}
.event-paragraph,.event-notes p,.event-history p{white-space:pre-wrap;overflow-wrap:anywhere}
.event-detail-grid .actions{margin-bottom:9px}
.event-dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0}
.event-dl div{padding:8px 9px;background:#eaf1f6;border-radius:8px;min-width:0}
.event-dl dt,.event-history small{color:var(--muted);font-size:.79rem}
.event-dl dd{margin:0;font-weight:625;overflow-wrap:anywhere}
.event-notes{padding-top:9px;margin-top:6px;border-top:1px solid var(--overview-line)}
.event-notes h3{font-size:.95rem}
.event-notes p,.event-history p{font-size:.9rem;color:var(--muted)}
.event-history ol{list-style:none;padding:0;margin:12px 0 0;border-inline-start:2px solid #b8cddb}
.event-history li{position:relative;padding:0 14px 15px}
.event-history li:last-child{padding-bottom:0}
.event-history li::before{content:'';position:absolute;inset-inline-start:-6px;top:.55em;border-radius:50%;width:10px;height:10px;background:var(--blue);border:2px solid var(--surface)}
.event-history small{display:block}
.event-files{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:12px;margin-top:10px}
.event-file{margin:0;border:1px solid var(--overview-line);background:white;border-radius:10px;overflow:hidden}
.event-file figcaption{padding:8px 10px;color:var(--muted);font-size:.82rem;overflow-wrap:anywhere}
.event-file a{text-decoration:underline;color:var(--accent);margin-inline-start:6px}
.event-image-button{display:block;width:100%;border:0;padding:0;background:#eef2f5;text-align:start}
.event-image-button img{display:block;width:100%;height:min(31vw,370px);min-height:150px;object-fit:contain}
.event-large-image{display:block;width:100%;max-height:65dvh;object-fit:contain}
@media(max-width:880px){.event-detail-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:540px){.event-form-grid,.event-dl{grid-template-columns:minmax(0,1fr)}}
@media(max-width:650px){.module-grid{grid-template-columns:1fr}}
@media print{
  body:has(dialog[open]) .shell,body:has(dialog[open]) .shade,body:has(dialog[open]) .skip{display:none}
  dialog[open]{position:static;width:auto;max-width:none;max-height:none;overflow:visible;border:0;box-shadow:none}
  dialog[open]::backdrop{display:none}
  dialog[open] .detail-actions,dialog[open] #close-dialog{display:none}
}
@media(max-width:1100px){.home-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.home-tile{min-height:0}}
@media(max-width:800px){
  .shell{display:block}
  .sidebar{position:fixed;inset-block:0;inset-inline-start:0;width:min(245px,86vw);height:100dvh}
  .sidebar:not(.open){display:none}
  .sidebar-bottom{display:none}
  .menu-button{display:inline-flex}
  .topbar{height:76px;gap:8px}
  .location,.workspace-identity{display:none}
  .search-form{width:auto;flex:1;min-width:0}
  .search-field input{font-size:.78rem}
  .breadcrumbs{padding-top:4px}
  .hero{height:132px;background-position:44% center}
  .page-heading{align-items:start;flex-direction:column}
}
@media(max-width:650px){
  .home-tiles{grid-template-columns:minmax(0,1fr)}
  .home-choice{grid-template-columns:minmax(0,1fr);gap:8px}
  .home-choice-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
  .home-choice-values{justify-content:start}
  .site-footer{font-size:.75rem}
}
