/* Shared Awn identity. Components retain their own functional layouts. */
.portal-auth-page {
    color: #17324d;
    background: radial-gradient(circle at 88% 12%, rgb(214 169 74 / 10%), transparent 30%), #f8f7f4;
}
.portal-auth-page .portal-auth-card {
    border-color: #e1e5ea;
    box-shadow: 0 16px 40px rgb(6 30 56 / 7%);
}
.portal-auth-page .portal-auth-card h1,
.portal-auth-page .brand,
.portal-auth-page .portal-field label { color: #061e38; }
.portal-auth-page .portal-auth-card h1 em,
.portal-auth-page .portal-kicker { color: #906a24; }
.portal-auth-page .portal-kicker span { background: #d6a94a; }
.portal-auth-page .portal-auth-card button { background: #061e38; color: #fff; }
.portal-auth-page .portal-auth-card button:hover { background: #17324d; }
.portal-auth-page .portal-auth-card button:focus-visible {
    outline: 2px solid #d6a94a;
    outline-offset: 3px;
}
.portal-auth-page .portal-auth-switch a,
.portal-auth-page .portal-back-home { color: #17324d; border-color: #d6a94a; }
.portal-auth-page .portal-field input:focus {
    border-color: #a78135;
    box-shadow: 0 0 0 3px rgb(214 169 74 / 15%);
}
.portal-auth-page input[type="checkbox"] { accent-color: #061e38; }
.brand:has(.awn-brand-mark) {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-decoration: none;
}
.brand .brand-mark.awn-brand-mark {
    display: grid;
    place-items: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #d6a94a;
    box-shadow: none;
}
.brand-mark.awn-brand-mark > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.brand:has(.awn-brand-mark) > span:last-child { min-width: 0; }
.brand:has(.awn-brand-mark) > span:last-child > strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
}
.brand:has(.awn-brand-mark) > span:last-child > small {
    display: block;
    margin-top: 3px;
    font-size: .75rem;
    line-height: 1.6;
}
.brand:has(.awn-brand-mark):focus-visible {
    outline: 2px solid #d6a94a;
    outline-offset: 5px;
    border-radius: 10px;
}
.institutional-home .platform-hub-heading {
    padding-top: clamp(26px, 3.5vw, 46px);
    padding-bottom: 44px;
}
.institutional-home .platform-hub-surface { margin-top: 0; }
.institutional-home .platform-hub-grid strong {
    font-size: clamp(.875rem, 1.2vw, 1rem);
    line-height: 1.65;
}
.institutional-home .awn-home-signature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.institutional-home .awn-home-signature > div { min-width: 0; text-align: center; }
.institutional-home .awn-home-signature .awn-brand-mark {
    display: block;
    flex: 0 0 92px;
    width: 92px;
    height: 92px;
    padding: 0;
    background: none;
    border: 0;
}
.institutional-home .platform-hub-heading .awn-home-signature h1 {
    margin: 0;
    color: #d6a94a;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: 0;
    text-wrap: balance;
}
.institutional-home .awn-home-latin {
    display: block;
    margin-top: 8px;
    color: rgb(225 232 240 / 76%);
    direction: ltr;
    font-family: Inter, Arial, sans-serif;
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .24em;
}
.institutional-home .platform-hub-heading > p {
    margin: 14px 0 0;
    color: #e1e8f0;
    font-size: 1rem;
    line-height: 1.8;
}
@media (max-width: 760px) {
    .brand .brand-mark.awn-brand-mark { flex-basis: 46px; width: 46px; height: 46px; }
    .brand:has(.awn-brand-mark) > span:last-child > strong { font-size: 1.35rem; }
    /* Retire the older hero's forced overlap allowance on small screens. */
    .institutional-home .platform-hub-heading { padding: 26px 16px 34px !important; }
    .institutional-home .awn-home-signature { gap: 12px; }
    .institutional-home .awn-home-signature .awn-brand-mark { flex-basis: 64px; width: 64px; height: 64px; }
    .institutional-home .platform-hub-heading .awn-home-signature h1 { font-size: clamp(1.62rem, 8.4vw, 2.2rem); }
    .institutional-home .awn-home-latin { margin-top: 5px; font-size: .53rem; letter-spacing: .16em; }
    .institutional-home .platform-hub-heading > p { font-size: .875rem; }
}

/* A concise, actionable result panel for title de-duplication in the control studio. */
.duplicate-title-check {
    margin-top: 9px;
    border: 1px solid #b9d9cf;
    border-inline-start: 4px solid #287b70;
    border-radius: 11px;
    background: #f3faf7;
    padding: 11px 13px;
    color: #254d4f;
    box-shadow: 0 8px 22px rgb(22 74 69 / 6%);
}
.duplicate-title-check.is-exact { border-color: #dfbf76; border-inline-start-color: #b97d1f; background: #fff9e9; }
.duplicate-title-check > strong { display: block; font-size: 11px; line-height: 1.7; }
.duplicate-title-check > p { margin: 3px 0 0; color: #637a78; font-size: 9px; line-height: 1.8; }
.duplicate-title-check ul { display: grid; gap: 5px; margin: 9px 0 0; padding: 0; list-style: none; }
.duplicate-title-check li { display: flex; align-items: baseline; justify-content: space-between; gap: 9px; border-top: 1px solid rgb(47 112 104 / 13%); padding-top: 6px; }
.duplicate-title-check a { min-width: 0; overflow: hidden; color: #18685f; font-size: 10px; font-weight: 800; line-height: 1.7; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.duplicate-title-check a:hover { color: #0e4d48; text-decoration: underline; }
.duplicate-title-check small { flex: none; color: #758582; font-size: 8px; white-space: nowrap; }
.duplicate-title-check.is-exact a { color: #95651e; }
@media (max-width: 620px) {
    .duplicate-title-check { padding: 11px; }
    .duplicate-title-check > strong { font-size: 12px; }
    .duplicate-title-check > p,.duplicate-title-check a { font-size: 10px; }
    .duplicate-title-check li { display: block; }
    .duplicate-title-check small { display: block; margin-top: 1px; white-space: normal; }
}
