:root {
  --bg: #f4f6f8;
  --panel: #ffffff;
  --ink: #111827;
  --muted: #667085;
  --line: #1d2633;
  --soft-line: #cfd7e2;
  --soft: #eef2f6;
  --blue: #0b5cff;
  --blue-2: #003fc4;
  --green: #138a43;
  --red: #b42318;
  --amber: #a15c00;
  --shadow: 0 1px 0 rgba(16, 24, 40, .05);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

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

button {
  cursor: pointer;
}

.asg-shell {
  min-height: 100vh;
  width: 100%;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 24, 39, .025) 1px, transparent 1px),
    var(--bg);
  background-size: 56px 56px;
}

.asg-topbar {
  height: 96px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  border-bottom: 2px solid var(--line);
  background: #fff;
}

.asg-brand-block {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 28px;
  min-width: 480px;
  border-right: 2px solid var(--line);
}

.asg-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: #0f172a;
  color: #fff;
  font-weight: 900;
  letter-spacing: .04em;
}

.asg-eyebrow {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .13em;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 25px;
  line-height: 1.1;
}

.asg-top-status {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  padding: 18px 28px;
}

.asg-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--soft-line);
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  color: #344054;
}

.asg-status-pill.ok .asg-dot {
  background: var(--green);
}

.asg-status-pill.warn .asg-dot {
  background: var(--amber);
}

.asg-status-pill.bad .asg-dot {
  background: var(--red);
}

.asg-dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: #98a2b3;
}

.asg-mini-meta {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.asg-grid {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  min-height: calc(100vh - 154px);
}

.asg-sidebar {
  background: #fbfcfe;
  border-right: 2px solid var(--line);
  min-height: calc(100vh - 154px);
}

.asg-sidebar-head {
  height: 70px;
  padding: 16px 20px;
  display: grid;
  gap: 2px;
  border-bottom: 2px solid var(--line);
  background: #fff;
}

.asg-sidebar-head strong {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.asg-sidebar-head span {
  color: var(--muted);
  font-size: 12px;
}

.asg-steps {
  display: grid;
}

.asg-step {
  appearance: none;
  border: 0;
  border-bottom: 1px solid var(--soft-line);
  background: transparent;
  color: var(--ink);
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 12px;
  text-align: left;
  padding: 14px 18px;
  min-height: 70px;
}

.asg-step span {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  border: 1px solid var(--soft-line);
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 900;
  background: #fff;
}

.asg-step b {
  align-self: end;
  font-size: 14px;
}

.asg-step small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.asg-step.active {
  background: #eaf1ff;
  box-shadow: inset 5px 0 0 var(--blue);
}

.asg-step.active span {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.asg-step.done span {
  background: #e8f7ee;
  border-color: #a8dec0;
  color: var(--green);
}

.asg-workspace {
  min-width: 0;
  display: grid;
  grid-template-rows: 70px auto 74px;
  min-height: calc(100vh - 154px);
}

.asg-workspace-head {
  background: #fff;
  border-bottom: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
}

.asg-current-label {
  font-weight: 900;
  color: var(--blue);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.asg-workspace-head h2 {
  font-size: 22px;
  margin-top: 2px;
}

.asg-actions-inline,
.asg-command-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.asg-panels {
  min-height: 0;
  overflow: auto;
}

.asg-panel {
  display: none;
  padding: 28px;
  width: 100%;
}

.asg-panel.active {
  display: block;
}

.asg-section-title {
  border: 1px solid var(--soft-line);
  border-left: 5px solid var(--line);
  background: #fff;
  padding: 18px 20px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}

.asg-section-title.row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.asg-section-title h3 {
  font-size: 21px;
  margin-bottom: 6px;
}

.asg-section-title p {
  color: var(--muted);
  max-width: 1120px;
  line-height: 1.55;
}

.asg-form-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.asg-form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.asg-form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.asg-form-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: #344054;
  font-weight: 850;
  font-size: 13px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #aeb8c5;
  background: #fff;
  color: var(--ink);
  border-radius: 0;
  padding: 12px 12px;
  outline: none;
  min-height: 46px;
}

textarea {
  resize: vertical;
  line-height: 1.5;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue);
}

.asg-wide-field {
  margin-bottom: 18px;
}

.asg-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  min-height: 42px;
  padding: 10px 16px;
  font-weight: 900;
  border-radius: 0;
  box-shadow: var(--shadow);
}

.asg-btn.primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue-2);
}

.asg-btn.ghost {
  background: #f8fafc;
}

.asg-btn.danger {
  color: var(--red);
}

.asg-btn.tiny {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 12px;
}

.asg-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.asg-divider {
  border-top: 2px solid var(--line);
  margin: 24px 0;
}

