[hidden] {
  display: none!important;
}

:root {
  --ink: #203731;
  --muted: #71807a;
  --green: #194e46;
  --green-dark: #123c36;
  --accent: #d2ee96;
  --line: #e0e5dc;
  --paper: #f4f5ef;
  --white: #fff;
  --red: #a04435;
  --amber: #8a631a;
  --radius: 16px;
  font-family: Inter,"Segoe UI","Microsoft YaHei",sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

button,input,select,textarea {
  font: inherit;
}

button,a,input,select,textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button: disabled {;
  cursor: wait;
  opacity: .55;
}

a {
  color: inherit;
  text-decoration: none;
}

button: focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {;
  outline: 3px solid #9fc77d;
  outline-offset: 3px;
}

button {
  border: 0;
}

svg {
  display: block;
  width: 20px;
  height: 20px;
  flex: none;
}

h1,h2,h3,p {
  margin: 0;
}

h1 {
  font-size: 28px;
  letter-spacing: -.7px;
  font-weight: 700;
  line-height: 1.3;
}

h2 {
  font-size: 17px;
  line-height: 1.5;
}

h3 {
  font-size: 14px;
  font-weight: 650;
}

small {
  font-size: 12px;
}

.muted {
  color: var(--muted);
}

.mono {
  font-family: "Cascadia Code",Consolas,monospace;
}

.nowrap {
  white-space: nowrap;
}

.text-right {
  text-align: right;
}

.tiny {
  font-size: 11px;
}

.initial-loading {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  min-height: 100vh;
  color: var(--muted);
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  display: inline-block;
  border-radius: 50%;
  animation: spin .75s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 240px;
  position: fixed;
  inset: 0 auto 0 0;
  background: var(--green-dark);
  color: #e0eee6;
  padding: 30px 20px 20px;
  display: flex;
  flex-direction: column;
  z-index: 30;
}

.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 0 8px 31px;
}

.brand-mark {
  width: 41px;
  height: 41px;
  flex: none;
  border-radius: 13px;
  background: var(--accent);
  display: grid;
  place-content: center;
  color: var(--green-dark);
  transform: rotate(-4deg);
}

.brand-mark svg {
  width: 25px;
  height: 25px;
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .2px;
}

.brand-sub {
  font-size: 9px;
  letter-spacing: 2px;
  color: #9db6aa;
  margin-top: 2px;
}

.nav-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: #87aaa0;
  margin: 3px 15px 12px;
}

.nav {
  display: grid;
  gap: 5px;
}

.nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 15px;
  border-radius: 10px;
  color: #c4d6cd;
  font-size: 14px;
  transition: background .15s;
}

.nav a:hover {
  background: #ffffff0b;
  color: #fff;
}

.nav a.active {
  background: #d2ee96;
  color: #183f32;
  font-weight: 650;
}

.nav a svg {
  width: 19px;
  height: 19px;
  opacity: .88;
}

.nav .nav-badge {
  margin-left: auto;
  min-width: 20px;
  text-align: center;
  padding: 0 6px;
  border-radius: 6px;
  background: #ab554c;
  color: white;
  font-size: 11px;
}

.sidebar-bottom {
  margin-top: auto;
  padding: 24px 12px 4px;
}

.environment {
  border-top: 1px solid #ffffff1c;
  padding-top: 20px;
}

.environment p {
  font-size: 11px;
  color: #9ab5a8;
  margin-top: 6px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  background: #aacb90;
  margin-right: 7px;
}

.dot.warn {
  background: #e8b675;
}

.user-menu {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
}

.avatar {
  width: 33px;
  height: 33px;
  border-radius: 10px;
  display: grid;
  place-content: center;
  background: #ffffff14;
  font-weight: 700;
}

.user-menu .user-info {
  min-width: 0;
  flex: 1;
}

.user-menu .user-info strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
}

.user-menu small {
  font-size: 10px;
  color: #91aca0;
}

.icon-btn {
  width: 32px;
  height: 32px;
  display: grid;
  place-content: center;
  border-radius: 7px;
  background: transparent;
  color: inherit;
}

