/* Dunoya AI: black, with a drifting orange and white fog glow. Orange is the action colour. */
:root { --bg: #060607; --text: #f5f5f6; --muted: #a0a0aa; --line: rgba(255,255,255,.11); --soft: rgba(255,255,255,.07); --card: rgba(20,20,24,.78);
  --side: rgba(12,12,14,.92); --accent: #ff6b2c; --accent2: #ff8f57; --onAccent: #fff; --green: #34d399; --red: #f87171;
  --ink: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); -webkit-font-smoothing: antialiased; color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); overflow: hidden; overscroll-behavior: none; }
body::before, body::after { content: ""; position: fixed; z-index: 0; pointer-events: none; border-radius: 50%; filter: blur(90px); animation: drift 24s ease-in-out infinite alternate; }
body::before { width: 75vmax; height: 75vmax; top: -38vmax; left: -28vmax; background: radial-gradient(circle, rgba(255,107,44,.55) 0%, rgba(255,107,44,0) 62%); }
body::after { width: 70vmax; height: 70vmax; bottom: -40vmax; right: -30vmax; background: radial-gradient(circle, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 60%); animation-duration: 30s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(7vmax, 5vmax) scale(1.12); } 100% { transform: translate(-5vmax, 9vmax) scale(.95); } }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent2); }

