*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media(min-width:640px){.container{max-width:640px}}@media(min-width:768px){.container{max-width:768px}}@media(min-width:1024px){.container{max-width:1024px}}@media(min-width:1280px){.container{max-width:1280px}}@media(min-width:1536px){.container{max-width:1536px}}.visible{visibility:visible}.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.\!table{display:table!important}.table{display:table}.grid{display:grid}.border{border-width:1px}.italic{font-style:italic}.outline{outline-style:solid}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans TC,sans-serif;color:#1e293b;background:#f7f8fc}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.35;cursor:not-allowed}.app{max-width:1600px;margin:auto;padding:28px 30px}.header{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px}.header small{font-size:10px;font-weight:800;letter-spacing:.15em;color:#64748b}.header h1{font-size:29px;margin:5px 0}.header p,.muted,.panel-heading p,.section-title p{color:#718096;font-size:12px;margin:0}.header-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.header-actions>button,.month,.secondary{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:9px 11px;color:#334155;font-size:12px;font-weight:650}.header-actions>button:hover,.secondary:hover{background:#f1f5f9}.month{display:flex;align-items:center;gap:9px}.month button{border:0;background:transparent;font-size:20px;color:#475569}.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px;color:#64748b;font-size:11px}.layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:17px;align-items:start}.panel{background:#fff;border:1px solid #e7edf4;border-radius:13px;box-shadow:0 4px 16px #0f172a08}.staff-panel,.schedule-panel{padding:16px}.panel-heading,.section-title{display:flex;justify-content:space-between;gap:10px}.panel h2,.section-title h2{font-size:16px;margin:0 0 5px}.pill,.section-title>span{font-size:10px;background:#f1f5f9;color:#64748b;border-radius:20px;padding:5px 8px;height:-moz-max-content;height:max-content}.staff-list{display:grid;gap:8px;margin-top:16px}.staff-button{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;text-align:left;color:#334155;font-size:12px}.staff-button i{width:11px;height:11px;border-radius:50%;background:var(--person-color)}.staff-button b{margin-left:auto;color:#0f766e}.staff-button.chosen{background:#f8fafc;border-color:#64748b}.tip{font-size:10px;line-height:1.6;color:#64748b;background:#f8fafc;padding:10px;border-radius:8px;margin-top:16px}.schedule-panel{min-width:0}.section-title{margin-bottom:14px}.schedule-scroll{overflow:auto;border:1px solid #e2e8f0;border-radius:9px}.schedule-table{width:100%;min-width:760px;border-collapse:separate;border-spacing:0;table-layout:fixed}.schedule-table th,.schedule-table td{border-right:1px solid #e8edf4;border-bottom:1px solid #e8edf4}.schedule-table thead th{background:#f8fafc;color:#64748b;font-size:10px;padding:4px 2px}.schedule-table .shift-name{width:90px;min-width:90px;white-space:nowrap;font-size:10px;padding:1px 3px;vertical-align:middle}.schedule-table td{height:20px;padding:1px;vertical-align:top}.week-row td{height:auto;padding:1px 6px;background:#f1f5f9;color:#64748b;font-size:9px;font-weight:700}.date-label{font-size:9px;color:#94a3b8;margin-bottom:1px}.shift-cell{min-height:28px;cursor:pointer}.assigned-list{display:flex;flex-wrap:wrap;gap:2px}.person-tag{display:flex;flex-direction:column;align-items:flex-start;max-width:100%;border:1px solid transparent;border-radius:4px;background:var(--person-color);padding:2px 4px;font-size:9px;color:#334155;overflow-wrap:anywhere}.schedule-table thead th:first-child{width:90px;min-width:90px}tbody tr:last-child>*{border-bottom:0}.schedule-table .shift-name{width:90px;min-width:90px;white-space:nowrap;font-size:10px;padding:3px 4px;vertical-align:middle}.schedule-table td{height:24px;padding:2px;vertical-align:top}.week-row td{height:auto;padding:2px 8px;background:#f1f5f9;color:#64748b;font-size:10px;font-weight:700}.date-label{font-size:10px;color:#94a3b8;margin-bottom:3px}.empty-date{background:#fafbfc}.shift-cell{min-height:40px;cursor:pointer}.assigned-list{display:flex;flex-wrap:wrap;gap:4px}.person-tag{display:flex;flex-direction:column;align-items:flex-start;max-width:100%;border:1px solid transparent;border-radius:5px;background:var(--person-color);padding:4px 6px;font-size:10px;color:#334155;overflow-wrap:anywhere}.person-tag:hover{border-color:#94a3b8}.person-tag small{font-size:9px;color:#9f1239}.person-tag.archived{opacity:.7;outline:1px dashed #cbd5e1}.plus-hint{display:block;text-align:center;color:#cbd5e1;padding:7px}.batch-panel{padding:17px;margin-bottom:16px}.batch-panel h2{margin:0 0 5px;font-size:16px}.batch-panel>label{display:block;font-size:11px;font-weight:700;color:#475569;margin:14px 0 6px}.batch-panel select,.add-line input,.name-field{border:1px solid #dbe2ea;border-radius:7px;padding:8px 9px;background:#fff;color:#334155;font-size:12px}.batch-panel select{min-width:230px}.choices,.shift-options{display:flex;flex-wrap:wrap;gap:8px}.choices button{width:33px;height:33px;border:1px solid #e2e8f0;border-radius:7px;background:#fff;color:#64748b}.choices button.on{background:#334155;color:#fff;border-color:#334155}.shift-options label{font-size:11px;color:#475569}.preview-title{display:flex;gap:12px;flex-wrap:wrap;margin:15px 0 8px;font-size:11px}.preview-title span{color:#64748b}.preview-list{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:13px}.preview-list span{padding:5px 7px;background:#f1f5f9;border-radius:5px;color:#475569;font-size:10px}.primary{border:0;border-radius:8px;padding:9px 12px;background:#334155;color:#fff;font-size:12px;font-weight:700}.primary:hover{background:#1e293b}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;background:#0f172a66;display:grid;place-items:center;padding:16px}.modal{width:min(620px,100%);max-height:86vh;overflow:auto;background:#fff;border-radius:15px;box-shadow:0 20px 60px #0f172a33}.modal header{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid #edf1f5}.modal header small{color:#64748b;font-size:10px}.modal header h2{margin:3px 0 0;font-size:19px}.icon-button{border:0;background:transparent;color:#64748b;font-size:18px}.add-line{display:flex;gap:8px;padding:16px 20px 4px}.add-line input{flex:1;min-width:0}.modal h3{font-size:12px;color:#64748b;margin:19px 20px 8px}.manage-row{display:flex;align-items:center;gap:7px;padding:7px 20px;border-bottom:1px solid #f1f5f9}.name-field{flex:1;min-width:0}.manage-row select{width:46px;height:33px;border:1px solid #e2e8f0;border-radius:6px;color:transparent}.manage-row select option{color:#334155}.manage-row button{border:1px solid #e2e8f0;border-radius:6px;background:#fff;padding:6px 9px;color:#475569}.manage-row button.danger{color:#dc2626}.archived-row{display:flex;justify-content:space-between;margin:4px 20px;padding:8px 10px;border-radius:6px;background:#f8fafc;color:#64748b;font-size:12px}.archived-row small{color:#94a3b8}.modal footer{display:flex;justify-content:flex-end;padding:14px 20px;border-top:1px solid #edf1f5;margin-top:17px}footer{font-size:10px;color:#94a3b8;padding:17px 2px 0}@media(max-width:1000px){.app{padding:20px 16px}.header{align-items:flex-start;flex-direction:column}.header-actions{justify-content:flex-start}}@media(max-width:700px){.app{padding:15px 10px}.header h1{font-size:25px}.header-actions>*{flex:1 1 calc(50% - 8px)}.month{justify-content:space-between}.layout{grid-template-columns:1fr}.staff-list{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-panel{padding:11px}.schedule-table{min-width:760px}.add-line{flex-direction:column}.toolbar{gap:8px}}
