/* Jaisandar Visual 150 · usability / product passport */

/* Mobile primary rubrics: restore the calm 145 geometry. */
@media(max-width:780px){
 body.home .rubric-tabs{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-auto-flow:column!important;grid-template-rows:68px!important;align-items:stretch!important;gap:6px!important;width:100%!important;margin:0 0 9px!important;padding:5px!important;overflow:hidden!important;box-sizing:border-box!important}
 body.home .rubric-tabs .rubric-button[data-rubric="trade"],body.home .rubric-tabs .rubric-button[data-rubric="analytics"],body.home .rubric-tabs .rubric-more-button{display:none!important}
 body.home .rubric-tabs .rubric-button[data-rubric="home"],body.home .rubric-tabs .rubric-button[data-rubric="market"],body.home .rubric-tabs .rubric-button[data-rubric="economy"],body.home .rubric-tabs .rubric-button[data-rubric="banking"],body.home .rubric-tabs .rubric-button[data-rubric="rating"]{display:flex!important;position:relative!important;inset:auto!important;transform:none!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-width:0!important;width:100%!important;max-width:none!important;height:68px!important;min-height:68px!important;margin:0!important;padding:5px 2px 4px!important;gap:4px!important;border-radius:12px!important}
 body.home .rubric-tabs .rubric-button[data-rubric="home"]{order:1!important}body.home .rubric-tabs .rubric-button[data-rubric="market"]{order:2!important}body.home .rubric-tabs .rubric-button[data-rubric="economy"]{order:3!important}body.home .rubric-tabs .rubric-button[data-rubric="banking"]{order:4!important}body.home .rubric-tabs .rubric-button[data-rubric="rating"]{order:5!important}
 body.home .rubric-tabs .rubric-button>span{display:block!important;width:100%!important;min-width:0!important;margin:0!important;text-align:center!important;white-space:normal!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:.51rem!important;line-height:1.03!important}
 body.home .rubric-tabs .rubric-button>i,body.home .rubric-tabs .rubric-button>.rubric-motion-icon{display:grid!important;place-items:center!important;width:33px!important;height:33px!important;min-width:33px!important;min-height:33px!important;flex:0 0 33px!important;margin:0!important}
}
@media(max-width:390px){body.home .rubric-tabs{grid-template-rows:64px!important;gap:4px!important;padding:4px!important}body.home .rubric-tabs .rubric-button[data-rubric="home"],body.home .rubric-tabs .rubric-button[data-rubric="market"],body.home .rubric-tabs .rubric-button[data-rubric="economy"],body.home .rubric-tabs .rubric-button[data-rubric="banking"],body.home .rubric-tabs .rubric-button[data-rubric="rating"]{height:64px!important;min-height:64px!important}body.home .rubric-tabs .rubric-button>i,body.home .rubric-tabs .rubric-button>.rubric-motion-icon{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;flex-basis:30px!important}body.home .rubric-tabs .rubric-button>span{font-size:.47rem!important}}

