body {
  font-size: 13px;
}
.studio-header {
  height: 90px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid var(--line);
}
.studio-label {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 26px;
}
.gallery-link {
  margin-left: auto;
  font-size: 12px;
}
.quiet-button {
  font-size: 12px;
  color: var(--muted);
  padding: 8px;
}
.studio-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: calc(100vh - 90px);
}
.studio-sidebar {
  border-right: 1px solid var(--line);
  padding: 43px 22px;
  display: flex;
  flex-direction: column;
}
.studio-sidebar .eyebrow {
  font-size: 8px;
  letter-spacing: 1.2px;
  padding-left: 12px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  width: 100%;
  padding: 15px 13px;
  margin-bottom: 6px;
  border-radius: 5px;
  font-size: 12px;
  color: #6c7468;
}
.sidebar-link.active {
  background: #e9eddd;
  color: var(--ink);
}
.sidebar-link > span {
  font-size: 19px;
}
.sidebar-link > b {
  margin-left: auto;
  font-size: 10px;
  font-weight: 500;
  background: #ffffff90;
  padding: 2px 6px;
  border-radius: 4px;
}
.sidebar-note {
  margin-top: auto;
  padding: 65px 15px 10px;
}
.sidebar-note img {
  transform: rotate(12deg);
  margin-bottom: 18px;
}
.sidebar-note p {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin: 0;
}
.studio-content {
  padding: 43px 42px 60px;
  max-width: 1500px;
  width: 100%;
  min-width: 0;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 34px;
}
.panel-heading .eyebrow {
  font-size: 9px;
  margin-bottom: 12px;
}
.panel-heading h1 {
  font-size: 57px;
  line-height: 1.1;
  letter-spacing: -1.8px;
}
.panel-heading h1 > span {
  color: #83975a;
}
.panel-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 12px;
  margin: 12px 0 0;
  line-height: 1.7;
}
.compact {
  width: auto;
  white-space: nowrap;
  padding: 14px 20px;
  border-radius: 3px;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  margin-bottom: 32px;
  padding: 23px 0;
}
.stats-row > div {
  padding: 0 22px;
  border-right: 1px solid var(--line);
}
.stats-row > div:last-child {
  border: 0;
}
.stats-row strong {
  display: block;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
}
.stats-row span {
  font-size: 10px;
  display: block;
  color: var(--muted);
  margin-top: 6px;
}
.artwork-controls {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 25px;
  align-items: center;
}
.artwork-controls .filter {
  font-size: 10px;
  padding: 9px 13px;
}
.artwork-controls input {
  max-width: 170px;
  margin: 0;
  font-size: 11px;
  padding: 10px 13px;
}
.studio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px 22px;
}
.studio-card {
  background: #fff;
  border: 1px solid #e5e6de;
  min-width: 0;
}
.studio-card button {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
}
.studio-image {
  height: 228px;
  display: grid;
  place-items: center;
  position: relative;
  background: var(--wall);
  padding: 22px;
}
.studio-image img {
  height: 180px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 3px 3px #0002);
}
.studio-card button:hover img {
  transform: scale(1.025);
}
.studio-card-copy {
  padding: 17px 16px;
}
.studio-card-copy h3 {
  font-size: 13px;
  margin: 0 0 10px;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.studio-card-copy > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.studio-card-copy strong {
  font-size: 12px;
  font-weight: 500;
}
.status-pill {
  font-size: 9px;
  padding: 5px 8px;
  border-radius: 20px;
  background: #e9f0df;
  color: #60734b;
}
.status-pill.draft {
  background: #f1ede4;
  color: #8a7655;
}
.status-pill.sold {
  background: #e9eae5;
  color: #6d7468;
}
.status-pill.reserved {
  background: #fbecd0;
  color: #8c6c25;
}
.sample-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 8px;
  background: #ffffffb3;
  padding: 4px 7px;
  border-radius: 3px;
}
.loading-state {
  padding: 80px;
  text-align: center;
  color: var(--muted);
}
.auth-screen {
  max-width: 920px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 75px auto;
  border: 1px solid var(--line);
  background: #fff;
}
.auth-art {
  background: #eeece4;
  padding: 45px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.auth-art img {
  max-height: 370px;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 7px #0002);
}
.auth-art p {
  font-family: var(--serif);
  font-size: 25px;
  margin-top: 25px;
}
.auth-form {
  padding: 55px 40px;
}
.auth-form h1 {
  font-size: 53px;
  letter-spacing: -1.5px;
  line-height: 1.1;
}
.auth-form > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin: 17px 0 25px;
}
.auth-form .auth-footnote {
  font-size: 10px !important;
  margin-top: 22px !important;
}
.auth-form .eyebrow {
  font-size: 8px;
}
.auth-form .primary-button {
  margin-top: 22px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 20px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  border: 1px solid #dcded4;
  background: #fff;
  padding: 12px;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink);
  line-height: 1.5;
}
input::placeholder,
textarea::placeholder {
  color: #a0a396;
}
textarea {
  resize: vertical;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #93a56e;
  outline-offset: 1px;
}
.field-hint {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 20px;
}
label .field-hint {
  margin: 0;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.field-row > label {
  min-width: 0;
}
.error {
  color: #a34432 !important;
}
.form-message:empty {
  display: none;
}
.form-message {
  font-size: 12px;
  line-height: 1.6;
  margin: 15px 0;
}
.notice {
  padding: 14px 18px;
  background: #eef1e6;
  border: 1px solid #dfe6d2;
  font-size: 11px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.notice.error {
  background: #fff0ec;
  border-color: #edc9bf;
}
.secondary-button {
  border: 1px solid var(--line);
  padding: 12px 18px;
  font-size: 11px;
  white-space: nowrap;
  border-radius: 3px;
}
.secondary-button:hover {
  background: #eeeee5;
}
.editor-dialog {
  width: min(940px, calc(100% - 30px));
  padding: 30px 35px;
  max-height: calc(100dvh - 30px);
  overflow-y: auto;
}
.editor-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
}
.editor-heading .eyebrow {
  font-size: 8px;
  margin-bottom: 9px;
}
.editor-heading h2 {
  font-size: 42px;
  margin: 0;
}
.editor-columns {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 35px;
}
.upload-area {
  background: #eeeee6;
  border: 1px dashed #bfc6ae;
  min-height: 330px;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 25px;
  margin-bottom: 12px;
}
.upload-area.dragging {
  background: #e4edcc;
  border-color: #748b4e;
}
.upload-area input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.upload-area:focus-within {
  outline: 2px solid #748b4e;
  outline-offset: 3px;
}
.upload-area img {
  max-height: 310px;
  width: 100%;
  object-fit: contain;
}
.upload-area > span {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.upload-area strong {
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
}
.upload-area small {
  font-size: 9px;
  margin-top: 8px;
}
.upload-icon {
  font-size: 37px;
  color: #78914e;
  margin-bottom: 8px;
}
.colour-label {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.colour-label input {
  width: 40px;
  height: 30px;
  padding: 2px;
}
.editor-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 10px;
}
.editor-footer .danger {
  margin-right: auto;
  color: #9b5a49;
}
.settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 35px;
  max-width: 1000px;
}
.settings-form {
  background: #fff;
  padding: 28px;
  border: 1px solid var(--line);
}
.settings-form h2 {
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
  margin: 0 0 25px;
}
.settings-form h2:not(:first-child) {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.checkbox-label {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 0 0;
}
.checkbox-label input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #5f7541;
}
.checkbox-label small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
  margin-top: 6px;
}
.stripe-card {
  padding: 28px;
  background: #eeeee6;
  align-self: start;
}
.stripe-wordmark {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1px;
  color: #635bff;
}
.stripe-card h2 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  margin: 22px 0 15px;
}
.stripe-card p,
.stripe-card li {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.stripe-card ul {
  padding-left: 16px;
  margin-bottom: 25px;
}
.stripe-card li {
  margin-bottom: 10px;
}
.stripe-card .field-hint {
  font-size: 9px;
  margin-top: 25px;
}
.hosting-note {
  border-top: 1px solid #d6d9cc;
  padding-top: 18px;
  margin-top: 22px;
  font-size: 11px;
  line-height: 1.8;
}
.hosting-note small {
  color: var(--muted);
  font-size: 9px;
}
.empty-panel {
  padding: 70px 25px;
  text-align: center;
  border: 1px dashed var(--line);
  grid-column: 1/-1;
}
.empty-panel img {
  width: 50px;
  height: 50px;
  margin: 0 auto 22px;
}
.empty-panel h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  margin: 0 0 14px;
}
.empty-panel p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.order-card {
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 18px;
  padding: 22px;
}
.order-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}
.order-top h3 {
  font-size: 13px;
  margin: 0 0 7px;
}
.order-top p {
  color: var(--muted);
  font-size: 10px;
  margin: 0;
}
.order-top > strong {
  font-size: 18px;
  font-weight: 500;
}
.order-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 12px;
  line-height: 1.8;
}
.order-body p {
  margin: 0;
  color: var(--muted);
  white-space: pre-line;
}
.order-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
}
.order-footer a {
  font-size: 10px;
  text-decoration: underline;
}
@media (max-width: 1150px) {
  .studio-layout {
    grid-template-columns: 190px 1fr;
  }
  .studio-content {
    padding: 35px 27px;
  }
  .studio-sidebar {
    padding-inline: 14px;
  }
  .studio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .panel-heading h1 {
    font-size: 50px;
  }
  .settings-layout {
    grid-template-columns: 1fr;
  }
  .stripe-card {
    max-width: none;
  }
  .stats-row > div {
    padding: 0 15px;
  }
  .stats-row span {
    font-size: 9px;
  }
}
@media (max-width: 760px) {
  .studio-header {
    height: 75px;
    padding: 0 20px;
    gap: 15px;
  }
  .studio-label {
    display: none;
  }
  .gallery-link {
    font-size: 10px;
  }
  .quiet-button {
    font-size: 10px;
  }
  .studio-layout {
    display: block;
  }
  .studio-sidebar {
    padding: 15px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .studio-sidebar > p,
  .sidebar-note {
    display: none;
  }
  .studio-sidebar nav {
    display: flex;
    gap: 8px;
  }
  .sidebar-link {
    margin: 0;
    width: auto;
    padding: 10px;
    font-size: 11px;
    gap: 8px;
  }
  .sidebar-link > span {
    display: none;
  }
  .studio-content {
    padding: 30px 20px;
  }
  .panel-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 25px;
    gap: 20px;
  }
  .panel-heading h1 {
    font-size: 49px;
  }
  .panel-heading p:not(.eyebrow) {
    font-size: 11px;
  }
  .panel-heading .eyebrow {
    font-size: 8px;
  }
  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px 0;
  }
  .stats-row > div:nth-child(2) {
    border: 0;
  }
  .stats-row strong {
    font-size: 32px;
  }
  .artwork-controls {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .artwork-controls input {
    max-width: none;
  }
  .studio-grid {
    gap: 15px;
  }
  .studio-image {
    height: 190px;
    padding: 15px;
  }
  .studio-image img {
    height: 160px;
  }
  .studio-card-copy {
    padding: 13px 11px;
  }
  .studio-card-copy h3 {
    font-size: 11px;
  }
  .studio-card-copy strong {
    font-size: 11px;
  }
  .status-pill {
    font-size: 8px;
    padding: 4px 6px;
  }
  .editor-dialog {
    padding: 25px 22px;
  }
  .editor-columns {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .upload-area {
    min-height: 230px;
  }
  .upload-area img {
    max-height: 270px;
  }
  .editor-heading h2 {
    font-size: 36px;
  }
  .field-row {
    gap: 12px;
  }
  .editor-footer {
    flex-wrap: wrap;
  }
  .editor-footer .danger {
    width: 100%;
    text-align: left;
  }
  .settings-form {
    padding: 22px;
  }
  .auth-screen {
    margin: 35px 20px;
    grid-template-columns: 1fr;
  }
  .auth-art {
    display: none;
  }
  .auth-form {
    padding: 35px 27px;
  }
  .auth-form h1 {
    font-size: 50px;
  }
  .order-body {
    grid-template-columns: 1fr;
  }
  .order-footer {
    flex-wrap: wrap;
  }
  .loading-state {
    padding: 70px 20px;
  }
}
@media (max-width: 370px) {
  .studio-grid {
    grid-template-columns: 1fr;
  }
  .studio-image {
    height: 270px;
  }
  .studio-image img {
    height: 230px;
  }
  .studio-header .wordmark {
    font-size: 18px;
  }
  .studio-header .wordmark img {
    width: 25px;
    height: 25px;
  }
  .gallery-link {
    font-size: 9px;
  }
  .studio-header {
    gap: 8px;
  }
  .sidebar-link {
    font-size: 10px;
    padding: 9px;
  }
  .panel-heading h1 {
    font-size: 43px;
  }
}
