/* The devices the use cases play on, and the tools inside them. Drawn at a fixed size (scene.js scales them).
   Product names belong to their owners; these screens are illustrations of the kind of tool, not copies. */
.dv { position: absolute; left: 0; top: 0; width: 900px; height: 620px; transform-origin: 0 0; color: #1D1D1F;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.35; }
.dv-solo { height: 590px; }
.dv * { box-sizing: border-box; }
.dv-fig { position: absolute; margin: 0; }
.dv-macfig { left: 0; top: 4px; }
.dv-solo .dv-macfig { left: 60px; }
.dv-phonefig { left: 636px; top: 46px; }
.dv figcaption { margin-top: 14px; text-align: center; font: 500 13.5px var(--sans); color: var(--a-soft); }
.dv-macfig .dv-sz { width: 660px; }
.dv-solo .dv-macfig .dv-sz { width: 780px; }
.dv-phonefig .dv-sz { width: 250px; }
/* the Dock: the tools this business uses, the one in front marked with a dot */
.mac-dock { position: absolute; z-index: 3; left: 50%; bottom: 4px; transform: translateX(-50%); display: flex; gap: 7px; padding: 4px 7px; border-radius: 13px; background: rgba(255,255,255,.42); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.6), 0 6px 18px rgba(20,30,60,.16); }
.mac-dock span { position: relative; width: 24px; height: 24px; }
.mac-dock svg { display: block; width: 24px; height: 24px; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.18)); }
.mac-dock span.on::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 3px; height: 3px; margin-left: -1.5px; border-radius: 50%; background: rgba(0,0,0,.6); }

