#supply-chat-launch,#supply-chat button{font:600 .94rem/1.25 Inter,Arial,sans-serif;cursor:pointer}
#supply-chat-launch{position:fixed;z-index:40;right:max(1rem,env(safe-area-inset-right));bottom:max(1rem,env(safe-area-inset-bottom));border:1px solid #f5f2ed;border-radius:2rem;background:#22221e;color:white;padding:.85rem 1.2rem;box-shadow:0 3px 16px #14141030}
#supply-chat{position:fixed;z-index:45;inset:auto max(1rem,env(safe-area-inset-right)) max(1rem,env(safe-area-inset-bottom)) auto;margin:0;width:min(24rem,calc(100vw - 2rem));max-height:min(44rem,calc(100dvh - 2rem));overflow:auto;background:#fbfaf7;color:#21211f;border:1px solid #ceccc2;border-radius:12px;padding:0;box-shadow:0 12px 42px #24201836;font:1rem/1.45 Inter,Arial,sans-serif}
#supply-chat:not([open]),#supply-chat [hidden]{display:none!important}
#supply-chat header{position:static;display:flex;align-items:center;justify-content:space-between;background:#252722;color:white;padding:1.1rem 1.2rem}
#supply-chat h2{font:600 1.45rem/1.25 "Inter Tight",Arial,sans-serif;margin:.2rem 0 0}
#supply-chat small{font-size:.7rem;letter-spacing:.1em;color:#e6dfd4}
#chat-close{border:1px solid #8e9188;color:white;border-radius:5px;background:transparent;padding:.45rem .65rem}
#supply-chat .chat-inner{padding:1rem 1.2rem}
#supply-chat p{margin:0 0 .8rem;font-size:.92rem;line-height:1.5}
#supply-chat label,.plan-upload{display:grid;gap:.3rem;font-weight:550;font-size:.9rem}
#supply-chat fieldset{border:0;padding:0;margin:0;display:grid;gap:.65rem}
#supply-chat form{display:grid;gap:.7rem}
#supply-chat input,#supply-chat textarea{background:white;border:1px solid #a9aaa2;border-radius:4px;width:100%;padding:.5rem;color:#222;font:inherit}
#supply-chat button[type=submit]{background:#292c24;color:white;border:0;border-radius:5px;padding:.7rem}
#chat-lines{max-height:clamp(6rem,24dvh,14rem);overflow:auto}
#chat-lines>div{margin:0 0 .55rem;padding:.55rem .75rem;background:#eeeee7;border-radius:6px;overflow-wrap:anywhere}
#chat-lines>div.chat-team{background:#e3e9dc}
#chat-lines b{font-size:.77rem}
#supply-chat #chat-lines p{white-space:pre-wrap;margin:.2rem 0 0}
#supply-chat #chat-status:not(:empty),#plan-feedback:not(:empty){margin-top:.7rem;padding:.65rem;border-left:3px solid #ac4c22;background:#f1eee8;color:#292923}
#supply-chat #chat-status:empty{margin:0}
.plan-upload{margin:1rem 0}.plan-upload small{font-weight:400}
@media print{#supply-chat,#supply-chat-launch{display:none!important}}
