/* ========================================================================== 
   Theme Tokens
   ========================================================================== */

:root {
    --admin-bg: #f5f7f8;
    --admin-bg-elevated: #eef2f3;
    --admin-surface: #ffffff;
    --admin-surface-muted: #f8faf7;
    --admin-primary: #95c93d;
    --admin-primary-strong: #7cab2c;
    --admin-primary-secondary: #a3d233;
    --admin-primary-soft: #edf6da;
    --admin-text: #2f3133;
    --admin-text-strong: #000000;
    --admin-muted: #5e6368;
    --admin-border: #d9dee3;
    --admin-border-soft: #e8ecef;
    --admin-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
    --admin-shadow-soft: 0 10px 24px rgba(47, 49, 51, 0.08);
    --admin-shadow-strong: 0 18px 40px rgba(0, 0, 0, 0.12);
    --admin-radius: 12px;
    --admin-radius-sm: 10px;
    --admin-gradient-primary: linear-gradient(135deg, #95c93d 0%, #a3d233 100%);
    --admin-gradient-dark: linear-gradient(135deg, #000000 0%, #2f3133 100%);
    --admin-focus-ring: 0 0 0 4px rgba(149, 201, 61, 0.18);
    --admin-danger: #d64545;
    --admin-danger-hover: #bb3232;
    --admin-warning: #c98716;
}

/* ========================================================================== 
   Base
   ========================================================================== */

html,
body {
    min-height: 100%;
}

body {
    background:
        radial-gradient(circle at top left, rgba(149, 201, 61, 0.11), transparent 28%),
        radial-gradient(circle at top right, rgba(47, 49, 51, 0.08), transparent 30%),
        linear-gradient(180deg, #f7f9f8 0%, var(--admin-bg) 22%, var(--admin-bg-elevated) 100%);
    color: var(--admin-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body > main {
    padding-bottom: 2rem;
}

body a {
    color: var(--admin-text-strong);
    font-weight: 600;
    text-decoration-color: rgba(149, 201, 61, 0.4);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

body a:hover,
body a:focus {
    color: var(--admin-primary-strong);
    text-decoration-color: rgba(149, 201, 61, 0.8);
}

body input[type='checkbox'],
body input[type='radio'] {
    accent-color: var(--admin-primary);
}

.admin-hidden {
    display: none;
}

.admin-break-any {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* ========================================================================== 
   Shared Shell
   ========================================================================== */

.admin-shell {
    max-width: 1400px;
}

body > main .admin-shell > .card.border-0.shadow-sm {
    background: transparent;
    border: 0 !important;
    box-shadow: none !important;
}

body > main .admin-shell > .card.border-0.shadow-sm > .card-body {
    background: transparent;
    padding: 0 !important;
}

body > nav.navbar.admin-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--admin-gradient-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset !important;
}

body > nav.navbar.admin-navbar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(149, 201, 61, 0) 0%, rgba(149, 201, 61, 0.56) 24%, rgba(163, 210, 51, 0.76) 50%, rgba(149, 201, 61, 0) 100%);
}

body > nav.navbar.admin-navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff !important;
    text-decoration: none;
}

.admin-brand-mark,
.admin-footer-mark {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--admin-gradient-dark);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.admin-brand-mark {
    width: 44px;
    height: 44px;
}

.admin-brand-mark::before,
.admin-footer-mark::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-brand-mark-core,
.admin-footer-mark::after {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: var(--admin-gradient-primary);
    box-shadow: 0 0 0 6px rgba(149, 201, 61, 0.14);
    transform: rotate(45deg);
}

.admin-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.admin-brand-overline {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffffff;
}

.admin-brand-title {
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #ffffff;
}

body > nav.navbar.admin-navbar .admin-brand-mark {
    background: linear-gradient(135deg, #f8fafb 0%, #d9dee3 100%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

body > nav.navbar.admin-navbar .admin-brand-mark::before {
    border-color: rgba(47, 49, 51, 0.08);
}

body > nav.navbar.admin-navbar .admin-brand-mark-core {
    box-shadow: 0 0 0 6px rgba(149, 201, 61, 0.18);
}

body > nav.navbar.admin-navbar .nav-link {
    color: #e5e7eb !important;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.6rem 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body > nav.navbar.admin-navbar .nav-link:hover,
body > nav.navbar.admin-navbar .nav-link:focus {
    color: #ffffff !important;
    background: rgba(149, 201, 61, 0.14) !important;
    border-color: rgba(149, 201, 61, 0.22);
    transform: translateY(-1px);
}

body > nav.navbar.admin-navbar .nav-link.active {
    color: var(--admin-text-strong) !important;
    background: var(--admin-gradient-primary) !important;
    border-color: rgba(149, 201, 61, 0.55);
    box-shadow: 0 10px 18px rgba(149, 201, 61, 0.18);
}

body > footer {
    position: relative;
    background: var(--admin-gradient-dark) !important;
    border-top-color: rgba(255, 255, 255, 0.08) !important;
    color: #f3f4f6;
}

body > footer::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(149, 201, 61, 0) 0%, rgba(149, 201, 61, 0.54) 24%, rgba(163, 210, 51, 0.72) 50%, rgba(149, 201, 61, 0) 100%);
}

.admin-footer-shell {
    min-height: 54px;
}

.admin-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #f3f4f6;
    font-size: 0.94rem;
    font-weight: 600;
}

body > footer .admin-footer-mark {
    background: linear-gradient(135deg, #f8fafb 0%, #d9dee3 100%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

body > footer .admin-footer-mark::before {
    border-color: rgba(47, 49, 51, 0.08);
}

.admin-footer-mark {
    width: 28px;
    height: 28px;
    border-radius: 10px;
}

.admin-footer-mark::after {
    width: 10px;
    height: 10px;
    box-shadow: 0 0 0 4px rgba(149, 201, 61, 0.16);
}

.admin-footer-text {
    letter-spacing: 0.01em;
}

body > footer .btn-outline-secondary {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    color: #f9fafb;
    box-shadow: none;
}

body > footer .btn-outline-secondary:hover,
body > footer .btn-outline-secondary:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* ========================================================================== 
   Typography
   ========================================================================== */

body > main .admin-shell h1,
body > main .admin-shell h2,
body > main .admin-shell h3,
body > main .admin-shell h4,
body > main .admin-shell h5,
body > main .admin-shell h6,
body > main .admin-shell .h4,
body > main .admin-shell .h5 {
    color: var(--admin-text-strong);
    font-weight: 700;
    letter-spacing: -0.03em;
}

body > main .admin-shell h1 {
    font-size: 2rem;
}

body > main .admin-shell label,
body > main .admin-shell .form-label,
body > main .admin-shell small,
body > main .admin-shell .small,
body > main .admin-shell .text-muted,
body > main .admin-shell .form-text,
body > main .admin-shell table thead th,
body > main .admin-shell .admin-context-text,
body > main .admin-shell .admin-results-summary {
    color: var(--admin-muted) !important;
}

body > main .admin-shell .form-label,
body > main .admin-shell label,
body > main .admin-shell table thead th,
.admin-info-label {
    font-size: 13px;
    letter-spacing: 0.01em;
}

.admin-label-strong,
.admin-info-label {
    display: block;
    font-weight: 700;
    margin-bottom: 4px;
}

.admin-field-note {
    margin-top: 6px;
    margin-bottom: 0;
    color: var(--admin-muted);
}

.admin-field-note-tight {
    margin-bottom: 6px;
}

.admin-field-error {
    margin-top: 6px;
    color: #b42318;
}

.admin-field-warning {
    margin-top: 6px;
    color: #946200;
}

.admin-section-label {
    margin-top: 24px;
    margin-bottom: 10px;
    font-weight: 700;
}

/* ========================================================================== 
   Panels and Layout Blocks
   ========================================================================== */

body > main .admin-shell .card.border-0.shadow-sm,
.admin-panel,
.admin-summary-panel,
.admin-toolbar,
.admin-feedback,
.admin-note-card,
.admin-login-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #ffffff 100%);
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius) !important;
    box-shadow: var(--admin-shadow);
}

body > main .admin-shell .card.border-0.shadow-sm > .card-body {
    padding: 20px !important;
}

.admin-panel {
    padding: 20px;
}

.admin-panel-muted {
    background: linear-gradient(180deg, #fbfcfb 0%, var(--admin-surface-muted) 100%);
}

.admin-panel-title,
.admin-panel h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.admin-panel-title-spaced {
    margin-bottom: 14px;
}

.admin-panel-text {
    color: var(--admin-text);
}

.admin-panel-text-spaced {
    margin-top: 0;
    margin-bottom: 14px;
}

.admin-section-gap,
.admin-summary-panel,
.admin-form-spacing {
    margin-bottom: 24px;
}

.admin-summary-panel,
.admin-toolbar,
.admin-feedback {
    padding: 14px 16px;
}

.admin-summary-panel,
.admin-toolbar {
    background: rgba(255, 255, 255, 0.82);
}

.admin-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ========================================================================== 
   Applied Bulk Toolbar
   ========================================================================== */

.admin-applied-sticky-context {
    position: relative;
    overflow: visible;
}

.admin-applied-bulk-actions {
    position: sticky;
    top: 96px;
    z-index: 1020;
    margin-bottom: 24px;
    overflow: visible;
}

.admin-applied-bulk-toolbar {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #ffffff 100%);
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius);
    box-shadow: 0 14px 32px rgba(47, 49, 51, 0.08);
}

.admin-applied-sticky-context .table-responsive {
    position: relative;
    z-index: 1;
}

@media (max-width: 991.98px) {
    .admin-applied-bulk-actions {
        top: 88px;
    }
}

@media (max-width: 575.98px) {
    .admin-applied-bulk-actions {
        top: 82px;
    }

    .admin-applied-bulk-toolbar {
        padding: 12px 14px;
    }
}

.admin-panel-header,
.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px 16px;
    flex-wrap: wrap;
}

.admin-page-header {
    margin-bottom: 24px;
}
body > main .admin-shell .admin-article-edit-sticky-header {
    position: sticky;
    top: 96px;
    z-index: 1020;
    margin-bottom: 24px;
    padding: 16px 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--admin-radius-md);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px);
}