.asg-note {
  border: 1px dashed #98a2b3;
  background: #fffdf5;
  color: #694100;
  padding: 14px 16px;
  margin-top: 18px;
  line-height: 1.55;
}

.asg-alert {
  margin: 18px 28px 0;
  border: 2px solid var(--line);
  background: #fff;
  padding: 14px 16px;
  font-weight: 800;
}

.asg-alert.ok {
  border-color: #138a43;
  color: #075e2a;
  background: #ecfdf3;
}

.asg-alert.bad {
  border-color: #b42318;
  color: #8a1f14;
  background: #fff1f0;
}

.asg-alert.warn {
  border-color: #a15c00;
  color: #6b3a00;
  background: #fffaeb;
}

.asg-readonly-grid,
.asg-kpi-grid,
.asg-success-grid,
.asg-review-grid {
  display: grid;
  gap: 0;
  border: 2px solid var(--line);
  background: #fff;
}

.asg-readonly-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.asg-kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.asg-readonly-grid > div,
.asg-kpi,
.asg-success-grid > div,
.asg-review-grid > div {
  padding: 16px;
  border-right: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
  min-width: 0;
}

.asg-readonly-grid span,
.asg-kpi span,
.asg-success-grid span,
.asg-review-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
  margin-bottom: 7px;
}

.asg-readonly-grid b,
.asg-kpi b,
.asg-success-grid b,
.asg-review-grid b {
  display: block;
  overflow-wrap: anywhere;
}

.asg-kpi b {
  font-size: 26px;
}

.asg-kpi small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.asg-repeat-list {
  display: grid;
  gap: 18px;
}

.asg-repeat-card {
  border: 2px solid var(--line);
  background: #fff;
}

.asg-repeat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  background: #f8fafc;
}

.asg-repeat-body {
  padding: 16px;
}

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

.asg-code-grid textarea {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.asg-badge-preview {
  border: 2px solid var(--line);
  background: #fff;
  padding: 26px;
  margin-bottom: 18px;
}

#badgePreview {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  border: 2px solid #111827;
  background: #fff;
  padding: 12px 16px;
}

#badgePreview small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}

.badge-star {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #111827;
  color: #fff;
}

.asg-bottom-nav {
  background: #fff;
  border-top: 2px solid var(--line);
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 140px;
  align-items: center;
  gap: 20px;
  padding: 14px 28px;
}

.asg-progress {
  height: 12px;
  border: 1px solid var(--line);
  background: #eef2f6;
}

#progressBar {
  height: 100%;
  width: 0;
  background: var(--blue);
  transition: width .2s ease;
}

.asg-success {
  border: 2px solid var(--line);
  background: #fff;
  padding: 34px;
}

.asg-success-mark {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  background: #111827;
  color: #fff;
  font-weight: 950;
  font-size: 20px;
  margin-bottom: 20px;
}

.asg-success h3 {
  font-size: 30px;
  margin-bottom: 10px;
}

.asg-success p {
  color: var(--muted);
  line-height: 1.65;
  max-width: 900px;
  margin-bottom: 24px;
}

@media (min-width: 1900px) {
  .asg-grid {
    grid-template-columns: 430px minmax(0, 1fr);
  }

  .asg-panel {
    padding: 34px 40px;
  }

  .asg-form-grid.four {
    grid-template-columns: repeat(4, minmax(280px, 1fr));
  }

  .asg-form-grid.three {
    grid-template-columns: repeat(3, minmax(320px, 1fr));
  }

  .asg-section-title h3 {
    font-size: 24px;
  }

  input,
  textarea,
  select {
    font-size: 16px;
  }
}

@media (max-width: 1180px) {
  .asg-grid {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .asg-form-grid.four,
  .asg-form-grid.three,
  .asg-form-grid.two,
  .asg-readonly-grid,
  .asg-kpi-grid,
  .asg-code-grid {
    grid-template-columns: 1fr;
  }

  .asg-topbar {
    height: auto;
    display: grid;
  }

  .asg-brand-block {
    min-width: 0;
    border-right: 0;
    border-bottom: 2px solid var(--line);
  }

  .asg-top-status {
    justify-content: space-between;
  }

  .asg-grid {
    min-height: auto;
  }
}

@media (max-width: 820px) {
  .asg-grid {
    display: block;
  }

  .asg-sidebar {
    min-height: 0;
    border-right: 0;
    border-bottom: 2px solid var(--line);
  }

  .asg-steps {
    max-height: 260px;
    overflow: auto;
  }

  .asg-workspace {
    min-height: auto;
  }

  .asg-workspace-head,
  .asg-bottom-nav {
    padding: 14px;
  }

  .asg-panel {
    padding: 16px;
  }
}


.asg-linkbar {
  min-height: 58px;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  border-bottom: 2px solid var(--line);
  background: #f8fafc;
}

.asg-linkbar-title {
  padding: 12px 28px;
  border-right: 2px solid var(--line);
  display: grid;
  gap: 2px;
}

.asg-linkbar-title strong {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.asg-linkbar-title span {
  font-size: 12px;
  color: var(--muted);
}

.asg-linkbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: stretch;
}

.asg-linkbar-links a {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: 0 18px;
  color: var(--ink);
  text-decoration: none;
  border-right: 1px solid var(--soft-line);
  font-weight: 900;
  font-size: 13px;
  background: #fff;
}

.asg-linkbar-links a:hover {
  background: #eaf1ff;
  color: var(--blue);
}

.asg-locked-note {
  border: 2px solid var(--line);
  background: #fff7ed;
  color: #7c2d12;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-weight: 750;
}

.asg-locked-note strong {
  display: block;
  color: #111827;
  margin-bottom: 4px;
}


/* Final patch: no warning/alert banner inside the generator layout */
.asg-alert,
.asg-locked-note {
  display: none !important;
}

.asg-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  max-width: min(520px, calc(100vw - 44px));
  border: 2px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  font-weight: 850;
  font-size: 13px;
  line-height: 1.35;
  box-shadow: 0 16px 34px rgba(16, 24, 40, .16);
}

