:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #19372b;
  background: #f5f6f2;
  font-synthesis: none;
  line-height: 1.5;
  font-size: 15px;
  --green: #23543b;
  --muted: #65756c;
  --border: #dfe5dd;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  outline-offset: 4px;
}
button {
  border: 1px solid var(--green);
  border-radius: 8px;
  padding: 11px 17px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.15s;
}
button:hover {
  background: #173d2a;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button.secondary {
  background: transparent;
  color: var(--green);
  border-color: #b9c9ba;
}
button.secondary:hover {
  background: #e8eee5;
}
button.nav {
  display: block;
  text-align: left;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
  margin: 4px 0;
  padding: 12px;
}
button.nav.active {
  background: #e7ede2;
  color: #244a34;
  font-weight: 650;
}
input,
select {
  display: block;
  width: 100%;
  border: 1px solid #c8d3c8;
  border-radius: 7px;
  background: white;
  color: #1f382d;
  padding: 11px 12px;
  min-height: 46px;
}
input:focus,
select:focus {
  outline: 2px solid #6d946e;
  border-color: transparent;
}
label {
  display: grid;
  gap: 7px;
  font-weight: 550;
  font-size: 0.9rem;
}
form {
  display: grid;
  gap: 20px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 2.2rem;
  font-weight: 550;
  letter-spacing: -1px;
  line-height: 1.18;
  margin-bottom: 12px;
}
h2 {
  font-size: 1.3rem;
  letter-spacing: -0.3px;
  font-weight: 600;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.02rem;
  margin-top: 30px;
}
p {
  color: var(--muted);
  line-height: 1.65;
}
small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 400;
  margin-top: 3px;
}
.topbar {
  height: 88px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 5vw;
  gap: 20px;
  background: #f9faf6;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 650;
  letter-spacing: -0.7px;
}
.brand-icon {
  display: grid;
  place-items: center;
  background: #28513b;
  color: #d8efb9;
  width: 35px;
  height: 39px;
  border-radius: 11px 11px 3px 11px;
  font-family: Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}
