:root{font-family:Arial,'Segoe UI',sans-serif;color:#ffb7b1;background:#9698a4}*{box-sizing:border-box}body{margin:0}.app{max-width:400px;min-height:100vh;margin:auto;background:#320002;position:relative;padding-bottom:calc(96px + env(safe-area-inset-bottom))}.topbar{height:50px;background:#320002;color:#ffb8b5;position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:center;font-size:20px}.top-tool{position:absolute;right:15px;top:11px;background:#611e20;border:0;width:27px;height:28px;border-radius:6px;color:#ff5a5b;padding:4px}.top-tool svg{height:100%;width:100%}.agency-hero{height:340px;background:#320002 url('assets/promotion-bg.png') center top/100% 263px no-repeat;padding:14px 13px 0}.summary{text-align:center;color:#180000;height:98px}.summary-value{display:block;font-size:26px;font-weight:400;margin:4px 0 6px}.summary-pill{display:inline-block;padding:5px 14px;color:#ff6663;background:#612225;border-radius:22px;font-size:13px}.summary p{font-size:12px;margin:7px 0 0;color:#4f1714}.subordinates{background:#562324;border-radius:11px;overflow:hidden;color:#ffc1bd}.sub-head{height:42px;background:#ff444c;display:grid;grid-template-columns:1fr 1fr;text-align:center;align-items:center;color:white;font-size:14px}.sub-grid{display:grid;grid-template-columns:1fr 1fr;padding:10px 0 5px}.sub-col{text-align:center;padding:0 8px}.sub-col+.sub-col{border-left:1px solid #8b4345}.sub-stat{display:flex;flex-direction:column;align-items:center;min-height:38px;gap:1px;margin:0 0 2px}.sub-stat b{font-size:14px;font-weight:400;color:#ffaaa2}.sub-stat.green b{color:#31ec80}.sub-stat.yellow b{color:#ffde26}.sub-stat span{font-size:11.5px;line-height:1.13}.content{padding:7px 12px}.invitation-btn{width:calc(100% - 24px);display:block;margin:0 auto 13px;height:37px;border:0;border-radius:999px;background:linear-gradient(90deg,#ff8d8c,#ffbda8);color:#300300;font-size:16px;font-weight:bold}.menu-list{display:grid;gap:10px}.menu-row{width:100%;min-height:62px;display:flex;align-items:center;background:#542123;border:0;border-radius:10px;text-align:left;color:#ffbbb6;padding:0 16px;gap:10px;font-size:14px;cursor:pointer}.menu-row:active{background:#682b2e}.menu-icon{width:28px;height:28px;border-radius:7px;display:grid;place-items:center;flex:none;background:#95373b;color:#ff595b;font-size:22px;font-weight:bold}.menu-name{flex:1}.chevron{font-size:32px;line-height:1;color:#ffb6ac}.invite-code{font-size:12px;color:#ff9d99}.copy-symbol{font-size:23px;color:#ffaca4}.promotion-data{background:#542123;border-radius:8px;margin-top:10px;padding:12px 10px}.promotion-data h2{margin:0 0 12px;font-size:15px;color:#ffc0bc;display:flex;align-items:center;gap:8px}.data-icon{color:#ff565a}.data-grid{display:grid;grid-template-columns:1fr 1fr;row-gap:12px}.data-grid>div{min-height:49px;display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;padding:0 8px}.data-grid>div:nth-child(even){border-left:1px solid #854346}.data-grid b{font-size:16px;font-weight:400;color:#ffc1bd}.data-grid span{font-size:13px;color:#ff9f9b;line-height:1.5}.demo-note{font-size:11px;text-align:center;color:#a85e60;padding:12px 0}.app main{padding-bottom:4px}dialog{width:calc(100% - 40px);max-width:350px;background:#fff5f0;border:0;border-radius:18px;padding:22px;color:#602529;box-shadow:0 18px 80px #0005}dialog::backdrop{background:#0009}.dialog-heading{display:flex;justify-content:space-between;align-items:center}.dialog-heading strong{font-size:18px}.dialog-heading button{border:0;background:none;font-size:26px;color:#602529}.okay{background:#f46b70;color:white;padding:12px 18px;border:0;border-radius:8px}dialog p{font-size:14px;line-height:1.5}@media(max-width:360px){.sub-stat span{font-size:10px}.menu-row{padding:0 12px}.agency-hero{padding-left:10px;padding-right:10px}}

/* Fixed Customer Service Button */
.promotion-floating-support {
    position: fixed;
    right: max(12px, calc((100vw - 400px) / 2 + 12px));
    top: 55%;
    width: 60px;
    height: 60px;
    z-index: 50;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.promotion-floating-support img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,.2));
}


/* Promotion Navigation Button Fix */




