.staff-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}.staff-tabs a{padding:9px 14px;border:1px solid #dbe5df;border-radius:8px;color:#294536;text-decoration:none;background:white}.staff-tabs a.active{background:#175d43;color:white;border-color:#175d43}
.notice[hidden],label[hidden]{display:none!important}
.legend-work{background:#fff;color:#344b40}.plan-actual{background:#ffffffdd;border:1px solid #c9d3ce;border-radius:6px;padding:7px;margin:7px 0;color:#2f4439}.plan-actual-label{font-size:10px;text-transform:uppercase;letter-spacing:.04em;font-weight:700}.plan-work{display:block;background:white;border:1px solid #dce4df;color:#2c4436;text-align:left;font:inherit;font-size:12px;width:100%;border-radius:5px;padding:7px 5px;margin:5px 0;cursor:pointer}.plan-work strong,.plan-work small,.plan-actual-total,.plan-actual-compare{display:block}.plan-actual-total{margin-top:7px;font-size:12px}.plan-actual-compare{margin-top:5px;font-size:10px;line-height:1.5}.work-running{font-weight:700;color:#186044}.work-break{border:1px solid #dbe4df;border-radius:9px;padding:12px;margin:12px 0;min-width:0}.work-break legend{font-weight:600}.work-preview{margin-top:16px;line-height:1.6}.work-history{margin:20px 0}.work-history summary{cursor:pointer;font-weight:600;padding:10px 0}.work-history-row{padding:14px 0;border-top:1px solid #dbe4df;overflow-wrap:anywhere}.work-history-row p{font-size:12px;line-height:1.6}.work-history-row strong{font-size:13px}.work-break .grid2{margin-bottom:10px}
.plan-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.plan-toolbar h2{font-size:18px}.plan-toolbar label{min-width:140px}.plan-legend{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.plan-legend span{border-radius:6px;padding:7px 11px;font-size:12px;font-weight:600;border:1px solid #d4d9d7}.legend-leave,.plan-leave.approved{background:#fff0a6;color:#665000}.legend-pending,.plan-leave.requested{background:repeating-linear-gradient(135deg,#fff8d6,#fff8d6 6px,#ffec9d 6px,#ffec9d 12px);border:1px dashed #b78b00!important;color:#665000}.legend-shift,.plan-shift{background:#dcecff;color:#194d83}.legend-holiday{background:#fee2e2;color:#9b2929}.legend-weekend{background:#edf0f1;color:#4e5b61}
.plan-scroll{max-height:68vh;overflow:auto;border:1px solid #dce4df;border-radius:10px;position:relative}.plan-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;min-width:100%}.plan-table th,.plan-table td{width:150px;min-width:150px;max-width:150px;border-right:1px solid #dce4df;border-bottom:1px solid #dce4df;padding:8px;vertical-align:top;white-space:normal}.plan-table th{background:#f7faf8;color:#374b40;font-size:12px}.plan-table thead th{position:sticky;top:0;z-index:3;height:88px;text-transform:none}.plan-table .plan-name{position:sticky;left:0;z-index:2;width:210px;min-width:210px;max-width:210px;background:white;text-align:left}.plan-table thead .plan-name{z-index:5;background:#f7faf8}.plan-table td{height:108px}.plan-table th span,.plan-table th strong,.plan-table th small,.plan-table .plan-name small{display:block}.plan-table th small{margin-top:5px;line-height:1.4;color:inherit}.plan-table .plan-weekend,.plan-day-heading.plan-weekend,.plan-day-card.plan-weekend{background:#edf0f1}.plan-table .plan-vacation,.plan-day-card.plan-vacation{background:#fff9db}.plan-table .plan-holiday,.plan-day-heading.plan-holiday,.plan-day-card.plan-holiday{background:#fee2e2;color:#8d2424}.plan-today{box-shadow:inset 0 3px #187451}
.plan-shift,.plan-leave{display:block;width:100%;text-align:left;border:1px solid transparent;border-radius:6px;padding:8px;margin:4px 0;cursor:pointer;line-height:1.4;font:inherit;font-size:12px}.plan-shift strong,.plan-shift small,.plan-leave small{display:block}.plan-shift{border-color:#9cc7f7}.plan-shift strong{font-size:14px}.plan-short-note{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plan-add{display:block;border:1px dashed #81998b;border-radius:6px;background:#ffffffa8;color:#235239;padding:2px 10px;cursor:pointer;margin-top:6px;font-size:18px}.plan-mobile{display:none}.plan-day-heading{padding:14px;border-radius:8px;margin:14px 0}.plan-day-card h3 small{display:block;font-size:12px;font-weight:400;margin:6px 0}.note{white-space:pre-wrap}.calendar-event.approved,.calendar-absence.approved{background:#fff0a6;color:#665000}.calendar-event.requested,.calendar-absence.requested{background:repeating-linear-gradient(135deg,#fff8d6,#fff8d6 6px,#ffec9d 6px,#ffec9d 12px);color:#665000;border:1px dashed #b78b00}
@media(max-width:700px){.plan-scroll{display:none}.plan-mobile{display:block}.plan-toolbar h2{width:100%;order:2;line-height:1.5}.plan-toolbar .buttons{width:100%;justify-content:space-between}.plan-toolbar .btn{padding:8px 10px}.staff-tabs{gap:6px}.staff-tabs a{padding:8px 10px;font-size:12px}.plan-day-card .plan-shift,.plan-day-card .plan-leave{padding:12px}.plan-day-card .plan-add{width:100%;padding:6px}.plan-legend span{font-size:11px}}
.change-review{max-width:680px;width:calc(100% - 32px);overflow-wrap:anywhere}.change-review section{background:#f5f8f6;border:1px solid #dce5df;border-radius:9px;padding:14px}.change-review .notice{margin:16px 0}.change-review .checkbox{margin:16px 0}.plan-shift[draggable=true]{cursor:grab}.plan-drop-target{outline:3px solid #00aa66;outline-offset:-3px}.plan-move-source{display:none!important}.plan-move-preview{border:2px dashed #00aa66!important;opacity:.8}.price-summary{padding:12px;margin:10px 0;background:#f4f8f5;border-radius:8px}.rate-history-protected{font-size:12px;color:#6b5940}
