:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #213a32;
  background: #f5f7f3;
  font-size: 14px;
  font-synthesis: none;
  --green: #194d3b;
  --muted: #607069;
  --line: #dce3d9;
  --cream: #edf2e4;
  --red: #913a32;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
button,
.button {
  border: 1px solid var(--line);
  background: white;
  color: #29483c;
  padding: 11px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
button:hover,
.button:hover {
  background: #edf2e8;
}
button.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
button.primary:hover {
  background: #103b2c;
}
button.danger {
  color: var(--red);
  border-color: #dfb7b1;
}
button.text {
  background: transparent;
  border-color: transparent;
  padding: 8px;
}
.skip {
  position: fixed;
  left: 12px;
  top: -60px;
  background: white;
  padding: 12px;
  z-index: 20;
}
.skip:focus {
  top: 10px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 34px;
  letter-spacing: -1.2px;
  line-height: 1.2;
  font-weight: 650;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 15px;
}
p {
  line-height: 1.6;
}
small,
.muted {
  color: var(--muted);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 10px;
  font-weight: 750;
  color: #536957;
  margin-bottom: 12px;
}
.brand {
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -1.7px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand svg {
  width: 31px;
  height: 31px;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 2.1px;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 5px;
}
.layout {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  padding: 34px 22px 22px;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 42px;
}
.sidebar nav {
  display: grid;
  gap: 7px;
}
.sidebar nav button {
  justify-content: flex-start;
  border: 0;
  background: transparent;
  font-weight: 500;
  padding: 14px;
}
.sidebar nav button.active {
  background: var(--cream);
  color: var(--green);
}
.sidebar footer {
  margin-top: auto;
  font-size: 12px;
  line-height: 1.7;
}
.secure {
  display: flex;
  align-items: center;
  gap: 7px;
}
.secure:before {
  content: "";
  background: #728e59;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.topbar {
  padding: 19px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.topbar .identity {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 16px;
}
.avatar {
  background: var(--cream);
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
}
.workspace {
  padding: 42px;
  max-width: 1500px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.page-heading p {
  color: var(--muted);
  margin-top: 10px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 23px;
}
.stat > span {
  font-size: 12px;
  color: var(--muted);
}
.stat strong {
  display: block;
  font-size: 30px;
  font-weight: 550;
  margin: 12px 0 5px;
  letter-spacing: -0.8px;
}
.stat small {
  font-size: 12px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 22px;
}
.card-head {
  padding: 24px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.card-body {
  padding: 26px;
}
.card-head p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
}
.search input {
  width: 230px;
}
input,
select,
textarea {
  border: 1px solid #cbd5c6;
  border-radius: 7px;
  background: white;
  color: #243b30;
  padding: 12px;
  width: 100%;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 8px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #85a76a;
  border-color: transparent;
}
input[type="checkbox"] {
  width: auto;
  margin: 0 8px 0 0;
  accent-color: var(--green);
}
.field {
  margin-bottom: 20px;
}
.field small {
  display: block;
  line-height: 1.5;
  margin-top: 7px;
  font-weight: 400;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #617060;
  font-weight: 600;
  background: #fafbf8;
}
th,
td {
  padding: 17px 24px;
  border-bottom: 1px solid #edf0e9;
}
td {
  font-size: 13px;
}
td strong {
  font-weight: 600;
  display: block;
}
td small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
}
.shop-name {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pill {
  display: inline-flex;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  background: #edf4e8;
  color: #456037;
  white-space: nowrap;
}
.pill.warning {
  background: #fff2da;
  color: #866015;
}
.pill.bad {
  background: #faeae7;
  color: #943d33;
}
.pill.neutral {
  background: #eef0ee;
  color: #5c685f;
}
.pager {
  display: flex;
  justify-content: space-between;
  padding: 17px 24px;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.empty {
  padding: 62px 30px;
  text-align: center;
}
.empty h2 {
  margin: 16px 0 10px;
}
.empty p {
  max-width: 420px;
  margin: 0 auto 22px;
  color: var(--muted);
}
.notice {
  border: 1px solid #d4ddc6;
  background: #f1f5e9;
  border-radius: 8px;
  padding: 15px 18px;
  font-size: 13px;
  line-height: 1.65;
  margin: 15px 0;
}
.notice.warn {
  background: #fff8e9;
  border-color: #edd7a3;
  color: #755312;
}
.notice.error,
.error {
  color: #8c322b;
}
.notice.error {
  background: #fff0ed;
  border-color: #edc4bf;
}
.error {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 15px;
}
.back {
  margin-bottom: 20px;
}
.grid2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
}
.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 0;
}
.details dt {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 7px;
}
.details dd {
  margin: 0;
  font-weight: 550;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.code {
  background: #f6f8f3;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  word-break: break-all;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.7;
  margin: 16px 0;
}
.help {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.stack {
  display: grid;
  gap: 14px;
}
.installation {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.installation:first-child {
  padding-top: 0;
}
.installation:last-child {
  border: 0;
  padding-bottom: 0;
}
.installation code {
  font-size: 11px;
  overflow-wrap: anywhere;
  display: block;
  margin: 8px 0;
}
.renewal {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.renewal:first-child {
  padding-top: 0;
}
.renewal:last-child {
  border: 0;
}
.event {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid #edf0e9;
  font-size: 12px;
}
.event time {
  color: var(--muted);
}
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-story {
  background: #173e31;
  color: #eff4e8;
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}
.login-story .brand small {
  color: #cad7bd;
}
.login-story h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 60px;
  line-height: 1.1;
  letter-spacing: -2px;
  max-width: 480px;
}
.login-story p {
  color: #cad7bd;
  max-width: 390px;
  margin-top: 23px;
  font-size: 15px;
}
.login-story .eyebrow {
  color: #bbcba9;
}
.login-story footer {
  font-size: 12px;
  color: #cad7bd;
}
.login-form {
  display: grid;
  place-items: center;
  padding: 40px;
}
.login-inner {
  max-width: 385px;
  width: 100%;
}
.login-inner h1 {
  font-size: 29px;
  margin-bottom: 12px;
}
.login-inner > p {
  color: var(--muted);
  margin-bottom: 30px;
}
.login-inner button {
  width: 100%;
}
.login-inner .help {
  margin-top: 22px;
}
.loading {
  padding: 80px;
  text-align: center;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  max-width: 560px;
  width: calc(100% - 32px);
  color: #213a32;
  box-shadow: 0 25px 80px #102d3026;
}
dialog::backdrop {
  background: #16282077;
  backdrop-filter: blur(3px);
}
.dialog-head {
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.dialog-body {
  padding: 26px 28px;
}
.dialog-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
.summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: #f3f6ed;
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 9px;
  margin: 20px 0;
}
.summary small {
  display: block;
  font-size: 11px;
  margin-bottom: 6px;
}
.summary strong {
  font-size: 13px;
}
.checkbox {
  display: flex;
  align-items: flex-start;
  font-weight: 400;
  line-height: 1.6;
  margin-top: 20px;
}
.checkbox input {
  margin-top: 5px;
}
#toast:not(:empty) {
  position: fixed;
  bottom: 24px;
  right: 28px;
  max-width: 420px;
  background: #173e31;
  color: white;
  padding: 16px 22px;
  border-radius: 10px;
  box-shadow: 0 5px 25px #1233;
  z-index: 30;
  font-size: 13px;
  line-height: 1.5;
}
.guide ol {
  padding-left: 22px;
  line-height: 1.85;
}
.guide h3 {
  margin: 23px 0 10px;
}
.guide p {
  color: var(--muted);
}
.security-form {
  max-width: 520px;
}
.pending {
  margin-bottom: 18px;
  padding: 18px;
  background: #fff8e9;
  border: 1px solid #e7d3a5;
  border-radius: 9px;
}
.pending button {
  margin-top: 10px;
}
@media (max-width: 1000px) {
  .layout {
    grid-template-columns: 195px 1fr;
  }
  .sidebar {
    padding: 28px 16px;
  }
  .workspace {
    padding: 26px;
  }
  .topbar {
    padding: 16px 26px;
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
  .card-head {
    flex-wrap: wrap;
  }
  .login-story {
    padding: 40px;
  }
  .login-story h1 {
    font-size: 46px;
  }
}
@media (max-width: 720px) {
  .layout {
    display: block;
  }
  .sidebar {
    padding: 18px;
    gap: 15px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .brand {
    font-size: 25px;
  }
  .sidebar nav {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
  }
  .sidebar nav button {
    padding: 10px;
  }
  .sidebar footer {
    display: none;
  }
  .topbar {
    padding: 12px 18px;
  }
  .topbar .identity > span {
    display: none;
  }
  .workspace {
    padding: 24px 16px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  h1 {
    font-size: 29px;
  }
  .stats {
    gap: 8px;
  }
  .stat {
    padding: 15px 11px;
  }
  .stat strong {
    font-size: 24px;
  }
  .stat small {
    font-size: 10px;
  }
  .stat > span {
    font-size: 11px;
  }
  .card-head,
  .card-body {
    padding: 20px;
  }
  .search {
    width: 100%;
  }
  .search input {
    width: 100%;
  }
  .search button {
    flex-shrink: 0;
  }
  .details {
    gap: 18px;
  }
  .login-page {
    display: block;
  }
  .login-story {
    min-height: auto;
    padding: 25px;
  }
  .login-story > div:nth-child(2) {
    display: none;
  }
  .login-story footer {
    display: none;
  }
  .login-form {
    padding: 45px 24px;
  }
  .event {
    flex-wrap: wrap;
  }
  .dialog-body {
    padding: 22px;
  }
  .dialog-head {
    padding: 20px;
  }
  #toast:not(:empty) {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .pager {
    padding: 14px;
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button {
    transition: background 0.15s;
  }
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0 10px;
}
.plan-card {
  padding: 24px;
  margin: 0;
}
.plan-card h2 {
  font-size: 18px;
}
.plan-price {
  display: block;
  font-size: 26px;
  margin: 16px 0 10px;
  letter-spacing: -0.04em;
}
.plan-card p {
  font-size: 14px;
  line-height: 1.6;
}
.commercial-summary {
  margin-bottom: 24px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 900px) {
  .plan-grid {
    grid-template-columns: 1fr;
  }
}
