/* FieldForge — phone-shell styling for the interactive voice demo widget
   (assets/voice-demo.js in app mode). Portable: every color has a literal
   fallback so any marketing page can embed the phone without depending on
   that page's CSS variables. Markup contract lives in index.html's hero.
   NOTE: index.html currently carries an inline copy of these rules from the
   original hero build — a future cleanup can point it here. */
.hphone{width:min(324px,90vw);background:#0b1f2a;border-radius:44px;padding:9px;box-shadow:0 30px 60px -18px rgba(11,31,42,.45);margin:0 auto;}
.hpscreen{background:linear-gradient(180deg,#f6f8fb 0%,#edf1f6 100%);border-radius:36px;overflow:hidden;display:flex;flex-direction:column;height:min(648px,78vh);min-height:500px;text-align:left;}
.hphead{background:#0b1f2a;color:#fff;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;flex:none;}
.hplogo{font-weight:800;font-size:.98rem;}
.hplogo b{color:var(--orange,#ff5a1f);}
.hpbadge{font-size:.74rem;font-weight:800;background:var(--orange,#ff5a1f);color:#fff;border:1px solid #ff8a55;border-radius:99px;padding:5px 13px;letter-spacing:.06em;white-space:nowrap;animation:badgepulse 2.2s ease-in-out infinite;}
@keyframes badgepulse{0%,100%{box-shadow:0 0 0 0 rgba(255,90,31,.55);}55%{box-shadow:0 0 0 9px rgba(255,90,31,0);}}
.hpbody{flex:1;overflow-y:auto;padding:13px 13px 8px;-webkit-overflow-scrolling:touch;}
.hphint{text-align:center;color:#64748b;font-size:.84rem;line-height:1.5;margin:2px 4px 12px;}
.hpsteps{display:flex;gap:8px;margin-bottom:11px;}
.hpstep{flex:1;background:#fff;border-radius:12px;padding:11px 6px 9px;text-align:center;box-shadow:0 1px 3px rgba(0,0,0,.06);}
.hpstep .n{width:24px;height:24px;border-radius:50%;background:linear-gradient(145deg,#ff8a55,#ff5a1f);color:#fff;font-weight:850;font-size:.75rem;display:inline-flex;align-items:center;justify-content:center;margin-bottom:5px;box-shadow:0 2px 6px rgba(255,90,31,.35);}
.hpstep .t{font-size:.7rem;font-weight:800;color:#0b1f2a;}
.hpstep .d{font-size:.61rem;color:#64748b;margin-top:2px;line-height:1.35;}
.hpex{background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;padding:9px 12px;font-size:.79rem;line-height:1.45;font-style:italic;color:#7c2d12;}
.hpex b{font-style:normal;font-size:.6rem;letter-spacing:.06em;color:#c2410c;display:block;margin-bottom:2px;}
.vd-status{text-align:center;font-weight:700;color:#64748b;font-size:.85rem;margin:10px 0;}
.vd-status.err{color:#dc2626;font-weight:600;}
.vd-spin{display:inline-block;width:13px;height:13px;border:2.5px solid #e2e8f0;border-top-color:var(--orange,#ff5a1f);border-radius:50%;vertical-align:-2px;margin-right:7px;animation:vdspin .8s linear infinite;}
@keyframes vdspin{to{transform:rotate(360deg);}}
.hpcard{background:#fff;border-radius:14px;padding:14px;margin-bottom:11px;box-shadow:0 1px 3px rgba(0,0,0,.08);}
.hpcard h3{font-size:.7rem;text-transform:uppercase;letter-spacing:.05em;color:#64748b;margin:0 0 8px;font-family:inherit;font-weight:800;}
.hpcard .cust-line{font-size:.98rem;font-weight:800;color:#0b1f2a;}
.hpcard .cust-sub{color:#64748b;font-size:.8rem;margin-top:2px;}
.hpcard table{width:100%;border-collapse:collapse;font-size:.82rem;color:#0b1f2a;}
.hpcard td{padding:6px 0;border-bottom:1px solid #e2e8f0;vertical-align:top;}
.hpcard td.qty{color:#64748b;white-space:nowrap;padding-left:8px;}
.hpcard td.amt{text-align:right;white-space:nowrap;font-weight:600;}
.hpcard .totals{margin-top:8px;}
.hpcard .totals div{display:flex;justify-content:space-between;padding:4px 0;font-size:.85rem;color:#0b1f2a;}
.hpcard .totals .grand{border-top:2px solid #0b1f2a;margin-top:5px;padding-top:8px;font-weight:900;font-size:1.05rem;}
.hpcard .conf{font-size:.7rem;color:#64748b;margin-top:6px;}
.hpnotes{background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:8px;font-size:.76rem;margin-top:8px;color:#0b1f2a;}
.hpcard .timing{text-align:center;font-size:.66rem;color:#64748b;margin-top:6px;line-height:1.4;}
.hpcta{display:block;text-align:center;background:var(--orange,#ff5a1f);color:#fff;font-weight:800;text-decoration:none;border-radius:12px;padding:13px 16px;font-size:.9rem;margin:2px 0 8px;}
.hpagain{display:block;width:100%;background:#fff;border:1.5px solid #e2e8f0;border-radius:12px;padding:11px;font-weight:700;color:#0b1f2a;cursor:pointer;font-family:inherit;font-size:.85rem;margin-bottom:6px;}
.hpdock{flex:none;background:linear-gradient(165deg,#14293a 0%,#0B1F2A 60%,#081820 100%);padding:10px 14px;position:relative;}
.hpdock::before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(200px 80px at 50% 110%, rgba(255,90,31,.16), transparent 70%);}
.hpcoach{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);background:#fff;color:#0b1f2a;font-weight:800;font-size:.78rem;border-radius:12px;padding:8px 14px;box-shadow:0 6px 20px rgba(11,31,42,.25);white-space:nowrap;z-index:3;animation:coachbob 1.6s ease-in-out infinite;}
.hpcoach::after{content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);border:7px solid transparent;border-top-color:#fff;}
@keyframes coachbob{0%,100%{transform:translateX(-50%) translateY(0);}50%{transform:translateX(-50%) translateY(-6px);}}
.hpeq{display:none;justify-content:center;align-items:center;gap:4px;height:22px;margin-bottom:5px;position:relative;}
.hpeq.on{display:flex;}
.hpeq span{width:4px;height:18px;border-radius:3px;background:linear-gradient(180deg,#ffb59a,#ff5a1f);animation:hpeqb .9s ease-in-out infinite;transform-origin:center;}
.hpeq span:nth-child(1){animation-delay:0s;height:11px;}
.hpeq span:nth-child(2){animation-delay:.15s;height:18px;}
.hpeq span:nth-child(3){animation-delay:.3s;height:24px;}
.hpeq span:nth-child(4){animation-delay:.1s;height:15px;}
.hpeq span:nth-child(5){animation-delay:.25s;height:22px;}
.hpeq span:nth-child(6){animation-delay:.05s;height:13px;}
.hpeq span:nth-child(7){animation-delay:.2s;height:19px;}
@keyframes hpeqb{0%,100%{transform:scaleY(.35);opacity:.65;}50%{transform:scaleY(1);opacity:1;}}
.hpmic{width:74px;height:74px;border-radius:50%;border:3px solid rgba(255,255,255,.14);background:linear-gradient(145deg,#ff8a55,#ff5a1f 55%,#ef4708);color:#fff;box-shadow:0 8px 26px rgba(255,90,31,.5), inset 0 2px 4px rgba(255,255,255,.3), inset 0 -3px 6px rgba(0,0,0,.18);cursor:pointer;user-select:none;-webkit-user-select:none;touch-action:none;transition:transform .12s, background .12s;display:flex;align-items:center;justify-content:center;margin:0 auto;position:relative;z-index:1;}
.hpmic:not(.rec){animation:hpbreathe 2.8s ease-in-out infinite;}
.hpmic.rec{background:#dc2626;transform:scale(1.12);animation:hppulse 1s infinite;}
.hpmic svg{width:30px;height:30px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;}
@keyframes hppulse{0%{box-shadow:0 0 0 0 rgba(220,38,38,.5)}100%{box-shadow:0 0 0 20px rgba(220,38,38,0)}}
@keyframes hpbreathe{0%,100%{box-shadow:0 6px 20px rgba(255,90,31,.45), 0 0 0 0 rgba(255,90,31,.28);}55%{box-shadow:0 6px 24px rgba(255,90,31,.5), 0 0 0 14px rgba(255,90,31,0);}}
.hplabel{text-align:center;font-size:.7rem;color:#8fa0ab;margin-top:7px;font-weight:600;letter-spacing:.02em;position:relative;z-index:1;}
.hplabel.rec{color:#ffb59a;font-weight:800;font-variant-numeric:tabular-nums;}
