.credentials-workspace{--cred-border:var(--line,#d8dce2);max-width:100%;min-width:0}
.credentials-workspace h2{margin:0 0 .5rem;font-size:1.5rem}.credentials-workspace h3{font-size:1.12rem;margin:1rem 0 .6rem}.credentials-workspace h4{margin:0;font-size:1rem;flex:1 1 15rem}
.cred-overview,.cred-requests{padding:.8rem 1rem;border:1px solid var(--cred-border);border-radius:8px;margin:.75rem 0}.cred-requests{border-left:4px solid #b28b2b}.cred-overview p,.cred-hint{font-size:.88rem;line-height:1.5;margin:.35rem 0;color:inherit;opacity:.86}
.cred-upload{border:1px solid var(--cred-border);border-radius:10px;padding:1rem;margin:1rem 0;scroll-margin-top:calc(var(--site-header-height,100px) + 12px)}.cred-upload h3{margin-top:0}.cred-upload label{display:block;font-size:.9rem;font-weight:600;margin:.6rem 0}.cred-upload select,.cred-upload input{font:inherit;box-sizing:border-box;width:100%;max-width:100%;padding:.55rem .65rem;border:1px solid var(--cred-border);border-radius:6px;background:var(--card,#fff);color:var(--ink,#182637)}.cred-upload select{min-height:42px}.cred-upload input[type=file]{padding:.5rem}.cred-upload input[type=date]{max-width:17rem}.cred-upload [role=status]:empty,#credNotice:empty{display:none}#credNotice{margin:.7rem 0;padding:.6rem;border:1px solid var(--cred-border);border-radius:6px}
.cred-item{padding:.85rem 0;border-bottom:1px solid var(--cred-border)}.cred-item-head,.cred-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.credentials-workspace button,.credentials-workspace .cred-actions a{font:inherit;font-size:.82rem;font-weight:600;line-height:1.3;padding:.38rem .58rem;min-height:32px;min-width:32px;border:1px solid var(--cred-border);border-radius:5px;text-decoration:none;background:transparent;color:inherit;cursor:pointer}.credentials-workspace .cred-primary{background:#203566;color:#fff;border-color:#203566}.credentials-workspace button:disabled{opacity:.55;cursor:wait}.credentials-workspace :is(button,a,input,select,summary):focus-visible{outline:3px solid var(--focus-color,#1B2440);outline-offset:3px}.cred-file{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;padding:.6rem 0}.cred-file-info{flex:1 1 13rem;min-width:0}.cred-file-info b{display:block;font-weight:600;overflow-wrap:anywhere;font-size:.9rem}.cred-file-info span{display:block;font-size:.8rem;line-height:1.6;opacity:.85}.cred-review-note{font-size:.85rem;white-space:pre-wrap;overflow-wrap:anywhere;margin:.2rem 0}.cred-history summary,.cred-additional summary{cursor:pointer;font-size:.9rem;padding:.5rem 0}.cred-id-group{margin:.4rem 0;padding-left:.6rem;border-left:2px solid var(--cred-border);font-size:.9rem}.cred-additional{margin:1rem 0}.cred-additional>p{font-size:.88rem}
@media(pointer:coarse){.credentials-workspace button,.credentials-workspace .cred-actions a{min-height:44px;min-width:44px}}
@media(max-width:600px){.cred-upload{padding:.75rem}.cred-item-head h4{flex-basis:100%}.cred-file .cred-actions{flex-basis:100%}.cred-upload input[type=date]{max-width:100%}}
html.high-contrast .credentials-workspace :is(.cred-status,.cred-hint,.cred-file-info span){color:inherit;opacity:1}

/* Status colours always have text and an icon. A supplied file is not a warning. */
.credentials-workspace .is-verified{--cred-state-ink:#1d654b;--cred-state-bg:#edf8f2;--cred-state-line:#bedfcd}
.credentials-workspace .is-pending{--cred-state-ink:#285a8d;--cred-state-bg:#eef5fc;--cred-state-line:#c3d8ee}
.credentials-workspace :is(.is-missing,.is-attention){--cred-state-ink:#805019;--cred-state-bg:#fff6e6;--cred-state-line:#e8d4ad}
.credentials-workspace .is-neutral{--cred-state-ink:#59616e;--cred-state-bg:#f1f3f5;--cred-state-line:#d6dbe2}
.cred-overview{background:var(--cred-state-bg);color:var(--cred-state-ink);border-color:var(--cred-state-line);border-left:0;padding:1rem}
.cred-overview-main{display:flex;align-items:center;gap:.75rem;min-width:0}.cred-overview-main>div{flex:1;min-width:0}.cred-overview-main>button{flex-shrink:0;border-color:currentColor}.cred-overview strong{display:block;font-size:1rem}.cred-overview p{opacity:1;margin:.3rem 0 0;overflow-wrap:anywhere}
.cred-icon{display:inline-block;width:1rem;height:1rem;flex-shrink:0;vertical-align:-.15em}.cred-overview-main>.cred-icon{width:1.75rem;height:1.75rem}
.credentials-workspace .cred-status{display:inline-flex;align-items:center;gap:.3rem;max-width:100%;box-sizing:border-box;font-size:.76rem;line-height:1.4;white-space:normal;padding:.2rem .45rem;border-radius:5px;font-weight:700;border:1px solid var(--cred-state-line);color:var(--cred-state-ink);background:var(--cred-state-bg);opacity:1}
.cred-file-info>.cred-status{margin:.25rem 0 .1rem}.cred-file-info .cred-file-meta{font-size:.78rem}.cred-explainer{font-size:.85rem;margin:.6rem 0 1rem}.cred-explainer summary{cursor:pointer;padding:.25rem 0}.cred-explainer p{line-height:1.6;margin:.5rem 0;max-width:65ch}.cred-coverage{font-size:.85rem;line-height:1.6}.cred-coverage .cred-icon{margin-right:.35rem}
#credChecklistTitle,.cred-item-head h4{scroll-margin-top:calc(var(--site-header-height,100px) + 16px)}
@media(max-width:700px){.cred-overview-main{flex-wrap:wrap;align-items:flex-start}.cred-overview-main>div{flex-basis:calc(100% - 3rem)}.cred-overview-main>button{margin-left:2.5rem;max-width:calc(100% - 2.5rem);white-space:normal}}
html.high-contrast .credentials-workspace :is(.cred-overview,.cred-status){background:#fff;color:#000;border:2px solid #000;opacity:1}
@media(forced-colors:active){.credentials-workspace :is(.cred-overview,.cred-status){background:Canvas;color:CanvasText;border:1px solid CanvasText}}

.credentials-workspace :is(#credChecklistTitle,.cred-item-head h4):focus-visible{outline:3px solid var(--focus-color,#1B2440);outline-offset:4px}
