/* MMP one-line greetings; deliberately isolated from the shared board styles. */
.mmp-home-weekly .mmp-home-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.mmp-greeting-cta{flex:none;background:#ec3d89!important;color:#fff!important;border:0!important;border-radius:12px;padding:12px 20px;font-weight:800;box-shadow:0 5px 15px #ec3d8936;cursor:pointer}.mmp-greeting-cta:hover{background:#d72773!important}.mmp-greeting-tab{padding:14px 20px;border:1px solid #e5d4ee;border-radius:12px;background:#fdf0f7;color:#a32668;font-weight:800;cursor:pointer}.mmp-greeting-tab small{display:block;font-size:11px;font-weight:500}.mmp-greeting-tab.active{background:#e83885;color:white}#communityBoardWorkspace.mmp-greeting-active .community-board-view,#communityBoardWorkspace.mmp-greeting-active #mmpChartBoard{display:none!important}#mmpGreetingBoard[hidden],#mmpGreetingModal[hidden]{display:none!important}.mmp-greeting-board{padding:20px 4px;min-height:250px}.mmp-greeting-top{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:20px}.mmp-greeting-top h3{font-size:23px;margin:0 0 7px}.mmp-greeting-top p{margin:0;color:#687086}.mmp-greeting-entry{padding:17px 20px;margin:0 0 10px;border:1px solid #e4e3ed;background:#fff;border-radius:14px;word-break:break-word}.mmp-greeting-entry-header{display:flex;align-items:center;gap:14px;margin-bottom:8px}.mmp-greeting-entry-header strong{font-size:14px;color:#433657}.mmp-greeting-entry-header time{font-size:12px;color:#808397}.mmp-greeting-entry-header button{margin-left:auto;background:#fff;border:1px solid #e5dbe6;border-radius:8px;color:#a5265a;cursor:pointer;padding:4px 9px}.mmp-greeting-entry p{margin:0;white-space:pre-wrap;color:#30313d}.mmp-greeting-more{display:block;margin:18px auto;padding:10px 30px;border-radius:10px;border:1px solid #d9c8e4;background:white;cursor:pointer}.mmp-greeting-modal{position:fixed!important;inset:0!important;width:100vw;height:100dvh;z-index:2147483000;display:flex;justify-content:center;align-items:center;background:#10101c91;padding:20px}.mmp-greeting-dialog{width:min(510px,100%);background:#fff;border-radius:20px;padding:26px;box-shadow:0 25px 65px #15132a50}.mmp-greeting-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.mmp-greeting-dialog-head h3{font-size:21px;margin:0}.mmp-greeting-dialog-head button{border:0;background:transparent;font-size:28px;cursor:pointer}.mmp-greeting-dialog>p{font-size:14px;color:#666d7b}.mmp-greeting-dialog textarea{box-sizing:border-box;width:100%;border:1px solid #cfc9dc;border-radius:12px;padding:14px;resize:vertical;font:inherit;min-height:110px;color:#222}.mmp-greeting-dialog-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:14px;gap:12px}.mmp-greeting-dialog-bottom span{font-size:12px;color:#7b8090}.mmp-greeting-dialog-bottom>div{display:flex;gap:9px}.mmp-greeting-dialog-bottom button{padding:10px 19px;border-radius:10px;border:1px solid #dfdbe4;background:#fff;cursor:pointer;font-weight:700}#mmpGreetingSend{background:#e83885;color:#fff;border:0}#mmpGreetingSend:disabled{opacity:.55;cursor:wait}.mmp-greeting-error{color:#c02c40!important}

/* 2026-11-01: keep greeting action on the chart heading right edge. */
body .app #mmpLanding>.mmp-home-weekly .mmp-home-heading {
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;
  min-height:44px!important;margin-bottom:5px!important;
}
body .app #mmpLanding>.mmp-home-weekly .mmp-chart-title-row{
  display:flex!important;flex-wrap:wrap;align-items:center!important;gap:12px!important;min-width:0;
}
body .app #mmpLanding>.mmp-home-weekly .mmp-home-heading #mmpGreetingMainButton{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 auto!important;min-height:40px!important;padding:0 19px!important;
  margin:0 0 0 auto!important;border:0!important;border-radius:11px!important;
  background:#e83680!important;color:#fff!important;font-size:14px!important;
  font-weight:800!important;line-height:1.2!important;box-shadow:0 4px 12px rgba(232,54,128,.2)!important;
  white-space:nowrap!important;cursor:pointer!important;
}
body .app #mmpLanding>.mmp-home-weekly .mmp-home-heading #mmpGreetingMainButton:hover{
  background:#cd2269!important;box-shadow:0 5px 14px rgba(205,34,105,.26)!important;
}

