/* Application configuration workspace. Keep component styles scoped to this root. */
.ac-workspace {
  --ac-blue: #2468eb;
  --ac-text: #172b4d;
  --ac-muted: #65758e;
  --ac-line: #e3eaf3;
  --ac-bg: #f6f8fc;
  color: var(--ac-text);
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 28px;
  font-size: 14px;
  line-height: 1.6;
}
.ac-workspace *,
.ac-workspace *::before,
.ac-workspace *::after {
  box-sizing: border-box;
}
.ac-workspace [hidden] {
  display: none !important;
}
.ac-workspace h2,
.ac-workspace h3,
.ac-workspace h4,
.ac-workspace p,
.ac-workspace dl,
.ac-workspace dd {
  margin: 0;
}
.ac-workspace h2 {
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.5px;
  line-height: 1.35;
}
.ac-workspace h3 {
  font-size: 17px;
  font-weight: 650;
  line-height: 1.5;
}
.ac-workspace h4 {
  font-size: 14px;
  font-weight: 600;
}
.ac-workspace button,
.ac-workspace input,
.ac-workspace select,
.ac-workspace textarea {
  font: inherit;
}
.ac-workspace button {
  cursor: pointer;
}
.ac-workspace button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.ac-workspace :is(button, input, select, textarea, a, summary):focus-visible {
  outline: 3px solid #9bbbff;
  outline-offset: 3px;
}
.ac-workspace input:not([type="checkbox"]):not([type="radio"]),
.ac-workspace select,
.ac-workspace textarea {
  width: 100%;
  min-width: 0;
  color: var(--ac-text);
  background: #fff;
  border: 1px solid #d9e2ee;
  border-radius: 8px;
  padding: 9px 11px;
  min-height: 42px;
  box-shadow: none;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color 0.15s ease;
}
.ac-workspace input:hover,
.ac-workspace select:hover,
.ac-workspace textarea:hover {
  border-color: #aabdd9;
}
.ac-workspace textarea {
  resize: vertical;
}
.ac-workspace input[type="color"] {
  padding: 5px !important;
  height: 42px;
  max-width: 140px;
}
.ac-workspace input[type="checkbox"],
.ac-workspace input[type="radio"] {
  appearance: auto;
  accent-color: var(--ac-blue);
  width: 17px;
  height: 17px;
  margin: 0;
  flex: none;
}
.ac-workspace input:disabled,
.ac-workspace textarea:disabled,
.ac-workspace select:disabled {
  color: #718096;
  background: #f6f8fb;
  cursor: not-allowed;
}
.ac-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid #dfe6f1;
  border-radius: 8px;
  color: #334968;
  background: #fff;
  font: inherit;
  text-decoration: none;
  line-height: 1.5;
  white-space: nowrap;
}
.ac-button:hover {
  color: #1858d5;
  border-color: #b9cdf0;
  background: #f8faff;
}
.ac-button.ac-primary {
  background: #2468eb;
  color: #fff;
  border-color: #2468eb;
  box-shadow: 0 2px 4px #2468eb14;
}
.ac-button.ac-primary:hover {
  background: #1858d5;
}
.ac-button.ac-text {
  background: transparent;
  border-color: transparent;
  color: #2468eb;
  padding: 4px 6px;
  min-height: 30px;
}
.ac-button.ac-danger {
  color: #bf3444;
  border-color: #efdae0;
}
.ac-button.ac-danger:hover {
  background: #fff6f7;
}
.ac-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 13px;
  font-size: 13px;
  color: var(--ac-muted);
}
.ac-breadcrumb a {
  color: var(--ac-muted);
  text-decoration: none;
}
.ac-breadcrumb a:hover {
  color: var(--ac-blue);
}
.ac-identity {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 0 0 23px;
}
.ac-app-avatar {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  color: #2468eb;
  font-size: 23px;
  font-weight: 600;
  background: #fff;
  border: 1px solid #dfe8f6;
  box-shadow: 0 3px 10px #26487905;
  display: grid;
  place-items: center;
  flex: none;
}
.ac-identity-info {
  min-width: 0;
  flex: 1;
}
.ac-title-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ac-title-line h2 {
  overflow-wrap: anywhere;
}
.ac-badge {
  font-size: 12px;
  color: #2468eb;
  background: #edf3ff;
  border-radius: 5px;
  padding: 2px 7px;
  white-space: nowrap;
}
.ac-identity-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  margin-top: 2px;
  color: var(--ac-muted);
}
.ac-identity-meta code {
  font:
    12px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  overflow-wrap: anywhere;
}
.ac-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid var(--ac-line);
  margin: 0 0 23px;
  min-height: 49px;
}
.ac-nav button {
  position: relative;
  padding: 12px 2px 14px;
  color: var(--ac-muted);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.ac-nav button[aria-selected="true"] {
  border-bottom-color: var(--ac-blue);
  color: var(--ac-blue);
}
.ac-nav [data-dirty-section] {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #df9408;
  top: 8px;
  right: -6px;
}
.ac-mobile-nav {
  display: none;
}
.ac-panels {
  min-width: 0;
}
.ac-panel {
  background: #fff;
  border: 1px solid var(--ac-line);
  border-radius: 12px;
  margin: 0 0 20px;
  overflow: clip;
}
.ac-panel-head {
  padding: 21px 24px 0;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.ac-panel-head p {
  font-size: 13px;
  color: var(--ac-muted);
  margin: 5px 0 0;
  line-height: 1.6;
}
.ac-panel-body {
  padding: 20px 24px 24px;
  min-width: 0;
}
.ac-overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(270px, 1fr);
  gap: 20px;
  align-items: start;
}
.ac-facts > div {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #edf1f6;
  padding: 16px 0;
}
.ac-facts > div:first-child {
  padding-top: 0;
}
.ac-facts > div:last-child {
  border: 0;
  padding-bottom: 0;
}
.ac-facts dt {
  flex: 0 0 78px;
  color: var(--ac-muted);
}
.ac-facts dd {
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
}
.ac-facts dd:last-child {
  flex: 0 0 auto;
}
.ac-facts small {
  display: block;
  color: var(--ac-muted);
  font-size: 12px;
}
.ac-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ac-chips > span {
  border: 1px solid var(--ac-line);
  background: var(--ac-bg);
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 12px;
}
.ac-check {
  padding: 0 0 18px;
  margin: 0 0 18px;
  border-bottom: 1px solid var(--ac-line);
}
.ac-check:last-child {
  padding: 0;
  margin: 0;
  border: 0;
}
.ac-check p {
  color: var(--ac-muted);
  font-size: 13px;
  margin: 7px 0;
}
.ac-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.ac-metrics > div {
  min-width: 115px;
  flex: 1;
}
.ac-metrics > div > span,
.ac-metrics small {
  color: var(--ac-muted);
  display: block;
  font-size: 12px;
}
.ac-metrics strong {
  font-size: 27px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  display: block;
  margin: 4px 0;
  letter-spacing: -0.4px;
}
.ac-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  margin: 0;
  max-width: 900px;
}
.ac-fields + .ac-fields {
  margin-top: 20px;
}
.ac-field {
  min-width: 0;
}
.ac-field > label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 7px;
}
.ac-field-wide {
  grid-column: 1/-1;
}
.ac-field.ac-checkbox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-self: start;
  gap: 8px;
  padding: 10px 0;
}
.ac-field.ac-checkbox label {
  margin: 0;
}
.ac-field.ac-checkbox .ac-help {
  flex-basis: 100%;
}
.ac-help {
  display: block;
  font-size: 12px;
  color: var(--ac-muted);
  line-height: 1.6;
  margin-top: 7px !important;
  overflow-wrap: anywhere;
}
.ac-input-unit {
  position: relative;
}
.ac-input-unit input {
  padding-right: 92px !important;
  font-variant-numeric: tabular-nums;
}
.ac-input-unit > span {
  position: absolute;
  right: 12px;
  top: 11px;
  pointer-events: none;
  font-size: 12px;
  color: var(--ac-muted);
}
.ac-note {
  padding: 12px 14px;
  background: #f6f8fc;
  border-left: 2px solid #c2d4f2;
  color: #64748b;
  font-size: 12px;
  line-height: 1.7;
  border-radius: 0 5px 5px 0;
  margin-top: 16px;
}
.ac-note:first-child {
  margin-top: 0;
  margin-bottom: 18px;
}
.ac-fold {
  border-top: 1px solid var(--ac-line);
  margin-top: 18px;
}
.ac-fold > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  list-style: none;
}
.ac-fold > summary::-webkit-details-marker {
  display: none;
}
.ac-fold > summary::after {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  background:
    linear-gradient(#7890ae, #7890ae) center/10px 1px no-repeat,
    linear-gradient(#7890ae, #7890ae) center/1px 10px no-repeat;
  margin-left: auto;
  line-height: 1;
}
.ac-fold[open] > summary::after {
  background-size:
    10px 1px,
    0 0;
}
.ac-fold-body {
  padding: 0 0 5px;
}
.ac-fold:first-child {
  margin-top: 0;
  border-top: 0;
}
.ac-fold:first-child > summary {
  padding-top: 0;
}
.ac-divider {
  border-top: 1px solid var(--ac-line);
  margin: 24px 0;
}
.ac-section-line {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.ac-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}
.ac-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.ac-method {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--ac-line);
  border-radius: 9px;
  padding: 13px 15px;
  cursor: pointer;
  background: #fff;
  min-width: 0;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}
.ac-method:hover {
  border-color: #b5c9ee;
}
.ac-method:has(input:checked) {
  border-color: #bdd1f9;
  background: #f7faff;
}
.ac-method > span {
  min-width: 0;
}
.ac-method b {
  display: block;
  font-weight: 550;
  font-size: 14px;
}
.ac-method small {
  display: block;
  color: var(--ac-muted);
  font-size: 12px;
  margin-top: 3px;
}
.ac-method-check {
  display: none;
}
.ac-chain {
  list-style: none;
  padding: 0;
  margin: 12px 0 24px;
  max-width: 900px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 24px;
}
.ac-chain li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border-bottom: 1px solid #edf1f6;
  padding: 7px 0;
}
.ac-chain li > div {
  margin-left: auto;
  display: flex;
}
.ac-chain-number {
  color: #758aa7;
  font:
    12px ui-monospace,
    monospace;
}
.ac-chain .ac-button {
  padding: 3px;
  font-size: 12px;
}
.ac-policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(250px, 1fr);
  gap: 28px;
}
.ac-policy-order {
  border-left: 1px solid var(--ac-line);
  padding-left: 28px;
}
.ac-policy-order .ac-fields {
  grid-template-columns: minmax(0, 1fr);
}
@media (max-width: 1180px) {
  .ac-policy-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .ac-policy-order {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--ac-line);
    padding-top: 20px;
  }
}
.ac-scene {
  padding-top: 16px;
}
.ac-scenes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 0 0;
  border-top: 1px solid var(--ac-line);
  margin-top: 15px;
}
.ac-scenes button {
  padding: 8px 13px;
  background: #fff;
  border: 1px solid var(--ac-line);
  border-radius: 8px;
  min-width: 76px;
  color: #526681;
}
.ac-scenes button[aria-selected="true"] {
  color: #2468eb;
  border-color: #b5cdf9;
  background: #f1f6ff;
}
.ac-scenes span {
  display: block;
  font-size: 11px;
  opacity: 0.8;
  margin-top: 1px;
}
.ac-scope {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.ac-scope:disabled {
  opacity: 0.7;
}
.ac-scope-message {
  font-size: 12px;
  color: #75604c;
  margin: 8px 0 0;
  overflow-wrap: anywhere;
}
.ac-inline-status {
  font-size: 11px;
  color: #6c819f;
  font-weight: 400;
}
.ac-brand-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 20px;
  align-items: start;
}
.ac-brand-layout .ac-fields {
  gap: 18px;
}
.ac-brand-layout .ac-fields .ac-field:has(input[type="text"]) {
  grid-column: 1/-1;
}
.ac-preview-panel {
  background: #fff;
  border: 1px solid var(--ac-line);
  border-radius: 12px;
  padding: 18px;
  position: sticky;
  top: 90px;
  min-width: 0;
}
.ac-preview-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}
.ac-preview-head p {
  font-size: 11px;
  color: var(--ac-muted);
  margin-top: 4px;
}
.ac-preview-label {
  display: block;
  font-size: 12px;
  color: var(--ac-muted);
  margin-bottom: 5px;
}
.ac-preview-panel iframe {
  width: 100%;
  height: 530px;
  display: block;
  border: 1px solid var(--ac-line);
  border-radius: 9px;
  background: #f5f8ff;
  margin-top: 12px;
}
.ac-preview-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin-top: 10px;
}
.ac-preview-actions .ac-button {
  padding: 7px 3px;
  font-size: 12px;
}
.ac-preview-panel.expanded {
  grid-column: 1/-1;
  position: static;
  max-width: 850px;
  width: 100%;
  justify-self: center;
}
.ac-preview-panel.expanded iframe {
  height: 650px;
}
.ac-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.ac-mode {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 7px;
  border: 1px solid var(--ac-line);
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  min-width: 0;
}
.ac-mode.selected {
  background: #f5f8ff;
  border-color: #b9cef6;
}
.ac-mode b {
  font-size: 12px;
  font-weight: 550;
}
.ac-mode small {
  font-size: 11px;
  color: var(--ac-muted);
}
.ac-code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #314967;
  background: #f7f9fc;
  border: 1px solid #e6ecf4;
  border-radius: 8px;
  padding: 16px;
  margin: 12px 0 0;
  font:
    12px/1.8 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  max-height: 440px;
  overflow: auto;
}
.ac-fields + .ac-section-line {
  margin-top: 24px;
}
.ac-doc-link {
  display: inline-block;
  margin-top: 10px;
  color: #2468eb;
  font-size: 13px;
}
.ac-credential {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #edf1f6;
}
.ac-credential > span {
  width: 60px;
  font-size: 13px;
  color: var(--ac-muted);
}
.ac-credential code {
  flex: 1;
  min-width: 130px;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.ac-callback {
  margin: 18px 0;
  padding: 14px;
  border: 1px solid var(--ac-line);
  border-radius: 8px;
}
.ac-callback code {
  display: block;
  font-size: 12px;
  overflow-wrap: anywhere;
  margin: 8px 0 10px;
}
.ac-description {
  margin-top: 22px !important;
}
.ac-description > div {
  display: flex;
  padding: 12px 0;
  gap: 16px;
  border-bottom: 1px solid #edf1f6;
}
.ac-description dt {
  width: 80px;
  flex: none;
  color: var(--ac-muted);
}
.ac-description dd {
  overflow-wrap: anywhere;
}
.ac-operation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #edf1f6;
}
.ac-operation:first-child {
  padding-top: 0;
}
.ac-operation:last-child {
  padding-bottom: 0;
  border: 0;
}
.ac-operation p {
  color: var(--ac-muted);
  font-size: 12px;
  margin-top: 4px;
}
.ac-savebar {
  position: sticky;
  bottom: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: #fff;
  border: 1px solid #c8d8f0;
  border-radius: 12px;
  padding: 13px 18px;
  box-shadow: 0 8px 30px #203d6320;
  margin-top: 20px;
}
.ac-savebar strong {
  font-size: 14px;
  font-weight: 550;
}
.ac-save-status {
  min-width: 0;
  flex: 1;
}
.ac-savebar p {
  color: var(--ac-muted);
  font-size: 12px;
  margin: 3px 0 0;
}
.ac-save-error {
  color: #a12626 !important;
  background: #fff2f1;
  border: 1px solid #f0b8b3;
  border-radius: 7px;
  padding: 8px 10px;
  line-height: 1.55;
  margin-top: 8px !important;
  max-width: 720px;
}
.ac-save-error:focus {
  outline: 3px solid #f6c9c5;
  outline-offset: 2px;
}
.ac-save-actions {
  display: flex;
  gap: 8px;
  flex: none;
}
.ac-notice {
  background: #edf4ff;
  border: 1px solid #d6e4fa;
  padding: 13px 16px;
  border-radius: 9px;
  color: #355478;
  font-size: 13px;
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}
.ac-diff-panel {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--ac-line);
  background: #fff;
  border-radius: 12px;
}
.ac-diff-panel > .ac-section-line p {
  font-size: 12px;
  color: var(--ac-muted);
}
.ac-diff-panel section {
  border-top: 1px solid var(--ac-line);
  padding-top: 15px;
  margin-top: 15px;
}
.ac-diff-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(0, 2fr);
  gap: 14px;
  font-size: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #f0f3f8;
}
.ac-diff-row b {
  font-weight: 500;
}
.ac-diff-row div {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ac-diff-row del {
  text-decoration: none;
  color: #7c889b;
}
.ac-diff-row ins {
  text-decoration: none;
  color: #2468eb;
}
.ac-event-list {
  overflow-x: auto;
  max-height: 60vh;
}
.ac-event-list table {
  border-collapse: collapse;
  width: 100%;
  min-width: 650px;
  font-size: 12px;
}
.ac-event-list :is(th, td) {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--ac-line);
}
.ac-event-list th {
  color: var(--ac-muted);
  font-weight: 500;
  background: var(--ac-bg);
}
.ac-loading,
.ac-empty {
  background: #fff;
  border: 1px solid #e3eaf3;
  border-radius: 12px;
  padding: 38px 24px;
  color: #65758e;
  text-align: center;
  font-size: 14px;
}
.ac-empty .ac-button {
  margin-top: 18px;
}
.ac-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 1001px) and (max-width: 1320px) {
  .ac-brand-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .ac-preview-panel {
    width: 100%;
    position: static;
  }
  .ac-preview-panel iframe {
    max-width: 650px;
    margin-inline: auto;
  }
  .ac-preview-actions {
    max-width: 650px;
    margin-inline: auto;
  }
}
@media (max-width: 1100px) {
  .ac-nav {
    gap: 20px;
  }
  .ac-overview-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}
