/* ניצן – מערכת דיווחים. RTL, Hebrew. Palette follows the original app (CityAqua). */
:root {
	--brand: #3d7590;          /* logo banner */
	--navy: #1f4e79;           /* login header / user bar accents */
	--tab: #b9d6ee;            /* menu tabs */
	--tab-hover: #a3c8e8;
	--tab-active: #6fa6d6;
	--slate: #4e6478;          /* toolbars / table header */
	--panel: #dcebf7;          /* side panel */
	--panel-head: #6a9ccc;
	--btn: #3c8ac4;
	--btn-hover: #2f76ad;
	--ok: #bced91;             /* approved rows – same green as before */
	--ok-strong: #4e9a1f;
	--warn-bg: #fff4c2;
	--danger: #c0392b;
	--text: #1f2d3a;
	--muted: #63758a;
	--line: #d6e0ea;
	--bg: #f2f5f8;
	--card: #ffffff;
	--row-alt: #f7f9fb;
	--focus: 0 0 0 3px rgba(60, 138, 196, .35);
	--radius: 8px;
}

* { box-sizing: border-box; }
html, body.nz-body { margin: 0; padding: 0; background: var(--bg); }
#nitzan-app {
	font-family: "Assistant", "Segoe UI", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.45;
	color: var(--text);
	direction: rtl;
	text-align: right;
	min-height: 100vh;
}
#nitzan-app.nz-embedded { min-height: 0; }
#nitzan-app button, #nitzan-app input, #nitzan-app select, #nitzan-app textarea { font: inherit; color: inherit; }
.nz-boot { padding: 80px 20px; text-align: center; color: var(--muted); }

