/* Nadler Group — front end. Brand: navy #0E2238, gold #B08A45, ivory #F6F2EA. */
:root {
	--ng-navy: #0E2238;
	--ng-navy-2: #1C3A5C;
	--ng-gold: #B08A45;
	--ng-gold-dark: #6B5426;
	--ng-ivory: #F6F2EA;
	--ng-sand: #EFE6D3;
	--ng-line: #E4DCCD;
	--ng-field: #CFC6B5;
	--ng-muted: #4A5462;
	--ng-text: #0E2238;
	--ng-wa: #1F7A4D;
	--ng-radius: 16px;
	--ng-font: 'Heebo', system-ui, sans-serif;
	--ng-font-en: 'Montserrat', 'Heebo', sans-serif;
}

.ng-wrap, .ng-modal, .ng-grid, .ng-search, .ng-owner, .ng-founders, .ng-add-form {
	font-family: var(--ng-font);
	color: var(--ng-text);
	direction: rtl;
	box-sizing: border-box;
}
.ng-wrap *, .ng-modal *, .ng-grid *, .ng-search *, .ng-owner *, .ng-founders *, .ng-add-form * { box-sizing: border-box; }

.ng-wrap { max-width: 1200px; margin: 0 auto; padding: 28px 24px 88px; display: flex; flex-direction: column; gap: 28px; }
.ng-page { background: var(--ng-ivory); }

.ng-h1 { margin: 0; font-size: clamp(30px, 4vw, 44px); font-weight: 800; line-height: 1.15; }
.ng-h2 { margin: 0 0 18px; font-size: 26px; font-weight: 800; }
.ng-h3 { margin: 0 0 8px; font-size: 24px; font-weight: 800; }
.ng-help { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--ng-muted); }
.ng-empty { font-size: 18px; color: var(--ng-muted); }
.ng-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Buttons */
.ng-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 10px 20px; border-radius: 10px; border: 1px solid transparent;
	font: inherit; font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.ng-btn:hover { transform: translateY(-1px); }
