@import url("/static/theme.css");
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font:
    16px/1.55 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #bb7600;
}
a {
  color: var(--brand);
}
button {
  border: 1px solid var(--brand);
  background: var(--brand);
  color: white;
  padding: 0.7rem 1.1rem;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 600;
  min-height: 44px;
}
button:hover {
  filter: brightness(0.9);
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button.secondary {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}
button.danger {
  background: var(--danger);
  border-color: var(--danger);
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #a4b0ba;
  border-radius: 6px;
  padding: 0.75rem;
  background: white;
  color: var(--ink);
}
textarea {
  min-height: 112px;
  resize: vertical;
}
label {
  display: block;
  font-weight: 600;
  margin: 0 0 0.4rem;
}
label:has(input[type="checkbox"]) {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 400;
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex: 0 0 20px;
  accent-color: var(--brand);
}
.field {
  margin-bottom: 1.3rem;
}
.help {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.3rem 0 0;
}
.shell {
  display: grid;
  grid-template-columns: 232px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: var(--nav);
  color: #fff;
  padding: 2rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  color: white;
  text-decoration: none;
  display: flex;
  gap: 0.7rem;
  align-items: center;
}
.brand-mark {
  border: 2px solid #86d4c8;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #86d4c8;
  font-size: 16px;
}
.sidebar nav {
  display: grid;
  gap: 0.3rem;
}
.sidebar nav button {
  background: none;
  border: 0;
  text-align: left;
  color: #c6d1dc;
  font-weight: 500;
  padding: 0.7rem 0.8rem;
  min-height: 46px;
}
.sidebar nav button.active {
  background: #233c4a;
  color: #fff;
  box-shadow: inset 3px 0 #6ed0b8;
}
.sidebar .bottom {
  margin-top: auto;
  color: #b9c5cf;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}
.sidebar .bottom button {
  margin-top: 1rem;
  color: #e9f0f5;
  background: none;
  border-color: #53616e;
}
.work {
  min-width: 0;
}
.topbar {
  height: 76px;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #fff;
  gap: 1rem;
}
.topbar strong {
  font-size: 0.95rem;
}
.topbar .status {
  font-size: 0.875rem;
}
.workspace {
  max-width: 1320px;
  margin: auto;
  padding: 2.7rem 3rem 5rem;
}
.eyebrow {
  font-size: 0.875rem;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1 {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin: 0.4rem 0 1rem;
}
h2 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}
p {
  margin: 0.5rem 0 1rem;
}
.lede {
  color: var(--muted);
  max-width: 680px;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  gap: 2rem;
}
.page-head h1 {
  margin-top: 0;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.7rem;
  margin-bottom: 1.3rem;
}
.panel.tint {
  background: #edf7f3;
  border-color: #bdddd1;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  margin-bottom: 2rem;
}
.metric {
  padding: 1.5rem;
  border-right: 1px solid var(--line);
}
.metric:last-child {
  border: 0;
}
.metric strong {
  display: block;
  font-size: 2.1rem;
  letter-spacing: -0.05em;
}
.metric span {
  color: var(--muted);
  font-size: 0.9rem;
}
.row {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}
.tag {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  background: #edf1f5;
  color: #344e61;
  font-size: 0.8rem;
  font-weight: 650;
  white-space: nowrap;
}
.tag.good {
  background: #dcf0e7;
  color: #16553d;
}
.tag.warn {
  background: #fff0d6;
  color: #765000;
}
.tag.bad {
  background: #ffe4df;
  color: #972b1c;
}
.empty {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--muted);
}
.empty h2 {
  color: var(--ink);
}
.step {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child {
  border: 0;
}
.step-num {
  width: 32px;
  height: 32px;
  border: 1px solid #c1ccd4;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  color: var(--muted);
}
.step.done .step-num {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}
.step p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.3rem;
}
.full {
  grid-column: 1/-1;
}
.form-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.6rem;
}
.tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.tabs button {
  background: none;
  color: var(--muted);
  border: 0;
}
.tabs button.active {
  background: #dceee7;
  color: #104d3c;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}
th {
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.8rem;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 1rem 0.8rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
td button {
  font-size: 0.85rem;
  min-height: 38px;
  padding: 0.45rem 0.7rem;
}
td small {
  display: block;
  color: var(--muted);
}
.banner {
  padding: 1rem 1.2rem;
  border-left: 4px solid #be852a;
  background: #fff5e2;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}
.banner.error {
  background: #fff0ec;
  border-left-color: var(--danger);
}
.email {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 1rem;
  background: white;
}
.email pre,
.prose {
  font: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.email .meta {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.email footer {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.plan-price {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}
.plan-price small {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 400;
}
.allowance {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}
progress {
  width: 100%;
  height: 8px;
  accent-color: var(--brand);
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-intro {
  background: var(--nav);
  padding: 10vh 8vw;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-intro h1 {
  font-size: 3rem;
  max-width: 400px;
  line-height: 1.08;
  margin-top: 3rem;
}
.login-intro p {
  color: #c6d1dc;
  max-width: 430px;
}
.login-form {
  align-self: center;
  padding: 4rem 7vw;
}
.login-form h1 {
  font-size: 2rem;
}
.login-form .signin {
  display: block;
  text-align: center;
  background: var(--brand);
  color: white;
  text-decoration: none;
  border-radius: 7px;
  padding: 0.85rem;
  margin: 1.5rem 0;
}
.legal-links {
  font-size: 0.875rem;
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
.loading,
.notice {
  max-width: 800px;
  margin: 10vh auto;
  padding: 2rem;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 20;
  background: white;
  padding: 1rem;
}
.skip:focus {
  top: 1rem;
}
#toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  max-width: 420px;
  background: #133e30;
  color: white;
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 8px 30px #0002;
  z-index: 100;
}
#toast.show {
  padding: 1rem 1.3rem;
}
#toast.error {
  background: #862e23;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.muted {
  color: var(--muted);
}
.danger-text {
  color: var(--danger);
}
.small {
  font-size: 0.9rem;
}
.stack {
  display: grid;
  gap: 0.8rem;
}
.toggleline {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.toggleline label {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.6rem;
}
.note {
  font-size: 0.875rem;
  color: var(--muted);
}
details {
  margin-top: 1rem;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.6rem 0;
}
code {
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}
@media (max-width: 1050px) {
  .sidebar {
    width: 190px;
  }
  .shell {
    grid-template-columns: 190px 1fr;
  }
  .workspace {
    padding: 2rem 1.5rem;
  }
  .topbar {
    padding: 0 1.5rem;
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .metric:nth-child(2) {
    border: 0;
  }
  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 700px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 1rem;
    gap: 1rem;
  }
  .sidebar nav {
    display: flex;
    overflow-x: auto;
  }
  .sidebar nav button {
    white-space: nowrap;
    flex: 0 0 auto;
  }
  .sidebar .bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.75rem;
    margin-top: 0;
  }
  .sidebar .bottom strong,
  .sidebar .bottom div {
    overflow-wrap: anywhere;
  }
  .sidebar .bottom button {
    grid-column: 2;
    grid-row: 1 / 3;
    width: auto;
    margin: 0;
  }
  .topbar {
    height: auto;
    min-height: 60px;
    padding: 0.7rem 1rem;
  }
  .workspace {
    padding: 1.5rem 1rem 4rem;
  }
  .page-head {
    display: block;
    margin-bottom: 1.5rem;
  }
  .form-grid {
    display: block;
  }
  .panel {
    padding: 1.2rem;
  }
  .metrics {
    margin-top: 1rem;
  }
  .metric {
    padding: 1rem;
  }
  .metric strong {
    font-size: 1.7rem;
  }
  .login {
    display: block;
  }
  .login-intro {
    padding: 2rem;
  }
  .login-intro h1 {
    font-size: 2rem;
    margin-top: 2rem;
  }
  .login-form {
    padding: 2rem;
  }
  .step {
    grid-template-columns: 32px 1fr;
  }
  .step button {
    grid-column: 2;
    justify-self: start;
  }
  h1 {
    font-size: 1.75rem;
  }
  .row {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}
/* Keep conditional form fields out of the visual and accessibility trees. */
[hidden] {
  display: none !important;
}
