/* ---------- crew role pages: one distinct dark screen per role inside the shared .pv__win frame (2026-11-27).
   Tokens come from body.v3 .pv__win in v3.css (canvas, native, surface, txt, mut, dim, bd3). Everything here is dm- namespaced. ---------- */
.cr-demo .pv__win{overflow:hidden}
.dm-win{position:absolute;inset:0;display:grid;grid-template-rows:46px minmax(0,1fr);overflow:hidden;
  border-radius:calc(var(--r-lg) - 1px);background:var(--canvas);color:var(--txt);font-size:13px;line-height:1.4;
  font-family:Inter,ui-sans-serif,system-ui,sans-serif;text-align:left}
.dm-win *{box-sizing:border-box;min-width:0}

/* top bar: avatar, role, one routine, live dot */
.dm-bar{display:flex;align-items:center;gap:10px;padding:0 18px 0 78px;border-bottom:1px solid var(--bd3);background:var(--native);font-size:12.5px;color:var(--txt2)}
.dm-bar img{width:22px;height:22px;border-radius:50%;flex:none}
.dm-bar b{font-weight:600;color:var(--txt);white-space:nowrap}
.dm-bar i{width:1px;height:14px;background:var(--bd3);flex:none}
.dm-bar span{color:var(--mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dm-bar em{margin-left:auto;display:flex;align-items:center;gap:7px;flex:none;font-style:normal;font-size:11px;font-weight:600;color:#5fc7b8;white-space:nowrap}
.dm-bar em::before{content:"";width:6px;height:6px;border-radius:50%;background:#5fc7b8;box-shadow:0 0 0 3px #5fc7b840}

/* body: main region + right rail */
.dm-body{display:grid;grid-template-columns:minmax(0,1fr) 300px;min-height:0}
.dm-body>*{min-height:0;overflow:hidden}
.dm-main{padding:20px 26px}
.dm-rail{display:flex;flex-direction:column;gap:14px;padding:18px;border-left:1px solid var(--bd3);background:var(--native)}
.dm-rail>.dm-hand{margin-top:auto}

/* shared bits */
.dm-lab{display:block;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--dim)}
.dm-h{display:flex;align-items:baseline;gap:10px;margin:0 0 14px}
.dm-h b{font-size:18px;font-weight:600;letter-spacing:-.01em;color:var(--txt)}
.dm-h span{font-size:12.5px;color:var(--mut)}
.dm-tx{display:block;height:8px;border-radius:4px;background:#ffffff1f}
.dm-tx--d{background:#ffffff10}
.dm-tx--l{background:#16140f1f}
.dm-pill{display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 9px;border-radius:999px;font-size:11.5px;font-weight:600;line-height:1;white-space:nowrap;background:#ffffff14;color:var(--txt2)}
.dm-pill--ok{background:#3fa89b;color:#fff}
.dm-pill--warn{background:#f5c531;color:#141414}
.dm-pill--bad{background:#e85d6a;color:#fff}
.dm-pill--dim{background:#ffffff0d;color:var(--mut)}
.dm-pill svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.dm-card{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px 12px;padding:14px;border-radius:12px;background:var(--surface);border:1px solid var(--bd3)}
.dm-card img{width:30px;height:30px;border-radius:50%}
.dm-card b{display:block;font-size:14px;font-weight:600;line-height:1.3;color:var(--txt)}
.dm-card small{display:block;margin-top:3px;font-size:12px;color:var(--mut)}
.dm-card div:last-child{grid-column:2;display:flex;align-items:center;gap:12px}
.dm-ok{display:inline-flex;align-items:center;height:30px;padding:0 14px;border-radius:999px;background:#5fc7b8;color:#0d0d0d;font-size:12.5px;font-weight:600}
.dm-card u{font-size:12px;color:var(--mut);text-decoration:none}
.dm-hand{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--mut);line-height:1.35}
.dm-hand svg{width:14px;height:14px;flex:none;fill:none;stroke:#5fc7b8;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dm-hand img{width:18px;height:18px;border-radius:50%;flex:none}
.dm-tiny{display:flex;flex-direction:column;gap:9px;padding:12px 14px;border-radius:12px;border:1px solid var(--bd3);background:var(--surface)}
.dm-tiny>div{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12.5px;color:var(--txt2)}
.dm-tiny>div em{font-style:normal;color:var(--mut);font-size:12px}
.dm-tiny>div .dm-pill{height:20px}

/* ---- 1 Email Marketer: the newsletter draft, a light paper preview inside the dark app ---- */
.dm-mail__subj{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 14px}
.dm-mail__subj .dm-lab{margin-right:4px}
.dm-mail__opt{display:inline-flex;align-items:center;gap:8px;height:28px;padding:0 10px 0 6px;border-radius:999px;border:1px solid var(--bd3);background:var(--surface);font-size:12px;color:var(--mut)}
.dm-mail__opt b{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#ffffff14;font-size:11px;color:var(--txt)}
.dm-mail__opt .dm-tx{width:92px}
.dm-mail__opt--on{border-color:#5fc7b8;background:#5fc7b81a}
.dm-mail__opt--on b{background:#5fc7b8;color:#0d0d0d}
.dm-mail__opt--on em{font-style:normal;font-size:11px;color:#5fc7b8;font-weight:600}
.dm-mail__paper{height:calc(100% - 56px);border-radius:12px 12px 0 0;background:#f7f4ee;color:#16140f;padding:24px 32px 0;overflow:hidden;box-shadow:0 -1px 0 #ffffff14}
.dm-mail__from{display:flex;align-items:center;gap:8px;font-size:12px;color:#6f6a62;padding-bottom:14px;border-bottom:1px solid #16140f14;margin-bottom:18px}
.dm-mail__from b{color:#16140f;font-weight:600}
.dm-mail__from em{margin-left:auto;font-style:normal;white-space:nowrap}
.dm-mail__hero{display:grid;grid-template-columns:236px minmax(0,1fr);gap:22px;align-items:start;margin-bottom:20px}
.dm-mail__img{aspect-ratio:4/3;border-radius:8px;background:linear-gradient(145deg,#e39a4e,#b85a2b 60%,#8a3d1e)}
.dm-mail__hero h4{margin:2px 0 10px;font-size:17px;font-weight:600;letter-spacing:-.01em;color:#16140f}
.dm-mail__hero .dm-tx{margin-bottom:7px}
.dm-mail__btn{display:inline-block;margin-top:8px;height:26px;padding:0 14px;border-radius:999px;background:#16140f;color:#fff;font-size:11.5px;font-weight:600;line-height:26px}
.dm-mail__row{display:grid;grid-template-columns:64px minmax(0,1fr);gap:16px;align-items:center;padding:16px 0;border-top:1px solid #16140f14}
.dm-mail__row i{aspect-ratio:1;border-radius:6px;background:linear-gradient(145deg,#d7cdbd,#b7aa95)}
.dm-mail__row i.dm-mail__i2{background:linear-gradient(145deg,#9ad1c7,#5fa89c)}
.dm-mail__row b{display:block;font-size:13.5px;font-weight:600;margin-bottom:6px}
.dm-mail__foot{display:flex;gap:14px;justify-content:center;padding:14px 0;border-top:1px solid #16140f14;margin-top:6px}
.dm-mail__foot .dm-tx{height:6px}
.dm-mail__rep{display:flex;flex-direction:column;gap:6px}
.dm-mail__rep>.dm-lab{margin-bottom:4px}
.dm-mail__r{display:grid;grid-template-columns:26px minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 10px;border-radius:10px;background:var(--surface);border:1px solid var(--bd3)}
.dm-mail__r i{width:26px;height:26px;border-radius:50%;background:#ffffff14}
.dm-mail__r .dm-tx{margin:3px 0}
.dm-mail__r--log{background:transparent;border-style:dashed;color:var(--mut);font-size:12px;grid-template-columns:minmax(0,1fr) auto}

/* ---- 2 Social Manager: the pin batch ---- */
.dm-pins__strip{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0 0 16px}
.dm-pins__day{display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:10px;background:var(--surface);border:1px solid var(--bd3);font-size:12.5px;color:var(--txt2)}
.dm-pins__day b{color:var(--txt);font-weight:600}
.dm-pins__day span{color:var(--mut)}
.dm-pins__day em{margin-left:auto;font-style:normal;font-size:11px;color:#5fc7b8;font-weight:600}
.dm-pins__g{display:grid;grid-template-columns:repeat(6,1fr);gap:12px 10px}
.dm-pins__t{position:relative;display:flex;flex-direction:column;gap:6px;font-size:11px;color:var(--mut)}
.dm-pins__t i{display:block;aspect-ratio:2/3;border-radius:8px;background:var(--p,#c9652b)}
.dm-pins__t .dm-tx{height:6px}
.dm-pins__t span{display:flex;justify-content:space-between;gap:6px}
.dm-pins__t span b{color:var(--txt2);font-weight:500}
.dm-pins__t--pulled i{opacity:.28;filter:saturate(.3)}
.dm-pins__t--pulled .dm-tx{opacity:.4}
.dm-pins__t--pulled::after{content:"Pulled";position:absolute;top:10px;left:50%;transform:translateX(-50%);padding:3px 9px;border-radius:999px;background:#ffffff1f;color:var(--txt);font-size:11px;font-weight:600;border:1px solid #ffffff2e}
.dm-pins__t:nth-child(1) i{--p:linear-gradient(160deg,#e8a05a,#c9652b)}
.dm-pins__t:nth-child(2) i{--p:linear-gradient(160deg,#f1d9b5,#d9a066)}
.dm-pins__t:nth-child(3) i{--p:linear-gradient(160deg,#a85a2e,#6e3a1f)}
.dm-pins__t:nth-child(4) i{--p:linear-gradient(160deg,#d8864a,#9c4b25)}
.dm-pins__t:nth-child(5) i{--p:linear-gradient(160deg,#efc693,#c98a4e)}
.dm-pins__t:nth-child(6) i{--p:linear-gradient(160deg,#c45c2a,#8a3d1e)}
.dm-pins__t:nth-child(7) i{--p:linear-gradient(160deg,#e9b27a,#b86b3a)}
.dm-pins__t:nth-child(8) i{--p:linear-gradient(160deg,#8f4a28,#5a2d16)}
.dm-pins__t:nth-child(9) i{--p:linear-gradient(160deg,#f0cfa6,#d49a5e)}
.dm-pins__t:nth-child(10) i{--p:linear-gradient(160deg,#d47a3d,#a0501f)}
.dm-pins__t:nth-child(11) i{--p:linear-gradient(160deg,#b9653a,#7d3f22)}
.dm-pins__t:nth-child(12) i{--p:linear-gradient(160deg,#e6a46a,#c07137)}

/* ---- 3 SEO Strategist: the rankings table ---- */
.dm-rank__t{width:100%;border-collapse:collapse;font-size:13px}
.dm-rank__t th{padding:0 10px 8px 0;text-align:left;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--dim);border-bottom:1px solid var(--bd3)}
.dm-rank__t td{padding:12px 10px 12px 0;border-bottom:1px solid var(--bd2);vertical-align:middle;color:var(--txt2)}
.dm-rank__t td:first-child{width:46%}
.dm-rank__t td b{font-weight:500;color:var(--txt)}
.dm-rank__t td .dm-tx{width:70%}
.dm-rank__pos{position:relative;display:block;height:6px;width:120px;border-radius:3px;background:#ffffff14}
.dm-rank__pos::after{content:"";position:absolute;top:-3px;left:var(--p,30%);width:12px;height:12px;border-radius:50%;background:#dcdcdc;border:2px solid var(--canvas)}
.dm-rank__pos--bad::after{background:#e85d6a}
.dm-rank__pos--ok::after{background:#5fc7b8}
.dm-rank__pos s{position:absolute;top:0;height:6px;border-radius:3px;left:var(--a);width:var(--w);background:#5fc7b84d}
.dm-rank__pos--bad s{background:#e85d6a4d}
.dm-rank__t tr.dm-rank__bad td{border-bottom:0;padding-bottom:4px}
.dm-rank__why td{padding:0 0 12px!important;font-size:12.5px;color:var(--mut)}
.dm-rank__why td div{display:block;padding:8px 12px;border-radius:8px;background:#e85d6a14;border-left:2px solid #e85d6a;line-height:1.5}
.dm-rank__why td div q{color:var(--txt);quotes:"\201C" "\201D";margin-left:2px}
.dm-rank__week{margin-top:18px;padding:14px 16px;border-radius:12px;background:var(--surface);border:1px solid var(--bd3)}
.dm-rank__week .dm-lab{margin-bottom:8px}
.dm-rank__week p{margin:0;font-size:13.5px;color:var(--txt2);line-height:1.45}
.dm-rank__week p q{display:inline-block;padding:1px 8px;border-radius:6px;background:#5fc7b81f;color:#fff;font-weight:500;quotes:"\201C" "\201D"}
.dm-rank__wr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 0;border-top:1px solid var(--bd3);font-size:13px;color:var(--txt2)}
.dm-rank__wr:first-of-type{margin-top:12px}
.dm-rank__wr b{font-weight:500;color:var(--txt)}
.dm-rank__wr .dm-tx{width:46%}
.dm-rank__sum{padding:14px;border-radius:12px;background:var(--surface);border:1px solid var(--bd3)}
.dm-rank__sum .dm-lab{margin-bottom:10px}
.dm-rank__big{font-size:30px;font-weight:600;letter-spacing:-.02em;line-height:1;color:var(--txt)}
.dm-rank__big small{font-size:13px;font-weight:500;color:var(--mut);margin-left:6px;letter-spacing:0}
.dm-rank__sum>div+div{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}

/* ---- 4 Content Editor: the edit view ---- */
.dm-edit__top{display:flex;align-items:center;gap:12px;margin:0 0 14px}
.dm-edit__seg{display:inline-flex;padding:2px;border-radius:999px;background:#ffffff0d;border:1px solid var(--bd3);font-size:12px}
.dm-edit__seg span{padding:4px 12px;border-radius:999px;color:var(--mut)}
.dm-edit__seg span.on{background:#ffffff1a;color:var(--txt);font-weight:600}
.dm-edit__doc{height:calc(100% - 46px);padding:26px 30px;border-radius:12px 12px 0 0;background:var(--surface);border:1px solid var(--bd3);border-bottom:0;overflow:hidden}
.dm-edit__doc h4{margin:0 0 14px;font-size:20px;font-weight:600;letter-spacing:-.015em;color:var(--txt)}
.dm-edit__p{display:flex;flex-direction:column;gap:7px;margin:0 0 16px}
.dm-edit__p .dm-tx{height:7px}
.dm-edit__ins{position:relative;margin:0 0 16px;padding:10px 14px 10px 16px;border-left:3px solid #5fc7b8;border-radius:0 8px 8px 0;background:#5fc7b812}
.dm-edit__ins .dm-lab{color:#5fc7b8;margin-bottom:7px}
.dm-edit__ins p{margin:0 0 7px;font-size:13.5px;color:var(--txt);line-height:1.45}
.dm-edit__ins .dm-tx{height:7px;background:#5fc7b84a}
.dm-edit__ins .dm-tx+.dm-tx{margin-top:7px}
.dm-edit__card{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;padding:14px;margin:0 0 16px;border-radius:10px;border:1px solid var(--bd3);background:var(--canvas)}
.dm-edit__card i{aspect-ratio:1;border-radius:8px;background:linear-gradient(145deg,#f0c060,#c98a2e)}
.dm-edit__card b{display:block;font-size:14px;font-weight:600;margin-bottom:8px}
.dm-edit__meta{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:12.5px;color:var(--mut)}
.dm-edit__meta s{color:#e85d6a;text-decoration:line-through}
.dm-edit__meta ins{text-decoration:none;color:#5fc7b8;font-weight:600;padding:0 5px;border-radius:4px;background:#5fc7b81f}
.dm-edit__meta .dm-pill{height:20px;margin-left:auto}
.dm-edit__faq .dm-lab{color:#5fc7b8}
.dm-edit__faq b{display:block;font-size:14px;font-weight:600;margin:8px 0 7px;color:var(--txt)}
.dm-edit__chg{display:flex;flex-direction:column;gap:8px}
.dm-edit__chg .dm-lab{margin-bottom:2px}
.dm-edit__c{display:grid;grid-template-columns:8px minmax(0,1fr);gap:10px;align-items:start;padding:9px 12px;border-radius:10px;background:var(--surface);border:1px solid var(--bd3);font-size:12.5px;color:var(--txt2)}
.dm-edit__c i{width:8px;height:8px;border-radius:50%;background:#5fc7b8;margin-top:5px}
.dm-edit__c--flag i{background:#f5c531}
.dm-edit__c small{display:block;color:var(--mut);margin-top:2px}

/* ---- 5 Community Manager: the comment inbox ---- */
.dm-inbox__h{display:flex;align-items:center;gap:8px;margin:0 0 12px}
.dm-inbox__h b{font-size:18px;font-weight:600;letter-spacing:-.01em;margin-right:6px}
.dm-inbox__l{display:flex;flex-direction:column;gap:6px}
.dm-inbox__c{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:4px 12px;align-items:center;padding:9px 12px;border-radius:10px;border:1px solid var(--bd2);background:var(--surface)}
.dm-inbox__c>i{grid-row:1/3;width:30px;height:30px;border-radius:50%;background:#ffffff14;display:grid;place-items:center;font-size:12px;font-weight:600;color:var(--txt)}
.dm-inbox__c>div{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--txt)}
.dm-inbox__c>div .dm-tx{width:90px}
.dm-inbox__c>div span{color:var(--mut);font-size:12px}
.dm-inbox__c>small{grid-column:2;display:flex;align-items:center;gap:8px;font-size:12px;color:var(--mut)}
.dm-inbox__c>small em{font-style:normal;color:var(--txt2)}
.dm-inbox__c>small .dm-tx{width:140px;height:6px}
.dm-inbox__c>.dm-pill{grid-row:1/3;grid-column:3}
.dm-inbox__c--held{border-color:#f5c53166;background:#f5c5310f}
.dm-inbox__c--held>i{background:#f5c531;color:#141414}
.dm-inbox__c--log,.dm-inbox__c--spam{background:transparent}
.dm-inbox__c--log>i,.dm-inbox__c--spam>i{background:#ffffff0a}
.dm-inbox__c--log>div,.dm-inbox__c--spam>div{color:var(--mut)}
.dm-inbox__c--spam .dm-tx{opacity:.5}

/* ---- 6 Data Analyst: the report ---- */
.dm-rep__stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 12px}
.dm-rep__st{padding:12px 14px;border-radius:12px;background:var(--surface);border:1px solid var(--bd3)}
.dm-rep__st .dm-lab{margin-bottom:6px}
.dm-rep__st b{display:block;font-size:16px;font-weight:600;color:var(--txt)}
.dm-rep__st b.bad{color:#e85d6a}.dm-rep__st b.ok{color:#5fc7b8}
.dm-rep__charts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 16px}
.dm-rep__ch{padding:12px 14px 10px;border-radius:12px;background:var(--surface);border:1px solid var(--bd3)}
.dm-rep__ch>div:first-child{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:10px}
.dm-rep__ch>div:first-child b{font-size:13px;font-weight:600}
.dm-rep__ch>div:first-child span{font-size:12px;color:var(--mut)}
.dm-rep__ch>div:first-child span.dm-rep__dip{color:#e85d6a}
.dm-rep__bars{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;align-items:end;height:104px}
.dm-rep__bars i{display:block;border-radius:4px 4px 2px 2px;background:#5fc7b8a6;height:var(--h,60%)}
.dm-rep__bars i.dm-rep__low{background:#e85d6a}
.dm-rep__days{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin-top:6px;font-size:10.5px;color:var(--dim);text-align:center}
.dm-rep__t{width:100%;border-collapse:collapse;font-size:13px}
.dm-rep__t caption{text-align:left;padding:0 0 10px;font-size:14px;font-weight:600;color:var(--txt)}
.dm-rep__t caption span{font-weight:400;color:var(--mut);font-size:12.5px;margin-left:8px}
.dm-rep__t th{padding:0 10px 8px 0;text-align:left;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--dim);border-bottom:1px solid var(--bd3)}
.dm-rep__t td{padding:9px 10px 9px 0;border-bottom:1px solid var(--bd2);color:var(--txt2)}
.dm-rep__t td:first-child{width:38%}
.dm-rep__t td b{font-weight:500;color:var(--txt)}
.dm-rep__t td .dm-tx{width:72%}
.dm-rep__rpm{display:block;height:8px;border-radius:4px;background:#5fc7b8;width:var(--w,50%)}
.dm-rep__t tr.dm-rep__flag .dm-rep__rpm{background:#e85d6a}
.dm-rep__why{padding:12px 14px;border-radius:12px;border-left:3px solid #5fc7b8;background:var(--surface);font-size:13px;line-height:1.45;color:var(--txt2)}
.dm-rep__why .dm-lab{color:#5fc7b8;margin-bottom:6px}
.dm-rep__why b{color:var(--txt);font-weight:600}

/* ---- 7 Web Developer: staging preview ---- */
.dm-stage__cmp{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 16px}
.dm-stage__ph{position:relative;padding:14px 16px 0;border-radius:12px;background:var(--surface);border:1px solid var(--bd3)}
.dm-stage__ph>.dm-lab{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.dm-stage__ph>.dm-lab .dm-pill{height:18px;font-size:10.5px;padding:0 7px}
.dm-stage__scr{width:206px;margin:0 auto;padding:14px 12px 0;border-radius:22px 22px 0 0;border:2px solid #ffffff22;border-bottom:0;background:#f7f4ee;color:#16140f;height:300px;overflow:hidden}
.dm-stage__scr .dm-tx{background:#16140f1f;height:6px;margin-bottom:7px}
.dm-stage__scr .dm-tx--t{height:10px;background:#16140f55;margin:6px 0 10px;width:70%}
.dm-stage__scr .dm-stage__img{height:76px;border-radius:6px;background:linear-gradient(145deg,#e39a4e,#b85a2b);margin-bottom:10px}
.dm-stage__rc{margin-top:10px;border-radius:6px;border:1px solid #16140f22;background:#fff;padding:var(--pad,2px)}
.dm-stage__rc .dm-tx{width:80%}
.dm-stage__rc .dm-tx:first-child{height:8px;background:#16140f55;width:60%}
.dm-stage__rc .dm-tx:last-child{margin-bottom:0}
.dm-stage__rc--bad{--pad:1px 2px;outline:1px dashed #e85d6a;outline-offset:1px}
.dm-stage__rc--ok{--pad:12px 11px;outline:1px dashed #5fc7b8;outline-offset:1px}
.dm-stage__diff{padding:12px 14px;border-radius:12px;background:var(--native);border:1px solid var(--bd3);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;line-height:1.7;color:var(--txt2)}
.dm-stage__diff>.dm-lab{font-family:Inter,ui-sans-serif,system-ui,sans-serif;margin-bottom:6px}
.dm-stage__diff div{display:flex;gap:12px;padding:0 8px;border-radius:4px;white-space:pre}
.dm-stage__diff div::before{content:" ";width:8px;color:var(--dim)}
.dm-stage__diff .del{background:#e85d6a1f;color:#ffb3ba}.dm-stage__diff .del::before{content:"-";color:#e85d6a}
.dm-stage__diff .add{background:#5fc7b81f;color:#bfeee6}.dm-stage__diff .add::before{content:"+";color:#5fc7b8}
.dm-stage__list{display:flex;flex-direction:column;gap:6px}
.dm-stage__list .dm-lab{margin-bottom:2px}
.dm-stage__fx{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:10px;background:var(--surface);border:1px solid var(--bd3);font-size:12.5px;color:var(--txt2)}
.dm-stage__fx svg{width:16px;height:16px;flex:none;border-radius:50%;background:#5fc7b8;padding:3px;fill:none;stroke:#0d0d0d;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.dm-stage__fx em{margin-left:auto;font-style:normal;font-size:11px;color:var(--mut)}

/* ---- 8 Site Health Tech: the status board ---- */
.dm-health__tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 16px}
.dm-health__tile{padding:14px;border-radius:12px;background:var(--surface);border:1px solid var(--bd3)}
.dm-health__tile .dm-lab{margin-bottom:8px}
.dm-health__tile b{display:block;font-size:18px;font-weight:600;letter-spacing:-.01em;margin-bottom:10px;color:var(--txt)}
.dm-health__tile--warn b{color:#f5c531}
.dm-health__meter{height:6px;border-radius:3px;background:#ffffff14;overflow:hidden}
.dm-health__meter i{display:block;height:100%;width:var(--w,100%);background:#5fc7b8;border-radius:3px}
.dm-health__tile--warn .dm-health__meter i{background:#f5c531}
.dm-health__up{padding:14px;border-radius:12px;background:var(--surface);border:1px solid var(--bd3);margin:0 0 16px}
.dm-health__up>div:first-child{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:10px}
.dm-health__up>div:first-child span{font-size:12px;color:#5fc7b8;font-weight:600}
.dm-health__days{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.dm-health__days i{display:block;height:44px;border-radius:6px;background:#3fa89b}
.dm-health__days i.amber{background:#f5c531}
.dm-health__dl{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin-top:6px;font-size:10.5px;color:var(--dim);text-align:center}
.dm-health__inc{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:12px;color:var(--mut)}
.dm-health__inc i{width:8px;height:8px;border-radius:2px;background:#f5c531;flex:none}
.dm-health__rows{display:flex;flex-direction:column;gap:6px}
.dm-health__rows .dm-lab{margin-bottom:2px}
.dm-health__r{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:9px 12px;border-radius:10px;background:var(--surface);border:1px solid var(--bd3);font-size:13px;color:var(--txt2)}
.dm-health__r>.dm-pill{height:20px}
.dm-health__r b{color:var(--txt);font-weight:500}
.dm-health__r small{display:block;font-size:12px;color:var(--mut);margin-top:1px}
.dm-health__r em{font-style:normal;font-size:12px;color:var(--mut);white-space:nowrap}

/* ---- responsive: tablet height, phone stack ---- */
@media(max-width:1100px){
  .dm-body{grid-template-columns:minmax(0,1fr) 260px}
  .dm-main{padding:16px 18px}
  .dm-pins__g{grid-template-columns:repeat(4,1fr)}
  .dm-pins__t:nth-child(n+9){display:none}
  .dm-mail__hero{grid-template-columns:120px minmax(0,1fr)}
}
@media(max-width:760px){
  .cr-demo .pv__win{aspect-ratio:auto;height:auto;max-height:none}
  .dm-win{position:relative;inset:auto;grid-template-rows:44px auto}
  .dm-bar{padding-left:14px;padding-right:14px}
  .dm-bar i,.dm-bar span{display:none}
  .dm-body{grid-template-columns:1fr}
  .dm-body>*{overflow:visible}
  .dm-main{padding:16px}
  .dm-rail{border-left:0;border-top:1px solid var(--bd3);padding:16px}
  .dm-rail>.dm-hand{margin-top:0}
  .dm-h b{font-size:16px}
  .dm-mail__paper{height:auto;padding-bottom:0}
  .dm-mail__hero{grid-template-columns:96px minmax(0,1fr);gap:12px}
  .dm-mail__hero h4{font-size:15px}
  .dm-mail__from em{display:none}
  .dm-mail__from span{white-space:nowrap}
  .dm-mail__rep{display:none}
  .dm-pins__strip{grid-template-columns:repeat(2,1fr);gap:6px}
  .dm-pins__day{padding:8px 10px;gap:6px;font-size:12px}
  .dm-pins__day span,.dm-pins__day em{white-space:nowrap}
  .dm-pins__g{grid-template-columns:repeat(3,1fr)}
  .dm-pins__t:nth-child(n+7){display:none}
  .dm-rank__t th:nth-child(2),.dm-rank__t td:nth-child(2){display:none}
  .dm-rank__t td:first-child{width:60%}
  .dm-edit__doc{height:auto;padding:18px}
  .dm-edit__card{grid-template-columns:64px minmax(0,1fr)}
  .dm-edit__meta .dm-pill{margin-left:0}
  .dm-inbox__c--log,.dm-inbox__c--spam{display:none}
  .dm-inbox__c>small .dm-tx{width:80px}
  .dm-rep__charts{grid-template-columns:1fr}
  .dm-rep__ch:nth-child(1){display:none}
  .dm-rep__t th:nth-child(2),.dm-rep__t td:nth-child(2){display:none}
  .dm-stage__cmp{gap:10px}
  .dm-stage__scr{width:128px;height:190px;padding:10px 8px 0}
  .dm-stage__scr .dm-stage__img{height:48px}
  .dm-stage__list{display:none}
  .dm-health__tiles{grid-template-columns:1fr 1fr}
  .dm-health__tile:nth-child(2){display:none}
  .dm-health__r em{display:none}
}

/* ── role walkthroughs (crew-flow.js, 2026-11-29): the thread plays inside the real app window ── */
.cr-flow .pv__win{aspect-ratio:auto;height:min(720px,78vh)}
.cr-flow .feed{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}
.cr-flow .feed::-webkit-scrollbar{display:none}
.cr-flow [data-in]:not(.is-in){display:none!important} /* unseen items take no space, so the thread scrolls like a real one */
.cr-flow [data-in].is-in{animation:fl-in .4s ease both}
@keyframes fl-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.cr-flow [data-type].is-typing::after{content:"";display:inline-block;width:.16em;height:1em;margin-left:.2em;border-radius:999px;vertical-align:-.15em;background:#ffffff8c;animation:fl-caret 1s steps(2,jump-none) infinite}
.cr-flow .m--me [data-type].is-typing::after{background:#16140f8c}
@keyframes fl-caret{50%{opacity:0}}
.cr-flow .m--prog .m__t{display:inline-block;padding:9px 14px;border-radius:16px;background:#ffffff12;color:#ffffffb8}
.cr-flow .pv__stage{overflow:hidden}
.fl-cursor{position:absolute;z-index:5;width:22px;height:22px;margin:-4px 0 0 -4px;opacity:0;pointer-events:none;transition:left .6s cubic-bezier(.3,.7,.2,1),top .6s cubic-bezier(.3,.7,.2,1),opacity .2s;filter:drop-shadow(0 2px 4px #0006)}
.fl-cursor.is-on{opacity:1}.fl-cursor.is-press{transform:scale(.85)}.fl-cursor svg{width:22px;height:22px}
.cr-flow .rd__row b.is-press{transform:scale(.96)}
.cr-flow .rd__row b.is-done{background:#2f8f6e;color:#fff}
.cr-flow .rd__row b{transition:background-color .2s,transform .12s}
.fl-steps{position:relative;display:flex;gap:4px;width:min(100%,860px);margin:18px auto 0;padding:0 0 10px;border-bottom:1px solid #16140f12}
.fl-steps button{position:relative;flex:1;padding:6px 4px 10px;border:0;background:0 0;color:var(--mut);font:600 12px/1 Inter,sans-serif;letter-spacing:.04em;text-transform:uppercase;cursor:pointer;transition:color .2s}
.fl-steps button.is-done{color:var(--txt2)}.fl-steps button.is-on{color:var(--a1-ink)}
.fl-steps__bar{position:absolute;left:0;bottom:-1px;height:2px;border-radius:2px;background:var(--a1-ink);width:0;pointer-events:none}
.fl-cap{width:min(100%,760px);margin:12px auto 0;text-align:center;color:var(--txt2);font-size:14.5px;line-height:1.45;min-height:2.9em}
.cr-flow .rd__list{display:grid;gap:2px}
@media(prefers-reduced-motion:reduce){.cr-flow [data-in].is-in{animation:none}.fl-cursor{transition:none}.cr-flow [data-type].is-typing::after{display:none}}
@media(max-width:760px){.cr-flow .pv__win{height:min(640px,80vh)}.fl-steps button{font-size:10.5px;padding:6px 2px 8px}}

/* the document preview in the Computer card */
.cr-flow .bd__pcbody{position:relative;min-height:72px}
.cr-flow .fl-doc{position:absolute;inset:0;padding:8px 10px;background:#fff;color:#16140f;border-radius:0 0 8px 8px}
.cr-flow .fl-doc b{display:block;font-size:10px;font-weight:700;letter-spacing:-.01em;margin-bottom:4px}
.cr-flow .fl-doc i{display:block;height:3px;border-radius:2px;background:#16140f1f;margin:3px 0}
.cr-flow .fl-doc i.img{height:22px;border-radius:4px;background:linear-gradient(135deg,#ffb39e,#f25b57);margin:4px 0 6px}
.cr-flow .fl-doc small{display:block;margin-top:5px;font-size:8.5px;font-weight:600;color:#16140f}
.cr-flow .bd__pc .bd__open{z-index:2}
.cr-flow .fl-prog{display:block;height:3px;border-radius:2px;background:#ffffff1f;overflow:hidden;margin:4px 0}
.cr-flow .fl-prog i{display:block;height:100%;width:38%;background:#4cb5a7;animation:fl-prog 2.4s ease-in-out infinite}
@keyframes fl-prog{0%{width:12%}50%{width:70%}100%{width:12%}}
@media(max-width:600px){
  .cr-flow .m>div{min-width:0;flex:1}
  .cr-flow .rd{overflow:hidden}
  .cr-flow .dm-pins__strip,.cr-flow .dm-pins__g,.cr-flow .dm-rep__stats,.cr-flow .dm-health__tiles{grid-auto-columns:minmax(0,1fr)}
  .cr-flow .dm-pins__day{min-width:0}
  .cr-flow .dm-pins__day span{display:none}
  .cr-flow .dm-pins__strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cr-flow .dm-pins__g{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 6px}
  .cr-flow .dm-pins__t:nth-child(n+9){display:none}
  .cr-flow .dm-pins__t span{display:none}
  .cr-flow .dm-rank__pos{width:64px}
  .cr-flow .dm-rank__t td:first-child{width:auto}
  .cr-flow .dm-rank__t td .dm-tx{display:none}
  .cr-flow .dm-inbox__c{grid-template-columns:26px minmax(0,1fr)}
  .cr-flow .dm-inbox__c>i{width:26px;height:26px;font-size:11px}
  .cr-flow .dm-inbox__c>div{flex-wrap:wrap;gap:4px 8px}
  .cr-flow .dm-inbox__c>div .dm-tx{width:40px}
  .cr-flow .dm-inbox__c>small .dm-tx{width:56px}
  .cr-flow .dm-inbox__c>.dm-pill{grid-row:auto;grid-column:2;justify-self:start;margin-top:4px}
  .cr-flow .dm-inbox__h{flex-wrap:wrap;gap:6px}
  .cr-flow .dm-inbox__h b{font-size:15px}
  .cr-flow .dm-rep__stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .cr-flow .dm-rep__charts,.cr-flow .dm-stage__cmp{grid-template-columns:1fr}
  .cr-flow .dm-rep__t td:first-child{width:auto}
  .cr-flow .dm-rep__t td .dm-tx{display:none}
  .cr-flow .dm-stage__scr{width:160px;height:220px}
  .cr-flow .dm-stage__diff{font-size:11px}
  .cr-flow .dm-stage__diff div{white-space:pre-wrap}
  .cr-flow .dm-health__tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .cr-flow .dm-health__r{grid-template-columns:auto minmax(0,1fr);gap:6px 10px}
  .cr-flow .dm-health__r em{grid-column:2;white-space:normal}
  .cr-flow .fl-doc{max-width:100%}
}

/* ---- shipped-product pieces used by the walkthroughs (2026-11-29): working disclosure, approval card, folded line, file card, hand-off line, screenshot ---- */
.cr-flow .fl-work{margin-top:8px;padding:8px 10px;border-radius:10px;border:1px solid var(--bd3);background:var(--native);font-size:12px;color:var(--dim);max-width:360px}
.cr-flow .fl-work__h{display:flex;align-items:center;gap:8px;color:var(--mut);font-weight:500;margin-bottom:4px}
.cr-flow .fl-work__h em{width:10px;height:10px;border-radius:50%;border:2px solid #ffffff2e;border-top-color:#5fc7b8;animation:fl-spin .9s linear infinite}
.cr-flow .fl-work__s{display:flex;align-items:center;gap:8px;padding:3px 0 3px 2px}
.cr-flow .fl-work__s i{width:12px;height:12px;flex:none;display:grid;place-items:center}
.cr-flow .fl-work__s i.sp{border-radius:50%;border:1.5px solid #ffffff2e;border-top-color:#5fc7b8;animation:fl-spin .9s linear infinite}
.cr-flow .fl-work__s i.ck svg{width:12px;height:12px;color:#5fc7b8}
.cr-flow .fl-work__s i.ck:not(.is-in),.cr-flow .fl-work__s i.sp:not(.is-in){display:none}
@keyframes fl-spin{to{transform:rotate(360deg)}}
.cr-flow .fl-done{display:inline-flex;align-items:center;gap:6px;margin:4px 0 6px;font-size:11.5px;color:var(--dim)}
.cr-flow .fl-done svg{width:12px;height:12px;color:#5fc7b8}
.cr-flow .fl-done small{font-size:11px;color:var(--dim);opacity:.8}
.cr-flow .m__t b{font-weight:600;color:#fff}
.cr-flow .m__t p{margin:0 0 6px}.cr-flow .m__t p:last-child{margin:0}
.cr-flow .m__t ul{margin:2px 0 6px;padding-left:16px}
.cr-flow .m__t li{margin:0 0 3px}
.cr-flow .m__t q{quotes:"\201C" "\201D"}
.cr-flow .fl-ask{margin-top:8px;max-width:440px;border-radius:12px;border:1px solid var(--bd3);background:var(--native);padding:12px 12px 10px;font-size:12.5px;color:var(--txt2)}
.cr-flow .fl-ask__h{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:600;color:var(--txt);line-height:1.3}
.cr-flow .fl-app{display:grid;place-items:center;width:22px;height:22px;flex:none;border-radius:6px;background:#ffffff1a;font-style:normal;font-size:11px;font-weight:700;color:#fff}
.cr-flow .fl-app--nerdpress,.cr-flow .fl-app--wordpress{background:#21759b}.cr-flow .fl-app--allspice{background:#F25B57}.cr-flow .fl-app--kit{background:#e85d6a}.cr-flow .fl-app--inbox{background:#5fc7b8;color:#0d0d0d}.cr-flow .fl-app--google{background:#fff;color:#16140f}
.cr-flow .fl-ask__r{display:flex;align-items:center;gap:6px;margin:6px 0 0 31px;font-size:11.5px;color:var(--dim)}
.cr-flow .fl-ask__r i{width:7px;height:7px;border-radius:50%;background:#f5c531}
.cr-flow .fl-ask__r--ok i{background:#5fc7b8}
.cr-flow .fl-ask__r code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;color:var(--mut)}
.cr-flow .fl-ask__why{margin:8px 0 0;line-height:1.45;color:var(--txt2)}
.cr-flow .fl-ask__sec{margin:10px 0 0;font-size:12px;font-weight:600;color:var(--txt)}
.cr-flow .fl-ask__p{margin:8px 0 0;padding:8px 10px;border-radius:8px;background:#ffffff0a;border:1px solid var(--bd3);display:grid;gap:5px}
.cr-flow .fl-ask__p:empty{display:none}
.cr-flow .fl-ask__f{display:grid;grid-template-columns:minmax(72px,auto) minmax(0,1fr);gap:10px;font-size:12px;line-height:1.4}
.cr-flow .fl-ask__f span{color:var(--dim)}
.cr-flow .fl-ask__f b{font-weight:500;color:var(--txt);overflow-wrap:anywhere}
.cr-flow .fl-ask__d{display:grid;gap:3px;font-size:12px;line-height:1.45}
.cr-flow .fl-ask__d s{text-decoration:none;padding:3px 7px;border-radius:5px;background:#e85d6a1f;color:#ffb3ba}
.cr-flow .fl-ask__d ins{text-decoration:none;padding:3px 7px;border-radius:5px;background:#5fc7b81f;color:#bfeee6}
.cr-flow .fl-ask__bs{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.cr-flow .fl-ask__b{display:inline-grid;place-items:center;height:26px;padding:0 11px;border-radius:999px;background:var(--light);color:var(--onlight);font-size:11.5px;font-weight:600;transition:background-color .2s,transform .12s}
.cr-flow .fl-ask__b--q{background:#ffffff14;color:var(--txt2);font-weight:500}
.cr-flow .fl-ask__b.is-press{transform:scale(.96)}
.cr-flow .fl-ask__b.is-done{background:#2f8f6e;color:#fff}
.cr-flow .fl-fold{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:12px;color:var(--dim)}
.cr-flow .fl-fold svg{width:12px;height:12px;color:#5fc7b8;flex:none}
.cr-flow .fl-fold b{font-weight:500;color:var(--mut)}
.cr-flow .fl-file{display:flex;align-items:center;gap:10px;margin-top:8px;max-width:360px;padding:9px 11px;border-radius:10px;border:1px solid var(--bd3);background:var(--native)}
.cr-flow .fl-file i{display:grid;place-items:center;width:28px;height:28px;flex:none;border-radius:7px;background:#ffffff12;color:#5fc7b8}
.cr-flow .fl-file svg{width:16px;height:16px}
.cr-flow .fl-file b{display:block;font-size:12.5px;font-weight:600;color:var(--txt)}
.cr-flow .fl-file small{display:block;font-size:11.5px;color:var(--dim);margin-top:1px}
.cr-flow .fl-hand{gap:6px;flex-wrap:wrap;line-height:1.4}
.cr-flow .fl-hand .cav{width:16px;height:16px}
.cr-flow .fl-hand span{color:var(--mut);font-weight:500}
.cr-flow .fl-hand em,.cr-flow .fl-hand i{font-style:normal;color:var(--dim)}
.cr-flow .fl-row{padding-left:41px}
.cr-flow .fl-shot{display:inline-flex;flex-direction:column;gap:5px;margin:8px 10px 0 0;vertical-align:top}
.cr-flow .fl-shot__p{width:92px;height:150px;padding:10px 8px 0;border-radius:12px 12px 0 0;border:2px solid #ffffff22;border-bottom:0;background:#f7f4ee;overflow:hidden}
.cr-flow .fl-shot__p i{display:block;height:5px;border-radius:3px;background:#16140f1f;margin-bottom:6px;width:82%}
.cr-flow .fl-shot__p i.h{height:8px;background:#16140f55;width:64%}
.cr-flow .fl-shot__p i.img{height:40px;border-radius:5px;background:linear-gradient(145deg,#e39a4e,#b85a2b)}
.cr-flow .fl-shot__p i.w{width:100%;height:12px;background:#e85d6a2e;outline:1px dashed #e85d6a;outline-offset:1px}
.cr-flow .fl-shot__p i.rc{height:34px;border-radius:5px;border:1px solid #16140f22;background:#fff;width:100%}
.cr-flow .fl-shot small{font-size:11px;color:var(--dim);max-width:92px;line-height:1.3}
.cr-flow .fl-asleep{opacity:.55;position:relative}
.cr-flow .fl-asleep small{position:absolute;right:8px;bottom:6px;font-size:10px;color:var(--mut)}
.cr-flow .fl-off i{background:#ffffff3d!important;animation:none!important}
.cr-flow .fl-phone{position:absolute;inset:0;display:grid;place-items:end center;background:#2a2a2c}
.cr-flow .fl-phone .fl-shot__p{width:48px;height:64px;padding:6px 4px 0;border-radius:7px 7px 0 0}
.cr-flow .fl-phone .fl-shot__p i{height:3px;margin-bottom:3px}
.cr-flow .fl-phone .fl-shot__p i.h{height:4px}.cr-flow .fl-phone .fl-shot__p i.img{height:16px}.cr-flow .fl-phone .fl-shot__p i.w{height:6px}.cr-flow .fl-phone .fl-shot__p i.rc{height:14px}
@media(max-width:600px){.cr-flow .fl-ask__f{grid-template-columns:1fr}.cr-flow .fl-work{max-width:100%}}
