@import url("/fonts.css");
:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Tahoma, Arial, sans-serif;
  color: #ebedf1;
  background: #101214;
  font-synthesis: none;
  --green: #b5ee77;
  --lime: #b5ee77;
  --line: #2a2d33;
  --muted: #9299a5;
  --white: #191c20;
  --red: #ff9997;
  --radius: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--lime);
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 1px solid #353940;
  background: #24272d;
  border-radius: 8px;
  padding: 9px 14px;
  color: #e6e9ef;
  font-weight: 500;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
button:hover {
  background: #30343b;
  border-color: #505661;
}
button:active {
  transform: translateY(1px);
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
button.primary {
  background: var(--lime);
  color: #172210;
  border-color: var(--lime);
  font-weight: 650;
  box-shadow: 0 1px 0 #d6ffb2 inset;
}
button.primary:hover {
  background: #c8fa93;
}
button.danger {
  color: var(--red);
  background: #342225;
  border-color: #644044;
}
button.ghost {
  background: transparent;
  border-color: transparent;
}
button svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  color: #d2ffa9;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-weight: 600;
  font-size: 29px;
  letter-spacing: -0.8px;
  line-height: 1.35;
  margin-bottom: 10px;
}
h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
  margin-bottom: 14px;
}
h3 {
  font-size: 13px;
  font-weight: 600;
}
small,
.muted,
.subtle {
  color: var(--muted);
}
small {
  font-size: 11px;
}
.eyebrow {
  color: #8d96a4;
  font-size: 10px;
  letter-spacing: 1.9px;
  font-weight: 650;
  line-height: 1.8;
  margin-bottom: 9px;
}
.eyebrow:empty {
  display: none;
}
.layout {
  display: flex;
  min-height: 100dvh;
}
.sidebar {
  width: 222px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #15171a;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 29px 17px;
  z-index: 30;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: white;
  padding: 0 10px 32px;
}
.brand:hover {
  color: white;
}
.brand-icon {
  width: 38px;
  height: 38px;
  display: block;
  flex-shrink: 0;
  background: var(--lime);
  color: #172210;
  border-radius: 11px;
  object-fit: contain;
}
.brand strong {
  display: block;
  font-size: 20px;
  letter-spacing: -0.6px;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.8px;
  color: #89929e;
  margin-top: 1px;
}
.workspace-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 10px;
  background: #202329;
  border: 1px solid #2d3138;
  border-radius: 9px;
  margin: 0 2px 27px;
}
.workspace-mark {
  width: 27px;
  height: 27px;
  background: #343c2d;
  color: var(--lime);
  display: grid;
  place-items: center;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
}
.workspace-pill strong {
  font-size: 11px;
  display: block;
}
.workspace-pill small {
  font-size: 10px;
  display: block;
}
.nav-caption {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  color: #6e7785;
  padding: 0 13px;
  margin-bottom: 11px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #979eab;
  padding: 11px 13px;
  border-radius: 8px;
  font-size: 12px;
}
.nav svg {
  width: 17px;
  height: 17px;
  opacity: 0.9;
  flex-shrink: 0;
}
.nav a:hover {
  color: white;
  background: #202329;
}
.nav a.active {
  color: var(--lime);
  background: #b5ee7711;
}
.nav a.active:after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--lime);
}
.sidebar-bottom {
  margin-top: auto;
  padding: 25px 5px 0;
}
.workspace-note {
  font-size: 11px;
  padding: 13px;
  background: #1d2123;
  border: 1px solid #30362f;
  border-radius: 10px;
  margin-bottom: 22px;
}
.workspace-note strong {
  display: block;
  color: #d0d8ca;
  margin-bottom: 5px;
}
.workspace-note p {
  font-size: 10px;
  color: #8f9c8a;
  margin: 0;
}
.online {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #929b89;
  margin-bottom: 17px;
}
.dot {
  height: 6px;
  width: 6px;
  display: inline-block;
  border-radius: 50%;
  background: var(--lime);
}
.account {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.account strong {
  font-size: 11px;
  display: block;
  color: #dfe3e8;
}
.account small {
  display: block;
  font-size: 10px;
}
.avatar {
  height: 32px;
  width: 32px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #3c384d;
  color: #dbd0fa;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
}
.main {
  margin-left: 222px;
  width: calc(100% - 222px);
  min-width: 0;
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  padding: 0 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #121416;
}
.topbar strong {
  font-size: 12px;
  font-weight: 550;
}
.topbar span {
  font-size: 10px;
  color: #77818f;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 17px;
}
.topbar .search-shortcut {
  width: 216px;
  justify-content: flex-start;
  background: #1b1e22;
  color: #8f98a6;
  font-size: 11px;
  padding: 8px 10px;
  border-color: #2c3037;
}
.search-shortcut kbd {
  margin-left: auto;
  border: 1px solid #363b43;
  padding: 0 4px;
  border-radius: 4px;
  font-size: 10px;
  color: #a3aab6;
  background: #252930;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid #3a4048;
  background: #252a31;
  border-radius: 5px;
  white-space: nowrap;
  font-size: 10px;
  color: #aab4c1;
  font-weight: 500;
  letter-spacing: 0.2px;
  line-height: 1.7;
}
.topbar .tag {
  color: #aab4c1;
  font-size: 10px;
}
.content {
  max-width: 1540px;
  margin: 0 auto;
  padding: 34px 34px 65px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.page-heading p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 0;
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.button-icon {
  font-size: 17px;
  line-height: 1;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}
.stat {
  background: #191c20;
  border: 1px solid #30343a;
  border-radius: 12px;
  padding: 19px 20px;
  position: relative;
  overflow: hidden;
}
.stat-label {
  font-size: 10px;
  color: #a1a8b2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stat-label svg {
  height: 15px;
  width: 15px;
  color: #717c89;
}
.stat-value {
  font-size: 30px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: -1.5px;
  margin: 5px 0 2px;
}
.stat small {
  font-size: 10px;
  display: block;
  color: #7f8996;
}
.stat:first-child {
  border-color: #425239;
}
.stat:first-child .stat-value {
  color: var(--lime);
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 23px;
  margin-bottom: 20px;
  min-width: 0;
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  margin-bottom: 15px;
}
.panel-title h2 {
  margin: 0;
}
.panel-title .muted {
  font-size: 10px;
}
.tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px;
  background: #181b1f;
  border: 1px solid #282d34;
  border-radius: 9px;
  width: max-content;
  margin-bottom: 20px;
}
.tab {
  border: 0;
  background: none;
  color: #8d97a5;
  font-size: 11px;
  padding: 7px 15px;
  border-radius: 6px;
}
.tab.selected {
  background: #343a40;
  color: #edf1f6;
  box-shadow: 0 2px 3px #0002;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 22px;
}
.toolbar input {
  max-width: 310px;
  font-size: 11px;
}
.count {
  font-size: 10px;
  color: #818b99;
}
.job-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.job-card {
  border: 1px solid #30343c;
  background: #1a1d22;
  border-radius: 12px;
  overflow: hidden;
  transition:
    transform 0.18s,
    border-color 0.18s;
}
.job-card:hover {
  transform: translateY(-3px);
  border-color: #5a674d;
}
.job-card > a {
  color: inherit;
  display: block;
}
.job-art {
  height: 218px;
  background: #20262a;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.job-art:before {
  content: "";
  position: absolute;
  height: 172px;
  width: 97px;
  border: 1px solid #77946d55;
  background: #77946d15;
  border-radius: 10px;
  transform: rotate(-7deg);
}
.job-art:after {
  content: "";
  position: absolute;
  height: 172px;
  width: 97px;
  border: 1px solid #9bbc9344;
  border-radius: 10px;
  transform: rotate(7deg);
}
.job-art svg {
  width: 32px;
  height: 32px;
  z-index: 2;
  color: #b5c7b0;
}
.job-art .tag {
  z-index: 3;
  background: #101214c9;
  backdrop-filter: blur(8px);
  color: #dce1e5;
}
.job-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 1;
}
.job-art .format-chip {
  position: absolute;
  left: 13px;
  top: 13px;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 1px;
  color: #cdd9c8;
  background: #141a15b0;
  border: 1px solid #5d6f5655;
  border-radius: 4px;
  padding: 2px 6px;
}
.tone-1 {
  background: #26232e;
}
.tone-2 {
  background: #202a2c;
}
.tone-3 {
  background: #302b24;
}
.job-body {
  padding: 17px 18px;
}
.job-body h3 {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 11px;
}
.job-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #2b3038;
  padding-top: 13px;
  margin-top: 14px;
  font-size: 10px;
  color: #7c8795;
}
.tag.ready,
.tag.awaiting_approval {
  color: #ddceff;
  background: #b39af41a;
  border-color: #b39af433;
}
.tag.approved,
.tag.published,
.tag.completed,
.tag.ready_to_publish {
  color: #b9e9b4;
  background: #8ce18113;
  border-color: #8ce18128;
}
.tag.generating,
.tag.rendering,
.tag.planning,
.tag.publishing {
  color: #b6d5f7;
  background: #7bb2ee17;
  border-color: #7bb2ee33;
}
.tag.failed,
.tag.blocked,
.tag.blocked_configuration,
.tag.submission_unknown,
.tag.unknown {
  color: #edbb91;
  background: #e0a77913;
  border-color: #e0a77930;
}
.empty {
  border: 1px dashed #3b424a;
  border-radius: 14px;
  padding: 65px 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 315px;
  background: #16191c;
}
.empty h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 18px 0 9px;
}
.empty p {
  color: #84909f;
  line-height: 1.9;
  font-size: 12px;
  margin-bottom: 24px;
}
.empty-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: #b5ee7710;
  color: var(--lime);
  border: 1px solid #b5ee7725;
  border-radius: 15px;
}
.empty-icon svg {
  width: 25px;
  height: 25px;
}
.grid2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 22px;
  align-items: start;
}
.editor-stage {
  padding: 0;
  overflow: hidden;
}
.canvas-toolbar {
  height: 53px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #282e34;
  background: #1c2025;
}
.canvas-toolbar span:first-child {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 600;
  color: #9da7b5;
}
.canvas-toolbar .tag {
  font-size: 9px;
}
.editor-video {
  height: 490px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-color: #111315;
  background-image: radial-gradient(#33394188 1px, transparent 1px);
  background-size: 16px 16px;
  padding: 24px 34px;
}
.editor-video video {
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  width: auto;
  display: block;
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 15px 60px #0009;
  background: black;
}
.portrait-frame {
  height: 100%;
  aspect-ratio: 9/16;
  border: 1px dashed #454e47;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-placeholder {
  max-width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: #737e89;
  font-size: 11px;
  padding: 20px;
}
.video-placeholder svg {
  width: 36px;
  height: 36px;
  color: #67775f;
  margin-bottom: 18px;
}
.video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  padding: 12px 19px;
  color: #8894a4;
  border-block: 1px solid #2b3036;
  background: #171b1f;
}
.video-meta a {
  font-size: 10px;
}
.timeline {
  padding: 19px;
  background: #1c2025;
  border-bottom: 1px solid #30363d;
}
.timeline-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
}
.timeline-heading strong {
  font-size: 11px;
  font-weight: 550;
}
.timeline-heading small {
  font-size: 9px;
  letter-spacing: 1px;
}
.time-ruler {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  font-family: Consolas, monospace;
  color: #7c8796;
  padding-bottom: 13px;
  position: relative;
}
.time-ruler:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    to right,
    #505b68 0 1px,
    transparent 1px 5%
  );
  opacity: 0.55;
}
.segments {
  display: flex;
  gap: 0;
  min-height: 59px;
  position: relative;
}
.segment {
  flex-basis: 0;
  min-width: 0;
  text-align: left;
  border: 1px solid #6d8f6655;
  color: #d2e4ca;
  background: #48624066;
  border-radius: 5px;
  padding: 8px 10px;
  font-size: 10px;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: relative;
}
.segment:hover {
  background: #56774b88;
  border-color: var(--lime);
}
.segment.generated {
  background: #4c426d55;
  color: #cec2f2;
  border-color: #77628c66;
}
.selection-window {
  position: absolute;
  top: 0;
  bottom: 0;
  border: 2px solid var(--lime);
  background: #b5ee7710;
  z-index: 4;
  border-radius: 5px;
  pointer-events: none;
  box-shadow: 0 0 0 1px #0005;
}
.selection-window:before,
.selection-window:after {
  content: "";
  position: absolute;
  top: 35%;
  height: 15px;
  width: 3px;
  background: var(--lime);
  border-radius: 3px;
}
.selection-window:before {
  left: -3px;
}
.selection-window:after {
  right: -3px;
}
.track-lane {
  position: relative;
  height: 26px;
  margin-top: 6px;
  border-radius: 4px;
  background: #14181d;
  overflow: hidden;
}
.track-lane > span {
  position: absolute;
  border: 1px solid #8e7bd055;
  background: #6d5b9c44;
  border-radius: 3px;
  top: 2px;
  bottom: 2px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 9px;
  line-height: 20px;
  padding: 0 6px;
  color: #c2b3ed;
}
.track-lane.audio > span {
  background: #34627155;
  border-color: #6193a455;
  color: #a0d5dd;
}
.range-fields {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
}
.range-fields label {
  font-size: 10px;
  color: #8e9caa;
}
.range-fields input {
  width: 79px;
  padding: 7px 8px;
  font-family: Consolas, monospace;
  font-size: 11px;
  color: var(--lime);
  background: #12171a;
  border-color: #3b473a;
}
.range-caption {
  margin-left: auto;
  font-size: 9px;
  color: #74808f;
}
.editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 17px 19px;
}
.panel:not(.editor-stage) .editor-actions {
  padding: 16px 0 0;
}
.editor-stage > .form-help,
.editor-stage > .notice,
.editor-stage > .plan-op,
.editor-stage > h3,
.editor-stage > p {
  margin-left: 20px;
  margin-right: 20px;
}
.editor-stage > .form-help {
  padding-bottom: 20px;
}
.editor-stage > .notice {
  margin-top: 10px;
}
.editor-stage .divider {
  margin: 5px 20px 20px;
}
.quick-composer {
  padding: 19px;
  border-top: 1px solid #2b3036;
  background: #1c2220;
}
.composer-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
  font-size: 10px;
  font-weight: 600;
  color: #c5d6bd;
}
.composer-label span {
  color: #7e9276;
  font-size: 10px;
  font-weight: 400;
}
.quick-composer textarea {
  min-height: 78px;
  resize: vertical;
  background: #151b17;
  border-color: #3e4d39;
  font-size: 12px;
}
.composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}
.composer-footer small {
  font-size: 10px;
  color: #8d9b87;
}
.quick-composer button {
  font-size: 11px;
}
.editor-side .panel {
  padding: 19px;
}
.editor-side h2 {
  font-size: 12px;
}
.editor-side .tag {
  font-size: 9px;
}
.editor-side .panel-title {
  margin-bottom: 15px;
}
.revision-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid #292e35;
}
.revision-item:last-child {
  border-bottom: 0;
}
.revision-item.active .revision-icon {
  border-color: #95bc74;
  color: var(--lime);
  background: #b5ee7711;
}
.revision-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 31px;
  height: 34px;
  border: 1px solid #3a424c;
  color: #8e9bad;
  border-radius: 6px;
  font-family: Consolas, monospace;
  font-size: 10px;
}
.revision-details {
  flex: 1;
  min-width: 0;
  font-size: 11px;
}
.revision-details p {
  font-size: 10px;
  color: #a1aab7;
  line-height: 1.65;
  margin: 7px 0 4px;
  overflow-wrap: anywhere;
}
.revision-details small {
  font-size: 9px;
}
.revision-item > a {
  font-size: 10px;
}
.section-label {
  font-size: 10px;
  color: #82907e;
}
.feedback {
  padding: 14px 0;
  font-size: 11px;
  line-height: 1.8;
  border-bottom: 1px solid #2c323a;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.feedback time {
  display: block;
  font-size: 10px;
  color: #a2b98c;
  margin-bottom: 6px;
}
.plan-op {
  font-size: 10px;
  padding: 13px 0;
  border-bottom: 1px solid #2c333b;
  color: #8a99aa;
}
.plan-op strong {
  color: #d3dccd;
  font-weight: 500;
}
.plan-op small {
  display: block;
  font-size: 10px;
  line-height: 1.8;
  margin-top: 4px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  margin-bottom: 8px;
  color: #a6afbd;
  font-size: 11px;
  font-weight: 500;
}
input,
select,
textarea {
  border: 1px solid #363d47;
  background: #14181d;
  border-radius: 7px;
  color: #e6ebf1;
  padding: 11px 12px;
  width: 100%;
  min-width: 0;
  font-size: 12px;
  transition: border-color 0.15s;
}
input:hover,
select:hover,
textarea:hover {
  border-color: #505c6c;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #90b372;
}
input[readonly] {
  color: #929caa;
}
input::placeholder,
textarea::placeholder {
  color: #606e7d;
}
textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.8;
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0 21px;
  font-size: 11px;
  color: #a3b09a;
}
.checkbox input {
  accent-color: var(--lime);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-help {
  color: #7f8b9a;
  font-size: 10px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.notice {
  border: 1px solid #3f4d3b;
  color: #a7bc9a;
  background: #9abb7110;
  font-size: 11px;
  line-height: 1.9;
  border-radius: 8px;
  padding: 13px 15px;
  margin-bottom: 17px;
}
.notice.warning {
  border-color: #665337;
  background: #b18a4110;
  color: #d0b686;
}
.notice.error {
  border-color: #704848;
  background: #c56e6710;
  color: #f1b3a6;
}
.error-code {
  font-family: Consolas, monospace;
  font-size: 10px;
  opacity: 0.7;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 10px;
}
th {
  text-align: left;
  color: #8593a5;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
  padding: 11px 12px;
  border-bottom: 1px solid #38414d;
}
td {
  padding: 15px 12px;
  border-bottom: 1px solid #2a313b;
  color: #afb9c7;
  vertical-align: middle;
}
td button {
  font-size: 10px;
  padding: 6px 9px;
  margin: 3px;
}
.settings-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 30px;
  max-width: 1080px;
}
.settings-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: sticky;
  top: 28px;
  align-self: start;
}
.settings-nav button {
  text-align: left;
  justify-content: flex-start;
  border-color: transparent;
  background: transparent;
  color: #919dab;
  font-size: 11px;
  padding: 11px 13px;
}
.settings-nav button.selected {
  background: #b5ee7710;
  color: var(--lime);
  border-color: #b5ee7718;
}
.settings-section {
  min-width: 0;
}
.settings-section .panel {
  padding: 26px 28px;
  margin-bottom: 20px;
}
.settings-section .panel h2 {
  margin-bottom: 22px;
}
.list-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 0;
  border-bottom: 1px solid #2c333c;
}
.list-item:last-child {
  border: 0;
}
.list-item > svg {
  width: 23px;
  height: 23px;
  color: #7b8c72;
  flex-shrink: 0;
}
.list-item .details {
  flex: 1;
  min-width: 0;
}
.list-item h3 {
  margin-bottom: 3px;
  font-size: 11px;
}
.list-item p {
  color: #8996a6;
  font-size: 10px;
  margin: 0;
  overflow-wrap: anywhere;
}
.list-item button {
  font-size: 10px;
  padding: 7px 10px;
}
.model-status {
  color: #afce96;
  font-size: 11px;
}
.connection-dot {
  display: inline-block;
  height: 6px;
  width: 6px;
  background: var(--lime);
  border-radius: 50%;
  margin-right: 6px;
}
.progress {
  width: 100%;
  height: 5px;
  border: 0;
  background: #353e35;
  border-radius: 5px;
  accent-color: var(--lime);
}
.full-width {
  width: 100%;
}
.big-number {
  font-size: 25px;
  line-height: 1.6;
  letter-spacing: -1px;
  color: #cde5b7;
}
.big-number small {
  font-size: 12px;
  letter-spacing: 0;
}
.file-label {
  display: block;
  border: 1px dashed #4c5c45;
  border-radius: 9px;
  background: #a4d57208;
  padding: 17px;
  font-size: 11px;
  color: #a7bb98;
  margin: 14px 0;
}
.file-label input {
  margin-top: 11px;
  font-size: 10px;
  padding: 7px;
  background: #161e17;
  border-color: #354632;
}
.inline-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
.screen-reader {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.setup-layout {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.setup-brand {
  position: relative;
  background: #192119;
  padding: 55px 64px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid #33432c;
}
.setup-brand:after {
  content: "";
  position: absolute;
  width: 260px;
  height: 460px;
  border: 1px solid #b5ee772e;
  border-radius: 25px;
  right: -65px;
  bottom: -115px;
  transform: rotate(27deg);
  box-shadow:
    0 0 0 30px #b5ee7705,
    0 0 0 60px #b5ee7703;
  pointer-events: none;
}
.setup-brand .brand {
  position: absolute;
  top: 50px;
  left: 64px;
}
.setup-brand h1 {
  font-size: clamp(38px, 4.5vw, 72px);
  letter-spacing: -3px;
  font-weight: 500;
  line-height: 1.13;
  margin: 75px 0 35px;
  color: #f0f5ec;
}
.setup-brand em {
  font-style: normal;
  color: var(--lime);
}
.setup-brand p {
  color: #91a086;
  font-size: 12px;
  line-height: 2.1;
}
.setup-brand > .eyebrow {
  font-size: 10px;
  margin-top: 36px;
  color: #63775a;
  letter-spacing: 3px;
}
.setup-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 55px 50px;
  background: #111517;
}
.setup-card {
  max-width: 370px;
  width: 100%;
}
.setup-card > .eyebrow {
  font-size: 9px;
  color: #7d966b;
  margin-bottom: 19px;
}
.setup-card h2 {
  font-size: 27px;
  font-weight: 550;
  margin-bottom: 16px;
}
.setup-card > p {
  color: #85909b;
  font-size: 11px;
  line-height: 1.9;
  margin-bottom: 30px;
}
.setup-card .field {
  margin-bottom: 19px;
}
.setup-card form > .primary {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
}
.setup-card footer {
  text-align: center;
  font-size: 10px;
  color: #5e6c78;
  line-height: 1.9;
  margin-top: 30px;
}
.loading-screen {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  color: #829276;
}
.loading-screen .brand-icon {
  width: 50px;
  height: 50px;
  font-size: 36px;
  border-radius: 14px;
}
.loading-screen p {
  font-size: 11px;
}
.loading-screen:after {
  content: "";
  height: 2px;
  width: 100px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.25;
  }
}
dialog {
  width: min(580px, calc(100vw - 32px));
  max-height: 88dvh;
  overflow: auto;
  padding: 30px;
  border: 1px solid #424e40;
  border-radius: 16px;
  background: #1b2024;
  color: #e9edf2;
  box-shadow: 0 30px 120px #0008;
}
dialog::backdrop {
  background: #080b0dcc;
  backdrop-filter: blur(7px);
}
dialog h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
  margin-bottom: 15px;
}
dialog > p {
  color: #929eac;
  font-size: 11px;
  line-height: 1.9;
  margin-bottom: 25px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
  border-top: 1px solid #333c46;
  padding-top: 20px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #101815;
  padding: 16px;
  border: 1px solid #344a30;
  color: #bed7aa;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.9;
}
code {
  font-family: Consolas, monospace;
  font-size: 11px;
  background: #101815;
  padding: 3px 6px;
  border-radius: 4px;
}
#toasts {
  position: fixed;
  bottom: 23px;
  right: 24px;
  max-width: 400px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: #293528;
  border: 1px solid #6e8a54;
  color: #dbefc9;
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 10px 40px #0005;
  font-size: 12px;
}
.toast.error {
  background: #3b272b;
  border-color: #966263;
  color: #ffc4be;
}
.mobile-menu {
  display: none;
}
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.compare video {
  width: 100%;
  max-height: 60dvh;
  object-fit: contain;
  background: #080a0c;
  border-radius: 8px;
}
.compare h3 {
  font-size: 11px;
  color: #aebaa6;
  margin-bottom: 10px;
}
.quick-results {
  max-height: 50dvh;
  overflow: auto;
}
.quick-results a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 4px;
  border-bottom: 1px solid #303c46;
  font-size: 12px;
  color: #cdd8c6;
}
.quick-results a:hover {
  color: var(--lime);
}
.format-presets {
  display: flex;
  gap: 9px;
  margin-bottom: 24px;
}
.format-presets button {
  min-height: 70px;
  flex: 1;
  flex-direction: column;
  font-size: 10px;
  gap: 8px;
}
.format-presets button.selected {
  border-color: #99bb79;
  color: var(--lime);
  background: #b5ee7710;
}
.preset-frame {
  display: block;
  border: 1px solid currentColor;
  border-radius: 3px;
  height: 26px;
  aspect-ratio: 9/16;
}
.preset-frame.square {
  aspect-ratio: 1;
}
.preset-frame.wide {
  aspect-ratio: 16/9;
}
@media (min-width: 1600px) {
  .content {
    padding-top: 40px;
  }
  .editor-video {
    height: 550px;
  }
  .job-art {
    height: 245px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 190px;
    padding-inline: 12px;
  }
  .main {
    margin-left: 190px;
    width: calc(100% - 190px);
  }
  .topbar {
    padding-inline: 25px;
  }
  .content {
    padding: 28px 25px 50px;
  }
  .grid2 {
    grid-template-columns: minmax(0, 1fr) 255px;
    gap: 16px;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 17px 15px;
  }
  .stat-value {
    font-size: 27px;
  }
  .job-grid {
    gap: 15px;
  }
  .job-art {
    height: 180px;
  }
  .range-caption {
    display: none;
  }
  .settings-layout {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 20px;
  }
  .topbar-right > span:not(.tag) {
    display: none;
  }
  .editor-video {
    height: 435px;
  }
}
@media (max-width: 980px) {
  .job-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .editor-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .editor-side .panel {
    margin: 0 0 10px;
  }
  .editor-side .panel:last-child {
    grid-column: 1/-1;
  }
  .editor-video {
    height: 480px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .topbar .search-shortcut {
    width: 150px;
  }
  .setup-brand {
    padding-inline: 40px;
  }
  .setup-brand .brand {
    left: 40px;
  }
  .setup-form {
    padding: 45px 32px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .heading-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .settings-section .panel {
    padding: 22px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .sidebar-bottom .workspace-note {
    display: none;
  }
}
@media (max-width: 720px) {
  .sidebar {
    transform: translateX(-100%);
    width: 222px;
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 20px 0 80px #0009;
  }
  .main {
    margin-left: 0;
    width: 100%;
  }
  .mobile-menu {
    display: inline-flex;
    background: transparent;
    border-color: transparent;
    padding: 4px;
    font-size: 20px;
    line-height: 1;
  }
  .topbar {
    height: 63px;
    padding: 0 17px;
  }
  .topbar .inline-actions > span {
    display: none;
  }
  .topbar-right {
    gap: 9px;
  }
  .topbar .search-shortcut {
    width: 31px;
    height: 31px;
    padding: 0;
    justify-content: center;
  }
  .search-shortcut .search-text,
  .search-shortcut kbd {
    display: none;
  }
  .topbar-right > .tag {
    font-size: 9px;
    padding: 3px 6px;
  }
  .content {
    padding: 26px 17px 45px;
  }
  .page-heading {
    gap: 12px;
    margin-bottom: 23px;
  }
  .page-heading h1 {
    font-size: 23px;
    line-height: 1.5;
    letter-spacing: -0.4px;
  }
  .page-heading p {
    font-size: 10px;
  }
  .page-heading > .heading-actions {
    max-width: 145px;
    gap: 8px;
  }
  .heading-actions button {
    font-size: 10px;
    padding: 8px 11px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  .stats {
    gap: 10px;
    margin-bottom: 29px;
  }
  .stat {
    padding: 15px;
  }
  .stat-label {
    font-size: 10px;
  }
  .stat-value {
    font-size: 28px;
  }
  .stat small {
    font-size: 9px;
    line-height: 1.8;
  }
  .job-grid {
    gap: 12px;
  }
  .job-art {
    height: 180px;
  }
  .job-art:before,
  .job-art:after {
    height: 135px;
    width: 76px;
  }
  .job-body {
    padding: 13px;
  }
  .job-body h3 {
    font-size: 11px;
  }
  .job-meta {
    font-size: 9px;
    flex-wrap: wrap;
    gap: 3px;
  }
  .panel {
    padding: 18px;
  }
  .panel-title h2 {
    font-size: 13px;
  }
  .tabs {
    width: 100%;
    justify-content: space-between;
    gap: 0;
  }
  .tab {
    padding: 7px 11px;
    font-size: 10px;
  }
  .toolbar input {
    max-width: 245px;
  }
  .grid2 {
    gap: 15px;
  }
  .editor-stage {
    padding: 0;
  }
  .editor-video {
    height: 440px;
    padding: 20px;
  }
  .canvas-toolbar {
    height: 46px;
    padding-inline: 15px;
  }
  .timeline {
    padding: 16px 13px;
  }
  .segment {
    font-size: 9px;
    padding: 9px 6px;
  }
  .range-fields {
    gap: 7px;
  }
  .range-fields input {
    width: 73px;
  }
  .editor-actions {
    padding: 14px;
    gap: 8px;
  }
  .editor-actions button {
    font-size: 10px;
    padding: 8px 11px;
  }
  .quick-composer {
    padding: 16px;
  }
  .composer-footer small {
    max-width: 160px;
    font-size: 9px;
  }
  .editor-side {
    grid-template-columns: 1fr;
  }
  .editor-side .panel:last-child {
    grid-column: auto;
  }
  .settings-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .settings-nav {
    position: static;
    display: flex;
    flex-direction: row;
    overflow: auto;
    gap: 6px;
    border-bottom: 1px solid #343c46;
    padding-bottom: 12px;
  }
  .settings-nav button {
    white-space: nowrap;
    font-size: 10px;
    padding: 8px 11px;
  }
  .settings-section .panel {
    padding: 20px 17px;
  }
  .form-row {
    gap: 13px;
  }
  .field label {
    font-size: 10px;
  }
  .field input,
  .field select {
    font-size: 11px;
  }
  .setup-layout {
    grid-template-columns: 1fr;
  }
  .setup-brand {
    min-height: 230px;
    padding: 30px;
  }
  .setup-brand .brand {
    position: static;
    margin-bottom: 20px;
  }
  .setup-brand h1 {
    font-size: 38px;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin: 10px 0 15px;
  }
  .setup-brand p,
  .setup-brand > .eyebrow {
    display: none;
  }
  .setup-form {
    padding: 40px 26px;
  }
  .setup-card {
    max-width: 400px;
  }
  .setup-card h2 {
    font-size: 25px;
  }
  .list-item {
    flex-wrap: wrap;
    gap: 9px;
  }
  .list-item .details {
    min-width: 145px;
  }
  .compare {
    gap: 12px;
  }
  dialog {
    padding: 24px 19px;
  }
  .toast {
    font-size: 11px;
  }
  #toasts {
    left: 17px;
    right: 17px;
    bottom: 17px;
    max-width: none;
  }
  .empty {
    padding: 45px 22px;
    min-height: 320px;
  }
  .empty h3 {
    font-size: 16px;
  }
  .empty p {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.otp-input {
  font-size: 28px;
  letter-spacing: 12px;
  text-align: center;
  padding: 15px 10px;
  font-family: Consolas, monospace;
  color: var(--lime);
}
.otp-resend {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 17px;
}
.otp-resend button {
  font-size: 10px;
  padding: 7px 0;
}
.setup-card strong {
  color: #c4d6b7;
  font-weight: 500;
}
