.attendance-rest-days-open{padding:8px 14px;background:#183953;color:#a7d7ff;border:1px solid #397cb1;border-radius:8px;font-weight:700;cursor:pointer}
.attendance-rest-days-open:disabled{opacity:.5;cursor:not-allowed}
.attendance-intro .attendance-actions{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}
.attendance-intro .attendance-actions .attendance-correction-open{margin-left:0}
.attendance-rest-days-dialog{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid #405976;border-radius:18px;background:#19222f;color:#edf6ff;box-shadow:0 20px 90px #0008;font:14px/1.6 Inter,"Noto Sans JP",sans-serif}
.attendance-rest-days-dialog::backdrop{background:#040910b8}.attendance-rest-days-dialog *{box-sizing:border-box}
.attendance-rest-days-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.attendance-rest-days-dialog h2{font-size:22px;margin:0}.attendance-rest-days-dialog h3{font-size:16px;margin:0 0 10px;text-align:center}.attendance-rest-days-dialog p{margin:9px 0;color:#c7d8eb}
.attendance-rest-days-dialog button{padding:8px 12px;border:1px solid #476582;border-radius:8px;background:#26384c;color:#e6f3ff;cursor:pointer;font:inherit;font-weight:700}.attendance-rest-days-dialog button:hover:not(:disabled){background:#2d5177;border-color:#90c9ff}.attendance-rest-days-dialog button:focus-visible{outline:2px solid #83c6ff;outline-offset:3px}.attendance-rest-days-dialog button:disabled{opacity:.38;cursor:default}.attendance-rest-days-dialog [data-close]{padding:4px 12px;font-size:24px}
.attendance-rest-days-dialog .ard-note{font-size:12px}.ard-message{min-height:28px;margin:12px 0;color:#9cddff}.ard-message.ard-error{color:#ffb8b8}.ard-months{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}.ard-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.ard-weekday{text-align:center;color:#bad0e7;font-size:12px}.ard-grid button{position:relative;height:45px;padding:3px;font-size:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0}.ard-grid button.ard-rest{background:#174c7a;border-color:#83c6ff;color:#eaf6ff}.ard-grid small{font-size:10px;line-height:1.1;border:1px solid #a2d5ff;border-radius:50%;padding:2px 3px;color:#b9e4ff}.ard-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.ard-actions button{font-size:12px}
@media(max-width:520px){.attendance-rest-days-dialog{padding:16px;width:calc(100vw - 16px)}.attendance-rest-days-dialog h2{font-size:20px}.ard-months{grid-template-columns:minmax(0,1fr)}.attendance-intro .attendance-actions{margin-left:0}.attendance-rest-days-open,.attendance-correction-open{font-size:12px}}
.attendance-rest-days-dialog .ard-grid button.ard-changed{border-style:dashed;border-width:2px;border-color:#b4e1ff}
.attendance-rest-days-dialog .ard-actions{position:sticky;bottom:-24px;padding:12px 0;background:#19222f;box-shadow:0 -8px 12px #19222f;align-items:center}
.attendance-rest-days-dialog .ard-draft-status{flex:1 0 100%;min-height:19px;color:#b4e1ff;font-size:12px}
.attendance-rest-days-dialog [data-confirm]{background:#2177b6;border-color:#8dceff;color:white;min-width:88px}
@media(max-width:520px){.attendance-rest-days-dialog .ard-actions{bottom:-16px}}