/* ---------------------------------------------------------------- header */
.nz-header { text-align: center; padding: 10px 12px 0; }
.nz-logo { max-width: 100%; height: auto; max-height: 64px; display: inline-block; border-radius: 4px; }
.nz-subtitle { color: #6f8799; font-weight: 700; font-size: 17px; margin-top: 2px; letter-spacing: .3px; }

.nz-userbar {
	max-width: 1500px; margin: 8px auto 0; padding: 6px 14px;
	display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
	background: #fafbfc; border: 1px solid var(--line); border-radius: var(--radius);
}
.nz-userbar .nz-who { color: var(--muted); }
.nz-userbar .nz-who b { color: var(--text); }
.nz-userbar .nz-spacer { flex: 1; }

/* ---------------------------------------------------------------- menu */
.nz-menu {
	max-width: 1500px; margin: 10px auto 0; padding: 0 2px;
	display: flex; flex-wrap: wrap; gap: 4px; align-items: stretch;
	border-bottom: 3px solid var(--slate);
}
.nz-menu > .nz-mi { position: relative; }
.nz-menu > .nz-mi > a, .nz-menu > .nz-mi > button {
	display: flex; align-items: center; gap: 7px;
	padding: 10px 18px; min-height: 46px;
	background: var(--tab); color: #20384f; text-decoration: none; cursor: pointer;
	border: 1px solid #9bbfdf; border-bottom: 0; border-radius: 8px 8px 0 0;
	font-size: 17px; font-weight: 600; white-space: nowrap;
}
.nz-menu > .nz-mi > a:hover, .nz-menu > .nz-mi > button:hover { background: var(--tab-hover); }
.nz-menu > .nz-mi.nz-active > a, .nz-menu > .nz-mi.nz-active > button { background: var(--tab-active); color: #fff; border-color: var(--tab-active); }
.nz-menu .nz-caret { font-size: 11px; opacity: .8; }
.nz-sub {
	display: none; position: absolute; top: 100%; right: 0; z-index: 50; min-width: 220px;
	background: #fff; border: 1px solid #9bbfdf; border-radius: 0 0 8px 8px; box-shadow: 0 8px 24px rgba(20, 40, 60, .18);
	padding: 6px 0;
}
.nz-mi.nz-open .nz-sub { display: block; }
.nz-sub a { display: block; padding: 10px 18px; color: #20384f; text-decoration: none; font-size: 16px; }
.nz-sub a:hover, .nz-sub a.nz-active { background: #e8f2fb; }
.nz-sub a.nz-active { font-weight: 700; }
.nz-ico { width: 20px; height: 20px; flex: 0 0 auto; }
.nz-burger { display: none; }

/* ---------------------------------------------------------------- layout */
.nz-main { max-width: 1500px; margin: 0 auto; padding: 0 0 30px; }
.nz-page-title { display: none; }
.nz-toolbar {
	display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
	background: var(--slate); padding: 8px 12px; border-radius: 0 0 var(--radius) var(--radius);
	min-height: 52px;
}
.nz-toolbar .nz-tb-info { color: #e3ecf5; margin-inline-start: auto; font-size: 15px; }
.nz-layout { display: flex; gap: 14px; align-items: flex-start; margin-top: 12px; }
.nz-side {
	flex: 0 0 270px; position: sticky; top: 10px;
	background: var(--panel); border: 1px solid #b7d1e9; border-radius: var(--radius); overflow: hidden;
}
.nz-side h3 { margin: 0; padding: 9px 14px; background: var(--panel-head); color: #fff; font-size: 16px; font-weight: 600; }
.nz-side .nz-side-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.nz-side label { font-size: 14px; color: #33506b; font-weight: 600; display: block; margin-bottom: 3px; }
.nz-side .nz-count { font-size: 15px; color: #23425d; }
.nz-side .nz-count b { font-size: 17px; }
.nz-quick { display: flex; flex-direction: column; gap: 2px; }
.nz-quick button {
	text-align: right; background: transparent; border: 0; padding: 7px 10px; border-radius: 6px; cursor: pointer;
	color: #1c4f80; text-decoration: underline; text-underline-offset: 3px; font-size: 16px;
}
.nz-quick button:hover { background: #c8def2; }
.nz-quick button.nz-on { background: var(--btn); color: #fff; text-decoration: none; font-weight: 600; }
.nz-content { flex: 1; min-width: 0; }

/* ---------------------------------------------------------------- controls */
.nz-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	padding: 7px 14px; min-height: 38px; border-radius: 7px; cursor: pointer;
	background: var(--btn); color: #fff !important; border: 1px solid #2a6d9f; font-weight: 600; font-size: 15px;
	text-decoration: none; white-space: nowrap;
}
.nz-btn:hover { background: var(--btn-hover); }
.nz-btn:disabled { opacity: .5; cursor: not-allowed; }
.nz-btn.nz-light { background: #fff; color: #23476a !important; border-color: #a9c3da; }
.nz-btn.nz-light:hover { background: #eef5fb; }
.nz-btn.nz-green { background: #3f9a35; border-color: #2f7d27; }
.nz-btn.nz-green:hover { background: #33842b; }
.nz-btn.nz-red { background: #fff; color: var(--danger) !important; border-color: #e3a49d; }
.nz-btn.nz-red:hover { background: #fdeceb; }
.nz-btn.nz-big { min-height: 46px; font-size: 17px; padding: 9px 22px; }
.nz-btn.nz-sm { min-height: 32px; padding: 4px 10px; font-size: 14px; }
.nz-iconbtn {
	width: 36px; height: 36px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center;
	background: transparent; border: 1px solid transparent; cursor: pointer; color: #3a6488; padding: 0;
}
.nz-iconbtn:hover { background: #e2eef8; border-color: #c2d8ec; }
.nz-iconbtn.nz-save { background: #3f9a35; color: #fff; }
.nz-iconbtn.nz-save:hover { background: #33842b; }

.nz-input, .nz-select, .nz-textarea {
	width: 100%; min-height: 40px; padding: 6px 10px; border: 1px solid #b6c6d6; border-radius: 7px; background: #fff;
}
.nz-textarea { min-height: 80px; resize: vertical; }
.nz-input:focus, .nz-select:focus, .nz-textarea:focus, .nz-btn:focus-visible, .nz-iconbtn:focus-visible, .nz-quick button:focus-visible { outline: none; box-shadow: var(--focus); border-color: var(--btn); }
.nz-input[disabled], .nz-select[disabled] { background: #eef1f4; color: #6c7b8a; }
.nz-input.nz-err, .nz-select.nz-err, .nz-picker.nz-err .nz-input { border-color: var(--danger); background: #fff6f5; }
.nz-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.nz-check input { width: 20px; height: 20px; accent-color: var(--btn); }
input[type="checkbox"].nz-rowcheck { width: 19px; height: 19px; accent-color: var(--btn); cursor: pointer; }
.nz-req { color: var(--danger); margin-inline-start: 2px; }
.nz-hint { font-size: 13px; color: var(--muted); }

/* client picker (type to search) */
.nz-picker { position: relative; }
.nz-picker .nz-input { padding-inline-end: 30px; }
.nz-picker .nz-pk-clear { position: absolute; left: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; cursor: pointer; color: #8193a5; font-size: 18px; line-height: 1; padding: 2px 5px; }
.nz-pk-list {
	position: absolute; z-index: 80; top: calc(100% + 2px); right: 0; left: 0; min-width: 240px; max-height: 320px; overflow: auto;
	background: #fff; border: 1px solid #9fb8cf; border-radius: 8px; box-shadow: 0 10px 28px rgba(20, 40, 60, .2);
}
.nz-pk-item { padding: 9px 12px; cursor: pointer; border-bottom: 1px solid #eef2f6; }
.nz-pk-item:last-child { border-bottom: 0; }
.nz-pk-item.nz-hl { background: #e1eefa; }
.nz-pk-item .nz-arch { font-size: 12px; color: #9a6b00; background: #fff1c9; border-radius: 9px; padding: 1px 7px; margin-inline-start: 6px; }
.nz-pk-item.nz-pk-add { color: #1c6b17; font-weight: 700; background: #f3fbef; position: sticky; bottom: 0; }
.nz-pk-empty { padding: 10px 12px; color: var(--muted); }
.nz-pk-list mark { background: #ffe58a; color: inherit; padding: 0; }

/* ---------------------------------------------------------------- grid (lists) */
.nz-grid { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: visible; }
.nz-row { display: grid; align-items: center; gap: 8px; padding: 6px 10px; border-bottom: 1px solid #e6ecf2; min-height: 46px; }
.nz-row:last-child { border-bottom: 0; }
.nz-row.nz-head {
	background: var(--slate); color: #fff; font-weight: 600; font-size: 15px; min-height: 42px;
	border-radius: var(--radius) var(--radius) 0 0; position: sticky; top: 0; z-index: 5;
}
.nz-row:not(.nz-head):nth-child(even) { background: var(--row-alt); }
.nz-row.nz-approved, .nz-row.nz-approved:nth-child(even) { background: var(--ok); }
.nz-row.nz-form { background: #eaf3fb !important; border-bottom: 2px solid #b5d0e8; align-items: start; padding-top: 10px; padding-bottom: 10px; }
.nz-row.nz-form.nz-editing { background: #fff8e6 !important; border-color: #ecd59a; }
.nz-row.nz-selected { outline: 2px solid var(--btn); outline-offset: -2px; }
.nz-row.nz-flash { animation: nzflash 1.6s ease-out; }
@keyframes nzflash { 0% { background: #fff3a8; } 100% { } }
.nz-cell { min-width: 0; overflow-wrap: anywhere; }
.nz-cell.nz-num { direction: ltr; text-align: right; font-variant-numeric: tabular-nums; }
.nz-cell.nz-acts { display: flex; gap: 2px; justify-content: flex-end; }
.nz-cell .nz-lbl { display: none; }
.nz-muted { color: var(--muted); }
.nz-badge { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 13px; font-weight: 600; }
.nz-badge.nz-b-ok { background: #d9f2c5; color: #2c6b11; }
.nz-badge.nz-b-wait { background: #eef1f5; color: #56677a; }
.nz-badge.nz-b-no { background: #fde5e1; color: #9a2b1d; }
.nz-empty { padding: 30px 16px; text-align: center; color: var(--muted); }
.nz-finish { display: inline-block; padding: 8px 4px; font-weight: 700; color: #234a6c; direction: ltr; }

.nz-pager { display: flex; gap: 8px; align-items: center; justify-content: center; padding: 12px; flex-wrap: wrap; }
.nz-pager .nz-pg-info { color: var(--muted); }

/* toggle switch for approval */
.nz-switch { position: relative; width: 46px; height: 26px; border-radius: 13px; border: 0; background: #c9d3dd; cursor: pointer; padding: 0; transition: background .15s; }
.nz-switch::after { content: ""; position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: right .15s; }
.nz-switch.nz-on { background: var(--ok-strong); }
.nz-switch.nz-on::after { right: 23px; }
.nz-switch:disabled { cursor: default; opacity: .7; }

/* ---------------------------------------------------------------- reports */
.nz-msg {
	background: #c6d6e8; border: 1px solid #5a7894; color: #1f6d1f; padding: 12px 16px; text-align: center; border-radius: 6px; font-weight: 600;
}
.nz-report { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
.nz-report table { width: 100%; border-collapse: collapse; font-size: 15px; }
.nz-report th { background: #eef2f7; color: #2b4258; font-weight: 700; padding: 8px 8px; border-bottom: 2px solid #c5d3e1; text-align: right; white-space: nowrap; position: sticky; top: 0; }
.nz-report td { padding: 6px 8px; border-bottom: 1px solid #eef1f4; vertical-align: top; }
.nz-report td.nz-num, .nz-report th.nz-num { direction: ltr; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nz-report tr.nz-g1 td { background: #c9cddd; font-weight: 700; color: #2b3550; font-size: 16px; }
.nz-report tr.nz-g2 td { background: #a8c8d6; font-weight: 700; color: #2a4752; }
.nz-report tr.nz-sum td { background: #e9edf8; font-weight: 700; border-bottom: 2px solid #b9c3dc; }
.nz-report tr.nz-sum2 td { background: #f3f6fb; font-weight: 600; color: #3b4d62; }
.nz-report tr.nz-total td { background: #3d5a73; color: #fff; font-weight: 700; font-size: 16px; }
.nz-report .nz-v { color: var(--ok-strong); font-weight: 700; }
.nz-report-head { display: none; }
.nz-cross th:first-child, .nz-cross td:first-child { position: sticky; right: 0; background: #fff; z-index: 2; }
.nz-cross th:first-child { background: #eef2f7; z-index: 3; }
.nz-cross th { white-space: normal; min-width: 70px; vertical-align: bottom; }
.nz-cross td.nz-rowtot, .nz-cross th.nz-rowtot { background: #e9edf8; font-weight: 700; }
.nz-cross tr.nz-total td:first-child { background: #3d5a73; }

/* ---------------------------------------------------------------- login */
.nz-login-wrap { max-width: 460px; margin: 24px auto; padding: 0 14px; }
.nz-card { background: #fff; border: 1px solid #c8d6e3; border-radius: 10px; box-shadow: 0 6px 22px rgba(20, 50, 80, .08); overflow: hidden; }
.nz-card-head { background: #1f4f80; color: #fff; padding: 12px 18px; font-size: 20px; font-weight: 600; }
.nz-card-body { padding: 18px; background: #e3edf6; display: flex; flex-direction: column; gap: 14px; }
.nz-card-foot { padding: 12px 18px; background: #f1f3f5; display: flex; gap: 10px; align-items: center; }
.nz-field label { display: block; font-weight: 600; margin-bottom: 4px; }
.nz-field .nz-input { min-height: 46px; font-size: 17px; }
.nz-alert { padding: 10px 14px; border-radius: 7px; font-weight: 600; }
.nz-alert.nz-a-err { background: #fde8e6; color: #8f2418; border: 1px solid #f2b8b1; }
.nz-alert.nz-a-ok { background: #e4f6dc; color: #2d6a14; border: 1px solid #b9e0a6; }
.nz-alert.nz-a-info { background: #fff6d6; color: #6b5300; border: 1px solid #efd98a; }
.nz-link { background: none; border: 0; color: #1c4f80; text-decoration: underline; cursor: pointer; padding: 0; font-size: 15px; }
.nz-footer { text-align: center; color: #7b8a99; font-size: 14px; padding: 18px 10px 26px; }

/* ---------------------------------------------------------------- modal & toast */
.nz-overlay { position: fixed; inset: 0; background: rgba(18, 32, 48, .45); z-index: 1000; display: flex; align-items: flex-start; justify-content: center; padding: 40px 12px; overflow: auto; }
.nz-modal { background: #fff; border-radius: 12px; width: 100%; max-width: 640px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); overflow: visible; }
.nz-modal.nz-wide { max-width: 980px; }
.nz-modal-head { display: flex; align-items: center; padding: 12px 18px; background: #eef2f6; border-bottom: 1px solid var(--line); border-radius: 12px 12px 0 0; }
.nz-modal-head h2 { margin: 0; font-size: 20px; flex: 1; }
.nz-modal-body { padding: 18px; }
.nz-modal-foot { display: flex; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line); background: #f7f9fb; border-radius: 0 0 12px 12px; flex-wrap: wrap; }
.nz-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.nz-form-grid .nz-full { grid-column: 1 / -1; }
.nz-tabs { display: flex; gap: 4px; border-bottom: 3px solid var(--btn); margin-bottom: 14px; flex-wrap: wrap; }
.nz-tabs button { border: 1px solid #b6c9da; border-bottom: 0; background: #eef3f7; padding: 8px 16px; border-radius: 7px 7px 0 0; cursor: pointer; font-weight: 600; }
.nz-tabs button.nz-on { background: var(--btn); color: #fff; border-color: var(--btn); }

.nz-toasts { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 2000; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.nz-toast { background: #23384c; color: #fff; padding: 11px 20px; border-radius: 9px; box-shadow: 0 8px 26px rgba(0, 0, 0, .25); font-weight: 600; font-size: 16px; animation: nzin .2s ease-out; max-width: 92vw; }
.nz-toast.nz-t-ok { background: #2f7d27; }
.nz-toast.nz-t-err { background: #b03226; }
@keyframes nzin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* rights matrix */
.nz-matrix { overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.nz-matrix table { border-collapse: collapse; width: 100%; font-size: 14px; }
.nz-matrix th, .nz-matrix td { border: 1px solid #e3e9ef; padding: 6px 8px; text-align: center; white-space: nowrap; }
.nz-matrix th:first-child, .nz-matrix td:first-child { text-align: right; position: sticky; right: 0; background: #fff; }
.nz-matrix thead th { background: #eef2f7; position: sticky; top: 0; }
.nz-letters { display: inline-flex; gap: 2px; }
.nz-letters label { display: inline-flex; flex-direction: column; align-items: center; font-size: 11px; color: #56677a; cursor: pointer; }
.nz-letters input { width: 16px; height: 16px; accent-color: var(--btn); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
	.nz-side { flex-basis: 230px; }
}
@media (max-width: 860px) {
	#nitzan-app { font-size: 16px; }
	.nz-logo { max-height: 46px; }
	.nz-subtitle { font-size: 15px; }
	.nz-userbar { margin: 6px 8px 0; }
	.nz-burger { display: inline-flex; }
	.nz-menu { display: none; flex-direction: column; margin: 8px; border: 1px solid #9bbfdf; border-radius: var(--radius); overflow: hidden; gap: 0; }
	.nz-menu.nz-show { display: flex; }
	.nz-menu > .nz-mi > a, .nz-menu > .nz-mi > button { border-radius: 0; border: 0; border-bottom: 1px solid #9bbfdf; width: 100%; }
	.nz-sub { position: static; box-shadow: none; border: 0; border-radius: 0; background: #f4f9fd; }
	.nz-page-title { display: block; margin: 10px 10px 0; font-size: 21px; font-weight: 700; color: #20384f; }
	.nz-main { padding: 0 8px 30px; }
	.nz-toolbar { border-radius: var(--radius); margin-top: 8px; }
	.nz-layout { flex-direction: column; gap: 10px; }
	.nz-side { position: static; width: 100%; flex-basis: auto; }
	.nz-row.nz-head { display: none; }
	.nz-grid { background: transparent; border: 0; }
	.nz-row { display: flex !important; flex-wrap: wrap; gap: 4px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; padding: 10px 12px; }
	.nz-row:not(.nz-head):nth-child(even) { background: #fff; }
	.nz-row .nz-cell { flex: 1 1 40%; }
	.nz-row .nz-cell.nz-wide { flex-basis: 100%; }
	.nz-row .nz-cell .nz-lbl { display: block; font-size: 12px; color: var(--muted); }
	.nz-row .nz-cell.nz-acts { flex-basis: 100%; justify-content: flex-start; order: 99; border-top: 1px dashed #dde5ec; padding-top: 6px; }
	.nz-row.nz-form .nz-cell { flex-basis: 100%; }
	.nz-row.nz-form .nz-cell.nz-half { flex-basis: calc(50% - 6px); }
	.nz-form-grid { grid-template-columns: 1fr; }
	.nz-overlay { padding: 10px 6px; }
	.nz-report table { font-size: 14px; }
}

/* ---------------------------------------------------------------- print */
@media print {
	@page { size: A4 landscape; margin: 10mm; }
	body.nz-body { background: #fff; }
	.nz-userbar, .nz-menu, .nz-side, .nz-toolbar, .nz-footer, .nz-toasts, .nz-burger { display: none !important; }
	.nz-header { padding: 0; }
	.nz-logo { max-height: 40px; }
	.nz-layout { display: block; margin: 0; }
	.nz-report { border: 0; overflow: visible; }
	.nz-report th { position: static; }
	.nz-report-head { display: block; font-size: 18px; font-weight: 700; margin: 6px 0 10px; }
	.nz-report tr { page-break-inside: avoid; }
	.nz-report tr.nz-g1 td, .nz-report tr.nz-g2 td, .nz-report tr.nz-sum td, .nz-report tr.nz-total td { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.nz-row.nz-approved { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* date field (always dd/mm/yyyy) */
.nz-date { position: relative; display: block; }
.nz-date .nz-input { padding-left: 40px; text-align: right; }
.nz-date-btn { position: absolute; left: 3px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; background: transparent; color: #3a6488; cursor: pointer; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; }
.nz-date-btn:hover { background: #e2eef8; }
.nz-date-native { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; border: 0; padding: 0; }
.nz-date.nz-err .nz-input, .nz-date.nz-bad .nz-input { border-color: var(--danger); background: #fff6f5; }
.nz-btn.nz-burger { display: none; }
@media (max-width: 860px) { .nz-btn.nz-burger { display: inline-flex; } }

/* cross table readability */
.nz-cross td:first-child, .nz-cross th:first-child { white-space: nowrap; min-width: 150px; box-shadow: -1px 0 0 #e3e9ef inset; }
.nz-cross th { max-width: 120px; font-size: 14px; line-height: 1.25; }
.nz-cross td { text-align: center !important; }
.nz-cross td:first-child { text-align: right !important; }
.nz-cross tbody tr:hover td { background: #f1f7fd; }

@media (max-width: 860px) {
	.nz-row.nz-head { display: none !important; }
	/* "my activity" rows as compact cards:  type · date / client · start–finish · duration / remarks */
	.nz-row.nz-mycard {
		display: grid !important; grid-template-columns: 30px minmax(0,1fr) auto auto auto !important; gap: 2px 10px; align-items: center; padding: 10px 12px;
	}
	.nz-row.nz-mycard .nz-cell { flex: none; }
	.nz-row.nz-mycard .nz-lbl { display: none; }
	.nz-row.nz-mycard > .nz-cell:nth-child(1) { grid-column: 1; grid-row: 1 / span 3; align-self: start; padding-top: 2px; }
	.nz-row.nz-mycard > .nz-cell:nth-child(2) { grid-column: 2; grid-row: 1; font-weight: 700; font-size: 17px; }
	.nz-row.nz-mycard > .nz-cell:nth-child(4) { grid-column: 3 / 6; grid-row: 1; text-align: left; font-weight: 600; }
	.nz-row.nz-mycard > .nz-cell:nth-child(3) { grid-column: 2; grid-row: 2; }
	.nz-row.nz-mycard > .nz-cell:nth-child(5) { grid-column: 3; grid-row: 2; }
	.nz-row.nz-mycard > .nz-cell:nth-child(7) { grid-column: 4; grid-row: 2; }
	.nz-row.nz-mycard > .nz-cell:nth-child(7)::before { content: "– "; color: var(--muted); }
	.nz-row.nz-mycard > .nz-cell:nth-child(6) { grid-column: 5; grid-row: 2; color: var(--muted); }
	.nz-row.nz-mycard > .nz-cell:nth-child(6)::after { content: " ש'"; }
	.nz-row.nz-mycard > .nz-cell:nth-child(8) { grid-column: 2 / 5; grid-row: 3; color: #4b5d70; font-size: 15px; }
	.nz-row.nz-mycard > .nz-cell:nth-child(8):empty, .nz-row.nz-mycard > .nz-cell:nth-child(8) .nz-lbl:only-child { display: none; }
	.nz-row.nz-mycard > .nz-cell.nz-acts { grid-column: 5; grid-row: 3; border: 0; padding: 0; justify-content: flex-end; }
}
@media (max-width: 860px) {
	.nz-layout { align-items: stretch; }
	.nz-content, .nz-side { width: 100%; max-width: 100%; min-width: 0; }
}

/* sortable column headers */
.nz-sort { background: none; border: 0; color: inherit; font: inherit; font-weight: 600; cursor: pointer; padding: 2px 0; display: inline-flex; align-items: center; gap: 5px; text-align: right; }
.nz-sort:hover { text-decoration: underline; text-underline-offset: 3px; }
.nz-sort:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 3px; }
.nz-sort-ind { font-size: 11px; opacity: .55; flex: none; }
.nz-head .nz-cell { overflow-wrap: normal; } /* header words wrap between words only ("שעת / התחלה") */
.nz-sort { gap: 3px; }
.nz-sort.nz-sorted .nz-sort-ind { opacity: 1; color: #ffe27a; }
.nz-mobile-only { display: none; }
@media (max-width: 860px) { .nz-mobile-only { display: block; } }

/* approval state note in "ניהול" (pending vs not approved) */
.nz-apr-note { font-size: 11.5px; color: var(--nz-muted, #6b7280); white-space: nowrap; }
