/* Homepage UI polish: Slack and platform preview internals only.
   Static examples use supplied prototype data. The page owns all outer layout. */

.home-page .slack-thread {
  border-color: #e5dce1;
  border-radius: 15px;
  background: #fff;
  color: #23131d;
}
.home-page .thread-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 57px;
  padding: 15px 20px;
  background: #fff;
  border-bottom-color: #ece6ea;
}
.home-page .thread-channel {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.015em;
}
.home-page .thread-channel > svg { width: 17px; height: 17px; flex: none; color: #6e5965; }
.home-page .thread-channel-note { color: #6e5965; font-size: 12px; font-weight: 400; white-space: nowrap; }
.home-page .thread-message { grid-template-columns: 30px minmax(0, 1fr); gap: 11px; padding: 20px 20px 0; }
.home-page .thread-message:last-child { padding-bottom: 22px; }
.home-page .thread-message > div { min-width: 0; }
.home-page .thread-message .avatar {
  width: 30px;
  height: 30px;
  border: 1px solid #e9e0e5;
  border-radius: 7px;
  background: #eee9e5;
  color: #5b474f;
  font-size: 12px;
  font-weight: 600;
}
.home-page .thread-message .avatar--souvenir { background: #fff; border-color: #e5dce2; color: #23131d; }
.home-page .avatar--souvenir svg { width: 22px; height: 22px; fill: currentColor; }
.home-page .thread-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: -1px 0 4px; }
.home-page .thread-meta .thread-name { display: inline; margin: 0; font-size: 12px; line-height: 1.6; font-weight: 600; }
.home-page .thread-meta time { color: #6e5965; font-size: 12px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.home-page .thread-app-badge { align-self: center; background: #f0edf0; padding: 1px 4px; border-radius: 3px; color: #6e5965; font-size: 12px; font-weight: 500; line-height: 1.5; }
.home-page .thread-message p { color: #4d3f48; font-size: 13px; line-height: 1.65; letter-spacing: -.01em; }
.home-page .thread-mention { color: #5e3652; background: #f3eaf1; border-radius: 3px; padding: 1px 3px; }
.home-page .thread-evidence { margin: 11px 0 0; padding: 0; list-style: none; border: 1px solid #ebe3e8; border-radius: 9px; overflow: hidden; }
.home-page .thread-evidence li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 11px; background: #fcfafb; }
.home-page .thread-evidence li + li { border-top: 1px solid #eee7eb; }
.home-page .thread-evidence p { font-size: 12px; line-height: 1.5; }
.home-page .thread-evidence b { font-weight: 600; color: #32232d; }
.home-page .thread-evidence span { font-size: 12px; line-height: 1.4; color: #6e5965; white-space: nowrap; }
.home-page .thread-proposal { margin-top: 12px; border-left: 2px solid #cdb5c3; padding: 2px 0 2px 11px; }
.home-page .thread-proposal-label { display: block; color: #6e5965; font-size: 12px; line-height: 1.5; margin-bottom: 3px; }
.home-page .thread-proposal > b { display: block; font-weight: 500; font-size: 12px; line-height: 1.5; color: #382331; }
.home-page .thread-proposal small { display: block; font-size: 12px; line-height: 1.6; color: #6e5965; margin-top: 4px; }
.home-page .thread-footer { display: flex; gap: 6px; align-items: center; margin-top: 11px; color: #6e5965; font-size: 12px; line-height: 1.5; }
.home-page .thread-footer > svg { width: 12px; height: 12px; flex: none; }

/* Small product surfaces share a measured chrome/content/footer rhythm. */
.home-page .platform-bento .tile-surface { padding: 18px; border-color: #e5dce2; border-radius: 12px; background: #fff; box-shadow: 0 3px 8px -6px #48233c30; text-align: left; }
.home-page .platform-bento .tile-window-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; line-height: 1.5; letter-spacing: -.005em; color: #6e5965; padding-bottom: 11px; margin-bottom: 16px; border-bottom-color: #eee7eb; }
.home-page .platform-bento .tile-window-top > span:first-child { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.home-page .platform-bento .tile-window-top svg { width: 13px; height: 13px; flex: none; }
.home-page .platform-bento .mini-ui-tag { font-size: 12px; color: #6e5965; white-space: nowrap; }
.home-page .platform-bento .mini-ui-title { font-size: 13px; line-height: 1.5; font-weight: 500; letter-spacing: -.015em; color: #30202b; }
.home-page .platform-bento .mini-ui-subtitle { margin-top: 3px; font-size: 12px; line-height: 1.6; color: #6e5965; }
.home-page .platform-bento .mini-ui-status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border-radius: 5px; border: 1px solid #eadde3; background: #faf4f6; color: #8b536b; font-size: 12px; line-height: 1.4; font-weight: 500; white-space: nowrap; }
.home-page .platform-bento .mini-ui-status::before { content: ''; width: 4px; height: 4px; background: currentColor; border-radius: 50%; }
.home-page .platform-bento .tile-detail { color: #6e5965; font-size: 12px; line-height: 1.6; }
.home-page .platform-bento .mode-buttons { gap: 5px; }
.home-page .platform-bento .mode-buttons button { min-height: 44px; padding: 7px 12px; font-size: 12px; line-height: 1.35; border-color: #dcccd5; transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms cubic-bezier(.23,1,.32,1); }
.home-page .platform-bento .mode-buttons button[aria-pressed=true] { border-color: #48233c; background: #48233c; box-shadow: inset 0 1px 0 #ffffff22; }
.home-page .platform-bento .mode-buttons button:active { transform: scale(.97); }
.home-page .platform-bento .mode-buttons button:focus-visible { outline-color: #c20e4d; outline-offset: 3px; }
.home-page .platform-bento .tile-role .tile-surface { margin-top: 13px; }
.home-page .platform-bento .bento-metrics { gap: 0; }
.home-page .platform-bento .bento-metrics > div { min-width: 0; gap: 6px; padding: 1px 16px 2px 0; }
.home-page .platform-bento .bento-metrics > div + div { border-left: 1px solid #eee6eb; padding-right: 0; padding-left: 22px; }
.home-page .platform-bento .bento-metrics span { font-size: 12px; line-height: 1.5; color: #6e5965; }
.home-page .platform-bento .bento-metrics strong { font-size: 30px; font-weight: 400; letter-spacing: -.045em; line-height: 1.15; font-variant-numeric: tabular-nums; white-space: nowrap; color: #2d1d28; }
.home-page .platform-bento .tile-surface > p { margin-top: 17px; font-size: 12px; line-height: 1.6; color: #5f4958; }
.home-page .platform-bento .role-preview-note { border-top: 1px solid #eee7eb; padding-top: 11px; margin-top: 11px; }
.home-page .platform-bento .agent-mini-identity { display: flex; align-items: center; gap: 10px; }
.home-page .platform-bento .agent-mini-mark { display: grid; place-items: center; flex: none; width: 33px; height: 33px; border: 1px solid #e9dfe5; border-radius: 9px; background: #faf6f8; }
.home-page .platform-bento .agent-mini-mark svg { width: 21px; height: 21px; fill: #48233c; }
.home-page .platform-bento .tile-definition { margin-top: 15px; }
.home-page .platform-bento .tile-definition > div { grid-template-columns: 42px minmax(0,1fr); gap: 12px; padding: 10px 0; border-bottom-color: #eee7eb; font-size: 12px; line-height: 1.6; }
.home-page .platform-bento .tile-definition > div:last-child { padding-bottom: 0; border-bottom: 0; }
.home-page .platform-bento .tile-definition dt { color: #6e5965; }
.home-page .platform-bento .tile-definition dd { color: #4e3c48; }
.home-page .platform-bento .schedule-days { gap: 4px; margin-top: 18px; }
.home-page .platform-bento .schedule-days span { min-width: 0; width: 100%; min-height: 29px; border-radius: 6px; font-size: 12px; font-variant-numeric: tabular-nums; color: #6e5965; background: #faf7f9; }
.home-page .platform-bento .schedule-days .chosen { background: #48233c; color: white; box-shadow: inset 0 1px 0 #ffffff20; }
.home-page .platform-bento .schedule-time { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 2px; margin-top: 12px; }
.home-page .platform-bento .schedule-time b { font-size: 12px; line-height: 1.5; font-weight: 500; color: #4d3546; }
.home-page .platform-bento .schedule-time span { font-size: 12px; color: #6e5965; }
.home-page .platform-bento .schedule-output { display: flex; gap: 7px; align-items: flex-start; border-top-color: #eee7eb; font-size: 12px; line-height: 1.55; color: #6e5965; margin-top: 14px; padding-top: 12px; }
.home-page .platform-bento .schedule-output svg { width: 14px; height: 14px; margin-top: 1px; flex: none; }
.home-page .platform-bento .browser-task { padding: 0; overflow: hidden; }
.home-page .platform-bento .browser-task .tile-window-top { background: #fbf8fa; padding: 10px 13px; margin: 0; }
.home-page .platform-bento .browser-dots { display: inline-flex; gap: 3px; }
.home-page .platform-bento .browser-dots i { display: block; width: 4px; height: 4px; border-radius: 50%; background: #dccbd5; }
.home-page .platform-bento .browser-page { padding: 18px 16px 12px; }
.home-page .platform-bento .browser-page > span { font-size: 12px; font-weight: 500; color: #6e5965; }
.home-page .platform-bento .browser-line { height: 4px; width: 79%; margin: 12px 0; background: #eee7ec; }
.home-page .platform-bento .browser-line.short { width: 51%; }
.home-page .platform-bento .browser-field { padding: 10px 11px; gap: 12px; border-color: #d6bdcd; background: #fffafb; font-size: 12px; color: #6e5965; }
.home-page .platform-bento .browser-field b { color: #48233c; font-size: 12px; font-variant-numeric: tabular-nums; }
.home-page .platform-bento .browser-task > .tile-detail { margin: 0; padding: 0 16px 15px; font-size: 12px; }
.home-page .platform-bento .catalog-mini-product { display: flex; align-items: center; gap: 10px; margin-top: 1px; }
.home-page .platform-bento .catalog-product-mark { display: grid; place-items: center; width: 33px; height: 36px; flex: none; border: 1px solid #e7d9d0; background: #fbf3ed; border-radius: 8px; color: #916b52; }
.home-page .platform-bento .catalog-product-mark svg { width: 20px; height: 20px; }
.home-page .platform-bento .catalog-name { margin: 0!important; font-size: 12px; line-height: 1.45; font-weight: 500; color: #4b342e; }
.home-page .platform-bento .catalog-number { display: flex; align-items: baseline; gap: 9px; margin-top: 21px; font-size: 36px; line-height: 1.1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; color: #3d2926; }
.home-page .platform-bento .catalog-number small { padding: 3px 5px; border-radius: 4px; background: #f4eee8; color: #6e5965; font-size: 12px; letter-spacing: -.01em; white-space: nowrap; }
.home-page .platform-bento .library-file { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 10px; padding: 10px 0; }
.home-page .platform-bento .library-file:first-of-type { padding-top: 0; }
.home-page .platform-bento .library-file:last-child { padding-bottom: 0; }
.home-page .platform-bento .library-file + div { border-top-color: #eee7eb; }
.home-page .platform-bento .library-file > span { width: 28px; height: 33px; border-color: #e5d9e1; border-radius: 5px; font-size: 12px; font-weight: 500; color: #6e5965; background: #fbf7fa; }
.home-page .platform-bento .library-file b { display: block; overflow-wrap: normal; font-size: 12px; line-height: 1.45; font-weight: 500; color: #5b4353; }
.home-page .platform-bento .library-file small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.5; color: #6e5965; }
.home-page .platform-bento .memory-map { margin-top: 24px; padding: 18px; text-align: left; }
.home-page .platform-bento .memory-map .tile-window-top { gap: 7px; }
.home-page .platform-bento .memory-map > b { display: flex; justify-content: center; border: 1px solid #e4d3df; background: #faf5f9; border-radius: 7px; padding: 9px 10px; font-size: 12px; line-height: 1.5; font-weight: 500; color: #5b3a50; }
.home-page .platform-bento .memory-map > .memory-contexts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; position: relative; margin-top: 20px; padding-top: 0; }
.home-page .platform-bento .memory-contexts::before { content: ''; position: absolute; width: 1px; height: 12px; background: #e4d3df; left: 50%; top: -16px; }
.home-page .platform-bento .memory-contexts span { padding: 6px 3px; border: 1px solid #eee6ec; border-radius: 5px; font-size: 12px; text-align: center; background: #fff; color: #6e5965; }
.home-page .platform-bento .memory-map .mini-ui-subtitle { margin-top: 12px; font-size: 12px; text-align: center; }
.home-page .platform-bento .brand-assets { display: block; padding: 18px; }
.home-page .platform-bento .brand-preview { display: flex; flex-direction: column; align-items: center; padding: 4px 0 6px; }
.home-page .platform-bento .brand-mark { display: grid; place-items: center; width: 142px; min-height: 54px; border: 1px solid #e5d9e1; border-radius: 7px; color: #6e5965; font-size: 12px; font-weight: 400; letter-spacing: -.025em; background: #fcf8fb; }
.home-page .platform-bento .brand-swatches { gap: 6px; margin: 15px 0 0; }
.home-page .platform-bento .brand-swatches i { width: 30px; height: 18px; border-radius: 4px; box-shadow: inset 0 0 0 1px #00000008; }
.home-page .platform-bento .brand-assets > .tile-detail { margin-top: 11px; text-align: center; font-size: 12px; }

@media (hover:hover) and (pointer:fine) {
  .home-page .platform-bento .mode-buttons button:not([aria-pressed=true]):hover { border-color: #bc9eaf; background: #fcf7fa; color: #48233c; }
}
@media (max-width:1100px) and (min-width:801px) {
  .home-page .platform-bento .tile-surface { padding: 15px; }
  .home-page .platform-bento .browser-task { padding: 0; }
  .home-page .platform-bento .tile-window-top { font-size: 12px; gap: 5px; }
  .home-page .platform-bento .mini-ui-status { font-size: 12px; padding-inline: 5px; }
  .home-page .platform-bento .memory-contexts span { font-size: 12px; }
}
@media (max-width:640px) {
  .home-page .thread-header { min-height: 54px; padding: 13px 13px; gap: 7px; }
  .home-page .thread-channel { gap: 5px; font-size: 12px; }
  .home-page .thread-channel > svg { width: 14px; height: 14px; }
  .home-page .thread-channel-note { font-size: 12px; }
  .home-page .thread-message { grid-template-columns: 25px minmax(0,1fr); gap: 8px; padding: 18px 13px 0; }
  .home-page .thread-message .avatar { width: 25px; height: 25px; border-radius: 6px; font-size: 12px; }
  .home-page .avatar--souvenir svg { width: 19px; height: 19px; }
  .home-page .thread-meta { column-gap: 5px; }
  .home-page .thread-meta .thread-name { font-size: 12px; }
  .home-page .thread-meta time { font-size: 12px; }
  .home-page .thread-message p { font-size: 13px; line-height: 1.65; }
  .home-page .thread-evidence li { grid-template-columns: minmax(0,1fr); gap: 3px; padding: 8px 9px; }
  .home-page .thread-evidence p { font-size: 12px; }
  .home-page .thread-evidence span { font-size: 12px; }
  .home-page .thread-proposal > b { font-size: 12px; }
  .home-page .thread-proposal small { font-size: 12px; }
  .home-page .platform-bento .tile-surface { padding: 18px; }
  .home-page .platform-bento .browser-task { padding: 0; }
  .home-page .platform-bento .mode-buttons button { min-height: 44px; padding-inline: 11px; font-size: 12px; }
  .home-page .platform-bento .bento-metrics strong { font-size: 29px; }
  .home-page .platform-bento .bento-metrics > div + div { padding-left: 17px; }
  .home-page .platform-bento .mini-ui-title { font-size: 13px; }
  .home-page .platform-bento .tile-definition > div { font-size: 12px; }
  .home-page .platform-bento .library-file b { font-size: 12px; }
}
@media (max-width:360px) {
  .home-page .thread-channel-note { display: none; }
  .home-page .thread-message { padding-inline: 10px; gap: 7px; }
  .home-page .platform-bento .bento-metrics strong { font-size: 25px; }
  .home-page .platform-bento .mini-ui-status { font-size: 12px; }
}
@media (prefers-reduced-motion:reduce) {
  .home-page .platform-bento .mode-buttons button { transition: none; }
  .home-page .platform-bento .mode-buttons button:active { transform: none; }
}

.home-page .platform-bento .memory-map .tile-window-top > span:first-child { padding: 0; border: 0; border-radius: 0; background: none; }

.home-page .platform-bento .brand-mark { display: flex; align-items: center; justify-content: center; gap: 9px; }
.home-page .platform-bento .brand-mark svg { width: 25px; height: 25px; fill: #23131d; flex: none; }
@media (max-width:360px) {
  .home-page .platform-bento .bento-metrics > div { padding-right: 8px; }
  .home-page .platform-bento .bento-metrics > div + div { padding-left: 12px; padding-right: 0; }
  .home-page .platform-bento .bento-metrics strong { font-size: clamp(22px,7vw,25px); }
  .home-page .platform-bento .memory-map > .memory-contexts { grid-template-columns: 1fr; gap: 5px; }
}
.home-page .platform-bento .memory-map .tile-window-top { margin-top: 0; }
.home-page .platform-bento .tile-window-top + .library-file { padding-top: 0; }
