body{font-family:system-ui,Arial;max-width:1100px;margin:1em auto;padding:0 1em;background:#f3f6ff;color:#1f2937}
h1{color:#101f5b;border-right:6px solid #51b89a;padding-right:12px}
h2{color:#101f5b}
a{color:#00a8cf}
table{border-collapse:collapse;width:100%;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 1px 3px rgba(16,31,91,.08)}
td,th{border:1px solid #dde4f6;padding:4px 8px;font-size:14px}
th{background:#101f5b;color:#fff;position:sticky;top:0}
th button{background:none;border:0;font:inherit;color:inherit;cursor:pointer;padding:0}
th button.sorted-asc::after{content:" ▲"}th button.sorted-desc::after{content:" ▼"}
tbody tr:nth-child(even){background:#f3f6ff}
.chip{border-radius:8px;padding:1px 8px;background:#dde4f6;color:#101f5b;white-space:nowrap}
.chip.c-deposit{background:#e8c31d;color:#1f2937}.chip.c-review{background:#00a8cf;color:#fff}
.chip.c-cond{background:#c8a4de;color:#1f2937}.chip.c-decision{background:#ff8c00;color:#1f2937}
.chip.c-inproc{background:#51b89a;color:#fff}.chip.c-approved{background:#6db633;color:#fff}
.chip.c-closed{background:#ececec;color:#777;text-decoration:line-through}
.legend{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:13px;margin:4px 0 8px}
.legend .chip{cursor:pointer}
.legend .chip.sel{outline:2px solid #101f5b;outline-offset:1px}
.derived{color:#666}.new td{background:#fdf3d7}
#filters,#pfilters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 8px;
padding:10px;border:1px solid #dde4f6;border-radius:10px;background:#fff;box-shadow:0 1px 3px rgba(16,31,91,.08)}
#filters input[type=search],#pfilters input[type=search]{flex:1;min-width:180px}
#fcount{font-size:12px;color:#555}
#more,#freset,#pfreset{background:#51b89a;color:#fff;border:0;border-radius:8px;cursor:pointer}
#more{margin:6px 0;padding:8px 16px}
#freset,#pfreset{padding:6px 12px}
tr.filtered-out{display:none}
#urgent-list{background:#fff;border:1px solid #dde4f6;border-right:4px solid #e61b2e;border-radius:10px;padding:10px 14px;list-style:none;margin:0}
#changes-list{background:#fff;border:1px solid #dde4f6;border-right:4px solid #51b89a;border-radius:10px;padding:10px 14px;list-style:none;margin:0}
#changes-list li{margin:4px 0}
.ai-banner{background:#fff;border:1px solid #dde4f6;border-right:4px solid #c8a4de;border-radius:10px;padding:10px 14px;margin:0 0 14px}
.review-body{background:#fff;border:1px solid #dde4f6;border-radius:10px;padding:14px 18px;max-width:900px}
.review-body h1{font-size:22px}.review-body h2{font-size:18px;margin-top:18px}.review-body h3{font-size:16px}
.review-body li{margin:4px 0}
#urgent-list li{margin:4px 0}
#datasets-list li{margin:4px 0}
footer{margin-top:24px;padding-top:10px;border-top:1px solid #dde4f6;font-size:13px;color:#555}
.stats{display:grid;grid-template-columns:1fr 1fr;gap:1em}
.stats>div{background:#fff;border:1px solid #dde4f6;border-radius:10px;padding:10px}
.bars .bar{display:flex;align-items:center;gap:6px;margin:2px 0}
@media (max-width:700px){
body{margin:.5em auto;padding:0 .75em;font-size:16px;line-height:1.45}
h1{font-size:22px;line-height:1.3}h2{font-size:19px}
body>p{font-size:14px}
#filters,#pfilters{flex-direction:column;align-items:stretch;gap:10px}
#filters input,#filters select,#filters button,#pfilters input,#pfilters select,#pfilters button{
font-size:16px;min-height:44px;width:100%;box-sizing:border-box}
#filters label,#pfilters label{display:flex;align-items:center;gap:10px;min-height:44px;font-size:16px}
#filters input[type=checkbox],#pfilters input[type=checkbox]{width:24px;min-height:24px;height:24px}
#more{width:100%;min-height:44px;font-size:16px}
.legend .chip{padding:8px 12px;font-size:14px}
#plans,#plans tbody,#plans tr,#plans td,#permits-table,#permits-table tbody,#permits-table tr,#permits-table td{display:block;width:auto}
#plans thead tr{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}
#plans thead th{display:block;background:#fff;border:1px solid #51b89a;border-radius:16px;padding:0;position:static;color:#101f5b}
#plans thead th button{color:#101f5b}
#plans thead th button{min-height:44px;padding:0 14px;font-size:14px}
#permits-table thead{display:none}
#plans tr,#permits-table tr{border:1px solid #dde4f6;border-radius:10px;margin:0 0 10px;padding:6px 10px;background:#fff}
#plans td,#permits-table td{border:0;padding:3px 0;font-size:15px;display:flex;justify-content:space-between;align-items:baseline;gap:12px}
#plans td::before,#permits-table td::before{color:#666;font-size:13px;flex:none}
#plans td:nth-child(1){font-weight:600;font-size:17px}
#plans td:nth-child(2){font-size:16px;padding-bottom:6px}
#plans td:nth-child(3){padding-bottom:6px}
#plans td:nth-child(4)::before{content:"קליטה"}
#plans td:nth-child(5)::before{content:"הפקדה"}
#plans td:nth-child(6)::before{content:"אחרון להתנגדות (משוער)"}
#plans td:nth-child(7)::before{content:"שטח (דונם)"}
#plans td:nth-child(8)::before{content:"סקירת AI"}
#permits-table td:nth-child(1){font-weight:600}
#permits-table td:nth-child(2)::before{content:"כתובת"}
#permits-table td:nth-child(3)::before{content:"מהות"}
#permits-table td:nth-child(4)::before{content:"סוג"}
#permits-table td:nth-child(5)::before{content:"סטטוס"}
#permits-table td:nth-child(6)::before{content:"תאריך סטטוס"}
#permits-table td:nth-child(7)::before{content:"תחילת פרסום"}
#permits-table td:nth-child(8)::before{content:"סיום פרסום"}
tr.filtered-out{display:none!important}
.stats{grid-template-columns:1fr}.bars .bl{width:8em}
footer{font-size:14px;line-height:1.8}footer a{display:inline-block;min-height:32px}
}
