:root {
  color-scheme: light;
  --paper: #f7efe3;
  --panel: #fffaf2;
  --ink: #211915;
  --muted: #77685c;
  --line: #e2d2bd;
  --green: #6f6f45;
  --green-soft: #efe9d9;
  --tomato: #b76549;
  --tomato-soft: #f7e4d9;
  --gold: #b78342;
  --gold-soft: #f4e4c7;
  --blue: #6f7566;
  --blue-soft: #e8eadf;
  --shadow: 0 16px 38px rgba(73, 49, 31, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background:
    linear-gradient(180deg, rgba(183, 131, 66, 0.18), transparent 340px),
    var(--paper);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  border-right: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.9);
  padding: 24px;
}

.brand-block {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.brand-logo {
  display: block;
  width: 118px;
  height: 118px;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-name {
  text-transform: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 1.2rem;
  line-height: 1.1;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: 1.55rem;
  line-height: 1.15;
}

h3 {
  margin-bottom: 0;
  font-size: 1rem;
}

.subline {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.brand-claim,
.guardrail {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 16px;
}

.brand-claim {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.brand-claim strong {
  font-size: 1.06rem;
}

.brand-claim span,
.guardrail strong {
  color: var(--muted);
  line-height: 1.45;
}

.control-stack {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

select,
input[type="search"],
input[type="text"],
input[type="number"],
input[type="email"],
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffaf2;
  color: var(--ink);
  padding: 0 12px;
  outline: none;
}

select:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(183, 131, 66, 0.2);
}

textarea {
  padding: 10px 12px;
  resize: vertical;
}

.toggle-row {
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-transform: none;
}

.toggle-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.guardrail {
  background: var(--gold-soft);
}

.guardrail p {
  margin-bottom: 8px;
  color: #6e4a20;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.guardrail strong {
  display: block;
  color: #4c3528;
}

.workspace {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  padding: 24px;
}

.topbar,
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar {
  margin-bottom: 18px;
}

.top-actions {
  display: flex;
  gap: 8px;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(73, 49, 31, 0.1);
  font-size: 1.15rem;
}

.icon-button:hover {
  border-color: var(--green);
  color: var(--green);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 14px;
}

.metric span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.metric strong {
  font-size: 1.42rem;
  line-height: 1;
}

.influencer-workbench {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.creator-mode .influencer-workbench {
  display: none;
}

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.pipeline-stat {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 13px;
}

.pipeline-stat span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pipeline-stat strong {
  font-size: 1.28rem;
  line-height: 1;
}

.influencer-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(420px, 1.1fr);
  gap: 16px;
  align-items: start;
}

.tracker-panel,
.editor-panel,
.message-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 16px;
}

.tracker-tools {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) minmax(150px, 0.9fr) minmax(130px, 0.8fr);
  gap: 10px;
}

.tracker-list {
  display: grid;
  gap: 9px;
  max-height: 460px;
  margin-top: 14px;
  overflow: auto;
  padding-right: 4px;
}

.influencer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 10px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
  padding: 11px;
  text-align: left;
}

.influencer-row:hover,
.influencer-row.is-active {
  border-color: var(--green);
  box-shadow: 0 8px 22px rgba(111, 111, 69, 0.14);
}

.influencer-row strong,
.influencer-row em,
.influencer-row small,
.assigned-product-line,
.doc-line {
  min-width: 0;
}

.influencer-row em,
.influencer-row small,
.assigned-product-line,
.doc-line {
  display: block;
  color: var(--muted);
  font-style: normal;
  line-height: 1.35;
}

.assigned-product-line,
.doc-line,
.influencer-row small {
  grid-column: 1 / -1;
}

.assigned-product-line {
  color: var(--ink);
  font-weight: 800;
}

.doc-line {
  font-size: 0.78rem;
}

.influencer-row small {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.editor-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.wide-field {
  grid-column: 1 / -1;
}

.product-assignment-box,
.signed-documents-box,
.creator-link-box {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff6ea;
  padding: 12px;
}

.creator-link-box .field-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.creator-link-box .product-assign-controls {
  grid-template-columns: auto auto;
  justify-content: start;
}

.compact-heading {
  gap: 10px;
}

.compact-heading h4 {
  margin: 0;
  font-size: 0.94rem;
}

.product-assign-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
}

.assigned-products-list,
.signed-doc-list {
  display: grid;
  gap: 8px;
}

