.workspace-wrapper {
  width: min(1344px, 100% - 64px);
  margin-inline: auto;
}
.workspace-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  border-bottom: 1px solid var(--border-hairline);
}
.workstation-badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--text-secondary);
  font-size: 16px;
}
.workstation-badge svg {
  width: 15px;
  color: var(--accent);
}
.workstation-actions {
  display: flex;
  gap: 8px;
}
.header-tool {
  background: none;
  border-color: transparent;
  box-shadow: none;
  font-size: 16px;
  padding: 8px 12px;
}
.header-tool svg {
  width: 16px;
  height: 16px;
}
.notification-count {
  border-radius: 50%;
  background: var(--accent);
  color: #101b08;
  min-width: 18px;
  font-size: 16px;
}
.workspace-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 32px 28px;
}
.workspace-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 16px;
  letter-spacing: .13em;
  color: var(--text-secondary);
}
.workspace-heading h1 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 10px;
}
.workspace-subtitle {
  font-size: 16px;
  margin-bottom: 0;
  max-width: 620px;
}
.workspace-count {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 16px;
  box-shadow: var(--inset-shadow);
  border: 1px solid #ffffff08;
  background: #111113;
  font-size: 16px;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.workspace-count > span:first-child {
  font-family: var(--font-mono);
  font-size: 28px;
  color: var(--text-primary);
  line-height: 1;
}
.workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 400px);
  gap: 24px;
  align-items: start;
}
.canvas-column {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.canvas-panel,
.inspector,
.readiness-card,
.metric-card {
  background: var(--panel-bg);
  border: 1px solid var(--border-default);
  border-top-color: var(--border-highlight);
  border-radius: 28px;
  box-shadow: var(--panel-shadow);
  min-width: 0;
}
.canvas-panel {
  overflow: hidden;
}
.canvas-toolbar {
  min-height: 62px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #ffffff08;
}
.canvas-file {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 16px;
  min-width: 0;
}
.canvas-file > span:first-of-type {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 280px;
}
.canvas-file svg {
  color: var(--text-secondary);
  width: 17px;
}
.file-type {
  color: var(--accent);
  background: #a6ff380c;
  border: 1px solid #a6ff3821;
  font-size: 16px;
  padding: 3px 6px;
  border-radius: 5px;
}
.preview-tools {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.replace-button {
  font-size: 16px;
  padding: 8px 12px;
  min-height: 40px;
}
.preview-stage {
  position: relative;
  margin: 12px;
  background:
    radial-gradient(
      ellipse at 50% 35%,
      #1b1b1e,
      #101012 70%);
  border-radius: 20px;
  border: 1px solid #0008;
  box-shadow: var(--inset-shadow);
}
.dropzone {
  min-height: 366px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  padding: 28px 24px;
  outline-offset: -5px;
}
.dropzone.drag-over {
  outline: 2px dashed var(--accent);
  background: #a6ff380a;
  border-radius: 20px;
}
.dropzone h2 {
  font-size: 23px;
  margin: 20px 0 9px;
}
.dropzone p {
  max-width: 340px;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.drop-formats {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 16px;
}
.drop-formats i {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #73737e;
}
.format-limit {
  padding-left: 12px;
  border-left: 1px solid #ffffff1a;
}
.sample-button {
  border: 0;
  background: none;
  box-shadow: none;
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 16px;
  padding: 8px;
}
.sample-button:hover {
  background: #ffffff06;
}
.glass-art {
  width: 130px;
  height: 94px;
  position: relative;
  margin: 4px 0 8px;
}
.glass-sheet {
  position: absolute;
  width: 94px;
  height: 76px;
  border: 1px solid #ffffff20;
  border-top-color: #ffffff38;
  border-radius: 17px;
  background:
    linear-gradient(
      145deg,
      #343438,
      #1b1b1e);
  box-shadow: inset 0 1px 0 #ffffff0b, 0 10px 15px -6px #000b;
}
.sheet-back {
  left: 6px;
  top: 0;
  transform: rotate(-13deg);
  opacity: .5;
}
.sheet-middle {
  left: 19px;
  top: 6px;
  transform: rotate(5deg);
  opacity: .7;
}
.sheet-front {
  left: 31px;
  top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.art-image {
  width: 47px;
  height: 47px;
  color: #a0a0a8;
  stroke-width: 2;
}
.sheet-dots,
.sheet-file {
  display: none;
}
.sheet-tag {
  position: absolute;
  right: -9px;
  bottom: -8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    linear-gradient(
      160deg,
      #d2ff98,
      #a6ff38);
  border: 1px solid #d2ff98;
  color: #101b08;
  box-shadow: 0 3px 10px #0008, inset 0 1px 0 #fff7;
}
.sheet-tag svg {
  width: 15px;
  height: 15px;
}
.preview-area {
  padding: 20px;
}
.image-mat {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  background-image:
    conic-gradient(
      #26262a 25%,
      #1c1c1f 0 50%,
      #26262a 0 75%,
      #1c1c1f 0);
  background-size: 16px 16px;
  overflow: hidden;
  border-radius: 12px;
}
.image-mat > img {
  max-height: 460px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.result-layer {
  position: absolute;
  inset: 0;
}
.result-layer img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.preview-area[data-mode=original] .result-layer {
  display: none;
}
.preview-area[data-mode=compare] .result-layer {
  clip-path: inset(0 calc(100% - var(--compare,50%)) 0 0);
}
.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--compare,50%);
  width: 2px;
  background: #fff;
  box-shadow: 0 0 8px #0009;
}
.compare-line > span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #fff8;
  background: #252528;
  border-radius: 50%;
  box-shadow: 0 3px 8px #0007;
}
.compare-control {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 20px;
}
.compare-control input {
  flex: 1;
}
.canvas-bottom {
  padding: 10px 20px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.canvas-caption {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 16px;
  color: var(--text-secondary);
}
.tiny-dot {
  width: 4px;
  height: 4px;
}
.view-switch {
  display: flex;
  padding: 4px;
  gap: 3px;
  border-radius: 12px;
  background: #101012;
  box-shadow: var(--inset-shadow);
}
.view-switch button {
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-secondary);
  background: none;
  padding: 7px 12px;
  min-height: 44px;
  font-size: 16px;
}
.view-switch button.active {
  color: var(--text-primary);
  border-color: #ffffff16;
  background:
    linear-gradient(
      180deg,
      #343438,
      #242427);
  box-shadow: 0 2px 4px #0006, inset 0 1px 0 #ffffff08;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.metric-card {
  padding: 18px;
  border-radius: 20px;
}
.metric-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 16px;
}
.metric-top svg {
  width: 14px;
  height: 14px;
  color: #a3a3ad;
}
.metric-value {
  margin-top: 15px;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}
.metric-value span {
  font-size: 16px;
  color: var(--text-secondary);
  margin-left: 5px;
  letter-spacing: 0;
}
.dimension-value {
  font-size: clamp(16px, 1.7vw, 24px);
  padding-top: 4px;
}
.metric-bottom {
  margin-top: 9px;
  font-size: 16px;
  color: var(--text-secondary);
}
.has-savings {
  color: var(--accent);
  text-shadow: 0 0 22px #a6ff382b;
}
.negative-savings {
  color: var(--warning);
}
.mini-bars {
  display: none;
}
.readiness-card {
  padding: 22px 24px;
  order: 3;
}
.readiness-overview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.readiness-overview .eyebrow {
  margin-bottom: 8px;
  font-size: 16px;
}
.readiness-overview h2 {
  font-size: 17px;
  margin-bottom: 6px;
}
#readinessScope {
  font-size: 16px;
  margin-bottom: 0;
}
.readiness-number {
  text-align: right;
}
#readinessValue {
  display: block;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--accent);
  text-shadow: 0 0 24px #a6ff382b;
  font-variant-numeric: tabular-nums;
}
#readinessState {
  display: block;
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 4px;
}
.readiness-track {
  height: 12px;
  padding: 3px;
  background: #0e0e10;
  box-shadow: var(--inset-shadow);
  border: 1px solid #ffffff07;
  border-radius: 20px;
  margin-top: 20px;
}
.readiness-track > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 20px;
  background:
    linear-gradient(
      180deg,
      #d2ff98,
      #a6ff38 55%,
      #a6ff38);
  box-shadow: 0 0 14px #a6ff3838, inset 0 1px 0 #ffffff55;
  transition: width 180ms;
}
.assistant-next {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding-top: 18px;
}
.assistant-next strong {
  font-size: 16px;
  font-weight: 500;
}
.assistant-next p {
  font-size: 16px;
  line-height: 1.7;
  margin: 6px 0 0;
}
.assistant-next button {
  font-size: 16px;
  padding: 8px 12px;
  flex-shrink: 0;
}
.technical-details {
  margin-top: 18px;
  border-top: 1px solid #ffffff0c;
  padding-top: 8px;
}
.technical-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  gap: 12px;
  font-size: 16px;
  color: var(--text-secondary);
}
summary::-webkit-details-marker {
  display: none;
}
.technical-label {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.technical-label svg {
  width: 14px;
}
.check-count {
  font-family: var(--font-mono);
  margin-left: 5px;
}
.chevron {
  width: 15px;
  height: 15px;
  transition: transform 150ms;
}
details[open] > summary .chevron {
  transform: rotate(180deg);
}
.audit-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 8px;
  border-bottom: 1px solid #ffffff08;
  font-size: 16px;
  border-radius: 8px;
}
.audit-row svg {
  width: 15px;
  color: var(--text-secondary);
}
.audit-row > span {
  flex: 1;
}
.audit-row strong {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 500;
}
.audit-row.is-passed svg,
.audit-row.is-passed strong {
  color: var(--accent);
}
.audit-row.can-jump {
  cursor: pointer;
}
.audit-row.can-jump:hover {
  background-color: #ffffff07;
}
.score-method {
  padding-top: 18px;
}
.score-method h3 {
  font-size: 16px;
}
.score-method p,
.source-links {
  font-size: 16px;
  line-height: 1.8;
}
.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--accent);
}
.inspector {
  padding: 20px;
}
.inspector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1px 3px 18px;
}
.inspector-header .eyebrow {
  font-size: 16px;
}
.inspector-indicator {
  width: 5px;
  height: 5px;
  background: #73737e;
  border-radius: 50%;
}
.inspector-tabs {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  background: #0e0e10;
  box-shadow: var(--inset-shadow);
  padding: 5px;
  gap: 3px;
  border: 1px solid #ffffff06;
  border-radius: 15px;
  margin-bottom: 24px;
}
.inspector-tabs button {
  min-height: 44px;
  border: 1px solid transparent;
  padding: 8px 6px;
  font-size: 16px;
  color: var(--text-secondary);
  border-radius: 11px;
  background: transparent;
}
.inspector-tabs button.active {
  color: var(--text-primary);
  background:
    linear-gradient(
      180deg,
      #36363a,
      #252528);
  border-color: #ffffff18;
  box-shadow: 0 2px 4px #0008, inset 0 1px 0 #ffffff08;
}
.panel-intro h2 {
  font-size: 19px;
  margin-bottom: 8px;
}
.panel-intro p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 22px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 24px;
  min-width: 0;
}
legend,
.field-heading,
.input-field label {
  font-size: 16px;
  font-weight: 500;
}
legend {
  margin-bottom: 10px;
}
.format-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.format-card {
  border: 1px solid #ffffff13;
  border-top-color: #ffffff23;
  border-radius: 14px;
  padding: 13px;
  background:
    linear-gradient(
      145deg,
      #2e2e32,
      #202023);
  color: var(--text-primary);
  text-align: left;
  box-shadow: inset 0 1px 0 #ffffff06, 0 3px 5px #0003;
}
.format-card:hover {
  border-color: #ffffff38;
}
.format-card.selected {
  border-color: #a6ff385c;
  background:
    linear-gradient(
      150deg,
      #2d3b32,
      #202823);
  box-shadow: inset 0 1px 0 #d2ff9816, 0 3px 6px #0005;
}
.format-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
}
.radio-mark {
  width: 13px;
  height: 13px;
  display: block;
  border: 1px solid #73737e;
  border-radius: 50%;
  background: #111113;
  box-shadow: inset 0 1px 3px #0009;
}
.selected .radio-mark {
  border: 4px solid var(--accent);
}
.format-card small {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  color: var(--text-secondary);
}
.field-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.field-heading output {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 16px;
}
.field-hint {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 16px;
}
.field-hint svg {
  width: 12px;
  height: 12px;
}
input[type=range] {
  width: 100%;
  height: 7px;
  border-radius: 20px;
  background: #101012;
  appearance: none;
  box-shadow: var(--inset-shadow);
  accent-color: var(--accent);
  cursor: pointer;
  margin: 10px 0;
}
input[type=range]::-webkit-slider-thumb {
  appearance: none;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background:
    linear-gradient(
      160deg,
      #ecfff4,
      #a6b6ac);
  border: 3px solid #383f3b;
  box-shadow: 0 2px 4px #000a, inset 0 1px 0 #fff;
}
input[type=range]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e4f6ec;
  border: 3px solid #383f3b;
}
.quality-ends {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  color: var(--text-secondary);
  margin: 8px 0 13px;
}
.quality-presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 4px;
  border-radius: 12px;
  background: #131315;
  box-shadow: var(--inset-shadow);
  gap: 3px;
}
.quality-presets button {
  border: 1px solid transparent;
  min-height: 44px;
  border-radius: 9px;
  font-size: 16px;
  background: none;
  color: var(--text-secondary);
  padding: 6px;
}
.quality-presets button.active {
  background:
    linear-gradient(
      180deg,
      #303034,
      #232326);
  color: var(--text-primary);
  border-color: #ffffff13;
  box-shadow: 0 2px 4px #0007;
}
.quality-presets button:hover {
  color: var(--text-primary);
}
.inspector-divider {
  height: 1px;
  background: #ffffff0b;
  margin: 24px 0 20px;
  box-shadow: 0 1px 0 #0005;
}
.dimensions-fields {
  display: grid;
  grid-template-columns: 1fr 12px 1fr;
  align-items: end;
  gap: 8px;
}
.dimension-times {
  padding-bottom: 12px;
  color: var(--text-muted);
  font-size: 16px;
  text-align: center;
}
.input-field {
  min-width: 0;
  margin-bottom: 18px;
}
.dimensions-fields .input-field {
  margin-bottom: 0;
}
.input-field label {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}
.unit-input,
.icon-input {
  display: flex;
  align-items: center;
  background: #101012;
  border: 1px solid #ffffff0e;
  border-radius: 13px;
  box-shadow: var(--inset-shadow);
}
.unit-input span {
  color: var(--text-secondary);
  padding-right: 12px;
  font-size: 16px;
}
.icon-input svg {
  color: var(--text-muted);
  margin-left: 12px;
  width: 15px;
}
.unit-input:focus-within,
.icon-input:focus-within {
  border-color: #a6ff3877;
  outline: 2px solid #a6ff3830;
  outline-offset: 2px;
}
.input-field input,
.input-field textarea,
.metadata-extra select,
#publishingCode,
#tagCloudBox {
  width: 100%;
  background: #101012;
  border: 1px solid #ffffff12;
  border-radius: 13px;
  padding: 12px;
  color: var(--text-primary);
  box-shadow: var(--inset-shadow);
  font-size: 16px;
  min-height: 44px;
}
.input-field textarea {
  resize: vertical;
  line-height: 1.7;
}
.input-field input::placeholder,
.input-field textarea::placeholder {
  color: #8e8e99;
  font-size: 16px;
}
.unit-input input,
.icon-input input {
  width: 100%;
  background: none;
  border: 0;
  box-shadow: none;
  outline: none;
  font-size: 16px;
  padding: 12px 10px;
}
.unit-input input:focus-visible,
.icon-input input:focus-visible {
  outline: none;
}
.target-field {
  margin-top: 20px;
}
.optional,
.field-counter {
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 400;
}
.field-note {
  font-size: 16px;
  line-height: 1.8;
  margin: 8px 0 0;
}
.field-error {
  color: var(--error);
  font-size: 16px;
  margin-top: 9px;
}
[aria-invalid=true] {
  border-color: var(--error) !important;
}
.advanced-settings,
.metadata-extra {
  border-top: 1px solid #ffffff10;
  margin-top: 20px;
  padding-top: 6px;
}
.advanced-settings summary,
.metadata-extra summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  list-style: none;
  font-size: 16px;
  padding-block: 10px;
}
.metadata-extra[open] summary {
  margin-bottom: 12px;
}
.switch-row {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 15px 0;
  cursor: pointer;
  min-height: 44px;
}
.switch-row strong {
  font-weight: 500;
  font-size: 16px;
  display: block;
}
.switch-row small {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  display: block;
  margin-top: 4px;
}
.switch-row input {
  position: absolute;
  right: 0;
  width: 38px;
  height: 26px;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.switch-track {
  width: 35px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 20px;
  background: #0c0c0e;
  border: 1px solid #ffffff20;
  box-shadow: var(--inset-shadow);
  padding: 3px;
  pointer-events: none;
}
.switch-track::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    linear-gradient(
      180deg,
      #c0c0c7,
      #81818c);
  box-shadow: 0 1px 3px #000b, inset 0 1px 0 #fff8;
  transition: transform 150ms;
}
.switch-row input:checked + .switch-track {
  background: #101b08;
  border-color: #a6ff3866;
}
.switch-row input:checked + .switch-track::before {
  transform: translateX(13px);
  background: linear-gradient(#d2ff98, #a6ff38);
}
.switch-row input:focus-visible + .switch-track {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.switch-row input:disabled + .switch-track {
  opacity: .4;
}
.privacy-note {
  display: flex;
  align-items: start;
  gap: 8px;
  border-top: 1px solid #ffffff0a;
  padding-top: 16px;
  margin-top: 18px;
}
.privacy-note svg {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--accent);
}
.privacy-note p {
  font-size: 16px;
  margin-bottom: 0;
}
.publish-checklist {
  border: 1px solid var(--border-default);
  border-radius: 14px;
  padding: 16px;
  margin-top: 20px;
}
.publish-checklist h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.publish-checklist p {
  font-size: 16px;
  margin-bottom: 0;
}
.publish-empty {
  text-align: center;
  padding: 28px 16px 10px;
}
.publish-empty h3 {
  font-size: 16px;
}
.publish-empty p {
  font-size: 16px;
}
.code-glyph {
  margin: 0 auto 16px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background:
    linear-gradient(
      145deg,
      #343438,
      #18181b);
  box-shadow: var(--panel-shadow);
  display: grid;
  place-items: center;
  color: var(--text-secondary);
}
.code-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-block: 20px 10px;
  font-size: 16px;
  color: var(--text-secondary);
}
#publishingCode {
  min-height: 260px;
  font-family: var(--font-mono);
  font-size: 16px;
  resize: vertical;
}
#downloadPublishing {
  width: 100%;
  margin-top: 12px;
  font-size: 16px;
}
#tagCloudBox {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
#tagInputText {
  flex: 1;
  min-width: 100px;
  padding: 0;
  border: 0;
  box-shadow: none;
  min-height: 24px;
}
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border: 1px solid #ffffff20;
  border-radius: 7px;
  background: #252528;
  font-size: 16px;
}
.tag-chip button {
  background: none;
  border: 0;
  color: var(--text-secondary);
  padding: 3px;
}
.tag-chip svg {
  width: 12px;
  height: 12px;
}
#exampleAltText {
  font-size: 16px;
  margin-top: 14px;
}
.action-bar {
  position: sticky;
  bottom: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 24px 0 0;
  padding: 16px 20px;
  border: 1px solid #ffffff18;
  border-top-color: #ffffff2a;
  border-radius: 22px;
  background:
    linear-gradient(
      170deg,
      #29292df5,
      #19191cf5);
  box-shadow: inset 0 1px 0 #ffffff08, 0 -4px 24px #0005, 0 10px 24px #0009;
  backdrop-filter: blur(16px);
}
.action-file {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.action-file > div:last-child {
  min-width: 0;
}
.action-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: #131315;
  box-shadow: var(--inset-shadow);
  color: var(--text-secondary);
  flex-shrink: 0;
}
.action-file strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 380px;
}
.action-file span {
  display: block;
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 4px;
}
.action-end {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.shortcut {
  display: flex;
  gap: 3px;
  color: var(--text-secondary);
}
kbd {
  border: 1px solid #ffffff17;
  border-radius: 5px;
  background: #141416;
  padding: 3px 5px;
  font-family: var(--font-mono);
  font-size: 16px;
}
.export-button {
  min-width: 200px;
}
.export-arrow {
  width: 16px;
  height: 16px;
  margin-left: 8px;
}
.button-spinner {
  display: none;
}
[data-busy=true] .button-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #101b0844;
  border-top-color: #101b08;
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}
[data-busy=true] .export-icon {
  display: none;
}
.processing-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: #101012f5;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  text-align: center;
}
.processing-overlay strong {
  font-size: 16px;
  font-weight: 500;
}
.processing-overlay > span:last-of-type {
  color: var(--text-secondary);
  font-size: 16px;
}
.processing-overlay progress {
  width: min(260px, 100%);
  height: 12px;
  accent-color: var(--accent);
  border: 0;
  border-radius: 20px;
  background: #050505;
  box-shadow: var(--inset-shadow);
  overflow: hidden;
}
progress::-webkit-progress-bar {
  background: #050505;
  border-radius: 20px;
}
progress::-webkit-progress-value {
  background:
    linear-gradient(
      #d2ff98,
      #a6ff38,
      #477716);
  border-radius: 20px;
  box-shadow: 0 0 18px #a6ff3833;
}
progress::-moz-progress-bar {
  background: var(--accent);
  border-radius: 20px;
}
.spinner {
  width: 28px;
  height: 28px;
  border: 2px solid #ffffff13;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.processing-status {
  border: 1px solid #a6ff3826;
  color: var(--accent);
  background: #a6ff380a;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 16px;
}
.processing-status.error {
  color: var(--error);
  border-color: #ff9b9b44;
  background: #ff9b9b08;
}
.processing-status.warning {
  color: var(--warning);
  border-color: #a6ff3833;
}
.toast {
  position: fixed;
  bottom: 116px;
  right: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: min(460px, 100% - 32px);
  padding: 16px 20px;
  background:
    linear-gradient(
      150deg,
      #313136,
      #1b1b1f);
  border: 1px solid #ffffff26;
  border-radius: 16px;
  box-shadow: 0 10px 30px #000a;
  font-size: 16px;
}
.toast button {
  background: none;
  border: 0;
  color: var(--text-secondary);
  min-width: 32px;
  min-height: 36px;
}
.toast.error {
  border-color: #ff9b9b55;
  color: var(--error);
}
dialog {
  color: var(--text-primary);
  border: 1px solid #ffffff2a;
  border-radius: 28px;
  padding: 36px;
  background:
    linear-gradient(
      150deg,
      #28282c,
      #141416);
  box-shadow: 0 30px 90px #000a, inset 0 1px 0 #ffffff10;
  width: min(540px, 100% - 32px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
}
dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(6px);
}
dialog h2 {
  font-size: 24px;
  padding-right: 32px;
}
dialog p,
dialog li {
  font-size: 16px;
  color: var(--text-secondary);
}
dialog li {
  margin-bottom: 14px;
}
.dialog-close {
  position: absolute;
  right: 16px;
  top: 16px;
}
.help-symbol {
  margin-bottom: 20px;
  color: var(--accent);
}
.lightbox {
  width: min(1100px, 100% - 32px);
}
.lightbox img {
  max-height: 80dvh;
  margin-inline: auto;
  object-fit: contain;
}
.mode-focus-banner {
  padding: 16px 20px;
  border: 1px solid #a6ff3824;
  border-radius: 16px;
  margin-top: 20px;
  background: #a6ff3805;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 16px;
}
.mode-focus-banner p {
  margin: 0;
  font-size: 16px;
}
.mode-focus-tag,
.mode-focus-link {
  color: var(--accent);
}
.mode-focus-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.tools-directory-section {
  margin-top: 40px;
}
.tools-directory-section > summary {
  padding: 20px 4px;
  border-top: 1px solid #ffffff12;
  color: var(--text-secondary);
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.tools-directory-section .section-header {
  padding: 24px 0;
}
.tools-directory-section h2 {
  font-size: 24px;
}
.tools-directory-section .section-header p {
  max-width: 600px;
  font-size: 16px;
}
.tool-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.tool-catalog-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.tool-catalog-badge {
  color: var(--accent);
  font-size: 16px;
  margin-bottom: 24px;
}
.tool-catalog-title {
  font-size: 20px;
}
.tool-catalog-headline {
  font-size: 16px;
  color: var(--text-primary);
}
.tool-catalog-desc,
.tool-formats-box,
.tool-features-list {
  font-size: 16px;
  color: var(--text-secondary);
}
.tool-formats-box {
  padding: 12px;
  background: #111113;
  border-radius: 12px;
  box-shadow: var(--inset-shadow);
}
.tool-formats-row {
  margin-bottom: 8px;
}
.tool-formats-label {
  display: block;
  color: var(--text-muted);
  font-size: 16px;
}
.tool-features-list {
  padding: 0;
  list-style: none;
  margin: 20px 0;
}
.tool-features-list li {
  display: flex;
  gap: 8px;
  align-items: start;
  margin-bottom: 10px;
}
.tool-features-list svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  margin-top: 3px;
}
.tool-card-cta {
  margin-top: auto;
}
.comparison-container {
  margin-top: 32px;
  padding: 24px;
  background: #121214;
  border-radius: 24px;
  border: 1px solid #ffffff10;
}
@media (max-width: 1100px) {
  .workspace-wrapper {
    width: calc(100% - 40px);
  }
  .workbench {
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) 350px;
  }
  .workspace-count {
    display: none;
  }
  .workstation-actions .directory-button {
    display: none;
  }
  .replace-button span {
    display: none;
  }
  .metric-card {
    padding: 14px;
  }
  .dimension-value {
    font-size: 18px;
  }
  .assistant-next {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .workbench {
    grid-template-columns: minmax(0, 1fr);
  }
  .canvas-column {
    gap: 16px;
  }
  .inspector {
    padding: 24px;
  }
  .tool-catalog-grid {
    grid-template-columns: 1fr;
  }
  .workspace-heading {
    padding-block: 28px 24px;
  }
  .workspace-subtitle {
    max-width: 550px;
  }
  .action-file strong {
    max-width: 260px;
  }
  .shortcut {
    display: none;
  }
  .metric-value {
    font-size: 28px;
  }
  .dimension-value {
    font-size: 23px;
  }
}
@media (max-width: 600px) {
  .workspace-wrapper {
    width: calc(100% - 32px);
  }
  .workspace-topbar {
    gap: 8px;
    min-height: 54px;
  }
  .workstation-badge {
    font-size: 16px;
  }
  .workstation-actions {
    gap: 0;
  }
  .header-tool {
    padding: 8px;
    min-width: 40px;
  }
  .header-tool > span:not(.notification-count) {
    display: none;
  }
  .workspace-heading h1 {
    font-size: 28px;
  }
  .workspace-subtitle {
    font-size: 16px;
    line-height: 1.8;
  }
  .workspace-badge {
    margin-bottom: 10px;
  }
  .canvas-toolbar {
    padding: 10px 14px;
  }
  .canvas-file > span:first-of-type {
    max-width: 150px;
  }
  .preview-stage {
    margin: 8px;
  }
  .dropzone {
    min-height: 350px;
    padding: 24px 16px;
  }
  .dropzone h2 {
    font-size: 22px;
  }
  .canvas-bottom {
    padding: 10px 16px 16px;
  }
  .preview-area {
    padding: 12px;
  }
  .readiness-card {
    padding: 20px;
  }
  .readiness-overview {
    align-items: start;
  }
  #readinessValue {
    font-size: 30px;
  }
  #readinessState {
    max-width: 100px;
  }
  .inspector {
    padding: 20px;
  }
  .input-field input,
  .input-field textarea,
  .metadata-extra select {
    font-size: 16px;
  }
  .unit-input input,
  .icon-input input {
    font-size: 16px;
  }
  .action-bar {
    bottom: 8px;
    padding: 12px;
    gap: 10px;
    margin-top: 16px;
    border-radius: 20px;
  }
  .action-icon,
  .export-arrow {
    display: none;
  }
  .action-file strong {
    max-width: 150px;
    font-size: 16px;
  }
  .action-end {
    gap: 0;
  }
  .export-button {
    min-width: 0;
    font-size: 16px;
    padding: 12px;
  }
  .toast {
    bottom: 120px;
    right: 16px;
  }
  .tools-directory-section {
    margin-top: 28px;
  }
  .comparison-container {
    padding: 12px;
  }
}
@media (max-width: 480px) {
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .metric-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 4px 12px;
    padding: 14px 16px;
    border-radius: 16px;
  }
  .metric-top {
    font-size: 16px;
    justify-content: start;
    gap: 8px;
  }
  .metric-top svg {
    order: -1;
  }
  .metric-value {
    margin: 0;
    font-size: 24px;
    grid-column: 2;
    grid-row: 1/3;
  }
  .dimension-value {
    font-size: 19px;
  }
  .metric-bottom {
    margin: 0;
    font-size: 16px;
  }
  .action-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .action-file {
    padding-inline: 4px;
  }
  .action-file > div:last-child {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .action-file strong {
    max-width: 150px;
    font-size: 16px;
  }
  .action-file span {
    margin: 0;
    font-size: 16px;
  }
  .export-button {
    width: 100%;
    min-height: 44px;
    font-size: 16px;
  }
  .action-end {
    display: block;
  }
  .field-hint {
    font-size: 16px;
  }
  .dimensions-fields {
    gap: 6px;
  }
  .inspector-tabs button {
    font-size: 16px;
    padding-inline: 3px;
  }
  .drop-formats {
    gap: 8px;
    font-size: 16px;
  }
  .format-limit {
    padding-left: 8px;
  }
  .readiness-number {
    flex-shrink: 0;
  }
  .readiness-overview h2 {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .spinner,
  .button-spinner {
    animation: none !important;
  }
  .readiness-track > span,
  .switch-track::before {
    transition: none;
  }
}
.batch-queue {
  padding: 12px 20px;
  background: #141416;
  border: 1px solid var(--border-default);
  border-radius: 20px;
}
.batch-queue summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  font-size: 16px;
}
.batch-queue p {
  font-size: 16px;
}
.batch-queue ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 220px;
  overflow-y: auto;
}
.batch-queue li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid #ffffff0a;
  font-size: 16px;
}
.batch-queue li span:first-child {
  overflow-wrap: anywhere;
}
.batch-queue li span:last-child {
  color: var(--text-secondary);
  flex-shrink: 0;
}
.step-next {
  width: 100%;
  margin-top: 20px;
  font-size: 16px;
}
.app-shell[data-tool-mode=compress] .step-next,
.app-shell[data-tool-mode=resize] .step-next {
  display: none;
}
.canvas-panel.dragover .preview-stage {
  outline: 2px dashed var(--accent);
  background: #a6ff380b;
}
#batchProgressText {
  font-size: 16px;
  color: var(--accent);
}
.panel-intro p,
.input-field label,
legend,
.field-heading {
  font-size: 16px;
}
.panel-intro p {
  line-height: 1.7;
}
.panel-intro h2 {
  font-size: 20px;
}
.inspector-tabs button {
  font-size: 16px;
}
.input-field input,
.input-field textarea,
.metadata-extra select {
  font-size: 16px;
}
.unit-input input,
.icon-input input {
  font-size: 16px;
}
.format-card-top {
  font-size: 16px;
}
.format-card small {
  font-size: 16px;
}
.quality-presets button,
.quality-ends {
  font-size: 16px;
}
.optional,
.field-counter {
  font-size: 16px;
}
.field-note,
.privacy-note p {
  font-size: 16px;
}
.field-hint {
  font-size: 16px;
}
.advanced-settings summary,
.metadata-extra summary,
.switch-row strong {
  font-size: 16px;
}
.switch-row small {
  font-size: 16px;
}
.publish-checklist p,
.publish-empty p {
  font-size: 16px;
}
.publish-checklist h3 {
  font-size: 16px;
}
.canvas-file {
  font-size: 16px;
}
.dropzone p {
  font-size: 16px;
}
.sample-button {
  font-size: 16px;
}
.drop-formats {
  font-size: 16px;
}
.canvas-caption {
  font-size: 16px;
}
.metric-top {
  font-size: 16px;
}
.metric-bottom {
  font-size: 16px;
}
.assistant-next p {
  font-size: 16px;
}
.assistant-next strong {
  font-size: 16px;
}
.technical-details summary {
  font-size: 16px;
}
.audit-row {
  font-size: 16px;
}
.score-method p,
.source-links {
  font-size: 16px;
}
.processing-status {
  order: 4;
}
.readiness-card {
  order: initial;
}
@media (max-width: 600px) {
  .input-field input,
  .input-field textarea,
  .metadata-extra select {
    font-size: 16px;
  }
  .unit-input input,
  .icon-input input {
    font-size: 16px;
  }
  .field-hint {
    font-size: 16px;
  }
  .inspector-tabs button {
    font-size: 16px;
  }
  .format-card small {
    font-size: 16px;
  }
  .drop-formats {
    font-size: 16px;
  }
}
.inspector {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.readiness-card {
  grid-column: 1;
  grid-row: 2;
}
.canvas-column {
  grid-column: 1;
  grid-row: 1;
}
@media (max-width: 900px) {
  .canvas-column,
  .inspector,
  .readiness-card {
    grid-column: auto;
    grid-row: auto;
  }
}
.inspector input,
.inspector textarea,
.inspector button {
  scroll-margin-block: 110px 160px;
}
.canvas-panel,
.inspector,
.hero-study,
.readiness-card {
  position: relative;
  isolation: isolate;
}
.canvas-panel::before,
.inspector::before,
.readiness-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
.workspace-wrapper {
  width: min(1360px, 100% - 64px);
}
.workspace-topbar {
  min-height: 58px;
}
.workstation-badge {
  font-size: 16px;
  font-weight: 600;
}
.header-tool {
  font-size: 16px;
}
.workspace-route {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 16px;
  margin-top: 24px;
}
.workspace-route > a {
  color: var(--text-secondary);
}
.session-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: var(--text-secondary);
  font-size: 16px;
}
.session-chip .tiny-dot {
  background: var(--lime);
  box-shadow: 0 0 8px #a6ff3833;
}
.workspace-heading {
  padding-block: 18px 26px;
}
.workspace-heading h1 {
  font-size: clamp(32px, 3.3vw, 46px);
  font-weight: 800;
  line-height: 1.1;
}
.workspace-subtitle {
  font-size: 16px;
  max-width: 700px;
  line-height: 1.7;
}
.workspace-badge {
  display: none;
}
.workspace-count {
  padding: 14px 20px;
  background:
    radial-gradient(
      ellipse at 0 0,
      #a6ff3810,
      transparent),
    #111113;
  border-color: #ffffff15;
  box-shadow: inset 0 2px 4px #000b, 0 1px 0 #ffffff0a;
  font-size: 16px;
}
.workspace-count > span:first-child {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 32px;
}
.workbench {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
}
.canvas-column {
  grid-column: 1;
  grid-row: 1;
  gap: 16px;
}
.readiness-card {
  grid-column: 2;
  grid-row: 1;
  padding: 26px;
  background:
    radial-gradient(
      ellipse at 90% 5%,
      #a6ff381f,
      transparent 65%),
    linear-gradient(
      145deg,
      #24222bd9,
      #121214);
  border-radius: 28px;
  min-height: 100%;
}
.readiness-card::after {
  content: "";
  position: absolute;
  inset: 10% 5% 20% 35%;
  background:
    radial-gradient(
      ellipse,
      #a6ff3822,
      transparent 70%);
  filter: blur(25px);
  z-index: -1;
  pointer-events: none;
}
.readiness-overview {
  display: block;
}
.readiness-overview .eyebrow {
  color: #d2ff98;
  font-size: 16px;
}
.readiness-overview h2 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 10px;
}
#readinessScope {
  font-size: 16px;
  line-height: 1.7;
}
.readiness-number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  margin-top: 25px;
}
#readinessValue {
  font-size: 52px;
  font-weight: 800;
  color: #d2ff98;
  text-shadow: 0 0 26px #a6ff3844;
  letter-spacing: -.05em;
}
#readinessState {
  max-width: 110px;
  font-size: 16px;
  line-height: 1.5;
}
.readiness-track {
  margin-top: 16px;
  height: 15px;
  padding: 3px;
}
.readiness-track > span {
  background:
    linear-gradient(
      180deg,
      #d2ff98,
      #a6ff38 50%,
      #a6ff38);
  box-shadow: 0 0 18px #a6ff3855, inset 0 1px 0 #fff7;
}
.assistant-next {
  display: block;
  padding-top: 22px;
}
.assistant-next strong {
  font-size: 16px;
  font-weight: 800;
}
.assistant-next p {
  font-size: 16px;
  line-height: 1.8;
}
.assistant-next button {
  margin-top: 14px;
  font-size: 16px;
  min-height: 44px;
  padding: 10px 14px;
}
.technical-details {
  margin-top: 20px;
}
.technical-details summary {
  font-size: 16px;
}
.technical-label .check-count {
  font-size: 16px;
}
.canvas-panel {
  border-radius: 28px;
  background:
    radial-gradient(
      ellipse at 85% 0,
      #a6ff3812,
      transparent 65%),
    var(--panel-bg);
}
.canvas-toolbar {
  padding: 13px 20px;
  min-height: 62px;
}
.canvas-file {
  font-size: 16px;
  font-weight: 700;
}
.preview-stage {
  margin: 8px 12px;
  background: #090909;
}
.dropzone {
  position: relative;
  min-height: 348px;
  overflow: hidden;
  padding: 34px;
  text-align: left;
  align-items: start;
  justify-content: center;
  border-radius: 20px;
}
.drop-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: 70%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: .9;
  mask-image:
    linear-gradient(
      to left,
      #000,
      transparent 95%);
  -webkit-mask-image:
    linear-gradient(
      to left,
      #000,
      transparent 95%);
}
.drop-copy {
  position: relative;
  z-index: 2;
  width: min(430px, 75%);
}
.drop-copy .eyebrow {
  font-size: 16px;
  color: #a6ff38;
  letter-spacing: .1em;
  max-width: 280px;
}
.dropzone h2 {
  font-size: 34px;
  line-height: 1.14;
  max-width: 330px;
  font-weight: 800;
  margin: 18px 0 14px;
  letter-spacing: -.035em;
}
.dropzone p {
  font-size: 16px;
  max-width: 300px;
  line-height: 1.8;
}
.dropzone .primary-button {
  font-size: 16px;
  min-height: 50px;
  padding: 14px 22px;
  box-shadow: 0 1px 0 #477716, 0 8px 24px #a6ff3822, inset 0 1px 0 #fff6;
}
.sample-button {
  display: flex;
  min-height: 44px;
  padding: 8px 0;
  margin-top: 9px;
  font-size: 16px;
  font-weight: 700;
  justify-content: start;
}
.sample-button:hover {
  background: none;
  color: var(--accent);
}
.drop-formats {
  font-size: 16px;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.canvas-bottom {
  padding: 12px 20px 18px;
}
.canvas-caption {
  font-size: 16px;
}
.canvas-caption .tiny-dot {
  background: var(--lime);
}
.preview-area {
  padding: 18px;
}
.image-mat > img {
  max-height: 375px;
}
.view-switch button {
  font-size: 16px;
  font-weight: 700;
}
.metrics-grid {
  gap: 12px;
}
.metric-card {
  padding: 17px 20px;
  background:
    radial-gradient(
      ellipse at 95% 10%,
      #a6ff380b,
      transparent 80%),
    linear-gradient(
      150deg,
      #222225,
      #121214);
  border-radius: 20px;
}
.metric-top {
  font-size: 16px;
  font-weight: 600;
}
.metric-value {
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 800;
}
.dimension-value {
  font-size: 24px;
}
.metric-value span {
  font-size: 16px;
  font-weight: 500;
}
.metric-bottom {
  font-size: 16px;
  line-height: 1.6;
}
.has-savings {
  color: var(--lime);
  text-shadow: 0 0 20px #a6ff3833;
}
.processing-status {
  order: initial;
}
.inspector {
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
  padding: 28px;
  background:
    linear-gradient(
      155deg,
      #202023d9,
      #101012ed);
  border-radius: 30px;
  border: 1px solid #ffffff1a;
  border-top-color: #ffffff30;
  box-shadow: var(--panel-shadow);
}
.settings-board-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin-bottom: 26px;
}
.settings-board-heading .eyebrow {
  font-size: 16px;
  color: #d2ff98;
  margin-bottom: 10px;
}
.settings-board-heading h2 {
  font-size: 32px;
  margin-bottom: 0;
  font-weight: 800;
}
.settings-board-heading > p {
  font-size: 16px;
  max-width: 320px;
  line-height: 1.8;
  margin-bottom: 0;
}
.inspector-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 7px;
  background: #080809;
  border-radius: 20px;
  margin-bottom: 28px;
  border-color: #ffffff0b;
}
.inspector-tabs button {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  padding: 14px 16px;
  min-height: 82px;
  border-radius: 14px;
  background:
    linear-gradient(
      145deg,
      #252528,
      #19191b);
  border: 1px solid #ffffff0c;
  color: var(--text-secondary);
  box-shadow: inset 0 1px 0 #ffffff07;
}
.inspector-tabs button.active {
  background:
    radial-gradient(
      ellipse at 0 0,
      #a6ff3821,
      transparent 90%),
    linear-gradient(
      145deg,
      #37312c,
      #23201e);
  border-color: #a6ff3855;
  color: #fff;
  box-shadow: inset 0 1px 0 #a6ff3826, 0 3px 8px #0008;
}
.tab-number {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #101012;
  box-shadow: inset 0 2px 5px #000b, 0 1px 0 #ffffff0c;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
}
.active .tab-number {
  background:
    linear-gradient(
      145deg,
      #a6ff38,
      #a6ff38);
  color: #101b08;
  box-shadow: inset 0 1px 0 #fff8, 0 3px 8px #0009;
}
.inspector-tabs strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}
.inspector-tabs small {
  display: block;
  font-size: 16px;
  margin-top: 5px;
  font-weight: 500;
  color: var(--text-secondary);
}
.inspector-tabs svg {
  margin-left: auto;
  width: 19px;
  height: 19px;
  color: var(--tone,var(--accent));
  opacity: .75;
}
.panel-intro {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 22px;
}
.panel-intro h2 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 0;
  white-space: nowrap;
}
.panel-intro p {
  font-size: 16px;
  margin: 0;
  max-width: 500px;
  line-height: 1.7;
}
.output-controls-grid {
  display: grid;
  grid-template-columns: 1fr 1fr .95fr;
  gap: 20px;
}
.settings-card {
  position: relative;
  isolation: isolate;
  padding: 24px;
  min-width: 0;
  border: 1px solid #ffffff16;
  border-top-color: #ffffff26;
  border-radius: 22px;
  background:
    radial-gradient(
      ellipse at 90% 0,
      var(--card-light,#a6ff3815),
      transparent 75%),
    linear-gradient(
      145deg,
      #28282bc7,
      #121214d9);
  box-shadow: inset 0 1px 0 #ffffff0b, 0 12px 22px -12px #000b;
}
.settings-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  top: 20px;
  right: -8px;
  width: 55%;
  height: 75%;
  filter: blur(20px);
  opacity: .7;
  background:
    radial-gradient(
      ellipse,
      var(--card-light),
      transparent 75%);
}
.settings-card > h3 {
  font-size: 18px;
  margin-bottom: 24px;
  font-weight: 800;
  color: var(--tone,var(--text-primary));
}
.settings-card .format-field {
  margin-bottom: 24px;
}
.format-card {
  padding: 15px;
  border-radius: 13px;
}
.format-card.selected {
  border-color: #a6ff3888;
  background:
    radial-gradient(
      ellipse at 0 0,
      #a6ff3822,
      transparent),
    linear-gradient(
      155deg,
      #37302a,
      #24201d);
  box-shadow: inset 0 1px 0 #d2ff981a, 0 3px 7px #0008;
}
.format-card-top {
  font-size: 16px;
  font-weight: 800;
}
.format-card small {
  font-size: 16px;
}
.format-card .radio-mark {
  width: 14px;
  height: 14px;
}
.selected .radio-mark {
  border-color: var(--accent);
}
.field-heading,
.input-field label,
legend {
  font-size: 16px;
  font-weight: 700;
}
.field-heading output {
  font-size: 16px;
  font-weight: 700;
}
.field-hint {
  font-size: 16px;
}
.input-field input,
.input-field textarea,
.metadata-extra select {
  font-size: 16px;
  min-height: 48px;
  border-color: #ffffff14;
}
.unit-input,
.icon-input {
  border-color: #ffffff15;
  border-radius: 12px;
}
.unit-input input,
.icon-input input {
  font-size: 16px;
  padding-block: 14px;
}
.unit-input span {
  font-size: 16px;
}
.quality-presets button {
  font-size: 16px;
  min-height: 44px;
  font-weight: 700;
}
.quality-ends {
  font-size: 16px;
}
.advanced-settings {
  margin-top: 0;
  border: 0;
  padding: 0;
}
.advanced-settings > summary {
  display: none;
}
.switch-row {
  gap: 14px;
  margin: 0 0 20px;
  min-height: 48px;
}
.switch-row strong {
  font-size: 16px;
  font-weight: 800;
}
.switch-row small {
  font-size: 16px;
  line-height: 1.7;
}
.export-art {
  height: 145px;
  overflow: hidden;
  border-radius: 14px;
  margin-top: 16px;
  position: relative;
}
.export-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .8;
}
.board-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
}
.board-footer .step-next {
  order: 2;
  width: auto;
  margin-top: 0;
  font-size: 16px;
  padding: 12px 18px;
}
.board-footer .privacy-note {
  order: 1;
  padding: 0;
  margin: 0;
  border: 0;
  max-width: 440px;
}
.board-footer .privacy-note p {
  font-size: 16px;
}
.board-footer .privacy-note svg {
  width: 17px;
  height: 17px;
}
#settingsValidation {
  width: 100%;
  order: 0;
  margin: 0;
}
.field-error {
  font-size: 16px;
}
.field-note {
  font-size: 16px;
  line-height: 1.8;
}
.optional,
.field-counter {
  font-size: 16px;
}
.metadata-grid {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 20px;
}
.metadata-extra {
  margin-top: 18px;
}
.metadata-extra > summary {
  font-size: 16px;
  font-weight: 700;
}
.rights-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  border: 0;
  padding: 0;
  margin: 0;
}
.rights-fields:not([open]) {
  display: block;
}
.rights-fields > summary {
  grid-column: 1/-1;
  font-size: 18px;
  font-weight: 800;
  color: #d2ff98;
  margin-bottom: 10px;
}
.rights-fields .input-field {
  margin-bottom: 10px;
}
.rights-fields .field-note {
  font-size: 16px;
}
.rights-fields .input-field label {
  font-size: 16px;
}
.rights-fields .icon-input input {
  font-size: 16px;
}
.decorative-switch {
  margin-top: 18px;
}
.publish-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 20px;
}
.publish-grid .publish-checklist {
  margin-top: 24px;
  background: #ffffff03;
}
.publish-checklist h3 {
  font-size: 16px;
}
.publish-checklist p {
  font-size: 16px;
}
.publish-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 310px;
  padding: 24px;
}
.publish-empty h3 {
  font-size: 21px;
  font-weight: 800;
}
.publish-empty p {
  max-width: 300px;
  font-size: 16px;
}
.code-glyph {
  width: 64px;
  height: 64px;
  color: var(--violet);
  border: 1px solid #a6ff3833;
  box-shadow: inset 0 1px 0 #ffffff14, 0 0 30px #a6ff3818;
}
.code-glyph svg {
  width: 27px;
  height: 27px;
}
#publishingCode {
  min-height: 300px;
  font-size: 16px;
  line-height: 1.7;
}
.code-heading {
  font-size: 16px;
  margin-top: 0;
}
#downloadPublishing {
  font-size: 16px;
}
.action-bar {
  padding: 16px 20px;
  border-radius: 20px;
  background:
    linear-gradient(
      150deg,
      #29272adf,
      #151416f5);
  border-top-color: #ffffff36;
  box-shadow: inset 0 1px 0 #ffffff0a, 0 -4px 35px #0009, 0 10px 25px #000c;
}
.action-file strong {
  font-size: 16px;
  font-weight: 800;
}
.action-file span {
  font-size: 16px;
}
.action-icon {
  color: #a6ff38;
  width: 44px;
  height: 44px;
}
.export-button {
  font-size: 16px;
  min-width: 240px;
  min-height: 50px;
}
.export-button:disabled {
  box-shadow: 0 1px 0 #101b08, inset 0 1px 0 #ffffff30;
}
.notification-count {
  background: var(--violet);
  color: #101b08;
}
.tools-directory-section > summary {
  font-size: 16px;
  font-weight: 700;
  padding-block: 22px;
}
.tool-catalog-card {
  background:
    radial-gradient(
      ellipse at 90% 0,
      #a6ff3818,
      transparent 80%),
    var(--panel-bg);
}
.tool-catalog-title {
  font-size: 24px;
  font-weight: 800;
}
.tool-catalog-desc,
.tool-features-list,
.tool-formats-box {
  font-size: 16px;
}
.mode-focus-banner {
  background: #a6ff3809;
  border-color: #a6ff3824;
}
.mode-focus-tag,
.mode-focus-link {
  color: #d2ff98;
}
.app-shell[data-tool-mode=compress] .settings-board-heading h2,
.app-shell[data-tool-mode=resize] .settings-board-heading h2 {
  font-size: 28px;
}
@media (max-width: 1100px) {
  .workspace-wrapper {
    width: calc(100% - 40px);
  }
  .workbench {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
  }
  .readiness-card {
    padding: 22px;
  }
  .dropzone {
    padding: 28px;
    min-height: 360px;
  }
  .dropzone h2 {
    font-size: 30px;
  }
  .drop-copy {
    width: 85%;
  }
  .output-controls-grid {
    grid-template-columns: 1fr 1fr;
  }
  .output-controls-grid > .settings-card:last-child {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
  }
  .output-controls-grid > .settings-card:last-child > h3 {
    grid-column: 1/-1;
    margin-bottom: 12px;
  }
  .export-art {
    height: 120px;
    margin: 0;
  }
  .inspector-tabs button {
    padding: 14px 12px;
    gap: 8px;
  }
  .inspector-tabs strong {
    font-size: 16px;
  }
  .inspector-tabs small {
    font-size: 16px;
  }
  .inspector-tabs svg {
    display: none;
  }
  .metadata-grid {
    grid-template-columns: 1fr 1.2fr;
  }
  .rights-fields {
    grid-template-columns: 1fr;
  }
  .rights-fields > summary {
    font-size: 17px;
  }
  .workspace-count {
    display: none;
  }
  .dimension-value {
    font-size: 20px;
  }
  .metric-value {
    font-size: 27px;
  }
}
@media (max-width: 900px) {
  .workbench {
    grid-template-columns: 1fr;
  }
  .canvas-column {
    grid-column: 1;
    grid-row: 1;
  }
  .inspector {
    grid-column: 1;
    grid-row: 2;
  }
  .readiness-card {
    grid-column: 1;
    grid-row: 3;
    min-height: 0;
  }
  .readiness-overview {
    display: flex;
    align-items: center;
  }
  .readiness-number {
    margin: 0;
    gap: 16px;
  }
  .readiness-overview > div:first-child {
    max-width: 65%;
  }
  #readinessValue {
    font-size: 44px;
  }
  .readiness-overview h2 {
    font-size: 22px;
  }
  .assistant-next {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .assistant-next button {
    margin-top: 0;
    flex-shrink: 0;
  }
  .drop-copy {
    width: 75%;
  }
  .dropzone {
    min-height: 340px;
  }
  .dropzone h2 {
    font-size: 34px;
  }
  .inspector {
    padding: 24px;
  }
  .workspace-heading h1 {
    font-size: 36px;
  }
  .publish-grid {
    grid-template-columns: 1fr 1fr;
  }
  .metadata-grid {
    grid-template-columns: 1fr;
  }
  .rights-fields {
    grid-template-columns: 1fr 1fr;
  }
  .action-file strong {
    font-size: 16px;
  }
  .action-file span {
    font-size: 16px;
  }
  .export-button {
    min-width: 210px;
    font-size: 16px;
  }
}
@media (max-width: 600px) {
  .workspace-wrapper {
    width: calc(100% - 28px);
  }
  .workspace-route {
    margin-top: 18px;
    font-size: 16px;
  }
  .session-chip {
    font-size: 16px;
  }
  .workspace-topbar {
    min-height: 54px;
  }
  .workstation-badge {
    font-size: 16px;
  }
  .workspace-heading {
    padding-block: 16px 22px;
  }
  .workspace-heading h1 {
    font-size: 32px;
  }
  .workspace-subtitle {
    font-size: 16px;
  }
  .workbench {
    gap: 18px;
  }
  .canvas-panel {
    border-radius: 24px;
  }
  .canvas-toolbar {
    padding: 11px 16px;
  }
  .canvas-file > span:first-of-type {
    max-width: 155px;
  }
  .dropzone {
    min-height: 390px;
    padding: 26px 22px;
    justify-content: end;
  }
  .drop-art {
    width: 100%;
    height: 100%;
    opacity: .75;
    mask-image:
      linear-gradient(
        to bottom,
        #000,
        transparent 85%);
    -webkit-mask-image:
      linear-gradient(
        to bottom,
        #000,
        transparent 85%);
  }
  .drop-copy {
    width: 100%;
    padding-top: 90px;
  }
  .drop-copy .eyebrow {
    font-size: 16px;
    max-width: 260px;
  }
  .dropzone h2 {
    font-size: 29px;
    max-width: 300px;
    margin-top: 12px;
  }
  .dropzone p {
    font-size: 16px;
    max-width: 270px;
    margin-bottom: 16px;
  }
  .drop-formats {
    font-size: 16px;
  }
  .dropzone .primary-button {
    font-size: 16px;
    min-height: 48px;
    padding: 13px 20px;
  }
  .sample-button {
    font-size: 16px;
  }
  .metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .metric-card {
    padding: 14px 10px;
    display: block;
    border-radius: 16px;
  }
  .metric-top {
    font-size: 16px;
    display: block;
    line-height: 1.5;
  }
  .metric-top svg {
    display: none;
  }
  .metric-value {
    font-size: 23px;
    margin-top: 14px;
  }
  .metric-value span {
    font-size: 16px;
    display: block;
    margin: 5px 0 0;
  }
  .dimension-value {
    font-size: 16px;
    margin-top: 18px;
    padding: 0;
  }
  .metric-bottom {
    font-size: 16px;
    margin-top: 10px;
  }
  .inspector {
    border-radius: 25px;
    padding: 18px 14px;
  }
  .settings-board-heading {
    display: block;
    margin-bottom: 20px;
    padding-inline: 4px;
  }
  .settings-board-heading h2 {
    font-size: 28px;
  }
  .settings-board-heading .eyebrow {
    font-size: 16px;
  }
  .settings-board-heading > p {
    font-size: 16px;
    margin-top: 10px;
  }
  .inspector-tabs {
    gap: 5px;
    padding: 5px;
    border-radius: 16px;
    margin-bottom: 22px;
  }
  .inspector-tabs button {
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 9px;
    padding: 12px 8px;
    min-height: 110px;
    border-radius: 11px;
  }
  .tab-number {
    width: 27px;
    height: 27px;
    font-size: 16px;
  }
  .inspector-tabs strong {
    font-size: 16px;
    line-height: 1.5;
    white-space: normal;
  }
  .inspector-tabs small {
    display: none;
  }
  .panel-intro {
    display: block;
    padding-inline: 4px;
    margin-bottom: 18px;
  }
  .panel-intro h2 {
    font-size: 20px;
    margin-bottom: 9px;
  }
  .panel-intro p {
    font-size: 16px;
  }
  .output-controls-grid,
  .metadata-grid,
  .publish-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .settings-card {
    padding: 20px;
    border-radius: 19px;
  }
  .output-controls-grid > .settings-card:last-child {
    grid-column: auto;
    display: block;
  }
  .settings-card > h3 {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .export-art {
    height: 130px;
    margin-top: 18px;
  }
  .input-field input,
  .input-field textarea,
  .metadata-extra select {
    font-size: 16px;
  }
  .unit-input input,
  .icon-input input {
    font-size: 16px;
  }
  .format-card small {
    font-size: 16px;
  }
  .format-card-top {
    font-size: 16px;
  }
  .field-heading,
  .input-field label,
  legend {
    font-size: 16px;
  }
  .quality-presets button {
    font-size: 16px;
  }
  .field-hint {
    font-size: 16px;
  }
  .board-footer {
    gap: 18px;
  }
  .board-footer .step-next {
    width: 100%;
    font-size: 16px;
  }
  .board-footer .privacy-note p {
    font-size: 16px;
  }
  .rights-fields {
    grid-template-columns: 1fr;
  }
  .rights-fields > summary {
    font-size: 18px;
  }
  .rights-fields .input-field label {
    font-size: 16px;
  }
  .rights-fields .icon-input input {
    font-size: 16px;
  }
  .field-note {
    font-size: 16px;
  }
  .readiness-card {
    padding: 22px;
    border-radius: 24px;
  }
  .readiness-overview {
    display: block;
  }
  .readiness-overview > div:first-child {
    max-width: 100%;
  }
  .readiness-number {
    margin-top: 20px;
    justify-content: space-between;
  }
  .readiness-overview h2 {
    font-size: 22px;
  }
  #readinessValue {
    font-size: 46px;
  }
  #readinessState {
    max-width: 170px;
  }
  .assistant-next {
    display: block;
  }
  .assistant-next button {
    margin-top: 14px;
  }
  .action-bar {
    bottom: 8px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    margin-top: 18px;
    gap: 10px;
  }
  .action-file > div:last-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
  }
  .action-file strong {
    font-size: 16px;
    max-width: 160px;
  }
  .action-file span {
    font-size: 16px;
    margin: 0;
  }
  .action-end {
    display: block;
  }
  .export-button {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
  }
  .action-icon,
  .export-arrow {
    display: none;
  }
  .canvas-caption {
    font-size: 16px;
  }
  .view-switch {
    width: 100%;
    justify-content: center;
  }
  .view-switch button {
    flex: 1;
    font-size: 16px;
  }
  .tools-directory-section > summary {
    font-size: 16px;
  }
  .publish-empty {
    min-height: 260px;
  }
  .toast {
    bottom: 134px;
  }
  .workspace-topbar .header-tool {
    min-width: 40px;
    padding: 8px;
  }
  .source-links {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .settings-card::after,
  .readiness-card::after {
    filter: none;
    opacity: .35;
  }
}
#reviewSettings {
  font-size: 16px;
  font-weight: 800;
  min-height: 44px;
}
.inspector {
  scroll-margin-top: 110px;
}
.workspace-wrapper {
  width: min(1440px, 100% - 80px);
}
.workspace-route {
  font-size: 16px;
  margin-block: 28px;
}
.session-chip {
  font-size: 14px;
  padding: 10px 16px;
  background: #070b05;
  border-color: #a6ff3822;
}
.workspace-topbar {
  min-height: 88px;
}
.workstation-badge {
  font-size: 16px;
}
.workspace-topbar .header-tool {
  min-height: 52px;
  font-size: 16px;
  padding: 12px 20px;
}
.workspace-heading {
  padding-block: 28px 40px;
  gap: 32px;
}
.workspace-heading h1 {
  font-size: clamp(40px, 4.3vw, 64px);
  line-height: 1.12;
  max-width: 1000px;
  margin-bottom: 20px;
}
.workspace-badge {
  font-size: 14px;
  margin-bottom: 20px;
  font-weight: 800;
}
.workspace-subtitle {
  font-size: 20px;
  max-width: 850px;
  line-height: 1.75;
  font-weight: 600;
}
.workspace-count {
  font-size: 16px;
  padding: 20px;
  max-width: 210px;
  white-space: normal;
  background: #030503;
}
.workspace-count > span:first-child {
  font-size: 40px;
  font-weight: 800;
}
.workbench {
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
}
.canvas-column {
  grid-column: 1;
  grid-row: 1;
  gap: 28px;
}
.readiness-card {
  grid-column: 2;
  grid-row: 1;
}
.inspector {
  grid-column: 1/-1;
  grid-row: 2;
}
.canvas-panel,
.inspector,
.readiness-card,
.metric-card,
.settings-card {
  background: var(--panel-bg);
  border-top-color: #ffffff4a;
  border-radius: 32px;
  box-shadow: var(--panel-shadow);
}
.canvas-toolbar {
  min-height: 82px;
  padding: 18px 24px;
  gap: 18px;
}
.canvas-file {
  font-size: 17px;
  font-weight: 800;
  gap: 12px;
}
.canvas-file > span:first-of-type {
  max-width: 340px;
}
.canvas-file svg {
  width: 23px;
  height: 23px;
}
.file-type {
  font-size: 13px;
  padding: 6px 9px;
  border-radius: 8px;
}
.replace-button {
  font-size: 16px;
  min-height: 50px;
  padding: 12px 18px;
}
.preview-stage {
  margin: 16px;
  border-radius: 22px;
  background:
    radial-gradient(
      ellipse at 30% 0,
      #a6ff3809,
      transparent 65%),
    #010301;
}
.dropzone {
  min-height: 480px;
  padding: 40px;
  justify-content: center;
}
.drop-copy {
  width: 76%;
}
.dropzone .eyebrow {
  font-size: 14px;
  line-height: 1.65;
}
.dropzone h2 {
  font-size: 44px;
  line-height: 1.12;
  max-width: 530px;
  margin-block: 20px;
}
.dropzone p {
  font-size: 18px;
  max-width: 450px;
  line-height: 1.8;
  margin-bottom: 28px;
}
.dropzone .primary-button {
  font-size: 18px;
  min-height: 60px;
  padding: 18px 28px;
}
.drop-art {
  opacity: .57;
  width: 70%;
  mask-image:
    linear-gradient(
      to left,
      #000,
      transparent);
  -webkit-mask-image:
    linear-gradient(
      to left,
      #000,
      transparent);
}
.drop-formats {
  font-size: 14px;
  gap: 12px;
  flex-wrap: wrap;
  line-height: 1.7;
}
.sample-button {
  font-size: 16px;
  min-height: 48px;
  padding: 12px 0;
}
.preview-area {
  padding: 24px;
}
.image-mat > img {
  max-height: 580px;
}
.canvas-bottom {
  padding: 16px 24px 24px;
  gap: 20px;
}
.canvas-caption {
  font-size: 14px;
}
.view-switch {
  padding: 6px;
  border-radius: 16px;
  gap: 4px;
}
.view-switch button {
  font-size: 16px;
  font-weight: 800;
  padding: 12px 18px;
  min-height: 52px;
}
.view-switch button.active {
  background: linear-gradient(#263322, #080e05);
  color: var(--accent);
}
.compare-control {
  font-size: 15px;
  gap: 18px;
  margin-top: 28px;
}
.compare-line > span {
  width: 44px;
  height: 44px;
}
.metrics-grid {
  gap: 20px;
}
.metric-card {
  padding: 24px;
  border-radius: 24px;
  min-height: 170px;
}
.metric-top {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}
.metric-top svg {
  width: 20px;
  height: 20px;
}
.metric-value {
  font-size: 40px;
  font-weight: 800;
  margin-top: 20px;
  line-height: 1.15;
}
.metric-value span {
  font-size: 16px;
  font-weight: 600;
}
.dimension-value {
  font-size: 27px;
  padding: 0;
  margin-top: 26px;
}
.metric-bottom {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 16px;
}
.readiness-card {
  padding: 32px;
  background:
    radial-gradient(
      ellipse at 30% 0,
      #a6ff3815,
      transparent 65%),
    var(--panel-bg);
}
.readiness-overview {
  display: block;
}
.readiness-overview h2 {
  font-size: 30px;
  margin-bottom: 16px;
  line-height: 1.18;
}
.readiness-overview .eyebrow {
  font-size: 14px;
}
#readinessScope {
  font-size: 16px;
  line-height: 1.8;
}
.readiness-number {
  margin-top: 28px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 20px;
}
#readinessValue {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -.055em;
  color: var(--accent);
  text-shadow: 0 0 35px #a6ff382e;
}
#readinessState {
  font-size: 15px;
  line-height: 1.6;
  max-width: 140px;
}
.readiness-track {
  height: 20px;
  margin-top: 24px;
  padding: 4px;
  background: #000;
}
.readiness-track > span {
  background:
    linear-gradient(
      #d2ff98,
      #a6ff38 55%,
      #67af15);
  box-shadow: inset 0 1px 0 #fff8, 0 0 18px #a6ff3855;
}
.assistant-next {
  display: block;
  padding-top: 28px;
}
.assistant-next strong {
  font-size: 20px;
  font-weight: 800;
}
.assistant-next p {
  font-size: 16px;
  line-height: 1.75;
  margin-top: 12px;
}
.assistant-next button {
  font-size: 16px;
  width: 100%;
  margin-top: 22px;
  min-height: 56px;
  padding: 14px;
}
.technical-details {
  margin-top: 28px;
  padding-top: 14px;
}
.technical-details summary {
  font-size: 16px;
  line-height: 1.65;
  min-height: 56px;
}
.technical-label {
  gap: 10px;
}
.technical-label svg {
  width: 20px;
  height: 20px;
}
.check-count {
  font-size: 15px;
}
.audit-row {
  font-size: 16px;
  flex-wrap: wrap;
  padding: 18px 6px;
  gap: 12px;
}
.audit-row strong {
  font-size: 14px;
}
.audit-row svg {
  width: 20px;
  height: 20px;
}
.score-method h3 {
  font-size: 20px;
}
.score-method p,
.source-links {
  font-size: 15px;
  line-height: 1.8;
}
.inspector {
  padding: 36px;
  scroll-margin-top: 130px;
}
.settings-board-heading {
  margin-bottom: 32px;
  gap: 32px;
}
.settings-board-heading h2 {
  font-size: 42px;
  line-height: 1.15;
}
.settings-board-heading .eyebrow {
  font-size: 14px;
}
.settings-board-heading > p {
  font-size: 18px;
  max-width: 380px;
  line-height: 1.7;
}
.inspector-tabs {
  padding: 8px;
  gap: 8px;
  margin-bottom: 36px;
  border-radius: 24px;
  background: #010301;
  box-shadow: var(--inset-shadow);
}
.inspector-tabs button {
  min-height: 112px;
  padding: 22px;
  gap: 16px;
  border-radius: 18px;
  align-items: center;
}
.inspector-tabs strong {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
}
.inspector-tabs small {
  font-size: 14px;
  margin-top: 6px;
  line-height: 1.5;
}
.tab-number {
  width: 42px;
  height: 42px;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}
.inspector-tabs button.active {
  background:
    radial-gradient(
      ellipse at 10% 0,
      #a6ff3820,
      transparent 75%),
    linear-gradient(#1b2517, #050a03);
  border-color: #a6ff3855;
  box-shadow: inset 0 1px 0 #ffffff35, 0 5px 8px #0009;
  color: var(--accent);
}
.inspector-tabs button.active .tab-number {
  background: linear-gradient(#d2ff98, #a6ff38);
  color: #101b05;
  box-shadow: 0 1px 0 #3d650e;
}
.inspector-tabs svg {
  width: 24px;
  height: 24px;
}
.panel-intro {
  margin-bottom: 28px;
  gap: 28px;
}
.panel-intro h2 {
  font-size: 30px;
}
.panel-intro p {
  font-size: 18px;
  line-height: 1.8;
}
.output-controls-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.settings-card {
  padding: 32px;
  border-radius: 28px;
  overflow: hidden;
}
.settings-card::after {
  right: 5%;
  background:
    radial-gradient(
      ellipse,
      #a6ff3815,
      transparent 75%);
}
.settings-card > h3 {
  font-size: 26px;
  margin-bottom: 32px;
  color: var(--text-primary);
}
.output-controls-grid > .settings-card:last-child {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 12px 36px;
}
.output-controls-grid > .settings-card:last-child > h3 {
  grid-column: 1/-1;
  margin-bottom: 16px;
}
.output-controls-grid > .settings-card:last-child .export-art {
  height: 175px;
  margin: 0;
}
.format-options {
  gap: 16px;
}
.format-card {
  padding: 22px 20px;
  border-radius: 18px;
  min-height: 115px;
  background: linear-gradient(#131713, #050705);
  box-shadow: var(--panel-shadow);
}
.format-card.selected {
  border-color: #a6ff3877;
  background:
    radial-gradient(
      ellipse at 0 0,
      #a6ff3817,
      transparent),
    linear-gradient(#1b2517, #050a03);
  box-shadow: inset 0 1px 0 #ffffff35, 0 4px 9px #000b;
}
.format-card-top {
  font-size: 23px;
}
.format-card small {
  font-size: 15px;
  line-height: 1.6;
  margin-top: 10px;
}
.format-card .radio-mark {
  width: 20px;
  height: 20px;
}
.field-heading,
.input-field label,
legend {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.6;
}
.field-heading output {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
}
.field-hint {
  font-size: 14px;
}
.field-hint svg {
  width: 17px;
  height: 17px;
}
.quality-ends {
  font-size: 15px;
  margin-top: 14px;
}
.quality-presets {
  gap: 10px;
  margin-top: 22px;
}
.quality-presets button {
  font-size: 16px;
  min-height: 54px;
  padding: 12px 14px;
  font-weight: 800;
  border-radius: 14px;
  background: linear-gradient(#1b2118, #060906);
  box-shadow: var(--panel-shadow);
}
.quality-presets button.active {
  color: var(--accent);
  border-color: #a6ff3855;
  background: linear-gradient(#263820, #080e05);
}
input[type=range] {
  height: 12px;
  margin-block: 22px;
  border-radius: 20px;
  box-shadow: var(--inset-shadow);
}
input[type=range]::-webkit-slider-thumb {
  width: 28px;
  height: 28px;
  background: linear-gradient(#edffd5, #a6ff38);
  border: 3px solid #486625;
  box-shadow: 0 3px 7px #000a, 0 0 14px #a6ff3833;
}
input[type=range]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: var(--accent);
  border: 3px solid #486625;
  box-shadow: 0 3px 7px #000a;
}
.input-field {
  margin-bottom: 24px;
}
.input-field label {
  margin-bottom: 12px;
}
.input-field input,
.input-field textarea,
.metadata-extra select {
  font-size: 18px;
  min-height: 60px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #010301;
  box-shadow: var(--inset-shadow);
  line-height: 1.6;
}
.input-field textarea {
  min-height: 160px;
}
.unit-input,
.icon-input,
.tag-box {
  border-color: #ffffff1c;
  background: #010301;
  border-radius: 16px;
  box-shadow: var(--inset-shadow);
}
.unit-input input,
.icon-input input {
  font-size: 19px;
  padding: 16px;
  min-height: 60px;
  background: transparent;
}
.unit-input span {
  font-size: 16px;
  padding-right: 18px;
}
.dimension-times {
  font-size: 24px;
}
.field-note,
.field-error {
  font-size: 16px;
  line-height: 1.8;
}
.optional,
.field-counter {
  font-size: 14px;
}
.switch-row {
  gap: 22px;
  margin-bottom: 24px;
  min-height: 64px;
}
.switch-row strong {
  font-size: 18px;
  line-height: 1.6;
}
.switch-row small {
  font-size: 16px;
  line-height: 1.75;
  margin-top: 6px;
}
.switch-track {
  width: 54px;
  height: 32px;
  border-radius: 20px;
  flex-shrink: 0;
  box-shadow: var(--inset-shadow);
  background: #010301;
}
.switch-track::before {
  width: 24px;
  height: 24px;
  top: 3px;
  left: 3px;
  background: linear-gradient(#b6bdb2, #596454);
  box-shadow: 0 2px 4px #000;
}
.switch-row input:checked + .switch-track {
  background: #223a0c;
  border-color: #a6ff3855;
}
.switch-row input:checked + .switch-track::before {
  transform: translateX(22px);
  background: linear-gradient(#d2ff98, #a6ff38);
}
.export-art {
  border-radius: 18px;
  background: #000;
}
.export-art img {
  opacity: 1;
}
.board-footer {
  margin-top: 32px;
  gap: 28px;
}
.board-footer .step-next {
  font-size: 17px;
  min-height: 58px;
  padding: 16px 24px;
  border-radius: 16px;
}
.board-footer .privacy-note {
  max-width: 600px;
}
.board-footer .privacy-note p {
  font-size: 16px;
  line-height: 1.8;
}
.board-footer .privacy-note svg {
  width: 22px;
  height: 22px;
}
.metadata-grid {
  grid-template-columns: 1fr 1.25fr;
  gap: 28px;
}
.rights-fields {
  gap: 18px 24px;
}
.rights-fields > summary {
  font-size: 25px;
  color: var(--text-primary);
  margin-bottom: 22px;
  line-height: 1.35;
}
.rights-fields .input-field label {
  font-size: 17px;
}
.rights-fields .icon-input input {
  font-size: 17px;
}
.rights-fields .field-note {
  font-size: 15px;
}
.metadata-extra > summary {
  font-size: 17px;
  line-height: 1.6;
}
.tag-box input {
  font-size: 18px;
}
.tag {
  font-size: 16px;
  padding: 8px 12px;
}
.rights-fields .input-field {
  margin-bottom: 18px;
}
.publish-grid {
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
}
.publish-checklist h3 {
  font-size: 23px;
}
.publish-checklist p {
  font-size: 17px;
}
.publish-empty {
  min-height: 420px;
  padding: 32px;
}
.publish-empty h3 {
  font-size: 30px;
}
.publish-empty p {
  font-size: 18px;
  max-width: 390px;
}
.code-glyph {
  width: 84px;
  height: 84px;
  color: var(--accent);
  border-color: #a6ff3844;
  background: linear-gradient(#1b2813, #030503);
  box-shadow: var(--panel-shadow);
}
.code-glyph svg {
  width: 36px;
  height: 36px;
}
#publishingCode {
  font-size: 15px;
  min-height: 420px;
  line-height: 1.8;
}
.code-heading {
  font-size: 15px;
}
#downloadPublishing {
  font-size: 17px;
}
.action-bar {
  padding: 22px 26px;
  border-radius: 26px;
  background:
    linear-gradient(
      150deg,
      #182014eb,
      #050805f5);
  border-top-color: #ffffff4a;
  box-shadow: var(--panel-shadow), 0 -10px 40px #000c;
  gap: 24px;
}
.action-file strong {
  font-size: 19px;
  font-weight: 800;
}
.action-file span {
  font-size: 15px;
  margin-top: 8px;
}
.action-icon {
  width: 56px;
  height: 56px;
  color: var(--accent);
  background: linear-gradient(#2b3a23, #050a03);
  box-shadow: var(--panel-shadow);
}
.export-button {
  font-size: 19px;
  min-width: 300px;
  min-height: 62px;
}
.export-button:disabled {
  box-shadow: inset 0 1px 0 #fff4, 0 1px 0 #304b13;
}
.notification-count {
  background: var(--accent);
  color: #101b05;
}
#reviewSettings {
  min-height: 56px;
  font-size: 17px;
  font-weight: 800;
}
.tools-directory-section > summary {
  font-size: 21px;
  padding-block: 28px;
}
.tool-catalog-card {
  background: var(--panel-bg);
  padding: 32px;
}
.tool-catalog-title {
  font-size: 30px;
}
.tool-catalog-desc,
.tool-features-list,
.tool-formats-box {
  font-size: 17px;
  line-height: 1.8;
}
.mode-focus-banner {
  background: #0a1106;
  border-color: #a6ff3826;
}
.mode-focus-tag,
.mode-focus-link {
  color: var(--accent);
  font-size: 16px;
}
.mode-focus-title {
  font-size: 32px;
}
.notification-item {
  font-size: 16px;
}
.toast {
  font-size: 17px;
  padding: 18px 24px;
}
.processing-overlay {
  background: #000c;
  backdrop-filter: blur(8px);
}
.processing-overlay p {
  font-size: 18px;
}
.batch-queue {
  padding: 24px;
  border-radius: 24px;
  background: var(--panel-bg);
  box-shadow: var(--panel-shadow);
}
.queue-heading {
  font-size: 17px;
}
.image-queue li {
  font-size: 16px;
  padding: 14px;
}
.queue-file-size {
  font-size: 14px;
}
#batchProgressText {
  font-size: 16px;
}
@media (max-width: 1200px) {
  .workspace-wrapper {
    width: calc(100% - 48px);
  }
  .workbench {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
  }
  .readiness-card {
    padding: 26px;
  }
  .readiness-overview h2 {
    font-size: 27px;
  }
  .dropzone {
    padding: 32px;
    min-height: 440px;
  }
  .dropzone h2 {
    font-size: 38px;
  }
  .drop-copy {
    width: 85%;
  }
  .metric-card {
    padding: 20px;
  }
  .metric-top {
    font-size: 14px;
  }
  .metric-value {
    font-size: 34px;
  }
  .dimension-value {
    font-size: 24px;
  }
  .inspector-tabs button {
    padding: 18px 14px;
    gap: 12px;
  }
  .inspector-tabs strong {
    font-size: 17px;
  }
  .inspector-tabs small {
    font-size: 14px;
  }
  .inspector-tabs svg {
    display: none;
  }
  .settings-card {
    padding: 28px;
  }
  .rights-fields {
    grid-template-columns: 1fr;
  }
  .metadata-grid {
    grid-template-columns: 1fr 1fr;
  }
  .workspace-count {
    display: none;
  }
}
@media (max-width: 1000px) {
  .workbench {
    grid-template-columns: 1fr;
  }
  .canvas-column {
    grid-column: 1;
    grid-row: 1;
  }
  .inspector {
    grid-column: 1;
    grid-row: 2;
  }
  .readiness-card {
    grid-column: 1;
    grid-row: 3;
  }
  .readiness-overview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
  .readiness-overview > div:first-child {
    max-width: 65%;
  }
  .readiness-number {
    margin: 0;
  }
  #readinessValue {
    font-size: 64px;
  }
  .readiness-overview h2 {
    font-size: 30px;
  }
  .assistant-next {
    display: flex;
    align-items: center;
    gap: 32px;
  }
  .assistant-next button {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }
  .workspace-heading h1 {
    font-size: 48px;
  }
  .dropzone {
    min-height: 470px;
  }
  .drop-copy {
    width: 75%;
  }
  .rights-fields {
    grid-template-columns: 1fr 1fr;
  }
  .metadata-grid {
    grid-template-columns: 1fr;
  }
  .settings-board-heading {
    display: block;
  }
  .settings-board-heading > p {
    max-width: 100%;
    font-size: 18px;
    margin-top: 16px;
  }
  .publish-grid {
    grid-template-columns: 1fr;
  }
  .inspector {
    padding: 28px;
  }
  .action-file strong {
    font-size: 17px;
  }
  .export-button {
    min-width: 260px;
    font-size: 18px;
  }
}
@media (max-width: 650px) {
  .workspace-wrapper {
    width: calc(100% - 32px);
  }
  .workspace-topbar {
    min-height: 76px;
    gap: 12px;
  }
  .workstation-badge {
    font-size: 14px;
  }
  .workspace-topbar .header-tool {
    min-width: 48px;
    min-height: 48px;
    padding: 10px;
    font-size: 15px;
  }
  .workspace-route {
    font-size: 15px;
    gap: 12px;
    margin-block: 24px;
  }
  .session-chip {
    margin-left: 0;
    font-size: 13px;
  }
  .workspace-heading {
    padding: 12px 0 28px;
  }
  .workspace-heading h1 {
    font-size: 39px;
    line-height: 1.14;
  }
  .workspace-subtitle {
    font-size: 18px;
  }
  .workspace-badge {
    font-size: 13px;
  }
  .workbench {
    gap: 28px;
  }
  .canvas-panel {
    border-radius: 28px;
  }
  .canvas-toolbar {
    padding: 16px;
    min-height: 76px;
    gap: 12px;
  }
  .canvas-file {
    font-size: 15px;
    gap: 8px;
  }
  .canvas-file > span:first-of-type {
    max-width: 150px;
  }
  .canvas-file svg {
    width: 20px;
  }
  .replace-button {
    font-size: 14px;
    padding: 11px 13px;
    min-height: 48px;
  }
  .preview-stage {
    margin: 10px;
    border-radius: 18px;
  }
  .dropzone {
    min-height: 540px;
    padding: 28px 22px;
    justify-content: end;
  }
  .drop-copy {
    width: 100%;
    padding-top: 140px;
  }
  .drop-art {
    width: 100%;
    height: 100%;
    opacity: .7;
    mask-image:
      linear-gradient(
        to bottom,
        #000,
        transparent 75%);
    -webkit-mask-image:
      linear-gradient(
        to bottom,
        #000,
        transparent 75%);
  }
  .dropzone h2 {
    font-size: 35px;
    max-width: 340px;
    margin: 16px 0;
  }
  .dropzone .eyebrow {
    font-size: 13px;
  }
  .dropzone p {
    font-size: 17px;
    max-width: 340px;
    margin-bottom: 24px;
  }
  .dropzone .primary-button {
    width: 100%;
    font-size: 18px;
    min-height: 60px;
    padding: 18px;
  }
  .sample-button {
    font-size: 16px;
  }
  .drop-formats {
    font-size: 13px;
    gap: 10px;
  }
  .canvas-caption {
    font-size: 13px;
  }
  .canvas-bottom {
    padding: 14px 16px 22px;
  }
  .view-switch {
    width: 100%;
  }
  .view-switch button {
    font-size: 15px;
    padding: 12px 8px;
    flex: 1;
  }
  .compare-control {
    font-size: 14px;
    gap: 12px;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .metric-card {
    position: relative;
    padding: 24px;
    min-height: 140px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px 20px;
    align-items: center;
  }
  .metric-top {
    font-size: 17px;
  }
  .metric-top svg {
    display: none;
  }
  .metric-value {
    grid-row: 1/3;
    grid-column: 2;
    font-size: 36px;
    margin: 0;
  }
  .metric-value span {
    font-size: 15px;
    display: inline;
    margin-left: 4px;
  }
  .dimension-value {
    font-size: 25px;
    margin: 0;
    padding: 0;
  }
  .metric-bottom {
    margin: 0;
    font-size: 15px;
  }
  .inspector {
    padding: 24px 16px;
    border-radius: 28px;
    scroll-margin-top: 110px;
  }
  .settings-board-heading {
    padding-inline: 6px;
    margin-bottom: 28px;
  }
  .settings-board-heading h2 {
    font-size: 33px;
  }
  .settings-board-heading .eyebrow {
    font-size: 13px;
  }
  .settings-board-heading > p {
    font-size: 17px;
    line-height: 1.75;
  }
  .inspector-tabs {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px;
    border-radius: 22px;
    margin-bottom: 28px;
  }
  .inspector-tabs button {
    min-height: 86px;
    flex-direction: row;
    align-items: center;
    padding: 16px;
    gap: 16px;
    border-radius: 15px;
  }
  .inspector-tabs strong {
    font-size: 19px;
    white-space: normal;
  }
  .inspector-tabs small {
    display: block;
    font-size: 14px;
  }
  .tab-number {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
  .panel-intro {
    display: block;
    padding: 0 6px;
    margin-bottom: 26px;
  }
  .panel-intro h2 {
    font-size: 28px;
    margin-bottom: 14px;
  }
  .panel-intro p {
    font-size: 17px;
  }
  .output-controls-grid,
  .metadata-grid,
  .publish-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .settings-card {
    padding: 26px 20px;
    border-radius: 24px;
  }
  .output-controls-grid > .settings-card:last-child {
    grid-column: auto;
    display: block;
  }
  .output-controls-grid > .settings-card:last-child .export-art {
    height: 160px;
    margin-top: 24px;
  }
  .settings-card > h3 {
    font-size: 25px;
    margin-bottom: 28px;
  }
  .format-card {
    padding: 18px 13px;
    min-height: 112px;
  }
  .format-card-top {
    font-size: 22px;
  }
  .format-card small {
    font-size: 14px;
  }
  .format-options {
    gap: 12px;
  }
  .field-heading,
  .input-field label,
  legend {
    font-size: 17px;
  }
  .field-hint {
    font-size: 13px;
  }
  .quality-presets {
    gap: 8px;
    flex-wrap: wrap;
  }
  .quality-presets button {
    font-size: 15px;
    min-height: 52px;
    padding: 12px;
    flex: 1;
  }
  .quality-ends {
    font-size: 14px;
  }
  .input-field input,
  .input-field textarea,
  .metadata-extra select,
  .unit-input input,
  .icon-input input {
    font-size: 18px;
    min-height: 60px;
  }
  .dimensions-fields {
    gap: 10px;
  }
  .unit-input input {
    padding-inline: 12px;
  }
  .unit-input span {
    padding-right: 12px;
    font-size: 14px;
  }
  .switch-row strong {
    font-size: 17px;
  }
  .switch-row small {
    font-size: 16px;
  }
  .field-note {
    font-size: 16px;
  }
  .board-footer .step-next {
    width: 100%;
    font-size: 17px;
    min-height: 60px;
  }
  .board-footer .privacy-note p {
    font-size: 15px;
  }
  .rights-fields {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .rights-fields > summary {
    font-size: 25px;
  }
  .rights-fields .input-field label {
    font-size: 17px;
  }
  .rights-fields .icon-input input {
    font-size: 16px;
  }
  .rights-fields .field-note {
    font-size: 15px;
  }
  .publish-empty {
    min-height: 330px;
    padding: 20px;
  }
  .publish-empty h3 {
    font-size: 27px;
  }
  .publish-empty p {
    font-size: 17px;
  }
  #publishingCode {
    font-size: 14px;
    min-height: 350px;
  }
  .readiness-card {
    padding: 28px;
    border-radius: 28px;
  }
  .readiness-overview {
    display: block;
  }
  .readiness-overview > div:first-child {
    max-width: 100%;
  }
  .readiness-overview h2 {
    font-size: 30px;
  }
  .readiness-number {
    margin-top: 24px;
    justify-content: space-between;
  }
  #readinessValue {
    font-size: 70px;
  }
  #readinessScope {
    font-size: 17px;
  }
  #readinessState {
    font-size: 15px;
  }
  .assistant-next {
    display: block;
  }
  .assistant-next strong {
    font-size: 21px;
  }
  .assistant-next p {
    font-size: 17px;
  }
  .assistant-next button {
    width: 100%;
    margin-top: 20px;
  }
  .technical-details summary {
    font-size: 16px;
  }
  .source-links {
    font-size: 15px;
  }
  .action-bar {
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 24px;
    gap: 16px;
    margin-top: 28px;
  }
  .action-file > div:last-child {
    display: block;
    min-width: 0;
  }
  .action-file strong {
    font-size: 17px;
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
  }
  .action-file span {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 6px;
  }
  .action-icon {
    display: none;
  }
  .action-end {
    display: block;
  }
  .export-button {
    width: 100%;
    min-width: 0;
    min-height: 62px;
    font-size: 18px;
  }
  .tools-directory-section > summary {
    font-size: 19px;
  }
  .tool-catalog-title {
    font-size: 28px;
  }
  .tool-catalog-desc,
  .tool-features-list,
  .tool-formats-box {
    font-size: 17px;
  }
  .toast {
    bottom: 180px;
    font-size: 16px;
    max-width: calc(100% - 32px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .readiness-track > span {
    transition: none;
  }
  .quick-tools > a:hover {
    transform: none;
  }
}
.app-shell:not([data-has-image=true]) .action-bar {
  position: static;
}
.workspace-heading > div:first-child {
  max-width: 1100px;
  min-width: 0;
}
.workspace-heading h1 {
  max-width: 1100px;
}
.workspace-heading {
  padding-top: 28px;
}
.workspace-badge {
  display: flex;
  color: var(--accent);
}
@media (max-width: 650px) {
  .workspace-heading {
    padding-top: 24px;
  }
  .workspace-heading h1 {
    font-size: 39px;
  }
  .workspace-topbar {
    margin-bottom: 8px;
  }
}
.inspector-tabs button:not(.active) {
  background:
    linear-gradient(
      155deg,
      #141814,
      #030503);
  border-top-color: #ffffff35;
  box-shadow: inset 0 1px 0 #ffffff0e, 0 3px 6px #0009;
}
.field-heading {
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 360px) {
  .format-options,
  .quality-presets,
  .dimensions-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .format-card {
    width: 100%;
    min-width: 0;
  }
  .quality-presets button {
    width: 100%;
    min-height: 52px;
  }
  .dimension-times {
    display: none;
  }
  .metric-card {
    display: block;
  }
  .metric-value,
  .dimension-value {
    margin-top: 18px;
  }
  .metric-bottom {
    margin-top: 14px;
  }
  .export-button {
    padding-inline: 12px;
  }
  .export-icon {
    display: none;
  }
  .inspector-tabs button {
    min-width: 0;
  }
  .inspector-tabs small {
    overflow-wrap: anywhere;
  }
}
.workspace-wrapper {
  width: min(1360px, 100% - 64px);
}
.workspace-topbar {
  min-height: 72px;
}
.workstation-badge {
  font-size: 14px;
}
.workspace-topbar .header-tool {
  font-size: 14px;
  min-height: 46px;
  padding: 11px 16px;
}
.workspace-heading {
  padding-block: 24px 32px;
  gap: 24px;
}
.workspace-heading h1 {
  font-size: clamp(36px, 3.6vw, 50px);
  margin-bottom: 16px;
}
.workspace-badge {
  font-size: 11px;
  margin-bottom: 16px;
}
.workspace-subtitle {
  font-size: 17px;
  max-width: 760px;
}
.workspace-count {
  font-size: 13px;
  padding: 16px;
  max-width: 180px;
}
.workspace-count > span:first-child {
  font-size: 32px;
}
.workbench {
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 26px;
}
.canvas-column {
  gap: 22px;
}
.canvas-toolbar {
  min-height: 70px;
  padding: 14px 20px;
}
.canvas-file {
  font-size: 15px;
}
.canvas-file svg {
  width: 20px;
  height: 20px;
}
.replace-button {
  font-size: 14px;
  min-height: 44px;
  padding: 10px 16px;
}
.file-type {
  font-size: 11px;
}
.dropzone {
  min-height: 420px;
  padding: 32px;
}
.dropzone h2 {
  font-size: 38px;
  max-width: 470px;
}
.dropzone .eyebrow {
  font-size: 11px;
}
.dropzone p {
  font-size: 16px;
  max-width: 400px;
}
.dropzone .primary-button {
  font-size: 17px;
  min-height: 56px;
  padding: 16px 26px;
}
.drop-formats {
  font-size: 12px;
}
.sample-button {
  font-size: 14px;
  min-height: 44px;
}
.canvas-caption {
  font-size: 12px;
}
.canvas-bottom {
  padding: 14px 20px 20px;
}
.view-switch button {
  font-size: 14px;
  min-height: 46px;
  padding: 10px 16px;
}
.metrics-grid {
  gap: 16px;
}
.metric-card {
  padding: 20px;
  min-height: 145px;
  border-radius: 22px;
}
.metric-top {
  font-size: 13px;
}
.metric-value {
  font-size: 36px;
  margin-top: 16px;
}
.metric-value span {
  font-size: 13px;
}
.dimension-value {
  font-size: 25px;
  margin-top: 22px;
}
.metric-bottom {
  font-size: 12px;
  margin-top: 12px;
}
.readiness-card {
  padding: 26px;
}
.readiness-overview h2 {
  font-size: 25px;
  margin-bottom: 12px;
}
.readiness-overview .eyebrow {
  font-size: 11px;
}
#readinessScope {
  font-size: 14px;
}
#readinessValue {
  font-size: 62px;
}
#readinessState {
  font-size: 13px;
  max-width: 120px;
}
.readiness-number {
  gap: 16px;
  margin-top: 24px;
}
.readiness-track {
  height: 16px;
  padding: 3px;
  margin-top: 20px;
}
.assistant-next {
  padding-top: 24px;
}
.assistant-next strong {
  font-size: 18px;
}
.assistant-next p {
  font-size: 14px;
}
.assistant-next button {
  font-size: 14px;
  min-height: 48px;
  margin-top: 18px;
  padding: 12px;
}
.technical-details summary {
  font-size: 14px;
  min-height: 48px;
}
.technical-label svg {
  width: 18px;
  height: 18px;
}
.check-count {
  font-size: 13px;
}
.audit-row {
  font-size: 14px;
  padding: 14px 6px;
}
.audit-row strong {
  font-size: 12px;
}
.score-method h3 {
  font-size: 18px;
}
.score-method p,
.source-links {
  font-size: 13px;
}
.inspector {
  padding: 30px;
}
.settings-board-heading {
  margin-bottom: 26px;
}
.settings-board-heading h2 {
  font-size: 34px;
}
.settings-board-heading .eyebrow {
  font-size: 11px;
}
.settings-board-heading > p {
  font-size: 16px;
  max-width: 360px;
}
.inspector-tabs {
  margin-bottom: 30px;
}
.inspector-tabs button {
  min-height: 90px;
  padding: 18px;
  gap: 14px;
}
.inspector-tabs strong {
  font-size: 17px;
}
.inspector-tabs small {
  font-size: 12px;
  margin-top: 5px;
}
.tab-number {
  width: 34px;
  height: 34px;
  font-size: 13px;
}
.tab-label-short {
  display: none;
}
.panel-intro {
  margin-bottom: 24px;
}
.panel-intro h2 {
  font-size: 26px;
}
.panel-intro p {
  font-size: 16px;
}
.output-controls-grid,
.metadata-grid,
.publish-grid {
  gap: 24px;
}
.settings-card {
  padding: 28px;
  border-radius: 26px;
}
.settings-card > h3 {
  font-size: 22px;
  margin-bottom: 26px;
}
.format-card {
  padding: 18px;
  min-height: 100px;
}
.format-card-top {
  font-size: 20px;
}
.format-card small {
  font-size: 13px;
}
.format-card .radio-mark {
  width: 17px;
  height: 17px;
}
.field-heading,
.input-field label,
legend {
  font-size: 15px;
}
.field-heading output {
  font-size: 24px;
}
.field-hint {
  font-size: 12px;
}
.quality-ends {
  font-size: 13px;
}
.quality-presets button {
  font-size: 14px;
  min-height: 46px;
  padding: 10px 12px;
}
.quality-presets {
  margin-top: 18px;
}
.input-field {
  margin-bottom: 22px;
}
.input-field label {
  margin-bottom: 10px;
}
.input-field input,
.input-field textarea,
.metadata-extra select {
  font-size: 16px;
  min-height: 52px;
  padding: 14px 16px;
}
.input-field textarea {
  min-height: 145px;
}
.unit-input input,
.icon-input input {
  font-size: 17px;
  min-height: 52px;
  padding: 14px;
}
.unit-input span {
  font-size: 13px;
}
.field-note,
.field-error {
  font-size: 14px;
}
.optional,
.field-counter {
  font-size: 12px;
}
.switch-row {
  gap: 18px;
  margin-bottom: 20px;
  min-height: 58px;
}
.switch-row strong {
  font-size: 16px;
}
.switch-row small {
  font-size: 14px;
}
.switch-track {
  width: 48px;
  height: 28px;
}
.switch-track::before {
  width: 20px;
  height: 20px;
}
.switch-row input:checked + .switch-track::before {
  transform: translateX(20px);
}
.board-footer {
  margin-top: 26px;
  gap: 24px;
}
.board-footer .step-next {
  font-size: 15px;
  min-height: 50px;
  padding: 14px 20px;
}
.board-footer .privacy-note p {
  font-size: 14px;
}
.rights-fields > summary {
  font-size: 22px;
  margin-bottom: 18px;
}
.rights-fields .input-field label {
  font-size: 15px;
}
.rights-fields .icon-input input {
  font-size: 15px;
}
.rights-fields .field-note {
  font-size: 13px;
}
.metadata-extra > summary {
  font-size: 15px;
}
.tag-box input {
  font-size: 16px;
}
.tag {
  font-size: 14px;
}
.publish-empty h3 {
  font-size: 26px;
}
.publish-empty p {
  font-size: 16px;
}
.publish-empty {
  min-height: 360px;
}
.publish-checklist h3 {
  font-size: 20px;
}
.publish-checklist p {
  font-size: 15px;
}
#publishingCode {
  font-size: 14px;
  min-height: 360px;
}
.code-heading {
  font-size: 12px;
}
#downloadPublishing {
  font-size: 15px;
}
.action-bar {
  padding: 18px 22px;
  gap: 20px;
}
.action-file strong {
  font-size: 17px;
}
.action-file span {
  font-size: 13px;
}
.action-icon {
  width: 48px;
  height: 48px;
}
.export-button {
  font-size: 17px;
  min-width: 260px;
  min-height: 56px;
}
.tools-directory-section > summary {
  font-size: 18px;
}
.tool-catalog-title {
  font-size: 26px;
}
.tool-catalog-desc,
.tool-features-list,
.tool-formats-box {
  font-size: 15px;
}
.tool-catalog-card {
  padding: 26px;
}
#reviewSettings {
  font-size: 15px;
  min-height: 48px;
}
.toast {
  font-size: 15px;
  padding: 16px 20px;
}
@media (max-width: 1100px) {
  .workbench {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 22px;
  }
  .workspace-wrapper {
    width: calc(100% - 40px);
  }
  .dropzone h2 {
    font-size: 34px;
  }
  .readiness-overview h2 {
    font-size: 23px;
  }
  .readiness-card {
    padding: 24px;
  }
  .inspector-tabs button {
    padding: 16px 12px;
  }
  .inspector-tabs strong {
    font-size: 15px;
  }
  .metric-card {
    padding: 18px;
  }
  .metric-value {
    font-size: 32px;
  }
  .dimension-value {
    font-size: 22px;
  }
}
@media (max-width: 1000px) {
  .workbench {
    grid-template-columns: 1fr;
  }
  .workspace-heading h1 {
    font-size: 42px;
  }
  .canvas-column {
    grid-column: 1;
    grid-row: 1;
  }
  .inspector {
    grid-column: 1;
    grid-row: 2;
  }
  .readiness-card {
    grid-column: 1;
    grid-row: 3;
  }
  .readiness-overview {
    display: flex;
  }
  .readiness-number {
    margin: 0;
  }
  .readiness-overview h2 {
    font-size: 26px;
  }
  .dropzone {
    min-height: 430px;
  }
  .drop-copy {
    width: 75%;
  }
  .assistant-next {
    display: flex;
  }
  .assistant-next button {
    margin: 0;
    min-width: 180px;
  }
  .metadata-grid {
    grid-template-columns: 1fr;
  }
  .publish-grid {
    grid-template-columns: 1fr;
  }
  .settings-board-heading > p {
    max-width: none;
  }
  .action-file strong {
    font-size: 16px;
  }
  .export-button {
    min-width: 230px;
    font-size: 16px;
  }
}
@media (max-width: 650px) {
  .workspace-wrapper {
    width: calc(100% - 28px);
  }
  .workspace-topbar {
    min-height: 66px;
    margin-bottom: 4px;
  }
  .workstation-badge {
    font-size: 12px;
  }
  .workspace-topbar .header-tool {
    min-height: 44px;
    min-width: 44px;
    padding: 9px;
  }
  .workspace-heading {
    padding: 22px 0 28px;
  }
  .workspace-heading h1 {
    font-size: 34px;
    line-height: 1.15;
  }
  .workspace-subtitle {
    font-size: 16px;
  }
  .workspace-badge {
    font-size: 10px;
    margin-bottom: 14px;
  }
  .workbench {
    gap: 24px;
  }
  .canvas-toolbar {
    padding: 12px 16px;
    min-height: 66px;
  }
  .canvas-file {
    font-size: 14px;
  }
  .canvas-file > span:first-of-type {
    max-width: 145px;
  }
  .replace-button {
    font-size: 13px;
    min-height: 44px;
    padding: 10px;
  }
  .dropzone {
    min-height: 470px;
    padding: 26px 20px;
  }
  .drop-copy {
    width: 100%;
    padding-top: 110px;
  }
  .dropzone h2 {
    font-size: 32px;
    line-height: 1.14;
  }
  .dropzone .eyebrow {
    font-size: 11px;
  }
  .dropzone p {
    font-size: 15px;
    line-height: 1.85;
  }
  .dropzone .primary-button {
    font-size: 17px;
    min-height: 56px;
  }
  .sample-button {
    font-size: 14px;
  }
  .drop-formats {
    font-size: 11px;
  }
  .canvas-caption {
    font-size: 11px;
  }
  .canvas-bottom {
    padding: 12px 16px 18px;
  }
  .view-switch button {
    font-size: 13px;
    padding: 10px 8px;
    min-height: 44px;
  }
  .compare-control {
    font-size: 12px;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .metric-card {
    display: block;
    padding: 20px;
    min-height: 130px;
  }
  .metric-top {
    font-size: 13px;
  }
  .metric-value {
    font-size: 32px;
    margin-top: 16px;
    display: block;
  }
  .metric-value span {
    font-size: 12px;
  }
  .metric-bottom {
    font-size: 12px;
    margin-top: 10px;
  }
  .size-metric {
    grid-column: 1;
    grid-row: 1;
  }
  .savings-metric {
    grid-column: 2;
    grid-row: 1;
  }
  .metric-card:not(.size-metric):not(.savings-metric) {
    grid-column: 1/-1;
    grid-row: 2;
    min-height: 105px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 20px;
    align-items: center;
  }
  .dimension-value {
    font-size: 25px;
    margin: 0;
    grid-column: 2;
    grid-row: 1/3;
  }
  .metric-card:not(.size-metric):not(.savings-metric) .metric-bottom {
    margin: 0;
  }
  .inspector {
    padding: 24px 14px;
    border-radius: 26px;
  }
  .settings-board-heading {
    margin-bottom: 24px;
  }
  .settings-board-heading h2 {
    font-size: 28px;
  }
  .settings-board-heading .eyebrow {
    font-size: 10px;
  }
  .settings-board-heading > p {
    font-size: 15px;
  }
  .inspector-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
    border-radius: 19px;
  }
  .inspector-tabs button {
    padding: 14px 8px;
    min-height: 92px;
    flex-direction: column;
    gap: 10px;
    align-items: start;
    border-radius: 13px;
  }
  .tab-number {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
  .inspector-tabs strong {
    font-size: 14px;
  }
  .inspector-tabs small {
    display: none;
  }
  .tab-label-full {
    display: none;
  }
  .tab-label-short {
    display: inline;
  }
  .panel-intro {
    padding-inline: 6px;
    margin-bottom: 24px;
  }
  .panel-intro h2 {
    font-size: 25px;
  }
  .panel-intro p {
    font-size: 15px;
  }
  .settings-card {
    padding: 24px 20px;
    border-radius: 23px;
  }
  .settings-card > h3 {
    font-size: 22px;
    margin-bottom: 24px;
  }
  .output-controls-grid,
  .metadata-grid,
  .publish-grid {
    gap: 22px;
  }
  .format-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .format-card {
    padding: 17px 13px;
    min-height: 100px;
  }
  .format-card-top {
    font-size: 20px;
  }
  .format-card small {
    font-size: 12px;
  }
  .field-heading,
  .input-field label,
  legend {
    font-size: 15px;
  }
  .quality-presets {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .quality-presets button {
    font-size: 12px;
    min-height: 46px;
    padding: 10px 8px;
  }
  .field-hint {
    font-size: 12px;
  }
  .quality-ends {
    font-size: 12px;
  }
  .input-field input,
  .input-field textarea,
  .metadata-extra select,
  .unit-input input,
  .icon-input input {
    font-size: 16px;
    min-height: 52px;
  }
  .field-note {
    font-size: 14px;
  }
  .switch-row strong {
    font-size: 15px;
  }
  .switch-row small {
    font-size: 14px;
  }
  .rights-fields > summary {
    font-size: 22px;
  }
  .rights-fields .input-field label {
    font-size: 15px;
  }
  .rights-fields .icon-input input {
    font-size: 15px;
  }
  .rights-fields .field-note {
    font-size: 13px;
  }
  .board-footer .step-next {
    font-size: 15px;
    min-height: 52px;
  }
  .board-footer .privacy-note p {
    font-size: 13px;
  }
  .readiness-overview {
    display: block;
  }
  .readiness-overview h2 {
    font-size: 26px;
  }
  #readinessScope {
    font-size: 15px;
  }
  .readiness-number {
    margin-top: 22px;
  }
  #readinessValue {
    font-size: 60px;
  }
  #readinessState {
    font-size: 13px;
  }
  .assistant-next {
    display: block;
  }
  .assistant-next strong {
    font-size: 18px;
  }
  .assistant-next p {
    font-size: 15px;
  }
  .assistant-next button {
    width: 100%;
    margin-top: 18px;
    min-height: 48px;
  }
  .technical-details summary {
    font-size: 14px;
  }
  .source-links {
    font-size: 13px;
  }
  .publish-empty h3 {
    font-size: 25px;
  }
  .publish-empty p {
    font-size: 15px;
  }
  .publish-empty {
    min-height: 310px;
  }
  #publishingCode {
    font-size: 13px;
    min-height: 340px;
  }
  .action-bar {
    padding: 14px 16px;
    border-radius: 23px;
    gap: 12px;
    bottom: 10px;
  }
  .action-file strong {
    font-size: 15px;
  }
  .action-file span {
    font-size: 12px;
    line-height: 1.7;
    margin-top: 5px;
  }
  .export-button {
    min-height: 56px;
    font-size: 16px;
    width: 100%;
    min-width: 0;
  }
  .tools-directory-section > summary {
    font-size: 16px;
  }
  .tool-catalog-title {
    font-size: 24px;
  }
  .tool-catalog-desc,
  .tool-features-list,
  .tool-formats-box {
    font-size: 15px;
  }
  .toast {
    font-size: 14px;
    bottom: 155px;
  }
}
@media (max-width: 360px) {
  .quality-presets {
    grid-template-columns: 1fr;
  }
  .format-options {
    grid-template-columns: 1fr;
  }
  .metric-card {
    padding: 16px;
  }
  .metric-value {
    font-size: 29px;
  }
  .dimension-value {
    font-size: 23px;
  }
  .metric-card:not(.size-metric):not(.savings-metric) {
    display: block;
  }
  .metric-card:not(.size-metric):not(.savings-metric) .metric-bottom {
    margin-top: 10px;
  }
  .dimension-value {
    margin-top: 14px;
  }
  .inspector-tabs strong {
    font-size: 13px;
  }
  .workspace-heading h1 {
    font-size: 32px;
  }
}
@media (max-width: 650px) {
  .rights-fields .icon-input input {
    font-size: 16px;
  }
}

/* Workspace clarity: primary writing task stays beside the image. */
.workbench {
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
  gap: 24px;
  align-items: start;
}
.canvas-column { grid-column: 1; grid-row: 1; gap: 16px; }
.workflow-heading { display: flex; align-items: center; gap: 14px; min-width: 0; }
.workflow-number {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  height: 42px;
  border: 1px solid #a6ff3866;
  border-top-color: #d2ff9880;
  border-radius: 13px;
  background: linear-gradient(145deg, #26371a, #11180d);
  box-shadow: inset 0 1px 1px #ffffff17, 0 2px 0 -1px #ffffff0c;
  color: var(--accent);
  font-size: 19px;
  font-weight: 800;
}
.workflow-heading h2 { margin: 0; font-size: 25px; line-height: 1.3; font-weight: 800; }
.workflow-heading p { margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: #bdc5b9; }
.image-description-card {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding: 26px;
  border: 1px solid #49553e;
  border-top-color: #758568;
  border-radius: 28px;
  background: radial-gradient(ellipse at 100% 0, #a6ff3810, transparent 55%), #0c100c;
  box-shadow: var(--panel-shadow);
  scroll-margin-top: 105px;
}
.image-description-card::after { display: none; }
.description-availability {
  margin: 16px 0;
  padding: 0;
  border: 0;
  color: #d8dfd3;
  background: none;
  font-size: 13px;
  line-height: 1.6;
}
.app-shell[data-has-image=true] .description-availability {
  color: #d2ff98;
}
.description-fields { border: 0; margin: 0; padding: 0; min-width: 0; }
.image-description-card .input-field { margin-bottom: 20px; }
.image-description-card .input-field label { font-size: 16px; color: #f4f4f5; }
.image-description-card textarea { min-height: 142px; line-height: 1.7; resize: vertical; }
.image-description-card .field-note { font-size: 13px; line-height: 1.7; margin-top: 10px; color: #bbc5b5; }
.image-description-card .decorative-switch { gap: 12px; margin: 14px 0 0; min-height: 44px; }
.image-description-card .decorative-switch strong { font-size: 13px; font-weight: 700; }
.image-description-card .decorative-switch small { font-size: 12px; line-height: 1.5; }
.image-description-card .switch-track { width: 40px; height: 24px; }
.image-description-card .switch-track::before { width: 16px; height: 16px; }
.image-description-card input:checked + .switch-track::before { transform: translateX(14px); }
.image-description-card .metadata-extra { margin: 16px 0 0; padding-top: 14px; }
.image-description-card .metadata-extra > summary { font-size: 14px; min-height: 32px; color: #e7eae3; }
.image-description-card .examples-details button { font-size: 14px; min-height: 44px; }
.description-next { width: 100%; min-height: 48px; margin-top: 20px; font-size: 14px; }
.image-description-card svg { width: 18px; height: 18px; flex-shrink: 0; }
.inspector { grid-column: 1 / -1; grid-row: 2; padding: 28px; scroll-margin-top: 100px; }
.settings-board-heading { margin-bottom: 24px; }
.settings-board-heading .workflow-heading h2 { font-size: 27px; }
.settings-board-heading .workflow-heading p { max-width: none; font-size: 15px; }
.inspector-tabs { background: #050705; border-color: #ffffff1c; padding: 6px; gap: 6px; }
.inspector-tabs button {
  min-height: 72px;
  padding: 14px 18px;
  justify-content: space-between;
  background: #171b15;
  border-color: #ffffff22;
  color: #c5cebf;
}
.inspector-tabs button.active { background: #25351b; border-color: #a6ff3890; box-shadow: inset 0 1px 0 #d2ff9833; }
.inspector-tabs button.active strong { color: #d2ff98; }
.inspector-tabs strong { font-size: 16px; }
.inspector-tabs small { font-size: 12px; color: #bcc5b6; }
.panel-intro h2 { font-size: 22px; }
.panel-intro p { font-size: 14px; line-height: 1.7; color: #c2c9bc; }
.inspector .settings-card { background: #0e120e; border-color: #ffffff1c; padding: 24px; border-radius: 20px; box-shadow: inset 0 1px 0 #ffffff0b; }
.inspector .settings-card::after { display: none; }
.settings-card > h3 { color: #f4f4f5; font-size: 20px; }
.input-field label, .field-heading, legend { color: #f4f4f5; font-weight: 700; }
.input-field input, .input-field textarea, .metadata-extra select, .tag-box, .unit-input, .icon-input {
  color: #f4f4f5;
  background: #20271e;
  border: 1px solid #58654f;
  border-radius: 12px;
  box-shadow: inset 0 2px 4px #0006, 0 1px 0 #ffffff08;
}
.input-field input, .input-field textarea, .metadata-extra select { font-size: 16px; }
.input-field input::placeholder, .input-field textarea::placeholder { color: #b2bdaa; opacity: 1; }
.unit-input input, .icon-input input, .tag-box input { border: 0; background: transparent; box-shadow: none; }
.unit-input span, .icon-input svg { color: #c4cebc; }
.input-field input:hover:not(:disabled), .input-field textarea:hover:not(:disabled), .metadata-extra select:hover { border-color: #839571; }
.input-field input:focus-visible, .input-field textarea:focus-visible, .metadata-extra select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-color: #a6ff38;
  background: #242e1e;
}
.unit-input:focus-within, .icon-input:focus-within, .tag-box:focus-within { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 3px; }
.unit-input input:focus-visible, .icon-input input:focus-visible, .tag-box input:focus-visible { outline: none; background: transparent; }
.input-field input[aria-invalid=true], .icon-input:has(input[aria-invalid=true]) { border-color: #ff9e9e; }
.field-error { color: #ffb1b1; }
.description-fields:disabled input, .description-fields:disabled textarea, .description-fields:disabled select { cursor: not-allowed; background: #191e17; border-color: #394232; color: #adb6a5; opacity: 1; }
.description-fields:disabled .text-button { opacity: .45; cursor: not-allowed; }
.description-fields:disabled .switch-track { opacity: .45; }
.description-fields:disabled label { color: #bec7b6; }
.description-fields:disabled textarea::placeholder { color: #9ca792; }
.format-card { background: #1a2017; border-color: #4f5b45; min-height: 86px; padding: 16px; }
.format-card.selected { background: #293b1c; border-color: #a6ff38; box-shadow: inset 0 1px 0 #d2ff9833; }
.format-card.selected .format-card-top { color: #d2ff98; }
.quality-presets { background: #050705; }
.quality-presets button { color: #c5cebd; }
.quality-presets button.active { background: #29371e; border-color: #a6ff3866; color: #d2ff98; }
.output-controls-grid > .settings-card:last-child { display: block; }
.export-art { display: none; }
.metadata-grid { grid-template-columns: 1fr; }
.readiness-card { grid-column: 1 / -1; grid-row: 3; min-height: 0; padding: 24px; background: #0c100c; border-color: #ffffff22; }
.readiness-overview { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.readiness-number { margin: 0; display: flex; align-items: center; gap: 14px; }
.readiness-number output { font-size: 38px; }
.readiness-overview h2 { font-size: 22px; }
.readiness-overview .eyebrow { display: none; }
.readiness-track { height: 8px; margin-block: 16px; }
.assistant-next { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.assistant-next strong { font-size: 17px; }
.assistant-next p, #readinessScope { font-size: 13px; line-height: 1.7; }
.assistant-next button { margin: 0; min-width: 180px; min-height: 46px; font-size: 14px; }
.technical-details { margin-top: 16px; }
#getWebsiteCode { min-height: 48px; font-size: 14px; }
.app-shell[data-tool-mode=compress] .image-description-card,
.app-shell[data-tool-mode=resize] .image-description-card { display: none; }
.app-shell[data-tool-mode=compress] .canvas-column,
.app-shell[data-tool-mode=resize] .canvas-column { grid-column: 1 / -1; }
.app-shell[data-tool-mode=compress] .workflow-number,
.app-shell[data-tool-mode=resize] .workflow-number { display: none; }
@media (min-width: 961px) {
  .dropzone { min-height: 330px; padding: 28px; }
  .dropzone h2 { font-size: 32px; }
  .drop-copy { width: 85%; }
  .canvas-toolbar { min-height: 60px; }
  .preview-area { min-height: 330px; height: auto; padding: 18px; }
  .image-mat > img { max-height: 330px; }
  .metrics-grid { gap: 12px; }
  .metric-card { padding: 16px; min-height: 125px; }
  .metric-value { font-size: 32px; }
  .dimension-value { font-size: 22px; }
}
@media (max-width: 960px) {
  .workbench { grid-template-columns: 1fr; gap: 24px; }
  .image-description-card { grid-column: 1; grid-row: 2; }
  .inspector { grid-column: 1; grid-row: 3; }
  .readiness-card { grid-column: 1; grid-row: 4; }
  .dropzone { min-height: 330px; }
  .app-shell[data-tool-mode=compress] .inspector,
  .app-shell[data-tool-mode=resize] .inspector { grid-row: 2; }
}
@media (max-width: 650px) {
  .workspace-heading { margin-bottom: 20px; padding: 12px 0 16px; }
  .workspace-heading h1 { font-size: 33px; line-height: 1.2; }
  .workspace-subtitle { font-size: 15px; line-height: 1.7; }
  .workspace-count { display: none; }
  .workflow-heading { gap: 12px; }
  .workflow-heading h2, .settings-board-heading .workflow-heading h2 { font-size: 22px; }
  .workflow-heading p, .settings-board-heading .workflow-heading p { font-size: 13px; }
  .workflow-number { flex-basis: 36px; height: 36px; font-size: 17px; border-radius: 11px; }
  .canvas-toolbar { min-height: 58px; padding: 12px; }
  .canvas-file { font-size: 13px; gap: 8px; }
  .canvas-file svg { width: 18px; height: 18px; }
  .canvas-file > span:first-of-type { max-width: 130px; }
  .file-type { display: none; }
  .preview-tools { gap: 6px; }
  .replace-button { padding: 8px; font-size: 12px; min-height: 44px; }
  .replace-button svg { display: none; }
  .preview-stage { margin: 10px; border-radius: 18px; }
  .dropzone { padding: 22px 18px; min-height: 330px; }
  .dropzone h2 { font-size: 29px; }
  .dropzone p { font-size: 14px; line-height: 1.7; }
  .drop-copy { width: 100%; padding-top: 0; }
  .drop-art { opacity: .35; }
  .dropzone .eyebrow { font-size: 10px; }
  .dropzone .primary-button { min-height: 52px; font-size: 16px; }
  .canvas-bottom { gap: 10px; }
  .preview-area { min-height: 240px; height: auto; padding: 12px; }
  .image-mat > img { max-height: 280px; }
  .image-description-card { padding: 20px; border-radius: 24px; }
  .image-description-card .input-field label { font-size: 15px; }
  .image-description-card textarea { min-height: 150px; }
  .image-description-card .decorative-switch { gap: 8px; }
  .description-availability { margin-block: 16px; }
  .inspector { padding: 20px 16px; border-radius: 24px; }
  .settings-board-heading { margin-bottom: 20px; }
  .inspector-tabs { gap: 4px; padding: 4px; border-radius: 14px; margin-bottom: 20px; }
  .inspector-tabs button { min-height: 48px; padding: 10px 4px; border-radius: 10px; justify-content: center; }
  .inspector-tabs strong { font-size: 13px; }
  .inspector-tabs button > svg { display: none; }
  .inspector .settings-card { padding: 18px 14px; border-radius: 16px; }
  .panel-intro h2 { font-size: 21px; }
  .format-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .format-card { min-height: 84px; padding: 12px; }
  .format-card-top { font-size: 19px; }
  .format-card small { font-size: 11px; }
  .quality-presets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quality-presets button { font-size: 12px; padding: 8px 2px; min-height: 44px; }
  .dimensions-fields { gap: 5px; grid-template-columns: minmax(0, 1fr) 10px minmax(0, 1fr); }
  .dimensions-fields label { font-size: 13px; }
  .unit-input input { padding: 12px 8px; font-size: 16px; }
  .unit-input span { padding-right: 8px; font-size: 12px; }
  .switch-row small, .field-note { font-size: 13px; }
  .readiness-card { padding: 20px; }
  .readiness-overview { align-items: flex-start; }
  .readiness-overview h2 { font-size: 20px; }
  .readiness-number { display: block; text-align: right; }
  .readiness-number output { font-size: 32px; }
  .readiness-number > span { font-size: 11px; }
  .assistant-next { display: block; }
  .assistant-next button { margin-top: 12px; width: 100%; }
  .action-bar { padding: 12px; gap: 10px; bottom: 8px; }
  .action-file { width: 100%; }
  .action-file > div:last-child { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; }
  .action-file strong { font-size: 12px; max-width: 65%; }
  .action-file span { font-size: 11px; margin: 0; }
  .action-end { display: grid; grid-template-columns: 1fr; gap: 8px; width: 100%; }
  .action-end:has(#getWebsiteCode:not([hidden])) { grid-template-columns: 1fr 1fr; }
  .export-button { min-width: 0; min-height: 48px; font-size: 14px; padding: 12px 8px; }
  #getWebsiteCode { width: 100%; min-width: 0; min-height: 48px; font-size: 12px; padding: 10px 6px; gap: 6px; }
  #getWebsiteCode svg { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .image-description-card, .description-fields input, .description-fields textarea { transition: none; }
}
