/* HR HAMMER EG calm look. Test copy. One accent colour, neutral surfaces, hairline cards, soft shadow.
   Basic CSS only (Chrome 109). Screen only; print untouched. */
@media screen{
html{--np:#fffdf8;--np2:#f6f1e7;--np3:#ece5d4;--nl:#e3dccb;--nt:#1b2622;--nt2:#55625b;--nacc:#2f6f5e;--acs:#e1eee9;--ncha:#c3dcd3;--nbt:#fffdf8;--ngap:#fbf1d8;--ndash:#f6f1e7;--nbg:#f6f1e7;--nrow:#faf6ec;--wbg:#f4e3c0;--wtx:#7a4e00;--csh:0 2px 8px #3b33210f;--nglow:none}
html.dark{--np:#15211d;--np2:#1a2823;--np3:#22342d;--nl:#26362f;--nt:#f1f5f2;--nt2:#b4c3bb;--nacc:#5fd0a8;--acs:#1c3a30;--ncha:#25493c;--nbt:#0e1714;--ngap:#2a2312;--ndash:#0e1714;--nbg:#0e1714;--nrow:#18261f;--wbg:#3a2d12;--wtx:#e8b04a;--csh:0 2px 10px #0006;
 --bg:#0e1714;--ink:#f1f5f2;--ink2:#b4c3bb;--line:#26362f;--line2:#35493f;--soft:#1a2823;--blue-soft:#22342d;--teal:#5fd0a8;--teal2:#5fd0a8}
html,body,html.dark body,body.dark{background:var(--nbg)!important;color:var(--nt)!important}
header.top,html body header.top{background:var(--np)!important;background-image:none!important;border-bottom:1px solid var(--nl)!important;color:var(--nt)!important}
header.top h1,header.top p,header.top a,header.top .idtext *{color:var(--nt)!important}
.theme-toggle{background:var(--acs)!important;color:var(--nacc)!important;border:1px solid var(--nl)!important;border-radius:999px!important;font-weight:700!important}
.privacy{background:var(--np)!important;color:var(--nt)!important;border:1px solid var(--nl)!important;border-radius:14px!important;box-shadow:var(--csh)}
.privacy *{color:var(--nt)!important}.privacy a{color:var(--nacc)!important;text-decoration:underline}
.mahdy-fb-page-link{background:var(--np)!important}.mahdy-fb-page-link a{color:var(--nacc)!important;font-weight:700}
html body #nav.tabs,html body.layout-side #side-stack #nav.tabs{background:var(--np)!important;border:1px solid var(--nl)!important;border-radius:18px!important;box-shadow:var(--csh)!important}
html body #nav.tabs a{color:var(--nt2)!important;font-weight:700!important;font-size:17px!important;border-radius:12px!important;background:transparent!important}
html body #nav.tabs a svg{stroke:var(--nt2)!important;color:var(--nt2)!important;stroke-width:2!important}
html body #nav.tabs a:hover{background:var(--np2)!important}
html body #nav.tabs a.sel{background:var(--acs)!important;color:var(--nacc)!important;box-shadow:none!important}
html body #nav.tabs a.sel svg{stroke:var(--nacc)!important;color:var(--nacc)!important}
#subnav.tabs{background:transparent!important;border:0!important}
#subnav.tabs a{background:var(--np)!important;color:var(--nt2)!important;border:1px solid var(--nl)!important;border-radius:999px!important;font-weight:700!important}
#subnav.tabs a svg{stroke:var(--nt2)!important;color:var(--nt2)!important}
#subnav.tabs a.sel{background:var(--nacc)!important;color:var(--nbt)!important;border-color:var(--nacc)!important}
#subnav.tabs a.sel svg{stroke:var(--nbt)!important;color:var(--nbt)!important}
.top-clock{background:var(--np)!important;color:var(--nt)!important;border:1px solid var(--nl)!important;border-radius:16px!important}.top-clock *{color:var(--nt)!important}
#view .card,#view section.card{background:var(--np)!important;color:var(--nt)!important;border:1px solid var(--nl)!important;border-radius:16px!important;box-shadow:var(--csh)!important}
#view .card h1,#view .card h2,#view .card h3,#view h2,#view h3{color:var(--nt)!important;font-weight:700!important}
#view .card h2{font-size:25px!important}
#view .card p,#view .card li,#view .card label,#view .card span,#view .card small,#view .card div,#view .note,#view .hint,#view .muted{color:var(--nt2)}
#view .card b,#view .card strong{color:var(--nt)}
#view .card a:not(.btn){color:var(--nacc)!important}
#view input,#view select,#view textarea,.modal input,.modal select,.modal textarea{background:var(--np)!important;color:var(--nt)!important;border:1px solid var(--nl)!important;border-radius:10px!important;font-size:17px!important}
#view input::placeholder,.modal input::placeholder{color:var(--nt2)!important;opacity:.8}
#view input:focus,#view select:focus,#view textarea:focus,.modal input:focus,.modal select:focus{outline:0!important;border-color:var(--nacc)!important;box-shadow:0 0 0 3px var(--acs)!important}
#view option,.modal option{background:var(--np);color:var(--nt)}
#view label{color:var(--nt)!important;font-weight:700}
#view table{background:var(--np)!important;color:var(--nt)!important;border-color:var(--nl)!important}
#view th{background:var(--np2)!important;color:var(--nt2)!important;font-weight:700!important;border-color:var(--nl)!important;font-size:15px!important}
#view td{background:var(--np)!important;color:var(--nt)!important;border-color:var(--nl)!important;font-size:17px!important}
#view tbody tr:nth-child(even) td{background:var(--nrow)!important}
#view tbody tr:hover td{background:var(--acs)!important}
#view td *,#view th *{color:inherit}
.btn{font-weight:700!important;border-radius:10px!important;border:1px solid var(--nl)!important;background:var(--acs)!important;color:var(--nacc)!important;box-shadow:none!important}
.btn.primary,.btn.pri{background:var(--nacc)!important;color:var(--nbt)!important;border-color:var(--nacc)!important}
.btn.danger,.btn.bad{background:var(--wbg)!important;color:var(--wtx)!important}
.btn:hover{filter:brightness(.96)}
.btn svg{stroke:currentColor!important;color:inherit!important}
#view .badge,#view .tag,#view .pill,#view .dx-st{background:var(--np3)!important;color:var(--nt)!important;border:1px solid var(--nl)!important;font-weight:700}
#view .ok{color:#2f6f5e!important}html.dark #view .ok{color:#5fd0a8!important}#view .bad{color:#b4443a!important}html.dark #view .bad{color:#ff8f86!important}#view .warn{color:var(--wtx)!important}
#modal-root .modal,.modal{background:var(--np)!important;color:var(--nt)!important;border:1px solid var(--nl)!important;border-radius:18px!important;box-shadow:0 12px 40px #0004!important}
.modal *{color:inherit}.modal h2,.modal h3,.modal label{color:var(--nt)!important}.modal .btn{color:var(--nacc)!important}.modal .btn.primary{color:var(--nbt)!important}
footer.foot,footer.foot *{color:var(--nt2)!important;background:transparent!important}footer.foot a{color:var(--nacc)!important}
#view .pm-exbar,#view .hol-ref,#view .hol-work,#view .pm-step,#view .pm-save-status,#view .pm-route,#view .hol-notice,#view details,#view .dx-mid,#view .dx-tstats,#view .overtime-label,#view .al-ok{background:var(--np2)!important;color:var(--nt)!important;border:1px solid var(--nl)!important;border-radius:12px!important}
#view .pm-step.cur{background:var(--acs)!important;border-color:var(--nacc)!important}
#view .pm-step *,#view .pm-route *,#view .hol-notice *,#view details *,#view .pm-exbar *,#view .hol-ref *{color:inherit}
html.dark #view .dx-m{background:var(--np3)!important}
.asst-fab,#asst-fab{background:var(--nacc)!important;color:var(--nbt)!important}
html .btn,html.dark .btn,html body .btn{background:var(--np)!important;color:var(--nacc)!important;border:1px solid var(--nacc)!important;box-shadow:none!important;text-shadow:none!important}
html .btn.primary,html .btn.pri,html.dark .btn.primary,html.dark .btn.pri{background:var(--nacc)!important;color:var(--nbt)!important;border-color:var(--nacc)!important;box-shadow:none!important}
html .btn.danger,html .btn.bad,html.dark .btn.danger,html.dark .btn.bad{background:var(--wbg)!important;color:var(--wtx)!important;border-color:var(--wtx)!important;box-shadow:none!important}
html .btn:hover,html.dark .btn:hover{background:var(--acs)!important}
html .btn.primary:hover,html.dark .btn.primary:hover{background:var(--nacc)!important;filter:brightness(1.08)}
html .btn.is-disabled,html .btn:disabled{opacity:.5!important}
html .modal .btn{color:var(--nacc)!important}html .modal .btn.primary{color:var(--nbt)!important}
html.dark #subnav.tabs a,html.dark .tabs a{box-shadow:none!important}
html body header.top,html.dark body header.top,html body.dashboard-home header.top,html.dark body.dashboard-home header.top{background:var(--np)!important;background-image:none!important;border:0!important;border-bottom:1px solid var(--nl)!important;box-shadow:none!important;color:var(--nt)!important}
html body.dashboard-home header.top .bdesc,html.dark body.dashboard-home header.top .bdesc,html body header.top .bdesc{color:var(--nt2)!important}
/* ---- light motion: fade in, smooth mode switch. Skipped if the browser can't or the user asks. ---- */
@keyframes calmIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
#view .card,body.dashboard-home #view .dx-k,body.dashboard-home #view .dx-card,body.dashboard-home #view .dash-section,body.dashboard-home #view .dx-head{animation:calmIn .45s ease both}
body.dashboard-home #view .dx-k:nth-child(2){animation-delay:.06s}body.dashboard-home #view .dx-k:nth-child(3){animation-delay:.12s}body.dashboard-home #view .dx-k:nth-child(4){animation-delay:.18s}
html.calm-t,html.calm-t *{transition:background-color .35s ease,color .35s ease,border-color .35s ease,box-shadow .35s ease!important}
/* ---- text size ---- */
html.fs1 #app{zoom:1.1}html.fs2 #app{zoom:1.22}
/* ---- appearance pill ---- */
#calm-ap{position:fixed;bottom:14px;right:14px;z-index:9999;display:flex;gap:4px;background:var(--np);border:1px solid var(--nl);border-radius:999px;padding:4px;box-shadow:var(--csh);font-family:inherit}
#calm-ap button{border:0;background:transparent;color:var(--nt2);font:700 14px/1 inherit;padding:8px 12px;border-radius:999px;cursor:pointer;min-width:34px}
#calm-ap button.on{background:var(--nacc);color:var(--nbt)}
}
@media (prefers-reduced-motion:reduce){#view .card,body.dashboard-home #view *{animation:none!important}}
/* ---- clearer inner windows (v4) ---- */
@media screen{
html{--mpan:#fffefb;--mfld:#ffffff;--mfb:#9db3aa;--msec:#f3f7f4;--mov:rgba(40,55,48,.28)}
html.dark{--mpan:#26362f;--mfld:#34493f;--mfb:#86a595;--msec:#2d4037;--mov:rgba(0,0,0,.42)}
html body .overlay,html body #modal-root .overlay,html body div.overlay{background:var(--mov)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body .modal,html body #modal-root .modal,html.dark body .modal{background:var(--mpan)!important;background-image:none!important;color:var(--nt)!important;border:1px solid var(--mfb)!important;box-shadow:0 10px 36px rgba(0,0,0,.28)!important}
html body .modal :is(.modal-head,.modal-foot,.modal-actions,.sticky,.foot,.actions,header,footer){background:var(--mpan)!important;background-image:none!important;border-color:var(--nl)!important}
html body .modal fieldset,html body .modal .sec,html body .modal .box,html body .modal .card,html body .modal .note,html body .modal .photo,html body .modal .photo-box,html body .modal [class*=photo],html body .modal [class*=avatar]{background:var(--msec)!important;background-image:none!important;border-color:var(--mfb)!important;color:var(--nt)!important}
html body .modal legend{background:var(--mpan)!important;background-image:none!important;color:var(--nacc)!important;border:1px solid var(--mfb)!important;border-radius:10px;padding:2px 12px;font-weight:800}
html body .modal input,html body .modal select,html body .modal textarea,html.dark body .modal input,html.dark body .modal select,html.dark body .modal textarea{background:var(--mfld)!important;background-image:none!important;color:var(--nt)!important;border:1.5px solid var(--mfb)!important;-webkit-text-fill-color:var(--nt)}
html body .modal input::placeholder,html body .modal textarea::placeholder{color:var(--nt2)!important;opacity:1!important;-webkit-text-fill-color:var(--nt2)}
html body .modal label,html body .modal p,html body .modal small,html body .modal span,html body .modal td,html body .modal th,html body .modal li,html body .modal div{color:var(--nt)!important}
html body .modal .btn,html body .modal button{background:var(--mfld)!important;border:1.5px solid var(--nacc)!important;color:var(--nacc)!important;box-shadow:none!important}
html body .modal .btn.primary,html body .modal button.primary{background:var(--nacc)!important;color:var(--nbt)!important}
html body .modal .btn.danger,html body .modal button.danger,html body .modal .btn.del{color:#b4551a!important;border-color:#b4551a!important}
html.dark body .modal .btn.danger,html.dark body .modal button.danger,html.dark body .modal .btn.del{color:#ffb86b!important;border-color:#ffb86b!important}
html body .modal .btn.primary *,html body .modal button.primary *{color:var(--nbt)!important}
html body .overlay,html body #modal-root .overlay,html body div.overlay{background:var(--mov)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body #modal-root .modal,html body #modal-root .modal,html.dark body #modal-root .modal{background:var(--mpan)!important;background-image:none!important;color:var(--nt)!important;border:1px solid var(--mfb)!important;box-shadow:0 10px 36px rgba(0,0,0,.28)!important}
html body #modal-root .modal :is(.mhead,.mfoot,.mbody,.modal-head,.modal-foot,.modal-actions,.sticky,.foot,.actions,header,footer){background:var(--mpan)!important;background-image:none!important;border-color:var(--nl)!important}
html body #modal-root .modal fieldset,html body #modal-root .modal .sec,html body #modal-root .modal .box,html body #modal-root .modal .card,html body #modal-root .modal .note,html body #modal-root .modal .photo,html body #modal-root .modal .photo-box,html body #modal-root .modal [class*=photo],html body #modal-root .modal [class*=avatar]{background:var(--msec)!important;background-image:none!important;border-color:var(--mfb)!important;color:var(--nt)!important}
html body #modal-root .modal legend{background:var(--mpan)!important;background-image:none!important;color:var(--nacc)!important;border:1px solid var(--mfb)!important;border-radius:10px;padding:2px 12px;font-weight:800}
html body #modal-root .modal input,html body #modal-root .modal select,html body #modal-root .modal textarea,html.dark body #modal-root .modal input,html.dark body #modal-root .modal select,html.dark body #modal-root .modal textarea{background:var(--mfld)!important;background-image:none!important;color:var(--nt)!important;border:1.5px solid var(--mfb)!important;-webkit-text-fill-color:var(--nt)}
html body #modal-root .modal input::placeholder,html body #modal-root .modal textarea::placeholder{color:var(--nt2)!important;opacity:1!important;-webkit-text-fill-color:var(--nt2)}
html body #modal-root .modal label,html body #modal-root .modal p,html body #modal-root .modal small,html body #modal-root .modal span,html body #modal-root .modal td,html body #modal-root .modal th,html body #modal-root .modal li,html body #modal-root .modal div{color:var(--nt)!important}
html body #modal-root .modal .btn,html body #modal-root .modal button{background:var(--mfld)!important;border:1.5px solid var(--nacc)!important;color:var(--nacc)!important;box-shadow:none!important}
html body #modal-root .modal .btn.primary,html body #modal-root .modal button.primary{background:var(--nacc)!important;color:var(--nbt)!important}
html body #modal-root .modal .btn.danger,html body #modal-root .modal button.danger,html body #modal-root .modal .btn.del{color:#b4551a!important;border-color:#b4551a!important}
html.dark body #modal-root .modal .btn.danger,html.dark body #modal-root .modal button.danger,html.dark body #modal-root .modal .btn.del{color:#ffb86b!important;border-color:#ffb86b!important}
html body #modal-root .modal .btn.primary *,html body #modal-root .modal button.primary *{color:var(--nbt)!important}
html body #modal-root .modal .mhead,html body #modal-root .modal .mfoot,html.dark body #modal-root .modal .mhead,html.dark body #modal-root .modal .mfoot{background:var(--mpan)!important;background-image:none!important;border-color:var(--mfb)!important}
html body #modal-root .modal .photo-box,html.dark body #modal-root .modal .photo-box{background:var(--mfld)!important;border-color:var(--mfb)!important}
html body #modal-root .modal .photo-box *,html.dark body #modal-root .modal .photo-box *{background:transparent!important}
html body aside.al-notice,html.dark body aside.al-notice{background:var(--mpan)!important;background-image:none!important;border:1.5px solid var(--mfb)!important;color:var(--nt)!important;box-shadow:0 8px 28px rgba(0,0,0,.3)!important}
html body aside.al-notice *,html.dark body aside.al-notice *{color:var(--nt)!important}
html body aside.al-notice .al-notice-head,html.dark body aside.al-notice .al-notice-head{background:var(--msec)!important;background-image:none!important}
html body aside.al-notice .al-notice-icon,html.dark body aside.al-notice .al-notice-icon{background:var(--nacc)!important;color:var(--nbt)!important}
html body aside.al-notice .al-notice-icon *,html.dark body aside.al-notice .al-notice-icon *{color:var(--nbt)!important}
html body aside.al-notice button,html body aside.al-notice [data-notice],html.dark body aside.al-notice button,html.dark body aside.al-notice [data-notice]{background:var(--mfld)!important;background-image:none!important;border:1.5px solid var(--mfb)!important}
}

@media print{#calm-ap{display:none!important}}