.assigned-products-list p,
.signed-doc-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.assigned-product-chip,
.signed-doc-item {
  display: grid;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 9px;
}

.assigned-product-chip {
  grid-template-columns: minmax(0, 1fr) 28px;
}

.assigned-product-chip strong,
.signed-doc-item strong {
  display: block;
  line-height: 1.25;
}

.assigned-product-chip em,
.signed-doc-item em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-size: 0.78rem;
}

.assigned-product-chip button {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fffaf2;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
}

.upload-field {
  min-height: 46px;
  place-items: center;
  border: 1px dashed #b78342;
  border-radius: 8px;
  background: #fffaf2;
  color: #6e4a20;
  text-align: center;
  text-transform: none;
}

.upload-field input {
  display: none;
}

.signed-doc-item {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.message-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.message-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
  padding: 14px;
}

.message-card p {
  max-height: 220px;
  margin: 0;
  overflow: auto;
  color: var(--muted);
  line-height: 1.45;
}

.main-grid,
.brief-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(360px, 1.28fr);
  gap: 16px;
  align-items: start;
}

.brief-grid {
  margin-top: 16px;
}

.product-panel,
.detail-panel,
.brief-panel,
.angles-panel,
.documents-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 16px;
}

.product-panel,
.detail-panel {
  min-height: 590px;
}

.documents-panel {
  margin-top: 16px;
}

.product-list {
  display: grid;
  gap: 10px;
  max-height: 520px;
  margin-top: 14px;
  overflow: auto;
  padding-right: 4px;
}

.assignment-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.allowed-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.82rem;
}

.allowed-chip {
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--green-soft);
  color: #4d4930;
  padding: 5px 9px;
  font-size: 0.76rem;
  font-weight: 800;
}

.product-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  text-align: left;
}

.product-row:hover,
.product-row.is-active {
  border-color: var(--green);
  box-shadow: 0 8px 24px rgba(111, 111, 69, 0.18);
}

.product-thumb {
  width: 64px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: var(--green-soft);
}

.product-row h4,
.detail-panel h3 {
  margin: 0;
}

