/* Revision20: approved administration hierarchy; presentation only. */
.admin-design .ad-member-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px}
.admin-design .ad-member-header .ad-member-identity{min-width:0}
.admin-design .ad-member-identity h2{overflow-wrap:break-word;line-height:1.3}
.admin-design .ad-member-identity p{overflow-wrap:anywhere;line-height:1.5}
.admin-design .ad-member-header>.badge{margin:0;max-width:210px}
.admin-design .ad-member-record{display:grid;grid-template-columns:36px minmax(0,1fr);gap:8px 10px;padding:12px;text-align:left}
.admin-design .ad-member-record>.ad-avatar{width:36px;height:36px;font-size:12px}
.admin-design .ad-member-record-identity{display:flex;flex-direction:column;gap:3px}
.admin-design .ad-member-record-identity>b{color:var(--ad-text);font-size:13px;line-height:1.4}
.admin-design .ad-member-record-identity>small{font-size:11px;line-height:1.45;overflow-wrap:anywhere}
.admin-design .ad-member-record-status{grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:8px}
.admin-design .ad-member-record-status .badge{max-width:100%;white-space:normal}
.admin-design .ad-deposit-processing{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
.admin-design .ad-deposit-processing>small{font-size:11px;color:var(--ad-muted);font-weight:400}
.admin-design .ad-balance-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.admin-design .ad-balance-grid>div{grid-column:span 2;padding:13px}
.admin-design .ad-balance-grid>div:nth-last-child(-n+2){grid-column:span 3}
.admin-design .ad-balance-grid b{white-space:normal;overflow-wrap:anywhere;font-size:20px;font-variant-numeric:tabular-nums}
.admin-design .ad-verification-workbench{grid-template-columns:minmax(0,1fr)}
.admin-design .ad-verification-workbench>.ad-queue{max-height:440px;padding:18px}
.admin-design .ad-verification-workbench>.ad-detail{min-width:0}
.admin-design .ad-review-applicant{display:flex;align-items:center;gap:10px}
.admin-design .ad-review-applicant>span:last-child{flex:1;min-width:0}
.admin-design .ad-review-applicant .ad-avatar{width:36px;height:36px;font-size:12px}
.admin-design #ad-verification-queue th:first-child{width:30%}
.admin-design #ad-verification-queue th:last-child{width:120px}
.admin-design #ad-verification-queue [aria-pressed=true]{border-color:var(--ad-accent);color:var(--ad-accent)}
.admin-design .ad-staff-context>div{display:flex;flex-direction:column;gap:14px}
.admin-design .ad-staff-context .ad-panel{margin:0;width:100%}
.admin-design .ad-staff-context .ad-facts{grid-template-columns:minmax(88px,.8fr) minmax(0,1.3fr);column-gap:16px;row-gap:12px;font-size:12px}
.admin-design .ad-staff-context .ad-facts dt{overflow-wrap:normal}
.admin-design .ad-staff-context .ad-facts dd{min-width:0;overflow-wrap:anywhere;line-height:1.6}
.admin-design .ad-staff-context .ad-notice{font-size:12px;line-height:1.65;padding:12px}
.admin-design .ad-summary-accounts{padding:10px 0;border-bottom:1px solid var(--ad-border)}
.admin-design .ad-summary-accounts>h3{font-size:12px;margin:0 0 6px;color:var(--ad-muted)}
.admin-design .ad-provider-account-details>summary,.admin-design .ad-account-capabilities>summary,.admin-design .ad-connection-check>summary,.admin-design .ad-health-email-details>summary{cursor:pointer;line-height:1.5;padding:12px;color:var(--ad-text);border-radius:8px;min-height:44px}
.admin-design .ad-provider-account-details>summary:hover,.admin-design .ad-account-capabilities>summary:hover,.admin-design .ad-connection-check>summary:hover,.admin-design .ad-health-email-details>summary:hover{background:var(--ad-panel-soft)}
.admin-design details>summary:focus-visible{outline:2px solid var(--ad-accent);outline-offset:3px}
.admin-design .ad-provider-account-details>div{display:grid;gap:12px;padding:10px 0}
.admin-design .ad-provider-account-details article{padding:12px;background:var(--ad-panel-soft);border:1px solid var(--ad-border);border-radius:8px}
.admin-design .ad-provider-account-details h3{font-size:13px;margin:0 0 12px;overflow-wrap:anywhere}
.admin-design .ad-connection-check,.admin-design .ad-account-capabilities{border-top:1px solid var(--ad-border);padding:0;margin-top:12px}
.admin-design .ad-connection-check>summary span,.admin-design .ad-account-capabilities>summary small{display:block;font-size:11px;color:var(--ad-muted);margin-top:5px;overflow-wrap:anywhere}
.admin-design .ad-connection-check>div,.admin-design .ad-account-capabilities>.ad-facts{padding:12px 0}
.admin-design .ad-health-email-details{background:var(--ad-panel);border:1px solid var(--ad-border);border-radius:12px;padding:8px;margin:20px 0}
.admin-design .ad-health-email-details>summary{font-weight:600}
.admin-design .ad-health-email-details>div{display:grid;gap:18px;padding:10px 0 0}
.admin-design #ad-health .ad-grid-7-5{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
/* This read-only dialog is mounted outside the administrator page root. */
#modal .deposit-dispositions,#modal .deposit-dispositions>article{min-width:0;max-width:100%}
#modal .deposit-dispositions p,#modal .deposit-dispositions h3{overflow-wrap:anywhere}
#modal .deposit-dispositions .card-head{align-items:flex-start;flex-wrap:wrap;gap:12px}
#modal .deposit-dispositions .card-head>h3{flex:1 1 180px;min-width:0;margin:0}
#modal .deposit-dispositions .badge{max-width:100%;white-space:normal;overflow-wrap:anywhere}
#modal .deposit-dispositions .mc-facts{grid-template-columns:minmax(0,.85fr) minmax(0,1.5fr)}
#modal .deposit-dispositions .mc-facts dt,#modal .deposit-dispositions .mc-facts dd{min-width:0;overflow-wrap:anywhere}
@media(min-width:1260px){
  .admin-design .ad-support-workbench{grid-template-columns:minmax(210px,.6fr) minmax(0,2.1fr);gap:16px}
  .admin-design .ad-staff-chat-grid{grid-template-columns:minmax(290px,1.35fr) minmax(280px,1fr);gap:16px}
}
@media(min-width:768px){
  .admin-design .ad-panel{padding:18px}
  .admin-design .ad-panel-head{margin-bottom:15px}
  .admin-design .ad-table td{padding:10px;line-height:1.5}
  .admin-design .ad-provider-row{grid-template-columns:22px minmax(0,1fr) minmax(100px,.75fr);padding:12px 0}
  .admin-design .ad-provider-card{min-height:165px;padding:15px;gap:9px}
}
@media(max-width:767px){
  .admin-design .ad-member-header{grid-template-columns:44px minmax(0,1fr);align-items:start;gap:10px 12px;padding:14px}
  .admin-design .ad-member-header>.badge{grid-column:2;justify-self:start;max-width:100%;margin:0}
  .admin-design .ad-member-identity h2{font-size:19px;margin:0}
  .admin-design .ad-member-identity p{font-size:12px;margin:5px 0}
  .admin-design .ad-member-identity small{font-size:11px;line-height:1.5}
  .admin-design .ad-balance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-design .ad-balance-grid>div,.admin-design .ad-balance-grid>div:nth-last-child(-n+2){grid-column:auto;padding:12px}
  .admin-design .ad-balance-grid>div:last-child{grid-column:1/-1}
  .admin-design .ad-balance-grid b{font-size:19px}
  .admin-design .ad-verification-workbench{display:block}
  .admin-design .ad-verification-workbench>.ad-queue{max-height:none;padding:14px}
  .admin-design #ad-verification-queue .ad-table td{grid-template-columns:minmax(75px,.6fr) minmax(0,1.4fr)}
  .admin-design #ad-verification-queue .ad-table td:first-child{display:block}
  .admin-design #ad-verification-queue .ad-table td:first-child::before{display:none}
  .admin-design #ad-verification-queue .ad-review-applicant .ad-avatar{width:40px;height:40px}
  .admin-design #ad-verification-queue .ad-review-applicant small{overflow-wrap:anywhere}
  .admin-design .ad-staff-context .ad-facts{grid-template-columns:minmax(90px,.75fr) minmax(0,1.25fr);gap:12px 16px}
  .admin-design #ad-health .ad-grid-7-5{grid-template-columns:minmax(0,1fr)}
  .admin-design .ad-health-email-details>summary{font-size:13px}
  #modal .deposit-dispositions .mc-facts{grid-template-columns:minmax(0,1fr)}
}
/* The publication confirmation must remain readable before its action. */
@media(width < 768px){#ad-legal-form .ad-sticky-actions{position:static;bottom:auto;margin-top:12px}#ad-legal-form .ad-sticky-actions button{width:100%}}

/* Revision21: bounded readability corrections for recorded admin evidence. */
.admin-design .ad-handoff-department,.admin-design .ad-handoff-department>div{min-width:0;width:100%}
.admin-design .ad-handoff-department select{width:100%;min-width:0}
.admin-design .ad-provider-observations{display:grid;gap:14px}
.admin-design .ad-provider-observation{min-width:0;padding:12px;border:1px solid var(--ad-border);border-radius:8px;background:var(--ad-panel-soft)}
.admin-design .ad-provider-observation h3{font-size:13px;margin:0 0 5px;overflow-wrap:anywhere}
.admin-design .ad-provider-observation>p{font-size:11px;color:var(--ad-muted);margin:0 0 12px;overflow-wrap:anywhere}
.admin-design .ad-provider-observation .ad-facts{grid-template-columns:minmax(0,1fr);gap:5px}
.admin-design .ad-provider-observation .ad-facts dd{min-width:0;margin:0 0 10px;line-height:1.6}
.admin-design .ad-provider-observation .badge{max-width:100%;white-space:normal;word-break:normal;overflow-wrap:normal}
@media(min-width:1100px){
  .admin-design .ad-route-execution{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px;margin:18px 0}
  .admin-design .ad-route-execution>li{display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0;padding:0 0 16px;text-align:center}
  .admin-design .ad-route-execution>li:not(:last-child)::before{width:calc(50% - 20px);height:1px;left:calc(50% + 20px);top:15px;bottom:auto;background:var(--ad-border)}
  .admin-design .ad-route-execution>li>div{width:100%;min-width:0}
  .admin-design .ad-route-execution .route-step-title{flex-direction:column;gap:7px;align-items:center}
  .admin-design .ad-route-execution p{line-height:1.6;overflow-wrap:anywhere}
  .admin-design .ad-route-execution details{text-align:left;min-width:0;overflow-wrap:anywhere}
  .admin-design .ad-route-execution details>.ad-facts{grid-template-columns:minmax(0,1fr);gap:5px}
  .admin-design .ad-route-execution details>.ad-facts dd{margin:0 0 10px}
}

/* Side-by-side case review on desktop; mobile keeps list / detail / return. */
@media(min-width:1100px){
 .admin-design .ad-verification-workbench{grid-template-columns:minmax(300px,0.8fr) minmax(0,1.4fr)}
 .admin-design #ad-verification-queue .ad-table thead{display:none}
 .admin-design #ad-verification-queue .ad-table tr{display:block;padding:12px 0;border-bottom:1px solid var(--ad-border)}
 .admin-design #ad-verification-queue .ad-table td{display:flex;justify-content:space-between;gap:12px;width:100%;border:0;padding:5px 0}
 .admin-design #ad-verification-queue .ad-table td::before{content:attr(data-label);font-size:11px;color:var(--ad-muted)}
 .admin-design #ad-verification-queue .ad-table td:first-child::before{display:none}
 .admin-design .ad-verification-workbench .ad-grid-7-5{grid-template-columns:minmax(0,1fr)}
}
