.cloud-price-comparison-body {
  margin: 0;
  padding: 0 !important;
  background: #f4f6f8;
  color: #172033;
  letter-spacing: 0;
}

.cloud-price-comparison-body .header,
.cloud-price-comparison-body .site-search,
.cloud-price-comparison-body .breadcrumbs,
.cloud-price-comparison-body .orbui-site,
.cloud-price-comparison-body .topbar {
  display: none !important;
}

.cpc-page,
.cpc-page * {
  box-sizing: border-box;
  letter-spacing: 0;
}

.cpc-page {
  min-height: 75vh;
  background: #f4f6f8;
  color: #172033;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.cpc-shell {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.cpc-heading {
  padding: 42px 0 32px;
  background: #ffffff;
  border-bottom: 1px solid #dfe5ec;
}

.cpc-eyebrow,
.cpc-section-kicker,
.cpc-boundary-heading > p {
  margin: 0 0 8px;
  color: #2563eb;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 800;
}

.cpc-heading h1 {
  margin: 0;
  color: #0b1220;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 800;
}

.cpc-lead {
  max-width: 880px;
  margin: 12px 0 0;
  color: #566578;
  font-size: 17px;
  line-height: 1.7;
}

.cpc-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.cpc-scope li {
  position: relative;
  padding-left: 13px;
  color: #3e4b5e;
  font-size: 13px;
  font-weight: 700;
}

.cpc-scope li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6b7a90;
  content: "";
}

.cpc-workbench {
  padding: 28px 0 52px;
}

.cpc-workbench-grid {
  display: grid;
  grid-template-columns: minmax(350px, 420px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.cpc-controls,
.cpc-results {
  min-width: 0;
  border: 1px solid #d9e0e8;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.cpc-controls {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.cpc-results {
  min-height: 680px;
  padding: 22px 24px 24px;
}

.cpc-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #e4e9ef;
}

.cpc-panel-heading p {
  margin: 0 0 2px;
  color: #6b788b;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
}

.cpc-panel-heading h2 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 800;
}

.cpc-icon-button,
.cpc-swap-button,
.cpc-copy-button,
.cpc-primary-button {
  appearance: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.cpc-icon-button,
.cpc-swap-button {
  display: inline-flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #d8e0e9;
  border-radius: 6px;
  background: #ffffff;
  color: #4b5b70;
}

.cpc-icon-button:hover,
.cpc-swap-button:hover {
  border-color: #9babc0;
  background: #f7f9fb;
  color: #162033;
}

.cpc-icon-button svg,
.cpc-swap-button svg,
.cpc-copy-button svg,
.cpc-primary-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.cpc-region-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
  gap: 10px;
  align-items: end;
}

.cpc-swap-button {
  margin-bottom: 1px;
}

.cpc-field {
  display: grid;
  min-width: 0;
  gap: 7px;
  margin: 0;
}

.cpc-field > span,
.cpc-fieldset legend {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #344257;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.cpc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.cpc-dot-aws { background: #ff9900; }
.cpc-dot-gcp { background: #4285f4; }

.cpc-field select,
.cpc-field input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 9px 11px;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  outline: none;
  background: #ffffff;
  color: #111827;
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
}

.cpc-field select {
  padding-right: 30px;
  text-overflow: ellipsis;
}

.cpc-field select:hover,
.cpc-field input:hover {
  border-color: #9eacbd;
}

.cpc-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.cpc-fieldset legend {
  margin-bottom: 8px;
  padding: 0;
}

.cpc-segment {
  display: grid;
  gap: 3px;
  padding: 3px;
  border: 1px solid #d4dce5;
  border-radius: 7px;
  background: #f2f5f8;
}

.cpc-segment-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cpc-segment-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.cpc-segment label {
  min-width: 0;
  margin: 0;
  cursor: pointer;
}

.cpc-segment input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cpc-segment span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 6px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #5a687b;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  text-align: center;
}

