/* Homepage dashboard layout and buyer-tool card. */
.home-quote-slide[hidden]{display:none!important}
.home-quote-slide.is-active{animation:xjQuoteAppear .35s ease-out}
@keyframes xjQuoteAppear{from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.home-quote-controls{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:12px;padding-top:9px;border-top:1px solid #e8edf2}
.home-quote-controls>button{display:grid;place-items:center;width:26px;height:26px;padding:0;border:1px solid #dce6ed;border-radius:7px;background:transparent;color:#697d8c;font-size:19px;line-height:1;cursor:pointer}
.home-quote-controls>button:hover,.home-quote-controls>button:focus-visible{border-color:#f47724;color:#f47724}
.home-quote-controls .home-quote-pause{width:auto;padding:0 9px;font-size:11px}
.home-quote-dots{display:flex;align-items:center;gap:7px}
.home-quote-dots button{width:7px;height:7px;padding:0;border:0;border-radius:50%;background:#9eafbc;cursor:pointer}
.home-quote-dots button.is-active{width:19px;border-radius:99px;background:#f47724}
.home-quote-dots button:focus-visible{outline:2px solid #f47724;outline-offset:3px}
html[data-theme=dark] .xj-home .home-quote-controls{border-color:#33424f}
html[data-theme=dark] .xj-home .home-quote-controls>button{border-color:#40515d;color:#b8c8d2}
@media(prefers-reduced-motion:reduce){.home-quote-slide.is-active{animation:none}}
.home-hot-note{font-size:11px}.home-hot-note>span{min-width:0;line-height:1.65}.home-hot-note strong{color:#cf6d34}html[data-theme=dark] .xj-home .home-hot-note strong{color:#f2a06f}
.home-arrival-customs-stack{grid-column:span 11;display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:12px;min-width:0;min-height:0}
.home-arrival-customs-stack>.home-card{grid-column:1;grid-row:auto;min-width:0;min-height:0}
.home-arrival-customs-stack .home-arrival-trend .home-chart{height:150px}
.home-arrival-customs-stack .home-customs-kpis{padding:9px 0}
.home-arrival-customs-stack .home-customs-kpis>div{gap:3px;padding:0 8px}
.home-arrival-customs-stack .home-customs-kpis strong{font-size:15px}
.home-arrival-customs-stack .home-customs .home-heading{gap:5px}
.home-arrival-customs-stack .home-customs .home-periods a{padding:4px 6px}
.home-dashboard-grid>.home-news{grid-column:span 15}
.home-dashboard-grid>.home-decision-tools{grid-column:span 11}
.home-dashboard-grid>.home-sidebar{grid-column:span 10}
.home-decision-tools{display:flex;flex-direction:column;min-width:0}
.home-decision-intro{margin:0 0 12px;color:#728199;font-size:12px;line-height:1.55}
.home-decision-list{display:grid;gap:10px;flex:1}
.home-decision-link{display:flex;align-items:center;gap:12px;min-width:0;padding:13px;border:1px solid #e8edf2;border-radius:10px;background:linear-gradient(115deg,#fff9f4,#fff)}
.home-decision-link:hover{border-color:#ffad75;box-shadow:0 5px 16px #ec76251c}
.home-decision-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:11px;background:#fff0e4;color:#f56a12}
.home-decision-icon .xj-icon{width:23px;height:23px}
.home-decision-copy{display:grid;gap:4px;min-width:0}
.home-decision-copy strong{font-size:15px;color:#23344b}
.home-decision-copy small{font-size:11px;line-height:1.5;color:#74839a}
.home-decision-copy em{font-size:11px;font-style:normal;font-weight:700;color:#f36a12}
.home-decision-note{margin:12px 0 0;font-size:11px;line-height:1.55;color:#8997a8}
html[data-theme=dark] .xj-home .home-decision-intro,html[data-theme=dark] .xj-home .home-decision-copy small{color:#a2b3c0}
html[data-theme=dark] .xj-home .home-decision-link{border-color:#31404d;background:linear-gradient(115deg,#262d33,#1b2833)}
html[data-theme=dark] .xj-home .home-decision-link:hover{border-color:#dc793f}
html[data-theme=dark] .xj-home .home-decision-icon{background:#412b20;color:#ff9651}
html[data-theme=dark] .xj-home .home-decision-copy strong{color:#edf4f8}
html[data-theme=dark] .xj-home .home-decision-copy em{color:#ffa264}
html[data-theme=dark] .xj-home .home-decision-note{color:#8fa2b1}
@media(max-width:1100px){.home-arrival-customs-stack{grid-column:span 1;grid-template-rows:auto auto}.home-dashboard-grid>.home-news,.home-dashboard-grid>.home-decision-tools{grid-column:span 1;grid-row:auto}.home-dashboard-grid>.home-sidebar{grid-column:span 2}}
@media(max-width:650px){.home-arrival-customs-stack{grid-column:1;gap:10px}.home-arrival-customs-stack .home-arrival-trend .home-chart{height:190px}.home-dashboard-grid>.home-news,.home-dashboard-grid>.home-decision-tools,.home-dashboard-grid>.home-sidebar{grid-column:1}.home-decision-link{padding:12px}.home-decision-copy strong{font-size:14px}}
.home-hot-note{font-size:12px;line-height:1.6}
.home-hot-note strong{font-size:12px;font-weight:800}
.home-dashboard-grid>.home-fruit-knowledge{grid-column:1/-1;display:grid;grid-template-columns:minmax(270px,.9fr) minmax(0,1.4fr);align-items:center;gap:18px;min-width:0;padding:18px 20px;border:1px solid #f5c695;border-radius:16px;background:linear-gradient(110deg,#fff1e4,#fffaf5 56%,#f7fbff);box-shadow:0 4px 18px #e7801c0a}
.home-fruit-knowledge-intro{min-width:0}
.home-fruit-knowledge-eyebrow{display:block;margin-bottom:8px;color:#e8610b;font-size:12px;font-weight:800}
.home-fruit-knowledge-intro h2{margin:0 0 5px;color:#24344b;font-size:21px;line-height:1.3}
.home-fruit-knowledge-intro p{margin:0 0 9px;color:#64758b;font-size:13px;line-height:1.5}
.home-fruit-knowledge-intro>a{color:#e8610b;font-size:13px;font-weight:800;text-decoration:none}
.home-fruit-knowledge-intro>a:hover,.home-fruit-knowledge-intro>a:focus-visible{text-decoration:underline}
.home-fruit-knowledge-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;min-width:0}
.home-fruit-knowledge-cards a{display:flex;flex-direction:column;justify-content:center;min-width:0;min-height:110px;padding:11px 13px;border:1px solid #dce8ef;border-radius:10px;background:#f9fcff;color:#24344b;text-decoration:none;transition:border-color .2s,transform .2s}
.home-fruit-knowledge-cards a:hover,.home-fruit-knowledge-cards a:focus-visible{transform:translateY(-2px);border-color:#f6954b}
.home-fruit-knowledge-symbol{display:grid;place-items:center;width:46px;height:42px;margin-bottom:3px;font-size:23px;line-height:1.2}
.home-fruit-knowledge-symbol img{display:block;width:100%;height:100%;object-fit:contain}
.home-fruit-knowledge-cards strong{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}
.home-fruit-knowledge-cards small{overflow:hidden;margin-top:3px;color:#637b90;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
html[data-theme=dark] .xj-home .home-fruit-knowledge{border-color:#8a542b;background:linear-gradient(110deg,#3a2b25,#1b2833 52%,#17242f);box-shadow:none}
html[data-theme=dark] .xj-home .home-fruit-knowledge-eyebrow,html[data-theme=dark] .xj-home .home-fruit-knowledge-intro>a{color:#ff8b38}
html[data-theme=dark] .xj-home .home-fruit-knowledge-intro h2,html[data-theme=dark] .xj-home .home-fruit-knowledge-cards strong{color:#f2f6f8}
html[data-theme=dark] .xj-home .home-fruit-knowledge-intro p,html[data-theme=dark] .xj-home .home-fruit-knowledge-cards small{color:#b6c8d6}
html[data-theme=dark] .xj-home .home-fruit-knowledge-cards a{border-color:#314858;background:#192c39;color:#f2f6f8}
html[data-theme=dark] .xj-home .home-fruit-knowledge-cards a:hover,html[data-theme=dark] .xj-home .home-fruit-knowledge-cards a:focus-visible{border-color:#f6954b}
@media(max-width:850px){.home-dashboard-grid>.home-fruit-knowledge{grid-template-columns:1fr}.home-fruit-knowledge-cards a{min-height:95px}}
@media(max-width:550px){.home-dashboard-grid>.home-fruit-knowledge{gap:14px;padding:16px}.home-fruit-knowledge-intro h2{font-size:19px}.home-fruit-knowledge-cards{gap:6px}.home-fruit-knowledge-cards a{min-height:94px;padding:9px 7px}.home-fruit-knowledge-cards strong{font-size:12px}.home-fruit-knowledge-cards small{font-size:10px}.home-fruit-knowledge-symbol{width:40px;height:38px;font-size:20px}}
.home-hot-products.is-processed .home-hot-list{grid-template-columns:repeat(4,minmax(0,1fr))}
.home-hot-products.is-processed .home-hot-item{min-height:82px}
.home-hot-products.is-processed .home-hot-volume{color:#f17121}
.home-hot-products.is-processed .home-hot-volume b{font-size:20px}
.home-hot-preview-badge{display:inline-flex;margin:0 0 10px;padding:5px 9px;border:1px solid #f7c399;border-radius:999px;background:#fff1e4;color:#a4490c;font-size:11px;font-weight:800}
html[data-theme=dark] .xj-home .home-hot-preview-badge{border-color:#8d5a37;background:#3b2b22;color:#ffb77f}
@media(max-width:1100px){.home-hot-products.is-processed .home-hot-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.home-hot-products.is-processed .home-hot-list{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Compact editorial dashboard: market panels first, vertical ranking at right. */
.xj-home .home-dashboard-grid{align-items:stretch}
.xj-home .home-dashboard-primary{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:14px;align-items:stretch;min-width:0}
.xj-home .home-dashboard-primary>.home-hot-products{grid-column:1/-1;grid-row:2}
.xj-home .home-dashboard-primary>.home-quote{grid-column:1;grid-row:1}
.xj-home .home-dashboard-primary>.home-market-table{grid-column:2;grid-row:1}
.xj-home .home-dashboard-primary>.home-din-observation{grid-column:1/-1;grid-row:3}
.xj-home .home-dashboard-primary>.home-card{height:auto;min-height:0}
.xj-home .home-dashboard-primary>.home-market-table{align-self:stretch;display:flex;flex-direction:column}
.xj-home .home-dashboard-primary>.home-market-table .home-market-summary{margin:12px 0 0}
.xj-home .home-dashboard-primary>.home-market-table .home-market-chart-button{align-self:flex-start}
.xj-home .home-market-sample-list{margin:15px 0 10px;min-width:0}
.xj-home .home-market-sample-list>span{display:block;margin-bottom:7px;color:#6e7b75;font-size:11px}
.xj-home .home-market-sample-list>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.xj-home .home-market-sample-list>div>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:8px 10px;border:1px solid #e3e0d8;border-radius:8px;background:#f8f6f1;color:#35443f;font-size:11px}
html[data-theme=dark] .xj-home .home-market-sample-list>span{color:#9daebc}
html[data-theme=dark] .xj-home .home-market-sample-list>div>span{border-color:#344452;background:#20313e;color:#dce7ed}
.xj-home .home-market-chart-button{display:inline-flex;align-items:center;position:static;margin:0 0 12px;background:#f36d16;color:#fff;text-decoration:none}
.xj-home .home-market-table>.home-footnote{margin:0;line-height:1.6}
.xj-home .home-dashboard-primary .home-quote-main{justify-content:center;gap:clamp(12px,2vw,28px)}
.xj-home .home-quote-feature{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(205px,.8fr);align-items:stretch;gap:12px}
.xj-home .home-quote-feature .home-quote-main{justify-content:flex-start;min-width:0;gap:12px}
.xj-home .home-quote-feature .home-durian-art{width:112px;height:112px;flex-basis:112px}
.xj-home .home-quote-feature .home-big-price{font-size:36px}
.xj-home .home-quote-feature .home-big-price small{font-size:14px}
.xj-home .home-quote-history{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:7px;padding:10px 11px;border:1px solid #e5e9eb;border-radius:10px;background:#fafbfd}
.xj-home .home-quote-history-head{display:flex;align-items:baseline;justify-content:space-between;gap:5px}
.xj-home .home-quote-history-head strong{font-size:11px}
.xj-home .home-quote-history-head small,.xj-home .home-quote-history-note{color:#748391;font-size:9px}
.xj-home .home-quote-history-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.xj-home .home-quote-history-list>div{display:flex;justify-content:space-between;align-items:center;gap:4px;min-width:0;padding:6px 7px;border:1px solid #e5e9eb;border-radius:7px;background:#fff}
.xj-home .home-quote-history-list time{color:#677889;font-size:10px}
.xj-home .home-quote-history-list strong{font-size:11px;font-variant-numeric:tabular-nums}
.xj-home .home-quote-history-list>div:first-child{border-color:#f5c49f;background:#fff3e9;color:#c45112}
html[data-theme=dark] .xj-home .home-quote-history{border-color:#344452;background:#1c2b37}
html[data-theme=dark] .xj-home .home-quote-history-list>div{border-color:#354653;background:#20313e}
html[data-theme=dark] .xj-home .home-quote-history-list>div:first-child{border-color:#78503b;background:#3a2d27;color:#ff9b57}
html[data-theme=dark] .xj-home .home-quote-history-list time{color:#a8bac7}
@media(max-width:1250px){.xj-home .home-quote-feature{grid-template-columns:minmax(0,1fr)}.xj-home .home-quote-history{padding:8px 10px}}
.xj-home .home-hot-products.is-processed .home-hot-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.xj-home .home-hot-products.is-processed .home-hot-item{display:grid;grid-template-columns:30px minmax(0,1fr) 54px 42px;grid-template-rows:auto;gap:7px;align-items:center;min-height:48px;padding:7px 9px}
.xj-home .home-hot-item:nth-child(-n+3){background:linear-gradient(100deg,#fff1e3,#fafbfd)}
.xj-home .home-hot-rank{grid-column:1;grid-row:1;align-self:center;display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#ffead8;color:#d85a0d;font-size:12px;font-variant-numeric:tabular-nums}
.xj-home .home-hot-item:nth-child(-n+3) .home-hot-rank{background:#f97316;color:#fff}
.xj-home .home-hot-copy{grid-column:2;grid-row:1;gap:2px}
.xj-home .home-hot-copy strong{font-size:13px}
.xj-home .home-hot-copy small{font-size:9px}
.xj-home .home-hot-bar{grid-column:3;grid-row:1;height:5px}
.xj-home .home-hot-volume{grid-column:4;grid-row:1;display:grid;justify-items:end;gap:0}
.xj-home .home-hot-products.is-processed .home-hot-volume b{font-size:17px;font-variant-numeric:tabular-nums}
.xj-home .home-hot-volume small{font-size:8px;white-space:nowrap}
.xj-home .home-hot-note{margin:12px 0 0;font-size:10px;line-height:1.55}
.xj-home .home-arrival-customs-stack{grid-column:1/-1;grid-template-rows:auto}
.xj-home .home-dashboard-grid>.home-news,.xj-home .home-dashboard-grid>.home-decision-tools{grid-column:span 18}
.xj-home .home-dashboard-grid>.home-sidebar{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:0;align-items:stretch;overflow:hidden;border:1px solid #dfe5ee;border-radius:12px}
.xj-home .home-sidebar>.home-mobile-promo,.xj-home .home-sidebar>.home-tools{min-height:170px;min-width:0;border:0;border-radius:0}
.xj-home .home-sidebar>.home-mobile-promo{justify-content:flex-start;align-items:center;gap:clamp(16px,2.5vw,32px);padding:18px 22px}
.xj-home .home-sidebar .home-app-qr{flex:0 0 94px}
.xj-home .home-promo-message{position:relative;z-index:2;display:grid;gap:9px;max-width:380px;margin-left:clamp(18px,3vw,48px);color:#fff;text-shadow:0 2px 7px #a83b1733}
.xj-home .home-promo-message strong{font-size:clamp(22px,2vw,31px);line-height:1.2;letter-spacing:.03em}
.xj-home .home-promo-message span{font-size:13px;line-height:1.6;color:#fff8ed}
.xj-home .home-sidebar .home-promo-cat{right:4%;bottom:-24px;width:220px;height:180px;background-size:auto 225px;opacity:.28}
html[data-theme=dark] .xj-home .home-dashboard-grid>.home-sidebar{border-color:#2a3845}
@media(max-width:900px) and (min-width:651px){.xj-home .home-promo-message{max-width:240px;margin-left:0}.xj-home .home-promo-message strong{font-size:22px}.xj-home .home-promo-message span{font-size:11px}}
html[data-theme=dark] .xj-home .home-hot-item:nth-child(-n+3){background:linear-gradient(100deg,#342921,#1b2833)}
html[data-theme=dark] .xj-home .home-hot-rank{background:#473222;color:#ffb277}
html[data-theme=dark] .xj-home .home-hot-item:nth-child(-n+3) .home-hot-rank{background:#f97316;color:#fff}
@media(max-width:1250px){
 .xj-home .home-dashboard-primary{grid-template-columns:repeat(2,minmax(0,1fr))}
 .xj-home .home-dashboard-primary>.home-hot-products{grid-column:1/-1;grid-row:2}
 .xj-home .home-dashboard-primary>.home-quote{grid-column:1;grid-row:1}
 .xj-home .home-dashboard-primary>.home-market-table{grid-column:2;grid-row:1}
 .xj-home .home-dashboard-primary>.home-din-observation{grid-column:1/-1;grid-row:3}
}
@media(max-width:1100px){.xj-home .home-hot-products.is-processed .home-hot-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){
 .xj-home .home-arrival-customs-stack{grid-column:1/-1}
 .xj-home .home-dashboard-grid>.home-news,.xj-home .home-dashboard-grid>.home-decision-tools{grid-column:span 1}
 .xj-home .home-dashboard-grid>.home-sidebar{grid-column:1/-1}
}
@media(max-width:650px){
 .xj-home .home-dashboard-primary{grid-template-columns:minmax(0,1fr);gap:10px}
 .xj-home .home-dashboard-primary>.home-hot-products,.xj-home .home-dashboard-primary>.home-quote,.xj-home .home-dashboard-primary>.home-market-table,.xj-home .home-dashboard-primary>.home-din-observation{grid-column:1;grid-row:auto}
 .xj-home .home-hot-products.is-processed .home-hot-list{grid-template-columns:minmax(0,1fr)}
 .xj-home .home-dashboard-primary .home-quote-main{justify-content:flex-start;gap:10px}
 .xj-home .home-dashboard-primary .home-durian-art{width:95px;height:95px;flex-basis:95px}
 .xj-home .home-dashboard-primary .home-big-price{font-size:36px}
 .xj-home .home-dashboard-primary .home-big-price small{font-size:13px}
 .xj-home .home-dashboard-primary .home-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .xj-home .home-dashboard-grid>.home-sidebar{grid-column:1;grid-template-columns:minmax(0,1fr)}
 .xj-home .home-sidebar>.home-mobile-promo{display:grid;grid-template-columns:max-content 94px;justify-content:start;align-content:center;gap:12px 18px;min-height:210px;padding:16px}
 .xj-home .home-sidebar>.home-tools{min-height:160px}
 .xj-home .home-promo-message{grid-column:1/-1;max-width:300px;margin:0;gap:4px}
 .xj-home .home-promo-message strong{font-size:20px}
 .xj-home .home-promo-message span{font-size:11px}
 .xj-home .home-sidebar .home-promo-cat{right:-32px;bottom:-15px;width:135px;height:115px;background-size:auto 155px;opacity:.2}
}
