/* ACN portal styles */
:root {
    --acn-blue: #c90046;
    --acn-blue-dark: #a9003b;
    --acn-blue-soft: #fff1f5;
    --acn-red: #c90046;
    --acn-ink: #2f2f2f;
    --acn-muted: #667085;
    --acn-border: #dedede;
    --acn-surface: #ffffff;
    --acn-background: #f4f7fb;
    --acn-shadow: 0 16px 40px rgba(47, 47, 47, .12);
}

.acn-navigation {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--acn-border);
    background: #fff;
    box-shadow: 0 4px 14px rgba(16, 24, 40, .06);
}

.acn-navigation__inner {
    display: flex;
    width: min(1120px, calc(100% - 32px));
    min-height: 62px;
    margin: 0 auto;
    align-items: center;
    gap: 24px;
}

.acn-navigation__brand {
    color: var(--acn-blue-dark) !important;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: .08em;
    text-decoration: none !important;
}

.acn-navigation__links {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.acn-navigation__links a {
    color: var(--acn-ink);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.acn-navigation__links a:hover {
    color: var(--acn-blue);
    text-decoration: underline;
}

.acn-navigation__logout {
    border: 0;
    background: transparent;
    color: var(--acn-blue-dark);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    padding: 0;
}

.acn-navigation__logout:hover {
    color: var(--acn-blue);
    text-decoration: underline;
}

.acn-navigation__toggle {
    display: none;
    margin-left: auto;
    border: 1px solid var(--acn-border);
    border-radius: 7px;
    background: #fff;
    color: var(--acn-blue-dark);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 8px 10px;
}

.acn-page {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0 72px;
    color: var(--acn-ink);
    font-family: Lato, Arial, sans-serif;
}

.acn-page *,
.acn-page *::before,
.acn-page *::after {
    box-sizing: border-box;
}

.acn-page .hidden {
    display: none !important;
}

.acn-page h1,
.acn-page h2,
.acn-page h3,
.acn-page p {
    margin-top: 0;
}

.acn-page a {
    color: var(--acn-blue);
    text-decoration: none;
}

.acn-page a:hover {
    color: var(--acn-blue-dark);
    text-decoration: underline;
}

.acn-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.acn-page-heading h1 {
    margin-bottom: 8px;
    color: var(--acn-ink);
    font-size: clamp(28px, 4vw, 42px);
}

.acn-page-heading p {
    margin-bottom: 0;
    color: var(--acn-muted);
}

.acn-eyebrow {
    margin-bottom: 8px !important;
    color: var(--acn-red) !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.acn-button,
.acn-button-link {
    border: 0;
    border-radius: 8px;
    background: var(--acn-blue);
    color: #fff !important;
    cursor: pointer;
    font-weight: 700;
    padding: 10px 16px;
    text-decoration: none !important;
}

.acn-button-secondary {
    background: var(--acn-blue-soft);
    color: var(--acn-blue-dark) !important;
}

.acn-button-link {
    display: inline-block;
    background: transparent;
    color: var(--acn-blue) !important;
    padding: 4px 6px;
}

.acn-button-link.is-danger {
    color: #b42318 !important;
}

.acn-inbox-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid var(--acn-border);
    border-radius: 12px;
    background: #fff;
}

.acn-inbox-toolbar label {
    color: var(--acn-muted);
    font-size: 13px;
    font-weight: 700;
}

.acn-inbox-toolbar input,
.acn-inbox-toolbar select,
.acn-inbox-table select {
    min-height: 38px;
    border: 1px solid var(--acn-border);
    border-radius: 7px;
    background: #fff;
    padding: 6px 9px;
}

.acn-inbox-toolbar input[type="search"] {
    min-width: 220px;
}

.acn-inbox-toolbar input:focus,
.acn-inbox-toolbar select:focus,
.acn-inbox-toolbar button:focus-visible {
    outline: 3px solid rgba(201, 0, 70, .22);
    outline-offset: 2px;
}

.acn-inbox-bulk-label {
    margin-left: auto;
}

.acn-status-message {
    min-height: 22px;
    margin: 8px 0;
    color: #087443;
}

.acn-status-message.is-error,
.acn-empty-state.is-error {
    color: #b42318;
}

.acn-inbox-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--acn-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .07);
}

.acn-inbox-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.acn-inbox-table th,
.acn-inbox-table td {
    border-bottom: 1px solid #edf0f4;
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
}