.icon-btn:hover {
  background: #ffffff12;
}

.icon-btn svg {
  width: 17px;
  height: 17px;
}

.main {
  margin-left: 240px;
  width: calc(100% - 240px);
  min-width: 0;
}

.topbar {
  height: 78px;
  padding: 0 40px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f9f4;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}

.breadcrumb span:last-child {
  color: #314d42;
  font-weight: 600;
}

.topbar-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.clock {
  font-size: 11px;
  letter-spacing: .3px;
  color: var(--muted);
}

.chip {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.chip .dot {
  margin-right: 0;
  width: 6px;
  height: 6px;
}

.mobile-toggle {
  display: none;
  color: var(--ink);
  background: transparent;
}

.content {
  max-width: 1600px;
  margin: 0 auto;
  padding: 34px 40px 48px;
}

.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}

.eyebrow {
  color: #6e8577;
  font-size: 10px;
  letter-spacing: 2px;
  margin-bottom: 8px;
  font-weight: 600;
}

.page-heading p {
  color: var(--muted);
  margin-top: 9px;
  font-size: 12px;
}

.actions {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  transition: background .15s,box-shadow .15s;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: var(--green);
  color: white;
  box-shadow: 0 2px 3px #133b3010;
}

.btn-primary:hover {
  background: #226153;
}

.btn-secondary {
  background: white;
  color: #355044;
  border: 1px solid #d7dfd2;
}

.btn-secondary:hover {
  background: #f0f5e9;
}

.btn-danger {
  color: var(--red);
  background: #fff0eb;
}

.btn-quiet {
  background: transparent;
  color: #527360;
  padding-left: 7px;
  padding-right: 7px;
}

.btn-small {
  padding: 6px 10px;
  font-size: 11px;
}

.link-button {
  background: none;
  color: #356d52;
  font-size: 12px;
  padding: 0;
}

.link-button:hover {
  text-decoration: underline;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.card-header {
  padding: 22px 24px;
  border-bottom: 1px solid #e9ede4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.card-header p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}

.card-body {
  padding: 24px;
}

.card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
}

.section-gap {
  margin-top: 23px;
}

.grid-two {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,1fr);
  gap: 22px;
}

.grid-equal {
  grid-template-columns: 1fr 1fr;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 17px;
  margin-bottom: 23px;
}

.stat {
  padding: 20px 23px;
  position: relative;
}

.stat-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #698074;
}

.stat-label svg {
  width: 18px;
  height: 18px;
  color: #91a294;
}

.stat-number {
  font-size: 37px;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-top: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.stat-note {
  margin-top: 11px;
  font-size: 10px;
  color: #8a988c;
}

.stat.highlight {
  background: #eaf0df;
  border-color: #dbe4cf;
}

.stat.attention .stat-number {
  color: var(--red);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  background: #eef1eb;
  color: #68776c;
}

.status-pill.green {
  color: #3c7049;
  background: #eaf3e5;
}

.status-pill.amber {
  color: #93681c;
  background: #fff3d9;
}

.status-pill.red {
  color: #a5513f;
  background: #fbebe5;
}

.status-pill.blue {
  color: #3e7781;
  background: #e9f2f2;
}

.run-hero {
  background: #f7f9f1;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.run-hero .next-label {
  font-size: 11px;
  color: #83917d;
}

.next-time {
  font-size: 31px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -1px;
  margin: 6px 0;
}

.next-time small {
  font-size: 13px;
  letter-spacing: 0;
  color: #728570;
  font-weight: 400;
  margin-left: 7px;
}

.schedule-strip {
  display: flex;
  gap: 8px;
  margin-top: 11px;
}

.schedule-time {
  border: 1px solid #dbe4d2;
  background: white;
  color: #64805c;
  font-size: 11px;
  border-radius: 6px;
  padding: 5px 10px;
  font-variant-numeric: tabular-nums;
}

.schedule-time.current {
  background: #e1edcf;
  border-color: #cadbb6;
  color: #41603a;
}

.hero-icon {
  width: 76px;
  height: 76px;
  border: 1px solid #dce6d0;
  background: #eaf1dc;
  border-radius: 50%;
  display: grid;
  place-content: center;
  color: #7a985a;
  align-self: center;
}

.hero-icon svg {
  width: 32px;
  height: 32px;
}

.rule-steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 17px;
}

