:root {
  --red: #b01720;
  --red-dark: #7d1017;
  --ink: #202124;
  --muted: #73767c;
  --line: #ddd9d2;
  --paper: #f4f2ee;
  --white: #fff;
  --gold: #c6a36c;
  --green: #1d7659;
  font-family: "Source Sans 3", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 1080px;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
}
.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 34px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}
.brand {
  width: 310px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--red);
  color: #fff4e4;
  font: 900 13px Georgia;
}
.brand strong,
.brand small {
  display: block;
}
.brand strong {
  font:
    800 15px Georgia,
    "Songti SC",
    serif;
}
.brand small {
  margin-top: 3px;
  color: #a38b6e;
  font: 8px Georgia;
  letter-spacing: 0.16em;
}
.app-header nav {
  height: 100%;
  display: flex;
  gap: 28px;
}
.app-header nav a {
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #74767a;
  font-size: 13px;
  font-weight: 700;
}
.app-header nav a.is-active {
  color: var(--red);
}
.app-header nav a.is-active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--red);
}
.new-material {
  margin-left: auto;
  padding: 11px 16px;
  border-radius: 7px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}
.app-main {
  max-width: 1460px;
  margin: 0 auto;
  padding: 38px 42px 80px;
}
.page-loading,
.not-found {
  padding: 100px;
  text-align: center;
  color: var(--muted);
}
.page-head,
.workspace-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}
.page-head > div > span,
.workspace-head > div > span {
  color: var(--red);
  font: 800 9px Georgia;
  letter-spacing: 0.18em;
}
.page-head h1,
.workspace-head h1 {
  margin: 7px 0 8px;
  font:
    900 36px/1 Georgia,
    "Songti SC",
    serif;
}
.page-head p,
.workspace-head p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.button.primary {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}
.button.secondary {
  background: #fff;
  color: var(--ink);
}
.button.full {
  width: 100%;
  margin-top: 10px;
}
.button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.summary-strip article {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 20px 24px;
}
.summary-strip article + article {
  border-left: 1px solid var(--line);
}
.summary-strip b {
  font: 900 30px Georgia;
}
.summary-strip span {
  color: var(--muted);
  font-size: 11px;
}
.task-list-section {
  margin-top: 34px;
}
.list-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.list-title h2 {
  margin: 0;
  font:
    800 20px Georgia,
    "Songti SC",
    serif;
}
.filter-row {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.filter-row button {
  padding: 7px 12px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #777;
  font-size: 10px;
  cursor: pointer;
}
.filter-row button.is-active {
  background: #292b2e;
  color: #fff;
}
.task-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.task-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 180px 30px;
  align-items: center;
  gap: 18px;
  padding: 15px 19px;
  text-decoration: none;
  transition: 0.16s;
}
.task-row + .task-row {
  border-top: 1px solid #ebe8e2;
}
.task-row:hover {
  background: #faf7f2;
}
.task-thumb {
  width: 112px;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(135deg, #781018, #bd2830);
  color: #eed8b7;
  display: grid;
  place-items: center;
  text-align: center;
  font: 800 9px Georgia;
  letter-spacing: 0.12em;
}
.task-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.task-main {
  min-width: 0;
}
.task-main small {
  color: #a18362;
  font-size: 9px;
}
.task-main h3 {
  margin: 5px 0;
  font-size: 14px;
}
.task-main p {
  margin: 0;
  color: #777;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.task-state {
  text-align: right;
}
.task-state span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: var(--red);
}
.task-state span[data-status="delivered"] {
  color: var(--green);
}
.task-state small {
  display: block;
  margin-top: 6px;
  color: #999;
  font-size: 9px;
}
.arrow {
  color: var(--red);
}
.empty-list {
  padding: 70px;
  text-align: center;
  color: #999;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  transition: 0.18s;
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(36, 28, 24, 0.1);
}
.project-visual {
  position: relative;
  height: 240px;
  padding: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, #d14845 0, transparent 34%),
    linear-gradient(130deg, #671017, #aa1721);
}
.project-visual > span {
  color: #dcb989;
  font: 9px Georgia;
  letter-spacing: 0.2em;
}
.project-visual strong,
.project-visual small {
  display: block;
}
.project-visual strong {
  margin-top: 45px;
  font:
    900 38px Georgia,
    "Songti SC",
    serif;
}
.project-visual small {
  margin-top: 8px;
  color: #e5cdb2;
}
.swatches {
  position: absolute;
  left: 28px;
  bottom: 24px;
  display: flex;
  gap: 6px;
}
.swatches i {
  width: 38px;
  height: 5px;
  border-radius: 3px;
}
.project-card-copy {
  padding: 18px;
}
.project-card-copy b,
.project-card-copy span {
  display: block;
}
.project-card-copy b {
  font-size: 12px;
}
.project-card-copy span {
  margin-top: 6px;
  color: #888;
  font-size: 9px;
}
.project-card-copy em {
  display: block;
  margin-top: 16px;
  color: var(--red);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}
.workspace-head {
  align-items: flex-start;
}
.workspace-head > a {
  padding-top: 7px;
  color: #777;
  text-decoration: none;
  font-size: 10px;
}
.workspace-head > div {
  flex: 1;
}
.workspace-status {
  padding: 8px 10px;
  border-radius: 5px;
  background: #f6e4e5;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
}
.project-workspace,
.new-task-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
}
.panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}
.panel > header {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}
.panel > header > b {
  color: #cbb38f;
  font: 900 21px Georgia;
}
.panel h2 {
  margin: 0;
  font:
    800 17px Georgia,
    "Songti SC",
    serif;
}
.panel header p {
  margin: 4px 0 0;
  color: #888;
  font-size: 9px;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.field-grid label,
.form-panel > label,
.two-fields label {
  display: block;
}
.field-grid label.wide {
  grid-column: 1/-1;
}
.field-grid span,
.form-panel label > span,
.two-fields label > span {
  display: block;
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 750;
}
.field-grid input,
.field-grid textarea,
.palette-editor input,
.form-panel textarea,
.form-panel input,
.form-panel select,
.action-panel textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #d0ccc5;
  border-radius: 6px;
  background: #fbfaf8;
  outline: none;
  font-size: 11px;
}
.field-grid textarea,
.form-panel textarea,
.action-panel textarea {
  resize: vertical;
  line-height: 1.6;
}
.field-grid input:focus,
.field-grid textarea:focus,
.palette-editor input:focus,
.form-panel textarea:focus,
.action-panel textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px #f9e8e9;
}
.logo-editor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.logo-editor article {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px;
  border: 1px solid #e5e0d8;
  border-radius: 8px;
  background: #faf9f6;
}
.logo-editor img {
  width: 150px;
  height: 75px;
  object-fit: contain;
  background: #fff;
}
.logo-editor b,
.logo-editor small {
  display: block;
}
.logo-editor b {
  font-size: 11px;
}
.logo-editor small {
  margin-top: 4px;
  color: #888;
  font-size: 8px;
}
.upload {
  position: relative;
  display: inline-flex;
  margin-top: 9px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--red);
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}
.upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.palette-editor {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.palette-editor label {
  padding: 10px;
  border: 1px solid #e5e0d8;
  border-radius: 7px;
}
.palette-editor i {
  display: block;
  height: 38px;
  border-radius: 5px;
}
.palette-editor span {
  display: block;
  margin: 8px 0 5px;
  font-size: 9px;
  font-weight: 800;
}
.palette-editor input {
  font: 10px monospace;
}
.evidence-card {
  padding: 15px;
  border-left: 3px solid var(--gold);
  background: #faf5eb;
}
.evidence-card strong,
.evidence-card span {
  display: block;
}
.evidence-card strong {
  font-size: 11px;
}
.evidence-card span {
  margin-top: 5px;
  color: #786c5c;
  font-size: 9px;
}
.sticky-actions {
  position: sticky;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 35px rgba(25, 20, 18, 0.12);
  backdrop-filter: blur(8px);
}
.sticky-actions span {
  margin-right: auto;
  color: var(--red);
  font-size: 10px;
}
.new-task-layout {
  grid-template-columns: minmax(0, 1fr) 330px;
}
.new-task-layout .sticky-actions {
  grid-column: 1/-1;
}
.form-panel {
  display: grid;
  gap: 18px;
}
.selected-project,
.selected-material {
  padding: 13px;
  border: 1px solid #ddd7cf;
  border-radius: 7px;
  background: #faf9f6;
}
.selected-project b,
.selected-project small,
.selected-material b,
.selected-material small {
  display: block;
}
.selected-project small,
.selected-material small {
  margin-top: 4px;
  color: #888;
  font-size: 9px;
}
.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.task-context {
  align-self: start;
  padding: 24px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, #731017, #a91821);
}
.task-context > span {
  color: #e2c297;
  font: 800 9px Georgia;
  letter-spacing: 0.15em;
}
.task-context ul {
  margin: 20px 0;
  padding-left: 18px;
}
.task-context li {
  margin: 12px 0;
  font-size: 11px;
}
.task-context p {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #d9bfc0;
  font-size: 9px;
  line-height: 1.7;
}
.task-workspace-head {
  align-items: center;
}
.progress-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 28px 0 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}
.progress-steps div {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 16px;
  color: #aaa;
  font-size: 10px;
}
.progress-steps div + div {
  border-left: 1px solid var(--line);
}
.progress-steps i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #eee;
  font-size: 9px;
  font-style: normal;
}
.progress-steps .done {
  color: var(--green);
}
.progress-steps .done i {
  background: #e0f0ea;
}
.progress-steps .current {
  color: var(--red);
  font-weight: 800;
}
.progress-steps .current i {
  background: var(--red);
  color: #fff;
}
.task-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
}
.artifact-panel {
  overflow: visible;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #e8e6e2;
  display: grid;
  place-items: center;
}
.artifact-panel img {
  width: 100%;
  height: 100%;
  max-height: 720px;
  object-fit: contain;
}
.artifact-empty {
  text-align: center;
  color: #999;
}
.artifact-empty span {
  font: 900 30px Georgia;
}
.artifact-empty p {
  font-size: 10px;
}
.action-panel {
  align-self: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}
