/* wave33 · studio.css
   Shared chrome for compact mount tool pages (background-removal / image-zoom /
   image-layering / image-to-svg / image-watermark / tool-stub …).
   Aligns with overnight wrap1200/32 · card16 · CTA46 tokens.
   Does NOT touch shell-mode, business API, or 【尚未公布】copy. */
main{
  margin-left:256px;
  margin-right:auto;
  padding:96px 32px 64px;
  max-width:960px;
  box-sizing:border-box;
}
main > h1{
  margin:0 0 8px;
  font-size:1.45rem;
  font-weight:750;
  letter-spacing:-.02em;
  color:#0f172a;
  line-height:1.3;
}
main > h1 small{font-size:.85rem;font-weight:550;color:#526278;letter-spacing:0}
main > h2,main section > h2{
  font-size:1rem;font-weight:650;color:#1e293b;margin:1.1rem 0 .55rem;
}
main section{
  border:1px solid #e8ecf4;
  border-radius:16px;
  padding:1.05rem 1.1rem;
  background:#fff;
  box-shadow:0 8px 22px rgba(15,23,42,.05),0 1px 3px rgba(15,23,42,.04);
  margin:.85rem 0;
}
.notice{
  padding:.85rem 1rem;
  background:#fff7ed;
  border:1px solid #fed7aa;
  border-radius:14px;
  color:#9a3412;
  margin:.75rem 0;
  font-size:.9rem;
  line-height:1.55;
}
.history-item{
  border:1px solid #e8ecf4;
  border-radius:14px;
  padding:.85rem 1rem;
  margin:.6rem 0;
  background:#fff;
}
.chip,.chip-row .chip,button.chip{
  padding:.45rem .9rem;
  border:1px solid #e2e8f0;
  border-radius:999px;
  background:#fff;
  color:#334155;
  font-weight:550;
  min-height:36px;
}
.chip.selected,button.selected{
  outline:2px solid #7c3aed;
  border-color:#c4b5fd;
  background:#f5f3ff;
}
#pick,button#pick{
  box-sizing:border-box;
  display:inline-flex;align-items:center;justify-content:center;
  min-height:40px;padding:0 1rem;border-radius:10px;
  border:1px solid #e2e8f0;background:#f8fafc;color:#334155;font-weight:600;
}
#generate,button#generate,#run,button#run,#stub-submit{
  box-sizing:border-box;
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  width:100%;
  height:46px;min-height:46px;
  margin-top:1rem;
  padding:0 1.15rem;
  border:0;border-radius:12px;
  background:linear-gradient(100deg,#7c3aed,#6366f1);
  color:#fff;font-weight:650;font-size:.95rem;
  box-shadow:0 8px 18px #7c3aed28;
}
#generate:disabled,button#generate:disabled,#run:disabled,#stub-submit:disabled{
  opacity:.55;cursor:not-allowed;box-shadow:none;
}
#thumbs img,.thumbs img{border-radius:12px}
#service-note,.service-note,#channel-note,#validation,#request-status{
  font-size:.85rem;line-height:1.5;color:#526278;
}
@media(max-width:700px){
  main{margin-left:0;padding:88px 16px 40px;max-width:none}
  main > h1{font-size:1.3rem}
}

/* ========== wave47 · WS-P1 工具壳质感再收（candidate only · 0 元）
   主钮 40h/r10 对齐公开壳；卡暖边；不改业务/门控/API */
main section{
  border-color:#e7e0d8;
  border-radius:16px;
  box-shadow:0 6px 18px rgba(15,23,42,.045),0 1px 2px rgba(15,23,42,.03);
}
.history-item{
  border-color:#e7e0d8;
  border-radius:14px;
}
#generate,button#generate,#run,button#run,#stub-submit{
  height:40px;min-height:40px;max-height:40px;
  border-radius:10px;
  padding:0 1.1rem;
  font-size:.92rem;
  box-shadow:0 6px 14px #7c3aed24;
}
#pick,button#pick{
  min-height:36px;height:36px;border-radius:10px;
  border-color:#e7e0d8;background:#faf8f5;
}

/* ========== wave48 · studio 工具壳暖底与 slot 再贴（candidate only · 0 元） */
body.shell-header-only,
body[data-shell-mode="mount"]{
  background:#F6F3EF !important;
}
.slot{
  border-radius:16px;
  border-color:#e7e0d8;
  background:#faf8f5;
}
.chip,.chip-row .chip{
  border:1px solid #e7e0d8;
  background:#faf8f5;
  border-radius:999px;
}
