/* HabisTu+ V2 Home — locked editorial-community direction. */
.habistu-plus-home-v2{
  --htv2-left:230px;
  --htv2-feed:minmax(0,680px);
  --htv2-right:300px;
  width:min(1320px,calc(100% - 48px));
  margin:0 auto;
  padding:24px 0 104px;
  font-family:'Poppins',sans-serif;
}
.habistu-plus-home-v2 *{box-sizing:border-box}
.htv2-eyebrow{display:block;margin-bottom:8px;font-size:.68rem;line-height:1.2;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:#0B1F3B}
.htv2-layout{display:grid;grid-template-columns:var(--htv2-left) var(--htv2-feed) var(--htv2-right);gap:18px;align-items:start}
.htv2-left,.htv2-right{display:grid;gap:14px;position:sticky;top:84px;min-width:0}
.htv2-panel{min-width:0;padding:16px;border:1px solid #E4DFDA;border-radius:14px;background:#fff}
.htv2-panel.is-yellow{background:#FFF6CF}
.htv2-panel.is-peach{background:#FFF0E8}
.htv2-section-head{margin-bottom:14px}
.htv2-section-head .htv2-eyebrow{margin:0 0 4px;color:#637083}
.htv2-section-head h2,.htv2-section-head h3{margin:0;font-size:1.18rem;line-height:1.08;font-weight:800;letter-spacing:-.025em;color:#0B1F3B}
.htv2-section-head::after{content:"";display:block;width:30px;height:3px;margin-top:8px;border-radius:99px;background:#FFD020}
.htv2-section-head p{margin:10px 0 0;font-size:.78rem;line-height:1.5;color:#64748B}
.htv2-topic-list{display:flex!important;flex-direction:column!important;gap:3px!important}
.htv2-topic-list .habistu-topic-chip{justify-content:flex-start;width:100%;min-height:38px;border:0!important;border-radius:9px!important;background:transparent!important;color:#0B1F3B!important;font-size:.78rem!important;font-weight:600!important}
.htv2-topic-list .habistu-topic-chip:hover,.htv2-topic-list .habistu-topic-chip.is-active{background:#FFF5DC!important;color:#0B1F3B!important}
.htv2-join-card{padding:16px;border-radius:14px;background:#FFF5DC;border:1px solid #F0E1B6}
.htv2-join-card strong{display:block;font-size:.95rem;font-weight:700}
.htv2-join-card p{margin:5px 0 12px;font-size:.75rem;line-height:1.45;color:#637083}
.htv2-join-card a{display:inline-flex;min-height:38px;align-items:center;padding:0 14px;border-radius:999px;background:#FF4D00;color:#fff;text-decoration:none;font-size:.72rem;font-weight:600}
.htv2-feed-column{min-width:0}
.htv2-feed-tabs{display:flex;align-items:center;gap:32px;min-height:48px;padding:0 8px;margin-bottom:8px;border-bottom:1px solid #E4DFDA}
.htv2-feed-tabs span{position:relative;display:flex;align-items:center;min-height:48px;font-size:.78rem;font-weight:600;color:#64748B}
.htv2-feed-tabs .is-active{color:#0B1F3B}
.htv2-feed-tabs .is-active::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;border-radius:99px;background:#FFD020}
.habistu-soft-composer.htv2-composer{padding:0;border:1px solid #E4DFDA;border-radius:14px;background:#fff}
.htv2-composer-trigger{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;width:100%;min-height:66px;padding:10px 12px;border:0;background:transparent;text-align:left;color:#0B1F3B}
.htv2-composer-trigger img,.htv2-avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#0B1F3B;color:#fff;display:grid;place-items:center;font-size:.7rem;font-weight:700}
.htv2-composer-trigger strong{display:block;font-size:.82rem;font-weight:600}
.htv2-composer-trigger span{display:block;margin-top:2px;font-size:.72rem;font-weight:400;color:#64748B}
.htv2-composer-trigger b{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:9px;background:#FFF5DC;color:#0B1F3B;font-size:1.1rem}


.htv2-right .htv2-trending-list{display:grid;gap:8px}
.htv2-trending-item{display:grid;grid-template-columns:26px 1fr;gap:8px;align-items:start}
.htv2-trending-item b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#FFD020;color:#0B1F3B;font-size:.68rem;font-weight:700}
.htv2-trending-item span{font-size:.73rem;line-height:1.35;color:#0B1F3B}
.htv2-editorial-mini{display:block;text-decoration:none;color:#0B1F3B}
.htv2-editorial-mini__image{height:120px;margin-bottom:10px;border-radius:10px;background:#0B1F3B center/cover no-repeat}
.htv2-editorial-mini strong{display:block;font-size:.95rem;line-height:1.2;font-weight:700}
.htv2-hub-links{display:grid;gap:7px}
.htv2-hub-links a{display:flex;align-items:center;justify-content:space-between;min-height:40px;padding:0 10px;border-radius:9px;background:#fff;color:#0B1F3B;text-decoration:none;font-size:.72rem;font-weight:600}
.htv2-hub-links a::after{content:"›";font-size:1.1rem}
.habistu-plus-home-v2 .habistu-feed{display:grid;gap:12px}
.habistu-plus-home-v2 .habistu-feed-card{border-radius:14px!important}
.habistu-plus-home-v2 .habistu-card-media-grid{margin-left:12px!important;margin-right:12px!important;width:calc(100% - 24px);border-radius:10px!important;overflow:hidden}
.habistu-plus-home-v2 .habistu-card-media-grid--3{aspect-ratio:1/1!important}
.habistu-plus-home-v2 .habistu-card-media-grid--4{aspect-ratio:1/1!important}
.habistu-plus-home-v2 .habistu-card-media-overflow{font-family:'Poppins',sans-serif;font-weight:700;background:rgba(11,31,59,.6)}
.habistu-plus-home-v2 .habistu-feed-card>.habistu-card-head{margin-top:14px}
.habistu-plus-home-v2 .habistu-card-headline{font-family:'Poppins',sans-serif;font-weight:700!important}
.habistu-plus-home-v2 .habistu-card-caption,.habistu-plus-home-v2 .habistu-card-content{font-weight:400}
.habistu-plus-home-v2 .habistu-card-meta-row,.habistu-plus-home-v2 .habistu-card-metrics{font-weight:500}
.habistu-plus-home-v2 .habistu-card-action,.habistu-plus-home-v2 .habistu-topic-pill{font-weight:600}
/* Ecosystem switcher styling is global in theme.css; keep Home from overriding it. */
@media(max-width:1180px){
  .habistu-plus-home-v2{width:min(960px,calc(100% - 32px))}
  .htv2-layout{grid-template-columns:minmax(0,1fr) 280px}
  .htv2-left{display:none}
}
@media(max-width:860px){
  .habistu-plus-home-v2{width:calc(100% - 24px);padding-top:14px}
  .htv2-layout{grid-template-columns:minmax(0,1fr)}
  .htv2-right{display:none}
  .htv2-feed-tabs{gap:24px}
  .habistu-plus-home-v2 .habistu-card-media-grid{margin-left:0!important;margin-right:0!important;width:100%;border-radius:0!important}
}
@media(max-width:480px){
  .htv2-feed-tabs{justify-content:space-between;gap:8px;padding:0 4px}
  .htv2-feed-tabs span{font-size:.72rem}
}

/* Stage 6 V21 — single community-impact hero; secondary banners intentionally hidden. */
.htv2-approved-hero{
  display:block!important;
  width:min(100%,1120px);
  min-height:0!important;
  aspect-ratio:1983/793;
  margin:0 auto 16px;
  overflow:hidden;
  border:0!important;
  border-radius:10px!important;
  background:#fff url('../images/habistu-home-community-impact-hero.webp') center/cover no-repeat!important;
  box-shadow:none!important;
  text-decoration:none!important;
  cursor:pointer;
}
.htv2-approved-hero:focus-visible{outline:3px solid #FFC700;outline-offset:3px}
.htv2-approved-hero .screen-reader-text{position:absolute}
.htv2-discovery[hidden]{display:none!important;margin:0!important}
.htv2-composer-bar{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  min-height:58px;
  padding:7px 10px;
}
.htv2-composer-trigger{
  grid-template-columns:auto minmax(0,1fr)!important;
  min-height:44px!important;
  padding:0!important;
}
.htv2-composer-trigger strong{
  display:flex!important;
  align-items:center;
  gap:3px;
  font-size:.78rem!important;
  color:#0B1F3B;
}
.htv2-composer-trigger strong i{font-style:normal;color:#0B1F3B}
.htv2-composer-trigger>span>span{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:310px;
}
.htv2-composer-shortcuts{
  display:flex;
  align-items:center;
  gap:3px;
}
.htv2-composer-shortcuts button{
  min-height:38px;
  padding:0 10px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#304A69;
  font-family:'Poppins',sans-serif;
  font-size:.69rem;
  font-weight:600;
}
.htv2-composer-shortcuts button:hover{background:#FFF5DC;color:#0B1F3B}
.htv2-composer-shortcuts button span{margin-right:4px;font-size:.82rem}



@media(max-width:860px){
  .habistu-plus-home-v2{
    width:calc(100% - 20px)!important;
    padding-top:8px!important;
  }
  .htv2-approved-hero{
    width:100%;
    margin-bottom:12px;
  }
  .htv2-composer-bar{grid-template-columns:minmax(0,1fr) auto;padding:6px 8px}
  .htv2-composer-shortcuts button:nth-child(2),
  .htv2-composer-shortcuts button:nth-child(3){display:none}
  .htv2-composer-shortcuts button:first-child{
    width:38px;
    padding:0;
    font-size:0;
  }
  .htv2-composer-shortcuts button:first-child span{margin:0;font-size:1rem}
  .htv2-composer-trigger>span>span{max-width:210px}

}



/* Stage 6 V2 RC3 — header, composer spacing and portrait-video parity. */
.habistu-site-header.is-plus .habistu-site-header__inner{
  width:min(1280px,calc(100% - 40px));
  min-height:70px;
  grid-template-columns:auto auto minmax(260px,1fr) auto;
  gap:22px;
}
.habistu-site-header.is-plus .habistu-plus-top-nav{
  justify-content:flex-start;
  gap:22px;
}
.habistu-site-header.is-plus .habistu-plus-top-nav>a,
.habistu-site-header.is-plus .habistu-plus-top-nav>.habistu-nav-group>a{
  position:relative;
  min-height:70px;
  display:flex;
  align-items:center;
  font-size:.75rem;
  font-weight:600;
  color:#304A69;
}
.habistu-site-header.is-plus .habistu-plus-top-nav a.is-current{color:#0B1F3B}
.habistu-site-header.is-plus .habistu-plus-top-nav>a.is-current::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:3px;
  border-radius:999px 999px 0 0;
  background:#FF4D00;
}
.habistu-plus-header-search{
  position:relative;
  display:flex;
  align-items:center;
  min-width:0;
  height:40px;
  border:1px solid #E8E2DA;
  border-radius:999px;
  background:#FFF8F2;
}
.habistu-plus-header-search svg{
  flex:0 0 auto;
  width:18px;
  height:18px;
  margin-left:14px;
  color:#0B1F3B;
}
.habistu-plus-header-search input{
  width:100%;
  min-width:0;
  height:38px;
  padding:0 14px 0 9px;
  border:0;
  outline:0;
  background:transparent;
  color:#0B1F3B;
  font-family:'Poppins',sans-serif;
  font-size:.72rem;
}
.habistu-plus-header-search input::placeholder{color:#8993A0}
.habistu-site-header.is-plus .habistu-account-nav--plus-v2{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
}
.habistu-plus-mobile-search{display:none!important}
.habistu-plus-notification{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  padding:0;
  border:0;
  background:transparent;
  color:#0B1F3B;
  opacity:1!important;
  cursor:default;
}
.habistu-plus-notification svg{width:21px;height:21px}
.habistu-header-ecosystem-link span{font-size:.78rem}







/* External portrait video should read as a phone/video object, not a full-width feed image. */
.habistu-plus-home-v2 .habistu-card-embed.is-portrait{
  display:flex;
  flex-direction:column;
  align-items:center;
}
.habistu-plus-home-v2 .habistu-card-embed.is-portrait .habistu-card-embed__frame{
  width:min(100%,280px)!important;
  aspect-ratio:9/16!important;
  max-height:none!important;
  overflow:hidden;
  margin-inline:auto;
}
.habistu-plus-home-v2 .habistu-card-embed.is-portrait .habistu-card-embed__frame iframe{
  display:block;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  border:0;
}
.habistu-plus-home-v2 .habistu-card-embed.is-portrait .habistu-card-embed__label,
.habistu-plus-home-v2 .habistu-card-embed.is-portrait .habistu-card-embed__source{
  width:min(100%,280px);
  margin-inline:auto;
}

@media(max-width:980px){
  .habistu-site-header.is-plus .habistu-site-header__inner{
    width:min(100% - 24px,760px);
    min-height:62px;
    grid-template-columns:auto 1fr auto;
    gap:12px;
  }
  .habistu-site-header.is-plus .habistu-plus-top-nav,
  .habistu-site-header.is-plus .habistu-plus-header-search{display:none}
  .habistu-site-header.is-plus .habistu-account-nav--plus-v2{grid-column:3;gap:7px}
  .habistu-plus-mobile-search{
    display:grid!important;
    place-items:center;
    width:36px;
    height:36px;
    color:#0B1F3B!important;
  }
  .habistu-plus-mobile-search svg{width:20px;height:20px}
  .habistu-plus-notification{width:36px;height:36px}
  .habistu-header-ecosystem-link{font-size:.65rem}
}
@media(max-width:480px){
  .habistu-site-header.is-plus .habistu-site-header__inner{
    width:calc(100% - 20px);
    gap:7px;
  }
  .habistu-site-header.is-plus .habistu-account-nav--plus-v2{gap:3px}
  .habistu-header-ecosystem-link{padding:0 2px!important;font-size:.61rem}


  .habistu-plus-home-v2 .habistu-card-embed.is-portrait .habistu-card-embed__frame,
  .habistu-plus-home-v2 .habistu-card-embed.is-portrait .habistu-card-embed__label,
  .habistu-plus-home-v2 .habistu-card-embed.is-portrait .habistu-card-embed__source{
    width:min(76vw,250px)!important;
  }
}


/* Stage 6 RC4 — user amendment pass: composer, feed tabs and compact interactions. */
.htv2-caption-shell{position:relative}
.htv2-caption-shell textarea{min-height:150px;padding-bottom:62px}
.htv2-caption-tools{position:absolute;left:12px;bottom:14px;display:flex;align-items:center;gap:6px}
.htv2-caption-tool{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:0 9px;border:0;border-radius:999px;background:#FFF8F2;color:#516B89;font:600 .68rem/1 'Poppins',sans-serif}
.htv2-caption-tool:hover:not(:disabled){background:#FFF1DA;color:#0B1F3B}
.htv2-caption-tool:disabled{opacity:.45;cursor:not-allowed}
.htv2-need-advice__check{display:grid;place-items:center;width:15px;height:15px;border:1px solid #C8D0D9;border-radius:4px;font-size:0}
.htv2-need-advice.is-active{background:#FFF1D0;color:#0B1F3B}
.htv2-need-advice.is-active .htv2-need-advice__check{border-color:#FFC700;background:#FFC700;font-size:.62rem}
.habistu-card-meta-chip.is-advice{background:#FFF1D0!important;border-color:#F2D36D!important;color:#7B5700!important;font-weight:700}
.htv2-feed-tabs button{position:relative;appearance:none;border:0;background:transparent;padding:11px 0 10px;color:#7A8795;font:600 .76rem/1 'Poppins',sans-serif;cursor:pointer}
.htv2-feed-tabs button.is-active{color:#0B1F3B}
.htv2-feed-tabs button.is-active::after{content:"";position:absolute;left:0;right:0;bottom:-1px;display:block;height:3px;margin:0;border-radius:999px;background:#FFC700}
/* Stage 6 RC4 — header-centering override (loaded after RC3 header rules). */
.habistu-site-header.is-plus .habistu-site-header__inner{
  width:min(1280px,calc(100% - 40px))!important;
  min-height:70px!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  gap:18px!important;
}
.habistu-site-header.is-plus .habistu-plus-top-nav{
  justify-self:center!important;
  justify-content:center!important;
  gap:24px!important;
}
.habistu-plus-header-search-icon{
  display:grid!important;
  place-items:center;
  width:36px;
  height:36px;
  min-height:36px!important;
  border-radius:50%;
  color:#304A69!important;
}
.habistu-plus-header-search-icon:hover{background:#FFF5DC;color:#0B1F3B!important}
.habistu-plus-header-search-icon svg{width:19px;height:19px}
@media(max-width:980px){
  .habistu-site-header.is-plus .habistu-site-header__inner{
    width:calc(100% - 20px)!important;
    min-height:62px!important;
    grid-template-columns:auto 1fr auto!important;
    gap:8px!important;
  }
  .habistu-site-header.is-plus .habistu-wordmark{grid-column:1}
  .habistu-site-header.is-plus .habistu-plus-top-nav{display:none!important}
  .habistu-site-header.is-plus .habistu-account-nav--plus-v2{grid-column:3}
  .habistu-account-mobile-hub{display:block!important}
}

/* Stage 6 V7 — Home + shared-shell priority pass. */
@media(min-width:981px){
  .habistu-site-header.is-plus .habistu-site-header__inner{
    width:min(1320px,calc(100% - 40px))!important;
    grid-template-columns:142px auto minmax(280px,390px) auto!important;
    gap:18px!important;
  }
  .habistu-site-header.is-plus .habistu-plus-top-nav{justify-self:start!important;justify-content:flex-start!important;gap:24px!important}
}

.habistu-plus-home-v2{width:min(1320px,calc(100% - 48px));padding-top:16px}
.htv2-layout{gap:14px;grid-template-columns:230px minmax(0,680px) 300px;justify-content:center}
.htv2-left,.htv2-right{top:84px;gap:10px}
.htv2-panel{padding:14px;border-radius:10px;border-color:#E7E2DB;box-shadow:0 1px 0 rgba(11,31,59,.015)}
.htv2-panel.is-yellow{background:#FFF9DE}
.htv2-panel.is-peach{background:#FFF3EC}
.htv2-section-head{margin-bottom:11px}
.htv2-section-head h2,.htv2-section-head h3{font-size:1rem}
.htv2-section-head p{margin-top:7px;font-size:.72rem;line-height:1.5;color:#26384C}
.htv2-section-head::after{width:28px;height:3px;margin-top:6px;background:#FFC700}

/* Category rail: visually structured like the approved board while using real topics. */
.htv2-topic-list{gap:4px!important}
.htv2-topic-list .habistu-topic-chip{
  position:relative!important;display:grid!important;grid-template-columns:28px minmax(0,1fr) 14px!important;align-items:center!important;
  min-height:38px!important;padding:4px 6px!important;border:1px solid #ECE8E3!important;border-radius:8px!important;
  background:#fff!important;text-align:left!important;font-size:.74rem!important;font-weight:600!important;color:#17355F!important;
}









.htv2-topic-list .habistu-topic-chip__icon{
  display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#FFF0E8;color:#17355F;font-size:.9rem;line-height:1;
}
.htv2-topic-list .habistu-topic-chip.is-active .habistu-topic-chip__icon{background:#FFF1D0}
.htv2-topic-list .habistu-topic-chip::after{content:"›";justify-self:end;color:#7C899B;font-size:1rem}
.htv2-topic-list .habistu-topic-chip:hover,.htv2-topic-list .habistu-topic-chip.is-active{background:#FFF9E9!important;border-color:#F1D77B!important}
.htv2-join-card{padding:14px;border-radius:10px}
.htv2-join-card strong{font-size:.84rem}.htv2-join-card p{font-size:.66rem}.htv2-join-card a{min-height:34px;font-size:.65rem;background:#FF4D00}

/* Composer: one structured component with visible fields and a fixed action rail. */
body.habistu-composer-open{overflow:hidden}
.habistu-composer-modal{
  position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;
}
.habistu-composer-modal[hidden]{display:none}
.habistu-composer-modal__backdrop{position:absolute;inset:0;background:rgba(11,31,59,.46)}
.habistu-composer-modal__dialog.habistu-soft-composer{
  position:relative;z-index:1;display:flex;flex-direction:column;width:min(620px,calc(100vw - 48px));max-height:min(78vh,720px);
  padding:0;border:1px solid #E3E6EA;border-radius:16px;background:#fff;box-shadow:0 20px 54px rgba(11,31,59,.16);overflow:hidden;
}
.habistu-composer-modal__header{
  display:flex;flex:0 0 auto;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px 14px;border-bottom:1px solid #ECE8E3;
}
.habistu-composer-modal__header .habistu-composer__copy{display:grid;gap:3px;min-width:0}
.habistu-composer-modal__header .habistu-composer__copy strong{font-size:1rem;line-height:1.3;color:#0B1F3B}
.habistu-composer-modal__header .habistu-composer__copy span{font-size:.7rem;line-height:1.4;color:#64748B}
.habistu-composer-modal__close{
  display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;padding:0;border:0;border-radius:50%;
  background:#F2F4F7;color:#0B1F3B;font:500 1.35rem/1 'Poppins',sans-serif;cursor:pointer;
}
.habistu-composer-modal__close:hover{background:#FFF1DA}
.habistu-composer-modal__body{
  flex:1 1 auto;min-height:0;overflow-y:auto;padding:14px 20px 20px;overscroll-behavior:contain;scrollbar-gutter:stable;
}
.habistu-composer-modal__body>.habistu-composer__field:first-child{margin-top:0}
.habistu-composer-modal__footer{
  display:flex;flex:0 0 auto;align-items:center;gap:12px;flex-wrap:wrap;margin:0;padding:12px 20px 16px;
  border-top:1px solid #ECE8E3;background:#fff;
}
.habistu-composer-modal__footer .habistu-composer__privacy-note{flex:1 1 280px;color:#64748B;font-size:.65rem;line-height:1.4}
.habistu-composer-modal__footer .habistu-composer__actions{display:flex;gap:8px;margin-left:auto}
.habistu-composer-modal__footer .habistu-notice{flex:0 0 100%;min-height:0}
@media(max-width:767px){
  .habistu-composer-modal{place-items:center;padding:12px}
  .habistu-composer-modal__dialog.habistu-soft-composer{width:min(94vw,520px);height:auto;max-height:78dvh;border:1px solid #E3E6EA;border-radius:16px}
  .habistu-composer-modal__header{padding:13px 14px 10px}
  .habistu-composer-modal__body{padding:12px 14px 14px}
  .habistu-composer-modal__footer{padding:10px 14px calc(12px + env(safe-area-inset-bottom));gap:8px}
  .habistu-composer-modal__footer .habistu-composer__privacy-note{flex:1 1 100%;font-size:.62rem}
  .habistu-composer-modal__footer .habistu-composer__actions{display:grid;grid-template-columns:1fr 1fr;width:100%;margin-left:0}
  .habistu-composer-modal__footer .habistu-delete-draft-button{grid-column:1/-1;justify-self:start;width:auto;min-width:0}
  .habistu-composer-modal__footer .habistu-draft-button,.habistu-composer-modal__footer .habistu-post-button{width:100%;min-width:0}
}

.habistu-soft-composer.htv2-composer{border-radius:10px;border-color:#E3E6EA;box-shadow:0 1px 0 rgba(11,31,59,.02)}
.htv2-composer-bar{min-height:62px;padding:7px 10px;gap:8px}
.htv2-composer-trigger{min-height:46px;gap:9px}
.htv2-composer-trigger img,.htv2-avatar{width:40px;height:40px}
.htv2-composer-trigger>span{min-width:0;padding:6px 12px;border-radius:9px;background:#F3F6FA}
.htv2-composer-trigger strong{font-size:.78rem}.htv2-composer-trigger>span>span{font-size:.69rem;max-width:280px;color:#334155}
.htv2-composer-shortcuts{gap:1px}.htv2-composer-shortcuts button{min-height:38px;padding:0 9px;font-size:.68rem;color:#26384C}
.htv2-feed-tabs{min-height:46px;margin:5px 0 8px;padding:0 12px;gap:32px;border-bottom-color:#E7E2DB}
.htv2-feed-tabs button{padding:12px 0 11px;font-size:.74rem}

/* Feed card proportions and hierarchy. */
.habistu-plus-home-v2 .habistu-feed{gap:10px}
.habistu-plus-home-v2 .habistu-feed-card{border-radius:10px!important;border-color:#E5E1DC!important}
.habistu-plus-home-v2 .habistu-feed-card>.habistu-card-head{margin-top:13px}
.habistu-plus-home-v2 .habistu-card-headline{font-size:1.05rem!important;line-height:1.22!important;letter-spacing:-.02em!important}
.habistu-plus-home-v2 .habistu-card-content{font-size:.82rem!important;line-height:1.58!important;color:#111827!important}
.habistu-plus-home-v2 .habistu-card-media-grid{margin-top:10px!important;margin-bottom:10px!important}

/* Right rail: approved two-card lower composition without fake functionality. */
.htv2-right-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:stretch}
.htv2-right-grid .htv2-panel{min-width:0;padding:11px}
.htv2-right-grid .htv2-section-head h3{font-size:.77rem;line-height:1.12}
.htv2-right-grid .htv2-section-head .htv2-eyebrow{font-size:.52rem}
.htv2-right-grid .htv2-section-head::after{width:22px;height:2px;margin-top:5px}
.htv2-right-grid .htv2-editorial-mini__image{height:72px;margin-bottom:7px;border-radius:7px}
.htv2-right-grid .htv2-editorial-mini strong{font-size:.68rem;line-height:1.35}
.htv2-right-grid .htv2-hub-links{gap:5px}
.htv2-right-grid .htv2-hub-links a{min-height:32px;padding:0 7px;border:1px solid #ECE6DF;border-radius:7px;font-size:.6rem}
.htv2-trending-item{grid-template-columns:23px 1fr;gap:7px}.htv2-trending-item b{width:22px;height:22px;font-size:.62rem}.htv2-trending-item span{font-size:.69rem;color:#172033}

@media(max-width:1180px){
  .habistu-plus-home-v2{width:min(960px,calc(100% - 28px))}
  .htv2-layout{grid-template-columns:minmax(0,1fr) 280px}
}
@media(max-width:860px){
  .habistu-plus-home-v2{width:calc(100% - 20px)!important;padding-top:8px!important;padding-bottom:104px!important}
  .htv2-approved-hero{border-radius:8px!important}
  .htv2-layout{display:block}
  .htv2-left,.htv2-right{display:none!important}
  .htv2-composer-bar{min-height:58px;padding:6px 8px}
  .htv2-composer-trigger>span{padding:5px 9px}.htv2-composer-trigger>span>span{max-width:190px}
  .htv2-feed-tabs{justify-content:space-between;gap:8px;padding:0 10px;margin-top:5px}
  .htv2-feed-tabs button{font-size:.72rem}
  .habistu-plus-home-v2 .habistu-feed-card{border-radius:9px!important}
  .habistu-plus-home-v2 .habistu-card-headline{font-size:1rem!important}
  .habistu-plus-home-v2 .habistu-card-content{font-size:.8rem!important;line-height:1.58!important;color:#111827!important}
}
