@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:var(--ds-on-dark-muted);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);background:linear-gradient(145deg,var(--ds-brand),var(--ds-brand-hover));width:56px;height:56px;box-shadow:none;color:var(--ds-on-brand);border:1px solid #0000;justify-content:center;align-items:center;display:inline-flex}.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);font-size:var(--ds-text-sm);font-weight:var(--ds-weight-bold);padding:7px 10px}.speech-result-modal__meta span,.speech-result-modal__meta span:nth-child(2),.speech-result-modal__meta span:nth-child(3){background:var(--ds-brand-tint);color:var(--ds-brand-strong)}.speech-result-modal__view-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.speech-result-modal__transcript-wrap{--app-scroll-track-top:6px;--app-scroll-track-bottom:6px;--app-scroll-track-right:4px;--app-scroll-size:6px;--app-scroll-gutter:12px;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:calc(min(48dvh,520px));box-shadow:none;position:relative;overflow:hidden}.speech-result-modal__transcript{min-height:0;max-height:inherit}.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:var(--ds-brand-soft)}.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);background:var(--ds-brand-tint);max-width:100%;font-weight:var(--ds-weight-bold);text-overflow:ellipsis;white-space:nowrap;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:1px solid var(--ds-brand-soft-line);border-radius:var(--ds-radius-md);background:var(--ds-brand-soft);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:1px solid var(--ds-line);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;justify-content:center;align-items:center;padding:0 14px;text-decoration:none;display:inline-flex}.speech-result-modal__downloads button:hover{border-color:var(--ds-brand-soft-line);background:var(--ds-surface);color:var(--ds-brand-strong)}.speech-result-modal__close:hover{border-color:var(--ds-brand-soft-line);background:var(--ds-brand-soft)}.speech-result-modal__close:focus-visible,.speech-result-modal__downloads button:focus-visible{box-shadow:var(--ds-focus-ring);outline:none}.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:var(--ds-radius-xl) var(--ds-radius-xl) 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:calc(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}}}