@media (max-width: 900px) {
  .ac-brand-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .ac-preview-panel {
    position: static;
    max-width: 700px;
    width: 100%;
  }
  .ac-nav {
    gap: 16px;
  }
  .ac-panel-head {
    padding: 18px 20px 0;
  }
  .ac-panel-body {
    padding: 18px 20px 20px;
  }
  .ac-chain {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .ac-workspace {
    padding-bottom: 20px;
  }
  .ac-identity {
    flex-wrap: wrap;
    padding-bottom: 16px;
    gap: 10px;
  }
  .ac-identity > a {
    margin-left: 56px;
  }
  .ac-identity-info {
    flex-basis: calc(100% - 60px);
  }
  .ac-title-line h2 {
    font-size: 22px;
  }
  .ac-identity-meta {
    gap: 2px;
  }
  .ac-nav {
    display: none;
  }
  .ac-mobile-nav {
    display: block;
    font-size: 12px;
    color: var(--ac-muted);
    margin-bottom: 18px;
  }
  .ac-mobile-nav select {
    margin-top: 5px;
    background: #fff;
  }
  .ac-fields,
  .ac-method-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
  }
  .ac-panel {
    margin-bottom: 16px;
    border-radius: 10px;
  }
  .ac-panel-head {
    padding: 17px 16px 0;
  }
  .ac-panel-body {
    padding: 16px;
  }
  .ac-panel-head h3 {
    font-size: 16px;
  }
  .ac-panel-head p {
    font-size: 12px;
  }
  .ac-facts > div {
    gap: 6px;
    flex-wrap: wrap;
  }
  .ac-facts dt {
    flex-basis: 100%;
    font-size: 12px;
    margin-bottom: 5px;
  }
  .ac-facts dd {
    font-size: 14px;
  }
  .ac-metrics {
    gap: 16px;
  }
  .ac-metrics > div {
    min-width: 90px;
  }
  .ac-metrics strong {
    font-size: 24px;
  }
  .ac-mode-grid {
    grid-template-columns: 1fr;
  }
  .ac-mode {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
  .ac-mode small {
    margin-left: 25px;
    flex-basis: 100%;
  }
  .ac-savebar {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 10px;
    bottom: max(8px, env(safe-area-inset-bottom));
  }
  .ac-save-actions {
    display: grid;
    grid-template-columns: 1fr 0.8fr 1.3fr;
    gap: 5px;
  }
  .ac-save-actions .ac-button {
    padding: 8px 4px;
    font-size: 12px;
  }
  .ac-savebar p {
    font-size: 11px;
  }
  .ac-workspace input:not([type="checkbox"]):not([type="radio"]),
  .ac-workspace select,
  .ac-workspace textarea {
    font-size: 16px;
  }
  .ac-workspace .ac-button,
  .ac-scenes button,
  .ac-fold > summary {
    min-height: 44px;
  }
  .ac-operation {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 18px 0;
  }
  .ac-diff-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .ac-diff-panel {
    padding: 16px;
  }
  .ac-preview-panel {
    padding: 12px;
  }
  .ac-preview-panel iframe {
    height: 540px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ac-workspace * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.ac-workspace .ac-operation-feedback {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #f2ceaa;
  border-radius: 6px;
  background: #fff9f2;
  color: #85401c;
  overflow-wrap: anywhere;
  outline-offset: 3px;
}
.ac-workspace .ac-operation-feedback p { margin: 0; line-height: 1.6; }
.ac-workspace .ac-operation-feedback .ac-button { margin-top: 10px; min-height: 40px; }
.ac-workspace .ac-operation-feedback[data-state="pending"] { background: #f4f7ff; border-color: #cbd9fa; color: #2254a5; }
.ac-workspace .ac-operation-feedback[data-state="success"] { background: #f0faf5; border-color: #bce4ce; color: #226344; }