@media (max-width: 991.98px) {
    body > main .admin-shell .admin-article-edit-sticky-header {
        top: 88px;
    }
}

@media (max-width: 575.98px) {
    body > main .admin-shell .admin-article-edit-sticky-header {
        top: 82px;
        padding: 14px 16px;
    }
}

.admin-sources-subnav-wrap {
    margin-top: -6px;
    margin-bottom: 24px;
}

.admin-sources-subnav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.admin-sources-subnav-item {
    margin: 0;
}

.admin-sources-subnav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.6rem 0.95rem;
    border: 1px solid #d8d8d8;
    border-radius: 999px;
    background: #eeeeee;
    color: #000000;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.admin-sources-subnav-link:hover,
.admin-sources-subnav-link:focus {
    background: rgba(149, 201, 61, 0.14);
    border-color: rgba(149, 201, 61, 0.22);
    color: #000000;
    text-decoration: none;
    transform: translateY(-1px);
}

.admin-sources-subnav-link.is-active {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.14);
}

.admin-sources-subnav-link.is-active:hover,
.admin-sources-subnav-link.is-active:focus {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
}

.admin-page-header-actions,
.admin-inline-actions,
.admin-form-actions,
.admin-result-actions {
    display: flex;
    align-items: center;
    gap: 8px 12px;
    flex-wrap: wrap;
}

.admin-inline-actions-top {
    margin-top: 10px;
}

.admin-inline-actions-compact {
    margin-bottom: 8px;
}

.admin-form-group {
    margin-bottom: 18px;
}

.admin-back-link {
    margin-top: 16px;
}

/* ========================================================================== 
   Notices and Status Text
   ========================================================================== */

.admin-inline-message,
.admin-feedback {
    border-radius: var(--admin-radius);
}

.admin-inline-message {
    padding: 12px 14px;
    border: 1px solid var(--admin-border);
    background: #fbfcfb;
    color: var(--admin-text);
    margin-bottom: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.admin-inline-message-success {
    background: #f1f9e4;
    border-color: #cfe6a6;
    color: #3a5f0b;
}

.admin-inline-message-error {
    background: #fff0f0;
    border-color: #f0c6c6;
    color: #992121;
}

.admin-inline-message-info,
.admin-feedback-info {
    background: #f2f6f4;
    border-color: #d5dde2;
    color: var(--admin-text);
}

.admin-inline-message-muted {
    background: #fafbfb;
    border-color: var(--admin-border);
    color: var(--admin-text);
}

.admin-inline-status {
    font-size: 0.95rem;
    color: var(--admin-muted);
}

.admin-inline-status-success {
    color: #4b7114;
}

.admin-inline-status-error {
    color: #b42318;
}

.admin-inline-status-info {
    color: var(--admin-text);
}

/* ========================================================================== 
   Buttons
   ========================================================================== */

body > main .admin-shell .btn,
body > footer .btn,
body > main .admin-shell button:not(.btn):not(.btn-close):not([class^='ql-']):not([class*=' ql-']),
body > main .admin-shell input[type='submit']:not(.btn),
body > main .admin-shell input[type='button']:not(.btn) {
    border-radius: var(--admin-radius-sm);
    padding: 0.65rem 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, filter 0.2s ease;
    box-shadow: none;
}

body > main .admin-shell .btn:hover,
body > main .admin-shell .btn:focus,
body > footer .btn:hover,
body > footer .btn:focus,
body > main .admin-shell button:not(.btn):not(.btn-close):not([class^='ql-']):not([class*=' ql-']):hover,
body > main .admin-shell button:not(.btn):not(.btn-close):not([class^='ql-']):not([class*=' ql-']):focus {
    transform: translateY(-1px);
}

body > main .admin-shell .btn-primary,
body > main .admin-shell .btn-success,
body > footer .btn-primary,
body > main .admin-shell .admin-form-actions .btn-primary {
    background: var(--admin-gradient-primary) !important;
    border-color: rgba(149, 201, 61, 0.72) !important;
    color: #ffffff !important;
    box-shadow: 0 14px 24px rgba(149, 201, 61, 0.24);
}

body > main .admin-shell .btn-primary:hover,
body > main .admin-shell .btn-primary:focus,
body > main .admin-shell .btn-success:hover,
body > main .admin-shell .btn-success:focus,
body > footer .btn-primary:hover,
body > footer .btn-primary:focus {
    border-color: rgba(124, 171, 44, 0.78) !important;
    color: #ffffff !important;
    filter: brightness(0.97);
    box-shadow: 0 18px 28px rgba(149, 201, 61, 0.28);
}

body > main .admin-shell .btn-dark {
    background: var(--admin-gradient-dark) !important;
    border-color: rgba(47, 49, 51, 0.95) !important;
    color: #ffffff !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

body > main .admin-shell .btn-dark:hover,
body > main .admin-shell .btn-dark:focus {
    filter: brightness(1.04);
    color: #ffffff !important;
}

body > main .admin-shell .btn-secondary,
body > main .admin-shell .btn-outline-secondary,
body > main .admin-shell button:not(.btn):not(.btn-close):not([class^='ql-']):not([class*=' ql-']),
body > main .admin-shell input[type='submit']:not(.btn),
body > main .admin-shell input[type='button']:not(.btn) {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9f8 100%);
    border: 1px solid var(--admin-border);
    color: var(--admin-text);
    box-shadow: var(--admin-shadow-soft);
}

body > main .admin-shell .btn-secondary:hover,
body > main .admin-shell .btn-secondary:focus,
body > main .admin-shell .btn-outline-secondary:hover,
body > main .admin-shell .btn-outline-secondary:focus,
body > main .admin-shell button:not(.btn):not(.btn-close):not([class^='ql-']):not([class*=' ql-']):hover,
body > main .admin-shell button:not(.btn):not(.btn-close):not([class^='ql-']):not([class*=' ql-']):focus,
body > main .admin-shell input[type='submit']:not(.btn):hover,
body > main .admin-shell input[type='submit']:not(.btn):focus,
body > main .admin-shell input[type='button']:not(.btn):hover,
body > main .admin-shell input[type='button']:not(.btn):focus {
    background: #f1f4f2;
    border-color: #cad2d8;
    color: var(--admin-text-strong);
}

body > main .admin-shell .btn-danger,
body > main .admin-shell .btn-outline-danger {
    background: linear-gradient(135deg, #d64545 0%, #ed6d6d 100%) !important;
    border-color: rgba(214, 69, 69, 0.9) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 22px rgba(214, 69, 69, 0.2);
}

body > main .admin-shell .btn-danger:hover,
body > main .admin-shell .btn-danger:focus,
body > main .admin-shell .btn-outline-danger:hover,
body > main .admin-shell .btn-outline-danger:focus {
    background: linear-gradient(135deg, #bb3232 0%, #dd5a5a 100%) !important;
    border-color: rgba(187, 50, 50, 0.9) !important;
    color: #ffffff !important;
}

body > main .admin-shell .btn-outline-primary {
    background: rgba(149, 201, 61, 0.1) !important;
    border-color: rgba(149, 201, 61, 0.24) !important;
    color: #537618 !important;
    box-shadow: none;
}

body > main .admin-shell .btn-outline-primary:hover,
body > main .admin-shell .btn-outline-primary:focus {
    background: rgba(149, 201, 61, 0.18) !important;
    border-color: rgba(149, 201, 61, 0.34) !important;
    color: #355007 !important;
}

body > main .admin-shell .btn-outline-success {
    background: rgba(149, 201, 61, 0.1) !important;
    border-color: rgba(149, 201, 61, 0.24) !important;
    color: #456611 !important;
}

body > main .admin-shell .btn-outline-success:hover,
body > main .admin-shell .btn-outline-success:focus {
    background: rgba(149, 201, 61, 0.18) !important;
    border-color: rgba(149, 201, 61, 0.34) !important;
}

body > main .admin-shell .btn-outline-warning {
    background: rgba(201, 135, 22, 0.08) !important;
    border-color: rgba(201, 135, 22, 0.2) !important;
    color: #8a5a00 !important;
}

body > main .admin-shell .btn-outline-warning:hover,
body > main .admin-shell .btn-outline-warning:focus {
    background: rgba(201, 135, 22, 0.14) !important;
    border-color: rgba(201, 135, 22, 0.28) !important;
}

body > main .admin-shell .btn:focus,
body > footer .btn:focus,
body > main .admin-shell button:focus,
body > main .admin-shell input[type='submit']:focus,
body > main .admin-shell input[type='button']:focus {
    box-shadow: var(--admin-focus-ring);
}

.admin-list-item button:not(.btn) {
    padding: 6px 10px;
    font-size: 0.875rem;
    margin-left: 8px;
}

/* ========================================================================== 
   Forms and Controls
   ========================================================================== */

body > main .admin-shell .form-control,
body > main .admin-shell .form-select,
body > main .admin-shell input[type='text'],
body > main .admin-shell input[type='url'],
body > main .admin-shell input[type='password'],
body > main .admin-shell textarea,
body > main .admin-shell select {
    background: #ffffff;
    color: var(--admin-text);
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius-sm);
    padding: 10px 12px;
    font-size: 14px;
    box-shadow: inset 0 1px 2px rgba(47, 49, 51, 0.03);
}

body > main .admin-shell .form-control::placeholder,
body > main .admin-shell input::placeholder,
body > main .admin-shell textarea::placeholder {
    color: #8a9096;
}

body > main .admin-shell .form-control:focus,
body > main .admin-shell .form-select:focus,
body > main .admin-shell input[type='text']:focus,
body > main .admin-shell input[type='url']:focus,
body > main .admin-shell input[type='password']:focus,
body > main .admin-shell textarea:focus,
body > main .admin-shell select:focus {
    border-color: rgba(149, 201, 61, 0.82);
    box-shadow: var(--admin-focus-ring);
    outline: none;
}

body > main .admin-shell .form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.5rem;
    background-color: #ffffff;
    background-image: var(--bs-form-select-bg-img, none);
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 16px 12px;
}

body > main .admin-shell select:not(.form-select) {
    appearance: auto;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    padding-right: 12px;
    background-image: none;
}

.admin-control {
    width: 100%;
}

.admin-control-wide {
    width: 100%;
    max-width: 720px;
}

.admin-control-medium {
    width: 100%;
    max-width: 420px;
}

.admin-control-error {
    border-color: #c63e3e !important;
    box-shadow: 0 0 0 3px rgba(198, 62, 62, 0.08);
}

.admin-col-checkbox {
    width: 52px;
}


.admin-title-cell .admin-applied-title-link {
    display: inline-block;
    text-decoration: none;
}

.admin-title-cell .admin-applied-title-link:hover,
.admin-title-cell .admin-applied-title-link:focus {
    color: var(--admin-primary-strong);
    text-decoration: none;
}

.admin-title-cell .admin-title-secondary .admin-secondary-linked-title {
    color: #6b7280;
    font-size: 0.92rem;
    font-style: italic;
    font-weight: 400;
}

.admin-title-cell .admin-title-secondary .admin-secondary-linked-title:hover,
.admin-title-cell .admin-title-secondary .admin-secondary-linked-title:focus {
    color: #4b5563;
}

#articles-table .admin-applied-title-cell .admin-applied-title-stack {
    gap: 3px;
}

