:root{--surface:#fff;--radius:24px}body[data-theme=dark]{--bg:#101826;--surface:#1b2738;--ink:#edf4ff;--muted:#a3b5ce;--line:#33445c;--blue:#82b2ff}body[data-theme=dark] .card,body[data-theme=dark] header,body[data-theme=dark] nav,body[data-theme=dark] input,body[data-theme=dark] select,body[data-theme=dark] textarea{background:var(--surface);color:var(--ink)}.self-card{border-radius:var(--radius);animation:appear .18s ease-out}.self-hero{background:linear-gradient(135deg,#123772,#1263e9);color:white}.self-hero h2{font-size:22px}.self-hero small{color:#d7e6ff}.self-amount{font-size:clamp(32px,9vw,48px);font-weight:760;letter-spacing:-1.5px;margin:15px 0}.self-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.self-grid .card{margin:0}.self-tabs{display:flex;gap:8px;overflow:auto;padding-bottom:12px}.self-tabs button{white-space:nowrap}.self-nav{display:flex;justify-content:space-around;padding:10px 2px max(12px,env(safe-area-inset-bottom))}.self-nav button{padding:8px 3px;flex:1;min-width:0;font-size:11px;min-height:52px}.self-nav svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;align-self:center;justify-self:center}.self-login{max-width:430px;margin:4vh auto}.self-status{border-radius:10px;padding:10px;margin-bottom:12px;background:#fff2cf;color:#725000}.self-chart{display:flex;gap:6px;align-items:flex-end;height:180px;padding-top:16px;overflow:hidden}.self-bar{padding:0;background:#1263e9;color:white;min-height:5px;flex:1;border-radius:6px 6px 0 0;min-width:0;position:relative}.self-chart-labels{display:flex;gap:6px;margin-top:6px}.self-chart-labels small{flex:1;text-align:center;font-size:10px;min-width:0;overflow:hidden}.self-bar:focus{outline:3px solid #f9b94a}.self-stat-result{min-height:40px;margin-top:14px}.self-form button{min-height:48px}.self-detail{display:flex;gap:10px;justify-content:space-between;padding:11px 0;border-bottom:1px solid var(--line)}.self-detail span{overflow-wrap:anywhere}.self-detail b{text-align:right}.self-note{white-space:pre-wrap;overflow-wrap:anywhere}.self-switch{display:flex;align-items:center;gap:10px}.self-switch input{width:24px}.self-sync{font-size:12px;text-align:center;margin-bottom:14px}header .self-tools{display:flex;gap:3px}header .self-tools button{font-size:12px;padding:8px}main{padding-bottom:110px}button:focus-visible{outline:3px solid #f9b94a}@keyframes appear{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.self-card{animation:none}}@media(max-width:350px){.self-grid{grid-template-columns:1fr}.self-nav button{font-size:10px}header{padding:14px 12px}main{padding-left:12px;padding-right:12px}}
body:has(.self-preview-banner) header{display:flex;flex-wrap:wrap;gap:12px}.self-preview-banner{flex:0 0 100%;background:#fff2cf;color:#684600;border:1px solid #e2b454;border-radius:12px;padding:12px;display:grid;gap:6px}.self-preview-banner strong{font-size:13px;letter-spacing:.6px}.self-preview-banner small{color:#684600}.self-preview-banner button{min-height:44px}.self-preview-property{font-weight:700;margin:0 0 15px}.self-preview-launch{margin:0 0 16px}.self-form:has(button:disabled) input,.self-form:has(button:disabled) textarea,.self-form:has(button:disabled) select{opacity:.7}
body[data-theme=dark] .notice{background:#203d60;color:#deebff}body[data-theme=dark] .notice.warn{background:#493719;color:#ffedbc}body[data-theme=dark] button{background:#253f64;color:#dceaff}body[data-theme=dark] button.primary{background:#2871db;color:#fff}body[data-theme=dark] .self-hero{background:linear-gradient(135deg,#123772,#1263e9);color:#fff}body[data-theme=dark] .self-nav button{background:transparent;color:#a3b5ce}body[data-theme=dark] .self-nav button.on{color:#82b2ff}body[data-theme=dark] .outline{background:#1b2738;color:#82b2ff}.self-preview-banner small:empty{display:none}
/* Keep toolbar, scrolling content and bottom navigation in separate layout rows.
   Content never scrolls underneath the preview banner or administrator dock. */
html{height:100%;overflow:hidden}body{height:100vh;height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}header#head{position:relative;top:auto;grid-row:1;min-width:0}main#view{grid-row:2;min-height:0;min-width:0;width:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;margin:0 auto;padding-bottom:24px!important;scroll-padding-block:18px 24px;-webkit-overflow-scrolling:touch}nav#nav{position:relative;bottom:auto;grid-row:3;min-width:0;padding-bottom:env(safe-area-inset-bottom,0px)}.self-grid{margin-bottom:14px;gap:14px}.self-admin-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;border-top:1px solid var(--line);padding:8px 12px}.self-admin-tools button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:40px;margin:0;padding:8px;font-size:12px;line-height:1.3;white-space:normal;overflow-wrap:anywhere}.nav-tabs button{min-width:0;overflow-wrap:anywhere}.self-nav{padding-bottom:12px}.self-preview-banner{min-width:0}.self-preview-banner strong,.self-preview-banner b,.self-preview-banner small{overflow-wrap:anywhere}#toast{bottom:calc(16px + env(safe-area-inset-bottom,0px))}@media print{html,body{height:auto;overflow:visible;display:block}main#view{overflow:visible;max-height:none;height:auto;width:100%;padding:0!important}}
#tenant-alert[hidden]{display:none!important}#tenant-alert{position:fixed;inset:0;z-index:40;background:#07152b99;display:flex;align-items:center;justify-content:center;padding:20px;overflow:auto}.nt-alert-card{width:100%;max-width:420px;max-height:85dvh;overflow:auto;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:24px;padding:24px;box-shadow:0 20px 60px #0005}.nt-alert-card h2{margin:12px 0;font-size:23px}.nt-alert-card p{line-height:1.6}fieldset{border:0;margin:0;padding:0;min-width:0}fieldset:disabled{opacity:.6}
/* Two home screens only. Other page surfaces and calculation widgets keep their styles. */
body[data-nt-screen$="-home"]{--nd-surface:#fff;--nd-page:#f5f9ff;--nd-shadow:0 5px 16px #173d7520,0 1px 3px #153b7010;--nd-blue:#0875ef;--nd-soft:#eef5ff;background:var(--nd-page)}
body[data-theme=dark][data-nt-screen$="-home"]{--nd-surface:#1b2738;--nd-page:#101826;--nd-shadow:0 5px 16px #0004;--nd-blue:#82b2ff;--nd-soft:#243b5b}
body[data-nt-screen$="-home"] header#head{padding:17px 16px 13px;border:0;background:var(--nd-page);gap:8px;flex-wrap:wrap}
body[data-nt-screen$="-home"] main#view{padding:4px 14px 18px!important;max-width:680px}
body[data-nt-screen$="-home"] .nd-brand{display:flex;align-items:center;gap:9px;min-width:0}
body[data-nt-screen$="-home"] .nd-brand img{width:36px;height:38px;object-fit:contain}
body[data-nt-screen$="-home"] .nd-brand h1{font-size:clamp(20px,5.8vw,25px);font-weight:780;letter-spacing:-.8px;white-space:nowrap}
body[data-nt-screen$="-home"] .nd-head-actions{display:flex;align-items:center;gap:3px;margin-left:auto}
body[data-nt-screen$="-home"] button{transition:transform .12s,box-shadow .12s;touch-action:manipulation}
body[data-nt-screen$="-home"] button:active{transform:translateY(1px);box-shadow:inset 0 2px 5px #173d7520}
body[data-nt-screen$="-home"] svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
body[data-nt-screen$="-home"] .nd-icon-button{position:relative;background:transparent;color:var(--nd-blue);padding:8px;min-width:36px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:11px}
body[data-nt-screen$="-home"] .nd-add{font-size:30px;line-height:1;font-weight:400;width:42px;height:43px;padding:0;color:#fff;background:linear-gradient(145deg,#39adff,#0065ea);box-shadow:inset 0 1px 1px #ffffff80,0 4px 9px #006be92b;border:1px solid #75b8ff70;border-radius:13px}
body[data-nt-screen$="-home"] .nd-avatar{display:grid;place-items:center;width:39px;height:39px;padding:0;border-radius:50%;background:var(--nd-soft);color:var(--nd-blue);font-size:14px}
body[data-nt-screen$="-home"] sup{position:absolute;top:2px;right:0;min-width:17px;height:17px;display:grid;place-items:center;background:#f5234a;color:#fff;font-size:10px;border-radius:12px;border:1px solid var(--nd-surface)}
body[data-nt-screen$="-home"] .nd-providers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:18px}
body[data-nt-screen$="-home"] .nd-provider{display:grid;grid-template-columns:minmax(0,1fr) 27px;gap:5px;align-items:center;background:var(--nd-surface);border:1px solid var(--line);border-radius:13px;padding:10px 7px;box-shadow:var(--nd-shadow);min-width:0}
body[data-nt-screen$="-home"] .nd-sync{width:27px;height:31px;display:grid;place-items:center;border-radius:9px;background:var(--nd-soft);color:var(--nd-blue)}
body[data-nt-screen$="-home"] .nd-sync svg{width:20px;height:20px}
body[data-nt-screen$="-home"] .nd-provider b{display:block;font-size:12px;font-weight:650;line-height:1.25}
body[data-nt-screen$="-home"] .nd-provider small{font-size:9px;line-height:1.3;min-height:23px;margin-top:2px;overflow-wrap:anywhere}
body[data-nt-screen$="-home"] .nd-provider time{display:block;font-size:8.5px;line-height:1.3;color:var(--muted);margin-top:3px;white-space:nowrap}
body[data-nt-screen$="-home"] .nd-mini{width:27px;height:29px;min-height:29px;padding:5px;display:grid;place-items:center;align-self:end;background:var(--nd-soft);border:1px solid #d8e7ff;border-radius:8px;color:var(--nd-blue);box-shadow:0 2px 4px #173d7510}
body[data-nt-screen$="-home"] .nd-mini svg{width:16px;height:16px}
body[data-nt-screen$="-home"] .nd-provider-message{grid-column:1/-1;font-size:9px;line-height:1.4;color:var(--muted);overflow-wrap:anywhere}
body[data-nt-screen$="-home"] .nd-provider-message:not(.nd-error){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body[data-nt-screen$="-home"] .nd-provider-message.nd-error{color:#c83240}
body[data-nt-screen$="-home"] .nd-busy .nd-mini svg{animation:nd-spin 1.1s linear infinite}
body[data-nt-screen$="-home"] .nd-busy .nd-mini{opacity:.5}
body[data-nt-screen$="-home"] .nd-filters[hidden],body[data-nt-screen$="-home"] .nd-search[hidden]{display:none}
body[data-nt-screen$="-home"] .nd-filters .compact-month{margin-bottom:12px}
body[data-nt-screen$="-home"] .nd-section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:18px 0 10px}
body[data-nt-screen$="-home"] .nd-section-heading h2{font-size:18px;letter-spacing:-.6px;margin:0;font-weight:720}
body[data-nt-screen="admin-home"] .nd-section-heading h2{font-size:24px}
body[data-nt-screen$="-home"] .nd-section-heading h2 span{display:inline-block;font-size:13px;padding:5px 8px;margin-left:5px;vertical-align:middle;background:var(--nd-soft);border-radius:8px;color:var(--nd-blue)}
body[data-nt-screen$="-home"] .nd-search{margin:0 0 12px;display:block;font-size:12px}
body[data-nt-screen$="-home"] .nd-search input{margin-top:4px}
body[data-nt-screen$="-home"] .nd-finance{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
body[data-nt-screen$="-home"] .nd-summary{padding:9px 7px;border-radius:11px;background:#eef6ff;border:1px solid #e9f1fb;box-shadow:0 2px 5px #173d7506;min-width:0}
body[data-nt-screen$="-home"] .nd-summary small{font-size:9px;line-height:1.4;white-space:nowrap}
body[data-nt-screen$="-home"] .nd-summary b{display:block;font-size:clamp(11px,3.2vw,17px);line-height:1.5;letter-spacing:-.6px;white-space:nowrap;font-variant-numeric:tabular-nums;color:#133052}
body[data-nt-screen$="-home"] .nd-summary.nd-paid{background:#edf9f1;border-color:#e6f4eb}.nd-finance .nd-paid b,.nd-finance .nd-paid small:first-child{color:#188456!important}
body[data-nt-screen$="-home"] .nd-summary.nd-unpaid{background:#fff8ed;border-color:#fbefdc}.nd-finance .nd-unpaid b,.nd-finance .nd-unpaid small:first-child{color:#d77d13!important}
body[data-nt-screen$="-home"] .nd-summary.nd-overdue{background:#fff0f2;border-color:#ffe8ec}.nd-finance .nd-overdue b,.nd-finance .nd-overdue small:first-child{color:#d82c45!important}
body[data-nt-screen$="-home"] .nd-finance-note{font-size:9px;margin:7px 0 13px;line-height:1.4}
body[data-nt-screen$="-home"] .nd-property{display:block;text-align:left;width:100%;border:1px solid var(--line);border-radius:16px;background:var(--nd-surface);color:var(--ink);padding:13px 11px;margin:0 0 12px;box-shadow:var(--nd-shadow);font-weight:400}
body[data-nt-screen$="-home"] .nd-property-top{display:grid;grid-template-columns:42px minmax(0,1fr) auto 10px;gap:9px;align-items:center}
body[data-nt-screen$="-home"] .nd-icon-tile{display:grid;place-items:center;width:40px;height:44px;flex-shrink:0;border-radius:12px;background:linear-gradient(140deg,var(--nd-soft),var(--nd-surface));color:var(--nd-blue);box-shadow:inset 0 1px 0 #ffffff80}
body[data-nt-screen$="-home"] .nd-icon-tile svg{width:26px;height:26px}
body[data-nt-screen$="-home"] .nd-property-address h3{font-size:16px;line-height:1.35;letter-spacing:-.45px;font-weight:720;overflow-wrap:anywhere}
body[data-nt-screen$="-home"] .nd-property-address small{font-size:11px;line-height:1.5}
body[data-nt-screen$="-home"] .nd-property-money{text-align:right;max-width:135px;min-width:0}
body[data-nt-screen$="-home"] .nd-property-money>b{display:block;font-size:17px;letter-spacing:-.5px;white-space:nowrap;font-weight:740;margin-bottom:4px}
body[data-nt-screen$="-home"] .nd-amount-overdue{color:#de2741}.nd-properties .nd-amount-unpaid,.nd-properties .nd-amount-partial{color:#da8214}
body[data-nt-screen$="-home"] .nd-chevron{font-size:27px;color:var(--nd-blue);font-weight:400;line-height:1;text-decoration:none}
body[data-nt-screen$="-home"] .nd-pill{display:inline-flex;align-items:center;justify-content:center;gap:4px;border-radius:8px;padding:5px 6px;font-size:10px;font-weight:650;line-height:1.2;color:#6d7d91;background:#eef1f6;max-width:100%}
body[data-nt-screen$="-home"] .nd-pill svg{width:13px;height:13px}
body[data-nt-screen$="-home"] .nd-pill.nd-paid{background:#e4f9ee;color:#148452}
body[data-nt-screen$="-home"] .nd-pill.nd-unpaid,body[data-nt-screen$="-home"] .nd-pill.nd-partial{background:#fff3dc;color:#b9760e}
body[data-nt-screen$="-home"] .nd-pill.nd-overdue{background:#ffe8ed;color:#d92a44}
body[data-nt-screen$="-home"] .nd-property-bottom{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:13px}
body[data-nt-screen$="-home"] .nd-services{display:flex;gap:5px;flex-shrink:0}
body[data-nt-screen$="-home"] .nd-services>span{display:grid;place-items:center;width:29px;height:32px;border:1px solid var(--line);border-radius:9px;color:var(--nd-blue);box-shadow:0 1px 2px #173d750c}
body[data-nt-screen$="-home"] .nd-services svg{width:19px;height:19px}
body[data-nt-screen$="-home"] .nd-property-status{display:flex;align-items:center;gap:8px;flex:1;justify-content:flex-end;flex-wrap:wrap;font-size:10px;line-height:1.4}
body[data-nt-screen$="-home"] .nd-sent,body[data-nt-screen$="-home"] .nd-missing{display:inline-flex;align-items:center;gap:4px}
body[data-nt-screen$="-home"] .nd-sent{color:#17875b}body[data-nt-screen$="-home"] .nd-missing{color:#b58025}body[data-nt-screen$="-home"] .nd-fill{color:var(--nd-blue)}
body[data-nt-screen$="-home"] .nd-property-status svg{width:17px;height:17px}
body[data-nt-screen$="-home"] .nd-lease,body[data-nt-screen$="-home"] .nd-change{margin-top:8px;font-size:10px}body[data-nt-screen$="-home"] .nd-change{color:#bf3147}
body[data-nt-screen$="-home"] .nd-location{display:flex;align-items:flex-start;gap:11px;border:1px solid var(--line);border-radius:15px;padding:12px;background:var(--nd-surface);box-shadow:var(--nd-shadow);margin-bottom:14px}
body[data-nt-screen$="-home"] .nd-location>div{min-width:0;flex:1}
body[data-nt-screen$="-home"] .nd-location h2{font-size:18px;letter-spacing:-.5px;margin:0 0 3px}
body[data-nt-screen$="-home"] .nd-location small{font-size:11px}
body[data-nt-screen$="-home"] .nd-location a{color:var(--nd-blue);font-size:11px;text-decoration:none;font-weight:650;display:inline-block;margin-top:5px}
body[data-nt-screen$="-home"] .nd-location .nd-address-link{color:var(--ink);font-size:inherit;margin:0}
body[data-nt-screen$="-home"] .nd-location a.nd-chevron{font-size:25px;margin:5px 0 0}
body[data-nt-screen$="-home"] .nd-bill{border-radius:16px;border:1px solid var(--line);padding:14px 12px;background:linear-gradient(125deg,var(--nd-soft),var(--nd-surface));box-shadow:var(--nd-shadow);margin-bottom:14px}
body[data-nt-screen$="-home"] .nd-bill-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}
body[data-nt-screen$="-home"] .nd-bill-heading b{font-size:11px;font-weight:650}
body[data-nt-screen$="-home"] .nd-bill-heading small{font-size:10px;text-align:right}
body[data-nt-screen$="-home"] .nd-bill-main{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:10px}
body[data-nt-screen$="-home"] .nd-main-amount{font-size:clamp(28px,8.6vw,43px);font-weight:790;letter-spacing:-1.6px;line-height:1.2;white-space:nowrap}
body[data-nt-screen$="-home"] .nd-bill-main small{font-size:11px;margin-top:4px}
body[data-nt-screen$="-home"] .nd-bill-state{padding:9px 7px;border-radius:12px;background:var(--nd-surface);text-align:center;max-width:42%}
body[data-nt-screen$="-home"] .nd-bill-state .nd-pill{font-size:11px;padding:6px 7px}
body[data-nt-screen$="-home"] .nd-bill-state small{font-size:9px}
body[data-nt-screen$="-home"] .nd-bill-detail{font-size:10px;margin-top:10px}
body[data-nt-screen$="-home"] .nd-partial{margin-top:9px;font-size:11px}
body[data-nt-screen$="-home"] .nd-pdf{display:flex;align-items:center;gap:10px;width:100%;text-align:left;font-size:12px;border:1px solid #d3e5ff;background:var(--nd-soft);color:var(--nd-blue);padding:10px;margin-top:12px;border-radius:10px;box-shadow:0 2px 5px #173d750d}
body[data-nt-screen$="-home"] .nd-pdf>span:last-child{margin-left:auto;font-size:24px;line-height:1}
body[data-nt-screen$="-home"] .nd-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:18px}
body[data-nt-screen$="-home"] .nd-quick-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:13px 2px;min-width:0;border:1px solid var(--line);border-radius:14px;background:var(--nd-surface);color:var(--ink);font-size:10px;font-weight:550;box-shadow:var(--nd-shadow)}
body[data-nt-screen$="-home"] .nd-quick-button svg{width:27px;height:27px;color:var(--nd-blue)}
body[data-nt-screen$="-home"] .nd-text-button{color:var(--nd-blue);padding:5px;background:transparent;font-size:12px;font-weight:550;white-space:nowrap}
body[data-nt-screen$="-home"] .nd-list-row{width:100%;display:flex;align-items:center;text-align:left;gap:9px;margin-bottom:9px;padding:10px;border:1px solid var(--line);border-radius:13px;background:var(--nd-surface);color:var(--ink);box-shadow:var(--nd-shadow);font-size:12px;font-weight:400;min-width:0}
body[data-nt-screen$="-home"] .nd-list-row .nd-icon-tile{width:34px;height:38px;border-radius:10px}
body[data-nt-screen$="-home"] .nd-list-row .nd-icon-tile svg{width:23px;height:23px}
body[data-nt-screen$="-home"] .nd-list-copy{flex:1;min-width:0}.nd-list-copy>b{display:block}
body[data-nt-screen$="-home"] .nd-list-row b{font-size:12px;font-weight:650}
body[data-nt-screen$="-home"] .nd-list-row small{font-size:10px;line-height:1.4;margin-top:3px}
body[data-nt-screen$="-home"] .nd-list-value{text-align:right;min-width:0}
body[data-nt-screen$="-home"] .nd-list-value .nd-pill{display:flex;margin-top:4px;font-size:9px;padding:3px 5px}
body[data-nt-screen$="-home"] .nd-notices .nd-list-copy small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body[data-nt-screen$="-home"] .nd-list-row time{color:var(--muted);font-size:8px;white-space:nowrap;align-self:flex-start;margin-top:4px}
body[data-nt-screen$="-home"] .self-sync:not(.self-status){display:none}
body[data-nt-screen$="-home"] nav#nav{background:var(--nd-surface);border-top:1px solid var(--line);box-shadow:0 -2px 12px #173d7508}
body[data-nt-screen$="-home"] .nav-tabs,body[data-nt-screen$="-home"] .self-nav{padding:9px 2px 7px;display:flex;gap:0}
body[data-nt-screen$="-home"] nav button{flex:1;background:transparent;color:var(--muted);font-size:10px;padding:4px 2px;min-height:49px;display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;border:0;border-radius:0}
body[data-nt-screen$="-home"] nav button.on{color:var(--nd-blue)}
body[data-nt-screen$="-home"] nav svg{width:24px;height:24px}
body[data-nt-screen$="-home"] .self-preview-banner{margin:2px 0 0}
body[data-theme=dark][data-nt-screen$="-home"] .nd-summary{background:#20334c;border-color:#2a3c56}body[data-theme=dark][data-nt-screen$="-home"] .nd-summary b{color:var(--ink)}
body[data-theme=dark][data-nt-screen$="-home"] .nd-summary.nd-paid{background:#173d30}body[data-theme=dark][data-nt-screen$="-home"] .nd-summary.nd-unpaid{background:#49361d}body[data-theme=dark][data-nt-screen$="-home"] .nd-summary.nd-overdue{background:#44232d}
@keyframes nd-spin{to{transform:rotate(360deg)}}
@media(max-width:350px){body[data-nt-screen$="-home"] header#head{padding:13px 10px 10px}body[data-nt-screen$="-home"] main#view{padding-left:10px!important;padding-right:10px!important}body[data-nt-screen$="-home"] .nd-brand{gap:5px}body[data-nt-screen$="-home"] .nd-brand img{width:30px;height:32px}body[data-nt-screen$="-home"] .nd-brand h1{font-size:20px}body[data-nt-screen$="-home"] .nd-icon-button{min-width:30px;padding:5px}body[data-nt-screen$="-home"] .nd-avatar{width:32px;height:34px}body[data-nt-screen$="-home"] .nd-property-top{grid-template-columns:34px minmax(0,1fr) auto 8px;gap:6px}body[data-nt-screen$="-home"] .nd-property-address h3{font-size:14px}body[data-nt-screen$="-home"] .nd-property-money>b{font-size:15px}body[data-nt-screen$="-home"] .nd-icon-tile{width:34px;height:39px}body[data-nt-screen$="-home"] .nd-property-money .nd-pill{font-size:8px}body[data-nt-screen$="-home"] .nd-bill-state .nd-pill{font-size:9px}body[data-nt-screen$="-home"] .nd-summary{padding:8px 5px}body[data-nt-screen$="-home"] .nd-summary small{font-size:8px}body[data-nt-screen$="-home"] .nd-provider{grid-template-columns:minmax(0,1fr) 24px;padding:8px 5px;gap:4px}body[data-nt-screen$="-home"] .nd-sync{width:23px}body[data-nt-screen$="-home"] .nd-mini{width:24px}body[data-nt-screen$="-home"] .nd-provider small{font-size:8px}}
@media(prefers-reduced-motion:reduce){body[data-nt-screen$="-home"] button{transition:none}body[data-nt-screen$="-home"] .nd-busy .nd-mini svg{animation:none}}

body[data-nt-screen$="-home"] .nd-location a svg{display:inline-block;width:11px;height:11px;vertical-align:middle;margin-left:3px}

/* Administrator invoices only: compact monthly ledger, independent delivery/payment states. */
body[data-nt-screen="admin-invoices"]{--ni-blue:#0067ef;--ni-ink:#142b4b;--ni-muted:#7b8b9e;--ni-surface:#fff;--ni-soft:#ebf4ff;--ni-line:#e6edf4;background:#f2f7fc;color:var(--ni-ink)}
body[data-nt-screen="admin-invoices"] #head{display:flex;align-items:center;justify-content:space-between;padding:17px 17px 13px;background:var(--ni-surface);border-bottom:0}
body[data-nt-screen="admin-invoices"] .ni-heading,body[data-nt-screen="admin-invoices"] .ni-head-tools{display:flex;align-items:center;gap:9px}
body[data-nt-screen="admin-invoices"] h1{font-size:25px;letter-spacing:-.7px;margin:0}
body[data-nt-screen="admin-invoices"] #view{max-width:760px;padding:10px 13px 18px!important}
body[data-nt-screen="admin-invoices"] svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
body[data-nt-screen="admin-invoices"] button{transition:transform .12s,box-shadow .12s;margin:0;min-width:0}
body[data-nt-screen="admin-invoices"] button:active{transform:scale(.97)}
body[data-nt-screen="admin-invoices"] .ni-icon{display:grid;place-items:center;background:transparent;border:0;color:var(--ni-blue);font-size:29px;padding:4px;min-width:30px;min-height:36px;line-height:1}
body[data-nt-screen="admin-invoices"] .ni-head-tools svg{width:25px;height:25px}
body[data-nt-screen="admin-invoices"] .ni-month-bar{display:grid;grid-template-columns:30px 25px minmax(0,1fr) 25px auto;align-items:center;gap:4px;background:linear-gradient(135deg,var(--ni-surface),var(--ni-soft));border:1px solid var(--ni-line);border-radius:14px;padding:7px 8px;margin-bottom:9px;box-shadow:0 3px 10px #739ac30b}
body[data-nt-screen="admin-invoices"] .ni-month-bar b{text-align:center;font-size:15px;line-height:1.25;letter-spacing:-.3px}
body[data-nt-screen="admin-invoices"] .ni-month-bar>span{font-size:10px;color:var(--ni-blue);background:var(--ni-soft);border-radius:9px;padding:7px 5px;white-space:nowrap}
body[data-nt-screen="admin-invoices"] .ni-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px;margin-bottom:11px}
body[data-nt-screen="admin-invoices"] .ni-filters label{margin:0;min-width:0}
body[data-nt-screen="admin-invoices"] .ni-filters select{width:100%;min-width:0;height:41px;padding:8px 9px;font-size:12px;border:1px solid var(--ni-line);border-radius:12px;background:var(--ni-surface);color:var(--ni-ink);box-shadow:0 3px 9px #739ac30b}
body[data-nt-screen="admin-invoices"] .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body[data-nt-screen="admin-invoices"] .ni-list{display:grid;gap:10px}
body[data-nt-screen="admin-invoices"] .ni-card{padding:12px 10px 11px;background:var(--ni-surface);border:1px solid var(--ni-line);border-radius:17px;box-shadow:0 6px 15px #6f9abd0c,inset 0 1px 0 #ffffff80;min-width:0}
body[data-nt-screen="admin-invoices"] .ni-top{display:grid;grid-template-columns:37px minmax(0,1fr) auto;align-items:center;gap:8px}
body[data-nt-screen="admin-invoices"] .ni-house{display:grid;place-items:center;width:37px;height:42px;background:linear-gradient(145deg,#f6fbff,var(--ni-soft));border-radius:11px;color:var(--ni-blue)}
body[data-nt-screen="admin-invoices"] .ni-house svg{width:26px;height:26px}
body[data-nt-screen="admin-invoices"] .ni-address{min-width:0}
body[data-nt-screen="admin-invoices"] .ni-address h2{font-size:16px;line-height:1.15;margin:0 0 4px;letter-spacing:-.35px;overflow-wrap:anywhere}
body[data-nt-screen="admin-invoices"] .ni-address small{font-size:11px;color:var(--ni-muted);display:block;overflow-wrap:anywhere}
body[data-nt-screen="admin-invoices"] .ni-total{font-size:21px;letter-spacing:-.6px;white-space:nowrap;align-self:start;padding-top:3px}
body[data-nt-screen="admin-invoices"] .ni-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:7px 0 5px;padding-left:45px;position:relative;padding-right:15px;min-height:28px}
body[data-nt-screen="admin-invoices"] .ni-period{color:var(--ni-muted);font-size:9px;flex-basis:100%;line-height:1}
body[data-nt-screen="admin-invoices"] .ni-sent,body[data-nt-screen="admin-invoices"] .ni-state{display:inline-flex;align-items:center;gap:3px;line-height:1.2;font-size:11px;border-radius:8px;padding:5px 6px;background:#f0f3f6;color:#6e8092;max-width:100%}
body[data-nt-screen="admin-invoices"] .ni-meta svg{width:13px;height:13px}
body[data-nt-screen="admin-invoices"] .ni-sent-yes{color:var(--ni-blue);background:var(--ni-soft)}
body[data-nt-screen="admin-invoices"] .ni-paid{color:#148451;background:#e3f9ed}
body[data-nt-screen="admin-invoices"] .ni-unpaid,body[data-nt-screen="admin-invoices"] .ni-partial{color:#c57813;background:#fff3df}
body[data-nt-screen="admin-invoices"] .ni-overdue{color:#d72444;background:#ffedf0}
body[data-nt-screen="admin-invoices"] .ni-arrow{position:absolute;right:0;bottom:0;border:0;background:transparent;color:var(--ni-blue);font-size:27px;line-height:1;padding:0 1px;min-height:29px;min-width:15px}
body[data-nt-screen="admin-invoices"] .ni-dates{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 7px;padding-left:45px;color:var(--ni-muted);font-size:11px;line-height:1.3;min-height:15px;margin:5px 0 9px}
body[data-nt-screen="admin-invoices"] .ni-dates strong{color:#d72444;font-weight:500}
body[data-nt-screen="admin-invoices"] .ni-balance{flex-basis:100%}
body[data-nt-screen="admin-invoices"] .ni-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px}
body[data-nt-screen="admin-invoices"] .ni-actions button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:40px;border:0;border-radius:10px;padding:7px 5px;font-size:11px;font-weight:500;line-height:1.25;box-shadow:inset 0 1px 0 #ffffff50}
body[data-nt-screen="admin-invoices"] .ni-actions svg{width:16px;height:18px}
body[data-nt-screen="admin-invoices"] .ni-primary{background:linear-gradient(145deg,#087aff,#005ae6);color:#fff}
body[data-nt-screen="admin-invoices"] .ni-secondary{background:var(--ni-soft);color:var(--ni-blue)}
body[data-nt-screen="admin-invoices"] .ni-actions button:disabled{opacity:.48;cursor:default;transform:none}
body[data-nt-screen="admin-invoices"] .ni-month-input,body[data-nt-screen="admin-invoices"] .ni-search{font-size:12px;margin:4px 0 10px;color:var(--ni-muted)}
body[data-nt-screen="admin-invoices"] [hidden]{display:none!important}
body[data-nt-screen="admin-invoices"] #nav{background:var(--ni-surface);border-top:1px solid var(--ni-line)}
body[data-nt-screen="admin-invoices"][data-theme="dark"]{--ni-surface:#1b293b;--ni-ink:#e8f1ff;--ni-muted:#9aadc4;--ni-soft:#213d60;--ni-line:#30445c;--ni-blue:#73b5ff;background:#101b2a}
@media(max-width:350px){body[data-nt-screen="admin-invoices"] #view{padding-left:9px!important;padding-right:9px!important}body[data-nt-screen="admin-invoices"] .ni-card{padding:10px 8px}body[data-nt-screen="admin-invoices"] .ni-top{grid-template-columns:31px minmax(0,1fr) auto;gap:6px}body[data-nt-screen="admin-invoices"] .ni-house{width:31px;height:37px}body[data-nt-screen="admin-invoices"] .ni-address h2{font-size:13px}body[data-nt-screen="admin-invoices"] .ni-total{font-size:18px}body[data-nt-screen="admin-invoices"] .ni-meta,body[data-nt-screen="admin-invoices"] .ni-dates{padding-left:37px}body[data-nt-screen="admin-invoices"] .ni-state,body[data-nt-screen="admin-invoices"] .ni-sent{font-size:10px;padding:5px}body[data-nt-screen="admin-invoices"] .ni-actions button{font-size:10px}body[data-nt-screen="admin-invoices"] .ni-month-bar b{font-size:13px}}
@media(prefers-reduced-motion:reduce){body[data-nt-screen="admin-invoices"] button{transition:none}}

/* Administrator settings only: six category routes and compact inner settings. */
body[data-nt-screen="admin-settings"]{--ns-blue:#0870ef;--ns-ink:#172d4a;--ns-muted:#7b8da2;--ns-bg:#fff;--ns-soft:#edf5ff;--ns-line:#e7eef5;background:#f4f8fc;color:var(--ns-ink)}
body[data-nt-screen="admin-settings"] #head{padding:19px 18px 12px;background:var(--ns-bg);border:0}
body[data-nt-screen="admin-settings"] .ns-heading{display:flex;align-items:center;gap:9px;min-width:0}
body[data-nt-screen="admin-settings"] h1{font-size:24px;letter-spacing:-.6px;margin:0;line-height:1.2}
body[data-nt-screen="admin-settings"] #view{max-width:720px;padding:8px 15px 18px!important}
body[data-nt-screen="admin-settings"] .ns-subtitle{font-size:12px;color:var(--ns-muted);margin:1px 2px 17px;line-height:1.4}
body[data-nt-screen="admin-settings"] svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
body[data-nt-screen="admin-settings"] .ns-categories{display:grid;gap:10px}
body[data-nt-screen="admin-settings"] .ns-category{display:flex;align-items:center;width:100%;gap:11px;text-align:left;border:1px solid var(--ns-line);border-radius:14px;background:linear-gradient(145deg,var(--ns-bg),#fbfdff);padding:12px 11px;min-height:73px;margin:0;box-shadow:0 5px 16px #709bc30c,inset 0 1px 0 #fff9;color:var(--ns-ink)}
body[data-nt-screen="admin-settings"] .ns-icon{width:38px;height:42px;display:inline-grid;place-items:center;flex-shrink:0;border-radius:10px;color:var(--ns-blue);background:var(--ns-soft)}
body[data-nt-screen="admin-settings"] .ns-green{color:#218653;background:#e2f6eb}body[data-nt-screen="admin-settings"] .ns-orange{color:#e88924;background:#fff0dd}body[data-nt-screen="admin-settings"] .ns-purple{color:#8839d6;background:#f0e7fe}body[data-nt-screen="admin-settings"] .ns-slate{color:#243954;background:#edf1f6}
body[data-nt-screen="admin-settings"] .ns-copy{flex:1;min-width:0;display:grid;gap:5px}
body[data-nt-screen="admin-settings"] .ns-copy b{font-size:15px;letter-spacing:-.25px;line-height:1.15}
body[data-nt-screen="admin-settings"] .ns-copy small{font-size:10px;line-height:1.35;color:var(--ns-muted)}
body[data-nt-screen="admin-settings"] .ns-chevron{font-size:26px;color:var(--ns-blue);line-height:1}
body[data-nt-screen="admin-settings"] .ns-back{background:transparent;border:0;padding:0 3px;font-size:32px;line-height:1;color:var(--ns-blue);min-height:36px;margin:0}
body[data-nt-screen="admin-settings"] .ns-card,body[data-nt-screen="admin-settings"] .card{background:var(--ns-bg);border:1px solid var(--ns-line);border-radius:16px;box-shadow:0 5px 16px #709bc30b;padding:13px 12px;margin:0 0 12px;min-width:0}
body[data-nt-screen="admin-settings"] .ns-card h2{display:flex;align-items:center;gap:9px;font-size:16px;letter-spacing:-.3px;line-height:1.25;margin:0 0 12px}
body[data-nt-screen="admin-settings"] .ns-card h2 .ns-icon{width:32px;height:35px}
body[data-nt-screen="admin-settings"] .ns-card small{display:block;font-size:11px;line-height:1.45;color:var(--ns-muted);margin:5px 0;overflow-wrap:anywhere}
body[data-nt-screen="admin-settings"] .ns-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px 10px;background:var(--ns-soft);border-radius:10px;padding:10px;margin:6px 0;font-size:12px;line-height:1.35}
body[data-nt-screen="admin-settings"] .ns-row span{color:var(--ns-muted)}
body[data-nt-screen="admin-settings"] .ns-row b{font-size:12px;font-weight:500;overflow-wrap:anywhere;max-width:100%}
body[data-nt-screen="admin-settings"] button{transition:transform .12s,box-shadow .12s;font-size:12px;line-height:1.3;padding:10px 9px;min-height:39px;border-radius:10px;margin-top:6px;color:var(--ns-blue);background:var(--ns-soft);border:1px solid var(--ns-line);overflow-wrap:anywhere}
body[data-nt-screen="admin-settings"] button:active{transform:scale(.98)}
body[data-nt-screen="admin-settings"] button.primary{background:linear-gradient(145deg,#0c7aff,#005ce7);color:#fff;border:0;box-shadow:0 3px 8px #0563df20}
body[data-nt-screen="admin-settings"] .ns-logout,body[data-nt-screen="admin-settings"] button.danger{background:#ffe7ec;color:#c32946;border:0}
body[data-nt-screen="admin-settings"] .ns-card .ns-category{box-shadow:none;background:var(--ns-bg);padding:8px;min-height:65px}
body[data-nt-screen="admin-settings"] .ns-category .ns-copy small{margin:0}
body[data-nt-screen="admin-settings"] .ns-status{display:inline-flex;align-items:center;gap:6px;border-radius:8px;font-size:11px;line-height:1.3;padding:6px 8px}
body[data-nt-screen="admin-settings"] .ns-success{background:#e1f6e9;color:#187b46}body[data-nt-screen="admin-settings"] .ns-error{background:#ffedf0;color:#cc3049}body[data-nt-screen="admin-settings"] .ns-unknown{background:#edf1f6;color:#6b7b8c}
body[data-nt-screen="admin-settings"] .ns-result{font-size:12px;background:var(--ns-soft);padding:9px;border-radius:9px;overflow-wrap:anywhere}
body[data-nt-screen="admin-settings"] .ns-inline{display:flex;gap:7px}body[data-nt-screen="admin-settings"] .ns-inline button{flex:1;min-width:0}
body[data-nt-screen="admin-settings"] details{font-size:12px;line-height:1.4;margin-top:12px}body[data-nt-screen="admin-settings"] summary{cursor:pointer;padding:8px 0;color:var(--ns-ink);font-weight:600}
body[data-nt-screen="admin-settings"] label{font-size:12px;line-height:1.4;margin:9px 0}body[data-nt-screen="admin-settings"] input,body[data-nt-screen="admin-settings"] select,body[data-nt-screen="admin-settings"] textarea{background:var(--ns-bg);color:var(--ns-ink);font-size:13px;padding:10px;border-radius:10px;min-height:40px;margin-top:5px;border:1px solid var(--ns-line);max-width:100%;min-width:0}
body[data-nt-screen="admin-settings"] .ns-backup-item{border-top:1px solid var(--ns-line);padding:10px 0}
body[data-nt-screen="admin-settings"] .ns-log{display:grid;grid-template-columns:7px minmax(0,1fr);align-items:center;gap:4px 7px;border-top:1px solid var(--ns-line);padding:8px 0;font-size:12px;line-height:1.35}
body[data-nt-screen="admin-settings"] .ns-log>span:last-child{grid-column:2;overflow-wrap:anywhere}
body[data-nt-screen="admin-settings"] .ns-dot{width:6px;height:6px;border-radius:50%;background:#96a2b1}body[data-nt-screen="admin-settings"] .ns-dot.ns-success{background:#21945c}body[data-nt-screen="admin-settings"] .ns-dot.ns-error{background:#d93f58}
body[data-nt-screen="admin-settings"] #nav{background:var(--ns-bg);border-top:1px solid var(--ns-line)}body[data-nt-screen="admin-settings"] #nav button{border:0;background:transparent;margin:0;padding:9px 4px;color:var(--ns-muted);border-radius:0}body[data-nt-screen="admin-settings"] #nav button.on{color:var(--ns-blue)}
body[data-nt-screen="admin-settings"][data-theme="dark"]{--ns-bg:#1b293b;--ns-ink:#e8f0fd;--ns-muted:#9eafc5;--ns-soft:#243c5b;--ns-line:#30445c;--ns-blue:#79baff;background:#111c2b}body[data-nt-screen="admin-settings"][data-theme="dark"] .ns-category{background:var(--ns-bg)}
@media(max-width:350px){body[data-nt-screen="admin-settings"] #view{padding-left:10px!important;padding-right:10px!important}body[data-nt-screen="admin-settings"] h1{font-size:21px}body[data-nt-screen="admin-settings"] .ns-category{padding:10px 8px;gap:8px;min-height:66px}body[data-nt-screen="admin-settings"] .ns-copy b{font-size:14px}body[data-nt-screen="admin-settings"] .ns-icon{width:33px;height:38px}body[data-nt-screen="admin-settings"] .ns-categories{gap:8px}}
@media(prefers-reduced-motion:reduce){body[data-nt-screen="admin-settings"] button{transition:none}}

/* Messaging: metadata-only inbox and independent conversation screen. */
body[data-nt-screen^="chat-"]{--nc-surface:#fff;--nc-ink:#172e4b;--nc-muted:#7b8fa8;--nc-soft:#edf4fb;--nc-line:#e8eff6;--nc-blue:#006cf2;background:#f5f9fd;color:var(--nc-ink)}
body[data-nt-screen^="chat-"] #head{display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--nc-surface);padding:18px 17px 13px;border:0;min-width:0}
body[data-nt-screen^="chat-"] #head h1{font-size:25px;letter-spacing:-.6px;margin:0;overflow-wrap:anywhere;line-height:1.2}
body[data-nt-screen^="chat-"] #head small{font-size:12px;color:var(--nc-muted);display:block;margin-top:5px}
body[data-nt-screen^="chat-"] #view{padding:9px 15px 20px!important;max-width:760px}
body[data-nt-screen^="chat-"] svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body[data-nt-screen^="chat-"] button{min-width:0;transition:transform .12s;margin:0}body[data-nt-screen^="chat-"] button:active{transform:scale(.98)}
body[data-nt-screen^="chat-"] .nc-subtitle{margin:0 1px 14px;font-size:12px;color:var(--nc-muted)}
body[data-nt-screen^="chat-"] .nc-search-toggle,body[data-nt-screen^="chat-"] .nc-back{padding:5px;background:transparent;color:var(--nc-blue);border:0;min-height:36px}
body[data-nt-screen^="chat-"] .nc-filters,body[data-nt-screen^="chat-"] .nc-categories{display:flex;gap:7px;margin:0 0 14px}
body[data-nt-screen^="chat-"] .nc-filters button,body[data-nt-screen^="chat-"] .nc-categories button{flex:1;padding:11px 5px;border:1px solid var(--nc-line);border-radius:11px;background:var(--nc-soft);font-size:11px;font-weight:500;color:var(--nc-ink);line-height:1.3}
body[data-nt-screen^="chat-"] button.nc-selected{background:linear-gradient(145deg,#087fff,#0063eb);color:#fff;border-color:transparent;box-shadow:0 4px 9px #076bec1c}
body[data-nt-screen^="chat-"] .nc-threads{display:grid;gap:10px}
body[data-nt-screen^="chat-"] .nc-thread{display:grid;grid-template-columns:45px minmax(0,1fr) auto 10px;align-items:center;gap:10px;width:100%;min-height:88px;text-align:left;padding:14px 12px;background:var(--nc-surface);border:1px solid var(--nc-line);border-radius:17px;box-shadow:0 6px 16px #6f96b50b;color:var(--nc-ink)}
body[data-nt-screen^="chat-"] .nc-avatar{width:45px;height:45px;border-radius:50%;background:#e1efff;color:#006be7;display:grid;place-items:center;font-size:19px;font-weight:600}
body[data-nt-screen^="chat-"] .nc-tone-1{background:#dbf6ed;color:#21886b}body[data-nt-screen^="chat-"] .nc-tone-2{background:#eee5ff;color:#8452d4}
body[data-nt-screen^="chat-"] .nc-thread-name{display:grid;gap:5px;min-width:0}body[data-nt-screen^="chat-"] .nc-thread-name b{font-size:16px;letter-spacing:-.3px;line-height:1.2;overflow-wrap:anywhere}body[data-nt-screen^="chat-"] .nc-thread-name small{font-size:12px;font-weight:400;color:var(--nc-muted);overflow-wrap:anywhere}
body[data-nt-screen^="chat-"] .nc-thread-meta{display:grid;justify-items:center;gap:7px}body[data-nt-screen^="chat-"] time{font-size:11px;color:var(--nc-muted);font-weight:400}
body[data-nt-screen^="chat-"] .nc-count,.nc-nav-count{border-radius:30px;background:#f52c50;color:#fff;min-width:20px;min-height:20px;font-size:11px;display:inline-grid;place-items:center;padding:2px 5px;line-height:1.2}
.nc-nav-count{position:absolute;right:8px;top:5px}#nav button:has(.nc-nav-count){position:relative}
body[data-nt-screen^="chat-"] .nc-arrow{font-size:28px;color:var(--nc-blue);font-weight:400}
body[data-nt-screen^="chat-"] .nc-search{font-size:11px;color:var(--nc-muted);margin-bottom:12px}body[data-nt-screen^="chat-"] .nc-search input{font-size:14px;border:1px solid var(--nc-line);background:var(--nc-surface);color:var(--nc-ink);padding:10px;border-radius:12px;margin-top:5px}
body[data-nt-screen^="chat-"] [hidden]{display:none!important}body[data-nt-screen^="chat-"] .nc-error{background:#ffedf1;color:#c12c47;padding:10px;border-radius:11px;font-size:12px;line-height:1.4;margin:8px 0;overflow-wrap:anywhere}body[data-nt-screen^="chat-"] .nc-error button{margin-top:7px;font-size:12px;background:#fff;border:0;border-radius:8px;color:#c12c47;padding:8px}
body[data-nt-screen^="chat-"] .nc-heading{display:flex;align-items:center;gap:10px;min-width:0}body[data-nt-screen^="chat-"] .nc-heading h1{font-size:20px!important}body[data-nt-screen^="chat-"] .nc-back{font-size:32px;line-height:1}
body[data-nt-screen^="chat-"] .nc-menu{position:relative;flex-shrink:0}body[data-nt-screen^="chat-"] .nc-menu summary{font-size:28px;list-style:none;color:var(--nc-blue);padding:4px 7px}body[data-nt-screen^="chat-"] .nc-menu[open]{position:absolute;right:12px;top:13px;z-index:20;width:220px;background:var(--nc-surface);border:1px solid var(--nc-line);border-radius:12px;box-shadow:0 5px 20px #172e4b28;padding:8px}body[data-nt-screen^="chat-"] .nc-menu button,body[data-nt-screen^="chat-"] .nc-menu label,body[data-nt-screen^="chat-"] .nc-menu select{font-size:12px;white-space:normal;max-width:100%}
body[data-nt-screen="chat-thread"] #view{padding-top:15px!important;padding-bottom:16px!important}
body[data-nt-screen="chat-thread"] .nc-chat-body{display:flex;flex-direction:column;gap:13px;min-height:100%}
body[data-nt-screen="chat-thread"] .nc-day{align-self:center;background:var(--nc-soft);color:var(--nc-muted);font-size:10px;border-radius:30px;padding:7px 12px;margin:3px 0 6px}
body[data-nt-screen="chat-thread"] .nc-message{display:flex;flex-direction:column;align-items:flex-start;align-self:flex-start;max-width:85%;min-width:40px;gap:5px}
body[data-nt-screen="chat-thread"] .nc-admin{align-self:flex-end;align-items:flex-end}
body[data-nt-screen="chat-thread"] .nc-bubble{background:#eaf0f6;border:1px solid #e6edf4;color:#253c55;border-radius:15px 15px 15px 5px;padding:11px 13px;box-shadow:0 2px 7px #6f96b507;max-width:100%;min-width:0}
body[data-nt-screen="chat-thread"] .nc-admin .nc-bubble{background:linear-gradient(135deg,#087bfa,#0061ea);color:#fff;border-color:transparent;border-radius:15px 15px 5px 15px}
body[data-nt-screen="chat-thread"] .nc-bubble p{font-size:14px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
body[data-nt-screen="chat-thread"] .nc-message-time{color:var(--nc-muted);font-size:10px;padding:0 3px}
body[data-nt-screen="chat-thread"] .nc-bubble small{font-size:10px;opacity:.8;display:block;margin-top:5px}
body[data-nt-screen="chat-thread"] #nav{background:var(--nc-surface);border-top:1px solid var(--nc-line);padding:9px 12px calc(9px + env(safe-area-inset-bottom,0px))}
body[data-nt-screen="chat-thread"] .nc-composer{display:flex;align-items:center;gap:7px;min-width:0}body[data-nt-screen="chat-thread"] .nc-compose-label{flex:1;min-width:0;margin:0}
body[data-nt-screen="chat-thread"] textarea{width:100%;font-size:14px;line-height:1.4;min-height:44px;max-height:100px;padding:11px 12px;resize:none;border:1px solid var(--nc-line);border-radius:22px;background:var(--nc-surface);color:var(--nc-ink);margin:0;display:block}
body[data-nt-screen="chat-thread"] .nc-send{background:linear-gradient(145deg,#0b7dff,#005fe8);color:white;border:0;border-radius:50%;width:44px;height:44px;padding:10px;flex-shrink:0}
body[data-nt-screen="chat-thread"] #nc-kind{max-width:77px;font-size:10px;padding:4px;border:1px solid var(--nc-line);border-radius:10px;min-width:0;color:var(--nc-ink);background:var(--nc-surface)}
body[data-nt-screen="chat-thread"] .nc-photo{font-size:18px;max-width:25px;margin:0}body[data-nt-screen="chat-thread"] .nc-photo input{position:absolute;opacity:0;width:20px;height:20px}
body[data-nt-screen^="chat-"] .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
body[data-nt-screen^="chat-"] .nc-system{display:grid;gap:9px}body[data-nt-screen^="chat-"] .nc-system-notice{display:flex;align-items:center;gap:9px;width:100%;text-align:left;background:var(--nc-surface);border:1px solid var(--nc-line);border-radius:14px;padding:12px;color:var(--nc-ink)}body[data-nt-screen^="chat-"] .nc-system-notice>span:nth-child(2){flex:1;min-width:0}body[data-nt-screen^="chat-"] .nc-system-notice b{font-size:13px}body[data-nt-screen^="chat-"] .nc-system-notice small{display:block;font-size:12px;line-height:1.4;margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--nc-muted)}body[data-nt-screen^="chat-"] .nc-system-notice time{font-size:9px}
body[data-nt-screen^="chat-"] .nc-unread-dot{display:inline-block;background:#f52c50;width:6px;height:6px;border-radius:50%}
body[data-nt-screen^="chat-"] .nc-notice-launch{background:transparent;border:0;color:var(--nc-blue);font-size:12px;width:100%;margin:14px 0;padding:10px}
body[data-nt-screen^="chat-"][data-theme="dark"]{--nc-surface:#1c2a3d;--nc-ink:#e8f1fc;--nc-muted:#9bafc8;--nc-soft:#243a53;--nc-line:#30455d;--nc-blue:#78b8ff;background:#101d2c}
body[data-nt-screen="chat-thread"][data-theme="dark"] .nc-tenant .nc-bubble{background:#26384e;color:#e7eff9;border-color:#314960}
@media(max-width:350px){body[data-nt-screen^="chat-"] #view{padding-left:10px!important;padding-right:10px!important}body[data-nt-screen^="chat-"] .nc-thread{grid-template-columns:38px minmax(0,1fr) auto 9px;gap:7px;padding:12px 9px}body[data-nt-screen^="chat-"] .nc-avatar{width:38px;height:38px;font-size:17px}body[data-nt-screen^="chat-"] .nc-thread-name b{font-size:14px}body[data-nt-screen^="chat-"] .nc-filters button{font-size:10px}body[data-nt-screen="chat-thread"] .nc-composer{gap:5px}body[data-nt-screen="chat-thread"] #nc-kind{max-width:60px}body[data-nt-screen="chat-thread"] .nc-heading h1{font-size:18px!important}}
@media(prefers-reduced-motion:reduce){body[data-nt-screen^="chat-"] button{transition:none}}
/* Full tenant presentation. No administrator selectors or business rules. */
body[data-nt-tenant=true]{--bg:#f5f8fc;--surface:#fff;--ink:#10213c;--muted:#718094;--line:#e7edf5;--blue:#0875ef;--tn-accent:#0875ef;--tn-soft:#edf5ff;--tn-shadow:0 3px 13px #284c7010,0 1px 2px #284c7008;--tn-green:#167d4a;--tn-green-bg:#e4f6eb;--tn-amber:#9b650e;--tn-amber-bg:#fff3d9;--tn-red:#bb3c47;--tn-red-bg:#fde9ec;background:var(--bg);color:var(--ink)}
body[data-nt-tenant=true][data-theme=dark]{color-scheme:dark;--bg:#10171c;--surface:#1a242b;--ink:#f0f3f5;--muted:#a7b1ba;--line:#2b353e;--blue:#c0ccd8;--tn-accent:#c0ccd8;--tn-soft:#303d49;--tn-shadow:0 3px 12px #0002;--tn-green:#8bc6a4;--tn-green-bg:#203c30;--tn-amber:#e2c17f;--tn-amber-bg:#423824;--tn-red:#e8a1aa;--tn-red-bg:#43292f}
body[data-nt-tenant=true] header#head{background:var(--bg);border:0;display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:14px 14px 10px;min-width:0}
body[data-nt-tenant=true] main#view{background:var(--bg);max-width:680px;padding:4px 12px 18px!important;scrollbar-width:thin}
body[data-nt-tenant=true] nav#nav{background:var(--surface);border-top:1px solid var(--line)}
body[data-nt-tenant=true] .tn-heading{display:flex;gap:9px;align-items:center;min-width:0;flex:1}
body[data-nt-tenant=true] .tn-heading img{width:29px;height:32px;object-fit:contain}
body[data-nt-tenant=true] h1{font-size:22px;letter-spacing:-.5px;line-height:1.2;overflow-wrap:anywhere}
body[data-nt-tenant=true] h2{font-size:16px;font-weight:700;margin:0 0 10px;display:flex;gap:8px;align-items:center}
body[data-nt-tenant=true] h3{font-size:14px;margin:0 0 7px;font-weight:650}
body[data-nt-tenant=true] small{font-size:13px;line-height:1.4;color:var(--muted)}
body[data-nt-tenant=true] svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
body[data-nt-tenant=true] a{color:var(--tn-accent);text-decoration:none}
body[data-nt-tenant=true] button{font-size:14px;min-width:0;white-space:normal;transition:transform .12s;background:var(--tn-soft);color:var(--tn-accent);border-radius:10px}
body[data-nt-tenant=true] button:active{transform:translateY(1px)}
body[data-nt-tenant=true] button.primary,body[data-nt-tenant=true] .nc-send{background:var(--tn-accent);color:#fff}
body[data-nt-tenant=true][data-theme=dark] button.primary,body[data-nt-tenant=true][data-theme=dark] .nc-send{background:#536371;color:#fff}
body[data-nt-tenant=true] input,body[data-nt-tenant=true] select,body[data-nt-tenant=true] textarea{background:var(--surface);color:var(--ink);border:1px solid var(--line);font-size:16px;min-width:0;max-width:100%;border-radius:10px}
body[data-nt-tenant=true] .self-form button{min-height:42px}
body[data-nt-tenant=true] .self-sync:not(.self-status){position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
body[data-nt-tenant=true] .self-status{background:var(--tn-amber-bg);color:var(--tn-amber);font-size:13px}
body[data-nt-tenant=true] .self-nav{padding:4px 3px 5px;display:flex;gap:0}
body[data-nt-tenant=true] .self-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:12px;padding:7px 1px;background:transparent;color:var(--muted);min-height:53px;border:0;position:relative}
body[data-nt-tenant=true] .self-nav button.on{color:var(--tn-accent);font-weight:700}
body[data-nt-tenant=true] .self-nav svg{width:20px;height:20px}
body[data-nt-tenant=true] .tn-head-actions{display:flex;gap:5px;align-items:center}
body[data-nt-tenant=true] .tn-icon-button,body[data-nt-tenant=true] .tn-back{padding:7px;background:transparent;color:var(--tn-accent);min-height:36px;min-width:32px}
body[data-nt-tenant=true] .tn-back{font-size:30px;line-height:1;padding:0 5px}
body[data-nt-tenant=true] .tn-avatar{border-radius:50%;width:37px;height:37px;min-width:37px;background:var(--tn-soft);color:var(--tn-accent);display:grid;place-items:center;font-weight:700;font-size:16px;padding:0}
body[data-nt-tenant=true] .tn-card,body[data-nt-tenant=true] .tn-location,body[data-nt-tenant=true] .tn-bill,body[data-nt-tenant=true] .tn-service,body[data-nt-tenant=true] .tn-list-row,body[data-nt-tenant=true] .self-card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--tn-shadow);border-radius:13px;color:var(--ink);margin:0 0 10px;padding:13px}
body[data-nt-tenant=true] .tn-location{display:flex;gap:10px;align-items:center;padding:12px}
body[data-nt-tenant=true] .tn-location>div{min-width:0;flex:1}
body[data-nt-tenant=true] .tn-location b{display:block;font-size:16px;line-height:1.3;overflow-wrap:anywhere}
body[data-nt-tenant=true] .tn-location small{display:block;margin:3px 0}
body[data-nt-tenant=true] .tn-location a{font-size:13px}
body[data-nt-tenant=true] .tn-location b a{font-size:16px;color:var(--ink)}
body[data-nt-tenant=true] .tn-location a svg{width:12px;height:12px;vertical-align:middle}
body[data-nt-tenant=true] .tn-icon{width:34px;height:36px;min-width:34px;border-radius:9px;display:grid;place-items:center;background:var(--tn-soft);color:var(--tn-accent)}
body[data-nt-tenant=true] .tn-bill-title{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:13px}
body[data-nt-tenant=true] .tn-bill-title small{text-align:right}
body[data-nt-tenant=true] .tn-bill-value{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:12px 0}
body[data-nt-tenant=true] .tn-bill-value strong{font-size:clamp(25px,7.8vw,35px);font-weight:760;letter-spacing:-1px;line-height:1.1;white-space:nowrap}
body[data-nt-tenant=true] .tn-pill{display:inline-flex;gap:4px;align-items:center;border-radius:8px;padding:4px 6px;font-size:12px;line-height:1.2;font-weight:600;max-width:100%;background:var(--tn-soft);color:var(--muted)}
body[data-nt-tenant=true] .tn-pill svg{width:12px;height:12px}
body[data-nt-tenant=true] .tn-paid{color:var(--tn-green);background:var(--tn-green-bg)}
body[data-nt-tenant=true] .tn-unpaid,body[data-nt-tenant=true] .tn-partial{color:var(--tn-amber);background:var(--tn-amber-bg)}
body[data-nt-tenant=true] .tn-overdue{color:var(--tn-red);background:var(--tn-red-bg)}
body[data-nt-tenant=true] .tn-data{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:14px;padding:4px 0}
body[data-nt-tenant=true] .tn-data span{color:var(--muted);min-width:0;overflow-wrap:anywhere}
body[data-nt-tenant=true] .tn-data b{text-align:right;font-weight:650;overflow-wrap:anywhere}
body[data-nt-tenant=true] .tn-data.tn-late b{color:var(--tn-red)}
body[data-nt-tenant=true] .tn-data.tn-due b{color:var(--tn-amber)}
body[data-nt-tenant=true] .tn-breakdown{display:block;margin-top:8px}
body[data-nt-tenant=true] .tn-detail-link{background:transparent;padding:6px 0;font-size:13px}
body[data-nt-tenant=true] .tn-pdf{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;padding:10px;margin-top:6px}
body[data-nt-tenant=true] .tn-section{display:flex;align-items:center;justify-content:space-between;margin:17px 0 8px;gap:8px}
body[data-nt-tenant=true] .tn-section h2{margin:0}
body[data-nt-tenant=true] .tn-text-button{background:transparent;padding:4px;font-size:13px}
body[data-nt-tenant=true] .tn-list-row{display:flex;align-items:center;gap:9px;width:100%;text-align:left;padding:11px;margin:0 0 8px}
body[data-nt-tenant=true] .tn-list-copy{min-width:0;flex:1;display:grid;gap:4px}
body[data-nt-tenant=true] .tn-list-copy>b{font-size:14px;line-height:1.3;overflow-wrap:anywhere}
body[data-nt-tenant=true] .tn-list-copy small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:12px}
body[data-nt-tenant=true] .tn-list-value{display:grid;justify-items:end;gap:5px;max-width:44%}
body[data-nt-tenant=true] .tn-list-value>b{font-size:16px;white-space:nowrap}
body[data-nt-tenant=true] .tn-chevron{font-size:23px;color:var(--tn-accent);line-height:1}
body[data-nt-tenant=true] .tn-list-row>time{font-size:12px;color:var(--muted);align-self:start;white-space:nowrap}
body[data-nt-tenant=true] .tn-notice-PAYMENT_CONFIRMED{background:var(--tn-green-bg);color:var(--tn-green)}
body[data-nt-tenant=true] .tn-notice-PAYMENT_OVERDUE{background:var(--tn-red-bg);color:var(--tn-red)}
body[data-nt-tenant=true] .tn-empty{padding:15px 8px;color:var(--muted);font-size:14px;text-align:center}
body[data-nt-tenant=true] .tn-service{padding:0;overflow:hidden}
body[data-nt-tenant=true] .tn-service summary{display:flex;align-items:center;gap:8px;padding:12px;list-style:none;font-size:15px;cursor:pointer}
body[data-nt-tenant=true] .tn-service summary::-webkit-details-marker{display:none}
body[data-nt-tenant=true] .tn-service-name{flex:1;display:flex;gap:8px;align-items:center;min-width:0}
body[data-nt-tenant=true] .tn-service-name svg{color:var(--tn-accent);width:19px}
body[data-nt-tenant=true] .tn-service-body{padding:0 13px 12px}
body[data-nt-tenant=true] .tn-tariff{padding:10px 0;border-top:1px solid var(--line)}
body[data-nt-tenant=true] .tn-tariff .tn-data{font-size:13px;padding:3px 0}
body[data-nt-tenant=true] .tn-service-total{border-top:1px solid var(--line);margin-top:5px;padding-top:9px}
body[data-nt-tenant=true] .tn-payment,body[data-nt-tenant=true] .tn-reading-row{padding:8px 0;border-bottom:1px solid var(--line)}
body[data-nt-tenant=true] .tn-reading-info p{font-size:14px;line-height:1.5;margin:0;color:var(--muted)}
body[data-nt-tenant=true] .tn-profile-person{display:flex;gap:12px;align-items:center;padding:17px 13px}
body[data-nt-tenant=true] .tn-profile-person .tn-avatar{width:49px;height:49px;font-size:20px}
body[data-nt-tenant=true] .tn-profile-person h2{margin-bottom:5px}
body[data-nt-tenant=true] .tn-profile-person small{display:block}
body[data-nt-tenant=true] .tn-profile-links{padding:0 12px}
body[data-nt-tenant=true] .tn-profile-row{display:flex;align-items:center;gap:9px;width:100%;padding:12px 0;border-radius:0;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;color:var(--ink);min-height:49px}
body[data-nt-tenant=true] .tn-profile-row>span:not(.tn-icon){flex:1}
body[data-nt-tenant=true] .tn-profile-row>small{max-width:40%;text-align:right}
body[data-nt-tenant=true] .tn-profile-row .tn-icon{width:22px;height:25px;min-width:22px;background:transparent}
body[data-nt-tenant=true] .tn-profile-row:last-child{border-bottom:0}
body[data-nt-tenant=true] .tn-logout{color:var(--tn-red);background:var(--surface);border:1px solid var(--line);min-height:43px;text-align:left}
body[data-nt-tenant=true] .nc-categories{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:4px;background:var(--surface);padding:4px;border:1px solid var(--line);border-radius:11px;margin:5px 0 14px}
body[data-nt-tenant=true] .nc-categories button{font-size:13px;padding:10px 5px;background:transparent;color:var(--muted);min-height:37px}
body[data-nt-tenant=true] .nc-categories .nc-selected{background:var(--tn-accent);color:#fff}
body[data-nt-tenant=true][data-theme=dark] .nc-categories .nc-selected{background:#536371;color:#fff}
body[data-nt-tenant=true] .nc-chat-body{padding-top:8px}
body[data-nt-tenant=true] .nc-message.nc-admin{align-items:flex-start}
body[data-nt-tenant=true] .nc-message.nc-tenant{align-items:flex-end}
body[data-nt-tenant=true] .nc-admin .nc-bubble{background:#eaf0f5;color:var(--ink);border-radius:12px 12px 12px 3px}
body[data-nt-tenant=true] .nc-tenant .nc-bubble{background:var(--tn-accent);color:#fff;border-radius:12px 12px 3px 12px}
body[data-nt-tenant=true][data-theme=dark] .nc-admin .nc-bubble{background:#263039;color:var(--ink)}
body[data-nt-tenant=true][data-theme=dark] .nc-tenant .nc-bubble{background:#536371;color:#fff}
body[data-nt-tenant=true] .nc-day{background:var(--tn-soft);color:var(--muted);font-size:12px;padding:5px 10px}
body[data-nt-tenant=true] .nc-bubble p{font-size:15px;line-height:1.5}
body[data-nt-tenant=true] .nc-message-time{font-size:12px;color:var(--muted)}
body[data-nt-tenant=true] .nc-composer{gap:6px;padding:8px;align-items:end}
body[data-nt-tenant=true] .nc-composer textarea{background:var(--surface);font-size:15px;border-radius:20px;min-height:41px}
body[data-nt-tenant=true] .nc-send{min-width:41px;width:41px;height:41px;min-height:41px;border-radius:50%;padding:9px}
body[data-nt-tenant=true] .nc-composer select{font-size:12px;padding:5px;width:68px;min-height:39px}
body[data-nt-tenant=true] .nc-photo{width:25px;min-width:25px}
body[data-nt-tenant=true] .self-preview-banner{border-radius:10px;padding:9px}
@media(max-width:350px){body[data-nt-tenant=true] h1{font-size:20px}body[data-nt-tenant=true] .tn-bill-value{gap:5px}body[data-nt-tenant=true] .tn-pill{font-size:12px;padding:4px}body[data-nt-tenant=true] .tn-list-row{gap:7px;padding:10px}body[data-nt-tenant=true] .tn-list-value{max-width:45%}}
@media(prefers-reduced-motion:reduce){body[data-nt-tenant=true] *{animation:none!important;transition:none!important}}
body[data-nt-tenant=true] .tn-bill-value .nd-bill-state{padding:0;background:transparent;max-width:none}
body[data-nt-tenant=true] .tn-bill-value .tn-pill{white-space:nowrap;font-size:12px}
body[data-nt-tenant=true] .nc-message.nc-admin{align-self:flex-start}
body[data-nt-tenant=true] .nc-message.nc-tenant{align-self:flex-end}
body[data-nt-tenant=true] .self-bar{background:var(--tn-accent)}
body[data-nt-tenant=true] .pill{background:var(--tn-soft);color:var(--ink)}
body[data-nt-tenant=true] .pill.green{background:var(--tn-green-bg);color:var(--tn-green)}
body[data-nt-tenant=true] .pill.yellow{background:var(--tn-amber-bg);color:var(--tn-amber)}

body[data-nt-tenant=true] .tn-icon-button{position:relative}
body[data-nt-tenant=true] .tn-head-count{position:absolute;top:0;right:0;min-width:15px;height:15px;display:grid;place-items:center;background:#d92345;color:#fff;border-radius:12px;font-size:12px}

/* Only the tenant Profile About/Update pages. */
body[data-nt-tenant=true] .tn-about p,body[data-nt-tenant=true] .tn-update p{font-size:14px;line-height:1.65;margin:12px 0;overflow-wrap:anywhere}
body[data-nt-tenant=true] .tn-about-brand{display:flex;align-items:center;gap:12px;margin-bottom:14px}
body[data-nt-tenant=true] .tn-about-brand img{width:48px;height:48px;object-fit:contain}
body[data-nt-tenant=true] .tn-about-brand h2{font-size:22px;margin:0}
body[data-nt-tenant=true] .tn-about-tagline{color:var(--tn-accent)}
body[data-nt-tenant=true] .tn-about .tn-data,body[data-nt-tenant=true] .tn-update .tn-data{gap:14px;padding:7px 0;align-items:flex-start}
body[data-nt-tenant=true] .tn-about .tn-data>* ,body[data-nt-tenant=true] .tn-update .tn-data>*{flex:1;min-width:0}
body[data-nt-tenant=true] .tn-update-state{padding:12px 0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}

/* Tenant property lease metadata: same layout in light and graphite themes. */
body[data-nt-tenant=true] .tn-lease-dates{display:flex;flex-direction:column;gap:3px;margin-top:6px;color:var(--muted);font-size:14px;font-weight:400;line-height:1.45}
body[data-nt-tenant=true] .tn-lease-dates small{font-size:inherit;white-space:normal}
body[data-nt-tenant=true] .tn-lease-dates b{font-weight:500;color:var(--ink)}

/* Shared application information, styled only inside administrator settings. */
body[data-nt-screen="admin-settings"] .ns-about p{font-size:14px;line-height:1.65;margin:12px 0;overflow-wrap:anywhere}
body[data-nt-screen="admin-settings"] .ns-about-brand{display:flex;align-items:center;gap:12px;margin-bottom:14px}
body[data-nt-screen="admin-settings"] .ns-about-brand img{width:48px;height:48px;object-fit:contain}
body[data-nt-screen="admin-settings"] .ns-about-brand h2{font-size:22px;margin:0}
body[data-nt-screen="admin-settings"] .ns-about-tagline{color:var(--ns-blue)}

.nt-legal-content{min-width:0;max-width:100%}.nt-legal-content p,.nt-legal-content li{font-size:14px;line-height:1.65;overflow-wrap:anywhere}.nt-legal-content ul{padding-left:21px}.nt-legal-content li{margin:7px 0}.nt-legal-content pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:14px;line-height:1.65;padding:12px;border-radius:10px;border:1px solid var(--line,#e3ebf4)}.nt-legal-content .nt-legal-url{overflow-wrap:anywhere;font-size:12px}.nt-legal-links{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.nt-legal-links .nt-legal-link{font-size:13px;padding:8px 10px;min-height:38px;background:transparent;color:inherit;border:1px solid var(--line,#e3ebf4);border-radius:9px;text-align:left}.self-login .nt-legal-links{color:var(--ink,#172d4a)}

/* rent.spendoutline.com identity: navy roof, cyan bars, graphite typography. */
body,body[data-nt-screen],body[data-nt-tenant=true]{--brand-navy:#123f6b;--brand-deep:#0c2d52;--brand-cyan:#2fa4dc;--bg:#f2f6fa;--surface:#fff;--ink:#17334e;--muted:#65788a;--line:#dee8f0;--blue:#14578c;--nd-blue:#14578c;--nd-bg:#f2f6fa;--nd-surface:#fff;--ni-blue:#14578c;--ni-bg:#f2f6fa;--ni-surface:#fff;--ni-line:#dee8f0;--ns-blue:#14578c;--ns-bg:#f2f6fa;--ns-surface:#fff;--nc-blue:#14578c;--nc-bg:#f2f6fa;--nc-surface:#fff;--tn-accent:#14578c;--tn-soft:#e8f2f8}
body[data-theme=dark],body[data-nt-screen][data-theme=dark],body[data-nt-tenant=true][data-theme=dark]{--bg:#121b23;--surface:#1c2933;--ink:#eef3f6;--muted:#a9b8c4;--line:#34434f;--blue:#a2c5da;--nd-blue:#a2c5da;--nd-bg:#121b23;--nd-surface:#1c2933;--ni-blue:#a2c5da;--ni-bg:#121b23;--ni-surface:#1c2933;--ni-line:#34434f;--ns-blue:#a2c5da;--ns-bg:#121b23;--ns-surface:#1c2933;--nc-blue:#a2c5da;--nc-bg:#121b23;--nc-surface:#1c2933;--tn-accent:#c3d0da;--tn-soft:#304251}
body button.primary,body[data-nt-screen] button.primary,body[data-nt-tenant=true] button.primary,body[data-nt-screen] .ni-pdf,body[data-nt-screen] .nd-add,body[data-nt-screen] .nc-send{background:linear-gradient(145deg,#1c6296,#103b65);color:#fff;border-color:transparent;box-shadow:0 3px 9px #123f6b20}
body[data-nt-tenant=true][data-theme=dark] button.primary,body[data-nt-tenant=true][data-theme=dark] .nc-send{background:#455e70;color:#f5f8fa;box-shadow:none}
body[data-nt-screen=chat-thread] .nc-admin .nc-bubble{background:linear-gradient(145deg,#1c6296,#103b65);color:#fff}
body[data-nt-tenant=true] .nc-tenant .nc-bubble{background:#14578c;color:#fff}body[data-nt-tenant=true][data-theme=dark] .nc-tenant .nc-bubble{background:#455e70;color:#f5f8fa}
body .brand-accessible{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body header#head .brand-wordmark{width:180px;max-width:45vw;height:58px;object-fit:contain;border-radius:0;flex-shrink:1}
body .tn-about-brand img.brand-wordmark{width:250px;max-width:100%;height:84px;object-fit:contain;border-radius:0}
body[data-theme=dark] .brand-wordmark{filter:none;background:#FAFBF6;border-radius:12px;padding:4px;box-sizing:border-box}
body[data-nt-screen$="-home"] .nd-brand{gap:0}body[data-nt-screen$="-home"] .nd-brand .brand-wordmark{display:block}

/* The current accounting month is always selectable on administrator home. */
body[data-nt-screen=admin-home] .nd-month-selector{margin:12px 0 16px}
body[data-nt-screen=admin-home] .nd-month-selector .compact-month{position:relative;width:auto;height:auto;min-height:44px;overflow:visible;opacity:1;pointer-events:auto;margin:0;padding:4px 6px;border:1px solid var(--line);border-radius:12px;background:var(--nd-surface);box-shadow:var(--nd-shadow);gap:5px;min-width:0}
body[data-nt-screen=admin-home] .nd-month-selector .compact-month>button{min-width:36px;min-height:40px;padding:6px;font-size:24px;line-height:1;color:var(--nd-blue)}
body[data-nt-screen=admin-home] .nd-month-selector .month-picker{font-size:14px;line-height:20px;font-weight:650;white-space:normal}
body[data-nt-screen=admin-home] .nd-month-selector .month-picker input{margin:0}
body[data-nt-screen=admin-home] .nd-month-selector .pill{font-size:10px;padding:5px 7px}
body[data-nt-screen=admin-home] .nd-month-selector .calendar-outline svg{width:22px;height:22px}
body[data-nt-screen=admin-home] .nd-month-selector button:focus-visible,body[data-nt-screen=admin-home] .nd-month-selector .month-picker:focus-within{outline:2px solid var(--nd-blue);outline-offset:2px;border-radius:8px}
@media(max-width:350px){body[data-nt-screen=admin-home] .nd-month-selector .month-picker{font-size:12px}body[data-nt-screen=admin-home] .nd-month-selector .pill{font-size:9px;padding:4px}}

/* Immersive sign-in reference. Authenticated screens keep their existing styles. */
body:has(.login-immersive){--login-padx:44px;--login-surface:#f9fcfff0;--login-text:#0c2e54;--login-muted:#58759b;--login-line:#c8dbf2;--login-soft:#dfecffdc;background-color:#e5eef6;background-image:linear-gradient(#ffffff08,#dfe9f214),var(--login-scene);background-size:cover;background-position:center;color:var(--login-text)}
body:has(.login-immersive) header#head{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:0;min-height:180px;padding:20px 16px 16px;background:transparent;border:0}
body:has(.login-immersive) header#head .brand-wordmark{width:400px;max-width:80vw;height:124px;object-fit:contain;transform:none;flex-shrink:0}
body:has(.login-immersive) header#head .self-tools:empty{display:none}
body:has(.login-immersive) .login-tagline{margin:-8px 0 0;font-size:20px;line-height:28px;color:#46668c;font-weight:450;text-align:center}
body:has(.login-immersive) main#view{width:100%;max-width:624px;margin:0 auto;padding:16px 24px max(32px,env(safe-area-inset-bottom))!important;scrollbar-gutter:auto;scroll-padding-top:16px}
body:has(.login-immersive) nav#nav{display:none}
body:has(.login-immersive) .self-login.login-immersive{width:100%;max-width:576px;margin:auto;font-size:16px;line-height:1.45}
body:has(.login-immersive) .login-immersive>.login-primary{padding:38px var(--login-padx) 26px;margin:0;background:linear-gradient(135deg,#ffffffed,#f2f8ffcf);border:1px solid #fff;border-radius:32px;box-shadow:0 20px 55px #173c6b24,0 0 0 1px #bdd2ec9c;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);color:var(--login-text);animation:none}
body:has(.login-immersive) .login-primary h2{margin:0;font-size:30px;line-height:38px;font-weight:780;letter-spacing:-.6px;color:#071e43}
body:has(.login-immersive) .login-primary .login-intro{margin:4px 0 0;font-size:18px;line-height:26px;color:var(--login-muted);letter-spacing:0}
body:has(.login-immersive) .login-field{position:relative;display:block;margin:20px 0 0;font-size:17px;line-height:24px;font-weight:650;color:var(--login-text)}
body:has(.login-immersive) .login-field:first-child{margin-top:22px}
body:has(.login-immersive) .login-field input{width:100%;height:66px;margin-top:6px;padding:16px 58px 16px 68px;border:1px solid #b4cef0;border-radius:18px;background:#ffffffb3;color:var(--login-text);font-size:18px;font-weight:400;line-height:26px;box-shadow:inset 0 1px 2px #fff}
body:has(.login-immersive) .login-field input::placeholder{color:#7a8bad;opacity:1}
body:has(.login-immersive) .login-field-icon{position:absolute;left:20px;bottom:21px;display:flex;color:#294c7b;pointer-events:none}
body:has(.login-immersive) .login-field-icon svg,body:has(.login-immersive) .login-password-toggle svg{width:25px;height:25px}
body:has(.login-immersive) .login-password-toggle{position:absolute;right:12px;bottom:11px;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:8px;background:transparent;color:#294c7b;border:0;border-radius:12px;box-shadow:none;cursor:pointer}
body:has(.login-immersive) .login-password-toggle[aria-pressed=true]{background:#d8e9fa;color:#103c6b}
body:has(.login-immersive) .login-primary [type=submit]{position:relative;display:block;min-height:70px;width:100%;margin:26px 0 0;padding:18px 54px;border:1px solid #c7e2fc;border-radius:22px;background:linear-gradient(115deg,#1b6aa5,#0d365e);color:white;box-shadow:inset 0 1px 2px #ffffff35,0 4px 10px #1a527719;font-size:20px;line-height:28px;font-weight:750}
body:has(.login-immersive) .login-submit-arrow{position:absolute;right:28px;top:50%;transform:translateY(-50%);display:flex}
body:has(.login-immersive) .login-submit-arrow svg{width:26px;height:26px}
body:has(.login-immersive) .login-primary [data-action=reset]{width:100%;min-height:62px;margin:8px 0 0;padding:16px 12px;border-radius:22px;background:linear-gradient(115deg,#dceaffed,#d8e8fbd9);color:#06457c;font-size:17px;line-height:26px;font-weight:700;white-space:normal}
body:has(.login-immersive) .login-support{padding:18px 20px 16px;margin-top:0;border:1px solid #ffffffe6;border-radius:32px;background:linear-gradient(135deg,#ffffffa3,#eaf4fbb5);box-shadow:0 18px 45px #173c6b1b;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
body:has(.login-immersive) .login-support>.card{position:relative;margin:0 0 18px;padding:18px 24px;background:linear-gradient(135deg,#ffffffed,#f5faffdc);color:var(--login-text);border:1px solid #cfe0f5;border-radius:20px;box-shadow:none;animation:none}
body:has(.login-immersive) .login-support>details>summary{font-size:17px;line-height:26px;cursor:pointer;overflow-wrap:anywhere}
body:has(.login-immersive) .login-support details[open]>summary{margin-bottom:16px}
body:has(.login-immersive) .login-support .self-form label{margin:12px 0;font-size:15px;line-height:22px}
body:has(.login-immersive) .login-support .self-form input{min-height:50px;font-size:16px;border:1px solid #b4cef0;border-radius:12px;background:#fff;color:var(--login-text)}
body:has(.login-immersive) .login-support .self-form [type=submit]{background:linear-gradient(115deg,#1b6aa5,#0d365e);color:#fff}
body:has(.login-immersive) .login-support>.login-language-card{padding:10px 20px 10px 74px;min-height:66px;display:flex;align-items:center}
body:has(.login-immersive) .login-language-icon{position:absolute;left:20px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#e9f3ff;color:#006ce7}
body:has(.login-immersive) .login-language-icon svg{width:28px;height:28px}
body:has(.login-immersive) .login-language-card select{height:44px;margin:0;padding:8px 4px;width:100%;border:0;border-radius:9px;background:transparent;color:var(--login-text);font-size:17px;line-height:26px}
body:has(.login-immersive) .login-support>.login-privacy-card{padding:22px 24px 22px 88px;margin-bottom:20px}
body:has(.login-immersive) .login-privacy-icon{position:absolute;top:22px;left:20px;display:grid;place-items:center;width:50px;height:56px;background:linear-gradient(#f2f8fe,#e8f2fa);color:#00417c;border-radius:12px}
body:has(.login-immersive) .login-privacy-icon svg{width:30px;height:30px}
body:has(.login-immersive) .login-privacy-card p{font-size:16px;line-height:23px;margin:0;overflow-wrap:anywhere}
body:has(.login-immersive) .login-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:12px 4px 8px;color:#103e70}
body:has(.login-immersive) .login-trust>span{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;font-size:14px;line-height:20px}
body:has(.login-immersive) .login-trust svg{width:32px;height:36px;flex-shrink:0}
body:has(.login-immersive) .login-footer{padding:18px 0 0;text-align:center;color:#31577e}
body:has(.login-immersive) .login-footer .nt-legal-links{justify-content:center;gap:6px;margin:0}
body:has(.login-immersive) .login-footer .nt-legal-link{font-size:11px;line-height:16px;min-height:30px;padding:6px 8px;color:#31577e;background:#ffffff91;border-color:#d6e3f0;border-radius:8px}
body:has(.login-immersive) .login-copyright{margin:20px 0 0;font-size:13px;line-height:20px;color:#31577e}
body:has(.login-immersive) .login-footer [data-action=localOffline]{font-size:13px;min-height:36px;padding:8px;margin:8px 0 0;background:#ffffff91;color:#31577e}
body:has(.login-immersive) .login-immersive svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
body:has(.login-immersive) .login-immersive input:focus,body:has(.login-immersive) .login-immersive select:focus{outline:2px solid #78abe0;outline-offset:2px}
body:has(.login-immersive) .login-immersive button{transition:transform .12s,box-shadow .12s}
body:has(.login-immersive) .login-immersive button:active{transform:translateY(1px)}
body:has(.login-immersive) .self-form:has(button:disabled) input{opacity:1}
.login-side-note{display:none}
@media(min-width:1100px){body:has(.login-immersive) .login-side-note{display:block;position:fixed;top:140px;right:5.5vw;width:180px;font:italic 31px/1.3 Georgia,serif;color:#55759dcc;transform:rotate(-13deg);pointer-events:none;text-align:center}body:has(.login-immersive) .login-side-note:after{content:'';display:block;width:120px;height:18px;border-top:2px solid currentColor;border-radius:50%;margin:14px auto 0;transform:rotate(-8deg)}}
body[data-theme=dark]:has(.login-immersive){--login-surface:#202f3aef;--login-text:#e6eff8;--login-muted:#b0c5d9;--login-line:#52677d;--login-soft:#304b64;background-image:linear-gradient(#071423ad,#071423c7),var(--login-scene)}
body[data-theme=dark]:has(.login-immersive) .login-primary,body[data-theme=dark]:has(.login-immersive) .login-support,body[data-theme=dark]:has(.login-immersive) .login-support>.card{background:var(--login-surface);border-color:#68809899;color:var(--login-text)}
body[data-theme=dark]:has(.login-immersive) .login-primary h2,body[data-theme=dark]:has(.login-immersive) .login-tagline,body[data-theme=dark]:has(.login-immersive) .login-trust,body[data-theme=dark]:has(.login-immersive) .login-copyright{color:var(--login-text)}
body[data-theme=dark]:has(.login-immersive) .login-field input,body[data-theme=dark]:has(.login-immersive) .login-support .self-form input{background:#1a2835c9;color:var(--login-text);border-color:#627f9b}
body[data-theme=dark]:has(.login-immersive) .login-primary [data-action=reset],body[data-theme=dark]:has(.login-immersive) .login-language-icon,body[data-theme=dark]:has(.login-immersive) .login-privacy-icon,body[data-theme=dark]:has(.login-immersive) .login-password-toggle{background:#344e66;color:#dceafa}
body[data-theme=dark]:has(.login-immersive) .login-primary [type=submit]{background:linear-gradient(110deg,#476c8d,#2c4866)}
body[data-theme=dark]:has(.login-immersive) .login-field-icon{color:#afc9e0}
body[data-theme=dark]:has(.login-immersive) .login-footer .nt-legal-link,body[data-theme=dark]:has(.login-immersive) .login-footer [data-action=localOffline]{color:#dceafa;background:#263b4fe6;border-color:#62778d}
@media(max-width:650px){
 body:has(.login-immersive){--login-padx:24px}
 body:has(.login-immersive) header#head{min-height:144px;padding:14px 16px 12px}
 body:has(.login-immersive) header#head .brand-wordmark{width:300px;height:98px;max-width:80vw}
 body:has(.login-immersive) .login-tagline{font-size:16px;line-height:24px;margin:-4px 0 0}
 body:has(.login-immersive) main#view{padding:12px 18px max(24px,env(safe-area-inset-bottom))!important}
 body:has(.login-immersive) .login-immersive>.login-primary{padding:26px var(--login-padx) 22px;border-radius:26px}
 body:has(.login-immersive) .login-primary h2{font-size:26px;line-height:32px}
 body:has(.login-immersive) .login-primary .login-intro{font-size:15px;line-height:22px}
 body:has(.login-immersive) .login-field{font-size:15px;line-height:22px;margin-top:18px}
 body:has(.login-immersive) .login-field:first-child{margin-top:20px}
 body:has(.login-immersive) .login-field input{height:58px;font-size:16px;line-height:24px;padding:14px 45px 14px 48px;border-radius:15px}
 body:has(.login-immersive) .login-field-icon{left:14px;bottom:18px}
 body:has(.login-immersive) .login-field-icon svg{width:22px;height:22px}
 body:has(.login-immersive) .login-password-toggle{right:5px;bottom:7px;width:44px;height:44px}
 body:has(.login-immersive) .login-password-toggle svg{width:22px;height:22px}
 body:has(.login-immersive) .login-primary [type=submit]{min-height:58px;margin-top:22px;font-size:18px;line-height:26px;padding:14px 42px;border-radius:17px}
 body:has(.login-immersive) .login-submit-arrow{right:18px}
 body:has(.login-immersive) .login-primary [data-action=reset]{min-height:52px;padding:12px 8px;border-radius:17px;font-size:14px;line-height:22px}
 body:has(.login-immersive) .login-support{padding:14px;border-radius:26px}
 body:has(.login-immersive) .login-support>.card{padding:14px 16px;border-radius:17px;margin-bottom:14px}
 body:has(.login-immersive) .login-support>details>summary{font-size:14px;line-height:22px}
 body:has(.login-immersive) .login-support>.login-language-card{padding:8px 12px 8px 56px;min-height:58px}
 body:has(.login-immersive) .login-language-icon{left:12px;width:32px;height:32px}
 body:has(.login-immersive) .login-language-icon svg{width:24px;height:24px}
 body:has(.login-immersive) .login-language-card select{font-size:16px}
 body:has(.login-immersive) .login-support>.login-privacy-card{padding:16px 16px 16px 54px}
 body:has(.login-immersive) .login-privacy-icon{top:16px;left:10px;width:34px;height:40px}
 body:has(.login-immersive) .login-privacy-icon svg{width:24px;height:24px}
 body:has(.login-immersive) .login-privacy-card p{font-size:13px;line-height:19px}
 body:has(.login-immersive) .login-trust{gap:6px;padding:8px 0}
 body:has(.login-immersive) .login-trust>span{font-size:11px;line-height:16px;gap:5px;flex-direction:column;text-align:center}
 body:has(.login-immersive) .login-trust svg{width:26px;height:28px}
}
@media(max-width:350px){body:has(.login-immersive){--login-padx:18px}body:has(.login-immersive) main#view{padding-inline:12px!important}}
@media(prefers-reduced-motion:reduce){body:has(.login-immersive) .login-immersive button{transition:none}}

/* Shared automatic-save status, with compact native and existing web styling. */
body:not(.nt-web) .account-sync-status{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;margin-bottom:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface,#fff);color:var(--muted);font-size:12px;line-height:1.4}
body:not(.nt-web) .account-sync-status>button{flex-shrink:0;padding:7px;font-size:12px}
body[data-theme=dark]:not(.nt-web) .account-sync-status{background:#232b36}

/* Delivery status belongs to the account that was created, never a password cache. */
.account-mail-status{margin-top:12px;padding:12px;border-radius:12px;background:var(--soft,#eef5fc);color:inherit;overflow-wrap:anywhere}
.account-mail-status small{font-size:.9rem;line-height:1.5}
.account-mail-status form{margin-top:10px}
body[data-nt-tenant=true][data-nt-theme=dark] .account-mail-status{background:#283039}

/* Master administrator account management; scoped away from other screens. */
.am-page{color:var(--ink,#0b254b);font-size:14px}.am-page svg{width:21px;height:21px;flex-shrink:0}.am-layout{display:grid;gap:16px;align-items:stretch}.am-panel,.am-benefits{background:linear-gradient(135deg,#fff,#fbfdff);border:1px solid #d9e8f6;border-radius:16px;box-shadow:0 5px 16px #193d6510;padding:20px}.am-panel-title{display:flex;align-items:center;gap:13px;margin-bottom:24px}.am-title-icon{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:12px;background:#eaf4ff;color:#0064e9}.am-title-icon svg{width:27px;height:27px}.am-panel h2{font-size:17px;margin:0 0 7px;font-weight:750}.am-panel-title p{font-size:12px;color:#486e9d;line-height:1.5;margin:0}.am-editor .self-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px}.am-field{display:flex;flex-direction:column;gap:7px;margin:0!important;min-width:0;font-size:12px;font-weight:650}.am-field-name,.am-field-password,.am-field-confirm,.am-form-note,.am-active,.am-editor .self-form>button{grid-column:1/-1}.am-input{display:flex;align-items:center;gap:10px;border:1px solid #bbd0ea;border-radius:9px;background:#fcfdff;padding:0 11px;min-width:0;height:42px;color:#386598}.am-input>svg{width:17px;height:17px}.am-page .am-input input{width:100%;min-width:0;padding:10px 0;margin:0;border:0!important;border-radius:0;background:transparent!important;font-size:13px;color:#153658;box-shadow:none;outline:0;font-weight:400}.am-input:focus-within{outline:2px solid #93c6fa;outline-offset:1px}.am-input input::placeholder{color:#7a99bb;font-size:12px}.am-input>button{padding:4px;border:0;background:transparent;box-shadow:none;color:#2f5d94;display:flex;align-items:center;justify-content:center;min-width:25px}.am-input>button svg{width:18px;height:18px}.am-form-note{display:flex;gap:12px;align-items:flex-start;padding:13px;background:#eaf4ff;color:#1557a5;border-radius:9px;font-size:12px;line-height:1.6}.am-form-note svg{width:18px;height:18px}.am-page .am-editor .self-form>button{display:flex;align-items:center;justify-content:center;gap:10px;padding:12px;background:linear-gradient(110deg,#1b6da7,#10395f);color:#fff;border-radius:9px;font-size:13px;border:0;box-shadow:0 3px 7px #1a53851b}.am-active{display:flex;align-items:center;gap:9px;font-size:13px}.am-active input{width:17px;height:17px;margin:0;accent-color:#0874eb}.am-cancel{margin-top:12px}.am-count{margin-left:auto;white-space:nowrap;border-radius:16px;padding:5px 10px;background:#eaf4ff;color:#0068e7;font-size:11px}.am-accounts{display:grid;gap:13px}.am-account{min-width:0;border:1px solid #dceafa;border-radius:12px;background:#fff;padding:12px;box-shadow:0 4px 12px #255b8b0b}.am-account-top{display:flex;align-items:flex-start;gap:11px;min-width:0}.am-avatar{width:38px;height:38px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;color:#0872ec;background:#e0efff;font-size:18px}.am-identity{flex:1;min-width:0}.am-identity>b{display:block;font-size:13px;overflow-wrap:anywhere}.am-identity>small{display:block;font-size:11px;color:#5075a2;line-height:1.6;overflow-wrap:anywhere}.am-state{display:inline-block;background:#f0f1f4;color:#647383;border-radius:12px;padding:3px 9px;font-size:10px;margin-top:3px}.am-state.is-active{background:#d9f7e8;color:#16814f}.am-last-login{font-size:11px;line-height:1.6;flex-shrink:0}.am-last-login small{display:block;color:#5b7ba3;font-size:10px}.am-menu{position:relative;flex-shrink:0}.am-menu>summary{cursor:pointer;list-style:none;font-size:24px;line-height:30px;width:24px;text-align:center;color:#173c64;border-radius:5px}.am-menu>summary::-webkit-details-marker{display:none}.am-menu>div{position:absolute;right:0;top:32px;z-index:20;border:1px solid #d6e5f5;border-radius:9px;background:white;box-shadow:0 8px 30px #17395e25;min-width:140px;padding:5px}.am-menu button{display:block;width:100%;text-align:left;border:0;padding:10px;background:white;font-size:13px;box-shadow:none}.am-menu button:hover{background:#edf5fe}.am-menu .am-delete{color:#ce364a}.am-mail{display:flex;align-items:center;gap:11px;margin-top:12px;background:#eef6ff;padding:12px;border-radius:9px;color:#386fba;min-width:0}.am-mail>svg{width:17px;height:17px}.am-mail>div{min-width:0;flex:1;font-size:10px;line-height:1.6}.am-mail small{font-size:10px;overflow-wrap:anywhere;display:block}.am-sent{max-width:130px;flex-shrink:0;line-height:1.6;text-align:right}.am-benefits{display:grid;gap:20px;margin-top:16px}.am-benefits>div{display:flex;align-items:center;gap:14px}.am-benefits>div>span{display:grid;place-items:center;background:#e8f3ff;color:#0063df;width:46px;height:46px;border-radius:50%;flex-shrink:0}.am-benefits b{font-size:12px}.am-benefits p{font-size:11px;color:#567ca4;margin:6px 0 0;line-height:1.5}.am-empty{padding:40px 8px;text-align:center;color:#6c89aa}.am-empty>svg{width:36px;height:36px;color:#81abd8}.am-created{padding:12px;margin-top:12px;border-radius:10px;background:#e9f8f1;color:#16814f}.am-created h3{font-size:13px;margin:0 0 4px}.am-delivery-tools{font-size:11px;margin-top:10px;color:#3d6f9e}.am-delivery-tools>summary{cursor:pointer}.am-delivery-tools .account-mail-status{margin-top:8px}.am-delivery-tools input{max-width:100%}
@media(min-width:900px){.am-layout{grid-template-columns:minmax(0,.92fr) minmax(0,1fr)}.am-benefits{grid-template-columns:repeat(3,minmax(0,1fr))}.am-benefits>div+div{border-left:1px solid #dfebf7;padding-left:20px}}
@media(max-width:480px){.am-panel,.am-benefits{padding:15px}.am-editor .self-form{grid-template-columns:1fr}.am-field{grid-column:1/-1}.am-account{padding:10px}.am-last-login{width:100%;padding-left:49px;order:4}.am-account-top{flex-wrap:wrap}.am-identity{flex-basis:calc(100% - 95px)}.am-mail{flex-wrap:wrap}.am-sent{max-width:none;text-align:left;padding-left:28px;width:100%}.am-count{font-size:10px;padding:5px}.am-panel-title{gap:10px}.am-panel h2{font-size:16px}}
.am-head-tools{display:flex;align-items:center;gap:12px;margin-left:auto}.am-head-tools button{display:grid;place-items:center;background:transparent;color:#153f72;border:0;box-shadow:none;padding:7px;border-radius:8px}.am-head-tools svg{width:21px;height:21px}.am-head-tools .am-head-add{background:linear-gradient(120deg,#20699f,#123b67);color:#fff;box-shadow:0 3px 8px #16467822}.am-search:not([hidden]){display:flex;gap:8px;align-items:center;border:1px solid #c8ddf3;border-radius:9px;padding:8px 10px;margin-bottom:16px;color:#3f6e9a}.am-search input{min-width:0;width:100%;border:0;background:transparent;padding:0!important;margin:0;box-shadow:none;font-size:14px}.am-account[hidden],.am-search[hidden]{display:none!important}@media(max-width:480px){.am-head-tools{gap:3px}.am-head-tools button{padding:5px}.am-head-tools svg{width:17px;height:17px}}

/* Account and application settings: shared presentation, existing actions. */
.as-page{color:#102f5c;font-size:14px}.as-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}.as-page .ns-card{position:relative;background:linear-gradient(140deg,#fff,#fcfdff);border:1px solid #d8e8fa;border-radius:18px;padding:22px;margin:0;max-width:none!important;height:100%;box-shadow:0 5px 18px #22548708;min-width:0}.as-cell{min-width:0}.as-page svg{width:23px;height:23px;flex-shrink:0}.as-card-heading{display:flex;align-items:center;gap:18px;font-size:20px!important;line-height:1.35;margin:0 0 20px!important;font-weight:750;color:#102e5c}.as-card-icon{width:56px;height:56px;flex-shrink:0;border-radius:16px;display:grid;place-items:center;background:linear-gradient(130deg,#eef7ff,#e1effe);border:1px solid #daeafb;color:#0060eb}.as-card-icon svg{width:31px;height:31px}.as-page .ns-card>p,.as-page .ns-card>small{display:block;line-height:1.65;font-size:14px;color:#4a6b95;margin:12px 0}.as-page .ns-card>small+small{margin-top:10px}.as-page .as-about p{font-size:13px;line-height:1.65}.as-page .ns-about-tagline{margin-top:-10px!important;color:#456fa8!important}.as-page .ns-about-tagline strong{font-weight:400}.as-page .ns-about>p:last-child{background:linear-gradient(110deg,#e8f4ff,#e1f0ff);border-radius:12px;padding:14px;color:#144f9b!important;display:flex;align-items:center;gap:14px}.as-page .ns-about>p:last-child:before{content:'◎';font-size:29px;line-height:1;color:#006aeb}.as-info-table{border:1px solid #e5effa;background:linear-gradient(115deg,#f9fcff,#eff6fe);border-radius:16px;overflow:hidden}.as-page .as-info-table .ns-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0;border:0;border-radius:0;border-bottom:1px solid #e0edfa;padding:19px 16px;background:transparent;line-height:1.5;font-size:13px}.as-page .as-info-table .ns-row:last-child{border-bottom:0}.as-info-table .ns-row>span{color:#708db0}.as-info-table .ns-row>b{font-weight:400;color:#153858;text-align:right;overflow-wrap:anywhere;min-width:0}.as-legal-links{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.as-page .as-legal-link{display:flex;align-items:center;gap:13px;min-width:0;background:linear-gradient(125deg,#fff,#f9fcff);border:1px solid #cddff4;border-radius:12px;padding:15px 13px;font-size:13px;color:#143b70;box-shadow:none;text-align:left;min-height:65px;margin:0}.as-legal-link>span{flex:1;line-height:1.5;min-width:0}.as-legal-link svg:first-child{color:#0065ef;width:24px;height:24px}.as-legal-link svg:last-child{color:#5d82b2;width:16px;height:16px}.as-legal-delete svg:first-child{color:#ed3d3d}.as-page .as-export button,.as-page .as-primary{display:flex;align-items:center;justify-content:center;gap:12px;background:linear-gradient(120deg,#eaf4ff,#e1efff);color:#005de6;border:0;border-radius:13px;padding:16px;margin-top:16px;font-size:15px;font-weight:700;box-shadow:none}.as-page .as-export button+button{margin-top:10px}.as-backup .ns-card>small:last-child{padding:15px 18px;border-radius:12px;background:#e8f3ff;color:#135eb1;line-height:1.6;font-size:14px}.as-version .as-card-heading{padding-right:65px}.as-active{position:absolute;right:22px;top:28px;display:flex;align-items:center;gap:8px;padding:8px 13px;border-radius:22px;background:#e6f8f0;color:#269467;font-size:13px}.as-active i{width:9px;height:9px;border-radius:50%;background:#37bd83}.as-page .as-version-subtitle{margin:-29px 0 22px 75px!important;font-size:14px!important;color:#5681b4!important}.as-version-code{display:flex;align-items:center;justify-content:space-between;gap:12px;background:linear-gradient(110deg,#fff,#f0f7ff);border:1px solid #d9e8fa;border-radius:14px;padding:14px 16px;margin:26px 0 12px;color:#1d416f;font-size:15px;overflow-wrap:anywhere}.as-version-code span{min-width:0}.as-version-code button{display:grid;place-items:center;padding:5px;background:#fff;border:0;box-shadow:0 3px 10px #1f4d7920;color:#1f5a9a;border-radius:9px;flex-shrink:0}.as-copyright{margin-top:18px;border:1px solid #dce9f9;border-radius:14px;background:#fff;padding:12px 18px;color:#5879a1;font-size:13px}.as-copyright>summary{cursor:pointer;font-weight:600}.as-copyright .ns-card{border:0;box-shadow:none;padding:18px 0 3px;background:transparent}.as-copyright .ns-card h2{font-size:17px}.as-footer{display:flex;justify-content:space-between;gap:15px;padding:20px 5px 6px;flex-wrap:wrap;font-size:12px;color:#6589b5}.as-footer b{font-size:19px;color:#0785ed;margin-left:8px}.as-extra{margin-top:18px}.as-sync-banner{display:flex!important;align-items:center!important;gap:18px!important;padding:18px 20px!important;background:linear-gradient(130deg,#fff,#f9fcff)!important;border:1px solid #d9e8fa!important;border-radius:17px!important;box-shadow:0 5px 18px #22548708!important;margin-bottom:18px!important;color:#163767!important}.as-sync-icon{display:grid;place-items:center;width:53px;height:53px;flex-shrink:0;border-radius:15px;background:#e9f4ff;color:#0066ed}.as-sync-icon svg{width:33px;height:33px}.as-sync-banner>div{flex:1;min-width:0;line-height:1.5}.as-sync-banner strong{display:block;font-size:16px;font-weight:700}.as-sync-banner small{display:block;color:#5278a7;font-size:13px;margin-top:3px}.as-sync-banner>button{display:flex;gap:11px;align-items:center;justify-content:center;border:0!important;border-radius:13px!important;background:linear-gradient(120deg,#e7f3ff,#ddecff)!important;color:#0064e6!important;font-size:15px!important;padding:14px 18px!important;white-space:nowrap}.as-sync-banner button svg{width:24px;height:24px}.as-header-subtitle{display:block;font-size:14px;font-weight:400;color:#5e80af;line-height:1.5;margin-top:4px}.as-header-actions{display:flex;align-items:center;gap:24px;margin-left:auto}.as-header-actions button.as-bell{border:0;box-shadow:none;background:transparent;color:#3b6091;padding:5px}.as-bell svg{width:24px;height:24px}.as-profile-menu{position:relative}.as-profile-menu>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;color:#466997}.as-profile-menu>summary::-webkit-details-marker{display:none}.as-profile-menu>summary>span{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(130deg,#496b96,#2b466c);color:white;font-size:14px;font-weight:700;box-shadow:0 3px 8px #2645631c}.as-profile-menu>div{position:absolute;right:0;top:52px;min-width:190px;border:1px solid #dae7f7;background:white;border-radius:12px;padding:7px;box-shadow:0 9px 28px #24497025;z-index:35}.as-profile-menu>div button{display:block;width:100%;padding:10px;text-align:left;border:0;background:white;box-shadow:none;color:#214c7e}.as-profile-menu>div .ns-logout{color:#d04854}.as-person{display:flex;gap:16px;align-items:center;margin:5px 0 22px}.as-person>span{width:62px;height:62px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:linear-gradient(130deg,#e7f6ff,#d3e8ff);color:#1475e7;font-size:22px}.as-person h3{font-size:19px;margin:0 0 5px}.as-person p{margin:0;color:#6b89ae;font-size:13px}.as-session-card .ns-logout{margin-top:22px;color:#c54654;border-color:#f2d6dc;background:#fff6f7}.as-account .ns-card>p{margin:15px 0 22px}
@media(min-width:700px){.as-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.as-legal-links{grid-template-columns:repeat(2,minmax(0,1fr))}.as-account .as-session-card{grid-column:1/-1}}
@media(max-width:480px){.as-page .ns-card{padding:18px;border-radius:15px}.as-card-heading{font-size:18px!important;gap:13px}.as-card-icon{width:44px;height:44px;border-radius:13px}.as-card-icon svg{width:26px;height:26px}.as-version .as-card-heading{padding-right:0}.as-active{position:static;display:inline-flex;margin:0 0 12px 57px}.as-page .as-version-subtitle{margin:0 0 8px!important}.as-version-code{margin-top:15px}.as-header-actions{gap:10px}.as-header-actions .as-profile-menu>summary>span{width:33px;height:33px;font-size:11px}.as-profile-menu>summary{gap:4px}.as-header-actions .as-bell{padding:0}.as-header-subtitle{font-size:11px}body[data-admin-settings=settingsApp] #head h1,body[data-admin-settings=settingsAccount] #head h1{font-size:20px;min-width:0;line-height:1.25}.as-sync-banner{padding:14px!important;gap:10px!important;flex-wrap:wrap!important;flex-direction:row!important}.as-sync-icon{width:40px;height:40px}.as-sync-icon svg{width:25px;height:25px}.as-sync-banner>div{flex-basis:calc(100% - 54px)}.as-sync-banner strong{font-size:14px}.as-sync-banner small{font-size:12px}.as-sync-banner>button{margin-left:50px;font-size:13px!important;padding:10px 14px!important}.as-info-table .ns-row{font-size:12px!important;padding:15px 12px!important;gap:10px!important}.as-footer{font-size:11px;padding-top:17px}}
body[data-admin-settings] .as-page .ns-card{background:linear-gradient(140deg,#fff,#fcfdff);border:1px solid #d8e8fa;border-radius:18px;padding:22px;margin:0;box-shadow:0 5px 18px #22548708}
body[data-admin-settings] .as-page .ns-card>.as-card-heading{gap:18px;line-height:1.35}
body[data-admin-settings] .as-page .ns-card>small{font-size:14px;line-height:1.65;margin:12px 0;color:#4a6b95}
body[data-admin-settings] .as-page .ns-row{flex-wrap:nowrap}
body[data-admin-settings] #web-sync-note.as-sync-banner>.as-sync-icon,body[data-admin-settings] #nt-account-sync.as-sync-banner>.as-sync-icon{flex:0 0 53px!important;width:53px!important}
body[data-admin-settings] .as-copyright .ns-card{background:transparent;border:0;box-shadow:none;padding:18px 0 3px}
@media(max-width:480px){body[data-admin-settings] .as-page .ns-card{padding:18px;border-radius:15px}body[data-admin-settings] #web-sync-note.as-sync-banner>.as-sync-icon,body[data-admin-settings] #nt-account-sync.as-sync-banner>.as-sync-icon{flex-basis:40px!important;width:40px!important}body[data-admin-settings] .as-page .ns-card>.as-card-heading{gap:13px}}
body[data-admin-settings] .as-version-code{padding:12px 16px;margin-top:18px}
body[data-admin-settings] .as-version-code button{padding:4px!important;width:30px;min-width:30px;min-height:0;height:30px;line-height:1;display:grid;place-items:center}

/* Other settings use the same approved cards and live controls. */
.as-other .as-card-heading{margin-bottom:20px!important}.as-other .as-other-subtitle{margin:-18px 0 20px 74px!important;font-size:14px!important;line-height:1.55!important}.as-other label{display:block;margin:22px 8px 0!important;font-size:16px!important;font-weight:500}.as-other select{width:100%;font-size:16px!important;min-height:46px;background:linear-gradient(120deg,#fff,#f9fcff)!important}.as-other .ns-category{width:100%;margin:10px 0!important;border:1px solid #dfebfa!important;border-radius:13px!important;background:linear-gradient(120deg,#fff,#f7fbff)!important;padding:12px!important;min-height:70px!important}.as-other .ns-category .ns-copy b{font-size:16px}.as-other .ns-category .ns-copy small{font-size:14px!important;line-height:1.5!important;margin-top:3px!important}.as-other .as-primary{margin:10px 0!important;padding:14px!important}.as-other .as-other-about .as-info-table{margin-top:20px}.as-other .as-other-about .ns-row{padding:12px 15px}.as-other .as-other-about .ns-row b{font-size:14px}.as-other .as-other-about p{margin:16px 8px 0}.as-other .as-other-notifications small{padding:15px 18px;background:#eaf5ff;border-radius:12px}.as-other .as-other-notifications p{margin-top:0}.as-other .as-other-notifications .as-card-heading{margin-bottom:12px!important}
body[data-admin-settings=settingsOther] #head h1{min-width:0;line-height:1.25}
body[data-theme=dark] .as-other{color:var(--ink)}body[data-theme=dark] .as-other .ns-card{background:var(--ns-bg);border-color:var(--ns-line)}body[data-theme=dark] .as-other .as-card-heading{color:var(--ns-ink)}body[data-theme=dark] .as-other .ns-card p,body[data-theme=dark] .as-other .ns-card small{color:var(--ns-muted)}body[data-theme=dark] .as-other .as-card-icon,body[data-theme=dark] .as-other .as-info-table,body[data-theme=dark] .as-other .ns-category,body[data-theme=dark] .as-other select,body[data-theme=dark] .as-other .as-legal-link,body[data-theme=dark] .as-other .as-primary,body[data-theme=dark] .as-other .as-other-notifications small{background:var(--ns-soft)!important;color:var(--ns-ink)!important;border-color:var(--ns-line)!important}body[data-theme=dark] .as-other .as-info-table .ns-row{border-color:var(--ns-line)}body[data-theme=dark] .as-other .as-info-table .ns-row>b{color:var(--ns-ink)}
@media(max-width:480px){.as-other .as-other-subtitle{margin-left:57px!important;font-size:14px!important}.as-other label{margin:18px 0 0!important}body[data-admin-settings=settingsOther] #head h1{font-size:20px}}
.as-other-tools{gap:18px}.as-other-tools>button{display:grid;place-items:center;background:transparent;color:#005ee8;border:0;box-shadow:none;padding:8px;margin:0!important}.as-other-tools>button.primary{background:linear-gradient(140deg,#086cf0,#0049bd);color:#fff;font-size:30px!important;line-height:1;width:50px;height:50px;padding:0}.as-other-tools svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8}
body[data-theme=dark][data-admin-settings=settingsOther] .as-sync-banner{background:var(--ns-bg)!important;color:var(--ns-ink)!important;border-color:var(--ns-line)!important}body[data-theme=dark][data-admin-settings=settingsOther] .as-sync-banner small{color:var(--ns-muted)}body[data-theme=dark][data-admin-settings=settingsOther] .as-sync-icon,body[data-theme=dark][data-admin-settings=settingsOther] .as-sync-banner>button{background:var(--ns-soft)!important;color:var(--ns-blue)!important}
@media(max-width:480px){.as-other-tools{gap:5px}.as-other-tools>button{padding:4px}.as-other-tools svg{width:22px;height:22px}.as-other-tools>button.primary{width:36px;height:36px;font-size:25px!important}}

/* statistics:start */
/* Statistics only. Existing canvas scale/sidebar/header dimensions remain authoritative. */
body[data-nt-screen=admin-statistics] #view{max-width:1320px;margin-inline:auto;width:100%}
.st-page{--st-blue:#0063ff;--st-ink:#102c5c;--st-line:#dceafb;color:var(--st-ink);font-size:14px;display:grid;gap:16px;min-width:0}
.st-page *{box-sizing:border-box}.st-page button,.st-page select,.st-page summary{font:inherit}.st-page button,.st-page summary{cursor:pointer}.st-page button:focus-visible,.st-page summary:focus-visible{outline:3px solid #80b9ff;outline-offset:3px}
.st-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.st-toolbar>*,.st-panel,.st-kpi{background:linear-gradient(120deg,#fff,#f7fbff);border:1px solid var(--st-line);border-radius:14px;box-shadow:0 5px 18px #184f8210}
.st-toolbar>label{display:flex;align-items:center;gap:10px;padding:8px 12px}.st-toolbar select{border:1px solid var(--st-line);color:inherit;background:transparent;border-radius:10px;padding:9px;min-width:90px;width:auto;margin:0;font-size:14px;min-height:38px}.st-period{display:flex;gap:7px;align-items:center;padding:10px;flex-wrap:wrap}.st-period b{padding-inline:8px;font-weight:500}.st-page .st-period button{border:1px solid #dfebfb;color:#325b88;background:#f8fbff;border-radius:12px;padding:9px 13px;margin:0;box-shadow:none;min-height:38px}.st-page .st-period button.st-selected{color:white;background:#0063ff;border-color:#0063ff}
.st-toolbar details{position:relative;padding:0}.st-toolbar summary{list-style:none;min-height:58px;display:flex;gap:10px;align-items:center;padding:12px 16px}.st-toolbar summary:after{content:'⌄';margin-left:auto}.st-toolbar details>div{position:absolute;top:100%;left:0;z-index:20;min-width:220px;max-width:calc(100vw - 60px);background:#fff;padding:12px;border:1px solid var(--st-line);border-radius:12px;box-shadow:0 10px 30px #164d8133;max-height:330px;overflow:auto}.st-objects{flex:1;min-width:180px}.st-toolbar .st-objects label{display:flex;align-items:center;gap:9px;margin:0;padding:10px;line-height:1.4;overflow-wrap:anywhere}.st-objects input{width:18px;height:18px;min-height:18px;margin:0;flex-shrink:0}.st-toolbar .st-export>div{left:auto;right:0;min-width:130px}.st-export summary{color:#0063ff;font-weight:600}.st-page svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8}
.st-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.st-kpi{padding:18px;display:flex;gap:16px;align-items:flex-start;min-width:0}.st-icon{display:grid;place-items:center;width:48px;height:52px;flex:0 0 48px;border-radius:15px;background:#fff7;box-shadow:0 4px 9px #134d7310}.st-icon svg{width:31px;height:31px}.st-kpi>div{min-width:0;flex:1}.st-kpi strong{display:block;font-size:25px;line-height:1.5;letter-spacing:-.4px;overflow-wrap:anywhere}.st-kpi small{display:block;color:#537399;font-size:12px;line-height:1.5}.st-kpi.st-total{background:#effcf6;color:#009f71;border-color:#d5f5e6}.st-kpi.st-rent{background:#f1f8ff;color:#0063ff}.st-kpi.st-utilities{background:#fff9ef;color:#ec8b00;border-color:#faecd6}.st-kpi.st-unpaid{background:#fff1f5;color:#f52352;border-color:#ffe0e9}.st-method{font-size:12px;line-height:1.6;color:#537399}.st-method b{font-weight:500;color:#8d5911}
.st-chart-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:14px}.st-panel{padding:19px;min-width:0}.st-page h2{font-size:18px;color:inherit;margin:0 0 16px;line-height:1.35}.st-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.st-legend{display:flex;gap:13px;font-size:12px;flex-wrap:wrap}.st-legend span{display:flex;align-items:center;gap:6px}.st-legend i,.st-donut-legend i{width:12px;height:12px;border-radius:50%;display:inline-block;flex-shrink:0}.st-legend .st-rent,.st-donut-legend .st-rent{background:#268eff}.st-legend .st-utilities,.st-donut-legend .st-utilities{background:#ff9e36}.st-legend .st-unallocated,.st-donut-legend .st-unallocated{background:#94a8be}
.st-chart{display:flex;height:228px;margin:18px 0 0;gap:9px}.st-yaxis{display:flex;flex-direction:column;justify-content:space-between;padding-bottom:30px;min-width:55px;font-size:11px;text-align:right;color:#537399}.st-bars{display:grid;grid-template-columns:repeat(var(--st-months),minmax(0,1fr));flex:1;min-width:0;background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#e6eef9 calc(25% - 1px),#e6eef9 25%);background-size:100% calc(100% - 30px);background-repeat:no-repeat;gap:6px;border-left:1px solid #cbdbef}.st-month{display:flex;flex-direction:column;min-width:0}.st-page .st-bar-button{position:relative;display:flex;justify-content:center;align-items:flex-end;gap:3px;width:100%;height:calc(100% - 30px);border:0;background:transparent;border-radius:0;padding:0;margin:0;box-shadow:none;color:inherit}.st-bar{display:block;min-height:0;width:34%;border-radius:2px 2px 0 0}.st-bar.st-rent{background:linear-gradient(#68afff,#1689ff);border:1px solid #4199fc}.st-bar.st-utilities{background:linear-gradient(#ffc375,#ff972d);border:1px solid #ffad57}.st-bar.st-unallocated{background:#94a8be}.st-month-label{height:30px;padding-top:7px;text-align:center;font-size:11px;color:#41678f}.st-month-label small{display:block}.st-tooltip{display:none;position:absolute;z-index:8;bottom:55%;left:50%;transform:translateX(-50%);background:#fff;border:1px solid #deebfa;padding:12px;border-radius:12px;box-shadow:0 5px 16px #164c8020;white-space:nowrap;font-size:12px;pointer-events:none}.st-month:first-child .st-tooltip{left:0;transform:none}.st-month:last-child .st-tooltip{left:auto;right:0;transform:none}.st-tooltip span{display:block;line-height:1.6}.st-bar-button:is(:hover,:focus) .st-tooltip{display:block}
.st-distribution{display:flex;align-items:center;gap:26px;justify-content:center;min-height:228px;flex-wrap:wrap}.st-donut{width:190px;height:190px;border-radius:50%;padding:26px;flex-shrink:0}.st-donut>div{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fafcff;border-radius:50%;text-align:center}.st-donut strong{font-size:18px}.st-donut small{display:block;margin-top:7px}.st-donut-legend{flex:1;min-width:140px}.st-donut-legend p{display:flex;gap:12px;align-items:center;line-height:1.5}.st-donut-legend b{display:block;font-weight:500}
.st-tables,.st-bottom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.st-table{width:100%;border-collapse:collapse;font-size:12px;table-layout:fixed}.st-table th{background:#f0f7ff;color:#537399;font-weight:400}.st-table th,.st-table td{text-align:right;padding:10px 6px;border-bottom:1px solid #e9f0fa;overflow-wrap:normal;font-variant-numeric:tabular-nums}.st-table th:first-child,.st-table td:first-child{text-align:left;width:24%}.st-table td:nth-last-child(1){font-weight:600}.st-table-total{display:flex;justify-content:space-between;background:#eef6ff;padding:12px;margin-top:10px;border-radius:10px;gap:12px}.st-page .st-wide{width:100%;border:0;border-radius:10px;background:#edf5ff;color:#0063ff;padding:12px;margin-top:10px}.st-panel>small{display:block;font-size:12px;color:#537399;line-height:1.6;margin-top:10px}.st-panel dl{margin:0}.st-panel dl>div,.st-metrics>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #e8f0fb}.st-panel dd{margin:0}.st-heading{display:flex;align-items:center;gap:14px}.st-heading h1{margin:0}.st-heading small{color:#537399;font-size:14px}.st-heading button{padding:8px}
@media(max-width:1200px){.st-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.st-chart-grid,.st-tables{grid-template-columns:minmax(0,1fr)}.st-distribution{min-height:210px}.st-donut-legend{max-width:300px}}
@media(max-width:699px){.st-page{font-size:16px;gap:14px}.st-toolbar{gap:9px}.st-toolbar>label{flex:1}.st-toolbar select{font-size:16px}.st-period{width:100%;justify-content:center}.st-period b{width:100%;text-align:center}.st-page .st-period button{padding:9px 10px;font-size:14px}.st-kpis{gap:10px}.st-kpi{padding:12px;gap:8px;flex-direction:column}.st-kpi strong{font-size:22px}.st-kpi small,.st-method,.st-legend,.st-panel>small{font-size:14px}.st-icon{width:40px;height:40px;flex-basis:40px}.st-page h2{font-size:19px}.st-panel{padding:15px}.st-bottom{grid-template-columns:minmax(0,1fr)}.st-yaxis{min-width:43px;font-size:10px}.st-bars{gap:2px}.st-month-label{font-size:10px}.st-chart{gap:5px;height:230px}.st-tooltip{font-size:12px;padding:8px}.st-table thead{display:none}.st-table,.st-table tbody,.st-table tr,.st-table td{display:block;width:100%!important}.st-table tr{padding:9px 0;border-bottom:1px solid #dceafb}.st-table td{border:0;display:flex;text-align:right;justify-content:space-between;gap:12px;padding:5px 0;font-size:14px}.st-table td:first-child{font-size:16px;font-weight:600;text-align:left}.st-table td[data-label]:before{content:attr(data-label);text-align:left;font-weight:400;color:#537399}.st-heading small{font-size:13px}.st-donut{width:170px;height:170px;padding:23px}}
body[data-theme=dark] .st-page{--st-ink:#e2edff;--st-line:#304860}body[data-theme=dark] .st-page :is(.st-panel,.st-kpi,.st-toolbar>*,.st-toolbar details>div,.st-tooltip){background:#1c2e42}body[data-theme=dark] .st-page :is(.st-table th,.st-table-total,.st-donut>div){background:#263e58}body[data-theme=dark] .st-page :is(select,option){background:#1c2e42;color:#e2edff}body[data-theme=dark] .st-page :is(small,.st-method,.st-legend,.st-table th){color:#a5bddd}

@media(min-width:1000px){body.nt-web[data-nt-screen=admin-statistics] #head{height:66px;min-height:66px;padding:8px 24px}body.nt-web[data-nt-screen=admin-statistics] #head .st-heading h1{font-size:26px;line-height:1.2}body.nt-web[data-nt-screen=admin-statistics] #head .st-heading small{line-height:1.3}}

.st-print-brand{display:none}
@media print{body[data-nt-screen=admin-statistics] :is(#head,#nav,.st-toolbar,.st-wide){display:none!important}body[data-nt-screen=admin-statistics] #view{max-width:none!important;height:auto!important;overflow:visible!important}.st-print-brand{display:block}.st-print-brand img{width:180px}.st-page .st-panel{box-shadow:none;break-inside:avoid}.st-page .st-tooltip{display:none!important}}

/* Give the fifth native administrator tab room without shrinking its text. */
body:not(.nt-web) #nav .nt-admin-five-nav button{padding:10px 2px;line-height:1.3}

.st-page .st-table .st-proof-row>td{text-align:left;width:auto;padding:5px 0 12px}.st-proof{background:#f1f7ff;color:#32547b;border-radius:10px;padding:10px;font-size:12px;line-height:1.5}.st-proof summary{cursor:pointer;font-weight:600}.st-proof>div{padding-top:9px}.st-proof ul{margin:6px 0;padding-left:19px}.st-proof p{margin:6px 0}.st-proof li{padding:2px 0}body[data-theme=dark] .st-proof{background:#243c56;color:#d7e7fc}@media(max-width:699px){.st-proof{font-size:14px}.st-table .st-proof-row{padding-top:0}.st-table .st-proof-row>td{display:block}}

/* Private owner ledger; existing navigation and tenant screens are unchanged. */
.oe-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.oe-kpis section{background:#eff6ff;border-radius:14px;padding:14px;min-width:0}.oe-kpis strong{display:block;font-size:22px;overflow-wrap:anywhere;margin-top:8px}.oe-kpis section:last-child{background:#e5f6ed}.oe-notice{font-size:12px;line-height:1.6;color:#53677b;padding:12px;background:#f1f5f9;border-radius:12px}.oe-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;padding:16px 0;border-bottom:1px solid #dce8f5}.oe-row small{display:block;margin-top:6px}.oe-row>div:last-child{grid-column:1/-1;display:flex;gap:8px}.oe-page textarea{box-sizing:border-box;width:100%;font:inherit}.oe-page label{display:block;margin:14px 0}.oe-page small{line-height:1.5}@media(max-width:420px){.oe-kpis{gap:5px}.oe-kpis section{padding:10px 7px}.oe-kpis strong{font-size:18px}}
.st-table td.oe-negative{color:#b42318;font-weight:700}.oe-kpis section.oe-loss{background:#feeceb;color:#b42318}
.oe-selected-totals .st-table-total.oe-loss{background:#feeceb;color:#b42318}.oe-selected-totals h3{margin:20px 0 8px}.oe-selected-totals small{display:block;line-height:1.5}
/* statistics:end */

/* Slightly larger secondary text on the administrator property list. */
body[data-nt-screen="admin-home"] .nd-provider small{font-size:11px;line-height:1.4}
body[data-nt-screen="admin-home"] .nd-provider time{font-size:10.5px;white-space:normal}
body[data-nt-screen="admin-home"] .nd-provider-message{font-size:11px}
body[data-nt-screen="admin-home"] .nd-summary small{font-size:11px;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
body[data-nt-screen="admin-home"] .nd-finance-note{font-size:11px;line-height:1.5}
body[data-nt-screen="admin-home"] .nd-property-address small{font-size:12px;line-height:1.5}
body[data-nt-screen="admin-home"] .nd-property-money .nd-pill{font-size:11.5px;white-space:normal}
body[data-nt-screen="admin-home"] .nd-property-status{font-size:12px;line-height:1.5}
body[data-nt-screen="admin-home"] .nd-lease,body[data-nt-screen="admin-home"] .nd-change{font-size:12px}

/* Compact, readable settings cards with related actions kept together. */
.as-page.as-automation{display:grid;gap:16px}
.as-page.as-automation .ns-card{margin:0;padding:18px;border:1px solid #d8e8fa;border-radius:16px;background:var(--card,#fff)}
.as-page.as-automation .ns-card h2{display:flex;align-items:center;gap:10px;font-size:17px;line-height:1.4;margin:0 0 16px}
.as-page.as-automation .ns-row{display:grid;grid-template-columns:minmax(95px,1fr) minmax(0,2fr);gap:12px;padding:12px 0;border-bottom:1px solid #e5edf5;background:transparent;font-size:13px;line-height:1.5}
.as-page.as-automation .ns-row b{min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:right;font-size:14px;font-weight:600}
.as-page.as-automation .ns-card>small{display:block;font-size:13px;line-height:1.5;margin:14px 0;color:var(--muted)}
.as-page.as-automation .ns-card>button{margin:8px 0 0;min-height:44px;white-space:normal;line-height:1.4}
.as-page.as-automation .ns-log{padding:12px 0;line-height:1.5}
body[data-admin-settings] .as-page .as-grid{gap:16px;align-items:start}
body[data-admin-settings] .as-page .ns-card{padding:18px;border-radius:16px}
body[data-admin-settings] .as-page .as-card-heading{font-size:17px!important;gap:12px!important;margin:0 0 16px;line-height:1.4}
body[data-admin-settings] .as-page .as-card-icon{width:36px;height:36px;flex:0 0 36px;border-radius:11px}
body[data-admin-settings] .as-page .as-card-icon svg{width:23px;height:23px}
body[data-admin-settings] .as-page .ns-card>p,body[data-admin-settings] .as-page .ns-card>small{font-size:14px;line-height:1.6;margin:12px 0}
body[data-admin-settings] .as-page .ns-card>button{min-height:44px;line-height:1.4;white-space:normal;margin:8px 0 0;font-size:14px}
body[data-admin-settings] .as-person{gap:12px;margin:0 0 16px}
body[data-admin-settings] .as-person>span{width:48px;height:48px;font-size:20px}
body[data-admin-settings] .as-person h3{font-size:18px;line-height:1.4;margin:0 0 3px}
body[data-admin-settings] .as-person p{font-size:13px;line-height:1.4}
body[data-admin-settings] .as-info-table .ns-row{padding:12px!important;gap:8px!important;line-height:1.5}
body[data-admin-settings] .as-session-card{display:flex;flex-direction:column;gap:10px}
body[data-admin-settings] .as-session-card>.as-card-heading,body[data-admin-settings] .as-session-card>p,body[data-admin-settings] .as-session-card>button{margin:0!important}
body[data-admin-settings] .as-session-card>.as-revoke{background:transparent!important;box-shadow:none;border:1px solid #eab6bf!important;color:#a6293c!important}
@media(max-width:600px){
 body[data-admin-settings] .as-info-table .ns-row{display:grid;grid-template-columns:minmax(0,1fr);text-align:left;font-size:12px!important}
 body[data-admin-settings] .as-info-table .ns-row>b{text-align:left;white-space:normal;overflow-wrap:anywhere;font-size:14px}
 body[data-admin-settings] #head .as-header-subtitle{font-size:12px;line-height:1.4}
 .as-page.as-automation .ns-row{grid-template-columns:minmax(0,1fr);gap:3px}
 .as-page.as-automation .ns-row b{text-align:left}
}
body[data-theme=dark] .as-page.as-automation .ns-card{background:var(--ns-bg,#172535);border-color:var(--ns-line,#33465d)}
body[data-theme=dark] .as-page.as-automation .ns-row{border-color:var(--ns-line,#33465d)}

body[data-theme=dark][data-admin-settings] .as-page:is(.as-account,.as-app) .ns-card{background:var(--surface);border-color:var(--line);color:var(--ink)}
body[data-theme=dark][data-admin-settings] .as-page:is(.as-account,.as-app) .as-card-heading{color:var(--ink)}
body[data-theme=dark][data-admin-settings] .as-page:is(.as-account,.as-app) .ns-card>p,body[data-theme=dark][data-admin-settings] .as-page:is(.as-account,.as-app) .ns-card>small{color:var(--muted)}
body[data-theme=dark][data-admin-settings] .as-page:is(.as-account,.as-app) .as-info-table,body[data-theme=dark][data-admin-settings] .as-page:is(.as-account,.as-app) .ns-row{background:var(--surface);border-color:var(--line);color:var(--ink)}
body[data-theme=dark][data-admin-settings] .as-page:is(.as-account,.as-app) .ns-row>b{color:var(--ink)}
body[data-theme=dark][data-admin-settings] .as-page:is(.as-account,.as-app) .as-primary{background:#243c5b!important;color:#b9d8ff!important}
body[data-theme=dark][data-admin-settings] .as-session-card>.as-revoke{color:#ffb2be!important;border-color:#75404a!important}

/* Approved simplified settings: one task per row, with plain language. */
.so-page{display:grid;gap:14px;max-width:680px;margin:0 auto;color:var(--ink)}
.so-panel{background:var(--surface,#fff);border:1px solid var(--line,#dce8f3);border-radius:17px;padding:4px 14px;min-width:0;box-shadow:0 3px 14px #1a416407}
.so-panel h2{display:flex;align-items:center;gap:12px;font-size:17px;line-height:1.4;margin:14px 0;font-weight:650}
.so-page svg,.so-notification svg{width:24px;height:24px;flex-shrink:0;color:var(--blue,#0870ef)}
.so-panel>h2>svg{box-sizing:content-box;padding:9px;border-radius:12px;background:var(--nd-soft,#edf6ff)}
.so-field{display:grid;grid-template-columns:minmax(65px,1fr) minmax(100px,1fr);align-items:center;gap:12px;padding:13px 0;margin:0;border-top:1px solid var(--line,#e8eef5);font-size:15px;line-height:1.4}
.so-field select{font:inherit;color:var(--ink);background:var(--bg,#f5f9fe);width:100%;min-width:0;padding:10px 8px;border:1px solid var(--line,#dce8f3);border-radius:10px;margin:0}
.so-panel .so-link{display:flex;align-items:center;gap:12px;min-height:64px;width:100%;margin:0;padding:14px 0;text-align:left;white-space:normal;background:transparent;color:var(--ink);box-shadow:none;border:0;border-radius:0;font-size:15px;line-height:1.45;font-weight:550}
.so-link+.so-link{border-top:1px solid var(--line,#e8eef5)}
.so-link>span{flex:1;min-width:0;overflow-wrap:anywhere}
.so-link>svg:last-child{margin-left:auto;width:17px;color:var(--muted)}
.so-link>svg:first-child{box-sizing:content-box;padding:8px;background:var(--nd-soft,#edf6ff);border-radius:11px}
.so-footer{display:grid;gap:4px;text-align:center;font-size:12px;color:var(--muted);line-height:1.4;padding:3px 0 12px}
.so-footer b{font-size:14px;font-weight:550;color:var(--ink)}
.so-panel.so-notification{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:center;padding:18px 14px}
.so-notification>div{min-width:0}
.so-notification h2{display:block;margin:0 0 6px;font-size:15px;overflow-wrap:anywhere}
.so-notification .so-status{font-size:13px;color:var(--muted);line-height:1.4}
.so-notification>button{margin:0;min-height:42px;max-width:110px;padding:10px 12px;line-height:1.4;font-size:14px;white-space:normal;box-shadow:none}
.so-page .as-legal-links{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.so-page .as-legal-link{border:0;border-radius:0;min-height:60px;margin:0;padding:12px 0;box-shadow:none;background:transparent;color:var(--ink);font-size:15px;line-height:1.4}
.so-page .as-legal-link+.as-legal-link{border-top:1px solid var(--line)}
body[data-theme=dark] .so-panel{background:var(--surface);border-color:var(--line)}
body[data-theme=dark] .so-page .as-legal-link{background:transparent!important;color:var(--ink)!important}
@media(max-width:350px){.so-panel.so-notification{grid-template-columns:28px minmax(0,1fr);gap:10px}.so-notification>button{grid-column:2;justify-self:start}.so-panel{padding-left:12px;padding-right:12px}.so-panel .so-link{gap:10px}}

.so-page .so-field,.so-page .so-field select{font-size:15px}

/* unified-dark:start */
/* One graphite palette for application-owned dark screens. Print stays unchanged. */
@media screen{
body[data-theme=dark],body[data-theme=dark][data-nt-screen],body[data-theme=dark][data-nt-tenant],body[data-theme=dark][data-admin-settings]{
 --bg:#111214!important;--surface:#1d1e21!important;--ink:#f3f3f5!important;--muted:#b6b7bd!important;--line:#393a40!important;--blue:#c8d8eb!important;
 --dark-raised:#28292d;--dark-soft:#242529;--dark-focus:#c8d8eb;--dark-success:#a4e2b9;--dark-success-bg:#20382a;--dark-warning:#f3d39c;--dark-warning-bg:#3b3020;--dark-danger:#ffb0b8;--dark-danger-bg:#3d252a;
 --nd-bg:var(--bg)!important;--nd-surface:var(--surface)!important;--nd-soft:var(--dark-soft)!important;--nd-blue:var(--blue)!important;--nd-shadow:none!important;
 --ni-bg:var(--bg)!important;--ni-surface:var(--surface)!important;--ni-soft:var(--dark-soft)!important;--ni-blue:var(--blue)!important;--ni-line:var(--line)!important;
 --ns-bg:var(--surface)!important;--ns-surface:var(--surface)!important;--ns-soft:var(--dark-soft)!important;--ns-ink:var(--ink)!important;--ns-muted:var(--muted)!important;--ns-blue:var(--blue)!important;--ns-line:var(--line)!important;
 --nc-bg:var(--bg)!important;--nc-surface:var(--surface)!important;--nc-soft:var(--dark-soft)!important;--nc-blue:var(--blue)!important;
 --tn-accent:var(--blue)!important;--tn-soft:var(--dark-soft)!important;--st-ink:var(--ink)!important;--st-line:var(--line)!important;--st-blue:var(--blue)!important;
 background:var(--bg)!important;color:var(--ink)!important;color-scheme:dark;
}
body[data-theme=dark] :is(header#head,nav#nav){background:var(--bg)!important;color:var(--ink)!important;border-color:var(--line)!important;box-shadow:none!important}
body[data-theme=dark] main#view{background:var(--bg)!important;color:var(--ink)!important}
body[data-theme=dark] :is(.card,.self-card,.nd-provider,.nd-property,.ni-card,.ns-card,.ns-category,.so-panel,.st-panel,.st-kpi,.st-toolbar>*,.am-panel,.am-benefits,.am-account,.nc-thread,.tn-card,.tn-panel){background:var(--surface)!important;color:var(--ink)!important;border-color:var(--line)!important;box-shadow:none!important}
body[data-theme=dark] :is(.as-page,.st-page,.am-page,.so-page){color:var(--ink)!important}
body[data-theme=dark] :is(.as-card-heading,.am-panel h2,.ns-copy b,.ns-row b,.as-person h3,.nd-property-address h3,.ni-top h3,.st-kpi strong,.st-kpi>div>span,.st-heading h1){color:var(--ink)!important}
body[data-theme=dark] :is(small,.muted,.ns-subtitle,.ns-copy small,.ns-row>span,.as-person p,.as-header-subtitle,.st-heading small,.st-method,.st-legend,.st-yaxis,.st-month-label,.st-proof,.oe-notice,.nd-finance-note,.nc-preview,.nc-thread small){color:var(--muted)!important}
body[data-theme=dark] :is(input,select,textarea,option){background:var(--dark-soft)!important;color:var(--ink)!important;border-color:var(--line)!important;box-shadow:none!important}
body[data-theme=dark] :is(input,textarea)::placeholder{color:var(--muted)!important;opacity:1}
body[data-theme=dark] :is(button,.button){background:var(--dark-raised);color:var(--ink);border-color:var(--line);box-shadow:none}
body[data-theme=dark] :is(button.primary,.ni-pdf,.nd-add,.nc-send,.am-editor .self-form>button){background:#e3e4e8!important;color:#17181b!important;border-color:#e3e4e8!important;box-shadow:none!important}
body[data-theme=dark] :is(button:disabled,input:disabled,select:disabled,textarea:disabled){opacity:.5}
body[data-theme=dark] :is(a,.as-legal-link){color:var(--blue)}
body[data-theme=dark] :is(button,a,input,textarea,select,summary):focus-visible{outline:2px solid var(--dark-focus)!important;outline-offset:3px}
body[data-theme=dark] :is(.nd-sync,.nd-mini,.nd-icon-tile,.ni-icon-tile,.ns-icon,.as-card-icon,.st-icon,.am-title-icon,.am-avatar,.nc-avatar,.as-person>span,.nd-section-heading h2 span,.so-link>svg:first-child,.so-panel>h2>svg){background:var(--dark-soft)!important;color:var(--blue)!important;box-shadow:none!important;filter:none!important;border-color:var(--line)!important}
body[data-theme=dark] :is(.compact-month,.nd-month,.ni-month,.ns-row,.as-info-table,.st-table-total,.st-proof,.oe-notice,.as-sync-banner,.am-form-note,.nc-composer,.tn-row){background:var(--dark-soft)!important;color:var(--ink)!important;border-color:var(--line)!important;box-shadow:none!important}
body[data-theme=dark] :is(.as-primary,.as-legal-link,.as-legal-links button,.as-info-table .ns-row,.as-profile-menu>div,.as-profile-menu>div button){background:var(--dark-raised)!important;color:var(--ink)!important;border-color:var(--line)!important;box-shadow:none!important}
body[data-theme=dark] :is(.so-link,.so-page .as-legal-link,.nd-text-button,.nd-property-status button,.ni-heading button,.ns-back){background:transparent!important;color:var(--ink)!important;box-shadow:none!important}
body[data-theme=dark] #nav :is(button,button.on){background:transparent!important;color:var(--muted)!important;border-color:transparent!important;box-shadow:none!important;filter:none!important}
body[data-theme=dark] #nav button.on{color:var(--ink)!important}
body[data-theme=dark] #nav svg{filter:none!important}
body[data-theme=dark] :is(.nd-finance .nd-summary,.oe-kpis section){background:var(--dark-soft)!important;border-color:var(--line)!important;color:var(--ink)!important}
body[data-theme=dark] .nd-finance .nd-summary :is(b,small){color:var(--ink)!important}
body[data-theme=dark] :is(.nd-summary.nd-paid,.oe-kpis section:last-child){background:var(--dark-success-bg)!important}
body[data-theme=dark] .nd-finance .nd-summary.nd-paid :is(b,small){color:var(--dark-success)!important}
body[data-theme=dark] .nd-summary.nd-unpaid{background:var(--dark-warning-bg)!important}
body[data-theme=dark] .nd-finance .nd-summary.nd-unpaid :is(b,small){color:var(--dark-warning)!important}
body[data-theme=dark] .nd-summary.nd-overdue{background:var(--dark-danger-bg)!important}
body[data-theme=dark] .nd-finance .nd-summary.nd-overdue :is(b,small){color:var(--dark-danger)!important}
body[data-theme=dark] :is(.nd-pill,.ni-pill,.pill,.ns-status){background:var(--dark-raised)!important;color:var(--ink)!important;border-color:var(--line)!important}
body[data-theme=dark] :is(.nd-paid .nd-pill,.nd-pill.nd-paid,.ni-paid,.ns-success,.tn-status-paid){background:var(--dark-success-bg)!important;color:var(--dark-success)!important}
body[data-theme=dark] :is(.ns-error,.nd-change,.oe-negative,.st-table td.oe-negative,.st-table-total.oe-loss,.oe-kpis section.oe-loss,.danger,.ns-logout,.as-revoke){color:var(--dark-danger)!important}
body[data-theme=dark] :is(button.danger,.ns-logout,.as-revoke,.st-table-total.oe-loss,.oe-kpis section.oe-loss){background:var(--dark-danger-bg)!important;border-color:#75434b!important;box-shadow:none!important}
body[data-theme=dark] :is(.st-table th,.st-donut>div,.st-toolbar details>div,.st-tooltip){background:var(--dark-raised)!important;color:var(--ink)!important;border-color:var(--line)!important}
body[data-theme=dark] :is(.st-table th,.st-table td,.st-table tr,.st-table-total,.so-field,.so-link,.ns-log,.list){border-color:var(--line)!important}
body[data-theme=dark] .st-table td[data-label]:before{color:var(--muted)!important}
body[data-theme=dark] .st-period button{background:var(--dark-raised)!important;color:var(--ink)!important;border-color:var(--line)!important}
body[data-theme=dark] .st-period button.st-selected{background:#e3e4e8!important;color:#17181b!important}
body[data-theme=dark] :is(.nc-bubble,.nc-admin .nc-bubble,.nc-tenant .nc-bubble){background:var(--dark-raised)!important;color:var(--ink)!important;border-color:var(--line)!important;box-shadow:none!important}
body[data-theme=dark] :is(.nc-admin .nc-bubble,.nc-tenant .nc-bubble){background:#34363b!important}
body[data-theme=dark] :is(.as-automation .ns-row,.so-page .so-link,.so-page .so-field){background:transparent!important}

body[data-theme=dark] :is(.icon,.ni-house,.am-input,.am-count,.am-mail,.am-menu>div,.am-benefits>div>span,.as-copyright,.ni-month-bar,.ni-sent,.ni-state){background:var(--dark-soft)!important;color:var(--ink)!important;border-color:var(--line)!important;box-shadow:none!important}
body[data-theme=dark] :is(.am-input>button,.am-menu button){background:transparent!important;color:var(--ink)!important}
body[data-theme=dark] :is(.am-panel-title p,.am-benefits p,.ns-about p,.ns-about strong,.tn-about p,.tn-about strong){color:var(--muted)!important}
body[data-theme=dark] :is(.nd-sent,.am-state.is-active){color:var(--dark-success)!important}
body[data-theme=dark] :is(label.active,.am-state.is-active,.ni-state.ni-paid){background:var(--dark-success-bg)!important;color:var(--dark-success)!important;border-color:var(--line)!important}
body[data-theme=dark] :is(.ni-state.ni-unpaid,.ni-state.ni-partial){background:var(--dark-warning-bg)!important;color:var(--dark-warning)!important}
body[data-theme=dark] :is(.ni-state.ni-overdue,.changed-warning){background:var(--dark-danger-bg)!important;color:var(--dark-danger)!important;border-color:#75434b!important}
body[data-theme=dark] label.switch{background:var(--dark-soft)!important;color:var(--ink)!important;border-color:var(--line)!important}
body[data-theme=dark] .st-export summary{color:var(--blue)!important}
body[data-theme=dark] .st-bars{border-color:var(--line);background-image:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),var(--line) calc(25% - 1px),var(--line) 25%)}
@media(max-width:350px){body #nav .nt-admin-five-nav button{font-size:11px!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;padding-inline:1px!important}}
body[data-theme=dark] .as-copyright :is(p,strong){color:var(--muted)!important}
body[data-theme=dark] :is(.nc-nav-count,.nc-count,#nav sup){background:#b51f3b!important;color:#fff!important}
body[data-theme=dark] .nc-error{background:var(--dark-danger-bg)!important;color:var(--dark-danger)!important;border-color:#75434b!important}
body[data-theme=dark] .nc-retry{background:var(--dark-raised)!important;color:var(--ink)!important;border-color:var(--line)!important}
body[data-theme=dark]:not([data-nt-tenant=true]) .nc-tenant .nc-bubble,body[data-theme=dark][data-nt-tenant=true] .nc-admin .nc-bubble{background:var(--dark-raised)!important}
body[data-theme=dark] .as-page .ns-about>p:last-child{background:var(--dark-soft)!important;color:var(--muted)!important}
body[data-theme=dark] .as-profile-menu>summary>span{background:var(--dark-raised)!important;color:var(--ink)!important;box-shadow:none!important}
}
/* unified-dark:end */

/* admin-navigation:start */
/* One administrator bottom bar, shared by every route and both themes. */
@media screen{
body:not(.nt-web)[data-admin-navigation=true]{--admin-nav-bg:#fff;--admin-nav-line:#dee8f0;--admin-nav-text:#65788a;--admin-nav-active:#14578c}
body:not(.nt-web)[data-admin-navigation=true][data-theme=dark]{--admin-nav-bg:var(--bg);--admin-nav-line:var(--line);--admin-nav-text:var(--muted);--admin-nav-active:var(--ink)}
body:not(.nt-web)[data-admin-navigation=true][data-nt-screen] nav#nav{background:var(--admin-nav-bg)!important;border:0!important;border-top:1px solid var(--admin-nav-line)!important;box-shadow:none!important;padding:0 0 env(safe-area-inset-bottom,0px)!important;margin:0!important}
body:not(.nt-web)[data-admin-navigation=true][data-nt-screen] nav#nav .nt-admin-five-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:stretch;gap:0!important;padding:8px 3px 10px!important;margin:0!important;background:transparent!important}
body:not(.nt-web)[data-admin-navigation=true][data-nt-screen] nav#nav .nt-admin-five-nav button{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:5px!important;min-width:0;min-height:48px;padding:3px 1px!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--admin-nav-text)!important;font-family:inherit;font-size:11.5px!important;font-weight:550!important;line-height:1.35!important;letter-spacing:0!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;filter:none!important;appearance:none}
body:not(.nt-web)[data-admin-navigation=true][data-nt-screen] nav#nav .nt-admin-five-nav button.on{color:var(--admin-nav-active)!important}
body:not(.nt-web)[data-admin-navigation=true][data-nt-screen] nav#nav .nt-admin-five-nav .nav-icon{display:grid;place-items:center;width:24px;height:24px;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;filter:none!important}
body:not(.nt-web)[data-admin-navigation=true][data-nt-screen] nav#nav .nt-admin-five-nav svg{display:block;width:24px!important;height:24px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round;stroke-linejoin:round;filter:none!important}
body:not(.nt-web)[data-admin-navigation=true][data-nt-screen] nav#nav .nt-admin-five-nav button:focus-visible{outline:2px solid var(--admin-nav-active)!important;outline-offset:-2px}
@media(max-width:350px){body:not(.nt-web)[data-admin-navigation=true][data-nt-screen] nav#nav .nt-admin-five-nav button{font-size:10.5px!important}}
}
/* admin-navigation:end */
