:root{font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo",sans-serif;color:#182436;background:#f3f6fa}*{box-sizing:border-box}body{margin:0}main{max-width:650px;margin:auto;padding:22px 14px 50px}header,.controls,.actions{display:flex;align-items:center;justify-content:space-between;gap:9px}header h1{font-size:22px;margin:3px 0 18px}small{color:#64748b;font-size:12px}button,select,.upload{font:inherit;border:1px solid #d9e0e9;background:white;border-radius:10px;padding:10px 12px;color:#172b47;cursor:pointer}button:active,.upload:active{opacity:.7}.controls{background:white;border-radius:16px;padding:9px;margin-bottom:12px}.controls strong{flex:1;text-align:center}.controls select{width:80px}nav{display:flex;gap:7px;margin-bottom:12px}nav button{flex:1}nav .active,.primary{background:#1f5c9c;color:white;border-color:#1f5c9c}#calendar,#all,.panel{background:white;border-radius:16px;padding:12px;margin-bottom:13px;box-shadow:0 2px 12px #192e4a0b}.week,.days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.week div{text-align:center;color:#64748b;font-size:12px;padding:8px 0}.week div:first-child{color:#d34a58}.day{height:68px;padding:5px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid transparent;border-radius:10px;background:#f5f7fa;position:relative}.day span{font-size:12px}.day b{font-size:16px}.day.selected,.shift.selected{outline:2px solid #1f5c9c;background:#e8f1fb}.day.edited:after,.shift.edited:after{content:'✎';font-size:10px;position:absolute;right:3px;top:2px;color:#64748b}.empty{background:none}.D{color:#e34c62}.A{color:#d58b12}.N{color:#149b81}.T{color:#1688ce}.X,.SL1,.SL2,.V{color:#6c7888}.legend{font-size:12px;line-height:2;color:#637085;text-align:center;margin:10px 0 17px}.panel h2{font-size:17px;margin:3px 0 8px}.panel p{font-size:13px;color:#6c7888}.codes{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:15px 0}.codes button{padding:13px 0;font-weight:700}.codes button.chosen{border:2px solid #1f5c9c;background:#e8f1fb}.panel label:not(.upload){display:block;font-size:13px;margin-bottom:6px}.panel input:not([type=file]){width:100%;padding:12px;border:1px solid #d9e0e9;border-radius:10px;font:inherit;margin-bottom:12px}.actions{justify-content:flex-start;flex-wrap:wrap}.upload{display:inline-block;font-size:14px}#all{overflow-x:auto}.table{display:grid;grid-template-columns:42px repeat(6,minmax(37px,1fr));gap:3px;min-width:300px}.cell{min-height:38px;display:flex;align-items:center;justify-content:center;background:#f5f7fa;border:0;border-radius:5px;padding:4px 1px;font-size:13px;position:relative}.head{background:#e9eef5;font-weight:700}.date{font-size:12px}footer{text-align:center;color:#8a96a6;font-size:11px;padding:10px}
