:root{--ink:#183130;--muted:#6c7f7d;--teal:#15776e;--line:#dfe7e3;--paper:#f4f6f3;--nav:#112f2d;--gold:#cfab69}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Segoe UI',Arial,sans-serif;font-size:14px;line-height:1.5}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button,.primary,.secondary,.icon-button{border-radius:7px;border:1px solid transparent;padding:10px 16px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}.primary{background:var(--teal);color:white}.primary:hover{background:#105f58}.secondary,.icon-button{background:white;border-color:#d5dfda}.secondary:hover,.icon-button:hover{background:#f0f5f2}.link{padding:0;background:none;color:var(--muted);border:0}.link:hover{text-decoration:underline}.sidebar{width:242px;position:fixed;inset:0 auto 0 0;background:var(--nav);color:#d9e5df;padding:35px 22px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:13px;font-size:21px;letter-spacing:3px;font-weight:650}.brand small{display:block;font-size:9px;letter-spacing:1.7px;font-weight:400}.shield{width:42px;height:48px;border:1px solid var(--gold);border-radius:7px 7px 19px 19px;display:grid;place-items:center;color:var(--gold);font-family:Georgia,serif;font-size:29px}.nav-label{font-size:9px;letter-spacing:1.5px;color:#91aaa2;margin:53px 6px 15px}.sidebar nav a{display:flex;gap:13px;align-items:center;padding:13px 12px;margin:5px 0;border-radius:6px;color:#aec7be}.sidebar nav a.active,.sidebar nav a:hover{background:#254944;color:#fff}.sidebar nav a.active{box-shadow:inset 3px 0 var(--gold)}.sidebar-bottom{margin-top:auto;border-top:1px solid #34534d;padding-top:22px;font-size:12px;color:#b5ccc3}.sidebar-bottom small{display:block;font-size:10px;margin-top:7px;color:#89a39a}.live-dot{display:inline-block;width:6px;height:6px;background:#76baa5;border-radius:50%;margin-right:6px}.workspace{margin-left:242px}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 36px;font-size:12px}.account{display:flex;gap:14px;align-items:center}.account a{font-weight:600}.badge{background:#eaf1ec;color:#536e62;font-size:10px;padding:4px 8px;border-radius:5px}main{padding:34px 36px 24px;max-width:1900px;margin:auto}h1,h2,h3,p{margin-top:0}h1{font-family:Georgia,'Times New Roman',serif;font-size:34px;font-weight:500;letter-spacing:-.7px;line-height:1.2;margin:8px 0 12px}h2{font-size:16px;font-weight:650;margin-bottom:12px}p{color:#667b75}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.8px;color:var(--teal)}.title-dot{color:var(--teal)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.page-heading p{margin-bottom:0}.actions{display:flex;gap:10px}.muted{color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.stat{background:#fff;border:1px solid var(--line);border-radius:9px;padding:20px 22px;position:relative}.stat>span{font-size:9px;letter-spacing:1.2px;color:#6b8076;font-weight:650}.stat strong{display:block;font-size:29px;font-weight:600;margin:10px 0}.stat strong small{font-size:13px;font-weight:400;color:var(--muted)}.stat>div{font-size:11px;color:var(--muted)}.stat.accent{background:#eaf2ed;border-color:#cadfd3}.stat.accent strong{color:var(--teal)}.stat.warning strong{color:#ac692f}.panel{background:white;border:1px solid var(--line);border-radius:9px;padding:24px;margin-bottom:22px}.planning-panel{padding:0;overflow:hidden}.planning-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:21px 22px}.week-nav{display:flex;gap:12px;align-items:center}.week-nav h2{margin:0;font-size:15px}.week-nav .muted{font-size:10px}.icon-button{font-size:24px;line-height:1;padding:6px 11px}.today{font-size:11px;color:var(--teal);padding:6px}.filters{display:flex;gap:7px;align-items:center}.filters input,.filters select{font-size:11px;padding:9px;max-width:165px}.filters button{font-size:11px;padding:9px 12px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left}.calendar{table-layout:fixed;min-width:1020px}.calendar thead th{font-size:9px;letter-spacing:.8px;background:#f8faf7;padding:13px 12px;color:#708477;border-top:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center;vertical-align:top;height:90px}.calendar thead th strong{display:block;font-size:23px;font-weight:500;color:var(--ink);letter-spacing:0}.calendar thead th small{font-size:8px;letter-spacing:0;font-weight:400}.calendar .agent-col{width:205px;text-align:left;padding-left:20px}.calendar tbody th{font-size:12px;font-weight:600;vertical-align:top;padding-top:21px}.calendar tbody th small{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:4px}.avatar{display:inline-grid;place-items:center;background:#edf2ec;color:#68836f;border:1px solid #e1e9de;width:31px;height:31px;border-radius:50%;float:left;margin:0 10px 10px 0;font-size:10px}.calendar tbody td{padding:8px;vertical-align:top;height:130px;border-left:1px solid #edf0eb}.calendar tbody tr{border-bottom:1px solid var(--line)}.calendar .sunday{background:#fbf8f1}.calendar .is-today{background:#f0f8f3}.calendar thead .is-today strong{color:var(--teal)}.slot{display:block;background:#eaf4ec;border-left:3px solid #6e9d7b;border-radius:4px;padding:8px 7px;margin-bottom:6px;overflow:hidden;line-height:1.45}.slot span{display:block;font-size:9px;font-weight:600}.slot strong{display:block;font-size:11px;white-space:nowrap;font-weight:650}.slot small{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.slot:hover{filter:brightness(.96)}.slot.astreinte{border:1px dashed #ba8d49;border-left:3px solid #ba8d49;background:#fcf4e4;color:#85642e}.slot.intervention{background:#e9effb;border-color:#7b8fb9;color:#4f6293}.slot.absence{background:#f1f1f1;border-color:#a9b0b0;color:#6e7575}.add-slot{display:block;text-align:center;color:#a0b6aa;font-size:19px;border:1px dashed transparent;border-radius:4px;margin-top:4px}.add-slot:hover{border-color:#b4caba;background:#f2f7f2;color:var(--teal)}.legend{display:flex;flex-wrap:wrap;gap:18px;padding:14px 22px;font-size:10px}.legend span{display:flex;align-items:center;gap:6px}.legend i{width:8px;height:8px;border-radius:2px;background:#6e9d7b}.legend i.astreinte{background:#ba8d49}.legend i.intervention{background:#7b8fb9}.legend i.absence{background:#a9b0b0}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px}.section-heading h2{margin-bottom:5px}.section-heading p{font-size:11px;margin-bottom:0}.summary{font-size:12px}.summary thead th{font-size:10px;font-weight:500;color:var(--muted);padding:12px 10px;border-bottom:1px solid var(--line);white-space:nowrap;background:#f8faf8}.summary tbody th,.summary td{padding:15px 10px;border-bottom:1px solid #edf1ec;vertical-align:top}.summary tbody th{font-weight:600}.summary td{white-space:nowrap}.summary td:last-child{white-space:normal}.teal-text{color:var(--teal)}.alert-text{font-size:11px;color:#9b5d22;max-width:260px}.hint{font-size:11px;color:var(--muted);margin:16px 0 0;line-height:1.7}.empty-state{text-align:center;padding:46px 24px}.empty-icon{display:inline-grid;place-items:center;background:#edf4ed;color:var(--teal);border-radius:12px;width:54px;height:54px;font-size:30px;margin-bottom:16px}.empty-state h2{font-size:18px}.empty-state p{font-size:13px}.empty-cell{color:#c1cdc5;display:block;text-align:center;padding:23px}.two-columns{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px;align-items:start}.stack{display:flex;flex-direction:column;gap:18px}.stack h2{margin-bottom:0}.stack .hint{margin-top:-9px}label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600}input,select,textarea{width:100%;background:#fff;border:1px solid #d4ded7;border-radius:6px;padding:11px;color:var(--ink);min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #69a393;outline-offset:1px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.narrow{max-width:580px}.check{flex-direction:row;align-items:flex-start;font-weight:400;gap:12px}.check input{width:auto;margin-top:3px}.notice{background:#eef5ef;color:#336e56;border-left:3px solid #6b9e79;padding:14px;font-size:12px}.advice h2{margin-bottom:22px}.advice p{font-size:13px;line-height:1.8;margin-bottom:23px}.advice p:last-child{margin-bottom:0}.advice strong{color:var(--ink)}.separated{border-top:1px solid var(--line);padding-top:20px;margin-top:15px}.inline-edit{display:flex;gap:8px;margin-bottom:10px}.agent-edit{display:flex;align-items:end;gap:20px;border-bottom:1px solid var(--line);padding:18px 0}.agent-form{display:grid;grid-template-columns:2fr 1.6fr 1fr auto;gap:15px;align-items:end;flex:1}.agent-edit>.agent-form+form{padding-bottom:10px}.user-row{display:flex;justify-content:space-between;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}.user-row small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.danger-zone{background:#fffaf8}.danger{background:white;color:#a44836;border:1px solid #e5bfb4}.danger-text{color:#a44836}.flash{background:#e1eee3;border:1px solid #b5d1ba;padding:14px 18px;margin-bottom:22px;border-radius:6px;color:#276844}.flash.error{background:#fff1eb;border-color:#edc1b1;color:#a34932}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}footer{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;color:#88978e;padding:12px 36px 24px}footer span{letter-spacing:0}.public{min-height:100vh;background:radial-gradient(ellipse at 20% 0%,#e1ebe2 0%,#f5f6f1 65%)}.public main{min-height:calc(100vh - 50px);display:flex;align-items:center;justify-content:center;padding:40px 20px}.login-card{width:440px;background:white;border:1px solid #dbe5da;border-radius:14px;padding:42px;box-shadow:0 20px 80px #25462b0b}.login-card .large{margin:25px 0}.login-card h1{font-size:32px}.login-card>p{font-size:13px}.login-card form{display:flex;flex-direction:column;gap:20px;margin-top:28px}.full{width:100%}@media(min-width:1700px){.calendar .agent-col{width:235px}.slot strong{font-size:13px}.calendar tbody td{height:155px}}@media(max-width:1250px){.sidebar{width:205px;padding:30px 16px}.workspace{margin-left:205px}main{padding:28px 24px}.topbar{padding:0 24px}.planning-toolbar{flex-wrap:wrap}.stats{gap:10px}.stat{padding:17px 15px}.stat strong{font-size:25px}.page-heading{align-items:flex-start}.page-heading .actions{flex-direction:column}.brand{font-size:18px}.account .badge{display:none}.agent-form{grid-template-columns:1.5fr 1.5fr 1fr}.agent-form button{grid-column:1/-1}}@media(max-width:850px){.sidebar{position:relative;width:100%;padding:18px 20px;display:block}.brand{font-size:17px}.shield{height:37px;width:33px;font-size:23px}.nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;overflow:auto;gap:5px;margin-top:14px}.sidebar nav a{white-space:nowrap;margin:0;padding:9px 12px;font-size:12px}.workspace{margin-left:0}.topbar{padding:12px 20px;height:auto;gap:15px}.topbar>span{font-size:10px}.topbar>span .muted{display:none}.account{gap:12px;font-size:11px}main{padding:25px 20px}.stats{grid-template-columns:1fr 1fr}.two-columns{grid-template-columns:1fr;gap:0}.page-heading{flex-direction:column;gap:18px}.page-heading .actions{flex-direction:row}.filters{flex-wrap:wrap}.filters input,.filters select{max-width:150px}.panel{padding:20px}.planning-panel{padding:0}.agent-form{grid-template-columns:1fr 1fr}.agent-edit{align-items:center}.section-heading{align-items:flex-start}h1{font-size:29px}footer{padding:12px 20px 24px;font-size:8px}footer span{display:none}}@media(max-width:480px){.form-row{grid-template-columns:1fr}.login-card{padding:28px}.stats{gap:8px}.stat strong{font-size:22px}.stat>span{font-size:8px}.stat>div{font-size:10px}.agent-edit{display:block}.agent-edit>form:last-child{margin-top:14px}.week-nav{gap:8px}.week-nav h2{font-size:13px}.today{font-size:10px}.section-heading{flex-direction:column}.filters input,.filters select{max-width:130px}}@media print{@page{size:A4 landscape;margin:10mm}.sidebar,.topbar,footer,.actions,.filters,.add-slot,.today,.icon-button,.secondary,.primary{display:none!important}.workspace{margin:0}body{font-size:10px;background:white}main{padding:0}.page-heading{margin:0 0 15px}.stats{gap:5px}.stat{padding:10px}.stat strong{font-size:19px}.calendar{min-width:0}.calendar .agent-col{width:130px}.calendar tbody td{height:90px;padding:4px}.slot{padding:5px;print-color-adjust:exact}.slot strong{font-size:9px}.slot span{font-size:8px}.panel{padding:10px;margin-bottom:12px}.planning-panel{padding:0}.table-scroll{overflow:visible}.summary{font-size:9px}.summary th,.summary td{padding:8px 4px}.legend{padding:8px}.calendar thead th{font-size:8px;padding:8px 4px}.calendar tbody th{font-size:10px}.avatar{display:none}}