.acn-inbox-table th {
    background: #fafbfc;
    color: var(--acn-muted);
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.acn-inbox-table td strong,
.acn-inbox-table td small {
    display: block;
}

.acn-inbox-table td small {
    margin-top: 4px;
    color: var(--acn-muted);
}

.acn-inbox-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.acn-inbox-pagination button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.acn-inbox-detail {
    margin-top: 22px;
    padding: 24px;
    border: 1px solid var(--acn-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .07);
}

.acn-inbox-detail h2 {
    margin: 16px 0 4px;
}

.acn-inbox-profile-picture {
    width: 96px;
    height: 96px;
    margin: 4px 0 12px;
    border: 1px solid var(--acn-border);
    border-radius: 50%;
    object-fit: cover;
}

.acn-inbox-profile {
    display: grid;
    grid-template-columns: minmax(120px, .35fr) minmax(0, 1fr);
    gap: 8px 18px;
    margin: 20px 0;
}

.acn-inbox-profile dt {
    color: var(--acn-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: capitalize;
}

.acn-inbox-profile dd {
    margin: 0;
}

@media (max-width: 700px) {
    .acn-navigation__inner {
        flex-wrap: wrap;
        gap: 12px;
        padding: 10px 0;
    }

    .acn-navigation__toggle {
        display: block;
    }

    .acn-navigation__links {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 4px 0 8px;
    }

    .acn-navigation__links.is-open {
        display: flex;
    }

    .acn-navigation__links a {
        padding: 9px 0;
    }

    .acn-page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .acn-inbox-bulk-label {
        margin-left: 0;
    }
}

.acn-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 32px;
    padding: 44px 48px;
    border-radius: 18px;
    background: linear-gradient(120deg, #8f0738, var(--acn-blue));
    box-shadow: var(--acn-shadow);
    color: #fff;
}

.acn-hero::after {
    position: absolute;
    right: -70px;
    bottom: -120px;
    width: 340px;
    height: 340px;
    border: 38px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    content: '';
}

.acn-hero h1,
.acn-hero p {
    position: relative;
    z-index: 1;
}

.acn-hero h1 {
    margin-bottom: 12px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
    color: #fff;
}

.acn-hero p {
    max-width: 650px;
    margin-bottom: 0;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .9);
}

.acn-login-entry {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
    gap: 36px;
    align-items: center;
    margin-bottom: 40px;
    padding: 30px 34px;
    border: 1px solid var(--acn-border);
    border-radius: 16px;
    background: var(--acn-surface);
    box-shadow: var(--acn-shadow);
}

.acn-login-entry > div:first-child {
    min-height: 220px;
    padding: 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(67, 0, 29, .86), rgba(201, 0, 70, .38)), url('../images/acn-login.png') center / cover;
    color: #fff;
}

.acn-login-entry > div:first-child p,
.acn-login-entry > div:first-child h2 {
    color: #fff;
}

.acn-login-entry > div:last-child {
    padding-left: 36px;
    border-left: 1px solid var(--acn-border);
}

.acn-login-entry p {
    color: var(--acn-muted);
    line-height: 1.55;
}

.acn-login-entry h2 {
    margin-bottom: 10px;
    color: var(--acn-ink);
    font-size: 28px;
}

