:root { color-scheme: light; font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #26343b; background: #f5f7f8; accent-color: #137967; }
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; } [hidden] { display: none !important; }
button,input,textarea { font: inherit; color: inherit; } button,a { -webkit-tap-highlight-color: transparent; }
button,a { cursor: pointer; } button { border: 1px solid #c8d4da; background: white; border-radius: 6px; padding: 8px 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; }
button:hover { background: #edf5f2; } button:disabled { opacity: .5; cursor: not-allowed; }
button.primary { background: #137967; color: #fff; border-color: #137967; } button.primary:hover { background: #0d6153; }
a { color: #176a9a; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; } a:hover { text-decoration: underline; }
svg { width: 20px; height: 20px; flex-shrink: 0; } .icon { width: 40px; height: 40px; padding: 8px; flex-shrink: 0; }
.danger,.error { color: #b43829; } .error:empty { display: none; }
header { padding: 16px 24px; min-height: 72px; border-bottom: 1px solid #d8e1e6; background: #fff; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand,nav { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; } .brand>svg { color: #137967; } .brand strong { font-size: 23px; } #device { font-size: 13px; color: #697980; }
main { display: grid; grid-template-columns: minmax(220px,280px) minmax(320px,1fr) minmax(240px,320px); max-width: 1700px; margin: auto; min-height: calc(100vh - 73px); }
aside,.composer { padding: 24px; min-width: 0; } .composer { background: white; border-inline: 1px solid #d8e1e6; }
.heading { display: flex; align-items: center; gap: 12px; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; } h1,h2,p { margin: 0; } h1 { font-size: 22px; } h2 { font-size: 18px; } .heading>span, #chars { color: #718189; font-size: 13px; }
.tabs { display: flex; border-bottom: 1px solid #d8e1e6; margin-bottom: 18px; } .tabs button { flex: 1; border: 0; border-radius: 0; background: transparent; padding-inline: 6px; }
.tabs [aria-selected="true"] { border-bottom: 2px solid #137967; color: #137967; font-weight: 650; }
.voice,.job { width: 100%; text-align: left; align-items: start; justify-content: start; margin-bottom: 10px; min-height: 74px; padding: 12px; background: white; }
.voice .details,.job { display: flex; flex-direction: column; min-width: 0; gap: 4px; } .voice strong,.job strong { overflow-wrap: anywhere; } .voice small,.job small { color: #738189; font-size: 13px; }
.voice[aria-pressed="true"],.job[aria-pressed="true"] { border-color: #137967; background: #edf7f3; box-shadow: inset 3px 0 #137967; }
.job-row { position: relative; min-width: 0; }
.job-row .job { padding-right: 58px; height: calc(100% - 10px); }
.delete-job { position: absolute; top: 8px; right: 8px; color: #687980; background: transparent; border-color: transparent; }
.delete-job:hover { color: #b43829; background: #fff1ee; }
.voice>svg { margin-top: 4px; color: #4878a4; } #voice-actions { display: flex; gap: 8px; margin-top: 18px; } #share { flex: 1; }
input:not([type="range"]):not([type="checkbox"]),textarea { width: 100%; padding: 10px 12px; border: 1px solid #c8d4da; border-radius: 5px; background: #fff; min-width: 0; }
input:focus-visible,textarea:focus-visible,button:focus-visible,a:focus-visible { outline: 2px solid #308cbb; outline-offset: 2px; }
textarea { resize: vertical; } #script { min-height: 250px; } label { font-weight: 550; } .actions { display: flex; justify-content: end; gap: 10px; margin-top: 16px; flex-wrap: wrap; } #generate { min-width: 150px; }
.result { border-top: 1px solid #d8e1e6; margin-top: 28px; padding-top: 24px; } #result-title { overflow-wrap: anywhere; display: block; } #job-message { margin: 12px 0; color: #687980; } #job-status { font-size: 13px; }
audio { width: 100%; max-width: 100%; height: 44px; margin: 18px 0; } fieldset { border: 0; margin: 12px 0; padding: 0; } legend { font-weight: 650; padding-bottom: 14px; }
.sliders { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; } .sliders label { font-size: 13px; } input[type="range"] { width: 100%; margin: 12px 0; } output { float: right; color: #137967; font-variant-numeric: tabular-nums; }
.downloads { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; padding-top: 14px; border-top: 1px solid #d8e1e6; }
dialog { border: 1px solid #c8d4da; border-radius: 8px; width: min(580px,calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 28px; box-shadow: 0 16px 60px #1f343b29; } dialog::backdrop { background: #21373c60; }
dialog label:not(.check) { display: block; margin: 20px 0 8px; } dialog textarea { min-height: 110px; } .check { display: flex; gap: 10px; align-items: center; margin: 16px 0; } .check input { width: 18px; height: 18px; flex-shrink: 0; }
dialog .transcript-heading { margin: 20px 0 8px; flex-wrap: nowrap; } dialog .transcript-heading label { margin: 0; } #transcript:read-only { background: #f5f7f8; }
#transcription-status { margin-top: 10px; color: #557268; } #people-search { margin-top: 16px; } #people { max-height: 330px; overflow: auto; margin-top: 14px; } #people label { font-weight: 400; padding: 8px 4px; border-bottom: 1px solid #e5ebee; margin: 0; overflow-wrap: anywhere; }
#notice { margin: 24px; padding: 20px; border: 1px solid #e4ce9d; background: #fff8e9; } #toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 12px 20px; color: white; background: #263d39; border-radius: 6px; z-index: 20; }
@media (max-width: 1050px) { main { grid-template-columns: 240px minmax(0,1fr); } .history { grid-column: 1/-1; border-top: 1px solid #d8e1e6; } #jobs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; } }
@media (max-width: 620px) { header { padding: 12px 16px; flex-wrap: wrap; } nav { gap: 12px; font-size: 13px; } main { display: block; } aside,.composer { padding: 20px 16px; } .composer { border: 0; border-block: 1px solid #d8e1e6; } #voices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; } .voice { margin: 0; padding: 10px; } #jobs { grid-template-columns: 1fr; } .sliders { grid-template-columns: 1fr; gap: 4px; } dialog { padding: 20px; } .brand { gap: 10px; } }