.asg-toast[hidden] {
  display: none !important;
}

.asg-toast.ok {
  border-color: #138a43;
  background: #ecfdf3;
  color: #075e2a;
}

.asg-toast.warn {
  border-color: #b76a00;
  background: #fff8e6;
  color: #643400;
}

.asg-toast.bad {
  border-color: #b42318;
  background: #fff1f0;
  color: #8a1f14;
}


/* v3 final: remove every in-layout banner/warning block from generator workspace */
.asg-alert,
.asg-locked-note,
#alertBox,
#lockedGeneratorNote {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

/* v3 toast: fixed, tiny, never pushes form */
.asg-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999999;
  max-width: min(520px, calc(100vw - 44px));
  border: 2px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  font-weight: 850;
  font-size: 13px;
  line-height: 1.35;
  box-shadow: 0 16px 34px rgba(16, 24, 40, .16);
}

.asg-toast[hidden] {
  display: none !important;
}

.asg-toast.ok {
  border-color: #138a43;
  background: #ecfdf3;
  color: #075e2a;
}

.asg-toast.warn {
  border-color: #b76a00;
  background: #fff8e6;
  color: #643400;
}

.asg-toast.bad {
  border-color: #b42318;
  background: #fff1f0;
  color: #8a1f14;
}


/* =========================================================
   ASG GENERATOR V5 — SIMPLE FLOW + LIVE BUTTONS + GUIDE
========================================================= */

.asg-btn {
  position: relative;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

.asg-btn:not(:disabled):hover {
  filter: brightness(1.02);
  box-shadow: 0 0 0 3px rgba(11, 92, 255, .10);
}

.asg-btn-working {
  animation: asg-working-pulse .75s ease-in-out infinite alternate;
}

.asg-click-pop {
  animation: asg-click-pop .22s ease;
}

@keyframes asg-click-pop {
  0% { transform: scale(1); }
  45% { transform: scale(.96); }
  100% { transform: scale(1); }
}

@keyframes asg-working-pulse {
  from { box-shadow: 0 0 0 0 rgba(11, 92, 255, .25); }
  to { box-shadow: 0 0 0 8px rgba(11, 92, 255, 0); }
}

.asg-btn.guide {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

.asg-simple-guide-strip {
  border-bottom: 2px solid var(--line);
  background: #fffdf5;
  padding: 12px 18px;
  display: grid;
  gap: 4px;
  color: #694100;
}

.asg-simple-guide-strip b {
  color: #111827;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}

.asg-simple-guide-strip span {
  font-size: 12px;
  line-height: 1.4;
}

.asg-final-status-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 2px solid var(--line);
  background: #f8fafc;
  margin-bottom: 16px;
}

.asg-final-status-row > div {
  padding: 14px 16px;
  border-right: 1px solid var(--soft-line);
}

.asg-final-status-row span,
.asg-final-info-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
  margin-bottom: 6px;
}

.asg-final-section {
  margin-top: 18px;
  border: 2px solid var(--line);
  background: #fff;
  padding: 16px;
}

.asg-final-section h4 {
  margin: 0 0 14px;
  font-size: 16px;
}

.asg-final-info-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--soft-line);
}

.asg-final-info-grid > div {
  padding: 12px;
  border-right: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
  min-width: 0;
}

.asg-final-info-grid b {
  overflow-wrap: anywhere;
}

.asg-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  background: rgba(15, 23, 42, .48);
  display: grid;
  place-items: center;
  padding: 22px;
}

.asg-guide-modal[hidden] {
  display: none !important;
}

