:root {
  --edg-hcc-green: #0a3c32;
  --edg-hcc-green-2: #145548;
  --edg-hcc-gold: #c9a542;
  --edg-hcc-teal: #2b7a78;
  --edg-hcc-cream: #f7f4eb;
  --edg-hcc-soft: #eef5f1;
  --edg-hcc-line: #d9e3de;
  --edg-hcc-ink: #17221f;
  --edg-hcc-muted: #5a6964;
  --edg-hcc-white: #ffffff;
  --edg-hcc-danger: #8a2f2f;
  --edg-hcc-shadow: 0 14px 34px rgba(10, 60, 50, 0.09);
}

.edg-hcc,
.edg-hcc-app-card,
.edg-hcc-access {
  box-sizing: border-box;
  color: var(--edg-hcc-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.edg-hcc *,
.edg-hcc *::before,
.edg-hcc *::after,
.edg-hcc-app-card *,
.edg-hcc-app-card *::before,
.edg-hcc-app-card *::after {
  box-sizing: inherit;
}

.edg-hcc {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 4px 0 42px;
}

.edg-hcc h1,
.edg-hcc h2,
.edg-hcc h3,
.edg-hcc p,
.edg-hcc-app-card h2,
.edg-hcc-app-card p {
  margin-top: 0;
}

.edg-hcc h1,
.edg-hcc h2,
.edg-hcc h3,
.edg-hcc-app-card h2 {
  color: var(--edg-hcc-green);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.15;
}

.edg-hcc h1 {
  margin-bottom: 7px;
  font-size: clamp(2rem, 5vw, 3.15rem);
  letter-spacing: -0.04em;
}

.edg-hcc h2 {
  margin-bottom: 9px;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  letter-spacing: -0.025em;
}

.edg-hcc h3 {
  margin-bottom: 7px;
  font-size: 1.08rem;
}

.edg-hcc p {
  line-height: 1.6;
}

.edg-hcc-back {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--edg-hcc-green-2);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.edg-hcc-back:hover {
  text-decoration: underline;
}

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

.edg-hcc-subtitle {
  margin-bottom: 0;
  color: var(--edg-hcc-muted);
  font-size: 1.08rem;
}

.edg-hcc-eyebrow,
.edg-hcc p.edg-hcc-eyebrow,
.edg-hcc-app-card .edg-hcc-eyebrow {
  margin-bottom: 6px;
  color: var(--edg-hcc-teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.edg-hcc-text-button,
.edg-hcc-delete-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--edg-hcc-green-2);
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.edg-hcc-notice {
  margin: 0 0 20px;
  padding: 13px 16px;
  border: 1px solid var(--edg-hcc-line);
  border-left: 5px solid var(--edg-hcc-teal);
  border-radius: 10px;
  background: var(--edg-hcc-white);
  color: var(--edg-hcc-green);
  font-weight: 700;
}

.edg-hcc-notice.is-warning {
  border-left-color: var(--edg-hcc-gold);
}

.edg-hcc-setup {
  overflow: hidden;
  border: 1px solid var(--edg-hcc-line);
  border-radius: 22px;
  background: var(--edg-hcc-white);
  box-shadow: var(--edg-hcc-shadow);
}

.edg-hcc-setup-intro {
  padding: 28px clamp(20px, 4vw, 42px) 23px;
  background: linear-gradient(135deg, var(--edg-hcc-green), var(--edg-hcc-green-2));
  color: var(--edg-hcc-white);
}

.edg-hcc-setup-intro h2,
.edg-hcc-setup-intro p {
  color: var(--edg-hcc-white);
}

.edg-hcc-setup-intro p:last-child {
  margin-bottom: 0;
  opacity: 0.86;
}

.edg-hcc-step-label {
  margin-bottom: 8px;
  color: #f2d675 !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.edg-hcc-setup-step {
  padding: 30px clamp(20px, 4vw, 42px) 36px;
}

.edg-hcc-field,
.edg-hcc-fieldset {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

.edg-hcc-field label,
.edg-hcc-fieldset legend,
.edg-hcc-inline-fields label,
.edg-hcc-notes-label {
  display: block;
  margin-bottom: 10px;
  color: var(--edg-hcc-green);
  font-size: 0.96rem;
  font-weight: 800;
}

.edg-hcc-field input,
.edg-hcc-inline-fields input,
.edg-hcc-inline-fields select,
.edg-hcc-notes-label textarea {
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  border: 1px solid #b8c9c2;
  border-radius: 9px;
  background: var(--edg-hcc-white);
  color: var(--edg-hcc-ink);
  font: inherit;
}

.edg-hcc-field input:focus,
.edg-hcc-inline-fields input:focus,
.edg-hcc-inline-fields select:focus,
.edg-hcc-notes-label textarea:focus,
.edg-hcc button:focus-visible,
.edg-hcc a:focus-visible,
.edg-hcc summary:focus-visible {
  outline: 3px solid rgba(201, 165, 66, 0.52);
  outline-offset: 2px;
}

.edg-hcc-choice-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.edg-hcc-choice-row-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.edg-hcc-choice-row label,
.edg-hcc-feature {
  position: relative;
  display: block;
  cursor: pointer;
}

.edg-hcc-choice-row input,
.edg-hcc-feature input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.edg-hcc-choice-row span,
.edg-hcc-feature > span {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid var(--edg-hcc-line);
  border-radius: 11px;
  background: var(--edg-hcc-white);
  color: var(--edg-hcc-green);
  font-weight: 750;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.edg-hcc-choice-row input:checked + span,
.edg-hcc-feature input:checked + span {
  border-color: var(--edg-hcc-teal);
  background: var(--edg-hcc-soft);
  box-shadow: inset 0 0 0 1px var(--edg-hcc-teal);
}

.edg-hcc-choice-row input:focus-visible + span,
.edg-hcc-feature input:focus-visible + span {
  outline: 3px solid rgba(201, 165, 66, 0.52);
  outline-offset: 2px;
}

.edg-hcc-field-help {
  margin: -4px 0 13px;
  color: var(--edg-hcc-muted);
  font-size: 0.9rem;
}

.edg-hcc-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.edg-hcc-feature > span {
  min-height: 94px;
  align-items: flex-start;
  flex-direction: column;
  padding-left: 42px;
  text-align: left;
}

.edg-hcc-feature > span::before {
  position: absolute;
  top: 16px;
  left: 14px;
  width: 18px;
  height: 18px;
  border: 2px solid #9bb1a8;
  border-radius: 5px;
  content: "";
}

.edg-hcc-feature input:checked + span::before {
  border-color: var(--edg-hcc-green);
  background: var(--edg-hcc-green);
  box-shadow: inset 0 0 0 4px var(--edg-hcc-soft);
}

.edg-hcc-feature small {
  display: block;
  margin-top: 4px;
  color: var(--edg-hcc-muted);
  font-size: 0.79rem;
  font-weight: 500;
  line-height: 1.35;
}

.edg-hcc-form-actions,
.edg-hcc-button-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.edg-hcc-form-actions {
  justify-content: space-between;
  margin-top: 8px;
}

.edg-hcc-form-actions-end {
  justify-content: flex-end;
}

.edg-hcc-button,
.edg-hcc a.edg-hcc-button,
.edg-hcc-app-card .edg-hcc-button,
.edg-hcc-access .edg-hcc-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  font-size: 0.91rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.edg-hcc-button-primary {
  border-color: var(--edg-hcc-green) !important;
  background: var(--edg-hcc-green) !important;
  color: var(--edg-hcc-white) !important;
}

.edg-hcc-button-primary:hover {
  background: var(--edg-hcc-green-2) !important;
}

.edg-hcc-button-secondary {
  border-color: var(--edg-hcc-green) !important;
  background: var(--edg-hcc-white) !important;
  color: var(--edg-hcc-green) !important;
}

.edg-hcc-button-quiet {
  border-color: var(--edg-hcc-line) !important;
  background: var(--edg-hcc-soft) !important;
  color: var(--edg-hcc-green) !important;
}

.edg-hcc-button-danger {
  border-color: #e2c2c2 !important;
  background: #fff7f7 !important;
  color: var(--edg-hcc-danger) !important;
}

.edg-hcc-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 20px;
  padding: clamp(23px, 4vw, 38px);
  border-radius: 20px;
  background: linear-gradient(135deg, var(--edg-hcc-green), #176052);
  color: var(--edg-hcc-white);
  box-shadow: var(--edg-hcc-shadow);
}

.edg-hcc-summary h2,
.edg-hcc-summary p {
  color: var(--edg-hcc-white);
}

.edg-hcc-summary-copy p:last-child {
  margin-bottom: 0;
  opacity: 0.82;
}

.edg-hcc-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.edg-hcc-metrics > div {
  padding: 15px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.edg-hcc-metrics strong,
.edg-hcc-metrics span {
  display: block;
}

.edg-hcc-metrics strong {
  color: #f2d675;
  font-size: 1.65rem;
  line-height: 1;
}

.edg-hcc-metrics span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.83);
  font-size: 0.72rem;
  line-height: 1.25;
}

.edg-hcc-tabs {
  display: flex;
  overflow-x: auto;
  gap: 4px;
  margin-bottom: 18px;
  padding: 5px;
  border: 1px solid var(--edg-hcc-line);
  border-radius: 12px;
  background: var(--edg-hcc-soft);
}

.edg-hcc-tabs button {
  flex: 1;
  min-width: 105px;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--edg-hcc-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.edg-hcc-tabs button.is-active {
  background: var(--edg-hcc-white);
  color: var(--edg-hcc-green);
  box-shadow: 0 3px 10px rgba(10, 60, 50, 0.07);
}

.edg-hcc-panel {
  padding: clamp(20px, 3.5vw, 32px);
  border: 1px solid var(--edg-hcc-line);
  border-radius: 18px;
  background: var(--edg-hcc-white);
}

.edg-hcc-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}

.edg-hcc-section-heading > p {
  max-width: 530px;
  margin-bottom: 0;
  color: var(--edg-hcc-muted);
  font-size: 0.92rem;
}

.edg-hcc-task-list {
  display: grid;
  gap: 12px;
}

.edg-hcc-task {
  overflow: hidden;
  border: 1px solid var(--edg-hcc-line);
  border-left: 5px solid #a7b8b1;
  border-radius: 13px;
  background: var(--edg-hcc-white);
}

.edg-hcc-task.is-ready {
  border-left-color: var(--edg-hcc-gold);
}

.edg-hcc-task.is-soon {
  border-left-color: var(--edg-hcc-teal);
}

.edg-hcc-task-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 18px 16px;
}

.edg-hcc-task-main p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--edg-hcc-muted);
  font-size: 0.89rem;
}

.edg-hcc-task-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  color: var(--edg-hcc-teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.edg-hcc-task-meta span + span::before {
  margin-right: 8px;
  content: "•";
  color: #a6b6af;
}

.edg-hcc-status {
  color: var(--edg-hcc-muted);
  letter-spacing: 0;
  text-transform: none;
}

.edg-hcc-task-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
}

.edg-hcc-task details {
  border-top: 1px solid var(--edg-hcc-line);
}

.edg-hcc-task summary {
  padding: 11px 18px;
  color: var(--edg-hcc-green-2);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 800;
}

.edg-hcc-task-details {
  padding: 4px 18px 20px;
}

.edg-hcc-task-details ol {
  margin: 10px 0 16px 22px;
}

.edg-hcc-task-details li {
  margin-bottom: 7px;
  padding-left: 3px;
  line-height: 1.5;
}

.edg-hcc-safety {
  padding: 11px 13px;
  border-radius: 9px;
  background: #fff9e7;
  color: #55491f;
  font-size: 0.84rem;
}

.edg-hcc-inline-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.edg-hcc-task-details .edg-hcc-inline-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.edg-hcc-notes-label {
  margin-top: 6px;
}

.edg-hcc-delete-link {
  color: var(--edg-hcc-danger);
  font-size: 0.82rem;
}

.edg-hcc-custom-form {
  margin: 0 0 20px;
  padding: 18px;
  border: 1px solid var(--edg-hcc-line);
  border-radius: 12px;
  background: var(--edg-hcc-soft);
}

.edg-hcc-history-list {
  display: grid;
  gap: 0;
}

.edg-hcc-history-list > div {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--edg-hcc-line);
}

