/* POS-X R260: approved weekly assignment mockup, scoped to HR only */
.r260-root{--r260-g:#00865b;--r260-d:#006b50;--r260-b:#dbe5ef;--r260-ink:#1e293b;--r260-pale:#e7f5ee;color:var(--r260-ink);font-family:inherit;font-size:12px;padding:16px;background:linear-gradient(110deg,#f7f9fd,#eff4fb);min-height:calc(100vh - 68px)}
.r260-root *{box-sizing:border-box}.r260-root button,.r260-root input,.r260-root select,.r260-root textarea{font:inherit}.r260-root button{cursor:pointer}.r260-root :is(svg.lucide,i[data-lucide]){width:17px;height:17px;display:inline-block;vertical-align:middle;flex:none}.r260-root button:disabled{opacity:.45;cursor:not-allowed}.r260-root input[type=checkbox]{accent-color:#008860;cursor:pointer;width:16px;height:16px}.r260-root .r260-panel{background:#fff;border:1px solid #d5e1ec;border-radius:13px;box-shadow:0 3px 10px #223a5720}
.r260-heading{display:flex;align-items:center;gap:18px;margin:0 0 16px}.r260-heading small{color:#006e53;font-size:11px;font-weight:700}.r260-heading h1{font-size:23px!important;font-weight:800!important;line-height:1.2;margin:3px 0!important}.r260-heading p{font-size:12px;margin:0}.r260-brand{display:grid;place-items:center;color:#fff;width:55px;height:55px;border-radius:14px;background:linear-gradient(#00aa70,#006e54);box-shadow:0 8px 14px #00725036}.r260-brand svg{width:27px!important;height:27px!important}.r260-flow{margin-left:auto;display:flex;gap:9px;align-items:center;border:1px solid #d7e2ed;background:#ffffffb8;border-radius:11px;padding:8px 12px;white-space:nowrap;font-size:11px}.r260-flow span{color:#637386}.r260-flow b{background:linear-gradient(#069c66,#007251);color:white;padding:7px 10px;border-radius:20px}
.r260-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:13px}.r260-tabs button{background:linear-gradient(white,#f3f5fa);border:1px solid var(--r260-b);color:#253245;padding:11px 7px;border-radius:9px;min-height:43px;font-weight:750;box-shadow:0 2px 0 #dae3ec}.r260-tabs button.active{background:linear-gradient(#00a46d,#006e51);color:#fff;border-color:#0b8059}.r260-tabs svg{margin-right:7px}
.r260-toolbar{padding:12px 14px;margin-bottom:14px}.r260-toolbar-top{display:grid;grid-template-columns:minmax(205px,1.5fr) minmax(220px,1.6fr) minmax(155px,1fr) minmax(220px,1.9fr);gap:15px;align-items:end}.r260-toolbar label:not(.r260-radio){font-weight:750;display:flex;flex-direction:column;gap:6px}.r260-toolbar label span{color:#d7263d}.r260-toolbar fieldset{border:0;border-left:1px solid #dae5ef;padding:2px 0 0 15px;display:flex;align-items:center;gap:12px;min-width:0;margin:0;flex-wrap:wrap}.r260-toolbar legend{font-weight:750;white-space:nowrap;margin-bottom:5px}.r260-radio{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.r260-root :is(select,input[type=date],input[type=search]){background:#fff;border:1px solid #cedbe7;border-radius:7px;min-height:36px;color:#233247;padding:6px 9px;min-width:0}.r260-toolbar select,.r260-toolbar input[type=date]{width:100%;max-width:100%}.r260-week-picker{display:flex;align-items:center;justify-content:space-between;border:1px solid #d1dfea;border-radius:7px;background:white;min-height:36px}.r260-week-picker button{border:0;background:transparent;color:#52677a;font-size:25px;font-weight:600;width:28px;line-height:1}.r260-week-picker strong{text-align:center;font-size:12px}.r260-toolbar-bottom{border-top:1px solid #e9eef4;padding-top:10px;margin-top:11px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}.r260-toolbar-bottom input[type=search]{width:260px;flex:1;max-width:390px}.r260-toolbar-bottom select{width:180px}.r260-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:#f3f6fa;border:1px solid #cbd8e7;border-radius:8px;min-height:36px;padding:8px 12px;color:#243246;font-weight:700;white-space:nowrap}.r260-btn.green{background:linear-gradient(#00a76d,#006e51);color:white;border-color:#007552}.r260-btn.light{background:linear-gradient(#fff,#f1f4f9)}.r260-btn.selected{background:#d7f4e7;color:#006b48;border-color:#00a16b}.r260-btn:focus-visible,.r260-cell:focus-visible{outline:2px solid #1676c5;outline-offset:2px}.r260-main{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:12px;align-items:start}.r260-panel-head{padding:11px 13px;display:flex;align-items:center;justify-content:space-between;gap:8px}.r260-panel-head h3{margin:0!important;font-size:16px!important;display:flex;align-items:center;gap:9px}.r260-panel-head h3 svg{color:#008860;width:22px!important;height:22px!important}.r260-panel-head h3 small{font-weight:500;font-size:11px}.r260-legend{display:flex;gap:5px;flex-wrap:wrap}
.r260-pill{border-radius:8px;display:inline-block;padding:5px 8px;font-weight:750;font-size:10px;white-space:nowrap}.r260-pill.green{background:#e1f8e8;color:#168052}.r260-pill.rose{background:#ffdee4;color:#c73b4c}.r260-pill.blue{background:#e0f0ff;color:#2266a7}.r260-pill.amber{background:#fff1c8;color:#8c6214}
.r260-table-scroll{overflow:auto;width:100%;scrollbar-width:thin}.r260-table{width:100%;min-width:1150px;border-collapse:collapse;table-layout:auto;white-space:nowrap;font-size:11px}.r260-table th{background:#e7f5ed;font-weight:750;color:#18382f;text-align:center;padding:9px 6px;position:sticky;top:0;z-index:1}.r260-table th small{display:block;margin-top:3px;color:#577067;font-size:10px}.r260-table td{border-bottom:1px solid #e7edf2;text-align:center;padding:5px 4px}.r260-table .r260-name{text-align:left;font-weight:650}.r260-table tbody tr:nth-child(even){background:#fbfcfe}.r260-cell{display:block;border:1px solid transparent;border-radius:7px;padding:7px 6px;width:100%;min-width:53px;font-size:10px;font-weight:800;line-height:1.2;white-space:nowrap}.r260-cell.work{background:#def6e5;color:#136f42}.r260-cell.off{background:#ffdde0;color:#be3f49}.r260-cell.leave{background:#e1ecff;color:#1e5ea3}.r260-cell.staged{border-color:#e6ab18;background:#fff2ce;color:#8c5810}.r260-cell.overridden:not(.staged){box-shadow:inset 0 0 0 1px #159768}.r260-mini{background:white;border:1px solid #d1e3eb;color:#0a8b64;border-radius:6px;width:29px;height:29px;padding:5px}.r260-no-data{padding:20px!important;color:#6a7787;text-align:center!important}.r260-paging{display:flex;gap:9px;align-items:center;justify-content:flex-end;padding:10px 12px;flex-wrap:wrap}.r260-paging small{margin-right:auto;color:#69798c}.r260-paging label{display:flex;gap:5px;align-items:center}.r260-paging select{min-height:29px;padding:4px 8px}.r260-paging button{background:white;border:1px solid #cdd9e7;border-radius:7px;width:27px;height:29px}.r260-paging strong{background:#038a5b;color:white;border-radius:6px;padding:6px 10px}
.r260-aside{display:grid;gap:10px}.r260-aside section{overflow:hidden}.r260-aside h3{font-size:14px!important;margin:0!important;padding:12px;background:#ebf8f0;border-bottom:1px solid #dae8e0}.r260-aside h3 svg{color:#008d60}.r260-stat{display:flex;justify-content:space-between;gap:5px;align-items:center;padding:10px 13px;border-bottom:1px solid #ebf0f3}.r260-stat:last-child{border:0}.r260-explain{background:#eaf8ee!important;padding-bottom:8px}.r260-explain p{font-size:11px;line-height:1.5;margin:9px 13px}.r260-history{margin-top:12px;overflow:hidden}.r260-history h3{font-size:15px!important;margin:0!important;padding:12px}.r260-history h3 svg{color:#007c55}.r260-history-scroll{max-height:185px;overflow:auto}.r260-history table{border-collapse:collapse;width:100%;font-size:11px}.r260-history th{background:#e8f6ee;text-align:left;padding:9px}.r260-history td{padding:9px;border-bottom:1px solid #e9eef4}.r260-bottom{display:flex;align-items:center;justify-content:space-between;padding:12px 15px;margin-top:12px;gap:10px;flex-wrap:wrap}.r260-bottom>div:first-child{display:flex;flex-direction:column;gap:4px}.r260-bottom small{color:#64748b}.r260-bottom-actions{display:flex;gap:8px;flex-wrap:wrap}.r260-alert{padding:12px 15px;background:#e8f6eb;border:1px solid #a9d8b4;color:#126941;margin-bottom:12px;border-radius:8px}.r260-alert.error{background:#ffebee;border-color:#f2b0b8;color:#b52b3e}.r260-loading{padding:36px;text-align:center;color:#52667a}
.r260-overlay{position:fixed;inset:0;z-index:99999;background:#1423346b;display:grid;place-items:center;padding:14px}.r260-dialog{width:min(410px,95vw);border-radius:14px;background:#fff;border:1px solid #d7e3ed;box-shadow:0 16px 40px #0e223f38;padding:17px;font-size:12px}.r260-dialog header{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.r260-dialog h3{font-size:18px!important;margin:0!important}.r260-dialog header button{border:0;font-size:24px;line-height:1;background:#f1f4f7;border-radius:7px;width:30px;height:30px}.r260-dialog p{margin:7px 0}.r260-dialog-actions{display:flex;gap:6px;flex-wrap:wrap;margin:15px 0}.r260-dialog .r260-btn{min-height:33px;font-size:11px}.r260-dialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-weight:700}.r260-dialog :is(select,textarea){width:100%;border:1px solid #cfdce8;border-radius:8px;padding:9px;background:#fff;color:#253447;max-width:100%}.r260-dialog footer{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.r260-dialog-hint{color:#597185;font-size:11px}
@media(max-width:1500px){.r260-flow{display:none}.r260-main{grid-template-columns:minmax(0,1fr) 228px}.r260-toolbar-top{grid-template-columns:1fr 1fr 1fr 1.3fr}}
@media(max-width:1100px){.r260-main{grid-template-columns:1fr}.r260-aside{grid-template-columns:1fr 1fr}.r260-toolbar-top{grid-template-columns:1fr 1fr}.r260-toolbar-bottom input[type=search]{max-width:none}}
@media(max-width:680px){.r260-root{padding:9px}.r260-heading h1{font-size:20px!important}.r260-brand{width:44px;height:44px}.r260-toolbar-top{grid-template-columns:1fr}.r260-toolbar fieldset{border:0;padding:0}.r260-tabs{grid-template-columns:1fr}.r260-aside{grid-template-columns:1fr}.r260-toolbar-bottom>*{flex:1}.r260-bottom-actions>.r260-btn{flex:1}}
.r260-dialog .r260-leave-link{width:100%;white-space:normal;font-size:11px;padding:9px 4px}

/* R261 weekly assignment layout */
.r260-root .r260-flow{display:flex;align-items:center;gap:10px;padding:6px 10px;font-size:12px}
.r261-step{display:inline-flex;gap:6px;align-items:center;padding:5px 6px;font-weight:700}
.r261-step strong{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#a6b1bf;color:white}
.r261-step.done strong,.r261-step.current strong{background:#00664d}
.r261-step.done svg{color:#008359}
.r260-flow .r261-step.current{background:linear-gradient(#069c66,#007251);color:white;border-radius:18px;padding-inline:10px}
.r260-flow>svg{width:15px;color:#91a0af;flex:none}
.r260-root .r260-tabs{max-width:min(100%,1100px)}
.r260-root .r260-toolbar-top{grid-template-columns:minmax(220px,1.5fr) minmax(180px,1.35fr) minmax(95px,.7fr) minmax(95px,.7fr) repeat(4,max-content);gap:9px}
.r261-week-field{display:grid;gap:6px}
.r261-week-field>strong>span{color:#d7263d}
.r260-root .r260-toolbar-bottom{align-items:end;padding-top:8px;margin-top:8px}
.r260-root .r260-toolbar-bottom input[type=date]{min-width:140px}
.r260-root .r260-toolbar-bottom fieldset{align-self:end}
.r260-root .r261-import{background:#e6f7ee;color:#075e41}
.r261-board{display:grid;gap:12px;min-width:0}
.r261-board .r260-history{margin-top:0}
.r260-root .r260-table{min-width:875px}
.r260-root .r260-table th,.r260-root .r260-table td{padding:5px 5px;vertical-align:middle}
.r260-root .r260-table input[type=checkbox]{width:16px;height:16px;min-height:0;padding:0;margin:0 auto;vertical-align:middle}
.r260-root .r260-table tr.r261-selected td{background:#edf8f2}
.r260-root .r260-cell{min-height:32px}
.r260-root .r260-cell.staged,.r260-root .r260-cell.overridden{background:#fff0c8;border-color:#e3ab1a;color:#79530c}
.r260-root .r260-paging label{white-space:nowrap;flex-direction:row;align-items:center}
.r260-root .r260-overlay.anchored{display:block;background:#172a3622}
.r260-overlay.anchored .r260-dialog{position:fixed;left:clamp(12px,var(--r261-popup-x),calc(100vw - min(410px,100vw - 24px) - 12px));top:clamp(12px,var(--r261-popup-y),calc(100dvh - min(480px,100dvh - 24px) - 12px));max-height:calc(100dvh - 24px);overflow:auto}
.r260-dialog .r260-dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.r260-dialog [data-kind=WORK]{background:#e5f7eb;color:#075d3f}
.r260-dialog [data-kind=OFF]{background:#ffe8ef;color:#a42749}
.r260-dialog [data-kind=RESET]{grid-column:1/-1}
.r260-dialog .r260-btn[aria-pressed=true]{outline:2px solid #03885e;outline-offset:-2px}
.r261-leave-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:8px}
.r261-leave-actions .r260-btn{background:#e7f2ff;color:#1d588a;font-size:11px;padding-inline:4px}
@media(max-width:1500px){.r260-root .r260-flow{display:none}.r260-root .r260-toolbar-top{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:740px){.r260-root .r260-toolbar-top{grid-template-columns:1fr 1fr}.r260-root .r260-overlay.anchored{display:grid}.r260-overlay.anchored .r260-dialog{position:static}}

/* R262 weekly board and day menu */
.r260-root .r260-toolbar{padding:10px 13px}
.r260-root .r260-toolbar-top{align-items:end}
.r260-root .r260-toolbar-top label select,.r260-root .r260-toolbar-top .r260-week-picker{height:36px;min-height:36px}
.r262-advanced{margin-top:7px;color:#395b53}
.r262-advanced>summary{cursor:pointer;font-size:11px;line-height:1.25;width:max-content;max-width:100%}
.r260-root .r260-table-panel{padding:0 10px 10px}
.r260-root .r260-table{border:1px solid #e0e9e6;border-collapse:separate;border-spacing:0;border-radius:8px;overflow:hidden}
.r260-root .r260-table td{border-top:1px solid #edf2ef}
.r260-root .r260-table td+td,.r260-root .r260-table th+th{border-left:1px solid #edf2ef}
.r260-root .r260-cell{cursor:pointer}
.r260-root .r260-cell:focus-visible{outline:2px solid #056b4d;outline-offset:1px}
.r260-root .r260-cell:hover{filter:brightness(.96)}
.r260-root .r260-panel.r260-bottom{position:sticky;bottom:0;z-index:4;background:#f9fbfd;box-shadow:0 -5px 16px #0e2d2420}
.r260-root .r260-panel.r260-bottom [data-r260=save-changes]{min-width:230px}
.r260-root .r260-explain p{margin-block:7px}
.r260-root .r260-overlay.anchored{background:#152b3210}
.r260-overlay.anchored .r260-dialog{width:min(360px,calc(100vw - 24px));left:clamp(12px,var(--r261-popup-x),calc(100vw - min(360px,100vw - 24px) - 12px))}
.r262-state-label{margin-top:9px;font-weight:750}
.r262-state-label span{color:#b92242}
.r260-dialog .r260-dialog-actions{margin:5px 0 8px}
.r260-dialog .r260-dialog-actions .r260-btn{justify-content:flex-start}
.r260-dialog [data-kind=SICK],.r260-dialog [data-kind=PERSONAL]{background:#e4f2ff;color:#155477}
.r260-dialog [data-kind=VACATION]{background:#eee8fb;color:#60418c}
.r260-dialog .r260-btn[aria-pressed=true] svg:last-child{margin-inline-start:auto;color:#078254}
.r260-dialog [data-r260-note]{min-height:42px}
@media(max-width:740px){.r260-root .r260-panel.r260-bottom{position:relative}.r260-root .r260-panel.r260-bottom [data-r260=save-changes]{min-width:0}}
@media(min-width:1501px){.r260-root .r260-main{grid-template-columns:minmax(0,1fr) minmax(255px,22.5%)}}

/* R263: align weekly filters, table columns and the day editor. */
.r260-root .r260-toolbar {
  padding: 12px;
  margin-bottom: 16px;
}
.r260-toolbar-top > .r261-week-field,
.r260-root .r260-toolbar-top > label {
  display: grid;
  grid-template-rows: 17px 38px;
  gap: 5px;
  margin: 0;
  min-width: 0;
  line-height: 17px;
}
.r260-root .r260-toolbar-top :is(select, .r260-week-picker, .r260-btn) {
  height: 38px;
  min-height: 38px;
  margin: 0;
}
.r260-week-picker strong {
  line-height: 1.2;
}
@media (min-width: 1501px) {
  .r260-root .r260-toolbar-top {
    grid-template-columns: minmax(185px, 21fr) minmax(172px, 20fr)
      minmax(96px, 11fr) minmax(94px, 10fr) repeat(4, max-content);
    gap: 12px;
  }
}

.r261-board {
  gap: 20px;
}
.r260-root .r260-table {
  table-layout: fixed;
}
.r263-check-col { width: 4%; }
.r263-code-col { width: 8%; }
.r263-name-col { width: 17%; }
.r263-dept-col { width: 8%; }
.r263-day-col { width: 7.85%; }
.r260-root .r260-table th {
  height: 52px;
  line-height: 1.2;
}
.r260-root .r260-table th small {
  margin-top: 4px;
}
.r260-root .r260-table td {
  height: 40px;
  padding-block: 3px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.25;
}
.r260-root .r260-table td.r260-day-cell {
  padding-inline: 2px;
}
.r260-root .r260-table .r260-name,
.r260-root .r260-table .r263-dept {
  padding-inline: 9px;
  text-align: left;
}
.r260-root .r260-cell {
  min-width: 0;
  min-height: 32px;
  padding: 5px 2px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.r260-root .r260-history th,
.r260-root .r260-history td {
  padding-block: 6px;
}

.r260-root .r260-overlay.anchored {
  --r263-dialog-width: min(310px, calc(100vw - 24px));
  display: flex;
  flex-direction: column;
  padding: 12px;
}
.r260-overlay.anchored::before {
  content: "";
  flex: 0 1 max(0px, calc(var(--r261-popup-y) - 12px));
  min-height: 0;
}
.r260-root .r260-overlay.anchored .r260-dialog {
  position: static;
  flex: none;
  width: var(--r263-dialog-width);
  max-height: 100%;
  margin-left: clamp(0px, calc(var(--r261-popup-x) - 12px),
    calc(100vw - 24px - var(--r263-dialog-width)));
  padding: 12px 14px;
}
.r260-root .r260-dialog header {
  margin-bottom: 5px;
}
.r260-root .r260-dialog p {
  margin: 3px 0;
  line-height: 1.35;
}
.r260-root .r262-state-label {
  margin-top: 6px;
}
.r260-root .r260-dialog .r260-dialog-actions {
  gap: 4px;
  margin: 4px 0 6px;
}
.r260-root .r260-dialog .r260-btn {
  min-height: 29px;
  padding-block: 4px;
}
.r260-root .r260-dialog label {
  gap: 3px;
  margin: 6px 0;
  line-height: 1.35;
}
.r260-root .r260-dialog [data-r260-shift],
.r260-root .r260-dialog [data-r260-note] {
  min-height: 32px;
  margin: 0;
  padding: 5px 8px;
  font-size: 12px;
  line-height: 1.4;
}
.r260-root .r260-dialog [data-r260-note] {
  resize: vertical;
}
.r260-root .r260-dialog footer {
  margin-top: 8px;
}
@media (max-width: 740px) {
  .r260-root .r260-overlay.anchored {
    display: grid;
    place-items: center;
  }
  .r260-overlay.anchored::before {
    display: none;
  }
  .r260-root .r260-overlay.anchored .r260-dialog {
    margin-left: 0;
    max-height: calc(100dvh - 24px);
  }
}
