:root { font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #20362f; background: #f3f4ee; line-height: 1.5; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; }
header { padding: 22px max(24px, calc((100vw - 1220px)/2)); border-bottom: 1px solid #d9dfd6; display: flex; justify-content: space-between; gap: 16px; align-items: center; background: #fbfcf7; }
.brand { color: #20362f; text-decoration: none; font-size: 18px; font-weight: 750; letter-spacing: -.5px; }
.brand span { color: #69766a; font-weight: 450; }
.local { font-size: 11px; font-weight: 650; letter-spacing: 1.2px; color: #466954; border: 1px solid #c8d6c7; padding: 6px 10px; border-radius: 20px; }
.header-tools { display: flex; align-items: center; gap: 12px; }
#ui-language { width: auto; font-size: 12px; margin: 0; padding: 5px; }
main { max-width: 1268px; padding: 32px 24px; margin: auto; }
.intro { padding: 16px 0 24px; max-width: 770px; }
.eyebrow { font-size: 11px; letter-spacing: 2px; font-weight: 750; color: #51765e; }
h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.13; letter-spacing: -1.7px; margin: 12px 0 18px; font-weight: 650; }
h2 { font-size: 18px; letter-spacing: -.4px; margin: 0 0 8px; font-weight: 680; }
p { margin: 0 0 12px; color: #607064; }
label { display: block; font-size: 13px; font-weight: 650; }
button, input, select, textarea { font: inherit; }
input, select, textarea { width: 100%; border: 1px solid #cbd5ca; border-radius: 8px; background: #fff; color: #20362f; padding: 10px 12px; margin: 6px 0 12px; }
textarea { resize: vertical; min-height: 75px; line-height: 1.55; }
button { cursor: pointer; background: #285c46; color: white; border: 1px solid #285c46; border-radius: 8px; padding: 10px 16px; font-weight: 650; font-size: 13px; line-height: 1.4; }
button:hover:not(:disabled) { background: #194532; }
button.secondary { background: #fbfcf8; border-color: #cdd6ca; color: #385443; }
button.secondary:hover:not(:disabled) { background: #eaf0e5; }
button:disabled, input:disabled, select:disabled { opacity: .5; cursor: not-allowed; }
:focus-visible { outline: 3px solid #e3ae43; outline-offset: 3px; }
.panel { padding: 24px; background: #fffefa; border: 1px solid #d7ddd2; border-radius: 14px; margin-bottom: 22px; }
.connection { display: grid; grid-template-columns: 1fr auto; gap: 0 24px; align-items: start; }
.connection button { align-self: center; }
.voice-field { max-width: 520px; grid-column: 1/-1; }
#voice-note { grid-column: 1/-1; margin: 0; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 335px; gap: 22px; align-items: start; }
.section-head, .editor-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head p { font-size: 12px; margin: 0; }
.section-head button { flex-shrink: 0; }
.card-list { max-height: 570px; overflow: auto; padding-right: 6px; margin: 20px 0; }
.card { border-top: 1px solid #e0e4da; padding: 16px 0 6px; }
.card-heading { display: flex; gap: 16px; align-items: center; justify-content: space-between; }
.card-heading label { flex: 1; }
.card-heading select { width: auto; min-width: 130px; padding: 7px; margin: 0 8px 8px; }
.card-id { font: 11px ui-monospace, monospace; color: #768172; overflow-wrap: anywhere; }
.small { font-size: 11px; padding: 6px 9px; }
.hint { font-size: 12px; line-height: 1.6; font-weight: 400; }
.editor-footer { margin: 8px 0 0; }
.confirm { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 16px; line-height: 1.55; font-weight: 450; }
.confirm input { width: 17px; height: 17px; flex-shrink: 0; margin: 2px 0 0; accent-color: #285c46; }
#start { width: 100%; margin-bottom: 14px; }
.cost { color: #214c39; font-size: 31px; font-weight: 650; line-height: 1.2; margin: 18px 0 3px; letter-spacing: -.6px; }
.cost-label { margin-bottom: 18px; }
#notice { border-left: 3px solid #527a53; padding: 10px 14px; background: #e8efdf; border-radius: 4px; font-size: 13px; margin-bottom: 22px; overflow-wrap: anywhere; }
#notice.error { border-color: #a8502d; background: #fcf0e4; color: #803d25; }
progress { width: 100%; height: 10px; accent-color: #285c46; margin-bottom: 12px; }
.actions { display: flex; gap: 8px; }
.result { display: grid; grid-template-columns: minmax(160px, 1fr) 90px minmax(150px, 280px) auto; align-items: center; gap: 14px; padding: 15px 0; border-top: 1px solid #e0e4da; }
.result p { margin: 0; color: #324c3e; font-size: 13px; overflow-wrap: anywhere; }
.result small { color: #677765; font-size: 11px; }
.status { font-size: 11px; color: #50745b; overflow-wrap: anywhere; }
.result audio { width: 100%; height: 36px; }
.empty { text-align: center; padding: 40px 15px; font-size: 13px; }
footer { text-align: center; color: #72806d; font-size: 11px; padding: 16px; }
@media (max-width: 900px) { .workspace { grid-template-columns: minmax(0, 1fr); } aside { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; } .card-list { max-height: 440px; } }
@media (max-width: 620px) { header { padding: 17px; } .local { font-size: 9px; letter-spacing: 0; } main { padding: 18px 12px; } .panel { padding: 18px; } aside { display: block; } .intro { padding: 12px 6px 20px; } .section-head { align-items: start; flex-wrap: wrap; } .connection { grid-template-columns: 1fr; gap: 12px; } .result { grid-template-columns: 1fr auto; } .result audio { grid-column: 1; } .editor-footer { align-items: flex-start; flex-direction: column; } }
