/* Real-tool screens (CRM pipeline, ads manager, search console) with a Before / After switch.
   Layout copies the tools founders use; no brand names or logos. Rendered by /assets/tools.js. */
.tscr { margin: 0 0 22px; }
.tscr-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 12px; }
.tscr-t { font: 600 15px var(--display, system-ui); letter-spacing: -.01em; color: var(--ink, #11140e); margin-right: auto; }
.tscr-t small { display: block; font: 400 13.5px -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, sans-serif; color: var(--muted, #4c5246); letter-spacing: 0; margin-top: 2px; }
.tscr-hint { font: 600 13.5px var(--display, system-ui); color: #15803d; white-space: nowrap; transition: opacity .3s; }
.tscr-hint i { display: inline-block; font-style: normal; animation: tscrNudge 1.6s ease-in-out infinite; }
@keyframes tscrNudge { 50% { transform: translateX(4px); } }
.tscr.tried .tscr-hint { opacity: 0; visibility: hidden; }
.tscr-tog { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(17,20,14,.07); }
.tscr-tog button { border: 0; background: none; padding: 8px 15px; border-radius: 8px; font: 600 13.5px -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, sans-serif; color: var(--muted, #4c5246); cursor: pointer; transition: background .2s, color .2s; }
.tscr-tog button[aria-selected="true"] { background: #fff; color: var(--ink, #11140e); box-shadow: 0 1px 3px rgba(17,20,14,.15); }
.tscr:not(.tried) .tscr-tog button[data-m="a"] { color: #15803d; box-shadow: inset 0 0 0 1px rgba(21,128,61,.45); animation: tscrCall 2s ease-in-out infinite; }
@keyframes tscrCall { 50% { box-shadow: inset 0 0 0 1px rgba(21,128,61,.85), 0 0 0 5px rgba(21,128,61,0); } }
.tscr-screen { border-radius: 10px; overflow: hidden; overflow-x: auto; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 30px 70px -40px rgba(17,20,14,.45);
  font: 400 13px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif; color: #1f2a37; -webkit-overflow-scrolling: touch; }
.tscr-screen * { box-sizing: border-box; }
.tscr-note { margin: 8px 0 0 2px; font-size: 12.5px; color: var(--dim, #687062); }
.tscr-swipe { display: none; }
@media (max-width: 760px) { .tscr-swipe { display: block; margin: 0 0 8px; font-size: 12.5px; color: var(--dim, #687062); } }
@media (prefers-reduced-motion: reduce) { .tscr-hint i, .tscr:not(.tried) .tscr-tog button[data-m="a"] { animation: none; } }

/* ---------- CRM pipeline ---------- */
.tc { display: grid; grid-template-columns: 52px 1fr; min-width: 980px; font-size: 12.5px; }
.tc-rail { background: #1b2a4a; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 12px 0; }
.tc-rail i { width: 22px; height: 22px; border-radius: 6px; background: rgba(255,255,255,.14); display: block; }
.tc-rail i.on { background: #3b82f6; }
.tc-rail b { width: 28px; height: 28px; border-radius: 7px; background: #fff; margin-bottom: 6px; display: grid; place-items: center; font: 800 13px system-ui, sans-serif; color: #1b2a4a; }
.tc-main { background: #f3f5f9; min-width: 0; }
.tc-tabs { display: flex; align-items: center; gap: 2px; background: #fff; border-bottom: 1px solid #e3e7ef; padding: 0 12px; height: 44px; }
.tc-tabs span { padding: 0 12px; height: 44px; display: flex; align-items: center; color: #4b5563; border-bottom: 2px solid transparent; }
.tc-tabs span.on { color: #1d4ed8; border-color: #1d4ed8; font-weight: 600; }
.tc-tabs em { margin-left: auto; width: 220px; height: 28px; border: 1px solid #d6dbe5; border-radius: 4px; background: #f8fafc; color: #9aa3b2; display: flex; align-items: center; padding: 0 10px; font-style: normal; }
.tc-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border-bottom: 1px solid #e3e7ef; }
.tc-bar b { font-size: 14px; } .tc-bar span { border: 1px solid #d6dbe5; border-radius: 4px; padding: 4px 10px; color: #374151; background: #fff; }
.tc-bar span.t-sp { margin-left: auto; } .tc-bar span.t-btn { background: #1d4ed8; border-color: #1d4ed8; color: #fff; font-weight: 600; }
.tc-kb { display: grid; grid-template-columns: repeat(6, minmax(140px, 1fr)); gap: 10px; padding: 12px; align-items: start; min-height: 330px; }
.tc-col { background: #e9edf4; border-radius: 6px; padding: 8px; min-width: 0; align-self: stretch; }
.tc-col.tc-lost { background: #fdecec; }
.tc-ch { border-top: 3px solid var(--c, #64748b); background: #fff; border-radius: 4px; padding: 7px 9px; margin-bottom: 8px; }
.tc-ch b { display: block; font-size: 12.5px; } .tc-ch span { color: #6b7280; font-size: 11.5px; }
.tc-card { background: #fff; border-radius: 4px; padding: 8px 9px; margin-bottom: 7px; border: 1px solid #e3e7ef; animation: tcIn .35s ease both; }
@keyframes tcIn { from { opacity: 0; transform: translateY(4px); } }
.tc-card b { display: block; font-size: 12.5px; color: #1d4ed8; font-weight: 600; }
.tc-card .tc-m { color: #6b7280; font-size: 11.5px; }
.tc-card .tc-a { margin-top: 5px; font-size: 11px; font-weight: 600; }
.tc-card .tc-a.t-r { color: #dc2626; } .tc-card .tc-a.t-g { color: #15803d; }
.tc-card .tc-tag { display: inline-block; margin-top: 4px; padding: 1px 6px; border-radius: 3px; font-size: 10.5px; background: #fee2e2; color: #b91c1c; }
.tc-card .tc-tag.t-g { background: #dcfce7; color: #15803d; }
.tc-foot { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 9px 14px; background: #fff; border-top: 1px solid #e3e7ef; color: #4b5563; }
.tc-foot b { color: #111827; } .tc-foot b.t-r { color: #dc2626; } .tc-foot b.t-g { color: #15803d; }

/* ---------- Ads manager ---------- */
.ta { min-width: 1000px; font-size: 13px; color: #1c2b33; }
.ta-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid #dadde1; }
.ta-top b { font-size: 15px; margin-right: 10px; }
.ta-top span { padding: 6px 12px; border-radius: 6px; color: #465a69; } .ta-top span.on { background: #e7f0fd; color: #0a66c2; font-weight: 600; }
.ta-top span.t-sp { margin-left: auto; border: 1px solid #cbd2d9; padding: 5px 10px; }
.ta-act { display: flex; gap: 8px; padding: 10px 14px; }
.ta-act span { border: 1px solid #cbd2d9; border-radius: 6px; padding: 5px 12px; font-weight: 600; }
.ta-act span.ta-cr { background: #1877f2; border-color: #1877f2; color: #fff; } .ta-act span.t-sp { margin-left: auto; }
.ta table { width: 100%; border-collapse: collapse; }
.ta th { text-align: right; font-weight: 600; padding: 9px 12px; border-top: 1px solid #dadde1; border-bottom: 1px solid #dadde1; background: #f5f6f7; white-space: nowrap; font-size: 12.5px; }
.ta th:nth-child(-n+3), .ta td:nth-child(-n+3) { text-align: left; }
.ta td { padding: 10px 12px; border-bottom: 1px solid #ebedf0; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; animation: tcIn .35s ease both; }
.ta td small { display: block; color: #65676b; font-size: 11.5px; }
.ta .ta-sw { display: inline-block; width: 30px; height: 17px; border-radius: 999px; background: #1877f2; position: relative; vertical-align: middle; }
.ta .ta-sw::after { content: ""; position: absolute; top: 2px; right: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; }
.ta .ta-sw.off { background: #bcc0c4; } .ta .ta-sw.off::after { right: auto; left: 2px; }
.ta .ta-cn { color: #0a66c2; font-weight: 600; }
.ta .ta-dl { display: inline-flex; align-items: center; gap: 6px; } .ta .ta-dl::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #31a24c; } .ta .ta-dl.off::before { background: #bcc0c4; }
.ta .ta-cu { background: #fff8e6; } .ta th.ta-cu { color: #8a5a00; }
.ta .ta-lo { color: #d93025; font-weight: 700; } .ta .ta-hi { color: #188038; font-weight: 700; }
.ta tfoot td { font-weight: 700; background: #f5f6f7; border-bottom: 0; animation: none; }
.ta tfoot td.ta-cu { background: #fbefcf; }

/* ---------- Search console ---------- */
.tg { min-width: 980px; font-size: 13px; color: #202124; display: grid; grid-template-columns: 200px 1fr; }
.tg-nav { border-right: 1px solid #e0e0e0; padding: 12px 0; }
.tg-nav div { padding: 8px 20px; color: #3c4043; } .tg-nav div.on { background: #e8f0fe; color: #1967d2; font-weight: 600; border-radius: 0 18px 18px 0; margin-right: 10px; }
.tg-nav div.tg-sec { font-size: 11px; color: #5f6368; text-transform: uppercase; letter-spacing: .06em; padding-top: 14px; }
.tg-main { padding: 16px 20px; min-width: 0; }
.tg-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.tg-h b { font-size: 20px; font-weight: 400; } .tg-h span { border: 1px solid #dadce0; border-radius: 16px; padding: 3px 12px; color: #3c4043; font-size: 12.5px; }
.tg-met { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 8px 8px 0 0; overflow: hidden; }
.tg-met div { padding: 12px 14px; color: #fff; }
.tg-met span { display: block; font-size: 12px; opacity: .9; } .tg-met b { font-size: 26px; font-weight: 400; }
.tg-met .m1 { background: #4285f4; } .tg-met .m2 { background: #5e35b1; } .tg-met .m3 { background: #00897b; } .tg-met .m4 { background: #e8710a; }
.tg-chart { border: 1px solid #e0e0e0; border-top: 0; border-radius: 0 0 8px 8px; padding: 10px 6px 4px; }
.tg-chart svg { width: 100%; height: 170px; display: block; }
.tg-t { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.tg table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tg th { text-align: right; font-weight: 500; color: #5f6368; padding: 7px 8px; border-bottom: 1px solid #e0e0e0; } .tg th:first-child { text-align: left; }
.tg td { padding: 7px 8px; border-bottom: 1px solid #f1f3f4; text-align: right; font-variant-numeric: tabular-nums; } .tg td:first-child { text-align: left; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tg .tg-cap { font-size: 13px; font-weight: 600; margin: 0 0 6px; }
.tg .tg-ix { display: flex; justify-content: space-between; padding: 7px 8px; border-bottom: 1px solid #f1f3f4; }
.tg .tg-ix .t-r { color: #d93025; font-weight: 600; } .tg .tg-ix .t-g { color: #188038; font-weight: 600; }
#services .tscr { margin-top: clamp(32px, 4vw, 52px); } #creative .tscr { margin-bottom: 18px; }
