 /* ══ Layout ══════════════════════════════════════════ */
 .nc-wrap {
     display: grid;
     grid-template-columns: 420px 1fr;
     gap: 28px;
     align-items: start;
 }

 @media (max-width: 992px) {
     .nc-wrap {
         grid-template-columns: 1fr;
     }
 }

 /* ══ Calendar Card ═══════════════════════════════════ */
 .nc-calendar-card {
     background: #fff;
     border-radius: 16px;
     padding: 20px;
     box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
 }

 /* Force ADP to fill full card width */
 #nc-datepicker,
 #nc-datepicker .air-datepicker {
     width: 100% !important;
     max-width: 100% !important;
 }

 #nc-datepicker .air-datepicker {
     border: none !important;
     box-shadow: none !important;
     background: transparent !important;
 }

 /* ── Nav bar ── */
 .nc-calendar-card .air-datepicker-nav {
     display: flex;
     align-items: center;
     gap: 6px;
     padding: 0 0 12px;
     border-bottom: 1px solid var(--bs-gray-300);
     margin-bottom: 8px;
 }

 .nc-calendar-card .air-datepicker-nav--action {
     width: 32px;
     height: 32px;
     border-radius: 8px;
     flex-shrink: 0;
 }

 .nc-calendar-card .air-datepicker-nav--action:hover {
     background: var(--bs-secondary-100);
 }

 .nc-calendar-card .air-datepicker-nav--action svg path {
     stroke: var(--bs-secondary-500);
     stroke-width: 2.5;
 }

 /* Chips wrapper (days view) */
 .nc-cal-chips {
     flex: 1;
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 8px;
 }

 /* Month chip — click navigates to months view */
 .nc-calendar-card .air-datepicker-nav--title {
     flex: 0 0 auto !important;
     font-size: 16px !important;
     font-weight: 700;
     color: var(--bs-gray-900) !important;
     background: var(--bs-gray-300) !important;
     border-radius: 8px !important;
     padding: 5px 14px !important;
     cursor: pointer;
     text-align: center;
     white-space: nowrap;
     transition: background .15s, color .15s;
 }

 .nc-calendar-card .air-datepicker-nav--title:hover {
     background: var(--bs-secondary-100) !important;
     color: var(--bs-secondary-900) !important;
 }

 /* Hide <i>year</i> tag inside title (days view) */
 .nc-calendar-card .air-datepicker-nav--title i {
     display: none !important;
 }

 /* ── Months/Years view: nav title shows CE year — overlay BE year via data attribute ── */
 /* Container gets data-nc-view="months"|"years" so CSS knows which view */
 #nc-datepicker[data-nc-view="months"] .air-datepicker-nav--title,
 #nc-datepicker[data-nc-view="years"] .air-datepicker-nav--title {
     flex: 1 !important;
     color: transparent !important;
     /* hide CE year text */
     background: #e8ebff !important;
     position: relative;
 }

 /* Show BE year via ::after + attr(data-be) — no textContent change */
 #nc-datepicker[data-nc-view="months"] .air-datepicker-nav--title::after,
 #nc-datepicker[data-nc-view="years"] .air-datepicker-nav--title::after {
     content: attr(data-be);
     position: absolute;
     inset: 0;
     display: flex;
     align-items: center;
     justify-content: center;
     color: var(--bs-primary-500);
     font-size: 16px;
     font-weight: 700;
 }

 #nc-datepicker[data-nc-view="months"] .air-datepicker-nav--title:hover,
 #nc-datepicker[data-nc-view="years"] .air-datepicker-nav--title:hover {
     background: #c8cfff !important;
 }

 /* Custom year chip (days view only) */
 .nc-year-chip {
     flex: 0 0 auto;
     font-size: 16px;
     font-weight: 700;
     color: var(--bs-primary-500);
     background: #e8ebff;
     border-radius: 8px;
     padding: 5px 14px;
     cursor: pointer;
     transition: background .15s;
     user-select: none;
     white-space: nowrap;
 }

 .nc-year-chip:hover {
     background: #c8cfff;
 }

 /* ── Day names ── */
 .nc-calendar-card .air-datepicker-body--day-names {
     display: grid !important;
     grid-template-columns: repeat(7, 1fr);
     margin-bottom: 2px;
 }

 .nc-calendar-card .air-datepicker-body--day-name {
     font-size: 11px;
     font-weight: 700;
     letter-spacing: .5px;
     color: var(--bs-gray-900);
     text-align: center;
     padding: 6px 0;
 }

 /* ── Days grid ── */
 .nc-calendar-card .air-datepicker-body--cells.-days- {
     display: grid !important;
     grid-template-columns: repeat(7, 1fr);
     /* row height = cell size so circles don't overlap */
     grid-auto-rows: 44px;
 }

 .nc-calendar-card .air-datepicker-cell.-day- {
     border-radius: 50% !important;
     width: 40px !important;
     height: 40px !important;
     margin: 2px auto !important;
     /* centers circle within the 44px row */
     font-size: 14px;
     font-weight: 500;
     display: flex !important;
     align-items: center;
     justify-content: center;
     position: relative;
     transition: background .12s, color .12s;
 }

 .nc-calendar-card .air-datepicker-cell.-day-:not(.-selected-):not(.-disabled-):hover {
     background: var(--bs-secondary-100) !important;
     color: var(--bs-secondary-900) !important;
 }

 .nc-calendar-card .air-datepicker-cell.-day-.-current- {
     border: 2px solid var(--bs-tertiary-500) !important;
     color: var(--bs-white) !important;
     font-weight: 700;
     background: var(--bs-tertiary-500) !important;
 }

 .nc-calendar-card .air-datepicker-cell.-day-.-current-:hover {
     border: none !important;
 }

 .nc-calendar-card .air-datepicker-cell.-day-.-selected- {
     background: var(--bs-gradient-g) !important;
     border: 2px solid var(--bs-gradient-g) !important;
     color: #fff !important;
     font-weight: 700;
 }

 .nc-calendar-card .air-datepicker-cell.-day-.-other-month- {
     color: var(--bs-gray-500) !important;
 }

 /* ── Month/Year picker cells ── */
 .nc-calendar-card .air-datepicker-cell.-month-,
 .nc-calendar-card .air-datepicker-cell.-year- {
     border-radius: 8px !important;
     font-size: 14px;
     font-weight: 600;
 }

 .nc-calendar-card .air-datepicker-cell.-month-:hover,
 .nc-calendar-card .air-datepicker-cell.-year-:hover {
     background: var(--bs-secondary-100) !important;
     color: var(--bs-secondary-900) !important;
 }

 .nc-calendar-card .air-datepicker-cell.-month-.-current-,
 .nc-calendar-card .air-datepicker-cell.-year-.-current- {
     color: var(--bs-secondary-700) !important;
     font-weight: 700;
 }

 .nc-calendar-card .air-datepicker-cell.-month-.-selected-,
 .nc-calendar-card .air-datepicker-cell.-year-.-selected- {
     background: var(--bs-secondary-500) !important;
     color: #fff !important;
 }

 /* ── Has-news dot ── */
 .nc-calendar-card .air-datepicker-cell.has-news::after {
     content: '';
     display: block;
     width: 5px;
     height: 5px;
     background: var(--bs-tertiary-500);
     border-radius: 50%;
     position: absolute;
     bottom: 2px;
     left: 50%;
     transform: translateX(-50%);
 }

 .nc-calendar-card .air-datepicker-cell.-selected-.has-news::after {
     background: rgba(255, 255, 255, .85);
 }


 .nc-calendar-card .air-datepicker-cell.-current-.has-news::after {
     background: rgba(255, 255, 255, .85) !important;
 }

 /* ══ News Panel ══════════════════════════════════════ */
 .nc-news-panel {
     min-width: 0;
 }

 .nc-news-date-header {
     display: flex;
     align-items: center;
     gap: 12px;
     margin-bottom: 16px;
 }

 .nc-news-date-icon {
     width: 48px;
     height: 48px;
     border-radius: 10px;
     background: var(--bs-gradient-f-90);
     display: flex;
     align-items: center;
     justify-content: center;
     color: #fff;
     font-size: 22px;
     flex-shrink: 0;
 }

 .nc-news-date-text {
     font-size: 22px;
     font-weight: 700;
     color: #333;
 }

 .nc-news-list {
     display: flex;
     flex-direction: column;
     gap: 12px;
 }

 .nc-news-item {
     background: #fff;
     border-radius: 12px;
     padding: 14px 18px;
     border-left: 4px solid var(--bs-secondary-500);
     box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
 }

 .nc-news-item-title {
     font-size: 15px;
     font-weight: 600;
     color: #222;
     margin-bottom: 6px;
     line-height: 1.4;
 }

 .nc-news-item-meta {
     display: flex;
     flex-wrap: wrap;
     gap: 10px;
     font-size: 13px;
     color: var(--bs-gray-900);
 }

 .nc-news-item-meta span {
     display: flex;
     align-items: center;
     gap: 5px;
 }

 .nc-news-item-meta i {
     color: var(--bs-secondary-500);
     font-size: 13px;
 }

 .nc-news-empty {
     text-align: center;
     padding: 48px 20px;
     color: var(--bs-gray-700);
 }

 .nc-news-empty i {
     font-size: 40px;
     margin-bottom: 10px;
     color: var(--bs-gray-500);
     display: block;
 }

 .nc-news-loading {
     text-align: center;
     padding: 32px 0;
     color: var(--bs-gray-700);
 }

 .nc-news-item-link {
     display: block;
     text-decoration: none;
     color: inherit;
 }

 .air-datepicker-cell.-day-{
    user-select: none;
    cursor: pointer;
 }