.action-panel > span {
  color: var(--red);
  font: 800 9px Georgia;
  letter-spacing: 0.16em;
}
.action-panel h2 {
  margin: 8px 0;
  font:
    800 22px Georgia,
    "Songti SC",
    serif;
}
.action-panel p {
  color: #777;
  font-size: 10px;
  line-height: 1.7;
}
.action-stack {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}
.export-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 9px;
  padding-top: 9px;
  border-top: 1px solid #eee;
}
.export-controls label > span {
  display: block;
  margin-bottom: 6px;
  color: #777;
  font-size: 9px;
  font-weight: 750;
}
.export-controls select {
  width: 100%;
  min-height: 38px;
  padding: 8px 30px 8px 10px;
  border: 1px solid #d0ccc5;
  border-radius: 6px;
  background: #fbfaf8;
}
.task-record {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}
.task-record header {
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.task-record h2 {
  margin: 0;
  font-size: 16px;
}
.task-record header span {
  color: #999;
  font-size: 9px;
}
.task-record dl {
  margin: 16px 0 0;
}
.task-record dl div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 9px 0;
  border-top: 1px solid #eee;
  font-size: 10px;
}
.task-record dt {
  color: #888;
}
.task-record dd {
  margin: 0;
}
.evidence-links {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}
.evidence-links a {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  text-decoration: none;
  font-size: 9px;
}
.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 26px;
  padding: 10px 14px;
  border-radius: 6px;
  background: #242629;
  color: #fff;
  font-size: 10px;
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: 0.2s;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 1200px) {
  .app-main {
    padding-left: 28px;
    padding-right: 28px;
  }
  .task-workspace,
  .new-task-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
  }
  .task-row {
    grid-template-columns: 100px minmax(0, 1fr) 160px 25px;
  }
}

