form>small{display:block;margin:.5rem 0 1rem}textarea{resize:vertical;min-height:7rem}.message-text{white-space:pre-wrap;overflow-wrap:anywhere}:root{font-family:Inter,Arial,sans-serif;color:#172a3b;background:#f4f6f7;font-size:16px;line-height:1.5;--navy:#122333;--red:#ee1647;--muted:#70808e;--border:#e3e9ec}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}a{color:inherit}button,input,select,textarea{font:inherit}button,a.button{cursor:pointer}button,.button{padding:.7rem 1rem;border:1px solid #c9d3db;border-radius:9px;background:white;color:var(--navy);text-decoration:none;display:inline-block;min-height:44px}button.primary{background:#cf0f3b;color:white;border-color:#cf0f3b}button:disabled{opacity:.6;cursor:wait}input,select,textarea{display:block;width:100%;padding:.75rem;border:1px solid #778b9a;border-radius:8px;min-height:44px}input[type=checkbox]{width:24px;min-height:24px;display:inline-block;vertical-align:middle;margin-right:.5rem}label{display:block;margin-bottom:1rem;font-weight:600}label small,small,.muted{color:#536778;font-weight:400}label small{display:block;margin-top:.4rem}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.7rem,3vw,2.2rem);line-height:1.2}h2{font-size:1.2rem}h3{font-size:1rem}.shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navy);color:white;padding:2rem 1.5rem}.brand{display:flex;align-items:center;gap:.8rem;margin-bottom:2.5rem;font-weight:700;line-height:1.15}.brand img{width:39px;height:39px;object-fit:contain}.brand small{display:block;color:#b9c6d1;font-weight:400;letter-spacing:.12em;font-size:.65rem;margin-top:.6rem}.sidebar nav a{display:block;padding:.85rem;border-radius:10px;margin:.4rem 0;text-decoration:none}.sidebar nav a[aria-current=page]{background:#5d3348;border-left:3px solid var(--red)}.sidebar p{margin-top:3rem;color:#bac8d3;font-size:.85rem}.topbar{min-height:78px;background:white;border-bottom:1px solid var(--border);display:flex;gap:1rem;justify-content:space-between;align-items:center;padding:1rem 2rem;flex-wrap:wrap}.topbar small{display:block}.content{padding:2rem;max-width:1400px;margin:auto}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:.72rem;color:#536778;font-weight:700}.card{background:white;border:1px solid var(--border);border-radius:16px;padding:1.5rem;margin-bottom:1.25rem;box-shadow:0 4px 18px #12233305;overflow-wrap:anywhere}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:1rem}.actions,.filters{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap}.filters label{flex:1;min-width:min(180px,100%)}.badge{display:inline-block;padding:.2rem .65rem;border-radius:20px;background:#eaf2ee;color:#256241;font-size:.78rem}.document{display:flex;gap:1rem;justify-content:space-between;align-items:center;padding:1.1rem 0;border-top:1px solid var(--border);flex-wrap:wrap}.document h3{margin-bottom:.25rem}.document p{margin:0;font-size:.85rem;color:#536778}.notice{padding:1rem;background:#f2f5f8;border-radius:10px}.error{color:#8b1734;background:#fff0f3;padding:1rem;border-radius:8px}.auth{display:grid;grid-template-columns:minmax(280px,40%) 1fr;min-height:100vh}.auth-brand{background:var(--navy);color:white;padding:4rem;display:flex;flex-direction:column;justify-content:center}.auth-brand p{color:#c1ced9}.auth-panel{padding:3rem;max-width:620px;width:100%;margin:auto}.auth-panel .card{box-shadow:none}.auth-links{margin:1rem 0;display:flex;gap:1rem;flex-wrap:wrap}fieldset{border:1px solid var(--border);border-radius:10px;margin:1rem 0;padding:1rem}fieldset label{font-weight:400;margin-bottom:.5rem}:focus-visible{outline:3px solid #145ea0;outline-offset:4px}.sidebar :focus-visible{outline-color:#fff}.skip{position:absolute;left:-10000px}.skip:focus{left:1rem;top:1rem;background:white;padding:1rem;z-index:9}[role=status]:empty,[role=alert]:empty{display:none}ul{padding-left:1.3rem}.session-warning{padding:.7rem;background:#fff1cf;color:#604900}#main{min-width:0}@media(max-width:900px){.shell{grid-template-columns:180px minmax(0,1fr)}.content{padding:1.25rem}.sidebar{padding:1.5rem 1rem}.auth-brand{padding:2rem}}@media(max-width:680px){.shell,.auth{display:block}.sidebar{padding:1rem}.brand{margin-bottom:.8rem}.sidebar nav{display:flex;gap:.5rem;flex-wrap:wrap;overflow:visible}.sidebar nav a{white-space:nowrap;padding:.65rem}.sidebar p{display:none}.topbar{padding:1rem}.content{padding:1rem}.card{padding:1.1rem}.auth-brand{padding:1.5rem}.auth-brand h1,.auth-brand p{display:none}.auth-panel{padding:1.25rem}.document .actions{width:100%}.document .actions button{flex:1}.topbar .actions{width:100%}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.landlord-compliance { padding:20px; border:1px solid #d9e1e8; border-radius:12px; background:#fff; color:#172a3b; overflow-wrap:anywhere; }
.landlord-compliance .certificate-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr)); gap:20px; }
.landlord-compliance .certificate-item { border-top:1px solid #d9e1e8; padding:16px 0; }
.landlord-compliance .certificate-state { display:inline-flex; gap:6px; padding:6px 10px; border-radius:6px; font-weight:650; }
.landlord-compliance .certificate-expired { color:#8b1734; background:#fff0f3; }
.landlord-compliance .certificate-expires-today, .landlord-compliance .certificate-expiring-soon { color:#6e4800; background:#fff4d6; }
.landlord-compliance .certificate-current { color:#145b3a; background:#e9f6ef; }
.landlord-compliance .certificate-date-unavailable { color:#415467; background:#eef2f6; }
.landlord-compliance a.button { min-height:44px; max-width:100%; white-space:normal; }
.landlord-compliance :focus-visible { outline:3px solid #145ea0; outline-offset:3px; }
/* Quiet kinetic architecture on the invitation/sign-in surface. No remote media or scripts. */
.auth-brand{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(circle at 78% 32%,#263d51 0,#122333 48%,#0a1928 100%)}
.auth-brand>.brand,.auth-brand>h1,.auth-brand>p{position:relative;z-index:2}
.auth-brand>h1{font-size:clamp(2.25rem,3.2vw,4rem);letter-spacing:-.045em;max-width:10ch;text-wrap:balance}
.auth-art{position:absolute;inset:0;pointer-events:none;z-index:0;overflow:hidden}
.auth-art__orbit{position:absolute;width:min(76%,28rem);aspect-ratio:1;left:18%;top:13%;border:1px solid #ffffff20;border-radius:50%;box-shadow:0 0 0 3rem #ffffff05,0 0 0 6rem #ffffff03;animation:portal-orbit 22s linear infinite}
.auth-art__orbit::before,.auth-art__orbit::after{content:"";position:absolute;width:.65rem;aspect-ratio:1;border-radius:50%;background:#f54669;box-shadow:0 0 20px #f5466988}
.auth-art__orbit::before{top:9%;left:13%}.auth-art__orbit::after{right:4%;bottom:20%;width:.35rem;background:#d6e5f3}
.auth-art__property{position:absolute;width:6.5rem;height:8.2rem;border:1px solid #cce0ed4d;border-radius:.7rem;background:linear-gradient(145deg,#d8e8ef24,#829daf08);box-shadow:0 1rem 2.5rem #0005;backdrop-filter:blur(6px);animation:portal-float 7s ease-in-out infinite}
.auth-art__property::before{content:"";position:absolute;left:12%;top:-13%;width:76%;height:30%;background:#f43d6380;clip-path:polygon(50% 0,100% 100%,0 100%)}
.auth-art__property::after{content:"";position:absolute;inset:25% 14% 12%;background:repeating-linear-gradient(90deg,#dbe9f128 0 22%,transparent 22% 39%),repeating-linear-gradient(0deg,transparent 0 35%,#dbe9f11b 35% 44%);border-radius:.2rem}
.auth-art__property--one{right:12%;top:18%;transform:rotate(9deg)}.auth-art__property--two{right:38%;bottom:15%;transform:scale(.8) rotate(-12deg);animation-delay:-2.2s}.auth-art__property--three{right:3%;bottom:10%;transform:scale(.62) rotate(15deg);animation-delay:-4.5s}
.auth-art__glow{position:absolute;width:24rem;aspect-ratio:1;right:-8rem;bottom:-12rem;background:#f0185040;filter:blur(90px);border-radius:50%;animation:portal-glow 11s ease-in-out infinite alternate}
@keyframes portal-orbit{to{transform:rotate(360deg)}}@keyframes portal-float{50%{translate:0 -1rem}}@keyframes portal-glow{to{opacity:.35;scale:1.2}}
@media(max-width:900px){.auth-art__property--three{display:none}}
@media(max-width:680px){.auth-art{display:none}.auth-brand>h1{font-size:1.7rem}}
@media(prefers-reduced-motion:reduce){.auth-art__orbit,.auth-art__property,.auth-art__glow{animation:none!important}}
.auth-brand>h1{max-width:16ch;font-size:clamp(2.3rem,2.8vw,3.6rem)}

.brand { min-width: 0; }
.brand img { flex: 0 0 39px; }
.brand-copy { min-width: 0; }
.brand-names { display: flex; flex-wrap: wrap; column-gap: .7rem; row-gap: .25rem; font-size: 1rem; }
.brand-names > span { min-width: 0; overflow-wrap: anywhere; }
.brand small { color: inherit; opacity: .85; margin-top: .35rem; text-transform: uppercase; }
.sidebar details > summary{min-height:44px;padding:.65rem .85rem;cursor:pointer;color:#d8e3ed}
.document-workspace{max-width:52rem;margin:0 auto;overflow-wrap:anywhere}
.document-context{padding:.45rem 0 1.1rem}
.document-context h1{margin-bottom:.55rem;letter-spacing:-.025em}
.document-context p{margin:0;color:#536778}
.document-list h2{margin-bottom:.85rem;font-size:1.35rem}
.document-list .document h3{font-size:1.02rem}
.document-list .document:last-child{padding-bottom:.2rem}
.document-list [data-more]{margin-top:1rem}
.document-list .notice{margin:0}
.certificate-summary h2{margin-bottom:.65rem}
.certificate-summary ul,.published-room-list{margin:0;padding:0;list-style:none}
.certificate-summary li{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.4rem 1rem;border-top:1px solid var(--border);padding:.65rem 0}
.certificate-summary li:last-child{padding-bottom:0}
.certificate-summary time{display:block;font-size:.875rem;color:#536778}
.certificate-summary .certificate-state{font-size:.875rem}
.published-room-list{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.5rem}
.published-room-list a,.portal-back-link{display:inline-flex;align-items:center;min-height:44px;margin-top:.25rem;color:#294c69}
.published-room-list a{padding:.2rem .85rem;border:1px solid #d9e1e8;border-radius:.55rem;background:#e9eff4;text-decoration:none;font-weight:650}
@media(max-width:680px){
    .topbar .actions{width:auto}.sidebar details > summary{padding:.65rem}
    .document-list .document{align-items:start;gap:.65rem}
}

.invitation-accept{min-width:0;overflow-wrap:anywhere}
.invitation-accept [data-invite],.invitation-accept [data-new-account]{display:grid;grid-template-columns:minmax(0,1fr);gap:.85rem;min-inline-size:0}
.invitation-accept [data-invite] :is(input,select,button){min-width:0;max-width:100%}
.invitation-accept [data-invite] :is(p,label,fieldset){margin:0}
.invitation-accept [data-invite] label{display:grid;gap:.35rem}
.invitation-accept [data-invite] label:has(input[type=checkbox]){grid-template-columns:1.5rem minmax(0,1fr);align-items:start;gap:.65rem;min-height:44px}
.invitation-accept [data-invite] input[type=checkbox]{width:1.15rem;height:1.15rem;min-height:0;margin:.2rem 0 0}
.invitation-accept [data-message]:empty{display:none}
.invitation-accept [data-message]:not(:empty){padding:.7rem;border-inline-start:3px solid var(--red);background:#fff4f6;color:#65192d}
.invitation-accept > a:last-child{display:inline-flex;align-items:center;min-height:44px;margin-top:.65rem}
@media(max-width:680px){
    .invitation-accept{padding:1rem max(1rem,env(safe-area-inset-right)) 1.25rem max(1rem,env(safe-area-inset-left))}
    .invitation-accept h1{font-size:clamp(1.5rem,7.5vw,2rem);line-height:1.2}
    .invitation-accept [data-new-account]{padding:.75rem}
    .invitation-accept [data-invite] button{width:100%;white-space:normal}
}

/* Landlord Portal — 2026-12 redesign */
:root{--ink:#14233a;--soft:#f6f8fa;--ok:#17603b;--ok-bg:#e6f4ec;--warn:#7a5200;--warn-bg:#fff3d1;--bad:#8b1734;--bad-bg:#fde8ec}
body{background:#f3f5f8;color:var(--ink);-webkit-font-smoothing:antialiased}
.shell{grid-template-columns:248px minmax(0,1fr)}
.shell-main{min-width:0;display:flex;flex-direction:column}
.sidebar{padding:28px 18px;position:sticky;top:0;height:100vh}
.sidebar nav{display:grid;gap:4px}
.sidebar nav a{display:flex;align-items:center;gap:10px;margin:0;padding:11px 12px;border-radius:10px;color:#c8d3dd;font-weight:550;border-left:0!important}
.sidebar nav a:hover{background:#ffffff10;color:white}
.sidebar nav a[aria-current=page]{background:#ffffff14;color:white;box-shadow:inset 3px 0 0 var(--red)}
.nav-ico{width:20px;text-align:center;opacity:.9}
.topbar{min-height:68px;padding:12px 32px;position:sticky;top:0;z-index:5;background:#ffffffee;backdrop-filter:blur(8px)}
.topbar .who{display:flex;align-items:center;gap:12px;min-width:0}
.topbar .who small{color:#667085;font-size:.8rem}
.avatar{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:50%;background:#fde8ec;color:#b4123a;font-weight:700;font-size:.85rem}
button.ghost{border-color:#d6dde4;background:white;font-weight:600;font-size:.9rem;min-height:40px;padding:.5rem 1rem}
.content{padding:32px;max-width:1080px;margin:0 auto;width:100%}
.document-workspace{max-width:none!important;margin:0!important}
.property-hero{margin-bottom:20px}
.property-hero .eyebrow{color:#b4123a}
.property-hero h1{margin:.3rem 0 .7rem;font-size:clamp(1.6rem,3.2vw,2.3rem);letter-spacing:-.025em;line-height:1.15;overflow-wrap:anywhere}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{display:inline-flex;align-items:center;padding:.3rem .75rem;border-radius:999px;background:white;border:1px solid #dfe5eb;font-size:.82rem;font-weight:600;color:#364a5e}
.room-tabs{display:flex;gap:6px;overflow-x:auto;padding:4px;margin:0 0 20px;background:#e9edf2;border-radius:12px;scrollbar-width:none;width:fit-content;max-width:100%}
.room-tabs a{flex:0 0 auto;padding:.55rem 1rem;border-radius:9px;text-decoration:none;font-weight:600;font-size:.9rem;color:#475b6e;white-space:nowrap}
.room-tabs a[aria-current=page]{background:white;color:var(--ink);box-shadow:0 1px 3px #12233322}
.overview-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:20px;align-items:start;margin-bottom:20px}
.overview-grid>[data-compliance]>.card,.overview-grid>.card{margin:0;height:100%}
.card{border-radius:16px;padding:22px 24px;box-shadow:0 1px 2px #1018280a}
.card h2{font-size:1.05rem;margin-bottom:14px;letter-spacing:-.01em}
.facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;margin:0}
.facts dt{font-size:.75rem;text-transform:uppercase;letter-spacing:.07em;color:#667085;font-weight:650}
.facts dd{margin:.15rem 0 0;font-weight:650}
.details-card .address{margin:18px 0 0;padding-top:14px;border-top:1px solid var(--border);font-weight:550}
.details-card .address .eyebrow{display:block;margin-bottom:2px}
.certificate-summary{padding:22px 24px!important;border:1px solid var(--border)!important;border-radius:16px!important}
.certificate-summary ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.cert{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border:1px solid var(--border);border-radius:12px;flex-wrap:wrap}
.cert>div{flex:1 1 180px;min-width:0;display:grid;gap:2px}
.cert>div span{font-size:.85rem;color:#536778}
.cert-icon{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:10px;background:#fff1e8;color:#c2410c}
.cert:nth-child(2) .cert-icon{background:#eef2ff;color:#3346a8}
.cert-missing{background:var(--soft)}
.cert-missing .cert-icon{background:#eceff3;color:#8a98a6}
.cert-link{font-size:.85rem;font-weight:650;color:#b4123a;margin-top:4px;width:fit-content}
.certificate-state{align-self:center;padding:4px 10px!important;border-radius:999px!important;font-size:.78rem;font-weight:700;white-space:nowrap}
.section-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 14px;margin-bottom:8px}
.section-head h2{margin:0}
.section-head .muted{font-size:.85rem}
.doc-row{display:flex!important;align-items:center;gap:14px;padding:14px 4px!important;flex-wrap:nowrap!important}
.doc-row:first-child{border-top:0}
.doc-icon{width:40px;height:46px;flex:0 0 40px;display:grid;place-items:center;border-radius:7px;background:#fde8ec;color:#b4123a;font-size:.65rem;font-weight:800;letter-spacing:.05em}
.doc-main{flex:1;min-width:0}
.doc-main h3{margin:0 0 2px;font-size:.98rem;overflow-wrap:anywhere}
a.button.download{flex:0 0 auto;font-weight:650;font-size:.9rem;border-color:#d6dde4;display:inline-flex;align-items:center;gap:6px;min-height:42px}
a.button.download:hover{border-color:#b4123a;color:#b4123a}
.empty{display:grid;gap:4px;padding:28px 16px;text-align:center;background:var(--soft);border-radius:12px;color:#536778}
.empty strong{color:var(--ink)}
.property-card{display:grid;gap:6px;text-decoration:none;transition:box-shadow .15s,transform .15s}
.property-card:hover{box-shadow:0 8px 24px #1018281a;transform:translateY(-1px)}
.property-card h2{margin:0;font-size:1.1rem}
.property-card .open{color:#b4123a;font-weight:650;font-size:.9rem;margin-top:6px}
.auth-help{display:block;margin-top:1rem;color:#667085}
@media(max-width:900px){.overview-grid{grid-template-columns:1fr}.shell{grid-template-columns:200px minmax(0,1fr)}}
@media(max-width:680px){
  .sidebar{position:static;height:auto;padding:12px 16px;display:flex;flex-direction:column;gap:10px}
  .sidebar .brand{margin:0}
  .sidebar nav{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;flex-wrap:nowrap}
  .sidebar nav a{flex:0 0 auto;padding:8px 12px;font-size:.9rem}
  .topbar{position:static;padding:10px 16px;min-height:0;flex-wrap:nowrap}
  .topbar .actions{width:auto}
  .content{padding:18px 16px}
  .card,.certificate-summary{padding:18px!important}
  .doc-row{flex-wrap:wrap!important}
  .doc-row .download{width:100%;justify-content:center}
  .facts{grid-template-columns:1fr 1fr}
}
.cert-hint{font-size:.8rem!important}
.overview-grid.no-certificates{grid-template-columns:1fr}.overview-grid.no-certificates>[data-compliance]{display:none}
.cert-hmo-licence .cert-icon{background:#ecfdf3;color:#067647}
.rent-card{margin-bottom:20px}
.rent-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px;margin:4px 0 16px}
.rent-kpis>div{background:#f6f8fa;border-radius:12px;padding:12px 14px;display:grid;gap:2px}
.rent-kpis strong{font-size:1.25rem;letter-spacing:-.01em}
.rent-kpis small{font-weight:500;color:#667085;font-size:.8rem}
.k{font-size:.72rem;text-transform:uppercase;letter-spacing:.07em;color:#667085;font-weight:650}
.rent-list{list-style:none;margin:0;padding:0;display:grid}
.rent-row{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(0,1.3fr) minmax(0,1.3fr);gap:10px 16px;align-items:center;padding:14px 4px;border-top:1px solid var(--border)}
.rent-row:first-child{border-top:0}
.rent-room{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center}
.rent-cell{display:grid;gap:2px}
.rent-cell .v{font-weight:600;font-size:.92rem}
.rent-cell small{font-weight:500;color:#667085}
.pill{display:inline-flex;padding:2px 9px;border-radius:999px;font-size:.75rem;font-weight:700;white-space:nowrap}
.pill.ok{background:var(--ok-bg);color:var(--ok)}.pill.wait{background:var(--warn-bg);color:var(--warn)}.pill.bad{background:var(--bad-bg);color:var(--bad)}.pill.muted{background:#eef1f4;color:#4b5d6e}
@media(max-width:780px){.rent-row{grid-template-columns:1fr 1fr}.rent-room{grid-column:1/-1}}
.doc-icon.link{background:#eef4ff;color:#2948a8;font-size:.6rem}
.inspection-card,.statements-card{margin-bottom:20px}
.inspection-card[hidden],.statements-card[hidden]{display:none}
