.wsl-workspace { min-width: 0; padding: clamp(1rem, 2.5vw, 1.5rem); border: 1px solid var(--line, #d9e3e7); border-radius: 16px; background: var(--surface, #fff); }
.wsl-heading, .wsl-actions, .wsl-filter-actions, .wsl-pagination, .wsl-detail-heading { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.wsl-heading, .wsl-detail-heading { justify-content: space-between; align-items: flex-start; }
.wsl-heading h3, .wsl-detail-heading h3 { margin: 0 0 .4rem; font-size: 1.15rem; line-height: 1.35; }
.wsl-heading p { margin: 0; max-width: 52rem; line-height: 1.5; color: var(--muted, #53666e); }
.wsl-workspace .wsl-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem 1rem; margin: 1.25rem 0 .75rem; }
.wsl-filters label, .wsl-pagination label { display: grid; align-content: start; gap: .4rem; min-width: 0; font-size: .86rem; font-weight: 600; }
.wsl-workspace input:not([type="checkbox"]), .wsl-workspace select { width: 100%; min-width: 0; min-height: 44px; font-size: 1rem; }
.wsl-workspace button { min-height: 44px; line-height: 1.3; }
.wsl-workspace button:active:not(:disabled) { filter: brightness(.95); }
.wsl-workspace :is(button, input, select):focus-visible, .wsl-table-scroll:focus-visible { outline: 3px solid var(--accent, #1a7577); outline-offset: 3px; }
.wsl-filters .wsl-carryover { display: flex; align-items: center; grid-column: span 2; min-height: 44px; font-weight: 400; }
.wsl-carryover input { width: 20px; height: 20px; flex: 0 0 20px; margin: 0; }
.wsl-filter-actions { align-self: end; }
.wsl-date-help, .wsl-feedback { margin: .75rem 0; color: var(--muted, #53666e); font-size: .88rem; line-height: 1.5; }
.wsl-feedback:empty { display: none; }
.wsl-feedback.wsl-error, .wsl-check-note { color: #924511; }
.wsl-summary { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin: 1rem 0; font-size: .9rem; }
.wsl-summary:empty { display: none; }
.wsl-documents { margin: 1rem 0; padding: 1rem; border: 1px solid #d6e2dc; border-radius: 10px; background: #fbfdfb; }
.wsl-documents h4 { margin: 0; font-size: .96rem; }
.wsl-documents > p { margin: .45rem 0 .8rem; color: var(--muted, #53666e); font-size: .84rem; line-height: 1.45; }
.wsl-documents-help { margin-top: .3rem; color: var(--muted, #53666e); font-size: .84rem; }
.wsl-documents-help > summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 600; }
.wsl-documents-help > p { margin: 0 0 .7rem; line-height: 1.45; }
.wsl-document-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: .7rem; }
.wsl-document-card { min-width: 0; border: 1px solid #cfe0d5; border-radius: 8px; background: #fff; padding: .1rem .7rem .7rem; }
.wsl-document-card--legacy { border-style: dashed; }
.wsl-document-card summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.wsl-document-card summary strong, .wsl-document-card summary small { min-width: 0; overflow-wrap: anywhere; }
.wsl-document-card ol { display: grid; gap: .45rem; margin: .35rem 0 0; padding-left: 1.25rem; }
.wsl-document-card li { min-width: 0; }
.wsl-document-card li small { display: block; margin-top: .2rem; color: var(--muted, #53666e); overflow-wrap: anywhere; }
.wsl-document-product { margin: .2rem 0 .45rem; font-weight: 650; overflow-wrap: anywhere; }
.wsl-document-open { min-height: 38px; padding: .25rem; border: 0; border-radius: 5px; background: transparent; color: #155d62; font: inherit; font-weight: 600; text-align: left; overflow-wrap: anywhere; }
.wsl-document-open:hover { text-decoration: underline; }
.wsl-relationship { margin: 0 0 .9rem; color: var(--muted, #53666e); font-size: .88rem; overflow-wrap: anywhere; }
.wsl-technical { margin-top: .8rem; color: var(--muted, #53666e); font-size: .82rem; }
.wsl-technical summary { cursor: pointer; min-height: 36px; display: flex; align-items: center; }
.wsl-technical code { display: block; margin-top: .4rem; overflow-wrap: anywhere; white-space: pre-wrap; }
.wsl-table-scroll { width: 100%; max-width: 100%; min-width: 0; overflow: auto; max-height: min(65vh, 42rem); border: 1px solid var(--line, #d9e3e7); border-radius: 10px; overscroll-behavior: contain; scrollbar-gutter: stable; }
.wsl-table-scroll table { width: 100%; min-width: 1160px; border-collapse: separate; border-spacing: 0; font-size: .86rem; line-height: 1.4; }
.wsl-table-scroll th { position: sticky; top: 0; z-index: 1; background: #f0f5f6; color: #253f49; box-shadow: inset 0 -1px #cbd9de; text-align: left; vertical-align: bottom; padding: .85rem .7rem; }
.wsl-table-scroll td { padding: .8rem .7rem; vertical-align: top; border-bottom: 1px solid var(--line, #d9e3e7); min-width: 7rem; max-width: 17rem; overflow-wrap: anywhere; }
.wsl-table-scroll td:nth-child(1) { min-width: 13rem; }
.wsl-table-scroll td:nth-child(3) { min-width: 13rem; }
.wsl-table-scroll td :is(strong, small, span) { display: block; }
.wsl-table-scroll td small { margin-top: .3rem; color: var(--muted, #53666e); font-size: .8rem; }
.wsl-table-scroll td strong span { display: inline; }
.wsl-table-scroll tr:last-child td { border-bottom: 0; }
.wsl-table-scroll tbody tr { cursor: pointer; }
.wsl-table-scroll .wsl-selected { background: #eaf4f1; }
.wsl-workspace .wsl-open { background: transparent; border: 0; border-radius: 5px; color: #155d62; text-align: left; font-weight: 650; padding: 0 .15rem; width: 100%; overflow-wrap: anywhere; }
.wsl-unknown { color: var(--muted, #53666e); font-weight: 400; }
.wsl-tag { width: fit-content; margin-top: .45rem; padding: .2rem .45rem; border-radius: 5px; background: #e9f0f4; color: #334e5b; font-size: .75rem; }
.wsl-tag--check { background: #fff0d9; color: #7b491d; }
.wsl-pagination { justify-content: flex-start; margin-top: 1rem; font-size: .9rem; }
.wsl-pagination label { margin-left: auto; display: flex; align-items: center; }
.wsl-pagination select { width: 5.5rem; }
.wsl-detail { margin-top: 1.25rem; border-top: 1px solid var(--line, #d9e3e7); padding-top: 1.25rem; }
.wsl-detail h3 span { overflow-wrap: anywhere; }
.wsl-detail h4 { font-size: .95rem; margin: 1rem 0 .65rem; }
.wsl-detail dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .8rem; margin: 0; }
.wsl-detail dt { color: var(--muted, #53666e); font-size: .82rem; }
.wsl-detail dd { margin: .3rem 0 0; overflow-wrap: anywhere; }
.wsl-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (hover: hover) and (pointer: fine) { .wsl-table-scroll tbody tr:hover { background: #f3f8f8; } .wsl-workspace .wsl-open:hover { text-decoration: underline; } }
@media (max-width: 720px) {
  .wsl-workspace .wsl-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wsl-filters label:first-child, .wsl-filters label:has([name="order"]), .wsl-filters .wsl-carryover, .wsl-filter-actions { grid-column: 1 / -1; }
  .wsl-actions, .wsl-filter-actions { width: 100%; }
  .wsl-actions button, .wsl-filter-actions button { flex: 1; }
  .wsl-pagination label { width: 100%; margin-left: 0; }
  .wsl-table-scroll { max-height: 60vh; }
  .wsl-document-grid { grid-template-columns: 1fr; }
}
