/* =====================================================================
   InternetEmbark - "Beyond the website" service examples (v2)
   Self-contained: every class here starts with .sx- so it cannot clash
   with landing.css. Realistic HTML/CSS recreations of a business profile,
   a maps place card, a review inbox, a brand kit and a store dashboard.
   All businesses are fictional example concepts; photos are Pexels
   (see examples/CREDITS.txt). No product logos are reproduced.
   ===================================================================== */

@font-face { font-family: "SX Cormorant"; font-style: normal; font-weight: 500; font-display: swap; src: url(examples/birch-and-stone/fonts/CormorantGaramond-normal-500.woff2) format("woff2"); }
@font-face { font-family: "SX Cormorant"; font-style: italic; font-weight: 500; font-display: swap; src: url(examples/birch-and-stone/fonts/CormorantGaramond-italic-500.woff2) format("woff2"); }
@font-face { font-family: "SX Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url(examples/birch-and-stone/fonts/Manrope-normal-400.woff2) format("woff2"); }

.sx-grid {
  --sx-blue: #2B5FD9; --sx-gold: #E5A11B; --sx-green: #1F7A45; --sx-ink: #1F2328; --sx-mute: #5E6670; --sx-line: #E6E8EB;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 28px);
}
.sx-card { margin: 0; display: flex; flex-direction: column; min-width: 0; }
.sx-c-gbp { grid-column: span 7; }
.sx-c-maps { grid-column: span 5; }
.sx-c-rev { grid-column: span 5; }
.sx-c-brand { grid-column: span 7; }
.sx-c-shop { grid-column: 1 / -1; }

.sx-frame {
  position: relative; flex: 1 0 auto; container-type: inline-size; overflow: hidden; isolation: isolate;
  border-radius: var(--radius, 22px); font-family: var(--sans); font-size: 13px; line-height: 1.35; color: var(--sx-ink);
  box-shadow: 0 1px 2px rgba(27,23,20,.05), 0 18px 40px -18px rgba(27,23,20,.28);
  transition: transform .7s var(--ease, ease), box-shadow .7s var(--ease, ease);
}
.sx-card:hover .sx-frame { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(27,23,20,.05), 0 30px 60px -24px rgba(27,23,20,.34); }
.sx-frame p, .sx-frame ul, .sx-frame dl, .sx-frame dd { margin: 0; padding: 0; }
.sx-frame ul { list-style: none; }
.sx-frame img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; }
.sx-frame svg { display: block; }