#articles-table .admin-applied-title-cell .admin-applied-title-link {
    display: inline-block;
    color: var(--admin-text-strong);
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

#articles-table .admin-applied-title-cell .admin-applied-title-link:hover,
#articles-table .admin-applied-title-cell .admin-applied-title-link:focus {
    color: var(--admin-primary-strong);
    text-decoration: none;
}

#articles-table .admin-applied-title-cell .admin-applied-title-link.admin-title-primary-muted {
    color: var(--admin-muted);
}

#articles-table .admin-applied-title-cell .admin-applied-title-secondary {
    color: var(--admin-muted);
    line-height: 1.45;
}

#articles-table .admin-applied-title-cell .admin-applied-title-secondary .admin-secondary-linked-title {
    color: #6b7280;
    font-size: 0.92rem;
    font-style: italic;
    font-weight: 400;
}

#articles-table .admin-applied-title-cell .admin-applied-title-secondary .admin-secondary-linked-title:hover,
#articles-table .admin-applied-title-cell .admin-applied-title-secondary .admin-secondary-linked-title:focus {
    color: #4b5563;
}
.admin-col-title {
    min-width: 320px;
}

.admin-col-url {
    min-width: 280px;
}

.admin-login-card {
    max-width: 420px;
    overflow: hidden;
}

.admin-login-page {
    background:
        radial-gradient(circle at top center, rgba(149, 201, 61, 0.22), transparent 28%),
        radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.08), transparent 30%),
        linear-gradient(135deg, #eef2f0 0%, #f5f7f8 48%, #e8ecef 100%);
}

.admin-login-shell {
    min-height: 100vh;
}

.admin-login-card .card-body {
    position: relative;
}

.admin-login-card .card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--admin-gradient-primary);
}

.admin-login-brand {
    display: inline-flex;
    justify-content: center;
}

.admin-login-brand .admin-brand-mark {
    width: 54px;
    height: 54px;
}

#login-message:empty {
    display: none;
}

#login-message:not(:empty) {
    display: block;
    padding: 12px 14px;
    border: 1px solid #f0c6c6;
    border-radius: var(--admin-radius-sm);
    background: #fff0f0;
    color: #992121;
}

/* ========================================================================== 
   Tables and Data Blocks
   ========================================================================== */

body > main .admin-shell .table-responsive {
    background: #ffffff;
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius);
    box-shadow: var(--admin-shadow);
    overflow: hidden;
}

body > main .admin-shell .table {
    margin-bottom: 0;
    color: var(--admin-text);
}

body > main .admin-shell .table > :not(caption) > * > * {
    padding: 14px 12px;
    border-bottom: 1px solid var(--admin-border-soft);
    vertical-align: middle;
}

