:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}body{margin:0;background:#f7f5f2;color:#2b2320}.page{max-width:640px;margin:0 auto;min-height:100vh;display:flex;flex-direction:column}.header{padding:1.5rem 1rem .5rem}.header h1{margin:0;font-size:1.5rem}.header p{margin:.25rem 0 0;color:#6b5f57}.chat{flex:1;display:flex;flex-direction:column;padding:1rem;gap:.75rem}.message-list{list-style:none;margin:0;padding:0;flex:1;display:flex;flex-direction:column;gap:.5rem;overflow-y:auto}.message{display:flex}.message__stack{display:flex;flex-direction:column;max-width:80%}.message__stack .message__bubble,.message__stack .draft-card{max-width:100%}.message--user{justify-content:flex-end}.message--assistant{justify-content:flex-start}.message__bubble{max-width:80%;padding:.6rem .9rem;border-radius:1rem;line-height:1.4;white-space:pre-wrap}.message--user .message__bubble{background:#2b2320;color:#fff;border-bottom-right-radius:.25rem}.message--assistant .message__bubble{background:#fff;border:1px solid #e6ddd4;border-bottom-left-radius:.25rem}.message__bubble--typing{color:#8a7c72;font-style:italic}.message__bubble>p,.message__bubble>ul{margin:0;padding-left:1.2em}.message__bubble>p{padding-left:0}.message__bubble>*+*{margin-top:.5em}.message__bubble strong{font-weight:600}.suggestions{display:flex;flex-wrap:wrap;gap:.5rem}.suggestions__chip{padding:.5rem .9rem;border-radius:999px;border:1px solid #d9cfc4;background:#fff;color:#2b2320;font-size:.9rem;cursor:pointer}.suggestions__chip:hover{background:#f0e9e2}.draft-card{margin-top:.5rem;max-width:80%;padding:.75rem 1rem;border-radius:.75rem;border:1px solid #e6ddd4;background:#fbf8f4}.draft-card__title{margin:0 0 .35rem;font-weight:600}.draft-card__supplier{margin:0 0 .35rem;color:#6b5f57}.draft-card__items{margin:0 0 .35rem;padding-left:1.1rem}.draft-card__notes{margin:0 0 .35rem;color:#6b5f57;font-style:italic}.draft-card__status{margin:0;font-size:.85rem;color:#6b5f57}.error-banner{background:#fbe9e7;color:#8c2f21;border:1px solid #f0c4bc;border-radius:.5rem;padding:.6rem .9rem}.composer{display:flex;gap:.5rem}.composer input{flex:1;padding:.7rem .9rem;border-radius:.75rem;border:1px solid #d9cfc4;font-size:1rem}.composer button{padding:.7rem 1.2rem;border-radius:.75rem;border:none;background:#2b2320;color:#fff;font-size:1rem;cursor:pointer}.composer button:disabled{opacity:.5;cursor:not-allowed}