.sx-card figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 1rem .25rem 0; font-size: var(--t-sm, .875rem); }
.sx-card figcaption b { flex-basis: 100%; margin-top: 4px; font-size: var(--t-base, 1rem); font-weight: 650; }
.sx-card figcaption > span:last-child { flex-basis: 100%; color: var(--muted); line-height: 1.55; }
.sx-link { color: var(--accent, #1760D3); font-weight: 600; text-decoration: none; white-space: nowrap; }
.sx-link:hover { text-decoration: underline; }

/* shared bits */
.sx-src { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--sx-mute); }
.sx-src-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sx-blue); box-shadow: 0 0 0 3px rgba(43,95,217,.15); }
.sx-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12.5px; font-weight: 650; color: var(--sx-ink); }
.sx-h span { font-size: 11px; font-weight: 500; color: var(--sx-mute); }
.sx-open { color: var(--sx-green); font-weight: 650; }
.sx-stars { display: inline-flex; gap: 1px; vertical-align: -1px; }
.sx-stars i { width: 12px; height: 12px; background: var(--sx-gold); clip-path: polygon(50% 0, 61.8% 35.4%, 100% 35.4%, 69.1% 57.3%, 80.9% 92.7%, 50% 71%, 19.1% 92.7%, 30.9% 57.3%, 0 35.4%, 38.2% 35.4%); }
.sx-stars i.sx-s8 { background: linear-gradient(90deg, var(--sx-gold) 80%, #D9DCE0 80%); }
.sx-stars i.sx-off { background: #D9DCE0; }
.sx-stars.sx-sm i { width: 10px; height: 10px; }
.sx-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 99px; background: #FFF3DC; color: #8A5A00; font-size: 11px; font-weight: 650; white-space: nowrap; }
.sx-chip.ok { background: #E3F2E8; color: var(--sx-green); }
.sx-chip.ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- 1. Business profile ---------- */
.sx-f-gbp { display: grid; align-content: center; background: radial-gradient(120% 90% at 0 0, #EEF3FB 0, transparent 60%), linear-gradient(160deg, #F4F6F9, #E9EDF2); padding: clamp(14px, 3.4cqw, 26px); }
.sx-gbp { background: #fff; border-radius: 18px; padding: clamp(12px, 2.6cqw, 20px); box-shadow: 0 1px 2px rgba(31,35,40,.06), 0 14px 34px -16px rgba(31,35,40,.3); }
.sx-gbp > .sx-src { margin-bottom: 10px; }
.sx-gbp-cols { display: grid; gap: 16px; }
.sx-gbp-main, .sx-gbp-side { min-width: 0; }
.sx-gbp-photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 4px; height: clamp(130px, 36cqw, 190px); border-radius: 12px; overflow: hidden; }
.sx-gbp-photos > img:first-child { grid-row: 1 / 3; }
.sx-more { position: relative; display: block; min-height: 0; overflow: hidden; }
.sx-more b { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15,18,22,.45); color: #fff; font-size: 14px; font-weight: 650; }
.sx-gbp-name { margin-top: 12px !important; font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.sx-gbp-rate { margin-top: 3px !important; font-size: 12.5px; color: var(--sx-mute); }
.sx-gbp-rate b { color: var(--sx-ink); font-weight: 600; }
.sx-tabs { display: flex; gap: 16px; margin-top: 10px !important; border-bottom: 1px solid var(--sx-line); font-size: 12.5px; font-weight: 600; color: var(--sx-mute); overflow: hidden; }
.sx-tabs li { padding: 7px 0 8px; white-space: nowrap; }
.sx-tabs li.on { color: var(--sx-blue); box-shadow: inset 0 -2.5px 0 var(--sx-blue); }
.sx-acts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 12px !important; text-align: center; font-size: 11.5px; font-weight: 600; color: var(--sx-blue); }
.sx-acts li { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.sx-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #D5DBE5; background: #F5F8FE; }
.sx-acts li:first-child .sx-ic { background: var(--sx-blue); border-color: var(--sx-blue); }
.sx-acts li:first-child svg { stroke: #fff; }
.sx-ic svg { width: 17px; height: 17px; fill: none; stroke: var(--sx-blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sx-info { margin-top: 12px !important; display: grid; gap: 7px; font-size: 12.5px; color: var(--sx-ink); border-top: 1px solid var(--sx-line); padding-top: 11px !important; }
.sx-info li { display: flex; align-items: center; gap: 10px; }
.sx-info svg { flex: none; width: 15px; height: 15px; fill: none; stroke: var(--sx-blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sx-gbp-side { display: grid; gap: 10px; align-content: start; }
.sx-pop, .sx-post, .sx-qa { border: 1px solid var(--sx-line); border-radius: 12px; padding: 11px 12px; }
.sx-bars { display: flex; align-items: flex-end; gap: 4px; height: 58px; margin-top: 10px; border-bottom: 1px solid var(--sx-line); }
.sx-bars i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: #C9D7F5; }
.sx-bars i.now { background: linear-gradient(180deg, #5B9BF0, #1760D3); }
.sx-pop-x { display: flex; justify-content: space-between; margin-top: 4px !important; font-size: 10.5px; color: var(--sx-mute); }
.sx-pop-live { margin-top: 6px !important; font-size: 11.5px; color: var(--sx-mute); }
.sx-pop-live b { color: #B5452C; font-weight: 650; }
.sx-post > p:last-child, .sx-qa .sx-a { margin-top: 5px !important; font-size: 12px; color: #3D444C; line-height: 1.45; }
.sx-q { margin-top: 6px !important; font-size: 12.5px; font-weight: 600; }
.sx-a span { display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 99px; background: #EAF0FD; color: var(--sx-blue); font-size: 10.5px; font-weight: 650; }
@container (min-width: 560px) {
  .sx-gbp-cols { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; }
  .sx-gbp-photos { height: clamp(140px, 24cqw, 190px); }
}

/* ---------- 2. Maps place card ---------- */
.sx-f-maps { display: flex; flex-direction: column; background: #E9E5DC; }
.sx-map { position: relative; min-height: clamp(190px, 58cqw, 270px); flex: 1 0 auto; overflow: hidden; background: #ECE8E0; }
.sx-map i, .sx-map span { position: absolute; display: block; }
.sx-blk { background: #F5F2EC; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.025); }
.sx-blk.b1 { left: 4%; top: 6%; width: 26%; height: 26%; }
.sx-blk.b2 { left: 36%; top: 6%; width: 22%; height: 26%; }
.sx-blk.b3 { left: 4%; top: 44%; width: 26%; height: 22%; }
.sx-blk.b4 { left: 36%; top: 44%; width: 22%; height: 22%; }
.sx-blk.b5 { left: 64%; top: 44%; width: 30%; height: 22%; }
.sx-blk.b6 { left: 4%; top: 78%; width: 54%; height: 30%; }
.sx-park { left: 64%; top: 4%; width: 34%; height: 30%; border-radius: 10px; background: #CFE2C3; }
.sx-park::after { content: ""; position: absolute; left: 30%; top: 30%; width: 16px; height: 16px; border-radius: 50%; background: #B7D3A6; box-shadow: 22px 8px 0 -2px #B7D3A6, 8px 22px 0 -4px #B7D3A6; }
.sx-water { right: -8%; bottom: -14%; width: 44%; height: 40%; border-radius: 60% 0 0 0; background: linear-gradient(160deg, #BCD7EA, #A9CBE3); }
.sx-rd { background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.04); }
.sx-rd.h1 { left: 0; right: 0; top: 35%; height: 9px; }
.sx-rd.h2 { left: 0; right: 0; top: 70%; height: 7px; }
.sx-rd.v1 { top: 0; bottom: 0; left: 31.5%; width: 9px; }
.sx-rd.v2 { top: 0; bottom: 0; left: 60%; width: 7px; }
.sx-rd.d1 { left: 52%; top: 50%; width: 80%; height: 6px; transform: rotate(-28deg); transform-origin: 0 50%; }
.sx-route { left: calc(31.5% + 3px); top: 35%; width: 3px; height: 35%; background: repeating-linear-gradient(180deg, #3A78F0 0 6px, transparent 6px 10px); }
.sx-street { font-size: 9.5px; font-weight: 600; letter-spacing: .04em; color: #8F877B; text-transform: uppercase; }
.sx-street.s1 { left: 8%; top: calc(35% - 15px); }
.sx-street.s2 { left: calc(31.5% + 26px); top: 18%; transform: rotate(90deg); transform-origin: 0 0; }
.sx-me { left: 31.5%; top: 70%; width: 14px; height: 14px; margin: -2px 0 0 -2px; border-radius: 50%; background: #3A78F0; border: 2.5px solid #fff; box-shadow: 0 0 0 7px rgba(58,120,240,.18); animation: sxPulse 2.6s ease-out infinite; }
.sx-marker { left: calc(31.5% - 13px); top: calc(35% - 46px); width: 36px; height: 36px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: #C9553A; box-shadow: 0 6px 12px -4px rgba(120,40,20,.5); border: 2.5px solid #fff; }
.sx-marker svg { width: 20px; height: 20px; margin: 5.5px; transform: rotate(45deg); fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes sxPulse { 0% { box-shadow: 0 0 0 0 rgba(58,120,240,.35); } 80%, 100% { box-shadow: 0 0 0 14px rgba(58,120,240,0); } }
.sx-sheet { position: relative; z-index: 1; margin: -38px 12px 12px; padding: 8px 16px 16px; border-radius: 22px; background: rgba(255,255,255,.96); box-shadow: 0 -2px 20px -6px rgba(0,0,0,.22); flex: none; }
.sx-grab { display: block; width: 38px; height: 5px; margin: 0 auto 10px; border-radius: 99px; background: #D4D4D8; }
.sx-src-maps { font-size: 10.5px; }
.sx-pl-name { margin-top: 4px !important; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.sx-pl-meta { margin-top: 2px !important; font-size: 12.5px; color: #6B6B72; }
.sx-pl-acts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 12px !important; }
.sx-pl-acts li { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px 7px; border-radius: 12px; background: #F1F1F4; color: #2F6FE8; font-size: 11px; font-weight: 600; }
.sx-pl-acts li.go { background: #2F6FE8; color: #fff; }
.sx-pl-acts svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sx-pl-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px !important; padding: 10px 0 !important; border-block: 1px solid #EBEBEE; }
.sx-pl-stats div { padding: 0 8px; border-left: 1px solid #EBEBEE; min-width: 0; }
.sx-pl-stats div:first-child { padding-left: 0; border-left: 0; }
.sx-pl-stats dt { font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #8A8A90; }
.sx-pl-stats dd { margin-top: 2px; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-pl-photos { display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: minmax(0, 1fr); gap: 6px; height: 86px; margin-top: 12px; }
.sx-pl-photos img { border-radius: 10px; }

/* ---------- 3. Review inbox ---------- */
.sx-f-rev { background: radial-gradient(90% 70% at 100% 0, #F7E7CF 0, transparent 70%), linear-gradient(160deg, #F6EEE4, #EEDFCD); padding: clamp(14px, 3.6cqw, 24px); }
.sx-rev { background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 1px 2px rgba(60,30,15,.06), 0 14px 34px -16px rgba(60,30,15,.32); }
.sx-rev-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.sx-rev-biz { margin-top: 2px !important; font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.sx-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.sx-kpis > div { padding: 9px 10px; border-radius: 11px; background: #FAF6F0; min-width: 0; }
.sx-kpis b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.sx-kpis span { display: block; font-size: 10.5px; color: var(--sx-mute); }
.sx-kpis .sx-trend { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; }
.sx-trend svg { width: 46%; height: 34px; flex: none; }
.sx-feed { margin-top: 12px !important; display: grid; gap: 10px; }
.sx-feed > li { padding-top: 10px; border-top: 1px solid #EFEAE3; }
.sx-who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 7px; font-size: 12.5px; }
.sx-who b { font-weight: 650; }
.sx-who small { flex-basis: 100%; margin-left: 35px; margin-top: -4px; font-size: 10.5px; color: var(--sx-mute); }
.sx-av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 10.5px; font-weight: 700; color: #fff; }
.sx-av.a1 { background: #6C8EBF; } .sx-av.a2 { background: #8A6BB0; } .sx-av.a3 { background: #4E9C8F; }
.sx-txt { margin: 5px 0 0 35px !important; font-size: 12.5px; color: #33393F; line-height: 1.45; }
.sx-reply { margin: 7px 0 0 35px; padding: 8px 10px; border-left: 3px solid var(--accent, #1760D3); border-radius: 4px 10px 10px 4px; background: #FAF5EF; font-size: 12px; line-height: 1.45; color: #3D3A37; }
.sx-reply-h { display: flex; justify-content: space-between; gap: 6px; margin-bottom: 2px !important; font-size: 11px; font-weight: 650; color: var(--sx-ink); }
.sx-reply-h span { font-weight: 600; color: var(--sx-green); }
.sx-draft { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 7px 0 0 35px !important; font-size: 11.5px; color: var(--sx-mute); }

/* ---------- 4. Brand kit ---------- */
.sx-f-brand { background: radial-gradient(70% 60% at 15% 10%, #3E5E4A 0, transparent 70%), linear-gradient(155deg, #2A4033, #1B2A22); color: #F4F1EA; padding: clamp(16px, 3.6cqw, 28px); display: grid; }
.sx-brand { display: grid; gap: clamp(14px, 3cqw, 24px); align-items: center; }
.sx-cards { position: relative; height: clamp(300px, 98cqw, 380px); perspective: 1100px; perspective-origin: 50% 40%; }
.sx-bc { position: absolute; width: min(78%, 290px); aspect-ratio: 1.75; border-radius: 9px; padding: 16px 18px; transform-style: preserve-3d; transition: transform .9s var(--ease, ease); box-shadow: 0 22px 34px -16px rgba(0,0,0,.65), 0 2px 4px rgba(0,0,0,.2); }
.sx-bc-back { top: 3%; left: 3%; background: linear-gradient(140deg, #34503F, #2F4A3A 60%, #273E31); color: #E9DCC6; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transform: rotateX(22deg) rotateY(-16deg) rotateZ(-9deg) translate3d(0, 0, -30px); }
.sx-bc-front { bottom: 3%; right: 3%; background: linear-gradient(140deg, #FBF9F4, #F1ECE2); color: #24302A; display: flex; flex-direction: column; transform: rotateX(18deg) rotateY(14deg) rotateZ(5deg) translate3d(0, 0, 30px); }
.sx-card:hover .sx-bc-back { transform: rotateX(12deg) rotateY(-24deg) rotateZ(-6deg) translate3d(-3%, -3%, -30px); }
.sx-card:hover .sx-bc-front { transform: rotateX(10deg) rotateY(22deg) rotateZ(3deg) translate3d(2%, 3%, 40px); }
.sx-bc-front::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, rgba(255,255,255,.55), transparent 40%); pointer-events: none; }
.sx-mark { width: 40px; height: 40px; color: #C98760; }
.sx-bc-word { margin-top: 8px !important; font-family: "SX Cormorant", var(--serif); font-size: 25px; font-weight: 500; line-height: 1; letter-spacing: .01em; }
.sx-bc-word i, .sx-lg i { font-style: italic; color: #D59A73; }
.sx-bc-tag { margin-top: 5px !important; font-family: "SX Manrope", var(--sans); font-size: 8.5px; letter-spacing: .38em; text-transform: uppercase; color: #BFAF96; }
.sx-bc-name { font-family: "SX Cormorant", var(--serif); font-size: 21px; font-weight: 500; line-height: 1; }
.sx-bc-role { margin-top: 4px !important; font-family: "SX Manrope", var(--sans); font-size: 8.5px; letter-spacing: .24em; text-transform: uppercase; color: #B8673E; }
.sx-bc-det { margin-top: auto !important; font-family: "SX Manrope", var(--sans); font-size: 9.5px; line-height: 1.55; color: #56625B; }
.sx-mark-sm { position: absolute; right: 16px; bottom: 16px; width: 26px; height: 26px; color: #2F4A3A; }
.sx-kit { position: relative; background: #F7F4EE; color: #1E2420; border-radius: 14px; padding: 16px; box-shadow: 0 24px 40px -22px rgba(0,0,0,.7); }
.sx-kit-h { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 650; letter-spacing: .2em; text-transform: uppercase; color: #8C7E6B; }
.sx-logos { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 7px; margin-top: 10px; }
.sx-lg { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 62px; border-radius: 10px; padding: 8px; overflow: hidden; font-family: "SX Cormorant", var(--serif); font-size: clamp(15px, 3.6cqw, 19px); line-height: 1; white-space: nowrap; }
.sx-lg .sx-mark { width: 30px; height: 30px; flex: none; }
.sx-lg-pri { background: #fff; border: 1px solid #E9E3D8; color: #2F4A3A; }
.sx-lg-pri .sx-mark { color: #2F4A3A; }
.sx-lg-rev { background: #2F4A3A; } .sx-lg-rev .sx-mark { color: #F4F1EA; }
.sx-lg-clay { background: #B8673E; color: #F7EBDD; font-size: 22px; }
.sx-lg-clay i { color: #F7EBDD; }
.sx-sw { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin-top: 10px !important; }
.sx-sw li { padding: 30px 7px 6px; border-radius: 9px; background: var(--c); color: #fff; min-width: 0; }
.sx-sw li.lt { color: #4A453D; box-shadow: inset 0 0 0 1px #E2DCD0; }
.sx-sw b { display: block; font-size: 11px; font-weight: 650; }
.sx-sw span { display: block; font-size: 9.5px; opacity: .85; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.sx-type { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 10px; }
.sx-type > div { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; background: #EFEAE1; min-width: 0; }
.sx-aa { font-size: 30px; line-height: 1; color: #2F4A3A; }
.sx-type-a .sx-aa { font-family: "SX Cormorant", var(--serif); font-weight: 500; }
.sx-type-b .sx-aa { font-family: "SX Manrope", var(--sans); font-size: 25px; }
.sx-type p:last-child { min-width: 0; }
.sx-type b { display: block; font-size: 11px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-type span { display: block; font-size: 10px; color: #8C7E6B; }
.sx-mood { display: grid; grid-template-columns: 1fr 1fr 1.4fr; grid-template-rows: minmax(0, 1fr); gap: 7px; height: 58px; margin-top: 10px; }
.sx-mood img { border-radius: 9px; }
.sx-mood p { display: flex; align-items: center; padding: 0 4px; font-family: "SX Cormorant", var(--serif); font-style: italic; font-size: 15px; line-height: 1.15; color: #4A5A4F; }
@container (min-width: 600px) {
  .sx-brand { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .sx-cards { height: clamp(300px, 52cqw, 360px); }
}

/* ---------- 5. Store dashboard ---------- */
.sx-f-shop { background: linear-gradient(160deg, #F7F1E9, #EFE5D8); padding: clamp(12px, 2.4cqw, 26px); }
.sx-shop { display: grid; border-radius: 16px; overflow: hidden; background: #FBFAF8; box-shadow: 0 1px 2px rgba(60,30,15,.06), 0 20px 44px -20px rgba(60,30,15,.35); }
.sx-side { display: none; padding: 16px 12px; background: #2A211C; color: #D9CFC4; }
.sx-side-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 16px !important; font-family: var(--serif); font-size: 17px; color: #fff; white-space: nowrap; }
.sx-side-brand span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #1760D3; font-family: var(--sans); font-size: 10px; font-weight: 700; }
.sx-side li { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; border-radius: 8px; font-size: 12.5px; }
.sx-side li.on { background: rgba(255,255,255,.1); color: #fff; font-weight: 600; }
.sx-side em { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 99px; background: #1760D3; color: #fff; }
.sx-dash { padding: clamp(12px, 2.4cqw, 20px); min-width: 0; }
.sx-dash-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.sx-dash-h { margin-top: 2px !important; font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.sx-range { flex: none; padding: 5px 10px; border: 1px solid #E4DDD3; border-radius: 8px; background: #fff; font-size: 11.5px; font-weight: 600; color: #4D4640; }
.sx-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.sx-tiles > div { padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid #EEE8E0; min-width: 0; }
.sx-tiles span { display: block; font-size: 11px; color: var(--sx-mute); }
.sx-tiles b { display: block; margin-top: 2px; font-size: 19px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sx-tiles em { font-style: normal; font-size: 11px; font-weight: 650; color: var(--sx-mute); }
.sx-tiles em.up { color: var(--sx-green); }
.sx-tiles em.up::before { content: "\2191 "; }
.sx-dash-grid { display: grid; gap: 8px; margin-top: 8px; }
.sx-panel { padding: 12px; border-radius: 12px; background: #fff; border: 1px solid #EEE8E0; min-width: 0; }
.sx-chart svg { width: 100%; height: 96px; margin-top: 8px; }
.sx-chart-x { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--sx-mute); }
.sx-pay ul { display: grid; gap: 8px; margin-top: 10px !important; }
.sx-pay li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: #FAF8F5; }
.sx-pay li p { flex: 1; min-width: 0; }
.sx-pay li b { display: block; font-size: 12px; font-weight: 650; }
.sx-pay li small { display: block; font-size: 10.5px; color: var(--sx-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-pb { flex: none; width: 62px; padding: 6px 0; border-radius: 7px; text-align: center; font-size: 11.5px; font-weight: 700; letter-spacing: .01em; }
.sx-pb-stripe { background: #EEF0FB; color: #4B4FB8; }
.sx-pb-paypal { background: #EAF2FB; color: #1E4E8C; font-style: italic; }
.sx-dot { width: 8px; height: 8px; border-radius: 50%; background: #2FA866; box-shadow: 0 0 0 3px rgba(47,168,102,.18); flex: none; }
.sx-payout { margin-top: 10px !important; font-size: 11.5px; color: var(--sx-mute); }
.sx-payout b { color: var(--sx-ink); }
.sx-orders table { width: 100%; margin-top: 6px; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.sx-orders td { padding: 7px 4px; border-top: 1px solid #F1ECE5; white-space: nowrap; }
.sx-orders tr:first-child td { border-top: 0; }
.sx-orders td:first-child { color: var(--sx-mute); padding-left: 0; }
.sx-orders td:last-child { text-align: right; font-weight: 650; padding-right: 0; }
.sx-badge { display: inline-block; padding: 2px 7px; border-radius: 99px; font-size: 10.5px; font-weight: 650; }
.sx-badge.paid { background: #E3F2E8; color: var(--sx-green); }
.sx-badge.new { background: #FFF1D6; color: #8A5A00; }
.sx-badge.done { background: #EEF0F3; color: #4F5862; }
.sx-badge.refund { background: #FBE7E3; color: #A7402A; }
.sx-hide-s { display: none; }
.sx-stock ul { display: grid; gap: 8px; margin-top: 10px !important; }
.sx-stock li { display: flex; align-items: center; gap: 10px; }
.sx-stock img { flex: none; width: 38px !important; height: 38px !important; border-radius: 8px; }
.sx-stock li p { flex: 1; min-width: 0; }
.sx-stock b { display: block; font-size: 12px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-stock small { display: block; font-size: 10.5px; color: var(--sx-mute); }
.sx-left { flex: none; padding: 2px 8px; border-radius: 99px; background: #FFF1D6; color: #8A5A00; font-size: 10.5px; font-weight: 700; }
.sx-left.crit { background: #FBE7E3; color: #A7402A; }
@container (min-width: 520px) {
  .sx-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sx-hide-s { display: table-cell; }
  .sx-dash-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
}
@container (min-width: 860px) {
  .sx-shop { grid-template-columns: 190px minmax(0, 1fr); }
  .sx-side { display: block; }
}

/* ---------- Layout breakpoints ---------- */
@media (max-width: 1100px) {
  .sx-c-gbp, .sx-c-brand { grid-column: 1 / -1; }
  .sx-c-maps, .sx-c-rev { grid-column: span 6; }
}
@media (max-width: 760px) {
  .sx-grid { grid-template-columns: minmax(0, 1fr); max-width: 600px; margin-inline: auto; }
  .sx-c-gbp, .sx-c-maps, .sx-c-rev, .sx-c-brand, .sx-c-shop { grid-column: 1 / -1; }
}
@media (max-width: 400px) {
  .sx-frame { font-size: 12px; }
  .sx-gbp-name, .sx-pl-name { font-size: 19px; }
  .sx-tabs { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .sx-frame, .sx-bc { transition: none; }
  .sx-card:hover .sx-frame { transform: none; }
  .sx-card:hover .sx-bc-back { transform: rotateX(22deg) rotateY(-16deg) rotateZ(-9deg) translate3d(0, 0, -30px); }
  .sx-card:hover .sx-bc-front { transform: rotateX(18deg) rotateY(14deg) rotateZ(5deg) translate3d(0, 0, 30px); }
  .sx-me { animation: none; }
}
