.bench-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.bench-btn {
  background: var(--orange);
  color: #fff;
  border: 0;
  border-bottom: 5px solid #7d3418;
  padding: 13px 19px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
}

.bench-btn small {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.85;
}

.bench-btn.ghost {
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--steel);
  border-bottom-width: 5px;
}

.bench-btn.small {
  padding: 8px 12px;
  font-size: 12px;
  min-height: 36px;
}

.task-card {
  background: var(--white);
  border-top: 8px solid var(--orange);
  padding: 26px 28px;
  box-shadow: var(--shadow);
}

.task-id {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--orange);
}

.task-card h2 {
  font: 700 clamp(30px, 4vw, 46px) / 1.2 Georgia, serif;
  margin: 12px 0 10px;
}

.task-card > p {
  color: var(--steel);
  margin: 0 0 14px;
}

.task-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.task-card li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  line-height: 1.55;
}

.bench-note {
  margin-top: 22px;
  border: 3px solid var(--green);
  padding: 14px 18px;
  background: var(--white);
}

.bench-note span {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
}

.bench-note p {
  margin: 6px 0 0;
  color: var(--steel);
}

.empty-panel {
  background: var(--white);
  border-top: 7px solid var(--yellow);
  padding: 30px;
  box-shadow: var(--shadow);
  margin: 20px 0;
}

.empty-panel span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #8a6a10;
}

.empty-panel h2 {
  font: 700 32px Georgia, serif;
  margin: 10px 0;
}

.empty-panel p {
  color: var(--steel);
}

.inputs-panel {
  background: var(--white);
  box-shadow: var(--shadow);
  border-top: 6px solid var(--blue);
}

.inputs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.inputs-list li {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.inputs-list li.confirmed {
  border-left: 8px solid var(--green);
}

.inputs-list li.pending {
  border-left: 8px solid var(--red);
}

.input-state {
  font-size: 11px;
  font-weight: 700;
}

.inputs-list li.confirmed .input-state {
  color: var(--green);
}

.inputs-list li.pending .input-state {
  color: var(--red);
}

.inputs-list b {
  font-size: 17px;
}

.step-ledger {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  border-top: 6px solid var(--blue);
}

.step-ledger li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.step-ledger li > .step-no {
  font: 700 30px Georgia, serif;
  color: #a09a90;
}

.step-ledger li div {
  display: grid;
  gap: 6px;
}

.step-ledger li b {
  font-size: 20px;
}

.step-ledger li small {
  font-size: 12px;
  color: var(--steel);
}

.step-ledger li.done {
  border-left: 8px solid var(--green);
}

.step-ledger li.current {
  border-left: 8px solid var(--orange);
  background: #f7ede5;
}

.step-badge {
  justify-self: start;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
}

.step-ledger li.done .step-badge {
  background: var(--green);
  color: #fff;
}

.step-ledger li.current .step-badge {
  background: var(--orange);
  color: #fff;
}

.stop-board {
  background: #25292c;
  color: #fff;
  padding: 24px;
  box-shadow: var(--shadow);
}

.stop-board h3 {
  letter-spacing: 0.15em;
  color: #efb48f;
  margin: 0 0 4px;
}

.stop-board > div {
  border-top: 1px solid #686f73;
  padding: 18px 0;
}

.stop-board span {
  font-size: 11px;
  color: #f4ce5f;
  font-weight: 700;
}

.stop-board p {
  line-height: 1.5;
}

.quote-rack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.quote-card {
  margin: 0;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.quote-card img {
  width: 100%;
  display: block;
}

.quote-card figcaption {
  font-size: 11px;
  color: var(--steel);
  padding: 8px 10px;
  border-top: 1px solid var(--line);
}

.evidence-bottom {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  margin-top: 20px;
}

.evidence-bottom > img {
  width: 100%;
  background: #fff;
  box-shadow: var(--shadow);
}

.flag-stack {
  display: grid;
  gap: 12px;
}

.flag {
  background: var(--white);
  border-top: 7px solid var(--red);
  border-left: 7px solid var(--red);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.flag span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red);
}

.flag p {
  margin: 8px 0 0;
  line-height: 1.6;
}

.flag-conflict {
  border-color: var(--yellow);
}

.flag-conflict > span {
  color: #8a6a10;
}

.flag-exception,
.flag-missing {
  border-color: var(--red);
}

.flag-stop {
  border-color: var(--steel);
}

.flag-stop > span {
  color: var(--steel);
}

.flag-ok {
  border-color: var(--green);
}

.flag-ok > span {
  color: var(--green);
}

.exception-strip {
  margin-top: 22px;
  border-top: 2px solid var(--ink);
  padding-top: 12px;
}

.exception-strip h3 {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--steel);
}

.exception-strip .flag {
  margin-top: 10px;
}

.draft-paper {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 28px;
  max-width: 860px;
}

.draft-paper h3 {
  font: 700 32px Georgia, serif;
  margin: 0 0 14px;
}

.draft-paper .draft-text {
  font-size: 19px;
  font-weight: 700;
}

.draft-paper .draft-note {
  color: var(--steel);
  line-height: 1.6;
}

.draft-disclaimer {
  margin-top: 18px;
  border-left: 6px solid var(--yellow);
  padding: 12px 14px;
  background: #f6efdf;
  color: var(--steel);
  line-height: 1.55;
}

.approval-panel {
  max-width: 720px;
}

.approval-seal {
  margin-top: 18px;
  border: 4px solid var(--red);
  padding: 13px;
  text-align: center;
  font-weight: 800;
  color: var(--red);
}

.skill-output {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
}

.skill-output > img {
  width: 100%;
}

.verified-authority {
  display: grid;
  gap: 12px;
}

.verified-authority-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green);
}

.verified-authority strong {
  font: 700 26px Georgia, serif;
}

.verified-authority dl {
  margin: 0;
  border-top: 2px solid var(--ink);
}

.verified-authority dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.verified-authority dt {
  font-size: 11px;
  color: var(--steel);
}

.verified-authority dd {
  margin: 0;
  font-weight: 700;
}

.skill-exceptions,
.version-history {
  background: var(--white);
  border-left: 7px solid var(--yellow);
  padding: 18px 22px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}

.skill-exceptions h3,
.version-history h3 {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--steel);
  margin: 0 0 10px;
}

.skill-exceptions ul,
.version-history ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skill-exceptions li,
.version-history li {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  line-height: 1.5;
}

.skill-exceptions li span {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
}

.version-history li b {
  font-size: 16px;
}

.version-history li span {
  color: var(--steel);
}

.skeleton {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 40px;
  max-width: 560px;
}

.skeleton span {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--steel);
}

.skeleton-bar {
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    var(--line) 0 24px,
    #e2ddd0 24px 48px
  );
  margin-top: 14px;
}
