.sheva {
  --sheva-paper: #fbf8f2;
  --sheva-sand: #f4ede1;
  --sheva-ink: #1a1a1a;
  --sheva-muted: #625e57;
  --sheva-line: #d9cfbe;
  --sheva-accent: #b24a26;
  --sheva-accent-hover: #97381a;
  --sheva-font: inherit;
  --sheva-bottom: 24px;
  --sheva-z: 1000;
  color: var(--sheva-ink);
  font-family: var(--sheva-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  color-scheme: light;
}
.sheva *, .sheva *::before, .sheva *::after { box-sizing: border-box; }
.sheva [hidden] { display: none !important; }
.sheva :is(p,h2) { margin: 0; padding: 0; color: inherit; }
.sheva :is(button,textarea) { appearance: none; font: inherit; letter-spacing: 0; text-transform: none; margin: 0; }
.sheva button { cursor: pointer; line-height: 1.4; }
.sheva a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.sheva button:disabled { opacity: .5; cursor: wait; }
.sheva :is(button,a,textarea,[tabindex]):focus-visible { outline: 3px solid var(--sheva-accent); outline-offset: 3px; }
.sheva ::selection { color: var(--sheva-paper); background: var(--sheva-accent); }
.sheva--floating { position: fixed; bottom: calc(var(--sheva-bottom) + env(safe-area-inset-bottom) + var(--sheva-keyboard, 0px)); right: 24px; z-index: var(--sheva-z); }
.sheva--floating[data-position="left"] { right: auto; left: 24px; }
.sheva .sheva__launcher { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; min-height: 56px; border: 0; border-radius: 999px; background: var(--sheva-ink); color: var(--sheva-paper); box-shadow: 0 8px 30px rgb(26 26 26 / .14); font-weight: 650; }
.sheva .sheva__launcher:hover { background: #35312c; }
.sheva__launcher img { border-radius: 50%; object-fit: cover; }
.sheva__launcher svg { width: 20px; height: 20px; margin-left: 4px; }
.sheva .sheva__panel { display: flex; flex-direction: column; width: 400px; max-width: calc(100vw - 32px); height: 640px; max-height: calc(var(--sheva-viewport, 100dvh) - var(--sheva-bottom) - 20px - env(safe-area-inset-bottom)); overflow: hidden; background: var(--sheva-paper); border-radius: 20px; box-shadow: 0 18px 64px rgb(26 26 26 / .18); }
.sheva--inline { width: 100%; max-width: 560px; margin-inline: auto; }
.sheva--inline .sheva__panel { width: 100%; max-width: 100%; height: 690px; max-height: min(820px, 90dvh); box-shadow: none; border: 1px solid var(--sheva-line); }
.sheva__header { display: flex; gap: 12px; align-items: center; flex-shrink: 0; padding: 17px 16px; background: var(--sheva-ink); color: var(--sheva-paper); }
.sheva__avatar { object-fit: cover; border-radius: 50%; flex: 0 0 44px; }
.sheva__identity { flex: 1; min-width: 0; }
.sheva .sheva__identity h2 { font: inherit; font-size: 20px; font-weight: 700; line-height: 1.25; }
.sheva .sheva__identity p { font-size: 12px; color: #d4cbbd; line-height: 1.5; margin-top: 2px; }
.sheva .sheva__icon-button { display: grid; place-items: center; padding: 0; flex: 0 0 40px; width: 40px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: inherit; }
.sheva .sheva__icon-button:hover { background: #39332c; }
.sheva .sheva__header button:focus-visible { outline-color: #f4c6b6; }
.sheva__log { flex: 1 1 0; min-height: 80px; overflow: auto; overscroll-behavior: contain; padding: 24px 20px 10px; scrollbar-width: thin; scrollbar-color: var(--sheva-line) transparent; }
.sheva__message { width: 100%; overflow-wrap: anywhere; padding-bottom: 23px; }
.sheva__message > p { white-space: pre-line; }
.sheva__message--user { width: fit-content; max-width: 90%; margin: 0 0 24px auto; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--sheva-sand); }
.sheva .sheva__notice { color: var(--sheva-muted); font-size: 13px; margin-top: 12px; }
.sheva__products { display: flex; flex-direction: column; gap: 0; margin-top: 18px; }
.sheva .sheva__product { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--sheva-line); text-decoration: none; }
.sheva__product img { width: 64px; height: 80px; flex: 0 0 64px; object-fit: contain; border-radius: 6px; background: var(--sheva-sand); }
.sheva__product-info { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; gap: 2px; }
.sheva__product strong { font-size: 14px; line-height: 1.4; font-weight: 650; }
.sheva__stock { font-size: 12px; color: var(--sheva-muted); }
.sheva__price { font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; }
.sheva__product-action { font-size: 12px; margin-top: 4px; text-decoration: underline; text-underline-offset: 3px; }
.sheva__product:hover .sheva__product-action { color: var(--sheva-accent); }
.sheva__links { display: flex; flex-wrap: wrap; gap: 12px 18px; padding-top: 16px; font-size: 13px; font-weight: 600; }
.sheva__links a { display: inline-flex; align-items: center; min-height: 36px; }
.sheva__links a:hover { color: var(--sheva-accent); }
.sheva__status { flex-shrink: 0; padding: 0 20px; min-height: 0; color: var(--sheva-muted); font-size: 13px; }
.sheva__status:not(:empty) { padding-block: 4px 10px; }
.sheva__chips { display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; padding: 6px 20px 16px; }
.sheva .sheva__chip { background: transparent; color: var(--sheva-ink); padding: 8px 12px; min-height: 40px; font-size: 13px; border: 1px solid var(--sheva-line); border-radius: 999px; }
.sheva .sheva__chip:hover { border-color: var(--sheva-ink); background: var(--sheva-sand); }
.sheva__ai { flex-shrink: 0; background: var(--sheva-sand); padding: 12px 20px; font-size: 12px; color: var(--sheva-muted); }
.sheva__ai > div { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.sheva .sheva__ai button { border: 0; padding: 8px 0; min-height: 36px; background: transparent; text-decoration: underline; text-underline-offset: 3px; color: var(--sheva-ink); font-weight: 600; }
.sheva .sheva__form { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 16px 8px; flex-shrink: 0; border-top: 1px solid var(--sheva-line); }
.sheva .sheva__form textarea { display: block; resize: none; min-height: 46px; max-height: 100px; width: 100%; padding: 11px 6px; border: 0; border-radius: 4px; background: transparent; color: var(--sheva-ink); font-size: 16px; line-height: 24px; caret-color: var(--sheva-accent); box-shadow: none; }
.sheva__form textarea::placeholder { color: var(--sheva-muted); opacity: 1; }
.sheva .sheva__form button { display: grid; place-items: center; padding: 0; flex: 0 0 44px; height: 44px; border: 0; border-radius: 50%; color: #fff; background: var(--sheva-accent); }
.sheva .sheva__form button:hover { background: var(--sheva-accent-hover); }
.sheva__footer { flex-shrink: 0; padding: 0 20px 14px; font-size: 11px; color: var(--sheva-muted); }
.sheva .sheva__footer p { font-size: inherit; line-height: 1.6; }
.sheva .sheva__footer button { padding: 6px 0; border: 0; background: none; color: inherit; text-decoration: underline; text-underline-offset: 3px; font-size: 11px; }
.sheva__error { flex-shrink: 0; background: #f8e9e2; color: #782f1c; padding: 10px 20px; font-size: 13px; }
.sheva .sheva__error button { display: block; padding: 7px 0; min-height: 36px; border: 0; background: none; color: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.sheva__sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.sheva--open .sheva__panel { animation: sheva-open 220ms cubic-bezier(.16,1,.3,1); }
@keyframes sheva-open { from { opacity: .5; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 480px) {
  .sheva--floating { right: 12px; }
  .sheva--floating[data-position="left"] { left: 12px; }
  .sheva .sheva__panel { width: calc(100vw - 24px); max-width: calc(100vw - 24px); height: 630px; max-height: calc(var(--sheva-viewport, 100dvh) - var(--sheva-bottom) - 16px - env(safe-area-inset-bottom)); border-radius: 16px; }
  .sheva--inline .sheva__panel { width: 100%; max-width: 100%; }
  .sheva__header { gap: 9px; padding: 14px; }
  .sheva__log { padding: 20px 16px 8px; }
  .sheva__chips { padding: 6px 16px 12px; gap: 6px; }
  .sheva .sheva__chip { min-height: 44px; }
  .sheva__ai { padding: 10px 16px; }
}
@media (max-height: 550px) {
  .sheva .sheva__panel { max-height: calc(var(--sheva-viewport, 100dvh) - 16px); }
  .sheva--floating { bottom: calc(8px + var(--sheva-keyboard, 0px)); }
  .sheva__header { padding-block: 8px; }
  .sheva__chips { max-height: 56px; overflow: auto; flex-wrap: nowrap; }
  .sheva__chip { white-space: nowrap; }
  .sheva__ai { max-height: 110px; overflow: auto; }
}
@media (prefers-reduced-motion: reduce) { .sheva *, .sheva *::before, .sheva *::after { animation: none !important; scroll-behavior: auto !important; } }
.sheva--compact .sheva__header { padding-block: 8px; }
.sheva--compact .sheva__chips { flex-wrap: nowrap; max-height: 56px; overflow: auto; }
.sheva--compact .sheva__chip { flex: 0 0 auto; white-space: nowrap; }
.sheva--compact .sheva__ai { max-height: 104px; overflow: auto; overscroll-behavior: contain; }
.sheva--compact .sheva__form { padding-block: 8px; }
.sheva--compact .sheva__footer { max-height: 62px; overflow: auto; padding-bottom: 8px; }
.sheva--short .sheva__chips { display: none; }
.sheva--short .sheva__ai { max-height: 104px; }
.sheva--short .sheva__error { flex-shrink: 1; max-height: 72px; overflow: auto; }
.sheva--short .sheva__log { min-height: 40px; }
@media print { .sheva--floating { display: none; } }