.asg-guide-card {
  width: min(920px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  background: #fff;
  border: 2px solid var(--line);
  box-shadow: 0 22px 70px rgba(15, 23, 42, .28);
}

.asg-guide-card header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 2px solid var(--line);
  background: #f8fafc;
}

.asg-guide-card header strong {
  display: block;
  font-size: 18px;
}

.asg-guide-card header span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.asg-guide-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.asg-guide-body article {
  padding: 16px 18px;
  border-right: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}

.asg-guide-body article b {
  display: block;
  margin-bottom: 6px;
}

.asg-guide-body article p {
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .asg-final-status-row,
  .asg-final-info-grid,
  .asg-guide-body {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   ASG GENERATOR V6 — PUBLIC SAAS POLISH
========================================================= */

.asg-topbar {
  min-height: 112px;
  height: auto;
  background:
    radial-gradient(circle at 20% 0%, rgba(11, 92, 255, .10), transparent 36%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 52%, #eef4ff 100%);
}

.asg-brand-block {
  min-width: 620px;
  gap: 16px;
}

.asg-logo-img {
  width: 81px !important;
  height: 81px !important;
  object-fit: contain !important;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.asg-header-copy {
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.45;
  max-width: 740px;
}

.asg-clock-card {
  min-width: 330px;
  border: 1px solid var(--soft-line);
  background: #fff;
  padding: 12px 14px;
  box-shadow: 0 14px 30px rgba(16, 24, 40, .08);
}

.asg-clock-card span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  font-weight: 900;
}

.asg-clock-card b {
  display: block;
  font-size: 20px;
  margin-top: 4px;
}

.asg-clock-card small {
  color: var(--muted);
}

.asg-client-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr);
  gap: 18px;
  padding: 20px 28px;
  background:
    linear-gradient(135deg, #0f172a 0%, #172554 58%, #0b5cff 100%);
  color: #fff;
  border-bottom: 2px solid var(--line);
}

.asg-hero-main {
  display: grid;
  align-content: center;
  gap: 10px;
}

.asg-hero-main h2 {
  font-size: clamp(26px, 2.2vw, 42px);
  letter-spacing: -.03em;
}

.asg-hero-main p {
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  max-width: 900px;
}

.asg-status-pill.hero {
  width: fit-content;
  background: rgba(255,255,255,.10);
  color: #fff;
  border-color: rgba(255,255,255,.25);
}

.asg-hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}

.asg-hero-facts > div {
  padding: 12px 14px;
  border-right: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
  min-width: 0;
}

.asg-hero-facts span {
  display: block;
  color: rgba(255,255,255,.62);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
  margin-bottom: 6px;
}

.asg-hero-facts b,
.asg-hero-facts a {
  color: #fff;
  font-weight: 850;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.asg-hero-facts a:not(.pending) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.asg-hero-facts a.pending {
  opacity: .7;
}

.asg-workspace {
  grid-template-rows: 70px auto minmax(0, 1fr) 74px;
}

.asg-step.done span {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  font-size: 18px;
}

.asg-step.done {
  background: #f3fbf6;
}

.asg-success {
  border: 0;
  box-shadow: 0 18px 50px rgba(16, 24, 40, .10);
}

.asg-success-mark {
  border-radius: 18px;
  background: linear-gradient(135deg, #0f172a, #0b5cff);
}

.asg-success-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.asg-success-grid > div {
  padding: 18px;
}

.asg-code-grid label.wide {
  grid-column: 1 / -1;
}

.asg-code-grid label span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.asg-final-section {
  box-shadow: 0 10px 24px rgba(16, 24, 40, .05);
}

@media (max-width: 1180px) {
  .asg-brand-block {
    min-width: 0;
  }

  .asg-client-hero {
    grid-template-columns: 1fr;
  }

  .asg-hero-facts {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   ASG GENERATOR V7 — FINAL PUBLIC POLISH
========================================================= */

.asg-top-status {
  gap: 16px;
}

.asg-clock-card {
  min-width: 360px;
  text-align: left;
}

.asg-clock-card b#liveDateTime {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 28px;
  letter-spacing: -.03em;
  color: #0f172a;
}

.asg-finish-mini {
  border: 1px solid var(--soft-line);
  background: #fff;
  padding: 12px 14px;
  min-width: 118px;
}

.asg-finish-mini span {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 10px;
  font-weight: 900;
}

.asg-finish-mini b {
  display: block;
  margin-top: 5px;
  font-size: 18px;
}

.asg-simple-guide-strip {
  background: linear-gradient(180deg, #fffdf5, #fff7e6);
}

.asg-simple-guide-strip b {
  color: #92400e;
}

.asg-guide-card {
  width: min(1180px, 100%);
}

.asg-guide-body.detailed {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.asg-guide-body.detailed article {
  min-height: 136px;
}

.asg-guide-body.detailed article b {
  font-size: 15px;
}

.asg-guide-body.detailed article p {
  font-size: 14px;
}

.asg-success {
  background:
    radial-gradient(circle at 0% 0%, rgba(11, 92, 255, .10), transparent 34%),
    #fff;
}

.asg-success h3 {
  font-size: clamp(30px, 3vw, 48px);
  letter-spacing: -.04em;
}

.asg-success p {
  font-size: 16px;
}

.asg-success-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}

.asg-success-cta-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  background: #111827;
  color: #fff;
  text-decoration: none;
  padding: 10px 16px;
  font-weight: 900;
}

.asg-success-cta-row a:nth-child(2) {
  background: var(--blue);
  border-color: var(--blue-2);
}

.asg-success-cta-row a:nth-child(3) {
  background: #fff;
  color: var(--ink);
}

.asg-success-cta-row a.disabled {
  opacity: .45;
  pointer-events: none;
}

#successCompanyJson {
  min-height: 250px;
}

@media (max-width: 900px) {
  .asg-guide-body.detailed {
    grid-template-columns: 1fr;
  }

  .asg-clock-card {
    min-width: 0;
    width: 100%;
  }

  .asg-clock-card b#liveDateTime {
    font-size: 22px;
  }
}


/* =========================================================
   ASG GENERATOR V7.2 — OTP EXPIRY + RESEND UI
========================================================= */

.asg-otp-status {
  margin: 12px 0 18px;
  border: 1px solid var(--soft-line);
  background: #fff;
  padding: 12px 14px;
  display: grid;
  gap: 4px;
  max-width: 760px;
}

.asg-otp-status span {
  font-weight: 850;
  color: #344054;
}

.asg-otp-status small {
  color: var(--muted);
}

.asg-otp-status.live {
  border-color: #a8dec0;
  background: #ecfdf3;
}

.asg-otp-status.live span {
  color: #075e2a;
}

.asg-otp-status.expired {
  border-color: #f1a7a0;
  background: #fff1f0;
}

.asg-otp-status.expired span {
  color: #8a1f14;
}

#resendValidationOtpBtn:disabled,
#resendFinalOtpBtn:disabled {
  opacity: .55;
}


/* =========================================================
   ASG GENERATOR V7.3 — CLEAN OTP + THIN LINES + WORKSPACE COPY
========================================================= */

/* Keep the user's current HTML/layout, just calm the heavy grid lines. */
.asg-topbar,
.asg-linkbar,
.asg-grid,
.asg-sidebar,
.asg-workspace-head,
.asg-client-hero,
.asg-bottom-nav,
.asg-section-title,
.asg-readonly-grid,
.asg-readonly-grid > div,
.asg-kpi,
.asg-success,
.asg-final-status-row,
.asg-final-section,
.asg-card,
.asg-panel {
  border-width: 1px !important;
}

.asg-brand-block {
  border-right-width: 1px !important;
}

.asg-linkbar a,
.asg-linkbar-title,
.asg-step,
.asg-hero-facts,
.asg-hero-facts > div,
.asg-success-grid,
.asg-success-grid > div,
.asg-final-info-grid,
.asg-final-info-grid > div {
  border-width: 1px !important;
}

.asg-form-grid.two {
  grid-template-columns: minmax(320px, .9fr) minmax(240px, .45fr);
  max-width: 980px;
}

.asg-agent-explain {
  border: 1px solid var(--soft-line);
  background: #f8fafc;
  padding: 14px 16px;
  margin: 12px 0 16px;
}

.asg-agent-explain strong {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
}

.asg-agent-explain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.asg-agent-explain-grid span {
  border: 1px solid var(--soft-line);
  background: #fff;
  padding: 10px;
  font-size: 12px;
  font-weight: 850;
  color: #344054;
}

.asg-agent-explain p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.asg-otp-status.verified {
  border-color: #a8dec0;
  background: #ecfdf3;
}

.asg-otp-status.verified span {
  color: #075e2a;
}

@media (max-width: 1000px) {
  .asg-agent-explain-grid,
  .asg-form-grid.two {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   ASG GENERATOR V7.4 — PREMIUM HEADER + VERIFIED OTP CLEANUP
========================================================= */

.asg-topbar {
  border-bottom-width: 1px !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.asg-brand-block {
  border-right: 0 !important;
}

.asg-header-promise {
  align-self: stretch;
  display: grid;
  align-content: center;
  padding: 18px 28px;
  min-width: 360px;
  max-width: 760px;
  border-left: 1px solid rgba(207, 215, 226, .65);
}

.asg-header-promise strong {
  display: block;
  font-size: 15px;
  letter-spacing: -.01em;
  color: #0f172a;
}

.asg-header-promise span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
  font-size: 13px;
}

.asg-top-status {
  padding-right: 22px;
}

.asg-clock-card {
  background: linear-gradient(135deg, #0f172a 0%, #172554 100%) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.16) !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .18);
}

.asg-clock-card span,
.asg-clock-card small,
.asg-clock-card small strong {
  color: rgba(255,255,255,.72) !important;
}

.asg-clock-card b#liveDateTime,
.asg-clock-card b {
  color: #fff !important;
}

.asg-finish-mini.premium {
  background: #fff;
  border: 1px solid var(--soft-line);
  min-width: 150px;
  padding: 10px 12px;
  box-shadow: 0 10px 22px rgba(16, 24, 40, .06);
}

.asg-progress-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.asg-progress-top span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  font-weight: 900;
}

.asg-progress-top b {
  font-size: 17px;
  color: #0f172a;
}

.asg-progress-mini-track {
  margin-top: 9px;
  height: 7px;
  background: #e7edf6;
  border-radius: 999px;
  overflow: hidden;
}

.asg-progress-mini-track i {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #0b5cff, #16a34a);
  border-radius: inherit;
  transition: width .25s ease;
}

.asg-otp-status.verified {
  max-width: 760px;
}

.asg-otp-status.verified + .asg-form-grid,
.asg-otp-status.verified ~ .asg-command-row {
  display: none;
}

.asg-command-row[hidden],
.asg-form-grid[hidden] {
  display: none !important;
}

@media (max-width: 1280px) {
  .asg-header-promise {
    display: none;
  }
}

.asg-btn-locked,
.asg-btn-locked:hover,
.asg-btn-locked:focus {
  cursor: not-allowed;
  opacity: 0.72;
  filter: grayscale(0.15);
  box-shadow: none;
}

.asg-input-locked {
  cursor: not-allowed;
  opacity: 0.78;
  background: #f4f7fb;
}


/* =========================================================
   ASG GENERATOR V7.6 — CORPORATE SAAS LAYOUT + STICKY HEADER
========================================================= */

:root {
  --asg-night: #0b1024;
  --asg-navy: #101a3d;
  --asg-electric: #2563eb;
  --asg-aqua: #1ed4c8;
}

.asg-topbar {
  position: sticky;
  top: 0;
  z-index: 5000;
  min-height: 118px;
  border-bottom: 1px solid rgba(15, 23, 42, .16) !important;
  background:
    radial-gradient(circle at 12% -20%, rgba(37, 99, 235, .18), transparent 42%),
    linear-gradient(135deg, #ffffff 0%, #f6f9ff 48%, #edf4ff 100%) !important;
}

.asg-brand-block {
  min-width: 720px;
  padding: 20px 30px;
}

.asg-logo-img {
  width: 82px;
  height: 82px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, .45);
  box-shadow: 0 18px 34px rgba(15, 23, 42, .10);
}

.asg-header-copy {
  font-size: 15px;
  max-width: 860px;
}

.asg-header-promise {
  min-width: 420px;
  border-left: 1px solid rgba(148, 163, 184, .36);
}

.asg-clock-card {
  min-width: 390px;
  min-height: 86px;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,.18) !important;
  background:
    radial-gradient(circle at 88% 8%, rgba(30, 212, 200, .28), transparent 28%),
    radial-gradient(circle at 0% 100%, rgba(37, 99, 235, .32), transparent 40%),
    linear-gradient(135deg, #080d20 0%, #101a3d 52%, #050816 100%) !important;
  box-shadow: 0 24px 55px rgba(2, 8, 23, .25), inset 0 1px 0 rgba(255,255,255,.10);
}

.asg-clock-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.12) 48%, transparent 54%);
  transform: translateX(-80%);
  animation: asg-clock-sheen 7s ease-in-out infinite;
  pointer-events: none;
}

