.shell .gis-request-badge{display:inline-flex;align-items:center;gap:5px;vertical-align:middle;margin:4px 0 4px 8px;padding:3px 7px;border:1px solid #bfd4ee;border-radius:6px;background:#edf5ff;color:#2d6099;font-size:11px;font-weight:600;line-height:16px;white-space:nowrap}
.shell .gis-request-badge::before{content:"";width:14px;height:14px;background:url('/inbox-source-logos/max-gis-symbols.svg') right center/30px 14px no-repeat;flex-shrink:0}
.shell .gis-request-origin{display:flex;flex-direction:column;gap:5px;margin-top:12px;padding-top:10px;border-top:1px solid #d5e2f2;font-size:13px;line-height:1.5}
.shell .gis-request-origin a{color:#2d6099;text-decoration:underline;text-underline-offset:3px}
html[data-theme=dark] .shell .gis-request-badge{background:#233c59;border-color:#48698e;color:#c5ddfb}
html[data-theme=dark] .shell .gis-request-origin{border-color:#48698e}html[data-theme=dark] .shell .gis-request-origin a{color:#b5d3fa}
/* Give the source its own row; never squeeze the request number. */
.shell .request-identity-heading:has(>.gis-request-badge){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:6px 10px}
.shell .request-identity-heading:has(>.gis-request-badge)>.request-journal-number{grid-column:1;grid-row:1;display:block;white-space:nowrap;overflow-wrap:normal;word-break:normal;min-width:max-content}
.shell .request-identity-heading:has(>.gis-request-badge)>.request-status{grid-column:2;grid-row:1}
.shell .request-identity-heading>.gis-request-badge{grid-column:1/-1;grid-row:2;justify-self:start;margin:0;max-width:100%;box-sizing:border-box}
.shell .max-request-badge::before{background-position:left center}
@media(max-width:380px){.shell .request-identity-heading:has(>.gis-request-badge){grid-template-columns:1fr}.shell .request-identity-heading:has(>.gis-request-badge)>.request-status{grid-column:1;grid-row:2}.shell .request-identity-heading>.gis-request-badge{grid-row:3}}
.shell button.source-appeal-button{font:inherit;font-size:11px;line-height:16px;font-weight:600;min-height:0;padding:3px 7px;cursor:pointer;text-align:left}
.shell button.source-appeal-button:hover{background:#dcecff;border-color:#749dcb}
.shell button.source-appeal-button:focus-visible{outline:2px solid #3271bb;outline-offset:3px}
.source-appeal-dialog{box-sizing:border-box;width:min(720px,92vw);max-height:85vh;margin:auto;padding:22px;border:1px solid #cbdcf0;border-radius:16px;background:#fff;color:#244568;overflow:auto;font-family:inherit}
.source-appeal-dialog::backdrop{background:#14283e80}
.source-appeal-dialog header{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;margin-bottom:16px}
.source-appeal-dialog h2{font-size:18px;line-height:1.4;margin:0}
.source-appeal-dialog button{border:1px solid #cbdcf0;border-radius:8px;background:#f1f6fd;color:#2d6099;padding:8px 12px;font:inherit;cursor:pointer}
.source-appeal-dialog p{font-size:14px;line-height:1.5}.source-appeal-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.6;font-weight:400}
.source-appeal-amendment{margin-top:16px;padding-top:12px;border-top:1px solid #d5e2f2}.source-appeal-photo{margin-top:12px}.source-appeal-photo img{max-width:100%;height:auto;border-radius:8px}
html[data-theme=dark] .source-appeal-dialog{background:#1e3046;color:#d9e8fb;border-color:#48698e}html[data-theme=dark] .source-appeal-dialog button{background:#233c59;color:#c5ddfb;border-color:#48698e}
