/* The live previews: the real Domos screens, drawn at 1180×700 and scaled to fit */
.preview { min-width: 0; }
.pv-cap { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; min-height: 32px; }
.live { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--coral); white-space: nowrap; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: breathe 1.6s ease-in-out infinite; }
.pv-step { font-size: 18px; font-weight: 800; transition: opacity .25s, transform .25s; }
.pv-step.out { opacity: 0; transform: translateY(4px); }
.win { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(30, 42, 27, .1), 0 40px 80px -40px rgba(30, 42, 27, .6), 0 18px 36px -24px rgba(30, 42, 27, .35); }
.win-top { height: 34px; display: flex; align-items: center; gap: 12px; padding: 0 14px; background: #e6ebe0; border-bottom: 1px solid var(--line); }
.win-top .dots { display: flex; gap: 6px; } .win-top .dots i { width: 11px; height: 11px; border-radius: 50%; background: #ec6a5e; } .win-top .dots i + i { background: #f4bf4f; } .win-top .dots i + i + i { background: #61c554; }
.win-top .url { flex: 0 1 330px; margin: 0 auto; height: 22px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 7px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--muted); transform: translateX(-30px); }
.win-top .url i { font-size: 11px; }
@media (max-width: 640px) { .win-top { height: 28px; gap: 8px; padding: 0 10px; } .win-top .dots i { width: 8px; height: 8px; } .win-top .url { transform: none; height: 18px; font-size: 11px; } }
.win-body { position: relative; overflow: hidden; background: var(--bg); }

.app { position: absolute; left: 0; top: 0; width: 1180px; height: 700px; transform-origin: 0 0; display: flex; overflow: hidden; background: var(--bg); color: var(--ink); font: 400 14.85px/1.35 var(--font); text-align: left; }
.app .mono { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; letter-spacing: -.3px; }
.app .ic { font-size: inherit; }
.app .cor { color: var(--coral); } .app .sag { color: var(--sage); } .app .amb { color: var(--amber); } .app .fnt { color: var(--faint); } .app .mut { color: var(--muted); } .app .dp { color: var(--deep); }
.app .b { font-weight: 700; } .app .r { text-align: right; justify-content: flex-end; }
.app .sp { flex: 1; }
.app .rail-gap { width: 64px; flex: none; }
.app .rail { position: absolute; z-index: 8; left: 0; top: 0; bottom: 0; width: 64px; padding: 10px; display: flex; flex-direction: column; gap: 2px; overflow: hidden; color: #fff; background: linear-gradient(180deg, #2c4220 0%, #3a5428 55%, #263a1b 100%); transition: width .32s cubic-bezier(.3, .8, .3, 1), box-shadow .32s; }
.app .rail.open { width: 200px; box-shadow: 14px 0 30px -12px rgba(0, 0, 0, .5); }
.app .lbl { white-space: nowrap; transition: opacity .2s; }
.app .rail:not(.open) .lbl { opacity: 0; }
.app .rlogo { display: flex; align-items: center; gap: 9px; height: 46px; margin-bottom: 8px; padding-left: 5px; }
.app .rlogo img { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.app .rlogo b { display: block; font-size: 23px; font-weight: 800; line-height: 1; } .app .rlogo small { display: block; font-size: 9.5px; color: #c3d0b4; margin-top: 3px; }
.app .ri { position: relative; flex: none; display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 12px; border-radius: 10px; font-size: 14.3px; font-weight: 600; }
.app .ri .ic { font-size: 20px; }
.app .ri.sel { background: #4a6b34; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); font-weight: 700; }
.app .ri.sel::before { content: ""; position: absolute; left: 0; top: 11.5px; width: 3px; height: 15px; border-radius: 2px; background: #a9c489; }
.app .rgroup { position: relative; height: 30px; padding: 10px 12px 0; font-size: 11px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; color: #c3d0b4; }
.app .rail:not(.open) .rgroup::after { content: ""; position: absolute; left: 12px; right: 12px; top: 16px; height: 1px; background: #4c6a3a; }
.app .racct { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px 0 0 4px; border-top: 1px solid #3f5a2f; }
.app .racct i { width: 32px; height: 32px; flex: none; border-radius: 50%; background: #f3f5f3; color: #2c4220; font: 700 12.5px/32px var(--font); text-align: center; font-style: normal; }
.app .racct b { display: block; font-size: 13.2px; } .app .racct small { display: block; font-size: 11.5px; color: #c3d0b4; }
.app .main { flex: 1; min-width: 0; display: flex; flex-direction: column; position: relative; }
.app .topbar { height: 46px; flex: none; display: flex; align-items: center; gap: 16px; padding: 0 16px; background: #fff; border-bottom: 1px solid var(--line); }
.app .search { width: 320px; height: 32px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); color: var(--faint); font-size: 13.75px; white-space: nowrap; overflow: hidden; }
.app .search .ic { font-size: 17px; }
.app .tbi { position: relative; display: inline-flex; color: var(--muted); font-size: 22px; }
.app .badge { position: absolute; top: -6px; right: -8px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--coral); color: #fff; font: 700 11px/17px var(--font); text-align: center; font-style: normal; }
.app .tdate { display: inline-flex; align-items: center; gap: 6px; font-size: 13.2px; font-weight: 600; color: var(--muted); white-space: nowrap; } .app .tdate .ic { font-size: 15px; }
.app .thello { font-size: 13.2px; color: var(--faint); white-space: nowrap; }
.app .page { flex: 1; position: relative; overflow: hidden; }
.app .view { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.app .view.on { opacity: 1; visibility: visible; transition: opacity .35s; }
.app .chead { height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 24px 0 12px; }
.app .chead .bk { display: inline-flex; font-size: 20px; color: var(--muted); }
.app .chead b { font-size: 18.7px; font-weight: 700; white-space: nowrap; }
.app .chead .addr { margin-left: 8px; font-size: 13.75px; color: var(--muted); white-space: nowrap; }
.app .tabs { height: 40px; display: flex; align-items: stretch; gap: 18px; padding: 0 24px; border-bottom: 1px solid var(--line); }
.app .tab { position: relative; display: flex; align-items: center; gap: 6px; font-size: 14.85px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.app .tab.sel { color: var(--accent); }
.app .tab.sel::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent); }
.app .tab .badge { position: static; display: inline-block; }
.app .obtn, .app .fbtn { flex: none; height: 36px; padding: 0 13px; border-radius: 8px; display: inline-flex; align-items: center; gap: 7px; font-size: 14.85px; font-weight: 600; white-space: nowrap; transition: transform .15s, filter .15s; }
.app .obtn { background: #fff; color: var(--ink); border: 1px solid var(--line2); }
.app .fbtn { background: #4a6b34; color: #fff; border: 1px solid #4a6b34; }
.app .fbtn.red { background: var(--coral); border-color: var(--coral); }
.app .tbtn { font-size: 14.85px; font-weight: 600; color: var(--accent); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.app .obtn .ic, .app .fbtn .ic, .app .tbtn .ic { font-size: 17px; }
.app .pressed { transform: scale(.95); filter: brightness(.94); }
.app .spin { width: 14px; height: 14px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.app .sc { background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.app .pn { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.app .pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 8px; font-size: 12.65px; font-weight: 600; white-space: nowrap; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
.app .pill .ic { font-size: 13px; }
.app .spill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 12.65px; font-weight: 600; white-space: nowrap; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.app .spill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.app .fchip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 10px; border-radius: 8px; font-size: 13.75px; font-weight: 600; color: var(--muted); background: #fff; border: 1px solid var(--line); white-space: nowrap; }
.app .fchip em { font-style: normal; font-size: 12px; padding: 1px 7px; border-radius: 6px; background: var(--raised); }
.app .fchip.on { background: var(--soft); border-color: color-mix(in srgb, var(--accent) 50%, transparent); color: var(--deep); }
.app .fchip.on em { background: #4a6b34; color: #fff; }
.app .field { height: 38px; display: inline-flex; align-items: center; gap: 8px; padding: 0 11px; border-radius: 10px; background: #fff; border: 1px solid var(--line2); color: var(--faint); font-size: 14.3px; white-space: nowrap; }
.app .field .ic { font-size: 17px; }
.app .cap { font: 600 12.65px "JetBrains Mono", monospace; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin: 0 0 7px 2px; display: flex; align-items: baseline; gap: 10px; }
.app .cap small, .app .cap .tbtn { font-family: var(--font); letter-spacing: 0; text-transform: none; font-size: 13.2px; }
.app .cur { position: absolute; z-index: 40; left: 0; top: 0; width: 26px; height: 26px; margin: -3px 0 0 -5px; pointer-events: none; transition: transform .75s cubic-bezier(.45, .05, .2, 1); filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); }
.app .cur svg { width: 26px; height: 26px; transition: transform .12s; }
.app .cur.down svg { transform: scale(.82); }
.app .rip { position: absolute; z-index: 39; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(74, 107, 52, .35); pointer-events: none; animation: rip .55s ease-out forwards; }
@keyframes rip { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.app .atoast { position: absolute; z-index: 30; left: 50%; bottom: 24px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 14px; background: #1e2a1b; color: #fff; box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .55); opacity: 0; transform: translate(-50%, 18px); transition: opacity .3s, transform .35s cubic-bezier(.2, .9, .3, 1.2); white-space: nowrap; }
.app .atoast.on { opacity: 1; transform: translate(-50%, 0); }
.app .atoast i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #a9c489; color: #1e2a1b; font-size: 17px; }
.app .atoast b { display: block; font-size: 15.4px; } .app .atoast small { display: block; font-size: 13.75px; color: #c3d0b4; }
.app .new { animation: newrow 1.8s ease; }
@keyframes newrow { 0% { opacity: 0; transform: translateY(-10px); background: #fff4cf; } 25% { opacity: 1; transform: none; background: #fff4cf; } 100% { background: #fff; } }
.app .flash { animation: flash 1.4s ease; }
@keyframes flash { 0%, 40% { background: #fff4cf; } 100% { background: transparent; } }

/* the phone: Domos Living as the app draws it, at 390×844 */
.phone-wrap { width: 300px; margin: 0 auto; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-.8deg); } }
.phone { width: 414px; height: 868px; padding: 12px; border-radius: 64px; transform-origin: 0 0; position: relative; background: linear-gradient(145deg, #4a4f4b, #161917 38%, #2c302d 70%, #0f1110); box-shadow: inset 0 0 0 2px #5a605b, inset 0 0 0 6px #0b0d0c, 0 60px 90px -40px rgba(30, 42, 27, .75); }
.screen { position: relative; width: 390px; height: 844px; overflow: hidden; border-radius: 52px; background: #eef2ea; color: #1e2a1b; font: 400 17px/1.4 var(--font); text-align: left; }
.screen .ic { font-size: inherit; }
.ph-island { position: absolute; z-index: 9; top: 11px; left: 50%; width: 124px; height: 36px; margin-left: -62px; border-radius: 20px; background: #000; }
.ph-status { position: absolute; z-index: 8; top: 0; left: 0; right: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 4px 30px 0 48px; font: 600 17px Inter, sans-serif; }
.ph-status .si { display: flex; gap: 6px; align-items: center; } .ph-status svg { fill: #000; }
.ph-head { position: absolute; z-index: 5; top: 54px; left: 0; right: 0; height: 72px; display: flex; align-items: center; gap: 6px; padding: 0 16px 0 18px; background: #eef2ea; }
.ph-head b { font-size: 23px; font-weight: 800; letter-spacing: -.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-head .chev { font-size: 22px; color: #5b6857; flex: none; }
.ph-bell { position: relative; font-size: 27px; margin-right: 14px; display: inline-flex; color: #1e2a1b; }
.ph-bell em { position: absolute; top: -7px; right: -9px; width: 21px; height: 21px; border-radius: 50%; background: #c62828; color: #fff; font: 600 12px/21px Inter, sans-serif; text-align: center; font-style: normal; }
.ph-av { width: 48px; height: 48px; flex: none; border-radius: 50%; background: #dde8cf; color: #2c4220; font: 700 16px/48px var(--font); text-align: center; }
.ph-body { position: absolute; top: 126px; bottom: 92px; left: 0; right: 0; overflow: hidden; }
.ph-scr { position: absolute; inset: 0; padding: 6px 16px 30px; opacity: 0; visibility: hidden; transform: translateX(28px); transition: opacity .35s, transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s .45s; }
.ph-scr.on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .45s cubic-bezier(.2, .8, .2, 1); }
.ph-scr .inner { transition: transform 1.3s cubic-bezier(.45, .05, .2, 1); }
.ph-hello { font-size: 33px; font-weight: 800; letter-spacing: -.5px; margin: 8px 4px 0; }
.ph-role { font-size: 18px; color: #5b6857; margin: 0 4px 16px; }
.pc { position: relative; background: #fff; border: 1px solid #e2e8da; border-radius: 22px; padding: 18px 20px; margin-bottom: 12px; }
.pc.owe { background: #f8e1de; border-color: #f8e1de; }
.pc.owe .lb { display: flex; align-items: center; gap: 8px; color: #b3261e; font-weight: 700; font-size: 18px; }
.pc.owe .lb .ic { font-size: 22px; }
.pc.owe .am { font: 800 35px/1.15 Inter, sans-serif; letter-spacing: -.6px; margin: 12px 0 8px; }
.pc.owe small { font-size: 17px; color: #5b6857; }
.pc.owe .go { position: absolute; right: 22px; top: 50%; margin-top: -12px; font-size: 24px; color: #b3261e; }
.pc.apt { display: flex; gap: 16px; } .pc.apt > .ic { font-size: 28px; color: #2c4220; margin-top: 2px; }
.pc.apt b { display: block; font-size: 19px; font-weight: 800; } .pc.apt span { display: block; font-size: 16.5px; color: #5b6857; } .pc.apt span + span { color: #1e2a1b; }
.ph-h { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 6px 10px; font-size: 22px; font-weight: 800; }
.ph-h a { font-size: 18px; color: #4a6b34; }
.pc.news b.t { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 800; }
.pc.news .pin { color: #c98a1b; font-size: 20px; }
.pc .nd { display: flex; align-items: center; gap: 8px; margin: 8px 0 6px; font-size: 16.5px; font-weight: 700; color: #2c4220; }
.pc .nd .ic { font-size: 20px; }
.pc p { margin: 0; font-size: 16.5px; }
.pc > small { display: block; margin-top: 8px; font-size: 15px; color: #87937f; }
.pc.dim b.t { color: #5b6857; }
.chip2 { display: inline-flex; align-items: center; gap: 4px; padding: 4px 13px; border-radius: 99px; font-size: 15.5px; font-weight: 700; font-style: normal; white-space: nowrap; }
.chip2.sage { background: #ddf0e0; color: #2f7a43; } .chip2.plum { background: #ece5f7; color: #6b4fa8; } .chip2.amber { background: #f6ebcb; color: #7d5600; } .chip2.olive { background: #dde8cf; color: #2c4220; } .chip2.grey { background: #f2f6ee; color: #5b6857; }
.pc.bank .bt { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 800; margin-bottom: 12px; } .pc.bank .bt .ic { font-size: 24px; color: #2c4220; }
.pc .kv { position: relative; margin-bottom: 12px; padding-right: 34px; } .pc .kv small { display: block; font-size: 15.5px; color: #5b6857; }
.pc .kv b { font: 700 15.5px/1.5 Inter, sans-serif; letter-spacing: -.2px; } .pc .kv .ic { position: absolute; right: 0; top: 50%; margin-top: -11px; font-size: 22px; color: #5b6857; }
.pc.list { padding: 4px 20px; } .pc .li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0; } .pc .li + .li { border-top: 1px solid #e2e8da; }
.pc .li span { display: block; font-size: 17.5px; } .pc .li div b { display: block; font-size: 15.5px; color: #b3261e; font-weight: 700; }
.pc .li > b { font: 700 16px Inter, sans-serif; }
.pc.iss .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; } .pc.iss .top b { font-size: 19px; font-weight: 800; line-height: 1.25; }
.pc.iss .tags { display: flex; align-items: center; gap: 12px; margin: 10px 0; font-size: 16.5px; color: #5b6857; }
.ph-upd { text-align: center; color: #87937f; font-size: 16px; margin-top: 24px; }
.fab2 { position: absolute; z-index: 6; right: 16px; bottom: 106px; display: flex; align-items: center; gap: 12px; padding: 17px 22px; border-radius: 20px; background: #c8eba5; font-size: 18px; box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .35); opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .35s; }
.fab2 .ic { font-size: 24px; } .fab2.on { opacity: 1; transform: none; }
.ph-nav { position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; height: 92px; display: grid; grid-template-columns: repeat(4, 1fr); padding: 10px 4px 24px; background: #fff; }
.ph-nav .it { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 15px; color: #5b6857; }
.ph-nav .pb { width: 66px; height: 34px; border-radius: 17px; display: grid; place-items: center; font-size: 25px; transition: background .3s; }
.ph-nav .it.on { color: #1e2a1b; font-weight: 700; } .ph-nav .it.on .pb { background: #dde8cf; }
.ph-homebar { position: absolute; z-index: 9; left: 50%; bottom: 8px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: #111; }
.ph-push { position: absolute; z-index: 10; top: 56px; left: 10px; right: 10px; display: flex; gap: 12px; padding: 13px 15px; border-radius: 24px; background: rgba(250, 250, 250, .95); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4); transform: translateY(-140%); transition: transform .5s cubic-bezier(.2, .9, .25, 1.1); }
.ph-push.on { transform: none; }
.ph-push img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.ph-push .pt { display: flex; justify-content: space-between; font-size: 14px; color: #6b6b6b; } .ph-push .pt b { color: #000; font-size: 15px; text-transform: uppercase; letter-spacing: .3px; }
.ph-push > div { flex: 1; min-width: 0; font-size: 16px; line-height: 1.3; } .ph-push > div > b { display: block; }
.ph-tap { position: absolute; z-index: 11; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; background: rgba(30, 42, 27, .2); pointer-events: none; animation: rip .55s ease-out forwards; }