.asg-clock-card::after {
  content: "Time is precious";
  position: absolute;
  right: 14px;
  bottom: 10px;
  color: rgba(255,255,255,.42);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 900;
}

@keyframes asg-clock-sheen {
  0%, 55% { transform: translateX(-85%); }
  72%, 100% { transform: translateX(105%); }
}

.asg-clock-card span {
  color: rgba(255,255,255,.68) !important;
}

.asg-clock-card b#liveDateTime {
  margin-top: 5px;
  font-size: clamp(28px, 1.9vw, 38px);
  letter-spacing: -.055em;
  line-height: 1;
  text-shadow: 0 0 24px rgba(96, 165, 250, .35);
}

.asg-clock-card small {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.64) !important;
}

.asg-linkbar {
  position: sticky;
  top: 118px;
  z-index: 4000;
  grid-template-columns: 360px minmax(0, 1fr);
  background: rgba(248, 250, 252, .96);
  backdrop-filter: blur(12px);
}

.asg-linkbar-title strong {
  color: #0f172a;
}

.asg-linkbar-links {
  align-items: center;
  gap: 0;
  background: #fff;
}

.asg-linkbar-links a {
  min-height: 58px;
}

.asg-nav-jump {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 14px;
  border-right: 1px solid var(--soft-line);
  background: #fff;
}

