#view-checklists{min-width:0;max-width:100%}
#checklistsWorkspace{width:100%;max-width:1900px;min-width:0;margin:auto}
#checklistsWorkspace .cl-hierarchy{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
#checklistsWorkspace label{display:grid;gap:7px;font-size:.86rem}
#checklistsWorkspace input,#checklistsWorkspace select,#checklistsWorkspace textarea{box-sizing:border-box;width:100%;min-width:0;font:inherit;background:var(--bg-2);color:var(--text);border:1px solid var(--line);border-radius:8px;padding:10px 12px;color-scheme:dark}
#checklistsWorkspace input:focus-visible,#checklistsWorkspace select:focus-visible,#checklistsWorkspace textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
#checklistsWorkspace .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#checklistsWorkspace .cl-hierarchy form{display:flex;gap:8px;margin-top:12px;align-items:end;flex-wrap:wrap}
#checklistsWorkspace .cl-hierarchy form label{flex:1;min-width:140px}
#checklistsWorkspace .cl-savebar{display:flex;gap:12px;align-items:center;min-height:48px;padding:8px 0}
#checklistsWorkspace .cl-sections{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}
#checklistsWorkspace .cl-sections a{color:var(--accent);padding:8px;border:1px solid var(--line);border-radius:8px}
#checklistsWorkspace .cl-section{min-width:0;max-width:100%;margin-bottom:20px;scroll-margin-top:210px}
#checklistsWorkspace .cl-note{white-space:pre-line;line-height:1.6}
#checklistsWorkspace .cl-scroll-hint{display:none}
#checklistsWorkspace .cl-table-scroll{width:100%;max-width:100%;max-height:72vh;max-height:72dvh;overflow:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:8px}
#checklistsWorkspace .cl-table{width:100%;border-spacing:0;table-layout:fixed;font-size:.76rem;line-height:1.35}
#checklistsWorkspace .cl-table-protection{min-width:1700px}
#checklistsWorkspace .cl-table-na{min-width:1400px}
#checklistsWorkspace .cl-table-final,#checklistsWorkspace .cl-table-terminals{min-width:850px}
#checklistsWorkspace .cl-col-datetime{width:190px}
#checklistsWorkspace .cl-col-check{width:95px}
#checklistsWorkspace .cl-col-textarea{width:210px}
#checklistsWorkspace .cl-table th,#checklistsWorkspace .cl-table td{padding:7px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere}
#checklistsWorkspace .cl-table tr>*:last-child{border-right:0}
#checklistsWorkspace .cl-table tbody tr:last-child>*{border-bottom:0}
#checklistsWorkspace .cl-table thead{position:sticky;top:0;z-index:2}
#checklistsWorkspace .cl-table thead th{background:var(--panel-2);color:var(--text);text-align:left;vertical-align:middle;font-weight:700}
#checklistsWorkspace .cl-row-label{position:sticky;left:0;z-index:1;background:var(--panel);text-align:left;font-weight:700}
#checklistsWorkspace .cl-table thead tr:first-child th:first-child{position:sticky;left:0;z-index:3}
#checklistsWorkspace .cl-description{white-space:pre-line}
#checklistsWorkspace .cl-table-protection th:first-child{width:145px}
#checklistsWorkspace .cl-table-protection thead th:nth-child(2){width:145px}
#checklistsWorkspace .cl-table-protection thead th:nth-child(3),#checklistsWorkspace .cl-table-protection thead th:nth-child(9){width:190px}
#checklistsWorkspace .cl-table-protection thead th:nth-child(4),#checklistsWorkspace .cl-table-protection thead th:nth-child(5){width:90px}
#checklistsWorkspace .cl-table-protection thead th:nth-child(6),#checklistsWorkspace .cl-table-protection thead th:nth-child(10){width:80px}
#checklistsWorkspace .cl-table-protection thead th:nth-child(7){width:75px}
#checklistsWorkspace .cl-table-protection thead th:nth-child(8){width:210px}
#checklistsWorkspace .cl-table-na thead tr:first-child th:nth-child(2){width:240px}
#checklistsWorkspace .cl-field{display:flex;flex-direction:column;gap:3px;align-items:start}
#checklistsWorkspace .cl-field label{width:100%}
#checklistsWorkspace .cl-field small{font-size:.65rem;overflow-wrap:anywhere}
#checklistsWorkspace .cl-field small:empty{display:none}
#checklistsWorkspace .cl-table input,#checklistsWorkspace .cl-table select,#checklistsWorkspace .cl-table textarea{padding:6px;border-radius:4px;font-size:.76rem}
#checklistsWorkspace .cl-empty{color:var(--muted);text-align:center}
#checklistsWorkspace .cl-field [hidden],#checklistsWorkspace [data-retry][hidden]{display:none}
#checklistsWorkspace textarea{resize:vertical;min-height:42px}
#checklistsWorkspace .cl-now{padding:3px 10px;font-size:.7rem}
#checklistsWorkspace .cl-title h2{margin:8px 0}
@media(max-width:950px){#checklistsWorkspace .cl-hierarchy{grid-template-columns:1fr}}
@media(max-width:580px){#checklistsWorkspace .cl-section{padding:10px}}

@media(max-width:1366px),(pointer:coarse){
  #view-checklists{padding:12px}
  #checklistsWorkspace .cl-section{padding:12px}
  #checklistsWorkspace .cl-scroll-hint{display:block;margin:8px 0;color:var(--muted);font-size:.8rem}
  #checklistsWorkspace input,#checklistsWorkspace select,#checklistsWorkspace textarea{font-size:16px;min-height:44px}
  #checklistsWorkspace button{min-height:44px;padding:8px 12px}
  #checklistsWorkspace .cl-table input,#checklistsWorkspace .cl-table select,#checklistsWorkspace .cl-table textarea{font-size:16px;min-height:44px}
  #checklistsWorkspace .cl-table{font-size:.875rem}
  #checklistsWorkspace .cl-field small{font-size:.75rem}
  #checklistsWorkspace .cl-now{min-width:64px;font-size:.875rem}
  #checklistsWorkspace .cl-col-datetime{width:250px}
  #checklistsWorkspace .cl-col-check{width:112px}
  #checklistsWorkspace .cl-table-protection{min-width:2000px}
  #checklistsWorkspace .cl-table-protection thead th:nth-child(3),#checklistsWorkspace .cl-table-protection thead th:nth-child(9){width:250px}
  #checklistsWorkspace .cl-table-protection thead th:nth-child(4),#checklistsWorkspace .cl-table-protection thead th:nth-child(5){width:112px}
  #checklistsWorkspace .cl-table-na{min-width:1650px}
  #checklistsWorkspace .cl-table-final,#checklistsWorkspace .cl-table-terminals{min-width:1100px}
  #checklistsWorkspace .cl-sections{gap:6px}
  #checklistsWorkspace .cl-sections a{display:flex;align-items:center;min-height:44px;padding:8px 12px}
  #checklistsWorkspace .cl-hierarchy{gap:12px;padding:12px}
  #checklistsWorkspace .cl-hierarchy form{gap:6px;margin-top:8px}
  #checklistsWorkspace .cl-hierarchy form label{min-width:0;width:100%}
  #checklistsWorkspace .cl-hierarchy form button{width:100%;font-size:.875rem}
}
@media(min-width:700px) and (max-width:1366px){
  #checklistsWorkspace .cl-hierarchy{grid-template-columns:repeat(3,minmax(0,1fr))}
}


