:root { color-scheme: light; --sd-accent: #2f5bea; --sd-text: #1d2433; --sd-muted: #5b6475; --sd-line: #d5dae3; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--sd-text); background: #f6f7fb; }
.sd-header, .sd-project, .sd-hero, .sd-footer { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.sd-header { padding-top: 40px; }
.sd-header h1 { margin: 0 0 8px; font-size: 32px; }
.sd-header p, .sd-hint, .sd-footer { color: var(--sd-muted); }
.sd-project { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-end; margin-top: 24px; }
.sd-field { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--sd-muted); }
.sd-field select, .sd-field input { min-width: 260px; height: 40px; padding: 0 12px; font-size: 16px; border: 1px solid var(--sd-line); border-radius: 8px; background: #fff; }
.sd-custom { display: flex; gap: 8px; align-items: flex-end; }
.sd-custom button { height: 40px; padding: 0 16px; border: 1px solid var(--sd-line); border-radius: 8px; background: #fff; cursor: pointer; }
.sd-error { flex-basis: 100%; margin: 0; color: #c62828; }
.sd-status { flex-basis: 100%; margin: 0; }
.sd-status[data-kind="ok"] { color: #1b7f3b; }
.sd-status[data-kind="error"] { color: #c62828; }
.sd-hero { margin-top: 48px; }
.sd-search { display: flex; gap: 12px; }
.sd-search input { flex: 1; height: 64px; padding: 0 20px; font-size: 22px; border: 2px solid var(--sd-line); border-radius: 16px; background: #fff; }
.sd-search input:focus { outline: none; border-color: var(--sd-accent); }
.sd-voice, .sd-submit { height: 64px; border: 0; border-radius: 16px; cursor: pointer; font-size: 18px; }
.sd-voice { width: 64px; background: #fff; color: var(--sd-accent); border: 2px solid var(--sd-line); }
.sd-submit { padding: 0 28px; background: var(--sd-accent); color: #fff; }
.sd-voice:disabled, .sd-submit:disabled, .sd-search input:disabled { opacity: .5; cursor: not-allowed; }
.sd-footer { margin-top: 48px; padding-bottom: 40px; font-size: 14px; }
@media (max-width: 640px) { .sd-search { flex-wrap: wrap; } .sd-search input { flex-basis: 100%; } .sd-submit { flex: 1; } }
@media (max-width: 640px) { .sd-field select, .sd-field input { min-width: 0; width: 100%; } .sd-project { flex-direction: column; align-items: stretch; } .sd-custom { width: 100%; } .sd-custom .sd-field { flex: 1; } }
