.auth-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 70%, rgba(255, 233, 236, 0.62), transparent 28rem),
        radial-gradient(circle at 90% 15%, rgba(255, 245, 229, 0.72), transparent 24rem),
        #fffdfc;
}

.auth-header {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
}

.auth-back {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.auth-back:hover,
.auth-switch a {
    color: var(--pink-dark);
}

.profile-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.page-back {
    gap: 6px;
    white-space: nowrap;
}

.auth-main {
    display: grid;
    min-height: calc(100vh - 82px);
    place-items: center;
    padding: 28px 18px 70px;
}

.auth-card {
    width: min(100%, 460px);
    padding: 38px;
    border: 1px solid #f4e9eb;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 70px rgba(104, 61, 77, 0.1);
}

.auth-card h1 {
    margin: 13px 0 7px;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -1.2px;
}

.auth-intro {
    margin-bottom: 25px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.auth-form {
    display: flex;
    flex-direction: column;
}

.auth-form label {
    margin: 0 0 7px;
    color: #514853;
    font-size: 12px;
    font-weight: 700;
}

.auth-form input,
.auth-form select {
    width: 100%;
    min-height: 47px;
    margin-bottom: 17px;
    padding: 0 13px;
    border: 1px solid #eae1e5;
    border-radius: 11px;
    outline: none;
    color: var(--ink);
    background: #fff;
    font: inherit;
    font-size: 14px;
}

.auth-form input:focus,
.auth-form select:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(233, 129, 145, 0.14);
}

.auth-form input:disabled {
    color: #8d828d;
    background: #f8f5f6;
}

.auth-submit {
    width: 100%;
    margin-top: 5px;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
}

.form-errors {
    margin: 0 0 19px;
    padding: 12px 14px;
    border: 1px solid #f1c9cf;
    border-radius: 11px;
    color: #a33e52;
    background: #fff3f4;
    font-size: 12px;
    line-height: 1.6;
}

.form-errors p {
    margin: 0;
}

.form-errors p + p {
    margin-top: 4px;
}

.form-success {
    margin-bottom: 19px;
    padding: 12px 14px;
    border: 1px solid #cce8d7;
    border-radius: 11px;
    color: #356b4b;
    background: #f0fbf4;
    font-size: 12px;
}

.auth-switch {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.auth-switch a {
    font-weight: 700;
}

.dashboard-card {
    width: min(100%, 560px);
    text-align: center;
}

.dashboard-card .auth-submit {
    width: auto;
}

.dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 11px;
}

.management-main {
    padding-top: 55px;
    padding-bottom: 70px;
}

.management-heading p {
    max-width: 700px;
}

.management-heading {
    margin-bottom: 25px;
}

.management-heading h1 {
    margin: 12px 0 7px;
    font-size: clamp(30px, 4vw, 40px);
    letter-spacing: -1.2px;
}

.management-heading p,
.management-help {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.management-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.5fr);
    align-items: start;
    gap: 20px;
}

.management-card {
    min-width: 0;
    padding: 23px;
    border: 1px solid #f1e7e9;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(104, 61, 77, 0.06);
}

.management-card h2 {
    margin: 0 0 5px;
    font-size: 19px;
    font-weight: 800;
}

.management-card > .management-help {
    margin-bottom: 20px;
}

.management-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 17px;
}

.management-card-heading h2 {
    margin-bottom: 5px;
}

.management-card-heading .management-help {
    font-size: 11px;
}

.owner-label {
    margin: 0 0 17px;
    padding: 10px 12px;
    border-radius: 9px;
    color: #625a64;
    background: #fff8f8;
    font-size: 12px;
}