/* Menu Icons */
.menu-icon {
    font-family: "Segoe UI Symbol", Arial, sans-serif;
    font-size: 19px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chevron {
    font-family: Arial, sans-serif;
    font-size: 30px;
    line-height: 1;
}


/* ZUNO PARTNER REWARDS BUTTON */
.zuno-partner-entry {
    background: #592326 !important;
    color: #ffffff !important;
    border-radius: 11px !important;
    min-height: 62px !important;
    margin: 10px 0 !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    gap: 12px !important;
}

.zuno-partner-entry .partner-icon {
    font-size: 24px !important;
}

.zuno-partner-entry .partner-arrow {
    color: #ffffff !important;
    font-size: 24px !important;
}

/* ZUNO PROMOTION LIGHT THEME V1 */

:root {
    color: #222831;
    background: #9698a4;
}

body {
    color: #222831;
}

.app {
    background: #f7f7ff;
}

.topbar {
    background: #ffffff;
    color: #20252c;
    border-bottom: 1px solid #eeeeF4;
}

.top-tool {
    background: #fff0f0;
    color: #fa5b63;
}

.agency-hero {
    background-color: #ff696d;
    background-image:
        url('assets/promotion-bg.png'),
        linear-gradient(110deg, #ff5b62, #ff9c95);
    background-position: center top, center;
    background-size: 100% 263px, cover;
    background-repeat: no-repeat;
    height: 340px;
}

.summary {
    color: #ffffff;
}

.summary-value {
    color: #ffffff;
}

.summary-pill {
    background: #ffffff;
    color: #ee7776;
}

.summary p {
    color: #fff6f5;
}

.subordinates {
    background: #ffffff;
    color: #252a30;
    border-radius: 12px;
}

.sub-head {
    background: #ff5b62;
    color: #ffffff;
}

.sub-col + .sub-col {
    border-left: 1px solid #f0f0f0;
}

.sub-stat b {
    color: #252a30;
}

.sub-stat.green b {
    color: #22b46d;
}

.sub-stat.yellow b {
    color: #e7b66b;
}

.sub-stat span {
    color: #292e35;
}

.content {
    background: #f7f7ff;
    padding-top: 14px;
}

.invitation-btn {
    background: linear-gradient(90deg, #ff5b62, #ff9b95);
    color: #ffffff;
    min-height: 42px;
}

.menu-list {
    gap: 12px;
}

.menu-row {
    background: #ffffff;
    color: #333940;
    border-radius: 12px;
    min-height: 66px;
    font-size: 15px;
}

.menu-row:active {
    background: #fff0f1;
}

.menu-icon {
    background: #ffe5e6;
    color: #f45e66;
}

.chevron {
    color: #29323a;
}

.invite-code {
    color: #747b84;
}

.copy-symbol {
    color: #7e8790;
}

.zuno-partner-entry {
    background: #ffffff !important;
    color: #333940 !important;
    min-height: 66px !important;
}

.zuno-partner-entry .partner-arrow {
    color: #29323a !important;
}

.promotion-data {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 12px;
    margin-top: 12px;
}

.promotion-data h2 {
    color: #252a30;
}

.data-icon {
    color: #ff5b62;
}

.data-grid > div:nth-child(even) {
    border-left: 1px solid #f0f0f0;
}

.data-grid b {
    color: #252a30;
}

.data-grid span {
    color: #828a94;
}

.demo-note {
    color: #969aa6;
}

dialog {
    background: #ffffff;
    color: #30343a;
}

.dialog-heading button {
    color: #30343a;
}


/* ZUNO PROMOTION LAYOUT V2 */

/* Coral ends behind statistics card, not below it */
.agency-hero {
    height: 255px;
    overflow: visible;
    position: relative;
    padding-left: 13px;
    padding-right: 13px;
    background-size: 100% 263px, cover;
}

/* Statistics card overlaps the coral background */
.subordinates {
    position: relative;
    z-index: 2;
    border-radius: 12px;
    overflow: hidden;
}

/* Reserve the overlapping card's actual height */
.content {
    padding-top: 104px;
}

/* Reference-like statistics spacing */
.sub-grid {
    padding-top: 10px;
    padding-bottom: 5px;
}

.sub-stat {
    min-height: 38px;
    margin-bottom: 2px;
}

/* Invitation button */
.invitation-btn {
    height: 42px;
    margin-bottom: 12px;
}

/* Menu cards */
.menu-list {
    gap: 10px;
}

.menu-row,
.zuno-partner-entry {
    min-height: 62px !important;
    border-radius: 11px !important;
}

/* Keep Promotion content within its container */
.app main {
    position: relative;
}

.top-tool .agency-reports-icon {
    width: 24px !important;
    height: 24px !important;
    display: block !important;
    object-fit: contain !important;
}


/* ZUNO WIN Promotion - SVG icon size and background fix */
.promotion-page .menu-icon,
.menu-list .menu-row .menu-icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    flex: 0 0 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.menu-list .menu-row .menu-icon img {
    width: 38px !important;
    height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    object-fit: contain !important;
    display: block !important;
}

/* Keep the Promotion data heading icon proportional */
.promotion-data .data-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px !important;
    background: transparent !important;
}

.promotion-data .data-icon img {
    width: 30px !important;
    height: 30px !important;
    object-fit: contain !important;
    display: block !important;
}
/* Agency header icon matching */
.topbar {
    background: #ffffff;
    color: #172033;
}

.top-tool {
    width: 35px;
    height: 35px;
    top: 7px;
    right: 13px;
    padding: 6px;
    background: #fff0f1;
    border-radius: 7px;
    display: grid;
    place-items: center;
}

.top-tool .agency-reports-icon {
    width: 22px !important;
    height: 22px !important;
    object-fit: contain;
}

