/* Android Home parity: source MobileBusinessHomeActivity.kt and rb_discover_*.xml. */
.rph-android-home{min-width:0;display:block;padding-bottom:28px;color:var(--text,#f9f7ff)}
.rph-android-home .rph-android-topline{display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:3px 2px 12px}
.rph-android-home .rph-android-topline h1{font-size:1.2rem;line-height:1.25;font-weight:800;margin:0}
.rph-android-home .rph-android-topline span{font-size:.74rem;color:#aaa7c4;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.rph-android-metrics-scroll,.rph-android-products-scroll{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#634d7b transparent;min-width:0;-webkit-overflow-scrolling:touch}
/* Fully invisible scrollbar: prevents vertical layout jumps on hover, focus or scroll. */
.rph-android-metrics-scroll{scrollbar-width:none;-ms-overflow-style:none;overflow-y:hidden}
.rph-android-metrics-scroll::-webkit-scrollbar{display:none;width:0;height:0}
.rph-android-metrics-scroll:is(:hover,:focus-within){scrollbar-width:none}
.rph-android-metrics-scroll:is(:hover,:focus-within)::-webkit-scrollbar{display:none;height:0}
.rph-android-metrics{display:flex;gap:9px;min-width:max-content;padding:5px 9px 9px 1px}
.rph-android-metric{width:216px;height:125px;flex:none;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;text-align:left;border:0;border-radius:20px;outline-offset:2px;cursor:pointer;color:#fff;padding:17px 19px;box-shadow:none;position:relative;overflow:hidden}
.rph-android-metric span{font-size:12px;letter-spacing:.08em;opacity:.86;font-weight:500;line-height:1.4}
.rph-android-metric strong{font-size:27px;line-height:1.12;font-weight:800;letter-spacing:-.025em;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rph-android-metric:hover,.rph-android-tile:hover{filter:brightness(1.07)}
.rph-android-metric:focus-visible,.rph-android-tile:focus-visible{outline:2px solid #f6d8ff;outline-offset:3px}
/* Gradient stop values copied from Android rb_discover_*.xml. */
.rph-gradient-sell{background:linear-gradient(90deg,#B44517 0%,#E87824 50%,#FFA545 100%)}
.rph-gradient-customers,.rph-gradient-payments{background:linear-gradient(90deg,#4C1F87,#AF32C8)}
.rph-gradient-orders{background:linear-gradient(90deg,#92205F 0%,#E33188 50%,#FF4F8F 100%)}
.rph-gradient-bookings{background:linear-gradient(90deg,#46691B 0%,#75A52C 50%,#ACD74D 100%)}
.rph-gradient-transactions{background:linear-gradient(90deg,#075A44 0%,#0E8064 50%,#21A778 100%)}
.rph-gradient-production{background:linear-gradient(90deg,#153F96 0%,#2265C0 50%,#378FF2 100%)}
.rph-android-section-head{margin:0;padding:17px 7px 8px;display:flex;align-items:center;justify-content:space-between}
.rph-android-section-head h2,.rph-android-discover-section>h2{font-size:16px;font-weight:800;margin:0;line-height:1.35}
.rph-android-products{display:flex;align-items:stretch;gap:10px;min-width:max-content;padding:2px 8px 8px 1px}
.rph-android-product{width:157px;height:167px;flex:none;display:flex;flex-direction:column;min-width:0;border-radius:16px;border:1px solid var(--border,#39304f);background:var(--surface,#202139);padding:11px;box-sizing:border-box}
.rph-android-product-img{width:100%;height:92px;flex:0 0 92px;background:#2b2941;overflow:hidden;border-radius:13px;display:grid;place-items:center;color:#caa8f7;font-size:1.5rem}
.rph-android-product-img img{height:100%;width:100%;object-fit:cover;display:block}
.rph-android-product strong{font-size:12px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:9px 0 3px}
.rph-android-product small{font-size:11px;color:#b5b4cc;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rph-android-empty{height:102px;min-width:min(520px,80vw);max-width:600px;display:flex;gap:13px;align-items:center;padding:16px;background:#22263d;border:1px solid #3c354b;border-radius:16px;box-sizing:border-box}
.rph-android-empty-image{height:54px;width:54px;display:grid;place-items:center;flex:none;background:linear-gradient(135deg,#503065,#302849);border-radius:14px;color:#f0b879;font-size:1.65rem}
.rph-android-empty strong{font-size:14px;line-height:1.35}
.rph-android-discover-section{margin-top:12px;width:100%;min-width:0}
.rph-android-discover-section>h2{padding:0 7px 6px}
.rph-android-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%;max-width:none;padding:3px}
.rph-android-tile{min-width:0;width:100%;height:108px;border:0;border-radius:18px;display:flex;align-items:center;gap:7px;padding:14px 12px 14px 8px;text-align:left;color:#fff;cursor:pointer;transition:filter .16s}
.rph-android-tile-icon{width:42px;height:42px;flex:none;background:#28223e;border-radius:14px;display:grid;place-items:center}
.rph-android-tile-icon img{width:23px;height:23px;object-fit:contain;filter:none}
.rph-icon-sell{background:#573c37}.rph-icon-bookings{background:#444a34}.rph-icon-orders{background:#483b45}.rph-icon-payments{background:#3e334c}.rph-icon-transactions{background:#374d43}.rph-icon-production{background:#3e4564}
.rph-android-tile strong{font-size:14px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rph-android-caveat{font-size:.7rem;color:#aba3c7;margin-top:13px}
.rph-android-dialog{border:1px solid #554369;border-radius:22px;background:#1d2036;color:white;box-shadow:0 25px 60px #0009;max-width:min(460px,calc(100vw - 32px));width:100%;padding:0}
.rph-android-dialog::backdrop{background:#090613bb}
.rph-dialog-inner{padding:22px;display:grid;gap:14px}.rph-dialog-inner h2{margin:0;font-size:1.15rem}.rph-dialog-inner p{margin:0;color:#bdb4d3;font-size:.84rem;line-height:1.5}
.rph-dialog-done{border:0;border-radius:12px;color:white;background:linear-gradient(90deg,#7434e5,#d74fa8);padding:13px;font-weight:800;cursor:pointer}
.rph-android-payments{display:grid;gap:6px;max-height:55vh;overflow:auto}.rph-android-pay-row{display:flex;justify-content:space-between;gap:8px;padding:12px;background:#25283e;border-radius:12px}.rph-android-pay-row>span{display:grid;gap:4px}.rph-android-pay-row small{font-size:.74rem;color:#b5aecd}
/* Container queries respond to the content panel, not the full browser viewport. */
.rph-android-home{container-type:inline-size}
@container (max-width:760px){.rph-android-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container (max-width:430px){.rph-android-tiles{grid-template-columns:repeat(1,minmax(0,1fr))}}
@media(max-width:600px){.rph-android-metric{width:190px;height:114px;padding:15px 17px}.rph-android-metric strong{font-size:24px}.rph-android-tile{padding:12px;gap:9px}}

.rph-android-empty-image img{width:28px;height:28px;filter:brightness(0) saturate(100%) invert(83%) sepia(27%) saturate(871%) hue-rotate(341deg)}
.rph-android-product-img img.rph-android-product-placeholder{width:24px;height:24px;object-fit:contain;opacity:.8}

/* V62.2: show explicitly when a day's aggregate is not reconciled. */

/* V78: Initials replace broken or absent product photos in Top 10. */
.rph-android-product-img .rph-product-initials{display:grid;place-items:center;width:100%;height:100%;font-size:clamp(20px,2vw,31px);font-weight:800;letter-spacing:.04em;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.22)}
.rph-android-product-img .rph-product-initials[hidden]{display:none!important}
.rph-android-product-img.rph-product-gradient-0{background:linear-gradient(130deg,#5e46bc,#ad4acc)}
.rph-android-product-img.rph-product-gradient-1{background:linear-gradient(130deg,#3b58ab,#763fc2)}
.rph-android-product-img.rph-product-gradient-2{background:linear-gradient(130deg,#ae497a,#834cc6)}
.rph-android-product-img.rph-product-gradient-3{background:linear-gradient(130deg,#337a91,#5e4eae)}
.rph-android-product-img.rph-product-gradient-4{background:linear-gradient(130deg,#8253bb,#a95d88)}
