:root {
  --bg: #131215;
  --panel: #1a191e;
  --panel2: #222126;
  --line: #35343a;
  --muted: #a6a3aa;
  --text: #f4f2ee;
  --accent: #fd794f;
  --accent2: #e6603c;
  --green: #76ce9b;
  --amber: #e6b56d;
  --radius: 13px;
  --side: 228px;
  --top: 70px;
  font-family:
    Inter,
    Segoe UI,
    Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -1.1px;
}
h2 {
  font-size: 18px;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 14px;
}
p {
  line-height: 1.5;
  color: var(--muted);
}
small,
.muted {
  color: var(--muted);
  font-size: 12px;
}
strong {
  font-weight: 650;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 16px 0;
}
.logo {
  font-weight: 850;
  font-size: 31px;
  letter-spacing: -1.9px;
  white-space: nowrap;
}
.logo b {
  color: var(--accent);
}
.brand-tag {
  font-size: 12px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 12px;
  margin-left: 10px;
}
.accent {
  color: var(--accent);
}
.green {
  color: var(--green);
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn {
  min-height: 39px;
  padding: 9px 14px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #242328;
  color: var(--text);
  font-weight: 650;
  font-size: 13px;
  text-align: center;
}
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #171215;
}
.btn.primary:hover {
  background: #ff8a67;
}
.btn.ghost {
  background: transparent;
}
.btn:hover:not(:disabled) {
  border-color: var(--accent);
}
.btn.danger {
  color: #f6a6a1;
  border-color: #794b4b;
  background: #321f22;
}
.btn.small {
  min-height: 32px;
  font-size: 12px;
  padding: 6px 10px;
}
.btn.full {
  width: 100%;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #45434a;
  background: #26252a;
  border-radius: 5px;
  padding: 4px 7px;
  font-size: 11px;
  color: #c9c5ca;
  font-weight: 600;
  white-space: normal;
}
.tag.ok {
  color: #91ddae;
  background: #1b3127;
  border-color: #294838;
}
.tag.warn {
  color: #f1c58c;
  background: #342b21;
  border-color: #53412f;
}
.tag.off {
  color: #b4b1b8;
}
.tag.orange {
  color: var(--accent);
  background: #33231e;
  border-color: #5e3a30;
}
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--top);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  gap: 20px;
  background: #111014;
  border-bottom: 1px solid var(--line);
}
.top-left,
.top-right,
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.top-left {
  min-width: var(--side);
}
.top-right {
  gap: 10px;
}
.search {
  flex: 1;
  max-width: 470px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 12px;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}
.search span:last-child {
  margin-left: auto;
  font-size: 11px;
}
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #422921;
  border: 1px solid #80513d;
  color: var(--accent);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-weight: 750;
}
.shell {
  display: grid;
  grid-template-columns: var(--side) minmax(0, 1fr);
  min-height: calc(100vh - var(--top));
}
.sidebar {
  position: sticky;
  top: var(--top);
  height: calc(100vh - var(--top));
  overflow-y: auto;
  border-right: 1px solid var(--line);
  padding: 16px 12px 20px;
  background: #151419;
  scrollbar-width: thin;
}
.navgroup {
  font-size: 10px;
  letter-spacing: 1.3px;
  font-weight: 700;
  color: #96939b;
  margin: 17px 10px 6px;
  text-transform: uppercase;
}
.navgroup:first-child {
  margin-top: 5px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 10px;
  margin: 2px 0;
  border-radius: 8px;
  font-size: 13px;
  color: #ddd9df;
}
.nav .icon {
  width: 17px;
  height: 17px;
}
.nav:hover {
  background: #29272d;
}
.nav.active {
  background: var(--accent);
  color: #191215;
  font-weight: 750;
}
.nav .nav-arrow {
  margin-left: auto;
  opacity: 0.6;
}
.sidebar-foot {
  margin: 17px 4px 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px;
}
.sidebar-foot .row {
  justify-content: space-between;
}
.main {
  padding: 25px 28px 40px;
  min-width: 0;
  max-width: 1700px;
  width: 100%;
  margin: 0 auto;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 13px;
  flex-wrap: wrap;
}
.breadcrumb a:hover {
  color: var(--accent);
}
.heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: flex-end;
  margin: 0 0 20px;
}
.heading p {
  margin-top: 7px;
  font-size: 13px;
}
.heading .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.grid {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.g2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.g3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.g4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.g6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.split {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.35fr);
  gap: 16px;
  align-items: start;
}
.wide-split {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  gap: 16px;
  align-items: start;
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 18px;
  min-width: 0;
  overflow: hidden;
}
.panel + .panel {
  margin-top: 14px;
}
.grid > .panel + .panel,
.split > .panel + .panel,
.wide-split > .panel + .panel {
  margin-top: 0;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}
