:root{color:#0f172a;background-color:#f7f9fc;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button{font-family:inherit}.app-shell{min-height:100vh;min-height:100dvh;background:#f7f9fc;color:#0f172a;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,SF Pro Display,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";padding:8px 16px;padding:calc(env(safe-area-inset-top) + 8px) calc(env(safe-area-inset-right) + 16px) calc(env(safe-area-inset-bottom) + 8px) calc(env(safe-area-inset-left) + 16px);box-sizing:border-box;-webkit-user-select:none;user-select:none}.site-gate-backdrop{position:fixed;inset:0;background:#0f172a8c;display:flex;align-items:center;justify-content:center;z-index:200;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.site-gate-card{background:#fff;padding:24px;border-radius:16px;box-shadow:0 18px 40px #0f172a2e;width:min(420px,90vw);display:flex;flex-direction:column;gap:8px}.site-gate-title{margin:0 0 8px;font-size:26px;font-weight:800;text-align:center}.site-gate-label{font-weight:600;font-size:14px}.site-gate-input{width:100%;padding:10px 12px;border:1px solid #d7dce5;border-radius:10px;background:#f8fafc;font-size:15px}.site-gate-error{color:#b91c1c;font-weight:600}.site-gate-btn{margin-top:10px;background:#2563eb;color:#fff;border:none;border-radius:10px;padding:10px 12px;font-weight:700;cursor:pointer;transition:transform .1s ease,box-shadow .2s ease}.site-gate-btn:hover{transform:translateY(-1px);box-shadow:0 8px 18px #2563eb4d}.loading-overlay{position:fixed;inset:0;background:#ffffffa6;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:150}.spinner{position:relative;width:86px;height:86px;margin-bottom:12px}.ring{position:absolute;inset:0;border-radius:50%;border:4px solid transparent;border-top-color:#2563eb;border-right-color:#2563eb;animation:spin-cw 1.4s linear infinite}.ring-outer{border-width:4px}.ring-inner{inset:10px;border-width:4px;border-top-color:#60a5fa;border-right-color:#60a5fa;animation:spin-ccw 1.4s linear infinite}.loading-text{font-weight:700;color:#1e293b}@keyframes spin-cw{to{transform:rotate(360deg)}}@keyframes spin-ccw{to{transform:rotate(-360deg)}}input,textarea,select,button{-webkit-user-select:text;user-select:text}.topbar{display:grid;grid-template-columns:auto 1fr auto;align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px 16px;margin-bottom:8px;position:sticky;top:0;z-index:10;box-shadow:0 6px 18px #0f172a0f}.topbar.topbar-staging{background:#0f172a;border-color:#1f2937;color:#f8fafc}.topbar.topbar-staging .month-label,.topbar.topbar-staging .mode-pill,.topbar.topbar-staging .ghost,.topbar.topbar-staging button{color:#f8fafc;border-color:#1f2937;background-color:#1f2937}.topbar.topbar-staging .month-strong,.topbar.topbar-staging .month-light{color:#f8fafc}.topbar.topbar-staging .mode-pill{background:#1f2937}.topbar-mode{display:flex;justify-content:center;position:relative}.mode-pill{padding:6px 12px;border-radius:16px;background:#e2e8f0;font-weight:700;letter-spacing:.3px;color:#0f172a;border:none;cursor:pointer}.overlay-backdrop{position:fixed;inset:0;background:#0f172a40;display:flex;align-items:center;justify-content:center;z-index:50;padding:16px}.fav-overlay-card{background:#fff;border-radius:16px;padding:16px;width:min(520px,90vw);box-shadow:0 18px 40px #0f172a2e;border:1px solid #e5e7eb;display:flex;flex-direction:column;gap:12px}.fav-overlay-header h3{margin:0;font-size:18px}.fav-overlay-search{position:relative}.fav-overlay-search input{width:100%;padding:10px 12px;border-radius:10px;border:1px solid #dce3ee;font-size:14px}.fav-overlay-list{max-height:320px;overflow:auto;border:1px solid #e5e7eb;border-radius:12px;padding:8px;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px}.fav-overlay-item{border:1px solid #e2e8f0;background:#f8fafc;border-radius:10px;padding:8px 10px;text-align:left;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px;transition:background .15s ease,border-color .15s ease}.fav-overlay-item:hover{background:#e0f2fe;border-color:#bfdbfe}.fav-overlay-item.selected{border-color:#22c55e;background:#dcfce7;color:#166534}.fav-overlay-item .check{font-weight:700}.fav-overlay-actions{display:flex;justify-content:center;width:100%}.fav-overlay-actions button{width:100%;padding:12px;border-radius:12px;border:1px solid #d7dce5;background:#fff;color:#0f172a;font-weight:600;box-shadow:0 4px 10px #0f172a14;transition:transform .1s ease,box-shadow .2s ease,background .2s ease}.fav-overlay-actions button:hover{background:#f8fafc;transform:translateY(-1px);box-shadow:0 6px 14px #0f172a1f}.topbar button{background:#fff;color:#0f172a;border:1px solid #e2e8f0;border-radius:8px;padding:8px 12px;cursor:pointer;margin:0 3px;transition:transform .1s ease,background .2s ease}.topbar button:hover{background:#f3f4f6;transform:translateY(-1px)}.topbar .primary{background:#2563eb;color:#fff;font-weight:700;border-color:#2563eb;margin:5px}.topbar .ghost{background:#fff;border:1px solid #d7dce5}.auth-popover{position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%);background:#fff;border:1px solid #e5e7eb;box-shadow:0 10px 30px #0000001f;border-radius:12px;padding:12px;min-width:220px;z-index:20}.auth-form{display:flex;flex-direction:column;gap:8px}.auth-form input{padding:6px 8px;border:1px solid #e5e7eb;border-radius:8px}.topbar button.auth-form-btn{margin-top:5px;background:#2563eb;color:#fff;border:none;border-radius:10px;padding:10px 12px;font-weight:700;cursor:pointer;transition:transform .1s ease,box-shadow .2s ease}.topbar button.auth-form-btn:hover{transform:translateY(-1px);box-shadow:0 8px 18px #2563eb4d}.month-picker{position:absolute;left:0;transform:none;top:70px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 12px 30px #0f172a1f;padding:12px;z-index:20;min-width:260px}.month-picker-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-weight:700}.month-picker-header button{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;padding:6px 10px;cursor:pointer}.month-picker-grid{display:grid;grid-template-columns:repeat(3,minmax(60px,1fr));gap:8px}.month-picker-cell{border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;padding:8px;cursor:pointer;transition:background .2s ease,transform .1s ease}.month-picker-cell:hover{background:#e0f2fe;transform:translateY(-1px)}.topbar .left{display:flex;align-items:center;gap:8px}.topbar .right{display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;white-space:nowrap;gap:4px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.topbar .right::-webkit-scrollbar{display:none}.topbar .right>*{flex:0 0 auto}.month-label{font-weight:500;letter-spacing:.3px;padding:6px 10px;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0}.month-label .month-strong{font-weight:800}.month-label .month-light{font-weight:500}.month-label.clickable{cursor:pointer;-webkit-user-select:none;user-select:none}.month-label.frozen{outline:3px solid #6497ff;outline-offset:0;box-shadow:0 8px 22px #6497ff40;border-color:#6497ff}.tabs{display:flex;gap:8px;margin-bottom:8px}.tabs button{flex:1;padding:10px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;color:#475569;cursor:pointer}.tabs .active{background:#2563eb;color:#fff;font-weight:700;border-color:#2563eb}.banner{background:#fef3c7;color:#92400e;padding:10px 12px;border-radius:10px;margin-bottom:10px;border:1px solid #fcd34d}.save-summary-banner{background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;padding:10px 12px;margin-bottom:10px}.save-summary-title{font-weight:700;color:#1e3a8a;margin-bottom:8px}.save-summary-list{display:flex;flex-direction:column;gap:6px}.save-summary-date-btn{width:100%;text-align:left;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:8px 10px;color:#0f172a;cursor:pointer}.save-summary-date-btn:hover{background:#f8fafc}.suggestions-layout{display:flex;flex-direction:column;gap:12px}.suggestions-subtabs{margin-bottom:0}.suggestions-card{width:100%;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:14px;box-shadow:0 6px 18px #0f172a0d;display:flex;flex-direction:column;gap:8px;min-height:180px}.suggestions-card h3{margin:0;font-size:24px;font-weight:800}.suggestions-card textarea,.suggestions-card select{width:100%;border:1px solid #d7dce5;border-radius:10px;padding:8px 10px;background:#f8fafc;color:#0f172a}.suggestions-list{display:flex;flex-direction:column;gap:8px;max-height:62vh;overflow:auto;padding-right:2px}.suggestion-item{border:1px solid #d7dce5;border-radius:10px;padding:10px;background:#f8fafc;display:flex;flex-direction:column;gap:8px}.suggestion-item.admin{background:#fff}.suggestion-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#475569;gap:8px;flex-wrap:wrap}.suggestion-top-left{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}.suggestion-category{padding:2px 8px;border-radius:999px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;font-weight:700}.suggestion-status{padding:2px 8px;border-radius:999px;font-weight:700;border:1px solid transparent}.suggestion-status.status-new{color:#92400e;background:#fef3c7;border-color:#fbbf24}.suggestion-status.status-needs-info{color:#6b21a8;background:#f3e8ff;border-color:#c084fc}.suggestion-status.status-acknowledged{color:#1e40af;background:#dbeafe;border-color:#60a5fa}.suggestion-status.status-accepted{color:#0f766e;background:#ccfbf1;border-color:#2dd4bf}.suggestion-status.status-in-progress{color:#075985;background:#e0f2fe;border-color:#38bdf8}.suggestion-status.status-on-hold{color:#92400e;background:#ffedd5;border-color:#fb923c}.suggestion-status.status-blocked{color:#991b1b;background:#fee2e2;border-color:#f87171}.suggestion-status.status-done{color:#166534;background:#dcfce7;border-color:#4ade80}.suggestion-status.status-out-of-scope{color:#475569;background:#e2e8f0;border-color:#94a3b8}.suggestion-message{white-space:pre-wrap;line-height:1.35;color:#0f172a;background:#fff;border:1px solid #dbe3ef;border-left:4px solid #93c5fd;border-radius:10px;padding:10px 12px;box-shadow:inset 0 1px #fffc}.suggestion-comment{border-top:1px dashed #cbd5e1;padding-top:6px;color:#fff;font-weight:600}.suggestion-visible-toggle{display:flex;align-items:center;gap:8px;font-weight:600}.suggestion-admin-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.suggestion-status-inline{display:inline-flex;align-items:center;gap:8px;font-weight:600}.suggestion-status-inline select{width:auto;min-width:180px}.suggestions-meta-row{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;color:#64748b}.suggestions-ok{border:1px solid #86efac;background:#dcfce7;color:#166534;border-radius:10px;padding:8px 10px;font-weight:600}.suggestions-error{border:1px solid #fca5a5;background:#fef2f2;color:#991b1b;border-radius:10px;padding:8px 10px;font-weight:600}.suggestion-action-btn{border:1px solid #d7dce5;border-radius:999px;padding:8px 14px;font-weight:700;font-size:13px;letter-spacing:.2px;cursor:pointer;transition:transform .12s ease,box-shadow .2s ease,background .2s ease,border-color .2s ease,color .2s ease}.suggestion-action-btn:hover:not(:disabled){transform:translateY(-1px)}.suggestion-action-btn:disabled{opacity:.6;cursor:not-allowed}.suggestion-action-btn.primary{background:linear-gradient(180deg,#3b82f6,#2563eb);border-color:#1d4ed8;color:#fff;box-shadow:0 6px 14px #2563eb40}.suggestion-action-btn.primary:hover:not(:disabled){box-shadow:0 10px 20px #2563eb52}.suggestion-action-btn.delete{background:#fff;border-color:#fca5a5;color:#b91c1c}.suggestion-action-btn.delete:hover:not(:disabled){background:#fef2f2;border-color:#ef4444;box-shadow:0 8px 16px #ef444429}.suggest-submit-btn{min-width:128px}.save-summary-dropdown{margin-top:6px;border:1px solid #dbeafe;background:#fff;border-radius:8px;padding:8px;display:flex;flex-direction:column;gap:6px}.save-summary-change{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:13px;color:#0f172a}.save-summary-name{font-weight:700}.save-summary-kind{color:#334155}.save-summary-arrow{color:#0f172a}.save-summary-empty{color:#334155}.save-confirm-modal{max-height:min(80vh,720px);overflow:auto}.save-confirm-modal .save-summary-list{max-height:42vh;overflow:auto;padding-right:4px}.save-version-label{font-weight:700;color:#0f172a}.save-version-input{width:100%;padding:8px 10px;border:1px solid #d7dce5;border-radius:8px;background:#f8fafc}.save-version-help{font-size:12px;color:#64748b}.modal button.primary{background:#2563eb;color:#fff;border-color:#2563eb}.modal button.primary:hover{background:#1d4ed8;border-color:#1d4ed8}.modal-backdrop{position:fixed;inset:0;background:#00000059;display:flex;align-items:center;justify-content:center;z-index:10}.modal{background:#fff;padding:12px;border-radius:12px;box-shadow:0 10px 30px #0f172a40;width:min(420px,90vw);display:flex;flex-direction:column;gap:12px}.modal-footer{display:flex;justify-content:flex-end;gap:10px}.modal button{background:#f8fafc;color:#0f172a;border:1px solid #e2e8f0;border-radius:8px;padding:8px 14px;cursor:pointer}.modal button:hover{background:#e0f2fe;border-color:#bfdbfe}.calendar-nav{display:flex;align-items:center;gap:10px;justify-content:left;margin-bottom:12px}.holiday-modal{background:#fff;color:#0f172a;padding:20px;border-radius:16px;width:min(520px,95vw);box-shadow:0 14px 32px #0f172a2e;display:flex;flex-direction:column;gap:12px}.holiday-modal-header,.modal-header,.holiday-picker-row,.holiday-actions{display:flex;justify-content:space-between;align-items:center;font-size:16px}.holiday-nav{display:flex;align-items:center;gap:10px}.holiday-nav button{background:#f8fafc;color:#0f172a;border:1px solid #e2e8f0;border-radius:8px;padding:6px 10px;cursor:pointer}.holiday-grid{display:grid;grid-template-columns:repeat(7,44px);gap:8px;justify-content:center}.holiday-weekday{text-align:center;font-size:12px;color:#9ca3af}.holiday-weekdays{display:grid;grid-template-columns:repeat(7,44px);gap:8px;justify-content:center;margin:8px 0 4px}.holiday-day{background:#f8fafc;color:#0f172a;border:1px solid #e2e8f0;border-radius:14px;padding:0;height:44px;width:44px;cursor:pointer;font-size:14px;display:inline-flex;align-items:center;justify-content:center;transition:background .15s ease,border-color .15s ease}.holiday-day.selected{background:#2563eb;border-color:#2563eb;color:#fff}.holiday-day:hover{background:#e0f2fe;border-color:#bfdbfe}.holiday-modal-actions{display:flex;justify-content:flex-end;gap:10px}.holiday-modal-actions button{background:#f8fafc;color:#0f172a;border:1px solid #e2e8f0;border-radius:8px;padding:8px 14px;cursor:pointer}.holiday-modal-actions button:last-child{background:#2563eb;border-color:#2563eb;color:#fff}.calendar-grid-compact{display:grid;grid-template-columns:repeat(7,44px);gap:4px;justify-content:center;margin:12px 0}.calendar-cell-btn{height:44px;width:44px;border-radius:14px;border:1px solid #d7dce5;background:#f8fafc;font-weight:700;color:#0f172a;cursor:pointer;transition:background .2s ease,border-color .2s ease,transform .1s ease}.calendar-cell-btn:hover{background:#e0f2fe;border-color:#bfdbfe}.calendar-cell-btn.muted{opacity:.35;cursor:default}.calendar-cell-btn.selected{background:#2563eb;color:#fff;border-color:#1d4ed8}.holiday-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;margin-top:12px}.holiday-chip{background:#f8fafc;color:#0f172a;padding:10px 12px;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #e2e8f0;box-shadow:0 2px 6px #0f172a0d}.holiday-chip button{border:1px solid #e2e8f0;background:#fff;cursor:pointer;color:#0f172a;font-weight:700;font-size:14px;border-radius:8px;width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 1px 3px #0f172a14}.modal-body input{width:100%;padding:10px;border:1px solid #e5e7eb;border-radius:8px}.modal-footer .danger{background:#dc2626;color:#fff;border:1px solid #b91c1c}main{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:14px;box-shadow:0 12px 24px #0f172a0d}@keyframes tab-slide-next{0%{opacity:.6;transform:translate(18px)}to{opacity:1;transform:translate(0)}}@keyframes tab-slide-prev{0%{opacity:.6;transform:translate(-18px)}to{opacity:1;transform:translate(0)}}@media(max-width:768px){main.tab-next{animation:tab-slide-next .24s ease}main.tab-prev{animation:tab-slide-prev .24s ease}}@media(max-width:768px){html,body{height:100%;overflow:hidden;background-color:#0f172a}.app-shell{display:flex;flex-direction:column;height:100dvh;overflow:hidden;padding:4px;padding-bottom:calc(env(safe-area-inset-bottom) + 72px)}main{flex:1;min-height:0;overflow-y:auto;padding:4px}.topbar{display:flex;position:relative}.topbar-mode{display:none}.topbar .right{position:absolute;right:0;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:4px}.tabs.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:100;display:flex;flex-direction:row;gap:0;padding:0;padding-bottom:env(safe-area-inset-bottom);background:#fff;border:0px;border-top:1px solid #e5e7eb;border-radius:0;margin-bottom:0;width:100%;box-sizing:border-box;box-shadow:0 -2px 12px #0f172a14}.tabs.bottom-nav button{flex:1;padding:10px 4px 8px;border:0;background:transparent;color:#94a3b8;border-radius:0;font-size:10px;font-weight:600;cursor:pointer;text-align:center;min-height:56px;display:flex;align-items:center;justify-content:center;position:relative}.tabs.bottom-nav button.active{background:transparent;color:#2563eb;box-shadow:none}.tabs.bottom-nav button.active .tab-icon{opacity:1}.tabs.bottom-nav button:active{background:#2563eb12}}.list-view details{margin-bottom:10px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:8px 10px}.summary-title{display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:700}.shift-card{display:flex;flex-direction:column;gap:8px;margin-top:8px}.worker-row{display:flex;align-items:center;justify-content:space-between;background:#f8fafc;border-radius:10px;padding:8px 10px;border:1px solid #e5e7eb}.worker-name{display:flex;align-items:center;gap:8px}.worker-controls{display:flex;align-items:center;gap:10px}select{background:#fff;color:#0f172a;border:1px solid #cbd5e1;border-radius:8px;padding:6px 8px}.badge{padding:4px 8px;border-radius:999px;font-size:12px;text-transform:uppercase;letter-spacing:.5px;border:1px solid #e2e8f0;white-space:nowrap}.role-stayer{background:#fee2e2;color:#b91c1c}.role-goer,.role-goer1{background:#dcfce7;color:#166534}.role-goer2{background:#e8f5d5;color:#3b7c38}.pill{padding:4px 10px;border-radius:999px;font-weight:700;text-transform:uppercase;font-size:12px;letter-spacing:.4px;white-space:nowrap}.pill-stayer{background:#ef4444;color:#fff}.pill-goer{background:#16a34a;color:#fff}.pill-twr{background:#1d4ed8;color:#fff}.pill-app{background:#16a34a;color:#fff}.pill-twr.role-stayer,.role-stayer{border-color:#ef4444}.pill-twr.role-goer,.role-goer{border-color:#22c55e}.pill-twr.role-goer2,.role-goer2{border-color:#14b8a6}.dot{width:10px;height:10px;border-radius:50%;background:#cbd5e1;display:inline-block}.dot-manual{background:#f59e0b}.dot-past{background:#ef4444}.calendar-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}.calendar-cell{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:10px;box-shadow:0 6px 16px #0f172a0d}.calendar-scroll{overflow-x:auto;padding-bottom:8px;cursor:grab}.calendar-scroll.dragging{cursor:grabbing;-webkit-user-select:none;user-select:none}.calendar-cell.holiday{background:#fee2e2;border-color:#fecdd3}.calendar-date{font-weight:700;margin-bottom:6px;display:flex;flex-direction:column;gap:2px}.calendar-date-number{font-size:14px}.calendar-date-dow{font-size:12px;color:#475569}.cell-shift{background:#f8fafc;border-radius:8px;padding:6px;margin-bottom:6px;border:1px solid #e5e7eb}.cell-shift-header{font-size:12px;text-transform:uppercase;letter-spacing:.4px;opacity:.8;margin-bottom:8px}.cell-role{display:flex;align-items:center;gap:8px;padding:6px;margin:4px;border-radius:6px}.cell-role.role-stayer{background:#fee2e2}.cell-role.role-goer{background:#d1fae5}.cell-role.role-goer2{background:#e8f5d5}.calendar-month-wrapper{padding:12px}.calendar-month-header{display:flex;flex-direction:column;gap:6px;margin-bottom:6px}.calendar-month-header h2{margin:0;font-size:22px;font-weight:800}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;font-weight:700;color:#374151;font-size:12px;padding:0 4px}.calendar-weekday{text-align:center}.calendar-month-grid{display:flex;flex-direction:column;gap:8px}.calendar-week{display:grid;grid-template-columns:repeat(7,minmax(160px,1fr));gap:4px}.calendar-day-cell{border:1px solid #e5e7eb;border-radius:8px;min-height:140px;padding:6px;background:#fff;display:flex;flex-direction:column;gap:6px}.calendar-day-cell.muted{background:#f9fafb;color:#9ca3af}.calendar-day-cell-header{display:flex;justify-content:space-between;align-items:baseline;font-weight:700;color:#111827;font-size:12px}.calendar-day-cell-header .day-number{font-size:14px}.calendar-day-cell-header .day-number.today{background:#ef4444;color:#fff;border-radius:999px;padding:4px 7px;min-width:26px;text-align:center;display:inline-flex;align-items:center;justify-content:center}.calendar-day-cell-header .day-dow{color:#6b7280}.calendar-events{display:flex;flex-direction:column;gap:4px}.cal-shift-pill{border-radius:8px;padding:4px 6px;background:#f8fafc;border:1px solid #e5e7eb;display:flex;flex-direction:column;gap:3px}.cal-shift-title{font-weight:700;font-size:12px;color:#0f172a}.cal-shift-title.cal-app{color:#15803d}.cal-shift-title.cal-twr{color:#1d4ed8}.cal-worker{border-radius:6px;padding:4px 6px;display:flex;align-items:center;gap:6px;color:#0f172a;background:#fff;border:1px solid #e5e7eb}.cal-worker select{flex:1;font-size:12px}.cal-worker-name{font-weight:400;background:transparent;border:none;padding:0;text-align:left;cursor:pointer;color:#0f172a}.cal-worker-name:hover{text-decoration:underline}.cal-select-wrap{flex:1}.pill .pill-text{display:inline-flex;width:100%;height:100%;align-items:center;justify-content:center}.calendar-mobile-wrapper{display:flex;flex-direction:column;gap:10px;height:calc(100dvh - (var(--topbar-h) + var(--topbar-gap) + 72px));overflow:hidden}.calendar-mobile-wrapper.month-next .calendar-mobile-grid,.calendar-mobile-wrapper.month-next .calendar-mobile-bottom{animation:cal-month-next .24s ease}.calendar-mobile-wrapper.month-prev .calendar-mobile-grid,.calendar-mobile-wrapper.month-prev .calendar-mobile-bottom{animation:cal-month-prev .24s ease}.calendar-mobile-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;flex:0 0 auto;margin:1% 4px 0}.calendar-mobile-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;font-size:11px;color:#8b98ad;text-align:center;margin-bottom:6px;margin-top:6px}.cal-mobile-weekday{font-weight:700}.cal-mobile-day{background:#fff;border:none;border-radius:10px;padding:10px 4px;display:flex;flex-direction:column;align-items:center;gap:4px;box-shadow:0 1px 3px #00000014;cursor:pointer}.cal-mobile-day.muted{color:#cbd5e1;opacity:.7}.cal-mobile-day.active{outline:2px solid #2563eb}.cal-mobile-day.today .cal-mobile-num{background:#ef4444;color:#fff;border-radius:999px;padding:4px 8px;min-width:28px;text-align:center;display:inline-flex;align-items:center;justify-content:center}.cal-mobile-num{font-weight:700}.cal-mobile-bars{display:flex;gap:3px}.cal-mobile-bars .bar{width:16px;height:4px;border-radius:4px}.cal-mobile-bars .bar.fav-stayer{background:#ef4444}.cal-mobile-bars .bar.fav-goer2{background:#86efac}.cal-mobile-bars .bar.fav-goer{background:#22c55e}.calendar-mobile-bottom{background:#fff;border-radius:12px 12px 0 0;padding:10px;box-shadow:0 -2px 10px #00000014;flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.calendar-mobile-bottom .bottom-header{font-weight:800;margin-bottom:8px}@keyframes cal-month-next{0%{opacity:.65;transform:translate(12px)}to{opacity:1;transform:translate(0)}}@keyframes cal-month-prev{0%{opacity:.65;transform:translate(-12px)}to{opacity:1;transform:translate(0)}}@keyframes cal-bottom-slide-up{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.calendar-mobile-bottom.bottom-up>div{animation:cal-bottom-slide-up .24s ease both;animation-fill-mode:backwards}.calendar-mobile-bottom.bottom-up>div:nth-child(1){animation-delay:0ms}.calendar-mobile-bottom.bottom-up>div:nth-child(2){animation-delay:50ms}.calendar-mobile-bottom.bottom-up>div:nth-child(3){animation-delay:.1s}.calendar-mobile-bottom.bottom-up>div:nth-child(4){animation-delay:.15s}.calendar-mobile-bottom.bottom-up>div:nth-child(5){animation-delay:.2s}.calendar-mobile-bottom.bottom-up>div:nth-child(6){animation-delay:.25s}.calendar-mobile-bottom.bottom-up>div:nth-child(7){animation-delay:.3s}.calendar-mobile-bottom.bottom-up>div:nth-child(8){animation-delay:.35s}.bottom-shift{display:flex;gap:8px;padding:8px 0;border-bottom:1px solid #e5e7eb}.bottom-shift:last-of-type{border-bottom:none}.bottom-shift-body{flex:1;display:flex;flex-direction:column;gap:6px}.bottom-worker{display:flex;align-items:center;gap:8px;justify-content:space-between}.bottom-worker-right{display:flex;align-items:center;gap:8px}.calendar-mobile-bottom .bottom-worker .badge{display:inline-flex;align-items:center;justify-content:center;width:52px;height:30px;box-sizing:border-box;padding:0 8px;text-align:center;overflow:hidden;text-overflow:ellipsis}.calendar-mobile-version{margin-top:auto;padding-top:10px;border-top:1px dashed #d7dce5;text-align:center;font-size:11px;font-weight:500;color:#64748b}.bottom-name{font-weight:600}.bottom-fav-toggle{border:1px solid #d7dce5;background:#fff;color:#1e293b;border-radius:999px;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-size:16px;line-height:1;padding:0}.bottom-fav-toggle.fav-on{color:#f59e0b;border-color:#f59e0b;background:#fffbeb}.pill-text{display:inline-block;width:100%;text-align:center}.stats-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}.stats-search{margin-bottom:10px;position:relative}.stats-search input{width:100%;padding:8px 10px;border:1px solid #e2e8f0;border-radius:8px}.stats-suggestions{position:absolute;top:110%;left:0;right:0;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 6px 16px #0f172a14;z-index:4;display:flex;flex-direction:column}.suggestion-wrap{position:relative;width:100%}.stats-suggestions button{padding:6px 10px;text-align:left;background:transparent;border:none;cursor:pointer}.stats-suggestions button:hover{background:#f1f5f9}.stat-card{background:#fff;border:1px solid #e5e7eb;padding:10px;border-radius:12px;box-shadow:0 8px 18px #0f172a0d;cursor:pointer;position:relative}.fav-toggle{position:absolute;top:8px;right:8px;border:none;background:transparent;font-size:18px;padding:0;cursor:pointer;margin:2px}.fav-toggle.fav-on{color:#f59e0b}.stat-name{font-weight:800;margin-bottom:8px;padding-right:16px}.stat-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.stat-expansion{margin-top:8px;border-top:1px dashed #e5e7eb;padding-top:8px;display:flex;flex-direction:column;gap:10px}.stat-expansion-item{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:10px;box-shadow:inset 0 1px #f1f5f9}.stat-shift-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.stat-shift-row{display:flex;align-items:center;justify-content:space-between;background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:8px 10px;margin-top:6px}.stat-shift-name{display:flex;align-items:center;gap:8px;font-weight:600;color:#0f172a;font-size:15px;line-height:1.2}.stat-shift-controls{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.people-table-container{max-width:100%;overflow-x:auto;overflow-y:visible;cursor:grab}.people-table-container.dragging{cursor:grabbing;-webkit-user-select:none;user-select:none}.people-table-container.dragging .people-table th,.people-table-container.dragging .people-table td{pointer-events:none}.people-table{border-collapse:separate;border-spacing:0}.people-table th{padding:6px 8px;border:1px solid #e5e7eb;text-align:center;min-width:70px;vertical-align:top;height:55px}.people-table td{padding:6px 10px 6px 8px;border:1px solid #e5e7eb;text-align:left;min-width:70px;vertical-align:top;height:70px}.people-table th.continuous-month-separator,.people-table td.continuous-month-separator{border-left:4px solid #94a3b8!important}.people-table th{background:#f8fafc;z-index:2}:root{--topbar-h: 0px;--topbar-gap: 12px}.people-table thead th{position:sticky;top:calc(var(--topbar-h) + var(--topbar-gap));z-index:6;background:#f8fafc}.people-table thead th:first-child{left:0;z-index:8}.people-table .sticky-name{z-index:5;background:#f8fafc;min-width:100px;align-content:center}.people-table th.weekend{background:#dee2e5}.people-table th.holiday{background:#fee2e2;color:#b91c1c}.people-table td.weekend{background:#f8fafc}.people-table td.holiday{background:#ffe4e6}.date-header{display:flex;flex-direction:column;align-items:center;line-height:1.2}.date-header small{color:#64748b;font-size:11px}.calendar-date.holiday{color:#b91c1c}.extra-shift-codes{display:flex;flex-wrap:wrap;gap:4px;max-width:140px;justify-content:center}.extra-code-pill{background:#eef2ff;color:#4338ca;border-radius:8px;padding:2px 6px;font-size:10px;border:1px solid #c7d2fe;white-space:nowrap}.cell-actions{display:flex;flex-direction:column;gap:6px;margin-top:6px}.cell-action-btn{background:#e0f2fe;border:1px solid #bfdbfe;border-radius:6px;padding:4px 6px;font-size:11px;cursor:pointer;transition:background .15s ease,border-color .15s ease}.cell-action-btn:hover{background:#dbeafe}.cell-action-btn.danger{background:#fee2e2;border-color:#fecdd3;color:#b91c1c}.extra-quick{display:flex;flex-wrap:wrap;gap:4px}.sticky-name{position:sticky;left:0;background:#f8fafc;text-align:left;font-weight:600;z-index:2}.people-role-card{position:relative;display:flex;flex-direction:column;gap:4px;padding:4px;border-radius:8px;background:#f8fafc;border:2px solid #e5e7eb;min-width:55px;max-width:75px}.people-role-card.twr{border-color:#1d4ed8}.people-role-card.app{border-color:#16a34a}.cell-manual-highlight{border:2px solid #facc15!important}.cell-h22{border:2px solid #ef4444!important}.people-role-dot{position:absolute;top:4px;right:4px;width:6px;height:6px;border-radius:50%;background:#f59e0b}.people-role-dot.dot-past{background:#ef4444}.people-role-badge{align-self:flex-start}@media(max-width:768px){.people-table thead{top:68px}.people-table th,.people-table td{padding:5px 4px;min-width:50px;height:56px}.people-table .sticky-name{font-size:13px;font-weight:600;padding-right:12px;min-width:40px}.people-table td{font-size:12px}.date-header small{font-size:10px}.fav-toggle{position:absolute;top:1px;right:1px;border:none;background:transparent;font-size:12px;padding:0;cursor:pointer}}.settings-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}.tabs{display:flex;gap:0;padding:4px;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:999px;margin-bottom:12px;position:relative;width:100%}.tabs button{flex:1;padding:10px 14px;border:0;background:transparent;color:#475569;border-radius:999px;font-weight:600;cursor:pointer;text-align:center;transition:background .12s ease,color .12s ease}.tabs button:hover{background:#0f172a0f}.tabs button.active{background:#2563eb;color:#fff;box-shadow:0 1px 2px #0000001a}.tab-with-menu{position:relative}.settings-dropdown{position:absolute;top:calc(100% + 6px);right:0;left:auto;background:#fff;border:1px solid #d7dce5;border-radius:12px;box-shadow:0 12px 28px #0f172a29;padding:6px;min-width:220px;z-index:30;display:flex;flex-direction:column;gap:6px}.settings-dropdown button{border:none;background:#f8fafc;padding:10px 12px;border-radius:10px;text-align:left;font-weight:600;color:#0f172a;cursor:pointer;transition:background .12s ease,transform .12s ease}.settings-dropdown button:hover{background:#e2e8f0;transform:translateY(-1px)}.tabs button:focus-visible{outline:none;box-shadow:0 0 0 3px #2563eb40}.tab-icon-wrap{display:flex;flex-direction:column;align-items:center;gap:3px;width:100%}.tab-icon{width:22px;height:22px;object-fit:contain;display:block;opacity:.45;transition:opacity .12s ease}.tab-label{font-size:10px;font-weight:600;line-height:1;letter-spacing:.01em}.setting-row{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e5e7eb;padding:10px;border-radius:10px}.setting-value{font-weight:700}.sliders-row{flex-direction:column;align-items:flex-start;gap:14px}.slider-card{display:flex;align-items:center;gap:10px;width:100%}.slider-card input[type=range]{flex:1}.settings-layout{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:12px}@media(max-width:768px){.settings-layout{grid-template-columns:1fr}.settings-card{max-height:none;overflow:visible}.settings-card-versions{min-height:unset;max-height:none}.settings-card-versions .version-list:not(.version-list-starred){max-height:260px}}.settings-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:14px;box-shadow:0 12px 24px #0f172a0d;display:flex;flex-direction:column;gap:12px;max-height:480px;overflow-y:auto}.settings-card-versions{min-height:560px;min-width:560px;max-height:720px}.settings-card-versions .version-list:not(.version-list-starred){max-height:560px}.settings-card-title{font-weight:800;font-size:16px;margin:0}.settings-card-subtitle{color:#64748b;font-size:12px;margin-top:-6px}.freeze-header{display:flex;align-items:center;justify-content:space-between;margin:8px 0}.freeze-year{font-weight:800;font-size:16px}.freeze-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px}.freeze-cell{padding:10px 0;border-radius:12px;border:1px solid #d7dce5;background:#f8fafc;font-weight:700;cursor:pointer;transition:all .15s ease}.freeze-cell:hover{background:#e5f0ff}.freeze-active{background:#2563eb;color:#fff;border-color:#2563eb;box-shadow:0 0 0 1px #1d4ed8 inset,0 8px 16px #2563eb40;font-weight:800;outline:3px solid #6497ff;outline-offset:0}.stayer-runs{display:flex;flex-direction:column;gap:8px}.stayer-run-card{padding:12px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;box-shadow:0 1px 2px #0000000a}.stayer-run-name{font-weight:700;font-size:15px;margin-bottom:4px}.stayer-run-dates{color:#475569;font-size:14px}.empty-state{padding:12px;color:#475569}.info-tooltip{position:relative;display:inline-flex;justify-content:center;align-items:center;width:22px;height:22px;border-radius:50%;border:1px solid #94a3b8;color:#475569;font-weight:700;font-size:13px;cursor:default}.info-tooltip .tooltip-content{position:absolute;top:28px;left:0;min-width:260px;background:#0f172a;color:#f8fafc;border-radius:10px;padding:10px;box-shadow:0 8px 16px #0000002e;opacity:0;pointer-events:none;transition:opacity .15s ease;z-index:5}.info-tooltip:hover .tooltip-content{opacity:1;pointer-events:auto}.info-tooltip .tooltip-content strong{color:#e0f2fe}.settings-sliders{display:flex;flex-direction:column;gap:10px}.settings-rolelabels{display:flex;flex-direction:column;gap:10px;margin:10px 0}.setting-row.compact{padding:10px}.settings-card button{background:#f8fafc;border:1px solid #d7dce5;border-radius:10px;padding:8px 12px;cursor:pointer;transition:background .2s ease,transform .1s ease,box-shadow .2s ease;font-weight:600;color:#0f172a}.settings-card button:hover{background:#e8f0ff;transform:translateY(-1px);box-shadow:0 6px 12px #2563eb1f}.upload-feedback{border:1px solid #d7dce5;border-radius:10px;padding:10px 12px;background:#f8fafc}.upload-feedback.success{border-color:#86efac;background:#f0fdf4;color:#166534}.upload-feedback.warning{border-color:#fcd34d;background:#fffbeb;color:#92400e}.upload-feedback.error{border-color:#fca5a5;background:#fef2f2;color:#991b1b}.upload-feedback-title{font-weight:700;margin-bottom:6px}.upload-feedback-list{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:4px}.version-list{display:flex;flex-direction:column;gap:8px;max-height:260px;overflow-y:auto}.version-list-starred{max-height:none;overflow:visible}.version-section-title{font-size:12px;font-weight:800;color:#475569;text-transform:uppercase;letter-spacing:.4px;margin-top:2px}.version-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #e5e7eb;border-radius:10px;padding:8px 10px;background:#f8fafc}.version-meta{min-width:0}.version-name{font-weight:700;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}.version-actions{display:flex;align-items:center;gap:8px}.algo-toggle{display:grid;grid-template-columns:1fr 1fr;background:#e2e8f0;border-radius:24px;padding:4px;gap:4px;width:200px}.algo-toggle button{border:none;background:transparent;border-radius:20px;font-weight:700;color:#475569;transition:background .2s ease,color .2s ease}.algo-toggle button.active{background:#2563eb;color:#fff}.uploads-list{max-height:220px;overflow:auto;width:100%;font-size:12px;border-top:1px dashed #e5e7eb;padding-top:10px}@media(min-width:960px){.list-view{column-count:2;column-gap:12px}.list-view details{break-inside:avoid}}.people-table-container{max-width:100%;overflow:auto;position:relative;max-height:calc(100vh - (var(--topbar-h) + var(--topbar-gap) + 72px))}.people-table thead th{position:sticky;top:0;z-index:6;background:#f8fafc}.people-table thead th:first-child{left:0;z-index:8;background:#e0f2fe}.people-table .sticky-name{position:sticky;left:0;z-index:5;background:#f8fafc}.student-row{display:flex;justify-content:space-between;align-items:center;font-size:16px;margin-bottom:8px}.site-gate-title-one{font-weight:800;font-size:24px;margin-bottom:12px;text-align:left;align-items:left}.site-gate-title-two{font-weight:500;font-size:24px;margin-bottom:12px;text-align:left;align-items:left}.fav-overlay-title-one{font-weight:800;font-size:24px;margin-bottom:12px;text-align:left;align-items:left}.fav-overlay-title-two{font-weight:450;font-size:24px;margin-bottom:12px;text-align:left;align-items:left}.fav-overlay-title-helper{font-weight:300;font-size:12px;margin-bottom:12px;text-align:left;align-items:left}.dark-mode-btn{background:transparent;border:1px solid #e2e8f0;border-radius:8px;padding:6px 8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s ease;margin:0 3px}.dark-mode-btn:hover{background:#f3f4f6}.dark-mode-icon{width:32px;height:32px;object-fit:contain;display:block;cursor:pointer;margin:0 3px}.app-shell.dark{background:#0f172a;color:#e2e8f0}.app-shell.dark main{background:#1e293b;border-color:#334155;color:#e2e8f0}.app-shell.dark .topbar{background:#1e293b;border-color:#334155;box-shadow:0 6px 18px #0000004d}.app-shell.dark .topbar button{background:#1e293b;color:#e2e8f0;border-color:#334155}.app-shell.dark .topbar button:hover{background:#273549}.app-shell.dark .topbar .primary{background:#2563eb;border-color:#2563eb;color:#fff}.app-shell.dark .topbar .primary:hover{background:#1d4ed8}.app-shell.dark .topbar .ghost{background:#1e293b;border-color:#334155;color:#94a3b8}.app-shell.dark .dark-mode-btn{background:transparent;border-color:#334155}.app-shell.dark .dark-mode-btn:hover{background:#273549}.app-shell.dark .month-label{background:#162032;border-color:#334155;color:#e2e8f0}.app-shell.dark .month-label .month-strong,.app-shell.dark .month-label .month-light{color:#e2e8f0}.app-shell.dark .mode-pill{background:#273549;color:#e2e8f0}.app-shell.dark .auth-popover{background:#1e293b;border-color:#334155;box-shadow:0 10px 30px #0006}.app-shell.dark .auth-form input{background:#162032;border-color:#334155;color:#e2e8f0}.app-shell.dark .month-picker{background:#1e293b;border-color:#334155;box-shadow:0 12px 30px #0006}.app-shell.dark .month-picker-header button,.app-shell.dark .month-picker-cell{background:#162032;border-color:#334155;color:#e2e8f0}.app-shell.dark .month-picker-cell:hover{background:#1d3a5f}.app-shell.dark .tabs{background:#162032;border:0px}.app-shell.dark .tabs button{color:#94a3b8}.app-shell.dark .tabs button:hover{background:#ffffff0f}.app-shell.dark .tabs button.active{background:#2563eb;color:#fff}.app-shell.dark .settings-dropdown{background:#1e293b;border-color:#334155;box-shadow:0 12px 28px #0006}.app-shell.dark .settings-dropdown button{background:#162032;color:#e2e8f0}.app-shell.dark .settings-dropdown button:hover{background:#273549}.app-shell.dark .tabs.bottom-nav{background:#1e293b;border-top-color:#334155}.app-shell.dark .tabs.bottom-nav button{color:#8195b3}.app-shell.dark .tabs.bottom-nav button:hover:not(.active){background:#243347;border-radius:12px;margin:6px 4px;min-height:auto}@keyframes tab-active-pop{0%{transform:scale(.88);opacity:.6}65%{transform:scale(1.04);opacity:1}to{transform:scale(1);opacity:1}}.app-shell.dark .tabs.bottom-nav button.active{color:#eff6ff;background:#2d3f55;border-radius:12px;margin:6px 4px;min-height:auto;animation:tab-active-pop .22s ease forwards}.app-shell.dark .tabs.bottom-nav button.active .tab-icon{opacity:1}.app-shell.dark .modal{background:#1e293b;border-color:#334155;color:#e2e8f0}.app-shell.dark .modal h3{color:#e2e8f0}.app-shell.dark .modal button{background:#273549;border-color:#334155;color:#e2e8f0}.app-shell.dark .modal .primary{background:#2563eb;border-color:#2563eb;color:#fff}.app-shell.dark .settings-card{background:#1e293b;border-color:#334155}.app-shell.dark .settings-card-title,.app-shell.dark .settings-card-subtitle{color:#e2e8f0}.app-shell.dark .setting-row,.app-shell.dark select,.app-shell.dark input[type=text],.app-shell.dark input[type=number],.app-shell.dark input[type=password]{background:#162032;border-color:#334155;color:#e2e8f0}.app-shell.dark .cal-mobile-day{background:#1e293b;box-shadow:0 1px 3px #0000004d;color:#e2e8f0}.app-shell.dark .cal-mobile-day.muted{color:#475569}.app-shell.dark .calendar-mobile-bottom{background:#1e293b;box-shadow:0 -2px 10px #0000004d}.app-shell.dark .calendar-mobile-version{border-top-color:#334155;color:#94a3b8}.app-shell.dark .bottom-fav-toggle{color:#2f6bff;border:1px solid #2F6BFF;background:#1e2b44}.app-shell.dark .suggestions-card,.app-shell.dark .fav-overlay-card,.app-shell.dark .site-gate-card,.app-shell.dark .save-summary-banner{background:#1e293b;border-color:#334155;color:#e2e8f0}.app-shell.dark .save-summary-date-btn,.app-shell.dark .save-summary-change{color:#e2e8f0}.app-shell.dark .banner{background:#1d3a5f;border-color:#334155;color:#93c5fd}.app-shell.dark .people-table th,.app-shell.dark .people-table td{border-color:#334155}.app-shell.dark .people-table thead th,.app-shell.dark .people-table .sticky-name{background:#0e182a}.app-shell.dark .people-table th.weekend{background:#233147;color:#cbd5e1}.app-shell.dark .people-table td.weekend{background:#141f30}.app-shell.dark .people-role-card{background:#162032;border-color:#334155}.app-shell.dark .people-role-card.twr{border-color:#1d4ed8}.app-shell.dark .people-role-card.app{border-color:#16a34a}.app-shell.dark .list-view details{background:#1e293b;border-color:#334155}.app-shell.dark .shift-card{background:#162032;border-color:#334155;color:#e2e8f0}.app-shell.dark .stats-section{background:#1e293b;border-color:#334155}.app-shell.dark .stat-card,.app-shell.dark .calendar-day-cell.muted{background:#162032;border-color:#334155}.app-shell.dark .cal-shift-pill{background:#1e293b;border-color:#334155}.app-shell.dark .day-number{color:#e2e8f0}.app-shell.dark .suggestion-item{background:#162032;border-color:#334155}.app-shell.dark .suggestion-item.admin{background:#1e293b;border-color:#334155}.app-shell.dark .suggestions-card textarea{background:#1e293b;border-color:#334155;color:#e2e8f0}.app-shell.dark .suggestion-message{background:#162032;border-color:#334155;border-left-color:#3b82f6;color:#e2e8f0}.app-shell.dark .worker-row{background:#162032;border-color:#334155}.app-shell.dark .stayer-run-card{background:#1e293b;border-color:#334155}.app-shell.dark .settings-card button{background:#162032;border-color:#334155;color:#e2e8f0}.app-shell.dark .settings-card button:hover{background:#1d3a5f}.app-shell.dark .version-row{background:#162032;border-color:#334155}.app-shell.dark .version-name,.app-shell.dark .version-section-title{color:#94a3b8}.app-shell.dark .cell-action-btn{background:#1d3a5f;border-color:#334155;color:#93c5fd}.app-shell.dark .cell-action-btn:hover{background:#1e4a7a}.app-shell.dark .cell-action-btn.danger{background:#3b1219;border-color:#7f1d1d;color:#fca5a5}.app-shell.dark .cal-shift-pill .cal-worker,.app-shell.dark .calendar-day-cell{background:#162032;border-color:#334155}.app-shell.dark .stayer-run-dates{color:#b4c2d7}.app-shell.dark .extra-code-pill{background:#394e70;border-color:#314766;color:#e2e8ef}.app-shell.dark .fav-overlay-item{background:#162032;border-color:#334155;color:#e2e8f0}.app-shell.dark .fav-overlay-actions button{background:#1d3a5f;border-color:#334155;color:#93c5fd}.app-shell.dark .fav-overlay-list{background:#1e293b;border-color:#334155}.app-shell.dark button:not(.primary):not(.auth-form-btn):not(.suggestion-action-btn):not(.dark-mode-btn):not(.tabs button):not(.bottom-fav-toggle){color:#e2e8f0}.app-shell.dark .info-tooltip .tooltip-content{background:#e2e8f0;color:#0f172a}
