@charset "UTF-8";
:root {
  --canvas: #f6f7f2;
  --surface: #fff;
  --ink: #21362d;
  --muted: #778279;
  --line: #e5e9e0;
  --green: #25634c;
  --green-dark: #173c34;
  --green-soft: #edf4e9;
  --lime: #d4e8ac;
  --amber: #91631c;
  --amber-soft: #fbf3df;
  --red: #a14542;
  --red-soft: #fbefec;
  --shadow: 0 8px 32px #21362d06;
  --radius: 13px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  font-size: 14px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--canvas);
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #80af94;
  outline-offset: 3px;
}
input,
select,
textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #dce3d9;
  border-radius: 8px;
  padding: 11px 13px;
  color: var(--ink);
  min-height: 43px;
}
input::placeholder,
textarea::placeholder {
  color: #99a198;
}
textarea {
  resize: vertical;
  line-height: 1.7;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #7b9e87;
}
input[type="checkbox"],
input[type="radio"] {
  width: 16px;
  min-height: 16px;
  accent-color: var(--green);
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1 {
  font-size: 30px;
  line-height: 1.22;
  letter-spacing: -1px;
  font-weight: 650;
  margin-bottom: 11px;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
  line-height: 1.35;
  font-weight: 650;
  margin-bottom: 9px;
}
h3 {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 650;
  margin-bottom: 7px;
}
p {
  margin-bottom: 14px;
}
small,
.small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.mono,
code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}
.break-all {
  overflow-wrap: anywhere;
}
.eyebrow {
  display: block;
  color: #7a8a76;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.65px;
  margin-bottom: 12px;
}
.eyebrow.light {
  color: #a8bfad;
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
.icon.small {
  width: 16px;
  height: 16px;
}
.button {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 8px;
  min-height: 42px;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background 0.15s,
    transform 0.15s;
  line-height: 1.45;
}
.button:hover {
  transform: translateY(-1px);
}
.button-primary {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}
.button-primary:hover {
  background: #1d503d;
}
.button-secondary {
  color: #3b5144;
  border-color: #dfe5da;
  background: #fff;
}
.button-secondary:hover {
  background: #f6f8f2;
}
.button-subtle {
  color: var(--green);
  background: var(--green-soft);
}
.button-danger {
  background: var(--red);
  color: #fff;
}
.button-small {
  min-height: 33px;
  padding: 7px 10px;
  font-size: 11px;
}
.button-full {
  width: 100%;
  justify-content: space-between;
}
.text-button {
  border: 0;
  background: none;
  padding: 4px 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.text-button:hover {
  text-decoration: underline;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 7px;
  width: 35px;
  height: 35px;
  color: #7c887c;
  padding: 7px;
}
.icon-button:hover {
  background: #edf1e8;
  color: var(--green);
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 100;
  background: var(--green);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 8px 8px;
}
.skip-link:focus {
  top: 0;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  color: #f4f7ee;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.brand-symbol {
  width: 36px;
  height: 36px;
  color: #c9dfa5;
  flex-shrink: 0;
}
.brand-subtitle {
  display: block;
  color: #819c8e;
  font-size: 7.5px;
  letter-spacing: 1.7px;
  margin-top: 1px;
  font-weight: 500;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  background: #a6ca8e;
}
.status-dot.offline {
  background: #ddad67;
}
.avatar {
  height: 35px;
  width: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #e3ebd9;
  color: #597145;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  border-radius: 5px;
  padding: 4px 7px;
  line-height: 1.4;
  white-space: nowrap;
  background: #f0f2ec;
  color: #7b8677;
}
.badge-green {
  background: #edf4e8;
  color: #5c7c4c;
}
.badge-amber {
  background: var(--amber-soft);
  color: var(--amber);
}
.badge-red {
  background: var(--red-soft);
  color: var(--red);
}
.badge-blue {
  background: #eaf2f5;
  color: #517c89;
}
.badge-dot::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 100%;
  background: currentColor;
}
.badge-dark {
  background: #315248;
  color: #cae0b5;
}
.pill-count {
  background: #eff3e9;
  padding: 1px 6px;
  border-radius: 5px;
  color: #77876d;
  font-size: 10px;
  margin-left: 6px;
}
.form-error {
  color: var(--red);
  font-size: 12px;
  background: var(--red-soft);
  padding: 10px 12px;
  border-radius: 7px;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.form-help {
  color: var(--muted);
  font-size: 11px;
  margin: 7px 0 0;
  line-height: 1.6;
}
.field {
  margin-bottom: 18px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.required-star {
  color: var(--green);
}
.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 22px 0;
}
.sign-in {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.sign-in-story {
  background: var(--green-dark);
  color: #f4f7ef;
  padding: 50px 9%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 740px;
}
.brand-large {
  font-size: 28px;
}
.brand-large .brand-symbol {
  width: 43px;
  height: 43px;
}
.brand-large .brand-subtitle {
  font-size: 9px;
}
.story-copy {
  margin-top: 115px;
  position: relative;
  z-index: 1;
}
.story-copy h1 {
  font-size: 46px;
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -1.7px;
}
.story-copy p {
  color: #afc0b4;
  line-height: 1.8;
  margin-top: 22px;
  font-size: 14px;
}
.story-molecule {
  position: absolute;
  width: 95%;
  bottom: -50px;
  left: 12%;
  color: #92b89a;
  opacity: 0.22;
}
.story-footer {
  font-size: 10px;
  letter-spacing: 0.25px;
  color: #90ab9b;
  margin-top: auto;
  padding-top: 160px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.sign-in-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
  position: relative;
  background: #fafbf7;
}
.sign-in-box {
  max-width: 370px;
  width: 100%;
  margin-top: -35px;
}
.welcome-mark {
  font-size: 32px;
  color: var(--green);
  font-weight: 600;
  letter-spacing: -2px;
  margin-bottom: 35px;
}
.welcome-mark span {
  color: #97b178;
}
.sign-in-box h2 {
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.8px;
  max-width: 320px;
  margin-bottom: 15px;
}
.sign-in-box > .muted {
  font-size: 13px;
  line-height: 1.75;
  max-width: 320px;
  margin-bottom: 35px;
}
.sign-in-box .button-full {
  margin-top: 22px;
}
.input-with-action {
  position: relative;
}
.input-with-action input {
  padding-right: 65px;
}
.input-action {
  position: absolute;
  right: 9px;
  top: 7px;
  min-height: 29px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #6b7d6e;
  font-size: 11px;
  padding: 5px;
}
.input-action:hover {
  background: #f1f5ed;
}
.sign-in-note {
  font-size: 10px;
  color: #99a191;
  line-height: 1.7;
  margin: 17px 0 0;
}
.sign-in-help {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 35px;
  font-size: 11px;
  color: #91998b;
}
.sign-in-bottom {
  position: absolute;
  bottom: 30px;
  left: 50px;
  right: 50px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #8f9a89;
}
.sign-in-bottom span {
  color: #acb2a7;
}
.workspace {
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 235px;
  background: #173c34;
  color: #a2b6a6;
  padding: 35px 23px 22px;
  z-index: 20;
  display: flex;
  flex-direction: column;
}
.sidebar > .brand {
  margin-bottom: 48px;
}
.sidebar-label {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #789585;
  margin: 0 12px 13px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  border-radius: 7px;
  color: #a3b6a6;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 5px;
  transition:
    background 0.12s,
    color 0.12s;
}
.nav-link .icon {
  width: 17px;
  height: 17px;
  opacity: 0.75;
}
.nav-link:hover {
  background: #23483d;
  color: #e9f1e3;
}
.nav-link.active {
  background: #2c5142;
  color: #e4efd5;
}
.nav-link.active .icon {
  color: #d0e7a5;
  opacity: 1;
}
.nav-link .nav-indicator {
  margin-left: auto;
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #ccdfa7;
}
.nav-separator {
  height: 1px;
  background: #2e4c40;
  margin: 21px 11px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 35px;
}
.sidebar-guide {
  border: 1px solid #365646;
  background: #214237;
  border-radius: 9px;
  padding: 17px 14px;
  position: relative;
}
.sidebar-guide-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: #355542;
  border-radius: 6px;
  color: #c8dfa8;
  font-size: 17px;
  margin-bottom: 12px;
}
.sidebar-guide h3 {
  font-size: 11px;
  font-weight: 500;
  color: #d9e4cc;
  margin-bottom: 7px;
}
.sidebar-guide p {
  font-size: 10px;
  line-height: 1.7;
  color: #8fa893;
  margin-bottom: 13px;
}
.sidebar-guide a {
  font-size: 10px;
  color: #c7ddb1;
  display: flex;
  justify-content: space-between;
}
.sidebar-service {
  font-size: 9px;
  color: #83a18d;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 24px 9px 0;
}
.sidebar-service .status-dot {
  width: 5px;
  height: 5px;
}
.workspace-main {
  margin-left: 235px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 77px;
  min-height: 77px;
  background: #fbfcf8;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 37px;
}
.topbar-left,
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  min-width: 0;
}
.breadcrumb > span:first-child {
  color: #9ba493;
}
.breadcrumb-divider {
  color: #c6cebd;
}
.breadcrumb strong {
  font-weight: 500;
  color: #54654f;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 280px;
}
.topbar-divider {
  width: 1px;
  height: 24px;
  background: var(--line);
  margin: 0 6px;
}
.account-summary {
  display: flex;
  align-items: center;
  gap: 10px;
}
.account-summary strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-summary span:not(.avatar) {
  display: block;
  font-size: 9px;
  color: #939d89;
}
.mobile-menu {
  display: none;
}
.sidebar-shade {
  display: none;
}
#main-content {
  padding: 35px 37px 28px;
  width: 100%;
  max-width: 1550px;
  margin: 0 auto;
  flex: 1;
  outline: none;
}
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.page-header h1 {
  font-size: 26px;
  margin-bottom: 7px;
  letter-spacing: -0.75px;
}
.page-header p {
  font-size: 12px;
  color: #83907b;
  margin: 0;
}
.page-header-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.welcome-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #edf2e6;
  border: 1px solid #e2e8d8;
  border-radius: var(--radius);
  padding: 27px 30px;
  margin-bottom: 24px;
  overflow: hidden;
  position: relative;
  min-height: 164px;
}
.welcome-banner .eyebrow {
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #879a71;
  margin-bottom: 10px;
}
.welcome-banner h2 {
  font-size: 23px;
  font-weight: 550;
  letter-spacing: -0.65px;
  margin-bottom: 10px;
  color: #344f36;
}
.welcome-banner p {
  max-width: 445px;
  font-size: 11px;
  color: #8a977d;
  line-height: 1.75;
  margin-bottom: 0;
}
.banner-art {
  width: 245px;
  height: 150px;
  flex-shrink: 0;
  margin: -20px 0 -20px 15px;
  color: #aabf8a;
}
.banner-content {
  position: relative;
  z-index: 1;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 26px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 19px 20px 16px;
  box-shadow: var(--shadow);
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 8px;
}
.stat-label {
  font-size: 10px;
  font-weight: 500;
  color: #8d9983;
}
.stat-icon {
  color: #8ca27e;
  display: flex;
  align-items: center;
}
.stat-icon .icon {
  width: 16px;
  height: 16px;
}
.stat-value {
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.7px;
  font-weight: 600;
  color: #334c33;
}
.stat-note {
  font-size: 9px;
  color: #a3ab98;
  margin-top: 9px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.stat-note .status-dot {
  width: 4px;
  height: 4px;
  background: #94ac72;
}
.data-sync-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: start;
  gap: 23px;
}
.sync-form .checkbox-label {
  padding: 0;
  margin-bottom: 12px;
  align-items: flex-start;
  line-height: 1.65;
}
.sync-form .checkbox-label input {
  margin-top: 4px;
}
.sync-form-actions {
  margin-top: 24px;
}
.sync-status {
  padding-top: 4px;
}
.sync-status-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.sync-message {
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.sync-cases,
.sync-revisions,
.sync-history {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.sync-cases h3 {
  font-size: 13px;
}
.sync-history h3 {
  margin: 0;
  font-size: 13px;
}
.sync-history .sync-status-top {
  margin-bottom: 12px;
}
.history-content {
  padding-top: 8px;
}
.history-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  font-size: 13px;
  color: #667465;
}
.history-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  background: #f3f7ee;
  border: 1px solid #e5ebde;
  border-radius: 8px;
}
.history-stats strong,
.history-stats span {
  display: block;
  overflow-wrap: anywhere;
}
.history-stats strong {
  font-size: 17px;
  font-weight: 600;
}
.history-stats span {
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.5;
  color: #667465;
}
.history-date {
  margin: 13px 0 18px;
}
.history-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.history-description,
.history-quality {
  font-size: 13px;
  line-height: 1.8;
  margin: 18px 0;
  color: #596c5c;
}
.history-target-details,
.history-file-details {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.history-target-details summary,
.history-file-details summary {
  cursor: pointer;
  font-weight: 600;
}
.history-targets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  gap: 8px 18px;
  padding: 0;
  margin: 16px 0 0;
  max-height: 230px;
  overflow-y: auto;
}
.history-targets li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  padding: 6px 0;
}
.history-targets code,
.history-file-details code {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.history-file-details p {
  line-height: 1.8;
  margin: 15px 0 0;
}
.sync-cases ul {
  padding-left: 18px;
  line-height: 1.9;
  max-height: 220px;
  overflow-y: auto;
}
.sync-cases code {
  overflow-wrap: anywhere;
  font-size: 12px;
}
.sync-revisions summary {
  cursor: pointer;
  font-weight: 600;
}
.sync-revisions pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 11px;
  line-height: 1.7;
  color: #596c5c;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 23px;
  align-items: start;
}
.dashboard-main,
.dashboard-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 0;
  overflow: hidden;
}
.card-body {
  padding: 22px;
}
.card-heading {
  padding: 20px 22px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.card-heading h2 {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.15px;
}
.card-heading .text-button {
  font-size: 10px;
}
.card-description {
  font-size: 11px;
  color: #939f89;
  margin: 5px 0 0;
}
.card-footer {
  padding: 13px 22px;
  border-top: 1px solid #eef0e9;
  font-size: 10px;
  color: #99a48f;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
th {
  color: #9aa48e;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1px;
  background: #fcfdf9;
  padding: 11px 20px;
  border-top: 1px solid #f0f2eb;
  border-bottom: 1px solid #f0f2eb;
}
td {
  font-size: 11px;
  color: #85917c;
  padding: 17px 20px;
  border-bottom: 1px solid #f0f2ec;
  vertical-align: middle;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fcfdf9;
}
.table-primary {
  color: #43573c;
  font-weight: 500;
  font-size: 11px;
  display: block;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.table-secondary {
  display: block;
  color: #a7af9e;
  font-size: 9px;
  margin-top: 3px;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.table-link:hover .table-primary {
  color: var(--green);
  text-decoration: underline;
}
.row-action {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}
.row-action .icon-button {
  width: 26px;
  height: 26px;
}
.row-action .icon {
  width: 14px;
  height: 14px;
}
.empty-state {
  padding: 40px 25px;
  text-align: center;
}
.empty-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background: #f1f5eb;
  border-radius: 12px;
  color: #8fa578;
  margin-bottom: 15px;
}
.empty-state h3 {
  font-size: 14px;
  color: #52654a;
  margin-bottom: 7px;
}
.empty-state p {
  font-size: 11px;
  color: #94a085;
  max-width: 320px;
  line-height: 1.8;
  margin: 0 auto 17px;
}
.empty-state.compact {
  padding: 25px 20px;
}
.empty-state.compact .empty-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
}
.empty-state.compact h3 {
  font-size: 12px;
}
.empty-state.compact p {
  font-size: 10px;
  margin-bottom: 0;
}
.allowance-card .card-body {
  padding-top: 3px;
}
.quota-headline {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 13px;
}
.quota-value {
  font-size: 28px;
  font-weight: 600;
  color: #425b37;
  letter-spacing: -0.7px;
}
.quota-total {
  font-size: 11px;
  color: #a0ab92;
}
.meter {
  height: 7px;
  border-radius: 20px;
  background: #eef2e7;
  overflow: hidden;
  width: 100%;
}
.meter-fill {
  height: 100%;
  background: #8da96e;
  border-radius: 20px;
  min-width: 0;
  transition: width 0.3s;
}
.meter-fill.near-limit {
  background: #c09a53;
}
.quota-caption {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 0 22px;
  font-size: 9px;
  color: #a0ab92;
}
.quota-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  margin-top: 11px;
  color: #879579;
}
.quota-detail strong {
  font-weight: 500;
  color: #667c56;
}
.quota-note {
  font-size: 9px;
  line-height: 1.8;
  color: #acb39e;
  border-top: 1px solid #edf1e5;
  margin: 17px 0 0;
  padding-top: 12px;
}
.case-mini {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 13px 22px;
  border-bottom: 1px solid #f0f2e9;
}
.case-mini:last-child {
  border: 0;
}
.case-mini-icon {
  width: 33px;
  height: 33px;
  border-radius: 8px;
  background: #f3f6ed;
  color: #94ab7d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.case-mini-icon .icon {
  width: 16px;
  height: 16px;
}
.case-mini-content {
  min-width: 0;
  flex: 1;
}
.case-mini-content strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #55694b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.case-mini-content span {
  display: block;
  font-size: 9px;
  color: #a1ab94;
  margin-top: 3px;
}
.case-mini .badge {
  font-size: 8px;
  padding: 3px 5px;
}
.workflow-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px 22px;
}
.workflow-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.step-number {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  border: 1px solid #e0e9d6;
  color: #8eaa71;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.workflow-step h3 {
  font-size: 10px;
  margin: 2px 0 6px;
  color: #596d4b;
  font-weight: 500;
}
.workflow-step p {
  font-size: 9px;
  color: #9eaa90;
  line-height: 1.7;
  margin: 0;
}
.activity-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 15px 22px;
  border-top: 1px solid #f0f2eb;
}
.activity-row > div {
  flex: 1;
  min-width: 0;
}
.activity-row strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
}
.activity-row p {
  font-size: 9px;
  color: #99a68e;
  margin: 3px 0 0;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  flex-wrap: wrap;
}
.search-field {
  position: relative;
  flex: 1;
  min-width: 180px;
  max-width: 350px;
}
.search-field > .icon {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 16px;
  height: 16px;
  color: #acb6a2;
}
.search-field input {
  padding-left: 36px;
  font-size: 11px;
  min-height: 39px;
}
.toolbar select {
  width: auto;
  min-width: 130px;
  min-height: 39px;
  font-size: 11px;
  padding-top: 9px;
  padding-bottom: 9px;
}
.toolbar .toolbar-note {
  margin-left: auto;
  font-size: 10px;
  color: #a1ad94;
}
.notice {
  display: flex;
  gap: 11px;
  padding: 14px 16px;
  background: #edf4e9;
  border: 1px solid #e1ead9;
  border-radius: 9px;
  font-size: 11px;
  color: #728565;
  line-height: 1.7;
  margin-bottom: 20px;
}
.notice > .icon {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  flex-shrink: 0;
}
.notice strong {
  font-weight: 600;
  color: #536e43;
}
.notice p {
  margin: 0;
}
.notice-amber {
  background: var(--amber-soft);
  border-color: #eee2c4;
  color: #a18b5d;
}
.notice-amber strong {
  color: #8d712e;
}
.notice-red {
  background: var(--red-soft);
  border-color: #efd4cd;
  color: #a37369;
}
.run-metadata {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 17px;
  font-size: 10px;
  color: #92a084;
  margin-top: 10px;
}
.run-metadata .mono {
  font-size: 10px;
}
.run-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 22px;
  align-items: start;
}
.run-primary {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.operation-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.operation-option {
  display: block;
  border: 1px solid #e1e8d9;
  border-radius: 9px;
  padding: 12px;
  position: relative;
  cursor: pointer;
  margin: 0;
}
.operation-option:has(input:checked) {
  border-color: #83a06b;
  background: #f3f7ec;
}
.operation-option input {
  position: absolute;
  top: 13px;
  right: 10px;
  width: 13px;
  min-height: 13px;
}
.operation-option strong {
  font-size: 11px;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}
.operation-option span {
  font-size: 9px;
  color: #93a085;
  line-height: 1.7;
  font-weight: 400;
  display: block;
  padding-right: 7px;
}
.field-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}
.field-label-row label {
  margin: 0;
}
.csv-input {
  display: none;
}
.product-input {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  min-height: 170px;
}
.submission-summary {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 10px;
  color: #93a185;
  padding: 13px 0;
}
.submission-summary strong {
  color: #596f4b;
  font-weight: 600;
}
.submit-footer {
  border-top: 1px solid #edf1e6;
  margin-top: 12px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.submit-footer p {
  font-size: 9px;
  color: #a3ad96;
  max-width: 320px;
  margin: 0;
}
.rule-list {
  margin: 0;
  display: grid;
  gap: 15px;
}
.rule-list > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}
.rule-list dt {
  font-size: 10px;
  color: #9ca78e;
}
.rule-list dd {
  font-size: 11px;
  color: #5e744e;
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
}
.pending-panel {
  padding: 15px 16px;
  border: 1px solid #e5dbba;
  background: #fbf7eb;
  border-radius: 9px;
  margin-bottom: 18px;
}
.pending-panel h3 {
  font-size: 12px;
  color: #887447;
}
.pending-panel p {
  font-size: 10px;
  line-height: 1.7;
  color: #a18e62;
}
.pending-panel .button {
  margin-right: 7px;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.case-card-top {
  padding: 23px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.case-icon {
  width: 46px;
  height: 46px;
  background: #f0f5e8;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8da876;
  flex-shrink: 0;
}
.case-icon .icon {
  width: 24px;
  height: 24px;
}
.case-card-heading {
  flex: 1;
  min-width: 0;
}
.case-card-heading h2 {
  font-size: 15px;
  overflow-wrap: anywhere;
}
.case-card-heading p {
  font-size: 10px;
  color: #9ba78f;
  line-height: 1.7;
  margin: 6px 0 0;
}
.case-card-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #eef1e7;
  border-bottom: 1px solid #eef1e7;
  padding: 17px 23px;
  gap: 8px;
  background: #fdfefb;
}
.case-card-facts strong {
  display: block;
  font-size: 16px;
  color: #647a53;
  font-weight: 550;
}
.case-card-facts span {
  font-size: 9px;
  color: #a0ad91;
}
.case-details {
  padding: 16px 23px;
}
.case-details summary {
  font-size: 10px;
  color: #829470;
  cursor: pointer;
}
.case-details-content {
  padding-top: 16px;
}
.case-details-content .rule-list {
  gap: 9px;
}
.case-details-content .rule-list dt,
.case-details-content .rule-list dd {
  font-size: 9px;
}
.case-digest {
  font-size: 9px;
  color: #a1ae91;
  overflow-wrap: anywhere;
  margin: 14px 0 0;
  line-height: 1.7;
}
.case-actions {
  padding: 15px 23px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  border-top: 1px solid #edf1e7;
}
.resource-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: 22px;
  align-items: start;
}
.resource-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.resource-lead {
  padding: 27px;
}
.resource-lead h2 {
  font-size: 21px;
  margin-top: 14px;
}
.resource-lead p {
  font-size: 12px;
  color: #8e9d7f;
  line-height: 1.8;
}
.resource-lead .icon-tile {
  width: 45px;
  height: 45px;
  background: #eaf2df;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #86a464;
}
.resource-code {
  background: #19392f;
  color: #c3d3ac;
  border-radius: 9px;
  padding: 20px;
  overflow: auto;
  line-height: 1.95;
  font-size: 10px;
  margin: 16px 0;
}
.resource-code code {
  font-size: 10px;
}
.resource-section {
  padding: 22px;
}
.resource-section h3 {
  font-size: 12px;
  margin-bottom: 12px;
}
.resource-section p,
.resource-section li {
  font-size: 11px;
  line-height: 1.8;
  color: #8f9e80;
}
.resource-section ol {
  padding-left: 18px;
  margin: 0;
}
.resource-section li + li {
  margin-top: 9px;
}
.library-row {
  padding: 17px 22px;
  border-top: 1px solid #edf1e8;
}
.library-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.library-row-head strong {
  font-size: 11px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.library-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  font-size: 10px;
}
.library-links a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  background: #f4f7ed;
  border-radius: 6px;
  color: #6e8559;
}
.library-links a:hover {
  background: #edf3e3;
}
.library-links p {
  font-size: 10px;
  color: #98a58c;
  margin: 0;
}
.team-name {
  display: flex;
  align-items: center;
  gap: 11px;
}
.team-name .avatar {
  width: 29px;
  height: 29px;
  font-size: 10px;
}
.team-usage {
  min-width: 115px;
}
.team-usage .meter {
  height: 4px;
  margin-top: 6px;
}
.team-usage span {
  font-size: 10px;
}
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  background: #f8faf5;
  border: 1px solid #e5ebde;
  border-radius: 8px;
  max-height: 180px;
  overflow: auto;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 5px;
  font-size: 11px;
  min-width: 0;
  font-weight: 400;
}
.checkbox-label span {
  overflow-wrap: anywhere;
}
.checkbox-label input {
  flex-shrink: 0;
}
.three-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.three-fields label {
  font-size: 11px;
}
.three-fields input {
  font-size: 12px;
}
.token-reveal {
  display: flex;
  gap: 8px;
  align-items: center;
}
.token-reveal input {
  font-family: monospace;
  font-size: 11px;
}
.workspace-footer {
  padding: 15px 37px 23px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 8px;
  letter-spacing: 0.1px;
  color: #b1b9a6;
}
.modal {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  color: var(--ink);
  width: min(540px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  box-shadow: 0 25px 90px #152d2938;
}
.modal::backdrop,
.drawer::backdrop {
  background: #142c2660;
  backdrop-filter: blur(3px);
}
.modal-header {
  padding: 24px 26px 17px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
}
.modal-header h2 {
  font-size: 19px;
  margin: 0;
}
.modal-header p {
  font-size: 11px;
  color: #8d9a82;
  margin: 7px 0 0;
}
.modal-body {
  padding: 7px 26px 25px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 23px;
}
.drawer {
  position: fixed;
  left: auto;
  right: 0;
  top: 0;
  bottom: 0;
  margin: 0;
  width: min(630px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  border: 0;
  border-left: 1px solid var(--line);
  padding: 0;
  background: #fbfcf8;
  color: var(--ink);
  box-shadow: -15px 0 60px #1e3b2b12;
}
.drawer-header {
  padding: 27px 28px 23px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.drawer-header h2 {
  font-size: 18px;
  margin: 6px 0;
}
.drawer-header .eyebrow {
  margin-bottom: 5px;
}
.drawer-body {
  padding: 25px 28px;
}
.drawer-body > .card {
  margin-bottom: 20px;
}
.result-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.result-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 16px 13px;
}
.result-stat strong {
  display: block;
  font-size: 20px;
  font-weight: 550;
  color: #567645;
  letter-spacing: -0.4px;
  overflow-wrap: anywhere;
}
.result-stat span {
  font-size: 9px;
  color: #9eac8f;
  display: block;
  margin-top: 5px;
}
.json-block {
  max-height: 340px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 10px;
  background: #f0f3e9;
  padding: 16px;
  border-radius: 8px;
  line-height: 1.8;
  color: #687e56;
}
.drawer details > summary {
  font-size: 11px;
  color: #869b72;
  cursor: pointer;
  padding: 9px 0;
}
.toasts {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  z-index: 100;
  max-width: 420px;
  width: calc(100vw - 50px);
  pointer-events: none;
}
.toast {
  background: #1c4536;
  color: #e3efcf;
  border: 1px solid #345c45;
  border-radius: 10px;
  box-shadow: 0 8px 25px #16322524;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 12px;
  line-height: 1.65;
  pointer-events: auto;
  animation: toast-in 0.2s ease-out;
}
.toast .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
}
.toast span {
  flex: 1;
}
.toast .icon-button {
  width: 22px;
  height: 22px;
  color: #a7c496;
  padding: 2px;
}
.toast-error {
  background: #744b3e;
  border-color: #8d6452;
  color: #fbebdf;
}
.loading-state {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #91a27c;
  font-size: 12px;
}
.spinner {
  width: 17px;
  height: 17px;
  border: 2px solid #dce7cf;
  border-top-color: #779b5f;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.7s linear infinite;
}
.spinning {
  animation: spin 1s linear infinite;
}
.error-panel {
  padding: 30px;
  background: #fff;
  border: 1px solid #ecdcd2;
  border-radius: 12px;
}
.error-panel h2 {
  font-size: 17px;
  color: #926f59;
}
.error-panel p {
  font-size: 12px;
  color: #a38c76;
  overflow-wrap: anywhere;
}
.back-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 10px;
  color: #8da07a;
  margin-bottom: 20px;
}
.back-link .icon {
  width: 13px;
  height: 13px;
}
.subtle-link {
  color: #798e65;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hidden {
  display: none !important;
}
[hidden] {
  display: none !important;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes toast-in {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (min-width: 1600px) {
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
  .stat-card {
    padding: 23px;
  }
  .sidebar {
    width: 255px;
    padding-left: 27px;
    padding-right: 27px;
  }
  .workspace-main {
    margin-left: 255px;
  }
  #main-content {
    padding-top: 42px;
  }
  .topbar {
    height: 82px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 210px;
    padding-left: 17px;
    padding-right: 17px;
  }
  .workspace-main {
    margin-left: 210px;
  }
  .topbar {
    padding: 0 26px;
  }
  #main-content {
    padding: 28px 26px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 16px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-card {
    padding: 17px 15px;
  }
  .card-heading {
    padding-left: 17px;
    padding-right: 17px;
  }
  td,
  th {
    padding-left: 16px;
    padding-right: 16px;
  }
  .welcome-banner {
    padding: 24px;
  }
  .banner-art {
    width: 190px;
    opacity: 0.8;
  }
  .workflow-strip {
    gap: 12px;
    padding: 20px 16px;
  }
  .run-grid {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 16px;
  }
  .operation-option {
    padding: 10px;
  }
  .operation-option span {
    font-size: 8px;
  }
  .resource-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(250px, 1fr);
  }
  .sign-in-story {
    padding: 40px 9%;
  }
  .story-copy h1 {
    font-size: 38px;
  }
}
@media (max-width: 950px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-card {
    padding: 20px;
  }
  .stat-value {
    font-size: 29px;
  }
  .stat-top {
    margin-bottom: 10px;
  }
  .run-grid {
    grid-template-columns: 1fr;
  }
  .run-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .run-side .card + .card {
    margin-top: 0 !important;
  }
  .case-grid {
    grid-template-columns: 1fr;
  }
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .resource-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .banner-art {
    width: 160px;
  }
  .welcome-banner h2 {
    font-size: 21px;
  }
  .story-copy h1 {
    font-size: 32px;
  }
  .sign-in-panel {
    padding: 35px;
  }
  .sign-in-story {
    min-height: 680px;
  }
  .sign-in-bottom {
    left: 35px;
    right: 35px;
  }
  .account-summary > div {
    display: none;
  }
  .topbar-actions {
    gap: 7px;
  }
  .topbar-divider {
    margin: 0 3px;
  }
}
@media (max-width: 720px) {
  .sidebar {
    transform: translateX(-100%);
    width: 235px;
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar-shade:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    background: #152e2860;
    border: 0;
    z-index: 19;
  }
  .workspace-main {
    margin-left: 0;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .topbar {
    height: 65px;
    min-height: 65px;
    padding: 0 18px;
  }
  .topbar-left {
    gap: 9px;
  }
  .breadcrumb {
    font-size: 10px;
    gap: 9px;
  }
  .breadcrumb strong {
    max-width: 150px;
  }
  #main-content {
    padding: 25px 18px;
  }
  .page-header {
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
  }
  .page-header h1 {
    font-size: 24px;
  }
  .page-header p {
    font-size: 11px;
  }
  .page-header-actions .button {
    font-size: 10px;
    padding: 9px 12px;
    min-height: 37px;
  }
  .welcome-banner {
    padding: 23px 20px;
    min-height: 150px;
  }
  .welcome-banner h2 {
    font-size: 21px;
    max-width: 300px;
  }
  .welcome-banner p {
    font-size: 10px;
    max-width: 280px;
  }
  .banner-art {
    position: absolute;
    right: -50px;
    width: 230px;
    opacity: 0.22;
  }
  .stats-grid {
    gap: 12px;
    margin-bottom: 21px;
  }
  .stat-card {
    padding: 17px;
  }
  .stat-label {
    font-size: 10px;
  }
  .stat-note {
    font-size: 8px;
  }
  .dashboard-side {
    gap: 15px;
  }
  .workflow-step {
    gap: 8px;
  }
  .workflow-step p {
    font-size: 8px;
  }
  .workflow-step h3 {
    font-size: 9px;
  }
  .step-number {
    width: 20px;
    height: 20px;
    font-size: 8px;
  }
  .workspace-footer {
    padding: 15px 18px 22px;
    font-size: 7px;
  }
  .sign-in {
    grid-template-columns: 1fr;
  }
  .sign-in-story {
    display: none;
  }
  .sign-in-panel {
    min-height: 100dvh;
    padding: 40px 25px 95px;
  }
  .sign-in-box {
    max-width: 390px;
    margin: 0;
  }
  .sign-in-box h2 {
    font-size: 31px;
  }
  .sign-in-box .eyebrow {
    font-size: 9px;
  }
  .sign-in-box > .muted {
    font-size: 13px;
  }
  .sign-in-bottom {
    left: 25px;
    right: 25px;
  }
  .welcome-mark {
    font-size: 38px;
    margin-bottom: 30px;
  }
  .resource-stack {
    display: flex;
  }
  .three-fields {
    gap: 9px;
  }
  .three-fields label {
    font-size: 10px;
  }
  .three-fields input {
    padding: 10px;
  }
  .run-metadata {
    gap: 7px 12px;
  }
  .run-metadata .mono {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .run-side {
    gap: 15px;
  }
  .submit-footer {
    align-items: flex-start;
  }
  .card-body {
    padding: 20px;
  }
  .case-card-top {
    padding: 20px;
  }
  .case-card-facts {
    padding: 17px 20px;
  }
  .case-actions {
    padding: 14px 20px;
  }
  .toolbar .toolbar-note {
    display: none;
  }
  .drawer-header {
    padding: 22px;
  }
  .drawer-body {
    padding: 20px;
  }
  .result-stat {
    padding: 13px 10px;
  }
  .result-stat strong {
    font-size: 18px;
  }
}
@media (max-width: 430px) {
  .dashboard-side,
  .run-side {
    grid-template-columns: 1fr;
  }
  .page-header {
    flex-direction: column;
  }
  .page-header-actions {
    width: 100%;
  }
  .welcome-banner h2 {
    font-size: 20px;
  }
  .stat-label {
    font-size: 9px;
  }
  .stat-card {
    padding: 15px;
  }
  .stat-value {
    font-size: 25px;
  }
  .stat-note {
    font-size: 8px;
  }
  .workflow-strip {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }
  .workflow-step h3 {
    font-size: 11px;
  }
  .workflow-step p {
    font-size: 10px;
  }
  .step-number {
    width: 25px;
    height: 25px;
    font-size: 10px;
  }
  .operation-options {
    gap: 7px;
  }
  .operation-option strong {
    font-size: 10px;
  }
  .operation-option input {
    right: 7px;
    width: 11px;
    min-height: 11px;
  }
  .operation-option {
    padding: 10px 8px;
  }
  .operation-option span {
    font-size: 8px;
    line-height: 1.6;
    padding: 0;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
  .submit-footer {
    flex-direction: column;
  }
  .submit-footer > .button {
    width: 100%;
  }
  .topbar-actions {
    gap: 2px;
  }
  .account-summary .avatar {
    width: 29px;
    height: 29px;
    font-size: 10px;
  }
  .breadcrumb > span:first-child,
  .breadcrumb-divider {
    display: none;
  }
  .modal-header {
    padding: 21px 20px 15px;
  }
  .modal-body {
    padding: 7px 20px 22px;
  }
  .case-card-top {
    gap: 11px;
  }
  .case-card-top > .badge {
    font-size: 8px;
  }
  .case-icon {
    width: 36px;
    height: 36px;
  }
  .case-card-heading h2 {
    font-size: 13px;
  }
  .workspace-footer span:last-child {
    display: none;
  }
  .submission-summary {
    font-size: 9px;
    gap: 10px;
  }
}
/* Keep operational information comfortable to read at every screen size. */
:root {
  --muted: #6d7969;
}
.sidebar {
  overflow-y: auto;
}
.operation-options {
  border: 0;
  padding: 0;
  min-width: 0;
}
.run-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.field-import-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}
.button {
  font-size: 12px;
}
.button-small {
  font-size: 11px;
}
.badge {
  font-size: 11px;
}
.brand-subtitle {
  color: #a8bda9;
}
.sidebar-label {
  color: #a0b6a1;
}
.nav-link {
  font-size: 13px;
  color: #b9caba;
}
.sidebar-guide h3 {
  font-size: 12px;
}
.sidebar-guide p,
.sidebar-guide a {
  font-size: 11px;
  color: #b1c6b1;
}
.sidebar-service {
  font-size: 10px;
  color: #abc0ac;
}
.breadcrumb {
  font-size: 12px;
}
.breadcrumb > span:first-child {
  color: #74816c;
}
.account-summary strong {
  font-size: 12px;
}
.account-summary span:not(.avatar) {
  font-size: 11px;
  color: #718169;
}
.page-header p {
  font-size: 13px;
  color: #6e7d63;
}
.welcome-banner p {
  font-size: 12px;
  color: #6e805e;
}
.stat-label {
  font-size: 12px;
  color: #718365;
}
.stat-note {
  font-size: 11px;
  color: #7b8a6d;
}
.card-heading h2 {
  font-size: 15px;
}
.card-heading .text-button {
  font-size: 12px;
}
.card-description {
  font-size: 12px;
  color: #75866a;
}
.card-footer {
  font-size: 11px;
  color: #788a6b;
  line-height: 1.7;
}
th {
  font-size: 11px;
  color: #758568;
  padding-top: 12px;
  padding-bottom: 12px;
}
td {
  font-size: 12px;
  color: #6e7f60;
}
.table-primary {
  font-size: 12px;
  color: #3f5836;
}
.table-secondary {
  font-size: 11px;
  color: #7f8e71;
}
.quota-total {
  font-size: 12px;
  color: #7b8a6c;
}
.quota-caption,
.quota-detail,
.quota-note {
  font-size: 11px;
  color: #77896a;
}
.quota-note {
  line-height: 1.8;
}
.case-mini-content strong {
  font-size: 12px;
  color: #4f6743;
}
.case-mini-content span {
  font-size: 11px;
  color: #7b8e6a;
}
.case-mini .badge {
  font-size: 10px;
}
.workflow-step h3 {
  font-size: 12px;
  color: #526f40;
}
.workflow-step p {
  font-size: 11px;
  color: #778c67;
}
.activity-row strong {
  font-size: 12px;
}
.activity-row p {
  font-size: 11px;
  color: #778b67;
}
.empty-state p {
  font-size: 12px;
  color: #7c8e6b;
}
.empty-state.compact h3 {
  font-size: 13px;
}
.empty-state.compact p {
  font-size: 11px;
  color: #7c8e6b;
}
.toolbar input,
.toolbar select {
  font-size: 12px;
}
.toolbar .toolbar-note {
  font-size: 11px;
  color: #798b68;
}
.notice {
  font-size: 12px;
  color: #667d55;
}
.notice-amber {
  color: #8b743f;
}
.notice-red {
  color: #955f52;
}
.form-help {
  font-size: 12px;
  color: #758967;
}
.run-metadata {
  font-size: 11px;
  color: #748c62;
}
.run-metadata .mono {
  font-size: 11px;
}
.operation-option strong {
  font-size: 12px;
}
.operation-option span {
  font-size: 11px;
  color: #718864;
}
.product-input {
  font-size: 12px;
}
.submission-summary {
  font-size: 12px;
  color: #758e64;
}
.submit-footer p {
  font-size: 11px;
  color: #7a906b;
}
.rule-list dt {
  font-size: 12px;
  color: #738a61;
}
.rule-list dd {
  font-size: 12px;
  color: #56773e;
}
.pending-panel h3 {
  font-size: 13px;
}
.pending-panel p {
  font-size: 12px;
  color: #8b7749;
}
.case-card-heading p {
  font-size: 12px;
  color: #7a8e68;
}
.case-card-facts span {
  font-size: 11px;
  color: #778e63;
}
.case-details summary {
  font-size: 12px;
  color: #6e865c;
}
.case-details-content .rule-list dt,
.case-details-content .rule-list dd {
  font-size: 11px;
}
.case-digest {
  font-size: 11px;
  color: #7a8e68;
}
.case-digest code {
  font-size: 10px;
}
.resource-lead p {
  font-size: 13px;
  color: #728663;
}
.resource-code,
.resource-code code {
  font-size: 12px;
}
.resource-section h3 {
  font-size: 14px;
}
.resource-section p,
.resource-section li {
  font-size: 12px;
  color: #71855f;
}
.library-row-head strong {
  font-size: 12px;
}
.library-links,
.library-links p {
  font-size: 12px;
  color: #758b61;
}
.checkbox-label {
  font-size: 12px;
}
.three-fields label {
  font-size: 12px;
}
.team-usage span {
  font-size: 12px;
}
.modal-header p {
  font-size: 12px;
  color: #7a8d69;
}
.result-stat span {
  font-size: 11px;
  color: #7c9068;
}
.drawer details > summary {
  font-size: 12px;
  color: #718c5b;
}
.json-block {
  font-size: 11px;
}
.back-link {
  font-size: 12px;
  color: #718b5b;
}
.sign-in-note {
  font-size: 11px;
  color: #7b886f;
}
.sign-in-help {
  font-size: 12px;
  color: #77856a;
}
.sign-in-box > .muted {
  color: #718165;
}
@media (max-width: 950px) {
  .run-side {
    display: grid;
  }
}
@media (max-width: 720px) {
  .page-header p {
    font-size: 12px;
  }
  .welcome-banner p {
    font-size: 12px;
  }
  .stat-label {
    font-size: 11px;
  }
  .stat-note {
    font-size: 11px;
  }
  .operation-option span {
    font-size: 11px;
  }
  .operation-option strong {
    font-size: 12px;
  }
  .field-label-row {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }
  .card-footer {
    font-size: 11px;
  }
  .page-header-actions .button {
    font-size: 12px;
  }
  .three-fields label {
    font-size: 11px;
  }
  .submit-footer p {
    font-size: 11px;
  }
  .case-mini .badge {
    font-size: 10px;
  }
  .sidebar-guide p,
  .sidebar-guide a {
    font-size: 11px;
  }
  .workspace-footer {
    font-size: 9px;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .workflow-strip {
    grid-template-columns: 1fr;
  }
  .workflow-step p {
    font-size: 12px;
  }
  .workflow-step h3 {
    font-size: 12px;
  }
  .step-number {
    height: 25px;
    width: 25px;
    font-size: 11px;
  }
}
@media (max-width: 430px) {
  .operation-options {
    grid-template-columns: 1fr;
  }
  .operation-option {
    padding: 11px 13px;
  }
  .operation-option span {
    font-size: 11px;
    padding-right: 25px;
  }
  .operation-option input {
    width: 14px;
    min-height: 14px;
    right: 14px;
  }
  .case-card-top {
    flex-wrap: wrap;
  }
  .case-card-top > .badge {
    font-size: 10px;
    margin-left: 47px;
  }
  .stats-grid {
    gap: 10px;
  }
  .stat-card {
    padding: 14px;
  }
  .stat-label {
    font-size: 11px;
  }
  .stat-note {
    font-size: 10px;
  }
  .card-heading h2 {
    font-size: 14px;
  }
  .card-heading .text-button {
    font-size: 11px;
  }
  .run-side {
    grid-template-columns: 1fr;
  }
}
.workspace-main,
.dashboard-main,
.dashboard-side,
.run-primary,
.run-side,
.resource-stack,
.dashboard-grid > *,
.run-grid > *,
.resource-grid > *,
.page-header > div {
  min-width: 0;
}
.table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.page-header h1 {
  overflow-wrap: anywhere;
}
input,
select,
textarea {
  min-width: 0;
}
@media (max-width: 950px) {
  .dashboard-grid,
  .run-grid,
  .resource-grid,
  .data-sync-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
