@font-face {
  font-family: Studio;
  src: local('Pretendard'), local('Noto Sans CJK KR'), local('Noto Sans KR');
  font-display: swap;
}
:root {
  --ink: #202733;
  --muted: #727984;
  --line: #e3e5e8;
  --paper: #f6f7f9;
  --accent: #eeb936;
  --nav: #161c27;
  --blue: #4467cb;
  --radius: 12px;
  color-scheme: light;
  font-family:
    Studio,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #bd912c;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
h2 {
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 15px;
}
small {
  font-size: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 100;
  background: #fff;
  padding: 10px;
}
.skip-link:focus {
  top: 10px;
}
.muted,
.helper {
  color: var(--muted);
}
.helper {
  font-size: 12px;
  line-height: 1.8;
  margin-top: 10px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 750;
  color: #89909c;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 228px;
  background: var(--nav);
  color: #c4cad5;
  display: flex;
  flex-direction: column;
  padding: 30px 18px 20px;
  z-index: 30;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 17px;
  font-weight: 800;
  color: #f5f6fa;
  letter-spacing: -0.5px;
  padding: 0 9px;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #999fae;
  margin-top: 2px;
}
.brand-mark {
  width: 36px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #232833;
  font-size: 25px;
  font-family: serif;
  font-weight: bold;
  border-radius: 5px;
}
.workspace-label {
  font-size: 9px;
  letter-spacing: 1.2px;
  margin: 25px 9px 27px;
  color: #8d98a9;
  display: flex;
  align-items: center;
  gap: 7px;
}
i,
.server-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #7aae95;
  border-radius: 50%;
  flex-shrink: 0;
}
.sidebar-section > .eyebrow {
  display: block;
  padding: 0 12px;
  margin-bottom: 12px;
  color: #757f91;
  font-size: 10px;
  letter-spacing: 1px;
}
.sidebar-section > button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 11px 13px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #aeb8c8;
  text-align: left;
  font-size: 13px;
  margin-bottom: 4px;
  gap: 12px;
}
.sidebar-section > button:hover {
  background: #232c3b;
  color: white;
}
.sidebar-section > button.nav-selected {
  background: #303342;
  color: #ffe4a2;
}
.nav-icon {
  font-size: 20px;
  line-height: 1;
  width: 20px;
  text-align: center;
  color: #818d9f;
}
.nav-selected .nav-icon {
  color: #f7d279;
}
#project-count {
  margin-left: auto;
  font-size: 11px;
  background: #45444a;
  padding: 0 7px;
  border-radius: 4px;
}
.recent-section {
  border-top: 1px solid #2b3340;
  margin-top: 24px;
  padding-top: 24px;
  min-height: 0;
  flex: 1;
  overflow: hidden;
}
#project-list {
  max-height: 100%;
  overflow: auto;
  padding-bottom: 30px;
  scrollbar-width: thin;
}
.project-nav {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: #a2adbe;
  padding: 9px 12px;
  font-size: 12px;
  border-radius: 6px;
  overflow-wrap: anywhere;
  line-height: 1.6;
}
.project-nav small {
  display: block;
  color: #677389;
  font-size: 10px;
  margin-top: 3px;
}
.project-nav:hover,
.project-nav.active {
  background: #242d3a;
  color: #fff;
}
.sidebar-footer {
  border-top: 1px solid #2b3340;
  padding: 18px 10px 0;
  margin-top: 14px;
  font-size: 11px;
}
.connection {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #adb9c8;
  margin-bottom: 12px;
}
.connection b {
  font-size: 10px;
  margin-left: auto;
  color: #8dbba5;
  font-weight: 500;
}
.sidebar-footer > a {
  color: #d7deea;
}
.sidebar-footer p {
  color: #667386;
  font-size: 10px;
  margin-top: 12px;
}
.main-shell {
  margin-left: 228px;
  min-width: 0;
}
.topbar {
  height: 70px;
  border-bottom: 1px solid var(--line);
  background: #ffffffde;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  gap: 16px;
}
.topbar-start {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.breadcrumb {
  font-size: 12px;
  color: #7d8592;
  overflow-wrap: anywhere;
}
.breadcrumb > span {
  padding: 0 13px;
  color: #c0c6ce;
}
.breadcrumb b {
  color: #424b59;
  font-weight: 500;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  font-size: 11px;
  color: #9198a4;
}
.icon-button {
  width: 34px;
  height: 34px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 20px;
  display: grid;
  place-items: center;
}
.avatar {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #e8e9ee;
  color: #586176;
  font-size: 12px;
  font-weight: 700;
}
.mobile-menu {
  display: none;
}
main {
  max-width: 1730px;
  margin: auto;
  padding: 34px 36px 48px;
}
.overview-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 25px;
}
.overview-heading h1 {
  font-size: 32px;
  letter-spacing: -1.4px;
  margin: 5px 0 8px;
}
.title-dot {
  color: #dba329;
}
.subtitle {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.overview-tools {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  color: #7a8493;
}
.live-label {
  font-size: 10px;
  color: #8c95a1;
  display: flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}
.overview-counts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 24px;
  padding: 20px 0;
}
.metric {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: none;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 0 24px;
  gap: 2px;
  min-width: 0;
}
.metric:last-child {
  border: 0;
}
.metric > span {
  font-size: 12px;
  color: #79818f;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.metric > span:after {
  content: '↗';
  color: #a6aebb;
}
.metric strong {
  font-size: 29px;
  font-weight: 750;
  letter-spacing: -1px;
}
.metric small {
  font-size: 11px;
  color: #98a0ab;
}
.metric:hover strong {
  color: #9f7320;
}
.metric.active strong {
  color: #a07516;
}
.desk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.resume-panel,
.attention-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.section-heading > span {
  font-size: 11px;
  color: #9098a5;
}
.text-button {
  border: 0;
  background: none;
  padding: 3px 0;
  color: #788391;
  font-size: 12px;
}
.text-button:hover {
  color: #1c2635;
}
.resume-card {
  display: grid;
  grid-template-columns: 43% minmax(0, 1fr);
  width: 100%;
  gap: 20px;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  align-items: center;
}
.resume-card .cover {
  border-radius: 7px;
}
.resume-copy h3 {
  font-size: 17px;
  line-height: 1.6;
  margin: 7px 0 12px;
}
.resume-copy .continue {
  font-size: 12px;
  font-weight: 650;
  color: #966b13;
  display: block;
  margin-top: 12px;
}
.attention-row {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-top: 1px solid #eef0f2;
  background: none;
}
.attention-row:first-child {
  border: 0;
  padding-top: 2px;
}
.attention-icon {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #fff5df;
  color: #ad7923;
  border-radius: 7px;
}
.attention-copy {
  min-width: 0;
  flex: 1;
}
.attention-copy b {
  font-size: 12px;
  display: block;
  line-height: 1.6;
  font-weight: 600;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.attention-copy small {
  font-size: 10px;
  color: #949ca6;
  display: block;
  margin-top: 3px;
}
.attention-arrow {
  color: #a8afb8;
}
.library-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.library-heading h2 {
  font-size: 21px;
  letter-spacing: -0.7px;
  margin-top: 4px;
}
#visible-count {
  font-size: 13px;
  color: #939ba8;
  margin-left: 8px;
  font-weight: 500;
}
.view-switch {
  display: flex;
  border: 1px solid #dfe3e8;
  border-radius: 7px;
  padding: 3px;
  background: white;
}
.view-switch button {
  border: 0;
  background: none;
  color: #a0a8b3;
  width: 31px;
  height: 28px;
  font-size: 20px;
  border-radius: 4px;
  line-height: 1;
}
.view-switch button.active {
  background: #edf0f4;
  color: #404d62;
}
.format-filters {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
  overflow: auto;
  scrollbar-width: thin;
}
.format-filters button {
  padding: 10px 14px 13px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #929aa6;
  white-space: nowrap;
  font-size: 13px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.format-filters button span {
  font-size: 10px;
  color: #a2aab4;
  background: #e9ecf0;
  padding: 1px 5px;
  border-radius: 4px;
}
.format-filters button.active {
  border-bottom-color: #313e52;
  color: #273449;
  font-weight: 750;
}
.format-filters button.active span {
  background: #dfe5ef;
  color: #596b85;
}
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 19px 0 12px;
}
.filter-bar label {
  margin: 0;
}
.filter-bar .search-label {
  flex: 1;
  min-width: 160px;
}
.filter-bar input,
.filter-bar select {
  margin: 0;
  background: white;
  font-size: 12px;
  min-height: 41px;
}
.filter-bar select {
  min-width: 122px;
}
.library-status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #8c95a2;
  font-size: 11px;
  margin: 0 0 18px;
}
.library-status #active-filter-label {
  color: #657286;
}
.job-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.job-card {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
.job-card:hover {
  border-color: #abb8cb;
  box-shadow: 0 8px 24px #15263c0b;
  transform: translateY(-2px);
}
.cover {
  position: relative;
  aspect-ratio: 16/9;
  background: #e5e9ef;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-shrink: 0;
}
.cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #151b23;
  display: block;
}
.cover .cover-format {
  position: absolute;
  left: 10px;
  top: 10px;
  background: #101924c9;
  color: #fff;
  border: 1px solid #ffffff25;
  font-size: 9px;
  letter-spacing: 0.5px;
  padding: 3px 7px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
}
.cover-fallback {
  padding: 22px;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  background: #e9edf3;
  color: #4a5d76;
}
.cover-fallback.kind-cards {
  background: #ede9df;
  color: #77633c;
}
.cover-fallback.kind-web {
  background: #e7eeea;
  color: #4b6b5c;
}
.cover-fallback.kind-shorts {
  background: #e9e7f0;
  color: #675b80;
}
.cover-fallback.kind-operations {
  background: #e9eaec;
  color: #636d7a;
}
.cover-fallback .cover-letter {
  font-size: 43px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -2px;
}
.cover-fallback small {
  font-size: 9px;
  letter-spacing: 1.8px;
}
.cover-fallback .cover-format {
  left: auto;
  right: 10px;
  background: #ffffffa8;
  color: inherit;
  border: 0;
}
.job-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.job-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #99a1ad;
  font-size: 10px;
}
.job-meta > span:first-child {
  color: #7b8799;
  letter-spacing: 0.4px;
}
.job-card h3 {
  font-size: 15px;
  line-height: 1.65;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.format-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.format-tags > span {
  border: 1px solid #edf0f3;
  color: #8490a1;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
}
.job-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #eef0f3;
  padding-top: 12px;
  margin-top: auto;
  font-size: 10px;
  color: #96a0ae;
  gap: 6px;
}
.job-flow {
  margin-top: 3px;
}
.job-channels {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  font-size: 10px;
}
.channel-mark {
  color: #8c95a3;
  display: flex;
  gap: 4px;
  align-items: center;
}
.channel-mark.is-published {
  color: #467c65;
}
.channel-mark:before {
  content: '';
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
}
.status-pill {
  display: inline-block;
  border-radius: 4px;
  background: #eef0f3;
  color: #7f8998;
  font-size: 10px;
  padding: 4px 7px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.status-published,
.status-succeeded {
  background: #eaf3ed;
  color: #4d7e60;
}
.status-running,
.status-started,
.status-pending,
.status-queued {
  background: #eaf0fb;
  color: #5378bb;
}
.status-failed,
.status-blocked,
.status-attention,
.status-uncertain,
.status-interrupted {
  background: #fff3dc;
  color: #a97e35;
}
.status-not_published,
.status-unknown,
.status-artifact {
  background: #f0f2f5;
  color: #8b94a3;
}
.status-not_applicable {
  background: #f7f8fa;
  color: #b1b8c2;
}
.job-grid.list-view {
  grid-template-columns: 1fr;
  gap: 10px;
}
.list-view .job-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
}
.list-view .cover {
  height: 100%;
  aspect-ratio: auto;
  min-height: 130px;
}
.list-view .job-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  align-items: start;
  gap: 5px 20px;
  padding: 16px 22px;
}
.list-view .job-meta,
.list-view h3,
.list-view .format-tags {
  grid-column: 1;
}
.list-view .job-flow {
  grid-column: 2;
  grid-row: 1;
}
.list-view .job-foot {
  grid-column: 2;
  grid-row: 2 / 4;
  margin: 0;
  padding: 0;
  border: 0;
  align-self: end;
  flex-wrap: wrap;
}
.empty-state {
  padding: 40px 20px;
  text-align: center;
  color: #929dab;
  font-size: 13px;
  grid-column: 1/-1;
}
.empty-state b {
  display: block;
  color: #63728a;
  margin-bottom: 8px;
}
.empty-state button {
  display: block;
  margin: 14px auto 0;
}
.radar-panel {
  margin-top: 38px;
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  scroll-margin-top: 25px;
}
.radar-panel .eyebrow {
  color: #b18939;
  margin-bottom: 5px;
}
.radar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 23px;
}
.radar-item {
  border-top: 2px solid #e9d9b5;
  padding-top: 13px;
  min-width: 0;
}
.radar-item small {
  font-size: 10px;
  color: #a08555;
}
.radar-item h3 {
  font-size: 14px;
  margin: 6px 0 9px;
}
.radar-item p {
  font-size: 12px;
  color: #9199a5;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.radar-item a {
  display: inline-block;
  font-size: 11px;
  color: #8f6c2f;
  margin-top: 10px;
}
.library-note {
  font-size: 11px;
  color: #a0a8b3;
  margin: 22px 0;
}
.detail-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.project-header {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.project-header > div {
  min-width: 0;
  max-width: 850px;
}
.project-header h1 {
  font-size: 28px;
  letter-spacing: -1px;
  margin: 9px 0;
}
.project-header > a {
  flex-shrink: 0;
}
.project-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #939ca9;
  font-size: 11px;
}
.edition {
  background: #ece3cf;
  color: #9b7835;
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 700;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin-bottom: 27px;
}
.summary-item {
  padding: 0 22px;
  border-right: 1px solid var(--line);
}
.summary-item:first-child {
  padding-left: 0;
}
.summary-item:last-child {
  border: 0;
}
.summary-item > span {
  font-size: 11px;
  color: #8e97a5;
  display: block;
}
.summary-item strong {
  font-size: 21px;
  font-weight: 700;
  display: block;
  letter-spacing: -0.6px;
  margin: 2px 0;
}
.summary-item small {
  font-size: 10px;
  color: #a2aab6;
  display: block;
}
.amber {
  color: #a87d26;
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 23px;
  align-items: start;
}
.preview-panel,
.feedback-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 0;
  overflow: hidden;
}
.panel-top {
  padding: 20px 23px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.tabs {
  display: flex;
  gap: 24px;
  padding: 0 23px;
  border-bottom: 1px solid var(--line);
  overflow: auto;
}
.tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: #929aaa;
  font-size: 12px;
  padding: 12px 0;
  white-space: nowrap;
}
.tabs button.active {
  color: #38475d;
  border-bottom-color: #445874;
  font-weight: 750;
}
#preview {
  padding: 20px 20px 0;
}
.video-stage {
  background: #151b25;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  overflow: hidden;
  min-height: 170px;
}
.video-stage video {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  max-height: 75vh;
}
.video-stage.short video {
  width: auto;
  max-width: 100%;
  height: 590px;
  aspect-ratio: 9/16;
}
.video-caption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  color: #909aa9;
  font-size: 11px;
  flex-wrap: wrap;
}
.video-caption b {
  font-weight: 500;
  color: #617086;
}
.asset-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 16px 20px 22px;
}
.asset-links a {
  font-size: 11px;
  color: #6c7b91;
  border: 1px solid #e8ecf1;
  padding: 5px 9px;
  border-radius: 5px;
  background: #f8f9fb;
}
.asset-links a:hover {
  border-color: #acb9ce;
}
.checks {
  border-top: 1px solid var(--line);
  padding: 23px;
}
.checks h3 {
  font-size: 14px;
}
.check-row {
  display: flex;
  align-items: start;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid #f0f2f5;
  font-size: 12px;
}
.check-icon {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf4ef;
  color: #628970;
  flex-shrink: 0;
}
.check-row > div {
  flex: 1;
  min-width: 0;
}
.check-row p {
  font-size: 11px;
  color: #99a1ad;
  margin-top: 3px;
}
.check-tag {
  font-size: 10px;
  white-space: nowrap;
  color: #759680;
}
.warn .check-icon {
  background: #fff5e2;
  color: #b6934f;
}
.warn .check-tag {
  color: #ad9054;
}
.bad .check-icon {
  background: #fbece9;
  color: #b56554;
}
.bad .check-tag {
  color: #b56554;
}
.checks details {
  margin-top: 18px;
}
.checks summary {
  font-size: 12px;
  color: #7c899c;
}
.checks form {
  padding-top: 15px;
}
.checkboxes {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}
.checkboxes label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.checkboxes input {
  width: auto;
  margin: 0;
}
label {
  display: block;
  font-size: 12px;
  color: #748095;
  margin-bottom: 16px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  border: 1px solid #dfe4eb;
  border-radius: 6px;
  padding: 10px 11px;
  margin-top: 7px;
  background: #fcfdfe;
  color: #425068;
  font-size: 13px;
  min-width: 0;
}
input::placeholder,
textarea::placeholder {
  color: #a6aebb;
  font-size: 12px;
}
textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.8;
}
.primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 1px solid transparent;
  background: #263448;
  color: #fff;
  border-radius: 6px;
  padding: 12px 15px;
  font-size: 12px;
  font-weight: 650;
}
.primary:hover {
  background: #37475e;
}
.outline-button,
.small-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #dbe1e9;
  background: white;
  color: #64738a;
  font-size: 12px;
  padding: 9px 12px;
  border-radius: 6px;
}
.small-button {
  font-size: 11px;
  padding: 9px 7px;
  white-space: nowrap;
}
.outline-button:hover {
  border-color: #9caec6;
}
.feedback-panel {
  padding: 0 20px 23px;
  position: sticky;
  top: 20px;
}
.feedback-panel .panel-top {
  padding: 20px 0 11px;
}
.omni-pill {
  font-size: 9px;
  background: #edf0f7;
  border-radius: 5px;
  color: #7d87a0;
  padding: 3px 7px;
}
.panel-description {
  font-size: 12px;
  color: #98a2b1;
  line-height: 1.9;
  margin-bottom: 22px;
}
#session-settings {
  font-size: 11px;
  margin: 0 0 20px;
  padding: 13px;
  background: #f6f8fb;
  border-radius: 6px;
  color: #8390a5;
}
#session-settings form {
  margin-top: 14px;
}
#session-settings label {
  font-size: 11px;
}
.time-control {
  display: flex;
  gap: 7px;
  align-items: center;
}
.time-control label {
  flex: 1;
  min-width: 0;
}
.time-control button {
  margin-top: 8px;
}
.activity-heading {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 25px;
}
.activity-item {
  border-left: 1px solid #dce3ed;
  margin-left: 3px;
  padding: 0 0 19px 14px;
  position: relative;
  font-size: 12px;
}
.activity-item:before {
  content: '';
  width: 5px;
  height: 5px;
  position: absolute;
  background: #9aa9c0;
  left: -3px;
  top: 7px;
  border-radius: 50%;
}
.activity-item p {
  color: #8e99aa;
  font-size: 11px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 5px 0;
}
.activity-item small {
  font-size: 10px;
  color: #a5adba;
}
.activity-item.empty {
  border: 0;
  color: #9da7b5;
  font-size: 12px;
  white-space: pre-line;
  line-height: 1.8;
}
.activity-item.empty:before {
  display: none;
}
.production-details {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.production-details > summary {
  list-style: none;
  padding: 20px 23px;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.production-details > summary > span {
  font-size: 11px;
  color: #97a2b2;
  font-weight: 400;
}
.production-details > summary:after {
  content: '+';
}
.production-details[open] > summary:after {
  content: '−';
}
.production-body {
  padding: 0 23px 23px;
}
.workflow-panel,
.publication-panel {
  padding: 22px 0 0;
  margin-bottom: 14px;
  border-top: 1px solid var(--line);
}
.workflow-stages {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 17px 0;
}
.workflow-step {
  padding: 12px;
  background: #f6f8fb;
  border-left: 2px solid #e4e9f1;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 8px;
  font-size: 11px;
  min-width: 0;
}
.workflow-step.running {
  border-color: #86a5d8;
}
.workflow-step.succeeded {
  border-color: #83ab94;
}
.workflow-step.failed,
.workflow-step.blocked {
  border-color: #dcb776;
}
.workflow-panel summary {
  font-size: 12px;
  cursor: pointer;
  color: #8a96a8;
}
.timeline-row {
  padding: 14px 0;
  border-bottom: 1px solid #f0f2f5;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
}
.timeline-row small {
  font-size: 11px;
  color: #97a3b4;
}
.timeline-row p {
  white-space: pre-wrap;
}
.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.channel-card {
  border: 1px solid #e8ecf2;
  padding: 15px;
  border-radius: 7px;
  min-width: 0;
}
.channel-card h3 {
  font-size: 13px;
  margin-bottom: 10px;
}
.publication-record {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 12px;
}
.publication-record a {
  font-size: 12px;
  color: #557da9;
}
.publication-record small {
  font-size: 10px;
  color: #98a2b2;
}
.receipt-id {
  overflow-wrap: anywhere;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.card-tile {
  border: 1px solid #e6ebf1;
  border-radius: 6px;
  overflow: hidden;
  background: #f6f8fb;
  padding: 0;
  text-align: left;
}
.card-tile img {
  width: 100%;
  display: block;
}
.card-tile span {
  display: block;
  padding: 11px;
  font-size: 11px;
  color: #8090a5;
}
.web-frame {
  width: 100%;
  height: 750px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}
.story-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    15px/1.9 Studio,
    sans-serif;
  padding: 20px;
  max-height: 750px;
  overflow: auto;
}
.source-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.source-list a {
  font-size: 12px;
  overflow-wrap: anywhere;
  padding: 12px;
  background: #f7f9fc;
  border: 1px solid #e9edf3;
  border-radius: 6px;
  color: #71829a;
}
#version-picker:not(:empty) {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
}
#version-picker label {
  margin: 0;
}
#version-picker select {
  font-size: 12px;
}
.page-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 27px;
  font-size: 10px;
  color: #abb3bf;
}
.focus-mode .feedback-panel,
.focus-mode .summary-grid,
.focus-mode .project-header .subtitle {
  display: none;
}
.focus-mode .content-grid {
  grid-template-columns: 1fr;
}
.focus-mode .video-stage video {
  max-height: 82vh;
}
.focus-mode .cards-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.focus-mode .checks {
  display: none;
}
.focus-mode .project-header h1 {
  font-size: 22px;
}
.login-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: #f8f9fb;
}
.login-card {
  max-width: 470px;
  padding: 50px;
  margin: auto;
  width: 100%;
}
.login-card .brand-mark {
  margin-bottom: 35px;
}
.login-card h1 {
  font-size: 32px;
  letter-spacing: -1px;
  margin: 17px 0;
}
.login-card .muted {
  font-size: 13px;
  margin-bottom: 32px;
  line-height: 1.9;
}
.login-card small {
  display: block;
  color: #a1a9b5;
  margin-top: 24px;
  font-size: 11px;
}
.login-art {
  background: var(--nav);
  color: #fff;
  padding: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image:
    linear-gradient(#ffffff03 1px, transparent 1px),
    linear-gradient(90deg, #ffffff03 1px, transparent 1px);
  background-size: 45px 45px;
}
.art-label {
  color: #8390a5;
  font-size: 10px;
  letter-spacing: 2px;
}
.art-lines {
  font-size: clamp(30px, 4.5vw, 78px);
  letter-spacing: -3px;
  line-height: 1.2;
  margin: 55px 0;
}
.art-lines b {
  display: block;
}
.art-lines .accent {
  color: var(--accent);
}
.login-art p {
  color: #9ba8bc;
  font-size: 15px;
  line-height: 1.9;
}
#login-error {
  color: #b96656;
  font-size: 12px;
  margin-top: 12px;
}
dialog {
  border: 0;
  border-radius: 10px;
  padding: 18px;
  background: #f8f9fb;
  max-width: 95vw;
  max-height: 95vh;
  overflow: auto;
}
dialog::backdrop {
  background: #141d2bcc;
}
dialog img {
  display: block;
  max-width: 85vw;
  max-height: 83vh;
  object-fit: contain;
}
dialog p {
  text-align: center;
  font-size: 12px;
  color: #8792a3;
  margin-top: 10px;
}
.dialog-close {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 34px;
  height: 34px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 22px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #27374b;
  color: white;
  box-shadow: 0 5px 30px #131b2a22;
  border-radius: 8px;
  padding: 13px 21px;
  max-width: 90vw;
  font-size: 13px;
  z-index: 80;
}
.nav-backdrop {
  display: none;
}
.loading-ring {
  display: block;
  margin: 0 auto 16px;
  border: 2px solid #e2e7ee;
  border-top-color: #8297b5;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#sync-warning:empty {
  display: none;
}
#sync-warning:not(:empty) {
  margin-bottom: 15px;
  color: #a78247;
}
summary {
  cursor: pointer;
}
@media (min-width: 1750px) {
  .job-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .content-grid {
    grid-template-columns: minmax(0, 1fr) 350px;
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 205px;
    padding: 27px 12px 18px;
  }
  .main-shell {
    margin-left: 205px;
  }
  .topbar {
    padding: 0 25px;
  }
  main {
    padding: 28px 25px;
  }
  .job-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .desk-grid {
    grid-template-columns: 1fr;
  }
  .resume-card {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .attention-panel {
    display: none;
  }
  .content-grid {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 16px;
  }
  .tabs {
    gap: 18px;
  }
  .radar-grid {
    gap: 15px;
  }
  .metric {
    padding: 0 18px;
  }
  .filter-bar {
    flex-wrap: wrap;
  }
  .filter-bar .search-label {
    flex-basis: 38%;
  }
  .resume-copy h3 {
    max-width: 600px;
  }
}
@media (max-width: 1000px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  .feedback-panel {
    position: static;
  }
  .channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .summary-item {
    padding: 0 14px;
  }
  .summary-item strong {
    font-size: 19px;
  }
  .summary-item small {
    font-size: 9px;
  }
  .overview-tools {
    display: none;
  }
  .metric small {
    font-size: 10px;
  }
  .radar-grid {
    grid-template-columns: 1fr;
  }
  .radar-item:nth-child(n + 4) {
    display: none;
  }
  .list-view .job-card {
    grid-template-columns: 135px minmax(0, 1fr);
  }
  .list-view .job-content {
    display: flex;
    padding: 14px;
    gap: 8px;
  }
  .list-view .job-foot {
    margin-top: auto;
  }
  .project-header {
    align-items: flex-start;
  }
  .project-header h1 {
    font-size: 24px;
  }
  .project-header > a {
    font-size: 10px;
  }
  .login-art {
    padding: 40px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 248px;
  }
  .nav-open .sidebar {
    transform: none;
  }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: #131c2e88;
    border: 0;
    z-index: 29;
  }
  .main-shell {
    margin: 0;
  }
  .mobile-menu {
    display: grid;
    font-size: 16px;
  }
  .topbar {
    height: 60px;
    padding: 0 16px;
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
  }
  .breadcrumb {
    font-size: 11px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    max-width: 50vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .breadcrumb b {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .breadcrumb > span {
    padding: 0 8px;
  }
  .top-status,
  .server-dot {
    display: none;
  }
  .top-actions {
    gap: 8px;
  }
  main {
    padding: 26px 17px;
  }
  .overview-heading h1 {
    font-size: 29px;
  }
  .subtitle {
    font-size: 12px;
  }
  .overview-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
    margin-bottom: 17px;
  }
  .metric {
    padding: 16px 18px;
    gap: 0;
  }
  .metric:nth-child(2) {
    border-right: 0;
  }
  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .metric strong {
    font-size: 27px;
  }
  .metric small {
    font-size: 10px;
  }
  .desk-grid {
    margin-bottom: 29px;
    gap: 14px;
  }
  .resume-panel {
    padding: 16px;
  }
  .resume-card {
    grid-template-columns: 39% minmax(0, 1fr);
    gap: 14px;
  }
  .resume-copy h3 {
    font-size: 13px;
    margin: 5px 0 7px;
  }
  .resume-copy .continue {
    margin-top: 7px;
    font-size: 11px;
  }
  .resume-copy .eyebrow {
    font-size: 9px;
    letter-spacing: 0.4px;
  }
  .resume-copy .status-pill {
    font-size: 9px;
  }
  .section-heading h2 {
    font-size: 15px;
  }
  .section-heading > span {
    font-size: 10px;
  }
  .library-heading h2 {
    font-size: 20px;
  }
  .format-filters {
    gap: 0;
  }
  .format-filters button {
    padding: 10px 11px;
    font-size: 12px;
  }
  .filter-bar {
    gap: 8px;
  }
  .filter-bar .search-label {
    flex-basis: 100%;
  }
  .filter-bar > label:not(.search-label) {
    flex: 1;
    min-width: 0;
  }
  .filter-bar select {
    min-width: 0;
    padding: 10px 6px;
    font-size: 11px;
  }
  .filter-bar > #clear-filters {
    font-size: 11px;
  }
  .library-status {
    flex-wrap: wrap;
    font-size: 10px;
    gap: 5px;
  }
  .job-grid {
    gap: 16px;
  }
  .job-content {
    padding: 14px;
    gap: 9px;
  }
  .job-card h3 {
    font-size: 14px;
  }
  .job-meta {
    font-size: 9px;
  }
  .job-foot {
    font-size: 10px;
  }
  .job-channels {
    gap: 6px;
  }
  .format-tags > span {
    font-size: 9px;
  }
  .radar-panel {
    padding: 19px;
    margin-top: 28px;
  }
  .radar-panel > .section-heading {
    align-items: start;
    flex-wrap: wrap;
  }
  .detail-toolbar {
    margin-bottom: 20px;
  }
  .detail-toolbar > button {
    font-size: 11px;
  }
  .project-header {
    flex-direction: column;
    gap: 13px;
  }
  .project-header h1 {
    font-size: 24px;
  }
  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }
  .summary-item,
  .summary-item:first-child {
    padding: 13px 16px;
  }
  .summary-item:nth-child(2) {
    border-right: 0;
  }
  .summary-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .summary-item small {
    font-size: 10px;
  }
  .summary-item strong {
    font-size: 21px;
  }
  .panel-top {
    padding: 17px 16px 12px;
  }
  .tabs {
    padding: 0 16px;
    gap: 20px;
  }
  .tabs button {
    font-size: 12px;
  }
  #preview {
    padding: 14px 12px 0;
  }
  .asset-links {
    padding: 14px 12px 18px;
  }
  .checks {
    padding: 19px 16px;
  }
  .checks .section-heading {
    align-items: start;
  }
  .check-row {
    font-size: 12px;
  }
  .check-row p {
    font-size: 10px;
  }
  .check-tag {
    font-size: 9px;
  }
  .video-stage.short video {
    height: auto;
    max-height: 70vh;
  }
  .feedback-panel {
    padding: 0 18px 20px;
  }
  .production-details > summary {
    font-size: 12px;
    padding: 18px 16px;
  }
  .production-details > summary > span {
    display: none;
  }
  .production-body {
    padding: 0 14px 18px;
  }
  .workflow-stages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .channel-grid {
    gap: 8px;
  }
  .channel-card {
    padding: 12px;
  }
  .channel-card h3 {
    font-size: 12px;
  }
  .cards-grid {
    gap: 10px;
  }
  .focus-mode .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .web-frame {
    height: 650px;
  }
  .page-footer {
    font-size: 9px;
    flex-wrap: wrap;
    gap: 6px;
  }
  .login-screen {
    grid-template-columns: 1fr;
  }
  .login-art {
    display: none;
  }
  .login-card {
    padding: 45px 30px;
  }
  .list-view .job-card {
    grid-template-columns: 100px minmax(0, 1fr);
  }
  .list-view .cover {
    min-height: 140px;
  }
  .list-view .cover-fallback {
    padding: 12px;
  }
  .list-view .cover-letter {
    font-size: 28px;
  }
  .list-view .cover small {
    font-size: 7px;
    letter-spacing: 0;
  }
  .cover-fallback {
    padding: 18px;
  }
  .cover-fallback .cover-letter {
    font-size: 33px;
  }
  .source-list a {
    font-size: 11px;
  }
  .story-preview {
    padding: 12px;
    font-size: 14px;
  }
}
@media (max-width: 520px) {
  .job-grid {
    grid-template-columns: 1fr;
  }
  .cover-fallback {
    aspect-ratio: 2.1;
  }
  .cover-fallback .cover-letter {
    font-size: 42px;
  }
  .cover-fallback small {
    font-size: 10px;
  }
  .resume-card .cover-fallback {
    aspect-ratio: 16/9;
  }
  .resume-card .cover-letter {
    font-size: 22px;
  }
  .resume-card .cover-fallback small {
    display: none;
  }
  .resume-card .cover-format {
    font-size: 8px;
    padding: 2px 5px;
    top: 6px;
    right: 6px;
  }
  .job-card h3 {
    font-size: 15px;
  }
  .job-content {
    padding: 17px;
  }
  .job-meta {
    font-size: 10px;
  }
  .job-foot {
    font-size: 11px;
  }
  .cover .cover-format {
    font-size: 10px;
  }
  .library-note {
    font-size: 10px;
  }
  .project-header h1 {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (min-width: 1251px) {
  .overview-heading {
    margin-bottom: 21px;
  }
  .overview-counts {
    padding: 15px 0;
    margin-bottom: 20px;
  }
  .metric strong {
    font-size: 27px;
  }
  .desk-grid {
    margin-bottom: 28px;
  }
  .resume-panel,
  .attention-panel {
    padding: 17px 20px;
  }
  .resume-card {
    grid-template-columns: 37% minmax(0, 1fr);
    gap: 18px;
  }
  .resume-copy h3 {
    font-size: 15px;
    margin: 6px 0 8px;
  }
  .resume-copy .continue {
    margin-top: 8px;
  }
  .attention-row {
    padding: 8px 0;
  }
  .attention-copy b {
    font-size: 11px;
  }
  .attention-copy small {
    font-size: 10px;
  }
  .section-heading {
    margin-bottom: 12px;
  }
}
/* Keep the review workspace readable when a project has a long request history. */
#activity {
  max-height: 360px;
  overflow: auto;
  padding-top: 4px;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}
.helper,
.subtitle,
.panel-description,
.video-caption,
.activity-item p,
.check-row p {
  color: #718095;
}
.metric small,
.summary-item small,
.job-meta,
.job-foot,
.library-status,
.library-note,
.attention-copy small,
.video-caption > span,
.project-meta,
.section-heading > span {
  color: #778498;
}
.radar-item p,
.format-filters button {
  color: #788597;
}
.job-content .format-tags > span {
  color: #718198;
}
.resume-card .cover-format {
  font-size: 9px;
  max-width: calc(100% - 20px);
  width: auto;
  align-self: flex-start;
}
@media (max-width: 760px) {
  #activity {
    max-height: 300px;
  }
  .resume-card .cover-format {
    left: 7px;
    top: 7px;
    right: auto;
    font-size: 8px;
  }
}

