.resource-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px;margin:16px 0}.resource-partner-card{padding:20px}.resource-partner-card header{display:flex;align-items:center;gap:12px}.resource-partner-card header>div:nth-child(2){flex:1}.resource-partner-card h2,.resource-partner-card p{margin:0}.resource-partner-card p{color:var(--muted,#687386);margin-top:4px}.resource-avatar{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;overflow:hidden;color:white;font-weight:800;background:linear-gradient(145deg,#087dff,#62d0fa)}.resource-avatar img{width:100%;height:100%;object-fit:cover}.resource-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:18px 0}.resource-metrics div{padding:14px 8px;border:1px solid rgba(135,158,191,.18);border-radius:16px;background:rgba(244,249,255,.72);text-align:center}.resource-metrics b,.resource-metrics span{display:block}.resource-metrics b{font-size:18px}.resource-metrics span{font-size:12px;color:#758196;margin-top:5px}.resource-partner-card footer{display:flex;justify-content:space-between;align-items:center;gap:12px}.resource-money{font-size:20px;color:#087dff}.resource-action-card,.resource-bind-card{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(320px,1.2fr);align-items:center;gap:24px;margin-top:16px}.resource-action-card h2,.resource-bind-card h2{margin:3px 0 5px}.resource-action-card small,.resource-bind-card small{font-weight:800;color:#087dff;letter-spacing:.12em}.resource-action-card form{display:flex;gap:10px}.resource-action-card select{flex:1}.resource-request-list>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid rgba(120,138,164,.16)}.resource-request-list span,.resource-request-list small{display:block}.resource-request-list small{color:#778196;margin-top:4px}.resource-request-list form{display:flex;gap:8px}.resource-tier-list{display:grid;gap:12px}.resource-tier-row{display:grid;grid-template-columns:1.3fr repeat(4,1fr) auto auto;align-items:end;gap:10px;padding:14px;border:1px solid rgba(130,151,183,.17);border-radius:18px;background:rgba(247,250,255,.7)}.resource-tier-row label{font-size:12px;color:#6c7688}.resource-tier-row input{margin-top:5px}.resource-tier-row .check-label{align-self:center}.resource-settings-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.settlement-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.settlement-summary-grid>div{padding:16px;border-radius:18px;background:rgba(242,248,255,.8);border:1px solid rgba(111,152,214,.16)}.settlement-summary-grid b,.settlement-summary-grid span{display:block}.settlement-summary-grid b{font-size:21px}.settlement-summary-grid span{font-size:12px;color:#6f7c91;margin-top:5px}.risk-pill{display:inline-flex;padding:5px 10px;border-radius:999px;font-size:12px;background:#e8f7ee;color:#18884b}.risk-pill.warning{background:#fff3d8;color:#9a6600}.risk-pill.critical{background:#ffe4e4;color:#ca3030}
.resource-mobile-page{padding-bottom:96px}.resource-invite-card{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,rgba(34,143,255,.9),rgba(89,205,244,.78));color:white}.resource-invite-card small,.resource-invite-card strong,.resource-invite-card span{display:block}.resource-invite-card strong{font-size:30px;letter-spacing:.16em;margin:7px 0}.resource-invite-mark{width:54px;height:54px;border-radius:18px;display:grid;place-items:center;background:rgba(255,255,255,.24);font-size:22px;font-weight:800}.resource-progress-card nav{display:flex;justify-content:space-between;align-items:center}.resource-progress-main{text-align:center;padding:18px 0 10px}.resource-progress-main small,.resource-progress-main strong,.resource-progress-main span{display:block}.resource-progress-main strong{font-size:38px;color:#087dff;margin:4px 0}.resource-progress-bar{height:8px;background:#e8eef8;border-radius:99px;overflow:hidden}.resource-progress-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#147eff,#63cdf6)}.resource-mobile-metrics{display:grid;grid-template-columns:repeat(2,1fr);margin:16px 0;border:1px solid rgba(120,145,181,.15);border-radius:16px;overflow:hidden}.resource-mobile-metrics div{text-align:center;padding:13px;border:solid rgba(120,145,181,.13);border-width:0 1px 1px 0}.resource-mobile-metrics b,.resource-mobile-metrics span{display:block}.resource-mobile-metrics span{font-size:12px;color:#798397;margin-top:4px}.resource-rebate-total{display:flex;justify-content:space-between;align-items:center;padding:15px;border-radius:16px;background:#fff6df;color:#7a5800}.resource-rebate-total span,.resource-rebate-total small{display:block}.resource-rebate-total small{font-size:11px;opacity:.7;margin-top:3px}.resource-rebate-total strong{font-size:23px;color:#ff7b00}.special-progress{display:grid;gap:6px;margin-top:14px;padding:14px;border-radius:16px;background:#f5efff;color:#61429b}.resource-boss-list>div,.resource-history a{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid rgba(120,140,165,.15);color:inherit;text-decoration:none}.resource-boss-list span,.resource-boss-list small,.resource-boss-list strong,.resource-history span,.resource-history small{display:block}.resource-boss-list small,.resource-history small{font-size:12px;color:#7c8798;margin-top:3px}.resource-boss-list>div>strong{text-align:right}.resource-info-card{text-align:center}.resource-info-card .resource-invite-mark{margin:0 auto;color:#087dff;background:#e9f3ff}.resource-info-card ul{text-align:left;line-height:1.9;color:#657286}.binding-card form{display:grid;gap:12px}.bound-partner span,.bound-partner strong,.bound-partner small,.binding-pending strong,.binding-pending small{display:block}.bound-partner strong{font-size:24px;margin:6px 0;color:#087dff}
@media(max-width:800px){.resource-card-grid{grid-template-columns:1fr}.resource-action-card,.resource-bind-card{grid-template-columns:1fr}.resource-action-card form,.resource-request-list>div,.resource-request-list form{align-items:stretch;flex-direction:column}.resource-metrics{grid-template-columns:repeat(2,1fr)}.resource-tier-row{grid-template-columns:1fr 1fr}.resource-settings-grid,.settlement-summary-grid{grid-template-columns:1fr 1fr}.resource-tier-row .primary-button,.resource-tier-row .danger-button{width:100%}}
/* Invite and redeem */
.invite-redeem-page{max-width:720px!important;margin:0 auto}.redeem-command-card{position:relative;isolation:isolate;overflow:hidden;padding:18px!important;border:1px solid rgba(255,255,255,.8)!important;background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(225,245,249,.72))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 15px 34px rgba(38,111,147,.12)!important}.redeem-command-card:after{content:"";position:absolute;z-index:-1;right:-70px;top:-95px;width:230px;height:230px;border-radius:50%;background:radial-gradient(circle,rgba(70,190,215,.25),transparent 68%)}.redeem-command-heading{display:grid;grid-template-columns:50px minmax(0,1fr) auto;gap:12px;align-items:center}.redeem-command-icon{width:50px;height:50px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(145deg,#47b6cd,#1c829e);box-shadow:0 9px 20px rgba(28,130,158,.22)}.redeem-command-icon svg{width:29px;height:29px;fill:none;stroke:#fff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.redeem-command-heading small{display:block;color:#168fa5;font-size:8px;font-weight:850;letter-spacing:.14em}.redeem-command-heading h2{margin:2px 0 0;font-size:18px;letter-spacing:-.02em}.redeem-command-heading p{margin:4px 0 0;color:var(--sub);font-size:10px}.redeem-command-heading>i{padding:5px 8px;border-radius:999px;background:rgba(22,143,165,.09);color:#168fa5;font-size:8px;font-style:normal;font-weight:750}.redeem-code-form{display:grid;grid-template-columns:minmax(0,1fr) 118px;gap:9px;align-items:end;margin-top:17px}.redeem-code-form label{display:grid;gap:6px;color:var(--sub);font-size:9px;font-weight:650}.redeem-input-shell{min-height:50px;display:flex;align-items:center;overflow:hidden;border:1px solid rgba(40,125,155,.16);border-radius:16px;background:rgba(255,255,255,.72);box-shadow:inset 0 1px 0 #fff}.redeem-input-shell>b{padding-left:14px;color:#53a9bc;font-size:17px}.redeem-code-form input{width:100%;min-width:0;min-height:48px;padding:0 12px 0 7px;border:0!important;outline:0;background:transparent!important;font-size:16px;font-weight:780;letter-spacing:.09em;text-transform:uppercase;box-shadow:none!important}.redeem-code-form>button{min-height:50px;display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:16px;background:linear-gradient(135deg,#279fc0,#147e9e);color:#fff;font-weight:800;box-shadow:0 9px 20px rgba(20,126,158,.2);cursor:pointer}.redeem-code-form>button i{font-size:17px;font-style:normal;font-weight:400}.redeem-reward-types{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.redeem-reward-types>span{display:flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid rgba(40,125,155,.09);border-radius:999px;background:rgba(255,255,255,.46);color:#657787;font-size:8px}.redeem-reward-types i{width:17px;height:17px;display:grid;place-items:center;border-radius:6px;background:#e8f7fa;color:#168fa5;font-size:7px;font-style:normal;font-weight:850}.coupon-wallet,.invite-binding-card,.redemption-history{margin-top:10px;padding:15px!important}.coupon-wallet>header,.invite-binding-card>header{display:flex;align-items:center;justify-content:space-between}.coupon-wallet header small,.invite-binding-card header small{color:#168fa5;font-size:8px;font-weight:800;letter-spacing:.12em}.coupon-wallet h2,.invite-binding-card h2{margin:2px 0 0;font-size:16px}.coupon-wallet header>b,.invite-binding-card header>b{padding:5px 8px;border-radius:999px;background:rgba(22,143,165,.09);color:#168fa5;font-size:9px}.coupon-card-list{display:grid;gap:7px;margin-top:11px}.coupon-card-list article{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid rgba(61,72,91,.08);border-radius:14px;background:rgba(255,255,255,.52)}.coupon-card-list article>span{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#e9f7fa;color:#168fa5;font-size:11px;font-weight:800}.coupon-card-list strong,.coupon-card-list small{display:block}.coupon-card-list strong{font-size:12px}.coupon-card-list small{margin-top:3px;color:var(--sub);font-size:8px}.coupon-wallet>p,.invite-binding-card>p{margin:9px 0 0;color:var(--sub);font-size:9px}.invite-binding-card form{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end;margin-top:10px}.invite-binding-card label{display:grid;gap:5px;color:var(--sub);font-size:9px}.invite-binding-card input{min-height:46px;padding:0 12px;border:1px solid var(--line);border-radius:14px}.invite-binding-card button{min-height:46px;padding-inline:15px}.redemption-history h2{margin:0 0 7px;font-size:16px}.redemption-history>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.redemption-history>div:last-child{border:0}.redemption-history strong,.redemption-history small{display:block}.redemption-history strong{font-size:11px}.redemption-history small{margin-top:3px;color:var(--sub);font-size:8px}.redemption-history>div>b{color:#168fa5;font-size:11px;text-align:right}
.redemption-create-card{margin-bottom:14px}.redemption-create-card h2{margin-top:0}.redemption-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.redemption-admin-card{display:grid;gap:13px;padding:17px!important}.redemption-admin-card.disabled{opacity:.68}.redemption-admin-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.redemption-admin-card header small{color:var(--apple-sub);font-size:10px}.redemption-admin-card header h2{margin:4px 0 0;font-size:21px;letter-spacing:.04em}.redemption-admin-reward{padding:13px;border-radius:14px;background:linear-gradient(135deg,#eef8fb,#f8fcfd)}.redemption-admin-reward span,.redemption-admin-reward strong{display:block}.redemption-admin-reward span{color:var(--apple-sub);font-size:9px}.redemption-admin-reward strong{margin-top:4px;color:#168fa5;font-size:17px}.redemption-admin-meta{display:flex;justify-content:space-between;gap:10px;color:var(--apple-sub);font-size:10px}.redemption-admin-card>footer{display:flex;gap:8px}.redemption-admin-card>footer form{flex:1}.redemption-admin-card>footer button{width:100%}
@media(max-width:720px){.redemption-admin-grid{grid-template-columns:1fr}.invite-binding-card form{grid-template-columns:1fr}.redemption-admin-meta{display:grid}.redemption-code-form .mobile-primary{width:100%}}@media(max-width:460px){.redeem-command-card{padding:15px!important}.redeem-command-heading{grid-template-columns:46px minmax(0,1fr)}.redeem-command-icon{width:46px;height:46px}.redeem-command-heading>i{display:none}.redeem-code-form{grid-template-columns:1fr}.redeem-code-form>button{min-height:48px}.redeem-reward-types{justify-content:center}.redeem-command-heading p{font-size:9px}}

/* Resource rebate tier editor */
.resource-tier-page{display:grid;gap:18px;max-width:1540px;margin:0 auto;padding-bottom:42px}.tier-page-heading{align-items:flex-end}.tier-page-heading h1{margin:6px 0 5px}.tier-eyebrow{margin:16px 0 0!important;color:#087dff!important;font-size:10px!important;font-weight:850;letter-spacing:.16em}.tier-count{min-width:132px;padding:13px 16px;border:1px solid rgba(68,132,224,.13);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.88),rgba(232,243,255,.7));text-align:center;box-shadow:0 10px 28px rgba(62,100,150,.08)}.tier-count strong,.tier-count span{display:block}.tier-count strong{color:#087dff;font-size:26px}.tier-count span{margin-top:2px;color:#728096;font-size:11px}.resource-cost-card,.tier-create-card,.rebate-tier-card{border:1px solid rgba(126,151,188,.14)!important;background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(243,248,255,.78))!important;box-shadow:0 14px 38px rgba(55,84,126,.08)!important}.resource-cost-card{padding:20px!important}.resource-section-title{display:flex;align-items:center;gap:11px}.resource-section-title h2,.resource-section-title p{margin:0}.resource-section-title h2{font-size:20px}.resource-section-title p{margin-top:3px;color:#778399;font-size:11px}.section-number{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border-radius:11px;background:#eaf3ff;color:#087dff;font-size:11px;font-weight:850}.tier-settings-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:17px}.tier-settings-grid label,.tier-create-form>label,.tier-edit-grid>label{display:grid;gap:6px;color:#657187;font-size:11px;font-weight:700}.tier-settings-grid input,.tier-create-form input,.tier-edit-grid input{width:100%;min-width:0;height:44px;padding:0 13px;border:1px solid rgba(108,128,158,.18);border-radius:13px;background:rgba(255,255,255,.74);color:#1e2735;font-weight:700;box-sizing:border-box}.tier-settings-grid input:focus,.tier-create-form input:focus,.tier-edit-grid input:focus{border-color:#5b9fff;outline:0;box-shadow:0 0 0 3px rgba(37,126,255,.1)}.field-with-unit{position:relative}.field-with-unit input{padding-right:42px}.field-with-unit>b{position:absolute;right:13px;top:50%;transform:translateY(-50%);color:#8490a4;font-size:11px}.tier-wide-action{min-height:44px;align-self:end}.tier-settings-grid .tier-wide-action{grid-column:1/-1;width:100%}.tier-create-card{padding:0!important;overflow:hidden}.tier-create-card>summary{display:flex;align-items:center;gap:11px;padding:17px 20px;cursor:pointer;list-style:none}.tier-create-card>summary::-webkit-details-marker{display:none}.tier-create-card>summary div{flex:1}.tier-create-card>summary strong,.tier-create-card>summary small{display:block}.tier-create-card>summary strong{font-size:16px}.tier-create-card>summary small{margin-top:3px;color:#7c8799;font-size:10px}.tier-create-card>summary>i{padding:6px 10px;border-radius:999px;background:#eef5ff;color:#087dff;font-size:10px;font-style:normal;font-weight:700}.tier-create-card[open]>summary>i{font-size:0}.tier-create-card[open]>summary>i:after{content:'收起';font-size:10px}.tier-create-form{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;padding:4px 20px 20px;border-top:1px solid rgba(112,137,174,.12);padding-top:18px}.tier-create-switches{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.tier-create-form>.tier-wide-action{grid-column:1/-1}.tier-list-section{display:grid;gap:12px}.tier-list-title{padding:0 4px}.rebate-tier-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.rebate-tier-card{display:grid;gap:15px;padding:18px!important;overflow:hidden;transition:.2s ease}.rebate-tier-card:hover{transform:translateY(-1px);box-shadow:0 18px 42px rgba(55,84,126,.11)!important}.rebate-tier-card.is-disabled{opacity:.7;filter:saturate(.72)}.rebate-tier-card>header{display:flex;align-items:center;gap:12px;padding-bottom:13px;border-bottom:1px solid rgba(107,131,167,.12)}.tier-rate-orb{width:63px;height:63px;display:grid;place-content:center;flex:0 0 63px;border-radius:20px;background:linear-gradient(145deg,#e4f2ff,#f6fbff);color:#087dff;text-align:center;box-shadow:inset 0 0 0 1px rgba(50,139,255,.12)}.tier-rate-orb strong,.tier-rate-orb span{display:block}.tier-rate-orb strong{font-size:18px;line-height:1}.tier-rate-orb span{margin-top:5px;color:#7b899d;font-size:9px}.tier-card-name{min-width:0;flex:1}.tier-card-name small{color:#087dff;font-size:9px;font-weight:850;letter-spacing:.1em}.tier-card-name h3{margin:3px 0 2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:18px}.tier-card-name p{margin:0;color:#7c879a;font-size:10px}.tier-status-pill{padding:6px 9px;border-radius:999px;font-size:9px;font-weight:800}.tier-status-pill.active{background:#e5f7ec;color:#15914d}.tier-status-pill.inactive{background:#edf0f4;color:#7f8998}.tier-card-form{display:grid;gap:12px}.tier-edit-grid{display:grid;grid-template-columns:1.35fr repeat(2,1fr);gap:10px}.tier-edit-grid .tier-name-field{grid-column:span 2}.tier-rule-switches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tier-switch{display:grid!important;grid-template-columns:35px minmax(0,1fr);align-items:center;gap:9px;min-height:54px;padding:8px 10px;border:1px solid rgba(105,130,166,.12);border-radius:14px;background:rgba(248,251,255,.74);cursor:pointer;box-sizing:border-box}.tier-switch>input{position:absolute;width:1px!important;height:1px!important;opacity:0;pointer-events:none}.tier-switch>i{position:relative;width:34px;height:20px;border-radius:999px;background:#d8dfe9;transition:.18s}.tier-switch>i:after{content:'';position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(36,55,80,.2);transition:.18s}.tier-switch>input:checked+i{background:linear-gradient(135deg,#1684ff,#4ab8ff)}.tier-switch>input:checked+i:after{transform:translateX(14px)}.tier-switch span,.tier-switch b,.tier-switch small{display:block;min-width:0}.tier-switch b{font-size:10px;color:#2c3544}.tier-switch small{margin-top:2px;color:#8791a2;font-size:8px;line-height:1.25}.tier-card-actions{display:flex;gap:9px;padding-top:13px;border-top:1px solid rgba(107,131,167,.12)}.tier-card-actions>button{flex:1}.tier-card-actions>form{margin:0}.tier-card-actions .danger-button{min-height:42px;padding:0 16px}.tier-card-actions .primary-button{min-height:42px}.rebate-tier-grid>.empty-state{grid-column:1/-1;text-align:center}.rebate-tier-grid>.empty-state h3{margin-bottom:4px}.rebate-tier-grid>.empty-state p{margin:0;color:#7c8799}
@media(max-width:1100px){.rebate-tier-grid{grid-template-columns:1fr}.tier-create-form{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.resource-tier-page{gap:12px}.tier-page-heading{align-items:flex-start}.tier-count{display:none}.resource-cost-card{padding:15px!important}.tier-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tier-create-form{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px}.tier-create-switches,.tier-rule-switches{grid-template-columns:1fr}.rebate-tier-card{padding:14px!important}.tier-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tier-edit-grid .tier-name-field{grid-column:1/-1}.tier-card-actions{position:sticky;bottom:8px;padding:10px;border:1px solid rgba(93,125,170,.12);border-radius:15px;background:rgba(255,255,255,.9);backdrop-filter:blur(12px)}}
@media(max-width:480px){.tier-settings-grid,.tier-create-form,.tier-edit-grid{grid-template-columns:1fr}.tier-edit-grid .tier-name-field{grid-column:auto}.tier-create-switches{grid-column:1}.rebate-tier-card>header{align-items:flex-start}.tier-rate-orb{width:54px;height:54px;flex-basis:54px;border-radius:17px}.tier-rate-orb strong{font-size:15px}.tier-card-actions{display:grid;grid-template-columns:1fr auto}.tier-card-actions>button{width:100%}.resource-section-title h2{font-size:17px}}
