[hidden] {
  display: none !important;
}

.project-list {
  width: min(420px, 34vw);
  max-width: 420px;
}

.project-select {
  width: 100%;
  height: 42px;
  padding: 0 36px 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  text-overflow: ellipsis;
}

.project-select:hover,
.project-select:focus {
  border-color: #9eb3e7;
}

.project-select-empty {
  color: var(--subtle);
  font-size: 12px;
}

.save-indicator {
  min-width: 70px;
  color: var(--subtle);
  font-size: 11px;
  white-space: nowrap;
}

.save-indicator.saving {
  color: var(--blue);
}

.save-indicator.unsaved {
  color: #9a6415;
}

.save-indicator.error {
  color: var(--danger);
}

.welcome-account-note {
  margin-top: 12px !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
}

.welcome-account-note a,
.access-card a,
.clone-upgrade-hint {
  color: var(--blue-strong);
  font-weight: 650;
  text-decoration: none;
}

.welcome-account-note a:hover,
.access-card a:hover,
.clone-upgrade-hint:hover {
  text-decoration: underline;
}

.access-card {
  display: grid;
  gap: 10px;
  padding: 15px 16px;
  border: 1px solid #cbd9fb;
  border-radius: 10px;
  background: #f7f9ff;
}

.access-card.warning {
  border-color: #e4c487;
  background: #fffaf0;
}

.access-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.access-card-head > div {
  min-width: 0;
}

.access-plan {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.access-balance {
  display: block;
  color: var(--text);
  font-size: 20px;
  line-height: 1.2;
}

.access-card a {
  flex: 0 0 auto;
  font-size: 11px;
}

.access-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.access-card .access-hint {
  min-height: 0;
  color: #775414;
}

.access-card .access-hint:empty {
  display: none;
}

.field-hint {
  min-height: 16px;
  margin-top: 6px;
  color: var(--subtle);
  font-size: 10px;
  line-height: 1.45;
}

.clone-upgrade-hint {
  display: block;
  margin-top: 9px;
  font-size: 11px;
  line-height: 1.5;
}

.billing-rule-card {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.billing-rule-card strong {
  color: var(--text);
  font-size: 12px;
}

.job-card.resume-ready {
  border-color: #b7cafa;
}

.ai-progress-card {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto 18px;
  padding: 14px 16px;
  border: 1px solid #cbd9fb;
  border-radius: 11px;
  background: #f7f9ff;
}

.ai-progress-card.failed {
  border-color: #efc2c2;
  background: #fff8f8;
}

.ai-progress-card.completed {
  border-color: #b9dfcf;
  background: #f4fbf8;
}

.ai-progress-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 13px;
}

.ai-progress-heading > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.ai-progress-label {
  color: var(--blue-strong);
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.ai-progress-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .ai-progress-card {
    width: calc(100% - 24px);
  }

  .ai-progress-heading > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}

@media (max-width: 1240px) {
  .project-list {
    width: min(320px, 29vw);
  }

  .save-indicator {
    display: none;
  }
}

@media (max-width: 900px) {
  .project-list {
    width: min(260px, 37vw);
  }
}

.job-control-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.job-control-actions .secondary-button{flex:1;min-width:110px}
