:root{font-family:"Microsoft JhengHei","PingFang TC",sans-serif;color:#24434a;background:#f2f8f9;--muted:#526e75;--line:#d6e5e8;--accent:#61d0df}*{box-sizing:border-box}body{margin:0}main{max-width:1200px;margin:auto;padding:30px 36px 24px}header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #c8dce1;padding-bottom:22px}.brand{font-size:25px;font-weight:700;letter-spacing:.04em}.brand span{font-size:15px;font-weight:500;color:#356873;margin-left:8px}.team{font-size:14px;color:var(--muted)}.version{margin-left:12px;font-size:12px}.title-row{display:flex;gap:24px;justify-content:space-between;align-items:center;margin:32px 0 24px}h1{font-size:32px;letter-spacing:.03em;margin:0 0 10px}p{line-height:1.7}.title-row p{margin:0;color:var(--muted)}.controls{min-width:0}.controls label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}.controls>div{display:flex;gap:10px}select,button{font:inherit;min-height:46px;padding:10px 14px;border:1px solid #94b7c0;border-radius:8px;color:#24434a;background:#fff;max-width:100%;min-width:0}select{min-width:175px}button{background:#215e69;color:#fff;border-color:#215e69;font-weight:600;cursor:pointer}button:hover{background:#164b55}button:disabled,select:disabled{opacity:.65;cursor:wait}button:focus-visible,select:focus-visible{outline:3px solid #238799;outline-offset:3px}.sync{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:13px;margin:0 0 15px}#summary{font-variant-numeric:tabular-nums}#error{padding:16px;background:#fff2f0;color:#8c2e30;border:1px solid #e8c1bc;border-radius:8px;line-height:1.7;margin-bottom:18px}#warning{background:#fff8dd;padding:12px;color:#66521c;font-size:13px;line-height:1.7}.calendar{background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden}.week,#calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.week{background:#e2f3f5;text-align:center;font-weight:600;color:#32606a;font-size:13px;padding:13px 0}.day{min-height:122px;padding:12px 9px;border-top:1px solid var(--line);border-right:1px solid var(--line);min-width:0}.day:nth-child(7n){border-right:0}.blank{background:#f6fafb}.day-heading{display:flex;align-items:center;gap:5px;margin-bottom:10px}.day-number{font-weight:700;font-size:15px;line-height:24px}.today .day-number{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;border-radius:50%;background:#215e69;color:#fff}.today-word{font-size:11px;color:#356873}.shift{padding:8px 7px;background:#e1f5f7;border-left:3px solid #61d0df;border-radius:5px;margin-top:6px;overflow-wrap:anywhere}.person{font-size:14px;font-weight:600;line-height:1.6;white-space:pre-line}.time{display:flex;flex-wrap:wrap;gap:0 2px;font-size:12px;font-variant-numeric:tabular-nums;color:#3f636b;margin-top:4px;line-height:1.5}.empty{font-size:12px;color:#6d8186;margin:0}.calendar-note{font-size:12px;color:var(--muted);margin:14px 0 24px}.loading{grid-column:1/-1;text-align:center;padding:60px 12px;color:var(--muted)}footer{border-top:1px solid #c8dce1;padding-top:14px;color:var(--muted);font-size:12px}footer p{margin:6px 0}[hidden]{display:none!important}@media(max-width:760px){main{padding:22px 16px}.title-row{flex-direction:column;align-items:flex-start;gap:22px;margin:26px 0 20px}h1{font-size:27px}.controls{width:100%}.controls>div{display:grid;grid-template-columns:minmax(0,1fr) auto}select{width:100%;min-width:0;font-size:16px}.day{padding:8px 4px;min-height:110px}.person{font-size:12px}.shift{padding:5px 3px;border-left-width:2px}.time{font-size:11px;flex-direction:column;gap:0}.time .separator{display:none}.day-heading{display:block;margin-bottom:7px}.today-word{display:none}.empty{font-size:11px}.week{font-size:12px}.day-number{font-size:13px}.brand{font-size:22px}.brand span{font-size:12px}.team{font-size:12px}.version{margin-left:5px;font-size:11px}}@media(max-width:370px){main{padding:16px 10px}.brand span{display:block;margin:3px 0 0}.day{padding:7px 2px}.shift{padding:4px 2px}.person{font-size:11px}.time{font-size:11px}.calendar{border-radius:8px}.controls>div{gap:8px}button{padding:10px}}
.day-note{font-size:11px;color:#85521b;line-height:1.5;margin:0 0 5px;overflow-wrap:anywhere}.source-status{background:#f0f1f1;border-left-color:#b1bec2;color:#52666c}.source-notes{font-size:13px;color:#526e75;white-space:pre-line;line-height:1.7;background:#e5f3f5;padding:12px 16px;border-radius:8px}.details{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:24px 0 30px;align-items:start}.detail-panel{min-width:0;background:#fff;border:1px solid #d6e5e8;border-radius:12px;padding:22px}.detail-panel h2{font-size:20px;margin:0}.detail-hint{font-size:12px;color:#526e75;line-height:1.7;margin:10px 0 18px}.detail-panel h3{font-size:15px;margin:0;font-weight:600}.unavailable-person{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;padding:13px 0;border-top:1px solid #e3ecee}.date-list{list-style:none;margin:0;padding:0;font-size:14px;line-height:1.8;white-space:pre-line;overflow-wrap:anywhere}.detail-empty{color:#6d8186;font-size:13px;margin:0;line-height:1.7}.hours-person{padding:13px 0;border-top:1px solid #e3ecee}.hours-line{display:flex;align-items:center;justify-content:space-between;gap:14px}.hours-value{font-size:19px;color:#215e69;font-variant-numeric:tabular-nums;text-align:right;overflow-wrap:anywhere}.hours-notes{font-size:12px;color:#526e75;line-height:1.7;white-space:pre-line;overflow-wrap:anywhere;margin:8px 0 0}@media(max-width:760px){.details{grid-template-columns:1fr;gap:18px}.detail-panel{padding:18px}.unavailable-person{grid-template-columns:75px minmax(0,1fr)}.hours-value{font-size:18px}}
.day-note{color:#b42332;font-weight:700}
[data-person-key]{font-weight:700}
