/* EcoSystem 5000 - office app styling. Lifted whole out of index.html. v1745 */
    :root{
      --royal:#2547d6; --royal-dark:#1c37ab; --navy:#16246b;
      --purple:#7c3aed; --orange:#e8862e; --green:#57bd34;
      --apple:#57bd34; --apple-dark:#2f7d18;
      --ink:#1e2433; --muted:#6b7488; --line:#e7ebf3; --field:#f4f7fb; --paper:#fff;
    }
    *{box-sizing:border-box}
    html{ scrollbar-gutter:stable; }
    html,body{height:100%}
    body{
      /* Dragging down on the dashboard was reloading the whole app, which looks
         like it went back. The page keeps its own scroll instead. v1320. */
      overscroll-behavior-y: contain;
      margin:0; font-family:'Nunito',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
      color:var(--ink); min-height:100vh; width:100%;
      display:flex; flex-direction:column; align-items:center; justify-content:center;
      padding:64px 20px 40px;
      position:relative; overflow-x:hidden;
      background:#eaf2ff;
    }
    .bg{position:fixed; inset:0; overflow:hidden; z-index:0; pointer-events:none;}
    .blob{position:absolute; border-radius:50%; filter:blur(72px); opacity:.5;}
    .blob.blue{width:440px;height:440px;background:#7aa0ff; top:-130px; left:-110px;}
    .blob.green{width:400px;height:400px;background:#a9e98a; bottom:-130px; right:-100px;}
    .card{
      position:relative; z-index:1; width:100%; max-width:420px;
      background:var(--paper); border:1px solid var(--line); border-radius:22px;
      padding:34px 30px 26px; box-shadow:0 22px 60px rgba(22,36,107,.13);
      text-align:center; margin:auto;
    }
    .logo{
      width:104px;height:104px;border-radius:50%; background:#fff;
      box-shadow:0 0 0 4px var(--royal), 0 12px 26px rgba(22,36,107,.22);
      position:absolute; top:-52px; left:50%; transform:translateX(-50%);
      overflow:hidden;
    }
    .logo-img{
      position:absolute; left:50%; top:50%;
      width:116%; height:116%; object-fit:cover;
      transform:translate(calc(-50% + 2px), calc(-50% + 5px));
    }
    h1{margin:58px 0 4px; font-size:25px; font-weight:800; color:var(--navy); letter-spacing:-.01em;}
    .sub{margin:0 0 22px; color:var(--muted); font-size:15px; line-height:1.5;}
    form{text-align:left;}
    label{display:block; font-size:13px; font-weight:700; color:var(--navy); margin:0 0 6px;}
    .field{
      width:100%; padding:13px 14px; margin:0 0 16px; border:1.5px solid var(--line);
      border-radius:12px; background:var(--field); font-size:15px; font-family:inherit; color:var(--ink);
      transition:border-color .15s, background .15s, box-shadow .15s;
    }
    .field:focus{outline:none; border-color:var(--royal); background:#fff; box-shadow:0 0 0 4px rgba(37,71,214,.14);}
    .row{display:flex; justify-content:flex-end; flex-wrap:wrap; gap:6px 18px; margin:-8px 0 18px;}
    .link{color:var(--royal); font-weight:700; font-size:13px; text-decoration:none;}
    .link:hover{text-decoration:underline;}
    .btn{
      width:100%; padding:14px; border:2px solid transparent; border-radius:12px;
      font-family:inherit; font-size:16px; font-weight:800; cursor:pointer; text-align:center;
      transition:transform .06s, background .15s, box-shadow .15s; display:block; text-decoration:none;
    }
    .btn:active{transform:translateY(1px);}
    .btn-primary{background:var(--royal); color:#fff; border-color:var(--royal); box-shadow:0 6px 16px rgba(37,71,214,.28);}
    .btn-primary:hover{background:var(--royal-dark); border-color:var(--royal-dark);}
    .btn-primary:disabled{opacity:.7; cursor:default;}
    .btn-apple{background:#f1fbeb; color:var(--apple-dark); border-color:var(--apple);}
    .btn-apple:hover{background:#e6f7da;}
    .msg{font-size:13.5px; padding:10px 12px; border-radius:10px; margin:0 0 14px; display:none; text-align:left; line-height:1.45;}
    .msg.error{background:#fdecec; color:#b42318; border:1px solid #f7cfcf;}
    .msg.note{background:#eef4ff; color:var(--royal-dark); border:1px solid #d7e3ff;}
    .divider{display:flex; align-items:center; gap:12px; color:var(--muted); font-size:13px; font-weight:700; margin:22px 0 14px;}
    .divider::before,.divider::after{content:''; height:1px; background:var(--line); flex:1;}
    .check{
      width:66px;height:66px;border-radius:50%; margin:6px auto 14px;
      background:rgba(87,189,52,.15); color:var(--apple-dark);
      display:flex; align-items:center; justify-content:center; font-size:34px; font-weight:800;
    }
    .foot{margin-top:18px; font-size:12px; color:var(--muted);}
    .install-hint{display:none; position:relative; z-index:1; max-width:420px; margin:14px auto 0;
      background:rgba(255,255,255,.7); border:1px solid var(--line); border-radius:14px;
      padding:13px 16px; font-size:12.5px; line-height:1.6; color:var(--navy); text-align:center;}
    @media (max-width:768px){ .install-hint{display:block;} }
    body.signed-in .install-hint{display:none!important;}
    @media (prefers-reduced-motion: reduce){*{transition:none!important;}}
    @media (max-width:420px){.card{padding:30px 22px 24px;}}

    /* ---------- App shell ---------- */
    body.signed-in{ display:block; padding:0;
      background:
        #eaf2ff;
      background-attachment:fixed; }
    body.signed-in main.card, body.signed-in .bg{ display:none !important; }
    body.signed-in #appScreen{ position:relative; z-index:1; }
    #appScreen{ display:none; }
/* Coming back from Notifications or Settings is a real page load. These stop it
   flashing white and then jumping: the background is painted from the first
   frame and the app area is already the right height. v1098. */
html{ background:#eef3fb; }
body{ min-height:100vh; }
    body.signed-in #appScreen{ display:block; }
    .appbar{ position:sticky; top:0; z-index:10; background:#2547d6; box-shadow:0 4px 18px rgba(22,36,107,.22); }
    .appbar::after{ content:''; position:absolute; left:0; right:0; bottom:0; height:2px; background:rgba(255,255,255,.25); }
    .appbar-in{ max-width:1080px; margin:0 auto; padding:12px 22px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
    .brand{ display:flex; align-items:center; gap:10px; }
    .brand-btn{ background:none; border:none; cursor:pointer; padding:0; }
    .brand-logo{ width:38px; height:38px; border-radius:50%; box-shadow:0 2px 8px rgba(0,0,0,.28); overflow:hidden; position:relative; flex:none; }
    .brand-logo-img{ position:absolute; inset:0; width:100%; height:100%; display:block; }
    .brand-name{ font-weight:900; color:#fff; font-size:17px; letter-spacing:-.01em; text-shadow:0 1px 3px rgba(0,40,30,.28); white-space:nowrap; }
    .appbar-r{ display:flex; align-items:center; gap:12px; }
    .gsx{ position:relative; flex:1 1 180px; min-width:0; max-width:330px; }
    .gs-in{ width:100%; height:36px; border:1.5px solid rgba(255,255,255,.5); background:rgba(255,255,255,.18); color:#fff; font-family:inherit; font-weight:700; font-size:13px; padding:0 12px; border-radius:10px; box-sizing:border-box; }
    .gs-in::placeholder{ color:rgba(255,255,255,.85); font-weight:700; }
    .gs-in:focus{ outline:none; background:#fff; color:#16246b; border-color:#fff; }
    .gs-res{ position:absolute; top:42px; left:0; right:0; background:#fff; border:1px solid #e6e9f2; border-radius:12px; box-shadow:0 14px 34px rgba(16,36,107,.24); max-height:62vh; overflow:auto; z-index:40; display:none; }
    .gs-res.on{ display:block; }
    .gs-h{ font-size:11px; font-weight:900; text-transform:uppercase; letter-spacing:.4px; color:#9aa2b6; padding:10px 12px 4px; }
    .gs-it{ display:block; width:100%; text-align:left; border:none; background:none; font:inherit; padding:8px 12px; cursor:pointer; color:#1b2440; text-decoration:none; }
    .gs-it:hover{ background:#eef2ff; }
    .gs-it b{ font-weight:800; font-size:14px; display:block; }
    .gs-it i{ font-style:normal; font-size:12px; color:#6b7488; display:block; }
    .gs-none{ padding:14px 12px; font-size:13px; color:#6b7488; font-weight:700; }
  .inv-back{background:none;border:none;color:#2547d6;font-weight:800;font-size:.9rem;cursor:pointer;padding:4px 0;margin-bottom:8px}
  .inv-line b{font-weight:800}
  .inv-tot b{font-weight:800}
  .inv-print{width:100%;height:44px;margin-top:12px;border:1px solid #cfd6e8;background:#fff;color:#2547d6;font-weight:800;border-radius:10px;cursor:pointer}
  .dc-wrap{background:#fff;border-radius:16px;max-width:720px;width:100%;max-height:92vh;overflow:auto;box-shadow:0 22px 60px rgba(16,22,40,.35)}
  .dc-bar{position:sticky;top:0;background:#f5f8ff;border-bottom:1px solid #e3e8f5;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 16px;flex-wrap:wrap;z-index:2}
  .dc-bar>b{color:#16246b;font-size:1rem}
  .dc-acts{display:flex;gap:8px;flex-wrap:wrap}
  .dc-btn{height:36px;padding:0 14px;border:1px solid #cfd6e8;background:#fff;color:#2547d6;font-weight:800;font-size:.82rem;border-radius:9px;cursor:pointer;font-family:inherit}
  .dc-btn.go{border-color:#57bd34;color:#fff;background:#57bd34}
  .dc-btn.x{color:#6b7488}
  .dc-msg{padding:9px 16px;background:#edfbe6;color:#3aa02a;font-weight:800;font-size:.85rem}
  .dc-msg.wait{background:#eef2ff;color:#2547d6}
  .dc-msg.good{background:#edfbe6;color:#3aa02a}
  .dc-msg.bad{background:#fdecec;color:#b5342f}
  .dc-btn.busy{opacity:.85;cursor:default}
  .dc-btn.busy:after{content:'';display:inline-block;width:12px;height:12px;margin-left:8px;vertical-align:-2px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;animation:dcspin .7s linear infinite}
  @keyframes dcspin{to{transform:rotate(360deg)}}
  .dc-no b{display:block;color:#16246b}
  .dc-no i{display:block;font-style:normal;color:#6b7488;font-size:.85rem}
  @media(max-width:760px){ .dc-doc{padding:18px 16px} .dc-title{font-size:1.5rem} .dc-sum{min-width:0;width:100%} }
  @media print{
    @page{ margin:14mm; }
    /* nothing but the document goes on paper - no buttons, no shells, no ghosts */
    .ap-top,.ap-nav,.ap-bot,.apbar,.inv-back,.inv-print,.permprev,.dc-bar,.dc-msg,
    .cbill-go,.cbill-cred,.cbill-credrow,.cfold,.pj-open,.pj-doc,.cpay-apps,.ccard-add,.ccard-del,
    button,.btn,.cr-link,.ovl .dc-acts{display:none !important}
    .inv-card{border:none;padding:0}
    body{background:#fff}
    /* when a document is open, print that alone - nothing else on the page */
    body.dc-printing *{visibility:hidden !important}
    body.dc-printing .ovl,
    body.dc-printing .ovl *{visibility:visible !important}
    body.dc-printing .ovl{position:absolute !important;inset:0 !important;background:#fff !important;padding:0 !important;display:block !important;overflow:visible !important}
    body.dc-printing .dc-wrap{box-shadow:none !important;max-height:none !important;overflow:visible !important;border-radius:0 !important;max-width:none !important;width:100% !important;margin:0 !important}
    body.dc-printing .dc-doc{padding:0 !important}
    .ovl{position:static !important;background:none !important;padding:0 !important;display:block !important}
    .dc-wrap{box-shadow:none !important;max-height:none !important;overflow:visible !important;border-radius:0 !important;max-width:none !important}
    .dc-doc{padding:0 !important}
  }
  /* each mark is a different shape, so each gets its own size to look the same weight */
  .pj-tots{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
  .pj-tot{flex:1 1 90px;background:#f5f8ff;border:1px solid #e3e8f5;border-radius:9px;padding:5px 9px}
  .pj-tot span{display:block;font-size:9.5px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;color:#6b7488}
  .pj-tot b{font-size:.95rem;color:#16246b}
  .pj-tot.owe b{color:#b5342f}
  .pj-tot.got b{color:#3aa02a}
  .pj-removed{opacity:.72;background:#fbfbfd}
  .pj-rmtag{display:inline-block;background:#f3f4f8;border:1px solid #e0e3ee;color:#6b7488;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;border-radius:6px;padding:2px 7px;margin-left:6px}
  .pj-back{height:36px;padding:0 13px;border:1px solid #cdd7f5;background:#fff;color:#2547d6;border-radius:10px;font:inherit;font-weight:800;font-size:.78rem;cursor:pointer}
  .pj-row{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e3e8f3;border-radius:10px;padding:8px 12px;margin-bottom:6px;min-height:44px;flex-wrap:wrap}
  /* the service and the date on top, the detail beneath, everything else right */
  .pj-lead{flex:1 1 260px;min-width:0;display:flex;flex-direction:column;gap:1px}
  .pj-svc{font-weight:800;color:#1b2440;font-size:14.5px}
  .pj-top{font-size:.84rem;color:#3d465e;font-weight:700;line-height:1.45}
  .pj-day{color:#16246b}
  .pj-list-x{display:none}
  .pj-meta{font-size:.79rem;color:#8a93a8;min-width:0;line-height:1.45;font-weight:600}
  .pj-meta .pj-nc{color:#a06a00}
  .pj-meta .pj-done{display:inline-block;background:#eef2ff;color:#2547d6;border-radius:7px;padding:1px 7px;font-weight:800;font-size:.76rem;margin-left:2px}
  .pj-meta .pj-book{font-weight:800;color:#16246b}
  .pj-amt{font-weight:900;color:#16246b;flex:0 0 auto}
  .pj-ok{color:#3aa02a;font-weight:800;font-size:.8rem;flex:0 0 auto}
  .pj-part{color:#a06a00;font-weight:800;font-size:.8rem;flex:0 0 auto}
  .pj-owe{color:#b5342f;font-weight:800;font-size:.8rem;flex:0 0 auto}
  /* one look for every row button - see the style guide. Green meant nothing
     here, and color is never decoration. */
  .pj-open,.pj-doc{height:30px;padding:0 12px;border:1px solid #e3e8f3;background:#fff;color:#2547d6;
    font-weight:800;font-size:.8rem;border-radius:8px;cursor:pointer;font-family:inherit;flex:0 0 auto;white-space:nowrap}
  .pj-open:hover,.pj-doc:hover{background:#f2f6ff;border-color:#c9d6f5}
  /* every control 36px; Open job goes to the job screen, in royal like Upcoming's. v1923 */
  .pj-open,.pj-doc{height:36px}
  a.pj-job{display:inline-flex;align-items:center;text-decoration:none;box-sizing:border-box;background:var(--royal);border-color:var(--royal);color:#fff}
  a.pj-job:hover{background:var(--navy);border-color:var(--navy);color:#fff}
  @media(max-width:760px){
    .pj-row{flex-wrap:wrap;white-space:normal;padding:8px 12px}
    .pj-svc{max-width:none;flex:1 1 100%}
    .pj-meta{flex:1 1 100%;white-space:normal}
  }
  .pj-tots .pj-tot b{line-height:1.2}
  /* how overdue it is, at a glance */
  .pj-due i{display:block;font-style:normal;font-size:10.5px;font-weight:700;opacity:.85;margin-top:1px}
  .pj-due.d1{background:#edfbe6;border-color:#bfe6b0}
  .pj-due.d1 b,.pj-due.d1 i{color:#3aa02a}
  .pj-due.d2{background:#fff8e6;border-color:#f0dca6}
  .pj-due.d2 b,.pj-due.d2 i{color:#a06a00}
  .pj-due.d3{background:#fff1e6;border-color:#f3ccae}
  .pj-due.d3 b,.pj-due.d3 i{color:#c2410c}
  .pj-due.od{background:#fdecec;border-color:#f0bcbc}
  .pj-due.od b,.pj-due.od i{color:#b5342f}
  .pj-when{font-weight:800}
  .pj-when.d1{color:#3aa02a}
  .pj-when.d2{color:#a06a00}
  .pj-when.d3{color:#c2410c}
  .pj-when.od{color:#b5342f}
    .ow-time{ font-size:12.5px; font-weight:800; color:#2547d6; margin:0; }
    .job-when{ display:block; font-size:12px; font-weight:800; color:#2547d6; margin-top:2px; }
    .oc-ver{ margin-left:auto; font-size:11px; font-weight:800; color:#9aa2b6; letter-spacing:.04em; white-space:nowrap; }
    .cc-tm{ display:block; font-size:11px; font-weight:900; letter-spacing:.2px; }
    .cc-mx{ display:block; font-size:10.5px; font-weight:700; opacity:.85; line-height:1.25; }
    .job-meta{ margin-top:4px; font-size:12.5px; font-weight:700; color:#41506e; }
    .job-extras{ font-weight:600; color:#6b7488; }
    .tl-ok{ background:#e9f8e4; color:#2f8c1d; }
    .haslogin-chip{ display:inline-block; margin-left:8px; font-size:11px; font-weight:900; letter-spacing:.3px; color:#2f8c1d; background:#e9f8e4; border:1px solid #cfeec4; border-radius:6px; padding:2px 7px; vertical-align:middle; }
    .dup-typed{ margin:10px 0 0; padding:11px 13px; background:#f5f8ff; border:1px solid #e2e9fb; border-radius:11px; }
    .dup-tl{ font-size:11px; font-weight:900; text-transform:uppercase; letter-spacing:.06em; color:#6b7488; margin-bottom:5px; }
    .dup-typed pre{ margin:0 0 9px; font:inherit; font-size:13px; color:#1b2440; white-space:pre-wrap; word-break:break-word; }
    .dup-copy{ width:100%; height:34px; border-radius:9px; border:1.5px solid var(--royal); background:#fff; color:var(--royal); font:inherit; font-size:12.5px; font-weight:800; cursor:pointer; }
    .nologin-chip{ display:inline-block; margin-left:8px; font-size:11px; font-weight:900; letter-spacing:.3px; color:#8a5b12; background:#fff4e6; border:1px solid #f0d7ab; border-radius:6px; padding:2px 7px; vertical-align:middle; }
    .rq-wait{ font-size:12px; font-weight:800; color:#8a5b12; background:#fff4e6; border:1px solid #f0d7ab; border-radius:7px; padding:4px 10px; white-space:nowrap; }
    .rq-hdr{ font-size:10.5px; font-weight:900; text-transform:uppercase; letter-spacing:.05em; color:#9aa2b6; }
    .rq-hdr .rq-was{ text-decoration:none; color:#9aa2b6; }
    .arch-chip{ display:inline-block; margin-left:8px; font-size:11px; font-weight:900; letter-spacing:.3px; color:#b23b3b; background:#fbeaea; border:1px solid #f0d2d2; border-radius:6px; padding:2px 7px; vertical-align:middle; }
    .gs-card,.gs-nocard{ display:inline-block; margin-left:8px; font-size:12px; font-weight:900; border-radius:6px; padding:1px 7px; }
    .gs-card{ color:#2f6b18; background:#eef7e9; border:1px solid #d6ecca; }
    .gs-nocard{ color:#6b7488; background:#f4f6fb; border:1px solid #e3e8f3; }
    .bill-card{ display:block; margin-top:6px; font-weight:800; }
    .bill-card.on{ color:#2f6b18; }
    .bill-card.off{ color:#6b7488; }
    .gs-arch{ display:inline-block; margin-left:8px; font-size:12px; font-weight:900; letter-spacing:.3px; color:#b23b3b; background:#fbeaea; border:1px solid #f0d2d2; border-radius:6px; padding:1px 7px; vertical-align:middle; }
    .ver{ font-size:11px; font-weight:800; color:rgba(255,255,255,.9); letter-spacing:.04em; margin-left:4px; white-space:nowrap; }
    .who{ display:flex; align-items:center; gap:9px; }
    .who-av{ width:30px; height:30px; border-radius:50%; background:var(--royal); color:#fff; font-weight:800; font-size:13px; display:flex; align-items:center; justify-content:center; flex:none; box-shadow:0 2px 6px rgba(0,0,0,.18), 0 0 0 2px rgba(255,255,255,.55); }
    .who-name{ font-weight:700; color:#fff; font-size:14px; text-shadow:0 1px 2px rgba(0,40,30,.28); }
    .appbar .hback-top, .appbar .btn-add, .appbar .btn-out, .appbar .bell{ height:36px; flex:none; white-space:nowrap; border-radius:10px; font-family:inherit; font-size:13px; font-weight:800; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; }
    .appbar .hback-top, .appbar .btn-add{ background:#fff; border:none; color:var(--royal); padding:0 12px; gap:4px; box-shadow:0 3px 10px rgba(10,30,90,.18); white-space:nowrap; }
    .appbar .hback-top:hover, .appbar .btn-add:hover{ background:#eef2ff; }
    .appbar .hback-top:active, .appbar .btn-add:active, .appbar .btn-out:active{ transform:translateY(1px); }
    .appbar .btn-out{ background:rgba(255,255,255,.18); border:1.5px solid rgba(255,255,255,.55); color:#fff; padding:0 15px; }
    .appbar .btn-out:hover{ background:rgba(255,255,255,.3); }
    .appbar .bell{ width:36px; background:rgba(255,255,255,.18); border:1.5px solid rgba(255,255,255,.55); font-size:16px; position:relative; }
    .hback-top{ margin-right:auto; }
    /* A staff member and an admin need a way into their OWN card - to clock in
       and out, change their details and add their paperwork. There was no route
       to it at all: the card existed and nothing opened it. The initials in the
       header are that route now. v1087. */
    .who-btn{ border:0; padding:0; background:none; cursor:pointer; font:inherit; }
    .who-btn:hover .who-av{ box-shadow:0 0 0 3px rgba(255,255,255,.55); }
    .btn-out{ border:1.5px solid rgba(255,255,255,.5); background:rgba(255,255,255,.16); color:#fff; font-family:inherit; font-weight:800; font-size:13px; padding:8px 14px; border-radius:10px; cursor:pointer; }
    .btn-out:hover{ background:rgba(255,255,255,.28); border-color:rgba(255,255,255,.7); }
    @media(max-width:640px){
      body{ overflow-x:hidden; }
      .appbar-in{ max-width:none; padding:9px 12px; gap:8px; flex-wrap:wrap; }
      .appbar .brand{ order:1; }
      .appbar .hback-top{ order:2; margin-right:0 !important; }
      .appbar .btn-add{ order:3; }
      .appbar .bell{ order:4; }
      .appbar .who{ order:5; }
      .appbar-r{ order:6; margin-left:auto; }
      .appbar-r .btn-out{ margin-left:auto; }
      .brand-name{ display:none; }
      .who-name{ display:none; }
      .appbar-in{ flex-wrap:wrap; align-items:center; }
      .appbar-r{ display:contents; }
      .appbar .brand{ order:1; flex:none; }
      .appbar .hback-top{ order:2; margin-left:auto; margin-right:0 !important; }
      .appbar .btn-add{ order:3; }
      .appbar .bell{ order:4; }
      .appbar .who{ order:5; }
      .appbar .btn-out{ order:6; }
      .appbar .ver{ order:7; }
      .gsx{ order:8; flex:1 1 100%; max-width:none; margin-top:8px; }
      .gs-res{ top:44px; left:0; right:0; }
      .appbar .btn-out, .appbar .hback-top, .appbar .btn-add{ padding:0 8px; font-size:12px; height:34px; }
      /* Refresh stays on every screen and every size. The bar is the same bar
         everywhere - it does not lose buttons on a phone. */
      .appbar .btn-out[data-action="refreshnow"]{ display:inline-flex; align-items:center; justify-content:center; }
      .appbar .bell{ width:34px; height:34px; font-size:15px; }
      .appbar .who-av{ width:34px; height:34px; font-size:13px; }
      .add-lbl{ display:none; }
      .add-sh{ display:inline; }
      .ver{ margin-left:2px; }
    }
    .intake-ov{ position:fixed; inset:0; background:rgba(15,22,45,.55); z-index:60; display:flex; align-items:center; justify-content:center; padding:10px; }
    .intake-card{ background:#fff; width:100%; max-width:1340px; height:97vh; border-radius:16px; overflow:hidden; display:flex; flex-direction:column; box-shadow:0 24px 70px rgba(0,0,0,.4); resize:both; }
    .intake-bar{ display:flex; align-items:center; gap:10px; padding:12px 18px; border-bottom:1px solid var(--line); }
    .intake-bar .t{ font-weight:800; color:var(--navy); font-size:16px; }
    .intake-bar .x{ margin-left:auto; border:none; background:#f5f8ff; width:34px; height:34px; border-radius:9px; font-size:18px; cursor:pointer; color:#6b7488; }
    .intake-bar .x:hover{ background:#e8edf8; }
    .intake-frame{ flex:1; border:0; width:100%; }
    @media(max-width:640px){ .intake-ov{ padding:0; } .intake-card{ max-width:none; height:100vh; border-radius:0; } }
    .bell{ position:relative; background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.45); border-radius:10px; width:38px; height:38px; font-size:17px; cursor:pointer; display:flex; align-items:center; justify-content:center; }
    .bell:hover{ background:#eef2f8; }
    .bell-dot{ position:absolute; top:-6px; right:-6px; background:var(--apple); color:#fff; font-size:11px; font-weight:800; min-width:18px; height:18px; padding:0 4px; border-radius:999px; display:flex; align-items:center; justify-content:center; border:2px solid #fff; }
    .app-main{ max-width:1080px; margin:0 auto; padding:28px 22px 56px; }

    /* dashboard */
    /* callbacks screen */
    .hello-sub{ margin:4px 0 0; color:var(--muted); font-size:.95rem; }
    @media (max-width:900px){ .cbgrp{ grid-template-columns:10px minmax(0,1fr); padding:10px 14px; } .cbgrp-d{ display:none; } }
    @media (max-width:900px){
      /* The new-callback box and the look-up both stack to full width on a phone
         instead of squeezing four controls onto one line. */
      /* Name and date share the top line, then the note, then the buttons wrap
         underneath. Six stacked lines per row wasted most of the screen. */
    }

    .hello{ display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin:6px 0 22px; }
    .hello h1{ margin:0; font-size:26px; font-weight:800; color:var(--navy); }
    .roles{ display:flex; gap:6px; flex-wrap:wrap; }
    .badge-role{ background:rgba(37,71,214,.10); color:var(--royal-dark); font-weight:700; font-size:12px; padding:4px 10px; border-radius:999px; }
    .acct{ display:flex; flex-wrap:wrap; align-items:center; gap:18px 44px; background:#fff; border:1px solid var(--line); border-radius:16px; padding:20px 22px; margin-bottom:30px; box-shadow:0 8px 24px rgba(22,36,107,.05); }
    .acct-id{ display:flex; align-items:center; gap:14px; }
    .acct-name{ font-weight:800; color:var(--navy); font-size:18px; }
    .acct-role-line{ margin-top:5px; }
    .acct-details{ display:flex; flex-direction:column; gap:9px; }
    .acct-details > div{ font-size:14.5px; }
    .acct-k{ color:var(--muted); font-weight:600; }
    .acct-v{ color:var(--ink); font-weight:700; }
    .acct-details .acct-k{ margin-right:8px; }
    .acct-row{ display:flex; justify-content:space-between; gap:16px; padding:13px 0; border-bottom:1px solid var(--line); font-size:14.5px; }
    .acct-row:last-child{ border-bottom:none; }
    .acct-row .acct-v{ text-align:right; }
    .sec-h{ font-size:13px; font-weight:800; color:var(--muted); margin:0 0 14px; letter-spacing:.06em; text-transform:uppercase; }
    .tiles{ display:grid; grid-template-columns:repeat(auto-fill, minmax(220px,1fr)); gap:14px; }
    .tile{ position:relative; background:#fff; border:1px solid var(--line); border-radius:16px; padding:18px; display:flex; align-items:flex-start; gap:12px; box-shadow:0 6px 18px rgba(22,36,107,.05); transition:transform .1s, box-shadow .15s, border-color .12s; }
    .tile:hover{ transform:translateY(-2px); box-shadow:0 12px 26px rgba(22,36,107,.10); }
    .tile-on{ cursor:pointer; }
    .tile-on:hover{ border-color:#c4d1ee; }
    .tile-ic{ font-size:22px; line-height:1; width:42px; height:42px; display:flex; align-items:center; justify-content:center; background:rgba(37,71,214,.08); border-radius:12px; flex:none; }
    .tile-t{ font-weight:800; color:var(--navy); font-size:15px; }
    /* never more than two lines under a tile's name. Adam, 3 Oct 2026. v1464. */
    .tile-d{ color:var(--muted); font-size:13px; margin-top:2px; line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
    .soon{ position:absolute; top:12px; right:12px; font-size:10.5px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; color:var(--apple-dark); background:rgba(87,189,52,.14); padding:3px 8px; border-radius:999px; }
    .tile-badge{ position:absolute; top:11px; right:11px; background:var(--apple); color:#fff; font-size:11px; font-weight:800; min-width:20px; height:20px; padding:0 5px; border-radius:999px; display:flex; align-items:center; justify-content:center; }
    .cal-head{ display:flex; align-items:flex-end; justify-content:space-between; flex-wrap:wrap; gap:12px; margin:6px 0 6px; }
    .cal-head-l{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
    /* The sign-in heading rule gave this h1 a 58px top margin, so Month / Week /
       Day sat above the word Calendar instead of beside it. v1348. */
    .cal-head-l h1{ margin:0; font-size:26px; font-weight:800; color:var(--navy); line-height:1.15; }
    .cal-head{ align-items:center; }
    .cal-seg-wrap{ display:inline-flex; background:var(--field); border:1px solid var(--line); border-radius:12px; padding:3px; gap:2px; }
    .cal-seg{ border:0; background:transparent; color:var(--muted); font:inherit; font-weight:700; font-size:13px; padding:7px 16px; border-radius:9px; cursor:pointer; transition:all .12s; }
    .cal-seg:hover{ color:var(--navy); }
    .cal-seg.on{ background:#fff; color:var(--royal); box-shadow:0 2px 8px rgba(22,36,107,.12); }
    .cal-nav{ display:flex; align-items:center; gap:8px; }
    .cal-arw{ background:#fff; border:1px solid var(--line); color:var(--navy); width:34px; height:34px; border-radius:10px; font-size:20px; line-height:1; cursor:pointer; font-weight:800; }
    .cal-arw:hover{ border-color:#c4d1ee; }
    .cal-mn{ font-weight:800; color:var(--navy); font-size:16px; min-width:170px; text-align:center; }
    .cal-todaybtn{ background:#fff; border:1px solid var(--line); color:var(--navy); font-weight:700; font-size:13px; padding:7px 13px; border-radius:10px; cursor:pointer; }
    .cal-todaybtn:hover{ border-color:#c4d1ee; }
    .cal-routebtn{ background:#2547d6; border-color:#2547d6; color:#fff; }
    .cal-routebtn:hover{ border-color:#16246b; }
    .sjb .sjb-rn, .dbx-rn{ display:inline-flex; align-items:center; justify-content:center; min-width:17px; height:17px; padding:0 4px; margin-right:4px; border-radius:9px; background:#16246b; color:#fff; font-size:10.5px; font-weight:900; line-height:1; vertical-align:1px; box-sizing:border-box; }
    .crt{ margin:0 0 10px; display:flex; flex-direction:column; gap:8px; }
    .crt-r{ border:1px solid var(--line); border-radius:12px; background:#fff; padding:8px 12px; }
    .crt-h{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
    .crt-h b{ color:var(--navy); font-weight:900; }
    .crt-h span{ color:#6b7488; font-weight:700; font-size:13px; flex:1; }
    .crt-b{ height:36px; padding:0 14px; border:1px solid var(--line); border-radius:10px; background:#fff; color:var(--navy); font:inherit; font-weight:800; font-size:13px; cursor:pointer; }
    .crt-l{ display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
    .crt-s{ display:inline-flex; align-items:center; gap:6px; height:28px; padding:0 10px 0 4px; border-radius:14px; background:#f2f5ff; color:var(--navy); font-weight:800; font-size:12.5px; }
    /* stops say who, where, what. v1674 */
    .crt-s{ height:auto !important; align-items:flex-start !important; padding:5px 10px 5px 5px !important; border-radius:10px !important; cursor:pointer; max-width:240px; }
    .crt-s:hover{ background:#e6ecfe !important; }
    .crt-sx{ display:flex; flex-direction:column; gap:1px; min-width:0; line-height:1.25; }
    .crt-sx b{ font-size:12.5px; font-weight:800; color:var(--navy); }
    .crt-sx em{ font-style:normal; font-size:11.5px; font-weight:600; color:#4b5875; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .crt-sx small{ font-size:11px; font-weight:700; color:#6b7488; }
    .crt-s i{ font-style:normal; display:inline-flex; align-items:center; justify-content:center; min-width:20px; height:20px; border-radius:10px; color:#fff; background:#2547d6; font-size:11px; font-weight:900; }
    .crt-hc i{ background:#57bd34; } .crt-blk i{ background:#e8862e; }
    .cal-defrow{ font-size:12px; color:var(--muted); margin:0 0 8px; }
    .cal-defrow b{ color:var(--navy); text-transform:capitalize; }
    .cal-deflink{ background:none; border:0; color:var(--royal); font:inherit; font-weight:700; font-size:12px; cursor:pointer; text-decoration:underline; padding:0; }
    .cal-defok{ color:var(--apple); font-weight:700; margin-left:6px; }
    .cal-sub{ color:var(--muted); font-size:13px; margin:0 0 14px; }
    .cal-loading{ color:var(--muted); font-size:13px; margin:0 0 10px; }
    .cal-grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:6px; }
    /* money on the calendar: each day, each week on the left, the month up top. v1621 */
    .cal-grid.cal-grid8{ grid-template-columns:62px repeat(7,1fr); }
    .cal-wkt{ display:flex; flex-direction:column; justify-content:center; align-items:center; background:#f4f7fd; border:1px solid var(--line); border-radius:12px; font-weight:900; color:var(--navy); font-size:13px; text-align:center; padding:4px 2px; }
    .cal-wkt i{ font-style:normal; font-size:10px; font-weight:800; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; }
    .cal-tot{ position:absolute; top:6px; right:7px; font-size:11.5px; font-weight:900; color:#2e7d16; }
    .cal-moneyon{ background:#eefbe9 !important; color:#2e7d16 !important; border-color:#b6e5a4 !important; font-weight:900; }
    .cal-mtot{ margin-left:8px; font-size:.8em; font-weight:900; color:#2e7d16; white-space:nowrap; }
    .wk-tot{ font-size:11.5px; font-weight:900; color:#2e7d16; }
    .wk-corner .wk-tot{ display:flex; flex-direction:column; align-items:center; justify-content:center; height:100%; font-size:12px; }
    .wk-corner .wk-tot i{ font-style:normal; font-size:10px; color:var(--muted); text-transform:uppercase; }
    @media(max-width:640px){ .cal-grid.cal-grid8{ grid-template-columns:42px repeat(7,1fr); } .cal-wkt{ font-size:10px; } .cal-tot{ position:static; font-size:10px; } }
    .cal-dow{ text-align:center; font-size:11px; font-weight:800; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; padding:2px 0; }
    .cal-cell{ position:relative; text-align:left; background:#fff; border:1px solid var(--line); border-radius:12px; min-height:98px; padding:6px 7px; cursor:pointer; display:flex; flex-direction:column; gap:3px; font:inherit; overflow:hidden; }
    .cal-cell:hover{ border-color:#c4d1ee; box-shadow:0 6px 16px rgba(22,36,107,.07); }
    .cal-out{ background:var(--field); opacity:.55; }
    .cal-today{ border-color:var(--royal); box-shadow:0 0 0 2px var(--royal) inset; background:#f4f7ff; }
    .cal-dn{ font-weight:800; color:var(--navy); font-size:13px; }
    .cal-today .cal-dn{ background:var(--royal); color:#fff; border-radius:999px;
  min-width:24px; height:24px; line-height:24px; text-align:center; padding:0 6px;
  display:inline-block; font-weight:900; box-shadow:0 1px 3px rgba(37,71,214,.35); }
/* the same chip wherever a date is shown */
.wk-today{ background:rgba(37,71,214,.07) !important; }
.wk-today .wk-dn{ background:var(--royal); color:#fff; border-radius:999px;
  min-width:24px; height:24px; line-height:24px; display:inline-block; padding:0 6px; font-weight:900; }
.ds-b.today{ border-color:var(--royal) !important; background:#f4f7ff; }
.ds-b.today .ds-d{ background:var(--royal); color:#fff; border-radius:999px;
  min-width:23px; height:23px; line-height:23px; display:inline-block; padding:0 5px; font-weight:900; }

    .cal-tot{ position:absolute; top:6px; right:6px; background:var(--apple); color:#fff; font-size:10px; font-weight:800; min-width:18px; height:18px; padding:0 4px; border-radius:999px; display:flex; align-items:center; justify-content:center; }
    .cal-svcs{ display:flex; flex-wrap:wrap; gap:2px; align-content:flex-start; }
    .cal-svcs > *{ flex:1 1 100%; }
    .cal-svcs.two > *{ flex:1 1 calc(50% - 1px); }

    .cal-dot{ width:7px; height:7px; border-radius:50%; flex:none; display:inline-block; }
    .cal-svc b{ color:inherit; font-weight:900; }
    .cal-more{ font-size:10px; color:var(--muted); font-weight:700; }
    .cal-chip.cc-notok{ box-shadow:inset 3px 0 0 #e8a33d; }
  .cal-chip.cc-notok{ border-left:3px solid #e8a33d !important; }

  /* THE SERVICE COLORS. Blue W-2, green house cleaning, orange block, purple spare.
     Every calendar, chip and badge reads these. */
  :root{
    --svc-w2:#2547d6;   --svc-w2-bg:#e4ecff;   --svc-w2-br:#b6c8f5;   --svc-w2-tx:#1c3391;
    --svc-hc:#2f8c1d;   --svc-hc-bg:#e2f5da;   --svc-hc-br:#b3dda0;   --svc-hc-tx:#1f6410;
    --svc-blk:#e8862e;  --svc-blk-bg:#ffefdc;  --svc-blk-br:#f0c48c;  --svc-blk-tx:#8a5b12;
    --svc-alt:#7b4fd6;  --svc-alt-bg:#f0eaff;  --svc-alt-br:#cbb8f5;  --svc-alt-tx:#4a2a9b;
    --unconf:#e8a33d;   --unconf-tx:#b5822f;
  }
  /* ONE look for a job, on every calendar */
  .sjb{ position:absolute; border-radius:7px; padding:3px 8px; overflow:hidden; cursor:pointer;
       border:1px solid var(--svc-w2-br); background:var(--svc-w2-bg); min-width:52px;
       display:flex; flex-direction:column; justify-content:center; }
  .sjb b{ display:block; width:100%; font-size:11px; font-weight:900; color:var(--svc-w2-tx); line-height:1.35;
         white-space:normal; overflow:hidden;
         display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
  .sjb span.sjb-w{ display:inline; font-size:10px; font-weight:700; opacity:.7; }
  .sjb .sjb-t{ opacity:.62; font-weight:800; font-size:10px; margin-right:1px; }

  /* week board: a row per day, hours across the top */
  .db-today .db-who{ background:#eef3ff; color:var(--svc-w2); }
  .db-cnt{ margin-left:auto; background:#e7ebf7; color:#5a6480; border-radius:9px;
    padding:0 7px; font-size:10.5px; font-weight:900; }
  .db-who{ gap:6px; }
  .wk-blkband{ border-style:dashed; height:28px; }
  .wk-noneside{ display:flex; flex-wrap:wrap; gap:4px; padding:5px 10px 8px 142px;
    border-top:1px dashed #e7ecf7; background:#fbfcff; }

  /* week view: taller hours so a job can be read, block strips pinned at the top */
  .wk-grid{ grid-auto-rows:minmax(0,auto); }
  .wk-lbl.wk-block{ background:#fff8ef; color:var(--svc-blk-tx); font-weight:900; font-size:11px; }
  .wk-allcell,.wk-blockcell{ min-height:36px; padding:3px; display:flex; flex-wrap:wrap; gap:3px; align-content:flex-start; }
  .wk-allcell .sjb,.wk-blockcell .sjb{
    position:relative; left:auto; top:auto; width:auto; height:auto; max-width:100%; }
  .wk-blockcell{ background:#fffaf3; }
  .wk-daycol .sjb{ padding:2px 6px; }
  .wk-daycol .sjb b{ font-size:10.5px; }
  .wk-daycol .sjb span{ font-size:9.5px; }
  .sjb:hover{ filter:brightness(.97); }
  .sjb-hc{ background:var(--svc-hc-bg); border-color:var(--svc-hc-br); }
  .sjb-hc b{ color:var(--svc-hc-tx); } .sjb-hc span{ color:var(--svc-hc-tx); }
  .sjb-blk{ background:var(--svc-blk-bg); border-color:var(--svc-blk-br); }
  .sjb-blk b{ color:var(--svc-blk-tx); } .sjb-blk span{ color:var(--svc-blk-tx); }
  .sjb-notok{ box-shadow:inset 4px 0 0 var(--unconf); }
  .sjb-done{ box-shadow:inset 4px 0 0 #57bd34; }   /* done: green bar where the amber one sits. v1923 */
  .sjb{ border-left-width:1px; }
  .sjb-alt{ background:var(--svc-alt-bg); border-color:var(--svc-alt-br); }
  .sjb-alt b,.sjb-alt span{ color:var(--svc-alt-tx); }
  /* completed says so with a green tick. Nothing fades, nothing is crossed
     out - Adam, 6 Sep 2026. v1072. */
  /* THEIR SCREEN, NOT A WINDOW ONTO IT. It had a border, a rounded corner and a
     tinted panel behind it, so their screen looked like a picture pinned inside
     ours, with two scrollbars. It now sits flush and takes the height it needs.
     v1084. */
  /* A whole app boots inside this frame - session check, profile load, paint -
     and you were watching all three. It stays hidden behind a quiet placeholder
     until it has finished, so one thing appears instead of three. v1098. */
  .tapp{ margin:0 -14px -14px; position:relative; }
  .tapp-f{ display:block; width:100%; height:calc(100vh - 168px); min-height:520px;
    border:0; background:transparent; position:relative; z-index:1; }
  .tapp-wait{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; gap:7px; z-index:0; }
  .tapp-dot{ width:8px; height:8px; border-radius:50%; background:#c3ccdf; animation:tappb 1s infinite ease-in-out; }
  .tapp-dot:nth-child(2){ animation-delay:.15s; }
  .tapp-dot:nth-child(3){ animation-delay:.3s; }
  @keyframes tappb{ 0%,80%,100%{ opacity:.35; transform:translateY(0); } 40%{ opacity:1; transform:translateY(-4px); } }
  @media (max-width:760px){ .tapp-f{ height:calc(100vh - 196px); min-height:440px; } }
  .sjb-done b::before{ content:'\2713\00a0'; color:#2f7d18; font-weight:900; }
  .sjb-unclaimed{ border-style:dashed; }

  /* the day board */
  .dispboard{ margin:0 0 14px; border:1px solid var(--line); border-radius:12px; background:#fff; overflow:hidden; }
  .app-main:has(.dispboard),
  .app-main:has(.wk-scroll),
  .app-main:has(.dbx),
  .app-main:has(.cal-grid){ max-width:min(1900px, calc(100vw - 56px)); }
  @media(max-width:860px){
    .db-who{ flex:0 0 96px; font-size:11px; padding:0 7px; }
    .db-hh{ font-size:9.5px; padding:5px 0 5px 3px; }
    .db-cells .sjb, .wk-scroll .sjb{ padding:3px 6px; min-width:38px; }
    .db-cells .sjb b, .wk-scroll .sjb b{ font-size:10px; }
    /* only where a block really is a narrow sliver on the board */
    .db-cells .sjb span, .wk-scroll .sjb span{ display:none; }
    /* in the stacked list a block has the whole width, so it keeps its time,
       its service and its address */
    .dispboard .sjb b, .ag-card b{ font-size:11.5px; }
    .dispboard .sjb span, .ag-card span{ display:inline; }
    .dispboard .sjb .sjb-w, .ag-card .ag-w{ display:block; margin-top:2px; }
  }
  /* The availability list is chips that wrap, not an hour board, so it must not
     inherit the 640px the job board needs. On a phone it stacks. v999. */
  .avboard{ overflow-x:visible; }
  .avboard .db-r{ min-width:0; }
  .cal-free{ display:flex; flex-wrap:wrap; gap:2px; margin-top:2px; }
  .cal-freep{ font-size:9px; font-weight:600; color:#2f7d4f; background:#eaf7ef;
    border-radius:5px; padding:0 4px; line-height:1.55; white-space:nowrap;
    max-width:100%; overflow:hidden; text-overflow:ellipsis; }
  .cal-freep b{ font-weight:800; }
  .cal-freem{ color:#6b7488; background:#eef0f6; }
  @media(max-width:560px){
    .dispboard{ overflow-x:auto; }
    .db-h,.db-r{ min-width:640px; }
    .avboard,.avboard .db-r{ min-width:0; overflow-x:visible; }
    .avboard .db-r{ flex-direction:column; }
    .avboard .db-who{ position:static; flex:0 0 auto; width:100%; padding:4px 8px; }
    .db-who{ position:sticky; left:0; z-index:2; flex:0 0 84px; }
  }
  .db-h{ display:flex; background:#f5f8ff; border-bottom:1px solid var(--line); }
  .db-who{ flex:0 0 108px; display:flex; align-items:center; padding:0 10px; font-size:12px; font-weight:800;
           color:var(--navy); border-right:1px solid var(--line); background:#fbfcff; }
  .db-who i{ color:#98a1b6; font-style:normal; font-weight:700; }
  .db-hrs{ flex:1 1 auto; display:flex; min-width:0; }
  .db-hh{ flex:1 1 0; min-width:0; text-align:left; font-size:10.5px; font-weight:900; color:#6b7488;
          padding:6px 0 6px 4px; border-left:1px solid #eef1f8; }
  .db-hh:first-child{ border-left:0; }
  .db-r{ display:flex; border-top:1px solid #f1f4fb; }
  .db-cells{ flex:1 1 auto; position:relative; display:flex; min-width:0; }
  .db-cell{ flex:1 1 0; min-width:0; display:flex; border-left:1px solid #eef1f8; }
  .db-cell:first-child{ border-left:0; }
  .db-q{ flex:1 1 0; min-width:0; border:0; background:transparent; cursor:pointer; padding:0; }
  .db-q:hover{ background:#dbe6ff; }
  .db-blk{ background:#fffaf3; }
  .db-blk .db-who{ background:#fff6ea; color:#8a5b12; }
  .db-band{ position:absolute; top:5px; bottom:5px; display:flex; flex-wrap:wrap; gap:4px; align-content:flex-start; padding:0; }
  .db-blkchip{ position:relative; left:auto; top:auto; width:auto; height:26px; max-width:230px; flex:0 0 auto; }
  .db-none .db-who{ background:#f7f8fc; color:#6b7488; }
  .db-freeflow{ display:flex; flex-wrap:wrap; gap:4px; padding:5px 8px; align-items:flex-start; }
  .cal-svc.mo-w2{ background:var(--svc-w2-bg); color:var(--svc-w2-tx); }
  .cal-svc.mo-hc{ background:var(--svc-hc-bg); color:var(--svc-hc-tx); }
  .cal-svc.mo-blk{ background:var(--svc-blk-bg); color:var(--svc-blk-tx); }
  /* service group headings, the three Settings groups. v1331. */
  .svc-gh,.rf-gh{ font-size:11px; font-weight:900; text-transform:uppercase; letter-spacing:.5px; color:#9aa2b6; margin:12px 0 6px; }
  .svc-gh:first-child,.rf-gh:first-child{ margin-top:4px; }
  .cal-svc{ display:block; padding:2px 6px; border-radius:5px; font-size:11px; font-weight:800;
    margin:0; line-height:1.45; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .mo-unconf{ display:inline-block; margin-top:2px; padding:0 6px; border-radius:5px; font-size:9.5px;
    font-weight:800; color:#b5822f; background:#fff6e8; border-left:3px solid #e8a33d; }
  .cal-show{ display:flex; gap:6px; margin:0 0 10px; }
  .cal-orient{ margin-top:-4px; }
  .cal-filter{ margin:0 0 12px; }

  /* phone: a vertical list with the time down the left */
  .day-strip{ display:flex; gap:5px; margin:0 0 12px; overflow-x:auto; padding-bottom:2px; }
  .ds-b{ flex:0 0 auto; min-width:46px; padding:6px 4px; border-radius:11px; border:1.5px solid var(--line);
    background:#fff; cursor:pointer; font:inherit; display:flex; flex-direction:column; align-items:center; gap:1px; }
  .ds-w{ font-size:9.5px; font-weight:800; color:#98a1b6; letter-spacing:.04em; }
  .ds-d{ font-size:14px; font-weight:900; color:var(--navy); line-height:1.1; }
  .ds-n{ font-size:9px; font-weight:900; color:#fff; background:var(--royal); border-radius:8px; padding:0 5px; }
  .ds-b.today{ border-color:var(--svc-w2); }
  .ds-b.on{ background:var(--svc-w2); border-color:var(--svc-w2); }
  .ds-b.on .ds-d,.ds-b.on .ds-w{ color:#fff; }
  .ds-b.on .ds-n{ background:#fff; color:var(--svc-w2); }

  .agenda{ display:flex; flex-direction:column; gap:14px; }

  /* ===== the day, on a phone, with the clock down the side. v1171. ===== */
  .pd-board{ border:1px solid var(--line); border-radius:12px; background:#fff; overflow:hidden; }
  .pd-row{ display:flex; align-items:stretch; border-top:1px solid #f0f3f9; min-height:34px; }
  .pd-row:first-child{ border-top:0; }
  .pd-row.has{ background:#fbfcff; }
  .pd-h{ flex:0 0 58px; padding:7px 8px; font-size:11px; font-weight:800; color:var(--muted);
    border-right:1px solid #eef1f8; text-align:right; }
  .pd-row.has .pd-h{ color:var(--royal); }
  .pd-slot{ flex:1 1 auto; min-width:0; padding:5px 7px; display:flex; flex-direction:column; gap:5px; }
  .pd-job{ position:relative; left:auto; top:auto; width:auto; height:auto; max-width:100%;
    border-radius:8px; padding:6px 9px; cursor:pointer; }
  .pd-job b{ display:block; font-size:12px; font-weight:900; line-height:1.35; }
  .pd-job span{ display:inline; font-size:10.5px; font-weight:700; opacity:.75; }
  .pd-job .sjb-w, .pd-job .sjb-cr{ display:block; margin-top:2px; }
  .pd-extra{ margin-top:12px; border:1px dashed #cfdaf2; border-radius:12px; padding:10px; background:#fbfcff; }
  .pd-eh{ font-size:10.5px; font-weight:900; text-transform:uppercase; letter-spacing:.7px;
    color:var(--muted); margin:0 0 7px; }
  .pd-extra .pd-job + .pd-job{ margin-top:6px; }
  .pd-none{ margin-top:12px; padding:14px; text-align:center; color:var(--muted);
    font-weight:600; font-size:13px; border:1px dashed #cfdaf2; border-radius:12px; background:#fbfcff; }
  .ag-day{ }
  .ag-dh{ display:flex; align-items:baseline; gap:8px; font-size:12.5px; font-weight:900; color:var(--navy);
    padding:0 0 6px; border-bottom:1.5px solid var(--line); margin-bottom:8px; }
  .ag-n{ background:#e7ebf7; color:#5a6480; border-radius:9px; padding:0 7px; font-size:10.5px; font-weight:900; }
  .ag-none{ font-size:11px; font-weight:700; color:#a8b0c4; }
  .ag-row{ display:block; margin:0 0 7px; }
  .ag-t{ display:none; }
  .ag-row .ag-card{ position:relative; left:auto; top:auto; right:auto; bottom:auto;
    width:auto; height:auto; min-width:0; flex:1 1 auto;
    display:flex; flex-direction:column; gap:1px; padding:9px 12px; }
  .ag-row .ag-card b{ font-size:12.5px; line-height:1.35; white-space:normal;
    display:block; -webkit-line-clamp:none; }
  .ag-w,.ag-c{ display:block; font-size:10.5px; font-weight:700; opacity:.75; line-height:1.35; margin-top:2px; }
  .ag-card b .sjb-c{ margin-left:4px; }
  .ag-time{ font-weight:900; opacity:.65; margin-right:2px; }

  /* month tally */
  .mo-tally{ display:flex; gap:3px; margin:0 0 3px; }
  .mt{ display:inline-block; min-width:17px; text-align:center; border-radius:5px; padding:0 4px;
    font-size:10px; font-weight:900; color:#fff; }
  .mt-w2{ background:var(--svc-w2); } .mt-hc{ background:var(--svc-hc); } .mt-blk{ background:var(--svc-blk); }

  @media(max-width:760px){
    /* the header is three rows tall on a phone, so let it scroll away
       instead of pinning a third of the screen */
    .appbar{ position:relative; }
    .app-main{ padding-top:max(16px, env(safe-area-inset-top)); }
    .cal-show,.cf-row{ overflow-x:auto; flex-wrap:nowrap; padding-bottom:3px; }
    /* fingers need 44px - anything smaller gets mis-tapped */
    .cs-b,.cf-k,.cf-s,.cf-clear,.cf-more{ height:44px; padding:0 16px; font-size:13px; }
    .ds-b{ min-width:52px; min-height:56px; }
    .cal-cell{ min-height:82px; }
    .ag-row .ag-card{ min-height:52px; }
    .cal-svcs{ pointer-events:none; }
    .cal-cell{ min-height:76px; }
    .cal-cell.cal-picked{ outline:2px solid var(--svc-w2); outline-offset:-2px; }
    .cal-svcs{ font-size:9.5px; gap:3px; }
    .cal-cell .cal-svc{ font-size:10.5px; padding:1px 5px; letter-spacing:0; }
    .cal-svcs.two > *{ flex:1 1 100%; }
    .cal-cell{ min-height:88px; padding:4px 3px; }
    .cal-grid{ gap:3px; }
    .cal-cell .cal-svc{ font-size:9.5px; padding:1px 2px; }
    .cal-dn{ font-size:12px; }
  }
  .sjb:hover{ z-index:9; box-shadow:0 4px 14px rgba(22,36,107,.18); }
  .sjb:hover::after{
    content:attr(data-tip); position:absolute; left:0; top:100%; margin-top:5px; z-index:60;
    white-space:pre-line; background:#16246b; color:#fff; padding:8px 11px; border-radius:9px;
    font-size:11px; font-weight:700; line-height:1.5; min-width:190px; max-width:280px;
    box-shadow:0 10px 26px rgba(22,36,107,.28); pointer-events:none;
  }
  .cf-row{ display:flex; gap:6px; flex-wrap:wrap; align-items:center; }
  .cf-row + .cf-row{ margin-top:6px; }
  .cf-k,.cf-s{ height:28px; padding:0 12px; border-radius:8px; border:1.5px solid var(--line);
    background:#fff; font:inherit; font-size:11.5px; font-weight:800; cursor:pointer; color:#5a6480; }
  .cf-s{ height:26px; padding:0 10px; font-size:11px; }
  .cf-w2{ border-color:var(--svc-w2-br); color:var(--svc-w2-tx); }
  .cf-hc{ border-color:var(--svc-hc-br); color:var(--svc-hc-tx); }
  .cf-blk{ border-color:var(--svc-blk-br); color:var(--svc-blk-tx); }
  .cf-w2.on{ background:var(--svc-w2-bg); border-color:var(--svc-w2); }
  .cf-hc.on{ background:var(--svc-hc-bg); border-color:var(--svc-hc); }
  .cf-blk.on{ background:var(--svc-blk-bg); border-color:var(--svc-blk); }
  .cf-clear,.cf-more{ height:28px; padding:0 12px; border-radius:8px; border:1.5px solid var(--line);
    background:#fff; color:var(--royal); font:inherit; font-size:11.5px; font-weight:800; cursor:pointer; }
  .cf-none{ font-size:11.5px; color:#98a1b6; font-weight:700; }
  .cs-b{ height:30px; padding:0 14px; border-radius:9px; border:1.5px solid var(--line); background:#fff;
    color:var(--royal); font:inherit; font-size:12px; font-weight:800; cursor:pointer; }
  .cs-b.on{ background:var(--royal); border-color:var(--royal); color:#fff; }
  .db-empty{ padding:14px; text-align:center; color:#98a1b6; font-size:13px; font-weight:700; }
  .wk-ev .cal-chip{ height:100%; overflow:hidden; }
  .wk-tight .cc-who,.wk-tight .cc-mx{ display:none; }
  .wk-tight .cc-s3{ font-size:9.5px; }
  .wk-vtight .cc-s3,.wk-vtight .cc-arr{ display:none; }
  .wk-vtight .cal-chip{ padding:2px 7px; }
  .wk-vtight .cc-tm,.wk-vtight .cc-svc{ display:inline; font-size:10px; margin-right:5px; }
  .cal-chip{ display:flex; flex-direction:column; align-items:flex-start; gap:0; width:100%; text-align:left; border:0; border-radius:8px; padding:4px 8px; margin:0 0 4px; cursor:pointer; font:inherit; line-height:1.25; box-shadow:0 1px 2px rgba(22,36,107,.06); }
    .cal-chip:hover{ filter:brightness(.97); box-shadow:0 3px 8px rgba(22,36,107,.14); }
    .cc-svc{ font-weight:800; font-size:11.5px; }
    .cc-who{ font-size:10.5px; opacity:.82; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
    .wk-scroll{ overflow-x:auto; -webkit-overflow-scrolling:touch; border:1px solid var(--line); border-radius:14px; background:#fff; }
    .wk-grid{ display:grid; grid-template-columns:96px repeat(7,minmax(120px,1fr)); min-width:800px; }
    .wk-corner{ border-bottom:1px solid var(--line); }
    .wk-dh{ text-align:center; padding:9px 4px; border-bottom:1px solid var(--line); border-left:1px solid var(--line); display:flex; flex-direction:column; gap:1px; }
    .wk-dow{ font-size:10px; font-weight:800; color:var(--muted); text-transform:uppercase; letter-spacing:.03em; }
    .wk-dn{ font-size:15px; font-weight:800; color:var(--navy); }
    .wk-today{ background:rgba(37,71,214,.05); }
    .wk-today .wk-dn{ color:var(--royal); }
    .wk-lbl{ font-size:10px; font-weight:800; color:var(--muted); text-transform:uppercase; letter-spacing:.01em; padding:6px 8px; border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:flex-end; text-align:right; }
    .wk-allcell{ min-height:30px; padding:5px 5px 1px; border-bottom:1px solid var(--line); border-left:1px solid var(--line); background:var(--field); }
    .wk-hrcol{ position:relative; border-bottom:1px solid var(--line); }
    .wk-hr{ font-size:10.5px; color:var(--muted); font-weight:700; padding:2px 6px 0; border-bottom:1px solid #f0f3f9; text-align:right; box-sizing:border-box; }
    .wk-daycol{ position:relative; border-left:1px solid #f0f3f9; border-bottom:1px solid var(--line); box-sizing:border-box; }
    .wk-line{ position:absolute; left:0; right:0; height:1px; background:#ccd4e6; pointer-events:none; }
    .wk-ev{ position:absolute; overflow:hidden; }
    .wk-ev .cal-chip{ width:100%; height:100%; margin:0; overflow:hidden; }
    .dy-grid2{ display:grid; grid-template-columns:64px 1fr; background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; }
    .dy-hrcol{ position:relative; }
    .dy-hr{ font-size:11px; color:var(--muted); font-weight:700; padding:2px 8px 0; text-align:right; border-right:1px solid #f0f3f9; border-bottom:1px solid #f0f3f9; box-sizing:border-box; }
    .dy-canvas{ position:relative; }
    .wk-block{ background:#faf8ee; }
    .wk-blockcell{ min-height:34px; padding:5px 5px 1px; border-bottom:1px solid var(--line); border-left:1px solid var(--line); background:#fdfbf3; }
    .dy-wrap{ max-width:680px; }
    .dy-sec{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:12px 14px; margin:0 0 12px; }
    .dy-sec-h{ font-size:11px; font-weight:800; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; margin:0 0 8px; }
    .dy-chips{ display:flex; flex-wrap:wrap; gap:6px; }
    .dy-chips .cal-chip{ width:auto; min-width:150px; margin:0; }
    .dy-grid{ background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; }
    .dy-row{ display:grid; grid-template-columns:64px 1fr; border-bottom:1px solid #f0f3f9; }
    .dy-row:last-child{ border-bottom:0; }
    .dy-hr{ font-size:11px; color:var(--muted); font-weight:700; padding:10px 8px; text-align:right; border-right:1px solid #f0f3f9; }
    .dy-slot{ padding:7px 9px; min-height:40px; display:flex; flex-wrap:wrap; gap:6px; align-content:flex-start; }
    .dy-slot .cal-chip{ width:auto; min-width:170px; margin:0; }
    .dy-block{ display:flex; align-items:center; gap:10px; margin:8px 0 0; }
    .dy-block-l{ font-size:11px; font-weight:800; color:var(--navy); min-width:64px; }
    .dy-empty{ color:var(--muted); font-size:12px; }
    .cdp-empty{ color:var(--muted); font-size:13px; padding:10px 2px; }
    @media(max-width:640px){ .cal-cell{ min-height:80px; } .cal-svc{ font-size:10px; } .cal-head{ align-items:flex-start; } .cal-mn{ min-width:120px; font-size:14px; } .dy-row{ grid-template-columns:52px 1fr; } }
    .cmp-modal{ max-width:880px; }
    .cmp-headrow, .cmp-row{ display:grid; grid-template-columns:118px 1fr 96px 1fr; align-items:center; gap:8px; padding:8px 0; border-bottom:1px solid #f0f3f9; }
    .cmp-colh{ font-weight:800; color:var(--navy); font-size:11px; text-transform:uppercase; letter-spacing:.04em; }
    .cmp-lab{ font-size:12px; font-weight:700; color:var(--muted); }
    .cmp-new{ font-size:13px; color:var(--ink); word-break:break-word; }
    .cmp-ex{ font-size:13px; color:var(--navy); font-weight:600; word-break:break-word; }
    .cmp-empty{ color:#c2c8d6; }
    .cmp-mid{ text-align:center; }
    .cmp-copy{ background:#fff; border:1px solid var(--royal); color:var(--royal); font:inherit; font-weight:700; font-size:11.5px; padding:5px 9px; border-radius:8px; cursor:pointer; white-space:nowrap; }
    .cmp-copy:hover{ background:#eef2ff; }
    .cmp-same{ font-size:11px; color:var(--apple); font-weight:700; }
    .cmp-openlink{ background:none; border:0; color:var(--royal); font:inherit; font-weight:700; font-size:11px; cursor:pointer; text-decoration:underline; padding:0 0 0 4px; text-transform:none; letter-spacing:0; }
    .cmp-contacts{ font-size:12px; color:var(--muted); margin:12px 0 0; }
    .cmp-msg{ background:#eafaf0; border:1px solid #bfe9cd; color:#1f7a44; font-size:12.5px; font-weight:600; padding:9px 12px; border-radius:10px; margin:12px 0 0; }
    .cmp-spouse{ margin:14px 0 2px; padding:13px; background:var(--field); border:1px dashed var(--line); border-radius:12px; }
    .cmp-spouse-t{ font-size:12.5px; font-weight:800; color:var(--navy); margin:0 0 9px; }
    .cmp-foot{ flex-wrap:wrap; gap:8px; }
    .btn-ghost{ background:#fff; border:1px solid var(--line); color:var(--muted); }
    @media(max-width:680px){ .cmp-headrow, .cmp-row{ grid-template-columns:84px 1fr 64px 1fr; gap:6px; } .cmp-copy{ padding:4px 6px; font-size:10px; } .cmp-lab{ font-size:11px; } }
    .muted{ color:var(--muted); }
    .center-msg{ min-height:72vh; display:flex; align-items:center; justify-content:center; }
    .card2{ background:#fff; border:1px solid var(--line); border-radius:20px; padding:34px 30px; text-align:center; max-width:420px; box-shadow:0 16px 44px rgba(22,36,107,.10); }
    .card2 h1{ color:var(--navy); margin:6px 0 8px; }

    /* customers */
    .mod-head{ display:flex; align-items:center; justify-content:space-between; gap:14px; margin:6px 0 18px; }
    .mod-head h1{ margin:0; font-size:24px; font-weight:800; color:var(--navy); }
    .btn-add{ background:#fff; color:var(--royal); border:none; font-family:inherit; font-weight:800; font-size:13.5px; padding:10px 13px; border-radius:11px; cursor:pointer; box-shadow:0 6px 14px rgba(37,71,214,.25); white-space:nowrap; }
    .add-sh{ display:none; }
    @media (max-width:1180px){ .btn-add .add-lbl{ display:none; } .btn-add .add-sh{ display:inline; } }
    .btn-back{ display:inline-flex; align-items:center; gap:6px; background:#fff; border:1.5px solid var(--line); color:var(--navy); font-family:inherit; font-weight:700; font-size:13px; padding:8px 14px; border-radius:10px; cursor:pointer; margin:2px 0 14px; }
    .btn-back:hover{ background:#f4f7fb; border-color:#cfd8e8; }
    .btn-add:hover{ background:var(--royal-dark); }
    .ctabs{ display:flex; gap:4px; flex-wrap:wrap; margin-bottom:18px; border-bottom:1px solid var(--line); }
    .ctab{ position:relative; background:none; border:none; font-family:inherit; font-weight:700; font-size:14px; color:var(--muted); padding:10px 14px; cursor:pointer; border-bottom:2.5px solid transparent; margin-bottom:-1px; display:flex; align-items:center; gap:7px; }
    .ctab:hover{ color:var(--navy); }
    .ctab.on{ color:var(--royal); border-bottom-color:var(--royal); }
    .tabnum{ background:var(--line); color:var(--muted); font-size:11px; font-weight:800; min-width:18px; height:18px; padding:0 5px; border-radius:999px; display:inline-flex; align-items:center; justify-content:center; }
    .ctab.on .tabnum{ background:rgba(37,71,214,.12); color:var(--royal); }
    .tabnum-new{ background:var(--apple); color:#fff; }
    .pr-newform{ margin-top:8px; background:#eef3ff; border:1px solid #c9d6fb; border-left:4px solid var(--royal); border-radius:9px; padding:7px 10px; font-size:12.5px; font-weight:800; color:var(--royal); }
    .people{ display:flex; flex-direction:column; gap:8px; }
    .prow{ display:flex; align-items:center; gap:12px; background:#fff; border:1px solid var(--line); border-radius:13px; padding:13px 16px; transition:border-color .12s, box-shadow .12s, transform .06s; }
    .prow-open{ display:flex; align-items:center; gap:14px; flex:1; min-width:0; cursor:pointer; }
    .rowcb-wrap{ display:flex; align-items:center; padding:2px; }
    .rowcb{ width:20px; height:20px; cursor:pointer; }
    .bulkbar{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin:0 0 12px; padding:6px 4px; }
    .bulk-all{ display:inline-flex; align-items:center; gap:7px; font-size:14px; color:var(--navy); cursor:pointer; }
    .bulk-all input{ width:18px; height:18px; }
    .bulk-n{ font-size:13px; color:var(--muted); font-weight:700; }
    .bulk-move{ font-family:inherit; font-size:13px; padding:7px 10px; border:1.5px solid var(--line); border-radius:9px; background:#fff; color:var(--navy); }
    .btn-bulk-del{ font-family:inherit; font-weight:700; font-size:13px; padding:7px 12px; border-radius:9px; border:1.5px solid #e3b3b3; background:#fff5f5; color:#b42318; cursor:pointer; }
    .btn-bulk-clear{ font-family:inherit; font-size:13px; padding:7px 12px; border-radius:9px; border:1.5px solid var(--line); background:#fff; color:var(--navy); cursor:pointer; }
    .btn-del{ display:inline-flex; align-items:center; justify-content:center; height:36px; padding:0 15px; white-space:nowrap; background:#fff5f5; border:1.5px solid #e3b3b3; color:#b42318; font-family:inherit; font-weight:700; font-size:13px; border-radius:10px; cursor:pointer; }
    .prow:hover{ border-color:#c9d4ec; box-shadow:0 6px 16px rgba(22,36,107,.08); }
    .prow:active{ transform:scale(.997); }
    .pav{ width:40px; height:40px; border-radius:50%; background:rgba(37,71,214,.12); color:var(--royal); font-weight:800; display:flex; align-items:center; justify-content:center; flex:none; font-size:16px; }
    .pav.big{ width:54px; height:54px; font-size:22px; }
    .pmain{ flex:1; min-width:0; }
    .pname{ font-weight:800; color:var(--navy); font-size:15px; }
    .pmeta{ color:var(--muted); font-size:13px; margin-top:1px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .parrow{ color:#b9c2d6; font-size:22px; font-weight:700; }
    .empty{ text-align:center; color:var(--muted); padding:44px 0; font-size:14px; }
    .ovl{ position:fixed; inset:0; background:rgba(20,30,60,.45); display:flex; align-items:center; justify-content:center; padding:20px; z-index:50; }
    .ovl-top{ z-index:60; }
    .pk-row{ display:flex; gap:10px; padding:7px 0; border-bottom:1px solid #eef1f6; }
    .pk-k{ width:128px; flex:0 0 128px; color:var(--muted); font-size:13px; }
    .pk-v{ flex:1; font-size:14px; color:#0f2740; word-break:break-word; }
    .pk-actions{ display:flex; gap:8px; margin-top:14px; flex-wrap:wrap; }
    .pk-new{ background:#fff8e6; border:1px solid #f0e3b8; border-radius:10px; padding:8px 11px; margin-bottom:12px; }
    .pk-new-h{ font-weight:700; color:#8a6d1a; font-size:13px; margin-bottom:4px; }
    .pk-exist-h{ font-weight:700; color:#33415a; font-size:13px; margin:10px 0 4px; }
    .ac-c{ border:1px solid #e4e8f0; border-radius:10px; padding:9px 11px; margin-bottom:8px; background:#fafbfd; }
    .ac-c-nm{ font-weight:600; color:#0f2740; display:flex; justify-content:space-between; align-items:center; }
    /* ONE LOOK FOR EVERY ROW. A row of a person, a place or a document reads the
     same everywhere: the name on the left, its buttons on the right, the same
     size, the same weight, the same gap. Change is plain, Remove is red, and
     neither is a colored pill or a bare cross. Adam, 7 Sep 2026. v1109. */
  /* everybody the account knows, with a tick and their own switches */
  /* the four kinds of message, per person */
  /* three separate things, not one wall of controls */
  /* one person on one place: a line that opens */
  .pl-r{ border:1px solid var(--line); border-radius:10px; padding:8px 11px; margin-bottom:7px; background:#fff; }
  .pl-r.open{ border-color:#c9d6f5; background:#f7f9ff; }
  .pl-r.fixed{ background:#f6f8fe; }
  .pl-r.own .pl-top{ align-items:center; }
  .pp-ticks{ display:flex; flex-wrap:wrap; gap:10px; margin:10px 0 4px; }
  .pp-tick{ flex:1 1 260px; display:flex; gap:10px; align-items:flex-start; border:1px solid var(--line); border-radius:10px; padding:10px 12px; background:#fff; cursor:pointer; }
  .pp-tick.on{ border-color:#c9d6f5; background:#f7f9ff; }
  .pp-tick input{ width:20px; height:20px; margin-top:1px; flex:none; }
  .pp-tick b{ display:block; color:var(--navy); }
  .pp-tick i{ display:block; font-style:normal; font-size:.82rem; color:#6b7488; font-weight:600; }
  .pr-tag-main, .pr-tag-bill{ font-size:.72rem; font-weight:800; border-radius:6px; padding:2px 7px; margin-left:6px; }
  .pr-tag-main{ color:#fff; background:#2547d6; }
  .pr-tag-bill{ color:#16246b; background:#e8edff; }
  .own-tick{ display:flex; align-items:center; margin-right:6px; }
  .own-tick input{ width:20px; height:20px; cursor:pointer; }
  .own-tag{ font-size:.72rem; font-weight:800; color:#2547d6; background:#e8edff; border-radius:6px; padding:1px 6px; margin-left:4px; }
  .pl-r.own-off{ background:#f6f7fa; }
  .pl-r.own-off .pl-n, .pl-r.own-off .pl-sum{ color:#8b93a7; }
  .pl-top{ display:flex; align-items:center; gap:8px; }
  .pl-name{ display:flex; align-items:center; gap:8px; flex:1 1 auto; min-width:0;
    border:0; background:none; font:inherit; text-align:left; cursor:pointer; padding:0; }
  .pl-name.as-text{ cursor:default; }
  .pl-caret{ color:var(--royal); font-size:11px; flex:0 0 auto; }
  .pl-n{ font-size:13.5px; font-weight:800; color:var(--navy); flex:0 0 auto; }
  .pl-sum{ font-size:11.5px; font-weight:700; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .pl-c{ font-size:11.5px; color:var(--muted); margin-top:2px; padding-left:19px; }
  .pl-c.warn{ color:#8a6a2f; font-weight:700; }
  .pl-add{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-top:8px; }
  .pl-sel{ flex:1 1 240px; min-width:0; height:36px; }
  .pl-none{ flex:1 1 auto; font-size:11.5px; color:var(--muted); font-weight:600; }
  /* the directory */
  .dir-c{ border:1px solid var(--line); border-radius:10px; padding:9px 11px; margin-bottom:7px; background:#fff; }
  .dir-top{ display:flex; align-items:center; gap:8px; }
  .dir-n{ font-size:13.5px; font-weight:800; color:var(--navy); flex:1 1 auto; min-width:0;
    overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .dir-c-l{ font-size:11.5px; color:var(--muted); margin-top:2px; }
  .dir-c-l.warn{ color:#8a6a2f; font-weight:700; }
  .dir-main{ display:flex; align-items:center; gap:7px; margin-top:7px; font-size:12px;
    font-weight:800; color:#3d465e; cursor:pointer; }
  .dir-w{ font-size:11px; color:var(--muted); font-weight:600; margin-top:4px; font-style:italic; }
  .sec{ border:1px solid var(--line); border-radius:12px; padding:13px 15px; margin-bottom:12px; background:#fff; }
  .sec-h{ margin-bottom:9px; }
  .sec-t{ display:block; font-size:14px; font-weight:800; color:var(--navy); }
  .sec-s{ display:block; font-size:11.5px; color:var(--muted); font-weight:600; margin-top:2px; line-height:1.45; }
  /* a person typed straight into the property form */
  .pc-wrap{ border:1px solid var(--line); border-radius:10px; padding:9px 11px; margin-bottom:8px; background:#fff; }
  .pc-wrap.on{ border-color:#c9d6f5; background:#f7f9ff; }
  .pc-hint{ font-size:11.5px; color:var(--muted); font-weight:600; margin-top:6px; }
  .pk-kinds{ width:100%; margin-top:8px; padding-top:8px; border-top:1px solid var(--line); }
  .pk-kh{ font-size:11.5px; color:var(--muted); font-weight:700; margin-bottom:6px; }
  .pk-kh b{ color:var(--navy); }
  .kg{ display:flex; flex-wrap:wrap; gap:6px; }
  .kg-k{ flex:1 1 148px; min-width:132px; border:1px solid var(--line); border-radius:9px;
    padding:6px 9px; background:#fff; }
  .kg-k.off{ background:#fafafa; border-style:dashed; }
  .kg-n{ display:block; font-size:12px; font-weight:800; color:var(--navy); margin-bottom:3px; }
  .kg-b{ display:inline-flex; align-items:center; gap:4px; font-size:11.5px; font-weight:700;
    color:#3d465e; cursor:pointer; margin-right:9px; }
  .pk-list{ display:flex; flex-direction:column; gap:6px; margin:6px 0 10px; }
  .pk-p{ display:flex; align-items:center; gap:10px; flex-wrap:wrap;
    border:1px solid var(--line); border-radius:10px; padding:8px 11px; background:#fff; }
  .pk-p.on{ border-color:#c9d6f5; background:#f7f9ff; }
  .pk-tick{ display:flex; align-items:flex-start; gap:9px; cursor:pointer; flex:1 1 220px; min-width:0; }
  .pk-tick input{ margin-top:3px; flex:0 0 auto; }
  .pk-tick b{ display:block; font-size:13.5px; color:var(--navy); }
  .pk-tick i{ display:block; font-style:normal; font-size:11.5px; color:var(--muted); margin-top:1px;
    overflow:hidden; text-overflow:ellipsis; }
  .pk-tog{ display:flex; gap:10px; margin-left:auto; flex:0 0 auto; }
  .pk-tog label{ display:flex; align-items:center; gap:5px; font-size:12px; font-weight:800; color:#3d465e; cursor:pointer; }
  .pk-tog label.off{ opacity:.4; cursor:default; }
  .row-acts{ margin-left:auto; display:flex; gap:6px; flex:0 0 auto; }
  .row-btn{ border:1px solid var(--line); background:#fff; color:var(--royal);
    font:inherit; font-size:12px; font-weight:800; line-height:1;
    padding:6px 10px; border-radius:8px; cursor:pointer; white-space:nowrap; }
  .row-btn:hover{ background:#f2f6ff; border-color:#c9d6f5; }
  .row-btn.danger{ color:#b3261e; }
  .row-btn.danger:hover{ background:#fdf1f0; border-color:#f0cfcc; }
  .ac-c-nm{ display:flex; align-items:center; gap:8px; }
  .ac-c-nm > span:first-child{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .ac-c-e{ margin-left:auto; margin-right:6px; border:0; background:none; color:var(--royal); font:inherit; font-size:12px; font-weight:800; cursor:pointer; padding:2px 4px; }
  .ac-c-e:hover{ text-decoration:underline; }
  .ac-form-t{ font-size:12px; font-weight:800; color:var(--navy); margin-bottom:6px; }
  .ac-c-x{ border:none; background:none; color:#9aa4b5; font-size:18px; cursor:pointer; line-height:1; }
    .ac-c-l{ display:flex; align-items:center; gap:8px; font-size:13px; color:#33415a; margin-top:5px; }
    .ac-tog{ display:inline-flex; align-items:center; gap:5px; background:#eef1f7; border-radius:8px; padding:3px 8px; cursor:pointer; }
    .ac-tog input{ width:15px; height:15px; }
    .ac-c-v{ color:#0f2740; }
    .ac-none{ font-size:13px; color:var(--muted); }
    .ac-form .field{ margin-bottom:7px; }
    /* Save and Cancel sat one above the other because a .btn is full width by
       default. Side by side, Save leading. v1123. */
    .pk-actions .btn{ width:auto; flex:1 1 0; min-width:110px; padding:11px 16px; font-size:14px; }
    /* The section look moved to ONE SECTION LOOK at the foot of this stylesheet,
       so that every heading in the app is set in one place and nothing further
       down the file can quietly win against it. v1128. */
    .note-edit{ border:none; background:none; cursor:pointer; color:#7b8aa3; font-size:14px; padding:0 2px; }
    /* A note is a form Adam fills in, so its line breaks ARE the structure.
       Without this the whole template ran together as one paragraph while the
       editor showed it correctly. v1265. */
    .note-disp{ cursor:pointer; white-space:pre-wrap; }
    .ns-body{ white-space:pre-wrap; }
    .note-empty{ color:#9aa4b5; font-style:italic; }
    .pk-copy{ border:1px solid #d8deea; background:#fff; color:#2b6cb0; border-radius:7px; padding:2px 9px; font-size:12px; cursor:pointer; margin-left:auto; flex:0 0 auto; }
    .modal{ background:#fff; border-radius:18px; width:100%; max-width:440px; max-height:88vh; overflow:auto; box-shadow:0 24px 60px rgba(0,0,0,.25); resize:both; }
    .modal-wide{ max-width:1160px; }
    .pr-main{ cursor:pointer; }
    .pr-caret{ color:#7b8aa3; font-size:12px; margin-right:6px; }
    .pr-sub{ font-size:12px; font-weight:700; color:var(--muted); margin-top:8px; margin-bottom:2px; }
    .pr-note{ font-size:13px; color:#33415a; margin-top:2px; }
    .askwrap{ border:1px solid #dfe6f6; border-radius:12px; background:#f7f9ff; padding:11px 12px; margin:0 0 12px; }
    .askh{ font-size:11px; font-weight:900; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); margin:0 0 8px; }
    .askrow{ display:flex; align-items:center; gap:10px; background:#fff; border:1px solid var(--line); border-radius:10px; padding:9px 11px; margin:0 0 7px; }
    .askrow:last-child{ margin-bottom:0; }
    .askdot{ width:9px; height:9px; border-radius:50%; flex:none; }
    .ask-w2{ background:#2547d6; }
    .ask-hc{ background:#3aa02a; }
    .ask-bl{ background:#e08a2a; }
    .askmain{ flex:1; min-width:0; }
    .asksvc{ font-weight:800; font-size:13.5px; color:var(--navy); }
    .askmeta{ font-size:11.5px; font-weight:600; color:var(--muted); margin:2px 0 0; }
    .askbtn{ background:var(--royal); color:#fff; font-weight:800; font-size:12.5px; height:32px; padding:0 14px; border-radius:9px; text-decoration:none; display:inline-flex; align-items:center; white-space:nowrap; flex:none; }
    @media (max-width:700px){ .askrow{ flex-wrap:wrap; } .askbtn{ width:100%; justify-content:center; height:34px; } }
    .m-jobs{ margin-top:14px; }

    .job-si{ margin-bottom:8px; }
    .job-si-row{ display:flex; align-items:center; gap:10px; justify-content:space-between; }




    .job-main{ display:flex; justify-content:space-between; gap:12px; align-items:center; }
    .job-svcs{ display:flex; flex-wrap:wrap; align-items:baseline; gap:3px 10px; }
    .ask-back{position:fixed;inset:0;background:rgba(15,26,82,.55);display:flex;align-items:center;justify-content:center;padding:20px;z-index:10000}
    .ask-box{background:#fff;border-radius:18px;max-width:520px;width:100%;box-shadow:0 20px 50px rgba(16,36,107,.3);overflow:hidden}
    .ask-head{padding:20px 22px 14px}
    .ask-head b{display:block;font-size:19px;font-weight:900;color:var(--navy);line-height:1.25}
    .ask-head span{display:block;font-size:13.5px;color:#6b7488;font-weight:600;margin-top:5px;line-height:1.5}
    .ask-opts{display:flex;flex-direction:column;gap:9px;padding:0 18px}
    .ask-opts button{width:100%;text-align:left;padding:13px 15px;border-radius:12px;border:1.5px solid var(--line);background:#fff;font:inherit;cursor:pointer}
    .ask-opts button b{display:block;font-size:14.5px;font-weight:900;color:var(--navy)}
    .ask-opts button i{display:block;font-style:normal;font-size:12.5px;color:#6b7488;font-weight:600;margin-top:2px}
    .ask-opts .ask-a{border-color:#e3b3b3;background:#fff8f8}
    .ask-opts .ask-a b{color:#b42318}
    .ask-opts button:hover{border-color:var(--royal);background:#f5f8ff}
    .ask-x{width:calc(100% - 36px);margin:12px 18px 18px;height:40px;border-radius:11px;border:none;background:#f5f8ff;color:#6b7488;font:inherit;font-size:13px;font-weight:800;cursor:pointer}
    /* ===== job rows: a list, not a stack of cards ===== */
    .job-list{ border-top:1px solid #edf0f7; }
    .job-item{
      display:grid;
      grid-template-columns:22px 3px minmax(200px,1fr) minmax(300px,420px);
      grid-template-areas:"pick spine info side";
      align-items:center; column-gap:14px;
      padding:7px 4px; border-bottom:1px solid #e6ecf9; background:none;
    }
    .job-top{ display:flex; align-items:baseline; gap:9px; flex-wrap:nowrap; }
    .job-type{ font-size:11px; font-weight:900; color:#2f8c1d; background:#eaf7e4;
      border:1px solid #cfeec4; border-radius:5px; padding:1px 7px; white-space:nowrap; }
    .job-tags{ display:flex; align-items:center; gap:5px; flex-wrap:wrap; margin-top:5px; }
    .job-tags .job-money{ gap:5px; }
    .job-tags .job-money span, .job-tags .cf-chip, .job-tags .job-flag{
      font-size:10.5px; font-weight:900; border-radius:6px; padding:2px 9px; line-height:1.5;
    }
    .job-spine{ grid-area:spine; align-self:stretch; min-height:34px; border-radius:2px; }
    .job-spine.w2{ background:#2547d6; }
    .job-spine.hc{ background:#2f8c1d; }
    .job-spine.blk{ background:#e8862e; }
    .job-item:last-child{ border-bottom:none; }
    .job-item:hover{ background:#f5f8ff; }
    .job-item-flag{ padding-left:4px; }
    .job-pick{ grid-area:pick; display:flex; align-items:center; }
    .job-pick input{ width:16px; height:16px; cursor:pointer; margin:0; }
    .job-r1{ grid-area:info; min-width:0; display:flex; flex-wrap:wrap; align-items:baseline; gap:1px 9px; line-height:1.35; }
    .job-r1 > *{ min-width:0; margin:0; }
    .job-svcs{ display:flex; flex-wrap:wrap; align-items:baseline; gap:3px 8px; }
    .job-svc{ font-weight:800; font-size:13.5px; color:var(--navy); letter-spacing:-.01em; }
    .job-money{ display:inline-flex; align-items:baseline; gap:5px; flex-wrap:wrap; }
    .job-meta, .job-extras, .job-where{
      font-size:11.5px; font-weight:600; color:#7a839a;
      overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:100%;
    }
    .cf-chip{ display:inline-block; padding:1px 7px; border-radius:5px; font-size:10.5px; font-weight:900; }
    .cf-chip.yes{ background:#e9f8e4; border:1px solid #cfeec4; color:#2f8c1d; }
    .cf-chip.no{ background:#fff4e6; border:1px solid #f0d7ab; color:#8a5b12; }
    .cf-chip.hold{ background:#eef2ff; border:1px solid #c9d4ff; color:#2547d6; }
    .job-flag{ display:inline-block; padding:2px 9px; border-radius:6px; background:#ffe9e6; border:1px solid #f2b8ae; color:#a8301b; font-size:11.5px; font-weight:900; }
    .job-side{ grid-area:side; display:flex; align-items:center; justify-content:flex-end; }
    .job-date{ white-space:nowrap; color:var(--royal); font-size:12px; font-weight:800; line-height:1.25; margin-left:auto; }
    .job-when{ font-size:11px; font-weight:700; color:#79839c; }
    .job-btns{
      display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
      gap:4px; justify-content:end; align-items:center; width:100%;
    }
    .job-btns > *{ width:100%; min-width:0; }
    .job-item .acct-actions{ display:contents; padding:0; }
    .job-btns .pr-acts2{ display:contents; margin:0; }
    .job-btns .cr-open, .job-btns .cr-link, .job-btns .pr-act-btn, .job-btns a, .job-btns button{
      display:inline-flex; align-items:center; justify-content:center; height:23px; padding:0 6px;
      border-radius:6px; font-family:inherit; font-size:11px; font-weight:800; white-space:nowrap;
      overflow:hidden; text-overflow:ellipsis;
      text-decoration:none; cursor:pointer; border:1px solid #e2e7f3; background:#fff; color:var(--royal);
    }
    .job-btns .cr-open{ background:var(--royal); border-color:var(--royal); color:#fff; }
    .job-btns .cr-open:hover{ background:var(--navy); border-color:var(--navy); }
    .job-btns button[data-action="deljob"]{ color:#b42318; border-color:#f0d5d2; }
    .job-btns .cr-link:hover, .job-btns .pr-act-btn:hover, .job-btns a:hover{ background:#f5f8ff; border-color:#c9d4ff; }
    @media(max-width:820px){
      .job-item{ grid-template-columns:22px 3px minmax(0,1fr); grid-template-areas:"pick spine info" ". . side"; row-gap:7px; }
      .job-side{ justify-content:flex-start; }
      .job-side{ flex-wrap:wrap; }
      .job-btns{ grid-template-columns:repeat(3,minmax(0,1fr)); }
    }
    /* v1831 job row buttons. Computers: every button, five to a row, no Menu.
       Phones: Open job and Menu side by side; Menu opens the rest under them. */
    .job-menu{ display:none !important; }
    .job-more{ display:contents; }
    .job-btns{ grid-template-columns:repeat(5,minmax(0,1fr)); }
    /* v1837 computers: the button column is wide enough that every word fits */
    @media(min-width:821px){
      .job-item{ grid-template-columns:22px 3px minmax(200px,1fr) minmax(470px,540px) !important; }
      .job-btns .cr-open, .job-btns .cr-link, .job-btns .pr-act-btn, .job-btns a, .job-btns button{ padding:0 4px !important; text-overflow:clip !important; overflow:visible !important; font-size:11.5px !important; }
    }
    @media(max-width:820px){
      .job-item{ padding:9px 4px; }
      .job-btns{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
      .job-btns .cr-open, .job-btns .job-menu{ height:36px !important; font-size:13px !important; }
      .job-btns .job-menu{ display:inline-flex !important; align-items:center; justify-content:center; border:1px solid #c9d4f3; border-radius:6px; background:#fff; color:var(--royal); font:inherit; font-size:13px; font-weight:900; cursor:pointer; }
      .job-more{ display:none; }
      .job-item.menu-open .job-more{ display:grid; grid-column:1 / -1; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; padding:8px; background:#f5f8ff; border:1px solid #dfe5f3; border-radius:10px; }
      .job-item.menu-open .job-more a, .job-item.menu-open .job-more button{ width:100%; min-width:0; height:38px !important; padding:0 6px !important; border-radius:8px !important; border:1px solid #d6defb !important; background:#fff !important; color:var(--royal) !important; font:inherit; font-size:13px !important; font-weight:800 !important; white-space:nowrap; overflow:visible !important; text-overflow:clip !important; display:inline-flex !important; align-items:center; justify-content:center; text-decoration:none; }
      .job-item.menu-open .job-more button[data-action="deljob"]{ color:#b42318 !important; border-color:#f0d5d2 !important; }
      /* v1834 phones: the tick box and color bar take less room, so the details start further left;
         the day and time get their own line under the service instead of running off the right */
      .job-item{ grid-template-columns:20px 3px minmax(0,1fr) !important; column-gap:8px !important; align-items:start !important; }
      .job-item .job-pick{ padding-top:3px; }
      .job-item .job-top{ flex-wrap:wrap !important; row-gap:2px; }
      .job-item .job-date{ flex:0 0 100%; margin-left:0 !important; white-space:normal !important; font-size:13px !important; }
      .job-item .job-date{ display:block !important; }
      .job-item .job-when{ display:inline; white-space:nowrap; margin-left:4px; }
      /* the selection bar: count and Clear on one line, Remove full width under them */
      .jobpick-bar{ flex-wrap:wrap; gap:8px 10px; padding:10px 12px; }
      .jobpick-bar b{ white-space:nowrap; }
      .jobpick-bar .cr-link{ white-space:nowrap; height:36px; }
      .jobpick-bar .btn-bulk-del{ flex:0 0 100%; height:40px !important; white-space:nowrap; font-size:14px !important; font-weight:900 !important; }
      .job-item .job-more .acct-actions, .job-item .job-more .pr-acts2{ display:contents; }
    }


    .jobpick-bar{ display:flex; align-items:center; gap:11px; margin:0 0 9px; padding:9px 14px; border-radius:12px; background:#eef2fb; border:1px solid #d8e0f5; font-size:13px; font-weight:800; color:var(--navy); }
    .cfbar{ background:#fff8ec; border-color:#f0d7ab; color:#8a5b12; }
    .jobpick-bar button{ height:30px; padding:0 12px; border-radius:8px; font-size:12px; font-weight:800; }
    .jobpick-bar b{ margin-right:auto; }














    .job-svc{ font-weight:800; font-size:14.5px; color:var(--navy); letter-spacing:-.01em; }
    .job-qty{ color:#5a6b85; font-weight:700; }
    .ns-wrap{ margin:-4px 0 0; padding:0 0 2px; }
    .ns-acts{ display:flex; gap:10px; padding:0 12px 10px; }
    .ns-sec{ border:1px solid var(--line); border-radius:12px; margin:8px 0; background:#fff; }
    .ns-h{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:0 12px; height:36px; cursor:pointer; }
    .ns-nm{ font-weight:800; color:var(--navy); font-size:.9rem; }
    .ns-car{ color:var(--muted); font-size:.7rem; }
    .ns-on{ background:var(--field); }
    .ns-b{ padding:0 12px 10px; white-space:pre-wrap; color:#3c465e; font-size:.9rem; line-height:1.45; }
    .ns-t{ margin-bottom:7px; font-weight:800; color:var(--navy); }
    .job-cant{ display:inline-block; background:#fdeceb; border:1px solid #f3c2be; color:#a3241b; border-radius:999px; padding:2px 9px; font-size:.68rem; font-weight:800; margin-left:8px; }
    .job-item .job-date{
      display:inline-flex; align-items:baseline; gap:7px; white-space:nowrap;
      color:var(--royal); font-size:12.5px; font-weight:800; line-height:1.25; margin-left:auto;
    }
    .job-item .job-when{
      display:inline; font-size:11.5px; font-weight:700; color:#79839c; margin:0;
    }
    .job-where{ font-size:11.5px; color:var(--muted); margin-top:2px; }

    .job-item-flag .job-date{ color:#c0651b; font-weight:800; }
    .job-money{ display:flex; flex-wrap:wrap; gap:6px; margin:0; }
    .job-money span{ font-size:.73rem; font-weight:800; border-radius:999px; padding:2px 10px; }
    .jm-tot{ background:#eef2ff; color:#2547d6; }
    .jm-paid{ background:#eef7e9; color:#2f7d3a; }
    .jm-bal{ background:#fff4ec; color:#b5651b; }
    .jm-clear{ background:#eef7e9; color:#2f7d3a; }
    .jm-disc{ background:#fff4ec; color:#e8862e; }
    .add-hint{ color:#6b7488; font-size:.78rem; font-weight:600; margin:4px 0 2px; }
    .job-done{ display:inline-block; background:#eef7e9; border:1px solid #cbe8bd; color:#2f7d3a; border-radius:999px; padding:2px 9px; font-size:.68rem; font-weight:800; margin-left:8px; }.job-est{display:inline-block;background:#eef1f8;border:1px solid #d3dbec;color:#3d4a6b;font-weight:800;font-size:11px;padding:2px 9px;border-radius:20px;margin-right:6px}
    .job-form .field{ margin-bottom:7px; }
    .p-top{ position:relative; overflow:hidden; display:flex; align-items:center; gap:14px; padding:12px 22px; background:#2547d6; }
    .p-top .brand{ position:relative; z-index:2; display:flex; align-items:center; gap:10px; font-weight:900; color:#fff; white-space:nowrap; text-shadow:0 1px 3px rgba(0,40,30,.28); }
    .p-top .brand .ptop-logo{ width:38px; height:38px; border-radius:50%; display:block; flex:none; box-shadow:0 2px 8px rgba(0,0,0,.28); }
    .p-top .crumb{ position:relative; z-index:2; color:rgba(255,255,255,.92); font-weight:700; text-shadow:0 1px 2px rgba(0,40,30,.25); }
    .p-top .crumb b{ color:#ffe08a; text-shadow:0 1px 2px rgba(0,40,30,.35); }
    .p-top .ver{ position:relative; z-index:2; margin-left:auto; color:rgba(255,255,255,.9); font-size:12px; font-weight:600; }
    .m-head{ display:flex; align-items:center; gap:14px; padding:18px 22px; border-bottom:1px solid var(--line); background:#eef2ff; }
    .m-name{ font-weight:800; color:var(--navy); font-size:19px; }
    .m-sub{ color:var(--muted); font-size:13px; font-weight:700; }
    .m-x{ margin-left:auto; background:none; border:none; font-size:26px; line-height:1; color:var(--muted); cursor:pointer; }
    .m-body{ padding:6px 22px; }
    .m-body.m-form{ padding:18px 22px; }
    .m-tabs{ display:flex; gap:2px; flex-wrap:wrap; padding:12px 22px 0; border-bottom:1px solid var(--line); }
    .m-tabmenu{ display:none; align-items:center; gap:10px; width:calc(100% - 28px); margin:12px 14px 8px; height:36px; padding:0 14px; border:1px solid var(--line); border-radius:10px; background:#fff; font:inherit; font-weight:800; font-size:14px; color:#16246b; cursor:pointer; }
    .m-tabmenu .m-tabcur{ flex:1; text-align:left; }
    .m-tabmenu-i, .m-tabmenu-c{ color:#2547d6; }
    .m-tab{ border:none; background:transparent; color:#6b7488; font:inherit; font-weight:800; font-size:13px; padding:9px 13px; border-radius:9px 9px 0 0; cursor:pointer; border-bottom:2px solid transparent; white-space:nowrap; margin-bottom:-1px; }
    .m-tab:hover{ background:#f3f6ff; color:#2547d6; }
    .m-tab.on{ color:#2547d6; background:#eef2ff; border-bottom-color:#2547d6; }
    .ptab{ display:none; } .ptab.on{ display:block; }
    .up-drop{ border:1.5px dashed #c4ccea; border-radius:12px; background:#fcfdff; padding:22px; text-align:center; color:#6b7488; font-size:13px; font-weight:700; }
    .up-job{ margin-top:14px; border:1px solid var(--line); border-radius:12px; padding:11px; }
    .up-jlab{ font-weight:800; color:var(--navy); font-size:.85rem; margin-bottom:2px; }
    .up-jsub{ color:#6b7488; font-size:.8rem; margin-bottom:2px; }
    .up-grid{ display:flex; flex-direction:column; gap:6px; margin-top:14px; }
    .up-qrow{ display:flex; align-items:center; gap:14px; border:1px solid var(--line); border-radius:10px; padding:8px 12px; min-height:36px; }
    .up-qmain{ font-weight:800; color:var(--navy); font-size:.85rem; white-space:nowrap; }
    .up-qmeta{ color:#6b7488; font-size:.8rem; white-space:nowrap; }
    .up-qsvc{ color:#6b7488; font-size:.8rem; flex:1 1 auto; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .up-qopen{ border:1px solid #cdd7f5; background:#fff; color:var(--royal); border-radius:8px; height:36px; padding:0 14px; font:inherit; font-size:.8rem; font-weight:700; cursor:pointer; white-space:nowrap; }
    .up-qopen:hover{ background:#f2f6ff; }
    .up-qdel{ border:1px solid #e6b0aa; background:#fff; color:#c0392b; border-radius:8px; height:36px; padding:0 14px; font:inherit; font-size:.8rem; font-weight:700; cursor:pointer; white-space:nowrap; }
    .up-qdel:hover{ background:#fdf3f2; }
    @media(max-width:760px){ .up-qrow{ flex-wrap:wrap; gap:6px 12px; } .up-qsvc{ flex:1 1 100%; } }
    .up-grid{ display:flex; flex-wrap:wrap; gap:10px; }
    .up-sh{ width:104px; text-decoration:none; color:#6b7488; }
    .up-sh img{ width:104px; height:104px; object-fit:cover; border-radius:10px; border:1px solid var(--line); display:block; }
    .up-sh span{ display:block; font-size:11px; margin-top:4px; line-height:1.25; }
    .up-hint{ font-size:12px; color:#6b7488; margin-top:10px; }
    .ph,.ph *{ color:#c026d3 !important; }
    .cc-s3{ display:block; font-size:10.5px; opacity:.85; font-weight:600; line-height:1.35; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .cal-tip{ position:absolute; z-index:200; background:#fff; border:1px solid var(--line); border-left:3px solid #2547d6; border-radius:12px; box-shadow:0 12px 38px rgba(20,30,60,.20); padding:11px 13px; font-size:12.5px; max-width:320px; max-height:60vh; overflow:auto; overscroll-behavior:contain; white-space:pre-line; }
    .cal-tip .ct-row, .cal-tip .ct-n, .cal-tip .ct-t{ white-space:normal; }
    .ct-n{ font-weight:900; color:#16246b; font-size:13.5px; line-height:1.3; }
    /* day view A - dispatch board. v1334 */
    .dbA-sum{ font-size:13px; font-weight:800; color:#5d6784; margin:4px 0 10px; }
    .dbA-scroll{ overflow-x:auto; -webkit-overflow-scrolling:touch; background:#fff; border:1px solid var(--line); border-radius:14px; }
    .dbA{ position:relative; }
    .dbA-head{ display:flex; height:34px; border-bottom:1px solid var(--line); position:sticky; top:0; background:#fff; z-index:3; }
    .dbA-hrs{ position:relative; flex:none; }
    .dbA-hrs span{ position:absolute; top:10px; transform:translateX(4px); font-size:11.5px; font-weight:800; color:#6b7488; }
    .dbA-who{ position:sticky; left:0; z-index:2; width:190px; flex:none; box-sizing:border-box; padding:10px 14px; background:#fff; border-right:1px solid var(--line); display:flex; flex-direction:column; justify-content:center; }
    .dbA-who b{ font-size:14px; font-weight:900; color:var(--navy); line-height:1.25; }
    .dbA-who span{ font-size:11.5px; font-weight:700; color:#6b7488; }
    .dbA-corner{ font-size:11px; font-weight:900; text-transform:uppercase; letter-spacing:.5px; color:#6b7488; padding:0 14px; }
    .dbA-row{ display:flex; border-bottom:1px solid #eef1f8; }
    .dbA-track{ position:relative; flex:none; }
    .dbA-band{ background:#fffaf4; }
    .dbA-hl{ position:absolute; top:0; bottom:0; width:1px; background:#eef1f8; }
    .dbA-now{ position:absolute; top:0; bottom:0; width:2px; background:#e5484d; z-index:1; }
    .dbA-grp{ position:sticky; left:0; height:28px; display:flex; align-items:center; padding:0 14px; font-size:11px; font-weight:900; letter-spacing:.6px; text-transform:uppercase; background:#f7f8fc; border-bottom:1px solid var(--line); }
    .dbA-g-w2{ color:#2547d6; } .dbA-g-hc{ color:#3a8f1f; } .dbA-g-blk{ color:#c96a12; }
    .sjb.dbA-card{ height:56px; border-radius:10px; padding:6px 10px 8px; min-width:0; justify-content:center; gap:1px; }
    .sjb.dbA-card b{ font-size:13px; -webkit-line-clamp:1; white-space:nowrap; text-overflow:ellipsis; }
    .dbA-sub{ display:block; font-size:11.5px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; opacity:.85; }
    .dbA-bar{ position:absolute; left:0; bottom:0; height:4px; border-radius:0 0 0 10px; background:currentColor; opacity:.55; }
    .sjb-w2 .dbA-bar,.dbA-card:not(.sjb-hc):not(.sjb-blk) .dbA-bar{ color:#2547d6; } .sjb-hc .dbA-bar{ color:#57bd34; } .sjb-blk .dbA-bar{ color:#e8862e; }
    .dbA-tray{ margin-top:12px; background:#fafbfd; border:1px solid var(--line); border-radius:14px; padding:12px 14px; }
    .dbA-trayh{ font-size:11px; font-weight:900; letter-spacing:.6px; text-transform:uppercase; color:#3b4459; margin-bottom:8px; }
    .dbA-trayl{ display:flex; flex-wrap:wrap; gap:10px; min-height:40px; }
    .sjb.dbA-tcard{ position:static; width:250px; height:56px; border-radius:10px; padding:6px 10px; }
    .sjb.dbA-tcard b{ font-size:13px; -webkit-line-clamp:1; white-space:nowrap; text-overflow:ellipsis; }
    @media(max-width:760px){ .dbA-who{ width:120px; padding:8px 10px; } .dbA-who b{ font-size:13px; } .sjb.dbA-tcard{ width:100%; } }
    .ct-aw{ display:grid; grid-template-columns:62px 1fr; gap:8px; align-items:center; padding:4px 0; white-space:normal; }
    .ct-aw i{ font-style:normal; font-weight:800; color:#6b7488; font-size:12.5px; }
    .ct-awb{ display:flex; gap:4px; flex-wrap:wrap; }
    .ct-awin{ flex:1 1 100%; height:30px; border:1px solid #dbe3f8; border-radius:8px; padding:0 8px; font:inherit; font-size:12.5px; min-width:0; box-sizing:border-box; }
    .ct-awb button{ flex:1; height:28px; border:1px solid #c9d4ff; background:#eef2fd; color:#2547d6; border-radius:8px; font:inherit; font-size:12px; font-weight:800; cursor:pointer; }
    .ct-awb button.on{ background:#2547d6; border-color:#2547d6; color:#fff; }
    .ct-kv{ display:grid; grid-template-columns:62px 1fr; gap:8px; font-size:12.5px; line-height:1.4; padding:2px 0; }
    .ct-kv i{ font-style:normal; font-weight:800; color:#6b7488; }
    .ct-kv span{ font-weight:700; color:#1a2235; word-break:break-word; }
    .ct-bad{ margin-top:6px; font-weight:900; color:#b42318; font-size:12px; }
    .ct-a.no{ color:#b5822f; }
    .ct-row{ display:grid; grid-template-columns:62px 1fr; gap:8px; padding:3px 0; font-size:12.5px; line-height:1.35; }
    .ct-when{ font-weight:800; color:#6b7488; white-space:nowrap; }
    .ct-what b{ color:#1a2235; font-weight:800; }
    .ct-what i{ display:block; font-style:normal; color:#6b7488; font-weight:600; font-size:11.5px; }
    .ct-code{ font-weight:900; font-size:11px; letter-spacing:.3px; }
    .ct-code.k-w2{ color:#2547d6; } .ct-code.k-hc{ color:#3a8f1f; } .ct-code.k-blk,.ct-code.k-block{ color:#c96a12; }
    .ct-l{ color:#6b7488; font-weight:600; line-height:1.4; }
    .ct-sep{ height:1px; background:#e6e9f2; margin:8px 0; }
    .ct-s{ font-weight:700; color:#1a2235; line-height:1.45; }
    .ct-t{ color:#6b7488; font-weight:700; margin-top:5px; }
    .ct-a{ margin-top:7px; padding-top:6px; border-top:1px solid #e6e9f2; font-weight:800; color:#3aa02a; font-size:11.5px; }
    .cal-chip[data-jid], .cal-svc[data-jid]{ cursor:grab; }
    body.cal-mdrag, body.cal-mdrag *{ cursor:grabbing !important; user-select:none !important; }
    .cal-tghost{ position:fixed; z-index:9999; pointer-events:none; max-width:220px; padding:8px 12px; border-radius:10px; background:#2547d6; color:#fff; font-weight:800; font-size:13px; box-shadow:0 8px 24px rgba(22,36,107,.3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .cal-chip.cal-dragging{ opacity:.4; }
    .cal-drop{ outline:2px dashed #2547d6; outline-offset:-2px; background:#eef2ff !important; }
    /* one day, time down the left - v1353 */
    .wk-grid.wk-one{ grid-template-columns:84px minmax(0,1fr); min-width:0; }
    .wk-onewrap{ overflow:visible; }
    .wk-one .wk-allcell, .wk-one .wk-blockcell{ display:flex; flex-wrap:wrap; gap:4px; align-content:flex-start; }
    .wk-one .wk-allcell [data-jid], .wk-one .wk-blockcell [data-jid]{ flex:0 1 auto; max-width:100%; margin:0; }
    .wk-one .wk-hr{ font-size:12.5px; font-weight:800; color:#16246b; }
    .wk-grid:not(.wk-one) .wk-ev .sjb-cr, .db-blkchip .sjb-cr{ display:none !important; }
    .sjb-win{ display:block; font-size:10.5px; font-weight:800; color:#7c3aed; margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    /* a test cleaning on the office calendar. Adam, 5 Nov 2026. v1938 */
    .sjb-tc, .sjb span.sjb-tc, .ag-card span.sjb-tc, .tdv-ev span.sjb-tc{ display:inline-block !important; width:auto !important; font-size:9.5px !important; font-weight:900; line-height:13px; padding:0 5px; margin:0 0 0 3px; border-radius:999px; background:#fff !important; color:#7c3aed !important; border:1px solid #7c3aed; white-space:nowrap; vertical-align:1px; opacity:1 !important; align-self:flex-start; justify-self:start; }
    .app-main .dbx{ --dbx-top:62px; }
    .wk-one .wk-ev .sjb-cr{ display:block; font-size:10.5px; font-weight:800; color:#16246b; opacity:.8; margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    /* a short job keeps who, when, what and the crew on one line - v1355 */
    .wk-one .wk-ev.wk-short .sjb-w{ display:none !important; }
    .wk-one .wk-ev.wk-short b{ display:inline; }
    .wk-one .wk-ev.wk-short .sjb-cr{ display:inline !important; margin-left:6px; }
    .wk-one .wk-ev.wk-short{ padding-top:3px; padding-bottom:0; line-height:1.25; }
    .wk-one .wk-ev .sjb-cr:before{ content:'\1F464 '; font-size:10px; }
    .wk-one .wk-ev .cal-chip, .wk-one .sjb{ font-size:12px; }
    @media(max-width:860px){
      .wk-grid.wk-one{ grid-template-columns:58px minmax(0,1fr); }
      .wk-one .wk-hr{ font-size:11px; padding:2px 4px 0; }
      .wk-onewrap .sjb span{ display:inline; }
      .wk-onewrap .sjb .sjb-w{ display:block; }
      .wk-onewrap .sjb .sjb-cr{ display:block; }
    }
    /* THE WEEK, DAY BY DAY. Hard to tell which day a job sat on: the lines
       between days were near invisible and the day names scrolled away. Now a
       solid line between every day, every other day lightly shaded, and on a
       computer the day names stay pinned under the top bar while you scroll.
       Adam, 27 Sep 2026. v1352. */
    .wk-dh, .wk-allcell, .wk-blockcell, .wk-daycol{ border-left:2px solid #c9d3ea !important; }
    .wk-dh.wk-alt, .wk-daycol.wk-alt, .wk-allcell.wk-alt{ background:#f4f7fd; }
    .wk-blockcell.wk-alt{ background:#fbf6e9; }
    .wk-dh{ background:#fff; }
    .wk-dow{ color:#16246b; font-size:11px; font-weight:900; }
    .wk-dn{ font-size:17px; font-weight:900; }
    .wk-dh.wk-today, .wk-daycol.wk-today{ background:rgba(37,71,214,.09) !important; }
    .wk-dh.wk-today .wk-dn{ color:#fff !important; background:#2547d6; border-radius:999px; align-self:center; min-width:30px; padding:1px 8px; }
    @media (min-width:900px){
      .wk-scroll{ overflow:visible; }
      .wk-dh, .wk-corner{ position:sticky; top:62px; z-index:6; box-shadow:0 2px 0 #c9d3ea; }
      .wk-corner{ background:#fff; }
      .wk-dh.wk-today{ background:#e9eefc !important; }
      .wk-dh.wk-alt:not(.wk-today){ background:#f4f7fd; }
    }
    .wk-daycol.cal-drop,.dy-canvas.cal-drop{ outline:none; background:rgba(37,71,214,.04) !important; }
    .cal-ghost{ position:absolute; left:2px; right:2px; border:2px dashed #2547d6; border-radius:8px; background:rgba(37,71,214,.10); pointer-events:none; z-index:6; }
    .cal-ghost.cal-ghost-x{ right:auto; }
    /* Anywhere on a job picks it up - no text gets selected instead - and a
       small grip on each job shows it can be moved. v1349. */
    [data-jid]{ cursor:grab; -webkit-user-select:none; user-select:none; -webkit-touch-callout:none; }
    [data-jid] *{ -webkit-user-drag:none; }
    .dbA-card[data-jid]:after, .wk-ev[data-jid]:after{ content:'\2807\2807'; position:absolute; right:4px; top:4px; font-size:11px; line-height:1; letter-spacing:-2px; color:currentColor; opacity:.45; pointer-events:none; }
    .m-notes{ padding:14px 0; font-size:14px; color:var(--ink); line-height:1.5; }
    .m-credits{ padding:14px 0; border-top:1px solid var(--line); }
    .cr-h{ display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
    .cr-total{ font-weight:800; color:var(--royal-dark); font-size:14px; }
    .cr-total-line{ margin-bottom:8px; }
    .cr-list{ display:flex; flex-direction:column; gap:6px; margin-bottom:10px; }
    .cr-item{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:13px; background:var(--field); border:1px solid var(--line); border-radius:9px; padding:7px 10px; }
    .cr-amt-v{ font-weight:800; color:var(--ink); }
    .cr-type-v{ color:var(--navy); font-weight:600; }
    .cr-when{ color:var(--muted); margin-left:auto; font-size:12px; }
    .cr-note-txt{ color:var(--muted); }
    .cr-badge{ font-size:11px; font-weight:700; padding:2px 8px; border-radius:999px; }
    .cr-badge-available{ background:rgba(39,174,96,.14); color:#1e7e44; }
    .cr-badge-used{ background:rgba(37,71,214,.12); color:var(--royal-dark); }
    .cr-badge-void{ background:rgba(120,120,120,.16); color:#6b7280; }
    .cr-item.cr-void{ opacity:.6; }
    .cr-x{ background:none; border:none; color:#c0392b; font-size:17px; line-height:1; cursor:pointer; padding:0 2px; }
    .cr-none,.cr-loading{ color:var(--muted); font-size:13px; padding:4px 0 10px; }
    .cr-add{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
    .cr-add .numstep{ height:36px; align-self:center; }
    .cr-add .numstep>button.nsb{ width:36px; min-width:36px; height:36px; font-size:16px; }
    .cr-add .numstep>input[type=number]{ height:36px; }
    .cr-add>.field{ height:36px; align-self:center; }
    .cr-add .cr-type{ flex:0 0 auto; width:150px; }
    /* title and note share the rest of the row evenly */
    .cr-add .cr-label{ flex:1 1 0; min-width:140px; }
    .cr-add .cr-note{ flex:1 1 0; min-width:140px; }
    @media(max-width:700px){ .cr-add .cr-label,.cr-add .cr-note{ flex:1 1 100%; } .cr-add .cr-type{ width:auto; flex:1 1 auto; } }
    .cr-add .field{ padding:8px 10px; }
    .cr-amt{ width:84px; }
    .cr-type{ width:130px; }
    .cr-note{ flex:1 1 140px; }
    .cr-addbtn{ padding:8px 18px; font-size:13px; white-space:nowrap; flex:0 0 auto; width:auto; min-width:110px; align-self:center; }
    .cr-link{ background:none; border:none; color:var(--royal); font-weight:700; font-size:12px; cursor:pointer; padding:0 2px; }








    .cr-open{ display:inline-flex; align-items:center; background:var(--royal); color:#fff; text-decoration:none; font-weight:800; font-size:12px; padding:7px 13px; border-radius:9px; }
    .cr-open:hover{ background:var(--navy); }
    .cr-code-show{ font-size:12px; color:var(--navy); }
    .cr-tr{ display:flex; gap:6px; align-items:center; flex:1 1 100%; margin-top:6px; }
    .cr-code{ width:130px; padding:7px 9px; }
    .cr-tbtn{ background:var(--royal); color:#fff; border:none; border-radius:8px; font-weight:700; font-size:12px; padding:7px 11px; cursor:pointer; }
    .cr-cancel{ background:none; border:1px solid var(--line); border-radius:8px; font-weight:700; font-size:12px; padding:7px 11px; cursor:pointer; color:var(--navy); }
    .cr-badge-transferred{ background:rgba(243,156,18,.16); color:#b9770e; }
    .m-props{ padding:14px 0; border-top:1px solid var(--line); }
    .pr-list{ display:flex; flex-direction:column; gap:8px; margin-bottom:10px; }
    .pr-item{ position:relative; background:var(--field); border:1px solid var(--line); border-radius:10px; padding:9px 74px 9px 11px; }
    .pr-main{ display:flex; align-items:center; gap:8px; }
    .pr-title{ font-weight:800; color:var(--ink); font-size:13px; }
    .pr-badge{ font-size:11px; font-weight:700; padding:2px 8px; border-radius:999px; }
    .pr-residential{ background:rgba(37,71,214,.12); color:var(--royal-dark); }
    .pr-commercial{ background:rgba(243,156,18,.16); color:#b9770e; }
    .pr-addr{ font-size:13px; color:var(--navy); margin-top:3px; }
    .pr-acts2{ display:flex; flex-wrap:wrap; gap:6px; margin-top:6px; }
    .acct-actions{ padding:10px 0 2px; }
    .dup-warn{ background:#fff7e6; border:1px solid #f0c36d; border-radius:10px; padding:12px; margin-bottom:14px; }
    .dup-h{ font-weight:800; color:#9a6700; font-size:13px; margin-bottom:8px; }
    .dup-row{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:7px 0; border-top:1px solid #f0dca8; }
    .dup-row:first-of-type{ border-top:none; }
    .dup-nm{ font-weight:700; color:var(--ink); font-size:13px; }
    .dup-why{ font-size:12px; color:var(--muted); margin-top:2px; }
    .dup-b{ display:inline-block; background:#fde9c8; color:#9a6700; font-size:11px; font-weight:700; padding:1px 7px; border-radius:999px; margin-right:4px; }
    .dup-note{ font-size:12px; color:var(--muted); margin-top:8px; }
    .ac-host{ margin:0 0 6px; }
    .ac-host gmp-place-autocomplete{ width:100%; color-scheme: light; background:#fff; border:1px solid #e4e8f0; border-radius:10px; }
    .svc-multi{ display:flex; flex-direction:column; gap:6px; margin:2px 0 8px; }
    .svc-chk{ display:flex; align-items:center; gap:9px; font-size:14px; color:#0f2740; background:#f4f6fb; border:1px solid #e4e8f0; border-radius:10px; padding:9px 11px; cursor:pointer; }
    .svc-chk input{ width:17px; height:17px; }
    .svc-none{ font-size:13px; color:var(--muted); padding:6px 0 8px; }
    .pr-act-btn{ display:inline-block; background:#fff; border:1.5px solid var(--line); color:var(--royal); font-weight:700; font-size:12px; padding:6px 10px; border-radius:9px; text-decoration:none; cursor:pointer; }
    .pr-act-btn:hover{ background:#f4f7fb; }
    .pr-contacts{ margin-top:4px; }
    .pr-contact{ font-size:12px; color:var(--muted); }
    .pr-acts{ position:absolute; top:7px; right:8px; display:flex; align-items:center; gap:2px; }
    .pr-x{ background:none; border:none; color:#c0392b; font-size:17px; line-height:1; cursor:pointer; padding:0 2px; }
    .pr-add-btn{ background:#fff; border:1.5px solid var(--line); color:var(--royal); font-family:inherit; font-weight:800; font-size:13px; padding:9px 14px; border-radius:10px; cursor:pointer; }
    .pr-add-btn:hover{ background:#f4f7fb; }
    .pr-form{ background:var(--field); border:1px solid var(--line); border-radius:10px; padding:12px; margin-top:8px; display:flex; flex-direction:column; gap:8px; }
    .pf-title{ font-weight:800; color:var(--navy); font-size:13px; }
    .pr-f2{ width:100%; }
    .pf-row3{ display:flex; gap:8px; }
    .pf-row3 .field{ flex:1 1 auto; min-width:0; }
    .pf-st{ max-width:80px; }
    .pf-zip{ max-width:120px; }
    .pc-head{ font-weight:700; color:var(--navy); font-size:13px; margin-top:4px; }
    .pc-note{ font-size:12px; color:var(--muted); margin-top:-4px; }
    .pc-row{ display:flex; gap:6px; align-items:center; }
    .pc-f{ flex:1 1 0; min-width:0; }
    .pc-x{ background:none; border:none; color:#c0392b; font-size:16px; cursor:pointer; flex:none; }
    .pf-foot{ display:flex; gap:8px; margin-top:4px; }
    .m-foot{ padding:16px 22px; border-top:1px solid var(--line); display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
    .btn-edit{ display:inline-flex; align-items:center; justify-content:center; height:36px; padding:0 15px; white-space:nowrap; background:#fff; border:1.5px solid var(--line); color:var(--navy); font-family:inherit; font-weight:700; font-size:13px; border-radius:10px; cursor:pointer; }
    .btn-edit:hover{ background:#f4f7fb; }
    textarea.field{ resize:vertical; font-family:inherit; line-height:1.4; }
    .m-lab,.add-lab{ font-size:13px; font-weight:700; color:var(--navy); }
    .add-lab{ display:block; margin:0 0 6px; }
    .m-form .field{ margin-bottom:14px; }
    .m-sel{ flex:0 0 auto; width:170px; max-width:45vw; height:36px; margin-right:auto; padding:0 10px; border:1.5px solid var(--line); border-radius:10px; font-family:inherit; font-size:14px; background:#f4f7fb; color:var(--ink); }
    .pg-wrap{ margin-top:28px; border-top:1px solid var(--line); padding-top:18px; }
    .pg-head{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
    .pg-head .btn{ flex:0 0 auto; }
    .pg-toggle{ background:#fff; border:1.5px solid var(--line); color:var(--navy); font-family:inherit; font-weight:700; font-size:13px; height:36px; padding:0 14px; border-radius:10px; cursor:pointer; }
    .pg-toggle:hover{ border-color:#c4d1ee; }
    .pg-tabs{ display:inline-flex; background:var(--field); border:1px solid var(--line); border-radius:12px; padding:3px; gap:2px; margin:14px 0; }
    .pg-tab{ border:0; background:transparent; color:var(--muted); font:inherit; font-weight:700; font-size:13px; height:36px; padding:0 18px; border-radius:9px; cursor:pointer; }
    .pg-tab:hover{ color:var(--navy); }
    .pg-tab.on{ background:#fff; color:var(--royal); box-shadow:0 2px 8px rgba(22,36,107,.12); }
    .pg-tw{ overflow-x:auto; }
    .pg-table{ width:100%; min-width:560px; border-collapse:collapse; background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; }
    .pg-table th{ text-align:center; font-size:11.5px; font-weight:800; letter-spacing:.03em; text-transform:uppercase; color:var(--muted); padding:11px 6px; background:#f4f7fb; border-bottom:1px solid var(--line); }
    .pg-table th.pg-sec{ text-align:left; padding-left:14px; }
    .pg-table td{ padding:5px 6px; border-bottom:1px solid var(--line); text-align:center; height:36px; }
    .pg-table td.pg-sec{ text-align:left; padding-left:14px; font-size:13.5px; font-weight:700; color:var(--navy); }
    .pg-table tr:last-child td{ border-bottom:0; }
    .pg-ck{ width:20px; height:20px; cursor:pointer; accent-color:var(--royal); }
    .pg-sw{ display:inline-flex; align-items:center; cursor:pointer; position:relative; }
    .pg-sw input{ position:absolute; opacity:0; width:0; height:0; }
    .pg-sl{ width:38px; height:22px; border-radius:999px; background:#cfd5e6; position:relative; transition:.15s; display:block; }
    .pg-sl::after{ content:""; position:absolute; top:3px; left:3px; width:16px; height:16px; border-radius:50%; background:#fff; transition:.15s; }
    .pg-sw input:checked + .pg-sl{ background:var(--apple); }
    .pg-sw input:checked + .pg-sl::after{ left:19px; }
    .pg-note{ color:var(--muted); font-size:12.5px; line-height:1.65; margin-top:14px; }
    .pg-note b{ color:var(--navy); }
    .pg-foot{ display:flex; align-items:center; gap:12px; margin-top:14px; }
    .pg-ok{ font-weight:700; font-size:13px; color:var(--apple-dark); }
    .pg-req{ font-size:12.5px; height:32px; padding:0 12px; }
    .see-box{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:14px 16px; margin-bottom:14px; }
    .see-h{ font-size:13px; font-weight:800; color:var(--navy); margin-bottom:10px; }
    .see-row{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; min-height:36px; padding:3px 0; }
    .see-l{ font-size:13.5px; font-weight:700; color:var(--navy); }
    .see-row .pv-btns{ margin-left:auto; }
    .see-row .pg-sw{ margin-left:auto; }
    .pv-bar{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding:9px 22px; background:#f4f7fb; border-bottom:1px solid var(--line); }
    .pv-bar.pv-on{ background:#eef2ff; border-bottom-color:#c4d1ee; }
    .pv-lab{ font-size:12.5px; font-weight:700; color:var(--muted); }
    .pv-bar.pv-on .pv-lab{ color:var(--royal); }
    .pv-btns{ display:inline-flex; gap:4px; margin-left:auto; flex-wrap:wrap; }
    .pv-b{ border:1px solid var(--line); background:#fff; color:var(--muted); font:inherit; font-weight:700; font-size:12px; height:30px; padding:0 11px; border-radius:8px; cursor:pointer; }
    .pv-b:hover{ border-color:#c4d1ee; color:var(--navy); }
    .pv-b.on{ background:var(--royal); border-color:var(--royal); color:#fff; }
    .pv-set{ border:1px solid var(--royal); background:#fff; color:var(--royal); font:inherit; font-weight:800; font-size:12px; height:30px; padding:0 13px; border-radius:8px; cursor:pointer; margin-left:8px; }
    .pv-set.on{ background:var(--royal); color:#fff; }
    .pv-hint{ padding:9px 22px; background:#eef2ff; border-bottom:1px solid #c4d1ee; font-size:12.5px; color:var(--royal); line-height:1.6; }
    .pm-msg{ font-size:12px; font-weight:700; color:var(--apple-dark); margin-left:10px; }
    .pm-pill{ border:1px solid #cfd5e6; background:#f1f3f9; color:#6b7590; font:inherit; font-weight:800; font-size:10.5px; letter-spacing:.02em; text-transform:uppercase; height:20px; padding:0 7px; border-radius:6px; cursor:pointer; vertical-align:middle; margin:0 5px; }
    .pm-pill.on{ background:#e6f6de; border-color:#a9d98c; color:#3f7a1f; }
    .pm-pill:hover{ filter:brightness(.96); }
    .pm-off{ opacity:.4; }
    .pm-off button, .pm-off select, .pm-off input{ pointer-events:none; }
    .pm-off .pm-pill{ opacity:1; pointer-events:auto; }
    .m-tabwrap{ display:inline-flex; align-items:center; }
    .rl-list{ margin-top:8px; }
    .rl-row{ position:relative; background:#fff; border:1px solid var(--line); border-radius:12px; padding:11px 14px 11px 46px; margin-bottom:8px; min-height:36px; }
    .rl-row.rl-hidden{ background:#f7f8fb; }
    .rl-row.rl-hidden .rl-name{ color:var(--muted); }
    .rl-open{ position:absolute; left:10px; top:9px; width:26px; height:26px; border:1px solid var(--line); background:#f4f7fb; color:var(--navy); font:inherit; font-weight:800; font-size:14px; border-radius:7px; cursor:pointer; line-height:1; }
    .rl-name{ font-size:14px; font-weight:700; color:var(--navy); }
    .rl-soon{ font-size:10.5px; font-weight:800; text-transform:uppercase; letter-spacing:.03em; color:#9aa3ba; background:#f1f3f9; border-radius:5px; padding:2px 6px; margin-left:8px; }
    .rl-row .pm-pill{ float:right; }
    .rl-note{ font-size:12.5px; color:var(--muted); line-height:1.55; margin-top:5px; clear:both; }
    .rl-det{ display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:10px; padding-top:10px; border-top:1px solid var(--line); }
    .rl-ck{ display:inline-flex; align-items:center; gap:7px; font-size:13px; font-weight:700; color:var(--navy); cursor:pointer; min-height:36px; }
    .rl-ck input{ width:20px; height:20px; accent-color:var(--royal); cursor:pointer; }
    .rl-ask{ margin-left:auto; color:var(--muted); }
    .em-body{ padding-top:6px; }
    .em-job{ background:#fff; border:1px solid var(--line); border-left:5px solid var(--royal); border-radius:12px; padding:13px 16px; margin-bottom:10px; }
    .em-when{ font-size:20px; font-weight:800; color:var(--royal); line-height:1.2; }
    .em-svc{ font-size:15px; font-weight:800; color:var(--navy); margin-top:2px; }
    .em-who{ font-size:13.5px; color:var(--navy); margin-top:3px; }
    .em-addr{ font-size:13.5px; color:var(--muted); margin-top:2px; }
    .em-nav{ display:inline-block; margin-top:9px; height:36px; line-height:34px; padding:0 16px; border:1.5px solid var(--royal); color:var(--royal); font-weight:800; font-size:13px; border-radius:10px; text-decoration:none; }
    .em-big{ display:block; width:100%; height:64px; border:0; border-radius:14px; background:var(--apple); color:#14340a; font-family:inherit; font-weight:800; font-size:19px; cursor:pointer; }
    .em-big.out{ background:var(--royal); color:#fff; }
    .em-big[disabled]{ opacity:.6; cursor:default; }
    .em-punches{ margin-top:14px; }
    .em-punch-old{ background:#fdf1de; }
  .em-punch{ display:flex; justify-content:space-between; align-items:center; background:#fff; border:1px solid var(--line); border-radius:10px; padding:9px 14px; margin-bottom:7px; font-size:14px; min-height:36px; }
    .em-punch b{ color:var(--navy); }
    .em-det .acct-k{ margin-top:8px; }
    .rqf-row{ margin-bottom:12px; }
    .rqf-now{ font-size:14px; color:var(--navy); margin:2px 0 6px; }
    .rqf-in{ width:100%; }
    .rq-card{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:14px 16px; margin-bottom:10px; }
    .rq-top{ font-size:14px; color:var(--navy); margin-bottom:9px; }
    .rq-line{ display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:5px 0; font-size:14px; }
    .rq-k{ font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.03em; color:var(--muted); min-width:76px; }
    .rq-was{ color:var(--muted); text-decoration:line-through; }
    .rq-ar{ color:var(--muted); }
    .rq-new{ font-weight:800; color:var(--navy); }
    .rq-acts{ display:flex; gap:10px; margin-top:12px; }
    .dc-row{ display:flex; align-items:flex-start; gap:12px; background:#fff; border:1px solid var(--line); border-radius:12px; padding:12px 14px; margin-bottom:8px; }
    .dc-mid{ flex:1; min-width:0; }
    .dc-priv{ display:inline-block; background:#eef2ff; color:#2547d6; border-radius:6px; padding:2px 8px; font-size:.68rem; font-weight:800; margin-left:8px; vertical-align:1px; }
  .dc-see{ display:inline-block; border:1px solid #bfe3ac; background:#eefbe9; color:#3aa02a;
    border-radius:999px; padding:2px 10px; font:inherit; font-size:.68rem; font-weight:800;
    margin-left:8px; vertical-align:1px; cursor:pointer; }
  .dc-see:hover{ border-color:#8fcf78; }
  .dc-see.off{ border-color:#e2c7c7; background:#fdf2f2; color:#9a4a44; }
  .dc-see.off:hover{ border-color:#d4a6a6; }
    .dc-hide{ display:flex; align-items:flex-start; gap:9px; background:#f5f8ff; border:1px solid var(--line); border-radius:10px; padding:10px 12px; margin-top:10px; cursor:pointer; }
    .dc-hide input{ width:18px; height:18px; margin:1px 0 0; accent-color:#2547d6; flex:0 0 auto; cursor:pointer; }
    .dc-hide span{ font-size:.85rem; font-weight:600; color:var(--ink); line-height:1.45; }
    .dc-t{ font-size:14.5px; font-weight:800; color:var(--navy); }
    .dc-f{ font-size:12.5px; color:var(--muted); margin-top:2px; }
    .dc-n{ font-size:13px; color:var(--navy); margin-top:4px; }
    .dc-act{ white-space:nowrap; }
    .dc-exp{ display:inline-block; font-size:11px; font-weight:800; border-radius:6px; padding:2px 7px; margin-left:8px; vertical-align:middle; }
    .dc-exp.ok{ background:#e6f6de; color:#3f7a1f; }
    .dc-exp.warn{ background:#fff4e6; color:#8a5312; }
    .dc-exp.bad{ background:#fdeaee; color:#a3253f; }
    .dc-form{ background:#f4f7fb; border:1px solid var(--line); border-radius:12px; padding:14px; margin-top:10px; max-width:560px; }
    .dc-form textarea.field,.dc-form input[type=file].field,.dc-form input[type=text].field{ width:100%; max-width:100%; box-sizing:border-box; }
    .paypv{ margin-top:16px; background:#f4f7fb; border:1px solid var(--line); border-radius:12px; padding:14px; }
    .py-mid[data-action=payopen]{ cursor:pointer }
    .dc-mid[data-action=docdet]{ cursor:pointer }
    .em-job.tap{ cursor:pointer }
    .em-job.tap:hover{ background:#eef2ff }
    .dc-row.open{ background:#f4f7fb }
    .py-more{ font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.4px; color:var(--royal); margin-left:10px }
    .py-row.open{ background:#f4f7fb }
    .py-det{ margin-top:10px; border-top:1px solid var(--line); padding-top:10px; max-width:460px }
    .pyd-row{ display:flex; justify-content:space-between; gap:14px; padding:5px 0; font-size:14px }
    .pyd-row span{ color:var(--muted) }
    .pyd-row b{ color:var(--ink); text-align:right }
    .paypv-h{ font-weight:800; color:var(--navy); margin-bottom:2px; }
    .paypv-sub{ font-size:13px; color:var(--muted); margin-bottom:12px; }
    .paypv-row{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:10px; }
    .paypv-l{ width:86px; font-weight:700; color:var(--navy); font-size:14px; }
    .paypv-in{ flex:1 1 200px; min-width:0; margin:0; }
    .paypv-pick{ height:36px; padding:0 14px; border-radius:10px; border:1.5px solid var(--line); background:#fff; color:var(--navy); font-weight:700; font-size:13px; cursor:pointer; }
    .paypv-pick.on{ background:var(--royal); border-color:var(--royal); color:#fff; }
    .pyw-row{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding:9px 12px; border-radius:10px; border-left:4px solid transparent; opacity:.72; }
    .pyw-row.pref{ background:#e7edff; border-left:4px solid var(--royal); box-shadow:0 1px 0 rgba(37,71,214,.12); opacity:1; padding:13px 14px; }
    .pyw-nm{ min-width:78px; color:var(--navy); }
    .pyw-row.pref .pyw-nm{ font-size:17px; }
    .pyw-row.pref .pyw-h{ font-weight:800; font-size:16px; }
    .pyw-pref{ font-size:13px; font-weight:800; letter-spacing:.2px; color:#fff; background:var(--royal); border-radius:999px; padding:5px 14px; text-transform:none; }
    .pyw-h{ color:var(--ink); }
    .paypv-row.on{ background:#e7edff; border-left:4px solid var(--royal); border-radius:10px; padding:8px 10px; margin-left:-10px; }
    .paypv-pick.on{ box-shadow:0 0 0 3px rgba(37,71,214,.18); }
    .dc-form .numstep{ display:inline-flex; margin:0 0 16px; }
    .dc-form .numstep>input.field{ width:120px; max-width:120px; margin:0; border-radius:0; text-align:right; }
    .dc-form input[type=date].field,.dc-form select.field{ width:auto; min-width:190px; }
    .ic-row{ background:#fff; border:1px solid var(--line); border-left:4px solid #e0a33c; border-radius:12px; padding:12px 14px; margin-bottom:8px; }
    .ic-top{ display:flex; align-items:center; gap:10px; font-size:14.5px; color:var(--navy); }
    .ic-d{ margin-left:auto; font-size:12.5px; color:var(--muted); }
    .ic-b{ font-size:13.5px; color:var(--navy); line-height:1.55; margin-top:5px; }
    .ic-files{ display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
    .ic-file{ border:1px solid var(--line); background:#f4f7fb; color:var(--royal); font:inherit; font-size:12.5px; font-weight:700; height:32px; padding:0 11px; border-radius:8px; cursor:pointer; }
    .ic-meta{ font-size:12px; color:var(--muted); margin-top:8px; }
    .cd-wrap{ display:grid; grid-template-columns:1fr 1fr; gap:22px; align-items:start; }
    .cd-row{ display:flex; align-items:flex-start; gap:10px; background:#fff; border:1px solid var(--line); border-radius:12px; padding:10px 12px; margin-bottom:8px; }
    .cd-row.cd-off{ background:#f7f8fb; }
    .cd-row.cd-off .cd-name{ color:var(--muted); }
    .cd-ord{ display:flex; flex-direction:column; gap:3px; }
    .cd-mv{ width:30px; height:26px; border:1px solid var(--line); background:#f4f7fb; color:var(--navy); font:inherit; font-size:12px; border-radius:7px; cursor:pointer; line-height:1; }
    .cd-mv[disabled]{ opacity:.35; cursor:default; }
    .cd-mid{ flex:1; min-width:0; }
    .cd-name{ width:100%; border:1px solid transparent; background:transparent; font-family:inherit; font-size:14.5px; font-weight:800; color:var(--navy); padding:5px 7px; border-radius:8px; min-height:36px; }
    .cd-name:hover{ border-color:var(--line); }
    .cd-name:focus{ border-color:var(--royal); background:#fff; outline:none; }
    .cd-d{ font-size:12.5px; color:var(--muted); line-height:1.5; padding:0 7px; }
    .cd-right{ display:flex; align-items:center; gap:6px; }
    .cd-x{ width:30px; height:30px; border:1px solid var(--line); background:#fff; color:#b4405a; font-size:16px; border-radius:8px; cursor:pointer; line-height:1; }
    .cd-add{ background:#f4f7fb; border:1px dashed #c4d1ee; border-radius:12px; padding:12px; margin-top:12px; }
    .cd-addt{ font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.03em; color:var(--muted); margin-bottom:9px; }
    .cd-chip{ border:1px solid var(--line); background:#fff; color:var(--navy); font:inherit; font-weight:700; font-size:13px; min-height:36px; padding:0 12px; border-radius:9px; cursor:pointer; margin:0 7px 7px 0; }
    .cd-chip i{ color:var(--muted); font-style:normal; font-size:11.5px; }
    .cd-chip:hover{ border-color:var(--royal); color:var(--royal); }
    .tm-head{ display:flex; align-items:center; gap:10px; width:100%; box-sizing:border-box; text-align:left; background:#f4f7fb; border:1px solid var(--line); border-radius:10px; padding:0 13px; height:46px; margin:20px 0 8px; font-family:inherit; font-size:14.5px; font-weight:800; color:var(--navy); cursor:pointer; }
    .tm-head.on{ background:#eef2ff; border-color:#c4d1ee; }
    .tm-head:hover{ border-color:#c4d1ee; }
    .tm-caret{ display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; border-radius:7px; background:#fff; border:1px solid var(--line); font-size:14px; line-height:1; }
    .tm-count{ margin-left:auto; background:#fff; border:1px solid var(--line); border-radius:999px; min-width:24px; height:24px; display:inline-flex; align-items:center; justify-content:center; font-size:12px; color:var(--muted); padding:0 7px; }
    .tm-sec{ font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.03em; color:var(--muted); margin:18px 0 4px; padding-top:14px; border-top:1px solid var(--line); }
    .ms-note{ background:#eef2ff; border:1px solid #c4d1ee; border-radius:13px; padding:14px 16px; font-size:13.5px; color:var(--navy); line-height:1.6; margin-bottom:18px; }
    .ms-sec2{ margin-bottom:22px; }
    .ms-sech{ display:flex; align-items:center; gap:12px; margin-bottom:10px; }
    .ms-sech h3{ margin:0; font-size:17px; font-weight:800; color:var(--navy); }
    .ms-sech h3 em{ font-style:normal; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; background:#e6f6de; color:#3f7a1f; border-radius:6px; padding:3px 7px; margin-left:7px; vertical-align:middle; }
    .ms-add{ margin-left:auto; border:0; background:#2547d6; color:#fff; font:inherit; font-weight:800; font-size:13.5px; height:40px; padding:0 17px; border-radius:11px; cursor:pointer; box-shadow:0 8px 16px -9px rgba(27,42,140,.8); }
    .ms-add:hover{ filter:brightness(1.08); }
    .ms-add.sm{ height:36px; font-size:13px; }
    .app-main.wide{ max-width:1460px; }
    .acct-wide{ max-width:none; }
    .acct-stack{ display:block; }
    .acct-stack > *{ max-width:none; }
    .wk-two{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:26px; }
    .wk{ border-radius:16px; overflow:hidden; }
    .wk-h{ display:flex; align-items:center; gap:10px; font-size:15px; font-weight:800; padding:12px 15px; }
    .wk-h.w1{ background:#2440ea; color:#fff; }
    .wk-h.w2{ background:#6aab48; color:#fff; }
    .wk-h em{ font-style:normal; font-size:10.5px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; background:rgba(255,255,255,.28); border-radius:6px; padding:4px 8px; }
    .wk-tip{ margin-left:auto; font-size:12px; font-weight:600; color:rgba(255,255,255,.9); text-align:right; line-height:1.35; }
    .wk-h.w1 .wk-add{ color:#2440ea; }
    .wk-h.w2 .wk-add{ color:#4a7d2c; }
    .wk-row{ display:grid; grid-template-columns:repeat(7,1fr); gap:5px; padding:5px; }
    .wk .wk-row{ border:2px solid; border-top:0; border-radius:0 0 16px 16px; }
    .wk-h.w1 + .wk-row{ background:#eff2ff; border-color:#a9baf5; }
    .wk-h.w2 + .wk-row{ background:#f2f9ec; border-color:#a8ce8e; }
    .wd{ display:flex; flex-direction:column; gap:5px; background:#fff; border:2px solid transparent; border-radius:11px; padding:10px 6px 12px; min-height:170px; cursor:pointer; font-family:inherit; text-align:center; overflow:hidden; }
    .wd:hover{ border-color:var(--navy); }
    .wd-n{ font-size:12px; font-weight:800; color:var(--muted); letter-spacing:.03em; }
    .wd-off{ font-size:11.5px; color:#c3cadb; margin:auto 0; }
    .wd.on{ border-color:#bcdcab; background:#fbfefa; }
    .wd.on .wd-n{ color:#4a7d2c; }
    .wd-b{ display:block; background:#eaf6e3; border:1px solid #cfe6c2; border-radius:8px; padding:6px 5px; overflow:hidden; text-align:left; }
    .wd-t{ display:block; font-size:11px; font-weight:800; color:#3a6b22; line-height:1.3; white-space:normal; overflow-wrap:normal; word-break:normal; }  /* The hours are the whole point of this chip, so they are never cut off. A day column is only 67px wide and "12:30 pm-10:30 pm" needs 103px, so it used to end in a dot dot dot and a provider could not read their own hours. It now falls onto a second line instead. wdTime() keeps each time whole and allows a break only after the dash, so it never splits as "8" then "am". Measured in the live page: every single time fits 67px and the two-line form is 30px tall inside a 170px chip. v1046. */
    .wd-a{ display:block; font-size:10px; color:#5f7a52; margin-top:3px; line-height:1.35; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
    .mc{ background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; }
    .mc-h{ display:flex; align-items:center; justify-content:center; gap:16px; padding:13px; border-bottom:1px solid var(--line); background:#f5f8ff; }
    .mc-h b{ font-size:16px; color:var(--navy); min-width:160px; text-align:center; }
    .mc-nav{ width:36px; height:36px; border:1px solid var(--line); background:#fff; border-radius:10px; font-size:18px; line-height:1; color:var(--navy); cursor:pointer; }
    .mc-dh{ display:grid; grid-template-columns:52px repeat(7,1fr); background:#f5f8ff; border-bottom:1px solid var(--line); }
    .mc-dh span{ text-align:center; font-size:11px; font-weight:800; color:var(--muted); padding:7px 0; }
    .mc-row{ display:grid; grid-template-columns:52px repeat(7,1fr); margin:4px; border-radius:10px; border:2px solid transparent; }
    .mc-row.w1{ background:#eff2ff; border-color:#a9baf5; }
    .mc-row.w2{ background:#f2f9ec; border-color:#a8ce8e; }
    .mc-wk{ display:flex; align-items:center; justify-content:center; font-size:10px; font-weight:800; letter-spacing:.02em; }
    .mc-row.w1 .mc-wk{ color:#2440ea; }
    .mc-row.w2 .mc-wk{ color:#4a7d2c; }
    .mc-d{ min-height:62px; padding:5px 6px; background:rgba(255,255,255,.72); margin:2px; border-radius:7px; }
    .mc-n{ display:block; font-size:12.5px; font-weight:700; color:var(--navy); }
    .mc-d.out{ background:rgba(255,255,255,.3); }
    .mc-d.out .mc-n{ color:#b9c1d4; font-weight:400; }
    .mc-d.today .mc-n{ background:var(--navy); color:#fff; border-radius:50%; width:22px; height:22px; line-height:22px; text-align:center; }
    .mc-d.off{ background:repeating-linear-gradient(45deg,rgba(255,255,255,.72),rgba(255,255,255,.72) 6px,rgba(180,64,90,.12) 6px,rgba(180,64,90,.12) 12px); }
    .mc-off{ display:block; font-size:9.5px; font-weight:800; color:#b4405a; margin-top:2px; }
    .mc-j{ display:block; font-size:10px; font-weight:800; background:#2440ea; color:#fff; border-radius:5px; padding:2px 5px; margin-top:3px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .ap{ min-height:100vh; background:#eef2ff; padding-bottom:14px; }
    .ap-top{ display:flex; align-items:center; gap:12px; padding:16px 20px; background:#fff; border-bottom:1px solid var(--line); position:sticky; top:0; z-index:20; }
    .ap-who{ display:flex; align-items:center; gap:11px; flex:1; min-width:0; }
    .ap-av{ width:42px; height:42px; flex:none; border-radius:50%; background:#2547d6; color:#fff; font-size:18px; font-weight:800; display:flex; align-items:center; justify-content:center; }
    .ap-logo{ background:#fff; object-fit:contain; padding:2px; box-shadow:0 1px 3px rgba(16,32,80,.14); }
    .ap-who b{ display:block; font-size:16px; color:var(--navy); }
    .ap-who i{ display:block; font-style:normal; font-size:12.5px; color:var(--muted); margin-top:1px; }
    .ap-back{ width:40px; height:40px; flex:none; border:1.5px solid var(--line); background:#fff; color:var(--navy); font-size:22px; line-height:1; border-radius:11px; cursor:pointer; }
    /* THE OFFICE TABS ARE A SECOND GROUP, NOT AN ALARM. They were amber, which now
       means something is wrong, and sitting beside the person's own tabs they read
       as a warning on every card. They are quieter than the person's own tabs and
       carry a thin rule down the left instead of a color wash. v1084. */
    /* An office tab sits in the same row as their own, so it has to read as the
       same kind of thing - same height, same radius, same weight. It is set
       apart by a thin rule and a quieter gray, never by a different color.
       Adam, 7 Sep 2026. v1084. */
    /* Office-only tabs read as office-only at a glance - amber, with a small
       lock, and a labeled divider before the first one. The old pale gray was
       almost the same as the worker's own tabs. Adam, 23 Sep 2026. v1319. */
    .ap-nav .nb.off{ color:#8a5312; background:#fdf3e6; border-color:#f0d9b8; box-shadow:none; }
    .ap-nav .nb.off .nb-l:after{ content:' \1F512'; font-size:10px; opacity:.75; }
    .ap-nav .nb.off:hover{ color:#5b370c; background:#fbe9d2; }
    .ap-nav .nb.off.on{ color:#fff; background:#b5701d; border-color:#b5701d; box-shadow:0 3px 10px rgba(181,112,29,.3); }
    .ap-nav .nb.off .nb-i{ opacity:.55; }
    /* a hair of air between what is theirs and what is ours */
    .ap-nav .nb.off:first-of-type{ margin-left:16px; padding-left:14px; border-left:3px solid #e8862e; border-top-left-radius:10px; border-bottom-left-radius:10px; }
    .ap-nav .nb.off:first-of-type:before{ content:'OFFICE ONLY'; position:absolute; top:-9px; left:10px; font-size:9px; font-weight:900;
      letter-spacing:.06em; color:#8a5312; background:#fdf3e6; border:1px solid #f0d9b8; border-radius:5px; padding:0 5px; }
    .ap-nav .nb.off{ position:relative; }
    .ap-out{ border:1.5px solid var(--line); background:#fff; color:var(--navy); font:inherit; font-weight:700; font-size:13px; height:38px; padding:0 15px; border-radius:10px; cursor:pointer; }
    .ap-out:hover{ border-color:#f0b4c2; color:#b4405a; }
    .ap-nav{ display:flex; flex-wrap:wrap; gap:5px; padding:9px 16px; background:#fff; border-bottom:1px solid var(--line); }
    .ap-nav .nb{ flex:0 0 auto; display:flex; align-items:center; gap:6px; border:1px solid transparent; border-radius:10px; background:#f4f7fb; color:#5a6379; font:inherit; font-weight:700; font-size:13px; padding:7px 11px; cursor:pointer; white-space:nowrap; transition:background .15s,color .15s,box-shadow .15s; }
    .ap-nav .nb:hover{ background:#e9eefb; color:var(--navy); }
    .ap-nav .nb .nb-i{ font-size:14px; opacity:.9; }
    .ap-nav .nb.on{ color:#fff; border-color:transparent; box-shadow:0 3px 10px rgba(37,71,214,.28);
      background-image:none;background-color:#2547d6; }
    .ap-nav .nb-i{ font-size:14px; opacity:.75; }
    .ap-bot{ display:none; }
    .reach-back{ display:none; }
    .reach-box{ display:none; }
    .apbar{ display:none; }
    .apmenu-sheet{ display:none; }
    .apmenu-back{ display:none; }
    /* phone: one menu button bottom right, the tabs open upward from it */
    .apmenu-btn{ display:none; }
    @media(max-width:760px){
      .ap-bot{ display:none !important; }
      .reach-back{ display:block !important; position:fixed; inset:0; z-index:70; background:rgba(16,32,80,.4); }
      .reach-box{ display:block !important; position:fixed; left:14px; right:14px; z-index:71; bottom:calc(14px + env(safe-area-inset-bottom,0px));
        -webkit-transform:translateZ(0); transform:translateZ(0);
        background:#fff; border-radius:22px; padding:16px; box-shadow:0 18px 50px rgba(16,32,80,.3);
        animation:apmenuIn .16s cubic-bezier(.2,.9,.3,1); }
      .reach-h{ font-size:19px; font-weight:800; color:var(--navy); text-align:center; }
      .reach-n{ font-size:14px; font-weight:700; color:var(--muted); text-align:center; margin:2px 0 14px; }
      .reach-b{ display:block; width:100%; height:52px; border:none; border-radius:15px; font:inherit; font-weight:800; font-size:16px; margin-bottom:8px; cursor:pointer; }
      .reach-b.call{ background:#2f7d18; color:#fff; }
      .reach-b.text{ background:#2547d6; color:#fff; }
      .reach-b.cancel{ background:#f1f4fb; color:#5a6379; margin-bottom:0; }
      .apbar{
        display:flex !important; position:fixed; left:12px; right:12px; z-index:60;
        bottom:calc(12px + env(safe-area-inset-bottom,0px));
        padding:6px; gap:6px; border-radius:20px;
        /* solid, and on its own layer - a blurred fixed bar drifts while you scroll on a phone */
        background:#ffffff;
        border:1px solid #e6eaf3;
        box-shadow:0 8px 28px rgba(16,32,80,.16), 0 1px 0 rgba(16,32,80,.05);
        -webkit-transform:translateZ(0); transform:translateZ(0);
        -webkit-backface-visibility:hidden; backface-visibility:hidden;
        will-change:transform;
      }
      .apbar a,.apbar button{
        flex:1 1 0; min-width:0; height:46px; border:none; border-radius:15px;
        display:flex; align-items:center; justify-content:center; gap:6px;
        font:inherit; font-weight:800; font-size:13.5px; letter-spacing:-.2px; padding:0 4px;
        text-decoration:none; cursor:pointer; color:#fff;
        background-image:none;background-color:#2547d6;
        background-size:calc(300% + 12px) 100%;
        background-repeat:no-repeat;
        box-shadow:0 3px 10px rgba(16,32,80,.2);
      }
      .apbar > *:nth-child(1){ background-position:0% center; }
      .apbar > *:nth-child(2){ background-position:33% center; }
      .apbar > *:nth-child(3){ background-position:66% center; }
      .apbar > *:nth-child(4){ background-position:100% center; }
      .apbar:has(> *:nth-child(4)){ background-size:0; }
      .apbar:has(> *:nth-child(4)) > *{ background-size:calc(400% + 18px) 100%; }
      .apbar a:active,.apbar button:active{ transform:translateY(1px); }
      .apwrap{ padding-bottom:calc(96px + env(safe-area-inset-bottom,0px)); }
    .ern{ display:grid; grid-template-columns:1fr 1fr; gap:9px; }
    .ern-c{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:12px 13px; }
    .ern-c.wide{ grid-column:1 / -1; background:#16246b; border:none; }
    .ern-c span{ display:block; font-size:11.5px; font-weight:800; letter-spacing:.3px; text-transform:uppercase; color:var(--muted); }
    .ern-c b{ display:block; font-size:21px; font-weight:800; color:var(--navy); margin-top:3px; line-height:1.1; }
    .ern-c.wide span{ color:rgba(255,255,255,.86); }
    .ern-c.wide b{ color:#fff; font-size:27px; }
      .apmenu-sheet{
        display:flex !important;
        position:fixed; right:12px; left:auto; width:min(300px,82vw); bottom:calc(74px + env(safe-area-inset-bottom,0px)); z-index:61;
        display:flex; flex-direction:column; align-items:stretch; gap:4px;
        background:#ffffff;
        border:1px solid #e6eaf3; border-radius:22px;
        -webkit-transform:translateZ(0); transform:translateZ(0);
        padding:7px; max-height:64vh; overflow:auto;
        box-shadow:0 18px 50px rgba(16,32,80,.26), 0 2px 0 rgba(16,32,80,.04);
        transform-origin:bottom right;
        animation:apmenuIn .16s cubic-bezier(.2,.9,.3,1);
      }
      @keyframes apmenuIn{ from{ opacity:0; transform:translateY(10px) scale(.97) } to{ opacity:1; transform:none } }
      .apmenu-sheet .nb{
        display:flex; align-items:center; gap:11px; flex-direction:row-reverse; justify-content:flex-start; text-align:right;
        width:100%; min-height:50px; padding:0 14px; border-radius:15px;
        border:none; background:transparent; font:inherit; font-weight:700; font-size:15.5px;
        color:var(--navy); cursor:pointer; position:relative;
      }
      .apmenu-sheet .nb .nb-l{ margin-right:auto; }
      .apmenu-sheet .nb + .nb{ box-shadow:inset 0 1px 0 rgba(16,32,80,.06); }
      .apmenu-sheet .nb .nb-i{
        width:34px; height:34px; flex:0 0 34px; border-radius:11px;
        display:flex; align-items:center; justify-content:center; font-size:16px;
        background:#eef2ff; color:var(--royal); box-shadow:none;
      }
      .apmenu-sheet .nb.on{
        color:#fff; box-shadow:0 3px 12px rgba(37,71,214,.3);
        background-image:none;background-color:#2547d6;
      }
      .apmenu-sheet .nb.on .nb-i{ background:rgba(255,255,255,.24); color:#fff; }
      .apmenu-sheet .nb.on::after{ content:''; position:absolute; left:8px; top:50%; transform:translateY(-50%); width:4px; height:22px; border-radius:99px; background:rgba(255,255,255,.85); }
      .apmenu-sheet .nb.off{ color:#5a6379; box-shadow:inset 3px 0 0 var(--navy); }
      .apmenu-sheet .nb.off .nb-i{ background:#eef2fb; color:#5f6a80; }
      .apmenu-sheet .nb:not(.on):active{ background:#f1f4fb; }
      .apmenu-back{ display:block !important; position:fixed; inset:0; z-index:59; background:rgba(16,32,80,.34);
        animation:apmenuFade .16s ease; }
      @keyframes apmenuFade{ from{ opacity:0 } to{ opacity:1 } }
    }

    .ap-body{ max-width:1080px; margin:0 auto; padding:22px 20px 40px; }
    .ap-body.wide{ max-width:1460px; }
    .ru-g{ margin-bottom:26px; width:100%; }
    .ru-g h3{ font-size:12.5px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); margin:0 0 10px; }
    .ru-q{ background:#fff; border:1.5px solid var(--line); border-radius:14px; padding:15px 17px; margin-bottom:10px; max-width:720px; }
    .ru-t{ font-size:15.5px; font-weight:700; color:var(--navy); margin-bottom:11px; }
    .ru-o{ display:flex; gap:7px; flex-wrap:wrap; }
    .ru-b{ border:1.5px solid var(--line); background:#f5f8ff; color:var(--navy); font:inherit; font-weight:700; font-size:13.5px; min-height:40px; padding:0 15px; border-radius:10px; cursor:pointer; }
    .ru-b:hover{ border-color:#b9c4f2; }
    .ru-b.on{ background:#2547d6; border-color:transparent; color:#fff; }
    .ru-note{ font-size:12.5px; color:var(--muted); margin-top:11px; line-height:1.5; }
    .rf{ margin-top:14px; padding-top:14px; border-top:1px solid var(--line); }
    .rf-head{ display:grid; grid-template-columns:1fr 86px 86px; gap:10px; font-size:10.5px; font-weight:800; text-transform:uppercase; letter-spacing:.03em; color:var(--muted); margin-bottom:6px; }
    .rf-head span:not(:first-child){ text-align:center; }
    .rf-r{ display:grid; grid-template-columns:1fr 86px 86px; gap:10px; align-items:center; padding:3px 0; }
    .rf-n{ font-size:13.5px; color:var(--navy); }
    .rf-w{ position:relative; display:block; }
    .rf-w i{ position:absolute; right:9px; top:50%; transform:translateY(-50%); font-style:normal; font-size:12px; color:var(--muted); pointer-events:none; }
    .rf-w i.pre{ right:auto; left:9px; }
    .rf-i{ width:100%; box-sizing:border-box; height:34px; padding:0 22px 0 9px; border:1.5px solid var(--line); border-radius:8px; font-family:inherit; font-size:14px; text-align:center; background:#f5f8ff; color:var(--navy); }
    .rf-w i.pre + .rf-i{ padding:0 9px 0 20px; }
    .rf-i:focus{ outline:none; border-color:var(--royal); background:#fff; }
    .ts-total{ background:#eef2ff; border:1px solid #d3ddff; color:#16246b; border-radius:10px; padding:9px 14px; font-weight:800; font-size:.87rem; margin-bottom:12px; }
    .ts-job{ margin-left:auto; font-size:.8rem; color:var(--muted); font-weight:700; }
    .ts-d{ background:#fff; border:1.5px solid var(--line); border-radius:13px; padding:12px 15px; margin-bottom:9px; }
    .ts-h{ display:flex; align-items:baseline; margin-bottom:8px; }
    .ts-h b{ font-size:14.5px; color:var(--navy); }
    .ts-h span{ margin-left:auto; font-size:14px; font-weight:800; color:var(--royal); }
    .ts-r{ display:flex; align-items:center; gap:11px; padding:6px 0; border-top:1px solid #f2f4f9; font-size:13.5px; }
    .ts-k{ font-size:11px; font-weight:800; border-radius:6px; padding:3px 9px; }
    .ts-k.in{ background:#eaf6e3; color:#3a6b22; }
    .ts-k.out{ background:#f1f3f9; color:#6b7590; }
    .ts-t{ color:var(--navy); font-weight:700; }
    .ts-loc{ margin-left:auto; font-size:12.5px; color:var(--royal); }
    .ts-act{ margin-left:auto; display:flex; gap:8px; }
  .ts-noloc{ margin-left:auto; font-size:12.5px; color:#b9c1d4; }
    @media (max-width:560px){ .rf-head, .rf-r{ grid-template-columns:1fr 70px 70px; } }
    .rq-list, .tl-list{ }
    /* First cleaning follow-up */
    .fcf-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:14px; }
    .fcf-f{ margin-bottom:11px; }
    .fcf-f label{ display:block; font-size:.68rem; font-weight:900; letter-spacing:.07em; text-transform:uppercase; color:var(--muted); margin-bottom:4px; }
    .fcf-in{ width:100%; box-sizing:border-box; border:1px solid var(--line); border-radius:9px; height:36px; padding:0 10px; font:inherit; font-size:.86rem; background:#fff; color:var(--ink); }
    .fcf-ta{ height:auto; min-height:62px; padding:8px 10px; }
    .fcf-sec{ background:#fff; border:1px solid var(--line); border-left:4px solid var(--royal); border-radius:11px; padding:14px 16px; margin-bottom:12px; box-shadow:0 1px 3px rgba(20,36,107,.05); }
    .fcf-sec.fcf-rep{ border-left-color:#43b929; background:#f6fdf4; }
    .fcf-sec.fcf-out{ border-left-color:#2547d6; background:#f5f8ff; }
    .fcf-h{ display:flex; align-items:center; gap:9px; margin-bottom:11px; }
    .fcf-n{ width:24px; height:24px; border-radius:50%; background:var(--royal); color:#fff; display:flex; align-items:center; justify-content:center; font-size:.78rem; font-weight:900; }
    .fcf-h b{ font-size:.97rem; color:var(--navy); }
    .fcf-lead{ font-size:.86rem; color:var(--ink); margin:0 0 11px; line-height:1.6; }
    .fcf-script{ border-left:3px solid #43b929; background:#fff; border-radius:0 9px 9px 0; padding:9px 13px; margin-bottom:9px; }
    .fcf-script em{ display:block; font-style:normal; font-size:.65rem; font-weight:900; letter-spacing:.09em; text-transform:uppercase; color:#3aa02a; margin-bottom:3px; }
    .fcf-script span{ font-size:.86rem; line-height:1.6; color:var(--ink); }
    .fcf-checks{ margin-bottom:11px; }
    .fcf-check{ display:flex; align-items:flex-start; gap:9px; width:100%; text-align:left; border:none; background:transparent; font:inherit; padding:5px 0; cursor:pointer; }
    .fcf-check i{ width:19px; height:19px; flex:0 0 auto; border:2px solid var(--line); border-radius:5px; background:#fff; color:#fff; font-style:normal; font-size:12px; font-weight:900; display:flex; align-items:center; justify-content:center; margin-top:1px; }
    .fcf-check.on i{ background:#43b929; border-color:#43b929; }
    .fcf-check span{ font-size:.87rem; color:var(--ink); line-height:1.5; }
    .fcf-pills{ display:flex; gap:7px; flex-wrap:wrap; }
    .fcf-pill{ border:1px solid var(--line); background:#fff; border-radius:8px; padding:6px 13px; font:inherit; font-size:.8rem; font-weight:800; color:var(--muted); cursor:pointer; }
    .fcf-pill.ok.on{ background:#edfbe6; border-color:#a8dd93; color:#3aa02a; }
    .fcf-pill.warn.on{ background:#fff5e6; border-color:#f0c98a; color:#b5651d; }
    .fcf-pill.no.on{ background:#fdecec; border-color:#f0b4b1; color:#b5342f; }
    .fcf-pill.on{ background:#eef2ff; border-color:#c3d0ff; color:var(--royal); }
    .fcf-foot{ display:flex; align-items:center; gap:12px; justify-content:flex-end; margin-top:16px; }
    .fcf-save{ border:none; background:var(--royal); color:#fff; border-radius:11px; height:42px; padding:0 26px; font:inherit; font-weight:800; font-size:.92rem; cursor:pointer; }
    .fcf-msg{ font-size:.85rem; font-weight:700; color:#3aa02a; }
    .fcf-saved{ background:#edfbe6; border:1px solid #a8dd93; color:#3aa02a; border-radius:10px; padding:9px 14px; font-weight:700; font-size:.86rem; margin-bottom:14px; }
    .ob-dup{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; background:#fff5e6; border-top:1px solid #f0c98a; padding:9px 15px; font-size:.83rem; color:#7a5a1e; }
    .ob-dup b{ color:#b5651d; }
    @media(max-width:760px){ .fcf-grid{ grid-template-columns:1fr; } }
    /* Onboarding */
    .ob-tiles{ display:flex; gap:8px; flex-wrap:wrap; margin:0 0 12px; }
    .ob-tile{ border:1px solid var(--line); background:#fff; border-radius:11px; padding:9px 15px; font:inherit; cursor:pointer; text-align:center; min-width:78px; }
    .ob-tile b{ display:block; font-size:1.35rem; font-weight:900; color:var(--royal); line-height:1.1; }
    .ob-tile span{ display:block; font-size:.72rem; font-weight:800; color:var(--muted); margin-top:2px; }
    .ob-tile.on{ background:var(--royal); border-color:var(--royal); }
    .ob-tile.on b, .ob-tile.on span{ color:#fff; }
    .ob-bar2{ display:flex; gap:8px; flex-wrap:wrap; align-items:center; margin:0 0 14px; }
    .ob-spacer{ flex:1 1 auto; }
    .ob-sel{ border:1px solid var(--line); background:#fff; border-radius:9px; height:36px; padding:0 10px; font:inherit; font-size:.84rem; color:var(--ink); }
    .ob-add{ border:none; background:var(--royal); color:#fff; border-radius:9px; height:36px; padding:0 16px; font:inherit; font-weight:800; font-size:.84rem; cursor:pointer; }
    .ob-cbband{ display:flex; align-items:center; gap:9px; background:#fff8e6; border:1px solid #f3ddb8; border-radius:11px; padding:9px 15px; margin:0 0 10px; }
    .ob-cbt{ font-weight:900; font-size:.8rem; letter-spacing:.06em; color:#b5651d; }
    .ob-cbn{ background:#f3ddb8; color:#7a5a1e; border-radius:20px; padding:1px 9px; font-size:.75rem; font-weight:800; }
    .ob-group{ font-size:.7rem; font-weight:900; letter-spacing:.11em; color:var(--muted); margin:16px 0 8px; }
    .ob-card.pin{ border-left:4px solid #e8a33d; }
    .ob-head{ display:flex; align-items:flex-start; gap:13px; padding:13px 15px 9px; }
    .ob-who{ flex:1 1 auto; min-width:0; }
    .ob-who b{ display:block; font-size:1.02rem; color:var(--navy); }
    .ob-who i{ display:block; font-style:normal; font-size:.83rem; color:var(--muted); margin-top:1px; }
    .ob-chips{ display:flex; gap:6px; flex-wrap:wrap; margin-top:6px; }
    .ob-chip{ background:#eef1f8; color:var(--muted); border-radius:6px; padding:2px 8px; font-size:.72rem; font-weight:800; }
    .ob-chip.src{ background:#eaf0ff; color:#2547d6; }
    .ob-chip.svc{ background:#e9f7e4; color:#3aa02a; }
    .ob-cb{ display:flex; align-items:center; gap:4px; background:#f4f6fb; border-radius:8px; padding:3px 6px; flex:0 0 auto; }
    .ob-cb.due{ background:#fdecec; }
    .ob-cb em{ font-style:normal; font-size:.68rem; font-weight:900; color:var(--muted); }
    .ob-cb input{ border:none; background:transparent; font:inherit; font-size:.82rem; font-weight:700; color:var(--ink); width:112px; }
    .ob-cb.due input{ color:#b5342f; }
    .ob-x{ border:none; background:transparent; color:var(--muted); font-size:15px; cursor:pointer; line-height:1; }
    .ob-arrow{ border:none; background:transparent; color:var(--royal); font-size:14px; cursor:pointer; flex:0 0 auto; padding:4px 6px; }
    .ob-bar{ display:flex; gap:5px; padding:0 15px 13px; }
    .ob-seg{ flex:1; text-align:center; }
    .ob-seg i{ display:block; height:4px; border-radius:3px; background:#e6eaf5; margin-bottom:4px; }
    .ob-seg.on i{ background:var(--royal); }
    .ob-seg b{ font-size:.62rem; font-weight:800; color:var(--muted); }
    .ob-seg.on b{ color:var(--royal); }
    .ob-kvs{ background:#fff; border:1px solid var(--line); border-radius:10px; padding:4px 13px; margin-bottom:14px; }
    .ob-kv{ display:flex; gap:14px; padding:6px 0; border-bottom:1px solid #f2f4fa; font-size:.86rem; }
    .ob-kv:last-child{ border-bottom:none; }
    .ob-kv span{ width:96px; flex:0 0 auto; color:var(--muted); font-weight:700; }
    .ob-kv b{ font-weight:700; color:var(--ink); }
    .ob-lab{ font-size:.68rem; font-weight:900; letter-spacing:.11em; text-transform:uppercase; color:var(--royal); margin:0 0 8px; }
    .ob-tiny{ font-weight:600; text-transform:none; letter-spacing:0; color:var(--muted); }
    .ob-out{ display:flex; gap:7px; flex-wrap:wrap; margin-bottom:14px; }
    .ob-ob{ border:1px solid var(--line); background:#fff; border-radius:9px; height:34px; padding:0 13px; font:inherit; font-weight:800; font-size:.8rem; color:var(--muted); cursor:pointer; }
    .ob-ob.on{ background:#edfbe6; border-color:#a8dd93; color:#3aa02a; }
    .ob-foot{ display:flex; gap:7px; flex-wrap:wrap; align-items:center; margin-top:14px; }
    .ob-done{ background:#edfbe6; color:#3aa02a; border-radius:9px; padding:8px 13px; font-weight:800; font-size:.8rem; }
    .ob-onb.off{ opacity:.45; cursor:default; }
    /* the windows */
    .obw{ background:#fff; border-radius:16px; width:100%; max-width:720px; max-height:88vh; display:flex; flex-direction:column; box-shadow:0 20px 60px rgba(16,22,40,.35); }
    .obw-h{ display:flex; align-items:center; justify-content:space-between; padding:15px 20px; border-bottom:1px solid var(--line); }
    .obw-h b{ font-size:1.02rem; color:var(--navy); }
    .obw-x{ border:none; background:transparent; font-size:22px; line-height:1; color:var(--muted); cursor:pointer; }
    .obw-b{ padding:16px 20px; overflow:auto; }
    .obw-f{ display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; padding:13px 20px; border-top:1px solid var(--line); background:#fbfcff; border-radius:0 0 16px 16px; }
    .obw-txt{ width:100%; box-sizing:border-box; min-height:190px; border:1px solid var(--line); border-radius:10px; padding:12px; font:inherit; font-size:.88rem; line-height:1.6; background:#f5f8ff; color:var(--ink); }
    .obw-rem{ background:#eef2ff; border:1px solid #d3ddff; border-radius:11px; padding:13px 16px; margin-bottom:16px; font-size:.85rem; color:#1b2440; }
    .obw-rem b{ color:var(--navy); }
    .obw-rem em{ font-style:normal; font-size:.76rem; color:var(--muted); }
    .obw-rem ul{ margin:8px 0 0; padding-left:18px; line-height:1.65; }
    .obw-q{ margin-bottom:14px; }
    .obw-q p{ margin:0 0 7px; font-weight:800; font-size:.9rem; color:var(--navy); }
    .obw-opts{ display:flex; gap:6px; flex-wrap:wrap; margin-bottom:7px; }
    .obw-op{ border:1px solid var(--line); background:#fff; border-radius:7px; padding:5px 11px; font:inherit; font-size:.78rem; font-weight:800; cursor:pointer; }
    .obw-op.good{ color:#3aa02a; }
    .obw-op.bad{ color:#b5342f; }
    .obw-op.good.on{ background:#edfbe6; border-color:#a8dd93; }
    .obw-op.bad.on{ background:#fdecec; border-color:#f0b4b1; }
    .obw-hint{ font-size:.78rem; color:#b5651d; font-weight:700; margin-bottom:7px; }
    .obw-m{ margin-bottom:11px; }
    .obw-m label{ display:block; font-size:.7rem; font-weight:900; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); margin-bottom:4px; }
    .obw-copy{ background:#f4f6fb; border:1px solid var(--line); border-radius:8px; padding:8px 11px; font-size:.86rem; font-weight:700; color:var(--ink); word-break:break-all; }
    .obw-lock{ background:#fff8ec; border:1px solid #f3ddb8; border-radius:9px; padding:10px 13px; font-size:.83rem; color:#7a5a1e; font-weight:700; }
    @media(max-width:760px){ .ob-bar{ display:none; } .ob-head{ flex-wrap:wrap; } .ob-tile{ min-width:64px; padding:8px 11px; } }

    .ob-tabs{ display:flex; gap:6px; flex-wrap:wrap; margin:0 0 14px; }
    .ob-tab{ border:1px solid var(--line); background:#fff; border-radius:9px; padding:8px 14px; font:inherit; font-weight:800; font-size:.86rem; color:var(--muted); cursor:pointer; }
    .ob-tab.on{ background:var(--royal); border-color:var(--royal); color:#fff; }
    .ob-n{ opacity:.75; font-weight:700; margin-left:6px; }
    .ob-tools{ display:flex; gap:8px; flex-wrap:wrap; margin:0 0 14px; }
    .ob-tool{ border:1px solid var(--line); background:#fff; border-radius:9px; height:36px; padding:0 14px; font:inherit; font-weight:800; font-size:.83rem; color:var(--royal); cursor:pointer; }
    .ob-msg{ background:#eef2ff; border:1px solid #d3ddff; color:#16246b; border-radius:10px; padding:10px 14px; font-weight:700; font-size:.87rem; margin:0 0 12px; }
    .ob-card{ background:#fff; border:1px solid var(--line); border-radius:14px; margin-bottom:12px; overflow:hidden; }
    .ob-row{ display:flex; align-items:center; gap:14px; padding:14px 16px; }
    .ob-av{ width:38px; height:38px; border-radius:50%; background:#eef2ff; color:var(--navy); display:flex; align-items:center; justify-content:center; font-weight:900; flex:0 0 auto; }
    .ob-who{ flex:1 1 auto; min-width:0; }
    .ob-who b{ display:block; font-size:1rem; color:var(--navy); }
    .ob-who i{ display:block; font-style:normal; font-size:.82rem; color:var(--muted); margin-top:2px; }
    .ob-pill{ display:inline-block; background:#f2f5ff; color:var(--navy); border-radius:20px; padding:2px 9px; font-size:.7rem; font-weight:800; margin-left:6px; vertical-align:2px; }
    .ob-steps{ display:flex; gap:5px; align-items:center; flex:0 0 auto; }
    .ob-st{ width:32px; text-align:center; }
    .ob-st i{ display:block; width:11px; height:11px; border-radius:50%; background:#e2e7f3; margin:0 auto 4px; }
    .ob-st.done i{ background:#43b929; }
    .ob-st.now i{ background:#fff; border:3px solid #43b929; width:13px; height:13px; margin-bottom:2px; }
    .ob-st b{ display:block; font-size:.58rem; font-weight:800; color:var(--muted); }
    .ob-st.done b, .ob-st.now b{ color:#3aa02a; }
    .ob-go{ border:1px solid var(--line); background:#fff; border-radius:9px; height:34px; padding:0 14px; font:inherit; font-weight:800; font-size:.82rem; color:var(--royal); cursor:pointer; flex:0 0 auto; }
    .ob-go.p{ background:var(--royal); border-color:var(--royal); color:#fff; }
    .ob-none{ color:var(--muted); font-size:.9rem; }
    .ob-panel{ border-top:1px solid var(--line); padding:16px; background:#fbfcff; }
    .ob-sec{ font-size:.68rem; font-weight:900; letter-spacing:.11em; text-transform:uppercase; color:var(--muted); margin:0 0 8px; }
    .ob-btns{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:16px; }
    .ob-b{ border:1px solid var(--line); background:#fff; border-radius:9px; height:34px; padding:0 13px; font:inherit; font-weight:800; font-size:.8rem; color:var(--muted); cursor:pointer; }
    .ob-b.on{ background:#edfbe6; border-color:#a8dd93; color:#3aa02a; }
    .ob-q{ background:#fff; border:1px solid var(--line); border-radius:10px; padding:11px 13px; margin-bottom:8px; }
    .ob-q p{ margin:0 0 7px; font-weight:800; font-size:.86rem; color:var(--navy); }
    .ob-opts{ display:flex; gap:6px; flex-wrap:wrap; }
    .ob-op{ border:1px solid var(--line); background:#fff; border-radius:7px; padding:5px 10px; font:inherit; font-size:.78rem; font-weight:700; color:var(--muted); cursor:pointer; }
    .ob-op.ok{ background:#edfbe6; border-color:#a8dd93; color:#3aa02a; }
    .ob-op.no{ background:#fdecec; border-color:#f0b4b1; color:#b5342f; }
    .ob-hint{ font-size:.76rem; color:#b5651d; margin-top:7px; font-weight:700; }
    .ob-in{ width:100%; box-sizing:border-box; border:1px solid var(--line); border-radius:9px; height:36px; padding:0 10px; font:inherit; font-size:.85rem; background:#fff; color:var(--ink); }
    .ob-notes{ height:auto; min-height:72px; padding:9px 10px; }
    .ob-two{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
    .ob-onb{ border:none; background:var(--royal); color:#fff; border-radius:11px; height:42px; padding:0 22px; font:inherit; font-weight:800; font-size:.92rem; cursor:pointer; margin-top:6px; }
    .ob-note{ background:#fff8ec; border:1px solid #f3ddb8; border-radius:10px; padding:11px 13px; font-size:.82rem; color:#7a5a1e; margin-top:10px; }
    .ob-note.ok{ background:#edfbe6; border-color:#a8dd93; color:#3aa02a; }
    @media(max-width:760px){ .ob-steps{ display:none; } .ob-two{ grid-template-columns:1fr; } .ob-row{ flex-wrap:wrap; } }
    .rq-l{ display:flex; flex-wrap:wrap; align-items:center; gap:12px; width:100%; box-sizing:border-box; background:#fff; border:1px solid var(--line); border-radius:12px; padding:11px 14px; margin-bottom:7px; }
    .rq-mid{ flex:1 1 auto; min-width:0; }
    .rq-note{ flex:1 1 100%; order:9; }
    .rq-av{ width:36px; height:36px; flex:none; border-radius:50%; background:#eef2ff; color:var(--royal); font-weight:800; font-size:15px; display:flex; align-items:center; justify-content:center; }
    .rq-mid{ flex:1; min-width:0; }
    .rq-who{ display:block; font-size:14.5px; font-weight:800; color:var(--navy); }
    .rq-who em{ font-style:normal; font-size:11px; font-weight:700; color:var(--muted); background:#f1f3f9; border-radius:6px; padding:2px 7px; margin-left:8px; }
    .rq-sum{ display:block; font-size:12.5px; color:var(--muted); margin-top:2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .rq-when{ font-size:12px; color:var(--muted); white-space:nowrap; }
    .ca-st{ font-size:13px; font-weight:700; color:var(--muted); margin-bottom:8px; }
    .ca-sws{ display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:8px; margin-top:10px; }
    .ca-sw{ display:flex; gap:9px; align-items:flex-start; border:1px solid var(--line); border-radius:11px; padding:9px 11px; background:#fff; cursor:pointer; }
    .ca-sw.on{ border-color:#bcd0ff; background:#f5f8ff; }
    .ca-sw input{ margin-top:3px; }
    .ca-sw b{ display:block; font-size:13.5px; color:var(--navy); }
    .ca-sw i{ display:block; font-style:normal; font-size:12px; color:var(--muted); }
    .rq-more{ border:1.5px solid var(--line); background:#fff; color:var(--royal); font:inherit; font-weight:700; font-size:13px; height:38px; padding:0 15px; border-radius:10px; cursor:pointer; margin:14px 0 10px; }
    .rq-l.rq-old{ opacity:.72; background:#f5f8ff; }
    .rq-done{ font-size:11.5px; font-weight:800; border-radius:7px; padding:5px 10px; white-space:nowrap; }
    .rq-done.ok{ background:#eaf6e3; color:#3a6b22; }
    .rq-done.no{ background:#f1f3f9; color:#8b93a8; }
    .rq-btns{ display:flex; gap:6px; }
.rq-ok{ display:block; margin:12px 0; padding:13px 15px; border-radius:12px; background:#e9f8e4; border:1.5px solid #9fdc8a; color:#2f6b1c; font-size:14.5px; font-weight:900; }
.rq-danger{ background:#b5342f !important; border-color:#b5342f !important; color:#fff !important; }
    /* the Approve button borrowed the message style above, so it gets its own */
    button.rq-ok{ display:inline-flex; align-items:center; justify-content:center; margin:0; height:36px; padding:0 16px; border-radius:9px; font:inherit; font-size:13px; font-weight:800; line-height:1; cursor:pointer; }
    button.rq-ok[disabled]{ opacity:.6; cursor:default; }
    .rq-no{ border:1.5px solid var(--line); background:#fff; color:var(--muted); font:inherit; font-weight:700; font-size:13px; height:36px; padding:0 13px; border-radius:9px; cursor:pointer; }
    .rq-note{ box-sizing:border-box; margin-top:2px; border:1px solid var(--line); background:#fff; color:var(--ink); font:inherit; font-size:13px; height:36px; padding:0 11px; border-radius:9px; }
    .rq-note:focus{ outline:2px solid #c9d4ff; border-color:var(--royal); }
    .rq-no:hover{ border-color:#f0b4c2; color:#b4405a; }
    .tl-r{ display:flex; align-items:center; gap:10px; width:100%; box-sizing:border-box; background:#fff; border:1px solid var(--line); border-radius:11px; padding:0 12px 0 0; margin-bottom:6px; }
    .tl-r:hover{ border-color:#c4d1ee; }
    .tl-main{ flex:1; min-width:0; display:grid; grid-template-columns:36px 1fr; grid-template-rows:auto auto; column-gap:12px; row-gap:1px; align-items:center; background:none; border:0; text-align:left; padding:10px 0 10px 13px; cursor:pointer; font-family:inherit; }
    .tl-av{ grid-row:1/3; width:36px; height:36px; border-radius:50%; background:#eef2ff; color:var(--royal); font-weight:800; font-size:15px; display:flex; align-items:center; justify-content:center; }
    .tl-nm{ font-size:14.5px; font-weight:800; color:var(--navy); line-height:1.25; }
    .tl-nm em{ font-style:normal; font-size:10.5px; font-weight:800; border-radius:6px; padding:2px 7px; margin-left:7px; }
    .tl-warn{ background:#fdeaee !important; color:#a3253f !important; }
    .tl-sub{ font-size:12.5px; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; line-height:1.25; }
    .tl-acts{ display:flex; align-items:center; gap:4px; }
    .tl-a{ border:0; background:none; color:var(--royal); font:inherit; font-weight:700; font-size:12.5px; height:34px; padding:0 10px; border-radius:8px; cursor:pointer; white-space:nowrap; }
    .tl-a:hover{ background:#eef2ff; }
    .tl-a.del{ color:#b4405a; }
    .tl-a.del:hover{ background:#fdeaee; }
    .tl-ar{ font-size:18px; color:#c4d1ee; padding-left:2px; }
    @media (max-width:760px){
      .rq-l{ flex-wrap:wrap; }
      .rq-when{ display:none; }
      .rq-btns{ flex-basis:100%; }
      .rq-ok, .rq-no{ flex:1; }
      .tl-r{ flex-wrap:wrap; padding-right:0; }
      .tl-main{ flex-basis:100%; padding-right:14px; }
      .tl-acts{ flex-basis:100%; border-top:1px solid var(--line); padding:2px 8px; }
      .tl-a{ flex:1; }
      .tl-ar{ display:none; }
    }
    .th-hero{ border-radius:18px; padding:22px 24px; margin-bottom:20px; color:#fff; }
    .th-hero.on{ background:#2547d6; }
    .th-hero.rest{ background:#7d92c9; }
    .th-k{ display:block; font-size:11.5px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; opacity:.8; }
    .th-hero b{ display:block; font-size:28px; font-weight:800; margin-top:5px; line-height:1.15; }
    .th-hero i{ display:block; font-style:normal; font-size:14px; opacity:.9; margin-top:6px; }
    .th-sec{ margin-bottom:20px; }
    .th-sec > b{ display:block; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); margin-bottom:10px; }
    .th-empty{ background:#fff; border:1px dashed var(--line); border-radius:13px; padding:18px; font-size:13.5px; color:var(--muted); line-height:1.55; }
    .th-n{ display:block; width:100%; text-align:left; background:#fff; border:1.5px solid var(--line); border-radius:13px; padding:13px 15px; margin-bottom:8px; cursor:pointer; font-family:inherit; }
    .th-n:hover{ border-color:var(--royal); }
    .th-nd{ display:block; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.03em; color:var(--royal); }
    .th-ns{ display:block; font-size:16px; font-weight:800; color:var(--navy); margin-top:2px; }
    .th-na{ display:block; font-size:13px; color:var(--muted); margin-top:2px; }
    .sv-list{ margin-top:4px; }
    .sv-r{ display:flex; align-items:center; gap:12px; background:#fff; border:1.5px solid var(--line); border-radius:13px; padding:13px 15px; margin-bottom:8px; }
    .sv-r.on{ border-color:#cfe6c2; background:#fbfefa; }
    .sv-n{ flex:1; font-size:15px; font-weight:700; color:var(--navy); }
    .sv-p{ font-size:11.5px; font-weight:800; border-radius:7px; padding:5px 10px; white-space:nowrap; }
    .sv-p.ok{ background:#eaf6e3; color:#3a6b22; }
    .sv-p.ask{ background:#fff4e6; color:#8a5312; }
    .sv-p.no{ background:#f1f3f9; color:#8b93a8; }
    @media (max-width:760px){
      .ap{ padding-bottom:112px; }
      .ap-top{ padding:13px 16px; }
      .ap-nav{ display:none; }
      .ap-body{ padding:16px 14px 40px; }
      .ap-bot{ display:flex; position:fixed; left:0; right:0; bottom:0; z-index:40; background:#fff; border-top:1px solid var(--line); padding:7px 4px calc(11px + env(safe-area-inset-bottom)); box-shadow:0 -6px 20px rgba(22,36,107,.08); overflow-x:auto; }
      .ap-bot .nb{ flex:1 0 auto; min-width:62px; max-width:96px; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:3px; border:0; background:none; color:var(--muted); font:inherit; padding:7px 5px; cursor:pointer; border-radius:10px; }
      .ap-bot .nb.on{ color:var(--royal); background:#eef2ff; }
      .ap-bot .nb-i{ font-size:17px; line-height:1; }
      .ap-bot .nb-l{ font-size:9.5px; font-weight:700; line-height:1.15; text-align:center; max-width:80px; }
      .sv-r{ flex-wrap:wrap; }
      .sv-n{ flex-basis:100%; }
    }
    .sch-h{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding:12px 14px; border-bottom:1px solid var(--line); background:#f5f8ff; }
    .sch-h b{ font-size:15.5px; color:var(--navy); flex:1; min-width:130px; text-align:center; }
    .sch-seg{ display:inline-flex; background:#fff; border:1px solid var(--line); border-radius:10px; padding:3px; gap:2px; }
    .sch-sb{ border:0; background:transparent; color:var(--muted); font:inherit; font-weight:700; font-size:12.5px; height:32px; padding:0 13px; border-radius:8px; cursor:pointer; }
    .sch-sb.on{ background:var(--royal); color:#fff; }
    .sch-today{ border:1px solid var(--line); background:#fff; color:var(--navy); font:inherit; font-weight:700; font-size:12.5px; height:36px; padding:0 13px; border-radius:9px; cursor:pointer; }
    .sw-wk{ font-size:11.5px; font-weight:800; letter-spacing:.04em; padding:7px 14px; }
    .sw-wk.w1{ background:#eff2ff; color:#2440ea; border-bottom:2px solid #a9baf5; }
    .sw-wk.w2{ background:#f2f9ec; color:#4a7d2c; border-bottom:2px solid #a8ce8e; }
    .sw-row{ display:grid; grid-template-columns:repeat(7,1fr); gap:6px; padding:8px; border:2px solid transparent; border-radius:10px; margin:0 4px 4px; }
    .sw-row.w1{ background:#eff2ff; border-color:#a9baf5; }
    .sw-row.w2{ background:#f2f9ec; border-color:#a8ce8e; }
    .sw-d{ background:#f5f8ff; border:1.5px solid var(--line); border-radius:11px; padding:8px 6px; min-height:130px; }
    .sw-d.today{ border-color:var(--royal); box-shadow:0 0 0 3px rgba(47,79,216,.12); }
    .sw-d.off{ background:repeating-linear-gradient(45deg,#fbf6f7,#fbf6f7 6px,rgba(180,64,90,.09) 6px,rgba(180,64,90,.09) 12px); }
    .sw-h{ text-align:center; margin-bottom:6px; }
    .sw-h b{ display:block; font-size:11px; font-weight:800; color:var(--muted); }
    .sw-h span{ display:block; font-size:17px; font-weight:800; color:var(--navy); }
    .sw-off{ font-size:10.5px; font-weight:800; color:#b4405a; text-align:center; margin-bottom:5px; }
    .sw-av{ font-size:10.5px; font-weight:700; color:#4a7d2c; background:#f2f9ec; border-radius:6px; padding:4px; text-align:center; margin-bottom:5px; line-height:1.4; }
.sw-av i{ display:block; font-style:normal; font-weight:800; }  /* it read "Free for Mansfield8 am-5 pm" run together, on both apps. v1046. */
    .sw-none{ font-size:10.5px; color:#b9c1d4; text-align:center; margin-bottom:5px; }
    .jb{ display:block; width:100%; text-align:left; background:#fff; border:1.5px solid #c4d1ee; border-left:4px solid var(--royal); border-radius:8px; padding:6px 7px; margin-bottom:5px; cursor:pointer; font-family:inherit; }
    .jb:hover{ border-color:var(--royal); }
    .jb-t{ display:block; font-size:11px; font-weight:800; color:var(--royal); }
    .jb-s{ display:block; font-size:11.5px; font-weight:700; color:var(--navy); margin-top:1px; }
    .jb-a{ display:block; font-size:10px; color:var(--muted); margin-top:1px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .jb.big{ padding:12px 14px; border-radius:11px; }
    .jb.big .jb-t{ font-size:14px; }
    .jb.big .jb-s{ font-size:16px; margin-top:2px; }
    .jb.big .jb-a{ font-size:13px; margin-top:3px; white-space:normal; }
    .sd-body{ padding:16px; border:2px solid transparent; border-radius:10px; margin:0 4px 4px; }
    .sd-body.w1{ background:#eff2ff; border-color:#a9baf5; }
    .sd-body.w2{ background:#f2f9ec; border-color:#a8ce8e; }
    .sd-off{ background:#fdeaee; border:1px solid #f3b8c5; color:#a3253f; border-radius:11px; padding:12px 14px; font-size:13.5px; margin-bottom:14px; }
    .sd-av, .sd-jobs{ margin-bottom:16px; }
    .sd-av > b, .sd-jobs > b{ display:block; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); margin-bottom:8px; }
    .sd-avb{ background:#f2f9ec; border:1px solid #cfe6c2; border-radius:11px; padding:11px 14px; margin-bottom:7px; font-size:15px; font-weight:800; color:#3a6b22; }
    .sd-avb span{ display:block; font-size:12.5px; font-weight:500; color:#5f7a52; margin-top:2px; }
    .jp-r{ display:flex; gap:14px; padding:10px 0; border-bottom:1px solid var(--line); font-size:14.5px; }
    .jp-r span{ flex:0 0 90px; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.03em; color:var(--muted); padding-top:2px; }
    .jp-r b{ color:var(--navy); }
    .jp-n{ margin-top:14px; font-size:13.5px; color:var(--navy); line-height:1.55; }
    .mc-d[data-action]{ cursor:pointer; }
    .mc-d[data-action]:hover{ outline:2px solid var(--royal); outline-offset:-2px; }
    @media (max-width:760px){
      .sch-h b{ order:-1; flex-basis:100%; }
      .sch-seg{ flex:1; }
      .sch-sb{ flex:1; }
      .sw-row{ grid-template-columns:1fr; gap:7px; }
      .sw-d{ min-height:0; display:flex; flex-wrap:wrap; align-items:center; gap:10px; padding:11px; }
      .sw-h{ display:flex; align-items:baseline; gap:7px; margin:0; flex:0 0 auto; }
      .sw-h span{ font-size:19px; }
      .sw-av, .sw-off, .sw-none{ margin:0; flex:1; text-align:left; }
      .jb{ flex-basis:100%; margin:0; }
    }
    .dblk{ background:#f5f8ff; border:1.5px solid var(--line); border-radius:14px; padding:15px; margin-bottom:12px; }
    .dblk-h{ display:flex; align-items:center; margin-bottom:12px; }
    .dblk-h b{ font-size:13px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); }
    /* ms-mini and ms-del were used on three screens and never styled - every
       Remove button in the day box has been rendering as a raw browser button */
    .ms-mini{ height:32px; padding:0 13px; border-radius:9px; border:1.5px solid var(--line); background:#fff; color:var(--navy); font:inherit; font-weight:800; font-size:12.5px; cursor:pointer; }
    .ms-mini:hover{ border-color:var(--royal); color:var(--royal); }
    .ms-del{ color:#b03636; border-color:#f0d4d4; }
    .ms-del:hover{ background:#fdf1f1; border-color:#c0392b; color:#c0392b; }
    .dblk-h .ms-mini{ margin-left:auto; }
    .dblk .ms-lab{ margin-top:14px; }
    .dblk .ms-grid2 .ms-lab{ margin-top:0; }
    /* the two buttons at the top of the day box */
    .ms-daytabs{ display:flex; gap:8px; margin:0 0 16px; }
    .ms-daytab{ flex:1; height:38px; border-radius:10px; border:1.5px solid var(--line); background:#fff; color:var(--navy); font:inherit; font-weight:800; font-size:13px; cursor:pointer; padding:0 10px; }
    .ms-daytab.on{ background:var(--royal); border-color:var(--royal); color:#fff; }
    .ms-explain{ background:#eff2ff; border:1px solid #c4d1ee; border-radius:12px; padding:13px 15px; font-size:13px; color:var(--navy); line-height:1.6; margin-bottom:16px; }
    .ms-explain b{ display:block; margin-bottom:3px; }
    .ms-addblk{ display:flex; align-items:center; gap:12px; width:100%; text-align:left; border:2px dashed #b9c4f2; background:#fff; color:var(--royal); font:inherit; padding:14px 16px; border-radius:14px; cursor:pointer; }
    .ms-addblk:hover{ background:#f4f7ff; border-color:var(--royal); }
    .ms-addblk-p{ width:34px; height:34px; flex:none; border-radius:50%; background:var(--royal); color:#fff; font-size:20px; font-weight:800; display:flex; align-items:center; justify-content:center; line-height:1; }
    .ms-addblk b{ display:block; font-size:14.5px; font-weight:800; color:var(--navy); }
    .ms-addblk i{ display:block; font-style:normal; font-size:12.5px; color:var(--muted); margin-top:2px; }
    .dblk-n{ width:26px; height:26px; flex:none; border-radius:50%; background:var(--royal); color:#fff; font-size:13px; font-weight:800; display:flex; align-items:center; justify-content:center; margin-right:10px; }
    .dblk-h b{ font-size:15px; font-weight:800; color:var(--navy); text-transform:none; letter-spacing:0; }
    .dblk-c{ font-size:12.5px; color:var(--muted); margin-left:10px; }
    .ms-clash{ display:flex; flex-direction:column; background:#fff; border:1px solid var(--line); border-left:4px solid #b4405a; border-radius:11px; padding:11px 14px; margin-bottom:8px; }
    .ms-clash b{ font-size:14px; color:var(--navy); }
    .ms-clash span{ font-size:12.5px; color:var(--muted); margin-top:2px; }
    .ms-addblk:hover{ background:#f4f7ff; }
    .ms-chip.sm{ font-size:12.5px; padding:7px 12px; min-height:34px; }
    .ms-two{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
    .ms-big{ text-align:left; background:#f5f8ff; border:2px solid var(--line); border-radius:14px; padding:14px; cursor:pointer; font-family:inherit; }
    .ms-big b{ display:block; font-size:15px; color:var(--navy); }
    .ms-big i{ display:block; font-style:normal; font-size:12.5px; color:var(--muted); margin-top:3px; }
    .ms-big.on{ border-color:var(--royal); background:#fff; box-shadow:0 0 0 4px rgba(47,79,216,.12); }
    .ms-modal.wide{ width:min(720px,calc(100vw - 28px)); }
    @media (max-width:900px){ .wk-two{ grid-template-columns:1fr; } }
    @media (max-width:620px){
      .wk-row{ gap:3px; padding:3px; }
      .wd{ min-height:150px; padding:8px 4px; }
      .wd-a{ font-size:9px; }
      .mc-dh, .mc-row{ grid-template-columns:34px repeat(7,1fr); }
      .mc-wk{ font-size:8.5px; }
      .mc-d{ min-height:50px; padding:3px; }
      .ms-two{ grid-template-columns:1fr; }
    }
    .ms-off{ display:flex; align-items:center; gap:12px; background:#fff; border:1.5px solid var(--line); border-radius:13px; padding:12px 15px; margin-bottom:8px; }
    .ms-off > div{ flex:1; }
    .ms-off b{ font-size:14.5px; color:var(--navy); }
    .ms-offd{ font-size:12.5px; color:var(--muted); margin-top:2px; }
    .ms-ov{ position:fixed; inset:0; background:rgba(16,24,54,.45); z-index:60; }
    .ms-modal{ position:fixed; z-index:61; left:50%; top:50%; transform:translate(-50%,-50%); width:min(560px,calc(100vw - 28px)); max-height:88vh; display:flex; flex-direction:column; background:#fff; border-radius:20px; box-shadow:0 26px 70px rgba(16,24,54,.34); overflow:hidden; }
    .ms-mh{ display:flex; align-items:flex-start; gap:12px; padding:20px 22px 14px; border-bottom:1px solid var(--line); }
    .ms-mt{ font-size:20px; font-weight:800; color:var(--navy); }
    .ms-ms{ font-size:13px; color:var(--muted); margin-top:3px; }
    .ms-x{ margin-left:auto; width:34px; height:34px; border:1px solid var(--line); background:#fff; border-radius:10px; font-size:19px; line-height:1; color:var(--muted); cursor:pointer; }
    .ms-mb{ padding:18px 22px; overflow-y:auto; }
    .ms-mf{ display:flex; gap:10px; justify-content:flex-end; padding:15px 22px; border-top:1px solid var(--line); background:#f5f8ff; }
    .ms-btn{ border:0; background:#2547d6; color:#fff; font:inherit; font-weight:800; font-size:14.5px; height:46px; padding:0 24px; border-radius:12px; cursor:pointer; }
    .ms-btn:hover{ filter:brightness(1.08); }
    .ms-btn[disabled]{ opacity:.6; cursor:default; }
    .ms-btn.ghost{ background:#fff; border:1.5px solid var(--line); color:var(--navy); }
    .ms-btn.ghost:hover{ border-color:var(--royal); color:var(--royal); filter:none; }
    /* .sm was used all over and never existed - small buttons rendered raw */
    .ms-btn.sm{ height:34px; padding:0 14px; font-size:13px; border-radius:9px; }
    a.ms-btn{ display:inline-flex; align-items:center; justify-content:center; text-decoration:none; box-sizing:border-box; }
    /* so a second stretch of hours is never missed */
    /* calendar day cells: name line on week cards, town lines on month cells */
    .jb-n{ display:block; font-weight:800; color:var(--navy); font-size:12px; margin-top:1px; }
    .mc-more{ display:block; font-size:9.5px; font-weight:700; color:var(--muted); margin-top:1px; }
    .mc-own{ background:#f1ebfd !important; color:#7c3aed !important; }
    .dblk.multi{ border-color:#c9d5f5; }
    .dblk-of{ font-size:11px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:var(--royal); background:#eef2fd; border-radius:8px 8px 0 0; padding:6px 12px; margin:-1px -1px 10px; }
.dblk.multi{ border:2px solid var(--royal); }
    .dblk-of{ background:var(--royal); color:#fff; font-size:11.5px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; padding:5px 12px; border-radius:9px 9px 0 0; margin:-1px -1px 10px; }
    .ms-cnt{ font-size:12.5px; font-weight:800; color:var(--royal); background:#eef2fd; border:1px solid #d8e0f5; border-radius:9px; padding:8px 12px; margin-bottom:14px; }
    .ms-blkn{ display:inline-block; min-width:20px; height:20px; line-height:20px; text-align:center; border-radius:6px; background:var(--royal); color:#fff; font-size:11px; font-weight:800; margin-right:8px; }
    .ms-lab{ font-size:12.5px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; color:var(--navy); margin:18px 0 9px; }
    .ms-mb > .ms-lab:first-child{ margin-top:0; }
    .ms-lab span{ display:block; font-weight:500; font-size:12.5px; letter-spacing:0; text-transform:none; color:var(--muted); margin-top:3px; }
    .ms-chips{ display:flex; flex-wrap:wrap; gap:7px; }
    .ms-chip{ font:inherit; font-weight:700; font-size:13.5px; color:var(--navy); background:#fff; border:1.5px solid var(--line); border-radius:999px; padding:9px 15px; cursor:pointer; transition:all .14s; min-height:38px; }
    .ms-chip:hover{ border-color:#b9c4f2; }
    .ms-chip.on{ background:#2547d6; border-color:transparent; color:#fff; box-shadow:0 8px 16px -9px rgba(27,42,140,.75); }
    .ms-chip.ms-all{ background:#f4f7fb; }
    .ms-chip.ms-all.on{ background:#5cbf3a; }
    .ms-grid2{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
    /* the own-customer boxes had NO styling at all - only the dropdown did */
    .ms-in{ width:100%; box-sizing:border-box; height:46px; padding:0 13px; border:1.5px solid var(--line); border-radius:12px; font-family:inherit; font-size:15px; color:var(--navy); background:#f5f8ff; }
    .ms-in:focus{ outline:none; border-color:var(--royal); background:#fff; }
    .ms-in::placeholder{ color:#9aa3bb; }
    .ms-pjcard{ background:#f5f8ff; border:1.5px solid var(--line); border-radius:14px; padding:15px; margin-bottom:12px; }
    .ms-pjcard .ms-lab:first-child{ margin-top:0; }
    .ms-pjrow{ display:flex; align-items:flex-start; gap:12px; background:#fff; border:1.5px solid var(--line); border-left:4px solid #7c3aed; border-radius:14px; padding:14px 15px; margin-bottom:10px; }
    .ms-pjrow b{ display:block; color:var(--navy); font-size:15px; }
    .ms-pjrow span{ display:block; color:var(--muted); font-size:13px; line-height:1.6; }
    .ms-sel{ width:100%; box-sizing:border-box; height:46px; padding:0 13px; border:1.5px solid var(--line); border-radius:12px; font-family:inherit; font-size:15px; color:var(--navy); background:#f5f8ff; }
    .ms-sel:focus{ outline:none; border-color:var(--royal); background:#fff; }
    .ms-hint{ font-size:12.5px; color:var(--muted); margin-top:7px; }
    .ms-small{ font-size:12.5px; color:var(--muted); line-height:1.55; margin-top:18px; padding-top:14px; border-top:1px solid var(--line); }
    .ms-ack{ background:#fff7ec; border:1.5px solid #f3dcae; border-radius:13px; padding:13px 15px; margin-top:16px; font-size:13.5px; color:#5b4a2a; line-height:1.5; }
    .ms-ack b{ color:#3a2f16; }
    .ms-err{ background:#fdeaee; border:1px solid #f3b8c5; color:#a3253f; border-radius:11px; padding:11px 13px; margin-top:14px; font-size:13.5px; }
    @media (max-width:620px){
      .ws-row{ grid-template-columns:repeat(7,1fr); gap:3px; }
      .ms-blk{ flex-wrap:wrap; }
      .ms-blkx{ flex-direction:row; width:100%; }
      .ms-modal{ top:auto; bottom:0; transform:translateX(-50%); width:100vw; max-height:88vh; border-radius:20px 20px 0 0; }
      .ms-mf{ padding-bottom:calc(15px + env(safe-area-inset-bottom)); }
      .ms-grid2{ grid-template-columns:1fr; }
    }
    .py-tots{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:12px; }
    .py-tot{ flex:1; min-width:150px; background:#fff; border:1px solid var(--line); border-radius:12px; padding:12px 14px; }
    .py-tot span{ display:block; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.03em; color:var(--muted); }
    .py-tot b{ display:block; font-size:23px; color:var(--navy); margin-top:3px; }
    .py-where{ background:#f4f7fb; border:1px solid var(--line); border-radius:10px; padding:10px 13px; font-size:13.5px; color:var(--navy); margin-bottom:10px; }
    .py-where span{ color:var(--muted); }
    .py-where .pyw-pref{ color:#fff; }
    .py-where .pyw-h{ color:var(--ink); font-weight:700; }
    .py-row{ display:flex; align-items:flex-start; gap:12px; background:#fff; border:1px solid var(--line); border-left:4px solid #e0a33c; border-radius:12px; padding:11px 14px; margin-bottom:8px; }
    .py-row.on{ border-left-color:var(--apple); }
    .py-mid{ flex:1; min-width:0; }
    .py-a{ font-size:16px; font-weight:800; color:var(--navy); }
    .py-st{ font-size:11px; font-weight:800; border-radius:6px; padding:2px 7px; margin-left:8px; vertical-align:middle; }
    .py-st.ok{ background:#e6f6de; color:#3f7a1f; }
    .py-st.due{ background:#fff4e6; color:#8a5312; }
    .py-st.wait{ background:#eaf0ff; color:#2547d6; }
    .py-row.wait{ border-left-color:#2547d6; }
    .cr-link.payowe{ font-weight:800; color:#2547d6; }
    .py-d{ font-size:12.5px; color:var(--muted); margin-top:2px; }
    .py-n{ font-size:13px; color:var(--navy); margin-top:3px; }
    .py-act{ white-space:nowrap; }
    .tp-row{ background:#fff; border:1px solid var(--line); border-radius:12px; margin-bottom:8px; overflow:hidden; }
    .tp-open{ display:flex; align-items:center; gap:12px; width:100%; text-align:left; background:none; border:0; padding:13px 14px 11px; cursor:pointer; font-family:inherit; }
    .tp-open:hover{ background:#f5f8ff; }
    .tp-av{ flex:0 0 auto; width:40px; height:40px; border-radius:50%; background:#e6ecfe; color:var(--royal); font-weight:800; font-size:17px; display:flex; align-items:center; justify-content:center; }
    .tp-mid{ flex:1; min-width:0; }
    .tp-nm{ display:block; font-size:15px; font-weight:800; color:var(--navy); }
    .tp-also{ font-size:11.5px; font-weight:700; color:var(--muted); margin-left:7px; }
    .tp-sub{ display:block; font-size:12.5px; color:var(--muted); margin-top:2px; }
    .tp-warn{ display:block; font-size:12.5px; color:#b4405a; margin-top:2px; }
    .tp-arrow{ flex:0 0 auto; font-size:24px; color:#c4d1ee; line-height:1; }
    .tp-acts{ display:flex; flex-wrap:wrap; gap:14px; padding:0 14px 11px 66px; }
    @media (max-width:600px){ .tp-acts{ padding-left:14px; } }
    .tm-addrow{ display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-bottom:6px; width:100%; }
    .tm-addrow .btn{ width:100%; }
    @media (max-width:620px){ .tm-addrow{ grid-template-columns:repeat(2,1fr); } }
    /* The form fills the card it sits in - it was held to 660px inside a full-width
       white card, leaving a wide empty strip down the right. The role boxes sit three
       across on a wide screen. v1299 */
    .tm-form{ max-width:none; }
    @media (min-width:1100px){ .tm-roles{ grid-template-columns:repeat(3, 1fr) !important; } }
    .tm-two{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
    .tm-note{ font-size:12.5px; color:var(--muted); margin:4px 0 10px; }
    .tm-roles{ display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:4px; }
    /* approved services on the Team form. v1910 */
    .tm-svcs{ display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:8px; margin:6px 0 4px; }
    .tm-svcs-g{ margin:6px 0 4px; }
    .tm-svcs-g .tm-svc{ display:inline-flex; }
    .msag-one{ flex:1 1 280px; min-width:0; }
    .msag-one .oc2-blk{ margin:0; }
    .tm-svc{ display:flex; align-items:center; gap:9px; border:1.5px solid var(--line); background:#fff; border-radius:11px; padding:0 12px; min-height:36px; cursor:pointer; font-weight:700; color:var(--navy,#16246b); }
    .tm-svc input{ width:18px; height:18px; accent-color:#2547d6; }
    .tm-role{ display:flex; align-items:flex-start; gap:9px; border:1.5px solid var(--line); background:#fff; border-radius:11px; padding:11px 12px; cursor:pointer; min-height:36px; }
    .tm-role.on{ border-color:var(--royal); background:#eef2ff; }
    .tm-role input{ width:19px; height:19px; accent-color:var(--royal); margin-top:1px; cursor:pointer; }
    .tm-role b{ display:block; font-size:14px; color:var(--navy); }
    .tm-role i{ display:block; font-style:normal; font-size:12px; color:var(--muted); line-height:1.45; margin-top:2px; }
    .tm-send{ display:flex; align-items:center; gap:9px; background:#f4f7fb; border:1px solid var(--line); border-radius:11px; padding:12px; margin-top:14px; cursor:pointer; font-size:13.5px; color:var(--navy); }
    .tm-send input{ width:19px; height:19px; accent-color:var(--royal); cursor:pointer; }
    .tm-has{ background:#f4f7fb; border:1px solid var(--line); border-radius:11px; padding:12px; margin-top:14px; font-size:13.5px; color:var(--navy); }
    .tm-msg{ margin-top:12px; padding:11px 13px; background:#fff4e6; border:1px solid #f0c48a; border-radius:10px; font-size:13.5px; color:#7a4a12; }
    @media (max-width:600px){ .tm-two, .tm-roles{ grid-template-columns:1fr; } }
    .cd-perms{ display:flex; flex-wrap:wrap; gap:6px; margin:8px 0 2px 7px; }
    .cd-ck{ display:inline-flex; align-items:center; gap:6px; border:1px solid var(--line); background:#f7f8fb; color:var(--muted); font-size:12.5px; font-weight:700; height:34px; padding:0 11px; border-radius:9px; cursor:pointer; }
    .cd-ck input{ width:16px; height:16px; accent-color:var(--royal); cursor:pointer; margin:0; }
    .cd-ck.on{ background:#e6f6de; border-color:#a9d98c; color:#3f7a1f; }
    .cd-ck:hover{ border-color:#c4d1ee; }
    .cd-hint{ flex-basis:100%; font-size:12px; color:var(--muted); line-height:1.5; margin-top:4px; }
    .cd-mid .rl-det{ margin-left:7px; }
    .cd-prev{ position:sticky; top:16px; }
    .cd-pt{ font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.03em; color:var(--muted); margin-bottom:9px; }
    .cd-phone{ background:#fff; border:1px solid var(--line); border-radius:16px; padding:14px 16px 18px; box-shadow:0 6px 24px rgba(22,36,107,.07); }
    .nb{ background:#f4f7fb; border:1px dashed #c4d1ee; border-radius:12px; padding:16px; }
    .nb-t{ font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.03em; color:var(--muted); margin-bottom:5px; }
    .nb-d{ font-size:13.5px; color:var(--navy); line-height:1.55; }
    .ow-job{ display:flex; flex-wrap:wrap; align-items:baseline; gap:3px 12px; width:100%; text-align:left; padding:10px 12px; margin-bottom:6px; border:1px solid #dfe6f6; border-radius:12px; background:#fff; font:inherit; cursor:pointer; box-shadow:none; }
    .ow-job .ow-date, .ow-job .ow-svc, .ow-job .ow-addr, .ow-job .ow-pay{ margin:0; }
    .ow-job .ow-svc{ font-weight:800; }
    .ow-job .ow-pay{ margin-left:auto; }
    .ow-job:hover{ border-color:#c9d4ff; background:#f5f8ff; }
    .ow-date{ font-size:13px; font-weight:800; color:var(--royal); }
    .ow-svc{ font-size:15.5px; font-weight:800; color:var(--navy); margin-top:2px; }
    .ow-addr{ font-size:13.5px; color:var(--muted); margin-top:2px; }
    .ow-pay{ font-size:15px; font-weight:800; color:var(--apple-dark); margin-top:5px; }
    @media (max-width:880px){
      .cd-wrap{ grid-template-columns:1fr; gap:18px; }
      .cd-prev{ position:static; }
    }
    @media (max-width:720px){
      .m-tabmenu{ display:flex; }
      .m-tabs{ display:none; flex-direction:column; gap:0; padding:0 14px 8px; border-bottom:1px solid var(--line); }
      .m-tabs.open{ display:flex; }
      .m-tabwrap{ display:block; }
      .m-tab{ display:block; width:100%; text-align:left; height:36px; padding:0 12px; border-radius:9px; border-bottom:0; margin:0; }
      .m-tab.on{ background:#e8edff; }
      .app-main{ padding-left:14px; padding-right:14px; }
      .acct{ padding:14px; }
      .cd-row{ flex-wrap:wrap; }
      .cd-mid{ flex-basis:100%; order:1; }
      .cd-ord{ order:2; flex-direction:row; }
      .cd-right{ order:3; margin-left:auto; }
      .em-big{ height:72px; font-size:21px; }
      .rq-acts .btn{ flex:1; }
      .pg-foot{ flex-wrap:wrap; }
    }
    @media (max-width:720px){
      .pg-tw{ overflow-x:visible; }
      .pg-table{ min-width:0; border:0; background:transparent; }
      .pg-table thead{ display:none; }
      .pg-table tbody, .pg-table tr, .pg-table td{ display:block; }
      .pg-table tr{ background:#fff; border:1px solid var(--line); border-radius:12px; margin-bottom:9px; padding:9px 12px 11px; }
      .pg-table td{ border-bottom:0; height:auto; padding:0; text-align:left; }
      .pg-table td.pg-sec{ padding:0 0 8px; font-size:14px; }
      .pg-table td[data-lab]{ display:inline-flex; align-items:center; gap:7px; margin:3px 14px 3px 0; }
      .pg-table td[data-lab]::before{ content:attr(data-lab); font-size:12px; font-weight:700; color:var(--muted); }
      .pv-bar{ padding:9px 16px; }
      .pv-btns{ margin-left:0; }
    }

    /* ============== WHAT ADAM ASKED FOR ON 9 SEP 2026. v1130. ==============

       THE DROPDOWN WAS CUT IN HALF. It carries .field, which is a tall box with
       13px of padding top and bottom, and then it was forced to 36px. The text
       had nowhere to go and the top of it was all you could see. A control that
       is 36px tall gets 36px worth of padding, not 13 and 13. */
    .pl-add{ display:flex; align-items:center; gap:9px; flex-wrap:wrap; margin-top:12px; }
    .pl-sel{ flex:1 1 240px; min-width:0; height:36px; margin:0 !important;
      padding:0 34px 0 12px !important; font-size:13.5px !important; font-weight:700;
      line-height:34px; border-radius:9px !important; border-width:1px !important;
      border-color:#cfdaf2 !important; background:#fff !important; color:var(--navy);
      appearance:none; -webkit-appearance:none;
      background-image:linear-gradient(45deg,transparent 50%,#5a6480 50%),linear-gradient(135deg,#5a6480 50%,transparent 50%) !important;
      background-position:calc(100% - 17px) 15px, calc(100% - 12px) 15px !important;
      background-size:5px 5px, 5px 5px !important; background-repeat:no-repeat !important; }
    .pl-sel:hover{ border-color:#b9c9ef !important; }
    .pl-add .row-btn{ height:36px; }

    /* A NAME WITH NOTHING BESIDE IT DOES NOT LOOK LIKE IT OPENS ANYTHING.
       It says Messages now, and says Hide messages once it is open. */
    .pl-msg.on{ background:#eef3ff; border-color:#b9c9ef; }
    .pl-r .row-acts{ margin-left:auto; }

    /* SPACE. The add-a-property form sat straight up against the last row with
       nothing between them, so the two read as one block. */
    .pr-list{ gap:10px !important; margin-bottom:16px !important; }
    .pr-add-btn{ margin-top:4px; }
    .sec .pr-form{ margin-top:16px; padding-top:16px; border-top:1px solid #e3e9f8; }
    .pl-r + .pl-r{ margin-top:8px; }
    .pl-none{ padding:2px 0; }

    /* ===================== THE PROPERTY PAGE. v1129. =====================
       A property row is a way in, not a drawer. The row shows the place, what
       kind it is, whether it carries a crew note and how many people are
       contacted about it - and opens its own page. */
    .pr-row{ cursor:pointer; border:1px solid #cfdaf2; border-radius:12px; padding:11px 14px;
      background:#fff; box-shadow:0 1px 3px rgba(22,36,107,.06); }
    .pr-row:hover{ background:#f7f9ff; border-color:#b9c9ef; }
    .pr-row .pr-main{ display:flex; align-items:center; gap:9px; }
    .pr-row .pr-title{ font-size:14px; font-weight:800; color:var(--navy);
      overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .pr-row .pr-addr{ font-size:11.5px; font-weight:600; color:var(--muted); margin-top:3px; }
    .pr-go{ margin-left:auto; color:var(--royal); font-weight:900; font-size:17px; line-height:1; flex:0 0 auto; }
    .pr-row.pr-mainrow{ border:1.5px solid #2547d6; background:#f4f7ff; }
    .pr-row.pr-mainrow .pr-title{ white-space:normal; overflow:visible; font-size:15px; }
    .pr-tags{ display:flex; flex-wrap:wrap; gap:6px; margin-top:7px; }
    .pr-tags .pr-tag-main, .pr-tags .pr-tag-bill{ margin-left:0; }
    .pr-hasnote{ font-size:10.5px; font-weight:800; text-transform:uppercase; letter-spacing:.4px;
      color:#8a6a2f; background:#fdf3e2; border:1px solid #f0dcb8; border-radius:999px; padding:2px 8px; flex:0 0 auto; }
    .pp-top{ display:flex; align-items:center; gap:6px; margin-bottom:12px; flex-wrap:wrap; }
    .pp-top .row-btn:nth-child(2){ margin-left:auto; }
    .pp-head{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
    .pp-t{ font-size:19px; font-weight:800; color:var(--navy); }
    .pp-addr{ font-size:13px; font-weight:600; color:var(--muted); margin:3px 0 14px; }
    .pp-addr.warn{ color:#8a6a2f; font-style:italic; }
    .pp-sp{ height:14px; }
    /* ================= THE CONTACT PAGE. v1138. =================
       One person, and every place on the account with a tick each, so somebody
       can be put on or taken off a place without visiting each property. */
    .dir-go{ background:none; border:0; padding:0; font:inherit; color:var(--navy);
      font-weight:800; cursor:pointer; display:inline-flex; align-items:center; gap:5px; }
    .dir-go:hover{ color:var(--royal); }
    .dir-go .pr-go{ margin-left:0; font-size:15px; }
    .cp-place{ border:1px solid #e3e9f8; border-radius:11px; padding:11px 13px; background:#fbfcff; }
    .cp-place + .cp-place{ margin-top:9px; }
    .cp-place.on{ border-color:#c3d0ee; background:#fff; }
    .cp-p-top{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
    .cp-p-n{ font-size:14px; font-weight:800; color:var(--navy); }
    .cp-p-tag{ font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.5px;
      color:var(--royal); background:#eef3ff; border:1px solid #cfdaf2; border-radius:999px; padding:2px 8px; }
    .cp-p-sum{ font-size:12px; font-weight:700; color:var(--muted); }
    .cp-p-off{ font-size:12px; font-weight:700; color:#98a0b5; font-style:italic; }
    .cp-p-sub{ font-size:11.5px; font-weight:600; color:var(--muted); margin:3px 0 0 30px; }
    .cp-place .cp-msg{ margin-left:auto; }
    .cp-place .kg{ margin-top:11px; }
    .cp-tick{ display:inline-flex; align-items:center; flex:none; }
    .cp-tick input{ width:19px; height:19px; accent-color:var(--royal); cursor:pointer; margin:0; }
    .cp-tick.ro{ width:19px; color:var(--green); font-weight:900; }
    /* the name ran straight into the address - "Cooper Customer100 Main St" */
    .bill-now b, .bill-now span{ display:block; }
    .bill-now b{ margin-bottom:2px; }
    .bill-now span{ font-size:13px; font-weight:600; color:var(--muted); }
    .bill-now .bill-note{ margin-top:6px; font-size:12px; font-style:italic; }
    /* a heading INSIDE a section - smaller, quieter, never a second band */
    .sub-h{ display:flex; align-items:center; gap:8px; font-size:11.5px; font-weight:900;
      text-transform:uppercase; letter-spacing:.7px; color:#5a6480;
      margin:22px 0 10px; padding-bottom:7px; border-bottom:1px solid #e3e9f8; }
    .sub-h::before{ content:""; width:3px; height:12px; border-radius:2px; background:var(--royal); flex:none; }
    /* the app's own yes-or-no box, so a question never arrives in the browser's
       gray system dialog with the worker address across the top. v1136. */
    .ask-ovl{ position:fixed !important; inset:0 !important; z-index:200000 !important;
      background:rgba(16,36,107,.46) !important; display:flex !important;
      align-items:center !important; justify-content:center !important; padding:20px !important; }
    .ask-box{ background:#fff; border-radius:16px; width:100%; max-width:440px; overflow:hidden;
      box-shadow:0 24px 60px rgba(16,36,107,.35); }
    .ask-t{ background:#2547d6; color:#fff;
      font-size:15px; font-weight:800; padding:15px 20px; line-height:1.3; }
    .ask-b{ padding:16px 20px 4px; font-size:13.5px; font-weight:600; color:#3d465e; line-height:1.55; white-space:pre-line; }
    .ask-acts{ display:flex; gap:9px; justify-content:flex-end; padding:16px 20px 18px; }
    .ask-acts .btn{ width:auto; min-width:104px; padding:10px 16px; font-size:14px; }
    .btn-danger{ background:#b3261e; color:#fff; border-color:#b3261e; }
    .btn-danger:hover{ background:#8f1e18; border-color:#8f1e18; }
    /* the upload box is a real control now, so it behaves like one */
    .up-drop{ display:block; cursor:pointer; position:relative; }
    .up-drop:hover{ background:#f2f6ff; border-color:var(--royal); }
    .up-drop input[type=file]{ position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
    .up-drop.pm-off{ cursor:default; }
    .sec .sub-h:first-child{ margin-top:0; }
    /* the incident rows sat hard against the band */
    .ic-row + .ic-row{ margin-top:9px; }
    /* Show all and the finished-visits link ran together as one sentence */
    .m-jobs > .cr-link{ display:block; margin-top:10px; }
    /* a section's contents start clear of the band. :first-of-type matches per
       tag, and the head is a div like the rows, so it kept selecting the head. */
    .sec > .sec-h + *{ margin-top:16px !important; }
    .sec .m-notes, .sec .ns-wrap, .sec .cb-wrap{ margin-top:0; }
    /* the note panels lost their repeated heading, so the pencil is a real
       little button of its own rather than a mark after a word. v1131. */
    .nb-k{ display:flex; justify-content:flex-end; margin-bottom:6px; }
    .nb-k .note-edit{ border:1px solid var(--line); background:#fff; border-radius:8px;
      padding:4px 10px; font-size:12px; font-weight:800; color:var(--royal); }
    .nb-k .note-edit:hover{ background:#f2f6ff; border-color:#c9d6f5; }


    /* ============================ ONE SECTION LOOK ============================
       Adam, 8 Sep 2026: "its hard to tell the sections apart, add a little
       color or something." He was right. The office app drew a section four
       different ways and one of them - the loose headings - was not styled at
       all, so it came out as plain browser bold. Every section heading in the
       app now speaks one language, the same one the job editor already spoke:

         a tinted head bar · a navy tick beside the name · a real border ·
         real space beneath it.

       The tick is navy on purpose. Blue, green and orange all mean a kind of
       work and may never be spent on furniture, so the section chrome uses the
       brand navy instead and stays out of the way of the color rules.

       This block is deliberately the LAST thing in the stylesheet. The old one
       sat half way up and lost to rules further down - that is why the team
       form and the loose headings never picked it up. v1128. */

    /* the section box itself - billing, additional contacts, properties, notes */
    .sec{ border:1px solid #c3d0ee !important; border-radius:14px !important; padding:0 !important;
      margin-bottom:26px !important; background:#fff !important; overflow:hidden;
      box-shadow:0 3px 10px rgba(22,36,107,.10) !important; }
    .sec-h{ background:#2547d6 !important;
      border-bottom:none !important; padding:12px 16px 11px 28px !important;
      margin:0 !important; position:relative !important; }
    .sec-h::before{ content:""; position:absolute; left:14px; top:15px;
      width:4px; height:15px; border-radius:3px; background:#8fb0ff; }
    .sec-t{ display:block !important; font-size:12.5px !important; font-weight:900 !important;
      letter-spacing:.9px !important; text-transform:uppercase !important; color:#fff !important; }
    .sec-s{ display:block !important; text-transform:none !important; letter-spacing:0 !important;
      font-size:11.5px !important; font-weight:600 !important; color:rgba(255,255,255,.78) !important;
      margin-top:3px !important; line-height:1.45 !important; }
    .sec > *:not(.sec-h){ margin-left:15px; margin-right:15px; }
    .sec > *:not(.sec-h):first-of-type{ margin-top:13px; }
    .sec > *:not(.sec-h):last-child{ margin-bottom:15px; }

    /* the headings that sit loose above their own content - On file, Incidents,
       Timesheet, My pay, Clock in and out, Who can do what. These carried a
       class and no rule at all, so they rendered as plain bold text and read as
       nothing. Same bar, same tick. */
    .sec-title{ display:flex !important; align-items:center !important; gap:11px !important;
      background:#2547d6 !important;
      border:none !important; border-radius:12px !important;
      margin:26px 0 15px !important; padding:12px 16px !important;
      font-size:12.5px !important; font-weight:900 !important; text-transform:uppercase !important;
      letter-spacing:.9px !important; color:#fff !important; line-height:1.2 !important;
      box-shadow:0 3px 10px rgba(22,36,107,.14) !important; }
    .sec-title::before{ content:""; width:4px; height:15px; border-radius:3px;
      background:#8fb0ff; flex:none; }
    .sec-title:first-child{ margin-top:0 !important; }

    /* the team form - Business details, How they get paid. Was a gray label on a
       hairline rule, which on this background is not a boundary. */
    .tm-sec{ display:flex !important; align-items:center !important; gap:11px !important;
      background:#2547d6 !important;
      border:none !important; border-top:none !important;
      border-radius:12px !important; margin:26px 0 15px !important; padding:12px 16px !important;
      font-size:12.5px !important; font-weight:900 !important; text-transform:uppercase !important;
      letter-spacing:.9px !important; color:#fff !important; line-height:1.2 !important;
      box-shadow:0 3px 10px rgba(22,36,107,.14) !important; }
    .tm-sec::before{ content:""; width:4px; height:15px; border-radius:3px;
      background:#8fb0ff; flex:none; }

    /* the notifications list - these open and shut, so the head stays a 36px row
       and only picks up the tick and the firmer border. */
    .ns-sec{ border:1px solid #cfdaf2 !important; border-radius:12px !important;
      margin:9px 0 !important; box-shadow:0 1px 3px rgba(22,36,107,.06); }
    .ns-sec .ns-h{ padding-left:24px !important; position:relative; }
    .ns-sec .ns-h::before{ content:""; position:absolute; left:11px; top:11px;
      width:4px; height:14px; border-radius:3px; background:var(--navy); }
    .ns-sec.ns-on{ background:#eff3ff !important; }
    /* Phone bar: Back right beside the logo, Refresh beside Sign out on the right.
       Adam, 28 Sep 2026. v1387. */
    @media(max-width:640px){
      .appbar .hback-top{ margin-left:0 !important; margin-right:0 !important; }
      .appbar .btn-out[data-action="refreshnow"]{ margin-left:auto !important; }
      .appbar .btn-out[data-action="signout"]{ margin-left:0 !important; }
    }
    /* Note boxes drag taller on a phone. v1387 */
    textarea{ resize:vertical; }
    @media(max-width:760px){ textarea{ min-height:88px; resize:vertical; } }
    /* back to all properties: clearly a button. v1664 */
  .row-btn.pp-back{height:36px;padding:0 16px 0 12px;display:inline-flex;align-items:center;gap:6px;background:#eef2fd;border:1px solid #c9d4ff;color:#2547d6;font-weight:800;font-size:13.5px;border-radius:10px;box-shadow:0 1px 2px rgba(22,36,107,.08);cursor:pointer}
  .row-btn.pp-back:hover{background:#2547d6;border-color:#2547d6;color:#fff}
    /* Emails & texts on the card. v1686 */
    .cm-warn{ background:#fff7e6; border:1px solid #f3d49c; border-radius:10px; padding:9px 12px; font-weight:700; font-size:13px; color:#7a4b00; display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:10px; }
    .cm-list{ display:flex; flex-direction:column; gap:8px; max-height:520px; overflow-y:auto; padding:2px; }
    .cm-it{ max-width:82%; border:1px solid #e3e7f1; border-radius:12px; padding:8px 12px; background:#fff; }
    .cm-it.out{ align-self:flex-end; background:#eef2fd; border-color:#c9d4ff; }
    .cm-it.cm-tx{ border-left:3px solid #57bd34; }
    .cm-it.cm-em{ border-left:3px solid #2547d6; }
    .cm-h{ display:flex; justify-content:space-between; gap:10px; font-size:11.5px; color:#6b7488; font-weight:800; }
    .cm-h b{ color:#16246b; }
    .cm-s{ font-weight:800; font-size:13px; color:#16246b; margin-top:3px; }
    .cm-b{ white-space:pre-wrap; overflow-wrap:anywhere; font-size:13.5px; margin-top:3px; color:#1a2235; }
    .cm-rep{ margin-top:12px; border-top:1px solid #e3e7f1; padding-top:10px; display:flex; flex-direction:column; gap:6px; }
    .cm-rh{ font-weight:800; font-size:12.5px; color:#6b7488; }
    .cm-in{ width:100%; box-sizing:border-box; border:1px solid #e3e7f1; border-radius:9px; padding:8px 10px; font:inherit; font-size:13.5px; }
    .cm-btns{ display:flex; gap:8px; flex-wrap:wrap; align-items:center; margin-top:4px; }

/* Search sits on the same row, between Back and Refresh, and what you type is
   easy to read: white box, navy words. Never slides sideways. Adam, 23 Oct 2026. v1781 */
.gs-in{ background:#fff !important; color:#16246b !important; border-color:#fff !important; }
.gs-in::placeholder{ color:#6b7488 !important; }
html, body{ max-width:100%; overflow-x:hidden; overscroll-behavior-x:none; }
@media(max-width:640px){
  .appbar-in{ flex-wrap:nowrap !important; }
  .appbar .brand{ order:1 !important; }
  .appbar .hback-top{ order:2 !important; }
  .gsx{ order:3 !important; flex:1 1 auto !important; min-width:60px; max-width:none !important; margin-top:0 !important; }
  .appbar .btn-out[data-action="refreshnow"]{ order:4 !important; margin-left:0 !important; }
  .appbar .btn-out[data-action="signout"]{ order:5 !important; }
  .appbar .ver{ display:none; }
  .gs-in{ height:34px; font-size:16px; padding:0 10px; }
  .gs-res{ position:fixed; top:58px; left:8px; right:8px; }
}
/* calendar money never spills out of its box on a phone. v1781 */
@media(max-width:760px){ .cal-tot, .cal-wkt{ overflow:hidden; text-overflow:clip; white-space:nowrap; max-width:100%; } }

/* iPhone app: nothing ever sits up under the clock, Wi-Fi and battery. The top
   bar grows down by that much (its color fills the strip), a solid blue strip
   covers it so nothing scrolls underneath, the page itself is the one thing that
   scrolls (so tapping the clock jumps to the top), and a double tap never zooms.
   Does nothing in a normal browser. Adam, 24 Oct 2026. v1782, v1784 */
html, body{ overflow-x:clip !important; }
html{ touch-action:manipulation; }
html, body{ overscroll-behavior-y:none; }
body::before{ content:''; position:fixed; left:0; right:0; top:0; height:env(safe-area-inset-top,0px); background:#2547d6; z-index:2147483000; pointer-events:none; }
.appbar{ padding-top:env(safe-area-inset-top,0px); }
.app-main{ padding-top:16px !important; }
body:not(:has(.appbar)){ padding-top:env(safe-area-inset-top,0px); }
/* iPhone app: every pop-up window starts below the clock and notch too, never
   under the blue strip that covers them. Nothing changes in a normal browser.
   Adam, 5 Nov 2026. v1935 */
.ovl{ padding-top:calc(20px + env(safe-area-inset-top,0px)); }

/* No gradient buttons anywhere in the apps - every button is one solid color.
   Adam, 23 Oct 2026. v1782 */
.apbar a,.apbar button,.ms-add,.ms-btn:not(.ghost):not(.danger),.ms-chip.on,.ru-b.on,.ap-nav .nb.on,.apmenu-sheet .nb.on,.th2-openjob,.reach-b.text,.th2 .p-blue,.th2 .p-now{ background:#2547d6 !important; background-image:none !important; }
.ap-nav .nb.off.on,.th2 .p-amber{ background:#b7791f !important; background-image:none !important; }
.th2 .p-orange{ background:#e8862e !important; background-image:none !important; }
.th2 .p-green,.reach-b.call,.ms-chip.ms-all.on{ background:#2f9e44 !important; background-image:none !important; }
/* Phones: the version is back in the top bar, small in the bottom right corner,
   and search results drop below the bar wherever the bar ends. Adam, 24 Oct 2026. v1785 */
@media(max-width:640px){
  .appbar .ver{ display:block !important; position:absolute; right:12px; bottom:1px; font-size:9px; line-height:1; font-weight:800; color:rgba(255,255,255,.9); }
  .gs-res{ top:calc(58px + env(safe-area-inset-top,0px)) !important; }
}
@media(max-width:760px){ .cal-tot, .cal-wkt{ font-size:9.5px !important; letter-spacing:-.2px; } }

/* Sign-in screen on a phone: the card starts below the clock and scrolls if it
   is taller than the screen, instead of hiding its top under the clock.
   Adam, 24 Oct 2026. v1788 */
body:not(.signed-in):has(#signInCard:not([style*="none"])){ justify-content:flex-start !important; padding-top:calc(48px + env(safe-area-inset-top,0px)) !important; }
/* only while signed out - the sign-in screen stays in the page after signing in, hidden, and its room was pushing the top bar down until the app was closed and reopened. Adam, 24 Oct 2026. v1791 */
/* Calendar on a phone: Month / Week / Day as one full-width switch, then the
   arrows with the date between them, then Today, $, Route and Complete all in
   one even row. Adam, 24 Oct 2026. v1788 */
@media(max-width:640px){
  .cal-head{ flex-direction:column !important; align-items:stretch !important; gap:8px !important; }
  .cal-head-l{ display:block !important; }
  .cal-head-l h1{ display:none !important; }
  .cal-seg-wrap{ display:grid !important; grid-template-columns:repeat(3,1fr); width:100%; box-sizing:border-box; }
  .cal-seg{ height:36px; padding:0 !important; font-size:14px !important; }
  .cal-nav{ flex-wrap:wrap !important; gap:8px !important; }
  .cal-nav .cal-arw{ flex:0 0 40px; width:40px; height:40px; }
  .cal-nav .cal-mn{ flex:1 1 calc(100% - 96px); min-width:0 !important; text-align:center; font-size:15px !important; font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .cal-nav .cal-todaybtn{ flex:1 1 0; height:36px; margin:0 !important; padding:0 6px !important; white-space:nowrap; }
}
/* Phones, month view with $ on: each day shows just its date and the day's
   total, big and clear, and each week's total sits on the left. Adam, 24 Oct 2026. v1792 */
@media(max-width:640px){
  .cal-grid8 .cal-svcs, .cal-grid8 .cal-free{ display:none !important; }
  .cal-grid8 .cal-cell{ min-height:58px !important; display:flex !important; flex-direction:column; align-items:center; justify-content:flex-start; gap:4px; padding:5px 2px !important; }
  .cal-grid8 .cal-dn{ position:static !important; }
  .cal-grid8 .cal-tot{ position:static !important; display:block; width:100%; box-sizing:border-box; text-align:center; font-size:12px !important; font-weight:900; letter-spacing:-.2px; color:#1d6e10 !important; background:#e6f6de; border-radius:6px; padding:4px 1px; overflow:visible !important; }
  .cal-grid8 .cal-wkt{ font-size:11.5px !important; font-weight:900; color:#16246b; text-align:center; }
}

/* calendar: after a job is moved, a small card bottom-right to notify the
   customer or crew if wanted. Nothing goes on its own. v1818 */
.calmv{ position:fixed; right:18px; bottom:18px; z-index:9000; background:#fff; border:1px solid #e3e8f4; border-left:5px solid #2547d6; border-radius:14px; box-shadow:0 12px 32px rgba(16,36,107,.2); padding:12px 14px; width:min(340px,calc(100vw - 32px)); font-family:Nunito,system-ui,Arial,sans-serif; }
.calmv-t{ color:#16246b; font-size:14px; margin-bottom:8px; }
.calmv-b{ display:flex; gap:6px; }
.calmv-b button{ height:36px; padding:0 12px; border-radius:9px; border:1px solid #c9d6f5; background:#f4f7ff; color:#2547d6; font:inherit; font-weight:800; font-size:13px; cursor:pointer; }
.calmv-b button[data-mv="x"]{ margin-left:auto; width:36px; padding:0; background:#fff; color:#6b7488; }
.calmv-b button[disabled]{ opacity:.55; }
.calmv-m{ font-size:12.5px; font-weight:700; color:#5b6478; margin-top:6px; }
.calmv-m:empty{ display:none; }
/* the moved-visit card: one row for the customer, one for whoever is assigned. v2028 */
.calmv-t{ display:flex; align-items:center; gap:8px; }
.calmv-x{ margin-left:auto; width:36px; height:36px; border-radius:9px; border:1px solid #c9d6f5; background:#fff; color:#6b7488; font:inherit; font-size:18px; cursor:pointer; flex:none; }
.calmv-r{ display:flex; align-items:center; gap:6px; margin-top:6px; }
.calmv-r[hidden]{ display:none; }
.calmv-l{ flex:1; min-width:0; font-size:13px; font-weight:800; color:#16246b; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.calmv-r button{ height:36px; padding:0 14px; border-radius:9px; border:1px solid #c9d6f5; background:#f4f7ff; color:#2547d6; font:inherit; font-weight:800; font-size:13px; cursor:pointer; }
.calmv-r button[disabled]{ opacity:.55; cursor:default; }

/* ===== the office team card - provider, employee, staff, admin. v1861 ===== */
.ap.oc2{ background:#eef2fa; padding:20px 20px 40px; font-family:Nunito,system-ui,sans-serif; }
.oc2 > *{ max-width:1300px; margin-left:auto; margin-right:auto; }
.oc2-head{ display:flex; flex-wrap:wrap; align-items:center; gap:14px; background:#16246b; color:#fff; border-radius:18px; padding:18px 22px; }
.oc2-back{ width:36px; height:36px; border-radius:10px; border:1px solid rgba(255,255,255,.5); background:transparent; color:#fff; font:inherit; font-size:22px; font-weight:800; cursor:pointer; line-height:1; }
.oc2-av{ width:56px; height:56px; border-radius:50%; background:#fff; color:#16246b; display:flex; align-items:center; justify-content:center; font-weight:900; font-size:20px; object-fit:cover; flex:none; }
.oc2-who{ flex:1 1 240px; min-width:0; display:flex; flex-direction:column; gap:5px; }
.oc2-nm{ font-size:24px; font-weight:900; line-height:1.15; }
.oc2-chips{ display:flex; flex-wrap:wrap; gap:7px; }
.oc2-chip{ background:#2a3a8f; color:#dfe6ff; border-radius:99px; padding:3px 10px; font-size:12.5px; font-weight:800; }
.oc2-chip.g{ background:#57bd34; color:#fff; }
.oc2-chip.b{ background:#2547d6; color:#fff; }
.oc2-chip.p{ background:#7c3aed; color:#fff; }
.oc2-btns{ display:flex; flex-wrap:wrap; gap:8px; }
.oc2-b{ display:inline-flex; align-items:center; height:36px; padding:0 15px; border-radius:10px; border:1px solid #fff; background:transparent; color:#fff; font:inherit; font-weight:800; font-size:14px; text-decoration:none; cursor:pointer; }
.oc2-b.go{ background:#57bd34; border-color:#57bd34; }
.oc2-tabs{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.oc2-t{ height:36px; padding:0 14px; border-radius:10px; border:1px solid #c9d3ee; background:#fff; color:#16246b; font:inherit; font-weight:800; font-size:14px; cursor:pointer; }
.oc2-t.on{ background:#2547d6; border-color:#2547d6; color:#fff; }
.oc2-grid{ display:flex; flex-wrap:wrap; gap:16px; align-items:flex-start; margin-top:14px; }
.oc2-main{ flex:999 1 620px; min-width:0; }
.oc2-main > .tapp{ min-height:640px; }
.oc2-rail{ flex:1 1 280px; min-width:0; display:flex; flex-direction:column; gap:14px; }
.oc2-box{ display:flex; flex-direction:column; gap:8px; width:100%; text-align:left; background:#fff; border:1px solid #e2e8f7; border-radius:16px; padding:16px 18px; font:inherit; color:#1b2440; }
.oc2-click{ cursor:pointer; }
.oc2-click:hover, .oc2-next:hover{ border-color:#2547d6; }
.oc2-box i, .oc2-next i{ font-style:normal; font-weight:800; font-size:13px; color:#2547d6; }
.oc2-bh{ font-size:13px; font-weight:900; color:#16246b; text-transform:uppercase; letter-spacing:.04em; }
.oc2-mut{ color:#6b7590; }
.oc2-next{ display:flex; flex-direction:column; gap:3px; text-decoration:none; color:#1b2440; border:1px solid transparent; border-radius:10px; }
.oc2-next b{ color:#16246b; }
.oc2-next span{ color:#3d4766; }
.oc2-big{ font-size:28px; font-weight:900; color:#16246b; }
.oc2-kv{ display:flex; justify-content:space-between; gap:10px; font-size:14px; color:#3d4766; }
.oc2-kv b{ text-align:right; overflow-wrap:anywhere; }
.oc2-kc{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.oc2-kg{ display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:12px; }
.oc2-k{ background:#f5f8ff; border:1px solid #e2e8f7; border-radius:14px; padding:14px; display:flex; flex-direction:column; gap:3px; }
.oc2-k b{ font-size:26px; font-weight:900; color:#16246b; }
.oc2-k span{ font-weight:800; color:#16246b; }
.oc2-k i{ font-style:normal; font-size:13px; color:#6b7590; }
.oc2-k.bad{ background:#fdf3f3; border-color:#f1c6c6; }
.oc2-k.bad b{ color:#b42318; }
@media (max-width:760px){
  .ap.oc2{ padding:12px 16px 40px; }
  .oc2-head{ padding:14px 16px; }
  .oc2-nm{ font-size:20px; }
  .oc2-tabs{ flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch; padding-bottom:4px; }
  .oc2-t{ flex:none; }
}
/* office card native tabs. v1864 */
.oc2-dl{ display:flex; justify-content:space-between; gap:14px; padding:10px 0; border-top:1px solid #eef1f8; font-size:15px; }
.oc2-dl:first-child{ border-top:0; }
.oc2-dl span{ color:#5a6379; font-weight:700; }
.oc2-dl b{ color:#16246b; text-align:right; overflow-wrap:anywhere; }
.oc2-dl i{ color:#9aa3ba; font-weight:600; }
.oc2-sub{ margin:16px 0 4px; font-size:12.5px; font-weight:900; letter-spacing:.05em; text-transform:uppercase; color:#16246b; }
.oc2-foot{ margin-top:14px; display:flex; gap:8px; flex-wrap:wrap; }
.oc2-panel{ background:#fff; border:1px solid #e2e8f7; border-radius:16px; padding:18px; }
.oc2-wks{ display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:14px; }
.oc2-wk{ border:2px solid #2547d6; border-radius:14px; overflow:hidden; }
.oc2-wk.g{ border-color:#57bd34; }
.oc2-wkh{ background:#2547d6; color:#fff; font-weight:900; padding:9px 14px; }
.oc2-wk.g .oc2-wkh{ background:#57bd34; }
.oc2-day{ display:flex; gap:10px; padding:8px 12px; border-top:1px solid #eef1f8; align-items:flex-start; }
.oc2-dn{ width:40px; flex:none; font-weight:900; color:#16246b; padding-top:6px; }
.oc2-dv{ flex:1; min-width:0; display:flex; flex-direction:column; gap:6px; }
.oc2-blk{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding:8px 10px; background:#f5f8ff; border-radius:10px; }
.oc2-blk b{ color:#16246b; }
.oc2-blk span{ color:#5a6379; font-size:13.5px; flex:1; min-width:120px; }
.oc2-blk.off{ background:#fdf6f6; margin-bottom:6px; }
.oc2-day .oc2-blk{ padding:6px 8px; }
.oc2-off{ color:#9aa3ba; font-weight:700; padding-top:6px; }
.oc2-x{ height:36px; padding:0 12px; border-radius:9px; border:1px solid #f1c6c6; background:#fff; color:#b42318; font:inherit; font-weight:800; font-size:13px; cursor:pointer; margin-left:auto; }
.oc2-x.go{ border-color:#2547d6; background:#2547d6; color:#fff; }
.oc2-chip2{ border-radius:99px; padding:3px 10px; font-size:12px; font-weight:800; background:#f1f3f9; color:#6b7590; }
.oc2-chip2.ok{ background:#eaf6e3; color:#2f7d18; }
.oc2-chip2.ask{ background:#fff4e6; color:#8a5312; }
.oc2-main .tm-form{ margin:0; }
/* no full-width buttons on the office team card at desktop size. v1870 */
@media (min-width:761px){ .oc2 .btn{ width:auto; padding-left:20px; padding-right:20px; } }

/* desktop: no button runs edge to edge. Adam, 31 Oct 2026. v1871 */
@media (min-width:761px){ .btn{ width:auto; padding-left:22px; padding-right:22px; } }
/* the sign-in card is narrow - its buttons go all the way across, like Request service. Adam, 31 Oct 2026. v1874 */
@media (min-width:761px){ #signInCard .btn{ width:100%; } }

/* Past jobs: a visit nobody marked complete - amber edge, a plain pill, and its own button. Adam, 31 Oct 2026. v1874 */
.pj-row.pj-notdone{border-left:4px solid #e8862e;background:#fffaf4}
.pj-ncpill{display:inline-block;background:#fff1e3;color:#b35f12;border:1px solid #f6cfa6;border-radius:999px;padding:0 8px;font-size:.76rem;font-weight:800;line-height:18px}
.pj-mark{height:36px;padding:0 12px;border:0;border-radius:8px;background:#57bd34;color:#fff;font:inherit;font-weight:800;font-size:.8rem;cursor:pointer}
.pj-mark:hover{background:#4aa52b}
.pj-mark:disabled{opacity:.6}

/* Permissions shown inside Settings. v1874 */
.embed-body{ padding:16px; }

/* ONE SLIM ROW on every office list - bold name, one gray line, a chip or
   amount on the right, an arrow. Tap it and its buttons open under it.
   Copied from Jobber and Housecall Pro. Adam, 5 Nov 2026. v1931 */
.mr{ background:#fff; border:1px solid var(--line,#e3e8f2); border-left:4px solid var(--line,#e3e8f2); border-radius:12px; margin:0 0 6px; font-family:Nunito,system-ui,sans-serif; min-width:0; }
.mr.k-w2{ border-left-color:#2547d6; } .mr.k-hc{ border-left-color:#57bd34; } .mr.k-block{ border-left-color:#e8862e; } .mr.k-due{ border-left-color:#e8862e; } .mr.k-royal{ border-left-color:#2547d6; } .mr.k-purple{ border-left-color:#7c3aed; } .mr.k-bad{ border-left-color:#d93636; }
.mr-h{ display:flex; align-items:center; gap:10px; min-height:58px; padding:8px 8px 8px 12px; cursor:pointer; box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
.mr-h:hover{ background:#f7f9fe; border-radius:12px; }
.mr.open > .mr-h{ border-bottom:1px solid var(--line,#e3e8f2); border-radius:12px 12px 0 0; }
.mr-m{ flex:1 1 auto; min-width:0; }
.mr-t{ display:flex; align-items:center; gap:6px; min-width:0; white-space:nowrap; overflow:hidden; }
.mr-t > b{ font-weight:900; color:#16246b; font-size:15px; line-height:1.3; overflow:hidden; text-overflow:ellipsis; min-width:0; flex:0 1 auto; }
.mr-t > span{ flex:none; }
.mr-s{ margin-top:2px; font-size:12.5px; font-weight:700; color:#5b6478; line-height:1.35; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mr-r{ flex:none; display:flex; flex-direction:column; align-items:flex-end; gap:3px; max-width:46%; text-align:right; font-size:12.5px; font-weight:800; color:#5b6478; white-space:nowrap; }
.mr-r b{ color:#16246b; font-weight:900; font-size:14px; }
.mr-c{ flex:none; width:16px; text-align:center; color:#8a94a6; font-size:22px; line-height:1; font-weight:700; transition:transform .15s; }
.mr.open .mr-c{ transform:rotate(90deg); color:#2547d6; }
.mr-x{ padding:10px 12px 12px; display:flex; flex-direction:column; gap:8px; min-width:0; }
.mr-x .mr-line{ font-size:12.5px; font-weight:700; color:#5b6478; line-height:1.45; overflow-wrap:anywhere; }
.mr-x .mr-line b{ color:#16246b; }
.mr-acts{ display:flex; flex-wrap:wrap; gap:6px; }
.mr-acts > a, .mr-acts > button{ height:36px; min-height:36px; display:inline-flex; align-items:center; justify-content:center; text-decoration:none; box-sizing:border-box; white-space:nowrap; }
.mr-chip{ display:inline-flex; align-items:center; height:22px; padding:0 9px; border-radius:999px; font-size:11.5px; font-weight:900; background:#eef1f6; color:#16246b; white-space:nowrap; max-width:100%; overflow:hidden; text-overflow:ellipsis; }
.mr-chip.c-bad{ background:#fdecea; color:#b5342f; } .mr-chip.c-ok{ background:#e7f6df; color:#2f7d18; } .mr-chip.c-warn{ background:#fdeede; color:#a85413; }
.mr-chip.c-royal{ background:#e6ecfe; color:#2547d6; } .mr-chip.c-purple{ background:#ede7fd; color:#7c3aed; } .mr-chip.c-teal{ background:#e3f4f7; color:#0b5566; }
.mr-t .mr-chip{ height:20px; font-size:11px; padding:0 7px; }
.mr-lead{ flex:none; display:flex; align-items:center; }
@media (max-width:760px){
  .mr-acts > a, .mr-acts > button{ flex:1 1 calc(33% - 6px); min-width:0; padding:0 8px; font-size:13px; }
}
/* one compact bar of sort buttons that scrolls sideways inside itself, never the page */
.mr-bar{ display:flex; align-items:center; gap:6px; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding:2px 0 6px; margin:4px 0 6px; }
.mr-bar::-webkit-scrollbar{ display:none; }
.mr-bar > *{ flex:none; }

/* Approvals, Team and Reviews on a phone: the name and one line, the date on the
   right, the buttons one tap away behind ⋯ (or the top line on Reviews).
   Pressing an approval still opens the whole request, with Approve and Deny
   on it. Adam, 5 Nov 2026. v1931 */
.rq-dots{ display:none; }
@media (max-width:760px){
  .rq-l{ flex-wrap:wrap; gap:6px 10px; padding:8px 8px 8px 12px; }
  .rq-l .rq-mid{ flex:1 1 0; min-width:0; }
  .rq-l .rq-who{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:15px; }
  .rq-l .rq-mid > .rq-sum ~ .rq-sum{ display:none; }
  .rq-l.mr-on .rq-mid > .rq-sum ~ .rq-sum{ display:flex; }
  .rq-l .rq-when{ display:block; flex:none; font-size:12px; font-weight:700; }
  .rq-dots{ display:inline-flex; flex:none; width:36px; height:36px; align-items:center; justify-content:center; border:1px solid var(--line); border-radius:9px; background:#fff; color:var(--royal); font-size:20px; font-weight:900; cursor:pointer; padding:0; }
  .rq-l.mr-on .rq-dots{ background:#eef2ff; border-color:var(--royal); }
  .rq-l:not(.mr-on) .rq-btns, .rq-l:not(.mr-on) .rq-note{ display:none; }
  .rq-l.mr-on .rq-btns{ flex-basis:100%; }

  .tl-r{ flex-wrap:wrap; padding-right:6px; }
  .tl-main{ flex:1 1 0; flex-basis:0; min-width:0; padding:8px 4px 8px 12px; }
  .tl-nm{ display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .tl-acts{ flex:none; flex-basis:auto; border-top:0; padding:0; }
  .tl-r:not(.mr-on) .tl-acts .tl-a{ display:none; }
  .tl-ar{ width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--line); border-radius:9px; color:var(--royal); font-size:0; padding:0; cursor:pointer; background:#fff; }
  .tl-ar::before{ content:'\22EF'; font-size:20px; font-weight:900; }
  .tl-r.mr-on .tl-ar{ background:#eef2ff; border-color:var(--royal); }
  .tl-r.mr-on .tl-acts{ flex-basis:100%; display:flex; flex-wrap:wrap; justify-content:flex-end; border-top:1px solid var(--line); padding:4px 0 6px; }
  .tl-r.mr-on .tl-acts .tl-a{ height:36px; }
}
.mr{ width:100%; box-sizing:border-box; flex:1 1 100%; }
@media (max-width:760px){
  .rq-l .rq-when{ max-width:92px; white-space:normal; text-align:right; font-size:11px; line-height:1.25; }
}
@media (max-width:760px){
  /* a long label like Skip this season gets the room it needs instead of spilling out. v1931 */
  .mr-acts > a, .mr-acts > button{ flex:1 1 auto; min-width:calc(33.3% - 4px); }
  /* an open team row keeps ⋯ on the name line, the three buttons under it */
  .tl-r.mr-on .tl-acts{ display:contents; }
  .tl-r.mr-on .tl-main{ flex:1 1 calc(100% - 52px); }
  .tl-r.mr-on .tl-ar{ order:2; }
  .tl-r.mr-on .tl-a{ order:3; flex:1 1 auto; height:36px; }
  .tl-r.mr-on{ padding-bottom:6px; }
}
/* Team on a phone: one tag at most after the name, never a cut one; "Not signed
   in yet" sits in the gray line in red. The four add buttons are one "+ Add"
   that opens a small menu. Adam, 5 Nov 2026. v1931 */
.tm-addbtn{ display:none; }
@media (max-width:760px){
  .tl-nm .tl-ok, .tl-nm .tl-warn{ display:none; }
  .tl-nm{ text-overflow:clip; }
  .tl-sub .tl-nsi{ color:#a3253f; font-weight:800; }
  .tm-addrow{ position:relative; display:flex !important; flex-direction:column; align-items:flex-start; gap:6px; }
  .tm-addbtn{ display:inline-flex; align-items:center; justify-content:center; height:36px; padding:0 18px; border:0; border-radius:10px; background:#2547d6; color:#fff; font:inherit; font-weight:800; font-size:14px; cursor:pointer; }
  .tm-addrow > .btn{ display:none; }
  .tm-addrow.mr-on > .btn{ display:flex; align-items:center; justify-content:flex-start; width:220px; height:36px; min-height:36px; padding:0 14px; font-size:14px; margin:0; }
  .tm-addrow.mr-on{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:8px; box-shadow:0 8px 24px rgba(22,36,107,.12); }
}
@media (max-width:760px){
  /* the kind of request ("Pay change") always shows whole; the name gives way */
  .rq-l .rq-who{ display:flex; align-items:center; min-width:0; }
  .rq-l .rq-who em{ flex:none; margin-left:6px; }
  .rq-l .rq-who{ text-overflow:clip; }
  .rq-l .rq-when{ max-width:none; white-space:nowrap; }
}
@media (max-width:760px){ .rq-l .rq-who .rq-nmx{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } }

/* Team form (new provider, employee, staff, admin) - compact. Several fields to a
   row on a computer, two on a tablet, one on a phone. Every box 36px, short boxes
   sized to what goes in them, Save / Cancel stays in view at the bottom.
   Sized by the form's own width so it fits the Team page and the person card.
   Adam, 5 Nov 2026. v1933 */
.tm-form{ container-type:inline-size; container-name:tmform; }
.tm-form .tm-g{ display:grid; grid-template-columns:minmax(0,1fr); gap:10px 12px; margin:0 0 4px; align-items:start; }
.tm-form .tm-c{ min-width:0; }
.tm-form .tm-c .add-lab{ margin:0 0 4px; font-size:12.5px; }
.tm-form .tm-c .field{ height:36px; min-height:36px; margin:0; padding:0 11px; font-size:14px; border-radius:9px; box-sizing:border-box; }
.tm-form .tm-c select.field{ padding-right:28px; }
.tm-form .tm-c .tm-note{ margin:4px 0 0; font-size:12px; }
.tm-form .tm-c .ms-addr{ margin:0 0 6px; }
.tm-form .tm-cnote{ margin-top:-4px; }
.tm-form .tm-sec{ margin:18px 0 10px !important; padding:9px 14px !important; }
.tm-form > .sec-title{ margin-bottom:12px !important; }
.tm-form .tm-roles{ gap:8px; }
.tm-form .tm-role{ padding:8px 10px; }
.tm-form .tm-role i{ font-size:11.5px; line-height:1.35; }
.tm-form .tm-send, .tm-form .tm-has{ margin-top:12px; padding:8px 12px; min-height:36px; box-sizing:border-box; }
.tm-form .tm-bar{ position:sticky; bottom:0; z-index:6; background:#fff; margin:12px -2px 0; padding:10px 2px calc(10px + env(safe-area-inset-bottom,0px)); border-top:1px solid var(--line); box-shadow:0 -8px 16px -12px rgba(22,36,107,.25); }
.tm-form .tm-bar .btn{ height:36px; min-height:36px; padding:0 22px; font-size:14px; line-height:1; flex:0 0 auto; min-width:120px; }
@container tmform (min-width:560px){
  .tm-form .tm-g{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tm-form .tm-s12{ grid-column:1 / -1; }
  .tm-form .tm-roles{ grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
}
@container tmform (min-width:900px){
  .tm-form .tm-g{ grid-template-columns:repeat(12,minmax(0,1fr)); }
  .tm-form .tm-s2{ grid-column:span 2; }
  .tm-form .tm-s3{ grid-column:span 3; }
  .tm-form .tm-s4{ grid-column:span 4; }
  .tm-form .tm-s12{ grid-column:1 / -1; }
  .tm-form .tm-roles{ grid-template-columns:repeat(5,minmax(0,1fr)) !important; }
}
@container tmform (max-width:559px){
  .tm-form .tm-roles{ grid-template-columns:minmax(0,1fr) !important; }
  .tm-form .tm-bar .btn{ flex:1 1 0; min-width:0; }
}

/* DAY VIEW, TIME DOWN THE SIDE - a column per person, the way Jobber, Housecall
   Pro and ServiceTitan lay out the day: group names, then each person's name,
   visits and hours pinned at the top; the hours pinned down the left with a
   solid line every hour and a light one every half hour; the Anytime work at
   the top of its own column; a red line for now; the Block group ending in the
   morning and afternoon slots. On a phone only the grid slides sideways.
   Adam, 6 Nov 2026. v1947 */
.tdv-wrap{ margin:0 0 14px; max-width:100%; min-width:0; }
.tdv-bar{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; margin:0 0 8px; }
.tdv-sum{ font-size:13px; font-weight:800; color:#16246b; }
.tdv-open{ color:#6b7488; }
.tdv-mode{ margin:0; }
.tdv-mode .cs-b{ min-height:36px; }
.tdv-scroll{ position:relative; overflow:auto; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; max-height:calc(100vh - 150px); min-height:420px; max-width:100%; border:1px solid var(--line); border-radius:14px; background:#fff; }
.tdv-head{ display:grid; position:sticky; top:0; z-index:8; background:#fff; border-bottom:1px solid #c9d3ea; min-width:min-content; box-shadow:0 2px 6px rgba(22,36,107,.06); }
.tdv-corner{ position:sticky; left:0; z-index:3; background:#fff; border-right:1px solid var(--line); }
.tdv-gh{ height:24px; display:flex; align-items:center; background:#f7f8fc; border-bottom:1px solid #e3e7f1; border-left:1px solid #e3e7f1; min-width:0; overflow:hidden; }
.tdv-gh span{ position:sticky; left:52px; padding:0 10px; font-size:10.5px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; }
.tdv-gh-none span{ color:#5d6784; } .tdv-gh-w2 span{ color:#2547d6; } .tdv-gh-hc span{ color:#3a8f1f; } .tdv-gh-blk span{ color:#c96a12; }
.tdv-gc{ background:#f7f8fc; border-bottom:1px solid #e3e7f1; }
.tdv-ch{ padding:6px 10px 6px; border-left:1px solid var(--line); border-top:4px solid #c9cfdb; min-width:0; border-bottom:1px solid #eef1f7; }
.tdv-ch b{ display:block; font-size:13px; font-weight:900; color:#16246b; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; line-height:1.3; }
.tdv-ch span{ display:block; font-size:11px; font-weight:800; color:#6b7488; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.tdv-ch-w2{ border-top-color:#2547d6; } .tdv-ch-hc{ border-top-color:#57bd34; } .tdv-ch-blk{ border-top-color:#e8862e; } .tdv-ch-all{ border-top-color:#16246b; }
.tdv-ch-none{ border-top-color:#b8bfcc; background:#f6f7f9; }
.tdv-ch-slots{ background:#fffaf3; }
.tdv-cc{ border-bottom:1px solid #eef1f7; }
.tdv-anyl{ display:flex; align-items:flex-start; justify-content:flex-end; box-sizing:border-box; padding:7px 5px 0 0; font-size:9.5px; font-weight:900; color:#6b7488; text-transform:uppercase; letter-spacing:0; line-height:1.2; text-align:right; white-space:normal; overflow:hidden; }
.tdv-ac{ min-width:0; min-height:36px; max-height:92px; overflow-y:auto; box-sizing:border-box; padding:4px; border-left:1px solid var(--line); background:#fbfcfe; display:flex; flex-direction:column; gap:3px; }
.tdv-ac-empty{ background:#fff; }
.tdv-ac-slots{ background:#fffaf3; }
.tdv-ac .tdv-chip, .tdv-band .tdv-chip{ position:relative; left:auto; top:auto; width:auto; height:auto; max-width:100%; min-width:0; box-sizing:border-box; flex:none; padding:3px 7px; }
.tdv-ac .tdv-chip b, .tdv-band .tdv-chip b{ font-size:11.5px; -webkit-line-clamp:2; }
.tdv-ac .tdv-chip .sjb-cr{ display:none; }
.tdv-ac .tdv-chip.tdv-chipcr .sjb-cr, .tdv-band .tdv-chip .sjb-cr{ display:block; font-size:10.5px; font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.tdv-body{ display:grid; position:relative; min-width:min-content; }
.tdv-gut{ position:sticky; left:0; z-index:5; background:#fff; border-right:1px solid var(--line); }
.tdv-hl{ position:absolute; right:6px; transform:translateY(-50%); font-size:11px; font-weight:800; color:#4a5470; white-space:nowrap; line-height:1; background:#fff; padding:1px 0; }
.tdv-hl.tdv-hl0{ transform:none; top:3px !important; }
.tdv-col{ position:relative; border-left:1px solid #e3e8f2; box-sizing:border-box;
  background-image:linear-gradient(to bottom, #d5ddeb 0, #d5ddeb 1px, transparent 1px),
    linear-gradient(to bottom, #eef1f7 0, #eef1f7 1px, transparent 1px);
  background-repeat:repeat-y, repeat-y;
  background-position:0 0, 0 32px;
  background-size:100% 64px, 100% 64px; }
.tdv-col-none{ background-color:#fafbfc; }
.tdv-col.tdv-today{ background-color:#fbfcff; }
.tdv-bcol{ background-color:#fffdf9; }
.tdv-band{ position:absolute; left:4px; right:4px; box-sizing:border-box; border:1px dashed #f0c48c; border-radius:10px; background:#fff6ea; padding:5px; display:flex; flex-direction:column; gap:3px; overflow:hidden; z-index:1; }
.tdv-band.cal-drop{ background:#ffefdc !important; outline:none; border-style:solid; }
.tdv-bl{ flex:none; font-size:10.5px; font-weight:900; color:#8a5b12; text-transform:uppercase; letter-spacing:.03em; }
.tdv-bl i{ font-style:normal; display:inline-block; min-width:16px; padding:0 5px; border-radius:8px; background:#e8862e; color:#fff; text-align:center; font-size:10px; }
.tdv-bc{ flex:1 1 auto; min-height:0; overflow-y:auto; display:flex; flex-direction:column; gap:3px; }
.tdv-bnone{ font-size:11px; font-weight:700; color:#b58a52; }
.tdv-now{ position:absolute; right:0; height:2px; background:#e53935; z-index:4; pointer-events:none; margin-top:-1px; }
.tdv-now:before{ content:''; position:absolute; left:-1px; top:-4px; width:10px; height:10px; border-radius:50%; background:#e53935; }
.tdv-ev{ position:absolute; box-sizing:border-box; overflow:hidden; padding:4px 7px; border-radius:7px; min-width:0; line-height:1.25; display:flex; flex-direction:column; justify-content:flex-start; align-items:stretch; text-align:left; gap:1px; z-index:2; }
.tdv-ev:hover{ z-index:6; }
.tdv-ev .tdv-t{ display:block; font-size:10.5px; font-weight:800; opacity:.8; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.tdv-ev b{ display:block; font-size:12.5px; font-weight:900; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; line-height:1.25; }
.tdv-ev .tdv-who{ display:block; font-size:11.5px; font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.tdv-ev .tdv-ad{ display:block; font-size:10.5px; font-weight:700; opacity:.78; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.tdv-ev .tdv-cr{ display:block; font-size:10.5px; font-weight:800; color:#16246b; opacity:.85; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.tdv-ev .tdv-cr i{ font-style:normal; color:#6b7488; }
.tdv-ev .sjb-win{ margin-top:0; }
.tdv-ev.tdv-sm{ flex-direction:row; flex-wrap:wrap; align-content:flex-start; column-gap:5px; padding-top:2px; }
.tdv-ev.tdv-sm .tdv-cr, .tdv-ev.tdv-sm .sjb-win, .tdv-ev.tdv-sm .tdv-ad{ display:none; }
.tdv-ev.tdv-xs{ flex-direction:row; flex-wrap:nowrap; align-items:center; column-gap:5px; padding-top:0; padding-bottom:0; }
.tdv-ev.tdv-xs .tdv-who, .tdv-ev.tdv-xs .tdv-cr, .tdv-ev.tdv-xs .sjb-win, .tdv-ev.tdv-xs .tdv-ad{ display:none; }
.tdv-ev.tdv-xs b{ font-size:11px; }
.tdv-ev.tdv-sm .tdv-t, .tdv-ev.tdv-xs .tdv-t{ flex:0 0 auto; }
.tdv-ev.tdv-sm b, .tdv-ev.tdv-xs b{ flex:0 1 auto; min-width:0; }
/* nobody on it yet: neutral gray, the kind of work shown by the left edge */
.sjb.tdv-noone{ background:#f1f3f6; border-color:#cdd3dd; }
.sjb.tdv-noone b, .sjb.tdv-noone span{ color:#3d4558; }
.sjb-w2.tdv-noone{ border-left:3px solid #2547d6; } .sjb-hc.tdv-noone{ border-left:3px solid #57bd34; }
@media(max-width:760px){
  .tdv-scroll{ max-height:calc(100vh - 90px); min-height:360px; }
  .tdv-gh span{ left:46px; }
  .tdv-ch{ padding:5px 7px; }
  .tdv-ch b{ font-size:12px; }
  .tdv-ch span{ font-size:10.5px; }
  .tdv-anyl{ font-size:9px; padding-right:4px; }
  .tdv-ac{ max-height:76px; }
  .tdv-hl{ right:4px; font-size:10px; }
  .tdv-ev{ padding:3px 5px; }
  .tdv-ev b{ font-size:11.5px; }
  .tdv-ev .tdv-who{ font-size:11px; }
  .tdv-ev .tdv-t, .tdv-ev .tdv-cr, .tdv-ev .tdv-ad{ font-size:10px; }
}
/* THE WEEK: each day's note under its date, the block schedule in its own
   strip under the hours. The note looks like the day view's note and is typed
   into in place. Adam, 6 Nov 2026. v1947 */
.wk-lbl.wk-notelbl{ background:#fffbea; color:#8a6d12; border-bottom:1px solid #f1e3a6; }
.wk-notecell{ position:relative; min-width:0; padding:3px; box-sizing:border-box; border-bottom:1px solid #f1e3a6; border-left:2px solid #c9d3ea; background:#fffdf3; }
.wk-notecell.wk-alt{ background:#fffbea; }
.wk-note, .ag-note{ display:block; width:100%; min-height:36px; height:36px; max-height:96px; box-sizing:border-box; resize:none; margin:0; border:1px solid transparent; border-radius:8px; background:transparent; font-family:Nunito,system-ui,Arial,sans-serif; font-size:12px; font-weight:700; color:#1a2235; line-height:1.35; padding:8px 7px; outline:none; overflow:auto; }
.wk-note::placeholder, .ag-note::placeholder{ color:#b9a65f; font-weight:800; }
.wk-note:not(:placeholder-shown), .ag-note:not(:placeholder-shown){ background:#fff6c7; border-color:#f1e3a6; }
.wk-note:hover, .ag-note:hover{ border-color:#f1e3a6; background:#fffef5; }
.wk-note:focus, .ag-note:focus{ border-color:#d9c25c; background:#fff; box-shadow:0 0 0 3px rgba(241,227,166,.55); }
.wk-note:disabled, .ag-note:disabled{ cursor:default; background:transparent; }
.cal-nst{ position:absolute; right:7px; bottom:4px; font-size:9.5px; line-height:1; min-width:0; pointer-events:none; }
.wk-blkhead{ grid-column:1 / -1; height:26px; display:flex; align-items:center; background:#fff3e2; border-top:2px solid #f0c48c; border-bottom:1px solid #f0c48c; }
.wk-blkhead span{ position:sticky; left:0; padding:0 10px; font-size:11px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; color:#c96a12; }
/* phone week list: the note under each date, the block slots last */
.ag-notewrap{ position:relative; margin:0 0 6px; }
.ag-blkh{ margin:8px 0 4px; padding:4px 8px; border-radius:7px; background:#fff3e2; font-size:10.5px; font-weight:900; letter-spacing:.05em; text-transform:uppercase; color:#c96a12; }
/* the calendar inside another screen (window.ocEmbed) */
.oc-embed{ font-family:Nunito,system-ui,Arial,sans-serif; min-width:0; max-width:100%; }
.oc-bar{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; margin:0 0 8px; }
.oc-nav{ display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.oc-nav .cal-arw, .oc-nav .cal-todaybtn, .oc-views .cs-b{ min-height:36px; height:36px; }
.oc-title{ font-size:15px; font-weight:900; color:#16246b; padding:0 4px; }
.oc-views{ margin:0; }
.oc-key{ font-size:12px; font-weight:800; color:#16246b; display:inline-flex; align-items:center; gap:6px; }
.oc-key:before{ content:''; width:12px; height:12px; border-radius:3px; background:#e4ecff; border:2px solid #2547d6; }
.oc-embed .oc-faint{ opacity:.28; filter:grayscale(.7); }
.oc-embed .oc-faint:hover{ opacity:.75; filter:none; }
.oc-embed .sjb.oc-hit{ box-shadow:0 0 0 2px #2547d6, 0 3px 10px rgba(37,71,214,.25); z-index:3; }
.oc-embed .cal-svc.oc-hit{ outline:2px solid #2547d6; outline-offset:-1px; }
.oc-embed.oc-nodrag [data-jid]{ cursor:pointer; }
.oc-embed.oc-nodrag .wk-ev[data-jid]:after{ display:none; }
/* iPhone app: every pop-up starts below the blue clock/notch strip, so its top
   (title, Close) is never buried. Adam, 5 Nov 2026. v1936 */
.dax-ov, .hs-ov, .opx-ov, .rqd-ov, .rn-ov, .rtx-ov, .svx-ov, .dht-ov, .ro-ov, .td-pop, .dh-3d{ padding-top:max(12px, env(safe-area-inset-top,0px)) !important; box-sizing:border-box; }
/* THE DAY ON A PHONE: one list, by time. Up next marks the first visit not
   done; done visits stay in place, faded, with the green bar. Adam, 7 Nov 2026. v1951 */
.dr-wrap{ font-family:Nunito,system-ui,Arial,sans-serif; }
.dr-sum{ font-size:13px; font-weight:700; color:var(--muted); margin:0 0 8px; }
.dr-sum b{ color:var(--navy); font-weight:900; }
.dr-sdone{ color:#2f7d18; font-weight:800; }
.dr-sopen{ color:#5d6578; font-weight:800; }
.dr-list{ list-style:none; margin:0; padding:0; background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; }
.dr-row{ position:relative; padding:10px 12px 10px 15px; border-top:1px solid var(--line); }
.dr-row:first-child{ border-top:0; }
.dr-row:before{ content:''; position:absolute; left:0; top:0; bottom:0; width:4px; background:transparent; }
.dr-row.dr-next{ background:#f4f7ff; }
.dr-row.dr-next:before{ background:var(--royal); }
.dr-row.dr-done:before{ background:#57bd34; }
.dr-row.dr-done{ background:#fafcf8; }
.dr-row.dr-done .dr-top, .dr-row.dr-done .dr-who, .dr-row.dr-done .dr-addr, .dr-row.dr-done .dr-crew{ opacity:.55; }
.dr-top{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; }
.dr-time{ font-size:15px; font-weight:900; color:var(--navy); letter-spacing:-.01em; }
.dr-flag{ font-size:11px; font-weight:900; text-transform:uppercase; letter-spacing:.6px; color:#fff; background:var(--royal); border-radius:999px; padding:2px 9px; }
.dr-donet{ font-size:12px; font-weight:900; color:#2f7d18; }
.dr-donet:before{ content:'✓ '; }
.dr-row.dr-done .dr-top{ opacity:1; }
.dr-row.dr-done .dr-time{ opacity:.55; }
.dr-win{ font-size:12px; font-weight:700; color:var(--muted); }
.dr-who{ display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 8px; margin-top:2px; }
.dr-who b{ font-size:15px; font-weight:800; color:var(--ink); }
.dr-svc{ font-size:13px; font-weight:700; color:#4a5367; }
.dr-dot{ display:inline-block; width:8px; height:8px; border-radius:50%; margin-right:5px; vertical-align:1px; background:var(--svc-w2); }
.dr-hc .dr-dot{ background:var(--svc-hc); }
.dr-blk .dr-dot{ background:var(--svc-blk); }
.dr-addr{ margin-top:1px; font-size:13px; font-weight:600; color:#4a5367; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dr-crew{ display:flex; flex-wrap:wrap; gap:5px; margin-top:6px; }
.dr-chip{ display:inline-flex; align-items:center; height:26px; padding:0 10px; border-radius:999px; font-size:12.5px; font-weight:800; border:1px solid; }
.dr-chip-w2{ background:var(--svc-w2-bg); border-color:var(--svc-w2-br); color:var(--svc-w2-tx); }
.dr-chip-hc{ background:var(--svc-hc-bg); border-color:var(--svc-hc-br); color:var(--svc-hc-tx); }
.dr-chip-blk{ background:var(--svc-blk-bg); border-color:var(--svc-blk-br); color:var(--svc-blk-tx); }
.dr-chip-none{ background:#f1f3f7; border-color:#d9dee8; color:#5d6578; }
.dr-acts{ display:flex; gap:6px; margin-top:7px; }
.dr-b{ position:relative; display:inline-flex; align-items:center; justify-content:center; height:36px; padding:0 8px; border-radius:10px; border:1px solid #cdd7f5; background:#eef2ff; color:var(--royal); font:inherit; font-size:13.5px; font-weight:800; text-decoration:none; cursor:pointer; white-space:nowrap; flex:0 0 auto; }
.dr-b:after{ content:''; position:absolute; left:0; right:0; top:-4px; bottom:-4px; }   /* 44px to the finger, 36px to the eye */
.dr-acts .dr-b{ flex:1 1 0; }
.dr-b.dr-assign{ background:var(--royal); border-color:var(--royal); color:#fff; }
.dr-b:active{ transform:translateY(1px); }

/* ===== CALENDAR v1952 =====================================================
   Crew colors on every block, the taller week, the phone day three ways
   (time down, time across, list), Full screen with a Filters panel, and the
   calendar using the whole width and height. Adam, 7 Nov 2026. v1952 */
.app-main.cal-main{ max-width:none !important; padding-left:20px; padding-right:20px; }
.app-main.cal-full{ padding-top:14px; }
.cal-full .cal-head{ margin-bottom:10px; }
.cal-todaybtn svg{ width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; margin-right:6px; vertical-align:-3px; flex:none; }
.cal-fsbtn, .cal-fltbtn{ display:inline-flex; align-items:center; white-space:nowrap; }
.cal-fcnt{ font-style:normal; display:inline-flex; align-items:center; justify-content:center; min-width:18px; height:18px; padding:0 5px; margin-left:6px; border-radius:9px; background:#e8862e; color:#fff; font-size:11px; font-weight:900; box-sizing:border-box; }
/* the Filters panel - slides in from the right, from the bottom on a phone */
.cal-fov{ position:fixed; inset:0; z-index:9000; background:rgba(16,36,107,.26); }
.cal-fp{ position:fixed; top:0; right:0; bottom:0; z-index:9001; width:400px; max-width:92vw; background:#fff; box-shadow:-16px 0 40px rgba(16,36,107,.22); display:flex; flex-direction:column; font-family:Nunito,system-ui,Arial,sans-serif; }
.cal-fp-h{ display:flex; align-items:center; justify-content:space-between; padding:14px 16px; border-bottom:1px solid var(--line); }
.cal-fp-h b{ font-size:18px; font-weight:900; color:#16246b; }
.cal-fp-x{ height:36px; padding:0 16px; border-radius:10px; border:1px solid #2547d6; background:#2547d6; color:#fff; font:inherit; font-weight:800; cursor:pointer; }
.cal-fp-b{ flex:1 1 auto; overflow:auto; padding:6px 16px 20px; }
.cal-fp-s{ padding:12px 0; border-bottom:1px solid #eef1f7; }
.cal-fp-s:last-child{ border-bottom:0; }
.cal-fp-s > i{ display:block; font-style:normal; font-size:11px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; color:#6b7488; margin:0 0 8px; }
.cal-fp .cal-show, .cal-fp .cal-filter, .cal-fp .cal-orient{ margin:0; }
.cal-fp .cal-show, .cal-fp .cf-row{ flex-wrap:wrap; overflow:visible; }
.cal-fp .cal-defrow{ margin:0; }
.cal-fov.cal-fp-in{ animation:calFade .18s ease; }
.cal-fp.cal-fp-in{ animation:calSlide .22s ease; }
@keyframes calFade{ from{ opacity:0; } to{ opacity:1; } }
@keyframes calSlide{ from{ transform:translateX(100%); } to{ transform:none; } }
@keyframes calSlideUp{ from{ transform:translateY(100%); } to{ transform:none; } }

/* crew colors: the person's color, or the role color until one is picked */
.sjb-w2.cc{ --cc:#2547d6; } .sjb-hc.cc{ --cc:#57bd34; } .sjb-blk.cc{ --cc:#e8862e; }
.sjb.cc{ background:#eef2ff; background:color-mix(in srgb, var(--cc) 15%, #fff); border-color:#cdd7f5; border-color:color-mix(in srgb, var(--cc) 40%, #fff); border-left:4px solid var(--cc); }
.sjb.cc b, .sjb.cc span, .sjb.cc strong{ color:#16246b; color:color-mix(in srgb, var(--cc) 28%, #0f1733); }
.sjb.cc-none{ background:#f1f3f6; border-color:#d3d8e2; border-left:4px solid #a9b1c1; }
.sjb.cc-none b, .sjb.cc-none span, .sjb.cc-none strong{ color:#3d4558; }
.sjb.cc-amber{ background:#fff4dc; border:1px dashed #e8a33d; border-left:4px solid #e8a33d; }
.sjb.cc-amber b, .sjb.cc-amber span, .sjb.cc-amber strong{ color:#6e4505; }
.sjb.cc .sjb-win, .sjb.cc-none .sjb-win, .sjb.cc-amber .sjb-win, .sjb .e-a{ color:#7c3aed; }
.sjb.cc .sjb-rn, .sjb.cc-none .sjb-rn, .sjb.cc-amber .sjb-rn{ color:#fff; }
.tdv-ch-w2.ccv, .pax-k-w2.ccv{ --cc:#2547d6; } .tdv-ch-hc.ccv, .pax-k-hc.ccv{ --cc:#57bd34; } .tdv-ch-blk.ccv, .pax-k-blk.ccv{ --cc:#e8862e; }
.tdv-ch.ccv{ border-top-color:var(--cc); }
.tdv-dot{ display:inline-block; width:10px; height:10px; border-radius:50%; margin-right:6px; vertical-align:0; }
.tdv-col{ background-position:0 0, 0 calc(var(--px,64px) / 2); background-size:100% var(--px,64px), 100% var(--px,64px); }

/* one block: time, customer, who, service, town, arrival - as much as fits */
.sjb.ev2{ position:absolute; box-sizing:border-box; padding:3px 6px 3px 7px; border-radius:7px; overflow:hidden; display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-start; gap:1px; line-height:1.22; z-index:2; min-width:0; text-align:left; }
.sjb.ev2:hover{ z-index:6; box-shadow:0 4px 14px rgba(22,36,107,.2); filter:none; }
.ev2 > *{ max-width:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; flex:none; display:block; }
.sjb.ev2 .e-t{ font-size:11px; font-weight:800; opacity:.9; }
.sjb.ev2 .e-c{ font-size:13px; font-weight:900; }
.sjb.ev2 .e-s{ font-size:11.5px; font-weight:700; }
.sjb.ev2 .e-w{ font-size:11px; font-weight:700; opacity:.8; }
.sjb.ev2 .e-a{ font-size:11px; font-weight:800; }
.e-ok{ font-style:normal; color:#2f7d18; font-weight:900; margin-right:3px; }
.e-ns{ display:flex !important; gap:3px; flex-wrap:nowrap; overflow:hidden; max-width:100%; margin:1px 0; }
.sjb span.e-n, span.e-n{ display:inline-block; font-size:10.5px; font-weight:900; line-height:17px; height:17px; padding:0 7px; border-radius:999px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; flex:0 1 auto; min-width:0; max-width:100%; opacity:1; }
.sjb span.e-n.e-none, span.e-n.e-none{ background:#dfe3ea; color:#3d4558; }
.sjb span.e-n.e-amber, span.e-n.e-amber{ background:#e8a33d; color:#fff; }
.sjb.ev2.ev-sm{ flex-direction:row; flex-wrap:wrap; align-content:flex-start; column-gap:5px; row-gap:1px; padding-top:2px; padding-bottom:1px; }
.sjb.ev2.ev-sm > *{ display:none; }
.sjb.ev2.ev-sm .e-t, .sjb.ev2.ev-sm .e-c{ display:block; flex:0 1 auto; min-width:0; }
.sjb.ev2.ev-sm .e-t{ flex:none; }
.sjb.ev2.ev-sm .e-ns{ display:flex !important; flex-basis:100%; margin:0; }
.sjb.ev2.ev-xs{ flex-direction:row; flex-wrap:nowrap; align-items:center; column-gap:5px; padding-top:0; padding-bottom:0; }
.sjb.ev2.ev-xs > *{ display:none; }
.sjb.ev2.ev-xs .e-t, .sjb.ev2.ev-xs .e-c{ display:block; }
.sjb.ev2.ev-xs .e-t{ flex:none; }
.sjb.ev2.ev-thin{ padding-left:5px; padding-right:3px; }
.sjb.ev2.ev-thin .e-t{ font-size:10px; } .sjb.ev2.ev-thin .e-c{ font-size:11.5px; }
.sjb.ev2.ev-thin span.e-n{ font-size:9.5px; padding:0 5px; }
/* a visit with no clock time */
.sjb.ch2{ position:relative; left:auto; top:auto; width:auto; height:auto; display:flex; flex-direction:column; gap:2px; padding:4px 7px; border-radius:8px; min-width:0; max-width:100%; box-sizing:border-box; flex:none; }
.ch2 .e-l1, .ch2 .e-l2{ display:flex; align-items:center; gap:5px; min-width:0; max-width:100%; overflow:hidden; white-space:nowrap; }
.sjb.ch2 .e-t{ font-size:10.5px; font-weight:900; flex:none; opacity:.85; }
.sjb.ch2 .e-c{ font-size:12.5px; font-weight:900; flex:none; }
.sjb.ch2 .e-s{ font-size:11.5px; font-weight:700; overflow:hidden; text-overflow:ellipsis; min-width:0; }
.sjb.ch2 .e-w{ font-size:11px; font-weight:700; opacity:.8; overflow:hidden; text-overflow:ellipsis; min-width:0; }
.ch2 .e-ns{ flex:none; max-width:70%; margin:0; }

/* THE WEEK - days across, hours down, the hours tall enough to read */
.wk2{ margin:0 0 14px; min-width:0; max-width:100%; }
.wk2-scroll{ position:relative; overflow:auto; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; border:1px solid var(--line); border-radius:14px; background:#fff; max-height:calc(100vh - 150px); min-height:460px; }
.wk2-head{ display:grid; position:sticky; top:0; z-index:8; background:#fff; min-width:min-content; border-bottom:1px solid #c9d3ea; box-shadow:0 3px 8px rgba(22,36,107,.07); }
.wk2-corner{ position:sticky; left:0; z-index:3; background:#fff; border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:center; }
.wk2-dh{ display:flex; flex-direction:column; align-items:center; gap:1px; padding:7px 4px 6px; border-left:1px solid #dfe5f1; border-bottom:1px solid var(--line); cursor:pointer; min-width:0; }
.wk2-dh:hover{ background:#f5f7fe; }
.wk2-dow{ font-size:11px; font-weight:900; color:#5d6784; text-transform:uppercase; letter-spacing:.06em; }
.wk2-dn{ font-size:20px; font-weight:900; color:#16246b; line-height:1.2; min-width:32px; text-align:center; border-radius:999px; }
.wk2-dh.wk2-today .wk2-dn{ background:#2547d6; color:#fff; padding:0 8px; }
.wk2-dh.wk2-today .wk2-dow{ color:#2547d6; }
.wk2-cnt{ font-size:11px; font-weight:800; color:#6b7488; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
.wk2-head .wk-lbl, .wk2-blk .wk-lbl{ position:sticky; left:0; z-index:3; padding:6px 7px; font-size:10px; }
.wk2-lbl{ background:#fff; }
.wk2 .wk-notecell{ border-left:1px solid #f1e3a6; }
.wk2-nt{ border-left:1px solid #dfe5f1; border-bottom:1px solid var(--line); padding:3px; display:flex; flex-direction:column; gap:3px; max-height:86px; overflow-y:auto; min-height:34px; background:#fbfcfe; box-sizing:border-box; min-width:0; }
.wk2-nt.wk2-today{ background:#f4f7ff; }
.wk2-body{ display:grid; position:relative; min-width:min-content; }
.wk2-gut{ position:sticky; left:0; z-index:5; background:#fff; border-right:1px solid var(--line); }
.wk2-hl{ position:absolute; right:7px; transform:translateY(-50%); font-size:11px; font-weight:800; color:#4a5470; background:#fff; white-space:nowrap; line-height:1; padding:1px 0; }
.wk2-hl.wk2-hl0{ transform:none; top:3px !important; }
.wk2-col{ position:relative; border-left:1px solid #dfe5f1; box-sizing:border-box; min-width:0;
  background-image:linear-gradient(to bottom, #d3dbea 0, #d3dbea 1px, transparent 1px), linear-gradient(to bottom, #eef1f7 0, #eef1f7 1px, transparent 1px);
  background-repeat:repeat-y, repeat-y; background-size:100% var(--px), 100% var(--px); background-position:0 0, 0 calc(var(--px) / 2); }
.wk2-col.wk2-today{ background-color:#f7f9ff; }
.wk2-col.cal-drop{ outline:none; background-color:rgba(37,71,214,.05) !important; }
.wk2-blk{ display:grid; min-width:min-content; }
.wk2-blkhead{ border-top:2px solid #f0c48c; }
.wk2-bl.wk-lbl{ background:#fff8ef; color:#a5560d; font-weight:900; border-bottom:1px solid #f3dfc4; }
.wk2-bc{ border-left:1px solid #f3dfc4; border-bottom:1px solid #f3dfc4; background:#fffaf3; padding:3px; display:flex; flex-direction:column; gap:3px; min-height:40px; min-width:0; box-sizing:border-box; }
.wk2-bc.cal-drop, .wk2-nt.cal-drop{ outline:2px dashed #2547d6; outline-offset:-2px; }

/* THE PHONE DAY - the three layouts and the switch between them */
.pdm{ display:flex; gap:4px; padding:4px; margin:4px 0 10px; background:#e8ecf5; border-radius:12px; }
.pdm-b{ position:relative; flex:1 1 0; min-width:0; height:36px; display:flex; align-items:center; justify-content:center; gap:5px; border:0; border-radius:9px; background:transparent; color:#4a5367; font:inherit; font-size:13.5px; font-weight:800; cursor:pointer; white-space:nowrap; -webkit-tap-highlight-color:transparent; }
.pdm-b:after{ content:''; position:absolute; left:0; right:0; top:-4px; bottom:-4px; }
.pdm-b svg{ width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; flex:none; }
.pdm-b.on{ background:#fff; color:#2547d6; box-shadow:0 1px 4px rgba(22,36,107,.16); }
.pdv-any{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:8px; margin:0 0 10px; display:flex; flex-direction:column; gap:5px; }
.pdv-anyh{ font-size:11px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; color:#6b7488; }
.pdv{ display:grid; grid-template-columns:46px minmax(0,1fr); background:#fff; border:1px solid var(--line); border-radius:14px; padding:10px 6px 14px 0; }
.pdv-gut{ position:relative; }
.pdv-hl{ position:absolute; right:7px; transform:translateY(-50%); font-size:11px; font-weight:800; color:#4a5470; white-space:nowrap; line-height:1; }
.pdv-col{ position:relative; border-left:1px solid #dfe5f1; box-sizing:border-box;
  background-image:linear-gradient(to bottom, #d3dbea 0, #d3dbea 1px, transparent 1px), linear-gradient(to bottom, #eef1f7 0, #eef1f7 1px, transparent 1px);
  background-repeat:repeat-y, repeat-y; background-size:100% var(--px), 100% var(--px); background-position:0 0, 0 calc(var(--px) / 2); }
.pdv-col.cal-drop{ outline:none; background-color:rgba(37,71,214,.05) !important; }
.sjb.pdv-ev .e-t{ font-size:11.5px; } .sjb.pdv-ev .e-c{ font-size:14px; } .sjb.pdv-ev .e-s{ font-size:12.5px; } .sjb.pdv-ev .e-w, .sjb.pdv-ev .e-a{ font-size:12px; }
.sjb.pdv-ev span.e-n{ font-size:11.5px; line-height:19px; height:19px; padding:0 8px; }
.sjb.pdv-ev.ev-thin .e-c{ font-size:12px; } .sjb.pdv-ev.ev-thin span.e-n{ font-size:10px; padding:0 5px; }
.pdv-now, .wk2-now{ right:0; }
.pax-scroll{ overflow-x:auto; -webkit-overflow-scrolling:touch; overscroll-behavior-x:contain; background:#fff; border:1px solid var(--line); border-radius:14px; }
.pax-in{ position:relative; --xp:118px; }
.pax-r{ display:flex; border-bottom:1px solid #e6eaf3; }
.pax-r:last-child{ border-bottom:0; }
.pax-n{ position:sticky; left:0; z-index:5; flex:0 0 96px; width:96px; box-sizing:border-box; background:#fff; border-right:1px solid var(--line); border-left:5px solid var(--cc,#c9cfdb); padding:6px 7px; display:flex; flex-direction:column; justify-content:center; gap:1px; min-width:0; }
.pax-n b{ font-size:13px; font-weight:900; color:#16246b; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pax-n small{ font-size:11px; font-weight:800; color:#6b7488; }
.pax-dot{ display:none; }
.pax-none .pax-n{ border-left-color:#a9b1c1; background:#f6f7f9; }
.pax-blk .pax-n{ border-left-color:#e8862e; background:#fffaf3; }
.pax-head .pax-n{ border-left-color:transparent; }
.pax-lane{ position:relative; flex:none; box-sizing:border-box;
  background-image:linear-gradient(to right, #d3dbea 0, #d3dbea 1px, transparent 1px), linear-gradient(to right, #eef1f7 0, #eef1f7 1px, transparent 1px);
  background-repeat:repeat-x, repeat-x; background-size:var(--xp) 100%, var(--xp) 100%; background-position:0 0, calc(var(--xp) / 2) 0; }
.pax-none .pax-lane{ background-color:#fafbfc; }
.pax-blane{ background-color:#fffdf9; }
.pax-hrs{ position:relative; height:30px; }
.pax-hl{ position:absolute; top:8px; padding-left:5px; font-size:11px; font-weight:800; color:#4a5470; white-space:nowrap; }
.sjb.pax-ev{ padding:3px 6px 3px 7px; }
.sjb.pax-ev .e-c{ font-size:13px; }
.sjb.pax-ev .e-s, .sjb.pax-ev .e-w, .sjb.pax-ev .e-a{ display:none; }
.sjb.pax-ev.ev-narrow{ padding:2px 3px 2px 5px; }
.sjb.pax-ev.ev-narrow .e-t{ font-size:9.5px; } .sjb.pax-ev.ev-narrow .e-c{ font-size:11px; }
.sjb.pax-ev.ev-narrow span.e-n{ font-size:9.5px; padding:0 4px; }
.pax-now{ position:absolute; top:0; bottom:0; width:2px; margin-left:-1px; background:#e53935; z-index:4; pointer-events:none; }
.pax-lane.cal-drop{ outline:none; background-color:rgba(37,71,214,.05) !important; }
.pax-band{ position:absolute; top:4px; bottom:4px; box-sizing:border-box; border:1px dashed #f0c48c; border-radius:10px; background:#fff6ea; padding:5px; display:flex; flex-direction:column; gap:3px; overflow:hidden; }
.pax-band.cal-drop{ background:#ffefdc !important; outline:none; border-style:solid; }
.pax-bl{ font-size:10.5px; font-weight:900; color:#8a5b12; text-transform:uppercase; letter-spacing:.03em; }
.pax-bnone{ font-size:11px; font-weight:700; color:#b58a52; }
.dr-cdot{ display:inline-block; width:8px; height:8px; border-radius:50%; margin-right:6px; flex:none; }

/* THE MONTH - who is working each day, in their own colors */
.cal-who{ display:flex; flex-wrap:wrap; gap:3px; margin-top:auto; padding-top:3px; }
.cal-who .cw{ font-style:normal; display:inline-flex; align-items:center; gap:3px; height:18px; padding:0 6px; border-radius:999px; font-size:10.5px; font-weight:900; line-height:1; letter-spacing:.02em; }
.cal-who .cw em{ font-style:normal; font-weight:800; opacity:.85; }
.cal-who .cw-none{ background:#e3e7ee; color:#4a5367; }
.cal-who .cw-more{ background:#eef1f7; color:#4a5367; }
@media (min-width:761px){
  .cal-full .cal-grid{ grid-template-rows:none; grid-auto-rows:auto; }
  .cal-main .cal-cell{ min-height:112px; }
  .cal-main .cal-svc{ font-size:12px; }
}
@media (max-width:760px){
  .app-main.cal-main{ padding-left:12px; padding-right:12px; }
  .cal-who{ gap:2px; padding-top:2px; justify-content:center; }
  .cal-who .cw{ font-size:0; width:8px; height:8px; padding:0; gap:0; }
  .cal-who .cw em{ display:none; }
  .cal-fp{ top:auto; left:0; right:0; width:auto; max-width:none; max-height:84vh; border-radius:18px 18px 0 0; box-shadow:0 -12px 40px rgba(16,36,107,.25); padding-bottom:env(safe-area-inset-bottom,0px); }
  .cal-fp.cal-fp-in{ animation:calSlideUp .22s ease; }
  .cal-fp-x{ height:44px; }
}
/* the By crew board wears the same crew colors */
.dbx .dbx-card.sjb.cc{ background:#eef2ff; background:color-mix(in srgb, var(--cc) 15%, #fff); border-color:color-mix(in srgb, var(--cc) 40%, #fff); border-left:4px solid var(--cc); color:#16246b; color:color-mix(in srgb, var(--cc) 28%, #0f1733); }
.dbx .dbx-card.sjb.cc-none{ background:#f1f3f6; border-color:#d3d8e2; border-left:4px solid #a9b1c1; color:#3d4558; }
.dbx .dbx-card.sjb.cc-amber{ background:#fff4dc; border:1px dashed #e8a33d; border-left:4px solid #e8a33d; color:#6e4505; }
.cal-todaybtn.cal-fs-on{ background:#eef2ff; border-color:#2547d6; color:#2547d6; }
/* tall blocks let the service and town wrap to a second line */
.sjb.ev2:not(.ev-sm):not(.ev-xs) .e-s{ white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.sjb.ev2.ev-sm{ line-height:1.15; padding-top:1px; padding-bottom:0; }
.pax-n{ flex-basis:100px; width:100px; }
.pax-n b{ font-size:12.5px; }
.sjb.ev2.ev-md{ padding-top:2px; padding-bottom:1px; gap:0; line-height:1.14; }
.sjb.ev2.ev-md .e-t{ font-size:10.5px; }
.sjb.ev2.ev-md .e-c{ font-size:12.5px; }
.sjb.ev2.ev-md .e-ns{ margin:1px 0 0; }
.sjb.ev2.ev-xs .e-ns{ flex:0 1 auto; min-width:0; margin:0; }
.sjb.ev2.ev-xs .e-c{ flex:0 1 auto; min-width:0; }
/* v1957: the word Calendar stays in full screen, as before */

/* ===== CALENDAR v1953 =====================================================
   Week fills the screen with 8am-6pm in view, compact blocks (time and
   customer on one line, who and service on the next), month tiles never
   overlap and say names not initials, the day's services counted at the top,
   the route without its long list, phone filters behind the Filters button.
   Adam, 7 Nov 2026. v1953 */
.sjb.cc{ background:#e6ebfb; background:color-mix(in srgb, var(--cc) 22%, #fff); }
.dbx .dbx-card.sjb.cc{ background:color-mix(in srgb, var(--cc) 22%, #fff); }
.sjb.ev2 .e-l1, .sjb.ev2 .e-l2{ display:flex; align-items:center; gap:4px; width:100%; min-width:0; overflow:hidden; white-space:nowrap; flex:none; }
.sjb.ev2 .e-l1 .e-t{ flex:none; }
.sjb.ev2 .e-l1 .e-c{ flex:0 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; }
.sjb.ev2 .e-l2 .e-ns{ flex:0 1 auto; max-width:62%; margin:0; }
.sjb.ev2 .e-l2 .e-s{ flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; display:block; -webkit-line-clamp:unset; }
.sjb.ev2{ gap:1px; }
.sjb.ev2.ev-xs > *, .sjb.ev2.ev-sm > *{ display:none; }
.sjb.ev2.ev-xs .e-l1{ display:flex; }
.sjb.ev2.ev-sm .e-l1, .sjb.ev2.ev-sm .e-l2{ display:flex; }
.sjb.ev2.ev-sm .e-ns{ flex-basis:auto; }
.sjb.ev2.ev-sm{ flex-direction:column; flex-wrap:nowrap; }
.sjb.ev2.ev-xs{ flex-direction:column; justify-content:center; }
.sjb.ev2 .e-t{ font-size:10.5px; } .sjb.ev2 .e-c{ font-size:12px; } .sjb.ev2 .e-s{ font-size:11px; }
.sjb.pdv-ev .e-t{ font-size:11.5px; } .sjb.pdv-ev .e-c{ font-size:13.5px; } .sjb.pdv-ev .e-s{ font-size:12px; }
/* the week fills the screen edge to edge */
.app-main.cal-full{ padding:8px 10px 6px !important; }
.cal-full .cal-head{ margin-bottom:6px; }
.cal-main .wk2{ margin:0; }
.cal-full .wk2-scroll, .cal-full .tdv-scroll{ border-radius:10px; }
.wk2-scroll{ min-height:0; }
.wk2-dh{ flex-direction:row; flex-wrap:wrap; justify-content:center; align-items:center; gap:0 8px; padding:5px 4px; }
.wk2-dl{ display:inline-flex; align-items:center; gap:5px; }
.wk2-dn{ font-size:17px; line-height:24px; min-width:26px; }
.wk2-dh.wk2-today .wk2-dn{ padding:0 7px; }
.wk2 .wk-notecell{ padding:2px; }
.wk2 .wk-note{ min-height:28px; height:28px; padding:5px 7px; font-size:11.5px; }
.wk2-head .wk-lbl{ padding:3px 6px; }
.wk2-nt{ min-height:28px; max-height:62px; padding:2px; }
.wk2-nt .sjb.ch2{ padding:2px 6px; }
.wk2-nt .ch2 .e-l2{ display:none; }
/* month: names, not initials; tiles never overlap */
.cal-full .cal-cell{ min-height:max(92px, calc((100vh - 236px) / 6)); }
.cal-who .cw{ border:1px solid transparent; gap:4px; max-width:100%; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; letter-spacing:0; }
.cal-who .cw u{ display:inline-block; width:7px; height:7px; border-radius:50%; flex:none; text-decoration:none; }
.cal-who .cw-none{ border-color:#cfd5e0; }
.cal-cell .cal-svc{ display:flex; align-items:center; gap:3px; min-width:0; }
.cal-cell .cal-svc .cs-c{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cal-cell .cal-svc b{ flex:none; }
/* the day's services in one line */
.cal-svcline{ display:flex; flex-wrap:wrap; gap:5px; margin:0 0 8px; }
.cal-svcline .cal-svc{ display:inline-flex; align-items:center; gap:4px; font-size:12px; padding:3px 9px; border-radius:7px; }
/* route: one line per route */
.crt-r .crt-h{ margin:0; }
@media (max-width:760px){
  .cal-who{ display:none; }
  .cal-svcs, .cal-svcs.two{ display:flex; flex-direction:row; flex-wrap:wrap; gap:2px; }
  .cal-svcs > *, .cal-svcs.two > *{ flex:1 1 100% !important; max-width:100%; }
  .cal-cell .cal-svc{ padding:1px 3px; font-size:10px; justify-content:space-between; }
  .cal-svcline .cal-svc{ font-size:11.5px; padding:2px 7px; }
  .cal-fltc .cal-head{ margin-bottom:8px; }
}
.sjb.ev2 .e-l2 .e-s{ white-space:nowrap !important; display:block !important; -webkit-line-clamp:unset !important; }
.sjb.ev2 .e-l2 .e-ns{ flex:0 0 auto; max-width:66%; }
.sjb.ev2.ev-thin .e-l2 .e-ns{ max-width:100%; }
@media (max-width:760px){
  .crt-r{ padding:6px 8px; }
  .crt-h{ gap:4px 8px; flex-wrap:nowrap; }
  .crt-h b{ font-size:13px; white-space:nowrap; }
  .crt-h span{ font-size:11.5px; line-height:1.25; min-width:0; }
  .crt-b{ padding:0 10px; flex:none; position:relative; }
  .crt-b:after{ content:''; position:absolute; left:0; right:0; top:-4px; bottom:-4px; }
}
.sjb.cc .e-a, .sjb.cc-none .e-a, .sjb.cc-amber .e-a{ color:#7c3aed; }
/* phone grid blocks are narrow: let time and customer, who and service stack */
.sjb.pdv-ev:not(.ev-xs) .e-l1, .sjb.pdv-ev:not(.ev-xs):not(.ev-sm) .e-l2{ flex-wrap:wrap; row-gap:1px; }
.sjb.pdv-ev:not(.ev-xs):not(.ev-sm) .e-l2 .e-ns{ max-width:100%; }
.sjb.pdv-ev:not(.ev-xs):not(.ev-sm) .e-l2 .e-s{ flex-basis:100%; }

/* ===== CALENDAR v1955 ===== status at the left start of each block, the
   crew-color bar down the left edge, week money that reads. Adam, 7 Nov 2026. v1955 */
/* v1957: the status display is back exactly as it was in v1954 (the thin amber
   not-confirmed strip and the green done strip, the small check in the time);
   only the left color bar is thicker, and it sits outside the strip so both show */
.sjb.ev2, .sjb.ch2{ border-left-width:5px; }
/* week money: the week total in the corner, each day's total in green */
.wk2-corner{ padding:2px; box-sizing:border-box; }
.wk2-wtot{ display:flex; flex-direction:column; align-items:center; justify-content:center; line-height:1.1; width:100%; overflow:hidden; }
.wk2-wtot i{ font-style:normal; font-size:9.5px; font-weight:900; color:#6b7488; text-transform:uppercase; letter-spacing:.04em; }
.wk2-wtot b{ font-size:12px; font-weight:900; color:#2e7d16; white-space:nowrap; }
.wk2-money{ font-size:11.5px; font-weight:900; color:#2e7d16; background:#e6f6de; border-radius:6px; padding:0 6px; line-height:17px; white-space:nowrap; }
/* v1957: the day blocks keep their own layout; lines never squeeze into each other */
.tdv-ev > *{ flex-shrink:0; }

/* v1959: each day header is three lines - day, visits, money - so the money sits in the same spot every day */
.wk2-dh{ flex-direction:column; flex-wrap:nowrap; justify-content:flex-start; align-items:center; gap:1px; }
.wk2-money0{ background:transparent; }
.wk2-wtot b{ font-size:12px; white-space:nowrap; }

/* ---- Calendar, v1970 (Adam, 10 Nov 2026) ----
   The week's day note is one line, then "…"; a click opens the note window. */
.wk2 .wk-notecell{ padding:2px; }
.wk-noteln{ display:flex; align-items:center; gap:2px; width:100%; height:26px; min-width:0; box-sizing:border-box; margin:0; padding:0 7px; border:1px solid transparent; border-radius:7px; background:transparent; font:inherit; font-family:Nunito,system-ui,Arial,sans-serif; font-size:11.5px; font-weight:800; color:#1a2235; text-align:left; cursor:pointer; }
.wk-noteln:hover{ border-color:#f1e3a6; background:#fffef5; }
.wk-noteln.on{ background:#fff6c7; border-color:#f1e3a6; }
.wk-noteln:disabled{ cursor:default; }
.wk-notet{ flex:0 1 auto; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.wk-notem{ flex:none; color:#8a6d12; }
.wk-noteph{ color:#b9a65f; }
/* the day board by crew fills the screen and scrolls on its own, like the week */
.cal-dbfit{ overflow:auto; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; min-height:0; }
.app-main .cal-dbfit .dbx{ --dbx-top:0px; }
.cal-dbfit .dbx-note{ margin-bottom:6px; }
/* a short screen (a phone turned sideways): the header is one or two rows and
   the rest of the screen is the schedule */
@media (max-height:560px) and (min-width:761px){
  .app-main.cal-main, .app-main.cal-full{ padding-top:6px !important; padding-bottom:0 !important; }
  .cal-main .cal-head{ margin:0 0 4px !important; gap:6px; flex-wrap:wrap; }
  .cal-main .cal-head-l h1{ display:none; }
  .cal-main .cal-head-l, .cal-main .cal-nav{ gap:6px; flex-wrap:wrap; }
  .cal-main .cal-mn{ min-width:0; font-size:14px; }
  .cal-main .cal-svcline{ margin:0 0 4px; }
  .cal-main .dbA-sum{ margin:0 0 4px; }
  .cal-main .dbx-note{ padding:2px 10px; margin:0 0 4px; }
  .cal-main .dbx-note label{ line-height:30px; }
  .cal-main .dbx-note textarea{ min-height:30px; height:30px; }
  .cal-main .tdv-scroll, .cal-main .wk2-scroll{ min-height:0 !important; }
  .cal-main .tdv-wrap{ margin-bottom:0; }
  .cal-dayfit{ overflow:auto; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; min-height:0; }
  .cal-dayfit .tdv-scroll{ overflow:visible; max-height:none !important; height:auto !important; }
  .cal-dayfit .cal-dbfit{ overflow:visible; }
}

/* month boxes taller on a computer - they had ended up shorter than before.
   Adam, 16 Nov 2026. v2106 */
@media (min-width:761px){
  .cal-main .cal-cell, .cal-full .cal-cell{ min-height:140px !important; }
}

/* the Calendar bar (Month / Week / Day, the month, Today, $, Filters) stays at
   the top while the calendar scrolls. Adam, 16 Nov 2026. v2108 */
.cal-main .cal-head{ position:sticky; top:62px; z-index:30; background:#eaf2ff; padding-top:6px; padding-bottom:6px; }
