*{box-sizing:border-box;margin:0;padding:0}body{color:#1a1a1a;background:#fafafa;font-family:-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:15px}h2{margin-bottom:16px;font-size:19px;font-weight:600}h3{margin-bottom:6px;font-size:15px;font-weight:600}.muted{color:#888;font-size:13px}.error-text{color:#d33}code{background:#eee;border-radius:4px;padding:1px 5px;font-size:12px}.auth-screen{background:#f2f4f7;justify-content:center;align-items:center;min-height:100vh;display:flex}.auth-card{background:#fff;border-radius:14px;width:340px;padding:32px;box-shadow:0 4px 24px #0000000f}.auth-logo{text-align:center;margin-bottom:20px;font-size:20px;font-weight:700}.auth-tabs{background:#f1f1f1;border-radius:8px;margin-bottom:18px;padding:3px;display:flex}.auth-tab{cursor:pointer;color:#888;background:0 0;border:none;border-radius:6px;flex:1;padding:7px;font-family:inherit;font-size:13px}.auth-tab.active{color:#1a1a1a;background:#fff;font-weight:600;box-shadow:0 1px 3px #00000014}.auth-form{flex-direction:column;gap:4px;display:flex}.auth-form label{color:#888;margin-top:8px;font-size:12px}.auth-form input{border:1px solid #ddd;border-radius:8px;outline:none;height:38px;padding:0 12px;font-family:inherit;font-size:14px}.auth-form input:focus{border-color:#2481cc}.auth-hint{color:#aaa;text-align:center;margin-top:12px;font-size:11px;line-height:1.6}.app-screen{flex-direction:column;min-height:100vh;display:flex}.topbar{background:#fff;border-bottom:1px solid #eee;flex-shrink:0;align-items:center;gap:16px;height:52px;padding:0 20px;display:flex}.logo{font-size:15px;font-weight:600}.role-switch{background:#f1f1f1;border-radius:8px;gap:4px;padding:3px;display:flex}.role-btn{cursor:pointer;color:#888;background:0 0;border:none;border-radius:6px;padding:5px 11px;font-family:inherit;font-size:12px}.role-btn.active{color:#2481cc;background:#fff;font-weight:600;box-shadow:0 1px 3px #00000014}.topbar-right{align-items:center;gap:10px;margin-left:auto;display:flex}.topbar-user{color:#555;font-size:13px}.avatar{color:#2481cc;background:#e8f2fc;border-radius:50%;justify-content:center;align-items:center;width:30px;height:30px;font-size:11px;font-weight:700;display:flex}.layout{flex:1;min-height:0;display:flex}.sidebar{background:#fff;border-right:1px solid #eee;flex-shrink:0;width:200px;padding:12px 8px}.nav-item{cursor:pointer;color:#555;border-radius:8px;margin-bottom:2px;padding:9px 12px;font-size:14px}.nav-item:hover{background:#f5f5f5}.nav-item.active{color:#2481cc;background:#e8f2fc;font-weight:600}.main{flex:1;padding:24px 28px;overflow-y:auto}.card{background:#fff;border:1px solid #eee;border-radius:12px;margin-bottom:14px;padding:16px 18px}.grid2{grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px;display:grid}.metric-card{background:#f7f7f8;border-radius:10px;padding:14px 16px}.ml{color:#888;margin-bottom:3px;font-size:12px}.mv{font-size:24px;font-weight:700}.section-head{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.row{border-bottom:1px solid #f0f0f0;justify-content:space-between;align-items:center;padding:8px 0;font-size:14px;display:flex}.row:last-child{border-bottom:none}table{border-collapse:collapse;width:100%;font-size:14px}th{text-align:left;color:#888;border-bottom:1px solid #eee;padding:8px 10px;font-size:12px;font-weight:600}td{border-bottom:1px solid #f2f2f2;padding:10px}tr:last-child td{border-bottom:none}.badge{border-radius:5px;padding:2px 8px;font-size:12px;font-weight:600;display:inline-block}.badge.green{color:#1a9e50;background:#e8f9ed}.badge.amber{color:#c47a00;background:#fff5e6}.badge.blue{color:#2481cc;background:#e8f2fc}.badge.gray{color:#888;background:#f1f1f1}.btn{cursor:pointer;color:#1a1a1a;background:#fff;border:1px solid #ddd;border-radius:8px;align-items:center;gap:6px;padding:8px 14px;font-family:inherit;font-size:13px;display:inline-flex}.btn:hover{background:#f7f7f7}.btn-primary{color:#fff;background:#2481cc;border-color:#2481cc}.btn-primary:hover{background:#1c6ea8}.btn-sm{padding:5px 10px;font-size:12px}.chips{gap:6px;margin-bottom:14px;display:flex}.time-chip{color:#2481cc;white-space:nowrap;background:#e8f2fc;border-radius:6px;flex-shrink:0;padding:4px 10px;font-size:12px;font-weight:600}.att-pair{gap:4px;display:flex}.att-btn{cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:6px;width:30px;height:30px;font-size:14px}.att-btn.present{color:#1a9e50;background:#e8f9ed;border-color:#1a9e50}.att-btn.absent{color:#d33;background:#fff0ef;border-color:#d33}.loading{color:#aaa;text-align:center;padding:40px}.toast{color:#fff;opacity:0;pointer-events:none;z-index:999;background:#1a1a1a;border-radius:8px;padding:10px 16px;font-size:13px;transition:opacity .2s;position:fixed;top:16px;right:16px}.toast.show{opacity:1}.toast.error{background:#d33}.date-field{align-items:center;gap:6px;display:flex}.date-field-input{border:1px solid #ddd;border-radius:8px;flex:1;height:36px;padding:0 10px;font-family:inherit;font-size:14px}.date-field-input:focus{border-color:#2481cc;outline:none}.date-field-btn{cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:8px;flex-shrink:0;width:36px;height:36px;font-size:15px}.date-field-btn:hover{background:#f7f7f7}.date-popup{z-index:1000;background:#fff;border:1px solid #ddd;border-radius:10px;width:260px;padding:10px;position:absolute;box-shadow:0 8px 24px #00000026}.dp-header{gap:6px;margin-bottom:8px;display:flex}.dp-header select{border:1px solid #ddd;border-radius:6px;flex:1;height:30px;font-family:inherit;font-size:12px}.dp-weekdays{color:#999;text-align:center;grid-template-columns:repeat(7,1fr);margin-bottom:4px;font-size:10px;display:grid}.dp-grid{grid-template-columns:repeat(7,1fr);gap:2px;display:grid}.dp-day{aspect-ratio:1;cursor:pointer;border-radius:5px;justify-content:center;align-items:center;font-size:12px;display:flex}.dp-day:not(.dp-empty):hover{background:#f0f0f0}.dp-day.dp-selected{color:#fff;background:#2481cc}.dp-day.dp-today:not(.dp-selected){border:1px solid #2481cc}.dp-day.dp-empty{cursor:default}.modal-overlay{z-index:500;background:#00000059;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal-box{background:#fff;border-radius:14px;width:420px;max-width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 12px 40px #0003}.modal-head{border-bottom:1px solid #eee;justify-content:space-between;align-items:center;padding:16px 18px;display:flex}.modal-head h3{margin:0;font-size:16px}.modal-close{cursor:pointer;color:#999;background:0 0;border:none;padding:4px 8px;font-size:16px}.modal-close:hover{color:#1a1a1a}.modal-body{padding:18px}.form-group{margin-bottom:14px}.form-group label{color:#888;margin-bottom:5px;font-size:12px;display:block}.form-group input[type=text],.form-group input[type=time],.form-group input[type=number],.form-group select{border:1px solid #ddd;border-radius:8px;width:100%;height:36px;padding:0 10px;font-family:inherit;font-size:14px}.form-actions{justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.sched-cal{grid-template-columns:repeat(7,1fr);gap:4px;display:grid}.sched-cal-head{color:#999;text-align:center;padding-bottom:4px;font-size:11px}.sched-day{cursor:pointer;border:1px solid #eee;border-radius:6px;min-height:56px;padding:4px;font-size:11px;position:relative}.sched-day:hover{border-color:#2481cc}.sched-day.holiday{background:#fff0ef}.sched-day.holiday .sched-day-num{color:#d33;font-weight:700}.sched-day.weekend{background:#f5f5f5}.sched-day.weekend .sched-day-num{color:#999}.sched-day.working-weekend .sched-day-num{color:#2481cc;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.sched-day.has-session{background:#e8f2fc;border-color:#2481cc}.sched-day.empty-cell{cursor:default;border:none}.sched-day-num{font-weight:500}.sched-day-price{color:#2481cc;margin-top:2px;font-size:9px}
