:root,
html[data-theme="auto"],
html[data-theme="dark"],
html[data-theme="light"] {
  --cdp-navy: #111827;
  --cdp-navy-soft: #1f2937;
  --cdp-blue: #5b6cff;
  --cdp-blue-dark: #4554e6;
  --cdp-cyan: #38bdf8;
  --cdp-green: #16a37a;
  --cdp-bg: #f4f6fb;
  --cdp-card: #ffffff;
  --cdp-text: #172033;
  --cdp-muted: #6b7280;
  --cdp-border: #e6e9f0;
  --primary: #5b6cff;
  --primary-fg: #ffffff;
  --secondary: #111827;
  --accent: #5b6cff;
  --header-bg: #ffffff;
  --header-color: #172033;
  --header-link-color: #4b5563;
  --breadcrumbs-bg: #ffffff;
  --breadcrumbs-fg: #6b7280;
  --breadcrumbs-link-fg: #4554e6;
  --body-bg: #f4f6fb;
  --body-fg: #172033;
  --body-quiet-color: #6b7280;
  --body-medium-color: #4b5563;
  --body-loud-color: #111827;
  --link-fg: #4554e6;
  --link-hover-color: #3340c7;
  --link-selected-fg: #3340c7;
  --hairline-color: #e6e9f0;
  --border-color: #dfe3eb;
  --darkened-bg: #f8f9fc;
  --selected-bg: #eef0ff;
  --selected-row: #f4f5ff;
  --button-bg: #5b6cff;
  --button-hover-bg: #4554e6;
  --default-button-bg: #5b6cff;
  --default-button-hover-bg: #4554e6;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  background: var(--cdp-bg);
  color: var(--cdp-text);
  min-height: 100%;
}

body {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif;
}

a {
  transition: color .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

#container {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  grid-template-rows: 76px auto minmax(auto, 1fr);
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  min-width: 0;
}

#header {
  display: contents;
}

.cdp-sidebar {
  align-self: start;
  background: linear-gradient(180deg, #111827 0%, #161f32 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  grid-column: 1;
  grid-row: 1 / -1;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow-y: auto;
  padding: 26px 18px 20px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.cdp-sidebar__brand {
  align-items: center;
  color: #fff !important;
  display: flex;
  gap: 12px;
  padding: 0 10px 26px;
  text-decoration: none;
}

.cdp-sidebar__mark {
  align-items: center;
  background: linear-gradient(135deg, #6d7cff, #47b5ff);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgb(73 108 255 / 32%);
  display: inline-flex;
  font-size: 12px;
  font-weight: 850;
  height: 40px;
  justify-content: center;
  letter-spacing: .04em;
  width: 40px;
}

.cdp-sidebar__product {
  display: block;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
}

.cdp-sidebar__edition {
  color: #98a2b3;
  display: block;
  font-size: 11px;
  margin-top: 4px;
}

.cdp-sidebar__section-label {
  color: #697386;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  margin: 14px 12px 8px;
  text-transform: uppercase;
}

.cdp-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cdp-sidebar__nav-groups {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cdp-sidebar__group-label {
  color: #98a2b3;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .04em;
  margin: 0 12px 5px;
}

.cdp-sidebar__link {
  align-items: center;
  border-radius: 10px;
  color: #b9c1d0 !important;
  display: flex;
  font-size: 13px;
  font-weight: 620;
  gap: 11px;
  padding: 11px 12px;
  text-decoration: none;
}

.cdp-sidebar__link svg {
  flex: 0 0 auto;
  height: 18px;
  opacity: .86;
  width: 18px;
}

.cdp-sidebar__link:hover,
.cdp-sidebar__link:focus,
.cdp-sidebar__link--active {
  background: rgb(255 255 255 / 9%);
  color: #fff !important;
}

.cdp-sidebar__link--active {
  box-shadow: inset 3px 0 #7683ff;
}

.cdp-mobile-navigation {
  display: none;
}

.cdp-sidebar__footer {
  border-top: 1px solid rgb(255 255 255 / 8%);
  margin-top: auto;
  padding: 18px 10px 2px;
}

.cdp-sidebar__boundary {
  align-items: center;
  display: flex;
  gap: 9px;
}

.cdp-sidebar__boundary-dot {
  background: #34d399;
  border: 3px solid rgb(52 211 153 / 18%);
  border-radius: 50%;
  box-sizing: content-box;
  height: 7px;
  width: 7px;
}

.cdp-sidebar__boundary strong {
  display: block;
  font-size: 12px;
}

.cdp-sidebar__boundary span:last-child {
  color: #8490a5;
  display: block;
  font-size: 10px;
  margin-top: 2px;
}

.cdp-topbar {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--cdp-border);
  display: flex;
  gap: 24px;
  grid-column: 2;
  grid-row: 1;
  justify-content: space-between;
  min-width: 0;
  padding: 0 clamp(24px, 4vw, 48px);
  z-index: 10;
}

.cdp-topbar__context {
  min-width: 0;
}

.cdp-topbar__eyebrow {
  color: #98a2b3;
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cdp-topbar__title {
  color: #172033;
  display: block;
  font-size: 16px;
  font-weight: 760;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#user-tools {
  align-items: center;
  color: #667085;
  display: flex;
  font-size: 12px;
  gap: 10px;
  letter-spacing: 0;
  padding: 0;
  text-transform: none;
}

#user-tools strong {
  color: #344054;
}

#user-tools a,
#logout-form button {
  background: transparent;
  border: 0;
  color: #667085;
  font-size: 12px;
  padding: 5px;
  text-decoration: none;
}

#user-tools a:hover,
#logout-form button:hover {
  color: var(--cdp-blue-dark);
}

.theme-toggle {
  display: none;
}

#container > nav {
  background: #fff;
  border-bottom: 1px solid var(--cdp-border);
  grid-column: 2;
  grid-row: 2;
}

