:root {
  --cos-bg: #f4f6f3;
  --cos-ink: #17211d;
  --cos-muted: #66736e;
  --cos-line: #dde5df;
  --cos-panel: #ffffff;
  --cos-soft: #eef5f0;
  --cos-accent: #137a5b;
  --cos-accent-2: #c89b3c;
  --cos-danger: #b42318;
  --cos-warn: #b45309;
  --cos-shadow: 0 20px 60px rgba(23, 33, 29, .08);
}

body:has(.cos-auth),
body:has(.cos-app),
body:has(.cos-shell) {
  margin: 0;
  background: var(--cos-bg);
  color: var(--cos-ink);
}

.cos-auth,
.cos-shell,
.cos-app {
  font-family: Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}

.cos-auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.cos-auth--split {
  grid-template-columns: minmax(280px, 520px) minmax(320px, 560px);
  gap: 24px;
  align-items: stretch;
}

.cos-auth__intro,
.cos-auth__panel,
.cos-panel,
.cos-plan {
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--cos-line);
  border-radius: 8px;
  box-shadow: var(--cos-shadow);
}

.cos-auth__intro {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(140deg, rgba(19, 122, 91, .12), rgba(200, 155, 60, .10)),
    #ffffff;
}

.cos-auth__panel {
  width: min(460px, 100%);
  padding: 28px;
  align-self: center;
  justify-self: center;
}

.cos-auth__panel--wide {
  width: min(760px, 100%);
}

.cos-brand {
  color: var(--cos-accent);
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 12px;
}

.cos-eyebrow {
  color: var(--cos-accent);
  font-weight: 800;
  margin: 0 0 8px;
}

.cos-lead,
.cos-muted {
  color: var(--cos-muted);
  line-height: 1.8;
}

.cos-auth h1,
.cos-shell h1,
.cos-app h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.2;
}

.cos-auth__panel h1,
.cos-panel h2,
.cos-plan h2 {
  font-size: 24px;
}

.cos-auth__intro p,
.cos-plan p {
  color: var(--cos-muted);
  line-height: 1.9;
}

.cos-proof-grid,
.cos-info-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.cos-proof-grid span,
.cos-info-band article {
  border: 1px solid var(--cos-line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.cos-info-band {
  width: min(1120px, 100%);
  margin: 24px auto 0;
}

.cos-info-band article {
  display: grid;
  gap: 6px;
}

.cos-info-band strong {
  color: var(--cos-ink);
}

.cos-info-band span {
  color: var(--cos-muted);
  line-height: 1.7;
}

.cos-info-band--compact {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0;
}

.cos-feature-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.cos-feature-list li {
  padding: 10px 14px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--cos-line);
  border-radius: 8px;
}

.cos-form {
  display: grid;
  gap: 14px;
}

.cos-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.cos-form input,
.cos-form select,
.cos-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--cos-line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fff;
  color: var(--cos-ink);
  font: inherit;
}

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

.cos-span-2 {
  grid-column: 1 / -1;
}

.cos-button,
.cos-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--cos-accent);
  color: #fff !important;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}

.cos-button:hover {
  filter: brightness(.96);
}

.cos-link-button {
  background: transparent;
  color: var(--cos-ink) !important;
  border: 1px solid var(--cos-line);
}

.cos-notice {
  border: 1px solid var(--cos-line);
  border-inline-start: 4px solid var(--cos-accent);
  padding: 13px 14px;
  background: #f9fbfa;
  border-radius: 8px;
  line-height: 1.7;
}

.cos-notice--error {
  border-inline-start-color: var(--cos-danger);
}

.cos-shell {
  min-height: 100vh;
  padding: 34px 16px;
}

.cos-page-head {
  width: min(1120px, 100%);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto 22px;
}

.cos-pricing {
  display: block;
}

.cos-plan-grid {
  width: min(1120px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.cos-plan {
  position: relative;
  padding: 26px;
}

.cos-plan--featured {
  border-color: rgba(19, 122, 91, .45);
}

.cos-badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff6df;
  color: #8a5d05;
  font-weight: 900;
  font-size: 13px;
}

.cos-price {
  font-size: 40px;
  font-weight: 900;
  margin: 18px 0;
}

.cos-price small {
  font-size: 14px;
  color: var(--cos-muted);
}

.cos-plan ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 22px;
  list-style: none;
  min-height: 160px;
}

.cos-plan li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--cos-muted);
}

.cos-plan li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--cos-accent);
}

.cos-segment {
  display: flex;
  border: 1px solid var(--cos-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.cos-segment button {
  border: 0;
  background: #fff;
  padding: 11px 16px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.cos-segment .is-active {
  background: var(--cos-accent);
  color: #fff;
}

.cos-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 14px;
  border: 1px solid var(--cos-line);
  background: var(--cos-soft);
  border-radius: 8px;
  padding: 14px;
}

.cos-summary span {
  color: var(--cos-muted);
}

.cos-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
  background: var(--cos-bg);
}

.cos-sidebar {
  background: #13231d;
  color: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cos-sidebar .cos-brand {
  color: #fff;
}

.cos-sidebar__caption {
  color: #aab8b2;
  margin: -4px 0 14px;
}

.cos-sidebar a {
  color: #dfe9e4;
  text-decoration: none;
  padding: 11px 12px;
  border-radius: 8px;
  font-weight: 800;
}

.cos-sidebar a.is-active,
.cos-sidebar a:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.cos-main {
  padding: 28px;
  min-width: 0;
}

.cos-topbar {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.cos-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.cos-cards article {
  background: #fff;
  border: 1px solid var(--cos-line);
  border-radius: 8px;
  padding: 17px;
}

.cos-cards span,
.cos-cards small {
  display: block;
  color: var(--cos-muted);
  line-height: 1.7;
}

.cos-cards strong {
  display: block;
  font-size: 24px;
  margin: 5px 0;
}

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

.cos-panel {
  padding: 22px;
}

.cos-detail-panel {
  width: min(900px, 100%);
  margin: auto;
}

.cos-table {
  width: 100%;
  border-collapse: collapse;
}

.cos-table th,
.cos-table td {
  border-bottom: 1px solid var(--cos-line);
  padding: 11px 10px;
  text-align: start;
}

.cos-table th {
  color: var(--cos-muted);
  font-size: 13px;
}

.cos-alert {
  border: 1px solid var(--cos-line);
  border-inline-start: 4px solid var(--cos-accent);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  background: #fff;
}

.cos-alert p {
  color: var(--cos-muted);
  line-height: 1.7;
}

.cos-alert small {
  color: var(--cos-ink);
}

.cos-alert--medium {
  border-inline-start-color: var(--cos-warn);
}

.cos-alert--high {
  border-inline-start-color: var(--cos-danger);
}

@media (max-width: 920px) {
  .cos-auth--split,
  .cos-plan-grid,
  .cos-cards,
  .cos-dashboard-grid,
  .cos-app,
  .cos-proof-grid,
  .cos-info-band,
  .cos-info-band--compact {
    grid-template-columns: 1fr;
  }

  .cos-sidebar {
    position: static;
  }

  .cos-page-head,
  .cos-topbar {
    display: grid;
    align-items: start;
  }

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

  .cos-span-2 {
    grid-column: auto;
  }
}