.cpc-segment input:checked + span {
  border-color: #ccd6e2;
  background: #ffffff;
  color: #152033;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.cpc-fields-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cpc-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 6px;
  background: #1f5fd1;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.cpc-primary-button:hover { background: #184fae; }
.cpc-primary-button:disabled { cursor: wait; opacity: 0.7; }

.cpc-input-note {
  margin: -7px 0 0;
  color: #6a7788;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.cpc-copy-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid #d4dce5;
  border-radius: 6px;
  background: #ffffff;
  color: #344257;
  font-size: 13px;
  font-weight: 700;
}

.cpc-copy-button:hover:not(:disabled) {
  border-color: #99a9bd;
  color: #172033;
}

.cpc-copy-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.cpc-icon-button:focus-visible,
.cpc-swap-button:focus-visible,
.cpc-copy-button:focus-visible,
.cpc-primary-button:focus-visible,
.cpc-field select:focus-visible,
.cpc-field input:focus-visible,
.cpc-segment input:focus-visible + span,
.cpc-tier-details summary:focus-visible,
.cpc-faq summary:focus-visible,
.cpc-source-links a:focus-visible,
.cpc-related a:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.3);
  outline-offset: 2px;
}

.cpc-field select:focus,
.cpc-field input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.cpc-state {
  display: flex;
  min-height: 540px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 36px;
  color: #526174;
  text-align: center;
}

.cpc-state[hidden],
.cpc-result-content[hidden] {
  display: none !important;
}

.cpc-state strong {
  color: #172033;
  font-size: 17px;
}

.cpc-state small {
  color: #738196;
  font-size: 13px;
}

.cpc-state-error strong { color: #a72b2b; }
.cpc-state-empty strong { color: #364459; }

.cpc-spinner {
  width: 28px;
  height: 28px;
  margin-bottom: 5px;
  border: 3px solid #d9e2ec;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: cpc-spin 700ms linear infinite;
}

@keyframes cpc-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .cpc-spinner { animation-duration: 1600ms; }
}

.cpc-result-content {
  min-width: 0;
  padding-top: 18px;
}

.cpc-summary {
  min-height: 80px;
  padding: 16px 18px;
  border-left: 4px solid #2563eb;
  background: #f4f7fb;
}

.cpc-summary strong {
  display: block;
  margin: 0 0 3px;
  color: #101827;
  font-size: 21px;
  line-height: 1.35;
}

.cpc-summary span {
  display: block;
  color: #566578;
  font-size: 13px;
  line-height: 1.55;
}

.cpc-match-note {
  min-height: 26px;
  padding: 9px 0 0;
  color: #5e6c7e;
  font-size: 12px;
  line-height: 1.5;
}

.cpc-provider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
  margin-top: 16px;
  border-top: 1px solid #e1e7ee;
  border-bottom: 1px solid #e1e7ee;
}

.cpc-provider {
  min-width: 0;
  padding: 22px 22px 18px;
}

.cpc-provider + .cpc-provider {
  border-left: 1px solid #e1e7ee;
}

.cpc-provider header {
  min-height: 94px;
  padding-bottom: 17px;
  border-bottom: 3px solid #d8dee7;
}