.rule-step {
  position: relative;
}

.step-number {
  font-size: 10px;
  color: #71916a;
  background: #eef4e6;
  width: 23px;
  height: 23px;
  display: grid;
  place-content: center;
  border-radius: 6px;
  margin-bottom: 10px;
}

.rule-step strong {
  font-size: 12px;
  display: block;
}

.rule-step small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}

.rule-divider {
  height: 1px;
  background: #e4eadd;
  margin: 18px 0;
}

.integration-list {
  display: grid;
  gap: 15px;
}

.integration-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.integration-logo {
  height: 36px;
  width: 36px;
  border-radius: 9px;
  display: grid;
  place-content: center;
  background: #f1f4ec;
  font-weight: 750;
  font-size: 11px;
  color: #567a4b;
}

.integration-row .details {
  flex: 1;
}

.integration-row strong {
  font-size: 12px;
}

.integration-row p {
  color: var(--muted);
  font-size: 10px;
  margin-top: 1px;
}

.notice {
  padding: 13px 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: 9px;
  background: #faf4e5;
  border: 1px solid #efe1bd;
  color: #8d6c27;
  font-size: 12px;
  line-height: 1.8;
}

.notice svg {
  width: 17px;
  height: 17px;
  margin-top: 3px;
}

.notice div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.notice.info {
  background: #eef5ed;
  color: #456e4d;
  border-color: #d8e7d5;
}

.notice.error {
  background: #fff1eb;
  color: #944c3a;
  border-color: #efdbd0;
}

.notice.small {
  font-size: 11px;
  padding: 10px 12px;
}

.table-wrap {
  width: 100%;
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  text-align: left;
  font-size: 12px;
}

thead {
  color: #84917f;
  background: #fafbf8;
  font-size: 10px;
  letter-spacing: .25px;
}

th {
  font-weight: 500;
  padding: 13px 22px;
  border-bottom: 1px solid #e8ece3;
}

td {
  padding: 16px 22px;
  border-bottom: 1px solid #edf0e9;
  color: #4c6053;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: #fafcf7;
}

td strong {
  color: #34533e;
  font-size: 12px;
}

td .subline {
  display: block;
  font-size: 10px;
  color: #8d9988;
  margin-top: 2px;
}

.table-actions {
  display: flex;
  gap: 10px;
}

.empty {
  padding: 52px 24px;
  text-align: center;
  color: var(--muted);
}

.empty .empty-icon {
  display: grid;
  place-content: center;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  margin: 0 auto 16px;
  background: #f2f5eb;
  color: #8a9c7f;
}

.empty h3 {
  color: #6a8065;
  font-size: 14px;
  margin-bottom: 7px;
}

.empty p {
  max-width: 410px;
  margin: auto;
  font-size: 12px;
  line-height: 1.8;
}

.empty .btn {
  margin-top: 20px;
}

.filters {
  padding: 17px 23px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}

.search-wrap {
  position: relative;
  flex: 1;
  max-width: 350px;
  min-width: 200px;
}

.search-wrap svg {
  position: absolute;
  left: 12px;
  top: 11px;
  color: #9ca895;
  width: 16px;
  height: 16px;
}

.search-wrap input {
  padding-left: 37px;
}

.control {
  border: 1px solid #dce3d5;
  background: #fff;
  border-radius: 7px;
  padding: 9px 12px;
  color: #405640;
  width: 100%;
  font-size: 12px;
  transition: border-color .15s;
}

.control:hover {
  border-color: #b7c6ad;
}

.control::placeholder {
  color: #a1aa98;
}

.control:disabled {
  background: #f4f6f0;
  color: #87927f;
}