/* 2026-11-01: enlarge the greeting action without changing other controls */
#mmpGreetingMainButton{min-width:188px;min-height:58px;padding:15px 29px!important;font-size:19px!important;font-weight:900!important;line-height:1.2!important;letter-spacing:-.4px;box-shadow:0 8px 22px rgba(236,61,137,.3)!important;white-space:nowrap;}
#mmpGreetingMainButton:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(236,61,137,.38)!important;}

/* Five aligned community board cards; isolated to greeting feature. */
#communityBoardWorkspace .board-category-tabs{--board-tab-count:5;}
#communityBoardWorkspace .board-category-tabs #mmpGreetingTab{--tab-accent:#d8568e;--tab-tint:#ffe5f0;min-width:0;width:100%;margin:0;text-align:left;color:inherit;font:inherit;cursor:pointer;}
#communityBoardWorkspace .board-category-tabs #mmpGreetingTab.active{color:inherit;background:linear-gradient(135deg,var(--tab-tint),#fff 95%)!important;}
#communityBoardWorkspace .board-category-tabs #mmpGreetingTab .board-tab-icon{line-height:1;}

/* 2026-11-01: greeting-requested layout-only refinement. Keep all five tabs on one row,
   and ensure Korean board labels remain fully visible within available card width. */
#communityBoardWorkspace .board-category-tabs{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:7px!important;
}
#communityBoardWorkspace .board-category-tabs .board-category-tab{
  box-sizing:border-box!important;
  min-width:0!important;
  padding:10px 5px!important;
  gap:4px!important;
  justify-content:center!important;
}
#communityBoardWorkspace .board-category-tabs .board-category-tab .board-tab-icon{
  flex:0 0 25px!important;width:25px!important;height:29px!important;font-size:15px!important;
}
#communityBoardWorkspace .board-category-tabs .board-category-tab > span:last-child{
  min-width:0!important;flex:0 1 auto!important;overflow:visible!important;
}
#communityBoardWorkspace .board-category-tabs .board-category-tab strong{
  font-size:calc(11px * var(--font-scale,1))!important;
  white-space:nowrap!important;overflow:visible!important;letter-spacing:-.055em!important;
}
#communityBoardWorkspace .board-category-tabs .board-category-tab small{
  font-size:calc(9px * var(--font-scale,1))!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
/* Purple prominent home action; override the prior pink inline-specific rules. */
body .app #mmpLanding > .mmp-home-weekly .mmp-home-heading #mmpGreetingMainButton{
  box-sizing:border-box!important;min-width:218px!important;
  min-height:70px!important;padding:20px 30px!important;
  background:#7140db!important;color:#fff!important;
  border-radius:14px!important;font-size:21px!important;font-weight:900!important;
  line-height:1.3!important;letter-spacing:-.4px!important;
  box-shadow:0 9px 23px rgba(93,53,193,.28)!important;
}
body .app #mmpLanding > .mmp-home-weekly .mmp-home-heading #mmpGreetingMainButton:hover{
  background:#5e2fc7!important;box-shadow:0 11px 26px rgba(93,53,193,.36)!important;
}

/* 2026-11-01: restore original board-label font sizes; expand the five-tab row horizontally instead. */
#communityBoardWorkspace .board-category-tabs{
  width: min(100%, 960px)!important;
  max-width: 100%!important;
  grid-template-columns: repeat(5, minmax(0, 1fr))!important;
  gap: 10px!important;
}
#communityBoardWorkspace .board-category-tabs .board-category-tab{
  padding: 9px 11px!important;
  gap: 9px!important;
  justify-content: flex-start!important;
}
#communityBoardWorkspace .board-category-tabs .board-category-tab .board-tab-icon{
  flex: 0 0 30px!important;
  width: 30px!important;
  height: 30px!important;
  font-size: 18px!important;
}
#communityBoardWorkspace .board-category-tabs .board-category-tab strong{
  font-size: calc(14px * var(--font-scale, 1))!important;
  letter-spacing: normal!important;
}
#communityBoardWorkspace .board-category-tabs .board-category-tab small{
  font-size: calc(10px * var(--font-scale, 1))!important;
  letter-spacing: normal!important;
}
