:root{--orange:#ff7a1a;--ink:#171a1f;--gray:#6c7280;--line:#e2e5eb;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#f3f4f6}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a.button{border:0;border-radius:8px;padding:11px 16px;cursor:pointer;text-decoration:none;background:var(--orange);color:#fff;font-weight:700}button.secondary,a.secondary{background:#e7e9ed;color:#222}button:disabled{opacity:.5;cursor:wait}input,textarea,select{width:100%;padding:10px;border:1px solid #cbd0da;border-radius:7px;background:#fff}label{display:block;font-size:13px;color:#555;margin:10px 0 5px}textarea{min-height:90px;resize:vertical}header{display:flex;align-items:center;gap:18px;background:#22262c;color:#fff;padding:12px 24px;min-height:68px;flex-wrap:wrap}header img{width:165px;background:white;padding:5px;border-radius:5px}header a{color:#fff;text-decoration:none}header .grow{flex:1}.wrap{max-width:1250px;margin:28px auto;padding:0 20px}.card{background:#fff;border-radius:14px;padding:24px;box-shadow:0 5px 22px #1521390c}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.actions,.tabs{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:18px 0}.tabs button{background:#e6e8ed;color:#222}.tabs button.active{background:#222;color:#fff}.row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.full{grid-column:1/-1}.muted{color:var(--gray);font-size:13px}.error{color:#b42222}#status{min-height:24px;margin:10px 0;font-weight:600}.job-row{display:flex;align-items:center;gap:16px;border-bottom:1px solid var(--line);padding:16px 6px;cursor:pointer}.job-row:hover{background:#fff6ed}.job-row .grow{flex:1}.pill{padding:5px 10px;border-radius:30px;background:#eceef3;font-size:12px}.color-dot{width:13px;height:38px;border-radius:6px}.files{display:flex;gap:10px;flex-wrap:wrap}.files img{width:120px;height:95px;object-fit:cover;border-radius:7px}.file-card{border:1px solid var(--line);padding:8px;border-radius:7px;display:flex;flex-direction:column;gap:6px}.file-card a{color:#333}.file-card button{padding:4px 8px;font-size:12px;background:#e8e9ec;color:#333}dialog{border:0;border-radius:14px;max-width:1000px;width:95vw;max-height:92vh;box-shadow:0 20px 60px #0005}dialog::backdrop{background:#0009}.login{max-width:450px;margin:10vh auto}.home{min-height:100vh;background:linear-gradient(135deg,#111a,#10131fe6),url('fond-accueil.jpg');background-size:cover;background-position:center;color:#fff}.home .wrap{padding-top:8vh}.home h1{font-size:44px;margin:0 0 12px}.module{color:#fff;text-decoration:none;min-height:170px;padding:26px;background:#ffffff14;border:1px solid #ffffff29;border-radius:18px;backdrop-filter:blur(6px);transition:.15s}.module:hover{background:#ffffff25;transform:translateY(-3px)}.module svg{width:40px;height:40px;stroke:var(--orange);fill:none;stroke-width:1.8}.module h2{margin:15px 0 8px}.test-banner{font-size:12px;background:#ff7a1a;color:#171a1f;text-align:center;padding:5px}.home-link{display:block;background:#24282e;color:#fff;padding:8px 18px;text-decoration:none}.readonly-note{padding:12px;background:#fff5e8;border-left:3px solid var(--orange)}@media(max-width:650px){.row{grid-template-columns:1fr}.home h1{font-size:30px}header{padding:10px 14px}.wrap{margin:18px auto}.card{padding:16px}}

body:not(.home){background:linear-gradient(135deg,#23272d,#15191f);color:#eef0f3;min-height:100vh}.card{background:#292e36;color:#f0f1f3;box-shadow:0 8px 28px #0003;border:1px solid #404752}.card .muted{color:#b9c0cc}.card h1,.card h2{color:#fff}.tabs button{background:#3a414d;color:#e9edf4}.tabs button.active{background:#ff7a1a;color:#161a20}.job-row{border-color:#464d59}.job-row:hover{background:#343b46}.pill{background:#404957;color:#f1f3f6}.card input{border-color:#4e5664}.category-preview{display:flex;align-items:center;gap:10px;margin:12px 0}.category-swatch{width:22px;height:22px;border-radius:5px;display:inline-block}.subtle-link{font-size:12px;color:#a74700}.category-field{background:#f0f3f7;border:1px solid #d9dfe8;border-radius:10px;padding:14px}.form-feedback{min-height:28px;color:#913a00;font-weight:700;padding:8px 0}.card .error{color:#ffaca7}#status:not(.error){color:#ffb76f}.login{background:#fff;color:#222}.login h1{color:#222}.login .muted{color:#666}.employee-days .day-card{color:#222}#reportDialog{color:#222}dialog{color:#222}.card .actions .secondary{background:#414b59;color:white}

body.petersbach{background:linear-gradient(135deg,#111a,#10131fe6),url('/muller-gestion/assets/fond-accueil.jpg') center/cover fixed!important;min-height:100vh}body.petersbach .card{background:#252c36e8;backdrop-filter:blur(5px)}header>a:not(:has(img)),header .back-link{border:1px solid #ffffff40;background:#ffffff0c;border-radius:8px;padding:9px 13px;box-shadow:inset 0 1px #ffffff12;transition:.15s}header>a:not(:has(img)):hover{background:#ff7a1a22;border-color:#ff7a1a}button.danger{background:#a73333;color:white;border:1px solid #d86565}

.report-badge{display:inline-block;border-radius:6px;padding:5px 8px;font-size:12px;text-decoration:none;background:#535d6a;color:#fff}.review-pending{background:#a72e2e!important;color:#fff!important;padding:5px 8px;border-radius:5px}.review-approved{background:#28723e!important;color:#fff!important;padding:5px 8px;border-radius:5px}#reportMessage{font-weight:bold;color:#276b3b;padding:10px}#reportsTab{border:1px solid #738092}

#reportSearch{max-width:420px}#reportOverview{font-size:14px}

body[data-mode="reports"] .actions label{color:#dce1e9}

.test-banner{display:none!important}
