.unified-ready #page-gov-workshop {
  padding: 120px 36px 56px;
}
.gw-page {
  max-width: 1368px;
  margin: auto;
}
.gw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.gw-header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  white-space: nowrap;
}
.gw-header .creation-heading {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.gw-primary,
.gw-secondary,
.gw-reference-button,
.gw-result-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  min-height: 44px;
  padding: 10px 16px;
  color: var(--fg);
  background: var(--bg-card);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.gw-primary {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.gw-primary:disabled {
  opacity: 0.45;
  cursor: default;
}
.gw-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}
.gw-composer {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: color-mix(in srgb, var(--bg-card) 86%, transparent);
}
.gw-composer-title {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 22px;
}
.gw-composer-title h2,
.gw-results-heading h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
}
.gw-demo,
.gw-result-tag {
  color: var(--fg-muted);
  font-size: 10px;
  border-radius: 20px;
  background: var(--bg-soft);
  padding: 5px 8px;
}
.gw-field {
  display: block;
  font-size: 12px;
  color: var(--fg-muted);
  margin: 20px 0 9px;
}
.gw-composer textarea,
.gw-composer select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--fg);
  padding: 12px;
  font: inherit;
  font-size: 14px;
  line-height: 1.8;
}
.gw-composer textarea {
  resize: vertical;
  min-height: 150px;
  max-height: 320px;
}
.gw-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.gw-suggestions button {
  background: var(--bg-soft);
  color: var(--fg-muted);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 10px;
  min-height: 32px;
  font-size: 11px;
}
.gw-reference-button {
  width: 100%;
  margin-top: 16px;
  background: transparent;
  border-style: dashed;
}
.gw-reference {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: 16px;
}
.gw-reference[hidden] {
  display: none;
}
.gw-reference img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: var(--bg-soft);
  border-radius: 8px;
}
.gw-reference span {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}
.gw-reference button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--fg);
}
.gw-generate {
  width: 100%;
  justify-content: space-between;
  margin-top: 24px;
  min-height: 48px;
}
.gw-status {
  font-size: 11px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin: 10px 0 0;
}
.gw-status:empty {
  display: none;
}
.gw-cost { color: var(--fg-muted); font-size: 12px; min-height: 18px; margin: 10px 0 0; }
.gw-heading-actions, .gw-submission-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.gw-submission-actions[hidden] { display: none; }
.gw-submission-actions { margin-top: 12px; }
.gw-result-art > a { display: block; width: 100%; height: 100%; }
.gw-task-state { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.gw-task-state strong { font-size: 14px; font-weight: 500; }
.gw-task-state small { font-size: 12px; color: var(--fg-muted); overflow-wrap: anywhere; }
.gw-task-state i { width: 26px; height: 26px; border: 2px solid var(--border); border-top-color: var(--fg-muted); border-radius: 50%; animation: gw-pending 1.2s linear infinite; }
@keyframes gw-pending { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .gw-task-state i { animation: none; } }
.gw-results {
  min-width: 0;
}
.gw-results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.gw-results-heading .gw-secondary {
  background: transparent;
}
.gw-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.gw-result {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
}
.gw-result-art {
  aspect-ratio: 1;
  background: linear-gradient(140deg, var(--bg-soft), var(--bg-card));
  padding: 24px;
}
.gw-result-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gw-result-body {
  padding: 16px 14px 12px;
}
.gw-result-body h3 {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  margin: 12px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gw-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.gw-result-actions button {
  flex: 1;
  white-space: nowrap;
  min-height: 38px;
  padding: 7px 8px;
  font-size: 11px;
  border-radius: 10px;
}
.gw-result-actions [aria-pressed="true"] {
  background: var(--bg-soft);
  color: var(--fg-muted);
}
.gw-empty {
  grid-column: 1 / -1;
  min-height: 365px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: color-mix(in srgb, var(--bg-card) 58%, transparent);
}
.gw-empty-symbol {
  font-size: 50px;
  color: var(--fg-dim);
  line-height: 1.2;
}
.gw-empty h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
}
.gw-empty p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--fg-muted);
  margin: 0;
}
.gw-model-entry {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px;
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  color: var(--fg);
}
.gw-model-picture {
  width: 88px;
  height: 68px;
  border-radius: 12px;
  overflow: hidden;
}
.gw-model-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gw-model-entry strong {
  font-size: 17px;
  font-weight: 500;
  display: block;
  margin-bottom: 7px;
}
.gw-model-entry small {
  color: var(--fg-muted);
  font-size: 12px;
}
.gw-model-entry b {
  margin-left: auto;
  font-size: 24px;
  font-weight: 400;
}
.gw-page :focus-visible {
  outline: 2px solid var(--fg-muted);
  outline-offset: 3px;
}
#page-workshop .wk-panel-heading button[data-materials] {
  padding: 0;
  line-height: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--fg);
  background: var(--bg-card);
  font-size: 22px;
}
#page-workshop .wk-empty-assets {
  border: 1px dashed var(--border-strong);
  background: transparent;
  color: var(--fg-muted);
  border-radius: 12px;
  min-height: 70px;
  width: 100%;
}
@media (max-width: 1100px) {
  .gw-layout {
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 22px;
  }
  .gw-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gw-header {
    align-items: flex-start;
  }
  .gw-header .creation-heading {
    gap: 14px;
  }
}
@media (max-width: 800px) {
  .unified-ready #page-gov-workshop {
    padding: 94px 20px 36px;
  }
  .gw-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "title selected" "tabs tools";
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
  }
  .gw-header h1 {
    grid-area: title;
    font-size: 26px;
  }
  .gw-header .creation-heading {
    display: contents;
    flex: 1 1 100%;
  }
  .gw-header > .gw-secondary {
    grid-area: selected;
    margin-left: auto;
  }
  .gw-header .creation-mode-tabs { grid-area: tabs; width: max-content; max-width: 100%; }
  .gw-header .creation-more { grid-area: tools; }
  .gw-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .gw-composer {
    padding: 20px;
  }
  .gw-composer-title {
    margin-bottom: 14px;
  }
  .gw-composer textarea {
    min-height: 110px;
    font-size: 16px;
  }
  .gw-composer select {
    font-size: 16px;
  }
  .gw-empty {
    min-height: 240px;
  }
  .gw-result-grid {
    gap: 12px;
  }
  .gw-result-art {
    padding: 18px;
  }
  .gw-result-body {
    padding: 13px 10px;
  }
  .gw-result-actions button {
    min-height: 42px;
  }
  .gw-model-entry {
    gap: 14px;
  }
  .gw-model-picture {
    width: 64px;
    height: 64px;
  }
  .gw-result-actions {
    flex-direction: column;
  }
}

.wk-panel-heading button[data-materials] svg{display:block;flex:none}
