/* Beside the small and medium business hero: "The owner's morning", a phone stack of work the agents prepared,
   approved one by one, with the time given back adding up (small-business-hero.js; Sam, October 25).
   Twenty jobs; the "smart" ones carry a small chart of the evidence; the Approve button glows. */
.hero.has-art-sh > .container { max-width: var(--container) !important; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: clamp(40px, 4vw, 72px); align-items: center; }
.hero.has-art-sh > .container > * { grid-column: 1; }
.hero.has-art-sh > .container > .sh-stage { grid-column: 2; grid-row: 1 / span 5; }
.hero.has-art-sh h1 { font-size: clamp(36px, 3.9vw, 58px); }
@media (max-width: 900px) { .hero.has-art-sh > .container { display: block; max-width: 900px !important; } .sh-stage { display: none; } }

.sh-stage { display: grid; grid-template-columns: clamp(330px, 25.5vw, 372px) minmax(0, 1fr); column-gap: clamp(18px, 1.8vw, 28px); align-items: center; font-variant-numeric: tabular-nums; }

/* The phone */
.sh-phone { padding: 9px; border-radius: 44px; background: linear-gradient(160deg, #2c2b28, #1a1918 60%); border: 1px solid var(--line-strong); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.04); }
.sh-screen { position: relative; display: flex; flex-direction: column; height: clamp(540px, calc(100vh - 240px), 600px); padding: 10px 14px 14px; border-radius: 36px; background: var(--ground); overflow: hidden; }
.sh-status { position: relative; display: flex; justify-content: space-between; align-items: center; height: 26px; padding: 0 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.sh-notch { position: absolute; left: 50%; top: 3px; width: 82px; height: 22px; margin-left: -41px; border-radius: 999px; background: #050505; }
.sh-bat { position: relative; width: 24px; height: 12px; border: 1.5px solid var(--muted); border-radius: 4px; }
.sh-bat i { position: absolute; inset: 1.5px 5px 1.5px 1.5px; border-radius: 1.5px; background: var(--muted); }
.sh-head { display: flex; align-items: center; gap: 10px; margin: 10px 2px 2px; }
.sh-head img { width: 30px; height: auto; }
.sh-head b { display: block; font-size: 18px; line-height: 1.2; color: var(--ink); }
.sh-head span { display: block; font-size: 13.5px; color: var(--faint); }
.sh-count { margin: 6px 2px 0; font-size: 14px; color: var(--muted); min-height: 1.4em; }

/* The stack of prepared work */
.sh-stack { position: relative; flex: 1; margin-top: 4px; }
.sh-card { position: absolute; top: 26px; left: 0; right: 0; bottom: 6px; display: flex; flex-direction: column; padding: 15px 15px 14px; border-radius: 20px; border: 1px solid var(--line-strong); background: var(--raised);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4); transform-origin: 50% 0; transition: transform 0.55s var(--ease), opacity 0.45s ease, border-color 0.3s ease; }
.sh-card[data-pos="0"] { z-index: 3; }
.sh-card[data-pos="1"] { z-index: 2; transform: translateY(-12px) scale(0.95); opacity: 0.65; pointer-events: none; }
.sh-card[data-pos="2"] { z-index: 1; transform: translateY(-24px) scale(0.9); opacity: 0.32; pointer-events: none; }
.sh-card[data-pos="back"], .sh-card[data-pos="gone"] { z-index: 0; transform: translateY(-24px) scale(0.9); opacity: 0; pointer-events: none; }
.sh-card[data-pos="gone"] { transition: none; }
.sh-card > * { transition: opacity 0.35s ease 0.25s; }
.sh-card:not([data-pos="0"]):not(.out) > * { opacity: 0; transition: none; }
.sh-card.press { border-color: var(--turquoise); }
.sh-card.out { z-index: 4; transform: translate(118%, -16px) rotate(10deg); opacity: 0; transition: transform 0.6s cubic-bezier(0.5, 0, 0.75, 0), opacity 0.25s ease 0.35s; pointer-events: none; }
.sh-card.later { transform: translateY(40px) scale(0.96); opacity: 0; transition: transform 0.35s ease, opacity 0.35s ease; }
.sh-from { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 13.5px; }
.sh-from b { min-width: 0; color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-from em { font-style: normal; color: var(--faint); margin-left: auto; white-space: nowrap; }
.sh-logo { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line-strong); }
.sh-logo svg { width: 15px; height: 15px; fill: currentColor; color: var(--ink); }
.sh-logo img { width: 15px; height: 15px; border-radius: 3px; }
.sh-logo b { font-size: 13px; color: var(--ink); }
.sh-logo svg.lucide { fill: none; stroke: currentColor; color: #f2c14e; }
.sh-card h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.sh-detail { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.sh-note { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 13px; font-weight: 600; color: var(--turquoise); }
.sh-note svg { width: 14px; height: 14px; flex: none; }
.sh-btns { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; margin-top: auto; padding-top: 12px; }
.sh-btns button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border-radius: 12px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: transform 0.15s ease, background 0.2s ease; }
.sh-btns button svg { width: 16px; height: 16px; }
.sh-ok { border: 0; background: var(--turquoise); color: #10161a; }
.sh-ok:hover { background: #9cc6de; }
.sh-later { border: 1px solid var(--line-strong); background: none; color: var(--muted); }
.sh-later:hover { color: var(--ink); border-color: var(--muted); }
.sh-btns button:focus-visible, .sh-again:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sh-card.press .sh-ok { transform: scale(0.95); background: #b4d6e8; }
.sh-stamp { position: absolute; top: 40%; left: 50%; padding: 6px 14px; border: 2px solid var(--turquoise); border-radius: 10px; font-size: 18px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--turquoise); background: var(--raised); box-shadow: 0 0 0 6px var(--raised);
  transform: translate(-50%, -50%) rotate(-9deg) scale(1.6); opacity: 0; transition: transform 0.25s cubic-bezier(0.2, 1.4, 0.4, 1), opacity 0.15s ease; pointer-events: none; }
.sh-card.press .sh-stamp { opacity: 1; transform: translate(-50%, -50%) rotate(-9deg) scale(1); }

.sh-clear { position: absolute; inset: 26px 0 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; opacity: 0; visibility: hidden; transition: opacity 0.5s ease 0.3s; }
.sh-clear.on { opacity: 1; visibility: visible; }
.sh-clear > svg { width: 44px; height: 44px; color: var(--turquoise); margin-bottom: 4px; }
.sh-clear b { font-size: 19px; color: var(--ink); }
.sh-clear span { font-size: 14px; color: var(--muted); }
.sh-again { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: none; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; }
.sh-again:hover { color: var(--ink); border-color: var(--muted); }
.sh-again svg { width: 14px; height: 14px; }
.sh-safe { margin: 10px 0 0; text-align: center; font-size: 13px; line-height: 1.4; color: var(--faint); }
.sh-safe svg { display: inline-block; width: 14px; height: 14px; margin-right: 5px; vertical-align: -2px; color: var(--turquoise); }

/* Beside the phone: the time given back */
.sh-side { min-width: 0; }
.sh-k { margin: 0 0 4px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--turquoise); }
.sh-k2 { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.sh-time { margin: 0; font-size: clamp(18px, 1.5vw, 24px); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.sh-week { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.sh-k2 .sh-n { white-space: nowrap; margin-left: 4px; color: var(--faint); letter-spacing: 0.04em; }
.sh-done { list-style: none; margin: 0; padding: 0; min-height: 225px; }
.sh-done li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; column-gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); animation: sh-in 0.5s var(--ease) both; }
.sh-done li b { font-size: 13.5px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.sh-done li em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--turquoise); white-space: nowrap; }
.sh-done li.still { animation: none; }
.sh-more { margin: 8px 0 0; min-height: 1.4em; font-size: 14px; color: var(--faint); }
.sh-done:empty::before { content: "Approved work lands here."; display: block; padding: 8px 0; font-size: 14px; color: var(--faint); }
@keyframes sh-in { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }

/* The Approve button glows so people know to press it */
.sh-card[data-pos="0"] .sh-ok { box-shadow: 0 0 0 3px rgba(132, 181, 210, 0.28), 0 0 18px rgba(132, 181, 210, 0.45); animation: sh-glow 1.9s ease-in-out infinite; }
.sh-card.press .sh-ok, .sh-off .sh-ok { animation-play-state: paused; }
@keyframes sh-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(132, 181, 210, 0.55), 0 0 10px rgba(132, 181, 210, 0.35); }
  60% { box-shadow: 0 0 0 7px rgba(132, 181, 210, 0), 0 0 22px rgba(132, 181, 210, 0.55); }
}

/* Smart jobs: the services combined, and a small chart of the evidence */
.sh-smart { padding: 12px 13px 12px; }
.sh-smart .sh-btns { padding-top: 10px; }
.sh-uses { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 13px; line-height: 1.25; color: var(--muted); }
.sh-chips { display: flex; flex: none; }
.sh-chips .sh-logo { width: 24px; height: 24px; border-radius: 7px; background: var(--ground); }
.sh-chips .sh-logo + .sh-logo { margin-left: -5px; }
.sh-chips .sh-logo svg, .sh-chips .sh-logo img { width: 13px; height: 13px; }
.sh-smart h3 { font-size: 16px; line-height: 1.25; margin-bottom: 7px; }
.sh-viz { padding: 6px 9px 8px; border-radius: 12px; background: var(--ground); border: 1px solid var(--line); }
.sh-cap { margin: 0 0 5px; font-size: 12px; line-height: 1.3; color: var(--faint); }
.sh-bar { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; align-items: center; column-gap: 8px; font-size: 13.5px; line-height: 1.25; }
.sh-bar + .sh-bar { margin-top: 5px; }
.sh-bar span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-bar i { display: block; height: 9px; border-radius: 5px; background: rgba(241, 238, 231, 0.07); }
.sh-bar s { display: block; height: 100%; border-radius: 5px; background: rgba(241, 238, 231, 0.32); }
.sh-bar b { font-weight: 600; color: var(--ink); white-space: nowrap; }
.sh-bar.good s { background: var(--turquoise); }
.sh-bar.hot s { background: #e39a6c; }
.sh-bar.hot b { color: #f0b48e; }
.sh-cols { display: flex; align-items: flex-end; gap: 6px; }
.sh-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.sh-colbars { display: flex; align-items: flex-end; justify-content: center; gap: 2px; width: 100%; height: 35px; padding-top: 15px; box-sizing: content-box; }
.sh-colbars i { position: relative; flex: 1; max-width: 18px; min-height: 3px; border-radius: 3px 3px 1px 1px; background: rgba(132, 181, 210, 0.55); }
.sh-colbars i.alt { background: rgba(241, 238, 231, 0.3); }
.sh-colbars em { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); padding-bottom: 1px; font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); }
.sh-col span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.sh-col.hot .sh-colbars i:not(.alt) { background: #e39a6c; }
.sh-col.hot .sh-colbars i:not(.alt) em { color: #f0b48e; }
.sh-legend { margin: 4px 0 0; font-size: 12px; line-height: 1.3; color: var(--muted); }
.sh-legend .k { display: inline-block; width: 8px; height: 8px; margin: 0 4px 0 0; border-radius: 2px; background: rgba(132, 181, 210, 0.75); }
.sh-legend .k.alt { margin-left: 6px; background: rgba(241, 238, 231, 0.4); }
.sh-legend .k.off { margin-left: 6px; background: none; border: 1.5px solid var(--faint); border-radius: 50%; }
.sh-dots { display: flex; gap: 4px; }
.sh-dots i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--faint); box-sizing: border-box; }
.sh-dots i.on { border-color: var(--turquoise); background: var(--turquoise); }
.sh-dots + .sh-legend .k { border-radius: 50%; background: var(--turquoise); }
.sh-table { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.3; }
.sh-table th { padding: 0 0 3px; text-align: left; font-weight: 500; color: var(--faint); }
.sh-table td { padding: 3px 0 0; color: var(--ink); }
.sh-table td.hot { color: #f0b48e; font-weight: 600; }
.sh-why { margin: 7px 0 0; font-size: 14px; line-height: 1.4; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { .sh-stage *, .sh-stage *::before { animation: none !important; transition: none !important; } }

/* Bigger phone, so the evidence inside smart jobs reads larger (Sam, October 25). */
.sh-smart .sh-colbars { height: 48px; }
.sh-smart .sh-colbars i { max-width: 24px; }
