/* Tuva eier-app: the «Ask Tuva» screen (CRM full F10). Phone first; the same colour tokens as the other CRM screens. No inline styles (CSP). */
.askscreen{display:flex;flex-direction:column;gap:12px;padding-bottom:calc(112px + env(safe-area-inset-bottom))}
@media (min-width:900px){.askscreen{padding-bottom:24px;max-width:760px}}
.askwhat{margin:0;padding:12px 14px;border-radius:var(--radius);background:var(--surface-3);border:1px solid var(--line)}
.view .askscreen .askwhat{max-width:54ch}                               /* .view .pad > p sets 75ch: this must be as specific */
.view .askscreen > .hint{max-width:62ch}
.askchips{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
@media (max-width:899.98px){.askchips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-right:28px;-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 28px),transparent)}.askchips::-webkit-scrollbar{display:none}.askchips button{flex:none;white-space:nowrap}}
.askchips .lab{font-size:13px;color:var(--muted);margin-right:2px}
.askchips button{min-height:44px;padding:6px 14px;border-radius:999px;border:1px solid var(--line-strong);background:transparent;font-weight:600;font-size:14px;color:var(--text);text-align:left;max-width:100%}
.askchips button:hover{background:var(--surface-3)}
.askchat{display:flex;flex-direction:column;gap:10px;min-height:120px}
.askmsg{max-width:min(100%,62ch);padding:12px 14px;border-radius:16px;line-height:1.45;overflow-wrap:anywhere;display:flex;flex-direction:column;gap:8px}
.askmsg.tv{align-self:flex-start;background:var(--surface-2);border:1px solid var(--line);border-bottom-left-radius:6px;display:block}
.askmsg.tv > p + *, .askmsg.tv > ul + *, .askmsg.tv > div + *{margin-top:8px}
.askmsg.me{align-self:flex-end;background:var(--forest);color:#EEF1EC;border-bottom-right-radius:6px}
.askmsg.askerr{border-color:var(--danger);color:var(--text)}
.askmsg[aria-busy="true"]{color:var(--muted)}
.askdots{display:inline-block;animation:askpulse 1.4s cubic-bezier(.16,1,.3,1) infinite}
@keyframes askpulse{0%,100%{opacity:1}50%{opacity:.45}}
@media (prefers-reduced-motion:reduce){.askdots{animation:none}}
.askpeople{list-style:none;margin:8px 0 0;padding:0}
.askpeople li{display:flex;justify-content:space-between;align-items:baseline;gap:4px 12px;flex-wrap:wrap;padding:7px 0;border-top:1px solid var(--line)}
.askpeople li:first-child{border-top:0}
.askname{font-weight:700;min-width:0;overflow-wrap:anywhere}
.askpeople .hint{font-variant-numeric:tabular-nums}
#sheet .askpeople li{display:block;padding:0}
.askbtns{margin-top:10px}
.askbtns .btn{white-space:normal;text-align:center}
.askex{flex-direction:column;align-items:flex-start}
.askex .btn{text-align:left;justify-content:flex-start}
.askphone{white-space:pre-wrap;padding:12px 14px;border-radius:14px;background:var(--surface-3);border:1px solid var(--line-strong);font-size:15px;max-width:44ch}
.askbar{display:flex;gap:10px;align-items:stretch;padding-top:4px}
.askbar .input{flex:1;min-width:0;min-height:48px}
.askbar .btn{flex:none}
.askbar .btn:disabled{opacity:.55;cursor:progress}
@media (prefers-color-scheme: light){:root:not([data-theme="dark"]) .askmsg.me{background:var(--forest-2);color:#F6F4EE}}
:root[data-theme="light"] .askmsg.me{background:var(--forest-2);color:#F6F4EE}