.edg-hcc-history-list > div:last-child {
  border-bottom: 0;
}

.edg-hcc-history-marker {
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border: 3px solid var(--edg-hcc-soft);
  border-radius: 50%;
  background: var(--edg-hcc-teal);
  box-shadow: 0 0 0 1px var(--edg-hcc-teal);
}

.edg-hcc-history-list p,
.edg-hcc-history-list strong,
.edg-hcc-history-list span {
  display: block;
  margin: 0;
}

.edg-hcc-history-list span {
  margin-top: 3px;
  color: var(--edg-hcc-muted);
  font-size: 0.82rem;
}

.edg-hcc-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.edg-hcc-settings-grid article {
  padding: 19px;
  border: 1px solid var(--edg-hcc-line);
  border-radius: 12px;
  background: var(--edg-hcc-white);
}

.edg-hcc-settings-grid p {
  color: var(--edg-hcc-muted);
  font-size: 0.88rem;
}

.edg-hcc-empty {
  padding: 28px;
  border: 1px dashed #b4c6be;
  border-radius: 12px;
  background: var(--edg-hcc-soft);
  text-align: center;
}

.edg-hcc-app-card {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 0 0 18px;
  padding: 20px;
  border: 1px solid var(--edg-hcc-line);
  border-radius: 15px;
  background: var(--edg-hcc-white);
  box-shadow: 0 9px 22px rgba(10, 60, 50, 0.07);
}

