@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap";:root{font-family:Inter,Noto Sans SC,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#182438;background:#eef3fa;color-scheme:light;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#eef3fa url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='1600'%20height='1000'%20viewBox='0%200%201600%201000'%20preserveAspectRatio='xMidYMid%20slice'%3e%3cdefs%3e%3clinearGradient%20id='base'%20x1='0'%20y1='0'%20x2='1'%20y2='1'%3e%3cstop%20offset='0'%20stop-color='%23f4f8fe'/%3e%3cstop%20offset='0.5'%20stop-color='%23ebf2fb'/%3e%3cstop%20offset='1'%20stop-color='%23e4edfa'/%3e%3c/linearGradient%3e%3cradialGradient%20id='blue'%20cx='0.5'%20cy='0.5'%20r='0.5'%3e%3cstop%20offset='0'%20stop-color='%2377aaf2'%20stop-opacity='0.6'/%3e%3cstop%20offset='0.55'%20stop-color='%2377aaf2'%20stop-opacity='0.24'/%3e%3cstop%20offset='1'%20stop-color='%2377aaf2'%20stop-opacity='0'/%3e%3c/radialGradient%3e%3cradialGradient%20id='teal'%20cx='0.5'%20cy='0.5'%20r='0.5'%3e%3cstop%20offset='0'%20stop-color='%234bbfa9'%20stop-opacity='0.45'/%3e%3cstop%20offset='1'%20stop-color='%234bbfa9'%20stop-opacity='0'/%3e%3c/radialGradient%3e%3cradialGradient%20id='violet'%20cx='0.5'%20cy='0.5'%20r='0.5'%3e%3cstop%20offset='0'%20stop-color='%239b86f0'%20stop-opacity='0.5'/%3e%3cstop%20offset='1'%20stop-color='%239b86f0'%20stop-opacity='0'/%3e%3c/radialGradient%3e%3cradialGradient%20id='sand'%20cx='0.5'%20cy='0.5'%20r='0.5'%3e%3cstop%20offset='0'%20stop-color='%23f0b273'%20stop-opacity='0.4'/%3e%3cstop%20offset='1'%20stop-color='%23f0b273'%20stop-opacity='0'/%3e%3c/radialGradient%3e%3cpattern%20id='dots'%20width='26'%20height='26'%20patternUnits='userSpaceOnUse'%3e%3ccircle%20cx='1.3'%20cy='1.3'%20r='1.3'%20fill='%2354749c'%20fill-opacity='0.09'/%3e%3c/pattern%3e%3clinearGradient%20id='wave'%20x1='0'%20y1='0'%20x2='0'%20y2='1'%3e%3cstop%20offset='0'%20stop-color='%23cfe0f4'%20stop-opacity='0.6'/%3e%3cstop%20offset='1'%20stop-color='%23cfe0f4'%20stop-opacity='0.2'/%3e%3c/linearGradient%3e%3c/defs%3e%3crect%20width='1600'%20height='1000'%20fill='url(%23base)'/%3e%3cellipse%20cx='430'%20cy='80'%20rx='540'%20ry='440'%20fill='url(%23blue)'/%3e%3cellipse%20cx='1200'%20cy='90'%20rx='520'%20ry='430'%20fill='url(%23violet)'/%3e%3cellipse%20cx='1120'%20cy='880'%20rx='620'%20ry='500'%20fill='url(%23teal)'/%3e%3cellipse%20cx='380'%20cy='950'%20rx='540'%20ry='440'%20fill='url(%23sand)'/%3e%3cellipse%20cx='800'%20cy='500'%20rx='520'%20ry='380'%20fill='url(%23blue)'%20opacity='0.45'/%3e%3crect%20width='1600'%20height='1000'%20fill='url(%23dots)'/%3e%3ccircle%20cx='1210'%20cy='230'%20r='130'%20fill='none'%20stroke='%237ea9e6'%20stroke-opacity='0.35'%20stroke-width='1.4'/%3e%3ccircle%20cx='1210'%20cy='230'%20r='196'%20fill='none'%20stroke='%237ea9e6'%20stroke-opacity='0.2'%20stroke-width='1.4'/%3e%3ccircle%20cx='1210'%20cy='230'%20r='262'%20fill='none'%20stroke='%237ea9e6'%20stroke-opacity='0.1'%20stroke-width='1.4'/%3e%3ccircle%20cx='390'%20cy='770'%20r='110'%20fill='none'%20stroke='%239a86e8'%20stroke-opacity='0.25'%20stroke-width='1.4'/%3e%3ccircle%20cx='390'%20cy='770'%20r='168'%20fill='none'%20stroke='%239a86e8'%20stroke-opacity='0.14'%20stroke-width='1.4'/%3e%3cpath%20d='M0%20812%20C%20260%20748,%20468%20876,%20742%20824%20S%201268%20716,%201600%20800%20L%201600%201000%20L%200%201000%20Z'%20fill='url(%23wave)'/%3e%3cpath%20d='M0%20872%20C%20300%20820,%20540%20930,%20840%20884%20S%201330%20812,%201600%20872%20L%201600%201000%20L%200%201000%20Z'%20fill='%23d3e2f5'%20fill-opacity='0.35'/%3e%3c/svg%3e") center / cover no-repeat fixed}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}.app-shell{min-height:100vh}.topbar{position:sticky;top:0;z-index:30;height:76px;background:#ffffffc7;backdrop-filter:saturate(1.4) blur(16px);-webkit-backdrop-filter:saturate(1.4) blur(16px);border-bottom:1px solid rgba(226,233,242,.9);box-shadow:0 10px 30px #233c5c0f;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 max(28px,calc((100vw - 1440px)/2))}.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;color:#fff;font-size:20px;font-weight:800;flex-shrink:0;background:linear-gradient(145deg,#2878ed,#1553c7);box-shadow:0 5px 14px #2168d533}.brand h1{margin:0;font-size:18px;letter-spacing:.2px}.brand p{margin:3px 0 0;color:#98a4b5;font-size:9px;letter-spacing:1.5px;font-weight:700}.topbar-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.admin-name{color:#6f7f94;font-size:11px;margin-right:4px}.btn{border:0;border-radius:10px;padding:10px 15px;font-size:13px;font-weight:600;transition:background .18s,box-shadow .18s,transform .12s;white-space:nowrap}.btn:active:not(:disabled){transform:translateY(1px)}.btn:focus-visible{outline:2px solid #7fa9ef;outline-offset:2px}.btn-light{background:#f2f5fae6;color:#526176;border:1px solid #e7ecf3}.btn-light:hover{background:#eaf0f8;border-color:#dbe4ef;box-shadow:0 3px 8px #233c5c0f}.btn-primary{color:#fff;background:#246be5;box-shadow:0 5px 14px #246be540,inset 0 1px #ffffff2e}.btn-primary:hover{background:#1559ce;box-shadow:0 7px 18px #246be552,inset 0 1px #ffffff2e}.refresh-icon{font-size:17px;vertical-align:-1px;margin-right:5px}main{max-width:1440px;margin:0 auto;padding:28px}.panel{background:#ffffffd9;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(228,235,245,.9);border-radius:18px;box-shadow:0 18px 45px #233c5c1a,0 2px 6px #233c5c0a;padding:21px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:17px}.panel-heading h2{margin:0;font-size:16px}.panel-heading p{margin:5px 0 0;color:#96a2b3;font-size:11px}.count-tag{padding:5px 9px;border-radius:20px;background:#eef4ff;color:#3973d4;font-size:10px;font-weight:600;white-space:nowrap}.schedule-page{max-width:880px;margin:0 auto}.today-strip{display:flex;align-items:center;gap:10px;padding:14px 16px;margin-bottom:14px;border:1px solid #d9e6fa;border-radius:13px;background:linear-gradient(120deg,#f4f8fff5,#e8f1ffeb);box-shadow:0 6px 18px #3479e512}.today-strip.excluded{border-color:#f2e3c8;background:linear-gradient(120deg,#fffaf1f5,#fff5e6eb);box-shadow:0 6px 18px #b9791a12}.today-strip-label{color:#7f8da1;font-size:10px;font-weight:700;letter-spacing:1px}.today-strip strong{color:#1e3a63;font-size:16px}.today-strip.excluded strong{color:#8a5a12}.today-strip-date{margin-left:auto;color:#8a97a9;font-size:11px;white-space:nowrap}.month-range{display:flex;align-items:center;gap:8px;padding:12px;border-radius:13px;background:#f7f9fceb;border:1px solid #e7edf5;box-shadow:inset 0 1px 2px #233c5c08;margin-bottom:13px}.month-range input[type=month]{width:150px}.month-nav{width:38px;height:38px;padding:0;font-size:18px;line-height:1;flex-shrink:0}.month-range .btn-range{margin-left:auto}input,select{min-width:0;height:38px;border:1px solid #e2e8f0;border-radius:9px;padding:0 10px;outline:none;color:#27364b;background:#fff;font-size:12px;transition:border-color .18s,box-shadow .18s}input:hover,select:hover{border-color:#cdd8e6}input:focus,select:focus{border-color:#6c9cec;box-shadow:0 0 0 3px #2878ed1a}input[type=month]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.5}input[type=month]:hover::-webkit-calendar-picker-indicator{opacity:.8}.btn-range{height:38px;padding:0 14px}.calendar{border:1px solid #e6ecf4;border-radius:14px;overflow:hidden;background:#fffffff5;box-shadow:0 8px 24px #233c5c0d}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:linear-gradient(180deg,#f8fafd,#f3f7fc);border-bottom:1px solid #e9eef5}.calendar-weekdays span{padding:9px 0;text-align:center;color:#8a97a9;font-size:11px;font-weight:700}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-cell{min-height:88px;padding:7px 8px;display:flex;flex-direction:column;gap:6px;background:#fff;border-right:1px solid #f0f3f7;border-bottom:1px solid #f0f3f7;transition:background .15s}.calendar-cell:nth-child(7n){border-right:0}.calendar-cell:nth-last-child(-n+7){border-bottom:0}.calendar-cell.is-blank{background:#fafbfc}.calendar-cell:not(.is-blank):hover{background:#f6faff}.calendar-cell.is-weekend{background:#fcfdff}.calendar-cell.is-excluded{background:#fffdf8}.calendar-cell.is-excluded:hover{background:#fffaf1}.calendar-cell.is-past{background:#f6f7f9}.calendar-cell.is-past:hover{background:#f3f4f7}.calendar-cell.is-today{background:linear-gradient(180deg,#f3f8ff,#eaf2ff);box-shadow:inset 0 0 0 2px #5b8fe9}.calendar-cell.is-today:hover{background:linear-gradient(180deg,#edf4ff,#e3edff)}.calendar-day{display:flex;align-items:center;justify-content:space-between;gap:4px;color:#33445c;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}.calendar-duty{display:flex;flex-wrap:wrap;align-items:center;gap:5px;font-size:12px}.duty-name-text{color:#33445c;font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-cell .exclude-tag{padding:2px 6px;font-size:9px}.calendar-cell .today-tag{white-space:nowrap}.calendar-cell .exclude-remark{width:100%;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-cell.is-past .calendar-day{color:#a7b1bf}.calendar-cell.is-past .duty-name-text{color:#a9b3c1;font-weight:500}.calendar-cell.is-past .avatar{background:#eef0f3;color:#a7b1bf}.calendar-cell.is-past .exclude-tag{background:#f0f1f4;color:#a2acba}.calendar-cell.is-past .exclude-remark{color:#b3bcc8}.calendar-cell.is-past .muted{color:#b4bdc9}.today-tag{color:#1f7a4f;background:#e3f5ec;font-size:9px;font-weight:700;padding:1px 6px;border-radius:20px}.avatar{width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#eef4fd,#e2ecfb);color:#3b6fb9;font-size:12px;font-weight:700;flex-shrink:0;border:1px solid #dfe9f8}.avatar.small{width:23px;height:23px;font-size:10px}.exclude-tag{padding:3px 8px;border-radius:6px;background:#fff4e5;color:#b9791a;font-size:10px;font-weight:700;white-space:nowrap}.exclude-remark{color:#9aa6b5;font-size:11px}.muted{color:#a4afbd;font-size:11px}.admin-page{max-width:1240px;margin:0 auto}.admin-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.admin-bar h2{margin:0;font-size:19px}.admin-bar p{margin:5px 0 0;color:#96a2b3;font-size:11px}.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.add-user{display:flex;gap:8px;margin-bottom:12px}.add-user input{flex:1}.people-list{display:flex;flex-direction:column;gap:6px;max-height:520px;overflow-y:auto}.person-row{min-height:47px;padding:6px 8px;display:flex;align-items:center;gap:10px;border:1px solid #edf0f5;border-radius:10px;background:#fff;transition:border-color .15s,background .15s,box-shadow .15s}.person-row:hover{border-color:#dbe6f6;box-shadow:0 3px 10px #233c5c0d}.person-row.on-duty{border-color:#b9d2f7;background:#f6faff}.person-order{color:#a1adbd;font-size:11px;font-weight:700;width:20px}.person-name{flex:1;font-size:12px;font-weight:600}.person-badge{padding:3px 7px;border-radius:20px;background:#e8f2ff;color:#2f6fd3;font-size:9px;font-weight:700;white-space:nowrap}.person-actions{display:flex;gap:4px}.icon-btn{width:27px;height:27px;border:1px solid #e8edf4;border-radius:7px;background:#fff;color:#61728a;font-size:15px;line-height:1}.icon-btn:hover:not(:disabled){background:#f0f5ff;border-color:#c9d9f5;color:#286bd7}.icon-btn.delete-btn{color:#d16b70}.icon-btn.delete-btn:hover:not(:disabled){background:#fff1f1;border-color:#f2d1d1}.exclude-form{margin-bottom:12px}.exclude-form-row{display:flex;gap:8px}.exclude-form-row input[type=date]{width:142px;flex-shrink:0}.exclude-form-row input[placeholder]{flex:1}.exclusion-list{display:flex;flex-direction:column;gap:6px;max-height:520px;overflow-y:auto}.exclusion-row{min-height:44px;padding:6px 8px;display:flex;align-items:center;gap:11px;border:1px solid #f0eadf;border-radius:10px;background:#fffdf8;transition:border-color .15s,box-shadow .15s}.exclusion-row:hover{border-color:#eadfc9;box-shadow:0 3px 10px #b9791a0f}.exclusion-date{min-width:96px;display:flex;flex-direction:column;gap:3px}.exclusion-date strong{font-size:11px}.exclusion-remark{flex:1;color:#6d7c90;font-size:11px}.hint{margin-top:12px;color:#9aa6b5;font-size:10px;line-height:1.6}.notice{padding:11px 14px;border-radius:9px;margin:0 0 15px;font-size:12px}.notice.error{color:#a33c42;background:#fff0f0;border:1px solid #f7d7d8}.notice.success{color:#23764e;background:#edfaf3;border:1px solid #d2f0df}.empty-state{min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#8d9aac;gap:8px}.empty-state strong{color:#53647a;font-size:13px}.empty-state span,.empty-small{font-size:11px}.empty-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:#f0f4fa;color:#91a4bd;font-weight:700;font-size:17px;margin-bottom:4px}.empty-small{color:#99a5b4;padding:15px 5px}footer{text-align:center;padding:25px 0 10px;color:#8996a8;font-size:10px;letter-spacing:.3px}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:grid;place-items:center;padding:18px;background:#0d1b2e66;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.login-dialog{width:min(420px,100%);background:#fff;border-radius:16px;padding:24px;box-shadow:0 20px 60px #0b1c3333}.login-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.login-head h2{margin:0;font-size:18px}.login-hint{color:#96a2b3;font-size:11px;line-height:1.6;margin:8px 0 18px}.login-field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px;color:#8a97a9;font-size:11px}.login-field input{height:40px}.login-submit{width:100%;height:40px;margin-top:4px}@media (max-width: 980px){main{padding:20px}.admin-grid{grid-template-columns:1fr}}@media (max-width: 640px){.topbar{height:66px;padding:0 15px}.brand h1{font-size:15px}.brand p{display:none}.brand-mark{width:36px;height:36px}.admin-name{display:none}.btn{padding:8px 10px;font-size:11px}main{padding:15px}.panel{padding:15px}.today-strip{flex-wrap:wrap}.today-strip-date{margin-left:0;width:100%}.month-range{flex-wrap:wrap}.month-range input[type=month]{flex:1;width:auto}.month-range .btn-range{margin-left:0}.calendar-weekdays span{padding:7px 0;font-size:10px}.calendar-cell{min-height:66px;padding:5px 4px;gap:4px}.calendar-day{font-size:11px}.calendar-duty{font-size:10px;gap:3px}.calendar-duty .avatar.small{display:none}.duty-name-text{font-size:10px}.calendar-cell .exclude-tag{padding:1px 4px;font-size:9px}.admin-bar,.exclude-form-row{flex-wrap:wrap}.exclude-form-row input[type=date]{width:100%}.exclude-form-row input[placeholder]{min-width:100px}}