.asg-nav-jump span {
  white-space: nowrap;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}

.asg-nav-jump select {
  min-height: 36px;
  width: 230px;
  padding: 6px 10px;
  font-weight: 800;
}

#asgPageJumpBtn {
  margin-left: 10px;
}

.asg-sidebar-progress {
  padding: 15px 18px 16px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.asg-sidebar-progress .asg-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.asg-sidebar-progress .asg-progress-top span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 10px;
  font-weight: 950;
}

.asg-sidebar-progress .asg-progress-top b {
  font-size: 20px;
  color: #0f172a;
}

.asg-sidebar-progress small {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  line-height: 1.35;
}

.asg-sidebar-progress .asg-progress-mini-track {
  margin-top: 10px;
  height: 9px;
  background: #e7edf6;
  border-radius: 999px;
  overflow: hidden;
}

.asg-simple-guide-strip b {
  font-size: 13px;
}

.asg-simple-guide-strip span {
  font-size: 13px;
}

.asg-hero-progress {
  max-width: 620px;
  display: grid;
  gap: 8px;
  margin: 2px 0 4px;
}

.asg-hero-progress > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
}

.asg-hero-progress span {
  color: rgba(255,255,255,.58);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.asg-hero-progress b {
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.asg-hero-progress i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  overflow: hidden;
}

.asg-hero-progress em {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #60a5fa, #22c55e);
  box-shadow: 0 0 24px rgba(96, 165, 250, .45);
  transition: width .25s ease;
}

.asg-panel {
  padding: 32px 42px;
}

.asg-form-grid.two,
.asg-form-grid.three,
.asg-form-grid.four {
  max-width: none !important;
}

.asg-form-grid.two {
  grid-template-columns: repeat(2, minmax(360px, 1fr)) !important;
}

.asg-form-grid.three {
  grid-template-columns: repeat(3, minmax(300px, 1fr)) !important;
}

input,
textarea,
select {
  min-height: 54px;
  font-size: 15px;
  line-height: 1.45;
}

textarea {
  min-height: 138px;
}

.asg-wide-field textarea[rows="4"] {
  min-height: 150px;
}

.asg-wide-field textarea[rows="7"] {
  min-height: 235px;
}

.asg-repeat-card {
  box-shadow: 0 16px 38px rgba(15, 23, 42, .06);
}

.asg-repeat-head {
  padding: 16px 18px;
}

.asg-repeat-body.asg-form-grid.two {
  grid-template-columns: repeat(2, minmax(420px, 1fr)) !important;
  gap: 20px 24px;
  padding: 22px;
}

.asg-repeat-body textarea {
  min-height: 150px;
  font-size: 15px;
}

.asg-repeat-body input {
  min-height: 58px;
}

.asg-section-title p,
.asg-agent-explain p,
.asg-note {
  font-size: 15px;
}

.asg-actions-inline #resetLocalBtn {
  color: var(--red);
}