.panel-head h2 {
  display: flex;
  gap: 9px;
  align-items: center;
}
.panel-head .icon {
  color: var(--accent);
}
.section {
  margin-top: 17px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 0;
}
.stack > .panel + .panel {
  margin-top: 0;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.hero {
  position: relative;
  background:
    linear-gradient(90deg, #1b171b 0%, #1b171b 30%, #1b171b00 83%),
    url("assets/hero.jpg") center right/cover no-repeat;
  min-height: 190px;
  border: 1px solid #65402f;
  border-radius: var(--radius);
  padding: 25px;
  display: flex;
  align-items: center;
  margin-bottom: 17px;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  max-width: 60%;
}
.hero h1 {
  font-size: 31px;
}
.hero p {
  margin: 10px 0 16px;
  color: #ddd5d1;
}
.module {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #211f24;
  overflow: hidden;
  display: block;
  transition: border-color 0.15s;
}
.module:hover {
  border-color: var(--accent);
}
.module-art {
  height: 81px;
  position: relative;
  background: #27232c;
  overflow: hidden;
}
.module-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.module-art .icon {
  position: absolute;
  left: 10px;
  top: 10px;
  color: var(--accent);
  background: #161419da;
  padding: 5px;
  border-radius: 7px;
  width: 30px;
  height: 30px;
}
.module-body {
  padding: 12px;
}
.module-body h3 {
  margin-bottom: 5px;
  font-size: 13px;
}
.module-body p {
  font-size: 11px;
  line-height: 1.35;
}
.metric {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 16px;
  background: var(--panel);
  min-width: 0;
}
.metric small {
  display: block;
  margin-bottom: 9px;
}
.metric strong {
  display: block;
  font-size: 26px;
  letter-spacing: -0.7px;
  overflow-wrap: anywhere;
}
.metric .foot {
  margin-top: 7px;
  font-size: 11px;
  color: var(--muted);
}
.metric .icon {
  color: var(--accent);
}
.media {
  border-radius: 10px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #201f24;
  min-width: 0;
}
.media img {
  width: 100%;
  height: 125px;
  object-fit: cover;
  display: block;
}
.media .body {
  padding: 12px;
}
.media h3 {
  font-size: 13px;
  line-height: 1.4;
}
.media small {
  display: block;
  margin: 5px 0 9px;
}
.field {
  display: block;
  margin-bottom: 15px;
  min-width: 0;
}
.field > span {
  font-size: 12px;
  font-weight: 650;
  display: block;
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea,
.input {
  width: 100%;
  min-width: 0;
  border: 1px solid #3b3940;
  border-radius: 8px;
  background: #131215;
  color: var(--text);
  padding: 10px 11px;
  min-height: 42px;
}
.field textarea {
  min-height: 92px;
  resize: vertical;
}
.field .hint {
  font-size: 11px;
  margin-top: 5px;
  color: var(--muted);
  font-weight: 400;
}
.check {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 10px 0;
  color: #dedbe0;
  font-size: 12px;
  line-height: 1.45;
}
.check input {
  accent-color: var(--accent);
  margin-top: 2px;
}
.check strong {
  color: var(--text);
}
.seg {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 15px;
}
.seg button,
.seg a {
  border: 1px solid var(--line);
  background: var(--panel2);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.seg .active,
.seg button:hover,
.seg a:hover {
  border-color: var(--accent);
  background: #34251f;
  color: var(--accent);
}
.notice {
  background: #2d241f;
  border: 1px solid #5a4034;
  border-radius: 9px;
  color: #e8cfc1;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
  margin: 12px 0;
}
.notice .icon {
  color: var(--accent);
}
.notice.info {
  background: #202128;
  border-color: #3b3d4a;
  color: #cfced6;
}
.notice.info .icon {
  color: #c0becf;
}
.notice.ok {
  background: #1b2b23;
  border-color: #2c4937;
  color: #a8dfbb;
}
.notice.ok .icon {
  color: var(--green);
}
.preview {
  min-height: 315px;
  background: radial-gradient(ellipse at center, #25232a, #141318 72%);
  border: 1px dashed #46434b;
  border-radius: 11px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.preview img {
  max-width: 100%;
  max-height: 340px;
  border-radius: 8px;
  object-fit: contain;
}
.preview.empty > div {
  max-width: 300px;
}
.preview.empty .icon {
  width: 46px;
  height: 46px;
  color: var(--accent);
  margin-bottom: 12px;
}
.preview p {
  font-size: 12px;
  margin-top: 8px;
}
.preview h3 {
  font-size: 16px;
}
.preview .corner {
  position: absolute;
  left: 13px;
  top: 13px;
}
.upload {
  border: 1px dashed #635049;
  background: #19171b;
  border-radius: 9px;
  text-align: center;
  padding: 25px 13px;
  margin-bottom: 14px;
  display: block;
  cursor: pointer;
}
.upload .icon {
  color: var(--accent);
  width: 28px;
  height: 28px;
}
.upload p {
  font-size: 11px;
  margin-top: 4px;
}
.upload input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.upload:focus-within {
  outline: 2px solid var(--accent);
}
.price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 12px 0;
  margin-top: 6px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.price strong {
  font-size: 19px;
  color: var(--accent);
}
.price small {
  display: block;
  margin-top: 4px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left;
}
th {
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--muted);
  font-weight: 650;
  text-transform: uppercase;
  background: #201f24;
}
td,
th {
  padding: 12px 10px;
  border-bottom: 1px solid #323137;
  white-space: nowrap;
}
td:first-child,
th:first-child {
  padding-left: 12px;
}
tr:last-child td {
  border-bottom: 0;
}
td .btn {
  white-space: nowrap;
}
.list-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.list-row:last-child {
  border-bottom: 0;
}
.list-row img {
  width: 58px;
  height: 43px;
  object-fit: cover;
  border-radius: 6px;
}
.list-row .text {
  flex: 1;
  min-width: 0;
}
.list-row .text strong {
  font-size: 12px;
  display: block;
  overflow-wrap: anywhere;
}
.list-row .text small {
  display: block;
  margin-top: 4px;
}
.list-row .icon {
  color: var(--accent);
}
.progress {
  height: 6px;
  background: #39363e;
  border-radius: 20px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  border-radius: 20px;
  background: var(--accent);
}
.chart {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  height: 180px;
  padding: 20px 4px 0;
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent 43px,
    #343239 44px,
    transparent 45px
  );
}
.chart-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  align-items: center;
  min-width: 0;
}
.chart-col .bar {
  width: 65%;
  max-width: 50px;
  background: linear-gradient(#fd794f, #a74531);
  border-radius: 6px 6px 0 0;
}
.chart-col small {
  padding: 7px 0;
  font-size: 10px;
}
.cal-head,
.cal {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
}
.cal-head > div {
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  padding: 10px 4px;
}
.cal {
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.day {
  min-height: 98px;
  background: #1b1a20;
  padding: 8px;
  font-size: 12px;
  color: #a8a5ac;
  min-width: 0;
}
.day.today {
  background: #352720;
  box-shadow: inset 0 0 0 1px var(--accent);
}
.event {
  display: block;
  background: #422d26;
  border-left: 2px solid var(--accent);
  border-radius: 4px;
  padding: 5px;
  margin-top: 5px;
  color: #f4d2c4;
  font-size: 10px;
  overflow-wrap: anywhere;
}
.wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 100px;
  margin: 14px 0;
  padding: 10px;
  background: #131215;
  border-radius: 9px;
  overflow: hidden;
}
.wave i {
  width: 4px;
  border-radius: 3px;
  min-width: 2px;
  background: var(--accent);
  opacity: 0.9;
}
.player {
  background: #121115;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.player .progress {
  flex: 1;
}
.timeline {
  border: 1px solid var(--line);
  background: #141318;
  border-radius: 9px;
  padding: 12px;
  margin-top: 12px;
}
.track {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
  align-items: center;
  margin: 7px 0;
}
.track span {
  color: var(--muted);
  font-size: 11px;
}
.clip {
  border: 1px solid #875339;
  background: #4c3027;
  padding: 9px;
  border-radius: 5px;
  color: #f3c6b2;
  font-size: 11px;
  min-width: 0;
}
.chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  padding: 12px;
  background: #141318;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.bubble {
  max-width: 87%;
  padding: 11px 13px;
  background: #28262d;
  border-radius: 11px;
  font-size: 12px;
  line-height: 1.45;
}
.bubble.me {
  align-self: flex-end;
  background: #442b22;
}
.switch-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}
.switch-row:last-child {
  border-bottom: 0;
}
.switch-row p {
  font-size: 11px;
  margin-top: 4px;
}
.switch {
  width: 38px;
  height: 22px;
  border: 1px solid #55515a;
  border-radius: 20px;
  background: #353239;
  position: relative;
  flex-shrink: 0;
}
.switch::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #a8a4ae;
}
.switch.on {
  background: var(--accent);
  border-color: var(--accent);
}
.switch.on::after {
  left: 19px;
  background: #191215;
}
.public {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 34px 40px;
}
.public-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  min-height: 78px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 34px;
}
.public-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 13px;
}
.public-nav a:hover {
  color: var(--accent);
}
.landing-hero {
  min-height: 370px;
  border: 1px solid #51392e;
  border-radius: 18px;
  background:
    linear-gradient(
      90deg,
      #171417 0%,
      #171417 26%,
      #171417bb 48%,
      #17141700 78%
    ),
    url("assets/hero.jpg") right center/auto 100% no-repeat,
    #21191b;
  display: flex;
  align-items: center;
  padding: 40px;
  margin: 10px 0 25px;
  overflow: hidden;
}
.landing-hero h1 {
  font-size: 46px;
  max-width: 690px;
  line-height: 1.08;
  letter-spacing: -1.7px;
}
.landing-hero p {
  max-width: 570px;
  color: #ded7d4;
  margin: 18px 0 24px;
  font-size: 16px;
}
.public h2.section-title {
  font-size: 25px;
  margin: 20px 0 15px;
}
.public-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 20px 0;
  margin-top: 25px;
  color: var(--muted);
  font-size: 12px;
}
.auth {
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 54px auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
  min-height: 540px;
}
.auth-art {
  background:
    linear-gradient(0deg, #161318 0%, #16131800 65%),
    url("assets/hero.jpg") 72% center/cover;
  display: flex;
  align-items: flex-end;
  padding: 34px;
}
.auth-art h2 {
  font-size: 34px;
  max-width: 270px;
}
.auth-form {
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-form h1 {
  margin-bottom: 9px;
}
.auth-form > p {
  margin-bottom: 20px;
}
.auth-form .field {
  margin-bottom: 16px;
}
.auth-form .btn.full {
  margin: 8px 0;
}
.auth-form .sub {
  font-size: 12px;
  margin-top: 10px;
}
.link {
  color: var(--accent);
  font-size: 12px;
}
.page-label {
  font-size: 10px;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  color: #b3a6a0;
  margin-bottom: 7px;
}
.mobile-toggle {
  display: none;
}
.mobile-only {
  display: none;
}
.demo-mark {
  font-size: 10px;
  color: var(--muted);
  margin-top: 18px;
  text-align: right;
  letter-spacing: 0.3px;
}
dialog {
  color: var(--text);
  background: var(--panel);
  border: 1px solid #524e56;
  border-radius: 14px;
  padding: 23px;
  max-width: min(480px, calc(100% - 30px));
  width: 480px;
  box-shadow: 0 20px 100px #0008;
}
dialog::backdrop {
  background: #000a;
}
dialog h2 {
  margin-bottom: 10px;
}
dialog p {
  margin-bottom: 16px;
}
dialog .actions {
  justify-content: flex-end;
  margin-top: 16px;
}
#toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 30;
  background: #302820;
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 13px 18px;
  max-width: calc(100% - 40px);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: 0.18s;
  font-size: 13px;
}
#toast.visible {
  opacity: 1;
  transform: translateY(0);
}
.empty-state {
  text-align: center;
  padding: 32px 12px;
}
.empty-state .icon {
  color: var(--accent);
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
}
.empty-state p {
  margin: 8px 0 15px;
}
.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0;
}
.stepbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}
.stepbar span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}
.stepbar b {
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
}
.stepbar .current {
  color: var(--accent);
}
.stepbar .current b {
  background: #392820;
  border-color: var(--accent);
}
.tile-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.choice {
  display: flex;
  gap: 9px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
}
.choice input {
  accent-color: var(--accent);
}
.choice strong {
  font-size: 12px;
}
.choice small {
  display: block;
  margin-top: 5px;
}
.choice:has(input:checked) {
  border-color: var(--accent);
  background: #32241f;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.info-grid > div {
  background: #16151a;
  border-radius: 8px;
  padding: 11px;
}
.info-grid small {
  display: block;
  margin-bottom: 6px;
}
.spaced {
  justify-content: space-between;
}
.break {
  overflow-wrap: anywhere;
}
@media (max-width: 1200px) {
  .g6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .brand-tag {
    display: none;
  }
  .main {
    padding: 22px;
  }
  .tile-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .top {
    padding: 0 18px;
  }
  .top-left {
    min-width: 190px;
  }
}
@media (max-width: 850px) {
  :root {
    --top: 61px;
  }
  .shell {
    display: block;
  }
  .sidebar {
    position: fixed;
    left: 0;
    top: var(--top);
    width: 245px;
    z-index: 20;
    height: calc(100dvh - var(--top));
    transform: translateX(-100%);
    transition: transform 0.18s;
    box-shadow: 10px 0 35px #0008;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .top-left {
    min-width: 0;
    gap: 8px;
  }
  .top-right .desktop-only,
  .search,
  .top-right .profile-name {
    display: none;
  }
  .top {
    gap: 8px;
    padding: 0 12px;
  }
  .logo {
    font-size: 27px;
  }
  .top-right {
    gap: 5px;
  }
  .top-right .btn {
    padding: 8px 10px;
    min-height: 34px;
  }
  .main {
    padding: 18px 15px 28px;
  }
  .g4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split,
  .wide-split {
    grid-template-columns: 1fr;
  }
  .heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .heading .actions {
    justify-content: flex-start;
  }
  .public-top {
    padding: 0 16px;
  }
  .public-nav {
    display: none;
  }
  .public {
    padding: 0 16px 24px;
  }
  .landing-hero {
    padding: 26px;
    background-size: auto 100%;
    min-height: 360px;
  }
  .landing-hero h1 {
    font-size: 36px;
  }
  .hero-copy {
    max-width: 75%;
  }
  .auth {
    margin: 20px 16px;
  }
  .auth-art {
    padding: 22px;
  }
  .auth-form {
    padding: 25px;
  }
  .public-footer {
    flex-direction: column;
  }
  .day {
    min-height: 75px;
    padding: 4px;
  }
  .event {
    padding: 4px;
    font-size: 9px;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 26px;
  }
  .heading p {
    font-size: 12px;
  }
  .hero {
    min-height: 185px;
    padding: 17px;
    background-position: 65% center;
  }
  .hero-copy {
    max-width: 87%;
  }
  .hero h1 {
    font-size: 24px;
  }
  .hero p {
    font-size: 12px;
  }
  .g2,
  .g3,
  .g6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .g2.form-grid,
  .g2.full-mobile {
    grid-template-columns: 1fr;
  }
  .g4 {
    gap: 9px;
  }
  .panel {
    padding: 14px;
  }
  .metric {
    padding: 12px;
  }
  .metric strong {
    font-size: 22px;
  }
  .module-art {
    height: 74px;
  }
  .module-body {
    padding: 10px;
  }
  .main .row {
    gap: 8px;
  }
  .module-body p {
    font-size: 11px;
  }
  .tile-list {
    grid-template-columns: 1fr;
  }
  .panel-head h2 {
    font-size: 16px;
  }
  .panel-head {
    gap: 5px;
  }
  .panel-head .btn {
    font-size: 11px;
  }
  .public-top {
    min-height: 62px;
  }
  .public-top .brand-tag {
    display: none;
  }
  .landing-hero {
    min-height: 355px;
    padding: 23px 17px;
    background:
      linear-gradient(90deg, #171417f0, #17141793 75%),
      url("assets/hero.jpg") 75% center/cover;
  }
  .landing-hero h1 {
    font-size: 32px;
  }
  .landing-hero p {
    font-size: 14px;
  }
  .public h2.section-title {
    font-size: 21px;
  }
  .auth {
    grid-template-columns: 1fr;
    margin: 12px 12px 24px;
    min-height: 0;
  }
  .auth-art {
    min-height: 150px;
    padding: 20px;
    background-position: 70% 40%;
  }
  .auth-art h2 {
    font-size: 23px;
  }
  .auth-form {
    padding: 22px;
  }
  .auth-form h1 {
    font-size: 28px;
  }
  .public-footer {
    gap: 8px;
  }
  .preview {
    min-height: 230px;
  }
  .media img {
    height: 95px;
  }
  .top-right .avatar {
    width: 31px;
    height: 31px;
  }
  .top-right .btn span.credit-text {
    font-size: 11px;
  }
  .day {
    min-height: 52px;
    font-size: 10px;
  }
  .cal-head > div {
    font-size: 9px;
  }
  .event {
    font-size: 8px;
    padding: 2px;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .chart {
    gap: 6px;
  }
  .mobile-only {
    display: block;
  }
  .hide-mobile {
    display: none;
  }
  .track {
    grid-template-columns: 47px 1fr;
  }
  .btn {
    white-space: normal;
  }
  .demo-mark {
    text-align: left;
  }
}
