.sv-workspace { min-width: 0; }
.technical-requests-page:has(.sv-workspace) > .technical-page-tabs { flex-wrap: wrap; min-width: 0; gap: 6px 12px; }
.technical-requests-page:has(.sv-workspace) > .technical-page-tabs > button { flex: 0 1 auto; min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: left; }
.sv-workspace *, .sv-modal * { box-sizing: border-box; }
.sv-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin: 22px 0; }
.sv-heading h1 { font-size: 28px; margin: 6px 0; overflow-wrap: anywhere; }
.sv-heading p, .sv-note { color: #64748b; font-size: 13px; line-height: 1.55; }
.sv-heading p { margin: 6px 0; }
.sv-today { flex-shrink: 0; color: #264263; font-weight: 700; border: 1px solid #dce6f2; border-radius: 12px; padding: 12px 16px; background: #f8fbff; }
.sv-today small { display: block; text-align: right; color: #64748b; font-weight: 400; margin-top: 4px; }
.sv-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.sv-counters { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.sv-counter { display: grid; align-content: start; gap: 6px; border: 1px solid #dce6f2; border-top: 3px solid #8aa4be; border-radius: 10px; background: #fff; padding: 14px; }
.sv-counter strong { font-size: 24px; color: #18304d; }
.sv-counter span { color: #64748b; font-size: 12px; line-height: 1.4; }
.sv-counter.sv-checked { border-top-color: #159568; }
.sv-counter.sv-not_checked { border-top-color: #d39537; }
.sv-important { border-left: 3px solid #d99b38; background: #fffaf2; padding: 12px 16px; }
.sv-toolbar { display: grid; grid-template-columns: minmax(200px, 2fr) minmax(140px, 1fr) minmax(160px, 1fr); gap: 12px; margin: 20px 0; }
.sv-toolbar .field, .sv-modal .field { min-width: 0; }
.sv-toolbar input, .sv-toolbar select, .sv-modal input, .sv-modal select, .sv-modal textarea { border: 1px solid #dce6f2; border-radius: 9px; min-height: 44px; padding: 10px 12px; width: 100%; max-width: 100%; min-width: 0; font: inherit; color: inherit; background: #fff; }
.sv-modal textarea { min-height: 88px; resize: vertical; }
.sv-workspace button:focus-visible, .sv-workspace input:focus-visible, .sv-workspace select:focus-visible, .sv-modal textarea:focus-visible, .sv-calendar-scroll:focus-visible { outline: 3px solid #6f9de0; outline-offset: 2px; }
.sv-table-wrap { border: 1px solid #dce6f2; border-radius: 12px; background: #fff; overflow: hidden; }
.sv-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.sv-table th, .sv-table td { padding: 15px 12px; border-bottom: 1px solid #e5ecf4; text-align: left; vertical-align: middle; white-space: normal; overflow-wrap: anywhere; }
.sv-table thead th { color: #64748b; font-size: 11px; text-transform: uppercase; background: #f7faff; }
.sv-table thead th:first-child { width: 25%; }
.sv-table thead th:nth-child(2) { width: 10%; }
.sv-table thead th:nth-child(3) { width: 25%; }
.sv-table thead th:nth-child(4) { width: 18%; }
.sv-table td, .sv-table tbody th { font-size: 13px; }
.sv-table tbody th { font-weight: 500; }
.sv-table small { display: block; color: #64748b; font-weight: 400; line-height: 1.4; margin-top: 5px; }
.sv-table tr:last-child td, .sv-table tr:last-child th { border-bottom: 0; }
.sv-row-action .btn { white-space: normal; max-width: 100%; font-size: 12px; min-height: 44px; }
.sv-status { display: inline-flex; border-radius: 7px; background: #f1f5f9; color: #586c83; padding: 6px 8px; line-height: 1.4; font-size: 12px; font-weight: 700; }
.sv-status.sv-checked, .sv-day.sv-checked { color: #107450; background: #e8f7ef; }
.sv-status.sv-not_checked, .sv-day.sv-not_checked { color: #9b6719; background: #fff5e2; }
.sv-status.sv-unconfigured, .sv-day.sv-unconfigured { color: #766784; background: #f3eef7; }
.sv-day.sv-no_cameras { color: #53687b; background: #edf2f7; }
.sv-day.sv-future, .sv-day.sv-not_started { color: #9aa5b1; background: #fafbfd; }
.sv-table small.sv-snapshot { color: #9b6719; }
.sv-empty { padding: 32px 16px; border: 1px dashed #cdd9e6; border-radius: 12px; color: #64748b; text-align: center; }
.sv-configuration-history { border: 1px solid #dce6f2; border-radius: 12px; background: #fff; padding: 16px; margin-top: 24px; }
.sv-configuration-history summary { cursor: pointer; font-weight: 700; }
.sv-configuration-history ol { list-style: none; margin: 0; padding: 0; }
.sv-configuration-history li { display: grid; gap: 5px; padding: 12px 0; border-bottom: 1px solid #e8eef5; font-size: 13px; overflow-wrap: anywhere; }
.sv-configuration-history li:last-child { border-bottom: 0; }
.sv-configuration-history small { color: #64748b; }
.sv-configuration-history p { margin: 4px 0; }
.sv-message, .sv-error { border-radius: 10px; padding: 12px 16px; margin: 14px 0; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.sv-message { color: #107450; background: #ecf9f2; border: 1px solid #cbead9; }
.sv-error { color: #ae3343; background: #fff1f3; border: 1px solid #f0c9d0; }
.sv-legend { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0; color: #64748b; font-size: 12px; }
.sv-legend > span { display: inline-flex; align-items: center; gap: 5px; }
.sv-legend .sv-day { width: 25px; min-width: 25px; height: 25px; }
.sv-calendar-scroll { overflow-x: auto; max-width: 100%; border: 1px solid #dce6f2; border-radius: 12px; background: #fff; }
.sv-calendar { border-collapse: separate; border-spacing: 0; min-width: 100%; width: max-content; }
.sv-calendar th, .sv-calendar td { text-align: center; border-right: 1px solid #e8eef5; border-bottom: 1px solid #e8eef5; padding: 7px 5px; }
.sv-calendar thead th { background: #f7faff; font-size: 12px; color: #52687e; }
.sv-calendar small { display: block; font-size: 10px; color: #8291a3; margin-top: 4px; }
.sv-calendar tr > th:first-child { position: sticky; left: 0; z-index: 1; width: 220px; min-width: 220px; max-width: 220px; text-align: left; padding-left: 14px; overflow-wrap: anywhere; white-space: normal; background: #fff; font-size: 12px; }
.sv-calendar thead tr > th:first-child { background: #f7faff; z-index: 2; }
.sv-calendar .sv-current-day { box-shadow: inset 0 3px #2474db; }
.sv-day { width: 34px; min-width: 34px; height: 36px; display: inline-flex; justify-content: center; align-items: center; border: 0; border-radius: 6px; font-size: 15px; font-weight: 700; font-family: inherit; }
button.sv-day { cursor: pointer; }
button.sv-day:hover { box-shadow: inset 0 0 0 2px #2c996f; }
.sv-modal-backdrop { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; background: rgba(21, 39, 61, .42); padding: 20px; }
.sv-modal { background: #fff; color: #223851; border-radius: 16px; padding: 24px; width: min(560px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; box-shadow: 0 15px 60px rgba(18, 37, 61, .2); }
.sv-modal header { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.sv-modal h2 { font-size: 20px; margin: 0; overflow-wrap: anywhere; }
.sv-modal h3 { font-size: 17px; overflow-wrap: anywhere; }
.sv-modal form { display: grid; gap: 16px; }
.sv-modal footer { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.sv-modal [hidden] { display: none !important; }
.sv-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.sv-facts dt { color: #64748b; font-size: 12px; margin-bottom: 5px; }
.sv-facts dd { margin: 0; overflow-wrap: anywhere; }
.sv-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 1100px) { .sv-counters { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .sv-heading { display: grid; gap: 10px; }
  .sv-heading h1 { font-size: 24px; }
  .sv-today { width: fit-content; }
  .sv-today small { text-align: left; }
  .sv-toolbar { grid-template-columns: 1fr 1fr; }
  .sv-toolbar .field:first-child { grid-column: 1 / -1; }
  .sv-table-wrap { border: 0; background: transparent; overflow: visible; }
  .sv-table, .sv-table tbody { display: block; }
  .sv-table thead { display: none; }
  .sv-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid #dce6f2; border-radius: 12px; margin: 12px 0; padding: 14px; gap: 14px; background: #fff; }
  .sv-table tr > th, .sv-table tr > td { display: block; padding: 0; border: 0; }
  .sv-table tr > th { grid-column: 1 / -1; font-size: 16px; }
  .sv-table td[data-label]::before { content: attr(data-label); display: block; color: #64748b; font-size: 11px; margin-bottom: 6px; }
  .sv-table td:nth-child(3) { grid-column: 1 / -1; grid-row: 2; }
  .sv-row-action { grid-column: 1 / -1; }
  .sv-row-action .btn { width: 100%; font-size: 13px; }
  .sv-calendar tr > th:first-child { min-width: 140px; width: 140px; max-width: 140px; padding-left: 8px; }
  .sv-day { min-width: 40px; width: 40px; height: 42px; }
}
@media (max-width: 440px) { .sv-counters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sv-toolbar, .sv-facts { grid-template-columns: 1fr; } .sv-tabs .btn { flex: 1 1 auto; } .sv-modal-backdrop { padding: 8px; } .sv-modal { padding: 18px; max-height: calc(100dvh - 16px); } }
