@charset "UTF-8";
:root {
  color-scheme: light dark;
  --bg: #f6f3eb;
  --surface: #fcfaf5;
  --sidebar: #efede5;
  --surface-alt: #f1eee5;
  --ink: #292e2b;
  --muted: #777b72;
  --line: #e3e1d7;
  --accent: #ca5a38;
  --accent-hover: #b64c2d;
  --accent-soft: #f6e7de;
  --green: #39725d;
  --green-soft: #e5eee5;
  --yellow: #8b6b31;
  --yellow-soft: #f4eddc;
  --red: #b54d45;
  --red-soft: #f7e5df;
  --shadow: 0 14px 60px #393b2d16;
  --radius: 13px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #191e1d;
    --surface: #202725;
    --sidebar: #171c1b;
    --surface-alt: #272f2c;
    --ink: #e2e7df;
    --muted: #a0aaa0;
    --line: #35403a;
    --accent: #ee9774;
    --accent-hover: #f6ae8e;
    --accent-soft: #3b2c26;
    --green: #9cc3a5;
    --green-soft: #293d32;
    --yellow: #d5b87f;
    --yellow-soft: #3b3527;
    --red: #eea395;
    --red-soft: #402d29;
    --shadow: 0 14px 60px #0003;
  }
}
:root[data-theme="dark"] {
  --bg: #191e1d;
  --surface: #202725;
  --sidebar: #171c1b;
  --surface-alt: #272f2c;
  --ink: #e2e7df;
  --muted: #a0aaa0;
  --line: #35403a;
  --accent: #ee9774;
  --accent-hover: #f6ae8e;
  --accent-soft: #3b2c26;
  --green: #9cc3a5;
  --green-soft: #293d32;
  --yellow: #d5b87f;
  --yellow-soft: #3b3527;
  --red: #eea395;
  --red-soft: #402d29;
  --shadow: 0 14px 60px #0003;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    14px/1.6 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
  font-weight: 550;
  letter-spacing: -1.1px;
}
h2 {
  font-size: 17px;
  letter-spacing: -0.3px;
  font-weight: 600;
}
h3 {
  font-size: 16px;
  font-weight: 600;
}
small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 650;
  color: var(--accent);
  margin-bottom: 12px;
}
.app-layout {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 230px;
  position: fixed;
  inset: 0 auto 0 0;
  border-right: 1px solid var(--line);
  background: var(--sidebar);
  padding: 29px 21px 18px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 29px;
  letter-spacing: -1px;
  font-weight: 650;
}
.brand-mark {
  background: var(--accent);
  color: var(--bg);
  border-radius: 11px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font:
    700 32px/1 Georgia,
    serif;
  letter-spacing: -4px;
  padding-right: 5px;
}
.brand-mark > span {
  font-size: 34px;
  transform: translateY(5px);
}
.workspace-label {
  font-size: 10px;
  letter-spacing: 1.3px;
  color: var(--muted);
  margin: 44px 12px 12px;
}
nav {
  display: grid;
  gap: 7px;
}
nav a {
  border-radius: 8px;
  color: var(--muted);
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
nav a > span {
  font-size: 20px;
  width: 22px;
  text-align: center;
  line-height: 1;
}
nav a:hover {
  background: var(--surface-alt);
  color: var(--ink);
}
nav a.active {
  background: var(--accent-soft);
  color: var(--accent);
}
.sidebar-note {
  margin-top: auto;
  padding: 60px 12px 27px;
}
.note-icon {
  color: var(--green);
  font-size: 26px;
  display: block;
  margin-bottom: 10px;
}
.sidebar-note strong {
  font-size: 12px;
  font-weight: 550;
}
.sidebar-note p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 7px;
}
.sidebar-bottom {
  border-top: 1px solid var(--line);
  padding: 17px 8px 0;
  display: grid;
  gap: 7px;
}
.service-status {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.status-dot.warning {
  background: var(--yellow);
}
.text-button {
  border: 0;
  background: none;
  padding: 5px 0;
  text-align: left;
  color: var(--muted);
  font-size: 12px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.text-button:hover {
  color: var(--accent);
}
.danger {
  color: var(--red);
}
.main-wrap {
  margin-left: 230px;
  width: calc(100% - 230px);
}
.topbar {
  height: 77px;
  border-bottom: 1px solid var(--line);
  padding: 0 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 13px;
}
.breadcrumb strong {
  color: var(--ink);
  font-weight: 500;
}
.breadcrumb > span {
  color: var(--line);
}
.topbar-right {
  display: flex;
  gap: 22px;
  align-items: center;
}
.live-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  border-radius: 50%;
  font-size: 11px;
}
main#content {
  max-width: 1560px;
  margin: auto;
  padding: 43px 45px 55px;
  min-height: calc(100vh - 146px);
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 31px;
}
.page-heading p {
  margin-top: 12px;
  font-size: 13px;
}
.heading-actions {
  display: flex;
  gap: 9px;
  flex-shrink: 0;
}
.button {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 15px;
  min-height: 38px;
  color: var(--ink);
  background: var(--surface);
  font-size: 12px;
  font-weight: 550;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.5;
}
.button:hover {
  background: var(--surface-alt);
}
.button.danger {
  color: var(--red);
}
.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.button.primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.button.small {
  min-height: 30px;
  font-size: 11px;
  padding: 5px 10px;
}
.full {
  width: 100%;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 19px 21px 18px;
}
.stat-label {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  gap: 8px;
}
.stat-label > span {
  color: var(--accent);
  font-size: 17px;
  line-height: 1;
}
.stat-value {
  font-size: 35px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -1px;
  margin-top: 14px;
}
.stat-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.quota-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 0 24px 23px;
}
.quota-value {
  min-height: 40px;
  margin-top: 12px;
  font-size: 23px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.quota-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 30px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.quota-details strong {
  font-weight: 550;
  margin-right: 12px;
}
.quota-details > p {
  flex: 1 1 240px;
}
.quota-caption {
  padding: 0 24px 18px;
  font-size: 10px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  margin-bottom: 25px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 24px 20px;
  gap: 20px;
}
.panel-heading p {
  font-size: 11px;
  margin-top: 5px;
}
.subtle-label {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 550;
  letter-spacing: 1px;
  color: var(--muted);
  padding: 12px 18px;
  background: var(--surface-alt);
  white-space: nowrap;
}
td {
  padding: 19px 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  vertical-align: middle;
}
th:first-child,
td:first-child {
  padding-left: 24px;
}
th:last-child,
td:last-child {
  padding-right: 24px;
}
tbody tr:hover {
  background: var(--bg);
}
.community-cell {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 175px;
}
.community-cell strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.community-cell small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 2px;
}
.community-icon {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  font-family: Georgia, serif;
  font-weight: 600;
  color: var(--green);
  font-size: 12px;
}
.badge {
  display: inline-flex;
  border-radius: 5px;
  white-space: nowrap;
  font-size: 10px;
  line-height: 1.5;
  padding: 4px 8px;
  color: var(--muted);
  background: var(--surface-alt);
  text-transform: capitalize;
}
.badge.accepted,
.badge.completed {
  color: var(--green);
  background: var(--green-soft);
}
.badge.pending,
.badge.running {
  color: var(--yellow);
  background: var(--yellow-soft);
}
.badge.rejected,
.badge.error,
.badge.failed {
  color: var(--red);
  background: var(--red-soft);
}
.cell-secondary {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
.cell-date {
  font-size: 10px;
  max-width: 150px;
}
.row-actions {
  white-space: nowrap;
  text-align: right;
}
.icon-button {
  display: inline-block;
  font-size: 19px;
  color: var(--accent);
  padding: 3px 10px;
}
.filter-count {
  font-size: 11px;
  color: var(--muted);
}
.flow-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 28px 0 14px;
}
.flow-card .eyebrow {
  font-size: 8px;
  letter-spacing: 1.3px;
}
.flow-card h2 {
  font-size: 20px;
  font-weight: 500;
}
.flow-card p {
  font-size: 11px;
  margin-top: 9px;
  max-width: 280px;
}
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.flow-steps > div {
  display: grid;
  position: relative;
  gap: 6px;
}
.step-number {
  font:
    italic 19px Georgia,
    serif;
  color: var(--accent);
  margin-bottom: 7px;
}
.flow-steps strong {
  font-size: 12px;
  font-weight: 550;
}
.flow-steps small {
  color: var(--muted);
  font-size: 9px;
  max-width: 95px;
}
.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  margin: 0 45px;
  padding: 20px 0;
  font-size: 10px;
}
.empty-state {
  text-align: center;
  padding: 48px 24px 55px;
}
.empty-icon {
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 15px;
}
.empty-state p {
  max-width: 370px;
  margin: 10px auto 20px;
  font-size: 12px;
}
.notice,
.info-strip {
  background: var(--accent-soft);
  padding: 15px 20px;
  border-radius: 9px;
  margin-bottom: 25px;
  font-size: 12px;
}
.notice > a {
  margin-left: 10px;
  color: var(--accent);
}
.info-strip {
  background: var(--surface-alt);
  color: var(--muted);
}
.info-strip strong {
  color: var(--ink);
  margin-right: 7px;
}
.filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.filter-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.filter-top,
.filter-meta,
.filter-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.filter-top {
  margin-bottom: 17px;
}
.filter-symbol {
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 9px;
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  font-size: 26px;
}
.filter-description {
  font-size: 12px;
  margin-top: 8px;
  min-height: 40px;
}
.policy-preview {
  font-size: 12px;
  line-height: 1.8;
  background: var(--surface-alt);
  border-radius: 7px;
  padding: 14px;
  margin: 19px 0;
  max-height: 125px;
  overflow: auto;
  white-space: pre-wrap;
}
.filter-meta {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 18px;
}
.filter-bottom {
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
dialog {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 27px 30px;
  max-width: 620px;
  width: calc(100% - 32px);
  max-height: calc(100vh - 48px);
  box-shadow: var(--shadow);
}
dialog.wide {
  max-width: 900px;
}
dialog::backdrop {
  background: #101914aa;
  backdrop-filter: blur(3px);
}
.modal-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.modal-heading h2 {
  font-size: 22px;
}
.modal-heading p {
  font-size: 12px;
  margin-top: 6px;
}
.close-button {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 25px;
  line-height: 1;
  padding: 0 3px;
}
.editor-form {
  display: grid;
  gap: 18px;
}
label {
  font-size: 12px;
  font-weight: 550;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
input,
select,
textarea {
  width: 100%;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 12px;
  min-width: 0;
  font-size: 13px;
}
input[readonly] {
  color: var(--muted);
}
textarea {
  resize: vertical;
}
.field-help {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.7;
}
.input-with-button {
  display: flex;
  gap: 8px;
}
.input-with-button > .button {
  flex-shrink: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.check-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 11px;
  padding: 9px 0;
}
.check-row input {
  width: 16px;
  height: 16px;
  min-width: 16px;
  accent-color: var(--accent);
  margin: 2px 0 0;
}
.check-row strong {
  font-size: 12px;
  font-weight: 550;
  display: block;
}
.check-row small {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  display: block;
  line-height: 1.6;
  margin-top: 4px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.form-error {
  font-size: 12px;
  color: var(--red);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.form-error:empty {
  display: none;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 15px;
}
legend {
  font-size: 12px;
  font-weight: 550;
  padding: 0 6px;
}
.filter-choices {
  max-height: 230px;
  overflow: auto;
}
.advanced {
  display: grid;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.advanced > label {
  margin-top: 15px;
}
.advanced > .button {
  margin-top: 15px;
}
summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 550;
}
pre {
  font:
    11px/1.7 ui-monospace,
    monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--bg);
  padding: 16px;
  border-radius: 7px;
  max-height: 500px;
  overflow: auto;
}
.post-toolbar {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 20px;
}
.post-toolbar select {
  width: 160px;
}
.post-list {
  display: grid;
  gap: 15px;
}
.post-card {
  padding: 22px 25px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.post-meta {
  display: flex;
  gap: 13px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 12px;
}
.post-title {
  border: 0;
  background: none;
  color: var(--ink);
  padding: 0;
  text-align: left;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 550;
}
.post-title:hover {
  color: var(--accent);
}
.post-excerpt {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 10px;
  white-space: pre-wrap;
}
.post-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  margin-top: 17px;
}
.post-card > .form-error {
  margin-top: 12px;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
  font-size: 12px;
}
.post-inspection h3 {
  margin-top: 28px;
  margin-bottom: 12px;
}
.full-body {
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.text-link {
  color: var(--accent);
  font-size: 12px;
  display: inline-block;
  margin-top: 16px;
}
.evidence-block {
  border: 1px solid var(--line);
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 10px;
}
.evidence-block > summary {
  line-height: 1.8;
}
.evidence-block > p,
.evidence-block > small {
  display: block;
  margin-top: 12px;
}
.evidence-block details {
  margin-top: 15px;
}
.result-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.result-row small {
  display: block;
  font-size: 10px;
  margin-top: 5px;
}
.result-row > div:last-child {
  text-align: right;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.media-grid img,
.media-grid video {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  background: var(--bg);
  border-radius: 8px;
}
.media-grid figure {
  margin: 0;
  min-width: 0;
}
.media-grid figcaption {
  font-size: 11px;
  margin-top: 6px;
  overflow-wrap: anywhere;
}
.job-error {
  max-width: 290px;
  font-size: 11px;
  overflow-wrap: anywhere;
  color: var(--red);
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 13px 22px;
  max-width: calc(100% - 32px);
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: var(--shadow);
  z-index: 10;
  font-size: 12px;
}
.toast.is-error {
  background: var(--red);
  color: var(--bg);
}
.noscript {
  padding: 20px;
  background: var(--red-soft);
  color: var(--red);
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
}
.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px;
  gap: min(12vw, 180px);
}
.login-card {
  width: 340px;
  max-width: 100%;
}
.login-card .brand {
  margin-bottom: 62px;
}
.login-card h1 {
  font-size: 45px;
  line-height: 1.16;
  letter-spacing: -1.7px;
  margin-bottom: 20px;
}
.login-card > p {
  font-size: 13px;
  line-height: 1.9;
}
.login-card form {
  display: grid;
  gap: 20px;
  margin-top: 31px;
}
.login-card .login-foot {
  font-size: 10px;
  margin-top: 35px;
  color: var(--muted);
}
.login-art {
  width: 440px;
  height: 550px;
  position: relative;
  overflow: hidden;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 150px 150px 18px 18px;
}
.orbit {
  position: absolute;
  border: 1px solid var(--accent);
  opacity: 0.3;
  border-radius: 50%;
  width: 350px;
  height: 350px;
  top: -100px;
  left: 45px;
}
.orbit-two {
  width: 440px;
  height: 440px;
  top: -145px;
  left: 0;
}
.orbit-three {
  width: 530px;
  height: 530px;
  top: -190px;
  left: -45px;
}
.art-dot {
  width: 65px;
  height: 65px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  top: 165px;
  left: 187px;
  box-shadow: 0 0 70px var(--accent-soft);
}
.art-copy {
  position: absolute;
  left: 44px;
  bottom: 55px;
  font:
    italic 37px/1.25 Georgia,
    serif;
  letter-spacing: -1px;
}
.art-copy > span {
  display: block;
  font:
    9px/1.8 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 1.7px;
  color: var(--muted);
  margin-top: 25px;
}
@media (min-width: 1450px) {
  main#content {
    padding-top: 55px;
  }
  .flow-card {
    padding-top: 40px;
  }
  .stat-card {
    padding: 24px;
  }
  .stat-value {
    font-size: 40px;
  }
}
@media (max-width: 1150px) {
  .quota-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sidebar {
    width: 205px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .main-wrap {
    margin-left: 205px;
    width: calc(100% - 205px);
  }
  main#content {
    padding: 32px 26px 40px;
  }
  .topbar {
    padding: 0 26px;
  }
  .page-footer {
    margin: 0 26px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .heading-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 230px;
  }
  .stat-grid {
    gap: 10px;
  }
  .stat-card {
    padding: 15px;
  }
  .stat-label {
    font-size: 10px;
  }
  .stat-note {
    font-size: 9px;
  }
  .flow-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .flow-steps {
    width: 100%;
    gap: 20px;
    margin-top: 10px;
  }
  .filter-grid {
    gap: 14px;
  }
  .filter-card {
    padding: 20px;
  }
}
@media (max-width: 760px) {
  .quota-grid {
    padding: 0 20px 20px;
    gap: 20px 12px;
  }
  .quota-value {
    font-size: 19px;
  }
  .quota-details {
    padding: 16px 20px;
  }
  .quota-caption {
    padding: 0 20px 16px;
  }
  .app-layout {
    display: block;
  }
  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 15px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
  }
  .brand {
    font-size: 24px;
  }
  .brand-mark {
    height: 31px;
    width: 31px;
    border-radius: 9px;
    font-size: 27px;
  }
  .brand-mark > span {
    font-size: 27px;
  }
  .workspace-label,
  .sidebar-note,
  .sidebar-bottom .service-status {
    display: none;
  }
  .sidebar nav {
    display: flex;
    order: 3;
    width: 100%;
    gap: 5px;
    justify-content: space-between;
  }
  .sidebar nav a {
    flex: 1;
    min-width: 0;
    flex-direction: column;
    font-size: 10px;
    padding: 8px 4px;
    gap: 4px;
  }
  .sidebar nav a > span {
    font-size: 16px;
    width: 15px;
  }
  .sidebar-bottom {
    margin-left: auto;
    border: 0;
    padding: 0;
  }
  .sidebar-bottom .text-button {
    font-size: 10px;
  }
  .main-wrap {
    margin: 0;
    width: 100%;
  }
  .topbar {
    height: 54px;
    padding: 0 20px;
  }
  .live-label {
    display: none;
  }
  main#content {
    padding: 27px 20px 35px;
    min-height: calc(100vh - 255px);
  }
  .page-heading {
    flex-direction: column;
    gap: 20px;
  }
  .heading-actions {
    max-width: none;
    justify-content: flex-start;
  }
  .page-heading p {
    font-size: 12px;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .stat-label {
    font-size: 11px;
  }
  .stat-value {
    font-size: 32px;
    margin-top: 8px;
  }
  .stat-note {
    font-size: 9px;
  }
  .panel-heading {
    padding: 20px;
  }
  .panel-heading p {
    font-size: 10px;
  }
  .filter-grid {
    grid-template-columns: 1fr;
  }
  .page-footer {
    margin: 0 20px;
    font-size: 9px;
  }
  .page-footer > span:last-child {
    display: none;
  }
  dialog {
    padding: 22px 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .modal-heading h2 {
    font-size: 20px;
  }
  .input-with-button {
    flex-direction: column;
  }
  .input-with-button > .button {
    align-self: flex-start;
  }
  .post-card {
    padding: 19px;
  }
  .post-bottom {
    align-items: flex-start;
    gap: 15px;
  }
  .post-bottom .text-button {
    font-size: 10px;
  }
  .flow-steps {
    gap: 12px;
  }
  .flow-steps small {
    font-size: 9px;
  }
  .login-page {
    padding: 40px 24px;
  }
  .login-art {
    display: none;
  }
  .login-card .brand {
    margin-bottom: 55px;
  }
  .result-row {
    flex-direction: column;
  }
  .result-row > div:last-child {
    text-align: left;
  }
  .media-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
