/* POS-X R265: one scoped quick weekly editor for the calendar icon on the employee register. */
.r263-employee-weekly-dialog{position:fixed;inset:0;margin:auto;padding:0;border:0;border-radius:18px;width:min(1196px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:90vh;color:#173a2c;background:#fff;overflow:hidden;box-shadow:0 28px 95px rgba(5,36,25,.33);z-index:5200;font-family:inherit;box-sizing:border-box}
.r263-employee-weekly-dialog::backdrop{background:rgba(10,41,31,.54);backdrop-filter:blur(2px)}
.r263-employee-weekly-dialog *{box-sizing:border-box}
.r263-employee-weekly-dialog button,.r263-employee-weekly-dialog input,.r263-employee-weekly-dialog select{font:inherit}
.r263-employee-weekly-dialog button{cursor:pointer}
.r263-employee-weekly-dialog button:disabled{cursor:not-allowed;opacity:.53}
.r263-employee-weekly-dialog :is(button,input,select):focus-visible{outline:3px solid #6bcaa0;outline-offset:2px}
.r263-employee-weekly-dialog svg{width:18px;height:18px;flex-shrink:0}
.r263-wait{padding:35px 28px;text-align:center;color:#255846}
.r263-shell{display:flex;flex-direction:column;max-height:90vh;min-height:0}
.r263-hero{flex:0 0 auto;display:flex;align-items:center;gap:15px;background:linear-gradient(105deg,#00643e,#00905b 61%,#007b50);color:#fff;min-height:82px;padding:12px 23px}
.r263-hero-icon{width:51px;height:51px;border-radius:13px;background:rgba(255,255,255,.13);display:grid;place-items:center}
.r263-hero-icon svg{width:34px;height:34px;stroke-width:1.8}
.r263-hero h2{font-size:23px;font-weight:800;color:white;line-height:1.22;margin:0 0 5px}
.r263-hero p{font-size:12px;color:#e3f8ec;margin:0;line-height:1.6}
.r263-head-dot{padding:0 7px;color:#aedbc5}
.r263-x{margin-left:auto;display:grid;place-items:center;border:0;border-radius:9px;color:#145e41;background:#fff;width:36px;height:36px;padding:0}
.r263-body{overflow-y:auto;flex:1 1 auto;padding:17px 22px 15px;min-height:0;scrollbar-width:thin}
.r263-topline{background:linear-gradient(90deg,#edf8f1,#f4fbf7);border:1px solid #c0e0cd;min-height:54px;border-radius:10px;display:flex;align-items:center;gap:16px;justify-content:space-between;padding:10px 18px;margin-bottom:15px;font-size:14px;color:#174d35}
.r263-topline>div,.r263-green-state{display:flex;align-items:center;gap:9px}
.r263-topline>div>svg{color:#088453;width:21px;height:21px}
.r263-green-state{padding:5px 12px;border-radius:20px;background:#d3f3dc;color:#137541;font-size:12px;font-weight:800;white-space:nowrap}
.r263-green-state svg{width:17px;height:17px}
.r263-toolbar{display:grid;grid-template-columns:minmax(230px,1.2fr) minmax(380px,1.5fr) auto;gap:20px;align-items:end;margin-bottom:18px;padding:0 3px}
.r263-toolbar label,.r263-inline-field{display:flex;flex-direction:column;gap:6px;min-width:0;color:#294d3a;font-size:12px;font-weight:750}
.r263-toolbar label>span{font-size:12px;color:#2c6249}
.r263-toolbar select,.r263-toolbar input,.r263-inline-field :is(select,input){height:39px;min-height:39px;border:1px solid #bfcece;border-radius:8px;color:#203c30;background:#fff;padding:7px 10px;outline:none;width:100%;font-size:13px;font-weight:500}
.r263-period{display:flex;align-items:end;gap:10px}
.r263-period>label{min-width:0;flex:1}
.r263-dash{margin:0 0 11px;color:#7c9990;font-weight:bold}
.r263-soft-btn{align-self:end;display:inline-flex;align-items:center;justify-content:center;gap:7px;height:39px;padding:0 13px;border:1px solid #c6e5d4;border-radius:9px;background:#ecf6ff;color:#216aa0;font-size:12px;white-space:nowrap;font-weight:700}
.r263-soft-btn svg{width:16px;height:16px}
.r263-day-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:0 2px 17px}
:where(button).r263-day{display:flex;align-items:center;flex-direction:column;gap:5px;min-width:0;min-height:168px;position:relative;padding:10px 5px 8px;border-radius:11px;border:1px solid #c5e6d2;background:linear-gradient(180deg,#e9faf1 0%,#e2f9ec 100%);color:#174735;text-align:center;transition:border-color .12s,transform .12s,box-shadow .12s}
:where(button).r263-day b{font-size:13px;line-height:1.25;color:#145c3e}
:where(button).r263-day>small{font-size:10px;font-weight:650;color:#426b56}
.r263-day-main{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:100%;margin-top:3px;border:1px solid #a9dcc0;border-radius:8px;background:rgba(255,255,255,.24);padding:8px 2px 4px}
.r263-day-main svg{width:24px;height:24px;color:#00915a}
.r263-day-main strong{font-weight:800;font-size:12px;line-height:1.3;color:#144f36}
.r263-day-main em{font-style:normal;font-size:11px;color:#2d463d;white-space:nowrap}
:where(button).r263-day.off{background:linear-gradient(180deg,#fff7e6,#fff2cd);border-color:#f6dda4}
:where(button).r263-day.off .r263-day-main{border-color:#f3d28d}
:where(button).r263-day.off .r263-day-main svg{color:#f29a17}
:where(button).r263-day.off .r263-day-main strong{color:#d22b21}
:where(button).r263-day.leave,:where(button).r263-day.pending{background:#eef4ff;border-color:#cbd9fa}
:where(button).r263-day.leave .r263-day-main svg,:where(button).r263-day.pending .r263-day-main svg{color:#477fc9}
:where(button).r263-day.changed{box-shadow:inset 0 0 0 2px #e5aa31}
:where(button).r263-day.selected{box-shadow:0 0 0 3px #15965c}
:where(button).r263-day.swap-mode:not(.off){outline:2px dashed #d9a131;outline-offset:0}
:where(button).r263-day:not(:disabled):hover{border-color:#138d58;transform:translateY(-2px);box-shadow:0 5px 13px #135c3420}
.r263-pencil{display:flex;align-items:center;justify-content:center;gap:4px;min-height:22px;font-size:10px;font-weight:750;color:#166c48}
.r263-pencil svg{width:14px;height:14px}
.r263-editpanel{border:1px solid #bcdccd;border-radius:12px;padding:12px 16px 14px;background:#f8fcf9;margin-bottom:14px;box-shadow:0 3px 13px #18523b10}
.r263-edithead{display:flex;gap:12px;align-items:center;margin-bottom:12px}
.r263-edithead strong{display:flex;align-items:center;gap:7px;color:#176344;font-size:14px}
.r263-edithead>span{margin-left:auto;color:#617a6d;font-size:12px}
.r263-edithead>button{background:#fff;border:1px solid #dae8df;border-radius:6px;width:28px;height:28px;display:grid;place-items:center;color:#4b755e}
.r263-kindgrid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:11px}
.r263-kind{min-height:35px;border:1px solid #cfe0d5;background:#fff;color:#396050;border-radius:8px;font-size:11px;font-weight:750;display:flex;justify-content:center;align-items:center;gap:5px;padding:5px}
.r263-kind svg{width:15px;height:15px}
.r263-kind.active{background:#daf4e5;border-color:#16a16b;color:#08613e;box-shadow:inset 0 0 0 1px #16a16b}
.r263-inline-field{margin-bottom:9px}
.r263-inline-field select,.r263-inline-field input{max-width:500px}
.r263-leavenote{font-size:11px;color:#745526;background:#fff5dc;border:1px solid #f7deaf;padding:8px 10px;border-radius:8px;margin:1px 0 10px}
.r263-editbuttons{display:flex;justify-content:end;gap:8px}
.r263-mini-primary,.r263-mini-light{display:flex;align-items:center;justify-content:center;gap:5px;border-radius:7px;height:33px;padding:0 15px;font-size:12px;font-weight:750}
.r263-mini-primary{background:#008856;border:1px solid #008856;color:#fff}
.r263-mini-light{background:#fff;border:1px solid #ccddd4;color:#476c56}
.r263-mini-primary svg{width:15px;height:15px}
.r263-validation{color:#8e530b;background:#fff7e1;border:1px solid #efc977;border-radius:9px;display:flex;gap:9px;align-items:center;margin:0 2px 10px;font-size:12px;font-weight:700;padding:9px 12px}
.r263-validation svg{color:#c48313;width:17px;height:17px}
.r263-bottomrow{padding:2px 4px 10px}
.r263-legend{display:flex;align-items:center;justify-content:center;gap:23px;flex-wrap:wrap}
.r263-legend>span{display:flex;align-items:center;gap:5px;color:#4b604f;font-size:11px;font-weight:750;white-space:nowrap}
.r263-legend>span:nth-child(1) svg{color:#008d56}
.r263-legend>span:nth-child(2) svg{color:#e13a42}
.r263-legend>span:nth-child(3) svg{color:#e89018}
.r263-legend>span:nth-child(4) svg{color:#884be0}
.r263-legend>span:nth-child(5) svg{color:#e4a31b}
.r263-legend svg{width:17px;height:17px}
.r263-instruction{border-top:1px solid #e3eee8;padding:10px 2px 0;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;color:#618270;font-size:11px}
.r263-instruction>span:first-child{display:flex;align-items:center;gap:6px}
.r263-instruction svg{color:#08784e;width:17px;height:17px}
.r263-notice{border-radius:8px;color:#0d6947;background:#e8f8ef;border:1px solid #bce7ce;padding:10px 12px;font-size:12px;font-weight:700;margin-top:10px}
.r263-notice.error{background:#fff0ed;color:#a73227;border-color:#f2c4b9}
.r263-notice[hidden]{display:none}
.r263-footer{flex:0 0 auto;display:flex;justify-content:flex-end;align-items:center;gap:9px;padding:14px 20px;background:#fff;border-top:1px solid #e5ece8;box-shadow:0 -2px 10px #07382409}
.r263-unsaved{margin-right:auto;color:#668070;font-size:11px;font-weight:700}
.r263-action,.r263-save{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;height:40px;padding:0 17px;font-size:12px;font-weight:750;white-space:nowrap}
.r263-action{color:#215b41;background:white;border:1px solid #bbd0c5}
.r263-action.active{background:#fff3d4;border-color:#d6a435;color:#7c5105}
.r263-save{background:#008752;color:#fff;border:1px solid #008752;padding:0 23px}
.r263-save svg,.r263-action svg{width:18px;height:18px}
@media(max-width:1120px){.r263-toolbar{grid-template-columns:1fr 1.3fr}.r263-apply-pattern{grid-column:1/-1;justify-self:end}.r263-legend{gap:12px}:where(button).r263-day{min-height:160px}}
@media(max-width:850px){.r263-body{padding:12px}.r263-hero{padding:12px;gap:10px}.r263-hero h2{font-size:18px}.r263-day-grid{display:flex;overflow-x:auto;gap:7px;padding:2px 1px 8px}:where(button).r263-day{min-width:135px}.r263-toolbar{grid-template-columns:1fr;gap:10px}.r263-period{gap:7px}.r263-apply-pattern{grid-column:auto}.r263-kindgrid{grid-template-columns:repeat(3,minmax(0,1fr))}.r263-footer{flex-wrap:wrap;justify-content:space-between}.r263-unsaved{width:100%;margin:0}.r263-action,.r263-save{flex:1;padding:0 8px}.r263-instruction>span:last-child{display:none}}
@media(max-width:520px){.r263-employee-weekly-dialog{width:calc(100vw - 8px);max-width:calc(100vw - 8px);max-height:96vh}.r263-shell{max-height:96vh}.r263-hero-icon{width:38px;height:38px}.r263-hero-icon svg{width:26px;height:26px}.r263-hero h2{font-size:16px}.r263-hero p{font-size:10px}.r263-topline{font-size:11px;padding:9px}.r263-green-state{font-size:10px}.r263-legend{justify-content:flex-start}.r263-footer{gap:6px}.r263-action,.r263-save{font-size:11px;height:36px}.r263-dash{margin-bottom:10px}}

/* R266: employee-only weekly exception UX. No changes to HR work-schedule page. */
.r263-topline strong{font-weight:800}
.r266-reference{height:39px;display:flex;gap:8px;align-items:center;border:1px solid #c8ded1;background:#f4faf6;color:#175f40;border-radius:8px;padding:0 11px;font-size:13px;font-weight:700;min-width:0}
.r266-reference svg{color:#008857;width:17px;height:17px}
.r266-reference-info{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:#367c5a;align-self:end;min-height:39px}
.r266-reference-info svg{width:16px;height:16px}
.r266-week-summary{display:flex;align-items:center;flex-wrap:wrap;gap:10px 17px;margin:0 2px 10px;padding:11px 13px;border:1px solid #c3e3d1;background:#f1faf4;border-radius:9px;color:#2b5e47;font-size:12px}
.r266-week-summary>strong{display:inline-flex;align-items:center;gap:6px;color:#0c6543}
.r266-week-summary svg{width:19px;height:19px}
.r266-week-summary b{font-size:16px;color:#124b31}
.r266-week-summary .r266-review{margin-left:auto;background:#fff4d9;border:1px solid #f0d7a0;border-radius:8px;padding:5px 10px;color:#8b5200;font-weight:800}
.r266-week-summary .r266-review b{color:#b35e00}
.r266-review-msg{font-size:11px;font-weight:600;line-height:1.55}
.r266-required{color:#b82b28;font-weight:800}
:where(button).r263-day.emergency{background:linear-gradient(180deg,#ffe9e7,#ffdddd);border-color:#f6c4bd}
:where(button).r263-day.emergency .r263-day-main{border-color:#efb7b0}
:where(button).r263-day.emergency .r263-day-main svg,:where(button).r263-day.emergency .r263-day-main strong{color:#ca2820}
.r263-kindgrid{grid-template-columns:repeat(6,minmax(0,1fr))}
.r263-toolbar{grid-template-columns:minmax(245px,1.15fr) minmax(380px,1.5fr) auto}
@media(max-width:1120px){.r263-toolbar{grid-template-columns:1fr 1.25fr}.r266-reference-info{grid-column:1/-1;justify-self:end}}
@media(max-width:850px){.r263-toolbar{grid-template-columns:1fr}.r266-reference-info{grid-column:auto}.r263-kindgrid{grid-template-columns:repeat(3,minmax(0,1fr))}.r266-week-summary .r266-review{margin-left:0}}

.r273-leave-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0 0 12px;
}
.r273-leave-facts dt { font-weight: 700; }
.r273-leave-facts dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}
