/* V27 COMPLETE CORPORATE UI SYSTEM — presentation layer only */
:root{--manta-navy:#062b59;--manta-navy-deep:#031b3b;--manta-blue:#0878d8;--manta-sky:#19a9e8;--manta-gold:#c5a46a;--manta-ink:#102b4b;--manta-muted:#71849a;--manta-line:#dce7f1;--manta-bg:#f3f7fb;--manta-radius:22px;--manta-shadow:0 18px 50px rgba(4,39,80,.10)}
*{box-sizing:border-box}body{background:radial-gradient(ellipse at 10% 0%,#e3f2ff 0,transparent 32%),linear-gradient(180deg,#f7faff,#edf3f8)!important;color:var(--manta-ink)}
.top{background:linear-gradient(105deg,#062c60,#075ca8 62%,#0789dc)!important;min-height:82px;border:0!important}.top .brandmark{width:218px!important;height:58px!important;max-width:48vw!important;object-fit:contain!important;object-position:left center!important;background:#fff!important;border-radius:8px!important;padding:3px 8px!important}.top .lang-toggle,.top .icon{border:1px solid #ffffff4a!important;background:#ffffff17!important;border-radius:15px!important;color:#fff!important}.top-actions{gap:12px!important}
.page{max-width:1440px!important;margin:0 auto!important;padding-left:clamp(14px,3.2vw,46px)!important;padding-right:clamp(14px,3.2vw,46px)!important}.hero.hero-carousel{min-height:310px!important;height:clamp(300px,37vw,470px)!important;border:1px solid #d4e6f6!important;border-radius:28px!important;background:linear-gradient(115deg,#041d40,#0759a3 65%,#19a9e8)!important;box-shadow:0 22px 55px #082f5b25!important}.hero.hero-carousel:before{background:linear-gradient(90deg,#031a38ed 0%,#062f60bb 48%,#063e7310 100%)!important}.hero.hero-carousel:after{background:linear-gradient(0deg,#031a3870,transparent 50%)!important}.hero-carousel .eyebrow{color:#9fe4ff!important;letter-spacing:2.4px!important}.hero-carousel h1{font-weight:900!important;line-height:1.06!important;text-wrap:balance}.hero-carousel p{color:#edf7ff!important}.hero-carousel .hero-btn{background:linear-gradient(110deg,#fff,#e7f5ff)!important;color:#06356b!important;border-radius:30px!important;padding:14px 23px!important}.banner-dot.on{background:#fff!important;border-color:#fff!important}
.quick-action{border-radius:20px!important;min-height:104px!important;background:linear-gradient(145deg,#fff,#f5faff)!important;border:1px solid #dce9f5!important;box-shadow:0 8px 25px #123e6710!important}.quick-icon{background:linear-gradient(145deg,#e5f4ff,#cce8ff)!important;color:#075fae!important;border-radius:16px!important}.overview-card,.referral-card,.card,.stat,.mini-card{border-radius:21px!important;border-color:#dce7f0!important;box-shadow:0 9px 28px #09294d0b!important}.overview-card.balance-card{background:linear-gradient(135deg,#fff,#eaf5ff)!important}.overview-card strong{color:#064b91!important}.section-head h2{font-weight:900!important}.section-kicker{color:#1684c8!important}.btn,.package-buy{border-radius:13px!important;background:linear-gradient(110deg,#0755a5,#087ed0)!important;box-shadow:0 8px 18px #0863ac22!important;transition:transform .2s,box-shadow .2s!important}.btn:hover,.package-buy:hover{transform:translateY(-2px)!important;box-shadow:0 12px 24px #0863ac30!important}.tabs button.on{background:linear-gradient(110deg,#073c79,#0879c7)!important}.package-card-new{border-radius:22px!important}.package-card-new .package-buy{background:linear-gradient(110deg,#073b78,#087dca)!important}.placement-banner{position:relative;isolation:isolate;border-radius:24px!important;overflow:hidden!important;background-color:#063361!important;box-shadow:0 18px 40px #082f5b20!important}.placement-banner:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(100deg,#041d40e8,#075da6a8 62%,#087fc855)}
.auth{min-height:100vh!important;padding:30px 16px!important;display:grid!important;place-items:center!important;position:relative!important;overflow:hidden!important;background:linear-gradient(120deg,#041b3bdb,#063d78b5),url('images/manta-hero.jpg') center/cover no-repeat!important}.auth:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% 15%,#20b9ff45,transparent 28%),linear-gradient(135deg,#031a38aa,#086eb333);pointer-events:none}.authbox{position:relative!important;z-index:1;width:min(960px,100%)!important;max-width:960px!important;display:grid!important;grid-template-columns: .95fr 1.05fr!important;overflow:hidden!important;padding:0!important;border:1px solid #ffffff75!important;border-radius:28px!important;background:#fff!important;box-shadow:0 35px 100px #00172e80!important}.auth-brand-panel{min-height:560px;padding:44px 38px;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;color:#fff;background:linear-gradient(180deg,#031b3a30,#031b3af0),url('images/team-banner-bg.jpg') center/cover no-repeat}.auth-brand-panel img{width:min(330px,100%);height:100px;object-fit:contain;object-position:left center;background:#fff;border-radius:12px;padding:10px;margin-bottom:auto}.auth-brand-panel span{font-size:10px;letter-spacing:2px;font-weight:900;color:#a9e8ff}.auth-brand-panel span i{color:#d6b77c}.auth-brand-panel h2{font-size:clamp(25px,3vw,38px);line-height:1.12;margin:14px 0 8px;color:#fff}.auth-brand-panel p{color:#e5f2ff;font-size:13px}.auth-form-panel{padding:42px clamp(24px,5vw,56px);align-self:center}.auth-form-panel .muted{margin:0 0 16px}.auth-logo{display:none!important}.auth .tabs{background:#edf4fa;border-radius:13px;padding:5px}.auth .tabs button{border-radius:10px}.auth .field input{min-height:48px;border-radius:12px;border:1px solid #d8e5f0;background:#f9fcff}.auth .btn{min-height:48px;background:linear-gradient(110deg,#073c79,#087ed0)!important;border-radius:12px!important}
.bottom{border-radius:22px 22px 0 0!important;box-shadow:0 -12px 34px #082f5b15!important;border-color:#dce7f1!important}.bottom button.active{color:#0874c5!important}.modal .sheet{border-radius:26px 26px 0 0!important}.toast{background:#052d5d!important}
.team-dashboard{background:#f1f6fb!important}.team-sidebar{background:linear-gradient(180deg,#041e40,#063c72)!important}.team-side-nav button.on{background:#ffffff1c!important;box-shadow:inset 3px 0 #d8bd82!important}.team-main{background:#f3f7fb!important}.team-topbar{border-bottom:1px solid #dce7f1!important}.team-hero-banner{border-radius:25px!important;box-shadow:0 20px 45px #09294d22!important}.team-page-title h1{color:#062e5c!important}.team-title-icon{background:#e2f2ff!important;color:#0875c3!important}
.profile-page .card,.profile-page .stat{border-radius:20px!important;box-shadow:0 10px 28px #09294d0c!important}.profile-page h1,.profile-page h2,.profile-page h3{color:#082f5c!important}
/* icon language: unify icon chips and action affordances without changing click handlers */
.quick-icon,.kpi-icon,.referral-symbol,.team-title-icon,.overview-label i{display:inline-grid;place-items:center;border:1px solid #d6e9f8!important}.icon,.quick-action,.bottom button,.sidebar button{transition:background .18s ease,color .18s ease,transform .18s ease!important}.quick-action:focus-visible,.btn:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #24a5e966!important;outline-offset:2px!important}
@media(max-width:760px){.authbox{grid-template-columns:1fr!important;max-width:480px!important}.auth-brand-panel{min-height:210px;padding:22px 24px;background-position:center 42%!important}.auth-brand-panel img{width:210px;height:62px;margin-bottom:20px}.auth-brand-panel h2{font-size:24px;margin:8px 0 4px}.auth-brand-panel p{margin:0;font-size:11px}.auth-form-panel{padding:24px!important}.hero.hero-carousel{min-height:270px!important;height:clamp(270px,72vw,360px)!important;padding:22px!important}.hero-carousel .hero-copy{max-width:88%!important}.hero-carousel h1{font-size:clamp(25px,7vw,36px)!important}.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}.top .brandmark{width:160px!important;height:46px!important}}
@media(max-width:420px){.top .brandmark{width:132px!important;height:42px!important}.top{padding:10px 12px!important}.top-actions{gap:6px!important}.quick-action{padding:13px!important;min-height:82px!important}.quick-icon{width:40px!important;height:40px!important;flex-basis:40px!important}.page{padding-left:12px!important;padding-right:12px!important}.auth-brand-panel{min-height:185px!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* V28 finishing details: visible referral code + refined profile hierarchy */
.team-code-card{display:flex!important;visibility:visible!important;opacity:1!important;min-height:145px!important;align-items:flex-start!important;gap:5px!important;background:#fff!important;color:#073b78!important;border:1px solid #cfe2f3!important;box-shadow:0 10px 28px #062b5918!important}
.team-code-card small{color:#54718d!important;font-size:11px!important;font-weight:900!important;letter-spacing:.5px!important}
.team-code-card strong{display:block!important;color:#062e5c!important;font-size:clamp(22px,2.3vw,30px)!important;line-height:1.2!important;letter-spacing:1.5px!important;overflow-wrap:anywhere!important}
.team-code-copy{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;border:0!important;border-radius:9px!important;padding:8px 12px!important;background:linear-gradient(110deg,#0755a5,#087ed0)!important;color:#fff!important;font-size:11px!important;font-weight:850!important;cursor:pointer!important}
.team-invite-card{grid-template-columns:minmax(0,1.35fr) minmax(230px,.75fr)!important;align-items:stretch!important}
.profile-referral-code{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 16px;margin:0 0 14px;border:1px solid #ffffff50;border-radius:16px;background:linear-gradient(100deg,#ffffff20,#ffffff0d);backdrop-filter:blur(10px)}
.profile-referral-code span{display:flex;flex-direction:column;gap:4px;min-width:0}.profile-referral-code small{font-size:9px;letter-spacing:1.4px;font-weight:900;color:#cce8ff}.profile-referral-code b{font-size:21px;letter-spacing:1.5px;color:#fff;overflow-wrap:anywhere}.profile-referral-code button{flex:0 0 auto;border:1px solid #ffffff65;border-radius:10px;padding:9px 13px;background:#ffffff20;color:#fff;font-weight:850;font-size:11px;cursor:pointer}
.profile-cover{background:linear-gradient(115deg,#031e40f2,#07539bdc 65%,#087fc8d9),url('images/manta-hero.jpg') center/cover!important;border:1px solid #ffffff65!important}.profile-earnings,.profile-menu-section{border:1px solid #dce8f3!important;border-radius:21px!important;background:#fff!important;box-shadow:0 12px 30px #09294d0a!important}.profile-earnings-grid>div{padding:15px 10px!important}.profile-menu-grid{gap:12px!important}.profile-menu-item{background:linear-gradient(145deg,#fff,#f7fbff)!important;min-height:86px!important}.profile-menu-item:hover{border-color:#a9d3f0!important;background:#eef7ff!important}
@media(max-width:620px){.team-invite-card{grid-template-columns:1fr!important}.team-code-card{min-height:unset!important}.profile-referral-code{padding:11px 12px}.profile-referral-code b{font-size:18px}.profile-referral-code button{padding:8px 10px}}
