/* The guided tour, the welcome card and the Help guides (21 Oct 2026). Shared by the office and
   the phone app, which both define the brand colours used here (--green, --ink, --muted, --line,
   --pale, --gold). Everything sits above the apps' own modals, sheets and toasts. */
.tour{position:fixed;inset:0;z-index:10000;pointer-events:none}
.tour-block{position:fixed;inset:0;pointer-events:auto;background:transparent}
.tour-dim{position:fixed;inset:0;background:rgba(16,30,20,.58);pointer-events:none}
.tour-spot{position:fixed;display:none;border-radius:12px;box-shadow:0 0 0 200vmax rgba(16,30,20,.58);
  outline:3px solid var(--gold,#dda440);pointer-events:none}
.tour-card{position:fixed;width:356px;max-width:calc(100vw - 24px);background:#fff;color:var(--ink,#2d2d2c);
  border-radius:14px;padding:14px 16px 14px 18px;box-shadow:0 18px 48px rgba(0,0,0,.3);pointer-events:auto;
  font-family:'Urbanist',-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif;text-align:left}
.tour-card.docked{left:10px;right:10px;width:auto;max-width:none}
.tour-card.dock-bottom{bottom:calc(10px + env(safe-area-inset-bottom))}
.tour-card.dock-top{top:calc(10px + env(safe-area-inset-top))}
.tour-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:4px}
.tour-step{font-size:11px;letter-spacing:.8px;text-transform:uppercase;color:var(--muted,#696f7d);font-weight:700}
.tour-x{background:none;border:0;font-size:24px;line-height:1;color:var(--muted,#696f7d);cursor:pointer;
  padding:2px 8px;border-radius:8px;font-family:inherit;width:auto;margin:0}
.tour-x:hover{background:var(--pale,#eef4f1);color:var(--ink,#2d2d2c)}
.tour-card h2{margin:0 0 6px;font-size:18px;line-height:1.25;color:var(--green,#104c26)}
.tour-card p{margin:0 0 14px;font-size:15px;line-height:1.5}
.tour-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tour-dots{display:flex;gap:4px;flex-wrap:nowrap;min-width:0;overflow:hidden}
.tour-dots i{width:6px;height:6px;border-radius:50%;background:var(--line,#e4e8e6);display:block;flex-shrink:0}
.tour-dots i.done{background:var(--green-deep,#4c795c)}
.tour-dots i.on{background:var(--green,#104c26)}
.tour-btns{display:flex;gap:8px;flex-shrink:0}
.tour-btn{font-family:inherit;font-size:14px;font-weight:700;padding:9px 14px;border-radius:9px;
  border:1px solid var(--line,#e4e8e6);background:#fff;color:var(--ink,#2d2d2c);cursor:pointer;width:auto;
  display:inline-flex;align-items:center;justify-content:center;margin:0;line-height:1.2}
.tour-btn:hover{background:var(--pale,#eef4f1)}
.tour-btn.primary{background:var(--green,#104c26);border-color:var(--green,#104c26);color:#fff}
.tour-btn.primary:hover{background:var(--green-dark,#0c391c)}
.tour-btn:focus-visible,.tour-x:focus-visible,.tw-never:focus-visible,.help-topic summary:focus-visible{
  outline:3px solid var(--gold,#dda440);outline-offset:2px}

.tour-welcome{position:fixed;inset:0;z-index:10001;background:rgba(16,30,20,.55);display:flex;
  align-items:center;justify-content:center;padding:16px}
.tw-box{background:#fff;border-radius:16px;max-width:470px;width:100%;padding:22px 22px 18px;
  box-shadow:0 18px 48px rgba(0,0,0,.3);color:var(--ink,#2d2d2c);
  font-family:'Urbanist',-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif}
.tw-box h2{margin:0 0 8px;font-size:21px;color:var(--green,#104c26)}
.tw-lead{font-size:17px;line-height:1.5;margin:0 0 8px}
.tw-sub{font-size:14px;color:var(--muted,#696f7d);margin:0 0 18px}
.tw-foot{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.tw-never-row{margin-top:10px}
.tw-never{background:none;border:0;color:var(--muted,#696f7d);font-family:inherit;font-size:13px;font-weight:600;
  text-decoration:underline;cursor:pointer;padding:6px 0;margin:0;width:auto}
@media (max-width:440px){
  .tw-foot .tour-btn{flex:1}
}

/* The guides on Help, in both apps. */
.help-search{width:100%;margin:0 0 12px}
.help-list{display:flex;flex-direction:column;gap:8px}
.help-topic{background:#fff;border:1px solid var(--line,#e4e8e6);border-radius:12px;overflow:hidden}
.help-topic summary{list-style:none;display:flex;align-items:center;gap:10px;padding:14px 16px;cursor:pointer;
  font-weight:700;font-size:15px;color:var(--ink,#2d2d2c)}
.help-topic summary::-webkit-details-marker{display:none}
.help-t{flex:1}
.help-chev{width:9px;height:9px;border-right:2px solid var(--muted,#696f7d);border-bottom:2px solid var(--muted,#696f7d);
  transform:rotate(-45deg);transition:transform .15s;flex-shrink:0;margin-right:4px}
.help-topic[open] .help-chev{transform:rotate(45deg)}
.help-topic[open] summary{color:var(--green,#104c26)}
.help-body{padding:0 16px 14px}
.help-body ol{margin:0 0 12px;padding-left:20px;line-height:1.55;font-size:14.5px}
.help-body li{margin-bottom:5px}
.help-none{background:#fff;border:1px solid var(--line,#e4e8e6);border-radius:12px;padding:16px;color:var(--muted,#696f7d)}
.help-stuck{color:var(--muted,#696f7d);font-size:14px;margin:16px 2px 0}

/* The question mark on the phone's Home bar, next to the initials. */
.helpbtn{width:38px;height:38px;border-radius:50%;border:2px solid rgba(255,255,255,.5);background:rgba(255,255,255,.18);
  color:#fff;font-weight:700;font-size:18px;line-height:1;cursor:pointer;font-family:inherit;display:flex;align-items:center;
  justify-content:center;flex-shrink:0;padding:0;margin:0}
.helpbtn:focus-visible{outline:3px solid var(--gold,#dda440);outline-offset:2px}
#screen-help .btn{margin-bottom:12px}
.toolbar input.help-search{max-width:520px;flex:1 1 320px}
