/* Sygna Phase 16E — phones. Loaded last on every page; only changes things on small screens. */
.sy-burger{display:none}
.sy-grab,.sy-status{display:none}
.confirm .short{display:none}
@media(max-width:760px){
 /* ---- header: ☰ Menu instead of links ---- */
 header.top .links{display:none!important}
 header.top .nav{flex-wrap:nowrap!important;min-height:58px;padding-block:6px!important}
 .sy-burger{display:inline-flex;align-items:center;gap:8px;margin-left:auto;background:var(--blue,#0758a6);color:#fff;border:0;border-radius:99px;padding:10px 16px;font:800 14px/1 Inter,"Segoe UI",system-ui,sans-serif;min-height:44px;cursor:pointer}
 :root[data-theme=navy] .sy-burger{background:#a7df38;color:#123b5c}
 /* ---- bigger tap targets, nothing too small ---- */
 .pill,.pill.small{min-height:42px}
 .pill.small{padding:10px 14px;font-size:13px}
 input[type=text],input[type=email],input[type=password],input[type=search],input[type=number],input[type=date],select,textarea{font-size:16px!important}
 /* ---- windows fill the phone ---- */
 dialog{width:calc(100% - 16px)!important;max-width:none!important;max-height:calc(100% - 16px)!important;margin:auto;border-radius:20px}
 /* ---- compact "confirm your email" bar ---- */
 .confirm .long{display:none}.confirm .short{display:inline}.confirm{padding:10px 12px!important;gap:8px!important}
 .confirm input{width:120px!important;flex:1 1 110px}
 .confirm .pill.small{min-height:38px;padding:8px 12px}
 /* ---- tabs scroll sideways instead of wrapping ---- */
 .tabs{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 .tabs::-webkit-scrollbar{display:none}.tabs button{flex:none}
}
/* ---- the full-screen menu ---- */
.sy-menu{position:fixed;inset:0;z-index:2147483002;background:#0b416c;color:#fff;display:flex;flex-direction:column;padding:14px 20px calc(24px + env(safe-area-inset-bottom));font-family:Inter,"Segoe UI",system-ui,sans-serif;animation:syIn .18s ease-out}
.sy-menu[hidden]{display:none}
@keyframes syIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
.sy-menu .sy-top{display:flex;justify-content:space-between;align-items:center;min-height:52px;margin-bottom:10px}
.sy-menu .brand{display:flex;align-items:center;gap:10px;font-weight:850;font-size:24px;letter-spacing:-1px;color:#fff}
.sy-menu .brand i{width:38px;height:38px;border-radius:12px;background:#fff;display:grid;place-items:center}
.sy-menu .close{background:#ffffff1f;border:0;color:#fff;border-radius:99px;min-width:44px;min-height:44px;font-size:22px;cursor:pointer}
.sy-menu nav{display:flex;flex-direction:column;margin-top:6px}
.sy-menu nav a,.sy-menu nav button{display:flex;justify-content:space-between;align-items:center;padding:16px 4px;border:0;border-bottom:1px solid #ffffff1f;background:none;color:#fff;font-family:inherit;font-size:18px;font-weight:700;line-height:1.2;text-align:left;cursor:pointer;width:100%}
.sy-menu nav a.on{color:#a7df38}.sy-menu nav span.arrow{opacity:.6}
.sy-menu .cta{margin-top:auto;display:block;text-align:center;background:#a7df38;color:#123b5c;border-radius:99px;padding:16px;font-weight:850;font-size:17px}
.sy-menu .small{margin-top:14px;text-align:center;font-size:13px;color:#cfe5ef}

/* ---- signing workspace on a phone: document first, steps in a panel at the bottom ---- */
@media(max-width:760px){
 body.ws-doc{overflow:hidden}
 body.ws-doc #confirmBar,body.ws-doc .site-foot,body.ws-doc .side>.eyebrow,body.ws-doc .side>h1{display:none!important}
 body.ws-doc .layout{display:block!important;padding:0!important;margin:0!important}
 body.ws-doc .stage{position:fixed!important;left:0;right:0;top:var(--sy-top,64px);bottom:var(--sy-sheet,38vh);height:auto!important;min-height:0!important;border-radius:0!important;margin:0!important;z-index:5;display:flex;flex-direction:column}
 body.ws-doc .stage .scroller{flex:1;min-height:0}
 body.ws-doc .stage .bar{display:none}
 body.ws-doc .side{position:fixed!important;left:0;right:0;bottom:0;z-index:40;max-height:44vh;overflow-y:auto;margin:0!important;border-radius:22px 22px 0 0!important;background:var(--page,#f8fbfc)!important;box-shadow:0 -10px 30px #0a427026;padding:0 12px calc(12px + env(safe-area-inset-bottom))!important;transition:max-height .25s}
 body.ws-doc .side.sy-open{max-height:86vh}
 body.ws-doc .side .step:not(.current){display:none}
 body.ws-doc .side.sy-open .step:not(.current){display:flex}
 body.ws-doc .side>.tile:not(.step),body.ws-doc .side>p.muted,body.ws-doc .side>#requestHistory{display:none}
 body.ws-doc .side.sy-open>.tile:not(.step),body.ws-doc .side.sy-open>#requestHistory{display:block}
 body.ws-doc .side .step{margin-bottom:8px}
 body.ws-doc .sy-grab{display:block;position:sticky;top:0;z-index:2;width:100%;background:inherit;border:0;padding:8px 4px 10px;cursor:pointer;text-align:left;color:inherit;font:inherit}
 body.ws-doc .sy-grab .handle{width:44px;height:5px;border-radius:3px;background:#c4d4dc;margin:0 auto 8px}
 body.ws-doc .sy-grab .prog{display:flex;gap:4px;margin-bottom:6px}.sy-grab .prog i{flex:1;height:5px;border-radius:3px;background:#dfe8ed}.sy-grab .prog i.on{background:var(--blue,#0758a6)}
 body.ws-doc .sy-grab .lbl{display:flex;justify-content:space-between;font-size:13px;font-weight:700}.sy-grab .lbl span:last-child{color:var(--muted,#577080);font-weight:600}
 body.ws-doc .sy-status{display:block;font-size:13px;line-height:1.45;margin:0 4px 8px;color:var(--ink,#123b5c)}
 body.ws-doc .bubble{max-width:calc(100vw - 48px)!important;padding:8px!important;gap:6px!important}body.ws-doc .bubble .rowb{flex-wrap:nowrap!important;gap:5px!important}body.ws-doc .bubble .pill{min-height:36px;padding:7px 11px!important;font-size:13px!important;white-space:nowrap}body.ws-doc .bubble label.check{font-size:12.5px}body.ws-doc .bubble .drag-hint{font-size:11px}
}
/* ---- "add to home screen" tip ---- */
.sy-a2hs{position:fixed;left:12px;right:12px;bottom:calc(14px + env(safe-area-inset-bottom));z-index:2147482999;background:#123b5c;color:#fff;border-radius:18px;padding:14px 14px 14px 16px;display:flex;gap:12px;align-items:center;box-shadow:0 16px 40px #0a427055;font:600 14px/1.45 Inter,"Segoe UI",system-ui,sans-serif;animation:syIn .3s ease-out}
.sy-a2hs img{width:44px;height:44px;border-radius:11px;flex:none}.sy-a2hs b{color:#a7df38}
.sy-a2hs .go{background:#a7df38;color:#123b5c;border:0;border-radius:99px;padding:10px 14px;font-weight:800;cursor:pointer;white-space:nowrap}
.sy-a2hs .x{background:none;border:0;color:#cfe5ef;font-size:13px;text-decoration:underline;cursor:pointer;white-space:nowrap}

/* ---- Phase 17A: "Add Sygna" guide ---- */
.install-line{margin:10px 0 0}
.sy-guide{position:fixed;inset:0;z-index:2147483003;background:#0a2a44b3;display:flex;align-items:center;justify-content:center;padding:12px 12px 74px;font-family:Inter,"Segoe UI",system-ui,sans-serif;animation:syIn .18s ease-out}
.sy-guide .card{background:#fff;color:#123b5c;border-radius:24px;max-width:420px;width:100%;max-height:100%;overflow-y:auto;padding:18px 18px 16px;box-shadow:0 20px 50px #0a427055;text-align:left}
.sy-guide .card img{border-radius:12px;display:block;width:44px;height:44px}
.sy-guide h2{margin:10px 0 2px;font-size:20px}.sy-guide .lead{margin:0 0 10px;color:#577080;font-size:15px}
.sy-guide ol{margin:0;padding:0;list-style:none;counter-reset:s}
.sy-guide li{counter-increment:s;display:flex;gap:10px;align-items:flex-start;padding:9px 0;border-top:1px solid #eef2f4;font-size:15.5px;line-height:1.75}
.sy-guide li::before{content:counter(s);flex:none;width:28px;height:28px;border-radius:50%;background:#a7df38;color:#123b5c;font-weight:800;display:grid;place-items:center;margin-top:1px}
.sy-key{display:inline-flex;align-items:center;gap:4px;background:#eef4f8;border:1px solid #d6e3ea;border-radius:9px;padding:1px 8px;font-weight:700;white-space:nowrap;vertical-align:middle;line-height:1.5}
.sy-guide .older{font-size:13px;color:#577080;margin:10px 0 0;line-height:1.7}
.sy-guide .ok{margin-top:14px;width:100%;background:#0758a6;color:#fff;border:0;border-radius:99px;padding:14px;font-weight:800;font-size:16px;cursor:pointer;font-family:inherit}
.sy-arrow{position:fixed;right:18px;bottom:calc(6px + env(safe-area-inset-bottom));font-size:46px;font-weight:900;color:#a7df38;text-shadow:0 2px 10px #0008;animation:syBob 1s ease-in-out infinite}
@keyframes syBob{50%{transform:translateY(10px)}}
.sy-toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(18px + env(safe-area-inset-bottom));z-index:2147483004;background:#123b5c;color:#fff;border-radius:99px;padding:12px 18px;font:700 14px/1.3 Inter,"Segoe UI",system-ui,sans-serif;box-shadow:0 12px 30px #0a427055}
@media (prefers-reduced-motion:reduce){.sy-arrow{animation:none}}
.sy-guide .ok.alt{background:#fff;color:#0758a6;border:2px solid #0758a6;margin-top:8px}.sy-guide .ok.now{margin-top:14px}
[data-install][hidden],#installBox[hidden]{display:none!important}
/* 19.5 — computer install guide (design A) */
.sy-arrow.up{background:none;top:0;bottom:auto;right:22px;color:#ff6b4a;font-size:54px;line-height:1}
.sy-guide .sy-mini{display:block;border:1px solid #dfe5ea;border-radius:8px;background:#fff;font-size:12.5px;margin:6px 0 0;overflow:hidden;max-width:230px}
.sy-guide .sy-mini b,.sy-guide .sy-mini i{display:block;padding:5px 10px;border-bottom:1px solid #f0f3f5;font-style:normal;font-weight:500;color:#555}
.sy-guide .sy-mini b{background:#e8f1fb;font-weight:800;color:#0758a6;box-shadow:inset 3px 0 0 #ff6b4a}
.sy-guide .sy-mini.sub{margin-left:34px}
