*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#f4f5f7;color:#1f2430}.page-center{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:16px}.page{min-height:100vh}.topbar{display:flex;justify-content:space-between;align-items:center;background:#1f2430;color:#fff;padding:14px 24px}.badge{background:#3b4252;padding:2px 10px;border-radius:12px;font-size:12px;margin-left:8px}.badge-admin{background:#2f6f4f}.badge-warning{background:#fef3c7;color:#92400e}.link-button{background:none;border:none;color:#fff;cursor:pointer;text-decoration:underline;font-size:14px}.content{max-width:760px;margin:32px auto;padding:0 16px}.card{background:#fff;border-radius:10px;padding:24px;box-shadow:0 1px 3px #00000014;margin-bottom:20px;display:flex;flex-direction:column;gap:8px;min-width:320px}.card.placeholder{color:#6b7280}.card.success{border:1px solid #2f6f4f}h1{margin:0 0 4px;font-size:22px}.subtitle{margin:0 0 12px;color:#6b7280}label{font-size:13px;font-weight:600;margin-top:8px}input{padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px}button{margin-top:16px;padding:10px 16px;border:none;border-radius:6px;background:#2f6f4f;color:#fff;font-size:15px;cursor:pointer}button:disabled{opacity:.6;cursor:default}.error{color:#b91c1c;font-size:13px;margin-top:8px}.hint{font-size:12px;color:#6b7280;margin-top:12px}.section-header{display:flex;justify-content:space-between;align-items:center}.button-link{background:#2f6f4f;color:#fff;padding:8px 14px;border-radius:6px;text-decoration:none;font-size:14px}.table{width:100%;border-collapse:collapse;margin-top:12px;font-size:14px}.table th,.table td{text-align:left;padding:8px 10px;border-bottom:1px solid #e5e7eb}.code{font-family:SF Mono,Consolas,monospace;font-size:20px;background:#f4f5f7;padding:8px 12px;border-radius:6px;display:inline-block}.content-wide{max-width:1100px}.calendar-toolbar{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between;margin-bottom:12px}.calendar-nav{display:flex;align-items:center;gap:6px}.calendar-nav button{margin:0;background:#e5e7eb;color:#1f2430;padding:6px 12px;font-size:13px}.calendar-range-label{margin-left:8px;font-weight:600;font-size:14px}.calendar-admin-controls{display:flex;align-items:center;gap:10px}.calendar-admin-controls select{padding:8px 10px;border:1px solid #d1d5db;border-radius:6px}.calendar-admin-controls button{margin:0;padding:8px 14px}.segmented{display:flex;border:1px solid #d1d5db;border-radius:6px;overflow:hidden;width:fit-content}.segmented button{margin:0;background:#fff;color:#1f2430;border-radius:0;padding:6px 14px;font-size:13px;border-right:1px solid #d1d5db}.segmented button:last-child{border-right:none}.segmented button.active{background:#2f6f4f;color:#fff}.calendar-legend{display:flex;gap:18px;font-size:13px;color:#6b7280;margin-bottom:10px}.legend-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px}.legend-fixed{background:#3b82f6}.legend-mobile{background:#f59e0b}.calendar-loading{padding:24px;color:#6b7280}.calendar-grid{display:grid;overflow-x:auto}.calendar-corner{position:sticky;top:0;background:#fff}.calendar-header-cell{font-weight:600;font-size:13px;text-align:center;padding:8px 4px;border-bottom:1px solid #e5e7eb;position:sticky;top:0;background:#fff}.calendar-time-col{position:relative}.calendar-hour-label{position:absolute;right:8px;transform:translateY(-50%);font-size:11px;color:#6b7280}.calendar-day-col{position:relative;border-left:1px solid #e5e7eb}.calendar-hour-line{position:absolute;left:0;right:0;border-top:1px solid #f0f1f3}.shift-block{position:absolute;border-radius:6px;padding:4px 6px;font-size:11px;color:#fff;overflow:hidden;cursor:default}.shift-fixed{background:#3b82f6}.shift-mobile{background:#f59e0b}.shift-block[role=button]{cursor:pointer}.shift-block-time{font-weight:600}.shift-block-user,.shift-block-note{opacity:.9}.calendar-staffing-row{display:contents}.calendar-staffing-corner{background:#eef0f3;border-bottom:2px solid #d1d5db;display:flex;align-items:flex-end;justify-content:center;padding-bottom:6px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#52596b}.calendar-staffing-cell{background:#eef0f3;border-bottom:2px solid #d1d5db;border-left:1px solid #e5e7eb;padding:6px;display:flex;flex-direction:column;gap:5px}.staffing-chip{background:#fff;border:1px solid #d1d5db;border-left:4px solid #9ca3af;border-radius:4px;padding:5px 8px;font-size:13px;line-height:1.35;color:#1f2430}.staffing-chip-covered{border-left-color:#2f6f4f}.staffing-chip-warning{border-left-color:#d97706}.staffing-chip-summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;cursor:pointer}.staffing-chip-time{font-weight:700;white-space:nowrap}.staffing-chip-coverage{white-space:nowrap}.staffing-chip-warning .staffing-chip-coverage{color:#92400e}.staffing-chip-generate{margin:0;padding:3px 8px;font-size:12px;background:#d97706;border-radius:3px;white-space:nowrap}.staffing-chip-expanded{margin-top:5px;padding-top:5px;border-top:1px dashed #d1d5db;font-size:12px;line-height:1.4;color:#374151}.staffing-chip-expanded ul{margin:2px 0;padding-left:16px}.staffing-chip-edit{margin:5px 0 0;padding:3px 10px;font-size:12px;background:#e5e7eb;color:#1f2430}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:50;padding:16px}.modal-card{background:#fff;border-radius:10px;padding:24px;width:100%;max-width:420px;display:flex;flex-direction:column;gap:6px;max-height:90vh;overflow-y:auto}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.modal-card-wide{max-width:560px}.contract-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px 16px}.contract-field{display:flex;flex-direction:column}@media (max-width: 520px){.contract-grid{grid-template-columns:1fr}}.availability-list{display:flex;flex-direction:column;gap:8px;margin-top:8px}.availability-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.availability-row select{min-width:120px}.availability-sep{color:#6b7280}.availability-view-row{display:flex;justify-content:space-between;gap:16px;padding:6px 0;border-bottom:1px solid #eef0f3}.optout-form{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:8px 0 12px}.optout-form label{display:flex;flex-direction:column;gap:4px;font-size:13px;color:#4b5563}.optout-form .optout-note{flex:1;min-width:160px}.optout-form .optout-note input{width:100%}.optout-list{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}.optout-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;background:#f9fafb;border-radius:6px;font-size:13px}.optout-heading{margin:16px 0 4px;font-size:15px}.settings-row{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.settings-row label{display:flex;flex-direction:column;gap:4px;font-size:13px;color:#4b5563}.settings-row input{width:140px}.topbar-actions{display:flex;align-items:center;gap:16px}.notif-root{position:relative}.notif-bell{position:relative;background:none;border:none;cursor:pointer;padding:4px;margin:0;line-height:1;font-size:20px}.notif-badge{position:absolute;top:-2px;right:-4px;background:#dc2626;color:#fff;font-size:11px;font-weight:700;min-width:16px;height:16px;padding:0 4px;border-radius:8px;display:flex;align-items:center;justify-content:center;line-height:1}.notif-panel{position:absolute;right:0;top:calc(100% + 8px);width:320px;max-height:420px;overflow-y:auto;background:#fff;color:#1f2430;border-radius:10px;box-shadow:0 8px 24px #0000002e;z-index:60}.notif-panel-header{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border-bottom:1px solid #eef0f3;position:sticky;top:0;background:#fff}.notif-markall{background:none;border:none;color:#2f6f4f;cursor:pointer;font-size:12px;text-decoration:underline;padding:0;margin:0}.notif-empty{padding:18px 14px;color:#6b7280;font-size:14px}.notif-list{list-style:none;margin:0;padding:0}.notif-item{display:flex;flex-direction:column;gap:4px;padding:10px 14px;border-bottom:1px solid #f2f4f6;cursor:pointer}.notif-item:hover{background:#f8fafc}.notif-item-unread{background:#eef6f1}.notif-item-unread .notif-message{font-weight:600}.notif-message{font-size:14px;line-height:1.35}.notif-time{font-size:12px;color:#6b7280}.shift-item-actions{display:inline-flex;gap:8px;align-items:center}.candidate-list{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}.candidate-item{border:1px solid #e5e7eb;border-radius:8px;padding:10px 12px}.candidate-head{display:flex;align-items:center;gap:10px}.candidate-rank{width:22px;height:22px;flex:none;border-radius:50%;background:#1f2430;color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}.candidate-name{font-weight:600;flex:1}.candidate-score{font-weight:700;font-size:15px;padding:2px 8px;border-radius:12px}.candidate-score.score-high{background:#dcfce7;color:#166534}.candidate-score.score-mid{background:#fef9c3;color:#854d0e}.candidate-score.score-low{background:#fee2e2;color:#991b1b}.candidate-reasons{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}.reason{font-size:12px;padding:2px 8px;border-radius:6px;background:#f3f4f6;color:#374151}.reason-positive{background:#ecfdf3;color:#166534}.reason-negative{background:#fef2f2;color:#991b1b}.reason-neutral{background:#f3f4f6;color:#4b5563}.candidate-check{flex:none;width:16px;height:16px;margin:0;cursor:pointer}.proposal-badge{font-size:11px;font-weight:600;padding:2px 8px;border-radius:10px;background:#f3f4f6;color:#4b5563}.proposal-badge-pending{background:#e0e7ff;color:#3730a3}.proposal-badge-accepted{background:#dcfce7;color:#166534}.proposal-badge-declined{background:#fee2e2;color:#991b1b}.proposal-badge-expired{background:#f3f4f6;color:#6b7280}.proposal-item{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:8px 10px;background:#f9fafb;border-radius:6px;font-size:13px}.proposal-info{display:flex;flex-direction:column;gap:6px;min-width:0}.button-secondary{background:#e5e7eb;color:#1f2430}.button-danger{background:#b91c1c;margin-right:auto}.checkbox-label{display:flex;align-items:center;gap:8px;font-weight:400}.weekday-picker{display:flex;gap:6px;flex-wrap:wrap}.weekday-picker button{margin:0;background:#e5e7eb;color:#1f2430;padding:6px 10px;font-size:12px}.weekday-picker button.active{background:#2f6f4f;color:#fff}.area-picker-group{margin-bottom:10px}.area-picker-group:last-of-type{margin-bottom:4px}.checkbox-grid{display:flex;flex-wrap:wrap;gap:10px 20px}.weekday-count{display:flex;flex-direction:column;align-items:center;gap:4px;width:52px}.weekday-count label{margin-top:0}.weekday-count input{width:100%;text-align:center;padding:8px 4px}.staffing-actions{display:flex;flex-direction:column;gap:8px;margin:8px 0}.time-row{display:flex;gap:12px}.time-row>div{flex:1;display:flex;flex-direction:column}textarea{padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;font-family:inherit;resize:vertical}.shift-volante,.legend-volante{background:#8b5cf6}.actions-cell{display:flex;gap:6px;flex-wrap:wrap}.table-action{margin:0;background:#e5e7eb;color:#1f2430;padding:6px 10px;font-size:12px}.table-action-danger{background:#fee2e2;color:#b91c1c}.notice{background:#eef6f1;color:#2f6f4f;border:1px solid #cfe6d8;border-radius:6px;padding:8px 12px;font-size:13px;margin:8px 0}.shift-list{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}.shift-list-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;background:#f9fafb;border-radius:6px;font-size:13px}.shift-list-item button{margin:0;padding:6px 12px;font-size:12px}.shift-list-item button+button{margin-left:6px}.request-status{font-weight:600;font-size:12px;padding:2px 10px;border-radius:10px}.request-status-pending{background:#fef3c7;color:#92400e}.request-status-approved{background:#d1fae5;color:#065f46}.request-status-rejected{background:#fee2e2;color:#991b1b}.calendar-view-switcher{margin-bottom:16px}.course-block{position:absolute;border-radius:6px;padding:4px 6px;font-size:11px;color:#fff;overflow:hidden;cursor:default;border:1px solid rgba(255,255,255,.4)}.course-fixed{background:#3b82f6}.course-mobile{background:#f59e0b}.course-volante{background:#8b5cf6}.course-block[role=button]{cursor:grab}.course-block-name{font-weight:600}.course-block-time,.course-block-instructor,.course-block-note{opacity:.9}.profile-list{margin:0;display:flex;flex-direction:column;gap:8px}.profile-row{display:flex;justify-content:space-between;gap:12px;padding:8px 10px;background:#f9fafb;border-radius:6px;font-size:13px}.profile-row dt{color:#6b7280}.profile-row dd{margin:0;font-weight:600}.password-requirements{list-style:none;padding:0;margin:8px 0 4px;font-size:12px}.password-requirements li{display:flex;align-items:center;gap:6px;line-height:1.6}.password-requirements .req-icon{display:inline-flex;width:14px;justify-content:center;font-weight:700}.password-requirements .req-met{color:#15803d}.password-requirements .req-unmet{color:#6b7280}.app-shell{display:flex;min-height:100vh}.sidebar{width:230px;flex-shrink:0;background:#1f2430;color:#fff;display:flex;flex-direction:column;gap:18px;padding:18px 12px;position:sticky;top:0;height:100vh;overflow-y:auto}.sidebar-brand{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:0 10px;font-size:16px}.sidebar-brand .badge{margin-left:0}.sidebar-sede{display:flex;flex-direction:column;gap:4px;padding:0 10px}.sidebar-sede label{margin:0;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#9ca3af}.sidebar-sede select{width:100%;padding:8px;border-radius:6px;border:1px solid #3b4252;background:#2a3040;color:#fff;font-size:14px}.sidebar-sede-name{font-size:14px}.sidebar-nav{display:flex;flex-direction:column;gap:2px}.sidebar-link{color:#d1d5db;text-decoration:none;padding:9px 12px;border-radius:6px;font-size:14px;border-left:3px solid transparent}.sidebar-link:hover{background:#ffffff0f;color:#fff}.sidebar-link.active{background:#ffffff1a;color:#fff;border-left-color:#4caf7d}.app-main{flex:1;min-width:0;display:flex;flex-direction:column}.app-topbar{justify-content:space-between}.topbar-user{font-size:14px}@media (max-width: 900px){.app-shell{flex-direction:column}.sidebar{position:static;width:100%;height:auto;padding:12px;gap:12px}.sidebar-nav{flex-direction:row;overflow-x:auto;gap:4px}.sidebar-link{white-space:nowrap;border-left:none;border-bottom:3px solid transparent;border-radius:6px 6px 0 0}.sidebar-link.active{border-left-color:transparent;border-bottom-color:#4caf7d}}.dash-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;margin-bottom:20px}.stat-card{background:#fff;border-radius:10px;padding:16px 20px;box-shadow:0 1px 3px #00000014;display:flex;flex-direction:column;gap:4px}.stat-value{font-size:28px;font-weight:700;line-height:1.2}.stat-value.stat-alert{color:#b45309}.stat-label{font-size:13px;color:#6b7280}.stat-link{font-size:13px;color:#2f6f4f;text-decoration:none;margin-top:4px}.stat-link:hover{text-decoration:underline}.dash-section-note{font-size:13px;color:#6b7280;margin:0}.comms-list{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column}
