:root {
  --navy: #142c3c;
  --ink: #203544;
  --muted: #71818c;
  --teal: #16796e;
  --line: #e4e9e9;
  --paper: #f6f8f8;
  --gold: #b59b61;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    Inter,
    Segoe UI,
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 14px;
  line-height: 1.55;
}
a {
  color: var(--teal);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
.button {
  font: inherit;
  border: 0;
  border-radius: 7px;
  background: var(--teal);
  color: white;
  padding: 11px 19px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 8px;
}
button:hover,
.button:hover {
  background: #106258;
  text-decoration: none;
}
.button.secondary,
button.secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}
.brand {
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  color: var(--navy);
  gap: 9px;
}
.brand:hover {
  text-decoration: none;
}
.brand-dot {
  color: var(--gold);
  margin-left: -8px;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  background: var(--teal);
  width: 34px;
  height: 38px;
  border-radius: 10px;
  color: white;
  font-size: 31px;
  font-family: Georgia, serif;
  font-weight: 700;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 249px;
  background: white;
  border-right: 1px solid var(--line);
  padding: 31px 23px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.workspace-label {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: var(--muted);
  margin: 39px 0 12px;
}
.org-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 9px;
  margin-bottom: 25px;
}
.org-badge > span,
.avatar {
  background: #e7efed;
  color: var(--teal);
  border-radius: 8px;
  padding: 7px 12px;
  font-weight: 600;
}
.org-badge strong {
  display: block;
  font-size: 12px;
}
.org-badge small {
  font-size: 10px;
  color: var(--muted);
}
nav {
  display: grid;
  gap: 5px;
}
nav a {
  color: #667580;
  border-radius: 7px;
  display: flex;
  gap: 12px;
  padding: 11px 13px;
  font-size: 13px;
}
nav a > span {
  width: 18px;
  font-size: 18px;
  line-height: 20px;
}
nav a.active {
  background: #eaf3ef;
  color: #146b61;
  font-weight: 600;
}
nav a:hover {
  background: #f0f5f3;
  text-decoration: none;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 25px 0 0;
  color: var(--muted);
  font-size: 11px;
}
.sidebar-bottom small {
  display: block;
  margin-top: 12px;
  font-size: 10px;
}
.secure-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  margin-right: 4px;
}
.main-wrap {
  margin-left: 249px;
}
.topbar {
  height: 78px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  padding: 0 40px;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb span {
  padding: 0 12px;
  color: #adb8bd;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.profile button {
  background: transparent;
  color: var(--muted);
  padding: 7px;
}
.avatar {
  border-radius: 50%;
}
.content {
  padding: 39px 40px 60px;
  max-width: 1500px;
  margin: auto;
  min-height: calc(100vh - 137px);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 29px;
  line-height: 1.3;
  letter-spacing: -0.8px;
  margin-bottom: 9px;
  font-weight: 600;
}
h2 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.2px;
  margin-bottom: 0;
}
h3 {
  font-size: 16px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.9px;
  color: var(--muted);
  font-weight: 600;
  display: block;
  margin-bottom: 9px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 29px;
}
.page-heading p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 23px;
  box-shadow: 0 2px 4px #142c3c02;
}
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 21px 24px;
}
.stat small {
  color: var(--muted);
  font-size: 11px;
}
.stat strong {
  font-size: 31px;
  display: block;
  font-weight: 500;
  margin: 8px 0 2px;
}
.stat span {
  font-size: 10px;
  color: var(--teal);
}
.hero {
  padding: 30px 33px;
  border: 1px solid #dce8e2;
  background: linear-gradient(115deg, #e9f3ee, #f4f6ef);
  border-radius: 10px;
  margin-bottom: 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.hero h2 {
  font-size: 23px;
  margin-bottom: 8px;
}
.hero p {
  color: #687e78;
  margin-bottom: 0;
  max-width: 600px;
}
.hero-symbol {
  font-size: 65px;
  color: #97b9a5;
  line-height: 1;
}
.product-icon {
  font-size: 26px;
  background: #e9f2ee;
  display: inline-grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border-radius: 10px;
  margin-bottom: 17px;
  color: var(--teal);
}
.product-card h3 {
  font-size: 19px;
  margin: 0 0 8px;
}
.product-card p {
  color: var(--muted);
  min-height: 44px;
  font-size: 13px;
}
.product-card .button {
  margin-top: 12px;
}
.reserved {
  background: #f9faf9;
}
.reserved .product-icon {
  background: #efede7;
  color: #a18e67;
}
.badge {
  display: inline-block;
  padding: 4px 9px;
  font-size: 10px;
  border-radius: 5px;
  background: #f0f2f3;
  color: #667580;
  text-transform: capitalize;
  white-space: nowrap;
}
.badge.active,
.badge.open,
.badge.certified,
.badge.enabled {
  background: #e6f3ec;
  color: #267655;
}
.badge.draft,
.badge.scheduled {
  background: #faf1dd;
  color: #9a7a2e;
}
.badge.closed,
.badge.disabled {
  background: #eeeef2;
  color: #6e6c87;
}
.muted {
  color: var(--muted);
}
small {
  font-size: 12px;
}
label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 17px;
}
input,
select,
textarea {
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  border: 1px solid #d8e0e1;
  border-radius: 6px;
  background: #fff;
  padding: 11px 12px;
  width: 100%;
  outline: none;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px #16796e12;
}
textarea {
  resize: vertical;
  min-height: 100px;
}
input[type="checkbox"],
input[type="radio"] {
  width: auto;
  margin-right: 9px;
}
label.choice {
  display: block;
  border: 1px solid var(--line);
  padding: 13px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 400;
}
.row {
  display: flex;
  gap: 14px;
  align-items: end;
}
.row > label {
  flex: 1;
}
.inline {
  display: inline;
}
.inline button {
  padding: 7px 11px;
  font-size: 11px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
th {
  font-weight: 500;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  border-bottom: 1px solid var(--line);
  padding: 12px 9px;
}
td {
  padding: 15px 9px;
  border-bottom: 1px solid #eff2f3;
  vertical-align: middle;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.empty {
  text-align: center;
  padding: 36px 10px;
  color: var(--muted);
}
.empty h3 {
  color: var(--ink);
  font-size: 14px;
  margin: 10px 0 4px;
}
.empty p {
  font-size: 12px;
  margin: 0;
}
.empty-icon {
  font-size: 35px;
  color: #a9bbb5;
}
.notice {
  padding: 15px 19px;
  background: #edf6f0;
  border: 1px solid #d8e9de;
  border-radius: 7px;
  margin-bottom: 23px;
  color: #28644b;
}
.warning {
  background: #fff5df;
  border-color: #f1e2bd;
  color: #7d622d;
}
.danger {
  color: #b52c36;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.link-box {
  font-family: monospace;
  font-size: 12px;
  word-break: break-all;
  background: var(--paper);
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 19px 40px;
  color: #8a999f;
  font-size: 10px;
}
footer span {
  float: right;
}
.public-layout {
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 100vh;
}
.welcome {
  padding: 48px 60px;
  background: #152e3b;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  background-image: radial-gradient(
    ellipse at bottom right,
    #25635970,
    transparent 70%
  );
}
.welcome .brand {
  color: white;
}
.welcome .eyebrow {
  color: #9bbbae;
}
.welcome h1 {
  font-size: 47px;
  line-height: 1.18;
  letter-spacing: -1.7px;
  font-weight: 500;
  margin: 20px 0;
}
.welcome p {
  font-size: 15px;
  line-height: 1.9;
  color: #b5c7cb;
  max-width: 355px;
}
.welcome-rule {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin: 32px 0 18px;
}
.welcome small {
  color: #b5c7cb;
}
.welcome-footer {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #7f9ba4;
}
.public-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fcfdfc;
  padding: 45px 28px;
  position: relative;
}
.auth-card {
  width: 100%;
  max-width: 400px;
}
.auth-card > h1 {
  font-size: 28px;
  margin-bottom: 12px;
}
.auth-card form {
  margin-top: 25px;
}
.auth-card button {
  width: 100%;
  margin-top: 6px;
}
.public-main footer {
  position: absolute;
  bottom: 10px;
  border: 0;
}
.question {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 20px;
}
.question h3 {
  font-size: 16px;
}
.question .remove-question {
  background: transparent;
  color: #a85e5e;
  padding: 2px;
  float: right;
}
.bars {
  display: grid;
  gap: 11px;
  margin: 20px 0;
}
.bar {
  display: flex;
  gap: 10px;
  align-items: center;
}
.bar label {
  width: 150px;
  margin: 0;
  font-weight: 400;
}
.bar meter {
  width: 100%;
  height: 17px;
}
.audit-action {
  font-family: monospace;
  font-size: 11px;
}
.back {
  display: block;
  margin-bottom: 20px;
  font-size: 12px;
}
@media (max-width: 1000px) {
  .sidebar {
    width: 209px;
    padding: 25px 16px;
  }
  .main-wrap {
    margin-left: 209px;
  }
  .content {
    padding: 28px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .welcome {
    padding: 40px;
  }
  .welcome h1 {
    font-size: 38px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .sidebar {
    position: relative;
    width: auto;
    padding: 16px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .brand {
    font-size: 24px;
  }
  .workspace-label,
  .org-badge,
  .sidebar-bottom {
    display: none;
  }
  nav {
    display: flex;
    overflow: auto;
    margin-top: 16px;
    gap: 4px;
  }
  nav a {
    white-space: nowrap;
    font-size: 11px;
    padding: 9px;
  }
  nav a > span {
    display: none;
  }
  .main-wrap {
    margin: 0;
  }
  .topbar {
    height: 62px;
    padding: 0 20px;
  }
  .breadcrumb {
    display: none;
  }
  .profile {
    margin-left: auto;
  }
  .content {
    padding: 25px 18px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  h1 {
    font-size: 26px;
  }
  .stats {
    gap: 8px;
  }
  .stat {
    padding: 14px 12px;
  }
  .stat strong {
    font-size: 25px;
  }
  .stat small {
    font-size: 10px;
  }
  .stat span {
    display: none;
  }
  .hero {
    padding: 23px;
  }
  .hero-symbol {
    display: none;
  }
  .card {
    padding: 20px 16px;
  }
  .row {
    display: block;
  }
  .public-layout {
    display: block;
  }
  .welcome {
    min-height: auto;
    padding: 24px;
  }
  .welcome > div,
  .welcome-footer {
    display: none;
  }
  .public-main {
    min-height: calc(100vh - 86px);
    padding: 35px 24px 75px;
  }
  footer {
    padding: 18px;
  }
  footer span {
    display: none;
  }
  .actions {
    gap: 7px;
  }
}
