/* Scoped to the tenant conversation: white cards, mint actions, familiar chat. */
.rc-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.rc-heading h1{margin:0}.rc-workspace{display:grid;grid-template-columns:minmax(0,900px);gap:20px;align-items:start;color:#172b26}.resident-shell .rc-directory{position:static;inset:auto;width:auto;background:transparent;padding:0;border:0;min-height:0}.rc-directory h2{font-size:16px;margin:0 0 14px}.rc-directory .communication-row{font-size:13px;padding:12px}.rc-chat{border:1px solid #cbdad3;border-radius:26px;background:#fff;overflow:hidden;position:relative;height:min(820px,calc(100dvh - 160px));min-height:560px;display:flex;flex-direction:column;box-shadow:0 12px 35px #173a2c0b}.resident-shell .rc-chat-header{position:static;display:flex;align-items:center;gap:12px;padding:17px 20px;min-height:0;background:#fff;border-bottom:1px solid #d7e1dc;flex-shrink:0}.rc-chat-header small{display:block;font-size:12px;color:#63786f;margin-top:3px}.rc-chat-header>div{flex:1}.rc-chat-header>button{font-size:12px;padding:8px}.rc-scroll{flex:1;min-height:0;overflow:auto;background:#e9e8e4;padding:18px;overscroll-behavior:contain}.rc-chat [data-resident-message-history]{overflow:visible}.rc-chat .communication-messages{overflow:visible;max-height:none;min-height:0;margin:0 0 16px;padding:0;gap:14px}.rc-chat .portal-message{background:#fff;border:0;border-radius:15px;padding:12px 14px;max-width:88%}.rc-chat .portal-message.mine{background:#d5f3c8}.rc-chat .portal-message header{font-size:12px;padding:0;display:flex;gap:12px}.rc-chat .portal-message time{font-size:10px}.rc-chat .portal-message.system{font-size:13px;align-self:flex-start}.rc-card{max-width:430px;margin:0 0 16px;background:#f8fbfc;border-radius:15px;overflow:hidden;box-shadow:0 1px 3px #142d2414;overflow-wrap:anywhere}.rc-robot{display:block;width:100px;height:100px;margin:18px auto 4px;object-fit:contain}.rc-card-copy{padding:16px 18px 20px}.rc-card-copy h3{font-size:16px;margin:10px 0 6px}.rc-card-copy p{font-size:14px;line-height:1.55;margin:8px 0;white-space:pre-wrap}.rc-muted{color:#586e64;font-size:13px;line-height:1.5}.rc-actions{display:flex;flex-direction:column;border-top:1px solid #d8e2dd}.rc-actions button{border:0;border-top:1px solid #d8e2dd;border-radius:0;background:transparent;color:#008859;font-weight:650;min-height:48px;padding:14px 16px;font-size:14px}.rc-actions button:first-child{border-top:0}.rc-actions button:hover{background:#e4f6ed}.rc-chat .rc-compose{display:grid;grid-template-columns:1fr 48px;gap:8px;margin:0;padding:12px;background:#fff;border-top:1px solid #d7e1dc;flex-shrink:0}.rc-compose textarea{margin:0;min-height:46px;max-height:120px;resize:vertical;box-sizing:border-box;width:100%;border:1px solid #d1ddd5;border-radius:24px;background:#f8faf9;padding:12px 15px;font:inherit;font-size:14px;line-height:20px}.rc-compose button.primary{border:0;border-radius:15px;min-height:46px;background:#00885d;padding:8px;font-size:24px}.rc-compose .communication-error{grid-column:1/-1;font-size:13px;margin:0}.rc-chat>.communication-typing:empty{display:none}.rc-chat>.communication-typing{margin:0;padding:3px 15px;min-height:0}.rc-more-photos{padding:9px 16px;font-size:13px}.rc-more-photos form{max-height:180px;overflow:auto}.rc-more-photos summary{cursor:pointer;color:#006e49}.rc-chat button:focus-visible,.rc-chat input:focus-visible,.rc-chat textarea:focus-visible,.rc-chat select:focus-visible,.rc-chat a:focus-visible{outline:3px solid #5fc6a0;outline-offset:2px}.rc-chat [data-rc-sheet]{position:absolute;inset:0;z-index:5;background:#fff;border-radius:25px;overflow:hidden}.rc-chat [data-rc-sheet][hidden]{display:none}.rc-sheet{display:flex;flex-direction:column;height:100%;background:#f8fbfc}.rc-sheet-top{display:flex;align-items:center;justify-content:space-between;padding:15px 20px;background:white;font-size:13px;color:#586e64}.rc-sheet-top button{border:0;background:#f0f5f2;border-radius:50%;font-size:23px;width:36px;height:36px;padding:0}.rc-progress{display:flex;gap:6px;background:#fff;padding:0 20px}.rc-progress i{height:4px;flex:1;background:#e1eae6;border-radius:4px}.rc-progress i.done{background:#00a871}.rc-sheet form{min-height:0;flex:1;display:flex;flex-direction:column;margin:0}.rc-fields{border:0;padding:0;margin:0;min-width:0;min-height:0;flex:1;display:flex;flex-direction:column}.rc-sheet-content{padding:22px;flex:1;min-height:0;overflow:auto}.rc-sheet-content h2{font-size:25px;letter-spacing:-.6px;line-height:1.2;margin:0 0 18px;font-weight:700}.rc-sheet-content h2:focus{outline:none}.rc-sheet-content p{line-height:1.5}.rc-sheet-content label{display:block;font-size:14px;font-weight:600;margin:18px 0}.rc-sheet-content input:not([type=radio]),.rc-sheet-content select,.rc-sheet-content textarea{display:block;width:100%;margin:7px 0 0;border:1px solid #bacdc2;background:white;color:#172b26;border-radius:10px;padding:12px;font:inherit;box-sizing:border-box}.rc-sheet-content input[type=file]{font-size:13px;white-space:normal}.rc-sheet-content textarea{resize:vertical}.rc-sheet-content .rc-choices{padding:0;border:0;margin:16px 0 25px;min-width:0}.rc-choices legend{font-size:15px;font-weight:650;margin-bottom:10px}.rc-sheet-content .rc-choices label{display:flex;gap:11px;align-items:center;background:#fff;border:1px solid #ccdcd2;border-radius:12px;padding:14px;margin:8px 0;font-weight:450;min-height:48px;box-sizing:border-box}.rc-choices label:has(:checked){background:#e1f5eb;border-color:#078d60}.rc-choices input{width:19px;height:19px;accent-color:#00885d;flex-shrink:0}.rc-home-photo{width:100%;height:180px;object-fit:contain;background:#e2eee6;border-radius:16px;margin:12px 0 18px}.rc-home-placeholder{height:145px;display:grid;place-items:center;font-size:60px;background:linear-gradient(130deg,#def3e9,#edf3e5);border-radius:16px;margin:14px 0 20px}.rc-warning{font-size:13px;background:#fff3e6;color:#804216;padding:12px;border-radius:12px}.rc-sheet-footer{background:#fff;border-top:1px solid #dbe5de;padding:16px 20px;display:flex;gap:10px;flex-shrink:0}.rc-sheet-footer .primary{flex:1;background:#00885d;color:#fff;border:0;min-height:48px;border-radius:12px;font-weight:650}.rc-sheet-footer button{min-height:48px}.rc-review{display:grid;gap:0;margin:15px 0}.rc-review>div{padding:10px 0;border-bottom:1px solid #e2e8e4}.rc-review dt{font-size:12px;color:#617a6b;margin-bottom:5px}.rc-review dd{margin:0;font-size:15px;overflow-wrap:anywhere}.rc-preserve{white-space:pre-wrap}.rc-photos{display:flex;flex-wrap:wrap;gap:10px}.rc-photos figure{margin:0;position:relative;flex:1 1 110px;max-width:100%;min-width:0}.rc-photos img{display:block;width:100%;height:140px;object-fit:contain;background:#e8eeea;border-radius:10px}.rc-photos figcaption{font-size:11px;overflow-wrap:anywhere;color:#61766a;margin-top:5px}.rc-photos figure>button{position:absolute;right:4px;top:4px;width:30px;height:30px;padding:0;border-radius:50%;background:#fff}.rc-error{color:#a43022;font-size:14px}.rc-success{display:grid;place-items:center;margin:25px auto;width:85px;height:85px;background:#d9f2e8;color:#00885d;border-radius:50%;font-size:50px}.rc-card .resident-repair{padding:14px 0;margin:0}.rc-card .resident-repair h3{font-size:16px}.rc-directory .communication-list{max-height:650px;overflow:auto}.rc-chat .communication-photo img{max-width:100%}
@media(max-width:1000px){.rc-workspace{display:block}.resident-shell .rc-directory{display:none}.resident-shell .rc-directory.rc-directory-open{display:block;margin-bottom:20px}.rc-chat{max-width:900px;margin:auto}}@media(max-width:600px){.rc-heading{margin-bottom:12px}.rc-heading h1{font-size:25px}.rc-chat{height:calc(100dvh - 185px);min-height:520px;border-radius:22px}.rc-scroll{padding:14px}.rc-chat-header{padding:12px!important}.rc-card{max-width:100%}.rc-sheet-content{padding:18px}.rc-sheet-footer{padding:12px 16px}.rc-sheet-content h2{font-size:24px}.rc-chat [data-rc-sheet]{border-radius:21px}.rc-photos img{height:140px}}@media(max-height:550px){.rc-chat{min-height:360px;height:calc(100dvh - 70px)}}
/* The repair form owns the screen while open; global overlays must not cover its actions. */
body:has(.rc-sheet) .ra-agent-launch,
body:has(.rc-sheet) #resident-status,
body:has(.rc-sheet) .ra-policy-links{display:none!important}
.rc-sheet-content{overscroll-behavior:contain;scroll-padding-block:20px}
@media(max-width:700px){
 html:has(.rc-sheet),body:has(.rc-sheet){overflow:hidden;overscroll-behavior:none}
 .rc-chat [data-rc-sheet]:not([hidden]){position:fixed;inset:var(--rc-viewport-top,0px) 0 auto;height:var(--rc-viewport-height,100dvh);z-index:200;border-radius:0;}
 .rc-sheet-top{padding:calc(12px + env(safe-area-inset-top,0px)) 16px 12px;flex-shrink:0}
 .rc-progress{padding-inline:16px;flex-shrink:0}
 .rc-sheet-content{padding:20px 16px}
 .rc-sheet-content input:not([type=radio]),.rc-sheet-content select,.rc-sheet-content textarea{font-size:16px}
 .rc-sheet-footer{padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));gap:10px;box-shadow:0 -4px 16px #173a2c08}
 .rc-sheet-footer button{font-size:16px}
}
