/* Current production UI: red accents and top tabs remain the shared foundation. */
:root { --text-muted: #707782; --radius: 10px; --radius-sm: 7px; --shadow-sm: none; --shadow-md: 0 8px 24px rgb(20 28 40 / 8%); }
body { font-family: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 14px; line-height: 1.6; }
button, input, select, textarea { font-family: inherit; }
.navbar { background: #fff; backdrop-filter: none; }
.navbar-top { padding-block: 16px; }
.main-tabs { gap: 8px; padding-bottom: 12px; }
.main-tab { min-height: 36px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; }
.main-tab.active { background: var(--accent-subtle); color: var(--accent); border-color: transparent; box-shadow: none; font-weight: 600; }
.nav-oauth-btn, .settings-btn { border-radius: var(--radius-sm); }
.container { padding-top: 28px; }
body :is(#tab-channel, #tab-community, #tab-ideas, #tab-bookmarks, #tab-subtitle-correction, #tab-subtitle, #tab-metadata) > .tab-panel { padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; overflow: visible; }
body :is(.channel-hero, .community-hero, .ideas-hero, .metadata-hero, .subtitle-hero, .correction-hero) { padding: 0; margin-bottom: 24px; border: 0; background: transparent; box-shadow: none; align-items: center; }
body :is(.channel-hero, .community-hero, .ideas-hero, .metadata-hero, .subtitle-hero, .correction-hero) h1 { font-size: 22px; font-weight: 700; line-height: 1.35; color: var(--text-primary); margin: 0; letter-spacing: -.5px; text-transform: none; }
body :is(.channel-hero, .community-hero, .ideas-hero, .metadata-hero, .subtitle-hero, .correction-hero) p { font-size: 13px; line-height: 1.6; margin: 6px 0 0; color: var(--text-secondary); }
body :is(.community-kicker, .correction-kicker, .meta-section-kicker, .subtitle-section-kicker) { font-size: 11px; font-weight: 500; letter-spacing: .2px; color: var(--text-muted); }
body :is(.ch-section-title, .ideas-section-title, .meta-section-title, .community-section-title, .subtitle-section-title) { font-size: 16px; font-weight: 600; }
body :is(.channel-overview, .channel-section, .meta-input-card, .meta-result-card, .meta-progress, .subtitle-control-card, .subtitle-card, .subtitle-run-card, .correction-card, .community-persona-card, .community-comment-card, .idea-card) { border: 1px solid var(--border-light); border-radius: var(--radius); background: #fff; box-shadow: none; }
body :is(.meta-input-card, .meta-result-card, .meta-progress, .subtitle-control-card, .subtitle-card, .subtitle-run-card, .community-persona-card) { margin: 0 0 16px; padding: 20px; }
body :is(.correction-card, .channel-section) { padding: 20px; }
body .channel-dashboard { padding: 0; gap: 20px; }
body :is(.ch-profile, .ch-stat-card) { background: #fff; box-shadow: none; }
body .ch-stat-card .val { font-size: 28px; }
body .ch-video-grid { gap: 0; }
body .ch-video-item { border: 0; border-bottom: 1px solid var(--border-light); border-radius: 0; background: transparent; box-shadow: none; }
body .ch-video-item:hover { border-color: var(--border-light); background: var(--bg-page); box-shadow: none; transform: none; }
body .ch-video-expand { background: var(--bg-page); border: 0; border-bottom: 1px solid var(--border-light); border-radius: 0; }
body .ch-avg-row { padding: 10px 0; border: 0; border-bottom: 1px solid var(--border-light); border-radius: 0; background: transparent; }
body .ch-avg-row span { color: var(--text-muted); font-weight: 500; }
body :is(.ch-analytics-section, .ch-detail-stat) { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
body .ch-analytics-section { border-top: 1px solid var(--border-light); padding: 20px 0; }
body :is(.ch-filter-tabs, .bookmark-filter, .lang-tabs, .meta-lang-tabs, .preview-lang-bar) { border: 0; padding: 0; background: transparent; box-shadow: none; gap: 4px; }
body :is(.ch-filter-tab, .bookmark-filter-btn, .lang-tab, .meta-lang-tab, .preview-lang-btn) { border-radius: var(--radius-sm); font-size: 12px; font-weight: 500; box-shadow: none; }
body :is(.ch-filter-tab, .bookmark-filter-btn, .lang-tab, .meta-lang-tab, .preview-lang-btn).active { background: var(--accent-subtle); color: var(--accent); border-color: transparent; box-shadow: none; }
body :is(.btn, .btn-copy, .meta-action-btn, .subtitle-action-btn, .subtitle-file-btn, .subtitle-zip-btn, .ideas-action-btn, .community-action-btn, .correction-primary-btn, .correction-secondary-btn, .ch-detail-action-btn) { border-radius: var(--radius-sm); min-height: 36px; padding: 8px 14px; font-size: 13px; font-weight: 600; line-height: 1.4; box-shadow: none; transform: none; }
body :is(.btn-primary, .meta-action-primary, .subtitle-action-primary, .ideas-action-primary, .community-action-primary, .correction-primary-btn, .ch-detail-action-primary, .subtitle-zip-btn) { background: var(--accent); border: 1px solid var(--accent); color: #fff; }
body :is(.btn-primary, .meta-action-primary, .subtitle-action-primary, .ideas-action-primary, .community-action-primary, .correction-primary-btn, .ch-detail-action-primary, .subtitle-zip-btn):hover:not(:disabled) { background: var(--accent-hover); border-color: var(--accent-hover); box-shadow: none; transform: none; }
body :is(.btn-secondary, .btn-copy, .ideas-action-short, .community-action-secondary, .subtitle-file-btn, .correction-secondary-btn, .ch-detail-action-secondary) { border: 1px solid var(--border); background: #fff; color: var(--text-secondary); }
body :is(.btn-secondary, .btn-copy, .ideas-action-short, .community-action-secondary, .subtitle-file-btn, .correction-secondary-btn, .ch-detail-action-secondary):hover { background: var(--bg-page); box-shadow: none; transform: none; }
body :is(.meta-section-head, .subtitle-section-head, .channel-section-head, .ideas-section-head, .community-section-head) { margin-bottom: 16px; }
body .meta-block { padding: 16px 0; background: transparent; border: 0; border-top: 1px solid var(--border-light); border-radius: 0; }
body :is(.meta-generation-status, .meta-geo-analysis, .meta-video-preview, .meta-video-source-status) { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
body :is(.meta-title-option, .meta-thumbnail-option) { border-radius: var(--radius-sm); box-shadow: none; }
body .meta-title-option.selected { background: var(--accent-subtle); border-color: var(--accent); }
body :is(.ideas-result-section, .ideas-research-grid, .ideas-chat-section, .ideas-progress, .community-toolbar) { margin-inline: 0; }
body .ideas-result-section { padding: 0; }
body :is(.idea-signal-card, .idea-rank-medal, .idea-ref) { border: 0; background: transparent; box-shadow: none; }
body .idea-card:hover { border-color: var(--border); box-shadow: none; transform: none; }
body .idea-actions { background: transparent; }
body .community-toolbar { padding: 12px 0; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; box-shadow: none; }
body :is(.community-draft-area, .community-comment-body) { background: transparent; box-shadow: none; }
body :is(#tab-metadata, #tab-subtitle) .lang-item { border: 0; border-radius: var(--radius-sm); box-shadow: none; padding: 8px 10px; }
body :is(#tab-metadata, #tab-subtitle) .lang-item:has(input:checked) { background: var(--bg-page); border: 0; }
body :is(#tab-metadata, #tab-subtitle) .lang-item:hover { background: var(--accent-subtle); box-shadow: none; }
body :is(#tab-metadata, #tab-subtitle) .lang-item label { font-weight: 500; line-height: 1.4; }
body :is(input[type=text], input[type=password], select, textarea) { border-radius: var(--radius-sm); font-size: 13px; }
body select { padding-right: 32px; }
body textarea { line-height: 1.6; }
body :is(.helper-text, .correction-help, .settings-hint) { font-size: 12px; font-weight: 400; }
body :is(.meta-block textarea, #metaBrief, .community-persona-card textarea, .correction-cue textarea) { font-family: inherit; }
body .settings-panel { background: #fff; }
body .settings-section { border: 0; border-bottom: 1px solid var(--border-light); border-radius: 0; padding: 16px 0; box-shadow: none; }
body .correction-limit { border: 0; padding: 0; font-size: 12px; font-weight: 500; }
body .correction-dropzone { min-height: 140px; padding: 24px; border-width: 1px; background: var(--bg-page); transform: none; }
body .correction-file-info > div { padding: 8px 0; border: 0; background: transparent; }
body .correction-paid-notice { border: 0; background: transparent; padding-inline: 0; }
.correction-source { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); padding-inline: 20px; }
.correction-source > summary { cursor: pointer; padding: 12px 0; font-size: 13px; font-weight: 500; color: var(--text-secondary); }
body .correction-source > .correction-card { padding: 4px 0 20px; border: 0; }
body .correction-result-head { align-items: center; gap: 12px; margin-bottom: 12px; }
body .correction-result-head h2 { font-size: 16px; font-weight: 600; margin: 2px 0 4px; }
body .correction-result-head p { font-size: 12px; margin: 0; }
body .correction-progress-head h2 { font-size: 16px; }
:where(button, a, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media (max-width: 900px) { .main-tabs { gap: 4px; } .main-tab { font-size: 11px; } }

body .subtitle-correction-workspace { gap: 16px; }
body .correction-hero { margin-bottom: 0; }
body .correction-timeline-toolbar label { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; white-space: nowrap; margin-bottom: 0; }
body .correction-timeline-toolbar select { width: auto; min-width: 64px; padding: 4px 8px; font-size: 12px; }
