:root {
  color-scheme: light;
  --ct-bg: #f3fbfd;
  --ct-bg-strong: #e8f6fb;
  --ct-panel: rgba(255, 255, 255, 0.9);
  --ct-panel-strong: #ffffff;
  --ct-line: rgba(0, 119, 182, 0.14);
  --ct-line-strong: rgba(0, 119, 182, 0.24);
  --ct-ink: #10243b;
  --ct-muted: #5b7289;
  --ct-primary: #0077b6;
  --ct-primary-strong: #023e8a;
  --ct-primary-soft: #ade8f4;
  --ct-accent: #00b4d8;
  --ct-accent-strong: #0096c7;
  --ct-status-default: #0096c7;
  --ct-status-default-soft: rgba(173, 232, 244, 0.42);
  --ct-status-positive: #0077b6;
  --ct-status-positive-soft: rgba(173, 232, 244, 0.54);
  --ct-status-caution: #0096c7;
  --ct-status-caution-soft: rgba(173, 232, 244, 0.38);
  --ct-status-strong: #023e8a;
  --ct-status-strong-soft: rgba(2, 62, 138, 0.1);
  --ct-shadow: 0 24px 48px rgba(16, 36, 59, 0.08);
  --ct-radius-xl: 24px;
  --ct-radius-lg: 18px;
  --ct-radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  background:
    radial-gradient(circle at top left, rgba(0, 119, 182, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(0, 180, 216, 0.12), transparent 20%),
    linear-gradient(180deg, #f8fdff 0%, #eaf6fb 100%);
}

body.ct-body {
  margin: 0;
  min-height: 100vh;
  color: var(--ct-ink);
  background: transparent;
  font-family: "SF Pro Text", "SF Pro Display", "PingFang SC", "Hiragino Sans GB",
    "Segoe UI Variable", "Segoe UI", "MiSans", "Microsoft YaHei", "Noto Sans CJK SC",
    "Source Han Sans SC", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.ct-body--modal-open {
  overflow: hidden;
}

a {
  color: var(--ct-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input,
select,
textarea {
  font: inherit;
}

input[type="checkbox"] {
  accent-color: var(--ct-primary);
}

select,
input[type="text"],
input[type="number"],
input[type="date"],
textarea {
  border: 1px solid var(--ct-line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ct-ink);
}

select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ct-accent-strong) 50%),
    linear-gradient(135deg, var(--ct-accent-strong) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.ct-app-shell {
  min-height: 100vh;
}

.ct-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 28px 10px;
  backdrop-filter: blur(18px);
  overflow: visible;
}

.ct-nav__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 38px rgba(16, 36, 59, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  overflow: visible;
}

.ct-brand,
.ct-home-link,
.ct-nav-group-link {
  border: 0;
  background: transparent;
  color: var(--ct-muted);
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.ct-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ct-ink);
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -0.03em;
  margin-right: 6px;
}

.ct-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ct-home-link.is-active,
.ct-nav-group-link.is-active {
  color: var(--ct-primary-strong);
  background: var(--ct-primary-soft);
  box-shadow: inset 0 0 0 1px rgba(0, 119, 182, 0.12);
}

.ct-home-link:hover,
.ct-nav-group-link:hover {
  color: var(--ct-ink);
  background: rgba(173, 232, 244, 0.38);
  text-decoration: none;
}

.ct-brand:hover {
  color: var(--ct-ink);
  text-decoration: none;
}

.ct-layout {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.ct-side-nav {
  width: 220px;
  flex: 0 0 220px;
  position: sticky;
  top: 106px;
}

.ct-side-nav__inner {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 38px rgba(16, 36, 59, 0.06);
  backdrop-filter: blur(16px);
}

.ct-side-nav__label {
  color: var(--ct-ink);
  font-size: 15px;
  font-weight: 700;
}

.ct-side-nav__caption {
  margin-top: 4px;
  color: var(--ct-muted);
  font-size: 12px;
}

.ct-side-nav__links {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ct-side-nav__link {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--ct-muted);
  font-weight: 600;
  transition: background-color 150ms ease, color 150ms ease;
}

.ct-side-nav__link:hover,
.ct-side-nav__link.is-active {
  color: var(--ct-primary-strong);
  background: rgba(173, 232, 244, 0.48);
  text-decoration: none;
}

.ct-content {
  min-width: 0;
  flex: 1;
}

.ct-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px 28px 40px;
}

.ct-dashboard-panel {
  display: flex;
  flex-direction: column;
  background: var(--ct-panel);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--ct-radius-xl);
  box-shadow: var(--ct-shadow);
  backdrop-filter: blur(16px);
  margin-bottom: 24px;
  overflow: hidden;
}

.ct-dashboard-group {
  padding: 24px 28px;
}

.ct-dashboard-group__title {
  color: var(--ct-ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.ct-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.ct-dashboard-item {
  display: flex;
  flex-direction: column;
}

.ct-dashboard-item__label {
  color: var(--ct-muted);
  font-size: 13px;
  font-weight: 600;
}

.ct-dashboard-item__value {
  margin-top: 10px;
  color: var(--ct-primary-strong);
  font-size: 34px;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.ct-dashboard-item__note {
  margin-top: 8px;
  color: var(--ct-muted);
  font-size: 12px;
  line-height: 1.4;
}

.ct-dashboard-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ct-line), transparent);
}

section {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: var(--ct-panel);
  box-shadow: var(--ct-shadow);
  backdrop-filter: blur(16px);
  overflow: hidden;
  border-radius: var(--ct-radius-xl);
  margin-bottom: 20px;
}

section h2 {
  margin: 0;
  padding: 18px 20px;
  border-bottom: 1px solid var(--ct-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(173, 232, 244, 0.18));
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.table-scroll {
  overflow-x: visible;
  padding: 0 18px 18px;
}

pre {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

pre::-webkit-scrollbar {
  height: 8px;
}

pre::-webkit-scrollbar-thumb {
  background: rgba(91, 114, 137, 0.24);
  border-radius: 999px;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--ct-line);
  text-align: left;
  vertical-align: top;
  white-space: normal;
  word-break: break-word;
}

th {
  color: var(--ct-muted);
  background: rgba(173, 232, 244, 0.28);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

td.wrap {
  min-width: 260px;
  white-space: normal;
  line-height: 1.5;
}

tbody tr:hover {
  background: rgba(248, 252, 253, 0.72);
}

tr:last-child td {
  border-bottom: 0;
}

.status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--ct-status-default-soft);
  color: var(--ct-status-default);
}

.status-success {
  background: var(--ct-status-positive-soft);
  color: var(--ct-status-positive);
}

.status-warning {
  background: var(--ct-status-caution-soft);
  color: var(--ct-status-caution);
}

.status-danger {
  background: var(--ct-status-strong-soft);
  color: var(--ct-status-strong);
}

.ct-profile {
  padding: 18px;
  border-bottom: 1px solid var(--ct-line);
}

.ct-profile__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.ct-profile__title {
  color: var(--ct-ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ct-profile__meta {
  margin-top: 6px;
  color: var(--ct-muted);
  font-size: 12px;
}

.ct-profile__stats {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.ct-profile__stat {
  padding: 14px 16px;
  border: 1px solid var(--ct-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.52);
}

.ct-profile__stat-label {
  color: var(--ct-muted);
  font-size: 12px;
}

.ct-profile__stat-value {
  margin-top: 8px;
  color: var(--ct-primary-strong);
  font-size: 20px;
  font-weight: 700;
}

.ct-profile__section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 119, 182, 0.1);
}

.ct-profile__section-title {
  color: var(--ct-ink);
  font-size: 14px;
  font-weight: 700;
}

.ct-profile__grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.ct-profile__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.ct-section-intro {
  padding: 18px 20px;
  border-bottom: 1px solid var(--ct-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(173, 232, 244, 0.12));
}

.ct-section-intro p {
  margin: 0;
  color: var(--ct-muted);
  font-size: 13px;
}

.ct-operation-grid,
.ct-job-grid {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.ct-operation-card,
.ct-job-card {
  padding: 18px;
  border: 1px solid var(--ct-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.ct-operation-card__header,
.ct-job-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.ct-operation-card__title,
.ct-job-card__title {
  margin: 0;
  color: var(--ct-ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ct-operation-card__description {
  margin: 8px 0 0;
  color: var(--ct-muted);
  font-size: 13px;
  line-height: 1.6;
}

.ct-inline-meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ct-inline-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(173, 232, 244, 0.36);
  color: var(--ct-primary-strong);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.ct-page-actions {
  padding: 0 18px 18px;
}

.ct-operation-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  min-height: 34px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.ct-operation-state::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.8;
}

.ct-operation-state--ready {
  color: #0b5a95;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(173, 232, 244, 0.32));
  border-color: rgba(0, 150, 199, 0.14);
}

.ct-operation-state--pending {
  color: #617489;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(233, 241, 247, 0.96));
  border-color: rgba(2, 62, 138, 0.06);
}

.ct-operation-form {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ct-operation-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ct-date-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ct-date-field__control {
  position: relative;
}

.ct-date-field input[type="date"] {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(2, 62, 138, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 250, 253, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 1px 2px rgba(16, 36, 59, 0.03);
  color: var(--ct-ink);
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.ct-date-field input[type="date"]:hover {
  border-color: rgba(0, 119, 182, 0.22);
}

.ct-date-field input[type="date"]:focus {
  outline: none;
  border-color: rgba(0, 119, 182, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 0 0 4px rgba(173, 232, 244, 0.32);
}

.ct-date-field input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
}

.ct-date-field input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.68;
  cursor: pointer;
  padding: 2px;
}

.ct-date-field input[type="date"]::-webkit-datetime-edit-fields-wrapper {
  color: var(--ct-ink);
}

.ct-checkbox-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
}

.ct-operation-actions,
.ct-job-card__actions {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--ct-line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.ct-scheduler-form {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
}

.ct-scheduler-form--inline {
  justify-content: space-between;
  width: 100%;
}

.ct-scheduler-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 146px;
  flex: 1;
}

.ct-scheduler-form__field input[type="number"] {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(2, 62, 138, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.ct-scheduler-grid {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.ct-scheduler-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(2, 62, 138, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 251, 254, 0.92));
  box-shadow: 0 16px 32px rgba(16, 36, 59, 0.05);
}

.ct-scheduler-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ct-scheduler-card__eyebrow {
  color: var(--ct-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ct-scheduler-card__title {
  margin: 6px 0 0;
  color: var(--ct-ink);
  font-size: 24px;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.ct-scheduler-card__summary {
  margin: 8px 0 0;
  color: var(--ct-muted);
  font-size: 13px;
  line-height: 1.5;
}

.ct-scheduler-card__process {
  margin-top: 10px;
  color: var(--ct-primary-strong);
  font-size: 12px;
  font-weight: 600;
}

.ct-scheduler-card__meta {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ct-scheduler-card__meta .ct-job-meta__item {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(2, 62, 138, 0.06);
}

.ct-scheduler-card__activity {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.ct-scheduler-card__activity-item {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(173, 232, 244, 0.16);
  border: 1px solid rgba(0, 119, 182, 0.08);
}

.ct-scheduler-card__activity-label,
.ct-scheduler-card__timeline-label {
  color: var(--ct-muted);
  font-size: 12px;
  font-weight: 600;
}

.ct-scheduler-card__activity-value,
.ct-scheduler-card__timeline-value {
  margin-top: 6px;
  color: var(--ct-ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.ct-scheduler-card__timeline {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ct-scheduler-card__timeline-item {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(2, 62, 138, 0.06);
}

.ct-scheduler-card__controls {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(2, 62, 138, 0.08);
}

.ct-company-grid {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.ct-company-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(2, 62, 138, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 251, 254, 0.92));
  box-shadow: 0 16px 32px rgba(16, 36, 59, 0.05);
}

.ct-company-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ct-company-card__title {
  color: var(--ct-ink);
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.ct-company-card__note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(2, 62, 138, 0.05);
  color: var(--ct-muted);
  font-size: 13px;
  line-height: 1.6;
}

.ct-company-card__impacts {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.ct-company-card__impact {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(173, 232, 244, 0.16);
  border: 1px solid rgba(0, 119, 182, 0.08);
}

.ct-company-card__impact-title {
  color: var(--ct-ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.ct-company-card__impact-meta {
  margin-top: 6px;
  color: var(--ct-muted);
  font-size: 12px;
}

.ct-detail-stack {
  display: grid;
  gap: 16px;
}

.ct-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.ct-detail-panel {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(2, 62, 138, 0.08);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.ct-detail-panel__title {
  margin: 0 0 14px;
  color: var(--ct-ink);
  font-size: 16px;
  font-weight: 720;
}

.ct-detail-group + .ct-detail-group {
  margin-top: 14px;
}

.ct-detail-group__label {
  color: var(--ct-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ct-detail-group__value {
  margin-top: 8px;
  color: var(--ct-ink);
  font-size: 14px;
  line-height: 1.65;
  word-break: break-word;
}

.ct-detail-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.ct-detail-stat {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(173, 232, 244, 0.16);
  border: 1px solid rgba(0, 119, 182, 0.08);
}

.ct-detail-stat__label {
  color: var(--ct-muted);
  font-size: 12px;
  font-weight: 600;
}

.ct-detail-stat__value {
  margin-top: 6px;
  color: var(--ct-primary-strong);
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.ct-detail-list {
  margin: 0;
  padding-left: 18px;
  color: var(--ct-ink);
}

.ct-detail-list li + li {
  margin-top: 8px;
}

.ct-detail-note {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(2, 62, 138, 0.05);
  color: var(--ct-muted);
  font-size: 13px;
  line-height: 1.6;
}

.ct-operation-blocked {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(2, 62, 138, 0.1);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(173, 232, 244, 0.14));
}

.ct-operation-blocked__title {
  color: var(--ct-primary-strong);
  font-size: 14px;
  font-weight: 700;
}

.ct-operation-blocked p {
  margin: 8px 0 0;
  color: var(--ct-muted);
  font-size: 13px;
}

.ct-operation-blocked ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--ct-muted);
  font-size: 13px;
}

.ct-operation-blocked li + li {
  margin-top: 6px;
}

.ct-operation-note {
  margin-top: 12px;
  color: var(--ct-muted);
  font-size: 12px;
}

.ct-feedback {
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid var(--ct-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ct-feedback__label {
  color: var(--ct-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ct-feedback__title {
  margin-top: 4px;
  color: var(--ct-ink);
  font-size: 16px;
  font-weight: 800;
}

.ct-feedback p {
  margin: 6px 0 0;
  color: var(--ct-muted);
  font-size: 13px;
}

.ct-feedback--running {
  border-color: rgba(244, 162, 97, 0.34);
  background: linear-gradient(135deg, rgba(255, 247, 226, 0.96), rgba(255, 255, 255, 0.72));
}

.ct-feedback--success {
  border-color: rgba(42, 157, 143, 0.24);
  background: linear-gradient(135deg, rgba(229, 252, 245, 0.96), rgba(255, 255, 255, 0.72));
}

.ct-feedback--failed {
  border-color: rgba(214, 34, 70, 0.22);
  background: linear-gradient(135deg, rgba(255, 236, 241, 0.94), rgba(255, 255, 255, 0.72));
}

.ct-operation-progress {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(2, 62, 138, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
}

.ct-progress-bar {
  margin-top: 12px;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(2, 62, 138, 0.08);
}

.ct-progress-bar__fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0096c7, #2a9d8f);
  transition: width 280ms ease;
}

.ct-operation-steps {
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.ct-operation-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ct-muted);
  font-size: 13px;
}

.ct-operation-step__dot {
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 999px;
  background: #b9c7d4;
  box-shadow: 0 0 0 4px rgba(185, 199, 212, 0.15);
  flex: 0 0 auto;
}

.ct-operation-step--running .ct-operation-step__dot {
  background: #f4a261;
  box-shadow: 0 0 0 4px rgba(244, 162, 97, 0.18);
}

.ct-operation-step--success .ct-operation-step__dot {
  background: #2a9d8f;
  box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.16);
}

.ct-operation-step--failed .ct-operation-step__dot {
  background: var(--ct-danger);
  box-shadow: 0 0 0 4px rgba(214, 34, 70, 0.16);
}

.ct-operation-step small {
  margin-left: 6px;
  color: var(--ct-muted);
}

.ct-submit-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  max-width: 320px;
  padding: 12px 14px;
  border: 1px solid rgba(2, 62, 138, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(2, 62, 138, 0.14);
  color: var(--ct-ink);
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.ct-submit-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

button.is-submitting {
  opacity: 0.72;
  cursor: progress;
}

.ct-job-card__source {
  color: var(--ct-muted);
  font-size: 13px;
}

.ct-job-card__title {
  margin-top: 12px;
}

.ct-job-card__meta {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.ct-job-meta__item {
  padding: 12px 14px;
  border: 1px solid var(--ct-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.56);
}

.ct-job-meta__label {
  color: var(--ct-muted);
  font-size: 12px;
  font-weight: 600;
}

.ct-job-meta__value {
  margin-top: 6px;
  color: var(--ct-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.ct-job-card__note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(2, 62, 138, 0.06);
  color: var(--ct-primary-strong);
  font-size: 12px;
}

@media (max-width: 720px) {
  .ct-operation-form__grid {
    grid-template-columns: 1fr;
  }
}

.empty {
  margin: 16px;
  padding: 40px 20px;
  border: 1px dashed var(--ct-line-strong);
  border-radius: 14px;
  color: var(--ct-muted);
  background: rgba(255, 255, 255, 0.46);
  text-align: center;
}

.muted {
  color: var(--ct-muted);
  font-size: 12px;
}

code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 119, 182, 0.08);
  color: var(--ct-primary-strong);
  font-family: "SFMono-Regular", "JetBrains Mono", "Menlo", monospace;
}

button {
  border: 0;
  border-radius: 10px;
  padding: 7px 12px;
  color: white;
  background: linear-gradient(135deg, var(--ct-primary), var(--ct-primary-strong));
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 119, 182, 0.18);
  transition: transform 150ms ease, filter 150ms ease, box-shadow 150ms ease;
}

button:hover {
  filter: brightness(1.03);
}

button:active {
  transform: scale(0.98);
}

button.secondary {
  color: var(--ct-primary-strong);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(0, 119, 182, 0.14);
}

button.secondary:hover {
  filter: none;
  background: rgba(173, 232, 244, 0.24);
}

.ct-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16, 36, 59, 0.22);
  backdrop-filter: blur(8px);
}

.ct-modal.is-open {
  display: flex;
}

.ct-modal__panel {
  width: min(920px, 100%);
  max-height: min(86vh, 920px);
  overflow: auto;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 70px rgba(16, 36, 59, 0.18);
}

.ct-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.ct-modal__eyebrow {
  color: var(--ct-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ct-modal__header h3 {
  margin: 6px 0 0;
  color: var(--ct-ink);
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.ct-modal__close {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 999px;
  color: var(--ct-primary-strong);
  background: rgba(173, 232, 244, 0.28);
  box-shadow: inset 0 0 0 1px rgba(0, 119, 182, 0.08);
  font-size: 22px;
  line-height: 1;
}

.ct-modal__intro {
  margin: 14px 0 0;
}

.ct-modal__actions {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--ct-line);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.ct-textarea-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
}

.ct-textarea-field textarea {
  min-height: 220px;
  padding: 12px 14px;
  border-radius: 14px;
  resize: vertical;
  background: rgba(255, 255, 255, 0.94);
  line-height: 1.6;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--ct-primary) !important;
  box-shadow: 0 0 0 3px rgba(173, 232, 244, 0.92);
}

@media (max-width: 960px) {
  .metrics,
  .metrics--secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ct-layout {
    flex-direction: column;
  }

  .ct-side-nav {
    width: 100%;
    flex-basis: auto;
    position: static;
  }

  .ct-side-nav__links {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .ct-profile__header,
  .ct-profile__actions,
  .ct-operation-card__header,
  .ct-job-card__header,
  .ct-scheduler-card__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .ct-scheduler-card__meta,
  .ct-scheduler-card__timeline,
  .ct-detail-grid,
  .ct-detail-stats {
    grid-template-columns: 1fr;
  }

  .ct-modal {
    padding: 16px;
  }
}

@media (max-width: 720px) {
  .ct-nav {
    padding: 14px 14px 10px;
  }

  .ct-nav__inner {
    gap: 8px;
    padding: 8px;
  }

  .ct-brand {
    width: 100%;
    justify-content: flex-start;
    padding: 6px 8px 12px;
    font-size: 22px;
  }

  .ct-main {
    padding: 8px 14px 30px;
  }

  .ct-nav-menu {
    position: fixed;
    left: 14px;
    right: 14px;
    top: auto;
    min-width: 0;
  }

  .ct-dashboard-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ct-dashboard-group {
    padding: 20px 20px;
  }

  .ct-dashboard-item__value {
    font-size: 30px;
  }

  .ct-operation-grid,
  .ct-job-grid {
    padding: 14px;
    grid-template-columns: 1fr;
  }
}