div.breadcrumbs,
nav.breadcrumbs {
  align-items: center;
  background: #fff;
  color: #98a2b3;
  display: flex;
  font-size: 12px;
  gap: 8px;
  padding: 11px clamp(24px, 4vw, 48px);
}

nav.breadcrumbs a,
div.breadcrumbs a {
  color: #667085;
}

nav.breadcrumbs strong,
div.breadcrumbs strong {
  color: #344054;
  font-weight: 650;
}

.main {
  background: var(--cdp-bg);
  grid-column: 2;
  grid-row: 3;
  min-width: 0;
}

.main.shifted > #nav-sidebar,
#nav-sidebar,
.toggle-nav-sidebar {
  display: none !important;
}

#content {
  padding: 30px clamp(24px, 4vw, 48px) 56px;
}

#content > h1 {
  color: #172033;
  font-size: 26px;
  font-weight: 780;
  letter-spacing: -.02em;
}

.cdp-dashboard,
.cdp-workflow {
  margin: 0 auto;
  max-width: 1280px;
}

.cdp-dashboard-header {
  align-items: flex-start;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.cdp-dashboard-header h1,
.cdp-page-heading h1 {
  color: #172033;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.035em;
  margin: 4px 0 9px;
}

.cdp-dashboard-header p:not(.cdp-eyebrow),
.cdp-page-heading p:not(.cdp-eyebrow) {
  color: #667085;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  max-width: 720px;
}

.cdp-eyebrow {
  color: var(--cdp-blue);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .14em;
  margin: 0;
  text-transform: uppercase;
}

.cdp-status {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 720;
  gap: 7px;
  line-height: 1;
  padding: 8px 11px;
  white-space: nowrap;
}

.cdp-status::before {
  background: currentColor;
  border-radius: 50%;
  content: "";
  height: 6px;
  opacity: .75;
  width: 6px;
}

.cdp-status--safe {
  background: #e9fbf5;
  color: #087a5b;
}

.cdp-status--neutral {
  background: #eef0ff;
  color: #4554e6;
}

.cdp-summary-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 28px;
}

.cdp-summary-card {
  align-items: center;
  background: #fff;
  border: 1px solid var(--cdp-border);
  border-radius: 14px;
  display: flex;
  gap: 13px;
  min-width: 0;
  padding: 17px;
}