.empty-management {
    margin: 0;
    padding: 24px 12px;
    border: 1px dashed #ecdfe2;
    border-radius: 12px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.nutrition-card {
    max-width: 760px;
}

.child-selector {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    column-gap: 14px;
}

.child-selector label {
    grid-column: 1 / -1;
}

.child-selector select {
    margin-bottom: 0;
}

.child-selector .auth-submit {
    width: auto;
    min-width: 125px;
    margin-top: 0;
}

.selected-child {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 7px;
    margin: 22px 0 17px;
    color: var(--muted);
    font-size: 13px;
}

.selected-child strong {
    color: var(--ink);
    font-family: 'Nunito', sans-serif;
    font-size: 17px;
}

.nutrition-result {
    margin: 20px 0;
    padding: 18px 20px;
    border: 1px solid #f1dfe3;
    border-radius: 14px;
    background: #fff8f8;
}

.nutrition-result h2 {
    margin: 7px 0 8px;
    color: var(--pink-dark);
    font-size: 22px;
}

.nutrition-result p {
    margin: 0;
    color: #655b66;
    font-size: 12px;
    line-height: 1.8;
}

.measurement-note {
    margin: 17px 0;
    padding: 11px 13px;
    border-left: 3px solid #edbd79;
    color: #776754;
    background: #fffaf0;
    font-size: 11px;
    line-height: 1.7;
}

.check-form {
    max-width: 440px;
}

.nutrition-history {
    margin-top: 20px;
}

.nutrition-history h2 {
    margin-bottom: 15px;
}

.health-disclaimer {
    max-width: 760px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.75;
}

.health-disclaimer a {
    color: var(--pink-dark);
    font-weight: 700;
}

.registration-status {
    display: inline-flex;
    padding: 8px 11px;
    border-radius: 999px;
    color: #356b4b;
    background: #f0fbf4;
    font-size: 11px;
    font-weight: 700;
}

.consultation-list {
    display: grid;
    gap: 16px;
}

.consultation-item h3 {
    margin: 15px 0 7px;
    font-size: 15px;
}

.consultation-item time {
    color: var(--muted);
    font-size: 11px;
}

.consultation-answer {
    padding: 13px;
    border-radius: 10px;
    background: #f7fbf8;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.status-waiting {
    color: #8a641c;
    background: #fff7df;
}

.status-answered {
    color: #356b4b;
    background: #f0fbf4;
}

.report-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.report-stat {
    display: flex;
    min-height: 150px;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    border-radius: 19px;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.report-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(104, 61, 77, 0.1);
}

.report-stat span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.report-stat strong {
    color: var(--pink-dark);
    font-family: 'Nunito', sans-serif;
    font-size: 34px;
    line-height: 1;
}

.report-note {
    margin-top: 15px;
}

.admin-heading p {
    max-width: 720px;
    line-height: 1.7;
}

.article-search {
    display: flex;
    max-width: none;
    gap: 10px;
    margin-bottom: 18px;
    padding: 9px;
    border: 1px solid #eee6bd;
    border-radius: 17px;
    background: #fffbe4;
}

.article-search input {
    min-width: 0;
    flex: 1;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    outline: none;
    font: inherit;
    font-size: 13px;
}

.article-search input:focus {
    border-color: #d6c976;
    box-shadow: 0 0 0 3px rgba(214, 201, 118, 0.2);
}

.article-search .button {
    min-height: 48px;
    border-radius: 12px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.article-card {
    overflow: hidden;
    border: 1px solid #f1e7e9;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(104, 61, 77, 0.06);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.article-list-card {
    border-color: #f0edcf;
    background: #fffbe4;
}

.article-list-card h2 {
    color: #294b42;
}

.article-list-card p {
    color: #5e6862;
}

.article-card:hover {
    transform: translateY(-4px);
    border-color: #ecd1d6;
    box-shadow: 0 18px 38px rgba(104, 61, 77, 0.1);
}

.article-image {
    display: block;
    height: 190px;
    overflow: hidden;
    background: #fff0f2;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 450ms ease;
}

.article-card:hover .article-image img {
    transform: scale(1.035);
}

.article-card-body {
    padding: 19px;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 24px;
}

.article-category-filter {
    gap: 10px;
    margin-bottom: 12px;
}

.category-filter a {
    padding: 10px 17px;
    border: 1px solid #e5e9e6;
    border-radius: 999px;
    color: #514853;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.category-filter a:hover,
.category-filter a.is-active {
    transform: translateY(-1px);
    border-color: #399c78;
    color: #fff;
    background: #399c78;
}

.article-result-count {
    margin: 20px 0 18px;
    color: var(--muted);
    font-size: 13px;
}

.recipe-category {
    display: inline-flex;
    margin-right: 8px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #b65b6c;
    background: #fff0f2;
    font-size: 10px;
    font-weight: 700;
}

.recipe-card .article-card-body {
    min-height: 205px;
}

.recipe-image {
    height: 205px;
}

.recipe-image img {
    object-position: center;
}

.recipe-reader {
    max-width: 760px;
}

.recipe-cover {
    display: block;
    width: 100%;
    max-height: 390px;
    margin: 0 0 24px;
    border: 1px solid #f1e7e9;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 16px 38px rgba(104, 61, 77, 0.09);
}

.recipe-reader h1 {
    margin-top: 14px;
}

.recipe-section {
    margin-top: 28px;
    padding: 22px;
    border: 1px solid #f1e7e9;
    border-radius: 16px;
    background: #fff;
}

.recipe-section h2 {
    margin: 0 0 12px;
    font-size: 20px;
}

.recipe-note {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}

.article-date {
    color: var(--muted);
    font-size: 10px;
}

.article-card h2 {
    margin: 8px 0;
    font-size: 18px;
    line-height: 1.35;
}

.article-card h2 a:hover {
    color: var(--pink-dark);
}

.article-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 13px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.article-reader {
    max-width: 780px;
    padding-top: 40px;
    padding-bottom: 80px;
}

.article-cover {
    display: block;
    width: 100%;
    max-height: 420px;
    margin-bottom: 25px;
    border-radius: 20px;
    object-fit: cover;
}

.article-reader h1 {
    margin: 10px 0;
    font-size: clamp(32px, 5vw, 46px);
    letter-spacing: -1.5px;
    line-height: 1.2;
}

.article-lead {
    margin-bottom: 26px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.article-content {
    color: #514853;
    font-size: 15px;
    line-height: 1.95;
    overflow-wrap: anywhere;
}

.article-admin-layout {
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.5fr);
}

.admin-image-preview {
    display: block;
    width: 100%;
    max-height: 190px;
    margin: -4px 0 13px;
    border-radius: 11px;
    object-fit: cover;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px !important;
}

.checkbox-label input {
    width: 16px;
    min-height: 16px;
    margin: 0;
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-actions form {
    margin: 0;
}

.action-link,
.cancel-link {
    padding: 0;
    border: 0;
    color: var(--pink-dark);
    background: transparent;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.action-link:hover,
.cancel-link:hover {
    text-decoration: underline;
}

.action-danger {
    color: #b94d5b;
}

.cancel-link {
    display: block;
    margin-top: 14px;
    text-align: center;
}

.auth-form textarea {
    width: 100%;
    min-height: 80px;
    margin-bottom: 17px;
    padding: 11px 13px;
    border: 1px solid #eae1e5;
    border-radius: 11px;
    outline: none;
    color: var(--ink);
    background: #fff;
    font: inherit;
    font-size: 14px;
    resize: vertical;
}

.auth-form textarea:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(233, 129, 145, 0.14);
}

.admin-main {
    padding-top: 55px;
    padding-bottom: 70px;
}

.admin-workspace {
    background:
        radial-gradient(circle at 96% 3%, rgba(255, 242, 226, 0.64), transparent 25rem),
        radial-gradient(circle at 5% 38%, rgba(255, 232, 237, 0.58), transparent 28rem),
        #fffdfc;
}

.admin-heading {
    margin-bottom: 24px;
}

.admin-heading h1 {
    margin: 12px 0 7px;
    font-size: clamp(30px, 4vw, 40px);
    letter-spacing: -1.2px;
}

.admin-heading p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 13px;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid #f1e7e9;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(104, 61, 77, 0.06);
}

.mothers-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    white-space: nowrap;
}

.mothers-table th,
.mothers-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f3ecee;
    font-size: 12px;
}

.mothers-table th {
    color: #756a76;
    background: #fff8f8;
    font-weight: 700;
}

.mothers-table td {
    color: #514853;
}

.mothers-table tbody tr:last-child td {
    border-bottom: 0;
}

.mothers-table .empty-state {
    padding: 32px 16px;
    color: var(--muted);
    text-align: center;
}

@media (max-width: 640px) {
    .auth-header {
        min-height: 72px;
        flex-wrap: wrap;
        row-gap: 8px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .auth-back {
        font-size: 11px;
    }

    .profile-header-actions {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .page-back,
    .profile-header-actions .button {
        min-height: 36px;
        padding-right: 10px;
        padding-left: 10px;
        font-size: 11px;
    }

    .auth-main {
        min-height: calc(100vh - 72px);
        padding: 18px 18px 45px;
    }

    .auth-card {
        padding: 27px 22px;
        border-radius: 19px;
    }

    .auth-card h1 {
        font-size: 30px;
    }

    .admin-main {
        padding-top: 38px;
    }

    .management-main {
        padding-top: 38px;
    }

    .management-layout {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .article-image {
        height: 210px;
    }

    .recipe-image {
        height: 210px;
    }

    .article-admin-layout {
        grid-template-columns: 1fr;
    }

    .child-selector {
        grid-template-columns: 1fr;
        row-gap: 0;
    }

    .child-selector label {
        grid-column: auto;
    }

    .child-selector select {
        margin-bottom: 17px;
    }

    .child-selector .auth-submit {
        width: 100%;
    }

    .management-card {
        padding: 18px;
    }

    .report-stat-grid {
        grid-template-columns: 1fr;
    }

    .article-search {
        gap: 7px;
        padding: 7px;
    }

    .article-search .button {
        padding: 0 15px;
    }

    .management-card-heading {
        align-items: flex-start;
        gap: 12px;
    }
}

/* =========================================================
   Admin Sidebar Layout
   ========================================================= */
.admin-shell {
    display: flex;
    min-height: 100vh;
}

.admin-mobile-bar {
    display: none;
}

.admin-sidebar-backdrop {
    display: none;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    width: 268px;
    height: 100vh;
    flex: 0 0 268px;
    flex-direction: column;
    overflow-y: auto;
    padding: 22px 18px;
    border-right: 1px solid #f1e7e9;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 6px 0 30px rgba(104, 61, 77, 0.04);
    z-index: 20;
    transition: width 220ms ease, flex-basis 220ms ease, padding 220ms ease;
}

.admin-sidebar-header {
    padding-bottom: 18px;
    border-bottom: 1px solid #f3ecee;
}

.admin-sidebar-brand-row {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
}

.admin-sidebar-collapse-toggle {
    display: flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1px solid #f1e7e9;
    border-radius: 12px;
    color: #625a64;
    background: #fff;
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.admin-sidebar-collapse-toggle:hover {
    border-color: #efcbd2;
    color: var(--pink-dark);
    background: #fff6f7;
}

.admin-sidebar-collapse-toggle span {
    width: 15px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.admin-sidebar-header .brand-logo {
    width: 155px;
    height: 46px;
    transition: width 180ms ease, opacity 180ms ease;
}

.admin-user-pill {
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff6f7;
    border: 1px solid #f5dfe3;
}

.admin-role-tag {
    display: block;
    color: var(--pink-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-user-pill strong {
    display: block;
    margin-top: 2px;
    color: var(--ink);
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-sidebar-nav {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 18px;
    padding: 18px 0;
}

.admin-nav-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-nav-label {
    padding: 0 12px 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    transition: opacity 150ms ease, height 150ms ease, padding 150ms ease;
}

.admin-nav-link {
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 11px;
    color: #5b515d;
    font-size: 13px;
    font-weight: 600;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.admin-nav-icon {
    display: block;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
}

.admin-nav-text {
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 140ms ease, max-width 180ms ease;
}

.admin-nav-link:hover {
    transform: translateX(2px);
    color: var(--pink-dark);
    background: #fff2f4;
}

.admin-nav-link.is-active {
    color: #fff;
    background: var(--pink-dark);
    box-shadow: 0 8px 18px rgba(217, 101, 123, 0.24);
}

.admin-sidebar-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid #f3ecee;
}

.admin-sidebar-footer form {
    margin: 0;
}

.admin-sidebar-btn {
    display: flex;
    width: 100%;
    min-height: 40px;
    justify-content: flex-start;
    gap: 12px;
    padding-right: 12px;
    padding-left: 12px;
}

.admin-shell.sidebar-collapsed .admin-sidebar {
    width: 0;
    flex-basis: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    box-shadow: none;
    transition: width 220ms ease, flex-basis 220ms ease, padding 220ms ease, opacity 160ms ease,
        visibility 0s linear 220ms;
}

.admin-workspace {
    position: relative;
    min-width: 0;
    flex: 1;
    padding: 0 32px;
}

.admin-sidebar-open-toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1px solid #f1e7e9;
    border-radius: 12px;
    color: #625a64;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 5px 16px rgba(104, 61, 77, 0.08);
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.admin-sidebar-open-toggle:hover {
    border-color: #efcbd2;
    color: var(--pink-dark);
    background: #fff6f7;
}

.admin-sidebar-open-toggle span {
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.admin-shell.sidebar-collapsed .admin-sidebar-open-toggle {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 18;
    display: flex;
}

.admin-shell.sidebar-collapsed .admin-workspace .admin-main,
.admin-shell.sidebar-collapsed .admin-workspace .management-main {
    max-width: 1600px;
    padding-top: 70px;
}

.admin-workspace .admin-main,
.admin-workspace .management-main {
    max-width: 1120px;
    margin: 0 auto;
    padding-top: 34px;
    padding-bottom: 56px;
}

.admin-overview-grid {
    gap: 16px;
}

.nutrition-history {
    margin-top: 22px;
    border-radius: 20px;
}

.nutrition-history .management-card-heading {
    align-items: center;
}

.action-link {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 1px solid #f1cbd2;
    border-radius: 999px;
    color: #a9364e;
    background: #fff8f9;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.action-link:hover {
    transform: translateY(-1px);
    border-color: var(--pink-dark);
    color: #fff;
    background: var(--pink-dark);
    text-decoration: none;
}

.table-excerpt {
    max-width: 340px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 960px) {
    .admin-shell {
        flex-direction: column;
    }

    .admin-mobile-bar {
        position: sticky;
        top: 0;
        z-index: 15;
        display: flex;
        min-height: 70px;
        align-items: center;
        justify-content: space-between;
        padding: 0 18px;
        border-bottom: 1px solid #f1e7e9;
        background: rgba(255, 255, 255, 0.96);
    }

    .admin-mobile-bar .menu-toggle {
        display: flex;
        width: 42px;
        height: 42px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: 1px solid var(--line);
        border-radius: 13px;
        background: var(--white);
        cursor: pointer;
    }

    .admin-mobile-bar .menu-toggle span:not(.sr-only) {
        width: 17px;
        height: 2px;
        border-radius: 2px;
        background: var(--ink);
    }

    .admin-sidebar-backdrop.is-open {
        position: fixed;
        inset: 0;
        display: block;
        background: rgba(56, 49, 58, 0.32);
        z-index: 25;
    }

    .admin-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: 276px;
        transform: translateX(-100%);
        transition: transform 200ms ease;
        z-index: 30;
    }

    .admin-sidebar-collapse-toggle {
        display: none;
    }

    .admin-shell.sidebar-collapsed .admin-sidebar {
        width: 276px;
        flex-basis: 276px;
        overflow-y: auto;
        padding: 22px 18px;
        border-right: 1px solid #f1e7e9;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        box-shadow: 6px 0 30px rgba(104, 61, 77, 0.04);
        transition: transform 200ms ease;
    }

    .admin-sidebar.is-open {
        transform: translateX(0);
    }

    .admin-shell.sidebar-collapsed .admin-sidebar-open-toggle {
        display: none;
    }

    .admin-workspace {
        padding: 0 18px;
    }

    .admin-workspace .admin-main,
    .admin-workspace .management-main {
        padding-top: 24px;
    }
}

@media print {
    .admin-sidebar,
    .admin-mobile-bar,
    .admin-sidebar-backdrop {
        display: none !important;
    }

    .admin-workspace {
        padding: 0 !important;
    }
}
