/* Asset profile family. TradingView profile hierarchy, with IranPhi data and RTL. */
.profile-page{--profile-tabs-height:56px;padding-bottom:50px}
.profile-page :is(section[id],h2[id],h3[id],input,select,[tabindex]){scroll-margin-top:calc(var(--profile-tabs-height) + 12px)}
.profile-page .crumbs{padding-top:24px;font-size:12px}
.profile-page>.quote{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"identity actions" "price range";align-items:center;gap:20px 36px;margin:22px 0 20px;padding:0 0 16px;background:var(--bg);border:0}
.profile-page .quote-id{grid-area:identity;gap:20px}
.profile-page .quote-id>.ico.big.asset-pictogram{width:112px;height:112px;border-radius:50%;flex:none;background:var(--surface-2)}
.profile-page .quote-name h1{font-size:36px;line-height:1.45;font-weight:600;letter-spacing:0;overflow-wrap:anywhere}
.profile-page .quote-name p{font-size:13px;margin-top:8px;line-height:1.9}
.profile-page .quote-id>.star{width:44px;height:44px;border:1px solid var(--line);border-radius:10px;align-self:center;margin-inline-start:2px}
.profile-page .quote-id>.star svg{width:20px;height:20px}
.profile-page .quote-px{grid-area:price}
.profile-page .px-line{gap:5px 12px}
.profile-page .px{font-size:42px;line-height:1.35;font-weight:550;letter-spacing:0;padding:0 4px;margin-inline-start:-4px;direction:ltr;unicode-bidi:isolate}
.profile-page .px-line>small{font-size:15px;color:var(--text)}
.profile-page .px-line .chg{font-size:20px;font-weight:500}
.profile-page .px-meta{margin-top:3px;gap:6px 12px}
.profile-page .px-meta .quote-time{font-size:12px}
.profile-page .market-tag{border:0;padding:2px 0;font-size:12px}
.profile-hero-actions{grid-area:actions;display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.profile-hero-actions a{min-height:44px;display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid var(--line);border-radius:8px;font-size:12.5px;color:var(--text);white-space:nowrap;transition:background-color .15s,border-color .15s}
.profile-hero-actions a:hover{border-color:var(--line-strong);background:var(--surface-2)}
.profile-hero-actions .profile-primary-action{background:var(--surface-2);border-color:var(--surface-2);color:var(--ink)}
.profile-hero-actions svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
.profile-page .quote-range{grid-area:range;display:grid;grid-template-columns:minmax(220px,280px) auto;gap:2px 18px;justify-content:end;align-items:center}
.profile-range-label{grid-column:1;font-size:11px;color:var(--muted)}
.profile-page .quote-range .range.wide{width:100%;grid-column:1}
.profile-page .quote-range .range.wide svg{width:100%;height:10px}
.profile-page .quote-range .rl{gap:20px;font-size:12px;line-height:1.9}
.profile-page .quote-range .rl>span{display:flex;flex-direction:column;align-items:flex-start}
.profile-page .quote-range .rl>span:last-child{align-items:flex-end}
.profile-page .quote-range .rl small{font-size:10px;color:var(--muted);margin:0}
.profile-page .quote-range .seg{grid-column:2;grid-row:1/3}
.profile-page .quote-range .seg button{min-height:44px;padding:8px 11px;font-size:12px}
.profile-page>.tabs{position:sticky;top:calc(var(--header-height) + var(--sitenav-height));z-index:20;background:var(--bg);margin:12px 0 32px;border-bottom:2px solid var(--line)}
.profile-page>.tabs ul{gap:22px;padding:4px 4px 0;scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent}
.profile-page>.tabs a{padding:12px 0 13px;min-height:48px;font-size:14px;font-weight:500;border-bottom-width:3px;margin-bottom:-2px}
.profile-page>.tabs a:focus-visible{outline-offset:-3px}
.profile-page>.tabs a[aria-current=page]{border-bottom-color:var(--ink);font-weight:650}
.profile-page .panel{padding:0;background:var(--bg);border:0;border-radius:0;min-width:0}
.profile-page .panel-head{align-items:flex-start;gap:16px 26px;margin-bottom:26px}
.profile-page .panel-head>div{min-width:0}
.profile-page .panel-head h2{font-size:28px;line-height:1.5;font-weight:600;letter-spacing:0;margin:0}
.profile-kicker{font-size:11.5px;color:var(--muted);margin-bottom:5px}
.profile-section-description{font-size:13px;color:var(--muted);line-height:1.9;max-width:72ch;margin-top:7px}
.profile-basis-label{font-size:12px;color:var(--muted);line-height:1.9;align-self:center}
.profile-text-link{display:inline-flex;align-items:center;gap:10px;font-size:12.5px;color:var(--text);min-height:44px;white-space:nowrap}
.profile-text-link:hover{color:var(--brand)}
.profile-text-link>span{font-size:24px;line-height:1}
.profile-page .fine{font-size:12px;line-height:2;color:var(--muted)}
.profile-page .profile-data-note{margin-top:16px;max-width:100ch}
.profile-page .profile-overview-stack{display:grid;grid-template-columns:1fr;gap:52px;margin:0}
.profile-page .chart{height:380px;width:calc(100% - 84px);margin:6px 84px 0 0;border-radius:0;background:var(--bg)}
.profile-page .chart svg{color:var(--spark)}
.profile-page .chart .gl{opacity:.45;stroke-width:.7;stroke-dasharray:2 7}
.profile-page .chart .line{stroke-width:2}
.profile-page .chart .area{opacity:.1}
.profile-page .axis{left:auto;right:-84px;width:80px;text-align:right;background:transparent;padding:0;font-size:11px;color:var(--text)}
.profile-page .axis.hi{top:6px}.profile-page .axis.lo{bottom:6px}
.profile-page .chart-foot{margin:13px 84px 0 0;font-size:11px}
.profile-page .profile-chart-section .chart{height:430px}
.profile-page .profile-chart-section .area{fill:url(#profilePriceFill);opacity:1}
.profile-chart-controls{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px 24px;margin-top:22px}
.profile-page .periods{gap:6px;padding:4px 0}
.profile-page .periods .chip,.profile-page .chip.sm{min-height:44px;height:auto;padding:9px 15px;border-radius:8px;border-color:transparent;background:transparent;font-size:12.5px}
.profile-page .periods .chip:hover{background:var(--surface-2)}
.profile-page .periods .chip[aria-pressed=true]{background:var(--surface-2);border-color:var(--surface-2);font-weight:600;color:var(--ink)}
.profile-page .profile-stats-section .stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 28px}
.profile-page .profile-stats-section .stats>div{display:block;padding:22px 0;border-top:1px solid var(--line)}
.profile-page .profile-stats-section .stats dt{font-size:12px;line-height:1.8;margin-bottom:8px}
.profile-page .profile-stats-section .stats dd{font-size:23px;line-height:1.5;font-weight:500;overflow-wrap:anywhere}
.profile-page .profile-stats-section .stats dd small{font-size:11px}
.profile-page .profile-next-links{grid-template-columns:repeat(3,minmax(0,1fr));border:0;padding-top:24px;margin-top:6px;gap:28px}
.profile-next-links a{display:flex;flex-direction:column;gap:7px;padding-top:18px;border-top:1px solid var(--line);min-height:90px}
.profile-next-links strong{font-size:16px;line-height:1.8;font-weight:500;color:var(--ink);display:flex;justify-content:space-between;gap:10px}
.profile-next-links strong span{font-size:24px}
.profile-next-links small{font-size:12px;color:var(--muted);line-height:1.8}
.profile-page .tbl-wrap,.profile-peer-table{overflow-x:auto;padding-bottom:6px;scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent;max-width:100%}
.profile-page .tbl{font-size:14px;min-width:680px}
.profile-page .tbl th,.profile-page .tbl td{padding:17px 16px;border-bottom:1px solid var(--line)}
.profile-page .tbl th:first-child{padding-inline-start:0;text-align:right}
.profile-page .tbl td,.profile-page .tbl .num,.profile-page .tbl thead th:not(:first-child){text-align:left}
.profile-page .tbl td:last-child,.profile-page .tbl th:last-child{padding-inline-end:0}
.profile-page .tbl thead th{font-size:11.5px;font-weight:400;background:var(--bg);color:var(--muted);padding-top:12px;padding-bottom:12px}
.profile-page .tbl .num{font-weight:500;font-size:15px}
.profile-page .tbl tbody th{font-size:13px;font-weight:500}
.profile-page .tbl tbody tr:last-child>*{border-bottom:1px solid var(--line)}
.profile-page .tbl .chg{font-size:13px;white-space:nowrap}
.profile-page .cell-stack{align-items:flex-end;gap:5px}
.profile-page .cell-stack small{font-size:11px;font-weight:400}
.profile-page .tbl .spark{margin-inline-start:auto;width:125px;height:34px}
.profile-page .tbl .c-spark{display:table-cell}
.profile-page .tbl tr.live-row>*{background:var(--surface-2)}
.profile-page .tbl tr.live-row th{padding-inline-start:12px}
.profile-data-facts{display:flex;gap:36px;flex-wrap:wrap;margin:0 0 22px;padding:20px 0;border-block:1px solid var(--line)}
.profile-data-facts>div{display:flex;align-items:baseline;gap:10px}
.profile-data-facts dt{font-size:12px;color:var(--muted)}
.profile-data-facts dd{margin:0;font-size:15px;font-weight:500;color:var(--ink)}
.profile-performance-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin:0 0 30px}
.profile-performance-cards>div{position:relative;min-height:130px;padding:18px 0;border-block:1px solid var(--line);overflow:hidden}
.profile-performance-period{font-size:13px;color:var(--muted)}
.profile-performance-number .chg{font-size:29px;font-weight:500;margin-top:8px}
.profile-performance-number .tri{width:10px;height:10px}
.profile-performance-cards small{font-size:11px;color:var(--muted);display:block;margin-top:5px}
.profile-performance-cards .spark{position:absolute;bottom:28px;left:0;width:38%;height:48px}
.profile-performance-section .tbl{min-width:840px}
.profile-page .profile-indicator-sections{gap:52px;grid-template-columns:1fr;margin-bottom:0}
.profile-methods{display:flex;align-items:center;flex-wrap:wrap;gap:24px 48px;padding:18px 0;margin-bottom:20px;border-block:1px solid var(--line)}
.profile-methods h3{font-size:14px;font-weight:500;color:var(--ink);margin:0 0 5px}
.profile-methods p{font-size:12px;color:var(--muted)}
.profile-methods>.profile-basis-label{margin-inline-start:auto}
.profile-page .sig{font-size:11.5px;font-weight:400;padding:5px 10px}
.profile-page .profile-pivot-section .tbl{min-width:520px}
.profile-page .profile-pivot-section .tbl td{font-size:17px}
.profile-page .profile-pivot-section .tbl .pp>*{background:var(--surface-2);font-weight:600}
.profile-page .profile-pivot-section .tbl .pp th{padding-inline-start:12px}
.profile-page .profile-capital-entry{gap:16px;align-items:flex-end;margin:0 0 30px;padding:24px 0;border-block:1px solid var(--line)}
.profile-capital-field{display:flex;flex-direction:column;gap:10px;min-width:0;max-width:100%}
.profile-page .profile-capital-field label{font-size:13px;color:var(--text)}
.profile-capital-control{display:flex;align-items:center;gap:12px;background:var(--surface-2);border:1px solid transparent;border-radius:10px;padding:0 16px;width:360px;max-width:100%}
.profile-capital-control:focus-within{border-color:var(--brand);outline:2px solid var(--brand);outline-offset:2px}
.profile-page .profile-capital-control input{border:0;background:none;font-size:25px;font-weight:500;height:60px;padding:0;flex:1;width:0;min-width:0;outline:0}
.profile-capital-control>span{font-size:13px;color:var(--muted)}
.profile-page .profile-capital-entry .chip{border:1px solid var(--line);min-height:44px;margin-bottom:8px}
.profile-capital-entry>p{font-size:12px;color:var(--muted);margin:0 0 20px}
.profile-capital-entry>.msg{width:100%}
.profile-profitloss-section .tbl{min-width:800px}
.profile-page .profile-peer-section{background:var(--bg);border:0;border-radius:0}
.profile-page .profile-peer-section .grid{min-width:850px;table-layout:auto}
.profile-peer-section .grid .c-range,.profile-peer-section .grid .c-time{display:table-cell}
.profile-peer-section .grid .c-asset{min-width:230px}
.profile-peer-section .nm small{display:block}
.profile-peer-section .grid thead th{background:var(--bg);font-weight:400}
.profile-peer-section .grid td,.profile-peer-section .grid th{padding-top:18px;padding-bottom:18px}
.profile-peer-section .asset .star{width:44px;height:44px}
.profile-page .empty{min-height:180px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px 16px;background:var(--surface-2);border-radius:12px}
.profile-page .empty strong{font-size:17px;font-weight:500;line-height:1.9}
.profile-page .empty p{max-width:56ch}
.profile-page .tip{border-radius:7px;box-shadow:none}
@media(max-width:1100px){.profile-page>.quote{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"identity actions" "price range";gap:20px}.profile-page .quote-id>.ico.big.asset-pictogram{width:96px;height:96px}.profile-page .quote-name h1{font-size:32px}.profile-page .quote-range{grid-template-columns:minmax(200px,230px) auto;gap:2px 12px}.profile-hero-actions{flex-direction:column;align-items:stretch}.profile-hero-actions a{justify-content:center}.profile-page .profile-stats-section .stats{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-page .profile-chart-section .chart{height:380px}}
@media(max-width:820px){.profile-page>.quote{grid-template-areas:"identity actions" "price price" "range range";grid-template-columns:minmax(0,1fr) auto;padding-bottom:10px}.profile-page .quote-id{gap:14px}.profile-page .quote-id>.ico.big.asset-pictogram{width:80px;height:80px}.profile-page .quote-name h1{font-size:29px}.profile-page .px{font-size:38px}.profile-page .quote-range{grid-template-columns:minmax(240px,1fr) auto;max-width:100%;width:100%}.profile-page .quote-range .range.wide{max-width:360px}.profile-page .quote-range .seg{justify-self:end}.profile-page .panel-head h2{font-size:25px}.profile-page .profile-chart-section .chart{height:330px}.profile-page .chart{height:290px}.profile-page .profile-next-links{gap:20px}.profile-performance-cards{gap:18px}.profile-performance-cards .spark{width:30%}.profile-performance-number .chg{font-size:25px}.profile-methods{gap:20px 32px}.profile-page .tbl th,.profile-page .tbl td{padding-block:15px}.profile-page>.tabs ul{gap:20px}.profile-page>.tabs{margin-bottom:28px}}
@media(max-width:600px){.profile-page{padding-bottom:36px}.profile-page .crumbs{padding-top:18px}.profile-page>.quote{grid-template-columns:minmax(0,1fr);grid-template-areas:"identity" "price" "actions" "range";gap:16px;margin-top:20px}.profile-page .quote-name h1{font-size:27px}.profile-page .quote-name p{font-size:11.5px;margin-top:5px}.profile-page .quote-id{gap:12px}.profile-page .quote-id>.ico.big.asset-pictogram{width:64px;height:64px}.profile-page .quote-id>.star{margin-inline-start:auto}.profile-page .px{font-size:34px}.profile-page .px-line>small{font-size:13px}.profile-page .px-line .chg{font-size:17px}.profile-hero-actions{flex-direction:row;justify-content:flex-start}.profile-hero-actions a{font-size:12px;flex:1;padding-inline:10px}.profile-page .quote-range{grid-template-columns:minmax(0,1fr) auto;gap:3px 14px}.profile-page .quote-range .range.wide{max-width:none}.profile-page .quote-range .seg{grid-column:2;grid-row:1/3}.profile-page .quote-range .seg button{font-size:11px;padding-inline:8px}.profile-page .quote-range .rl{font-size:11px;gap:10px}.profile-range-label{font-size:10.5px}.profile-page>.tabs{margin-bottom:26px}.profile-page>.tabs ul{gap:21px}.profile-page>.tabs a{font-size:13px;min-height:46px;padding-bottom:12px}.profile-page .panel-head{gap:8px;margin-bottom:20px}.profile-page .panel-head h2{font-size:23px;line-height:1.6}.profile-section-description{font-size:12px}.profile-kicker{font-size:10.5px}.profile-basis-label{font-size:11px}.profile-text-link{font-size:12px}.profile-page .chart{width:calc(100% - 68px);margin-right:68px;height:245px}.profile-page .profile-chart-section .chart{height:280px}.profile-page .axis{right:-68px;width:64px;font-size:10px}.profile-page .chart-foot{margin-right:68px;font-size:10px}.profile-chart-controls{gap:6px;align-items:flex-start;margin-top:16px}.profile-page .periods{gap:2px}.profile-page .periods .chip{padding-inline:10px;font-size:11.5px}.profile-page .profile-overview-stack{gap:38px}.profile-page .profile-stats-section .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.profile-page .profile-stats-section .stats>div{padding:16px 0}.profile-page .profile-stats-section .stats dt{font-size:11px}.profile-page .profile-stats-section .stats dd{font-size:18px}.profile-page .profile-stats-section .stats dd small{font-size:10px}.profile-page .profile-next-links{grid-template-columns:1fr;gap:8px}.profile-next-links a{padding-top:16px;min-height:76px}.profile-next-links strong{font-size:15px}.profile-data-facts{gap:16px 24px;padding:16px 0}.profile-data-facts>div{gap:8px}.profile-data-facts dt{font-size:11px}.profile-data-facts dd{font-size:13px}.profile-page .tbl{font-size:13px}.profile-page .tbl .num{font-size:14px}.profile-performance-cards{gap:12px;grid-template-columns:repeat(3,minmax(0,1fr));overflow-x:auto}.profile-performance-cards>div{min-width:0;min-height:138px;padding-top:12px}.profile-performance-period{font-size:11px}.profile-performance-number .chg{font-size:21px}.profile-performance-cards small{font-size:10px;line-height:1.8}.profile-performance-cards .spark{display:none}.profile-performance-number .tri{display:none}.profile-page .profile-indicator-sections{gap:36px}.profile-methods{gap:16px;align-items:flex-start}.profile-methods>div{flex:1;min-width:120px}.profile-methods>.profile-basis-label{width:100%;margin:0}.profile-methods h3{font-size:12px}.profile-methods p{font-size:11px}.profile-page .profile-capital-entry{gap:10px;padding:20px 0}.profile-capital-field{width:100%}.profile-capital-control{width:100%;height:58px}.profile-page .profile-capital-control input{font-size:23px}.profile-capital-entry>p{margin:0;font-size:11px}.profile-page .profile-capital-entry .chip{margin:0}.profile-page .profile-peer-section .grid{min-width:740px}.profile-page .empty{min-height:160px}.profile-page .empty strong{font-size:15px}}
@media(prefers-reduced-motion:reduce){.profile-page .star,.profile-hero-actions a{transition:none}}
