.investor-hero{margin:12px 0 25px}.investor-hero h1{font-size:42px;line-height:1.22;letter-spacing:-1.5px;margin:12px 0}.investor-hero h1 span{color:#008653}.investor-hero p{color:#828a7d;font-size:14px}.investor-search{display:flex;align-items:center;gap:12px;max-width:760px;background:white;border:1px solid #deded4;border-radius:12px;padding:8px 10px 8px 18px}.investor-search>span{font-size:29px;color:#65756c}.investor-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;font-size:15px;padding:10px 0}.investor-search button{background:#1d4738;color:white;border:0;padding:11px 24px}.recommendations{display:flex;align-items:center;gap:13px;margin:16px 0 22px;font-size:12px;color:#828a7d}.recommendations>div{display:flex;gap:7px;flex-wrap:wrap}.recommendations button{padding:7px 12px;border-radius:20px;font-size:12px;background:#fbfaf5}.demo-banner{display:flex;align-items:center;gap:12px;font-size:12px;line-height:1.6;background:#fff4dc;color:#87734b;border:1px solid #efdfb7;border-radius:10px;padding:13px 16px;margin:18px 0}.demo-banner>span{font-weight:800;white-space:nowrap}.demo-banner button{margin-left:auto;white-space:nowrap;font-size:11px;padding:6px 10px;background:transparent}.investor-profile{display:flex;align-items:center;gap:18px;margin:24px 0;padding:0;background:transparent;border:0;box-shadow:none}.profile-avatar{width:64px;height:64px;display:grid;place-items:center;border-radius:18px;background:#dcece3;color:#1c5c41;font-weight:800;font-size:24px}.investor-profile h2{font-size:26px;margin:4px 0}.investor-profile p{font-size:12px;color:#879082;margin:4px 0}.profile-badge{margin-left:auto;display:flex;gap:8px;align-items:center}.example-pill{font-size:11px;color:#8d784c;background:#f4eedb;padding:7px 11px;border-radius:20px}.portfolio-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:20px}.portfolio-card{padding:25px;margin-bottom:20px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head h2{font-size:22px;margin:8px 0}.panel-head p,.panel-head small{font-size:12px;color:#879082}.portfolio-svg{width:100%;max-height:470px;margin-top:8px}.portfolio-svg text{font-family:inherit}.portfolio-svg .sector-name{font-weight:700;font-size:14px}.portfolio-svg .sector-weight{font-weight:800;font-size:18px}.donut-caption{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ecebe3;padding-top:14px;font-size:12px;color:#859080}.donut-caption strong{font-size:22px;color:#20513e}.holding-item{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #eeeee6}.ticker-badge{height:34px;border-radius:8px;display:grid;place-items:center;color:white;font-size:10px;font-weight:800}.holding-info b{display:block;font-size:14px}.holding-info small{display:block;font-size:11px;color:#8c9288;margin-top:3px}.holding-item>strong{font-size:16px}.holding-track{height:4px;background:#eff1eb;border-radius:3px;margin-top:7px}.holding-track i{height:4px;display:block;border-radius:3px}.investor-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin:0 0 20px}.stat-card{background:#f7f9f1;border:1px solid #e2e6d8;border-radius:10px;padding:20px}.stat-card small{display:block;color:#828b7c;font-size:12px}.stat-card strong{display:block;font-size:25px;color:#225d3d;margin-top:8px}.stat-card span{font-size:11px;color:#919887;display:block;margin-top:6px}.change-highlights{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.change-highlight{padding:15px;border:1px solid #e7e9df;border-radius:10px;background:#fafbf7}.change-highlight small{display:block;font-size:11px;color:#859080}.change-highlight strong{font-size:19px;display:block;margin:9px 0}.change-highlight span{font-size:12px}.green-text{color:#008653}.red-text{color:#d26b6b}.comparison-row{display:grid;grid-template-columns:90px 1fr;gap:12px;align-items:center;margin:12px 0;font-size:12px;color:#859080}.allocation-bar{height:28px;display:flex;border-radius:6px;overflow:hidden;background:#eceee5}.allocation-bar span{height:100%;display:block}.change-filters{display:flex;gap:8px;flex-wrap:wrap;margin:23px 0 12px}.change-filters button{font-size:12px;padding:8px 13px}.change-filters button.active{background:#008653;color:#fff;border-color:#008653}.changes-panel td small{font-size:10px;color:#879082;display:block;margin-top:5px}.action-pill{font-size:11px;border-radius:15px;background:#e9f4ec;padding:5px 8px;color:#008653}.action-pill.reduce,.action-pill.exit{background:#f9ecea;color:#c96b69}.institution-note{font-size:11px;line-height:1.8;color:#879082}.search-result-card{display:flex;align-items:center;gap:12px;padding:14px 0;width:100%;border:0;border-radius:0;border-bottom:1px solid #eceee5;text-align:left}.search-result-card span{font-size:12px;color:#859080;margin-left:auto}#results{padding:16px 22px;margin-top:15px}#search-status{font-size:12px;color:#82907b;margin-top:10px}.empty-portfolio{background:#f4f7ef;border:1px dashed #dce3d4;padding:24px;border-radius:12px;text-align:center;color:#72826d}.empty-portfolio h3{margin-top:0}.empty-portfolio p{font-size:13px;line-height:1.8}@media(max-width:1000px){.portfolio-layout{grid-template-columns:1fr}.investor-stats{grid-template-columns:1fr 1fr}}@media(max-width:760px){.investor-hero h1{font-size:31px}.recommendations{align-items:flex-start}.demo-banner{flex-wrap:wrap}.demo-banner button{margin-left:0}.investor-profile{flex-wrap:wrap}.profile-badge{margin-left:0}.portfolio-card{padding:17px}.panel-head{flex-wrap:wrap}.change-highlights{grid-template-columns:1fr 1fr}.investor-stats{gap:9px}.stat-card{padding:14px}.stat-card strong{font-size:22px}.comparison-row{grid-template-columns:65px 1fr}.investor-search button{padding:10px 16px}}
.live-banner{background:#edf5e8;color:#487450;border-color:#dce8d3}.live-pill{font-size:11px;color:#008653;background:#e5f2e7;border-radius:20px;padding:8px 12px}.company-logo{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:40px;max-width:70px;vertical-align:middle}.company-logo img{width:30px;height:30px;object-fit:contain;border:1px solid #e9ece4;border-radius:8px;background:#fff;padding:3px}.company-logo small{font-size:9px!important;line-height:1.2;overflow:hidden;max-width:68px;text-overflow:ellipsis;color:#667366}.highlight-logos{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.highlight-logos>div{display:inline-block}.highlight-logos .company-logo{min-width:34px;max-width:52px}.highlight-logos img{width:32px;height:32px}.highlight-logos .company-logo small{max-width:50px}.table-company{display:flex;align-items:center;gap:12px;text-align:left}.table-company>.company-logo{flex-shrink:0}.remaining-holdings summary{padding-top:15px;color:#008653;font-size:12px;cursor:pointer}#changes-table{max-height:640px;overflow:auto}#changes-table thead{position:sticky;top:0;z-index:1}#options .company-logo{margin-right:8px}.change-highlight strong{font-size:18px}

.profile-avatar{overflow:hidden}.profile-avatar img{width:100%;height:100%;object-fit:cover}

.profile-avatar img,.portfolio-svg .investor-portrait{filter:grayscale(1)}
.profile-avatar{background:#171717}.profile-avatar .buffett-portrait{object-position:100% center}.profile-avatar .tepper-portrait{object-fit:contain}

.portfolio-layout{align-items:start}.portfolio-layout>.portfolio-card{padding-bottom:16px}.remaining-holdings{margin:10px 0 0;padding:0}.remaining-holdings summary{padding:12px 14px}

.portfolio-layout{align-items:stretch}.portfolio-layout>.portfolio-card:first-child{display:flex;flex-direction:column}.portfolio-layout #concentration{margin-top:auto}

.investor-hero h1{color:#000}

.investor-name-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.investor-tagline{font-size:12px;font-weight:500;color:#6e796d}

#changes-table th button{border:0;background:transparent;color:inherit;font:inherit;font-weight:700;padding:0;cursor:pointer;white-space:nowrap}#changes-table th button:hover{color:#24558c}#changes-table th button:focus-visible{outline:2px solid #24558c;outline-offset:4px}

#changes-table th:nth-child(n+2):nth-child(-n+5),#changes-table td:nth-child(n+2):nth-child(-n+5){text-align:center}

.recommendations{justify-content:center;flex-direction:column}.recommendations>div{justify-content:center}.investor-search{margin-left:auto;margin-right:auto}
@media(min-width:1001px){.portfolio-layout>.portfolio-card:first-child{position:relative}.portfolio-layout #concentration{position:absolute;left:25px;right:25px;bottom:16px}.portfolio-svg{max-height:390px}.portfolio-layout>.portfolio-card:first-child{padding-bottom:68px}}

.vanguard-choices{display:flex;gap:8px;margin-left:12px}.vanguard-choices button{font-size:11px}.profile-avatar span{color:white;font-size:18px}.donut-caption{height:100%;align-items:flex-start}.recommendations>div{max-width:900px}

.table-pages{display:flex;align-items:center;justify-content:center;gap:16px;padding:16px;font-size:12px}.table-pages button:disabled{opacity:.4;cursor:default}

#changes-table table{min-width:850px}#changes-table th:not(:first-child),#changes-table td:not(:first-child){text-align:center;white-space:nowrap}

#changes-table table{min-width:960px}#changes-table th,#changes-table td{text-align:center}#changes-table th:nth-child(2),#changes-table td:nth-child(2){text-align:left}

#changes-table{overflow-x:hidden}#changes-table table{min-width:0;width:100%;table-layout:fixed}#changes-table th,#changes-table td{padding:10px 5px;text-align:center;font-size:12px;white-space:normal;overflow-wrap:anywhere}#changes-table th:first-child,#changes-table td:first-child{text-align:left;width:34%}#changes-table th:nth-child(2),#changes-table td:nth-child(2){text-align:center}#changes-table th:nth-child(2),#changes-table th:nth-child(3){width:12%}#changes-table th:nth-child(4){width:10%}#changes-table th:nth-child(5),#changes-table th:nth-child(6){width:16%}#changes-table th button{padding:3px 0;font-size:12px;white-space:normal}#changes-table .table-company{gap:5px;min-width:0}#changes-table .table-company>div:last-child{min-width:0;font-size:12px}#changes-table .action-pill{flex:none;font-size:10px;padding:3px 4px;white-space:nowrap}#changes-table .table-company .security-logo{flex:none}#changes-table td small{font-size:10px}

#changes-table th:first-child,#changes-table td:first-child{width:25%;text-align:center}#changes-table .table-company{justify-content:center}#changes-table .table-company>div:last-child{text-align:center}#changes-table th:nth-child(2),#changes-table th:nth-child(3){width:14%}#changes-table th:nth-child(4){width:11%}#changes-table th:nth-child(5),#changes-table th:nth-child(6){width:18%}

#changes-table .company-logo>small{display:none}

#changes-table th,#changes-table td{padding:8px 3px;font-size:11px}#changes-table th button{font-size:11px}#changes-table th:first-child,#changes-table td:first-child{width:23%}#changes-table .table-company{justify-content:flex-start;gap:4px}#changes-table th:nth-child(2),#changes-table th:nth-child(3){width:12%}#changes-table th:nth-child(4){width:9%}#changes-table th:nth-child(5),#changes-table th:nth-child(6){width:17%}#changes-table th:nth-child(7){width:10%}#changes-table .table-company>div:last-child{font-size:11px}#changes-table .company-logo{width:28px;min-width:28px}#changes-table .company-logo img{width:26px;height:26px}

.recommendations>div{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;max-width:900px;gap:8px}.recommendations button{width:100%;min-width:0;padding:8px 6px;white-space:normal;line-height:1.4}.donut-caption{align-items:center;padding-top:0;height:100%;font-size:22px;font-weight:700;color:#111}.donut-caption strong{font-size:22px;font-weight:700;color:#111}#changes-table th:first-child,#changes-table td:first-child{width:22%}#changes-table th:nth-child(n+2){width:13%}@media(max-width:600px){.recommendations>div{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.recommendations button{font-size:10px}.donut-caption,.donut-caption strong{font-size:18px}}

@media(min-width:761px){#recommendations{grid-template-columns:repeat(6,minmax(0,1fr))}}

.portfolio-svg .sector-name{font-size:14px;font-weight:800}.portfolio-svg .sector-weight{font-size:20px;font-weight:800}

.recommendations{display:flex;flex-direction:column;align-items:center;margin:28px 0 26px;gap:10px}.whale-picker-title{font-size:18px;font-weight:750;color:#24362d}.whale-picker-note{margin:0 0 8px;font-size:13px;color:#788277}#recommendations{grid-template-columns:repeat(5,minmax(0,1fr));max-width:960px;gap:10px}.recommendations button{font-size:14px;padding:11px 9px;color:#46554b}.recommendations button.selected{background:#e9efe5;border-color:#588568;color:#164d36;font-weight:700}@media(max-width:600px){#recommendations{grid-template-columns:repeat(2,minmax(0,1fr))}.whale-picker-title{font-size:17px}.whale-picker-note{text-align:center;font-size:12px}.recommendations button{font-size:13px}}

.portfolio-svg .sector-name{font-size:12px}.portfolio-svg .sector-weight{font-size:16px}

.profile-avatar:has(.institution-brand){background:#fffdf7;border:1px solid #e5e5dc}.profile-avatar .institution-brand{width:54px;height:44px;object-fit:contain;filter:none}

.company-logo{width:48px!important;min-width:48px!important;height:42px!important;display:flex!important;align-items:center;justify-content:center;position:relative;overflow:hidden;flex:0 0 48px!important}.company-logo img{width:44px!important;height:36px!important;max-width:100%;object-fit:contain!important;background:#fff;border-radius:4px}.company-logo.has-logo:not(.logo-unavailable) small{display:none}.company-logo.logo-unavailable small{font-size:9px;line-height:1.2;overflow-wrap:anywhere;text-align:center}.holding-info{min-width:0}.holding-info b{overflow-wrap:anywhere}

/* Shared company and numeric column alignment. */
.holding-item{grid-template-columns:48px minmax(0,1fr) auto}
.holding-info,.holding-info b,.holding-info small{text-align:left}
.holding-item>strong{text-align:right;font-variant-numeric:tabular-nums}
#changes-table .table-company{display:grid;grid-template-columns:32px 48px minmax(0,1fr);gap:8px;justify-content:start;align-items:center}
#changes-table .table-company>div:last-child,#changes-table .table-company>div:last-child small{text-align:left;line-height:1.5;overflow-wrap:anywhere}
#changes-table .action-pill{text-align:center;justify-self:start}
#changes-table th:first-child,#changes-table td:first-child{text-align:left;width:28%}
#changes-table th:not(:first-child),#changes-table td:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}
#changes-table th:not(:first-child){width:12%}
#changes-table th,#changes-table td{padding:12px 8px}
#changes-table th:first-child button{margin-left:96px;text-align:left}
#changes-table th button{text-align:inherit}
#options .option-company{display:flex;align-items:center;gap:12px;text-align:left}
#options .company-logo{margin-right:0}
#options th,#options td{text-align:right;font-variant-numeric:tabular-nums}
#options th:first-child,#options td:first-child,#options th:nth-child(2),#options td:nth-child(2){text-align:left}
@media(max-width:760px){#changes-table{overflow-x:auto}#changes-table table{min-width:880px}}

#changes-table table th:not(:first-child),#changes-table table td:not(:first-child){text-align:right!important}

.institution-company-link{display:flex;align-items:center;gap:10px;min-width:0;color:inherit;text-decoration:none;text-align:left}.institution-company-link:hover{color:#087e50}.institution-company-link:focus-visible{outline:2px solid #087e50;outline-offset:4px;border-radius:4px}.holding-item.institution-company-link{width:100%}.institution-company-link .holding-info{flex:1;min-width:0}.table-company>.institution-company-link{flex:1}.table-company>.institution-company-link>div{min-width:0}.institution-company-link small{display:block;text-align:left}
/* The company link spans the logo and name columns together. */
#changes-table .table-company{grid-template-columns:32px minmax(0,1fr)}
#changes-table .table-company>.institution-company-link{display:grid;grid-template-columns:48px minmax(0,1fr);gap:8px;width:100%;min-width:0}
#changes-table .table-company>.institution-company-link>div{min-width:0;text-align:left;line-height:1.5;word-break:normal;overflow-wrap:break-word}
#changes-table .institution-company-link small{white-space:nowrap;word-break:normal;overflow-wrap:normal;margin-top:4px}

/* Compact whale landing; explicit company detail routes retain their navigation. */
.whale-mode>.hub-tabs,.whale-mode .holding-tabs,.whale-mode>.hub-head,.whale-mode>#notice{display:none}
.whale-mode #whale-view .investor-hero{margin:8px 0 12px}.whale-mode #whale-view .investor-hero .eyebrow,.whale-mode #whale-view .investor-hero p{display:none}.whale-mode #whale-view .investor-hero h1{font-size:34px;margin:0}
.whale-mode .recommendations{margin:14px 0 18px;gap:12px}.whale-mode .whale-picker-title{font-size:28px!important;line-height:1.35;font-weight:750}.whale-mode .whale-picker-note{display:none}
.whale-mode #search-status,.whale-mode .live-banner{display:none}.whale-mode .investor-profile{margin:12px 0}.whale-mode .investor-profile>div>p,.whale-mode .investor-profile>div>.eyebrow,.whale-mode .profile-badge{display:none}.whale-mode .portfolio-layout{gap:12px}.whale-mode .portfolio-card{padding:18px;margin-bottom:12px}.whale-mode .investor-stats{gap:10px;margin:0 0 12px}.whale-mode .stat-card{padding:14px}.whale-mode .changes-panel>.panel-head p,.whale-mode .changes-panel>.institution-note{display:none}
.whale-mode .change-highlights{gap:10px;margin:12px 0}.whale-mode .change-highlight{padding:14px}.whale-mode .change-highlight h3{font-size:22px;font-weight:800;margin:0 0 10px}.whale-mode .highlight-logos{margin:0;gap:8px;max-height:140px;overflow:auto;align-content:start}.whale-mode .highlight-company{display:flex;align-items:center;gap:7px;min-width:0;width:100%;text-decoration:none;color:#283a30}.whale-mode .highlight-company .company-logo{flex-shrink:0}.whale-mode .highlight-name{font-size:13px;line-height:1.35;overflow-wrap:anywhere}.whale-mode .change-filters{margin:12px 0 10px}
.whale-mode #changes-table{height:248px;max-height:248px;overflow:auto;scrollbar-gutter:stable}.whale-mode #changes-table thead tr{height:44px}.whale-mode #changes-table tbody tr{height:68px}.whale-mode #changes-table th,.whale-mode #changes-table td{padding:8px 10px}.whale-mode #changes-table .table-company{min-height:48px}.whale-mode #changes-table .company-logo img{width:38px;height:38px}.whale-mode #changes-table .table-company .company-logo small{display:none}.whale-mode #changes-table thead{position:sticky;top:0;background:#f0f5f1}.whale-mode #changes-table .table-pages{padding:8px}
@media(max-width:760px){.whale-mode .whale-picker-title{font-size:22px!important}.whale-mode .portfolio-card{padding:14px}.whale-mode .investor-hero h1{font-size:28px!important}.whale-mode .change-highlight h3{font-size:20px}.whale-mode .change-highlights{grid-template-columns:repeat(2,minmax(0,1fr))}.whale-mode #changes-table table{min-width:800px}}
.whale-mode .portfolio-card>.panel-head .eyebrow{display:none}.whale-mode .portfolio-card>.panel-head h2{margin:4px 0 8px}.whale-mode #options>.institution-note{display:none}

/* Compact summary and optional side-by-side options. */
.whale-mode .stat-card{padding:10px 14px}.whale-mode .stat-card strong{margin-top:4px;font-size:23px}.whale-mode .stat-card span{display:none}
.whale-change-split{display:grid;grid-template-columns:1fr;gap:12px;align-items:start}.whale-change-split.has-options{grid-template-columns:1.15fr 1fr}.whale-change-split.has-options .change-highlights{grid-template-columns:repeat(2,minmax(0,1fr))}.whale-change-split .portfolio-card{min-width:0}.whale-change-split #options h2{font-size:22px;margin:0 0 12px}.whale-change-split #options .financial-scroll{max-height:380px;overflow:auto}.whale-change-split #options table{min-width:0;width:100%;font-size:12px}.whale-change-split #options th,.whale-change-split #options td{padding:12px 8px}.whale-change-split #options .option-company{display:flex;gap:7px;align-items:center}.whale-change-split #options .option-company .company-logo{flex-shrink:0}
.whale-mode .changes-details{margin:10px 0 0;padding:0;border:0;box-shadow:none;background:transparent}.whale-mode .changes-details>summary{padding:10px 0;font-size:14px;font-weight:650;cursor:pointer;min-height:0}.whale-mode #changes-table thead{position:static}.whale-mode #changes-table thead th{position:sticky;top:0;z-index:4;background:#f0f5f1}.whale-mode #changes-table table{border-collapse:separate;border-spacing:0;min-width:800px}.whale-mode #changes-table th:first-child,.whale-mode #changes-table td:first-child{position:sticky;left:0;min-width:190px;background:white;z-index:2}.whale-mode #changes-table th:first-child{z-index:6;background:#f0f5f1}
@media(max-width:1000px){.whale-change-split.has-options{grid-template-columns:1fr}.whale-change-split.has-options .change-highlights{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* One consistent two-column grid for all connected whale portfolios. */
.whale-mode .portfolio-layout,.whale-mode .whale-change-split,.whale-mode .whale-change-split.has-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}.whale-mode .change-highlights,.whale-mode .whale-change-split.has-options .change-highlights{display:block;margin:10px 0}.whale-change-tabs{display:flex;gap:7px;margin-bottom:10px;flex-wrap:wrap}.whale-change-tabs button{font-size:12px;padding:7px 13px}.whale-change-tabs button[aria-pressed=true]{background:#1d8052;color:white;border-color:#1d8052}.whale-change-list{height:204px;overflow:auto;scrollbar-gutter:stable}.whale-change-item{height:68px;display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:9px;align-items:center;border-bottom:1px solid #e8ece6;text-decoration:none;color:#25382d}.whale-change-item>b{font-size:13px;overflow-wrap:anywhere}.whale-change-item>strong{font-size:19px}.whale-change-item .company-logo{min-width:0}.whale-change-item .company-logo img{width:36px;height:36px}.whale-change-item .company-logo small{font-size:9px!important}.whale-option-list{max-height:224px;overflow:auto}.whale-option-item{display:grid;grid-template-columns:minmax(0,1fr) minmax(60px,130px) 64px;gap:10px;align-items:center;min-height:68px;border-bottom:1px solid #e8ece6}.whale-option-item>b{font-size:13px}.whale-option-item>strong{font-size:20px;color:#146844;text-align:right}.whale-option-item .option-company{min-width:0;color:#25382d;text-decoration:none}.whale-option-item .option-company>b{font-size:13px}.whale-option-item small{display:block;color:#839087;font-size:10px;margin-top:3px}.option-share-bar{height:9px;background:#ecf0e9;border-radius:4px;overflow:hidden}.option-share-bar i{display:block;height:100%;background:#2c8a6b}.whale-mode #options .option-basis{font-size:11px;color:#7b887e;margin:8px 0}.whale-mode .option-detail{border:0;padding:0;background:transparent;margin:10px 0 0;box-shadow:none}.option-detail>summary{font-size:13px;padding:8px 0;min-height:0}.whale-no-record{padding:36px 0;color:#829087;font-size:13px}.whale-mode .changes-panel h2{font-size:20px}.whale-mode .changes-panel .example-pill{font-size:10px;padding:5px 8px}.whale-mode .changes-panel>.panel-head{flex-wrap:wrap}
@media(max-width:760px){.whale-mode .portfolio-layout,.whale-mode .whale-change-split,.whale-mode .whale-change-split.has-options{grid-template-columns:1fr}.whale-option-item{grid-template-columns:minmax(0,1fr) 80px 60px}}
/* Summary strip is visually distinct from the white content blocks. */
.whale-mode .investor-stats{background:#edf2f6;border:1px solid #dce5ed;border-radius:12px;padding:10px 0;gap:0;overflow:hidden}.whale-mode .investor-stats .stat-card{background:transparent;border:0;border-radius:0;padding:4px 16px;margin:0;box-shadow:none;min-width:0}.whale-mode .investor-stats .stat-card+.stat-card{border-left:1px solid #d4dfe8}.whale-mode .investor-stats .stat-card small{color:#6d7d8c}.whale-mode .investor-stats .stat-card strong{font-size:23px;margin-top:4px}.whale-mode .investor-tagline{display:inline-block;color:#718477;font-size:13px;line-height:1.4;margin-left:8px}@media(max-width:760px){.whale-mode .investor-stats .stat-card{padding:8px 12px}.whale-mode .investor-stats .stat-card:nth-child(3){border-left:0}.whale-mode .investor-tagline{margin-left:0}}

.whale-mode .whale-change-list{height:auto;max-height:204px;min-height:0}.whale-mode .whale-change-split,.whale-mode .whale-change-split.has-options{align-items:start}.whale-mode .whale-change-split:not(.has-options){grid-template-columns:1fr}.whale-mode .whale-change-item{grid-template-columns:44px minmax(0,260px) auto;justify-content:start}.whale-mode .whale-change-item>strong{margin-left:12px}.whale-mode .whale-option-item{grid-template-columns:minmax(140px,230px) 100px 62px;justify-content:start;gap:10px}.whale-mode .whale-change-split:not(.has-options) .whale-change-list{max-width:600px}.whale-mode .whale-change-split .portfolio-card{margin-bottom:0}.whale-mode .whale-change-split{margin-bottom:12px}@media(max-width:760px){.whale-mode .whale-option-item{grid-template-columns:minmax(0,1fr) 65px 55px}.whale-mode .whale-change-item{grid-template-columns:40px minmax(0,1fr) auto}}

.whale-mode .company-logo img[src*="toss-logos"]{background:#fff!important;padding:0!important;filter:none!important;width:42px;height:42px}.whale-mode .change-rate-label{font-size:11px;color:#78877d;margin:0 0 8px}.whale-mode .company-logo{background:transparent!important}.whale-mode .holding-item .company-logo img{width:42px;height:42px}
/* Keep both investor selector rows equally tall, including the two-line label. */
#recommendations{grid-auto-rows:56px}#recommendations button{height:100%;min-height:56px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.4;padding:8px;white-space:normal}
.whale-change-head,.whale-mode .compact-change-item{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1.05fr) minmax(0,.85fr) minmax(0,.85fr) minmax(0,.95fr);align-items:center;gap:8px;min-width:0;width:100%;box-sizing:border-box}.whale-change-head{font-size:10px;color:#7b887f;padding:11px 0 8px;border-bottom:1px solid #e5e9e0}.whale-change-head>span:not(:first-child){text-align:right}.whale-mode .compact-change-item{padding:14px 0;min-height:56px}.whale-mode .compact-change-item>span,.whale-mode .compact-change-item>strong{text-align:right;font-size:12px;margin:0;white-space:nowrap}.whale-mode .compact-change-item .change-company-name{font-size:12px;line-height:1.45;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.whale-mode .whale-change-list{overflow-x:hidden}.whale-mode .whale-change-split:not(.has-options) .whale-change-list{max-width:none}.whale-mode .compact-change-table{width:100%;min-width:0!important;table-layout:fixed}.whale-mode .compact-change-table th:first-child,.whale-mode .compact-change-table td:first-child{width:30%;text-align:left}.whale-mode .compact-change-table th,.whale-mode .compact-change-table td{font-size:11px;padding:10px 5px;white-space:normal;text-align:right}.whale-mode .compact-change-table th button{font-size:10px;padding:0}.whale-mode .compact-change-table td:not(:first-child){white-space:nowrap}.whale-mode .compact-change-table .change-company-name{display:block;font-size:11px;overflow-wrap:anywhere}.whale-mode #changes-table{overflow-x:hidden}
@media(max-width:650px){.whale-change-head,.whale-mode .compact-change-item{gap:4px;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,.9fr) minmax(0,.85fr) minmax(0,1fr)}.whale-change-head{font-size:9px}.whale-mode .compact-change-item>span,.whale-mode .compact-change-item>strong,.whale-mode .compact-change-item .change-company-name{font-size:10px}.whale-mode .compact-change-table th,.whale-mode .compact-change-table td{padding:8px 3px;font-size:10px}.whale-mode .compact-change-table th button{font-size:9px}}

/* Selected investor follows the site's deep green palette. */
#recommendations button.selected,#recommendations button[aria-pressed="true"]{background:#285b43;border-color:#285b43;color:#fff;font-weight:700;box-shadow:inset 0 0 0 1px #285b43}
#recommendations button.selected:hover{background:#204b37;border-color:#204b37}
#recommendations button:focus-visible{outline:3px solid #a9c4ad;outline-offset:3px}

.scope-comparison-notice{grid-column:1/-1;flex-basis:100%;margin:0;padding:14px 18px;border-top:1px solid var(--line,#d8e1dc);font-size:13px;line-height:1.7;color:var(--muted,#5a6c64)}.scope-comparison-notice b{color:var(--text,#243c30)}

/* One semantic table keeps headings and values on identical column tracks. */
.whale-mode .whale-change-scroll{max-height:244px;overflow:auto;scrollbar-gutter:stable;box-sizing:border-box;padding-right:0;max-width:none;width:100%}
.whale-mode .whale-changes-table{width:100%;min-width:0!important;table-layout:fixed;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums}
.whale-mode .whale-changes-table th,.whale-mode .whale-changes-table td{box-sizing:border-box;text-align:right;padding:16px 12px;white-space:nowrap;border:0;border-bottom:1px solid #e5e9e0;background:#fff;font-size:12px;line-height:1.5;position:static}
.whale-mode .whale-changes-table th{position:sticky;top:0;z-index:2;font-size:10px;color:#738077;font-weight:500;padding-top:10px;padding-bottom:10px}
.whale-mode .whale-changes-table :is(th,td):first-child{text-align:left;padding-left:14px;white-space:normal;overflow-wrap:anywhere}
.whale-mode .whale-changes-table td{height:68px}
.whale-mode .whale-changes-table td.green-text,.whale-mode .whale-changes-table td.red-text{font-weight:700}
.whale-mode .change-company-link{color:#25382d;text-decoration:none;font-weight:650;display:block;line-height:1.5}
.whale-mode .change-company-link:hover{text-decoration:underline}
@media(max-width:650px){.whale-mode .whale-change-scroll{padding-right:0}.whale-mode .whale-changes-table th,.whale-mode .whale-changes-table td{padding-left:5px;padding-right:5px;font-size:10px}.whale-mode .whale-changes-table th{font-size:9px}.whale-mode .whale-changes-table td{height:62px}}

/* Neutral first column and matching outer gutters for the changes panel. */
.whale-mode .whale-changes-table th:first-child,
.whale-mode .whale-changes-table td:first-child,
.whale-mode .whale-changes-table tr:hover td:first-child,
.whale-mode .whale-changes-table tr:focus-within td:first-child{background:#fff; padding-left:14px}

/* Desktop only: compact twelve choices without changing mobile button styles. */
@media(min-width:1000px){
 #recommendations{grid-template-columns:repeat(6,minmax(0,1fr));max-width:960px;gap:8px;grid-auto-rows:46px}
 #recommendations button{min-height:46px;padding:6px 7px}
}

/* 도넛 카드 제목에 운용사 이름이 들어가므로 한 줄로 줄여 표시 */
.portfolio-card>.panel-head>div:first-child{min-width:0}
.portfolio-card>.panel-head h2{font-size:clamp(15px,1.5vw,18px);line-height:1.25;overflow-wrap:anywhere}
.portfolio-card #quarter-tabs button{white-space:nowrap}

/* 기관·월가: 카드에 마우스를 올려도 위로 뜨거나 커지지 않게 */
@media(hover:hover){.portfolio-card:hover,.hub-panel:hover,.grid>section:hover,.changes-panel:hover,.institution-dashboard section:hover,#portfolio-content section:hover{transform:none!important}}

/* 도넛 아래 "상위 3개 종목 집중도" 줄이 도넛 아래쪽에 겹치지 않게 여유 확보(PC) */
@media(min-width:1001px){.portfolio-layout>.portfolio-card:first-child{padding-bottom:96px}}
