.shift-page{--shift-green:#167965;--shift-line:#dce6e2;--shift-muted:#60756d;max-width:1120px;width:100%;min-width:0;margin:auto;color:#1e3532}.shift-page *{box-sizing:border-box}.shift-page h1{font-size:26px;margin:0}.shift-page h2{font-size:18px;margin:0 0 12px}.shift-page p{line-height:1.65}.shift-page button,.shift-page input,.shift-page select{font:inherit;min-height:44px;max-width:100%;border:1px solid var(--shift-line);border-radius:10px;background:#fff;color:inherit;padding:10px}.shift-page button{cursor:pointer;white-space:normal;overflow-wrap:anywhere}.shift-page button:disabled{opacity:.5;cursor:default}.shift-page button:focus-visible,.shift-page input:focus-visible,.shift-page select:focus-visible,.shift-table-scroll:focus-visible{outline:3px solid #b18025;outline-offset:2px}.shift-page label{display:grid;gap:6px;font-size:13px;min-width:0}.shift-page input,.shift-page select{width:100%;min-width:0}.shift-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.shift-heading label{max-width:180px}.shift-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}.shift-tabs button{flex:1 1 120px;font-weight:700}.shift-page [aria-pressed=true],.shift-page .shift-primary{background:var(--shift-green);border-color:var(--shift-green);color:#fff}.shift-body{border:0;padding:0;margin:0;min-width:0}.shift-card{border:1px solid var(--shift-line);background:white;padding:20px;border-radius:15px;margin:0 0 16px;min-width:0}.shift-card>label{margin-bottom:14px}.shift-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px;margin:12px 0}.shift-note{font-size:12px;color:var(--shift-muted);margin:10px 0;overflow-wrap:anywhere}.shift-selection{padding:12px;background:#e7f3ee;border-radius:9px;font-weight:700}.shift-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.shift-actions label{flex:1 1 130px}.shift-request{padding:16px 0;border-top:1px solid var(--shift-line)}.shift-request:first-of-type{border-top:0}.shift-status{display:inline-block;font-size:11px;padding:3px 8px;border-radius:20px;background:#edf3f0;margin:4px 6px}.shift-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin-top:16px}.shift-calendar button{min-width:0;min-height:64px;padding:5px 0;border-radius:9px;display:flex;flex-direction:column;align-items:center;gap:4px}.shift-calendar button b{font-size:14px}.shift-calendar button small{font-size:10px;line-height:1.3;overflow-wrap:anywhere}.shift-calendar .is-selected{background:#e7f3ee;color:#125c4d;border:2px solid var(--shift-green)}.shift-weekday{text-align:center;font-size:11px;padding:5px 0;color:var(--shift-muted)}.shift-calendar .shift-weekend{color:#a34d3e}.shift-people{margin-top:12px}.shift-person{display:grid!important;grid-template-columns:24px minmax(0,1fr) minmax(65px,auto);align-items:center;gap:10px!important;border-top:1px solid var(--shift-line);padding:12px 0}.shift-person input{width:20px;height:20px;min-height:20px;accent-color:var(--shift-green)}.shift-person span{min-width:0;overflow-wrap:anywhere}.shift-person small,.shift-badge+small{display:block;font-size:11px;color:var(--shift-muted);margin-top:4px}.shift-badge{display:inline-block;padding:4px 8px;border-radius:8px;font-size:12px;background:#e7f3ee;white-space:nowrap}.shift-badge.shift-off{background:#faf0e7;color:#925c38}.shift-table-scroll{max-width:100%;overflow-x:auto;margin:14px 0;overscroll-behavior-x:contain}.shift-page table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px}.shift-page th,.shift-page td{text-align:center;padding:12px 10px;white-space:nowrap;border-bottom:1px solid var(--shift-line);min-width:85px}.shift-page th:first-child{position:sticky;left:0;background:#f8faf8;z-index:1;text-align:left;max-width:130px;white-space:normal;overflow-wrap:anywhere}.shift-page td small{display:block;font-size:10px;margin-top:4px}.shift-preview{border-color:var(--shift-green)}.shift-preview ul{padding-left:20px;max-height:210px;overflow:auto;font-size:13px}.shift-error{padding:12px;border:1px solid #bd7564;border-radius:9px;background:#fff4ee;margin-bottom:12px;font-size:13px;overflow-wrap:anywhere}.shift-error button{display:block;margin-top:10px}.shift-message:not(:empty){padding:10px 0;font-size:13px}.shift-message:empty{display:none}@media(max-width:480px){.shift-card{padding:14px 12px}.shift-heading{align-items:flex-start}.shift-heading h1{font-size:23px}.shift-heading label{max-width:155px}.shift-tabs button{flex-basis:calc(50% - 6px);font-size:12px;padding:8px}.shift-calendar{gap:3px}.shift-calendar button{min-height:59px}.shift-actions>button{flex:1 1 120px}.shift-fields{grid-template-columns:1fr}.shift-page th,.shift-page td{padding:10px 8px}.shift-person{grid-template-columns:20px minmax(0,1fr) 78px;gap:7px!important}}
