:root {
    --green: #004230;
    --green-deep: #003426;
    --green-light: #71ab3a;
    --green-light-soft: #f1f7e9;
    --green-light-line: #c8dfb3;
    --orange: #fea66b;
    --ink: #17362d;
    --muted: #667872;
    --line: #dce8e3;
    --paper: #fff;
    --error: #963d23;
}

* { box-sizing: border-box; }

.member-document { display:grid; gap:12px; min-width:0; margin:0 0 25px; padding:22px; border:1px solid var(--green-light-line); border-left:5px solid var(--orange); border-radius:14px; background:var(--green-light-soft); scroll-margin-top:20px; }
.member-document h3 { margin:0; color:var(--green); font-size:1.12rem; }
.member-document p { margin:0; font-size:.9rem; line-height:1.6; overflow-wrap:anywhere; }
.member-document .member-document__help { color:var(--muted); font-size:.83rem; line-height:1.6; }
.member-document__international { padding:14px; border-left:4px solid var(--orange); border-radius:12px; background:#fff; color:var(--green); font-size:.88rem; line-height:1.6; }
.member-document__international strong { display:block; }
.member-document__dropzone { position:relative; display:flex; align-items:center; justify-content:center; gap:12px; min-height:98px; padding:18px; border:2px dashed #4b8275; border-radius:12px; background:#fff; color:var(--green); text-align:center; }
.member-document .member-document__dropzone input[type="file"] { position:absolute; inset:0; width:100%; height:100%; margin:0; padding:0; min-height:0; opacity:0; cursor:pointer; }
.member-document__dropzone:focus-within { outline:3px solid var(--green-light); outline-offset:3px; }
.member-document__dropzone.is-dragging { background:#e4efd7; border-color:var(--green); }
.member-document__selected { padding:10px; border-radius:8px; background:#fff; color:var(--green); }
.member-document__link { color:var(--green); font-weight:700; font-size:.85rem; overflow-wrap:anywhere; }
.member-document [hidden] { display:none!important; }
@media(max-width:600px) { .member-document { padding:16px; }.member-document p,.member-document__international { font-size:.95rem; }.member-document__dropzone { font-size:.94rem; } }

body {
    min-width: 320px;
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 0 0, rgba(254, 166, 107, .13), transparent 26rem),
        radial-gradient(circle at 96% 8%, rgba(113, 171, 58, .16), transparent 27rem),
        radial-gradient(circle at 100% 100%, rgba(0, 66, 48, .08), transparent 30rem),
        #fff;
    font-family: Montserrat, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.account-shell { width: min(100% - 32px, 1180px); margin: 0 auto; padding: 34px 0 60px; }
.brand { display: inline-block; margin-bottom: 36px; color: var(--green); font-size: 1.12rem; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.brand::after { display: block; width: 36px; height: 3px; margin-top: 7px; content: ""; border-radius: 99px; background: var(--green-light); }
.account-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.identity { display: flex; align-items: center; gap: 16px; }
.identity h1 { margin: 0; color: var(--green); font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.06em; }
.eyebrow { margin: 0 0 6px; color: #b65d24; font-size: .69rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.avatar { display: block; width: 58px; height: 58px; border: 2px solid rgba(113, 171, 58, .42); border-radius: 50%; object-fit: cover; }
.avatar--initials { display: grid; place-items: center; background: linear-gradient(145deg, var(--green), #216c36); color: #fff; font-size: 1.1rem; font-weight: 800; }

nav { display: flex; align-items: center; gap: 17px; flex-wrap: wrap; }
nav a, .helper a { color: var(--green); font-size: .78rem; font-weight: 700; text-underline-offset: 3px; }
nav a:hover, .helper a:hover { color: #216c36; }
nav a.account-portal-link { display: inline-flex; min-height: 40px; align-items: center; gap: 9px; padding: 0 13px 0 15px; border-radius: 10px; background: var(--orange); box-shadow: 0 8px 18px rgba(254, 166, 107, .28); color: var(--green); font-weight: 800; letter-spacing: -.01em; text-decoration: none; transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
nav a.account-portal-link:hover { background: var(--green); box-shadow: 0 10px 22px rgba(0, 66, 48, .22); color: #fff; transform: translateY(-1px); }
nav a.account-portal-link:focus-visible { outline: 3px solid var(--green-light); outline-offset: 3px; }
.account-portal-link img { display: block; width: 18px; height: 18px; flex: 0 0 18px; }
nav button.account-contribution-link { display: inline-flex; min-height: 40px; align-items: center; gap: 8px; margin: 0; padding: 0 15px; border: 1px solid var(--green-light-line); border-radius: 10px; background: var(--green-light-soft); box-shadow: none; color: var(--green); font-size: .78rem; font-weight: 800; letter-spacing: -.01em; }
nav button.account-contribution-link:hover { border-color: var(--green); background: var(--green); color: #fff; }
nav .account-contribution-link__icon { display: block; width: 16px; height: 16px; flex: 0 0 16px; background: currentColor; -webkit-mask: center / contain no-repeat url("/include/img/fa-lightbulb-thin.svg?v=1.3.1-contribution-2"); mask: center / contain no-repeat url("/include/img/fa-lightbulb-thin.svg?v=1.3.1-contribution-2"); }

.account-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.panel { padding: clamp(25px, 4vw, 44px); border: 1px solid rgba(113, 171, 58, .30); border-radius: 22px; background: linear-gradient(155deg, rgba(241, 247, 233, .42), rgba(255, 255, 255, .96) 30%); box-shadow: 0 20px 55px rgba(0, 66, 48, .09), 0 7px 24px rgba(113, 171, 58, .05); }
.panel--compact { width: min(100%, 500px); margin: 5vh auto; }
.panel h1, .panel h2 { margin: 0; color: var(--green); letter-spacing: -.055em; }
.panel h1 { font-size: 2.35rem; }
.panel h2 { font-size: 1.55rem; }
.panel-title { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.lead { max-width: 650px; margin: 14px 0 27px; color: var(--muted); font-size: .87rem; font-weight: 500; line-height: 1.7; }
.account-section > .helper { margin-top: 12px; }
.account-section > form, .section-form { margin-top: 22px; }
.axiome-contact-panel { position:relative; overflow:hidden; border-color:rgba(113,171,58,.42); background:linear-gradient(135deg,rgba(241,247,233,.94),rgba(255,255,255,.98) 64%); }
.axiome-contact-panel::after { position:absolute; top:-68px; right:-62px; width:175px; height:175px; content:""; border:22px solid rgba(254,166,107,.14); border-radius:50%; pointer-events:none; }
.axiome-contact-panel > * { position:relative; z-index:1; }.axiome-contact-panel .helper { max-width:760px; }.axiome-contact-panel .helper a { color:var(--green); font-weight:800; text-underline-offset:3px; }

.status { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; font-size: .65rem; font-weight: 800; }
.status--published { border: 1px solid var(--green-light-line); background: var(--green-light-soft); color: #245d28; }
.status--pending { border: 1px solid #f5c29f; background: #fff5ed; color: #914019; }
.status--draft { background: #fff1e7; color: #a44a18; }
.status--suspended { background: #fcebed; color: #962f42; }

form { display: grid; gap: 13px; }
label { color: var(--green); font-size: .73rem; font-weight: 750; letter-spacing: .01em; }
label span { color: #8a9b94; font-weight: 600; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: #fff; color: var(--ink); font: inherit; font-size: .86rem; transition: border-color .2s, box-shadow .2s; }
input { min-height: 48px; padding: 0 13px; }
input:disabled { border-color: #dbe5e0; background: #edf2f0; box-shadow: none; color: #83938c; cursor: not-allowed; }
input[type="file"] { padding: 8px 10px; cursor: pointer; font-size: .74rem; line-height: 1.25; }
input[type="file"]::file-selector-button { margin-right: 10px; padding: 7px 10px; border: 0; border-radius: 7px; background: var(--green-light-soft); color: var(--green); cursor: pointer; font: inherit; font-weight: 800; }
input[type="file"]::file-selector-button:hover { background: #e1efd3; }
textarea { padding: 12px 13px; resize: vertical; line-height: 1.55; }
input:focus, textarea:focus { border-color: var(--green-light); box-shadow: 0 0 0 4px rgba(113, 171, 58, .18); }
input[aria-invalid="true"] { border-color: #c35330; }
small { color: var(--error); font-size: .69rem; font-weight: 600; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { display: grid; align-content: start; gap: 7px; }
.field--wide { grid-column: 1 / -1; }

.check { display: flex; align-items: start; gap: 10px; margin-top: 4px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: .77rem; line-height: 1.5; transition: border-color .2s, background .2s; }
.check input { width: 18px; min-height: 18px; height: 18px; flex: 0 0 18px; margin: 1px 0 0; accent-color: var(--green); }
.check a { color: var(--green); text-underline-offset: 3px; }
.check:has(input:focus-visible), .check:has(input:checked) { border-color: var(--green-light); background: var(--green-light-soft); }
.check--compact { padding: 10px 11px; font-size: .72rem; }
.check--switch { align-items: center; }
.check--switch input { position: relative; width: 42px; min-height: 24px; height: 24px; flex: 0 0 42px; margin: 0; padding: 0; appearance: none; border: 1px solid var(--line); border-radius: 999px; background: #edf2f0; cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s; }
.check--switch input::after { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; content: ""; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 66, 48, .18); transition: transform .2s; }
.check--switch input:checked { border-color: var(--green-light); background: var(--green-light); }
.check--switch input:checked::after { transform: translateX(18px); }
.check--switch input:focus-visible { outline: 3px solid rgba(113, 171, 58, .35); outline-offset: 3px; }
.check--switch .switch-state { margin-left: auto; color: var(--green); font-size: .72rem; }
.secondary-address { display: grid; gap: 0; margin: 0; padding: 20px; border: 1px solid var(--green-light-line); border-radius: 14px; background: linear-gradient(135deg, var(--green-light-soft), rgba(255, 255, 255, .96)); }
.secondary-address h3 { margin: 0; color: var(--green); font-size: .98rem; letter-spacing: -.025em; }
.secondary-address > p { margin: 7px 0 18px; color: #71837b; font-size: .73rem; font-weight: 550; line-height: 1.55; }
.secondary-address .form-grid { margin-top: 0; }

button { min-height: 51px; margin-top: 8px; padding: 0 18px; border: 0; border-radius: 11px; background: var(--orange); box-shadow: 0 10px 20px rgba(254, 166, 107, .24); color: var(--green-deep); cursor: pointer; font: inherit; font-size: .8rem; font-weight: 800; }
button:hover { background: #ffb57f; }
button:disabled, button:disabled:hover { background: #dce5e0; box-shadow: none; color: #788983; cursor: not-allowed; }
button:focus-visible { outline: 3px solid var(--green-light); outline-offset: 3px; }
.helper { margin: 18px 0 0; color: #7b8b84; font-size: .74rem; line-height: 1.55; }
.alert { margin: 0 0 20px; padding: 13px 15px; border-radius: 11px; font-size: .8rem; font-weight: 650; line-height: 1.5; }
.alert--success { border: 1px solid var(--green-light-line); background: var(--green-light-soft); color: #245d28; }
.alert--warning { border: 1px solid #f5c29f; background: #fff1e8; color: #914019; }
.alert--error { border: 1px solid #f2c0ad; background: #fff0eb; color: var(--error); }
.profile-image-preview { display: grid; width: 104px; height: 104px; margin: 23px 0 0; place-items: center; overflow: hidden; border: 2px solid rgba(113, 171, 58, .42); border-radius: 50%; background: linear-gradient(145deg, var(--green-light-soft), #fff); color: var(--green); font-size: 1.7rem; font-weight: 800; }
.profile-image-preview img { width: 100%; height: 100%; object-fit: cover; }
.profile-image-panel .helper { margin-bottom: 17px; }
.profile-image-panel form { margin-top: 0; }
.upload-help { color: #71837b; font-weight: 550; }
.field-help { color: #71837b; font-weight: 550; }
.professional-description-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.professional-description-counter { color: #71837b; font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; }
textarea.is-over-limit { border-color: #c35330; box-shadow: 0 0 0 4px rgba(195, 83, 48, .13); }
.professional-description-counter.is-over-limit, .professional-description-error { color: var(--error); font-weight: 750; }
.professional-privacy { margin: 14px 0 0; color: #81918b; font-size: .69rem; font-weight: 550; line-height: 1.55; text-align: center; }

.danger-zone { margin-top: 28px; padding-top: 25px; border-top: 1px solid #f0d6cc; }
.danger-zone--standalone { margin-top: 15px; padding-top: 0; border-top: 0; }
.danger-zone p { margin: 9px 0 17px; color: #7d5c52; font-size: .73rem; font-weight: 550; line-height: 1.55; }
.danger-zone form { margin-top: 0; }
.button--danger { background: #9d3e23; box-shadow: none; color: #fff; }
.button--danger:hover { background: #7f2e18; }

.contribution-dialog { width: min(calc(100vw - 32px), 650px); max-height: calc(100dvh - 32px); padding: clamp(22px, 4vw, 34px); overflow-y: auto; border: 1px solid var(--green-light-line); border-radius: 20px; background: #fff; box-shadow: 0 24px 70px rgba(0, 66, 48, .22); color: var(--ink); }
.contribution-dialog::backdrop { background: rgba(0, 52, 38, .52); backdrop-filter: blur(3px); }
.contribution-dialog__header { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.contribution-dialog h2 { margin: 0; color: var(--green); font-size: clamp(1.55rem, 4vw, 2rem); letter-spacing: -.055em; }
.contribution-dialog__close { display: grid; width: 38px; min-width: 38px; min-height: 38px; height: 38px; margin: 0; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; box-shadow: none; color: var(--green); font-size: 1.65rem; font-weight: 500; line-height: 1; }
.contribution-dialog__close:hover { border-color: var(--green-light); background: var(--green-light-soft); }
.contribution-dialog__intro { margin: 15px 0 21px; color: var(--muted); font-size: .84rem; font-weight: 550; line-height: 1.6; }
.contribution-dialog form { margin: 0; }
.contribution-rights { margin: 8px 0 0; padding: 16px 18px; border-left: 4px solid var(--orange); border-radius: 0 10px 10px 0; background: var(--green-light-soft); color: var(--green); font-size: .95rem; line-height: 1.65; }
.contribution-rights strong { font-weight: 800; }

.contributions-history .lead { margin-bottom: 21px; }
.contributions-history__block + .contributions-history__block { margin-top: 32px; padding-top: 30px; border-top: 1px solid var(--green-light-line); }
.contributions-history__block h3 { margin: 0; color: var(--green); font-size: 1.02rem; letter-spacing: -.025em; }
.contributions-history__block-intro { margin: 7px 0 17px; color: #71837b; font-size: .76rem; font-weight: 550; line-height: 1.55; }
.contributions-history__portal-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.contributions-history__portal-heading .contributions-history__block-intro { margin-bottom: 0; }
.contributions-history__portal-link { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; flex: 0 0 auto; padding: 8px 11px; border: 1px solid var(--green-light-line); border-radius: 8px; background: var(--green-light-soft); color: var(--green); font-size: .7rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.contributions-history__portal-link:hover { border-color: var(--green); background: var(--green); color: #fff; }
.portal-publications-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.portal-publication-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.portal-publication-card__image { display: block; width: 100%; height: 100%; min-height: 150px; object-fit: cover; background: var(--green-light-soft); }
.portal-publication-card__image--placeholder { display: grid; place-items: center; padding: 14px; background: linear-gradient(145deg, var(--green), #216c36); color: #fff; font-size: .67rem; font-weight: 800; line-height: 1.35; text-align: center; text-transform: uppercase; }
.portal-publication-card__body { min-width: 0; padding: 16px; }
.portal-publication-card__meta { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.portal-publication-card__meta span { padding: 3px 7px; border-radius: 999px; background: var(--green-light-soft); color: #245d28; font-size: .61rem; font-weight: 800; line-height: 1.3; }
.portal-publication-card time { display: block; color: #71837b; font-size: .66rem; font-weight: 650; line-height: 1.4; }
.portal-publication-card h4 { margin: 7px 0 12px; color: var(--green); font-size: .86rem; line-height: 1.35; letter-spacing: -.02em; }
.portal-publication-card a { color: var(--green); font-size: .7rem; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.portal-publication-card a:hover { color: #216c36; }
.portal-publication-card__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.portal-publication-card__update { min-height: 32px; margin: 0; padding: 6px 9px; border: 1px solid #f5c29f; border-radius: 8px; background: #fff5ed; box-shadow: none; color: #914019; font-size: .66rem; font-weight: 800; white-space: nowrap; }
.portal-publication-card__update:hover { border-color: var(--orange); background: var(--orange); color: var(--green); }
.publication-update-resource { display: grid; gap: 5px; margin: 0 0 2px; padding: 12px 13px; border: 1px solid var(--green-light-line); border-radius: 10px; background: var(--green-light-soft); }
.publication-update-resource span { color: #71837b; font-size: .68rem; font-weight: 700; }
.publication-update-resource strong { color: var(--green); font-size: .8rem; line-height: 1.45; }
.contribution-type { display: inline-flex; align-items: center; min-height: 23px; margin-top: 7px; padding: 3px 8px; border-radius: 999px; font-size: .61rem; font-weight: 800; line-height: 1.25; }
.contribution-type--publication-update { border: 1px solid #f5c29f; background: #fff5ed; color: #914019; }
.contributions-history__toolbar { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 0 0 14px; }
.contributions-history__search { display: grid; width: min(100%, 390px); gap: 7px; }
.contributions-history__count { margin: 0 0 11px; color: #71837b; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.contributions-history__table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.contributions-history__table-wrap:focus-visible { outline: 3px solid rgba(113, 171, 58, .35); outline-offset: 3px; }
.contributions-table { width: 100%; min-width: 720px; border-collapse: collapse; text-align: left; }
.contributions-table th { padding: 13px 16px; border-bottom: 1px solid var(--green-light-line); background: var(--green-light-soft); color: var(--green); font-size: .67rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.contributions-table td { padding: 16px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .78rem; vertical-align: top; }
.contributions-table tbody tr:last-child td { border-bottom: 0; }
.contributions-table tbody tr:hover { background: rgba(241, 247, 233, .45); }
.contributions-table__subject { display: block; color: var(--green); font-size: .84rem; line-height: 1.4; }
.contributions-table__description { max-width: 550px; margin: 5px 0 0; color: var(--muted); font-size: .72rem; font-weight: 500; line-height: 1.55; }
.contributions-table__review { max-width: 550px; margin: 10px 0 0; padding: 9px 10px; border-left: 3px solid #d7653a; border-radius: 0 7px 7px 0; background: #fff5ed; color: #7c4328; font-size: .7rem; font-weight: 600; line-height: 1.5; }
.contributions-table__date { min-width: 135px; color: #61746c; font-variant-numeric: tabular-nums; white-space: nowrap; }
.contributions-table__actions { min-width: 122px; text-align: right; }
.contribution-edit-button { min-height: 35px; margin: 0; padding: 7px 10px; border: 1px solid var(--green-light-line); border-radius: 8px; background: var(--green-light-soft); box-shadow: none; color: var(--green); font-size: .68rem; font-weight: 800; white-space: nowrap; }
.contribution-edit-button:hover { border-color: var(--green); background: var(--green); color: #fff; }
.contribution-status { display: inline-flex; align-items: center; min-height: 29px; padding: 5px 10px; border-radius: 999px; font-size: .68rem; font-weight: 800; line-height: 1.25; white-space: nowrap; }
.contribution-status--pending { border: 1px solid #f5c29f; background: #fff5ed; color: #914019; }
.contribution-status--approved { border: 1px solid var(--green-light-line); background: var(--green-light-soft); color: #245d28; }
.contribution-status--rejected { border: 1px solid #f0c5cb; background: #fcebed; color: #962f42; }
.contributions-history__empty { margin: 0; padding: 16px; border: 1px dashed var(--green-light-line); border-radius: 12px; color: #71837b; font-size: .78rem; font-weight: 600; line-height: 1.55; text-align: center; }
.contributions-history__pagination { display: flex; justify-content: center; gap: 7px; margin-top: 16px; }
.contributions-history__pagination[hidden] { display: none; }
.contributions-history__page { display: grid; width: 36px; min-height: 36px; height: 36px; margin: 0; padding: 0; place-items: center; border: 1px solid var(--green-light-line); border-radius: 8px; background: #fff; box-shadow: none; color: var(--green); font-size: .76rem; }
.contributions-history__page:hover { border-color: var(--green); background: var(--green-light-soft); }
.contributions-history__page:disabled { border-color: var(--green); background: var(--green); color: #fff; opacity: 1; }

.address-autocomplete, .country-autocomplete { position: relative; }
.address-suggestions, .country-suggestions { position: absolute; z-index: 30; top: calc(100% - 25px); right: 0; left: 0; overflow: auto; max-height: 235px; padding: 6px; border: 1px solid var(--green-light-line); border-radius: 10px; background: #fff; box-shadow: 0 16px 30px rgba(0, 66, 48, .16); }
.country-suggestions { z-index: 31; }
.address-suggestion, .country-suggestion { display: block; width: 100%; min-height: 0; margin: 0; padding: 10px 11px; border: 0; border-radius: 7px; background: #fff; box-shadow: none; color: var(--ink); font: inherit; font-size: .75rem; font-weight: 600; line-height: 1.45; text-align: left; }
.address-suggestion:hover, .address-suggestion:focus, .country-suggestion:hover, .country-suggestion:focus { background: var(--green-light-soft); outline: 0; }
.address-help, .country-help { color: #71837b; font-size: .68rem; font-weight: 550; line-height: 1.45; }

@media (max-width: 820px) {
    .account-grid { grid-template-columns: 1fr; }
    .account-header { align-items: flex-start; flex-direction: column; }
    .account-shell { width: min(100% - 28px, 1180px); padding-top: 26px; }
}

@media (max-width: 540px) {
    .form-grid { grid-template-columns: 1fr; }
    .field--wide { grid-column: auto; }
    .secondary-address { padding: 17px; }
    .panel { padding: 25px 20px; }
    .panel-title { flex-direction: column; }
    .account-header { gap: 17px; }
    .brand { margin-bottom: 25px; }
    .professional-description-meta { align-items: flex-start; flex-direction: column; gap: 3px; }
}

@media (max-width: 600px) {
    .account-shell { width: min(100% - 24px, 1180px); padding: 22px 0 42px; }
    .brand { min-height: 44px; margin-bottom: 20px; font-size: 1.2rem; }
    .identity h1 { font-size: 2.1rem; }
    .eyebrow { font-size: .8rem; }
    nav { gap: 10px 16px; }
    nav a, nav button.account-contribution-link, .helper a { min-height: 38px; display: inline-flex; align-items: center; font-size: .92rem; }
    nav a.account-portal-link { min-height: 46px; padding-right: 15px; padding-left: 17px; }
    nav button.account-contribution-link { min-height: 46px; padding-right: 17px; padding-left: 17px; }
    .account-portal-link img { width: 20px; height: 20px; flex-basis: 20px; }
    .panel { padding: 26px 22px; border-radius: 19px; }
    .panel h1 { font-size: 2.1rem; }
    .panel h2 { font-size: 1.7rem; }
    .lead { font-size: .98rem; }
    .form-grid { grid-template-columns: 1fr; }
    .field--wide { grid-column: auto; }
    label { font-size: .86rem; }
    input, textarea { font-size: 16px; }
    input { min-height: 52px; }
    input[type="file"] { min-height: 54px; font-size: .86rem; }
    small, .address-help, .country-help, .professional-privacy { font-size: .78rem; }
    .check { padding: 15px; font-size: .92rem; }
    .check--compact { font-size: .86rem; }
    .check--switch .switch-state { font-size: .85rem; }
    .secondary-address h3 { font-size: 1.1rem; }
    .secondary-address > p, .helper, .danger-zone p { font-size: .88rem; }
    button { min-height: 54px; font-size: .94rem; }
    .alert { font-size: .92rem; }
    .address-suggestion, .country-suggestion { min-height: 44px; font-size: .88rem; }
    .contribution-dialog { width: min(calc(100vw - 24px), 650px); max-height: calc(100dvh - 24px); padding: 25px 22px; border-radius: 18px; }
    .contribution-dialog__intro { font-size: .9rem; }
    .contributions-history__toolbar { align-items: stretch; flex-direction: column; gap: 9px; }
    .contributions-history__block + .contributions-history__block { margin-top: 26px; padding-top: 25px; }
    .contributions-history__block h3 { font-size: 1.2rem; }
    .contributions-history__block-intro { font-size: .88rem; }
    .contributions-history__portal-heading { align-items: stretch; flex-direction: column; gap: 12px; }
    .contributions-history__portal-link { width: 100%; min-height: 43px; font-size: .84rem; }
    .portal-publications-grid { grid-template-columns: 1fr; gap: 13px; }
    .portal-publication-card { grid-template-columns: 96px minmax(0, 1fr); }
    .portal-publication-card__image { min-height: 142px; }
    .portal-publication-card h4 { font-size: .98rem; }
    .portal-publication-card a { font-size: .82rem; }
    .portal-publication-card__update { min-height: 40px; font-size: .78rem; }
    .publication-update-resource span { font-size: .8rem; }
    .publication-update-resource strong { font-size: .92rem; }
    .contribution-type { min-height: 28px; font-size: .72rem; }
    .contributions-history__search { width: 100%; }
    .contributions-history__count { margin: 0; font-size: .84rem; }
    .contributions-history__table-wrap { margin-right: -2px; margin-left: -2px; }
    .contributions-table th { padding: 14px 16px; font-size: .73rem; }
    .contributions-table td { padding: 16px; font-size: .88rem; }
    .contributions-table__subject { font-size: .94rem; }
    .contributions-table__description { font-size: .83rem; }
    .contributions-table__review { font-size: .8rem; }
    .contribution-status { min-height: 33px; font-size: .78rem; }
    .contribution-edit-button { min-height: 41px; padding: 9px 12px; font-size: .8rem; }
    .contributions-history__empty { font-size: .88rem; }
}
