/* UI-20261103-013: scoped to this one view; leave workflow and other views unchanged. */
@media screen{
html body.leave-style #app-shell #calendar-view{margin:5px 0!important;padding:10px!important;border:1px solid #a5c2d9!important;border-radius:22px!important;background:linear-gradient(155deg,#fff 75%,#f6faff)!important;box-shadow:inset 0 1px 0 #fff,0 4px 14px #244f740c;min-height:calc(100dvh - 56px);box-sizing:border-box}
html body.leave-style #app-shell #calendar-view>.page-head{display:none!important}
html body.leave-style #app-shell #calendar-view .dashboard-grid{grid-template-columns:minmax(0,1fr) 260px;gap:12px;min-height:calc(100dvh - 80px);align-items:stretch}
html body.leave-style #app-shell #calendar-view .card{border:1px solid #a5c2d9!important;border-radius:18px!important;background:linear-gradient(160deg,#fff 80%,#f7fbff)!important;box-shadow:inset 0 1px 0 #fff,0 3px 9px #244f740d!important}
html body.leave-style #app-shell #calendar-view .calendar-card{display:flex;flex-direction:column;padding:0 10px 10px;min-width:0;overflow:hidden}
html body.leave-style #app-shell #calendar-view .calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 -10px;padding:10px 12px;background:linear-gradient(150deg,#fff,#f1f7fc);border-bottom:1px solid #c8dbe9}
html body.leave-style #app-shell #calendar-view .calendar-month-switch{display:flex;align-items:center;gap:10px;min-width:0}
html body.leave-style #app-shell #calendar-view #month-label{font-size:19px;font-weight:750;white-space:nowrap;color:#173f5b;min-width:132px;text-align:center}
html body.leave-style #app-shell #calendar-view .calendar-toolbar button{border-radius:10px!important;border:1px solid #a8c7df!important;box-shadow:inset 0 1px 0 #fff,0 2px 4px #244f7410!important;min-height:34px;height:34px}
html body.leave-style #app-shell #calendar-view #open-new-calendar{width:auto;min-width:110px;padding:6px 12px!important;font-size:13px!important;background:#edf6ff!important;color:#105990!important;border-color:#91b8d8!important}
html body.leave-style #app-shell #calendar-view .weekday-row{flex:none;padding:9px 0;background:#fff;color:#70879a;font-size:12px;border-bottom:1px solid #d9e5ee}
html body.leave-style #app-shell #calendar-view #calendar-grid{--calendar-entry-rows:3;flex:1;min-height:480px;grid-auto-rows:minmax(104px,1fr);border-left:1px solid #e0eaf2;border-right:1px solid #e0eaf2}
html body.leave-style #app-shell #calendar-view .day-cell{min-height:104px;padding:5px;border-color:#e0eaf2;background:#fff;box-sizing:border-box}
html body.leave-style #app-shell #calendar-view .day-cell.blank{background:#f8fafc}
html body.leave-style #app-shell #calendar-view .day-cell.today{background:#f2f8ff;box-shadow:inset 0 0 0 1px #b3cfe5}
html body.leave-style #app-shell #calendar-view .day-num{font-size:12px;color:#59758c}
html body.leave-style #app-shell #calendar-view .day-cell.today .day-num{color:#fff;background:#2876ac;border-radius:8px}
html body.leave-style #app-shell #calendar-view #calendar-grid button:is(.leave-bar,.subordinate-summary){border-radius:6px!important;margin-top:3px}
html body.leave-style #app-shell #calendar-view .calendar-legend{gap:9px;padding:10px 2px 0;flex:none;font-size:11px}
html body.leave-style #app-shell #calendar-view .summary-column{display:flex;flex-direction:column;gap:12px;margin:0;min-width:0}
html body.leave-style #app-shell #calendar-view .summary-card{position:relative;padding:15px 16px;min-height:124px;box-sizing:border-box}
html body.leave-style #app-shell #calendar-view .summary-card>p{margin:0 34px 9px 0;font-size:12px;font-weight:650;line-height:1.5;color:#57758d}
html body.leave-style #app-shell #calendar-view .summary-card>strong{display:block;font-size:32px;line-height:1.2;color:#163f5b;margin-bottom:8px;font-variant-numeric:tabular-nums}
html body.leave-style #app-shell #calendar-view .summary-card>span:not(.calendar-summary-icon){font-size:12px;line-height:1.65;color:#627d91}
html body.leave-style #app-shell #calendar-view .summary-card small{font-size:10px;color:#7a8e9f;line-height:1.5}
html body.leave-style #app-shell #calendar-view .leave-balance-card>strong{color:#674a91}
html body.leave-style #app-shell #calendar-view .calendar-summary-icon{position:absolute;right:13px;top:13px;display:grid;place-items:center;width:30px;height:30px;border:1px solid #c5d9e9;border-radius:10px;color:#638ba9;background:#f4f9fd}
html body.leave-style #app-shell #calendar-view .calendar-summary-icon svg{width:19px;height:19px}
html body.leave-style #app-shell #calendar-view .upcoming-card{flex:1;padding:13px 12px}
html body.leave-style #app-shell #calendar-view .section-title{gap:6px;margin-bottom:10px}
html body.leave-style #app-shell #calendar-view .section-title h2{font-size:13px;margin:0;color:#365a75}
html body.leave-style #app-shell #calendar-view .section-title button{border-radius:9px!important;font-size:11px!important;min-height:30px;padding:4px 9px!important;border-color:#b4ccdf!important}
html body.leave-style #app-shell #calendar-view .upcoming-item{position:relative;border:1px solid #c0d4e5;border-radius:12px;padding:9px 10px;margin-top:7px;background:#fff;box-shadow:0 2px 5px #244f7408;transition:transform .16s,box-shadow .16s,border-color .16s}
html body.leave-style #app-shell #calendar-view .upcoming-item .date{font-size:11px;line-height:1.5}
html body.leave-style #app-shell #calendar-view .upcoming-item strong{font-size:13px;margin:5px 0}
html body.leave-style #app-shell #calendar-view .upcoming-item .status{font-size:11px}
@media(hover:hover) and (pointer:fine){html body.leave-style #app-shell #calendar-view .upcoming-item:hover{transform:translateY(-2px);border-color:#87b0d0;box-shadow:0 5px 11px #244f7418}}
@media(max-width:1050px){html body.leave-style #app-shell #calendar-view .dashboard-grid{grid-template-columns:minmax(0,1fr);min-height:0}html body.leave-style #app-shell #calendar-view .summary-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}html body.leave-style #app-shell #calendar-view .upcoming-card{grid-column:1/-1}html body.leave-style #app-shell #calendar-view #upcoming-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}html body.leave-style #app-shell #calendar-view .upcoming-item{margin-top:0}}
@media(max-width:600px){html body.leave-style #app-shell #calendar-view{padding:7px!important;border-radius:18px!important}html body.leave-style #app-shell #calendar-view .calendar-toolbar{padding:8px;gap:6px}html body.leave-style #app-shell #calendar-view #month-label{font-size:16px;min-width:108px}html body.leave-style #app-shell #calendar-view .calendar-month-switch{gap:5px}html body.leave-style #app-shell #calendar-view #open-new-calendar{min-width:100px;font-size:12px!important}html body.leave-style #app-shell #calendar-view .summary-column{grid-template-columns:minmax(0,1fr)}html body.leave-style #app-shell #calendar-view #upcoming-list{display:block}html body.leave-style #app-shell #calendar-view .upcoming-item{margin-top:7px}html body.leave-style #app-shell #calendar-view .day-cell{padding:3px 1px}html body.leave-style #app-shell #calendar-view .calendar-card{padding:0 5px 7px}html body.leave-style #app-shell #calendar-view .calendar-toolbar{margin:0 -5px}html body.leave-style #app-shell #calendar-view .calendar-legend{gap:6px}}

}
@media screen{html body.leave-style #app-shell #calendar-view #open-new-calendar *{font-size:inherit!important;font-weight:inherit!important}}
@media screen{
html body.leave-style #app-shell #calendar-view .summary-card{padding:13px 14px}
html body.leave-style #app-shell #calendar-view .summary-card>p{margin-bottom:6px}
html body.leave-style #app-shell #calendar-view .summary-card>strong{margin-bottom:6px}
html body.leave-style #app-shell #calendar-view .summary-card>span:not(.calendar-summary-icon){font-size:11.5px;line-height:1.55}
html body.leave-style #app-shell #calendar-view .upcoming-item .date{font-size:10.5px;line-height:1.4}
html body.leave-style #app-shell #calendar-view .upcoming-item strong{margin:4px 0;line-height:1.3}
}
