#directory-screen { padding: 0 15px 30px; }
#account-linking-screen { padding: 24px 20px 50px; max-width: 1400px; }
.link-eyebrow { color: #526575; font-size: 12px; letter-spacing: 1.3px; font-weight: 700; }
.link-tabs, .link-actions, .link-search, .link-pager { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.link-tabs { border-bottom: 1px solid #dce2e8; padding-bottom: 14px; }
.link-tabs .active { background: #245780; color: white; }
.link-select { width: auto; }
.link-card { background: #fff; border: 1px solid #d7e0e7; border-radius: 6px; padding: 20px; margin: 22px 0; }
.link-card h2:first-child, .link-card h3:first-child { margin-top: 0; }
.link-card .form-group { margin-top: 16px; }
.link-card dd, .link-table-wrap td { overflow-wrap: anywhere; }
.link-search { align-items: flex-end; padding: 16px; background: #f3f6f8; border-radius: 5px; }
.link-search label:first-child { flex: 1; min-width: 230px; }
.link-search label { margin: 0; }
.link-search input, .link-search select { margin-top: 5px; }
.link-pager { justify-content: space-between; color: #526575; }
.link-table-wrap { overflow-x: auto; }
.link-table-wrap table { min-width: 600px; }
.link-row-actions .btn { display: block; margin-bottom: 5px; }
.link-note { white-space: pre-wrap; }
.link-confirm { border-left: 4px solid #245780; }
.link-confirmation { display: block; margin: 18px 0 8px; }
.link-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.link-comparison > div { padding: 16px; background: #f5f7f9; border-radius: 4px; overflow-wrap: anywhere; }
.link-facts dt { margin-top: 8px; }
.link-waiting { max-width: 760px; margin: 40px auto; padding: 0 20px; }
.link-waiting form button { margin-top: 12px; }
@media (max-width: 900px) { .link-comparison { grid-template-columns: 1fr; } #account-linking-screen { padding: 20px 10px; } }
#directory-screen h1 { margin-top: 20px; }
#directory-screen form { margin: 20px 0; }
#directory-screen td { overflow-wrap: anywhere; }
#service-request-list-screen { padding-bottom: 30px; }
.request-statuses, .request-filters, .request-filter-actions, .request-list-tools, .request-pager { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.request-statuses { margin: 12px 0 20px; }
.request-statuses .active { color: #fff; background: #286090; border-color: #204d74; }
.request-filters { align-items: flex-end; padding: 16px; background: #f4f6f8; border: 1px solid #dce2e8; border-radius: 5px; }
.request-filters label { margin: 0; min-width: 150px; flex: 1; }
.request-filters .request-search { flex: 2; min-width: 270px; }
.request-filters input, .request-filters select { margin-top: 4px; }
.request-filter-actions { padding-top: 6px; }
.request-history-option { margin: 10px 0; font-weight: normal; }
.request-list-tools { justify-content: flex-end; margin: 12px 0; }
.request-list-tools label { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: normal; }
.request-list-tools select { width: auto; }
.request-pager { justify-content: space-between; padding: 12px 0; color: #4c5663; }
.request-pager .page-number { display: inline-block; padding: 0 8px; }
.request-table-scroll { overflow-x: auto; }
.request-open { background: none; border: 0; padding: 0; color: #245780; text-align: left; text-decoration: underline; }
.request-open:focus { outline: 2px solid #245780; outline-offset: 3px; }
.request-loading, .request-empty { padding: 24px 0; }
.request-detail { min-width: 550px; }
#service-request-list-screen tr.selected .request-open { color: inherit; }
#service-request-list-screen .request-detail .gk-container { min-height: 0; overflow: auto; }