.acn-login-entry .inline-block,
.acn-login-entry button,
.acn-page button[type="submit"] {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 1px solid var(--acn-blue);
    border-radius: 8px;
    background: var(--acn-blue);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.acn-login-entry > div:first-child .inline-block {
    border-color: #fff;
    background: #fff;
    color: var(--acn-red);
}

.acn-login-entry > div:first-child .inline-block:hover {
    border-color: #fff;
    background: #fff;
    color: var(--acn-blue-dark);
}

.acn-login-entry .inline-block:hover,
.acn-login-entry button:hover,
.acn-page button[type="submit"]:hover {
    border-color: var(--acn-blue-dark);
    background: var(--acn-blue-dark);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(201, 0, 70, .2);
}

.acn-login-entry form,
#acn-login form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.acn-page input[type="email"],
.acn-page input[type="password"],
.acn-page input[type="text"],
.acn-page input[type="file"],
.acn-page select,
.acn-page textarea {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #b9c5d5;
    border-radius: 8px;
    outline: 0;
    background: #fff;
    color: var(--acn-ink);
    font: inherit;
    line-height: 1.35;
    box-shadow: inset 0 1px 2px rgba(16, 24, 40, .04);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.acn-page input::placeholder,
.acn-page textarea::placeholder {
    color: #8b98aa;
    opacity: 1;
}

.acn-page input:focus,
.acn-page select:focus,
.acn-page textarea:focus {
    border-color: var(--acn-blue);
    box-shadow: 0 0 0 3px rgba(201, 0, 70, .14);
}

.acn-login-entry form button {
    align-self: flex-start;
}

.acn-login-entry form a {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
}

.acn-home-auth-links {
    display: grid;
    gap: 7px;
    margin-top: 6px;
}

.acn-page h2:not(.acn-login-entry h2) {
    margin-bottom: 20px;
    color: var(--acn-ink);
    font-size: 28px;
}

#acn-posts-list,
#acn-news-list,
#acn-events-list,
#acn-tips-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

#acn-posts-list > div,
#acn-news-list > div,
#acn-events-list > div,
#acn-tips-list > div {
    min-height: 150px;
    padding: 22px;
    border: 1px solid var(--acn-border);
    border-radius: 12px;
    background: var(--acn-surface);
    box-shadow: 0 5px 18px rgba(16, 24, 40, .06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

#acn-posts-list > div:hover,
#acn-news-list > div:hover,
#acn-events-list > div:hover,
#acn-tips-list > div:hover {
    border-color: #9ab6d5;
    box-shadow: 0 12px 26px rgba(16, 24, 40, .1);
    transform: translateY(-2px);
}

#acn-posts-list h3,
#acn-news-list h3,
#acn-events-list h3,
#acn-tips-list h3 {
    margin-bottom: 10px;
    color: var(--acn-ink);
    font-size: 17px;
    line-height: 1.35;
}

#acn-posts-list p,
#acn-news-list p,
#acn-events-list p,
#acn-tips-list p {
    margin-bottom: 7px;
    color: var(--acn-muted);
    font-size: 13px;
    line-height: 1.5;
}

#acn-posts-list a,
#acn-news-list a,
#acn-events-list a,
#acn-tips-list a {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 700;
}

.acn-loading {
    grid-column: 1 / -1;
    min-height: 80px !important;
    border: 1px dashed var(--acn-border) !important;
    background: #f9fbfd !important;
    color: var(--acn-muted);
    box-shadow: none !important;
    text-align: center;
}

#acn-post-detail #acn-post-content > div {
    padding: 34px;
    border: 1px solid var(--acn-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--acn-shadow);
}

#acn-post-detail #acn-post-content h1 {
    margin-bottom: 24px;
    color: var(--acn-blue-dark);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
}

#acn-post-detail #acn-post-content h2 {
    margin-top: 26px;
    margin-bottom: 9px;
    font-size: 20px;
}

#acn-post-detail #acn-post-content p {
    color: #475467;
    line-height: 1.7;
    white-space: pre-wrap;
}

#acn-post-detail .acn-detail-section {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid #edf0f4;
}

#acn-post-detail .acn-detail-section h2 {
    margin-top: 0;
    margin-bottom: 14px;
    color: var(--acn-blue-dark);
    font-size: 21px;
}

#acn-post-detail .acn-detail-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#acn-post-detail .acn-detail-list li {
    position: relative;
    padding: 12px 16px 12px 38px;
    border: 1px solid #eceff3;
    border-radius: 8px;
    background: #fafbfc;
    color: #475467;
    line-height: 1.55;
}

#acn-post-detail .acn-detail-list li::before {
    position: absolute;
    top: 14px;
    left: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--acn-red);
    content: '';
}

#acn-post-detail .acn-detail-copy,
#acn-post-detail .acn-detail-empty {
    margin-bottom: 0;
}

#acn-post-detail .acn-detail-empty {
    color: var(--acn-muted);
    font-style: italic;
}

#acn-postulation-form {
    margin-top: 24px;
    padding: 26px;
    border: 1px solid #e9b1c3;
    border-radius: 14px;
    background: var(--acn-blue-soft);
}

#acn-postulation-form h2 {
    margin-bottom: 14px;
    color: var(--acn-blue-dark);
}

#acn-postulation-form .acn-login-submit {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 0 22px;
    border-radius: 8px;
    background: var(--acn-blue);
    color: #fff;
    font-weight: 700;
}

#acn-login {
    min-height: 620px;
    padding-top: 72px;
    background: linear-gradient(135deg, #f8f3f5, #fff 58%);
}

#acn-login .acn-login-shell {
    display: grid;
    grid-template-columns: minmax(320px, .9fr) minmax(360px, 1.1fr);
    width: min(920px, 100%);
    min-height: 520px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--acn-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--acn-shadow);
}

#acn-login .acn-login-visual {
    min-height: 520px;
    background-image: linear-gradient(180deg, rgba(35, 35, 35, .03), rgba(91, 0, 37, .22)), url('../images/acn-login.png');
    background-position: center;
    background-size: cover;
}

#acn-login .acn-login-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 54px;
}

