:root{--ink:#172033;--muted:#7e8798;--line:#e8ebf1;--canvas:#f7f8fa;--navy:#151c2d;--purple:#7564e8;--accent:#f5bb6a}*{box-sizing:border-box}body{margin:0;font-family:'DM Sans',sans-serif;color:var(--ink);background:var(--canvas)}button,input{font:inherit}.hidden{display:none!important}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(520px,55%) 1fr;background:#fff}.login-panel{padding:46px clamp(48px,10vw,155px) 28px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#1b2436;font-size:19px;font-weight:500;letter-spacing:-.6px}.brand b{font-weight:800}.brand-mark{width:29px;height:29px;border-radius:9px;display:flex;gap:2px;align-items:flex-end;justify-content:center;background:#242d41;padding:6px}.brand-mark i{display:block;width:4px;border-radius:4px;background:#fff}.brand-mark i:nth-child(1){height:8px}.brand-mark i:nth-child(2){height:14px}.brand-mark i:nth-child(3){height:10px}.login-intro{margin-top:clamp(75px,18vh,155px)}.eyebrow,.sidebar nav p{font-size:10px;letter-spacing:1.4px;font-weight:700;color:#9aa1af;margin:0 0 16px}.login-intro h1{font:700 clamp(34px,3.3vw,50px)/1.12 Manrope,sans-serif;letter-spacing:-2.4px;margin:0 0 17px}.login-intro h1 em{font-style:normal;color:var(--purple)}.login-intro>p:last-child{max-width:380px;color:#727b8d;font-size:15px;line-height:1.65;margin:0}.login-form{width:100%;max-width:410px;margin-top:45px}.login-form>label{display:block;color:#3d4657;font-size:13px;font-weight:700;margin:0 0 20px}.login-form input:not([type=checkbox]){width:100%;height:49px;margin-top:8px;border:1px solid #e1e5eb;border-radius:9px;padding:0 14px;outline:0;color:var(--ink);transition:.2s}.login-form input:focus{border-color:#8577e9;box-shadow:0 0 0 3px #eeeaff}.input-wrap{position:relative;display:block}.input-wrap input{padding-right:45px!important}.input-wrap button{border:0;background:transparent;position:absolute;right:10px;top:10px;color:#9ba2af;cursor:pointer}.form-meta{display:flex;justify-content:space-between;align-items:center;margin:3px 0 24px;font-size:12px}.form-meta a{color:#6958d7;font-weight:700;text-decoration:none}.check{display:flex;align-items:center;gap:7px;color:#70798b}.check input{accent-color:#7664e8}.primary-button{border:0;border-radius:9px;background:#7464e7;color:white;height:50px;width:100%;font-weight:700;font-size:14px;cursor:pointer;box-shadow:0 7px 14px #7664e733;transition:.2s}.primary-button:hover{background:#6353d4;transform:translateY(-1px)}.primary-button span{font-size:18px;margin-left:8px}.form-error{color:#c33954;font-size:13px;min-height:19px;margin:10px 0}.copyright{margin:auto 0 0;color:#9ca3b1;font-size:11px}.login-art{position:relative;overflow:hidden;background:#171d2e;color:#fff;padding:clamp(42px,6vw,95px);display:flex;align-items:flex-end}.grid-lines{position:absolute;inset:0;background-image:linear-gradient(#ffffff0b 1px,transparent 1px),linear-gradient(90deg,#ffffff0b 1px,transparent 1px);background-size:58px 58px;mask-image:linear-gradient(to bottom,black,transparent 75%)}.orb{position:absolute;border-radius:50%;filter:blur(1px)}.orb-one{width:470px;height:470px;right:-80px;top:10%;background:radial-gradient(circle at 35% 35%,#8372f9 0,#5d4fc4 37%,#303568 69%,transparent 70%);opacity:.65}.orb-two{width:260px;height:260px;right:30%;bottom:-110px;background:#f6b659;opacity:.14}.quote-card{z-index:1;border:1px solid #ffffff1c;border-radius:14px;background:#ffffff0c;backdrop-filter:blur(8px);padding:22px;width:min(355px,100%);margin-bottom:50px}.quote-icon{color:#f4b763;font-size:21px}.quote-card p{font:600 17px/1.5 Manrope,sans-serif;margin:12px 0 17px}.quote-card small{font-size:9px;letter-spacing:1.4px;color:#b8bfca}.art-caption{z-index:1;position:absolute;right:clamp(42px,6vw,95px);bottom:54px;font:700 clamp(21px,2.2vw,32px)/1.15 Manrope,sans-serif;text-align:right;letter-spacing:-1.5px;color:#fff8}.art-caption strong{color:#f7bd6c}.app-shell{min-height:100vh;display:flex}.sidebar{width:248px;min-height:100vh;background:#181f30;color:#c3cad5;padding:27px 16px;display:flex;flex-direction:column;flex-shrink:0}.sidebar-brand{color:#fff;padding:0 10px;font-size:17px}.sidebar nav{margin-top:58px}.sidebar nav p{padding:0 12px;margin-bottom:12px;color:#7e8798}.nav-spacer{margin-top:34px!important}.nav-item{border:0;background:transparent;color:#aeb6c5;width:100%;height:45px;border-radius:8px;text-align:left;padding:0 12px;display:flex;align-items:center;gap:12px;font-size:13px;cursor:pointer;margin:3px 0}.nav-item:hover,.nav-item.active{background:#ffffff12;color:#fff}.nav-item.active{box-shadow:inset 3px 0 #8371f1}.nav-icon{font-size:17px;width:17px;text-align:center}.nav-item small{margin-left:auto;background:#7765e5;color:white;border-radius:11px;padding:2px 7px;font-size:10px}.sidebar-user{border-top:1px solid #ffffff12;margin-top:auto;padding:19px 6px 0;display:flex;align-items:center;gap:9px}.avatar{width:34px;height:34px;border-radius:50%;background:#c8a4e7;color:#fff;display:grid;place-items:center;font-size:11px;font-weight:700}.sidebar-user strong,.sidebar-user span{display:block;font-size:11px}.sidebar-user strong{color:#f5f6f9}.sidebar-user span{color:#8590a0;margin-top:3px;font-size:10px}.sidebar-user button{border:0;color:#9ea8b7;background:transparent;margin-left:auto;font-size:18px;cursor:pointer}.workspace{flex:1;min-width:0}.topbar{height:90px;background:#fff;border-bottom:1px solid var(--line);padding:0 clamp(26px,4vw,58px);display:flex;align-items:center;justify-content:space-between}.crumb span{font-size:9px;letter-spacing:1.3px;font-weight:700;color:#a2a9b6}.crumb h1{font:700 21px Manrope,sans-serif;letter-spacing:-.9px;margin:3px 0 0}.top-actions{display:flex;align-items:center;gap:24px}.today{font-size:12px;color:#7c8493}.icon-button{position:relative;border:0;background:#f5f6f9;border-radius:8px;width:35px;height:35px;font-size:17px;color:#4c5668}.icon-button b{position:absolute;width:6px;height:6px;background:#ec6b7b;border-radius:50%;right:9px;top:8px;border:1px solid #fff}.mobile-menu{display:none}.content{padding:37px clamp(26px,4vw,58px)}.page{display:none}.active-page{display:block}.welcome{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.welcome h2{font:700 25px Manrope,sans-serif;letter-spacing:-1.2px;margin:0 0 5px}.welcome h2 span{color:#efb452;font-size:21px}.welcome p,.card-heading p{margin:0;color:#8490a0;font-size:13px}.mini-button{width:auto;height:38px;padding:0 16px;font-size:12px;box-shadow:none}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:22px}.stats-grid article,.card{background:#fff;border:1px solid #e9ecf1;border-radius:11px}.stats-grid article{padding:19px;position:relative}.stat-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:8px;font-size:16px}.blue{background:#e6f1ff;color:#4782d8}.purple{background:#eeeaff;color:#7864e5}.orange{background:#fff0d9;color:#e6a54c}.green{background:#ddf4ea;color:#4bab7d}.stats-grid p{font-size:12px;color:#7e8797;margin:14px 0 5px}.stats-grid h3{font:700 25px Manrope,sans-serif;letter-spacing:-1px;margin:0 0 9px}.stats-grid small{font-size:10px;font-weight:700}.stats-grid small b{font-weight:400;color:#9da5b1;margin-left:2px}.up{color:#42a87a}.neutral{color:#9da5b1}.dashboard-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:21px}.card{padding:22px}.card-heading{display:flex;justify-content:space-between;align-items:flex-start}.card-heading h3{margin:0 0 4px;font:700 15px Manrope,sans-serif;letter-spacing:-.5px}.card-heading button{border:0;background:transparent;color:#6e5dde;font-size:11px;font-weight:700;cursor:pointer}.activity-list{margin:17px 0 0;padding:0;list-style:none}.activity-list li{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid #f0f1f4}.activity-list li:last-child{border:0}.activity-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;font-weight:700;font-size:10px}.violet{background:#e7dbfc;color:#8960bd}.blueish{background:#d8edfc;color:#5b9cc9}.peach{background:#fae2cb;color:#d78a56}.greenish{background:#d7f0e5;color:#4d9a79}.activity-list p{flex:1;margin:0;font-size:11px;color:#5f6878}.activity-list p b{color:#333d4f}.activity-list p strong{font-weight:500;color:#6855d3}.activity-list small{display:block;color:#abb1bc;margin-top:4px;font-size:10px}.activity-list i{font-style:normal;width:21px;height:21px;border-radius:6px;display:grid;place-items:center;font-size:11px}.done{background:#dff3e9;color:#4eaf83}.comment{background:#eeeaff;color:#7a65e6}.add{background:#fff0d9;color:#e7ab55}.edit{background:#e6f2ff;color:#5f99d4}.chart{height:179px;margin:27px 0 0;display:flex}.chart-labels{width:32px;display:flex;flex-direction:column;justify-content:space-between;color:#a8afba;font-size:9px;padding-bottom:1px}.chart-bars{border-bottom:1px solid #edf0f4;flex:1;display:flex;align-items:flex-end;justify-content:space-around;background:repeating-linear-gradient(to bottom,transparent 0,transparent 43px,#f0f2f5 44px)}.chart-bars i{width:19px;background:#dcd5fa;border-radius:5px 5px 0 0;display:block}.chart-bars i.current{background:#7865e6}.chart-days{padding-left:33px;display:flex;justify-content:space-around;color:#929aa8;font-size:9px;margin-top:8px}.progress-summary{display:flex;gap:15px;margin-top:23px;font-size:10px;color:#7a8493}.progress-summary span{display:flex;gap:5px;align-items:center}.progress-summary i{width:7px;height:7px;border-radius:50%;background:#7865e6}.progress-summary span+span i{background:#ded9f8}.progress-summary b{color:#40495a;margin-left:3px}.empty-state{text-align:center;padding:80px 25px}.empty-state>span{display:grid;place-items:center;margin:0 auto 14px;width:47px;height:47px;background:#edeafe;color:#7464e7;border-radius:12px;font-size:23px}.empty-state h3{margin:0 0 7px;font:700 17px Manrope}.empty-state p{color:#818a99;font-size:13px;margin:0}
.settings-card{display:flex;align-items:center;gap:16px;padding:24px}.settings-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:#eeeaff;color:#7564e8;font-size:21px}.settings-copy{flex:1}.settings-copy h3{font:700 15px Manrope;margin:0 0 4px}.settings-copy p{margin:0;color:#8490a0;font-size:12px}.theme-selector{display:flex;padding:4px;background:#f2f3f6;border-radius:9px;gap:3px}.theme-option{border:0;background:transparent;border-radius:6px;padding:8px 11px;color:#7c8594;font-weight:700;font-size:12px;cursor:pointer}.theme-option span{margin-right:4px;font-size:14px}.theme-option.selected{background:#fff;color:#5e4ecd;box-shadow:0 1px 3px #2025361a}
.insights-section{margin:0 0 22px}.section-title{display:flex;align-items:end;justify-content:space-between;margin-bottom:13px}.section-title h3{font:700 15px Manrope;margin:0 0 3px;letter-spacing:-.4px}.section-title p{margin:0;color:#8790a0;font-size:11px}.section-title>span{color:#929aa8;font-size:10px}.insights-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.insight-card{background:#fff;border:1px solid #e9ecf1;border-radius:11px;padding:18px;display:flex;gap:13px;align-items:flex-start}.insight-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:9px;font-size:17px;font-weight:700}.exchange-icon{background:#def3e6;color:#36a36e}.weather-icon{background:#fff0d8;color:#e8aa4f}.holiday-icon{background:#eeeaff;color:#7664e8}.insight-card p{margin:1px 0 5px;color:#7f8898;font-size:11px}.insight-card h3{margin:0 0 4px;font:700 17px Manrope;letter-spacing:-.6px}.insight-card small{display:block;color:#a2a9b4;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:170px}
.users-card{padding:0;overflow:hidden}.users-toolbar{display:flex;align-items:center;justify-content:space-between;padding:17px 20px;border-bottom:1px solid #edf0f4}.users-toolbar>span{font-size:11px;color:#8892a1}.search-users{display:flex;align-items:center;gap:7px;color:#9098a6;font-size:20px}.search-users input{border:0;outline:0;width:245px;font-size:12px;color:var(--ink);background:transparent}.users-table{width:100%;border-collapse:collapse;text-align:left}.users-table th{font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:#949dab;font-weight:700;padding:13px 20px;background:#fafbfc}.users-table td{font-size:12px;color:#7b8493;padding:14px 20px;border-top:1px solid #edf0f4}.user-cell{display:flex;align-items:center;gap:10px}.user-photo,.user-initials{width:34px;height:34px;border-radius:50%;object-fit:cover;flex:none}.user-initials{display:grid;place-items:center;background:#e9e3fe;color:#725de0;font-size:10px;font-weight:700}.user-cell b,.user-cell small{display:block}.user-cell b{color:var(--ink);font-size:12px}.user-cell small{margin-top:3px;font-size:10px;color:#949daa}.role-badge{display:inline-block;padding:4px 8px;border-radius:5px;background:#eeeaff;color:#6958d8;font-size:10px;font-weight:700}.user-actions{text-align:right;white-space:nowrap}.user-actions button{border:0;background:transparent;color:#705fe0;font-size:11px;font-weight:700;cursor:pointer;padding:4px 7px}.user-actions button+button{color:#d16375}.table-message{text-align:center;padding:40px!important;color:#8d96a4!important}.modal{position:fixed;inset:0;z-index:20;background:#11182794;display:grid;place-items:center;padding:20px}.modal-box{width:min(520px,100%);border-radius:13px;background:#fff;padding:25px;box-shadow:0 20px 55px #10182855}.modal-heading{display:flex;justify-content:space-between;align-items:start;margin-bottom:21px}.modal-heading p{margin:0 0 4px;font-size:9px;letter-spacing:1.3px;font-weight:700;color:#969eac}.modal-heading h2{font:700 20px Manrope;margin:0;letter-spacing:-.8px}.close-modal{border:0;background:#f0f2f5;width:30px;height:30px;border-radius:7px;font-size:20px;color:#747e8e;cursor:pointer}.avatar-upload{display:flex;align-items:center;gap:12px;padding:13px;border:1px dashed #dce0e7;border-radius:10px;margin-bottom:20px}.avatar-preview,.avatar-placeholder{width:46px;height:46px;border-radius:50%;object-fit:cover;flex:none}.avatar-placeholder{display:grid;place-items:center;background:#edeafe;color:#725de0;font-weight:700}.upload-button{position:relative;overflow:hidden;background:#f0edff;color:#6958d7;padding:8px 10px;border-radius:7px;font-size:11px;font-weight:700;cursor:pointer}.upload-button input{position:absolute;inset:0;opacity:0;cursor:pointer}.avatar-upload small{margin-left:auto;font-size:10px;color:#9ba3ae}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-grid label{font-size:11px;font-weight:700;color:#536073}.form-grid label:last-child{grid-column:1/-1}.form-grid input,.form-grid select{display:block;width:100%;height:40px;margin-top:6px;padding:0 10px;color:var(--ink);border:1px solid #dfe3e9;border-radius:7px;background:transparent;outline:0;font-size:12px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:4px}.secondary-button{border:1px solid #dfe3e9;border-radius:8px;background:#fff;color:#687384;height:38px;padding:0 14px;font-size:12px;font-weight:700;cursor:pointer}
.app-shell[data-theme="dark"]{--ink:#edf0f7;--line:#2b3448;--canvas:#111827;--muted:#9ea8b8;background:var(--canvas)}.app-shell[data-theme="dark"] .topbar,.app-shell[data-theme="dark"] .stats-grid article,.app-shell[data-theme="dark"] .card{background:#1a2334;border-color:#2a3549}.app-shell[data-theme="dark"] .topbar{background:#151d2c}.app-shell[data-theme="dark"] .crumb span,.app-shell[data-theme="dark"] .today,.app-shell[data-theme="dark"] .welcome p,.app-shell[data-theme="dark"] .card-heading p,.app-shell[data-theme="dark"] .settings-copy p{color:#9ca7b8}.app-shell[data-theme="dark"] .icon-button{background:#263147;color:#d2d8e3}.app-shell[data-theme="dark"] .stats-grid p,.app-shell[data-theme="dark"] .stats-grid small b,.app-shell[data-theme="dark"] .activity-list p,.app-shell[data-theme="dark"] .activity-list small,.app-shell[data-theme="dark"] .chart-labels,.app-shell[data-theme="dark"] .chart-days,.app-shell[data-theme="dark"] .progress-summary{color:#9ca7b8}.app-shell[data-theme="dark"] .activity-list p b,.app-shell[data-theme="dark"] .progress-summary b,.app-shell[data-theme="dark"] .settings-copy h3{color:#edf0f7}.app-shell[data-theme="dark"] .activity-list li{border-color:#293449}.app-shell[data-theme="dark"] .chart-bars{border-color:#2b3548;background:repeating-linear-gradient(to bottom,transparent 0,transparent 43px,#2a3547 44px)}.app-shell[data-theme="dark"] .theme-selector{background:#121a29}.app-shell[data-theme="dark"] .theme-option{color:#97a2b3}.app-shell[data-theme="dark"] .theme-option.selected{background:#303d57;color:#c9bdff;box-shadow:none}.app-shell[data-theme="dark"] .settings-icon{background:#312d56;color:#b5aaff}
.app-shell[data-theme="dark"] .insight-card{background:#1a2334;border-color:#2a3549}.app-shell[data-theme="dark"] .insight-card p,.app-shell[data-theme="dark"] .insight-card small,.app-shell[data-theme="dark"] .section-title p,.app-shell[data-theme="dark"] .section-title>span{color:#9ca7b8}
.app-shell[data-theme="dark"] .users-toolbar,.app-shell[data-theme="dark"] .users-table td{border-color:#2a3549}.app-shell[data-theme="dark"] .users-table th{background:#151d2c;color:#9ca7b8}.app-shell[data-theme="dark"] .search-users input{color:#edf0f7}.app-shell[data-theme="dark"] .modal-box{background:#1a2334}.app-shell[data-theme="dark"] .close-modal,.app-shell[data-theme="dark"] .secondary-button{background:#263147;border-color:#3a465c;color:#d0d6e1}.app-shell[data-theme="dark"] .form-grid label{color:#bdc6d4}.app-shell[data-theme="dark"] .form-grid input,.app-shell[data-theme="dark"] .form-grid select{border-color:#3a465c;color:#edf0f7}.app-shell[data-theme="dark"] .avatar-upload{border-color:#3a465c}
.sidebar-user .avatar{object-fit:cover}
.form-grid select[multiple]{height:92px;padding:6px}.field-help{display:block;margin-top:5px;color:#8f98a6;font-size:10px;font-weight:400}
.branch-shifts{margin-top:20px}.branch-shifts>div:first-child{display:flex;justify-content:space-between;align-items:center;font-size:12px}.branch-shifts button{border:0;background:transparent;color:#6e5dde;font-size:11px;font-weight:700;cursor:pointer}.branch-shift-row{display:grid;grid-template-columns:1fr 1fr 30px;gap:8px;margin-top:9px}.branch-shift-row select{height:38px;border:1px solid #dfe3e9;border-radius:7px;padding:0 8px;background:transparent;color:var(--ink);font-size:12px}.branch-shift-row .remove-branch-shift{background:#fff0f2;color:#c85b70;border-radius:7px;font-size:18px}
.branch-modal-box{width:min(820px,100%);max-height:calc(100vh - 40px);overflow:auto}.branch-week{margin-top:20px}.branch-week-heading b,.branch-week-heading small{display:block}.branch-week-heading small{margin-top:3px;color:#8b94a3;font-size:10px}.branch-day{display:grid;grid-template-columns:125px 1fr;align-items:center;gap:14px;padding:11px 0;border-bottom:1px solid #edf0f4}.branch-day-toggle{display:grid;grid-template-columns:18px 1fr;align-items:center;font-size:11px}.branch-day-toggle input{grid-row:1/3;accent-color:#7564e8}.branch-day-toggle span{font-size:9px;color:#4a9b73}.branch-day.is-closed .branch-day-toggle span{color:#c45b6d}.branch-day-shifts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.branch-day-shifts label{display:grid;grid-template-columns:16px 1fr 48px;align-items:center;gap:5px;padding:7px 8px;border:1px solid #e1e5eb;border-radius:7px;color:#5c6677;font-size:10px}.branch-day-shifts input{accent-color:#7564e8}.branch-day-shifts select{height:27px;border:1px solid #dfe3e9;border-radius:5px;background:transparent;color:var(--ink)}.closed-summary{background:#fff0f2;color:#b95669}.app-shell[data-theme="dark"] .branch-day,.app-shell[data-theme="dark"] .branch-day-shifts label{border-color:#344055}@media(max-width:700px){.branch-day{grid-template-columns:1fr}.branch-day-shifts{grid-template-columns:1fr}.branch-modal-box{max-height:calc(100vh - 20px)}}
.branch-color-field{grid-column:1/-1;margin:0;padding:0;border:0}.branch-color-field legend{margin-bottom:6px;color:#536073;font-size:11px;font-weight:700}.branch-color-control{display:flex;align-items:center;gap:9px}.branch-color-control>input{width:42px!important;height:34px!important;margin:0!important;padding:2px!important;cursor:pointer}.branch-color-control>span{width:62px;color:#737d8d;font-size:10px;font-weight:700}.branch-color-swatches{display:flex;flex-wrap:wrap;gap:6px}.branch-color-swatch{width:24px;height:24px;border:1px solid #cfd5df;border-radius:50%;cursor:pointer}.branch-color-swatch.selected{outline:2px solid #6756d5;outline-offset:2px}.app-shell[data-theme="dark"] .branch-color-field legend{color:#bdc6d4}
.optional-label{margin-left:5px;color:#929aa8;font-size:9px;font-weight:500}
.weekly-grid thead th,.weekly-grid tbody th{font-weight:800}.weekly-grid tbody td{color:#303949;font-weight:700}.weekly-grid .weekly-shortage-cell small{font-weight:700}
.branch-coverage{margin:3px 0 8px;font-size:11px}.branch-coverage b,.branch-coverage span{display:block}.branch-coverage b{color:var(--ink)}.branch-coverage b small{margin-left:4px;color:#7160de}.branch-coverage span{margin-top:2px;color:#87909e;font-size:10px;line-height:1.4}
.weekly-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.weekly-detail-heading>span{padding:6px 9px;border-radius:6px;background:#fff0f2;color:#b64d61;font-size:10px;font-weight:700}.weekly-detail-heading .complete-week{background:#e4f5eb;color:#35855f}.weekly-grid td.weekly-shortage-cell{background:#fff4f5;border:2px solid #dc7181}.weekly-shortage-badge{display:block;width:max-content;margin:4px auto;padding:3px 6px;border-radius:5px;background:#c64f63;color:#fff;font-size:9px;font-weight:800}.weekly-shortage-cell small{display:block;max-width:150px;margin:5px auto 0;color:#9b4655;font-size:8px;line-height:1.35}.app-shell[data-theme="dark"] .weekly-grid td.weekly-shortage-cell{background:#3a2029;border-color:#d36b7d}
.shift-summaries{display:flex;flex-wrap:wrap;gap:5px}.shift-summary{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:5px;background:#f0edff;color:#6757d1;font-size:10px;font-weight:700}.shift-summary b{display:grid;place-items:center;width:15px;height:15px;border-radius:50%;background:#7664e7;color:#fff;font-size:9px}
.employee-total{display:inline-block;padding:5px 8px;border-radius:5px;background:#e8f5ff;color:#4389b9;font-size:10px;font-weight:700}.employee-total-shifts{background:#e8f8ef;color:#3f9971}
.vacations-summary{margin-bottom:22px}.vacation-count{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#fff0d9;color:#cf8d39;font-size:11px;font-weight:700}.current-vacations-list{display:flex;gap:12px;flex-wrap:wrap;margin-top:17px}.vacation-person{display:flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid #edf0f4;border-radius:8px;min-width:190px}.vacation-person b,.vacation-person small{display:block}.vacation-person b{font-size:11px}.vacation-person small,.vacations-empty{margin:3px 0 0;color:#9099a7;font-size:10px}.vacations-empty{padding:4px 0}
.permit-count{background:#e8f5ff;color:#4389b9}
.requested-summary{border-color:#e3ddff;background:linear-gradient(120deg,#fff 0%,#f4f1ff 100%);margin-bottom:22px}.requested-heading{display:flex;justify-content:space-between;align-items:center}.requested-heading>div{display:flex;gap:10px;align-items:center}.requested-heading h3{margin:0 0 3px;font:700 15px Manrope}.requested-heading p{margin:0;color:#858fa0;font-size:11px}.requested-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#7664e7;color:#fff}.requested-icon svg{width:18px}.requested-count{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#fff;color:#6c5ad8;font-size:12px;font-weight:800;box-shadow:0 2px 7px #7664e42b}.dashboard-requests-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:17px}.requested-person{display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:center;padding:8px 10px;border-radius:8px;background:#fff;border:1px solid #e9e5ff;min-width:180px}.requested-person span{grid-row:1/3;color:#725fdf;font-size:9px;font-weight:700}.requested-person b{font-size:11px}.requested-person small{color:#8d96a5;font-size:10px}
.available-icon{background:#def3e6;color:#36a36e}.branches-icon{background:#e8f0ff;color:#4d7ed0}
.dashboard-hero{position:relative;overflow:hidden;align-items:center;padding:27px 30px;margin:-8px 0 24px;border-radius:16px;background:linear-gradient(125deg,#1e2941 0%,#353174 58%,#7564e7 130%);color:#fff;box-shadow:0 14px 28px #29366626}.dashboard-hero:after{content:'';position:absolute;width:280px;height:280px;border-radius:50%;right:-75px;top:-155px;background:#ffffff18}.dashboard-hero:before{content:'';position:absolute;width:140px;height:140px;border-radius:50%;right:145px;bottom:-85px;border:25px solid #ffffff0d}.dashboard-hero h2{color:#fff;font-size:27px;letter-spacing:-1.2px}.dashboard-hero h2 span{color:#f6c373}.dashboard-hero>div{position:relative;z-index:1}.dashboard-hero p{color:#d5dbec}.hero-kicker{font-size:9px!important;font-weight:700;letter-spacing:1.5px;color:#c5bdff!important;margin-bottom:8px!important}.hero-date{display:flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid #ffffff2b;border-radius:9px;background:#ffffff12;color:#eff1ff;font-size:10px}.hero-date svg{width:15px}.insights-section{padding:3px 1px;margin-bottom:25px}.insights-grid{gap:14px}.insight-card{border:0;box-shadow:0 5px 16px #1c27420c;transition:transform .2s,box-shadow .2s}.insight-card:hover{transform:translateY(-3px);box-shadow:0 11px 23px #1c27421a}.insight-icon{width:40px;height:40px;border-radius:12px}.insight-card h3{font-size:19px}.dashboard-info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.dashboard-info-grid .vacations-summary,.dashboard-info-grid .requested-summary{margin:0;min-height:162px;box-shadow:0 5px 16px #1c27420b}.dashboard-info-grid .card-heading h3{font-size:14px}.current-vacations-list,.dashboard-requests-list{margin-top:14px;max-height:118px;overflow:auto;padding-right:2px}.vacation-person{min-width:100%;background:#fafbfc}.requested-person{min-width:100%}.app-shell[data-theme="dark"] .dashboard-hero{background:linear-gradient(125deg,#141d31,#272653 70%,#5d50bb)}.app-shell[data-theme="dark"] .dashboard-info-grid .vacations-summary,.app-shell[data-theme="dark"] .dashboard-info-grid .requested-summary{background:#1a2334;border-color:#2a3549}.app-shell[data-theme="dark"] .vacation-person,.app-shell[data-theme="dark"] .requested-person{background:#222d42;border-color:#334057}.app-shell[data-theme="dark"] .requested-summary{background:linear-gradient(125deg,#1c2340,#292958)!important}@media(max-width:1050px){.dashboard-info-grid{grid-template-columns:1fr 1fr}.dashboard-info-grid .requested-summary{grid-column:1/-1}}@media(max-width:680px){.dashboard-hero{padding:23px 20px}.hero-date{display:none}.dashboard-info-grid{grid-template-columns:1fr}.dashboard-info-grid .requested-summary{grid-column:auto}}
.vacations-dashboard-summary{border-color:#d6efe1;background:linear-gradient(120deg,#fff 0%,#effaf4 100%)}.vacations-dashboard-summary .requested-icon{background:#42a87a}.vacations-dashboard-summary .requested-count{color:#3b966d}.permits-dashboard-summary{border-color:#d7ebfa;background:linear-gradient(120deg,#fff 0%,#eff8ff 100%)}.permits-dashboard-summary .requested-icon{background:#4389b9}.permits-dashboard-summary .requested-count{color:#397ea9}.app-shell[data-theme="dark"] .vacations-dashboard-summary{background:linear-gradient(125deg,#193629,#1c4634)!important}.app-shell[data-theme="dark"] .permits-dashboard-summary{background:linear-gradient(125deg,#192f3e,#1b4052)!important}
.employee-options{margin-top:18px}.employee-options>div:first-child{display:flex;justify-content:space-between;align-items:center;font-size:12px}.employee-options button{border:0;background:transparent;color:#6e5dde;font-size:11px;font-weight:700;cursor:pointer}.employee-option-row{display:grid;grid-template-columns:1fr 30px;gap:8px;margin-top:9px}.employee-option-row select{height:38px;border:1px solid #dfe3e9;border-radius:7px;padding:0 8px;background:transparent;color:var(--ink);font-size:12px}.employee-option-row .remove-employee-option{background:#fff0f2;color:#c85b70;border-radius:7px;font-size:18px}.branch-tags{display:flex;flex-wrap:wrap;gap:5px}.branch-tag{display:inline-block;padding:4px 7px;border-radius:5px;font-size:10px;font-weight:700}.branch-tag-0{background:#eeeaff;color:#6958d8}.branch-tag-1{background:#e3f3ff;color:#4389b9}.branch-tag-2{background:#e2f5ea;color:#3f9971}.branch-tag-3{background:#fff0d9;color:#ca8b39}
.employee-availability-day{display:grid;grid-template-columns:90px 1fr;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #edf0f4}.employee-availability-day>b{font-size:10px}.employee-availability-day>div{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.employee-availability-day label{display:flex;align-items:center;gap:6px;padding:7px 8px;border:1px solid #e0e4eb;border-radius:7px;color:#606b7b;font-size:10px;cursor:pointer}.employee-availability-day input{accent-color:#7564e8}.app-shell[data-theme="dark"] .employee-availability-day,.app-shell[data-theme="dark"] .employee-availability-day label{border-color:#344055}@media(max-width:600px){.employee-availability-day{grid-template-columns:1fr}.employee-availability-day>div{grid-template-columns:1fr}}
#employee-modal .modal-box{width:min(720px,100%);max-height:calc(100vh - 40px);overflow:auto}
.weekly-generator{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:21px}.weekly-generator h3,.weekly-detail h3{margin:0 0 5px;font:700 15px Manrope}.weekly-generator p,.weekly-detail p{margin:0;color:#8993a2;font-size:12px;line-height:1.7}.week-picker{display:flex;align-items:end;gap:10px}.week-picker label{display:grid;gap:5px;color:#697485;font-size:10px;font-weight:700}.week-picker input{height:38px;border:1px solid #dfe3e9;border-radius:7px;padding:0 8px;background:transparent;color:var(--ink)}.week-picker>span{font-size:10px;color:#87909e;padding-bottom:12px}.history-card{margin-bottom:20px}.weekly-detail{padding:20px}@media(max-width:850px){.weekly-generator,.week-picker{align-items:stretch;flex-direction:column}.week-picker>span{padding:0}}
.weekly-grid-wrap{overflow-x:auto;margin-top:16px}.weekly-grid{width:100%;min-width:780px;border-collapse:collapse;text-align:left}.weekly-grid th,.weekly-grid td{padding:11px 12px;border:1px solid #e6e9ef;font-size:11px;vertical-align:top}.weekly-grid thead th{background:#f5f6f9;text-transform:capitalize;color:#505b6b}.weekly-grid tbody th{background:#fafbfc;color:#6c5bdb;font-weight:700}.weekly-grid td{color:#566174;line-height:1.7}
.weekly-grid tbody th span{display:block;color:#8892a1;font-size:9px;margin-bottom:3px}
.weekly-grid tbody th span.repeated-branch{visibility:hidden;height:0;margin:0}.weekly-grid tr.branch-block-start th,.weekly-grid tr.branch-block-start td{border-top:3px solid #aeb6c3}.weekly-grid tr.branch-block-start:first-child th,.weekly-grid tr.branch-block-start:first-child td{border-top-width:1px}
.weekly-grid tr.weekly-branch-0 th,.weekly-grid tr.weekly-branch-0 td,.weekly-grid tr.weekly-branch-1 th,.weekly-grid tr.weekly-branch-1 td,.weekly-grid tr.weekly-branch-2 th,.weekly-grid tr.weekly-branch-2 td,.weekly-grid tr.weekly-branch-3 th,.weekly-grid tr.weekly-branch-3 td{background:var(--branch-color,#fff)}
.weekly-detail-actions{display:flex;justify-content:flex-end;margin-top:16px}
.nav-icon{width:17px;height:17px;stroke-width:1.8}.icon-button svg,.mobile-menu svg,.sidebar-user button svg{width:17px;height:17px;vertical-align:middle}.insight-icon svg{width:18px;height:18px}
.dashboard-hero{display:grid;grid-template-columns:minmax(205px,.85fr) minmax(390px,1.55fr) auto;gap:24px;align-items:center}.dashboard-hero .hero-copy{min-width:0}.hero-daily{display:grid;grid-template-columns:1fr 1fr;gap:9px}.hero-daily-item{min-width:0;min-height:93px;display:flex;gap:9px;padding:12px;border:1px solid #ffffff1f;border-radius:12px;background:#ffffff0e}.hero-daily-item>i{width:17px;height:17px;flex:0 0 auto;color:#f4c06f;margin-top:1px}.hero-daily-item:nth-child(2)>i{color:#c9bfff}.hero-daily-item div{min-width:0}.hero-daily-item span{display:block;margin:0 0 5px;color:#c9d1e5;font-size:8px;font-weight:800;letter-spacing:1px}.hero-daily-item p{display:-webkit-box;overflow:hidden;margin:0!important;color:#f7f8ff!important;font-size:10px!important;line-height:1.5!important;-webkit-line-clamp:3;-webkit-box-orient:vertical}.hero-daily-item small{display:inline;color:#d6dced;font-size:9px;font-weight:700}.dashboard-hero .quote-attribution{margin:0 0 0 5px;color:#d3c8ff;font-size:9px}.dashboard-hero .hero-date{align-self:start;white-space:nowrap}.app-shell[data-theme="dark"] .hero-daily-item{background:#ffffff0d;border-color:#ffffff1d}
@media(max-width:1180px){.dashboard-hero{grid-template-columns:1fr auto}.hero-daily{grid-column:1/-1;grid-row:2}.dashboard-hero .hero-date{grid-column:2;grid-row:1}}@media(max-width:680px){.dashboard-hero{display:block}.dashboard-hero .hero-date{display:none}.hero-daily{margin-top:18px;grid-template-columns:1fr}.hero-daily-item{min-height:76px}.hero-daily-item p{-webkit-line-clamp:2}}
.content{max-width:1700px}.dashboard-hero{min-height:156px;padding:31px 34px;border-radius:20px;background:radial-gradient(circle at 86% 20%,#9c8cff 0,transparent 19%),linear-gradient(118deg,#172339 0%,#2c2c65 58%,#6554d8 120%)}.dashboard-hero:after{width:340px;height:340px;right:-110px;top:-190px}.dashboard-hero:before{right:175px;bottom:-94px}.dashboard-hero h2{font-size:30px}.section-title{margin:0 1px 14px}.section-title h3{font-size:16px;color:var(--ink)}.section-title>span{padding:6px 9px;border-radius:20px;background:#f1f3f7;color:#737e90;font-weight:700}.insights-section{margin-bottom:30px}.insights-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.insight-card{min-height:124px;padding:17px 15px;flex-direction:column;gap:11px;border:1px solid #edf0f4}.insight-card>div{min-width:0}.insight-card h3{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.insight-card small{max-width:100%}.available-icon{background:#e2f6ed;color:#2e9b6c}.branches-icon{background:#e7efff;color:#537dc9}.dashboard-info-grid{gap:14px;margin-bottom:0}.dashboard-info-grid .requested-summary{border-radius:15px;padding:19px;min-height:180px}.requested-heading h3{font-size:14px}.requested-heading p{line-height:1.45}.dashboard-requests-list{margin-top:15px}.daily-content-grid{gap:14px;margin-top:0}.daily-card{min-height:185px;border-radius:15px;padding:23px}.daily-card-heading{margin-bottom:14px}.daily-text{font-size:13px;line-height:1.8}.app-shell[data-theme="dark"] .section-title>span{background:#202b3e;color:#aab5c5}.app-shell[data-theme="dark"] .insight-card{background:#1a2334;border-color:#2a3549}.app-shell[data-theme="dark"] .insight-card p,.app-shell[data-theme="dark"] .insight-card small{color:#9ca7b8}
@media(max-width:1280px){.insights-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:850px){.insights-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-info-grid{grid-template-columns:1fr}.dashboard-info-grid .requested-summary{grid-column:auto}}@media(max-width:560px){.dashboard-hero{min-height:135px;padding:24px 21px}.dashboard-hero h2{font-size:25px}.insights-grid{grid-template-columns:1fr}.section-title{align-items:flex-start}.section-title>span{margin-top:3px}.daily-content-grid{grid-template-columns:1fr}}
.daily-content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:22px}.daily-card{position:relative;overflow:hidden;min-height:170px}.daily-card:after{content:"";position:absolute;width:150px;height:150px;border-radius:50%;right:-65px;bottom:-75px;background:currentColor;opacity:.05}.daily-card-heading{display:flex;align-items:center;gap:10px;margin-bottom:18px}.daily-card-heading span{display:grid;place-items:center;width:34px;height:34px;border-radius:11px}.daily-card-heading svg{width:18px;height:18px}.daily-card-heading p{margin:0;font:700 13px Manrope;color:var(--ink)}.daily-text{position:relative;z-index:1;margin:0;color:#667386;font-size:13px;line-height:1.75}.horoscope-card{color:#765de8;background:linear-gradient(135deg,#fff 0%,#f6f2ff 100%)}.horoscope-card .daily-card-heading span{background:#ebe5ff;color:#765de8}.quote-card-dashboard{color:#2f7799;background:linear-gradient(135deg,#fff 0%,#eff9fd 100%)}.quote-card-dashboard .daily-card-heading span{background:#dff3fb;color:#2f7799}.daily-card small{display:block;margin-top:12px;color:#778495;font-size:11px;font-weight:700}.quote-attribution{position:relative;z-index:1;display:inline-block;margin-top:10px;color:#2f7799;font-size:10px;text-decoration:none}.quote-attribution:hover{text-decoration:underline}.horoscope-settings{margin-top:16px}.horoscope-settings select{height:38px;min-width:145px;border:1px solid #dfe3e9;border-radius:8px;padding:0 10px;background:#fff;color:var(--ink);font:600 12px Manrope}.horoscope-settings .mini-button:disabled{opacity:.65;cursor:wait}.app-shell[data-theme="dark"] .daily-card{border-color:#344157}.app-shell[data-theme="dark"] .horoscope-card{background:linear-gradient(135deg,#1a2334,#292346)}.app-shell[data-theme="dark"] .quote-card-dashboard{background:linear-gradient(135deg,#1a2334,#1b3343)}.app-shell[data-theme="dark"] .daily-text,.app-shell[data-theme="dark"] .daily-card small{color:#b6c0d0}.app-shell[data-theme="dark"] .horoscope-settings select{background:#151d2c;border-color:#344157}
@media(max-width:1000px){.login-page{grid-template-columns:1fr}.login-art{display:none}.login-panel{max-width:660px;margin:auto;width:100%;padding:40px 10vw}.insights-grid,.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.progress-card{min-height:320px}}@media(max-width:680px){.sidebar{position:fixed;z-index:5;left:-260px;transition:left .25s}.sidebar.open{left:0}.topbar{height:75px;padding:0 20px}.mobile-menu{display:block;border:0;background:transparent;font-size:23px;margin-right:14px}.crumb{margin-right:auto}.top-actions{gap:10px}.today{display:none}.content{padding:25px 18px}.welcome{align-items:flex-start;gap:15px}.welcome h2{font-size:21px}.insights-grid,.stats-grid{grid-template-columns:1fr;gap:10px}.insight-card small{max-width:220px}.stats-grid article{padding:14px}.stats-grid h3{font-size:21px}.stats-grid p{font-size:11px}.card{padding:17px}.settings-card{align-items:flex-start;flex-wrap:wrap}.settings-copy{min-width:calc(100% - 62px)}.theme-selector{width:100%;justify-content:space-between}.theme-option{flex:1}.login-panel{padding:30px 26px}.login-intro{margin-top:72px}.login-intro h1{font-size:34px}.copyright{margin-top:50px}.form-meta{gap:10px}.form-meta a{white-space:nowrap;font-size:11px}}
@media(max-width:680px){.daily-content-grid{grid-template-columns:1fr;gap:10px}.horoscope-settings select,.horoscope-settings .mini-button{width:100%}}
.sidebar{position:sticky;top:0;height:100vh;min-height:0;align-self:flex-start;overflow-y:auto}
@media(max-width:680px){.sidebar{position:fixed;top:0;height:100vh}}
.users-table-wrap{overflow-x:auto}#employees-page .users-table{min-width:1120px}.record-status{display:inline-flex;align-items:center;justify-content:center;min-width:30px;padding:4px 7px;border-radius:5px;background:#f0f2f5;color:#8a94a3;font-size:10px;font-weight:700}.record-status-active{background:#e5f5ec;color:#3c956b}.app-shell[data-theme="dark"] .record-status{background:#273247;color:#a8b3c3}.app-shell[data-theme="dark"] .record-status-active{background:#1d4936;color:#8bd3ad}
.nav-primary-action{margin:9px 0 18px;background:#7564e7;color:#fff;box-shadow:0 8px 18px #0b102633}.nav-primary-action:hover,.nav-primary-action.active{background:#8475ed;color:#fff}.hero-primary-action{display:inline-flex;align-items:center;gap:7px;height:36px;margin-top:16px;padding:0 13px;border:1px solid #ffffff36;border-radius:8px;background:#fff;color:#4f42b5;font-size:11px;font-weight:800;cursor:pointer}.hero-primary-action:hover{background:#f1efff}.hero-primary-action svg{width:15px;height:15px}.app-shell[data-theme="dark"] .hero-primary-action{background:#eeeaff;color:#4f42b5}
.generation-error{grid-column:1/-1;width:100%;margin-top:4px;padding:16px;border:1px solid #f1c8cf;border-radius:8px;background:#fff7f8;color:#713746}.generation-error-heading{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.generation-error h4{margin:0 0 4px;font:700 13px Manrope}.generation-error-heading p,.generation-error details p{margin:0;color:#8a5965;font-size:11px}.generation-error-heading>span{white-space:nowrap;padding:4px 7px;border-radius:5px;background:#f9dce1;color:#a84458;font-size:10px;font-weight:800}.generation-error details{margin-top:12px;font-size:11px}.generation-error summary{cursor:pointer;font-weight:700}.generation-error details p{margin-top:6px;line-height:1.6}.generation-complete{margin:11px 0 0;color:#33825f;font-size:11px;font-weight:700}.shortage-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;max-height:420px;overflow-y:auto}.shortage-groups section{padding:11px;border:1px solid #f0d9dd;border-radius:7px;background:#fff}.shortage-groups h5{margin:0 0 8px;font:800 11px Manrope;color:#4d2630}.shortage-groups article{padding:8px 0;border-top:1px solid #f4e5e8}.shortage-groups article:first-of-type{border-top:0;padding-top:0}.shortage-groups article div{display:flex;justify-content:space-between;gap:10px}.shortage-groups article b{font-size:10px;color:#5c3440}.shortage-groups article span{font-size:9px;color:#a44a5d;white-space:nowrap}.shortage-groups article p{margin:4px 0 0;color:#875d67;font-size:10px;line-height:1.45}.app-shell[data-theme="dark"] .generation-error{background:#351f29;border-color:#653342;color:#f4cbd5}.app-shell[data-theme="dark"] .shortage-groups section{background:#281d25;border-color:#55303b}.app-shell[data-theme="dark"] .shortage-groups h5,.app-shell[data-theme="dark"] .shortage-groups article b{color:#f0ced6}@media(max-width:850px){.shortage-groups{grid-template-columns:1fr}}

/* Tema otoñal minimalista */
:root{--ink:#25302b;--muted:#747d76;--line:#dfe3dc;--canvas:#f4f5f1;--navy:#1f3029;--purple:#a64f2c;--accent:#d5a33f}
body{background:var(--canvas)}
.sidebar{background:#1f3029;color:#c9d0ca;border-right:1px solid #31443b}
.brand-mark{display:block;width:32px;height:32px;flex:none;object-fit:contain}.login-page .brand-mark{width:36px;height:36px;padding:0;border-radius:0;background:transparent!important;filter:brightness(0) saturate(100%) invert(30%) sepia(19%) saturate(1320%) hue-rotate(338deg) brightness(92%) contrast(88%)}.sidebar .brand-mark{width:36px;height:36px;padding:1px;background:transparent}.sidebar nav p,.eyebrow{color:#8f9d94}.nav-item{border-radius:6px;color:#bdc7c0}.nav-item:hover{background:#2c4037;color:#fff}.nav-item.active{background:#354a40;color:#fff;box-shadow:inset 3px 0 #d5a33f}.nav-primary-action,.nav-primary-action:hover,.nav-primary-action.active{background:#a64f2c;color:#fff;box-shadow:none}.sidebar-user{border-color:#ffffff18}
.topbar{background:#fbfcf9;border-color:#dfe3dc}.icon-button{background:#edf0ea;color:#435047;border-radius:6px}.content{background:#f4f5f1}
.card,.stats-grid article,.insight-card{border-color:#dfe3dc;border-radius:8px;box-shadow:none}.insight-card:hover{transform:translateY(-1px);box-shadow:0 5px 14px #23342b12}.primary-button{background:#a64f2c;border-radius:7px;box-shadow:none}.primary-button:hover{background:#8e3f22}.secondary-button{border-color:#cfd6ce;border-radius:7px;color:#465249}.mini-button{border-radius:6px}
.dashboard-hero{border:1px solid #3b5046;border-radius:8px;background:#294038;box-shadow:none}.dashboard-hero:before,.dashboard-hero:after,.daily-card:after,.orb{display:none}.dashboard-hero h2 span,.hero-daily-item>i{color:#e0b75d}.hero-kicker{color:#d6b66e!important}.hero-primary-action{border:0;border-radius:6px;background:#f7f8f3;color:#7f3d25}.hero-primary-action:hover{background:#ebece5}.hero-daily-item{border-color:#ffffff24;border-radius:7px;background:#ffffff0b}.hero-daily-item:nth-child(2)>i{color:#d7a84b}.hero-date{border-radius:6px}
.section-title>span,.role-badge,.employee-total{border-radius:5px;background:#e9eee8;color:#416050}.employee-total-shifts{background:#f3e8df;color:#96502e}.record-status-active{background:#dfede4;color:#35634e}
.exchange-icon,.available-icon{background:#dfede4;color:#3d745b}.weather-icon,.holiday-icon{background:#f6ead2;color:#966c25}.branches-icon{background:#e3ebe7;color:#456b5a}.stat-icon,.insight-icon,.settings-icon,.daily-card-heading span{border-radius:7px}
.users-toolbar{border-color:#e1e5df}.users-table th{background:#eef1ec;color:#68736c}.users-table td{border-color:#e1e5df}.user-actions button,.card-heading button,.employee-options button,.branch-shifts button{color:#9b4828}.user-actions button+button{color:#a23f4e}.user-initials{background:#efe4db;color:#934827}.search-users{color:#78837b}
.modal{background:#19241fcc}.modal-box{border:1px solid #d8ddd6;border-radius:8px;box-shadow:0 20px 55px #18251e38}.close-modal{border-radius:6px;background:#ecefe9;color:#59645d}.form-grid input,.form-grid select,.employee-option-row select,.branch-shift-row select,.week-picker input,.horoscope-settings select{border-color:#d3d9d1;border-radius:6px}.form-grid input:focus,.form-grid select:focus{border-color:#a64f2c;box-shadow:0 0 0 3px #a64f2c16}.check input,.employee-availability-day input,.branch-day-toggle input,.branch-day-shifts input{accent-color:#a64f2c}
.employee-availability-day label,.branch-day-shifts label{border-radius:6px}.employee-availability-day label:has(input:checked),.branch-day-shifts label:has(input:checked){border-color:#c77a56;background:#fbf3ed;color:#713c27}.branch-color-swatch.selected{outline-color:#a64f2c}
.settings-icon,.theme-option.selected{background:#eee6dd;color:#8d4628}.theme-selector{border-radius:7px;background:#e9ede7}.theme-option{border-radius:5px}.theme-option.selected{box-shadow:none}
.horoscope-card,.quote-card-dashboard,.vacations-dashboard-summary,.permits-dashboard-summary,.requested-summary{background:#fff!important;border-color:#dfe3dc}.horoscope-card{color:#9b4828}.horoscope-card .daily-card-heading span{background:#f2e3d8;color:#9b4828}.quote-card-dashboard{color:#3f6b5a}.quote-card-dashboard .daily-card-heading span{background:#e0ece6;color:#3f6b5a}.quote-attribution{color:#8f482c}
.generation-error{border-color:#e5c2ae;background:#fff8f3;color:#713b27}.generation-error-heading>span{background:#f2ddcf;color:#934326}.shortage-groups section{border-color:#ead8cc;border-radius:6px}.weekly-detail-heading>span{background:#f2ddcf;color:#934326}.weekly-detail-heading .complete-week{background:#dfede4;color:#35634e}.weekly-grid thead th{background:#e9ede7;color:#46534b}.weekly-grid th,.weekly-grid td{border-color:#cfd6ce}.weekly-grid tbody th{color:#6f402c}.weekly-shortage-badge{background:#a7444f}.weekly-detail-actions .secondary-button{background:#fff}
.login-page{background:#fbfcf9}.login-art{background:#253b32}.grid-lines{opacity:.18}.quote-card{border-radius:8px;background:#ffffff0b}.login-form input:not([type=checkbox]){border-radius:7px}.login-form input:focus{border-color:#a64f2c;box-shadow:0 0 0 3px #a64f2c18}.form-meta a{color:#944326}
.app-shell[data-theme="dark"]{--ink:#edf1ed;--line:#35433b;--canvas:#18231e;--muted:#a6b0a9;background:#18231e}.app-shell[data-theme="dark"] .sidebar{background:#132019}.app-shell[data-theme="dark"] .topbar{background:#1d2a24}.app-shell[data-theme="dark"] .card,.app-shell[data-theme="dark"] .stats-grid article,.app-shell[data-theme="dark"] .insight-card,.app-shell[data-theme="dark"] .modal-box{background:#223129;border-color:#39483f}.app-shell[data-theme="dark"] .dashboard-hero{background:#2b4037;border-color:#455d51}.app-shell[data-theme="dark"] .users-table th{background:#1b2922;color:#a8b3ab}.app-shell[data-theme="dark"] .users-table td,.app-shell[data-theme="dark"] .users-toolbar{border-color:#37463d}.app-shell[data-theme="dark"] .icon-button,.app-shell[data-theme="dark"] .close-modal,.app-shell[data-theme="dark"] .secondary-button{background:#2c3b33;border-color:#46564c;color:#d8dfda}.app-shell[data-theme="dark"] .theme-selector{background:#17231d}.app-shell[data-theme="dark"] .theme-option.selected{background:#3c3029;color:#f0c3a8}.app-shell[data-theme="dark"] .form-grid input,.app-shell[data-theme="dark"] .form-grid select,.app-shell[data-theme="dark"] .employee-option-row select,.app-shell[data-theme="dark"] .week-picker input{border-color:#46564c;color:#edf1ed}.app-shell[data-theme="dark"] .employee-availability-day label:has(input:checked),.app-shell[data-theme="dark"] .branch-day-shifts label:has(input:checked){background:#473126;border-color:#a96443;color:#f1d2c2}.app-shell[data-theme="dark"] .horoscope-card,.app-shell[data-theme="dark"] .quote-card-dashboard,.app-shell[data-theme="dark"] .vacations-dashboard-summary,.app-shell[data-theme="dark"] .permits-dashboard-summary,.app-shell[data-theme="dark"] .requested-summary{background:#223129!important;border-color:#39483f}.app-shell[data-theme="dark"] .daily-text{color:#b8c2bb}.app-shell[data-theme="dark"] .weekly-grid thead th{background:#1b2922;color:#c3ccc6}

/* Paleta otoñal cálida basada en la referencia */
:root{--ink:#41261e;--muted:#806d64;--line:#dfd3cb;--canvas:#f6f2ee;--navy:#41261e;--purple:#926142;--accent:#be8352}
body,.content{background:#f6f2ee}.sidebar{background:#41261e;border-color:#573429;color:#dfd0c5}.sidebar nav p,.eyebrow{color:#b99e8d}.nav-item{color:#d3c0b4}.nav-item:hover{background:#593628}.nav-item.active{background:#6b412c;box-shadow:inset 3px 0 #be8352}.nav-primary-action,.nav-primary-action:hover,.nav-primary-action.active{background:#be8352;color:#fff}.brand-mark{background:#be8352}.topbar{background:#fffdfb;border-color:#dfd3cb}.icon-button{background:#eee5de;color:#6b412c}
.dashboard-hero{background:#6b412c;border-color:#805238}.hero-kicker{color:#e7c6a8!important}.dashboard-hero h2 span,.hero-daily-item>i,.hero-daily-item:nth-child(2)>i{color:#e5aa62}.hero-primary-action{background:#fffaf5;color:#6b412c}.hero-primary-action:hover{background:#eadbcf}
.primary-button{background:#926142}.primary-button:hover{background:#6b412c}.secondary-button{border-color:#d5c3b7;color:#6b4d3e}.section-title>span,.role-badge,.employee-total{background:#eee4dd;color:#6b412c}.employee-total-shifts{background:#f0d9c5;color:#80462b}.record-status-active{background:#ead9ca;color:#75482f}
.exchange-icon,.available-icon,.branches-icon{background:#eadfd8;color:#6b412c}.weather-icon,.holiday-icon{background:#f2dfc9;color:#926142}.settings-icon,.theme-option.selected{background:#eadbd0;color:#6b412c}.theme-selector{background:#eee6e0}.user-actions button,.card-heading button,.employee-options button,.branch-shifts button{color:#926142}.user-initials{background:#eadbd0;color:#6b412c}
.card,.stats-grid article,.insight-card,.modal-box{border-color:#dfd3cb}.users-table th{background:#eee7e1;color:#715f55}.users-table td,.users-toolbar{border-color:#e5dcd5}.modal{background:#2b1812cc}.close-modal{background:#eee5de;color:#6b4d3e}.form-grid input:focus,.form-grid select:focus{border-color:#be8352;box-shadow:0 0 0 3px #be835224}.check input,.employee-availability-day input,.branch-day-toggle input,.branch-day-shifts input{accent-color:#926142}.employee-availability-day label:has(input:checked),.branch-day-shifts label:has(input:checked){border-color:#be8352;background:#f8eee6;color:#6b412c}.branch-color-swatch.selected{outline-color:#926142}
.horoscope-card{color:#926142}.horoscope-card .daily-card-heading span{background:#eddbcf;color:#926142}.quote-card-dashboard{color:#6b412c}.quote-card-dashboard .daily-card-heading span{background:#e7d8ce;color:#6b412c}.quote-attribution,.form-meta a{color:#926142}.generation-error{border-color:#dcbda7;background:#fff7f1;color:#6b412c}.weekly-grid thead th{background:#ede5df;color:#5f493e}.weekly-grid tbody th{color:#6b412c}.weekly-grid th,.weekly-grid td{border-color:#d7c8be}
.login-page{background:#fffdfb}.login-art{background:#41261e}.login-form input:focus{border-color:#be8352;box-shadow:0 0 0 3px #be835224}
.up,.generation-complete{color:#926142}.done,.available-icon{background:#eadbd0;color:#6b412c}.vacations-dashboard-summary .requested-icon,.permits-dashboard-summary .requested-icon{background:#926142}.vacations-dashboard-summary .requested-count,.permits-dashboard-summary .requested-count{color:#6b412c}.vacation-count,.permit-count{background:#f0d9c5;color:#80462b}
.app-shell[data-theme="dark"]{--ink:#f3e9e2;--line:#5b4034;--canvas:#2a1914;--muted:#c2ada0;background:#2a1914}.app-shell[data-theme="dark"] .sidebar{background:#21110d}.app-shell[data-theme="dark"] .topbar{background:#342019}.app-shell[data-theme="dark"] .card,.app-shell[data-theme="dark"] .stats-grid article,.app-shell[data-theme="dark"] .insight-card,.app-shell[data-theme="dark"] .modal-box{background:#3a251e;border-color:#5d4035}.app-shell[data-theme="dark"] .dashboard-hero{background:#583321;border-color:#7b5037}.app-shell[data-theme="dark"] .users-table th,.app-shell[data-theme="dark"] .weekly-grid thead th{background:#2e1b16;color:#dbc9bd}.app-shell[data-theme="dark"] .users-table td,.app-shell[data-theme="dark"] .users-toolbar{border-color:#5b4034}.app-shell[data-theme="dark"] .icon-button,.app-shell[data-theme="dark"] .close-modal,.app-shell[data-theme="dark"] .secondary-button{background:#4a3027;border-color:#6c4b3d;color:#ecdfd7}.app-shell[data-theme="dark"] .theme-selector{background:#291813}.app-shell[data-theme="dark"] .theme-option.selected{background:#68432f;color:#f3d2b7}.app-shell[data-theme="dark"] .form-grid input,.app-shell[data-theme="dark"] .form-grid select,.app-shell[data-theme="dark"] .employee-option-row select,.app-shell[data-theme="dark"] .week-picker input{border-color:#6c4b3d;color:#f3e9e2}.app-shell[data-theme="dark"] .employee-availability-day label:has(input:checked),.app-shell[data-theme="dark"] .branch-day-shifts label:has(input:checked){background:#603b2b;border-color:#be8352;color:#f4dac6}.app-shell[data-theme="dark"] .horoscope-card,.app-shell[data-theme="dark"] .quote-card-dashboard,.app-shell[data-theme="dark"] .vacations-dashboard-summary,.app-shell[data-theme="dark"] .permits-dashboard-summary,.app-shell[data-theme="dark"] .requested-summary{background:#3a251e!important;border-color:#5d4035}.app-shell[data-theme="dark"] .daily-text{color:#d3c1b6}
.login-art{isolation:isolate;background-color:#41261e;background-image:url('/assets/login-autumn-workspace.png');background-position:center;background-size:cover}.login-art:before{content:'';position:absolute;z-index:0;inset:0;background:#2c1710a6}.login-art .grid-lines{display:none}.login-art .quote-card{border-color:#ffffff38;background:#24120da8;backdrop-filter:blur(5px)}.login-art .quote-card p{color:#fff}.login-art .quote-card small{color:#e4cdbd}.login-art .quote-icon,.login-art .art-caption strong{color:#e5aa62}.login-art .art-caption{color:#fff}
.brand-copy{display:flex;flex-direction:column;gap:2px;line-height:1}.brand-copy>small{color:#9b8375;font-size:8px;font-weight:600;letter-spacing:0}.sidebar-brand .brand-copy>small{color:#b99e8d}
.requested-icon,.purple{background:#926142;color:#fff}.requested-count{background:#f1e3d8;color:#6b412c;box-shadow:none}.requested-person{border-color:#dfd0c6}.requested-person span,.activity-list p strong{color:#926142}.comment,.edit,.violet,.blueish,.greenish{background:#eadbd0;color:#6b412c}.chart-bars i,.chart-bars i.current,.progress-summary i{background:#be8352}.progress-summary span+span i{background:#d8b89e}.app-shell[data-theme="dark"] .requested-count{background:#4a3027;color:#f1d4bf}
.weekly-grid th,.weekly-grid td,.weekly-grid tbody th span,.weekly-grid .weekly-shortage-cell small{color:#111!important;font-weight:800;text-transform:uppercase}.weekly-grid thead th{background:#ede5df!important}.weekly-grid .weekly-shortage-badge{color:#fff!important;font-weight:800}.app-shell[data-theme="dark"] .weekly-grid thead th{background:#ede5df!important;color:#111!important}
.weekly-grid .weekly-branch-cell{width:145px;vertical-align:middle;text-align:center}.weekly-grid .weekly-turn-cell{width:95px;vertical-align:middle;text-align:center}.weekly-grid tr.branch-block-start th,.weekly-grid tr.branch-block-start td{border-top:3px solid #8f786a}
.weekly-heading-actions{display:flex;align-items:center;gap:10px}.weekly-heading-actions>span{padding:6px 9px;border-radius:6px;background:#f2ddcf;color:#934326;font-size:10px;font-weight:700}.weekly-heading-actions>span.complete-week{background:#dfede4;color:#35634e}.weekly-grid.is-editing td[data-editable-cell]{cursor:pointer;outline:1px dashed transparent;outline-offset:-4px;transition:background .16s ease,outline-color .16s ease}.weekly-grid.is-editing td[data-editable-cell]:hover{background:#fff7ef!important;outline-color:#a96443}.weekly-person{display:block}.weekly-person.manual::after{content:'AJUSTADO';display:block;width:max-content;margin:2px auto 4px;padding:1px 4px;border-radius:3px;background:#f2ddcf;font-size:7px}.weekly-grid td.weekly-closed-cell{text-align:center}.weekly-closed-label{font-size:11px;letter-spacing:0}.week-cell-dialog{width:min(560px,calc(100vw - 28px));border:1px solid #d7c8be;border-radius:8px;padding:22px;background:#fff;color:#41261e;box-shadow:0 24px 70px #32160f40}.week-cell-dialog::backdrop{background:#24120db8}.week-cell-heading{display:flex;align-items:start;justify-content:space-between;gap:18px;margin-bottom:18px}.week-cell-heading small{color:#926142;font-size:10px;font-weight:800;text-transform:uppercase}.week-cell-heading h3{margin:4px 0 0;font:800 16px Manrope}.week-cell-heading>button{width:30px;height:30px;border:0;background:transparent;color:#6b412c;font-size:23px;cursor:pointer}.cell-assignment-list{display:grid;gap:7px;margin-bottom:16px}.cell-assignment-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid #eadfd8}.cell-assignment-list span{display:flex;gap:6px}.cell-assignment-list button{border:0;background:transparent;color:#926142;font-size:10px;font-weight:800;cursor:pointer}.cell-editor-field{display:grid;gap:6px;margin:14px 0;color:#69564b;font-size:10px;font-weight:800}.cell-editor-field select{width:100%;height:40px;border:1px solid #d7c8be;border-radius:6px;padding:0 10px;background:#fff;color:#41261e}.cell-editor-actions{display:flex;flex-wrap:wrap;gap:8px}.closed-cell-notice{margin-bottom:15px;padding:12px;background:#f4efeb;border-radius:6px;color:#69564b;font-size:12px}.app-shell[data-theme="dark"] .week-cell-dialog{background:#3a251e;border-color:#6c4b3d;color:#f3e9e2}.app-shell[data-theme="dark"] .cell-editor-field select{background:#2a1914;border-color:#6c4b3d;color:#f3e9e2}@media(max-width:650px){.weekly-detail-heading,.weekly-heading-actions{align-items:stretch;flex-direction:column}.weekly-heading-actions button{width:100%}.cell-editor-actions{display:grid}}
.weekly-detail.week-editing .weekly-detail-actions{display:none}.weekly-detail-actions{align-items:center;gap:10px;padding-top:12px;border-top:1px solid #eadfd8}.weekly-detail-actions::before{content:'EXPORTAR';margin-right:auto;color:#9a887d;font-size:9px;font-weight:800}
.discard-edit-button{flex:0 0 auto;min-width:150px;color:#9b4655!important;border-color:#d9aeb4!important;background:#fff8f8!important;white-space:nowrap}.weekly-heading-actions{flex-wrap:wrap}.weekly-heading-actions #toggle-week-editor{flex:0 0 auto;width:auto;min-width:112px;padding-inline:14px;white-space:nowrap}
.weekly-grid{width:min(100%,1120px);min-width:650px;table-layout:fixed}.weekly-grid th,.weekly-grid td{padding:5px;font-size:10px;line-height:1.25}.weekly-grid thead th{height:27px;padding:4px 5px;font-size:10px;white-space:nowrap}.weekly-grid .weekly-branch-cell{width:96px;padding-inline:5px}.weekly-grid .weekly-turn-cell{width:74px;padding-inline:4px;white-space:nowrap}.weekly-grid thead th:first-child{width:96px}.weekly-grid thead th:nth-child(2){width:74px}.weekly-person{display:inline;line-height:1.2}.weekly-person+.weekly-person::before{content:' · ';font-weight:800}.weekly-person.manual::after{display:inline;margin-left:3px;padding:0 3px;font-size:6px}.weekly-shortage-badge{margin-top:2px;padding:2px 4px;font-size:8px}.weekly-grid .weekly-shortage-cell small{margin-top:2px;font-size:8px;line-height:1.15}.weekly-closed-label{font-size:10px}
.weekly-employee-search{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}.weekly-employee-search label{display:flex;align-items:center;gap:8px;width:min(100%,360px);height:38px;padding:0 11px;border:1px solid #d7c8be;border-radius:7px;background:#fff}.weekly-employee-search svg{width:15px;color:#926142}.weekly-employee-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#41261e;font:600 11px Manrope,sans-serif}.weekly-employee-search>span{color:#8d7a70;font-size:10px;font-weight:700}.weekly-person-match{padding:2px 4px;border-radius:3px;background:#ffe08a;color:#2d211a!important;box-shadow:0 0 0 1px #d69f31}.weekly-person-muted{opacity:.28}.weekly-grid tbody tr.weekly-search-hidden{display:none}.app-shell[data-theme="dark"] .weekly-employee-search label{background:#2a1914;border-color:#6c4b3d}.app-shell[data-theme="dark"] .weekly-employee-search input{color:#f3e9e2}@media(max-width:650px){.weekly-employee-search{align-items:stretch;flex-direction:column}.weekly-employee-search label{width:100%}}
.dashboard-hero .hero-daily{grid-template-columns:1fr}.dashboard-hero .hero-daily-item:first-child{display:none}.dashboard-hero .hero-daily-item:nth-child(2) p{display:block;overflow:visible;-webkit-line-clamp:unset}.dashboard-hero .hero-daily-item:nth-child(2){min-height:93px;align-items:flex-start}
@media(min-width:1001px){.dashboard-hero{grid-template-columns:minmax(230px,.8fr) minmax(420px,1.4fr);grid-template-rows:auto auto;column-gap:32px;row-gap:7px}.dashboard-hero .hero-copy{grid-column:1;grid-row:1/3}.dashboard-hero .hero-daily{grid-column:2;grid-row:1}.dashboard-hero .hero-date{grid-column:2;grid-row:2;justify-self:end;align-self:start;padding:0;border:0;background:transparent;color:#e4cdbd;font-size:9px}.dashboard-hero .hero-date svg{width:12px;height:12px;color:#e5aa62}}

.dashboard-hero .hero-daily-item:first-child{display:flex}.dashboard-hero .hero-daily{gap:7px}.dashboard-hero .hero-word-card{min-height:0;padding-top:9px;padding-bottom:9px}.hero-word-card .daily-word-line{display:flex!important;align-items:baseline;gap:4px;overflow:visible!important}.hero-word-card .daily-word-line b{color:#fff;font-size:14px;text-transform:lowercase}.hero-word-card .daily-word-line small{color:#e7c6a8;font-size:9px;font-style:italic}.hero-word-card #daily-word-meaning{display:block;overflow:visible;margin-top:2px!important;font-size:10px!important;-webkit-line-clamp:unset}.hero-word-card #daily-word-example{display:block;margin-top:3px;color:#e1d5cd;font-size:8px;font-weight:500}.hero-word-card .quote-attribution{margin-left:0;color:#f0bf8c}
@media(max-width:680px){.hero-word-card #daily-word-example{display:none}}

.dashboard-hero .hero-daily{position:relative;display:block;height:112px}.dashboard-hero .hero-daily-item,.dashboard-hero .hero-daily-item:first-child{position:absolute;inset:0 0 19px;display:flex;min-height:0;opacity:0;visibility:hidden;transform:translateY(7px);transition:opacity .35s ease,transform .35s ease,visibility .35s}.dashboard-hero .hero-daily-item.daily-item-active{opacity:1;visibility:visible;transform:translateY(0)}.hero-daily-controls{position:absolute;right:2px;bottom:0;display:flex;gap:6px}.hero-daily-controls button{width:18px;height:4px;padding:0;border:0;border-radius:2px;background:#ffffff4a;cursor:pointer;transition:width .25s ease,background .25s ease}.hero-daily-controls button.active{width:30px;background:#e5aa62}.hero-daily-controls button:focus-visible{outline:2px solid #fff;outline-offset:3px}.dashboard-hero .hero-word-card{padding-top:10px;padding-bottom:10px}
@media(max-width:680px){.dashboard-hero .hero-daily{height:105px}.dashboard-hero .hero-daily-item{bottom:18px}}
@media(prefers-reduced-motion:reduce){.dashboard-hero .hero-daily-item,.hero-daily-controls button{transition:none}}

/* Contenido diario integrado al encabezado */
.dashboard-hero .hero-daily{height:108px;padding-left:28px;border-left:1px solid #ffffff26}.dashboard-hero .hero-daily-item,.dashboard-hero .hero-daily-item:first-child{inset:0 0 18px;gap:13px;padding:2px 0;border:0;border-radius:0;background:transparent}.dashboard-hero .hero-daily-item>i{width:18px;height:18px;margin-top:2px;opacity:.9}.dashboard-hero .hero-daily-item span{margin-bottom:7px;color:#e9d5c6;font-size:8px;letter-spacing:1.4px}.dashboard-hero .hero-daily-item p{color:#fffaf6!important;font-size:11px!important;line-height:1.65!important}.hero-word-card .daily-word-line{margin-bottom:4px!important}.hero-word-card .daily-word-line b{font-size:19px;font-weight:700;line-height:1.1}.hero-word-card .daily-word-line small{color:#e7c6a8;font-size:9px;font-weight:600}.hero-word-card #daily-word-meaning{max-width:640px;font-size:11px!important}.hero-word-card #daily-word-example{margin-top:5px;color:#dbc5b6;font-size:8px}.hero-daily-controls{left:31px;right:auto;bottom:1px;gap:5px}.hero-daily-controls button{width:16px;height:2px;border-radius:0;background:#ffffff4d}.hero-daily-controls button.active{width:28px;background:#f0bd7b}.dashboard-hero .hero-date{opacity:.72}
@media(max-width:1000px){.dashboard-hero .hero-daily{padding-left:0;border-left:0}.hero-daily-controls{left:0}}
@media(max-width:680px){.dashboard-hero .hero-daily{height:101px;padding-top:2px;border-top:1px solid #ffffff1f}.dashboard-hero .hero-daily-item,.dashboard-hero .hero-daily-item:first-child{top:10px}.hero-daily-controls{bottom:0}}

.dashboard-hero .hero-daily-item>i,.dashboard-hero .hero-daily-item>svg{display:none}.dashboard-hero .hero-daily-item,.dashboard-hero .hero-daily-item:first-child{gap:0}.hero-daily-controls{left:28px}@media(max-width:1000px){.hero-daily-controls{left:0}}

@media(min-width:1001px){.dashboard-hero .hero-daily-item,.dashboard-hero .hero-daily-item:first-child{left:28px}}

.dashboard-hero #dashboard-greeting{color:#fff}.dashboard-hero .hero-sparkle{color:#e5aa62}

/* Dashboard operativo */
#dashboard-page .insights-section{margin-bottom:34px}#dashboard-page .section-title{align-items:center;margin-bottom:12px}#dashboard-page .section-title h3{font-size:17px}#dashboard-page .section-title p{margin-top:4px}#dashboard-page .section-title>span{padding:5px 8px;border:1px solid #dfd3cb;border-radius:4px;background:transparent;color:#806d64;font-size:9px}
#dashboard-page .insights-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:0;overflow:hidden;border:1px solid #dfd3cb;border-radius:8px;background:#fffdfb}#dashboard-page .insight-card{min-height:106px;padding:17px 18px;display:grid;grid-template-columns:32px minmax(0,1fr);gap:11px;align-items:start;border:0;border-right:1px solid #e8ded7;border-radius:0;background:transparent;box-shadow:none}#dashboard-page .insight-card:last-child{border-right:0}#dashboard-page .insight-card:hover{z-index:1;transform:none;background:#faf5f1;box-shadow:inset 0 2px #be8352}#dashboard-page .insight-icon{width:32px;height:32px;border-radius:6px}#dashboard-page .insight-icon svg{width:16px;height:16px}#dashboard-page .insight-card>div{align-self:center}#dashboard-page .insight-card p{margin:0 0 5px;font-size:10px}#dashboard-page .insight-card h3{margin-bottom:3px;font-size:17px;letter-spacing:0}#dashboard-page .insight-card small{font-size:9px}
.dashboard-section-heading{display:flex;align-items:end;justify-content:space-between;margin:0 1px 12px}.dashboard-section-heading span{display:block;margin-bottom:4px;color:#a46b48;font-size:8px;font-weight:800;letter-spacing:1.2px}.dashboard-section-heading h3{margin:0;font:700 17px Manrope,sans-serif}.dashboard-section-heading p{margin:0;color:#928178;font-size:10px}
#dashboard-page .dashboard-info-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;overflow:hidden;border:1px solid #dfd3cb;border-radius:8px;background:#fffdfb}#dashboard-page .dashboard-info-grid .requested-summary{min-width:0;min-height:174px;margin:0;padding:19px;border:0;border-right:1px solid #e8ded7;border-radius:0;background:transparent!important;box-shadow:none}#dashboard-page .dashboard-info-grid .requested-summary:last-child{border-right:0}#dashboard-page .requested-heading{align-items:flex-start}#dashboard-page .requested-heading>div{min-width:0;align-items:flex-start}#dashboard-page .requested-icon{flex:0 0 auto;width:30px;height:30px;border-radius:6px;background:#eee1d7;color:#8f5436}#dashboard-page .requested-icon svg{width:15px;height:15px}#dashboard-page .requested-heading h3{margin-top:1px;font-size:12px}#dashboard-page .requested-heading p{font-size:9px}#dashboard-page .requested-count{flex:0 0 auto;width:auto;min-width:25px;height:25px;padding:0 7px;border:1px solid #dfd0c6;border-radius:4px;background:transparent;color:#6b412c;box-shadow:none;font-size:10px}#dashboard-page .dashboard-requests-list{margin-top:16px;max-height:103px;gap:5px}#dashboard-page .vacation-person,#dashboard-page .requested-person{min-width:100%;padding:7px 8px;border:0;border-radius:5px;background:#f7f2ee}#dashboard-page .vacation-person .user-initials{width:25px;height:25px;font-size:8px}#dashboard-page .vacation-person b,#dashboard-page .requested-person b{font-size:10px}
.app-shell[data-theme="dark"] #dashboard-page .insights-grid,.app-shell[data-theme="dark"] #dashboard-page .dashboard-info-grid{background:#3a251e;border-color:#5d4035}.app-shell[data-theme="dark"] #dashboard-page .insight-card,.app-shell[data-theme="dark"] #dashboard-page .dashboard-info-grid .requested-summary{background:transparent!important;border-color:#5d4035}.app-shell[data-theme="dark"] #dashboard-page .insight-card:hover{background:#432b23}.app-shell[data-theme="dark"] #dashboard-page .vacation-person,.app-shell[data-theme="dark"] #dashboard-page .requested-person{background:#472e26;border:0}.app-shell[data-theme="dark"] #dashboard-page .requested-icon{background:#57392e;color:#e7b88f}.app-shell[data-theme="dark"] #dashboard-page .requested-count{border-color:#6c4b3d;color:#efd4c2}
@media(max-width:1280px){#dashboard-page .insights-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#dashboard-page .insight-card{border-bottom:1px solid #e8ded7}#dashboard-page .insight-card:nth-child(3){border-right:0}#dashboard-page .insight-card:nth-last-child(-n+2){border-bottom:0}}
@media(max-width:1100px){#dashboard-page .dashboard-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#dashboard-page .dashboard-info-grid .requested-summary{border-right:1px solid #e8ded7;border-bottom:1px solid #e8ded7}#dashboard-page .dashboard-info-grid .requested-summary:nth-child(2n){border-right:0}#dashboard-page .dashboard-info-grid .requested-summary:nth-last-child(-n+2){border-bottom:0}}@media(max-width:650px){#dashboard-page .dashboard-info-grid{grid-template-columns:1fr}#dashboard-page .dashboard-info-grid .requested-summary{min-height:150px;border-right:0;border-bottom:1px solid #e8ded7}#dashboard-page .dashboard-info-grid .requested-summary:nth-last-child(2){border-bottom:1px solid #e8ded7}#dashboard-page .dashboard-info-grid .requested-summary:last-child{border-bottom:0}}
@media(max-width:560px){#dashboard-page .insights-grid{grid-template-columns:1fr}#dashboard-page .insight-card,#dashboard-page .insight-card:nth-child(3),#dashboard-page .insight-card:nth-last-child(-n+2){min-height:88px;border-right:0;border-bottom:1px solid #e8ded7}#dashboard-page .insight-card:last-child{border-bottom:0}.dashboard-section-heading p{display:none}}

.weekly-employee-detail{margin-top:20px}.weekly-employee-summary{overflow:hidden;border:1px solid #dfd3cb;border-radius:8px;background:#fff}.weekly-summary-heading{display:flex;align-items:end;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #e8ded7}.weekly-summary-heading span{display:block;margin-bottom:4px;color:#926142;font-size:8px;font-weight:800;letter-spacing:1.2px}.weekly-summary-heading h3{margin:0;font:700 16px Manrope,sans-serif}.weekly-summary-heading p{margin:0;color:#8d7a70;font-size:10px}.employee-summary-table{width:100%;border-collapse:collapse}.employee-summary-table th,.employee-summary-table td{padding:11px 13px;border-bottom:1px solid #eee6e0;text-align:left;font-size:10px}.employee-summary-table th{background:#f5efea;color:#715f55;font-size:9px;text-transform:uppercase}.employee-summary-table tr:last-child td{border-bottom:0}.employee-week-status{display:inline-block;padding:4px 6px;border-radius:4px;background:#eee4dd;color:#6b412c;font-weight:800}.status-sin-descanso{background:#f4d8cf;color:#963d2d}.status-vacaciones,.status-permiso{background:#f2dfc9;color:#80532f}.status-sin-asignacion{background:#ead6d6;color:#8a3f45}.status-descanso-semanal{background:#e4ece5;color:#41634d}.app-shell[data-theme="dark"] .weekly-employee-summary{background:#3a251e;border-color:#5d4035}.app-shell[data-theme="dark"] .weekly-summary-heading,.app-shell[data-theme="dark"] .employee-summary-table th,.app-shell[data-theme="dark"] .employee-summary-table td{border-color:#5d4035}.app-shell[data-theme="dark"] .employee-summary-table th{background:#2e1b16;color:#dbc9bd}@media(max-width:760px){.weekly-summary-heading{align-items:flex-start;gap:8px;flex-direction:column}.employee-summary-table{min-width:760px}}
.employee-summary-table td:first-child small{display:block;margin-top:3px;color:#97857a;font-size:8px;text-transform:capitalize}.status-bajo-objetivo{background:#f4d8cf;color:#963d2d}.status-objetivo-cumplido{background:#e4ece5;color:#41634d}.status-inactivo,.status-incapacidad{background:#e3dedb;color:#665a54}

/* Tema oscuro moderno y minimalista */
.app-shell[data-theme="dark"]{--ink:#ececec;--muted:#a6a6a6;--line:#383838;--canvas:#212121;--navy:#171717;--purple:#10a37f;--accent:#10a37f;color-scheme:dark;background:#212121;color:#ececec}
.app-shell[data-theme="dark"] .sidebar{background:#171717;color:#b4b4b4;border-right:1px solid #292929;padding-inline:12px}
.app-shell[data-theme="dark"] .sidebar-brand{color:#f4f4f4}
.app-shell[data-theme="dark"] .brand-mark{background:transparent;border-radius:8px}
.app-shell[data-theme="dark"] .sidebar nav p{color:#777;letter-spacing:.09em}
.app-shell[data-theme="dark"] .nav-item{height:42px;border-radius:8px;color:#b4b4b4;transition:background .15s ease,color .15s ease}
.app-shell[data-theme="dark"] .nav-item:hover{background:#242424;color:#f4f4f4}
.app-shell[data-theme="dark"] .nav-item.active{background:#2f2f2f;color:#fff;box-shadow:none}
.app-shell[data-theme="dark"] .nav-primary-action,.app-shell[data-theme="dark"] .nav-primary-action:hover,.app-shell[data-theme="dark"] .nav-primary-action.active{background:#10a37f;color:#fff;box-shadow:none}
.app-shell[data-theme="dark"] .nav-item small{background:#10a37f;color:#fff}
.app-shell[data-theme="dark"] .sidebar-user{border-color:#303030}
.app-shell[data-theme="dark"] .sidebar-user strong{color:#ececec}
.app-shell[data-theme="dark"] .sidebar-user span,.app-shell[data-theme="dark"] .sidebar-user button{color:#8e8e8e}
.app-shell[data-theme="dark"] .workspace{background:#212121}
.app-shell[data-theme="dark"] .topbar{height:76px;background:#212121;border-color:#383838;box-shadow:none}
.app-shell[data-theme="dark"] .crumb span,.app-shell[data-theme="dark"] .today,.app-shell[data-theme="dark"] .welcome p,.app-shell[data-theme="dark"] .card-heading p,.app-shell[data-theme="dark"] .settings-copy p,.app-shell[data-theme="dark"] .section-title p,.app-shell[data-theme="dark"] .section-title>span{color:#9b9b9b}
.app-shell[data-theme="dark"] .crumb h1,.app-shell[data-theme="dark"] .welcome h2,.app-shell[data-theme="dark"] .card-heading h3,.app-shell[data-theme="dark"] .settings-copy h3{color:#f4f4f4;letter-spacing:-.02em}
.app-shell[data-theme="dark"] .content{background:#212121}
.app-shell[data-theme="dark"] .card,.app-shell[data-theme="dark"] .stats-grid article,.app-shell[data-theme="dark"] .insight-card,.app-shell[data-theme="dark"] .modal-box,.app-shell[data-theme="dark"] .weekly-employee-summary{background:#2f2f2f;border:1px solid #424242;border-radius:12px;box-shadow:none}
.app-shell[data-theme="dark"] .stats-grid article:hover,.app-shell[data-theme="dark"] .card:hover{border-color:#505050}
.app-shell[data-theme="dark"] .stats-grid p,.app-shell[data-theme="dark"] .stats-grid small b,.app-shell[data-theme="dark"] .activity-list p,.app-shell[data-theme="dark"] .activity-list small,.app-shell[data-theme="dark"] .chart-labels,.app-shell[data-theme="dark"] .chart-days,.app-shell[data-theme="dark"] .progress-summary{color:#a6a6a6}
.app-shell[data-theme="dark"] .activity-list p b,.app-shell[data-theme="dark"] .progress-summary b{color:#ececec}
.app-shell[data-theme="dark"] .activity-list p strong,.app-shell[data-theme="dark"] .card-heading button,.app-shell[data-theme="dark"] .user-actions button,.app-shell[data-theme="dark"] .employee-options button,.app-shell[data-theme="dark"] .branch-shifts button{color:#58c7aa}
.app-shell[data-theme="dark"] .activity-list li{border-color:#424242}
.app-shell[data-theme="dark"] .primary-button{background:#10a37f;color:#fff;border:1px solid #10a37f;border-radius:8px;box-shadow:none}
.app-shell[data-theme="dark"] .primary-button:hover{background:#0d8f70;transform:none}
.app-shell[data-theme="dark"] .secondary-button,.app-shell[data-theme="dark"] .icon-button,.app-shell[data-theme="dark"] .close-modal{background:#2f2f2f;border:1px solid #4a4a4a;color:#d9d9d9;box-shadow:none}
.app-shell[data-theme="dark"] .secondary-button:hover,.app-shell[data-theme="dark"] .icon-button:hover,.app-shell[data-theme="dark"] .close-modal:hover{background:#3a3a3a}
.app-shell[data-access-role="editor"] .nav-item:is([data-page="users"],[data-page="audit"]),.app-shell[data-access-role="visualizador"] .nav-item:is([data-page="users"],[data-page="audit"]){display:none}.app-shell[data-access-role="visualizador"] :is(#new-branch-button,#new-employee-button,#new-schedule-button,#new-shift-button,#new-vacation-button,#new-permit-button,#new-disability-button,#new-request-button,#generate-week-button,#save-horoscope-sign,#toggle-week-editor,#discard-week-editor,button[data-branch-action],button[data-employee-action],button[data-schedule-action],button[data-shift-action],button[data-vacation-action],button[data-permit],button[data-disability],button[data-request],button[data-week-action="delete"],button[data-cell-action],[data-loan-write]){display:none!important}

.loan-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-bottom:22px}.loan-stats article{display:flex;flex-direction:column;gap:8px;padding:20px}.loan-stats span,.loan-detail-summary span{color:var(--muted);font-size:11px}.loan-stats b{font:700 24px Manrope,sans-serif}.loans-table{min-width:1250px}.loans-table td>small{display:block;color:var(--muted);margin-top:4px}.loan-status{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:700;text-transform:capitalize}.loan-status-activo{background:#e5f5ec;color:#368861}.loan-status-liquidado{background:#e8efff;color:#4673bd}.loan-status-cancelado{background:#f4e7e7;color:#a75252}.loan-notes-field{display:flex;flex-direction:column;gap:8px;margin-top:18px;font-size:12px;font-weight:700}.loan-notes-field textarea{border:1px solid var(--line);border-radius:8px;padding:11px;resize:vertical;font:inherit}.loan-detail-box{width:min(850px,94vw)}.loan-detail-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:12px}.loan-detail-summary article{padding:15px;border:1px solid var(--line);border-radius:9px;display:flex;flex-direction:column;gap:7px}.loan-detail-summary b{font:700 15px Manrope,sans-serif}.loan-detail-meta{color:var(--muted);font-size:12px;margin:12px 0 22px}.loan-payment-form{display:grid;grid-template-columns:1fr 1fr 1.4fr auto;align-items:end;gap:12px;padding:17px;margin-bottom:20px;border-radius:10px;background:#f7f8fa}.loan-payment-form label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:700}.loan-payment-form input{height:38px;border:1px solid var(--line);border-radius:7px;padding:0 9px}.loan-payment-form .form-error{grid-column:1/-1;margin:0}.app-shell[data-theme="dark"] :is(.loan-notes-field textarea,.loan-detail-summary article,.loan-payment-form input){background:#202020;border-color:#353535;color:#ececec}.app-shell[data-theme="dark"] .loan-payment-form{background:#191919}.app-shell[data-theme="dark"] .loan-status-activo{background:#193b30;color:#80d0b3}.app-shell[data-theme="dark"] .loan-status-liquidado{background:#202f49;color:#9bb9ef}.app-shell[data-theme="dark"] .loan-status-cancelado{background:#482626;color:#e4a0a0}@media(max-width:800px){.loan-stats,.loan-detail-summary{grid-template-columns:1fr 1fr}.loan-payment-form{grid-template-columns:1fr}.loan-payment-form .form-error{grid-column:auto}}@media(max-width:520px){.loan-stats,.loan-detail-summary{grid-template-columns:1fr}}
.app-message-modal{z-index:80}.app-message-box{width:min(430px,100%);display:grid;grid-template-columns:44px 1fr;gap:14px;align-items:start}.app-message-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:#f2ddcf;color:#934326}.app-message-icon svg{width:21px}.app-message-box h2{margin:2px 0 8px;font:800 18px Manrope,sans-serif}.app-message-box>div>p:first-child{margin:0;color:#926142;font-size:9px;font-weight:800;letter-spacing:1.2px}.app-message-box #app-confirm-message{margin:0;color:#715f55;font-size:12px;line-height:1.6;white-space:pre-line}.app-message-box .modal-actions{grid-column:1/-1}.app-message-box .primary-button{width:auto}.app-toast-region{position:fixed;z-index:100;right:22px;bottom:22px;display:grid;gap:9px;width:min(360px,calc(100vw - 32px));pointer-events:none}.app-toast{display:flex;align-items:flex-start;gap:10px;padding:13px 15px;border:1px solid #d7c8be;border-radius:8px;background:#fff;color:#41261e;box-shadow:0 12px 32px #32160f2b;animation:toast-in .2s ease}.app-toast.is-error{border-color:#d9aeb4;background:#fff8f8;color:#8a3f45}.app-toast svg{flex:none;width:17px}.app-toast b{display:block;font-size:11px}.app-toast span{display:block;margin-top:2px;font-size:10px;line-height:1.45}@keyframes toast-in{from{opacity:0;transform:translateY(8px)}}.app-shell[data-theme="dark"]~.app-message-modal .app-message-box,.app-shell[data-theme="dark"]~.app-toast-region .app-toast{background:#2f2f2f;border-color:#4a4a4a;color:#ececec}
.app-message-modal[open]{width:auto;max-width:none;height:auto;max-height:none;margin:0;border:0}
.weekly-grid td:has(>.weekly-cell-slots){padding:0}.weekly-cell-slots{display:grid;min-height:100%}.weekly-multiple-slots .weekly-cell-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.weekly-person-slot{display:grid;place-items:center;min-width:0;min-height:31px;padding:5px;text-align:center}.weekly-multiple-slots .weekly-person-slot+.weekly-person-slot{border-left:1px solid #d7c8be}.weekly-person-slot .weekly-person{display:block;max-width:100%;line-height:1.2;overflow-wrap:anywhere}.weekly-person-slot .weekly-person+.weekly-person::before{content:none}.weekly-vacant-slot{color:#8d7a70!important;font-size:10px;font-weight:800}.weekly-grid td:has(>.weekly-cell-slots)>.weekly-shortage-badge{margin:3px auto 4px}.app-shell[data-theme="dark"] .weekly-multiple-slots .weekly-person-slot+.weekly-person-slot{border-color:#5a514c}.app-shell[data-theme="dark"] .weekly-vacant-slot{color:#aaa!important}
.weekly-grid th,.weekly-grid td{border-width:2px;border-color:#66554b}.weekly-multiple-slots .weekly-person-slot+.weekly-person-slot{border-left-width:2px;border-left-color:#66554b}.app-shell[data-theme="dark"] .weekly-grid th,.app-shell[data-theme="dark"] .weekly-grid td{border-color:#8a817c}.app-shell[data-theme="dark"] .weekly-multiple-slots .weekly-person-slot+.weekly-person-slot{border-left-color:#8a817c}
.weekly-grid{width:max-content;min-width:100%;table-layout:auto}.weekly-grid thead th:not(:first-child){min-width:0}.weekly-person-slot{padding-inline:4px}.weekly-person-slot .weekly-person{width:max-content;max-width:none;white-space:nowrap;word-break:normal;overflow-wrap:normal;line-height:1.35;text-align:center}.weekly-multiple-slots .weekly-person-slot{min-width:max-content;padding-inline:4px}
.schedule-export-sheet{position:fixed;left:-10000px;top:0;width:1400px;padding:0;background:#fff;color:#111;font-family:Arial,sans-serif}.schedule-export-sheet h1{height:32px;margin:0;display:grid;place-items:center;border:2px solid #111;border-bottom:0;background:#dbe5f5;color:#082b68;font:bold 20px Arial,sans-serif}.schedule-export-sheet .weekly-export-table{width:1400px!important;min-width:1400px!important;table-layout:fixed!important;border-collapse:collapse!important}.schedule-export-sheet .weekly-export-table thead th{height:30px!important;padding:3px 5px!important;border:2px solid #111!important;background:#f4f4f4!important;color:#111!important;font:bold 14px Arial,sans-serif!important;text-align:center!important}.schedule-export-sheet .weekly-export-table thead th:first-child{width:145px!important}.schedule-export-sheet .weekly-export-table th,.schedule-export-sheet .weekly-export-table td{height:25px!important;padding:0!important;border:2px solid #3e3935!important;color:#111!important;font:bold 9px Arial,sans-serif!important;vertical-align:middle!important}.schedule-export-sheet .weekly-export-table .weekly-branch-cell{width:145px!important;padding:4px!important;text-align:center!important}.schedule-export-sheet .weekly-export-table .weekly-cell-slots{height:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-export-sheet .weekly-export-table td:not(.weekly-multiple-slots) .weekly-cell-slots{grid-template-columns:1fr}.schedule-export-sheet .weekly-export-table .weekly-person-slot{min-width:0!important;min-height:25px!important;padding:2px 3px!important}.schedule-export-sheet .weekly-export-table .weekly-person{width:auto!important;max-width:100%!important;white-space:nowrap!important;font-size:9px!important}.schedule-export-sheet .weekly-export-table .weekly-multiple-slots .weekly-person-slot+.weekly-person-slot{border-left:1px solid #3e3935!important}.schedule-export-sheet .weekly-export-table tr.branch-block-start th,.schedule-export-sheet .weekly-export-table tr.branch-block-start td{border-top-width:3px!important}.schedule-export-sheet .weekly-export-table .weekly-shortage-badge{margin:1px auto!important;padding:1px 4px!important;font-size:7px!important}.schedule-export-sheet .weekly-export-table .weekly-person.manual::after{font-size:5px!important}
.schedule-export-sheet,.schedule-export-sheet h1,.schedule-export-sheet .weekly-export-table th,.schedule-export-sheet .weekly-export-table td,.schedule-export-sheet .weekly-person-slot,.schedule-export-sheet .weekly-person{ text-align:center!important;text-transform:uppercase!important}
.schedule-export-sheet .weekly-export-table thead th:first-child,.schedule-export-sheet .weekly-export-table .weekly-branch-cell{width:100px!important;min-width:100px!important;max-width:100px!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;line-height:1.15!important}
.weekly-grid th,.weekly-grid td,.weekly-grid .weekly-person-slot,.weekly-grid .weekly-person{text-align:center;text-transform:uppercase}.weekly-grid .weekly-branch-cell{width:100px;min-width:100px;max-width:100px;white-space:normal;overflow-wrap:normal;word-break:normal;line-height:1.15}.weekly-grid .weekly-turn-cell{width:70px;min-width:70px;text-align:center}.schedule-export-sheet .weekly-export-table tr.weekly-export-intermediate .weekly-person{color:#c00000!important}
.schedule-export-sheet .weekly-export-table thead th:nth-child(2),.schedule-export-sheet .weekly-export-table .weekly-turn-cell{width:70px!important;min-width:70px!important;max-width:70px!important}.schedule-export-sheet .weekly-export-table thead th:nth-child(n+3){width:175.714px!important;min-width:175.714px!important;max-width:175.714px!important}
.weekly-grid tbody th,.weekly-grid tbody td{border-width:1px}.weekly-grid tbody tr.branch-block-start th,.weekly-grid tbody tr.branch-block-start td{border-top-width:3px}.weekly-grid tbody tr.branch-block-start:first-child th,.weekly-grid tbody tr.branch-block-start:first-child td{border-top-width:2px}.weekly-multiple-slots .weekly-person-slot+.weekly-person-slot{border-left-width:1px}.schedule-export-sheet .weekly-export-table tbody th,.schedule-export-sheet .weekly-export-table tbody td{border-width:1px!important}.schedule-export-sheet .weekly-export-table tbody tr.branch-block-start th,.schedule-export-sheet .weekly-export-table tbody tr.branch-block-start td{border-top-width:3px!important}.schedule-export-sheet .weekly-export-table tbody tr.branch-block-start:first-child th,.schedule-export-sheet .weekly-export-table tbody tr.branch-block-start:first-child td{border-top-width:2px!important}
.weekly-grid tr.weekly-intermediate-row .weekly-person{color:#c00000!important}
.weekly-multiple-slots .weekly-cell-slots{grid-template-columns:repeat(var(--weekly-slot-count,2),minmax(0,1fr))}.weekly-triple-slots .weekly-person{font-size:8px;letter-spacing:-.2px}.weekly-triple-slots .weekly-person-slot{padding-inline:3px}.schedule-export-sheet .weekly-export-table .weekly-multiple-slots .weekly-cell-slots{grid-template-columns:repeat(var(--weekly-slot-count,2),minmax(0,1fr))}.schedule-export-sheet .weekly-export-table .weekly-triple-slots .weekly-person{font-size:7px!important;letter-spacing:-.3px!important}.schedule-export-sheet .weekly-export-table .weekly-triple-slots .weekly-person-slot{padding-inline:1px!important}
.weekly-grid .weekly-triple-slots .weekly-person{font-size:9px;letter-spacing:-.25px}.schedule-export-sheet .weekly-export-table .weekly-person{font-size:11px!important;letter-spacing:-.15px!important}.schedule-export-sheet .weekly-export-table .weekly-multiple-slots .weekly-person{font-size:10px!important;letter-spacing:-.25px!important}.schedule-export-sheet .weekly-export-table .weekly-triple-slots .weekly-person{font-size:9px!important;letter-spacing:-.35px!important}
.assistant-group.outside>header{background:#fff8ee}.assistant-group.outside header>span{background:#f5e4c9;color:#94611f}.assistant-group.occupied>header{background:#f3f5f8}.assistant-group.occupied header>span{background:#e2e6ec;color:#596273}.app-shell[data-theme="dark"] .assistant-group.outside>header{background:#3b3025}.app-shell[data-theme="dark"] .assistant-group.occupied>header{background:#30343a}
.assistant-collapsible>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;background:#faf6f3;cursor:pointer;list-style:none}.assistant-collapsible>summary::-webkit-details-marker{display:none}.assistant-collapsible>summary>span{min-width:0}.assistant-collapsible>summary b,.assistant-collapsible>summary small{display:block}.assistant-collapsible>summary b{font:800 11px Manrope}.assistant-collapsible>summary small{margin-top:3px;color:#958077;font-size:8px}.assistant-collapsible>summary em{display:grid;place-items:center;min-width:24px;height:24px;border-radius:6px;background:#eee2da;font-size:9px;font-style:normal;font-weight:800}.assistant-collapsible[open]>summary{border-bottom:1px solid #e4d8d0}.assistant-collapsible.recommended>summary{background:#f0f8f3}.assistant-collapsible.recommended>summary em{background:#dcefe3;color:#367c57}.assistant-collapsible.outside>summary{background:#fff8ee}.assistant-collapsible.outside>summary em{background:#f5e4c9;color:#94611f}.assistant-collapsible.rest-impact>summary{background:#fff5f3}.assistant-collapsible.rest-impact>summary em{background:#f3dcd7;color:#985144}.assistant-collapsible.shift-exception>summary{background:#f8f3fb}.assistant-collapsible.shift-exception>summary em{background:#e9dff0;color:#79558f}.assistant-collapsible.occupied>summary{background:#f3f5f8}.assistant-collapsible.occupied>summary em{background:#e2e6ec;color:#596273}.app-shell[data-theme="dark"] .assistant-collapsible>summary{background:#33302e;border-color:#4b4b4b}.app-shell[data-theme="dark"] .assistant-collapsible.outside>summary{background:#3b3025}.app-shell[data-theme="dark"] .assistant-collapsible.rest-impact>summary{background:#3c2b29}.app-shell[data-theme="dark"] .assistant-collapsible.shift-exception>summary{background:#342d39}.app-shell[data-theme="dark"] .assistant-collapsible.occupied>summary{background:#30343a}
.weekly-grid .weekly-table-title-row th{width:auto!important;min-width:0!important;max-width:none!important;height:32px;padding:5px!important;background:#dbe5f5!important;color:#082b68!important;text-align:center!important;font:800 15px Manrope,Arial,sans-serif!important;letter-spacing:.15px;white-space:normal!important}.weekly-grid .weekly-columns-row th{text-align:center}
.weekly-grid:not(.weekly-export-table){width:100%;min-width:0;table-layout:fixed}.weekly-grid:not(.weekly-export-table) .weekly-branch-cell,.weekly-grid:not(.weekly-export-table) .weekly-columns-row th:first-child{width:82px;min-width:82px;max-width:82px}.weekly-grid:not(.weekly-export-table) .weekly-turn-cell,.weekly-grid:not(.weekly-export-table) .weekly-columns-row th:nth-child(2){width:62px;min-width:62px;max-width:62px}.weekly-grid:not(.weekly-export-table) .weekly-person-slot{min-width:0;overflow:hidden}.weekly-grid:not(.weekly-export-table) .weekly-person-slot .weekly-person{width:100%;max-width:100%;font-size:9px;letter-spacing:-.2px}.weekly-grid:not(.weekly-export-table) .weekly-multiple-slots .weekly-person{font-size:7.5px;letter-spacing:-.4px}.weekly-grid:not(.weekly-export-table) .weekly-triple-slots .weekly-person{font-size:6.5px;letter-spacing:-.5px}
.assistant-search{display:flex;align-items:center;gap:8px;height:40px;margin:0 0 12px;padding:0 11px;border:1px solid #d7c8be;border-radius:8px;background:#fff;color:#926142}.assistant-search svg{width:15px;flex:none}.assistant-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#41261e;font-size:10px}.app-shell[data-theme="dark"] .assistant-search{background:#292929;border-color:#4b4b4b}.app-shell[data-theme="dark"] .assistant-search input{color:#eee}
.app-shell[data-theme="dark"] .theme-selector{background:#171717;border:1px solid #383838}
.app-shell[data-theme="dark"] .theme-option{color:#999}
.app-shell[data-theme="dark"] .theme-option.selected{background:#2f2f2f;color:#ececec;box-shadow:none}
.app-shell[data-theme="dark"] .sidebar-brand .brand-copy>small{color:#9b9b9b}
.app-shell[data-theme="dark"] :is(.section-title>span,.role-badge,.employee-total,.employee-week-status,.weekly-heading-actions>span){background:#173b32;color:#71d7bc}
.app-shell[data-theme="dark"] :is(.requested-person span,.activity-list p strong,.weekly-summary-heading span,.weekly-employee-search svg,.week-cell-heading small,.cell-assignment-list button,.quote-attribution,.up,.generation-complete){color:#58c7aa}
.app-shell[data-theme="dark"] :is(.requested-icon,.daily-card-heading span,.exchange-icon,.available-icon,.branches-icon,.weather-icon,.holiday-icon){background:#173b32;color:#71d7bc}
.app-shell[data-theme="dark"] :is(.requested-count,.vacation-count,.permit-count){border-color:#34574e;background:#173b32;color:#71d7bc}
.app-shell[data-theme="dark"] #dashboard-page :is(.vacation-person,.requested-person){background:#262626}
.app-shell[data-theme="dark"] #dashboard-page :is(.insights-grid,.dashboard-info-grid){border-color:#424242;background:#2f2f2f}
.app-shell[data-theme="dark"] #dashboard-page :is(.insight-card,.requested-summary){border-color:#424242}
.app-shell[data-theme="dark"] #dashboard-page .insight-card:hover{background:#363636;box-shadow:inset 0 2px #10a37f}
.app-shell[data-theme="dark"] :is(.cell-editor-field,.closed-cell-notice,.weekly-employee-search>span){color:#a6a6a6}
.app-shell[data-theme="dark"] .weekly-detail-actions::before{color:#a6a6a6}
.app-shell[data-theme="dark"] .closed-cell-notice{background:#262626}
.app-shell[data-theme="dark"] .weekly-detail-actions{border-color:#424242}
.app-shell[data-theme="dark"] :is(.weekly-heading-actions>span.complete-week,.status-descanso-semanal){background:#173b32;color:#71d7bc}
.app-shell[data-theme="dark"]~.app-message-modal :is(.app-message-box>div>p:first-child,.app-message-icon){color:#71d7bc}
.app-shell[data-theme="dark"]~.app-message-modal .app-message-icon{background:#173b32}
.app-shell[data-theme="dark"]~.app-message-modal #app-confirm-message{color:#b4b4b4}
.app-shell[data-theme="dark"] .app-message-box{background:#2f2f2f;border-color:#4a4a4a;color:#ececec}
.app-shell[data-theme="dark"] .app-message-box h2{color:#ececec}
.app-shell[data-theme="dark"] .app-message-box :is(#app-confirm-kicker,.app-message-icon){color:#71d7bc}
.app-shell[data-theme="dark"] .app-message-icon{background:#173b32}
.app-shell[data-theme="dark"] .app-message-box #app-confirm-message{color:#b4b4b4}
.app-shell[data-theme="dark"] .app-toast{border-color:#4a4a4a;background:#2f2f2f;color:#ececec;box-shadow:0 12px 32px #0007}
.app-shell[data-theme="dark"] .app-toast svg{color:#71d7bc}
.app-shell[data-theme="dark"] .app-toast b{color:#ececec}
.app-shell[data-theme="dark"] .app-toast span{color:#b4b4b4}
.app-shell[data-theme="dark"] .app-toast.is-error{border-color:#69404a;background:#39272b}
.app-shell[data-theme="dark"] .app-toast.is-error :is(svg,b){color:#ff9aaa}
.app-shell[data-theme="dark"] .app-toast.is-error span{color:#ffd7df}
.app-shell[data-theme="dark"] .weekly-employee-search label{background:#212121;border-color:#424242}
.app-shell[data-theme="dark"] .weekly-employee-search label:focus-within{border-color:#10a37f;box-shadow:0 0 0 2px #10a37f24}
.app-shell[data-theme="dark"] #weekly-detail,.app-shell[data-theme="dark"] .weekly-employee-summary{background:#2f2f2f!important;border-color:#424242!important;box-shadow:none}
#dashboard-page .section-title>span:empty{display:none}
.app-shell[data-theme="dark"] :is(.welcome p,.section-title p,.dashboard-section-heading p,.requested-heading p,.vacations-empty,.vacation-person small,.requested-person small,.users-toolbar>span,.weekly-summary-heading p,.employee-summary-table td:first-child small,.daily-card small){color:#9b9b9b}
.app-shell[data-theme="dark"] :is(.section-title h3,.dashboard-section-heading h3,.requested-heading h3,.vacation-person b,.requested-person b,.daily-card-heading p){color:#ececec}
.topbar-breadcrumbs{display:flex;align-items:center;gap:5px;min-height:18px}.topbar-breadcrumbs button{padding:0;border:0;background:transparent;color:#927d71;font-size:9px;font-weight:700;letter-spacing:.4px;cursor:pointer}.topbar-breadcrumbs button:hover{color:#6b412c}.topbar-breadcrumbs svg{width:11px;height:11px;color:#b7a79e}.topbar-breadcrumbs #page-context{display:flex;align-items:center;gap:5px}.topbar-breadcrumbs #page-context b{overflow:hidden;max-width:260px;color:#6b412c;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.schedule-detail-nav{display:flex;align-items:center;margin-bottom:14px}.schedule-detail-nav .secondary-button{display:inline-flex;align-items:center;gap:7px}.schedule-detail-nav svg{width:15px;height:15px}.app-shell[data-theme="dark"] .topbar-breadcrumbs button{color:#999}.app-shell[data-theme="dark"] .topbar-breadcrumbs button:hover,.app-shell[data-theme="dark"] .topbar-breadcrumbs #page-context b{color:#71d7bc}.app-shell[data-theme="dark"] .topbar-breadcrumbs svg{color:#666}@media(max-width:680px){.topbar-breadcrumbs #breadcrumb-home,.topbar-breadcrumbs>svg{display:none}.topbar-breadcrumbs #page-context b{max-width:110px}.schedule-detail-nav .secondary-button{width:100%;justify-content:center}}
.topbar{position:sticky;z-index:4;top:0;height:76px;padding-inline:clamp(20px,3vw,42px);box-shadow:0 1px 8px #41261e0a}.top-actions{gap:13px}.topbar-theme-toggle{display:grid;place-items:center;width:36px;height:36px;flex:none;border:1px solid #dfd3cb;border-radius:8px;background:#f6f2ee;color:#6b412c;cursor:pointer}.topbar-theme-toggle:hover{background:#eee5de}.topbar-theme-toggle svg{width:17px;height:17px}.topbar-user{display:flex;align-items:center;gap:9px;padding-left:13px;border-left:1px solid #dfd3cb}.topbar-avatar{display:grid;place-items:center;width:35px;height:35px;flex:none;border-radius:50%;object-fit:cover;background:#be8352;color:#fff;font-size:10px;font-weight:800}.topbar-user-copy{display:grid;gap:2px;min-width:118px}.topbar-user-copy strong{overflow:hidden;max-width:180px;color:#41261e;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.topbar-user-copy small{color:#927d71;font-size:9px}.app-shell[data-theme="dark"] .topbar-theme-toggle{border-color:#4a4a4a;background:#2f2f2f;color:#ececec}.app-shell[data-theme="dark"] .topbar-theme-toggle:hover{background:#3a3a3a}.app-shell[data-theme="dark"] .topbar-user{border-color:#424242}.app-shell[data-theme="dark"] .topbar-user-copy strong{color:#ececec}.app-shell[data-theme="dark"] .topbar-user-copy small{color:#999}@media(max-width:680px){.topbar-user-copy,.today{display:none}.topbar-user{padding-left:9px}.top-actions{gap:8px}.topbar{padding-inline:16px}.crumb h1{font-size:18px}}
.app-shell[data-theme="dark"] .settings-icon{background:#173b32;color:#58c7aa}
.app-shell[data-theme="dark"] .users-card{background:#2f2f2f}
.app-shell[data-theme="dark"] .users-toolbar,.app-shell[data-theme="dark"] .users-table td{border-color:#424242}
.app-shell[data-theme="dark"] .users-table th,.app-shell[data-theme="dark"] .employee-summary-table th,.app-shell[data-theme="dark"] .weekly-grid thead th{background:#262626;color:#a6a6a6;border-color:#424242}
.app-shell[data-theme="dark"] .users-table td,.app-shell[data-theme="dark"] .employee-summary-table td{color:#b4b4b4;border-color:#424242}
.app-shell[data-theme="dark"] .user-cell b{color:#ececec}
.app-shell[data-theme="dark"] .user-cell small,.app-shell[data-theme="dark"] .table-message{color:#999!important}
.app-shell[data-theme="dark"] .user-initials,.app-shell[data-theme="dark"] .role-badge{background:#173b32;color:#71d7bc}
.app-shell[data-theme="dark"] .search-users input{color:#ececec}
.app-shell[data-theme="dark"] .search-users input::placeholder{color:#777}
.app-shell[data-theme="dark"] .modal{background:#000a;backdrop-filter:blur(3px)}
.app-shell[data-theme="dark"] .modal-box{background:#2f2f2f;box-shadow:0 24px 70px #0008}
.app-shell[data-theme="dark"] .form-grid label,.app-shell[data-theme="dark"] .cell-editor-field{color:#cfcfcf}
.app-shell[data-theme="dark"] .form-grid input,.app-shell[data-theme="dark"] .form-grid select,.app-shell[data-theme="dark"] .branch-shift-row select,.app-shell[data-theme="dark"] .employee-option-row select,.app-shell[data-theme="dark"] .week-picker input,.app-shell[data-theme="dark"] .horoscope-settings select,.app-shell[data-theme="dark"] .cell-editor-field select{background:#212121;border:1px solid #4a4a4a;color:#ececec;border-radius:8px}
.app-shell[data-theme="dark"] .form-grid input:focus,.app-shell[data-theme="dark"] .form-grid select:focus,.app-shell[data-theme="dark"] .week-picker input:focus{border-color:#10a37f;outline:2px solid #10a37f33}
.app-shell[data-theme="dark"] .avatar-upload{background:#262626;border-color:#4a4a4a}
.app-shell[data-theme="dark"] .upload-button{background:#173b32;color:#71d7bc}
.app-shell[data-theme="dark"] .chart-bars{border-color:#424242;background:repeating-linear-gradient(to bottom,transparent 0,transparent 43px,#3a3a3a 44px)}
.app-shell[data-theme="dark"] .chart-bars i,.app-shell[data-theme="dark"] .chart-bars i.current,.app-shell[data-theme="dark"] .progress-summary i{background:#10a37f}
.app-shell[data-theme="dark"] .progress-summary span+span i{background:#4f4f4f}
.app-shell[data-theme="dark"] .horoscope-card,.app-shell[data-theme="dark"] .quote-card-dashboard,.app-shell[data-theme="dark"] .vacations-dashboard-summary,.app-shell[data-theme="dark"] .permits-dashboard-summary,.app-shell[data-theme="dark"] .requested-summary{background:#2f2f2f!important;border-color:#424242}
.app-shell[data-theme="dark"] .daily-text,.app-shell[data-theme="dark"] .daily-card small{color:#b4b4b4}
.app-shell[data-theme="dark"] #dashboard-page .insights-grid,.app-shell[data-theme="dark"] #dashboard-page .dashboard-info-grid{background:#2f2f2f;border-color:#424242}
.loan-stats-single{grid-template-columns:minmax(220px,360px)}.loans-icon{background:#f5eadb;color:#a66a38}#dashboard-page .insights-grid{grid-template-columns:repeat(6,minmax(0,1fr))}@media(max-width:1280px){#dashboard-page .insights-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#dashboard-page .insight-card:nth-child(6){border-right:0}#dashboard-page .insight-card:nth-last-child(-n+3){border-bottom:0}}@media(max-width:560px){#dashboard-page .insights-grid{grid-template-columns:1fr}#dashboard-page .insight-card:nth-last-child(-n+3){border-bottom:1px solid #e8ded7}#dashboard-page .insight-card:last-child{border-bottom:0}.loan-stats-single{grid-template-columns:1fr}}
.sidebar nav{margin-top:30px;padding-bottom:12px}.sidebar nav>p,.sidebar nav .nav-module-label{margin:14px 0 5px;padding:0 12px;font-size:8px;letter-spacing:1px;opacity:.62}.sidebar nav>p:first-child{margin-top:0}.sidebar .nav-item{height:39px;margin:1px 0}.sidebar-user{position:sticky;bottom:-27px;background:inherit;padding-bottom:18px}
.topbar-logo{width:30px;height:30px;object-fit:contain;filter:brightness(0) saturate(100%) invert(30%) sepia(19%) saturate(1320%) hue-rotate(338deg) brightness(92%) contrast(88%)}.topbar-notifications{position:relative}.topbar-notifications .topbar-theme-toggle{position:relative}.topbar-notifications .topbar-theme-toggle>b{position:absolute;right:7px;top:7px;width:7px;height:7px;border:2px solid #fff;border-radius:50%;background:#c7594c}.notifications-panel{position:absolute;z-index:20;right:0;top:46px;width:min(380px,calc(100vw - 36px));padding:17px;border:1px solid #dfd3cb;border-radius:10px;background:#fffdfb;box-shadow:0 18px 45px #3d261f24}.notifications-heading{display:flex;align-items:flex-start;justify-content:space-between;padding:2px 2px 12px;border-bottom:1px solid #eee5df}.notifications-heading span{font-size:8px;letter-spacing:1.2px;color:#a48777}.notifications-heading h3{margin:3px 0 0;font:700 14px Manrope}.notifications-heading button{border:0;background:transparent;color:#a45c3d;font-size:10px;font-weight:700;cursor:pointer}.notification-item{position:relative;display:flex;gap:11px;padding:14px 3px;border-bottom:1px solid #f0e8e3}.notification-item:last-child{border-bottom:0}.notification-item>span{width:31px;height:31px;display:grid;place-items:center;flex:none;border-radius:7px;background:#f3e6dc;color:#a45c3d}.notification-item svg{width:15px}.notification-item b{font-size:11px}.notification-item p{margin:4px 0 0;color:#897a72;font-size:10px;line-height:1.45}.notification-item>small{position:absolute;right:2px;top:15px;color:#b95743;font-size:7px;font-weight:800}.notification-item.is-new{padding-right:42px}.app-shell[data-theme="dark"] .topbar-logo{filter:brightness(0) invert(1);opacity:.86}.app-shell[data-theme="dark"] .topbar-notifications .topbar-theme-toggle>b{border-color:#171717}.app-shell[data-theme="dark"] .notifications-panel{background:#242424;border-color:#3c3c3c;box-shadow:0 18px 45px #0008}.app-shell[data-theme="dark"] .notifications-heading{border-color:#3b3b3b}.app-shell[data-theme="dark"] .notification-item{border-color:#363636}.app-shell[data-theme="dark"] .notification-item>span{background:#362a25;color:#dfa783}.app-shell[data-theme="dark"] .notification-item p{color:#aaa}@media(max-width:680px){.topbar-logo{display:none}.topbar-notifications .notifications-panel{position:fixed;top:68px;right:18px}}
.audit-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 180px 180px auto;gap:10px;align-items:center;margin-bottom:17px}.audit-toolbar select{height:38px;border:1px solid var(--line);border-radius:7px;padding:0 10px;background:#fff;color:var(--ink);font-size:11px}.audit-toolbar>span{color:var(--muted);font-size:11px;white-space:nowrap}.audit-table{min-width:1000px}.audit-user{display:flex;align-items:center;gap:9px}.audit-user>span{width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:#efe4dc;color:#9a5a3e;font-size:9px;font-weight:800}.audit-user small{display:block;color:var(--muted);margin-top:2px;font-size:9px}.audit-module,.audit-action{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:700}.audit-module{background:#f0ece8;color:#765c4e}.audit-action-create{background:#e1f2e9;color:#3d8b65}.audit-action-update{background:#e8eef9;color:#5374ab}.audit-action-delete{background:#f6e5e5;color:#a14f4f}.audit-detail dl{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 20px}.audit-detail dl>div{padding:12px;border:1px solid var(--line);border-radius:8px}.audit-detail dt{color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.7px}.audit-detail dd{margin:5px 0 0;font-size:12px;font-weight:600}.audit-detail h3{font:700 13px Manrope}.audit-detail pre{max-height:280px;overflow:auto;padding:14px;border-radius:8px;background:#f5f1ee;color:#543e34;font:11px/1.6 monospace;white-space:pre-wrap}.app-shell[data-theme="dark"] .audit-toolbar select{background:#202020;border-color:#3b3b3b;color:#eee}.app-shell[data-theme="dark"] .audit-module{background:#39312d;color:#d4b7a5}.app-shell[data-theme="dark"] .audit-detail pre{background:#191919;color:#d8c5ba}.app-shell[data-theme="dark"] .audit-detail dl>div{border-color:#3b3b3b}@media(max-width:850px){.audit-toolbar{grid-template-columns:1fr 1fr}.audit-toolbar .search-users{grid-column:1/-1}}@media(max-width:560px){.audit-toolbar{grid-template-columns:1fr}.audit-toolbar .search-users{grid-column:auto}.audit-detail dl{grid-template-columns:1fr}}
.app-shell[data-theme="dark"] #dashboard-page .insight-card,.app-shell[data-theme="dark"] #dashboard-page .dashboard-info-grid .requested-summary{background:transparent!important;border-color:#424242}
.app-shell[data-theme="dark"] #dashboard-page .insight-card:hover{background:#353535}
.app-shell[data-theme="dark"] #dashboard-page .vacation-person,.app-shell[data-theme="dark"] #dashboard-page .requested-person{background:#262626;border:0}
.app-shell[data-theme="dark"] #dashboard-page .requested-icon{background:#173b32;color:#71d7bc}
.app-shell[data-theme="dark"] #dashboard-page .requested-count{background:#262626;border-color:#4a4a4a;color:#71d7bc}
.app-shell[data-theme="dark"] .weekly-employee-summary{background:#2f2f2f;border-color:#424242}
.app-shell[data-theme="dark"] .weekly-summary-heading,.app-shell[data-theme="dark"] .employee-summary-table th,.app-shell[data-theme="dark"] .employee-summary-table td{border-color:#424242}
.app-shell[data-theme="dark"] .employee-summary-table th{background:#262626;color:#b4b4b4}
.app-shell[data-theme="dark"] .record-status{background:#3a3a3a;color:#c4c4c4}
.app-shell[data-theme="dark"] .record-status-active,.app-shell[data-theme="dark"] .status-objetivo-cumplido,.app-shell[data-theme="dark"] .status-descanso-semanal{background:#173b32;color:#71d7bc}
.app-shell[data-theme="dark"] .generation-error{background:#39272b;border-color:#69404a;color:#ffd7df}
.app-shell[data-theme="dark"] .shortage-groups section{background:#2a2224;border-color:#5c3b43}
.app-shell[data-theme="dark"] .week-cell-dialog{background:#2f2f2f;border-color:#4a4a4a;color:#ececec;box-shadow:0 24px 70px #0009}
.app-shell[data-theme="dark"] .cell-assignment-list>div{border-color:#424242}
.app-shell[data-theme="dark"] ::-webkit-scrollbar{width:10px;height:10px}
.app-shell[data-theme="dark"] ::-webkit-scrollbar-track{background:#212121}
.app-shell[data-theme="dark"] ::-webkit-scrollbar-thumb{background:#4a4a4a;border:2px solid #212121;border-radius:10px}
.app-shell[data-theme="dark"] ::selection{background:#10a37f66;color:#fff}
.app-shell[data-theme="dark"] .dashboard-hero{background:#2f2f2f;border:1px solid #424242;color:#ececec;box-shadow:none}
.app-shell[data-theme="dark"] .dashboard-hero #dashboard-greeting{color:#f4f4f4}
.app-shell[data-theme="dark"] .dashboard-hero .hero-kicker,.app-shell[data-theme="dark"] .dashboard-hero .hero-date,.app-shell[data-theme="dark"] .dashboard-hero .hero-daily-item span{color:#9b9b9b!important}
.app-shell[data-theme="dark"] .dashboard-hero h2 span,.app-shell[data-theme="dark"] .dashboard-hero .hero-sparkle,.app-shell[data-theme="dark"] .hero-word-card .quote-attribution{color:#58c7aa}
.app-shell[data-theme="dark"] .dashboard-hero .hero-daily{border-color:#4a4a4a}
.app-shell[data-theme="dark"] .dashboard-hero .hero-daily-item p,.app-shell[data-theme="dark"] .hero-word-card .daily-word-line b{color:#ececec!important}
.app-shell[data-theme="dark"] .hero-word-card .daily-word-line small,.app-shell[data-theme="dark"] .hero-word-card #daily-word-example{color:#9b9b9b}
.app-shell[data-theme="dark"] .hero-daily-controls button{background:#5a5a5a}
.app-shell[data-theme="dark"] .hero-daily-controls button.active{background:#10a37f}
.app-shell[data-theme="dark"] .hero-primary-action,.app-shell[data-theme="dark"] .hero-primary-action:hover{background:#10a37f;border-color:#10a37f;color:#fff}
.app-shell[data-theme="dark"] .exchange-icon,.app-shell[data-theme="dark"] .weather-icon,.app-shell[data-theme="dark"] .holiday-icon,.app-shell[data-theme="dark"] .available-icon,.app-shell[data-theme="dark"] .branches-icon,.app-shell[data-theme="dark"] .requested-icon{background:#173b32;color:#71d7bc}
.app-shell[data-theme="dark"] .dashboard-section-heading span{color:#58c7aa}
.app-shell[data-theme="dark"] .dashboard-section-heading p{color:#9b9b9b}
.app-shell[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),.app-shell[data-theme="dark"] select,.app-shell[data-theme="dark"] textarea{background:#212121!important;border:1px solid #4a4a4a!important;color:#ececec!important;box-shadow:none!important}
.app-shell[data-theme="dark"] input::placeholder,.app-shell[data-theme="dark"] textarea::placeholder{color:#777!important}
.app-shell[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,.app-shell[data-theme="dark"] select:focus,.app-shell[data-theme="dark"] textarea:focus{border-color:#10a37f!important;outline:2px solid #10a37f33!important;outline-offset:0}
.app-shell[data-theme="dark"] select option{background:#212121;color:#ececec}
.app-shell[data-theme="dark"] input[type="checkbox"],.app-shell[data-theme="dark"] input[type="radio"]{accent-color:#10a37f}
.app-shell[data-theme="dark"] label{color:#cfcfcf}
.app-shell[data-theme="dark"] fieldset{border-color:#424242}
.app-shell[data-theme="dark"] .branch-day,.app-shell[data-theme="dark"] .branch-day-shifts label,.app-shell[data-theme="dark"] .employee-availability-day,.app-shell[data-theme="dark"] .employee-availability-day label,.app-shell[data-theme="dark"] .employee-option-row,.app-shell[data-theme="dark"] .schedule-day,.app-shell[data-theme="dark"] .shift-row{border-color:#424242;color:#cfcfcf}
.app-shell[data-theme="dark"] .branch-day-shifts label,.app-shell[data-theme="dark"] .employee-availability-day label,.app-shell[data-theme="dark"] .employee-option-row{background:#292929}
.app-shell[data-theme="dark"] .employee-availability-day label:has(input:checked),.app-shell[data-theme="dark"] .branch-day-shifts label:has(input:checked){background:#173b32;border-color:#10a37f;color:#baf3e4}
.app-shell[data-theme="dark"] .branch-day-toggle span,.app-shell[data-theme="dark"] .branch-week-heading small,.app-shell[data-theme="dark"] .avatar-upload small,.app-shell[data-theme="dark"] .closed-cell-notice{color:#9b9b9b}
.app-shell[data-theme="dark"] .closed-cell-notice{background:#262626}
.app-shell[data-theme="dark"] dialog,.app-shell[data-theme="dark"] .week-cell-dialog{background:#2f2f2f;border:1px solid #4a4a4a;color:#ececec}
.app-shell[data-theme="dark"] dialog::backdrop{background:#000b;backdrop-filter:blur(3px)}
.app-shell[data-theme="dark"] .modal-actions{border-color:#424242}
.app-shell[data-theme="dark"] button:disabled{opacity:.5;cursor:not-allowed}
.app-shell[data-theme="dark"] input:-webkit-autofill,.app-shell[data-theme="dark"] input:-webkit-autofill:hover,.app-shell[data-theme="dark"] input:-webkit-autofill:focus{-webkit-text-fill-color:#ececec;-webkit-box-shadow:0 0 0 1000px #212121 inset!important;transition:background-color 9999s ease-out}
.audit-toolbar{grid-template-columns:minmax(0,1fr) minmax(140px,180px) minmax(140px,180px) auto;width:100%;max-width:100%}.audit-toolbar>*{min-width:0;max-width:100%}.audit-toolbar .search-users,.audit-toolbar .search-users input,.audit-toolbar select{width:100%}@media(max-width:1050px){.audit-toolbar{grid-template-columns:minmax(0,1fr) minmax(140px,180px)}.audit-toolbar .search-users{grid-column:1/-1}.audit-toolbar>span{justify-self:end}}@media(max-width:560px){.audit-toolbar{grid-template-columns:1fr}.audit-toolbar .search-users{grid-column:auto}.audit-toolbar>span{justify-self:start}}
.audit-toolbar{grid-template-columns:minmax(0,1fr) minmax(140px,180px) minmax(140px,180px) minmax(72px,auto);padding:17px 20px;margin:0;border-bottom:1px solid var(--line)}.audit-toolbar>span{justify-self:end;padding-right:2px}@media(max-width:1050px){.audit-toolbar{grid-template-columns:minmax(0,1fr) minmax(140px,180px)}.audit-toolbar>span{padding-right:0}}@media(max-width:560px){.audit-toolbar{grid-template-columns:1fr}.audit-toolbar>span{justify-self:start}}
.data-table-card>.users-toolbar,.data-table-card>.audit-toolbar{display:none}.data-table-toolbar{display:flex;align-items:end;gap:9px;padding:16px 18px;border-bottom:1px solid var(--line);background:#fffdfb}.data-table-search{display:flex;align-items:center;gap:8px;flex:1;min-width:180px;height:38px;padding:0 11px;border:1px solid var(--line);border-radius:7px;color:#88776d}.data-table-search svg{width:14px;flex:none}.data-table-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font-size:11px}.data-table-field{display:flex;flex-direction:column;gap:5px;width:145px;min-width:0;color:var(--muted);font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.data-table-field select,.data-table-field input{width:100%;height:38px;padding:0 9px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);font-size:10px;text-transform:none;letter-spacing:0;outline:0}.data-table-date{width:126px}.data-table-clear{display:flex;align-items:center;justify-content:center;gap:6px;height:38px;padding:0 11px;border:1px solid var(--line);border-radius:7px;background:#fff;color:#7a675c;font-size:10px;font-weight:700;cursor:pointer}.data-table-clear svg{width:13px}.data-table-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:55px;padding:10px 18px;border-top:1px solid var(--line);color:var(--muted);font-size:10px}.data-table-footer>div{display:flex;align-items:center;gap:8px}.data-table-footer label{display:flex;align-items:center;gap:6px}.data-table-footer select{height:30px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);font-size:10px}.data-table-footer button{width:30px;height:30px;display:grid;place-items:center;border:1px solid var(--line);border-radius:6px;background:#fff;color:#705244;cursor:pointer}.data-table-footer button:disabled{opacity:.35;cursor:default}.data-table-footer button svg{width:13px}.data-table-footer b{min-width:82px;text-align:center;color:#66574f;font-size:9px}.app-shell[data-theme="dark"] .data-table-toolbar{background:#2f2f2f;border-color:#424242}.app-shell[data-theme="dark"] :is(.data-table-search,.data-table-field select,.data-table-field input,.data-table-clear,.data-table-footer select,.data-table-footer button){background:#252525;border-color:#484848;color:#e6e6e6}.app-shell[data-theme="dark"] .data-table-footer{border-color:#424242}.app-shell[data-theme="dark"] .data-table-footer b{color:#c8c8c8}@media(max-width:1250px){.data-table-toolbar{flex-wrap:wrap}.data-table-search{flex-basis:100%}.data-table-field{flex:1;min-width:135px}.data-table-date{flex:0 1 135px}}@media(max-width:680px){.data-table-toolbar{align-items:stretch}.data-table-search{flex-basis:100%}.data-table-field,.data-table-date{flex:1 1 calc(50% - 6px);width:auto}.data-table-clear{flex:1 1 100%}.data-table-footer{align-items:flex-start;flex-direction:column}.data-table-footer>div{width:100%;justify-content:space-between}.data-table-footer label{margin-right:auto}}@media(max-width:430px){.data-table-field,.data-table-date{flex-basis:100%}.data-table-footer b{min-width:auto}}
.weekly-closed-label{color:#c00000!important;font-weight:900}.schedule-export-sheet .weekly-closed-label{color:#c00000!important}
.weekly-closure-group-start{border-bottom-color:transparent!important}.weekly-closure-group-middle{border-top-color:transparent!important;border-bottom-color:transparent!important}.weekly-closure-group-end{border-top-color:transparent!important}
.weekly-person.manual-text{color:#c00000!important}.manual-writing>div{display:grid;gap:9px}.manual-writing label{display:grid;gap:4px;width:100%;font-size:9px;font-weight:800}.manual-writing label>span:last-child{display:flex;gap:7px}.manual-writing input{min-width:0;flex:1;height:34px;padding:0 9px;border:1px solid #d7c8be;border-radius:6px;background:#fff;color:#41261e;font-size:10px}.manual-writing>small{display:block;margin-top:8px;color:#927f75;font-size:8px}.app-shell[data-theme="dark"] .manual-writing input{background:#252525;border-color:#4b4b4b;color:#eee}
#schedule-detail-view:not(.hidden){display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:16px;align-items:start}.schedule-detail-nav{grid-column:1/-1}#weekly-detail{grid-column:1;min-width:0}#weekly-employee-detail{grid-column:2;margin:0;position:sticky;top:106px}.compact-summary{border-radius:10px}.compact-summary .weekly-summary-heading{align-items:center;padding:14px}.compact-summary .weekly-summary-heading h3{font-size:14px}.compact-summary .weekly-summary-heading>b{display:grid;place-items:center;min-width:30px;height:30px;border-radius:8px;background:#f0e3d9;color:#8c4b31;font:800 12px Manrope}.compact-summary-list{padding:5px 10px 10px}.compact-summary-list article{padding:10px 3px;border-bottom:1px solid #eee5df}.compact-summary-list article:last-child{border-bottom:0}.compact-summary-list article>div{display:flex;align-items:center;gap:8px}.compact-summary-avatar{width:27px;height:27px;display:grid;place-items:center;flex:none;border-radius:7px;background:#f1e7df;color:#925336;font-size:8px;font-weight:800}.compact-summary-list p{min-width:0;flex:1;margin:0}.compact-summary-list p b,.compact-summary-list p small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compact-summary-list p b{font-size:10px}.compact-summary-list p small{margin-top:2px;color:#97867c;font-size:8px}.compact-summary-list strong{font-size:9px;color:#765648}.compact-summary-list article>i{display:block;height:3px;margin:7px 0 0 35px;overflow:hidden;border-radius:4px;background:#eee6e1}.compact-summary-list article>i span{display:block;height:100%;border-radius:4px;background:#b66b49}.compact-summary-complete{display:flex;align-items:center;flex-direction:column;padding:25px 14px;text-align:center}.compact-summary-complete svg{color:#4b9a70}.compact-summary-complete b{margin-top:7px;font-size:10px}.compact-summary-complete span{margin-top:3px;color:var(--muted);font-size:8px}.assistant-dialog{width:min(720px,calc(100vw - 28px));max-height:min(88vh,850px);overflow:auto}.cell-assistant-intro{display:flex;align-items:center;gap:10px;margin:5px 0 13px;padding:11px;border-radius:8px;background:#f7eee8;color:#704634}.cell-assistant-intro svg{width:18px}.cell-assistant-intro div{display:flex;flex-direction:column;gap:2px}.cell-assistant-intro b{font-size:11px}.cell-assistant-intro span{font-size:9px;color:#987565}.assistant-group{margin:10px 0;border:1px solid #e4d8d0;border-radius:8px;overflow:hidden}.assistant-group>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;background:#faf6f3}.assistant-group header h4{margin:0;font:800 11px Manrope}.assistant-group header p{margin:2px 0 0;color:#958077;font-size:8px}.assistant-group header>span{display:grid;place-items:center;width:23px;height:23px;border-radius:6px;background:#eee2da;font-size:9px;font-weight:800}.assistant-group.recommended{border-color:#cde3d5}.assistant-group.recommended>header{background:#f0f8f3}.assistant-group.recommended header>span{background:#dcefe3;color:#367c57}.assistant-employee{width:100%;display:flex;align-items:center;gap:9px;padding:9px 11px;border:0;border-top:1px solid #eee6e0;background:#fff;color:#4e3a31;text-align:left;cursor:pointer}.assistant-employee:hover{background:#fbf7f4}.assistant-employee.selected{background:#f5e8df;box-shadow:inset 3px 0 #a85e3d}.assistant-group.recommended .assistant-employee.selected{background:#eaf6ee;box-shadow:inset 3px 0 #4c9c70}.assistant-avatar{width:29px;height:29px;display:grid;place-items:center;flex:none;border-radius:7px;background:#eee2da;color:#8a4c32;font-size:8px;font-weight:800}.assistant-employee>span:nth-child(2){min-width:0;flex:1}.assistant-employee b,.assistant-employee small{display:block}.assistant-employee b{font-size:10px}.assistant-employee small{margin-top:2px;color:#927f75;font-size:8px;white-space:normal}.assistant-employee>strong{font-size:9px}.assistant-empty{margin:0;padding:12px;color:#9b8b83;font-size:9px}.assistant-exceptions,.cell-secondary-actions{margin-top:10px;border:1px solid #e4d8d0;border-radius:8px}.assistant-exceptions summary,.cell-secondary-actions summary{padding:11px 12px;color:#765c50;font-size:9px;font-weight:800;cursor:pointer}.assistant-exceptions summary b{float:right}.assistant-main-actions{margin-top:13px}.assistant-main-actions .primary-button{width:100%}.cell-secondary-actions{padding:0 11px 11px}.cell-secondary-actions>div{display:flex;flex-wrap:wrap;gap:7px}.cell-secondary-actions .secondary-button{height:34px;font-size:9px}.app-shell[data-theme="dark"] .compact-summary .weekly-summary-heading>b{background:#45332b;color:#e4b79f}.app-shell[data-theme="dark"] :is(.cell-assistant-intro,.assistant-group>header){background:#38302c;color:#eee}.app-shell[data-theme="dark"] :is(.assistant-group,.assistant-exceptions,.cell-secondary-actions){border-color:#4b4b4b}.app-shell[data-theme="dark"] .assistant-employee{background:#292929;border-color:#414141;color:#eee}.app-shell[data-theme="dark"] .assistant-employee:hover{background:#333}.app-shell[data-theme="dark"] .assistant-employee.selected{background:#44352e}.app-shell[data-theme="dark"] .assistant-group.recommended .assistant-employee.selected{background:#263d31}.app-shell[data-theme="dark"] .assistant-avatar{background:#40332d;color:#e2b49d}@media(max-width:1180px){#schedule-detail-view:not(.hidden){grid-template-columns:1fr}#weekly-detail,#weekly-employee-detail{grid-column:1}#weekly-employee-detail{position:static;grid-row:2}.schedule-detail-nav{grid-row:1}#weekly-detail{grid-row:3}.compact-summary-list{display:grid;grid-template-columns:repeat(2,1fr);gap:0 14px}}@media(max-width:650px){.assistant-dialog{padding:16px}.assistant-group header p{display:none}.compact-summary-list{grid-template-columns:1fr}.cell-secondary-actions>div{display:grid}.cell-secondary-actions button{width:100%}}
