/* FIX7 visual pass: scoped to the real employee calendar and manager planner. */
body.ux093 .p95-calendar.p95-page{max-width:1100px;margin-inline:auto}
body.ux093 .p95-bulk-calendar .p95-calendar-grid{isolation:isolate}
body.ux093 .p95-bulk-calendar .p95-day{position:relative;min-height:102px;box-sizing:border-box;overflow:hidden}
body.ux093 .p95-bulk-calendar .p95-select-day{position:absolute;inset:0;display:block;cursor:pointer;z-index:2;padding:0;margin:0}
body.ux093 .p95-bulk-calendar .p95-select-day input{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:none!important}
body.ux093 .p95-bulk-calendar .p95-select-day .p95-date{position:absolute;top:8px;left:10px;font-size:14px;font-weight:700}
body.ux093 .p95-bulk-calendar .p95-day:has(input[name="days"]:checked){background:#eee9ff!important;box-shadow:inset 0 0 0 2px #7950dc;border-color:#7950dc!important}
body.ux093 .p95-bulk-calendar .p95-day:has(input[name="days"]:focus-visible){outline:3px solid #6336ba;outline-offset:2px}
body.ux093 .p95-calendar .p95-av-kind{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:65px;max-width:100%;width:100%;padding-top:23px;box-sizing:border-box;text-align:center;font-size:12px;font-weight:650;overflow:hidden}
body.ux093 .p95-calendar .p95-av-icon{width:27px;height:27px;flex:none;stroke-width:1.8}
body.ux093 .p95-calendar .p95-av-kind small{font-size:10px;line-height:1.3;max-width:100%;overflow-wrap:anywhere}
body.ux093 .p95-calendar .p95-av-kind.p95-av-from,body.ux093 .p95-calendar .p95-av-kind.p95-av-until,body.ux093 .p95-calendar .p95-av-kind.p95-av-range{color:#1887be}
body.ux093 .p95-calendar .p95-av-kind.p95-av-busy{color:#c5354e}
body.ux093 .p95-bulk-editor [hidden]{display:none!important}
body.ux093 .p95-calendar .p95-legend{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;padding:12px 14px;border-radius:12px;background:#faf8ff;border:1px solid #e7e0fa}
body.ux093 .p95-legend .p95-dot.cyan{background:#1887be}body.ux093 .p95-legend .p95-dot.red{background:#d54756}
body.ux093 .p95-bulk-editor{gap:10px;padding:15px;border:1px solid #e5def7;box-shadow:0 7px 22px #47367b10}
body.ux093 .p99staff{width:100%;max-width:1320px;box-sizing:border-box}
body.ux093 .p99staff-month{grid-template-columns:repeat(7,minmax(0,1fr));grid-auto-rows:118px;align-items:stretch}
body.ux093 .p99staff-month .p99staff-day{height:118px!important;max-height:118px!important;min-height:0!important;box-sizing:border-box;overflow:auto;min-width:0;border-radius:12px}
body.ux093 .p99staff-month .p99staff-blank{min-width:0}
body.ux093 .p99staff-legend{padding:10px 13px;border:1px solid #e7e0f6;background:#faf9ff;border-radius:12px}
body.ux093 .p99staff-wish{background:transparent!important;border:1px dashed currentColor!important}
body.ux093 .p99staff-shift{border:1px solid transparent}
body.ux093 .p99staff-shift.main{background:#dff5e9;color:#12794b}
body.ux093 .p99staff-shift.morning_helper{background:#fff0d6;color:#a96800}
body.ux093 .p99staff-shift.evening_helper{background:#f0e6ff;color:#723cbd}
body.ux093 .p99staff-wish.full,body.ux093 .p99staff-wish.want{color:#12834f}
body.ux093 .p99staff-wish.range,body.ux093 .p99staff-wish.from,body.ux093 .p99staff-wish.until{color:#1789bb}
body.ux093 .p99-planner{max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
body.ux093 .p99-planner .p99-month-scroll{max-width:100%!important;width:100%!important;box-sizing:border-box!important}
body.ux093 .p99-planner .p99-month-table{table-layout:fixed!important;width:100%!important;min-width:1020px!important}
body.ux093 .p99-planner .p99-month-table :is(th,td){width:auto!important;max-width:none!important;min-width:110px!important;box-sizing:border-box}
body.ux093 .p99-planner .p99-month-table th:first-child{width:174px!important;min-width:174px!important;max-width:174px!important}
body.ux093 .p99-planner .p99-cell-actions{display:none!important}
body.ux093 .p99-planner .p99-month-table td.p99-open .p99-cell-actions{display:flex!important;position:absolute!important;left:auto!important;right:4px!important;top:34px!important;width:265px!important;max-width:min(265px,85vw)!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:4px!important;border-radius:15px!important;background:white!important;box-shadow:0 16px 40px #28204d36!important;padding:11px!important;z-index:150!important}
body.ux093 .p99-planner .p99-month-table td:hover .p99-cell-actions,body.ux093 .p99-planner .p99-month-table td:focus-within:not(.p99-open) .p99-cell-actions{display:none!important}
body.ux093 .p99-planner .p99-actions-title{font-size:12px;color:#50466e;padding:6px;border-bottom:1px solid #ece6f7;margin-bottom:3px}
body.ux093 .p99-planner .p99-cell-actions a{display:flex!important;gap:12px!important;align-items:center!important;padding:10px!important;border-radius:9px!important;text-decoration:none!important;font-size:12px!important;font-weight:650!important;min-height:38px!important;box-sizing:border-box!important}
body.ux093 .p99-planner .p99-cell-actions a:hover{background:#f4efff!important}
body.ux093 .p99-planner .p99-cell-actions svg{width:21px;height:21px;flex:none;stroke:currentColor;fill:none;stroke-width:1.9}
body.ux093 .p99-planner .p99-action-main svg{color:#178850}body.ux093 .p99-planner .p99-action-split svg{color:#8d53d2}body.ux093 .p99-planner .p99-action-find svg{color:#d98a00}
body.ux093 .p99-planner .p99-month-table td.p99-open{z-index:20!important}
body.ux093 .p99-planner .p99-av-marker{background:transparent!important;border:1px dashed #dad2ef!important;display:flex;gap:5px;align-items:center;justify-content:center;text-align:center}
body.ux093 .p99-planner .p99-av-marker small{font-size:10px}
body.ux093 .p99-planner .p99-av-full{color:#138451!important}body.ux093 .p99-planner .p99-av-morning{color:#bd7900!important}body.ux093 .p99-planner .p99-av-evening{color:#7540bb!important}body.ux093 .p99-planner .p99-av-interval{color:#1887bc!important}body.ux093 .p99-planner .p99-av-busy{color:#c5374e!important}
body.ux093 .p99-planner .p99-staff-assigned.p99-assigned-main{background:#e1f7e9!important;color:#157649!important}body.ux093 .p99-planner .p99-staff-assigned.p99-assigned-morning{background:#fff0d5!important;color:#ad6900!important}body.ux093 .p99-planner .p99-staff-assigned.p99-assigned-evening{background:#f0e6ff!important;color:#6e39c1!important}
body.ux093 .p99-planner .p99-marker-icon{height:15px;width:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8}
body.ux093 .p99-planner .p99-row-edit{display:block;font-size:10px;font-weight:550;margin-top:5px;color:#7541c4}
@media(max-width:700px){body.ux093 .p99staff-month{grid-auto-rows:82px}body.ux093 .p99staff-month .p99staff-day{height:82px!important;max-height:82px!important}body.ux093 .p95-bulk-calendar .p95-day{min-height:80px}body.ux093 .p95-calendar .p95-av-icon{width:21px;height:21px}body.ux093 .p95-calendar .p95-av-kind small{font-size:9px}}

body.ux093 .p99-av-legend{display:flex;flex-wrap:wrap;gap:8px 15px;border:1px solid #e4ddf4;border-radius:12px;padding:12px;margin:12px 0;background:#faf8ff;font-size:12px;color:#555174}
body.ux093 .p99-planner .p99-month-table td.p99-open .p99-cell-actions{overflow:visible!important}
/* Approved compact assignment interface: one visually primary status per day. */
body.ux093 .p99c{width:100%!important;box-sizing:border-box;padding:2px 0 10px}
body.ux093 .p99c h1{font-size:25px;line-height:1.3;letter-spacing:-.02em}
body.ux093 .p99c-tools{gap:10px;margin:14px 0;align-items:center}
body.ux093 .p99c .p99c-grid{border-radius:14px;box-shadow:0 5px 24px #30265e0b}
body.ux093 .p99c .p99c-table th{height:39px;background:#f0edfa;color:#29204d;font-size:12px}
body.ux093 .p99c .p99c-table td{padding:4px}
body.ux093 .p99c button.p99c-cell{height:48px!important;min-height:48px!important;border-radius:9px!important}
body.ux093 .p99c .p99c-cell .top{font-size:12px!important;font-weight:700}
body.ux093 .p99c .p99c-cell .small{font-size:10px!important}
body.ux093 .p99c .p99c-cell.assigned.full{background:#dff6e8!important;color:#14754a!important}
body.ux093 .p99c .p99c-cell.assigned.morning{background:#fff0d4!important;color:#aa6900!important}
body.ux093 .p99c .p99c-cell.assigned.evening{background:#eee6ff!important;color:#713ac4!important}
body.ux093 .p99c .p99c-cell.wish{background:#fff!important;border-style:dashed!important}
body.ux093 .p99c .p99c-cell.wish .top{font-size:12px!important}
body.ux093 .p99c .p99c-cell.mismatch{box-shadow:inset 0 0 0 1px #e13c50!important;border-color:#e13c50!important}
body.ux093 .p99c .p99c-menus{border-radius:16px!important;padding:12px!important;box-shadow:0 18px 55px #25174444!important;min-width:255px!important}
body.ux093 .p99c .p99c-menus button{font-size:13px!important;min-height:43px!important;padding:9px 12px!important;border-radius:9px!important;gap:10px!important;text-align:left!important}
body.ux093 .p99c .p99c-menus button:hover{background:#f2ecff!important}
body.ux093 .p99c .p99c-legend{background:#fff;font-size:12px;line-height:1.6;padding:12px}
body.ux093 .p99c .p99c-legend p{margin:8px 0}
/* An open menu stays visible while pointer remains over its originating day. */
body.ux093 .p99-planner .p99-month-table td.p99-open:hover .p99-cell-actions,
body.ux093 .p99-planner .p99-month-table td.p99-open:focus-within .p99-cell-actions{display:flex!important}
