:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172433;background:#f3f6fa;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:linear-gradient(180deg,#edf3f9 0,#f7f9fb 240px)}main{max-width:1120px;margin:auto;padding:18px}header{background:#173a60;color:#fff;border-radius:18px;padding:18px 20px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 8px 24px #173a6022}.brand{display:flex;align-items:center;gap:12px}.brand>span{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#fff;color:#173a60;font-weight:900;letter-spacing:-1px}.brand h1{margin:0;font-size:1.45rem}.brand p{margin:2px 0;color:#5d6b79}.brand small{opacity:.86}nav{display:flex;gap:8px;overflow:auto;padding:18px 0 12px}section,.login{background:#fff;padding:24px;border-radius:18px;box-shadow:0 3px 16px #1231}section{margin-bottom:18px}h2{margin-top:0}h3{margin-top:24px}button{background:#16724a;color:#fff;border:0;border-radius:11px;padding:12px 17px;font-weight:750;cursor:pointer;font:inherit}button:hover{filter:brightness(.97)}button:disabled{opacity:.45;cursor:not-allowed}.secondary{background:#eaf0f6;color:#173a60}.active{background:#173a60;color:#fff}.small{padding:8px 11px;font-size:.82rem}.login{max-width:430px;margin:9vh auto}.login form{display:flex;flex-direction:column}.login .brand{margin-bottom:24px}.login input{width:100%}form{display:flex;gap:12px;flex-wrap:wrap;margin:15px 0 25px}form label{display:flex;flex-direction:column;gap:6px;font-size:.9rem;font-weight:650}input,select,textarea{border:1px solid #b9c6d2;border-radius:10px;padding:11px;min-width:170px;font:inherit;background:#fff}textarea{min-height:90px;resize:vertical}.check{flex-direction:row;align-items:center}.check input{min-width:auto}.message{padding:12px 14px;background:#e9f4ff;border:1px solid #cfe6fa;border-radius:10px;cursor:pointer}.error{color:#b42318}.muted{color:#6b7785}.clock-card{text-align:center;padding:34px}.eyebrow{font-size:.75rem;font-weight:850;letter-spacing:.15em;color:#688096}.clock-card h2{font-size:1.7rem}.today-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:700px;margin:20px auto}.today-grid>div{background:#f5f8fb;border:1px solid #e2eaf1;border-radius:14px;padding:15px;display:flex;flex-direction:column;gap:6px}.today-grid span{font-size:.78rem;color:#6d7c8b}.clock-button{width:min(100%,520px);min-height:135px;margin:16px auto;border-radius:24px;font-size:1.45rem;box-shadow:0 12px 26px #16724a30;display:flex;flex-direction:column;justify-content:center;gap:7px}.clock-button small{font-size:.72rem;font-weight:500;opacity:.86}.clock-button.out{background:#b55f18;box-shadow:0 12px 26px #b55f1830}.open-info{max-width:680px;margin:10px auto 20px;color:#526273}.link-button{background:transparent;color:#315b7e;text-decoration:underline;padding:8px}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px}.day-card{border:1px solid #e0e8ef;border-radius:13px;padding:14px;display:flex;flex-direction:column;gap:6px}.day-card span{font-weight:750}.day-card small{color:#687786}.table-wrap{overflow:auto;border:1px solid #e3e9ef;border-radius:12px}table{border-collapse:collapse;width:100%;font-size:.9rem;background:#fff}td,th{text-align:left;padding:11px;border-bottom:1px solid #e7edf2;white-space:nowrap}th{background:#f6f8fa;color:#506171}.badge{display:inline-block;padding:4px 8px;border-radius:999px;background:#fff1d6;color:#855414;font-size:.76rem;font-weight:750}.management-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.management-grid>div{border:1px solid #e4eaf0;border-radius:14px;padding:16px}.section-title{display:flex;justify-content:space-between;align-items:start;gap:20px}.section-title p{margin-top:-5px;color:#6a7885}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#10263d88;display:grid;place-items:center;padding:18px;z-index:50}.modal{display:flex;flex-direction:column;background:#fff;border-radius:18px;padding:24px;width:min(100%,480px);box-shadow:0 24px 60px #0004}.modal h3{margin:0}.modal p{color:#607080}.modal input,.modal select,.modal textarea{width:100%}.modal-actions{display:flex;justify-content:flex-end;gap:10px}footer{text-align:center;color:#6b7280;font-size:.78rem;margin:30px 0}@media(max-width:700px){main{padding:10px}header{border-radius:14px}.brand>span{width:42px;height:42px}.brand h1{font-size:1.2rem}nav button{flex:0 0 auto;padding:10px 12px}section{padding:16px;border-radius:14px}.clock-card{padding:22px 14px}.today-grid{grid-template-columns:1fr}.clock-button{min-height:125px}.management-grid{grid-template-columns:1fr}.section-title{flex-direction:column}.section-title button{width:100%}form>input,form>select{width:100%}.login{margin:4vh 10px}.table-wrap{margin:0 -4px}}td.wrap{white-space:normal;min-width:260px;max-width:460px}.calendar-main{max-width:1680px;width:100%;padding:14px 18px}.calendar-main>header,.calendar-main>nav,.calendar-main>.message,.calendar-main>footer{max-width:1480px;width:100%;margin-left:auto;margin-right:auto}.planner-page{padding:0;overflow:hidden;border-radius:16px;box-shadow:0 3px 18px #1232}.planner-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;border-bottom:1px solid #e1e7ed;background:#fff}.planner-period,.planner-actions,.segmented{display:flex;align-items:center;gap:6px}.planner-toolbar button{padding:9px 13px;border-radius:8px}.planner-toolbar select{min-width:190px;padding:9px}.icon-button{font-size:1.4rem;line-height:1;width:40px}.period-label{min-width:190px;font-weight:800}.segmented{background:#eef2f6;padding:3px;border-radius:10px}.segmented button{padding:8px 13px;border-radius:8px}.planner-scroll{overflow:auto;max-height:calc(100vh - 285px);min-height:430px;background:#fff}.planner-table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:12px}.planner-table th,.planner-table td{border-right:1px solid #e5e9ee;border-bottom:1px solid #e5e9ee;padding:3px;text-align:center;height:54px;background:#fff}.planner-table thead th{position:sticky;top:0;z-index:5;background:#f8fafc;color:#516273;height:48px;min-width:56px}.planner-table thead th span{display:block;text-transform:capitalize;font-size:10px;font-weight:650}.planner-table thead th strong{display:block;color:#172433;font-size:13px;margin-top:2px}.planner-table .employee-col{position:sticky;left:0;z-index:4;width:210px;min-width:210px;max-width:210px;text-align:left;background:#fff;padding:7px 10px}.planner-table thead .employee-col{z-index:7;background:#f8fafc}.planner-table tbody .employee-col{display:flex;align-items:center;gap:8px}.planner-table .employee-col strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:150px}.planner-table .employee-col small{display:block;color:#82909d;font-weight:500;margin-top:2px}.planner-table .hours-col{position:sticky;right:0;z-index:4;width:72px;min-width:72px;background:#fbfcfd}.planner-table thead .hours-col{z-index:7}.planner-table.month td{width:58px;min-width:58px}.planner-table.week td{width:150px;min-width:150px;height:72px}.planner-table.week thead th:not(.employee-col):not(.hours-col){width:150px;min-width:150px}.planner-table .today-col{background:#eef6ff!important}.avatar{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;font-size:9px;font-weight:850;color:#173a60;background:#e8eef5}.avatar.group-sala_bingo{background:#dff5e8;color:#17613e}.avatar.group-bar{background:#efe5ff;color:#6841a5}.avatar.group-limpieza{background:#ffe8e2;color:#a84b36}.schedule-cell{width:100%;height:46px;min-width:50px;border-radius:5px;padding:4px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;box-shadow:none;font-size:10px;line-height:1.05;position:relative}.week .schedule-cell{height:62px;font-size:12px}.schedule-cell b{font-size:10px}.week .schedule-cell b{font-size:12px}.schedule-cell small{font-size:9px;color:inherit;opacity:.9}.schedule-cell.empty{background:#fff;color:#9aa7b3;border:1px dashed #ccd5de}.schedule-cell.empty:hover{background:#f2f7fb;color:#173a60}.schedule-cell.status-work.group-sala_bingo,.schedule-cell.status-work.group-none{background:#8fe06f;color:#183d16}.schedule-cell.status-work.group-bar{background:#c79af4;color:#3f2160}.schedule-cell.status-work.group-limpieza{background:#ff9c83;color:#612719}.schedule-cell.status-rest{background:#d9d9d9;color:#4d5358}.schedule-cell.status-leave{background:#e8e1d8;color:#5c544b}.schedule-cell.status-holiday{background:#f4c86e;color:#5c4514}.schedule-cell i{position:absolute;right:4px;top:1px;font-style:normal;font-size:13px}.plus{font-size:17px;font-weight:400}.planner-table tfoot th,.planner-table tfoot td{position:sticky;bottom:0;z-index:3;background:#f8fafc;color:#5e6c79;height:38px;font-size:10px}.planner-table tfoot .employee-col,.planner-table tfoot .hours-col{z-index:6}.planner-legend{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:10px 16px;background:#fff;font-size:11px;color:#52616e}.planner-legend span{display:flex;align-items:center;gap:5px}.legend-dot{width:10px;height:10px;border-radius:3px;display:inline-block}.legend-dot.work{background:#8fe06f}.legend-dot.rest{background:#d9d9d9}.legend-dot.leave{background:#e8e1d8}.legend-dot.holiday{background:#f4c86e}.modal-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;width:100%}.modal-heading h3{margin:0}.modal-heading p{margin:5px 0 0}.close-button{background:transparent;color:#61707d;font-size:1.6rem;padding:0 5px;line-height:1}.schedule-modal{width:min(100%,540px)}.schedule-modal>label{width:100%}.editor-segment{width:100%;margin:2px 0 4px}.editor-segment button{flex:1}.time-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%}.time-grid label{width:100%}.publish-check{width:100%!important;flex-direction:row!important}.publish-check input{width:auto!important}.planner-table tbody tr:hover .employee-col{background:#f8fbfd}.planner-table tbody tr:hover td{background:#fcfdfe}.planner-table tbody tr:hover .today-col{background:#eef6ff!important}@media(max-width:900px){.calendar-main{padding:8px}.planner-toolbar{align-items:stretch;flex-direction:column}.planner-actions{justify-content:space-between;overflow:auto}.planner-scroll{max-height:calc(100vh - 340px)}.planner-table .employee-col{width:155px;min-width:155px;max-width:155px}.planner-table .employee-col strong{max-width:100px}.planner-table.month td{width:54px;min-width:54px}.planner-table.week td,.planner-table.week thead th:not(.employee-col):not(.hours-col){width:110px;min-width:110px}.time-grid{grid-template-columns:1fr}}.header-actions,.employee-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.header-actions{justify-content:flex-end}.employee-actions{min-width:220px}.success-note{color:#17613e!important;font-weight:750}.modal .error{color:#a12323}.modal input[readonly]{font-family:monospace;letter-spacing:.04em;background:#f6f8fa}.login form{width:100%}@media(max-width:700px){.header-actions{width:100%;justify-content:flex-start}.header-actions button{font-size:.82rem;padding:8px 10px}}.login>.link-button{align-self:flex-start;margin:0 0 16px}.login form>label{width:100%}.login{width:min(430px,calc(100% - 24px));margin:9vh auto;text-align:center}.login .brand{justify-content:center;margin-bottom:24px;text-align:left}.login form{width:100%;margin:18px 0 14px;gap:14px}.login form>label{width:100%;text-align:center}.login form>label>input{width:100%;text-align:center}.login form>button{width:100%}.login>.link-button{display:block;width:fit-content;max-width:100%;margin:8px auto 18px;padding:8px 4px;text-align:center}.login>.muted{display:block;width:100%;margin:4px auto 0;text-align:center;line-height:1.5}.login>.error,.login>.success-note{text-align:center}@media(max-width:700px){.login{margin:4vh auto}}
