:root{font:16px/1.55 system-ui,sans-serif;color:#172631;background:#f0f5f4}*{box-sizing:border-box}body{margin:0}main{max-width:960px;margin:auto;padding:28px 16px 64px}body.creator main{max-width:530px}header{margin-bottom:24px}small{color:#346957;font-weight:700}h1{margin:.2rem 0;font-size:2rem}h2{margin:0 0 12px;font-size:1.15rem}p{margin:8px 0}section{background:#fff;padding:20px;border:1px solid #dce7e4;border-radius:15px;margin:14px 0}form{display:grid;gap:10px;margin:0}label{display:grid;gap:5px}input,textarea,select,button,.button{font:inherit;padding:10px 12px;border-radius:8px;border:1px solid #b8c9c4;width:100%;min-width:0}textarea{min-height:110px}button,.button{background:#15604d;color:#fff;border-color:#15604d;cursor:pointer;text-decoration:none;text-align:center;font-weight:650;display:inline-block}button:disabled{opacity:.55;cursor:wait}a{color:#15604d}li{padding:6px 0;overflow-wrap:anywhere}.muted{color:#53666b}.status{min-height:1.6em;font-weight:650}.error{color:#a32222}.grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}.grid section{margin:0}.history{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left}td,th{padding:9px;border-bottom:1px solid #e4ece9;min-width:98px;overflow-wrap:anywhere}summary{cursor:pointer;font-weight:650}[hidden]{display:none!important}
.sections { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.sections button { width: auto; }
.sections button[aria-pressed="false"] { background: #fff; color: #15604d; }
.delete-product { width: auto; margin-left: 10px; padding: 4px 10px; background: #fff; color: #a32222; border-color: #d8b7b7; }
details form { margin-top: 12px; }

.creator { background: #eff4f0; color: #18342d; }
.creator main { padding: 14px 14px max(32px, env(safe-area-inset-bottom)); }
.creator .creator-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 0 12px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(132deg, #11382f, #205d49);
  color: #fff;
}
.creator-hero::after {
  position: absolute;
  z-index: -1;
  inset: -130px -100px auto auto;
  width: 240px;
  height: 240px;
  border: 30px solid #ffffff14;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.creator-hero small { color: #c0dfd2; letter-spacing: .06em; font-size: .75rem; }
.creator-hero h1 { margin: 5px 0 3px; font-size: clamp(1.5rem, 6vw, 1.9rem); }
.creator-hero p { margin: 0; color: #e0eee6; font-size: .875rem; }
.creator-profile { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.creator-profile div { padding: 8px; border-radius: 10px; background: #ffffff17; }
.creator-profile span { display: block; color: #c7e1d6; font-size: .72rem; }
.creator-profile strong { display: block; font-size: .87rem; overflow-wrap: anywhere; }
.creator-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin: 12px 0; padding: 0; list-style: none; }
.creator-steps li { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 7px 2px; border-radius: 10px; color: #51695e; font-size: .77rem; }
.creator-steps li span { display: grid; place-items: center; flex: 0 0 19px; height: 19px; border-radius: 50%; background: #e0ebe4; font-size: .69rem; font-weight: 700; }
.creator-steps [aria-current] { color: #174937; background: #dbece0; font-weight: 700; }
.creator-steps [aria-current] span { color: #fff; background: #215f48; }
.creator-steps .is-complete { color: #245c48; }
.creator section { margin: 12px 0; padding: 17px; border: 1px solid #dbe6dd; border-radius: 18px; box-shadow: 0 3px 12px #153d2d08; }
.creator h2 { margin: 0 0 8px; font-size: 1.13rem; line-height: 1.35; }
.creator .muted { color: #52685e; font-size: .86rem; }
.creator-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 11px; }
.creator-card-heading small { display: block; margin-bottom: 3px; color: #4d7263; font-size: .72rem; }
.creator-card-heading h2 { margin: 0; }
.creator-badge { display: inline-block; flex: none; padding: 4px 8px; border-radius: 20px; background: #edf1ed; color: #4a6256; font-size: .72rem; font-weight: 700; }
.creator-badge[data-ready="true"], #returning .creator-badge { background: #e1f2e7; color: #1c6948; }
#returning h2 { margin-top: 9px; }
#returning .button { margin: 8px 0 2px; }
.creator-file { display: flex; align-items: flex-start; gap: 10px; padding: 11px; border-radius: 12px; background: #edf5ee; }
.creator-file-icon { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 9px; color: #215f48; background: #daebdf; }
.creator-file-icon svg { width: 22px; height: 22px; }
.creator-file-info { min-width: 0; flex: 1; }
.creator-file-info > span { display: block; margin-bottom: 3px; color: #4c695b; font-size: .72rem; }
.creator-file summary { display: flex; align-items: flex-start; gap: 7px; }
.creator-file summary::after { content: "+"; flex: none; color: #285c49; }
.creator-file details[open] summary::after { content: "−"; }
.creator #filename { display: -webkit-box; overflow: hidden; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: .87rem; }
.creator details[open] #filename { display: block; }
.creator-actions { display: grid; gap: 8px; margin-top: 11px; }
.creator button, .creator .button { min-height: 44px; }
.creator .secondary { background: #fff; color: #18563f; border-color: #9bb8a8; }
.creator .creator-text-button { background: transparent; border-color: transparent; color: #235f49; font-weight: 600; font-size: .86rem; }
.creator-empty { margin-bottom: 10px; padding: 11px; border-radius: 12px; background: #f1f5f1; }
.creator-empty p { margin: 3px 0 0; }
.creator-hints { margin: 0 0 12px; padding: 9px 10px 9px 30px; border-radius: 12px; background: #eff5ee; color: #395f4e; font-size: .85rem; }
.creator-hints li { padding: 1px 0; }
.creator form { gap: 9px; }
.creator label { color: #274737; font-size: .86rem; font-weight: 650; }
.creator input, .creator select, .creator textarea { font-size: 16px; font-weight: 400; border-radius: 10px; color: #18342d; background: #fcfdfb; }
.creator textarea { min-height: 92px; }
.creator textarea:disabled { background: #eef3f1; cursor: not-allowed; }
.creator :focus-visible { outline: 2px solid #32805f; outline-offset: 2px; }
.creator #feedback { scroll-margin-top: 12px; }
.creator #status:not(:empty), .creator .creator-inline-status:not(:empty) { padding: 8px 11px; border-radius: 9px; background: #e2f0e6; color: #215b43; font-size: .85rem; }
.creator #status.error, .creator .creator-inline-status.error { background: #fceeea; color: #9d3426; }
.creator #status:empty, .creator .creator-inline-status:empty { display: none; }
