.auth {
  min-height: 100dvh;
  padding: 25px;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 0 100%, #414078, transparent 65%), var(--deep);
}
.auth-card {
  width: min(100%, 430px);
  background: white;
  border-radius: 10px;
  padding: 32px;
}
.auth-card .brand {
  margin-bottom: 35px;
}
.auth-card .eyebrow {
  margin-bottom: 10px;
}
.auth-card .field {
  margin: 12px 0;
}
.auth-card .check {
  margin: 13px 0 18px;
}
.auth-card .btn {
  width: 100%;
}
.crumb {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.83rem;
}
.sbody {
  background: var(--surface);
}
.shead {
  border-top: 4px solid var(--deep);
  background: white;
  border-bottom: 1px solid var(--line);
}
.shead .wrap {
  height: 73px;
  display: flex;
  align-items: center;
  gap: 17px;
}
.studio-label {
  border-left: 1px solid var(--line);
  padding-left: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}
.public-link {
  margin-left: auto;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
}
.shead form {
  margin: 0;
}
.shead .iconbtn {
  width: 36px;
  height: 36px;
}
.slayout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  padding-block: 30px;
}
.snav {
  border: 1px solid var(--line);
  background: white;
  padding: 6px;
  border-radius: 7px;
  align-self: start;
  position: sticky;
  top: 18px;
  display: grid;
  gap: 5px;
}
.snav a {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 660;
  font-size: 0.9rem;
  padding: 11px 12px;
  border-radius: 8px;
  color: #464c62;
}
.snav a:hover {
  background: #eaeef7;
}
.snav a.active {
  box-shadow: inset 3px 0 var(--red);
  color: white;
  background: var(--deep);
}
.workspace {
  min-width: 0;
  outline: none;
}
.workspace .eyebrow {
  margin-bottom: 7px;
}
.workspace > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
}
.workspace h1 {
  font-size: clamp(28px, 3.2vw, 43px);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.metric {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  padding: 14px 14px 12px;
}
.metric {
  border-top: 3px solid var(--deep);
}
.metric:nth-child(1) {
  border-top-color: var(--red);
}
.metric:nth-child(3) {
  border-top-color: var(--green);
}
.metric b {
  display: block;
  font:
    650 1.8rem BarlowHead,
    sans-serif;
  letter-spacing: -0.012em;
}
.metric span {
  font-size: 0.78rem;
  color: var(--muted);
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
}
.toolbar .barinput {
  width: auto;
  max-width: 100%;
  flex: 1 1 165px;
}
.toolbar select.barinput {
  flex: 0 1 160px;
}
.list {
  display: grid;
  gap: 9px;
}
.entry {
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  text-align: left;
}
.entry:hover {
  border-color: #818cb0;
}
.entry .entry-main {
  display: block;
  min-width: 0;
  flex: 1;
}
.entry-main b,
.entry-main span {
  display: block;
  overflow-wrap: anywhere;
}
.entry-main b {
  font-size: 0.99rem;
}
.entry-main span {
  font-size: 0.805rem;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 3px;
}
.entry img {
  width: 80px;
  height: 56px;
  object-fit: cover;
  border-radius: 7px;
}
.entry .pill {
  white-space: nowrap;
}
.empty {
  text-align: center;
  padding: 32px 18px;
  border: 1px dashed #b5bdce;
  border-radius: 7px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.9rem;
}
.empty strong {
  display: block;
  color: var(--ink);
  font:
    650 1.16rem BarlowHead,
    sans-serif;
  margin-bottom: 6px;
}
.pubbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  background: #e9edf8;
  color: var(--deep);
  border-radius: 7px;
  padding: 12px 14px;
  margin: 12px 0;
}
.pubbar span {
  font-size: 0.83rem;
}
.pubbar .btn {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.83rem;
}
.workspace .panel {
  margin: 13px 0;
}
.panel > .lead {
  margin-block: 6px 14px;
}
.panel .actions {
  justify-content: flex-start;
}
.editpic {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.editpic img {
  width: 115px;
  height: 70px;
  object-fit: cover;
  border-radius: 7px;
}
.editpic .field {
  flex: 1;
  min-width: 160px;
}
.traffic {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 12px 0;
}
.small-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}
.inline-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0;
}
.inline-contact a {
  color: var(--deep);
}
.sectionline {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 19px 0;
}
.lesson {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin: 8px 0;
}
.lesson summary {
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 750;
}
.lesson > div {
  padding: 0 16px 16px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.lesson ol {
  padding-left: 20px;
}
.lesson li {
  margin: 5px 0;
}
.guide-panel {
  background: #eaf0fc;
  border: 1px solid #bdcce6;
  padding: 14px 17px;
  border-radius: 7px;
  margin: 12px 0;
}
.guide-panel b {
  font:
    650 1.15rem BarlowHead,
    sans-serif;
}
.guide-panel p {
  font-size: 0.9rem;
  margin: 6px 0;
}
.guide-panel .actions {
  justify-content: flex-start;
  margin: 8px 0 0;
}
.guide-focus {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.thin {
  margin: 9px 0;
}
.stamp {
  font-weight: 750;
  color: var(--red);
}
.studio-status {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 5px 0;
}
@media (max-width: 930px) {
  .slayout {
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 17px;
  }
  .snav a {
    padding: 10px 8px;
  }
  .shead .wrap,
  .slayout {
    width: calc(100% - 34px);
  }
}
@media (max-width: 690px) {
  .shead .wrap {
    height: 56px;
    gap: 9px;
  }
  .shead .wordmark {
    width: 52px;
  }
  .shead .brandname {
    font-size: 8px;
  }
  .studio-label {
    font-size: 0.73rem;
    padding-left: 8px;
  }
  .public-link {
    font-size: 0.75rem;
  }
  .slayout {
    display: block;
    padding-block: 0 22px;
  }
  .snav {
    border: 0;
    border-radius: 0;
    background: transparent;
    position: static;
    display: flex;
    gap: 4px;
    overflow: auto;
    padding: 9px 2px 11px;
    margin: 0 -2px 6px;
  }
  .snav a {
    font-size: 0.75rem;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    flex: 1;
    padding: 7px 6px;
  }
  .snav .icon {
    width: 17px;
    height: 17px;
  }
  .workspace > header {
    margin: 9px 0 12px;
  }
  .workspace > header .btn {
    min-height: 36px;
    padding: 8px;
    font-size: 0.75rem;
  }
  .metrics {
    gap: 5px;
    margin-bottom: 12px;
  }
  .metric {
    padding: 9px;
  }
  .metric b {
    font-size: 1.45rem;
  }
  .metric span {
    font-size: 0.7rem;
  }
  .entry {
    padding: 11px 9px;
    gap: 8px;
  }
  .entry > .tile-icon {
    display: none;
  }
  .entry .pill {
    font-size: 0.65rem;
    white-space: normal;
    max-width: 84px;
  }
  .entry img {
    width: 58px;
    height: 46px;
  }
  .panel {
    padding: 15px;
  }
  .auth-card {
    padding: 23px;
  }
  .pubbar {
    padding: 10px;
  }
  .snav a.active {
    box-shadow: inset 0 -3px var(--red);
    background: var(--deep);
  }
}
