/* Bigfoot: clear, friendly layout on phones (and a cleaner one on computers) */
button,input,select,textarea,.btn{font-family:Barlow,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif!important}
h1,h2,h3,#ptitle{font-family:"Barlow Semi Condensed",Barlow,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
input,select,textarea{font-size:16px}
.gp-card,.oj,.flow li{border-radius:14px}
.gp-card{box-shadow:0 1px 3px rgba(60,20,10,.06)}
.note{border-radius:12px}
#bfbar{display:none}
@media (max-width:760px){
  body{font-size:15px}
  header{padding:8px 0 0!important;position:sticky;top:0;z-index:300;box-shadow:0 2px 6px rgba(0,0,0,.06)}
  header .top{flex-wrap:nowrap!important;align-items:center!important;gap:8px!important;padding:0 12px}
  header .brand img,header .logoimg{height:34px!important;width:auto}
  header .tag,#today{display:none!important}
  #bell{padding:6px 10px!important;font-size:0!important;min-width:40px;position:relative}
  #bell::before{content:"";display:inline-block;width:18px;height:18px;background:currentColor;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/><path d='M10.3 21a1.94 1.94 0 0 0 3.4 0'/></svg>") center/contain no-repeat;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/><path d='M10.3 21a1.94 1.94 0 0 0 3.4 0'/></svg>") center/contain no-repeat;vertical-align:middle}
  #bell b{font-size:11px!important;position:absolute;top:-4px;right:-4px;background:#a3141c;color:#fff;border-radius:10px;padding:0 5px;line-height:16px;margin:0!important}
  #amBtn{padding:6px 12px!important;font-size:13px!important}
  #bfOut{padding:6px 10px!important;font-size:12px!important}
  .top>*:first-child{margin-right:auto}
  #nav{margin-top:8px!important;display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;gap:4px;padding:6px 10px!important;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  #nav::-webkit-scrollbar,#sub::-webkit-scrollbar,.gp-tabs::-webkit-scrollbar{display:none}
  #nav button{flex:none;white-space:nowrap;border-radius:18px!important;padding:6px 12px!important;min-height:34px;font-size:14px!important}
  #sub{flex-wrap:nowrap!important;overflow-x:auto;padding:4px 10px 0!important;scrollbar-width:none;background:#fff}
  #sub button{flex:none;white-space:nowrap;min-height:40px;font-size:14px}
  main{padding:12px 12px 90px!important}
  #ptitle{font-size:24px;margin:8px 0 10px}
  .note{font-size:14px;padding:8px 12px!important;margin-bottom:10px}
  .note.row{gap:8px}
  .note .btn,.note button{min-height:36px}
  .bar{gap:8px!important}
  button,.btn,a.wa{min-height:40px}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .stat{padding:10px!important;border-radius:12px}
  .flow li{padding:10px 10px 10px 8px}
  .fl-b .bar button{min-height:36px}
  .demo-note .grow{font-size:13px}
  #toast{bottom:84px!important}
  .sheet{border-radius:18px 18px 0 0!important;max-height:92vh}
  /* the bottom bar */
  #bfbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:400;background:#fff;border-top:1px solid #eadfd3;box-shadow:0 -2px 10px rgba(0,0,0,.06);padding:4px 4px calc(4px + env(safe-area-inset-bottom));justify-content:space-around}
  #bfbar button{flex:1;min-width:0;background:none;border:0;display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 2px;font-size:11px!important;color:#6b5d52;min-height:52px;position:relative;border-radius:10px}
  #bfbar button svg{width:22px;height:22px}
  #bfbar button.on{color:#a3141c;font-weight:700}
  #bfbar button.on svg{stroke-width:2.4}
  body.hasbar .gp-tabs{display:none!important}
  #bfbar button i{position:absolute;top:2px;right:calc(50% - 20px);background:#a3141c;color:#fff;font-style:normal;font-size:10px;border-radius:9px;padding:0 5px;line-height:15px}
  /* guide portal */
  .gp-hello{background:linear-gradient(135deg,#a3141c,#6e0d13)!important;color:#fff!important;border-radius:16px!important;padding:16px!important}
  .gp-hello h2,.gp-hello small,.gp-hello .small,.gp-hello b{color:#fff!important}
  .gp-owed{background:rgba(255,255,255,.14)!important;border-radius:12px;padding:8px 12px!important}
  .gp-row{border-radius:12px}
}
.stat b,.stat strong,.stat .n,.gp-owed b,.gp-owed strong{font-family:"Barlow Semi Condensed",Barlow,system-ui,sans-serif!important}
/* guide portal: friendly, very readable font and the wildlife card */
body.gpfont,body.gpfont button,body.gpfont input,body.gpfont select,body.gpfont textarea,body.gpfont h1,body.gpfont h2,body.gpfont h3,body.gpfont b,body.gpfont strong,body.gpfont .gp-owed b,body.gpfont .stat b{font-family:"Hanken Grotesk","Segoe UI",Roboto,system-ui,sans-serif!important}
body.gpfont{font-size:16px;letter-spacing:.1px}
body.gpfont h2,body.gpfont h3{font-weight:800}
.gp-animal{position:relative;border-radius:16px;overflow:hidden;margin:0 0 12px;box-shadow:0 2px 8px rgba(60,20,10,.12)}
.gp-animal-t{background:#fff;padding:10px 14px 12px;display:flex;flex-direction:column;gap:2px;color:#2a120b}
.gp-animal-t b{font-size:20px;font-weight:800}
.gp-animal-t span{font-size:14px}
.gp-animal-t small{font-size:11px;opacity:.8;margin-top:2px}
.gp-review{border-left:4px solid #34a853}
.gp-review a{word-break:break-all}
.hist-y{margin:16px 0 6px;font-size:15px;color:#6b5d52}
/* booking chart: client and company in each trip, calm colours that sit well next to the Bigfoot red */
.chart td.bkc{text-align:left;padding:4px 7px;max-width:none;height:42px;border-radius:0;line-height:1.15}
.chart td.bkc b{display:block;font-size:12px;font-weight:700;overflow:hidden;text-overflow:ellipsis}
.chart td.bkc small{display:block;font-size:10.5px;opacity:.85;overflow:hidden;text-overflow:ellipsis}
.c-Confirmed{background:#0f766e!important;color:#fff!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
.c-Completed{background:#e2e8f0!important;color:#334155!important}
.c-Tentative{background:#ecfdf5!important;color:#065f46!important;box-shadow:inset 0 0 0 1.5px #10b981}
.c-clash{background:#fde8e8!important;color:#a3141c!important;box-shadow:inset 0 0 0 2px #a3141c}
.chart td.bkc.today{box-shadow:inset 3px 0 0 #f59e0b}
.legend .c{display:inline-block;width:14px;height:14px;border-radius:4px;vertical-align:-2px;margin:0 4px 0 10px}
.mc.on{background:#0f766e!important;color:#fff!important;font-size:10px;line-height:1.1;text-align:left!important}
.mc.on small{display:block;font-size:9px;opacity:.85}
.mc.tn{background:#ecfdf5!important;color:#065f46!important;box-shadow:inset 0 0 0 1px #10b981}
.mchart td.mc{min-width:58px}
.gp-photo{position:relative;height:190px;background:#3a2a1f}
.gp-photo img{display:block;width:100%;height:190px;object-fit:cover}
.gp-photo .cr{position:absolute;right:8px;bottom:6px;font-size:10px;color:#fff;background:rgba(0,0,0,.45);padding:1px 6px;border-radius:8px}
.gp-photo .pl{position:absolute;left:10px;bottom:8px;font-size:12px;font-weight:700;color:#fff;background:rgba(15,118,110,.85);padding:2px 9px;border-radius:10px}
@media (min-width:761px){.gp-photo,.gp-photo img{height:260px}}
/* booking chart: calm, clear colours that sit well beside the Bigfoot red */
.c-Confirmed{background:#e3f1ee!important;color:#0b3d36!important;box-shadow:inset 4px 0 0 #0f766e}
.c-Completed{background:#eceff3!important;color:#2d3b48!important;box-shadow:inset 4px 0 0 #64748b}
.c-Tentative{background:#fff6dc!important;color:#5b4300!important;box-shadow:inset 4px 0 0 #d4a017}
.c-clash{background:#fde7e1!important;color:#8a1c06!important;box-shadow:inset 4px 0 0 #e0531f}
.legend .c{display:inline-block;width:14px;height:14px;border-radius:4px;vertical-align:-2px;margin:0 4px 0 10px}
.chart td.bkc{text-align:left;padding:4px 6px 4px 9px;height:auto;vertical-align:top;white-space:normal;border-radius:0}
.chart td.bkc .bkh{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:1.25}
.chart td.bkc .bkh b{font-weight:700}
.chart td.bkc .bkh small{opacity:.75;font-size:11px}
.chart td.bkc .bkd{display:flex;margin-top:3px;gap:2px}
.chart td.bkc .bkd span{flex:1 1 0;min-width:0;font-size:10.5px;line-height:1.3;background:rgba(255,255,255,.7);border-radius:4px;padding:1px 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}
.chart tbody tr{height:50px}
.mc.on{background:#e3f1ee!important;color:#0b3d36!important;box-shadow:inset 3px 0 0 #0f766e;font-size:10px;line-height:1.2}
.mc.tn{background:#fff6dc!important;color:#5b4300!important;box-shadow:inset 3px 0 0 #d4a017}
.mc small{display:block;opacity:.75}
.mc i{display:block;font-style:normal;font-weight:700;color:#0f766e;font-size:9.5px}
.mc.tn i{color:#8a6400}
.mchart th.td{background:#0f766e!important}
/* the wildlife picture: words under the picture, never over the animal */
.gp-animal{background:#fff}
.gp-animal-t{position:static;padding:10px 14px 12px}
.gp-animal-t span{max-width:none}
.chart td.bkc,.chart td.bkc *{text-transform:none!important;letter-spacing:0}
.mc,.mc *{text-transform:none!important}

/* one clear, friendly font for every person (Admin, Director, Office, Consultant, Accounts, guides) */
body,button,input,select,textarea,.btn,h1,h2,h3,h4,#ptitle,b,strong,th,td,.stat b,.gp-owed b,.tile b,#nav button,#sub button{font-family:"Hanken Grotesk","Segoe UI",Roboto,system-ui,-apple-system,sans-serif!important}
h1,h2,h3,#ptitle{font-weight:800;letter-spacing:-.2px}
body{letter-spacing:.1px}
.stat b{font-weight:800}
/* wildlife card with a real photo */
.gp-photo{display:block;width:100%;height:190px;object-fit:cover}
.gp-animal-t .lesson{display:block;font-size:15px;line-height:1.45;margin-top:4px;color:#2a1a12}
.gp-animal-t .lesson small{display:block;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;color:#0f766e;margin-bottom:2px}
.gp-animal-t .src{font-size:11.5px;color:#6b5d52;margin-top:4px}
.gp-animal-t .src a{color:#0f766e}
/* learn */
.learn-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px;margin-top:10px}
.learn-card{background:#fff;border:1px solid #eadfd3;border-radius:14px;overflow:hidden}
.learn-card img{width:100%;height:170px;object-fit:cover;display:block}
.learn-card .lc-b{padding:10px 14px 12px}
.learn-card h3{margin:0 0 6px;font-size:19px}
.learn-card h3 small{font-weight:600;color:#0f766e;font-size:13px}
.learn-card ul{margin:6px 0;padding-left:18px}
.learn-card li{margin:3px 0;font-size:14.5px}
.learn-card .src a{color:#0f766e}
.papers-alert{border-left:4px solid #e0531f}
.papers-ok{border-left:4px solid #0f766e;font-size:14px}
.gp-alert.papers .sm{margin-left:6px}
.p-Missing{background:#fde7e1;color:#8a1c06}
.pill,small,span,a,p,li,label,div{font-family:"Hanken Grotesk","Segoe UI",Roboto,system-ui,sans-serif}
/* Learn library: simple tiles, one tap for the details */
.learn-top{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}
.seg{display:flex;background:#f1ebe4;border-radius:12px;padding:3px;gap:3px}
.seg button{flex:1;border:0;background:none;border-radius:10px;min-height:40px;font-weight:700;color:#6b5d52}
.seg button.on{background:#fff;color:#0f766e;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.seg small{font-weight:600;opacity:.6}
#learnQ{width:100%;min-height:44px;border-radius:12px}
.bird-id{display:flex;flex-wrap:wrap;gap:8px;align-items:center;background:#e3f1ee;border-radius:12px;padding:10px 12px;margin-bottom:10px;font-size:14px}
.bird-id span{flex:1 1 100%;font-weight:700;color:#0b3d36}
.lgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.lt{position:relative;display:block;padding:0;border:0;border-radius:14px;overflow:hidden;background:#e9e2da;aspect-ratio:4/3;min-height:0;text-align:left;cursor:pointer}
.lt img{width:100%;height:100%;object-fit:cover;display:block}
.lt-ph{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:40px;font-weight:800;color:#b8a99b}
.lt-n{position:absolute;left:0;right:0;bottom:0;padding:18px 8px 6px;color:#fff;font-weight:700;font-size:13.5px;line-height:1.2;background:linear-gradient(transparent,rgba(0,0,0,.72))}
.ld-img{width:100%;max-height:300px;object-fit:cover;border-radius:12px;display:block;margin-bottom:8px}
.ld-sw{color:#0f766e;font-weight:700;margin:4px 0}
.ld-f li{margin:4px 0}
@media (max-width:760px){.lgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* phones: nothing wider than the screen */
/* overflow-x:clip (not hidden) stops a horizontal jiggle without making the page a scroll container;
   hidden here trapped vertical scrolling on iPhone, so the app would not move up and down. */
html,body{max-width:100%;overflow-x:clip}
img{max-width:100%;height:auto}
.gp-card,.note,.oj,.gp-row{max-width:100%;overflow-wrap:anywhere}

.pexp{display:inline-block;margin-top:2px;background:#fde7e1;color:#8a1c06;border-radius:6px;padding:0 5px;font-size:10px;font-weight:700}
.more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.more-grid button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;padding:12px;border-radius:14px;border:1px solid #eadfd3;background:#fff;min-height:74px}
.more-grid button b{font-size:15px}
.more-grid button span{font-size:12.5px;color:#6b5d52;line-height:1.3}
.more-grid button.on{border-color:#0f766e;background:#e3f1ee}
/* pictures: small, sharp, fade in when ready */
img.si{opacity:0;transition:opacity .25s ease;background:#e9e2da}
img.si.in{opacity:1}
.gp-photo{height:150px!important}
/* learn tiles: small squares, name underneath */
.lgrid{grid-template-columns:repeat(auto-fill,minmax(104px,1fr))!important;gap:8px!important}
@media (max-width:760px){.lgrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
.lt{aspect-ratio:auto!important;background:none!important;display:flex!important;flex-direction:column;gap:4px;border-radius:12px!important;overflow:visible!important}
.lt img,.lt .lt-ph{width:100%;aspect-ratio:1/1;height:auto!important;object-fit:cover;border-radius:12px;background:#e9e2da}
.lt .lt-ph{display:flex;font-size:28px}
.lt-n{position:static!important;background:none!important;color:#2a1a12!important;padding:0 2px!important;font-size:12.5px!important;font-weight:700;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ld-img{max-height:220px!important}
/* papers page for guides */
.pp-sum{margin:10px 0}
.pp-alert{background:#fde7e1;color:#8a1c06;border-radius:12px;padding:10px 12px;margin-bottom:8px;font-size:14px}
.pp-counts{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.pp-counts span{background:#fff;border:1px solid #eadfd3;border-radius:10px;padding:6px 4px;text-align:center;font-size:12px;color:#6b5d52}
.pp-counts b{display:block;font-size:18px;color:#2a1a12}
.pp-counts .w b{color:#b07c00}.pp-counts .r b{color:#c2410c}
.pp-h{margin:16px 0 6px;font-size:16px}
.pp{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;background:#fff;border:1px solid #eadfd3;border-left:4px solid #0f766e;border-radius:12px;padding:10px 12px;margin-bottom:8px}
.pp.bad{border-left-color:#c2410c;background:#fff7f4}.pp.miss{border-left-color:#c2410c}.pp.soon{border-left-color:#d4a017}
.pp-t{flex:1 1 100%;display:flex;align-items:center;gap:8px;justify-content:space-between}
.pp-t b{font-size:15px}
.pp-d{flex:1;font-size:13px;color:#6b5d52}
.pp-w{flex:1 1 100%;font-size:12.5px;color:#0b3d36}
.pp button{margin-left:auto}
/* elegant type */
body{font-feature-settings:"ss01","cv11";-webkit-font-smoothing:antialiased}
h1,h2,h3,#ptitle{font-weight:700!important;letter-spacing:-.3px}
/* sign-in picture that keeps changing */
.hero-ph{position:relative;height:150px;background:linear-gradient(135deg,#e9e2da,#d9cfc4);overflow:hidden}
.hero-ph img{position:absolute;inset:0;width:100%;height:100%!important;object-fit:cover;opacity:0;transition:opacity .7s ease}
.hero-ph img.in{opacity:1}
/* library details */
.lt-s{font-size:11.5px;color:#0f766e;font-weight:600;padding:0 2px;margin-top:-2px}
.ld-meta{display:grid;gap:8px;grid-template-columns:auto 1fr;background:#f6f1eb;border-radius:12px;padding:10px 12px;margin:6px 0 10px}
.ld-meta span{display:flex;flex-direction:column}
.ld-meta small{font-size:11px;color:#6b5d52;text-transform:uppercase;letter-spacing:.5px}
.ld-meta b{font-size:14px}
.ld-h{margin:12px 0 4px;font-size:15px;color:#0f766e}
.ld-t{font-size:15px;line-height:1.6}
/* money page */
.mo-hero{background:linear-gradient(135deg,#0f766e,#0b4f49);color:#fff;border-radius:16px;padding:16px 18px;margin:10px 0;display:flex;flex-direction:column;gap:2px}
.mo-hero small{opacity:.85;font-size:13px}
.mo-hero b{font-size:30px;font-weight:800;letter-spacing:-.5px;color:#fff!important}
.mo-hero span{font-size:12.5px;opacity:.85}
.mo-list{background:#fff;border:1px solid #eadfd3;border-radius:14px;overflow:hidden}
.mo-r{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #f1ebe4}
.mo-r:last-child{border-bottom:0}
.mo-r span{display:flex;flex-direction:column;font-size:14px}
.mo-r small{color:#6b5d52;font-size:12px}
.mo-r b{font-size:15px;white-space:nowrap}
.mo-c{background:#fff;border:1px solid #eadfd3;border-radius:14px;padding:12px 14px;margin-bottom:8px}
.mo-ct{display:flex;justify-content:space-between;align-items:center;gap:8px}
.mo-am{display:flex;flex-wrap:wrap;gap:4px 14px;margin:6px 0;font-size:13px;color:#6b5d52}
.mo-am b{color:#2a1a12}
.mo-bar{height:6px;background:#f1ebe4;border-radius:4px;overflow:hidden}
.mo-bar i{display:block;height:100%;background:#0f766e;border-radius:4px}
.mo-p{font-size:12.5px;color:#0b3d36;margin-top:6px}
/* refresh button */
#bfRef{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;min-height:40px;padding:0;border-radius:20px;background:#fff;border:1px solid #eadfd3;color:#0f766e;margin-right:6px;cursor:pointer}
#bfRef.spin svg{animation:bfspin .8s linear infinite}
@keyframes bfspin{to{transform:rotate(360deg)}}
body.portal header .top{display:flex;align-items:center}
/* payment pipeline */
.pipe{background:#fff;border:1px solid #eadfd3;border-radius:16px;padding:12px;margin:10px 0}
.pipe h3{margin:0 0 8px;font-size:16px}
.pipe-s{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
@media (max-width:760px){.pipe-s{grid-template-columns:1fr;gap:6px}}
.pipe-i{position:relative;display:grid;grid-template-columns:auto 1fr auto;grid-template-areas:"n t e" "n d w";align-items:center;gap:0 10px;text-align:left;background:#f8f5f1;border:1px solid #eadfd3;border-radius:12px;padding:8px 10px;min-height:56px;cursor:pointer}
.pipe-i.mine{border-color:#0f766e;background:#e3f1ee}
.pipe-n{grid-area:n;width:26px;height:26px;border-radius:13px;background:#0f766e;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:13px}
.pipe-i b{grid-area:t;font-size:13.5px}
.pipe-i small{grid-area:d;font-size:11.5px;color:#6b5d52}
.pipe-i em{grid-area:e;font-style:normal;font-weight:800;color:#0b3d36;font-size:14px}
.pipe-i i{grid-area:w;font-style:normal;font-size:10.5px;color:#6b5d52;text-transform:uppercase;letter-spacing:.4px}
/* approvals centre */
.ap-top{font-size:15px;margin:6px 0}
.ap-top b{font-size:22px;color:#0f766e}
.ap-chips{display:flex;gap:6px;overflow-x:auto;padding-bottom:6px;margin-bottom:8px;scrollbar-width:none}
.ap-chip{flex:none;white-space:nowrap;border:1px solid #eadfd3;border-radius:16px;padding:5px 10px;font-size:12.5px;color:#6b5d52;text-decoration:none;background:#fff}
.ap-chip.on{border-color:#0f766e;color:#0b3d36;background:#e3f1ee}
.ap-chip b{margin-left:3px}
.ap-s{background:#fff;border:1px solid #eadfd3;border-radius:14px;padding:12px;margin:10px 0;scroll-margin-top:90px}
.ap-s.empty{opacity:.75}
.ap-h{display:flex;justify-content:space-between;align-items:center;gap:8px}
.ap-k{font-weight:800;font-size:16px}
.ap-k b{background:#0f766e;color:#fff;border-radius:10px;padding:0 7px;font-size:12px;margin-left:4px;vertical-align:2px}
.ap-s.empty .ap-k b{background:#b8a99b}
.ap-w{font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:#6b5d52}
.ap-none{font-size:13px;color:#6b5d52;margin:4px 0 0}
.ap-r{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:10px 0;border-top:1px solid #f1ebe4}
.ap-r>div:first-child{flex:1 1 200px;display:flex;flex-direction:column}
.ap-r>div:first-child span{font-size:13px;color:#6b5d52}
.ap-r em{font-style:normal;font-weight:800}
.ap-b{display:flex;gap:6px;flex-wrap:wrap}
.am-hi{font-weight:800;color:#0f766e!important}
/* library detail */
.ld-sq{display:block;width:140px;height:140px;object-fit:cover;border-radius:16px;margin:0 auto 8px}
.lt img{content-visibility:auto}
/* guide expenses */
.ex-sum{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:8px;margin:10px 0}
.ex-k{background:#fff;border:1px solid #eadfd3;border-radius:14px;padding:10px 12px;display:flex;flex-direction:column}
.ex-k b{font-size:22px;font-weight:800}
.ex-k span{font-size:12px;color:#6b5d52}
.ex-k em{font-style:normal;font-weight:700;font-size:13px;margin-top:2px}
.ex-k.w{border-color:#d4a017;background:#fff9e8}.ex-k.r b{color:#c2410c}
.ex-note{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#fff9e8;border:1px solid #f0d78a;border-radius:12px;padding:10px 12px;margin:10px 0;font-size:14px}
/* admin dashboard */
.dash{background:linear-gradient(160deg,#fff,#fbf7f2);border:1px solid #eadfd3;border-radius:20px;padding:16px;margin:4px 0 14px;box-shadow:0 6px 20px rgba(60,30,10,.06)}
.dash-hd{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:10px;margin-bottom:12px}
.dash-hd small{color:#6b5d52;font-size:12.5px}
.dash-hd h2{margin:2px 0 0;font-size:24px}
.dash-q{display:flex;gap:6px;flex-wrap:wrap}
.dash-k{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
@media (max-width:760px){.dash-k{grid-template-columns:repeat(2,minmax(0,1fr))}}
.dk{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;background:#fff;border:1px solid #eadfd3;border-radius:14px;padding:12px;min-height:92px;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}
.dk:hover{transform:translateY(-2px);box-shadow:0 6px 14px rgba(60,30,10,.08)}
.dk span{font-size:12px;color:#6b5d52;font-weight:600}
.dk b{font-size:26px;font-weight:800;line-height:1.1;color:#0b3d36}
.dk small{font-size:11.5px;color:#8a7b6f}
.dk.w{border-color:#d4a017;background:#fffaf0}.dk.w b{color:#9a6b00}
.dk.r{border-color:#f0b9a5;background:#fff6f3}.dk.r b{color:#c2410c}
/* smooth everywhere */
html{scroll-behavior:smooth}
button,.btn,.lt,.pp,.dk{-webkit-tap-highlight-color:transparent}
button:active,.lt:active,.dk:active{transform:scale(.98)}
/* papers to approve */
.pv-sum{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 12px}
.pv-sum span{background:#fff;border:1px solid #eadfd3;border-radius:12px;padding:8px 12px;font-size:13px;color:#6b5d52}
.pv-sum b{font-size:18px;color:#2a1a12;margin-right:4px}
.pv{display:grid;grid-template-columns:150px 1fr;gap:14px;background:#fff;border:1px solid #eadfd3;border-left:4px solid #0f766e;border-radius:16px;padding:12px;margin-bottom:12px}
.pv.warn{border-left-color:#d4a017}
@media (max-width:760px){.pv{grid-template-columns:1fr}}
.pv-ph{background:#f1ebe4;border-radius:12px;overflow:hidden;display:flex;align-items:center;justify-content:center;min-height:140px}
.pv-ph img{width:100%;height:100%;max-height:220px;object-fit:cover;cursor:zoom-in}
.pv-ph span{color:#8a7b6f;font-size:13px}
.pv-t{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pv-t b{font-size:16px}
.pv-g{font-size:13px;color:#6b5d52;margin:2px 0 8px}
.pv-kv{display:grid;grid-template-columns:auto 1fr;gap:3px 12px;font-size:13.5px;margin-bottom:8px}
.pv-kv span{color:#6b5d52}.pv-kv small{color:#9a6b00;font-weight:600}
.pv-ck{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:4px}
.pv-ck li{display:flex;gap:8px;align-items:flex-start;font-size:13.5px}
.pv-ck li span{display:flex;flex-direction:column}.pv-ck small{color:#6b5d52;font-size:12px}
.ck{flex:none;width:20px;height:20px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;font-style:normal;font-weight:800;font-size:12px;color:#fff}
.ck.ok{background:#0f766e}.ck.no{background:#c2410c}.ck.q{background:#b8a99b}
.pv-big{width:100%;max-height:55vh;object-fit:contain;background:#111;border-radius:12px;margin-bottom:10px}
.pv-cl{display:grid;gap:6px;background:#f6f1eb;border-radius:12px;padding:10px 12px;margin:10px 0}
.pv-ci{display:flex;gap:8px;align-items:center;font-size:14px}
.pv-ci input{width:20px;height:20px;min-height:0}
@media (max-width:760px){.pv-ph{min-height:0;max-height:160px}.pv-ph img{max-height:160px}}
.lk-who{margin-top:16px;padding-top:12px;border-top:1px solid #eadfd3;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:13px;color:#6b5d52;text-align:center}
.lk-sw{background:none;border:0;color:#0f766e;font-weight:700;text-decoration:underline;min-height:36px;cursor:pointer}
/* numbers never clipped or crowded */
.stat{height:auto!important;min-height:0}
.stat b{white-space:normal!important;overflow-wrap:anywhere}
.stat span{display:block;line-height:1.35}
.gp-row span,.oj{overflow-wrap:anywhere}
td,th{overflow-wrap:normal;word-break:normal}
/* override box */
.ov ul{margin:6px 0 10px;padding-left:18px}.ov li{margin:3px 0;color:#8a1c06}
.ov-left{background:#fff9e8;border:1px solid #f0d78a;border-radius:12px;padding:10px 12px;margin-bottom:10px;font-size:14px}
.ov-left b{font-size:20px;color:#9a6b00}
/* the home timeline */
.tl{--tlw:minmax(64px,1fr);border:1px solid #eadfd3;border-radius:16px;background:#fff;overflow-x:auto;scroll-snap-type:x proximity;box-shadow:0 4px 16px rgba(60,30,10,.05)}
.tl-h,.tl-r{display:grid;grid-template-columns:150px 1fr;min-width:calc(150px + var(--n)*64px)}
.tl-h{position:sticky;top:0;background:linear-gradient(#fbf8f4,#f6f1ea);border-bottom:1px solid #eadfd3;z-index:2;grid-template-columns:150px repeat(var(--n),minmax(64px,1fr))}
.tl-gh{position:sticky;left:0;background:#f8f4ef;font-size:12px;font-weight:700;color:#6b5d52;padding:10px 12px;z-index:3}
.tl-d{text-align:center;padding:6px 0;display:flex;flex-direction:column;line-height:1.1}
.tl-d small{font-size:10.5px;color:#8a7b6f;text-transform:uppercase;letter-spacing:.5px}
.tl-d b{font-size:15px;color:#2a1a12}
.tl-d.we small,.tl-d.we b{color:#a3141c}
.tl-d.td{background:#0f766e;color:#fff;border-radius:10px;margin:4px 3px}.tl-d.td small,.tl-d.td b{color:#fff}
.tl-r{border-bottom:1px solid #f3ede6;min-height:58px}
.tl-r:last-child{border-bottom:0}
.tl-g{position:sticky;left:0;background:#fff;z-index:1;display:flex;align-items:center;gap:8px;padding:8px 10px;border-right:1px solid #f3ede6}
.av{flex:none;width:30px;height:30px;border-radius:15px;background:linear-gradient(135deg,#0f766e,#14b8a6);color:#fff;font-size:11.5px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;letter-spacing:.3px}
.tl-gn{display:flex;flex-direction:column;font-size:13px;font-weight:700;line-height:1.2;overflow:hidden}
.tl-px{font-style:normal;font-size:10px;color:#c2410c;font-weight:700}
.tl-l{display:grid;align-items:center;padding:6px 0;background-image:linear-gradient(90deg,#f6f1ea 1px,transparent 1px);background-size:calc(100%/var(--n)) 100%}
.tl-b{margin:0 3px;min-height:44px;border:0;border-radius:12px;padding:6px 10px;text-align:left;display:flex;flex-direction:column;justify-content:center;overflow:hidden;cursor:pointer;color:#fff;background:linear-gradient(135deg,#0f766e,#0d9488);box-shadow:0 2px 6px rgba(15,118,110,.25);transition:transform .15s ease,box-shadow .15s ease}
.tl-b:hover{transform:translateY(-1px);box-shadow:0 6px 14px rgba(15,118,110,.3)}
.tl-b b{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff}
.tl-b span{font-size:11px;opacity:.88;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tl-b.tn{background:repeating-linear-gradient(135deg,#fff6dc 0 10px,#fdeec0 10px 20px);color:#5b4300;box-shadow:inset 0 0 0 1.5px #e3b341}.tl-b.tn b{color:#5b4300}
.tl-b.lv{background:linear-gradient(135deg,#475569,#334155);box-shadow:none}
.tl-empty{padding:18px;color:#6b5d52;font-size:14px}
.tl-leg{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:#6b5d52;margin:8px 2px 4px}
.tl-leg i{display:inline-block;width:12px;height:12px;border-radius:4px;margin-right:5px;vertical-align:-1px}
.tl-leg .c1{background:#0f766e}.tl-leg .c2{background:#f3d27a}.tl-leg .c3{background:#475569}
/* the full booking chart with character */
.chart{border-radius:16px!important;box-shadow:0 4px 16px rgba(60,30,10,.06);background:#fff}
.chart thead th{background:linear-gradient(#fbf8f4,#f6f1ea)!important;font-size:11px;text-transform:uppercase;letter-spacing:.4px}
.chart th.today{background:#0f766e!important;color:#fff!important}
.chart td{border-color:#f3ede6!important}
.chart td.bkc{border-radius:12px;border:2px solid #fff!important;transition:transform .15s ease,box-shadow .15s ease}
.chart td.bkc:hover{transform:translateY(-1px);box-shadow:0 6px 14px rgba(0,0,0,.08)}
.c-Confirmed{background:linear-gradient(135deg,#e3f1ee,#d2ebe6)!important}
.c-Tentative{background:repeating-linear-gradient(135deg,#fff6dc 0 10px,#fdf0c8 10px 20px)!important}
.chart .sticky{background:#fff!important}
.chart tbody tr:nth-child(even) .sticky{background:#fcfaf7!important}
/* dispatch board */
.dp-seg{margin:6px 0 10px}
.dp-sum{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}.dp-sum span{background:#fff;border:1px solid #eadfd3;border-radius:12px;padding:8px 12px;font-size:13px;color:#6b5d52}.dp-sum b{font-size:18px;color:#2a1a12;margin-right:4px}
.cnt{display:inline-block;background:#0f766e;color:#fff;border-radius:10px;font-size:12px;padding:0 7px;vertical-align:2px}
.dp-g2{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px}
.dp{background:#fff;border:1px solid #eadfd3;border-left:4px solid #0f766e;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:6px}
.dp.tn{border-left-color:#d4a017}.dp.warn{border-left-color:#c2410c}
.dp-t{display:flex;justify-content:space-between;align-items:center}.dp-k{font-size:11px;text-transform:uppercase;letter-spacing:.6px;color:#0f766e;font-weight:800}
.dp-c{font-size:16px}.dp-c small{font-weight:600;color:#6b5d52}
.dp-i{font-size:13.5px;color:#4a3d34}
.dp-g{display:flex;align-items:center;gap:8px;border-top:1px solid #f3ede6;padding-top:8px}.dp-g>span:nth-child(2){flex:1;display:flex;flex-direction:column;font-size:13px}.dp-g small{color:#6b5d52}
.dp-w{font-size:12px;color:#c2410c;font-weight:700}
/* system health */
.hl{display:flex;gap:16px;align-items:center;background:#fff;border:1px solid #eadfd3;border-radius:18px;padding:16px;margin:8px 0 12px;flex-wrap:wrap}
.hl h3{margin:0 0 4px}
.hl-ring{--c:#0f766e;width:110px;height:110px;border-radius:55px;background:conic-gradient(var(--c) calc(var(--p)*1%),#efe8e0 0);display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative}
.hl-ring::before{content:"";position:absolute;inset:10px;border-radius:50%;background:#fff}
.hl-ring b,.hl-ring small{position:relative}.hl-ring b{font-size:30px;font-weight:800}.hl-ring small{font-size:11px;color:#6b5d52}
.hl-ring.w{--c:#d4a017}.hl-ring.r{--c:#c2410c}
.hm{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}
.hm-i{background:#fff;border:1px solid #eadfd3;border-radius:14px;padding:12px}
.hm-t{display:flex;justify-content:space-between;gap:8px;font-size:13.5px}.hm-t span{color:#6b5d52}
.hm-bar{height:7px;background:#f1ebe4;border-radius:4px;margin:8px 0 6px;overflow:hidden}.hm-bar i{display:block;height:100%;border-radius:4px}
.hm-bar .g{background:#0f766e}.hm-bar .w{background:#d4a017}.hm-bar .r{background:#c2410c}
.hm-i small{color:#8a7b6f;font-size:12px}
/* approval history */
.ah{background:#fff;border:1px solid #eadfd3;border-radius:16px;overflow:hidden}
.ah-r{display:flex;gap:12px;align-items:center;padding:12px 14px;border-bottom:1px solid #f3ede6}.ah-r:last-child{border-bottom:0}
.ah-d{flex:none;width:54px;display:flex;flex-direction:column;align-items:center;background:#f6f1eb;border-radius:10px;padding:6px 0}.ah-d b{font-size:13px}.ah-d small{font-size:11px;color:#6b5d52}
.ah-m{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px;font-size:13.5px}.ah-m span{color:#4a3d34}.ah-m small{color:#8a7b6f}
.ah-t{display:flex;gap:8px;align-items:center}.ah-k{font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:#0f766e;font-weight:800}
.chart th.today,.chart td.today{box-shadow:inset 2px 0 0 #0f766e,inset -2px 0 0 #0f766e!important}
/* super admin */
.sa{background:linear-gradient(135deg,#0b3d36,#0f766e);color:#fff;border-radius:18px;padding:14px 16px;margin:8px 0 14px}
.sa .small{color:#d6f0eb}
.sa-h{display:flex;justify-content:space-between;align-items:center;gap:8px}.sa-h b{font-size:17px}.sa-h span{font-size:11.5px;opacity:.8}
.sa-r{display:flex;justify-content:space-between;align-items:center;gap:8px;background:rgba(255,255,255,.1);border-radius:12px;padding:8px 10px;margin:6px 0}
.sa-r span{display:flex;flex-direction:column}.sa-r small{opacity:.8;font-size:12px}
.sa .bar button{background:#fff;color:#0b3d36}
.am-who{font-size:11px;text-transform:uppercase;letter-spacing:.6px;color:#0f766e;font-weight:800;margin:0 0 4px}
/* paper files */
.pf{background:#fff;border:1px solid #eadfd3;border-radius:16px;padding:12px;margin-bottom:12px}
.pf-h{display:flex;align-items:center;gap:8px;margin-bottom:10px}.pf-h b{flex:1}
.pf-g{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.pf-i{display:flex;flex-direction:column;gap:4px;font-size:13px}.pf-i img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;background:#f1ebe4;cursor:zoom-in}
/* leave management */
.lvm{background:#fff;border:1px solid #eadfd3;border-radius:16px;overflow:hidden}
.lvm-r{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:10px 12px;border-bottom:1px solid #f3ede6}.lvm-r:last-child{border-bottom:0}.lvm-r.off{opacity:.65}
.lvm-m{flex:1 1 200px;display:flex;flex-direction:column;font-size:13.5px}.lvm-m small{color:#6b5d52}
.lvm-b{display:flex;gap:6px;flex-wrap:wrap}
/* guide alerts */
#gBell{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;min-height:40px;padding:0;border-radius:20px;background:#fff;border:1px solid #eadfd3;color:#a3141c;margin-right:6px;cursor:pointer}
#gBell i{position:absolute;top:-4px;right:-4px;background:#a3141c;color:#fff;font-style:normal;font-size:10.5px;font-weight:800;border-radius:10px;padding:0 5px;line-height:17px;min-width:17px;text-align:center}
#gBell:not(.has) i{display:none}
#gBell.has{animation:bfring 1.6s ease 1}
@keyframes bfring{0%,100%{transform:rotate(0)}15%{transform:rotate(14deg)}30%{transform:rotate(-12deg)}45%{transform:rotate(8deg)}60%{transform:rotate(-4deg)}}
.ga{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}
.ga-r{display:grid;grid-template-columns:1fr auto;grid-template-areas:"k s" "t t";gap:2px 8px;text-align:left;background:#fff;border:1px solid #eadfd3;border-radius:12px;padding:10px 12px;cursor:pointer}
.ga-r.new{border-left:4px solid #a3141c;background:#fffaf8}
.ga-k{grid-area:k;font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:#0f766e;font-weight:800}
.ga-t{grid-area:t;font-size:14px;color:#2a1a12}
.ga-r small{grid-area:s;color:#8a7b6f;font-size:11.5px}
.ga-on{color:#0f766e}
/* Kenyan number plate */
.plate{display:inline-block;font:800 11.5px/1 "Hanken Grotesk",system-ui,sans-serif;letter-spacing:1px;background:#ffd500;color:#111;border:1.5px solid #111;border-radius:4px;padding:3px 6px;vertical-align:1px;white-space:nowrap}
/* booking chart card on every office home */
.bc-card{background:#fff;border:1px solid #eadfd3;border-radius:20px;padding:14px;margin:0 0 14px;box-shadow:0 6px 20px rgba(60,30,10,.06)}
.bc-h{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}.bc-h h3{margin:0;font-size:18px}.bc-h small{color:#6b5d52}
.bc-card .tl{box-shadow:none}
/* allocate drivers */
.al-head{display:flex;flex-direction:column;gap:8px;margin-bottom:6px}#alQ{width:100%;min-height:44px;border-radius:12px}
.al-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px}
.al{background:#fff;border:1px solid #eadfd3;border-left:4px solid #c2410c;border-radius:16px;padding:12px 14px;display:flex;flex-direction:column;gap:8px}
.al.done{border-left-color:#0f766e}
.al-top{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.al-top>div{display:flex;flex-direction:column}
.al-d{font-size:11.5px;text-transform:uppercase;letter-spacing:.5px;color:#0f766e;font-weight:800}.al-c{font-size:16px}.al-top small{color:#6b5d52;font-size:12.5px}
.al-p{font-size:13px;background:#f6f1eb;border-radius:10px;padding:6px 10px;color:#4a3d34}
.al-g{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.al-gi{flex:1;display:flex;flex-direction:column;gap:3px;min-width:140px}.al-gi small{color:#6b5d52;font-size:12.5px}
.al-b{display:flex;gap:6px;flex-wrap:wrap}
.al-pick select{width:100%;min-height:44px;border-radius:12px}
.al-prev:not(:empty){margin-top:10px;background:#f8f5f1;border-radius:12px;padding:10px}
.al-facts{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.al-facts span{font-size:12px;font-weight:700;border-radius:8px;padding:3px 8px}
.al-facts .ok{background:#e3f1ee;color:#0b3d36}.al-facts .w{background:#fff6dc;color:#7a5a00}.al-facts .r{background:#fde7e1;color:#8a1c06}
.tf-info{display:flex;align-items:center;gap:10px;background:#f6f1eb;border-radius:12px;padding:8px 10px;margin:4px 0 8px;font-size:13px}.tf-info:empty{display:none}.tf-info small{display:block;color:#6b5d52}
/* guide expenses to clear */
.cl{background:#fff;border:1px solid #eadfd3;border-radius:18px;padding:14px;margin:6px 0 16px;box-shadow:0 4px 14px rgba(60,30,10,.05)}
.cl-h{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px}.cl-h h3{margin:0 0 4px}
.cl-sum{background:linear-gradient(135deg,#0f766e,#0b4f49);color:#fff;border-radius:14px;padding:10px 14px;display:flex;flex-direction:column;align-self:flex-start}.cl-sum b{font-size:22px;color:#fff}.cl-sum small{opacity:.85}
.cl-g{border-top:1px solid #f3ede6;margin-top:10px;padding-top:10px}
.cl-gh{display:flex;align-items:center;gap:8px;margin-bottom:6px}.cl-gh b{flex:1}.cl-gh em{font-style:normal;font-weight:800}
.cl-r{display:flex;align-items:center;gap:10px;padding:6px 0 6px 38px}
.cl-cat{font-size:11px;text-transform:uppercase;letter-spacing:.5px;font-weight:800;color:#9a6b00;background:#fff6dc;border-radius:6px;padding:3px 7px;white-space:nowrap}
.cl-m{flex:1;display:flex;flex-direction:column}.cl-m small{color:#6b5d52;font-size:12px}
.cl-l{display:flex;flex-direction:column;gap:4px;background:#f6f1eb;border-radius:12px;padding:10px 12px}.cl-l div{display:flex;justify-content:space-between;gap:8px;font-size:13.5px}.cl-t{border-top:1px solid #e5dbd0;padding-top:6px;margin-top:2px;font-weight:800}
/* dispatch, smarter */
.ds-hero{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;background:linear-gradient(135deg,#0b3d36,#0f766e);color:#fff;border-radius:20px;padding:16px 18px;margin:6px 0 12px}
.ds-hero small{opacity:.8;text-transform:uppercase;letter-spacing:.6px;font-size:11.5px}.ds-hero h2{margin:2px 0 0;color:#fff!important;font-size:24px}
.ds-k{display:flex;gap:8px}.ds-k span{background:rgba(255,255,255,.12);border-radius:12px;padding:6px 12px;display:flex;flex-direction:column;align-items:center;font-size:11.5px}.ds-k b{font-size:20px;color:#fff}
.ds-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;margin-bottom:6px}.ds-bar .seg{flex:1;min-width:240px}
.ds-h{margin:16px 0 8px;font-size:15px;text-transform:uppercase;letter-spacing:.6px;color:#6b5d52}
.ds-list{display:flex;flex-direction:column;gap:0;position:relative}
.ds-i{display:grid;grid-template-columns:64px 1fr;gap:10px;position:relative;padding-bottom:12px}
.ds-i::before{content:"";position:absolute;left:31px;top:42px;bottom:0;width:2px;background:#e7ddd2}
.ds-i:last-child::before{display:none}
.ds-time{display:flex;flex-direction:column;align-items:center;background:#0f766e;color:#fff;border-radius:12px;padding:6px 0;height:fit-content}.ds-time b{font-size:15px;color:#fff}.ds-time small{font-size:10px;opacity:.85;text-transform:uppercase}
.ds-i.tn .ds-time{background:#d4a017}.ds-i.warn .ds-time{background:#c2410c}
.ds-card{background:#fff;border:1px solid #eadfd3;border-radius:16px;padding:12px 14px;display:flex;flex-direction:column;gap:6px;box-shadow:0 2px 10px rgba(60,30,10,.04)}
.ds-top{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.ds-top b{font-size:16px}.ds-pax{font-size:11.5px;font-weight:800;background:#e3f1ee;color:#0b3d36;border-radius:8px;padding:2px 8px}
.ds-w{font-size:13.5px;color:#4a3d34}.ds-co{font-size:12px;color:#8a7b6f}
.ds-g{display:flex;align-items:center;gap:10px;border-top:1px solid #f3ede6;padding-top:8px;flex-wrap:wrap}.ds-gi{flex:1;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ds-b{display:flex;gap:6px}
.ds-x{font-size:12px;font-weight:700;color:#c2410c}
.ds-on{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px}
.ds-o{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #eadfd3;border-radius:14px;padding:10px 12px}.ds-o>span:nth-child(2){flex:1;display:flex;flex-direction:column;font-size:13.5px}.ds-o small{color:#6b5d52}
/* guide CRM cards */
.cr-top{margin-bottom:10px}.cr-tools{display:flex;gap:8px;flex-wrap:wrap}.cr-tools input{flex:1 1 220px;min-height:44px;border-radius:12px}.cr-tools select{min-height:44px;border-radius:12px}
.cr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}
.cr{background:#fff;border:1px solid #eadfd3;border-top:4px solid #0f766e;border-radius:18px;padding:14px;display:flex;flex-direction:column;gap:10px;cursor:pointer;box-shadow:0 3px 12px rgba(60,30,10,.05);transition:transform .15s ease,box-shadow .15s ease}
.cr:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(60,30,10,.09)}
.cr.bad{border-top-color:#c2410c}
.cr-h{display:flex;gap:10px;align-items:flex-start}
.av.lg{width:44px;height:44px;border-radius:22px;font-size:15px}
.cr-n{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.cr-n b{font-size:16px}.cr-n small{color:#6b5d52;font-size:12px}.cr-n span{font-size:12.5px;color:#4a3d34}
.cr-st{flex:none;font-size:11px;font-weight:800;border-radius:10px;padding:3px 9px;white-space:nowrap}
.cr-st.road{background:#0f766e;color:#fff}.cr-st.free{background:#e3f1ee;color:#0b3d36}.cr-st.leave{background:#475569;color:#fff}
.cr-now,.cr-nx{display:flex;flex-direction:column;background:#f8f5f1;border-radius:12px;padding:8px 10px;font-size:13px}.cr-now{background:#e3f1ee}
.cr-now small,.cr-nx small{font-size:10.5px;text-transform:uppercase;letter-spacing:.5px;color:#6b5d52;font-weight:700}.cr-nx span,.cr-now span{color:#6b5d52;font-size:12.5px}
.cr-k{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.cr-k span{display:flex;flex-direction:column;font-size:11px;color:#6b5d52;line-height:1.25}.cr-k b{font-size:17px;color:#2a1a12}
.cr-bar{height:5px;background:#f1ebe4;border-radius:3px;overflow:hidden;margin-top:-4px}.cr-bar i{display:block;height:100%;background:linear-gradient(90deg,#0f766e,#14b8a6)}
.cr-m{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:13px;color:#6b5d52}.cr-m b{color:#2a1a12}
.cr-f{display:flex;flex-wrap:wrap;gap:6px}.cr-f span{font-size:11.5px;font-weight:700;border-radius:8px;padding:3px 8px}
.cr-f .ok{background:#e3f1ee;color:#0b3d36}.cr-f .r{background:#fde7e1;color:#8a1c06}.cr-f .w{background:#fff6dc;color:#7a5a00}
.cr-b{display:flex;gap:6px;flex-wrap:wrap;border-top:1px solid #f3ede6;padding-top:10px}
a.btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:36px;padding:0 14px;border-radius:12px;border:1px solid #e0d6cb;background:#fff;color:#2a1a12;font-weight:700;font-size:14px;text-decoration:none}
a.btn.sm{min-height:34px;padding:0 12px;font-size:13px}
a.btn.pri{background:#a3141c;color:#fff;border-color:#a3141c}
/* v33: the booking chart drawn like an office wall planner: flat ink colours, plain ruled lines, no gloss */
.tl{border:1px solid #d9d2c7;border-radius:6px;box-shadow:none;background:#fffdf9}
.tl-h{background:#f4efe6!important;border-bottom:1px solid #d9d2c7}
.tl-gh{background:#f4efe6;color:#4a3f36;font-weight:600;letter-spacing:0}
.tl-d small{letter-spacing:0;text-transform:none;font-size:11px}
.tl-d.td{background:none;border-radius:0;margin:0;box-shadow:inset 0 -3px 0 #a3141c}.tl-d.td small,.tl-d.td b{color:#a3141c}
.tl-r{border-bottom:1px solid #ece6dc}
.tl-g{background:#fffdf9;border-right:1px solid #d9d2c7}
.tl-l{background-image:linear-gradient(90deg,#ece6dc 1px,transparent 1px)}
.tl-b{border-radius:3px;background:#e3f0ee;color:#123c38;border-left:4px solid #2f6f68;box-shadow:none;transition:background .15s}
.tl-b:hover{transform:none;box-shadow:none;background:#d3e7e3}
.tl-b b{color:#123c38;font-weight:600}.tl-b span{opacity:1;color:#3f5b57}
.tl-b.tn{background:#fbf1d6;border-left-color:#b7862a;box-shadow:none;color:#5b4300}.tl-b.tn b{color:#5b4300}
.tl-b.lv{background:#ebe9e6;border-left-color:#77706a;color:#3d3833}.tl-b.lv b{color:#3d3833}.tl-b.lv span{color:#5f5952}
.tl-leg .c1{background:#2f6f68}.tl-leg .c2{background:#b7862a}.tl-leg .c3{background:#77706a}
.tl-leg i{border-radius:2px}
.chart{border-radius:6px!important;box-shadow:none;border:1px solid #d9d2c7}
.chart thead th{background:#f4efe6!important;text-transform:none;letter-spacing:0;font-weight:600}
/* history loading note */
.hl-load{display:flex;align-items:center;gap:10px;background:#fff8ec;border:1px solid #eedcb8;border-radius:10px;padding:10px 14px;margin:0 0 12px;font-size:13.5px;color:#5b4300}
.spin{width:16px;height:16px;border:2px solid #e3c98f;border-top-color:#a3141c;border-radius:50%;animation:sp .8s linear infinite;flex:none}@keyframes sp{to{transform:rotate(360deg)}}
/* payments stepper */
.stp{background:#fff;border:1px solid #eadfd3;border-radius:14px;padding:14px 16px;margin:0 0 14px}
.stp-h{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:12px}.stp-h small{color:#8a7b6f}
.stp-l{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,1fr);gap:0;counter-reset:s}
.stp-l li{position:relative}
.stp-l li:not(:last-child)::after{content:'';position:absolute;top:17px;left:calc(50% + 20px);right:calc(-50% + 20px);height:2px;background:#e7ded3}
.stp-l li.done:not(:last-child)::after{background:#2f6f68}
.stp-l button{all:unset;cursor:pointer;display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;width:100%;padding:0 4px;box-sizing:border-box}
.stp-n{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-weight:700;background:#f4efe6;color:#6b5d52;border:2px solid #e7ded3}
.done .stp-n{background:#2f6f68;border-color:#2f6f68;color:#fff}.now .stp-n{background:#fff;border-color:#a3141c;color:#a3141c}
.stp-t{display:flex;flex-direction:column;line-height:1.25}.stp-t b{font-size:13.5px}.stp-t small{font-size:11.5px;color:#8a7b6f}
.stp-v{font-size:13px;font-weight:700;color:#2a1a12;background:#f8f4ef;border-radius:999px;padding:2px 10px}
.now .stp-v{background:#fdecec;color:#a3141c}
.stp-w{font-size:11px;color:#8a7b6f}.mine .stp-w{color:#a3141c;font-weight:700}
@media(max-width:700px){.stp-l{grid-template-columns:1fr;gap:10px}.stp-l li:not(:last-child)::after{left:16px;right:auto;top:38px;width:2px;height:calc(100% - 28px)}
 .stp-l button{flex-direction:row;align-items:center;text-align:left;gap:10px;flex-wrap:wrap}.stp-t{flex:1;min-width:0}.stp-w{width:100%;padding-left:44px;margin-top:-4px}}
/* unpaid summary */
.up-k{display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:10px;margin:4px 0 10px}
.up-k>div{background:#fff;border:1px solid #eadfd3;border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:3px}
.up-k small{font-size:12px;color:#6b5d52}.up-k b{font-size:18px;white-space:nowrap}.up-k span{font-size:12px;color:#8a7b6f}
.up-t{background:#2a1a12!important;border-color:#2a1a12!important}.up-t small,.up-t span{color:#d8cbbf!important}.up-t b{color:#fff;font-size:22px}
.up-c{border-left:4px solid!important}.up-c.c1{border-left-color:#2f6f68!important}.up-c.c2{border-left-color:#b7862a!important}.up-c.c3{border-left-color:#a3141c!important}.up-c.c4{border-left-color:#77706a!important}
.up-leg{display:flex;gap:14px;font-size:12px;color:#6b5d52;margin:0 2px 8px}.up-leg i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:5px}
.up-leg .c1,.up-bar .c1{--c:#2f6f68}.up-leg .c2,.up-bar .c2{--c:#b7862a}.up-leg .c3,.up-bar .c3{--c:#a3141c}.up-leg i,.up-bar i{background:var(--c)}
.up-l{display:flex;flex-direction:column;gap:8px}
.up-r{background:#fff;border:1px solid #eadfd3;border-radius:12px;padding:10px 14px;cursor:pointer}.up-r:hover{border-color:#cdbfb0}
.up-g{display:flex;align-items:center;gap:10px}.up-g>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column}.up-g small{color:#8a7b6f;font-size:12px}
.up-g em{font-style:normal;font-weight:700;font-size:15px;white-space:nowrap}
.up-bar{display:flex;height:6px;border-radius:3px;background:#f4efe6;overflow:hidden;margin-top:8px}.up-bar i{display:block;height:100%}
@media(max-width:800px){.up-k{grid-template-columns:1fr 1fr}.up-t{grid-column:1/-1}}
/* wide totals */
.tw-wide{overflow-x:auto}.tw-wide td,.tw-wide th{white-space:nowrap}.tw-wide td:first-child,.tw-wide th:first-child{position:sticky;left:0;background:#fff;z-index:1}
/* pay guides */
.pg-k{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:6px}.pg-k>div{background:#fff;border:1px solid #eadfd3;border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:2px}.pg-k small{color:#6b5d52}.pg-k b{font-size:20px}.pg-k span{font-size:12px;color:#8a7b6f}
.pg-l{display:flex;flex-direction:column;gap:8px}.pg-r{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid #eadfd3;border-radius:12px;padding:12px 14px}
.pg-m{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.pg-m small{color:#6b5d52;font-size:12.5px}
.pg-a{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.pg-a em{font-style:normal;font-weight:700;font-size:16px;white-space:nowrap}.pg-a small{color:#8a7b6f}
.ref{font-family:ui-monospace,monospace;font-size:12.5px}
@media(max-width:600px){.pg-r{flex-wrap:wrap}.pg-a{width:100%;flex-direction:row;justify-content:space-between;align-items:center}}
/* security, data protection, backups */
.sec-ck{display:flex;flex-direction:column;gap:6px;margin:8px 0}
.sec-ck>div{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid #eadfd3;border-radius:10px;padding:10px 12px}
.sec-ck i{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-weight:700;flex:none}
.sec-ck .on i{background:#e3f0ee;color:#2f6f68}.sec-ck .todo i{background:#fbf1d6;color:#8a5a00}
.sec-ck span{flex:1;display:flex;flex-direction:column}.sec-ck small{color:#6b5d52;font-size:12.5px}
.dp-top{display:flex;gap:18px;align-items:center;background:#fff;border:1px solid #eadfd3;border-radius:14px;padding:16px;margin-bottom:10px}.dp-top h3{margin:0 0 4px}
.bk-top{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fff;border:1px solid #eadfd3;border-radius:14px;padding:14px 16px;margin-bottom:10px}.bk-top>div{display:flex;flex-direction:column}.bk-top small,.bk-top span{color:#6b5d52;font-size:12.5px}.bk-top b{font-size:17px}
.bk-l{display:flex;flex-direction:column;gap:6px}.bk-r{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fff;border:1px solid #eadfd3;border-radius:10px;padding:9px 12px}.bk-r span{display:flex;flex-direction:column}.bk-r small{color:#6b5d52;font-size:12px}
.consent{display:flex;gap:8px;align-items:flex-start;font-size:13px;color:#4a3f36;margin:8px 0;grid-column:1/-1}.consent input{margin-top:3px}
.pn h4{margin:0 0 8px}.pn p{font-size:14px;line-height:1.55;margin:0 0 8px}
@media(max-width:600px){.dp-top{flex-direction:column;align-items:flex-start}}
.gl-s{list-style:none;counter-reset:g;margin:6px 0 12px;padding:0;display:flex;flex-direction:column;gap:8px}
.gl-s li{counter-increment:g;display:flex;gap:12px;align-items:flex-start;background:#fff;border:1px solid #eadfd3;border-radius:12px;padding:10px 14px}
.gl-s li::before{content:counter(g);flex:none;width:26px;height:26px;border-radius:50%;background:#a3141c;color:#fff;display:grid;place-items:center;font-weight:700;font-size:13px}
.gl-s b{display:block}.gl-s span{font-size:13px;color:#6b5d52}
/* v37: trip papers, client requests, fun facts, client portal */
.td-box,.cr-box{margin:10px 0;padding:10px 12px;border-radius:10px;background:#f8f4ef;border:1px solid #eadfd3}
.cr-box{background:#fff8ec;border-color:#eedcb8}.cr-box p{margin:6px 0 0}
.td-i{display:flex;gap:8px;align-items:center;width:100%;text-align:left;margin-top:6px;background:#fff;border:1px solid #e0d6cb;border-radius:8px;padding:8px 10px;font:inherit;cursor:pointer}
.td-i span{font-size:11.5px;font-weight:700;color:#2f6f68;background:#e3f0ee;border-radius:999px;padding:2px 8px;white-space:nowrap}
.fun{background:#fff8ec;border:1px solid #eedcb8;border-left:4px solid #b7862a;border-radius:10px;padding:10px 14px;margin:10px 0}
.fun small{display:block;font-weight:700;color:#8a5a00;font-size:12px;margin-bottom:3px}.fun p{margin:0;line-height:1.5}
.crq-l{display:flex;flex-direction:column;gap:8px}.crq{background:#fff;border:1px solid #eadfd3;border-radius:12px;padding:12px 14px}.crq.new{border-left:4px solid #a3141c}
.crq-h{display:flex;justify-content:space-between;align-items:center;gap:8px}.crq-t{font-size:15px;margin:6px 0}
body.client #sub,body.client #nav{display:none}
.cp-head{margin:4px 0 10px}.cp-head small{color:#8a7b6f;font-weight:600}.cp-head h2{margin:2px 0 0}
.cp-tabs{margin-bottom:12px;overflow-x:auto}
.cp-drv{display:flex;align-items:center;gap:12px;background:#f4efe6;border-radius:12px;padding:10px 12px;margin:10px 0}.cp-drv>div{flex:1;display:flex;flex-direction:column}.cp-drv small{color:#6b5d52}.cp-drv span:not(.av){font-size:13px;color:#4a3f36}
body.client #amBtn,body.client #bell,body.client #bfOut,body.client #gBell,body.client .mb-bar,body.client #ptitle{display:none!important}
/* v38: hide amounts switch */
.amt-btn{display:inline-flex;align-items:center;gap:6px;border:1px solid #e0d6cb;background:#fff;border-radius:18px;padding:6px 11px;font:inherit;font-size:13px;color:#4a3f36;cursor:pointer}
.amt-btn svg{flex:none}@media(max-width:560px){.amt-btn span{display:none}.amt-btn{padding:7px}}
body.amt-off .mo-hero b,body.amt-off .up-k b,body.amt-off .pg-k b{letter-spacing:1px}
.more-a{display:flex;flex-direction:column;text-decoration:none;color:inherit}
/* v39: every form keeps its send button in view. The sheet scrolls inside the screen, sits above the bottom bar,
   and the row with the submit button stays pinned to the bottom of the sheet. */
#modal{z-index:1000;padding:3vh 10px}
#toast{z-index:1100}
.sheet{max-height:94vh;max-height:94dvh;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.sheet form .foot,.sheet form .full:has(> button[type=submit]),.sheet form > button[type=submit]{position:sticky;bottom:-20px;z-index:3;background:var(--bg,#faf7f2);margin:16px -20px -20px;padding:12px 20px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #eadfd3;box-shadow:0 -6px 14px rgba(42,26,18,.06);display:flex;gap:10px;flex-wrap:wrap}
.sheet form .full:has(> button[type=submit]){grid-column:1/-1}
.sheet form > button[type=submit]{width:calc(100% + 40px);justify-content:center}
.sheet form [type=submit]{min-height:46px;font-size:16px;flex:1 1 auto}
@media(max-width:700px){#modal{align-items:flex-end;padding:0}.sheet{width:100%;max-height:92vh;max-height:92dvh;padding:18px 16px 20px}
  .sheet form .foot,.sheet form .full:has(> button[type=submit]){margin:16px -16px -20px;padding:12px 16px calc(12px + env(safe-area-inset-bottom))}
  body.modal-open #bfbar{display:none}}
/* v39: links to share */
.lk-l{display:flex;flex-direction:column;gap:8px}.lk-r{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;background:#fff;border:1px solid #eadfd3;border-radius:10px;padding:10px 12px}
.lk-r>div:first-child{display:flex;flex-direction:column}.lk-r span{font-size:12.5px;color:#6b5d52;word-break:break-all}.lkbar{display:flex;gap:6px;flex-wrap:wrap}
.am-n{background:#a3141c;color:#fff;border-radius:999px;padding:1px 7px;font-size:11px;margin-left:6px}
/* v40: install card */
.inst{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;background:#fff;border:1px solid #eadfd3;border-left:4px solid #a3141c;border-radius:12px;padding:12px 14px;margin:0 0 12px}
.inst>div:first-child{display:flex;flex-direction:column;flex:1;min-width:200px}.inst span{font-size:13px;color:#6b5d52}.inst-b{display:flex;gap:6px}
/* v41: client control */
.cc-k{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:6px 0 12px}.cc-c{all:unset;cursor:pointer;background:#fff;border:1px solid #eadfd3;border-radius:12px;padding:10px 12px;display:flex;flex-direction:column}.cc-c b{font-size:20px}.cc-c span{font-size:12px;color:#6b5d52}.cc-c.on{border-color:#a3141c;box-shadow:inset 0 0 0 1px #a3141c}
.cc-l{display:flex;flex-direction:column;gap:8px}.cc-r{all:unset;cursor:pointer;display:flex;gap:12px;align-items:center;background:#fff;border:1px solid #eadfd3;border-radius:12px;padding:10px 14px}.cc-r:hover{border-color:#cdbfb0}
.cc-m{flex:1;min-width:0;display:flex;flex-direction:column}.cc-m small{color:#6b5d52;font-size:12.5px}.cc-s{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.cc-b{font-style:normal;font-size:12px;font-weight:700;background:#f4efe6;border-radius:999px;padding:2px 9px;white-space:nowrap}.cc-b.red{background:#fdecec;color:#a3141c}.cc-b.amb{background:#fbf1d6;color:#8a5a00}
.cc-d h4{margin:16px 0 6px}.cc-t{padding:6px 0;border-bottom:1px solid #f0e9df;font-size:14px}.cc-tl{list-style:none;padding:0;margin:0}.cc-tl li{padding:7px 0;border-bottom:1px solid #f0e9df;font-size:13.5px}.cc-tl small{display:block;color:#8a7b6f}
.cc-prev{border:1px dashed #cdbfb0;border-radius:12px;padding:12px;background:#faf7f2;pointer-events:none}
.cu{background:#fff;border:1px solid #eadfd3;border-left:4px solid #2f6f68;border-radius:12px;padding:10px 14px;margin:0 0 12px}.cu-h{display:flex;justify-content:space-between;align-items:center}.cu-h em{font-style:normal;background:#a3141c;color:#fff;border-radius:999px;padding:1px 8px;font-size:11px;margin-left:6px}
.cu p{margin:6px 0;font-size:14px}.cu p.new{font-weight:600}.cu small{color:#8a7b6f;font-weight:400}
@media(max-width:700px){.cc-k{grid-template-columns:1fr 1fr}.cc-r{flex-wrap:wrap}.cc-s{justify-content:flex-start;width:100%}}
/* v41: Android and iPhone */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
*{-webkit-tap-highlight-color:rgba(163,20,28,.12)}
@media(max-width:700px){input,select,textarea{font-size:16px!important}}
@supports(padding:max(0px)){header{padding-top:env(safe-area-inset-top)}body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}}
@media(display-mode:standalone){body{overscroll-behavior-y:contain}}
img{max-width:100%}
/* v41: small phones (iPhone SE, 320 to 375 px wide) */
.al-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr))}.cr-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
.al,.cr-c,.pg-r,.up-r,.cc-r{min-width:0;max-width:100%}
.pilot-n{background:#fff8ec;border:1px solid #eedcb8;border-left:4px solid #b7862a;border-radius:10px;padding:10px 14px;margin:0 0 12px;font-size:13.5px;color:#4a3f36}
.bf-foot{margin-top:18px;font-size:11px;color:#9a8c7e;text-align:center}.bf-foot a{color:#9a8c7e}
/* Elegant 3D brand header (sign-in, lock, install) */
.bf-brand{display:flex;flex-direction:column;align-items:center;gap:0;margin:4px 0 6px}
.bf-badge{width:116px;height:116px;border-radius:50%;background:#fff;object-fit:cover;
  box-shadow:0 14px 30px rgba(42,26,18,.30), 0 4px 10px rgba(42,26,18,.18), inset 0 2px 5px rgba(255,255,255,.65), inset 0 -3px 8px rgba(42,26,18,.12);
  transform:translateZ(0)}
.bf-name{font-family:"Hanken Grotesk",system-ui,sans-serif;font-weight:800;font-size:23px;letter-spacing:.01em;color:#1f140e;margin-top:16px;line-height:1.1}
.bf-tag{font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:#a3141c;font-weight:700;margin-top:5px}
@media(prefers-reduced-motion:no-preference){.bf-badge{transition:transform .4s ease}.bf-badge:hover{transform:translateY(-2px) scale(1.02)}}
/* v43: both logos, live dot */
.cp-logos{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:10px}
.cp-l-bf,.cp-l-co{height:56px;width:56px;border-radius:50%;object-fit:cover;background:#fff;box-shadow:0 4px 12px rgba(42,26,18,.18),inset 0 1px 3px rgba(255,255,255,.6)}
.cp-l-co{border-radius:12px}
.cp-x{color:#c9bcae;font-size:18px;font-weight:700}
.live{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:700;color:#2f6f68;background:#e3f0ee;border-radius:999px;padding:3px 9px;margin-left:4px}
.live i{width:7px;height:7px;border-radius:50%;background:#2f6f68;display:inline-block;animation:lp 2s ease-in-out infinite}
.live.off{color:#8a7b6f;background:#f0ece6}.live.off i{background:#b7a99a;animation:none}
@keyframes lp{0%,100%{opacity:1}50%{opacity:.35}}
/* v44: premium Super Admin dashboard */
.dash.has-hero{background:none!important;border:0!important;padding:0!important;box-shadow:none!important;margin:0 0 4px!important}
.px-hero{display:flex;align-items:center;gap:14px;background:linear-gradient(135deg,#2a1a12 0%,#4a2318 55%,#a3141c 160%);color:#fff;border-radius:18px;padding:18px 18px;margin:2px 0 14px;box-shadow:0 10px 26px rgba(42,26,18,.22)}
.px-badge{width:58px;height:58px;border-radius:50%;background:#fff;flex:none;box-shadow:0 4px 12px rgba(0,0,0,.25),inset 0 1px 3px rgba(255,255,255,.6)}
.px-hero-t{display:flex;flex-direction:column;min-width:0}
.px-hero-t small{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#e9cfc6;font-weight:600}
.px-hero-t h2{font-family:"Barlow Semi Condensed",sans-serif;font-weight:700;font-size:26px;margin:2px 0;color:#fff;line-height:1.05}
.px-hero-t span{font-size:12px;color:#e3c7bf;letter-spacing:.03em}
.px-sec{display:flex;align-items:baseline;justify-content:space-between;margin:16px 2px 8px}
.px-sec h4{font-family:"Barlow Semi Condensed",sans-serif;font-weight:700;font-size:15px;letter-spacing:.08em;text-transform:uppercase;color:#6b5d52;margin:0}
.px-sec small{font-size:12px;color:#a2958a}
.px-qa-row{display:flex;gap:9px;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
.px-qa-row::-webkit-scrollbar{display:none}
.px-op{flex:0 0 auto;scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;gap:7px;width:76px;background:none;border:0;cursor:pointer;padding:4px 2px}
.px-op-ic{position:relative;width:54px;height:54px;border-radius:17px;background:#fff;border:1px solid #ece3d8;box-shadow:0 3px 9px rgba(42,26,18,.08);display:grid;place-items:center;color:#a3141c;transition:transform .15s,box-shadow .15s}
.px-op-ic svg{width:24px;height:24px}
.px-op:hover .px-op-ic,.px-op:active .px-op-ic{transform:translateY(-2px);box-shadow:0 7px 16px rgba(42,26,18,.16)}
.px-op-n{position:absolute;top:-6px;right:-6px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#a3141c;color:#fff;font-style:normal;font-size:11px;font-weight:700;display:grid;place-items:center;box-shadow:0 2px 5px rgba(163,20,28,.4)}
.px-op-t{font-size:11.5px;color:#4a3f36;text-align:center;line-height:1.15;font-weight:500}
.dash.has-hero .dash-k{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:4px}
.px-dk{background:#fff;border:1px solid #ece3d8;border-radius:15px;padding:13px 14px;display:flex;flex-direction:column;align-items:flex-start;gap:2px;cursor:pointer;box-shadow:0 2px 6px rgba(42,26,18,.05);transition:border-color .15s,box-shadow .15s}
.px-dk:hover{border-color:#d8c8b8;box-shadow:0 5px 14px rgba(42,26,18,.1)}
.px-dk span{font-size:12px;color:#8a7b6f;font-weight:500}
.px-dk b{font-family:"Barlow Semi Condensed",sans-serif;font-size:27px;font-weight:700;color:#2a1a12;line-height:1;white-space:nowrap}
.px-dk small{font-size:11.5px;color:#a2958a}
.px-dk.w{border-color:#f0d9b0;background:#fffaf0}.px-dk.w b{color:#a3141c}
.px-up{margin-top:4px}
.px-up-r{display:flex;align-items:center;gap:12px;width:100%;background:#fff;border:1px solid #ece3d8;border-radius:13px;padding:11px 14px;margin-bottom:7px;cursor:pointer;text-align:left;box-shadow:0 2px 5px rgba(42,26,18,.04)}
.px-up-r:hover{border-color:#d8c8b8}
.px-up-ic{width:38px;height:38px;border-radius:11px;background:#fdf0ef;color:#a3141c;display:grid;place-items:center;flex:none}.px-up-ic svg{width:19px;height:19px}
.px-up-m{flex:1;min-width:0;display:flex;flex-direction:column}
.px-up-m b{font-size:13.5px;color:#2a1a12;font-weight:700}.px-up-m span{font-size:12.5px;color:#8a7b6f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.px-up-t{font-size:11.5px;color:#a2958a;white-space:nowrap}
.px-up-empty{background:#f4f7f5;border:1px solid #d9e8e2;color:#2f6f68;border-radius:13px;padding:14px;font-size:13.5px;text-align:center}
.am-install{border-top:1px solid #eee4d8;margin-top:6px;padding-top:4px}
@media(min-width:520px){.dash.has-hero .dash-k{grid-template-columns:repeat(3,1fr)}.px-op{width:84px}}
@media(min-width:1040px){.dash.has-hero .dash-k{grid-template-columns:repeat(6,1fr)}}

/* ===== release 41: premium type, edge alignment, facts, travel strip, trip plan ===== */
/* elegant serif for the brand and headings; refined grotesque (Hanken) stays for the rest */
h1,h2,h3,#ptitle,.px-hero-t h2,.bf-name,.gp-animal-t b{font-family:"Fraunces",Georgia,"Times New Roman",serif!important;font-optical-sizing:auto}
h1,h2,h3,#ptitle{font-weight:600!important;letter-spacing:0!important}
.px-hero-t h2{font-weight:600!important}
.bf-name{font-weight:600!important;letter-spacing:0}
body{letter-spacing:0!important}
/* hide the source of the facts and the photo credit on the guide home */
.gp-animal-t .src,.gp-photo .cr{display:none!important}
/* task bar hugs the left edge; home stat tiles put the value on the extreme right */
.px-qa-row{justify-content:flex-start!important;padding-left:2px}
/* on tablets and larger, wrap the quick-access tiles so every operation shows without a hidden scroll */
@media(min-width:760px){.px-qa-row{flex-wrap:wrap;overflow-x:visible;row-gap:4px}}
.dash.has-hero .px-dk{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;column-gap:8px;row-gap:3px;text-align:left!important;padding:12px 14px}
.dash.has-hero .px-dk span{grid-column:1;grid-row:1;min-width:0;overflow-wrap:anywhere}
.dash.has-hero .px-dk b{grid-column:2;grid-row:1;justify-self:end;white-space:nowrap}
.dash.has-hero .px-dk small{grid-column:1 / -1;grid-row:2}
/* rotating fact card */
.bf-fact{margin:10px 0 0;padding:14px 16px;background:#fff;border:1px solid #eadfd3;border-radius:14px}
.bf-fact small{display:block;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#0f766e;margin-bottom:5px;font-family:"Hanken Grotesk",sans-serif!important}
.bf-fact p{margin:0 0 9px;font-size:15px;line-height:1.5;color:#2a1a12}
.bf-fact .sm{min-height:36px;padding:0 12px}
/* who is travelling: today and the next four days */
.px-sec-tv{margin-top:14px}
.tv-wrap{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 8px;-webkit-overflow-scrolling:touch}
.tv-day{flex:0 0 205px;background:#fff;border:1px solid #eadfd3;border-radius:14px;padding:10px 11px;display:flex;flex-direction:column;gap:6px}
.tv-dh{display:flex;justify-content:space-between;align-items:center;font-weight:700;font-size:13px;color:#2a1a12;border-bottom:1px solid #f0e7da;padding-bottom:6px}
.tv-dh em{font-style:normal;background:#2a1a12;color:#fff;border-radius:20px;font-size:11px;padding:1px 9px;min-width:20px;text-align:center}
.tv-row{display:block;text-align:left;width:100%;border:0;background:#f7f1e8;border-radius:10px;padding:7px 9px;min-height:0;cursor:pointer}
.tv-row b{display:block;font-size:13px;color:#2a1a12}
.tv-row span{display:block;font-size:11.5px;color:#6b5d52}
.tv-none{font-size:12px;color:#9b8c7d;padding:3px 2px}
/* day-by-day plan builder */
.pl-top{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:8px 0 14px}
.pl-top label{display:flex;flex-direction:column;font-size:12.5px;gap:3px}
.pl-days{display:flex;flex-direction:column;gap:10px}
.pl-day{border:1px solid #eadfd3;border-radius:12px;padding:10px 12px;background:#fff}
.pl-dh{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:4px}
.pl-dh b{font-size:14px}.pl-dh span{font-size:12px;color:#6b5d52}
.pl-day label{display:flex;flex-direction:column;font-size:12.5px;gap:3px;margin-top:6px}
.pl-vch{margin-top:8px}
.pl-vadd{font-size:12.5px;color:#0f766e}
.pl-vhas{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12.5px}
.pl-vhas a{color:#0f766e;font-weight:600}
@media(max-width:520px){.pl-top{grid-template-columns:1fr}}
/* per-day hotel, programme and voucher on the trip cards */
.dy-prog li{margin-bottom:8px}
.dy-h{display:block;font-size:12.5px;color:#0f766e;font-weight:600}
.dy-i{display:block;font-size:12.5px;color:#6b5d52;line-height:1.4}
.dy-v{display:inline-block;margin-top:3px;font-size:12px;color:#0f766e;font-weight:600}
.gp-pf{background:#f0f7f4;border:1px solid #cfe6dd;color:#0f5132;border-radius:10px;padding:7px 10px;font-size:13px;margin:8px 0}
/* scan toggle on the expense form */
.fg .ck{flex-direction:row!important;align-items:center;gap:8px;font-size:13px}
.fg .ck input{width:auto;min-height:0}

/* ===== release 42: stories, fact buttons, client branding ===== */
.bf-fact-b{display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
.st-facts,.st-stories{margin-top:6px}
.st-facts h3,.st-stories h3{font-size:18px;margin:12px 0 6px}
.st-f{background:#f7f1e8;border-radius:10px;padding:9px 12px;margin:6px 0;font-size:14px;line-height:1.5;color:#2a1a12}
.st-s{border-left:3px solid #0f766e;padding:2px 0 2px 12px;margin:12px 0}
.st-s b{display:block;font-size:15px;margin-bottom:3px}
.st-s p{margin:0;font-size:14px;line-height:1.55;color:#4a3f36}
/* client view: their logo mark and a soft background */
.cp-mylogo{display:block;max-height:46px;max-width:160px;object-fit:contain;margin:0 0 8px}
.cp-logo-prev{display:block;max-height:80px;max-width:200px;object-fit:contain;margin:6px 0;border:1px solid #eadfd3;border-radius:10px;padding:8px;background:#fff}
body.cp-bg #view{position:relative}
body.cp-bg #view::before{content:"";position:fixed;inset:0;background-image:var(--cp-logo);background-repeat:no-repeat;background-position:center 40%;background-size:min(62%,300px);opacity:.05;pointer-events:none;z-index:0}
body.cp-bg #view>*{position:relative;z-index:1}
.cp-head{padding:4px 0 2px}

/* ===== release 43: daily check sequence, travel page, clash resolver, reminder banner ===== */
.dc-banner{display:flex;flex-direction:column;align-items:flex-start;gap:1px;width:100%;text-align:left;border:0;border-radius:14px;padding:12px 15px;margin:0 0 12px;background:linear-gradient(135deg,#2a1a12,#a3141c);color:#fff;cursor:pointer}
.dc-banner b{font-size:15px}.dc-banner span{font-size:12.5px;opacity:.9}
.dc-steps{display:flex;gap:6px;margin:0 0 12px}
.dc-steps span{flex:1;text-align:center;font-size:11.5px;font-weight:600;color:#8a7a6c;background:#f2ebe1;border-radius:20px;padding:6px 4px}
.dc-steps span.on{background:#2a1a12;color:#fff}
.dc-nav{display:flex;justify-content:space-between;gap:10px;margin-top:16px}
.dc-nav button{min-width:120px}
.tvp-wrap{display:flex;flex-direction:column;gap:12px}
.tvp-day{background:#fff;border:1px solid #eadfd3;border-radius:14px;padding:12px 14px}
.tvp-h{display:flex;justify-content:space-between;align-items:center;font-family:"Fraunces",serif;font-weight:600;font-size:18px;color:#2a1a12;margin-bottom:8px}
.tvp-h em{font-style:normal;background:#2a1a12;color:#fff;border-radius:20px;font-size:12px;padding:1px 10px}
.tvp-row{display:grid;grid-template-columns:1fr auto;gap:2px 10px;width:100%;text-align:left;border:0;border-top:1px solid #f0e7da;background:none;padding:9px 0;min-height:0;cursor:pointer}
.tvp-row b{grid-column:1;font-size:14px;color:#2a1a12}
.tvp-row .tvp-g{grid-column:1;font-size:12.5px;color:#6b5d52}
.tvp-row .tvp-l{grid-column:2;grid-row:1 / span 2;align-self:center;font-size:12.5px;font-weight:600;color:#0f766e;text-align:right}
.dc-remlist{display:flex;flex-direction:column;gap:8px}
.dc-rem{display:block;width:100%;text-align:left;border:1px solid #eadfd3;border-radius:12px;background:#fff;padding:10px 13px;cursor:pointer}
.dc-rem b{display:block;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#b45309}
.dc-rem span{display:block;font-size:13.5px;color:#2a1a12;margin-top:2px}
.dc-clash{border:1px solid #f0c9c0;background:#fff7f5;border-radius:14px;padding:12px 14px;margin-bottom:12px}
.dc-ch{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:8px}
.dc-ch b{font-size:15px;color:#8a1c06}.dc-ch span{font-size:12.5px;color:#6b5d52}
.dc-bk{border-top:1px solid #f3ddd6;padding:8px 0}
.dc-bk>span{display:block;font-size:13px;color:#2a1a12;margin-bottom:6px}
.dc-note{color:#0f5132;background:#f0f7f4;border-radius:8px;padding:6px 9px;margin-top:8px}

/* ===== release 48: device-aware install guide ===== */
.ins-g{margin:12px 0}
.ins-g h4{font-size:12.5px;font-weight:700;color:#a3141c;margin:0 0 6px;text-transform:uppercase;letter-spacing:.05em}
.ins-steps{margin:0;padding-left:20px}
.ins-steps li{margin:7px 0;font-size:14.5px;line-height:1.5;color:#2a1a12}
.ins-more{margin-top:12px;border-top:1px solid #eadfd3;padding-top:10px}
.ins-more summary{cursor:pointer;font-size:13.5px;color:#0f766e;font-weight:600}
.ins-more[open] summary{margin-bottom:6px}

/* ===== release 51: guide double-booking card ===== */
.gp-clash{border:1px solid #f0c9c0!important;background:#fff7f5!important}
.gp-clash .gp-trip-h b{color:#8a1c06}
.gp-clash .gp-row{border-top:1px solid #f3ddd6}