/* Preserve the complete encoded frame when the review pane constrains its size. */
.video-stage video {
  object-fit: contain;
  object-position: center;
}

.project-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.project-actions .primary {
  white-space: nowrap;
  padding: 12px 18px;
  border-radius: 8px;
}
.upload-job {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid #b7ad83;
  border-radius: 10px;
}
.upload-job.preparing,
.upload-job.uploading {
  border-left-color: #dba70e;
}
.upload-job.succeeded {
  border-left-color: #3b8b69;
}
.upload-job.failed,
.upload-job.uncertain,
.upload-job.partial {
  border-left-color: #bb643a;
}
.upload-job p {
  font-size: 13px;
  margin: 6px 0;
}
.upload-job small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}
.upload-job .outline-button {
  flex-shrink: 0;
}
#upload-dialog {
  width: min(700px, calc(100vw - 32px));
  max-height: 90dvh;
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper, #f8f7f3);
  color: var(--ink, #202735);
}
#upload-dialog::backdrop {
  background: #111b2a99;
  backdrop-filter: blur(4px);
}
.upload-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.upload-heading h2 {
  margin: 8px 0;
}
.upload-heading .eyebrow {
  margin: 0;
}
#upload-form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}
#upload-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
}
#upload-form input:not([type='checkbox']),
#upload-form select,
#upload-form textarea {
  width: 100%;
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: inherit;
  font: inherit;
}
#upload-form textarea {
  resize: vertical;
  font-weight: 400;
}
#upload-form small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
.upload-settings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.upload-settings > * {
  min-width: 0;
}
.upload-settings > label {
  align-content: start;
}
#upload-thumbnail {
  max-width: 100%;
  width: 220px;
  max-height: 140px;
  object-fit: contain;
  object-position: left;
  margin-top: 10px;
  border-radius: 6px;
}
#upload-form .upload-confirm {
  display: flex;
  align-items: flex-start;
  font-weight: 400;
  line-height: 1.7;
}
#upload-form .upload-confirm input {
  margin-top: 5px;
  flex-shrink: 0;
}
#upload-error {
  color: #a64026;
  font-size: 13px;
  margin: 0;
}
#submit-upload {
  padding: 14px;
  border-radius: 8px;
}
#upload-warnings:empty {
  display: none;
}
#upload-warnings p {
  margin: 4px 0;
}
@media (max-width: 700px) {
  .project-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .upload-job {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
    gap: 12px;
  }
  #upload-dialog {
    padding: 20px;
  }
  .upload-settings {
    grid-template-columns: 1fr;
  }
  .upload-heading h2 {
    font-size: 22px;
  }
}
#upload-form .upload-confirm input {
  width: 16px;
  height: 16px;
  margin: 5px 0 0;
  padding: 0;
  flex: 0 0 16px;
}
#upload-form .upload-confirm span {
  min-width: 0;
}
#upload-dialog p {
  text-align: left;
}
#upload-form > label {
  min-width: 0;
}
#upload-source {
  overflow-wrap: anywhere;
}

