.requests-panel { padding: 26px; }
.requests-panel > .section-top { align-items: start; flex-wrap: wrap; }
.requests-panel .eyebrow { margin-bottom: 8px; }
.requests-panel .section-top h2 { font-size: 20px; }
.requests-panel fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 12px; }
.request-create { margin-top: 22px; }
.request-create label[for=request-description] { font-size: 14px; color: #e1e9f6; font-weight: 600; }
.request-create textarea { min-height: 130px; font-size: 15px; line-height: 1.6; }
.request-example { color: #95a7c0; font-size: 12px; line-height: 1.6; margin-top: -4px; }
.request-optional { margin: 4px 0; }
.request-optional > summary { width: fit-content; min-height: 44px; padding: 12px 0; color: #b8d4fc; cursor: pointer; font-size: 13px; }
.request-optional > summary span { color: #93a3bb; }
.request-optional[open] > summary { margin-bottom: 4px; }
.request-upload { padding: 20px; border: 1px dashed #4e81ce88; border-radius: 14px; background: #19376422; }
.request-upload span { font-size: 11px; color: #92a6c5; line-height: 1.7; }
.request-upload input { font-size: 12px; padding: 8px; border: 0; background: transparent; }
.request-upload input::file-selector-button { background: #263955; color: #fff; border: 1px solid #547db7; border-radius: 7px; padding: 9px 12px; margin-right: 12px; cursor: pointer; }
.selected-files { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.selected-files:empty { display: none; }
.selected-file { display: flex; align-items: center; gap: 12px; border: 1px solid #ffffff19; padding: 10px; border-radius: 10px; min-width: 0; }
.selected-file img, .file-symbol { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.file-symbol { background: #1a2b46; display: grid; place-content: center; font-size: 24px; color: #9abfff; }
.selected-file > span:not(.file-symbol) { flex: 1; min-width: 0; }
.selected-file strong, .request-attachments strong { font-size: 12px; overflow-wrap: anywhere; display: block; }
.selected-file small, .request-attachments small { font-size: 10px; color: #8fa0ba; }
.selected-file .icon-button { width: 44px; min-height: 44px; font-size: 22px; flex-shrink: 0; }
.request-send { display: flex; align-items: center; gap: 16px; }
.request-send p { font-size: 12px; line-height: 1.6; color: #9cacc4; max-width: 280px; }
.request-send button { flex-shrink: 0; }
.request-feedback { margin-top: 20px; margin-bottom: 0; overflow-wrap: anywhere; }
.request-card-feedback { margin-top: 18px; margin-bottom: 0; overflow-wrap: anywhere; scroll-margin-top: 112px; }
.request-card-feedback:focus-visible { outline: 2px solid #a9cdff; outline-offset: 4px; }
.request-upload .request-upload-error { display:block; color:#ffb6b6; font-size:12px; line-height:1.6; margin-top:8px; overflow-wrap:anywhere; }
.request-card,.request-history { scroll-margin-top:112px; }
.request-card:focus-visible,.request-history:focus-visible { outline:2px solid #a9cdff; outline-offset:4px; }
.request-history { border-top: 1px solid #ffffff17; padding-top: 24px; margin-top: 28px; }
.request-history h3 { font-size: 14px; font-weight: 600; }
.request-history-title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.request-history .count-pill { font-size: 10px; color: #9aafca; }
.request-list { display: grid; gap: 16px; }
.request-card { padding: 22px; border: 1px solid #ffffff19; border-radius: 14px; background: #070b12aa; }
.request-card-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 14px; }
.request-card-heading > div { min-width: 0; flex: 1; }
.request-category { color: #86a8db; font-size: 10px; }
.request-card h3 { font-size: 16px; margin-top: 5px; overflow-wrap: anywhere; }
.request-card .status-badge { white-space: normal; }
.request-page { color: #9caec7; font-size: 11px; margin-bottom: 10px; overflow-wrap: anywhere; }
.request-description, .request-reply p { font-size: 13px; color: #c1cad8; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.8; }
.request-attachments { list-style: none; display: grid; gap: 8px; margin-top: 18px; }
.request-attachments li { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #ffffff05; border: 1px solid #ffffff10; border-radius: 10px; padding: 10px 14px; }
.request-attachments li > span { min-width: 0; }
.request-attachments button { flex-shrink: 0; }
.request-reply { border-left: 2px solid #488df2; background: #2878ef0c; padding: 14px 18px; margin-top: 20px; border-radius: 0 10px 10px 0; }
.request-reply > strong { font-size: 11px; color: #96bdff; }
.request-reply p { margin-top: 6px; }
.request-reply time { font-size: 10px; color: #7d90ae; }
.request-awaiting { font-size: 11px; color: #7d90ae; margin-top: 18px; }
.request-manage, .request-extra-files { display: grid; gap: 14px; margin-top: 18px; }
.request-manage button, .request-extra-files button { justify-self: start; }
.request-add-files { margin-top: 16px; font-size: 12px; color: #9dbfff; }
.request-add-files summary { cursor: pointer; padding: 8px 0; }
.requests-empty { padding: 20px; text-align: center; color: #8e9cb1; font-size: 12px; }
.requests-empty > span { color: #83b2ff; display: block; font-size: 28px; }
@media (max-width: 760px) {
  .summary-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .requests-panel { padding: 20px; }
  .selected-files { grid-template-columns: 1fr; }
  .request-create textarea { font-size: 16px; }
  .request-card { padding: 16px; }
  .request-send { flex-direction: column; align-items: stretch; }
  .request-send p { max-width: none; }
  .request-history > .section-top { align-items: start; flex-wrap: wrap; }
  .request-card-heading { flex-direction: column; }
  .request-attachments li { flex-wrap: wrap; }
  .request-upload { padding: 14px; }
  .requests-panel .count-pill { white-space: nowrap; }
}
