/* Rankoon's console in his own colours (the landing's: warm cream, espresso ink, his orange; Geist), and the pieces
   that make it his: stores wearing their own logos and product photos, the AI engines' conversations drawn the way
   each engine shows them, fixes drawn as what they'll look like on the store, and the agent's chat. */

:root {
  --fog: #f6f1ea;
  --fog-2: #eee6da;
  --sheet: #ffffff;
  --ink: #231a12;
  --ink-2: #66594d;
  --ink-3: #9a8c7d;
  --line: #ebe2d5;
  --line-2: #ddd0be;
  --amber: #f7931e;
  --amber-2: #ffab45;
  --amber-tint: #fff0dc;
  --amber-ink: #9c4d00;
  --teal: #1d8457;
  --teal-2: #239a66;
  --teal-tint: #e3f3e9;
  --rose: #c0392b;
  --rose-tint: #fbe8e5;
  --night: #261a10;
  --night-2: #3a2716;
  --night-3: #5b3a1d;
  --glow: #ffc978;
  --display: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 0 0 1px var(--line), 0 6px 20px rgba(35, 26, 18, .045);
}
body { font-size: 15px; }
h1 { font-weight: 650; letter-spacing: -0.03em; }
h2 { font-weight: 620; letter-spacing: -0.02em; }
h3 { font-weight: 600; letter-spacing: -0.015em; }
.btn { font-weight: 550; }
.btn.amber { color: #2a1600; }
.rail { background: #fbf8f3; }
.brand { font-weight: 700; letter-spacing: -0.03em; }
.nav a { font-weight: 550; }
.top { background: rgba(246, 241, 234, .88); }
.sheet { border-radius: 18px; box-shadow: var(--shadow); border: 0; }
.night-hi { color: var(--glow); }
.night h1 { font-weight: 650; letter-spacing: -0.03em; }
.night-stat { color: #e6d6c3; }
.steps li { color: #c9b39b; }
.live-grid .g-text { color: #f3e8dc; }
.live-grid .g-head .g-eng, .live-grid .g-won, .live-grid .g-sub { color: #c9b39b; }
.verdict-line { font-weight: 550; letter-spacing: -0.01em; }
.eng { grid-template-columns: 16px 70px 1fr auto; }
.chip.ink { background: var(--ink); color: #fff; }
.md ul, .md ol { padding-left: 0; padding-inline-start: 22px; }
.md mark { background: rgba(247, 147, 30, .2); box-shadow: inset 0 -2px 0 rgba(247, 147, 30, .65); border-radius: 2px; padding: 0 1px; }

/* ---------- a store's face */
.smark { --sz: 28px; position: relative; width: var(--sz); height: var(--sz); border-radius: calc(var(--sz) * .3); background: var(--bg, #efe7dc); display: grid; place-items: center; overflow: hidden; flex: none; box-shadow: inset 0 0 0 1px rgba(35, 26, 18, .08); }
.smark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.smark.logo img { object-fit: contain; padding: 12%; }
.smark b { font: 650 calc(var(--sz) * .44)/1 var(--display); color: #fff; }
.smark.light b { color: var(--ink-2); }
.thumb { --sz: 44px; width: var(--sz); height: var(--sz); border-radius: 10px; background: #f3ece2; overflow: hidden; display: grid; place-items: center; flex: none; grid-row: span 2; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb b { font-weight: 650; color: var(--ink-3); }
.row .smark { justify-self: start; }

/* the stores as cards */
.scards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.scard { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; display: grid; transition: transform .2s var(--ease), box-shadow .2s; }
.scard:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--line-2), 0 14px 34px rgba(35, 26, 18, .09); }
.scard-art { position: relative; height: 156px; display: grid; grid-template-columns: repeat(3, 1fr); background: color-mix(in srgb, var(--brand) 22%, #fbf7f1); overflow: hidden; }
.scard-art img { width: 100%; height: 100%; object-fit: cover; }
.scard-art.bare { grid-template-columns: 1fr; }
.scard-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 74%; background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px); border-radius: 14px; padding: 10px 16px; box-shadow: 0 6px 20px rgba(35, 26, 18, .14); display: grid; place-items: center; }
.scard-logo img { max-height: 34px; max-width: 180px; width: auto; height: auto; object-fit: contain; display: block; }
.scard-logo b { display: none; font: 650 18px/1.1 var(--display); letter-spacing: -0.02em; }
.scard-logo.nologo b, .scard-logo:not(:has(img)) b { display: block; }
.scard-body { padding: 14px 16px 16px; display: grid; gap: 10px; }
.scard-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.scard-top .row-name { flex: 1; }
.scard-score { white-space: nowrap; }
.scard-score .num { font-size: 26px; font-weight: 650; letter-spacing: -0.03em; }
.scard-meter { height: 6px; border-radius: 99px; background: var(--fog-2); overflow: hidden; }
.scard-meter i { display: block; height: 100%; background: var(--teal); border-radius: inherit; }
.scard-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--ink-2); min-height: 26px; }
.scard-foot > span:first-child, .scard-foot > .chip { display: inline-flex; align-items: center; gap: 6px; }

/* a store's page: its own face on top */
.store-hero { position: relative; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: var(--shadow); padding: 22px 24px; display: grid; gap: 16px; min-height: 150px; align-content: center; }
.sh-art { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%); mask-image: linear-gradient(to right, transparent 0%, #000 45%); }
.sh-art img { width: 100%; height: 100%; object-fit: cover; }
.store-hero .store-title, .store-hero .store-actions { position: relative; z-index: 1; max-width: 62%; }
.store-title h1 { font-size: 30px; }
.sh-logo { height: 58px; min-width: 58px; padding: 9px 14px; background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px var(--line), 0 4px 14px rgba(35, 26, 18, .06); display: grid; place-items: center; flex: none; }
.sh-logo img { max-height: 40px; max-width: 170px; object-fit: contain; }
.store-actions .btn.ghost { background: rgba(255, 255, 255, .9); }
.ask-bar { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 8px; box-shadow: var(--shadow); }
.ask-bar img { width: 38px; height: 38px; object-fit: contain; margin-top: -4px; }
.ask-bar input { flex: 1; border: 0; background: transparent; height: 40px; font: 400 15px var(--text); padding: 0 4px; box-shadow: none; min-width: 0; }
.ask-bar input:focus { border: 0; }
.ask-bar .btn { height: 38px; padding: 0 18px; }

/* ---------- an AI engine's conversation */
.drawer.wide .drawer-panel { width: min(800px, 100%); background: #f8f5f0; gap: 16px; }
.ans-kicker { font-size: 12.5px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.ans-q { font-size: 24px; line-height: 1.3; padding-right: 36px; font-weight: 620; }
.ans-body { display: grid; gap: 14px; }
.ans-note { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px 12px 12px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 14.5px; }
.ans-note img { width: 42px; height: 42px; object-fit: contain; flex: none; }
.ans-note b { display: block; font-weight: 620; }
.ans-note p { color: var(--ink-2); margin-top: 2px; }
.ans-note.n-top { background: var(--teal-tint); box-shadow: none; }
.ans-note.n-top b { color: var(--teal); }
.ans-note.n-in { background: #eef6f1; box-shadow: none; }
.ans-note.n-none { background: #fff3e2; box-shadow: none; }
.ans-ask { justify-self: start; }

.cv-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.cv-tabs button { display: inline-flex; align-items: center; gap: 7px; border: 0; background: #fff; box-shadow: 0 0 0 1px var(--line); padding: 7px 12px 7px 10px; border-radius: 999px; font: 550 13.5px var(--text); color: var(--ink); cursor: pointer; transition: box-shadow .15s; }
.cv-tabs button:hover { box-shadow: 0 0 0 1px var(--line-2); }
.cv-tabs button.on { box-shadow: 0 0 0 2px var(--ink); }
.cv-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); flex: none; }
.cv-dot.d-top { background: var(--teal); }
.cv-dot.d-in { background: transparent; box-shadow: inset 0 0 0 2px var(--teal); }
.cv-dot.d-none { background: #d8cbbb; }
.mk-chatgpt { color: #0d0d0d; }

.cv { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .07), 0 12px 32px rgba(35, 26, 18, .07); font-family: ui-sans-serif, -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif; color: #0d0d0d; }
.cv-bar { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-bottom: 1px solid rgba(0, 0, 0, .06); font-size: 14.5px; }
.cv-bar b { font-weight: 600; }
.cv-model { color: #8f8f8f; font-size: 13.5px; font-weight: 500; }
.cv-web { margin-left: auto; font-size: 12px; color: #8f8f8f; display: inline-flex; align-items: center; gap: 5px; }
.cv-web::before { content: ''; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #a7a7a7; background: radial-gradient(circle at 50% 50%, transparent 3px, transparent 3px); }
.cv-body { padding: 20px 22px 22px; display: grid; gap: 18px; }
.cv-user { justify-self: end; max-width: 78%; padding: 10px 16px; border-radius: 20px; background: #f3f3f3; font-size: 15px; line-height: 1.5; }
.cv-text { font-size: 15px; line-height: 1.7; gap: 12px; }
.cv-text strong { font-weight: 600; }
.cv-text .md-h { font-size: 16.5px; font-weight: 650; margin-top: 6px; }
.cv-text li + li { margin-top: 4px; }
.cv-text a { color: inherit; }
.cite { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; background: #efefef; color: #5d5d5d !important; font-size: 11.5px; font-weight: 500; text-decoration: none; vertical-align: 1px; margin-inline-start: 4px; white-space: nowrap; font-family: ui-sans-serif, system-ui, sans-serif; }
.cite:hover { background: #e3e3e3; }
.cv-srcs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-top: 4px; border-top: 1px solid rgba(0, 0, 0, .06); padding-top: 14px; }
.cv-srcs-h { font-size: 12.5px; color: #8f8f8f; margin-right: 4px; }
.cv-pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 7px; border-radius: 999px; background: #f4f4f4; color: #4b4b4b; font-size: 12.5px; text-decoration: none; }
.cv-pill:hover { background: #ebebeb; }
.fav { width: 16px; height: 16px; border-radius: 4px; flex: none; object-fit: contain; }
.fav-l { display: inline-grid; place-items: center; background: #e6e0d8; color: #6b5f52; font: 700 10px/1 system-ui; }
.cv-empty { color: #8f8f8f; font-size: 14px; }
/* ChatGPT */
.cv-chatgpt .cv-text { color: #0d0d0d; }
/* Gemini */
.cv-gemini { font-family: 'Google Sans', 'Google Sans Text', 'Product Sans', ui-sans-serif, system-ui, sans-serif; color: #1f1f1f; }
.cv-gemini .cv-user { background: #e9eef6; border-radius: 24px 6px 24px 24px; }
.cv-ai.g { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; }
.cv-spark { padding-top: 3px; }
.cv-srcs.g { display: grid; border-top: 0; padding-top: 0; }
.cv-srcs.g p { font-size: 13px; font-weight: 500; color: #444746; }
.cv-srcs.g > div { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.cv-src { flex: none; width: 200px; display: flex; gap: 9px; align-items: flex-start; background: #f0f4f9; border-radius: 14px; padding: 10px 12px; text-decoration: none; color: #1f1f1f; }
.cv-src span { display: grid; gap: 3px; min-width: 0; }
.cv-src b { font-size: 12.5px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cv-src i { font-style: normal; font-size: 11.5px; color: #5f6368; }
/* Claude */
.cv-claude { background: #faf9f5; color: #1f1e1d; }
.cv-claude .cv-bar { border-bottom-color: rgba(31, 30, 29, .08); }
.cv-claude .cv-user { background: #f0eee6; border-radius: 14px; }
.cv-claude .cv-text { font-family: ui-serif, 'Tiempos Text', 'Iowan Old Style', Georgia, 'Times New Roman', serif; font-size: 16px; line-height: 1.68; }
.cv-claude .cv-text .md-h { font-family: ui-serif, Georgia, serif; font-weight: 600; }
.cv-sig { display: block; margin-top: 10px; }
.cv-claude .cv-pill { background: #f0eee6; }
/* Shopify Catalog */
.cv-catalog .cv-body { gap: 12px; }
.cv-search { display: flex; gap: 10px; align-items: center; border-radius: 999px; padding: 10px 16px; background: #f6f6f7; box-shadow: inset 0 0 0 1px #e1e3e5; font-size: 14.5px; }
.cv-hits { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cv-hits li { display: grid; grid-template-columns: 20px 20px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; }
.cv-hits li:hover { background: #f6f6f7; }
.cv-hits li.you { background: #ecf6ee; box-shadow: inset 0 0 0 1.5px #5e8e3e; }
.cv-rank { font-weight: 650; color: #8c9196; font-size: 13px; text-align: center; }
.cv-hit { text-decoration: none; color: #202223; min-width: 0; }
.cv-hit b { display: block; font-size: 14px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-hit span { font-size: 12.5px; color: #6d7175; }
.cv-price { font-weight: 650; font-size: 14px; }
.cv-you { font-style: normal; font-size: 11px; font-weight: 700; background: #5e8e3e; color: #fff; padding: 3px 8px; border-radius: 99px; }
.cv.compact .cv-body { padding: 14px 16px; gap: 12px; max-height: 320px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.cv.compact .cv-text { font-size: 14px; }
.cv.compact.cv-claude .cv-text { font-size: 14.5px; }

/* ---------- fixes, drawn as they'll look on the store */
.fix { background: #fff; border-radius: 22px; padding: 20px 22px; display: grid; gap: 12px; box-shadow: var(--shadow); border: 0; }
.fix.published, .fix.skipped { opacity: .7; }
.fx-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.fx-store { display: inline-flex; gap: 7px; align-items: center; font-weight: 600; text-decoration: none; padding-right: 4px; }
.fx-kind { color: var(--ink-3); font-weight: 550; margin-right: auto; }
.fix h3 { font-size: 19px; font-weight: 620; line-height: 1.3; }
.fx-why { color: var(--ink-2); font-size: 14.5px; max-width: 78ch; }
.fx-body { display: grid; gap: 8px; }
.fix:not(.all) .fx-x { display: none !important; }
.fx-more { justify-self: start; color: var(--ink-2); }
.fx-titles { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fx-titles li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 12px 8px 8px; border-radius: 14px; background: #faf7f2; }
.fx-titles s { display: block; color: var(--ink-3); font-size: 13px; text-decoration-color: rgba(192, 57, 43, .5); }
.fx-titles b { display: block; font-weight: 580; font-size: 14.5px; line-height: 1.4; }
.fx-types { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 6px; }
.fx-types li { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 10px; align-items: center; padding: 7px 10px 7px 7px; border-radius: 12px; background: #faf7f2; }
.fx-types li > span:not(.thumb) { font-size: 12.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-types em { justify-self: start; font-style: normal; font-size: 12.5px; font-weight: 600; background: var(--teal-tint); color: var(--teal); padding: 2px 9px; border-radius: 99px; }
.fx-faqs, .fx-descs { display: grid; gap: 8px; }
.fx-faq, .fx-desc { border-radius: 14px; background: #faf7f2; padding: 12px 16px 14px; }
.fx-faq-p { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; font-size: 14px; }
.fx-faq-p .thumb { grid-row: auto; }
.fx-faq dl { margin: 0; display: grid; }
.fx-faq dt { font-weight: 600; font-size: 14.5px; margin-top: 10px; }
.fx-faq dd { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.fx-before { color: var(--ink-3); text-decoration: line-through; font-size: 13.5px; margin-bottom: 6px; }
.fx-page { position: relative; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 8px 24px rgba(35, 26, 18, .06); }
.fx-chrome { display: flex; gap: 6px; align-items: center; padding: 9px 12px; background: #f4efe8; border-bottom: 1px solid var(--line); }
.fx-chrome i { width: 9px; height: 9px; border-radius: 50%; background: #dfd4c5; }
.fx-chrome span { margin-left: 8px; flex: 1; font-size: 12px; color: var(--ink-3); background: #fff; border-radius: 7px; padding: 4px 10px; }
.fx-doc { padding: 26px 30px 30px; max-height: 360px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.fix.all .fx-doc { max-height: none; -webkit-mask-image: none; mask-image: none; }
.fx-doc h1 { font-size: 26px; line-height: 1.25; margin-bottom: 14px; }
.fx-doc .md { font-size: 15px; line-height: 1.7; gap: 12px; }
.fx-doc .md-h { font-size: 18px; font-weight: 620; margin-top: 10px; }
.fx-open { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); border: 0; background: var(--ink); color: #fff; font: 550 13px var(--text); padding: 9px 16px; border-radius: 999px; cursor: pointer; box-shadow: 0 6px 16px rgba(35, 26, 18, .2); }
.fx-ask { background: #fff4e6; border-radius: 16px; padding: 14px 16px; display: grid; gap: 6px; }
.fx-ask-h { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--amber-ink); }
.fx-ask-h img { width: 26px; height: 26px; object-fit: contain; }
.fx-ask p { font-size: 15px; font-weight: 550; line-height: 1.5; }
.fx-answer { font-weight: 400 !important; color: var(--teal); }
.fx-plain { font-size: 14.5px; }
.fx-edit { width: 100%; font: 400 14.5px/1.6 var(--text); border-radius: 14px; min-height: 160px; }
.fix-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding-top: 4px; }
.fix.compact { padding: 16px 18px; }
.fix.compact h3 { font-size: 16.5px; }
.fix.compact .fx-doc { max-height: 240px; }

/* ---------- Ask Rankoon: the agent's page */
.main.wide { max-width: none; padding: 0; }
.chat { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 24px; min-height: calc(100vh - 64px); display: grid; grid-template-rows: 1fr auto; }
.chat-log { display: grid; gap: 26px; align-content: start; padding: 8px 0 28px; }
.chat-hello { display: grid; justify-items: center; text-align: center; gap: 16px; padding: 3vh 0 8px; }
.chat-rankoon { width: 150px; filter: drop-shadow(0 18px 24px rgba(35, 26, 18, .18)); }
.chat-hello h1 { font-size: 34px; max-width: 22ch; text-wrap: balance; }
.chat-hello p { max-width: 56ch; font-size: 15.5px; }
.hello-prods { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.hp { display: grid; gap: 7px; width: 118px; border: 0; background: #fff; border-radius: 16px; padding: 7px 7px 10px; box-shadow: var(--shadow); cursor: pointer; font: 500 12.5px/1.3 var(--text); color: var(--ink); transition: transform .15s var(--ease); }
.hp:hover { transform: translateY(-2px); }
.hp img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 11px; background: #f3ece2; }
.hp span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.starters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 760px; margin-top: 6px; }
.starter { display: flex; gap: 12px; align-items: flex-start; text-align: left; border: 0; background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); cursor: pointer; font: 500 14.5px/1.4 var(--text); color: var(--ink); transition: box-shadow .15s; }
.starter:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.starter svg, .am-call svg, .am-sum svg { width: 18px; height: 18px; fill: none; stroke: var(--amber-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.um { justify-self: end; max-width: 76%; background: var(--ink); color: #fff; padding: 11px 17px; border-radius: 22px 22px 6px 22px; font-size: 15px; line-height: 1.5; }
.am { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; align-items: start; }
.am-face { width: 46px; height: 46px; object-fit: contain; position: sticky; top: 74px; }
.am.working .am-face { animation: float 1.8s ease-in-out infinite; }
.am-main { display: grid; gap: 14px; min-width: 0; padding-top: 6px; }
.am-work { border-left: 2px solid var(--line-2); padding-left: 16px; display: grid; gap: 8px; }
.am-work:not(.open) .am-steps { display: none; }
.am-sum { justify-self: start; display: inline-flex; gap: 7px; align-items: center; border: 0; background: none; color: var(--ink-2); font: 550 13.5px var(--text); cursor: pointer; padding: 2px 0; }
.am-sum .chev { width: 15px; height: 15px; stroke: var(--ink-3); transition: transform .2s; }
.am-work.open .am-sum .chev { transform: rotate(180deg); }
.am-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.am-say { font-size: 14.5px; color: var(--ink-2); margin-bottom: 7px; }
.am-calls { display: flex; flex-wrap: wrap; gap: 6px; }
.am-call { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px 0 10px; border-radius: 999px; border: 0; background: #fff; box-shadow: 0 0 0 1px var(--line); font: 550 13px var(--text); color: var(--ink); cursor: pointer; animation: pop .3s var(--ease); }
.am-call.doing { background: var(--amber-tint); box-shadow: 0 0 0 1px #f3cf9f; }
.am-call.peeked { box-shadow: 0 0 0 1.5px var(--ink); }
.am-call:disabled { cursor: default; }
.am-call .ok { width: 15px; height: 15px; stroke: var(--teal); stroke-width: 2.4; }
.spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(156, 77, 0, .22); border-top-color: var(--amber-ink); animation: spin .8s linear infinite; }
.am-peek:not(:empty) { margin-top: 10px; }
.am-think { display: flex; gap: 10px; align-items: center; color: var(--ink-3); font-size: 14px; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); animation: blink 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; }
.dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes pop { from { transform: scale(.9); opacity: 0; } }
.am-answer { font-size: 15.5px; line-height: 1.68; gap: 12px; }
.am-answer .md-h { font-size: 17px; font-weight: 620; margin-top: 6px; }
.am-answer strong { font-weight: 620; }
.caret { display: inline-block; width: 8px; height: 17px; background: var(--amber); border-radius: 2px; animation: blink 1s infinite; vertical-align: -3px; margin-left: 2px; }
.btn-face { width: 26px; height: 26px; object-fit: contain; margin: -4px 0 0 -4px; }
.next { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.nq { border: 0; background: #fff; box-shadow: 0 0 0 1px var(--line-2); border-radius: 999px; padding: 8px 14px; font: 550 13.5px var(--text); color: var(--ink); cursor: pointer; text-align: left; }
.nq:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.composer { position: sticky; bottom: 0; z-index: 5; padding: 12px 0 20px; background: linear-gradient(rgba(246, 241, 234, 0), var(--fog) 34%); }
.comp-box { background: #fff; border-radius: 24px; box-shadow: 0 0 0 1px var(--line-2), 0 12px 34px rgba(35, 26, 18, .09); padding: 14px 12px 10px 18px; display: grid; gap: 8px; }
.comp-box textarea { border: 0; outline: none; resize: none; font: 400 16px/1.5 var(--text); padding: 2px 0; background: transparent; min-height: 26px; height: 26px; box-shadow: none; }
.comp-box textarea:focus { border: 0; }
.comp-row { display: flex; align-items: center; gap: 12px; }
.comp-focus { display: inline-flex; align-items: center; gap: 7px; border: 0; background: var(--fog); border-radius: 999px; padding: 4px 10px 4px 4px; font: 550 13px var(--text); color: var(--ink); cursor: pointer; margin-right: auto; }
.comp-focus svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.all-dot { width: 20px; height: 20px; border-radius: 6px; background: conic-gradient(from 90deg, var(--amber), #f6c26b, var(--teal), var(--amber)); flex: none; }
.comp-send { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.comp-send svg { width: 18px; height: 18px; stroke: #fff; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.focus-menu { position: absolute; bottom: calc(100% - 8px); left: 0; z-index: 10; background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(35, 26, 18, .14); padding: 6px; min-width: 300px; display: grid; max-height: 50vh; overflow: auto; }
.focus-menu button { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 8px 10px; border-radius: 12px; cursor: pointer; text-align: left; font: 550 14px var(--text); color: var(--ink); }
.focus-menu button:hover, .focus-menu button.on { background: var(--fog); }
.focus-menu i { margin-left: auto; font-style: normal; }

/* the cards the agent shows */
.vc { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 14px 16px 16px; display: grid; gap: 12px; margin: 2px 0; }
.vc-head { display: flex; align-items: center; gap: 8px; font-size: 13.5px; min-width: 0; }
.vc-head b { font-weight: 620; }
.vc-link { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--ink-2); text-underline-offset: 3px; }
.vc-store-main { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 26px; align-items: center; }
.vc-score .num { font-size: 44px; font-weight: 650; letter-spacing: -0.04em; line-height: 1; }
.vc-score .faint { margin-left: 6px; }
.vc-score small { display: block; color: var(--ink-3); font-size: 12px; margin-top: 4px; }
.vc-engines { display: grid; gap: 8px; }
.vc-eng { display: grid; grid-template-columns: 16px 64px minmax(0, 1fr) 44px; gap: 9px; align-items: center; font-size: 13px; }
.vc-eng b { text-align: right; font-weight: 600; }
.vc-bar { height: 8px; background: var(--fog); border-radius: 99px; overflow: hidden; }
.vc-bar i { display: block; height: 100%; background: var(--teal); border-radius: inherit; min-width: 2px; }
.vc-trend { display: flex; align-items: flex-end; gap: 4px; height: 34px; }
.vc-trend span { width: 16px; height: 100%; display: flex; align-items: flex-end; }
.vc-trend span::before { content: ''; width: 100%; height: var(--h); background: var(--teal-tint); border-radius: 3px; }
.vc-trend span.now::before { background: var(--teal); }
.vc-trend em { font-style: normal; font-size: 12px; color: var(--ink-3); margin-left: 6px; align-self: center; }
.vc-strip { display: flex; gap: 6px; }
.vc-strip img { width: 60px; height: 60px; object-fit: cover; border-radius: 10px; background: #f3ece2; }
.vc-answer .vc-convo { display: grid; gap: 10px; }
.vc-verdict { font-size: 13.5px; padding: 9px 12px; border-radius: 12px; background: #fff3e2; line-height: 1.45; }
.vc-verdict.s-top { background: var(--teal-tint); }
.vc-verdict.s-named, .vc-verdict.s-linked { background: #eef6f1; }
.vc-verdict span { color: var(--ink-2); }
.vc-open { justify-self: start; border: 0; background: none; font: 600 13px var(--text); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0; }
.vc-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vc-bars li { display: grid; grid-template-columns: minmax(90px, 170px) minmax(0, 1fr) 28px 52px; gap: 10px; align-items: center; font-size: 13.5px; }
.vc-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-track { height: 10px; background: var(--fog); border-radius: 99px; overflow: hidden; }
.vc-track i { display: block; height: 100%; background: #cdb89f; border-radius: inherit; min-width: 3px; }
.vc-bars li.you .vc-track i { background: var(--teal); }
.vc-bars li.you .vc-name { color: var(--teal); }
.vc-bars b { text-align: right; font-weight: 650; }
.vc-marks { display: flex; gap: 3px; }
.vc-why { grid-column: 1 / -1; margin-top: -6px; font-size: 12.5px; color: var(--ink-3); }
.vc-product { grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: start; }
.vc-pimg { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #f3ece2; display: block; }
.vc-pimg img { width: 100%; height: 100%; object-fit: cover; }
.vc-pbody { display: grid; gap: 9px; min-width: 0; align-content: start; }
.vc-pbody h4 { font-size: 18px; font-weight: 620; line-height: 1.3; }
.vc-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.vc-qs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.vc-qs li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13.5px; }
.vc-meter { height: 6px; background: var(--fog); border-radius: 99px; overflow: hidden; }
.vc-meter i { display: block; height: 100%; background: var(--teal); }
.vc-ans { display: flex; flex-wrap: wrap; gap: 6px; }
.vc-ans span { font-size: 12px; padding: 3px 9px; border-radius: 99px; background: var(--fog); }
.vc-ans .qa-yes { background: var(--teal-tint); color: var(--teal); }
.vc-ans .qa-partly { background: var(--amber-tint); color: var(--amber-ink); }
.vc-ans .qa-no { background: var(--rose-tint); color: var(--rose); }
.vc-page { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; color: var(--ink); }
.vc-page .fav { width: 20px; height: 20px; margin-top: 2px; }
.vc-page > span { display: grid; gap: 2px; min-width: 0; }
.vc-page i { font-style: normal; font-size: 12.5px; color: var(--ink-3); }
.vc-page em { font-style: normal; font-size: 13px; color: var(--ink-2); }
.vc-mentions ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vc-mentions li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; align-items: start; }
.vc-mentions p { font-size: 13.5px; line-height: 1.5; }
.vc-mentions mark { background: #ffe0b0; border-radius: 3px; padding: 0 2px; }
.vc-fixes { display: grid; gap: 10px; }
.vc-grid-in { margin: 0 -10px; }
.vc-grid-in .g-head, .vc-grid-in .g-row { padding-left: 8px; padding-right: 8px; }

@media (max-width: 900px) {
  .scards { grid-template-columns: 1fr; }
  .store-hero { padding: 0 18px 18px; }
  .sh-art { position: relative; width: auto; height: 120px; margin: 0 -18px 4px; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
  .store-hero .store-title, .store-hero .store-actions { max-width: none; }
  .store-title h1 { font-size: 24px; }
  .drawer.wide .drawer-panel { padding: 20px 14px 40px; }
  .ans-q { font-size: 20px; }
  .cv-body { padding: 16px; }
  .cv-user { max-width: 88%; }
  .chat { padding: 0 14px; min-height: calc(100vh - 58px); }
  .chat-hello h1 { font-size: 26px; }
  .chat-rankoon { width: 110px; }
  .starters { grid-template-columns: 1fr; }
  .composer { bottom: calc(58px + env(safe-area-inset-bottom)); padding-bottom: 10px; }
  .am { grid-template-columns: 34px minmax(0, 1fr); gap: 8px; }
  .am-face { width: 34px; height: 34px; }
  .um { max-width: 88%; }
  .vc-product { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .vc-store-main { grid-template-columns: 1fr; gap: 12px; }
  .vc-bars li { grid-template-columns: minmax(80px, 120px) minmax(0, 1fr) 24px; }
  .vc-marks { display: none; }
  .fx-doc { padding: 20px 18px 24px; }
  .fix { padding: 16px; }
}

/* a source's address reads left to right even inside a Hebrew answer */
.cite, .cv-pill, .cv-src i, .vc-page i { direction: ltr; unicode-bidi: isolate; }
.fix a.fx-store, .md .fix a.fx-store { color: var(--ink); }
.am-answer .fix, .am-answer .vc { font-size: 14.5px; line-height: 1.5; }
.g-text { unicode-bidi: plaintext; }
@media (max-width: 900px) {
  .verdict { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: start; }
  .verdict-rankoon { width: 64px; }
  .verdict-line { font-size: 16px; }
  .engines { grid-template-columns: 1fr; }
}
