@layer wertigo.features{.speech-result-modal__dialog{--app-modal-dialog-gap:0;--app-modal-dialog-padding:0;border-radius:var(--ds-radius-xl)}.speech-result-modal{flex-direction:column;min-height:0;max-height:95dvh;display:flex;overflow:hidden}.speech-result-modal__header{background:var(--ds-ink);color:var(--ds-on-brand);grid-template-columns:auto minmax(0,1fr);align-items:center;gap:16px;padding:28px 68px 28px 28px;display:grid}.speech-result-modal__body{flex-direction:column;flex:auto;gap:14px;min-height:0;padding:22px 24px 24px;display:flex}.speech-result-modal__download-error,.speech-result-modal__empty,.speech-result-modal__header h2,.speech-result-modal__header p,.speech-result-modal__plain-text,.speech-result-modal__segments,.speech-result-modal__segments p{margin:0}.speech-result-modal__header h2{color:var(--ds-on-brand);font-size:var(--ds-text-2xl);font-weight:var(--ds-weight-bold);letter-spacing:-.025em;line-height:1.15}.speech-result-modal__header p{color:#ffffff9e;font-size:var(--ds-text-md);margin-top:7px;line-height:1.5}.speech-result-modal__download-error{color:var(--ds-subtle);font-size:var(--ds-text-xs);text-align:right;line-height:1.4}.speech-result-modal__icon{border-radius:var(--ds-radius-lg);width:56px;height:56px;color:var(--ds-on-brand);background:linear-gradient(145deg,#ea5555f2,#be324af2);border:1px solid #ffffff1f;justify-content:center;align-items:center;display:inline-flex;box-shadow:0 12px 28px #be324a4d}.speech-result-modal__icon svg{width:28px;height:28px}.speech-result-modal__meta{flex-wrap:wrap;gap:8px;display:flex}.speech-result-modal__meta span{border-radius:var(--ds-radius-pill);color:#b93847;font-size:var(--ds-text-sm);font-weight:var(--ds-weight-bold);background:#ea555517;padding:7px 10px}.speech-result-modal__meta span:nth-child(2){color:#6941c6;background:#8b5cf617}.speech-result-modal__meta span:nth-child(3){color:#0e7490;background:#0e749017}.speech-result-modal__view-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.speech-result-modal__transcript-wrap{border:1px solid var(--ds-line);border-radius:var(--ds-radius-lg);background:linear-gradient(180deg,var(--ds-surface) 0,var(--ds-surface) 100%);min-height:160px;max-height:min(48dvh,520px);position:relative;overflow:hidden;box-shadow:0 10px 30px #2e23430f}.speech-result-modal__transcript-wrap--scrollable{padding-right:12px}.speech-result-modal__transcript-wrap--scrollable:before{border-radius:var(--ds-radius-pill);content:"";pointer-events:none;background:#ea55551f;width:6px;position:absolute;top:6px;bottom:6px;right:4px}.speech-result-modal__transcript{min-height:0;max-height:inherit;scrollbar-width:none;overflow:hidden auto}.speech-result-modal__transcript::-webkit-scrollbar{display:none}.speech-result-modal__scrollbar{border-radius:var(--ds-radius-pill);background:linear-gradient(180deg,var(--ds-brand),var(--ds-brand-hover));opacity:0;width:6px;position:absolute;top:6px;right:4px}.speech-result-modal__transcript-wrap--scrollable .speech-result-modal__scrollbar{opacity:1}.speech-result-modal__segments{padding:0;list-style:none}.speech-result-modal__segments li{grid-template-columns:116px minmax(0,1fr);align-items:start;gap:18px;padding:16px 18px;display:grid}.speech-result-modal__segments li+li{border-top:1px solid var(--ds-surface-muted)}.speech-result-modal__segments li:nth-child(2n){background:#8b5cf606}.speech-result-modal__segment-meta{min-width:0;color:var(--ds-subtle);font-size:var(--ds-text-xs);font-variant-numeric:tabular-nums;flex-direction:column;align-items:flex-start;gap:7px;line-height:1.3;display:flex}.speech-result-modal__segment-meta>span{border-radius:var(--ds-radius-sm);background:var(--ds-ink);color:var(--ds-on-brand);font-weight:var(--ds-weight-bold);padding:4px 7px}.speech-result-modal__segment-meta strong{border-radius:var(--ds-radius-sm);max-width:100%;font-weight:var(--ds-weight-bold);text-overflow:ellipsis;white-space:nowrap;background:#8b5cf617;padding:3px 7px;overflow:hidden}.speech-result-modal__empty,.speech-result-modal__plain-text,.speech-result-modal__segments p{color:var(--ds-ink);font-size:var(--ds-text-md);overflow-wrap:anywhere;line-height:1.65}.speech-result-modal__plain-text{white-space:pre-wrap;padding:20px 18px}.speech-result-modal__empty{text-align:center;padding:28px 18px}.speech-result-modal__actions{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;display:grid}.speech-result-modal__downloads{border-radius:var(--ds-radius-md);background:#ea55550f;border:1px solid #ea555524;justify-self:end;align-items:center;gap:3px;min-width:0;padding:4px;display:flex}.speech-result-modal__download-mark,.speech-result-modal__downloads button{justify-content:center;align-items:center;min-width:42px;min-height:38px;display:inline-flex}.speech-result-modal__download-mark{min-width:32px;color:var(--ds-brand-hover)}.speech-result-modal__download-mark svg{width:19px;height:19px}.speech-result-modal__downloads button{border-radius:var(--ds-radius-md);color:var(--ds-text);cursor:pointer;font-size:var(--ds-text-sm);font-weight:var(--ds-weight-bold);background:0 0;border:1px solid #0000;padding:0 10px}.speech-result-modal__close{border-radius:var(--ds-radius-md);background:var(--ds-surface);min-height:42px;color:var(--ds-ink);font:inherit;font-size:var(--ds-text-md);font-weight:var(--ds-weight-bold);cursor:pointer;border:1px solid #11182717;justify-content:center;align-items:center;padding:0 14px;text-decoration:none;display:inline-flex}.speech-result-modal__downloads button:hover{background:var(--ds-surface);color:#b93847;border-color:#ea55552e}.speech-result-modal__close:hover{background:var(--ds-brand-soft);border-color:#ea55554d}.speech-result-modal__close:focus-visible,.speech-result-modal__downloads button:focus-visible{outline-offset:2px;outline:3px solid #ea555538}.speech-result-modal__close{background:var(--ds-surface-soft);align-self:stretch}@media (max-width:640px){.speech-result-modal__view-options{grid-template-columns:1fr}.speech-result-modal__dialog{border-radius:20px 20px 0 0}.speech-result-modal,.speech-result-modal__dialog{max-height:calc(100dvh - 12px)}.speech-result-modal__header{gap:12px;padding:17px 54px 17px 18px}.speech-result-modal__header h2{font-size:var(--ds-text-xl)}.speech-result-modal__header p{font-size:var(--ds-text-xs);margin-top:4px;line-height:1.35}.speech-result-modal__icon{border-radius:var(--ds-radius-lg);width:44px;height:44px}.speech-result-modal__icon svg{width:23px;height:23px}.speech-result-modal__body{padding:14px 14px max(12px,env(safe-area-inset-bottom));gap:10px}.speech-result-modal__meta{gap:5px}.speech-result-modal__meta span{font-size:var(--ds-text-2xs);padding:5px 7px}.speech-result-modal__transcript-wrap{min-height:140px;max-height:min(45dvh,420px)}.speech-result-modal__segments li{grid-template-columns:minmax(0,1fr);gap:10px;padding:14px}.speech-result-modal__segment-meta{flex-direction:row;align-items:center;gap:8px}.speech-result-modal__actions{grid-template-columns:auto minmax(0,1fr);gap:8px}.speech-result-modal__actions .UiButton{--ui-button-padding:10px;font-size:var(--ds-text-sm)}.speech-result-modal__downloads{justify-self:stretch;gap:2px;width:100%}.speech-result-modal__download-mark{min-width:26px}.speech-result-modal__downloads a{flex:1 1 0;min-width:0;padding:0 5px}.speech-result-modal__expires{font-size:var(--ds-text-2xs)}.speech-result-modal__close{min-height:40px}}}
