/* One calendar language for week and month, without changing scheduling controls. */
[data-app] [data-schedpanel=foh]{--cal-line:#eee9f3;--cal-soft:#fbf9fd;--cal-today:#f7f3fd}
[data-app][data-theme=dark] [data-schedpanel=foh]{--cal-line:#3c3248;--cal-soft:#211b2a;--cal-today:#2c223b}
[data-app] [data-schedpanel=foh] [data-fohgrid]{grid-template-columns:minmax(0,1fr) 290px!important;gap:18px!important}
[data-app] .p-schedule-calendar{padding:18px!important;min-width:0}
[data-app] .p-schedule-agenda{padding:18px!important;min-width:0}
[data-app] .p-schedule-agenda [data-todosched]{display:none!important}
[data-app] .p-schedule-agenda :is([data-fnew],[data-ptonew]){min-height:38px;border-radius:9px!important;font-size:12px!important}
[data-app] .p-schedule-agenda [data-ptonew]{background:var(--surface)!important}
[data-app] .p-schedule-agenda [data-ptosidebar]{margin-bottom:18px}
[data-app] .p-schedule-agenda [data-ptosidebar]:empty{display:none}
[data-app] .p-schedule-agenda [data-myagenda]{padding-top:16px;border-top:1px solid var(--divider);margin-bottom:0!important}
[data-app] .p-schedule-agenda [data-myagenda]>div:first-child{margin:0 0 6px!important;font-size:10px!important;font-weight:600!important;letter-spacing:.09em!important}
[data-app] .p-schedule-agenda [data-myrow]{border-bottom-color:var(--cal-line)!important}
[data-app] .p-schedule-agenda [data-myrow]:last-child{border-bottom:0!important}
[data-app] .p-schedule-upcoming-title{padding-top:16px;border-top:1px solid var(--divider);margin:16px 0 6px!important;font-size:10px!important;font-weight:600!important;letter-spacing:.09em!important}
[data-app] .p-schedule-agenda>[data-evrow]{border-bottom-color:var(--cal-line)!important}
[data-app] .p-schedule-calendar-link{border-top:1px solid var(--divider);margin-top:16px;padding-top:10px}
[data-app] .p-schedule-calendar-link>[data-gcalconn]{margin:0!important;padding:8px 0!important;min-height:34px;border:0!important;background:transparent!important;color:var(--mut)!important;font-size:11px!important;font-weight:500!important}
[data-app] .p-schedule-calendar-link>div{margin:0!important;font-size:11px!important}
[data-app] .p-schedule-toolbar{gap:7px!important;margin-bottom:18px!important}
[data-app] .p-schedule-toolbar button{height:34px!important;min-height:34px;font-size:11px!important;border-radius:8px!important;box-shadow:none!important}
[data-app] .p-schedule-toolbar [data-fprev],[data-app] .p-schedule-toolbar [data-fnext]{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;padding:0!important;line-height:1!important;border-color:var(--divider)!important}
[data-app] .p-schedule-toolbar :is([data-fprev],[data-fnext]) svg{display:block;width:16px;height:16px;flex:none;pointer-events:none}
[data-app] .p-schedule-toolbar [data-ftoday]{border-color:var(--divider)!important;margin-right:8px}
[data-app] .p-schedule-title{font-size:17px!important;font-weight:650!important;letter-spacing:-.025em;text-align:left!important;min-width:150px!important}
[data-app] .p-schedule-view{padding:3px!important;border:0!important;background:var(--surface-2)!important;border-radius:9px!important}
[data-app] .p-schedule-view button{height:30px!important;min-height:30px;padding:5px 14px!important}
[data-app] .p-schedule-view button[style*="background:var(--surface)"]{box-shadow:0 1px 4px #30244014!important}
[data-app] .p-calendar-week,[data-app] .p-calendar-month{border:1px solid var(--divider);border-radius:10px;overflow:hidden;background:var(--surface)}
[data-app] .p-calendar-week{overflow-x:auto;scrollbar-width:thin;scrollbar-color:var(--control-border) var(--surface-2)}
[data-app] .p-calendar-week-inner{min-width:680px!important}
[data-app] :is(.p-calendar-week-header,.p-calendar-all-day,.p-calendar-timegrid){display:grid;grid-template-columns:64px repeat(7,minmax(0,1fr))!important}
[data-app] .p-calendar-week-header{background:var(--cal-soft)}
[data-app] .p-calendar-week-header>div{padding:13px 2px 11px!important}
[data-app] .p-calendar-week-header>div>div:first-child,[data-app] .p-calendar-month-header>div{font-size:10px!important;line-height:1.4!important;letter-spacing:.07em!important;font-weight:600!important;color:var(--mut)!important}
[data-app] .p-calendar-date{width:29px!important;height:29px!important;line-height:29px!important;font-size:13px!important;font-weight:600!important;border-radius:50%!important;color:var(--ink)!important}
[data-app] .p-calendar-today{background:var(--accent)!important;color:#fff!important;box-shadow:0 2px 5px #7141dc20}
[data-app] .p-calendar-all-day{min-height:50px;border-color:var(--divider)!important;background:var(--cal-soft)!important;align-items:stretch}
[data-app] .p-calendar-all-day-label{display:flex;align-items:center;justify-content:flex-end;padding:0 10px 0 4px!important;font-size:10px!important;font-weight:500;color:var(--mut)!important;letter-spacing:0!important;white-space:nowrap}
[data-app] [data-weekallday]{padding:6px 1px!important;border-color:var(--cal-line)!important}
/* Reserve breathing room ABOVE the first hour. Column bounds still define native click times. */
[data-app] .p-calendar-timegrid{padding-top:18px;background:var(--surface)}
[data-app] .p-calendar-hours>div>span{top:-6px!important;right:10px!important;font-size:10px!important;font-weight:500;line-height:12px;color:var(--mut)!important}
[data-app] [data-weekcol]{border-color:var(--cal-line)!important;background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(var(--p-calendar-hour) - 1px),var(--cal-line) calc(var(--p-calendar-hour) - 1px),var(--cal-line) var(--p-calendar-hour))!important;box-shadow:inset 0 1px var(--cal-line)}
[data-app] [data-weekcol]>div:not([data-evpill]){background:var(--cal-today)!important;opacity:.6}
[data-app] [data-p-event-type=meeting]{--event-ink:#405d9c;--event-fill:#edf2fc;--event-edge:#6c87c0}
[data-app] [data-p-event-type=marketing]{--event-ink:#256e60;--event-fill:#edf7f2;--event-edge:#62a28c}
[data-app] [data-p-event-type=event]{--event-ink:#7950ad;--event-fill:#f1ebfa;--event-edge:#a17acb}
[data-app] [data-p-event-type=task]{--event-ink:#39724a;--event-fill:#eff7ef;--event-edge:#75a27c}
[data-app] [data-p-event-type=custom]{--event-ink:#886124;--event-fill:#fcf4e6;--event-edge:#bd995a}
[data-app] [data-p-event-type=pto]{--event-ink:#686276;--event-fill:#f0edf5;--event-edge:#96909f}
[data-app] [data-p-event-type=personal]{--event-ink:#2c7080;--event-fill:#eaf5f7;--event-edge:#6a9eaa}
[data-app][data-theme=dark] [data-p-event-type=meeting]{--event-ink:#bacdf5;--event-fill:#29344c;--event-edge:#779bd8}
[data-app][data-theme=dark] [data-p-event-type=marketing]{--event-ink:#a8d5c3;--event-fill:#243c36;--event-edge:#72af99}
[data-app][data-theme=dark] [data-p-event-type=event]{--event-ink:#d7bff3;--event-fill:#3a2b50;--event-edge:#af89d8}
[data-app][data-theme=dark] [data-p-event-type=task]{--event-ink:#bad5b5;--event-fill:#2c3c2e;--event-edge:#8eaf85}
[data-app][data-theme=dark] [data-p-event-type=custom]{--event-ink:#dfc798;--event-fill:#423827;--event-edge:#bca06c}
[data-app][data-theme=dark] [data-p-event-type=pto]{--event-ink:#c9bfd6;--event-fill:#37303f;--event-edge:#a99bb9}
[data-app][data-theme=dark] [data-p-event-type=personal]{--event-ink:#a7d6df;--event-fill:#233d44;--event-edge:#6eacba}
[data-app] .p-calendar-event[data-p-event-type]{background:var(--event-fill)!important;color:var(--event-ink)!important;border:0!important;border-left:3px solid var(--event-edge)!important;border-radius:5px!important;box-shadow:none;font-size:10.5px!important;font-weight:600!important;transition:filter .15s,box-shadow .15s}
[data-app] .p-calendar-event[data-p-event-type]:hover{filter:brightness(.98)!important;box-shadow:0 2px 8px #30244013}
[data-app] .p-calendar-timed{padding:4px 5px!important}
[data-app] .p-calendar-timed>div:first-child{font-size:10.5px!important;font-weight:600!important;line-height:1.35!important;color:var(--event-ink)!important}
[data-app] .p-calendar-timed>div:nth-child(2){font-size:9px!important;line-height:1.3!important;margin-top:3px!important;color:var(--event-ink)!important;opacity:.85!important}
[data-app] .p-calendar-long-event>div:first-child{white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
[data-app] .p-calendar-short-event{padding:2px 4px!important}
[data-app] .p-calendar-short-event>div:nth-child(2){font-size:8.5px!important;line-height:1.1!important;margin-top:0!important}
[data-app] .p-calendar-all-day-event{min-height:24px;margin:3px 3px!important;padding:4px 5px!important;line-height:16px;box-sizing:border-box}
[data-app] .p-calendar-month-header{gap:0!important;margin:0!important;background:var(--cal-soft);border-bottom:1px solid var(--divider)}
[data-app] .p-calendar-month-header>div{padding:15px 4px}
[data-app] .p-calendar-month-grid{gap:0!important}
[data-app] .p-calendar-month-grid>*{min-width:0;border:0!important;border-right:1px solid var(--cal-line)!important;border-bottom:1px solid var(--cal-line)!important;border-radius:0!important;box-shadow:none!important}
[data-app] .p-calendar-month-grid>*:nth-child(7n){border-right:0!important}
[data-app] .p-calendar-month-grid>*:nth-last-child(-n+7){border-bottom:0!important}
[data-app] .p-calendar-month-grid .fday{min-height:126px;padding:8px 5px!important;transform:none!important;background:var(--surface)!important;transition:background .15s!important}
[data-app] .p-calendar-month-grid .fday:is(:nth-child(7n+1),:nth-child(7n)){background:var(--cal-soft)!important}
[data-app] .p-calendar-month-grid .fday:has(.p-calendar-today){background:var(--cal-today)!important}
[data-app] .p-calendar-month-grid .fday:hover{background:var(--surface-2)!important}
[data-app] .p-calendar-empty{background:var(--cal-soft)}
[data-app] .p-calendar-month-grid .fday>div:first-child{padding:0 3px;margin-bottom:7px}
[data-app] .p-calendar-month-grid .fday>div:first-child>span:nth-child(2){font-size:9px!important;font-weight:500!important;padding:2px 5px!important;background:transparent!important}
[data-app] .p-calendar-month-event{display:block!important;padding:4px 5px!important;margin-top:4px!important;min-height:24px;line-height:1.35;box-sizing:border-box;white-space:nowrap}
[data-app] .p-calendar-month-event>span:first-child{display:none!important}
[data-app] .p-calendar-month-event>span:last-child{font-size:10px!important;font-weight:550!important;color:var(--event-ink)!important}
[data-app] .p-calendar-month-event>span:not(:first-child):not(:last-child){font-size:9px!important;font-weight:500!important;color:var(--event-ink)!important;margin-right:4px}
[data-app] .p-calendar-month-event{overflow:hidden!important;text-overflow:ellipsis}
[data-app] .p-schedule-legend{display:flex;align-items:center;flex-wrap:wrap;gap:8px 15px;padding:14px 2px 0;color:var(--mut);font-size:10px}
[data-app] .p-schedule-legend>span:first-child{font-size:9px;letter-spacing:.08em;text-transform:uppercase;margin-right:1px}
[data-app] .p-schedule-legend>span[data-p-event-type]{display:inline-flex;align-items:center;gap:6px;font-weight:500}
[data-app] .p-event-key{width:6px;height:6px;border-radius:50%;background:var(--event-edge)!important}
@media(max-width:1199px){
  [data-app] [data-schedpanel=foh] [data-fohgrid]{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:699px){
  [data-app] .p-schedule-calendar,[data-app] .p-schedule-agenda{padding:12px!important}
  [data-app] .p-schedule-toolbar{gap:5px!important;row-gap:10px!important}
  [data-app] .p-schedule-title{order:-1;flex:1 0 100%!important;font-size:16px!important;margin-bottom:1px}
  [data-app] .p-schedule-view{margin-left:auto}
  [data-app] .p-schedule-view button{padding:5px 10px!important}
  [data-app] .p-calendar-month-header>div{font-size:8px!important;padding:12px 1px;letter-spacing:.02em!important}
  [data-app] .p-calendar-month-grid .fday{min-height:64px!important;aspect-ratio:auto!important;padding:6px 2px!important;gap:3px}
  [data-app] .p-calendar-month-grid .fday>div:first-child{padding:0;margin-bottom:0;justify-content:center!important}
  [data-app] .p-calendar-month-grid .fday>div:first-child>.p-calendar-date{width:25px!important;height:25px!important;line-height:25px!important;font-size:11px!important}
  [data-app] .p-calendar-month-grid .fday>div:first-child>span:nth-child(2){display:none!important}
  [data-app] .p-schedule-legend{gap:8px 11px;font-size:9px}
  [data-app] .p-schedule-legend>span:first-child{flex-basis:100%}
}
