/* Blog article 2: 5 signs you have outgrown spreadsheets (.pxb2-) */
.pxb2-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pxb2-meta { margin: 18px 0 0; font: 500 14px/1.5 var(--f-body); color: #64748B; }
.pxb2-meta b { color: #082238; }
.pxb2-meta span { margin: 0 6px; color: #00A3D9; }

/* spreadsheet window */
.pxb2-sheet { position: relative; margin: 0; justify-self: center; width: min(100%, 470px); padding: 22px 0; }
.pxb2-sheet__win { border-radius: 16px; background: #fff; border: 1px solid #D5DEE6; box-shadow: 0 40px 70px -40px rgba(8,34,56,.55); overflow: hidden; transform: rotate(1.5deg); }
.pxb2-sheet__bar { display: flex; align-items: center; gap: 6px; margin: 0; padding: 10px 14px; background: #F3F7F9; border-bottom: 1px solid #E2E8F0; }
.pxb2-sheet__bar > i { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; }
.pxb2-sheet__bar > i:first-child { background: #F87171; } .pxb2-sheet__bar > i:nth-child(2) { background: #FBBF24; } .pxb2-sheet__bar > i:nth-child(3) { background: #34D399; }
.pxb2-sheet__file { margin-left: 10px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 13px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; color: #082238; transition: color .3s; }
.pxb2-sheet__file.is-new { color: #C2410C; }
.pxb2-sheet__bar em { margin-left: auto; padding: 3px 8px; border-radius: 999px; background: #fff; font: 600 11px/1.2 var(--f-body); font-style: normal; color: #64748B; text-transform: uppercase; letter-spacing: .06em; }
.pxb2-sheet__grid { display: grid; grid-template-columns: 30px .7fr 1.4fr 1fr 1fr; font: 500 13px/1.2 var(--f-body); color: #334155; }
.pxb2-sheet__grid span { padding: 9px 8px; border-right: 1px solid #EEF2F6; border-bottom: 1px solid #EEF2F6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pxb2-sheet__grid .h { background: #F8FAFC; color: #94A3B8; font-weight: 600; text-align: center; }
.pxb2-sheet__grid .ok { color: #15803D; font-weight: 600; }
.pxb2-err { color: #B91C1C; font-weight: 700; animation: pxb2Err 4.8s infinite; }
@keyframes pxb2Err { 0%, 40% { background: transparent; } 46%, 80% { background: #FEE2E2; box-shadow: inset 0 0 0 2px #EF4444; } 90%, 100% { background: transparent; } }
.pxb2-who { animation: pxb2Who 4.8s infinite; }
@keyframes pxb2Who { 0%, 18% { box-shadow: none; } 24%, 70% { box-shadow: inset 0 0 0 2px #8B5CF6, inset 0 0 0 4px #00A3D9; } 80%, 100% { box-shadow: none; } }
.pxb2-dup { animation: pxb2Dup 4.8s infinite; }
@keyframes pxb2Dup { 0%, 56% { background: transparent; } 62%, 92% { background: #FEF3C7; } 100% { background: transparent; } }
.pxb2-sheet__tabs { display: flex; gap: 2px; margin: 0; padding: 0 10px; background: #F3F7F9; overflow: hidden; }
.pxb2-sheet__tabs span { flex: none; padding: 8px 12px; font: 500 12px/1 var(--f-body); color: #64748B; border-top: 2px solid transparent; }
.pxb2-sheet__tabs .is-on { background: #fff; color: #0A6FA8; border-top-color: #00A3D9; }
.pxb2-bub { position: absolute; margin: 0; padding: 8px 12px; border-radius: 12px; font: 500 13px/1.2 var(--f-body); color: #fff; box-shadow: 0 14px 24px -14px rgba(0,0,0,.5); animation: pxb2Bub 4.8s infinite; }
.pxb2-bub b { font-weight: 700; }
.pxb2-bub--a { top: 2px; right: -6px; background: #7C3AED; }
.pxb2-bub--b { bottom: 4px; left: -8px; background: #0A6FA8; animation-delay: .3s; }
@keyframes pxb2Bub { 0%, 18% { opacity: 0; transform: translateY(8px); } 24%, 70% { opacity: 1; transform: none; } 78%, 100% { opacity: 0; transform: translateY(-6px); } }

/* article */
.pxb2-art { padding-top: clamp(24px, 4vw, 48px); }
.pxb2-strip { position: sticky; top: 84px; z-index: 5; display: flex; gap: 8px; margin: 0 auto 40px; padding: 8px; max-width: 980px; border-radius: 18px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid #E2E8F0; box-shadow: 0 16px 32px -28px rgba(8,34,56,.5); overflow-x: auto; scrollbar-width: none; }
.pxb2-strip::-webkit-scrollbar { display: none; }
.pxb2-strip a { flex: 1 0 auto; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; font: 500 14px/1.2 var(--f-body); color: #334155; text-decoration: none; white-space: nowrap; transition: background .25s, color .25s; }
.pxb2-strip a b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: #E2E8F0; font: 800 12px/1 var(--f-display); color: #475569; transition: background .25s, color .25s; }
.pxb2-strip a:hover, .pxb2-strip a.is-on { background: #FFF7E6; color: #082238; }
.pxb2-strip a.is-on b, .pxb2-strip a.is-seen b { background: #FFB81C; color: #082238; }
.pxb2-body { max-width: 760px; margin: 0 auto; font-size: 17.5px; line-height: 1.72; color: #334155; }
.pxb2-body > p, .pxb2-sign > p { margin: 0 0 18px; }
.pxb2-body a { color: #0A6FA8; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pxb2-h2 { margin: 56px 0 0; font: 700 clamp(25px, 1rem + 1.2vw, 33px)/1.2 var(--f-display); letter-spacing: -.02em; color: #082238; scroll-margin-top: 170px; text-wrap: balance; }
.pxb2-body > .pxb2-h2:first-child { margin-top: 0; }
.pxb2-answer { margin: 14px 0 20px; padding: 0 0 0 18px; border-left: 3px solid #FFB81C; font-size: 18.5px; line-height: 1.6; font-weight: 500; color: #082238; }
.pxb2-sign { position: relative; margin: 56px 0 0; padding: 30px clamp(20px, 3vw, 36px) 12px; border-radius: 22px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 24px 48px -40px rgba(8,34,56,.45); scroll-margin-top: 170px; }
.pxb2-sign__n { position: absolute; top: -26px; right: 22px; margin: 0; font: 800 64px/1 var(--f-display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px #00A3D9; }
.pxb2-sign .pxb2-h2 { margin-top: 0; padding-right: 70px; }
.pxb2-cost { padding: 10px 14px; border-radius: 12px; background: #F3F7F9; font-size: 15.5px; }
.pxb2-cost b { color: #B45309; }
.pxb2-swap { display: grid; gap: 10px; margin: 0 0 22px; }
.pxb2-swap p { display: grid; grid-template-columns: minmax(0, 210px) 34px minmax(0, 1fr); align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 14px; background: #F3F7F9; font-size: 15.5px; line-height: 1.5; }
.pxb2-swap span { padding: 6px 10px; border-radius: 8px; background: #fff; border: 1px solid #D5DEE6; font: 600 13px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; color: #475569; text-decoration: line-through; text-decoration-color: rgba(185,28,28,.6); overflow-wrap: anywhere; }
.pxb2-swap i { position: relative; height: 2px; background: linear-gradient(90deg, #CBD5E1, #00B2A9); }
.pxb2-swap i::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid #00B2A9; border-right: 0; }
.pxb2-steps { margin: 0 0 22px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 0; }
.pxb2-steps li { position: relative; padding: 0 0 18px 50px; }
.pxb2-steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #082238; font: 800 14px/1 var(--f-display); color: #FFB81C; }
.pxb2-steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: #E2E8F0; }
.pxb2-steps b { color: #082238; }
.pxb2-pull { margin: 42px 0 0; padding: 26px 28px; border-radius: 20px; background: linear-gradient(135deg, #061A2E, #0A3A63 55%, #07605E); color: #D6E4EE; }
.pxb2-pull p { margin: 0; font-size: 18px; line-height: 1.6; }
.pxb2-pull b { color: #FFB81C; }

/* strain test */
.pxb2-test__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pxb2-test__qs { display: grid; gap: 12px; margin-top: 24px; }
.pxb2-q { margin: 0; padding: 14px 16px; border-radius: 16px; border: 1px solid #E2E8F0; background: #fff; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.pxb2-q legend { float: left; flex: 1 1 220px; padding: 0; font: 600 15.5px/1.4 var(--f-body); color: #082238; }
.pxb2-q label { position: relative; cursor: pointer; }
.pxb2-q input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pxb2-q label span { display: inline-block; padding: 8px 12px; border-radius: 10px; border: 1.5px solid #CBD5E1; font: 500 14px/1 var(--f-body); color: #475569; transition: background .2s, color .2s, border-color .2s; }
.pxb2-q input:checked + span { background: #082238; border-color: #082238; color: #fff; }
.pxb2-q input:focus-visible + span { outline: 3px solid #FFB81C; outline-offset: 2px; }
.pxb2-res { position: sticky; top: 100px; padding: 22px; border-radius: 22px; background: linear-gradient(160deg, #061A2E, #0A3A63 60%, #07605E); color: #D6E4EE; box-shadow: 0 30px 60px -40px rgba(8,34,56,.8); }
.pxb2-res__sheet { display: grid; grid-template-columns: 50px repeat(4, minmax(0, 1fr)); gap: 3px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.06); }
.pxb2-res__sheet .h { font: 600 11px/22px var(--f-body); text-align: center; color: rgba(214,228,238,.7); }
.pxb2-res__sheet i { height: 26px; border-radius: 5px; background: rgba(255,255,255,.12); transition: background .4s, transform .4s; }
.pxb2-res__sheet i.l1 { background: #FBBF24; }
.pxb2-res__sheet i.l2 { background: #EF4444; transform: scale(.94) rotate(-2deg); }
.pxb2-res__score { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 0; }
.pxb2-res__score b { font: 800 48px/1 var(--f-display); color: #fff; }
.pxb2-res__score span { font: 500 15px/1 var(--f-body); color: rgba(214,228,238,.8); }
.pxb2-res__say { min-height: 4.8em; margin: 10px 0 18px; font-size: 16px; line-height: 1.55; }
.pxb2-res__say b { color: #FFB81C; }
.pxb2-res__say a { color: #fff; font-weight: 600; }

@media (max-width: 900px) {
  .pxb2-hero__grid, .pxb2-test__grid { grid-template-columns: minmax(0, 1fr); }
  .pxb2-res { position: static; }
}
@media (max-width: 760px) {
  .pxb2-strip { top: 70px; }
  .pxb2-strip a { flex: 0 0 auto; }
}
@media (max-width: 560px) {
  .pxb2-sheet__grid { grid-template-columns: 24px .7fr 1.3fr 1fr 1fr; font-size: 11.5px; }
  .pxb2-sheet__grid span { padding: 8px 5px; }
  .pxb2-bub--a { right: 0; } .pxb2-bub--b { left: 0; }
  .pxb2-sign__n { font-size: 48px; top: -20px; }
  .pxb2-sign .pxb2-h2 { padding-right: 40px; }
  .pxb2-swap p { grid-template-columns: minmax(0, 1fr); }
  .pxb2-swap i { width: 2px; height: 18px; margin-left: 14px; background: linear-gradient(180deg, #CBD5E1, #00B2A9); }
  .pxb2-swap i::after { right: -4px; top: auto; bottom: -6px; border: 5px solid transparent; border-top: 7px solid #00B2A9; border-bottom: 0; }
}
