/* Sites shares the original workstation material and its finite controller.
   All numbers are illustrative; native controls select the five visible views. */
.ws-feature--sites .ws-stage { background: #e9e3f1; }
.ws-workspace--sites { grid-template-columns: minmax(0,1fr) 232px; }
.ws-sites-app { position: relative; height: 456px; min-width: 0; display: flex; flex-direction: column; background: #f5f2f8; color: #49385c; font-family: Inter,sans-serif; }
.ws-sites-app :is(h5,p) { margin: 0; }
.ws-sites-app-bar { height: 37px; padding: 0 12px; display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid #ded5e7; background: #ffffffb8; }
.ws-sites-app-bar > div { display: flex; align-items: center; gap: 6px; }
.ws-sites-app-bar i { width: 6px; height: 6px; background: #8e76a5; border-radius: 2px; }
.ws-sites-app-bar strong { color: #5e4778; font: 500 9px "DM Mono",monospace; }
.ws-sites-app-bar > small { color: #74647f; font-size: 8px; }
.ws-sites-nav { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); flex-shrink: 0; gap: 3px; padding: 5px 9px; background: #eeE8f4; }
.ws-sites-nav button { min-width: 0; min-height: 34px; padding: 4px 2px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: #786587; font: 500 9px/1.3 Inter,sans-serif; cursor: pointer; }
.ws-sites-nav button[aria-pressed="true"] { border-color: #d7c9e3; background: #fff; color: #624083; box-shadow: 0 2px 5px #3e21530a; }
.ws-sites-nav button:hover { background: #f9f6fc; color: #624083; }
.ws-sites-nav button:focus-visible { outline: 2px solid #8f67b3; outline-offset: 1px; }
.ws-sites-period { display: flex; align-items: center; gap: 8px; height: 29px; flex-shrink: 0; padding: 0 12px; border-bottom: 1px solid #e0d7e9; color: #796886; font-size: 7px; }
.ws-sites-period > span + span { border-left: 1px solid #d8cde3; padding-left: 8px; }
.ws-sites-period > b { margin-left: auto; color: #655075; font: 7px "DM Mono",monospace; white-space: nowrap; }
.ws-sites-panels { min-height: 0; flex: 1; position: relative; }
.ws-sites-panel { height: 100%; min-width: 0; }
.ws-sites-panel[hidden] { display: none !important; }
.ws-sites-scroll { height: 100%; padding: 11px 12px 14px; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c5b5d3 #f5f2f8; }
/* The controller sets this only after measuring actual overflowing content. */
.ws-sites-scroll[data-ws-overflow="true"] { mask-image: linear-gradient(#000 0%,#000 calc(100% - 12px),transparent 100%); }
.ws-sites-heading { min-height: 15px; margin-bottom: 7px; display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.ws-sites-heading strong { color: #69517e; font-size: 9px; font-weight: 600; }
.ws-sites-heading > small { color: #83708f; font-size: 7px; }
.ws-sites-section { min-width: 0; margin-bottom: 11px; }
.ws-sites-metrics-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; }
.ws-sites-stat { min-width: 0; padding: 5px 6px; border: 1px solid #e0d5e8; border-radius: 5px; background: #fdfbff; }
.ws-sites-stat-label { min-height: 19px; display: block; color: #756083; font-size: 7.5px; line-height: 1.3; overflow-wrap: anywhere; }
.ws-sites-stat > b { display: block; margin-top: 2px; color: #65467f; font: 500 16px/1.1 "DM Mono",monospace; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.ws-sites-stat > small { display: block; min-height: 10px; margin-top: 3px; color: #82718d; font-size: 5.7px; line-height: 1.35; overflow-wrap: anywhere; }
.ws-sites-app .ws-sites-note { margin-top: 6px; color: #82718d; font-size: 7px; line-height: 1.5; }
.ws-sites-table-wrap { min-width: 0; overflow-x: auto; }
.ws-sites-table-wrap table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 8px; }
.ws-sites-table-wrap th { height: 23px; color: #8b7899; font-size: 6px; font-weight: 500; text-align: right; border-bottom: 1px solid #dacfe4; }
.ws-sites-table-wrap :is(th,td):first-child { width: 29%; text-align: left; }
.ws-sites-table-wrap td { height: 32px; border-bottom: 1px solid #e6dfee; text-align: right; color: #746080; font: 7px "DM Mono",monospace; }
.ws-sites-table-wrap td strong { display: block; color: #6f5684; font: 500 8px Inter,sans-serif; }
.ws-sites-table-wrap td small { display: block; margin-top: 2px; color: #9883a5; font: 6px "DM Mono",monospace; }
.ws-sites-utm { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 5px; padding: 7px; border: 1px solid #ddd0e8; border-radius: 4px; background: #ece3f4; }
.ws-sites-utm > div { min-width: 0; }
.ws-sites-utm code { display: block; color: #8f769e; font: 6px "DM Mono",monospace; }
.ws-sites-utm b { display: block; margin-top: 3px; color: #73538b; font: 500 8px "DM Mono",monospace; overflow-wrap: anywhere; }
.ws-sites-referrer { display: flex; align-items: center; gap: 7px; height: 22px; color: #8b7899; font-size: 7px; }
.ws-sites-referrer code { font: 6px "DM Mono",monospace; }
.ws-sites-referrer small { margin-left: auto; font-size: 6px; }
.ws-sites-three { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 11px; margin-top: 9px; }
.ws-sites-three .ws-sites-heading strong { font-size: 8px; }
.ws-sites-bar-row { margin-bottom: 7px; }
.ws-sites-bar-row > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-bottom: 4px; color: #8b759b; font-size: 7px; }
.ws-sites-bar-row b { font: 7px "DM Mono",monospace; white-space: nowrap; }
.ws-sites-bar { height: 4px; background: #e1d7e9; border-radius: 2px; overflow: hidden; }
.ws-sites-bar > i { display: block; width: var(--ws-sites-share); height: 100%; border-radius: inherit; background: #a48bbb; }
.ws-sites-bar > i,.ws-sites-funnel-step i { transform: scaleX(var(--ws-view-progress,1)); transform-origin: left; }
.ws-sites-heatspot { opacity: var(--ws-view-progress,1); transform: scale(calc(.75 + var(--ws-view-progress,1) * .25)); }
.ws-sites-dimension { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 5px; row-gap: 9px; color: #867091; font-size: 7px; }
.ws-sites-dimension strong { font-weight: 500; }
.ws-sites-dimension b { font: 7px "DM Mono",monospace; }
.ws-sites-bottom-line { display: flex; justify-content: space-between; gap: 7px; padding-top: 8px; border-top: 1px solid #dfd4e8; color: #887492; font-size: 7px; }
.ws-sites-bottom-line > div > :is(strong,span) { display: block; }
.ws-sites-bottom-line strong { color: #745a86; font-size: 8px; font-weight: 500; margin-bottom: 4px; }
.ws-sites-bottom-line > div:last-child { text-align: right; }
.ws-sites-map-layout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 12px; }
.ws-sites-site-preview { position: relative; min-width: 0; height: 288px; overflow: hidden; background: #fdfbff; border: 1px solid #d9cce4; border-radius: 5px; }
.ws-sites-site-preview > header { height: 27px; padding: 0 8px; display: flex; align-items: center; gap: 5px; border-bottom: 1px solid #e9e0f0; color: #a18aaf; font-size: 5px; }
.ws-sites-site-preview header > i { width: 6px; height: 6px; background: #d7c9e3; border-radius: 50%; }
.ws-sites-site-preview header > b { font: 7px "DM Mono",monospace; letter-spacing: .08em; }
.ws-sites-site-preview header > span { margin-left: auto; font-size: 5px; }
.ws-sites-site-copy { padding: 24px 14px 0; }
.ws-sites-site-copy h5 { max-width: 15ch; margin-bottom: 11px; color: #72528b; font: 600 17px/1.1 "Bricolage Grotesque",Inter,sans-serif; letter-spacing: -.02em; }
.ws-sites-site-copy > i { display: block; height: 3px; width: 88%; margin: 4px 0; background: #e4d9ec; }
.ws-sites-site-copy > i:nth-of-type(2) { width: 70%; }
.ws-sites-site-copy > i:nth-of-type(3) { width: 56%; }
.ws-sites-site-cta { display: inline-block; margin-top: 13px; padding: 8px; border-radius: 3px; background: #b59bc8; color: #fff; font-size: 7px; }
.ws-sites-site-blocks { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin: 22px 14px 0; }
.ws-sites-site-blocks > i { height: 31px; border-radius: 3px; background: #eee5f5; }
.ws-sites-heatspot { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle,#f68b607d 0 17%,#f1c17870 23%,#d5c39321 54%,transparent 70%); }
.ws-sites-heatspot b { display: grid; place-items: center; min-width: 15px; height: 15px; padding: 0 2px; border-radius: 50%; background: #c98262; color: #fff; font: 6px "DM Mono",monospace; }
.ws-sites-heatspot--0 { left: 13%; top: 141px; width: 60px; height: 60px; }
.ws-sites-heatspot--1 { left: 43%; top: 67px; }
.ws-sites-heatspot--2 { left: 61%; top: 200px; width: 35px; height: 35px; }
.ws-sites-heatspot--3 { left: 15%; top: 211px; width: 29px; height: 29px; }
.ws-sites-site-preview > footer { position: absolute; bottom: 9px; left: 12px; right: 12px; display: flex; align-items: center; gap: 5px; color: #a08bad; font-size: 5px; }
.ws-sites-site-preview footer > i { height: 3px; flex: 1; background: linear-gradient(90deg,#b3a3c4,#dfc9b8,#ce8663); }
.ws-sites-cta-row { padding: 7px 0; border-bottom: 1px solid #e1d7ea; }
.ws-sites-cta-row > strong { display: block; color: #745a87; font-size: 8px; font-weight: 500; }
.ws-sites-cta-row > div { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr; align-items: center; gap: 3px; margin-top: 7px; }
.ws-sites-cta-row b { color: #725288; font: 10px "DM Mono",monospace; }
.ws-sites-cta-row div span { color: #9a85a8; font-size: 5px; }
.ws-sites-cta-row > small { display: block; margin-top: 5px; color: #9a85a8; font: 5px/1.5 "DM Mono",monospace; }
.ws-sites-session { color: #907a9e; font-size: 7px; }
.ws-sites-session > div:first-child { display: flex; justify-content: space-between; gap: 4px; }
.ws-sites-session strong { color: #79608d; font: 7px "DM Mono",monospace; }
.ws-sites-session > small { display: block; margin-top: 4px; font-size: 6px; }
.ws-sites-session-stats { margin-top: 7px; }
.ws-sites-session ol { margin: 8px 0 0; padding: 0; list-style: none; }
.ws-sites-session li { position: relative; display: flex; align-items: center; gap: 7px; min-height: 20px; padding-left: 10px; }
.ws-sites-session li::before { content: ""; position: absolute; left: 0; top: 8px; height: 4px; width: 4px; background: #b19ac4; border-radius: 50%; }
.ws-sites-session :is(time,code) { font: 6px "DM Mono",monospace; }
.ws-sites-two { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; }
.ws-sites-performance { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; }
.ws-sites-performance .ws-sites-stat { padding: 7px 5px; }
.ws-sites-performance .ws-sites-stat-label { min-height: 10px; font-size: 7px; }
.ws-sites-performance .ws-sites-stat > b { font-size: 13px; }
.ws-sites-error { margin-top: 8px; padding: 5px 6px; background: #f4e8e6; color: #a67d77; border-radius: 3px; font-size: 7px; }
.ws-sites-error code { font: 6px "DM Mono",monospace; }
.ws-sites-bot { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 8px 0 11px; margin-bottom: 10px; border-bottom: 1px solid #dfd4e8; }
.ws-sites-bot > div > :is(strong,span) { display: block; }
.ws-sites-bot strong { color: #7f648f; font-size: 8px; font-weight: 500; margin-bottom: 4px; }
.ws-sites-bot span { color: #9681a2; font-size: 7px; }
.ws-sites-bot > small { color: #9e89aa; font-size: 6px; }
.ws-sites-health { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; }
.ws-sites-health > span { display: flex; align-items: center; gap: 4px; color: #7e8c75; font-size: 7px; }
.ws-sites-health i { width: 4px; height: 4px; border-radius: 50%; background: #9aa98c; }
.ws-sites-tags { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding-top: 9px; border-top: 1px solid #dfd4e8; }
.ws-sites-tags strong { display: block; margin-bottom: 5px; color: #7f648f; font-size: 8px; font-weight: 500; }
.ws-sites-tags code { color: #8c719c; font: 6px "DM Mono",monospace; }
.ws-sites-tags > div:last-child { color: #9782a3; font-size: 6px; text-align: right; }
.ws-sites-tags small { display: block; margin-top: 4px; font-size: 6px; }
.ws-sites-insight { display: flex; gap: 6px; margin-top: 10px; padding: 8px; border-radius: 4px; background: #ece3f4; }
.ws-sites-insight > i { flex-shrink: 0; width: 4px; height: 4px; margin-top: 3px; border-radius: 50%; background: #af92c3; }
.ws-sites-insight strong { display: block; color: #80618f; font-size: 8px; font-weight: 500; }
.ws-sites-insight p { margin-top: 4px; color: #92799f; font-size: 7px; line-height: 1.5; }
.ws-sites-page-funnel { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px; }
.ws-sites-page-funnel > div { padding: 7px 4px; border-bottom: 2px solid #c6b2d8; background: #ece4f3; }
.ws-sites-page-funnel :is(b,span,small) { display: block; }
.ws-sites-page-funnel b { color: #75568d; font: 500 16px "DM Mono",monospace; }
.ws-sites-page-funnel span { margin-top: 4px; color: #937ba2; font-size: 6px; }
.ws-sites-page-funnel small { margin-top: 5px; color: #a18aad; font: 6px "DM Mono",monospace; }
.ws-sites-funnel-step { display: grid; grid-template-columns: 52px 1fr 25px; align-items: center; gap: 6px; margin: 7px 0; }
.ws-sites-funnel-step > span { color: #8b739b; font-size: 7px; }
.ws-sites-funnel-step > div { position: relative; height: 20px; }
.ws-sites-funnel-step i { position: absolute; inset: 0 auto 0 0; width: var(--ws-sites-share); border-radius: 2px; background: #d8c7e5; }
.ws-sites-funnel-step b { position: relative; z-index: 1; padding-left: 7px; color: #7e5d94; font: 8px/20px "DM Mono",monospace; }
.ws-sites-funnel-step > small { text-align: right; color: #9d84ac; font: 6px "DM Mono",monospace; }
.ws-sites-funnel-totals { gap: 6px; }
.ws-sites-funnel-totals .ws-sites-stat { padding: 6px; }
.ws-sites-funnel-totals .ws-sites-stat-label { min-height: 13px; font-size: 7px; }
.ws-sites-funnel-totals .ws-sites-stat > b { font-size: 13px; }
.ws-sites-conversion-line { display: flex; align-items: center; gap: 12px; padding: 10px 0; margin-top: 3px; border-bottom: 1px solid #dfd4e8; }
.ws-sites-conversion-line > div { display: flex; align-items: center; gap: 5px; color: #987fa5; font-size: 7px; }
.ws-sites-conversion-line b { color: #89659e; font: 12px "DM Mono",monospace; }
.ws-sites-value-map { padding-top: 9px; }
.ws-sites-value-map > div { display: flex; justify-content: space-between; gap: 6px; color: #8b709d; font-size: 8px; }
.ws-sites-value-map strong { font-weight: 500; }
.ws-sites-value-map p { margin-top: 5px; color: #9d85ad; font-size: 7px; }
.ws-sites-value-map small { display: block; margin-top: 4px; color: #ac97b7; font-size: 6px; }
@media (min-width: 641px) and (max-width: 1100px) {
  .ws-workspace--sites { grid-template-columns: minmax(0,1fr) 205px; }
  .ws-sites-nav button { font-size: 8px; }
  .ws-sites-scroll { padding-inline: 9px; }
  .ws-sites-stat { padding-inline: 5px; }
}
@media (max-width: 640px) {
  .ws-feature--sites .ws-stage { height: 800px; }
  .ws-feature--sites .ws-illustration { height: 712px; }
  .ws-workspace--sites { height: 712px; grid-template-columns: minmax(0,1fr); grid-template-rows: 456px 256px; }
  .ws-workspace--sites .ws-agent { min-height: 256px; border-left: 0; border-top: 1px solid var(--ws-chat-border); }
  .ws-sites-nav button { min-height: 35px; font-size: 8px; }
  .ws-sites-period { gap: 6px; font-size: 6px; }
  .ws-sites-scroll { padding-inline: 10px; }
  .ws-sites-stat > b { font-size: 16px; }
  .ws-sites-stat-label { font-size: 7.5px; }
  .ws-sites-map-layout { gap: 8px; }
  .ws-sites-site-copy { padding-inline: 10px; }
  .ws-sites-site-copy h5 { font-size: 16px; }
  .ws-sites-cta-row > div { grid-template-columns: auto 1fr auto 1fr auto 1fr; gap: 2px; }
  .ws-sites-cta-row div span { font-size: 5px; }
}
@media (max-width: 380px) {
  .ws-sites-stat { padding: 5px 4px; }
  .ws-sites-stat > b { font-size: 14px; }
  .ws-sites-stat-label { font-size: 7px; }
  .ws-sites-period > b { font-size: 6px; }
  .ws-sites-table-wrap th { font-size: 5px; }
  .ws-sites-three { gap: 7px; }
}