#video-request-dialog {
  width: min(620px, calc(100vw - 32px));
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
}
#video-request-dialog::backdrop {
  background: #111b2a99;
  backdrop-filter: blur(4px);
}
#video-request-dialog p {
  text-align: left;
}
.video-request-copy {
  margin: 12px 0 20px;
  color: #718095;
  font-size: 12px;
  line-height: 1.8;
}
.video-format-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.video-format-option {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid #dce3ec;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.video-format-option:has(input:checked) {
  border-color: #506b91;
  box-shadow: 0 0 0 2px #506b911a;
}
.video-format-option:has(input:disabled) {
  background: #f1f3f6;
  cursor: default;
}
.video-format-option input {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 0;
  padding: 0;
}
.video-format-option span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.video-format-option b {
  font-size: 13px;
}
.video-format-option small {
  color: #778498;
  font-size: 10px;
  overflow-wrap: anywhere;
}
.video-request-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}
#video-request-error {
  min-height: 20px;
  margin-top: 10px;
  color: #a64026;
  font-size: 12px;
}
@media (max-width: 600px) {
  #video-request-dialog {
    padding: 20px;
  }
  .video-format-options {
    grid-template-columns: 1fr;
  }
  .video-request-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }
  .video-request-actions > * {
    width: 100%;
  }
}

