/* Scoped service repairs; keep the existing public and editor presentation. */
.inbox49 .inbox-return78{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:none;color:#49321e;background:#f3e7d1;border-radius:6px;text-decoration:none;font:22px Arial,sans-serif}
.inbox49>header{position:static!important;min-width:0;flex-wrap:wrap}.inbox49{grid-template-rows:auto minmax(0,1fr)!important}.inbox49>header input{width:auto!important;flex:1;min-width:100px;max-width:100%}.inbox49>header [role=status]:empty{display:none}.inbox-thread-tools49{position:static!important;flex-wrap:wrap;height:auto!important}.inbox-conversation49{grid-template-rows:auto minmax(0,1fr)!important}
.reading-tools78{display:flex;gap:5px;flex-wrap:wrap}.reading-tools78 button{width:auto!important;min-height:30px!important;padding:4px 7px!important;font:12px/1.3 Arial,sans-serif!important;white-space:normal!important}
.work-embedded39 .chat27 .chat-workbench27{grid-template-rows:minmax(180px,1fr) auto!important}.work-embedded39 .chat27 .chat-history27{overflow:auto!important;overscroll-behavior:contain}.work-embedded39 .chat27 .chat-original27{flex:none}.work-embedded39 .chat27 .chat-original27>p{max-height:none!important;overflow:visible!important;white-space:pre-wrap;font:15px/1.6 Arial,sans-serif!important;overflow-wrap:anywhere}.work-embedded39 .chat27 .chat-thread-scroll27{flex:none!important;min-height:0!important;overflow:visible!important}.work-embedded39 .chat27 .chat-composer27{max-height:32dvh!important;box-sizing:border-box;resize:vertical;min-height:160px;overflow:auto!important}.work-embedded39 .chat27 .chat-composer27 textarea{height:80px!important;min-height:70px!important;max-height:35dvh;resize:vertical;font:15px/1.5 Arial,sans-serif!important}.work-embedded39 .chat27 .chat-composer27 .ai-toolbar49{margin:0!important;gap:4px!important}.work-embedded39 .chat27 .chat-composer27 .ai-toolbar49 :is(input,select){width:auto!important;flex:1;min-width:90px!important;max-width:230px!important}.work-embedded39 .chat27 .chat-composer27 [data-communication-status]{font:12px/1.4 Arial,sans-serif!important;margin:2px 0!important}.work-embedded39 .chat27 .chat-heading27{flex:none}.work-embedded39 .chat27 .chat-composer27 [data-chat-submit27]{width:auto!important;align-self:flex-end;padding:6px 10px!important;min-height:34px!important;font:14px/1.3 Arial,sans-serif!important}.work-embedded39 .chat27[data-reading78=read] .chat-composer27{max-height:155px!important;min-height:100px}.work-embedded39 .chat27[data-reading78=reply] .chat-workbench27{grid-template-rows:minmax(100px,.4fr) minmax(180px,1fr)!important}.work-embedded39 .chat27[data-reading78=reply] .chat-composer27{max-height:none!important;resize:none}.work-embedded39 .chat27[data-reading78=reply] textarea{height:150px!important}
.guest-flow50 .guest-filter78{position:sticky!important;top:0!important;z-index:12;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(120px,.8fr)!important;gap:8px;background:#fbf6ed!important;padding:9px 0!important;border-bottom:1px solid #d7c09b;box-shadow:0 3px 6px #49321e12}.guest-filter78 :is(input,select){width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box;font:14px/1.4 Arial,sans-serif!important;min-height:40px}
.incoming-rail74{width:40px!important;max-width:40px!important;overflow-x:hidden!important;gap:6px!important}.incoming-rail74 .incoming-tab74{width:40px!important;min-width:40px!important;box-sizing:border-box;padding:8px 6px!important;justify-content:center!important;min-height:42px!important}.incoming-tab74 span{display:none!important}.incoming-tab74 b{font:700 18px/1 Arial,sans-serif!important}.incoming-tab74:first-child{animation:queue-attention78 2s ease-in-out infinite}.incoming-top74 strong{color:#49321e!important}.incoming-top74{background:#fffaf2!important}.incoming-portal74 [data-wave-lines78]{max-height:45dvh;overflow:auto}.incoming-portal74 [data-wave-lines78] p{margin:8px 0;line-height:1.5}.incoming-portal74 [data-wave-lines78] small{display:block;color:#704d29;white-space:pre-wrap}.action-error78{width:min(500px,calc(100vw - 28px));max-height:80dvh;overflow:auto;box-sizing:border-box;padding:22px;background:#fffaf2;color:#49321e;border:1px solid #ceb98f;border-radius:12px}.action-error78 h2{font:700 21px/1.3 Arial,sans-serif!important;color:#49321e!important}.action-error78 p{font:15px/1.6 Arial,sans-serif;overflow-wrap:anywhere}.action-error78 .actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.action-error78 button{width:auto!important;min-width:0!important;font:14px/1.4 Arial,sans-serif!important;padding:8px 12px!important;writing-mode:horizontal-tb!important;word-break:normal!important;white-space:normal!important}
@keyframes queue-attention78{50%{background:#8a5928;box-shadow:0 0 0 3px #dcb66b60}}
@media(prefers-reduced-motion:reduce){.incoming-tab74:first-child{animation:none;outline:3px solid #c7994d;outline-offset:-3px}}
@media(max-width:500px){.inbox49>header h1{font-size:14px!important}.inbox49>header input{min-width:100px}.work-embedded39 .chat27 .chat-composer27{max-height:32dvh!important}.guest-filter78 :is(input,select){font-size:13px!important;padding:7px!important}}

.chat27 [data-reading-choice78]{width:auto!important;max-width:180px!important;min-height:32px!important;padding:4px 6px!important;font:13px/1.4 Arial,sans-serif!important;background:#fffaf2!important;color:#49321e!important;margin:3px 7px 3px 0!important}
