/* Oakline Crew phone app demo. Sample data only. Same tokens as the desktop builder demo. */
:root{
  --bg:#eef0f3; --a-bg:#f4f6f5; --card:#fff; --line:#e6e8ec; --line2:#f0f2f5;
  --ink:#0f172a; --ink2:#334155; --muted:#64748b; --faint:#94a3b8;
  --blue:#0066ff; --blue-soft:#e8f0ff; --blue-ink:#0b4fc4;
  --green:#15803d; --green-soft:#e7f6ec; --amber:#a15c07; --amber-soft:#fdf2dc; --red:#b42318;
  --desk:#063b33; --desk2:#0b4d43; --lime:#c6ef6e; --hint:#12a150;
  --ui:'Inter',-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
  --display:'Funnel Display','Inter',sans-serif;
  --sat:env(safe-area-inset-top,0px); --sab:env(safe-area-inset-bottom,0px);
  --sal:env(safe-area-inset-left,0px); --sar:env(safe-area-inset-right,0px);
}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent;}
html{-webkit-text-size-adjust:100%;}
html,body{height:100%;}
body{font-family:var(--ui);color:var(--ink);background:var(--desk);-webkit-font-smoothing:antialiased;font-size:15px;line-height:1.45;overflow:hidden;overscroll-behavior:none;}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;text-align:inherit;}
a{color:inherit;}
img{display:block;max-width:100%;}
.ic{stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;flex:none;}

/* ---------- phone mode: wrappers vanish, the app fills the screen ---------- */
.stage,.dev-wrap,.device,.screen{display:contents;}
.dev-sb,.home-ind,.panel{display:none;}
.app{position:fixed;inset:0;display:flex;flex-direction:column;background:var(--a-bg);overflow:hidden;}

