.shift-management { color: #574735; font-size: 12px; line-height: 1.8; }
.shift-management fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.shift-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.shift-fields label, .shift-picker-head > label { display: grid; gap: 5px; font-weight: 600; }
.shift-fields select, .shift-fields input[type="time"], .shift-picker-head input[type="search"] { width: 100%; min-width: 0; min-height: 40px; padding: 7px 10px; border: 1px solid #dfd1bf; border-radius: 8px; color: #574735; background: #fffdf9; font: inherit; }
.shift-fields input[type="time"] { direction: ltr; text-align: center; }
.shift-fields input:disabled { color: #8b8174; background: #f2eee8; }
.shift-fields input:focus-visible, .shift-fields select:focus-visible, .shift-picker-head input:focus-visible { outline: 2px solid #a47d50; outline-offset: 2px; }
.shift-help { margin: 9px 0 14px; color: #826d54; font-size: 11px; line-height: 1.9; }
.shift-picker-head { display: grid; gap: 10px; margin-top: 15px; }
.shift-picker-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.shift-picker-tools > span { margin-inline-end: auto; font-weight: 700; color: #795638; }
.shift-table-scroll { width: 100%; overflow-x: auto; border: 1px solid #e8ddcf; border-radius: 9px; }
.shift-table { width: 100%; min-width: 560px; border-collapse: collapse; white-space: normal; }
.shift-table th, .shift-table td { padding: 10px 11px; border-bottom: 1px solid #eee5d9; text-align: right; vertical-align: top; font-size: 11px; }
.shift-table th { background: #f7f0e6; color: #735739; font-weight: 700; }
.shift-table tbody tr:last-child td { border-bottom: 0; }
.shift-table td strong, .shift-table td small { display: block; }
.shift-table td small { margin-top: 4px; color: #8b7860; font-size: 10px; }
.shift-table input[type="checkbox"], .shift-table input[type="radio"], .shift-check input { width: 17px; height: 17px; flex: 0 0 auto; accent-color: #97734c; }
.shift-new-values { margin-top: 18px; padding: 15px; border: 1px solid #e3d4c2; border-radius: 10px; background: #fcf9f4; }
.shift-new-values h3 { margin: 0 0 13px; color: #6b4d30; font-size: 14px; }
.shift-optional-field { display: grid; gap: 6px; }
.shift-optional-field > small { color: #8b7860; font-size: 10px; }
.shift-management .shift-check { display: flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }
.shift-new-values > .shift-check { margin-top: 16px; }
.shift-weekdays { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 10px; }
.shift-weekdays .shift-check { padding: 7px 8px; border: 1px solid #e7ddcf; border-radius: 7px; background: #fffdf9; }
.shift-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 11px 0; font-size: 11px; }
.shift-scope-note, .shift-preview-summary, .shift-notice { margin: 14px 0; padding: 12px 14px; border: 1px solid #dfceb7; border-radius: 9px; color: #725235; background: #f9f2e8; }
.shift-scope-note strong, .shift-preview-summary strong { display: block; font-size: 14px; }
.shift-scope-note p, .shift-preview-summary p { margin: 5px 0 0; font-size: 11px; }
.shift-preview-summary > span { display: block; margin-top: 4px; }
.shift-time { display: inline-block; font-weight: 700; }
.shift-error { margin-bottom: 14px; padding: 11px 13px; border: 1px solid #e6bcb0; border-radius: 8px; color: #9b4434; background: #fff2ed; }
.shift-management .modal-actions { flex-wrap: wrap; }
@media (max-width: 560px) {
  .shift-fields { grid-template-columns: minmax(0, 1fr); }
  .shift-new-values { padding: 12px; }
  .shift-weekdays { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shift-management .modal-actions > .btn { flex: 1 1 150px; min-height: 42px; white-space: normal; }
  .shift-picker-tools > span { flex-basis: 100%; }
}
