:root {
  color-scheme: light;
  --ink: #20232d;
  --muted: #777d8b;
  --soft: #a0a5b0;
  --line: #eaebef;
  --paper: #ffffff;
  --canvas: #f7f8fa;
  --purple: #6857e8;
  --purple-dark: #5847d3;
  --purple-tint: #f1efff;
  --green: #31a879;
  --font-body: "Segoe UI", Arial, sans-serif;
  --font-display: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font-body); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a, label { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 4; display: flex; width: 248px; flex-direction: column; padding: 27px 18px 15px; background: #fff; border-right: 1px solid #ececf0; }
.brand { display: flex; align-items: center; gap: 10px; margin: 0 0 41px 5px; font-family: var(--font-display); font-size: 21px; font-weight: 800; letter-spacing: -1.1px; }
.brand-light { color: #777c8a; font-weight: 600; }
.brand-mark { display: grid; width: 27px; height: 27px; grid-template-columns: repeat(2, 1fr); gap: 3px; transform: rotate(-4deg); }
.brand-mark i { display: block; border-radius: 4px; background: var(--purple); }
.brand-mark i:nth-child(2) { opacity: .72; }.brand-mark i:nth-child(3) { opacity: .52; }.brand-mark i:nth-child(4) { opacity: .32; }
.workspace-label { padding: 0 9px; color: #a2a5ae; font-size: 10px; font-weight: 700; letter-spacing: 1.15px; }
.workspace-switcher { display: flex; width: 100%; align-items: center; gap: 10px; margin: 11px 0 25px; padding: 9px 8px; border: 1px solid var(--line); border-radius: 9px; background: #fff; text-align: left; cursor: pointer; }
.workspace-avatar { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 8px; background: #f0eeff; color: var(--purple); font-family: var(--font-display); font-size: 14px; font-weight: 800; }
.workspace-copy, .saved-setup > span:nth-child(2) { display: grid; gap: 3px; min-width: 0; flex: 1; }
.workspace-copy strong, .saved-setup strong { font-size: 12px; font-weight: 600; }
.workspace-copy small, .saved-setup small { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.chevron { color: #9da1ac; font-size: 15px; }
.nav-list { display: grid; gap: 5px; }
.nav-item { display: flex; height: 39px; align-items: center; gap: 11px; padding: 0 11px; border-radius: 7px; color: #686e7c; font-size: 12px; font-weight: 500; }
.nav-item.active { background: var(--purple-tint); color: var(--purple); font-weight: 700; }
.nav-icon { width: 15px; font-size: 15px; text-align: center; }
.nav-count { margin-left: auto; color: #9499a5; font-size: 11px; }
.sidebar-divider { height: 1px; margin: 23px 4px 22px; background: var(--line); }
.saved-setup { display: flex; align-items: center; gap: 9px; margin: 14px 0 8px; padding: 8px 9px; border-radius: 7px; background: #fafafd; }
.setup-dot, .save-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #e9a956; }
.saved-setup > span:nth-child(2) { gap: 4px; }
.saved-setup strong { font-size: 11px; }.saved-setup small { font-size: 10px; }.more-icon { color: #9297a3; letter-spacing: 1px; }
.new-setup { display: flex; align-items: center; gap: 7px; padding: 8px 10px; border: 0; background: none; color: #737987; font-size: 11px; cursor: pointer; text-align: left; }
.new-setup span { font-size: 16px; }
.share-setup-button { display: flex; width: 100%; align-items: center; gap: 8px; margin-top: 2px; padding: 8px 10px; border: 0; border-radius: 7px; background: #f4f2ff; color: #6556cf; font-size: 11px; font-weight: 600; cursor: pointer; text-align: left; }
.share-setup-button:hover { background: #ece9ff; }
.share-setup-button span { font-size: 14px; }
.sidebar-bottom { margin-top: auto; }
.help-card { padding: 15px 14px; border: 1px solid #efedff; border-radius: 10px; background: #faf9ff; }
.help-icon { display: grid; width: 25px; height: 25px; place-items: center; margin-bottom: 12px; border-radius: 7px; background: #efedff; color: var(--purple); }
.help-card strong { font-size: 11px; }.help-card p { margin: 5px 0 11px; color: #858a97; font-size: 10px; line-height: 1.5; }
.help-card a { color: var(--purple); font-size: 10px; font-weight: 700; }.help-card a span { margin-left: 4px; }
.main-content { min-height: 100vh; margin-left: 248px; }
.topbar { position: sticky; top: 0; z-index: 3; display: flex; height: 63px; align-items: center; justify-content: space-between; padding: 0 48px; border-bottom: 1px solid #ececf0; background: rgb(255 255 255 / 92%); backdrop-filter: blur(12px); }
.breadcrumbs { display: flex; align-items: center; gap: 10px; color: #969aa5; font-size: 11px; }.breadcrumbs strong { color: #484d59; font-weight: 600; }.crumb-separator { color: #c6c8ce; }
.topbar-actions { display: flex; align-items: center; gap: 20px; }
.save-indicator { display: flex; align-items: center; gap: 7px; color: #898e99; font-size: 10px; }.save-dot { width: 6px; height: 6px; background: #38b783; }
.icon-button { position: relative; border: 0; background: transparent; color: #737987; font-size: 17px; cursor: pointer; }.notification-dot { position: absolute; top: 1px; right: 1px; width: 5px; height: 5px; border: 1px solid white; border-radius: 50%; background: #e9786a; }
.page-wrap { width: min(1480px, 100%); margin: 0 auto; padding: 36px 48px 26px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; }
.eyebrow { display: flex; align-items: center; gap: 7px; color: #9499a6; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; }
.eyebrow-line { width: 17px; height: 2px; background: var(--purple); }
h1, h2, p { margin-top: 0; }
h1 { margin: 10px 0 7px; font-family: var(--font-display); font-size: 27px; font-weight: 700; letter-spacing: -.85px; }
.page-description { margin-bottom: 0; color: #848996; font-size: 12px; }
.primary-button, .secondary-button { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 1px solid transparent; border-radius: 7px; font-size: 11px; font-weight: 600; cursor: pointer; transition: background .16s, border-color .16s, transform .16s; }
.primary-button { background: var(--purple); color: white; box-shadow: 0 2px 4px rgb(64 48 173 / 13%); }.primary-button:hover { background: var(--purple-dark); }.primary-button:active, .secondary-button:active { transform: translateY(1px); }
.secondary-button { border-color: #e5e6ec; background: white; color: #535866; }.secondary-button:hover { border-color: #c9c5f7; background: #fcfbff; }
.launch-button { height: 37px; margin-bottom: 2px; padding: 0 16px; }.launch-button span { font-size: 14px; }
.progress-track { display: flex; align-items: center; margin: 31px 0 29px; }
.progress-step { display: flex; align-items: center; gap: 8px; color: #a0a4af; font-size: 10px; white-space: nowrap; }.step-number { display: grid; width: 21px; height: 21px; place-items: center; border: 1px solid #e0e2e8; border-radius: 50%; color: #9a9eaa; font-size: 9px; font-weight: 600; }
.progress-step.complete { color: #666d79; }.progress-step.complete .step-number { border-color: #cfe9df; background: #eef8f4; color: #2c9d73; }.progress-step.current { color: #393c47; font-weight: 700; }.progress-step.current .step-number { border-color: var(--purple); background: var(--purple); color: white; }
.progress-line { width: min(110px, 13vw); height: 1px; margin: 0 13px; background: #e4e5ea; }.progress-line.complete { background: #d2ebe1; }
.section-block { margin-bottom: 20px; padding: 22px 23px; border: 1px solid #e9eaf0; border-radius: 10px; background: var(--paper); box-shadow: 0 2px 5px rgb(25 30 52 / 2%); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.section-title-group { display: flex; align-items: flex-start; gap: 12px; }.section-number { padding-top: 3px; color: #b3b5bf; font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: .5px; }
.section-title-group h2 { margin: 0 0 4px; font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: -.15px; }.section-title-group p { margin: 0; color: #8a8f9b; font-size: 10px; }.section-title-group p strong { color: #555b68; font-weight: 600; }
.text-button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 2px; border: 0; background: transparent; color: var(--purple); font-size: 10px; font-weight: 600; cursor: pointer; }.text-button:hover { color: var(--purple-dark); }.text-button span { font-size: 15px; }
.monitor-controls { display: flex; align-items: center; gap: 14px; }.monitor-limit { padding: 5px 8px; border: 1px solid #ebeaf4; border-radius: 5px; background: #faf9ff; color: #77718f; font-size: 9px; font-weight: 600; white-space: nowrap; }
.display-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.display-card { position: relative; display: flex; min-height: 107px; align-items: center; gap: 13px; padding: 15px; border: 1px solid #e9eaf0; border-radius: 8px; background: #fff; cursor: pointer; transition: border-color .16s, background .16s, box-shadow .16s; }
.display-card:hover { border-color: #c9c4f6; }.display-card.selected { border-color: #8274ec; background: #fbfaff; box-shadow: 0 0 0 2px rgb(104 87 232 / 8%); }
.display-card input { position: absolute; top: 12px; right: 12px; width: 14px; height: 14px; margin: 0; accent-color: var(--purple); cursor: pointer; }
.monitor-art { position: relative; width: 61px; height: 44px; flex: none; }.monitor-screen { position: absolute; top: 0; left: 2px; width: 57px; aspect-ratio: 16 / 9; overflow: hidden; padding: 4px; border: 1.5px solid #aeb2be; border-radius: 4px; background: #fff; }.monitor-screen::after { position: absolute; right: 0; bottom: 0; width: 19px; height: 12px; border-top-left-radius: 9px; background: #ebe8ff; content: ""; }
.monitor-stand { position: absolute; bottom: 3px; left: 24px; width: 13px; height: 8px; border-bottom: 1.5px solid #aeb2be; }.monitor-stand::before { position: absolute; top: -8px; left: 5px; height: 8px; border-left: 1.5px solid #aeb2be; content: ""; }
.monitor-base { position: absolute; bottom: 1px; left: 20px; width: 22px; border-top: 1.5px solid #aeb2be; }
.mini-tiles { position: relative; z-index: 1; display: grid; width: 25px; height: 23px; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 2px; }.mini-tiles i { border-radius: 1px; background: #dcd8fb; }.mini-tiles i:first-child { background: #a89ef3; }
.display-info { display: grid; min-width: 0; gap: 5px; padding-top: 3px; }.display-name { font-size: 11px; font-weight: 700; }.display-detail { color: #969ba7; font-size: 9px; }.display-status { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; color: #4a9d79; font-size: 9px; }.display-status i { width: 5px; height: 5px; border-radius: 50%; background: #45b083; }
.display-note { display: flex; align-items: center; gap: 7px; margin-top: 13px; color: #9a9eaa; font-size: 9px; }.info-icon { display: grid; width: 13px; height: 13px; place-items: center; border: 1px solid #c2c5ce; border-radius: 50%; color: #9297a4; font-family: Georgia, serif; font-size: 9px; font-weight: 700; }
.layout-section { padding-bottom: 20px; }.layout-section .section-heading { margin-bottom: 16px; }.display-select-wrap select { min-width: 125px; padding: 8px 25px 8px 10px; border: 1px solid #e7e8ed; border-radius: 6px; background: #fff; color: #535866; font-size: 10px; }
.template-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.template-card { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 12px 11px; border: 1px solid #e8e9ee; border-radius: 8px; background: #fff; cursor: pointer; text-align: left; transition: border-color .16s, background .16s, box-shadow .16s; }.template-card:hover { border-color: #c8c3f6; }.template-card.selected { border-color: #8274ec; background: #fbfaff; box-shadow: 0 0 0 2px rgb(104 87 232 / 8%); }
.layout-illustration { display: grid; width: 56px; height: auto; aspect-ratio: 16 / 9; flex: none; gap: 2px; padding: 2px; border: 1px solid #e3e3ea; border-radius: 4px; background: white; }.layout-illustration i { min-width: 0; min-height: 0; border-radius: 2px; background: #dfdcf8; }.template-card.selected .layout-illustration i { background: #b6aff1; }.layout-2x2 { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); }.layout-3x3 { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); }.layout-4x4 { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); }.layout-pgm-pvw-8 { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); }.layout-pgm-pvw-8 i:nth-child(-n+2) { grid-column: span 2; background: #a89ef3; }.layout-pgm-pvw-10 { position: relative; grid-template-columns: repeat(10, 1fr); grid-template-rows: 1.2fr 2px 1fr 1fr; }.layout-pgm-pvw-10::after { grid-area: 2 / 1 / 3 / -1; background: #c6c2e8; content: ""; }.layout-pgm-pvw-10 i:nth-child(-n+2) { grid-column: span 5; background: #a89ef3; }.layout-pgm-pvw-10 i:nth-child(n+3):nth-child(-n+7) { grid-row: 3; grid-column: span 2; }.layout-pgm-pvw-10 i:nth-child(n+8) { grid-row: 4; grid-column: span 2; }
.template-copy { display: grid; gap: 4px; min-width: 0; }.template-copy strong { font-size: 10px; font-weight: 700; white-space: nowrap; }.template-copy small { color: #969ba7; font-size: 9px; }
.feeds-section { padding-bottom: 0; }.feeds-heading { margin-bottom: 15px; }.feed-actions { display: flex; align-items: center; gap: 8px; }.import-button { min-height: 34px; cursor: pointer; }.import-button span { color: var(--purple); font-size: 14px; }.add-feed-button { min-height: 34px; }
.csv-downloads { display: flex; align-items: center; gap: 9px; padding: 0 3px; }.csv-download-link { color: var(--purple); font-size: 9px; font-weight: 600; white-space: nowrap; }.csv-download-link:hover { color: var(--purple-dark); text-decoration: underline; text-underline-offset: 3px; }
.csv-hint { display: flex; align-items: center; gap: 7px; min-height: 34px; margin-bottom: 10px; padding: 0 10px; border: 1px solid #eceafc; border-radius: 6px; background: #faf9ff; color: #777d8c; font-size: 9px; }.csv-hint-icon { color: #8e80eb; font-size: 13px; }.csv-hint code { padding: 2px 4px; border-radius: 3px; background: #f0eff8; color: #696188; font-family: Consolas, monospace; font-size: 9px; }.hint-close { margin-left: auto; padding: 2px 4px; border: 0; background: transparent; color: #a0a4af; font-size: 16px; cursor: pointer; }
.source-generator { margin: 14px 0 16px; padding: 15px; border: 1px solid #e9e7f8; border-radius: 8px; background: #fcfbff; }
.source-generator-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 13px; }
.source-generator-heading > div { display: grid; gap: 4px; }
.source-generator-heading strong { color: #414452; font-size: 11px; }
.source-generator-heading span, .source-generator-field > span { color: #858a97; font-size: 9px; }
.generate-sources-button { min-height: 32px; flex: none; font-size: 10px; }
.source-generator-fields { display: grid; grid-template-columns: minmax(120px, 1.3fr) minmax(120px, 1fr) minmax(110px, .7fr) minmax(120px, .8fr); gap: 10px; }
.source-generator-field { display: grid; min-width: 0; gap: 5px; }
.source-generator-field > span { color: #666b78; font-weight: 600; }
.source-generator-field small { color: #a0a4af; font-weight: 400; }
.source-generator-field .form-input { height: 34px; font-size: 10px; }
.source-generator-example { margin: 10px 0 0; color: #858a97; font-size: 9px; }
.source-generator-example::first-letter { color: #77718f; }
.theme-control { display: flex; align-items: center; gap: 7px; color: #858a97; font-size: 9px; white-space: nowrap; }
.theme-control select { height: 30px; padding: 0 24px 0 8px; border: 1px solid #e5e6ec; border-radius: 6px; background: white; color: #535866; font-size: 10px; }
.share-dialog, .share-conflict-dialog { width: min(560px, calc(100% - 32px)); padding: 24px; border: 1px solid #ececf1; border-radius: 12px; background: white; box-shadow: 0 20px 80px rgb(26 27 45 / 20%); }
.share-dialog::backdrop, .share-conflict-dialog::backdrop { background: rgb(24 25 38 / 48%); backdrop-filter: blur(2px); }
.share-dialog-description, .share-conflict-description { margin: -8px 0 16px; color: #858a97; font-size: 10px; line-height: 1.6; }
.share-output-section, .share-import-section { padding: 12px; border: 1px solid #ececf1; border-radius: 8px; background: #fafafd; }
.share-import-section { margin-top: 12px; }
.share-code-field { display: block; min-height: 76px; height: auto; resize: vertical; padding: 9px; font-family: Consolas, monospace; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.share-link-field { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-output-actions { display: flex; justify-content: flex-end; gap: 7px; margin: 8px 0; }
.share-output-actions .secondary-button { min-height: 30px; font-size: 9px; }
.share-conflict-actions { display: grid; justify-items: stretch; gap: 8px; margin-top: 20px; }
.share-conflict-actions .text-button { justify-content: center; }
html[data-color-scheme="dark"] .share-dialog,
html[data-color-scheme="dark"] .share-conflict-dialog { border-color: #383b48; background: #22242d; color: #e5e6ec; }
html[data-color-scheme="dark"] .share-dialog-description,
html[data-color-scheme="dark"] .share-conflict-description { color: #a3a8b5; }
html[data-color-scheme="dark"] .share-output-section,
html[data-color-scheme="dark"] .share-import-section { border-color: #383b48; background: #1c1e26; }
@media (max-width: 850px) { .source-generator-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .source-generator { padding: 12px; }.source-generator-heading { align-items: flex-start; flex-direction: column; }.generate-sources-button { width: 100%; }.source-generator-fields { grid-template-columns: 1fr 1fr; } }
.feed-table-wrap { overflow: hidden; border: 1px solid #eeeff3; border-radius: 7px; }
.feed-table { width: 100%; border-collapse: collapse; text-align: left; }.feed-table thead { background: #fafbfc; }.feed-table th { height: 34px; padding: 0 11px; color: #9a9eaa; font-size: 8px; font-weight: 700; letter-spacing: .6px; }.feed-table td { height: 51px; padding: 0 11px; border-top: 1px solid #f0f1f4; color: #646a77; font-size: 10px; }.feed-table td:last-child, .feed-table th:last-child { width: 37px; padding: 0 7px; }.feed-table tbody tr:hover { background: #fdfdff; }.feed-name-cell { display: flex; align-items: center; gap: 9px; color: #3e4350 !important; font-weight: 600; }.feed-avatar { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 6px; background: #f1efff; color: #7669dc; font-size: 11px; font-weight: 700; }.feed-url { display: block; max-width: 210px; overflow: hidden; color: #969ba7; text-overflow: ellipsis; white-space: nowrap; }.source-kind-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border: 1px solid #e9e6fb; border-radius: 4px; background: #f8f7ff; color: #7669bd; font-size: 8px; font-weight: 700; letter-spacing: .55px; }.source-kind-badge::before { width: 5px; height: 5px; border-radius: 50%; background: #8b7ff0; content: ""; }.slot-pill { display: inline-block; padding: 4px 7px; border: 1px solid #eeeff3; border-radius: 4px; background: #fafbfc; color: #737986; font-size: 9px; }.slot-outside-layout { border-color: #f4dfb8; background: #fff9ed; color: #a17022; }.row-action { width: 27px; height: 27px; border: 0; border-radius: 5px; background: transparent; color: #999eaa; font-size: 15px; cursor: pointer; }.row-action:hover { background: #f2f1ff; color: var(--purple); }
.empty-feeds { display: grid; min-height: 193px; justify-items: center; align-content: center; padding: 15px; text-align: center; }.empty-feeds[hidden] { display: none; }.empty-illustration { position: relative; width: 84px; height: 48px; margin-bottom: 10px; }.empty-screen { position: absolute; width: 39px; height: 30px; border: 1.5px solid #d7d8e0; border-radius: 4px; background: #fafaff; }.empty-screen::before { position: absolute; bottom: -6px; left: 15px; width: 8px; height: 5px; border-bottom: 1px solid #d7d8e0; border-left: 1px solid #d7d8e0; border-right: 1px solid #d7d8e0; content: ""; }.screen-one { top: 4px; left: 9px; transform: rotate(-7deg); }.screen-two { top: 8px; right: 7px; transform: rotate(7deg); }.empty-plus { position: absolute; top: 13px; left: 34px; display: grid; width: 17px; height: 17px; place-items: center; border: 1px solid #d8d3fa; border-radius: 50%; background: white; color: #8377e5; font-size: 12px; }.empty-feeds strong { margin-bottom: 5px; font-size: 11px; }.empty-feeds p { margin-bottom: 11px; color: #9095a1; font-size: 9px; }.empty-feeds .secondary-button { min-height: 30px; font-size: 10px; }
.feed-table-footer { display: flex; justify-content: space-between; padding: 12px 1px 13px; color: #9a9eaa; font-size: 9px; }.feed-table-footer span:first-child { color: #6f7481; font-weight: 600; }
.page-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 25px; padding: 14px 0 0; border-top: 1px solid #e9eaef; color: #989da8; font-size: 9px; }.page-footer > div { display: flex; align-items: center; gap: 22px; }.footer-launch { min-height: 33px; padding: 0 13px; font-size: 10px; }.footer-launch span { font-size: 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.toast { position: fixed; right: 22px; bottom: 20px; z-index: 10; max-width: 340px; padding: 11px 15px; transform: translateY(20px); border: 1px solid #e6e4f8; border-radius: 8px; background: white; box-shadow: 0 8px 25px rgb(31 33 54 / 12%); color: #444958; font-size: 11px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }.toast.visible { transform: translateY(0); opacity: 1; }
.feed-dialog { width: min(440px, calc(100% - 32px)); padding: 24px; border: 1px solid #ececf1; border-radius: 12px; background: white; box-shadow: 0 20px 80px rgb(26 27 45 / 20%); }.feed-dialog::backdrop { background: rgb(24 25 38 / 38%); backdrop-filter: blur(2px); }.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 21px; }.dialog-heading h2 { margin: 6px 0 0; font-family: var(--font-display); font-size: 19px; letter-spacing: -.45px; }.dialog-close { width: 28px; height: 28px; border: 0; border-radius: 6px; background: transparent; color: #818694; font-size: 20px; cursor: pointer; }.dialog-close:hover { background: #f5f5f8; }.field-label { display: block; margin: 14px 0 6px; color: #5b606e; font-size: 10px; font-weight: 600; }.optional-label { color: #969ba7; font-size: 9px; font-weight: 400; }.field-hint { margin: 6px 0 12px; color: #8c919d; font-size: 9px; line-height: 1.5; }.form-input { width: 100%; height: 38px; padding: 0 10px; border: 1px solid #e4e5eb; border-radius: 6px; outline: none; background: white; color: #444957; font-size: 11px; }.form-input:focus { border-color: #9186eb; box-shadow: 0 0 0 3px rgb(104 87 232 / 10%); }.form-input::placeholder { color: #b0b4bd; }.form-two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.form-two-column .field-label { margin-top: 14px; }.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; }.dialog-actions button { min-height: 34px; }

.app-edition { margin-left: 5px; color: var(--purple); font-size: 10px; font-weight: 800; letter-spacing: 0; vertical-align: top; }
.monitor-controls { display: grid; min-width: 176px; gap: 4px; }
.monitor-count-label { margin: 0; color: #6e7380; font-size: 9px; }
.monitor-count-select { height: 34px; }
.display-grid { display: grid; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; grid-template-columns: repeat(var(--wall-columns, 2), minmax(220px, 1fr)); gap: 13px; padding-bottom: 4px; }
.monitor-config { min-width: 0; padding: 12px; border: 1px solid #e9eaf0; border-radius: 9px; background: #fbfbfd; }
.monitor-config { scroll-snap-align: start; }
.monitor-config-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 9px; }
.monitor-layout-field, .monitor-name-field { display: grid; min-width: 0; gap: 5px; color: #777d8b; font-size: 9px; font-weight: 600; }
.monitor-layout-select, .monitor-name-input { min-width: 0; height: 32px; padding: 0 8px; font-size: 10px; }
.wall-slots { display: grid; width: 100%; min-width: 0; aspect-ratio: 16 / 9; grid-template-columns: repeat(var(--layout-columns), minmax(0, 1fr)); grid-template-rows: var(--layout-grid-rows); gap: 3px; }
.wall-slot { position: relative; display: flex; min-width: 0; min-height: 0; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; gap: 2px; border: 1px solid #41434e; border-radius: 3px; background: #22232c; color: #e5e3f2; text-align: center; transition: border-color .14s, background .14s, box-shadow .14s; }
.wall-slot:hover, .wall-slot.drag-over { z-index: 1; border-color: #a59af4; background: #302e43; box-shadow: 0 0 0 2px rgb(142 128 239 / 24%); }
.wall-slot.has-source { border-color: #676184; background: #292735; }
.wall-slot-label { overflow: hidden; max-width: 100%; padding: 0 2px; color: #a6a1c6; font-size: clamp(6px, .65vw, 9px); text-overflow: ellipsis; white-space: nowrap; }
.wall-slot-source { overflow: hidden; max-width: calc(100% - 6px); color: #e7e4f3; font-size: clamp(6px, .7vw, 10px); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.slot-role { position: absolute; top: 3px; left: 3px; padding: 2px 3px; border-radius: 2px; background: #4b2830; color: #ff9a9a; font-size: 6px; font-weight: 800; }
.slot-role.role-pvw { background: #282641; color: #aaa0ff; }
.wall-divider { min-width: 0; background: #6e6888; }
.monitor-wall-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 21px 0 12px; }
.monitor-wall-heading h3 { margin: 0 0 4px; font-family: var(--font-display); font-size: 14px; }
.monitor-wall-heading p { margin: 0; color: #8c919d; font-size: 10px; }
.export-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.export-actions .secondary-button, .export-source-list-button { min-height: 31px; padding: 0 10px; font-size: 9px; }
.monitor-wall { display: grid; min-width: 0; min-height: 260px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; grid-template-columns: repeat(2, minmax(min(100%, 220px), 1fr)); gap: 16px; padding: 18px; border: 1px solid #e5e5eb; border-radius: 8px; background: #eff0f4; }
.monitor-wall.wall-count-1 { grid-template-columns: minmax(min(100%, 220px), 1fr); }
.monitor-wall.wall-count-2 { grid-template-columns: repeat(2, minmax(min(100%, 220px), 1fr)); }
.monitor-wall.wall-count-3, .monitor-wall.wall-count-4 { grid-template-columns: repeat(2, minmax(min(100%, 220px), 1fr)); }
.monitor-wall.wall-count-5, .monitor-wall.wall-count-6 { grid-template-columns: repeat(3, minmax(min(100%, 220px), 1fr)); }
.monitor-wall.wall-count-7, .monitor-wall.wall-count-8 { grid-template-columns: repeat(4, minmax(min(100%, 220px), 1fr)); }
.wall-monitor { min-width: 0; scroll-snap-align: start; padding: 10px; border: 1px solid #dfe0e6; border-radius: 7px; background: white; box-shadow: 0 1px 3px rgb(25 30 52 / 4%); }
.wall-monitor-heading { display: flex; min-width: 0; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 10px; }
.wall-monitor-index { color: #9994b8; font-weight: 800; }
.wall-monitor-heading strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wall-monitor-heading > span:last-child { overflow: hidden; margin-left: auto; color: #8e8b9f; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.wall-monitor-screen { overflow: hidden; padding: 7px; border-radius: 5px; background: #191a22; }
.wall-monitor-screen .wall-slots { gap: 2px; }
.wall-monitor-screen .wall-slot { border-radius: 3px; }
.wall-monitor-screen .wall-slot-label { font-size: clamp(7px, .7vw, 11px); }
.wall-monitor-screen .wall-slot-source { font-size: clamp(8px, .85vw, 13px); }
.wall-monitor-screen .wall-divider { min-height: 2px; }
.display-section.preview-expanded { position: relative; z-index: 8; }
.preview-expanded .monitor-wall { position: fixed; inset: 16px; z-index: 9; width: auto; height: calc(100vh - 32px); grid-auto-rows: minmax(0, 1fr); align-content: stretch; gap: 16px; padding: 28px; border-color: #353640; border-radius: 12px; background: #eff0f4; box-shadow: 0 0 0 100vmax rgb(15 16 22 / 82%); }
.preview-expanded .wall-monitor { min-height: 0; padding: 12px; }
.preview-expanded .wall-monitor-screen { padding: 8px; }
.preview-expanded .preview-expand-button { position: fixed; top: 24px; right: 28px; z-index: 10; }
.source-bank-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 14px 0 8px; font-size: 10px; }
.source-bank-heading > span { color: #9297a4; font-size: 9px; }
.source-bank { display: flex; min-height: 55px; flex-wrap: wrap; align-content: flex-start; gap: 7px; padding: 8px; border: 1px dashed #d8d8e2; border-radius: 7px; background: #fafafd; transition: border-color .14s, background .14s; }
.source-bank.drag-over { border-color: var(--purple); background: #f2f0ff; }
.source-bank-item { display: flex; min-width: 190px; max-width: min(100%, 280px); align-items: center; gap: 8px; padding: 7px 9px; border: 1px solid #e5e5ec; border-radius: 6px; background: white; text-align: left; cursor: grab; }
.source-bank-item:hover { border-color: #c5c0f1; }
.source-bank-item.is-dragging { opacity: .45; }
.source-bank-copy { display: grid; min-width: 0; gap: 3px; }
.source-bank-copy strong, .source-bank-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.source-bank-copy strong { color: #474b58; font-size: 9px; }
.source-bank-copy small { color: #969ba7; font-size: 8px; }
.source-bank-empty { align-self: center; color: #9499a5; font-size: 9px; }
.unassigned-label { color: #8d829f; font-size: 9px; }
.feed-table-footer span:first-child { white-space: nowrap; }
@media (max-width: 850px) { .display-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .monitor-config-controls { grid-template-columns: 1fr 1fr; }.monitor-wall-heading { align-items: flex-start; flex-direction: column; }.source-bank-item { width: 100%; max-width: none; }.feed-actions { gap: 6px; }.export-actions { width: 100%; } }
@media (min-width: 1500px) { .page-wrap { width: min(1480px, 100%); padding-right: 62px; padding-left: 62px; } }
@media (max-width: 1120px) { .sidebar { width: 220px; padding-right: 14px; padding-left: 14px; }.main-content { margin-left: 220px; }.topbar { padding-right: 30px; padding-left: 30px; }.page-wrap { padding-right: 30px; padding-left: 30px; }.display-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }.template-card { gap: 7px; padding-right: 8px; padding-left: 8px; }.layout-illustration { width: 41px; height: 34px; } }
@media (max-width: 850px) { .sidebar { width: 66px; align-items: center; padding: 20px 9px 12px; }.brand { margin: 0 0 34px; }.brand > span:last-child, .workspace-label, .workspace-copy, .workspace-switcher .chevron, .nav-item:not(.active)::after, .nav-item, .sidebar-divider, .saved-setup > span:nth-child(2), .saved-setup .more-icon, .new-setup, .share-setup-button, .help-card { display: none; }.workspace-switcher { justify-content: center; margin: 0 0 20px; padding: 5px; border: 0; }.nav-list { width: 100%; }.nav-item.active { display: grid; width: 45px; height: 42px; justify-items: center; padding: 0; font-size: 0; }.nav-icon { font-size: 17px; }.saved-setup { justify-content: center; margin: 18px 0; padding: 9px 5px; }.setup-dot { width: 8px; height: 8px; }.main-content { margin-left: 66px; }.topbar { padding: 0 24px; }.page-wrap { padding: 30px 24px 22px; }.display-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.template-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.template-card { gap: 11px; padding: 12px; }.layout-illustration { width: 47px; height: 38px; } }
@media (max-width: 620px) { .topbar { height: 54px; padding: 0 14px; }.topbar-actions { gap: 11px; }.save-indicator { font-size: 0; }.save-dot { width: 7px; height: 7px; }.page-wrap { padding: 25px 15px 20px; }.page-heading { align-items: flex-start; flex-direction: column; gap: 15px; }.page-heading h1 { font-size: 24px; }.launch-button { align-self: flex-start; }.progress-track { margin: 23px 0; }.progress-step { gap: 5px; font-size: 8px; }.progress-line { width: min(40px, 8vw); margin: 0 6px; }.section-block { padding: 16px 14px; }.section-heading { align-items: flex-start; }.section-title-group { gap: 8px; }.section-title-group h2 { font-size: 13px; }.section-title-group p { max-width: 270px; line-height: 1.5; }.display-grid { grid-template-columns: 1fr; }.display-card { min-height: 78px; padding: 10px 13px; }.display-card input { top: 11px; right: 11px; }.display-note { align-items: flex-start; line-height: 1.5; }.monitor-controls { align-self: flex-end; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }.layout-section .section-heading { flex-direction: column; }.display-select-wrap { align-self: flex-end; margin-top: -4px; }.template-grid { grid-template-columns: 1fr 1fr; gap: 7px; }.template-card { flex-direction: column; align-items: flex-start; gap: 7px; min-height: 85px; padding: 9px; }.template-copy strong { font-size: 9px; }.template-copy small { font-size: 8px; }.feeds-heading { flex-direction: column; }.feed-actions { align-self: flex-end; flex-wrap: wrap; justify-content: flex-end; }.csv-downloads { flex-basis: 100%; justify-content: flex-end; order: 1; gap: 12px; }.feed-table { min-width: 610px; }.feed-table-wrap { overflow-x: auto; }.csv-hint { align-items: flex-start; padding: 8px; line-height: 1.5; }.csv-hint-icon { flex: none; }.feed-table-footer { gap: 8px; font-size: 8px; }.page-footer { align-items: flex-start; gap: 13px; flex-direction: column; }.page-footer > div { width: 100%; justify-content: space-between; }.page-footer > div .text-button { margin-right: auto; }.breadcrumbs { gap: 7px; font-size: 10px; } }
@media (max-width: 620px) { .display-section > .section-heading { flex-wrap: wrap; }.display-section > .section-heading .section-title-group { min-width: 0; flex: 1 1 100%; }.display-section > .section-heading .monitor-controls { width: min(176px, 100%); min-width: 0; margin-left: auto; } }
@media (max-width: 420px) { .topbar { padding-right: 8px; padding-left: 8px; }.breadcrumbs { min-width: 0; gap: 5px; font-size: 8px; }.topbar-actions { min-width: 0; gap: 6px; }.save-indicator, .topbar-actions .icon-button, .theme-control > span { display: none; }.theme-control select { width: 64px; padding-right: 16px; } }
html[data-color-scheme="dark"] {
  color-scheme: dark;
  --ink: #e7e8ee;
  --muted: #a4a8b5;
  --soft: #858b99;
  --line: #353743;
  --paper: #22242d;
  --canvas: #181a21;
  --purple-tint: #302c4c;
}
html[data-color-scheme="dark"] body { background: var(--canvas); color: var(--ink); }
html[data-color-scheme="dark"] .sidebar,
html[data-color-scheme="dark"] .topbar { border-color: #30323d; background: #20222a; }
html[data-color-scheme="dark"] .brand-light,
html[data-color-scheme="dark"] .workspace-copy small,
html[data-color-scheme="dark"] .saved-setup small,
html[data-color-scheme="dark"] .page-description,
html[data-color-scheme="dark"] .section-title-group p { color: #a3a8b5; }
html[data-color-scheme="dark"] .workspace-switcher,
html[data-color-scheme="dark"] .saved-setup,
html[data-color-scheme="dark"] .section-block,
html[data-color-scheme="dark"] .monitor-config,
html[data-color-scheme="dark"] .display-card,
html[data-color-scheme="dark"] .template-card,
html[data-color-scheme="dark"] .secondary-button,
html[data-color-scheme="dark"] .theme-control select,
html[data-color-scheme="dark"] .source-bank-item,
html[data-color-scheme="dark"] .feed-dialog,
html[data-color-scheme="dark"] .toast { border-color: #383b48; background-color: #22242d; color: #e5e6ec; }
html[data-color-scheme="dark"] .workspace-avatar,
html[data-color-scheme="dark"] .help-icon { background: #302c4c; }
html[data-color-scheme="dark"] .share-setup-button { background: #302c4c; color: #c6bfff; }
html[data-color-scheme="dark"] .share-setup-button:hover { background: #3a355b; }
html[data-color-scheme="dark"] .help-card { border-color: #39344f; background: #252431; }
html[data-color-scheme="dark"] .help-card p,
html[data-color-scheme="dark"] .workspace-label,
html[data-color-scheme="dark"] .breadcrumbs,
html[data-color-scheme="dark"] .monitor-wall-heading p,
html[data-color-scheme="dark"] .source-generator-heading span { color: #9ba0ad; }
html[data-color-scheme="dark"] .breadcrumbs strong,
html[data-color-scheme="dark"] .section-title-group h2,
html[data-color-scheme="dark"] .source-generator-heading strong { color: #e5e6ec; }
html[data-color-scheme="dark"] .nav-item { color: #b2b6c2; }
html[data-color-scheme="dark"] .nav-item.active { background: #302c4c; color: #bcb3ff; }
html[data-color-scheme="dark"] .progress-step { color: #9297a5; }
html[data-color-scheme="dark"] .progress-step.current { color: #e1e2e9; }
html[data-color-scheme="dark"] .progress-line { background: #3a3d49; }
html[data-color-scheme="dark"] .monitor-config { background: #20222a; }
html[data-color-scheme="dark"] .monitor-layout-field,
html[data-color-scheme="dark"] .monitor-name-field,
html[data-color-scheme="dark"] .source-generator-field > span { color: #b0b4c0; }
html[data-color-scheme="dark"] .form-input,
html[data-color-scheme="dark"] .theme-control select { border-color: #414451; background-color: #191b22; color: #e6e7ed; }
html[data-color-scheme="dark"] .form-input::placeholder { color: #777d8b; }
html[data-color-scheme="dark"] .monitor-wall { border-color: #3b3e49; background: #252731; }
html[data-color-scheme="dark"] .wall-monitor { border-color: #3c3f4b; background: #20222a; }
html[data-color-scheme="dark"] .wall-monitor-heading strong { color: #e4e5ec; }
html[data-color-scheme="dark"] .source-bank { border-color: #444753; background: #1c1e26; }
html[data-color-scheme="dark"] .source-bank-item:hover { border-color: #8074da; background: #292a36; }
html[data-color-scheme="dark"] .source-bank-copy strong { color: #e1e2e9; }
html[data-color-scheme="dark"] .source-generator { border-color: #39364e; background: #23232f; }
html[data-color-scheme="dark"] .source-generator-heading span,
html[data-color-scheme="dark"] .source-generator-example { color: #a0a4b2; }
html[data-color-scheme="dark"] .csv-hint { border-color: #39364e; background: #252431; color: #b3b6c1; }
html[data-color-scheme="dark"] .csv-hint code { background: #302d40; color: #c4beee; }
html[data-color-scheme="dark"] .feed-table-wrap { border-color: #383b48; }
html[data-color-scheme="dark"] .feed-table thead { background: #272933; }
html[data-color-scheme="dark"] .feed-table th { color: #a5a9b5; }
html[data-color-scheme="dark"] .feed-table td { border-color: #343742; color: #b7bac5; }
html[data-color-scheme="dark"] .feed-table tbody tr:hover { background: #292b35; }
html[data-color-scheme="dark"] .feed-name-cell { color: #e0e1e8 !important; }
html[data-color-scheme="dark"] .slot-pill { border-color: #3b3e49; background: #292b35; color: #c0c3ce; }
html[data-color-scheme="dark"] .empty-feeds p,
html[data-color-scheme="dark"] .feed-table-footer { color: #a0a4b0; }
html[data-color-scheme="dark"] .feed-table-footer span:first-child { color: #d2d4dd; }
html[data-color-scheme="dark"] .page-footer { border-color: #353743; color: #a0a4b0; }
html[data-color-scheme="dark"] .feed-dialog::backdrop { background: rgb(0 0 0 / 66%); }
html[data-color-scheme="dark"] .dialog-heading h2,
html[data-color-scheme="dark"] .empty-feeds strong { color: #e5e6ec; }
html[data-color-scheme="dark"] .theme-control { color: #b2b5c0; }
html[data-color-scheme="dark"] .theme-control select { color: #e5e6ec; }
html[data-color-scheme="dark"] .preview-expanded .monitor-wall { border-color: #373945; background: #252731; }
html[data-color-scheme="dark"] .secondary-button:hover { border-color: #7368c7; background: #2c2e3a; }
html[data-color-scheme="dark"] .primary-button { color: #fff; }
.display-grid { grid-template-columns: repeat(var(--wall-columns, 2), minmax(min(100%, 220px), 1fr)); }
@media (max-width: 380px) { .monitor-config-controls { grid-template-columns: 1fr; } }
