/* AIOS V19 — shared controls, compact conversations, restored form feedback. */
.role-home-button { display:inline-flex;align-items:center;justify-content:center;width:39px;height:39px;border-radius:12px;border:1px solid rgba(100,239,220,.28);background:rgba(0,116,112,.12);color:#8de7d8;text-decoration:none;transition:background .15s; }
.role-home-button:hover { background:rgba(0,116,112,.28); }
.role-home-button .ui-icon { width:22px;height:22px; }
/* Status colors override older dark-theme blanket rules. */
.inspection-page #warrantyMessage:not(.hidden) {display:flex!important;align-items:center;min-height:46px;margin-top:12px;padding:11px 15px;border-radius:12px;border:1px solid transparent;font-size:13px;font-weight:650;line-height:1.8;box-sizing:border-box;}
.inspection-page #warrantyMessage.ok {color:#b9fbe2!important;background:#13382f!important;border-color:#2b916a!important;}
.inspection-page #warrantyMessage.bad {color:#ffd2d2!important;background:#431d27!important;border-color:#e26977!important;}
.inspection-page .photo-identity-status {border:1px solid rgba(122,148,169,.5);border-radius:12px;padding:11px 14px;line-height:1.8;}
.inspection-page .photo-identity-status.is-valid {background:#12382d!important;color:#baf9d3!important;border-color:#23835e!important;}
.inspection-page .photo-identity-status.is-invalid {background:#431d27!important;color:#ffd2d2!important;border-color:#d65667!important;}
.inspection-page .photo-identity-status.is-checking {background:#17304d!important;border-color:#5182a7!important;color:#d1eaff!important;}
.inspection-page .photo-identity-status.is-idle {background:#162735!important;color:#c8d6e0!important;}
/* Keep message bubbles content-sized rather than stretching across a card. */
.chat-card .chat-thread {min-height:72px!important;max-height:300px!important;gap:7px!important;padding:10px!important;}
.chat-card .chat-message {width:fit-content!important;max-width:min(65%,420px)!important;min-width:0!important;padding:7px 10px!important;margin:0!important;font-size:12px!important;line-height:1.6!important;border-radius:11px!important;}
.chat-card .chat-message.system {max-width:min(83%,480px)!important;padding:6px 12px!important;font-size:11px!important;}
.chat-card .chat-meta {margin-bottom:3px!important;gap:10px!important;}
.chat-card .chat-meta strong,.chat-card .chat-meta time {font-size:10px!important;}
.chat-card .chat-compose {margin-top:8px!important;gap:8px!important;}
.chat-card .chat-compose textarea {min-height:42px!important;max-height:105px!important;padding:7px 10px!important;}
.chat-card .chat-compose .btn {min-height:39px!important;}
/* All enhanced selects use the existing native-backed searchable control. */
.search-select {width:100%;min-width:0;}
.search-select__menu {z-index:1200;}
@media(max-width:600px){.chat-card .chat-message {max-width:82%!important;}.chat-card .chat-thread{max-height:270px!important;}.role-home-button{width:36px;height:36px;}}
