:root{--green:#173f35;--green2:#285e4e;--orange:#b85c2d;--cream:#f6f2ea;--line:#ddd4c7;--ink:#27231f;--brown:#7c3f25}
*{box-sizing:border-box}body{margin:0;background:var(--cream);font-family:Arial,Helvetica,sans-serif;color:var(--ink)}
.shell{max-width:1120px;margin:22px auto;padding:0 18px;display:grid;grid-template-columns:250px 1fr;gap:18px}
.sidebar{background:var(--green);color:#fff;border-radius:16px;padding:22px;align-self:start}.brand{font-size:34px;font-weight:900;letter-spacing:1px}.brand span{color:#ef9b6f}.sidebar h1{font-size:18px;line-height:1.3}.badge{display:inline-block;background:#fff2;padding:6px 9px;border-radius:999px;font-size:12px}.rule{border-top:1px solid #ffffff35;margin-top:18px;padding-top:12px;font-size:13px;line-height:1.45}
.app{height:560px;max-height:72vh;min-height:420px;background:#fff;border:1px solid var(--line);border-radius:16px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 8px 28px #00000012}
.topbar{height:52px;flex:0 0 52px;padding:0 15px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#fff}.status{display:flex;align-items:center;gap:8px}.dot{width:9px;height:9px;background:#3aa76d;border-radius:50%}.reset{border:1px solid var(--line);background:#fff;border-radius:9px;padding:7px 10px;cursor:pointer}.debug-pill{font-size:11px;color:#756f67;margin-left:8px}
.chat{flex:1;min-height:0;overflow-y:auto;padding:15px;background:#faf8f4}.message{display:flex;gap:9px;margin:0 0 11px}.avatar{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--green);color:#fff;font-size:10px;font-weight:bold;flex:none}.user .avatar{background:var(--orange)}.bubble{max-width:760px;background:#fff;border:1px solid var(--line);border-radius:4px 14px 14px 14px;padding:11px 13px;line-height:1.45}.user .bubble{background:var(--green2);color:#fff;border:0;border-radius:14px 4px 14px 14px}
.notice,.danger,.summary,.debug{margin:10px 0;padding:11px;border-radius:9px}.notice{background:#fff3cf;border:1px solid #e6ce7f}.danger{background:#f9d9d5;border:1px solid #d48b84;color:#5f100c}.summary{background:#eef5f2;border:1px solid #b9d2c8}.debug{background:#efefef;border:1px solid #ccc;font-family:Consolas,monospace;font-size:12px}.article{color:var(--brown);font-weight:800;text-decoration:underline}.small{font-size:13px;color:#625d55}.quick{display:flex;gap:7px;flex-wrap:wrap;margin:-4px 0 12px 43px}.quick button{border:1px solid var(--green2);background:#fff;color:var(--green);padding:7px 10px;border-radius:999px;cursor:pointer;font-weight:700;font-size:13px}.quick button:hover{background:#edf5f2}
.composer{flex:0 0 auto;display:flex;padding:10px;border-top:1px solid var(--line);background:#fff;gap:8px}.composer input{flex:1;min-width:0;border:1px solid #bbb0a1;border-radius:10px;padding:11px 12px;font-size:15px}.composer button{border:0;border-radius:10px;padding:0 18px;background:var(--orange);color:#fff;font-weight:800;cursor:pointer}
.email-warning{font-size:13px;background:#fff3cf;border:1px solid #e6ce7f;padding:9px;border-radius:8px}
@media(max-width:820px){.shell{display:block;padding:0;margin:0}.sidebar{display:none}.app{height:100dvh;max-height:none;min-height:0;border-radius:0;border:0}.bubble{max-width:88%}.quick{margin-left:0}.topbar{height:48px;flex-basis:48px}}

.send-enquiry-button{display:inline-block;padding:12px 18px;border-radius:8px;background:#e77817;color:#fff!important;text-decoration:none;font-weight:700;border:0;box-shadow:0 2px 5px rgba(0,0,0,.18)}
.send-enquiry-button:hover{filter:brightness(.95)}