.control:focus {
  border-color: #7f9d6e;
  outline: none;
  box-shadow: 0 0 0 3px #88ab6c16;
}

select.control {
  width: auto;
  min-width: 145px;
  padding-right: 25px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 12px;
  font-weight: 600;
  color: #556c4e;
}

.field .hint {
  color: #8a9980;
  font-size: 11px;
  line-height: 1.8;
}

.form-stack {
  display: grid;
  gap: 20px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.switch-row {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 17px 0;
}

.switch-row input {
  appearance: none;
  position: relative;
  width: 39px;
  height: 22px;
  border-radius: 11px;
  background: #d4dec8;
  cursor: pointer;
  flex: none;
  transition: background .2s;
}

.switch-row input:checked {
  background: var(--green);
}

.switch-row input:before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  background: white;
  transition: transform .2s;
  box-shadow: 0 1px 2px #0002;
}

.switch-row input:checked:before {
  transform: translateX(17px);
}

.switch-copy strong {
  display: block;
  font-size: 13px;
}

.switch-copy p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}

.time-inputs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.time-inputs input {
  width: 120px;
}

.formula {
  padding: 20px;
  background: #f7f9f1;
  border-radius: 10px;
  margin-top: 19px;
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: #657d59;
}

.formula .formula-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.formula .formula-line strong {
  color: #416239;
  font-weight: 550;
}

.section-intro {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.9;
}

.definition-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.definition {
  padding: 16px;
  border-radius: 9px;
  border: 1px solid #e2e8d9;
  background: #fbfcf9;
}

.definition small {
  display: block;
  color: #90a080;
  font-size: 10px;
  margin-bottom: 6px;
}

.definition strong {
  display: block;
  font-size: 13px;
}

.capabilities {
  display: grid;
  gap: 0;
}

.capability {
  padding: 12px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-bottom: 1px solid #edf0e7;
}

.capability:last-child {
  border-bottom: 0;
}

.capability .details {
  flex: 1;
}

.capability strong {
  font-size: 12px;
}

.capability p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 2px;
}

.capability svg {
  width: 17px;
  height: 17px;
  color: #7c976a;
  margin-top: 3px;
}

.capability .warning-icon {
  color: #b99a5e;
}

.password-section {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.job-strip {
  margin: 0 40px;
  padding: 11px 17px;
  background: #e8f0df;
  border: 1px solid #d7e3ca;
  border-top: 0;
  border-radius: 0 0 10px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #63814f;
  font-size: 11px;
}

.job-strip .job-label {
  flex: 1;
  overflow-wrap: anywhere;
}

.job-strip.error {
  background: #faeee8;
  border-color: #ecd8ce;
  color: #a1553d;
}

.pagination {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pagination .page-number {
  padding: 0 9px;
  color: #577348;
}

.error-box {
  padding: 34px;
  text-align: center;
  background: #fff7f1;
  color: #a46743;
  border: 1px solid #efddce;
  border-radius: var(--radius);
}

.error-box p {
  font-size: 12px;
  margin: 8px 0 17px;
  overflow-wrap: anywhere;
}

.detail-title {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

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

.kv {
  display: grid;
  gap: 4px;
}

.kv small {
  color: var(--muted);
  font-size: 10px;
}

.kv span {
  font-size: 12px;
  overflow-wrap: anywhere;
}

.event-list {
  display: grid;
  gap: 17px;
}

.event {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.event:before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  margin-top: 7px;
  border-radius: 50%;
  background: #a8bf96;
}

.event p {
  font-size: 12px;
  color: #627a55;
  overflow-wrap: anywhere;
}

.event small {
  font-size: 10px;
  color: #9aa88e;
}

.code-editor {
  font-family: Consolas,"Cascadia Code",monospace;
  font-size: 12px;
  line-height: 1.8;
  min-height: 350px;
  resize: vertical;
  tab-size: 2;
  background: #fbfcf9;
  color: #55734b;
}

.code-block {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f5f8f0;
  padding: 17px;
  border-radius: 9px;
  font-size: 11px;
  line-height: 1.8;
  max-height: 400px;
  overflow: auto;
}

.plan-card {
  border: 1px solid #dee6d5;
  border-radius: 11px;
  margin-bottom: 13px;
  overflow: hidden;
}

.plan-card.winner {
  border-color: #a2bc88;
}

.plan-top {
  padding: 15px 18px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  background: #f8faf5;
}

.plan-card.winner .plan-top {
  background: #edf4df;
}

.plan-price {
  font-size: 23px;
  letter-spacing: -.5px;
  font-weight: 650;
  white-space: nowrap;
  color: #4f753d;
}

.plan-price small {
  font-size: 10px;
  letter-spacing: 0;
  font-weight: 400;
}

.plan-body {
  padding: 16px 18px;
  font-size: 11px;
  color: #758b65;
}

.plan-metrics {
  display: flex;
  gap: 23px;
  flex-wrap: wrap;
}

.plan-package {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e9efdf;
}

.plan-package strong {
  font-size: 12px;
  color: #536f42;
}

.plan-package p {
  font-size: 11px;
  margin-top: 4px;
}

.result-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
}

.back-link {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #779366;
  font-size: 11px;
  margin-bottom: 18px;
}

.back-link svg {
  width: 15px;
  height: 15px;
}

.loading-skeleton {
  height: 100px;
  display: grid;
  place-content: center;
  color: #a0b190;
}

.footer-note {
  margin-top: 25px;
  color: #9baa91;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.form-error {
  padding: 10px 13px;
  background: #fff0e9;
  color: #a95939;
  font-size: 12px;
  border-radius: 7px;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}

.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0,.95fr) minmax(0,1.1fr);
  background: #f5f6ef;
}

