/* AfghanZone Investor Portal UI Clean V13
   Presentation only. No finance, API, database, purchase, sales, warehouse or cargo logic. */

/* Phase 8 hero duplicated dashboard information and can render as a large empty shell.
   Keep the underlying authority engine active, but remove the duplicate presentation. */
#az-investor-experience-v8 {
    display: none !important;
}

/* V7 remains the host for the V12 reinvestment engine. Its policy/diagnostic shell is
   redundant for investors, so only the real request center is shown. */
#az-investor-money-operations-v7 {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
#az-investor-money-operations-v7 > .az-ui-clean-hidden,
.az-ui-clean-technical {
    display: none !important;
}
#az-reinvestment-request-host-v12 {
    margin: 0 !important;
}
#az-reinvestment-request-host-v12 .az-ri-shell {
    margin-top: 0 !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04) !important;
}
#az-reinvestment-request-host-v12 .az-ri-pad {
    padding: 18px !important;
}
#az-reinvestment-request-host-v12 .az-ri-section {
    background: #fff !important;
}

/* Compact account/source banner. The safety state stays visible; developer wording does not. */
#az-investor-authority-banner {
    padding: 12px 16px !important;
    min-height: 0 !important;
    margin-bottom: 14px !important;
    gap: 10px !important;
}
#az-investor-authority-banner small {
    line-height: 1.55 !important;
}

/* Capital lifecycle remains available, but the developer subtitle is removed and spacing reduced. */
#az-investor-capital-lifecycle-v2 {
    padding: 16px !important;
}
#az-investor-capital-lifecycle-v2 > div:first-child p {
    display: none !important;
}
#az-investor-capital-lifecycle-v2 > div:first-child {
    margin-bottom: 12px !important;
}

/* The Phase 4B/46 investor-capital panel may contain legacy transition notes.
   Keep the financial figures, but make the status note compact. */
#phase4610j-capital-panel .az-ui-legacy-note {
    padding: 9px 12px !important;
    margin-block: 10px !important;
    border-radius: 10px !important;
    font-size: 11px !important;
    line-height: 1.65 !important;
}

/* Remove only labels explicitly marked by the cleanup layer as developer-only. */
.az-ui-clean-developer-badge {
    display: none !important;
}

/* Make dense request cards calmer and easier to scan. */
#az-reinvestment-request-host-v12 .az-ri-grid {
    gap: 10px !important;
}
#az-reinvestment-request-host-v12 .az-ri-card {
    padding: 12px !important;
    border-color: #e7edf4 !important;
    background: #fbfcfe !important;
}
#az-reinvestment-request-host-v12 #az-ri-self-form {
    margin-top: 14px !important;
    border-color: #e7edf4 !important;
    background: #fff !important;
}
#az-reinvestment-request-host-v12 .az-ri-table {
    margin-top: 2px !important;
}

/* Reduce vertical noise from repeated helper copy while preserving errors/statuses/forms. */
#dashboard-screen .az-ui-clean-muted-help {
    display: none !important;
}

@media (max-width: 767px) {
    #az-investor-authority-banner {
        padding: 10px 12px !important;
    }
    #az-investor-capital-lifecycle-v2,
    #az-reinvestment-request-host-v12 .az-ri-pad {
        padding: 13px !important;
    }
    #az-reinvestment-request-host-v12 .az-ri-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 430px) {
    #az-reinvestment-request-host-v12 .az-ri-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Ledger is still fully functional; hide duplicated developer/audit explanations. */
#az-ledger-sub-v6,
#az-ledger-readonly-v6,
#az-ledger-audit-note-v6,
#az-ledger-source-label-v6 + strong {
    display: none !important;
}
