:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #0c110e; color: #eaf1e9; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.container { width: min(1100px, calc(100% - 40px)); margin: auto; }
.site-header { border-bottom: 1px solid #29342b; }
.header-inner { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #eaf1e9; text-decoration: none; font-size: 17px; font-weight: 750; letter-spacing: -.025em; }
.brand-mark { display: block; width: 33px; height: 33px; flex: 0 0 33px; }
.header-side { color: #93a496; font-size: 13px; }
main { padding: 58px 0 92px; min-height: calc(100vh - 145px); }
.eyebrow { color: #b8eb9d; text-transform: uppercase; letter-spacing: .18em; font-weight: 750; font-size: 11px; }
h1 { max-width: 830px; font-size: clamp(34px, 5vw, 58px); letter-spacing: -.055em; line-height: 1.1; margin: 14px 0 18px; }
.lead { max-width: 720px; color: #a7b7aa; font-size: 17px; line-height: 1.7; margin: 0 0 34px; }
.panel { border: 1px solid #2b382d; background: #151c17; border-radius: 20px; box-shadow: 0 15px 36px #0002; }
.form-panel { padding: 30px; }
label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
input { width: 100%; min-height: 48px; padding: 13px 15px; border: 1px solid #405344; border-radius: 11px; outline: none; background: #0d130f; color: #f1f8ef; }
input:focus { border-color: #b9ee9f; box-shadow: 0 0 0 3px #b9ee9f29; }
input::placeholder { color: #738576; }
.form-row { display: flex; gap: 12px; }
.form-row input { flex: 1; }
.primary, .secondary, .danger { min-height: 48px; padding: 11px 19px; border-radius: 11px; font-weight: 750; white-space: nowrap; }
.primary { background: #b9ee9f; color: #142017; border: 1px solid #b9ee9f; }
.primary:hover { background: #d2ffb9; }
.primary:disabled, .secondary:disabled { opacity: .6; cursor: wait; }
.secondary { background: #26332a; color: #e5efe5; border: 1px solid #405745; }
.secondary:hover { background: #304135; }
.danger { background: transparent; color: #ffb5a9; border: 1px solid #875047; }
.danger:hover { background: #3a2421; }
.helper { color: #8fa391; font-size: 12px; line-height: 1.65; margin: 9px 0 0; }
.status { color: #b9ee9f; font-size: 13px; margin: 14px 0 0; }
.status:empty { display: none; }
.error { color: #ffb8a8; font-size: 13px; line-height: 1.55; margin: 13px 0 0; }
.result { margin-top: 26px; overflow: hidden; }
.result-header { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 22px; padding: 26px 30px; border-bottom: 1px solid #2b382d; }
.result-header h2 { margin: 8px 0; font-size: 23px; letter-spacing: -.03em; }
.summary { color: #9bad9e; font-size: 13px; margin: 0 0 13px; }
.episode-link { color: #b9ee9f; font-size: 13px; text-decoration: none; }
.episode-link:hover { text-decoration: underline; }
.actions { display: flex; gap: 9px; flex-wrap: wrap; }
.actions .secondary, .actions .danger { min-height: 40px; padding: 8px 12px; font-size: 12px; }
.result-content { padding: 25px 30px 30px; }
.search { max-width: 460px; }
.transcript { max-height: 650px; margin-top: 18px; overflow: auto; border: 1px solid #2b382d; border-radius: 12px; background: #101612; }
.row { display: grid; grid-template-columns: 82px 1fr; gap: 18px; padding: 12px 16px; border-bottom: 1px solid #263229; font-size: 14px; line-height: 1.55; }
.row:last-child { border-bottom: 0; }
.row-title { color: #b9ee9f; background: #1b281d; font-weight: 750; }
.stamp { color: #87b993; font-size: 12px; padding-top: 3px; font-variant-numeric: tabular-nums; }
.empty { padding: 20px; color: #9bad9e; font-size: 14px; }
.more { display: block; width: 100%; border: 0; background: #1d2c20; color: #b9ee9f; padding: 13px; }
.admin-main { max-width: 1100px; }
.admin-main h1 { font-size: clamp(32px, 4vw, 48px); }
.admin-panel { padding: 28px; }
.admin-panel h2 { font-size: 20px; margin: 0 0 20px; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(270px, 1fr); gap: 20px; align-items: start; }
.admin-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }
.admin-heading h2 { margin-bottom: 7px; }
.admin-heading .secondary { min-height: 36px; padding: 6px 11px; font-size: 12px; }
.spaced { margin-top: 20px; }
.instruction-list { color: #b0c0b1; line-height: 1.7; font-size: 14px; padding-left: 20px; }
.instruction-list li + li { margin-top: 10px; }
code { color: #d7ffc2; background: #28372a; border-radius: 4px; padding: 2px 5px; }
.note { border-top: 1px solid #2b382d; padding-top: 17px; margin-top: 20px; }
footer { border-top: 1px solid #29342b; padding: 25px 0 35px; color: #819584; font-size: 12px; line-height: 1.6; }
@media (max-width: 780px) { .admin-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .container { width: min(100% - 28px, 1100px); } main { padding-top: 38px; } .header-side { display: none; } .form-panel, .admin-panel { padding: 22px; } .form-row { flex-direction: column; } .result-header, .result-content { padding: 20px; } .row { grid-template-columns: 62px 1fr; gap: 10px; padding: 11px; } }