.asg-page-footer {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 10% 0%, rgba(37, 99, 235, .10), transparent 32%),
    #0b1024;
  color: #fff;
  padding: 24px 30px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto minmax(260px, .8fr);
  align-items: center;
  gap: 20px;
}

.asg-page-footer strong {
  display: block;
  font-size: 16px;
}

.asg-page-footer span,
.asg-page-footer p {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.66);
  line-height: 1.45;
  font-size: 13px;
}

.asg-page-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.asg-page-footer a {
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 10px;
  font-weight: 850;
  font-size: 12px;
}

.asg-page-footer a:hover {
  background: rgba(255,255,255,.08);
}

@media (max-width: 1500px) {
  .asg-brand-block { min-width: 560px; }
  .asg-header-promise { display: none; }
  .asg-clock-card { min-width: 320px; }
}

@media (max-width: 1180px) {
  .asg-topbar,
  .asg-linkbar {
    position: static;
  }

  .asg-form-grid.two,
  .asg-form-grid.three,
  .asg-form-grid.four,
  .asg-repeat-body.asg-form-grid.two,
  .asg-page-footer {
    grid-template-columns: 1fr !important;
  }

  .asg-panel {
    padding: 20px;
  }

  .asg-nav-jump {
    width: 100%;
  }

  .asg-nav-jump select {
    width: 100%;
  }
}

