/* /zoho-creator/spreadsheet-to-app/ (prefix pzs-): hero = workbook whose sheet tabs lift into an app menu,
   signature interactive = header-row x-ray (column names -> Creator field types, linked forms, reports, workflows).
   Mid kit: N versus stepper + F road + D deck. */
.pzs-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.pzs-hero__copy .pg-lead { max-width: 60ch; }

/* ---------- hero workbook ---------- */
.pzs-wb { position: relative; margin: 0; padding: clamp(14px, 2vw, 20px); border-radius: 26px; background: linear-gradient(160deg, #F3F7F9, #E8F1F6); border: 1px solid #D7E3EB; box-shadow: 0 40px 70px -50px rgba(8,34,56,.55); }
.pzs-wb__cap { margin: 0 0 12px; font: 500 13.5px/1.4 Inter, sans-serif; color: #475569; }
.pzs-wb__cap b { display: inline-block; margin-right: 6px; padding: 3px 9px; border-radius: 99px; background: #082238; color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .02em; }
.pzs-wb__panes { display: grid; gap: 10px; }

.pzs-sheet { border-radius: 16px; background: #fff; border: 1px solid #D7E3EB; overflow: hidden; }
.pzs-sheet__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #1F6F43; color: #fff; font: 600 13px/1 Inter, sans-serif; }
.pzs-sheet__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.45); }
.pzs-sheet__bar b { margin-left: 8px; font-weight: 700; }
.pzs-sheet__bar em { margin-left: auto; font-style: normal; font-weight: 500; font-size: 12px; padding: 3px 8px; border-radius: 99px; background: rgba(255,255,255,.18); }
.pzs-sheet__grids { position: relative; }
.pzs-grid { display: none; grid-template-columns: .8fr 1.3fr 1fr .9fr; font: 500 12.5px/1.25 Inter, sans-serif; color: #334155; }
.pzs-grid.is-on { display: grid; }
.pzs-grid span { min-width: 0; padding: 8px 9px; border-right: 1px solid #E2E8F0; border-bottom: 1px solid #E2E8F0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pzs-grid span:nth-child(4n) { border-right: 0; }
.pzs-grid .h { background: #F1F5F9; font-weight: 700; color: #082238; }
.pzs-grid .w { background: #FFF6DB; color: #7A4F00; text-decoration: underline wavy #D9480F; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pzs-grid.is-on span { animation: pzs-cell .45s cubic-bezier(.2,.7,.2,1) both; }
.pzs-grid.is-on span:nth-child(n+5) { animation-delay: .06s; } .pzs-grid.is-on span:nth-child(n+9) { animation-delay: .12s; } .pzs-grid.is-on span:nth-child(n+13) { animation-delay: .18s; }
@keyframes pzs-cell { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.pzs-tabs { display: flex; gap: 4px; padding: 6px 8px 0; background: #EEF2F5; border-top: 1px solid #D7E3EB; overflow-x: auto; scrollbar-width: thin; }
.pzs-tabs button { flex: 0 0 auto; min-height: 36px; padding: 8px 10px; border: 1px solid transparent; border-bottom: 0; border-radius: 10px 10px 0 0; background: transparent; font: 600 13px/1 Inter, sans-serif; color: #475569; cursor: pointer; transition: background .25s, color .25s; }
.pzs-tabs button:hover { background: #fff; color: #082238; }
.pzs-tabs button[aria-selected="true"] { background: #fff; color: #1F6F43; border-color: #D7E3EB; box-shadow: inset 0 3px 0 #1F6F43; }
.pzs-tabs button:focus-visible { outline: 3px solid #00A3D9; outline-offset: -3px; }

.pzs-arrow { display: grid; place-items: center; height: 26px; }
.pzs-arrow svg { width: 44px; height: 22px; transform: rotate(90deg); fill: none; stroke: #0A6FA8; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.pzs-app { border-radius: 16px; background: #fff; border: 1px solid #C9DCE8; box-shadow: 0 18px 34px -28px rgba(8,34,56,.6); overflow: hidden; }
.pzs-app__bar { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: #082238; color: #fff; font: 700 13px/1 Inter, sans-serif; }
.pzs-app__bar img { width: 18px; height: 18px; padding: 2px; border-radius: 5px; background: #fff; }
.pzs-app__bar em { margin-left: auto; font-style: normal; font-weight: 500; font-size: 12px; color: #BFD3E2; }
.pzs-app__nav { list-style: none; margin: 0; padding: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pzs-app__nav li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 8px; align-content: start; padding: 9px; border-radius: 12px; border: 1px solid #E2E8F0; background: #fff; transition: border-color .3s, background .3s, transform .3s; }
.pzs-app__nav li b { font: 700 13px/1.25 Manrope, sans-serif; color: #082238; align-self: center; }
.pzs-app__nav li small { grid-column: 1 / -1; font: 400 12px/1.4 Inter, sans-serif; color: #475569; }
.pzs-app__nav li.is-on { border-color: #0A6FA8; background: #EAF4FA; transform: translateY(-2px); }
.pzs-app__say { margin: 0 10px 10px; padding: 10px 12px; border-radius: 12px; background: #F3F7F9; font: 500 13.5px/1.5 Inter, sans-serif; color: #334155; min-height: 3em; }
.pzs-app__say b { color: #1F6F43; }

.pzs-ic { --c: #0A6FA8; width: 28px; height: 28px; border-radius: 8px; background-color: #E3F0F8; position: relative; }
.pzs-ic::before { content: ""; position: absolute; inset: 7px; }
.pzs-ic--board::before { background: linear-gradient(90deg, var(--c) 0 26%, transparent 26% 37%, var(--c) 37% 63%, transparent 63% 74%, var(--c) 74%); clip-path: polygon(0 0, 26% 0, 26% 100%, 37% 100%, 37% 0, 63% 0, 63% 70%, 74% 70%, 74% 0, 100% 0, 100% 45%, 74% 45%, 74% 70%, 63% 70%, 63% 100%, 0 100%); }
.pzs-ic--link { --c: #00A3D9; } .pzs-ic--link::before { border: 2.5px solid var(--c); border-radius: 50%; inset: 8px 12px 8px 5px; box-shadow: 7px 0 0 -0px #E3F0F8, 7px 0 0 2.5px var(--c); }
.pzs-ic--tag { --c: #B4432A; background-color: #FDEDE7; } .pzs-ic--tag::before { background: var(--c); clip-path: polygon(0 30%, 30% 0, 100% 0, 100% 70%, 70% 100%, 0 100%); border-radius: 2px; }
.pzs-ic--dash { --c: #3FB97A; background-color: #E6F6EE; } .pzs-ic--dash::before { background: linear-gradient(0deg, var(--c) 0 40%, transparent 40%) 0 0 / 30% 100% no-repeat, linear-gradient(0deg, var(--c) 0 100%, transparent 0) 50% 0 / 30% 100% no-repeat, linear-gradient(0deg, var(--c) 0 70%, transparent 70%) 100% 0 / 30% 100% no-repeat; }
.pzs-ic--lock { --c: #082238; background-color: #E8EDF2; } .pzs-ic--lock::before { inset: 12px 8px 6px; background: var(--c); border-radius: 2px; } .pzs-ic--lock::after { content: ""; position: absolute; left: 10px; right: 10px; top: 6px; height: 9px; border: 2.5px solid var(--c); border-bottom: 0; border-radius: 6px 6px 0 0; }
.pzs-ic--box { --c: #7A4F00; background-color: #FFF3D6; } .pzs-ic--box::before { border: 2.5px solid var(--c); border-radius: 3px; border-top-width: 5px; }

.pzs-fly { position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 5px; background: #FFB81C; box-shadow: 0 6px 14px -4px rgba(122,79,0,.6); opacity: 0; pointer-events: none; transition: transform .7s cubic-bezier(.3,.9,.3,1), opacity .25s; }
.pzs-fly.is-go { opacity: 1; }

/* ---------- section 01 versus (kit N), small additions ---------- */
.pzs-versus { margin-top: 28px; }

/* ---------- header-row x-ray (dark band) ---------- */
.pzs-xr__box { margin-top: 34px; display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 18px; align-items: start; }
.pzs-xr__in, .pzs-xr__out { border-radius: 22px; padding: clamp(18px, 2.4vw, 26px); }
.pzs-xr__in { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: #E2ECF3; }
.pzs-xr__lab { display: block; margin: 0 0 10px; font: 700 14px/1.3 Inter, sans-serif; color: #fff; }
.pzs-xr__lab small { font-weight: 500; color: #BFD3E2; margin-left: 4px; }
.pzs-xr__pre { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.pzs-xr__pre button { min-height: 40px; padding: 9px 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,.28); background: transparent; color: #fff; font: 600 14px/1 Inter, sans-serif; cursor: pointer; transition: background .25s, border-color .25s, color .25s; }
.pzs-xr__pre button:hover { border-color: #5FD3F3; }
.pzs-xr__pre button[aria-pressed="true"] { background: #fff; border-color: #fff; color: #082238; }
.pzs-xr__in textarea { width: 100%; box-sizing: border-box; min-height: 96px; resize: vertical; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.3); background: #061A2E; color: #fff; font: 500 14.5px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.pzs-xr__in textarea:focus { outline: 3px solid #00A3D9; outline-offset: 1px; }
.pzs-xr__go { margin-top: 12px; width: 100%; min-height: 48px; border: 0; border-radius: 14px; background: #FFB81C; color: #082238; font: 700 15.5px/1 Inter, sans-serif; cursor: pointer; transition: background .2s; }
.pzs-xr__go:hover { background: #F0A400; }
.pzs-xr__go:focus-visible, .pzs-xr__pre button:focus-visible, .pzs-xr__send:focus-visible { outline: 3px solid #5FD3F3; outline-offset: 2px; }
.pzs-xr__fine { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: #BFD3E2; }

.pzs-xr__out { background: #fff; color: #334155; box-shadow: 0 30px 60px -40px rgba(0,0,0,.7); }
.pzs-xr__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 14px; font: 800 19px/1.25 Manrope, sans-serif; color: #082238; }
.pzs-xr__head span { font: 600 13px/1 Inter, sans-serif; color: #475569; }
.pzs-xr__cols { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 8px; }
.pzs-xr__cols li { --c: #475569; --bg: #F1F5F9; position: relative; display: grid; gap: 4px; align-content: start; padding: 26px 12px 12px; border-radius: 12px; border: 1px solid #E2E8F0; background: #fff; }
.pzs-xr__cols li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 12px 12px 0 0; background: var(--c); }
.pzs-xr__l { position: absolute; left: 10px; top: 9px; font: 700 11px/1 ui-monospace, Menlo, monospace; color: #475569; letter-spacing: .05em; }
.pzs-xr__cols b { font: 700 14.5px/1.3 Manrope, sans-serif; color: #082238; overflow-wrap: anywhere; }
.pzs-xr__cols em { justify-self: start; font-style: normal; font: 700 12px/1.3 Inter, sans-serif; padding: 3px 8px; border-radius: 99px; background: var(--bg); color: var(--c); }
.pzs-xr__cols small { font-size: 12.5px; line-height: 1.45; color: #475569; }
.pzs-xr__cols li[data-t="link"] { --c: #0A6FA8; --bg: #E3F0F8; }
.pzs-xr__cols li[data-t="user"] { --c: #6D28D9; --bg: #F1EAFE; }
.pzs-xr__cols li[data-t="pick"], .pzs-xr__cols li[data-t="check"] { --c: #0B7A70; --bg: #E2F5F3; }
.pzs-xr__cols li[data-t="date"] { --c: #9A3412; --bg: #FDEDE3; }
.pzs-xr__cols li[data-t="money"], .pzs-xr__cols li[data-t="num"] { --c: #1B6E43; --bg: #E6F6EE; }
.pzs-xr__cols li[data-t="file"], .pzs-xr__cols li[data-t="sign"] { --c: #7A4F00; --bg: #FFF3D6; }
.pzs-xr__cols li[data-t="sub"] { --c: #B4432A; --bg: #FDEDE7; }
.pzs-xr__cols li[data-t="auto"], .pzs-xr__cols li[data-t="contact"], .pzs-xr__cols li[data-t="addr"] { --c: #1D3F8F; --bg: #E8EEFA; }
.pzs-xr__cols.is-scan li { animation: pzs-in .5s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 55ms); }
.pzs-xr__cols.is-scan::after { content: ""; position: absolute; top: -6px; bottom: -6px; left: 0; width: 70px; border-radius: 12px; background: linear-gradient(90deg, transparent, rgba(0,163,217,.28), transparent); pointer-events: none; animation: pzs-scan 1.1s ease-in-out both; }
@keyframes pzs-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes pzs-scan { from { transform: translateX(-80px); opacity: 1; } to { transform: translateX(calc(100cqw + 20px)); opacity: 0; } }
.pzs-xr__out { container-type: inline-size; }

.pzs-xr__sum { margin: 18px 0 0; display: grid; gap: 8px; }
.pzs-xr__sum div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; padding: 10px 12px; border-radius: 12px; background: #F3F7F9; }
.pzs-xr__sum dt { font: 800 12px/1.5 Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #0B5E8C; }
.pzs-xr__sum dd { margin: 0; font-size: 14px; line-height: 1.5; color: #334155; }
.pzs-xr__std { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; border: 1px dashed #C9A23A; background: #FFF9E8; font-size: 14px; line-height: 1.5; color: #4A3A10; }
.pzs-xr__std:empty { display: none; }
.pzs-xr__std a { color: #0A5A8A; font-weight: 600; }
.pzs-xr__send { margin-top: 14px; min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 1.5px solid #082238; background: #fff; color: #082238; font: 700 14.5px/1 Inter, sans-serif; cursor: pointer; transition: background .2s, color .2s; }
.pzs-xr__send:hover { background: #082238; color: #fff; }

/* ---------- road / deal / cost ---------- */
.pzs-road { margin-top: 30px; }
.pzs-deal { margin-top: 28px; }
.pzs-deal a, .pzs-fit__note a, .pzs-cost a, .pzs-four__next a { color: #0A5A8A; font-weight: 600; }
.pzs-fit__note { margin: 20px 0 0; font-size: 15.5px; line-height: 1.6; color: #334155; }

.pzs-cost__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pzs-cost__fee { margin: 18px 0 0; padding: 14px 16px; border-radius: 14px; background: #fff; border-left: 4px solid #FFB81C; font: 600 16px/1.5 Inter, sans-serif; color: #082238; }
.pzs-tick { padding: 20px; border-radius: 22px; background: #fff; border: 1px solid #D7E3EB; box-shadow: 0 24px 40px -34px rgba(8,34,56,.5); }
.pzs-tick__head { display: grid; gap: 4px; margin: 0 0 12px; }
.pzs-tick__head b { font: 800 17px/1.3 Manrope, sans-serif; color: #082238; }
.pzs-tick__head span { font-size: 13px; color: #475569; }
.pzs-tick__t { width: 100%; border-collapse: separate; border-spacing: 0 6px; font: 500 15px/1.3 Inter, sans-serif; color: #334155; }
.pzs-tick__t th, .pzs-tick__t td { padding: 10px 10px; text-align: left; }
.pzs-tick__t thead th { padding-top: 0; padding-bottom: 2px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #475569; }
.pzs-tick__t tbody tr > * { background: #F3F7F9; }
.pzs-tick__t tbody tr > :first-child { border-radius: 10px 0 0 10px; font-weight: 700; color: #082238; }
.pzs-tick__t tbody tr > :last-child { border-radius: 0 10px 10px 0; }
.pzs-tick__t tbody tr.is-pick > * { background: #EAF4FA; }
.pzs-tick__fine { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: #475569; }

/* ---------- four start steps ---------- */
.pzs-four { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pzs-four li { position: relative; display: grid; gap: 6px; padding: 42px 16px 18px; border-radius: 16px; background: #fff; border: 1px solid #E2E8F0; font-size: 15px; line-height: 1.5; color: #334155; }
.pzs-four li b { font: 700 17px/1.3 Manrope, sans-serif; color: #082238; }
.pzs-four__cell { position: absolute; left: 0; top: 0; padding: 6px 10px; border-radius: 16px 0 10px 0; background: #1F6F43; color: #fff; font: 700 12px/1 ui-monospace, Menlo, monospace; }
.pzs-four__next { margin: 18px 0 0; font-size: 15.5px; color: #334155; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .pzs-hero__grid, .pzs-cost__grid { grid-template-columns: 1fr; }
  .pzs-wb { max-width: 640px; }
  .pzs-xr__box { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .pzs-four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .pzs-app__nav { grid-template-columns: 1fr 1fr; }
  .pzs-grid { font-size: 11.5px; grid-template-columns: .7fr 1.3fr 1fr .8fr; }
  .pzs-grid span { padding: 7px 6px; }
  .pzs-xr__cols { grid-template-columns: 1fr 1fr; }
  .pzs-xr__sum div { grid-template-columns: 1fr; gap: 2px; }
  .pzs-four { grid-template-columns: 1fr; }
  .pzs-tick { padding: 14px; }
  .pzs-tick__t { font-size: 14px; } .pzs-tick__t th, .pzs-tick__t td { padding: 9px 7px; }
}
@media (max-width: 380px) { .pzs-xr__cols { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .pzs-grid.is-on span, .pzs-xr__cols.is-scan li { animation: none; }
  .pzs-xr__cols.is-scan::after { display: none; }
  .pzs-fly { display: none; }
  .pzs-app__nav li { transition: none; }
}
