/* Unified job composition and physical colour sample hand-off. */
.jc-form [hidden] { display: none !important; }
.jc-source-switch { display: flex; padding: 5px; gap: 5px; margin: 0 0 20px; border: 1px solid rgba(110,119,136,.17); border-radius: 15px; background: rgba(130,143,166,.07); }
.jc-source-switch label { flex: 1; cursor: pointer; position: relative; }
.jc-source-switch input { position: absolute; opacity: 0; pointer-events: none; }
.jc-source-switch span { display: block; padding: 11px 14px; border-radius: 11px; text-align: center; font-size: 14px; color: #686c75; transition: background .18s, color .18s, box-shadow .18s; }
.jc-source-switch input:checked + span { color: #1d1d1f; font-weight: 650; background: rgba(255,255,255,.95); box-shadow: 0 2px 9px rgba(31,42,58,.08); }
.jc-source-switch input:focus-visible + span { outline: 3px solid rgba(0,113,227,.4); outline-offset: 2px; }
.jc-intro { margin: 0 0 17px; font-size: 13px; color: #6e737c; }
.jc-section-title { margin: 22px 0 15px; }
.jc-section-title h3 { font-size: 16px; margin: 0 0 5px; color: #1d1d1f; }
.jc-section-title h3 > span { font-size: 11px; padding: 3px 7px; margin-left: 5px; font-weight: 500; color: #526783; border-radius: 5px; background: rgba(0,113,227,.07); }
.jc-section-title p { margin: 0; color: #6e737c; font-size: 12px; line-height: 1.6; }
.jc-owner { display: flex; gap: 10px; align-items: center; margin: 0 0 19px; padding: 12px 15px; background: rgba(0,113,227,.045); border: 1px solid rgba(0,113,227,.1); border-radius: 13px; }
.jc-owner-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #1769bb; background: rgba(0,113,227,.09); font-weight: 600; }
.jc-owner small, .jc-owner b { display: block; }
.jc-owner small { font-size: 11px; color: #6e737c; margin-bottom: 3px; }
.jc-owner b { font-size: 13px; color: #303641; }
.jc-owner em { font-size: 10px; color: #718096; font-weight: 400; font-style: normal; margin-left: 5px; }
.jc-technical-details, .jc-production-details { border: 1px solid rgba(110,119,136,.17); border-radius: 14px; margin: 16px 0; overflow: clip; }
.jc-technical-details > summary, .jc-production-details > summary { padding: 15px 17px; cursor: pointer; color: #303641; font-size: 13px; font-weight: 600; line-height: 1.5; }
.jc-technical-details > summary span, .jc-production-details > summary span { margin-left: 7px; color: #7b818b; font-weight: 400; font-size: 11px; }
.jc-technical-details > .wf-form-grid, .jc-production-details > .wf-form-grid { margin: 0; padding: 3px 17px 17px; }
.jc-production-details > .wf-section-header { margin: 0; padding: 16px 17px; border-top: 1px solid rgba(110,119,136,.12); }
.jc-production-details > .wf-section-header h3 { font-size: 13px; }
.jc-production-details #wfStepEditor { padding: 0 17px; }
.jc-production-details .wf-step-editor { background: rgba(255,255,255,.52); }
.jc-order-preview:empty { display: none; }
.jc-order-preview { padding: 13px 15px; margin-bottom: 16px; border-radius: 11px; background: rgba(130,143,166,.06); color: #343b46; }
.jc-order-preview > strong, .jc-order-preview > span { display: block; }
.jc-order-preview > strong { font-size: 13px; margin-bottom: 5px; }
.jc-order-preview > span, .jc-order-preview > p { color: #6e737c; font-size: 12px; line-height: 1.6; }
.jc-order-preview > p { margin: 7px 0 0; overflow-wrap: anywhere; }
.jc-empty-hint { color: #856b42; padding: 12px 14px; border-radius: 10px; background: rgba(182,137,58,.07); font-size: 12px; line-height: 1.7; }
.jc-label-section { padding: 0 0 5px; }
.jc-choice-field { min-width: 0; padding: 0; margin: 17px 0; border: none; }
.jc-choice-field > legend { font-size: 12px; font-weight: 600; padding: 0; margin-bottom: 9px; color: #4a5362; }
.jc-winding-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.jc-direction-options { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.jc-direction-option { min-width: 0; display: flex; align-items: flex-start; cursor: pointer; padding: 12px; gap: 8px; border: 1px solid rgba(110,119,136,.2); border-radius: 12px; background: rgba(255,255,255,.45); transition: border-color .18s, background .18s; }
.jc-direction-option:has(input:checked) { border-color: #0071e3; background: rgba(0,113,227,.045); }
.jc-direction-option:has(input:focus-visible) { outline: 3px solid rgba(0,113,227,.25); outline-offset: 2px; }
.jc-direction-option input { width: 15px; height: 15px; margin: 2px 0 0; flex-shrink: 0; accent-color: #0071e3; }
.jc-direction-option > span { min-width: 0; flex: 1; }
.jc-direction-option b { display: block; font-size: 12px; color: #343b46; font-weight: 600; }
.jc-direction-option small { display: block; color: #7b818b; font-size: 11px; margin-top: 5px; }
.jc-label-preview { display: block; color: #4a637e; margin: -3px -3px 9px; }
.jc-label-preview svg { display: block; width: 100%; height: auto; }
.jc-direction-confirmation { min-height: 34px; padding: 9px 12px; background: rgba(0,113,227,.04); color: #536a84; border-radius: 9px; font-size: 12px; line-height: 1.5; }
.jc-print-hint { display: flex; align-items: center; gap: 12px; margin: 18px 0 4px; padding: 14px 16px; border-radius: 12px; border: 1px dashed rgba(110,119,136,.26); }
.jc-print-hint > span { font-size: 25px; color: #8b94a1; }
.jc-print-hint p { color: #6e737c; font-size: 12px; line-height: 1.7; margin: 0; }
.jc-job-context { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 18px; border: 1px solid rgba(110,119,136,.13); padding: 15px 18px; border-radius: 12px; gap: 18px; }
.jc-job-context > div > span { display: block; font-size: 11px; margin-bottom: 7px; color: #7b818b; }
.jc-job-context strong { font-size: 13px; color: #343b46; }
.jc-job-direction { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 220px; align-items: center; }
.jc-job-direction > span { grid-column: 1; }
.jc-job-direction > strong { grid-column: 1; }
.jc-job-direction > svg { grid-column: 2; grid-row: 1 / 3; max-width: 220px; width: 100%; color: #4a637e; }
.jc-created { text-align: center; padding: 18px 15px 25px; }
.jc-created-mark { width: 62px; height: 62px; margin: 0 auto 20px; border-radius: 50%; color: #14715a; display: grid; place-items: center; font-size: 27px; background: rgba(23,135,94,.09); }
.jc-created > p { color: #6e737c; font-size: 13px; margin: 0 0 8px; }
.jc-created h2 { margin: 0 0 15px; font-size: 28px; color: #1d1d1f; font-weight: 650; letter-spacing: -.5px; }
.jc-created > span { font-size: 13px; line-height: 1.8; color: #6e737c; display: block; max-width: 380px; margin: 0 auto; }
.jc-created-actions { margin: 26px 0 15px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.jc-created-actions .btn { min-height: 42px; padding: 11px 18px; }
.jc-created > small { display: block; color: #8b94a1; font-size: 11px; line-height: 1.8; }
.jc-unassigned { color: #8a641f; font-weight: 600; }
.jc-step-assignment { margin: 4px 0 14px; padding: 10px 12px; color: #677387; font-size: 12px; line-height: 1.7; border-radius: 9px; background: rgba(115,140,170,.055); }
.jc-conversion-help { font-size: 12px; line-height: 1.7; margin: 0 0 8px; }
.jc-handover { padding: 9px 12px; margin: 10px 0 0; color: #5e7188; font-size: 12px; line-height: 1.7; border-radius: 9px; background: rgba(65,118,180,.055); overflow-wrap: anywhere; }
.jc-handover-warning { color: #885e23; background: rgba(190,143,51,.08); }
.jc-report-cumulative { padding: 13px 15px; margin: 14px 0; border: 1px solid rgba(110,119,136,.13); border-radius: 11px; color: #526783; line-height: 1.7; font-size: 13px; font-variant-numeric: tabular-nums; }
.jc-report-form input:disabled,.jc-report-form textarea:disabled { opacity: .5; }
.jc-report-history { margin: 24px 0; }
.jc-report-history td { vertical-align: top; overflow-wrap: anywhere; }
.jc-report-history td small { display: block; font-size: 11px; line-height: 1.7; margin-top: 5px; color: #7b818b; }
.jc-report-history .wf-section-header > span { color: #6e737c; font-size: 12px; }
@media (max-width: 700px) {
  .jc-direction-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .jc-technical-details > summary span, .jc-production-details > summary span { display: block; margin: 5px 0 0 15px; }
  .jc-technical-details > .wf-form-grid, .jc-production-details > .wf-form-grid { padding: 3px 12px 12px; }
  .jc-production-details #wfStepEditor { padding: 0 10px; }
  .jc-job-direction { grid-template-columns: 1fr; }
  .jc-job-direction > svg { grid-column: 1; grid-row: auto; max-width: 260px; margin-top: 12px; }
  .jc-source-switch span { padding: 10px 7px; font-size: 13px; }
  .jc-created-actions { flex-direction: column; }
  .jc-created h2 { font-size: 24px; }
}