/* ---------- header ---------- */
.hdr{flex:none;background:var(--desk);color:#fff;padding:calc(var(--sat) + 8px) calc(14px + var(--sar)) 10px calc(14px + var(--sal));display:flex;align-items:center;gap:10px;}
.brand{display:flex;align-items:center;gap:9px;min-width:0;flex:1;}
.brand .mk{width:30px;height:30px;border-radius:8px;background:var(--lime);display:flex;align-items:center;justify-content:center;flex:none;}
.brand .mk svg{width:17px;height:17px;stroke:var(--desk);stroke-width:2;}
.brand .w{font-weight:700;font-size:16px;letter-spacing:-0.01em;line-height:1.1;white-space:nowrap;}
.brand .w small{display:block;color:var(--lime);font-size:9.5px;font-weight:700;letter-spacing:.14em;margin-top:2px;}
.seg{display:flex;background:rgba(255,255,255,.1);border-radius:999px;padding:3px;flex:none;}
.seg button{height:32px;padding:0 13px;border-radius:999px;font-size:13.5px;font-weight:600;color:rgba(255,255,255,.8);white-space:nowrap;}
.seg button.on{background:var(--lime);color:var(--desk);}

/* ---------- guide bar ---------- */
.guide{flex:none;background:#eaf7d4;border-bottom:1px solid #d6ebb3;padding:8px calc(10px + var(--sar)) 0 calc(14px + var(--sal));position:relative;}
.g-row{display:flex;align-items:center;gap:10px;min-height:34px;padding-bottom:8px;}
.g-n{flex:none;font-size:11.5px;font-weight:700;color:#3f6212;background:#fff;border:1px solid #cfe5a6;border-radius:999px;padding:2px 8px;font-variant-numeric:tabular-nums;}
.g-t{flex:1;min-width:0;font-size:13.5px;font-weight:600;color:#1a2e05;line-height:1.3;}
.g-x{flex:none;display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 10px;border-radius:8px;font-size:12.5px;font-weight:600;color:#3f6212;}
.g-x svg{width:15px;height:15px;}
.g-x.pri{background:var(--desk);color:#fff;}
.g-prog{position:absolute;left:0;right:0;bottom:-1px;height:3px;background:transparent;}
.g-prog i{display:block;height:100%;background:var(--hint);transition:width .35s;}

/* ---------- content ---------- */
.content{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:14px calc(14px + var(--sar)) 22px calc(14px + var(--sal));display:flex;flex-direction:column;gap:12px;}
.content>*{flex-shrink:0;}
.content.flush{padding:0;gap:0;}
.h1{font-size:21px;font-weight:700;letter-spacing:-0.015em;line-height:1.2;}
.sub{font-size:13px;color:var(--muted);margin-top:3px;}
.sec{font-size:11.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:6px 2px -2px;}
.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;}
.card h3{font-size:14.5px;font-weight:700;display:flex;align-items:center;gap:7px;margin-bottom:10px;}
.card h3 svg{width:16px;height:16px;color:var(--muted);}
.card h3 .r{margin-left:auto;font-weight:500;font-size:12.5px;color:var(--muted);}
.own{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);line-height:1.35;padding:0 2px;}
.own svg{width:14px;height:14px;color:var(--green);}
.back{display:inline-flex;align-items:center;gap:2px;font-size:14px;font-weight:600;color:var(--desk2);height:30px;margin:-4px 0 -4px -4px;padding:0 6px 0 2px;border-radius:8px;align-self:flex-start;}
.back svg{width:18px;height:18px;}
.av{width:30px;height:30px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:11.5px;font-weight:700;color:#fff;flex:none;}
.av.sm{width:24px;height:24px;font-size:9.5px;}
.av.lg{width:44px;height:44px;font-size:15px;}
.pill{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;padding:3px 9px;border-radius:999px;white-space:nowrap;}
.pill svg{width:13px;height:13px;}
.pill.green{background:var(--green-soft);color:var(--green);}
.pill.grey{background:#f1f3f6;color:var(--ink2);}
.pill.amber{background:var(--amber-soft);color:var(--amber);}
.pill.blue{background:var(--blue-soft);color:var(--blue-ink);}
.pill.sm{background:#dbeafe;color:#1e40af;}
.pill.wa{background:#d9fdd3;color:#0b6b3a;}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:44px;padding:0 16px;border-radius:11px;font-size:15px;font-weight:600;background:#fff;border:1px solid var(--line);color:var(--ink);white-space:nowrap;}
.btn svg{width:17px;height:17px;}
.btn.pri{background:var(--desk);border-color:var(--desk);color:#fff;}
.btn.lime{background:var(--lime);border-color:var(--lime);color:var(--desk);}
.btn.sm{height:36px;font-size:13.5px;padding:0 12px;border-radius:9px;}
.btn.wide{width:100%;}
.btn[disabled]{opacity:.45;cursor:default;}
.row{display:flex;gap:8px;align-items:center;}
.row.wrap{flex-wrap:wrap;}
.ml{margin-left:auto;}

/* ---------- jobs ---------- */
.today-h{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;}
.stats{display:flex;gap:8px;}
.stat{flex:1;background:#fff;border:1px solid var(--line);border-radius:12px;padding:9px 11px;}
.stat b{display:block;font-size:19px;font-weight:700;font-variant-numeric:tabular-nums;}
.stat span{font-size:12px;color:var(--muted);}
.job{display:flex;gap:12px;align-items:stretch;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px;width:100%;}
.job .tm{flex:none;width:58px;display:flex;flex-direction:column;gap:2px;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;border-right:1px solid var(--line2);padding-right:8px;}
.job .tm small{font-weight:500;color:var(--muted);font-size:11.5px;}
.job .bd{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;}
.job .bd b{font-size:15px;}
.job .bd .t{font-size:13px;color:var(--ink2);line-height:1.35;}
.job .bd .m{display:flex;gap:6px;align-items:center;margin-top:4px;flex-wrap:wrap;}
.job .go{align-self:center;color:var(--faint);transform:rotate(180deg);}
.job.done{background:#fbfdf9;}
.jd-h{display:flex;flex-direction:column;gap:4px;}
.jd-h .a{font-size:21px;font-weight:700;letter-spacing:-0.015em;line-height:1.2;}
.jd-h .s{font-size:13.5px;color:var(--ink2);}
.from{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--muted);margin:-2px 0 10px;}
.from b{color:var(--ink);font-weight:600;}
.steps{list-style:none;counter-reset:s;display:flex;flex-direction:column;gap:8px;}
.steps li{counter-increment:s;display:flex;gap:10px;font-size:14px;line-height:1.4;color:var(--ink2);}
.steps li::before{content:counter(s);flex:none;width:22px;height:22px;border-radius:50%;background:var(--lime);color:var(--desk);font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;margin-top:-1px;}
.file{display:flex;align-items:center;gap:10px;margin-top:12px;padding:9px 11px;border:1px solid var(--line);border-radius:10px;font-size:13.5px;font-weight:600;}
.file svg{color:var(--red);}
.file small{margin-left:auto;font-weight:500;color:var(--muted);}
.shots{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.shot-b{aspect-ratio:4/3;border:1.5px dashed #b9c2cc;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--ink2);font-size:13.5px;font-weight:600;background:#f8faf9;width:100%;text-align:center;}
.shot-b svg{width:24px;height:24px;color:var(--desk2);}
.shot-b small{font-weight:500;color:var(--muted);font-size:11.5px;}
.shot-b[disabled]{opacity:.55;}
figure.ph{position:relative;border-radius:12px;overflow:hidden;aspect-ratio:4/3;background:#dfe3e8;}
figure.ph img{width:100%;height:100%;object-fit:cover;}
figure.ph .tag{position:absolute;left:7px;top:7px;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;background:rgba(15,23,42,.78);color:#fff;padding:3px 7px;border-radius:6px;}
figure.ph .tag.a{background:var(--lime);color:var(--desk);}
figure.ph figcaption{position:absolute;left:0;right:0;bottom:0;padding:14px 8px 6px;font-size:10.5px;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.62));line-height:1.25;font-variant-numeric:tabular-nums;}
figure.ph.new{animation:pop .45s ease-out;}
@keyframes pop{from{transform:scale(.92);opacity:.2;}to{transform:none;opacity:1;}}
.done-bar{display:flex;gap:10px;align-items:flex-start;background:var(--green-soft);border:1px solid #bfe5cb;color:#14532d;border-radius:12px;padding:12px;font-size:13.5px;line-height:1.4;}
.done-bar svg{color:var(--green);width:20px;height:20px;margin-top:1px;}
.done-bar b{display:block;font-size:14.5px;}

/* ---------- feed (office) ---------- */
.fd{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;}
.fd.new{box-shadow:0 0 0 2px var(--lime);}
.fd-h{display:flex;gap:10px;align-items:center;padding:12px 12px 10px;}
.fd-h .tx{flex:1;min-width:0;}
.fd-h .tx b{display:block;font-size:14.5px;line-height:1.25;}
.fd-h .tx small{font-size:12.5px;color:var(--muted);}
.pair{display:grid;grid-template-columns:1fr 1fr;gap:3px;}
.pair figure.ph{border-radius:0;}
.fd-n{padding:10px 12px 0;font-size:13.5px;color:var(--ink2);line-height:1.4;}
.fd-a{display:flex;gap:8px;align-items:center;padding:10px 12px 12px;flex-wrap:wrap;}
.fd.wait{padding:12px;display:flex;gap:10px;align-items:center;color:var(--ink2);font-size:13.5px;}
.fd.wait .sp{width:30px;height:30px;border-radius:50%;background:var(--amber-soft);color:var(--amber);display:flex;align-items:center;justify-content:center;flex:none;}
.fd.wait .sp svg{width:16px;height:16px;}

/* ---------- messages ---------- */
.th-list{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;}
.th{display:flex;gap:11px;align-items:center;padding:12px;width:100%;border-top:1px solid var(--line2);}
.th:first-child{border-top:0;}
.th .tx{flex:1;min-width:0;}
.th .tx b{display:flex;align-items:center;gap:6px;font-size:14.5px;}
.th .tx span{display:block;font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.th .meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px;font-size:11.5px;color:var(--muted);flex:none;}
.th .unread{min-width:19px;height:19px;border-radius:999px;background:var(--hint);color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 5px;}
.grp{width:30px;height:30px;border-radius:50%;background:var(--desk);color:var(--lime);display:flex;align-items:center;justify-content:center;flex:none;}
.grp svg{width:16px;height:16px;}
.tv{display:flex;flex-direction:column;min-height:100%;}
.tv-top{position:sticky;top:0;z-index:3;}
.tv-h{background:#fff;border-bottom:1px solid var(--line);padding:8px 14px 8px 10px;display:flex;align-items:center;gap:9px;}
.tv-h .tx{flex:1;min-width:0;}
.tv-h .tx b{display:block;font-size:14.5px;line-height:1.2;}
.tv-h .tx small{font-size:12px;color:var(--muted);}
.pinned{display:flex;gap:9px;align-items:flex-start;background:#fffbe8;border-bottom:1px solid #f1e3a6;padding:9px 14px;font-size:13px;line-height:1.35;color:#4a3b05;}
.pinned svg{width:15px;height:15px;color:#a16207;margin-top:1px;}
.pinned b{display:block;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#a16207;}
.pinned small{display:block;color:#8a7a3d;font-size:11.5px;margin-top:2px;}
.pinned.new{animation:flash 1.4s ease-out;}
@keyframes flash{0%{background:#fde68a;}100%{background:#fffbe8;}}
.msgs{flex:1;display:flex;flex-direction:column;gap:8px;padding:12px 12px 16px;}
.dsep{align-self:center;font-size:11.5px;font-weight:600;color:var(--muted);background:#e9edf0;border-radius:999px;padding:2px 10px;margin:4px 0;}
.m{display:flex;gap:7px;align-items:flex-end;max-width:88%;}
.m.out{align-self:flex-end;flex-direction:row-reverse;}
.m .bw{display:flex;flex-direction:column;gap:3px;min-width:0;}
.m .who{font-size:11.5px;font-weight:600;color:var(--muted);padding-left:4px;}
.m.out .who{display:none;}
.bub{background:#fff;border:1px solid var(--line);padding:9px 12px;border-radius:17px;border-bottom-left-radius:5px;font-size:14px;line-height:1.38;}
.m.out .bub{background:var(--desk);border-color:var(--desk);color:#fff;border-radius:17px;border-bottom-right-radius:5px;}
.bub .bt{display:block;font-size:10.5px;opacity:.6;margin-top:3px;text-align:right;}
.bub .file{margin-top:8px;background:#fff;color:var(--ink);}
.bub.ph-b{padding:4px;overflow:hidden;}
.bub.ph-b .cap{padding:6px 8px 4px;}
.bub.ph-b figure.ph{border-radius:13px;}
.bub.ph-b .pair{border-radius:13px;overflow:hidden;}
.bub.note{background:#fffbe8;border-color:#f1e3a6;}
.m.out .bub.note{background:#fffbe8;border-color:#f1e3a6;color:#4a3b05;}
.bub .nl{display:flex;align-items:center;gap:5px;font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#a16207;margin-bottom:3px;}
.bub .nl svg{width:12px;height:12px;}
.jobpost .jh{display:flex;align-items:center;gap:6px;padding:6px 8px 7px;font-size:12.5px;font-weight:700;}
.m.out .jobpost .jh svg{color:var(--lime);}
.jobpost .jh svg{width:15px;height:15px;color:var(--green);}
.rr{font-size:11px;color:var(--muted);text-align:right;padding-right:4px;}
.cmp{position:sticky;bottom:0;background:#fff;border-top:1px solid var(--line);padding:8px 10px;display:flex;gap:8px;align-items:center;}
.cmp input{flex:1;min-width:0;height:38px;border:1px solid var(--line);border-radius:999px;padding:0 14px;font:inherit;font-size:15px;background:#f6f7f9;color:var(--ink);}
.cmp input:focus{outline:2px solid var(--lime);border-color:#a3c95a;}
.cmp .cb{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--desk2);flex:none;}
.cmp .cb.send{background:var(--desk);color:#fff;}
.cmp .cb.send svg{width:16px;height:16px;}

/* ---------- clients / channels ---------- */
.ch{display:flex;gap:11px;align-items:center;padding:10px 0;border-top:1px solid var(--line2);}
.ch:first-of-type{border-top:0;padding-top:2px;}
.ch .lg{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:11px;flex:none;}
.ch .lg.sm{background:#2563eb;color:#fff;}
.ch .lg.wa{background:#25d366;color:#fff;}
.ch .lg svg{width:19px;height:19px;}
.ch .tx{flex:1;min-width:0;}
.ch .tx b{display:block;font-size:14px;}
.ch .tx small{font-size:12.5px;color:var(--muted);}
.honest{font-size:12px;color:var(--muted);line-height:1.4;background:#f6f7f9;border-radius:10px;padding:9px 11px;margin-top:10px;display:flex;gap:7px;}
.honest svg{width:14px;height:14px;margin-top:1px;color:var(--faint);}
.log{display:flex;gap:10px;align-items:center;padding:10px 0;border-top:1px solid var(--line2);font-size:13.5px;}
.log:first-of-type{border-top:0;padding-top:2px;}
.log .tx{flex:1;min-width:0;}
.log .tx b{display:block;font-size:14px;}
.log .tx small{color:var(--muted);font-size:12.5px;}

/* ---------- me ---------- */
.me-card{display:flex;gap:12px;align-items:center;}
.me-card b{display:block;font-size:16px;}
.me-card small{color:var(--muted);font-size:13px;}
.inst{display:flex;flex-direction:column;gap:6px;font-size:13.5px;color:var(--ink2);line-height:1.4;}
.inst em{font-style:normal;font-weight:600;color:var(--ink);}
.foot{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;font-size:12px;color:var(--muted);padding:8px 0 4px;}
.by{display:inline-flex;align-items:baseline;gap:7px;color:var(--muted);font-weight:500;text-decoration:none;font-size:12.5px;}
.dn{font-family:var(--display);font-weight:500;font-size:19px;letter-spacing:-.02em;color:var(--ink);}
.dn i{font-style:normal;color:#0066ff;}
.pby{display:flex;align-items:center;gap:6px;font-size:11.5px;color:var(--muted);}
.pby img{height:13px;width:auto;filter:invert(1) brightness(.35);}
.lnk{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--desk2);text-decoration:none;padding:4px 0;}
.lnk svg{width:16px;height:16px;}

/* ---------- tab bar ---------- */
.tabs{flex:none;display:flex;background:#fff;border-top:1px solid var(--line);padding:4px calc(6px + var(--sar)) calc(4px + var(--sab)) calc(6px + var(--sal));}
.tab{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;height:52px;justify-content:center;font-size:11px;font-weight:600;color:var(--faint);position:relative;border-radius:10px;}
.tab svg{width:23px;height:23px;}
.tab.on{color:var(--desk);}
.tab.on svg{stroke-width:2.1;}
.tab .dot{position:absolute;top:6px;left:calc(50% + 8px);min-width:16px;height:16px;border-radius:999px;background:var(--hint);color:#fff;font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 4px;box-shadow:0 0 0 2px #fff;}

/* ---------- sheets ---------- */
.layer{position:absolute;inset:0;z-index:40;display:none;}
.layer.on{display:block;}
.scrim{position:absolute;inset:0;background:rgba(6,20,17,.48);animation:fade .2s;}
@keyframes fade{from{opacity:0;}}
.sheet{position:absolute;left:0;right:0;bottom:0;max-height:90%;overflow-y:auto;-webkit-overflow-scrolling:touch;background:var(--a-bg);border-radius:20px 20px 0 0;padding:8px calc(16px + var(--sar)) calc(16px + var(--sab)) calc(16px + var(--sal));display:flex;flex-direction:column;gap:12px;animation:up .26s cubic-bezier(.2,.8,.2,1);}
@keyframes up{from{transform:translateY(40px);opacity:.4;}}
.sheet>*{flex-shrink:0;}
.sheet .grab{align-self:center;width:38px;height:5px;border-radius:3px;background:#cfd5dc;margin-bottom:2px;}
.sh-h{display:flex;align-items:center;gap:10px;}
.sh-h h2{flex:1;font-size:18px;font-weight:700;letter-spacing:-0.01em;}
.sh-x{width:34px;height:34px;border-radius:50%;background:#e6e9ed;display:flex;align-items:center;justify-content:center;flex:none;}
.sh-x svg{width:16px;height:16px;}
.lbl{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:-4px;}
.chips{display:flex;flex-wrap:wrap;gap:7px;}
.chip{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:#fff;font-size:13.5px;font-weight:600;color:var(--ink2);}
.chip.on{background:var(--desk);border-color:var(--desk);color:#fff;}
.chip .av{width:20px;height:20px;font-size:8.5px;}
.chip svg{width:15px;height:15px;}
.chan{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.chan button{height:46px;border-radius:12px;border:1.5px solid var(--line);background:#fff;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:7px;}
.chan button .lg{width:22px;height:22px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:8px;font-weight:800;}
.chan button .lg.sm{background:#2563eb;color:#fff;}
.chan button .lg.wa{background:#25d366;color:#fff;}
.chan button .lg svg{width:13px;height:13px;}
.chan button.on{border-color:var(--desk);box-shadow:0 0 0 1px var(--desk);}
textarea.ta{width:100%;min-height:92px;border:1px solid var(--line);border-radius:12px;padding:11px 12px;font:inherit;font-size:15px;line-height:1.4;color:var(--ink);background:#fff;resize:none;}
textarea.ta:focus{outline:2px solid var(--lime);border-color:#a3c95a;}
.tgl{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:500;color:var(--ink2);background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 12px;width:100%;}
.tgl .sw{margin-left:auto;width:42px;height:25px;border-radius:999px;background:#cfd5dc;position:relative;flex:none;transition:background .2s;}
.tgl .sw::after{content:"";position:absolute;left:3px;top:3px;width:19px;height:19px;border-radius:50%;background:#fff;transition:transform .2s;box-shadow:0 1px 2px rgba(0,0,0,.2);}
.tgl.on .sw{background:var(--hint);}
.tgl.on .sw::after{transform:translateX(17px);}
.tgl svg{color:#a16207;}

/* outbound previews */
.pv{border-radius:16px;overflow:hidden;border:1px solid var(--line);}
.pv-cap{font-size:11.5px;color:var(--muted);text-align:center;margin-top:-4px;}
.smv{background:#fff;}
.sm-top{display:flex;flex-direction:column;align-items:center;gap:3px;padding:10px 12px 8px;border-bottom:1px solid #eef0f3;}
.sm-top b{font-size:12.5px;font-weight:600;color:#1e2a33;}
.sm-top small{font-size:10.5px;color:#8a94a3;}
.mv-av{width:34px;height:34px;border-radius:13px;background:var(--desk);display:flex;align-items:center;justify-content:center;flex:none;}
.mv-av svg{width:18px;height:18px;stroke:var(--lime);stroke-width:2;}
.sm-body{padding:12px;}
.sm-bub{background:#e9e9eb;color:#111;border-radius:16px 16px 16px 4px;padding:8px 12px;font-size:13px;line-height:1.42;max-width:250px;}
.sm-bub u{color:#0a66d8;text-underline-offset:2px;}
.sm-bub .k{display:block;color:#666;font-size:11.5px;margin-top:4px;}
.wa{background:#efeae2;}
.wa-top{background:#008069;color:#fff;display:flex;align-items:center;gap:9px;padding:9px 12px;}
.wa-top .mv-av{width:32px;height:32px;border-radius:50%;}
.wa-top b{font-size:13.5px;display:flex;align-items:center;gap:4px;}
.wa-top b svg{width:14px;height:14px;color:#fff;fill:#25d366;stroke:#fff;}
.wa-top small{display:block;font-size:11px;opacity:.85;}
.wa-body{padding:12px;}
.wa-card{background:#fff;border-radius:4px 12px 12px 12px;overflow:hidden;max-width:250px;box-shadow:0 1px 1px rgba(0,0,0,.08);}
.wa-card .pair{padding:4px;gap:3px;}
.wa-card .pair figure.ph{border-radius:7px;}
.wa-b{padding:5px 9px 4px;font-size:13px;line-height:1.42;color:#111b21;}
.wa-b .k{display:block;color:#667781;font-size:11.5px;margin-top:4px;}
.wa-t{text-align:right;font-size:10px;color:#667781;padding:0 8px 6px;}
.wa-btn{border-top:1px solid #e9edef;height:38px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:13.5px;font-weight:600;color:#027eb5;}
.wa-btn svg{width:14px;height:14px;}
/* WhatsApp template header: ONE image, before and after side by side inside it */
figure.combo{position:relative;margin:4px;border-radius:7px;overflow:hidden;aspect-ratio:2/1;display:grid;grid-template-columns:1fr 1fr;background:#dfe3e8;}
figure.combo img{width:100%;height:100%;object-fit:cover;display:block;}
figure.combo::after{content:"";position:absolute;top:0;bottom:0;left:50%;width:2px;margin-left:-1px;background:#fff;}
figure.combo .tag{position:absolute;top:6px;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;background:rgba(15,23,42,.78);color:#fff;padding:3px 6px;border-radius:5px;}
figure.combo .tag:not(.a){left:6px;}
figure.combo .tag.a{left:calc(50% + 6px);background:var(--lime);color:var(--desk);}

/* camera */
.cam{position:absolute;inset:0;background:#000;display:flex;flex-direction:column;color:#fff;animation:fade .2s;}
.cam-top{flex:none;display:flex;align-items:center;justify-content:space-between;padding:calc(var(--sat) + 10px) calc(14px + var(--sar)) 10px calc(14px + var(--sal));font-size:13px;font-weight:600;}
.cam-top .lbl2{background:rgba(255,255,255,.14);padding:5px 11px;border-radius:999px;letter-spacing:.04em;}
.cam-top .lbl2.a{background:var(--lime);color:var(--desk);}
.cam-x{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center;}
.cam-x svg{width:17px;height:17px;}
.vf{flex:1;min-height:0;position:relative;overflow:hidden;display:flex;align-items:center;}
.vf img{width:100%;height:auto;max-height:100%;object-fit:cover;aspect-ratio:3/4;transform:scale(1.02);filter:saturate(1.05);}
.vf .grid{position:absolute;inset:0;background:linear-gradient(90deg,transparent 33.2%,rgba(255,255,255,.28) 33.3%,rgba(255,255,255,.28) 33.5%,transparent 33.6%,transparent 66.5%,rgba(255,255,255,.28) 66.6%,rgba(255,255,255,.28) 66.8%,transparent 66.9%),linear-gradient(transparent 33.2%,rgba(255,255,255,.28) 33.3%,rgba(255,255,255,.28) 33.5%,transparent 33.6%,transparent 66.5%,rgba(255,255,255,.28) 66.6%,rgba(255,255,255,.28) 66.8%,transparent 66.9%);pointer-events:none;}
.vf .stamp{position:absolute;left:12px;bottom:12px;font-size:11.5px;background:rgba(0,0,0,.5);padding:5px 9px;border-radius:7px;line-height:1.3;display:flex;gap:6px;align-items:center;}
.vf .stamp svg{width:13px;height:13px;}
.vf .fl{position:absolute;inset:0;background:#fff;opacity:0;pointer-events:none;}
.vf .fl.go{animation:flsh .5s ease-out;}
@keyframes flsh{0%{opacity:.95;}100%{opacity:0;}}
.cam-bot{flex:none;display:flex;align-items:center;justify-content:space-between;padding:18px 34px calc(22px + var(--sab));}
.cam-bot .sd{width:46px;font-size:11.5px;text-align:center;color:rgba(255,255,255,.7);}
.shutter{width:72px;height:72px;border-radius:50%;border:4px solid #fff;display:flex;align-items:center;justify-content:center;}
.shutter i{width:58px;height:58px;border-radius:50%;background:#fff;display:block;transition:transform .12s;}
.shutter:active i{transform:scale(.88);}

/* intro + summary */
.intro{position:absolute;inset:0;z-index:45;background:var(--desk);color:#fff;display:flex;flex-direction:column;overflow-y:auto;padding:calc(var(--sat) + 22px) calc(22px + var(--sar)) calc(18px + var(--sab)) calc(22px + var(--sal));gap:16px;}
.intro .brand{flex:none;}
.intro .brand .w{font-size:18px;}
.intro h1{font-family:var(--display);font-weight:600;font-size:31px;line-height:1.08;letter-spacing:-0.02em;margin-top:6px;}
.intro p{font-size:15px;line-height:1.45;color:rgba(255,255,255,.86);}
.ba{display:flex;flex-direction:column;gap:8px;}
.ba div{display:flex;gap:11px;align-items:flex-start;background:rgba(255,255,255,.07);border-radius:12px;padding:11px 12px;font-size:13.5px;line-height:1.4;color:rgba(255,255,255,.9);}
.ba div b{display:block;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.6);margin-bottom:2px;}
.ba div.after{background:rgba(198,239,110,.14);}
.ba div.after b{color:var(--lime);}
.ba svg{width:18px;height:18px;margin-top:2px;color:rgba(255,255,255,.6);}
.ba div.after svg{color:var(--lime);}
.intro .btn.lime{height:52px;font-size:16px;margin-top:auto;}
.intro .tip{display:flex;gap:8px;align-items:center;justify-content:center;font-size:12.5px;color:rgba(255,255,255,.7);text-align:center;}
.intro .tip svg{width:15px;height:15px;}
.intro .fict{font-size:11.5px;color:rgba(255,255,255,.55);text-align:center;}
.sum li{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.4;color:var(--ink2);padding:9px 0;border-top:1px solid var(--line2);}
.sum li:first-child{border-top:0;padding-top:0;}
.sum li svg{color:var(--green);margin-top:1px;}
.sum li b{color:var(--ink);}
.sum{list-style:none;}

/* toast */
.toast{position:absolute;left:14px;right:14px;top:var(--toast-top,calc(var(--sat) + 96px));z-index:60;background:#0f172a;color:#fff;font-size:13.5px;line-height:1.35;padding:10px 14px;border-radius:12px;opacity:0;transform:translateY(-8px);transition:opacity .25s,transform .25s;pointer-events:none;text-align:center;box-shadow:0 6px 20px rgba(0,0,0,.18);}
.toast.low{top:auto;bottom:var(--toast-bot,calc(var(--sab) + 72px));transform:translateY(8px);}
.toast.on{opacity:1;transform:none;}

/* guided hint: an overlay (never clipped by cards, sheets or scroll areas) with an orange ring and a bobbing "Tap" arrow */
:root{--coach:#FF6A00;}
.app.tab-hint .content:not(.flush){padding-bottom:66px;}
.coach{position:absolute;inset:0;z-index:58;pointer-events:none;display:none;}
.coach.on{display:block;}
.c-ring{position:absolute;border:3px solid var(--coach);border-radius:14px;box-shadow:0 0 0 0 rgba(255,106,0,.6),0 0 14px rgba(255,106,0,.45);animation:cring 1.3s ease-out infinite;}
@keyframes cring{0%{box-shadow:0 0 0 0 rgba(255,106,0,.65),0 0 14px rgba(255,106,0,.5);}70%{box-shadow:0 0 0 12px rgba(255,106,0,0),0 0 14px rgba(255,106,0,.5);}100%{box-shadow:0 0 0 0 rgba(255,106,0,0),0 0 14px rgba(255,106,0,.5);}}
.c-tip{position:absolute;left:0;top:0;display:flex;align-items:center;gap:3px;background:var(--coach);color:#fff;border-radius:999px;padding:5px 11px;font:800 13px/1 var(--ui);letter-spacing:.02em;white-space:nowrap;box-shadow:0 0 0 2px #fff,0 4px 14px rgba(0,0,0,.28);--bx:0px;--by:6px;animation:cbob .9s ease-in-out infinite alternate;}
.c-ar{width:18px;height:18px;stroke:#fff;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;flex:none;}
.c-tip.p-above{flex-direction:row;padding:4px 8px 4px 10px;--by:7px;}
.c-tip.p-below{flex-direction:row;padding:4px 8px 4px 10px;--by:-7px;}
.c-tip.p-below .c-ar{transform:rotate(180deg);}
.c-tip.p-left{flex-direction:row;--by:0px;--bx:7px;}
.c-tip.p-left .c-ar{transform:rotate(-90deg);}
.c-tip.p-right{flex-direction:row-reverse;--by:0px;--bx:-7px;}
.c-tip.p-right .c-ar{transform:rotate(90deg);}
@keyframes cbob{from{translate:0 0;}to{translate:var(--bx) var(--by);}}
@media (prefers-reduced-motion:reduce){.c-ring{animation:none;box-shadow:0 0 0 4px rgba(255,106,0,.35);}.c-tip{animation:none;}}

/* ---------- desktop: phone frame in the middle, QR and install hint beside it ---------- */
@media (min-width:860px) and (display-mode:browser){
  body{overflow:auto;background:radial-gradient(1200px 700px at 30% 40%,#0d5246 0%,var(--desk) 60%);}
  .stage{display:flex;align-items:center;justify-content:center;gap:64px;min-height:100vh;padding:24px 32px;}
  .dev-wrap{display:block;width:calc(414px * var(--s,1));height:calc(868px * var(--s,1));flex:none;position:sticky;top:24px;bottom:24px;}
  .device{display:block;width:414px;height:868px;border-radius:62px;padding:12px;background:linear-gradient(170deg,#3a3b3d 0%,#1c1d1e 16%,#141516 50%,#232426 100%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12),0 30px 80px rgba(0,0,0,.45);transform:scale(var(--s,1));transform-origin:top left;}
  .screen{display:block;position:relative;width:390px;height:844px;border-radius:50px;overflow:hidden;background:var(--desk);}
  .app{position:absolute;--sat:47px;--sab:22px;--sal:0px;--sar:0px;}
  .dev-sb{display:flex;position:absolute;top:0;left:0;right:0;height:47px;z-index:70;align-items:center;justify-content:space-between;padding:4px 30px 0 40px;color:#fff;font-size:15px;font-weight:600;pointer-events:none;font-variant-numeric:tabular-nums;}
  .dev-sb.lt{color:#fff;}
  .island{position:absolute;left:50%;top:11px;transform:translateX(-50%);width:122px;height:35px;border-radius:20px;background:#000;}
  .dev-sb .ics{display:flex;align-items:center;gap:6px;}
  .bars{display:flex;align-items:flex-end;gap:2px;height:11px;}
  .bars i{display:block;width:3px;background:currentColor;border-radius:1px;}
  .bars i:nth-child(1){height:4px;}.bars i:nth-child(2){height:6px;}.bars i:nth-child(3){height:8px;}.bars i:nth-child(4){height:11px;}
  .bat{width:24px;height:12px;border-radius:3.5px;border:1.5px solid currentColor;position:relative;opacity:.95;}
  .bat::before{content:"";position:absolute;inset:1.5px;right:4px;background:#34c759;border-radius:1.5px;}
  .bat::after{content:"";position:absolute;right:-4px;top:3px;width:2px;height:4px;border-radius:0 1px 1px 0;background:currentColor;}
  .home-ind{display:block;position:absolute;left:50%;bottom:8px;transform:translateX(-50%);width:134px;height:5px;border-radius:3px;background:#0f172a;z-index:70;pointer-events:none;}
  .screen.dark-bottom .home-ind{background:#fff;}
  .panel{display:flex;flex-direction:column;gap:20px;max-width:400px;color:#fff;}
  .p-eyebrow{font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--lime);}
  .panel h1{font-family:var(--display);font-weight:600;font-size:40px;line-height:1.05;letter-spacing:-0.02em;}
  .p-lead{font-size:16px;line-height:1.5;color:rgba(255,255,255,.84);}
  .qr-card{display:flex;gap:18px;align-items:center;background:#fff;color:var(--ink);border-radius:18px;padding:16px;}
  .qr-card .qr{width:132px;height:132px;flex:none;}
  .qr-card b{display:block;font-size:16px;margin-bottom:4px;}
  .qr-u{display:block;font-size:13.5px;font-weight:600;color:var(--desk2);word-break:break-all;}
  .qr-s{display:block;font-size:13px;color:var(--muted);margin-top:8px;line-height:1.4;}
  .a2hs{display:flex;flex-direction:column;gap:6px;font-size:14px;line-height:1.45;color:rgba(255,255,255,.82);background:rgba(255,255,255,.07);border-radius:14px;padding:14px 16px;}
  .a2hs b{display:flex;align-items:center;gap:8px;font-size:15px;color:#fff;margin-bottom:2px;}
  .a2hs b svg{color:var(--lime);}
  .a2hs em{font-style:normal;font-weight:600;color:#fff;}
  .p-link{display:inline-flex;align-items:center;gap:8px;font-size:14.5px;font-weight:600;color:var(--lime);text-decoration:none;}
  .p-link svg{width:16px;height:16px;}
  .p-foot{display:flex;flex-direction:column;gap:8px;font-size:12.5px;color:rgba(255,255,255,.6);border-top:1px solid rgba(255,255,255,.12);padding-top:16px;}
  .p-foot .by{color:rgba(255,255,255,.7);}
  .p-foot .dn{color:#fff;}
  .p-foot .dn i{color:#5b9dff;}
}
@media (min-width:860px) and (max-width:1060px) and (display-mode:browser){
  .stage{gap:36px;}
  .panel{max-width:330px;}
  .panel h1{font-size:32px;}
  .qr-card .qr{width:110px;height:110px;}
}

/* =====================================================================
   TRADES SKIN: built for gloves and sunlight. Rounded corners, high
   contrast, condensed grotesk headings, mono job numbers and times,
   work-order tickets with a time stub, lime accents.
   Overrides only; the coach overlay keeps its own orange.
   ===================================================================== */
:root{
  --bg:#e4e5df; --a-bg:#ecede7; --line:#c9ccc3; --line2:#e2e4dd;
  --ink:#111613; --ink2:#2b332e; --muted:#5b645e; --faint:#858d87;
  --green:#137a3a; --green-soft:#e3f4e8; --amber:#9a5200; --amber-soft:#fff0cf;
  --blue-soft:#e9f7cf; --blue-ink:#063b33;
  --steel:#151a17;
  --ui:'Archivo',-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
  --display:'Archivo',sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
}
.ic{stroke-width:2;}
.dn{font-family:'Funnel Display',sans-serif;}

/* header */
.hdr{position:relative;padding-bottom:12px;}
.brand .mk{border-radius:4px;width:32px;height:32px;}
.brand .w{font-weight:800;font-stretch:85%;text-transform:uppercase;letter-spacing:.02em;font-size:18px;line-height:1;}
.brand .w small{font-family:var(--mono);font-weight:600;font-size:9px;letter-spacing:.14em;margin-top:3px;}
.seg{border-radius:5px;background:rgba(0,0,0,.28);padding:3px;}
.seg button{border-radius:3px;height:36px;padding:0 13px;font-weight:800;font-stretch:90%;text-transform:uppercase;letter-spacing:.04em;font-size:13px;}

/* guide bar: steel strip, lime step counter */
.guide{background:var(--steel);border-bottom:0;padding-top:12px;}
.g-n{font-family:var(--mono);background:var(--lime);color:var(--steel);border:0;border-radius:3px;font-size:12px;padding:3px 7px;}
.g-t{color:#f1f3ee;font-weight:600;font-size:14px;}
.g-x{color:#c9d0cb;}
.g-x.pri{background:var(--lime);color:var(--steel);border-radius:4px;}
.g-prog{height:4px;background:#2a322d;bottom:0;}
.g-prog i{background:var(--lime);}

/* type */
.h1{font-weight:800;font-stretch:82%;text-transform:uppercase;font-size:25px;letter-spacing:.005em;line-height:1.05;}
.sub{font-family:var(--mono);font-size:12px;color:var(--ink2);margin-top:6px;}
.sec{font-family:var(--mono);font-weight:600;font-size:11.5px;color:var(--ink2);letter-spacing:.1em;display:flex;align-items:center;gap:8px;}
.sec::after{content:"";flex:1;height:2px;background:var(--steel);opacity:.85;}
.own{font-size:12px;}

/* cards: square sheets */
.card{border-radius:4px;border:1.5px solid var(--line);}
.card h3{font-weight:800;font-stretch:88%;text-transform:uppercase;letter-spacing:.05em;font-size:13.5px;padding-bottom:8px;border-bottom:2px solid var(--steel);}
.card h3 svg{color:var(--ink);}
.card h3 .r{font-family:var(--mono);text-transform:none;letter-spacing:0;font-weight:500;font-stretch:100%;}
.av{border-radius:4px;}
.pill{border-radius:3px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;padding:3px 7px;border:1.5px solid currentColor;}
.pill.grey{background:#f0f1ec;color:var(--ink2);border-color:#c3c7bd;}
.pill.blue{background:var(--lime);color:var(--desk);border-color:var(--desk);}
.pill.sm{background:#e2ebfb;color:#1e3a8a;}
.pill.wa{background:#dcf8d6;color:#0b5e33;}

/* buttons: big, glove friendly */
.btn{border-radius:5px;height:52px;border:1.5px solid #b3b8ad;font-weight:800;font-stretch:90%;text-transform:uppercase;letter-spacing:.04em;font-size:15px;}
.btn.sm{height:42px;border-radius:4px;font-size:13px;padding:0 12px;}
.btn.pri svg{color:var(--lime);}
.back{font-family:var(--mono);font-weight:600;font-size:13px;text-transform:uppercase;color:var(--ink);height:40px;}

/* stats: a dark day board */
.stats{gap:0;background:var(--steel);border-radius:4px;overflow:hidden;}
.stat{background:transparent;border:0;border-radius:0;border-left:1px solid #2f3832;padding:10px 12px;}
.stat:first-child{border-left:0;}
.stat b{font-family:var(--mono);font-weight:600;font-size:24px;color:var(--lime);line-height:1.1;}
.stat span{font-family:var(--mono);font-size:10.5px;text-transform:uppercase;letter-spacing:.06em;color:#b9c1bb;}

/* job tickets: dark time stub, perforation, job number */
.job{padding:0;gap:0;border:1.5px solid var(--steel);border-radius:4px;overflow:hidden;min-height:112px;}
.job .tm{width:76px;background:var(--desk);color:#fff;border-right:2px dashed rgba(198,239,110,.55);padding:12px 8px 10px 11px;font-family:var(--mono);font-weight:600;font-size:14.5px;letter-spacing:-.02em;}
.job .tm small{font-family:var(--mono);color:var(--lime);font-size:11px;letter-spacing:0;}
.job .bd{padding:10px 4px 10px 12px;gap:3px;}
.job .bd b{font-size:16px;font-weight:800;font-stretch:92%;line-height:1.2;}
.job .go{margin-right:8px;color:var(--ink);}
.job.done{background:#fff;}
.job.done .tm{background:#2c3a33;}
.job.done .bd b{text-decoration:line-through;text-decoration-color:rgba(17,22,19,.35);}
.jno{display:block;font-family:var(--mono);font-size:11px;font-weight:600;letter-spacing:.04em;color:var(--muted);text-transform:uppercase;}
.jd-h .jno{color:var(--ink2);}
.jd-h .a{font-weight:800;font-stretch:82%;text-transform:uppercase;font-size:28px;line-height:1.02;}
.jd-h .s{font-size:14px;}

/* instructions as numbered work steps */
.from{font-family:var(--mono);font-size:11.5px;}
.steps{gap:10px;}
.steps li{font-size:15px;color:var(--ink);}
.steps li::before{border-radius:3px;background:var(--steel);color:var(--lime);font-family:var(--mono);width:24px;height:24px;}
.file{border-radius:4px;border:1.5px solid var(--line);font-family:var(--mono);font-size:12.5px;}

/* photo slots and photos */
.shot-b{border:2.5px dashed var(--steel);border-radius:4px;background:repeating-linear-gradient(-45deg,#fff 0 10px,#f4f5f0 10px 20px);font-weight:800;font-stretch:90%;text-transform:uppercase;letter-spacing:.03em;font-size:13px;color:var(--ink);}
.shot-b svg{width:28px;height:28px;color:var(--desk);}
.shot-b small{font-family:var(--mono);text-transform:none;letter-spacing:0;font-weight:500;}
figure.ph{border-radius:3px;border:2px solid var(--steel);}
figure.ph .tag{font-family:var(--mono);border-radius:2px;background:var(--steel);font-size:10.5px;}
figure.ph .tag.a{background:var(--lime);color:var(--steel);}
figure.ph figcaption{font-family:var(--mono);}
.pair{gap:0;}
.pair figure.ph{border-width:0 1px;}
.done-bar{border-radius:4px;border:2px solid var(--green);border-left-width:8px;background:#fff;color:var(--ink);}

/* office feed */
.fd{border-radius:4px;border:1.5px solid var(--steel);}
.fd.new{box-shadow:0 0 0 3px var(--lime);}
.fd-h .tx b{font-weight:800;font-stretch:92%;font-size:15.5px;}
.fd-h .tx small{font-family:var(--mono);font-size:11px;}
.fd.wait{border-style:dashed;}
.fd.wait .sp{border-radius:4px;}

/* messages */
.th-list{border-radius:4px;border:1.5px solid var(--line);}
.th{min-height:64px;}
.th .tx b{font-weight:800;font-stretch:92%;font-size:15px;}
.th .meta{font-family:var(--mono);}
.th .unread{border-radius:3px;background:var(--steel);color:var(--lime);}
.grp{border-radius:4px;}
.tv-h .tx b{font-weight:800;font-stretch:92%;}
.pinned{background:#eef8d8;border-bottom:1px solid var(--line);border-left:5px solid var(--lime);color:var(--ink);}
.pinned b{font-family:var(--mono);color:var(--ink);}
.pinned svg{color:var(--ink);}
.pinned small{font-family:var(--mono);color:var(--muted);}
.dsep{font-family:var(--mono);border-radius:3px;background:#dfe1da;color:var(--ink2);}
.bub{border-radius:6px;border-bottom-left-radius:2px;border:1.5px solid var(--line);}
.m.out .bub{border-radius:6px;border-bottom-right-radius:2px;}
.bub .bt{font-family:var(--mono);}
.bub.ph-b figure.ph,.bub.ph-b .pair{border-radius:3px;}
.cmp input{border-radius:4px;height:44px;}
.cmp .cb{border-radius:4px;width:44px;height:44px;}

/* clients + me */
.ch .lg{border-radius:4px;}
.honest{border-radius:4px;}
.log .tx small{font-family:var(--mono);font-size:11px;}
.me-card b{font-weight:800;font-stretch:92%;font-size:17px;}

/* bottom tabs: dark bar, lime marker, big targets */
.tabs{background:var(--steel);border-top:0;padding-top:0;}
.tab{height:60px;border-radius:0;color:#8f9993;font-family:var(--mono);font-size:10.5px;text-transform:uppercase;letter-spacing:.04em;}
.tab svg{width:24px;height:24px;}
.tab.on{color:var(--lime);box-shadow:inset 0 3px 0 var(--lime);}
.tab .dot{background:var(--lime);color:var(--steel);box-shadow:0 0 0 2px var(--steel);}

/* sheets */
.sheet{border-radius:10px 10px 0 0;border-top:5px solid var(--lime);}
.sh-h h2{font-weight:800;font-stretch:85%;text-transform:uppercase;font-size:20px;}
.sh-x{border-radius:4px;width:40px;height:40px;}
.lbl{font-family:var(--mono);font-weight:600;font-size:11px;}
.chip{border-radius:4px;height:42px;font-weight:700;}
.chip.on{background:var(--steel);border-color:var(--steel);color:var(--lime);}
.chan button{border-radius:5px;height:52px;}
.chan button.on{border-color:var(--steel);box-shadow:0 0 0 2px var(--steel);}
textarea.ta{border-radius:4px;border:1.5px solid #b3b8ad;}
.tgl{border-radius:4px;min-height:52px;}
.pv{border-radius:6px;}

/* camera chip */
.cam-top .lbl2{font-family:var(--mono);border-radius:3px;}

/* intro: dark site sign */
.intro{background:var(--desk);background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:22px 22px;}
.intro h1{font-family:var(--display);font-weight:800;font-stretch:76%;text-transform:uppercase;font-size:44px;line-height:.98;letter-spacing:0;}
.ba div{border-radius:4px;border:1.5px solid rgba(255,255,255,.14);}
.ba div b{font-family:var(--mono);}
.ba div.after{border-color:var(--lime);}
.intro .btn.lime{height:58px;font-size:17px;}
.toast{border-radius:4px;background:var(--steel);border-left:6px solid var(--lime);}

/* desktop panel */
@media (min-width:860px) and (display-mode:browser){
  body{background-color:#05302a;background-image:linear-gradient(rgba(198,239,110,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(198,239,110,.05) 1px,transparent 1px);background-size:32px 32px;}
  .p-eyebrow{font-family:var(--mono);font-weight:600;display:inline-flex;align-self:flex-start;background:var(--lime);color:var(--steel);padding:5px 9px;border-radius:3px;letter-spacing:.1em;}
  .panel h1{font-family:var(--display);font-weight:800;font-stretch:78%;text-transform:uppercase;font-size:48px;line-height:.98;}
  .qr-card{border-radius:16px;}
  .qr-u{font-family:var(--mono);}
  .a2hs{border-radius:4px;border:1.5px solid rgba(255,255,255,.14);}
  .screen{background:var(--steel);}
}
@media (min-width:860px) and (max-width:1060px) and (display-mode:browser){.panel h1{font-size:38px;}}
.job .tm{width:84px;font-size:13.5px;letter-spacing:-.03em;padding-left:10px;}
.shots{gap:10px;}
/* room under the unsent card so the coach tip sits in the gap, not on the next card */
.fd.new{margin-bottom:40px;}
.fd-h .tx small{font-size:10.5px;line-height:1.5;}
.job .tm{width:80px;}
.job .pill{font-size:10px;padding:2px 5px;letter-spacing:.03em;}

/* ---------- tone-down pass (owner feedback): soft corners, no shouting buttons ---------- */
.btn{border-radius:12px;text-transform:none;letter-spacing:0;font-stretch:96%;font-weight:700;font-size:16px;}
.btn.sm{border-radius:10px;font-size:14px;}
.intro .btn.lime{font-size:17px;}
.seg{border-radius:12px;}
.seg button{border-radius:9px;text-transform:none;letter-spacing:0;font-size:14px;font-weight:700;}
.g-n,.g-x.pri{border-radius:8px;}
.card,.job,.fd,.th-list,.done-bar,.shot-b,.file,.honest,.grp,.toast,.ba div,.tgl,.a2hs{border-radius:16px;}
.job,.fd{overflow:hidden;}
.job .tm{border-radius:0;}
.stats{border-radius:16px;}
.pill,.chip,.dsep,.th .unread,figure.ph .tag,.cam-top .lbl2,.p-eyebrow{border-radius:999px;}
.pill{border-width:1px;}
.chip{border-radius:10px;}
.chan button,textarea.ta,.cmp input,.cmp .cb,.sh-x,.back{border-radius:12px;}
figure.ph{border-radius:12px;border-width:0;}
.pair figure.ph{border-radius:0;}
.bub{border-radius:18px;border-bottom-left-radius:6px;}
.m.out .bub{border-radius:18px;border-bottom-right-radius:6px;}
.sheet{border-radius:20px 20px 0 0;}
.brand .mk,.av,.ch .lg,.steps li::before{border-radius:10px;}
.av{border-radius:50%;}
.steps li::before{border-radius:50%;}
.shot-b{border-width:2px;border-color:#9aa39c;background:#fff;text-transform:none;letter-spacing:0;font-size:14px;}
.h1,.jd-h .a,.sh-h h2,.intro h1{text-transform:none;letter-spacing:-.01em;}
.h1{font-stretch:88%;font-size:26px;}
.jd-h .a{font-stretch:88%;font-size:26px;line-height:1.08;}
.intro h1{font-stretch:84%;font-size:40px;line-height:1.02;}
.brand .w{text-transform:none;font-stretch:92%;letter-spacing:0;}
.card h3{text-transform:none;letter-spacing:0;font-size:15px;font-stretch:95%;border-bottom-width:1.5px;}
@media (min-width:860px) and (display-mode:browser){
  .panel h1{text-transform:none;font-stretch:84%;letter-spacing:-.015em;font-size:46px;}
  .p-eyebrow{border-radius:999px;}
}

/* Brand mark: full tile SVG (matches Desk card icon) */
.mk.lg{background:none!important;transform:none!important;border-radius:0!important;padding:0!important;box-shadow:none!important;}
.mk.lg svg{width:100%!important;height:100%!important;stroke:none!important;transform:none!important;display:block;}
.mv-av.lg{overflow:hidden;}
.mv-av.lg svg{width:100%;height:100%;stroke:none;}