/* Compact filter surface. Pink is reserved for search/action emphasis, not the whole dashboard. */
body.home[data-jai-rubric="trade"]{background:#f4f1f2!important;background-image:linear-gradient(180deg,#faf8f8 0%,#f1eeee 100%)!important}
body.home[data-jai-rubric="trade"] .trade-stage{background:linear-gradient(145deg,#ffffff,#f8f5f6)!important;border-color:#ded7da!important;box-shadow:0 18px 42px rgba(30,38,44,.07)!important}
.jtp-time-layout{grid-template-columns:minmax(0,1.65fr) minmax(280px,.82fr)!important;gap:7px!important}.jtp-toolbar,.jtp-control-rail{padding:9px 10px!important;border:1px solid #e2e5e7!important;background:#fff!important;box-shadow:none!important}.jtp-toolbar-head{margin-bottom:5px!important}.jtp-control-block{padding:7px 0!important}.jtp-control-group{padding:5px 4px!important}.jtp-control-group+.jtp-control-group{border-top:1px solid #edf0f2!important}.jtp-segment{background:#f2f5f6!important;border-color:#e0e6e8!important}.jtp-segment button.is-active{background:#1e6870!important;color:#fff!important;box-shadow:0 4px 10px rgba(30,104,112,.16)!important}.jtp-level-seg button.is-active{background:#5967a8!important}.jtp-control-group[data-main-flow-control] .jtp-segment button.is-active{background:#1f7b69!important}

/* Year strip: no side chevrons; a subtle two-way cue tells readers that 2015–2026 can be swiped. */
.jtp-years-block .jtp-label{display:flex!important;align-items:center!important;gap:6px!important}.jtp-years-block .jtp-label:after{content:"↔  2015–2026";font-size:8px;font-weight:850;color:#89939a;letter-spacing:.02em}.jtp-year-strip{position:relative!important;overflow:hidden!important}.jtp-year-strip:before,.jtp-year-strip:after{content:"";position:absolute;z-index:5;top:0;bottom:0;width:18px;pointer-events:none}.jtp-year-strip:before{left:0;background:linear-gradient(90deg,#fff,transparent)}.jtp-year-strip:after{right:0;background:linear-gradient(-90deg,#fff,transparent)}.jtp-years button.is-active:before{content:none!important;display:none!important}.jtp-years button.is-active>i:before{content:"⌄"!important;position:absolute!important;left:50%!important;top:-17px!important;transform:translateX(-50%)!important;color:#315c73!important;font-size:15px!important;font-weight:900!important}.jtp-years button.is-active{background:#315c73!important;border-color:#315c73!important;color:#fff!important;box-shadow:0 7px 16px rgba(49,92,115,.18)!important}

/* Search boxes intentionally stand out. */
.jtp-search-card{background:linear-gradient(145deg,#fff1f5,#f9dfe8)!important;border:1px solid #e8b8c8!important;box-shadow:0 8px 18px rgba(128,48,77,.07)!important}.jtp-search-card:hover{border-color:#d88da6!important}.jtp-search-field input{background:#fff!important;border-color:#e3b5c4!important}.jtp-search-field input:focus{border-color:#b65475!important;box-shadow:0 0 0 3px rgba(182,84,117,.12)!important}.jtp-search-copy label,.jtp-search-orbit{color:#81304d!important}

/* Bar readability: larger visual gap between columns and vertical labels. */
.jtp-chart{padding-top:16px!important}.jtp-chart canvas{overflow:visible}.jtp-profile-trend,.jtp-trend-card,.jtp-region-chart-card,.jtp-compare-chart-card{overflow:visible!important}.j149-chart{padding-top:16px!important}

/* Product passport */
.j150-product-title{display:inline-flex;align-items:center;gap:9px}.j150-product-passport[hidden]{display:none!important}.j150-product-passport{margin:10px 0 14px;padding:14px;border:1px solid #e0e6e8;border-radius:20px;background:#fff}.j150-product-geo-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:10px}.j150-product-geo-head span{font-size:8px;font-weight:950;letter-spacing:.11em;color:#69808a}.j150-product-geo-head h3{margin:3px 0 2px;font-size:20px;line-height:1;color:#1f2c34}.j150-product-geo-head small{font-size:10px;color:#7b878e}.j150-product-geo-switch{display:flex;gap:4px;padding:3px;border:1px solid #e0e5e7;border-radius:12px;background:#f3f6f7}.j150-product-geo-switch button{min-height:36px;padding:0 16px;border:0;border-radius:9px;background:transparent;color:#65737b;font-size:9px;font-weight:950;cursor:pointer}.j150-product-geo-switch button.is-active[data-product-geo-flow="export"]{background:#16815f;color:#fff}.j150-product-geo-switch button.is-active[data-product-geo-flow="import"]{background:#d65d6d;color:#fff}.j150-product-geo-grid{display:grid;grid-template-columns:minmax(260px,.82fr) minmax(0,1.18fr);gap:12px}.j150-donut{height:360px;border:1px solid #edf0f2;border-radius:16px;background:#fbfcfc}.j150-product-country-list{display:grid;gap:5px;align-content:start}.j150-product-country-list button{display:grid;grid-template-columns:minmax(0,1fr) auto 52px;align-items:center;gap:10px;min-height:48px;padding:7px 10px;border:1px solid #e8edef;border-radius:12px;background:#fff;color:#243139;cursor:pointer;text-align:left}.j150-product-country-list button:hover{background:#f6faf9;border-color:#cbdcda}.j150-product-country-list button>span{display:flex;align-items:center;gap:8px;min-width:0}.j150-product-country-list b{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.j150-product-country-list strong{font-size:12px;color:#30363b}.j150-product-country-list em{font-size:9px;font-style:normal;font-weight:900;color:#7a868d;text-align:right}.j150-market-signals{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.j150-market-signals article{padding:12px;border-radius:14px;border:1px solid #e4e9eb;background:#f8fafb}.j150-market-signals article:first-child{background:#eef9f4;border-color:#cfe9dc}.j150-market-signals article:last-child{background:#fff3f4;border-color:#f1d4d8}.j150-market-signals span{display:block;font-size:8px;font-weight:950;letter-spacing:.07em;color:#75838b}.j150-market-signals strong{display:block;margin-top:6px;font-size:12px;line-height:1.35;color:#2e373d}

/* Interesting facts: large, readable and stable in active state. */
.jtp-insights-grid article,.jtp-insights-grid article:active,.jtp-insights-grid article:focus{color:#26343c!important;background:#fffaf0!important;border-color:#ead7a7!important}.jtp-insights-grid article>span{font-size:28px!important}.jtp-insights-grid small{font-size:10px!important;color:#806828!important}.jtp-insights-grid strong{font-size:21px!important;color:#2d3438!important}.jtp-insights-grid p{font-size:15px!important;line-height:1.5!important;color:#4d585f!important}.jtp-profile-toolnav>button{min-height:88px!important}.jtp-profile-toolnav>button>i{font-size:29px!important}.jtp-profile-toolnav>button span b{font-size:14px!important}.jtp-profile-toolnav>button span small{font-size:10px!important}.jtp-tool-products{background:#eef9f4!important;border-color:#c4e2d5!important;color:#176047!important}.jtp-tool-facts{background:#fff8e8!important;border-color:#eedca9!important;color:#755d19!important}.jtp-tool-export{background:#eef4ff!important;border-color:#ccd9f1!important;color:#2c5684!important}.jtp-profile-toolnav>button.is-active,.jtp-profile-toolnav>button:active{color:inherit!important}.jtp-profile-toolnav>button.is-active b,.jtp-profile-toolnav>button:active b,.jtp-profile-toolnav>button.is-active small,.jtp-profile-toolnav>button:active small{color:inherit!important}

/* Back button */
.jtp-back-trade{display:inline-flex!important;align-items:center!important;gap:9px!important;min-height:42px!important;padding:6px 14px 6px 7px!important;border:1px solid #cfd9dc!important;border-radius:999px!important;background:#fff!important;color:#24424f!important;font-size:9px!important;font-weight:950!important;box-shadow:0 5px 14px rgba(38,58,67,.07)!important}.jtp-back-trade i{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e8f2f3;color:#1f6870;font-style:normal;font-size:16px;transition:transform .18s ease}.jtp-back-trade:hover i{transform:translateX(-3px)}

@media(max-width:780px){.jtp-time-layout{grid-template-columns:1fr!important}.jtp-toolbar,.jtp-control-rail{padding:8px!important}.jtp-control-rail{display:grid!important;grid-template-columns:1fr!important}.jtp-year-strip,.jtp-months{overflow-x:auto!important;scrollbar-width:none!important}.jtp-year-strip::-webkit-scrollbar,.jtp-months::-webkit-scrollbar{display:none}.j150-product-geo-head{align-items:flex-start;flex-direction:column}.j150-product-geo-grid{grid-template-columns:1fr}.j150-donut{height:300px}.j150-market-signals{grid-template-columns:1fr}.j150-product-country-list button{grid-template-columns:minmax(0,1fr) auto 44px}.j150-product-country-list strong{font-size:11px}.jtp-insights-grid p{font-size:15px!important}.jtp-profile-toolnav>button{min-height:82px!important}.jtp-profile-toolnav>button span b{font-size:13px!important}}

/* 150 final: extra headroom for rotated bar values so adjacent labels never stick to the columns. */
.jtp-card:has(.jtp-chart) .jtp-chart,.j149-result .j149-chart{padding-top:24px!important}

.j150-product-geo-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.j150-product-geo-actions .jtp-png{min-height:42px!important;padding:0 14px!important;white-space:nowrap}.j150-product-geo-head .jtp-png{background:#fff!important;border:1px solid #dbe4e7!important;color:#1f5f67!important;box-shadow:none!important}.j150-product-geo-head .jtp-png:hover{background:#f4fbfb!important;border-color:#bdd4d8!important}.j150-product-geo-head .jtp-png:before{display:none!important}@media(max-width:780px){.j150-product-geo-actions{width:100%;justify-content:space-between}.j150-product-geo-actions .jtp-png{width:auto}}