#acn-login .acn-login-form-panel > form,
#acn-login .acn-recovery-panel {
    width: 100%;
}

#acn-login .acn-login-form-panel .acn-eyebrow {
    margin-bottom: 8px;
    color: var(--acn-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

#acn-login .acn-login-form-panel .acn-subtitle {
    margin-bottom: 26px;
    color: var(--acn-muted);
    font-size: 14px;
    line-height: 1.55;
}

#acn-login > div:not(.acn-login-shell) {
    width: min(460px, 100%);
    margin: 0 auto;
    padding: 38px;
    border: 1px solid var(--acn-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--acn-shadow);
}

#acn-login h1 {
    margin-bottom: 28px;
    color: var(--acn-blue-dark);
    font-size: 30px;
    text-align: center;
}

#acn-login label {
    display: block;
    margin-bottom: 6px;
    color: #344054;
    font-size: 14px;
    font-weight: 700;
}

#acn-login form > div {
    display: block;
}

#acn-login .acn-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}

#acn-login .acn-form-grid > div {
    min-width: 0;
}

#acn-login .acn-form > div + div {
    margin-top: 16px;
}

#acn-login .acn-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0 4px;
    cursor: pointer;
}

#acn-login .acn-checkbox input {
    flex: 0 0 auto;
    margin: 3px 0 0;
}

#acn-login .acn-checkbox span {
    color: #475467;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

#acn-login button {
    width: 100%;
    margin-top: 6px;
}

#acn-login .mt-4 {
    margin-top: 18px;
    text-align: center;
}

#acn-login-error {
    padding: 10px 12px;
    border: 1px solid #f1b5bf;
    border-radius: 8px;
    background: #fff1f3;
    color: #b42318;
    font-size: 14px;
}

#acn-login .acn-password-field {
    position: relative;
}

#acn-login .acn-password-field input {
    padding-right: 72px;
}

#acn-login .acn-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 5px 8px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #7a7a7a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
}

#acn-login .acn-password-toggle:hover {
    background: transparent;
    color: var(--acn-red);
    box-shadow: none;
    transform: translateY(-50%);
}

#acn-login .acn-login-submit {
    width: 100%;
    margin-top: 8px;
}

#acn-login .acn-login-links {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    font-size: 13px;
}

#acn-login .acn-recovery-panel {
    padding-top: 8px;
}

#acn-login .acn-recovery-panel h2 {
    margin-bottom: 10px;
    font-size: 22px;
}

#acn-login .acn-recovery-panel p {
    margin-bottom: 18px;
    color: var(--acn-muted);
    font-size: 14px;
    line-height: 1.5;
}

#acn-profile .acn-profile-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

#acn-profile .acn-profile-header h1 {
    margin-bottom: 8px;
    color: var(--acn-blue-dark);
    font-size: 36px;
}

#acn-profile .acn-profile-header p {
    margin-bottom: 0;
    color: var(--acn-muted);
}

#acn-profile .acn-profile-state {
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--acn-blue-soft);
    color: var(--acn-red);
    font-size: 12px;
    font-weight: 800;
}

#acn-profile .acn-profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: 24px;
}

#acn-profile .acn-profile-card,
#acn-my-postulations #acn-postulations-list > div {
    padding: 26px;
    border: 1px solid var(--acn-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .07);
}

#acn-profile .acn-profile-card + .acn-profile-card {
    margin-top: 20px;
}

#acn-my-postulations .acn-postulations-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
}

#acn-my-postulations .acn-postulations-toolbar input,
#acn-my-postulations .acn-postulations-toolbar select {
    min-height: 42px;
    border: 1px solid var(--acn-border);
    border-radius: 8px;
    background: #fff;
    color: var(--acn-ink);
    padding: 8px 12px;
}

#acn-my-postulations .acn-postulations-toolbar input {
    flex: 1 1 280px;
}

#acn-my-postulations .acn-postulations-toolbar button,
#acn-my-postulations .acn-postulations-pagination button {
    min-height: 42px;
    border: 1px solid var(--acn-border);
    border-radius: 8px;
    background: var(--acn-blue-soft);
    color: var(--acn-blue-dark);
    cursor: pointer;
    font-weight: 700;
    padding: 8px 13px;
}

#acn-my-postulations .acn-postulations-toolbar button:hover,
#acn-my-postulations .acn-postulations-pagination button:hover:not(:disabled) {
    background: var(--acn-blue-dark);
    color: #fff;
}

