/* PASSFILE v9.2 — homepage-first text requirements workflow. Browser-only file operations. */
.pf-growth-home .hero{margin-bottom:17px}
.pf-growth-home .hero h1{max-width:980px}
.pf-growth-home .hero p{max-width:900px}
.pf-intent{background:#fff;box-shadow:0 18px 55px rgba(18,44,92,.085);border:1px solid #d5e2f5;border-radius:24px;padding:clamp(20px,3vw,32px);margin:18px 0 28px;color:#182b48;position:relative;overflow:hidden}
.pf-intent:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,#306ae7 0%,#48b3c8 62%,#2cb28b 100%)}
.pf-intent *{box-sizing:border-box}
.pf-intent-head{display:flex;justify-content:space-between;align-items:start;gap:15px;margin-bottom:20px}
.pf-intent-kicker{display:block;color:#3468cc;font-weight:850;font-size:11px;letter-spacing:.085em;margin-bottom:11px;line-height:1.6}
.pf-intent-head h2{font-size:clamp(22px,3vw,32px);line-height:1.2;letter-spacing:-.035em;margin:0 0 7px;color:#152b4d}
.pf-intent-head p{color:#65758b;font-size:14px;margin:0;max-width:600px}
.pf-intent-step{font-size:11px;font-weight:850;letter-spacing:.09em;color:#3265bb;border:1px solid #c8dcf5;border-radius:99px;padding:9px 11px;white-space:nowrap;background:#f3f8ff}
.pf-intent-label{font-size:14px;font-weight:800;margin-bottom:8px;color:#243a59}
.pf-intent textarea{width:100%;display:block;min-height:107px;resize:vertical;background:#f8fbff;border:1.5px solid #a9c2e7;border-radius:13px;padding:17px;font:inherit;font-size:16px;line-height:1.55;color:#152d51;outline-offset:3px;box-shadow:inset 0 2px 4px rgba(30,63,100,.025)}
.pf-intent textarea:focus{outline:3px solid #c6dbff;border-color:#2d68d9}
.pf-intent-presets{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:12px 0 21px}
.pf-intent-presets>span{font-size:12px;font-weight:750;color:#627793;margin-right:2px}
.pf-intent-chip{font-size:12px;line-height:1.35;font-weight:780;color:#2156a4;border:1px solid #d1e1f7;border-radius:99px;background:#f3f7ff;padding:8px 12px;min-height:35px}
.pf-intent-chip:hover{background:#e5efff;border-color:#8fb3ef}
.pf-intent-chip[aria-pressed="true"]{background:#dfeaff;border-color:#5c92e3;color:#164793}
.pf-intent-upload-head{display:flex;gap:5px;align-items:baseline;justify-content:space-between;flex-wrap:wrap;margin-bottom:9px}
.pf-intent-upload-head strong{font-size:14px;color:#273c5a}
.pf-intent-upload-head span{font-size:12px;color:#72839a}
.pf-intent-upload{border:1.5px dashed #9bb4d9;border-radius:12px;background:#f8fbff;min-height:70px;padding:12px 14px;display:flex;align-items:center;gap:12px;cursor:pointer;color:#526887;font-size:14px;font-weight:700;transition:background .16s,border-color .16s}
.pf-intent-upload:hover,.pf-intent-upload[data-drag="yes"]{background:#ecf5ff;border-color:#3979da}
.pf-intent-upload:focus-visible,.pf-intent button:focus-visible,.pf-intent a:focus-visible{outline:3px solid #78a9ff;outline-offset:2px}
.pf-intent-upload-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#e6efff;color:#235ac1;font-size:23px;flex-shrink:0}
#pf-intent-filename{min-width:0;overflow-wrap:anywhere}
.pf-intent-upload-action{margin-left:auto;display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#eaf2ff;color:#2a60bd;font-weight:800;flex-shrink:0;font-size:19px}
.pf-intent-bar{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-top:16px;flex-wrap:wrap}
.pf-intent-submit{background:#245fe6;color:white;border:1px solid #245fe6;border-radius:11px;padding:15px 20px;min-height:53px;display:inline-flex;justify-content:center;align-items:center;gap:11px;font-weight:850;font-size:15px;box-shadow:0 6px 14px rgba(30,94,216,.18)}
.pf-intent-submit:hover{background:#184cc0}
.pf-intent-submit span{font-size:19px}
.pf-intent-submit:disabled{cursor:wait;opacity:.7}
.pf-intent-bar p{font-size:12px;color:#71829a;margin:0}
.pf-intent-status{margin-top:15px;font-size:13px;line-height:1.6;padding:12px 14px;border-radius:10px;background:#edf4ff;color:#2c4b73;white-space:pre-line;border:1px solid #dae7fa}
.pf-intent-status[data-kind="bad"]{background:#fff1ee;border-color:#f0cbbd;color:#863c32}
.pf-intent-status[data-kind="good"]{background:#e9f7f0;border-color:#b2dfc4;color:#125d3e}
.pf-intent-result{margin-top:15px;padding:15px;border:1px solid #dce5f3;background:#f9fbff;border-radius:15px}
.pf-intent-image-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pf-intent-image-row>div{min-width:0}
.pf-intent-image-row span{display:block;font-size:12px;font-weight:850;color:#476283;margin-bottom:7px}
.pf-intent-image-row img{width:100%;height:182px;object-fit:contain;background:#e7edf5;border-radius:10px;border:1px solid #d3ddeb}
.pf-intent-report{display:flex;gap:8px;flex-wrap:wrap;padding:13px 0}
.pf-intent-report span{font-size:12px;font-weight:750;border-radius:8px;border:1px solid #c8ddeb;padding:8px 10px;background:#fff;color:#345572}
.pf-intent-report .pf-check-ok{background:#e8f6ef;color:#156e48;border-color:#a4dabf}
.pf-intent-report .pf-check-fail{background:#fff2ef;color:#933c36;border-color:#efc8c3}
.pf-intent-download{display:inline-flex;min-height:44px;align-items:center;padding:11px 17px;text-decoration:none;font-weight:850;color:#fff;background:#127d54;border-radius:10px;font-size:14px}
.pf-intent-download:hover{background:#086844}
.pf-intent-foot{display:flex;justify-content:space-between;gap:16px;align-items:baseline;flex-wrap:wrap;border-top:1px solid #e8eef8;margin-top:20px;padding-top:15px}
.pf-intent-foot small{color:#667990;font-size:11px;line-height:1.6;max-width:650px}
.pf-intent-foot a{text-decoration:none;color:#2359c2;font-size:12px;font-weight:800}
.pf-intent-foot a:hover{text-decoration:underline}
/* The old automatic preview remains secondary to the working user-input form. */
.pf-growth{margin-top:34px}
@media(max-width:650px){.pf-intent-head{gap:8px}.pf-intent-step{display:none}.pf-intent-presets{margin-bottom:16px}.pf-intent-upload-head{display:block}.pf-intent-upload-head span{display:block;margin-top:3px}.pf-intent-bar{align-items:stretch}.pf-intent-submit{width:100%}.pf-intent-bar p{width:100%;text-align:center}.pf-intent-image-row img{height:125px}.pf-intent-foot{display:block}.pf-intent-foot a{display:block;margin-top:10px}.pf-intent{padding:17px;margin:14px 0 24px}}
@media(prefers-reduced-motion:reduce){.pf-intent-upload{transition:none}}
/* v9.3 — email-friendly intent and privacy-first batch tools */
.pf-intent-profile{background:#ebf4ff;border:1px solid #c4dbf4;border-radius:11px;padding:11px 13px;color:#234f81;font-size:12px;line-height:1.55;margin:4px 0 17px}
.pf-intent-filetools{margin-top:10px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;color:#5a718c;font-size:12px}
.pf-intent-filetools button{background:#f3f7ff;border:1px solid #c7d8f0;border-radius:10px;color:#2356a5;font-size:13px;min-height:40px;padding:9px 13px;font-weight:800;cursor:pointer}
.pf-intent-filetools button:hover{background:#e4efff}
.pf-intent-batch{margin-top:16px;background:#f9fbff;border:1px solid #dce5f3;border-radius:15px;padding:16px;color:#1d3a59}
.pf-intent-batch h3{font-size:17px;margin:0 0 6px}
.pf-intent-batch p{font-size:12px;line-height:1.55;color:#5b7190;margin:0 0 12px}
.pf-intent-batch-table{overflow:auto;max-height:340px;border-radius:10px;border:1px solid #dce6f5;margin-bottom:13px}
.pf-intent-batch table{border-collapse:collapse;width:100%;min-width:440px;background:#fff;font-size:12px}
.pf-intent-batch th,.pf-intent-batch td{padding:10px 12px;border-bottom:1px solid #e5edf8;text-align:left;vertical-align:top;overflow-wrap:anywhere}
.pf-intent-batch th{position:sticky;top:0;background:#f0f6ff;color:#41628b}
.pf-batch-ok{color:#147646;font-weight:850}.pf-batch-bad{color:#9b443b;font-weight:850}
@media(max-width:650px){.pf-intent-filetools{align-items:flex-start}.pf-intent-filetools span{width:100%}}

/* v9.9.3: show the example only while the field is empty; hide it immediately on focus. */
#pf-intent-rules::placeholder{color:#677d9b;opacity:1}
#pf-intent-rules:focus::placeholder{opacity:0}
