:root {
  color-scheme: dark;
  --bg: #0b0c10;
  --card: #13151b;
  --ink: #f3f4f7;
  --muted: #969cae;
  --line: #292c36;
  --accent: #ff3549;
  --dark: #090a0e;
  --radius: 14px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  font-size: 14px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); }
::selection { background: #9b2036; color: #fff; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: wait; opacity: .55; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid #ff7180; outline-offset: 4px; }
[hidden] { display: none !important; }
.muted, .hint { color: var(--muted); }
.eyebrow { font-size: 10px; letter-spacing: 2px; font-weight: 750; }
.button { border: 1px solid #353947; background: #1a1d25; color: #f3f4f7; border-radius: 7px; padding: 12px 17px; display: inline-flex; gap: 12px; justify-content: center; align-items: center; font-size: 12px; font-weight: 700; min-height: 42px; }
.button span:last-child { margin-left: 10px; }
.primary, .dark-button { background: linear-gradient(135deg, #e42137, #bd1432); border-color: #f04459; color: #fff; box-shadow: 0 4px 20px #ee203125, inset 0 1px 0 #ffffff20; }
.subtle { background: #ffffff03; }
.danger { color: #ff8997; }
.button:hover { background-color: #272b36; border-color: #6d4654; }
.primary:hover, .dark-button:hover { background: linear-gradient(135deg, #f33248, #d81b3b); border-color: #ff6e7e; box-shadow: 0 4px 24px #ee203140; }
.full { width: 100%; }
.text-button { padding: 0; border: 0; background: none; color: var(--muted); font-size: 11px; }
.text-button:hover { color: #fff; }
.brand { display: flex; align-items: center; white-space: nowrap; font-size: 19px; letter-spacing: -.9px; font-weight: 800; }
.brand .muted { font-weight: 450; color: #9196a6; }
.brand-mark { margin-right: 10px; background: linear-gradient(145deg, #ff4353, #bf1230); border: 1px solid #ff697760; border-radius: 9px; width: 34px; height: 34px; display: grid; place-items: center; color: #fff; box-shadow: 0 0 24px #ff30472b; flex-shrink: 0; }
.brand-mark svg { width: 15px; height: 17px; fill: currentColor; margin-left: 2px; }
.shell { display: flex; min-height: 100vh; }
.sidebar { background: linear-gradient(180deg, #101116, #090a0e 70%); color: #e4e5eb; border-right: 1px solid #242630; width: 244px; flex-shrink: 0; position: fixed; top: 0; bottom: 0; padding: 35px 22px; display: flex; flex-direction: column; z-index: 10; }
.sidebar > .brand { margin-bottom: 48px; }
.nav-label { font-size: 9px; letter-spacing: 1.6px; color: #8d92a2; display: flex; align-items: center; justify-content: space-between; margin: 0 11px 16px; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 13px; border: 1px solid transparent; color: #a6abba; background: none; padding: 13px 11px; text-align: left; border-radius: 7px; font-size: 12px; margin-bottom: 4px; position: relative; }
.nav-item > span { font-size: 19px; line-height: 20px; width: 20px; text-align: center; }
.nav-item:hover, .channel-item:hover { color: #fff; background: #ffffff05; }
.nav-item.active { background: linear-gradient(90deg, #ff354919, #ff354906); border-color: #ff354923; color: #ff8190; }
.nav-item.active::before { content: ""; position: absolute; left: -1px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 14px #ff354980; }
.nav-item small { margin-left: auto; background: #39303b; color: #ead9df; padding: 2px 6px; border-radius: 4px; font-size: 10px; }
.channel-section { margin-top: 38px; border-top: 1px solid var(--line); padding-top: 24px; }
.nav-label button { font-size: 19px; color: #b2b7c6; background: none; border: 0; line-height: 18px; }
.channel-item { width: 100%; display: flex; gap: 10px; align-items: center; padding: 11px 10px; color: #a6abba; border: 0; background: none; border-radius: 7px; font-size: 11px; text-align: left; }
.channel-item.selected { background: #1b1d26; color: #f0f1f6; }
.channel-item i { width: 7px; height: 7px; border-radius: 2px; background: #ed576d; flex-shrink: 0; box-shadow: 0 0 10px #ed576d30; }
.channel-item:nth-child(2n) i { background: #9d8ff0; box-shadow: 0 0 10px #9d8ff030; }
.channel-item b { font-size: 9px; color: #9095a8; margin-left: auto; }
.sidebar-bottom { border: 1px solid #34303b; border-radius: 9px; position: relative; margin-top: auto; padding: 17px 13px 15px; background: radial-gradient(ellipse at 0 0, #a727421c, transparent 80%); }
.sidebar-bottom strong { font-size: 11px; display: block; margin-left: 15px; }
.sidebar-bottom > span { display: block; font-size: 9px; color: #969bac; margin: 5px 0 20px 15px; }
.producer-dot { position: absolute; left: 13px; top: 20px; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 9px #ff354980; }
.workspace { margin-left: 244px; flex: 1; min-width: 0; background: radial-gradient(ellipse 70% 480px at 90% 0, #96203909, transparent); }
.topbar { height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 0 42px; font-size: 11px; background: #0c0d12bb; }
.topbar .muted { font-size: 9px; letter-spacing: 1.3px; }
.divider { margin: 0 16px; color: #575e70; }
.topbar-right { display: flex; gap: 23px; align-items: center; }
.isolation { font-size: 10px; color: #999faf; display: flex; align-items: center; gap: 7px; }
.isolation i { height: 5px; width: 5px; border-radius: 50%; background: #66c9a3; box-shadow: 0 0 8px #66c9a333; }
.avatar { display: grid; place-items: center; background: #23212b; border: 1px solid #4c3443; color: #ffc3cc; width: 32px; height: 32px; border-radius: 9px; font-size: 10px; font-weight: 700; }
#content { max-width: 1450px; margin: auto; padding: 40px 42px 50px; min-height: calc(100vh - 145px); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 34px; letter-spacing: -1.4px; line-height: 1.15; font-weight: 750; margin-bottom: 12px; }
h2 { font-size: 22px; letter-spacing: -.7px; font-weight: 750; margin-bottom: 9px; }
h3 { font-size: 14px; font-weight: 700; }
p { line-height: 1.65; color: #a1a7b7; font-size: 12px; }
.page-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; gap: 20px; }
.page-heading p { margin: 0; }
.heading-actions { display: flex; gap: 9px; }
.hero { min-height: 277px; display: grid; grid-template-columns: 1.2fr 1fr; overflow: hidden; position: relative; isolation: isolate; background: radial-gradient(ellipse at 86% 40%, #b0203636, transparent 55%), linear-gradient(110deg, #191a22, #161018); border: 1px solid #50303e; border-radius: var(--radius); margin-bottom: 24px; box-shadow: 0 12px 50px #0003, inset 0 1px 0 #ffffff06; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(#ff617209 1px, transparent 1px), linear-gradient(90deg, #ff617209 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(90deg, transparent 20%, #000); }
.hero::after { content: ""; position: absolute; left: 35px; right: 35px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, #ff506d90, transparent); }
.hero-copy { padding: 33px 35px; position: relative; z-index: 1; }
.hero .eyebrow { color: #ff8c9a; letter-spacing: 1.8px; font-size: 9px; }
.hero h2 { font-size: 33px; line-height: 1.16; letter-spacing: -1.3px; max-width: 460px; margin: 16px 0 12px; font-weight: 800; }
.hero h2 em { font-style: normal; color: #ff586c; text-shadow: 0 0 32px #ff354930; }
.hero p { font-size: 11px; max-width: 350px; color: #abb0bf; }
.hero .button { background: #ffffff07; border-color: #51404c; }
.hero .button:hover { border-color: #ff586c; background: #ff354912; }
.hero-art { position: relative; min-height: 277px; overflow: hidden; }
.hero-art::before, .hero-art::after { content: ""; position: absolute; border: 1px solid #ff556a23; border-radius: 50%; width: 300px; height: 300px; top: -10px; left: 28px; box-shadow: 0 0 30px #ff354907, inset 0 0 30px #ff354907; }
.hero-art::after { width: 410px; height: 410px; left: -25px; top: -65px; border-style: dashed; }
.mini-short { width: 116px; height: 197px; border-radius: 12px; position: absolute; box-shadow: 0 20px 32px #0007, inset 0 1px 0 #ffffff20; border: 1px solid #ffffff20; overflow: hidden; z-index: 1; padding: 16px 12px; display: flex; flex-direction: column; justify-content: space-between; }
.mini-short small { font-size: 6px; letter-spacing: 1px; color: #ffffffd0; position: relative; z-index: 1; }
.mini-short strong { font-size: 23px; letter-spacing: -.9px; line-height: 1.05; font-weight: 850; position: relative; z-index: 1; }
.mini-short em { font-style: normal; font-size: 6px; letter-spacing: 1.4px; color: #fff9; }
.mini-one { background: linear-gradient(155deg, #252936, #0c0c14); color: #f4f3f7; transform: rotate(-12deg); left: 48px; top: 47px; }
.mini-one::after { content: ""; position: absolute; right: -60px; top: 32px; border: 1px solid #ff556a70; border-radius: 50%; height: 150px; width: 150px; box-shadow: 0 0 35px #ff354920, inset 0 0 35px #ff354920; }
.mini-two { background: linear-gradient(155deg, #f33850, #960c30); color: #fff; transform: rotate(10deg); left: 180px; top: 27px; }
.mini-two::after { content: ""; position: absolute; right: -12px; top: 65px; width: 110px; height: 115px; background: #fff1; clip-path: polygon(18% 0, 100% 50%, 18% 100%); transform: rotate(-10deg); }
.art-pill { position: absolute; z-index: 2; bottom: 28px; left: 90px; background: #16131eeb; border: 1px solid #613446; box-shadow: 0 5px 20px #0005; border-radius: 6px; padding: 10px 14px; font-size: 9px; white-space: nowrap; backdrop-filter: blur(8px); }
.art-pill span { color: #ff7185; margin-right: 6px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 32px; }
.stat { border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(140deg, #191b23, #111319); padding: 18px 20px; position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; bottom: 0; left: 20px; width: 28px; height: 2px; background: #e93b57; box-shadow: 0 0 14px #ff354945; }
.stat-top { display: flex; justify-content: space-between; align-items: center; font-size: 10px; color: #a1a7b7; gap: 8px; }
.stat-top span:last-child { font-size: 16px; color: #b96f83; }
.stat strong { display: block; font-size: 29px; font-weight: 750; letter-spacing: -.7px; margin: 13px 0 7px; }
.stat small { font-size: 9px; color: #9299ab; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin: 24px 0 16px; }
.section-heading h2 { font-size: 16px; margin: 0; letter-spacing: -.3px; }
.section-heading span { font-size: 10px; color: #9ba2b4; }
.channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.channel-card { border: 1px solid var(--line); border-radius: 12px; background: var(--card); overflow: hidden; }
.channel-banner { padding: 19px 21px; display: flex; align-items: center; gap: 12px; background: linear-gradient(110deg, #2c1b26, #1c1720); border-bottom: 1px solid #472b39; }
.channel-card:nth-child(2n) .channel-banner { background: linear-gradient(110deg, #252134, #181923); border-color: #383146; }
.channel-icon { height: 38px; width: 38px; flex-shrink: 0; border: 1px solid #703549; border-radius: 9px; display: grid; place-items: center; color: #ff8da1; background: #ff354912; font-size: 17px; }
.channel-card:nth-child(2n) .channel-icon { border-color: #5a4779; color: #c2b4ff; background: #b69cff12; }
.channel-banner > div:not(.channel-icon) { min-width: 0; }
.channel-banner h3 { margin: 0 0 4px; font-size: 13px; overflow-wrap: anywhere; }
.channel-banner small { font-size: 9px; color: #bb91a3; }
.channel-card:nth-child(2n) .channel-banner small { color: #ab9ac6; }
.badge { font-size: 9px; display: inline-flex; padding: 5px 9px; border-radius: 5px; background: #272b37; color: #bfc5d5; white-space: nowrap; }
.channel-banner .badge { margin-left: auto; background: #090a0c50; color: #c1b5c1; border: 1px solid #ffffff15; }
.badge.running { background: #1c2b44; color: #9dc6ff; }
.badge.failed, .badge.rejected, .badge.upload_uncertain { background: #40202b; color: #ffacb9; }
.badge.ready, .badge.scheduled, .badge.uploaded { background: #19382d; color: #98d9b6; }
.channel-body { padding: 18px 21px; }
.channel-body p { font-size: 11px; min-height: 38px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 18px; }
.channel-info { display: flex; flex-wrap: wrap; gap: 14px; font-size: 10px; color: #a8adbd; margin-bottom: 18px; }
.channel-bottom { border-top: 1px solid var(--line); padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 9px; color: #a3a9b9; }
.channel-bottom .button { min-height: 32px; padding: 7px 12px; font-size: 10px; white-space: nowrap; }
.empty { border: 1px dashed #3b3e4e; border-radius: 12px; padding: 36px; text-align: center; background: #12141c; }
.empty p { max-width: 480px; margin: 10px auto 20px; }
.empty-symbol { font-size: 29px; color: #d36b82; margin-bottom: 13px; }
.overview-bottom { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; margin-top: 27px; }
.panel { border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 22px; min-width: 0; }
.panel h3 { margin-bottom: 19px; }
.check-row { display: flex; gap: 12px; align-items: center; padding: 11px 0; font-size: 11px; border-bottom: 1px solid var(--line); }
.check-row:last-child { border: 0; }
.check-row span { width: 20px; color: #a5acc0; }
.check-row .good { color: #81d8ad; }
.check-row small { margin-left: auto; color: #a0a6b7; font-size: 9px; }
.pipeline-steps { display: flex; gap: 0; align-items: center; justify-content: space-between; padding: 18px 0; }
.pipeline-step { text-align: center; font-size: 9px; color: #a3a9bb; }
.pipeline-step i { height: 32px; width: 32px; margin: 0 auto 8px; border: 1px solid #553340; background: #291b26; border-radius: 8px; display: grid; place-items: center; font-style: normal; color: #ed94a5; font-size: 13px; }
.pipeline-line { height: 1px; width: 15px; background: linear-gradient(90deg, #763848, #34303d); margin-bottom: 22px; }
.tip { padding-top: 16px; border-top: 1px solid var(--line); font-size: 10px; line-height: 1.8; color: #a1a7b9; }
.form-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; align-items: start; }
.form-stack { display: grid; gap: 20px; min-width: 0; }
label { font-size: 11px; font-weight: 600; display: block; margin-bottom: 17px; color: #c8ccda; }
input, textarea, select { display: block; width: 100%; padding: 12px 13px; border: 1px solid #343846; border-radius: 7px; color: #e6e9f2; background: #0d0f15; margin-top: 8px; line-height: 1.5; font-size: 12px; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #82899d; }
input:hover, textarea:hover, select:hover { border-color: #555063; }
input[type=checkbox] { display: inline-block; width: 15px; accent-color: #e82e47; margin: 0 8px 0 0; vertical-align: middle; }
.row { display: flex; gap: 14px; }
.row > * { flex: 1; min-width: 0; }
.hint { font-size: 10px; line-height: 1.7; font-weight: 400; margin: 7px 0 0; }
.language-hint { margin: -4px 0 0; }
.notice { border: 1px solid #66502e; background: #2b2419; padding: 13px 16px; border-radius: 8px; font-size: 11px; line-height: 1.7; color: #dec18b; margin-bottom: 18px; }
.notice.success { border-color: #355849; background: #172a23; color: #9fceae; }
.weekdays { display: flex; gap: 5px; margin: 8px 0 18px; }
.weekdays label { flex: 1; text-align: center; border: 1px solid var(--line); border-radius: 6px; padding: 9px 0; font-size: 10px; margin: 0; background: #0d0f15; }
.weekdays label:has(input:checked) { background: #3b1e2c; border-color: #87374c; color: #ffb0c0; }
.weekdays input { display: block; width: 12px; margin: 0 auto 5px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.suggestions { display: grid; gap: 7px; margin: 14px 0; }
.suggestion { text-align: left; padding: 12px 14px; border: 1px solid #513140; border-radius: 7px; background: #221821; display: block; }
.suggestion:hover { border-color: #d44e6a; background: #321c2a; }
.suggestion strong { display: block; font-size: 12px; color: #f3d9e1; }
.suggestion span { display: block; color: #bca2b2; font-size: 10px; margin-top: 5px; }
.list-table { width: 100%; border-collapse: collapse; background: var(--card); font-size: 11px; }
.table-wrap { border: 1px solid var(--line); border-radius: 12px; overflow: auto; }
.list-table th { text-align: left; color: #a3abbe; font-size: 9px; letter-spacing: .6px; font-weight: 650; background: #191c25; }
.list-table td, .list-table th { padding: 16px 19px; border-bottom: 1px solid var(--line); }
.list-table tr:last-child td { border-bottom: 0; }
.list-table td small { display: block; font-size: 9px; color: #a2a9ba; margin-top: 5px; }
.list-table td button { background: none; border: 0; text-align: left; color: var(--ink); padding: 0; font-size: 11px; }
.list-table tr:hover td { background: #1a1c26; }
.media-upload { padding: 28px; border: 1px dashed #713347; border-radius: 12px; background: radial-gradient(ellipse at 0 0, #ff354909, transparent), #161219; margin-bottom: 23px; }
.media-upload input { background: #0d0f15; }
input::file-selector-button { background: #34212e; color: #ffd7e1; border: 1px solid #7c394e; padding: 8px 12px; border-radius: 5px; margin-right: 12px; cursor: pointer; }
.media-upload h3 { margin-bottom: 8px; }
.media-files { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.media-file { padding: 21px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.media-file i { font-style: normal; font-size: 25px; color: #dd7a90; display: block; margin-bottom: 16px; }
.media-file strong { font-size: 11px; display: block; overflow-wrap: anywhere; }
.media-file small { font-size: 9px; color: #a0a7ba; display: block; margin-top: 8px; }
footer { margin: 0 42px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 8px; letter-spacing: 1px; color: #9299ac; }
footer span { margin-left: 22px; letter-spacing: 0; }
.footer-right { float: right; }
dialog { border: 1px solid #573442; border-radius: 14px; background: linear-gradient(145deg, #1b1821, #12141b 45%); color: var(--ink); padding: 28px; width: 510px; max-width: calc(100vw - 24px); max-height: 90vh; overflow: auto; box-shadow: 0 30px 100px #0009, 0 0 50px #ff354909; }
dialog::backdrop { background: #030409b8; backdrop-filter: blur(8px); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dialog-heading .eyebrow { color: #ff8496; }
.close { background: none; border: 0; font-size: 24px; color: #b3a5b5; }
.close:hover { color: #fff; }
.job-dialog { width: 900px; }
.job-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 25px; }
.job-layout video { width: 100%; border: 1px solid #42303e; border-radius: 12px; background: #08090d; aspect-ratio: 9/16; max-height: 460px; }
.job-layout h2 { font-size: 22px; }
.job-events { margin-top: 18px; max-height: 180px; overflow: auto; border-top: 1px solid var(--line); }
.event { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 10px; line-height: 1.6; }
.event time { font-size: 9px; color: #979fb3; margin-right: 9px; }
.scene-text { font-size: 11px; color: #b1b7c9; padding: 11px 0; border-bottom: 1px solid var(--line); }
.scene-text strong { color: #f0dce4; display: block; margin-bottom: 4px; }
.error { color: #ff92a0; font-size: 11px; line-height: 1.6; }
#toast { position: fixed; bottom: 25px; right: 25px; max-width: min(430px, calc(100vw - 40px)); background: #271c29; color: #fce4ec; border: 1px solid #6e354c; box-shadow: 0 6px 30px #0007; padding: 15px 20px; border-radius: 10px; font-size: 12px; line-height: 1.6; z-index: 1000; }
.login-screen { min-height: 100vh; display: grid; grid-template-columns: 1.2fr 1fr; }
.login-art { background: radial-gradient(ellipse at 75% 82%, #b712353d, transparent 65%), linear-gradient(135deg, #1b141d, #090b10); position: relative; overflow: hidden; padding: 13vh 10%; color: #f3f1f5; border-right: 1px solid #4b2333; isolation: isolate; }
.login-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(#ff617209 1px, transparent 1px), linear-gradient(90deg, #ff617209 1px, transparent 1px); background-size: 60px 60px; mask-image: linear-gradient(180deg, transparent, #000); }
.login-art::after { content: ""; position: absolute; right: 90px; bottom: 140px; width: 180px; height: 220px; background: linear-gradient(125deg, #ff324880, #d5163a08); clip-path: polygon(12% 0, 100% 50%, 12% 100%); filter: drop-shadow(0 0 25px #ff3549); transform: rotate(-8deg); }
.login-art h1 { font-size: clamp(45px, 4.8vw, 80px); font-weight: 800; letter-spacing: -3px; line-height: 1.07; position: relative; z-index: 1; margin-top: 35px; }
.login-art h1 em { font-style: normal; color: #ff455d; text-shadow: 0 0 50px #ff354930; }
.login-art .eyebrow { font-size: 9px; color: #d495a7; }
.orbit { position: absolute; border: 1px solid #ff526930; border-radius: 50%; height: 450px; width: 450px; right: -30px; bottom: -70px; box-shadow: 0 0 50px #ff354906; }
.o2 { height: 650px; width: 650px; right: -130px; bottom: -170px; border-style: dashed; }
.o3 { height: 850px; width: 850px; right: -230px; bottom: -270px; }
.art-footer { position: absolute; bottom: 40px; left: 10%; right: 10%; font-size: 9px; letter-spacing: 1px; color: #bd8f9d; }
.art-footer span { float: right; }
.login-form { padding: 13vh 15%; align-self: center; }
.login-form .brand { margin-bottom: 70px; }
.login-form h2 { font-size: 28px; }
.login-form > p { margin-bottom: 27px; }
.login-form .button { margin-bottom: 18px; width: 100%; }
.login-form .hint { font-size: 10px; color: #959caf; }
.login-form code { font-size: 10px; }
details summary { font-size: 11px; cursor: pointer; padding: 8px 0; color: #ed9aaa; }
details { margin-top: 12px; }
.mono { font-family: ui-monospace, monospace; overflow-wrap: anywhere; font-size: 10px; }
.small { font-size: 10px; }
.connection-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.connection-head h3 { margin: 0; }
.connection-head .badge { margin-left: auto; }
.model-panel { margin-top: 25px; }
.download-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.download-row strong { font-size: 10px; display: block; overflow-wrap: anywhere; }
.download-row span { display: block; font-size: 9px; color: var(--muted); margin: 7px 0; }
.download-row progress { width: 100%; height: 5px; accent-color: #ee4865; border: 0; border-radius: 4px; overflow: hidden; background: #292b36; }
progress::-webkit-progress-bar { background: #292b36; }
progress::-webkit-progress-value { background: linear-gradient(90deg, #af1d40, #ff526b); border-radius: 4px; }
progress::-moz-progress-bar { background: linear-gradient(90deg, #af1d40, #ff526b); border-radius: 4px; }
@media (min-width: 1500px) {
  .hero { min-height: 290px; }
  .hero-copy { padding: 39px 40px; }
  .hero-art { margin-left: 40px; }
  .mini-one { top: 59px; }
  .mini-two { top: 35px; }
  .stats { gap: 20px; }
  .hero h2 { font-size: 37px; }
}
@media (max-width: 1100px) {
  .sidebar { width: 210px; padding: 30px 17px; }
  .workspace { margin-left: 210px; }
  .sidebar .brand { font-size: 16px; }
  .topbar { padding: 0 27px; }
  #content { padding: 30px 27px; }
  .hero h2 { font-size: 28px; }
  .hero-art { transform: scale(.85); transform-origin: center; }
  .hero-copy { padding: 29px; }
  .stats { gap: 9px; }
  .stat { padding: 17px 13px; }
  .form-grid, .overview-bottom { grid-template-columns: 1fr; }
  .channel-grid { gap: 12px; }
  .channel-banner, .channel-body { padding: 16px; }
  footer { margin: 0 27px; }
  .page-heading h1 { font-size: 29px; }
}
@media (max-width: 900px) and (min-width: 761px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .channel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sidebar { position: relative; width: 100%; padding: 18px; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 13px; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar > .brand { margin: 0; }
  .sidebar > .nav-label, .channel-section, .sidebar-bottom { display: none; }
  #nav { display: flex; margin-left: auto; gap: 2px; }
  .nav-item { font-size: 0; padding: 8px; width: 38px; margin: 0; }
  .nav-item > span { font-size: 20px; }
  .nav-item small { display: none; }
  .shell { display: block; }
  .workspace { margin: 0; }
  .topbar { height: 57px; padding: 0 20px; }
  .isolation { display: none; }
  #content { padding: 26px 20px; }
  .page-heading { align-items: flex-start; margin-bottom: 22px; }
  .page-heading h1 { font-size: 28px; }
  .page-heading p { font-size: 11px; max-width: 240px; }
  .heading-actions { flex-direction: column; flex-shrink: 0; }
  .heading-actions .button { font-size: 10px; min-height: 35px; padding: 9px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 26px; }
  .hero h2 { font-size: 30px; max-width: 340px; }
  .hero-art { height: 222px; min-height: 0; width: 340px; max-width: 100%; justify-self: center; transform: none; margin-top: -8px; }
  .mini-short { width: 97px; height: 168px; }
  .mini-short strong { font-size: 20px; }
  .mini-one { top: 24px; left: 57px; }
  .mini-two { top: 10px; left: 175px; }
  .art-pill { bottom: 13px; left: 75px; font-size: 8px; }
  .hero .button { font-size: 11px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat strong { font-size: 25px; }
  .channel-grid { grid-template-columns: 1fr; }
  .channel-body p { min-height: 0; }
  .overview-bottom { margin-top: 20px; }
  .media-files { grid-template-columns: 1fr 1fr; }
  .login-screen { grid-template-columns: 1fr; background: radial-gradient(ellipse at 100% 0, #a01d3025, transparent 60%); }
  .login-art { display: none; }
  .login-form { padding: 50px 9%; max-width: 500px; width: 100%; margin: auto; }
  .login-form .brand { margin-bottom: 60px; }
  .job-layout { grid-template-columns: 1fr; }
  .job-layout video { width: 190px; margin: 0 auto; display: block; }
  .row { flex-wrap: wrap; }
  .row > * { min-width: 130px; }
  footer { margin: 0 20px; }
  .footer-right { display: none; }
  .list-table td, .list-table th { padding: 12px; }
  dialog { padding: 23px; }
  .form-actions { position: sticky; bottom: 12px; z-index: 2; }
  .form-actions .button { box-shadow: 0 5px 24px #0009; }
  input, textarea, select { font-size: 16px; }
}
@media (max-width: 430px) {
  #nav { width: 100%; justify-content: space-between; margin: 0; }
  .nav-item { width: 46px; justify-content: center; }
  .channel-banner { gap: 9px; }
  .channel-banner h3 { font-size: 12px; }
  .channel-banner .badge { padding: 4px 6px; }
  .panel { padding: 18px; }
}
@media (prefers-reduced-motion: no-preference) {
  .button, .nav-item, .channel-item, .channel-card, .stat, .suggestion { transition: background-color .18s, border-color .18s, box-shadow .18s, transform .18s; }
  .channel-card:hover, .stat:hover { border-color: #674053; box-shadow: 0 7px 24px #0003; transform: translateY(-2px); }
  .button:hover { transform: translateY(-1px); }
  .button:active { transform: translateY(0); }
  .login-art .o2 { animation: orbit 120s linear infinite; }
  @keyframes orbit { to { transform: rotate(360deg); } }
}
