.order-filters .select-input, .order-form .select-input, .quick-update__form .select-input,
.order-table select.sheet-input {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%235f6b5d' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}
.order-table select.sheet-input:hover, .order-table select.sheet-input:focus { background-color: #f3f5ef; }
.order-table select.sheet-input:disabled { background-image: none; }
.order-filters__actions:empty { display: none; }
.sheet-publishing-note { margin: 0; padding: 0 2px 12px; color: var(--muted); font-size: 12px; }
.sheet-client-label { display: block; width: fit-content; margin-top: 5px; padding: 1px 5px; border: 1px solid #c8d4c4; border-radius: 3px; color: #45543e; background: #e9eee5; font: 10px/1.4 var(--mono); }
.sheet-publication-status { padding: 0 15px 9px; }
.order-table .sheet-cell--identity { padding: 0; }
.sheet-cell--identity .sheet-input { height: 43px; min-height: 43px; padding-bottom: 5px; }
.client-publication-status { display: inline-block; font-size: 11px; line-height: 1.4; white-space: nowrap; color: var(--muted); }
.client-publication-status[data-state="changed"], .client-publication-status[data-state="unpublished"] { color: #77530e; }
.client-publication-status[data-state="changed"]::before, .client-publication-status[data-state="unpublished"]::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 5px 2px 0; background: currentColor; border-radius: 50%; }
.order-table { width: var(--sheet-width, 3522px); }
.sheet-publication-status .client-publication-status { white-space: normal; overflow-wrap: anywhere; }
.order-publication-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 22px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.order-publication-summary p { margin: 0; color: var(--muted); font-size: 13px; }
.hero-actions > a:not(.button) { font-size: 13px; }
.fabricators-page { max-width: 1120px; }
.fabricator-card { margin: 18px 0; padding: 22px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); }
.fabricator-form .form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fabricator-form > .button { margin-top: 16px; }
.fabricator-card > form + form { margin-top: 14px; }
.fabricators-archived { margin-top: 26px; }
.fabricators-archived li { margin: 10px 0; }
.publication-changes { margin-top: 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 5px; }
.publication-changes-table { width: 100%; table-layout: fixed; border-collapse: collapse; background: var(--surface); font-size: 14px; }
.publication-changes-table th, .publication-changes-table td { padding: 15px 18px; text-align: left; vertical-align: top; overflow-wrap: anywhere; border-bottom: 1px solid var(--line); }
.publication-changes-table th:first-child { width: 22%; }
.publication-changes-table thead th { background: var(--paper-deep); font-size: 12px; }
.publication-changes-table tbody th { font-size: 13px; font-weight: 500; }
.publication-changes-table tbody td { line-height: 1.55; }
.publication-changes-table tr:last-child > * { border-bottom: 0; }
.publication-changes-table td:nth-child(2) { color: var(--muted); }
.publication-changes-table td:nth-child(3) { background: #edf1e933; }
.publication-changes-table img { display: block; width: 100%; max-width: 240px; max-height: 220px; object-fit: contain; margin: 8px 0; }
.publication-change-photos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.publication-changes-table .publication-change-photo { width: min(100%, 180px); height: 150px; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 3px; }
.publication-review-page > .form-actions { align-items: center; margin-bottom: 38px; }
.publication-preview { margin-top: 38px; }
.publication-preview__page { margin-top: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; }
.publication-preview__page .client-status { padding: 28px 36px; }
.publication-preview__page .client-status__hero h1 { font-size: clamp(36px, 4vw, 64px); }
.publication-preview__page .client-product-photo__image { height: 380px; }
.work-order-history { list-style: none; padding: 0; margin: 14px 0; }
.work-order-history > li { padding: 16px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.work-order-history .button { margin-top: 10px; }
.work-order-email-body { margin: 22px 0; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; overflow-wrap: anywhere; }
.work-order-edit-message { margin-top: 24px; }
.work-order-edit-message[open] summary { margin-bottom: 14px; }
@media (max-width: 760px) {
  .sheet-publication-status { padding-inline: 8px; }
}
@media (max-width: 700px) {
  .fabricator-form .form-grid { grid-template-columns: 1fr; }
  .fabricator-card { padding: 16px; }
  .publication-changes-table { min-width: 550px; }
  .publication-preview__page .client-status { padding: 24px; }
  .publication-preview__page .client-product-photo__image { height: 320px; }
}
