.sjv-app-shell {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 24px 48px;
}

.sjv-hero-panel,
.sjv-workspace-panel,
.sjv-admin-panel {
  border: 1px solid rgba(71, 41, 24, 0.15);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(63, 30, 14, 0.14);
}

.sjv-hero-panel {
  padding: 42px;
  background: linear-gradient(180deg, rgba(122, 39, 26, 0.94), rgba(78, 23, 16, 0.94));
  color: #fff7ee;
}

.sjv-workspace-panel {
  padding: 30px;
  background: rgba(255, 252, 246, 0.92);
}

.sjv-admin-panel {
  background: #fffaf2;
  padding: 24px;
  margin: 20px 0;
}

.sjv-eyebrow,
.sjv-panel-kicker,
.sjv-mini-label {
  margin: 0 0 10px;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sjv-hero-panel h1,
.sjv-workspace-panel h2,
.sjv-card h3,
.sjv-hero-card h2 {
  margin: 0;
  line-height: 1.05;
}

.sjv-lede,
.sjv-muted {
  line-height: 1.7;
}

.sjv-lede {
  margin: 18px 0 28px;
  color: rgba(255, 247, 238, 0.82);
}

.sjv-hero-card,
.sjv-card {
  border-radius: 22px;
}

.sjv-hero-card {
  margin-top: 36px;
  padding: 26px;
  background: rgba(255, 249, 241, 0.1);
}

.sjv-card-stack {
  display: grid;
  gap: 18px;
}

.sjv-card {
  padding: 22px;
  background: #fffaf2;
  border: 1px solid rgba(71, 41, 24, 0.12);
}

.sjv-workspace-header,
.sjv-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sjv-workspace-header {
  margin-bottom: 22px;
}

.sjv-stack-form {
  display: grid;
  gap: 12px;
}

.sjv-stack-form label {
  font-weight: 700;
}

.sjv-stack-form input,
.sjv-stack-form textarea,
.sjv-stack-form select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid rgba(71, 41, 24, 0.18);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  background: #fffdf9;
}

.sjv-primary-button,
.sjv-ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  border: 0;
  padding: 0 20px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.sjv-primary-button {
  background: linear-gradient(135deg, #7a271a, #55170f);
  color: #fffaf4;
}

.sjv-ghost-button {
  background: rgba(122, 39, 26, 0.09);
  color: #55170f;
}

.sjv-status,
.sjv-notice {
  margin: 0;
  min-height: 1.4em;
  line-height: 1.5;
}

.sjv-status-success {
  color: #256245;
}

.sjv-status-warning {
  color: #8a5a12;
}

.sjv-status-error {
  color: #a12727;
}

.sjv-notice {
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.sjv-notice-warning {
  color: #5f430b;
  background: rgba(202, 164, 100, 0.24);
}

.sjv-result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin: 0;
}

.sjv-result-grid div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(122, 39, 26, 0.04);
}

.sjv-result-grid dt {
  margin-bottom: 6px;
  color: #6a5548;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sjv-result-grid dd,
.sjv-identity {
  margin: 0;
  font-weight: 700;
}

.sjv-sheet-header {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(71, 41, 24, 0.14);
  text-align: center;
}

.sjv-sheet-kicker {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a6659;
}

.sjv-sheet-header h3 {
  text-transform: uppercase;
}

.sjv-form-grid {
  display: grid;
  gap: 14px 18px;
  align-items: start;
}

.sjv-form-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.sjv-form-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.sjv-field {
  min-width: 0;
}

.sjv-field-span-2 {
  grid-column: 1 / -1;
}

.sjv-fieldset {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(71, 41, 24, 0.12);
  border-radius: 18px;
  background: rgba(122, 39, 26, 0.03);
}

.sjv-fieldset legend {
  padding: 0 8px;
  font-weight: 700;
}

.sjv-choice-row,
.sjv-choice-grid {
  display: grid;
  gap: 12px 18px;
}

.sjv-choice-row {
  grid-template-columns: repeat(3, minmax(0, max-content));
  align-items: center;
}

.sjv-choice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sjv-choice-row label,
.sjv-choice-grid label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.sjv-choice-row input,
.sjv-choice-grid input {
  width: auto;
  margin: 0;
}

.sjv-choice-detail {
  margin-top: 14px;
}

.sjv-override-panel {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(138, 90, 18, 0.22);
  border-radius: 18px;
  background: rgba(202, 164, 100, 0.14);
}

.sjv-override-copy {
  margin: 0 0 12px;
  color: #6d4f18;
}

.sjv-override-toggle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 700;
}

.sjv-override-toggle input {
  width: auto;
  margin-top: 4px;
}

.sjv-hidden {
  display: none !important;
}

@media (max-width: 1180px) {
  .sjv-app-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .sjv-app-shell {
    padding: 18px 16px 28px;
  }

  .sjv-hero-panel,
  .sjv-workspace-panel {
    padding: 24px;
  }

  .sjv-result-grid {
    grid-template-columns: 1fr;
  }

  .sjv-form-grid-2,
  .sjv-form-grid-3,
  .sjv-choice-row,
  .sjv-choice-grid {
    grid-template-columns: 1fr;
  }
}
