/* otto-edge.v2.css (18 Nov 2026): otto-edge.v1.css without one-sided borders; lines became backgrounds, shading or spacing. */
/* =====================================================================
   "Help is always on the edge of the page" (Browser Security, Nov 2026)
   Otto, the SafeToOpen Assistant, drawn from the extension's own artwork, colours and wording:
   faces, ring and halo per verdict, the corner badge, the hover bubble, the menu and the right-click menu.
   Otto keeps the product's own colours here (including its mint outline): this is the product as it looks.
   ===================================================================== */
.oe{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.55fr);gap:clamp(24px,4vw,48px);align-items:center;max-width:1120px;margin:0 auto;text-align:left}

/* ---------------------------------------------------------------- the list */
.oe__list h3{font-size:13px;font-weight:600;color:#55607a;margin:0 0 10px}
.oe__list ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.oe__list button{all:unset;box-sizing:border-box;display:block;width:100%;padding:11px 14px;border-radius:8px;cursor:pointer}
.oe__list b{display:block;font-size:15px;font-weight:600;color:#0f1827}
.oe__list small{display:block;font-size:13.5px;line-height:1.45;color:#55607a;margin-top:2px}
.oe__list button:hover{background:#f5f6fb}
.oe__list button[aria-pressed="true"]{background:#eef0f8}
.oe__list button[aria-pressed="true"] b{color:#0441a8}
.oe__list button:focus-visible{outline:2px solid #0441a8;outline-offset:2px}
.oe__bar{display:none;height:2px;margin-top:8px;background:#e3e6f1;border-radius:2px;overflow:hidden}
.oe__list button[aria-pressed="true"] .oe__bar{display:block}
.oe__bar i{display:block;height:100%;width:0;background:#0441a8}
.oe__bar i.run{animation:oeFill var(--dur,9s) linear forwards}
@keyframes oeFill{to{width:100%}}
.oe__cap{margin:16px 0 0;font-size:14px;line-height:1.55;color:#55607a;max-width:44ch;min-height:4.6em}

/* ---------------------------------------------------------------- the browser window */
.oe__win{border:1px solid #d6dbe8;border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 30px 70px -36px rgba(15,24,39,.35)}
.oe__barline{display:flex;align-items:center;gap:10px;padding:9px 12px;background:#f1f3f8}
.oe__dots{display:flex;gap:6px}
.oe__dots i{width:10px;height:10px;border-radius:50%;background:#cfd4df}
.oe__url{display:inline-flex;align-items:center;gap:7px;flex:1;max-width:340px;padding:5px 12px;border-radius:6px;background:#fff;border:1px solid #e1e5ee;font-size:12.5px;color:#3d4660}
.oe__url svg{width:12px;height:12px;flex:none;color:#55607a}
.oe__stage{position:relative;height:440px;overflow:hidden;background:#fff}

/* example pages */
.oep{position:absolute;inset:0;padding:22px 26px;opacity:0;transition:opacity .35s}
.oep.on{opacity:1}
.oep__nav{display:flex;align-items:center;gap:10px;font-weight:700;font-size:14px;color:#1b2a4a;margin-bottom:18px}
.oep__nav i{width:22px;height:22px;border-radius:6px;display:block}
.oep__nav span.links{margin-left:auto;display:flex;gap:14px;font-weight:500;font-size:12px;color:#7a8396}
.oep__hero{height:120px;border-radius:8px;margin-bottom:14px}
.oep__row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.oep__row div{height:86px;border-radius:8px;background:#f2f4f8}
.oep__line{height:9px;border-radius:5px;background:#eceff4;margin:9px 0}
.oep__card{width:300px;margin:6px auto 0;border:1px solid #e3e6ee;border-radius:10px;padding:22px 24px}
.oep__card h4{margin:0 0 4px;font-size:16px;color:#14213d}
.oep__card p{margin:0 0 14px;font-size:12px;color:#6b7385}
.oep__fld{height:34px;border:1px solid #d5d9e2;border-radius:6px;margin-bottom:10px;display:flex;align-items:center;padding:0 10px;font-size:12px;color:#8a90a0}
.oep__btn{height:36px;border-radius:6px;color:#fff;font-weight:600;font-size:13px;display:flex;align-items:center;justify-content:center}

/* ---------------------------------------------------------------- Otto */
.otto{position:absolute;right:14px;top:58%;width:54px;height:54px;transform:translateY(-50%);z-index:20;transition:top .9s cubic-bezier(.3,.8,.3,1),opacity .4s}
.otto.idle{opacity:.25}
.otto__tab{position:absolute;inset:0;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;transition:box-shadow .3s,background-color .3s}
.otto__tab svg.body{width:96%;height:96%;overflow:visible}
.otto[data-st="neutral"] .otto__tab{box-shadow:0 2px 5px rgba(0,0,0,.1),0 0 0 1.5px #D7DCE3}
.otto[data-st="delighted"] .otto__tab{box-shadow:0 2px 5px rgba(0,0,0,.1),0 0 0 2px #15803D}
.otto[data-st="focused"] .otto__tab{background:#F2F9FE;box-shadow:0 2px 5px rgba(0,0,0,.1),0 0 0 2px #2BA8E6}
.otto[data-st="suspicious"] .otto__tab{background:#FEF6E8;box-shadow:0 2px 5px rgba(0,0,0,.1),0 0 0 2.5px #C8821A}
.otto[data-st="alarmed"] .otto__tab{background:#FDECEC;box-shadow:0 2px 6px rgba(0,0,0,.14),0 0 0 3px #E5484D,0 0 0 6px rgba(229,72,77,.32)}
.otto[data-st="asleep"] .otto__tab{box-shadow:0 2px 5px rgba(0,0,0,.1),0 0 0 1.5px #C7CCD4}
.otto__halo{position:absolute;inset:-18px;border-radius:50%;opacity:0;transition:opacity .3s,background .3s;filter:blur(10px)}
.otto[data-st="alarmed"] .otto__halo{opacity:.62;background:#E5484D}
.otto[data-st="suspicious"] .otto__halo{opacity:.40;background:#F5A623}
.otto[data-st="focused"] .otto__halo{opacity:.26;background:#2BA8E6}
.otto__pip{position:absolute;top:-6px;right:-6px;width:21px;height:21px;border-radius:50%;background:#fff;display:none;align-items:center;justify-content:center;box-shadow:0 1px 3px rgba(0,0,0,.18)}
.otto__pip svg{width:19px;height:19px}
.otto__pip.on{display:flex}
.otto.flash .otto__tab svg.body{animation:oeFlash .45s ease-in-out 3}
@keyframes oeFlash{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(1.09)}}
.otto .sto-otto-scanline{transform-box:view-box;transform-origin:center;animation:oeScan 1.7s ease-in-out infinite}
@keyframes oeScan{0%{transform:translateY(-46px);opacity:0}12%{opacity:1}88%{opacity:1}100%{transform:translateY(46px);opacity:0}}
.otto .sto-otto-z{transform-box:view-box;animation:oeZ 3.6s ease-in-out infinite both}
.otto .sto-otto-z2{animation-delay:1.2s}.otto .sto-otto-z3{animation-delay:2.4s}
@keyframes oeZ{0%{opacity:0;transform:translate(0,8px)}15%{opacity:1}55%{opacity:1}100%{opacity:0;transform:translate(11px,-20px)}}
.otto .sto-otto-upper{filter:drop-shadow(0 4px 3px rgba(1,42,115,.2))}

/* the hover bubble (Otto's tooltip) */
.otto__tip{position:absolute;top:50%;right:calc(100% + 12px);transform:translateY(-50%);display:flex;align-items:center;gap:7px;width:max-content;max-width:250px;padding:7px 11px;border-radius:12px;box-shadow:0 4px 14px rgba(10,31,68,.18);font:700 12px/1.25 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;opacity:0;transition:opacity .2s;pointer-events:none}
.otto__tip.on{opacity:1}
.otto__tip i{width:8px;height:8px;border-radius:50%;flex:none}
.otto__tip::after{content:"";position:absolute;top:50%;right:-7px;transform:translateY(-50%);border-style:solid;border-width:7px 0 7px 8px;border-color:transparent transparent transparent var(--tipbg)}

/* the menu (one click on Otto) */
.oem{position:absolute;right:78px;bottom:24px;width:286px;background:#fff;border-radius:14px;box-shadow:0 16px 44px rgba(10,31,68,.22),0 0 0 1px rgba(10,31,68,.06);overflow:hidden;opacity:0;transform:translateY(8px) scale(.98);transform-origin:bottom right;transition:opacity .2s,transform .25s;z-index:30;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.oem.on{opacity:1;transform:none}
.oem__head{display:flex;align-items:center;gap:8px;padding:11px 14px;font-size:13px;font-weight:700}
.oem__head i{width:8px;height:8px;border-radius:50%}
.oem__it{display:flex;align-items:center;gap:11px;padding:9px 14px;font-size:13.5px;color:#1e293b;transition:background .15s}
.oem__it svg{width:17px;height:17px;flex:none;color:#475569}
.oem__it.hot{background:#e8effd;color:#0b3fa6}
.oem__it.hot svg{color:#0b3fa6}
.oem__plus{margin-left:auto;display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border-radius:999px;background:linear-gradient(90deg,#c97c1d,#e8a33c);color:#fff;font-size:11px;font-weight:700}
.oem__tog{margin-left:auto;width:28px;height:16px;border-radius:999px;background:#cbd2dc;position:relative;flex:none}
.oem__tog::after{content:"";position:absolute;left:2px;top:2px;width:12px;height:12px;border-radius:50%;background:#fff}
.oem__it.dash{color:#0b3fa6}
.oem__it.dash svg{color:#0b3fa6}

/* "What is this site?" */
.oew{position:absolute;right:78px;bottom:40px;width:300px;background:#fff;border-radius:14px;box-shadow:0 16px 44px rgba(10,31,68,.24),0 0 0 1px rgba(10,31,68,.06);padding:16px 18px;opacity:0;transform:translateY(8px);transition:opacity .25s,transform .3s;z-index:31;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.oew.on{opacity:1;transform:none}
.oew__k{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:#475569;margin-bottom:8px}
.oew__k svg{width:16px;height:16px;color:#0b3fa6}
.oew b{display:block;font-size:15px;color:#0f1827;margin-bottom:6px}
.oew p{margin:0;font-size:13px;line-height:1.5;color:#334155}
.oew small{display:block;margin-top:10px;font-size:11.5px;color:#64748b}

/* right-click menu */
.oec{position:absolute;right:70px;top:46px;width:222px;background:#fff;border-radius:12px;box-shadow:0 14px 40px rgba(10,31,68,.22),0 0 0 1px rgba(10,31,68,.06);overflow:hidden;opacity:0;transition:opacity .2s;z-index:30;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.oec.on{opacity:1}
.oec .oem__it:first-child{border-top:0}

/* the pointer */
.oe__cursor{position:absolute;left:62%;top:78%;width:22px;height:22px;z-index:40;opacity:0;transition:left .8s cubic-bezier(.3,.8,.3,1),top .8s cubic-bezier(.3,.8,.3,1),opacity .25s;pointer-events:none}
.oe__cursor.on{opacity:1}
.oe__cursor.click svg{animation:oeClick .3s ease}
@keyframes oeClick{50%{transform:scale(.82)}}

/* ---------------------------------------------------------------- narrow */
@media (max-width:900px){
  .oe{grid-template-columns:1fr}
  .oe__list ol{flex-direction:row;flex-wrap:wrap;gap:6px}
  .oe__list li{flex:1 1 45%}
  .oe__list small{display:none}
  .oe__list b{font-size:13.5px}
  .oe__cap{min-height:0}
}
@media (max-width:520px){
  .oe__stage{height:400px}
  .oep{padding:16px}
  .oep__card{width:auto}
  .oem,.oew{right:70px;width:min(260px,calc(100% - 84px))}
  .oem__it{font-size:12.5px;padding:8px 12px}
}
@media (prefers-reduced-motion:reduce){.oe *{animation:none!important;transition:none!important}}
/* otto-edge.v3.css (18 Nov 2026): no progress bars */
.oe__bar{display:none!important}