.threads-card-preview {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 0 12px;
}
.threads-card-preview figure {
  flex: 0 0 220px;
  margin: 0;
}
.threads-card-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.threads-card-preview figcaption {
  text-align: center;
  margin-top: 6px;
  color: var(--muted);
}

.runtime-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 20px;
}
.runtime-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.runtime-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e8edf3;
  border-radius: 8px;
  background: #f8fafc;
  padding: 10px 12px;
  text-align: left;
  min-width: 0;
}
.runtime-row:hover {
  border-color: #aab8cb;
}
.runtime-live {
  width: 7px;
  height: 7px;
  background: #48a06a;
  box-shadow: 0 0 0 4px #48a06a18;
}
.runtime-copy {
  min-width: 0;
}
.runtime-copy b,
.runtime-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.runtime-copy b {
  font-size: 12px;
}
.runtime-copy small {
  font-size: 10px;
  color: #778498;
}
.runtime-arrow {
  margin-left: auto;
  color: #738198;
  font-size: 10px;
  white-space: nowrap;
}
.runtime-row:disabled {
  opacity: 1;
  cursor: default;
}
.runtime-row:disabled .runtime-arrow {
  color: #8e98a7;
}

/* 작업 공간은 한 화면에 한 목적만 보여 준다. 실행 상태는 별도 백그라운드 화면에 모은다. */
.workspace-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.workspace-page-head h1,
.library-heading h1 {
  font-size: 30px;
  letter-spacing: -1px;
  margin: 3px 0 5px;
}
.home-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -8px 0 24px;
}
.compact-primary {
  width: auto;
  display: inline-flex;
  justify-content: center;
  gap: 16px;
  padding: 10px 15px;
}
.library-heading {
  margin-bottom: 22px;
}
.radar-panel.workspace-view {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}
.radar-panel.workspace-view > .section-heading {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
#background-count {
  margin-left: auto;
  font-size: 11px;
  background: #45444a;
  padding: 0 7px;
  border-radius: 4px;
}
.background-jobs-panel {
  margin-top: 24px;
}
.background-job-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.background-job-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}
.background-job-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 11px;
  border-bottom: 1px solid #edf0f4;
}
.background-job-head b {
  font-size: 13px;
}
.background-job-head span {
  font-size: 10px;
  color: #738198;
}
.background-job-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #f0f2f5;
  background: transparent;
  text-align: left;
  min-width: 0;
}
.background-job-row:last-child {
  border-bottom: 0;
}
.background-job-row span {
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.background-job-row small {
  font-size: 10px;
  color: #738198;
  white-space: nowrap;
}
.background-job-row:not(:disabled):hover span {
  color: #966b13;
}
.background-job-row:disabled {
  opacity: 1;
  cursor: default;
}
@media (max-width: 1100px) {
  .background-job-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .runtime-list,
  .background-job-grid {
    grid-template-columns: 1fr;
  }
  .workspace-page-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .workspace-page-head > button {
    width: 100%;
  }
  .home-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 0;
  }
  .home-actions > * {
    width: 100%;
  }
  .runtime-row {
    align-items: flex-start;
  }
  .runtime-arrow {
    display: none;
  }
  .library-heading h1,
  .workspace-page-head h1 {
    font-size: 26px;
  }
  .radar-panel.workspace-view {
    padding: 0;
    margin: 0;
  }
}
