.shift-editor-mask{position:fixed;inset:0;z-index:180;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;padding:20px;overflow:auto}.shift-editor{width:min(560px,100%);max-height:calc(100dvh - 40px);overflow:auto;background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:18px;padding:24px;box-sizing:border-box}.shift-editor-head{display:flex;align-items:flex-start;gap:12px;justify-content:space-between}.shift-editor h3{margin:0 0 20px;overflow-wrap:anywhere}.shift-editor button{font:inherit;cursor:pointer}.shift-editor-head button{flex-shrink:0;background:var(--wall);color:var(--ink);border:1px solid var(--line);border-radius:50%;width:34px;height:34px}.shift-split{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.shift-editor input[type=time]{width:120px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--wall);color:var(--ink)}.shift-split button,.shift-kinds button{padding:10px 16px;border:1px solid var(--line);border-radius:999px;background:var(--wall);color:var(--ink)}.shift-note{font-size:13px;line-height:1.7;color:var(--sub)}.shift-kinds{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.shift-kinds .on{background:var(--hero);color:var(--heroink);border-color:var(--hero)}.shift-times{display:flex;flex-wrap:wrap;gap:14px}.shift-times[hidden]{display:none}.shift-times label{display:grid;gap:6px}.shift-editor [data-feedback]{overflow-wrap:anywhere;line-height:1.7;margin:14px 0;color:var(--ink)}.shift-editor [data-feedback] ul{padding-left:20px}.shift-editor button:focus-visible,.shift-editor input:focus-visible{outline:2px solid var(--brand);outline-offset:3px}.shift-editor :disabled{cursor:wait}.shift-editor [data-save]{margin-top:12px}@media(max-width:480px){.shift-editor-mask{padding:12px}.shift-editor{padding:18px;max-height:calc(100dvh - 24px)}.shift-split{font-size:14px}.shift-kinds button{padding:10px 14px}}

.shift-editor .shift-result{padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--wall)}.shift-editor .shift-result:empty{display:none}.shift-editor .shift-result strong{display:block;font-size:15px;line-height:1.6}.shift-editor .shift-result p{margin:6px 0 0}.shift-editor .shift-result.success{border-color:var(--good)}.shift-editor .shift-result.warning{border-color:var(--brand)}.shift-editor .shift-result.error{border-color:var(--bad)}