.product-row h4 {
  overflow: hidden;
  font-size: 0.91rem;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.row-meta,
.tag-line,
.score-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.row-meta {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
}

.tag-line {
  margin-top: 8px;
}

.chip,
.status-pill {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  padding: 3px 8px;
  color: #4d4930;
  background: var(--green-soft);
  font-size: 0.74rem;
  font-weight: 800;
}

.chip.is-gold {
  color: #6e4a20;
  background: var(--gold-soft);
}

.chip.is-red {
  color: #8d3f2a;
  background: var(--tomato-soft);
}

.chip.is-blue {
  color: #4d5747;
  background: var(--blue-soft);
}

.score-bar {
  position: relative;
  flex: 1 1 84px;
  height: 7px;
  min-width: 84px;
  overflow: hidden;
  border-radius: 999px;
  background: #eadfce;
}

.score-bar span {
  display: block;
  width: var(--value, 50%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.detail-hero {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.detail-image {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: var(--green-soft);
}

.price {
  margin: 8px 0 12px;
  font-size: 1.28rem;
  font-weight: 900;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.text-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  font-weight: 800;
  text-decoration: none;
}

a.text-button {
  display: inline-flex;
  align-items: center;
}

.text-button.primary {
  border-color: #2f241d;
  background: #2f241d;
  color: #fff;
}

.detail-copy {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.detail-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.info-block {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.info-block h4 {
  margin: 0 0 8px;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.info-block p,
.info-block li {
  color: var(--muted);
  line-height: 1.45;
}

.info-block ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.brief-output {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.brief-section {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.brief-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.creator-mode .metrics-grid,
.creator-mode .main-grid,
.creator-mode .angles-panel {
  display: none;
}

.creator-learning {
  display: none;
}

.creator-mode .creator-learning {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.creator-overview,
.learning-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 16px;
  align-items: stretch;
}

.creator-mission,
.creator-product-mini,
.learning-panel,
.creator-check-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 16px;
}

.creator-mission {
  display: grid;
  align-content: center;
  min-height: 176px;
  background:
    linear-gradient(135deg, rgba(244, 228, 199, 0.86), rgba(255, 250, 242, 0.96)),
    var(--panel);
}

.creator-mission h3 {
  max-width: 720px;
  font-size: clamp(1.38rem, 2vw, 2rem);
  line-height: 1.1;
}

.creator-mission p:last-child {
  max-width: 740px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.creator-product-mini {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.creator-product-mini img {
  width: 92px;
  height: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: var(--green-soft);
}

.creator-product-mini h4 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
}

.creator-product-mini p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.mini-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.learning-panel h3 {
  margin-bottom: 8px;
}

.mindset-list {
  display: grid;
  gap: 0;
  margin-top: 8px;
}

.mindset-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 13px 0;
}

.mindset-item:first-child {
  border-top: 0;
}

.mindset-item > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--green-soft);
  color: #4d4930;
  font-size: 0.76rem;
  font-weight: 900;
}

.mindset-item h4 {
  margin: 0 0 4px;
  font-size: 0.95rem;
}

.mindset-item p,
.learning-steps span {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.learning-steps {
  display: grid;
  gap: 0;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.learning-steps li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 13px 0;
}

.learning-steps li:first-child {
  border-top: 0;
}

.learning-steps strong {
  color: var(--green);
  font-size: 0.86rem;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
  margin-top: 8px;
}

.check-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 13px 0;
}

.check-item input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
}

.check-item strong,
.check-item em {
  display: block;
}

.check-item strong {
  margin-bottom: 4px;
  font-size: 0.92rem;
}

.check-item em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.45;
}

.creator-mode .brief-grid {
  grid-template-columns: minmax(0, 860px);
}

.creator-mode .brief-panel {
  max-width: 860px;
}

.creator-mode .documents-panel {
  max-width: 1040px;
}

.creator-mode .document-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.document-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.document-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.document-card.is-internal {
  background: #fbefe6;
}

.document-card.is-creator-doc {
  border-color: #d8c6ad;
}

.document-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.document-head h4 {
  margin: 0;
  font-size: 0.98rem;
}

.document-card p,
.document-card li {
  color: var(--muted);
  line-height: 1.45;
}

.document-card p {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.document-card ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
}

.brief-section h4 {
  margin: 0 0 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.brief-section p,
.brief-section li {
  color: var(--muted);
  line-height: 1.5;
}

.brief-section ul,
.brief-section ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
}

.angle-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.angle-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.angle-item h4 {
  margin: 0 0 6px;
  font-size: 0.92rem;
}

.angle-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #2f241d;
  color: #fff;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  font-weight: 800;
}

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

  .sidebar {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .creator-mode .workspace {
    order: 1;
  }

  .creator-mode .sidebar {
    order: 2;
  }

  .control-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .workspace,
  .sidebar {
    padding: 16px;
  }

  .topbar,
  .section-heading {
    align-items: flex-start;
  }

  .metrics-grid,
  .pipeline-grid,
  .main-grid,
  .brief-grid,
  .influencer-layout,
  .detail-columns,
  .document-list,
  .creator-overview,
  .learning-grid,
  .check-list,
  .creator-mode .document-list,
  .message-grid {
    grid-template-columns: 1fr;
  }

  .tracker-tools,
  .editor-form,
  .product-assign-controls,
  .signed-doc-item {
    grid-template-columns: 1fr;
  }

  .product-panel,
  .detail-panel {
    min-height: auto;
  }

  .detail-hero {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .creator-mission {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .control-stack {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
  }

  .top-actions {
    width: 100%;
  }

  .icon-button {
    flex: 1 1 0;
  }

  .creator-product-mini,
  .learning-steps li {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 1.22rem;
  }
}

/* ----- Creator-Guide (creator.html) ----- */

.creator-page .creator-learning {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.creator-page .brief-grid {
  align-items: stretch;
}

.side-nav {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.side-nav a {
  display: block;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.side-nav a:hover {
  background: var(--green-soft);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}

.creator-product-card img {
  width: 100%;
  height: 160px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: var(--green-soft);
}

.creator-product-card details {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.creator-product-card details summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 600;
}

.creator-product-card .detail-actions {
  margin-top: 10px;
}

.submit-area {
  display: grid;
  gap: 10px;
  margin: 10px 0 14px;
}

.submit-area textarea {
  width: 100%;
  min-height: 96px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  resize: vertical;
}

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

  .creator-page .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .side-nav {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  .creator-page .creator-overview,
  .creator-page .learning-grid,
  .creator-page .document-list {
    grid-template-columns: 1fr;
  }

  .creator-page .check-list {
    grid-template-columns: 1fr;
  }
}

.creator-page #abgabe {
  grid-template-columns: minmax(0, 860px);
}
