/* ToolCMS V3.1.82 (c) ToolWorld https://www.toolworld.cn/ */
*{box-sizing:border-box;margin:0;padding:0}
body{margin:0;padding:0;font-family:inherit;background:transparent;color:var(--text-1,#333);font-size:14px;line-height:1.6}
.office-shift-container{max-width:100%;margin:0 auto;padding:16px}
.office-shift-setup{background:var(--bg-card,#fff);border:1px solid var(--border,#e2e8f0);border-radius:var(--radius,14px);padding:18px}
.office-shift-row{display:flex;gap:14px}
.office-shift-row .office-shift-field{flex:1}
.office-shift-field{margin-bottom:14px}
.office-shift-label{display:block;font-weight:600;font-size:13px;color:var(--text-2,#555);margin-bottom:8px}
.office-shift-textarea{width:100%;height:90px;padding:10px 12px;border:1px solid var(--border,#d1d5db);border-radius:var(--radius-sm,8px);font-size:14px;background:var(--bg-input,#fff);color:var(--text-1,#333);outline:none;resize:vertical;line-height:1.7}
.office-shift-input{width:100%;padding:9px 12px;border:1px solid var(--border,#d1d5db);border-radius:var(--radius-sm,8px);font-size:14px;background:var(--bg-input,#fff);color:var(--text-1,#333);outline:none}
.office-shift-textarea:focus,.office-shift-input:focus{border-color:var(--primary,var(--primary-hover))}
.office-shift-toolbar{display:flex;gap:8px;flex-wrap:wrap}
.office-shift-btn{padding:8px 14px;border:1px solid var(--border,#d1d5db);border-radius:var(--radius-sm,8px);background:var(--bg-card,#fff);color:var(--text-1,#333);cursor:pointer;font-size:13px;transition:background .15s}
.office-shift-btn:hover{background:var(--primary-light)}

.office-shift-btn-primary{background:var(--primary,var(--primary-hover));color:#fff;border-color:var(--primary,var(--primary-hover))}
.office-shift-btn-primary:hover{background:var(--primary-light);color:var(--primary)}

.office-shift-message{margin-top:10px;padding:8px 12px;border-radius:var(--radius-sm,8px);font-size:13px;display:none}
.office-shift-message.show{display:block}
.office-shift-message.success{background:var(--primary-light);color:var(--primary,var(--primary-hover))}
.office-shift-message.error{background:var(--error-bg,#fee2e2);color:var(--error,#991b1b)}
.office-shift-gridwrap{margin-top:18px;overflow-x:auto;background:var(--bg-card,#fff);border:1px solid var(--border,#e2e8f0);border-radius:var(--radius,14px);padding:14px;display:none}
.office-shift-gridwrap.show{display:block}
.office-shift-table{border-collapse:collapse;width:100%;min-width:560px}
.office-shift-table th,.office-shift-table td{border:1px solid var(--border-light,#eef2f7);padding:6px 8px;text-align:center;font-size:13px}
.office-shift-table th{background:var(--bg-soft,#f8fafc);color:var(--text-2,#555);font-weight:600}
.office-shift-namecell{font-weight:600;text-align:left;background:var(--bg-soft,#f8fafc)}
.office-shift-select{width:100%;border:1px solid transparent;background:transparent;font-size:13px;color:var(--text-1,#333);padding:4px 2px;outline:none;cursor:pointer}
.office-shift-select.shift-morning{background:#dcfce7}
.office-shift-select.shift-mid{background:#fef9c3}
.office-shift-select.shift-night{background:#dbeafe}
.office-shift-select.shift-rest{background:var(--bg-soft,#f1f5f9);color:var(--text-3,#94a3b8)}
.office-shift-table tr.conflict td{background:var(--error-bg,#fee2e2) !important}
.office-shift-conflictnote{margin-top:10px;font-size:13px;color:var(--error,#991b1b)}
.office-shift-oknote{margin-top:10px;font-size:13px;color:var(--success,#16a34a)}
.office-shift-footer{display:flex;justify-content:space-between;align-items:center;margin-top:20px;padding-top:12px;border-top:1px solid var(--border-light,#f1f5f9);font-size:12px;color:var(--text-3,#94a3b8)}
.office-shift-footer-right{margin-left:auto}
@media(max-width:640px){.office-shift-row{flex-direction:column;gap:0}.office-shift-btn{flex:1 1 auto}.office-shift-footer{flex-direction:column;gap:4px;text-align:center}}
