:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #223d34;
  background: #f5f6f2;
  font-synthesis: none;
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  height: 84px;
  padding: 0 5vw;
  background: #fff;
  border-bottom: 1px solid #dfe6de;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  text-decoration: none;
  color: #2d5544;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -1px;
}
.brand span {
  font-weight: 500;
}
.brand small {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 10px;
  margin-left: 16px;
  background: #eef2ec;
  border-radius: 6px;
}
.header-right {
  display: flex;
  gap: 16px;
  align-items: center;
}
main {
  max-width: 1390px;
  margin: auto;
  padding: 48px 5vw 72px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-weight: 550;
  font-size: 38px;
  letter-spacing: -1.2px;
  line-height: 1.15;
  margin-bottom: 12px;
}
h2 {
  font-size: 23px;
  font-weight: 550;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 16px;
  font-weight: 600;
}
p {
  color: #6a776f;
  line-height: 1.65;
}
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 2px;
  color: #7c896e;
  margin-bottom: 15px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.page-heading p {
  margin-bottom: 0;
}
button,
input,
select {
  font: inherit;
}
button {
  border: 1px solid #d3ddd3;
  background: #fff;
  color: #344e40;
  border-radius: 8px;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.15s;
}
button:hover {
  background: #edf2ea;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.primary {
  background: #315c46;
  color: #fff;
  border-color: #315c46;
}
.primary:hover {
  background: #264a38;
}
.quiet {
  border-color: transparent;
  background: transparent;
}
input,
select {
  width: 100%;
  background: #fff;
  border: 1px solid #cfd9cf;
  border-radius: 7px;
  padding: 11px 12px;
  color: #223d34;
  min-height: 42px;
}
input:focus,
select:focus,
button:focus-visible {
  outline: 3px solid #b5cdb5;
  outline-offset: 2px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 550;
  margin-bottom: 17px;
}
.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1px solid #e0e6de;
  border-radius: 12px;
  margin-bottom: 30px;
  padding: 22px 0;
}
.summary-strip div {
  padding: 0 26px;
  border-right: 1px solid #e5e9e2;
}
.summary-strip div:last-child {
  border: 0;
}
.summary-strip strong {
  font-size: 27px;
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
}
.summary-strip span {
  color: #778274;
  font-size: 12px;
}
.workspace-grid {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 25px;
}
.deployment-list {
  display: grid;
  gap: 10px;
}
.deployment-card {
  display: block;
  width: 100%;
  text-align: left;
  background: white;
  padding: 20px;
  border-radius: 10px;
  border-color: #e0e6de;
  font-weight: 400;
}
.deployment-card[aria-pressed="true"] {
  border-color: #749b7e;
  box-shadow: 0 0 0 1px #749b7e;
  background: #f0f5ec;
}
.deployment-card strong {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}
.deployment-card small {
  display: block;
  color: #778373;
  margin-top: 9px;
  overflow-wrap: anywhere;
}
.badge {
  font-size: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  display: inline-block;
  border-radius: 20px;
  padding: 5px 8px;
  background: #edf3e9;
  color: #4c7051;
}
.badge.inactive {
  background: #f6eee1;
  color: #8b6a34;
}
.detail-card {
  background: white;
  border: 1px solid #e0e6de;
  border-radius: 12px;
  padding: 30px;
  min-height: 400px;
}
.empty-state {
  padding: 70px 25px;
  text-align: center;
}
.detail-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #edf0e9;
  padding-bottom: 20px;
  margin-bottom: 26px;
}
.detail-heading p {
  margin: 0;
  overflow-wrap: anywhere;
}
.detail-section {
  padding-bottom: 24px;
  margin-bottom: 26px;
  border-bottom: 1px solid #edf0e9;
}
.detail-section:last-child {
  border: 0;
  margin: 0;
}
.integration-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 0;
}
.integration-toggle {
  border: 1px solid #e1e7dd;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  font-size: 13px;
}
.integration-toggle input,
.checkbox input {
  width: 17px;
  height: 17px;
  min-height: 0;
  accent-color: #315c46;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.section-heading h3 {
  margin: 0;
}
.invoice {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid #edf0e9;
}
.invoice strong {
  display: block;
  margin-bottom: 7px;
}
.invoice p {
  font-size: 12px;
  margin: 0;
}
.invoice-amount {
  text-align: right;
  flex-shrink: 0;
}
.invoice-amount button {
  display: block;
  font-size: 11px;
  margin-top: 10px;
  padding: 6px 9px;
}
.login-card {
  max-width: 440px;
  margin: 25px auto;
  background: #fff;
  padding: 38px;
  border-radius: 16px;
  border: 1px solid #dfe6dc;
}
.login-card form {
  margin-top: 28px;
}
.login-card .primary {
  width: 100%;
}
.muted {
  font-size: 11px;
  color: #899283;
  margin-top: 20px;
  margin-bottom: 0;
}
.checkbox {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  font-weight: 400;
  line-height: 1.6;
  gap: 10px;
}
dialog {
  border: 1px solid #dce4d7;
  border-radius: 14px;
  width: min(520px, calc(100vw - 32px));
  padding: 28px;
  color: #223d34;
  box-shadow: 0 25px 100px #223b3526;
}
dialog::backdrop {
  background: #243d3655;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin-bottom: 16px;
}
.dialog-heading h2 {
  margin: 0;
}
#notice,
#error {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(680px, 90vw);
  padding: 14px 22px;
  border: 1px solid #baceb8;
  background: #eff6ec;
  border-radius: 10px;
  box-shadow: 0 6px 25px #293e2e12;
  z-index: 5;
}
#error {
  background: #fff0eb;
  border-color: #dbb3a6;
  color: #873e32;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
@media (max-width: 900px) {
  .workspace-grid {
    grid-template-columns: 1fr;
  }
  .deployment-list {
    grid-template-columns: repeat(2, 1fr);
  }
  main {
    padding-top: 28px;
  }
  .detail-card {
    padding: 22px;
  }
}
@media (max-width: 560px) {
  .deployment-list,
  .integration-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .summary-strip div {
    padding: 0 12px;
  }
  .summary-strip span {
    font-size: 10px;
  }
  h1 {
    font-size: 30px;
  }
  .brand small {
    margin-left: 8px;
  }
  .header-right span {
    display: none;
  }
  .login-card {
    padding: 26px;
  }
  .invoice {
    gap: 10px;
  }
}
/* Match customer-workspace controls without changing native keyboard behavior. */
select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23748179' stroke-width='1.8'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}
select:disabled {
  cursor: not-allowed;
}
[hidden] {
  display: none !important;
}
button:disabled {
  cursor: not-allowed;
}
@media (max-width: 760px) {
  .page-heading {
    flex-wrap: wrap;
  }
  header {
    padding: 0 20px;
  }
  main {
    padding: 28px 20px;
  }
  h1 {
    font-size: 28px;
  }
}