.cdp-summary-card__icon {
  align-items: center;
  background: #f0f2ff;
  border-radius: 11px;
  color: var(--cdp-blue);
  display: flex;
  flex: 0 0 auto;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.cdp-summary-card__icon svg {
  height: 19px;
  width: 19px;
}

.cdp-summary-card--green .cdp-summary-card__icon {
  background: #eafaf5;
  color: #0f9f76;
}

.cdp-summary-card--cyan .cdp-summary-card__icon {
  background: #edf9ff;
  color: #168fc5;
}

.cdp-summary-card span {
  color: #98a2b3;
  display: block;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.cdp-summary-card strong {
  color: #263044;
  display: block;
  font-size: 14px;
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cdp-section {
  margin-top: 28px;
}

.cdp-section__heading {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 13px;
}

.cdp-section__heading h2 {
  color: #263044;
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -.015em;
  margin: 4px 0 0;
}

.cdp-operation-groups {
  display: grid;
  gap: 22px;
}

.cdp-operation-group__heading {
  margin-bottom: 11px;
}

.cdp-operation-group__heading h3 {
  color: #263044;
  font-size: 14px;
  font-weight: 750;
  margin: 0;
}

.cdp-operation-group__heading p {
  color: #98a2b3;
  font-size: 12px;
  line-height: 1.6;
  margin: 4px 0 0;
}

.cdp-operation-grid {
  display: grid;
  gap: 12px;
}

.cdp-operation-group--danger .cdp-operation-group__heading h3 {
  color: #b42318;
}

.cdp-operation-group--danger .cdp-operation-card {
  border-color: #f4c8c2;
}

.cdp-operation-group--danger .cdp-operation-card::before {
  background: linear-gradient(180deg, #e0483a, #b42318);
}

.cdp-operation-card,
.cdp-model-card,
.cdp-empty-state,
.cdp-form-card,
.cdp-result,
.cdp-notice {
  background: #fff;
  border: 1px solid var(--cdp-border);
  border-radius: 14px;
  box-shadow: 0 7px 24px rgb(28 39 67 / 4%);
}

.cdp-operation-card {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  overflow: hidden;
  padding: 21px 22px;
  position: relative;
}

.cdp-operation-card::before {
  background: linear-gradient(180deg, #6676ff, #48b7ff);
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
  width: 4px;
}

.cdp-operation-card__icon {
  align-items: center;
  background: #eef0ff;
  border-radius: 12px;
  color: var(--cdp-blue);
  display: flex;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.cdp-operation-card__icon svg {
  height: 21px;
  width: 21px;
}

.cdp-operation-card h4,
.cdp-empty-state h3 {
  color: #263044;
  font-size: 15px;
  font-weight: 750;
  margin: 0 0 6px;
}

.cdp-operation-card p,
.cdp-empty-state p {
  color: #7a8496;
  line-height: 1.6;
  margin: 0;
}

.button.cdp-primary-button,
input.cdp-primary-button {
  align-items: center;
  background: linear-gradient(135deg, #6575ff, #5264ed);
  border: 0;
  border-radius: 9px;
  box-shadow: 0 7px 16px rgb(83 100 237 / 22%);
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 720;
  gap: 7px;
  justify-content: center;
  padding: 10px 14px;
  white-space: nowrap;
}

.button.cdp-primary-button:hover,
.button.cdp-primary-button:focus,
input.cdp-primary-button:hover,
input.cdp-primary-button:focus {
  background: linear-gradient(135deg, #5264ed, #4554e6);
  transform: translateY(-1px);
}

.cdp-model-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cdp-model-card {
  display: grid;
  gap: 10px;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  min-height: 84px;
  padding: 16px;
  text-decoration: none;
}

.cdp-model-card:hover,
.cdp-model-card:focus {
  border-color: #c9ceff;
  box-shadow: 0 10px 28px rgb(68 84 230 / 10%);
  transform: translateY(-2px);
}

.cdp-model-card__icon {
  align-items: center;
  align-self: center;
  background: #f2f4f8;
  border-radius: 10px;
  color: #7a8496;
  display: flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.cdp-model-card__icon svg {
  height: 17px;
  width: 17px;
}

.cdp-model-card__body {
  align-self: center;
  min-width: 0;
}

.cdp-model-card__app {
  color: #98a2b3;
  display: block;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .07em;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.cdp-model-card strong {
  color: #344054;
  display: block;
  font-size: 13px;
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cdp-model-card__arrow {
  align-self: center;
  color: #a7afbd;
  font-size: 18px;
}

.cdp-empty-state {
  padding: 27px;
  text-align: center;
}

.cdp-empty-state--compact {
  padding: 21px;
  text-align: left;
}

.cdp-page-heading {
  margin-bottom: 22px;
}

.cdp-notice {
  border-left: 4px solid var(--cdp-blue);
  margin-bottom: 20px;
  padding: 16px 18px;
}

.cdp-notice strong {
  color: #344054;
}

.cdp-notice p {
  color: #7a8496;
  line-height: 1.6;
  margin: 5px 0 0;
}

.cdp-result {
  border-color: #bfeedd;
  margin-bottom: 20px;
  padding: 20px;
}

.cdp-result-grid {
  display: grid;
  grid-template-columns: minmax(145px, auto) 1fr;
  margin: 0;
}

.cdp-result-grid dt,
.cdp-result-grid dd {
  border-top: 1px solid #eef0f4;
  margin: 0;
  overflow-wrap: anywhere;
  padding: 10px 0;
}

.cdp-result-grid dt {
  color: #7a8496;
  font-weight: 650;
  padding-right: 20px;
}

.cdp-form-card {
  overflow: hidden;
}

.cdp-workflow {
  max-width: 960px;
}

.cdp-form-card__body {
  padding: 0 28px;
}

.cdp-form-section {
  padding: 28px 0 30px;
}

.cdp-form-section + .cdp-form-section {
  border-top: 1px solid #eef0f4;
}

.cdp-form-section__heading {
  align-items: flex-start;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr);
  margin-bottom: 22px;
}

.cdp-form-section__step {
  align-items: center;
  background: #eef0ff;
  border-radius: 9px;
  color: var(--cdp-blue);
  display: inline-flex;
  font-size: 10px;
  font-weight: 820;
  height: 30px;
  justify-content: center;
  letter-spacing: .06em;
  width: 34px;
}

.cdp-form-section__heading h2,
.cdp-form-section__heading h3 {
  color: #263044;
  font-size: 16px;
  font-weight: 760;
  margin: 1px 0 4px;
}

.cdp-form-section__heading p {
  color: #667085;
  line-height: 1.55;
  margin: 0;
}

.cdp-form-grid {
  display: grid;
  gap: 20px 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cdp-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cdp-field[hidden] {
  display: none !important;
}

.cdp-field--wide {
  grid-column: 1 / -1;
}

.cdp-field > label {
  color: #344054;
  float: none;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 7px;
  padding: 0;
  width: auto;
}

.cdp-field > input[type="text"],
.cdp-field > input[type="password"],
.cdp-field > input[type="email"],
.cdp-field > select,
.cdp-field > textarea {
  box-sizing: border-box;
  font-size: 14px;
  margin: 0;
  max-width: none;
  min-height: 42px;
  width: 100%;
}

.cdp-locked-value {
  align-items: center;
  background: #f4f6fa;
  border: 1px solid #d7dce5;
  border-radius: 8px;
  color: #667085;
  display: flex;
  font-size: 14px;
  line-height: 1.5;
  min-height: 42px;
  overflow-wrap: anywhere;
  padding: 9px 10px;
  width: 100%;
}

.cdp-locked-value--code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.cdp-checkbox-field {
  border-top: 1px solid #eef0f4;
  padding-top: 20px;
}

.cdp-field > .cdp-checkbox-control {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 13px;
  gap: 10px;
  margin: 0;
}

.cdp-checkbox-control input {
  flex: 0 0 auto;
  margin: 0;
}

.cdp-field__help {
  color: #667085;
  font-size: 11px;
  line-height: 1.55;
  margin: 7px 0 0;
}

.cdp-field .errorlist,
.cdp-form-errors .errorlist {
  color: #b42318;
  font-size: 11px;
  line-height: 1.5;
  list-style: none;
  margin: 7px 0 0;
  padding: 0;
}

.cdp-field--error > input,
.cdp-field--error > select {
  border-color: #f1a7a0;
}

.cdp-form-errors {
  background: #fff4f2;
  border-bottom: 1px solid #fecdca;
  padding: 13px 28px;
}

.cdp-form-card .submit-row {
  align-items: center;
  background: #f8f9fc;
  border: 0;
  border-radius: 0;
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 15px 21px;
}

.cdp-form-actions {
  min-height: 44px;
}

.cdp-secondary-link {
  margin-right: auto;
}

input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
  background: #fff;
  border-color: #d7dce5;
  border-radius: 8px;
  color: #344054;
  padding: 9px 10px;
}

input:focus,
textarea:focus,
select:focus,
a:focus-visible,
button:focus-visible,
.cdp-mobile-navigation__trigger:focus-visible {
  border-color: #7683ff;
  outline: 3px solid rgb(91 108 255 / 18%);
  outline-offset: 2px;
}

.module,
#changelist .actions,
#changelist-filter,
.inline-group {
  border-color: var(--cdp-border);
  border-radius: 11px;
  overflow: hidden;
}

.module h2,
.module caption,
.inline-group h2 {
  background: #f0f2ff;
  color: #344054;
}

#changelist .results {
  border: 1px solid var(--cdp-border);
  border-radius: 11px;
  overflow: auto;
}

.object-tools a {
  background: #5b6cff;
  border-radius: 8px;
}

.messagelist {
  margin: 0 auto 18px;
  max-width: 1280px;
}

#footer {
  display: none;
}

.login #content {
  margin: 6vh auto 0;
  max-width: 430px;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
}

.login #container {
  margin: 0;
  max-width: none;
  width: 100%;
}

.login #content > h1 {
  font-size: 24px;
  margin-bottom: 18px;
}

.login #content-main {
  background: #fff;
  border: 1px solid var(--cdp-border);
  border-radius: 15px;
  box-shadow: 0 14px 38px rgb(28 39 67 / 8%);
  padding: 24px;
}

.login .form-row {
  padding: 0 0 17px;
}

.login .form-row label {
  color: #475467;
  font-size: 12px;
  font-weight: 680;
}

.login .form-row input {
  margin-top: 7px;
  width: 100%;
}

.login .submit-row {
  padding: 5px 0 0;
}

.login .submit-row input {
  background: linear-gradient(135deg, #6575ff, #5264ed);
  border-radius: 9px;
  box-shadow: 0 7px 16px rgb(83 100 237 / 22%);
  padding: 10px 20px;
}

@media (max-width: 1080px) {
  .cdp-model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  #container {
    display: block;
  }

  .cdp-sidebar {
    align-items: center;
    align-self: auto;
    display: flex;
    flex-direction: row;
    height: auto;
    min-height: 64px;
    overflow: visible;
    justify-content: space-between;
    padding: 11px 18px;
    position: sticky;
    top: 0;
  }

  .cdp-sidebar__brand {
    padding: 0;
  }

  .cdp-sidebar__mark {
    height: 36px;
    width: 36px;
  }

  .cdp-sidebar__desktop-navigation,
  .cdp-sidebar__footer,
  .cdp-sidebar__edition {
    display: none;
  }

  .cdp-mobile-navigation {
    display: block;
    margin-left: auto;
  }

  .cdp-mobile-navigation__trigger {
    align-items: center;
    border: 1px solid rgb(255 255 255 / 14%);
    border-radius: 9px;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 12px;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    list-style: none;
    min-height: 42px;
    padding: 0 12px;
  }

  .cdp-mobile-navigation__trigger::-webkit-details-marker {
    display: none;
  }

  .cdp-mobile-navigation__trigger svg {
    height: 18px;
    width: 18px;
  }

  .cdp-mobile-navigation[open] .cdp-mobile-navigation__trigger {
    background: rgb(255 255 255 / 10%);
  }

  .cdp-mobile-navigation__panel {
    background: linear-gradient(180deg, #111827 0%, #161f32 100%);
    border-top: 1px solid rgb(255 255 255 / 9%);
    box-shadow: 0 18px 34px rgb(0 0 0 / 28%);
    left: 0;
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    padding: 12px 18px 20px;
    position: fixed;
    right: 0;
    top: 64px;
    z-index: 40;
  }

  .cdp-mobile-navigation__panel .cdp-sidebar__section-label:first-child {
    margin-top: 4px;
  }

  .cdp-mobile-navigation__boundary {
    align-items: center;
    border-top: 1px solid rgb(255 255 255 / 8%);
    display: flex;
    gap: 9px;
    margin-top: 18px;
    padding: 18px 12px 2px;
  }

  .cdp-mobile-navigation__boundary strong {
    display: block;
    font-size: 12px;
  }

  .cdp-mobile-navigation__boundary span:last-child {
    color: #8490a5;
    display: block;
    font-size: 10px;
    margin-top: 2px;
  }

  .cdp-topbar {
    min-height: 65px;
    padding: 0 18px;
  }

  #container > nav {
    display: block;
  }

  #content {
    padding: 24px 18px 44px;
  }

  div.breadcrumbs,
  nav.breadcrumbs {
    padding: 10px 18px;
  }

  .cdp-summary-grid {
    grid-template-columns: 1fr;
  }

  .cdp-form-card__body {
    padding: 0 22px;
  }

  .cdp-form-grid {
    grid-template-columns: 1fr;
  }
}

.cdp-teardown-dialog {
  background: #fff;
  border: 1px solid #e2b5b5;
  border-radius: 16px;
  box-sizing: border-box;
  color: #25324b;
  max-height: 90vh;
  max-width: calc(100vw - 32px);
  overflow: auto;
  overflow-wrap: anywhere;
  padding: 28px;
  width: 560px;
}

.cdp-teardown-dialog::backdrop { background: rgb(15 23 42 / 55%); }
.cdp-teardown-dialog h2 { color: #a62525; margin-top: 0; }
.cdp-teardown-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; margin-top: 24px; }
.cdp-teardown-dialog button, .cdp-teardown-lookup button { border: 0; border-radius: 6px; cursor: pointer; padding: 12px 18px; }
.cdp-teardown-lookup { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.cdp-teardown-lookup input { box-sizing: border-box; flex: 1 1 280px; min-width: 0; max-width: 100%; }
.cdp-workflow .cdp-danger-button, .cdp-teardown-dialog .cdp-danger-button {
  background: #a62525;
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  min-height: 44px;
  padding: 12px 18px;
}
.cdp-workflow .cdp-danger-button:disabled, .cdp-teardown-dialog button:disabled { cursor: not-allowed; opacity: .5; }
#organization-teardown [hidden] { display: none; }
#organization-teardown .cdp-form-field { min-width: 0; }
#organization-teardown select, #organization-teardown input { box-sizing: border-box; max-width: 100%; width: 100%; }
#organization-teardown dd, #organization-teardown li { overflow-wrap: anywhere; }

@media (max-width: 620px) {
  .cdp-topbar__context,
  #user-tools > span,
  #user-tools > a {
    display: none;
  }

  .cdp-topbar {
    justify-content: flex-end;
  }

  .cdp-dashboard-header,
  .cdp-operation-card {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
  }

  .cdp-model-grid {
    grid-template-columns: 1fr;
  }

  .cdp-result-grid {
    grid-template-columns: 1fr;
  }

  .cdp-result-grid dd {
    border-top: 0;
    padding-top: 0;
  }

  .cdp-form-grid {
    grid-template-columns: 1fr;
  }

  .cdp-form-section {
    padding: 24px 0 26px;
  }

  .cdp-form-card .submit-row {
    align-items: stretch;
    flex-direction: column-reverse;
    gap: 12px;
  }

  .cdp-form-card .submit-row input,
  .cdp-form-card .submit-row .cdp-primary-button,
  .cdp-secondary-link {
    box-sizing: border-box;
    margin: 0;
    text-align: center;
    width: 100%;
  }
}

/* FEAT-042: Tenant background-work console. */
.worker-console { min-width: 0; }
.worker-console .module { background: #fff; border: 1px solid #e4e8f1; border-radius: 16px; padding: 24px; margin-bottom: 20px; }
.worker-console .module h2 { background: transparent; color: #23304b; padding: 0; margin: 0 0 16px; font-size: 17px; }
.worker-console .worker-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; }
.worker-filters label { display: flex; flex-direction: column; gap: 8px; font-weight: 600; }
.worker-console input, .worker-console select { max-width: 100%; border-radius: 8px; min-height: 38px; box-sizing: border-box; }
.worker-console button, .worker-console a.button { background: #6366f1; color: white; border: 0; border-radius: 9px; padding: 11px 18px; cursor: pointer; }
.worker-table-wrap { overflow-x: auto; }
.worker-console table { width: 100%; border-collapse: collapse; }
.worker-console th { color: #66738c; font-size: 12px; letter-spacing: .03em; background: #f8f9fd; }
.worker-console td, .worker-console th { padding: 14px 12px; border-bottom: 1px solid #eef0f5; overflow-wrap: anywhere; }
.worker-console td { vertical-align: top; }
.worker-console .worker-id { font-family: ui-monospace, monospace; font-size: 12px; }
.worker-catalog { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.worker-card { padding: 20px; background: #fff; border: 1px solid #e4e8f1; border-radius: 14px; overflow-wrap: anywhere; }
.worker-card h3 { margin: 0 0 12px; font-size: 15px; }
.worker-card p { color: #68758c; line-height: 1.65; }
.worker-tag { display: inline-block; background: #f2f3ff; color: #595cce; border-radius: 6px; padding: 3px 7px; margin: 3px 2px 3px 0; font-size: 11px; }
.worker-notice { color: #68758c; line-height: 1.65; }
.worker-alert { border-left: 3px solid #dc6c39; padding: 12px; background: #fff5eb; }
.worker-pagination { display: flex; gap: 20px; justify-content: center; padding: 12px; }
.worker-console .errorlist { color: #b42318; }

/* FEAT-047 §4.2: PEM 是不含空白的長行，必須在格內換行，避免 820px／390px 出現水平捲動（API-ADM-001）。 */
.cdp-sense-connection-table { width: 100%; }
.cdp-sense-connection-table pre { margin: 8px 0; white-space: pre-wrap; overflow-wrap: anywhere; }

@media (max-width: 620px) {
  .cdp-sense-connection-table thead { display: none; }
  .cdp-sense-connection-table,
  .cdp-sense-connection-table tbody,
  .cdp-sense-connection-table tr,
  .cdp-sense-connection-table td { box-sizing: border-box; display: block; width: 100%; }
  .cdp-sense-connection-table tr { border-bottom: 1px solid #eef0f5; padding: 8px 0; }
  .cdp-sense-connection-table td[data-label]::before { color: #68758c; content: attr(data-label); display: block; font-size: 12px; }
}

/* 設定就緒檢查：只顯示設定是否存在，不顯示任何設定值。 */
.cdp-status--attention {
  background: #fef3f2;
  color: #b42318;
}

.cdp-status--optional {
  background: #f2f4f7;
  color: #475467;
}

.cdp-readiness-table { width: 100%; }
.cdp-readiness-table td { vertical-align: top; }
.cdp-readiness-table td:last-child { overflow-wrap: anywhere; }

@media (max-width: 620px) {
  .cdp-readiness-table thead { display: none; }
  .cdp-readiness-table,
  .cdp-readiness-table tbody,
  .cdp-readiness-table tr,
  .cdp-readiness-table td { box-sizing: border-box; display: block; width: 100%; }
  .cdp-readiness-table tr { border-bottom: 1px solid #eef0f5; padding: 8px 0; }
  .cdp-readiness-table td[data-label]::before { color: #68758c; content: attr(data-label); display: block; font-size: 12px; }
}
