.three-dpa-org-shell,
.three-dpa-org-portal-wrap {
    --org-navy: #0b1736;
    --org-blue: #2456e8;
    --org-blue-dark: #173fbe;
    --org-cyan: #16b8d4;
    --org-border: #dbe3f0;
    --org-muted: #667085;
    --org-bg: #f4f7fb;
    --org-success: #087a55;
    --org-danger: #b42318;
    width: min(1180px, calc(100% - 32px));
    margin: 32px auto 64px;
    color: #17213b;
    font-family: inherit;
}

.three-dpa-org-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(30px, 5vw, 60px);
    border-radius: 26px;
    background: linear-gradient(135deg, #07122e 0%, #112b65 58%, #2456e8 100%);
    color: #fff;
    box-shadow: 0 22px 60px rgba(7, 18, 46, .22);
}

.three-dpa-org-hero::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -100px;
    top: -130px;
    border-radius: 50%;
    border: 52px solid rgba(255,255,255,.08);
}

.three-dpa-org-hero h1 {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 8px 0 14px;
    color: #fff;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.three-dpa-org-hero p {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 17px;
    line-height: 1.7;
}

.three-dpa-org-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #65d9ef;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.three-dpa-org-layout {
    display: grid;
    grid-template-columns: minmax(300px, .78fr) minmax(0, 1.55fr);
    gap: 24px;
    margin-top: 24px;
    align-items: start;
}

.three-dpa-org-card,
.three-dpa-org-team {
    border: 1px solid var(--org-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(21, 36, 67, .08);
}

.three-dpa-org-card {
    padding: clamp(24px, 4vw, 38px);
}

.three-dpa-org-card.login {
    position: sticky;
    top: 24px;
}

.three-dpa-org-card-head {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 24px;
}

.three-dpa-org-card-head .dashicons {
    display: grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 14px;
    background: #edf3ff;
    color: var(--org-blue);
    font-size: 23px;
}

.three-dpa-org-card h2,
.three-dpa-org-card h3,
.three-dpa-org-team h2,
.three-dpa-org-team h3 {
    margin: 0 0 7px;
    color: var(--org-navy);
    letter-spacing: -.02em;
}

.three-dpa-org-card p,
.three-dpa-org-team p {
    margin: 0;
    color: var(--org-muted);
    line-height: 1.65;
}

.three-dpa-org-form,
#three-dpa-organisation-login {
    display: grid;
    gap: 18px;
}

.three-dpa-org-form.compact {
    gap: 14px;
}

.three-dpa-org-grid {
    display: grid;
    gap: 16px;
}

.three-dpa-org-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-dpa-org-form label,
#three-dpa-organisation-login p {
    margin: 0;
}

.three-dpa-org-form label > span,
#three-dpa-organisation-login label {
    display: block;
    margin-bottom: 7px;
    color: #26324d;
    font-size: 13px;
    font-weight: 750;
}

.three-dpa-org-form em {
    color: var(--org-danger);
    font-style: normal;
}

.three-dpa-org-form input[type="text"],
.three-dpa-org-form input[type="email"],
.three-dpa-org-form input[type="url"],
.three-dpa-org-form input[type="tel"],
.three-dpa-org-form input[type="number"],
.three-dpa-org-form input[type="password"],
.three-dpa-org-form select,
.three-dpa-org-form textarea,
#three-dpa-organisation-login input[type="text"],
#three-dpa-organisation-login input[type="password"] {
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #cfd9e8;
    border-radius: 11px;
    background: #fff;
    color: #17213b;
    outline: none;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.three-dpa-org-form textarea {
    min-height: 122px;
    resize: vertical;
}

.three-dpa-org-form input:focus,
.three-dpa-org-form select:focus,
.three-dpa-org-form textarea:focus,
#three-dpa-organisation-login input:focus {
    border-color: var(--org-blue);
    box-shadow: 0 0 0 4px rgba(36, 86, 232, .12);
}

.three-dpa-org-checkbox {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--org-border);
    border-radius: 12px;
    background: #f8faff;
}

.three-dpa-org-checkbox input {
    margin-top: 4px;
}

.three-dpa-org-checkbox span {
    margin: 0 !important;
    font-weight: 600 !important;
    line-height: 1.5;
}

