:root {
    --ink: #18342f;
    --ink-soft: #49615c;
    --green: #2f7d68;
    --green-dark: #16352f;
    --mint: #e5f4df;
    --sand: #fff0c8;
    --cream: #fffaf0;
    --lilac: #e7e1ee;
    --blue: #e0f2fe;
    --white: #ffffff;
    --line: #dfe5df;
    --danger: #a23e35;
    --shadow: 0 18px 55px rgba(32, 59, 52, 0.09);
    --radius-lg: 30px;
    --radius-md: 20px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.modal-open {
    overflow: hidden;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

img,
video {
    max-width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

h1,
h2,
h3,
.brand-copy strong {
    font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
    letter-spacing: -0.035em;
}

h1,
h2,
h3 {
    line-height: 1.12;
}

.shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: relative;
    z-index: 100;
    background: rgba(251, 248, 241, 0.94);
    border-bottom: 1px solid rgba(24, 52, 47, 0.09);
    backdrop-filter: blur(16px);
}

.nav-bar {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
}

.brand-logo {
    width: 58px;
    height: 50px;
    flex: 0 0 58px;
    display: block;
    object-fit: cover;
    border-radius: 13px;
}

.brand-mark {
    position: relative;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50% 50% 46% 54%;
    background: #edb64c;
    transform: rotate(-8deg);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span::before,
.brand-mark span::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--green);
}

.brand-mark::before {
    left: -5px;
    top: 4px;
}

.brand-mark::after {
    right: -5px;
    top: 6px;
}

.brand-mark span::before {
    left: 3px;
    bottom: -5px;
}

.brand-mark span::after {
    right: 2px;
    bottom: -4px;
}

.brand-copy {
    display: grid;
    line-height: 1;
}

.brand-copy strong {
    font-size: 1.12rem;
    font-weight: 800;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--ink-soft);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-toggle,
.profile-settings-text {
    display: none;
}

.main-nav a,
.nav-logout {
    position: relative;
    padding: 9px 0;
    color: var(--ink-soft);
    background: none;
    border: 0;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 650;
    cursor: pointer;
}

.main-nav a:not(.nav-login):not(.bip-link):not(.profile-settings-link)::after,
.nav-logout::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 3px;
    height: 2px;
    background: var(--green);
    transition: right 0.2s ease;
}

.main-nav a:hover::after,
.nav-logout:hover::after {
    right: 0;
}

.main-nav form {
    display: flex;
    margin: 0;
}

.main-nav .nav-login {
    padding: 11px 18px;
    color: var(--white);
    background: var(--green);
    border-radius: 999px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.main-nav .nav-login:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}

.main-nav .profile-settings-link {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--green);
    background: var(--mint);
    border: 1px solid rgba(31, 106, 90, 0.12);
    border-radius: 50%;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.main-nav .profile-settings-link:hover {
    color: var(--white);
    background: var(--green);
    transform: rotate(24deg);
}

.profile-settings-link svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.main-nav .bip-link {
    width: 104px;
    height: 38px;
    overflow: hidden;
    display: block;
    padding: 0;
    background: var(--white);
    border: 1px solid #e4d8d5;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.main-nav .bip-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(128, 31, 25, 0.14);
}

.bip-link img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: left center;
}

.messages {
    position: relative;
    z-index: 10;
    margin-top: 18px;
    margin-bottom: 16px;
}

.message {
    padding: 13px 17px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-weight: 650;
}

.message.success {
    color: #1f604f;
    background: #e1f1e8;
    border-color: #c2dfcf;
}

.message.error {
    color: #853a33;
    background: #f8e5e2;
    border-color: #eac7c2;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--green);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow-light {
    color: #b8d8c9;
}

.button {
    min-height: 49px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 750;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--white);
    background: var(--green);
    box-shadow: 0 12px 24px rgba(31, 106, 90, 0.18);
}

.button-primary:hover {
    background: var(--green-dark);
    box-shadow: 0 15px 30px rgba(31, 106, 90, 0.24);
}

.button-light {
    color: var(--green-dark);
    background: var(--white);
}

.button-ghost {
    color: var(--ink);
    background: transparent;
    border-color: #cbd6cf;
}

.button-ghost:hover {
    background: var(--white);
}

.button-danger {
    color: var(--white);
    background: var(--danger);
}

.button-full {
    width: 100%;
}

.text-link,
.small-link,
.back-link {
    color: var(--green);
    font-weight: 750;
    text-decoration: none;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.text-link span {
    transition: transform 0.2s ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.small-link {
    font-size: 0.86rem;
    white-space: nowrap;
}

.back-link {
    display: inline-block;
    margin-bottom: 50px;
    font-size: 0.84rem;
}

.section {
    padding-block: 110px;
}

.section-heading h2 {
    max-width: 720px;
    margin-bottom: 0;
    font-size: clamp(2.1rem, 4.5vw, 4rem);
}

.split-heading {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 90px;
    align-items: end;
    margin-bottom: 58px;
}

.split-heading p,
.section-heading-row > p {
    margin-bottom: 4px;
    color: var(--ink-soft);
    line-height: 1.75;
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 50px;
    margin-bottom: 45px;
}

.section-heading-row > p {
    max-width: 410px;
}

/* Public home */
.public-page {
    position: relative;
    overflow: clip;
}

.home-mascot {
    position: absolute;
    top: 235px;
    z-index: 6;
    width: clamp(140px, 10vw, 190px);
    height: auto;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 16px 22px rgba(32, 59, 52, 0.12));
}

.home-mascot-left {
    left: max(14px, calc(50% - 825px));
}

.home-mascot-right {
    right: max(14px, calc(50% - 825px));
    top: 285px;
    transform: scaleX(-1);
}

.decorated-section {
    position: relative;
}

.section-mascot {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: clamp(125px, 9vw, 170px);
    height: auto;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 16px 22px rgba(32, 59, 52, 0.1));
}

.section-mascot-left {
    left: -195px;
    transform: translateY(-50%);
}

.section-mascot-right {
    right: -195px;
    transform: translateY(-50%) scaleX(-1);
}

.decorated-section-wide .section-mascot-left {
    left: max(14px, calc(50% - 785px));
}

.mascot-rabbit {
    top: 55%;
}

.mascot-fox {
    top: 52%;
}

.mascot-squirrel {
    top: 54%;
}

.mascot-hedgehog {
    top: 55%;
}

.home-hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0 0;
    background: var(--sand);
}

.home-hero::before {
    content: "";
    position: absolute;
    width: 410px;
    height: 410px;
    right: -180px;
    top: -220px;
    border: 1px solid rgba(31, 106, 90, 0.14);
    border-radius: 50%;
    box-shadow: 0 0 0 65px rgba(31, 106, 90, 0.025), 0 0 0 130px rgba(31, 106, 90, 0.02);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 80px;
}

.hero-copy {
    padding-bottom: 72px;
}

.hero-copy h1 {
    max-width: 680px;
    margin-bottom: 26px;
    font-size: clamp(3.1rem, 6.6vw, 6rem);
    font-weight: 750;
}

.hero-copy h1 em {
    display: block;
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: -0.055em;
}

.hero-lead {
    max-width: 590px;
    margin-bottom: 34px;
    color: var(--ink-soft);
    font-size: 1.08rem;
    line-height: 1.78;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.hero-art {
    position: relative;
    min-height: 570px;
    align-self: end;
}

.art-card {
    position: absolute;
    width: min(410px, 92%);
    height: 460px;
    right: 6%;
    bottom: 0;
    z-index: 2;
    overflow: hidden;
    padding: 50px 44px;
    color: #f8f5ed;
    background: var(--green);
    border-radius: 180px 180px 30px 30px;
    box-shadow: 0 28px 70px rgba(31, 106, 90, 0.21);
}

.art-kicker {
    display: block;
    margin-bottom: 12px;
    margin-left: 18px;
    color: #b8d8c9;
    font-size: 0.71rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.art-card > strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    font-weight: 400;
    line-height: 1.08;
}

.art-plant {
    position: absolute;
    width: 220px;
    height: 245px;
    right: 12px;
    bottom: -15px;
}

.stem {
    position: absolute;
    width: 7px;
    height: 150px;
    left: 104px;
    bottom: 64px;
    border-radius: 8px;
    background: #edb64c;
    transform: rotate(-4deg);
}

.leaf {
    position: absolute;
    width: 72px;
    height: 105px;
    z-index: 2;
    background: #b9d4c3;
    border-radius: 80% 10% 75% 12%;
}

.leaf-left {
    left: 42px;
    top: 55px;
    transform: rotate(-45deg);
}

.leaf-right {
    right: 32px;
    top: 16px;
    transform: rotate(43deg) scale(0.9);
}

.pot {
    position: absolute;
    width: 122px;
    height: 86px;
    left: 53px;
    bottom: 5px;
    z-index: 3;
    background: #d98f5f;
    clip-path: polygon(4% 0, 96% 0, 82% 100%, 18% 100%);
    border-radius: 8px 8px 28px 28px;
}

.art-shape {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
}

.art-shape-one {
    width: 180px;
    height: 180px;
    left: 0;
    bottom: 40px;
    background: #e9bd61;
}

.art-shape-two {
    width: 110px;
    height: 110px;
    right: -10px;
    top: 52px;
    border: 24px solid #d49b72;
}

.art-note {
    position: absolute;
    z-index: 4;
    padding: 10px 18px;
    color: var(--ink);
    background: var(--white);
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(32, 59, 52, 0.14);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-style: italic;
}

.art-note-top {
    right: 0;
    top: 155px;
    transform: rotate(5deg);
}

.art-note-bottom {
    left: -15px;
    bottom: 115px;
    transform: rotate(-6deg);
}

.values-row {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--white);
    border-radius: 26px 26px 0 0;
    box-shadow: 0 -10px 45px rgba(32, 59, 52, 0.05);
}

.values-row > div {
    position: relative;
    padding: 27px 32px 27px 70px;
    border-right: 1px solid var(--line);
}

.values-row > div:last-child {
    border-right: 0;
}

.values-row span {
    position: absolute;
    left: 28px;
    top: 29px;
    color: #c08a42;
    font-family: Georgia, serif;
    font-size: 0.84rem;
}

.values-row strong,
.values-row small {
    display: block;
}

.values-row strong {
    margin-bottom: 2px;
    font-size: 0.95rem;
}

