:root{--blue:#0867f2;--blue2:#03c6ea;--navy:#0b2257;--text:#1d3154;--muted:#7d8ba4;--bg:#f5f9fe;--line:#e7eef8;--white:#fff;--green:#0ebc76;--red:#f04460;--orange:#f7a416;--shadow:0 12px 42px rgba(26,83,159,.065);--radius:16px;--font:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);font:14px/1.55 var(--font);color:var(--text)}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:not-allowed;opacity:.5}img{max-width:100%}svg{display:block}.icon{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon.tiny{width:15px;height:15px}.icon.large{width:26px;height:26px}::selection{background:#b9eaff}h1,h2,h3,h4,p{margin-top:0}h1{color:var(--navy);font-size:27px;letter-spacing:-.8px;line-height:1.25;margin-bottom:5px}h2{color:var(--navy);font-size:20px;letter-spacing:-.5px}h3{color:var(--navy);font-size:15px}p{margin-bottom:12px}.muted{color:var(--muted)}.small{font-size:12px}.micro{font-size:11px}.bold{font-weight:750}.blue{color:var(--blue)}.green{color:var(--green)}.red{color:var(--red)}.orange{color:var(--orange)}.tabnums{font-variant-numeric:tabular-nums}.nowrap{white-space:nowrap}.ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:99px;padding:4px 10px;font-size:11px;font-weight:750;background:#eff6ff;color:#0872d9;white-space:nowrap}.pill.green{background:#e5faef;color:#089b62}.pill.orange{background:#fff4de;color:#c77b08}.pill.red{background:#ffedf0;color:#ea4761}.pill.purple{background:#f1eaff;color:#8e51d5}.pill.gray{background:#f1f5fa;color:#71849d}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;border-radius:11px;font-weight:750;border:1px solid #dbe9fa;background:#fff;color:#1653a0;transition:.18s;white-space:nowrap}.btn:hover{border-color:#86c2ff;background:#f4faff;transform:translateY(-1px)}.btn.primary{color:#fff;border-color:transparent;background:linear-gradient(110deg,#0752f0,#00baf3);box-shadow:0 5px 12px #0875e026}.btn.primary:hover{filter:brightness(1.045);box-shadow:0 8px 20px #0875e039}.btn.soft{background:#edf6ff;border-color:#d6eaff;color:#0063dd}.btn.danger{background:#fff0f2;color:#de3557;border-color:#ffd9e2}.btn.success{background:#e7fbf0;color:#07945c;border-color:#b4efd1}.btn.sm{padding:7px 11px;font-size:12px;border-radius:8px}.btn.iconbtn{padding:8px}.btn.wide{width:100%}.btn:active{transform:scale(.98)}.link{color:var(--blue);font-weight:700}.link:hover{text-decoration:underline}.input,select,textarea{width:100%;border:1px solid #dce7f3;background:#fff;color:#223757;border-radius:10px;padding:11px 12px;outline:none;min-width:0;transition:.16s}input:focus,select:focus,textarea:focus{border-color:#45a3ff;box-shadow:0 0 0 3px #158bfa16}textarea{resize:vertical;min-height:106px}label.field{display:grid;gap:7px;font-size:12px;font-weight:700;color:#455877}.field small{font-weight:450;color:var(--muted)}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.fields .full{grid-column:1/-1}.form-actions{display:flex;gap:10px;align-items:center;margin-top:18px}.stack{display:grid;gap:14px}.stack.sm{gap:9px}.cols-2{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:17px}.flex{display:flex;gap:10px;align-items:center}.flex-between{display:flex;gap:12px;justify-content:space-between;align-items:center}.wrap{flex-wrap:wrap}.gap-4{gap:4px}.space-top{margin-top:18px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px}.section-head h2,.section-head h3{display:flex;align-items:center;gap:9px;margin:0}.section-head .icon{color:var(--blue)}.section-head .link{font-size:12px}.divider{border-top:1px solid var(--line);margin:18px 0}.empty{display:grid;place-content:center;justify-items:center;gap:12px;min-height:190px;text-align:center;padding:28px;color:var(--muted)}.empty .icon{width:40px;height:40px;color:#99bfeb}.empty h3{margin:0}.empty p{max-width:400px;margin:0}.loading-screen{height:100vh;display:grid;align-content:center;justify-items:center;gap:20px;color:var(--muted)}.loading-screen img{width:170px}.loader{width:28px;height:28px;border-radius:50%;border:3px solid #e7f2ff;border-top-color:#0b71ee;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
/* Header */
.site-header{position:sticky;top:0;z-index:40;background:#ffffffee;border-bottom:1px solid #e9eff8;backdrop-filter:blur(16px)}.top-nav{max-width:1600px;margin:auto;padding:11px 26px;display:flex;align-items:center;gap:26px;min-height:77px}.brand{display:flex;align-items:center;flex-shrink:0}.brand img{width:173px;height:auto}.searchbox{flex:1;display:flex;align-items:center;padding:4px 4px 4px 17px;background:#f9fcff;border:1px solid #dceafa;box-shadow:0 3px 11px #126bcc0a;border-radius:40px;max-width:710px;margin:auto;gap:10px}.searchbox>svg{color:var(--blue)}.searchbox input{border:0!important;box-shadow:none!important;background:transparent;flex:1;width:80px;font-size:13px}.searchbox button{padding:9px 28px;border-radius:30px}.nav-actions{display:flex;align-items:center;gap:12px}.nav-action{display:grid;justify-items:center;gap:1px;font-size:10px;color:#244473;min-width:54px;position:relative;background:none;border:0}.nav-action .icon{width:22px;height:22px;color:#0954bc}.bubble{position:absolute;top:-5px;right:6px;background:#ff4262;color:#fff;border-radius:99px;font-size:9px;line-height:16px;min-width:16px;text-align:center}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#dbeeff,#c4f5ff);color:#095ade;font-weight:850;flex-shrink:0}.user-chip{display:flex;align-items:center;gap:8px;border:0;background:none;text-align:left;max-width:170px}.sub-nav{border-top:1px solid #edf2fa;max-width:1600px;margin:auto;display:flex;justify-content:space-between;gap:10px;padding:9px 26px;overflow-x:auto;scrollbar-width:none}.sub-nav::-webkit-scrollbar{display:none}.sub-nav a,.sub-nav button{font-size:12px;white-space:nowrap;display:flex;align-items:center;gap:6px;font-weight:650;padding:6px 10px;border:0;background:transparent;color:#244574;border-radius:9px}.sub-nav .nav-active{background:linear-gradient(100deg,#075cf2,#05b5ed);color:#fff}.sub-nav .icon{width:16px;height:16px}.page-container{max-width:1600px;margin:0 auto;padding:17px 25px 30px}
/* Marketplace */
.trustbar{display:grid;grid-template-columns:repeat(5,1fr);gap:13px;padding:14px 17px;margin-bottom:15px}.trust{display:flex;align-items:center;gap:10px;min-width:0}.trust .trust-icon{width:36px;height:36px;border-radius:12px;background:#eaf5ff;color:#0677ea;display:grid;place-items:center;flex-shrink:0}.trust strong{display:block;font-size:12px;color:#153660}.trust small{color:var(--muted);font-size:10px}.market-layout{display:grid;grid-template-columns:225px minmax(0,1fr);gap:16px}.market-sidebar{padding:17px 13px;align-self:start;position:sticky;top:150px}.market-sidebar h3{padding-left:9px;margin:0 0 10px}.cat-links{display:grid;gap:2px}.cat-links button{display:flex;align-items:center;gap:11px;width:100%;text-align:left;border:0;background:transparent;color:#315480;padding:10px;border-radius:10px;font-size:12px}.cat-links button:hover,.cat-links button.active{background:#ebf6ff;color:#0069df;font-weight:700}.cat-links .icon{width:16px;height:16px}.ad-side{margin-top:22px;background:linear-gradient(145deg,#eaf7ff,#e3f8ff);border-radius:13px;padding:17px 13px;border:1px solid #d4efff}.ad-side h3{color:#0455c8;line-height:1.3;margin:8px 0}.ad-side .icon{color:#0088f6}.ad-side p{color:#466b9b;font-size:12px}.market-main{min-width:0;display:grid;gap:15px;align-content:start}.home-section{padding:17px 15px}.section-note{margin:-7px 0 13px;color:var(--muted);font-size:12px}.sponsor-grid{display:grid;grid-template-columns:repeat(10,minmax(94px,1fr));gap:9px}.sponsor-card{min-width:0;background:#fff;border:1px solid #e9eef6;border-radius:11px;padding:7px;cursor:pointer;transition:.2s}.sponsor-card:hover,.product-card:hover{border-color:#a5d3ff;box-shadow:0 12px 26px #1667ba1c;transform:translateY(-2px)}.sponsor-card .thumb{border-radius:8px;height:92px}.sponsor-card .product-name{font-size:10px;min-height:30px}.sponsor-card .price{font-size:12px}.sponsor-card .storeline,.sponsor-card .rating{font-size:9px}.slot-empty{border:1px dashed #bcddff;border-radius:11px;background:linear-gradient(160deg,#f5faff,#fff);display:grid;place-content:center;gap:10px;justify-items:center;min-height:202px;cursor:pointer;color:#4575b2;font-size:10px;text-align:center}.slot-empty:hover{border-color:#007cf2;background:#eaf6ff}.slot-empty span{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:var(--blue);background:#d9ecff}.promo-row{display:grid;grid-template-columns:1fr 1.2fr;gap:13px}.promo{padding:20px 24px;border-radius:13px;display:flex;align-items:center;justify-content:space-between;min-height:130px;overflow:hidden;position:relative}.promo strong{font-size:20px;line-height:1.2;display:block}.promo p{font-size:12px;margin:5px 0 12px}.promo .display-emoji{font-size:60px;transform:rotate(-12deg);filter:drop-shadow(0 8px 8px #00409931)}.promo.voucher{background:linear-gradient(125deg,#0059e8,#0188ff,#0ce4d9);color:white}.promo.sponsor{background:linear-gradient(115deg,#e0ecff,#d5f4ff);color:#0741ab}.promo .btn{padding:8px 14px;font-size:12px}.products-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.product-card{min-width:0;border:1px solid #e8eef7;border-radius:11px;background:#fff;overflow:hidden;cursor:pointer;transition:.2s}.thumb{position:relative;background:#f2f8ff;display:block;overflow:hidden;height:155px}.thumb img{width:100%;height:100%;object-fit:cover}.thumb .tag-on-image{position:absolute;left:8px;top:8px;font-size:10px;border-radius:5px;padding:3px 6px;background:#ff4869;color:white;font-weight:800}.wish-heart{position:absolute;right:7px;top:7px;border:1px solid #e4edf7;background:#fff;display:grid;place-items:center;border-radius:50%;width:29px;height:29px;color:#516e97}.wish-heart.active{color:#f04460}.wish-heart .icon{width:16px;height:16px}.product-body{padding:10px}.product-name{font-weight:650;font-size:12px;line-height:1.37;min-height:34px;color:#1a335a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.price{color:#e92649;font-weight:800;font-size:16px;letter-spacing:-.3px;margin-top:5px}.rating{display:flex;align-items:center;gap:3px;font-size:11px;color:#677c9a;margin-top:3px}.rating .gold{color:#ffb500}.storeline{display:flex;align-items:center;gap:4px;font-size:10px;color:#7285a0;margin-top:4px}.market-endcap{text-align:center;padding:12px 0;color:var(--muted)}.app-footer{margin-top:0;background:white;border-top:1px solid var(--line);padding:28px max(24px,calc((100vw - 1550px)/2)) 22px}.footer-columns{display:grid;grid-template-columns:1.3fr repeat(4,1fr);gap:30px}.footer-columns img{width:150px}.footer-columns h4{font-size:12px;color:var(--navy);margin-bottom:8px}.footer-columns a,.footer-columns span{display:block;font-size:12px;color:#6c83a2;margin:4px 0}.footer-bottom{border-top:1px solid var(--line);padding-top:16px;margin-top:22px;display:flex;align-items:center;justify-content:space-between;color:#90a0b5;font-size:12px}
/* Dashboards */
.dashboard-wrap{display:grid;grid-template-columns:230px minmax(0,1fr);max-width:1600px;margin:auto;min-height:calc(100vh - 140px)}.dash-side{background:#fff;border-right:1px solid var(--line);padding:22px 12px;min-height:100%;position:relative}.dash-side .side-caption{font-size:10px;font-weight:800;letter-spacing:1.25px;color:#96a5ba;padding:10px 13px 6px}.dash-side button{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:0;background:transparent;border-radius:10px;padding:11px 13px;color:#37577f;font-size:12.5px;font-weight:650;margin:2px 0}.dash-side button.active{background:linear-gradient(100deg,#065bf1,#04bcef);color:white;box-shadow:0 6px 13px #117ddc26}.dash-side button:not(.active):hover{background:#f0f7ff;color:#086beb}.dash-side .side-widget{margin:26px 3px 0;background:linear-gradient(145deg,#e7f3ff,#e9faff);border-radius:13px;padding:18px 15px;color:#0550b6}.side-widget p{font-size:12px;color:#617c9f}.dash-main{min-width:0;padding:26px 23px 38px}.dash-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:21px}.dash-header p{color:#7890b1;margin:0}.dash-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:17px}.kpi{padding:18px;min-width:0}.kpi .kpi-icon{width:39px;height:39px;border-radius:12px;display:grid;place-items:center;background:#e7f3ff;color:#0870ea}.kpi .kpi-icon.orange{background:#fff4e1;color:#f29b19}.kpi .kpi-icon.green{background:#e5fbed;color:#07ad6f}.kpi .kpi-icon.purple{background:#f1e8ff;color:#9b56ee}.kpi .kpi-icon.red{background:#ffecef;color:#f54862}.kpi strong{display:block;font-size:21px;color:#112d64;margin:11px 0 2px;letter-spacing:-.7px}.kpi small{color:var(--muted);font-size:12px}.kpi .kpi-label{font-weight:750;font-size:12px;color:#537096}.kpi a{display:block;margin-top:9px;color:var(--blue);font-size:11px;font-weight:750}.panel{padding:18px;margin-bottom:16px}.panel h3{font-size:16px}.chart-wrap{width:100%;height:230px;border-radius:12px;background:linear-gradient(180deg,#fcfdff,#f8fcff);padding:11px}.chart-wrap svg{width:100%;height:100%}.grid-three{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:16px}.data-table{width:100%;border-collapse:collapse;font-size:12px}.data-table th{text-align:left;color:#8294ae;background:#f7faff;font-size:11px;white-space:nowrap;font-weight:750}.data-table td,.data-table th{padding:11px 10px;border-bottom:1px solid #eef2f8;vertical-align:middle}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fbfdff}.table-scroll{overflow-x:auto;width:100%}.table-scroll .data-table{min-width:660px}.table-prod{display:flex;align-items:center;gap:10px;min-width:150px}.table-prod img{width:43px;height:43px;object-fit:cover;border-radius:8px;background:#f3f8ff}.progress{background:#ecf3fd;height:7px;border-radius:9px;overflow:hidden}.progress span{display:block;height:100%;background:linear-gradient(90deg,#0b6af2,#04cbed);border-radius:9px}.activity{display:grid;gap:14px}.activity .activity-item{display:flex;align-items:center;gap:10px;font-size:12px}.activity-item .activity-icon{width:33px;height:33px;display:grid;place-items:center;border-radius:50%;background:#e9f5ff;color:var(--blue);flex-shrink:0}.activity-item small{display:block;color:var(--muted)}.gradient-banner{border-radius:14px;background:linear-gradient(115deg,#0057e8,#038be9 60%,#00cfe1);padding:26px;color:white;overflow:hidden;position:relative}.gradient-banner h2{color:white;margin:0 0 7px}.gradient-banner p{color:#e0f7ff;max-width:600px}.gradient-banner:after{content:'✧';font-size:130px;position:absolute;right:30px;top:-30px;color:#ffffff20;transform:rotate(-15deg);pointer-events:none}.gradient-banner .btn{position:relative;z-index:1}.select-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.select-toolbar .input,.select-toolbar select{max-width:240px}.settings-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.settings-tabs button{border:1px solid #d9e8f9;background:#fff;color:#517398;border-radius:9px;padding:9px 13px;font-size:12px;font-weight:700}.settings-tabs button.active{background:#eaf5ff;border-color:#5db3ff;color:#066bdb}.form-panel{padding:23px}.form-panel h3{font-size:17px;margin-bottom:16px}.drop-zone{border:1px dashed #9bcaf2;padding:14px;background:#f5faff;border-radius:10px;color:#5c7ca6;font-size:12px}.upload-previews{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0}.upload-previews img{width:82px;height:82px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}.order-detail-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:17px}.order-steps{display:flex;align-items:center;gap:8px}.order-steps>span{height:6px;flex:1;border-radius:9px;background:#e6efff}.order-steps>span.done{background:linear-gradient(90deg,#0d6bf3,#08cae6)}.message-stream{display:grid;gap:10px;max-height:300px;overflow:auto}.message-bubble{padding:10px 14px;background:#eff7ff;border-radius:14px;max-width:80%;justify-self:start}.message-bubble.mine{justify-self:end;background:#e1f7ec}.message-bubble small{display:block;color:#8aa0ba;margin-top:3px}.auth-bg{min-height:calc(100vh - 77px);display:grid;grid-template-columns:1fr 1fr;gap:30px;max-width:1250px;margin:auto;padding:45px 25px;align-items:center}.auth-showcase{background:linear-gradient(145deg,#043bac,#097fe8,#02bedf);border-radius:30px;padding:55px;color:white;min-height:510px;position:relative;overflow:hidden}.auth-showcase h1{font-size:45px;color:white;max-width:430px}.auth-showcase p{color:#dbf2ff;font-size:16px;max-width:450px}.auth-showcase:before,.auth-showcase:after{content:'';position:absolute;border:1px solid #ffffff50;border-radius:40px;transform:rotate(30deg);width:270px;height:270px;right:-60px;bottom:-80px}.auth-showcase:after{width:180px;height:180px;right:40px;bottom:35px}.auth-form{padding:40px;max-width:510px;width:100%;margin:auto}.auth-form h1{font-size:27px}.auth-form .stack{margin-top:26px}.login-tip{padding:13px;background:#eaf7ff;color:#4b749e;font-size:12px;border-radius:10px}.price-large{font-size:30px;color:#e63353;font-weight:850;letter-spacing:-1px}.product-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:25px;padding:23px}.product-gallery-main{background:#f5faff;border-radius:15px;overflow:hidden}.product-gallery-main img{width:100%;aspect-ratio:1.28/1;object-fit:cover}.product-gallery-thumbs{display:flex;gap:9px;margin-top:10px}.product-gallery-thumbs img{width:85px;height:64px;border-radius:8px;object-fit:cover}.stat-note{padding:15px;background:#f0f8ff;border-radius:12px;color:#5577a0;font-size:12px}.product-spec{display:grid;grid-template-columns:140px 1fr;gap:10px;font-size:13px;margin:14px 0}.product-spec dt{color:var(--muted)}.product-spec dd{margin:0;font-weight:650}.list-tickets{display:grid;gap:10px}.ticket{border:1px solid var(--line);border-radius:12px;padding:15px}.ticket h3{margin-bottom:4px}.footnote{border-left:3px solid #86c9ff;background:#f1f8ff;color:#607d9d;padding:10px 13px;border-radius:7px;font-size:12px}.check-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #eff3f7}.check-row input{width:17px;height:17px;accent-color:#0874f4}.mini-stats{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.mini-stats span{font-size:12px}.campaign-box{padding:18px;border:1px solid #cfe6ff;border-radius:13px;background:#f6fbff}.slot-meter{height:11px;border-radius:50px;overflow:hidden;background:#e4f0ff}.slot-meter span{height:100%;background:linear-gradient(90deg,#005fea,#00d2e7);display:block}.table-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap}#toast{position:fixed;top:90px;right:24px;z-index:110;display:grid;gap:8px;max-width:360px;pointer-events:none}.toast-item{padding:13px 18px;background:#093f9a;color:#fff;border-radius:12px;box-shadow:0 16px 28px #0053be29;font-size:13px;animation:toastIn .25s;pointer-events:auto}.toast-item.err{background:#c7314e}@keyframes toastIn{from{opacity:0;transform:translateX(15px)}to{opacity:1;transform:translateX(0)}}#modal-root:not(:empty){position:fixed;z-index:90;inset:0;background:#07204b7e;display:grid;place-items:center;padding:17px;backdrop-filter:blur(5px)}.modal{background:#fff;border-radius:19px;padding:24px;box-shadow:0 25px 90px #061b4061;max-width:640px;width:100%;max-height:92vh;overflow-y:auto}.modal h2{margin-bottom:15px}.modal .modal-title{display:flex;justify-content:space-between;align-items:center}.modal .modal-title button{padding:6px;border:0;background:#f2f7fd;border-radius:8px}.modal .form-actions{justify-content:flex-end}
@media(max-width:1300px){.products-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.sponsor-grid{grid-template-columns:repeat(5,1fr)}.market-sidebar{position:static}.top-nav{gap:14px}.nav-actions{gap:4px}.dashboard-wrap{grid-template-columns:200px minmax(0,1fr)}.dash-side{padding:18px 9px}.kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:980px){.market-layout{grid-template-columns:1fr}.market-sidebar{display:none}.trustbar{grid-template-columns:repeat(3,1fr)}.nav-action span:not(.bubble){display:none}.nav-action{min-width:36px}.user-chip .user-meta{display:none}.brand img{width:140px}.footer-columns{grid-template-columns:repeat(3,1fr)}.dashboard-wrap{grid-template-columns:1fr}.dash-side{display:flex;overflow-x:auto;min-height:0;padding:9px;position:sticky;top:76px;z-index:20;border:0;border-bottom:1px solid var(--line);gap:5px;scrollbar-width:none}.dash-side button{white-space:nowrap;width:auto;flex-shrink:0;padding:9px 12px}.dash-side .side-caption,.dash-side .side-widget{display:none}.dash-main{padding:20px 15px}.grid-three{grid-template-columns:1fr 1fr}.grid-three>div:first-child{grid-column:1/-1}.auth-bg{grid-template-columns:1fr}.auth-showcase{display:none}}
@media(max-width:680px){.top-nav{padding:10px 13px;gap:10px;flex-wrap:wrap}.top-nav .brand img{width:126px}.searchbox{order:3;flex-basis:100%;max-width:none}.nav-actions{margin-left:auto}.sub-nav{padding:6px 13px}.page-container{padding:12px}.trustbar{grid-template-columns:repeat(2,1fr);gap:11px;padding:12px}.trust:last-child{display:none}.trust .trust-icon{width:30px;height:30px}.market-main{gap:10px}.home-section{padding:13px}.sponsor-grid{display:flex;overflow-x:auto;gap:8px;padding-bottom:8px;scrollbar-width:thin}.sponsor-grid>*{min-width:123px;flex-basis:123px}.promo-row{grid-template-columns:1fr}.products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.thumb{height:auto;aspect-ratio:1.2}.footer-columns{grid-template-columns:repeat(2,1fr);gap:20px}.footer-bottom{display:block}.dash-side{top:120px}.dash-main{padding:15px 12px}.dash-header{flex-direction:column}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.kpi{padding:13px}.kpi strong{font-size:17px}.cols-2,.grid-three,.order-detail-grid,.product-detail,.fields{grid-template-columns:1fr}.grid-three>div:first-child{grid-column:1}.fields .full{grid-column:1}.promo{min-height:110px;padding:16px}.promo strong{font-size:17px}.promo .display-emoji{font-size:40px}.auth-bg{padding:20px 10px}.auth-form{padding:24px 19px}.form-panel{padding:15px}.select-toolbar .input,.select-toolbar select{max-width:100%;flex:1}.modal{padding:18px}.price-large{font-size:25px}}

.settlement-hero-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}.settlement-card{position:relative;overflow:hidden;border-radius:18px;padding:25px;color:#fff;box-shadow:0 14px 30px #0a4db522}.settlement-card:after{content:'';position:absolute;width:150px;height:150px;border-radius:50%;right:-55px;top:-65px;background:#ffffff1c}.settlement-net{background:linear-gradient(135deg,#0649c8,#08a7db)}.settlement-held{background:linear-gradient(135deg,#172b61,#6577d9)}.settlement-eyebrow{font-size:11px;letter-spacing:.15em;font-weight:850;opacity:.9}.settlement-card strong{display:block;font-size:32px;letter-spacing:-1px;margin:12px 0 6px}.settlement-card span:last-child{font-size:11px;opacity:.86}.settlement-upgrade-card{display:flex;align-items:center;gap:15px;margin-bottom:17px;padding:17px 20px;border:1px solid #f4d58d;border-radius:16px;background:linear-gradient(110deg,#fffaf0,#fff 60%,#f5fbff);box-shadow:0 9px 25px #d29a1920}.settlement-upgrade-card p{margin:4px 0 0;color:#7589a4;font-size:12px}.settlement-upgrade-card .btn{margin-left:auto;white-space:nowrap}.settlement-bolt,.settlement-popup-bolt{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:50%;color:#fff;font-size:27px;background:linear-gradient(145deg,#ffb000,#ff4d00);box-shadow:0 0 0 5px #ffb0001a,0 0 24px #ff9f0070;animation:settlementPulse 1.5s ease-in-out infinite}.settlement-popup{text-align:center;padding:12px 4px 2px}.settlement-popup-bolt{margin:0 auto 14px}.settlement-popup h3{margin:0 0 8px}.settlement-popup p{color:#607d9d;line-height:1.6}.settlement-popup .btn{margin-top:12px}@keyframes settlementPulse{0%,100%{transform:scale(1);filter:brightness(1)}50%{transform:scale(1.08);filter:brightness(1.18)}}@media(prefers-reduced-motion:reduce){.settlement-bolt,.settlement-popup-bolt{animation:none}}@media(max-width:680px){.settlement-hero-grid{grid-template-columns:1fr}.settlement-card strong{font-size:27px}.settlement-upgrade-card{align-items:flex-start;flex-wrap:wrap}.settlement-upgrade-card .btn{margin-left:63px}}
/* YONDA mobile layout hardening — final cascade */
html,body{width:100%;max-width:100%;min-width:0;overflow-x:hidden}
*,*::before,*::after{box-sizing:border-box}
img,svg,canvas,video{max-width:100%}
@media(max-width:680px){
  body{font-size:14px;overflow-x:hidden}
  .site-header{width:100%;overflow:hidden}
  .top-nav{width:100%;min-width:0;align-items:center;padding:9px 12px;gap:8px}
  .brand{min-width:0;max-width:132px}.brand img{width:120px;max-width:100%}
  .nav-actions{min-width:0;gap:2px}.nav-action{min-width:32px;padding:2px}.user-chip{max-width:38px}.user-chip .avatar{width:32px;height:32px}
  .searchbox{width:100%;min-width:0;flex-basis:100%;padding-left:11px;margin-top:1px}.searchbox input{min-width:0}.searchbox button{padding:9px 15px}
  .sub-nav{width:100%;max-width:100%;justify-content:flex-start;padding:6px 10px;gap:4px}
  .sub-nav a,.sub-nav button{flex:0 0 auto;padding:6px 9px}
  .page-container{width:100%;max-width:100%;padding:10px 10px 24px;overflow:hidden}
  .trustbar{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;gap:8px}.trust{min-width:0}.trust strong,.trust small{overflow-wrap:anywhere}
  .market-main,.market-layout,.home-section,.promo-row,.products-grid{min-width:0;max-width:100%}
  .home-section{padding:12px 10px}.section-head{align-items:flex-start}.section-head h2,.section-head h3{min-width:0;overflow-wrap:anywhere}
  .products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.product-card{min-width:0}.product-body{padding:8px}.product-name{font-size:11px}.price{font-size:14px;overflow-wrap:anywhere}
  .promo{min-width:0;padding:14px}.promo strong{font-size:16px}.promo p{font-size:11px}.promo .display-emoji{font-size:34px;flex:0 0 auto}
  .dashboard-wrap{width:100%;max-width:100%;min-width:0;overflow:hidden}.dash-side{width:100%;max-width:100%;top:118px;padding:8px 10px;overflow-x:auto}.dash-side button{flex:0 0 auto}.dash-main{width:100%;min-width:0;padding:15px 10px 30px;overflow:hidden}
  .dash-header{min-width:0}.dash-header h1{font-size:23px;overflow-wrap:anywhere}.dash-header p{overflow-wrap:anywhere}.dash-actions{width:100%}.dash-actions .btn{max-width:100%}
  .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.kpi{min-width:0;padding:12px}.kpi strong{font-size:16px;overflow-wrap:anywhere}
  .panel,.form-panel{min-width:0;max-width:100%;padding:14px;border-radius:13px}.panel .section-head{flex-wrap:wrap}
  .data-table{font-size:11px}.table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-scroll .data-table{min-width:620px}
  .modal{width:min(100%,640px);max-width:100%;max-height:88vh;padding:17px}.modal h2{font-size:19px;overflow-wrap:anywhere}
  .footer-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.footer-columns>div{min-width:0}.footer-columns a,.footer-columns span{overflow-wrap:anywhere}.app-footer{width:100%;padding:24px 14px 18px}.footer-bottom{overflow-wrap:anywhere}
  .settlement-card{padding:20px}.settlement-card strong{font-size:26px;overflow-wrap:anywhere}.settlement-upgrade-card{gap:11px;padding:15px}.settlement-upgrade-card>div:nth-child(2){min-width:0;flex:1}.settlement-upgrade-card p{overflow-wrap:anywhere}.settlement-upgrade-card .btn{margin-left:59px}
}

/* Google sign-in (yonda.id only) */
.google-sep{display:flex;align-items:center;gap:12px;margin:16px 0;color:#7b8ba3;font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.google-sep::before,.google-sep::after{content:'';flex:1;height:1px;background:#e2eaf5}
.google-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:#fff;color:#1b2b45;border:1px solid #d6e2f2;font-weight:700;min-height:46px}
.google-btn:hover{background:#f6f9ff;border-color:#b9cde8}
.google-btn .g-ico{display:inline-flex;align-items:center}
.auth-notice{margin:0 0 14px;padding:11px 13px;border-radius:12px;background:#fff4e6;border:1px solid #ffd9a8;color:#8a5200;font-size:13px;line-height:1.5}
.oauth-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;margin-bottom:14px;border:1px solid #e2eaf5;border-radius:14px;background:#f8fbff;flex-wrap:wrap}
.oauth-row strong{display:block;font-size:14px}
@media (max-width:520px){.google-btn{width:100%}.oauth-row{align-items:flex-start}}

/* Profile dropdown (yonda.id header) */
.user-menu{position:relative}
.user-chip{cursor:pointer}
.user-chip .icon{width:14px;height:14px;color:#7b8ba3;transition:transform .18s ease}
.user-chip[aria-expanded="true"] .icon{transform:rotate(180deg)}
.user-dropdown{position:absolute;top:calc(100% + 12px);right:0;width:272px;background:#fff;border:1px solid #e2eaf5;border-radius:16px;box-shadow:0 22px 48px rgba(11,60,120,.16);padding:8px;z-index:60;animation:pdm .16s ease}
.user-dropdown::before{content:'';position:absolute;top:-6px;right:26px;width:12px;height:12px;background:#fff;border-left:1px solid #e2eaf5;border-top:1px solid #e2eaf5;transform:rotate(45deg)}
@keyframes pdm{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
@media (prefers-reduced-motion:reduce){.user-dropdown{animation:none}.user-chip .icon{transition:none}}
.user-dropdown-head{display:flex;gap:11px;align-items:flex-start;padding:11px 11px 13px;border-bottom:1px solid #eef3fa;margin-bottom:6px}
.user-dropdown-head>div{min-width:0;display:grid;gap:2px}
.user-dropdown-head strong{font-size:14px;color:#12243c}
.user-dropdown-head .micro{font-size:11px}
.user-dropdown-head .pill{margin-top:4px;justify-self:start;font-size:10px}
.user-dropdown-links{display:grid;gap:1px}
.user-dropdown-links a{display:flex;align-items:center;gap:11px;padding:10px 11px;border-radius:10px;color:#20406a;font-size:13.5px;font-weight:600;text-decoration:none}
.user-dropdown-links a:hover{background:#f2f8ff;color:#0758d6}
.user-dropdown-links .icon,.user-dropdown-out .icon{width:17px;height:17px;color:#0b6bdd}
.user-dropdown-out{display:flex;align-items:center;gap:11px;width:100%;margin-top:6px;padding:11px;border:0;border-top:1px solid #eef3fa;background:none;color:#d9304a;font-size:13.5px;font-weight:700;border-radius:0 0 12px 12px;cursor:pointer;text-align:left}
.user-dropdown-out .icon{color:#d9304a}
.user-dropdown-out:hover{background:#fff5f6}
@media (max-width:680px){.user-dropdown{position:fixed;top:64px;right:10px;left:10px;width:auto}}

/* Profile chip: stack name over role so the label can never run into the name */
@media (min-width:981px){
  .user-chip .user-meta{display:grid;gap:1px;min-width:0;max-width:132px}
  .user-chip .user-meta>strong,.user-chip .user-meta>span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:132px}
  .user-chip .user-meta>span{font-size:10px;color:#7b8ba3;text-transform:capitalize}
}

/* Pending-account notice */
.notice{display:grid;gap:3px;padding:13px 15px;border-radius:13px;margin:0 0 16px;font-size:13px;line-height:1.5}
.notice b{font-size:13.5px}
.notice span{color:inherit;opacity:.85}
.notice.warn{background:#fff8e8;border:1px solid #ffe0a3;color:#8a5800}

/* Dedicated admin entry point at /admin */
.admin-bg{background:linear-gradient(160deg,#0b1c39 0%,#123a72 55%,#0b75f3 130%)}
.admin-auth{border:1px solid #1d3f74;box-shadow:0 26px 60px rgba(3,14,34,.42)}
.admin-pill{background:#0b1c39;color:#8fd0ff;border:1px solid #1d4a86;letter-spacing:.1em;font-size:10.5px;font-weight:800;display:inline-flex;align-items:center;gap:6px}
.admin-auth h1{font-size:23px}
.admin-hint{margin-top:13px;padding:10px 12px;border-radius:11px;background:#f2f7ff;border:1px solid #dbe8fa;color:#4a6285;font-size:11.5px;line-height:1.55}