/* before it plays: one card that says what this is */
.dv-intro { position: absolute; z-index: 8; left: 50%; top: 46%; width: 420px; transform: translate(-50%, -50%); display: grid; gap: 10px; justify-items: center; text-align: center; padding: 30px 32px 28px; border-radius: 28px; background: rgba(255,255,255,.86); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); box-shadow: 0 0 0 .5px rgba(0,0,0,.08), 0 30px 70px rgba(20,30,60,.22); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.dv-pre .dv-intro { opacity: 1; visibility: visible; }
.dv-intro h4 { margin: 0; font: 400 30px/1.15 var(--serif); color: var(--a-ink); letter-spacing: -.01em; }
.dv-intro span { font: 400 17px/1.45 var(--sans); color: #45454A; }
.dv-intro button { margin-top: 10px; border: 0; border-radius: 999px; padding: 13px 26px; background: var(--a-ink); color: #fff; font: 600 16px var(--sans); cursor: pointer; transition: transform .12s, background .2s; }
.dv-intro button:hover { background: #000; }
.dv-intro button:active { transform: scale(.97); }
.dv-pre .dv-fig { filter: saturate(.85); opacity: .55; transition: opacity .4s, filter .4s; }
.dv-pre .dv-ctl { opacity: 0; pointer-events: none; }
.dv-fig { transition: opacity .4s, filter .4s; }
.dv-ctl { transition: opacity .3s; }

/* the controls: one plain line on what just happened, and the visitor's own pace */
.dv-ctl { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 10px 10px 18px; border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(29,29,31,.06), 0 8px 24px rgba(29,29,31,.07); }
.dv-say { flex: 1; font: 500 18px/1.4 var(--sans); color: var(--a-ink); }
.dv-of { font: 500 14px var(--sans); color: var(--a-soft); white-space: nowrap; }
.dv-ctl button { flex: none; border: 0; cursor: pointer; font: 600 16px var(--sans); transition: background .2s, transform .12s; }
.dv-ctl button:active { transform: scale(.96); }
.dv-back { width: 44px; height: 44px; border-radius: 50%; background: rgba(29,29,31,.07); color: var(--a-ink); font-size: 22px !important; }
.dv-back:disabled { opacity: .3; cursor: default; }
.dv-next { min-width: 112px; height: 46px; padding: 0 24px; border-radius: 999px; background: var(--a-ink); color: #fff; }
.dv-next:hover { background: #000; }
@media (max-width: 640px) { .dv-ctl { flex-wrap: wrap; } .dv-say { flex-basis: 100%; font-size: 16px; } .dv-of { margin-left: auto; } }

/* ---- the laptop */
.dv-lid { padding: 11px; border-radius: 22px 22px 6px 6px; background: #0E0E10; box-shadow: inset 0 0 0 1.5px #3A3A3E, 0 30px 60px rgba(20,30,60,.2); }
.dv-scr { position: relative; height: 432px; border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, #DCE6F7, #E7E0F3 55%, #F4E6DA); }
.dv-solo .dv-scr { height: 500px; }
.dv-base { position: relative; height: 14px; margin: 0 -46px; border-radius: 2px 2px 14px 14px; background: linear-gradient(#E4E5E9, #B8BAC0); box-shadow: 0 18px 30px rgba(20,30,60,.16); }
.dv-base i { position: absolute; left: 50%; top: 0; width: 110px; height: 5px; margin-left: -55px; border-radius: 0 0 7px 7px; background: #A7A9AF; }
.mac-mb { height: 22px; display: flex; align-items: center; gap: 14px; padding: 0 14px; background: rgba(255,255,255,.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); font-size: 11.5px; }
.mac-mb b { font-weight: 700; }
.mac-mb em { margin-left: auto; font-style: normal; }
.dv-desk { position: absolute; inset: 22px 0 38px; }
.dv-win { position: absolute; inset: 10px 12px 6px; display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 0 0 .5px rgba(0,0,0,.2), 0 18px 44px rgba(20,30,60,.24); opacity: 0; transform: scale(.985); transition: opacity .4s, transform .4s var(--ease); }
.dv-win.on { opacity: 1; transform: none; z-index: 1; }
.dv-wbar { flex: none; height: 28px; display: flex; align-items: center; gap: 7px; padding: 0 11px; background: #F6F6F6; border-bottom: 1px solid #E2E2E2; font-size: 11.5px; color: #4A4A4A; }
.dv-wbar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.dv-wbar i:nth-child(2) { background: #FEBC2E; } .dv-wbar i:nth-child(3) { background: #28C840; }
.dv-wbar span { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; margin-right: 50px; font-weight: 600; }
.wb-ic svg, .cap-ic svg { display: block; width: 15px; height: 15px; }
.cap-ic { display: inline-block; vertical-align: -3px; margin-right: 7px; }
.cap-ic svg { width: 17px; height: 17px; }
.dv-wbody { position: relative; flex: 1; min-height: 0; overflow: hidden; font-size: 11.5px; }

/* macOS notifications: your assistant's updates */
.mac-nt { position: absolute; z-index: 5; top: 30px; right: 12px; width: 300px; display: flex; gap: 10px; padding: 11px 12px; border-radius: 16px; background: rgba(246,246,248,.9); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); box-shadow: 0 0 0 .5px rgba(0,0,0,.12), 0 14px 34px rgba(20,30,60,.22); font-size: 11.5px; }
.mac-nt { opacity: 0; transform: translateX(24px); transition: opacity .4s, transform .5s var(--ease); pointer-events: none; }
.mac-nt.in { opacity: 1; transform: none; }
.nt-ic { flex: none; width: 30px; height: 30px; border-radius: 8px; background: #fff url(mark.svg) center / 22px no-repeat; box-shadow: 0 0 0 .5px rgba(0,0,0,.1); }
.nt-ic.wa { background: #25D366; }
.nt-tx { flex: 1; min-width: 0; display: grid; gap: 1px; }
.nt-tx small { font-size: 10.5px; color: #6E6E73; }
.nt-tx b { font-size: 12px; font-weight: 600; }
.nt-tx span { color: #3A3A3C; }

/* ---- the phone: an iPhone, in WhatsApp */
.dv-iph { width: 250px; height: 510px; padding: 9px; border-radius: 46px; background: #111; box-shadow: inset 0 0 0 1.5px #3A3A3E, 0 30px 60px rgba(20,30,60,.26); }
.dv-iscr { position: relative; height: 100%; display: flex; flex-direction: column; border-radius: 37px; overflow: hidden; background: #F6F6F6; }
.ios-sb { flex: none; position: relative; height: 38px; display: flex; align-items: center; justify-content: space-between; padding: 6px 22px 0 28px; font-size: 12.5px; }
.ios-isl { position: absolute; left: 50%; top: 8px; width: 74px; height: 21px; margin-left: -37px; border-radius: 12px; background: #000; }
.ios-r { display: flex; align-items: center; gap: 4px; }
.ios-r svg { width: 15px; height: 10px; }
.ios-bat { position: relative; width: 21px; height: 10px; border-radius: 3px; border: 1px solid rgba(0,0,0,.4); padding: 1px; }
.ios-bat i { display: block; width: 78%; height: 100%; border-radius: 1.5px; background: #000; }
.wa-hd { flex: none; display: flex; align-items: center; gap: 7px; padding: 4px 10px 7px 6px; border-bottom: .5px solid #D8D8D8; }
.wa-bk { color: #007AFF; width: 16px; height: 18px; display: grid; place-items: center; }
.wa-bk svg { width: 10px; height: 17px; }
.wa-av { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 600; }
.wa-nm { flex: 1; min-width: 0; display: grid; }
.wa-nm b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-nm small { font-size: 10px; color: #667781; }
.wa-act { display: flex; gap: 14px; color: #007AFF; }
.wa-act svg { width: 19px; height: 15px; }
.wa-bg { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #EFEAE2; }
.wa-ch { min-height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; padding: 8px 9px 10px; }
.wa-day { align-self: center; margin: 2px 0 8px; padding: 3px 9px; border-radius: 7px; background: #fff; font-size: 10.5px; color: #54656F; box-shadow: 0 1px .5px rgba(11,20,26,.1); }
.wa-m { display: flex; flex-direction: column; align-items: flex-start; margin-top: 3px; }
.wa-m.out { align-items: flex-end; }
.wa-b { position: relative; max-width: 182px; display: flex; flex-wrap: wrap; align-items: flex-end; column-gap: 8px; padding: 5px 8px 6px; border-radius: 9px; background: #fff; color: #111B21; font-size: 12.5px; line-height: 1.32; box-shadow: 0 1px .5px rgba(11,20,26,.13); }
.wa-m.in .wa-b { border-bottom-left-radius: 2px; }
.wa-m.out .wa-b { border-bottom-right-radius: 2px; background: #D9FDD3; }
.wa-m.in .wa-b::before, .wa-m.out .wa-b::before { content: ""; position: absolute; bottom: 0; width: 8px; height: 10px; background: inherit; }
.wa-m.in .wa-b::before { left: -6px; clip-path: path("M8 0 C8 6 6 9 0 10 L8 10 Z"); }
.wa-m.out .wa-b::before { right: -6px; clip-path: path("M0 0 C0 6 2 9 8 10 L0 10 Z"); }
.wa-t { white-space: pre-wrap; }
.wa-mt { margin-left: auto; margin-bottom: -2px; display: inline-flex; align-items: center; gap: 3px; font-size: 9.5px; color: #667781; white-space: nowrap; }
.wa-tk { width: 14px; height: 9px; color: #8696A0; transition: color .3s; }
.wa-m.read .wa-tk { color: #53BDEB; }
.wa-doc { flex-basis: 100%; display: flex; align-items: center; gap: 8px; margin: 1px 0 5px; padding: 7px 8px; border-radius: 6px; background: rgba(11,20,26,.05); }
.wa-doc i { flex: none; width: 24px; height: 29px; border-radius: 3px; background: #E2543E; color: #fff; font-style: normal; font-size: 7.5px; font-weight: 700; display: grid; place-items: end center; padding-bottom: 4px; }
.wa-doc b { display: block; font-size: 11.5px; font-weight: 600; }
.wa-doc small { font-size: 10px; color: #667781; }
.wa-btns { width: 182px; display: grid; gap: 2px; margin-top: 2px; }
.wa-qb { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 8px; border-radius: 8px; background: #fff; color: #0A7CBF; font-size: 12.5px; font-weight: 500; box-shadow: 0 1px .5px rgba(11,20,26,.13); transition: background .2s, transform .15s, color .3s; }
.wa-qb svg { width: 12px; height: 11px; }
.wa-qb.tp { background: #E2E2E2; transform: scale(.97); }
.wa-btns.used .wa-qb { color: #8696A0; background: #fff; transform: none; }
.wa-typing .wa-b { flex-wrap: nowrap; gap: 4px; padding: 9px 11px; }
.wa-typing i { width: 6px; height: 6px; border-radius: 50%; background: #A6ACB0; }
.wa-in { flex: none; display: flex; align-items: center; gap: 10px; padding: 7px 10px 24px; color: #007AFF; border-top: .5px solid #D8D8D8; }
.wa-ic svg { display: block; width: 19px; height: 17px; }
.wa-field { flex: 1; height: 28px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 .5px #D1D1D6; }
.ios-home { position: absolute; left: 50%; bottom: 7px; width: 92px; height: 4px; margin-left: -46px; border-radius: 3px; background: rgba(0,0,0,.85); }
.ios-ban { position: absolute; z-index: 6; top: 40px; left: 8px; right: 8px; display: flex; gap: 9px; padding: 9px 11px; border-radius: 18px; background: rgba(246,246,248,.92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: 0 10px 28px rgba(0,0,0,.18); font-size: 11.5px; opacity: 0; transform: translateY(-130%); transition: opacity .35s, transform .55s var(--ease); }
.ios-ban.in { opacity: 1; transform: none; }
.ios-ban .nt-ic { width: 28px; height: 28px; border-radius: 7px; }
.wa-sheet { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 64%; border-radius: 14px 14px 0 0; background: #fff; box-shadow: 0 -10px 30px rgba(0,0,0,.16); transform: translateY(102%); transition: transform .5s var(--ease); }
.wa-sheet.in { transform: none; }
.wa-sh-hd { display: grid; grid-template-columns: 50px 1fr 50px; align-items: center; padding: 12px 12px 10px; border-bottom: .5px solid #E2E2E2; font-size: 12.5px; }
.wa-sh-hd span:first-child { color: #007AFF; }
.wa-sh-hd b { text-align: center; font-weight: 600; }
.wa-sh-bd { padding: 12px; display: grid; gap: 10px; font-size: 12px; }
.fl-k { font-size: 11px; color: #667781; }
.fl-row { display: flex; flex-wrap: wrap; gap: 6px; }
.fl-o { padding: 7px 10px; border-radius: 9px; box-shadow: inset 0 0 0 1px #D1D7DB; transition: background .2s, box-shadow .2s, transform .15s; }
.fl-o.tp { transform: scale(.95); background: #F0F2F5; }
.fl-o.on { box-shadow: inset 0 0 0 2px #1DAA61; background: #E7F8EE; font-weight: 600; }
.fl-cta { margin-top: 4px; padding: 10px; border-radius: 20px; background: #1DAA61; color: #fff; text-align: center; font-weight: 600; transition: transform .15s; }
.fl-cta.tp { transform: scale(.97); }

/* small shared bits inside the tools */
.dv-flash { animation: dvflash .9s var(--ease); }
@keyframes dvflash { from { background-color: #FFF4C2; } }
.dv-typing::after { content: "|"; margin-left: 1px; color: #0A84FF; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 600; background: #F0F0F3; color: #45454A; white-space: nowrap; }
.pill.ok { background: #E3F4EA; color: #1E7B45; } .pill.info { background: #E6EEFC; color: #2453A6; } .pill.warn { background: #FCF1DA; color: #93600A; } .pill.bad { background: #FBE7E5; color: #B4332C; }

/* ---- Google Calendar, day view, with the waitlist sheet beside it */
.gc { height: 100%; display: grid; grid-template-rows: 40px 1fr; background: #fff; color: #3C4043; }
.gc-top { display: flex; align-items: center; gap: 10px; padding: 0 12px; border-bottom: 1px solid #E0E0E0; }
.gc-bg { width: 14px; height: 10px; border-block: 1.6px solid #5F6368; position: relative; }
.gc-bg::after { content: ""; position: absolute; left: 0; right: 0; top: 2.6px; height: 1.6px; background: #5F6368; }
.gc-ico { width: 22px; height: 22px; border-radius: 5px; box-shadow: inset 0 0 0 1.6px #5F6368; display: grid; place-items: center; font-size: 9.5px; font-weight: 700; color: #5F6368; padding-top: 2px; }
.gc-name { font-size: 15px; }
.gc-today { margin-left: 12px; padding: 4px 11px; border-radius: 4px; box-shadow: inset 0 0 0 1px #DADCE0; font-weight: 500; }
.gc-ch { color: #5F6368; font-size: 15px; letter-spacing: 6px; }
.gc-mo { font-size: 15px; }
.gc-mode { margin-left: auto; padding: 4px 11px; border-radius: 4px; box-shadow: inset 0 0 0 1px #DADCE0; }
.gc-main { display: grid; grid-template-columns: 1fr 156px; min-height: 0; }
.gc-cal { display: grid; grid-template-columns: 46px 1fr; grid-template-rows: 44px 1fr; min-height: 0; }
.gc-dh { grid-column: 2; display: flex; align-items: center; gap: 8px; padding: 0 10px; }
.gc-dh small { font-size: 10px; color: #1A73E8; font-weight: 600; }
.gc-dh b { width: 28px; height: 28px; border-radius: 50%; background: #1A73E8; color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 500; }
.gc-t { display: grid; grid-auto-rows: 26px; font-size: 9.5px; color: #70757A; text-align: right; padding-right: 7px; }
.gc-t span { transform: translateY(-6px); }
.gc-g { position: relative; border-left: 1px solid #DADCE0; background: repeating-linear-gradient(#fff 0 25px, #E8EAED 25px 26px); }
.ev { position: absolute; left: 4px; right: 10px; height: 22px; display: flex; align-items: center; gap: 6px; padding: 0 7px; border-radius: 4px; background: #039BE5; color: #fff; font-size: 10.5px; white-space: nowrap; overflow: hidden; transition: background-color .4s, color .4s; }
.ev b { font-weight: 600; }
.ev em { font-style: normal; margin-left: auto; opacity: .92; }
.ev.ok { background: #0B8043; }
.ev.warn { background: #F6BF26; color: #3C4043; }
.ev.x { background: #fff; color: #70757A; box-shadow: inset 0 0 0 1px #039BE5; }
.ev.x b { text-decoration: line-through; }
.gc-side { border-left: 1px solid #E0E0E0; padding: 10px; display: grid; align-content: start; gap: 6px; }
.gc-side h4 { margin: 0 0 2px; font-size: 11.5px; font-weight: 600; color: #3C4043; }
.gc-w { display: grid; gap: 1px; padding: 7px 8px; border-radius: 7px; box-shadow: inset 0 0 0 1px #E0E0E0; transition: box-shadow .3s, background .3s; }
.gc-w small { color: #70757A; }
.gc-w.pick { box-shadow: inset 0 0 0 2px #1A73E8; background: #E8F0FE; }
.gc-w.done { box-shadow: inset 0 0 0 1px #0B8043; background: #E6F4EA; }

/* ---- a dental practice system: claims and recalls */
.pm { height: 100%; display: grid; grid-template-columns: 118px 1fr; color: #1F2937; }
.pm.w-chk { grid-template-columns: 118px 1fr 178px; }
.pm-nav { display: grid; align-content: start; gap: 2px; padding: 12px 8px; background: #16324F; color: #BFD0E2; }
.pm-nav b { padding: 0 8px 10px; color: #fff; font-size: 12px; }
.pm-nav span { padding: 6px 8px; border-radius: 6px; }
.pm-nav .on { background: rgba(255,255,255,.14); color: #fff; font-weight: 600; }
.pm-main { padding: 12px 14px; min-width: 0; display: grid; align-content: start; gap: 10px; }
.pm-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pm-h b { font-size: 14px; font-weight: 600; }
.pm-h small { color: #6B7280; }
.pm-kv { display: grid; grid-template-columns: 104px 1fr; gap: 5px 10px; padding: 9px 10px; border-radius: 8px; background: #F8FAFC; }
.pm-kv span:nth-child(odd) { color: #6B7280; }
.pm-kv .bad { color: #B4332C; font-weight: 600; }
.pm-kv .ok { color: #1E7B45; font-weight: 600; }
.pm-t { display: grid; }
.pm-tr { display: grid; grid-template-columns: 60px 1fr 70px; gap: 10px; padding: 6px 2px; border-bottom: 1px solid #EEF0F3; align-items: center; }
.pm-t.rc .pm-tr { grid-template-columns: 1fr 74px 118px; }
.pm-tr.hd { color: #6B7280; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.pm-tr .pill { justify-self: start; }
.pm-chk { display: grid; align-content: start; gap: 8px; padding: 12px; background: #F7F9FC; border-left: 1px solid #E5E7EB; }
.pm-chk h4 { margin: 0; font-size: 11.5px; font-weight: 600; }
.ck { display: grid; grid-template-columns: 16px 1fr; gap: 7px; align-items: start; color: #6B7280; }
.ck::before { content: ""; width: 14px; height: 14px; margin-top: 1px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #CBD2DB; display: grid; place-items: center; font-size: 9px; font-weight: 700; }
.ck.ok { color: #1F2937; } .ck.ok::before { content: "✓"; background: #1E7B45; box-shadow: none; color: #fff; }
.ck.bad { color: #B4332C; } .ck.bad::before { content: "!"; background: #B4332C; box-shadow: none; color: #fff; }
.ck small { display: block; color: inherit; opacity: .85; }

/* ---- a claims portal */
.pt { height: 100%; display: grid; grid-template-rows: 36px 30px 1fr; color: #1F2937; }
.pt-top { display: flex; align-items: center; gap: 10px; padding: 0 14px; background: #0B3A5B; color: #fff; }
.pt-top b { font-size: 12.5px; }
.pt-top small { margin-left: auto; color: #A9C2D8; }
.pt-tabs { display: flex; gap: 18px; padding: 0 14px; border-bottom: 1px solid #E5E7EB; align-items: end; }
.pt-tabs span { padding-bottom: 7px; color: #6B7280; }
.pt-tabs .on { color: #0B3A5B; font-weight: 600; box-shadow: inset 0 -2px 0 #0B3A5B; }
.pt-t { padding: 6px 14px; display: grid; align-content: start; }
.pt-tr { display: grid; grid-template-columns: 70px 1fr 90px 120px; gap: 10px; padding: 8px 2px; border-bottom: 1px solid #EEF0F3; align-items: center; }
.pt-tr.hd { color: #6B7280; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.pt-tr small { display: block; color: #B4332C; }
.pt-due { margin: 8px 14px 0; padding: 8px 10px; border-radius: 8px; background: #F0F6FB; color: #0B3A5B; font-weight: 600; }
.pt-due:empty { display: none; }

/* ---- accounting (Zoho Books style): invoices and the bank feed */
.bk { height: 100%; display: grid; grid-template-columns: 120px 1fr; color: #21263C; font-size: 11px; }
.bk-nav { display: grid; align-content: start; gap: 1px; padding: 12px 0; background: #21263C; color: #AEB4C6; }
.bk-nav b { padding: 0 14px 10px; color: #fff; font-size: 12.5px; }
.bk-nav span { padding: 6px 14px; }
.bk-nav .on { background: #3B4058; color: #fff; box-shadow: inset 3px 0 0 #408DFB; }
.bk-main { display: grid; grid-template-rows: 40px auto 1fr; min-width: 0; }
.bk-top { display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border-bottom: 1px solid #ECECF1; }
.bk-top b { font-size: 13.5px; font-weight: 600; }
.bk-top span { padding: 5px 11px; border-radius: 5px; background: #408DFB; color: #fff; font-weight: 600; }
.bk-tr { display: grid; grid-template-columns: 54px 62px 1fr 128px 74px; gap: 8px; padding: 7px 14px; border-bottom: 1px solid #F0F0F4; align-items: center; }
.bk-tr.hd { background: #F9F9FB; color: #6C718A; font-size: 9.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.bk-tr span:nth-child(2) { color: #408DFB; }
.bk-tr span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.st { font-size: 9.5px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: #6C718A; }
.st.od { color: #E38A1E; } .st.paid { color: #22A35A; } .st.sent { color: #408DFB; } .st.rem { color: #7457E8; }
.bf { display: grid; grid-template-columns: 1fr 186px; min-height: 0; }
.bf-list { display: grid; align-content: start; }
.bf-tr { display: grid; grid-template-columns: 50px 1fr 84px; gap: 8px; padding: 8px 14px; border-bottom: 1px solid #F0F0F4; align-items: center; transition: background .3s; }
.bf-tr.hd { background: #F9F9FB; color: #6C718A; font-size: 9.5px; font-weight: 600; text-transform: uppercase; }
.bf-tr span:last-child { text-align: right; font-variant-numeric: tabular-nums; color: #22A35A; font-weight: 600; }
.bf-tr.sel { background: #EEF4FF; box-shadow: inset 3px 0 0 #408DFB; }
.bf-tr.done span:nth-child(2)::after { content: "  Matched"; color: #22A35A; font-weight: 600; font-size: 9.5px; }
.bf-side { padding: 12px; border-left: 1px solid #ECECF1; display: grid; align-content: start; gap: 8px; }
.bf-side h4 { margin: 0; font-size: 11.5px; font-weight: 600; }
.bf-m { display: grid; gap: 2px; padding: 9px; border-radius: 7px; box-shadow: inset 0 0 0 1px #DDE3F0; opacity: .35; transition: opacity .4s, box-shadow .4s; }
.bf-m.in { opacity: 1; box-shadow: inset 0 0 0 1.5px #408DFB; }
.bf-m small { color: #6C718A; }
.bf-btn { justify-self: start; margin-top: 4px; padding: 5px 12px; border-radius: 5px; background: #22A35A; color: #fff; font-weight: 600; }
.bf-m.done .bf-btn { background: #E3F4EA; color: #1E7B45; }

/* ---- mail (Outlook style) */
.ml { height: 100%; display: grid; grid-template-rows: 34px 1fr; }
.ml-top { display: flex; align-items: center; gap: 12px; padding: 0 12px; background: #0F6CBD; color: #fff; }
.ml-top b { font-weight: 600; }
.ml-top span { flex: 1; max-width: 260px; height: 22px; border-radius: 4px; background: rgba(255,255,255,.92); }
.ml-main { display: grid; grid-template-columns: 104px 214px 1fr; min-height: 0; }
.ml-fo { display: grid; align-content: start; gap: 1px; padding: 8px 6px; background: #F5F5F5; color: #424242; }
.ml-fo span { padding: 5px 8px; border-radius: 4px; }
.ml-fo .on { background: #E1E1E1; font-weight: 600; }
.ml-li { display: grid; align-content: start; border-right: 1px solid #E6E6E6; }
.ml-it { display: grid; gap: 1px; padding: 8px 10px 8px 12px; border-bottom: 1px solid #F0F0F0; color: #616161; }
.ml-it b { color: #242424; font-weight: 500; }
.ml-it.un b, .ml-it.un .ml-s { color: #0F6CBD; font-weight: 600; }
.ml-it.un { box-shadow: inset 3px 0 0 #0F6CBD; }
.ml-it.sel { background: #EBF3FC; }
.ml-s { color: #242424; }
.ml-rd { padding: 12px 14px; display: grid; align-content: start; gap: 9px; min-width: 0; color: #242424; }
.ml-rd h4 { margin: 0; font-size: 14px; font-weight: 600; }
.ml-fr { display: flex; align-items: center; gap: 8px; }
.ml-av { width: 28px; height: 28px; border-radius: 50%; background: #C19C00; color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 10.5px; }
.ml-fr small { display: block; color: #616161; }
.ml-at { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ml-at span { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 4px; box-shadow: inset 0 0 0 1px #E0E0E0; font-size: 10.5px; }
.ml-at span::before { content: "PDF"; flex: none; width: 22px; height: 26px; border-radius: 3px; background: #D13438; color: #fff; font-size: 7px; font-weight: 700; display: grid; place-items: end center; padding-bottom: 3px; }
.ml-at small { display: block; color: #616161; }
.ml-rd .ml-b { color: #424242; line-height: 1.5; }

/* ---- checking documents side by side (Preview style) */
.pd { height: 100%; display: grid; grid-template-rows: 1fr auto; background: #E5E5E8; }
.pd-pages { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 12px 14px 8px; min-height: 0; }
.pg { position: relative; overflow: hidden; display: grid; align-content: start; gap: 7px; padding: 12px 13px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18); font-size: 10.5px; color: #2B2B2B; }
.pg h5 { margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; }
.pg .pg-kv { display: grid; grid-template-columns: 74px 1fr; gap: 3px 8px; }
.pg .pg-kv span:nth-child(odd) { color: #777; }
.pg-t { display: grid; }
.pg-t div { display: grid; grid-template-columns: 1fr 50px 50px; gap: 6px; padding: 4px 0; border-bottom: 1px solid #EEE; }
.pg-t .hd { color: #777; font-size: 9.5px; font-weight: 600; text-transform: uppercase; }
.hl { border-radius: 3px; padding: 0 2px; transition: box-shadow .3s, background .3s; }
.hl.ok { box-shadow: 0 0 0 1.5px #1E9E55; background: rgba(30,158,85,.1); }
.hl.bad { box-shadow: 0 0 0 1.5px #D13438; background: rgba(209,52,56,.1); }
.pg.scan::after { content: ""; position: absolute; left: 0; right: 0; top: -30px; height: 30px; background: linear-gradient(transparent, rgba(10,132,255,.22)); animation: dvscan 1.4s ease-in-out; }
@keyframes dvscan { to { top: 100%; } }
.pd-flags { display: grid; gap: 5px; padding: 0 14px 12px; }
.pd-flags span { display: flex; gap: 8px; align-items: center; padding: 7px 10px; border-radius: 7px; background: #fff; box-shadow: inset 3px 0 0 #D13438; }
.pd-flags b { color: #D13438; }

/* ---- a customs declaration draft */
.dc { height: 100%; display: grid; grid-template-rows: 38px 1fr; color: #1F2937; }
.dc-top { display: flex; align-items: center; gap: 10px; padding: 0 14px; background: #0E5C63; color: #fff; }
.dc-top b { font-size: 12.5px; }
.dc-top small { margin-left: auto; padding: 2px 9px; border-radius: 999px; background: rgba(255,255,255,.18); }
.dc-f { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; padding: 14px; align-content: start; }
.dc-f label { display: grid; gap: 3px; color: #6B7280; font-size: 10.5px; }
.dc-f label span { min-height: 28px; padding: 6px 9px; border-radius: 6px; box-shadow: inset 0 0 0 1px #D9DEE5; color: #1F2937; font-size: 11.5px; }
.dc-f label.wide { grid-column: 1 / -1; }
.dc-f .warn span { box-shadow: inset 0 0 0 1.5px #E38A1E; background: #FFF8EC; }

/* ---- Excel */
.xl { height: 100%; display: grid; grid-template-rows: 26px 26px 24px 1fr; color: #212121; font-size: 11px; }
.xl-rb { display: flex; align-items: center; gap: 14px; padding: 0 12px; background: #F3F3F3; color: #424242; }
.xl-rb .on { color: #107C41; font-weight: 600; box-shadow: inset 0 -2px 0 #107C41; padding: 5px 0; }
.xl-tl { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-bottom: 1px solid #E1E1E1; color: #424242; }
.xl-tl i { width: 18px; height: 16px; border-radius: 3px; background: #ECECEC; }
.xl-tl span { padding: 2px 8px; border-radius: 3px; box-shadow: inset 0 0 0 1px #D6D6D6; }
.xl-fx { display: grid; grid-template-columns: 52px 22px 1fr; align-items: center; border-bottom: 1px solid #E1E1E1; }
.xl-fx span { padding: 0 8px; font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; }
.xl-fx span:first-child { border-right: 1px solid #E1E1E1; }
.xl-fx span:nth-child(2) { color: #888; font-style: italic; font-family: Georgia, serif; }
.xl-g { display: grid; grid-template-columns: 26px 82px 1fr 70px 76px 56px 72px; align-content: start; overflow: hidden; }
.xl-g > span { height: 22px; display: flex; align-items: center; padding: 0 6px; border-right: 1px solid #E6E6E6; border-bottom: 1px solid #E6E6E6; white-space: nowrap; overflow: hidden; }
.xl-g .ch { justify-content: center; background: #F5F5F5; color: #616161; font-size: 10px; }
.xl-g .rn { justify-content: center; background: #F5F5F5; color: #616161; font-size: 10px; padding: 0; }
.xl-g .h { font-weight: 600; background: #FAFAFA; }
.xl-g .n { justify-content: flex-end; font-variant-numeric: tabular-nums; }
.xl-g .hit { background: #E6F4EA; }
.xl-g .sel { box-shadow: inset 0 0 0 2px #107C41; background: #E6F4EA; }

/* ---- a quotation, as a PDF */
.qt { height: 100%; display: grid; place-items: start center; padding: 12px; background: #E5E5E8; overflow: hidden; }
.qt-pg { width: 360px; display: grid; gap: 8px; padding: 16px 18px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18); font-size: 10.5px; }
.qt-hd { display: flex; justify-content: space-between; align-items: flex-start; }
.qt-hd b { font-size: 12.5px; letter-spacing: .04em; }
.qt-hd small { display: block; color: #777; }
.qt-ti { font-size: 15px; font-weight: 700; letter-spacing: .08em; color: #0E5C63; }
.qt-t div { display: grid; grid-template-columns: 1fr 64px 62px 74px; gap: 6px; padding: 5px 0; border-bottom: 1px solid #EEE; }
.qt-t div span:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; }
.qt-t .hd { color: #777; font-size: 9.5px; font-weight: 600; text-transform: uppercase; }
.qt-tot { display: grid; grid-template-columns: 1fr 90px; gap: 3px 8px; justify-self: end; width: 210px; }
.qt-tot span:nth-child(even) { text-align: right; font-variant-numeric: tabular-nums; }
.qt-tot .g { font-weight: 700; padding-top: 4px; border-top: 1.5px solid #222; }

/* ---- small screens: each device on its own, phone first in reading order is not needed; the laptop leads */
.dv.dv-n { position: static; width: auto; height: auto; }
.dv-n .dv-fig { position: relative; left: auto; top: auto; margin-bottom: 24px; }
.dv-n .dv-sz { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.dv-n figcaption { position: absolute; left: 0; right: 0; bottom: 0; }
@media (prefers-reduced-motion: reduce) { .dv-win, .mac-nt, .ios-ban, .wa-sheet { transition: none; } }

/* last, so it wins: the ring on whatever just changed */
.dv .dv-now { box-shadow: 0 0 0 2px #0A84FF, 0 0 0 6px rgba(10,132,255,.16); border-radius: 6px; }
