:root {
  --ink: #102a25;
  --muted: #628079;
  --line: #d8e7e1;
  --paper: #ffffff;
  --canvas: #f2f7f5;
  --mint: #e4f5ed;
  --brand: #138a61;
  --brand-dark: #0b6144;
  --brand-pale: #d8f3e7;
  --sun: #f6c65b;
  --danger: #bd4a48;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

* { box-sizing: border-box; }

body { margin: 0; min-width: 320px; }

button, input, textarea { font: inherit; }

button { cursor: pointer; }

.shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  padding: 24px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.06em; }
.brand-mark { width: 31px; height: 31px; display: block; flex: 0 0 auto; overflow: hidden; border-radius: 10px; background: #030303; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.topbar-note { color: var(--muted); font-size: .875rem; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.admin-link { min-height: 35px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #3f8268; border-radius: 10px; color: #7de9b8; background: #153228; font-size: .78rem; font-weight: 800; text-decoration: none; }
.admin-link:hover, .admin-link:focus-visible { border-color: var(--brand); color: #071b14; background: #51dc9f; outline: none; }

.start-screen {
  min-height: 100svh;
  overflow: hidden;
  position: relative;
  background: linear-gradient(150deg, #f6fbf9 0%, #e2f5eb 48%, #c4edda 100%);
}

.start-screen::before, .start-screen::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(19, 138, 97, .14);
  border-radius: 48% 52% 41% 59%;
  pointer-events: none;
}

.start-screen::before { top: -320px; right: -110px; }
.start-screen::after { left: -300px; bottom: -270px; border-radius: 55% 45% 55% 45%; }

.welcome {
  position: relative;
  padding: clamp(58px, 11vh, 126px) 0 48px;
  max-width: 700px;
}

.eyebrow { margin: 0 0 14px; color: var(--brand-dark); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 650px; margin-bottom: 18px; font-size: clamp(2.45rem, 7vw, 5.55rem); line-height: .98; letter-spacing: -.065em; }
.intro { max-width: 540px; color: #45645b; font-size: clamp(1rem, 2vw, 1.14rem); line-height: 1.65; }

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.choice-card {
  min-height: 215px;
  padding: 25px;
  position: relative;
  overflow: hidden;
  text-align: left;
  border: 1px solid rgba(13, 99, 70, .14);
  border-radius: 24px;
  color: var(--ink);
  background: rgba(255,255,255,.76);
  box-shadow: 0 16px 42px rgba(20, 79, 60, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.choice-card:hover, .choice-card:focus-visible { transform: translateY(-4px); border-color: var(--brand); box-shadow: 0 22px 42px rgba(20, 79, 60, .16); outline: none; }
.choice-card.sell { background: linear-gradient(140deg, #fff 0%, #e9f9ef 100%); }
.choice-icon { width: 48px; height: 48px; margin-bottom: 38px; display: grid; place-items: center; border-radius: 16px; font-size: 1.45rem; background: var(--brand-pale); }
.choice-card.sell .choice-icon { background: #fff1ca; }
.choice-card h2 { margin-bottom: 7px; font-size: 1.4rem; letter-spacing: -.04em; }
.choice-card p { max-width: 255px; margin-bottom: 0; color: var(--muted); font-size: .94rem; line-height: 1.5; }
.choice-arrow { position: absolute; right: 21px; bottom: 20px; color: var(--brand-dark); font-size: 1.4rem; transition: transform .2s ease; }
.choice-card:hover .choice-arrow { transform: translateX(4px); }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 34px; color: #53766b; font-size: .82rem; }
.trust-item { display: inline-flex; align-items: center; gap: 7px; }
.trust-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--brand); }

.chat-page { min-height: 100svh; background: #f5f8f7; }
.admin-page { min-height: 100svh; background: var(--canvas); }
.admin-layout { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); align-items: start; gap: 24px; padding: 20px 0 42px; }
.admin-panel { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); box-shadow: 0 18px 60px rgba(0, 0, 0, .18); }
.admin-panel h1 { margin-bottom: 9px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1; }
.admin-panel h2 { margin: 0; font-size: 1.25rem; letter-spacing: -.04em; }
.admin-intro { margin-bottom: 9px; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.admin-local-note { margin-bottom: 18px; padding: 11px 12px; border: 1px solid #31564a; border-radius: 11px; color: #a8d9c4; background: #13251f; font-size: .76rem; line-height: 1.45; }
.admin-form { display: grid; gap: 14px; }
.admin-form-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.admin-form-actions .primary-button, .admin-form-actions .choice-button { flex: 1 1 150px; }
.admin-field { display: grid; gap: 7px; }
.admin-field > span, .admin-spec-field legend { color: var(--ink); font-size: .79rem; font-weight: 750; }
.admin-form .admin-textarea { min-height: 112px; margin: 0; }
.admin-upload-hint { margin: 0; color: var(--muted); font-size: .74rem; line-height: 1.45; }
.admin-image-preview { display: flex; align-items: center; gap: 11px; padding: 10px; border: 1px solid #31564a; border-radius: 12px; background: #13231d; }
.admin-image-preview img { width: 68px; height: 68px; display: block; flex: 0 0 auto; border-radius: 9px; object-fit: contain; background: #060b09; }
.admin-image-preview strong, .admin-image-preview span { display: block; }
.admin-image-preview strong { color: #9cf3cb; font-size: .8rem; }
.admin-image-preview span { margin-top: 3px; color: var(--muted); font-size: .72rem; overflow-wrap: anywhere; }
.admin-spec-field { margin: 0; padding: 0; border: 0; }
.admin-spec-field legend { padding: 0; margin-bottom: 8px; }
.admin-spec-options { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-spec-options label { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 8px 10px; border: 1px solid #315e4f; border-radius: 10px; color: #a8d9c4; background: #152922; font-size: .78rem; font-weight: 750; cursor: pointer; }
.admin-spec-options input { accent-color: #51dc9f; }
.admin-feedback { margin: 0 0 16px; padding: 10px 12px; border-radius: 10px; font-size: .8rem; line-height: 1.45; }
.admin-feedback.error { border: 1px solid #754441; color: #ffb8b1; background: #3a2121; }
.admin-feedback.success { border: 1px solid #377359; color: #9cf3cb; background: #1d4535; }
.admin-list-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.admin-list-heading .eyebrow { margin-bottom: 5px; }
.catalog-count { flex: 0 0 auto; padding: 6px 9px; border-radius: 999px; color: #a8d9c4; background: #1d382f; font-size: .72rem; font-weight: 800; }
.admin-search { position: relative; display: block; margin: 0 0 14px; }
.admin-search .text-input { padding-right: 105px; }
.admin-search span:not(.sr-only) { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); color: var(--muted); font-size: .7rem; font-weight: 750; pointer-events: none; }
.admin-search-empty { margin: 0 0 14px; padding: 14px; border: 1px dashed #426256; border-radius: 12px; color: var(--muted); background: #13231d; font-size: .82rem; line-height: 1.45; text-align: center; }
.admin-account-list { display: grid; gap: 12px; }
.catalog-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 16px; }
.catalog-page-button { min-width: 35px; min-height: 35px; padding: 0 10px; border: 1px solid #396d5a; border-radius: 9px; color: #a8d9c4; background: #152922; font-size: .78rem; font-weight: 800; cursor: pointer; }
.catalog-page-button:hover, .catalog-page-button:focus-visible { border-color: #50db9f; color: #061b14; background: #50db9f; outline: none; }
.catalog-page-button.active { border-color: #50db9f; color: #061b14; background: #50db9f; cursor: default; }
.catalog-page-button:disabled { opacity: .42; cursor: not-allowed; }
.catalog-page-button:disabled:hover { border-color: #396d5a; color: #a8d9c4; background: #152922; }
.admin-account { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px; border: 1px solid #2c4c40; border-radius: 14px; background: #162821; }
.admin-account[hidden] { display: none; }
.admin-account img { width: 78px; height: 78px; display: block; border-radius: 10px; object-fit: cover; background: #060b09; }
.admin-account-copy { min-width: 0; }
.admin-account-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.admin-account-heading strong { color: #78e9b8; font-size: .92rem; letter-spacing: .035em; }
.admin-account-heading span { color: #a8d9c4; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.admin-account-copy p { margin: 6px 0 9px; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.admin-spec-list { display: flex; flex-wrap: wrap; gap: 5px; }
.admin-spec-list span { padding: 4px 6px; border-radius: 6px; color: #a8d9c4; background: #1e3b31; font-size: .65rem; font-weight: 750; }
.admin-account-actions { display: flex; flex-direction: column; gap: 7px; }
.edit-catalog-button, .delete-catalog-button { min-height: 33px; padding: 0 9px; border-radius: 8px; font-size: .72rem; font-weight: 800; }
.edit-catalog-button { border: 1px solid #3d8067; color: #9cf3cb; background: #17392d; }
.edit-catalog-button:hover, .edit-catalog-button:focus-visible { border-color: #50db9f; color: #061b14; background: #50db9f; outline: none; }
.delete-catalog-button { min-height: 33px; padding: 0 9px; border: 1px solid #7a4543; border-radius: 8px; color: #ffb8b1; background: #301d1d; font-size: .72rem; font-weight: 800; }
.delete-catalog-button:hover, .delete-catalog-button:focus-visible { color: #fff; background: #8e403d; outline: none; }
.admin-empty, .no-results { padding: 18px; border: 1px dashed #426256; border-radius: 13px; color: var(--muted); background: #13231d; text-align: center; }
.admin-empty p, .no-results p { margin: 7px 0 0; font-size: .82rem; line-height: 1.45; }
.no-results { max-width: 420px; margin: 0 auto; padding: 21px 18px; }
.no-results strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.4; }
.no-results p { max-width: 350px; margin-right: auto; margin-left: auto; }
.empty-state-character { width: clamp(88px, 22vw, 138px); max-height: 138px; display: block; margin: 0 auto 12px; object-fit: contain; }
.empty-state-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 15px; }
.empty-state-actions .choice-button, .empty-state-actions .primary-button { flex: 1 1 128px; }
.chat-search-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 13px; }
.chat-search-actions .choice-button, .chat-search-actions .primary-button { min-height: 42px; flex: 1 1 120px; }
.chat-layout { min-height: calc(100svh - 74px); display: grid; grid-template-columns: minmax(0, 720px) 280px; align-items: start; justify-content: center; gap: 24px; padding: 20px 0 32px; }
.chat-card { min-height: min(760px, calc(100svh - 126px)); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: var(--paper); box-shadow: 0 18px 60px rgba(17, 64, 49, .1); }
.chat-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.chat-person { display: flex; align-items: center; gap: 10px; }
.avatar { width: 39px; height: 39px; display: block; flex: 0 0 auto; overflow: hidden; border-radius: 50%; background: #000; }
.avatar img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.chat-name { display: flex; align-items: center; gap: 5px; }
.chat-person strong { display: block; font-size: .95rem; }
.chat-status { display: flex; align-items: center; gap: 5px; margin-top: 3px; color: var(--muted); font-size: .74rem; }
.online-dot { width: 7px; height: 7px; border-radius: 50%; background: #35b779; }
.quiet-button, .text-button { border: 0; color: var(--brand-dark); background: transparent; font-size: .84rem; font-weight: 750; }
.quiet-button { padding: 8px; border-radius: 9px; }
.quiet-button:hover, .quiet-button:focus-visible { background: var(--mint); outline: none; }

.messages { flex: 1; padding: 24px clamp(16px, 4vw, 34px); display: flex; flex-direction: column; gap: 14px; overflow-y: auto; background-color: #fbfcfc; background-image: radial-gradient(rgba(19, 138, 97, .08) 1px, transparent 1px); background-size: 20px 20px; }
.date-chip { align-self: center; padding: 6px 10px; border-radius: 999px; color: var(--muted); background: #edf3f0; font-size: .7rem; font-weight: 700; }
.message { max-width: min(86%, 500px); padding: 13px 15px; border-radius: 5px 17px 17px 17px; color: #244139; background: #fff; box-shadow: 0 2px 10px rgba(22, 63, 51, .07); font-size: .95rem; line-height: 1.5; animation: chat-bubble-float 5.8s ease-in-out infinite; will-change: transform; }
.message.bot { border: 1px solid #e7efeb; }
.message.user { align-self: flex-end; border-radius: 17px 5px 17px 17px; color: #0a593c; background: var(--brand-pale); }
.message:nth-of-type(3n) { animation-delay: -1.9s; }
.message:nth-of-type(3n + 1) { animation-delay: -3.8s; }
.message p:last-child { margin-bottom: 0; }
.message-label { display: block; margin-bottom: 5px; color: var(--brand-dark); font-size: .69rem; font-weight: 800; letter-spacing: .05em; }
.sale-guide { display: grid; gap: 11px; }
.sale-guide-title { margin: 0; color: var(--brand-dark); font-size: .74rem; font-weight: 900; letter-spacing: .08em; }
.sale-guide-list { display: grid; gap: 8px; margin: 0; padding-left: 20px; }
.sale-guide-list li { padding-left: 2px; }
.sale-guide-list b { color: var(--ink); }
.sale-guide-note { padding: 11px 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--mint); }
.sale-guide-note strong { display: block; margin-bottom: 4px; color: var(--brand-dark); font-size: .76rem; }
.sale-guide-note p { margin: 0; font-size: .82rem; line-height: 1.5; }
.sale-recipient { display: grid; gap: 2px; }
.sale-recipient span { color: inherit; font-size: .68rem; font-weight: 800; letter-spacing: .07em; opacity: .72; text-transform: uppercase; }
.sale-recipient strong { font-size: .96rem; }
.upload-summary strong { display: block; font-size: .82rem; }
.upload-summary-hint { display: block; margin-top: 3px; color: inherit; font-size: .72rem; opacity: .82; }
.screenshot-preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 7px; margin-top: 10px; }
.screenshot-thumbnail { aspect-ratio: 1; display: block; overflow: hidden; border: 1px solid rgba(255, 255, 255, .24); border-radius: 9px; background: #07110d; transition: transform .18s ease, border-color .18s ease; }
.screenshot-thumbnail:hover, .screenshot-thumbnail:focus-visible { border-color: #86f0bd; transform: translateY(-1px); outline: none; }
.screenshot-thumbnail img { width: 100%; height: 100%; display: block; object-fit: contain; background: #07110d; }
.message-summary { display: grid; gap: 6px; font-size: .86rem; }
.message-summary div { display: flex; justify-content: space-between; gap: 20px; }
.message-summary span { color: var(--muted); }

@keyframes chat-bubble-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes chat-dot-flow {
  from { background-position: 0 0; }
  to { background-position: 92px 69px; }
}

.composer { padding: 14px clamp(16px, 4vw, 28px) 20px; border-top: 1px solid var(--line); background: #fff; }
.sale-admin-choices { display: grid; gap: 9px; }
.message.bot .sale-admin-choices { margin-top: 12px; }
.whatsapp-admin-choices { margin-top: 16px; }
.sale-admin-choice { width: 100%; min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border: 1px solid #315e4f; border-radius: 13px; color: #a8d9c4; background: #152922; text-align: left; text-decoration: none; transition: color .18s, background .18s, border-color .18s, transform .18s; }
.sale-admin-choice:hover, .sale-admin-choice:focus-visible { border-color: #41d49b; color: #061b14; background: #50db9f; transform: translateY(-1px); outline: none; }
.sale-admin-choice span { display: grid; gap: 2px; }
.sale-admin-choice strong { font-size: .9rem; }
.sale-admin-choice small { color: var(--muted); font-size: .75rem; }
.admin-availability { display: inline-block; margin-left: 5px; padding: 2px 6px; border-radius: 999px; font-size: .68rem; font-style: normal; font-weight: 750; letter-spacing: 0; vertical-align: middle; }
.admin-availability.busy { color: #ffd1c8; background: #5a2e2b; }
.admin-availability.active { color: #baffd9; background: #18513c; }
.admin-availability.resting { color: #ffe6a7; background: #5b4722; }
.sale-admin-choice:hover small, .sale-admin-choice:focus-visible small { color: inherit; }
.sale-admin-choice b { font-size: 1.15rem; }
.prompt-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.budget-actions { align-items: flex-start; }
.price-menu-toggle.is-open { border-color: #41d49b; color: #061b14; background: #50db9f; }
.price-options { display: flex; flex-basis: 100%; flex-wrap: wrap; gap: 9px; padding-top: 2px; }
.choice-button { min-height: 44px; padding: 10px 14px; border: 1px solid #b9d6ca; border-radius: 12px; color: var(--brand-dark); background: #fff; font-size: .89rem; font-weight: 750; transition: color .18s, background .18s, transform .18s; }
.choice-button:hover, .choice-button:focus-visible { border-color: var(--brand); color: #fff; background: var(--brand); transform: translateY(-1px); outline: none; }
.input-row { display: flex; gap: 9px; }
.text-input { min-width: 0; width: 100%; height: 48px; padding: 0 14px; border: 1px solid #b8d2c7; border-radius: 13px; color: var(--ink); outline-color: var(--brand); background: #fff; }
.text-input::placeholder { color: #86a299; }
.primary-button { min-height: 48px; padding: 0 17px; border: 0; border-radius: 13px; color: #fff; background: var(--brand); font-size: .9rem; font-weight: 800; box-shadow: 0 8px 16px rgba(19, 138, 97, .17); }
.primary-button:hover, .primary-button:focus-visible { background: var(--brand-dark); outline: none; }
.primary-button:disabled { cursor: not-allowed; opacity: .55; }
.helper { margin: 9px 2px 0; color: var(--muted); font-size: .75rem; line-height: 1.45; }
.file-wrap { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.file-input { width: 1px; height: 1px; position: absolute; opacity: 0; }
.file-label { min-height: 48px; padding: 13px 15px; display: inline-flex; align-items: center; gap: 8px; border: 1px dashed #92c3ae; border-radius: 13px; color: var(--brand-dark); background: #f4fbf7; font-size: .88rem; font-weight: 750; cursor: pointer; }
.file-name { max-width: 250px; overflow: hidden; color: var(--muted); font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.success-panel { padding: 2px 2px 0; }
.success-panel strong { display: block; color: var(--brand-dark); font-size: 1rem; }
.free-chat-row { display: flex; gap: 9px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.free-chat-input { min-width: 0; font-size: 1rem; }
.composer-support { display: none; margin-top: 12px; text-align: center; }
.send-button { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border: 0; border-radius: 13px; color: #071b14; background: #51dc9f; font-size: 1rem; font-weight: 900; }
.send-button:hover, .send-button:focus-visible { background: #2fc987; outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.side-panel { padding: 20px; border: 1px solid var(--line); border-radius: 21px; background: #fff; }
.side-panel h2 { margin-bottom: 8px; font-size: 1.03rem; letter-spacing: -.025em; }
.side-panel p { color: var(--muted); font-size: .84rem; line-height: 1.55; }
.progress-list { display: grid; gap: 12px; margin: 20px 0; }
.progress-item { display: flex; align-items: center; gap: 10px; color: #748f86; font-size: .82rem; }
.progress-number { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #c5dbd1; border-radius: 50%; color: #6a897d; background: #fff; font-size: .7rem; font-weight: 800; }
.progress-item.current { color: var(--brand-dark); font-weight: 750; }
.progress-item.current .progress-number { border-color: var(--brand); color: #fff; background: var(--brand); }
.support-button { width: 100%; min-height: 44px; margin-top: 3px; border: 1px solid #a5cbb9; border-radius: 12px; color: var(--brand-dark); background: #f6fcf8; font-size: .84rem; font-weight: 800; }
.support-button:hover, .support-button:focus-visible { border-color: var(--brand); outline: none; }
.side-footnote { margin-top: 14px !important; font-size: .75rem !important; }

.result-cards { display: grid; gap: 10px; margin-top: 2px; }
.account-card { padding: 15px; border: 1px solid #d4e7dd; border-radius: 15px; color: var(--ink); background: #fff; box-shadow: 0 4px 10px rgba(31, 82, 64, .04); }
.product-card { padding: 0; overflow: hidden; }
.product-image { padding: 12px; display: grid; place-items: center; border-bottom: 1px solid #243a31; background: #060b09; }
.product-image img { display: block; width: min(100%, 350px); height: auto; border-radius: 9px; object-fit: contain; }
.product-content { padding: 16px; }
.product-content h3 { margin: 0 0 7px; font-size: 1rem; letter-spacing: -.025em; }
.product-description { margin-bottom: 14px; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.account-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; }
.account-details div { padding: 9px 10px; border: 1px solid #d4e7dd; border-radius: 10px; }
.account-details dt { margin-bottom: 3px; color: var(--muted); font-size: .68rem; font-weight: 750; }
.account-details dd { margin: 0; color: var(--brand-dark); font-size: .86rem; font-weight: 850; }
.account-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.account-code { margin-bottom: 4px; color: var(--brand-dark); font-size: .9rem; font-weight: 850; letter-spacing: .035em; }
.account-game { color: var(--muted); font-size: .74rem; }
.price { color: var(--brand-dark); font-size: .94rem; font-weight: 850; }
.account-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.tag { padding: 4px 7px; border-radius: 6px; color: #467466; background: #edf6f1; font-size: .68rem; font-weight: 700; }
.account-assurance { display: flex; align-items: center; gap: 6px; margin: 0 0 14px; color: var(--brand-dark); font-size: .8rem; line-height: 1.4; }
.verified-badge { width: 1em; height: 1em; position: relative; display: inline-block; flex: 0 0 auto; color: transparent; background: center / contain no-repeat url("/shop/assets/verified-badge.svg"); font-size: inherit; line-height: 1; transform: translateY(.02em); }
.verified-badge::before { content: none; }
.card-button { width: 100%; min-height: 37px; display: grid; place-items: center; border: 1px solid #acd0be; border-radius: 9px; color: var(--brand-dark); background: #fff; font-size: .78rem; font-weight: 800; text-decoration: none; }
.card-button:not(:disabled):hover, .card-button:not(:disabled):focus-visible { color: #fff; background: var(--brand); outline: none; }
.card-button-disabled { cursor: not-allowed; opacity: .62; }
.spec-unavailable { margin: 7px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.4; text-align: center; }
.chat-now-button { margin-top: 12px; }
.reaction-row { display: flex; justify-content: center; margin-top: 10px; }
.like-button { min-height: 32px; display: inline-flex; align-items: center; gap: 5px; padding: 0 12px; border: 1px solid #3d7561; border-radius: 999px; color: #a8d9c4; background: #13251f; font-size: .76rem; font-weight: 750; }
.like-heart { color: #ff8c9b; font-size: 1.05rem; line-height: 1; }
.like-count { min-width: 18px; padding: 1px 5px; border-radius: 999px; color: #d9f8e9; background: #27493d; font-size: .67rem; text-align: center; }
.like-button:hover, .like-button:focus-visible, .like-button.liked { border-color: #ff7890; color: #ffe8ed; background: #3b2029; outline: none; }
.like-button:disabled { cursor: wait; opacity: .7; }
.whatsapp-button { margin-top: 9px; border-color: #3f8268; color: #9cf3cb; background: #153228; }
.whatsapp-button:hover, .whatsapp-button:focus-visible { border-color: #51dc9f; color: #061b14; background: #51dc9f; }

.support-modal { position: fixed; z-index: 4; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(6, 38, 28, .44); }
.support-dialog { width: min(100%, 440px); padding: 24px; border-radius: 22px; background: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.22); }
.dialog-top { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.dialog-top h2 { margin-bottom: 7px; font-size: 1.28rem; letter-spacing: -.045em; }
.dialog-top p { color: var(--muted); font-size: .88rem; line-height: 1.55; }
.close-button { width: 34px; height: 34px; border: 0; border-radius: 10px; color: var(--muted); background: #eff6f2; font-size: 1.2rem; }
.support-textarea { width: 100%; min-height: 104px; margin: 7px 0 12px; padding: 12px; resize: vertical; border: 1px solid #b8d2c7; border-radius: 13px; color: var(--ink); outline-color: var(--brand); }
.dialog-success { padding: 14px; border-radius: 13px; color: var(--brand-dark); background: var(--mint); font-size: .9rem; line-height: 1.5; }

/* Deep chat palette: charcoal surfaces with efdewestore green as the active accent. */
:root {
  --ink: #e9f5ef;
  --muted: #aebfb8;
  --line: #2c423b;
  --paper: #111b21;
  --canvas: #0b141a;
  --mint: #1d382f;
  --brand: #008b69;
  --brand-dark: #68e5b3;
  --brand-pale: #005c4b;
  --sun: #e4ba5d;
}

body { background: var(--canvas); }
.start-screen { background: radial-gradient(circle at 78% 17%, rgba(0, 168, 132, .18), transparent 31%), linear-gradient(145deg, #0b141a 0%, #10241e 58%, #0b1815 100%); }
.start-screen::before, .start-screen::after { border-color: rgba(85, 226, 169, .16); }
.intro, .trust-row { color: var(--muted); }
.choice-card { border-color: #29433a; color: var(--ink); background: rgba(20, 35, 31, .92); box-shadow: 0 16px 42px rgba(0, 0, 0, .25); }
.choice-card:hover, .choice-card:focus-visible { border-color: #49cf9c; box-shadow: 0 22px 42px rgba(0, 0, 0, .38); }
.choice-card.sell { background: linear-gradient(140deg, #172a24 0%, #10241d 100%); }
.choice-icon { color: #8cf1c4; background: #173a2e; }
.choice-card.sell .choice-icon { color: #f4cd75; background: #3b311d; }
.choice-arrow { color: #73e8b5; }

.chat-page { background: #0b141a; }
.chat-card, .side-panel, .support-dialog { background: var(--paper); }
.chat-card { box-shadow: 0 18px 60px rgba(0, 0, 0, .35); }
.messages {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 78% 12%, rgba(34, 147, 99, .22), transparent 54%),
    linear-gradient(145deg, #061912 0%, #0a281d 100%);
}
.messages::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: .68;
  background-image: radial-gradient(circle, rgba(111, 242, 184, .38) 1.1px, transparent 1.35px);
  background-size: 23px 23px;
  content: "";
  pointer-events: none;
  animation: chat-dot-flow 20s linear infinite;
}
.messages > * { position: relative; z-index: 1; }
.date-chip { color: #b9cbc4; background: #202d33; }
.message { color: #e8f5ee; background: #202c33; box-shadow: 0 2px 10px rgba(0, 0, 0, .2); }
.message.bot { border-color: #2c4039; }
.message.user { color: #e9fff5; background: var(--brand-pale); }
.message-label, .account-code, .price, .success-panel strong { color: #78e9b8; }
.composer { background: var(--paper); }
.choice-button { border-color: #315e4f; color: #7be8b7; background: #152922; }
.choice-button:hover, .choice-button:focus-visible { border-color: #41d49b; color: #061b14; background: #50db9f; }
.text-input, .support-textarea { border-color: #31564a; color: var(--ink); background: #172720; }
.text-input::placeholder { color: #819a90; }
.primary-button { color: #071b14; background: #51dc9f; box-shadow: 0 8px 16px rgba(0, 0, 0, .24); }
.primary-button:hover, .primary-button:focus-visible { background: #2fc987; }
.file-label { border-color: #4f9a7c; color: #88f0bd; background: #16352a; }
.side-panel { border-color: var(--line); }
.progress-item { color: #91a79e; }
.progress-number { border-color: #426256; color: #a5b9b1; background: #162720; }
.progress-item.current { color: #76e7b5; }
.support-button { border-color: #3f8268; color: #7de9b8; background: #153228; }
.account-card { border-color: #2c4c40; color: var(--ink); background: #162821; box-shadow: 0 4px 10px rgba(0, 0, 0, .18); }
.account-details div { border-color: #31564a; background: #13231d; }
.tag { color: #a8d9c4; background: #1e3b31; }
.account-assurance { color: #78e9b8; }
.card-button { border-color: #43896e; color: #83edbd; background: #13251f; }
.card-button-disabled { color: #719386; background: #15221d; }
.close-button { color: #b7cbc2; background: #24352e; }
.dialog-success { color: #9cf3cb; background: #1d4535; }

@media (max-width: 880px) {
  .chat-layout { grid-template-columns: minmax(0, 650px); }
  .side-panel { display: none; }
  .admin-layout { grid-template-columns: minmax(0, 650px); justify-content: center; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 24px, 1160px); }
  .topbar { padding: 17px 0; }
  .topbar-note { display: none; }
  .topbar-actions { gap: 8px; }
  .admin-link { min-height: 33px; padding: 0 10px; }
  .welcome { padding-top: 56px; }
  .choice-grid { grid-template-columns: 1fr; margin-top: 27px; }
  .choice-card { min-height: 174px; }
  .choice-icon { margin-bottom: 22px; }
  .trust-row { gap: 12px; margin-top: 26px; }
  .chat-layout { padding-top: 8px; }
  .chat-card { min-height: calc(100svh - 86px); border-radius: 20px; }
  .chat-header { padding: 13px 15px; }
  .messages { padding: 18px 13px; }
  .message { max-width: 92%; font-size: .91rem; }
  .composer { padding: 12px 13px 16px; }
  .composer-support { display: block; }
  .input-row { flex-wrap: wrap; }
  .input-row .primary-button { width: 100%; }
  .choice-button { flex: 1 1 auto; }
  .admin-layout { padding-top: 8px; }
  .admin-panel { padding: 18px; border-radius: 18px; }
  .admin-account { grid-template-columns: 60px minmax(0, 1fr); }
  .admin-account img { width: 60px; height: 60px; }
  .admin-account-actions { grid-column: 2; flex-direction: row; }
}

@media (prefers-reduced-motion: reduce) {
  .message, .messages::before { animation: none; }
}
