/* AMOP · Encuesta de satisfacción. Author: jmazae. */
.aop{--aop-ink:#1b1f55;--aop-brand:#2f3489;--aop-cyan:#089ae5;--aop-brand-fg:#fff;--aop-mobile-bottom:102px;position:relative;z-index:9000;font:14px/1.5 system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--aop-ink);color-scheme:light}
.aop *{box-sizing:border-box;min-width:0}
.aop [hidden]{display:none!important}
.aop button,.aop input,.aop textarea{font:inherit;letter-spacing:normal;text-transform:none}
.aop button{cursor:pointer;touch-action:manipulation}
.aop svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.5;flex-shrink:0;fill:none}
.aop .aop-launcher{position:fixed;right:0;top:45%;display:flex;align-items:center;gap:10px;writing-mode:vertical-rl;transform:rotate(180deg);padding:19px 12px;border:1px solid #ffffff30;border-radius:0 14px 14px 0;background:var(--aop-brand);color:var(--aop-brand-fg);box-shadow:0 5px 24px #1b1f5526;font-size:13px;font-weight:600;min-width:46px;min-height:132px;z-index:1}
.aop .aop-launcher svg{transform:rotate(180deg);width:20px;height:20px}
.aop .aop-panel{position:fixed;right:24px;bottom:28px;width:366px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 96px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;background:#fff;border:1px solid #e1e6f0;border-radius:18px;padding:29px 24px 24px;box-shadow:0 18px 65px #1b1f552b;z-index:2;text-align:left;animation:aop-reveal .16s ease-out}
.aop .aop-close{position:absolute;right:13px;top:10px;display:grid;place-items:center;width:36px;height:36px;min-height:36px;border:0;background:transparent;color:#65718a;border-radius:50%;padding:7px}
.aop .aop-close:hover{background:#f1f5fc;color:#1b1f55}
.aop .aop-close svg{width:20px;height:20px}
.aop .aop-eyebrow{display:block;padding-right:30px;font-size:9px;line-height:1.5;letter-spacing:.14em;font-weight:700;color:#0875b6;margin-bottom:12px}
.aop h2#aop-title{font:550 23px/1.2 system-ui,-apple-system,'Segoe UI',sans-serif;letter-spacing:-.7px;color:var(--aop-ink);margin:0 0 12px;padding:0;border:0;text-transform:none;overflow-wrap:anywhere}
.aop .aop-intro{font-size:13px;color:#66728a;line-height:1.6;margin:0 0 21px}
.aop .aop-rating{border:0;margin:0;padding:0;min-width:0}
.aop .aop-stars{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:0 -4px}
.aop .aop-star{position:relative;display:grid;place-items:center;min-height:49px;margin:0;padding:4px;border-radius:9px;color:#2f3489;cursor:pointer}
.aop .aop-star input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer;z-index:1}
.aop .aop-star svg{display:block;width:36px;height:36px;stroke-width:1.5;pointer-events:none;transition:fill .12s,color .12s,transform .12s}
.aop .aop-star.is-filled{color:#008cc7}
.aop .aop-star.is-filled svg{fill:currentColor}
.aop .aop-star:has(input:focus-visible){outline:3px solid #089ae5;outline-offset:0;background:#eef8ff}
.aop .aop-scale{display:flex;justify-content:space-between;gap:15px;color:#627089;font-size:9px;line-height:1.5;margin-top:4px}
.aop .aop-selection{font-size:12px;line-height:1.5;color:#0875b6;min-height:20px;text-align:center;font-weight:600;margin:15px 0 20px}
.aop .aop-comment-label{font-size:11px;font-weight:500;line-height:1.5;display:block;color:#3f4f6c;margin:0 0 7px}
.aop .aop-comment-label span{font-weight:400;color:#6c7890}
.aop textarea#aop-comment{display:block;width:100%;border:1px solid #cdd7e7;border-radius:9px;resize:vertical;min-height:76px;max-height:150px;background:#fbfcff;color:#243452;font-size:13px;line-height:1.6;padding:10px 11px;margin:0;box-shadow:none}
.aop textarea::placeholder{color:#7c879a}
.aop .aop-privacy{font-size:9px;line-height:1.6;color:#69758b;margin:8px 0 16px}
.aop .aop-submit{display:flex;align-items:center;justify-content:center;gap:13px;width:100%;min-height:46px;background:var(--aop-brand);color:var(--aop-brand-fg);border:1px solid transparent;border-radius:9px;padding:11px 16px;font-size:13px;line-height:1.5;font-weight:600;box-shadow:0 7px 16px -10px #1b1f5540}
.aop .aop-submit span{font-size:19px;font-weight:400;line-height:1}
.aop .aop-submit:disabled{cursor:wait;opacity:.7}
.aop .aop-feedback:empty{display:none}
.aop .aop-feedback{font-size:13px;line-height:1.7;background:#edf7ff;border-radius:10px;padding:15px;margin-top:15px;color:#244b6d}
.aop .aop-feedback.is-error{background:#fff2ef;color:#93362c}
.aop .aop-demo{font-size:10px;color:#65718a;margin:15px 0 0}
.aop .aop-hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.aop .aop-sr{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.aop button:focus-visible,.aop textarea:focus-visible{outline:3px solid #089ae5;outline-offset:3px}
@keyframes aop-reveal{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){.aop .aop-launcher{top:auto;right:16px;bottom:max(var(--aop-mobile-bottom,102px),calc(env(safe-area-inset-bottom) + 24px));transform:none;writing-mode:horizontal-tb;min-height:43px;min-width:0;padding:10px 15px;gap:8px;border-radius:30px;font-size:12px;box-shadow:0 7px 24px #1b1f5530}.aop .aop-launcher svg{transform:none;width:18px;height:18px}.aop .aop-panel{right:12px;bottom:max(var(--aop-mobile-bottom,102px),calc(env(safe-area-inset-bottom) + 24px));width:366px;max-width:calc(100vw - 24px);max-height:calc(100dvh - var(--aop-mobile-bottom,102px) - 55px);padding:27px 22px 22px}.aop.is-open .aop-launcher{visibility:hidden}.aop textarea#aop-comment{font-size:16px}.aop .aop-star svg{width:35px;height:35px}}
@media(max-width:350px){.aop .aop-panel{padding-left:18px;padding-right:18px}.aop h2#aop-title{font-size:21px}.aop .aop-star svg{width:30px;height:30px}}
@media(prefers-reduced-motion:reduce){.aop .aop-panel{animation:none}.aop .aop-star svg{transition:none}}
@media(max-width:700px){.aop .aop-launcher{bottom:calc(max(var(--aop-mobile-bottom,102px),env(safe-area-inset-bottom)) + var(--aop-keyboard-inset,0px))}.aop .aop-panel{bottom:calc(max(var(--aop-mobile-bottom,102px),env(safe-area-inset-bottom)) + var(--aop-keyboard-inset,0px));max-height:calc(var(--aop-viewport-height,100dvh) - var(--aop-mobile-bottom,102px) - 32px)}}