.cpc-provider-aws header { border-bottom-color: #ff9900; }
.cpc-provider-gcp header { border-bottom-color: #4285f4; }

.cpc-provider header > div {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: #556377;
  font-size: 12px;
  font-weight: 800;
}

.cpc-provider header > div i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.cpc-provider-aws header > div i { background: #ff9900; }
.cpc-provider-gcp header > div i { background: #4285f4; }

.cpc-provider header strong {
  display: block;
  overflow-wrap: anywhere;
  color: #101827;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 800;
}

.cpc-provider header small {
  display: block;
  margin-top: 4px;
  color: #68768a;
  font-size: 12px;
  line-height: 1.5;
}

.cpc-metrics {
  margin: 0;
}

.cpc-metrics > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: baseline;
  min-height: 47px;
  padding: 12px 0;
  border-bottom: 1px solid #e8edf2;
}

.cpc-metrics dt,
.cpc-metrics dd {
  min-width: 0;
  margin: 0;
}

.cpc-metrics dt {
  color: #5a697c;
  font-size: 13px;
}

.cpc-metrics dd {
  color: #172033;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  text-align: right;
  overflow-wrap: anywhere;
}

.cpc-metrics .cpc-total-row {
  min-height: 62px;
  border-bottom: 0;
}

.cpc-total-row dt {
  color: #172033;
  font-weight: 800;
}

.cpc-total-row dd {
  font-size: 23px;
  line-height: 1.2;
}

.cpc-provider-aws .cpc-total-row dd { color: #b86400; }
.cpc-provider-gcp .cpc-total-row dd { color: #1764c0; }

.cpc-tier-details {
  margin-top: 4px;
  border-top: 1px solid #e7ecf2;
  border-bottom: 1px solid #e7ecf2;
}

.cpc-tier-details summary {
  padding: 11px 0;
  color: #344257;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.cpc-tier-details > div {
  padding: 0 0 10px;
}

.cpc-tier-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 5px 0;
  color: #69778a;
  font-size: 11px;
  line-height: 1.45;
}

.cpc-tier-line span:last-child {
  color: #344257;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  text-align: right;
}

.cpc-provider footer {
  display: grid;
  gap: 3px;
  min-height: 58px;
  padding-top: 12px;
  color: #7a8798;
  font-size: 10px;
  line-height: 1.5;
}

.cpc-provider footer a {
  color: #516d95;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cpc-cache-note {
  min-height: 20px;
  margin: 14px 0 0;
  color: #667488;
  font-size: 11px;
  line-height: 1.55;
  text-align: right;
}

.cpc-cache-note.is-stale {
  color: #925b11;
  font-weight: 700;
}

.cpc-boundary,
.cpc-method,
.cpc-faq,
.cpc-related {
  border-top: 1px solid #dfe5ec;
}

.cpc-boundary {
  padding: 54px 0;
  background: #ffffff;
}

.cpc-boundary-heading {
  margin-bottom: 26px;
}

.cpc-boundary h2,
.cpc-method h2,
.cpc-faq h2,
.cpc-related h2 {
  margin: 0;
  color: #101827;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 800;
}

.cpc-boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.cpc-boundary-grid > div {
  min-width: 0;
  padding-top: 17px;
  border-top: 3px solid #cfd7e1;
}

.cpc-boundary-grid > div:nth-child(1) { border-color: #2f6ecf; }
.cpc-boundary-grid > div:nth-child(2) { border-color: #d47a1f; }
.cpc-boundary-grid > div:nth-child(3) { border-color: #3f856d; }

.cpc-boundary-grid h3,
.cpc-formula h3 {
  margin: 0 0 9px;
  color: #1b2638;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 800;
}

.cpc-boundary-grid p,
.cpc-method p {
  margin: 0;
  color: #5b697b;
  font-size: 14px;
  line-height: 1.85;
}

.cpc-method {
  padding: 58px 0;
  background: #f4f6f8;
}

.cpc-method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.8fr);
  gap: 56px;
  align-items: start;
}

.cpc-method h2 {
  margin-bottom: 18px;
}

.cpc-method p + p {
  margin-top: 12px;
}

.cpc-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 22px;
}

.cpc-source-links a {
  color: #235aa6;
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 3px;
}

.cpc-formula {
  padding: 20px 22px;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  background: #ffffff;
}

.cpc-formula dl {
  margin: 0;
}

.cpc-formula dl > div {
  padding: 12px 0;
  border-bottom: 1px solid #e6ebf0;
}

.cpc-formula dl > div:last-child { border-bottom: 0; }

.cpc-formula dt,
.cpc-formula dd {
  margin: 0;
}

.cpc-formula dt {
  color: #344257;
  font-size: 13px;
  font-weight: 800;
}

.cpc-formula dd {
  margin-top: 3px;
  color: #68768a;
  font-size: 12px;
}

.cpc-faq {
  padding: 58px 0;
  background: #ffffff;
}

.cpc-faq h2 {
  margin-bottom: 24px;
}

.cpc-faq-list {
  border-top: 1px solid #dfe5ec;
}

.cpc-faq-list details {
  border-bottom: 1px solid #dfe5ec;
}

.cpc-faq-list summary {
  padding: 18px 4px;
  color: #172033;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 800;
  cursor: pointer;
}

.cpc-faq-list p {
  max-width: 920px;
  margin: -5px 0 18px;
  color: #5d6b7d;
  font-size: 14px;
  line-height: 1.8;
}

.cpc-related {
  padding: 38px 0 48px;
  background: #f4f6f8;
}

.cpc-related .cpc-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cpc-related h2 {
  font-size: 21px;
}

.cpc-related .cpc-shell > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}

.cpc-related a {
  color: #2b5fa6;
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 3px;
}

@media (max-width: 1040px) {
  .cpc-workbench-grid {
    grid-template-columns: minmax(320px, 370px) minmax(0, 1fr);
  }

  .cpc-provider-grid {
    grid-template-columns: 1fr;
  }

  .cpc-provider + .cpc-provider {
    border-top: 1px solid #e1e7ee;
    border-left: 0;
  }

  .cpc-method-grid {
    gap: 32px;
  }
}

@media (max-width: 820px) {
  .cpc-workbench-grid,
  .cpc-method-grid {
    grid-template-columns: 1fr;
  }

  .cpc-results {
    min-height: 620px;
  }

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

  .cpc-provider + .cpc-provider {
    border-top: 0;
    border-left: 1px solid #e1e7ee;
  }

  .cpc-boundary-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .cpc-related .cpc-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .cpc-related .cpc-shell > div {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .cloud-price-comparison-body .csh-navbar-inner {
    gap: 8px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .cloud-price-comparison-body .csh-navbar-logo {
    flex: 0 1 130px;
    width: 130px;
    min-width: 0;
    max-width: 130px;
    overflow: hidden;
  }

  .cloud-price-comparison-body .csh-navbar-logo::after {
    display: none;
  }

  .cloud-price-comparison-body .csh-navbar-logo picture {
    display: block;
    min-width: 0;
  }

  .cloud-price-comparison-body .csh-navbar-logo-img {
    width: 130px;
    max-width: 100%;
    height: auto;
  }

  .cloud-price-comparison-body .csh-navbar-actions {
    flex: 0 1 auto;
    min-width: 0;
    gap: 6px;
  }

  .cloud-price-comparison-body .csh-search-form {
    min-width: 0;
    padding: 2px;
  }

  .cloud-price-comparison-body .csh-search-input {
    width: 86px;
    min-width: 0;
    padding: 8px 6px;
    font-size: 12px;
  }

  .cloud-price-comparison-body .csh-search-btn {
    width: 34px;
    height: 34px;
  }

  .cloud-price-comparison-body .csh-lang-switch {
    gap: 4px;
  }

  .cloud-price-comparison-body .csh-lang-link {
    height: 36px;
    padding: 0 8px;
    font-size: 12px;
  }

  .cpc-shell {
    width: min(100% - 24px, 1280px);
  }

  .cpc-heading {
    padding: 32px 0 26px;
  }

  .cpc-heading h1 {
    font-size: 30px;
    line-height: 1.25;
  }

  .cpc-lead {
    font-size: 15px;
  }

  .cpc-scope {
    gap: 8px 15px;
    margin-top: 17px;
  }

  .cpc-workbench {
    padding: 18px 0 40px;
  }

  .cpc-workbench-grid {
    gap: 14px;
  }

  .cpc-controls,
  .cpc-results {
    padding: 17px 15px;
  }

  .cpc-results {
    min-height: 580px;
  }

  .cpc-panel-heading h2 {
    font-size: 20px;
  }

  .cpc-region-pair {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .cpc-swap-button {
    justify-self: center;
    transform: rotate(90deg);
  }

  .cpc-fields-2 {
    gap: 11px;
  }

  .cpc-segment span {
    min-height: 39px;
    font-size: 12px;
  }

  .cpc-copy-button {
    width: 40px;
    padding: 0;
  }

  .cpc-copy-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .cpc-state {
    min-height: 450px;
    padding: 24px 12px;
  }

  .cpc-summary {
    padding: 14px;
  }

  .cpc-summary strong {
    font-size: 18px;
  }

  .cpc-provider-grid {
    grid-template-columns: 1fr;
  }

  .cpc-provider {
    padding: 19px 4px;
  }

  .cpc-provider + .cpc-provider {
    border-top: 1px solid #e1e7ee;
    border-left: 0;
  }

  .cpc-total-row dd {
    font-size: 21px;
  }

  .cpc-cache-note {
    text-align: left;
  }

  .cpc-boundary,
  .cpc-method,
  .cpc-faq {
    padding: 44px 0;
  }

  .cpc-boundary h2,
  .cpc-method h2,
  .cpc-faq h2 {
    font-size: 24px;
  }

  .cpc-formula {
    padding: 17px;
  }
}

@media (max-width: 360px) {
  .cloud-price-comparison-body .csh-navbar-logo {
    flex-basis: 110px;
    width: 110px;
    max-width: 110px;
  }

  .cloud-price-comparison-body .csh-navbar-logo-img {
    width: 110px;
  }

  .cloud-price-comparison-body .csh-search-input {
    width: 64px;
  }

  .cpc-fields-2 {
    grid-template-columns: 1fr;
  }

  .cpc-segment-3 {
    grid-template-columns: 1fr;
  }
}
