:root {
  color: #202327;
  font-synthesis: none;
  letter-spacing: 0;
  background: #f5f6f7;
  font-family:
    Inter,
    SF Pro Text,
    PingFang SC,
    Microsoft YaHei,
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  background: #f5f6f7;
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}
button,
input,
select {
  font: inherit;
  letter-spacing: 0;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}
h1,
h2,
p {
  margin: 0;
}
.app-loading {
  color: #596168;
  background: #f5f6f7;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 100vh;
  display: flex;
}
.app-loading strong {
  font-size: 13px;
}
.app-loading .brand-mark {
  margin-right: 4px;
}
.app-shell {
  min-height: 100vh;
}
.sidebar {
  z-index: 30;
  color: #f8f9fa;
  background: #17191c;
  border-right: 1px solid #292d31;
  flex-direction: column;
  width: 232px;
  padding: 18px 14px 14px;
  display: flex;
  position: fixed;
  inset: 0 auto 0 0;
}
.brand {
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  display: flex;
}
.brand-mark {
  color: #fff;
  background: #f05a47;
  border-radius: 8px;
  flex: 0 0 34px;
  place-items: center;
  width: 34px;
  height: 34px;
  display: grid;
}
.brand-mark img {
  border-radius: inherit;
  width: 100%;
  height: 100%;
  display: block;
}
.sidebar nav {
  gap: 4px;
  margin-top: 28px;
  display: grid;
}
.sidebar nav button {
  color: #aeb4ba;
  text-align: left;
  background: 0 0;
  border: 0;
  border-radius: 6px;
  align-items: center;
  gap: 11px;
  height: 42px;
  padding: 0 12px;
  display: flex;
}
.sidebar nav button:hover {
  color: #fff;
  background: #22262a;
}
.sidebar nav button.active {
  color: #fff;
  background: #2a2e33;
  box-shadow: inset 3px 0 #f05a47;
}
.sidebar-account {
  border-top: 1px solid #2b2f34;
  grid-template-columns: 34px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 12px 8px 2px;
  display: grid;
}
.sidebar-account .avatar {
  color: #126247;
  background: #d7efe6;
  border-radius: 50%;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 13px;
  font-weight: 800;
  display: grid;
}
.sidebar-account div:nth-child(2) {
  gap: 2px;
  min-width: 0;
  display: grid;
}
.sidebar-account strong,
.sidebar-account span {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.sidebar-account strong {
  font-size: 12px;
}
.sidebar-account span {
  color: #8e969e;
  font-size: 10px;
}
.sidebar .icon-button {
  color: #8e969e;
}
.sidebar .icon-button:hover {
  color: #fff;
  background: #2a2e33;
}
.workspace {
  min-height: 100vh;
  margin-left: 232px;
}
.page-section {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 34px 34px 64px;
}
.page-header {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  display: flex;
}
.page-header h1 {
  font-size: 24px;
  line-height: 1.2;
}
.page-header p {
  color: #747b82;
  margin-top: 6px;
  font-size: 13px;
}
.header-actions {
  align-items: center;
  gap: 9px;
  display: flex;
}
.primary-button,
.secondary-button {
  white-space: nowrap;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 650;
  display: inline-flex;
}
.primary-button {
  color: #fff;
  background: #e95744;
  border: 1px solid #cf4636;
  box-shadow: 0 1px 2px #4e18112e;
}
.primary-button:hover {
  background: #d94d3b;
}
.secondary-button {
  color: #30353a;
  background: #fff;
  border: 1px solid #d9dde0;
}
.secondary-button:hover {
  background: #f8f9fa;
  border-color: #b7bdc2;
}
.icon-button {
  color: #697077;
  background: 0 0;
  border: 0;
  border-radius: 6px;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  display: grid;
}
.icon-button:hover {
  color: #22272b;
  background: #eceeef;
}
.summary-strip {
  background: #fff;
  border: 1px solid #e1e4e6;
  border-radius: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  display: grid;
  overflow: hidden;
}
.summary-strip > div {
  border-right: 1px solid #e6e8ea;
  flex-direction: column;
  justify-content: center;
  min-height: 84px;
  padding: 14px 20px;
  display: flex;
}
.summary-strip > div:last-child {
  border-right: 0;
}
.summary-strip span {
  color: #7b8288;
  font-size: 12px;
}
.summary-strip strong {
  margin-top: 5px;
  font-size: 23px;
}
.summary-strip strong small {
  color: #8a9196;
  font-size: 11px;
  font-weight: 600;
}
.admin-job-summary {
  background: #f7fbf9;
  border-color: #cfe0d8;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 10px;
}
.admin-job-summary > div {
  min-height: 72px;
}
.admin-job-summary-note {
  color: #718078;
  margin: -3px 0 11px;
  font-size: 10px;
}
.danger-text {
  color: #c33f35;
}
.toolbar {
  border-bottom: 1px solid #dfe2e4;
  justify-content: space-between;
  margin: 20px 0 12px;
  display: flex;
}
.tabs {
  gap: 22px;
  display: flex;
}
.tabs button {
  color: #727a80;
  background: 0 0;
  border: 0;
  border-bottom: 2px solid #0000;
  min-width: 42px;
  height: 39px;
  padding: 0;
  font-size: 13px;
}
.tabs button.active {
  color: #252a2e;
  border-bottom-color: #e95744;
  font-weight: 700;
}
.task-list {
  gap: 8px;
  display: grid;
}
.task-row {
  background: #fff;
  border: 1px solid #e1e4e6;
  border-radius: 7px;
  grid-template-columns: 44px minmax(0, 1fr) 86px auto;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 12px 16px;
  display: grid;
}
.task-row.expanded {
  border-color: #c8d3ce;
}
.task-row:hover {
  border-color: #c9ced2;
}
.file-icon,
.template-icon {
  color: #1a7356;
  background: #eef4f2;
  border-radius: 7px;
  place-items: center;
  display: grid;
}
.file-icon {
  width: 44px;
  height: 44px;
}
.task-main {
  min-width: 0;
}
.task-title {
  align-items: center;
  gap: 9px;
  min-width: 0;
  display: flex;
}
.task-title strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  overflow: hidden;
}
.task-meta {
  color: #7a8288;
  flex-wrap: wrap;
  gap: 5px 15px;
  margin-top: 6px;
  font-size: 11px;
  display: flex;
}
.task-meta span {
  position: relative;
}
.task-meta span + span:before {
  content: "";
  background: #c3c7ca;
  border-radius: 50%;
  width: 3px;
  height: 3px;
  position: absolute;
  top: 6px;
  left: -9px;
}
.task-health {
  color: #607078;
  font-weight: 650;
}
.task-health.warning {
  color: #9a6200;
}
.task-health.danger {
  color: #b83c34;
}
.task-error {
  color: #b83c34;
  overflow-wrap: anywhere;
  margin-top: 7px;
  font-size: 11px;
}
.task-error strong {
  font-weight: 750;
}
.expiry-urgent {
  color: #b64437;
  font-weight: 700;
}
.status-badge {
  white-space: nowrap;
  border-radius: 999px;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 650;
  display: inline-flex;
}
.status-badge.neutral {
  color: #596168;
  background: #eef0f2;
}
.status-badge.working {
  color: #246888;
  background: #e8f1f7;
}
.status-badge.success {
  color: #17694d;
  background: #e4f3ec;
}
.status-badge.danger {
  color: #ae392f;
  background: #f9e9e7;
}
.progress {
  background: #e8ebed;
  border-radius: 2px;
  width: min(360px, 100%);
  height: 4px;
  margin-top: 9px;
  overflow: hidden;
}
.progress span {
  background: #3b8c70;
  height: 100%;
  transition: width 0.25s;
  display: block;
}
.task-progress {
  text-align: right;
  gap: 2px;
  display: grid;
}
.task-progress strong {
  font-size: 15px;
}
.task-progress span {
  color: #93999e;
  font-size: 10px;
}
.task-actions {
  justify-content: flex-end;
  gap: 7px;
  min-width: 106px;
  display: flex;
}
.task-actions .primary-button {
  min-height: 36px;
}
.chevron-open {
  transform: rotate(180deg);
}
.task-details {
  background: #e3e6e8;
  border: 1px solid #e3e6e8;
  border-radius: 6px;
  grid-column: 2/-1;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 1px;
  display: grid;
  overflow: hidden;
}
.task-details > div {
  background: #fafbfb;
  align-content: center;
  gap: 4px;
  min-height: 54px;
  padding: 10px 12px;
  display: grid;
}
.task-details span {
  color: #858c91;
  font-size: 10px;
}
.task-details strong {
  color: #343a3e;
  font-size: 12px;
}
.task-details > p,
.task-details > details {
  color: #626a70;
  background: #fff;
  grid-column: 1/-1;
  margin: 0;
  padding: 10px 12px;
  font-size: 11px;
}
.task-details .detail-warning {
  color: #956019;
  background: #fff8ed;
}
.task-details summary {
  cursor: pointer;
  font-weight: 700;
}
.task-details pre {
  color: #e8ebed;
  white-space: pre-wrap;
  background: #22272b;
  border-radius: 5px;
  max-height: 180px;
  margin: 9px 0 0;
  padding: 10px;
  font:
    10px/1.55 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  overflow: auto;
}
.danger-button {
  color: #a43b32;
}
.empty-state {
  color: #7b8288;
  background: #ffffff8c;
  border: 1px dashed #cdd2d5;
  border-radius: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 260px;
  display: flex;
}
.empty-state svg {
  color: #aeb5ba;
}
.empty-state strong {
  color: #50575d;
  font-size: 14px;
}
.template-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  display: grid;
}
.template-card {
  background: #fff;
  border: 1px solid #dfe3e5;
  border-radius: 8px;
  min-height: 190px;
  padding: 17px;
}
.template-card > header {
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  display: grid;
}
.template-icon {
  color: #c44b3d;
  background: #f8ece9;
  width: 40px;
  height: 40px;
}
.template-card h2 {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  overflow: hidden;
}
.template-card header span {
  color: #7b8288;
  margin-top: 4px;
  font-size: 11px;
  display: block;
}
.template-menu {
  display: flex;
}
.template-specs {
  border-top: 1px solid #eceeef;
  border-bottom: 1px solid #eceeef;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 20px;
  display: grid;
}
.template-specs span {
  color: #858c91;
  text-align: center;
  gap: 2px;
  min-width: 0;
  padding: 12px 3px;
  font-size: 10px;
  display: grid;
}
.template-specs strong {
  color: #30363a;
  font-size: 12px;
}
.template-flags {
  gap: 8px;
  margin-top: 13px;
  display: flex;
}
.template-flags span {
  border-radius: 5px;
  align-items: center;
  gap: 4px;
  height: 25px;
  padding: 0 8px;
  font-size: 11px;
  display: inline-flex;
}
.template-flags .on {
  color: #21694f;
  background: #e9f4ef;
}
.template-flags .off {
  color: #858b90;
  background: #eff1f2;
}
.empty-state.wide {
  grid-column: 1/-1;
}
.admin-user-list {
  gap: 8px;
  display: grid;
}
.company-account-group {
  gap: 7px;
  display: grid;
}
.company-main-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  display: grid;
}
.company-main-row > .admin-user-row {
  width: 100%;
}
.member-toggle {
  color: #535b61;
  white-space: nowrap;
  background: #fff;
  border: 1px solid #d8dcdf;
  border-radius: 6px;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 10px;
  font-size: 11px;
  display: inline-flex;
}
.member-toggle:hover {
  background: #f8f9fa;
  border-color: #afb6bb;
}
.company-members {
  gap: 6px;
  display: grid;
}
.admin-overview {
  background: #fff;
  border: 1px solid #e1e4e6;
  border-radius: 8px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin-bottom: 12px;
  display: grid;
  overflow: hidden;
}
.admin-overview > div {
  border-right: 1px solid #e7e9ea;
  align-content: center;
  gap: 4px;
  min-height: 68px;
  padding: 11px 14px;
  display: grid;
}
.admin-overview > div:last-child {
  border-right: 0;
}
.admin-overview span {
  color: #7d858b;
  font-size: 10px;
}
.admin-overview strong {
  font-size: 17px;
}
.admin-overview small {
  color: #858c91;
  font-size: 10px;
  font-weight: 650;
}
.admin-user-tools {
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin-bottom: 10px;
  display: flex;
}
.admin-user-tools > span {
  color: #858c91;
  margin-left: auto;
  font-size: 10px;
}
.admin-search {
  color: #858c91;
  background: #fff;
  border: 1px solid #d8dcdf;
  border-radius: 6px;
  align-items: center;
  gap: 7px;
  width: min(420px, 100%);
  height: 38px;
  padding-left: 11px;
  display: flex;
}
.admin-search:focus-within {
  border-color: #db5b49;
  box-shadow: 0 0 0 3px #e159471a;
}
.admin-search input {
  color: #30363a;
  background: 0 0;
  border: 0;
  outline: 0;
  width: 100%;
  min-width: 0;
  height: 100%;
  font-size: 12px;
}
.admin-user-row {
  background: #fff;
  border: 1px solid #e1e4e6;
  border-radius: 7px;
  grid-template-columns: 40px minmax(180px, 1fr) 78px 78px 78px auto;
  align-items: center;
  gap: 10px;
  min-height: 82px;
  padding: 13px 15px;
  display: grid;
}
.admin-user-row.child-user-row {
  background: #fafbfb;
  border-left: 3px solid #d7dde0;
  grid-template-columns: 40px minmax(200px, 1fr) auto;
  width: calc(100% - 30px);
  margin-left: 30px;
}
.admin-user-main {
  gap: 4px;
  min-width: 0;
  display: grid;
}
.admin-user-main strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  overflow: hidden;
}
.admin-user-main span,
.admin-user-stat span {
  color: #858c91;
  font-size: 10px;
}
.admin-user-note {
  color: #755c35;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  font-style: normal;
  overflow: hidden;
}
.admin-user-stat {
  gap: 4px;
  display: grid;
}
.admin-user-stat strong {
  font-size: 14px;
}
.row-actions {
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
  display: flex;
}
.admin-more-menu {
  display: flex;
  position: relative;
}
.more-button {
  align-items: center;
  gap: 4px;
  display: inline-flex;
}
.admin-more-popover {
  z-index: 8;
  background: #fff;
  border: 1px solid #dfe3e5;
  border-radius: 6px;
  gap: 2px;
  min-width: 148px;
  padding: 5px;
  display: grid;
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  box-shadow: 0 8px 24px #1f272b1f;
}
.admin-more-popover button {
  color: #30363a;
  text-align: left;
  cursor: pointer;
  background: 0 0;
  border: 0;
  border-radius: 4px;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 9px;
  font-size: 11px;
  display: flex;
}
.admin-more-popover button:hover {
  background: #f3f5f5;
}
.credit-row-button {
  padding: 0 9px;
}
.credit-row-button.danger-button,
.danger-action {
  color: #a84236;
  border-color: #e2b8b2;
}
.danger-action {
  color: #fff;
  background: #a84236;
}
.danger-action:hover {
  background: #91372d;
}
.credit-adjust-preview {
  background: #fff8f7;
  border: 1px solid #e4d2cf;
  border-radius: 6px;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  padding: 9px 11px;
  display: flex;
}
.credit-adjust-preview span {
  color: #7a6865;
  font-size: 10px;
}
.credit-adjust-preview strong {
  color: #963d32;
  font-size: 14px;
}
.credit-allocation-balances {
  background: #f1f8f4;
  border: 1px solid #d8e4de;
  border-radius: 6px;
  grid-template-columns: 1fr auto;
  gap: 7px 12px;
  padding: 11px 13px;
  display: grid;
}
.credit-allocation-balances span {
  color: #64736b;
  font-size: 10px;
}
.credit-allocation-balances strong {
  color: #21694f;
  font-size: 13px;
}
.allocation-hint {
  color: #7b8288;
  font-size: 10px;
  line-height: 1.6;
}
.account-owner-strip {
  background: #f1f8f4;
  border: 1px solid #d8e4de;
  border-radius: 7px;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  margin-bottom: 14px;
  padding: 11px 15px;
  display: grid;
}
.account-owner-strip > div:nth-child(2) {
  gap: 3px;
  display: grid;
}
.account-owner-strip strong {
  font-size: 13px;
}
.account-owner-strip span {
  color: #64736b;
  font-size: 11px;
}
.member-row {
  background: #fff;
  border: 1px solid #e1e4e6;
  border-radius: 7px;
  grid-template-columns: 40px minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 13px;
  min-height: 72px;
  padding: 12px 15px;
  display: grid;
}
.data-list {
  gap: 7px;
  display: grid;
}
.data-row {
  background: #fff;
  border: 1px solid #e1e4e6;
  border-radius: 7px;
  grid-template-columns: 36px minmax(220px, 1fr) minmax(160px, 0.7fr);
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 11px 14px;
  display: grid;
}
.data-icon {
  color: #17694d;
  background: #eef4f2;
  border-radius: 6px;
  place-items: center;
  width: 36px;
  height: 36px;
  display: grid;
}
.data-row > div:nth-child(2) {
  gap: 4px;
  min-width: 0;
  display: grid;
}
.data-row strong {
  font-size: 13px;
}
.data-row span,
.data-note {
  color: #7c848a;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  overflow: hidden;
}
.data-note {
  text-align: right;
}
.load-more {
  justify-content: center;
  padding: 18px 0 4px;
  display: flex;
}
.task-pagination {
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  display: flex;
}
.task-pagination span {
  color: #737b81;
  text-align: center;
  min-width: 64px;
  font-size: 11px;
}
.storage-line,
.system-detail {
  color: #687077;
  background: #ffffffa8;
  border: 1px solid #e1e4e6;
  border-radius: 6px;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  margin-top: 10px;
  padding: 0 12px;
  font-size: 11px;
  display: flex;
}
.system-detail.warning {
  color: #a13c31;
  background: #fff5f3;
  border-color: #efc8c3;
}
.storage-target-list {
  gap: 8px;
  display: grid;
}
.storage-target-row {
  background: #fff;
  border: 1px solid #e1e4e6;
  border-radius: 8px;
  grid-template-columns: 42px minmax(260px, 1fr) 120px auto;
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 14px 16px;
  display: grid;
}
.storage-target-row.active {
  border-color: #a8cdbd;
  box-shadow: inset 3px 0 #27765b;
}
.storage-target-icon {
  color: #27765b;
  background: #edf4f1;
  border-radius: 7px;
  place-items: center;
  width: 42px;
  height: 42px;
  display: grid;
}
.storage-target-main {
  gap: 4px;
  min-width: 0;
  display: grid;
}
.storage-target-main > div {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  display: flex;
}
.storage-target-main > span {
  color: #737c82;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  overflow: hidden;
}
.storage-target-main small {
  color: #a13c31;
  font-size: 10px;
}
.storage-target-capacity {
  gap: 3px;
  display: grid;
}
.storage-target-capacity span,
.storage-target-capacity small {
  color: #858c91;
  font-size: 10px;
}
.storage-target-capacity strong {
  font-size: 14px;
}
.storage-target-modal {
  width: min(660px, 100%);
}
.field-label textarea {
  resize: vertical;
  color: #33393d;
  background: #fff;
  border: 1px solid #d8dcdf;
  border-radius: 6px;
  width: 100%;
  padding: 10px;
  font:
    11px/1.5 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.storage-line span:last-child {
  margin-left: auto;
}
.narrow-page {
  max-width: 720px;
  margin-left: max(0px, 50% - 590px);
}
.settings-panel {
  background: #fff;
  border: 1px solid #e1e4e6;
  border-radius: 8px;
  padding: 4px 20px 22px;
}
.settings-panel .primary-button {
  margin-top: 20px;
}
.ai-config-panel {
  margin-top: 16px;
  padding: 18px 20px 20px;
}
.settings-panel-heading {
  border-bottom: 1px solid #edf0f1;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 14px;
  display: flex;
}
.settings-panel-heading h2 {
  margin: 0 0 4px;
  font-size: 15px;
}
.settings-panel-heading p {
  color: #828a8f;
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
}
.config-section-heading {
  border-top: 1px solid #e3e7e9;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 12px;
  padding: 13px 0 5px;
  display: flex;
}
.config-section-heading strong {
  color: #30373b;
  font-size: 13px;
}
.config-section-heading span {
  color: #818a90;
  text-align: right;
  font-size: 10px;
}
.settings-actions {
  color: #899196;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  display: flex;
}
.settings-actions .primary-button {
  margin-top: 0;
}

.storage-cleanup-card {
  background: #fff;
  border: 1px solid #dfe3e5;
  border-radius: 8px;
  margin-bottom: 18px;
  padding: 18px;
}

.storage-cleanup-card .storage-section-heading {
  margin-top: 0;
}

.storage-cleanup-card .form-grid {
  margin-top: 14px;
}

.storage-cleanup-card .settings-actions {
  justify-content: flex-end;
  margin-top: 14px;
}
.maintenance-unlock {
  background: #fff;
  border: 1px solid #e1e4e6;
  border-radius: 8px;
  justify-items: start;
  gap: 12px;
  width: min(460px, 100%);
  margin: 48px auto;
  padding: 30px;
  display: grid;
  box-shadow: 0 12px 32px #20262a0f;
}
.maintenance-unlock > svg {
  color: #d45443;
}
.maintenance-unlock h2 {
  font-size: 18px;
}
.maintenance-unlock p {
  color: #7c858b;
  font-size: 12px;
  line-height: 1.6;
}
.maintenance-unlock input {
  border: 1px solid #d5dadd;
  border-radius: 6px;
  outline: none;
  width: 100%;
  height: 42px;
  padding: 0 11px;
}
.maintenance-unlock input:focus {
  border-color: #db5b49;
  box-shadow: 0 0 0 3px #e159471f;
}
.maintenance-toolbar {
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  display: flex;
}
.maintenance-toolbar input,
.maintenance-toolbar select {
  color: #30363a;
  background: #fff;
  border: 1px solid #d5dadd;
  border-radius: 6px;
  outline: none;
  height: 36px;
  padding: 0 10px;
  font-size: 12px;
}
.maintenance-toolbar input {
  width: min(360px, 100%);
}
.maintenance-toolbar select {
  min-width: 120px;
}
.maintenance-toolbar input:focus,
.maintenance-toolbar select:focus {
  border-color: #db5b49;
  box-shadow: 0 0 0 3px #e159471a;
}
.maintenance-list {
  gap: 8px;
  display: grid;
}
.maintenance-row {
  background: #fff;
  border: 1px solid #e1e4e6;
  border-radius: 7px;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 12px 14px;
  display: grid;
}
.maintenance-row.task-health-warning {
  border-color: #d8b56a;
  background: #fffaf0;
}
.maintenance-row.task-health-danger {
  border-color: #df9189;
  background: #fff6f5;
}
.maintenance-main {
  gap: 4px;
  min-width: 0;
  display: grid;
}
.maintenance-main strong,
.maintenance-main span,
.maintenance-main small {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.maintenance-main strong {
  font-size: 13px;
}
.maintenance-main span,
.maintenance-main small {
  color: #7e878d;
  font-size: 10px;
}
.maintenance-main small {
  color: #a0a7ac;
}
.keyword-create {
  background: #fff;
  border: 1px solid #dfe3e5;
  border-radius: 8px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  display: grid;
  overflow: hidden;
}
.keyword-upload,
.keyword-config {
  min-width: 0;
  padding: 20px;
}
.keyword-upload {
  border-right: 1px solid #e4e7e9;
}
.keyword-file-picker {
  color: #717a80;
  text-align: left;
  cursor: pointer;
  background: #fafbfb;
  border: 1px dashed #bac2c7;
  border-radius: 7px;
  grid-template-columns: 34px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 108px;
  margin-top: 18px;
  padding: 16px;
  display: grid;
}
.keyword-file-picker:hover,
.keyword-file-picker.selected {
  background: #fff8f6;
  border-color: #d95a48;
}
.keyword-file-picker input {
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  position: absolute;
}
.keyword-file-picker > svg:first-of-type {
  color: #d25342;
}
.keyword-file-picker > span {
  gap: 5px;
  min-width: 0;
  display: grid;
}
.keyword-file-picker strong,
.keyword-file-picker small {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.keyword-file-picker strong {
  color: #343a3e;
  font-size: 13px;
}
.keyword-file-picker small {
  color: #858d92;
  font-size: 10px;
}
.keyword-prompt-tabs {
  background: #eff1f2;
  border-radius: 6px;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 3px;
  display: grid;
}
.keyword-prompt-tabs button {
  color: #6c747a;
  background: 0 0;
  border: 0;
  border-radius: 4px;
  min-height: 34px;
  font-size: 11px;
}
.keyword-prompt-tabs button.active {
  color: #30363a;
  background: #fff;
  font-weight: 700;
  box-shadow: 0 1px 2px #191e221a;
}
.keyword-default-prompt {
  color: #537064;
  background: #f4f9f6;
  border: 1px solid #dce8e2;
  border-radius: 6px;
  align-items: flex-start;
  gap: 9px;
  min-height: 74px;
  margin-top: 17px;
  padding: 13px;
  font-size: 11px;
  line-height: 1.6;
  display: flex;
}
.keyword-default-prompt svg {
  color: #28745a;
  flex: none;
}
.keyword-template-summary {
  background: #f7faf8;
  border: 1px solid #dce5e1;
  border-radius: 6px;
  align-content: center;
  gap: 5px;
  min-height: 92px;
  margin-top: 16px;
  padding: 14px;
  display: grid;
}
.keyword-template-summary strong {
  font-size: 13px;
}
.keyword-template-summary span {
  color: #68736e;
  font-size: 11px;
  line-height: 1.5;
}
.keyword-template-summary small {
  color: #8a9290;
  font-size: 10px;
}
.keyword-credit-balance {
  color: #66736d;
  white-space: nowrap;
  background: #f5f9f7;
  border: 1px solid #dce5e1;
  border-radius: 6px;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 11px;
  font-size: 11px;
  display: inline-flex;
}
.keyword-credit-balance strong {
  color: #28745a;
  font-size: 14px;
}
.keyword-credit-note {
  color: #7a6a65;
  background: #fff9f7;
  border: 1px solid #eadfdc;
  border-radius: 6px;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding: 10px 12px;
  font-size: 11px;
  display: flex;
}
.keyword-credit-note strong {
  color: #bd493a;
}
.keyword-submit {
  width: 100%;
  margin-top: 18px;
}
.keyword-list-heading {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  margin-top: 22px;
  display: flex;
}
.keyword-list-heading > div {
  gap: 4px;
  display: grid;
}
.keyword-list-heading h2 {
  font-size: 15px;
}
.keyword-list-heading span {
  color: #858d92;
  font-size: 10px;
}
.keyword-task-list {
  gap: 8px;
  display: grid;
}
.keyword-task-row {
  background: #fff;
  border: 1px solid #e0e3e5;
  border-radius: 7px;
  grid-template-columns: 44px minmax(260px, 1fr) 190px minmax(190px, auto);
  align-items: center;
  gap: 14px;
  min-height: 104px;
  padding: 13px 15px;
  display: grid;
}
.keyword-task-main {
  min-width: 0;
}
.keyword-progress {
  background: #e8ebed;
  border-radius: 2px;
  width: 100%;
  height: 4px;
  margin-top: 10px;
  overflow: hidden;
}
.keyword-progress span {
  background: #347e63;
  height: 100%;
  transition: width 0.25s;
  display: block;
}
.keyword-counts {
  grid-template-columns: 1fr 1fr;
  gap: 7px 12px;
  display: grid;
}
.keyword-counts span {
  color: #858d92;
  font-size: 10px;
}
.keyword-counts span:last-child {
  grid-column: 1/-1;
}
.keyword-counts strong {
  color: #353b3f;
  font-size: 13px;
}
.keyword-counts .danger-text strong {
  color: #b43d33;
}
.keyword-actions {
  flex-wrap: wrap;
}
.keyword-actions .secondary-button,
.keyword-actions .primary-button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 11px;
}
.keyword-template-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  display: grid;
}
.keyword-template-card {
  background: #fff;
  border: 1px solid #dfe3e5;
  border-radius: 8px;
  gap: 14px;
  min-width: 0;
  padding: 17px;
  display: grid;
}
.keyword-template-card > header {
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  display: grid;
}
.keyword-template-card > header > div:nth-child(2) {
  gap: 4px;
  min-width: 0;
  display: grid;
}
.keyword-template-card h2 {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  overflow: hidden;
}
.keyword-template-card header span {
  color: #7b8389;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  overflow: hidden;
}
.keyword-template-specs {
  border-top: 1px solid #eceeef;
  border-bottom: 1px solid #eceeef;
  grid-template-columns: repeat(4, 1fr);
  display: grid;
}
.keyword-template-specs span {
  color: #858d92;
  text-align: center;
  gap: 4px;
  min-width: 0;
  padding: 11px 5px;
  font-size: 9px;
  display: grid;
}
.keyword-template-specs strong {
  color: #343a3e;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  overflow: hidden;
}
.keyword-template-card > p {
  color: #697177;
  -webkit-line-clamp: 4;
  white-space: pre-wrap;
  -webkit-box-orient: vertical;
  min-height: 56px;
  margin: 0;
  font-size: 10px;
  line-height: 1.55;
  display: -webkit-box;
  overflow: hidden;
}
.keyword-template-card > .row-actions {
  border-top: 1px solid #eceeef;
  padding-top: 12px;
}
.keyword-template-modal {
  width: min(720px, 100%);
}
.keyword-template-modal textarea {
  font-family: inherit;
  font-size: 11px;
  line-height: 1.65;
}
.legal-links {
  color: #9aa0a5;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 11px;
  display: flex;
}
.legal-links a {
  color: #747c82;
  text-decoration: none;
}
.legal-links a:hover {
  color: #c94d3e;
}
.member-filter {
  width: min(260px, 42vw);
  margin-bottom: 5px;
}
.member-filter select {
  color: #3b4146;
  background: #fff;
  border: 1px solid #d8dcdf;
  border-radius: 6px;
  width: 100%;
  height: 34px;
  padding: 0 30px 0 10px;
  font-size: 11px;
}
.member-filter svg {
  top: 9px;
}
.modal-layer {
  z-index: 80;
  background: #1215187a;
  place-items: center;
  padding: 20px;
  display: grid;
  position: fixed;
  inset: 0;
}
.modal {
  background: #fff;
  border: 1px solid #dfe2e4;
  border-radius: 8px;
  flex-direction: column;
  width: min(520px, 100%);
  max-height: min(720px, 100vh - 40px);
  display: flex;
  overflow: hidden;
  box-shadow: 0 24px 60px #181c2038;
}
.modal > header {
  border-bottom: 1px solid #e7e9ea;
  flex: none;
  justify-content: space-between;
  align-items: center;
  min-height: 74px;
  padding: 17px 20px;
  display: flex;
}
.modal h2 {
  font-size: 17px;
}
.modal header p {
  color: #81888e;
  margin-top: 4px;
  font-size: 11px;
}
.modal-body {
  min-height: 0;
  padding: 20px;
  overflow-y: auto;
}
.modal > footer {
  background: #fafafa;
  border-top: 1px solid #e7e9ea;
  flex: none;
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
  min-height: 66px;
  padding: 13px 20px;
  display: flex;
}
.dropzone {
  color: #737b81;
  text-align: center;
  cursor: pointer;
  background: #fafbfb;
  border: 1px dashed #bdc4c8;
  border-radius: 7px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 178px;
  padding: 20px;
  display: flex;
}
.dropzone:hover,
.dropzone.dragging {
  background: #fff8f6;
  border-color: #e05a47;
}
.dropzone input {
  clip: rect(0 0 0 0);
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  margin: -1px;
  position: absolute;
  overflow: hidden;
}
.dropzone svg {
  color: #d35443;
}
.dropzone strong {
  color: #343a3e;
  overflow-wrap: anywhere;
  max-width: 100%;
  font-size: 13px;
}
.dropzone span {
  font-size: 11px;
}
.upload-progress {
  background: #f7faf8;
  border: 1px solid #dfe5e2;
  border-radius: 6px;
  margin-top: 12px;
  padding: 10px 12px;
}
.upload-progress > div:first-child {
  color: #557066;
  justify-content: space-between;
  font-size: 11px;
  display: flex;
}
.upload-progress .progress {
  width: 100%;
  margin-top: 8px;
}
.inspection-result {
  border-top: 1px solid #e4e7e9;
  border-bottom: 1px solid #e4e7e9;
  margin-top: 16px;
}
.inspection-heading {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  display: flex;
}
.inspection-heading > div {
  gap: 3px;
  min-width: 0;
  display: grid;
}
.inspection-heading strong {
  font-size: 13px;
}
.inspection-heading span {
  color: #7b8389;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  overflow: hidden;
}
.inspection-ready {
  background: #e5f3ec;
  border-radius: 5px;
  flex: none;
  align-items: center;
  gap: 4px;
  height: 25px;
  padding: 0 8px;
  font-weight: 700;
  display: inline-flex;
  color: #17694d !important;
}
.inspection-stats {
  border: 1px solid #e3e6e8;
  border-radius: 6px;
  grid-template-columns: repeat(4, 1fr);
  display: grid;
}
.inspection-stats div {
  text-align: center;
  border-right: 1px solid #e7e9ea;
  align-content: center;
  gap: 3px;
  min-height: 58px;
  display: grid;
}
.inspection-stats div:last-child {
  border-right: 0;
}
.inspection-stats span {
  color: #81888e;
  font-size: 10px;
}
.inspection-stats strong {
  font-size: 16px;
}
.inspection-line {
  color: #7a8187;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 16px;
  min-height: 42px;
  font-size: 10px;
  display: flex;
}
.inspection-line strong {
  color: #2d6d57;
  margin-left: auto;
  font-size: 11px;
}
.quota-hint {
  color: #39715d;
  background: #eef6f2;
  border-radius: 6px;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  margin-bottom: 9px;
  padding: 0 10px;
  font-size: 10px;
  display: flex;
}
.quota-hint.blocked {
  color: #a9362e;
  background: #fbecea;
}
.quota-hint strong {
  white-space: nowrap;
}
.product-preview {
  gap: 5px;
  padding: 3px 0 10px;
  display: grid;
}
.product-preview > div {
  color: #61686d;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 31px;
  font-size: 10px;
  display: grid;
}
.product-preview > div strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #30363a;
  overflow: hidden;
}
.product-preview > div span {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.product-preview em {
  color: #8b9297;
  font-style: normal;
}
.product-preview p {
  color: #7e858a;
  font-size: 10px;
}
.template-summary {
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  display: flex;
}
.template-summary span {
  color: #71797f;
  background: #fafbfb;
  border: 1px solid #e0e4e6;
  border-radius: 5px;
  align-items: center;
  gap: 3px;
  min-height: 26px;
  padding: 0 8px;
  font-size: 10px;
  display: inline-flex;
}
.template-summary strong {
  color: #343a3e;
  font-size: 11px;
}
.generation-scope {
  border-top: 1px solid #e4e7e9;
  margin-top: 14px;
  padding-top: 13px;
}
.scope-heading {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}
.scope-heading strong {
  font-size: 12px;
}
.scope-heading span {
  color: #297058;
  font-size: 10px;
  font-weight: 700;
}
.scope-options {
  gap: 6px;
  margin-top: 9px;
  display: grid;
}
.scope-options > label {
  cursor: pointer;
  background: #fbfcfc;
  border: 1px solid #dde2e4;
  border-radius: 6px;
  grid-template-columns: 18px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 7px 10px;
  display: grid;
}
.scope-options > label:has(input[type="checkbox"]:checked) {
  background: #f2f8f5;
  border-color: #b9d5c9;
}
.scope-options > label.disabled {
  opacity: 0.52;
  cursor: not-allowed;
}
.scope-options input[type="checkbox"] {
  accent-color: #2e7c5f;
  width: 16px;
  height: 16px;
}
.scope-options label > span {
  gap: 2px;
  display: grid;
}
.scope-options label > span strong {
  font-size: 11px;
}
.scope-options label > span small {
  color: #858c91;
  font-size: 9px;
}
.scope-options em {
  color: #33725c;
  text-align: right;
  min-width: 42px;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}
.detail-count-input {
  text-align: center;
  background: #fff;
  border: 1px solid #ccd3d6;
  border-radius: 5px;
  width: 58px;
  height: 31px;
  padding: 0 6px;
  font-size: 11px;
}
.detail-option-controls {
  align-items: center;
  gap: 6px;
  min-width: 0;
  display: flex;
}
.detail-resolution-toggle {
  color: #596268;
  white-space: nowrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
  font-size: 10px;
  display: inline-flex;
}
.detail-resolution-toggle input {
  accent-color: #2e7c5f;
  margin: 0;
  width: 14px !important;
  height: 14px !important;
}
.detail-resolution-hint {
  color: #747d82;
  margin-top: 7px;
  font-size: 9px;
  line-height: 1.5;
}
@media (width<=560px) {
  .detail-option-controls {
    grid-column: 2/-1;
    margin-top: 4px;
  }
  .detail-resolution-toggle {
    white-space: normal;
  }
}
.inspection-warning {
  color: #855a17;
  background: #fff5e6;
  border-radius: 6px;
  align-items: flex-start;
  gap: 7px;
  min-height: 34px;
  margin-bottom: 8px;
  padding: 8px 10px;
  font-size: 10px;
  display: flex;
}
.inspection-warning svg {
  flex: none;
}
.field-label {
  color: #545b60;
  gap: 7px;
  margin-top: 17px;
  font-size: 12px;
  font-weight: 650;
  display: grid;
}
.field-label input,
.field-label select {
  color: #252a2e;
  background: #fff;
  border: 1px solid #d5dadd;
  border-radius: 6px;
  outline: none;
  width: 100%;
  height: 40px;
  padding: 0 11px;
}
.field-label input:focus,
.field-label select:focus {
  border-color: #db5b49;
  box-shadow: 0 0 0 3px #e159471f;
}
.select-wrap {
  position: relative;
}
.select-wrap select {
  appearance: none;
  padding-right: 34px;
}
.select-wrap svg {
  color: #858c91;
  pointer-events: none;
  position: absolute;
  top: 12px;
  right: 10px;
}
.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
  display: grid;
}
.form-grid .full {
  grid-column: 1/-1;
}
.toggle-group {
  gap: 10px;
  margin-top: 19px;
  display: flex;
}
.toggle-group.four {
  flex-wrap: wrap;
}
.toggle-group.four label {
  flex: calc(50% - 5px);
}
.toggle-group label {
  color: #444b50;
  cursor: pointer;
  border: 1px solid #d8dcdf;
  border-radius: 6px;
  flex: 1;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  font-size: 12px;
  display: flex;
}
.toggle-group input {
  accent-color: #d95140;
}
.inline-error {
  color: #a9362e;
  background: #fbecea;
  border-radius: 6px;
  align-items: flex-start;
  gap: 7px;
  min-height: 36px;
  margin-top: 13px;
  padding: 9px 11px;
  font-size: 12px;
  display: flex;
}
.inline-error svg {
  flex: none;
}
.toast {
  z-index: 100;
  color: #235d48;
  background: #f2faf6;
  border: 1px solid #cddfd6;
  border-radius: 7px;
  grid-template-columns: 20px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  width: min(360px, 100vw - 32px);
  min-height: 48px;
  padding: 8px 8px 8px 13px;
  font-size: 12px;
  display: grid;
  position: fixed;
  bottom: 22px;
  right: 22px;
  box-shadow: 0 12px 36px #19231e24;
}
.toast.error {
  color: #a43a31;
  background: #fff5f3;
  border-color: #eccac6;
}
.auth-shell {
  background: #fff;
  grid-template-columns: minmax(420px, 46%) 1fr;
  min-height: 100vh;
  display: grid;
}
.auth-panel {
  width: min(420px, 100% - 64px);
  margin: auto;
}
.brand-auth {
  color: #262b2f;
}
.auth-copy {
  margin: 58px 0 26px;
}
.auth-copy h1 {
  font-size: 29px;
}
.auth-copy p {
  color: #7b8389;
  margin-top: 8px;
  font-size: 13px;
}
.segmented {
  background: #eff1f2;
  border-radius: 7px;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  display: grid;
}
.segmented button {
  color: #70777d;
  background: 0 0;
  border: 0;
  border-radius: 5px;
  height: 35px;
  font-size: 12px;
}
.segmented button.active {
  color: #292e32;
  background: #fff;
  font-weight: 700;
  box-shadow: 0 1px 3px #22262a1f;
}
.auth-form {
  margin-top: 10px;
}
.auth-form label {
  color: #52595f;
  gap: 7px;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 650;
  display: grid;
}
.auth-form input {
  border: 1px solid #d3d8db;
  border-radius: 6px;
  outline: none;
  height: 43px;
  padding: 0 12px;
}
.auth-form input:focus {
  border-color: #db5b49;
  box-shadow: 0 0 0 3px #e159471f;
}
.auth-submit {
  width: 100%;
  margin-top: 20px;
}
.auth-aside {
  background: #1b1e21;
  place-items: center;
  min-height: 100vh;
  display: grid;
  position: relative;
  overflow: hidden;
}
.auth-aside:before {
  content: "";
  border: 1px solid #34393e;
  position: absolute;
  inset: 10%;
}
.package-scene {
  width: 330px;
  height: 300px;
  position: relative;
}
.scene-file {
  border: 1px solid #4a5056;
  border-radius: 8px;
  place-items: center;
  width: 190px;
  height: 222px;
  display: grid;
  position: absolute;
}
.scene-file svg {
  width: 58px;
  height: 58px;
}
.scene-file-back {
  color: #77818a;
  background: #2b3035;
  top: 8px;
  right: 20px;
  transform: rotate(7deg);
}
.scene-file-front {
  color: #d95140;
  background: #f1f3f4;
  bottom: 6px;
  left: 22px;
  box-shadow: 0 24px 60px #00000047;
}
.scene-line {
  gap: 8px;
  width: 104px;
  display: grid;
  position: absolute;
  bottom: 22px;
  right: 0;
}
.scene-line span {
  background: #407f69;
  height: 3px;
}
.scene-line span:nth-child(2) {
  background: #d95140;
  width: 74%;
}
.scene-line span:nth-child(3) {
  background: #737d85;
  width: 48%;
}
.style-lab-page,
.custom-image-page {
  max-width: 1320px;
}
.style-tutorial {
  background: #fff;
  border: 1px solid #dfe3e5;
  border-radius: 7px;
  margin-bottom: 14px;
  overflow: hidden;
}
.style-tutorial > header {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 12px 0 16px;
  display: flex;
}
.style-tutorial > header > div {
  align-items: baseline;
  gap: 9px;
  min-width: 0;
  display: flex;
}
.style-tutorial > header strong {
  font-size: 13px;
}
.style-tutorial > header span {
  color: #7d858a;
  font-size: 10px;
}
.style-tutorial-content {
  border-top: 1px solid #e5e7e8;
  grid-template-columns: minmax(260px, 1fr) 54px minmax(260px, 1fr);
  align-items: center;
  padding: 0 16px 16px;
  display: grid;
}
.style-tutorial-content figure {
  min-width: 0;
  margin: 0;
  padding-top: 14px;
  position: relative;
}
.style-tutorial-content figcaption {
  color: #525a5f;
  min-height: 27px;
  font-size: 10px;
  font-weight: 700;
}
.style-tutorial-content img {
  aspect-ratio: 1;
  object-fit: cover;
  background: #f3f4f4;
  border: 1px solid #dfe3e5;
  border-radius: 6px;
  width: 100%;
  display: block;
}
.style-tutorial-arrow {
  color: #d45140;
  background: #f5f6f6;
  border: 1px solid #d9dddf;
  border-radius: 50%;
  justify-self: center;
  place-items: center;
  width: 36px;
  height: 36px;
  display: grid;
}
.style-tutorial-prompt {
  border-top: 1px solid #e5e7e8;
  grid-column: 1/-1;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-width: 0;
  margin-top: 14px;
  padding-top: 13px;
  display: grid;
}
.style-tutorial-prompt > div {
  gap: 5px;
  min-width: 0;
  display: grid;
}
.style-tutorial-prompt span {
  color: #525a5f;
  font-size: 10px;
  font-weight: 700;
}
.style-tutorial-prompt p {
  color: #697176;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
  font-size: 10px;
  line-height: 1.6;
  overflow: hidden;
}
.style-tutorial-prompt .secondary-button {
  white-space: nowrap;
}
.style-credit {
  background: #fff;
  border-left: 3px solid #e95744;
  gap: 2px;
  min-width: 112px;
  padding: 8px 12px;
  display: grid;
}
.style-credit span {
  color: #80878d;
  font-size: 10px;
}
.style-credit strong {
  font-size: 18px;
}
.style-lab-shell {
  background: #fff;
  border: 1px solid #dfe3e5;
  border-radius: 8px;
  grid-template-columns: minmax(340px, 0.82fr) minmax(420px, 1.18fr);
  display: grid;
  overflow: hidden;
}
.style-controls {
  border-right: 1px solid #e3e6e8;
  min-width: 0;
  padding: 18px;
}
.style-image-input {
  color: #747c82;
  background: #fafbfb;
  border: 1px dashed #bdc4c8;
  border-radius: 7px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 148px;
  padding: 10px;
  display: flex;
  position: relative;
  overflow: hidden;
}
.style-image-input:hover {
  background: #fff8f6;
  border-color: #dd5a48;
}
.style-image-input input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}
.style-image-input strong {
  color: #353b3f;
  font-size: 12px;
}
.style-image-input span {
  font-size: 10px;
}
.style-image-input.has-images {
  background: #f2f4f4;
  border-style: solid;
  min-height: 190px;
}
.style-reference-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  width: 100%;
  display: grid;
}
.style-reference-tile {
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid #d9dddf;
  border-radius: 6px;
  min-width: 0;
  position: relative;
  overflow: hidden;
}
.style-reference-tile img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.style-reference-tile > span {
  color: #fff;
  background: #14181ac7;
  border-radius: 4px;
  align-items: center;
  min-height: 20px;
  padding: 0 6px;
  font-size: 8px;
  display: inline-flex;
  position: absolute;
  bottom: 5px;
  left: 5px;
}
.style-reference-tile > button {
  color: #fff;
  cursor: pointer;
  background: #14181ac2;
  border: 0;
  border-radius: 4px;
  place-items: center;
  width: 24px;
  height: 24px;
  display: grid;
  position: absolute;
  top: 4px;
  right: 4px;
}
.add-reference-image {
  color: #535b60;
  cursor: pointer;
  background: #fff;
  border: 1px solid #d5dadd;
  border-radius: 5px;
  align-items: center;
  gap: 5px;
  min-height: 31px;
  padding: 0 10px;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
}
.add-reference-image:hover {
  color: #b44738;
  border-color: #d25b49;
}
.style-group-select {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
  margin-top: 12px;
  display: grid;
}
.style-group-select .field-label {
  margin: 0;
}
.style-group-select > button {
  min-height: 38px;
}
.style-group-manage {
  gap: 6px;
  margin-top: 14px;
  display: grid;
}
.style-group-manage > span {
  color: #737b80;
  font-size: 10px;
  font-weight: 700;
}
.style-group-manage > div {
  background: #f8f9f9;
  border: 1px solid #e0e4e6;
  border-radius: 6px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  min-height: 39px;
  padding: 5px 7px 5px 10px;
  display: grid;
}
.style-group-manage strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  overflow: hidden;
}
.style-group-manage em {
  color: #858d92;
  font-size: 9px;
  font-style: normal;
}
.replace-image {
  color: #fff;
  background: #191c1fd1;
  border-radius: 5px;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 9px;
  display: inline-flex;
  position: absolute;
  bottom: 9px;
  right: 9px;
}
.style-options {
  grid-template-columns: 1fr 130px;
  gap: 10px;
  margin-top: 15px;
  display: grid;
}
.style-options > div {
  gap: 6px;
  display: grid;
}
.style-options > div > span {
  color: #5b6267;
  font-size: 11px;
  font-weight: 700;
}
.style-mode-switch {
  width: 100%;
  margin-bottom: 12px;
}
.style-mode-switch button {
  flex: 1;
}
.suite-settings {
  background: #f8f9f9;
  border: 1px solid #e1e5e7;
  border-radius: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 10px;
  padding: 10px;
  display: grid;
}
.suite-settings label {
  color: #5c6469;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  display: grid;
}
.suite-settings label.full {
  grid-column: 1/-1;
}
.suite-settings input {
  color: #30363a;
  min-width: 0;
  height: 34px;
  font: inherit;
  background: #fff;
  border: 1px solid #d7dcde;
  border-radius: 5px;
  outline: none;
  padding: 0 9px;
  font-size: 11px;
}
.suite-settings input:focus {
  border-color: #d85d4b;
  box-shadow: 0 0 0 3px #d85d4b1a;
}
.segmented.compact {
  grid-template-columns: none;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
}
.segmented.compact button {
  min-width: 0;
  height: 30px;
  font-size: 10px;
}
.style-presets {
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  display: flex;
}
.style-presets button {
  color: #626a70;
  background: #fff;
  border: 1px solid #dde1e3;
  border-radius: 5px;
  height: 28px;
  padding: 0 9px;
  font-size: 10px;
}
.style-presets button:hover {
  color: #b8493a;
  border-color: #d15a49;
}
.chat-thread {
  background: #f8f9f9;
  border: 1px solid #e1e4e6;
  border-radius: 6px;
  flex-direction: column;
  gap: 9px;
  height: 190px;
  margin-top: 13px;
  padding: 10px;
  display: flex;
  overflow: auto;
}
.chat-empty {
  color: #969da2;
  align-content: center;
  place-items: center;
  gap: 8px;
  min-height: 100%;
  font-size: 11px;
  display: grid;
}
.chat-message {
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 7px;
  max-width: 88%;
  display: grid;
}
.chat-message.user {
  grid-template-columns: minmax(0, 1fr) 24px;
  margin-left: auto;
}
.chat-message.user span {
  background: #33383c;
  grid-area: 1/2;
}
.chat-message.user p {
  background: #eef1f2;
  grid-area: 1/1;
}
.chat-message span {
  color: #fff;
  background: #e95744;
  border-radius: 50%;
  place-items: center;
  width: 24px;
  height: 24px;
  font-size: 8px;
  font-weight: 800;
  display: grid;
}
.chat-message p {
  color: #4b5257;
  overflow-wrap: anywhere;
  background: #fff;
  border-radius: 6px;
  padding: 7px 9px;
  font-size: 10px;
  line-height: 1.55;
}
.chat-compose {
  margin-top: 8px;
  position: relative;
}
.chat-compose textarea {
  resize: vertical;
  color: #30363a;
  width: 100%;
  min-height: 70px;
  font: inherit;
  border: 1px solid #d5dadd;
  border-radius: 6px;
  outline: none;
  padding: 10px 43px 10px 10px;
  font-size: 11px;
  line-height: 1.55;
}
.chat-compose textarea:focus {
  border-color: #db5b49;
  box-shadow: 0 0 0 3px #e159471a;
}
.chat-compose .icon-button {
  color: #fff;
  background: #e95744;
  position: absolute;
  bottom: 7px;
  right: 6px;
}
.chat-send-button {
  color: #fff;
  min-height: 30px;
  font: inherit;
  cursor: pointer;
  background: #e95744;
  border: 0;
  border-radius: 5px;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 650;
  display: inline-flex;
  position: absolute;
  bottom: 7px;
  right: 6px;
}
.chat-send-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.chat-compose:has(.chat-send-button) textarea {
  padding-right: 132px;
}
.gpt-chat-page {
  max-width: 1320px;
}
.gpt-chat-layout {
  background: #fff;
  border: 1px solid #dfe3e5;
  border-radius: 8px;
  grid-template-columns: 260px minmax(0, 1fr);
  height: min(720px, 100vh - 170px);
  min-height: 560px;
  display: grid;
  overflow: hidden;
}
.gpt-chat-conversations {
  background: #f7f8f8;
  border-right: 1px solid #e2e5e7;
  flex-direction: column;
  min-width: 0;
  display: flex;
}
.gpt-chat-conversations > header {
  border-bottom: 1px solid #e2e5e7;
  justify-content: space-between;
  align-items: center;
  height: 54px;
  padding: 0 12px 0 16px;
  display: flex;
}
.gpt-chat-conversations > header strong {
  font-size: 12px;
}
.gpt-chat-conversation-list {
  min-height: 0;
  overflow-y: auto;
}
.gpt-chat-conversation-list > button {
  color: #30363a;
  text-align: left;
  background: 0 0;
  border: 0;
  border-bottom: 1px solid #e5e8e9;
  gap: 4px;
  width: 100%;
  min-height: 78px;
  padding: 12px 14px;
  display: grid;
}
.gpt-chat-conversation-list > button:hover {
  background: #fff;
}
.gpt-chat-conversation-list > button.active {
  background: #fff;
  box-shadow: inset 3px 0 #e95744;
}
.gpt-chat-conversation-list strong,
.gpt-chat-conversation-list span {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}
.gpt-chat-conversation-list strong {
  font-size: 11px;
}
.gpt-chat-conversation-list span {
  color: #747c81;
  font-size: 10px;
}
.gpt-chat-conversation-list small {
  color: #9aa0a4;
  font-size: 9px;
}
.gpt-chat-list-empty {
  color: #969da2;
  place-items: center;
  min-height: 150px;
  font-size: 11px;
  display: grid;
}
.gpt-chat-panel {
  grid-template-rows: 54px minmax(0, 1fr) auto auto;
  min-width: 0;
  min-height: 0;
  display: grid;
}
.gpt-chat-panel > header {
  border-bottom: 1px solid #e5e8e9;
  justify-content: space-between;
  align-items: center;
  padding: 0 14px 0 18px;
  display: flex;
}
.gpt-chat-panel > header > div {
  align-items: center;
  gap: 8px;
  min-width: 0;
  display: flex;
}
.gpt-chat-panel > header svg {
  color: #d85241;
  flex: none;
}
.gpt-chat-panel > header strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  overflow: hidden;
}
.gpt-chat-messages {
  background: #fbfcfc;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  padding: 24px max(20px, 8%);
  display: flex;
  overflow-y: auto;
}
.gpt-chat-empty {
  color: #8b9398;
  align-content: center;
  place-items: center;
  gap: 9px;
  min-height: 100%;
  font-size: 11px;
  display: grid;
}
.gpt-chat-empty svg {
  color: #c46a5c;
}
.gpt-chat-message {
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  width: min(760px, 88%);
  display: grid;
}
.gpt-chat-message.user {
  grid-template-columns: minmax(0, 1fr) 30px;
  align-self: flex-end;
}
.gpt-chat-message > span {
  color: #fff;
  background: #e95744;
  border-radius: 50%;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: 9px;
  font-weight: 750;
  display: grid;
}
.gpt-chat-message.user > span {
  background: #33383c;
  grid-area: 1/2;
}
.gpt-chat-message > p {
  color: #353b3f;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  background: #fff;
  border: 1px solid #e1e5e7;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.65;
}
.gpt-chat-message.user > p {
  background: #eef1f2;
  grid-area: 1/1;
}
.gpt-chat-typing {
  color: #697177;
  background: #eef1f2;
  border-radius: 5px;
  align-items: center;
  gap: 7px;
  width: max-content;
  padding: 7px 10px;
  font-size: 10px;
  display: flex;
}
.gpt-chat-compose {
  background: #fff;
  border-top: 1px solid #e4e7e9;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 14px 18px 8px;
  display: grid;
}
.gpt-chat-compose textarea {
  resize: vertical;
  color: #30363a;
  width: 100%;
  min-height: 76px;
  max-height: 190px;
  font: inherit;
  border: 1px solid #d6dbdd;
  border-radius: 6px;
  outline: none;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.55;
}
.gpt-chat-compose textarea:focus {
  border-color: #d85c4b;
  box-shadow: 0 0 0 3px #d85c4b1a;
}
.gpt-chat-compose .primary-button {
  align-self: end;
  min-width: 82px;
}
.gpt-chat-billing {
  color: #8c9398;
  background: #fff;
  padding: 0 18px 12px;
  font-size: 9px;
}
.bulk-upload-modal {
  width: min(860px, 100vw - 32px);
}
.bulk-dropzone {
  min-height: 112px;
}
.bulk-file-list {
  background: #fff;
  border: 1px solid #e1e5e7;
  border-radius: 6px;
  max-height: 230px;
  overflow: auto;
}
.bulk-file-list > div {
  border-bottom: 1px solid #edf0f1;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 9px 12px;
  display: grid;
}
.bulk-file-list > div:last-child {
  border-bottom: 0;
}
.bulk-file-list section {
  gap: 2px;
  min-width: 0;
  display: grid;
}
.bulk-file-list section strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  overflow: hidden;
}
.bulk-file-list section span {
  color: #838b90;
  font-size: 10px;
}
.bulk-file-list section em {
  color: #c33f32;
  font-size: 10px;
  font-style: normal;
}
.design-brief-panel {
  background: #fbfcfc;
  border: 1px solid #e0e4e6;
  border-radius: 7px;
  margin-top: 12px;
}
.design-brief-heading {
  color: #30363a;
  text-align: left;
  cursor: pointer;
  background: 0 0;
  border: 0;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  display: flex;
}
.design-brief-heading > span {
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  min-width: 0;
  display: flex;
}
.design-brief-heading svg:first-child {
  color: #dc5b49;
}
.design-brief-heading em {
  color: #8b9398;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
}
.design-brief-heading > svg {
  color: #879096;
  flex: none;
  transition: transform 0.16s;
}
.design-brief-heading > svg.chevron-open {
  transform: rotate(180deg);
}
.design-brief-body {
  border-top: 1px solid #e7eaeb;
  padding: 0 12px 12px;
}
.design-brief-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 12px;
  padding-top: 11px;
  display: grid;
}
.design-brief-grid label {
  color: #596167;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  display: grid;
}
.design-brief-grid textarea {
  resize: vertical;
  color: #30363a;
  width: 100%;
  min-height: 54px;
  font: inherit;
  background: #fff;
  border: 1px solid #d8dddf;
  border-radius: 5px;
  outline: none;
  padding: 8px;
  font-size: 11px;
  line-height: 1.45;
}
.design-brief-grid textarea:focus {
  border-color: #dc6554;
  box-shadow: 0 0 0 3px #dc65541a;
}
.design-brief-grid textarea::placeholder {
  color: #a3aaae;
}
.inline-link-button {
  color: #c65343;
  width: fit-content;
  font: inherit;
  cursor: pointer;
  background: 0 0;
  border: 0;
  align-items: center;
  gap: 4px;
  padding: 0;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
}
.inline-link-button:hover {
  color: #963b30;
  text-decoration: underline;
}
.design-brief-advanced {
  border-top: 1px solid #e7eaeb;
  margin-top: 10px;
}
.design-brief-advanced summary {
  color: #727b80;
  cursor: pointer;
  padding-top: 10px;
  font-size: 10px;
  font-weight: 700;
}
.bulk-file-list .progress {
  height: 3px;
  margin-top: 3px;
}
.bulk-file-status {
  color: #777f84;
  white-space: nowrap;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  display: inline-flex;
}
.bulk-file-end {
  align-items: center;
  gap: 6px;
  display: flex;
}
.bulk-file-end .icon-button {
  width: 27px;
  height: 27px;
}
.bulk-file-list .ready .bulk-file-status {
  color: #297457;
}
.bulk-file-list .failed {
  background: #fff8f7;
}
.bulk-settings-grid {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  display: grid;
}
.compact-scope .scope-options label {
  min-height: 58px;
}
.batch-overview {
  margin: 14px 0 16px;
}
.batch-overview > header {
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
  display: flex;
}
.batch-overview > header > div {
  align-items: baseline;
  gap: 8px;
  display: flex;
}
.batch-overview > header strong {
  font-size: 13px;
}
.batch-overview > header span,
.section-label span {
  color: #8a9297;
  font-size: 10px;
}
.batch-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  display: grid;
}
.batch-card {
  background: #fff;
  border: 1px solid #dde2e4;
  border-radius: 6px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 11px 14px;
  min-width: 0;
  padding: 13px;
  display: grid;
}
.batch-card.processing {
  border-left: 3px solid #e95744;
}
.batch-card.partial_failed,
.batch-card.failed {
  border-left: 3px solid #c94437;
}
.batch-card-main {
  gap: 4px;
  min-width: 0;
  display: grid;
}
.batch-card-main > div {
  align-items: center;
  gap: 7px;
  min-width: 0;
  display: flex;
}
.batch-card-main strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  overflow: hidden;
}
.batch-card-main > span {
  color: #858d92;
  font-size: 10px;
}
.batch-counts {
  grid-template-columns: repeat(4, auto);
  gap: 12px;
  display: grid;
}
.batch-counts > div {
  text-align: center;
  display: grid;
}
.batch-counts strong {
  font-size: 13px;
}
.batch-counts span {
  color: #899095;
  font-size: 9px;
}
.batch-progress {
  grid-template-columns: minmax(100px, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-width: 0;
  display: grid;
}
.batch-progress .progress {
  height: 4px;
}
.batch-progress > span {
  color: #747c81;
  white-space: nowrap;
  font-size: 9px;
}
.batch-actions {
  justify-content: flex-end;
  gap: 6px;
  display: flex;
}
.batch-actions button {
  min-height: 30px;
  padding: 0 10px;
  font-size: 10px;
}
.section-label {
  border-bottom: 1px solid #e5e8ea;
  align-items: baseline;
  gap: 8px;
  min-height: 35px;
  margin-top: 5px;
  display: flex;
}
@media (width<=720px) {
  .bulk-settings-grid {
    grid-template-columns: 1fr;
  }
  .bulk-upload-modal {
    width: calc(100vw - 16px);
  }
}
@media (width<=900px) {
  .batch-grid {
    grid-template-columns: 1fr;
  }
}
.style-result-panel {
  grid-template-rows: auto 1fr auto auto;
  grid-template-columns: minmax(220px, 0.74fr) minmax(260px, 1.26fr);
  align-items: start;
  gap: 13px 16px;
  min-width: 0;
  padding: 18px;
  display: grid;
}
.prompt-editor {
  grid-row: 1 / span 2;
  min-width: 0;
}
.prompt-editor > div {
  justify-content: space-between;
  align-items: center;
  height: 34px;
  display: flex;
}
.prompt-editor strong {
  font-size: 12px;
}
.prompt-editor-tools {
  align-items: center;
  gap: 6px;
  display: flex;
}
.style-prompt-toggle {
  color: #6b7378;
  cursor: pointer;
  white-space: nowrap;
  background: #fff;
  border: 1px solid #d9dee0;
  border-radius: 5px;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 8px;
  font-size: 9px;
  font-weight: 650;
  display: inline-flex;
}
.style-prompt-toggle:hover {
  border-color: #bdc4c8;
}
.style-prompt-toggle.active {
  color: #a54134;
  background: #fff6f4;
  border-color: #d8a097;
}
.style-prompt-toggle input {
  accent-color: #d65342;
  width: 13px;
  height: 13px;
  margin: 0;
}
.prompt-editor textarea {
  resize: none;
  color: #3f464b;
  background: #fafbfb;
  border: 1px solid #d8dcdf;
  border-radius: 6px;
  outline: none;
  width: 100%;
  height: 410px;
  padding: 11px;
  font:
    10px/1.65 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.prompt-editor textarea:focus {
  background: #fff;
  border-color: #c0c7cb;
}
.style-canvas {
  background: #f1f3f4;
  border: 1px solid #dfe3e5;
  border-radius: 7px;
  place-self: start center;
  place-items: center;
  width: min(100%, 430px);
  min-height: 280px;
  max-height: 520px;
  display: grid;
  position: relative;
  overflow: hidden;
}
.style-canvas img {
  object-fit: contain;
  background: #eceeef;
  width: 100%;
  height: 100%;
}
.style-image-download {
  color: #fff;
  cursor: pointer;
  background: #1b1f22db;
  border: 0;
  border-radius: 5px;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  position: absolute;
  bottom: 9px;
  right: 9px;
}
.style-image-download:hover {
  background: #1f2427;
}
.style-placeholder,
.style-working {
  color: #8b9297;
  place-items: center;
  gap: 8px;
  display: grid;
}
.style-placeholder strong,
.style-working strong {
  color: #555d62;
  font-size: 13px;
}
.style-placeholder span,
.style-working span {
  font-size: 10px;
}
.style-actions {
  flex-wrap: wrap;
  grid-column: 2;
  gap: 7px;
  display: flex;
}
.style-result-panel > .inline-error {
  grid-column: 2;
  margin-top: 0;
}
.style-result-reference {
  grid-column: 2;
  gap: 7px;
  min-width: 0;
  display: grid;
}
.style-result-reference > header {
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.style-result-reference strong {
  font-size: 11px;
}
.style-result-reference span {
  color: #858d92;
  font-size: 9px;
}
.style-result-reference > div {
  background: #f7f8f8;
  border: 1px solid #dfe3e5;
  border-radius: 6px;
  align-items: center;
  gap: 7px;
  min-height: 92px;
  padding: 7px;
  display: flex;
  overflow-x: auto;
}
.style-result-reference a {
  flex: 0 0 78px;
  height: 78px;
}
.style-result-reference img {
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
  width: 78px;
  height: 78px;
}
.style-suite-results {
  background: #f4f6f6;
  grid-column: 2;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 8px;
  min-height: 360px;
  max-height: 620px;
  padding: 10px;
  display: grid;
  overflow: auto;
}
.style-suite-results article {
  min-width: 0;
  position: relative;
}
.style-suite-results a {
  color: #4f575c;
  gap: 5px;
  min-width: 0;
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
  display: grid;
}
.style-suite-results img {
  object-fit: contain;
  background: #fff;
  border: 1px solid #dce1e3;
  border-radius: 5px;
  width: 100%;
  height: auto;
  display: block;
}
.style-suite-results span {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.style-suite-results article > .icon-button {
  color: #fff;
  background: #1b1f22d1;
  position: absolute;
  bottom: 22px;
  right: 5px;
}
.style-recent {
  margin-top: 18px;
}
.style-recent > header {
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  display: flex;
}
.style-recent > header > div {
  align-items: baseline;
  gap: 8px;
  display: flex;
}
.style-recent h2 {
  font-size: 15px;
}
.style-recent header span {
  color: #8a9196;
  font-size: 10px;
}
.style-group-filters {
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 10px;
  display: flex;
}
.style-group-filters button {
  color: #596166;
  cursor: pointer;
  background: #fff;
  border: 1px solid #dce1e3;
  border-radius: 5px;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 9px;
  font-size: 10px;
  display: inline-flex;
}
.style-group-filters button:hover,
.style-group-filters button.active {
  color: #a84436;
  background: #fff8f6;
  border-color: #d15a49;
}
.style-group-filters span {
  color: #737b80;
  background: #eef0f1;
  border-radius: 9px;
  justify-content: center;
  align-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 8px;
  display: inline-flex;
}
.style-recent-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  display: grid;
}
.style-recent-grid article {
  cursor: pointer;
  background: #fff;
  border: 1px solid #e0e3e5;
  border-radius: 7px;
  grid-template-rows: auto auto;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 5px 9px;
  min-width: 0;
  min-height: 70px;
  padding: 7px 68px 7px 7px;
  display: grid;
  position: relative;
}
.style-recent-grid article:hover,
.style-recent-grid article.active {
  border-color: #d05b4a;
}
.style-recent-grid img,
.style-recent-grid article > div {
  object-fit: cover;
  color: #8c9499;
  background: #eef0f1;
  border-radius: 5px;
  grid-row: 1 / span 2;
  place-items: center;
  width: 54px;
  height: 54px;
  display: grid;
}
.style-recent-grid section {
  gap: 4px;
  min-width: 0;
  display: grid;
}
.style-recent-grid section strong,
.style-recent-grid section span {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.style-recent-grid section strong {
  font-size: 11px;
}
.style-recent-grid section span {
  color: #858d92;
  font-size: 9px;
}
.style-recent-grid .status-badge {
  width: fit-content;
  height: 21px;
  padding: 0 6px;
  font-size: 9px;
}
.style-recent-grid article > .icon-button {
  position: absolute;
  bottom: 7px;
}
.style-recent-grid article > .style-recent-download {
  right: 37px;
}
.style-recent-grid article > .style-recent-delete {
  color: #a84436;
  right: 7px;
}
.style-recent-empty {
  color: #8a9196;
  border: 1px dashed #cdd2d5;
  border-radius: 7px;
  place-items: center;
  min-height: 82px;
  font-size: 11px;
  display: grid;
}
.style-profile-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  display: grid;
}
.style-profile-card {
  background: #fff;
  border: 1px solid #dfe3e5;
  border-radius: 7px;
  grid-template-columns: 170px minmax(0, 1fr);
  min-width: 0;
  display: grid;
  overflow: hidden;
}
.style-profile-image {
  color: #8b9398;
  background: #eef0f1;
  place-items: center;
  min-height: 220px;
  display: grid;
}
.style-profile-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  min-height: 220px;
}
.style-profile-card > section {
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  display: flex;
}
.style-profile-title {
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  display: flex;
}
.style-profile-title-actions {
  flex: none;
  gap: 4px;
  display: flex;
}
.style-profile-title h2 {
  font-size: 13px;
  line-height: 1.35;
}
.style-profile-title span {
  color: #888f94;
  font-size: 9px;
}
.style-profile-card p {
  color: #4e565b;
  font-size: 11px;
  line-height: 1.55;
}
.style-profile-meta {
  flex-wrap: wrap;
  gap: 5px;
  display: flex;
}
.style-profile-meta span {
  color: #687076;
  background: #f0f2f3;
  border-radius: 4px;
  align-items: center;
  height: 23px;
  padding: 0 7px;
  font-size: 9px;
  display: inline-flex;
}
.style-profile-card dl {
  gap: 6px;
  margin-top: auto;
  display: grid;
}
.style-profile-card dl div {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 7px;
  min-width: 0;
  display: grid;
}
.style-profile-card dt {
  color: #91989d;
  font-size: 9px;
}
.style-profile-card dd {
  color: #555d62;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  overflow: hidden;
}
.style-seed-preview {
  background: #f7f8f8;
  border: 1px solid #dfe3e5;
  border-radius: 7px;
  padding: 12px;
}
.style-seed-preview > header {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  display: flex;
}
.style-seed-preview > header strong {
  color: #30373b;
  font-size: 12px;
}
.style-seed-preview > header span {
  color: #7b8388;
  font-size: 10px;
}
.style-seed-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  display: grid;
}
.style-seed-columns > section {
  background: #fff;
  border: 1px solid #e2e5e7;
  border-radius: 6px;
  min-width: 0;
  overflow: hidden;
}
.style-seed-columns h3 {
  border-bottom: 1px solid #eceeef;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  font-size: 11px;
  display: flex;
}
.style-seed-columns h3 span {
  color: #687177;
  background: #edf1ef;
  border-radius: 4px;
  min-width: 22px;
  padding: 2px 5px;
  font-size: 9px;
  text-align: center;
}
.style-seed-columns ol {
  max-height: 220px;
  margin: 0;
  padding: 8px 8px 8px 30px;
  overflow: auto;
}
.style-seed-columns li {
  color: #4f585d;
  padding: 4px 3px;
  font-size: 10px;
  line-height: 1.5;
}
.style-seed-columns li + li {
  border-top: 1px solid #f0f2f3;
}
.style-seed-empty,
.style-seed-invalid {
  color: #8a9196;
  padding: 18px 10px;
  font-size: 10px;
  text-align: center;
}
.style-application {
  background: #f8f9f9;
  border: 1px solid #dfe3e5;
  border-radius: 6px;
  grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1.2fr);
  gap: 12px;
  padding: 11px;
  display: grid;
}
.style-application > div {
  gap: 7px;
  display: grid;
}
.style-application > div > span {
  color: #697177;
  font-size: 10px;
  font-weight: 700;
}
.style-application .toggle-group {
  align-items: stretch;
  min-height: 30px;
}
.style-application .toggle-group label {
  min-height: 30px;
  padding: 0 9px;
}
.config-statuses {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  display: flex;
}
.video-shell {
  background: #fff;
  border: 1px solid #dfe3e5;
  border-radius: 7px;
  grid-template-columns: minmax(300px, 390px) minmax(420px, 1fr);
  display: grid;
  overflow: hidden;
}
.video-form {
  border-right: 1px solid #e3e6e8;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  display: flex;
}
.video-form textarea {
  resize: vertical;
  width: 100%;
}
.video-model-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  display: grid;
}
.video-model-options button {
  text-align: left;
  color: #4e565b;
  cursor: pointer;
  background: #fff;
  border: 1px solid #dce0e2;
  border-radius: 6px;
  gap: 3px;
  min-width: 0;
  min-height: 52px;
  padding: 9px 10px;
  display: grid;
}
.video-model-options button:hover,
.video-model-options button.active {
  background: #fff8f6;
  border-color: #d05b4a;
}
.video-model-options strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  overflow: hidden;
}
.video-model-options span {
  color: #7e868b;
  font-size: 9px;
}
.video-image-input {
  color: #858d92;
  cursor: pointer;
  background: #f6f7f7;
  border: 1px dashed #cbd1d4;
  border-radius: 7px;
  align-content: center;
  place-items: center;
  gap: 7px;
  min-height: 210px;
  display: grid;
  position: relative;
  overflow: hidden;
}
.video-image-input:focus-within,
.video-image-input:hover {
  border-color: #d05b4a;
}
.video-image-input input {
  opacity: 0;
  cursor: pointer;
  position: absolute;
  inset: 0;
}
.video-image-input strong {
  color: #555d62;
  font-size: 12px;
}
.video-image-input span {
  font-size: 9px;
}
.video-image-input.has-image {
  border-style: solid;
  min-height: 250px;
}
.video-image-input img {
  object-fit: contain;
  background: #eef0f1;
  width: 100%;
  height: 250px;
}
.video-options {
  grid-template-columns: minmax(0, 1.45fr) minmax(100px, 0.55fr);
  gap: 10px;
  display: grid;
}
.video-options > div {
  align-content: start;
  gap: 7px;
  min-width: 0;
  display: grid;
}
.video-options > div > span {
  color: #697177;
  font-size: 10px;
  font-weight: 700;
}
.video-options .segmented {
  flex-wrap: wrap;
  min-height: 36px;
}
.video-results {
  background: #f7f8f8;
  grid-template-rows: minmax(260px, 420px) auto;
  align-content: start;
  gap: 16px;
  min-width: 0;
  padding: 18px;
  display: grid;
}
.video-preview-stage {
  place-items: center;
  min-width: 0;
  min-height: 260px;
  display: grid;
  overflow: hidden;
}
.video-preview-media {
  background: #151718;
  border: 1px solid #dce1e3;
  border-radius: 7px;
  width: min(100%, 420px);
  height: auto;
  max-height: 420px;
}
video.video-preview-media {
  object-fit: contain;
}
.video-preview-empty {
  color: #858d92;
  background: #eef0f1;
  align-content: center;
  place-items: center;
  gap: 9px;
  display: grid;
}
.video-preview-empty strong {
  color: #596166;
  font-size: 12px;
}
.video-preview-empty span {
  font-size: 9px;
}
.video-task-list {
  gap: 7px;
  min-width: 0;
  display: grid;
}
.video-task-list article {
  background: #fff;
  border: 1px solid #dfe3e5;
  border-radius: 6px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 11px;
  display: grid;
}
.video-task-list article > div:first-child {
  gap: 4px;
  min-width: 0;
  display: grid;
}
.video-task-list article strong,
.video-task-list article p {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.video-task-list article strong {
  font-size: 11px;
}
.video-task-list article span,
.video-task-list article p {
  color: #858d92;
  font-size: 9px;
}
.video-task-list article p {
  margin: 0;
}
.video-task-list article em {
  color: #b34c3e;
  font-size: 9px;
  font-style: normal;
}
.video-task-list article .video-refund-note {
  color: #18794e;
  font-weight: 700;
}
.video-task-list article > div:nth-child(2) {
  justify-items: end;
  gap: 5px;
  display: grid;
}
.video-admin-list {
  gap: 7px;
  display: grid;
}
.video-admin-list > article {
  background: #fff;
  border: 1px solid #dfe3e5;
  border-radius: 6px;
  grid-template-columns: minmax(180px, 1.2fr) minmax(150px, 0.7fr) auto auto;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 64px;
  padding: 10px 12px;
  display: grid;
}
.video-admin-list > article > div:not(.row-actions) {
  gap: 4px;
  min-width: 0;
  display: grid;
}
.video-admin-list strong,
.video-admin-list span {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.video-admin-list strong {
  font-size: 11px;
}
.video-admin-list span {
  color: #858d92;
  font-size: 9px;
}
.video-model-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  display: grid;
}
.video-model-form .full {
  grid-column: 1/-1;
}
.ratio-checks {
  flex-wrap: wrap;
  gap: 7px;
  display: flex;
}
.ratio-checks label {
  color: #596166;
  background: #f8f9f9;
  border: 1px solid #dce0e2;
  border-radius: 5px;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 9px;
  font-size: 10px;
  display: inline-flex;
}
.mobile-bar,
.sidebar-scrim {
  display: none;
}
.spin {
  animation: 1s linear infinite spin;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (width<=1250px) {
  .style-lab-shell {
    grid-template-columns: 1fr;
  }
  .style-controls {
    border-bottom: 1px solid #e3e6e8;
    border-right: 0;
  }
}
@media (width<=980px) {
  .gpt-chat-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .keyword-template-grid,
  .keyword-create {
    grid-template-columns: 1fr;
  }
  .keyword-upload {
    border-bottom: 1px solid #e4e7e9;
    border-right: 0;
  }
  .keyword-task-row {
    grid-template-columns: 44px minmax(0, 1fr) auto;
  }
  .keyword-counts {
    grid-column: 2;
  }
  .keyword-actions {
    grid-area: 1/3 / span 2;
    max-width: 200px;
  }
  .video-shell {
    grid-template-columns: 1fr;
  }
  .video-form {
    border-bottom: 1px solid #e3e6e8;
    border-right: 0;
  }
  .style-profile-grid {
    grid-template-columns: 1fr;
  }
  .style-seed-columns {
    grid-template-columns: 1fr;
  }
  .style-seed-columns ol {
    max-height: 160px;
  }
  .style-recent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-overview {
    grid-template-columns: repeat(3, 1fr);
  }
  .admin-overview > div:nth-child(3) {
    border-right: 0;
  }
  .admin-overview > div:nth-child(-n + 3) {
    border-bottom: 1px solid #e7e9ea;
  }
  .admin-user-row:not(.child-user-row) {
    grid-template-columns: 40px minmax(0, 1fr) repeat(3, 72px);
  }
  .admin-user-row:not(.child-user-row) > .row-actions {
    flex-wrap: wrap;
    grid-column: 2/-1;
    justify-content: flex-start;
  }
  .template-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .task-row {
    grid-template-columns: 44px minmax(0, 1fr) auto;
  }
  .task-progress {
    display: none;
  }
  .storage-target-row {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }
  .storage-target-capacity {
    grid-column: 2;
  }
  .storage-target-row > .row-actions {
    grid-area: 1/3 / span 2;
  }
}
@media (width<=620px) {
  .style-profile-card {
    grid-template-columns: 105px minmax(0, 1fr);
  }
  .style-profile-image,
  .style-profile-image img {
    min-height: 180px;
  }
}
@media (width<=720px) {
  .gpt-chat-layout {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }
  .gpt-chat-conversations {
    border-bottom: 1px solid #e2e5e7;
    border-right: 0;
    max-height: 150px;
  }
  .gpt-chat-conversation-list {
    display: flex;
    overflow: auto hidden;
  }
  .gpt-chat-conversation-list > button {
    border-right: 1px solid #e5e8e9;
    min-width: 210px;
  }
  .gpt-chat-list-empty {
    width: 100%;
    min-height: 96px;
  }
  .gpt-chat-panel {
    min-height: 480px;
  }
  .gpt-chat-messages {
    padding: 18px 12px;
  }
  .gpt-chat-message {
    width: 94%;
  }
  .gpt-chat-compose {
    grid-template-columns: 1fr;
    padding: 10px 12px 7px;
  }
  .gpt-chat-compose .primary-button {
    width: 100%;
  }
  .gpt-chat-billing {
    padding: 0 12px 10px;
  }
  .keyword-upload,
  .keyword-config {
    padding: 14px;
  }
  .keyword-list-heading {
    align-items: flex-start;
  }
  .keyword-task-row {
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: start;
  }
  .keyword-counts,
  .keyword-actions {
    grid-area: auto/2;
    max-width: none;
  }
  .keyword-actions {
    justify-content: flex-start;
  }
  .sidebar {
    transition: transform 0.2s;
    transform: translate(-100%);
  }
  .sidebar.open {
    transform: translate(0);
  }
  .sidebar-scrim {
    z-index: 25;
    background: #0f121473;
    border: 0;
    display: block;
    position: fixed;
    inset: 0;
  }
  .workspace {
    margin-left: 0;
  }
  .mobile-bar {
    background: #fff;
    border-bottom: 1px solid #e0e3e5;
    align-items: center;
    gap: 10px;
    height: 56px;
    padding: 0 14px;
    display: flex;
  }
  .mobile-bar .brand-mark {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }
  .page-section {
    padding: 22px 16px 48px;
  }
  .page-header {
    align-items: flex-end;
  }
  .page-header h1 {
    font-size: 21px;
  }
  .summary-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .summary-strip > div:nth-child(2),
  .summary-strip > div:nth-child(3) {
    display: none;
  }
  .summary-strip > div:nth-child(4) {
    border-right: 0;
  }
  .summary-strip > div:first-child {
    border-bottom: 1px solid #e6e8ea;
  }
  .admin-job-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .admin-job-summary > div:nth-child(2),
  .admin-job-summary > div:nth-child(3) {
    display: flex;
  }
  .admin-job-summary > div:nth-child(3) {
    border-right: 0;
  }
  .admin-job-summary > div:first-child {
    border-bottom: 0;
  }
  .task-row {
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: start;
  }
  .file-icon {
    width: 40px;
    height: 40px;
  }
  .task-actions {
    flex-wrap: wrap;
    grid-column: 2;
    justify-content: flex-start;
    min-width: 0;
  }
  .task-actions .secondary-button,
  .task-actions .primary-button {
    width: 100%;
  }
  .task-details {
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .maintenance-toolbar {
    flex-wrap: wrap;
  }
  .maintenance-toolbar input {
    width: 100%;
  }
  .maintenance-toolbar select {
    flex: 1;
  }
  .maintenance-row {
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .maintenance-row .row-actions {
    grid-column: 2;
    justify-content: flex-start;
  }
  .template-list {
    grid-template-columns: 1fr;
  }
  .admin-user-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }
  .admin-user-row > .avatar {
    grid-area: 1/1;
  }
  .admin-user-row > .admin-user-main {
    grid-area: 1/2 / auto/-1;
  }
  .admin-user-row > .admin-user-stat {
    border-top: 1px solid #eceeef;
    grid-row: 2;
    padding-top: 9px;
  }
  .admin-user-row > .row-actions {
    flex-wrap: wrap;
    grid-area: 3/1 / auto/-1;
    justify-content: flex-start;
  }
  .company-main-row {
    grid-template-columns: 1fr;
  }
  .member-toggle {
    justify-self: start;
    margin-left: 54px;
  }
  .admin-user-row.child-user-row {
    grid-template-columns: 40px minmax(0, 1fr);
    width: calc(100% - 14px);
    margin-left: 14px;
  }
  .admin-user-row.child-user-row > .admin-user-main {
    grid-column: 2;
  }
  .admin-user-row.child-user-row > .row-actions {
    grid-row: 2;
  }
  .member-row {
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .member-row > .status-badge {
    grid-column: 2;
    width: fit-content;
  }
  .member-row .row-actions {
    grid-column: 2;
    justify-content: flex-start;
  }
  .data-row {
    grid-template-columns: 36px minmax(0, 1fr);
  }
  .data-note {
    text-align: left;
    grid-column: 2;
  }
  .storage-target-row {
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: start;
  }
  .storage-target-icon {
    width: 40px;
    height: 40px;
  }
  .storage-target-capacity,
  .storage-target-row > .row-actions {
    grid-area: auto/2;
  }
  .storage-target-row > .row-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .style-result-panel {
    grid-template-columns: 1fr;
  }
  .style-suite-results {
    grid-column: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .design-brief-grid {
    grid-template-columns: 1fr;
  }
  .prompt-editor {
    grid-row: auto;
  }
  .prompt-editor textarea {
    height: 210px;
  }
  .style-actions,
  .style-result-panel > .inline-error,
  .style-result-reference {
    grid-column: 1;
  }
  .style-application {
    grid-template-columns: 1fr;
  }
  .video-results {
    grid-template-rows: minmax(220px, 340px) auto;
    padding: 12px;
  }
  .video-task-list article {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .video-task-list article .row-actions {
    grid-column: 1/-1;
    justify-content: flex-start;
  }
  .video-admin-list > article {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .video-admin-list > article > div:nth-child(2) {
    grid-column: 1;
  }
  .video-admin-list > article > div:nth-child(3) {
    grid-area: 1/2;
  }
  .video-admin-list .row-actions {
    grid-area: 2/2;
  }
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .auth-aside {
    display: none;
  }
  .auth-panel {
    width: min(420px, 100% - 32px);
  }
  .auth-copy {
    margin-top: 44px;
  }
}
@media (width<=480px) {
  .style-tutorial > header > div {
    gap: 3px;
    display: grid;
  }
  .style-tutorial-content {
    grid-template-columns: 1fr;
    padding: 0 12px 12px;
  }
  .style-tutorial-arrow {
    margin: 10px 0 -2px;
    transform: rotate(90deg);
  }
  .style-tutorial-prompt {
    grid-column: 1;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .style-tutorial-prompt p {
    white-space: normal;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
  }
  .style-tutorial-prompt .secondary-button {
    justify-self: stretch;
  }
  .video-options,
  .video-model-options,
  .video-model-form {
    grid-template-columns: 1fr;
  }
  .video-model-form .full {
    grid-column: auto;
  }
  .video-form {
    padding: 13px;
  }
  .video-task-list article {
    grid-template-columns: 1fr;
  }
  .video-task-list article > div:nth-child(2),
  .video-task-list article .row-actions {
    grid-column: 1;
    justify-items: start;
  }
  .style-options,
  .style-recent-grid {
    grid-template-columns: 1fr;
  }
  .admin-overview {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-overview > div {
    border-bottom: 1px solid #e7e9ea;
  }
  .admin-overview > div:nth-child(2n) {
    border-right: 0;
  }
  .admin-overview > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .admin-user-tools {
    flex-wrap: wrap;
  }
  .admin-user-tools > span {
    width: 100%;
    margin-left: 0;
  }
  .page-header {
    flex-direction: column;
    align-items: stretch;
  }
  .page-header .header-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
    align-self: stretch;
    width: 100%;
  }
  .page-header p {
    display: none;
  }
  .summary-strip > div {
    min-height: 72px;
    padding: 11px 14px;
  }
  .summary-strip strong {
    font-size: 20px;
  }
  .tabs {
    justify-content: space-between;
    gap: 0;
    width: 100%;
  }
  .task-title {
    flex-direction: column;
    align-items: flex-start;
  }
  .task-title strong {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .task-meta {
    gap: 4px 10px;
    display: flex;
  }
  .task-meta-secondary,
  .task-meta span + span:before {
    display: none;
  }
  .task-details {
    grid-column: 1/-1;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: auto;
  }
  .toggle-group {
    flex-direction: column;
  }
  .modal-layer {
    padding: 8px;
  }
  .modal {
    max-height: calc(100vh - 16px);
  }
  .inspection-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .inspection-stats div:nth-child(2) {
    border-right: 0;
  }
  .inspection-stats div:nth-child(-n + 2) {
    border-bottom: 1px solid #e7e9ea;
  }
  .inspection-line strong {
    width: 100%;
    margin-left: 0;
  }
  .product-preview > div {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .product-preview em {
    display: none;
  }
}
.canvas-page {
  background: #edf0f1;
  grid-template-rows: auto auto minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  height: 100vh;
  min-height: 680px;
  display: grid;
  overflow: hidden;
}
.canvas-topbar {
  background: #fff;
  border-bottom: 1px solid #d9dddf;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
  min-height: 58px;
  padding: 9px 12px 9px 16px;
  display: flex;
  overflow: hidden;
}
.canvas-project-name {
  color: #596168;
  grid-template-columns: 20px minmax(110px, 240px) auto;
  align-items: center;
  gap: 8px;
  min-width: 180px;
  display: grid;
}
.canvas-project-name input {
  color: #262b2f;
  background: 0 0;
  border: 1px solid #0000;
  border-radius: 5px;
  outline: 0;
  min-width: 0;
  height: 34px;
  padding: 0 8px;
  font-size: 13px;
  font-weight: 700;
}
.canvas-project-name input:hover,
.canvas-project-name input:focus {
  background: #f8f9f9;
  border-color: #d7dcde;
}
.canvas-project-name > span {
  color: #39765f;
  white-space: nowrap;
  font-size: 9px;
}
.canvas-project-name > span.unsaved {
  color: #9a6920;
}
.canvas-toolbar {
  justify-content: flex-end;
  align-items: center;
  gap: 3px;
  min-width: 0;
  display: flex;
}
.canvas-icon-tool {
  color: #596168;
  background: 0 0;
  border: 0;
  border-radius: 5px;
  flex: 0 0 34px;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  display: grid;
}
.canvas-icon-tool:hover:not(:disabled) {
  color: #22272b;
  background: #eef0f1;
}
.canvas-icon-tool:disabled {
  opacity: 0.32;
}
.canvas-tool-divider {
  background: #dfe2e4;
  width: 1px;
  height: 22px;
  margin: 0 4px;
}
.canvas-zoom-value {
  color: #555d62;
  background: #f2f4f5;
  border: 0;
  border-radius: 4px;
  flex: 0 0 52px;
  width: 52px;
  height: 30px;
  padding: 0;
  font-size: 10px;
  font-weight: 700;
}
.canvas-zoom-value:hover {
  background: #e7eaec;
}
.canvas-export-button {
  color: #fff;
  white-space: nowrap;
  background: #e95744;
  border: 1px solid #c84536;
  border-radius: 5px;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
}
.canvas-export-button:hover:not(:disabled) {
  background: #d94d3b;
}
.canvas-export-button:disabled {
  opacity: 0.5;
}
.canvas-url-bar {
  color: #757d83;
  background: #f8f9f9;
  border-bottom: 1px solid #dfe2e4;
  grid-row: 2;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 6px 14px;
  display: grid;
}
.canvas-url-bar input {
  background: #fff;
  border: 1px solid #d4d9dc;
  border-radius: 5px;
  outline: 0;
  min-width: 0;
  height: 32px;
  padding: 0 9px;
  font-size: 11px;
}
.canvas-url-bar input:focus {
  border-color: #dc6453;
  box-shadow: 0 0 0 3px #dc64531a;
}
.canvas-url-bar button {
  color: #3e454a;
  background: #fff;
  border: 1px solid #d2d7da;
  border-radius: 5px;
  height: 32px;
  padding: 0 13px;
  font-size: 11px;
  font-weight: 700;
}
.canvas-layout {
  grid-row: 3;
  grid-template-columns: 196px minmax(340px, 1fr) 224px;
  width: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
}
.canvas-projects-panel,
.canvas-layers-panel {
  background: #f8f9f9;
  flex-direction: column;
  min-height: 0;
  display: flex;
}
.canvas-projects-panel {
  border-right: 1px solid #d8dcdf;
}
.canvas-layers-panel {
  border-left: 1px solid #d8dcdf;
}
.canvas-projects-panel > header,
.canvas-layers-panel > header {
  border-bottom: 1px solid #e0e3e5;
  justify-content: space-between;
  align-items: center;
  min-height: 46px;
  padding: 0 10px 0 13px;
  display: flex;
}
.canvas-projects-panel > header strong,
.canvas-layers-panel > header strong {
  font-size: 11px;
}
.canvas-layers-panel > header span {
  color: #747c81;
  background: #e5e8ea;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 9px;
  display: inline-flex;
}
.canvas-project-list,
.canvas-layer-list {
  flex-direction: column;
  gap: 3px;
  min-height: 0;
  padding: 6px;
  display: flex;
  overflow: auto;
}
.canvas-project-list {
  flex: 1;
}
.canvas-project-list > button {
  color: #3e454a;
  text-align: left;
  background: 0 0;
  border: 1px solid #0000;
  border-radius: 5px;
  gap: 5px;
  min-height: 54px;
  padding: 8px 9px;
  display: grid;
}
.canvas-project-list > button:hover {
  background: #eef0f1;
}
.canvas-project-list > button.active {
  color: #9d3c30;
  background: #fff3f0;
  border-color: #d9c1bc;
}
.canvas-project-list span,
.canvas-project-list small {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.canvas-project-list span {
  font-size: 11px;
  font-weight: 700;
}
.canvas-project-list small {
  color: #8b9297;
  font-size: 8px;
}
.canvas-delete-project {
  color: #a44337;
  background: #fff;
  border: 1px solid #e2c4bf;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  margin: 7px;
  font-size: 10px;
  display: inline-flex;
}
.canvas-stage-wrap {
  background: #edf0f1;
  min-width: 0;
  min-height: 0;
  position: relative;
  overflow: hidden;
}
.canvas-stage-wrap .react-flow {
  background: #edf0f1;
}
.canvas-loading,
.canvas-empty {
  z-index: 6;
  pointer-events: none;
  color: #858d92;
  place-content: center;
  justify-items: center;
  gap: 8px;
  display: grid;
  position: absolute;
  inset: 0;
}
.canvas-loading {
  background: #edf0f1c2;
}
.canvas-empty {
  z-index: 2;
}
.canvas-empty strong {
  font-size: 11px;
}
.canvas-stage-wrap .react-flow__edge-path {
  stroke: #939da3;
  stroke-width: 1.6px;
}
.canvas-stage-wrap .react-flow__edge.selected .react-flow__edge-path {
  stroke: #e25743;
  stroke-width: 2.2px;
}
.canvas-stage-wrap .react-flow__connection-path {
  stroke: #e25743;
  stroke-width: 2px;
}
.canvas-stage-wrap .react-flow__controls {
  border: 1px solid #d3d8da;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px #222a2e14;
}
.canvas-stage-wrap .react-flow__controls-button {
  color: #4d565b;
  border-color: #e3e6e8;
  width: 28px;
  height: 28px;
}
.canvas-stage-wrap .react-flow__minimap {
  background: #fff;
  border: 1px solid #d3d8da;
  border-radius: 5px;
  width: 150px;
  height: 104px;
  overflow: hidden;
  box-shadow: 0 2px 12px #222a2e14;
}
.canvas-stage-wrap .react-flow__selection {
  background: #e2574314;
  border: 1px solid #e25743;
}
.canvas-stage-wrap .react-flow__node {
  background: 0 0;
  border: 0;
}
.canvas-stage-wrap .react-flow__node:focus-visible {
  outline: 0;
}
.canvas-flow-node {
  color: #343a3e;
  background: #fff;
  border: 1px solid #cfd5d8;
  border-radius: 6px;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: 100%;
  display: flex;
  overflow: visible;
  box-shadow: 0 4px 14px #1f282d14;
}
.canvas-flow-node.selected {
  border-color: #df5a46;
  box-shadow:
    0 0 0 2px #df5a4624,
    0 8px 20px #1f282d1f;
}
.canvas-node-title {
  color: #5a6368;
  background: #f8f9f9;
  border-bottom: 1px solid #e3e6e8;
  border-radius: 5px 5px 0 0;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  display: flex;
}
.canvas-node-title span {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  font-size: 10px;
  font-weight: 700;
  overflow: hidden;
}
.canvas-node-title svg {
  color: #d95b48;
  flex: none;
}
.canvas-image-body {
  color: #8b9398;
  background: #f1f3f4;
  border-radius: 0 0 5px 5px;
  flex: 1;
  place-items: center;
  min-width: 0;
  min-height: 0;
  font-size: 10px;
  display: grid;
  overflow: hidden;
}
.canvas-image-body img {
  object-fit: contain;
  -webkit-user-select: none;
  user-select: none;
  width: 100%;
  height: 100%;
  display: block;
}
.canvas-prompt-node {
  border-color: #d9c795;
}
.canvas-prompt-node.selected {
  border-color: #d39a2c;
  box-shadow:
    0 0 0 2px #d39a2c26,
    0 8px 20px #1f282d1f;
}
.canvas-prompt-node .canvas-node-title {
  background: #fff9e9;
}
.canvas-prompt-node .canvas-node-title svg {
  color: #b77d14;
}
.canvas-prompt-node textarea {
  resize: none;
  color: #343a3e;
  min-width: 0;
  min-height: 0;
  font: inherit;
  background: #fff;
  border: 0;
  border-radius: 0 0 5px 5px;
  outline: 0;
  flex: 1;
  padding: 11px;
  font-size: 11px;
  line-height: 1.65;
}
.canvas-node-handle {
  box-shadow: 0 0 0 1px #c44b3a;
  background: #d95643 !important;
  border: 2px solid #fff !important;
  width: 10px !important;
  height: 10px !important;
}
.canvas-prompt-node .canvas-node-handle {
  box-shadow: 0 0 0 1px #a66f0e;
  background: #c68a21 !important;
}
.canvas-node-resize-line {
  border-color: #df5a46 !important;
}
.canvas-node-resize-handle {
  background: #fff !important;
  border: 1px solid #df5a46 !important;
  border-radius: 2px !important;
  width: 9px !important;
  height: 9px !important;
}
.canvas-stage-wrap.exporting .react-flow__handle,
.canvas-stage-wrap.exporting .react-flow__resize-control {
  opacity: 0 !important;
}
.canvas-layer-list {
  flex: 1;
}
.canvas-layer-list > button {
  color: #50585d;
  text-align: left;
  background: 0 0;
  border: 1px solid #0000;
  border-radius: 5px;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 5px 7px;
  display: grid;
}
.canvas-layer-list > button:hover {
  background: #eef0f1;
}
.canvas-layer-list > button.active {
  color: #9d3c30;
  background: #fff3f0;
  border-color: #e0c1bb;
}
.canvas-layer-list > button > span:last-child {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  overflow: hidden;
}
.canvas-layer-thumb {
  color: #d55b48;
  background: #fff;
  border: 1px solid #dce0e2;
  border-radius: 4px;
  place-items: center;
  width: 30px;
  height: 30px;
  display: grid;
}
.canvas-layer-thumb.prompt {
  color: #b77d14;
  background: #fff9e9;
  border-color: #e2d5ae;
}
.canvas-layer-controls {
  background: #fff;
  border-top: 1px solid #dfe2e4;
  gap: 12px;
  padding: 10px;
  display: grid;
}
.canvas-property-field {
  color: #70787d;
  gap: 6px;
  font-size: 9px;
  display: grid;
}
.canvas-property-field input {
  border: 1px solid #d8dcdf;
  border-radius: 4px;
  outline: 0;
  min-width: 0;
  height: 32px;
  padding: 0 8px;
  font-size: 10px;
}
.canvas-property-field input:focus {
  border-color: #d95b48;
  box-shadow: 0 0 0 3px #d95b481a;
}
.canvas-opacity-field {
  color: #70787d;
  grid-template-columns: auto minmax(0, 1fr) 34px;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  display: grid;
}
.canvas-opacity-field input {
  accent-color: #e95744;
  min-width: 0;
}
.canvas-opacity-field strong {
  color: #3e454a;
  text-align: right;
  font-size: 9px;
}
.canvas-node-meta {
  color: #8a9297;
  justify-content: space-between;
  gap: 8px;
  font-size: 8px;
  display: flex;
}
@media (width<=1100px) {
  .canvas-project-name {
    grid-template-columns: 20px minmax(90px, 160px);
  }
  .canvas-project-name > span {
    display: none;
  }
  .canvas-layout {
    grid-template-columns: 160px minmax(320px, 1fr) 184px;
  }
  .canvas-tool-divider {
    display: none;
  }
}
@media (width<=820px) {
  .canvas-page {
    height: calc(100vh - 56px);
    min-height: 620px;
  }
  .canvas-topbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .canvas-project-name {
    grid-template-columns: 20px minmax(0, 1fr) auto;
    width: 100%;
  }
  .canvas-project-name > span {
    display: inline;
  }
  .canvas-toolbar {
    justify-content: flex-start;
    width: 100%;
    padding-bottom: 2px;
    overflow-x: auto;
  }
  .canvas-layout {
    grid-template-columns: 128px minmax(300px, 1fr);
  }
  .canvas-layers-panel {
    display: none;
  }
  .canvas-project-list > button {
    min-height: 48px;
  }
}
@media (width<=560px) {
  .canvas-layout {
    grid-template-rows: 72px minmax(420px, 1fr);
    grid-template-columns: minmax(0, 1fr);
  }
  .canvas-projects-panel {
    border-bottom: 1px solid #d8dcdf;
    border-right: 0;
  }
  .canvas-projects-panel > header,
  .canvas-delete-project {
    display: none;
  }
  .canvas-project-list {
    flex-direction: row;
    padding: 7px;
    overflow-x: auto;
  }
  .canvas-project-list > button {
    width: 130px;
    min-width: 130px;
    min-height: 54px;
  }
  .canvas-export-button {
    padding: 0 10px;
  }
  .canvas-stage-wrap .react-flow__minimap {
    display: none;
  }
}
.internal-canvas-page {
  background: #f2f3f4;
  grid-template-rows: 48px minmax(0, 1fr);
  width: 100%;
  height: 100vh;
  min-height: 680px;
  display: grid;
  overflow: hidden;
}
.internal-canvas-bar {
  background: #fff;
  border-bottom: 1px solid #dfe2e4;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0 12px 0 16px;
  display: flex;
}
.internal-canvas-title,
.internal-canvas-title span,
.internal-canvas-actions {
  align-items: center;
  display: flex;
}
.internal-canvas-title {
  color: #333a3e;
  gap: 8px;
  min-width: 0;
}
.internal-canvas-title > svg {
  color: #e35a43;
}
.internal-canvas-title strong {
  font-size: 12px;
}
.internal-canvas-title span {
  color: #4d7b67;
  white-space: nowrap;
  border-left: 1px solid #e1e4e6;
  gap: 4px;
  padding-left: 9px;
  font-size: 9px;
}
.internal-canvas-actions {
  gap: 4px;
}
.internal-canvas-actions button,
.internal-canvas-actions a {
  color: #626a6f;
  background: 0 0;
  border: 0;
  border-radius: 5px;
  place-items: center;
  width: 32px;
  height: 32px;
  display: grid;
}
.internal-canvas-actions button:hover,
.internal-canvas-actions a:hover {
  color: #252b2e;
  background: #f0f2f3;
}
.internal-canvas-actions a.disabled {
  pointer-events: none;
  opacity: 0.35;
}
.internal-canvas-frame-wrap {
  min-width: 0;
  min-height: 0;
  position: relative;
  overflow: hidden;
}
.internal-canvas-frame-wrap iframe {
  background: #fff;
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.internal-canvas-state {
  color: #7b8388;
  background: #f5f6f7;
  place-content: center;
  justify-items: center;
  gap: 12px;
  display: grid;
  position: absolute;
  inset: 0;
}
.internal-canvas-state.error strong {
  color: #555e63;
  text-align: center;
  max-width: 360px;
  font-size: 12px;
}
.internal-canvas-state.error button {
  color: #3e464a;
  background: #fff;
  border: 1px solid #d9dddf;
  border-radius: 5px;
  height: 32px;
  padding: 0 14px;
  font-size: 10px;
  font-weight: 700;
}
@media (width<=820px) {
  .internal-canvas-page {
    height: calc(100vh - 56px);
    min-height: 620px;
  }
}
.storage-runtime-summary {
  margin-bottom: 0;
}
.storage-section-heading {
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin: 28px 0 11px;
  display: flex;
}
.storage-section-heading h2 {
  margin: 0;
  font-size: 15px;
}
.storage-section-heading p,
.storage-section-heading > span {
  color: #81898e;
  margin: 4px 0 0;
  font-size: 10px;
}
.storage-section-heading > span {
  white-space: nowrap;
  margin: 0;
}
.worker-storage-list {
  gap: 8px;
  display: grid;
}
.worker-storage-card {
  background: #fff;
  border: 1px solid #e1e4e6;
  border-radius: 8px;
  overflow: hidden;
}
.worker-storage-card.online {
  border-color: #b9d5c9;
  box-shadow: inset 3px 0 #27765b;
}
.worker-storage-card.storage-stale {
  border-color: #d8c28e;
  box-shadow: inset 3px 0 #a97820;
}
.worker-storage-card.low-space {
  border-color: #dfa39c;
  box-shadow: inset 4px 0 #c74235;
}
.worker-storage-card.low-space .storage-target-icon {
  color: #aa3e34;
  background: #fbeceb;
}
.worker-storage-card.offline .storage-target-icon {
  color: #9a554d;
  background: #f8eeee;
}
.worker-storage-head {
  grid-template-columns: 42px minmax(220px, 1fr) minmax(280px, 340px) auto;
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 14px 16px;
  display: grid;
}
.worker-storage-main {
  gap: 4px;
  min-width: 0;
  display: grid;
}
.worker-storage-main > div {
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  display: flex;
}
.worker-storage-main > span,
.worker-storage-main > small {
  color: #737c82;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  overflow: hidden;
}
.worker-storage-main > small {
  color: #969da2;
}
.worker-storage-stats {
  gap: 5px;
  display: grid;
}
.worker-storage-stats-title {
  font-weight: 650;
}
.worker-storage-stats span,
.worker-storage-stats small {
  color: #858c91;
  font-size: 10px;
}
.worker-storage-stats strong {
  white-space: nowrap;
  font-size: 12px;
}
.worker-disk-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  display: grid;
}
.worker-disk-metrics > div {
  gap: 1px;
  min-width: 0;
  display: grid;
}
.worker-disk-metrics > div.danger span,
.worker-disk-metrics > div.danger strong {
  color: #b73c32;
}
.worker-storage-control {
  background: #f8faf9;
  border-top: 1px solid #e5e8e9;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 12px 16px 12px 72px;
  display: grid;
}
.worker-storage-control.warning {
  background: #fff3f1;
  border-color: #efd0cc;
}
.worker-storage-health {
  gap: 3px;
  min-width: 0;
  display: grid;
}
.worker-storage-health strong {
  color: #343b3f;
  font-size: 11px;
}
.worker-storage-control.warning .worker-storage-health strong {
  color: #aa382f;
}
.worker-storage-health span,
.worker-storage-health small {
  color: #7a8388;
  font-size: 9px;
}
.worker-cleanup-result.completed {
  color: #267259;
}
.worker-cleanup-result.failed {
  color: #b13e35;
}
.worker-cleanup-result.pending,
.worker-cleanup-result.running {
  color: #8d651e;
}
.worker-cleanup-form {
  align-items: end;
  gap: 8px;
  display: flex;
}
.worker-cleanup-form label {
  color: #596166;
  gap: 4px;
  font-size: 9px;
  font-weight: 650;
  display: grid;
}
.worker-cleanup-input {
  position: relative;
}
.worker-cleanup-input input {
  color: #252a2e;
  background: #fff;
  border: 1px solid #d5dadd;
  border-radius: 6px;
  outline: none;
  width: 132px;
  height: 36px;
  padding: 0 37px 0 10px;
  font-size: 12px;
}
.worker-cleanup-input input:focus {
  border-color: #c84b3f;
  box-shadow: 0 0 0 3px #c84b3f1a;
}
.worker-cleanup-input > span {
  color: #777f84;
  pointer-events: none;
  position: absolute;
  top: 11px;
  right: 10px;
  font-size: 10px;
}
.worker-cleanup-form .secondary-button {
  min-height: 36px;
  font-size: 11px;
}
.worker-task-detail {
  background: #fafbfb;
  border-top: 1px solid #e5e8e9;
  padding: 0 16px 6px 72px;
}
.worker-task-row {
  border-bottom: 1px solid #e7eaeb;
  grid-template-columns: minmax(220px, 1fr) 150px 142px;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 8px 0;
  display: grid;
}
.worker-task-row:last-child {
  border-bottom: 0;
}
.worker-task-row > div {
  gap: 4px;
  min-width: 0;
  display: grid;
}
.worker-task-row > div:nth-child(2) {
  justify-items: start;
}
.worker-task-row strong,
.worker-task-row span,
.worker-task-row small,
.worker-task-row time {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.worker-task-row strong {
  font-size: 12px;
}
.worker-task-row > div > span:not(.status-badge),
.worker-task-row small,
.worker-task-row time {
  color: #858c91;
  font-size: 9px;
}
.worker-task-row time {
  text-align: right;
}
.worker-task-empty {
  color: #858c91;
  min-height: 54px;
  padding: 18px 0;
  font-size: 10px;
}
.worker-storage-empty {
  min-height: 160px;
}
@media (width<=900px) {
  .worker-storage-head {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }
  .worker-storage-stats {
    grid-column: 2;
  }
  .worker-storage-head > .secondary-button {
    grid-area: 1/3 / span 2;
  }
  .worker-storage-control {
    grid-template-columns: minmax(0, 1fr);
  }
  .worker-cleanup-form {
    justify-content: flex-start;
  }
  .worker-task-row {
    grid-template-columns: minmax(180px, 1fr) 130px;
  }
  .worker-task-row time {
    grid-column: 1/-1;
    text-align: left;
  }
}
@media (width<=620px) {
  .worker-storage-head {
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: start;
  }
  .worker-storage-stats,
  .worker-storage-head > .secondary-button {
    grid-area: auto/2;
    justify-self: start;
  }
  .worker-task-detail {
    padding-left: 16px;
  }
  .worker-storage-control {
    padding-left: 16px;
  }
  .worker-cleanup-form {
    align-items: stretch;
    display: grid;
  }
  .worker-cleanup-input input,
  .worker-cleanup-form .secondary-button {
    width: 100%;
  }
  .worker-task-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .worker-task-row > div:nth-child(2) {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }
  .worker-task-row time {
    grid-column: auto;
  }
}
.style-seed-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 12px 0 14px;
  padding: 9px 10px;
  border: 1px solid #d9e1e8;
  border-radius: 6px;
  background: #f7f9fb;
  color: #52606d;
  font-size: 12px;
}
.style-seed-status strong { color: #344054; font-size: 12px; }
.style-seed-status span { flex: 1 1 100%; }
.style-seed-status small { flex: 1 1 100%; color: #9b3d2d; line-height: 1.4; }
.style-seed-status.generating { border-color: #e7c77d; background: #fffaf0; }
.style-seed-status.generating strong { color: #8a5a00; }
.style-seed-status.ready { border-color: #b8dec8; background: #f2fbf5; }
.style-seed-status.ready strong { color: #176b3a; }
.style-seed-status.ready_fallback { border-color: #e7c77d; background: #fffaf0; }
.style-seed-status.ready_fallback strong { color: #8a5a00; }
.style-seed-status.failed { border-color: #efb7b0; background: #fff6f5; }
.style-seed-status.failed strong { color: #a33a2b; }
.style-seed-retry {
  border: 0;
  padding: 0;
  color: #9b3d2d;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
}
.style-seed-retry:hover { color: #71271d; }
.style-seed-select-hint {
  display: block;
  margin-top: 6px;
  color: #8a5a00;
  line-height: 1.4;
}
