/* Home Dashboard V10 — Phase 2 desktop shell
 * Home-only visual layer. Market V9 remains the data/content engine below it.
 */
html[data-cardondo-home="v10-shell"]{
  --home-orange:#ff5a1f;
  --home-orange-hover:#e94b13;
  --home-bg:#faf8f5;
  --home-surface:#fff;
  --home-line:#eee9e4;
  --home-ink:#171a21;
  --home-muted:#626873;
  --home-soft:#969ba3;
  --home-positive:#13a36d;
  --home-negative:#e84848;
  background:var(--home-bg);
}
html[data-cardondo-home="v10-shell"] body{
  background:var(--home-bg);
  color:var(--home-ink);
}
html[data-cardondo-home="v10-shell"] .v9Header{
  background:var(--home-surface);
  border-bottom:1px solid var(--home-line);
  position:sticky;
  top:0;
  z-index:30;
}
html[data-cardondo-home="v10-shell"] .homeV10HeaderInner{
  width:min(1240px,calc(100% - 40px));
  min-height:72px;
  margin:0 auto;
  display:grid;
  grid-template-columns:auto minmax(320px,600px) 1fr auto;
  gap:22px;
  align-items:center;
}
html[data-cardondo-home="v10-shell"] .homeV10Brand{
  --cardondo-brand-ink:var(--home-ink);
  --cardondo-brand-accent:var(--home-orange);
  font-size:19px;
  font-weight:900;
}
html[data-cardondo-home="v10-shell"] .homeV10GlobalSearch{
  min-height:42px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:9px;
  padding:4px 5px 4px 14px;
  border:1px solid var(--home-line);
  border-radius:10px;
  background:#fbfaf8;
}
html[data-cardondo-home="v10-shell"] .homeV10GlobalSearch>span{color:var(--home-soft);font-size:18px}
html[data-cardondo-home="v10-shell"] .homeV10GlobalSearch input{
  min-width:0;
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  color:var(--home-ink);
  font:inherit;
  font-size:13px;
}
html[data-cardondo-home="v10-shell"] .homeV10GlobalSearch button{
  min-height:32px;
  padding:0 14px;
  border:0;
  border-radius:8px;
  background:var(--home-orange);
  color:#fff;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
}
html[data-cardondo-home="v10-shell"] .homeV10GlobalSearch button:hover{background:var(--home-orange-hover)}
html[data-cardondo-home="v10-shell"] .homeV10HeaderSpacer{min-width:0}
html[data-cardondo-home="v10-shell"] .homeV10HeaderTools{display:flex;align-items:center;gap:8px}
html[data-cardondo-home="v10-shell"] .homeV10HeaderTools a{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border:1px solid var(--home-line);
  border-radius:10px;
  background:#fff;
  color:#454a52;
  text-decoration:none;
  font-size:16px;
}
html[data-cardondo-home="v10-shell"] .homeV10HeaderTools a:last-child{
  width:auto;
  min-width:70px;
  padding:0 12px;
  gap:7px;
  grid-auto-flow:column;
  font-size:11px;
  font-weight:850;
}
html[data-cardondo-home="v10-shell"] .homeV10CategoryWrap{
  background:#fff;
  border-bottom:1px solid var(--home-line);
}
html[data-cardondo-home="v10-shell"] .homeV10CategoryNav{
  width:min(1240px,calc(100% - 40px));
  min-height:46px;
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:4px;
  overflow-x:auto;
  scrollbar-width:none;
}
html[data-cardondo-home="v10-shell"] .homeV10CategoryNav::-webkit-scrollbar{display:none}
html[data-cardondo-home="v10-shell"] .homeV10CategoryNav a{
  flex:0 0 auto;
  min-height:34px;
  display:flex;
  align-items:center;
  padding:0 12px;
  border-radius:8px;
  color:#565c64;
  text-decoration:none;
  font-size:12px;
  font-weight:800;
}
html[data-cardondo-home="v10-shell"] .homeV10CategoryNav a:hover{background:#fff4ee;color:var(--home-orange-hover)}
html[data-cardondo-home="v10-shell"] .homeV10CategoryNav a.active{background:#fff1ea;color:var(--home-orange);font-weight:900}
html[data-cardondo-home="v10-shell"] .v9Main{
  width:min(1240px,calc(100% - 40px));
  margin:22px auto 48px;
}
html[data-cardondo-home="v10-shell"] .homeV10Welcome{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin:0 2px 16px;
}
html[data-cardondo-home="v10-shell"] .homeV10Welcome small{
  display:block;
  margin-bottom:5px;
  color:var(--home-orange);
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
}
html[data-cardondo-home="v10-shell"] .homeV10Welcome h1{
  margin:0;
  font-size:28px;
  line-height:1.2;
  letter-spacing:-.035em;
}
html[data-cardondo-home="v10-shell"] .homeV10Welcome p{
  margin:5px 0 0;
  color:var(--home-muted);
  font-size:12px;
}
html[data-cardondo-home="v10-shell"] .homeV10Welcome>a{
  flex:0 0 auto;
  min-height:38px;
  display:flex;
  align-items:center;
  padding:0 14px;
  border:1px solid var(--home-line);
  border-radius:9px;
  background:#fff;
  color:#4d535b;
  text-decoration:none;
  font-size:11px;
  font-weight:850;
}
html[data-cardondo-home="v10-shell"] .homeV10DashboardGrid{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(290px,1fr);
  gap:20px;
}
html[data-cardondo-home="v10-shell"] .homeV10Card{
  min-width:0;
  border:1px solid var(--home-line);
  border-radius:14px;
  background:var(--home-surface);
  box-shadow:0 1px 2px rgba(32,24,18,.02);
}
html[data-cardondo-home="v10-shell"] .homeV10CardHeader{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:18px 20px 0;
}
html[data-cardondo-home="v10-shell"] .homeV10CardHeader small{
  display:block;
  margin-bottom:4px;
  color:var(--home-soft);
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
}
html[data-cardondo-home="v10-shell"] .homeV10CardHeader h2{margin:0;font-size:18px;letter-spacing:-.025em}
html[data-cardondo-home="v10-shell"] .homeV10CardHeader>a{
  color:var(--home-orange);
  text-decoration:none;
  font-size:10px;
  font-weight:900;
  white-space:nowrap;
}
html[data-cardondo-home="v10-shell"] .homeV10CollectionBody{padding:24px 20px 20px}
html[data-cardondo-home="v10-shell"] .homeV10EmptyValue{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
}
html[data-cardondo-home="v10-shell"] .homeV10EmptyValue strong{display:block;font-size:27px;line-height:1.1;letter-spacing:-.04em}
html[data-cardondo-home="v10-shell"] .homeV10EmptyValue p{max-width:510px;margin:7px 0 0;color:var(--home-muted);font-size:11px;line-height:1.55}
html[data-cardondo-home="v10-shell"] .homeV10PrimaryButton{
  min-height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 14px;
  border-radius:9px;
  background:var(--home-orange);
  color:#fff!important;
  text-decoration:none;
  font-size:11px;
  font-weight:900;
  white-space:nowrap;
}
html[data-cardondo-home="v10-shell"] .homeV10PrimaryButton:hover{background:var(--home-orange-hover)}
html[data-cardondo-home="v10-shell"] .homeV10ChartShell{
  height:104px;
  margin-top:20px;
  position:relative;
  overflow:hidden;
  border-radius:11px;
  background:linear-gradient(180deg,#fff9f5 0,#fff 100%);
  border:1px dashed #f1e6df;
}
html[data-cardondo-home="v10-shell"] .homeV10ChartShell:before,
html[data-cardondo-home="v10-shell"] .homeV10ChartShell:after{
  content:"";
  position:absolute;
  left:18px;
  right:18px;
  border-top:1px solid #f1ece7;
}
html[data-cardondo-home="v10-shell"] .homeV10ChartShell:before{top:34px}
html[data-cardondo-home="v10-shell"] .homeV10ChartShell:after{top:68px}
html[data-cardondo-home="v10-shell"] .homeV10ChartShell span{
  position:absolute;
  inset:auto 18px 17px 18px;
  height:42px;
  border-bottom:2px solid rgba(255,90,31,.36);
  border-radius:50%;
  transform:skewY(-4deg);
}
html[data-cardondo-home="v10-shell"] .homeV10StatusNote{
  margin-top:12px;
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--home-soft);
  font-size:9px;
}
html[data-cardondo-home="v10-shell"] .homeV10StatusDot{width:7px;height:7px;border-radius:50%;background:#d7d2cd}
html[data-cardondo-home="v10-shell"] .homeV10AlertBody{padding:13px 16px 18px}
html[data-cardondo-home="v10-shell"] .homeV10ActionRow{
  min-height:60px;
  display:grid;
  grid-template-columns:36px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:9px 4px;
  border-top:1px solid #f1ede9;
  text-decoration:none;
  color:var(--home-ink);
}
html[data-cardondo-home="v10-shell"] .homeV10ActionRow:first-child{border-top:0}
html[data-cardondo-home="v10-shell"] .homeV10ActionIcon{
  width:34px;
  height:34px;
  border-radius:9px;
  display:grid;
  place-items:center;
  background:#fff3ed;
  color:var(--home-orange);
  font-size:15px;
}
html[data-cardondo-home="v10-shell"] .homeV10ActionRow b{display:block;font-size:11px;margin-bottom:3px}
html[data-cardondo-home="v10-shell"] .homeV10ActionRow small{display:block;color:var(--home-soft);font-size:9px;line-height:1.4}
html[data-cardondo-home="v10-shell"] .homeV10ActionRow>strong{color:#b2aba4;font-size:15px}
html[data-cardondo-home="v10-shell"] .homeV10SecondaryGrid{
  margin-top:20px;
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr);
  gap:20px;
}
html[data-cardondo-home="v10-shell"] .homeV10PlaceholderBody{padding:18px 20px 20px}
html[data-cardondo-home="v10-shell"] .homeV10PlaceholderBody p{margin:0;color:var(--home-muted);font-size:11px;line-height:1.55}
html[data-cardondo-home="v10-shell"] .homeV10PlaceholderTiles{
  margin-top:14px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:9px;
}
html[data-cardondo-home="v10-shell"] .homeV10PlaceholderTile{
  min-height:86px;
  padding:11px;
  border:1px solid #f0ebe6;
  border-radius:11px;
  background:#fbfaf8;
}
html[data-cardondo-home="v10-shell"] .homeV10PlaceholderTile i{display:block;width:28px;height:38px;border-radius:5px;background:#eee9e4;margin-bottom:8px}
html[data-cardondo-home="v10-shell"] .homeV10PlaceholderTile b{display:block;font-size:9px;color:#797f87}
html[data-cardondo-home="v10-shell"] .homeV10ProgressMock{
  margin-top:17px;
  height:8px;
  border-radius:999px;
  background:#eee9e4;
  overflow:hidden;
}
html[data-cardondo-home="v10-shell"] .homeV10ProgressMock span{display:block;width:0;height:100%;background:var(--home-orange)}
html[data-cardondo-home="v10-shell"] .homeV10InlineLink{display:inline-flex;margin-top:15px;color:var(--home-orange);font-size:10px;font-weight:900;text-decoration:none}
html[data-cardondo-home="v10-shell"] .homeV10MarketIntro{
  margin:30px 2px 8px;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:16px;
}
html[data-cardondo-home="v10-shell"] .homeV10MarketIntro small{display:block;color:var(--home-orange);font-size:9px;font-weight:900;letter-spacing:.08em;margin-bottom:4px}
html[data-cardondo-home="v10-shell"] .homeV10MarketIntro h2{margin:0;font-size:22px;letter-spacing:-.03em}
html[data-cardondo-home="v10-shell"] .homeV10MarketIntro p{margin:4px 0 0;color:var(--home-muted);font-size:10px}
html[data-cardondo-home="v10-shell"] .homeV10MarketIntro>a{color:var(--home-orange);font-size:10px;font-weight:900;text-decoration:none}
/* Hide market-page controls that duplicate the Home shell. Market sections stay below. */
html[data-cardondo-home="v10-shell"] .v9Hero,
html[data-cardondo-home="v10-shell"] .v9Search,
html[data-cardondo-home="v10-shell"] .v9Filters,
html[data-cardondo-home="v10-shell"] .v9Watch{display:none!important}
html[data-cardondo-home="v10-shell"] .v9Section{margin-top:18px}
html[data-cardondo-home="v10-shell"] .v9Section>header{margin-left:2px;margin-right:2px}
html[data-cardondo-home="v10-shell"] .v9Section h2{font-size:19px;color:var(--home-ink)}
html[data-cardondo-home="v10-shell"] .v9MoveList,
html[data-cardondo-home="v10-shell"] .v9SimpleList,
html[data-cardondo-home="v10-shell"] .v9Timeline,
html[data-cardondo-home="v10-shell"] .v9EvidenceMore{
  border-color:var(--home-line);
  border-radius:14px;
  box-shadow:none;
}
html[data-cardondo-home="v10-shell"] .v9FeaturedRow,
html[data-cardondo-home="v10-shell"] .v9NewsRow,
html[data-cardondo-home="v10-shell"] .v9MoveRow{background:#fff}
html[data-cardondo-home="v10-shell"] .v9Eyebrow{color:var(--home-orange)}
html[data-cardondo-home="v10-shell"] .v9Segments button.active{background:var(--home-orange)}
html[data-cardondo-home="v10-shell"] .v9FeaturedBadge.up,
html[data-cardondo-home="v10-shell"] .v9MoveChange.up{color:var(--home-negative)!important}
html[data-cardondo-home="v10-shell"] .v9Bottom{display:none!important}
html[data-cardondo-home="v10-shell"] .v9Footer{width:min(1240px,calc(100% - 40px))}
@media(max-width:1050px){
  html[data-cardondo-home="v10-shell"] .homeV10HeaderInner{grid-template-columns:auto minmax(280px,1fr) auto;gap:14px}
  html[data-cardondo-home="v10-shell"] .homeV10HeaderSpacer{display:none}
  html[data-cardondo-home="v10-shell"] .homeV10DashboardGrid{grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr)}
  html[data-cardondo-home="v10-shell"] .homeV10SecondaryGrid{grid-template-columns:1fr 1fr}
}
@media(max-width:820px){
  html[data-cardondo-home="v10-shell"] .homeV10HeaderInner{width:calc(100% - 28px);grid-template-columns:1fr auto;min-height:62px}
  html[data-cardondo-home="v10-shell"] .homeV10GlobalSearch{grid-column:1/-1;grid-row:2;margin-bottom:10px}
  html[data-cardondo-home="v10-shell"] .homeV10CategoryNav{width:calc(100% - 28px)}
  html[data-cardondo-home="v10-shell"] .v9Main{width:calc(100% - 28px);margin-top:18px}
  html[data-cardondo-home="v10-shell"] .homeV10DashboardGrid,
  html[data-cardondo-home="v10-shell"] .homeV10SecondaryGrid{grid-template-columns:1fr}
  html[data-cardondo-home="v10-shell"] .homeV10PlaceholderTiles{grid-template-columns:repeat(2,1fr)}
  html[data-cardondo-home="v10-shell"] .homeV10Welcome{align-items:flex-start;flex-direction:column}
}
@media(max-width:520px){
  html[data-cardondo-home="v10-shell"] .homeV10HeaderInner,
  html[data-cardondo-home="v10-shell"] .homeV10CategoryNav,
  html[data-cardondo-home="v10-shell"] .v9Main{width:calc(100% - 24px)}
  html[data-cardondo-home="v10-shell"] .homeV10HeaderTools a:last-child{min-width:42px;width:42px;padding:0;font-size:0}
  html[data-cardondo-home="v10-shell"] .homeV10HeaderTools a:last-child:before{content:'MY';font-size:9px}
  html[data-cardondo-home="v10-shell"] .homeV10Welcome h1{font-size:24px}
  html[data-cardondo-home="v10-shell"] .homeV10EmptyValue{align-items:flex-start;flex-direction:column}
  html[data-cardondo-home="v10-shell"] .homeV10CardHeader{padding:16px 16px 0}
  html[data-cardondo-home="v10-shell"] .homeV10CollectionBody,
  html[data-cardondo-home="v10-shell"] .homeV10PlaceholderBody{padding:18px 16px}
  html[data-cardondo-home="v10-shell"] .homeV10PlaceholderTiles{grid-template-columns:1fr 1fr}
}