#acn-my-postulations .acn-postulations-toolbar button:focus-visible,
#acn-my-postulations .acn-postulations-toolbar input:focus-visible,
#acn-my-postulations .acn-postulations-toolbar select:focus-visible,
#acn-my-postulations .acn-postulations-pagination button:focus-visible {
    outline: 3px solid rgba(0, 111, 183, .24);
    outline-offset: 2px;
}

#acn-my-postulations .acn-postulations-toolbar button[aria-pressed="true"] {
    background: var(--acn-blue-dark);
    color: #fff;
}

#acn-my-postulations .acn-postulations-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 24px 0 8px;
}

#acn-my-postulations .acn-postulations-pagination[hidden] {
    display: none;
}

#acn-my-postulations .acn-postulations-pagination button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

#acn-my-postulations .acn-postulations-pagination span {
    min-width: 110px;
    color: var(--acn-muted);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 640px) {
    #acn-my-postulations .acn-postulations-toolbar {
        align-items: stretch;
        flex-wrap: wrap;
    }

    #acn-my-postulations .acn-postulations-toolbar input {
        flex-basis: 100%;
    }

    #acn-my-postulations .acn-postulations-toolbar select {
        flex: 1 1 auto;
    }
}

#acn-profile .acn-profile-card h2 {
    margin-bottom: 18px;
    color: var(--acn-ink);
    font-size: 21px;
}

#acn-profile .acn-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

#acn-profile .acn-form > label,
#acn-profile .acn-form-grid label {
    display: block;
    margin-bottom: 6px;
    color: #475467;
    font-size: 13px;
    font-weight: 700;
}

#acn-profile .acn-form > label {
    margin-top: 16px;
}

#acn-profile .acn-profile-picture-preview {
    display: grid;
    width: 92px;
    height: 92px;
    margin-bottom: 16px;
    overflow: hidden;
    place-items: center;
    border-radius: 50%;
    background: var(--acn-blue-soft);
    color: var(--acn-red);
    font-size: 32px;
    font-weight: 800;
}

#acn-profile .acn-profile-picture-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#acn-profile .acn-profile-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

#acn-profile .acn-profile-actions a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 0 20px;
    border-radius: 8px;
    background: var(--acn-blue);
    color: #fff;
    font-weight: 700;
}

#acn-profile .acn-profile-actions a:hover {
    background: var(--acn-blue-dark);
    color: #fff;
    text-decoration: none;
}

#acn-profile #acn-profile-documents ul {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

#acn-profile #acn-profile-documents li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #edf0f4;
    font-size: 13px;
}

#acn-profile #acn-profile-documents .acn-document-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

#acn-profile #acn-profile-documents .acn-document-actions button:first-child {
    border-color: #b8c9df;
    color: var(--acn-blue-dark);
}

#acn-profile #acn-profile-documents button {
    min-height: 28px;
    padding: 0 9px;
    border: 1px solid #e9b1c3;
    border-radius: 5px;
    background: #fff;
    color: var(--acn-red);
    cursor: pointer;
}

#acn-profile dl {
    margin: 0;
}

#acn-profile dl > div {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid #edf1f6;
}

#acn-profile dt {
    color: var(--acn-muted);
    font-weight: 700;
}

#acn-profile dd {
    margin: 0;
    color: var(--acn-ink);
}

@media (max-width: 800px) {
    .acn-page {
        width: min(100% - 24px, 680px);
        padding-top: 28px;
    }

    .acn-hero {
        padding: 30px 24px;
    }

    .acn-login-entry {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }

    .acn-login-entry > div:last-child {
        padding-top: 24px;
        padding-left: 0;
        border-top: 1px solid var(--acn-border);
        border-left: 0;
    }

    #acn-posts-list,
    #acn-news-list,
    #acn-events-list,
    #acn-tips-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #acn-profile .acn-profile-grid {
        grid-template-columns: 1fr;
    }

    #acn-profile .acn-profile-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    #acn-posts-list,
    #acn-news-list,
    #acn-events-list,
    #acn-tips-list {
        grid-template-columns: 1fr;
    }

    #acn-login .acn-login-shell {
        grid-template-columns: 1fr;
    }

    #acn-login .acn-login-visual {
        min-height: 240px;
        order: -1;
    }

    #acn-login .acn-login-form-panel,
    #acn-login > div:not(.acn-login-shell),
    #acn-post-detail #acn-post-content > div {
        padding: 28px 20px;
    }

    #acn-profile .acn-form-grid {
        grid-template-columns: 1fr;
    }

    #acn-login .acn-form-grid {
        grid-template-columns: 1fr;
    }

    #acn-profile .acn-profile-actions {
        flex-direction: column;
    }

    #acn-profile dl > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
