.studio-shell {
  --sand: #ded3c3;
  --sage: #a7b39e;
  --charcoal: #292d2a;
  --paper: #f1f1ed;
  --white: #ffffff;
  --border: #ded3c3;
  background: var(--paper);
  color: var(--charcoal);
  grid-template-columns: 250px minmax(0, 1fr);
}
.studio-shell small {
  color: #596052;
}
.studio-shell h1,
.studio-shell h2 {
  letter-spacing: -0.055em;
}
.studio-shell h1 {
  font-size: clamp(32px, 3.6vw, 52px);
}
.studio-shell .eyebrow {
  letter-spacing: 0.2em;
  font-size: 10px;
}
.studio-shell :is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--charcoal);
  outline-offset: 4px;
}
.studio-shell :is(input, select, textarea) {
  border: 1px solid #c7c9bf;
  border-radius: 3px;
  background: var(--white);
}
.studio-shell :is(input, textarea)::placeholder {
  color: #707568;
}
.studio-shell button {
  border-radius: 4px;
  min-height: 44px;
}
.studio-shell button:not(.button):not(:disabled):hover {
  background: var(--paper);
  border-color: var(--sage);
}
.studio-shell .button {
  background: var(--charcoal);
  border-radius: 3px;
  min-height: 48px;
}
.studio-shell .button:hover {
  background: #444e40;
}
.studio-sidebar {
  background: var(--sand);
  border-right: 0;
  padding: 28px 24px 22px;
}
.studio-logo {
  display: block;
  margin: 0 0 48px;
}
.studio-logo img {
  display: block;
  width: 176px;
  max-width: 100%;
  margin-left: -12px;
}
.studio-logo small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.35em;
  margin: -2px 0 0 3px;
}
.studio-nav-label {
  font-size: 9px;
  letter-spacing: 0.18em;
  margin: 0 12px 16px;
  color: #596052;
}
.studio-sidebar nav {
  gap: 6px;
}
.studio-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 13px;
  border-radius: 4px;
  min-height: 46px;
}
.studio-sidebar nav a:hover {
  background: #ffffff60;
}
.studio-sidebar nav a.selected {
  background: var(--charcoal);
  color: var(--white);
}
.studio-nav-mark {
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  flex-shrink: 0;
}
.selected .studio-nav-mark {
  background: var(--sage);
  border-color: var(--sage);
}
.studio-nav-arrow {
  margin-left: auto;
  opacity: 0.6;
}
.studio-identity {
  border-top: 1px solid #292d2a25;
  margin-top: auto;
  padding: 24px 10px 20px;
}
.studio-identity strong {
  font-weight: 600;
}
.studio-identity button {
  background: transparent;
  border-color: #292d2a35;
  margin-top: 5px;
}
.studio-tagline {
  font-size: 8px;
  letter-spacing: 0.16em;
  line-height: 1.8;
}
.studio-topbar {
  min-height: 82px;
  padding: 24px 42px;
  background: var(--paper);
  border-color: #292d2a15;
}
.studio-topbar > span {
  color: #596052;
}
.studio-topbar strong {
  color: var(--charcoal);
  font-weight: 600;
}
.studio-topbar > a {
  border-bottom: 1px solid var(--sage);
  padding: 7px 0;
}
.studio-content {
  max-width: 1540px;
  margin: auto;
  padding: 36px 42px;
}
.studio-shell .welcome {
  position: relative;
  overflow: hidden;
  background: var(--sage);
  padding: clamp(28px, 4vw, 56px);
  border-radius: 4px;
}
.studio-shell .welcome h1 {
  font-size: clamp(38px, 4.5vw, 66px);
  margin-bottom: 20px;
}
.studio-shell .welcome p {
  max-width: 510px;
}
.studio-shell .welcome .button {
  margin-top: 10px;
}
.studio-shell .metrics {
  gap: 18px;
  margin: 24px 0 36px;
}
.studio-shell .metrics article {
  border: 0;
  border-top: 3px solid var(--sand);
  border-radius: 4px;
  padding: 28px;
  align-content: start;
  min-width: 0;
}
.studio-shell .metrics article:first-child {
  border-top-color: var(--sage);
}
.studio-shell .metrics article > span {
  font-size: 11px;
  letter-spacing: 0.06em;
}
.studio-shell .metrics strong {
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}
.studio-shell .surface {
  border: 1px solid #292d2a12;
  border-radius: 4px;
  padding: 30px;
}
.studio-shell .surface.narrow {
  margin-left: 0;
}
.studio-shell .toolbar {
  background: var(--white);
  padding: 22px;
  border-radius: 4px;
  gap: 16px;
}
.studio-shell .toolbar label {
  font-size: 11px;
}
.studio-shell .studio-order {
  border-color: #292d2a18;
  border-radius: 4px;
  overflow: hidden;
}
.studio-shell .studio-order > summary {
  padding: 25px;
}
.studio-shell .studio-order > summary:hover {
  background: #f1f1ed80;
}
.studio-shell .studio-order[open] > summary {
  background: var(--sand);
}
.studio-shell .order-expanded > aside {
  background: var(--paper);
  border-radius: 0;
}
.studio-shell .tag {
  color: var(--charcoal);
  background: var(--paper);
  border-color: #292d2a20;
  font-size: 10px;
}
.studio-shell .product-grid {
  gap: 22px;
}
.studio-shell .product-card {
  border: 0;
  border-radius: 4px;
}
.studio-shell .product-placeholder {
  background: var(--sand);
  color: #596052;
}
.studio-shell .product-card > button {
  margin-bottom: 2px;
}
.studio-shell .avatar {
  background: var(--sand);
  color: var(--charcoal);
}
.studio-shell .user-row:last-child,
.studio-shell .audit-row:last-child {
  border-bottom: 0;
}
.studio-shell .color-card {
  margin: 0;
}
.studio-shell .color-card .color-dot {
  width: 52px;
  height: 52px;
  margin: 0;
}
.studio-shell .notice:not(:empty) {
  color: var(--charcoal);
  padding: 16px 20px;
  background: var(--sand);
  border-left: 3px solid var(--charcoal);
  border-radius: 3px;
}
.studio-shell .studio-footer {
  color: #596052;
  padding: 38px 0 10px;
  font-size: 9px;
  letter-spacing: 0.18em;
  border-top: 1px solid #292d2a18;
  margin-top: 40px;
}
.studio-shell.studio-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
}
.studio-auth-brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(32px, 6vw, 88px);
  background: var(--sand);
  min-height: 100vh;
  gap: 65px;
}
.studio-auth-brand img {
  display: block;
  width: 230px;
  max-width: 100%;
  margin-left: -16px;
}
.studio-auth-brand h2 {
  font-size: clamp(44px, 5vw, 76px);
  line-height: 1.05;
  margin-bottom: 24px;
}
.studio-auth-brand p:not(.eyebrow) {
  max-width: 300px;
  color: #4e544a;
}
.studio-auth-brand .studio-tagline {
  font-size: 10px;
  letter-spacing: 0.22em;
}
.studio-auth .login-panel {
  width: 100%;
  max-width: 540px;
  padding: 60px 48px;
  margin: auto;
}
.studio-auth .login-panel h1 {
  font-size: clamp(46px, 5vw, 68px);
}
.studio-auth .login-panel > p:not(.eyebrow) {
  color: #596052;
  font-size: 14px;
  margin-bottom: 32px;
}
.studio-auth .login-panel .button {
  width: 100%;
  margin-top: 8px;
}
.studio-back {
  display: inline-block;
  font-size: 12px;
  margin-top: 30px;
  padding: 10px 0;
  border-bottom: 1px solid var(--sand);
}
@media (max-width: 1100px) {
  .studio-shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .studio-sidebar {
    padding: 24px 16px;
  }
  .studio-content {
    padding: 28px;
  }
  .studio-topbar {
    padding: 22px 28px;
  }
}
@media (max-width: 720px) {
  .studio-shell {
    display: block;
  }
  .studio-sidebar {
    padding: 14px 18px;
    gap: 12px;
  }
  .studio-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
  }
  .studio-logo img {
    width: 116px;
    margin: -4px 0 -4px -8px;
  }
  .studio-logo small {
    margin: 0;
  }
  .studio-nav-label,
  .studio-sidebar > .studio-tagline {
    display: none;
  }
  .studio-sidebar nav {
    padding-bottom: 6px;
  }
  .studio-sidebar nav a {
    min-height: 44px;
    padding: 11px 13px;
  }
  .studio-nav-arrow {
    display: none;
  }
  .studio-identity {
    border-top: 1px solid #292d2a20;
    padding: 12px 0 0;
    margin: 0;
    flex-wrap: wrap;
  }
  .studio-identity > a {
    flex: 1;
    min-width: 120px;
  }
  .studio-identity button {
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
  }
  .studio-content {
    padding: 24px 18px;
  }
  .studio-topbar {
    min-height: 64px;
    padding: 16px 18px;
    gap: 16px;
  }
  .studio-shell .metrics {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .studio-shell .metrics article {
    padding: 24px;
  }
  .studio-shell .surface {
    padding: 22px;
  }
  .studio-shell .toolbar {
    padding: 18px;
  }
  .studio-shell .product-grid {
    gap: 14px;
  }
  .studio-shell .studio-order > summary {
    padding: 18px;
  }
  .studio-shell.studio-auth {
    display: block;
  }
  .studio-auth-brand {
    min-height: auto;
    padding: 24px;
    gap: 24px;
  }
  .studio-auth-brand img {
    width: 160px;
    margin: -10px 0;
  }
  .studio-auth-brand > div {
    display: none;
  }
  .studio-auth-brand .studio-tagline {
    font-size: 8px;
  }
  .studio-auth .login-panel {
    padding: 40px 24px;
  }
}
