/* Composition only: all primitives inherit the mounted frontend styles. */
body.rh-frontend #viewApp #v-home #homeOpsChips,body.rh-frontend #viewApp #v-home #homeResumeChats{display:none!important}
@media(max-width:860px){body.rh-frontend #viewApp #v-home #homeResume{overflow-y:auto!important;justify-content:flex-start!important;padding-bottom:24px!important}body.rh-frontend #viewApp #v-home #homeAskDock{position:relative!important;inset:auto!important;flex:0 0 auto!important;width:100%!important;transform:none!important}body.rh-frontend #v-home .home-hello{font-size:28px!important}}
body.rh-frontend .rh-access-badge{display:inline!important}.rh-messages{display:flex;flex-direction:column;gap:12px;max-height:330px;overflow:auto;margin-bottom:18px}.rh-messages .bubble{width:fit-content}.rh-message-form{max-width:680px}.rh-message-form textarea{width:100%;box-sizing:border-box;min-height:70px}.rh-chat-actions .btn{min-height:36px}
body.rh-roller #btnNavNotif,body.rh-roller [data-nav="groups"]{display:none!important}.rh-context{line-height:1.3}.rh-work .rh-nav{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.rh-work .rh-nav .btn{flex-shrink:0}.rh-record:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
body.rh-frontend #viewApp #appChrome{pointer-events:auto!important;z-index:5}body.rh-frontend #agentsAcc{display:none!important}body.rh-frontend #homeOpsChips{display:none!important}.rh-context>button{margin-left:auto}.rh-context small{flex-basis:auto}.rh-chat-actions{max-height:120px;overflow:auto;flex-shrink:0}
body.rh-frontend #viewApp #appChrome{display:flex!important;position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:54px;flex-shrink:0;padding:8px 16px;box-sizing:border-box}body.rh-frontend .main{height:auto!important;flex:1;min-height:0}body.rh-frontend #viewApp #appChrome .chrome-spacer{display:none}body.rh-frontend .rh-home-links{flex-shrink:0}
.rh-context{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.rh-context select{max-width:190px;min-width:0;border:1px solid var(--line);border-radius:10px;padding:7px;background:var(--rh-surface,#fff);color:inherit;font:inherit;font-size:12px}.rh-context small{font-size:10px;color:var(--muted)}
.rh-work .panel{width:100%;height:100%;display:flex;flex-direction:column;min-height:0}.rh-work .scroll{padding:24px!important}.rh-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:18px}.rh-toolbar input{min-width:120px;flex:1;border:1px solid var(--line);border-radius:12px;padding:10px;background:transparent;color:inherit;font:inherit}.rh-work h2{font-size:24px;line-height:1.2;margin:0 0 8px}.rh-sub{color:var(--muted);font-size:13px;line-height:1.6;margin:0 0 22px}.rh-nav{display:flex;gap:6px;flex-wrap:wrap;margin:16px 0}.rh-nav .btn{font-size:12px}.rh-list{display:grid;gap:8px}.rh-record{width:100%;text-align:left;color:inherit;display:flex;align-items:center;gap:14px;padding:16px;cursor:pointer}.rh-record img{width:56px;height:56px;object-fit:cover;border-radius:12px}.rh-record .rh-record-text{flex:1;min-width:0}.rh-record strong,.rh-record small{display:block;overflow-wrap:anywhere}.rh-record small{color:var(--muted);margin-top:6px;font-size:12px;line-height:1.5}.rh-record .badge{flex-shrink:0}.rh-form{display:grid;gap:15px;max-width:680px}.rh-form .field{margin:0}.rh-form textarea{min-height:100px;resize:vertical}.rh-form input,.rh-form textarea,.rh-form select{width:100%;box-sizing:border-box}.rh-error{color:#b32442;font-size:13px;line-height:1.5;min-height:20px}.rh-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.rh-home-links{margin:18px auto;width:min(100%,680px);padding:0 16px;box-sizing:border-box}.rh-home-links .rh-nav{justify-content:center}.rh-home-links .rh-sub{text-align:center;margin:6px}.rh-photo{width:100%;height:130px;object-fit:cover;object-position:center 39%;border-radius:16px;margin-bottom:20px}.rh-note{padding:12px;margin-bottom:12px;font-size:12px;line-height:1.6}.rh-map{height:260px;min-height:260px;z-index:0;border-radius:14px;overflow:hidden;margin:12px 0;background:var(--rh-surface,#eee)}.rh-detail{display:grid;grid-template-columns:130px 1fr;gap:12px;line-height:1.5;font-size:14px}.rh-detail dd{margin:0;overflow-wrap:anywhere}.rh-detail dt{color:var(--muted)}.rh-login-profile{margin:12px 0}.rh-login-profile select,.rh-login-profile input{width:100%;padding:10px;border:1px solid var(--line);border-radius:12px;font:inherit;background:transparent;color:inherit}.rh-chat-status{font-size:11px;color:var(--muted)}
body.rh-frontend #mcpStatusChip,body.rh-frontend .mcp-chip{display:none!important}body.rh-roller #sessionMarket,body.rh-roller .nav-section,body.rh-roller .ops-chips,body.rh-roller #homeAgents,body.rh-roller .home-cards,body.rh-roller .home-grid{display:none!important}body.rh-roller #agentSub{display:none!important}body.rh-frontend #chatOpsChips{display:none!important}body.rh-frontend #workPanel{display:none!important}body.rh-frontend #chatLayout{grid-template-columns:1fr!important}body.rh-frontend #chat{overflow:auto}.rh-chat-actions{display:flex;gap:8px;padding:8px 16px;flex-wrap:wrap}.rh-chat-actions button{font-size:12px}.rh-permission{font-size:13px;line-height:1.6}.rh-access-badge{font-size:10px;letter-spacing:.04em;text-transform:uppercase}.rh-storage{font-size:12px;padding:8px 16px;background:#fff0cd;color:#644b09}.rh-preview-code{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}
html[data-theme=dark] .rh-record{background:rgba(255,255,255,.04)}html[data-theme=dark] .rh-error{color:#ff9bb0}html[data-theme=dark] .rh-context select{background:#23252a;color:#f2f2f5}
@media(max-width:860px){.rh-work .scroll{padding:16px!important}.rh-context{flex-wrap:wrap;gap:3px}.rh-context select{max-width:140px;padding:6px;font-size:11px}.rh-context small{width:100%}.rh-work h2{font-size:21px}.rh-nav{gap:5px}.rh-nav .btn{padding:8px 10px;min-height:40px}.rh-record{padding:12px}.rh-detail{grid-template-columns:95px 1fr}.rh-home-links{margin:12px auto}.rh-home-links .rh-nav .btn{font-size:11px}.rh-photo{height:100px}.rh-access-badge{display:none}}