body > main .admin-shell .table > thead,
body > main .admin-shell .table > thead th {
    background: linear-gradient(180deg, #f4f7f5 0%, #edf1ef 100%);
}

body > main .admin-shell .table > thead th {
    color: var(--admin-text) !important;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid var(--admin-border);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

body > main .admin-shell .table > tbody > tr {
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

body > main .admin-shell .table > tbody > tr:hover > * {
    background: #f8fbf5;
}

body > main .admin-shell .table-bordered > :not(caption) > * {
    border-width: 0;
}

.admin-table-full {
    width: 100%;
    border-collapse: collapse;
}

.admin-table-col-actions {
    white-space: nowrap;
}

.admin-table-cell-actions {
    white-space: normal;
    width: 1%;
}

.admin-article-sources-table-wrap {
    overflow-x: auto;
}

.admin-article-sources-table {
    width: 100%;
    table-layout: fixed;
}

.admin-article-sources-col-id {
    width: 5%;
    white-space: nowrap;
}

.admin-article-sources-col-name {
    width: 14%;
}

.admin-article-sources-col-url,
.admin-article-sources-cell-url {
    width: 28%;
}

.admin-article-sources-col-pattern {
    width: 14%;
}

.admin-article-sources-col-active {
    width: 5%;
    white-space: nowrap;
}

.admin-article-sources-col-created {
    width: 12%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.admin-article-sources-col-actions,
.admin-article-sources-cell-actions {
    width: 22%;
    white-space: nowrap;
}

.admin-article-sources-cell-url,
.admin-article-sources-col-pattern {
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

.admin-article-sources-cell-actions {
    min-width: 190px;
}

.admin-article-sources-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.admin-article-sources-cell-actions .source-action-button {
    white-space: nowrap;
    flex: 0 0 auto;
}
.admin-sources-table-cell-actions .source-action-button {
    white-space: nowrap;
    flex: 0 0 auto;
}

.admin-action-stack {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.admin-action-stack-vertical {
    width: 100%;
    min-width: 122px;
}

.admin-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 140px;
}

.admin-action-row-vertical {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    min-width: 0;
    width: 100%;
}

.admin-action-row-vertical > .btn,
.admin-action-row-vertical > .admin-inline-form,
.admin-action-row-vertical > .admin-inline-form .btn {
    width: 100%;
}

.admin-action-status-row {
    min-height: 32px;
    max-width: 100%;
}

.admin-inline-form {
    margin: 0;
}

.admin-state-pill {
    display: none;
    align-items: center;
    padding: 0.35rem 0.7rem !important;
    border: 1px solid var(--admin-border);
    border-radius: 10px;
    background: #f3f6f4;
    color: var(--admin-text);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.25;
    width: fit-content;
    max-width: 100%;
}

tr[data-bulk-finalize-state='success'] .admin-state-pill {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #1d4ed8 !important;
}

/* ========================================================================== 
   Result Cards and Page-Specific Blocks
   ========================================================================== */

.admin-result-card {
    padding: 16px;
    margin-bottom: 14px;
    border: 1px solid rgba(217, 222, 227, 0.9);
    border-radius: var(--admin-radius-sm);
    background: linear-gradient(180deg, #ffffff 0%, #fafcfb 100%);
    box-shadow: var(--admin-shadow-soft);
}

.admin-result-card:last-child {
    margin-bottom: 0;
}

.admin-result-title {
    margin-bottom: 8px;
    color: var(--admin-text-strong);
}

.admin-result-meta {
    margin-bottom: 8px;
    color: var(--admin-muted);
}

.admin-result-link-row {
    margin-bottom: 12px;
}

.admin-title-cell {
    min-width: 320px;
}

.admin-title-stack {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.admin-title-primary {
    color: var(--admin-text-strong);
    font-weight: 700;
    line-height: 1.4;
}

.admin-title-primary-muted {
    color: var(--admin-muted);
}

.admin-title-secondary {
    color: var(--admin-muted);
    line-height: 1.45;
}

.admin-title-link {
    color: inherit;
    font-weight: 500;
    text-decoration: none;
}

.admin-title-link:hover,
.admin-title-link:focus {
    color: var(--admin-primary-strong);
    text-decoration: underline;
    text-decoration-color: rgba(149, 201, 61, 0.55);
}

.admin-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px 20px;
    align-items: start;
}

.admin-info-item {
    min-width: 0;
}

.admin-note-card {
    padding: 14px;
    margin-bottom: 14px;
    background: linear-gradient(180deg, #fafcfb 0%, #f5f8f6 100%);
}

.admin-note-card-emphasis {
    background: linear-gradient(135deg, rgba(149, 201, 61, 0.08) 0%, rgba(255, 255, 255, 1) 100%);
}

.admin-note-card-spaced {
    max-width: 720px;
}

.admin-settings-section {
    margin-bottom: 20px;
}

.admin-list-group {
    margin-bottom: 16px;
}

.admin-list-panel {
    border: 1px solid var(--admin-border);
    background: linear-gradient(180deg, #fbfcfb 0%, #f6f8f7 100%);
    border-radius: var(--admin-radius-sm);
    padding: 12px;
    margin-top: 8px;
    margin-bottom: 10px;
}

.admin-list-reset {
    margin: 0;
    padding-left: 20px;
}

.admin-list-item {
    margin-bottom: 8px;
}

.admin-list-item:last-child {
    margin-bottom: 0;
}

/* ========================================================================== 
   Editor and Refine UI
   ========================================================================== */

.admin-editor-surface,
.admin-html-editor {
    height: 400px;
}

.admin-html-editor {
    width: 100%;
}

body > main .admin-shell .ql-toolbar.ql-snow,
body > main .admin-shell .ql-container.ql-snow {
    border-color: var(--admin-border);
}

body > main .admin-shell .ql-toolbar.ql-snow {
    background: linear-gradient(180deg, #f6f8f7 0%, #eef2ef 100%);
    border-top-left-radius: var(--admin-radius-sm);
    border-top-right-radius: var(--admin-radius-sm);
}

body > main .admin-shell .ql-container.ql-snow {
    background: #ffffff;
    border-bottom-left-radius: var(--admin-radius-sm);
    border-bottom-right-radius: var(--admin-radius-sm);
}

body > main .admin-shell .ql-editor {
    color: var(--admin-text);
    font-family: inherit;
    line-height: 1.65;
}

body > main .admin-shell .ql-toolbar.ql-snow button,
body > main .admin-shell .ql-toolbar.ql-snow .ql-picker-label {
    padding: 3px 5px;
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

body > main .admin-shell .ql-toolbar.ql-snow button:hover,
body > main .admin-shell .ql-toolbar.ql-snow button:focus,
body > main .admin-shell .ql-toolbar.ql-snow .ql-picker-label:hover,
body > main .admin-shell .ql-toolbar.ql-snow .ql-picker-label:focus {
    transform: none;
    background: transparent;
    box-shadow: none;
}

body > main .admin-shell .ql-snow .ql-stroke {
    stroke: #444f57 !important;
}

body > main .admin-shell .ql-snow .ql-fill {
    fill: #444f57 !important;
}

body > main .admin-shell .ql-snow .ql-picker,
body > main .admin-shell .ql-snow .ql-picker-label,
body > main .admin-shell .ql-snow .ql-picker-item {
    color: var(--admin-text) !important;
}

body > main .admin-shell .ql-snow .ql-picker-options {
    background: #ffffff;
    border-color: var(--admin-border);
    box-shadow: var(--admin-shadow-soft);
}

body > main .admin-shell .ql-snow .ql-picker svg,
body > main .admin-shell .ql-snow button svg {
    display: block;
}

body > main .admin-shell .ql-snow .ql-picker-label::before,
body > main .admin-shell .ql-snow .ql-picker-item::before {
    color: inherit !important;
}

body > main .admin-shell .ql-snow .ql-picker-label:hover,
body > main .admin-shell .ql-snow .ql-picker-label.ql-active,
body > main .admin-shell .ql-snow .ql-picker-item:hover,
body > main .admin-shell .ql-snow .ql-picker-item.ql-selected,
body > main .admin-shell .ql-snow .ql-stroke:hover,
body > main .admin-shell .ql-snow .ql-active .ql-stroke,
body > main .admin-shell .ql-snow .ql-fill:hover,
body > main .admin-shell .ql-snow .ql-active .ql-fill {
    color: var(--admin-primary-strong) !important;
    stroke: var(--admin-primary-strong) !important;
    fill: var(--admin-primary-strong) !important;
}

.admin-refine-results {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid var(--admin-border);
    background: linear-gradient(180deg, #fbfcfb 0%, #f4f8ee 100%);
    border-radius: var(--admin-radius-sm);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.admin-refine-results-inline {
    max-width: 720px;
}

.admin-refine-heading {
    font-weight: 700;
    margin-bottom: 10px;
}

.admin-refine-section {
    margin-bottom: 12px;
}

.admin-refine-section:last-child {
    margin-bottom: 0;
}

.admin-refine-section-title {
    font-weight: 700;
    margin-bottom: 8px;
}

.admin-refine-option {
    padding: 10px 0;
}

.admin-refine-option-bordered {
    border-top: 1px solid var(--admin-border);
}

.admin-refine-option-label {
    font-weight: 700;
    margin-bottom: 6px;
}

.admin-refine-option-text {
    margin-bottom: 8px;
    line-height: 1.5;
}

#tagsContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 18px;
}

#tagsContainer .badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 0.35rem 0.65rem !important;
    font-size: 0.875rem !important;
    font-weight: 600;
    line-height: 1.2;
    border-radius: 999px !important;
}

#tagsContainer .badge .btn-close {
    flex: 0 0 auto;
    width: 0.7rem;
    height: 0.7rem;
    padding: 0;
    margin: 0 0 0 0.1rem;
    background: transparent var(--bs-btn-close-bg) center / 0.7rem auto no-repeat !important;
    border: 0;
    border-radius: 0;
    opacity: 0.95 !important;
    box-shadow: none !important;
}

#tagsContainer .badge .btn-close.btn-close-white {
    filter: var(--bs-btn-close-white-filter, invert(1) grayscale(100%) brightness(200%));
}

#tagsContainer .badge .btn-close:hover,
#tagsContainer .badge .btn-close:focus {
    opacity: 1 !important;
    transform: none;
}

/* ========================================================================== 
   Badges and Pills
   ========================================================================== */

.admin-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px !important;
    padding: 5px 10px !important;
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: 0.01em;
    border: 1px solid transparent !important;
    box-shadow: none !important;
}

.admin-status-badge.status-pending,
body > main .admin-shell [data-role='status-badge'][data-status='pending'] {
    background: #eff2f4;
    border-color: #d7dde2 !important;
    color: #4a4d50;
}

.admin-status-badge.status-ready,
body > main .admin-shell [data-role='status-badge'][data-status='ready'] {
    background: #ecf7d8;
    border-color: #cbe39b !important;
    color: #456611;
}

.admin-status-badge.status-done,
body > main .admin-shell [data-role='status-badge'][data-status='done'] {
    background: #e3e6e9;
    border-color: #c9ced4 !important;
    color: #2f3133;
}

body > main .admin-shell .badge.text-bg-success {
    background: #ecf7d8 !important;
    border-color: #cbe39b !important;
    color: #456611 !important;
}

body > main .admin-shell .badge.text-bg-secondary {
    background: #eff2f4 !important;
    border-color: #d7dde2 !important;
    color: #4a4d50 !important;
}

body > main .admin-shell .badge.bg-primary {
    background: var(--admin-gradient-primary) !important;
    color: #ffffff !important;
    border-color: rgba(149, 201, 61, 0.35) !important;
}

/* ========================================================================== 
   Pagination and Borders
   ========================================================================== */

body > main .admin-shell .pagination {
    gap: 6px;
}

body > main .admin-shell .page-link {
    border-radius: 10px !important;
    border-color: var(--admin-border) !important;
    color: var(--admin-text);
    padding: 8px 12px;
    background: #ffffff;
    box-shadow: var(--admin-shadow-soft);
}

body > main .admin-shell .page-link:hover,
body > main .admin-shell .page-link:focus {
    background: rgba(149, 201, 61, 0.12);
    border-color: rgba(149, 201, 61, 0.24) !important;
    color: var(--admin-primary-strong);
}

body > main .admin-shell .page-item.active .page-link {
    background: var(--admin-gradient-primary);
    border-color: rgba(149, 201, 61, 0.55);
    color: #ffffff;
    box-shadow: 0 12px 22px rgba(149, 201, 61, 0.22);
}

body > main .admin-shell hr,
body > main .admin-shell .border,
body > main .admin-shell .border-top,
body > main .admin-shell .border-bottom,
body > main .admin-shell .border-start,
body > main .admin-shell .border-end {
    border-color: var(--admin-border) !important;
}

/* ========================================================================== 
   Responsive
   ========================================================================== */

@media (max-width: 991.98px) {
    body > nav.navbar.admin-navbar .navbar-nav {
        width: 100%;
    }

    body > nav.navbar.admin-navbar .nav-link {
        padding: 0.55rem 0.85rem;
    }

    .admin-footer-shell {
        justify-content: center !important;
    }
}

@media (max-width: 575.98px) {
    .admin-brand-mark {
        width: 40px;
        height: 40px;
    }

    .admin-brand-title {
        font-size: 1rem;
    }

    .admin-panel,
    .admin-summary-panel,
    .admin-toolbar,
    .admin-feedback {
        padding: 14px;
    }

    body > main .admin-shell .table > :not(caption) > * > * {
        padding: 12px 10px;
    }
}
/* ========================================================================== 
   Dashboard
   ========================================================================== */

.dashboard-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dashboard-section {
    position: relative;
    padding: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #ffffff 100%);
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    box-shadow: var(--admin-shadow);
    overflow: hidden;
}

.dashboard-section::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(149, 201, 61, 0) 0%, rgba(149, 201, 61, 0.56) 26%, rgba(163, 210, 51, 0.88) 50%, rgba(149, 201, 61, 0) 100%);
}

.dashboard-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.dashboard-section-text {
    max-width: 680px;
    color: var(--admin-muted);
}

.dashboard-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, #ffffff 58%, rgba(237, 246, 218, 0.88) 100%);
}

.dashboard-hero::after {
    content: '';
    position: absolute;
    right: -64px;
    top: -64px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(149, 201, 61, 0.16) 0%, rgba(149, 201, 61, 0) 72%);
    pointer-events: none;
}

.dashboard-hero-copy,
.dashboard-hero-side {
    position: relative;
    z-index: 1;
}

.dashboard-hero-copy {
    max-width: 760px;
}

.dashboard-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--admin-primary-strong);
}

