.pep-shell{width:min(100% - 40px,1380px);margin:0 auto;padding:64px 0 110px}.pep-head{display:flex;justify-content:space-between;gap:40px;align-items:end}.pep-head h1{font-size:clamp(44px,6vw,76px);margin:8px 0 12px}.pep-head p{color:var(--muted);max-width:650px}.pep-actions{display:flex;gap:10px;flex-wrap:wrap}.pep-summary{display:grid;grid-template-columns:repeat(3,1fr);margin:34px 0 18px;border:1px solid var(--line)}.pep-summary>div{padding:18px 20px;border-right:1px solid var(--line);background:#fff}.pep-summary>div:last-child{border-right:0}.pep-summary small{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.06em}.pep-summary strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:27px;font-weight:500;margin:6px 0}.pep-summary span{font-size:11px;color:var(--muted)}.pep-focus{display:grid;grid-template-columns:130px 260px 1fr;gap:20px;align-items:center;padding:16px 20px;background:var(--paper-soft);border-left:4px solid var(--wine);margin-bottom:28px}.pep-focus>span{font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.08em;color:var(--wine)}.pep-focus strong{font-size:15px}.pep-focus p{margin:0;color:var(--muted);font-size:12px}.pep-board{background:#fff;border:1px solid var(--line);box-shadow:0 12px 32px #e8ddd4}.pep-board-head{display:flex;justify-content:space-between;align-items:end;padding:22px 24px;border-bottom:1px solid var(--line)}.pep-board-head h2{font-size:30px;margin-top:4px}.week-nav{display:flex}.week-nav button{border:1px solid var(--line-dark);background:#fff;padding:9px 12px;margin-left:-1px;cursor:pointer}.pep-table-wrap{overflow:auto}.pep-table{width:100%;border-collapse:collapse;min-width:1050px}.pep-table th,.pep-table td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px;vertical-align:top}.pep-table thead th{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);background:var(--paper-soft);text-align:left}.pep-table tbody th{width:165px;text-align:left}.pep-table tbody th strong{display:block;font-size:13px}.pep-table tbody th span{font-size:10px;color:var(--muted);font-weight:500}.shift-chip,.empty-shift{width:100%;min-height:58px;border:0;border-radius:7px;cursor:pointer}.shift-chip{display:grid;gap:4px;text-align:left;padding:9px;background:#f3e9e2;color:var(--ink)}.shift-chip strong{font-size:11px}.shift-chip span{font-size:10px;color:var(--muted)}.empty-shift{background:transparent;color:#b4a79e;font-size:20px}.empty-shift:hover{background:var(--paper-soft);color:var(--wine)}.week-total{width:92px}.week-total strong{display:block;font-size:13px}.week-total span{font-size:9px;text-transform:uppercase;letter-spacing:.05em}.week-total.high{background:#f8e5e0}.week-total.low{background:#f4eee4}.week-total.ok{background:#eef3ec}.pep-help{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:26px}.pep-help article{display:flex;gap:12px;padding:16px;border-top:1px solid var(--line)}.pep-help article>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--wine);color:white;font-size:11px}.pep-help p{margin:4px 0 0;color:var(--muted);font-size:11px;line-height:1.5}.shift-dialog{border:0;padding:0;width:min(92vw,520px);box-shadow:0 24px 70px rgba(0,0,0,.22)}.shift-dialog::backdrop{background:rgba(40,30,26,.35)}.shift-dialog form{padding:26px;display:grid;gap:16px}.dialog-head{display:flex;justify-content:space-between}.dialog-head h2{font-size:29px;margin-top:5px}.dialog-close{border:0;background:transparent;font-size:28px;cursor:pointer}.shift-dialog label{display:grid;gap:7px;font-size:12px;font-weight:800}.shift-dialog input,.shift-dialog select{min-height:46px;border:1px solid var(--line-dark);padding:9px 11px;font:inherit;background:#fff}.dialog-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:6px}@media(max-width:850px){.pep-head{display:grid}.pep-summary{grid-template-columns:1fr}.pep-summary>div{border-right:0;border-bottom:1px solid var(--line)}.pep-focus{grid-template-columns:1fr}.pep-help{grid-template-columns:1fr}}@media print{.site-header,.pep-actions,.pep-summary,.pep-focus,.pep-help{display:none!important}.pep-shell{width:100%;padding:0}.pep-board{box-shadow:none;border:0}.pep-table-wrap{overflow:visible}.pep-table{min-width:0;font-size:9px}.shift-chip,.empty-shift{min-height:40px}.empty-shift{display:none}}.plan-status{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 12px;border:1px solid var(--line-dark);background:#fff;font-size:11px;font-weight:800}.plan-status i{width:8px;height:8px;border-radius:50%;background:#c89a46}.plan-status.published i{background:#4f7b58}.plan-status.published{color:#31553a}.danger-button{border:0;background:transparent;color:#9b2f3f;font-weight:800;cursor:pointer;padding:10px 0}.dialog-spacer{flex:1}.shift-chip:hover{outline:2px solid rgba(109,36,52,.12)}@media(max-width:700px){.pep-actions{align-items:stretch}.plan-status{width:100%;justify-content:center}.pep-actions .btn{flex:1}}@media print{.plan-status{display:none!important}}.pep-daycheck{display:grid;grid-template-columns:110px repeat(7,1fr);margin:28px 0 12px;border:1px solid var(--line);background:#fff}.pep-daycheck>span{display:flex;align-items:center;padding:12px;font-size:10px;font-weight:850;text-transform:uppercase;color:var(--muted);background:var(--paper-soft)}.pep-daycheck>div{display:grid;gap:3px;padding:10px 12px;border-left:1px solid var(--line)}.pep-daycheck small{font-size:9px;color:var(--muted)}.pep-daycheck strong{font-size:11px}.pep-daycheck .thin{background:#f8f1e5}.pep-daycheck .empty{background:#f8e5e0}.pep-daycheck .empty strong{color:var(--wine)}.absence-chip{width:100%;min-height:58px;border:0;border-radius:7px;padding:9px;display:grid;gap:4px;text-align:left;background:#edf0f3;color:var(--ink);cursor:pointer}.absence-chip strong{font-size:11px}.absence-chip span{font-size:10px;color:var(--muted)}.has-conflict{background:#f8e5e0!important}.has-conflict .shift-chip{outline:2px solid #a94848;background:#fff1ed}.holiday small{display:block;margin-top:4px;color:var(--wine);font-size:8px;text-transform:none;letter-spacing:0}.pep-daycheck .holiday-check{background:#eee8f2}.pep-daycheck .holiday-check strong{color:#5e4770}
/* Keep the wide week table in its own scroll area on small screens. */
.pep-head>div,.pep-board,.pep-table-wrap{min-width:0}
.pep-daycheck{grid-template-columns:110px repeat(7,minmax(0,1fr))}
.pep-daycheck>div{min-width:0;overflow-wrap:anywhere}
@media(max-width:700px){
  .pep-daycheck{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pep-daycheck>span{grid-column:1/-1}
  .pep-board-head{align-items:flex-start;flex-direction:column;gap:16px;padding:18px}
  .week-nav{flex-wrap:wrap;max-width:100%}
  .pep-head h1{overflow-wrap:anywhere}
}
