/* ============================================================
   PAGES — Parts that belong to one screen: My day, calendar, messages, attendance, artwork, update a job, settings
   ============================================================ */

.trunc{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.artgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:11px}
.artcard {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
  text-align:left;
  padding:12px 13px;
  border:1px solid var(--line);
  background:var(--card);
}
.artcard .atype{padding:2px 6px;background:var(--navy-bg);color:var(--navy)}
.artcard .aname{font-size:12.6px;font-weight:600;line-height:1.3;word-break:break-word}
.artcard .ameta{color:var(--chrome)}
.artcard .anote{font-size:11px;color:var(--amber);line-height:1.35;margin-top:2px}
.artview {
  border:1px solid var(--line);
  border-radius:10px;
  background:repeating-conic-gradient(#F4F3EF 0% 25%,#FFFFFF 0% 50%) 50%/18px 18px;
  padding:10px;
  text-align:center;
  box-shadow:var(--sh-1);
}
.artview img {
  max-width:100%;
  max-height:62vh;
  object-fit:contain;
  border-radius:4px;
  box-shadow:0 3px 14px rgba(18,20,28,.14);
}
/* belongs with print — kept here because it must load after a rule in this file */
.stampbox img{max-height:112px;max-width:70%;object-fit:contain;mix-blend-mode:multiply}
.artmeta {
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  font-size:11.5px;
  color:var(--chrome);
  padding-bottom:11px;
  margin-bottom:12px;
  border-bottom:1px solid var(--line2);
}
.artmeta b{color:var(--ink)}
/* belongs with print — kept here because it must load after a rule in this file */
.dc-nb b{font-size:7.6pt;color:#14161C}
.whobox{display:flex;align-items:center;gap:10px;padding:9px 11px;border:1px solid var(--line)}
.whoav {
  width:32px;
  height:32px;
  flex:0 0 32px;
  border-radius:50%;
  background:var(--navy);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:700;
}
.whonm{font-size:13.4px;line-height:1.2}
.whorl{font-size:11.5px;color:var(--chrome);margin-top:1px}
.whomb{font-size:11px;color:var(--ink3);margin-top:1px}
.mehead{display:flex;align-items:center;gap:14px;padding:16px 18px;color:#fff}
.meav {
  width:46px;
  height:46px;
  flex:0 0 46px;
  border-radius:50%;
  background:var(--red);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:17px;
  font-weight:800;
}
.menm{font-size:19px;font-weight:700;letter-spacing:-.4px}
.mesub{font-size:12px;color:#9AA2B6;margin-top:2px}
.taskrow {
  display:flex;
  align-items:center;
  gap:11px;
  width:100%;
  text-align:left;
  padding:11px 13px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--card);
  margin-bottom:8px;
  box-shadow:var(--sh-1);
  transition:box-shadow .14s,transform .1s,border-color .14s;
}
.taskrow:hover{box-shadow:var(--sh-2);transform:translateY(-1px);border-color:var(--navy)}
.taskrow.hot{border-left:3px solid var(--red)}
.taskrow .tic {
  width:30px;
  height:30px;
  flex:0 0 30px;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  background:#EFEEE9;
  color:var(--chrome);
}
.taskrow.hot .tic{background:var(--red-bg);color:var(--red)}
.taskrow .tt {
  display:block;
  font-size:13.4px;
  font-weight:700;
  letter-spacing:-.15px;
  line-height:1.3;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.taskrow .ts{display:block;font-size:11.6px;color:var(--chrome);margin-top:2px}
.taskrow .tchev{color:var(--chrome2);font-size:14px}
.remrow {
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--card);
  margin-bottom:8px;
  box-shadow:var(--sh-1);
}
.remrow.now{border-left:3px solid var(--navy)}
.remrow.over{border-left:3px solid var(--red);background:#FDF7F7}
.remk {
  font-family:var(--mono);
  font-size:8.5px;
  letter-spacing:.09em;
  text-transform:uppercase;
  padding:3px 7px;
  border-radius:4px;
  background:#EFEEE9;
  color:var(--ink3);
  white-space:nowrap;
}
.remt{font-size:13px;font-weight:650;line-height:1.3}
.remd{font-size:11.3px;color:var(--chrome);margin-top:1px}
.calgrid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.calhd {
  font-family:var(--mono);
  font-size:9.5px;
  letter-spacing:.11em;
  text-transform:uppercase;
  color:var(--chrome);
  text-align:center;
  padding:5px 0;
}
.calcell {
  min-height:92px;
  border:1px solid var(--line);
  border-radius:9px;
  background:var(--card);
  padding:6px 7px;
  cursor:pointer;
  transition:box-shadow .12s,border-color .12s;
}
.calcell:hover{box-shadow:var(--sh-2);border-color:var(--navy)}
.calcell.blank{background:transparent;border:none;cursor:default;box-shadow:none;min-height:0}
.calcell.today{border-color:var(--navy);box-shadow:0 0 0 2px var(--navy-bg)}
.calcell.off{background:#F7F6F3}
.calcell.lv{background:var(--green-bg);border-color:#BFE3D2}
.calcell.hol{background:var(--red-bg);border-color:#F0C4C4}
.caldn{font-family:var(--mono);font-size:11.5px;font-weight:700;color:var(--ink3)}
.calcell.today .caldn{color:var(--navy)}
.calhol{font-size:9.5px;color:var(--red);font-weight:700;line-height:1.25;margin-top:2px}
.calit {
  font-size:10.3px;
  line-height:1.3;
  margin-top:3px;
  padding:2px 5px;
  border-radius:4px;
  background:var(--navy-bg);
  color:var(--navy);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
/* notes carry a lot of the app's voice — keep them readable but compact */
/* belongs with cards — kept here because it must load after a rule in this file */
.note{margin-bottom:12px}
.calit.done{opacity:.42;text-decoration:line-through}
.calit.k-call{background:var(--cyan-bg);color:var(--cyan)}
.calit.k-visit{background:var(--amber-bg);color:var(--amber)}
.calit.k-pay{background:var(--green-bg);color:var(--green)}
.calit.k-job{background:#EFEEE9;color:var(--ink3)}
.calmore{font-size:9.5px;color:var(--chrome);margin-top:2px}
.remk.k-call{background:var(--cyan-bg);color:var(--cyan)}
.remk.k-visit{background:var(--amber-bg);color:var(--amber)}
.remk.k-pay{background:var(--green-bg);color:var(--green)}
.unreaddot{width:7px;height:7px;border-radius:50%;background:var(--navy);display:block}
.msg {
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--card);
  padding:12px 14px;
  margin-bottom:10px;
  box-shadow:var(--sh-1);
}
.msg.mine{background:var(--navy-bg);border-color:#CFD3F0}
.msgh{display:flex;align-items:center;gap:9px;margin-bottom:8px;flex-wrap:wrap}
.msgav {
  width:26px;
  height:26px;
  flex:0 0 26px;
  border-radius:50%;
  background:var(--navy);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:10px;
  font-weight:700;
}
.msgb{font-size:13px;line-height:1.6;color:var(--ink)}

@media(max-width:860px) {
  .calcell{min-height:64px;padding:4px 5px}
  .calit{font-size:9px}
}

/* belongs with cards — kept here because it must load after a rule in this file */
.note {
  border:1px solid var(--line);
  border-left:3px solid var(--n300);
  line-height:1.55;
  color:var(--ink3);
  box-shadow:none;
}

@media(max-width:860px) {
  .mehead{flex-wrap:wrap}
}

.attgrid th.c{padding:4px 2px;font-size:8.5px;min-width:20px}
.attgrid td.att{padding:4px 2px;font-family:var(--mono);font-size:10px;font-weight:700;text-align:center}
.attgrid td.att.yes{background:var(--green-bg);color:var(--green)}
.attgrid td.att.no{background:var(--red-bg);color:var(--red)}
.attgrid td.att.lv{background:var(--navy-bg);color:var(--navy)}
.attgrid td.att.hol{background:#EFEEE9;color:var(--chrome)}
.attgrid td.att.off{background:#F7F6F3}
.attgrid td.att.fut{background:transparent}
.attgrid2{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:8px}
.ujhead {
  display:flex;
  align-items:center;
  gap:16px;
  padding:13px 16px;
  border-radius:11px;
  background:linear-gradient(100deg,#171C2E,#11141F);
  color:#fff;
  margin-bottom:13px;
}
.ujprod{font-size:16px;font-weight:700;letter-spacing:-.3px;line-height:1.2}
.ujmeta{font-size:11.5px;color:#9AA2B6;margin-top:3px;display:flex;gap:5px;align-items:center;flex-wrap:wrap}
.ujmeta .tag{background:rgba(255,255,255,.1);color:#C3C9D8;border:none}
.ujstruct{font-size:10.5px;color:#6E7689;margin-top:3px}
.ujprog{margin-left:auto;text-align:center;flex:0 0 auto}
.ujpn{font-size:26px;font-weight:800;letter-spacing:-1px;line-height:1}
.ujpn span{font-size:15px;color:#6E7689;font-weight:600}
.ujpl{font-size:9.5px;color:#8A92A6;letter-spacing:.08em;text-transform:uppercase;margin-top:2px}
.ujstage {
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--card);
  margin-bottom:9px;
  overflow:hidden;
  box-shadow:var(--sh-1);
  transition:box-shadow .14s,border-color .14s;
}
.ujstage.open{border-color:var(--navy);box-shadow:var(--sh-2)}
.ujstage.done .ujnum{background:var(--green);color:#fff}
.ujbar{display:flex;align-items:center;gap:12px;width:100%;padding:11px 14px;text-align:left;background:none}
.ujbar:hover{background:var(--card2)}
.ujnum {
  width:24px;
  height:24px;
  flex:0 0 24px;
  border-radius:50%;
  background:#EFEEE9;
  color:var(--chrome);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:11.5px;
  font-weight:700;
  font-family:var(--mono);
}
.ujname{font-size:13.6px;font-weight:700;letter-spacing:-.15px;min-width:130px}
.ujmach{display:block;font-size:10.5px;color:var(--chrome);font-weight:400}
.ujflow{display:flex;align-items:center;gap:11px;flex:1;min-width:0}
.ujin, .ujout {
  display:flex;
  flex-direction:column;
  font-size:10px;
  color:var(--chrome);
  letter-spacing:.07em;
  text-transform:uppercase;
}
.ujin b, .ujout b {
  font-size:14px;
  font-family:var(--mono);
  color:var(--ink3);
  letter-spacing:-.3px;
  text-transform:none;
}
.ujout.has b{color:var(--navy)}
.ujin i, .ujout i{font-style:normal;font-size:9.5px;color:var(--chrome2);text-transform:none;letter-spacing:0}
.ujarrow{color:var(--chrome2);font-size:16px}
.ujpct{margin-left:auto}
.ujchev{color:var(--chrome2);font-size:11px;width:12px}
.ujbody{padding:4px 14px 14px;border-top:1px solid var(--line);background:var(--card2)}
.ujnav{display:flex;align-items:center;gap:8px;margin-top:12px}
.ujsum {
  border:1px solid var(--line);
  border-radius:11px;
  background:var(--card);
  padding:13px 15px;
  margin-top:14px;
  box-shadow:var(--sh-1);
}
.ujsumt {
  font-size:10px;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--chrome);
  font-weight:700;
  margin-bottom:9px;
}
.ujsumg{display:grid;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:11px}
.ujsumg>div{display:flex;flex-direction:column;gap:1px}
/* belongs with tables — kept here because it must load after a rule in this file */
.potot>div{display:flex;flex-direction:column;gap:1px}
.ujsumg span{font-size:10.5px;color:var(--chrome)}
/* belongs with tables — kept here because it must load after a rule in this file */
.potot span{font-size:10px;letter-spacing:.09em;text-transform:uppercase;color:var(--chrome);font-weight:700}
.ujsumg b{font-size:15px;font-family:var(--mono);letter-spacing:-.4px}
/* belongs with tables — kept here because it must load after a rule in this file */
.potot b{font-size:15px;font-family:var(--mono);letter-spacing:-.4px}
.ujsumg i{font-style:normal;font-size:9.5px;color:var(--chrome2)}
/* belongs with cards — kept here because it must load after a rule in this file */
.spv i{display:block;font-style:normal;opacity:.6;font-size:10px}
.ujsumg .big b{font-size:22px;font-weight:800}
.ujsumg b.p-grn{color:var(--green)}
.ujsumg b.p-cyn{color:var(--cyan)}
.ujsumg b.p-red{color:var(--red)}
.ujsumg b.p-amb{color:var(--amber)}
.ujsumg b.p-gry{color:var(--chrome)}
/* belongs with tables — kept here because it must load after a rule in this file */
.potot .big b{font-size:21px;font-weight:800;color:var(--navy)}
/* belongs with cards — kept here because it must load after a rule in this file */
.note.w b{color:#5A2F05}
/* belongs with cards — kept here because it must load after a rule in this file */
.note.d b{color:#6E1A13}
.ujdots{display:flex;gap:3px;margin-bottom:2px}
.ujdot{width:16px;height:5px;border-radius:3px;background:#DFDDD6}
.ujdot.on{background:var(--navy)}
.setbar{height:5px;border-radius:3px;background:#EFEEE9;overflow:hidden;margin-bottom:12px}
.setbar span{display:block;height:100%;background:var(--green);border-radius:3px;transition:width .3s}
/* belongs with login — kept here because it must load after a rule in this file */
.gate-roles span {
  font-family:var(--mono);
  font-size:10.5px;
  background:var(--n100);
  color:var(--n600);
  border-radius:var(--r-xs);
}
.setn {
  width:24px;
  height:24px;
  flex:0 0 24px;
  border-radius:50%;
  background:#EFEEE9;
  color:var(--chrome);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:11.5px;
  font-weight:700;
  font-family:var(--mono);
}
/* belongs with base — kept here because it must load after a rule in this file */
:focus-visible{outline:2px solid var(--navy);outline-offset:2px;border-radius:3px}
/* belongs with login — kept here because it must load after a rule in this file */
.gate-card{border-radius:var(--r-xl);box-shadow:var(--sh-3)}
/* belongs with login — kept here because it must load after a rule in this file */
.gate-err{border-radius:var(--r-sm);border-left:3px solid var(--red);background:var(--red-bg);color:#8A2018}
/* belongs with login — kept here because it must load after a rule in this file */
.gate-go{border-radius:var(--r-sm);font-weight:550}
/* belongs with layout — kept here because it must load after a rule in this file */
.brandmark {
  width:30px;
  height:30px;
  flex:0 0 30px;
  border-radius:var(--r-md);
  font-size:13px;
  font-weight:700;
  box-shadow:none;
  letter-spacing:-.02em;
}
/* belongs with layout — kept here because it must load after a rule in this file */
.unitpick{margin-top:14px;border-radius:var(--r-md);padding:3px;gap:2px}
/* belongs with layout — kept here because it must load after a rule in this file */
.mout{border-radius:var(--r-sm)}
/* belongs with layout — kept here because it must load after a rule in this file */
.navitem{font-size:13.2px;padding:8px 11px;border-radius:var(--r-sm)}
/* belongs with cards — kept here because it must load after a rule in this file */
.stack{border-radius:var(--r-xs);box-shadow:inset 0 0 0 1px rgba(22,27,37,.08)}
/* belongs with cards — kept here because it must load after a rule in this file */
.bar{background:var(--n150);border-radius:10px}
/* belongs with cards — kept here because it must load after a rule in this file */
.card, .tw{border-radius:var(--r-lg);box-shadow:var(--sh-1);border-color:var(--line)}
/* belongs with cards — kept here because it must load after a rule in this file */
.kpi {
  border-radius:var(--r-lg);
  padding:16px 17px;
  box-shadow:var(--sh-1);
  background:var(--card);
  border-color:var(--line);
}
/* belongs with cards — kept here because it must load after a rule in this file */
.note {
  background:var(--n50);
  border-color:var(--line);
  border-left-width:3px;
  border-left-color:var(--n300);
  border-radius:var(--r-md);
  padding:12px 15px;
  font-size:12.8px;
}
/* belongs with cards — kept here because it must load after a rule in this file */
.spv {
  border:1px solid var(--line,#E5E7EB);
  border-left:3px solid var(--accent,#C9873A);
  border-radius:5px;
  padding:4px 6px;
  margin-bottom:4px;
  cursor:pointer;
  font-size:11px;
  line-height:1.3;
  background:var(--card,#fff);
}
/* belongs with badges — kept here because it must load after a rule in this file */
.pill{border-radius:20px;letter-spacing:0;font-family:var(--sans)}
/* belongs with badges — kept here because it must load after a rule in this file */
.abcbadge {
  font-family:var(--sans);
  font-size:11px;
  font-weight:600;
  border-radius:var(--r-xs);
  width:18px;
  height:18px;
  line-height:18px;
}
/* belongs with badges — kept here because it must load after a rule in this file */
.rolebadge {
  font-family:var(--sans);
  font-size:11px;
  font-weight:600;
  letter-spacing:.01em;
  text-transform:none;
  border-radius:var(--r-xs);
  padding:2px 7px;
}
/* belongs with badges — kept here because it must load after a rule in this file */
.pill{font-size:11.5px;font-weight:600;padding:2.5px 9px}
/* belongs with buttons — kept here because it must load after a rule in this file */
.segb {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:17px;
  height:17px;
  padding:0 5px;
  border-radius:9px;
  font-size:10.5px;
  font-weight:600;
  line-height:1;
  font-variant-numeric:tabular-nums;
  background:var(--n150);
  color:var(--n600);
}
/* a detail that is on file but not for this login */
/* belongs with buttons — kept here because it must load after a rule in this file */
.hidval {
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:1px 7px;
  border-radius:10px;
  background:var(--n100);
  color:var(--n500);
  font-size:11.5px;
  font-weight:500;
  cursor:default;
}
/* belongs with buttons — kept here because it must load after a rule in this file */
.btn{border-radius:var(--r-sm);padding:7px 14px;font-size:13px;font-weight:550;border-color:var(--n200)}
/* belongs with buttons — kept here because it must load after a rule in this file */
.seg{background:var(--n100);border-radius:var(--r-md);padding:3px}
/* belongs with buttons — kept here because it must load after a rule in this file */
.spadd {
  border:1px dashed var(--line,#E5E7EB);
  background:none;
  border-radius:5px;
  width:100%;
  padding:3px 0;
  color:var(--muted,#6B7280);
  cursor:pointer;
  font-size:12px;
}
/* belongs with drawer — kept here because it must load after a rule in this file */
.x{border-radius:var(--r-sm);transition:background var(--t-fast) var(--ease)}
/* belongs with drawer — kept here because it must load after a rule in this file */
.toast{border-radius:var(--r-md);padding:10px 16px;font-size:13px;font-weight:500;box-shadow:var(--sh-3)}
/* belongs with drawer — kept here because it must load after a rule in this file */
.previewbox{background:var(--n150);border-radius:var(--r-lg)}
/* belongs with drawer — kept here because it must load after a rule in this file */
.idlewarn {
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:22px;
  z-index:99998;
  background:var(--navy,#2E358A);
  color:#fff;
  padding:12px 18px;
  border-radius:12px;
  box-shadow:0 10px 34px rgba(0,0,0,.28);
  font-size:13.5px;
  display:flex;
  gap:12px;
  align-items:center;
  max-width:min(92vw,560px);
}
/* belongs with notifications — kept here because it must load after a rule in this file */
.notif {
  border-radius:var(--r-md);
  padding:13px 14px;
  box-shadow:var(--sh-1);
  transition:border-color var(--t-fast) var(--ease),background var(--t-fast) var(--ease);
}
.sett{display:block;font-size:13.2px;font-weight:700;letter-spacing:-.15px}
.setd{display:block;font-size:11.4px;color:var(--chrome);margin-top:1px}
.ujsales{font-size:11px;color:#9AA2B6;margin-top:4px}
.ujsales b{color:#C3C9D8}
/* belongs with cards — kept here because it must load after a rule in this file */
.empty b{font-size:14.5px;font-weight:600;color:var(--ink);margin-bottom:6px}
/* belongs with cards — kept here because it must load after a rule in this file */
.note b{color:var(--ink);font-weight:600}
/* belongs with drawer — kept here because it must load after a rule in this file */
.idlewarn b{font-weight:700}
.artcard, .finding {
  border-radius:var(--r-lg);
  box-shadow:var(--sh-1);
  transition:border-color var(--t-fast) var(--ease),background var(--t-fast) var(--ease);
}
.artcard:hover{transform:none;box-shadow:var(--sh-1);border-color:var(--navy);background:var(--n50)}
.artcard .atype {
  font-family:var(--sans);
  font-size:10px;
  font-weight:600;
  letter-spacing:.03em;
  border-radius:var(--r-xs);
}
.artcard .ameta{font-family:var(--sans);font-size:11.5px}
.whobox{border-radius:var(--r-md);box-shadow:none;background:var(--n50)}
.whonm{font-weight:600;letter-spacing:-.01em}
.mehead{border-radius:var(--r-lg);box-shadow:none}
.meav{box-shadow:none}
.mehead{background:linear-gradient(100deg,#4A5A9E,#3C4B88)}