.auth-story {
  background: var(--green-dark);
  color: #f1f4e9;
  padding: 55px 65px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.auth-story .brand {
  padding: 0;
}

.auth-story .brand-name {
  font-size: 18px;
}

.auth-story .brand-sub {
  font-size: 9px;
}

.auth-content {
  margin: auto 0;
  padding: 65px 0;
}

.auth-content .eyebrow {
  color: #adc59a;
  font-size: 10px;
}

.auth-content h1 {
  font-size: 45px;
  line-height: 1.5;
  letter-spacing: -1px;
  position: relative;
  z-index: 1;
}

.auth-content h1 em {
  font-style: normal;
  color: #d2ee96;
}

.auth-content p {
  font-size: 12px;
  line-height: 2.1;
  color: #a9c1b3;
  margin-top: 23px;
  max-width: 350px;
  position: relative;
  z-index: 1;
}

.auth-lines {
  position: absolute;
  width: 520px;
  height: 520px;
  bottom: -240px;
  right: -200px;
  border: 1px solid #d2ee9620;
  border-radius: 50%;
  box-shadow: 0 0 0 50px #d2ee9606,0 0 0 100px #d2ee9606,0 0 0 150px #d2ee9606;
}

.auth-foot {
  font-size: 10px;
  color: #86a995;
  letter-spacing: 1px;
  position: relative;
}

.auth-form-side {
  display: grid;
  place-content: center;
  padding: 50px 30px;
}

.auth-form {
  width: 355px;
  max-width: 100%;
}

.auth-form h2 {
  font-size: 25px;
  letter-spacing: -.5px;
}

.auth-form>p {
  font-size: 12px;
  color: #8b9b7d;
  margin: 8px 0 32px;
}

.auth-form .form-stack {
  gap: 20px;
}

.auth-form .btn {
  padding: 12px 17px;
  margin-top: 7px;
  width: 100%;
  font-size: 13px;
}

.auth-caption {
  font-size: 10px;
  text-align: center;
  color: #a1b08e;
  margin-top: 25px;
}

.auth-form .control {
  padding: 12px 14px;
  background: #fdfefb;
}

.auth-form .field label {
  font-size: 11px;
}

.auth-form .brand {
  display: none;
}

.toasts {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 120;
  display: grid;
  gap: 9px;
  max-width: 420px;
  pointer-events: none;
}

.toast {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  box-shadow: 0 9px 35px #12352124;
  background: #fff;
  border: 1px solid #d7e3cb;
  border-radius: 11px;
  padding: 14px 19px;
  min-width: 230px;
  color: #3f6c40;
  font-size: 12px;
  animation: slide-in .15s ease-out;
}

.toast.error {
  color: #a15a3a;
  border-color: #e8d4c5;
}

.toast svg {
  margin-top: 2px;
  width: 16px;
  height: 16px;
}

.toast p {
  overflow-wrap: anywhere;
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

dialog {
  border: 0;
  border-radius: 18px;
  padding: 0;
  box-shadow: 0 20px 90px #122d3750;
  width: min(490px,calc(100% - 30px));
  color: var(--ink);
  background: white;
}

dialog: :backdrop {;
  background: #14251d70;
  backdrop-filter: blur(3px);
}

.modal-header {
  padding: 23px 26px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header .icon-btn {
  color: var(--muted);
}

.modal-body {
  padding: 25px 26px;
}

.modal-body .actions {
  justify-content: flex-end;
  margin-top: 23px;
}

.modal-body p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
  margin-bottom: 20px;
}

@media(min-width:1550px) {
  .content {
    padding-top: 42px;
  }
  .stats {
    gap: 22px;
  }
  .stat {
    padding: 24px 27px;
  }
  .stat-number {
    font-size: 43px;
  }
}

@media(max-width:1200px) {
  .sidebar {
    width: 210px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .main {
    margin-left: 210px;
    width: calc(100% - 210px);
  }
  .topbar {
    padding: 0 27px;
  }
  .content {
    padding: 29px 27px 40px;
  }
  .job-strip {
    margin: 0 27px;
  }
  .stat {
    padding: 17px;
  }
  .stat-number {
    font-size: 32px;
  }
  .grid-two {
    grid-template-columns: 1fr 1fr;
    gap: 17px;
  }
  .card-header,.card-body {
    padding: 20px;
  }
  .rule-steps {
    gap: 10px;
  }
  .rule-step strong {
    font-size: 11px;
  }
  .auth-story {
    padding: 45px;
  }
  .auth-content h1 {
    font-size: 37px;
  }
}

@media(max-width:980px) {
  .stats {
    grid-template-columns: repeat(2,1fr);
  }
  .grid-two {
    grid-template-columns: 1fr;
  }
  .topbar-right .clock {
    display: none;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading .actions {
    justify-content: flex-end;
  }
  .rule-steps {
    gap: 25px;
  }
  .definition-grid {
    grid-template-columns: 1fr;
  }
  .auth-story {
    padding: 35px;
  }
  .auth-content h1 {
    font-size: 32px;
  }
  .auth-form-side {
    padding: 35px;
  }
  .auth-form {
    width: 310px;
  }
  .content {
    padding-left: 23px;
    padding-right: 23px;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
}

@media(max-width:720px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform .2s;
    width: 235px;
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 15px 0 70px #17352355;
  }
  .main {
    margin: 0;
    width: 100%;
  }
  .mobile-toggle {
    display: grid;
    place-content: center;
  }
  .topbar {
    height: 62px;
    padding: 0 20px;
  }
  .topbar .breadcrumb {
    gap: 9px;
  }
  .topbar-right {
    gap: 10px;
  }
  .chip {
    font-size: 10px;
    padding: 4px 6px;
  }
  .content {
    padding: 24px 17px 35px;
  }
  .job-strip {
    margin: 0 17px;
  }
  .page-heading {
    display: block;
    margin-bottom: 23px;
  }
  .page-heading .actions {
    justify-content: flex-start;
    margin-top: 17px;
  }
  h1 {
    font-size: 24px;
  }
  .stat {
    padding: 17px;
  }
  .stats {
    gap: 11px;
  }
  .stat-number {
    font-size: 32px;
  }
  .stat-label {
    font-size: 11px;
  }
  .stat-note {
    font-size: 9px;
  }
  .card {
    border-radius: 13px;
  }
  .card-header,.card-body {
    padding: 19px;
  }
  .card-header {
    align-items: flex-start;
  }
  .card-footer {
    padding: 13px 17px;
    flex-wrap: wrap;
  }
  .filters {
    padding: 15px;
    gap: 9px;
  }
  .search-wrap {
    max-width: none;
  }
  .filters select {
    flex: 1;
  }
  .filters .btn {
    padding: 10px 12px;
  }
  .run-hero {
    padding: 20px;
  }
  .next-time {
    font-size: 27px;
  }
  .hero-icon {
    width: 57px;
    height: 57px;
  }
  .hero-icon svg {
    width: 25px;
    height: 25px;
  }
  .rule-steps {
    gap: 10px;
  }
  .rule-step strong {
    font-size: 11px;
  }
  .rule-step small {
    font-size: 9px;
  }
  .rule-step .step-number {
    margin-bottom: 8px;
  }
  .detail-grid {
    gap: 18px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-story {
    display: none;
  }
  .auth-form-side {
    padding: 35px 24px;
    min-height: 100vh;
  }
  .auth-form {
    width: 350px;
  }
  .auth-form .brand {
    display: flex;
    padding: 0 0 35px;
    color: var(--green);
  }
  .auth-form .brand-sub {
    color: #789470;
  }
  .auth-form .brand-name {
    font-size: 16px;
  }
  .footer-note {
    display: block;
  }
  .footer-note span {
    display: block;
    margin-bottom: 3px;
  }
  .toasts {
    left: 15px;
    right: 15px;
    bottom: 15px;
    max-width: none;
  }
  .toast {
    min-width: 0;
  }
  .plan-metrics {
    gap: 13px;
  }
  .status-pill {
    font-size: 9px;
  }
  .table-wrap table td,.table-wrap table th {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    animation: none!important;
    transition: none!important;
  }
}

.sidebar {
  overflow-y: auto;
}

.data-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin: -2px 0 23px;
}

.data-summary a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafbf7;
}

.data-summary a:hover {
  background: #edf4e5;
}

.data-summary span {
  font-size: 11px;
  color: #71826a;
}

.data-summary strong {
  margin-left: auto;
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.data-summary small {
  font-size: 9px;
  color: #8d9b82;
}

.warehouse-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.warehouse-card {
  padding: 18px;
  background: #fbfcf8;
  border: 1px solid #e2e9da;
  border-radius: 11px;
  min-width: 0;
}

.warehouse-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 15px;
}

.warehouse-card-top .mono {
  overflow-wrap: anywhere;
  font-size: 9px;
}

.warehouse-card-icon {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 9px;
  background: #edf3e2;
  color: #718f58;
  flex: none;
}

.warehouse-card h3 {
  font-size: 13px;
  overflow-wrap: anywhere;
}

.warehouse-card p {
  margin-top: 7px;
  font-size: 10px;
  color: #8a9b7d;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.warehouse-card .warehouse-address {
  font-size: 10px;
  color: #6f8360;
}

.warehouse-state {
  display: inline-block;
  margin-top: 13px;
  border-top: 1px solid #e6ecdf;
  padding-top: 8px;
  font-size: 9px;
  color: #8fa07f;
}

.inventory-table {
  max-height: 490px;
  overflow: auto;
}

.inventory-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fafbf8;
}

.inventory-notice {
  padding: 15px 22px;
  border-bottom: 1px solid #e9ede4;
}

.stock-product-name {
  max-width: 330px;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media(max-width:1200px) {
  .warehouse-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .data-summary {
    gap: 11px;
  }
  .data-summary a {
    flex-wrap: wrap;
    gap: 7px;
    padding: 12px 14px;
  }
  .data-summary small {
    width: 100%;
  }
}

@media(max-width:720px) {
  .warehouse-grid {
    grid-template-columns: 1fr;
  }
  .data-summary {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .data-summary a {
    flex-wrap: nowrap;
  }
  .data-summary small {
    width: auto;
  }
  .inventory-notice {
    padding: 15px;
  }
}

