/* Kalender der Testversion: eine Werkzeugzeile, ruhiges Raster, einzeilige Termine. */
@layer nb-vorrang{
 #content .calendar-desktop-header{display:none!important}
 #content .nk-bar{display:flex!important;align-items:center!important;gap:16px!important;flex-wrap:wrap!important;margin:0 0 24px!important}
 #content .nk-bar .nk-nav{display:flex!important;align-items:center!important;gap:8px!important}
 #content .nk-bar .nk-nav button{min-height:40px!important;height:40px!important;border:1px solid #d9e1f0!important;border-radius:10px!important;background:#fff!important;color:#111d31!important;padding:0 14px!important;font-weight:500!important;margin:0!important;width:auto!important}
 #content .nk-bar .nk-nav button.icon-button{width:40px!important;padding:0!important}
 #content .nk-bar .nk-nav button:hover{background:#eef3fd!important}
 #content .nk-bar h2{margin:0 8px!important;font-size:20px!important;line-height:28px!important;font-weight:600!important;color:#111d31!important;white-space:nowrap!important}
 #content .nk-bar .nk-space{flex:1 1 0!important}
 #content .nk-bar .nk-search{flex:0 1 240px!important;min-width:150px!important}
 #content .nk-bar .nk-search,#content .nk-bar .nk-search label{margin:0!important;font-size:0!important;line-height:0!important;display:block!important}
 #content .nk-bar .nk-search input{font-size:15px!important;line-height:22px!important}
 #content .nk-bar .nk-search input{height:40px!important;min-height:40px!important;margin:0!important;border-radius:10px!important;width:100%!important}
 #content .nk-bar .calendar-view-switch{flex:none!important;display:inline-flex!important;gap:0!important;border:1px solid #d9e1f0!important;border-radius:10px!important;overflow:hidden!important;background:#fff!important;margin:0!important;padding:0!important;width:auto!important}
 #content .nk-bar .calendar-view-switch button{min-height:38px!important;height:38px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#414e62!important;padding:0 14px!important;font-weight:500!important;margin:0!important;box-shadow:none!important;width:auto!important}
 #content .nk-bar .calendar-view-switch button+button{border-left:1px solid #d9e1f0!important}
 #content .nk-bar .calendar-view-switch button.active{background:#eef3fd!important;color:#223d8c!important;font-weight:600!important}
 #content .nk-bar .calendar-view-switch button::after{display:none!important}
 #content .nk-bar .nk-new{display:inline-flex!important;align-items:center!important;gap:8px!important;min-height:40px!important;height:40px!important;padding:0 16px!important;border-radius:10px!important;border:1px solid #223d8c!important;background:#223d8c!important;color:#fff!important;font-weight:600!important;width:auto!important;margin:0!important;white-space:nowrap!important;flex:none!important}
 #content .nk-bar .nk-new svg{width:18px!important;height:18px!important}
 #content .calendar-desktop-controls:empty,#content .cal-toolbar:empty,#content .cal-toolbar>.row:empty{display:none!important}

 /* Monatsraster */
 #content .cal-grid.nk-grid{display:grid!important;gap:0!important;border:1px solid #d9e1f0!important;border-radius:14px!important;overflow:hidden!important;background:#fff!important;padding:0!important}
 #content .nk-grid .cal-weekday{height:36px!important;display:flex!important;align-items:center!important;padding:0 12px!important;font-size:12px!important;letter-spacing:.06em!important;text-transform:uppercase!important;font-weight:600!important;color:#414e62!important;background:#fff!important;border:0!important;border-bottom:1px solid #d9e1f0!important;text-align:left!important;justify-content:flex-start!important}
 #content .nk-grid .cal-day{min-height:112px!important;padding:8px!important;background:#fff!important;border:0!important;border-right:1px solid #e6ecf7!important;border-bottom:1px solid #e6ecf7!important;border-radius:0!important;display:flex!important;flex-direction:column!important;gap:4px!important;box-shadow:none!important;outline:0!important;min-width:0!important;cursor:pointer!important}
 #content .nk-grid .cal-day.nk-weekend{background:#fbfcff!important}
 #content .nk-grid .cal-day.nk-lastcol{border-right:0!important}
 #content .nk-grid .cal-day.nk-lastrow{border-bottom:0!important}
 #content .nk-grid .cal-day:hover{background:#f8fbff!important}
 #content .nk-grid .cal-num{align-self:flex-start!important;min-width:28px!important;width:auto!important;height:28px!important;min-height:28px!important;padding:0 6px!important;margin:0 0 2px!important;border:0!important;border-radius:14px!important;background:transparent!important;color:#111d31!important;font-size:14px!important;font-weight:600!important;line-height:28px!important;text-align:center!important;box-shadow:none!important}
 #content .nk-grid .cal-num:hover{background:#eef3fd!important}
 #content .nk-grid .cal-day.other .cal-num{color:#667085!important;font-weight:400!important}
 #content .nk-grid .cal-day.today .cal-num{background:#223d8c!important;color:#fff!important}
 #content .nk-grid .cal-today-copy{display:none!important}
 #content .nk-grid .cal-event{display:flex!important;align-items:center!important;gap:6px!important;width:100%!important;height:24px!important;min-height:24px!important;padding:0 8px 0 9px!important;margin:0!important;border:0!important;border-radius:6px!important;background:#eef3fd!important;color:#111d31!important;font-size:13px!important;line-height:24px!important;text-align:left!important;white-space:nowrap!important;overflow:hidden!important;box-shadow:inset 3px 0 0 #223d8c!important;flex:none!important}
 #content .nk-grid .cal-event:hover{background:#e1eafc!important}
 #content .nk-grid .cal-event>b{display:flex!important;gap:6px!important;min-width:0!important;font-weight:500!important;color:inherit!important;white-space:nowrap!important;overflow:hidden!important}
 #content .nk-grid .cal-event .cal-event-time{font-weight:600!important;font-variant-numeric:tabular-nums!important;color:#223d8c!important;flex:none!important}
 #content .nk-grid .cal-event .cal-event-title{overflow:hidden!important;text-overflow:ellipsis!important}
 #content .nk-grid .cal-event .cal-event-title:empty,#content .nk-grid .cal-event .nk-sep{display:none!important}
 #content .nk-grid .cal-event>div{display:none!important}
 #content .nk-grid .cal-event.running{box-shadow:inset 3px 0 0 #a94d1e!important;background:#fdf3ec!important}
 #content .nk-grid .cal-event.done{color:#414e62!important;background:#f3f5fa!important;box-shadow:inset 3px 0 0 #aab6d0!important}
 #content .nk-grid .cal-event.nk-hidden{display:none!important}
 #content .nk-grid .cal-event.nk-more{background:transparent!important;box-shadow:none!important;color:#223d8c!important;font-weight:600!important;padding-left:8px!important}
 #content .nk-grid .cal-event.nk-more:hover{text-decoration:underline!important}
 #content .nk-grid :is(.cal-num,.cal-event):focus-visible{outline:2px solid #223d8c!important;outline-offset:1px!important}
}
