/* Resident-first app surface; existing operational and administrative modules remain. */
.resident-welcome{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:35px;border-radius:22px;background:var(--cp);color:var(--ct);position:relative;overflow:hidden}
.resident-welcome>div:first-child{position:relative;z-index:1}.resident-welcome>div>span{font-size:10px;letter-spacing:1.5px;opacity:.85}.resident-welcome h2{font-size:clamp(30px,4vw,47px);line-height:1.1;color:inherit;margin:17px 0}.resident-welcome h2 em{font-style:normal;color:inherit}.resident-welcome p{color:inherit;font-size:13px;opacity:.85;margin:0}.resident-building{align-self:end;color:inherit;opacity:.16;transform:rotate(-8deg);width:155px;flex-shrink:0}.resident-building svg{display:block;width:100%;height:auto}
.resident-quick{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:25px 0;font-size:14px;color:var(--cm)}.condo-app .resident-quick button{padding:8px 13px;border-radius:25px;font-size:12px;min-height:42px}
.resident-services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.condo-app .resident-tile{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:22px 18px;min-height:163px;background:var(--cs);border:1px solid var(--cl);border-radius:16px;color:var(--ci);text-align:left;box-shadow:0 5px 18px #00000003}.condo-app .resident-tile:hover{border-color:var(--ca);background:var(--ce-soft)}.resident-tile-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:var(--ce-soft);color:var(--ci)}.resident-tile svg{width:25px;height:25px}.resident-tile strong{font:600 15px/1.3 Arial,sans-serif}.resident-tile small{font-size:11px;line-height:1.5;color:var(--cm)}
.resident-notices{margin-top:32px}.resident-notices>div{display:flex;justify-content:space-between;gap:16px;align-items:center}.resident-notices h3{font-size:24px;margin:10px 0}.resident-notices>div button{font-size:12px}.resident-notices article{padding:22px;border:1px solid var(--cl);border-radius:15px;background:var(--cs);margin-top:14px}.resident-notices article span{font-size:9px;letter-spacing:1.2px;color:var(--cm)}.resident-notices h4{font-size:19px;margin:10px 0}.resident-notices p{font-size:14px;line-height:1.7}
.resident-bottom[hidden]{display:none!important}.resident-bottom{display:flex;justify-content:center;gap:15px;margin:25px auto 0;padding:8px;background:var(--cs);border:1px solid var(--cl);border-radius:18px;width:max-content;max-width:95%}.condo-app .resident-bottom button{border:0;display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;border-radius:12px;min-width:90px;min-height:58px;background:transparent;color:var(--cm);padding:9px;font-size:11px}.resident-bottom svg{width:22px;height:22px}.condo-app .resident-bottom button[aria-current]{background:var(--ce-soft);color:var(--ci)}
.resident-page-head{margin-bottom:25px}.resident-page-head>button:first-child{display:flex;align-items:center;gap:7px;font-size:12px;margin-bottom:24px;padding:8px 12px}.resident-page-head>button:first-child svg{width:17px;height:17px}.resident-page-head h2{font-size:clamp(30px,4vw,42px);line-height:1.15}.resident-page-head p{font-size:15px;line-height:1.7;max-width:55ch}.resident-records{display:grid;gap:14px;margin-top:25px}.resident-records .condo-card{margin:0}.resident-records p{font-size:14px;line-height:1.65;overflow-wrap:anywhere}.resident-records h3{font-size:24px}.resident-record-actions,.resident-form-actions,.resident-pages{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.resident-record-actions select{min-height:44px}.resident-record-actions label{min-width:150px;font-size:12px}.resident-pages{justify-content:space-between;margin-top:25px;font-size:13px}.resident-profile>div{display:flex;gap:15px;align-items:center}.resident-profile svg{width:34px;height:34px}.resident-profile h3{margin:0;font-size:25px}.resident-profile p{font-size:14px;overflow-wrap:anywhere}.condo-app #resident-form :is(input,select,textarea){color:var(--ci);background:var(--cb);font-size:16px;border:1px solid var(--cl);opacity:1}.condo-app #resident-form :is(input,select,textarea):focus-visible{outline:2px solid var(--ca);outline-offset:3px}.resident-mode .condo-pwa-install{margin-bottom:0}.resident-mode .condo-context h2{font-size:28px}.resident-mode .condo-context{padding-block:20px}.resident-mode .condo-bottom{margin-bottom:30px}
@media(max-width:800px){.resident-mode .condo-top{padding:14px 5vw;gap:12px}.resident-mode .condo-top .condo-brand span{font-size:9px}.resident-mode .condo-top .condo-brand img{width:40px;height:28px}.resident-mode .condo-top>div>a{display:none}.resident-mode .condo-top button{min-height:42px;padding:8px 10px;font-size:11px}.resident-mode .condo-shell .condo-nav-menu{margin-bottom:18px}.resident-mode .condo-context>div:last-child{margin-top:10px}.resident-mode .condo-context select{font-size:15px;min-height:46px}.resident-mode .condo-context{gap:8px}.resident-mode .condo-context h2{font-size:24px;margin-bottom:7px}.resident-mode .condo-context p{font-size:11px;margin:0}.resident-mode .condo-pwa-install{padding:12px 14px;gap:10px}.resident-mode .condo-pwa-install strong{font-size:12px}.resident-mode .condo-pwa-install span{font-size:10px}.resident-mode main{padding-bottom:90px}.resident-mode .condo-bottom{padding-bottom:100px}.resident-bottom{position:fixed;z-index:30;bottom:0;left:0;right:0;margin:0;width:100%;max-width:none;box-sizing:border-box;border-radius:18px 18px 0 0;gap:0;justify-content:space-around;padding:7px 12px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -6px 30px #00000008}.condo-app .resident-bottom button{min-width:0;width:24%;min-height:57px;font-size:10px;padding:8px 2px}.resident-welcome{padding:26px 23px;border-radius:18px}.resident-welcome h2{font-size:34px}.resident-building{width:105px;margin-right:-15px}.resident-welcome>div>span{font-size:8px}.resident-quick{margin:20px 0;flex-wrap:wrap;gap:9px;font-size:12px}.resident-services{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.condo-app .resident-tile{padding:18px 15px;min-height:147px;gap:9px}.resident-tile strong{font-size:14px}.resident-tile small{font-size:10px}.resident-tile-icon{width:38px;height:38px;border-radius:11px}.resident-tile svg{width:23px;height:23px}.resident-record-actions{align-items:stretch}.resident-form-actions{display:grid;grid-template-columns:1fr 1fr}.resident-page-head h2{font-size:31px}}
@media(prefers-reduced-motion:reduce){.condo-app .resident-tile{transition:none}}
/* Residents use a single catalogue and their app navigation, rather than two full menus. */
.resident-mode .condo-shell{display:block!important}.resident-mode .condo-nav-menu{display:none!important}.resident-mode .condo-context{align-items:center}.resident-mode .condo-context .condo-label{display:none}.resident-mode .condo-context h2{font-size:25px}.resident-mode .resident-welcome{padding:28px}.resident-mode .resident-welcome h2{font-size:clamp(29px,3.7vw,41px)}.resident-mode .resident-welcome>div>span{font-size:10px;letter-spacing:1px}.resident-mode .resident-services{grid-template-columns:repeat(4,minmax(0,1fr))}.condo-app .resident-tile{min-height:145px}.resident-mode .resident-page-head>span.condo-label{display:none}.resident-mode .resident-page-head>button:first-child{margin-bottom:20px}.condo-app .resident-bottom button{min-height:60px}.resident-mode .condo-content{padding-bottom:15px}
@media(max-width:1150px){.resident-mode .resident-services{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.resident-mode .resident-services{grid-template-columns:repeat(2,minmax(0,1fr))}.resident-mode .condo-context{align-items:start}.resident-mode .condo-context select{font-size:16px;min-height:48px}.resident-mode .resident-bottom button{font-size:10px}.resident-mode .condo-content{padding-bottom:75px}.resident-mode .resident-welcome{padding:25px 21px}.resident-mode .resident-tile small{font-size:11px;line-height:1.6}.resident-mode .resident-tile strong{font-size:14px}.resident-mode .resident-form-actions{display:flex;flex-wrap:wrap}.resident-mode .resident-form-actions>button{flex:1;min-width:120px}}
@media(max-width:380px){.resident-mode .resident-welcome h2{font-size:30px}.resident-mode .resident-building{width:75px}.resident-mode .resident-tile{padding:16px 12px}.resident-mode .resident-tile small{font-size:10px}.resident-mode .resident-bottom button{font-size:9px}.resident-mode .resident-services{gap:9px}}
.condo-app .resident-bottom button{position:relative}.resident-bottom .resident-unread{position:absolute;right:13px;top:4px;min-width:17px;height:17px;display:grid;place-items:center;padding:0 3px;font-size:9px;line-height:1;background:var(--cp);color:var(--ct);border-radius:20px;border:1px solid var(--cs)}
/* Approved resident app: warm neutral cards, architectural photograph and direct actions. */
.condo-app.resident-mode{--cb:#f6f3ed;--cs:#fffdf9;--ci:#292722;--cm:#635f56;--cl:#d9d1c5;--ca:#786348;--cp:#3e352b;--ct:#fffdf7;--ce-soft:#eee7dc;--ce-positive:#77664e;--ce-negative:#95604e;background:var(--cb);color:var(--ci);color-scheme:light}
html[data-theme=dark] .condo-app.resident-mode{--cb:#171614;--cs:#22201d;--ci:#f5efe5;--cm:#cbc1b2;--cl:#645b4d;--ca:#d9bf97;--cp:#d9bf97;--ct:#211d17;--ce-soft:#332e27;--ce-positive:#d2bd9a;--ce-negative:#dfb2a1;background:var(--cb);color-scheme:dark}
.resident-mode main{max-width:1100px}.resident-home-view .condo-context>div:first-child{display:none}.resident-home-view .condo-context{justify-content:flex-end;padding-block:15px}.resident-mode .condo-context select{min-width:0;width:100%;max-width:370px}.resident-mode .condo-context>div:last-child{min-width:0;max-width:100%}.resident-mode .condo-brand small{color:var(--ca)}
.resident-mode .resident-welcome{display:block;background:transparent;color:var(--ci);padding:0;border-radius:0;overflow:visible}.resident-mode .resident-welcome h2{font-size:clamp(30px,3.2vw,42px);margin:0 0 7px;color:var(--ci)}.resident-mode .resident-welcome p{color:var(--cm);font-size:15px;opacity:1;line-height:1.6;margin:0 0 22px}.resident-condo-photo{margin:0;position:relative;overflow:hidden;border-radius:17px;background:var(--ce-soft)}.resident-condo-photo picture{display:block}.resident-condo-photo img{display:block;width:100%;height:clamp(230px,29vw,340px);object-fit:cover;object-position:center 55%}.resident-condo-photo figcaption{position:absolute;inset:auto 0 0;padding:36px 22px 16px;background:linear-gradient(transparent,rgba(22,20,17,.85));color:#fff;font-size:14px;font-weight:600;overflow-wrap:anywhere}.resident-mode .resident-quick{margin:18px 0;color:var(--cm)}
.resident-mode .resident-services{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.condo-app.resident-mode .resident-tile{min-height:145px;gap:10px;padding:22px;text-align:left;border:1px solid var(--cl);border-radius:13px;background:linear-gradient(140deg,var(--cs),var(--cb));color:var(--ci);box-shadow:0 3px 12px #20180d04;transition:transform .18s,border-color .18s,box-shadow .18s}.resident-mode .resident-tile-icon{background:transparent;border-radius:0;width:35px;height:35px;place-items:start;color:var(--ci)}.resident-mode .resident-tile svg{width:29px;height:29px}.resident-mode .resident-tile strong{font-size:16px;font-weight:600}.resident-mode .resident-tile small{color:var(--cm);font-size:12px}.condo-app.resident-mode .resident-tile:hover{border-color:var(--ca);box-shadow:0 6px 20px #20180d0c;transform:translateY(-2px)}.resident-mode .resident-bottom{background:var(--cs);border-color:var(--cl)}
@media(max-width:800px){.resident-mode .condo-top{padding-block:12px}.resident-mode .condo-top>div{gap:8px}.resident-mode .condo-context{padding-block:12px}.resident-mode .condo-context>div:last-child{width:100%}.resident-mode .condo-context label{width:100%;font-size:11px}.resident-mode .condo-context select{max-width:none;min-height:44px}.resident-mode .resident-welcome{padding:0}.resident-mode .resident-welcome h2{font-size:30px}.resident-mode .resident-welcome p{font-size:14px;margin-bottom:17px}.resident-condo-photo{border-radius:12px}.resident-condo-photo img{height:auto;aspect-ratio:16/9;object-fit:cover}.resident-condo-photo figcaption{font-size:12px;padding:32px 15px 12px}.resident-mode .resident-services{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.condo-app.resident-mode .resident-tile{min-height:139px;padding:18px 16px;gap:8px}.resident-mode .resident-tile strong{font-size:14px}.resident-mode .resident-tile small{font-size:11px;line-height:1.5}.resident-mode .resident-quick{gap:8px;margin:15px 0;font-size:12px}.resident-mode .resident-quick button{font-size:11px}.resident-mode .resident-notices h3{font-size:24px}.resident-mode .resident-bottom{box-shadow:0 -5px 24px #20180d0b}.resident-mode .resident-bottom svg{width:21px;height:21px}}
@media(prefers-reduced-motion:reduce){.condo-app.resident-mode .resident-tile{transition:none}.condo-app.resident-mode .resident-tile:hover{transform:none}}
