/* Request controls inherit the shared FORM+ typography, theme and button material. */
.lsp-request-workflow [hidden], .lsp-request-workflow tr[hidden] { display: none !important; }
.lsp-request-steps { display: flex; flex-wrap: wrap; gap: 12px 30px; padding-left: 22px; margin: 20px 0; }
.lsp-request-steps button, .lsp-request-use-available { appearance: none; border: 0; border-radius: 4px; background: transparent; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 4px; }
.lsp-request-steps a { color: inherit; }
.lsp-request-selection { position: sticky; top: 12px; z-index: 4; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 12px 18px; margin: 16px 0; border: 1px solid rgb(160 180 169 / 35%); border-radius: 18px; background: rgb(20 29 26 / 93%); color: #f4f7f5; backdrop-filter: blur(18px); }
[data-theme="light"] .lsp-request-selection { background: rgb(247 250 247 / 94%); color: #23342d; }
.lsp-request-workflow section { scroll-margin-top: 95px; }
.lsp-request-workflow .lsp-card h3 { margin-top: 0; }
.lsp-request-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 18px; margin: 22px 0 14px; }
.lsp-request-filters > label:first-child { display: grid; gap: 8px; flex: 1 1 250px; }
.lsp-request-filters .lsp-request-selected-toggle { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; }
.lsp-request-selected-toggle input { width: auto !important; }
.lsp-request-workflow .lsp-request-field { display: grid; gap: 6px; margin: 12px 0; font-size: 0.95em; }
.lsp-request-field input, .lsp-request-field textarea { margin: 0 !important; }
.lsp-request-use-available { display: block; margin: 5px auto 0; font-size: 0.8em; white-space: normal; }
.lsp-request-use-available:disabled { opacity: 0.5; cursor: default; text-decoration: none; }
.lsp-request-workflow input[readonly] { opacity: 0.65; }
.lsp-request-workflow .lsp-form-response:empty { display: none; }
.lsp-request-workflow .lsp-form-response.is-error { padding: 14px; border: 1px solid currentColor; border-radius: 12px; margin: 14px 0; }
.lsp-request-review { border-color: rgb(132 178 153 / 70%) !important; }
.lsp-request-review-items { padding-left: 22px; display: grid; gap: 10px; }
.lsp-request-review-details { display: grid; grid-template-columns: minmax(120px, 170px) 1fr; gap: 12px 18px; margin: 22px 0; }
.lsp-request-review-details dt { font-weight: 600; }
.lsp-request-review-details dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.lsp-request-review > button { margin: 4px 8px 4px 0; }
.lsp-request-workflow :is(button, a, input, textarea, select):focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.lsp-request-confirmation { padding: 16px 20px; margin-bottom: 18px; border: 1px solid rgb(132 178 153 / 70%); border-radius: 16px; }
.lsp-shipment-timeline { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 0; margin: 12px 0; font-size: 0.88em; }
.lsp-shipment-timeline li { opacity: 0.55; }
.lsp-shipment-timeline li.is-complete, .lsp-shipment-timeline li[aria-current="step"] { opacity: 1; }
.lsp-shipment-timeline li[aria-current="step"] { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.lsp-tracking-summary { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0; }
.lsp-tracking-summary a { color: inherit; text-decoration: underline; }
.lsp-receipt-personal-status { margin: 8px 0; }
@media (max-width: 640px) {
    .lsp-beta-app .lsp-request-workflow td[data-label="Quantity to request"] { display: grid; grid-template-columns: minmax(0, 1fr) 90px; gap: 8px; align-items: center; }
    .lsp-beta-app .lsp-request-workflow td[data-label="Quantity to request"] .lsp-qty-input { width: 90px !important; min-width: 0; margin: 0 !important; }
    .lsp-beta-app .lsp-request-workflow td[data-label="Quantity to request"] .lsp-request-use-available { grid-column: 2; margin: 0; font-size: 12px; line-height: 1.4; }
    .lsp-beta-app .lsp-request-workflow td[data-label]::before { font-size: 12px; text-transform: none; font-weight: 500; }
    .lsp-request-selection { top: 6px; padding: 10px 12px; border-radius: 14px; font-size: 0.88em; }
    .lsp-request-selection .lsp-button { padding: 8px 12px; }
    .lsp-request-steps { gap: 10px 24px; font-size: 0.88em; }
    .lsp-request-review-details { grid-template-columns: 1fr; gap: 5px; }
    .lsp-request-review-details dd { margin-bottom: 12px; }
    .lsp-request-use-available { margin-left: 0; }
}