/* Make the operational UI comfortably legible at normal desktop viewing distance. */
.app-header { height: 80px; }
.brand strong { font-size: 17px; }
.brand small { font-size: 9px; }
.app-header nav a { font-size: 14px; }
.new-material { padding: 12px 18px; font-size: 13px; }
.app-main { max-width: 1600px; padding-top: 44px; }
.page-head h1, .workspace-head h1 { font-size: 42px; }
.page-head p, .workspace-head p { font-size: 14px; }
.button { padding: 12px 17px; font-size: 13px; }
.summary-strip article { padding: 24px 28px; }
.summary-strip b { font-size: 36px; }
.summary-strip span { font-size: 13px; }
.list-title h2 { font-size: 23px; }
.filter-row button { font-size: 12px; }
.task-row { grid-template-columns: 132px minmax(0, 1fr) 205px 30px; gap: 20px; padding: 18px 22px; }
.task-thumb { width: 132px; font-size: 10px; }
.task-main small { font-size: 11px; }
.task-main h3 { font-size: 17px; }
.task-main p { font-size: 12px; }
.task-state span { font-size: 12px; }
.task-state small { font-size: 11px; }
.panel { padding: 30px; }
.panel h2 { font-size: 21px; }
.panel header p { font-size: 11px; }
.field-grid span, .form-panel label > span, .two-fields label > span { font-size: 12px; }
.field-grid input, .field-grid textarea, .palette-editor input, .form-panel textarea, .form-panel input, .form-panel select, .action-panel textarea { padding: 12px; font-size: 14px; }
.selected-project small, .selected-material small, .task-context > small { font-size: 11px; }
.task-context { padding: 30px; }
.task-context li { font-size: 13px; }
.workspace-status { padding: 10px 12px; font-size: 12px; }
.progress-steps div { padding: 15px 18px; font-size: 12px; }
.progress-steps i { width: 26px; height: 26px; font-size: 10px; }
.task-workspace { grid-template-columns: minmax(0, 1fr) 370px; gap: 22px; }
.action-panel { padding: 28px; }
.action-panel h2 { font-size: 26px; }
.action-panel p { font-size: 12px; }
.action-panel label > span { font-size: 11px; }
.action-panel label > small { font-size: 10px; }
.task-record { padding: 26px; }
.task-record h2 { font-size: 19px; }
.task-record header span, .task-record dl div { font-size: 12px; }

