html,body.staffops-app-body{margin:0!important;padding:0!important;min-height:100%;background:#f5f7fa!important;color:#172033!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}html{margin-top:0!important}.staffops-app-body #wpadminbar{display:none!important}.staffops-terminal{min-height:100vh;padding:24px clamp(14px,2.4vw,34px) 38px;background:#f5f7fa;color:#172033}.staffops-terminal *{box-sizing:border-box}.staffops-terminal-head{max-width:1600px;margin:0 auto 16px;display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.staffops-kicker{display:block;font-size:11px;font-weight:850;letter-spacing:.1em;text-transform:uppercase;color:#728096}.staffops-terminal h1{margin:3px 0 2px;font-size:clamp(26px,2.4vw,34px);line-height:1.05;color:#0f172a}.staffops-terminal h2{color:#0f172a}.staffops-subtitle{margin:0;color:#748096;font-size:14px}.staffops-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.staffops-top-btn,.staffops-btn,.staffops-mini,.staffops-name,.staffops-link,.staffops-profile,.staffops-segmented button,.staffops-manager-card,.staffops-unlock-corner{appearance:none;font:inherit;cursor:pointer}.staffops-top-btn{border:1px solid #d8e0e8;background:#fcfcfb;color:#263548;border-radius:11px;padding:10px 14px;font-size:13px;font-weight:800;box-shadow:0 1px 2px rgba(15,23,42,.03)}.staffops-top-btn:hover{border-color:#afbecd;background:#fbfdff}.staffops-reinforcement-btn{border-color:#b9d9c5;background:#f1fbf5;color:#17643a}.staffops-toolbar,.staffops-table-shell{max-width:1600px;margin:0 auto;background:#fcfcfb;border:1px solid #e3e9ef;border-radius:16px;box-shadow:0 2px 12px rgba(15,23,42,.035)}.staffops-toolbar{padding:9px;display:flex;align-items:center;margin-bottom:12px}.staffops-segmented{display:flex;gap:5px;flex-wrap:wrap}.staffops-segmented button{display:inline-flex;align-items:center;gap:7px;border:0;background:#f3f6f9;color:#536174;border-radius:10px;padding:9px 12px;font-size:13px;font-weight:780}.staffops-segmented button strong{display:inline-flex;min-width:23px;height:23px;align-items:center;justify-content:center;border-radius:999px;background:#e4eaf0;color:#334155;font-size:11px}.staffops-segmented button.is-active{background:#183a59;color:#fff}.staffops-segmented button.is-active strong{background:rgba(255,255,255,.18);color:#fff}.staffops-table-shell{overflow:hidden}.staffops-roster-head,.staffops-row{display:grid;grid-template-columns:minmax(180px,1.25fr) minmax(220px,1.6fr) minmax(145px,1fr) minmax(145px,1fr) 105px 165px 90px;gap:10px;align-items:center}.staffops-roster-head{padding:10px 15px;background:#f8fafc;border-bottom:1px solid #e8edf3;color:#718096;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.07em}.staffops-roster{padding:7px}.staffops-row{min-height:68px;padding:8px;margin-bottom:5px;border:1px solid transparent;border-radius:12px;background:#fcfcfb;transition:.15s}.staffops-row:hover{border-color:#dbe4ed;background:#fcfdff}.staffops-row>div{min-width:0}.staffops-name{display:block;width:100%;border:1px solid #c8dcea;background:#f5fbff;text-align:left;padding:10px 12px;font-size:15px;font-weight:850;color:#0e578c;border-radius:10px}.staffops-name:hover{background:#eaf6fd;border-color:#8fbfdc}.staffops-day-status{font-size:11px;font-weight:730;color:#6b7787;padding:4px 9px 0}.staffops-day-status.late,.staffops-day-status.absence{color:#b42318}.staffops-day-status.off,.staffops-day-status.done{color:#7a8491}.staffops-day-status.pending{color:#9a6700}.staffops-day-status.reinforcement{color:#17643a}.staffops-link{border:0;background:transparent;padding:8px 6px;text-align:left;font-weight:760;color:#14689e;border-radius:8px;line-height:1.35}.staffops-link:hover{background:#f0f7fb}.staffops-link small{display:inline-block;font-size:10px;font-weight:800;color:#64748b;background:#eef2f6;border-radius:999px;padding:2px 5px}.staffops-mini{border:1px solid #d9e1e9;background:#fcfcfb;color:#344258;border-radius:9px;padding:9px 10px;font-size:12px;font-weight:780;white-space:nowrap}.staffops-mini:hover{background:#f8fafc}.staffops-mini.is-active{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}.staffops-mini.is-over{background:#fff1f2;border-color:#fda4af;color:#be123c}.staffops-danger{border-color:#fecaca;color:#b91c1c;background:#fcfcfb}.staffops-unavailable{color:#9a5d00}.staffops-row.is-scheduled-off,.staffops-row.is-done{background:#f2f4f6;opacity:.76}.staffops-row.is-late{border-color:#f5b5bb;background:#fffafa}.staffops-row.is-reinforcement{border-left:4px solid #64b884}.staffops-feedback{max-width:1600px;margin:7px auto 0;min-height:24px;color:#b42318;font-size:13px;font-weight:700}.staffops-empty,.staffops-load-error{padding:22px;text-align:center;color:#657184}.staffops-load-error{color:#991b1b;background:#fff1f2}.staffops-modal{position:fixed;inset:0;background:rgba(15,23,42,.45);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:20px;z-index:999999}.staffops-modal[hidden]{display:none}.staffops-modal-card{position:relative;width:min(680px,100%);max-height:88vh;overflow:auto;background:#fcfcfb;color:#172033;border-radius:20px;padding:25px;box-shadow:0 30px 90px rgba(15,23,42,.25)}.staffops-modal-card h3{margin:0 34px 15px 0;font-size:21px}.staffops-modal-close{position:absolute;right:13px;top:11px;width:34px;height:34px;border:0;border-radius:10px;background:#f1f5f9;color:#475569;font-size:23px;cursor:pointer}.staffops-modal-card label{display:block;margin-top:11px;color:#334155;font-size:13px;font-weight:750}.staffops-pin,.staffops-select,.staffops-private-login input{width:100%;font-size:15px;padding:12px 13px;margin-top:6px;border:1px solid #cbd5e1;border-radius:11px;background:#fcfcfb;color:#172033;outline:none}.staffops-pin:focus,.staffops-select:focus,.staffops-private-login input:focus{border-color:#60a5fa;box-shadow:0 0 0 3px rgba(96,165,250,.15)}.staffops-modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:17px}.staffops-btn{border:1px solid #dbe1e8;background:#fcfcfb;color:#334155;border-radius:10px;padding:11px 15px;font-weight:800}.staffops-primary{background:#1769aa;color:#fff;border-color:#1769aa}.staffops-profile-list{display:grid;gap:9px}.staffops-profile{display:flex;justify-content:space-between;gap:10px;border:1px solid #dbe5ee;background:#fcfcfb;border-radius:12px;padding:14px;text-align:left;font-size:14px;font-weight:750;color:#1e3a5f}.staffops-profile:hover{background:#f4f9fd;border-color:#aacbe2}.staffops-profile span{color:#b42318}.staffops-inline-error{min-height:20px;color:#b42318;font-weight:700;margin-top:8px;font-size:13px}.staffops-time-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}.staffops-manager-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.staffops-manager-card{border:1px solid #dbe5ee;border-radius:14px;background:#f9fbfd;padding:18px;text-align:left;color:#1e293b}.staffops-manager-card strong{display:block;font-size:16px}.staffops-manager-card span{display:block;margin-top:6px;color:#6b7787;font-size:13px;line-height:1.4}.staffops-private{position:fixed;inset:0;z-index:99990;background:#f5f7fa;padding:20px}.staffops-private[hidden]{display:none}.staffops-unlock-corner{position:fixed;right:18px;top:18px;border:0;background:transparent;color:#6b7787;font-size:12px;font-weight:780;padding:8px}.staffops-unlock-corner:hover{color:#0f5788}.staffops-private-body{min-height:calc(100vh - 40px);display:flex;align-items:center;justify-content:center}.staffops-private-login{width:min(430px,100%);background:#fcfcfb;border:1px solid #e1e8ee;border-radius:20px;padding:28px;box-shadow:0 18px 50px rgba(15,23,42,.07)}.staffops-private-login h2{margin:5px 0 5px;font-size:25px}.staffops-private-login p{margin:0 0 15px;color:#6d7785}.staffops-private-login label{display:block;margin-top:12px;font-size:13px;font-weight:760;color:#334155}.staffops-private-login .staffops-btn{width:100%;margin-top:16px}.staffops-private-self{width:min(1150px,100%)}.staffops-private-self-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.staffops-private-self-head h2{margin:3px 0}.staffops-private-row .staffops-row{grid-template-columns:minmax(180px,1.2fr) minmax(220px,1.5fr) minmax(140px,1fr) minmax(140px,1fr) 105px 160px 90px;border-color:#dbe4ed;box-shadow:0 8px 30px rgba(15,23,42,.05)}

/* 0.10.0 — operational polish */
.staffops-terminal select,.staffops-modal select,.staffops-select{color-scheme:light!important;background-color:#fcfcfb!important;color:#172033!important;border:1px solid #c7d1dc!important;border-radius:11px!important;min-height:46px!important;padding:10px 38px 10px 12px!important;line-height:1.25!important;box-shadow:none!important}
.staffops-terminal select option,.staffops-modal select option,.staffops-select option{background:#fcfcfb!important;color:#172033!important}
.staffops-terminal select:focus,.staffops-modal select:focus,.staffops-select:focus{border-color:#529bd0!important;box-shadow:0 0 0 3px rgba(82,155,208,.16)!important;outline:0!important}
.staffops-pending-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;margin-left:6px;padding:0 6px;border-radius:999px;background:#c62828;color:#fff;font-size:11px;font-weight:900;line-height:1;vertical-align:middle}
.staffops-pending-badge[hidden]{display:none!important}
.staffops-row.is-busy{opacity:.64;pointer-events:none;position:relative}
.staffops-row.is-busy:after{content:'Guardando…';position:absolute;right:12px;top:8px;padding:4px 8px;border-radius:999px;background:#eef4f8;color:#476276;font-size:10px;font-weight:850;letter-spacing:.02em}
.staffops-manager-card{position:relative;min-height:104px;transition:.15s ease}
.staffops-manager-card:hover{transform:translateY(-1px);border-color:#b7ccdc;background:#f5f9fc}
.staffops-manager-card .staffops-card-count{position:absolute;right:12px;top:12px;display:inline-flex;min-width:24px;height:24px;align-items:center;justify-content:center;padding:0 7px;border-radius:999px;background:#c62828;color:#fff;font-size:11px;font-weight:900}
.staffops-reinforcement-list{display:grid;gap:10px;margin-top:12px}
.staffops-reinforcement-card{border:1px solid #d9e4dd;border-radius:14px;background:#f8fcf9;padding:14px}
.staffops-reinforcement-card.is-active{border-color:#79b993;background:#f1faf4}
.staffops-reinforcement-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.staffops-reinforcement-head strong{font-size:15px;color:#173a26}
.staffops-reinforcement-number{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#dcefe3;color:#1b653a;font-size:11px;font-weight:850}
.staffops-station-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:7px;margin:10px 0}
.staffops-station-checks label{display:flex!important;align-items:center;gap:7px!important;margin:0!important;padding:8px 9px;border:1px solid #dbe4ea;border-radius:9px;background:#fcfcfb;color:#334155;font-size:12px!important;font-weight:720!important}
.staffops-station-checks input{margin:0}
.staffops-management-section{display:grid;gap:10px}
.staffops-review-item{border:1px solid #e0e6ec;border-radius:13px;background:#fcfcfb;padding:14px}
.staffops-review-item.is-pending{border-left:4px solid #d32f2f}
.staffops-review-meta{display:flex;gap:8px;flex-wrap:wrap;color:#697688;font-size:12px;margin-top:6px}
.staffops-review-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.staffops-review-actions .staffops-btn{padding:9px 12px;font-size:12px}
.staffops-overtime-split{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.staffops-overtime-segment{padding:12px;border:1px solid #dfe6ed;border-radius:12px;background:#fafcfd}
.staffops-overtime-segment h4{margin:0 0 6px;color:#24364a}
.staffops-cutoff-note{padding:10px 12px;border-radius:10px;background:#fff8e8;border:1px solid #f2d99b;color:#6d5317;font-size:12px;line-height:1.45}
@media(max-width:700px){.staffops-overtime-split{grid-template-columns:1fr}.staffops-station-checks{grid-template-columns:1fr}.staffops-review-actions .staffops-btn{width:100%}}

/* Match current terminal markup for Gestión / Refuerzos */
.staffops-card-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;margin-left:6px;padding:0 7px;border-radius:999px;background:#c62828;color:#fff;font-size:11px;font-weight:900;vertical-align:middle}
.staffops-ref-list{display:grid;gap:10px;margin-top:12px}
.staffops-ref-card{display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,2fr) auto;gap:12px;align-items:center;border:1px solid #d9e4dd;border-radius:14px;background:#f8fcf9;padding:14px}
.staffops-ref-card>div:first-child strong{display:block;color:#173a26;font-size:15px}.staffops-ref-card>div:first-child span{display:block;margin-top:4px;color:#667568;font-size:12px}
.staffops-ref-stations{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:7px}
.staffops-check-chip{display:flex!important;align-items:center;gap:7px!important;margin:0!important;padding:8px 9px;border:1px solid #dbe4ea;border-radius:9px;background:#fcfcfb;color:#334155;font-size:12px!important;font-weight:720!important}
.staffops-check-chip input{margin:0}
@media(max-width:760px){.staffops-ref-card{grid-template-columns:1fr}.staffops-ref-card>.staffops-btn{width:100%}}

/* 0.11.0 — standalone reinforcement panel */
.staffops-ref-main{display:grid;grid-template-columns:minmax(170px,1fr) minmax(160px,1.2fr) auto;gap:10px;align-items:center}
.staffops-ref-main>div strong{display:block;color:#173a26;font-size:15px}.staffops-ref-main>div span{display:block;margin-top:4px;color:#667568;font-size:12px}
.staffops-ref-position{appearance:none;border:1px solid #c7d7cc;background:#fcfcfb;color:#24543a;border-radius:10px;padding:10px 12px;text-align:left;font:inherit;font-weight:760;cursor:pointer}
.staffops-ref-position:hover{background:#f5faf6;border-color:#8fbd9d}.staffops-ref-card.is-active{border-color:#79b993;background:#f1faf4}
.staffops-ref-card .staffops-ref-stations{grid-column:1/-1;margin-top:2px}
@media(max-width:760px){.staffops-ref-main{grid-template-columns:1fr}.staffops-ref-main>.staffops-btn{width:100%}.staffops-ref-position{width:100%}}

/* 0.13.0 — terminal stabilization */
.staffops-manager-nav{display:flex;align-items:center;gap:12px;margin:0 38px 16px 0;padding-bottom:10px;border-bottom:1px solid #e4e9ef}.staffops-manager-nav h3{margin:0!important;font-size:20px}.staffops-back-btn{padding:8px 11px;white-space:nowrap}.staffops-overtime-context{background:#f7f9fb;border:1px solid #e0e6ec;border-radius:12px;padding:11px 13px;margin-bottom:12px}.staffops-overtime-context p{margin:4px 0;color:#4d5d6f}.staffops-ref-stations>small{grid-column:1/-1;color:#687684;line-height:1.4}.staffops-modal-close{right:14px!important;top:14px!important;display:flex;align-items:center;justify-content:center;line-height:1!important}

/* 0.14.0 — daily timers */
.staffops-timed-action{display:grid;gap:3px;align-items:start}.staffops-timed-action small{display:block;color:#738096;font-size:10px;font-weight:700;line-height:1.2}.staffops-timed-action .staffops-mini{width:100%}
/* 0.15.0 — Refuerzo lives in the filter bar */
.staffops-toolbar{justify-content:flex-start;gap:8px}.staffops-toolbar-refuerzo{margin-left:0;background:#17643a!important;color:#fff!important;border-color:#17643a!important;box-shadow:none}.staffops-toolbar-refuerzo:hover{background:#11512f!important;border-color:#11512f!important}
@media(max-width:700px){.staffops-toolbar{align-items:stretch}.staffops-toolbar-refuerzo{flex:0 0 auto;margin-left:0}}

/* 0.17.0 — reinforcement is a full inline view, not a modal/dropdown */
.staffops-reinforcement-view{max-width:1600px;margin:0 auto 12px;background:#fcfcfb;border:1px solid #dce5df;border-radius:16px;padding:16px;box-shadow:0 2px 12px rgba(15,23,42,.035)}
.staffops-reinforcement-view[hidden]{display:none!important}.staffops-reinforcement-view-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.staffops-reinforcement-view-head h2{margin:3px 0 4px}.staffops-reinforcement-view-head p{margin:0;color:#6b7787;font-size:13px}.staffops-inline-ref-list{display:grid;gap:8px}.staffops-inline-ref-row{border:1px solid #dfe7e2;border-radius:12px;background:#fbfdfb;padding:12px 14px}.staffops-inline-ref-row.is-active{border-color:#7ab793;background:#f2faf5}.staffops-inline-ref-top{display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,1.4fr) auto;gap:14px;align-items:center}.staffops-inline-ref-name strong,.staffops-inline-ref-preset strong{display:block;color:#173a26}.staffops-inline-ref-name span,.staffops-inline-ref-preset span{display:block;margin-top:3px;color:#667568;font-size:12px}.staffops-inline-ref-preset small,.staffops-inline-ref-choices>small{display:block;margin-bottom:3px;color:#7b887e;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}.staffops-inline-ref-choices{margin-top:10px;padding-top:10px;border-top:1px solid #e5ece7}.staffops-inline-ref-choices .staffops-ref-stations{display:flex;flex-wrap:wrap;gap:7px}.staffops-inline-ref-choices .staffops-check-chip{min-width:120px}.staffops-inline-ref-selection{margin-top:8px;color:#5f6f63;font-size:12px}.staffops-toolbar-refuerzo.is-active{box-shadow:0 0 0 3px rgba(23,100,58,.15)!important}.staffops-table-shell[hidden]{display:none!important}
@media(max-width:760px){.staffops-reinforcement-view-head{flex-direction:column}.staffops-inline-ref-top{grid-template-columns:1fr}.staffops-inline-ref-top>.staffops-btn{width:100%}.staffops-inline-ref-choices .staffops-check-chip{width:100%}}


/* 0.18.0 — prominent task/unavailability controls and interruption context */
.staffops-status-action{width:100%;min-height:46px;display:flex;align-items:center;gap:9px;border-radius:11px;padding:8px 10px;text-align:left;font:inherit;font-weight:800;line-height:1.15;box-shadow:0 1px 2px rgba(15,23,42,.03);transition:.15s;border:1px solid;cursor:pointer;background:#fcfcfb}.staffops-status-action:disabled{cursor:not-allowed;opacity:.48}.staffops-status-action span:last-child{min-width:0}.staffops-status-action small{display:block;margin-top:3px;font-size:10px;font-weight:750;opacity:.76}.staffops-action-icon{flex:0 0 25px;width:25px;height:25px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;font-size:14px;font-weight:950}.staffops-task-action{border-color:#c9d7ef;color:#244b83;background:#f6f9ff}.staffops-task-action .staffops-action-icon{background:#dce8fb;color:#244b83}.staffops-task-action:hover:not(:disabled){border-color:#8fafdd;background:#edf4ff}.staffops-task-action.is-active{border-color:#739fd6;background:#e9f2ff}.staffops-unavailable-action{border-color:#efd2a8;color:#7a4b08;background:#fffaf2}.staffops-unavailable-action .staffops-action-icon{background:#f8e2bd;color:#8a5205}.staffops-unavailable-action:hover:not(:disabled){border-color:#d9a75f;background:#fff5e5}.staffops-unavailable-action.is-active{border-color:#d99a3f;background:#fff1d7}.staffops-status-action.is-paused{border-style:dashed;cursor:default;opacity:.78}.staffops-status-action.is-paused .staffops-action-icon{background:#e8edf2;color:#5b6672}.staffops-resume-note{color:#6b5a25!important;background:#fff8de;border-radius:6px;padding:3px 5px;margin-top:2px!important}.staffops-row .staffops-status-action{max-width:100%}
@media(max-width:700px){.staffops-status-action{min-height:44px}}

/* 0.19.0 — quieter selectors, operational-state backgrounds and private management UX */
.staffops-name-line{display:flex;align-items:center;gap:6px}.staffops-history-btn{flex:0 0 27px;width:27px;height:27px;border:1px solid #dbe3ea;background:#fcfcfb;color:#64748b;border-radius:8px;font-size:15px;line-height:1;cursor:pointer}.staffops-history-btn:hover{background:#f7fafc;color:#0f5788}.staffops-empty-action{min-height:34px!important;height:34px;justify-content:center!important;padding:0 8px!important;border:1px solid #d7dee6!important;background:#fcfcfb!important;color:#64748b!important;font-size:16px!important;box-shadow:none!important}.staffops-empty-action:hover:not(:disabled){background:#f8fafc!important;border-color:#aab7c4!important;color:#334155!important}.staffops-chevron{margin-left:auto;color:currentColor;opacity:.65;font-size:12px}.staffops-task-action.is-active{border-color:#86a9d6;background:#eef5ff;color:#244b83}.staffops-unavailable-action.is-active{border-color:#dfb05f;background:#fff4dc;color:#774b0a}.staffops-row.is-temp-unavailable{background:#fffbed;border-color:#efd98a}.staffops-row.is-operational-missing{background:#fff0f1;border-color:#f2b3b8}.staffops-row.is-operational-missing .staffops-day-status{color:#a31420}.staffops-assignment-static{display:block;font-weight:760;color:#52606f;line-height:1.3}.staffops-assignment-static small{font-size:10px;color:#7a8795}.staffops-assignment-paused{display:block;margin-top:4px;font-size:10px;font-style:normal;font-weight:850;color:#9a6a16;text-transform:uppercase;letter-spacing:.04em}.staffops-private-alert-card{width:100%;border:1px solid #d4b45e;background:#fff8dd;border-radius:14px;padding:14px 16px;text-align:left;margin-bottom:12px;color:#5f4700;cursor:pointer}.staffops-private-alert-card strong,.staffops-private-alert-card span{display:block}.staffops-private-alert-card span{font-size:12px;margin-top:4px;color:#735f22}.staffops-timeline{list-style:none;padding:0;margin:14px 0;display:grid;gap:0}.staffops-timeline li{display:grid;grid-template-columns:78px 1fr;gap:12px;position:relative;padding:0 0 18px}.staffops-timeline li:before{content:'';position:absolute;left:83px;top:8px;width:8px;height:8px;border-radius:50%;background:#4f86b5}.staffops-timeline li:after{content:'';position:absolute;left:86px;top:18px;bottom:0;width:2px;background:#dde6ee}.staffops-timeline li:last-child:after{display:none}.staffops-timeline time{text-align:right;color:#64748b;font-size:12px;font-weight:800;padding-top:2px}.staffops-timeline div{padding-left:14px}.staffops-timeline strong,.staffops-timeline span{display:block}.staffops-timeline span{margin-top:3px;color:#667085;font-size:12px}.staffops-timeline-date{color:#64748b}.staffops-row.is-late:not(.is-operational-missing){background:inherit;border-color:#e5e9f0}

/* 0.19.6 — canonical roster layout: desktop table + two-line tablet/mobile */
.staffops-roster-head,.staffops-row{display:grid;grid-template-columns:minmax(220px,1.35fr) minmax(250px,1.55fr) 58px 58px 58px 58px 58px;gap:8px;align-items:center}.staffops-roster-head{padding:9px 12px}.staffops-roster{padding:6px}.staffops-row{min-height:58px;padding:6px 8px;margin-bottom:4px;border:1px solid transparent;border-radius:10px}.staffops-row>div{min-width:0}.staffops-cell{display:flex;align-items:center;justify-content:center;min-width:0}.staffops-cell-employee,.staffops-cell-assignment{justify-content:stretch}.staffops-cell-task,.staffops-cell-unavailable,.staffops-cell-bath,.staffops-cell-break,.staffops-cell-exit{align-items:flex-start}.staffops-name-line{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:6px;align-items:stretch;width:100%}.staffops-name{min-height:40px!important;padding:7px 10px!important;border-radius:8px!important;font-size:14px!important;line-height:1.1!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.staffops-history-btn{appearance:none;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #c5d7e5;background:#f3f8fc;color:#125f95;border-radius:8px;cursor:pointer;padding:0}.staffops-history-btn:hover{background:#e9f4fb;border-color:#83b4d4}.staffops-svg-icon{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.staffops-day-status{font-size:10px!important;padding:3px 8px 0!important;line-height:1.15}.staffops-assignment-button{appearance:none;width:100%;min-height:42px;display:grid;gap:2px;align-content:center;text-align:left;border:1px solid #c9dce9;background:#f5fbff;color:#0d5a91;border-radius:8px;padding:5px 9px;cursor:pointer}.staffops-assignment-button:hover:not(:disabled){background:#eaf6fd;border-color:#8fbfdc}.staffops-assignment-button:disabled{cursor:not-allowed;opacity:.82}.staffops-assignment-button strong{display:block;font-size:18px;line-height:1.05;color:#123b66;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.staffops-assignment-button small{display:block;font-size:10px;line-height:1.15;color:#6a7786;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.staffops-assignment-off{font-size:18px;color:#8b95a1}.staffops-icon-action{appearance:none;width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d8e0e8;background:#fcfcfb;color:#48596b;border-radius:8px;padding:0;cursor:pointer}.staffops-icon-action:hover:not(:disabled){background:#f7fafc;border-color:#aab8c7}.staffops-icon-action:disabled{cursor:not-allowed;opacity:.38}.staffops-task-action.is-active{background:#eef5ff;border-color:#8eadd4;color:#244b83}.staffops-unavailable-action.is-active{background:#fff4dc;border-color:#dfb05f;color:#774b0a}.staffops-bath-action.is-active,.staffops-break-action.is-active{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}.staffops-break-action.is-over{background:#fff1f2;border-color:#fda4af;color:#be123c}.staffops-exit-action{border-color:#fecaca;color:#b91c1c;background:#fcfcfb}.staffops-action-stack{display:grid;justify-items:center;gap:2px}.staffops-action-stack small{max-width:58px;font-size:9px!important;line-height:1.05;text-align:center;color:#697789}.staffops-resume-note{display:none!important}.staffops-row.is-temp-unavailable{background:#fffbed;border-color:#efd98a}.staffops-row.is-operational-missing{background:#fff0f1;border-color:#f2b3b8}.staffops-row.is-operational-missing .staffops-day-status{color:#a31420}.staffops-row.is-late:not(.is-operational-missing){background:inherit;border-color:#e5e9f0}.staffops-row.is-reinforcement{border-left:4px solid #64b884}.staffops-private-row .staffops-row{grid-template-columns:minmax(220px,1.35fr) minmax(250px,1.55fr) 58px 58px 58px 58px 58px}
@media(max-width:1360px){.staffops-terminal{padding:12px 10px 20px}.staffops-terminal-head{margin-bottom:8px}.staffops-terminal h1{font-size:27px}.staffops-subtitle{font-size:12px}.staffops-toolbar{padding:5px;margin-bottom:7px;border-radius:11px}.staffops-segmented{gap:4px;flex-wrap:nowrap;overflow:auto}.staffops-segmented button{padding:6px 8px;font-size:11px}.staffops-roster-head{display:none!important}.staffops-table-shell{overflow:visible;background:transparent;border:0;box-shadow:none}.staffops-roster{padding:0}.staffops-row{grid-template-columns:minmax(190px,1fr) repeat(5,40px);grid-template-rows:auto auto;gap:4px 6px;align-items:center;padding:5px 6px;margin-bottom:5px;border-color:#e3e9ef;background:#fcfcfb}.staffops-cell-employee{grid-column:1;grid-row:1;align-self:center}.staffops-cell-task{grid-column:2;grid-row:1}.staffops-cell-unavailable{grid-column:3;grid-row:1}.staffops-cell-bath{grid-column:4;grid-row:1}.staffops-cell-break{grid-column:5;grid-row:1}.staffops-cell-exit{grid-column:6;grid-row:1}.staffops-cell-assignment{grid-column:1/-1;grid-row:2}.staffops-name-line{grid-template-columns:minmax(0,1fr) 34px;gap:4px}.staffops-name{min-height:34px!important;padding:4px 7px!important;font-size:14px!important}.staffops-history-btn{width:34px;height:34px;border-radius:7px}.staffops-history-btn .staffops-svg-icon{width:18px;height:18px}.staffops-day-status{padding:2px 4px 0!important;font-size:9px!important}.staffops-day-status.present{display:none}.staffops-assignment-button{min-height:36px;padding:3px 7px;border-radius:7px}.staffops-assignment-button strong{font-size:17px}.staffops-assignment-button small{font-size:9px}.staffops-icon-action{width:40px;height:34px;border-radius:7px}.staffops-icon-action .staffops-svg-icon{width:17px;height:17px}.staffops-action-stack small{display:none}.staffops-private-row .staffops-row{grid-template-columns:minmax(190px,1fr) repeat(5,40px);grid-template-rows:auto auto}.staffops-head-actions{gap:5px}.staffops-top-btn{padding:7px 9px;font-size:11px}}
@media(max-width:680px){.staffops-terminal{padding:7px 5px 14px}.staffops-terminal-head{gap:6px}.staffops-terminal h1{font-size:23px}.staffops-kicker,.staffops-subtitle{display:none}.staffops-head-actions{width:100%;justify-content:flex-start}.staffops-top-btn{padding:6px 8px;font-size:10.5px}.staffops-toolbar{margin-bottom:5px}.staffops-segmented button{padding:5px 7px;font-size:10.5px}.staffops-segmented button strong{min-width:19px;height:19px;font-size:9.5px}.staffops-row{grid-template-columns:minmax(116px,1fr) repeat(5,34px);gap:3px;padding:4px;margin-bottom:4px;border-radius:8px}.staffops-name-line{grid-template-columns:minmax(0,1fr) 30px;gap:3px}.staffops-name{min-height:32px!important;padding:3px 5px!important;font-size:12.5px!important}.staffops-history-btn{width:30px;height:32px}.staffops-history-btn .staffops-svg-icon{width:16px;height:16px}.staffops-day-status{font-size:8px!important;padding-left:3px!important}.staffops-assignment-button{min-height:34px;padding:2px 6px}.staffops-assignment-button strong{font-size:14.5px}.staffops-assignment-button small{font-size:8px}.staffops-icon-action{width:34px;height:32px}.staffops-icon-action .staffops-svg-icon{width:15px;height:15px}.staffops-private{padding:7px}.staffops-unlock-corner{top:5px;right:5px}}

/* 0.19.7 — one-row desktop/tablet roster, chronology first */
.staffops-roster-head,.staffops-row{grid-template-columns:minmax(200px,1fr) minmax(250px,1.35fr) 52px 52px 52px 52px 52px!important;gap:7px!important}
.staffops-roster-head{padding:8px 10px!important;align-items:center!important}
.staffops-roster-head>span{min-width:0;text-align:center!important;font-size:9px!important;line-height:1.15!important;letter-spacing:.055em!important;white-space:normal}
.staffops-row{min-height:52px!important;padding:5px 7px!important;align-items:center!important}
.staffops-cell{align-items:center!important;justify-content:center!important}
.staffops-cell-employee,.staffops-cell-assignment{justify-content:stretch!important}
.staffops-name-line{grid-template-columns:38px minmax(0,1fr)!important;gap:5px!important;align-items:stretch!important}
.staffops-history-btn{grid-column:1;width:38px!important;height:38px!important;align-self:center}
.staffops-name{grid-column:2;min-height:38px!important;height:38px!important;padding:5px 8px!important;font-size:16px!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.staffops-day-status{padding:2px 3px 0 43px!important;font-size:9px!important;line-height:1.05!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.staffops-assignment-button{min-height:38px!important;height:38px!important;padding:4px 8px!important;border-radius:7px!important}
.staffops-assignment-button strong{font-size:16px!important;line-height:1.05!important}
.staffops-assignment-button small{font-size:9px!important;line-height:1.05!important}
.staffops-icon-action{width:38px!important;height:38px!important;border-radius:7px!important}
.staffops-icon-action .staffops-svg-icon{width:18px!important;height:18px!important}
.staffops-action-stack{gap:1px!important}.staffops-action-stack small{font-size:8px!important;line-height:1!important;max-width:52px!important}
.staffops-private-row .staffops-row{grid-template-columns:minmax(200px,1fr) minmax(250px,1.35fr) 52px 52px 52px 52px 52px!important}
@media(max-width:1360px){
  .staffops-terminal{padding:10px 8px 18px!important}
  .staffops-roster-head{display:none!important}
  .staffops-table-shell{overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important}
  .staffops-roster{padding:0!important}
  .staffops-row{grid-template-columns:196px minmax(190px,1fr) repeat(5,38px)!important;grid-template-rows:1fr!important;gap:5px!important;min-height:48px!important;padding:4px 5px!important;margin-bottom:4px!important;border-color:#e3e9ef!important;background:#fcfcfb}
  .staffops-cell-employee{grid-column:1!important;grid-row:1!important}
  .staffops-cell-assignment{grid-column:2!important;grid-row:1!important}
  .staffops-cell-task{grid-column:3!important;grid-row:1!important}
  .staffops-cell-unavailable{grid-column:4!important;grid-row:1!important}
  .staffops-cell-bath{grid-column:5!important;grid-row:1!important}
  .staffops-cell-break{grid-column:6!important;grid-row:1!important}
  .staffops-cell-exit{grid-column:7!important;grid-row:1!important}
  .staffops-name-line{grid-template-columns:32px minmax(0,1fr)!important;gap:4px!important}
  .staffops-history-btn{width:32px!important;height:34px!important}
  .staffops-history-btn .staffops-svg-icon{width:16px!important;height:16px!important}
  .staffops-name{height:34px!important;min-height:34px!important;padding:4px 6px!important;font-size:15px!important}
  .staffops-day-status{padding:1px 2px 0 36px!important;font-size:8.5px!important}.staffops-day-status.present{display:block!important}
  .staffops-assignment-button{height:34px!important;min-height:34px!important;padding:3px 6px!important}
  .staffops-assignment-button strong{font-size:15px!important}.staffops-assignment-button small{font-size:8px!important}
  .staffops-icon-action{width:34px!important;height:34px!important}.staffops-icon-action .staffops-svg-icon{width:16px!important;height:16px!important}
  .staffops-action-stack small{display:none!important}
  .staffops-private-row .staffops-row{grid-template-columns:196px minmax(190px,1fr) repeat(5,38px)!important;grid-template-rows:1fr!important}
}
@media(max-width:680px){
  .staffops-row{grid-template-columns:110px minmax(130px,1fr) repeat(3,32px)!important;grid-template-rows:auto auto!important;gap:4px!important}
  .staffops-cell-employee{grid-column:1!important;grid-row:1!important}.staffops-cell-assignment{grid-column:2!important;grid-row:1!important}
  .staffops-cell-task{grid-column:3!important;grid-row:1!important}.staffops-cell-unavailable{grid-column:4!important;grid-row:1!important}.staffops-cell-bath{grid-column:5!important;grid-row:1!important}
  .staffops-cell-break{grid-column:3!important;grid-row:2!important}.staffops-cell-exit{grid-column:4!important;grid-row:2!important}
  .staffops-name-line{grid-template-columns:29px minmax(0,1fr)!important}.staffops-history-btn{width:29px!important;height:31px!important}.staffops-name{height:31px!important;min-height:31px!important;font-size:13px!important}.staffops-day-status{padding-left:33px!important;font-size:7.5px!important}
  .staffops-assignment-button{height:31px!important;min-height:31px!important}.staffops-assignment-button strong{font-size:13px!important}.staffops-icon-action{width:31px!important;height:31px!important}
}
/* 0.19.7 desktop density refinement */
@media(min-width:1361px){
  .staffops-roster-head,.staffops-row{grid-template-columns:240px minmax(260px,1fr) 52px 52px 52px 52px 52px!important}
  .staffops-private-row .staffops-row{grid-template-columns:240px minmax(260px,1fr) 52px 52px 52px 52px 52px!important}
}

/* 0.19.8 — employee captions below a full-width, consistently sized name button. */
.staffops-row .staffops-cell-employee{display:grid;grid-template-columns:minmax(0,1fr);align-content:center;gap:0}
.staffops-row .staffops-name-line{min-width:0;width:100%}
.staffops-row .staffops-name{min-width:0;width:100%;max-width:100%}
.staffops-row .staffops-day-status{min-width:0;width:100%;max-width:100%}

/* 0.19.9 — keep the name and its caption together, beside chronology. */
.staffops-name-line>.staffops-employee-details{display:block;grid-column:2;min-width:0;width:100%;align-self:start}
.staffops-employee-details>.staffops-name{display:block;width:100%!important;min-width:0;max-width:100%}
.staffops-employee-details>.staffops-day-status{display:block!important;padding:2px 0 0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.15!important}
.staffops-name-line>.staffops-history-btn{align-self:start}

/* 0.19.10 — align controls first; captions use the space below that shared line. */
.staffops-row{--staffops-control-height:38px;align-items:start!important}
.staffops-row>.staffops-cell{align-self:start!important;min-height:var(--staffops-control-height)}
@media(max-width:1360px){.staffops-row{--staffops-control-height:34px}}
@media(max-width:680px){.staffops-row{--staffops-control-height:31px}}

/* Refuerzo: light green with dark text, including hover and selected states. */
.staffops-toolbar-refuerzo{background:#dcf5e3!important;color:#21633d!important;border-color:#9cd2ad!important}
.staffops-toolbar-refuerzo:hover{background:#c9ecd3!important;border-color:#79bc8e!important}
.staffops-toolbar-refuerzo.is-active{background:#bfe6cc!important;border-color:#79bc8e!important;box-shadow:0 0 0 3px rgba(121,188,142,.18)!important}

.staffops-scheduled{grid-column:1/-1;padding:12px;background:#fcfcfb;border:1px solid #dbe3eb;border-radius:10px;margin-top:12px}.staffops-scheduled-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px;border-bottom:1px solid #eee}.staffops-scheduled-row small{flex-basis:100%}.staffops-scheduled-row button{padding:8px 12px}.staffops-scheduled-row button:disabled{opacity:.5}

.staffops-reason-auth-label{display:block;margin-top:6px;font-size:12px;line-height:1.5;white-space:normal;color:#526477}

.staffops-terminal-head{align-items:center;flex-direction:row;flex-wrap:wrap;gap:8px;margin-bottom:10px}.staffops-terminal-head h1{margin:0;font-size:24px}.staffops-terminal-head .staffops-head-actions{width:auto;flex-wrap:wrap;margin-left:auto}
.staffops-scheduled{padding:0;border:0;background:transparent;margin-top:6px}.staffops-scheduled-row{display:flex;flex-wrap:nowrap;gap:8px;padding:6px 8px;margin-bottom:5px;border:1px solid #efdaa0;border-radius:7px;background:#fff4c2;font-size:12px;min-width:0}.staffops-scheduled-row.is-overdue{background:#ffe1e1;border-color:#efb7b7}.staffops-scheduled-row.is-running{background:#edf4fa;border-color:#ceddea}.staffops-scheduled-row strong{flex-shrink:0}.staffops-scheduled-row .staffops-task-info{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.staffops-scheduled-row button{padding:4px 8px;white-space:nowrap;font-size:12px}.staffops-task-agenda>div{display:flex;flex-wrap:wrap;gap:8px;padding:10px 0;border-bottom:1px solid #e5e7eb}.staffops-task-agenda time{font-weight:600}.staffops-task-agenda small{margin-left:auto}
@media(max-width:680px){.staffops-terminal-head h1{font-size:19px}.staffops-terminal-head .staffops-head-actions{gap:4px}.staffops-scheduled-row{flex-wrap:wrap}.staffops-scheduled-row .staffops-task-info{display:none}}

.staffops-task-actions{display:inline-flex;gap:4px;flex-wrap:wrap}.staffops-scheduled-row{flex-wrap:wrap}.staffops-scheduled-row .staffops-task-info{min-width:80px}.staffops-task-agenda button{padding:4px 8px;font-size:12px}[data-task-change] label{display:grid;gap:6px;margin:12px 0}[data-task-change] input,[data-task-change] select{padding:8px;max-width:100%}
body.staffops-portal-open{overflow:hidden}.staffops-portal{position:fixed;inset:0;z-index:100100;background:#f6f8fb;color:#172033;overflow:auto;padding:20px;font:14px system-ui}.staffops-portal *{box-sizing:border-box}.staffops-portal header,.staffops-portal nav,.staffops-portal-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.staffops-portal header{justify-content:space-between}.staffops-portal h2{margin:0}.staffops-portal button,.staffops-portal input,.staffops-portal select{font:inherit;padding:8px;border:1px solid #cad4df;border-radius:6px;background:white;color:#172033}.staffops-portal button{cursor:pointer}.staffops-portal label{display:grid;gap:5px}.staffops-portal [data-login]{max-width:440px;display:grid;gap:15px;margin:40px auto}.staffops-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.staffops-calendar.is-list{grid-template-columns:1fr}.staffops-calendar>section{min-width:0;padding:8px;background:white;border:1px solid #dbe2ea;border-radius:8px}.staffops-calendar h3{font-size:13px;margin:0 0 8px}.staffops-portal-task{background:#edf3fa;padding:8px;border-radius:5px;margin-bottom:6px;overflow-wrap:anywhere}.staffops-portal-task time{font-weight:600}.staffops-portal small{display:block;margin-top:4px;color:#536278}.staffops-portal-scroll{overflow:auto}.staffops-portal table{border-collapse:collapse;width:100%;background:white}.staffops-portal th,.staffops-portal td{text-align:left;vertical-align:top;padding:10px;border-bottom:1px solid #dbe2ea}.staffops-portal-muted{color:#6c7c8f}.staffops-portal [data-error]{color:#ad2222}@media(max-width:900px){.staffops-calendar{grid-template-columns:repeat(2,minmax(0,1fr))}.staffops-calendar>div[aria-hidden]{display:none}}@media(max-width:520px){.staffops-calendar{grid-template-columns:1fr}.staffops-portal{padding:12px}}

.staffops-task-agenda [hidden]{display:none!important}.staffops-agenda-filters{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}

.staffops-personal-heading{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.staffops-modal.is-agenda .staffops-modal-card{width:min(1200px,96vw);max-width:1200px}.staffops-agenda-filters{align-items:end}.staffops-agenda-filters label{display:grid;gap:5px}.staffops-agenda-scroll{overflow:auto}.staffops-agenda-table{width:100%;border-collapse:collapse;text-align:left}.staffops-agenda-table th,.staffops-agenda-table td{padding:10px 8px;border-bottom:1px solid #dde4ed;vertical-align:middle}.staffops-agenda-table th{white-space:nowrap}.staffops-agenda-table button{margin:2px}.staffops-agenda-table [hidden]{display:none!important}.staffops-task-create{display:grid;gap:12px}.staffops-task-create fieldset{border:1px solid #dde4ed;padding:12px}.staffops-task-create label{display:block;margin:6px 0}.staffops-task-create input:not([type=radio]):not([type=checkbox]),.staffops-task-create select{max-width:100%;padding:8px}
/* Calendario y carga personal 0.34.0 */
.staffops-task-people{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:6px;max-height:240px;overflow:auto}.staffops-task-people label{background:#f4f7fa;padding:7px;border-radius:5px}.staffops-portal button[aria-pressed=true]{background:#143d65;color:white;border-color:#143d65}.staffops-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid #dbe2ea;border-left:1px solid #dbe2ea;background:white;min-width:650px}.staffops-month-grid .weekday{padding:9px;text-align:center;font-weight:600;background:#eef3f8;border-right:1px solid #dbe2ea;border-bottom:1px solid #dbe2ea}.staffops-month-grid .month-day,.staffops-month-grid .empty{min-width:0;min-height:132px;padding:5px;border-right:1px solid #dbe2ea;border-bottom:1px solid #dbe2ea}.staffops-month-grid .empty{background:#f8fafc}.staffops-month-grid .day-number{border:0;background:transparent;padding:4px 7px;margin-bottom:4px;font-weight:600}.staffops-month-grid .is-today .day-number{background:#1666a4;color:white;border-radius:50%}.staffops-month-grid .calendar-event{display:block;text-align:left;width:100%;font-size:12px;line-height:1.3;padding:4px 5px;margin:3px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#eaf1fa;border:0;border-left:3px solid #779cc4;border-radius:3px}.staffops-portal .status-pending{background:#fff4cb;border-left-color:#dba319}.staffops-portal .status-running{background:#e2efff;border-left-color:#2d7acc}.staffops-portal .status-done{background:#e8f5eb;border-left-color:#4b9862}.staffops-portal .status-cancelled{background:#edf0f2;border-left-color:#8994a0}.staffops-portal .status-interrupted{background:#ffebe7;border-left-color:#c65a49}.staffops-month-grid .more-tasks{border:0;font-size:12px;padding:4px}.staffops-year-grid{display:grid;grid-template-columns:repeat(3,minmax(240px,1fr));gap:18px}.staffops-year-month{min-width:0;background:white;border:1px solid #dbe2ea;border-radius:10px;padding:12px}.staffops-year-month h3{margin:0 0 8px;text-transform:capitalize}.staffops-year-month h3 button{border:0;font-weight:650;padding:4px}.staffops-month-grid.is-mini{min-width:0;border:0;gap:2px}.staffops-month-grid.is-mini .month-day,.staffops-month-grid.is-mini .empty{min-height:40px;padding:0;border:0;text-align:center}.staffops-month-grid.is-mini .weekday{font-size:11px;border:0;padding:4px}.staffops-month-grid.is-mini .day-number{font-size:12px;margin:0;width:100%;position:relative;padding:3px;min-height:38px}.staffops-month-grid.is-mini .day-count{display:block;font-size:10px;border-radius:7px;color:#17508e;background:#deecff;line-height:12px;max-width:24px;margin:auto}.staffops-load-views{display:flex;gap:8px;margin:14px 0}.staffops-employee-columns{display:flex;gap:14px;overflow-x:auto;align-items:stretch;padding-bottom:12px}.staffops-employee-column{flex:0 0 290px;min-width:0;border:1px solid #d5dfeb;border-radius:10px;padding:12px;background:white;max-height:70vh;overflow-y:auto}.staffops-employee-column h3{margin:0;padding-bottom:10px;border-bottom:1px solid #dbe2ea}.staffops-employee-column>p{font-size:12px;color:#536278}.staffops-employee-column .staffops-portal-task{font-size:13px;border-left:3px solid #779cc4}.staffops-portal .month-scroll{overflow-x:auto}.staffops-portal nav{border-bottom:1px solid #dbe2ea;padding-bottom:12px}@media(min-width:1500px){.staffops-year-grid{grid-template-columns:repeat(4,minmax(240px,1fr))}}@media(max-width:1000px){.staffops-year-grid{grid-template-columns:repeat(2,minmax(240px,1fr))}}@media(max-width:580px){.staffops-year-grid{grid-template-columns:1fr}.staffops-employee-column{flex-basis:85vw}}
/* Asistencia mensual, calendario y orden de carga 0.35.0 */
.staffops-period-title{text-align:center;text-transform:capitalize;font-size:22px;font-weight:650;margin:20px 0}.staffops-monthly-attendance th{white-space:nowrap}.staffops-monthly-attendance td{height:42px}.staffops-attendance-result{min-height:25px;line-height:25px;white-space:nowrap}.staffops-calendar-legend{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.staffops-calendar-legend span{padding:5px 9px;border-radius:5px;font-size:12px;border-left:3px solid transparent}.staffops-portal .timing-future{background:#edf1f7;border-left-color:#95a6bd}.staffops-portal .timing-ready{background:#fff1ba;border-left-color:#d19d18}.staffops-portal .timing-overdue{background:#fbe0e0;border-left-color:#ce6464}.staffops-portal .timing-running{background:#dcecff;border-left-color:#3c84c9}.staffops-portal .timing-done{background:#e3f1e6;border-left-color:#57936c}.staffops-portal .timing-cancelled{background:#eff0f1;border-left-color:#aaa}.staffops-portal .timing-interrupted{background:#f8e8da;border-left-color:#b28458}.staffops-employee-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;overflow:visible;align-items:start}.staffops-employee-column{width:auto;max-height:none;overflow:visible;min-width:0}.staffops-employee-column header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:12px}.staffops-employee-column h3{border:0;padding:0;font-size:17px}.staffops-employee-column header button{padding:3px 9px}.staffops-workload-task{border-top:1px solid #e0e6ef;padding:10px 0;overflow-wrap:anywhere;line-height:1.5}.staffops-workload-task small{font-size:12px}.staffops-order-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:12px 0}.staffops-portal button:disabled{cursor:default;opacity:.5}@media(max-width:900px){.staffops-employee-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:580px){.staffops-employee-columns{grid-template-columns:1fr}.staffops-employee-column{flex-basis:auto}}

/* 0.39.0-rc3 — self-service PIN change inside Mi espacio. */
.staffops-pin-panel{max-width:520px;margin:24px auto;background:#fcfcfb;border:1px solid #dbe2ea;border-radius:12px;padding:22px;box-shadow:0 10px 30px rgba(23,32,51,.06)}
.staffops-pin-panel>p{margin-top:0;color:#536278;line-height:1.5}
.staffops-pin-panel form{display:grid;gap:14px}
.staffops-pin-panel input{width:100%;min-height:42px}
.staffops-pin-panel [data-pin-message]{min-height:20px;margin:0}

.staffops-day-status.unscheduled{color:#9a6700;font-weight:800}.staffops-row:has(.staffops-day-status.unscheduled){background:#fffaf0;border-color:#f1d9a5}

/* 0.39.0-rc8 — tablet-first PIN modal */
.staffops-pin-dialog{max-width:430px;margin:0 auto;text-align:center}
.staffops-pin-dialog h3{margin:5px 0 2px!important;font-size:25px!important}
.staffops-pin-kicker{display:block;color:#64748b;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.1em}
.staffops-pin-person{margin:2px 0 15px;color:#1769aa;font-size:16px;font-weight:850}
.staffops-pin-hidden{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.staffops-pin-display{min-height:58px;display:flex;align-items:center;justify-content:center;margin:10px 0 14px;border:1px solid #d5dee8;border-radius:14px;background:#f8fafc;color:#8793a3;font-size:17px;font-weight:750;letter-spacing:.12em}
.staffops-pin-display.has-value{color:#173a58;background:#f1f7fc;border-color:#bdd3e4;font-size:20px}
.staffops-pin-pad{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.staffops-pin-key{min-height:66px;border:1px solid #ced9e4;border-radius:14px;background:#fcfcfb;color:#183a59;font-size:24px;font-weight:850;box-shadow:0 2px 5px rgba(15,23,42,.035);touch-action:manipulation}
.staffops-pin-key:active{transform:translateY(1px);background:#eaf4fb;border-color:#86b6d7}
.staffops-pin-key-muted{font-size:14px;color:#5f6d7c;background:#f5f7fa}
.staffops-pin-actions{display:grid!important;grid-template-columns:1fr 1.35fr;gap:10px!important;margin-top:14px!important}
.staffops-pin-actions .staffops-btn{min-height:52px;font-size:16px}
@media(min-width:700px) and (max-width:1200px){.staffops-modal-card:has(.staffops-pin-dialog){width:min(520px,82vw);padding:28px}.staffops-pin-key{min-height:76px;font-size:28px}.staffops-pin-display{min-height:64px}.staffops-pin-actions .staffops-btn{min-height:58px}}
@media(max-width:520px){.staffops-modal{padding:10px}.staffops-modal-card:has(.staffops-pin-dialog){padding:20px 16px 16px;border-radius:18px}.staffops-pin-key{min-height:60px}.staffops-pin-actions{grid-template-columns:1fr}}

.staffops-live-alert{position:sticky;top:12px;z-index:35;margin:10px auto 0;max-width:760px;padding:13px 18px;border-radius:14px;background:#eff6ff;color:#1e3a5f;border:1px solid #bfd7f2;box-shadow:0 14px 34px rgba(30,58,95,.14);font-weight:800;opacity:0;transform:translateY(-8px);transition:.2s ease}.staffops-live-alert.is-visible{opacity:1;transform:translateY(0)}.staffops-live-alert.is-warning{background:#fff7e6;color:#7a4b00;border-color:#f2d39b}.staffops-live-alert.is-info{background:#edf6ff;color:#1e4f7a;border-color:#bdd8f1}.staffops-manager-login{display:grid;gap:14px}.staffops-manager-login>p{margin:0;color:#64748b}.staffops-manager-people{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.staffops-manager-person{border:1px solid #d5dee8;background:#f7fafc;border-radius:14px;padding:13px 14px;text-align:left;display:grid;gap:3px;cursor:pointer;min-height:62px}.staffops-manager-person strong{font-size:16px}.staffops-manager-person small{font-size:11px;color:#64748b}.staffops-manager-person.is-active{border-color:#4f8fc9;background:#eaf4fd;box-shadow:0 0 0 3px rgba(79,143,201,.12)}
@media (pointer:coarse){.staffops-manager-person{min-height:72px;padding:16px}.staffops-manager-login .staffops-pin-key{min-height:70px;font-size:28px}}

/* rc10 · tablet header, clock, sync and portal PIN */
.staffops-tablet-nav{display:flex;align-items:center;justify-content:center;gap:10px;flex:1}.staffops-live-clock{min-width:170px;text-align:center;border:1px solid #d8e2ec;background:#fcfcfb;border-radius:14px;padding:7px 13px;box-shadow:0 1px 3px rgba(15,23,42,.04)}.staffops-live-clock strong{display:block;color:#143d65;font-size:20px;line-height:1;font-variant-numeric:tabular-nums}.staffops-live-clock span{display:block;margin-top:4px;color:#68788b;font-size:11px;text-transform:capitalize}.staffops-sync-status{display:flex;align-items:center;gap:7px;border:1px solid #dfe7ee;background:#f9fbfd;border-radius:999px;padding:7px 10px;color:#64748b;font-size:11px;font-weight:750;white-space:nowrap}.staffops-sync-status i{width:8px;height:8px;border-radius:50%;background:#39a76a;box-shadow:0 0 0 3px rgba(57,167,106,.12)}.staffops-sync-status.is-syncing i{background:#e0a22f;animation:staffopsPulse 1s infinite}@keyframes staffopsPulse{50%{opacity:.35}}.staffops-manager-default{display:flex;align-items:center;gap:7px;flex-wrap:wrap;background:#eff7ff;border:1px solid #c5dff4;color:#31506e;border-radius:12px;padding:10px 12px}.staffops-manager-default span{color:#6b7c8d;font-size:12px}.staffops-reinforcement-view-head:after{content:'Consulta libre · Activar o desactivar un refuerzo solicita PIN de encargado';display:block;grid-column:1/-1;margin-top:6px;color:#657487;font-size:12px}.staffops-portal-login{width:min(680px,100%);margin:24px auto!important;background:#fcfcfb;border:1px solid #dde6ee;border-radius:22px;padding:22px;box-shadow:0 18px 55px rgba(15,23,42,.08)}.staffops-portal-login h3{margin:2px 0 10px;font-size:22px}.staffops-portal-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.09em;font-weight:850;color:#6a7a8c}.staffops-portal-people{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:9px;max-height:190px;overflow:auto}.staffops-portal-person{min-height:58px!important;text-align:left!important;border-radius:13px!important;background:#f7fafc!important;padding:10px 12px!important}.staffops-portal-person strong{display:block;font-size:15px}.staffops-portal-person small{display:block;margin-top:3px;color:#738196}.staffops-portal-person.is-active{background:#eaf4fd!important;border-color:#4f8fc9!important;box-shadow:0 0 0 3px rgba(79,143,201,.12)}.staffops-portal-pin-hidden{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}.staffops-portal-pin-display{min-height:50px;display:flex;align-items:center;justify-content:center;border:1px solid #cfdbe7;background:#f8fbfd;border-radius:13px;font-size:18px;font-weight:800;color:#66788a;letter-spacing:.08em}.staffops-portal-pin-display.has-value{color:#143d65;background:#eef7ff;border-color:#a9cce8}.staffops-portal-pin-pad{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.staffops-portal-pin-pad button{min-height:62px!important;border-radius:14px!important;font-size:24px!important;font-weight:850!important;background:#fcfcfb!important}.staffops-portal-pin-pad button:active{transform:scale(.98);background:#eef6fc!important}.staffops-portal-pin-pad .is-muted{font-size:14px!important;color:#68788b!important;background:#f4f7fa!important}.staffops-portal-login-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.staffops-portal-login-actions button{min-height:48px;font-weight:800}.staffops-portal-login-actions .is-primary{background:#1769aa;color:#fff;border-color:#1769aa}.staffops-portal-login-note{max-width:680px;margin:-12px auto 20px!important;text-align:center;color:#6f7d8b}.staffops-reinforcement-view-head{display:grid;grid-template-columns:1fr auto;align-items:start;gap:8px 16px}
@media(max-width:980px){.staffops-terminal-head{align-items:center;flex-wrap:wrap}.staffops-personal-heading{width:100%;justify-content:center}.staffops-tablet-nav{order:2;flex-basis:100%}.staffops-head-actions{order:3!important;width:100%!important;justify-content:center!important}.staffops-live-clock{min-width:150px}.staffops-sync-status{order:5;flex-basis:100%;justify-content:center}}
@media(max-width:620px){.staffops-tablet-nav{gap:6px}.staffops-live-clock{min-width:125px;padding:7px}.staffops-live-clock strong{font-size:17px}.staffops-top-btn{padding:9px 10px}.staffops-sync-status{font-size:10px}.staffops-portal{padding:10px}.staffops-portal-login{padding:15px}.staffops-portal-people{grid-template-columns:repeat(2,minmax(0,1fr));max-height:150px}.staffops-portal-pin-pad button{min-height:56px!important}}
/* rc11 · cabecera compacta, sonido y tablet */
.staffops-sync-strip{display:flex;justify-content:flex-end;align-items:center;min-height:28px;margin:0 0 4px;padding:0 4px}.staffops-sync-status{min-width:54px;justify-content:center;padding:5px 9px;gap:5px}.staffops-sync-icon{font-size:15px;line-height:1;color:#3c7dad}.staffops-sync-status strong{font-size:11px;font-variant-numeric:tabular-nums;color:#52677b}.staffops-sync-status.is-syncing .staffops-sync-icon{animation:staffopsSpin 1s linear infinite}@keyframes staffopsSpin{to{transform:rotate(360deg)}}
.staffops-terminal-head{display:grid!important;grid-template-columns:minmax(260px,1fr) auto minmax(260px,1fr)!important;align-items:center!important;gap:14px!important}.staffops-personal-heading{display:flex!important;align-items:center!important;gap:12px!important;justify-content:flex-start!important;width:auto!important}.staffops-head-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important}.staffops-live-clock{justify-self:center}.staffops-sound-btn{width:44px;height:42px;border:1px solid #d4e0ea;border-radius:12px;background:#f7fbfe;font-size:20px;cursor:pointer}.staffops-sound-btn.is-muted{background:#f2f4f6;color:#7b8794}.staffops-sound-btn:active{transform:scale(.97)}
.staffops-private-login .staffops-portal-people{margin:12px 0}.staffops-private-login .staffops-portal-pin-display{margin:10px 0}.staffops-private-login .staffops-portal-pin-pad{margin:10px 0}.staffops-private-login input[type=hidden]{display:none!important}
@media(max-width:980px){.staffops-terminal-head{grid-template-columns:1fr auto 1fr!important}.staffops-personal-heading{width:auto!important}.staffops-head-actions{width:auto!important}.staffops-sync-strip{padding-right:2px}.staffops-head-actions .staffops-top-btn{padding:9px 10px}}
@media(max-width:720px){.staffops-terminal-head{grid-template-columns:1fr!important}.staffops-personal-heading,.staffops-head-actions{justify-content:center!important}.staffops-live-clock{grid-row:2}.staffops-head-actions{grid-row:3;flex-wrap:wrap}.staffops-sync-strip{justify-content:center}.staffops-live-clock{min-width:150px}}

/* rc11 final responsive precedence */
@media(max-width:980px) and (min-width:721px){.staffops-personal-heading,.staffops-head-actions{order:initial!important}.staffops-sync-strip{justify-content:flex-end!important}.staffops-head-actions{justify-content:flex-end!important}}

/* RC12 · cabecera tablet compacta y privacidad sin enumerar personal */
.staffops-sync-strip{display:none!important}
.staffops-terminal-head{grid-template-columns:minmax(250px,1fr) auto minmax(430px,1.35fr)!important}
.staffops-head-actions{gap:7px!important;flex-wrap:nowrap!important}
.staffops-head-actions .staffops-sync-status{flex:0 0 auto;min-width:52px;padding:8px 9px;background:#f7fbfe;border-color:#d7e3ec}
.staffops-sync-status .staffops-sync-icon{font-size:17px}
.staffops-sync-status strong{font-size:11px}
.staffops-private-name-label{display:grid;gap:7px;margin:14px 0 10px;color:#41566b;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.staffops-private-name-input{width:100%;min-height:60px;border:2px solid #cbd9e5;border-radius:15px;background:#fcfcfb;padding:12px 16px;color:#17334e;font-size:24px;font-weight:750;outline:none;box-shadow:0 2px 8px rgba(31,64,96,.04)}
.staffops-private-name-input:focus{border-color:#4b91ca;box-shadow:0 0 0 4px rgba(75,145,202,.12)}
.staffops-private-auth-note{margin:5px 0 12px;color:#65778a;line-height:1.45}
.staffops-private-login .staffops-portal-people{display:none!important}.staffops-private-auth .staffops-manager-people{display:grid!important}.staffops-private-auth .staffops-manager-default{display:flex!important}
.staffops-private-login{max-width:650px!important}
@media(max-width:1100px){.staffops-terminal-head{grid-template-columns:minmax(210px,1fr) auto minmax(360px,1.2fr)!important}.staffops-head-actions{gap:5px!important}.staffops-head-actions .staffops-top-btn{padding:8px 8px!important;font-size:10.5px!important}}
@media(max-width:840px){.staffops-terminal-head{grid-template-columns:1fr!important}.staffops-personal-heading{justify-content:center!important}.staffops-live-clock{grid-row:2}.staffops-head-actions{grid-row:3;justify-content:center!important;flex-wrap:wrap!important}.staffops-private-name-input{font-size:21px;min-height:56px}}

/* rc13 · privacidad por encargado al bloquear/desbloquear */
.staffops-private-auth .staffops-manager-people{margin:12px 0;max-height:220px;overflow:auto}.staffops-private-auth .staffops-manager-default{margin-bottom:8px}.staffops-private-auth .staffops-private-name-label{display:none!important}

/* rc15 · header compacto y avisos administrativos privados */
.staffops-icon-top-btn{width:42px;min-width:42px;padding:0!important;font-size:18px;line-height:1;display:inline-grid!important;place-items:center}
@media(max-width:900px){.staffops-icon-top-btn{width:38px;min-width:38px}}

/* rc17 — header alineado en una sola fila para tablet */
.staffops-terminal-head{align-items:center!important}
.staffops-personal-heading{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:nowrap!important}
.staffops-personal-heading h1{margin:0!important;font-size:21px!important;font-weight:950!important;line-height:42px!important;white-space:nowrap!important}
.staffops-personal-heading .staffops-top-btn,.staffops-head-actions .staffops-top-btn{min-height:42px!important;display:inline-flex!important;align-items:center!important}
.staffops-head-actions{flex-wrap:nowrap!important}
@media(max-width:840px) and (min-width:621px){
  .staffops-terminal-head{display:grid!important;grid-template-columns:minmax(150px,.85fr) minmax(130px,.7fr) minmax(305px,1.55fr)!important;gap:7px!important}
  .staffops-personal-heading{justify-content:flex-start!important}
  .staffops-live-clock{grid-row:auto!important;min-width:130px!important;padding:6px 8px!important}
  .staffops-head-actions{grid-row:auto!important;justify-content:flex-end!important;width:auto!important;gap:5px!important}
  .staffops-head-actions .staffops-top-btn{padding:7px 8px!important;font-size:10.5px!important}
  .staffops-personal-heading h1{font-size:19px!important}
  .staffops-sound-btn{width:40px!important;height:40px!important}
}
@media(max-width:620px){.staffops-terminal-head{grid-template-columns:1fr!important}.staffops-personal-heading,.staffops-head-actions{justify-content:center!important}.staffops-head-actions{flex-wrap:wrap!important}.staffops-live-clock{grid-row:2!important}.staffops-head-actions{grid-row:3!important}}

/* rc18 · tareas táctiles, alerta de no tomada y centrado óptico del header */
.staffops-scheduled-row.is-attention{background:#ffe4e4!important;border-color:#e88989!important;box-shadow:0 0 0 2px rgba(177,50,50,.08)}
.staffops-task-actions{gap:7px!important}.staffops-task-btn{min-height:38px!important;padding:8px 12px!important;border-radius:10px!important;border:1px solid #cfd9e3!important;background:#fcfcfb!important;color:#263547!important;font-weight:800!important;cursor:pointer!important}.staffops-task-btn.is-primary{background:#e8f3ff!important;border-color:#9bc5eb!important;color:#174f7d!important}.staffops-task-btn.is-success{background:#e6f5ea!important;border-color:#9bc9aa!important;color:#276840!important}.staffops-task-btn.is-danger{background:#fff0f0!important;border-color:#e3abab!important;color:#9b2f2f!important}.staffops-task-btn.is-ghost{background:#f7f9fb!important;color:#5c6876!important}
.staffops-personal-heading{min-height:42px!important}.staffops-personal-heading h1{height:42px!important;display:flex!important;align-items:center!important;line-height:1.05!important;padding:0!important;transform:none!important;position:relative!important;top:0!important}

/* rc19 — desbloqueo explícito de audio/TTS en navegadores de tablet */
.staffops-sound-btn.needs-unlock{background:#fff7df!important;border-color:#e1b653!important;color:#7a5608!important;box-shadow:0 0 0 2px rgba(225,182,83,.16);animation:staffopsAudioHint 1.8s ease-in-out infinite}
@keyframes staffopsAudioHint{0%,100%{box-shadow:0 0 0 2px rgba(225,182,83,.12)}50%{box-shadow:0 0 0 5px rgba(225,182,83,.22)}}
@media(prefers-reduced-motion:reduce){.staffops-sound-btn.needs-unlock{animation:none}}

/* rc20 — centrar Modo Privado y ampliar Mi Espacio */

.staffops-privacy-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;padding-left:0!important;padding-right:0!important;line-height:1!important}
.staffops-portal [data-login].staffops-portal-login{width:min(1040px,96vw)!important;max-width:none!important;margin:18px auto!important}
.staffops-portal-login .staffops-portal-people{grid-template-columns:repeat(auto-fit,minmax(125px,1fr))!important;max-height:none!important;overflow:visible!important}
.staffops-portal-login .staffops-portal-pin-display,.staffops-portal-login .staffops-portal-pin-pad,.staffops-portal-login .staffops-portal-login-actions,.staffops-portal-login>[data-error]{width:min(520px,100%);margin-left:auto;margin-right:auto}
@media(max-width:620px){.staffops-portal [data-login].staffops-portal-login{width:100%!important}.staffops-portal-login .staffops-portal-people{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* rc21 — terminal autorizada + experiencia instalada tipo app */
html,body.staffops-app-body{min-height:100%;overscroll-behavior:none}.staffops-app-body{padding-top:env(safe-area-inset-top);padding-right:env(safe-area-inset-right);padding-bottom:env(safe-area-inset-bottom);padding-left:env(safe-area-inset-left)}
.staffops-device-auth{min-height:100vh;display:grid;place-items:center;padding:28px;background:linear-gradient(145deg,#172331,#25384b)}
.staffops-device-auth-card{width:min(520px,100%);background:#fcfcfb;border-radius:24px;padding:34px;box-shadow:0 28px 80px rgba(0,0,0,.25)}
.staffops-device-auth-mark{width:58px;height:58px;border-radius:16px;display:grid;place-items:center;background:#df6a5d;color:#fff;font-size:20px;font-weight:900;margin-bottom:16px}
.staffops-device-auth-card h1{margin:6px 0 10px;font-size:30px}.staffops-device-auth-card>p{margin:0 0 22px;color:#647386;line-height:1.55}
.staffops-device-auth-card form{display:grid;gap:14px}.staffops-device-auth-card label{display:grid;gap:6px;font-size:12px;font-weight:800;color:#35465a}.staffops-device-auth-card label small{font-weight:500;color:#8792a0}
.staffops-device-auth-card input{width:100%;border:1px solid #d5dde7;border-radius:10px;padding:12px 13px;min-height:46px;font:inherit;color:#243247;background:#fcfcfb}
.staffops-device-auth-note{display:block;margin-top:18px;color:#7b8999;line-height:1.45}
@media(max-width:600px){.staffops-device-auth{padding:14px}.staffops-device-auth-card{padding:26px 20px;border-radius:18px}}


/* rc23 — superficies menos brillantes */
html,body.staffops-app-body,.staffops-terminal,.staffops-private{background:#edf0f3!important}
.staffops-toolbar,.staffops-table-shell,.staffops-modal-card,.staffops-private-login,.staffops-device-auth-card{background:#f4f5f6!important}
.staffops-top-btn:not(.staffops-reinforcement-btn),.staffops-mini:not(.is-active):not(.is-over),.staffops-row:not(.is-late):not(.is-reinforcement):not(.is-temp-unavailable):not(.is-operational-missing),.staffops-profile,.staffops-pin,.staffops-select,.staffops-private-login input,.staffops-terminal select,.staffops-modal select,.staffops-device-auth input{background-color:#f6f7f8!important}
.staffops-row:hover{background:#f7f8f9!important}.staffops-roster-head{background:#eef1f4!important}.staffops-manager-card{background:#f3f5f7!important}

/* rc24 — Web Push opt-in solicitado desde Central */
.staffops-push-prompt{max-width:1160px;margin:0 auto 12px;padding:12px 14px;border:1px solid #d7dfe8;border-radius:14px;background:#f1f4f7;display:flex;align-items:center;justify-content:space-between;gap:16px;box-shadow:0 6px 18px rgba(37,52,72,.07)}
.staffops-push-prompt[hidden]{display:none!important}
.staffops-push-prompt>div{display:flex;flex-direction:column;gap:2px;min-width:0}.staffops-push-prompt strong{font-size:14px;color:#17202b}.staffops-push-prompt span{font-size:12px;line-height:1.35;color:#52606d}.staffops-push-prompt .staffops-btn{flex:0 0 auto;white-space:nowrap}
@media(max-width:720px){.staffops-push-prompt{align-items:stretch;flex-direction:column}.staffops-push-prompt .staffops-btn{width:100%}}


/* rc26 — instalación PWA guiada */
.staffops-install-prompt{max-width:1160px;margin:0 auto 12px;padding:12px 14px;border:1px solid #cfd9e3;border-radius:14px;background:#eef2f6;display:flex;align-items:center;justify-content:space-between;gap:16px;box-shadow:0 6px 18px rgba(37,52,72,.06)}
.staffops-install-prompt[hidden]{display:none!important}
.staffops-install-prompt>div{display:flex;flex-direction:column;gap:2px;min-width:0}.staffops-install-prompt strong{font-size:14px;color:#17202b}.staffops-install-prompt span{font-size:12px;line-height:1.4;color:#52606d}.staffops-install-prompt .staffops-btn{flex:0 0 auto;white-space:nowrap}
.staffops-device-auth-card .staffops-install-prompt{margin:0 0 18px;max-width:none;box-shadow:none}
@media(max-width:720px){.staffops-install-prompt{align-items:stretch;flex-direction:column}.staffops-install-prompt .staffops-btn{width:100%}}

/* rc32 · verificación fotográfica de entrada */
.staffops-camera-checkin{display:grid;gap:14px;min-width:min(560px,88vw)}
.staffops-camera-checkin h3{margin:0}.staffops-camera-checkin p{margin:0;color:#52606d}
.staffops-camera-frame{position:relative;width:min(520px,82vw);aspect-ratio:4/3;margin:0 auto;border-radius:20px;overflow:hidden;background:#17202b;border:1px solid #cbd3da;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.staffops-camera-frame video{width:100%;height:100%;object-fit:cover;transform:scaleX(-1);display:block}
@media (max-width:700px){.staffops-camera-checkin{min-width:0}.staffops-camera-frame{width:100%}}


/* rc33 · estados operativos visibles + blanco suavizado casi neutro */
.staffops-terminal{--staffops-soft-white:#fcfcfb;--staffops-soft-white-hover:#fafaf9}
html,body.staffops-app-body,.staffops-terminal,.staffops-private{background:#f6f7f8!important}
.staffops-toolbar,.staffops-table-shell,.staffops-modal-card,.staffops-private-login,.staffops-device-auth-card,
.staffops-top-btn:not(.staffops-reinforcement-btn),.staffops-mini:not(.is-active):not(.is-over),
.staffops-row:not(.is-temp-unavailable):not(.is-operational-missing):not(.is-scheduled-off):not(.is-done):not(.is-reinforcement),
.staffops-profile,.staffops-pin,.staffops-select,.staffops-private-login input,.staffops-private-name-input,
.staffops-terminal select,.staffops-modal select,.staffops-device-auth input,.staffops-btn:not(.staffops-primary):not(.staffops-danger),
.staffops-icon-action:not(.is-active):not(.is-over),.staffops-task-btn:not(.is-primary):not(.is-success):not(.is-danger),
.staffops-manager-card,.staffops-inline-ref-row,.staffops-reinforcement-card{
  background-color:var(--staffops-soft-white)!important;
}
.staffops-row:not(.is-temp-unavailable):not(.is-operational-missing):hover{background:var(--staffops-soft-white-hover)!important}
.staffops-roster-head{background:#f8f9fa!important}

/* No disponible: baño, descanso, motivo no disponible o tarea que quite disponibilidad. */
.staffops-row.is-temp-unavailable{
  background:#fff6cf!important;
  border-color:#e5c95d!important;
  opacity:1!important;
}
.staffops-row.is-temp-unavailable:hover{background:#fff3c2!important}

/* Alerta: ausencia operativa o tiempo excedido de descanso/baño. */
.staffops-row.is-operational-missing{
  background:#ffe4e7!important;
  border-color:#e59aa2!important;
  opacity:1!important;
}
.staffops-row.is-operational-missing:hover{background:#ffdade!important}
.staffops-row.is-operational-missing .staffops-day-status{color:#9f1622!important}


/* rc34 · estados operativos persistentes: nunca dependen de hover */
.staffops-row.is-temp-unavailable,
.staffops-row.is-temp-unavailable:hover{
  background:#fff1b8!important;
  border-color:#d8b73f!important;
  box-shadow:inset 4px 0 0 #d4a90f,0 1px 2px rgba(89,66,0,.05)!important;
  opacity:1!important;
}
.staffops-row.is-temp-unavailable .staffops-name,
.staffops-row.is-temp-unavailable .staffops-assignment-button,
.staffops-row.is-temp-unavailable .staffops-history-btn,
.staffops-row.is-temp-unavailable .staffops-icon-action:not(.is-active):not(.is-over),
.staffops-row.is-temp-unavailable .staffops-empty-action,
.staffops-row.is-temp-unavailable .staffops-task-btn:not(.is-primary):not(.is-success):not(.is-danger){
  background:#fff7d4!important;
  border-color:#dfc96d!important;
}
.staffops-row.is-operational-missing,
.staffops-row.is-operational-missing:hover{
  background:#ffd9dd!important;
  border-color:#dc7e89!important;
  box-shadow:inset 4px 0 0 #c93645,0 1px 2px rgba(114,18,31,.06)!important;
  opacity:1!important;
}
.staffops-row.is-operational-missing .staffops-name,
.staffops-row.is-operational-missing .staffops-assignment-button,
.staffops-row.is-operational-missing .staffops-history-btn,
.staffops-row.is-operational-missing .staffops-icon-action:not(.is-active):not(.is-over),
.staffops-row.is-operational-missing .staffops-empty-action,
.staffops-row.is-operational-missing .staffops-task-btn:not(.is-primary):not(.is-success):not(.is-danger){
  background:#ffe9eb!important;
  border-color:#e2a0a8!important;
}
.staffops-row.is-operational-missing .staffops-day-status{color:#971724!important;font-weight:850!important}


/* rc35 — tablet portrait: one-line header + one-line employee rows */
.staffops-header-icon-btn{width:40px!important;min-width:40px!important;height:40px!important;padding:0!important;display:inline-grid!important;place-items:center!important;font-size:18px!important;line-height:1!important;position:relative}
.staffops-manage-btn .staffops-pending-badge{position:absolute;right:-5px;top:-6px}
.staffops-tasks-top-btn{min-width:66px!important;height:40px!important;padding:3px 7px!important;display:grid!important;grid-template-rows:1fr 1fr!important;align-content:center!important;justify-items:center!important;gap:0!important;line-height:1!important;white-space:normal!important}
.staffops-tasks-top-btn span{display:block;font-size:10px;line-height:1.05}
@media (min-width:681px) and (max-width:1000px){
  .staffops-terminal{padding:9px 7px 16px!important}
  .staffops-terminal-head{display:grid!important;grid-template-columns:auto minmax(112px,145px) auto!important;align-items:center!important;gap:6px!important;flex-wrap:nowrap!important;margin-bottom:7px!important}
  .staffops-personal-heading{width:auto!important;justify-content:flex-start!important;gap:6px!important;flex-wrap:nowrap!important}
  .staffops-personal-heading h1{font-size:18px!important;line-height:38px!important;height:38px!important}
  .staffops-live-clock{grid-row:auto!important;min-width:112px!important;width:100%!important;padding:5px 7px!important;border-radius:10px!important}
  .staffops-live-clock strong{font-size:16px!important}.staffops-live-clock span{font-size:9px!important;margin-top:2px!important}
  .staffops-head-actions{grid-row:auto!important;width:auto!important;justify-content:flex-end!important;gap:4px!important;flex-wrap:nowrap!important}
  .staffops-header-icon-btn,.staffops-icon-top-btn{width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important}
  .staffops-sound-btn{width:36px!important;height:36px!important;font-size:17px!important;border-radius:9px!important}
  .staffops-tasks-top-btn{width:60px!important;min-width:60px!important;height:36px!important;min-height:36px!important;padding:2px 4px!important}
  .staffops-tasks-top-btn span{font-size:9px!important}
  .staffops-head-actions .staffops-sync-status{min-width:46px!important;height:36px!important;padding:5px 6px!important;border-radius:9px!important;gap:3px!important}
  .staffops-sync-status .staffops-sync-icon{font-size:14px!important}.staffops-sync-status strong{font-size:9.5px!important}
  .staffops-row,.staffops-private-row .staffops-row{grid-template-columns:minmax(145px,1.12fr) minmax(105px,.82fr) repeat(5,34px)!important;grid-template-rows:1fr!important;gap:4px!important;align-items:start!important;padding:5px!important}
  .staffops-cell-employee{grid-column:1!important;grid-row:1!important}.staffops-cell-assignment{grid-column:2!important;grid-row:1!important}
  .staffops-cell-task{grid-column:3!important;grid-row:1!important}.staffops-cell-unavailable{grid-column:4!important;grid-row:1!important}.staffops-cell-bath{grid-column:5!important;grid-row:1!important}.staffops-cell-break{grid-column:6!important;grid-row:1!important}.staffops-cell-exit{grid-column:7!important;grid-row:1!important}
  .staffops-name-line{grid-template-columns:minmax(0,1fr) 30px!important;gap:3px!important}.staffops-name{min-height:32px!important;height:32px!important;padding:3px 6px!important;font-size:12.5px!important}.staffops-history-btn{width:30px!important;height:32px!important}
  .staffops-day-status{font-size:7.5px!important;padding:2px 2px 0!important}.staffops-day-status.present{display:none!important}
  .staffops-assignment-button{min-height:32px!important;height:32px!important;padding:2px 5px!important;gap:0!important}.staffops-assignment-button strong{font-size:12px!important;line-height:1!important}.staffops-assignment-button small{display:none!important}
  .staffops-icon-action{width:34px!important;height:32px!important}.staffops-icon-action .staffops-svg-icon{width:15px!important;height:15px!important}.staffops-action-stack small{display:none!important}
}


/* rc36 — iconos centrados y fila única en tablet vertical */
.staffops-header-icon-btn{
  display:inline-grid!important;
  place-items:center!important;
  padding:0!important;
  text-align:center!important;
  line-height:0!important;
}
.staffops-header-svg{
  width:18px!important;
  height:18px!important;
  display:block!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  margin:0!important;
  padding:0!important;
}
.staffops-tasks-top-btn{
  width:40px!important;
  min-width:40px!important;
  height:40px!important;
  min-height:40px!important;
  padding:0!important;
  display:inline-grid!important;
  place-items:center!important;
}

@media (orientation:portrait) and (min-width:681px) and (max-width:1180px){
  .staffops-terminal{padding:9px 7px 16px!important}
  .staffops-terminal-head{
    display:grid!important;
    grid-template-columns:auto minmax(108px,136px) auto!important;
    align-items:center!important;
    gap:5px!important;
    margin-bottom:7px!important;
  }
  .staffops-personal-heading{
    width:auto!important;
    min-width:0!important;
    justify-content:flex-start!important;
    align-items:center!important;
    gap:5px!important;
    flex-wrap:nowrap!important;
  }
  .staffops-personal-heading h1{
    font-size:18px!important;
    line-height:36px!important;
    height:36px!important;
  }
  .staffops-live-clock{
    grid-row:auto!important;
    min-width:108px!important;
    width:100%!important;
    padding:5px 7px!important;
    border-radius:10px!important;
  }
  .staffops-live-clock strong{font-size:16px!important}
  .staffops-live-clock span{font-size:9px!important;margin-top:2px!important}
  .staffops-head-actions{
    grid-row:auto!important;
    width:auto!important;
    justify-content:flex-end!important;
    align-items:center!important;
    gap:3px!important;
    flex-wrap:nowrap!important;
  }
  .staffops-header-icon-btn,.staffops-icon-top-btn,.staffops-tasks-top-btn{
    width:34px!important;
    min-width:34px!important;
    height:34px!important;
    min-height:34px!important;
  }
  .staffops-header-svg{width:17px!important;height:17px!important}
  .staffops-sound-btn{width:34px!important;height:34px!important;font-size:16px!important;border-radius:9px!important}
  .staffops-head-actions .staffops-sync-status{min-width:44px!important;height:34px!important;padding:4px 5px!important;border-radius:9px!important;gap:2px!important}
  .staffops-sync-status .staffops-sync-icon{font-size:13px!important}
  .staffops-sync-status strong{font-size:9px!important}

  .staffops-row,.staffops-private-row .staffops-row{
    grid-template-columns:minmax(112px,160px) minmax(82px,1fr) repeat(5,32px)!important;
    grid-template-rows:1fr!important;
    gap:3px!important;
    align-items:center!important;
    padding:4px!important;
    min-height:42px!important;
  }
  .staffops-cell-employee{grid-column:1!important;grid-row:1!important}
  .staffops-cell-assignment{grid-column:2!important;grid-row:1!important}
  .staffops-cell-task{grid-column:3!important;grid-row:1!important}
  .staffops-cell-unavailable{grid-column:4!important;grid-row:1!important}
  .staffops-cell-bath{grid-column:5!important;grid-row:1!important}
  .staffops-cell-break{grid-column:6!important;grid-row:1!important}
  .staffops-cell-exit{grid-column:7!important;grid-row:1!important}
  .staffops-cell-task,.staffops-cell-unavailable,.staffops-cell-bath,.staffops-cell-break,.staffops-cell-exit{align-items:center!important}

  .staffops-name-line{
    grid-template-columns:28px minmax(0,1fr)!important;
    gap:3px!important;
    align-items:center!important;
  }
  .staffops-name-line>.staffops-history-btn{grid-column:1!important;width:28px!important;height:30px!important;align-self:center!important}
  .staffops-name-line>.staffops-employee-details{grid-column:2!important;min-width:0!important;width:100%!important}
  .staffops-name{min-height:30px!important;height:30px!important;padding:2px 5px!important;font-size:12px!important}
  .staffops-day-status{font-size:7px!important;padding:1px 1px 0!important;line-height:1!important}
  .staffops-day-status.present{display:none!important}

  .staffops-assignment-button{
    min-height:30px!important;
    height:30px!important;
    padding:2px 4px!important;
    gap:0!important;
  }
  .staffops-assignment-button strong{font-size:10.5px!important;line-height:1!important;letter-spacing:-.01em!important}
  .staffops-assignment-button small{display:none!important}
  .staffops-assignment-off{font-size:14px!important}
  .staffops-icon-action{width:32px!important;height:30px!important}
  .staffops-icon-action .staffops-svg-icon{width:14px!important;height:14px!important}
  .staffops-action-stack{gap:0!important}
  .staffops-action-stack small{display:none!important}
}


/* rc40 — centrado geométrico definitivo de Mi espacio, Gestión y Tareas */
.staffops-personal-heading .staffops-header-icon-btn,
.staffops-head-actions .staffops-header-icon-btn{
  position:relative!important;
  display:block!important;
  width:40px!important;
  min-width:40px!important;
  height:40px!important;
  min-height:40px!important;
  padding:0!important;
  margin:0!important;
  line-height:40px!important;
  text-align:center!important;
  overflow:visible!important;
}
.staffops-personal-heading .staffops-header-icon-btn>.staffops-header-svg,
.staffops-head-actions .staffops-header-icon-btn>.staffops-header-svg{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:18px!important;
  height:18px!important;
  margin:0!important;
  padding:0!important;
  transform:translate(-50%,-50%)!important;
  transform-origin:center center!important;
  display:block!important;
  box-sizing:content-box!important;
}
.staffops-header-svg.staffops-user-svg,
.staffops-header-svg.staffops-clock-svg{
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.staffops-header-svg.staffops-gear-svg{
  fill:currentColor!important;
  stroke:none!important;
  width:19px!important;
  height:19px!important;
}
.staffops-header-svg.staffops-gear-svg circle{
  fill:#fcfcfb!important;
  stroke:none!important;
}
@media (orientation:portrait) and (min-width:681px) and (max-width:1180px){
  .staffops-personal-heading .staffops-header-icon-btn,
  .staffops-head-actions .staffops-header-icon-btn{
    width:34px!important;
    min-width:34px!important;
    height:34px!important;
    min-height:34px!important;
    line-height:34px!important;
  }
  .staffops-personal-heading .staffops-header-icon-btn>.staffops-header-svg,
  .staffops-head-actions .staffops-header-icon-btn>.staffops-header-svg{
    width:17px!important;
    height:17px!important;
  }
  .staffops-head-actions .staffops-header-icon-btn>.staffops-gear-svg{
    width:18px!important;
    height:18px!important;
  }
}


/* rc41 — reloj más angosto en tablet vertical */
@media (orientation:portrait) and (min-width:681px) and (max-width:1180px){
  .staffops-terminal-head{
    grid-template-columns:auto 100px auto!important;
  }
  .staffops-live-clock{
    min-width:0!important;
    width:100px!important;
    max-width:100px!important;
    padding:5px 3px!important;
    justify-self:center!important;
  }
  .staffops-live-clock strong{font-size:15px!important;letter-spacing:-.02em!important}
  .staffops-live-clock span{font-size:8.5px!important}
}
.staffops-timeline-segments{margin:10px 0 14px;padding:10px 12px;border:1px solid #dbe3ea;border-radius:10px;background:#fcfcfb;display:grid;gap:6px}
.staffops-timeline-segments>strong{font-size:12px;color:#475569}
.staffops-timeline-segment{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}
.staffops-timeline-segment span{color:#64748b}.staffops-timeline-segment b{color:#172033;font-variant-numeric:tabular-nums}