.asg-success-mark {
  width: 96px !important;
  height: 96px !important;
  display: grid !important;
  place-items: center !important;
  background: transparent !important;
  color: transparent !important;
  margin-bottom: 22px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.asg-success-mark img {
  width: 96px !important;
  height: 96px !important;
  object-fit: contain !important;
  display: block !important;
}

/* =========================================================
   ASG GENERATOR V7.7 — SERVER DETAIL PANEL / NO MODE FIELD
========================================================= */

.asg-setup-load-grid {
  grid-template-columns: minmax(420px, 1fr) minmax(420px, .9fr) !important;
  max-width: none !important;
  align-items: stretch;
}

.asg-setup-detail-card {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 5px;
  border: 1px solid rgba(29, 38, 51, .22);
  background:
    linear-gradient(135deg, rgba(11, 92, 255, .08), rgba(22, 163, 74, .06)),
    #ffffff;
  padding: 14px 16px;
  box-shadow: 0 10px 22px rgba(16, 24, 40, .05);
}

.asg-setup-detail-card span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 950;
}

.asg-setup-detail-card strong {
  display: block;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.25;
}

.asg-setup-detail-card small {
  color: var(--muted);
  line-height: 1.45;
}

.asg-server-detail-panel {
  margin-top: 18px;
  border: 1px solid rgba(29, 38, 51, .32);
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .06);
}

.asg-server-detail-panel header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--soft-line);
  background: #f8fafc;
}

.asg-server-detail-panel header strong {
  display: block;
  font-size: 15px;
}

.asg-server-detail-panel header span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.asg-server-detail-panel header b {
  white-space: nowrap;
  color: #0b5cff;
  font-size: 13px;
}

.asg-server-detail-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.asg-server-detail-grid > div {
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}

.asg-server-detail-grid span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .10em;
  font-weight: 950;
  margin-bottom: 7px;
}

.asg-server-detail-grid b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  overflow-wrap: anywhere;
  font-size: 13px;
}

.asg-server-detail-grid b::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: #98a2b3;
  flex: 0 0 auto;
}

.asg-server-detail-grid b.ok::before {
  background: var(--green);
}

.asg-server-detail-grid b.pending::before {
  background: #b76a00;
}

@media (max-width: 1280px) {
  .asg-setup-load-grid,
  .asg-server-detail-grid {
    grid-template-columns: 1fr !important;
  }

  .asg-server-detail-panel header {
    display: grid;
  }

  .asg-server-detail-panel header b {
    white-space: normal;
  }
}


/* =========================================================
   ASG GENERATOR V7.9 — LOCKED PRE-VALIDATION + LIGHT CLOCK
========================================================= */

/* Remove the center divider from the premium header. */
.asg-header-promise {
  border-left: 0 !important;
}

/* Serious light clock card. */
.asg-clock-card {
  position: relative;
  overflow: hidden;
  min-width: 330px;
  border: 1px solid rgba(148, 163, 184, .38) !important;
  background:
    linear-gradient(135deg, #ffffff 0%, #f8fbff 54%, #eef5ff 100%) !important;
  color: #0f172a !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .10), inset 0 1px 0 rgba(255,255,255,.9) !important;
}

.asg-clock-card::before,
.asg-clock-card::after {
  display: none !important;
  content: "" !important;
}

.asg-clock-card span,
.asg-clock-card small,
.asg-clock-card small strong {
  color: #64748b !important;
}

.asg-clock-card b,
.asg-clock-card b#liveDateTime {
  color: #0f172a !important;
  text-shadow: none !important;
}

.asg-clock-card b#liveDateTime {
  font-size: clamp(26px, 1.8vw, 34px) !important;
  letter-spacing: -.055em !important;
}

/* Before server validation, keep the generator visually locked. */
.asg-shell.asg-session-locked .asg-step.locked {
  opacity: .46;
  cursor: not-allowed;
  background: #f8fafc;
}

.asg-shell.asg-session-locked .asg-step.locked:hover {
  background: #f8fafc;
}

.asg-shell.asg-session-locked .asg-step.locked span {
  background: #ffffff;
  color: #98a2b3;
  border-color: #d0d5dd;
}

.asg-shell.asg-session-locked .asg-step.done span {
  background: #ffffff !important;
  color: #98a2b3 !important;
  border-color: #d0d5dd !important;
}

.asg-shell.asg-session-locked #saveLocalBtn,
.asg-shell.asg-session-locked #loadLocalBtn,
.asg-shell.asg-session-locked #copySessionBtn {
  opacity: .48;
  cursor: not-allowed;
}

.asg-shell.asg-session-locked .asg-hero-facts a.pending {
  color: rgba(255,255,255,.72);
  text-decoration: none;
}

.asg-shell.asg-session-locked .asg-server-detail-panel {
  opacity: .92;
}

/* Better validate-step message surface from toast. */
.asg-toast.warn {
  border-color: #b76a00;
  background: #fff8e6;
  color: #643400;
}

@media (max-width: 900px) {
  .asg-clock-card {
    min-width: 0;
    width: 100%;
    border-radius: 14px !important;
  }
}

