/* Slack's desktop layout and default aubergine chrome; local illustrative content.
   References: slack.com/help/articles/212596808 and Mobbin screen
   49abc402-1457-4140-8d4d-1dc7336b35a1. Utility icons: Lucide (ISC). */
.slack-native {
  --sn-ink: #1d1c1d;
  --sn-muted: #616061;
  --sn-line: #e5e5e5;
  --sn-height: 540px;
  container: slack-example / inline-size;
  min-width: 0;
  color: var(--sn-ink);
  font: 400 15px/1.4667 Lato, Arial, sans-serif;
  text-align: left;
  letter-spacing: normal;
  font-variant-numeric: tabular-nums;
}
.slack-native *, .slack-native *::before, .slack-native *::after { box-sizing: border-box; }
.home-page .slack-native p { margin: 0; font: inherit; letter-spacing: normal; color: inherit; }
.slack-native b, .slack-native strong { font-weight: 700; }
.sn-app { overflow: hidden; min-height: var(--sn-height); background: #fff; border: 1px solid #350d36; border-radius: 9px; }
.sn-icon { display: block; flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sn-topbar { display: flex; align-items: center; gap: 15px; height: 34px; padding: 0 12px; color: #e5d6e5; background: #350d36; }
.sn-window-controls { display: flex; gap: 5px; width: 63px; flex: none; }
.sn-window-controls i { width: 8px; height: 8px; border-radius: 50%; background: #957a96; }
.sn-history { display: flex; justify-content: flex-end; gap: 13px; width: 156px; flex: none; }
.sn-history .sn-icon { width: 16px; height: 16px; }
.sn-history .sn-icon:nth-child(2) { opacity: .45; }
.sn-search { display: flex; align-items: center; gap: 8px; width: min(100%, 520px); height: 25px; padding: 0 9px; border: 1px solid #ffffff24; border-radius: 5px; color: #f7eff7; background: #ffffff26; font-size: 13px; }
.sn-search .sn-icon { width: 14px; height: 14px; }
.sn-search > span { margin-left: auto; font-size: 11px; opacity: .7; }
.sn-help { margin-left: auto; width: 17px; height: 17px; }
.sn-workspace { display: grid; grid-template-columns: 62px 200px minmax(0,1fr); min-height: calc(var(--sn-height) - 34px); }
.sn-rail { display: flex; align-items: center; flex-direction: column; gap: 17px; padding: 10px 0 12px; background: #3f0e40; color: #f8f0f8; }
.sn-workspace-icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 8px; background: #d8c7b6; box-shadow: 0 0 0 2px #3f0e40,0 0 0 3px #b098b2; color: #3a342b; font: 400 29px/1 Georgia,serif; }
.sn-rail-items { display: grid; gap: 15px; }
.sn-rail-item { display: grid; justify-items: center; gap: 2px; }
.sn-rail-item > span { display: grid; place-items: center; width: 34px; height: 30px; border-radius: 7px; }
.sn-rail-item.is-selected > span { background: #ffffff35; }
.sn-rail-item.is-selected .sn-icon { fill: #f8f0f8; stroke: #3f0e40; }
.sn-rail-item small { font-size: 10px; line-height: 1.4; }
.sn-rail-bottom { display: grid; justify-items: center; gap: 16px; margin-top: auto; padding-top: 24px; }
.sn-create { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #ffffff24; }
.sn-profile { position: relative; display: grid; place-items: center; width: 29px; height: 29px; border-radius: 6px; background: #bd8465; color: #fff; font-weight: 700; font-size: 15px; }
.sn-profile i { position: absolute; right: -3px; bottom: -3px; width: 10px; height: 10px; border: 2px solid #3f0e40; border-radius: 50%; background: #2bac76; }
.sn-sidebar { min-width: 0; padding: 0 8px 24px; border-right: 1px solid #e4dbe7; background: #f4edf6; color: #403241; }
.sn-sidebar-heading { display: flex; align-items: center; gap: 4px; height: 53px; padding: 0 8px; color: #1d1c1d; }
.sn-sidebar-heading b { font-size: 18px; font-weight: 900; }
.sn-sidebar-heading > .sn-icon { width: 13px; height: 13px; }
.sn-sidebar-heading > span { margin-left: auto; }
.sn-sidebar-shortcuts { margin: 3px 0 18px; }
.sn-sidebar-row { display: flex; align-items: center; gap: 8px; min-height: 29px; padding: 3px 10px; border-radius: 5px; font-size: 14px; white-space: nowrap; }
.sn-sidebar-row > span:not(.sn-mini-avatar) { overflow: hidden; text-overflow: ellipsis; }
.sn-sidebar-row .sn-icon { width: 17px; height: 17px; opacity: .8; }
.sn-sidebar-row.is-selected { color: #1d1c1d; background: #dfcce7; font-weight: 700; }
.sn-sidebar-label { display: flex; align-items: center; gap: 5px; padding: 0 6px; margin: 17px 0 6px; font-size: 14px; }
.sn-sidebar-label .sn-icon { width: 13px; height: 13px; }
.sn-mini-avatar { display: grid; place-items: center; width: 17px; height: 17px; background: #bd8465; color: #fff; border-radius: 3px; font-size: 11px; }
.sn-sidebar-row small { color: var(--sn-muted); font-size: 12px; margin-left: -4px; }
.sn-sidebar-row .sn-souvenir { width: 17px; height: 17px; }
.sn-channel { display: flex; flex-direction: column; min-width: 0; background: #fff; }
.sn-channel-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 49px; padding: 9px 19px; border-bottom: 1px solid var(--sn-line); }
.sn-channel-header > div { display: flex; align-items: center; gap: 6px; min-width: 0; }
.sn-channel-header b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 17px; font-weight: 900; line-height: 1.4; }
.sn-channel-header > div > .sn-icon:first-child { width: 20px; height: 20px; }
.sn-channel-header > div > .sn-icon:last-child { width: 12px; height: 12px; }
.sn-channel-actions { display: flex; align-items: center; gap: 17px; color: #454245; }
.sn-channel-actions > span { display: flex; align-items: center; gap: 4px; font-size: 12px; }
.sn-channel-actions > span .sn-icon { width: 17px; height: 17px; }
.sn-channel-tabs { display: flex; align-items: center; gap: 23px; height: 34px; flex: none; padding: 0 21px; border-bottom: 1px solid var(--sn-line); color: var(--sn-muted); font-size: 13px; }
.sn-channel-tabs > span { display: flex; align-items: center; position: relative; height: 100%; }
.sn-channel-tabs .is-selected { font-weight: 700; color: #1d1c1d; }
.sn-channel-tabs .is-selected::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; border-radius: 2px; background: #1264a3; }
.sn-channel-tabs > .sn-icon { width: 14px; height: 14px; }
.sn-transcript { flex: 1; padding: 11px 0 10px; }
.sn-day { display: flex; align-items: center; gap: 0; height: 30px; margin-bottom: 15px; }
.sn-day::before,.sn-day::after { content: ""; height: 1px; flex: 1; background: #e6e6e6; }
.sn-day > span { display: flex; align-items: center; gap: 5px; padding: 4px 13px; border: 1px solid #dedede; border-radius: 20px; font-size: 12px; font-weight: 700; line-height: 1.4; }
.sn-day .sn-icon { width: 11px; height: 11px; }
.sn-message { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 10px; padding: 0 20px; }
.sn-message ~ .sn-message { margin-top: 19px; }
.sn-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 5px; flex: none; }
.sn-avatar--maya { background: #bd8465; color: #fff; font-size: 21px; font-weight: 700; }
.sn-avatar--app { color: #171717; background: #fff; border: 1px solid #e0e0e0; }
.sn-souvenir { display: block; flex: none; width: 27px; height: 27px; fill: currentColor; }
.sn-message-body { min-width: 0; }
.sn-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; margin: -2px 0 1px; min-height: 22px; line-height: 22px; }
.sn-meta b { font-size: 15px; font-weight: 900; }
.sn-meta time { color: var(--sn-muted); font-size: 12px; line-height: 18px; }
.sn-app-badge { align-self: center; padding: 0 3px; border-radius: 3px; background: #f0f0f0; color: #616061; font-size: 10px; line-height: 15px; }
.sn-mention { padding: 1px 2px; border-radius: 3px; color: #1264a3; background: #e8f4fa; }
.sn-attachment { margin-top: 11px; padding: 1px 0 1px 12px; border-left: 4px solid #ddd; }
.sn-product { display: flex; gap: 12px; align-items: flex-start; }
.sn-product-photo { width: 55px; height: 55px; flex: none; border-radius: 4px; background: #e7ddcf url('../../img/home/forma/product-atlas.webp') 0 0 / 300% auto no-repeat; }
.sn-product > div { min-width: 0; flex: 1; }
.sn-product > div > b { font-size: 15px; }
.sn-fields { display: grid; grid-template-columns: max-content max-content; gap: 34px; margin: 5px 0 9px; }
.sn-fields > span { display: grid; }
.sn-fields small { color: var(--sn-muted); font-size: 12px; }
.sn-fields b { font-size: 14px; font-weight: 400; }
.home-page .slack-native .sn-plan-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 32px; padding: 4px 11px; border: 1px solid #b4b4b4; border-radius: 4px; background: #fff; color: var(--sn-ink); cursor: pointer; font: 700 13px/1.4 Lato,Arial,sans-serif; box-shadow: 0 1px 1px #00000008; transition: background-color 120ms ease,border-color 120ms ease; }
.sn-plan-button .sn-icon { width: 15px; height: 15px; }
.home-page .slack-native .sn-plan-button:focus-visible { outline: 3px solid #1264a3; outline-offset: 3px; }
.home-page .slack-native .sn-plan-button:active { background: #e8e8e8; }
.sn-composer { margin: 9px 19px 17px; border: 1px solid #a7a7a7; border-radius: 8px; overflow: hidden; color: var(--sn-muted); }
.sn-formatting { display: flex; align-items: center; gap: 17px; min-height: 29px; padding: 5px 11px; background: #f8f8f8; color: #9c9b9c; }
.sn-formatting .sn-icon { width: 15px; height: 15px; }
.sn-compose-placeholder { min-height: 34px; padding: 7px 12px 4px; color: #777577; font-size: 14px; }
.sn-compose-tools { display: flex; align-items: center; gap: 13px; padding: 4px 10px 9px; color: #696769; }
.sn-compose-tools > .sn-icon { width: 17px; height: 17px; }
.sn-compose-plus { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: #f1f1f1; }
.sn-compose-plus .sn-icon { width: 17px; height: 17px; }
.sn-compose-tools i { width: 1px; height: 15px; background: #ddd; }
.sn-send { display: flex; align-items: center; gap: 8px; margin-left: auto; color: #b0afb0; }
.sn-send > .sn-icon { width: 16px; height: 16px; }
.sn-send > .sn-icon:last-child { width: 11px; height: 11px; }
.slack-native--compact { --sn-height: 654px; }
.slack-native--compact .sn-app { border: 0; border-radius: 10px; box-shadow: 0 16px 45px -25px #3f0e4030; }
.sn-evidence { padding-top: 0; padding-bottom: 0; }
.home-page .slack-native .sn-evidence p { font-size: 14px; line-height: 1.45; }
.sn-evidence p + p { margin-top: 9px !important; }
.sn-evidence small { display: block; color: var(--sn-muted); font-size: 12px; line-height: 1.5; }
.home-page .slack-native .sn-proposal { margin-top: 12px; font-size: 14px; }
.sn-proposal small { display: block; margin-top: 4px; font-size: 12px; color: var(--sn-muted); line-height: 1.5; }
@media(hover:hover) and (pointer:fine) { .home-page .slack-native .sn-plan-button:hover { background: #f8f8f8; border-color: #8c8c8c; } }
.home-page .slack-native .sn-plan-button--primary { background: #007a5a; border-color: transparent; color: #fff; }
@media(hover:hover) and (pointer:fine) { .home-page .slack-native .sn-plan-button--primary:hover { background: #148567; border-color: transparent; } }
.home-page .slack-native .sn-plan-button--primary:active { background: #006249; }
@container slack-example (max-width: 800px) {
  .sn-workspace { grid-template-columns: 56px minmax(0,1fr); }
  .sn-sidebar { display: none; }
  .sn-window-controls { width: 28px; }
  .sn-history { width: auto; }
  .sn-topbar { gap: 11px; }
  .sn-search { width: auto; flex: 1; }
  .sn-channel-header { padding-inline: 17px; }
  .sn-channel-header b { font-size: 16px; }
  .sn-channel-actions { gap: 13px; }
  .sn-channel-actions > span { display: none; }
  .sn-message { padding-inline: 17px; }
  .sn-composer { margin-inline: 17px; }
}
@container slack-example (max-width: 480px) {
  .sn-workspace { grid-template-columns: minmax(0,1fr); }
  .sn-rail,.sn-history,.sn-window-controls { display: none; }
  .sn-topbar { height: 35px; padding-inline: 12px; }
  .sn-search { font-size: 12px; }
  .sn-channel-header { min-height: 49px; padding-inline: 13px; gap: 8px; }
  .sn-channel-header b { font-size: 16px; }
  .sn-channel-actions { gap: 11px; }
  .sn-channel-actions > .sn-icon:first-of-type { display: none; }
  .sn-channel-tabs { padding-inline: 15px; gap: 21px; }
  .sn-message { grid-template-columns: 32px minmax(0,1fr); gap: 8px; padding-inline: 13px; }
  .sn-avatar { width: 32px; height: 32px; font-size: 18px; }
  .sn-avatar .sn-souvenir { width: 24px; height: 24px; }
  .sn-meta { gap: 6px; }
  .sn-meta b { font-size: 14px; }
  .sn-meta time { font-size: 11px; }
  .sn-attachment { padding-left: 9px; }
  .sn-product { gap: 9px; }
  .sn-product-photo { width: 40px; height: 40px; }
  .sn-product > div > b { font-size: 14px; }
  .sn-fields { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
  .sn-fields small { font-size: 11px; }
  .home-page .slack-native .sn-plan-button { font-size: 12px; padding-inline: 9px; min-height: 36px; }
  .sn-plan-button .sn-icon { display: none; }
  .sn-composer { margin: 9px 12px 13px; }
  .sn-formatting { gap: 15px; }
  .sn-formatting > .sn-icon:nth-last-child(-n+2) { display: none; }
  .sn-compose-tools { gap: 12px; }
  .sn-compose-tools > .sn-icon:nth-of-type(4),.sn-compose-tools > .sn-icon:nth-of-type(5),.sn-compose-tools > i { display: none; }
}
@container slack-example (max-width: 340px) {
  .sn-fields small { min-height: 32px; }
}
/* Each animation keeps Slack's composer fixed while its transcript scrolls. */
.slack-native.sn-animated .sn-app { height: var(--sn-height); min-height: 0; }
.slack-native.sn-animated .sn-workspace { height: calc(var(--sn-height) - 36px); min-height: 0; }
.slack-native--compact.sn-animated .sn-workspace { height: calc(var(--sn-height) - 34px); }
.slack-native.sn-animated .sn-channel { height: 100%; min-height: 0; }
.slack-native.sn-animated .sn-channel-header,
.slack-native.sn-animated .sn-channel-tabs,
.slack-native.sn-animated .sn-composer { flex-shrink: 0; }
.slack-native.sn-animated .sn-transcript { min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.sn-transcript:focus-visible { outline: 2px solid #1264a3; outline-offset: -3px; }
.sn-typing { min-height: 22px; margin-top: 10px; padding: 0 20px 0 66px; font-size: 12px; line-height: 22px; color: var(--sn-muted); }
.sn-typing > span { display: flex; align-items: center; gap: 3px; }
.sn-typing b { margin-left: 4px; font-size: 12px; }
.sn-typing i { display: block; width: 4px; height: 4px; border-radius: 50%; background: #777; animation: sn-typing 1050ms ease-in-out infinite; }
.sn-typing i:nth-child(2) { animation-delay: 140ms; }
.sn-typing i:nth-child(3) { animation-delay: 280ms; }
.sn-is-writing .sn-compose-placeholder { color: var(--sn-ink); }
.sn-is-writing .sn-compose-placeholder::after { content: ""; display: inline-block; height: 14px; width: 1px; margin-left: 1px; vertical-align: -2px; background: #1d1c1d; animation: sn-caret 950ms steps(1) infinite; }
.sn-send { padding: 4px 6px; margin-block: -4px; border-radius: 4px; }
.sn-is-writing .sn-send { background: #007a5a; color: #fff; }
.sn-is-writing .sn-send i { background: #ffffff4a; }
.sn-assumption { display: block; color: var(--sn-muted); font-size: 12px; line-height: 1.5; }
.sn-draft > b { display: block; font-size: 14px; }
.home-page .slack-native .sn-draft > p { margin-top: 5px; font-size: 14px; }
.sn-draft > small { display: block; margin: 3px 0 9px; color: var(--sn-muted); font-size: 12px; line-height: 1.5; }
.sn-revenue { max-width: 405px; }
.sn-revenue-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; padding: 4px 0; font-size: 14px; line-height: 1.5; }
.sn-revenue-row > b { white-space: nowrap; }
.sn-revenue-total { padding-top: 9px; margin-top: 5px; border-top: 1px solid #e5e5e5; }
.sn-revenue > small { display: block; margin-top: 7px; color: var(--sn-muted); font-size: 11px; line-height: 1.5; }
.sn-result-action { margin-top: 11px; }
.sn-arriving { animation: sn-arrive 180ms cubic-bezier(.23,1,.32,1) both; }
.sn-paused .sn-arriving,.sn-paused .sn-typing i,.sn-paused .sn-compose-placeholder::after { animation-play-state: paused; }
@keyframes sn-arrive { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sn-typing { 0%,60%,100% { opacity: .4; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }
@keyframes sn-caret { 50% { opacity: 0; } }
@container slack-example (max-width: 800px) {
  .sn-typing { padding-inline: 63px 17px; }
}
@container slack-example (max-width: 480px) {
  .sn-typing { padding-inline: 53px 13px; }
  .sn-revenue-row { font-size: 13px; gap: 8px; }
}
@container slack-example (max-width: 340px) {
  .sn-result-action .sn-plan-button { text-align: left; }
}
@media(prefers-reduced-motion:reduce) {
  .home-page .slack-native .sn-plan-button { transition: none; }
  .sn-arriving,.sn-typing i,.sn-is-writing .sn-compose-placeholder::after { animation: none; }
}
