/* Dorax Finance — Dora, the assistant (v556): the welcome, the conversation (her answers without a bubble, the figure large), the questions she offers and the box. What she answers: features/dora/. */
.drawer .body.dora { padding: 8px 20px 16px; gap: 0; scroll-behavior: auto; }
.dora-list { display: flex; flex-direction: column; gap: 22px; min-height: 100%; }
.dora-welcome { margin: auto 0; padding: 12px 0 4px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.dora-av { flex: none; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #e6ffd2 0%, var(--primary) 38%, #4f8f3a 100%); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 6px 22px rgba(159,209,130,.28); }
.dora-welcome h2 { margin: 0; font: 700 30px/1.1 var(--font); letter-spacing: -.02em; color: var(--ink); }
.dora-ask { margin: 0 0 14px; font: 500 22px/1.2 var(--font); letter-spacing: -.01em; color: var(--ink-3); }
.dora-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.dora-card { all: unset; box-sizing: border-box; cursor: pointer; -webkit-tap-highlight-color: transparent; min-height: 104px; padding: 14px 16px; border-radius: 22px; background: var(--surface-2); color: var(--ink); font: 600 15px/1.3 var(--font); box-shadow: inset 0 0 0 1px var(--line-strong), 0 1px 2px rgba(0,0,0,.04); transition: background .15s, transform .15s; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.dora-card i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: var(--primary-ink); }
.dora-card:hover { background: var(--surface-3); }
.dora-card:active { transform: scale(.97); }
.dora-card:focus-visible, .dora-chip:focus-visible, .dora-go:focus-visible, .dora-send:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.dora-priv { margin-top: 14px; color: var(--ink-3); font-size: 12.5px; line-height: 1.4; }
.dora-m { display: flex; gap: 12px; align-items: flex-start; max-width: 100%; }
.dora-m.me { justify-content: flex-end; }
.dora-m.me p { margin: 0; max-width: 84%; padding: 10px 16px; border-radius: 999px; background: var(--primary); color: var(--primary-ink); font: 500 15px/1.35 var(--font); overflow-wrap: anywhere; }
.dora-av { position: relative; display: block; width: 32px; height: 32px; margin-top: 1px; box-shadow: 0 2px 10px rgba(159,209,130,.25); }
.dora-av.big { width: 76px; height: 76px; margin-bottom: 16px; box-shadow: 0 0 0 8px rgba(159,209,130,.16), 0 10px 30px rgba(159,209,130,.35); }
.dora-face { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dora-face .e { fill: #0F2A12; }
.dora-face .m { fill: none; stroke: #0F2A12; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; display: none; }
.dora-av[data-mood="calm"] .m.calm, .dora-av[data-mood="happy"] .m.happy, .dora-av[data-mood="worried"] .m.worried, .dora-av[data-mood="confused"] .m.confused, .dora-av[data-mood="think"] .m.think { display: block; }
.dora-eyes { transform-box: fill-box; transform-origin: center; }
.dora-av[data-mood="happy"] .e { transform-box: fill-box; transform-origin: center; transform: scaleY(.45); }
.dora-av[data-mood="think"] .dora-eyes { transform: translate(1.6px, -2.4px); }
.dora-av[data-mood="worried"] .e.l { transform-box: fill-box; transform-origin: center; transform: rotate(-12deg); }
.dora-av[data-mood="worried"] .e.r { transform-box: fill-box; transform-origin: center; transform: rotate(12deg); }
.dora-av[data-mood="confused"] .dora-eyes { transform: translateX(-1.2px); }
.dora-av[data-mood="confused"] .e.r { transform-box: fill-box; transform-origin: center; transform: scale(1.25); }
.dora-b { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.dora-b p { margin: 0; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.dora-hero { display: flex; flex-direction: column; gap: 2px; }
.dora-hero .dora-big { font: 700 46px/1.05 var(--font) !important; letter-spacing: -.03em; color: var(--primary); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.dora-hero.neg .dora-big { color: var(--ink); }
.dora-hero .dora-hl { color: var(--ink-2); font: 500 15px/1.35 var(--font); }
.dora-rows { display: flex; flex-direction: column; padding: 4px 16px; border-radius: 18px; background: var(--surface-2); }
.dora-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: baseline; padding: 11px 0; font-size: 14.5px; }
.dora-row + .dora-row { border-top: 1px solid var(--line); }
.dora-row .dora-l { color: var(--ink-2); overflow-wrap: anywhere; }
.dora-row .dora-v { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.dora-row small { grid-column: 1 / -1; color: var(--ink-3); font-size: 12px; }
.dora-go { all: unset; box-sizing: border-box; cursor: pointer; -webkit-tap-highlight-color: transparent; align-self: flex-start; padding: 9px 16px; border-radius: 999px; background: var(--primary); color: var(--primary-ink); font: 600 14px var(--font); }
.dora-in { display: flex; flex-wrap: wrap; gap: 8px; }
.dora-chip { all: unset; box-sizing: border-box; cursor: pointer; -webkit-tap-highlight-color: transparent; flex: none; padding: 9px 15px; border-radius: 999px; background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font: 500 14px var(--font); white-space: nowrap; transition: background .15s; }
.dora-chip:hover { background: var(--surface-3); }
.dora-b .dora-in .dora-chip { white-space: normal; text-align: left; }
.dora-strip { display: flex; gap: 8px; overflow-x: auto; padding: 6px 20px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.dora-strip[hidden] { display: none; }
.dora-strip::-webkit-scrollbar { display: none; }
.drawer footer.dora-foot { flex-wrap: nowrap; align-items: center; gap: 0; margin: 4px 16px 12px; padding: 5px 5px 5px 18px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); border-top: 0; transition: box-shadow .15s; }
.drawer footer.dora-foot:focus-within { box-shadow: inset 0 0 0 1.5px var(--focus); }
#overlay .drawer footer.dora-foot .dora-q { flex: 1; min-width: 0; width: auto; height: 44px; padding: 0 !important; border: 0 !important; border-radius: 0; background: transparent !important; color: var(--ink); font: 500 16px var(--font); outline: 0; box-shadow: none !important; -webkit-appearance: none; appearance: none; }
.dora-q::placeholder { color: var(--ink-3); font-weight: 400; }
.dora-send { all: unset; box-sizing: border-box; cursor: pointer; -webkit-tap-highlight-color: transparent; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--primary-ink); transition: transform .15s; }
.dora-send:active { transform: scale(.92); }
.dora-dots { display: flex; gap: 5px; align-items: center; height: 32px; }
.dora-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
@media (prefers-reduced-motion: no-preference) {
  .dora-m.in { animation: dora-in .32s cubic-bezier(.2,.8,.2,1) both; }
  .dora-m.dora.in .dora-pt { animation: dora-pt .4s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 90ms); }
  .dora-dots i { animation: dora-dot 1s ease-in-out infinite; }
  .dora-dots i:nth-child(2) { animation-delay: .15s; } .dora-dots i:nth-child(3) { animation-delay: .3s; }
  .dora-welcome > * { animation: dora-pt .5s cubic-bezier(.2,.8,.2,1) both; }
  .dora-welcome > :nth-child(2) { animation-delay: .06s; } .dora-welcome > :nth-child(3) { animation-delay: .12s; } .dora-welcome > :nth-child(4) { animation-delay: .18s; } .dora-welcome > :nth-child(5) { animation-delay: .3s; }
  .dora-av:not([data-mood="happy"]) .dora-eyes { animation: dora-blink 5s infinite; }
  .dora-av.big[data-mood="calm"] .dora-eyes { animation: dora-blink 4.2s infinite, dora-look 9s ease-in-out infinite; }
  .dora-av.big { animation: dora-float 5s ease-in-out infinite; }
  .dora-typing .dora-av .dora-eyes { animation: dora-look 1.6s ease-in-out infinite; }
  @keyframes dora-blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.08); } }
  @keyframes dora-look { 0%, 100% { translate: 0 0; } 30% { translate: 2px -1px; } 65% { translate: -2px 0; } }
  @keyframes dora-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
  @keyframes dora-in { from { opacity: 0; transform: translateY(8px); } }
  @keyframes dora-pt { from { opacity: 0; transform: translateY(10px); } }
  @keyframes dora-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
}

.dora-thk { margin-left: 8px; color: var(--ink-3); font: 500 14px var(--font); font-style: normal; }
.dora-b p .dora-fig { font-weight: 700; color: var(--primary); font-variant-numeric: tabular-nums; white-space: nowrap; }
