.pn-tour{position:fixed;margin:0;padding:24px;border:1px solid #dbdfc7;border-radius:20px;background:#fffcf1;color:#203426;width:min(390px,calc(100% - 28px));max-height:calc(100svh - 28px);overflow:auto;box-shadow:0 24px 80px #081b1840;z-index:19000}.pn-tour::backdrop{background:#10261718}.pn-tour:has(.pn-tour-logo:not([hidden]))::backdrop{background:#102617a0;backdrop-filter:blur(3px)}.pn-tour[open]{animation:tourReveal .24s ease-out}.pn-tour-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.pn-tour-top .eyebrow{font-size:8px;letter-spacing:1.2px}.pn-tour-top button{background:none;border:0;padding:7px 0;font-size:10px;color:#7b866c;cursor:pointer}.pn-tour-logo{display:block;width:80px;height:110px;object-fit:contain;margin:14px auto 8px;background:#142c1b;border-radius:13px}.pn-tour [hidden],.pn-tour-spot[hidden]{display:none!important}.pn-tour h2{font:700 28px/1.12 Georgia,serif;margin:17px 0 14px;letter-spacing:-.6px}.pn-tour-copy{font:12px/1.8 Inter,sans-serif;color:#596a50;margin:0}.pn-tour-tip{font:10px/1.7 Inter,sans-serif;background:#eff3df;border-left:3px solid #d6b744;border-radius:0 7px 7px 0;padding:10px 12px;color:#647346;margin:17px 0}.pn-tour-meter{height:4px;background:#e7ecd9;border-radius:6px;overflow:hidden;margin:20px 0}.pn-tour-meter span{display:block;height:100%;background:linear-gradient(90deg,#357744,#b4b94b);border-radius:6px;transition:width .3s}.pn-tour-actions{display:flex;gap:10px;justify-content:flex-end}.pn-tour-primary,.pn-tour-secondary{border:1px solid #dbe2ca;border-radius:9px;padding:11px 15px;font:600 11px Inter,sans-serif;cursor:pointer}.pn-tour-primary{background:#216c3a;color:white;border-color:#216c3a}.pn-tour-secondary{background:white;color:#637253}.pn-tour-spot{position:fixed;pointer-events:none;border:2px solid #efce60;border-radius:12px;box-shadow:0 0 0 9999px #0b2116b0,0 0 26px #e5cf6133;z-index:18000;transition:left .2s,top .2s,width .2s,height .2s}@keyframes tourReveal{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}@media(max-width:640px){.pn-tour{padding:18px}.pn-tour h2{font-size:24px}.pn-tour-copy{font-size:11px}.pn-tour-logo{width:65px;height:85px}.pn-tour-tip{margin:12px 0}.pn-tour-meter{margin:14px 0}.pn-tour-spot{transition:none}}@media(prefers-reduced-motion:reduce){.pn-tour[open]{animation:none}.pn-tour-spot,.pn-tour-meter span{transition:none}}
.pn-tour-exercise { margin:16px 0; padding:14px; border:1px dashed #9aae7d; border-radius:12px; background:#f6f8e9; }
.pn-tour-demo-label { display:block; font-size:9px; letter-spacing:1px; font-weight:750; color:#66794c; margin-bottom:12px; }
.pn-tour-feedback { font-size:11px; color:#286b39; line-height:1.6; margin:10px 0 0; }
.pn-tour-example { padding:12px; background:white; border-radius:8px; font-size:12px; line-height:1.65; }
.pn-tour-check { display:flex; align-items:center; gap:10px; font-size:12px; line-height:1.5; cursor:pointer; }
.pn-tour-check input { width:20px; height:20px; flex-shrink:0; }
.pn-tour-primary:disabled { opacity:.45; cursor:not-allowed; }
.employee-workflow { padding:20px; margin-bottom:22px; border:1px solid #e4d5ad; border-radius:16px; background:#fffaf0; }
.employee-workflow.is-on-duty { border-color:#b9d6aa; background:#f3f8e9; }
.employee-workflow-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; }
.employee-workflow-heading strong { font-family:Georgia,serif; font-size:19px; }
#employeeDutyStatus { padding:5px 10px; border-radius:20px; background:#f1e6c8; color:#735818; font-size:11px; font-weight:700; }
.is-on-duty #employeeDutyStatus { background:#d9edce; color:#216537; }
.employee-workflow p { font-size:12px; line-height:1.7; color:var(--text-dim); }
.employee-workflow-steps { display:flex; flex-wrap:wrap; gap:10px 30px; padding-left:20px; margin:16px 0; font-size:12px; color:var(--text-dim); }
.employee-workflow-actions { display:flex; flex-wrap:wrap; gap:8px; }
@media(max-width:640px){.employee-workflow{padding:16px}.employee-workflow-actions button{flex:1 1 135px}.employee-workflow-steps{display:block}.employee-workflow-steps li{margin-bottom:7px}}
/* Bilan du jour de l'employé + rappel sonore */
.employee-day-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)) auto; gap:10px; align-items:stretch; margin:14px 0 6px; }
.employee-day-stats .eds-item { display:flex; flex-direction:column; gap:4px; padding:10px 14px; border:1px solid var(--line,#dfe5d6); border-radius:10px; background:var(--panel-2,#f6f8f1); min-width:0; }
.employee-day-stats .eds-item span { font-size:10.5px; letter-spacing:.6px; text-transform:uppercase; color:var(--text-dim,#64735e); }
.employee-day-stats .eds-item strong { font:700 20px/1.2 Georgia,serif; color:var(--accent,#1d4a2c); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.employee-day-stats .eds-next strong { font-size:16px; }
/* Interrupteur du rappel sonore : piste + curseur, vert quand activé */
.employee-day-stats .eds-sound { align-self:center; display:inline-flex; align-items:center; gap:10px; min-height:40px; padding:6px 8px 6px 14px; border:1px solid #cfdcc2; border-radius:999px; background:linear-gradient(180deg,#f7faf2,#eef4e6); color:#1d4a2c; font-family:inherit; font-size:12.5px; font-weight:600; line-height:1.2; white-space:nowrap; cursor:pointer; box-shadow:0 1px 0 #fff inset,0 2px 6px rgba(29,74,44,.08); transition:background .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease,transform .1s ease; }
.employee-day-stats .eds-sound::after { content:''; flex:none; width:36px; height:20px; border-radius:999px; background:radial-gradient(circle,#fff 7px,transparent 7.5px) no-repeat 16px 0 / 20px 20px,#2f7a45; box-shadow:inset 0 1px 2px rgba(0,0,0,.2); transition:background-position .22s ease,background-color .22s ease; }
.employee-day-stats .eds-sound:hover { border-color:#9fbb88; box-shadow:0 1px 0 #fff inset,0 4px 10px rgba(29,74,44,.12); }
.employee-day-stats .eds-sound:active { transform:scale(.97); }
.employee-day-stats .eds-sound[aria-pressed="false"] { background:#f3f3ef; border-color:#d9dbd2; color:#6a7066; box-shadow:none; }
.employee-day-stats .eds-sound[aria-pressed="false"]::after { background-position:0 0; background-color:#b9beb2; }
.employee-day-stats .eds-sound:focus-visible { outline:2px solid #1d4a2c; outline-offset:3px; }
@media (prefers-reduced-motion:reduce){ .employee-day-stats .eds-sound,.employee-day-stats .eds-sound::after { transition:none; } }
@media (max-width:760px){ .employee-day-stats { grid-template-columns:repeat(2,minmax(0,1fr)); } .employee-day-stats .eds-next { grid-column:1 / -1; } .employee-day-stats .eds-sound { grid-column:1 / -1; justify-self:start; } }
