/* Atlantic AIM — sign-in, sign-up and message pages. One look for every door into the product. */
@font-face{font-family:Inter;src:url(/fonts/inter.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
:root{--brand:#0343C3;--dark:#0D1B2A;--ink:#0D1B2A;--text:#344054;--muted:#667085;--line:#e4e8f0;--field:#d0d7e2;
  font-family:Inter,"Segoe UI",system-ui,-apple-system,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;min-height:100vh;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);color:var(--text);background:#fff;font-size:15px;line-height:1.5}
a{color:var(--brand);text-decoration:none;font-weight:500}a:hover{text-decoration:underline}
[hidden]{display:none!important}

/* ---- the picture side (same photograph and blue wash as the app's own sign-in screen) ---- */
.side{position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:56px 64px 60px;color:#fff;overflow:hidden;background:#0b2a6b;isolation:isolate}
.side:before{content:"";position:absolute;inset:-4%;z-index:-2;background:url(/img/hero.jpg) center/cover;animation:drift 38s ease-in-out infinite alternate;will-change:transform}
.side:after{content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(90deg,rgba(8,30,82,.95) 0%,rgba(3,52,160,.62) 45%,rgba(3,67,195,.18) 100%),linear-gradient(0deg,rgba(8,30,82,.92),transparent 50%)}
.glow{position:absolute;z-index:-1;left:-20%;bottom:-30%;width:90%;aspect-ratio:1;border-radius:50%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(80,140,255,.34),transparent);animation:glow 16s ease-in-out infinite alternate}

.logo img{display:block;height:30px;width:auto}
.kicker:before{content:"";display:block;width:44px;height:3px;border-radius:2px;background:#6f9bff;margin-bottom:20px;transform-origin:left;animation:grow .7s .35s cubic-bezier(.2,.7,.2,1) both}
.kicker{font-size:11.5px;letter-spacing:.24em;text-transform:uppercase;color:#8FB1FF;font-weight:600;margin:0 0 18px}
.side h1{font-size:clamp(38px,4.4vw,60px);line-height:1.06;font-weight:300;letter-spacing:-.022em;margin:0 0 22px;max-width:640px}
.side h1 b{font-weight:700;display:block}
.lede{font-size:17px;line-height:1.55;color:#d5e0fb;max-width:520px;margin:0}
.pillars{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:40px 0 0;padding:22px 0 0;border-top:1px solid rgba(255,255,255,.2);list-style:none;max-width:640px}
.pillars li{padding-right:16px;font-size:12.5px;line-height:1.45;color:#c3d2f6}
.pillars b{display:block;font-size:11.5px;letter-spacing:.2em;text-transform:uppercase;color:#fff;font-weight:700;margin-bottom:5px}
.ticks{list-style:none;margin:30px 0 0;padding:0;max-width:520px}
.ticks li{display:flex;gap:12px;align-items:flex-start;font-size:15.5px;line-height:1.5;color:#e3eaff;margin:0 0 13px}
.ticks svg{flex:none;width:20px;height:20px;margin-top:2px}

/* ---- the form side ---- */
main{display:flex;flex-direction:column;min-height:100vh;padding:40px 32px 28px}
.mlogo{display:none}
.card{width:100%;max-width:404px;margin:auto}
/* a company's own address: its logo stands alone above the sign-in, its colours are in the wash */
.ownerlogo{display:flex;align-items:center;gap:16px;margin:0 0 36px}
.ownerlogo img{display:block;max-height:104px;max-width:min(360px,100%);width:auto;height:auto}
.ownerlogo b{font-size:23px;line-height:1.2;letter-spacing:-.01em;color:var(--ink);font-weight:700}
.cochip{display:grid;place-items:center;flex:none;height:68px;min-width:68px;border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,.28);
  background:linear-gradient(140deg,color-mix(in srgb,var(--brand) 82%,#fff) 0%,var(--brand) 45%,color-mix(in srgb,var(--brand) 62%,#000) 100%);box-shadow:0 14px 28px -14px color-mix(in srgb,var(--brand) 80%,transparent)}
.cochip i{font-style:normal;font-weight:700;font-size:21px;letter-spacing:.06em;color:#fff;padding:0 15px}
.branded .card{max-width:430px}
.branded h2{font-size:40px;letter-spacing:-.03em;margin-bottom:12px}
.branded .sub{font-size:16.5px;line-height:1.55;color:#475467}
.branded #powered{display:none}
.pw-side{display:flex;align-items:center;gap:10px;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.75);text-decoration:none;animation:fade .8s .1s both}
.pw-side:hover{text-decoration:none;color:#fff}.pw-side img{display:block;height:18px;width:auto}
.branded .side{background:var(--dark)}
.branded .side:after{background:linear-gradient(90deg,color-mix(in srgb,var(--dark) 95%,transparent) 0%,color-mix(in srgb,var(--brand) 60%,transparent) 48%,color-mix(in srgb,var(--brand) 16%,transparent) 100%),linear-gradient(0deg,color-mix(in srgb,var(--dark) 92%,transparent),transparent 52%)}
.branded .glow{background:radial-gradient(closest-side,color-mix(in srgb,var(--brand) 45%,transparent),transparent)}
.branded .kicker{color:color-mix(in srgb,var(--brand) 35%,#fff)}.branded .kicker:before{background:color-mix(in srgb,var(--brand) 45%,#fff)}
.eyebrow{font-size:11.5px;letter-spacing:.22em;text-transform:uppercase;color:var(--brand);font-weight:700;margin:0 0 10px}
h2{font-size:30px;line-height:1.15;letter-spacing:-.02em;font-weight:700;color:var(--ink);margin:0 0 8px}
.sub{color:var(--muted);margin:0 0 26px;font-size:15.5px}
.sub b{color:var(--ink);font-weight:600}
.tagline{text-align:center;margin:0 0 6px;line-height:1.7}
.tagline b{display:block;font-size:14px;font-weight:600;color:var(--ink)}
.tagline span{font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--brand);font-weight:700}
label{display:block;font-size:13px;font-weight:600;color:var(--ink);margin:16px 0 7px}
input,select{width:100%;height:46px;padding:0 14px;border:1px solid var(--field);border-radius:10px;font:inherit;font-size:15px;color:var(--ink);background:#fff;transition:border-color .15s,box-shadow .15s}
input::placeholder{color:#98a2b3}
input:hover,select:hover{border-color:#b3bdcc}
input:focus,select:focus,.addr:focus-within,.pw:focus-within{outline:0;border-color:var(--brand);box-shadow:0 0 0 4px color-mix(in srgb,var(--brand) 16%,transparent)}
select{appearance:none;-webkit-appearance:none;padding-right:38px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23667085' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center}
input[type=checkbox]{appearance:auto;width:16px;height:16px;padding:0;border-radius:4px;accent-color:var(--brand);flex:none;box-shadow:none}
.pw,.addr{display:flex;align-items:stretch;border:1px solid var(--field);border-radius:10px;background:#fff;overflow:hidden;transition:border-color .15s,box-shadow .15s}
.pw input,.addr input{border:0;border-radius:0;box-shadow:none!important;min-width:0;flex:1}
.pw button{all:unset;cursor:pointer;padding:0 14px;font-size:13px;font-weight:600;color:var(--muted);display:flex;align-items:center}
.pw button:hover,.pw button:focus-visible{color:var(--brand)}
.addr span{padding:0 14px;color:var(--muted);background:#f5f7fb;border-left:1px solid var(--line);display:flex;align-items:center;font-size:14.5px;white-space:nowrap}
.two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.row{display:flex;justify-content:space-between;align-items:center;margin:16px 0 4px;font-size:13.5px}
.row label{display:flex;gap:8px;align-items:center;margin:0;font-weight:500;color:var(--text);cursor:pointer}
button.cta,form>button{width:100%;height:50px;border:0;border-radius:10px;background:var(--brand);color:#fff;font:inherit;font-weight:600;font-size:15.5px;cursor:pointer;margin-top:20px;
  box-shadow:0 1px 2px rgba(13,27,42,.2),0 10px 22px -12px color-mix(in srgb,var(--brand) 85%,transparent);transition:filter .15s,transform .05s}
form>button:hover{filter:brightness(1.08)}form>button:active{transform:translateY(1px)}
form>button:focus-visible{outline:0;box-shadow:0 0 0 4px color-mix(in srgb,var(--brand) 28%,transparent)}
form>button:disabled{opacity:.65;cursor:default;filter:none}
.msg,.note{border-radius:10px;padding:12px 14px;font-size:14px;line-height:1.45;margin:16px 0 0}
.msg{background:#fef3f2;border:1px solid #fecdca;color:#b42318}
.note{background:#ecfdf3;border:1px solid #abefc6;color:#067647;margin:0 0 18px}
.hint{font-size:12.5px;color:var(--muted);margin-top:7px;min-height:18px}.hint.ok{color:#067647;font-weight:500}.hint.bad{color:#b42318}
.opt{font-weight:400;color:var(--muted)}
.terms{display:flex;gap:10px;align-items:flex-start;font-weight:400;font-size:13.5px;line-height:1.5;color:var(--text);margin-top:18px;cursor:pointer}
.terms input{margin-top:2px}
.fine{font-size:12.5px;line-height:1.55;color:var(--muted);text-align:center;margin:14px 0 0}
.alt{margin:26px 0 0;padding-top:20px;border-top:1px solid var(--line);font-size:14px;color:var(--muted);text-align:center}
.alt a{font-weight:600}
.powered{display:flex;gap:8px;align-items:center;justify-content:center;font-size:11.5px;letter-spacing:.04em;color:#98a2b3;margin:26px 0 0}
.powered img{display:block;height:14px;width:auto;opacity:.75}.powered a:hover img{opacity:1}
.place{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);border-radius:10px;padding:14px 16px;margin:10px 0;color:var(--ink);font-weight:600}
.place:after{content:"→";color:var(--brand)}
.place:hover{border-color:var(--brand);text-decoration:none;background:#f7f9ff}
.done{text-align:left}
.badge{width:56px;height:56px;border-radius:50%;background:#ecfdf3;display:grid;place-items:center;margin-bottom:20px}
.badge svg{width:28px;height:28px}
.steps{margin:20px 0 0;padding:0;list-style:none;counter-reset:s}
.steps li{counter-increment:s;position:relative;padding:0 0 14px 40px;font-size:14.5px;line-height:1.5}
.steps li:before{content:counter(s);position:absolute;left:0;top:-1px;width:26px;height:26px;border-radius:50%;background:#eef3ff;color:var(--brand);font-weight:700;font-size:13px;display:grid;place-items:center}
.steps b{color:var(--ink)}
.foot{margin-top:28px;font-size:12px;color:#98a2b3;text-align:center;line-height:1.7}
.foot a{color:#667085;font-weight:400}

/* ---- message pages (not found) ---- */
body.solo{display:flex;align-items:center;justify-content:center;padding:32px;background:#06143a url(/img/hero.jpg) center/cover;position:relative}
body.solo:before{content:"";position:fixed;inset:0;background:linear-gradient(180deg,rgba(3,40,130,.78),rgba(5,12,34,.96))}
.panel{position:relative;background:#fff;border-radius:18px;padding:44px 44px 36px;max-width:480px;width:100%;box-shadow:0 30px 70px -30px rgba(0,0,0,.6)}
.panel .logo img{height:26px;margin-bottom:30px}
.panel p{margin:0 0 24px;font-size:15.5px}
.btn{display:inline-flex;align-items:center;height:46px;padding:0 22px;border-radius:10px;background:var(--brand);color:#fff;font-weight:600}
.btn:hover{text-decoration:none;filter:brightness(1.08)}
.btn.ghost{background:transparent;color:var(--brand);padding:0 14px}
.btn.wide{display:flex;justify-content:center;height:50px;margin-top:22px;font-size:15.5px;box-shadow:0 1px 2px rgba(13,27,42,.2),0 10px 22px -12px color-mix(in srgb,var(--brand) 85%,transparent)}
.keeps{list-style:none;margin:0;padding:18px 20px;border:1px solid var(--line);border-radius:12px;background:#f7f9fc}
.keeps li{position:relative;padding:0 0 10px 26px;font-size:14.5px;line-height:1.5}.keeps li:last-child{padding-bottom:0}
.keeps li:before{content:"";position:absolute;left:2px;top:7px;width:12px;height:7px;border-left:2px solid var(--brand);border-bottom:2px solid var(--brand);transform:rotate(-45deg)}
.keeps b{color:var(--ink)}

/* ---- motion: quiet, once, and off for anyone who asks their device for less ---- */
@keyframes drift{from{transform:scale(1) translate3d(0,0,0)}to{transform:scale(1.09) translate3d(-1.5%,-1%,0)}}
@keyframes glow{from{transform:translate3d(0,0,0) scale(1);opacity:.7}to{transform:translate3d(38%,-22%,0) scale(1.25);opacity:1}}
@keyframes rise{from{opacity:0;transform:translate3d(0,18px,0)}to{opacity:1;transform:none}}
@keyframes fade{from{opacity:0}to{opacity:1}}
@keyframes grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes pop{0%{transform:scale(.6);opacity:0}60%{transform:scale(1.08);opacity:1}100%{transform:scale(1)}}
@keyframes draw{to{stroke-dashoffset:0}}
@keyframes sheen{from{transform:translateX(-120%) skewX(-18deg)}to{transform:translateX(320%) skewX(-18deg)}}
.side .logo{animation:fade .8s .1s both}
.side .kicker{animation:rise .7s .25s cubic-bezier(.2,.7,.2,1) both}
.side h1{animation:rise .8s .38s cubic-bezier(.2,.7,.2,1) both}
.side h1 b{animation:rise .8s .58s cubic-bezier(.2,.7,.2,1) both}
.side .lede{animation:rise .8s .74s cubic-bezier(.2,.7,.2,1) both}
.ticks li{animation:rise .6s cubic-bezier(.2,.7,.2,1) both}
.ticks li:nth-child(1){animation-delay:.9s}.ticks li:nth-child(2){animation-delay:1s}.ticks li:nth-child(3){animation-delay:1.1s}.ticks li:nth-child(4){animation-delay:1.2s}
.card>*,.card>form>*{animation:rise .55s cubic-bezier(.2,.7,.2,1) both}
.card>:nth-child(1){animation-delay:.12s}.card>:nth-child(2){animation-delay:.18s}.card>:nth-child(3){animation-delay:.24s}.card>:nth-child(4){animation-delay:.3s}.card>:nth-child(5){animation-delay:.36s}
.card>form>:nth-child(1){animation-delay:.3s}.card>form>:nth-child(2){animation-delay:.34s}.card>form>:nth-child(3){animation-delay:.38s}.card>form>:nth-child(4){animation-delay:.42s}.card>form>:nth-child(5){animation-delay:.46s}.card>form>:nth-child(6){animation-delay:.5s}.card>form>:nth-child(n+7){animation-delay:.54s}
.card>.alt,.card>.powered{animation-delay:.62s}
.foot{animation:fade .8s .8s both}
.card>form{animation:none}
form>button{position:relative;overflow:hidden}
form>button:after{content:"";position:absolute;top:0;bottom:0;left:0;width:34%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent);transform:translateX(-120%) skewX(-18deg);pointer-events:none}
form>button:not(:disabled):hover:after{animation:sheen .9s ease}
form>button:not(:disabled):hover{transform:translateY(-1px)}
.badge{animation:pop .55s .1s cubic-bezier(.2,.7,.2,1) both}
.badge path{stroke-dasharray:30;stroke-dashoffset:30;animation:draw .45s .5s ease forwards}
.msg{animation:rise .3s ease both}
.panel{animation:rise .6s cubic-bezier(.2,.7,.2,1) both}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.badge path{stroke-dashoffset:0}}

@media (max-width:1080px){.side{padding:44px 44px 40px}.pillars{grid-template-columns:repeat(2,1fr);row-gap:18px}}
@media (max-width:860px){
  body{display:block}
  .side{display:none}
  main{padding:0 22px 24px;min-height:100vh}
  .mlogo{display:flex;align-items:center;height:64px;margin:0 -22px 30px;padding:0 22px;background:var(--dark)}
  .mlogo img{height:24px;width:auto;display:block}
  .card{margin:0 auto auto}
  .branded main{padding-top:36px}.branded #powered{display:flex}.branded h2{font-size:34px}.ownerlogo{margin-bottom:28px}.ownerlogo img{max-height:84px}
  h2{font-size:27px}
}
@media (max-width:420px){.two{grid-template-columns:1fr;gap:0}}

/* ---- the sign-in page: one centred line from logo to button (Nov 15 revamp) ----
   The logo, the welcome, the form and the small print all sit on the same centre line, so nothing looks
   pushed to one side. The logo is cut tight to its artwork before it is shown (lib/logo.ts), and gets a
   fixed stage so pages with tall, wide or small logos all balance the same way. */
.signin .card{max-width:420px;text-align:center}
.signin .ownerlogo{justify-content:center;align-items:center;min-height:120px;margin:0 0 30px}
.signin .ownerlogo img{max-height:120px;max-width:min(330px,88%)}
.signin .ownerlogo:has(.cochip){flex-direction:column;gap:16px;min-height:0}
.signin .cochip{height:76px;min-width:76px;border-radius:20px}.signin .cochip i{font-size:24px}
.signin h2{margin-bottom:12px}
.signin .sub{max-width:40ch;margin-left:auto;margin-right:auto}
.signin .eyebrow{margin-bottom:12px}
.signin form{text-align:left}
.signin .msg,.signin .note,.signin .place,.signin #choose{text-align:left}
.signin .fine{margin-top:16px}
.signin.branded .card{max-width:420px}
.signin.branded h2{font-size:42px}
.signin .card>.ownerlogo{animation-name:logoin;animation-duration:.7s}
@keyframes logoin{from{opacity:0;transform:translate3d(0,10px,0) scale(.96)}to{opacity:1;transform:none}}
@media (max-width:860px){
  /* phones: the photograph stays as a band across the top and the form rises over it as a sheet */
  .signin .side{display:flex;height:176px;padding:22px 24px 0;justify-content:flex-start;align-items:center;flex-direction:row}
  .signin .side>div:not(.glow){display:none}
  .signin .side:after{background:linear-gradient(180deg,rgba(8,30,82,.72),rgba(3,52,160,.5) 60%,rgba(8,30,82,.86))}
  .signin.branded .side:after{background:linear-gradient(180deg,color-mix(in srgb,var(--dark) 78%,transparent),color-mix(in srgb,var(--brand) 46%,transparent) 60%,color-mix(in srgb,var(--dark) 88%,transparent))}
  .signin .side .logo,.signin .side .pw-side{margin:0 auto 26px}
  .signin .side .logo img{height:26px}
  .signin .mlogo{display:none}
  .signin main{position:relative;z-index:1;margin-top:-28px;border-radius:28px 28px 0 0;background:#fff;padding:36px 22px 24px;min-height:calc(100vh - 148px);box-shadow:0 -18px 40px -24px rgba(5,20,60,.55)}
  .signin .card{margin:0 auto auto}
  .signin .ownerlogo{min-height:96px;margin-bottom:24px}.signin .ownerlogo img{max-height:96px;max-width:min(280px,84%)}
  .signin.branded h2{font-size:34px}
  .signin.branded #powered{display:none}
  .signin.branded main{padding-top:36px}
}

/* ---- scan a tag on the sign-in page ---- */
.scan{text-align:left}
.scanbtn{display:flex;align-items:center;gap:12px;width:100%;margin:22px 0 6px;padding:12px 14px;border:1px solid #d0d5dd;border-radius:12px;background:#fff;color:#0d1b2a;font:inherit;text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}
.scanbtn:hover,.scanbtn:focus-visible{border-color:var(--brand,#0343c3);box-shadow:0 0 0 4px rgba(3,67,195,.10);outline:0}
.scanbtn svg{width:30px;height:30px;flex:none;fill:none;stroke:var(--brand,#0343c3);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.scanbtn span{display:flex;flex-direction:column;line-height:1.3}.scanbtn b{font-size:15px}.scanbtn i{font-style:normal;font-size:12.5px;color:#667085}
.scan .ic{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.scan-top{display:flex;align-items:center;gap:10px;margin:0 0 14px}.scan-top b{font-size:17px;color:#0d1b2a;overflow-wrap:anywhere}
.scan-back{display:inline-flex;align-items:center;gap:2px;border:0;background:none;color:var(--brand,#0343c3);font:inherit;font-size:14px;font-weight:600;padding:6px 8px 6px 0;cursor:pointer}
.scan-cam{position:relative;aspect-ratio:4/3;border-radius:14px;overflow:hidden;background:#0d1b2a;display:grid;place-items:center}
.scan-cam video{width:100%;height:100%;object-fit:cover;display:block}
.scan-cam.off{aspect-ratio:auto;padding:18px}.scan-cam.off video,.scan-cam.off .scan-frame{display:none}
.scan-frame{position:absolute;inset:14% 12%;border:2px solid rgba(255,255,255,.9);border-radius:14px;box-shadow:0 0 0 999px rgba(13,27,42,.35);pointer-events:none}
.scan-status{position:absolute;left:0;right:0;bottom:10px;margin:0;text-align:center;color:#fff;font-size:13px;text-shadow:0 1px 3px rgba(0,0,0,.6);padding:0 12px}
.scan-cam.off .scan-status{position:static;text-shadow:none;font-size:14px;line-height:1.45}
.scan-cam canvas{display:none}
.scan-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 0}
.scan-tool{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-width:0;margin:0;padding:13px 14px 12px;border:1px solid #d9dee7;background:#fff;border-radius:14px;font:inherit;color:#0d1b2a;text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s,background .15s}
.scan-tool:hover,.scan-tool:focus-visible{border-color:var(--brand,#0343c3);box-shadow:0 0 0 4px rgba(3,67,195,.10);outline:0}
.scan-tool-ic{flex:none;width:40px;height:40px;border-radius:11px;display:grid;place-items:center;background:#eef3fd;color:var(--brand,#0343c3)}
.scan .scan-tool-ic .ic{width:23px;height:23px;stroke-width:1.7}
.scan-tool-t{display:flex;flex-direction:column;min-width:0;line-height:1.25}.scan-tool-t b{font-size:15px;font-weight:650;white-space:nowrap}.scan-tool-t i{font-style:normal;font-size:12.5px;color:#667085;white-space:nowrap}
.scan-tool.on{border-color:var(--brand,#0343c3);background:#f5f8ff;box-shadow:inset 0 0 0 1px var(--brand,#0343c3)}
.scan-tool.on .scan-tool-ic{background:var(--brand,#0343c3);color:#fff}
.scan-glyph{display:none}
.scan-cam.off{flex-direction:column;gap:12px;display:flex;align-items:center;justify-content:center;background:linear-gradient(160deg,#0d1b2a,#12305f)}
.scan-cam.off .scan-glyph{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:rgba(255,255,255,.10);color:#fff}
.scan .scan-glyph .ic{width:30px;height:30px;stroke-width:1.6}
.scan-flip{position:absolute;top:10px;right:10px;width:38px;height:38px;border:0;border-radius:50%;background:rgba(13,27,42,.55);color:#fff;display:grid;place-items:center;cursor:pointer;padding:0;margin:0}
.scan-flip[hidden]{display:none}.scan .scan-flip .ic{width:20px;height:20px}
.scan-or{margin:16px 0 0;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#667085}
.scan-places{display:flex;flex-direction:column;gap:10px;margin:14px 0 0}
.scan-place{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border:1px solid #d9dee7;border-radius:14px;color:#0d1b2a;text-decoration:none}
.scan-place:hover{border-color:var(--brand,#0343c3);color:var(--brand,#0343c3)}
.scan-file{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.scan-form{display:flex;gap:8px;margin:8px 0 0}.scan-form input{flex:1;min-width:0;margin:0}
.scan-form>button{width:auto;margin:0;padding:0 18px;white-space:nowrap}
.scan-say{margin:12px 0 0;font-size:14px;line-height:1.45;color:#475467}.scan-say.bad{background:#fef3f2;border:1px solid #fecdca;color:#b42318;border-radius:10px;padding:10px 12px}
.scan-say.good{background:#ecfdf3;border:1px solid #abefc6;color:#085d3a;border-radius:10px;padding:10px 12px}
.scan-hint{margin:10px 0 0;font-size:12.5px;line-height:1.45;color:#667085}
/* the viewer: record, certificate and history after a scan */
body.scanning .ownerlogo,body.scanning.signin .ownerlogo:has(.cochip){min-height:0;margin:0 0 4px;justify-content:flex-start;flex-direction:row;gap:10px;animation:none}
body.scanning .ownerlogo img{max-height:34px;max-width:170px}
body.scanning .ownerlogo .cochip{height:30px;min-width:30px;border-radius:9px;box-shadow:none}body.scanning .ownerlogo .cochip i{font-size:12px}
body.scanning .ownerlogo b{font-size:14px;font-weight:600;color:#344054}
.view-head{display:flex;flex-direction:column;gap:3px;margin:2px 0 14px}
.view-ref{font-size:27px;line-height:1.2;letter-spacing:-.01em;color:#0d1b2a;overflow-wrap:anywhere}
.view-desc{font-size:15px;line-height:1.45;color:#344054}
.view-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;border-radius:12px;background:#f2f4f7;margin:0 0 14px}
.view-tabs button{height:44px;border:0;border-radius:9px;background:none;font:inherit;font-size:14px;font-weight:600;color:#344054;cursor:pointer;margin:0;width:auto;padding:0}
.view-tabs button.on{background:#0d1b2a;color:#fff}
.view-tabs button:focus-visible,.view-pager button:focus-visible,.view-certs button:focus-visible,.view-picks button:focus-visible,.cert-btn:focus-visible{outline:3px solid rgba(3,67,195,.35);outline-offset:2px}
.cert{--tone:#475467;--tint:#f2f4f7;display:flex;flex-direction:column;gap:14px}
.cert.ok{--tone:#0b6b3a;--tint:#e7f5ec}.cert.due{--tone:#8a4b00;--tint:#fdf0dc}.cert.bad{--tone:#a4161a;--tint:#fde8e8}
.view-status{display:flex;align-items:center;gap:14px;border-radius:14px;background:var(--tone);color:#fff;padding:14px 16px}
.view-mark{width:44px;height:44px;flex:none;border-radius:12px;border:2px solid #fff;display:grid;place-items:center}
.scan .ic.big{width:24px;height:24px;stroke-width:2.6}
.scan-ring .ic.big{width:34px;height:34px;stroke-width:1.9}
.view-status div{display:flex;flex-direction:column;gap:2px;min-width:0}.view-status b{font-size:22px;line-height:1.2}.view-status span{font-size:13px}
.cert-photo{display:block;width:100%;max-height:260px;object-fit:cover;border-radius:14px;background:#eef1f6;margin:0}
.cert-rows{display:grid;grid-template-columns:118px minmax(0,1fr);margin:0;font-size:14px;line-height:1.4}
.cert-rows dt,.cert-rows dd{padding:11px 0;border-bottom:1px solid #eef1f6;margin:0}
.cert-rows dt{color:#4a5568}.cert-rows dd{color:#0d1b2a;font-weight:600;overflow-wrap:anywhere}
.cert-rows dd.tone{color:var(--tone);font-weight:700}
.cert-rows dt:last-of-type,.cert-rows dd:last-of-type{border-bottom:0}
.cert-acts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:2px 0 0}
.cert-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:50px;border-radius:12px;font:inherit;font-size:15px;font-weight:600;text-decoration:none;cursor:pointer;margin:0;width:auto;padding:0 10px;box-sizing:border-box}
.cert-btn.flag{border:1.5px solid #c2cbda;background:#fff;color:#0d1b2a}
.cert-btn.view{border:0;background:var(--brand,#0343c3);color:#fff}
.cert-btn.none{background:#f2f4f7;color:#4a5568;font-size:13px;cursor:default;border:0;text-align:center}
.view-ctitle{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.view-ctitle div{display:flex;flex-direction:column;gap:3px;min-width:0}.view-ctitle b{font-size:17px;color:#0d1b2a}.view-ctitle div span{font-size:14px;color:#344054}
.view-chip{flex:none;padding:5px 10px;border-radius:8px;font-size:13px;font-weight:700;color:#344054;background:#f2f4f7}
.view-chip.ok{color:#0b6b3a;background:#e7f5ec}.view-chip.due{color:#8a4b00;background:#fdf0dc}.view-chip.bad{color:#a4161a;background:#fde8e8}
.view-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.view-tiles div{border:1px solid #e4e8f0;border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:2px}
.view-tiles span{font-size:12px;color:#4a5568}.view-tiles b{font-size:15px;color:#0d1b2a}
.view-doc{background:#eef1f6;border-radius:14px;padding:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:120px}
.view-page{display:block;width:100%;height:auto;background:#fff;border:1px solid #d5dbe6;border-radius:4px}
.view-pager{display:flex;align-items:center;gap:14px}.view-pager[hidden]{display:none}
.view-pager button{width:44px;height:44px;border-radius:12px;border:1.5px solid #c2cbda;background:#fff;color:#0d1b2a;display:grid;place-items:center;cursor:pointer;margin:0;padding:0}
.view-pager button:disabled{opacity:.4;cursor:default}
.view-pager span{font-size:14px;font-weight:600;color:#344054}
.view-empty{margin:0;font-size:14px;line-height:1.5;color:#4a5568;text-align:center;padding:10px}
.view-h{margin:6px 0 0;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:#4a5568;font-weight:600}
.view-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.view-list li{display:flex;gap:14px;align-items:flex-start;padding:12px 0;border-bottom:1px solid #eef1f6}
.view-list li:last-child{border-bottom:0}
.view-list i{width:12px;height:12px;flex:none;margin-top:5px;border-radius:50%;border:2px solid #98a2b3;box-sizing:border-box}
.view-list li.now i{background:var(--tone);border-color:var(--tone)}
.view-list div{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}.view-list b{font-size:15px;color:#0d1b2a}.view-list div span{font-size:13px;color:#344054}
.view-certs{display:flex;flex-direction:column;gap:8px}
.view-certs button{display:flex;align-items:center;gap:12px;min-height:56px;padding:8px 14px;border:1px solid #e4e8f0;border-radius:12px;background:#fff;color:#0d1b2a;font:inherit;text-align:left;cursor:pointer;margin:0;width:100%}
.view-certs span{flex:1;display:flex;flex-direction:column;gap:1px;min-width:0}.view-certs b{font-size:14px}.view-certs i{font-style:normal;font-size:12px;color:#344054}
.view-certs .ic:first-child{color:var(--brand,#0343c3)}.view-certs .ic:last-child{color:#4a5568}
.view-note{margin:6px 0 0;font-size:12px;line-height:1.5;color:#4a5568;text-align:center}
.view-item{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;background:#f2f4f7;margin:0 0 14px}
.view-item div{display:flex;flex-direction:column;gap:1px;min-width:0}.view-item b{font-size:15px;color:#0d1b2a}.view-item span{font-size:13px;color:#344054}
.view-picks{display:flex;flex-wrap:wrap;gap:8px}
.view-picks button{min-height:44px;padding:0 14px;border-radius:999px;border:1.5px solid #c2cbda;background:#fff;color:#0d1b2a;font:inherit;font-size:14px;font-weight:600;cursor:pointer;margin:0;width:auto}
.view-picks button[aria-pressed="true"]{border-color:var(--brand,#0343c3);background:#eaf0ff;color:#022c82}
.scan-flag{display:flex;flex-direction:column;gap:8px}
.scan-flag>b{font-size:14px;color:#0d1b2a}.scan-flag label{font-size:14px;font-weight:600;color:#0d1b2a;margin:8px 0 0}
.scan-flag input,.scan-flag textarea{margin:0}
.scan-flag textarea{width:100%;box-sizing:border-box;border:1px solid #d0d5dd;border-radius:10px;padding:10px 12px;font:inherit;font-size:15px;resize:vertical;min-height:96px}
.scan-flag textarea:focus{outline:0;border-color:var(--brand,#0343c3);box-shadow:0 0 0 4px rgba(3,67,195,.12)}
.scan-flag>button{margin:8px 0 0}
.scan-again{width:100%;margin:14px 0 0;border:1px solid #d0d5dd;background:#fff;border-radius:12px;padding:12px;font:inherit;font-weight:600;color:#344054;cursor:pointer}
.scan-again:hover{border-color:var(--brand,#0343c3);color:var(--brand,#0343c3)}
/* the short "checking" screen between a scan and its record */
.scan-proc{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:30px 8px 26px}
.scan-ring{position:relative;width:96px;height:96px;border-radius:50%;display:grid;place-items:center;color:var(--brand,#0343c3);background:#f5f8ff}
.scan-ring:before{content:"";position:absolute;inset:-4px;border-radius:50%;border:4px solid #e4e8f0;border-top-color:var(--brand,#0343c3);animation:scan-spin .8s linear infinite}
@keyframes scan-spin{to{transform:rotate(360deg)}}
.scan-proc b{font-size:20px;color:#0d1b2a;margin-top:6px}
.scan-proc-code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:15px;font-weight:600;color:#0d1b2a;background:#f2f4f7;border-radius:8px;padding:6px 12px;max-width:100%;overflow-wrap:anywhere}
.scan-steps{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:7px;font-size:14px;color:#98a2b3;text-align:left}
.scan-steps li{display:flex;align-items:center;gap:9px;animation:scan-step .25s ease both}
.scan-steps li:before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor;flex:none}
.scan-steps li:nth-child(1){color:#085d3a}
.scan-steps li:nth-child(2){color:#0d1b2a;animation-delay:.2s}
.scan-steps li:nth-child(3){animation-delay:.45s}
@keyframes scan-step{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.scan-ring:before{animation-duration:2.4s}.scan-steps li{animation:none}}

/* "Ready to scan": the sheet that waits for an RFID reader or an NFC tag */
.scan-sheet{position:fixed;inset:0;z-index:50;display:flex;align-items:flex-end;justify-content:center;background:rgba(13,27,42,.62);padding:12px;animation:scanfade .18s ease-out}
.scan-sheet[hidden]{display:none}
.scan-sheet-card{width:100%;max-width:440px;background:#fff;border-radius:26px;padding:26px 22px 20px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;box-shadow:0 -18px 60px -20px rgba(13,27,42,.6);animation:scanrise .26s cubic-bezier(.2,.8,.2,1)}
.scan-sheet-title{font-size:24px;font-weight:700;color:#0d1b2a;letter-spacing:-.01em}
.scan-pulse{position:relative;width:132px;height:132px;margin:10px 0 6px;display:grid;place-items:center;border-radius:50%;background:var(--brand,#0343c3)}
.scan-pulse .ic{width:62px;height:62px;fill:none;stroke:#fff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;position:relative}
.scan-pulse i{position:absolute;inset:0;border-radius:50%;border:2px solid var(--brand,#0343c3);animation:scanring 2s ease-out infinite}
.scan-pulse i+i{animation-delay:1s}
.scan-sheet-text{margin:0;font-size:15.5px;line-height:1.45;color:#344054;max-width:300px}
.scan-sheet-read{margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:15px;font-weight:600;color:#0d1b2a;background:#f2f4f7;border-radius:8px;padding:6px 12px;max-width:100%;overflow-wrap:anywhere}
.scan-sheet-cancel{width:100%;margin-top:8px;padding:14px;border:0;border-radius:14px;background:#eef2f6;color:#0d1b2a;font:inherit;font-size:16px;font-weight:600;cursor:pointer}
.scan-sheet-cancel:hover{background:#e4e7ec}
@keyframes scanring{0%{transform:scale(1);opacity:.55}100%{transform:scale(1.55);opacity:0}}
@keyframes scanrise{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
@keyframes scanfade{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.scan-pulse i,.scan-sheet,.scan-sheet-card{animation:none}}
