.oms-assistant-root{position:fixed;right:max(120px,calc(env(safe-area-inset-right) + 120px));bottom:max(20px,env(safe-area-inset-bottom));z-index:29;color:#29362d;font-size:13px;max-width:calc(100vw - 24px)}
.oms-assistant-root[hidden],.oms-assistant-root [hidden]{display:none!important}.oms-assistant-root button,.oms-assistant-root input,.oms-assistant-root textarea,.oms-assistant-root select{font:inherit;box-sizing:border-box}.oms-assistant-root button{cursor:pointer}.oms-assistant-root button:disabled{cursor:wait;opacity:.55}.oms-assistant-launcher{border:1px solid #b4c0a8;background:#f4f6eb;color:#33452e;box-shadow:0 4px 18px #132a2520;border-radius:25px;padding:11px 16px;min-height:48px;font-weight:650;display:flex;align-items:center;gap:7px}.oms-assistant-launcher>span,.oms-assistant-header h2>span{font-size:9px;letter-spacing:1px;border:1px solid #d9d9c5;border-radius:4px;padding:2px 4px;color:#7d734c;background:#faf7e9}
.oms-assistant-panel{position:absolute;right:0;bottom:60px;width:420px;max-width:calc(100vw - 24px);height:min(650px,calc(100dvh - 135px));border:1px solid #c5cdbd;border-radius:14px;box-shadow:0 12px 40px #10261f30;background:#fbfcf7;display:flex;flex-direction:column;overflow:hidden}.oms-assistant-header{padding:16px 18px;background:#edf1e5;border-bottom:1px solid #dbe1d2;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}.oms-assistant-header h2{font-size:16px;letter-spacing:0;margin:0;display:flex;align-items:center;gap:9px}.oms-assistant-header p{margin:5px 0 0;font-size:11px;color:#65725e}.oms-assistant-header>button{border:0;border-radius:7px;background:transparent;color:#344638;width:34px;height:34px;font-size:25px;line-height:1}
.oms-assistant-tabs{display:flex;flex-shrink:0;border-bottom:1px solid #dbe1d2;padding:5px;gap:4px}.oms-assistant-tabs button{flex:1;border:0;border-radius:6px;background:transparent;color:#64705f;min-height:40px;padding:8px;font-size:12px}.oms-assistant-tabs button.active{background:#e8eddf;color:#35492f;font-weight:650}.oms-assistant-scroll{overflow:auto;overscroll-behavior:contain;padding:17px;flex:1;min-height:0}.oms-assistant-status{font-size:11px;background:#f0f3e8;border:1px solid #e0e5d7;border-radius:7px;padding:10px 12px;color:#64705b;line-height:1.6;margin:0 0 16px}.oms-assistant-field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:600;margin:0 0 13px}.oms-assistant-field input,.oms-assistant-field select,.oms-assistant-field textarea{border:1px solid #cbd2c2;border-radius:6px;background:#fff;color:#29362d;padding:10px;font-size:13px;min-height:42px;width:100%;max-width:100%;font-weight:400}.oms-assistant-field textarea{resize:vertical;line-height:1.6}.oms-assistant-help{font-size:11px;color:#71806b;line-height:1.7;margin:9px 0 13px}.oms-assistant-confirm{display:flex;align-items:flex-start;gap:8px;font-size:11px;line-height:1.7;margin:10px 0 17px;color:#617259}.oms-assistant-confirm input{margin-top:4px;flex-shrink:0}
.oms-assistant-route{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:4px;width:100%;border:1px solid #e0e5d8;border-radius:7px;background:#fff;padding:12px;margin-bottom:8px;color:#35492f}.oms-assistant-route strong{font-size:12px}.oms-assistant-route span{font-size:11px;color:#7b8475;line-height:1.5}.oms-assistant-primary,[data-oms-assistant-action="copy-draft"]{border:1px solid #526d46;border-radius:6px;background:#536e48;color:white;padding:10px 12px;min-height:42px;font-size:12px;font-weight:600;margin-bottom:13px}.oms-assistant-error{color:#9c4437;background:#fff1eb;border:1px solid #efcabe;border-radius:7px;padding:10px;font-size:12px;line-height:1.6}.oms-assistant-notice{color:#526d46;font-size:12px;line-height:1.6}.oms-assistant-draft-stamp{font-size:11px;color:#83642f;background:#faf5e5;border-radius:6px;padding:9px 11px;line-height:1.6;margin:14px 0 11px}.oms-assistant-fact{border-bottom:1px solid #e5e9df;padding:10px 0}.oms-assistant-fact p{margin:0 0 6px;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.oms-assistant-fact small{font-size:10px;color:#76836e}.oms-assistant-fact blockquote{font-size:11px;line-height:1.7;margin:8px 0 0;padding:7px 10px;border-left:2px solid #cbd7bc;color:#77846e;white-space:pre-wrap;overflow-wrap:anywhere}.oms-assistant-scroll h3{font-size:13px;margin:18px 0 3px}.oms-assistant-scroll ul{font-size:12px;line-height:1.8;padding-left:18px;color:#5b6a53}.oms-assistant-footer{border-top:1px solid #dbe1d2;padding:11px 13px;display:flex;align-items:center;gap:10px;flex-shrink:0}.oms-assistant-footer span{font-size:10px;line-height:1.6;color:#7b8574}.oms-assistant-footer button{margin-left:auto;border:1px solid #d3dbca;border-radius:6px;background:white;color:#53654b;padding:8px 10px;min-height:36px;font-size:11px;white-space:nowrap}
@media(min-width:1000px){.oms-assistant-root:has(.oms-assistant-panel:not([hidden])){right:max(415px,calc(env(safe-area-inset-right) + 415px))}.oms-assistant-launcher{margin-left:auto}}
@media(max-width:700px){.oms-assistant-root{right:max(112px,calc(env(safe-area-inset-right) + 112px));bottom:max(12px,env(safe-area-inset-bottom))}.oms-assistant-launcher{padding:10px 13px;min-height:46px;font-size:12px}.oms-assistant-panel{position:fixed;right:12px;left:12px;width:auto;max-width:none;bottom:max(72px,calc(env(safe-area-inset-bottom) + 72px));height:min(670px,calc(100dvh - var(--test-banner-height,0px) - 90px));border-radius:12px}.oms-assistant-tabs button{min-height:44px}.oms-assistant-scroll{padding:14px}.oms-assistant-field input,.oms-assistant-field textarea,.oms-assistant-field select{font-size:16px}.oms-assistant-primary{width:100%}.oms-assistant-footer span{font-size:10px}}
@media print{.oms-assistant-root{display:none!important}}
.oms-assistant-retry{border:1px solid #ccd6c1;background:#fff;color:#53654b;border-radius:6px;padding:9px 12px;min-height:40px;margin:0 0 16px;font-size:12px}.oms-assistant-provenance{display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px 9px;font-size:10px;line-height:1.6;background:#f1f4e9;padding:10px;border-radius:6px;color:#6c7b61}.oms-assistant-provenance dt{font-weight:600}.oms-assistant-provenance dd{margin:0;overflow-wrap:anywhere}
body.navigation-drawer-open .oms-assistant-root,body:has(dialog[open]) .oms-assistant-root{visibility:hidden;pointer-events:none}
.oms-assistant-tabs button{font-size:11px;padding:8px 5px;min-width:0}.oms-assistant-conversation-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 9px}.oms-assistant-conversation-heading h3{margin:0;font-size:13px}.oms-assistant-conversation-heading button,[data-oms-assistant-action="discuss-summary"],[data-oms-assistant-action="discuss-draft"]{border:1px solid #d3dbca;border-radius:6px;background:#fff;color:#53654b;min-height:36px;padding:8px 10px;font-size:11px}.oms-assistant-transcript{display:flex;flex-direction:column;gap:11px;margin:12px 0 16px;max-height:320px;overflow:auto;overscroll-behavior:contain;padding:4px 1px}.oms-assistant-bubble{max-width:94%;padding:11px 13px;border:1px solid #dce2d4;border-radius:11px;background:#f1f4e9;align-self:flex-start}.oms-assistant-bubble-user{background:#edf3ea;align-self:flex-end;border-color:#d4e0cd}.oms-assistant-bubble strong{font-size:10px;text-transform:uppercase;letter-spacing:.8px;color:#718467}.oms-assistant-bubble p{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 0}.oms-assistant-empty-conversation{font-size:12px;line-height:1.8;color:#849078;padding:17px;border:1px dashed #d9e0d0;border-radius:8px;margin:0}.oms-assistant-compose-actions{display:flex;align-items:center;gap:13px;justify-content:space-between}.oms-assistant-compose-actions>span{font-size:10px;color:#849078;line-height:1.6}.oms-assistant-compose-actions .oms-assistant-primary{margin:0;white-space:nowrap}.oms-assistant-transcript .oms-assistant-provenance{width:100%}
@media(max-width:700px){.oms-assistant-tabs{flex-wrap:wrap}.oms-assistant-tabs button{flex:1 1 calc(50% - 5px);font-size:12px;min-height:40px}.oms-assistant-transcript{max-height:260px}.oms-assistant-conversation-heading button{min-height:40px}.oms-assistant-compose-actions .oms-assistant-primary{width:auto}.oms-assistant-bubble p{font-size:13px}}
