@font-face {
  font-family: Helvetica;
  src: url(Helvetica.woff2);
}
@font-face {
  font-family: Helvetica;
  src: url(Helvetica-Bold.woff2);
  font-weight: 700;
}
:root {
  --green: #2ba346;
  --deep: #173d32;
  --muted: #84928b;
  --line: #edf1ec;
  --paper: #fff;
  --bg: #f5f7f3;
  --shadow: 0 10px 40px #26483107;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  font:
    14px/1.5 Helvetica,
    Arial,
    sans-serif;
  color: var(--deep);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
input,
select,
textarea {
  min-width: 0;
  outline: none;
  border: 1px solid #e5eae3;
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
  color: var(--deep);
}
input:focus,
select:focus,
textarea:focus,
[contenteditable]:focus {
  border-color: #7fbe83;
  box-shadow: 0 0 0 3px #2ba34610;
  outline: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #82be89;
  outline-offset: 3px;
}
button {
  border: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  letter-spacing: -1.2px;
  line-height: 1.22;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 16px;
}
.shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 238px;
  flex-shrink: 0;
  background: white;
  border-right: 1px solid var(--line);
  padding: 34px 20px 22px;
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  z-index: 30;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sidebar > * {
  flex-shrink: 0;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 16px;
  gap: 10px;
}
.brand img {
  width: 131px;
  height: 41px;
  object-fit: contain;
}
.brand span {
  font-size: 11px;
  color: var(--muted);
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #9aa69d;
  margin: 44px 0 15px 16px;
}
nav {
  display: grid;
  gap: 8px;
}
nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 16px;
  color: #79857c;
  border-radius: 12px;
  font-size: 13px;
  position: relative;
}
nav a:hover {
  background: #f4f8f1;
}
nav a.active {
  background: #eaf5e7;
  color: #348742;
  font-weight: 700;
}
.nav-icon {
  font-size: 22px;
  line-height: 1;
  width: 22px;
  text-align: center;
}
nav i {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  margin-left: auto;
}
.sidebar-note {
  margin-top: auto;
  background: #f4f8ec;
  border-radius: 18px;
  padding: 22px 17px;
  position: relative;
  margin-bottom: 25px;
}
.note-flower {
  display: block;
  font-size: 42px;
  color: #7eac68;
  line-height: 1;
  margin-bottom: 15px;
}
.sidebar-note strong {
  font-size: 14px;
}
.sidebar-note p {
  font-size: 10px;
  color: #8b9983;
  margin: 10px 0 18px;
  line-height: 1.8;
}
.sidebar-note a {
  font-size: 11px;
  font-weight: 700;
}
.profile {
  background: none;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  color: var(--deep);
  padding: 0;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.profile strong {
  display: block;
  font-size: 11px;
  max-width: 122px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile small {
  display: block;
  font-size: 9px;
  color: var(--muted);
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e7efdf;
  color: #587c4a;
  width: 37px;
  height: 37px;
  border-radius: 12px;
  flex-shrink: 0;
  font-weight: 700;
}
.main {
  margin-left: 238px;
  width: calc(100% - 238px);
  padding: 0 38px;
  max-width: none;
  min-width: 0;
}
.topbar {
  height: 89px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e7ece4;
  font-size: 11px;
}
.breadcrumb {
  color: #98a198;
}
.breadcrumb-separator {
  padding: 0 14px;
  color: #b4bcb1;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: #50a95b;
  border-radius: 50%;
}
.topbar-date {
  margin-left: 22px;
  color: #8d998e;
  padding-left: 22px;
  border-left: 1px solid #dce5d9;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 37px 0 28px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #8d9c85;
  display: block;
  margin-bottom: 13px;
}
.page-heading p {
  color: #8a968c;
  font-size: 12px;
  margin-top: 12px;
}
.heading-dot {
  color: #74ab55;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 12px;
  padding: 13px 19px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 5px 14px #2ba34618;
  white-space: nowrap;
  min-height: 43px;
}
.button:hover {
  background: #248d3c;
}
.button.secondary {
  background: #f1f5ef;
  color: #53684f;
  box-shadow: none;
}
.button.danger {
  background: #ba4c4c;
}
.icon-button {
  background: #f4f7f2;
  border-radius: 10px;
  width: 35px;
  height: 35px;
  color: #6e8267;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu {
  display: none;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
.stat {
  background: #fff;
  border: 1px solid #edf1e9;
  border-radius: 19px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #8d998e;
}
.stat-icon {
  font-size: 20px;
  color: #71a26a;
  background: #f1f6ec;
  width: 35px;
  height: 35px;
  border-radius: 11px;
  display: grid;
  place-items: center;
}
.stat-value {
  font-size: 34px;
  letter-spacing: -1.5px;
  margin: 12px 0 4px;
  font-weight: 700;
  line-height: 1.15;
}
.stat small {
  font-size: 9px;
  color: #9ba595;
}
.stat.featured {
  background: #eaf2dc;
  border-color: #e4eccf;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr);
  gap: 24px;
}
.card {
  border-radius: 21px;
  background: white;
  padding: 25px;
  box-shadow: var(--shadow);
  border: 1px solid #edf1e9;
}
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 23px;
}
.card-heading p,
.subtle {
  font-size: 11px;
  color: #94a08f;
  margin-top: 6px;
}
.pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 8px;
  background: #f3f6ed;
  color: #8a967b;
  font-size: 9px;
  white-space: nowrap;
}
.pill.green {
  background: #edf7e8;
  color: #5c9551;
}
.pill.amber {
  background: #fcf3df;
  color: #ad8a43;
}
.pill.red {
  background: #fcedeb;
  color: #b76659;
}
.hero-card {
  background: #e8f0d9;
  position: relative;
  min-height: 225px;
  overflow: hidden;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-card h2 {
  font-size: 25px;
  line-height: 1.2;
  max-width: 230px;
  position: relative;
  z-index: 1;
}
.hero-card p {
  font-size: 11px;
  color: #81936e;
  margin: 12px 0 22px;
  max-width: 210px;
}
.hero-card .button {
  background: #fff;
  color: #4e713f;
  margin-top: auto;
  z-index: 1;
}
.hero-art {
  position: absolute;
  right: -12px;
  bottom: 7px;
  font-size: 155px;
  line-height: 1;
  color: #b8d696;
  transform: rotate(-13deg);
}
.chart {
  height: 159px;
  display: flex;
  gap: 19px;
  align-items: flex-end;
  padding: 8px 6px 23px;
  margin: 10px 0 0;
  border-bottom: 1px solid #edf0e8;
}
.chart-column {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  gap: 5px;
}
.chart-column i {
  display: block;
  min-height: 3px;
  width: 55%;
  max-width: 42px;
  background: #dae8ca;
  border-radius: 7px 7px 3px 3px;
}
.chart-column:last-child i {
  background: #79aa59;
}
.chart-column span {
  font-size: 9px;
  color: #9ba891;
  position: absolute;
  bottom: -21px;
}
.chart-column small {
  font-size: 9px;
  color: #8a9e7c;
}
.revenue-total {
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -1px;
}
.chart-caption {
  font-size: 9px;
  color: #97a08e;
  margin-top: 15px;
}
.latest {
  margin-top: 24px;
}
.mini-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f3ec;
}
.mini-row:last-child {
  border: 0;
}
.cover {
  width: 45px;
  height: 53px;
  object-fit: cover;
  border-radius: 9px;
  background: #edf1e5;
  flex-shrink: 0;
}
.mini-row .row-title {
  font-size: 12px;
  font-weight: 700;
}
.mini-row .row-subtitle {
  font-size: 10px;
  color: #9ba493;
  margin-top: 3px;
}
.mini-row .pill {
  margin-left: auto;
}
.mini-row .icon-button {
  margin-left: 4px;
}
.list-card {
  background: #fff;
  border-radius: 21px;
  box-shadow: var(--shadow);
  border: 1px solid #edf1e9;
  overflow: hidden;
}
.list-toolbar {
  padding: 22px;
  display: flex;
  gap: 12px;
}
.search-wrap {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 1;
  position: relative;
  background: #f6f8f3;
  border-radius: 11px;
  padding: 0 13px;
}
.search-wrap input {
  width: 100%;
  border: 0;
  background: none;
  padding: 12px 0;
  font-size: 12px;
  box-shadow: none;
}
.search-wrap > span {
  font-size: 24px;
  color: #9aa690;
}
.search-wrap kbd {
  font: 9px Helvetica;
  color: #a6b19f;
  border: 1px solid #e3e9df;
  padding: 2px 5px;
  border-radius: 4px;
}
.list-toolbar select,
.extra-filters select {
  font-size: 11px;
  max-width: 200px;
}
.extra-filters {
  display: flex;
  gap: 10px;
  padding: 0 22px 20px;
}
.extra-filters select {
  background: #fafbf8;
  border-color: #edf0e8;
  max-width: 250px;
}
.extra-filters > span {
  margin-left: auto;
  align-self: center;
  font-size: 10px;
  color: #a2ad9b;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  padding: 13px 22px;
  background: #fafbf8;
  font-size: 9px;
  font-weight: 400;
  color: #94a18b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
td {
  padding: 16px 22px;
  border-bottom: 1px solid #f0f3ec;
  font-size: 12px;
}
td .subtitle {
  display: block;
  color: #9aa58f;
  font-size: 10px;
  margin-top: 4px;
}
.material-cell {
  display: flex;
  align-items: center;
  gap: 13px;
}
.material-cell strong {
  font-weight: 700;
  max-width: 320px;
  white-space: normal;
  display: block;
}
.row-actions {
  display: flex;
  gap: 6px;
}
.pagination {
  padding: 19px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #96a18b;
}
.pagination > div {
  display: flex;
  gap: 15px;
  align-items: center;
}
.pagination button:disabled {
  cursor: default;
}
.page-footer {
  display: flex;
  justify-content: space-between;
  color: #aab29f;
  font-size: 9px;
  padding: 27px 0;
}
.empty,
.loading {
  padding: 70px 25px;
  text-align: center;
  color: #93a189;
}
.empty h3 {
  margin: 12px 0 7px;
  color: #667d5c;
}
.empty p {
  font-size: 12px;
}
.empty-symbol {
  font-size: 40px;
  color: #abc59b;
}
.loading:before {
  content: "";
  display: block;
  width: 23px;
  height: 23px;
  border: 2px solid #e7eedf;
  border-top-color: #70a55c;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
dialog {
  border: 0;
  border-radius: 23px;
  padding: 0;
  color: var(--deep);
  box-shadow: 0 24px 100px #16362326;
  max-height: 90dvh;
}
dialog::backdrop {
  background: #12312459;
  backdrop-filter: blur(4px);
}
.editor-dialog {
  width: 900px;
  max-width: calc(100% - 26px);
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}
.dialog-header p {
  font-size: 11px;
  color: #92a089;
  margin-top: 5px;
}
.editor-body {
  padding: 25px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 1fr);
  gap: 25px;
}
.editor-body.single {
  display: block;
}
.field {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}
.field > input,
.field > select,
.field > textarea {
  width: 100%;
  margin-top: 8px;
  font-weight: 400;
}
.field > small:not(.field-error) {
  font-size: 10px;
  font-weight: 400;
  display: block;
  color: #99a48f;
  margin-top: 5px;
}
.field-error {
  display: block;
  color: #bd5952;
  font-size: 11px;
  font-weight: 400;
  margin-top: 5px;
  min-height: 0;
}
.field-error:empty {
  display: none;
}
.invalid {
  border-color: #d78078 !important;
  background: #fffafa !important;
}
.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.editor-toolbar {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  border: 1px solid #e5eae3;
  border-radius: 11px 11px 0 0;
  padding: 7px;
  background: #f8faf5;
  margin-top: 8px;
}
.editor-toolbar button {
  background: white;
  color: #687b5a;
  border-radius: 5px;
  min-width: 30px;
  height: 30px;
}
.rich-editor {
  min-height: 260px;
  max-height: 440px;
  overflow: auto;
  white-space: pre-wrap;
  border: 1px solid #e5eae3;
  border-top: 0;
  border-radius: 0 0 11px 11px;
  padding: 17px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
}
.rich-editor p {
  margin-bottom: 10px;
}
.editor-count {
  text-align: right;
  font-size: 9px;
  color: #9ca893;
  margin-top: 6px;
}
.editor-aside {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.dropzone {
  border: 1.5px dashed #cfdcc4;
  background: #f8fbf3;
  border-radius: 13px;
  padding: 20px 12px;
  text-align: center;
  position: relative;
  margin-top: 8px;
  transition: 0.2s;
}
.dropzone.dragover {
  background: #e8f4de;
  border-color: #6f9d51;
}
.dropzone input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  inset: auto;
  pointer-events: none;
}
.dropzone button {
  display: block;
  background: transparent;
  color: #4d8646;
  font-size: 11px;
  font-weight: 700;
  margin: 8px auto;
  white-space: normal;
}
.dropzone small {
  display: block;
  font-size: 9px;
  color: #9aa88e;
  font-weight: 400;
}
.drop-icon {
  font-size: 24px;
  font-weight: 400;
  color: #93b478;
}
.file-preview img {
  max-width: 100%;
  height: 100px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 6px;
}
.file-preview audio {
  width: 100%;
  height: 34px;
}
.file-preview a {
  font-size: 10px;
  display: block;
  word-break: break-word;
}
.file-progress {
  width: 100%;
  height: 5px;
  accent-color: #74a75b;
  display: none;
  margin-top: 10px;
}
.access-options {
  display: grid;
  gap: 9px;
  margin: 10px 0;
}
.access-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e5ebdf;
  border-radius: 11px;
  padding: 12px;
  cursor: pointer;
  font-size: 11px;
}
.access-option:has(input:checked) {
  border-color: #99be83;
  background: #f4f9ee;
}
.access-option input {
  accent-color: #5d9d48;
}
.access-option small {
  display: block;
  font-size: 9px;
  color: #9ba98c;
  font-weight: 400;
  margin-top: 3px;
}
.dialog-bottom {
  position: sticky;
  bottom: 0;
  background: #fff;
  padding: 18px 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  z-index: 3;
}
.form-message {
  color: #b2554b;
  font-size: 12px;
  margin: 0 0 14px;
  white-space: normal;
}
.form-message:empty {
  display: none;
}
.confirm-dialog {
  width: 410px;
  max-width: calc(100% - 28px);
  padding: 28px;
  text-align: center;
}
.dialog-symbol {
  margin: 0 auto 16px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #edf4e5;
  display: grid;
  place-items: center;
  font-size: 23px;
  color: #7a9f60;
}
.confirm-dialog p {
  font-size: 12px;
  color: #8a9881;
  line-height: 1.7;
  margin: 12px 0 24px;
}
.dialog-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.toast {
  position: fixed;
  right: 25px;
  bottom: 25px;
  background: #234c39;
  color: white;
  border-radius: 12px;
  padding: 14px 22px;
  box-shadow: 0 8px 30px #173c3220;
  font-size: 12px;
  z-index: 100;
  opacity: 0;
  transform: translateY(15px);
  transition: 0.2s;
  pointer-events: none;
}
.toast.visible {
  opacity: 1;
  transform: translateY(0);
}
.login-wrap {
  max-width: 1040px;
  margin: 8vh auto;
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: white;
  border-radius: 28px;
  box-shadow: 0 25px 80px #22462b0b;
  overflow: hidden;
}
.login-story {
  padding: 48px;
  background: #e7efd9;
  position: relative;
  overflow: hidden;
}
.login-logo {
  width: 140px;
  display: block;
  margin-bottom: 58px;
}
.login-story h1 {
  font-size: 43px;
  line-height: 1.15;
}
.login-story p {
  font-size: 12px;
  color: #8b9b79;
  margin-top: 20px;
  line-height: 1.8;
}
.login-story > small {
  position: absolute;
  bottom: 30px;
  color: #93a380;
  font-size: 10px;
}
.login-card {
  padding: 85px 53px 45px;
}
.login-card h2 {
  font-size: 30px;
}
.login-card > p {
  font-size: 12px;
  line-height: 1.8;
  color: #929e88;
  margin: 12px 0 30px;
}
.login-card .field {
  margin-bottom: 22px;
}
.password-wrap {
  position: relative;
  margin-top: 8px;
}
.password-wrap input {
  width: 100%;
  padding-right: 45px;
}
.password-wrap button {
  position: absolute;
  right: 10px;
  top: 9px;
  background: none;
  color: #99aa8b;
}
.full-width {
  width: 100%;
  justify-content: space-between;
}
.login-card .login-help {
  font-size: 10px;
  text-align: center;
  margin: 23px 0;
}
.text-link {
  font-size: 11px;
  color: #7d926c;
}
.sound-art {
  height: 170px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
}
.sound-art > span {
  font-size: 85px;
  color: #8caf6c;
  position: absolute;
  left: 15px;
  transform: rotate(-15deg);
}
.sound-art > b {
  font-size: 95px;
  color: #bad093;
  position: absolute;
  right: 10px;
  top: 5px;
}
.sound-bars {
  display: flex;
  align-items: center;
  gap: 7px;
  transform: rotate(-8deg);
  z-index: 1;
}
.sound-bars i {
  width: 10px;
  height: 65px;
  background: #739d56;
  border-radius: 10px;
}
.sound-bars i:nth-child(2n) {
  height: 95px;
  background: #98b778;
}
.sound-bars i:nth-child(3n) {
  height: 120px;
  background: #bdd193;
}
.sound-bars i:first-child,
.sound-bars i:last-child {
  height: 30px;
}
@media (min-width: 1550px) {
  .main {
    padding: 0 55px;
  }
  .page-heading {
    margin: 45px 0 32px;
  }
  .stat {
    padding: 28px;
  }
  .card {
    padding: 30px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 207px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .main {
    margin-left: 207px;
    width: calc(100% - 207px);
    padding: 0 24px;
  }
  h1 {
    font-size: 27px;
  }
  .stat {
    padding: 16px;
  }
  .stat-value {
    font-size: 29px;
  }
  .dashboard-grid {
    gap: 18px;
  }
  .card {
    padding: 20px;
  }
  .hero-card h2 {
    font-size: 23px;
  }
  .list-toolbar {
    flex-wrap: wrap;
  }
  .search-wrap {
    flex-basis: 100%;
  }
  .extra-filters > span {
    display: none;
  }
  .login-wrap {
    margin: 5vh 25px;
  }
}
@media (max-width: 850px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 235px;
    box-shadow: 20px 0 70px #173d3215;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main {
    margin: 0;
    width: 100%;
    padding: 0 22px;
  }
  .mobile-menu {
    display: inline-flex;
    margin-right: 12px;
  }
  .topbar {
    height: 70px;
    justify-content: flex-start;
  }
  .topbar-right {
    margin-left: auto;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(235px, 1fr);
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .page-heading {
    margin-top: 27px;
  }
  .editor-body {
    gap: 20px;
    padding: 20px;
  }
  .editor-aside {
    padding-left: 18px;
  }
  .login-wrap {
    min-height: 580px;
  }
  .login-story {
    padding: 35px;
  }
  .login-card {
    padding: 75px 35px 35px;
  }
  .login-story h1 {
    font-size: 35px;
  }
  .sound-art > b {
    right: -20px;
  }
}
@media (max-width: 600px) {
  .main {
    padding: 0 15px;
  }
  .topbar-date,
  .breadcrumb-separator,
  .breadcrumb {
    display: none;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
    margin-bottom: 20px;
  }
  .page-heading h1 {
    font-size: 27px;
    max-width: 330px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .eyebrow {
    font-size: 8px;
    margin-bottom: 10px;
  }
  .page-heading .button {
    padding: 11px 17px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .stat {
    border-radius: 16px;
    padding: 16px;
  }
  .stat-top {
    font-size: 10px;
  }
  .stat-icon {
    width: 29px;
    height: 29px;
    font-size: 17px;
  }
  .stat-value {
    font-size: 29px;
  }
  .stat small {
    font-size: 8px;
  }
  .dashboard-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .dashboard-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .dashboard-right .latest {
    margin: 0;
  }
  .hero-card {
    min-height: 205px;
  }
  .hero-art {
    right: 10px;
  }
  .card {
    padding: 20px;
  }
  .card-heading h2 {
    font-size: 18px;
  }
  .page-footer {
    font-size: 8px;
  }
  .page-footer span:last-child {
    display: none;
  }
  .list-toolbar {
    padding: 15px;
    gap: 8px;
  }
  .list-toolbar select {
    flex: 1;
    max-width: 100%;
    width: 120px;
  }
  .extra-filters {
    padding: 0 15px 15px;
  }
  .extra-filters select {
    width: 50%;
    font-size: 10px;
    padding: 10px 6px;
  }
  td,
  th {
    padding: 13px 15px;
  }
  .material-cell strong {
    max-width: 180px;
    min-width: 130px;
  }
  .editor-body {
    display: block;
    padding: 20px;
  }
  .editor-aside {
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    margin-top: 20px;
  }
  .dialog-header {
    padding: 20px;
  }
  .dialog-header h2 {
    font-size: 18px;
  }
  .dialog-bottom {
    padding: 15px 20px;
  }
  .rich-editor {
    min-height: 210px;
  }
  .editor-dialog {
    max-height: 94dvh;
  }
  .login-wrap {
    display: block;
    margin: 18px;
    min-height: 0;
    border-radius: 23px;
  }
  .login-story {
    padding: 27px;
  }
  .login-logo {
    width: 111px;
    margin-bottom: 23px;
  }
  .login-story h1 {
    font-size: 29px;
  }
  .login-story p,
  .login-story > small,
  .sound-art {
    display: none;
  }
  .login-card {
    padding: 30px 27px;
  }
  .login-card h2 {
    font-size: 26px;
  }
  .login-card > p {
    margin-bottom: 24px;
  }
  .toast {
    left: 15px;
    right: 15px;
    bottom: 15px;
    text-align: center;
  }
  .mini-row .pill {
    font-size: 8px;
  }
  .field-pair {
    gap: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 850px) {
  .sidebar {
    visibility: hidden;
  }
  .sidebar.open {
    visibility: visible;
  }
}
@media (max-width: 600px) {
  #results .table-wrap {
    overflow: visible;
  }
  #results table,
  #results tbody {
    display: block;
    white-space: normal;
  }
  #results thead {
    display: none;
  }
  #results tr {
    display: block;
    margin: 0 15px 15px;
    border: 1px solid #eaf0e4;
    border-radius: 15px;
    padding: 8px 14px;
  }
  #results td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    padding: 11px 0;
    font-size: 12px;
  }
  #results td:first-child {
    display: block;
  }
  #results td:not(:first-child):before {
    content: attr(data-label);
    font-size: 10px;
    color: #91a087;
    flex-shrink: 0;
  }
  #results td:last-child {
    border: 0;
  }
  #results td .subtitle {
    font-size: 9px;
  }
  #results .material-cell strong {
    max-width: none;
    min-width: 0;
  }
  #results .row-actions {
    margin-left: auto;
  }
  #results td:nth-child(2) {
    flex-wrap: wrap;
  }
  .mini-row .row-title {
    max-width: 175px;
  }
}
/* Trainer management shares the existing panel layout and dialogs. */
.trainer-admin-card{padding:25px}.trainer-admin-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:22px}.trainer-admin-controls .field{flex:1;min-width:170px;margin:0}.trainer-admin-controls .button{margin-bottom:0;min-height:46px}.trainer-admin-card .list-toolbar{padding:12px 0 22px}.trainer-admin-card input,.trainer-admin-card select,#trainer-edit-form textarea{max-width:100%}.trainer-admin-card .muted,#trainer-edit-form .muted{font-size:13px;line-height:1.7;color:#7c806f;margin:12px 0 22px}.trainer-admin-card .field{max-width:700px}.trainer-admin-card .table-wrap{margin:0 -10px}#trainer-edit-form{padding:28px}#trainer-edit-form .editor-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:12px}#trainer-edit-form h2{font-size:25px;margin:0}#trainer-edit-form .check-field{display:flex;align-items:center;gap:9px;padding:15px 0}#trainer-edit-form .check-field input{width:auto}#trainer-edit-form textarea{font:inherit;border:1px solid #dfe3d8;border-radius:10px;padding:12px;resize:vertical;min-height:100px;width:100%}.trainer-admin-card .text-link{background:none;border:0;cursor:pointer;margin-right:10px;font:inherit;font-size:12px}.trainer-admin-card #price-form{max-width:680px}.trainer-admin-card #price-form h2{margin-top:0}.trainer-admin-card .pagination{padding:22px 0 0}.trainer-admin-card .cell-meta{display:block;color:#8b907e;font-size:11px;margin-top:4px}.trainer-admin-card .list-toolbar>input{min-height:45px;border:1px solid #e1e5d8;border-radius:11px;padding:10px 14px;flex:1;font:inherit;min-width:100px}.trainer-admin-card .empty-state{padding:45px 20px;text-align:center;color:#7e8872}
@media(max-width:600px){.trainer-admin-card{padding:18px}.trainer-admin-controls{gap:10px}.trainer-admin-controls .field{flex-basis:100%;min-width:0}.trainer-admin-controls .button{flex:1;font-size:11px;padding:11px}.trainer-admin-card .list-toolbar{flex-wrap:wrap;gap:12px}.trainer-admin-card .list-toolbar .button{font-size:12px}#trainer-edit-form{padding:18px}#trainer-edit-form h2{font-size:21px}}
@media(max-width:600px){.trainer-admin-card .table-wrap,#editor-content .table-wrap{overflow:visible;margin:0}.trainer-admin-card table,.trainer-admin-card tbody,#editor-content table,#editor-content tbody{display:block;min-width:0;width:100%;white-space:normal}.trainer-admin-card thead,#editor-content thead{display:none}.trainer-admin-card tr,#editor-content tr{display:block;border:1px solid #e8eddf;border-radius:13px;margin-bottom:14px;padding:8px 13px}.trainer-admin-card td,#editor-content td{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;font-size:12px;max-width:100%;overflow-wrap:anywhere}.trainer-admin-card td:before,#editor-content td:before{content:attr(data-label);font-size:10px;color:#819171;flex-shrink:0}.trainer-admin-card td:last-child,#editor-content td:last-child{border-bottom:0}.trainer-admin-card .text-link{min-height:36px;margin-right:0}.trainer-admin-card .cell-meta{flex-basis:100%;text-align:right}.trainer-admin-card table td:first-child{font-size:14px}}
.mail-admin-card{padding:27px;margin-bottom:24px}.mail-admin-card h2{font-size:23px;margin:0 0 15px}.mail-heading p,.mail-help{font-size:13px;color:#829072;line-height:1.8;margin:0 0 23px}.mail-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.mail-switch{display:flex;align-items:start;gap:12px;font-size:13px;line-height:1.6;margin-bottom:21px;padding:17px;border-radius:13px;background:#f5f8ef;cursor:pointer}.mail-switch input{flex-shrink:0;width:18px;height:18px;accent-color:#2e9c43;margin-top:2px}.mail-switch small{display:block;font-size:11px;color:#8a967d;margin-top:5px}.mail-admin-card .field{max-width:650px}#smtp-password-state{font-size:11px;font-weight:400;color:#89977c}.mail-admin-card [hidden]{display:none!important}@media(max-width:600px){.mail-admin-card{padding:20px}.mail-fields{grid-template-columns:1fr}.mail-admin-card h2{font-size:21px}}