.ng-btn:focus-visible { outline: 3px solid var(--ng-gold); outline-offset: 2px; }
.ng-btn--navy { background: var(--ng-navy); color: var(--ng-ivory); }
.ng-btn--navy:hover { background: var(--ng-navy-2); color: var(--ng-ivory); }
.ng-btn--gold { background: var(--ng-gold); color: var(--ng-navy); }
.ng-btn--gold:hover { background: #C29B53; color: var(--ng-navy); }
.ng-btn--line { background: var(--ng-ivory); color: var(--ng-navy); border-color: var(--ng-navy); }
.ng-btn--ghost { background: transparent; color: var(--ng-navy); border-color: var(--ng-field); }
.ng-btn--wa { background: var(--ng-wa); color: #fff; }
.ng-btn--wa:hover { background: #196640; color: #fff; }
.ng-btn--block { width: 100%; }
.ng-btn--lg { min-height: 54px; font-size: 19px; font-weight: 800; }
.ng-pill { border-radius: 999px; padding-inline: 24px; }
.ng-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

/* Badges */
.ng-badge { position: absolute; top: 14px; right: 14px; font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 999px; line-height: 1.2; }
.ng-badge--inline { position: static; display: inline-block; }
.ng-badge--navy { background: var(--ng-navy); color: var(--ng-ivory); }
.ng-badge--gold { background: var(--ng-gold); color: var(--ng-navy); }
.ng-badge--soft { background: var(--ng-sand); color: var(--ng-gold-dark); }
.ng-badge--closed { background: #8B1E2D; color: #fff; }
.ng-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }

/* Cards */
.ng-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 28px; }
.ng-card { background: #fff; border: 1px solid var(--ng-line); border-radius: var(--ng-radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease; }
.ng-card:hover { box-shadow: 0 12px 32px rgba(14, 34, 56, .12); transform: translateY(-3px); }
.ng-card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: #DCE2E9; overflow: hidden; }
.ng-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.ng-card:hover .ng-card__media img { transform: scale(1.04); }
.ng-card__noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--ng-muted); }
.ng-card__video { position: absolute; bottom: 12px; right: 12px; background: rgba(14, 34, 56, .85); color: var(--ng-ivory); font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; }
.ng-card--closed .ng-card__media img { filter: grayscale(.6); }
.ng-card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ng-card__price { font-family: var(--ng-font-en); font-weight: 700; font-size: 26px; }
.ng-price-sub { font-family: var(--ng-font); font-size: 17px; font-weight: 500; color: var(--ng-muted); }
.ng-card__title { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; }
.ng-card__title a { color: inherit; text-decoration: none; }
.ng-card__loc, .ng-card__facts { font-size: 16px; color: var(--ng-muted); }
.ng-card__actions { margin-top: auto; padding-top: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ng-card--closed .ng-card__actions { grid-template-columns: 1fr; }

/* Search */
.ng-search { background: #fff; border-radius: var(--ng-radius); padding: 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; border: 1px solid var(--ng-line); }
.ng-search .ng-field { flex: 1 1 160px; }
.ng-search .ng-field--sm { flex: 1 1 110px; }
.ng-search .ng-btn { flex: 0 0 auto; padding-inline: 32px; }

/* Fields */
.ng-field { display: flex; flex-direction: column; gap: 6px; }
.ng-field label { font-size: 15px; font-weight: 700; }
.ng-field input, .ng-field select, .ng-field textarea {
	font: inherit; font-size: 17px; padding: 12px; min-height: 48px; width: 100%;
	border: 1px solid var(--ng-field); border-radius: 10px; background: #fff; color: var(--ng-text);
}
.ng-field input:focus, .ng-field select:focus, .ng-field textarea:focus { outline: 3px solid rgba(176, 138, 69, .45); border-color: var(--ng-gold); }
.ng-form { display: flex; flex-direction: column; gap: 14px; }
.ng-form--card { background: #fff; border-radius: var(--ng-radius); padding: 28px; border: 1px solid var(--ng-line); }
.ng-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.ng-form--inline { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
.ng-form--inline .ng-field { flex: 1 1 200px; }

/* Notices */
.ng-notice { padding: 14px 18px; border-radius: 12px; font-size: 17px; font-weight: 500; }
.ng-notice--ok { background: #E3F1E8; color: #14532D; }
.ng-notice--err { background: #FBE5E7; color: #7F1D1D; }

/* Single property */
.ng-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--ng-muted); }
.ng-crumbs a { color: var(--ng-muted); }
.ng-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.ng-sub { margin-top: 8px; font-size: 19px; color: var(--ng-muted); }
.ng-head__price { font-family: var(--ng-font-en); font-weight: 700; font-size: clamp(30px, 4vw, 44px); }

.ng-gallery { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 220px 220px; gap: 12px; }
.ng-gallery--few { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
.ng-gallery--few .ng-gallery__item:not(.ng-gallery__item--main) { display: none; }
.ng-gallery--few .ng-gallery__item--main { grid-column: span 2; aspect-ratio: 4 / 3; width: 100%; max-width: 860px; justify-self: center; }
.ng-gallery__item { position: relative; padding: 0; border: 0; border-radius: var(--ng-radius); overflow: hidden; cursor: zoom-in; background: #DCE2E9; }
.ng-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.ng-gallery__item:hover img { transform: scale(1.03); }
.ng-gallery__item--main { grid-column: span 2; grid-row: span 2; }
.ng-gallery__more { position: absolute; inset: 0; background: rgba(14, 34, 56, .65); color: var(--ng-ivory); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; }
.ng-video-btn { position: absolute; bottom: 20px; right: 20px; z-index: 2; border: 0; cursor: pointer; font: inherit; background: rgba(14, 34, 56, .9); color: var(--ng-ivory); border-radius: 999px; padding: 10px 22px 10px 12px; min-height: 52px; display: inline-flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 700; }
.ng-video-btn__icon { width: 36px; height: 36px; border-radius: 999px; background: var(--ng-gold); color: var(--ng-navy); display: inline-flex; align-items: center; justify-content: center; }
.ng-ribbon { position: absolute; top: 24px; right: -8px; z-index: 2; background: #8B1E2D; color: #fff; font-size: 22px; font-weight: 800; padding: 10px 28px; border-radius: 6px 0 0 6px; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }

.ng-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.ng-layout__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.ng-side { flex: 1 1 320px; background: #fff; border: 1px solid var(--ng-line); border-radius: var(--ng-radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 100px; }
.ng-panel { background: #fff; border: 1px solid var(--ng-line); border-radius: var(--ng-radius); padding: 28px; }
.ng-facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.ng-facts dt { font-size: 15px; color: var(--ng-muted); }
.ng-facts dd { margin: 4px 0 0; font-size: 22px; font-weight: 800; }
.ng-chips { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ng-chips li { background: var(--ng-ivory); border-radius: 999px; padding: 8px 14px; font-size: 16px; font-weight: 500; }
.ng-content { font-size: 18px; line-height: 1.8; color: #36404D; }
.ng-map { width: 100%; height: 300px; border: 0; border-radius: 12px; }
.ng-agent { display: flex; align-items: center; gap: 14px; }
.ng-agent__img { width: 64px; height: 64px; border-radius: 999px; object-fit: cover; object-position: center top; }
.ng-agent__role, .ng-agent__lic { font-size: 14px; color: var(--ng-muted); }
.ng-agent__name { font-size: 21px; font-weight: 800; }
.ng-similar { margin-top: 16px; }

/* Archive */
.ng-archive__desc { margin-top: 10px; font-size: 18px; color: var(--ng-muted); max-width: 760px; }
.ng-pager { display: flex; justify-content: center; gap: 8px; }
.ng-pager .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #fff; border: 1px solid var(--ng-line); color: var(--ng-navy); text-decoration: none; padding: 0 12px; }
.ng-pager .current { background: var(--ng-navy); color: var(--ng-ivory); }
.ng-empty-box { background: #fff; border: 1px solid var(--ng-line); border-radius: var(--ng-radius); padding: 28px; }

/* Founders */
.ng-founders { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.ng-founder { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.ng-founder__img { width: 180px; height: 220px; object-fit: cover; object-position: center top; border-radius: 14px; }
.ng-founder__img--card { width: 240px; height: auto; aspect-ratio: 4 / 5; box-shadow: 0 10px 30px rgba(14, 34, 56, .18); }
.ng-founder__body { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; }
.ng-founder__name { font-size: 26px; font-weight: 800; }
.ng-founder__role { font-size: 16px; font-weight: 700; color: var(--ng-gold-dark); }
.ng-founder__bio { margin: 0; font-size: 17px; line-height: 1.7; color: #36404D; }

/* Modals */
.ng-modal { position: fixed; inset: 0; z-index: 99999; background: rgba(14, 34, 56, .6); display: flex; align-items: center; justify-content: center; padding: 16px; animation: ng-fade .2s ease; }
.ng-modal[hidden] { display: none; }
.ng-modal__dialog { position: relative; background: #fff; border-radius: 20px; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow: auto; padding: 28px; display: flex; flex-direction: column; gap: 16px; animation: ng-rise .25s ease; }
.ng-modal__close { position: absolute; top: 14px; left: 14px; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--ng-ivory); color: var(--ng-navy); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ng-person { border: 1px solid var(--ng-line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ng-person__head { display: flex; align-items: center; gap: 12px; }
.ng-person__img { width: 52px; height: 52px; border-radius: 999px; object-fit: cover; object-position: center top; }
.ng-person__name { font-size: 20px; font-weight: 800; }
.ng-person__phone { font-family: var(--ng-font-en); font-size: 17px; color: var(--ng-muted); text-align: right; }
.ng-address { display: flex; align-items: center; gap: 12px; background: var(--ng-ivory); border-radius: 14px; padding: 14px 16px; text-decoration: none; color: var(--ng-navy); }
.ng-address span { display: flex; flex-direction: column; }
.ng-address small { font-size: 15px; color: var(--ng-muted); }
.ng-modal--video { background: rgba(8, 18, 30, .88); }
.ng-modal--video .ng-modal__dialog { max-width: 960px; background: transparent; padding: 56px 0 0; }
.ng-video-frame { aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; }
.ng-video-frame iframe, .ng-video-frame video { width: 100%; height: 100%; border: 0; display: block; }
.ng-modal--lightbox { background: rgba(8, 18, 30, .94); }
.ng-modal--lightbox .ng-modal__dialog { max-width: 1200px; background: transparent; padding: 56px 0 40px; align-items: center; }
.ng-lightbox__img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 10px; }
.ng-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 999px; border: 0; background: rgba(246, 242, 234, .9); color: var(--ng-navy); font-size: 30px; cursor: pointer; }
.ng-lightbox__prev { right: 8px; }
.ng-lightbox__next { left: 8px; }
.ng-lightbox__count { color: var(--ng-ivory); font-size: 15px; }

/* Add-property form */
.ng-add-form { display: flex; flex-direction: column; gap: 20px; max-width: 760px; margin: 0 auto; }
.ng-add-form fieldset { border: 1px solid var(--ng-line); border-radius: var(--ng-radius); padding: 20px; background: #fff; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.ng-add-form legend { font-size: 20px; font-weight: 800; padding: 0 8px; }
.ng-add-form .ng-field--checkboxes, .ng-add-form .ng-field--textarea, .ng-add-form .ng-field--gallery { grid-column: 1 / -1; }
.ng-checks { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.ng-checks label, .ng-field--checkbox label { font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }

/* Scroll reveal (added by ng.js) */
.ng-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.ng-reveal.is-in { opacity: 1; transform: none; }
.ng-card.ng-reveal { transition: opacity .6s ease, transform .2s ease, box-shadow .2s ease; }
.ng-card.ng-reveal.is-in:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(14, 34, 56, .12); }

@keyframes ng-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ng-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
	.ng-gallery, .ng-gallery--few { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
	.ng-gallery__item:nth-child(n+4) { display: none; }
	.ng-gallery__item { aspect-ratio: 4 / 3; }
	.ng-gallery__item--main { grid-column: span 2; grid-row: span 1; }
	.ng-panel, .ng-side { padding: 20px; }
	.ng-video-btn { bottom: 12px; right: 12px; font-size: 16px; }
	.ng-founder__img { width: 120px; height: 150px; }
	.ng-founder__img--card { width: 100%; max-width: 340px; height: auto; }
}

@media (prefers-reduced-motion: reduce) {
	.ng-reveal { opacity: 1; transform: none; transition: none; }
	.ng-card, .ng-card__media img, .ng-btn, .ng-gallery__item img { transition: none; }
	.ng-modal, .ng-modal__dialog { animation: none; }
}

/* ---------- Simple management screen [ng_dashboard] ---------- */
.ng-dash { font-family: var(--ng-font); color: var(--ng-text); direction: rtl; max-width: 900px; margin: 0 auto; padding: 16px 16px 64px; display: flex; flex-direction: column; gap: 18px; font-size: 18px; box-sizing: border-box; }
.ng-dash * { box-sizing: border-box; }
.ng-dash__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; background: var(--ng-navy); color: var(--ng-ivory); border-radius: 16px; padding: 14px 18px; }
.ng-dash__brand { color: var(--ng-ivory); font-weight: 800; font-size: 20px; text-decoration: none; }
.ng-dash__hello { flex: 1; color: #C9CFD8; }
.ng-dash__out { color: var(--ng-gold); font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.ng-dash__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ng-dash__head .ng-h2 { margin: 0; }
.ng-dash__login { background: #fff; border: 1px solid var(--ng-line); border-radius: 16px; padding: 24px; max-width: 460px; margin: 24px auto; }
.ng-dash__login p { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
.ng-dash__login input[type="text"], .ng-dash__login input[type="password"] { font: inherit; font-size: 18px; padding: 12px; min-height: 52px; border: 1px solid var(--ng-field); border-radius: 10px; width: 100%; }
.ng-dash__login .login-remember { flex-direction: row; }
.ng-dash__login input[type="submit"] { font: inherit; font-size: 19px; font-weight: 800; background: var(--ng-navy); color: var(--ng-ivory); border: 0; border-radius: 10px; min-height: 54px; width: 100%; cursor: pointer; }
.ng-back { align-self: flex-start; font-weight: 700; color: var(--ng-navy); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

.ng-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ng-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 140px; padding: 18px; background: #fff; border: 1px solid var(--ng-line); border-radius: 18px; color: var(--ng-navy); text-decoration: none; font-size: 21px; font-weight: 800; text-align: center; transition: transform .15s ease, box-shadow .15s ease; }
.ng-tile:hover, .ng-tile:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(14, 34, 56, .12); }
.ng-tile__icon { width: 52px; height: 52px; border-radius: 999px; background: var(--ng-ivory); display: inline-flex; align-items: center; justify-content: center; font-size: 28px; line-height: 1; }
.ng-tile--gold { background: var(--ng-gold); border-color: var(--ng-gold); }
.ng-tile--gold .ng-tile__icon { background: rgba(255, 255, 255, .5); }
.ng-tile--soft { background: var(--ng-sand); }
.ng-tile__badge { font-size: 14px; font-weight: 700; background: var(--ng-sand); color: var(--ng-gold-dark); padding: 4px 10px; border-radius: 999px; }
.ng-tile__badge--hot { background: #8B1E2D; color: #fff; }

.ng-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ng-row { background: #fff; border: 1px solid var(--ng-line); border-radius: 16px; padding: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ng-row--new { border-color: var(--ng-gold); box-shadow: inset -5px 0 0 var(--ng-gold); }
.ng-row__main { display: flex; align-items: center; gap: 12px; flex: 1 1 280px; min-width: 0; }
.ng-row__img { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: #DCE2E9; flex: 0 0 auto; }
.ng-row__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ng-row__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 240px; }
.ng-row__text strong { font-size: 19px; }
.ng-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; color: var(--ng-muted); }
.ng-row__msg { font-size: 15px; color: #36404D; }
.ng-row__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ng-row__actions .ng-btn { min-height: 48px; }
.ng-quick { margin: 0; display: inline-flex; }
.ng-btn--danger { background: #8B1E2D; color: #fff; }
.ng-btn--danger:hover { background: #741826; color: #fff; }
.ng-tag { font-size: 14px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--ng-ivory); color: var(--ng-navy); }
.ng-tag--draft, .ng-tag--new { background: #FCF0D6; color: #7A4B00; }
.ng-tag--available, .ng-tag--contacted, .ng-tag--signed, .ng-tag--tour { background: #E3F1E8; color: #14532D; }
.ng-tag--sold, .ng-tag--rented, .ng-tag--closed { background: #FBE5E7; color: #7F1D1D; }
.ng-label { font-size: 15px; font-weight: 700; }
.ng-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.ng-thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.ng-dash-page .entry-title, .ng-dash-page .page-header { display: none; }

@media (max-width: 560px) {
	.ng-dash { font-size: 17px; padding: 10px 10px 48px; }
	.ng-tile { min-height: 120px; font-size: 19px; }
	.ng-row__actions { width: 100%; }
	.ng-row__actions > * { flex: 1 1 calc(50% - 8px); }
	.ng-row__actions .ng-quick .ng-btn { width: 100%; }
}

/* ---------- Tabu screen ---------- */
.ng-tabu { display: flex; flex-direction: column; gap: 16px; }
.ng-step { display: flex; gap: 14px; background: #fff; border: 1px solid var(--ng-line); border-radius: 16px; padding: 18px; }
.ng-step__num { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 999px; background: var(--ng-navy); color: var(--ng-ivory); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 19px; }
.ng-step__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ng-step__body .ng-h3 { margin: 6px 0 0; font-size: 20px; }
.ng-step__body p { margin: 0; }
.ng-ids { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; align-items: end; }
.ng-copyrow { display: flex; gap: 6px; }
.ng-copyrow input { flex: 1; min-width: 0; }
.ng-copyrow .ng-btn { padding-inline: 12px; }
.ng-upload { display: flex; flex-direction: column; gap: 12px; }
.ng-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 96px; border: 2px dashed var(--ng-field); border-radius: 14px; padding: 14px; font-weight: 700; color: var(--ng-muted); cursor: pointer; text-align: center; }
.ng-drop input { font-size: 16px; max-width: 100%; }
.ng-tabu-card { background: #fff; border: 1px solid var(--ng-line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.ng-tabu-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.ng-tabu-card__sum { margin: 0; font-size: 18px; }
.ng-flags { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ng-flag { padding: 10px 14px; border-radius: 12px; background: #E3F1E8; color: #14532D; }
.ng-flag--warn { background: #FCF0D6; color: #7A4B00; }
.ng-flag--bad { background: #FBE5E7; color: #7F1D1D; }
.ng-tabu-dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 18px; }
.ng-tabu-dl dt { font-size: 14px; color: var(--ng-muted); }
.ng-tabu-dl dd { margin: 2px 0 0; font-weight: 700; }

/* ---------- Mini CRM (sheet) ---------- */
.ng-crm { display: flex; flex-direction: column; gap: 14px; }
.ng-crm__tools { display: flex; flex-direction: column; gap: 10px; }
.ng-crm__search input { width: 100%; font: inherit; font-size: 17px; padding: 12px 14px; min-height: 48px; border: 1px solid var(--ng-field); border-radius: 12px; background: #fff; }
.ng-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ng-chip { font: inherit; font-size: 15px; font-weight: 700; padding: 8px 14px; min-height: 40px; border-radius: 999px; border: 1px solid var(--ng-line); background: #fff; color: var(--ng-navy); cursor: pointer; }
.ng-chip b { font-weight: 800; margin-inline-start: 4px; }
.ng-chip.is-on { background: var(--ng-navy); border-color: var(--ng-navy); color: var(--ng-ivory); }
.ng-sheet-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--ng-line); border-radius: 16px; }
.ng-sheet { width: 100%; border-collapse: collapse; font-size: 16px; }
.ng-sheet th { position: sticky; top: 0; background: var(--ng-ivory); text-align: right; font-weight: 800; font-size: 14px; padding: 10px 12px; white-space: nowrap; border-bottom: 1px solid var(--ng-line); }
.ng-sheet td { padding: 8px 12px; border-bottom: 1px solid var(--ng-line); vertical-align: middle; }
.ng-sheet tr:nth-child(even) td { background: #FBF9F5; }
.ng-sheet tr[hidden] { display: none; }
.ng-sheet__name { font: inherit; font-weight: 800; color: var(--ng-navy); background: none; border: 0; padding: 6px 0; min-height: 40px; cursor: pointer; text-align: right; text-decoration: underline; text-decoration-color: var(--ng-gold); text-underline-offset: 4px; }
.ng-sheet__phone { white-space: nowrap; }
.ng-sheet__phone span { color: var(--ng-muted); font-size: 14px; margin-inline-start: 4px; }
.ng-sheet__note { max-width: 260px; color: #36404D; font-size: 15px; }
.ng-sheet select, .ng-sheet input[type="date"] { font: inherit; font-size: 15px; padding: 6px 8px; min-height: 40px; border: 1px solid var(--ng-field); border-radius: 8px; background: #fff; max-width: 170px; }
.ng-ico { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 999px; background: var(--ng-navy); color: #fff; vertical-align: middle; }
.ng-ico--wa { background: var(--ng-wa); }
.ng-stage { font-weight: 700; }
.ng-stage--new { background: #FCF0D6 !important; color: #7A4B00; }
.ng-stage--no_answer_1, .ng-stage--no_answer_2, .ng-stage--no_answer_3 { background: #F1E7FB !important; color: #4B2A7A; }
.ng-stage--followup { background: #E2ECFA !important; color: #1C3A5C; }
.ng-stage--closed { background: #E3F1E8 !important; color: #14532D; }
.ng-stage--lost { background: #EEEEEE !important; color: #4A4A4A; }
.ng-chip--new.is-on, .ng-chip--followup.is-on, .ng-chip--closed.is-on, .ng-chip--lost.is-on { background: var(--ng-navy); }
.ng-saved { outline: 2px solid #1F7A4D; outline-offset: 1px; transition: outline-color 1.2s ease; }
.ng-save-err { outline: 2px solid #8B1E2D; outline-offset: 1px; }
.ng-modal__dialog--wide { max-width: 620px; }
.ng-crm__details { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px 16px; background: var(--ng-ivory); border-radius: 12px; padding: 12px 14px; }
.ng-crm__details:empty { display: none; }
.ng-crm__details dt { font-size: 13px; color: var(--ng-muted); }
.ng-crm__details dd { margin: 0; font-weight: 700; }
.ng-crm__notes-title { margin: 6px 0 0; font-size: 18px; }
.ng-crm__notes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ng-crm__notes li { border-inline-start: 3px solid var(--ng-gold); padding: 6px 12px; background: #FBF9F5; border-radius: 0 10px 10px 0; }
.ng-crm__meta { font-size: 13px; color: var(--ng-muted); }
.ng-crm__text { white-space: pre-line; }
.ng-crm__empty { color: var(--ng-muted); border: 0 !important; background: none !important; }

/* Phone: each lead becomes a card */
@media (max-width: 760px) {
	.ng-sheet-wrap { background: transparent; border: 0; overflow: visible; }
	.ng-sheet thead { display: none; }
	.ng-sheet, .ng-sheet tbody, .ng-sheet tr, .ng-sheet td { display: block; width: 100%; }
	.ng-sheet tr { background: #fff; border: 1px solid var(--ng-line); border-radius: 16px; padding: 10px 12px; margin-bottom: 12px; }
	.ng-sheet tr:nth-child(even) td { background: transparent; }
	.ng-sheet td { border: 0; padding: 4px 0; display: flex; align-items: center; gap: 10px; }
	.ng-sheet td::before { content: attr(data-label); flex: 0 0 96px; font-size: 13px; color: var(--ng-muted); }
	.ng-sheet td[data-label="שם"]::before { display: none; }
	.ng-sheet__name { font-size: 20px; }
	.ng-sheet select, .ng-sheet input[type="date"] { max-width: none; flex: 1; min-height: 46px; font-size: 16px; }
	.ng-sheet__note { max-width: none; }
	.ng-sheet td { min-width: 0; overflow-wrap: anywhere; }
	.ng-sheet__phone { white-space: normal; flex-wrap: wrap; }
}

/* ---------- המאסטר + scripts ---------- */
.ng-sales { display: flex; flex-direction: column; gap: 18px; }
.ng-coach { background: var(--ng-navy); color: var(--ng-ivory); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 8px; z-index: 5; }
.ng-coach__title { display: flex; align-items: center; gap: 12px; }
.ng-coach__title strong { display: block; font-size: 22px; }
.ng-coach__title span { color: #C9CFD8; font-size: 15px; }
.ng-coach__badge { width: 46px; height: 46px; border-radius: 999px; background: var(--ng-gold); color: var(--ng-navy); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; flex: 0 0 auto; }
.ng-coach__bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ng-coach .ng-field label, .ng-coach .ng-label { color: #DCE2E9; }
.ng-coach select, .ng-coach textarea { font: inherit; font-size: 17px; width: 100%; border-radius: 10px; border: 0; padding: 12px; min-height: 48px; }
.ng-coach__ask { display: flex; flex-direction: column; gap: 8px; }
.ng-coach__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ng-coach__actions .ng-btn--gold { flex: 1 1 200px; }
.ng-coach__actions .ng-btn--ghost { color: var(--ng-ivory); border-color: rgba(246, 242, 234, .4); }
.ng-coach__answer { background: var(--ng-ivory); color: var(--ng-navy); border-radius: 14px; padding: 14px 16px; font-size: 18px; line-height: 1.6; white-space: pre-line; border-inline-start: 6px solid var(--ng-gold); }
.ng-coach__answer.is-loading { opacity: .7; }
.ng-coach__history { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 240px; overflow: auto; }
.ng-coach__history li { background: rgba(255, 255, 255, .07); border-radius: 10px; padding: 8px 12px; font-size: 15px; }
.ng-coach__q { color: var(--ng-gold); font-weight: 700; }
.ng-coach__a { white-space: pre-line; color: #E7EAEE; }
.ng-tile--master { background: var(--ng-navy); color: var(--ng-ivory); border-color: var(--ng-navy); }
.ng-tile--master .ng-tile__icon { background: var(--ng-gold); color: var(--ng-navy); }
.ng-script { background: #fff; border: 1px solid var(--ng-line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.ng-script__goal { margin: 0; background: var(--ng-sand); border-radius: 10px; padding: 10px 14px; }
.ng-step-acc { border-top: 1px solid var(--ng-line); padding-top: 8px; }
.ng-step-acc summary { font-weight: 800; font-size: 18px; cursor: pointer; min-height: 40px; display: flex; align-items: center; }
.ng-step-acc ul { margin: 6px 0 4px; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 6px; }
.ng-objections { margin: 6px 0 0; display: flex; flex-direction: column; gap: 10px; }
.ng-objections dt { font-weight: 800; }
.ng-objections dd { margin: 2px 0 0; color: #36404D; }
@media (max-width: 560px) {
	.ng-coach { position: static; }
	.ng-coach__bar { grid-template-columns: 1fr; }
}

/* ---------- CRM questionnaire ---------- */
.ng-q { border: 1px solid var(--ng-line); border-radius: 14px; padding: 10px 14px; background: #FBF9F5; }
.ng-q summary { font-weight: 800; font-size: 17px; cursor: pointer; min-height: 40px; display: flex; align-items: center; }
.ng-q__type { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.ng-q__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.ng-q__label { font-size: 14px; font-weight: 700; color: var(--ng-muted); margin-bottom: 4px; }
.ng-q__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.ng-q__chip { font: inherit; font-size: 15px; padding: 7px 12px; min-height: 40px; border-radius: 999px; border: 1px solid var(--ng-field); background: #fff; color: var(--ng-navy); cursor: pointer; }
.ng-q__chip[aria-pressed="true"] { background: var(--ng-navy); border-color: var(--ng-navy); color: var(--ng-ivory); }
.ng-q__chip--type { font-weight: 700; }
.ng-q__chip--type[aria-pressed="true"] { background: var(--ng-gold); border-color: var(--ng-gold); color: var(--ng-navy); }
.ng-q__text { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; min-height: 44px; border: 1px solid var(--ng-field); border-radius: 10px; }

/* ---------- Orders (e-sign) ---------- */
.ng-seg { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ng-seg legend { font-weight: 800; font-size: 17px; margin-bottom: 8px; padding: 0; }
.ng-seg__opt { position: relative; }
.ng-seg__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.ng-seg__opt span { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 14px; border: 1px solid var(--ng-field); border-radius: 999px; background: #fff; font-weight: 700; font-size: 15px; }
.ng-seg__opt input:checked + span { background: var(--ng-navy); border-color: var(--ng-navy); color: var(--ng-ivory); }
.ng-seg__opt input:focus-visible + span { outline: 3px solid var(--ng-gold); outline-offset: 2px; }
.ng-ex { border: 1px solid var(--ng-line); border-radius: 14px; padding: 12px 14px; margin: 0; background: #FBF9F5; display: flex; flex-direction: column; gap: 10px; }
.ng-ex legend { font-weight: 800; padding: 0 6px; }
.ng-more summary { cursor: pointer; font-weight: 700; min-height: 40px; display: flex; align-items: center; }
.ng-send { background: #fff; border: 1px solid var(--ng-line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.ng-send .ng-btn--block { width: 100%; }
.ng-copyline { display: flex; gap: 8px; width: 100%; }
.ng-copyline input { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid var(--ng-field); border-radius: 10px; background: var(--ng-ivory); }
.ng-tag--o-sent { background: #FCF0D6; color: #7A4B00; }
.ng-tag--o-viewed { background: #E4ECF7; color: #1C3A5C; }
.ng-tag--o-signed { background: #E3F1E8; color: #14532D; }
.ng-tag--o-void { background: #EEE; color: #555; }
.ng-tag--late { background: #FBE5E7; color: #7F1D1D; }

/* ---------- Deals & commissions ---------- */
.ng-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.ng-stat { background: #fff; border: 1px solid var(--ng-line); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.ng-stat span { font-size: 15px; color: var(--ng-muted); font-weight: 700; }
.ng-stat b { font-family: var(--ng-font-en); font-size: 26px; font-weight: 700; color: var(--ng-navy); }
.ng-stat--warn { border-color: var(--ng-gold); background: #FBF6EC; }
.ng-split-box { background: var(--ng-navy); color: var(--ng-ivory); border-radius: 14px; padding: 14px 16px; line-height: 1.7; }
.ng-split-box .ng-h3 { color: var(--ng-ivory); font-size: 19px; }
.ng-split-box ul { margin: 0; padding: 0; list-style: none; }
.ng-split-box:empty { display: none; }
.ng-side-box { border: 1px solid var(--ng-line); border-radius: 14px; padding: 12px 14px; margin: 0; }
.ng-side-box legend { font-weight: 800; padding: 0 6px; }
.ng-quick--inline { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ng-quick--inline select, .ng-quick--inline input { font: inherit; font-size: 16px; min-height: 44px; padding: 6px 10px; border: 1px solid var(--ng-field); border-radius: 10px; background: #fff; }
.ng-quick--inline label { font-size: 15px; font-weight: 700; }
.ng-tag--d-pending { background: #FCF0D6; color: #7A4B00; }
.ng-tag--d-open { background: #E4ECF7; color: #1C3A5C; }
.ng-tag--d-collected { background: #E3F1E8; color: #14532D; }
.ng-tag--d-settled { background: #EEE; color: #333; }
.ng-sheet--plain td, .ng-sheet--plain th { padding: 10px 12px; }

/* ---------- Today panel & matching ---------- */
.ng-today { background: #fff; border: 2px solid var(--ng-gold); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.ng-today .ng-h3 { font-size: 21px; margin: 0; }
.ng-today--clear { border-color: var(--ng-line); color: var(--ng-muted); }
.ng-today--clear p { margin: 0; }
.ng-today__h { margin: 8px 0 2px; font-size: 16px; color: var(--ng-gold-dark); }
.ng-today__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.ng-today__list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border-bottom: 1px solid var(--ng-line); padding-bottom: 6px; }
.ng-link { color: var(--ng-gold-dark); font-weight: 700; }
.ng-match__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ng-match__list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 12px; border: 1px solid var(--ng-line); border-radius: 12px; }
.ng-match__list li b, .ng-match__list li > a:first-child { font-weight: 800; color: var(--ng-navy); }
.ng-match__list li span { flex: 1 1 140px; color: var(--ng-muted); font-size: 15px; }
.ng-match__list .ng-btn { min-height: 42px; font-size: 15px; }
.ng-dash__head-actions { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.ng-chip--due { border-color: #8B1E2D; color: #8B1E2D; }
.ng-sheet tr.is-due td:first-child { box-shadow: inset -4px 0 0 #8B1E2D; }
.ng-btn--block[data-ng-crm-order] { margin: 4px 0; }

/* ---------- Site: consent, sticky bar ---------- */
.ng-consent { margin: 6px 0 0; font-size: 13px; color: var(--ng-muted); }
.ng-consent a { color: inherit; }
.ng-sticky { display: none; }
@media (max-width: 900px) {
	.ng-sticky { display: flex; gap: 8px; position: fixed; inset-inline: 0; bottom: 0; z-index: 900; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(246, 242, 234, .96); border-top: 1px solid var(--ng-line); backdrop-filter: blur(6px); }
	.ng-sticky .ng-btn--gold { flex: 1; }
	.ng-sticky .ng-btn--wa, .ng-sticky .ng-btn--navy { width: 52px; padding: 0; }
	.ng-single { padding-bottom: 110px; }
}

/* ---------- Home page [ng_home] ---------- */
.ng-home-page .entry-title, .ng-home-page .page-header { display: none; }
.ng-home-page { overflow-x: clip; }
.ng-home { font-family: var(--ng-font); color: var(--ng-text); direction: rtl; width: 100vw; margin-inline: calc(50% - 50vw); box-sizing: border-box; }
.ng-home * { box-sizing: border-box; }
.ng-hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(176, 138, 69, .28), transparent 60%), linear-gradient(160deg, #0E2238 0%, #16304D 100%); color: var(--ng-ivory); padding: 72px 20px 56px; }
.ng-hero__in { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.ng-eyebrow { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .02em; color: #D9BE86; }
.ng-eyebrow--dark { color: var(--ng-gold-dark); }
.ng-hero__title { margin: 0; font-size: clamp(34px, 5.4vw, 60px); line-height: 1.08; font-weight: 800; max-width: 16ch; }
.ng-hero__title span { color: #D9BE86; }
.ng-hero__lead { margin: 0; font-size: clamp(18px, 2vw, 21px); color: #D5DBE3; max-width: 46ch; }
.ng-hero .ng-search { background: #fff; color: var(--ng-navy); border-radius: 18px; padding: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.ng-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: #CFD6DF; }
.ng-sec { max-width: 1200px; margin: 0 auto; padding: 64px 20px; display: flex; flex-direction: column; gap: 22px; }
.ng-sec--sand, .ng-sec--navy { max-width: none; padding-inline: max(20px, calc((100vw - 1160px) / 2)); }
.ng-sec--sand { background: var(--ng-sand); }
.ng-sec--navy { background: var(--ng-navy); color: var(--ng-ivory); }
.ng-sec--navy .ng-h2 { color: var(--ng-ivory); }
.ng-sec .ng-h2 { margin: 0; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; max-width: 26ch; }
.ng-sec__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.ng-more-link { font-weight: 800; color: var(--ng-gold-dark); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.ng-hsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.ng-hstep { background: #fff; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.ng-hstep__no { font-family: var(--ng-font-en); font-weight: 700; font-size: 30px; color: var(--ng-gold); }
.ng-hstep h3 { margin: 0; font-size: 21px; }
.ng-hstep p { margin: 0; color: var(--ng-muted); line-height: 1.6; }
.ng-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: start; }
.ng-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 18px; line-height: 1.55; }
.ng-ticks li { position: relative; padding-inline-start: 30px; }
.ng-ticks li::before { content: '✓'; position: absolute; inset-inline-start: 0; top: 0; color: var(--ng-gold); font-weight: 800; }
.ng-ticks--light li { color: #DCE2E9; }
.ng-ticks--light b { color: #fff; }
.ng-sec--navy .ng-form--card { color: var(--ng-navy); }
.ng-dev { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.ng-dev__cta { background: #fff; border: 1px solid var(--ng-line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.ng-dev__cta p { margin: 0; font-weight: 800; font-size: 19px; }
.ng-people { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 18px; }
.ng-people a { color: var(--ng-navy); font-weight: 700; }
@media (max-width: 860px) {
	.ng-split, .ng-dev { grid-template-columns: 1fr; }
	.ng-hero { padding: 48px 16px 40px; }
	.ng-sec { padding: 44px 16px; }
}

/* Home FAQ */
.ng-faq { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.ng-faq__item { background: #fff; border: 1px solid var(--ng-line); border-radius: 14px; padding: 4px 18px; }
.ng-faq__item summary { cursor: pointer; font-weight: 800; font-size: 18px; min-height: 52px; display: flex; align-items: center; }
.ng-faq__item p { margin: 0 0 14px; color: var(--ng-muted); line-height: 1.65; font-size: 17px; }

/* My profile (branded card) */
.ng-me__grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 28px; align-items: start; }
.ng-me__card { display: flex; flex-direction: column; gap: 12px; }
.ng-me__card img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 10px 30px rgba(14, 34, 56, .18); }
.ng-me__empty { aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; border: 2px dashed var(--ng-line, #E4DCCD); border-radius: 14px; color: var(--ng-muted, #4A5462); font-weight: 500; }
@media (max-width: 760px) { .ng-me__grid { grid-template-columns: 1fr; } }

/* Social publishing */
.ng-social { display: flex; flex-direction: column; gap: 22px; }
.ng-social__head { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: flex-end; justify-content: space-between; }
.ng-social__head .ng-h2 { margin: 4px 0 0; }
.ng-social__ai { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; max-width: 560px; }
.ng-social__ai .ng-help { flex-basis: 100%; margin: 0; }
.ng-social__imgs { background: #fff; border: 1px solid var(--ng-line, #E4DCCD); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.ng-social__strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x proximity; }
.ng-social__img { position: relative; flex: 0 0 150px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; cursor: pointer; scroll-snap-align: start; }
.ng-social__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .2s; }
.ng-social__img input { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; accent-color: #B08A45; z-index: 1; }
.ng-social__img input:not(:checked) + img { opacity: .45; }
.ng-social__imgbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.ng-social__imgbar .ng-help { margin: 0; }
.ng-social__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
.ng-post { background: #fff; border: 1px solid var(--ng-line, #E4DCCD); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px; border-top: 4px solid #0E2238; }
.ng-post--facebook, .ng-post--groups { border-top-color: #1877F2; }
.ng-post--instagram { border-top-color: #D62976; }
.ng-post--reels { border-top-color: #111; }
.ng-post--whatsapp, .ng-post--status { border-top-color: #25D366; }
.ng-post--telegram { border-top-color: #229ED9; }
.ng-post--linkedin { border-top-color: #0A66C2; }
.ng-post--listing { border-top-color: #B08A45; }
.ng-post__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ng-post__head h3 { margin: 0; font-size: 18px; font-weight: 800; }
.ng-post__done { font-size: 13px; font-weight: 700; color: #14532D; white-space: nowrap; }
.ng-post__tip { margin: 0; font-size: 14px; color: var(--ng-muted, #4A5462); }
.ng-post__text { width: 100%; min-height: 230px; font: inherit; font-size: 16px; line-height: 1.55; padding: 12px; border: 1px solid var(--ng-line, #E4DCCD); border-radius: 12px; background: #FBF9F5; resize: vertical; }
.ng-post__sub { font-size: 14px; font-weight: 700; }
.ng-post__row { display: flex; gap: 8px; }
.ng-post__line { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 10px; border: 1px solid var(--ng-line, #E4DCCD); border-radius: 10px; direction: rtl; }
.ng-post__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.ng-social__foot { margin: 0; }
.ng-toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: #0E2238; color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 700; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 99999; max-width: calc(100% - 32px); text-align: center; }
@media (max-width: 760px) { .ng-social__grid { grid-template-columns: 1fr; } .ng-social__img { flex-basis: 120px; } }
.ng-social *, .ng-social *::before, .ng-social *::after { box-sizing: border-box; }
.ng-social [hidden] { display: none !important; }
.ng-social .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ng-social, .ng-post { min-width: 0; }

.ng-groups { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ng-groups__row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: #F6F2EA; }
.ng-groups__row.is-opened { background: #EAF2FD; }
.ng-groups__name { flex: 1; min-width: 0; font-weight: 700; display: flex; flex-direction: column; overflow-wrap: anywhere; }
.ng-groups__name small { font-weight: 700; font-size: 12px; color: #14532D; }

/* Leads: bulk assign + import */
.ng-bulk { position: sticky; top: 8px; z-index: 20; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: #0E2238; color: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: 0 8px 24px rgba(14,34,56,.25); margin-bottom: 12px; }
.ng-bulk[hidden], .ng-bulk__pool[hidden] { display: none !important; }
.ng-bulk select { min-height: 42px; border-radius: 10px; padding: 0 10px; font: inherit; }
.ng-bulk__pool { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 15px; }
.ng-bulk__pool label { display: inline-flex; align-items: center; gap: 6px; }
.ng-modal .ng-bulk__pool { color: inherit; margin: 4px 0 8px; padding-inline-start: 26px; }
.ng-sheet__pick { width: 36px; text-align: center; }
.ng-sheet__pick input { width: 20px; height: 20px; accent-color: #B08A45; }
.ng-check { display: flex; align-items: center; gap: 8px; font-weight: 500; margin: 6px 0; flex-wrap: wrap; }

/* Project (developer) screen */
.ng-proj, .ng-od { display: flex; flex-direction: column; gap: 18px; }
.ng-proj__links { display: flex; flex-wrap: wrap; gap: 8px; }
.ng-proj__box { border: 1px solid var(--ng-line, #E4DCCD); border-radius: 16px; padding: 16px 18px; background: #fff; margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ng-proj__box legend { font-weight: 800; font-size: 18px; padding: 0 6px; }
.ng-proj__upload { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 16px; background: #FBF6EC; border-color: #E8C97A; }
.ng-proj__upload > div { flex: 1 1 320px; }
.ng-proj__upload .ng-help { margin: 4px 0 0; }
.ng-proj__docs { flex-basis: 100%; margin: 0; padding-inline-start: 18px; font-size: 15px; }
.ng-proj__kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.ng-proj__kpis div { background: #0E2238; color: #fff; border-radius: 14px; padding: 12px 14px; }
.ng-proj__kpis span { display: block; font-size: 14px; opacity: .85; }
.ng-proj__kpis strong { font-size: 26px; font-weight: 800; }
.ng-units { border-collapse: collapse; width: 100%; font-size: 15px; }
.ng-units th { text-align: right; padding: 6px; background: #F6F2EA; white-space: nowrap; }
.ng-units td { padding: 4px; border-bottom: 1px solid #EFE8DA; }
.ng-units input, .ng-units select { font: inherit; padding: 6px 8px; border: 1px solid #DDD3C2; border-radius: 8px; max-width: 100%; }
.ng-table-wrap { overflow-x: auto; }
.ng-proj__weeks { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.ng-proj__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ng-chip.is-on { background: #0E2238; color: #fff; }

/* Owner agreement */
.ng-od__now { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding: 16px 18px; border-radius: 16px; background: #E3F1E8; }
.ng-od__now strong { font-size: 18px; }
.ng-od__now--soon { background: #FCF0D6; }
.ng-od__now--ended { background: #FBE5E7; }
.ng-od__now--none, .ng-od__now--closed { background: #F1EEE8; }
.ng-od__docs { display: flex; flex-wrap: wrap; gap: 8px; margin-inline-start: auto; }
.ng-od__renew { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 14px 18px; border: 2px solid #B08A45; border-radius: 16px; }
.ng-od__hist { margin: 0; padding-inline-start: 18px; display: flex; flex-direction: column; gap: 6px; }
.ng-od__hist small { color: #4A5462; }
.ng-tag--ex-ok { background: #E3F1E8; color: #14532D; }
.ng-tag--ex-soon { background: #FCF0D6; color: #7A4B00; font-weight: 800; }
.ng-tag--ex-ended { background: #FBE5E7; color: #7F1D1D; font-weight: 800; }
.ng-coach__quick { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }

/* Unassigned leads alert, pager, coach search */
.ng-notice--warn { background: #FFF4D6; color: #6B4E00; border: 1px solid #F0D58A; }
.ng-notice--link { display: block; text-decoration: none; margin-bottom: 14px; }
.ng-notice--link:hover, .ng-notice--link:focus-visible { background: #FFEDB8; }
.ng-pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px 0 6px; flex-wrap: wrap; }
.ng-pager span { font-weight: 500; color: #4A5568; }
.ng-coach__find { width: 100%; margin-bottom: 6px; }
a.ng-chip { text-decoration: none; }

/* Expenses & partner split */
.ng-chips--months { margin-top: -6px; }
.ng-ledger { background: #fff; border: 1px solid #E8E1D3; border-radius: 16px; padding: 20px; margin: 16px 0; }
.ng-ledger__rows { margin: 0 0 16px; }
.ng-ledger__rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed #E8E1D3; font-size: 17px; }
.ng-ledger__rows dt { margin: 0; }
.ng-ledger__rows dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; direction: ltr; }
.ng-ledger__rows .is-sub { font-weight: 600; }
.ng-ledger__rows .is-total { border-bottom: 0; border-top: 2px solid #0F2238; font-size: 20px; font-weight: 800; color: #0F2238; }
.ng-ledger__people { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.ng-ledger__person { background: #FAF7F0; border-radius: 12px; padding: 14px 16px; }
.ng-ledger__person.is-treasurer { background: #F2F5F9; }
.ng-ledger__person h4 { margin: 0 0 8px; font-size: 18px; }
.ng-ledger__person ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ng-ledger__due { margin-top: 6px; padding-top: 6px; border-top: 1px solid #E8E1D3; font-size: 18px; color: #0F2238; }
.ng-exp__form { margin: 16px 0; }
.ng-exp__form summary { cursor: pointer; }
.ng-exp__cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ng-exp__cats li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
.ng-exp__cats i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: linear-gradient(to left, #B08A45 var(--w), #EFE8DA var(--w)); }

/* Auto video (TikTok / Reels) */
.ng-reel { display: grid; grid-template-columns: 1fr 270px; gap: 24px; align-items: start; background: #fff; border: 1px solid #E8E1D3; border-radius: 16px; padding: 20px; margin: 18px 0; }
.ng-reel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 12px 0; }
.ng-reel__progress { height: 8px; border-radius: 4px; background: #EFE8DA; overflow: hidden; }
.ng-reel__progress i { display: block; height: 100%; width: 0; background: #B08A45; transition: width .2s; }
.ng-reel__done { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ng-reel__screen { width: 270px; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #0F2238; position: relative; }
.ng-reel__stage, .ng-reel__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.ng-reel__canvas { width: 100%; height: 100%; display: block; }
.ng-reel__video:not([src]) { display: none; }
@media (max-width: 700px) { .ng-reel { grid-template-columns: 1fr; } .ng-reel__screen { margin: 0 auto; } }

/* Photo recognition (what's in each photo) */
.ng-social__cell { flex: 0 0 150px; display: flex; flex-direction: column; gap: 6px; scroll-snap-align: start; }
.ng-social__cell .ng-social__img { flex: none; width: 100%; }
.ng-social__tag { display: grid; grid-template-columns: auto 1fr; gap: 4px 6px; align-items: center; }
.ng-social__tag select { font-size: 13px; padding: 4px 6px; min-height: 32px; border-radius: 8px; border: 1px solid #E4DCCD; background: #fff; width: 100%; }
.ng-social__tag small { grid-column: 1 / -1; font-size: 12.5px; color: #4A5462; line-height: 1.3; }
.ng-social__star { width: 32px; height: 32px; border-radius: 8px; border: 1px solid #E4DCCD; background: #fff; color: #C9C2B4; font-size: 18px; line-height: 1; cursor: pointer; }
.ng-social__star.is-on { background: #B08A45; border-color: #B08A45; color: #fff; }
.ng-social__star:focus-visible, .ng-social__tag select:focus-visible { outline: 2px solid #0F2238; outline-offset: 2px; }
@media (max-width: 760px) { .ng-social__cell { flex-basis: 120px; } }