.byline {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  border-left: 1px solid #cbd3c8;
  padding-left: 20px;
  color: var(--muted);
}
.account {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.85rem;
}
.login-layout {
  max-width: 1180px;
  margin: auto;
  min-height: calc(100vh - 156px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 100px;
  padding: 64px 30px;
}
.intro h1 {
  font-size: clamp(2.7rem, 4vw, 4rem);
  letter-spacing: -2px;
  max-width: 490px;
}
.intro > p {
  max-width: 420px;
  font-size: 1.05rem;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 1.7px;
  font-weight: 650;
  color: #6a7966;
  display: block;
  margin-bottom: 18px;
}
.login-card {
  background: #fff;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 45px #294c2d06;
}
.login-card h2 {
  margin-top: 4px;
  font-size: 1.65rem;
}
.login-card > button {
  margin-top: 18px;
}
.hint {
  font-size: 0.8rem;
  margin: -12px 0 0;
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  margin-top: 5px;
}
.checkbox input {
  width: 17px;
  height: 17px;
  min-height: 0;
  accent-color: var(--green);
}
.code-input {
  font-size: 1.3rem;
  letter-spacing: 7px;
}
.screen-art {
  background: #e8eddf;
  border-radius: 22px;
  width: 240px;
  padding: 22px 38px;
  transform: rotate(-5deg);
  margin: 40px 0 15px 40px;
  box-shadow: 26px 16px 0 #ecede4;
}
.screen-art > div {
  background: #d8ecb5;
  border: 8px solid #254635;
  border-radius: 8px;
  aspect-ratio: 9/13;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  color: #284b2b;
}
.screen-art span {
  text-transform: uppercase;
  font-size: 0.48rem;
  letter-spacing: 1px;
}
.screen-art i {
  font-family: Georgia, serif;
  font-size: 1.8rem;
  line-height: 1.06;
  letter-spacing: -0.8px;
}
.app-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: calc(100vh - 158px);
}
aside {
  padding: 35px 20px;
  border-right: 1px solid var(--border);
  background: #f0f3eb;
}
aside select {
  font-size: 0.9rem;
}
nav {
  margin-top: 25px;
}
.aside-note {
  font-size: 0.8rem;
  margin: 40px 10px;
  color: #778275;
}
.workspace {
  padding: 45px 5vw;
  max-width: 1190px;
  width: 100%;
}
.page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.page-heading .eyebrow {
  margin-bottom: 10px;
}
.page-heading p {
  margin-bottom: 0;
}
.page-heading > button {
  flex-shrink: 0;
}
.panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
}
.form-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  align-items: end;
}
.form-grid button {
  min-height: 46px;
}
.row {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #edf0e9;
}
.row:last-child {
  border-bottom: 0;
}
.row strong {
  font-weight: 550;
  overflow-wrap: anywhere;
}
.inline {
  display: flex;
  align-items: center;
  gap: 12px;
}
.inline select {
  font-size: 0.85rem;
}
.badge {
  font-size: 0.72rem;
  background: #e8efde;
  color: #3b603c;
  padding: 4px 12px;
  border-radius: 20px;
}
.alert {
  padding: 14px 17px;
  border-radius: 8px;
  margin-bottom: 22px;
  font-size: 0.92rem;
}
.error {
  color: #8b3330;
  background: #fff0eb;
  border: 1px solid #f0cec5;
}
.success {
  color: #265d37;
  background: #edf5e6;
  border: 1px solid #d6e7c7;
}
.activation-reason[hidden] {
  display: none;
}
/* A copy of a save result that appeared outside the viewport (feedback-toast.ts). */
.toast-stack {
  position: fixed;
  inset: 16px 16px auto auto;
  inline-size: min(26rem, calc(100vw - 32px));
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}
.toast-stack:not(:popover-open) {
  display: none;
}
.toast-stack:popover-open {
  display: grid;
  gap: 8px;
}
.toast {
  display: flex;
  align-items: center;
  gap: 8px 12px;
  padding: 12px 12px 12px 16px;
  border-radius: 8px;
  box-shadow: 0 8px 24px #14212c29;
  font-size: 0.92rem;
}
.toast.warning {
  color: var(--color-warning);
  background: var(--color-warning-soft);
  border: 1px solid currentColor;
}
.toast p {
  flex: 1;
  margin: 0;
}
.toast-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 4px;
}
.toast-close {
  min-inline-size: 32px;
  min-block-size: 32px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font-size: 1.25rem;
  line-height: 1;
}
@media (max-width: 640px) {
  .toast-stack {
    inset-inline: 16px;
    inline-size: auto;
  }
}
.dev-box {
  border-top: 1px dashed #cdd6c8;
  margin-top: 28px;
  padding-top: 20px;
  font-size: 0.78rem;
  color: #6c7e67;
}
.dev-box .inline {
  flex-wrap: wrap;
}
.dev-box button {
  font-size: 0.75rem;
  padding: 6px 10px;
}
.dev-box p {
  margin: 12px 0;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d39e43;
}
.mail {
  margin-top: 16px;
  padding: 12px;
  background: #f5f6f1;
  border-radius: 5px;
  overflow-wrap: anywhere;
}
.mail p {
  color: #304f36;
  white-space: pre-wrap;
  font-size: 0.85rem;
}
.secret {
  display: block;
  font-size: 1rem;
  overflow-wrap: anywhere;
  background: #f0f4e9;
  border: 1px solid var(--border);
  padding: 16px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
footer {
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: #84907d;
  padding: 24px 5vw;
  display: flex;
  gap: 12px;
}
.loading {
  padding: 60px;
  text-align: center;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 900px) {
  .login-layout {
    gap: 36px;
    padding: 40px 24px;
  }
  .intro h1 {
    font-size: 2.8rem;
  }
  .login-card {
    padding: 28px;
  }
  .screen-art {
    margin-left: 10px;
    width: 200px;
  }
  .app-layout {
    grid-template-columns: 210px 1fr;
  }
  .workspace {
    padding: 30px 24px;
  }
  .account span {
    display: none;
  }
  .row {
    flex-wrap: wrap;
  }
}
@media (max-width: 640px) {
  .topbar {
    height: 74px;
    padding: 0 20px;
  }
  .byline {
    display: none;
  }
  .login-layout {
    display: block;
    padding: 32px 20px;
  }
  .intro h1 {
    font-size: 2.6rem;
  }
  .intro > p {
    font-size: 0.93rem;
  }
  .screen-art {
    display: none;
  }
  .intro {
    margin-bottom: 30px;
  }
  .login-card {
    padding: 26px 22px;
  }
  .app-layout {
    display: block;
  }
  aside {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 20px;
  }
  aside .eyebrow,
  .aside-note {
    display: none;
  }
  nav {
    display: flex;
    margin-top: 12px;
    gap: 4px;
  }
  button.nav {
    font-size: 0.82rem;
    padding: 10px;
  }
  .workspace {
    padding: 28px 16px;
  }
  .page-heading {
    display: block;
  }
  .page-heading > button {
    margin-top: 18px;
  }
  .panel {
    padding: 22px 18px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .row .inline {
    width: 100%;
  }
  .row .inline select {
    flex: 1;
  }
  .account {
    gap: 0;
  }
  .account button {
    font-size: 0.8rem;
    padding: 8px 12px;
  }
  h1 {
    font-size: 1.8rem;
  }
}
/* The platform's dynamic price table: three lead-time rows by three occupancy columns. */
.market-dynamic-table {
  min-width: 0;
  overflow-x: auto;
}
.market-dynamic-table table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}
.market-dynamic-table th,
.market-dynamic-table td {
  padding: 4px 6px;
  text-align: left;
  font-size: 13px;
}
.market-dynamic-table input {
  width: 100%;
  min-width: 0;
}
