:root{--tg-safe-top: env(safe-area-inset-top, 0px);--tg-safe-right: env(safe-area-inset-right, 0px);--tg-safe-bottom: env(safe-area-inset-bottom, 0px);--tg-safe-left: env(safe-area-inset-left, 0px);--tgui--font-family:system-ui,-apple-system,BlinkMacSystemFont,"Roboto","Apple Color Emoji","Helvetica Neue",sans-serif;--tgui--font_weight--accent1:700;--tgui--font_weight--accent2:600;--tgui--font_weight--accent3:400;--tgui--large_title--font_size:34px;--tgui--large_title--line_height:42px;--tgui--title1--font_size:28px;--tgui--title1--line_height:36px;--tgui--title2--font_size:24px;--tgui--title2--line_height:32px;--tgui--title3--font_size:20px;--tgui--title3--line_height:24px;--tgui--headline--font_size:19px;--tgui--headline--line_height:28px;--tgui--text--font_size:17px;--tgui--text--line_height:26px;--tgui--subheadline1--font_size:16px;--tgui--subheadline1--line_height:24px;--tgui--subheadline2--font_size:15px;--tgui--subheadline2--line_height:22px;--tgui--caption1--font_size:13px;--tgui--caption1--line_height:20px;--tgui--caption2--font_size:11px;--tgui--caption2--line_height:16px;--tgui--border--width:1px;--tgui--base--section--box_shadow:0 1px 2px 0 rgba(0,0,0,.1);--tgui--bg_color:var(--tg-theme-bg-color,#fff);--tgui--text_color:var(--tg-theme-text-color,#000);--tgui--hint_color:var(--tg-theme-hint-color,#707579);--tgui--link_color:var(--tg-theme-link-color,#007aff);--tgui--button_color:var(--tg-theme-button-color,#007aff);--tgui--button_text_color:var(--tg-theme-button-text-color,#fff);--tgui--secondary_bg_color:var(--tg-theme-secondary-bg-color,#efeff4);--tgui--header_bg_color:var(--tg-theme-header-bg-color,#fff);--tgui--accent_text_color:var(--tg-theme-accent-text-color,#007aff);--tgui--section_bg_color:var(--tg-theme-section-bg-color,#fff);--tgui--section_header_text_color:var(--tg-theme-section-header-text-color,#707579);--tgui--subtitle_text_color:var(--tg-theme-subtitle-text-color,#707579);--tgui--destructive_text_color:var(--tg-theme-destructive-text-color,#e53935);--tgui--skeleton:hsla(0,0%,100%,.03);--tgui--divider:rgba(0,0,0,.15);--tgui--outline:rgba(0,0,0,.05);--tgui--surface_primary:hsla(0,0%,100%,.95);--tgui--tertiary_bg_color:#f4f4f7;--tgui--quartenary_bg_color:#f6f6fa;--tgui--segmented_control_active_bg:#fff;--tgui--card_bg_color:#fff;--tgui--secondary_hint_color:#a2acb0;--tgui--secondary_fill:rgba(67,120,255,.1);--tgui--green:#31d158;--tgui--destructive_background:#e53935;--tgui--primary_code_highlight:#4378ff;--tgui--secondary_code_highlight:#b00fb4;--tgui--tertiary_code_highlight:#3a9f20;--tgui--plain_background:rgba(0,0,0,.04);--tgui--plain_foreground:rgba(0,0,0,.8);--tgui--toast_accent_color:#55a6ff;--tgui--surface_dark:rgba(56,56,56,.85);--tooltip_background_dark:rgba(0,0,0,.85);--tgui--white:#fff;--tgui--black:#000;--tgui--z-index--simple:1;--tgui--z-index--skeleton:2;--tgui--z-index--overlay:3;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;color:var(--tgui--text_color)}@media(prefers-color-scheme:dark){:root{--tgui--bg_color:var(--tg-theme-bg-color,#212121);--tgui--text_color:var(--tg-theme-text-color,#fff);--tgui--hint_color:var(--tg-theme-hint-color,#aaa);--tgui--link_color:var(--tg-theme-link-color,#2990ff);--tgui--button_color:var(--tg-theme-button-color,#2990ff);--tgui--button_text_color:var(--tg-theme-button-text-color,#fff);--tgui--secondary_bg_color:var(--tg-theme-secondary-bg-color,#0f0f0f);--tgui--header_bg_color:var(--tg-theme-header-bg-color,#212121);--tgui--accent_text_color:var(--tg-theme-accent-text-color,#007aff);--tgui--section_bg_color:var(--tg-theme-section-bg-color,#212121);--tgui--section_header_text_color:var(--tg-theme-section-header-text-color,#aaa);--tgui--subtitle_text_color:var(--tg-theme-subtitle-text-color,#aaa);--tgui--destructive_text_color:var(--tg-theme-destructive-text-color,#e53935);--tgui--skeleton:hsla(0,0%,100%,.03);--tgui--divider:hsla(0,0%,100%,.05);--tgui--outline:hsla(0,0%,100%,.1);--tgui--surface_primary:hsla(0,0%,9%,.95);--tgui--tertiary_bg_color:#2a2a2a;--tgui--quartenary_bg_color:#2f2f2f;--tgui--segmented_control_active_bg:#2f2f2f;--tgui--card_bg_color:#242424;--tgui--secondary_hint_color:#78797e;--tgui--secondary_fill:rgba(41,144,255,.15);--tgui--green:#32e55e;--tgui--destructive_background:rgba(255,35,35,.02);--tgui--primary_code_highlight:#2990ff;--tgui--secondary_code_highlight:#e937ed;--tgui--tertiary_code_highlight:#5ae536;--tgui--plain_background:hsla(0,0%,100%,.08);--tgui--plain_foreground:hsla(0,0%,100%,.95)}}*{box-sizing:border-box}html,body{min-height:100dvh;margin:0;padding:0;max-width:100vw;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch}#root{min-height:100dvh;margin:0;padding:var(--tg-safe-top) var(--tg-safe-right) calc(var(--tg-safe-bottom) + 100px) var(--tg-safe-left)}html[data-telegram=true] body{overscroll-behavior-x:none}.app-tabbar{padding:4px 4px calc(4px + var(--tg-safe-bottom))!important;background:var(--tgui--bg_color, #1c1c1e)!important;border-top:1px solid color-mix(in srgb,var(--tgui--hint_color) 15%,transparent)}.app-tabbar-item{padding:4px 2px!important;min-height:0!important;gap:2px!important}.app-tabbar-item>span{font-size:10.5px!important;line-height:1.15!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;max-width:none!important;letter-spacing:0!important}.page-section-intro{padding:0 16px 12px}.audit-mode-shell{display:flex;flex-direction:column}.audit-mode-title{margin:16px 16px 12px;color:var(--tgui--link_color);font-size:16px;line-height:1.25;font-weight:600;letter-spacing:0}.stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 12px}.stat-grid--with-bottom-gap{padding-bottom:10px}.stat-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 12px}.action-grid--single{grid-template-columns:minmax(0,1fr);padding:0}.action-grid--double{grid-template-columns:repeat(2,minmax(0,1fr))}.control-action-grid{padding-top:12px;padding-bottom:12px}.control-action-grid--secondary{margin-top:-8px}.service-action-stack{display:flex;flex-direction:column;gap:8px;padding:0 12px}.stack-md{display:flex;flex-direction:column;gap:10px}.stack-sm{display:flex;flex-direction:column;gap:6px}.row-gap-sm{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.meta-row{display:flex;gap:6px;flex-wrap:wrap;align-items:center;padding:8px 16px 0}.meta-row--compact{padding-top:4px}.card-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding-top:6px}.compact-list-cell{padding-bottom:12px}.operator-summary{margin:0 12px 10px;padding:12px;border-radius:12px;background:var(--tgui--section_bg_color);border:0;border-left:3px solid var(--tgui--link_color);display:flex;flex-direction:column;gap:8px}.operator-summary--interactive{width:calc(100% - 24px);color:inherit;font:inherit;text-align:left;cursor:pointer;transition:transform .16s ease,background .16s ease}.operator-summary--interactive:active{transform:scale(.99)}.operator-summary--green{border-left-color:var(--tgui--green)}.operator-summary--red{border-left-color:var(--tgui--destructive_text_color)}.operator-summary--orange{border-left-color:#f59e0b}.operator-summary--blue{border-left-color:var(--tgui--link_color)}.operator-summary--gray{border-left-color:var(--tgui--hint_color)}.operator-summary__status,.operator-summary__facts{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.operator-summary__headline{color:var(--tgui--text_color);font-size:18px;font-weight:650;line-height:1.2}.operator-summary__focus{color:var(--tgui--text_color);font-size:13px;line-height:1.35}.operator-summary__facts{color:var(--tgui--hint_color);font-size:12px;line-height:1.3}.market-sync-strip{margin:8px 12px 12px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;color:var(--tgui--hint_color);font-size:11px;line-height:1.2}.market-sync-strip span{min-width:0;border-left:2px solid color-mix(in srgb,var(--tgui--link_color) 46%,transparent);padding:6px 8px;background:color-mix(in srgb,var(--tgui--link_color) 7%,transparent);overflow-wrap:anywhere}.candidate-groups{display:grid;gap:10px}.candidate-group{display:grid;gap:4px}.candidate-group--button{width:100%;padding:0;border:0;background:transparent;text-align:left;font:inherit;cursor:pointer}.candidate-group--button:active{opacity:.72}.candidate-group__head{display:flex;justify-content:space-between;align-items:center;gap:8px;color:var(--tgui--text_color);font-size:13px;font-weight:650;line-height:1.25}.candidate-group__symbols,.candidate-group__details{color:var(--tgui--hint_color);font-size:13px;line-height:1.35}.candidate-group__details{font-size:12px}.pnl-calendar{display:grid;gap:8px;padding:0 12px 12px}.pnl-calendar--hour,.pnl-calendar--day{grid-template-columns:repeat(4,minmax(0,1fr))}.pnl-calendar__bucket{min-width:0;min-height:54px;border:1px solid color-mix(in srgb,var(--tgui--hint_color) 12%,transparent);border-radius:8px;padding:7px;background:linear-gradient(160deg,color-mix(in srgb,var(--tgui--section_bg_color) 90%,var(--tgui--hint_color) 10%),var(--tgui--section_bg_color)),var(--tgui--section_bg_color);display:flex;flex-direction:column;justify-content:space-between;gap:2px}.pnl-calendar__bucket--green{border-color:color-mix(in srgb,var(--tgui--green) 35%,transparent);background:linear-gradient(160deg,color-mix(in srgb,var(--tgui--section_bg_color) 82%,var(--tgui--green) 18%),var(--tgui--section_bg_color)),var(--tgui--section_bg_color)}.pnl-calendar__bucket--red{border-color:color-mix(in srgb,var(--tgui--destructive_text_color) 35%,transparent);background:linear-gradient(160deg,color-mix(in srgb,var(--tgui--section_bg_color) 82%,var(--tgui--destructive_text_color) 18%),var(--tgui--section_bg_color)),var(--tgui--section_bg_color)}.pnl-calendar__label,.pnl-calendar__meta{color:var(--tgui--hint_color);font-size:10.5px;line-height:1.2}.pnl-calendar__value{color:var(--tgui--text_color);font-size:13px;font-weight:700;line-height:1.25;word-break:break-word}.trade-history-list{display:grid;gap:8px;padding:0 12px 12px}.trade-history-card{border:1px solid color-mix(in srgb,var(--tgui--hint_color) 14%,transparent);border-radius:12px;padding:10px;background:var(--tgui--section_bg_color);display:grid;gap:8px}.trade-history-card--green{border-color:color-mix(in srgb,var(--tgui--green) 35%,transparent)}.trade-history-card--red{border-color:color-mix(in srgb,var(--tgui--destructive_text_color) 35%,transparent)}.trade-history-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.trade-history-card__symbol{color:var(--tgui--text_color);font-size:15px;font-weight:700;line-height:1.2}.trade-history-card__type,.trade-history-card__footer{color:var(--tgui--hint_color);font-size:12px;line-height:1.35}.trade-history-card__pnl{font-size:21px;font-weight:700;line-height:1.15}.trade-history-card__pnl--green{color:var(--tgui--green)}.trade-history-card__pnl--red{color:var(--tgui--destructive_text_color)}.trade-history-card__pnl--gray{color:var(--tgui--text_color)}.trade-history-card__metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.trade-history-metric,.trade-history-card__timeline>div{min-width:0;border:1px solid color-mix(in srgb,var(--tgui--hint_color) 10%,transparent);border-radius:8px;padding:7px;background:color-mix(in srgb,var(--tgui--secondary_bg_color, var(--tgui--section_bg_color)) 60%,transparent);display:grid;gap:2px}.trade-history-metric span,.trade-history-card__timeline span{color:var(--tgui--hint_color);font-size:10.5px;line-height:1.2}.trade-history-metric strong,.trade-history-card__timeline strong{color:var(--tgui--text_color);font-size:12px;line-height:1.25;font-weight:650;word-break:break-word}.trade-history-card__timeline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.trade-history-card__footer{display:flex;flex-wrap:wrap;gap:6px 10px}.trade-history-pagination{padding:0 12px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px}.trade-history-pagination>span{color:var(--tgui--hint_color);font-size:12px;line-height:1.2}.instrument-card-list{display:grid;gap:8px;padding:8px 12px 12px}.instrument-card-list--sheet{padding:0}.instrument-card{border-top:1px solid color-mix(in srgb,var(--tgui--hint_color) 10%,transparent);padding:10px 4px 12px;display:grid;gap:8px}.instrument-card:first-child{border-top:0}.instrument-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.instrument-card__identity{min-width:0;display:grid;gap:2px}.instrument-card__symbol{color:var(--tgui--text_color);font-size:16px;font-weight:700;line-height:1.2}.instrument-card__name{color:var(--tgui--hint_color);font-size:12px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.instrument-card__edit{width:34px;height:34px;border:0;border-radius:999px;background:color-mix(in srgb,var(--tgui--button_color, var(--tgui--link_color)) 18%,transparent);color:var(--tgui--link_color);display:inline-grid;place-items:center;flex:0 0 auto;cursor:pointer}.instrument-card__edit:active{transform:scale(.96)}.instrument-card__pills{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.instrument-card__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.instrument-card__fact{min-width:0;border-radius:8px;padding:8px;background:color-mix(in srgb,var(--tgui--secondary_bg_color, var(--tgui--section_bg_color)) 62%,transparent);display:grid;gap:3px}.instrument-card__fact span,.instrument-card__fact small{color:var(--tgui--hint_color);font-size:10.5px;line-height:1.2}.instrument-card__fact strong{color:var(--tgui--text_color);font-size:12px;line-height:1.25;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.market-chart-card{margin:8px 12px 12px;border-top:1px solid color-mix(in srgb,var(--tgui--hint_color) 10%,transparent);padding-top:10px;display:grid;gap:10px}.market-chart-card__head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.market-chart-card__head div{min-width:0;display:grid;gap:2px}.market-chart-card__head strong{color:var(--tgui--text_color);font-size:14px;line-height:1.2}.market-chart-card__head span{color:var(--tgui--hint_color);font-size:12px;line-height:1.3}.market-chart{width:100%;min-width:0}.market-chart--pulse{height:152px}.market-chart--bars{height:132px}.market-opportunity-list{display:grid;gap:8px;padding:8px 12px 12px}.market-opportunity-card{border-top:1px solid color-mix(in srgb,var(--tgui--hint_color) 10%,transparent);padding:10px 0 0;display:grid;gap:8px}.market-opportunity-card:first-child{border-top:0}.market-opportunity-card__main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start}.market-opportunity-card__symbol{color:var(--tgui--text_color);font-size:15px;font-weight:750;line-height:1.15}.market-opportunity-card__meta{color:var(--tgui--hint_color);font-size:11px;line-height:1.25;margin-top:2px}.market-opportunity-card__score{min-width:52px;text-align:right;display:grid;gap:1px}.market-opportunity-card__score strong{color:var(--tgui--text_color);font-size:16px;line-height:1}.market-opportunity-card__score span{color:var(--tgui--hint_color);font-size:10px;line-height:1.2}.market-opportunity-card__spark{height:42px;border-radius:8px;background:color-mix(in srgb,var(--tgui--secondary_bg_color, var(--tgui--section_bg_color)) 58%,transparent)}.market-opportunity-card__footer{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.market-opportunity-card__footer span:last-child{color:var(--tgui--hint_color);font-size:11px;line-height:1.25}.market-heatmap{padding:8px 12px 12px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.market-heatmap-cell{min-width:0;min-height:62px;border-radius:8px;padding:7px;display:grid;align-content:space-between;gap:3px;background:color-mix(in srgb,var(--tgui--secondary_bg_color, var(--tgui--section_bg_color)) 70%,transparent);border-left:3px solid color-mix(in srgb,var(--tgui--hint_color) 32%,transparent)}.market-heatmap-cell--positive{border-left-color:#39d98a;background:color-mix(in srgb,#39d98a 10%,var(--tgui--section_bg_color))}.market-heatmap-cell--negative{border-left-color:#ff5c5c;background:color-mix(in srgb,#ff5c5c 9%,var(--tgui--section_bg_color))}.market-heatmap-cell--neutral{border-left-color:#4ba3ff}.market-heatmap-cell--stale{opacity:.68}.market-heatmap-cell strong{color:var(--tgui--text_color);font-size:11px;line-height:1.15;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.market-heatmap-cell span{color:var(--tgui--text_color);font-size:13px;line-height:1;font-weight:750}.market-heatmap-cell small{color:var(--tgui--hint_color);font-size:9.5px;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.market-blocker-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.market-blocker-row{min-width:0;border-radius:8px;padding:7px;background:color-mix(in srgb,var(--tgui--secondary_bg_color, var(--tgui--section_bg_color)) 64%,transparent);display:flex;align-items:center;gap:6px}.market-blocker-row span:last-child{min-width:0;color:var(--tgui--hint_color);font-size:11px;line-height:1.2}.memory-command-center{display:grid;gap:10px;padding:0 12px 12px}.memory-hero{position:relative;overflow:hidden;border:1px solid color-mix(in srgb,var(--tgui--hint_color) 14%,transparent);border-left:3px solid var(--tgui--link_color);border-radius:8px;padding:12px;background:var(--tgui--section_bg_color);display:grid;gap:8px}.memory-hero--green{border-left-color:var(--tgui--green)}.memory-hero--orange{border-left-color:#f59e0b}.memory-hero--gray{border-left-color:var(--tgui--hint_color)}.memory-hero__head,.memory-hero__facts{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.memory-hero__head{justify-content:space-between}.memory-hero__icon{width:32px;height:32px;border-radius:8px;background:color-mix(in srgb,var(--tgui--link_color) 14%,transparent);color:var(--tgui--link_color);display:grid;place-items:center}.memory-hero__title{color:var(--tgui--text_color);font-size:18px;font-weight:750;line-height:1.15}.memory-hero__text,.memory-hero__facts,.memory-session-card__text{color:var(--tgui--hint_color);font-size:12px;line-height:1.35}.memory-hero__facts span{min-width:0;padding-right:8px;border-right:1px solid color-mix(in srgb,var(--tgui--hint_color) 20%,transparent)}.memory-hero__facts span:last-child{border-right:0}.memory-hero__status-grid{display:grid;gap:6px}.memory-hero__status-row{min-width:0;border-radius:8px;padding:7px;background:color-mix(in srgb,var(--tgui--secondary_bg_color, var(--tgui--section_bg_color)) 68%,transparent);display:flex;align-items:center;justify-content:space-between;gap:8px}.memory-hero__status-row>div{min-width:0;display:grid;gap:2px}.memory-hero__status-row span:first-child{color:var(--tgui--hint_color);font-size:10.5px;line-height:1.15}.memory-hero__status-row strong{color:var(--tgui--text_color);font-size:12px;line-height:1.25;font-weight:700;overflow-wrap:anywhere}.memory-nav-grid,.memory-fact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.memory-nav-card{min-width:0;border:1px solid color-mix(in srgb,var(--tgui--hint_color) 12%,transparent);border-radius:8px;padding:9px;background:var(--tgui--section_bg_color);color:inherit;text-align:left;display:grid;gap:5px;cursor:pointer}.memory-nav-card--active{border-color:color-mix(in srgb,var(--tgui--link_color) 46%,transparent);background:color-mix(in srgb,var(--tgui--link_color) 8%,var(--tgui--section_bg_color))}.memory-nav-card__top,.memory-session-card__head,.memory-session-card__footer{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.memory-nav-card__top svg{color:var(--tgui--link_color);flex:0 0 auto}.memory-nav-card__title{color:var(--tgui--text_color);font-size:13px;font-weight:700;line-height:1.2}.memory-nav-card__caption{color:var(--tgui--hint_color);font-size:11px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.memory-fact-grid{padding:8px 12px 10px}.memory-contour-tabs{padding:0 12px 12px;display:grid;gap:6px}.memory-visual-grid,.memory-compact-layout{padding:0 12px 10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.memory-visual-grid--single,.memory-compact-layout{grid-template-columns:minmax(0,1fr)}.memory-visual-panel,.memory-compact-group{min-width:0;border:1px solid color-mix(in srgb,var(--tgui--hint_color) 13%,transparent);border-radius:8px;padding:9px;background:var(--tgui--section_bg_color);display:grid;gap:8px}.memory-visual-panel__head,.memory-compact-group__head{min-width:0;display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.memory-visual-panel__head>strong,.memory-compact-group__head>span{color:var(--tgui--text_color);font-size:13px;line-height:1.2;font-weight:750}.memory-visual-panel__head>span{color:var(--tgui--hint_color);font-size:10.5px;line-height:1.2;text-align:right}.memory-bar-list{display:grid;gap:7px}.memory-bar-row{min-width:0;display:grid;grid-template-columns:minmax(76px,1fr) minmax(64px,1.25fr);align-items:center;gap:6px}.memory-bar-row__meta{min-width:0;display:flex;align-items:baseline;justify-content:space-between;gap:6px}.memory-bar-row__meta span,.memory-bar-row small{color:var(--tgui--hint_color);font-size:10.5px;line-height:1.15}.memory-bar-row__meta strong{color:var(--tgui--text_color);font-size:12px;line-height:1.1;font-weight:750}.memory-bar-row__track{height:7px;border-radius:999px;background:color-mix(in srgb,var(--tgui--hint_color) 13%,transparent);overflow:hidden}.memory-bar-row__fill{display:block;height:100%;border-radius:inherit;background:var(--tgui--hint_color)}.memory-bar-row__fill--green{background:var(--tgui--green)}.memory-bar-row__fill--orange{background:#f59e0b}.memory-bar-row__fill--blue{background:var(--tgui--link_color)}.memory-bar-row__fill--red{background:var(--tgui--destructive_text_color)}.memory-bar-row small{grid-column:1 / -1;margin-top:-3px}.memory-compact-group .pattern-memory-card{margin:0}.memory-runtime-control{margin:0 12px 10px;border:1px solid color-mix(in srgb,var(--tgui--link_color) 20%,transparent);border-radius:8px;padding:10px;background:color-mix(in srgb,var(--tgui--section_bg_color) 88%,var(--tgui--link_color) 12%);display:grid;gap:10px}.memory-runtime-control__head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.memory-runtime-control__head span,.memory-runtime-control__grid span,.memory-runtime-control__guard{color:var(--tgui--hint_color);font-size:10.5px;line-height:1.25}.memory-runtime-control__head strong{display:block;margin-top:2px;color:var(--tgui--text_color);font-size:15px;line-height:1.15}.memory-runtime-control__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.memory-runtime-control__grid>div{min-width:0;border-radius:7px;padding:7px;background:color-mix(in srgb,var(--tgui--secondary_bg_color, #000) 70%,transparent)}.memory-runtime-control__grid strong{display:block;margin-top:3px;color:var(--tgui--text_color);font-size:12px;line-height:1.25;overflow-wrap:anywhere}.memory-runtime-control__actions{display:grid}.memory-fact{min-width:0;border-radius:8px;padding:8px;background:color-mix(in srgb,var(--tgui--secondary_bg_color, var(--tgui--section_bg_color)) 70%,transparent);border-left:3px solid color-mix(in srgb,var(--tgui--hint_color) 26%,transparent);display:grid;gap:3px}.memory-fact--green{border-left-color:var(--tgui--green)}.memory-fact--orange{border-left-color:#f59e0b}.memory-fact--blue{border-left-color:var(--tgui--link_color)}.memory-fact span,.memory-fact small{color:var(--tgui--hint_color);font-size:10.5px;line-height:1.2}.memory-fact strong{color:var(--tgui--text_color);font-size:15px;line-height:1.15;font-weight:750;overflow-wrap:anywhere}.memory-session-card{margin:0 12px 10px;border:1px solid color-mix(in srgb,var(--tgui--hint_color) 13%,transparent);border-left:3px solid var(--tgui--hint_color);border-radius:8px;padding:10px;background:var(--tgui--section_bg_color);display:grid;gap:8px}.memory-session-card--green{border-left-color:var(--tgui--green)}.memory-session-card--orange{border-left-color:#f59e0b}.memory-session-card__head>div{min-width:0;display:grid;gap:2px}.memory-session-card__head strong{color:var(--tgui--text_color);font-size:14px;line-height:1.2;font-weight:750;overflow-wrap:anywhere}.memory-session-card__head span{color:var(--tgui--hint_color);font-size:11px;line-height:1.2}.memory-session-card__metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.memory-session-card__metrics div{min-width:0;border-radius:8px;padding:7px;background:color-mix(in srgb,var(--tgui--secondary_bg_color, var(--tgui--section_bg_color)) 68%,transparent);display:grid;gap:2px}.memory-session-card__metrics span{color:var(--tgui--hint_color);font-size:10px;line-height:1.1}.memory-session-card__metrics strong{color:var(--tgui--text_color);font-size:12px;line-height:1.2;font-weight:700;overflow-wrap:anywhere}.memory-session-card__footer{justify-content:flex-start;flex-wrap:wrap}.live-series-state-card,.live-series-focus-card{margin:0 12px 10px;border:1px solid color-mix(in srgb,var(--tgui--hint_color) 13%,transparent);border-radius:8px;padding:10px;background:var(--tgui--section_bg_color)}.live-series-state-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.live-series-state-card div,.live-series-focus-card__metrics span{min-width:0;border-radius:8px;padding:7px;background:color-mix(in srgb,var(--tgui--secondary_bg_color, var(--tgui--section_bg_color)) 68%,transparent);display:grid;gap:2px}.live-series-state-card span,.live-series-focus-card__head span{color:var(--tgui--hint_color);font-size:11px;line-height:1.2}.live-series-state-card strong,.live-series-focus-card__head strong,.live-series-bucket-row strong{color:var(--tgui--text_color);font-size:13px;line-height:1.2;font-weight:750;overflow-wrap:anywhere}.live-series-focus-card{display:grid;gap:8px}.live-series-focus-card__head,.live-series-bucket-row{min-width:0;display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.live-series-focus-card__head>div,.live-series-bucket-row>div{min-width:0;display:grid;gap:2px}.live-series-focus-card__metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.live-series-focus-card__metrics span,.live-series-bucket-row span{color:var(--tgui--hint_color);font-size:11px;line-height:1.2;overflow-wrap:anywhere}.live-series-focus-card__note{color:var(--tgui--hint_color);font-size:11px;line-height:1.35;overflow-wrap:anywhere}.live-series-bucket-list{padding:0 12px 10px;display:grid;gap:6px}.live-series-bucket-row{border-radius:8px;padding:8px;background:color-mix(in srgb,var(--tgui--secondary_bg_color, var(--tgui--section_bg_color)) 68%,transparent)}.tuning-hypothesis-card,.tuning-stage-grid,.tuning-reason-list{padding:0 12px 10px}.tuning-hypothesis-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.tuning-hypothesis-card div,.tuning-stage-card{min-width:0;border-radius:8px;padding:8px;background:color-mix(in srgb,var(--tgui--secondary_bg_color, var(--tgui--section_bg_color)) 68%,transparent);display:grid;gap:3px}.tuning-hypothesis-card span,.tuning-stage-card span,.tuning-stage-card small,.tuning-reason-row span{color:var(--tgui--hint_color);font-size:10.5px;line-height:1.2}.tuning-hypothesis-card strong,.tuning-stage-card strong,.tuning-reason-row strong{color:var(--tgui--text_color);font-size:13px;line-height:1.2;font-weight:750;overflow-wrap:anywhere}.tuning-stage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.tuning-stage-card{border-left:3px solid color-mix(in srgb,var(--tgui--hint_color) 26%,transparent)}.tuning-stage-card--green{border-left-color:var(--tgui--green)}.tuning-stage-card--orange{border-left-color:#f59e0b}.tuning-stage-card--blue{border-left-color:var(--tgui--link_color)}.tuning-stage-card--red{border-left-color:var(--tgui--destructive_text_color)}.tuning-stage-card--gray{border-left-color:color-mix(in srgb,var(--tgui--hint_color) 36%,transparent)}.tuning-reason-list{display:grid;gap:6px}.tuning-reason-row{min-width:0;border-radius:8px;padding:8px;background:color-mix(in srgb,var(--tgui--secondary_bg_color, var(--tgui--section_bg_color)) 68%,transparent);display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.tuning-reason-row>div{min-width:0;display:grid;gap:2px}.attention-diagnostic-card{padding:0 0 12px}.decision-lifecycle-card{margin:0 12px 10px;border:1px solid color-mix(in srgb,var(--tgui--hint_color) 13%,transparent);border-radius:8px;padding:10px;background:var(--tgui--section_bg_color);display:grid;gap:9px}.decision-lifecycle-card__head{min-width:0;display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.decision-lifecycle-card__head>div{min-width:0;display:grid;gap:2px}.decision-lifecycle-card__head strong{color:var(--tgui--text_color);font-size:14px;line-height:1.2;font-weight:750;overflow-wrap:anywhere}.decision-lifecycle-card__head span{color:var(--tgui--hint_color);font-size:11px;line-height:1.2}.decision-lifecycle-card__stages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.decision-lifecycle-card__stages div{min-width:0;border-radius:8px;padding:7px;background:color-mix(in srgb,var(--tgui--secondary_bg_color, var(--tgui--section_bg_color)) 68%,transparent);display:grid;gap:2px}.decision-lifecycle-card__stages span{color:var(--tgui--hint_color);font-size:10.5px;line-height:1.15}.decision-lifecycle-card__stages strong{color:var(--tgui--text_color);font-size:12px;line-height:1.25;font-weight:700;overflow-wrap:anywhere}.pattern-memory{display:grid;gap:8px}.pattern-memory__timeframe{padding:0 12px;display:flex;justify-content:flex-end}.pattern-memory__group{padding:0 12px 10px;display:grid;gap:6px}.pattern-memory__group-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.pattern-memory__group-title span{color:var(--tgui--link_color);font-size:12px;line-height:1.2;font-weight:700}.pattern-memory-card{min-width:0;border:1px solid color-mix(in srgb,var(--tgui--hint_color) 13%,transparent);border-left:3px solid color-mix(in srgb,var(--tgui--hint_color) 26%,transparent);border-radius:8px;padding:9px;background:var(--tgui--section_bg_color);display:grid;gap:7px}.pattern-memory-card--green{border-left-color:var(--tgui--green)}.pattern-memory-card--orange{border-left-color:#f59e0b}.pattern-memory-card--red{border-left-color:var(--tgui--destructive_text_color)}.pattern-memory-card--blue{border-left-color:var(--tgui--link_color)}.pattern-memory-card--gray{border-left-color:color-mix(in srgb,var(--tgui--hint_color) 36%,transparent)}.pattern-memory-card__head{min-width:0;display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.pattern-memory-card__head>div{min-width:0;display:grid;gap:2px}.pattern-memory-card__head strong{color:var(--tgui--text_color);font-size:14px;line-height:1.2;font-weight:750;overflow-wrap:anywhere}.pattern-memory-card__head span,.pattern-memory-card__updated{color:var(--tgui--hint_color);font-size:11px;line-height:1.2}.pattern-memory-card__metrics{display:flex;gap:5px;flex-wrap:wrap;align-items:center}.pattern-memory-card__metrics span{min-width:0;border-radius:999px;padding:2px 7px;background:color-mix(in srgb,var(--tgui--secondary_bg_color, var(--tgui--section_bg_color)) 72%,transparent);color:var(--tgui--hint_color);font-size:10.5px;line-height:1.25;overflow-wrap:anywhere}.history-filter-chips{padding:8px 16px 0;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.history-filter-reset{min-height:24px;border:0;border-radius:999px;padding:2px 9px;background:color-mix(in srgb,var(--tgui--destructive_text_color) 12%,transparent);color:var(--tgui--destructive_text_color);font:inherit;font-size:11px;font-weight:600;line-height:1.4;cursor:pointer}.stat-card{padding:12px;border-radius:12px;background:var(--tgui--section_bg_color);display:flex;flex-direction:column;gap:4px;height:100%;min-width:0}.stat-card--interactive{cursor:pointer;transition:background .15s ease}.stat-card--interactive:hover,.stat-card--interactive:focus-visible{background:var(--tgui--secondary_bg_color, var(--tgui--section_bg_color));outline:none}.stat-card__hint{color:var(--tgui--hint_color);font-size:12px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:clip}.stat-card__title{color:var(--tgui--hint_color);font-size:12px;line-height:1.3;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:clip}.stat-card__value{font-size:22px;font-weight:600;color:var(--tgui--text_color);line-height:1.15;word-break:break-word;display:block;min-height:28px}.stat-card__value--green{color:var(--tgui--green)}.stat-card__value--red{color:var(--tgui--destructive_text_color)}.stat-card__value--orange{color:#f59e0b}.stat-card__value--blue{color:var(--tgui--link_color)}.stat-card__value--gray{color:var(--tgui--hint_color)}.position-card-list{display:flex;flex-direction:column;gap:10px;padding:0 12px 12px}.position-mode-switch{padding:0 12px 12px}.position-card{position:relative;isolation:isolate;width:100%;border:1px solid color-mix(in srgb,var(--tgui--hint_color) 12%,transparent);border-radius:12px;padding:14px;overflow:hidden;background:linear-gradient(135deg,color-mix(in srgb,var(--tgui--section_bg_color) 94%,var(--tgui--link_color) 6%),var(--tgui--section_bg_color)),var(--tgui--section_bg_color);color:var(--tgui--text_color);text-align:left;display:flex;flex-direction:column;gap:12px;cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease}.position-card:active{transform:scale(.99)}.position-card--green{border-color:color-mix(in srgb,var(--tgui--green) 35%,transparent)}.position-card--red{border-color:color-mix(in srgb,var(--tgui--destructive_text_color) 38%,transparent)}.position-card--blue{border-color:color-mix(in srgb,var(--tgui--link_color) 40%,transparent)}.position-card--gray{border-color:color-mix(in srgb,var(--tgui--hint_color) 18%,transparent)}.position-card__glow{position:absolute;inset:-45% -20% auto auto;width:150px;height:150px;border-radius:50%;opacity:.22;filter:blur(16px);background:var(--tgui--link_color);animation:position-glow 3.4s ease-in-out infinite;z-index:-1}.position-card--green .position-card__glow{background:var(--tgui--green)}.position-card--red .position-card__glow{background:var(--tgui--destructive_text_color)}.position-card--blue .position-card__glow{background:var(--tgui--link_color)}.position-card__top,.position-card__hero,.position-card__price-row,.position-card__plan-head,.position-card__footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.position-card__symbol{font-size:17px;font-weight:700;line-height:1.2;color:var(--tgui--text_color)}.position-card__meta,.position-card__caption,.position-card__footer,.position-card__levels span,.position-card__levels small,.position-card__price-row span,.position-card__age small{color:var(--tgui--hint_color);font-size:12px;line-height:1.3}.position-card__hero{align-items:flex-end}.position-card__pnl{font-size:30px;font-weight:750;line-height:1;letter-spacing:0}.position-card__pnl--green{color:var(--tgui--green)}.position-card__pnl--red{color:var(--tgui--destructive_text_color)}.position-card__pnl--blue{color:var(--tgui--link_color);font-size:22px}.position-card__pnl--gray{color:var(--tgui--text_color)}.position-card__age{display:flex;flex-direction:column;align-items:flex-end;gap:1px;white-space:nowrap}.position-card__age span{color:var(--tgui--text_color);font-size:16px;font-weight:650;line-height:1.15}.position-card__price-row{display:grid;grid-template-columns:minmax(72px,1fr) minmax(56px,.7fr) minmax(72px,1fr)}.position-card__price-row>div:not(.position-card__price-flow){display:flex;flex-direction:column;gap:2px}.position-card__price-row>div:last-child{align-items:flex-end}.position-card__price-row strong,.position-card__levels strong{color:var(--tgui--text_color);font-size:15px;line-height:1.2;font-weight:650;white-space:nowrap}.position-card__price-flow{position:relative;height:3px;align-self:center;border-radius:999px;overflow:hidden;background:color-mix(in srgb,var(--tgui--hint_color) 18%,transparent)}.position-card__price-flow span{position:absolute;inset:0 auto 0 0;min-width:12px;border-radius:inherit;background:linear-gradient(90deg,var(--tgui--link_color),var(--tgui--green));animation:position-flow 1.6s linear infinite}.position-card--red .position-card__price-flow span{background:linear-gradient(90deg,#f59e0b,var(--tgui--destructive_text_color))}.position-card--blue .position-card__price-flow span{background:linear-gradient(90deg,var(--tgui--link_color),color-mix(in srgb,var(--tgui--link_color) 35%,var(--tgui--green)))}.position-card__plan{display:flex;flex-direction:column;gap:8px;padding-top:2px}.position-card__plan-head>span{color:var(--tgui--text_color);font-size:13px;font-weight:650;line-height:1.25}.position-card__levels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.position-card__levels>div{min-width:0;padding:8px;border-radius:10px;background:color-mix(in srgb,var(--tgui--secondary_bg_color, #000) 70%,transparent);display:flex;flex-direction:column;gap:3px}.position-card__meter{position:relative;width:100%;height:6px;overflow:hidden;border-radius:999px;background:color-mix(in srgb,var(--tgui--hint_color) 16%,transparent)}.position-card__meter-fill{position:absolute;inset:0 auto 0 0;min-width:4px;border-radius:inherit;transition:width .45s ease}.position-card__meter-fill--green{background:var(--tgui--green)}.position-card__meter-fill--red{background:var(--tgui--destructive_text_color)}.position-card__meter-fill--gray{background:var(--tgui--hint_color)}.position-card__footer{justify-content:flex-start;flex-wrap:wrap}.grid-session-list{display:flex;flex-direction:column;gap:10px;padding:0 12px 12px}.grid-session-card{width:100%;border:1px solid color-mix(in srgb,var(--tgui--hint_color) 14%,transparent);border-radius:8px;padding:14px;background:var(--tgui--section_bg_color);color:var(--tgui--text_color);text-align:left;display:flex;flex-direction:column;gap:12px;cursor:pointer}.grid-session-card--green{border-color:color-mix(in srgb,var(--tgui--green) 36%,transparent)}.grid-session-card--red{border-color:color-mix(in srgb,var(--tgui--destructive_text_color) 38%,transparent)}.grid-session-card__head,.grid-session-card__pnl,.grid-session-card__range{display:flex;align-items:center;justify-content:space-between;gap:10px}.grid-session-card__symbol{color:var(--tgui--text_color);font-size:17px;font-weight:700;line-height:1.2}.grid-session-card__meta,.grid-session-card__pnl span,.grid-session-card__range span,.grid-level span,.grid-level small{color:var(--tgui--hint_color);font-size:12px;line-height:1.3}.grid-session-card__pnl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.grid-session-card__pnl div{min-width:0;border-radius:8px;background:color-mix(in srgb,var(--tgui--secondary_bg_color, #000) 70%,transparent);display:flex;flex-direction:column;gap:3px;padding:8px}.grid-session-card__pnl strong{font-size:18px;line-height:1.15}.grid-session-card__diag{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.grid-session-card__diag span{min-width:0;border-radius:7px;background:color-mix(in srgb,var(--tgui--secondary_bg_color, #000) 52%,transparent);color:var(--tgui--hint_color);font-size:11px;line-height:1.25;padding:6px 7px;overflow-wrap:anywhere}.grid-session-card__range{display:grid;grid-template-columns:auto minmax(60px,1fr) auto}.grid-session-card__track{position:relative;height:6px;border-radius:999px;background:color-mix(in srgb,var(--tgui--hint_color) 16%,transparent)}.grid-session-card__track i{position:absolute;top:50%;width:16px;height:16px;border:2px solid var(--tgui--section_bg_color);border-radius:50%;background:var(--tgui--link_color);transform:translate(-50%,-50%)}.grid-level-strip{display:flex;flex-direction:column;gap:8px}.grid-level{border-left:3px solid var(--tgui--hint_color);display:flex;flex-direction:column;gap:2px;padding:7px 9px}.grid-level--green{border-left-color:var(--tgui--green)}.grid-level--red{border-left-color:var(--tgui--destructive_text_color)}.grid-level strong{color:var(--tgui--text_color);font-size:13px;line-height:1.25}.activity-feed-controls{padding:2px 12px 14px}.activity-feed-list{display:flex;flex-direction:column;gap:10px;padding:0 12px 12px}.activity-feed-card{position:relative;overflow:hidden;border-radius:12px;border:1px solid color-mix(in srgb,var(--tgui--hint_color) 13%,transparent);background:var(--tgui--section_bg_color);padding:12px 12px 12px 14px;display:flex;flex-direction:column;gap:8px}.activity-feed-card__rail{position:absolute;inset:0 auto 0 0;width:3px;background:var(--tgui--hint_color)}.activity-feed-card--critical .activity-feed-card__rail{background:var(--tgui--destructive_text_color)}.activity-feed-card--attention .activity-feed-card__rail{background:#f59e0b}.activity-feed-card--info .activity-feed-card__rail{background:var(--tgui--link_color)}.activity-feed-card--background .activity-feed-card__rail{background:var(--tgui--hint_color)}.activity-feed-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.activity-feed-card__title{color:var(--tgui--text_color);font-size:15px;font-weight:650;line-height:1.25;min-width:0}.activity-feed-card__body{color:var(--tgui--text_color);font-size:13px;line-height:1.35;overflow-wrap:anywhere}.activity-feed-card__meta,.activity-feed-card__tags{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.activity-feed-card__meta{color:var(--tgui--hint_color);font-size:12px;line-height:1.3}@keyframes position-glow{0%,to{transform:translateZ(0) scale(1);opacity:.16}50%{transform:translate3d(-10px,10px,0) scale(1.08);opacity:.28}}@keyframes position-flow{0%{filter:brightness(.9)}50%{filter:brightness(1.35)}to{filter:brightness(.9)}}.role-card{padding:10px 12px;border-radius:12px;background:var(--tgui--section_bg_color);display:flex;flex-direction:column;gap:8px}.role-section__tag{display:flex;align-items:center;gap:6px;padding:4px 16px 8px;color:var(--tgui--hint_color)}.role-section__tag svg{flex-shrink:0;color:var(--tgui--hint_color)}.role-section__verb{font-size:12px;line-height:1.2}.role-card__head{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap}.role-card__verdict{color:var(--tgui--text_color);font-size:13px;line-height:1.35;flex:1}.role-card__factors{display:flex;flex-direction:column;gap:6px}.role-card__factor{display:flex;align-items:center;justify-content:space-between;gap:8px}.role-card__factor-label{color:var(--tgui--hint_color);font-size:12px;line-height:1.2;flex:1;min-width:0}.role-card__footer{color:var(--tgui--hint_color);font-size:12px;line-height:1.3}.status-pill{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:500;line-height:1.4;white-space:nowrap}.status-pill--green{background:color-mix(in srgb,var(--tgui--green) 18%,transparent);color:var(--tgui--green)}.status-pill--red{background:color-mix(in srgb,var(--tgui--destructive_text_color) 18%,transparent);color:var(--tgui--destructive_text_color)}.status-pill--orange{background:color-mix(in srgb,#f59e0b 18%,transparent);color:#f59e0b}.status-pill--blue{background:color-mix(in srgb,var(--tgui--link_color) 18%,transparent);color:var(--tgui--link_color)}.status-pill--gray{background:color-mix(in srgb,var(--tgui--hint_color) 18%,transparent);color:var(--tgui--hint_color)}.muted-text{color:var(--tgui--hint_color);font-size:13px;line-height:1.35}.break-all{overflow-wrap:anywhere;word-break:break-word}.form-stack{display:flex;flex-direction:column;gap:10px;padding:0 16px 16px}.form-stack__footer{padding-top:8px}.tabbar-slot{position:fixed;left:0;right:0;bottom:0;z-index:100;background:var(--tgui--bg_color, #1c1c1e);border-top:1px solid color-mix(in srgb,var(--tgui--hint_color) 15%,transparent);padding-bottom:var(--tg-safe-bottom)}.progress-wrap{width:100%;max-width:180px}.bottom-sheet-body{padding:12px 16px 24px;display:flex;flex-direction:column;gap:12px}.sheet-panel{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:16px;background:var(--tgui--section_bg_color)}.sheet-panel__header{display:flex;flex-direction:column;gap:4px}.sheet-panel__title{color:var(--tgui--text_color);font-size:15px;font-weight:600;line-height:1.25}.sheet-panel__hint{color:var(--tgui--hint_color);font-size:12px;line-height:1.35}.sheet-panel__body{display:flex;flex-direction:column;gap:10px}.sheet-summary{display:flex;flex-direction:column;gap:8px}.sheet-summary__title{color:var(--tgui--text_color);font-size:18px;font-weight:600;line-height:1.2}.sheet-summary__meta{color:var(--tgui--hint_color);font-size:13px;line-height:1.35}.sheet-field-hint{margin-top:-4px;color:var(--tgui--hint_color);font-size:12px;line-height:1.35}.sheet-footer-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sheet-footer-actions>:only-child{grid-column:1 / -1}.segmented-wrap{padding:0 12px}.segmented-wrap--nested{padding-top:4px;padding-bottom:8px}.segment-icon{display:inline-flex;align-items:center;justify-content:center;min-width:16px;min-height:16px}.segmented-label{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0}.segmented-label svg{flex:0 0 auto}.segmented-wrap,.segmented-wrap *{text-overflow:clip!important}.segmented-wrap [role=tab],.segmented-wrap button{min-width:0!important}.detail-stack{display:flex;flex-direction:column;gap:6px}.detail-stack__row{display:flex;flex-direction:column;gap:2px;min-width:0}.detail-stack__label{color:var(--tgui--hint_color);font-size:11px;line-height:1.2;text-transform:uppercase;letter-spacing:.04em}.detail-stack__value{color:var(--tgui--text_color);font-size:13px;line-height:1.35;overflow-wrap:anywhere}.grid-drilldown-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.grid-level-drilldown,.grid-timeline{display:grid;gap:8px}.grid-level-drilldown__row{display:grid;grid-template-columns:minmax(54px,.36fr) minmax(0,1fr);gap:8px;padding:8px;border:1px solid color-mix(in srgb,var(--tgui--hint_color) 12%,transparent);border-radius:8px}.grid-level-drilldown__row div,.grid-timeline__event div{min-width:0;display:flex;flex-direction:column;gap:2px}.grid-level-drilldown__row strong,.grid-timeline__event strong{color:var(--tgui--text_color);font-size:13px;line-height:1.25;overflow-wrap:anywhere}.grid-level-drilldown__row span,.grid-timeline__event span,.grid-timeline__event p{margin:0;color:var(--tgui--hint_color);font-size:12px;line-height:1.35;overflow-wrap:anywhere}.grid-timeline__event{display:grid;gap:4px;padding:8px;border-left:3px solid color-mix(in srgb,var(--tgui--hint_color) 32%,transparent);background:color-mix(in srgb,var(--tgui--section_bg_color) 88%,var(--tgui--hint_color) 12%);border-radius:8px}.grid-timeline__event--green{border-left-color:color-mix(in srgb,var(--tgui--green) 70%,transparent)}.grid-timeline__event--red{border-left-color:color-mix(in srgb,var(--tgui--destructive_text_color) 70%,transparent)}.grid-timeline__event--orange{border-left-color:color-mix(in srgb,var(--tgui--destructive_text_color) 45%,var(--tgui--link_color) 35%)}.grid-timeline__event--blue{border-left-color:color-mix(in srgb,var(--tgui--link_color) 70%,transparent)}.access-card-summary{display:flex;flex-wrap:wrap;gap:4px 10px;color:var(--tgui--hint_color);font-size:13px;line-height:1.35}.access-card-summary span{min-width:0;overflow-wrap:anywhere}.card-actions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:4px}.card-actions-grid>:last-child:nth-child(odd){grid-column:1 / -1}.diagnostic-list{display:flex;flex-direction:column;gap:8px}.diagnostic-check{padding:10px;border-radius:12px;background:color-mix(in srgb,var(--tgui--secondary_bg_color, #000) 78%,transparent)}.diagnostic-check__head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--tgui--text_color);font-size:14px;font-weight:600;line-height:1.25}.diagnostic-check__details{margin-top:4px;color:var(--tgui--hint_color);font-size:13px;line-height:1.35;overflow-wrap:anywhere}.card-shell{padding:0 16px 12px}.card-shell--sheet{padding:0 0 12px}.card-shell__actions{margin-top:8px;padding:0 16px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.hero-summary{margin:0 12px 16px;padding:16px;border-radius:12px;background:var(--tgui--section_bg_color);display:flex;flex-direction:column;gap:6px}.hero-summary__label{color:var(--tgui--hint_color);font-size:13px;line-height:1.25}.hero-summary__value{font-size:28px;font-weight:700;line-height:1.1}.hero-summary__value--green{color:var(--tgui--green)}.hero-summary__value--red{color:var(--tgui--destructive_text_color)}.hero-summary__value--gray{color:var(--tgui--text_color)}.hero-summary__meta,.hero-summary__sub{color:var(--tgui--hint_color);font-size:12px;line-height:1.35}.hero-summary .stat-grid{padding:0}.hero-summary__calendar{margin-top:10px;padding-top:10px;border-top:1px solid color-mix(in srgb,var(--tgui--hint_color) 12%,transparent)}.hero-summary__calendar .pnl-calendar{padding:0;gap:6px}.strategy-card-list{display:grid;gap:8px;padding:12px 16px}.strategy-card{border:1px solid color-mix(in srgb,var(--tgui--hint_color) 12%,transparent);border-radius:10px;padding:10px;background:var(--tgui--section_bg_color);display:grid;gap:8px}.strategy-card__head{display:flex;justify-content:space-between;align-items:center;gap:8px;color:var(--tgui--text_color);font-size:14px;font-weight:650}.strategy-card__metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.strategy-card__metrics>div{display:grid;gap:2px}.strategy-card__metrics span{color:var(--tgui--hint_color);font-size:11px;line-height:1.2}.strategy-card__metrics strong{color:var(--tgui--text_color);font-size:14px;font-weight:700;line-height:1.25}.strategy-card__value--green{color:var(--tgui--green)}.strategy-card__value--red{color:var(--tgui--destructive_text_color)}.strategy-card__value--gray{color:var(--tgui--text_color)}.strategy-card__footer{color:var(--tgui--hint_color);font-size:12px;line-height:1.35}@keyframes tgui-skeleton{0%,to{opacity:.4}50%{opacity:.7}}
