.form-stack textarea {
  width: 100%;
  border: 1px solid #d8d2ca;
  border-radius: 9px;
  background: #fff;
  padding: 10px 12px;
  font: inherit;
  resize: vertical;
}

.worker-state {
  color: #9b3f38;
}

.worker-state.is-ready {
  color: #267457;
}

.metric small {
  display: block;
  margin-top: 4px;
  color: #7b746d;
}

.work-options {
  border: 1px solid #e3ded6;
  border-radius: 12px;
  background: #fbfaf8;
  overflow: hidden;
}

.work-options summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.work-options summary::-webkit-details-marker {
  display: none;
}

.work-options summary span {
  font-weight: 750;
}

.work-options summary small {
  color: #7b746d;
  text-align: right;
}

.work-options[open] summary {
  border-bottom: 1px solid #e3ded6;
}

.work-options-body {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.work-options-body > div {
  display: grid;
  gap: 6px;
}

.work-options-body #id_creative_style_references {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 220px;
  overflow: auto;
  padding: 10px;
  border: 1px solid #e3ded6;
  border-radius: 10px;
  background: #fff;
}

.work-options-body #id_creative_style_references > div label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.work-options-body #id_creative_style_references input {
  width: auto;
}

@media(max-width: 720px) {
  .work-options summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .work-options summary small {
    text-align: left;
  }

  .work-options-body #id_creative_style_references {
    grid-template-columns: 1fr;
  }
}
.session-reference-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:10px;margin:4px 0 10px}.session-reference-strip figure{margin:0;min-width:0}.session-reference-strip img{display:block;width:100%;aspect-ratio:4/5;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:10px}.session-reference-strip figcaption{margin-top:5px;color:var(--muted);font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-reference-picker{display:grid;gap:8px}.profile-reference-picker fieldset{min-width:0;margin:0;padding:0;border:0}.profile-reference-picker legend{margin-bottom:5px;font-weight:750}.profile-reference-picker .helptext{display:block;margin-bottom:10px;color:var(--muted);font-size:12px}.profile-reference-picker #id_profile_style_references{display:grid;gap:7px}.profile-reference-choice{position:relative;display:flex;align-items:center;min-width:0;border:1px solid var(--line);border-radius:12px;background:#fff;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.profile-reference-choice.is-selected{border-color:#b7acd9;background:#f7f5ff;box-shadow:0 5px 16px rgba(63,47,108,.06)}.profile-reference-choice label{display:flex;align-items:center;gap:10px;width:100%;min-width:0;padding:11px 46px 11px 12px;cursor:pointer;font-size:13px;font-weight:650;line-height:1.35;overflow-wrap:anywhere}.profile-reference-choice input[type=checkbox]{flex:0 0 16px!important;width:16px!important;height:16px!important;margin:0}.profile-reference-remove{position:absolute;right:8px;top:50%;display:grid;width:30px;height:30px;padding:0;place-items:center;transform:translateY(-50%);border:0;border-radius:50%;background:#f6e8e8;color:#a34141;font:700 21px/1 system-ui;cursor:pointer;transition:background .16s ease,color .16s ease,transform .16s ease}.profile-reference-remove:hover{background:#a34141;color:#fff;transform:translateY(-50%) scale(1.04)}.profile-reference-remove:focus-visible{outline:3px solid rgba(163,65,65,.22);outline-offset:2px}.profile-reference-help{color:var(--muted);font-size:11px;line-height:1.45}
.creative-mode-section[hidden]{display:none!important}.creative-mode-section{display:grid;gap:14px}
.single-product-upload{display:grid;gap:12px;margin-bottom:18px}.creative-dropzone{position:relative;display:grid;justify-items:center;gap:7px;padding:28px 20px;border:1.5px dashed #b9afa3;border-radius:16px;background:#fbfaf8;text-align:center;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease}.creative-dropzone:hover,.creative-dropzone.is-dragging{border-color:#8e7456;background:#f6f1e9;transform:translateY(-1px)}.creative-dropzone input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.creative-dropzone .dropzone-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#211f1c;color:#fff;font-size:22px;line-height:1}.creative-dropzone span,.creative-dropzone small{color:var(--muted)}.creative-dropzone strong{color:var(--ink)}.creative-choice-divider{display:flex;align-items:center;gap:12px;margin:2px 0 18px;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em}.creative-choice-divider::before,.creative-choice-divider::after{content:"";height:1px;flex:1;background:var(--line)}
.creative-product-preview{grid-template-columns:96px minmax(0,1fr);gap:14px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:14px;background:#fbfaf8}.creative-product-preview img{width:96px;aspect-ratio:4/5;object-fit:contain;border-radius:10px;background:#fff;border:1px solid var(--line)}.creative-product-preview div{display:grid;gap:4px;min-width:0}.creative-product-preview strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.creative-product-preview small{color:var(--muted)}#manual-style-references{display:grid;gap:6px}
.creative-variant-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px}.creative-variant-toolbar h2{margin:3px 0 0}.creative-direction-section{margin-top:28px}.creative-direction-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:14px}.creative-direction-head h2{margin:3px 0 0}.creative-direction-count{display:grid;place-items:center;min-width:42px;height:42px;padding:0 12px;border-radius:999px;background:#211f1c;color:#fff;font-weight:800}.creative-variant-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}.creative-variant-card{display:flex;min-width:0;min-height:100%;flex-direction:column;padding:18px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(145deg,#fff 0%,#faf8f5 100%);box-shadow:0 10px 28px rgba(42,35,29,.05)}.creative-variant-card-head,.creative-variant-card footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.creative-variant-card-head span{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;color:#775a3d}.creative-variant-card-head small{color:var(--muted)}.creative-variant-card h3{margin:18px 0;font:700 24px/1.13 Georgia,serif}.creative-variant-card dl{display:grid;gap:0;margin:0}.creative-variant-card dl div{padding:10px 0;border-top:1px solid var(--line)}.creative-variant-card dt{margin-bottom:3px;color:var(--muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.creative-variant-card dd{margin:0;font-size:13px;line-height:1.45}.creative-variant-card footer{margin-top:auto;padding-top:16px}.creative-variant-card footer span{display:inline-flex;padding:8px 12px;border-radius:999px;background:#211f1c;color:#fff;font-size:12px;font-weight:800}.creative-variant-card footer small{color:var(--muted)}
.panel-head-actions{display:flex;gap:14px;align-items:center}.morning-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.morning-section{border-top:3px solid var(--morning-color,#b99a78)}.morning-section .panel-head{align-items:flex-start}.morning-section .panel-head>div{position:relative;padding-left:18px}.morning-section .panel-head h2{margin:0 0 5px}.morning-section .panel-head p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}.morning-dot{position:absolute;left:0;top:8px;width:8px;height:8px;border-radius:50%;background:var(--morning-color,#b99a78)}.morning-count{font-family:Georgia,serif;font-size:28px}.morning-list{display:grid}.morning-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;padding:15px 0;border-top:1px solid var(--line)}.morning-list article>div:first-child{display:grid;gap:4px}.morning-list a{text-decoration:none}.morning-list small,.morning-progress{color:var(--muted);font-size:11px}.morning-progress{display:flex;gap:8px;align-items:flex-start;white-space:nowrap}.morning-list ul{grid-column:1/-1;margin:0;padding-left:18px;color:var(--muted);font-size:12px}.morning-next{grid-column:1/-1;font-size:12px;font-weight:750;color:var(--morning-color,#795d42)}.morning-completed{--morning-color:#2c8a61}.morning-needs_review{--morning-color:#d18927}.morning-needs_input{--morning-color:#bd6a36}.morning-in_progress{--morning-color:#347dc1}.morning-stopped{--morning-color:#7b6eaa}.morning-failed{--morning-color:#b94c4c}
@media(max-width:850px){.morning-grid{grid-template-columns:1fr}.panel-head-actions{align-items:flex-end;flex-direction:column;gap:5px}.morning-list article{grid-template-columns:1fr}.morning-progress,.morning-list ul,.morning-next{grid-column:1}}
@media(max-width:720px){.creative-variant-toolbar{align-items:stretch;flex-direction:column}.creative-variant-toolbar .button{text-align:center}.creative-variant-grid{grid-template-columns:1fr}.creative-variant-card h3{font-size:21px}}
