/* Zoho license audit page only (/zoho-license-audit/). Prefix .pzla- */
.pzla-hero, .pzla-review, .pzla-when, .pzla-send, .pzla-report, .pzla-approve, .pzla-steps, .pzla-after, .pzla-scope { --pzla-ink: #082238; --pzla-blue: #0A6FA8; --pzla-sky: #E8F5FC; --pzla-line: #E2E8F0; --pzla-amber: #FFB81C; --pzla-teal: #00B2A9; }

/* ---------- shared bits ---------- */
.pzla-tag { display: inline-block; padding: 4px 10px; border-radius: 99px; font: 700 12.5px/1.3 var(--f-body); font-style: normal; white-space: nowrap; }
.pzla-tag--keep { background: #E3F6EC; color: #1D6B43; }
.pzla-tag--review { background: #FFF1D6; color: #7A4B00; }
.pzla-tag--decide { background: var(--pzla-sky); color: #0B4D75; }
.pzla-note { margin: 22px 0 0; max-width: 760px; font-size: 15.5px; line-height: 1.6; color: #334155; }
.pzla-note a, .pzla-p a, .pzla-rep__more a, .pzla-paths a, .pzla-send a, .mk-deal a { color: var(--pzla-blue, #0A6FA8); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pzla-p { margin: 16px 0 0; font-size: 16px; line-height: 1.65; color: #334155; }
.pzla-seg button:focus-visible, .pzla-rep__tabs button:focus-visible, .pzla-rep__panel:focus-visible, .pzla-tw:focus-visible, .pzla-q select:focus-visible, .pzla-q input:focus-visible { outline: 2px solid #00A3D9; outline-offset: 2px; }

/* ---------- hero ---------- */
.pzla-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; padding: 0; list-style: none; font: 600 13.5px/1.4 var(--f-body); color: #475569; }
.pzla-meta li { display: inline-flex; align-items: center; gap: 8px; }
.pzla-meta li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pzla-teal); }
.pzla-ledger { position: relative; margin: 0; padding: 20px; border-radius: 26px; background: #fff; border: 1px solid var(--pzla-line); box-shadow: 0 40px 70px -46px rgba(8,34,56,.55); }
.pzla-ledger__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed #CBD5E1; }
.pzla-ledger__top p { margin: 0; display: grid; gap: 2px; }
.pzla-ledger__top b { font: 800 18px/1.2 var(--f-display); color: var(--pzla-ink); letter-spacing: -.01em; }
.pzla-ledger__top span { font: 600 12.5px/1.3 var(--f-body); color: #475569; }
.pzla-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: #F3F7F9; border: 1px solid var(--pzla-line); }
.pzla-seg button { min-height: 36px; padding: 6px 12px; border: 0; border-radius: 10px; background: transparent; font: 600 13.5px/1.2 var(--f-body); color: #334155; cursor: pointer; transition: background 220ms, color 220ms; }
.pzla-seg button.is-on { background: var(--pzla-ink); color: #fff; }
.pzla-ledger__rows { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.pzla-ledger__rows li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #F8FAFC; border: 1px solid var(--pzla-line); transition: opacity 260ms, transform 260ms, background 260ms; }
.pzla-ledger__rows li.is-hit { background: #fff; border-color: var(--pzla-blue); box-shadow: 0 10px 22px -16px rgba(10,111,168,.7); transform: translateX(-4px); }
.pzla-ledger__rows li.is-miss { background: #fff; border-style: dashed; }
.pzla-ledger__app { display: grid; gap: 2px; min-width: 0; }
.pzla-ledger__app b { font: 700 15px/1.3 var(--f-display); color: var(--pzla-ink); }
.pzla-ledger__app small { font: 500 13px/1.4 var(--f-body); color: #475569; }
.pzla-ledger__cap { margin: 14px 2px 0; min-height: 2.8em; font: 500 13.5px/1.5 var(--f-body); color: #334155; }

/* ---------- send ---------- */
.pzla-send__grid, .pzla-approve__grid, .pzla-scope__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pzla-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: pzla; }
.pzla-list li { counter-increment: pzla; position: relative; display: grid; gap: 4px; padding: 16px 18px 16px 58px; border-radius: 18px; background: #fff; border: 1px solid var(--pzla-line); }
.pzla-list li::before { content: counter(pzla); position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--pzla-ink); color: #fff; font: 800 13px/1 var(--f-display); }
.pzla-list b { font: 700 16px/1.3 var(--f-display); color: var(--pzla-ink); }
.pzla-list span { font-size: 15px; line-height: 1.55; color: #334155; }

/* ---------- report (dark band) ---------- */
.pzla-rep { margin-top: 30px; border-radius: 26px; background: #fff; color: #334155; box-shadow: 0 50px 80px -50px rgba(0,0,0,.85); overflow: hidden; }
.pzla-rep__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; background: #F3F7F9; border-bottom: 1px solid var(--pzla-line); }
.pzla-rep__head p { margin: 0; display: grid; gap: 2px; }
.pzla-rep__head b { font: 800 18px/1.25 var(--f-display); color: var(--pzla-ink); }
.pzla-rep__head span { font: 500 13.5px/1.3 var(--f-body); color: #475569; }
.pzla-rep__stamp { padding: 6px 12px; border: 2px solid #B4432A; border-radius: 8px; color: #8A2E14 !important; font: 800 12px/1 var(--f-body) !important; letter-spacing: .12em; text-transform: uppercase; transform: rotate(-4deg); }
.pzla-rep__tabs { display: none; gap: 4px; padding: 10px 14px 0; border-bottom: 1px solid var(--pzla-line); overflow-x: auto; scrollbar-width: none; }
.pzla-rep__tabs::-webkit-scrollbar { display: none; }
.pzla-rep.is-js .pzla-rep__tabs { display: flex; }
.pzla-rep__tabs button { flex: 0 0 auto; min-height: 44px; padding: 10px 14px; border: 0; border-bottom: 3px solid transparent; background: transparent; font: 600 14.5px/1.2 var(--f-body); color: #475569; cursor: pointer; }
.pzla-rep__tabs button[aria-selected="true"] { color: var(--pzla-ink); border-bottom-color: var(--pzla-amber); }
.pzla-rep__panel { padding: 22px; }
.pzla-rep:not(.is-js) .pzla-rep__panel + .pzla-rep__panel { border-top: 1px solid var(--pzla-line); }
.pzla-rep__panel h3 { margin: 0 0 8px; font: 700 19px/1.3 var(--f-display); color: var(--pzla-ink); letter-spacing: -.01em; }
.pzla-rep__panel > p { margin: 0 0 16px; max-width: 760px; font-size: 15.5px; line-height: 1.6; }
.pzla-rep__more { margin: 16px 0 0 !important; font-size: 15px !important; }
.pzla-tw { overflow-x: auto; border-radius: 16px; border: 1px solid var(--pzla-line); background: #fff; }
.pzla-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.pzla-table th, .pzla-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--pzla-line); vertical-align: middle; }
.pzla-table thead th { font: 700 13px/1.3 var(--f-body); color: #475569; background: #F8FAFC; }
.pzla-table tbody th { font: 700 15px/1.35 var(--f-display); color: var(--pzla-ink); }
.pzla-table tbody tr:last-child > * { border-bottom: 0; }
.pzla-findings { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pzla-findings li { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px; border-radius: 16px; background: #F8FAFC; border: 1px solid var(--pzla-line); }
.pzla-findings .pzla-tag { justify-self: start; }
.pzla-findings p { margin: 0; font-size: 15px; line-height: 1.55; }
.pzla-findings b { color: var(--pzla-ink); }
.pzla-decide { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: pzd; }
.pzla-decide li { counter-increment: pzd; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 14px 16px; border-radius: 14px; border: 1px dashed #94A3B8; }
.pzla-decide b { font: 700 15.5px/1.4 var(--f-display); color: var(--pzla-ink); }
.pzla-decide b::before { content: counter(pzd) ". "; color: var(--pzla-blue); }
.pzla-decide span { font: 600 13.5px/1.4 var(--f-body); color: #475569; }
.pzla-report__fine { margin: 16px 0 0; font-size: 14px; line-height: 1.55; color: #E2EEF6; }

/* ---------- approval log ---------- */
.pzla-log { padding: 20px; border-radius: 24px; background: #fff; border: 1px solid var(--pzla-line); box-shadow: 0 30px 50px -40px rgba(8,34,56,.5); }
.pzla-log__t { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 12px; font: 800 18px/1.3 var(--f-display); color: var(--pzla-ink); }
.pzla-log__t span { font: 600 12.5px/1.6 var(--f-body); color: #475569; }
.pzla-table--log { min-width: 440px; }

/* ---------- after ---------- */
.pzla-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.pzla-paths li { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--pzla-line); border-top: 4px solid var(--pzla-teal); }
.pzla-paths li:nth-child(2) { border-top-color: var(--pzla-blue); }
.pzla-paths li:nth-child(3) { border-top-color: var(--pzla-amber); }
.pzla-paths h3 { margin: 0 0 8px; font: 700 17px/1.35 var(--f-display); color: var(--pzla-ink); }
.pzla-paths p { margin: 0; font-size: 15px; line-height: 1.6; color: #334155; }

/* ---------- scope builder ---------- */
.pzla-q { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 22px; border-radius: 24px; background: #fff; border: 1px solid var(--pzla-line); box-shadow: 0 40px 60px -44px rgba(8,34,56,.6); }
.pzla-q__t { grid-column: 1 / -1; margin: 0 0 4px; font: 800 20px/1.25 var(--f-display); color: var(--pzla-ink); letter-spacing: -.01em; }
.pzla-q__apps { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.pzla-q__apps legend { margin-bottom: 8px; padding: 0; font: 600 13.5px/1.3 var(--f-body); color: #334155; }
.pzla-q__apps label { position: relative; cursor: pointer; }
.pzla-q__apps input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pzla-q__apps span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 99px; border: 1px solid #CBD5E1; background: #fff; font: 600 14px/1.2 var(--f-body); color: #334155; transition: background 200ms, border-color 200ms, color 200ms; }
.pzla-q__apps input:checked + span { background: var(--pzla-ink); border-color: var(--pzla-ink); color: #fff; }
.pzla-q__apps input:focus-visible + span { outline: 2px solid #00A3D9; outline-offset: 2px; }
.pzla-q__f { display: grid; gap: 6px; min-width: 0; }
.pzla-q__f label { font: 600 13.5px/1.3 var(--f-body); color: #334155; }
.pzla-q select, .pzla-q input[type="number"] { width: 100%; min-height: 44px; padding: 8px 12px; border-radius: 12px; border: 1px solid #CBD5E1; background: #fff; font: 500 15px/1.3 var(--f-body); color: var(--pzla-ink); }
.pzla-q__est { grid-column: 1 / -1; margin: 4px 0 0; padding: 12px 14px; border-radius: 14px; background: #F3F7F9; font: 600 14.5px/1.45 var(--f-body); color: var(--pzla-ink); }
.pzla-q .btn { grid-column: 1 / -1; justify-content: center; }
.pzla-q__fine { grid-column: 1 / -1; margin: 0; font-size: 13.5px; line-height: 1.5; color: #475569; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .pzla-send__grid, .pzla-approve__grid, .pzla-scope__grid { grid-template-columns: 1fr; }
  .pzla-paths { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .pzla-ledger, .pzla-log { padding: 14px; }
  .pzla-ledger__rows li { padding: 10px 12px; gap: 10px; }
  .pzla-rep__head, .pzla-rep__panel { padding: 16px; }
  .pzla-findings li { grid-template-columns: 1fr; gap: 8px; }
  .pzla-q { grid-template-columns: 1fr; padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .pzla-seg button, .pzla-ledger__rows li, .pzla-q__apps span { transition: none; }
}