/* New-material page: one dominant decision, secondary setup on demand. */
.new-material-hero { align-items: end; padding: 12px 0 8px; }
.new-material-hero h1 { max-width: none; font-size: clamp(48px, 4.4vw, 66px); letter-spacing: -.055em; }
.new-material-hero p { max-width: 620px; font-size: 16px; }
.new-task-focus { grid-template-columns: minmax(0, 1fr) 390px; gap: 28px; margin-top: 36px; }
.new-task-focus .form-panel { gap: 24px; padding: 38px 42px 34px; border-color: #d8d0c6; box-shadow: 0 18px 48px rgba(48, 27, 20, .05); }
.new-task-focus .panel > header { align-items: baseline; margin-bottom: 2px; }
.new-task-focus .panel > header > b { font-size: 28px; }
.new-task-focus .panel h2 { font-size: 28px; letter-spacing: -.025em; }
.new-task-focus .panel header p { font-size: 13px; }
.focus-project { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 12px; padding: 16px 18px; background: #f7f3ed; }
.focus-project > span { grid-column: 1; color: var(--red); font-size: 11px; font-weight: 800; }
.focus-project b { grid-column: 2; font-size: 19px; }
.focus-project small { grid-column: 2; margin-top: 4px; font-size: 12px; }
.brief-focus > span { margin-bottom: 10px !important; color: #272325; font-size: 15px !important; }
.brief-focus textarea { min-height: 218px; padding: 22px !important; border: 2px solid #cfc5b8 !important; border-radius: 12px !important; background: #fffdf9 !important; font-size: 19px !important; line-height: 1.65 !important; }
.brief-focus textarea::placeholder { color: #9a948c; }
.brief-focus textarea:focus { border-color: var(--red) !important; box-shadow: 0 0 0 5px #f9e8e9 !important; }
.brief-focus small { display: block; margin-top: 9px; color: #77706a; font-size: 12px; }
.material-intent-card { display: grid; gap: 16px; margin-top: 8px; padding: 25px; border: 1px solid #c9b9aa; border-radius: 14px; background: linear-gradient(145deg, #fffaf4, #fff); box-shadow: 0 14px 32px rgba(67, 42, 30, .07); }
.material-intent-card > header span { color: var(--red); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.material-intent-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 7px 0 8px; }
.material-intent-title h3 { margin: 0; color: #272325; font-size: 28px; }
.material-intent-title b { padding: 5px 9px; border-radius: 999px; background: #f2e9df; color: #6f5d50; font-size: 12px; }
.material-intent-card > header p { max-width: 680px; margin: 0; color: #625a54; font-size: 14px; line-height: 1.65; }
.material-ratio-picker { margin: 0; padding: 17px 0 0; border: 0; border-top: 1px solid #e3dbd3; }
.material-ratio-picker legend { padding: 0; color: #302a27; font-size: 15px; font-weight: 800; }
.material-ratio-picker > small { display: block; margin: 5px 0 13px; color: #7b736c; font-size: 12px; }
.material-ratio-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.material-ratio-options.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; }
.material-ratio-option { position: relative; cursor: pointer; }
.material-ratio-option > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.material-ratio-option > span { display: grid; grid-template-columns: 70px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 118px; padding: 14px; border: 1px solid #d8d0c8; border-radius: 10px; background: #fffdf9; transition: border-color .15s, box-shadow .15s, background .15s, transform .15s; }
.material-ratio-option:hover > span { transform: translateY(-1px); border-color: #b9a89b; }
.material-ratio-option > input:checked + span { border-color: var(--red); background: #fff7f5; box-shadow: 0 0 0 2px rgba(156, 37, 43, .13); }
.material-ratio-option > input:focus-visible + span { outline: 3px solid rgba(156, 37, 43, .24); outline-offset: 2px; }
.material-ratio-shape { display: block; justify-self: center; border: 2px solid #9b252b; border-radius: 3px; background: linear-gradient(145deg, #f6ded9, #fff9f3); box-shadow: inset 0 0 0 4px #fffaf5; }
.material-ratio-shape.is-landscape { width: 66px; }
.material-ratio-shape.is-portrait { height: 64px; }
.material-ratio-copy { display: grid; align-content: center; gap: 4px; min-width: 0; }
.material-ratio-copy b { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; color: #302a27; font-size: 13px; }
.material-ratio-copy em { padding: 2px 5px; border-radius: 999px; background: #9b252b; color: #fff; font-size: 9px; font-style: normal; letter-spacing: .04em; }
.material-ratio-copy strong { color: var(--red); font-size: 20px; letter-spacing: -.03em; }
.material-ratio-copy small { color: #756d66; font-size: 11px; line-height: 1.45; }
@media (max-width: 640px) {
  .material-ratio-options { grid-template-columns: 1fr; }
  .material-ratio-option > span { min-height: 100px; }
}
.selected-material { display: grid; gap: 4px; padding: 15px 17px; border: 1px solid #e1d8cf; border-radius: 8px; background: #faf6f1; }
.selected-material span, .selected-material small { color: #756c66; font-size: 12px; }
.selected-material b { color: #302a27; font-size: 16px; }
.production-settings { overflow: hidden; border: 1px solid #e2d9cf; border-radius: 11px; background: #fbfaf8; }
.production-settings summary { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 12px; padding: 18px 20px; cursor: pointer; list-style: none; }
.production-settings summary::-webkit-details-marker { display: none; }
.production-settings summary::after { content: "＋"; justify-self: end; color: var(--red); font-size: 23px; line-height: 1; }
.production-settings[open] summary::after { content: "−"; }
.production-settings summary b { font-size: 15px; }
.production-settings summary span { color: #7c756e; font-size: 12px; }
.production-settings-content { padding: 0 20px 20px; border-top: 1px solid #e8e1d8; }
.production-settings-content .format-box { margin: 18px 0; }
.new-task-context { position: sticky; top: 104px; padding: 34px 32px; border: 1px solid #8c1720; border-radius: 15px; background: linear-gradient(155deg, #951620, #6e1018); box-shadow: 0 18px 45px rgba(114, 16, 24, .18); }
.new-task-context > span { font-size: 11px; }
.new-task-context ul { margin: 24px 0; }
.new-task-context li { margin: 16px 0; font-size: 15px; line-height: 1.45; }
.new-task-context small { font-size: 12px; }
.new-task-actions { min-height: 86px; padding: 16px 20px; }
.new-task-actions span { font-size: 13px; }
.new-task-actions span b { margin-right: 7px; font-size: 15px; }
.new-task-actions .button.primary { min-width: 230px; padding: 16px 23px; font-size: 16px; }
@media (max-width: 1200px) { .new-task-focus { grid-template-columns: minmax(0, 1fr) 320px; } }

/* Shared page hierarchy beyond the new-material flow. */
.workspace-head > a { font-size: 13px; font-weight: 750; }
.workspace-head > div > span { font-size: 11px; }
.workspace-status { font-size: 13px; }
.project-workspace .panel > header > b { font-size: 26px; }
.logo-editor b, .palette-editor span, .evidence-card strong { font-size: 13px; }
.logo-editor small, .project-card-copy span, .evidence-card span { font-size: 12px; }
.upload { padding: 8px 10px; font-size: 12px; }
.palette-editor input { font-size: 13px; }
.asset-upload-actions .button { font-size: 13px; }
.sticky-actions { min-height: 70px; padding: 15px 20px; }
.sticky-actions span { font-size: 13px; }
.task-record dl div { grid-template-columns: 130px 1fr; padding: 12px 0; }
.evidence-links a { padding: 9px 11px; font-size: 12px; }
.toast { padding: 13px 18px; font-size: 13px; }