.values-row small {
    color: var(--ink-soft);
    font-size: 0.78rem;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.approach-card {
    position: relative;
    min-height: 360px;
    padding: 38px;
    border-radius: var(--radius-lg);
}

.tone-sand {
    background: var(--sand);
}

.tone-mint {
    background: var(--mint);
}

.tone-lilac {
    background: var(--lilac);
}

.card-number {
    position: absolute;
    top: 30px;
    right: 32px;
    color: rgba(24, 52, 47, 0.44);
    font-family: Georgia, serif;
    font-size: 0.82rem;
}

.line-icon {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    margin: 40px 0 45px;
    border: 1px solid rgba(24, 52, 47, 0.32);
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 2rem;
}

.line-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.approach-card h3 {
    margin-bottom: 14px;
    font-size: 1.45rem;
}

.approach-card p {
    margin-bottom: 0;
    color: var(--ink-soft);
    line-height: 1.75;
}

.news-section {
    background: #f0f3ed;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.news-card {
    min-height: 220px;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 24px;
    padding: 30px;
    background: var(--white);
    border: 1px solid rgba(24, 52, 47, 0.08);
    border-radius: var(--radius-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card-image {
    height: 210px;
    grid-column: 1 / -1;
    overflow: hidden;
    margin: -30px -30px 5px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.025);
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.news-date {
    height: 70px;
    display: grid;
    place-content: center;
    text-align: center;
    background: var(--sand);
    border-radius: 50%;
}

.news-date strong,
.news-date span {
    display: block;
    line-height: 1;
}

.news-date strong {
    margin-bottom: 4px;
    font-family: Georgia, serif;
    font-size: 1.35rem;
}

.news-date span {
    color: var(--ink-soft);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
}

.news-label {
    color: var(--green);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.news-card h3 {
    margin: 10px 0 12px;
    font-size: 1.3rem;
}

.news-card h3 a {
    text-decoration: none;
}

.news-card p {
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.news-read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

.news-read-more:hover {
    text-decoration: underline;
}

.privacy-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 95px;
    padding: 80px;
    color: var(--white);
    background: var(--green-dark);
    border-radius: 38px;
}

.privacy-panel::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -180px;
    bottom: -220px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    box-shadow: 0 0 0 58px rgba(255, 255, 255, 0.025), 0 0 0 116px rgba(255, 255, 255, 0.02);
}

.privacy-copy {
    position: relative;
    z-index: 2;
}

.privacy-copy h2 {
    margin-bottom: 22px;
    color: var(--white);
    font-size: clamp(2.5rem, 4vw, 4rem);
}

.privacy-copy p {
    max-width: 540px;
    margin-bottom: 32px;
    color: #c7dacf;
    line-height: 1.8;
}

.privacy-steps {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: center;
}

.privacy-steps > div {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.privacy-steps > div:last-child {
    border-bottom: 0;
}

.privacy-steps span {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    font-family: Georgia, serif;
}

.privacy-steps p {
    margin: 0;
    color: #c7dacf;
    font-size: 0.9rem;
}

.privacy-steps strong {
    display: block;
    margin-bottom: 3px;
    color: var(--white);
    font-size: 1rem;
}

.closing-cta {
    text-align: center;
}

.closing-cta h2 {
    margin-bottom: 22px;
    font-size: clamp(2.7rem, 5vw, 4.6rem);
}

.closing-cta p {
    color: var(--ink-soft);
}

.contact-cta {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 90px;
    align-items: center;
    text-align: left;
}

.contact-cta h2 {
    font-size: clamp(2.5rem, 4.5vw, 4.25rem);
}

.contact-cta-copy p {
    max-width: 560px;
}

.home-contact-list {
    display: grid;
    gap: 22px;
    margin: 0;
    padding: 34px;
    background: var(--white);
    border: 1px solid rgba(24, 52, 47, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    font-style: normal;
}

.home-contact-list a,
.home-contact-list > div {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 18px;
    align-items: start;
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 1.08rem;
    font-weight: 650;
    line-height: 1.45;
}

.home-contact-list a:hover {
    color: var(--green);
}

.home-contact-list svg {
    width: 28px;
    height: 28px;
    margin-top: 1px;
    fill: var(--green);
}

.home-map-card {
    grid-column: 1 / -1;
    margin-top: 10px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(24, 52, 47, 0.08);
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.home-map-heading {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: center;
    padding: 28px 32px;
}

.home-map-heading h3 {
    margin: 5px 0 0;
    font-size: 1.55rem;
}

.home-map-address {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--ink-soft);
    font-size: 0.86rem;
    font-weight: 700;
}

.home-map-address svg {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    fill: var(--green);
}

.home-map-frame {
    position: relative;
    height: 430px;
    overflow: hidden;
    background: var(--mint);
    border-top: 1px solid rgba(24, 52, 47, 0.08);
}

.home-map-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* Events calendar */
.calendar-page {
    color: var(--ink);
    background: #f6f4ed;
}

.calendar-hero {
    overflow: hidden;
    padding: 88px 0 76px;
    background: linear-gradient(135deg, #e1eee7 0%, #f3e5d1 100%);
}

.calendar-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 70px;
    align-items: center;
}

.calendar-hero h1 {
    max-width: 900px;
    margin: 12px 0 22px;
    font-size: clamp(3.8rem, 7vw, 6.8rem);
    line-height: 0.92;
}

.calendar-hero p {
    max-width: 720px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.08rem;
    line-height: 1.8;
}

.calendar-hero-art {
    position: relative;
    min-height: 260px;
}

.calendar-art-circle {
    position: absolute;
    width: 260px;
    height: 260px;
    top: 0;
    right: 30px;
    background: rgba(255, 255, 255, 0.52);
    border-radius: 50%;
}

.calendar-art-card {
    position: absolute;
    z-index: 2;
    width: 155px;
    height: 188px;
    top: 18px;
    left: 30px;
    display: grid;
    place-items: center;
    align-content: center;
    color: var(--green-dark);
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 22px 45px rgba(32, 59, 52, 0.13);
    transform: rotate(-6deg);
}

.calendar-art-card small,
.calendar-art-card span {
    color: var(--ink-soft);
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.calendar-art-card strong {
    margin: 4px 0;
    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: 1;
}

.calendar-hero-art img {
    position: absolute;
    z-index: 3;
    width: 140px;
    right: 0;
    bottom: -25px;
    filter: drop-shadow(0 12px 15px rgba(32, 59, 52, 0.12));
    animation: cardAnimalPeek 5s ease-in-out infinite;
}

.calendar-content {
    padding-block: 55px 110px;
}

.calendar-app {
    scroll-margin-top: 95px;
    padding: 34px;
    background: var(--white);
    border: 1px solid rgba(24, 52, 47, 0.08);
    border-radius: 28px;
    box-shadow: 0 18px 55px rgba(32, 59, 52, 0.07);
}

.calendar-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 35px;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.calendar-navigation {
    display: flex;
    gap: 18px;
    align-items: center;
}

.calendar-navigation button {
    width: 44px;
    height: 44px;
    color: var(--green);
    background: var(--mint);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.15rem;
    transition: transform 0.2s ease, background 0.2s ease;
}

.calendar-navigation button:hover {
    color: var(--white);
    background: var(--green);
    transform: translateY(-2px);
}

.calendar-navigation .eyebrow {
    margin-bottom: 2px;
}

.calendar-navigation h2 {
    min-width: 250px;
    margin: 0;
    font-size: 2rem;
}

.calendar-filter {
    display: grid;
    gap: 7px;
    color: var(--ink-soft);
    font-size: 0.68rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.calendar-filter select {
    min-width: 220px;
    padding: 11px 36px 11px 14px;
    color: var(--ink);
    background: #f6f8f5;
    border: 1px solid var(--line);
    border-radius: 12px;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 650;
    text-transform: none;
    letter-spacing: 0;
}

.calendar-layout {
    display: block;
}

.calendar-board {
    min-width: 0;
}

.calendar-month-showcase {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    display: grid;
    grid-template-columns: 0.75fr 1fr;
    gap: 35px;
    align-items: center;
    padding: 48px;
    color: var(--white);
    background: linear-gradient(145deg, #163f36 0%, #236b59 100%);
    border-radius: 22px;
}

.calendar-month-showcase::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -100px;
    bottom: -150px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.035);
}

.calendar-month-number {
    position: relative;
    z-index: 1;
    font-family: Georgia, serif;
    font-size: clamp(7rem, 13vw, 11rem);
    line-height: 0.8;
    text-align: center;
    opacity: 0.94;
}

.calendar-month-showcase > div {
    position: relative;
    z-index: 1;
}

.calendar-month-showcase .eyebrow {
    color: #b9dacf;
}

.calendar-month-showcase h3 {
    margin: 0 0 20px;
    color: var(--white);
    font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.calendar-month-showcase p {
    margin: 0;
    color: #c5d9d2;
    line-height: 1.8;
}

.calendar-weekdays,
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
    color: var(--ink-soft);
    font-size: 0.68rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.calendar-weekdays span {
    padding: 10px 4px;
}

.calendar-days {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-radius: 16px;
}

.calendar-day {
    position: relative;
    min-width: 0;
    min-height: 88px;
    padding: 10px;
    color: var(--ink);
    background: var(--white);
    border: 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: left;
}

button.calendar-day {
    cursor: default;
}

.calendar-day.has-events {
    background: #f4faf7;
    cursor: pointer;
    transition: background 0.2s ease;
}

.calendar-day.has-events:hover {
    background: #e6f3ec;
}

.calendar-day-empty {
    background: #fafaf7;
}

.calendar-day-number {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 0.76rem;
    font-weight: 750;
}

.calendar-day.is-today .calendar-day-number {
    color: var(--white);
    background: var(--green);
}

.calendar-day-dots {
    position: absolute;
    left: 11px;
    bottom: 11px;
    display: flex;
    gap: 4px;
}

.event-dot,
.calendar-legend i {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
}

.event-dot.event-celebration,
.legend-celebration {
    background: #d88972;
}

.event-dot.event-workshop,
.legend-workshop {
    background: #9a7ab4;
}

.event-dot.event-activity,
.legend-activity {
    background: #4f9c84;
}

.event-dot.event-other,
.legend-other {
    background: #d5a24e;
}

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 17px;
    color: var(--ink-soft);
    font-size: 0.68rem;
}

.calendar-legend span {
    display: inline-flex;
    gap: 7px;
    align-items: center;
}

.calendar-event-panel {
    padding: 24px;
    background: #f6f8f5;
    border-radius: 20px;
}

.calendar-event-panel-wide {
    padding: 32px;
}

.calendar-event-heading {
    margin-bottom: 24px;
}

.calendar-event-heading .eyebrow {
    margin-bottom: 4px;
}

.calendar-event-heading h3 {
    margin: 0;
    font-size: 2rem;
}

.calendar-event-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.calendar-event-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 24px;
    gap: 16px;
    align-items: center;
    width: 100%;
    min-height: 118px;
    padding: 18px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid transparent;
    border-left: 3px solid;
    border-radius: 14px;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.calendar-event-card:hover {
    box-shadow: 0 10px 25px rgba(32, 59, 52, 0.08);
    transform: translateY(-2px);
}

.calendar-event-card.event-celebration {
    border-left-color: #d88972;
}

.calendar-event-card.event-workshop {
    border-left-color: #9a7ab4;
}

.calendar-event-card.event-activity {
    border-left-color: #4f9c84;
}

.calendar-event-card.event-other {
    border-left-color: #d5a24e;
}

.calendar-event-date {
    width: 48px;
    height: 52px;
    display: grid;
    place-items: center;
    align-content: center;
    color: var(--green);
    background: var(--mint);
    border-radius: 11px;
}

.calendar-event-symbol {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: var(--green);
    background: var(--mint);
    border-radius: 16px;
    font-family: Georgia, serif;
    font-size: 1.55rem;
}

.calendar-event-card.event-celebration .calendar-event-symbol {
    color: #a8503b;
    background: #f3ddd6;
}

.calendar-event-card.event-workshop .calendar-event-symbol {
    color: #73548d;
    background: #e9e0ef;
}

.calendar-event-card.event-activity .calendar-event-symbol {
    color: #26735d;
    background: #dcece6;
}

.calendar-event-card.event-other .calendar-event-symbol {
    color: #98691f;
    background: #f3e7ce;
}

.calendar-event-date strong {
    font-family: Georgia, serif;
    font-size: 1.25rem;
    line-height: 1;
}

.calendar-event-date small {
    margin-top: 3px;
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
}

.calendar-event-copy {
    min-width: 0;
}

.calendar-event-copy > small {
    display: block;
    margin-bottom: 3px;
    color: var(--green);
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.calendar-event-copy > strong {
    display: block;
    font-size: 1rem;
    line-height: 1.3;
}

.calendar-event-copy > span {
    display: block;
    margin-top: 4px;
    color: var(--ink-soft);
    font-size: 0.64rem;
}

.calendar-event-arrow {
    color: var(--green);
}

.calendar-event-empty {
    padding: 32px 18px;
    color: var(--ink-soft);
    background: var(--white);
    border-radius: 14px;
    text-align: center;
    font-size: 0.78rem;
    line-height: 1.6;
}

.calendar-year-overview {
    margin-top: 75px;
}

.calendar-year-overview h2 {
    margin: 5px 0 25px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.calendar-month-buttons {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.calendar-month-buttons button {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 16px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid rgba(24, 52, 47, 0.08);
    border-radius: 14px;
    cursor: pointer;
    font-weight: 700;
    text-transform: capitalize;
    transition: transform 0.2s ease, background 0.2s ease;
}

.calendar-month-buttons button:hover,
.calendar-month-buttons button.active {
    color: var(--white);
    background: var(--green);
    transform: translateY(-2px);
}

.calendar-month-buttons small {
    opacity: 0.7;
}

.event-modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: none;
    place-items: center;
    padding: 20px;
    background: rgba(14, 37, 32, 0.72);
    backdrop-filter: blur(6px);
}

.event-modal.open {
    display: grid;
}

.event-modal-card {
    position: relative;
    width: min(100%, 560px);
    padding: 42px;
    background: var(--white);
    border-radius: 26px;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.25);
}

.event-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    color: var(--ink);
    background: #f2f4f0;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.35rem;
}

.event-modal-category {
    display: inline-flex;
    padding: 7px 11px;
    color: var(--green);
    background: var(--mint);
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.event-modal-card h2 {
    margin: 16px 0 24px;
    font-size: 2.25rem;
}

.event-modal-card dl {
    display: grid;
    gap: 10px;
    margin: 0 0 22px;
}

.event-modal-card dl div {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 14px;
}

.event-modal-card dt {
    color: var(--ink-soft);
    font-size: 0.78rem;
}

.event-modal-card dd {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 700;
}

.event-modal-card > p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.7;
}

.calendar-noscript {
    margin-top: 40px;
    padding: 30px;
    background: var(--white);
    border-radius: 20px;
}

.calendar-noscript article {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

/* Documents */
.documents-page {
    color: var(--ink);
    background: #f6f4ed;
}

.documents-hero {
    overflow: hidden;
    padding: 90px 0 78px;
    background: linear-gradient(135deg, #f2e6d2 0%, #e2eee8 100%);
}

.documents-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 80px;
    align-items: center;
}

.documents-hero h1 {
    margin: 12px 0 20px;
    font-size: clamp(4rem, 8vw, 7rem);
    line-height: 0.9;
}

.documents-hero p {
    max-width: 700px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.12rem;
    line-height: 1.8;
}

.documents-hero-art {
    position: relative;
    min-height: 250px;
}

.documents-paper {
    position: absolute;
    top: 8px;
    right: 76px;
    width: 178px;
    height: 220px;
    display: grid;
    place-items: center;
    color: var(--green);
    background: var(--white);
    border-radius: 22px;
    box-shadow: 0 22px 50px rgba(32, 59, 52, 0.12);
    transform: rotate(5deg);
}

.documents-paper-back {
    top: 28px;
    right: 116px;
    background: #d8c9e3;
    transform: rotate(-8deg);
}

.documents-paper svg {
    width: 70px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.documents-hero-art img {
    position: absolute;
    z-index: 2;
    width: 112px;
    right: 0;
    bottom: -18px;
    filter: drop-shadow(0 12px 15px rgba(32, 59, 52, 0.12));
    animation: cardAnimalPeek 5s ease-in-out infinite;
}

.documents-content {
    padding-block: 48px 110px;
}

.documents-jump-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 65px;
}

.documents-jump-nav a {
    padding: 11px 18px;
    color: var(--green);
    background: var(--white);
    border: 1px solid rgba(31, 106, 90, 0.14);
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 750;
    transition: transform 0.2s ease, background 0.2s ease;
}

.documents-jump-nav a:hover {
    color: var(--white);
    background: var(--green);
    transform: translateY(-2px);
}

.documents-section {
    scroll-margin-top: 100px;
}

.documents-section + .documents-section {
    margin-top: 95px;
}

.documents-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: end;
    margin-bottom: 30px;
}

.documents-section-heading h2 {
    max-width: 760px;
    margin: 6px 0 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.documents-count {
    min-width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: var(--green);
    background: var(--mint);
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 1.25rem;
}

.documents-count-sand {
    color: #9a6224;
    background: var(--sand);
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.document-card {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) 30px;
    gap: 18px;
    align-items: center;
    min-height: 126px;
    padding: 22px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid rgba(24, 52, 47, 0.08);
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(32, 59, 52, 0.04);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.document-card:hover {
    border-color: rgba(31, 106, 90, 0.28);
    box-shadow: 0 18px 45px rgba(32, 59, 52, 0.09);
    transform: translateY(-3px);
}

.document-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    color: var(--green);
    background: var(--mint);
    border-radius: 17px;
}

.document-icon-sand {
    color: #9a6224;
    background: var(--sand);
}

.document-icon svg {
    width: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.document-card-copy {
    min-width: 0;
}

.document-card-copy small {
    display: block;
    margin-bottom: 5px;
    color: var(--green);
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.document-card-copy strong {
    display: block;
    line-height: 1.35;
}

.document-card-copy > span {
    display: block;
    margin-top: 6px;
    color: var(--ink-soft);
    font-size: 0.76rem;
    line-height: 1.5;
}

.document-open {
    color: var(--green);
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.document-card:hover .document-open {
    transform: translate(3px, -3px);
}

.documents-empty {
    padding: 40px;
    color: var(--ink-soft);
    background: var(--white);
    border-radius: 20px;
    text-align: center;
}

.recruitment-note {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 22px;
    max-width: 900px;
    margin-top: 30px;
    padding: 30px;
    color: #4c5f5a;
    background: #efe4d2;
    border-radius: 22px;
}

.recruitment-note-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: #9a6224;
    border: 1px solid rgba(154, 98, 36, 0.4);
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 1.4rem;
}

.recruitment-note h3 {
    margin: 3px 0 10px;
}

.recruitment-note p {
    margin: 7px 0 0;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Footer */
.site-footer {
    padding: 72px 0 24px;
    color: #d5e1db;
    background: #173a33;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.8fr 0.7fr;
    gap: 80px;
    align-items: center;
    padding-bottom: 55px;
}

.brand-footer {
    margin-bottom: 20px;
    color: var(--white);
}

.brand-footer .brand-copy small {
    color: #a9c2b7;
}

.footer-grid p {
    max-width: 370px;
    margin-bottom: 0;
    color: #abc1b7;
    font-size: 0.88rem;
}

.footer-grid > div:nth-child(2) > strong {
    display: block;
    margin-bottom: 14px;
    color: var(--white);
}

.footer-contact-list {
    display: grid;
    gap: 10px;
}

.footer-contact-list a,
.footer-contact-list > div {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 11px;
    align-items: start;
    color: #c2d3cb;
    text-decoration: none;
    font-size: 0.86rem;
    line-height: 1.45;
}

.footer-contact-list a:hover {
    color: var(--white);
}

.footer-contact-list svg {
    width: 19px;
    height: 19px;
    margin-top: 2px;
    fill: currentColor;
}

.footer-login {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 17px 0;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    text-decoration: none;
    font-weight: 700;
}

.footer-login span {
    transition: transform 0.2s ease;
}

.footer-login:hover span {
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-top: 22px;
    color: #88a49a;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.74rem;
}

.footer-credit a {
    color: #d5e1db;
    font-weight: 700;
    text-decoration: none;
}

.footer-credit a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Authentication */
.auth-page {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 78px);
    color: var(--white);
    background:
        radial-gradient(circle at 14% 18%, rgba(239, 207, 145, 0.13), transparent 28%),
        radial-gradient(circle at 82% 22%, rgba(166, 207, 190, 0.14), transparent 25%),
        linear-gradient(145deg, #123e35 0%, #1b5b4d 55%, #173f37 100%);
}

.auth-layout {
    min-height: calc(100vh - 78px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 480px;
    gap: 80px;
    align-items: center;
    padding-block: 55px 70px;
}

.auth-story {
    position: relative;
    min-width: 0;
}

.auth-story-copy {
    position: relative;
    z-index: 3;
}

.auth-intro h1 {
    max-width: 760px;
    margin: 0 0 22px;
    color: var(--white);
    font-size: clamp(3.5rem, 6vw, 6.2rem);
    line-height: 0.95;
}

.auth-intro > p {
    max-width: 600px;
    color: #bad0c5;
    font-size: 1.04rem;
    line-height: 1.8;
}

.auth-story-copy > p {
    max-width: 660px;
    margin: 0;
    color: #c4dacf;
    font-size: 1.03rem;
    line-height: 1.8;
}

.auth-story-scene {
    position: relative;
    width: min(660px, 100%);
    height: 300px;
    margin-top: 20px;
}

.auth-story-moon {
    position: absolute;
    width: 88px;
    height: 88px;
    top: 15px;
    left: 44%;
    background: #f4d99e;
    border-radius: 50%;
    box-shadow: 0 0 0 18px rgba(244, 217, 158, 0.06), 0 0 50px rgba(244, 217, 158, 0.22);
}

.auth-story-gate {
    position: absolute;
    width: 220px;
    height: 230px;
    left: 50%;
    bottom: 12px;
    border: 9px solid #d5a95e;
    border-bottom: 0;
    border-radius: 115px 115px 22px 22px;
    transform: translateX(-50%);
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.12), 0 18px 40px rgba(5, 30, 24, 0.28);
}

.auth-gate-door {
    position: absolute;
    inset: 18px 18px 0;
    overflow: hidden;
    background: linear-gradient(180deg, #315f76 0%, #7ca49a 48%, #d6bf82 100%);
    border-radius: 90px 90px 8px 8px;
}

.auth-gate-door::before,
.auth-gate-door::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 145px;
    bottom: -85px;
    background: #315f48;
    border-radius: 50% 50% 0 0;
}

.auth-gate-door::before {
    left: -35px;
    transform: rotate(18deg);
}

.auth-gate-door::after {
    right: -35px;
    transform: rotate(-18deg);
}

.auth-gate-path {
    position: absolute;
    z-index: 2;
    width: 76px;
    height: 105px;
    left: 50%;
    bottom: -42px;
    background: linear-gradient(180deg, #ecd39f, rgba(236, 211, 159, 0));
    clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
    transform: translateX(-50%);
}

.auth-animal {
    position: absolute;
    z-index: 4;
    height: auto;
    pointer-events: none;
    filter: drop-shadow(0 12px 16px rgba(5, 30, 24, 0.25));
}

.auth-animal-deer {
    width: 165px;
    left: 45px;
    bottom: 0;
    animation: parentDeerFloat 5s ease-in-out infinite;
}

.auth-animal-rabbit {
    width: 105px;
    right: 55px;
    bottom: 2px;
    animation: cardAnimalPeek 4.6s ease-in-out infinite;
}

.auth-story-grass {
    position: absolute;
    z-index: 1;
    width: 170px;
    height: 55px;
    bottom: 0;
    background: #0f362e;
    border-radius: 50% 50% 0 0;
}

.auth-story-grass-left {
    left: 0;
}

.auth-story-grass-right {
    right: 0;
}

.auth-star {
    position: absolute;
    z-index: 2;
    color: #f5daa0;
    font-size: 1rem;
    animation: authStarTwinkle 2.8s ease-in-out infinite;
}

.auth-star-one {
    top: 30px;
    left: 24%;
}

.auth-star-two {
    top: 70px;
    right: 23%;
    animation-delay: 0.8s;
}

.auth-star-three {
    top: 125px;
    left: 31%;
    font-size: 0.65rem;
    animation-delay: 1.5s;
}

.auth-security {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 18px;
    padding: 14px 18px;
    width: fit-content;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
}

.auth-security strong,
.auth-security small {
    display: block;
}

.auth-security small {
    color: #9fbaae;
}

.lock-mark,
.mini-lock {
    position: relative;
    display: inline-block;
}

.lock-mark {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.lock-mark::before,
.mini-lock::before {
    content: "";
    position: absolute;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 9px 9px 0 0;
}

.lock-mark::before {
    width: 11px;
    height: 10px;
    left: 17px;
    top: 11px;
}

.lock-mark::after,
.mini-lock::after {
    content: "";
    position: absolute;
    background: currentColor;
    border-radius: 2px;
}

.lock-mark::after {
    width: 19px;
    height: 15px;
    left: 15px;
    top: 21px;
}

.auth-card {
    position: relative;
    overflow: visible;
    padding: 52px 48px 46px;
    color: var(--ink);
    background: linear-gradient(180deg, #fffdf9 0%, #ffffff 100%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 34px;
    box-shadow: 0 30px 80px rgba(4, 32, 26, 0.28);
}

.auth-story-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -12px;
    border: 1px solid rgba(244, 217, 158, 0.35);
    border-radius: 43px;
}

.auth-card-animal {
    position: absolute;
    z-index: 2;
    width: 100px;
    height: auto;
    top: -63px;
    right: 30px;
    pointer-events: none;
    filter: drop-shadow(0 10px 14px rgba(12, 55, 45, 0.14));
    animation: cardAnimalPeek 4.5s ease-in-out infinite;
}

.auth-card-mark {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    color: var(--green);
    background: var(--mint);
    border-radius: 18px;
}

.auth-card-mark svg {
    width: 31px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.form-kicker {
    color: var(--green);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.auth-card h2 {
    max-width: 350px;
    margin: 8px 0 10px;
    font-size: 2.45rem;
    line-height: 1.08;
}

.auth-card > p {
    margin-bottom: 30px;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.login-help {
    display: block;
    margin-top: 22px;
    color: #71827e;
    text-align: center;
    font-size: 0.75rem;
}

@keyframes authStarTwinkle {
    0%,
    100% {
        opacity: 0.35;
        transform: scale(0.85) rotate(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.15) rotate(18deg);
    }
}

/* Parent profile */
.profile-page {
    min-height: calc(100vh - 78px);
    padding-block: 65px 95px;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 18%, rgba(224, 198, 151, 0.18), transparent 28%),
        linear-gradient(135deg, #f3f0e7 0%, #e7efe9 100%);
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
    gap: 38px;
    align-items: start;
}

.profile-summary {
    position: sticky;
    top: 105px;
}

.profile-summary .back-link {
    margin-bottom: 25px;
}

.profile-summary-card {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    padding: 46px 38px;
    color: var(--white);
    background: linear-gradient(145deg, #17493e 0%, #226b59 100%);
    border-radius: 28px;
    box-shadow: 0 22px 55px rgba(29, 72, 61, 0.16);
}

.profile-summary-card::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -120px;
    bottom: -135px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    box-shadow: 0 0 0 48px rgba(255, 255, 255, 0.035);
}

.profile-summary-card .eyebrow {
    color: #b8d8c9;
}

.profile-summary-card h1 {
    position: relative;
    z-index: 2;
    margin: 5px 0 14px;
    color: var(--white);
    font-size: 2.8rem;
}

.profile-summary-card > p {
    position: relative;
    z-index: 2;
    max-width: 380px;
    margin: 0;
    color: #c4d8d0;
    line-height: 1.75;
}

.profile-gear-mark {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    color: #f0d39b;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 18px;
}

.profile-gear-mark svg {
    width: 31px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.profile-animal {
    position: absolute;
    z-index: 2;
    width: 105px;
    top: 20px;
    right: 22px;
    pointer-events: none;
    filter: drop-shadow(0 10px 14px rgba(8, 42, 34, 0.2));
    animation: cardAnimalPeek 4.8s ease-in-out infinite;
}

.profile-details {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 11px;
    margin: 35px 0 0;
}

.profile-details div {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.profile-details dt {
    color: #9fc1b4;
    font-size: 0.7rem;
}

.profile-details dd {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 750;
}

.profile-form-card {
    padding: 48px;
    background: var(--white);
    border: 1px solid rgba(24, 52, 47, 0.08);
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(32, 59, 52, 0.07);
}

.profile-form-card h2 {
    margin: 8px 0 10px;
    font-size: 2.5rem;
}

.profile-form-card > p {
    max-width: 620px;
    margin: 0 0 30px;
    color: var(--ink-soft);
    line-height: 1.7;
}

/* Forms */
.form-page {
    min-height: 750px;
    padding-block: 70px 100px;
    background: #f3f1ea;
}

.form-layout {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 90px;
    align-items: start;
}

.form-aside {
    position: sticky;
    top: 40px;
}

.form-aside h1,
.group-detail-head h1 {
    margin-bottom: 22px;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.form-aside > p {
    color: var(--ink-soft);
    line-height: 1.8;
}

.aside-note {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 13px;
    margin-top: 35px;
    padding: 18px;
    background: var(--mint);
    border-radius: var(--radius-sm);
}

.aside-note > span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: var(--green);
    border: 1px solid rgba(31, 106, 90, 0.4);
    border-radius: 50%;
    font-family: Georgia, serif;
    font-weight: 700;
}

.aside-note p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.82rem;
}

.aside-note-warning {
    background: #f4e6d8;
}

.aside-note-secure .mini-lock {
    border: 0;
}

.form-card {
    padding: 48px;
    background: var(--white);
    border: 1px solid rgba(24, 52, 47, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.form-field {
    display: grid;
    gap: 8px;
    margin-bottom: 23px;
}

.form-field > label {
    font-size: 0.83rem;
    font-weight: 750;
}

.form-field input:not([type="checkbox"]),
.form-field textarea,
.form-field select {
    width: 100%;
    min-height: 49px;
    padding: 12px 14px;
    color: var(--ink);
    background: #fbfcfa;
    border: 1px solid #cfd8d2;
    border-radius: 10px;
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.form-field input[type="file"] {
    padding: 9px;
    background: var(--cream);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    background: var(--white);
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(31, 106, 90, 0.1);
}

.editor-shell {
    overflow: hidden;
    border: 1px solid #cfd8d2;
    border-radius: 12px;
    background: var(--white);
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.editor-shell:focus-within {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(31, 106, 90, 0.1);
}

.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 9px;
    background: #f3f6f2;
    border-bottom: 1px solid #dbe2dc;
}

.editor-toolbar button {
    min-width: 34px;
    height: 32px;
    padding: 4px 9px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid #d5ddd7;
    border-radius: 7px;
    font-size: 0.75rem;
    cursor: pointer;
}

.editor-toolbar button:hover {
    color: var(--green);
    border-color: #9db8aa;
}

.rich-text-editor {
    min-height: 330px;
    padding: 22px;
    outline: none;
    line-height: 1.75;
}

.rich-text-editor:empty::before {
    content: "Napisz treść aktualności…";
    color: #8a9995;
}

.rich-text-editor h2,
.rich-text-editor h3 {
    margin: 1.2em 0 0.55em;
}

.rich-text-source-hidden {
    display: none;
}

.form-field-check {
    grid-template-columns: 21px 1fr;
    align-items: center;
}

.form-field-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--green);
}

.form-field-check .help-text,
.form-field-check .field-errors {
    grid-column: 2;
}

.help-text {
    color: #71827e;
    font-size: 0.74rem;
}

.field-errors,
.form-errors {
    color: var(--danger);
    font-size: 0.78rem;
}

.errorlist {
    margin: 0;
    padding: 0;
    list-style: none;
}

.form-errors {
    margin-bottom: 22px;
    padding: 13px;
    background: #f8e5e2;
    border-radius: 10px;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.confirm-wrap {
    display: grid;
    place-items: center;
}

.confirm-card {
    max-width: 600px;
    text-align: center;
}

.confirm-card h1 {
    margin-bottom: 16px;
    font-size: 2.5rem;
}

.confirm-card > p {
    color: var(--ink-soft);
}

.confirm-card .form-actions {
    justify-content: center;
}

.danger-mark {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    margin: 0 auto 25px;
    color: var(--danger);
    background: #f8e5e2;
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 1.4rem;
}

/* Dashboard */
.panel-page {
    min-height: 700px;
    padding: 62px 0 100px;
    background: #f1f3ef;
}

.panel-shell {
    display: grid;
    gap: 24px;
}

.panel-shell-parent {
    gap: 28px;
}

.panel-welcome {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 8px;
}

.panel-welcome-main {
    position: relative;
    z-index: 2;
}

.parent-welcome {
    min-height: 320px;
    overflow: hidden;
    align-items: center;
    margin-bottom: 0;
    padding: 46px 52px;
    background:
        radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.9) 0 8%, transparent 8.5%),
        linear-gradient(135deg, #fffdf8 0%, #f1e6d4 100%);
    border: 1px solid rgba(73, 97, 92, 0.12);
    border-radius: 32px;
    box-shadow: 0 24px 65px rgba(32, 59, 52, 0.1);
}

.parent-welcome .panel-welcome-main {
    max-width: 650px;
}

.parent-welcome h1 {
    margin-bottom: 14px;
    font-size: clamp(2.6rem, 4.8vw, 4.4rem);
}

.parent-welcome p {
    max-width: 600px;
    font-size: 1rem;
    line-height: 1.75;
}

.parent-welcome-details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 27px;
}

.parent-welcome .current-group {
    min-width: 190px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 8px 20px rgba(32, 59, 52, 0.06);
}

.parent-safe-note {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    color: var(--green);
    background: rgba(220, 235, 226, 0.78);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 750;
}

.parent-welcome-art {
    position: relative;
    width: 330px;
    height: 245px;
    flex: 0 0 330px;
    align-self: flex-end;
    margin: 0 -15px -46px 0;
}

.parent-art-circle {
    position: absolute;
    border-radius: 50%;
}

.parent-art-circle-one {
    width: 230px;
    height: 230px;
    right: 30px;
    bottom: 8px;
    background: rgba(220, 235, 226, 0.74);
}

.parent-art-circle-two {
    width: 95px;
    height: 95px;
    right: 5px;
    top: 10px;
    border: 18px solid rgba(231, 225, 238, 0.9);
}

.parent-animal {
    position: absolute;
    z-index: 2;
    height: auto;
    pointer-events: none;
    filter: drop-shadow(0 12px 15px rgba(32, 59, 52, 0.1));
}

.parent-animal-deer {
    width: 158px;
    left: 46px;
    bottom: -26px;
    animation: deerFloat 5s ease-in-out infinite;
}

.parent-animal-rabbit {
    width: 105px;
    right: 17px;
    bottom: -14px;
    animation: rabbitFloat 4.4s ease-in-out infinite 0.5s;
}

.parent-art-caption {
    position: absolute;
    z-index: 3;
    top: 27px;
    left: 22px;
    padding: 8px 13px;
    color: var(--green-dark);
    background: var(--white);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(32, 59, 52, 0.1);
    font-family: Georgia, serif;
    font-size: 0.82rem;
    font-style: italic;
    transform: rotate(-5deg);
}

@keyframes deerFloat {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes rabbitFloat {
    0%, 100% { transform: translateY(0) scaleX(-1) rotate(-1deg); }
    50% { transform: translateY(-7px) scaleX(-1) rotate(2deg); }
}

.admin-welcome {
    min-height: 310px;
    overflow: hidden;
    align-items: center;
    margin-bottom: 0;
    padding: 46px 52px;
    color: var(--white);
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.07) 0 10%, transparent 10.5%),
        linear-gradient(135deg, #173f36 0%, #235e50 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    box-shadow: 0 24px 65px rgba(20, 55, 47, 0.2);
}

.admin-welcome .panel-welcome-main {
    max-width: 660px;
}

.admin-welcome .eyebrow {
    color: #b9d8ca;
}

.admin-welcome h1 {
    color: var(--white);
}

.admin-welcome p {
    max-width: 590px;
    color: #c9dcd4;
    font-size: 1rem;
    line-height: 1.75;
}

.admin-welcome-art {
    position: relative;
    width: 330px;
    height: 250px;
    flex: 0 0 330px;
    align-self: flex-end;
    margin: 0 -10px -46px 0;
}

.admin-art-shape {
    position: absolute;
    border-radius: 50%;
}

.admin-art-shape-one {
    width: 230px;
    height: 230px;
    right: 24px;
    bottom: 5px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.13);
}

.admin-art-shape-two {
    width: 100px;
    height: 100px;
    right: 2px;
    top: 2px;
    border: 18px solid rgba(231, 225, 238, 0.15);
}

.admin-animal {
    position: absolute;
    z-index: 2;
    height: auto;
    pointer-events: none;
    filter: drop-shadow(0 12px 16px rgba(4, 28, 23, 0.2));
}

.admin-animal-fox {
    width: 150px;
    left: 35px;
    bottom: -20px;
    animation: adminFoxFloat 5.2s ease-in-out infinite;
}

.admin-animal-squirrel {
    width: 112px;
    right: 9px;
    bottom: -8px;
    animation: adminSquirrelFloat 4.7s ease-in-out infinite 0.6s;
}

.admin-art-caption {
    position: absolute;
    z-index: 3;
    top: 24px;
    left: 12px;
    padding: 8px 13px;
    color: var(--green-dark);
    background: #f8f5ed;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(4, 28, 23, 0.2);
    font-family: Georgia, serif;
    font-size: 0.78rem;
    font-style: italic;
    transform: rotate(-4deg);
}

@keyframes adminFoxFloat {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes adminSquirrelFloat {
    0%, 100% { transform: translateY(0) rotate(1deg); }
    50% { transform: translateY(-6px) rotate(-2deg); }
}

.panel-welcome h1 {
    margin-bottom: 12px;
    font-size: clamp(2.5rem, 5vw, 4.3rem);
}

.panel-welcome p,
.group-detail-head p {
    margin-bottom: 0;
    color: var(--ink-soft);
}

.panel-welcome.admin-welcome p {
    color: #c9dcd4;
}

.current-group {
    min-width: 210px;
    padding: 18px 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.current-group small,
.current-group strong {
    display: block;
}

.current-group small {
    margin-bottom: 2px;
    color: var(--ink-soft);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.current-group strong {
    font-size: 1.15rem;
}

.panel-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.parent-stats {
    grid-template-columns: repeat(3, 1fr);
}

.admin-stats > div {
    min-height: 96px;
    padding: 22px 24px;
    border-top: 3px solid transparent;
    box-shadow: 0 10px 28px rgba(32, 59, 52, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-stats > div:nth-child(1) { border-top-color: #7298a7; }
.admin-stats > div:nth-child(2) { border-top-color: #67a78f; }
.admin-stats > div:nth-child(3) { border-top-color: #9a87ae; }
.admin-stats > div:nth-child(4) { border-top-color: #d0a765; }

.admin-stats > div:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(32, 59, 52, 0.1);
}

.parent-stats > div {
    position: relative;
    overflow: hidden;
    min-height: 92px;
    padding: 22px 24px;
    box-shadow: 0 10px 28px rgba(32, 59, 52, 0.055);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.parent-stats > div::after {
    content: "";
    position: absolute;
    width: 55px;
    height: 55px;
    right: -20px;
    bottom: -25px;
    border: 1px solid rgba(31, 106, 90, 0.1);
    border-radius: 50%;
}

.parent-stats > div:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(32, 59, 52, 0.09);
}

.parent-shortcuts {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: -8px;
}

.parent-shortcuts a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    color: var(--ink-soft);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(24, 52, 47, 0.08);
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.74rem;
    font-weight: 750;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.parent-shortcuts a:hover {
    color: var(--green);
    background: var(--white);
    transform: translateY(-2px);
}

.shortcut-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.shortcut-blue { background: #7298a7; }
.shortcut-green { background: #67a78f; }
.shortcut-purple { background: #9a87ae; }

.panel-stats > div {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border: 1px solid rgba(24, 52, 47, 0.07);
    border-radius: var(--radius-md);
}

.stat-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-family: Georgia, serif;
    font-size: 1.2rem;
}

.stat-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stat-blue {
    color: #315f6d;
    background: var(--blue);
}

.stat-green {
    color: #397561;
    background: var(--mint);
}

.stat-purple {
    color: #6f5e82;
    background: var(--lilac);
}

.stat-sand {
    color: #8b6735;
    background: var(--sand);
}

.panel-stats p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.74rem;
    line-height: 1.35;
}

.panel-stats strong {
    display: block;
    color: var(--ink);
    font-family: Georgia, serif;
    font-size: 1.55rem;
}

.quick-actions {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 0.4fr 1.6fr;
    gap: 40px;
    align-items: center;
    padding: 28px 32px;
    color: var(--white);
    background: var(--green-dark);
    border-radius: var(--radius-md);
}

.admin-quick-actions {
    padding-right: 120px;
    color: var(--ink);
    background: linear-gradient(135deg, #efe5d5 0%, #e2ebe4 100%);
    border: 1px solid rgba(73, 97, 92, 0.1);
}

.admin-quick-actions .eyebrow {
    color: var(--green);
}

.admin-quick-actions h2 {
    color: var(--ink);
}

.admin-quick-actions .quick-action-links {
    position: relative;
    z-index: 2;
    justify-content: center;
}

.admin-quick-actions .quick-action-links a:last-child {
    color: var(--white);
    background: var(--green);
    border: 1px solid var(--green);
    box-shadow: 0 10px 22px rgba(31, 106, 90, 0.2);
}

.admin-quick-actions .quick-action-links a:last-child:hover {
    background: var(--green-dark);
    box-shadow: 0 14px 28px rgba(31, 106, 90, 0.26);
}

.admin-quick-actions .quick-action-links a:last-child svg {
    stroke: var(--white);
}

.admin-action-animal {
    position: absolute;
    z-index: 1;
    width: 82px;
    height: auto;
    right: 23px;
    bottom: -38px;
    pointer-events: none;
    filter: drop-shadow(0 8px 12px rgba(32, 59, 52, 0.1));
    animation: cardAnimalPeek 4.8s ease-in-out infinite;
}

.quick-actions .eyebrow {
    margin-bottom: 3px;
    color: #a9cbbd;
}

.quick-actions h2 {
    margin: 0;
    color: var(--white);
    font-size: 1.35rem;
}

.quick-actions.admin-quick-actions .eyebrow {
    color: var(--green);
}

.quick-actions.admin-quick-actions h2 {
    color: var(--ink);
}

.quick-action-links {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-action-links a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    color: var(--ink);
    background: var(--white);
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 750;
    transition: transform 0.2s ease;
}

.quick-action-links a:hover {
    transform: translateY(-2px);
}

.quick-action-links span {
    color: var(--green);
    font-size: 1rem;
}

.quick-action-links svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: var(--green);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.panel-card {
    position: relative;
    padding: 30px;
    background: var(--white);
    border: 1px solid rgba(24, 52, 47, 0.07);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 30px rgba(32, 59, 52, 0.04);
}

.panel-shell-parent .panel-card {
    border-color: rgba(73, 97, 92, 0.1);
    box-shadow: 0 12px 35px rgba(32, 59, 52, 0.055);
}

.panel-shell-parent .panel-grid .panel-card:first-child {
    background: linear-gradient(180deg, #ffffff 0%, #f7fafb 100%);
}

.panel-shell-parent .panel-grid .panel-card:last-child {
    background: linear-gradient(180deg, #ffffff 0%, #f5faf7 100%);
}

.panel-card-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 26px;
}

.panel-heading-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.section-collapse-toggle {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    color: var(--green);
    background: #f2f7f4;
    border: 1px solid rgba(31, 106, 90, 0.14);
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 750;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.section-collapse-toggle:hover {
    color: var(--white);
    background: var(--green);
    transform: translateY(-1px);
}

.section-collapse-toggle svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

[data-collapsible-section].is-collapsed > :not(.panel-card-heading) {
    display: none !important;
}

[data-collapsible-section].is-collapsed > .panel-card-heading {
    margin-bottom: 0;
}

[data-collapsible-section].is-collapsed .section-collapse-toggle svg {
    transform: rotate(-90deg);
}

.admin-heading-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.panel-card-heading .eyebrow {
    margin-bottom: 4px;
}

.panel-card-heading h2 {
    margin: 0;
    font-size: 1.65rem;
}

.count-badge {
    min-width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding-inline: 10px;
    color: #315c69;
    background: var(--blue);
    border-radius: 999px;
    font-family: Georgia, serif;
}

.count-green {
    color: var(--green);
    background: var(--mint);
}

.announcement-list {
    display: grid;
}

.announcement-item {
    display: grid;
    grid-template-columns: 9px 1fr;
    gap: 17px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
}

.announcement-item:first-child {
    padding-top: 0;
    border-top: 0;
}

.announcement-item:last-child {
    padding-bottom: 0;
}

.announcement-dot {
    width: 8px;
    height: 8px;
    margin-top: 8px;
    background: #7298a7;
    border-radius: 50%;
}

.dot-green {
    background: #67a78f;
}

.item-meta {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: #71827e;
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.announcement-item h3 {
    margin: 8px 0;
    font-size: 1.08rem;
}

.announcement-item p {
    margin-bottom: 9px;
    color: var(--ink-soft);
    font-size: 0.86rem;
    line-height: 1.65;
}

.announcement-item small {
    color: #80908c;
    font-size: 0.7rem;
}

.announcement-admin-actions {
    margin-top: 12px;
}

.announcement-admin-actions a {
    color: var(--danger);
    font-size: 0.74rem;
    font-weight: 750;
    text-decoration: none;
}

.announcement-admin-actions a:hover {
    text-decoration: underline;
}

.empty-state {
    padding: 28px;
    color: #6f817c;
    background: #f8faf7;
    border: 1px dashed #ccd7d0;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.86rem;
}

.media-section {
    padding: 34px;
}

.parent-media-card {
    overflow: hidden;
    padding-top: 38px;
}

.parent-media-card .panel-card-heading {
    position: relative;
    z-index: 2;
    padding-right: 100px;
}

.panel-card-animal {
    position: absolute;
    z-index: 1;
    width: 84px;
    height: auto;
    top: -16px;
    right: 25px;
    pointer-events: none;
    filter: drop-shadow(0 8px 12px rgba(32, 59, 52, 0.08));
    animation: cardAnimalPeek 4.8s ease-in-out infinite;
}

.panel-card-squirrel {
    width: 88px;
    top: -19px;
    animation-delay: 0.8s;
}

@keyframes cardAnimalPeek {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(5px) rotate(2deg); }
}

.privacy-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: var(--green);
    background: var(--mint);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 750;
}

.mini-lock {
    width: 12px;
    height: 13px;
    color: var(--green);
}

.mini-lock::before {
    width: 6px;
    height: 5px;
    left: 2px;
    top: 0;
}

.mini-lock::after {
    width: 10px;
    height: 8px;
    left: 1px;
    bottom: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.gallery-card {
    position: relative;
    min-height: 220px;
    display: block;
    overflow: hidden;
    padding: 0;
    background: var(--mint);
    border: 0;
    border-radius: 16px;
    cursor: pointer;
    text-decoration: none;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover img {
    transform: scale(1.04);
}

.gallery-overlay {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    display: grid;
    padding: 45px 17px 16px;
    color: var(--white);
    text-align: left;
    background: linear-gradient(transparent, rgba(11, 30, 26, 0.78));
}

.gallery-overlay strong {
    font-size: 0.88rem;
}

.gallery-overlay small {
    color: #d4e0da;
    font-size: 0.68rem;
}

.gallery-album-count {
    position: absolute;
    z-index: 3;
    top: 12px;
    right: 12px;
    padding: 7px 10px;
    color: var(--white);
    background: rgba(15, 48, 40, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    backdrop-filter: blur(5px);
    font-size: 0.64rem;
    font-weight: 800;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.video-card {
    overflow: hidden;
    background: #f3f5f2;
    border-radius: 16px;
}

.video-card video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    background: #102b25;
}

.video-card > div {
    padding: 18px;
}

.video-card span {
    color: var(--green);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.video-card h3 {
    margin: 5px 0;
    font-size: 1rem;
}

.video-card p {
    margin: 8px 0 0;
    color: var(--ink-soft);
    font-size: 0.8rem;
}

.media-management-links {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.media-management-links a {
    color: var(--green);
    font-size: 0.72rem;
    font-weight: 800;
    text-decoration: none;
}

.media-management-links a:last-child {
    color: var(--danger);
}

/* Media album */
.album-page {
    min-height: 70vh;
    padding-block: 65px 100px;
    background: #f6f4ed;
}

.album-header {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    align-items: end;
    margin-bottom: 42px;
}

.album-header h1 {
    max-width: 850px;
    margin: 7px 0 14px;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
}

.album-header > div:first-child > p {
    max-width: 760px;
    margin: 18px 0 0;
    color: var(--ink-soft);
    line-height: 1.75;
}

.album-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    color: var(--ink-soft);
    font-size: 0.76rem;
}

.album-meta span + span::before {
    content: "•";
    margin-right: 20px;
}

.album-management {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
}

.album-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.album-photo {
    position: relative;
}

.album-gallery-button {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 0.86;
    display: block;
    overflow: hidden;
    padding: 0;
    background: var(--mint);
    border: 0;
    border-radius: 18px;
    cursor: zoom-in;
}

.album-gallery-button img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.album-gallery-button:hover img {
    transform: scale(1.04);
}

.album-gallery-button > span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 7px 10px;
    color: var(--white);
    background: rgba(15, 48, 40, 0.75);
    border-radius: 999px;
    opacity: 0;
    font-size: 0.62rem;
    font-weight: 800;
    transition: opacity 0.2s ease;
}

.album-gallery-button:hover > span {
    opacity: 1;
}

.album-photo form {
    position: absolute;
    z-index: 3;
    top: 10px;
    right: 10px;
}

.album-photo form button {
    padding: 7px 9px;
    color: var(--white);
    background: rgba(137, 49, 42, 0.9);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.6rem;
    font-weight: 800;
}

.album-video {
    overflow: hidden;
    background: #102b25;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(22, 54, 47, 0.15);
}

.album-video video {
    width: 100%;
    max-height: 75vh;
    display: block;
}

.admin-decorated-card {
    overflow: hidden;
}

.admin-decorated-card .panel-card-heading {
    position: relative;
    z-index: 2;
    padding-right: 82px;
}

.admin-card-animal {
    position: absolute;
    z-index: 1;
    width: 72px;
    height: auto;
    top: 12px;
    right: 24px;
    pointer-events: none;
    filter: drop-shadow(0 8px 12px rgba(32, 59, 52, 0.08));
    animation: cardAnimalPeek 5s ease-in-out infinite;
}

.admin-card-deer {
    width: 76px;
    top: 8px;
    animation-delay: 0.7s;
}

.groups-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.group-card {
    display: grid;
    grid-template-columns: 48px 1fr 28px;
    gap: 14px;
    align-items: center;
    padding: 18px;
    background: #f6f8f5;
    border-radius: 15px;
}

.group-initial,
.parent-avatar {
    display: grid;
    place-items: center;
    color: var(--green);
    background: var(--mint);
    border-radius: 50%;
    font-family: Georgia, serif;
}

.group-initial {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
}

.group-card h3 {
    margin: 0 0 3px;
    font-size: 0.98rem;
}

.group-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.72rem;
}

.group-card > a {
    color: var(--green);
    text-decoration: none;
    font-size: 1.2rem;
}

.group-initial-temporary {
    color: #8d5a1f;
    background: #f4e6cf;
}

.group-card h3 .temporary-label {
    display: inline-flex;
    margin-left: 7px;
    padding: 3px 7px;
    color: #8d5a1f;
    background: #f4e6cf;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.54rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    vertical-align: middle;
}

.admin-news-list {
    display: grid;
}

.admin-news-list article {
    display: grid;
    grid-template-columns: 82px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 17px 0;
    border-top: 1px solid var(--line);
}

.admin-news-list article:first-child {
    padding-top: 0;
    border-top: 0;
}

.admin-news-list time {
    color: var(--ink-soft);
    font-family: Georgia, serif;
    font-size: 0.85rem;
}

.admin-news-list strong {
    display: block;
    margin-bottom: 3px;
}

.admin-news-list p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.78rem;
}

.admin-news-list article > span {
    display: flex;
    gap: 12px;
}

.admin-news-list a {
    color: var(--green);
    font-size: 0.76rem;
    font-weight: 750;
    text-decoration: none;
}

.admin-news-list a:last-child {
    color: var(--danger);
}

.admin-card-documents {
    width: 74px;
    top: 9px;
    animation-delay: 1.1s;
}

.admin-document-list {
    display: grid;
}

.admin-document-list article {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.admin-document-list article:first-child {
    padding-top: 0;
    border-top: 0;
}

.admin-document-type {
    min-height: 40px;
    display: grid;
    place-items: center;
    padding: 5px;
    color: var(--green);
    background: var(--mint);
    border-radius: 11px;
    font-size: 0.64rem;
    font-weight: 800;
}

.admin-document-list strong {
    display: block;
    margin-bottom: 3px;
}

.admin-document-list p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.76rem;
}

.admin-document-list article > span:last-child {
    display: flex;
    gap: 12px;
}

.admin-document-list a {
    color: var(--green);
    font-size: 0.76rem;
    font-weight: 750;
    text-decoration: none;
}

.admin-document-list a:last-child {
    color: var(--danger);
}

.admin-card-calendar {
    width: 73px;
    top: 10px;
    animation-delay: 1.5s;
}

.admin-event-list {
    display: grid;
}

.admin-event-list article {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.admin-event-list article:first-child {
    padding-top: 0;
    border-top: 0;
}

.admin-event-month {
    min-height: 45px;
    display: grid;
    place-items: center;
    align-content: center;
    color: var(--green);
    background: var(--mint);
    border-radius: 11px;
}

.admin-event-month strong {
    font-family: Georgia, serif;
    font-size: 1rem;
    line-height: 1;
}

.admin-event-month small {
    margin-top: 3px;
    font-size: 0.56rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-event-list article > div > strong {
    display: block;
    margin-bottom: 3px;
}

.admin-event-list p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.76rem;
}

.admin-event-list article > span:last-child {
    display: flex;
    gap: 12px;
}

.admin-event-list a {
    color: var(--green);
    font-size: 0.76rem;
    font-weight: 750;
    text-decoration: none;
}

.admin-event-list a:last-child {
    color: var(--danger);
}

/* Group detail */
.group-detail-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 50px;
    margin-bottom: 16px;
}

.group-detail-head .form-actions {
    flex-wrap: nowrap;
    margin: 0;
}

.button-transfer {
    color: var(--white);
    background: #9b6529;
    border-color: #9b6529;
}

.button-transfer:hover {
    color: var(--white);
    background: #7f501f;
    border-color: #7f501f;
}

.temporary-group-note {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    align-items: center;
    margin-bottom: 20px;
    padding: 18px 22px;
    color: #70451a;
    background: #f4e6cf;
    border: 1px solid rgba(155, 101, 41, 0.16);
    border-radius: 16px;
}

.temporary-group-note strong {
    flex: 0 0 auto;
}

.temporary-group-note span {
    color: #806343;
    font-size: 0.8rem;
    line-height: 1.55;
}

.transfer-source-card {
    display: grid;
    gap: 5px;
    margin-top: 32px;
    padding: 22px;
    background: var(--white);
    border: 1px solid rgba(24, 52, 47, 0.08);
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(32, 59, 52, 0.05);
}

.transfer-source-card small {
    color: var(--green);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.transfer-source-card strong {
    font-size: 1.4rem;
}

.transfer-source-card span {
    color: var(--ink-soft);
    font-size: 0.8rem;
}

.group-transfer-card {
    border-top: 4px solid #c48b48;
}

.transfer-rules {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 16px;
    margin-bottom: 34px;
    padding: 20px;
    color: #70451a;
    background: #f4e6cf;
    border-radius: 17px;
}

.transfer-rules > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(155, 101, 41, 0.4);
    border-radius: 50%;
    font-family: Georgia, serif;
    font-weight: 700;
}

.transfer-rules strong {
    display: block;
    margin-bottom: 5px;
}

.transfer-rules p {
    margin: 0;
    color: #806343;
    font-size: 0.82rem;
    line-height: 1.65;
}

.transfer-flow {
    display: grid;
    grid-template-columns: 1fr 34px 1fr;
    gap: 10px;
    align-items: center;
    margin-top: 32px;
    padding: 18px;
    color: var(--ink-soft);
    background: #f6f8f5;
    border-radius: 15px;
    font-size: 0.78rem;
    text-align: center;
}

.transfer-flow strong {
    color: var(--green);
    font-size: 1.2rem;
}

.parents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.parent-card {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 18px;
    align-items: start;
    padding: 24px;
    background: #f7f9f6;
    border-radius: 16px;
}

.parent-avatar {
    width: 58px;
    height: 58px;
    font-size: 1.45rem;
}

.parent-main > small {
    color: var(--ink-soft);
    font-size: 0.68rem;
    font-weight: 750;
    text-transform: uppercase;
}

.parent-main h3 {
    margin: 3px 0 15px;
    font-size: 1.12rem;
}

.parent-main dl {
    display: grid;
    gap: 7px;
    margin: 0;
}

.parent-main dl div {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 10px;
    font-size: 0.75rem;
}

.parent-main dt {
    color: #71827e;
}

.parent-main dd {
    margin: 0;
}

.credentials-confirm-card {
    max-width: 760px;
}

.credentials-warning {
    display: grid;
    gap: 6px;
    margin-top: 24px;
    padding: 20px;
    color: #76522c;
    background: #f5ead7;
    border: 1px solid #e8d4b2;
    border-radius: 16px;
}

.credentials-warning span {
    font-size: 0.85rem;
    line-height: 1.6;
}

.credentials-print-page {
    min-height: 70vh;
    padding-block: 55px 90px;
    color: var(--ink);
    background: #f3f1ea;
}

.credentials-print-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 45px;
    align-items: end;
    margin-bottom: 35px;
}

.credentials-print-toolbar h1 {
    margin: 5px 0 8px;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.credentials-print-toolbar p {
    max-width: 720px;
    margin: 0;
    color: var(--ink-soft);
}

.credentials-print-toolbar > div:last-child {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
}

.credential-slips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.credential-slip {
    position: relative;
    overflow: hidden;
    min-height: 285px;
    padding: 22px;
    background: var(--white);
    border: 1px dashed #91a49e;
    border-radius: 18px;
    break-inside: avoid;
}

.credential-cut-mark {
    position: absolute;
    top: -8px;
    left: 24px;
    padding: 0 6px;
    color: #71827e;
    background: #f3f1ea;
    font-size: 1rem;
}

.credential-slip > header {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    gap: 12px;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--line);
}

.credential-slip > header img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 12px;
}

.credential-slip > header strong,
.credential-slip > header span {
    display: block;
}

.credential-slip > header strong {
    font-size: 0.82rem;
}

.credential-slip > header span {
    margin-top: 2px;
    color: var(--ink-soft);
    font-size: 0.61rem;
}

.credential-slip > header small {
    padding: 6px 9px;
    color: var(--green);
    background: var(--mint);
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
}

.credential-person {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-block: 17px;
}

.credential-person span,
.credential-login span {
    display: block;
    margin-bottom: 4px;
    color: var(--ink-soft);
    font-size: 0.59rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.credential-person strong {
    font-size: 0.9rem;
}

.credential-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 13px 15px;
    color: #143f36;
    background: #e4f0ea;
    border-radius: 13px;
}

.credential-login strong {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.94rem;
    letter-spacing: 0.04em;
}

.credential-slip > footer {
    margin-top: 13px;
    color: var(--ink-soft);
    font-size: 0.62rem;
    text-align: center;
}

/* Gallery modal */
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(10, 30, 25, 0.88);
    backdrop-filter: blur(10px);
}

.gallery-modal.open {
    display: flex;
}

.gallery-modal-content {
    position: relative;
    width: min(1050px, 100%);
}

.gallery-modal-content > img {
    width: 100%;
    max-height: 78vh;
    display: block;
    object-fit: contain;
    background: #102b25;
    border-radius: 18px;
}

.gallery-modal-close,
.gallery-modal-nav {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--white);
    background: rgba(17, 45, 38, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
}

.gallery-modal-close {
    width: 42px;
    height: 42px;
    top: 14px;
    right: 14px;
    font-size: 1.5rem;
}

.gallery-modal-nav {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
}

.gallery-modal-nav.prev {
    left: 14px;
}

.gallery-modal-nav.next {
    right: 14px;
}

.gallery-modal-caption {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 14px;
    color: var(--white);
}

.gallery-modal-caption span {
    color: #b8cbc3;
    font-size: 0.8rem;
}

/* Public news detail */
.news-detail {
    padding: 85px 0 110px;
}

.news-detail-header {
    max-width: 800px;
}

.news-detail-header .back-link {
    margin-bottom: 55px;
}

.news-detail-header h1 {
    max-width: 800px;
    margin-bottom: 24px;
    font-size: clamp(2.4rem, 5.2vw, 4.6rem);
}

.news-detail-meta {
    display: flex;
    gap: 22px;
    color: var(--ink-soft);
    font-size: 0.82rem;
}

.news-detail-meta span::before {
    content: "•";
    margin-right: 22px;
}

.news-detail-image {
    max-width: 960px;
    margin-top: 55px;
}

.news-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

.news-detail-body {
    max-width: 780px;
    padding-top: 65px;
    color: #304c46;
    font-size: 1.05rem;
    line-height: 1.85;
}

.news-detail-body h2 {
    margin: 1.6em 0 0.6em;
    font-size: 2rem;
}

.news-detail-body h3 {
    margin: 1.5em 0 0.6em;
    font-size: 1.45rem;
}

.news-detail-body blockquote {
    margin: 2em 0;
    padding: 8px 0 8px 25px;
    color: var(--green);
    border-left: 3px solid var(--green);
    font-family: Georgia, serif;
    font-size: 1.25rem;
}

.news-detail-body a {
    color: var(--green);
    font-weight: 700;
}

/* About */
.about-page {
    color: var(--ink);
    background: #f6f4ed;
}

.about-hero {
    overflow: hidden;
    padding: 92px 0 86px;
    background:
        radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.8) 0 9%, transparent 9.2%),
        linear-gradient(135deg, #f2e5cf 0%, #e3eee7 100%);
}

.about-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
    gap: 84px;
    align-items: center;
}

.about-hero-copy h1 {
    max-width: 880px;
    margin: 15px 0 28px;
    font-size: clamp(3.7rem, 7vw, 6.8rem);
    line-height: 0.94;
    letter-spacing: -0.055em;
}

.about-hero-copy > p {
    max-width: 760px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.12rem;
    line-height: 1.85;
}

.about-hero-summary {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 24px 0 70px;
}

.about-summary-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 58px 1fr;
    column-gap: 18px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(24, 52, 47, 0.07);
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(32, 59, 52, 0.08);
}

.about-summary-hours {
    margin-right: 42px;
}

.about-summary-icon {
    grid-row: 1 / 4;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: var(--green);
    background: var(--mint);
    border-radius: 17px;
}

.about-summary-icon svg {
    width: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-summary-card small {
    color: var(--ink-soft);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.about-summary-card strong {
    margin-top: 3px;
    font-size: 1.55rem;
}

.about-summary-card p {
    margin: 4px 0 0;
    color: var(--ink-soft);
    font-size: 0.78rem;
}

.about-hero-summary > img {
    position: absolute;
    z-index: 2;
    right: -8px;
    bottom: -18px;
    width: 126px;
    filter: drop-shadow(0 14px 14px rgba(32, 59, 52, 0.13));
    animation: cardAnimalPeek 5s ease-in-out infinite;
}

.about-values,
.about-care {
    padding: 108px 0;
}

.about-section-heading {
    max-width: 850px;
    margin-bottom: 42px;
}

.about-section-heading h2,
.about-groups-heading h2,
.about-contact-card h2 {
    margin: 9px 0 0;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.about-values-grid,
.about-care-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.about-value-card {
    position: relative;
    min-height: 430px;
    padding: 34px;
    border-radius: 34px;
}

.about-value-sand {
    background: #f2e7d3;
}

.about-value-mint {
    background: #dcebe3;
}

.about-value-lilac {
    background: #e6dfed;
}

.about-card-number {
    position: absolute;
    top: 30px;
    right: 32px;
    color: rgba(24, 52, 47, 0.44);
    font-family: Georgia, serif;
    font-size: 0.8rem;
}

.about-card-icon {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    color: var(--ink);
    border: 1px solid rgba(24, 52, 47, 0.28);
    border-radius: 50%;
}

.about-card-icon svg {
    width: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-value-card h3 {
    margin: 80px 0 18px;
    font-size: 1.6rem;
    line-height: 1.12;
}

.about-value-card p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.8;
}

.about-groups {
    padding: 105px 0;
    background: var(--ink);
}

.about-groups .eyebrow {
    color: #9fc8ba;
}

.about-groups-heading {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 48px;
}

.about-groups-heading h2 {
    color: var(--white);
}

.about-groups-heading > p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.8;
}

.about-groups-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.about-group-card {
    position: relative;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    overflow: hidden;
    background: #f8f4e9;
    border-radius: 25px;
}

.about-group-card:nth-child(3n + 2) {
    background: #dcebe3;
}

.about-group-card:nth-child(3n + 3) {
    background: #e6dfed;
}

.about-group-index {
    position: absolute;
    top: 24px;
    right: 25px;
    color: rgba(24, 52, 47, 0.4);
    font-family: Georgia, serif;
    font-size: 0.78rem;
}

.about-group-card small {
    display: block;
    margin-bottom: 8px;
    color: var(--green);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-group-card h3 {
    margin: 0;
    font-size: 1.65rem;
}

.about-group-card p {
    max-width: 250px;
    margin: 10px 0 0;
    color: var(--ink-soft);
    line-height: 1.6;
}

.about-group-card > strong {
    font-size: 2rem;
}

.about-group-card > strong span {
    color: var(--ink-soft);
    font-size: 0.72rem;
    font-weight: 650;
    text-transform: uppercase;
}

.about-care-grid article {
    min-height: 300px;
    padding: 30px;
    background: var(--white);
    border: 1px solid rgba(24, 52, 47, 0.08);
    border-radius: 26px;
    box-shadow: 0 14px 40px rgba(32, 59, 52, 0.05);
}

.about-care-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    color: var(--green);
    background: var(--mint);
    border-radius: 18px;
}

.about-care-icon svg {
    width: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-care-grid h3 {
    margin: 38px 0 14px;
    font-size: 1.45rem;
}

.about-care-grid p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.75;
}

.about-care-note {
    display: grid;
    grid-template-columns: 160px 210px 1fr;
    gap: 28px;
    align-items: center;
    margin-top: 16px;
    padding: 28px 32px;
    color: var(--white);
    background: var(--green);
    border-radius: 26px;
}

.about-care-note > span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.about-care-note strong {
    font-size: 1.8rem;
}

.about-care-note p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.86rem;
    line-height: 1.65;
}

.about-contact {
    padding: 0 0 110px;
}

.about-contact-card {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 50px;
    align-items: center;
    min-height: 330px;
    padding: 56px 190px 56px 56px;
    overflow: hidden;
    background: #f0e3cf;
    border-radius: 34px;
}

.about-contact-card > div:first-child {
    max-width: 650px;
}

.about-contact-card h2 {
    font-size: clamp(2.4rem, 4vw, 3.8rem);
}

.about-contact-card p {
    margin: 18px 0 0;
    color: var(--ink-soft);
    line-height: 1.7;
}

.about-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-contact-card > img {
    position: absolute;
    right: 38px;
    bottom: -5px;
    width: 125px;
    filter: drop-shadow(0 12px 14px rgba(32, 59, 52, 0.12));
}

.admin-card-about {
    width: 72px;
    top: 10px;
    animation-delay: 0.7s;
}

.admin-about-list {
    display: grid;
}

.admin-about-list article {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid var(--line);
}

.admin-about-list article:first-child {
    padding-top: 0;
    border-top: 0;
}

.admin-about-number {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--green);
    background: var(--mint);
    border-radius: 12px;
    font-family: Georgia, serif;
}

.admin-about-list strong {
    display: block;
    margin-bottom: 3px;
}

.admin-about-list p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.76rem;
}

.admin-about-list article > span:last-child {
    display: flex;
    gap: 12px;
}

.admin-about-list a {
    color: var(--green);
    font-size: 0.76rem;
    font-weight: 750;
    text-decoration: none;
}

.admin-about-list a:last-child {
    color: var(--danger);
}

/* Keyboard focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid #e4b45e;
    outline-offset: 3px;
}

@media (max-width: 1050px) {
    .album-photo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .calendar-hero-layout {
        grid-template-columns: minmax(0, 1fr) 270px;
        gap: 35px;
    }

    .calendar-layout {
        grid-template-columns: 1fr;
    }

    .calendar-month-buttons {
        grid-template-columns: repeat(4, 1fr);
    }

    .documents-hero-layout {
        grid-template-columns: minmax(0, 1fr) 250px;
        gap: 35px;
    }

    .documents-grid {
        grid-template-columns: 1fr;
    }

    .home-mascot,
    .section-mascot {
        display: none;
    }

    .hero-grid {
        gap: 30px;
    }

    .hero-art {
        min-height: 520px;
    }

    .art-card {
        right: 0;
    }

    .panel-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .parent-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .parent-welcome {
        padding-right: 34px;
    }

    .admin-welcome {
        padding-right: 34px;
    }

    .parent-welcome-art {
        width: 270px;
        flex-basis: 270px;
    }

    .parent-animal-deer {
        width: 140px;
        left: 35px;
    }

    .parent-animal-rabbit {
        width: 92px;
        right: 5px;
    }

    .admin-welcome-art {
        width: 270px;
        flex-basis: 270px;
    }

    .admin-animal-fox {
        width: 136px;
        left: 28px;
    }

    .admin-animal-squirrel {
        width: 98px;
        right: 2px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .groups-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-layout {
        gap: 55px;
    }
}

@media (max-width: 1450px) {
    .home-mascot,
    .section-mascot {
        display: none;
    }
}

@media (max-width: 820px) {
    .shell {
        width: min(100% - 30px, 680px);
    }

    .main-nav {
        gap: 16px;
    }

    .album-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }

    .album-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section {
        padding-block: 80px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding-bottom: 20px;
    }

    .hero-art {
        width: min(540px, 100%);
        min-height: 520px;
        margin-inline: auto;
    }

    .values-row {
        grid-template-columns: 1fr;
    }

    .values-row > div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .values-row > div:last-child {
        border-bottom: 0;
    }

    .split-heading,
    .privacy-panel,
    .auth-layout,
    .contact-cta,
    .form-layout,
    .profile-layout {
        grid-template-columns: 1fr;
    }

    .profile-summary {
        position: static;
    }

    .profile-summary-card {
        min-height: 430px;
    }

    .contact-cta {
        gap: 38px;
        text-align: center;
    }

    .contact-cta-copy p {
        margin-inline: auto;
    }

    .home-contact-list {
        width: 100%;
        justify-items: center;
    }

    .home-contact-list a,
    .home-contact-list > div {
        width: min(100%, 330px);
        text-align: left;
    }

    .split-heading {
        gap: 25px;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }

    .approach-card {
        min-height: auto;
        text-align: center;
    }

    .line-icon {
        margin: 20px auto 30px;
    }

    .privacy-panel {
        gap: 50px;
        padding: 55px 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-login {
        grid-column: 1 / -1;
    }

    .auth-layout {
        gap: 40px;
        padding-block: 60px;
    }

    .auth-story-copy {
        max-width: 680px;
    }

    .auth-story-scene {
        margin-inline: auto;
    }

    .auth-security {
        margin-inline: auto;
    }

    .auth-card {
        width: min(100%, 580px);
        margin-inline: auto;
    }

    .parent-welcome {
        min-height: 390px;
        align-items: flex-start;
        padding: 38px;
    }

    .admin-welcome {
        min-height: 390px;
        align-items: flex-start;
        padding: 38px;
    }

    .parent-welcome .panel-welcome-main {
        max-width: 500px;
    }

    .parent-welcome-art {
        position: absolute;
        width: 250px;
        height: 210px;
        right: 0;
        bottom: 0;
        margin: 0;
        opacity: 0.5;
    }

    .admin-welcome-art {
        position: absolute;
        width: 250px;
        height: 215px;
        right: 0;
        bottom: 0;
        margin: 0;
        opacity: 0.58;
    }

    .parent-animal-deer {
        width: 130px;
    }

    .parent-animal-rabbit {
        width: 85px;
    }

    .parent-art-caption {
        display: none;
    }

    .admin-art-caption {
        display: none;
    }

    .parent-stats {
        grid-template-columns: 1fr;
    }

    .auth-intro h1 {
        font-size: 3.8rem;
    }

    .form-aside {
        position: static;
    }

    .back-link {
        margin-bottom: 35px;
    }

    .panel-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .quick-action-links {
        justify-content: flex-start;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .groups-grid,
    .parents-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .shell {
        width: min(100% - 24px, 500px);
    }

    .nav-bar {
        min-height: 68px;
        gap: 12px;
    }

    .album-page {
        padding-block: 45px 75px;
    }

    .album-header h1 {
        font-size: 2.8rem;
    }

    .album-management {
        width: 100%;
        flex-wrap: wrap;
    }

    .album-management .button {
        flex: 1;
    }

    .album-photo-grid {
        gap: 8px;
    }

    .album-gallery-button {
        border-radius: 13px;
    }

    .album-photo form {
        top: 7px;
        right: 7px;
    }

    .album-photo form button {
        max-width: 70px;
        line-height: 1.15;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .brand-logo {
        width: 48px;
        height: 42px;
        flex-basis: 48px;
        border-radius: 10px;
    }

    .brand-copy strong {
        font-size: 1rem;
    }

    .brand-copy small {
        font-size: 0.58rem;
    }

    .main-nav .nav-login {
        padding: 9px 10px;
        font-size: 0.78rem;
    }

    .main-nav {
        gap: 8px;
    }

    .main-nav .profile-settings-link {
        width: 35px;
        height: 35px;
    }

    .profile-page {
        padding-block: 45px 75px;
    }

    .profile-layout {
        gap: 22px;
    }

    .profile-summary-card,
    .profile-form-card {
        padding: 30px 22px;
        border-radius: 22px;
    }

    .profile-summary-card {
        min-height: 400px;
    }

    .profile-summary-card h1 {
        max-width: 250px;
        font-size: 2.25rem;
    }

    .profile-animal {
        width: 82px;
        right: 12px;
    }

    .profile-form-card h2 {
        font-size: 2rem;
    }

    .calendar-hero {
        padding: 58px 0 48px;
    }

    .calendar-hero-layout {
        grid-template-columns: 1fr;
    }

    .calendar-hero h1 {
        font-size: 3.45rem;
    }

    .calendar-hero-art {
        display: none;
    }

    .calendar-content {
        padding-block: 30px 75px;
    }

    .calendar-app {
        padding: 18px;
        border-radius: 20px;
    }

    .calendar-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 22px;
    }

    .calendar-navigation {
        justify-content: space-between;
        gap: 10px;
    }

    .calendar-navigation h2 {
        min-width: 0;
        font-size: 1.45rem;
        text-align: center;
    }

    .calendar-navigation .eyebrow {
        display: block;
        text-align: center;
    }

    .calendar-navigation button {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
    }

    .calendar-filter select {
        width: 100%;
        min-width: 0;
    }

    .calendar-layout {
        gap: 24px;
    }

    .calendar-month-showcase {
        min-height: 350px;
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 30px 24px;
    }

    .calendar-month-number {
        font-size: 7rem;
        text-align: left;
    }

    .calendar-month-showcase h3 {
        font-size: 2.7rem;
    }

    .calendar-weekdays {
        font-size: 0.56rem;
    }

    .calendar-day {
        min-height: 52px;
        padding: 5px;
    }

    .calendar-day-number {
        width: 24px;
        height: 24px;
        font-size: 0.68rem;
    }

    .calendar-day-dots {
        left: 7px;
        bottom: 6px;
    }

    .event-dot {
        width: 6px;
        height: 6px;
    }

    .calendar-legend {
        gap: 8px 13px;
    }

    .calendar-event-panel {
        padding: 18px;
    }

    .calendar-event-list {
        grid-template-columns: 1fr;
    }

    .calendar-event-card {
        grid-template-columns: 52px minmax(0, 1fr) 20px;
        min-height: 104px;
        padding: 15px;
    }

    .calendar-event-symbol {
        width: 52px;
        height: 52px;
    }

    .calendar-month-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .event-modal-card {
        padding: 35px 24px 28px;
        border-radius: 20px;
    }

    .event-modal-card h2 {
        padding-right: 30px;
        font-size: 1.8rem;
    }

    .admin-event-list article {
        grid-template-columns: 44px 1fr;
    }

    .admin-event-list article > span:last-child {
        grid-column: 2;
        flex-wrap: wrap;
    }

    .documents-hero {
        padding: 58px 0 48px;
    }

    .documents-hero-layout {
        grid-template-columns: 1fr;
    }

    .documents-hero h1 {
        font-size: 3.8rem;
    }

    .documents-hero-art {
        display: none;
    }

    .documents-content {
        padding-block: 30px 75px;
    }

    .documents-jump-nav {
        margin-bottom: 48px;
        overflow-x: auto;
    }

    .documents-jump-nav a {
        flex: 0 0 auto;
    }

    .documents-section + .documents-section {
        margin-top: 70px;
    }

    .documents-section-heading {
        align-items: flex-start;
    }

    .document-card {
        grid-template-columns: 52px minmax(0, 1fr) 22px;
        gap: 13px;
        min-height: 110px;
        padding: 17px;
    }

    .document-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }

    .recruitment-note {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .admin-document-list article {
        grid-template-columns: 44px 1fr;
    }

    .admin-document-list article > span:last-child {
        grid-column: 2;
        flex-wrap: wrap;
    }

    .main-nav .bip-link {
        width: 52px;
        height: 30px;
        border-radius: 6px;
    }

    .nav-logout {
        font-size: 0.78rem;
    }

    .home-hero {
        padding-top: 58px;
    }

    .hero-copy h1 {
        font-size: 3.15rem;
    }

    .hero-lead {
        font-size: 0.96rem;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .hero-art {
        min-height: 430px;
    }

    .art-card {
        height: 390px;
        padding: 42px 30px;
    }

    .art-note-top {
        right: -4px;
        top: 130px;
    }

    .art-note-bottom {
        left: -2px;
        bottom: 80px;
    }

    .values-row > div {
        padding: 22px 22px 22px 60px;
    }

    .values-row span {
        left: 23px;
        top: 24px;
    }

    .section {
        padding-block: 66px;
    }

    .section-heading-row {
        display: block;
    }

    .section-heading-row > p {
        margin-top: 18px;
    }

    .section-heading h2 {
        font-size: 2.45rem;
    }

    .contact-cta h2 {
        font-size: 2.5rem;
    }

    .home-contact-list {
        padding: 25px;
    }

    .home-contact-list a,
    .home-contact-list > div {
        grid-template-columns: 28px 1fr;
        gap: 13px;
        font-size: 0.94rem;
    }

    .home-contact-list svg {
        width: 23px;
        height: 23px;
    }

    .home-map-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding: 24px;
        text-align: center;
    }

    .home-map-heading > div,
    .home-map-address {
        width: 100%;
    }

    .home-map-address {
        justify-content: center;
    }

    .home-map-frame {
        height: 350px;
    }

    .approach-card {
        padding: 30px;
    }

    .news-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }

    .news-card {
        grid-template-columns: 58px 1fr;
        gap: 17px;
        padding: 23px;
    }

    .news-card-image {
        margin: -23px -23px 5px;
    }

    .news-date {
        height: 58px;
    }

    .privacy-panel {
        padding: 42px 24px;
        border-radius: 25px;
    }

    .privacy-copy h2 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-login {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 7px;
    }

    .auth-layout {
        padding-block: 45px;
    }

    .auth-intro h1 {
        font-size: 3rem;
    }

    .auth-story-copy > p {
        font-size: 0.94rem;
    }

    .auth-story-scene {
        height: 235px;
        margin-top: 12px;
    }

    .auth-story-moon {
        width: 65px;
        height: 65px;
        top: 12px;
    }

    .auth-story-gate {
        width: 170px;
        height: 182px;
        bottom: 8px;
        border-width: 7px;
    }

    .auth-gate-door {
        inset: 14px 14px 0;
    }

    .auth-gate-path {
        width: 60px;
        height: 82px;
        bottom: -34px;
    }

    .auth-animal-deer {
        width: 120px;
        left: 10px;
    }

    .auth-animal-rabbit {
        width: 78px;
        right: 10px;
    }

    .auth-story-grass {
        width: 100px;
        height: 38px;
    }

    .auth-security {
        margin-top: 20px;
        padding: 12px 14px;
    }

    .auth-security small {
        font-size: 0.7rem;
    }

    .auth-card-animal {
        width: 82px;
        top: -53px;
        right: 20px;
    }

    .auth-card-mark {
        width: 50px;
        height: 50px;
        margin-bottom: 20px;
    }

    .auth-card h2 {
        padding-right: 30px;
        font-size: 2rem;
    }

    .auth-card,
    .form-card {
        padding: 30px 22px;
        border-radius: 22px;
    }

    .form-page {
        padding-block: 45px 70px;
    }

    .panel-page {
        padding-block: 45px 70px;
    }

    .parent-welcome {
        min-height: 410px;
        padding: 28px 24px;
        border-radius: 24px;
    }

    .admin-welcome {
        min-height: 390px;
        padding: 28px 24px;
        border-radius: 24px;
    }

    .parent-welcome h1 {
        font-size: 2.55rem;
    }

    .parent-welcome p {
        max-width: 310px;
        font-size: 0.9rem;
    }

    .parent-welcome-details {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 20px;
    }

    .parent-welcome .current-group {
        min-width: 175px;
        width: auto;
    }

    .parent-safe-note {
        font-size: 0.68rem;
    }

    .parent-welcome-art {
        right: -45px;
        opacity: 0.28;
    }

    .admin-welcome-art {
        right: -42px;
        opacity: 0.3;
    }

    .parent-shortcuts {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .parent-shortcuts a {
        flex: 0 0 auto;
    }

    .panel-welcome,
    .group-detail-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .current-group {
        width: 100%;
    }

    .parent-welcome .current-group {
        width: auto;
    }

    .panel-stats {
        grid-template-columns: 1fr;
    }

    .quick-actions,
    .panel-card,
    .media-section {
        padding: 23px;
    }

    .admin-action-animal {
        display: none;
    }

    .quick-action-links {
        display: grid;
    }

    .quick-action-links a {
        justify-content: center;
    }

    .panel-card-heading {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .panel-heading-controls {
        width: 100%;
        justify-content: flex-start;
    }

    .panel-card-heading h2 {
        font-size: 1.4rem;
    }

    .privacy-badge {
        max-width: 130px;
        border-radius: 12px;
        line-height: 1.25;
    }

    .parent-media-card .panel-card-heading {
        padding-right: 64px;
    }

    .panel-card-animal {
        width: 64px;
        right: 10px;
    }

    .panel-card-squirrel {
        width: 68px;
    }

    .admin-card-animal {
        width: 62px;
        right: 10px;
    }

    .admin-decorated-card .panel-card-heading {
        padding-right: 62px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .gallery-card {
        min-height: 175px;
    }

    .groups-grid {
        grid-template-columns: 1fr;
    }

    .admin-news-list article {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .group-detail-head .form-actions {
        flex-wrap: wrap;
    }

    .parent-card {
        grid-template-columns: 48px 1fr;
    }

    .parent-card > .small-link {
        grid-column: 2;
    }

    .parent-avatar {
        width: 48px;
        height: 48px;
    }

    .gallery-modal {
        padding: 12px;
    }

    .gallery-modal-nav {
        width: 40px;
        height: 40px;
    }

    .gallery-modal-nav.prev {
        left: 8px;
    }

    .gallery-modal-nav.next {
        right: 8px;
    }

    .news-detail {
        padding: 60px 0 80px;
    }

    .news-detail-header .back-link {
        margin-bottom: 38px;
    }

    .news-detail-header h1 {
        font-size: 2.55rem;
    }

    .news-detail-image {
        margin-top: 38px;
    }

    .news-detail-image img {
        border-radius: 18px;
    }

    .news-detail-body {
        padding-top: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 820px) {
    .credentials-print-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .credential-slips {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .credentials-print-toolbar > div:last-child {
        width: 100%;
        flex-direction: column;
    }

    .credentials-print-toolbar .button {
        width: 100%;
    }

    .credential-person,
    .credential-login {
        grid-template-columns: 1fr;
    }

    .credential-slip > header {
        grid-template-columns: 42px 1fr;
    }

    .credential-slip > header small {
        grid-column: 2;
        width: fit-content;
    }
}

@media (max-width: 1050px) {
    .about-hero-layout {
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: 38px;
    }

    .about-values-grid,
    .about-care-grid {
        grid-template-columns: 1fr;
    }

    .about-value-card {
        min-height: 340px;
    }

    .about-value-card h3 {
        margin-top: 55px;
    }

    .about-groups-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-contact-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 820px) {
    .about-hero {
        padding: 58px 0 62px;
    }

    .about-hero-layout,
    .about-groups-heading {
        grid-template-columns: 1fr;
    }

    .about-hero-copy h1 {
        font-size: 3.55rem;
    }

    .about-hero-summary {
        padding-bottom: 50px;
    }

    .about-summary-hours {
        margin-right: 0;
    }

    .about-values,
    .about-care,
    .about-groups {
        padding: 76px 0;
    }

    .about-groups-heading {
        gap: 24px;
    }

    .about-groups-grid {
        grid-template-columns: 1fr;
    }

    .about-care-note {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .about-contact {
        padding-bottom: 75px;
    }

    .about-contact-card {
        min-height: 420px;
        padding: 38px 38px 150px;
    }

    .about-contact-card > img {
        right: 28px;
        width: 110px;
    }

    .admin-about-list article {
        grid-template-columns: 42px 1fr;
    }

    .admin-about-list article > span:last-child {
        grid-column: 2;
        flex-wrap: wrap;
    }

    .temporary-group-note {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .transfer-flow {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .about-hero-copy h1 {
        font-size: 2.85rem;
    }

    .about-summary-card {
        grid-template-columns: 50px 1fr;
        padding: 18px;
    }

    .about-summary-icon {
        width: 50px;
        height: 50px;
    }

    .about-value-card {
        min-height: 380px;
        padding: 26px;
    }

    .about-contact-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }
}

@media (max-width: 1050px) {
    body.nav-open {
        overflow: hidden;
    }

    .nav-bar {
        position: relative;
    }

    .js .nav-toggle {
        position: relative;
        z-index: 3;
        min-height: 44px;
        display: inline-flex;
        gap: 10px;
        align-items: center;
        justify-content: center;
        padding: 9px 13px;
        color: var(--ink);
        background: var(--white);
        border: 1px solid rgba(24, 52, 47, 0.12);
        border-radius: 13px;
        box-shadow: 0 8px 22px rgba(32, 59, 52, 0.07);
        font: inherit;
        font-size: 0.78rem;
        font-weight: 750;
        cursor: pointer;
    }

    .nav-toggle-icon {
        width: 21px;
        display: grid;
        gap: 4px;
    }

    .nav-toggle-icon i {
        width: 100%;
        height: 2px;
        display: block;
        background: currentColor;
        border-radius: 999px;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .nav-toggle.is-open .nav-toggle-icon i:first-child {
        transform: translateY(6px) rotate(45deg);
    }

    .nav-toggle.is-open .nav-toggle-icon i:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.is-open .nav-toggle-icon i:last-child {
        transform: translateY(-6px) rotate(-45deg);
    }

    .main-nav {
        position: absolute;
        z-index: 2;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        max-height: calc(100vh - 105px);
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 3px;
        padding: 16px;
        overflow-y: auto;
        background: rgba(251, 248, 241, 0.98);
        border: 1px solid rgba(24, 52, 47, 0.1);
        border-radius: 22px;
        box-shadow: 0 24px 60px rgba(32, 59, 52, 0.18);
    }

    .js .main-nav {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    }

    .js .main-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main-nav .public-nav-link,
    .main-nav .home-link,
    .main-nav .panel-link,
    .main-nav .nav-login,
    .main-nav .profile-settings-link {
        width: 100%;
        min-height: 46px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 11px 14px;
        border-radius: 12px;
    }

    .main-nav .public-nav-link:hover,
    .main-nav .home-link:hover,
    .main-nav .panel-link:hover {
        background: var(--mint);
    }

    .main-nav a::after,
    .nav-logout::after {
        display: none;
    }

    .main-nav .nav-login {
        justify-content: center;
        margin-top: 5px;
    }

    .main-nav .profile-settings-link {
        gap: 10px;
        height: auto;
        color: var(--green);
        background: var(--mint);
    }

    .main-nav .profile-settings-link:hover {
        color: var(--green-dark);
        background: #d4e7dd;
        transform: none;
    }

    .profile-settings-text {
        display: inline;
    }

    .main-nav form {
        width: 100%;
    }

    .nav-logout {
        width: 100%;
        min-height: 46px;
        padding: 11px 14px;
        color: var(--danger);
        border-radius: 12px;
        text-align: left;
    }

    .nav-logout:hover {
        background: #f5e4e0;
    }

    .main-nav .bip-link {
        width: 90px;
        height: 36px;
        align-self: flex-start;
        margin: 8px 0 2px 14px;
        padding: 0;
    }
}

@media (max-width: 820px) {
    .values-row > div {
        padding: 28px 22px;
        text-align: center;
    }

    .values-row span {
        position: static;
        display: block;
        margin-bottom: 8px;
    }

    .panel-stats > div,
    .admin-stats > div,
    .parent-stats > div {
        min-height: 150px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 10px;
        padding: 24px;
        text-align: center;
    }

    .panel-stats p {
        text-align: center;
    }

    .about-hero-copy,
    .about-section-heading,
    .about-groups-heading,
    .about-groups-heading > p,
    .about-contact-card {
        text-align: center;
    }

    .about-hero-copy > p,
    .about-section-heading,
    .about-groups-heading > p,
    .about-contact-card > div:first-child {
        margin-inline: auto;
    }

    .about-summary-card {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .about-summary-icon {
        grid-row: auto;
        margin-bottom: 8px;
    }

    .about-value-card,
    .about-care-grid article {
        text-align: center;
    }

    .about-card-icon,
    .about-care-icon {
        margin-inline: auto;
    }

    .about-group-card {
        align-items: center;
        text-align: center;
    }

    .about-group-card p {
        margin-inline: auto;
    }

    .about-care-note {
        justify-items: center;
        text-align: center;
    }

    .about-contact-card {
        align-items: center;
    }

    .about-contact-actions {
        justify-content: center;
    }
}

/* Accessibility panel */
.accessibility-trigger {
    position: fixed;
    z-index: 1201;
    top: 42%;
    right: 0;
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--white);
    background: #3158b8;
    border: 2px solid var(--white);
    border-right: 0;
    border-radius: 18px 0 0 18px;
    box-shadow: 0 12px 34px rgba(24, 52, 47, 0.22);
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.accessibility-trigger:hover {
    background: #244493;
    transform: translateX(-3px);
}

.accessibility-trigger.is-open {
    opacity: 0;
    pointer-events: none;
}

.accessibility-trigger svg {
    width: 44px;
    height: 44px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.accessibility-panel {
    position: fixed;
    z-index: 1202;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(400px, calc(100vw - 20px));
    padding: 30px;
    overflow-y: auto;
    color: var(--ink);
    background: var(--white);
    border-left: 1px solid rgba(24, 52, 47, 0.12);
    box-shadow: -24px 0 65px rgba(24, 52, 47, 0.2);
    visibility: hidden;
    transform: translateX(105%);
    transition: transform 0.3s ease, visibility 0.3s ease;
}

.accessibility-panel.is-open {
    visibility: visible;
    transform: translateX(0);
}

.accessibility-panel-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.accessibility-panel-header span {
    color: var(--green);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.accessibility-panel-header h2 {
    margin: 5px 0 0;
    font-size: 2rem;
}

.accessibility-close {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    padding: 0 0 3px;
    color: var(--ink);
    background: var(--cream);
    border: 1px solid rgba(24, 52, 47, 0.1);
    border-radius: 50%;
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
}

.accessibility-controls {
    display: grid;
    gap: 8px;
    padding: 24px 0;
}

.accessibility-controls > button {
    width: 100%;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: center;
    padding: 13px;
    color: var(--ink);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 15px;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.accessibility-controls > button:hover {
    background: var(--cream);
    border-color: rgba(31, 106, 90, 0.12);
    transform: translateX(-2px);
}

.accessibility-controls > button.is-active {
    color: var(--green-dark);
    background: var(--mint);
    border-color: rgba(31, 106, 90, 0.25);
}

.accessibility-controls > button:disabled {
    opacity: 0.42;
    cursor: not-allowed;
    transform: none;
}

.accessibility-controls svg {
    width: 48px;
    height: 48px;
    padding: 11px;
    fill: none;
    stroke: var(--green);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    background: var(--mint);
    border-radius: 14px;
}

.accessibility-controls strong,
.accessibility-controls small {
    display: block;
}

.accessibility-controls strong {
    font-size: 0.92rem;
}

.accessibility-controls small {
    margin-top: 2px;
    color: var(--ink-soft);
    font-size: 0.7rem;
    line-height: 1.4;
}

.accessibility-status {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 17px 18px;
    color: var(--ink-soft);
    background: var(--cream);
    border-radius: 14px;
    font-size: 0.75rem;
}

.accessibility-status strong {
    color: var(--green);
    font-size: 1rem;
}

html.a11y-readable-font body,
html.a11y-readable-font body * {
    font-family: Arial, Helvetica, sans-serif !important;
    letter-spacing: 0.01em;
}

html.a11y-high-contrast {
    color-scheme: dark;
    --ink: #ffffff;
    --ink-soft: #ffffff;
    --green: #ffea00;
    --green-dark: #ffea00;
    --mint: #000000;
    --sand: #000000;
    --cream: #000000;
    --lilac: #000000;
    --blue: #000000;
    --white: #000000;
    --line: #ffffff;
    --danger: #ff6b6b;
    --shadow: none;
}

html.a11y-high-contrast body,
html.a11y-high-contrast body *:not(img):not(video):not(iframe):not(svg):not(path) {
    color: #ffffff !important;
    background-color: #000000 !important;
    background-image: none !important;
    border-color: #ffffff !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

html.a11y-high-contrast body a,
html.a11y-high-contrast body button,
html.a11y-high-contrast .accessibility-status strong {
    color: #ffea00 !important;
}

html.a11y-high-contrast svg {
    color: #ffffff !important;
    stroke: currentColor !important;
}

html.a11y-high-contrast a:focus-visible,
html.a11y-high-contrast button:focus-visible,
html.a11y-high-contrast input:focus-visible,
html.a11y-high-contrast textarea:focus-visible,
html.a11y-high-contrast select:focus-visible {
    outline-color: #ffea00;
}

html.a11y-light-background {
    --ink: #111111;
    --ink-soft: #262626;
    --green: #075b4d;
    --green-dark: #003c32;
    --mint: #f3f3f3;
    --sand: #f5f5f5;
    --cream: #ffffff;
    --lilac: #f4f4f4;
    --blue: #f2f2f2;
    --white: #ffffff;
    --line: #8a8a8a;
    --shadow: none;
}

html.a11y-light-background body,
html.a11y-light-background main,
html.a11y-light-background section,
html.a11y-light-background article,
html.a11y-light-background header,
html.a11y-light-background footer,
html.a11y-light-background aside,
html.a11y-light-background nav,
html.a11y-light-background div {
    color: #111111 !important;
    background-color: #ffffff !important;
    background-image: none !important;
    box-shadow: none !important;
}

html.a11y-light-background body p,
html.a11y-light-background body small,
html.a11y-light-background body span {
    color: #262626;
}

html.a11y-light-background .button-primary,
html.a11y-light-background .nav-login {
    color: #ffffff !important;
    background: #075b4d !important;
}

html.a11y-light-background .button-primary span,
html.a11y-light-background .nav-login span {
    color: #ffffff !important;
}

@media (max-width: 600px) {
    .accessibility-trigger {
        top: auto;
        bottom: 24px;
        width: 58px;
        height: 58px;
    }

    .accessibility-trigger svg {
        width: 36px;
        height: 36px;
    }

    .accessibility-panel {
        width: calc(100vw - 12px);
        padding: 22px 18px;
        border-radius: 22px 0 0 22px;
    }

    .accessibility-panel-header h2 {
        font-size: 1.7rem;
    }

    .accessibility-controls > button {
        grid-template-columns: 44px 1fr;
        gap: 11px;
        padding: 10px;
    }

    .accessibility-controls svg {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 420px) {
    .nav-toggle-label {
        display: none;
    }
}

@media print {
    @page {
        size: A4 portrait;
        margin: 10mm;
    }

    .site-header,
    .site-footer,
    .accessibility-widget,
    .credentials-print-toolbar,
    .messages {
        display: none !important;
    }

    .credentials-print-page {
        min-height: auto;
        padding: 0;
        background: #fff;
    }

    .credentials-print-shell {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .credential-slips {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4mm;
    }

    .credential-slip {
        min-height: 62mm;
        padding: 5mm;
        border-radius: 3mm;
        box-shadow: none;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .credential-cut-mark {
        background: #fff;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Słoneczko branding */
.brand-logo { object-fit: contain; }
.brand .brand-logo[src$="sloneczko-logo.svg"],
.brand-footer .brand-logo[src$="sloneczko-logo.svg"] { width: min(220px, 54vw); height: auto; max-height: 70px; }
@media (max-width: 700px) {
    .brand .brand-logo[src$="sloneczko-logo.svg"] { width: 168px; }
}

/* Słoneczko visual refresh — distinct sunny theme */
:root {
    --ink: #24312f;
    --ink-soft: #62706b;
    --green: #2f8f83;
    --green-dark: #1b5f66;
    --mint: #d9f4ee;
    --sand: #ffe7a6;
    --cream: #fff8e8;
    --lilac: #eee4ff;
    --blue: #ddf5ff;
    --white: #ffffff;
    --line: #f0dfbd;
    --sun: #ffc83d;
    --sun-soft: #fff1bb;
    --coral: #ff8f70;
    --sky: #87d8ee;
    --leaf: #8acb67;
    --shadow: 0 22px 60px rgba(96, 73, 28, 0.13);
    --radius-lg: 38px;
    --radius-md: 24px;
    --radius-sm: 15px;
}

body {
    background:
        radial-gradient(circle at 8% 8%, rgba(255, 200, 61, 0.18), transparent 24rem),
        radial-gradient(circle at 96% 16%, rgba(135, 216, 238, 0.18), transparent 25rem),
        linear-gradient(180deg, #fff9e9 0%, #fffdf6 44%, #fff7e4 100%);
}

.site-header {
    background: rgba(255, 250, 237, 0.88);
    border-bottom: 1px solid rgba(255, 200, 61, 0.28);
    backdrop-filter: blur(18px);
}

.nav-login,
.panel-link,
.button-primary,
.form-actions button,
.auth-card button,
.admin-action,
.footer-login {
    background: linear-gradient(135deg, var(--sun) 0%, #ff9f1c 100%);
    color: #24312f;
    box-shadow: 0 14px 30px rgba(255, 159, 28, 0.22);
}

.nav-login:hover,
.panel-link:hover,
.button-primary:hover,
.form-actions button:hover,
.auth-card button:hover,
.admin-action:hover,
.footer-login:hover {
    background: linear-gradient(135deg, #ffd85c 0%, #ffad2f 100%);
    color: #24312f;
}

.text-link,
.public-nav-link:hover,
.home-link:hover,
.news-read-more,
.small-link,
.back-link {
    color: #d97809;
}

.home-mascot,
.section-mascot,
.parent-animal,
.admin-animal,
.admin-action-animal,
.panel-card-animal,
.admin-card-animal,
.auth-animal,
.auth-card-animal,
.about-hero-art img,
.documents-hero-art img,
.calendar-hero-art img {
    filter: drop-shadow(0 18px 20px rgba(113, 78, 24, 0.16));
}

.home-mascot {
    width: clamp(105px, 9vw, 168px);
    opacity: 0.98;
}

.home-mascot-left {
    left: 18px;
    top: 190px;
    transform: rotate(-10deg);
}

.home-mascot-right {
    right: 22px;
    top: 210px;
    transform: rotate(9deg);
}

.home-hero {
    background:
        radial-gradient(circle at 71% 28%, rgba(255, 255, 255, 0.78), transparent 13rem),
        radial-gradient(circle at 83% 12%, rgba(255, 200, 61, 0.45), transparent 16rem),
        linear-gradient(135deg, #fff0b8 0%, #fff8e8 48%, #ddf5ff 100%);
    border-bottom: 1px solid rgba(255, 200, 61, 0.28);
}

.home-hero::before {
    right: -150px;
    top: -150px;
    width: 360px;
    height: 360px;
    border: 0;
    background: radial-gradient(circle, rgba(255, 200, 61, 0.42) 0 34%, transparent 35%);
    box-shadow:
        0 0 0 34px rgba(255, 200, 61, 0.16),
        0 0 0 74px rgba(255, 200, 61, 0.09),
        0 0 0 118px rgba(255, 255, 255, 0.24);
}

.hero-copy h1 {
    font-weight: 900;
    letter-spacing: -0.055em;
}

.hero-copy h1 em {
    color: #e78300;
    font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
    font-weight: 900;
    letter-spacing: -0.055em;
}

.hero-lead,
.section-heading p,
.contact-cta-copy p {
    color: #5c6c66;
}

.hero-art {
    min-height: 530px;
}

.art-card {
    width: min(430px, 92%);
    height: 430px;
    color: #24312f;
    background:
        radial-gradient(circle at 50% 35%, #fff7c8 0 24%, transparent 25%),
        linear-gradient(180deg, #ffd76a 0%, #ffad5c 100%);
    border: 8px solid rgba(255, 255, 255, 0.52);
    border-radius: 48% 52% 42% 58% / 43% 46% 54% 57%;
    box-shadow: 0 26px 70px rgba(255, 155, 35, 0.25);
}

.art-card::before,
.art-card::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.36);
}

.art-card::before {
    width: 160px;
    height: 32px;
    left: 36px;
    bottom: 94px;
    transform: rotate(-8deg);
}

.art-card::after {
    width: 118px;
    height: 26px;
    right: 32px;
    top: 96px;
    transform: rotate(10deg);
}

.art-kicker {
    margin-left: 0;
    color: #7a5600;
}

.art-card > strong {
    position: relative;
    z-index: 2;
    font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.art-plant {
    transform: scale(0.86) rotate(8deg);
    right: 22px;
    bottom: -28px;
}

.stem {
    background: #2f8f83;
}

.leaf {
    background: #92d36d;
}

.pot {
    background: #ff7f66;
}

.art-shape-one {
    background: #88d8e8;
    border-radius: 40% 60% 55% 45%;
}

.art-shape-two {
    border-color: #ff8f70;
}

.art-note {
    background: #fffaf0;
    border: 1px solid rgba(255, 200, 61, 0.42);
    color: #b46200;
    font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
    font-weight: 800;
    font-style: normal;
}

.values-row {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 200, 61, 0.26);
    border-bottom: 0;
    box-shadow: 0 -16px 44px rgba(147, 111, 38, 0.1);
}

.values-row > div:nth-child(1) { background: linear-gradient(135deg, rgba(255, 231, 166, 0.6), rgba(255, 255, 255, 0.75)); }
.values-row > div:nth-child(2) { background: linear-gradient(135deg, rgba(217, 244, 238, 0.74), rgba(255, 255, 255, 0.75)); }
.values-row > div:nth-child(3) { background: linear-gradient(135deg, rgba(238, 228, 255, 0.72), rgba(255, 255, 255, 0.75)); }

.approach-card,
.news-card,
.home-contact-list,
.home-map-card,
.panel-card,
.stat-card,
.auth-card,
.documents-hero-art,
.about-hero-summary,
.calendar-month-card,
.document-card {
    border: 1px solid rgba(255, 200, 61, 0.2);
    box-shadow: 0 20px 55px rgba(97, 70, 18, 0.1);
}

.tone-sand { background: linear-gradient(145deg, #fff0c4 0%, #fff9eb 100%); }
.tone-mint { background: linear-gradient(145deg, #d9f4ee 0%, #f6fffb 100%); }
.tone-lilac { background: linear-gradient(145deg, #eee4ff 0%, #fff9ff 100%); }

.line-icon,
.auth-card-mark,
.stat-icon,
.news-date,
.document-extension,
.calendar-month-number {
    color: #d97809;
    background: #fff0bd;
}

.news-section {
    background:
        radial-gradient(circle at 7% 15%, rgba(255, 200, 61, 0.14), transparent 20rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(221, 245, 255, 0.28));
}

.news-card {
    background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
    border-radius: 32px;
}

.privacy-panel {
    background:
        radial-gradient(circle at 86% 18%, rgba(255, 200, 61, 0.34), transparent 12rem),
        linear-gradient(135deg, #1f6f7a 0%, #2f8f83 56%, #f2b238 100%);
    border-radius: 46px;
}

.privacy-panel::after {
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 0 0 56px rgba(255, 255, 255, 0.06), 0 0 0 112px rgba(255, 255, 255, 0.04);
}

.privacy-steps > div {
    border-color: rgba(255, 255, 255, 0.24);
}

.contact-cta {
    background:
        radial-gradient(circle at 86% 18%, rgba(255, 200, 61, 0.18), transparent 12rem),
        linear-gradient(135deg, rgba(255, 247, 218, 0.85), rgba(221, 245, 255, 0.72));
    border-radius: 44px;
    padding: 60px;
}

.home-contact-list {
    background: rgba(255, 255, 255, 0.86);
    border-radius: 32px;
}

.home-map-card {
    background: #fffef8;
    border-radius: 32px;
}

.about-hero,
.documents-hero,
.calendar-hero,
.auth-page {
    background:
        radial-gradient(circle at 15% 18%, rgba(255, 200, 61, 0.22), transparent 20rem),
        radial-gradient(circle at 84% 12%, rgba(135, 216, 238, 0.22), transparent 22rem),
        linear-gradient(135deg, #fff4cf 0%, #fffaf0 47%, #e7fbff 100%);
    color: var(--ink);
}

.auth-intro h1,
.auth-intro > p,
.auth-story-copy > p,
.auth-security,
.auth-security small {
    color: var(--ink);
}

.auth-story-moon {
    background: var(--sun);
    box-shadow: 0 0 0 18px rgba(255, 200, 61, 0.14), 0 0 50px rgba(255, 200, 61, 0.28);
}

.auth-story-gate {
    border-color: #ffb12a;
}

.auth-gate-door {
    background: linear-gradient(180deg, #87d8ee 0%, #d9f4ee 50%, #ffe7a6 100%);
}

.auth-gate-door::before,
.auth-gate-door::after,
.auth-story-grass {
    background: #6fba58;
}

.auth-security {
    background: rgba(255, 255, 255, 0.62);
    border-color: rgba(255, 200, 61, 0.32);
}

.auth-card {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 30px 80px rgba(139, 102, 23, 0.16);
}

.panel-page {
    background:
        radial-gradient(circle at 12% 7%, rgba(255, 200, 61, 0.16), transparent 23rem),
        radial-gradient(circle at 92% 4%, rgba(135, 216, 238, 0.18), transparent 22rem),
        #fffaf0;
}

.panel-welcome,
.admin-welcome,
.parent-welcome {
    background:
        radial-gradient(circle at 92% 22%, rgba(255, 200, 61, 0.18), transparent 14rem),
        linear-gradient(135deg, #ffffff 0%, #fff2c9 100%);
    border: 1px solid rgba(255, 200, 61, 0.24);
}

.admin-actions {
    background: linear-gradient(135deg, rgba(255, 200, 61, 0.16), rgba(135, 216, 238, 0.16));
    border-color: rgba(255, 200, 61, 0.2);
}

.admin-action {
    border-color: rgba(255, 255, 255, 0.74);
}

.panel-card-heading .eyebrow,
.eyebrow {
    color: #d97809;
}

.brand .brand-logo[src$="sloneczko-logo.svg"],
.brand-footer .brand-logo[src$="sloneczko-logo.svg"] {
    width: min(246px, 58vw);
    max-height: 76px;
}

@media (max-width: 900px) {
    .contact-cta {
        padding: 42px 24px;
    }

    .home-mascot-left,
    .home-mascot-right {
        opacity: 0.34;
        top: 145px;
    }
}

@media (max-width: 700px) {
    .brand .brand-logo[src$="sloneczko-logo.svg"] {
        width: 182px;
    }

    .home-mascot {
        width: 96px;
    }

    .art-card {
        border-radius: 42px;
    }
}

/* Icon-only Słoneczko logo */
.brand .brand-logo[src$="sloneczko-logo.svg"],
.brand-footer .brand-logo[src$="sloneczko-logo.svg"] {
    width: 82px;
    height: 82px;
    max-height: 82px;
    flex: 0 0 82px;
}

@media (max-width: 700px) {
    .brand .brand-logo[src$="sloneczko-logo.svg"] {
        width: 68px;
        height: 68px;
        max-height: 68px;
        flex-basis: 68px;
    }
}

/* Container polish — softer cards and CTA blocks */
.footer-login {
    position: relative;
    isolation: isolate;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 8px;
    padding: 22px 26px;
    min-height: 76px;
    color: #24312f;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.74), transparent 7rem),
        linear-gradient(135deg, #ffe27a 0%, #ffbd4a 58%, #ff9f3f 100%);
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 26px;
    box-shadow: 0 18px 42px rgba(255, 160, 32, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.48);
    overflow: hidden;
}

.footer-login::before {
    content: "";
    position: absolute;
    inset: 10px auto auto 16px;
    z-index: -1;
    width: 78px;
    height: 78px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 50%;
}

.footer-login::after {
    content: "";
    position: absolute;
    right: -22px;
    bottom: -30px;
    z-index: -1;
    width: 118px;
    height: 118px;
    border: 18px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
}

.footer-login span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    color: #fff8e8;
    background: rgba(36, 49, 47, 0.9);
    border-radius: 50%;
    transition: transform 0.2s ease, background 0.2s ease;
}

.footer-login:hover {
    color: #24312f;
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(255, 160, 32, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.footer-login:hover span {
    background: #1b5f66;
    transform: translateX(3px);
}

.about-hero-summary,
.documents-hero-art,
.calendar-hero-art {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.about-hero-summary {
    gap: 20px;
    padding: 8px 0 92px;
}

.about-summary-card {
    grid-template-columns: 76px 1fr;
    column-gap: 24px;
    padding: 28px 30px;
    background:
        radial-gradient(circle at 92% 0%, rgba(255, 200, 61, 0.16), transparent 9rem),
        rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 200, 61, 0.22);
    border-radius: 30px;
    box-shadow: 0 18px 46px rgba(84, 61, 14, 0.09);
}

.about-summary-card + .about-summary-card {
    margin-left: 42px;
}

.about-summary-hours {
    margin-right: 42px;
}

.about-summary-icon {
    width: 76px;
    height: 76px;
    color: #1b5f66;
    background: linear-gradient(145deg, #ddf5ff 0%, #d9f4ee 100%);
    border-radius: 24px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.about-summary-icon svg {
    width: 35px;
    stroke-width: 1.8;
}

.about-summary-card small {
    color: #71807a;
    font-size: 0.74rem;
    letter-spacing: 0.13em;
}

.about-summary-card strong {
    color: #24312f;
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    line-height: 1.05;
}

.about-summary-card p {
    margin-top: 10px;
    color: #65746f;
    font-size: 0.96rem;
}

.about-hero-summary > img {
    right: 18px;
    bottom: 0;
    width: 108px;
    max-height: 108px;
    object-fit: contain;
}

.documents-hero-art,
.calendar-hero-art {
    min-height: 300px;
}

.documents-paper,
.calendar-art-card {
    border: 1px solid rgba(255, 200, 61, 0.22);
    box-shadow: 0 20px 48px rgba(84, 61, 14, 0.11);
}

.documents-hero-art img,
.calendar-hero-art img {
    width: 116px;
    max-height: 116px;
    object-fit: contain;
    bottom: 0;
}

.contact-cta,
.home-contact-list,
.home-map-card,
.profile-summary-card,
.panel-welcome,
.panel-card {
    border-color: rgba(255, 200, 61, 0.18);
    box-shadow: 0 20px 54px rgba(84, 61, 14, 0.09);
}

.home-contact-list,
.home-map-card,
.profile-summary-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

@media (max-width: 900px) {
    .about-hero-summary {
        padding-bottom: 56px;
    }

    .about-summary-card,
    .about-summary-card + .about-summary-card,
    .about-summary-hours {
        margin-inline: 0;
    }

    .about-hero-summary > img {
        right: 18px;
        bottom: -8px;
        width: 86px;
        opacity: 0.82;
    }
}

@media (max-width: 640px) {
    .footer-login {
        padding: 19px 20px;
        min-height: 68px;
        border-radius: 22px;
    }

    .about-summary-card {
        grid-template-columns: 58px 1fr;
        gap: 16px;
        padding: 22px;
        border-radius: 24px;
    }

    .about-summary-icon {
        width: 58px;
        height: 58px;
        border-radius: 18px;
    }

    .about-summary-icon svg {
        width: 29px;
    }
}

/* Separate logo mark and text */
.brand-copy strong {
    font-size: 1.22rem;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.brand-copy small {
    color: #5d6e69;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

@media (max-width: 520px) {
    .brand-copy strong {
        font-size: 1.05rem;
    }

    .brand-copy small {
        font-size: 0.58rem;
        letter-spacing: 0.12em;
    }
}

/* Readability pass — stronger text contrast */
:root {
    --ink: #172b28;
    --ink-soft: #3f5650;
    --muted-text: #4e625c;
    --label-text: #2f4841;
}

body,
input,
textarea,
select,
button {
    color: var(--ink);
}

p,
li,
.hero-lead,
.section-heading p,
.contact-cta-copy p,
.about-hero-copy > p,
.documents-hero p,
.calendar-hero p,
.document-card p,
.event-description,
.news-card p,
.panel-card p,
.empty-state,
.helptext,
.form-help,
.auth-intro > p,
.auth-story-copy > p,
.profile-summary-card > p,
.home-contact-list,
.footer-contact-list,
.about-summary-card p,
.values-row small,
.privacy-steps p,
.media-description,
.group-card p,
.admin-news-list p,
.admin-document-list p,
.admin-event-list p {
    color: var(--muted-text);
}

.eyebrow,
.news-label,
.about-summary-card small,
.calendar-art-card small,
.calendar-art-card span,
.document-category,
.form-page-aside .eyebrow,
.panel-card-heading .eyebrow,
.auth-card .eyebrow,
.profile-summary-card .eyebrow,
.values-row span,
.card-number,
.admin-about-number {
    color: var(--label-text);
}

.brand-copy small,
.footer-bottom,
.footer-credit,
.auth-security small,
.media-meta,
.item-meta,
time,
small,
.form-field .helptext {
    color: #50665f;
}

a,
.text-link,
.small-link,
.news-read-more,
.back-link,
.public-nav-link:hover,
.home-link:hover {
    color: #9a5200;
}

h1,
h2,
h3,
h4,
.brand-copy strong,
.about-summary-card strong,
.values-row strong,
.news-card h3,
.panel-card h2,
.panel-card h3,
.auth-card h1,
.form-page-aside h1 {
    color: var(--ink);
}

.button-primary,
.nav-login,
.panel-link,
.footer-login,
.admin-action {
    color: #172b28;
}

.button-light {
    color: #172b28;
}

.privacy-panel,
.privacy-panel p,
.privacy-panel h2,
.privacy-panel strong,
.privacy-panel .eyebrow-light {
    color: #ffffff;
}

.privacy-steps p {
    color: rgba(255, 255, 255, 0.88);
}

.privacy-steps span {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.45);
}

.auth-page .auth-intro h1,
.auth-page .auth-intro > p,
.auth-page .auth-story-copy > p,
.auth-page .auth-security,
.auth-page .auth-security small {
    color: #172b28;
}

.message.success,
.message.info {
    color: #17433b;
}

@media (max-width: 700px) {
    p,
    li,
    .hero-lead,
    .section-heading p,
    .contact-cta-copy p {
        color: #354d46;
    }
}

/* Hero label readability */
.art-kicker {
    width: fit-content;
    margin-left: 22px;
    padding: 5px 11px;
    background: rgba(255, 250, 232, 0.58);
    border-radius: 999px;
}

/* Admin/parent welcome readability fix */
.panel-welcome,
.admin-welcome,
.parent-welcome {
    background:
        radial-gradient(circle at 88% 20%, rgba(255, 200, 61, 0.2), transparent 15rem),
        linear-gradient(135deg, #fffdf7 0%, #fff1bb 100%);
}

.panel-welcome .eyebrow,
.admin-welcome .eyebrow,
.parent-welcome .eyebrow {
    color: #1b6f64;
    text-shadow: none;
}

.panel-welcome h1,
.admin-welcome h1,
.parent-welcome h1 {
    color: #172b28;
    text-shadow: none;
}

.panel-welcome p,
.admin-welcome p,
.parent-welcome p {
    color: #3f5650;
}

.admin-art-caption,
.parent-art-caption {
    color: #1b5f66;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 200, 61, 0.32);
    box-shadow: 0 12px 26px rgba(84, 61, 14, 0.12);
}

/* Final contrast theme — whole site readability */
:root {
    --ink: #102824;
    --ink-soft: #304943;
    --muted-text: #38534c;
    --label-text: #0f6b60;
    --readable-card: #fffdf7;
    --readable-warm: #fff2c2;
    --readable-line: rgba(169, 111, 0, 0.2);
}

html body {
    color: var(--ink) !important;
    background:
        radial-gradient(circle at 10% 8%, rgba(255, 195, 51, 0.2), transparent 24rem),
        radial-gradient(circle at 92% 10%, rgba(102, 199, 224, 0.18), transparent 24rem),
        linear-gradient(180deg, #fff8e3 0%, #fffdf7 48%, #fff4d6 100%) !important;
}

body p,
body li,
body small,
body time,
.hero-lead,
.section-heading p,
.about-hero-copy > p,
.documents-hero p,
.calendar-hero p,
.contact-cta-copy p,
.panel-card p,
.panel-card small,
.form-page-aside p,
.auth-intro > p,
.auth-story-copy > p,
.footer-grid p,
.footer-bottom,
.footer-contact-list,
.home-contact-list,
.values-row small,
.about-summary-card p,
.news-card p,
.document-card p,
.calendar-month-card p,
.event-description,
.empty-state,
.helptext,
.form-help {
    color: var(--muted-text) !important;
}

body h1,
body h2,
body h3,
body h4,
.brand-copy strong,
.news-card h3,
.panel-card h2,
.panel-card h3,
.form-page-aside h1,
.auth-card h1,
.about-summary-card strong,
.values-row strong {
    color: var(--ink) !important;
}

.eyebrow,
.panel-card-heading .eyebrow,
.news-label,
.card-number,
.about-summary-card small,
.values-row span,
.document-category,
.calendar-art-card small,
.calendar-art-card span,
.auth-card .eyebrow,
.form-page-aside .eyebrow {
    color: var(--label-text) !important;
}

.site-header,
.site-header .nav-bar {
    color: var(--ink) !important;
}

.home-hero,
.about-hero,
.documents-hero,
.calendar-hero,
.auth-page,
.panel-page {
    color: var(--ink) !important;
    background:
        radial-gradient(circle at 82% 18%, rgba(255, 203, 61, 0.22), transparent 17rem),
        radial-gradient(circle at 16% 12%, rgba(102, 199, 224, 0.16), transparent 19rem),
        linear-gradient(135deg, #fff6d8 0%, #fffdf8 50%, #eafaff 100%) !important;
}

.panel-welcome,
.admin-welcome,
.parent-welcome {
    color: var(--ink) !important;
    background:
        radial-gradient(circle at 86% 25%, rgba(255, 203, 61, 0.28), transparent 15rem),
        linear-gradient(135deg, #ffffff 0%, #fff4cd 68%, #ffe39a 100%) !important;
    border: 1px solid var(--readable-line) !important;
    box-shadow: 0 22px 52px rgba(93, 67, 16, 0.12) !important;
}

.panel-welcome *,
.admin-welcome *,
.parent-welcome * {
    text-shadow: none !important;
}

.panel-welcome h1,
.admin-welcome h1,
.parent-welcome h1,
.panel-welcome-main h1 {
    color: var(--ink) !important;
}

.panel-welcome p,
.admin-welcome p,
.parent-welcome p,
.panel-welcome-main p {
    color: #2f4b44 !important;
}

.panel-welcome .eyebrow,
.admin-welcome .eyebrow,
.parent-welcome .eyebrow {
    color: #0b776a !important;
}

.admin-art-caption,
.parent-art-caption,
.art-note,
.auth-security,
.current-group,
.privacy-badge {
    color: var(--ink) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(169, 111, 0, 0.18) !important;
}

.panel-card,
.stat-card,
.approach-card,
.news-card,
.document-card,
.calendar-month-card,
.home-contact-list,
.home-map-card,
.auth-card,
.form-card,
.profile-summary-card,
.about-summary-card {
    color: var(--ink) !important;
    background: rgba(255, 253, 247, 0.96) !important;
    border-color: rgba(169, 111, 0, 0.16) !important;
}

input,
textarea,
select,
.rich-text-editor,
.CodeMirror,
.tox-tinymce {
    color: var(--ink) !important;
    background-color: #fffefa !important;
    border-color: rgba(47, 73, 67, 0.24) !important;
}

input::placeholder,
textarea::placeholder {
    color: #65776f !important;
}

.nav-login,
.panel-link,
.button-primary,
.footer-login,
.admin-action,
.form-actions button,
.auth-card button {
    color: var(--ink) !important;
    background: linear-gradient(135deg, #ffd955 0%, #ffb13f 100%) !important;
}

.text-link,
.small-link,
.news-read-more,
.back-link,
a {
    color: #805000;
}

.site-footer {
    background: linear-gradient(135deg, #143b36 0%, #1a5b53 100%) !important;
}

.site-footer,
.site-footer h2,
.site-footer h3,
.site-footer strong,
.site-footer .brand-copy strong {
    color: #ffffff !important;
}

.site-footer p,
.site-footer a,
.site-footer small,
.site-footer .brand-copy small,
.site-footer .footer-contact-list,
.site-footer .footer-bottom,
.site-footer .footer-credit {
    color: rgba(255, 255, 255, 0.84) !important;
}

.privacy-panel {
    color: #ffffff !important;
    background: linear-gradient(135deg, #165e65 0%, #238273 56%, #c98211 100%) !important;
}

.privacy-panel h2,
.privacy-panel strong,
.privacy-panel .eyebrow-light {
    color: #ffffff !important;
}

.privacy-panel p,
.privacy-steps p {
    color: rgba(255, 255, 255, 0.9) !important;
}

@media (max-width: 700px) {
    .panel-welcome h1,
    .admin-welcome h1,
    .parent-welcome h1 {
        color: var(--ink) !important;
    }

    .panel-welcome p,
    .admin-welcome p,
    .parent-welcome p {
        color: #2f4b44 !important;
    }
}

/* Panel link should behave visually like regular navigation */
.main-nav .panel-link {
    padding: 0 !important;
    color: var(--ink) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-weight: 700;
    text-decoration: none;
}

.main-nav .panel-link:hover {
    color: #0f6b60 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.main-nav .panel-link:hover {
    color: #805000 !important;
}

/* Footer CTA readability */
.site-footer .footer-login {
    color: #172b28 !important;
    font-weight: 900;
    text-shadow: none !important;
}

.site-footer .footer-login::before {
    background: rgba(255, 255, 255, 0.18);
}

.site-footer .footer-login::after {
    border-color: rgba(255, 255, 255, 0.16);
}

.site-footer .footer-login span {
    color: #fff8e8 !important;
}

/* Hero balloons composition */
.hero-grid {
    align-items: start;
}

.hero-art {
    min-height: 640px;
    transform: translateY(-72px);
}

.art-card {
    top: 28px !important;
    right: 9% !important;
    bottom: auto !important;
    width: min(420px, 86%) !important;
    height: 420px !important;
    padding: 58px 44px 44px !important;
    border-radius: 52% 48% 50% 50% / 48% 48% 54% 52% !important;
    overflow: visible !important;
    transform: rotate(-2deg);
}

.art-card::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -18px;
    z-index: 3;
    width: 30px;
    height: 24px;
    background: #ffad5c;
    border: 6px solid rgba(255, 255, 255, 0.58);
    border-top: 0;
    border-radius: 0 0 16px 16px;
    transform: translateX(-50%);
}

.art-card::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -168px;
    z-index: 1;
    width: 2px;
    height: 154px;
    background: repeating-linear-gradient(
        180deg,
        rgba(47, 73, 67, 0.5) 0 9px,
        rgba(47, 73, 67, 0.22) 9px 17px
    );
    transform: translateX(-50%);
}

.art-card > strong {
    font-size: clamp(2.15rem, 3.5vw, 3.05rem) !important;
    line-height: 1.04 !important;
}

.art-kicker {
    margin-left: 36px !important;
    margin-bottom: 14px !important;
}

.art-plant {
    right: 24px !important;
    bottom: -52px !important;
    transform: scale(0.74) rotate(8deg) !important;
}

.art-shape-one {
    width: 150px !important;
    height: 150px !important;
    left: 4% !important;
    top: 360px !important;
    bottom: auto !important;
    border-radius: 50% !important;
    background: #85d9e8 !important;
}

.art-shape-one::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -116px;
    width: 2px;
    height: 110px;
    background: rgba(47, 73, 67, 0.34);
    transform: translateX(-50%) rotate(4deg);
}

.art-shape-two {
    width: 106px !important;
    height: 106px !important;
    right: 2% !important;
    top: 58px !important;
    border: 24px solid #ff8f70 !important;
    border-radius: 50% !important;
    background: transparent !important;
}

.art-shape-two::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -156px;
    width: 2px;
    height: 145px;
    background: rgba(47, 73, 67, 0.36);
    transform: translateX(-50%) rotate(-5deg);
}

.art-note {
    padding: 13px 23px !important;
    color: #172b28 !important;
    background: #fffdf7 !important;
    border: 2px solid rgba(255, 200, 61, 0.42) !important;
    border-radius: 999px !important;
    box-shadow: 0 16px 34px rgba(84, 61, 14, 0.13) !important;
}

.art-note::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 2px;
    height: 116px;
    background: rgba(47, 73, 67, 0.35);
    transform: translateX(-50%);
}

.art-note::after {
    content: "";
    position: absolute;
    left: 50%;
    top: calc(100% - 2px);
    width: 14px;
    height: 10px;
    background: #fffdf7;
    border: 2px solid rgba(255, 200, 61, 0.42);
    border-top: 0;
    border-radius: 0 0 9px 9px;
    transform: translateX(-50%);
}

.art-note-top {
    right: 0 !important;
    top: 154px !important;
    transform: rotate(4deg) !important;
}

.art-note-bottom {
    left: -2px !important;
    top: 432px !important;
    bottom: auto !important;
    transform: rotate(-5deg) !important;
}

@media (max-width: 1100px) {
    .hero-art {
        transform: translateY(-36px);
        min-height: 570px;
    }

    .art-card {
        top: 22px !important;
        right: 6% !important;
        width: min(380px, 88%) !important;
        height: 380px !important;
    }

    .art-note-bottom {
        top: 390px !important;
    }
}

@media (max-width: 900px) {
    .hero-art {
        transform: none;
        min-height: 500px;
    }

    .art-card {
        top: 20px !important;
        right: 50% !important;
        transform: translateX(50%) rotate(-2deg) !important;
    }

    .art-note-top {
        right: 10% !important;
        top: 120px !important;
    }

    .art-note-bottom {
        left: 8% !important;
        top: 345px !important;
    }
}

@media (max-width: 640px) {
    .hero-art {
        min-height: 430px;
    }

    .art-card {
        width: min(320px, 88vw) !important;
        height: 320px !important;
        padding: 44px 30px 34px !important;
    }

    .art-card > strong {
        font-size: clamp(1.75rem, 10vw, 2.35rem) !important;
    }

    .art-kicker {
        margin-left: 10px !important;
    }

    .art-note {
        font-size: 0.86rem !important;
        padding: 10px 17px !important;
    }

    .art-note-top {
        top: 104px !important;
        right: 5% !important;
    }

    .art-note-bottom {
        top: 300px !important;
        left: 4% !important;
    }
}

/* Hero balloons refinement — higher, cleaner strings */
.hero-art {
    transform: translateY(-118px) !important;
    min-height: 610px !important;
}

.art-card {
    top: -8px !important;
    right: 8% !important;
    overflow: visible !important;
}

.art-card::before {
    bottom: -20px !important;
    z-index: 5 !important;
}

.art-card::after {
    left: 52% !important;
    bottom: -148px !important;
    z-index: 0 !important;
    width: 72px !important;
    height: 138px !important;
    background: none !important;
    border-left: 2px solid rgba(47, 73, 67, 0.32);
    border-bottom: 2px solid rgba(47, 73, 67, 0.18);
    border-radius: 0 0 0 72px;
    transform: translateX(-50%) rotate(-3deg) !important;
}

.art-card > strong,
.art-kicker {
    position: relative;
    z-index: 7;
}

.art-plant {
    z-index: 6 !important;
    right: 14px !important;
    bottom: -76px !important;
    transform: scale(0.62) rotate(8deg) !important;
}

.art-plant .stem {
    height: 92px !important;
    bottom: 64px !important;
    background: #2f8f83 !important;
}

.art-shape-one {
    top: 330px !important;
}

.art-shape-one::after {
    bottom: -128px !important;
    width: 46px !important;
    height: 122px !important;
    background: none !important;
    border-left: 2px solid rgba(47, 73, 67, 0.3);
    border-bottom: 2px solid rgba(47, 73, 67, 0.16);
    border-radius: 0 0 0 46px;
    transform: translateX(-50%) rotate(-7deg) !important;
}

.art-shape-two {
    top: 26px !important;
    right: 1% !important;
}

.art-shape-two::after {
    bottom: -142px !important;
    width: 44px !important;
    height: 136px !important;
    background: none !important;
    border-right: 2px solid rgba(47, 73, 67, 0.3);
    border-bottom: 2px solid rgba(47, 73, 67, 0.14);
    border-radius: 0 0 44px 0;
    transform: translateX(-50%) rotate(6deg) !important;
}

.art-note::before {
    top: calc(100% + 8px) !important;
    width: 34px !important;
    height: 104px !important;
    background: none !important;
    border-left: 2px solid rgba(47, 73, 67, 0.28);
    border-bottom: 2px solid rgba(47, 73, 67, 0.13);
    border-radius: 0 0 0 34px;
    transform: translateX(-50%) rotate(-3deg) !important;
}

.art-note::after {
    top: calc(100% - 1px) !important;
}

.art-note-top {
    top: 118px !important;
    right: -2% !important;
}

.art-note-bottom {
    top: 394px !important;
    left: -1% !important;
}

@media (max-width: 1100px) {
    .hero-art {
        transform: translateY(-72px) !important;
        min-height: 540px !important;
    }

    .art-card {
        top: -4px !important;
    }

    .art-note-bottom {
        top: 358px !important;
    }
}

@media (max-width: 900px) {
    .hero-art {
        transform: none !important;
        min-height: 500px !important;
    }

    .art-card {
        top: 0 !important;
    }
}

@media (max-width: 640px) {
    .hero-art {
        min-height: 420px !important;
    }

    .art-note-bottom {
        top: 288px !important;
    }
}

/* Hero balloons final cleanup — no awkward strings */
.hero-art {
    transform: translateY(-145px) !important;
    min-height: 585px !important;
}

.art-card {
    top: -26px !important;
    right: 8% !important;
    background:
        radial-gradient(circle at 38% 28%, rgba(255, 255, 255, 0.58) 0 19%, transparent 20%),
        radial-gradient(circle at 62% 55%, rgba(255, 244, 172, 0.62) 0 25%, transparent 26%),
        linear-gradient(180deg, #ffd96c 0%, #ffb65d 100%) !important;
    border: 9px solid rgba(255, 231, 180, 0.72) !important;
    box-shadow: 0 28px 70px rgba(208, 133, 31, 0.2) !important;
}

.art-card::before {
    content: "" !important;
    display: block !important;
    left: 50% !important;
    bottom: -22px !important;
    z-index: 6 !important;
    width: 42px !important;
    height: 30px !important;
    background: linear-gradient(180deg, #ffbd68 0%, #ff9f4b 100%) !important;
    border: 7px solid rgba(255, 231, 180, 0.72) !important;
    border-top: 0 !important;
    border-radius: 0 0 18px 18px !important;
    transform: translateX(-50%) !important;
}

.art-card::after,
.art-note::before {
    display: none !important;
    content: none !important;
}

.art-shape-one,
.art-shape-two,
.art-note {
    box-shadow: 0 18px 38px rgba(84, 61, 14, 0.13) !important;
}

.art-shape-one::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    bottom: -13px !important;
    width: 24px !important;
    height: 18px !important;
    background: #85d9e8 !important;
    border: 4px solid rgba(255, 255, 255, 0.58) !important;
    border-top: 0 !important;
    border-radius: 0 0 12px 12px !important;
    transform: translateX(-50%) rotate(-3deg) !important;
}

.art-shape-two::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    bottom: -18px !important;
    width: 24px !important;
    height: 18px !important;
    background: #ff8f70 !important;
    border: 4px solid rgba(255, 255, 255, 0.58) !important;
    border-top: 0 !important;
    border-radius: 0 0 12px 12px !important;
    transform: translateX(-50%) rotate(4deg) !important;
}

.art-note::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    top: calc(100% - 1px) !important;
    width: 18px !important;
    height: 13px !important;
    background: #fffdf7 !important;
    border: 2px solid rgba(255, 200, 61, 0.42) !important;
    border-top: 0 !important;
    border-radius: 0 0 10px 10px !important;
    transform: translateX(-50%) !important;
}

.art-note-top {
    top: 96px !important;
    right: -1% !important;
}

.art-note-bottom {
    top: 366px !important;
    left: 0 !important;
}

.art-shape-one {
    top: 314px !important;
}

.art-shape-two {
    top: 8px !important;
}

.art-plant {
    bottom: -70px !important;
}

@media (max-width: 1100px) {
    .hero-art {
        transform: translateY(-88px) !important;
        min-height: 530px !important;
    }

    .art-card {
        top: -18px !important;
    }

    .art-note-bottom {
        top: 340px !important;
    }
}

@media (max-width: 900px) {
    .hero-art {
        transform: none !important;
        min-height: 480px !important;
    }

    .art-card {
        top: 0 !important;
    }
}

/* Gentle balloon motion */
@keyframes balloonFloatMain {
    0%, 100% { transform: rotate(-2deg) translate3d(0, 0, 0); }
    50% { transform: rotate(1deg) translate3d(0, -10px, 0); }
}

@keyframes balloonFloatSmallLeft {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg); }
    50% { transform: translate3d(-5px, -12px, 0) rotate(2deg); }
}

@keyframes balloonFloatSmallRight {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(1deg); }
    50% { transform: translate3d(5px, -9px, 0) rotate(-2deg); }
}

@keyframes balloonLabelFloat {
    0%, 100% { transform: rotate(var(--label-rotate, 0deg)) translate3d(0, 0, 0); }
    50% { transform: rotate(var(--label-rotate, 0deg)) translate3d(0, -6px, 0); }
}

.art-card {
    animation: balloonFloatMain 7.5s ease-in-out infinite !important;
    will-change: transform;
}

.art-shape-one {
    animation: balloonFloatSmallLeft 8.4s ease-in-out infinite !important;
    will-change: transform;
}

.art-shape-two {
    animation: balloonFloatSmallRight 7.8s ease-in-out infinite !important;
    will-change: transform;
}

.art-note-top {
    --label-rotate: 4deg;
    animation: balloonLabelFloat 6.8s ease-in-out infinite !important;
    will-change: transform;
}

.art-note-bottom {
    --label-rotate: -5deg;
    animation: balloonLabelFloat 7.2s ease-in-out 0.6s infinite !important;
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .art-card,
    .art-shape-one,
    .art-shape-two,
    .art-note-top,
    .art-note-bottom {
        animation: none !important;
    }
}

/* Mobile hero balloon grouping */
@media (max-width: 700px) {
    .hero-art {
        min-height: 390px !important;
        margin-top: 12px !important;
    }

    .art-card {
        top: 18px !important;
        right: 50% !important;
        width: min(300px, 78vw) !important;
        height: 300px !important;
        padding: 40px 28px 30px !important;
        transform: translateX(50%) rotate(-2deg) !important;
    }

    .art-card > strong {
        font-size: clamp(1.7rem, 8.8vw, 2.15rem) !important;
    }

    .art-shape-two {
        top: 30px !important;
        right: 7% !important;
        width: 78px !important;
        height: 78px !important;
        border-width: 18px !important;
    }

    .art-shape-one {
        top: 250px !important;
        left: 9% !important;
        width: 104px !important;
        height: 104px !important;
    }

    .art-note-top {
        top: 116px !important;
        right: 8% !important;
        transform: rotate(3deg) !important;
    }

    .art-note-bottom {
        top: 300px !important;
        left: 11% !important;
        transform: rotate(-4deg) !important;
    }

    .art-plant {
        right: 14px !important;
        bottom: -58px !important;
        transform: scale(0.5) rotate(8deg) !important;
    }
}

@media (max-width: 430px) {
    .hero-art {
        min-height: 360px !important;
    }

    .art-card {
        width: min(278px, 82vw) !important;
        height: 278px !important;
    }

    .art-shape-two {
        right: 2% !important;
    }

    .art-shape-one {
        left: 4% !important;
        top: 240px !important;
    }

    .art-note-top {
        right: 2% !important;
    }

    .art-note-bottom {
        left: 5% !important;
        top: 282px !important;
    }
}


/* About page — stronger Słoneczko palette and readability */
.about-page {
    background:
        radial-gradient(circle at 12% 6%, rgba(255, 202, 66, 0.18), transparent 24rem),
        radial-gradient(circle at 88% 16%, rgba(114, 211, 225, 0.14), transparent 25rem),
        linear-gradient(180deg, #fff8df 0%, #fffdf7 45%, #f5fbf6 100%) !important;
}

.about-page .about-hero {
    background:
        radial-gradient(circle at 86% 18%, rgba(255, 189, 58, 0.36), transparent 18rem),
        radial-gradient(circle at 13% 20%, rgba(107, 203, 222, 0.2), transparent 18rem),
        linear-gradient(135deg, #fff4c7 0%, #fffaf0 48%, #ddf6f1 100%) !important;
    border-bottom: 1px solid rgba(162, 103, 0, 0.12);
}

.about-page .about-hero-copy h1,
.about-page .about-section-heading h2,
.about-page .about-groups-heading h2,
.about-page .about-contact-card h2 {
    color: #102824 !important;
    text-shadow: none !important;
}

.about-page .about-hero-copy > p,
.about-page .about-groups-heading > p,
.about-page .about-value-card p,
.about-page .about-care-grid p,
.about-page .about-contact-card p,
.about-page .about-care-note p {
    color: #314c45 !important;
}

.about-page .eyebrow,
.about-page .about-summary-card small,
.about-page .about-group-card small,
.about-page .about-card-number,
.about-page .about-group-index,
.about-page .about-care-note > span {
    color: #0b7368 !important;
}

.about-page .about-summary-card,
.about-page .about-care-grid article {
    background: rgba(255, 254, 249, 0.98) !important;
    border: 1px solid rgba(162, 103, 0, 0.17) !important;
    box-shadow: 0 18px 46px rgba(75, 55, 15, 0.1) !important;
}

.about-page .about-summary-card strong,
.about-page .about-value-card h3,
.about-page .about-group-card h3,
.about-page .about-care-grid h3,
.about-page .about-group-card > strong {
    color: #102824 !important;
}

.about-page .about-summary-card p,
.about-page .about-group-card p,
.about-page .about-group-card > strong span {
    color: #36564f !important;
}

.about-page .about-summary-icon,
.about-page .about-care-icon {
    color: #075d56 !important;
    background: linear-gradient(145deg, #dff8ef 0%, #c9eff4 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 10px 24px rgba(42, 132, 124, 0.12);
}

.about-page .about-value-card {
    border: 1px solid rgba(162, 103, 0, 0.13);
    box-shadow: 0 18px 44px rgba(75, 55, 15, 0.08);
}

.about-page .about-value-sand {
    background: linear-gradient(145deg, #fff1d2 0%, #ffe2a8 100%) !important;
}

.about-page .about-value-mint {
    background: linear-gradient(145deg, #e3f8ef 0%, #c9efe7 100%) !important;
}

.about-page .about-value-lilac {
    background: linear-gradient(145deg, #f2eaff 0%, #e3d8f5 100%) !important;
}

.about-page .about-card-icon {
    color: #102824 !important;
    background: rgba(255, 255, 255, 0.48);
    border-color: rgba(16, 40, 36, 0.3) !important;
}

.about-page .about-groups {
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 202, 66, 0.14), transparent 20rem),
        linear-gradient(135deg, #123b35 0%, #0f2b27 100%) !important;
}

.about-page .about-groups .eyebrow,
.about-page .about-groups-heading h2 {
    color: #fff9e8 !important;
}

.about-page .about-groups-heading > p {
    color: rgba(255, 249, 232, 0.82) !important;
}

.about-page .about-group-card {
    background: linear-gradient(145deg, #fffdf7 0%, #fff1cf 100%) !important;
    border: 1px solid rgba(255, 202, 66, 0.24);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
}

.about-page .about-group-card:nth-child(3n + 2) {
    background: linear-gradient(145deg, #f7fffb 0%, #d9f5ea 100%) !important;
}

.about-page .about-group-card:nth-child(3n + 3) {
    background: linear-gradient(145deg, #fffafd 0%, #eadffc 100%) !important;
}

.about-page .about-care-note {
    color: #fff9e8 !important;
    background:
        radial-gradient(circle at 88% 22%, rgba(255, 202, 66, 0.22), transparent 10rem),
        linear-gradient(135deg, #0f6b60 0%, #123b35 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 45px rgba(15, 74, 66, 0.18);
}

.about-page .about-care-note strong {
    color: #ffffff !important;
}

.about-page .about-care-note p,
.about-page .about-care-note > span {
    color: rgba(255, 249, 232, 0.86) !important;
}

.about-page .about-contact-card {
    background:
        radial-gradient(circle at 86% 20%, rgba(255, 202, 66, 0.28), transparent 15rem),
        linear-gradient(135deg, #fffdf7 0%, #ffe4a8 100%) !important;
    border: 1px solid rgba(162, 103, 0, 0.18);
    box-shadow: 0 24px 58px rgba(75, 55, 15, 0.12);
}
