/* "Ask ProctorSys" on the public website: the round helper button and its panel (ask-site.js). */
.askp-fab{position:fixed;right:18px;bottom:18px;z-index:90;width:58px;height:58px;border-radius:50%;border:0;background:#141a2b;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 12px 24px -10px rgba(20,26,43,.6);transition:transform .15s ease-out}
.askp-fab:hover{background:#454c5e}
.askp-fab:active{transform:scale(.97)}
.askp-fab svg{width:26px;height:26px}
.askp-fab .shut{font-size:26px;line-height:1;color:#fff}
/* "Ask ProctorSys" on hover: after a short pause, never on touch. */
.askp-fab::after{content:'Ask ProctorSys';position:absolute;right:calc(100% + 12px);top:50%;translate:0 -50%;scale:.95;white-space:nowrap;background:#141a2b;color:#fff;font:600 13px/1 Figtree,system-ui,sans-serif;padding:8px 12px;border-radius:10px;opacity:0;pointer-events:none;transition:opacity .15s ease-out,scale .15s ease-out;box-shadow:0 8px 20px -8px rgba(20,26,43,.5)}
@media (hover:hover){.askp-fab:not(.open):hover::after{opacity:1;scale:1;transition-delay:.3s}}
.askp-fab:not(.open):focus-visible::after{opacity:1;scale:1}
.askp-nudge{position:fixed;right:18px;bottom:88px;z-index:90;width:250px;background:#fff;border:1px solid #e1e6ef;border-radius:14px;padding:10px 12px;font:14px/1.4 Figtree,system-ui,sans-serif;color:#141a2b;box-shadow:0 12px 28px -14px rgba(20,26,43,.45);animation:askp-rise .22s cubic-bezier(.32,.72,0,1) both;cursor:pointer}
.askp-nudge b{font-weight:700}
.askp-nudge .x{float:right;border:0;background:none;font-size:18px;line-height:1;color:#8c929b;cursor:pointer;margin:-4px -4px 0 6px}
.askp-nudge small{display:block;color:#585d66;margin-top:2px}
.askp-scrim{position:fixed;inset:0;z-index:94;background:rgba(15,20,35,.45);animation:askp-fade .24s both}
.askp-panel{position:fixed;z-index:95;left:0;right:0;bottom:0;max-height:85dvh;display:flex;flex-direction:column;background:#f3f5f9;border-radius:24px 24px 0 0;font:15px/1.45 Figtree,system-ui,sans-serif;color:#141a2b;text-align:left;box-shadow:0 -10px 40px rgba(0,0,0,.2);animation:askp-up .28s cubic-bezier(.32,.72,0,1) both}
@media (min-width:1024px){
  .askp-scrim{display:none}
  .askp-panel{left:auto;right:24px;bottom:92px;width:400px;height:min(600px,calc(100dvh - 8rem));max-height:none;border-radius:20px;border:1px solid #e1e6ef;transform-origin:bottom right;animation:askp-in .2s cubic-bezier(.23,1,.32,1) both}
  .askp-fab{right:24px;bottom:24px}
  .askp-nudge{right:24px;bottom:94px}
}
.askp-head{background:#fff;border-bottom:1px solid #e1e6ef;padding:8px 16px 12px;border-radius:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0}
.askp-grab{width:40px;height:6px;border-radius:3px;background:#e1e6ef;margin:0 auto 6px}
@media (min-width:1024px){.askp-grab{display:none}.askp-head{padding-top:14px}}
.askp-title{display:flex;justify-content:space-between;align-items:center}
.askp-title h2{margin:0;font:800 22px/1.15 'Bricolage Grotesque',Figtree,sans-serif;letter-spacing:-.01em;color:#141a2b}
.askp-who{display:flex;align-items:center;gap:10px}
.askp-who img{box-sizing:content-box;width:15px;height:22px;padding:7px 9px;border:1px solid #e1e6ef;border-radius:12px;background:#fff}
.askp-close{border:0;background:none;width:40px;height:40px;border-radius:50%;font-size:22px;color:#454c5e;cursor:pointer}
.askp-close:hover{background:#f3f5f9}
.askp-ai{display:flex;gap:6px;align-items:center;font-size:13px;color:#585d66;font-weight:600;margin-top:2px}
.askp-chips{background:#fff;border-bottom:1px solid #e1e6ef;padding:10px 16px;display:flex;flex-wrap:wrap;gap:6px}
.askp-chip{border:1px solid #e1e6ef;background:#f3f5f9;border-radius:999px;padding:6px 12px;font:600 13px Figtree,sans-serif;color:#141a2b;cursor:pointer;transition:transform .15s ease-out}
.askp-chip:active{transform:scale(.97)}
.askp-chip:hover{background:#fff;border-color:#cfdaec}
/* Each message keeps its full height: without grid-auto-rows, once the chat
   was taller than the panel the grid squeezed every answer to its first line. */
.askp-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px;display:grid;grid-auto-rows:max-content;gap:14px;align-content:start}
.askp-hi{margin:0;font-weight:600}
.askp-me{margin:0;justify-self:end;max-width:85%;background:#141a2b;color:#fff;border-radius:14px 14px 4px 14px;padding:8px 14px;font-weight:600;font-size:14px;animation:askp-rise .22s cubic-bezier(.32,.72,0,1) both}
.askp-card{border:1.5px dashed #8c929b;border-radius:20px;background:#fff;overflow:hidden;animation:askp-rise .22s cubic-bezier(.32,.72,0,1) both}
.askp-card .tag{display:flex;gap:6px;align-items:center;font-size:12px;font-weight:600;color:#585d66;padding:12px 16px 0}
.askp-card .txt{padding:8px 16px 14px}
.askp-card>.txt:first-child{padding-top:14px}
.askp-card ol,.askp-card ul{margin:0;padding-left:20px}
/* Links in an answer (the DPDP documents) must look like links: the pages reset a{}. */
.askp-card .txt a{color:#C9241B;font-weight:600;text-decoration:underline;text-underline-offset:2px}
.askp-card .txt a:hover{color:#A71C14}
.askp-acts{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px;border-top:1.5px dashed #c5c9d0}
.askp-btn{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border-radius:12px;font:700 14px Figtree,sans-serif;cursor:pointer;text-decoration:none;transition:transform .15s ease-out}
.askp-btn:active{transform:scale(.97)}
.askp-btn:disabled{opacity:.6;cursor:default;transform:none}
.askp-red{background:#c9241b;color:#fff;border:0}
.askp-red:hover{background:#a71c14}
.askp-wa{background:#fff;color:#137a3c;border:1.5px solid #1fa855}
/* While the AI reads the question: the same card, gently breathing. */
.askp-wait .tag{padding-bottom:12px}
.askp-wait{animation:askp-rise .22s cubic-bezier(.32,.72,0,1) both,askp-breathe 1.4s ease-in-out .22s infinite}
.askp-form{display:grid;gap:8px;background:#fff;border:1px solid #e1e6ef;border-radius:20px;padding:14px;animation:askp-rise .22s cubic-bezier(.32,.72,0,1) both}
.askp-form h3{margin:0 0 2px;font:800 17px 'Bricolage Grotesque',Figtree,sans-serif;color:#141a2b}
.askp-form input,.askp-form select{min-height:44px;border:1px solid #cfd6e4;border-radius:12px;padding:0 12px;font:15px Figtree,sans-serif}
.askp-form input:focus,.askp-form select:focus{outline:none;border-color:#141a2b}
.askp-form p{margin:0;font-size:12.5px;color:#585d66}
.askp-form p a{color:#141a2b;font-weight:700}
.askp-form .askp-err{color:#a71c14;font-weight:600}
/* The hidden field only a script fills in (as on the contact page). */
.askp-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.askp-foot{background:#fff;border-top:1px solid #e1e6ef;padding:10px 16px calc(12px + env(safe-area-inset-bottom))}
.askp-row{position:relative}
.askp-foot input{width:100%;box-sizing:border-box;min-height:44px;border:1px solid #e1e6ef;border-radius:14px;padding:0 52px 0 14px;font:15px Figtree,sans-serif}
.askp-foot input:focus{outline:none;border-color:#141a2b}
.askp-send{position:absolute;right:4px;top:4px;width:36px;height:36px;border:0;border-radius:10px;background:#141a2b;color:#fff;display:grid;place-items:center;cursor:pointer;transition:background-color .15s ease-out,color .15s ease-out,transform .12s ease-out}
.askp-send:active{transform:scale(.94)}
.askp-send:disabled{background:#eef1f6;color:#8c929b;cursor:default;transform:none}
.askp-send:focus-visible{outline:2px solid #141a2b;outline-offset:2px}
@keyframes askp-up{from{transform:translateY(100%)}}
@keyframes askp-in{from{opacity:0;transform:scale(.96)}}
@keyframes askp-fade{from{opacity:0}}
@keyframes askp-rise{from{opacity:0;translate:0 4px}}
@keyframes askp-breathe{50%{opacity:.55}}
@media (prefers-reduced-motion:reduce){
  .askp-panel,.askp-nudge,.askp-me,.askp-card,.askp-form{animation-name:askp-fade}
  .askp-wait{animation:none}
  .askp-fab::after,.askp-send{transition:none}
}