.three-dpa-org-button,
#three-dpa-organisation-login .button,
#three-dpa-organisation-login input[type="submit"] {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 12px 18px;
    border: 0;
    border-radius: 12px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.three-dpa-org-button.primary,
#three-dpa-organisation-login .button,
#three-dpa-organisation-login input[type="submit"] {
    background: var(--org-blue);
    color: #fff;
    box-shadow: 0 10px 24px rgba(36, 86, 232, .22);
}

.three-dpa-org-button.primary:hover,
#three-dpa-organisation-login .button:hover,
#three-dpa-organisation-login input[type="submit"]:hover {
    background: var(--org-blue-dark);
    color: #fff;
    transform: translateY(-1px);
}

.three-dpa-org-button.secondary {
    margin-left: 8px;
    background: #edf2f8;
    color: var(--org-navy);
}

.three-dpa-org-button.wide {
    width: 100%;
}

.three-dpa-org-help,
.three-dpa-org-privacy {
    margin-top: 14px !important;
    color: var(--org-muted);
    font-size: 13px;
}

.three-dpa-org-honeypot {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.three-dpa-org-notice {
    display: grid;
    gap: 3px;
    margin: 0 0 20px;
    padding: 15px 18px;
    border: 1px solid #f4c7c3;
    border-radius: 13px;
    background: #fff3f2;
    color: var(--org-danger);
}

.three-dpa-org-notice.success {
    border-color: #a8e2cd;
    background: #effcf7;
    color: var(--org-success);
}

.three-dpa-org-notice span {
    color: inherit;
    opacity: .86;
}

.three-dpa-org-signed-in {
    margin-top: 24px;
    text-align: center;
}

.three-dpa-org-signed-in p {
    margin-bottom: 20px;
}

.three-dpa-org-team {
    margin-top: 28px;
    padding: clamp(24px, 4vw, 38px);
}

.three-dpa-org-team-head {
    margin-bottom: 22px;
}

.three-dpa-org-team-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: 20px;
    align-items: start;
}

.three-dpa-org-team .three-dpa-org-card {
    padding: 24px;
    box-shadow: none;
}

.three-dpa-org-member-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.three-dpa-org-member {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--org-border);
    border-radius: 12px;
    background: #fbfcff;
}

.three-dpa-org-member.pending {
    border-style: dashed;
}

.three-dpa-org-member strong,
.three-dpa-org-member span,
.three-dpa-org-member small {
    display: block;
}

.three-dpa-org-member span,
.three-dpa-org-member small {
    color: var(--org-muted);
}

.three-dpa-org-link-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--org-danger);
    font-weight: 700;
    cursor: pointer;
}

.three-dpa-org-admin .three-dpa-crm-page-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.three-dpa-org-admin-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}

.three-dpa-org-admin-filters a {
    padding: 7px 11px;
    border: 1px solid #cfd7e4;
    border-radius: 999px;
    background: #fff;
    text-decoration: none;
}

.three-dpa-org-review dl {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 8px 14px;
}

.three-dpa-org-review dt {
    color: #667085;
    font-weight: 700;
}

.three-dpa-org-review dd {
    margin: 0;
}

.three-dpa-org-review-block {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid #dfe5ee;
    border-radius: 12px;
    background: #f8fafc;
}

.three-dpa-org-review-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.three-dpa-org-review-actions form {
    padding: 18px;
    border: 1px solid #dfe5ee;
    border-radius: 12px;
    background: #fff;
}

.three-dpa-org-review-actions label,
.three-dpa-org-review-actions textarea,
.three-dpa-org-review-actions select {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.three-dpa-org-review-actions label > span {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .three-dpa-org-layout,
    .three-dpa-org-team-grid,
    .three-dpa-org-review-actions {
        grid-template-columns: 1fr;
    }

    .three-dpa-org-card.login {
        position: static;
    }
}

@media (max-width: 640px) {
    .three-dpa-org-shell,
    .three-dpa-org-portal-wrap {
        width: min(100% - 20px, 1180px);
        margin-top: 14px;
    }

    .three-dpa-org-grid.two {
        grid-template-columns: 1fr;
    }

    .three-dpa-org-hero,
    .three-dpa-org-card,
    .three-dpa-org-team {
        border-radius: 17px;
    }

    .three-dpa-org-button.secondary {
        margin: 8px 0 0;
    }
}
