/* The cleaner's phone app in the demo (phone.js): the field app's own sizes, colours and typeface
   (apps/web/src/components/m), drawn inside a phone. Navy and accent are the app's default colours. */
@media (max-width:860px){.sseg .wide{display:none}}
.mwrap{min-height:100vh;padding:calc(44px + 20px) 20px 20px;display:flex;align-items:center;justify-content:center;gap:clamp(28px,5vw,72px);background:radial-gradient(1200px 600px at 30% 0,#EAF4FC,#F4F7FA 60%);font-family:Inter,system-ui,sans-serif;box-sizing:border-box}
.mwrap *{box-sizing:border-box}
.mside{max-width:340px;color:#44546A;font-size:15px;line-height:1.55}
.mside p{margin:0;font-weight:700;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#1F78B4}
.mside h2{margin:10px 0 10px;font-weight:700;font-size:28px;line-height:1.15;letter-spacing:-.02em;color:#0B2239}
.mside ol{margin:16px 0 0;padding:0;list-style:none;counter-reset:n;display:grid;gap:10px}
.mside li{counter-increment:n;display:flex;gap:10px;color:#22303B}
.mside li:before{content:counter(n);flex:none;width:24px;height:24px;border-radius:50%;background:#E6F1FA;color:#1F78B4;font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center}
.mphone{flex:none;width:398px;max-width:100%;height:min(820px,calc(100vh - 44px - 40px));min-height:480px;background:#16202C;border-radius:44px;padding:11px;box-shadow:0 50px 90px -40px rgba(14,58,92,.6),inset 0 0 0 1px #2B3A4B}

/* the screen: the app's typeface and palette */
.mscreen{--m-navy:#2F3E4E;--m-accent:#3F4E5F;--m-text:#22303B;--m-sub:#8A94A6;--m-panel:#F5F7FA;--m-border:#E6EAF0;position:relative;height:100%;background:#fff;border-radius:34px;overflow:hidden;display:flex;flex-direction:column;color:var(--m-text);font-family:var(--app-font,'Plus Jakarta Sans'),system-ui,sans-serif;font-size:15px;line-height:1.35}
.mscreen button,.mscreen input,.mscreen textarea{font-family:inherit;cursor:pointer}
.mscreen input,.mscreen textarea{cursor:text}
.mscreen p,.mscreen h1,.mscreen h2{margin:0}
.mscreen a{text-decoration:none}
.mscreen button:disabled{cursor:default}
.mscroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;background:#fff;scrollbar-width:none;container-type:size}
.mscroll::-webkit-scrollbar{display:none}
.mscreen [data-in][hidden],.mscreen [hidden]{display:none!important}

/* the tab bar: 49 high, 25 icons, 10 labels */
.mtabs{flex:none;display:flex;height:49px;background:#fff;border-top:1px solid #E6EAF0}
.mtabs a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;font-size:10px;font-weight:500;color:#8A94A6}
.mtabs a[aria-current]{color:var(--m-accent)}

.m-row{display:flex;align-items:center}
.m-av{border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:14px;font-style:normal;flex:none}

/* a tab's own screen: the organisation's name, the big title, the round messages button */
.m-tab{min-height:100%;background:#fff;display:flex;flex-direction:column}
.m-head{padding:20px 16px 0;background:#fff}
.m-word{color:var(--m-accent);font-style:italic;font-weight:700;font-size:14px;margin:0 0 2px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m-headrow{justify-content:space-between;gap:10px}
.m-head h1{font-size:32px;font-weight:800;line-height:40px;color:var(--m-navy);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.m-msgbtn{width:38px;height:38px;border-radius:19px;border:1px solid #E6EAF0;display:flex;align-items:center;justify-content:center;background:#fff;color:var(--m-navy);flex:none}
.m-newmsg{width:34px;height:34px;border-radius:17px;background:var(--m-accent);border:0;padding:0;display:flex;align-items:center;justify-content:center;flex:none}
.m-seg{display:flex;gap:18px;padding:10px 16px 0;background:#fff;border-bottom:1px solid #E6EAF0}
.m-seg button{position:relative;padding:0 0 8px;background:none;border:0;font-size:15px;color:var(--m-navy)}
.m-seg button[aria-selected="true"]{color:var(--m-accent);font-weight:600}
.m-seg button[aria-selected="true"]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:2px;background:var(--m-accent)}
.m-search{display:block;width:calc(100% - 32px);margin:10px 16px 8px;background:#F5F7FA;border-radius:10px;padding:9px 14px;font-size:15px;color:#22303B;border:0;outline:0}
.m-empty{display:flex;flex-direction:column;align-items:center;margin-top:90px;padding:0 32px 30px;text-align:center}
.m-empty i{width:64px;height:64px;border-radius:32px;background:var(--m-navy);color:#fff;display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.m-empty b{font-size:16px;font-weight:700;color:#22303B}.m-empty span{font-size:13px;color:#8A94A6;margin-top:6px}

/* the bar across a screen opened from another */
.m-stack{position:sticky;top:0;z-index:5;display:flex;align-items:center;height:56px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.18);flex:none}
.m-stack>a,.m-stack>button{width:56px;height:56px;display:flex;align-items:center;justify-content:center;color:var(--m-navy);background:none;border:0;padding:0;flex:none}
.m-stack>span{flex:1;min-width:0;margin-left:16px;font-size:20px;font-weight:500;color:var(--m-navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:16px}
.m-stack>em{font-style:normal;flex:none;padding-right:12px}
.m-pushed{background:#F5F7FA;min-height:calc(100% - 56px)}

/* Schedule */
.m-panel{flex:1;background:#F5F7FA;padding-bottom:12px}
.m-onbanner{display:flex;align-items:center;gap:12px;margin:12px 12px 0;border-radius:12px;padding:12px 14px;background:#DFF5EA;color:#177A4C}
.m-onbanner span{flex:1;min-width:0}
.m-onbanner b{display:block;font-weight:700;font-size:15px}
.m-onbanner small{display:block;font-size:13px;margin-top:2px}
.m-onbanner u{font-weight:700;font-size:14px;flex:none}
.m-shift{background:#fff;margin:12px 12px 0;border-radius:12px;padding:14px;border:1px solid #E6EAF0}
.m-cardtap{cursor:pointer}
.m-site{font-size:16px;font-weight:700;color:var(--m-navy)}
.m-sub{color:#8A94A6;font-size:13px;margin-top:1px!important}
.m-amber{color:#D97706;font-weight:600;font-size:13px;margin-top:2px!important}
.m-times{background:#DFF5EA;border-radius:8px;padding:6px 10px;text-align:center;color:#177A4C;font-weight:700;font-size:13px;line-height:18px;flex:none}
.m-green{display:block;width:100%;margin-top:10px;background:#22B573;border-radius:10px;padding:13px 0;border:0;color:#fff;font-size:16px;font-weight:700}
.m-green:disabled{opacity:.5}
.m-green14{margin-top:14px}
.m-red{display:block;width:100%;margin-top:10px;background:#dc2626;border-radius:10px;padding:14px 0;border:0;color:#fff;font-size:17px;font-weight:700}
.m-note{margin-top:10px!important;background:#F5F7FA;border-radius:8px;padding:8px 12px;font-size:13px;line-height:18px;color:#8A94A6}
.m-note12{margin-top:12px!important}
.m-inprog{margin-top:8px!important;color:#22B573;font-weight:600;font-size:14px}
.m-cardlinks{display:flex;justify-content:space-between;margin-top:10px}
.m-cardlinks button{background:none;border:0;padding:0;color:var(--m-accent);font-size:14px;font-weight:600}

/* a shift's page */
.m-sd{padding:16px 16px 32px}
.m-sdcard{background:#fff;border-radius:14px;border:1px solid #E6EAF0;padding:14px}
.m-sdsite{font-size:20px;font-weight:800;color:var(--m-navy)}
.m-sddate{margin-top:3px!important;font-size:14px;color:#22303B}
.m-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.m-chip{background:#F5F7FA;color:#22303B;font-size:12px;font-weight:700;border-radius:6px;padding:3px 8px}
.m-addr{display:flex;align-items:center;gap:8px;margin-top:12px;background:none;border:0;padding:0;text-align:left;font-size:14px;color:#22303B}
.m-addr i{width:22px;height:22px;border-radius:5px;background:var(--m-accent);display:flex;align-items:center;justify-content:center;flex:none}
.m-sdhead{margin:18px 0 6px 4px!important;font-size:13px;font-weight:700;color:#8A94A6}
.m-person{display:flex;align-items:center;gap:10px;padding:7px 0}
.m-person span{font-size:15px;font-weight:600;color:#22303B}
.m-quiet{font-size:14px;color:#8A94A6}
.m-sdarea{margin:0 0 2px!important;font-size:13px;font-weight:700;color:var(--m-navy)}
.m-sdtask{display:flex;align-items:center;gap:8px;padding:5px 0}
.m-sdtask span{flex:1;min-width:0;font-size:14px;color:#22303B}
.m-sdtask em{font-style:normal;font-size:11px;font-weight:700;border-radius:5px;padding:2px 6px;color:var(--m-navy);background:#DCEEFB}
.m-sdtask em.rec{color:#8A94A6;background:#F5F7FA}
.m-sdlink{display:block;margin:18px 0 0 4px;background:none;border:0;padding:0;color:var(--m-accent);font-size:15px;font-weight:600}

/* On Shift */
.m-pad{padding:16px;display:flex;flex-direction:column;gap:16px;background:#f8fafc;min-height:calc(100% - 56px)}
.m-card{background:#fff;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:6px;border:0;text-align:left;width:100%}
.m-card.m-link{flex-direction:row;align-items:center;gap:10px}
.m-card.m-link span{flex:1;min-width:0}
.m-card.m-link b{display:block;font-weight:600;font-size:15px;color:#1f1f1f}
.m-card.m-link small{display:block;margin-top:4px;color:#64748b;font-size:12px}
.m-card.m-blue{border:1px solid #1E88E5;background:#F4F9FF}
.m-card label{flex:1;min-width:0}
.m-h17{font-size:17px;font-weight:600;color:#1f1f1f}
.m-h15{font-size:15px;font-weight:600;color:#1f1f1f}
.m-timer{font-size:40px;font-weight:700;font-variant-numeric:tabular-nums;color:#1f1f1f;line-height:48px}
.m-grey{color:#64748b;font-size:14px}
.m-grey12{display:block;color:#64748b;font-size:12px;margin-top:4px!important}
.m-body{color:#334155;font-size:14px;line-height:20px;white-space:pre-line}
.m-swmsrow{display:flex;align-items:center;gap:8px;padding:9px 0;background:none;border:0;border-bottom:1px solid #F5F7FA;text-align:left;width:100%}
.m-swmsrow span:first-child{flex:1;min-width:0}
.m-swmsrow b{display:block;font-size:15px;font-weight:600;color:#22303B;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m-swmsrow small{display:block;margin-top:4px;color:#64748b;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m-scanbtn{display:flex;align-items:center;gap:6px;background:#1E88E5;border-radius:8px;padding:9px 14px;border:0;color:#fff;font-weight:600;font-size:14px}
.m-scanroom{display:flex;align-items:center;gap:4px;margin-top:6px;border:1px solid #1E88E5;border-radius:10px;padding:2px 8px;background:none;font-size:12px;font-weight:700;color:#1E88E5;flex:none}
.m-cp{display:flex;align-items:center;gap:10px;padding:7px 0}
.m-cp i{width:22px;height:22px;border-radius:11px;border:2px solid #C9D2DE;display:flex;align-items:center;justify-content:center;flex:none;color:#fff}
.m-cp i.due{border-color:#E5A000}
.m-cp i.on{border-color:#22B573;background:#22B573}
.m-cp span:first-of-type{flex:1;min-width:0}
.m-cp b{display:block;font-weight:400;font-size:15px;color:#0f172a}
.m-cp small{display:block;font-size:12px;color:#64748b;margin-top:1px}
.m-pill{font-size:12px;font-weight:700;color:#177A4C;background:#DFF5EA;border-radius:10px;padding:2px 8px;flex:none}
.m-area{flex:1;margin:8px 0 2px!important;font-weight:600;color:#475569;font-size:14px}
.m-task{display:flex;align-items:center;gap:8px;padding:6px 0;background:none;border:0;text-align:left;width:100%;font-size:15px;color:#0f172a}
.m-task i{width:22px;height:22px;border-radius:6px;border:2px solid #94a3b8;display:flex;align-items:center;justify-content:center;flex:none;color:#fff}
.m-task.on i{border-color:#16a34a;background:#16a34a}
.m-task span{flex:1;min-width:0}
.m-task.on span{color:#94a3b8;text-decoration:line-through}
.m-task em{font-style:normal;font-size:12px;font-weight:600;color:#5B6B7B;background:#EDF0F4;border-radius:4px;padding:2px 6px;flex:none}
.m-task em.rec{font-size:11px;font-weight:700;color:#1565A8;background:#EAF5FD;margin-right:6px}
.m-cambtn{display:flex;flex:none;color:#94a3b8}
.m-cambtn.on{color:#16a34a}
.m-input{display:block;width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:10px 12px;font-size:15px;color:#1f1f1f;background:#fff;resize:none;min-height:44px;outline:0}
.m-dark{display:flex;align-items:center;gap:6px;background:#0f172a;border-radius:8px;padding:10px 14px;border:0;color:#fff;font-weight:600;font-size:14px}
.m-line{border:1px solid #cbd5e1;border-radius:8px;padding:10px 14px;background:none;color:#475569;font-weight:600;font-size:14px}

/* Site info, Site instructions */
.m-kicker{font-size:12px;font-weight:700;color:#8A94A6;text-transform:uppercase;letter-spacing:.5px}
.m-isite{margin-top:2px!important;font-size:18px;font-weight:800;color:var(--m-navy)}
.m-group{margin:20px 0 8px!important;font-size:12px;font-weight:700;color:#8A94A6;text-transform:uppercase;letter-spacing:.5px}
.m-icard{background:#fff;border-radius:12px;border:1px solid #E6EAF0;overflow:hidden}
.m-irow{display:flex;width:100%;align-items:center;gap:8px;padding:13px 14px;background:none;border:0;border-top:1px solid #F0F2F6;text-align:left}
.m-irow span{flex:1;min-width:0}
.m-irow b{display:block;font-size:15px;font-weight:700;color:var(--m-navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m-irow small{display:block;font-size:12px;color:#8A94A6;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m-irow small.ok{font-weight:700;color:#177A4C;margin-top:2px}
.m-iall{display:flex;width:100%;align-items:center;gap:8px;margin-top:8px;padding:6px 4px;background:none;border:0;text-align:left;font-size:14px;font-weight:700;color:var(--m-accent);justify-content:space-between}
.m-iarea{background:#F5F7FA;font-size:12px;font-weight:700;color:#5B6B7B;padding:6px 14px}
.m-icheck{padding:10px 14px;border-top:1px solid #F0F2F6}
.m-icheck p{font-size:15px;color:#22303B}
.m-icheck small{display:block;font-size:12px;color:#8A94A6;margin-top:1px}
.m-foot{margin-top:6px!important;font-size:12px;color:#8A94A6}
.m-ibody{padding:12px 14px;font-size:15px;line-height:26px;color:#22303B;white-space:pre-wrap}

/* Locations */
.m-locrow{display:flex;align-items:center;padding:13px 16px;border-bottom:1px solid #E6EAF0}
.m-locrow span{flex:1;min-width:0;margin-right:8px}
.m-locrow b{display:block;font-size:16px;font-weight:700;color:var(--m-navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m-locrow small{display:block;font-size:13px;color:#8A94A6;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m-locrow small.in{color:#5B6B7B}
.m-locrow small.in b{display:inline;font-size:13px;color:#1DB954}

/* a site's page */
.m-sitepage{background:#fff;padding-bottom:32px;line-height:1.172}
.m-sbar{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:10px;background:#DCEEFB;padding:10px 14px}
.m-sbar>a:first-child{display:flex;align-items:center;padding:4px 0;flex:none;color:var(--m-accent);font-size:15px;font-weight:600}
.m-sbar p{flex:1}
.m-sbarmsg{display:flex;padding:10px;margin:-10px -10px -10px -6px;flex:none}
.m-first{display:flex;flex-direction:column;min-height:calc(100cqh - 52px)}
.m-hero{background:#DCEEFB;padding:4px 18px 20px}
.m-hero h1{margin:0 0 10px!important;font-size:30px;line-height:36px;font-weight:800;color:var(--m-navy);overflow-wrap:anywhere}
.m-heroaddr{display:flex;align-items:center;gap:10px;background:none;border:0;padding:0;text-align:left}
.m-heroaddr span{font-size:16px;line-height:22px;color:#22303B;min-width:0}
.m-heroaddr i{width:28px;height:28px;border-radius:7px;background:var(--m-accent);display:flex;align-items:center;justify-content:center;flex:none}
.m-days{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0 2px}
.m-days span{background:rgba(255,255,255,.75);border-radius:14px;padding:5px 12px;font-size:14px;font-weight:700;color:var(--m-navy)}
.m-days small{font-size:14px;font-weight:600;color:var(--m-navy);opacity:.7}
.m-clockcard{margin-top:18px;background:#CBE5F8;border-radius:16px;padding:18px;display:flex;align-items:center;width:100%;border:0;text-align:left}
.m-clockcard>span{flex:1;min-width:0}
.m-clockcard b{display:block;font-size:18px;font-weight:700;color:var(--m-navy)}
.m-clockcard small{display:block;font-size:15px;color:#22303B;margin-top:3px}
.m-clockcard.on{background:#DFF5EA}.m-clockcard.on small{color:#177A4C;font-weight:600}
.m-clockcard.away{background:#FFF4DF}.m-clockcard.away small{color:#B06A00;font-weight:600}
.m-play{width:52px;height:52px;border-radius:26px;background:#22B573;display:flex;align-items:center;justify-content:center;flex:none}
.m-ssec{display:flex;flex-direction:column;padding:16px;border-bottom:6px solid #F5F7FA}
.m-ssec.big{flex-grow:1;padding-top:20px;padding-bottom:20px}
.m-ssechead{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.m-ssec h2{flex:1;font-size:18px;font-weight:800;color:var(--m-navy)}
.m-ssec.big h2{font-size:22px}
.m-sbody{color:#8A94A6;font-size:14px;line-height:20px}
.m-ssub{margin:10px 0 4px!important;color:#8A94A6;font-size:13px}
.m-sempty{margin-top:4px!important;color:#8A94A6;font-size:14px}
.m-insprow{display:flex;align-items:center;padding:14px 0;border-bottom:1px solid #E6EAF0}
.m-insprow span{flex:1;min-width:0}
.m-insprow b{display:block;font-size:17px;font-weight:700;color:var(--m-navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m-insprow small{display:block;font-size:14px;color:#8A94A6;margin-top:3px}
.m-insprow em{font-style:normal;font-size:15px;font-weight:700;border-radius:14px;padding:6px 12px;flex:none;background:#DFF5EA;color:#177A4C}
.m-insprow em.low{background:#FFF4DF;color:#B06A00}
.m-tiles{display:flex;flex-wrap:wrap;padding:20px 8px 8px;border-bottom:6px solid #F5F7FA}
.m-tile{width:33.33%;display:flex;flex-direction:column;align-items:center;padding:0 4px;margin-bottom:18px;background:none;border:0}
.m-tile i{width:70px;height:70px;border-radius:20px;background:#EAF4FD;display:flex;align-items:center;justify-content:center}
.m-tile span{margin-top:8px;font-size:14px;font-weight:600;color:#22303B;text-align:center;line-height:18px}
.m-sshift{display:flex;width:100%;padding:10px 0;border:0;border-bottom:1px solid #E6EAF0;background:none;text-align:left}
.m-sshift>span:first-child{flex:1;min-width:0;display:flex;flex-direction:column}
.m-sshift b{font-size:15px;font-weight:700;color:var(--m-navy)}
.m-sshift small{margin-top:2px;color:#22303B;font-size:13px}
.m-sshift em{font-style:normal;align-self:flex-start;background:#DCEEFB;border-radius:6px;padding:3px 8px;margin-top:6px;color:var(--m-navy);font-size:12px;font-weight:600}
.m-sshift .t{display:flex;flex-direction:column;align-items:flex-end;flex:none}
.m-sshift .t b{font-size:14px}
.m-team{display:flex;flex-wrap:wrap;gap:16px;margin-top:10px}
.m-team div{display:flex;flex-direction:column;align-items:center;width:64px}
.m-team p{margin-top:4px!important;font-size:11px;color:#22303B;text-align:center;max-width:100%;overflow-wrap:anywhere}

/* Request supplies */
.m-sup{padding:16px 16px 0}
.m-sup .m-group{margin:18px 0 6px!important}
.m-supitem{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #E6EAF0;border-radius:12px;padding:10px 12px;margin-bottom:7px}
.m-supitem.on{border-color:var(--m-accent)}
.m-supitem span{flex:1;min-width:0}
.m-supitem span b{display:block;font-size:15px;font-weight:600;color:#22303B}
.m-supitem small{display:block;margin-top:2px;font-size:12px;color:#8A94A6}
.m-stepb{width:34px;height:34px;border-radius:17px;border:1px solid #E6EAF0;background:none;display:flex;align-items:center;justify-content:center;flex:none;padding:0;font-size:22px;line-height:24px;color:var(--m-navy)}
.m-stepb:disabled{color:#E6EAF0}
.m-q{width:26px;text-align:center;font-size:16px;font-weight:700;color:var(--m-navy)}
.m-offlist{display:flex;align-items:center;gap:6px;border:1px solid #E6EAF0;border-radius:10px;padding:9px 12px;background:none;font-size:14px;font-weight:700;color:var(--m-navy)}
.m-supreq{background:#fff;border:1px solid #E6EAF0;border-radius:10px;padding:11px;margin-bottom:7px}
.m-supreq p{flex:1;font-size:14px;color:#22303B}
.m-supreq em{font-style:normal;font-size:11px;font-weight:700;border-radius:6px;padding:3px 8px;flex:none}
.m-supreq small{display:block;margin-top:2px;font-size:12px;color:#8A94A6}
.m-supfoot{position:sticky;bottom:0;margin:24px -16px 0;background:#fff;border-top:1px solid #E6EAF0;padding:16px}
.m-supsend{display:flex;width:100%;justify-content:center;background:var(--m-accent);border-radius:12px;padding:15px 0;border:0;color:#fff;font-weight:700;font-size:16px}
.m-supsend:disabled{opacity:.5}

/* Issues */
.m-lead{color:#8A94A6;font-size:14px;padding:0 16px;margin:2px 0 6px!important}
.m-nearest{display:flex;align-items:center;gap:10px;padding:0 16px 8px}
.m-nearest span{flex:1;min-width:0;color:#8A94A6;font-size:12.5px;line-height:17px}
.m-nearest button{background:none;border:0;padding:0;flex:none;color:var(--m-accent);font-size:13px;font-weight:600}
.m-isrow{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid #E6EAF0}
.m-isrow span{flex:1;min-width:0}
.m-isrow b{display:block;font-size:16px;font-weight:600;color:var(--m-navy)}
.m-isrow small{display:block;font-size:13px;color:#8A94A6;margin-top:1px}
.m-isrow em{font-style:normal;flex:none;font-size:12px;font-weight:700;color:#D97706;background:#FEF3C7;border-radius:10px;padding:3px 9px}
.m-issuetop{position:sticky;top:0;z-index:5;background:#fff;padding:20px 16px 8px;border-bottom:1px solid #E6EAF0}
.m-issuetop button{display:flex;align-items:center;margin-bottom:4px;background:none;border:0;padding:0;color:var(--m-accent);font-size:15px;font-weight:600}
.m-issuetop h1{font-size:24px;font-weight:800;color:var(--m-navy)}
.m-ibodypad{padding:12px 12px 24px}
.m-isec{margin-top:8px!important;padding:0 2px;font-size:12px;font-weight:700;color:#8A94A6;text-transform:uppercase;letter-spacing:.5px}
.m-ibodypad .m-empty{margin-top:50px}
.m-allareas{display:flex;justify-content:flex-end}
.m-allareas button{background:none;border:0;padding:4px 2px;font-size:11px;font-weight:700;color:var(--m-accent);letter-spacing:.5px}
.m-areabtn{display:flex;width:100%;align-items:center;gap:10px;background:#F5F7FA;border:0;border-radius:10px;padding:13px 12px;margin-top:8px;text-align:left}
.m-areabtn span{flex:1;min-width:0;font-size:14px;font-weight:700;color:#5B6B7B;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m-areabtn em{font-style:normal;flex:none;font-size:12px;font-weight:700;color:#5B6B7B;background:#fff;border-radius:10px;padding:2px 9px}
.m-icardi{background:#fff;border-radius:12px;border:1px solid #E6EAF0;padding:13px;margin-top:8px}
.m-icardi .id{font-size:13px;font-weight:800;color:var(--m-navy)}
.m-icardi em{font-style:normal;flex:none;font-weight:700}
.m-icardi .urg{font-size:11px;border-radius:8px;padding:2px 7px;color:#5B6B7B;background:#F0F2F6}
.m-icardi .urg.hi{color:#fff;background:#C22B3F}
.m-icardi .stage{font-size:11px;border-radius:10px;padding:3px 9px}
.m-icardi .meta{margin-top:3px!important;font-size:12px;color:#8A94A6}
.m-icardi .meta b{font-weight:600}
.m-icardi .txt{margin-top:6px!important;font-size:15px;color:#22303B;line-height:21px}
.m-icardi .act{margin-top:5px!important;font-size:13px;color:#22303B}
.m-icardi .closed{margin-top:9px!important;font-size:12px;font-weight:700;color:#177A4C}
.m-ishut{display:flex;width:100%;justify-content:space-between;align-items:center;margin-top:22px;padding:8px 2px;background:none;border:0;color:#177A4C;font-weight:700;font-size:12px;letter-spacing:.5px;text-transform:uppercase}

/* Alerts */
.m-alerts{padding:6px 0 20px}
.m-alert{display:flex;align-items:flex-start;margin:10px 12px 0;padding:13px;border-radius:12px;border:1px solid #E6EAF0;background:#fff}
.m-alert.new{border-color:var(--m-accent);background:#F4F9FF}
.m-alert>div{flex:1;min-width:0}
.m-alert b{display:block;font-size:15px;font-weight:700;color:var(--m-navy)}
.m-alert small{display:block;margin-top:1px;font-size:13px;color:#8A94A6}
.m-alert p{margin-top:4px!important;font-size:13px;color:#22303B;line-height:18px}
.m-alerttime{background:#DFF5EA;border-radius:8px;padding:5px 9px;margin-left:8px;color:#177A4C;font-weight:700;font-size:12px;flex:none}

/* Inbox: the list, and a conversation that fills the screen with the typing box at the bottom */
.m-thread{display:flex;align-items:center;padding:11px 16px;border-bottom:1px solid #E6EAF0}
.m-thread>span{flex:1;min-width:0;margin-left:12px}
.m-thread b{display:block;font-size:15px;font-weight:700;color:var(--m-navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m-thread small{display:block;font-size:13px;color:#8A94A6;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m-thread em{font-style:normal;font-size:12px;color:#8A94A6;margin-left:8px;flex:none}
.mscroll.mchat{display:flex;flex-direction:column;overflow:hidden;background:#f8fafc}
.m-chat{flex:1;min-height:0;overflow-y:auto;padding:12px;background:#f8fafc;scrollbar-width:none}
.m-chat::-webkit-scrollbar{display:none}
.m-msg{display:flex;margin-bottom:8px}
.m-msg.me{justify-content:flex-end}
.m-bub{max-width:78%;min-width:0;border-radius:16px;padding:10px;display:flex;flex-direction:column;background:#fff}
.m-msg.me .m-bub{background:#0f172a}
.m-bub small{display:block}
.m-bub .who{margin:0 0 2px;font-size:11px;font-weight:600;color:#64748b}
.m-bub .ment{color:#B45309;font-weight:700;font-size:11px}
.m-bub p{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;color:#0f172a}
.m-msg.me .m-bub p{color:#fff}
.m-bub .t{margin-top:2px;font-size:10px;color:#94a3b8;text-align:right}
.m-bub .seen{margin-top:2px;font-size:10px;color:#94a3b8;text-align:right}
.m-msg.me .m-bub .t,.m-msg.me .m-bub .seen{color:#cbd5e1}
.m-at{font-weight:700}
.m-at.me{background:#FDE9B5;color:#3A2A00;border-radius:3px;padding:0 2px}
.m-compose{flex:none;display:flex;align-items:flex-end;gap:8px;padding:10px;background:#fff;border-top:1px solid #f1f5f9}
.m-attach{background:none;border:0;padding:0 0 6px;display:flex;flex:none}
.m-field{position:relative;flex:1;min-width:0}
.m-compose .m-input{border-radius:18px;padding:8px 14px;min-height:0;line-height:20px}
.m-sendbtn{background:#0f172a;border:0;border-radius:18px;padding:10px 16px;color:#fff;font-weight:600;font-size:14px;flex:none}
.m-atlist{position:absolute;left:0;right:0;bottom:calc(100% + 4px);z-index:3;background:#fff;color:#0f172a;border:1px solid #cbd5e1;border-radius:6px;box-shadow:0 8px 24px rgba(15,23,42,.16);padding:4px;display:flex;flex-direction:column}
.m-atlist button{display:flex;align-items:baseline;gap:8px;padding:7px 10px;border-radius:4px;background:none;border:0;font-size:14px;line-height:18px;text-align:left}
.m-atlist button:first-child{background:#eef2f7}
.m-atlist b{font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.m-atlist span{font-size:12px;color:#64748b;flex:none}

/* More, My training, Toolbox talks */
.m-role{padding:0 16px;margin-top:2px!important;color:#8A94A6;font-size:14px}
.m-hours{display:flex;align-items:center;gap:10px;margin:14px 16px 0;padding:14px;border-radius:12px;border:1px solid #E6EAF0;background:#F5F7FA}
.m-hours b{display:block;font-size:20px;font-weight:800;color:var(--m-navy);line-height:26px}
.m-hours small{font-size:12px;color:#8A94A6}
.m-morerows{margin-top:18px}
.m-morerow{display:flex;width:100%;align-items:center;gap:12px;padding:15px 16px;background:none;border:0;border-bottom:1px solid #E6EAF0;text-align:left}
.m-morerow>span{flex:1;min-width:0}
.m-morerow b{display:block;font-size:16px;color:#22303B;font-weight:500}
.m-morerow small{display:block;font-size:12px;color:#8A94A6;margin-top:1px}
.m-morerow u{text-decoration:none;min-width:24px;height:24px;border-radius:12px;padding:0 6px;background:#E2445C;color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}
.m-morerow i{font-style:normal;font-size:20px;color:#8A94A6;line-height:20px}
.m-ver{text-align:center;color:#8A94A6;font-size:12px;margin:28px 0 20px!important}
.m-plain{background:#fff;min-height:calc(100% - 56px);padding-bottom:30px}
.m-lead2{font-size:14px;color:#8A94A6;padding:14px 16px 0}
.m-label{margin:20px 0 4px!important;padding:0 16px;font-size:12px;font-weight:700;color:#8A94A6;text-transform:uppercase;letter-spacing:.5px}
.m-trow{display:flex;align-items:center;gap:10px;width:100%;padding:14px 16px;border:0;border-bottom:1px solid #E6EAF0;background:none;text-align:left}
.m-trow>span{flex:1;min-width:0}
.m-trow b{display:block;font-size:15px;font-weight:600;color:var(--m-navy)}
.m-trow b.c{color:#22303B}
.m-trow small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:2px;font-size:12px;color:#8A94A6}
.m-trow em{font-style:normal;flex:none;font-size:11px;font-weight:700;border-radius:10px;padding:4px 9px}
.m-toread{display:flex;align-items:center;gap:12px;width:calc(100% - 24px);margin:6px 12px 8px;padding:14px;border-radius:12px;border:1px solid var(--m-accent);background:#F4F9FF;text-align:left}
.m-toread span{flex:1;min-width:0}
.m-toread b{display:block;font-size:15px;font-weight:700;color:var(--m-navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m-toread small{display:block;margin-top:2px;font-size:12px;color:#8A94A6}
.m-talkrow{display:block;width:100%;padding:12px 16px;background:none;border:0;border-bottom:1px solid #E6EAF0;text-align:left}
.m-talkrow b{display:block;font-size:15px;font-weight:600;color:var(--m-navy)}
.m-talkrow small{display:block;margin-top:2px;font-size:12px;color:#8A94A6}
.m-talk{display:flex;flex-direction:column;min-height:calc(100% - 56px);background:#F5F7FA}
.m-talkbody{flex:1;padding:16px 16px 24px}
.m-talktitle{margin-top:2px!important;font-size:20px;font-weight:800;color:var(--m-navy)}
.m-talkmeta{margin:3px 0 6px!important;font-size:13px;color:#8A94A6}
.m-talkfoot{position:sticky;bottom:0;background:#fff;border-top:1px solid #E6EAF0;padding:16px 16px 24px;display:flex;flex-direction:column;gap:10px}
.m-talkfoot p{font-size:14px;font-weight:600;color:#22303B;line-height:20px}
.m-talkfoot p.ok{color:#22B573}
.m-ackbtn{width:100%;background:#22B573;border:0;border-radius:12px;padding:15px 0;color:#fff;font-weight:700;font-size:16px}

/* the app's own alert box: title, message, plain text buttons */
.m-dim{position:absolute;inset:0;z-index:40;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;padding:26px}
.m-dialog{width:100%;max-width:360px;background:#fff;border-radius:3px;box-shadow:0 11px 15px rgba(0,0,0,.2),0 24px 38px rgba(0,0,0,.14);padding:22px 12px 8px 24px}
.m-dialog b{display:block;font-size:20px;font-weight:500;color:#1f1f1f;line-height:26px;padding-right:12px}
.m-dialog p{margin-top:10px!important;font-size:16px;color:#444;line-height:22px;padding-right:12px}
.m-dialog div{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;margin-top:28px}
.m-dialog div.three button:first-child{margin-right:auto}
.m-dialog button{background:none;border:0;padding:10px 12px;min-width:64px;font-size:14px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:#018786}

/* the camera and the scanner (acted out) */
.m-scanner{position:absolute;inset:0;z-index:30;background:rgba(11,15,20,.9);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;color:#fff;font-size:15px;font-weight:600}
.m-scanner div{position:relative;width:200px;height:200px;border-radius:18px;box-shadow:0 0 0 3px #fff inset;overflow:hidden}
.m-scanner i{position:absolute;left:10px;right:10px;height:3px;border-radius:2px;background:#22B573;animation:mscan 1.1s ease-in-out infinite}
@keyframes mscan{0%{top:14px}50%{top:182px}100%{top:14px}}
.m-camera{gap:16px;z-index:36}
.m-camera p{font-size:13px!important;letter-spacing:.12em;text-transform:uppercase;color:#C7D1DE}
.m-camera>div{width:78%!important;height:52%!important;border-radius:10px!important;background:linear-gradient(160deg,#3b4654,#1b222b)}
.m-shutter{width:62px;height:62px;border-radius:50%;background:#fff;box-shadow:0 0 0 4px rgba(11,15,20,.9),0 0 0 7px #fff;animation:mshut 1.4s ease-in}
.m-camera button{background:none;border:0;color:#C7D1DE;font-size:14px;font-weight:600}
@keyframes mshut{0%,70%{transform:scale(1)}82%{transform:scale(.82)}100%{transform:scale(1)}}

/* sheets from the bottom: the day's route, the reasons before a clock-out */
.m-sheetdim{align-items:flex-end;padding:0;background:rgba(0,0,0,.4)}
.m-sheet{width:100%;background:#fff;border-radius:18px 18px 0 0;padding:20px 16px 14px;display:flex;flex-direction:column;gap:10px;animation:msheet .25s ease-out}
.m-sheet>b{font-size:20px;font-weight:800;color:var(--m-navy)}
.m-sheet>p{font-size:14px;line-height:20px;color:#8A94A6}
.m-sheet .m-green{margin-top:4px}
@keyframes msheet{from{transform:translateY(100%)}to{transform:none}}
.m-cancel{background:none;border:1px solid #E6EAF0;border-radius:12px;padding:13px 0;font-size:14px;font-weight:700;color:#8A94A6}
.m-missed{max-height:85%;padding:20px 0 0;gap:4px}
.m-missed>b,.m-missed>p{padding:0 16px}
.m-missedlist{flex:1;min-height:0;overflow-y:auto;padding:0 16px;margin-top:8px}
.m-missedlist>div{border-top:1px solid #E6EAF0;padding:12px 0}
.m-missedlist b{display:block;font-size:15px;font-weight:600;color:#22303B}
.m-missedlist small{display:block;margin-top:1px;font-size:12px;color:#8A94A6}
.m-missedlist span{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.m-missedlist button{background:#EDF0F4;color:#5B6B7B;border-radius:16px;padding:7px 12px;border:0;font-size:12px;font-weight:700}
.m-missedlist button.on{background:var(--m-navy);color:#fff}
.m-missedfoot{border-top:1px solid #E6EAF0;padding:16px 16px 20px;display:flex;flex-direction:column;gap:8px}
.m-missedfoot .m-green{margin-top:0;border-radius:12px;padding:15px 0}

/* the route: the card on the shift screen, the day's list at sign-in, the overdue notice */
.m-stop.due i{border-color:#D97706}
.m-stop small b{display:inline;font-weight:700;font-size:12px;color:#8A5200}
.m-stop.overdue i{border-color:#DC2626}
.m-stop small b.late{color:#B91C1C}
.m-stop.coming i{border-color:#C9D2DE}
.m-textbtn{background:none;border:0;padding:0;font-size:13px;font-weight:600;color:var(--m-accent)}
.m-routesheet{max-height:88%;padding-bottom:16px}
.m-routelist{overflow-y:auto;border-top:1px solid #E6EAF0;border-bottom:1px solid #E6EAF0;margin:2px -16px 0;padding:0 16px}
.m-routelist>div{display:flex;align-items:center;gap:14px;padding:10px 0;border-bottom:1px solid #F0F2F6}
.m-routelist>div:last-child{border-bottom:0}
.m-routelist span{flex:none;width:74px;font-size:15px;font-weight:700;color:var(--m-navy);font-variant-numeric:tabular-nums}
.m-routelist b{display:block;font-size:15px;font-weight:600;color:#22303B}
.m-routelist small{display:block;font-size:13px;color:#64748b;margin-top:1px}
.m-routelist .due small,.m-routelist .overdue small{color:#8A5200;font-weight:700}
.m-routelist .visited b{color:#94a3b8}
.m-listening{display:flex;align-items:center;gap:6px;margin:0 0 8px 32px;font-size:12px;font-weight:600;color:#1E88E5}
.m-listening svg{animation:mlisten 1.4s ease-in-out infinite}
.m-stop.overdue+.m-listening{color:#B91C1C}
@keyframes mlisten{0%,100%{opacity:.35}50%{opacity:1}}
/* the phone's own notification, in the middle of the screen's width just under the top */
.m-push{position:absolute;left:50%;top:26px;z-index:45;width:calc(100% - 24px);max-width:360px;transform:translateX(-50%);display:flex;align-items:flex-start;gap:10px;text-align:left;background:#fff;border:0;border-radius:16px;padding:12px 14px;box-shadow:0 14px 34px rgba(15,23,42,.32),0 0 0 1px rgba(15,23,42,.06);animation:mpushc .35s ease-out}
.m-push i{flex:none;width:34px;height:34px;border-radius:9px;background:#DC2626;color:#fff;display:flex;align-items:center;justify-content:center}
.m-push.msg i{background:var(--m-accent)}
.m-push span{flex:1;min-width:0}
.m-push small{display:block;font-size:12px;color:#64748b}
.m-push b{display:block;font-size:15px;font-weight:700;color:#1f1f1f;line-height:1.3;margin:1px 0 2px}
.m-push.msg small:last-child{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@keyframes mpushc{from{transform:translate(-50%,-130%);opacity:0}to{transform:translate(-50%,0);opacity:1}}

/* Bluetooth: the card that shows the phone scanning for the room's sensor, and the room that opens when it is found */
.m-bt{border:1.5px solid #1E88E5;background:#F4F9FF}
.m-bt.late{border-color:#DC2626;background:#FEF5F5}
.m-bt .m-grey12 b{color:var(--m-navy)}
.m-radar{position:relative;flex:none;width:44px;height:44px;border-radius:22px;background:#1E88E5;color:#fff;display:flex;align-items:center;justify-content:center}
.m-bt.late .m-radar{background:#DC2626}
.m-radar.on:before,.m-radar.on:after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid currentColor;color:#1E88E5;animation:mradar 1.8s ease-out infinite}
.m-bt.late .m-radar.on:before,.m-bt.late .m-radar.on:after{color:#DC2626}
.m-radar.on:after{animation-delay:.9s}
@keyframes mradar{from{transform:scale(1);opacity:.8}to{transform:scale(1.9);opacity:0}}
.m-btlast{display:flex;align-items:center;gap:6px;margin-top:8px!important;font-size:12px;font-weight:600;color:#177A4C}
.m-bthead{display:flex;align-items:flex-start;gap:12px;background:#E8F3FE;border-radius:14px;padding:14px}
.m-bthead.scan,.m-bthead.open{background:#F5F7FA}
.m-bthead i{position:relative;flex:none;width:52px;height:52px;border-radius:26px;background:#1E88E5;color:#fff;display:flex;align-items:center;justify-content:center}
.m-bthead.sensor i:after{content:"";position:absolute;inset:-6px;border-radius:50%;border:2px solid #1E88E5;opacity:.45;animation:mradar 1.8s ease-out infinite}
.m-bthead.scan i,.m-bthead.open i{background:#5B6B7B}
.m-bthead small{display:block;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#1565A8}
.m-bthead.scan small,.m-bthead.open small{color:#5B6B7B}
.m-bthead b{display:block;font-size:20px;font-weight:800;color:var(--m-navy);line-height:1.2;margin:2px 0 4px}
.m-bthead span{display:block;font-size:13px;line-height:18px;color:#44546A}
.m-roomrow{width:100%;background:none;border:0;border-top:1px solid #F0F2F6;text-align:left;padding:9px 0}
/* a room's checklist: the whole screen, with Done here kept at the bottom */
.m-full{position:absolute;inset:0;bottom:49px;z-index:25;display:flex;flex-direction:column;background:#f8fafc;animation:mfull .22s ease-out}
.m-full .m-stack{position:static}
.m-fullbody{flex:1;min-height:0;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:16px;scrollbar-width:none}
.m-fullbody::-webkit-scrollbar{display:none}
.m-full .m-roomlist{flex:none}
.m-fullfoot{flex:none;padding:12px 16px 16px;background:#fff;border-top:1px solid #E6EAF0}
.m-fullfoot .m-green{margin-top:0}
@keyframes mfull{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}

@media (max-width:900px){.mside{display:none}}
/* the cleaner view is set in place: only the phone's own screen scrolls */
.mwrap{position:fixed;inset:44px 0 0 0;min-height:0;padding:20px;overflow:hidden}
.mphone{height:min(820px,100%);min-height:0}
@media (max-width:520px){.mwrap{padding:0;display:block}.mphone{width:100%;height:100%;border-radius:0;padding:0;box-shadow:none}.mscreen{border-radius:0}}
/* bare mode (?shot=1), used for the website's screenshots and the small screens on the demo page: no demo bar, the app only, edge to edge */
.shot body{margin-top:0!important;padding-top:0!important;overflow:hidden}
.shot .ind{min-height:100vh!important}
.shot.scene-centre .ind{height:100vh}
.shot .ind .ind-side{top:0;height:100vh}
.shot .ind .ind-top{top:0}
.shot .pframe{min-height:100vh}
.shot .pframe .pside{top:0;height:100vh}
.shot .mwrap{inset:0!important;padding:0!important;display:block}
.shot .mphone{width:100%;height:100%!important;border-radius:0;padding:0;box-shadow:none}
.shot .mscreen{border-radius:0}
.shot .toast{display:none!important}
