html, body { width: 1400px; height: 960px; }
html, body, #root { background: #fff; } /* white like the page: semi-transparent alpha edges went grey in WebM */

/* Fixed coloured panel; the camera moves the browser inside it */
#panel { position: absolute; inset: 0; overflow: hidden;
          -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent), linear-gradient(180deg, transparent, #000 2%, #000 84%, transparent); -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent), linear-gradient(180deg, transparent, #000 2%, #000 84%, transparent); mask-composite: intersect; }
#world { position: absolute; left: 0; top: 0; width: 1400px; height: 960px; }

/* Browser */
.browser { position: absolute; left: 10px; top: 24px; width: 1380px; height: 1700px; overflow: hidden; border-radius: 22px 22px 0 0; background: #fff; box-shadow: none; font-size: 22px; }
.b-tabs { display: flex; align-items: flex-end; gap: 10px; height: 58px; padding: 0 18px; background: #dfe3eb; }
.b-tab { display: flex; align-items: center; gap: 12px; width: 300px; height: 48px; padding: 0 18px; border-radius: 16px 16px 0 0; background: #fff; font-size: 20px; font-weight: 500; }
.b-tab img { width: 22px; height: 22px; }
.b-tab em { margin-left: auto; color: #5f6368; font-style: normal; }
.b-ghost { width: 200px; height: 18px; margin: 0 0 15px 10px; border-radius: 9px; background: #cfd4dc; }
.b-win { margin: 0 6px 14px auto; color: #5f6368; font-size: 20px; letter-spacing: 10px; }
.b-bar { display: flex; align-items: center; gap: 20px; height: 56px; padding: 0 20px; border-bottom: 2px solid #eef0f3; }
.b-nav { color: #80868b; font-size: 24px; letter-spacing: 12px; }
.b-omni { flex: 1; padding: 9px 22px; border-radius: 22px; background: #f1f3f4; color: #444746; font-size: 19px; }

/* SnowFit app */
.app-bar { display: flex; align-items: center; gap: 16px; height: 64px; padding: 0 44px; background: #f8fafd; }
.app-bar .menu { color: #5f6368; font-size: 24px; }
.app-bar img { width: 34px; height: 34px; }
.app-bar b { font-size: 24px; font-weight: 500; }
.cal { margin-left: auto; padding: 5px 14px; border: 2px solid #f2b8b5; border-radius: 16px; font-size: 16px; font-weight: 600; }
.ic { width: 28px; height: 28px; color: #444746; }
.me { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #1a73e8; color: #fff; }
.me svg { width: 22px; height: 22px; }
.page { padding: 20px 44px 0; }
.pills { display: flex; gap: 10px; margin-bottom: 30px; }
.pills span { padding: 7px 16px; border-radius: 18px; background: #eef2f8; color: #444746; font-size: 16px; font-weight: 500; }
.pills .on { background: #c2e7ff; color: #0b3d91; font-weight: 600; }
h2 { font-family: "Outfit"; font-size: 42px; font-weight: 400; line-height: 1.1; }
.tabs { display: flex; gap: 36px; margin: 22px 0 22px; border-bottom: 2px solid #eef0f3; font-size: 19px; color: #444746; }
.tabs span { padding-bottom: 10px; }
.tabs .on { color: #0b57d0; font-weight: 600; box-shadow: inset 0 -3px 0 #0b57d0; }

.chips { display: flex; gap: 14px; margin-bottom: 22px; }
.chip3 { position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border: 2px solid #c4c7c5; border-radius: 10px; font-size: 18px; font-weight: 500; color: #444746; }
.chip3 .on { position: absolute; inset: -2px; border-radius: 10px; background: #c2e7ff; opacity: 0; }
.chip3 span { position: relative; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 22px; }
.tile { display: flex; flex-direction: column; gap: 2px; height: 116px; padding: 16px 22px; border-radius: 18px; }
.tile small { font-size: 17px; }
.tile strong { font-size: 34px; font-weight: 500; line-height: 1.2; }
.tile .sub { font-size: 14px; opacity: .85; }
.tile--blue { background: #d3e3fd; color: #0b3d91; }
.tile--green { background: #e6f4ea; color: #0d652d; }
.tile--amber { background: #fef7e0; color: #8a4b00; }
.tile--grey { background: #eef0f4; color: #444746; }

.th, .row { display: grid; grid-template-columns: 140px 1.5fr 1.2fr 120px 160px; align-items: center; gap: 28px; padding: 0 14px; }
.th { height: 40px; color: #5f6368; font-size: 15px; }
.lists { position: relative; height: 300px; }
.list { position: absolute; left: 0; right: 0; top: 0; }
.row { position: relative; height: 58px; border-top: 2px solid #f1f3f4; font-size: 18px; }
.row > :not(.row__hl) { position: relative; }
.row__hl { position: absolute; inset: 3px -6px; border-radius: 14px; background: #e8f0fe; opacity: 0; }
.inv { color: #444746; }
.mem { display: flex; align-items: center; gap: 12px; }
.mem i { width: 38px; height: 38px; flex-shrink: 0; }
.mem i img { display: block; width: 100%; height: 100%; border-radius: 50%; }
.nm { font-weight: 500; white-space: nowrap; }
.plan { color: #444746; white-space: nowrap; }
.amt { font-weight: 600; text-align: right; }
.st { justify-self: start; padding: 3px 12px; border-radius: 10px; font-style: normal; font-size: 16px; font-weight: 600; white-space: nowrap; }
.st--paid { background: #e6f4ea; color: #137333; }
.st--due { background: #fef7e0; color: #8a4b00; }

/* Bill sheet: the real invoice, sliding in from the right inside the browser */
.clipper { position: absolute; left: 0; right: 0; top: 114px; bottom: 0; overflow: hidden; }
.sheet { position: absolute; left: 270px; top: 86px; width: 840px; padding: 34px 38px 30px; border-radius: 26px; background: #fff; box-shadow: 0 4px 14px rgba(60,64,67,.14), 0 30px 70px rgba(60,64,67,.22); font-size: 16px; color: #3c4043; }
.iv-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.iv-logo { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #e3e3e3; flex-shrink: 0; }
.iv-logo img { width: 34px; height: 34px; }
.iv-head b { display: block; font-size: 22px; font-weight: 500; }
.iv-head small { display: block; margin-top: 4px; color: #444746; font-size: 13px; }
.iv-no { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.iv-no small { margin: 0; letter-spacing: .14em; color: #444746; }
.iv-no b { font-size: 22px; font-weight: 600; }
.iv-no span { color: #444746; font-size: 13px; }
.pp { padding: 3px 12px; border-radius: 9px; background: #fef7e0; color: #8a4b00; font-size: 13px; font-weight: 600; font-style: normal; }
.iv-meta { display: flex; justify-content: space-between; margin-bottom: 22px; }
.iv-meta div { display: flex; flex-direction: column; gap: 5px; }
.iv-meta small { color: #444746; font-size: 12px; letter-spacing: .1em; }
.iv-meta b { font-size: 18px; font-weight: 600; }
.iv-meta span { color: #444746; font-size: 13px; }
.iv-r { align-items: flex-end; }
.iv-r span { color: #3c4043 !important; font-size: 14px !important; margin-bottom: 8px; }
.iv-th, .iv-tr { display: grid; grid-template-columns: 30px 1fr 110px 120px 110px; gap: 10px; padding: 0 12px; }
.iv-th { align-items: center; height: 40px; background: #f1f3f8; color: #444746; font-size: 12px; letter-spacing: .08em; }
.iv-th span:nth-child(n+3), .iv-tr span:nth-child(n+3) { text-align: right; }
.iv-tr { padding-top: 14px; padding-bottom: 16px; border-bottom: 2px solid #e3e6ea; font-size: 15px; }
.iv-tr small { display: block; color: #444746; font-size: 13px; }
.iv-tr b { font-weight: 600; }
.iv-tot { width: 320px; margin: 14px 0 0 auto; font-size: 15px; }
.tr { display: flex; justify-content: space-between; align-items: center; height: 32px; padding: 0 8px; margin: 0 -8px; border-radius: 8px; }
.tr--big { height: 46px; margin: 4px -8px; border-top: 2px solid #e3e6ea; border-bottom: 2px solid #e3e6ea; font-size: 19px; font-weight: 600; }
.tr.b { font-weight: 600; }
.gr { color: #137333; } .am { color: #8a4b00; }
.iv-sub { margin: 22px 0 10px; font-size: 15px; font-weight: 500; }
.iv-ph, .iv-pr { display: grid; grid-template-columns: 1fr 1fr 1fr 110px; padding: 0 12px; }
.iv-ph { align-items: center; height: 38px; background: #f1f3f8; color: #444746; font-size: 12px; letter-spacing: .08em; }
.iv-pr { align-items: center; height: 44px; border-bottom: 2px solid #e3e6ea; font-size: 15px; }
.iv-pr span:nth-child(2) { color: #444746; }
.iv-ph span:last-child, .iv-pr span:last-child { text-align: right; }
.iv-qr { display: flex; align-items: center; gap: 18px; margin-top: 22px; padding: 16px; border-radius: 16px; background: #f1f3f8; }
.iv-code { width: 92px; height: 92px; padding: 6px; border-radius: 8px; background: #fff; flex-shrink: 0; }
.iv-code svg { display: block; width: 100%; height: 100%; }
.iv-qr div { display: flex; flex-direction: column; gap: 6px; }
.iv-qr b { font-size: 15px; font-weight: 600; }
.iv-qr span { color: #444746; font-size: 13px; }
.iv-foot { display: flex; justify-content: flex-end; gap: 16px; margin-top: 22px; font-size: 16px; }
.d-print { padding: 8px 22px; border: 2px solid #747775; border-radius: 22px; font-weight: 500; }
.done { padding: 8px 30px; border-radius: 22px; background: #0b57d0; color: #fff; font-weight: 600; }

.cursor { position: absolute; left: 0; top: 0; z-index: 50; }
.cursor svg { position: absolute; left: -6px; top: -4px; width: 42px; height: 42px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.cursor .tag { position: absolute; left: 30px; top: 38px; padding: 5px 14px; border-radius: 10px; background: #d93025; color: #fff; font-size: 22px; font-weight: 600; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.ripple { position: absolute; left: -28px; top: -28px; width: 56px; height: 56px; border-radius: 50%; background: rgba(217,48,37,.2); z-index: 49; }
