:root{--brand: #0f766e;--brand-strong: #115e59;--brand-soft: #ccfbf1;--accent: #f59e0b;--danger: #dc2626;--danger-soft: #fee2e2;--bg: #eef3f2;--surface: #ffffff;--surface-2: #f5f8f7;--text: #0f1f1d;--muted: #5b6b68;--line: #dbe4e2;--bubble-user: var(--brand);--bubble-user-text: #ffffff;--bubble-bot: var(--surface);--radius: 18px;--radius-sm: 12px;--shadow: 0 1px 2px rgb(15 31 29 / 6%), 0 8px 24px rgb(15 31 29 / 6%);--font: "Inter", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;color-scheme:light}@media(prefers-color-scheme:dark){:root{--brand: #2dd4bf;--brand-strong: #5eead4;--brand-soft: #134e4a;--bg: #0b1211;--surface: #131c1b;--surface-2: #192423;--text: #e6f0ee;--muted: #93a6a2;--line: #26332f;--bubble-user-text: #04201d;--danger-soft: #3b1414;color-scheme:dark}}html[lang=ar]{--font: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--text);font-family:var(--font);font-size:15px;line-height:1.45;-webkit-font-smoothing:antialiased}button,input,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}.muted{color:var(--muted)}.small{font-size:12px}.center{display:grid;place-items:center;height:100%}.shell{position:relative;display:flex;flex-direction:column;height:100%;max-width:460px;margin:0 auto;background:var(--bg)}@media(min-width:700px){body{padding:24px 0}.shell{height:calc(100% + -0px);border-radius:28px;box-shadow:0 20px 60px #00000026;overflow:hidden;border:1px solid var(--line)}}.topbar{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:var(--surface);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:18px}.logo{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--brand);color:#fff;font-weight:700}.city-pill{font-size:13px;padding:4px 10px;border-radius:999px;background:var(--brand-soft);color:var(--brand-strong)}.content{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column}.tabbar{display:grid;grid-template-columns:repeat(3,1fr);background:var(--surface);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom)}.tabbar button{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 0 10px;border:0;background:none;color:var(--muted);font-size:12px}.tabbar button.active{color:var(--brand)}.btn{border:1px solid var(--line);background:var(--surface);padding:10px 16px;border-radius:var(--radius-sm);font-weight:600;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;gap:6px}.btn.primary{background:var(--brand);border-color:var(--brand);color:#fff}@media(prefers-color-scheme:dark){.btn.primary{color:#04201d}}.btn.danger{background:var(--danger);border-color:var(--danger);color:#fff;margin-top:10px}.btn.ghost{background:transparent}.btn.wide{width:100%;padding:13px 16px}.chip{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:7px 13px;font-size:14px}.chip.active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-strong);font-weight:600}.badge{display:inline-block;font-size:12px;padding:2px 8px;border-radius:999px;background:var(--surface-2);color:var(--muted)}.badge.warn{background:#fef3c7;color:#92400e}.badge.booked{background:var(--brand-soft);color:var(--brand-strong)}.badge.done{background:var(--surface-2)}.onboarding{flex:1;display:flex;flex-direction:column;padding:20px 20px 28px;overflow-y:auto;background:linear-gradient(180deg,var(--brand-soft),var(--bg) 55%)}.lang-switch,.seg{display:flex;gap:6px;flex-wrap:wrap}.lang-switch{justify-content:center}.lang-switch button,.seg button{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:6px 12px;font-size:13px}.lang-switch button.active,.seg button.active{background:var(--brand);border-color:var(--brand);color:#fff}.welcome{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:14px}.welcome h1{margin:0;font-size:34px;letter-spacing:-.02em}.welcome p{margin:0 0 18px;color:var(--muted);max-width:320px;font-size:16px}.hero-mark{width:92px;height:92px;border-radius:28px;background:var(--brand);display:grid;place-items:center;box-shadow:var(--shadow)}.hero-mark span{color:#fff;font-size:56px;font-weight:300;line-height:1}.signup{display:flex;flex-direction:column;gap:14px;margin-top:28px}.signup h2{margin:0 0 4px}.signup label{display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--muted)}.signup input:not([type=checkbox]),.signup select{padding:12px 14px;border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--surface);color:var(--text);font-size:16px}.signup label.check{flex-direction:row;align-items:flex-start;gap:10px;font-size:13px}.signup label.check input{margin-top:3px;width:18px;height:18px;accent-color:var(--brand)}.chat{flex:1;min-height:0;display:flex;flex-direction:column}.messages{flex:1;overflow-y:auto;padding:12px 14px 8px;display:flex;flex-direction:column;gap:10px}.disclaimer{margin:0 auto 4px;font-size:12px;color:var(--muted);text-align:center;max-width:320px}.msg{display:flex;flex-direction:column;max-width:88%}.msg.user{align-self:flex-end;align-items:flex-end}.msg.assistant{align-self:flex-start}.bubble{padding:10px 14px;border-radius:var(--radius);white-space:pre-wrap;word-wrap:break-word}.msg.user .bubble{background:var(--bubble-user);color:var(--bubble-user-text);border-end-end-radius:6px}.msg.assistant .bubble{background:var(--bubble-bot);box-shadow:var(--shadow);border-end-start-radius:6px}.msg.urgent .bubble{background:var(--danger-soft);border:1px solid var(--danger)}.msg.reminder .bubble{border-inline-start:4px solid var(--accent)}.typing{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-size:14px}.typing i{width:6px;height:6px;border-radius:50%;background:var(--muted);animation:blink 1.2s infinite}.typing i:nth-child(2){animation-delay:.2s}.typing i:nth-child(3){animation-delay:.4s;margin-inline-end:4px}@keyframes blink{0%,80%,to{opacity:.25}40%{opacity:1}}.cursor{display:inline-block;width:7px;height:15px;margin-inline-start:2px;background:var(--brand);vertical-align:-2px;animation:blink 1s infinite}.slow-note{font-size:12px;color:var(--muted);margin:4px 6px 0}.quick{display:flex;flex-wrap:wrap;gap:6px;padding-inline-start:2px}.quick .chip{border-color:var(--brand);color:var(--brand-strong)}.offers{display:flex;flex-direction:column;gap:8px;margin-top:8px;width:min(360px,82vw)}.offer{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:12px;display:flex;flex-direction:column;gap:10px;box-shadow:var(--shadow)}.offer.booked{border-color:var(--brand)}.offer header{display:flex;justify-content:space-between;gap:8px}.offer h4{margin:0 0 2px;font-size:15px}.offer .muted{font-size:13px}.rating{font-weight:600;color:var(--accent);white-space:nowrap;font-size:14px}.service-row{display:flex;justify-content:space-between;gap:8px;padding:8px 10px;border-radius:var(--radius-sm);background:var(--surface-2);font-size:14px}.slots{display:flex;flex-wrap:wrap;gap:6px}.slots .chip{font-size:13px;padding:6px 10px}.booked-mark{position:absolute;inset-inline-end:-8px;top:-8px;box-shadow:var(--shadow);width:26px;height:26px;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:700}.status-strip{text-align:center;font-size:13px;color:var(--brand-strong);background:var(--brand-soft);padding:6px}.composer{display:flex;align-items:center;gap:6px;padding:10px;background:var(--surface);border-top:1px solid var(--line)}.composer .text{flex:1;min-width:0;padding:11px 14px;border-radius:999px;border:1px solid var(--line);background:var(--surface-2);font-size:16px}.icon-btn{flex:none;width:44px;height:44px;border-radius:50%;border:0;background:transparent;color:var(--muted);display:grid;place-items:center}.icon-btn.mic,.icon-btn.send{background:var(--brand);color:#fff}.icon-btn.mic.rec{background:var(--danger);animation:pulse 1.2s infinite}@keyframes pulse{0%{box-shadow:0 0 #dc262673}to{box-shadow:0 0 0 14px #dc262600}}[dir=rtl] .flip-rtl{transform:scaleX(-1)}.journey,.profile{flex:1;overflow-y:auto;padding:14px 16px 24px;display:flex;flex-direction:column;gap:14px}section{background:var(--surface);border-radius:var(--radius);padding:14px;box-shadow:var(--shadow)}section h3{margin:0 0 10px;font-size:15px}section h3~h3{margin-top:16px}section p{margin:0}.timeline{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.timeline li{display:grid;grid-template-columns:96px 1fr;gap:10px;font-size:14px}.timeline .when{color:var(--brand-strong);font-weight:600;font-size:13px}.tile{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid var(--line);font-size:14px}.tile:first-of-type{border-top:0}.tile-end{display:flex;flex-direction:column;align-items:flex-end;gap:6px;white-space:nowrap}.card-grid{margin:0;display:grid;gap:8px}.card-grid div{display:grid;grid-template-columns:110px 1fr;gap:8px;font-size:14px}.card-grid dt{color:var(--muted)}.card-grid dd{margin:0}.docs{margin:0;padding:0;list-style:none;font-size:14px;display:flex;flex-direction:column;gap:6px}.me{display:flex;align-items:center;gap:12px}.avatar{width:46px;height:46px;border-radius:50%;background:var(--brand-soft);color:var(--brand-strong);display:grid;place-items:center;font-weight:700;font-size:20px}.demo .row{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.demo p.small{margin-top:12px}.toast{position:absolute;inset-inline:16px;top:64px;z-index:10;background:var(--text);color:var(--bg);padding:12px 14px;border-radius:var(--radius-sm);font-size:14px;white-space:pre-line;box-shadow:var(--shadow);animation:drop .25s ease-out}@keyframes drop{0%{transform:translateY(-8px);opacity:0}}.llm-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.llm-option{display:grid;grid-template-columns:auto 1fr;column-gap:8px;row-gap:2px;align-items:center;text-align:start;padding:10px 12px;border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--surface-2)}.llm-option>.muted{grid-column:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.llm-option.active{border-color:var(--brand);background:var(--brand-soft)}.llm-name{font-weight:600}.dot{width:9px;height:9px;border-radius:50%;background:var(--muted)}.dot.ok{background:#16a34a}.dot.off{background:var(--danger)}.llm-hint{margin-top:10px!important}.llm-caption{font-size:11px;color:var(--muted);margin:3px 8px 0}