.edg-hcc-app-card-icon {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 14px;
  background: var(--edg-hcc-green);
}

.edg-hcc-app-card-icon::before {
  position: absolute;
  top: 16px;
  left: 17px;
  width: 28px;
  height: 26px;
  border: 3px solid var(--edg-hcc-white);
  border-radius: 3px;
  content: "";
}

.edg-hcc-app-card-icon::after {
  position: absolute;
  top: 10px;
  left: 23px;
  width: 16px;
  height: 14px;
  border: solid var(--edg-hcc-gold);
  border-width: 0 3px 3px 0;
  content: "";
  transform: rotate(45deg);
}

.edg-hcc-app-card h2 {
  margin-bottom: 5px;
  font-size: 1.22rem;
}

.edg-hcc-app-card-copy > p:not(.edg-hcc-eyebrow):not(.edg-hcc-card-status) {
  margin-bottom: 6px;
  color: var(--edg-hcc-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.edg-hcc-card-status {
  margin-bottom: 0;
  color: var(--edg-hcc-teal);
  font-size: 0.82rem;
  font-weight: 800;
}

.edg-hcc-access {
  max-width: 700px;
  padding: 28px;
  border: 1px solid var(--edg-hcc-line);
  border-radius: 16px;
  background: var(--edg-hcc-soft);
}

.edg-hcc-access h2 {
  color: var(--edg-hcc-green);
}

@media (max-width: 780px) {
  .edg-hcc-summary,
  .edg-hcc-feature-grid,
  .edg-hcc-settings-grid {
    grid-template-columns: 1fr;
  }

  .edg-hcc-summary {
    gap: 20px;
  }

  .edg-hcc-choice-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .edg-hcc-section-heading,
  .edg-hcc-task-main {
    align-items: stretch;
    flex-direction: column;
  }

  .edg-hcc-task-actions .edg-hcc-button {
    flex: 1;
  }

  .edg-hcc-inline-fields,
  .edg-hcc-task-details .edg-hcc-inline-fields {
    grid-template-columns: 1fr;
  }

  .edg-hcc-app-card {
    grid-template-columns: 54px 1fr;
  }

  .edg-hcc-app-card-icon {
    width: 52px;
    height: 52px;
  }

  .edg-hcc-app-card-icon::before {
    top: 14px;
    left: 14px;
    width: 24px;
    height: 22px;
  }

  .edg-hcc-app-card-icon::after {
    top: 8px;
    left: 20px;
    width: 13px;
    height: 12px;
  }

  .edg-hcc-app-card .edg-hcc-button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .edg-hcc {
    padding-bottom: 26px;
  }

  .edg-hcc-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .edg-hcc-choice-row,
  .edg-hcc-choice-row-two,
  .edg-hcc-metrics {
    grid-template-columns: 1fr;
  }

  .edg-hcc-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .edg-hcc-panel {
    padding: 16px;
  }

  .edg-hcc-task-main {
    padding: 15px;
  }

  .edg-hcc-task-actions {
    width: 100%;
  }

  .edg-hcc-task-actions .edg-hcc-button {
    min-width: 0;
    padding-inline: 10px;
  }

  .edg-hcc-tabs button {
    flex: 0 0 auto;
  }
}

@media print {
  body {
    background: #fff !important;
  }

  .woocommerce-MyAccount-navigation,
  .site-header,
  .site-footer,
  .edg-hcc-back,
  .edg-hcc-header .edg-hcc-text-button,
  .edg-hcc-tabs,
  .edg-hcc-notice,
  .edg-hcc-button,
  .edg-hcc-task-actions,
  .edg-hcc-custom-form,
  .edg-hcc-delete-link {
    display: none !important;
  }

  .woocommerce-MyAccount-content,
  .edg-hcc {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .edg-hcc-dashboard,
  .edg-hcc-panel,
  .edg-hcc-panel[hidden] {
    display: block !important;
  }

  .edg-hcc-panel[data-panel="next"] {
    display: none !important;
  }

  .edg-hcc-summary {
    color: #000 !important;
    background: #fff !important;
    border: 2px solid #0a3c32;
    box-shadow: none;
  }

  .edg-hcc-summary h2,
  .edg-hcc-summary p,
  .edg-hcc-metrics strong,
  .edg-hcc-metrics span {
    color: #000 !important;
  }

  .edg-hcc-panel {
    margin-top: 18px;
    border: 0;
    padding: 0;
  }

  .edg-hcc-panel[data-panel="settings"] {
    display: none !important;
  }

  .edg-hcc-task,
  .edg-hcc-history-list > div {
    break-inside: avoid;
  }

  .edg-hcc-task details {
    display: none;
  }
}