/* Fixed app frame: top bar and composer stay put, only the conversation scrolls (iPhone included). */
.shell { position: relative; z-index: 1; display: flex; height: 100vh; height: var(--app-h, 100dvh); overflow: hidden; }
.side { width: 270px; flex: none; background: var(--side); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 12px; padding-top: calc(12px + env(safe-area-inset-top)); gap: 8px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.sideTop { display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; color: var(--text); letter-spacing: -.01em; }
.brand img { width: 28px; height: 28px; }
.newChat { border: 1px solid var(--line); background: var(--soft); border-radius: 12px; padding: 10px; font-weight: 600; text-align: left; }
.newChat:hover { border-color: var(--accent); }
.sideLabel { margin: 8px 4px 0; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.history { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.history button { border: 0; background: transparent; text-align: left; padding: 8px 10px; border-radius: 10px; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.history button:hover { background: var(--soft); }
.history button.on { background: rgba(255,107,44,.16); font-weight: 600; }
.history .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 6px; vertical-align: 1px; }
.account { border-top: 1px solid var(--line); padding-top: 10px; font-size: 13px; color: var(--muted); display: block; padding-bottom: env(safe-area-inset-bottom); }
.main { flex: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.top { flex: none; display: flex; align-items: center; gap: 8px; padding: 10px 14px; padding-top: calc(10px + env(safe-area-inset-top)); border-bottom: 1px solid var(--line); font-weight: 600;
  background: rgba(6,6,7,.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.top #chatTitle { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { flex: none; font-size: 12px; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--muted); }
.icon { border: 0; background: transparent; font-size: 20px; padding: 2px 6px; color: var(--text); }
.only-m { display: none; }

/* Ask | Business: everyone can use both sides of Dunoya. */
.mode { flex: none; display: inline-flex; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.mode button, .mode a { border: 0; background: transparent; border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; color: var(--muted); text-decoration: none; }
.mode .on { background: var(--accent); color: var(--onAccent); box-shadow: 0 0 18px rgba(255,107,44,.45); }

.thread { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 22px 16px 8px; display: flex; flex-direction: column; gap: 14px; max-width: 800px; width: 100%; margin: 0 auto; }
.welcome { margin: auto 0; text-align: center; padding: 20px 0; }
.welcome img { width: 58px; height: 58px; filter: drop-shadow(0 0 24px rgba(255,107,44,.55)); }
.welcome h1 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -.03em; margin: 10px 0 6px; }
.welcome p { color: var(--muted); margin: 0 auto 18px; max-width: 540px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.chips button { border: 1px solid var(--line); background: var(--card); border-radius: 14px; padding: 10px 14px; font-size: 14px; }
.chips button:hover { border-color: var(--accent); }
.msg { display: flex; gap: 10px; align-items: flex-start; animation: in .18s ease-out; }
@keyframes in { from { opacity: 0; transform: translateY(4px); } }
.msg.me { justify-content: flex-end; }
.msg.me .bubble { background: linear-gradient(135deg, var(--accent), #ff7d45); color: #fff; border-radius: 18px 18px 4px 18px; padding: 10px 14px; max-width: 80%; white-space: pre-wrap; flex: none; }
.avatar { flex: none; width: 28px; height: 28px; margin-top: 2px; }
.msg .bubble { flex: 1; min-width: 0; line-height: 1.6; white-space: pre-wrap; padding-top: 3px; }
.event { align-self: center; font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; background: var(--card); text-align: center; max-width: 92%; }
.decision .bubble { border: 1.5px solid var(--accent); border-radius: 16px; padding: 12px 14px; background: rgba(255,107,44,.07); box-shadow: 0 0 30px rgba(255,107,44,.12); }
.decision .label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; color: var(--accent2); }
.live { border: 1px solid var(--line); border-radius: 16px; padding: 12px; background: var(--card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.live .head { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.biz { border-top: 1px solid var(--line); padding: 10px 2px; }
.biz:first-of-type { border-top: 0; }
.biz .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.biz b { font-size: 15px; }
.biz small { color: var(--muted); }
.biz .state { font-size: 13px; color: var(--muted); }
.biz .yes { color: var(--green); font-weight: 600; }
.biz .no { color: var(--red); }
.convo { margin-top: 8px; background: var(--soft); border-radius: 12px; padding: 10px; font-size: 13.5px; display: none; }
.convo.open { display: block; }
.convo p { margin: 0 0 6px; } .convo p:last-child { margin: 0; }
.convo .who { font-weight: 700; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.btn { border: 0; background: var(--accent); color: var(--onAccent); border-radius: 10px; padding: 8px 14px; font-weight: 600; font-size: 13.5px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 18px rgba(255,107,44,.28); }
.btn.light { background: var(--soft); color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn:disabled { opacity: .5; }
.typing { display: inline-flex; gap: 4px; padding: 8px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent2); animation: dot 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-4px); opacity: .5; } }

.composer { flex: none; padding: 8px 16px calc(10px + env(safe-area-inset-bottom)); max-width: 800px; width: 100%; margin: 0 auto; }
.inputWrap { display: flex; align-items: flex-end; gap: 8px; border: 1px solid var(--line); border-radius: 24px; padding: 8px 8px 8px 16px; background: rgba(22,22,26,.9);
  box-shadow: 0 0 0 1px rgba(255,107,44,.06), 0 10px 40px rgba(255,107,44,.12); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.inputWrap:focus-within { border-color: rgba(255,107,44,.6); }
.inputWrap textarea { flex: 1; border: 0; outline: 0; resize: none; font-size: 16px; line-height: 1.45; max-height: 160px; padding: 6px 0; background: transparent; }
.inputWrap textarea::placeholder { color: #7c7c86; }
.inputWrap textarea { scrollbar-width: none; } .inputWrap textarea::-webkit-scrollbar { display: none; }
#send { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; font-size: 18px; font-weight: 700; box-shadow: 0 0 16px rgba(255,107,44,.5); }
#send:disabled { background: #3a3a40; box-shadow: none; cursor: not-allowed; }
.fine { margin: 6px 0 0; text-align: center; font-size: 11.5px; color: var(--muted); }

.bad { color: var(--red); font-size: 14px; }
.ok { color: var(--green); font-size: 13px; }

@media (max-width: 820px) {
  .only-m { display: inline-block; }
  .side { position: fixed; inset: 0 auto 0 0; z-index: 20; transform: translateX(-100%); transition: transform .2s; box-shadow: 0 0 40px rgba(0,0,0,.6); background: #0c0c0e; }
  .side.open { transform: none; }
}
@media (max-width: 520px) { .top #chatTitle { display: none; } .top .pill.city { display: none; } .mode { margin-right: auto; } }

/* Confirmation and live searching */
.confirmCard { margin-top: 10px; border: 1.5px solid var(--accent); border-radius: 14px; padding: 12px; white-space: normal; background: rgba(255,107,44,.06); }
.confirmCard b { display: block; }
.confirmCard small { color: var(--muted); }
.searching { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; background: var(--card); }
.searching b { display: block; }
.searching small { color: var(--muted); }
.radar { position: relative; flex: none; width: 44px; height: 44px; display: grid; place-items: center; }
.radar img { width: 30px; height: 30px; position: relative; z-index: 1; }
.radar::before, .radar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: ping 1.8s infinite ease-out; }
.radar::after { animation-delay: .9s; }
@keyframes ping { 0% { transform: scale(.5); opacity: .6; } 100% { transform: scale(1.4); opacity: 0; } }
.confirmCard .tip { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }
.searching .recap { display: block; margin-top: 2px; }
.searching.done .radar::before, .searching.done .radar::after { animation: none; opacity: 0; }

/* Credit, account sheet */
.pill.credit { cursor: pointer; color: var(--text); border-color: rgba(255,107,44,.6); background: rgba(255,107,44,.12); }
.pill.credit.low { color: var(--red); border-color: var(--red); }
.acct { display: flex; gap: 10px; align-items: center; width: 100%; border: 0; background: transparent; text-align: left; padding: 6px; border-radius: 10px; }
.acct:hover { background: var(--soft); }
.acct small { display: block; color: var(--muted); font-size: 12px; }
.avatarC { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.sheet { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 50; display: grid; place-items: center; padding: 16px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.sheet[hidden] { display: none; }
.sheetBox { background: #111114; border: 1px solid var(--line); width: 100%; max-width: 440px; max-height: 88dvh; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; border-radius: 20px; padding: 18px; box-shadow: 0 20px 80px rgba(0,0,0,.7), 0 0 60px rgba(255,107,44,.12); }
.sheetHead { display: flex; justify-content: space-between; align-items: center; font-size: 18px; }
.sheetBox h3 { font-size: 14px; margin: 18px 0 8px; }
.muted { color: var(--muted); font-size: 14px; margin: 4px 0; }
.credit { border: 1.5px solid rgba(255,107,44,.6); border-radius: 16px; padding: 14px; margin-top: 10px; display: grid; gap: 2px; background: rgba(255,107,44,.07); }
.credit b { font-size: 30px; letter-spacing: -.02em; }
.credit span, .credit small { color: var(--muted); font-size: 13px; }
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 8px; }
.sheetBox .row { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.sheetBox .row input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: 16px; background: var(--soft); }
.ledger div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.ledger small { display: block; color: var(--muted); font-size: 12px; }
.ledger .minus { color: var(--text); } .ledger .plus { color: var(--green); }
.sheetFoot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.link { border: 0; background: none; padding: 0; color: var(--accent2); text-decoration: underline; font-size: 13px; }
.link:disabled { color: var(--muted); text-decoration: none; }
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: #1b1b20; border: 1px solid rgba(255,107,44,.5); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 14px; z-index: 60; max-width: 90vw; box-shadow: 0 8px 30px rgba(0,0,0,.5); }
@media (max-width: 640px) { .amounts { grid-template-columns: repeat(2, 1fr); } }
.pill[hidden], .sheet[hidden] { display: none !important; }
body.out .newChat, body.out .sideLabel, body.out .history { display: none; }

/* Your business card (approved sellers see it on the home screen) */
.bizCard { display: flex; gap: 12px; align-items: center; width: 100%; max-width: 540px; margin: 0 auto 16px; text-align: left; border: 1px solid rgba(255,107,44,.55); border-radius: 16px; padding: 12px 14px;
  background: linear-gradient(135deg, rgba(255,107,44,.16), rgba(255,255,255,.04)); color: var(--text); cursor: pointer; box-shadow: 0 0 34px rgba(255,107,44,.15); }
.bizCard .bIcon { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); display: grid; place-items: center; font-size: 20px; }
.bizCard b { display: block; font-size: 15px; } .bizCard span { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; }
.bizCard .go { margin-left: auto; color: var(--accent2); font-weight: 700; font-size: 20px; }

/* ---- Login: full screen, animated fog ---- */
body.out .side, body.out .top, body.out .composer { display: none !important; }
body.out .thread { max-width: none; padding: 0; }
.auth { position: relative; min-height: 100%; display: flex; flex-direction: column; align-items: center; padding: calc(40px + env(safe-area-inset-top)) 16px calc(32px + env(safe-area-inset-bottom)); color: #fff; }
.auth .authBrand { display: flex; align-items: center; gap: 8px; }
.auth .authBrand img { animation: float 4s ease-in-out infinite; filter: drop-shadow(0 0 26px rgba(255,107,44,.6)); }
@keyframes float { 50% { transform: translateY(-6px); } }
.auth .authBrand b { font-size: 34px; letter-spacing: -.03em; }
.auth .authBrand > span { margin-left: 2px; font-size: 13px; font-weight: 700; border: 1px solid rgba(255,107,44,.7); color: var(--accent2); border-radius: 999px; padding: 2px 8px; vertical-align: 6px; }
.auth .capsule { margin: 14px 0 26px; max-width: 520px; text-align: center; color: #e9e9ee; font-weight: 500; font-size: 15px; line-height: 1.5; }
.auth .capsule b { color: #fff; }
.authGrid { width: 100%; max-width: 920px; display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 22px; align-items: start; }
.authCard { background: rgba(18,18,22,.82); border: 1px solid var(--line); color: var(--text); border-radius: 22px; padding: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 50px rgba(255,107,44,.12); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.authCard h1 { font-size: 24px; letter-spacing: -.02em; margin: 0 0 6px; }
.phone { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; margin: 18px 0 12px; overflow: hidden; background: var(--soft); }
.phone:focus-within { border-color: var(--accent); }
.phone span { padding: 0 12px; font-weight: 600; border-right: 1px solid var(--line); line-height: 50px; }
.phone input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 18px; padding: 12px; letter-spacing: .04em; background: transparent; }
.authCard .go { width: 100%; height: 50px; border: 0; border-radius: 14px; background: var(--accent); color: #fff; font-weight: 700; font-size: 16px; box-shadow: 0 0 24px rgba(255,107,44,.4); }
.authCard .go:disabled { background: #34343a; box-shadow: none; color: #9a9aa3; }
.sentTo { display: flex; gap: 10px; align-items: center; margin: 2px 0 16px; }
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 14px; }
.otp input { height: 54px; text-align: center; font-size: 22px; font-weight: 700; border: 1.5px solid var(--line); border-radius: 12px; outline: 0; background: var(--soft); }
.otp input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,107,44,.18); }
@media (max-width: 760px) { .authGrid { grid-template-columns: 1fr; } }

/* ---- Animated "How it works" demo ---- */
.demo { background: rgba(18,18,22,.82); border: 1px solid var(--line); color: var(--text); border-radius: 22px; padding: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); text-align: left; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.welcome .demo { max-width: 560px; margin: 0 auto 18px; }
.demoHead { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.demoHead small { margin-left: auto; color: var(--muted); font-weight: 600; }
.pulseDot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255,107,44,.6); animation: pulse 1.6s infinite; display: inline-block; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255,107,44,0); } 100% { box-shadow: 0 0 0 0 rgba(255,107,44,0); } }
.demoBody { height: 290px; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 12px 2px; }
.dm { animation: pop .35s ease-out; font-size: 14px; line-height: 1.4; max-width: 85%; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.dm.me { align-self: flex-end; background: var(--accent); color: #fff; padding: 8px 12px; border-radius: 16px 16px 4px 16px; }
.dm.ai { align-self: flex-start; background: var(--soft); padding: 8px 12px; border-radius: 16px 16px 16px 4px; }
.dm.scan { display: flex; gap: 10px; align-items: center; border: 1px dashed rgba(255,107,44,.7); border-radius: 14px; padding: 8px 10px; max-width: 100%; }
.radar.small { width: 34px; height: 34px; } .radar.small img { width: 20px; height: 20px; }
.dm.reply { display: flex; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 7px 10px; max-width: 100%; width: 100%; }
.dm.reply.yes span { color: var(--green); font-weight: 600; } .dm.reply.no span { color: var(--red); }
.dm.best { border: 1.5px solid var(--accent); border-radius: 12px; padding: 8px 10px; font-weight: 700; max-width: 100%; box-shadow: 0 0 20px rgba(255,107,44,.2); }
.demoSteps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; font-size: 11.5px; color: var(--muted); }
.demoSteps span { border-top: 3px solid var(--line); padding-top: 6px; transition: border-color .3s, color .3s; }
.demoSteps span.on { border-color: var(--accent); color: var(--text); font-weight: 700; }

/* ---- What Dunoya did for you ---- */
.funnel { border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; background: var(--card); display: grid; gap: 6px; }
.funnel b { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.fRow { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.fNum { min-width: 34px; text-align: center; font-weight: 800; background: var(--accent); color: #fff; border-radius: 8px; padding: 2px 6px; }
.funnel small { color: var(--muted); font-size: 12.5px; }

/* Offer on Dunoya */
.offerCard { display: block; width: 100%; max-width: 540px; margin: 0 auto 16px; text-align: left; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; background: var(--card); color: var(--text); cursor: pointer; }
.offerCard b { display: block; font-size: 15px; } .offerCard span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.offerCard:hover { border-color: var(--accent); }
.seg { display: flex; gap: 6px; margin: 10px 0; } .seg button { flex: 1; border: 1px solid var(--line); background: var(--soft); border-radius: 10px; padding: 9px; font-weight: 600; font-size: 13.5px; }
.seg button.on { border-color: var(--accent); background: var(--accent); color: #fff; }
.fl { display: block; font-size: 13px; color: var(--muted); margin-top: 10px; }
.fl input, .fl select, .fl textarea { display: block; width: 100%; margin-top: 4px; border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; font: inherit; font-size: 16px; color: var(--text); background: var(--soft); }
.fl select option { background: #111114; }
.fl input:focus, .fl select:focus, .fl textarea:focus { outline: 0; border-color: var(--accent); }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; margin: 10px 0 4px; accent-color: var(--accent); }

@media (prefers-reduced-motion: reduce) { body::before, body::after, .dm, .auth .authBrand img, .pulseDot { animation: none; } }

/* Wordmark: the Dunoya logo is the "D", followed by "unoya". */
.wm { display: inline-flex; align-items: center; gap: 0 !important; letter-spacing: -.01em; }
.wm img { width: 1.35em !important; height: 1.35em !important; margin-right: .02em; }

/* Saved request: "we'll tell you here" + optional email */
.notifyCard { border: 1px dashed rgba(255,107,44,.6); border-radius: 14px; padding: 12px 14px; display: grid; gap: 6px; background: rgba(255,107,44,.05); }
.notifyCard small { color: var(--muted); font-size: 12.5px; } .notifyCard small.ok { color: var(--green); }
.notifyCard .row { display: flex; gap: 8px; } .notifyCard .row[hidden] { display: none; }
.notifyCard input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 16px; background: var(--soft); color: var(--text); }

.msgNote { display: block; margin-top: 6px; color: var(--text); font-size: 13.5px; background: var(--soft); border-radius: 10px; padding: 6px 10px; }

/* Order a quote */
.buy { max-width: 520px; width: 100%; margin: 0 auto; padding: 8px 0 30px; } .buy h2 { margin: 6px 0; } .buy h3 { font-size: 14px; margin: 16px 0 6px; }
.bcard { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; background: var(--card); margin: 10px 0; }
.li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 14.5px; } .li.tot { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 8px; font-size: 16px; }
.buy .btn { margin-top: 10px; padding: 12px 18px; font-size: 15px; }

/* Customer chats with businesses */
.cchats { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--card); }
.ccRow { display: flex; gap: 12px; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 12px 14px; color: var(--text); }
.ccRow:last-child { border-bottom: 0; } .ccRow .av { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; }
.ccRow .cr { flex: 1; min-width: 0; display: grid; gap: 2px; } .ccRow .t { display: flex; justify-content: space-between; gap: 8px; } .ccRow .t small { color: var(--muted); font-size: 12px; }
.ccRow .s { color: var(--muted); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cbList { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; } .cbw { max-width: 82%; padding: 10px 13px; border-radius: 18px; font-size: 15.5px; }
.cbw small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 3px; } .cbw.me { align-self: flex-end; background: var(--accent); color: #fff; border-radius: 18px 18px 4px 18px; } .cbw.me small { color: rgba(255,255,255,.85); }
.cbw.them { align-self: flex-start; background: var(--soft); border: 1px solid var(--line); border-radius: 18px 18px 18px 4px; }
.ccCompose { position: sticky; bottom: 0; display: flex; gap: 8px; padding: 10px 0; background: linear-gradient(transparent, var(--bg) 35%); }
.ccCompose textarea { flex: 1; min-width: 0; resize: none; border: 1px solid var(--line); border-radius: 22px; padding: 11px 14px; font-size: 16px; background: var(--soft); color: var(--text); }
.ccCompose button { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; font-size: 20px; font-weight: 800; }
/* Floating Dunoya Live button (like WhatsApp's) */
.liveFab { position: fixed; right: 16px; bottom: calc(118px + env(safe-area-inset-bottom)); z-index: 30; display: flex; align-items: center; gap: 8px; background: #0b0b0c; color: #fff; text-decoration: none;
  border: 1.5px solid var(--accent); border-radius: 999px; padding: 8px 14px 8px 8px; font-weight: 800; font-size: 13.5px; box-shadow: 0 8px 26px rgba(0,0,0,.45), 0 0 20px rgba(255,107,44,.35); }
.liveFab .d { width: 30px; height: 30px; border-radius: 50%; background: #fff; padding: 2px; box-sizing: border-box; }
.liveFab small { display: block; font-weight: 600; font-size: 10.5px; color: #c9cad1; } .liveFab i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 5px; }
body.out .liveFab { display: none; }


/* ============ LIGHT LOOK (2026-11): the same white + orange design as the Dunoya Store web app and the homepage. ============
   Everything above is the original dark sheet; these lines re-colour it. Poppins is the Store app's own font. */
@font-face{font-family:"Poppins";font-weight:400;src:url(/store/assets/fonts/poppins_regular.ttf) format("truetype");font-display:swap}
@font-face{font-family:"Poppins";font-weight:500;src:url(/store/assets/fonts/poppins_medium.ttf) format("truetype");font-display:swap}
@font-face{font-family:"Poppins";font-weight:600;src:url(/store/assets/fonts/poppins_semibold.ttf) format("truetype");font-display:swap}
@font-face{font-family:"Poppins";font-weight:800;src:url(/store/assets/fonts/poppins_extrabold.ttf) format("truetype");font-display:swap}
:root { --bg: #f4f5f7; --text: #171717; --muted: #6b7280; --line: #e5e7eb; --soft: #f3f4f6; --card: #ffffff; --side: #ffffff;
  --accent: #f26a21; --accent2: #c2510f; --onAccent: #fff; --green: #168449; --red: #c62828;
  font-family: "Poppins", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; color-scheme: light; }
html, body { background: var(--bg); }
body::before { background: radial-gradient(circle, rgba(242,106,33,.16) 0%, rgba(242,106,33,0) 62%); }
body::after { background: radial-gradient(circle, rgba(242,106,33,.08) 0%, rgba(242,106,33,0) 60%); }
.side { backdrop-filter: none; -webkit-backdrop-filter: none; }
.top { background: rgba(255,255,255,.88); }
.inputWrap textarea::placeholder { color: #9ca3af; }
#send:disabled { background: #d1d5db; }
.sheet { background: rgba(17,24,39,.45); }
.sheetBox { background: #fff; box-shadow: 0 20px 60px rgba(16,24,40,.18); }
.toast { background: #111827; border-color: #111827; }
.auth .capsule { color: var(--muted); } .auth .capsule b { color: var(--text); }
.authCard, .demo { background: #fff; box-shadow: 0 10px 40px rgba(16,24,40,.10); backdrop-filter: none; -webkit-backdrop-filter: none; }
.authCard .go:disabled { background: #e5e7eb; color: #9ca3af; }
.fl select option { background: #fff; }
.msg.me .bubble { background: var(--accent); }
.inputWrap { background: #fff; box-shadow: 0 6px 24px rgba(16,24,40,.08); }
.inputWrap:focus-within { border-color: var(--accent); }
.liveFab { background: #111827; color: #fff; box-shadow: 0 8px 26px rgba(16,24,40,.25); }
@media (max-width: 820px) { .side { background: #fff; box-shadow: 0 0 40px rgba(16,24,40,.25); } }

/* plan + usage (like ChatGPT / Claude), instead of a money balance */
#balance .meter { display: inline-block; width: 46px; height: 6px; border-radius: 3px; background: #e5e7eb; vertical-align: middle; margin: 0 4px; overflow: hidden; }
#balance .meter i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
#balance.low .meter i { background: var(--red); }
.plan { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: #fff7f1; margin: 10px 0; }
.plan.free { background: var(--soft); }
.plan .pname { display: inline-block; font-weight: 700; font-size: 13px; background: var(--accent); color: #fff; border-radius: 999px; padding: 3px 10px; }
.plan.free .pname { background: #e5e7eb; color: var(--text); }
.plan p { margin: 10px 0 0; font-size: 14px; } .plan small { display: block; color: var(--muted); font-size: 12px; margin-top: 6px; } .plan .btn { margin-top: 10px; }
.pbar { height: 10px; border-radius: 5px; background: #e5e7eb; overflow: hidden; margin-top: 12px; } .pbar i { display: block; height: 100%; background: var(--accent); border-radius: 5px; }
#balance b { font-size: inherit; font-weight: 700; color: var(--accent); }
