.aci-company-hero{padding:1rem 0 1.25rem;border-bottom:1px solid rgba(0,0,0,.12)}.aci-company-hero h2{margin:.2rem 0}.aci-id{font-size:.82rem;opacity:.65}
.aci-profile-section{padding:1.35rem 0;border-bottom:1px solid rgba(0,0,0,.1)}.aci-section-heading{display:flex;justify-content:space-between;gap:1rem;align-items:baseline;margin-bottom:.8rem}.aci-section-heading h3{margin:0}.aci-section-heading span{font-size:.85rem;opacity:.7}
.aci-profile-card{padding:1rem;border:1px solid rgba(0,0,0,.14);border-radius:12px;margin:.7rem 0}.aci-profile-card-head{display:flex;justify-content:space-between;gap:1rem}.aci-status{font-weight:800}.aci-profile-card dl{display:grid;grid-template-columns:minmax(110px,.7fr) 1.5fr;gap:.35rem .8rem;margin:.7rem 0 0}.aci-profile-card dt{font-weight:700}.aci-profile-card dd{margin:0}
.aci-history-card{border-style:dashed}.aci-empty-state{padding:1rem;border-radius:10px;background:rgba(0,0,0,.035)}.aci-empty-state p,.aci-source-note{margin:.35rem 0 0;line-height:1.5}.aci-source-note{font-size:.9rem;opacity:.78}

/* Shared record presentation matching the Arizona ROC reference design. */
#profile-content{--record-padding:2.5rem;padding:var(--record-padding)}
#profile-content .aci-company-hero.profile-hero{background:#16293f;color:#fff;margin:calc(-1 * var(--record-padding)) calc(-1 * var(--record-padding)) 2rem;padding:var(--record-padding);border:0}
#profile-content .aci-company-hero h2{font-family:Georgia,serif;font-size:2.2rem;line-height:1.2;margin:1.5rem 0 .8rem;color:#fff!important;-webkit-text-fill-color:#fff!important;overflow-wrap:anywhere}
#profile-content .aci-company-hero p{color:#becbd5!important;-webkit-text-fill-color:#becbd5!important;margin:0}
#profile-content .aci-company-hero .sample-pill{display:table;background:#e5eef5;color:#173b59;padding:.3rem .55rem;border-radius:4px;font-size:.7rem;font-weight:800;letter-spacing:.12em}
#profile-content .aci-company-hero .avatar{display:grid;place-items:center;width:58px;height:58px;background:#f7b24d;color:#16293f;border-radius:10px;font-weight:800}
#profile-content .profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}
#profile-content .profile-stats div{background:#f5f7f8;padding:1rem;border-radius:9px;min-width:0}
#profile-content .profile-stats strong{color:#16293f;font-size:1.3rem;overflow-wrap:anywhere}
#profile-content .profile-stats span{color:#61707f;font-size:.72rem}
#profile-content .aci-current-licenses{padding:1.5rem 0 0;border:0}
#profile-content .aci-license-detail{border:1px solid #dce3e8;padding:1.1rem;border-radius:10px;margin:0 0 1rem}
#profile-content .aci-license-detail .aci-profile-card-head{font-size:1.2rem;color:#000;margin-bottom:.6rem}
#profile-content .aci-license-detail p{font-size:.85rem;color:#61707f;margin:.3rem 0;overflow-wrap:anywhere}
@media(max-width:520px){#profile-content{--record-padding:1.25rem}#profile-content .aci-company-hero h2{font-size:1.7rem}#profile-content .profile-stats{gap:.4rem}#profile-content .profile-stats div{padding:.65rem}#profile-content .profile-stats strong{font-size:1rem}}

/* Current ROC revocation is per license, not inferred from disciplinary history. */
#results .contractor-card.aci-revoked-surface,
#results .aci-revoked-license,
#profile-content .aci-profile-card.aci-revoked-surface {
 background:#fbe1e3!important;border:1px solid #c75b64!important;color:#5c1821;
}
.aci-revoked-license{padding:.7rem;border-radius:10px;margin:.5rem 0;min-width:0}
.aci-revoked-watermark{display:block;text-align:right;font-size:clamp(1.15rem,4vw,2rem);font-weight:900;letter-spacing:.08em;line-height:1.2;color:rgba(160,15,35,.65);pointer-events:none;user-select:none;margin-top:.4rem;overflow-wrap:anywhere}
#profile-content .aci-revoked-surface .aci-profile-card-head,
#profile-content .aci-revoked-surface p,
#results .aci-revoked-surface .aci-license-status{color:#791b2a}

/* Keep paused record names readable on their yellow surface. */
#profile-content .aci-company-hero.aci-estimates-paused h2,
#profile-content .aci-company-hero.aci-estimates-paused p,
body .contractor-card.aci-estimates-paused h3,
body .best-match-card.aci-estimates-paused .match-company-link {
 color:#000!important;-webkit-text-fill-color:#000!important;
}
.aci-record-review{display:block;margin:0 56px 16px 0;background:#173b59!important;color:#fff!important;-webkit-text-fill-color:#fff!important;min-height:44px}
