:root{--ink:#12334b;--muted:#637684;--line:#dce5eb;--bg:#f2f6f9;--accent:#087e8b;--nav:#112e45;--yellow:#ffe35b;--danger:#b62828}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);padding:.6rem 1rem;font-weight:600}button:hover{background:#e9f3f6}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:var(--accent);color:white;border-color:var(--accent)}.primary:hover{background:#066774}.quiet{background:transparent;border-color:transparent}.danger{color:var(--danger)}input,select,textarea{border:1px solid #beced8;border-radius:7px;background:white;color:var(--ink);padding:.6rem .75rem;min-width:0;max-width:100%}input[type=checkbox]{accent-color:var(--accent);width:20px;height:20px;cursor:pointer}input[type=number]{width:100%}input:focus,button:focus-visible,select:focus{outline:3px solid #8adddf;outline-offset:2px}header{height:82px;display:flex;align-items:center;gap:14px;padding:0 32px;background:white;border-bottom:1px solid var(--line)}header strong{font-size:20px}header small{display:block;color:var(--muted);font-size:13px}.brand{background:var(--nav);color:white;width:44px;height:44px;display:flex;align-items:center;justify-content:center;text-decoration:none;border-radius:10px;font-size:20px;font-weight:800}.brand span{color:#5ee2de}.header-right{margin-left:auto;display:flex;align-items:center;gap:20px;font-size:14px;color:var(--muted)}.layout{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:calc(100vh - 82px)}nav{background:var(--nav);padding:30px 16px;display:flex;flex-direction:column;gap:8px}nav button{color:#d4e3ee;text-align:left;border:0;padding:13px;background:transparent;font-size:15px}nav button:hover{background:#23455f}nav button.active{background:#24536b;color:#a6f5ef}.nav-note{margin-top:auto;padding:40px 13px 10px;color:#94adbf;font-size:14px}main{padding:36px;min-width:0;max-width:1900px;width:100%;margin:auto}.eyebrow{font-size:12px;letter-spacing:.14em;font-weight:750;color:var(--accent);margin:0 0 8px}h1{font-size:30px;line-height:1.2;margin:0 0 10px;letter-spacing:-.025em}h2{font-size:22px;margin:0 0 16px}h3{font-size:18px;margin:20px 0 10px}p{margin:0 0 12px}.titlebar{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:16px}.titlebar p:not(.eyebrow){color:var(--muted)}.count-pill{border:1px solid var(--line);padding:7px 14px;border-radius:30px;background:white;white-space:nowrap;font-size:14px}.booking-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.filters{padding:18px;display:flex;gap:12px}.filters input{flex:1}.table-scroll{overflow:auto;max-height:calc(100vh - 360px);min-height:250px}table{width:100%;border-collapse:collapse;font-size:14px;text-align:left}th{background:#edf3f7;color:#4c6272;font-size:13px;white-space:nowrap}th,td{padding:12px 15px;border-bottom:1px solid var(--line)}th{position:sticky;top:0;z-index:1}td:first-child{font-weight:650}tbody tr:hover{background:#f4fbfc}tr.chosen{background:#eaf8f7}tr.sold{background:#fff8c9}.table-foot{padding:13px 18px;font-size:13px;color:var(--muted);border-top:1px solid var(--line)}.cart{padding:24px;position:sticky;top:24px}.cart h2{font-size:32px}.chips{display:flex;flex-wrap:wrap;gap:7px;max-height:240px;overflow:auto;min-height:70px}.chip{padding:4px 9px;background:#e4f3f5;border:1px solid #b9e0e4;border-radius:5px;font-size:14px}.cart-total{border-top:1px solid var(--line);margin:24px 0 20px;padding-top:16px;display:flex;justify-content:space-between}.cart button{width:100%;margin-bottom:6px}.small{font-size:13px}.muted{color:var(--muted)}.plc-dot{display:inline-block;width:11px;height:11px;border:1px solid #9db0c0;margin-right:7px;border-radius:3px}.warning{padding:10px 14px;background:#fff4d4;border-radius:7px;color:#775517;font-size:14px}.error{color:var(--danger)}#message{padding:12px 16px;margin-bottom:20px;border:1px solid #91d5bd;background:#e4f7ee;border-radius:8px}#message.error{border-color:#edb5b5;background:#fff0f0}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}label{display:block;font-size:14px;font-weight:600}label>input,label>select,label>textarea{display:block;width:100%;margin-top:6px}label.inline{display:flex;gap:10px;align-items:center}label.inline input{width:20px;margin:0}.padded{padding:24px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.metric{background:white;border:1px solid var(--line);border-radius:10px;padding:18px}.metric span{font-size:13px;color:var(--muted);display:block}.metric strong{font-size:23px;display:block;margin-top:6px}.empty{padding:60px 24px;text-align:center;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:14px;max-width:1050px;width:calc(100% - 36px);max-height:92vh;padding:28px;color:var(--ink);box-shadow:0 20px 90px #08253940}dialog::backdrop{background:#062139a6}#loginDialog{max-width:420px}#loginDialog label{margin:18px 0}#loginDialog button{width:100%}.dialog-head,.dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:16px}.dialog-head h2{margin:0}.dialog-head{margin-bottom:24px}.dialog-foot{border-top:1px solid var(--line);padding-top:20px;margin-top:24px;justify-content:flex-end}.schedule input{min-width:90px}.schedule input[type=date]{min-width:150px}.schedule td{padding:8px}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}details{margin-top:20px;border-top:1px solid var(--line);padding-top:16px}summary{cursor:pointer;color:var(--muted);font-size:14px}.badge{display:inline-block;font-size:12px;border-radius:4px;padding:3px 7px;background:#edf2f6}.badge.booked{background:#ffea8a;color:#614d00}.map-tools{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.legend{display:flex;gap:14px;flex-wrap:wrap;font-size:13px;margin:15px 0}.map-scroll{overflow:auto;background:#eef2f4;border:1px solid var(--line);border-radius:8px;max-height:70vh}.map-scroll svg{min-width:1600px;display:block}.map-plot{cursor:pointer}.map-plot:focus{outline:2px solid blue}.original-map{width:100%;height:auto;display:block}.nowrap{white-space:nowrap}.payment-box{background:#f1f8fa;border-radius:10px;padding:20px;margin-top:20px}.next{font-size:13px;color:#8a5624}.help-list p{margin-bottom:18px}.table-wide{overflow:auto}.table-wide td,.table-wide th{white-space:nowrap}.view[hidden],[hidden]{display:none!important}.balance{color:#a84624;font-weight:700}progress{accent-color:var(--accent);width:90px;height:8px}.amount-preview{margin-top:10px;font-size:14px;color:var(--muted)}@media(max-width:1100px){.layout{grid-template-columns:192px minmax(0,1fr)}main{padding:24px}.booking-layout{grid-template-columns:minmax(0,1fr) 240px;gap:16px}.cart{padding:18px}.metrics{grid-template-columns:repeat(2,1fr)}}@media(max-width:800px){header{padding:0 18px;height:72px}.header-right>span{display:none}.layout{display:block}nav{flex-direction:row;overflow:auto;padding:10px}nav button{white-space:nowrap;font-size:14px}nav .nav-note{display:none}main{padding:22px 14px}.booking-layout{display:flex;flex-direction:column}.booking-layout>.panel{width:100%}.cart{position:static}.cart .chips{min-height:0}.cart-total{margin:12px 0}.grid,.grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.table-scroll{max-height:55vh}.titlebar{align-items:flex-start}h1{font-size:26px}.filters{flex-wrap:wrap}.filters input{width:100%}.filters select{width:100%}.metrics{gap:10px}.metric{padding:13px}.metric strong{font-size:20px}.dialog-foot{position:sticky;bottom:-28px;background:white;padding:16px 0}.count-pill{font-size:12px}}@media(max-width:450px){.grid,.grid.two,.grid.four{grid-template-columns:1fr}dialog{padding:20px}.titlebar{display:block}.titlebar .count-pill{display:inline-block;margin-top:10px}}
:root{color-scheme:light}.button-link{display:inline-block;padding:.6rem 1rem;border:1px solid #bfd1dc;border-radius:8px;text-decoration:none;color:var(--accent);font-size:14px;font-weight:600}.button-link:hover{background:#edf7f8}#bookingFields .grid>datalist{display:none}

.schedule .booking-payment{background:#f1f8fa}.schedule .auto-balance{background:#e7f8ed}.schedule input[data-schedule-input]{min-width:170px;max-width:260px}.schedule input[readonly]{background:#f5f7f9;color:#637684}.schedule-note{display:block;margin-top:4px;min-height:20px}.schedule-error{margin:10px 0}.schedule .booking-payment td{font-weight:650}

.schedule input[data-schedule-percent]{min-width:100px;max-width:160px}

.payment-count{max-width:300px;margin:12px 0 18px}.payment-count input{max-width:130px}
.receipt-summary>h3{margin-top:0}.receipt-summary input[readonly]{width:100%;font-weight:700;background:#fff;border-color:#cddfe5}.receipt-summary .received-total input{color:#066774;background:#e7f8ed;border-color:#a3d4bc}.receipt-note{margin:12px 0 0}.receipt-entry{margin-top:18px}.receipt-entry>summary{display:list-item;width:fit-content;max-width:100%;min-height:44px;padding:10px 16px;border:1px solid var(--accent);border-radius:8px;color:var(--accent);background:white;font-weight:650;cursor:pointer}.receipt-entry>form{margin-top:16px}
.account-overview .metrics{margin-bottom:12px}.cash-breakdown{display:flex;flex-wrap:wrap;gap:8px 24px;margin:0 0 18px;font-size:14px;color:var(--muted)}.cash-breakdown strong{color:var(--ink)}.cash-breakdown p{flex-basis:100%;margin:0;font-size:12px}.sale-overview td{vertical-align:top}.sale-plot-count{display:block;font-size:25px;line-height:1.3;margin-bottom:4px}.sale-overview td:first-child>span{display:block}.account-plot-list{display:flex;flex-wrap:wrap;gap:6px;min-width:220px;max-width:540px;max-height:126px;overflow:auto;white-space:normal}.account-plot-list>span{display:inline-block;padding:3px 8px;border-radius:5px;background:#fff2b8;font-size:13px;color:#614d00}.account-plot-list>span.muted{background:transparent;color:var(--muted);padding:0}.client-list-heading{margin:26px 0 12px;font-size:20px}
/* Supplied brand artwork: NV City in navigation, Mahalaxmi in the main header. */
.brand-primary{display:flex;align-items:center;gap:10px;min-width:0}
.sidebar-brand{flex-direction:column;gap:2px;padding:4px 4px 12px;margin-bottom:10px;background:transparent;border:0;border-radius:0;text-align:center}
.brand.brand-logo{width:128px;height:94px;background:transparent;flex-shrink:0;border-radius:0;overflow:hidden}
.brand-logo img{display:block;width:100%;height:100%;object-fit:contain}
.sidebar-brand .brand-logo img{transform:scale(1.3)}
.brand-title{min-width:0;line-height:1.35}
.brand-title strong{display:block;font-size:17px;color:#f1f7fb}
.brand-title small{display:block;margin-top:2px;font-size:12px;color:#b9cedd}
.header-logout{margin-left:auto;flex-shrink:0;white-space:nowrap;min-height:44px;padding:8px 14px}
.site-header{height:auto;min-height:82px;padding:4px 28px;display:flex}
.owner-brand{display:flex;align-items:center;gap:14px;min-width:0}
.owner-logo{display:block;width:80px;height:74px;object-fit:contain;flex-shrink:0}
.owner-title{min-width:0;line-height:1.35}
.owner-title strong{display:block;font-size:20px;font-weight:700}
.owner-title small{margin-top:3px;color:#96701e;font-size:13px;font-weight:600;letter-spacing:.025em}
.owner-title .owner-contact{display:block;width:fit-content;margin-top:3px;color:var(--ink);font-size:13px;font-weight:600;line-height:1.5;text-decoration:none}
.owner-title .owner-contact:hover{text-decoration:underline}
.owner-title .owner-contact:focus-visible{outline:3px solid #8adddf;outline-offset:3px;border-radius:2px}
.login-logo{display:block;width:clamp(140px,28vh,220px);height:auto;max-width:100%;margin:-8px auto 8px}
#loginDialog .eyebrow,#loginDialog h1{text-align:center}
@media(max-width:800px){.site-header{padding:8px 14px}.owner-logo{width:64px;height:64px}.owner-brand{gap:10px}.owner-title strong{font-size:16px}.owner-title small{font-size:12px}}
@media(max-width:600px){.site-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px}.site-header .owner-brand{display:contents}.site-header .owner-logo{grid-column:1;grid-row:1}.site-header .owner-title{grid-column:1/-1;grid-row:2}.header-logout{grid-column:2;grid-row:1;align-self:start;margin-top:4px}}
@media(max-width:360px){.site-header{padding:8px 10px}.owner-logo{width:56px;height:56px}.owner-title strong{font-size:15px}}

.map-downloads{padding:18px;margin:0 0 18px}.map-downloads h2{font-size:18px;margin:0 0 6px}.map-downloads p{margin:0 0 12px}.map-download-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.map-download-options .button-link{display:flex;flex-direction:column;justify-content:center;min-width:0;min-height:60px;padding:10px 14px;background:#f7fbfc}.map-download-options .button-link:hover{background:#e7f5f6}.map-download-options .button-link:focus-visible{outline:3px solid #8adddf;outline-offset:2px}.map-download-options strong{font-size:15px}.map-download-options span{margin-top:2px;font-size:12px;font-weight:400;color:var(--muted)}@media(max-width:640px){.map-downloads{padding:14px}.map-download-options{grid-template-columns:minmax(0,1fr);gap:8px}.map-download-options .button-link{min-height:60px}}

/* Sidebar colour treatment preserves the original transparent logo and gold. */
.brand-filter-defs{position:absolute;overflow:hidden;pointer-events:none}.sidebar-brand .brand-logo img{filter:url("#nvSilverTint")}
/* Printed duplicate numbers are distinguished by location without renumbering. */
.plot-location{display:block;max-width:16rem;margin-top:3px;white-space:normal;line-height:1.35}
.client-address{white-space:pre-line;overflow-wrap:anywhere;max-width:650px}
.client-edit{margin:0 0 24px;padding:0;border:1px solid var(--line);border-radius:10px;background:#f6fafc;overflow:hidden}
.client-edit>summary{padding:14px 18px;color:var(--accent);font-size:15px;font-weight:650;min-height:48px}
.client-edit form{padding:0 18px 18px}.client-edit-address{grid-column:1/-1}.client-edit-note{margin:12px 0 0}
.client-edit-status{padding:12px 16px;background:#e4f7ee;border:1px solid #91d5bd;border-radius:8px}
#reloadClientEdit{margin-top:14px}#reloadClientEdit p{margin:6px 0 0}
.record-sync-notice{padding:12px 16px;margin:0 0 18px;background:#fff5d9;border:1px solid #e5c678;border-radius:9px}.record-sync-notice p{margin:0 0 8px}.record-sync-notice p:last-child{margin:8px 0 0}.record-sync-notice button{min-height:44px}
@media(max-width:600px){.client-edit .actions{display:grid;grid-template-columns:1fr}.client-edit button{min-height:48px;width:100%}.client-edit form{padding:0 14px 14px}}
.map-search-results{padding:16px;margin:0 0 18px}
.map-search-results[hidden]{display:none}
.map-search-results p{margin:0 0 10px}
.map-match-options{display:flex;gap:10px;flex-wrap:wrap}
.map-match-options button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-height:48px;text-align:left;white-space:normal}
.map-match-options button[aria-pressed="true"]{border-color:#078998;background:#e3f7f6}
@media(max-width:800px){.map-match-options button{width:100%}.company-chips .chip,.company-plot-numbers .badge,.account-plot-list span{white-space:normal}}

.plot-list-summary{display:block;margin:6px 0;white-space:normal;overflow-wrap:anywhere;font-weight:700}
