.agenda-main{max-width:1440px;margin:auto;padding:38px 24px 70px}.agenda-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.agenda-title h1{margin-bottom:8px}.calendar-card{background:#101d31;color:#e8eef8;border-radius:22px;padding:20px;box-shadow:0 20px 60px rgba(13,33,55,.18);margin-bottom:28px}.calendar-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:16px}.week-nav,.view-switch{display:flex;align-items:center;gap:8px}.week-nav a,.view-switch a{color:#cbd7e7;border:1px solid #2c3a50;border-radius:9px;padding:8px 12px}.week-nav strong{min-width:180px;text-align:center}.view-switch{background:#17243a;padding:4px;border-radius:10px}.view-switch a{border:0;padding:7px 14px}.view-switch a.active{background:#635bdb;color:#fff}.calendar-legend{display:flex;justify-content:flex-end;gap:18px;color:#aebbd0;font-size:.76rem;margin:8px 0 18px}.calendar-legend span:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px}.scheduled-dot:before{background:#7ba7e1}.progress-dot:before{background:#f0b35d}.blocked-dot:before{background:#e16a9e}.done-dot:before{background:#48c99a}.week-calendar{display:grid;grid-template-columns:repeat(6,minmax(170px,1fr));border:1px solid #26364e;border-radius:16px;overflow:auto}.calendar-day{min-height:360px;border-right:1px solid #26364e;background:#132136}.calendar-day:last-child{border-right:0}.calendar-day>header{text-align:center;padding:15px;border-bottom:1px solid #26364e}.calendar-day>header span{display:block;color:#8fa0b8;font-size:.7rem;font-weight:800}.calendar-day>header strong{font-size:1.15rem}.calendar-day.today>header strong{display:inline-grid;place-items:center;width:32px;height:32px;background:#635bdb;border-radius:50%}.calendar-day>div{padding:9px}.available-slot{display:block;text-align:center;padding:13px 8px;border-radius:9px;background:#e8fff6;color:#288467;font-size:.8rem;font-weight:700}.appointment{padding:11px;border-radius:10px;background:#edf3fb;color:#1b293b;margin-bottom:8px;border-left:4px solid #7ba7e1;font-size:.78rem}.appointment.status-in_progress,.appointment.status-on_route{background:#fff4df;border-color:#f0b35d}.appointment.status-blocked,.appointment.status-cancelled{background:#ffe9f2;border-color:#e16a9e}.appointment.status-completed{background:#e4fbf2;border-color:#48c99a}.appointment-time{font-weight:800;color:#53667e;margin-bottom:5px}.appointment p{margin:3px 0}.appointment small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.appointment details{margin-top:8px}.appointment summary{cursor:pointer;color:#496986}.appointment details form{display:inline-block;margin-left:8px}.appointment select{max-width:135px;padding:5px;border-radius:6px}.day-list{border:1px solid #26364e;border-radius:14px;overflow:hidden}.tech-row{display:grid;grid-template-columns:240px 1fr;border-bottom:1px solid #26364e;min-height:110px}.tech-row:last-child{border:0}.tech-person{display:flex;gap:12px;align-items:center;padding:20px;background:#132136}.tech-person>span{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:#635bdb;font-weight:800}.tech-person small{display:block;color:#91a3bc;margin-top:4px}.tech-schedule{display:flex;gap:10px;padding:14px;overflow:auto}.tech-schedule .appointment{min-width:220px;margin:0}.tech-schedule .available-slot{min-width:180px;align-self:center}.month-calendar{display:grid;grid-template-columns:repeat(7,1fr);border:1px solid #26364e}.month-calendar>b{text-align:center;padding:10px;color:#91a3bc;font-size:.72rem}.month-day{min-height:125px;padding:9px;border-top:1px solid #26364e;border-right:1px solid #26364e}.month-day:nth-child(7n){border-right:0}.month-day>a{display:flex;justify-content:space-between;color:#fff}.month-day a small{color:#91a3bc}.month-day.outside{opacity:.35}.month-event{display:block;margin-top:6px;padding:5px;border-radius:5px;background:#263a55;color:#dbe7f5;font-size:.68rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.month-event.status-completed{background:#176b55}.month-event.status-blocked,.month-event.status-cancelled{background:#743652}.appointment-form{scroll-margin-top:20px}.form-heading{display:flex;justify-content:space-between;margin-bottom:18px}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.form-grid .wide{grid-column:1/-1}.appointment-form select{width:100%;border:1px solid #cbd5da;border-radius:10px;padding:12px 14px;background:#fff}.admin-header nav a:first-child{font-weight:800;color:var(--navy)}@media(max-width:1000px){.week-calendar{grid-template-columns:repeat(6,210px)}.form-grid{grid-template-columns:1fr 1fr}.tech-row{grid-template-columns:190px 1fr}.month-calendar{min-width:850px}.calendar-card{overflow:auto}}@media(max-width:680px){.agenda-main{padding:25px 14px}.agenda-title,.calendar-toolbar{align-items:flex-start;flex-direction:column}.calendar-legend{justify-content:flex-start;flex-wrap:wrap}.tech-row{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.admin-header nav a:not(:first-child):not(:last-child){display:none}.month-calendar{min-width:760px}}
.schedule-auth{background:radial-gradient(circle at 18% 16%,rgba(66,211,161,.16),transparent 30%),linear-gradient(135deg,#081524,#10243a);min-height:100vh}.schedule-auth .brand{color:#fff}.schedule-auth .brand-mark{width:44px;height:44px;background:#42d3a1;color:#092033;font-size:.72rem}.schedule-auth .auth-card{border:0;box-shadow:0 28px 80px rgba(0,0,0,.28)}.admin-header nav a[href="?page=admin"]{display:none}
.screen-actions{display:flex;align-items:center;gap:10px}.screen-actions form{display:inline}.display-screen{min-height:100vh;background:#091526;color:#eef5ff;padding:28px 34px 18px;font-family:Inter,system-ui,sans-serif}.display-screen>header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #263850;padding-bottom:20px}.display-brand{display:flex;align-items:center;gap:14px}.display-brand>span{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:#43d3a2;color:#092033;font-weight:900}.display-brand strong{display:block;font-size:1.15rem}.display-brand small{color:#95a8c0}.display-date{text-align:right}.display-date strong,.display-date span{display:block}.display-date span{font-size:2rem;font-weight:800;color:#43d3a2}.display-heading{display:flex;justify-content:space-between;align-items:end;padding:26px 0 18px}.display-heading p{font-size:.72rem;letter-spacing:.15em;color:#43d3a2;font-weight:800;margin:0 0 6px}.display-heading h1{font-size:1.5rem;margin:0}.display-legend{display:flex;gap:18px;color:#a9b8cb;font-size:.75rem}.display-legend span:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px}.display-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(430px,1fr));gap:18px}.display-tech{border:1px solid #263850;background:#101f33;border-radius:18px;overflow:hidden}.display-tech>header{display:flex;align-items:center;gap:12px;padding:17px 19px;background:#14263d}.display-avatar{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#665ce4;font-weight:900}.display-tech h2{font-size:1rem;margin:0}.display-tech header span{font-size:.72rem;color:#95a8c0}.display-jobs{padding:10px}.display-job{display:grid;grid-template-columns:64px 1fr auto;align-items:center;gap:12px;padding:13px;border-radius:11px;background:#eaf2fc;color:#15263b;margin-bottom:8px;border-left:5px solid #7ba7e1}.display-job.status-in_progress,.display-job.status-on_route{background:#fff2d9;border-color:#f0b35d}.display-job.status-completed{background:#e2faef;border-color:#43d3a2}.display-job.status-blocked{background:#ffe5ef;border-color:#e16a9e}.display-job time{font-size:1.05rem;font-weight:900}.display-job strong{font-size:.88rem}.display-job p{margin:3px 0 0;font-size:.7rem;color:#5a6c80;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:420px}.display-job>span{font-size:.67rem;font-weight:800}.display-empty{grid-column:1/-1;text-align:center;padding:90px 20px;border:1px dashed #334964;border-radius:18px;color:#95a8c0;font-size:1.2rem}.display-screen>footer{color:#62768f;padding:18px 0 0}.screens-page select{width:100%;border:1px solid #cbd5da;border-radius:10px;padding:12px 14px;background:#fff}@media(max-width:760px){.display-screen{padding:18px}.display-heading{align-items:flex-start;flex-direction:column;gap:15px}.display-grid{grid-template-columns:1fr}.display-job{grid-template-columns:55px 1fr}.display-job>span{grid-column:2}.display-legend{flex-wrap:wrap}}
.month-day{position:relative}.month-add{position:absolute;right:9px;bottom:9px;width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#e8fff6;color:#23795f!important;font-size:1.2rem;font-weight:800;opacity:.75;transition:.15s}.month-day:hover .month-add,.month-add:focus{opacity:1;transform:scale(1.06);box-shadow:0 5px 18px rgba(67,211,162,.25)}
.hours-page select{width:100%;border:1px solid #cbd5da;border-radius:10px;padding:12px 14px;background:#fff}.time-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.configured-slot{display:block;padding:10px 11px;margin-bottom:8px;border-radius:9px;background:#e8fff6;color:#23795f;border-left:4px solid #43d3a2}.configured-slot strong,.configured-slot span{display:block}.configured-slot strong{font-size:.78rem}.configured-slot span{font-size:.7rem;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.no-slots{text-align:center;padding:18px 6px;color:#667b94;font-size:.72rem}@media(max-width:620px){.time-pair{grid-template-columns:1fr}}
.appointment-form label:has(input[name="address"]){display:none}