.dashboard-intro {
    max-width: 720px;
    font-size: 1.02rem;
    color: var(--admin-muted);
}

.dashboard-hero-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.dashboard-hero-chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.6rem 0.95rem;
    border: 1px solid rgba(149, 201, 61, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--admin-text);
    font-size: 0.92rem;
    font-weight: 600;
    box-shadow: var(--admin-shadow-soft);
}

.dashboard-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.dashboard-kpi-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 176px;
    padding: 22px;
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbf8 100%);
    box-shadow: var(--admin-shadow-soft);
    overflow: hidden;
}

.dashboard-kpi-card::after {
    content: '';
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(149, 201, 61, 0.12) 0%, rgba(149, 201, 61, 0) 72%);
    pointer-events: none;
}

.dashboard-kpi-card-primary {
    border-color: rgba(149, 201, 61, 0.28);
}

.dashboard-kpi-card-success {
    border-color: rgba(149, 201, 61, 0.24);
    background: linear-gradient(180deg, #ffffff 0%, #f6fbef 100%);
}

.dashboard-kpi-card-dark {
    border-color: rgba(47, 49, 51, 0.16);
    background: linear-gradient(180deg, #ffffff 0%, #f3f5f6 100%);
}

.dashboard-kpi-accent {
    display: block;
    width: 48px;
    height: 4px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: var(--admin-gradient-primary);
}

.dashboard-kpi-card-neutral .dashboard-kpi-accent {
    background: linear-gradient(90deg, #6d747b 0%, #b0b6bc 100%);
}

.dashboard-kpi-card-dark .dashboard-kpi-accent {
    background: var(--admin-gradient-dark);
}

.dashboard-kpi-label {
    max-width: 15rem;
    color: var(--admin-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.5;
    text-transform: uppercase;
}

.dashboard-kpi-value {
    margin: 14px 0 10px;
    color: var(--admin-text-strong);
    font-size: clamp(2.15rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1;
}

.dashboard-kpi-footnote {
    color: var(--admin-muted);
    font-size: 0.92rem;
}

.dashboard-stat-list {
    display: grid;
    gap: 12px;
}

.dashboard-stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border: 1px solid var(--admin-border);
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfcfb 0%, #f7faf7 100%);
    box-shadow: 0 10px 24px rgba(47, 49, 51, 0.06);
}

.dashboard-stat-row.is-empty {
    background: linear-gradient(180deg, #fbfcfb 0%, #f8fafb 100%);
}

.dashboard-stat-copy {
    min-width: 0;
}

.dashboard-stat-title {
    color: var(--admin-text-strong);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.dashboard-stat-meta {
    margin-top: 4px;
    color: var(--admin-muted);
    line-height: 1.45;
}

.dashboard-stat-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: var(--admin-gradient-primary);
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 12px 24px rgba(149, 201, 61, 0.2);
}

.dashboard-stat-row.is-empty .dashboard-stat-badge {
    background: linear-gradient(135deg, #dfe4e8 0%, #c9d0d6 100%);
    color: var(--admin-text);
    box-shadow: none;
}

.dashboard-empty-state {
    padding: 28px;
    border: 1px dashed #cbd3d9;
    border-radius: 16px;
    background: linear-gradient(180deg, #fbfcfb 0%, #f6f8f7 100%);
    color: var(--admin-muted);
}

.dashboard-empty-title {
    margin-bottom: 8px;
    color: var(--admin-text-strong);
    font-size: 1rem;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .dashboard-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-hero-side {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 575.98px) {
    .dashboard-section,
    .dashboard-hero {
        padding: 18px;
    }

    .dashboard-kpi-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-stat-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========================================================================== 
   Dashboard Rendering Debug Step
   ========================================================================== */

body > main .admin-shell .card-body > h1.mb-0:only-child {
    position: relative;
    display: block;
    margin: 0;
    color: transparent;
    font-size: 0;
    line-height: 0;
}

body > main .admin-shell .card-body > h1.mb-0:only-child::after {
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: 1440 / 900;
    border: 1px solid var(--admin-border);
    border-radius: 18px;
    background-color: #ffffff;
    background-image: url('../../admin/dashboard.php?render=svg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
    box-shadow: var(--admin-shadow);
}

.dashboard-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dashboard-header,
.dashboard-section {
    position: relative;
    padding: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #ffffff 100%);
    border: 1px solid var(--admin-border);
    border-radius: 18px;
    box-shadow: var(--admin-shadow);
}

.dashboard-header::before,
.dashboard-section::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(149, 201, 61, 0) 0%, rgba(149, 201, 61, 0.58) 28%, rgba(163, 210, 51, 0.88) 50%, rgba(149, 201, 61, 0) 100%);
}

.dashboard-eyebrow {
    color: var(--admin-primary-strong);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.dashboard-helper {
    max-width: 760px;
    color: var(--admin-muted);
    font-size: 1rem;
}

.dashboard-section-top {
    margin-bottom: 18px;
}

.dashboard-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
}

.dashboard-kpi-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 168px;
    padding: 20px;
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbf6 100%);
    box-shadow: var(--admin-shadow-soft);
    overflow: hidden;
}

.dashboard-kpi-card::after {
    content: '';
    position: absolute;
    right: -22px;
    bottom: -22px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(149, 201, 61, 0.14) 0%, rgba(149, 201, 61, 0) 72%);
    pointer-events: none;
}

.dashboard-kpi-accent {
    display: block;
    width: 48px;
    height: 4px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: var(--admin-gradient-primary);
}

.dashboard-kpi-label {
    color: var(--admin-muted);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    line-height: 1.5;
    text-transform: uppercase;
}

.dashboard-kpi-value {
    margin: 14px 0 10px;
    color: var(--admin-text-strong);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
}

.dashboard-kpi-note {
    color: var(--admin-muted);
    font-size: 0.92rem;
}

.dashboard-empty-state {
    padding: 26px;
    border: 1px dashed #cbd3d9;
    border-radius: 16px;
    background: linear-gradient(180deg, #fbfcfb 0%, #f6f8f7 100%);
    color: var(--admin-muted);
}

.dashboard-empty-title {
    margin-bottom: 8px;
    color: var(--admin-text-strong);
    font-size: 1rem;
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .dashboard-header,
    .dashboard-section {
        padding: 18px;
    }

    .dashboard-kpi-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================================================== 
   Dashboard Live Page
   ========================================================================== */

.dashboard-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dashboard-header,
.dashboard-section {
    position: relative;
    padding: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #ffffff 100%);
    border: 1px solid var(--admin-border);
    border-radius: 18px;
    box-shadow: var(--admin-shadow);
}

.dashboard-header::before,
.dashboard-section::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(149, 201, 61, 0) 0%, rgba(149, 201, 61, 0.58) 28%, rgba(163, 210, 51, 0.88) 50%, rgba(149, 201, 61, 0) 100%);
}

.dashboard-header {
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, #ffffff 58%, rgba(237, 246, 218, 0.88) 100%);
}

.dashboard-header::after {
    content: '';
    position: absolute;
    right: -68px;
    top: -68px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(149, 201, 61, 0.16) 0%, rgba(149, 201, 61, 0) 72%);
    pointer-events: none;
}

.dashboard-header > * {
    position: relative;
    z-index: 1;
}

.dashboard-eyebrow {
    color: var(--admin-primary-strong);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.dashboard-helper {
    max-width: 760px;
    color: var(--admin-muted);
    font-size: 1rem;
}

.dashboard-section-top {
    margin-bottom: 18px;
}

.dashboard-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.dashboard-kpi-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 176px;
    padding: 22px;
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbf6 100%);
    box-shadow: var(--admin-shadow-soft);
    overflow: hidden;
}

.dashboard-kpi-card::after {
    content: '';
    position: absolute;
    right: -22px;
    bottom: -22px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(149, 201, 61, 0.14) 0%, rgba(149, 201, 61, 0) 72%);
    pointer-events: none;
}

.dashboard-kpi-card-primary {
    border-color: rgba(149, 201, 61, 0.28);
}

.dashboard-kpi-card-success {
    border-color: rgba(149, 201, 61, 0.24);
    background: linear-gradient(180deg, #ffffff 0%, #f6fbef 100%);
}

.dashboard-kpi-card-dark {
    border-color: rgba(47, 49, 51, 0.16);
    background: linear-gradient(180deg, #ffffff 0%, #f3f5f6 100%);
}

.dashboard-kpi-accent {
    display: block;
    width: 48px;
    height: 4px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: var(--admin-gradient-primary);
}

.dashboard-kpi-card-neutral .dashboard-kpi-accent {
    background: linear-gradient(90deg, #6d747b 0%, #b0b6bc 100%);
}

.dashboard-kpi-card-dark .dashboard-kpi-accent {
    background: var(--admin-gradient-dark);
}

.dashboard-kpi-label {
    color: var(--admin-muted);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    line-height: 1.5;
    text-transform: uppercase;
}

.dashboard-kpi-value {
    margin: 14px 0 10px;
    color: var(--admin-text-strong);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
}

.dashboard-kpi-note {
    color: var(--admin-muted);
    font-size: 0.92rem;
}

.dashboard-stat-list {
    display: grid;
    gap: 12px;
}

.dashboard-stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border: 1px solid var(--admin-border);
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfcfb 0%, #f7faf7 100%);
    box-shadow: 0 10px 24px rgba(47, 49, 51, 0.06);
}

.dashboard-stat-row.is-empty {
    background: linear-gradient(180deg, #fbfcfb 0%, #f8fafb 100%);
}

.dashboard-stat-copy {
    min-width: 0;
}

.dashboard-stat-title {
    color: var(--admin-text-strong);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.dashboard-stat-meta {
    margin-top: 4px;
    color: var(--admin-muted);
    line-height: 1.45;
}

.dashboard-stat-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: var(--admin-gradient-primary);
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 12px 24px rgba(149, 201, 61, 0.2);
}

.dashboard-stat-row.is-empty .dashboard-stat-badge {
    background: linear-gradient(135deg, #dfe4e8 0%, #c9d0d6 100%);
    color: var(--admin-text);
    box-shadow: none;
}

.dashboard-empty-state {
    padding: 26px;
    border: 1px dashed #cbd3d9;
    border-radius: 16px;
    background: linear-gradient(180deg, #fbfcfb 0%, #f6f8f7 100%);
    color: var(--admin-muted);
}

.dashboard-empty-title {
    margin-bottom: 8px;
    color: var(--admin-text-strong);
    font-size: 1rem;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .dashboard-stat-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .dashboard-header,
    .dashboard-section {
        padding: 18px;
    }

    .dashboard-kpi-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================================================== 
   Feed Scheduler And Dashboard Notices
   ========================================================================== */

.dashboard-notice-list {
    display: grid;
    gap: 14px;
}

.dashboard-notice-row {
    padding: 18px 20px;
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfa 100%);
    box-shadow: var(--admin-shadow-soft);
}

.dashboard-notice-topline {
    display: flex;
    align-items: center;
    gap: 10px 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.dashboard-notice-badge,
.dashboard-notice-context,
.dashboard-notice-time,
.feed-scheduler-order-badge,
.feed-scheduler-frequency-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
}

.dashboard-notice-badge,
.feed-scheduler-order-badge,
.feed-scheduler-frequency-chip {
    background: var(--admin-gradient-primary);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(149, 201, 61, 0.2);
}

.dashboard-notice-context {
    background: #f3f5f6;
    color: var(--admin-text);
    border: 1px solid var(--admin-border);
}

.dashboard-notice-time {
    background: rgba(47, 49, 51, 0.06);
    color: var(--admin-muted);
}

.dashboard-notice-title {
    margin: 0 0 8px;
    color: var(--admin-text-strong);
    font-size: 1rem;
    font-weight: 700;
}

.dashboard-notice-text {
    color: var(--admin-text);
    line-height: 1.6;
}

.feed-scheduler-list {
    display: grid;
    gap: 16px;
}

.feed-scheduler-card {
    padding: 18px 20px;
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfa 100%);
    box-shadow: var(--admin-shadow-soft);
}

.feed-scheduler-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.feed-scheduler-card-title {
    color: var(--admin-text-strong);
    font-size: 1rem;
    font-weight: 700;
}

.feed-scheduler-card-subtitle {
    color: var(--admin-muted);
    line-height: 1.5;
}

.feed-scheduler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.feed-scheduler-item,
.feed-scheduler-error-box {
    padding: 14px;
    border: 1px solid var(--admin-border-soft);
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfcfb 0%, #f6f8f7 100%);
}

.feed-scheduler-label {
    display: block;
    margin-bottom: 6px;
    color: var(--admin-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feed-scheduler-value {
    color: var(--admin-text-strong);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.4;
}

.feed-scheduler-error-text {
    color: var(--admin-text);
    line-height: 1.55;
    overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
    .dashboard-notice-row,
    .feed-scheduler-card {
        padding: 16px;
    }

    .feed-scheduler-card-top {
        flex-direction: column;
        align-items: flex-start;
    }
}
.feed-page-header,
.feed-section-primary,
.feed-section-secondary {
    position: relative;
    overflow: hidden;
}

.feed-page-header {
    padding: 22px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, #ffffff 62%, rgba(237, 246, 218, 0.82) 100%);
    border: 1px solid var(--admin-border);
    border-radius: 18px;
    box-shadow: var(--admin-shadow);
}

.feed-page-header::before,
.feed-section-primary::before,
.feed-section-secondary::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(149, 201, 61, 0) 0%, rgba(149, 201, 61, 0.58) 28%, rgba(163, 210, 51, 0.88) 50%, rgba(149, 201, 61, 0) 100%);
}

.feed-page-heading,
.feed-section-heading > div:first-child {
    max-width: 780px;
}

.feed-page-top-actions {
    min-width: 240px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.feed-page-message {
    margin-bottom: 20px;
}

.feed-page-status-line {
    color: var(--admin-muted);
    font-size: 0.92rem;
    line-height: 1.4;
}

.feed-page-header .admin-secondary-linked-title,
.feed-section-primary .admin-secondary-linked-title {
    color: #6b7280;
    font-size: 0.92rem;
    font-style: italic;
    font-weight: 400;
}

.feed-page-header .admin-secondary-linked-title:hover,
.feed-page-header .admin-secondary-linked-title:focus,
.feed-section-primary .admin-secondary-linked-title:hover,
.feed-section-primary .admin-secondary-linked-title:focus {
    color: #4b5563;
}

.feed-section-primary {
    padding: 24px;
    border-color: rgba(149, 201, 61, 0.22);
    box-shadow: 0 18px 34px rgba(47, 49, 51, 0.08);
}

.feed-section-secondary {
    padding: 22px;
    background: linear-gradient(180deg, #fcfdfc 0%, #f8faf9 100%);
    box-shadow: var(--admin-shadow-soft);
}

.feed-section-secondary::before {
    opacity: 0.55;
}

.feed-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px 20px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.feed-section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    min-height: 32px;
    padding: 0.35rem 0.82rem;
    border-radius: 999px;
    background: var(--admin-gradient-primary);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(149, 201, 61, 0.18);
}

.feed-section-kicker-muted {
    background: rgba(47, 49, 51, 0.08);
    border: 1px solid rgba(47, 49, 51, 0.08);
    color: var(--admin-text);
    box-shadow: none;
}

.feed-section-subtext {
    max-width: 760px;
    color: var(--admin-muted);
}

.feed-section-metric {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(149, 201, 61, 0.1);
    border: 1px solid rgba(149, 201, 61, 0.18);
    color: #456611;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.feed-items-filter-bar {
    margin-bottom: 18px;
}

.feed-items-selection-bar {
    padding: 14px 16px;
    border: 1px solid var(--admin-border-soft);
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfcfb 0%, #f7faf7 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.feed-items-table-wrap {
    border-radius: 16px;
}

.feed-scheduler-panel.feed-section-secondary .feed-scheduler-summary-card,
.feed-scheduler-panel.feed-section-secondary .feed-scheduler-item,
.feed-scheduler-panel.feed-section-secondary .feed-scheduler-url-box,
.feed-scheduler-panel.feed-section-secondary .feed-scheduler-error-box {
    background: linear-gradient(180deg, #fcfdfc 0%, #f7faf8 100%);
}

.feed-scheduler-panel.feed-section-secondary .feed-scheduler-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8faf9 100%);
}

@media (max-width: 767.98px) {
    .feed-page-header,
    .feed-section-primary,
    .feed-section-secondary {
        padding: 18px;
    }

    .feed-page-top-actions {
        width: 100%;
        align-items: flex-start;
    }

    .feed-section-metric {
        align-self: flex-start;
    }
}
.feed-scheduler-panel,
.dashboard-notices-panel {
    position: relative;
}

.admin-empty-state {
    padding: 26px;
    border: 1px dashed #cbd3d9;
    border-radius: 16px;
    background: linear-gradient(180deg, #fbfcfb 0%, #f6f8f7 100%);
    color: var(--admin-muted);
}

.feed-scheduler-grid {
    display: grid;
    gap: 16px;
}

.feed-scheduler-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.dashboard-notice-item {
    position: relative;
}
/* ========================================================================== 
   Feed Scheduler Runner Foundation
   ========================================================================== */

.feed-scheduler-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.feed-scheduler-card-highlight {
    border-color: rgba(149, 201, 61, 0.34);
    box-shadow: 0 16px 28px rgba(149, 201, 61, 0.12);
}

.feed-scheduler-card-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.feed-scheduler-next-badge,
.feed-scheduler-state-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
}

.feed-scheduler-next-badge {
    background: rgba(47, 49, 51, 0.08);
    border: 1px solid rgba(47, 49, 51, 0.1);
    color: var(--admin-text);
}

.feed-scheduler-state-pill.is-due {
    background: rgba(149, 201, 61, 0.14);
    border: 1px solid rgba(149, 201, 61, 0.3);
    color: #456611;
}

.feed-scheduler-state-pill.is-scheduled {
    background: rgba(47, 49, 51, 0.08);
    border: 1px solid rgba(47, 49, 51, 0.1);
    color: var(--admin-text);
}

.feed-scheduler-state-pill.is-retry {
    background: rgba(201, 135, 22, 0.12);
    border: 1px solid rgba(201, 135, 22, 0.24);
    color: #8a5a00;
}

.feed-scheduler-state-pill.is-idle {
    background: rgba(109, 116, 123, 0.1);
    border: 1px solid rgba(109, 116, 123, 0.16);
    color: #4f565d;
}

.feed-scheduler-url-box {
    margin-bottom: 12px;
    padding: 14px;
    border: 1px solid var(--admin-border-soft);
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfcfb 0%, #f6f8f7 100%);
}

.feed-scheduler-url-link {
    display: block;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.feed-scheduler-error-box.is-clear {
    background: linear-gradient(180deg, #fbfcfb 0%, #f8fafb 100%);
}

@media (max-width: 575.98px) {
    .feed-scheduler-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .feed-scheduler-state-pill {
        align-self: flex-start;
    }
}
/* ========================================================================== 
   Feed Scheduler Distributed Slots
   ========================================================================== */

.feed-scheduler-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.feed-scheduler-summary-card {
    padding: 14px 16px;
    border: 1px solid var(--admin-border-soft);
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfcfb 0%, #f6f8f7 100%);
}

.feed-scheduler-summary-value {
    display: block;
    color: var(--admin-text-strong);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.feed-scheduler-next-run-box {
    margin-bottom: 12px;
    padding: 18px 20px;
    border: 1px solid rgba(149, 201, 61, 0.22);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(237, 246, 218, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.feed-scheduler-next-run-box.is-empty {
    border-color: var(--admin-border-soft);
    background: linear-gradient(180deg, #fbfcfb 0%, #f8fafb 100%);
}

.feed-scheduler-next-run-value {
    color: var(--admin-text-strong);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.feed-scheduler-next-run-note {
    margin-top: 8px;
    color: var(--admin-muted);
    line-height: 1.5;
}

.feed-scheduler-meta .feed-scheduler-item {
    min-height: 100%;
}

@media (max-width: 575.98px) {
    .feed-scheduler-next-run-box {
        padding: 16px;
    }
}
/* ========================================================================== 
   Admin Notices
   ========================================================================== */

.admin-notices-wrap {
    display: grid;
    gap: 12px;
}

.admin-notice {
    position: relative;
    padding: 14px 48px 14px 16px;
    border: 1px solid var(--admin-border);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(47, 49, 51, 0.08);
}

.admin-notice-success {
    border-color: rgba(89, 156, 54, 0.3);
    background: #f4fbef;
}

.admin-notice-error {
    border-color: rgba(214, 69, 69, 0.28);
    background: #fff4f4;
}

.admin-notice-warning {
    border-color: rgba(201, 135, 22, 0.28);
    background: #fff9ef;
}

.admin-notice-info {
    border-color: rgba(45, 104, 173, 0.2);
    background: #f4f8fd;
}

.admin-notice-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid rgba(47, 49, 51, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--admin-text);
    font-size: 1.1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.admin-notice-close:hover,
.admin-notice-close:focus {
    background: rgba(47, 49, 51, 0.08);
    border-color: rgba(47, 49, 51, 0.18);
    color: var(--admin-text-strong);
}

.admin-notice-meta {
    display: flex;
    align-items: center;
    gap: 8px 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
    color: var(--admin-muted);
    font-size: 0.82rem;
}

.admin-notice-type {
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-notice-title {
    margin: 0 0 6px;
    color: var(--admin-text-strong);
    font-size: 1rem;
    font-weight: 700;
}

.admin-notice-message {
    color: var(--admin-text);
    line-height: 1.55;
}

@media (max-width: 575.98px) {
    .admin-notice {
        padding-right: 42px;
    }
}
/* ========================================================================== 
   Dashboard Scheduler Status
   ========================================================================== */

.dashboard-scheduler {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, #ffffff 100%);
}

.dashboard-scheduler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}

.dashboard-scheduler-item {
    padding: 18px 20px;
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfa 100%);
    box-shadow: var(--admin-shadow-soft);
}

.dashboard-scheduler-item.is-next-run {
    border-color: rgba(149, 201, 61, 0.28);
    background: linear-gradient(180deg, #ffffff 0%, #f5fbe9 100%);
}

.dashboard-scheduler-item.is-error {
    border-color: rgba(214, 69, 69, 0.2);
    background: linear-gradient(180deg, #ffffff 0%, #fff7f7 100%);
}

.dashboard-scheduler-item-wide {
    grid-column: 1 / -1;
}

.dashboard-scheduler-label {
    color: var(--admin-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.5;
    text-transform: uppercase;
}

.dashboard-scheduler-value {
    margin-top: 10px;
    color: var(--admin-text-strong);
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

.dashboard-scheduler-value-text {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.5;
}

@media (max-width: 575.98px) {
    .dashboard-scheduler-item {
        padding: 16px;
    }
}
/* ========================================================================== 
   Article Image Picker
   ========================================================================== */

.admin-article-image-section {
    width: 100%;
    max-width: none;
}

.admin-article-image-section .admin-panel-title,
.admin-article-image-section .admin-panel-text,
.admin-article-image-section .admin-form-group,
.admin-article-image-section .admin-inline-actions,
.admin-article-image-section .admin-note-card,
.admin-article-image-section .admin-article-image-results {
    max-width: none;
}

.admin-article-image-keyword-group {
    margin-bottom: 14px;
}
.admin-article-image-feedback {
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid var(--admin-border);
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfcfb 0%, #f7faf7 100%);
    color: var(--admin-text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.admin-article-image-feedback.is-info {
    border-color: #d5dde2;
    background: #f2f6f4;
}

.admin-article-image-feedback.is-success {
    border-color: #cfe6a6;
    background: #f1f9e4;
    color: #3a5f0b;
}

.admin-article-image-feedback.is-error {
    border-color: #f0c6c6;
    background: #fff0f0;
    color: #992121;
}

.admin-article-image-upload-wrap {
    margin-bottom: 1.5rem;
}

.admin-article-image-upload-dropzone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    width: 100%;
    min-height: 320px;
    padding: 2rem;
    border: 2px dashed rgba(15, 23, 42, 0.16);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 14px 34px rgba(15, 23, 42, 0.05);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.admin-article-image-upload-dropzone:hover,
.admin-article-image-upload-dropzone:focus {
    border-color: rgba(13, 110, 253, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 18px 40px rgba(13, 110, 253, 0.08);
    outline: none;
}

.admin-article-image-upload-dropzone.is-dragover {
    border-color: rgba(13, 110, 253, 0.8);
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.96) 0%, rgba(219, 234, 254, 0.88) 100%);
    transform: translateY(-1px);
}

.admin-article-image-upload-dropzone.is-uploading {
    border-style: solid;
    border-color: rgba(13, 110, 253, 0.55);
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.98) 0%, rgba(243, 248, 255, 0.94) 100%);
    cursor: progress;
}

.admin-article-image-upload-dropzone.is-success {
    border-style: solid;
    border-color: rgba(25, 135, 84, 0.55);
    background: linear-gradient(180deg, rgba(240, 253, 244, 0.98) 0%, rgba(236, 253, 245, 0.94) 100%);
}

.admin-article-image-upload-dropzone.is-error {
    border-style: solid;
    border-color: rgba(220, 53, 69, 0.5);
    background: linear-gradient(180deg, rgba(255, 245, 245, 0.98) 0%, rgba(255, 241, 242, 0.94) 100%);
}

.admin-article-image-upload-dropzone.is-busy {
    pointer-events: none;
    opacity: 0.82;
}

.admin-article-image-upload-dropzone[aria-disabled='true'] {
    cursor: progress;
}

.admin-article-image-upload-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, 0.08);
    color: #0d6efd;
    font-size: 2rem;
    font-weight: 700;
}

.admin-article-image-upload-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
}

.admin-article-image-upload-subtitle {
    max-width: 540px;
    color: #475569;
    line-height: 1.6;
}

.admin-article-image-upload-meta {
    max-width: 620px;
    color: #64748b;
    font-size: 0.9rem;
}

.admin-article-image-action-note {
    flex: 1 1 280px;
    color: var(--admin-muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.admin-selected-image-layout {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.admin-selected-image-meta {
    flex: 1 1 320px;
    min-width: 0;
}

.admin-selected-image-preview {
    flex: 0 0 220px;
    width: 220px;
    max-width: 100%;
}

.admin-selected-image-preview-box {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: #f8f9fa;
    padding: 0.5rem;
}

.admin-selected-image-preview-frame {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-selected-image-preview-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.admin-selected-image-preview-note,
.admin-article-image-summary-note {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.admin-article-image-provider-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    max-width: calc(100% - 1.5rem);
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.12);
    color: #1f2937;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}


.admin-article-image-controls-row {
    align-items: end;
    margin-bottom: 12px;
}

.admin-article-image-actions {
    align-items: center;
    justify-content: space-between;
    gap: 10px 14px;
    margin-bottom: 0;
}

.admin-article-image-search-btn {
    min-width: 108px;
}

.admin-article-image-summary,
.admin-article-image-results {
    width: 100%;
}

.admin-article-image-results-shell {
    display: grid;
    gap: 16px;
}

.admin-article-image-grid {
    align-items: stretch;
}

.admin-article-image-card {
    position: relative;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #ffffff 100%);
    border: 1px solid rgba(217, 222, 227, 0.9);
    box-shadow: 0 14px 28px rgba(47, 49, 51, 0.08);
}

.admin-article-image-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(180deg, #eef2f3 0%, #dfe6e9 100%);
}

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

.admin-article-image-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.08) 0%, rgba(17, 24, 39, 0.62) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.admin-article-image-card:hover .admin-article-image-card-overlay,
.admin-article-image-card:focus-within .admin-article-image-card-overlay {
    opacity: 1;
}

.admin-article-image-card:hover .admin-article-image-card-img,
.admin-article-image-card:focus-within .admin-article-image-card-img {
    transform: scale(1.03);
    filter: saturate(1.02);
}

.admin-article-image-card-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.admin-article-image-card-preview,
.admin-article-image-card-select {
    min-width: 116px;
    border-radius: 999px !important;
    box-shadow: 0 18px 30px rgba(17, 24, 39, 0.22) !important;
}

.admin-article-image-pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    flex-wrap: wrap;
    padding: 14px 16px;
    border: 1px solid var(--admin-border-soft);
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfcfb 0%, #f7faf7 100%);
}

.admin-article-image-pagination-summary {
    color: var(--admin-muted);
    font-size: 0.92rem;
}

.admin-article-image-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

body > main .admin-shell .admin-article-image-page-btn {
    min-width: 42px;
    padding: 0.5rem 0.8rem;
    box-shadow: none;
}

body > main .admin-shell .admin-article-image-page-btn.is-active {
    background: var(--admin-gradient-primary) !important;
    border-color: rgba(149, 201, 61, 0.72) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(149, 201, 61, 0.18);
}

.admin-article-image-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.admin-article-image-preview-modal.admin-hidden,
.admin-article-image-preview-modal[hidden],
.admin-article-image-preview-modal[aria-hidden='true'] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.admin-article-image-preview-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(3px);
}

.admin-article-image-preview-dialog {
    position: relative;
    z-index: 1;
    width: min(980px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 18px;
    border: 1px solid rgba(217, 222, 227, 0.9);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 26px 50px rgba(17, 24, 39, 0.28);
}

.admin-article-image-preview-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    box-shadow: 0 10px 18px rgba(17, 24, 39, 0.12);
}

.admin-article-image-preview-media-wrap {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
}

.admin-article-image-preview-media {
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, #eef2f3 0%, #dfe6e9 100%);
}

body > main .admin-shell .admin-article-image-preview-nav {
    min-width: 88px;
    padding: 0.55rem 0.8rem;
    box-shadow: none;
}

body > main .admin-shell .admin-article-image-preview-nav:disabled {
    opacity: 0.48;
    cursor: default;
}

.admin-article-image-preview-img {
    display: block;
    width: 100%;
    max-height: calc(100vh - 180px);
    object-fit: contain;
    background: #f4f6f7;
}

.admin-article-image-preview-meta {
    padding-top: 14px;
}

.admin-article-image-preview-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-article-image-preview-title {
    color: var(--admin-text-strong);
    font-size: 1rem;
    font-weight: 700;
}

.admin-article-image-preview-counter {
    color: var(--admin-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.admin-article-image-preview-caption {
    margin-top: 4px;
    color: var(--admin-muted);
    line-height: 1.5;
}

.admin-article-image-preview-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

body > main .admin-shell .admin-article-image-preview-select {
    min-width: 96px;
}

body.admin-article-image-preview-open {
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .admin-article-image-pagination-wrap {
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .admin-article-image-actions {
        align-items: flex-start;
        justify-content: flex-start;
    }

    .admin-article-image-search-btn {
        min-width: 0;
    }

    .admin-selected-image-preview {
        flex-basis: 100%;
        width: 100%;
    }

    .admin-article-image-preview-modal {
        padding: 16px;
    }

    .admin-article-image-preview-dialog {
        padding: 14px;
    }
}

@media (max-width: 575.98px) {
    .admin-article-image-card-actions {
        gap: 8px;
    }

    .admin-article-image-card-preview,
    .admin-article-image-card-select {
        min-width: 104px;
    }

    .admin-article-image-pagination-wrap {
        padding: 12px;
    }
}
.admin-toggle-section {
    border: 1px solid var(--admin-border-soft);
    border-radius: var(--admin-radius-sm);
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.72);
}

.admin-toggle-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-toggle-section-body {
    overflow: hidden;
    max-height: 1000px;
    opacity: 1;
    margin-top: 12px;
    transition: max-height 0.28s ease, opacity 0.2s ease, margin-top 0.2s ease;
}

.admin-toggle-section-body.is-collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.admin-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    cursor: pointer;
}

.admin-switch-label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--admin-muted);
}

.admin-switch-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.admin-switch-slider {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: #cfd6dc;
    box-shadow: inset 0 0 0 1px rgba(47, 49, 51, 0.08);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-switch-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.admin-switch-input:checked + .admin-switch-slider {
    background: var(--admin-primary);
}

.admin-switch-input:checked + .admin-switch-slider::after {
    transform: translateX(20px);
}

.admin-switch-input:focus-visible + .admin-switch-slider {
    box-shadow: var(--admin-focus-ring);
}

@media (max-width: 575.98px) {
    .admin-toggle-section-header {
        align-items: flex-start;
        flex-direction: column;
    }
}
body > main .admin-shell .admin-compact-editor {
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius-sm);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 247, 0.96) 100%);
    box-shadow: 0 8px 18px rgba(47, 49, 51, 0.05);
}

body > main .admin-shell .admin-compact-editor-toolbar.ql-toolbar.ql-snow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border: 0;
    border-bottom: 1px solid var(--admin-border-soft);
    background: linear-gradient(180deg, #f8faf7 0%, #eff4ea 100%);
}

body > main .admin-shell .admin-compact-editor-toolbar .ql-formats {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-right: 4px;
}

body > main .admin-shell .admin-compact-editor-toolbar.ql-toolbar.ql-snow button {
    width: 30px;
    height: 30px;
    padding: 4px;
    border-radius: 8px;
}

body > main .admin-shell .admin-compact-editor-surface.ql-container.ql-snow {
    min-height: 180px;
    border: 0;
    background: transparent;
    border-bottom-left-radius: var(--admin-radius-sm);
    border-bottom-right-radius: var(--admin-radius-sm);
}

body > main .admin-shell .admin-compact-editor .ql-editor {
    min-height: 180px;
    padding: 14px 16px;
    font-size: 0.96rem;
    line-height: 1.7;
}

body > main .admin-shell .admin-compact-editor .ql-editor p,
body > main .admin-shell .admin-compact-editor .ql-editor ul,
body > main .admin-shell .admin-compact-editor .ql-editor ol {
    margin-bottom: 0.8rem;
}

body > main .admin-shell .admin-compact-editor .ql-editor ul,
body > main .admin-shell .admin-compact-editor .ql-editor ol {
    padding-left: 1.4rem;
}

body > main .admin-shell .admin-compact-editor .ql-editor li + li {
    margin-top: 0.25rem;
}

body > main .admin-shell .admin-compact-editor .ql-editor a {
    word-break: break-word;
}
.admin-toggle-section-heading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.admin-toggle-section-title {
    margin-bottom: 0;
}

.admin-compact-toggle-html {
    flex: 0 0 auto;
}

body > main .admin-shell .admin-compact-html-editor {
    width: 100%;
    min-height: 180px;
    border: 0;
    border-bottom-left-radius: var(--admin-radius-sm);
    border-bottom-right-radius: var(--admin-radius-sm);
    padding: 14px 16px;
    line-height: 1.7;
    resize: vertical;
    background: rgba(255, 255, 255, 0.96);
}
.admin-publish-date-section {
    padding: 16px 18px;
    border: 1px solid var(--admin-border-soft);
    border-radius: var(--admin-radius-sm);
    background: rgba(255, 255, 255, 0.8);
}

.admin-publish-date-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-publish-date-input {
    flex: 1 1 280px;
    min-width: 240px;
}

.admin-publish-date-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

@media (max-width: 767.98px) {
    .admin-publish-date-row {
        align-items: stretch;
    }

    .admin-publish-date-actions {
        width: 100%;
    }
}
.admin-publish-date-select-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-publish-date-picker-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--admin-text-muted);
    white-space: nowrap;
}

.admin-publish-date-picker-input {
    width: 168px;
    min-width: 168px;
    min-height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

@media (max-width: 767.98px) {
    .admin-publish-date-select-wrap {
        width: 100%;
    }

    .admin-publish-date-picker-input {
        width: 100%;
        min-width: 0;
    }
}