/* Blog: CRM user adoption (.pbua-) : habit tracker hero, ladder, fix lists, signals table, adoption fix ticket */
.pbua-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pbua-meta { margin: 18px 0 0; font: 500 14px/1.5 var(--f-body); color: #475569; }
.pbua-meta b { color: #082238; }
.pbua-meta span { margin: 0 6px; color: #0A6FA8; }

/* hero habit card */
.pbua-habit { position: relative; margin: 0; justify-self: center; width: min(100%, 470px); padding: 22px 22px 18px; border-radius: 24px; background: #fff; border: 1px solid #DDE5EC; box-shadow: 0 40px 80px -48px rgba(8,34,56,.55); transform: rotate(-1deg); }
.pbua-habit__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.pbua-habit__head b { font: 700 16px/1.3 var(--f-display); color: #082238; }
.pbua-habit__head span { font: 600 12px/1 var(--f-body); color: #64748B; text-transform: uppercase; letter-spacing: .06em; }
.pbua-habit__weeks, .pbua-habit__row { display: grid; grid-template-columns: 84px repeat(4, minmax(0, 1fr)); gap: 8px; align-items: center; }
.pbua-habit__weeks span { font: 700 11px/1 var(--f-body); color: #64748B; text-align: center; letter-spacing: .04em; }
.pbua-habit__rows { display: grid; gap: 7px; margin-top: 8px; }
.pbua-who { display: flex; align-items: center; gap: 7px; font: 600 13px/1 var(--f-body); color: #334155; min-width: 0; }
.pbua-who b { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #E0F2FE; color: #075985; font: 800 11px/1 var(--f-display); }
.pbua-wk { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; }
.pbua-wk i, .pbua-key i { display: block; aspect-ratio: 1; border-radius: 4px; background: #E8EEF3; }
.pbua-wk i { animation: pbuaFill .5s ease both; animation-delay: calc(.4s + var(--d) * .12s); }
.pbua-wk i.l0 { --c: #E8EEF3; }
.pbua-wk i.l1, .pbua-key i.l1 { --c: #9ADCEF; }
.pbua-wk i.l2, .pbua-key i.l2 { --c: #00A3D9; }
.pbua-wk i.l3, .pbua-key i.l3 { --c: #07605E; }
.pbua-key i { width: 12px; background: var(--c, #E8EEF3); }
@keyframes pbuaFill { from { background: #E8EEF3; transform: scale(.6); } to { background: var(--c); transform: none; } }
.pbua-habit__foot { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed #D5DEE6; }
.pbua-key { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--f-body); color: #475569; }
.pbua-habit__chip { position: absolute; margin: 0; padding: 7px 11px; border-radius: 10px; font: 600 12.5px/1.2 var(--f-body); color: #fff; box-shadow: 0 14px 24px -14px rgba(0,0,0,.5); opacity: 0; animation: pbuaChip .6s ease both; }
.pbua-habit__chip--a { left: -18px; top: 38%; background: #0A6FA8; animation-delay: 1.8s; transform: rotate(1deg); }
.pbua-habit__chip--b { right: -14px; bottom: 56px; background: #FFB81C; color: #082238; animation-delay: 3s; }
@keyframes pbuaChip { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
.pbua-habit__cap { margin-top: 12px; font: 500 12.5px/1.4 var(--f-body); color: #64748B; }
@media (prefers-reduced-motion: reduce) {
  .pbua-wk i { animation: none; background: var(--c); }
  .pbua-habit__chip { animation: none; opacity: 1; }
}

/* article */
.pbua-art { padding-top: clamp(24px, 4vw, 48px); }
.pbua-strip { position: sticky; top: 84px; z-index: 5; display: flex; gap: 6px; margin: 0 auto 40px; padding: 8px; max-width: 1080px; border-radius: 18px; background: rgba(255,255,255,.94); 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; }
.pbua-strip::-webkit-scrollbar { display: none; }
.pbua-strip a { flex: 1 0 auto; display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 10px; border-radius: 12px; font: 500 14px/1.2 var(--f-body); color: #334155; text-decoration: none; white-space: nowrap; transition: background .25s, color .25s; }
.pbua-strip a b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #E2E8F0; font: 800 12px/1 var(--f-display); color: #475569; transition: background .25s, color .25s; }
.pbua-strip a:hover, .pbua-strip a.is-on { background: #E6F6FB; color: #082238; }
.pbua-strip a.is-on b, .pbua-strip a.is-seen b { background: #07605E; color: #fff; }
.pbua-body { max-width: 780px; margin: 0 auto; font-size: 17.5px; line-height: 1.72; color: #334155; }
.pbua-body > p { margin: 0 0 18px; }
.pbua-body a, .pbua-narrow a, .pbua-note a { color: #0A6FA8; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pbua-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; }
.pbua-body > .pbua-h2:first-child { margin-top: 0; }
.pbua-h3 { margin: 32px 0 10px; font: 700 21px/1.3 var(--f-display); letter-spacing: -.01em; color: #082238; }
.pbua-answer { margin: 14px 0 20px; padding: 14px 18px; border-radius: 14px; background: #EEF8F7; font-size: 18px; line-height: 1.6; font-weight: 500; color: #082238; }
.pbua-ladder { list-style: none; margin: 6px 0 22px; padding: 0; display: grid; gap: 10px; }
.pbua-ladder li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; background: #F3F7F9; font-size: 16px; line-height: 1.55; }
.pbua-ladder li > span { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 2px solid #9ADCEF; font: 800 13px/1 var(--f-display); color: #075985; }
.pbua-ladder li:nth-child(2) > span { border-color: #00A3D9; }
.pbua-ladder li:nth-child(3) > span { border-color: #00B2A9; }
.pbua-ladder li:nth-child(4) > span { background: #07605E; border-color: #07605E; color: #fff; }
.pbua-ladder b { color: #082238; }
.pbua-flip { max-width: 1040px; margin: 8px auto 0; }

/* fixes */
.pbua-narrow { max-width: 860px; }
.pbua-narrow > p { font-size: 17px; line-height: 1.7; color: #334155; }
.pbua-group { display: flex; align-items: center; gap: 12px; margin: 36px 0 14px; font: 700 21px/1.3 var(--f-display); color: #082238; }
.pbua-group span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #082238; color: #FFB81C; font: 800 15px/1 var(--f-display); }
.pbua-fixlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pbua-fixlist li { padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 18px 36px -32px rgba(8,34,56,.5); font-size: 16.5px; line-height: 1.65; color: #334155; }
.pbua-fixlist b { display: block; margin-bottom: 6px; font: 700 18px/1.35 var(--f-display); color: #082238; }
.pbua-note { margin: 26px 0 0; max-width: 860px; padding: 16px 20px; border-radius: 16px; background: #FFF7E6; border: 1px solid #FBE3AE; font-size: 16.5px; line-height: 1.65; color: #4A3A12; }
.pbua-plan .pbua-note { margin-left: auto; margin-right: auto; }

/* fix finder (dark band) */
.pbua-find__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: 28px; align-items: start; }
.pbua-find__ask { display: grid; gap: 14px; }
.pbua-q { margin: 0; padding: 14px 16px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(255,255,255,.06); min-width: 0; }
.pbua-q legend { display: flex; align-items: center; gap: 8px; padding: 0 6px; font: 700 15px/1.3 var(--f-display); color: #fff; }
.pbua-q legend span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #FFB81C; color: #082238; font: 800 12px/1 var(--f-display); }
.pbua-q label { position: relative; display: inline-flex; margin: 8px 6px 0 0; cursor: pointer; }
.pbua-q input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pbua-q label span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: transparent; font: 500 14px/1.25 var(--f-body); color: #DCEAF3; transition: background .2s, border-color .2s, color .2s; }
.pbua-q input:checked + span { background: #fff; border-color: #fff; color: #082238; }
.pbua-q--chips input:checked + span::before { content: ""; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #FFB81C; }
.pbua-q input:focus-visible + span { outline: 3px solid #FFB81C; outline-offset: 2px; }

.pbua-ticket { position: relative; padding: 22px 22px 24px; border-radius: 22px; background: #FFFDF7; color: #334155; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.pbua-ticket::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 16px; background: radial-gradient(circle at 10px 0, transparent 8px, #FFFDF7 8.5px) 0 0 / 20px 16px repeat-x; }
.pbua-ticket__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding-bottom: 12px; border-bottom: 2px dashed #E6DCC3; }
.pbua-ticket__top span { font: 800 13px/1.2 var(--f-display); letter-spacing: .08em; text-transform: uppercase; color: #082238; }
.pbua-ticket__top em { font: 600 13px/1.3 var(--f-body); font-style: normal; color: #07605E; }
.pbua-ladmini { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 14px 0 0; padding: 0; }
.pbua-ladmini li { padding: 8px 4px; border-radius: 8px; background: #F1EDE2; text-align: center; font: 600 12px/1.2 var(--f-body); color: #6B6250; transition: background .3s, color .3s; }
.pbua-ladmini li.is-on { background: #082238; color: #fff; }
.pbua-ticket__week { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #E8F7F1; font-size: 15px; line-height: 1.5; color: #14532D; }
.pbua-ticket__week:empty { display: none; }
.pbua-ticket__rows { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; counter-reset: t; }
.pbua-ticket__rows li { counter-increment: t; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid #ECE4D0; background: #fff; animation: pbuaRow .35s ease both; }
.pbua-ticket__rows li::before { content: counter(t); grid-row: span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #0A6FA8; color: #fff; font: 800 12px/1 var(--f-display); }
.pbua-ticket__rows b { font: 700 15px/1.35 var(--f-display); color: #082238; }
.pbua-ticket__rows small { font-size: 13.5px; line-height: 1.45; color: #475569; }
.pbua-ticket__rows small i { font-style: normal; display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 999px; background: #E0F2FE; color: #075985; font-weight: 600; font-size: 12px; }
.pbua-ticket__rows li.is-empty { display: block; color: #64748B; font-size: 14.5px; }
.pbua-ticket__rows li.is-empty::before { display: none; }
@keyframes pbuaRow { from { opacity: 0; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }
.pbua-ticket__say { margin: 14px 0 16px; font-size: 15px; line-height: 1.55; color: #334155; }
.pbua-ticket__say b { color: #082238; }

/* signals table */
.pbua-sig { margin: 24px 0 8px; border: 1px solid #E2E8F0; border-radius: 18px; overflow: hidden; background: #fff; }
.pbua-sig__row { display: grid; grid-template-columns: 1fr 1.4fr 1.3fr; gap: 14px; padding: 14px 18px; border-top: 1px solid #EEF2F6; font-size: 15px; line-height: 1.5; color: #334155; }
.pbua-sig__row--head { border-top: 0; background: #082238; font: 700 13px/1.3 var(--f-body); color: #fff; letter-spacing: .04em; text-transform: uppercase; }
.pbua-sig__row b { font-family: var(--f-display); color: #082238; }
.pbua-sig__row span:last-child:not([role="columnheader"]) { color: #9A3412; }

/* rules vs rewards */
.pbua-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.pbua-pair__col { padding: 20px 22px; border-radius: 20px; background: #ECFDF5; border: 1px solid #BBF7D0; }
.pbua-pair__col--no { background: #FFF1EC; border-color: #FBD0C0; }
.pbua-pair__col h3 { margin: 0 0 10px; font: 700 19px/1.3 var(--f-display); color: #082238; }
.pbua-pair__col ul { margin: 0; padding: 0 0 0 18px; display: grid; gap: 8px; font-size: 15.5px; line-height: 1.55; color: #334155; }

/* Zoho map */
.pbua-map { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pbua-map li { display: grid; gap: 6px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid #E2E8F0; border-left: 4px solid #00B2A9; }
.pbua-map b { font: 700 16px/1.3 var(--f-display); color: #082238; }
.pbua-map span { font-size: 15px; line-height: 1.55; color: #334155; }

@media (max-width: 960px) {
  .pbua-hero__grid, .pbua-find__grid { grid-template-columns: 1fr; }
  .pbua-habit { transform: none; }
}
@media (max-width: 640px) {
  .pbua-strip { top: 70px; }
  .pbua-habit { padding: 18px 14px 14px; }
  .pbua-habit__weeks, .pbua-habit__row { grid-template-columns: 30px repeat(4, minmax(0, 1fr)); gap: 5px; }
  .pbua-who { font-size: 0; }
  .pbua-wk { gap: 2px; }
  .pbua-habit__chip--a { left: 8px; top: auto; bottom: -14px; }
  .pbua-habit__chip--b { right: 8px; bottom: auto; top: -14px; }
  .pbua-sig__row { grid-template-columns: 1fr; gap: 4px; }
  .pbua-sig__row--head { display: none; }
  .pbua-pair, .pbua-map { grid-template-columns: 1fr; }
  .pbua-ladmini li { font-size: 11px; }
}
