/* One welcome layout for Browser/PWA and native shell; no workspace styles. */
html body.wir-office-signin{--office-ink:#16283b;--office-gold:#c8a96b;background:#101d2d!important;color:#eaf0f6!important;min-height:100dvh}
body.wir-office-signin>header{display:none!important}
body.wir-office-signin>main{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-content:center;align-items:center;gap:clamp(32px,6vw,100px);width:100%;max-width:1200px;min-height:calc(100dvh - 90px);padding:calc(48px + env(safe-area-inset-top)) max(32px,env(safe-area-inset-right)) 48px max(32px,env(safe-area-inset-left));margin:auto}
.wir-office-welcome{max-width:540px;min-width:0}.wir-office-welcome img{display:block;width:104px;height:104px;border-radius:24px;box-shadow:0 14px 50px #0003;margin-bottom:28px}.wir-office-eyebrow{font-size:12px;font-weight:650;text-transform:uppercase;letter-spacing:.18em;color:#d7bc86;margin:0 0 22px}.wir-office-welcome h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(34px,4.6vw,58px);line-height:1.16;letter-spacing:.015em;color:#f8f5ee;margin:0 0 24px}.wir-office-intro{font-size:15px;line-height:1.8;color:#bac7d6;margin:0}.wir-office-features{display:flex;flex-wrap:wrap;gap:12px 20px;margin-top:32px;font-size:12px;letter-spacing:.04em;color:#d7bc86}.wir-office-features span{border-top:1px solid #c8a96b66;padding-top:12px}
body.wir-office-signin #login{width:100%;max-width:460px;min-width:0;margin:0;padding:32px;border-radius:22px;border:1px solid #dce2e9;box-shadow:0 28px 80px #0003;background:#fcfcfa;color:var(--office-ink);color-scheme:light}
body.wir-office-signin #login :is(h1,h2){font-family:Georgia,'Times New Roman',serif;font-size:28px;font-weight:400;line-height:1.3;color:var(--office-ink);margin:0 0 12px}
body.wir-office-signin #login :is(p,.muted,.note){color:#5d6c7b;font-size:13px;line-height:1.7}body.wir-office-signin #login label{color:var(--office-ink);font-size:14px;margin-top:18px}
body.wir-office-signin #login :is(input:not([type=checkbox]),select){width:100%;max-width:100%;min-width:0;min-height:52px;box-sizing:border-box;border:1px solid #ccd6df;border-radius:11px;background:#fff;color:var(--office-ink);padding:12px 14px;font-size:16px}
body.wir-office-signin #login button{width:100%;min-height:50px;margin-top:20px;padding:12px;border:1px solid #1e344b;border-radius:11px;background:#1e344b;color:#fff;font-size:16px;font-weight:650}body.wir-office-signin #login button.secondary{background:transparent;color:var(--office-ink)}
html body.wir-office-signin #login a,html body.wir-office-signin #login #forgotPassword{color:#305d80!important;text-decoration:underline;text-underline-offset:4px}body.wir-office-signin #login :focus-visible{outline:3px solid var(--office-gold);outline-offset:3px}body.wir-office-signin #login .error{color:#a22c32}
body.wir-office-signin>footer{grid-column:1/-1;max-width:1200px;color:#bac7d6;text-align:center;font-size:12px;padding:12px 24px calc(24px + env(safe-area-inset-bottom))}body.wir-office-signin>footer a{color:#d7bc86}body.wir-office-signin>main>#status:empty{display:none}body.wir-office-signin>main>#status:not(:empty){grid-column:1/-1;color:#eaf0f6}body.wir-office-signin>main>#linkEntry{grid-column:2;background:#17283b;border:1px solid #304359;color:#eaf0f6;margin:0;max-width:460px}
@media(max-width:760px){body.wir-office-signin>main{display:flex;flex-direction:column;align-items:stretch;gap:28px;min-height:0;padding:calc(28px + env(safe-area-inset-top)) 20px 24px}.wir-office-welcome{max-width:460px;width:100%;margin:auto}.wir-office-welcome img{width:76px;height:76px;border-radius:18px;margin-bottom:20px}.wir-office-welcome h1{font-size:36px}.wir-office-features{margin-top:22px}body.wir-office-signin #login{margin:auto;padding:26px}body.wir-office-signin>main>#linkEntry{width:100%;margin:auto}}

/* Refined brand hierarchy, shared by the browser and Store welcome. */
.wir-office-welcome{max-width:650px}.wir-office-brandrow{display:grid;grid-template-columns:176px minmax(0,1fr);align-items:center;gap:24px;margin-bottom:32px}.wir-office-brandrow img{width:176px;height:176px;margin:0;border-radius:32px}.wir-office-brandrow h1{font-size:clamp(30px,3vw,42px);margin:0}.wir-office-brandrow .wir-office-eyebrow{margin:0 0 14px;font-size:13px}.wir-office-intro{font-size:20px;line-height:1.7}.wir-office-features{gap:20px 26px;margin-top:36px;font-size:21px;font-weight:600}.wir-office-features span{border-top:3px solid #c8a96b;padding-top:16px}.wir-office-signature{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin-top:36px}.wir-office-signature strong{font-size:20px;font-weight:650;letter-spacing:.12em;text-transform:uppercase;color:#f8f5ee}.wir-office-signature a{display:inline-flex;align-items:center;min-height:44px;color:#d7bc86;font-size:16px;text-underline-offset:5px}.wir-office-signature a:focus-visible{outline:3px solid #c8a96b;outline-offset:3px}
@media(max-width:1000px) and (min-width:761px){.wir-office-brandrow{grid-template-columns:136px minmax(0,1fr);gap:18px}.wir-office-brandrow img{width:136px;height:136px}.wir-office-brandrow h1{font-size:30px}.wir-office-intro{font-size:18px}.wir-office-features{font-size:19px}}
@media(max-width:760px){.wir-office-brandrow{grid-template-columns:104px minmax(0,1fr);gap:18px;margin-bottom:26px}.wir-office-brandrow img{width:104px;height:104px;margin:0;border-radius:22px}.wir-office-brandrow h1{font-size:28px}.wir-office-brandrow .wir-office-eyebrow{font-size:11px;letter-spacing:.1em;margin-bottom:10px}.wir-office-intro{font-size:18px}.wir-office-features{font-size:19px;gap:18px 22px}.wir-office-signature{margin-top:26px}.wir-office-signature strong{font-size:18px}}

/* Sign-in colors must win together over global card/dark-mode rules. */
html body.wir-office-signin #login{background:#fcfcfa!important;color:#16283b!important;color-scheme:light}
html body.wir-office-signin #login :is(h1,h2,label,label span){color:#16283b!important;-webkit-text-fill-color:currentColor!important}
html body.wir-office-signin #login :is(p,.muted,.note){color:#526171!important;-webkit-text-fill-color:currentColor!important}
html body.wir-office-signin #login :is(input:not([type=checkbox]),select){background:#fff!important;color:#16283b!important;-webkit-text-fill-color:#16283b!important;border-color:#718399!important}
html body.wir-office-signin #login input::placeholder{color:#526171!important;opacity:1}
html body.wir-office-signin #login input[type=checkbox]{accent-color:#305d80}
html body.wir-office-signin #login .error{color:#a22c32!important;-webkit-text-fill-color:currentColor!important}
html[data-theme="dark"] body.wir-office-signin #login{background:#172333!important;color:#edf2f8!important;color-scheme:dark;border-color:#63758b!important}
html[data-theme="dark"] body.wir-office-signin #login :is(h1,h2,label,label span){color:#edf2f8!important;-webkit-text-fill-color:currentColor!important}
html[data-theme="dark"] body.wir-office-signin #login :is(p,.muted,.note){color:#c3cedb!important;-webkit-text-fill-color:currentColor!important}
html[data-theme="dark"] body.wir-office-signin #login :is(input:not([type=checkbox]),select){background:#101d2d!important;color:#f3f6fa!important;-webkit-text-fill-color:#f3f6fa!important;border-color:#8a9bb1!important}
html[data-theme="dark"] body.wir-office-signin #login input::placeholder{color:#bac7d6!important;opacity:1}
html[data-theme="dark"] body.wir-office-signin #login input[type=checkbox]{accent-color:#e3c57e}
html[data-theme="dark"] body.wir-office-signin #login :is(a,#forgotPassword){color:#f3d78b!important;-webkit-text-fill-color:currentColor!important}
html[data-theme="dark"] body.wir-office-signin #login .error{color:#ffb4ab!important;-webkit-text-fill-color:currentColor!important}

/* Variant3 reference66: use the downloadable image unchanged. */
html body.wir-office-signin.wir-office-soundwave{display:flex;flex-direction:column;min-height:100svh;background:#001326!important;color:#edf3f9!important;isolation:isolate}
.wir-office-soundscape{position:fixed;inset:0;z-index:-1;pointer-events:none;background:#001326 url('/shared/assets/soundwave-variant3.png') center center/cover no-repeat}
.wir-office-soundscape[hidden]{display:none!important}
html body.wir-office-signin.wir-office-soundwave>main{position:relative;flex:1 0 auto;grid-template-columns:minmax(0,1.03fr) minmax(0,1fr);max-width:1800px;min-height:0;gap:6vw;padding:9vh 5vw 48px 10vw;align-content:start;align-items:start}
html body.wir-office-signin.wir-office-soundwave .wir-office-welcome{max-width:530px;padding:0}
html body.wir-office-signin.wir-office-soundwave .wir-office-brandrow{display:flex;flex-direction:column;align-items:flex-start;gap:26px;margin:0 0 22px}
html body.wir-office-signin.wir-office-soundwave .wir-office-brandrow img{width:clamp(136px,20.5vh,206px);height:clamp(136px,20.5vh,206px);max-width:100%;margin:0;border-radius:28px;box-shadow:0 12px 34px #0003}
html body.wir-office-signin.wir-office-soundwave .wir-office-eyebrow{font:600 clamp(11px,1.2vw,16px)/1.5 Arial,sans-serif;letter-spacing:.15em;color:#edf3f9;margin:0 0 16px}
html body.wir-office-signin.wir-office-soundwave .wir-office-welcome h1{font-family:Arial,sans-serif!important;font-weight:700!important;font-size:clamp(36px,3.8vw,52px)!important;line-height:1.08!important;letter-spacing:-.02em;color:#f4f7fc!important;margin:0!important}
html body.wir-office-signin.wir-office-soundwave .wir-office-features{display:flex;flex-wrap:wrap;gap:8px;margin:0;font-size:11px;font-weight:500;letter-spacing:.1em;line-height:1.6;color:#edf3f9}
html body.wir-office-signin.wir-office-soundwave .wir-office-features span{border:0;padding:0}
html body.wir-office-signin.wir-office-soundwave .wir-office-signature{margin:24px 0 0;padding:14px 0 0;position:relative}
html body.wir-office-signin.wir-office-soundwave .wir-office-signature::before{content:'';position:absolute;top:0;left:0;width:38px;height:2px;background:#e2bb65}
html body.wir-office-signin.wir-office-soundwave .wir-office-signature a{display:inline-flex;align-items:center;min-height:36px;font-size:11px;font-weight:600;letter-spacing:.18em;color:#edcf88;text-decoration:none}
html body.wir-office-signin.wir-office-soundwave .wir-office-signature strong{font:inherit;color:inherit}
html body.wir-office-signin.wir-office-soundwave #login{align-self:start;max-width:none;margin-top:3vh;border:1px solid #36536c!important;background:#031426!important;color:#edf3f9!important;color-scheme:dark;border-radius:12px;padding:40px;box-shadow:0 14px 40px #0003}
html body.wir-office-signin.wir-office-soundwave #login>p{display:none!important}
html body.wir-office-signin.wir-office-soundwave #login :is(h1,h2){font:700 36px/1.2 Arial,sans-serif!important;color:#f4f7fc!important;-webkit-text-fill-color:currentColor!important;margin:0 0 18px}
html body.wir-office-signin.wir-office-soundwave #login :is(p,.muted,.note){color:#c3cedb!important;-webkit-text-fill-color:currentColor!important}
html body.wir-office-signin.wir-office-soundwave #login :is(label,label span){color:#edf3f9!important;-webkit-text-fill-color:currentColor!important;font-size:16px}
html body.wir-office-signin.wir-office-soundwave #login :is(input:not([type=checkbox]),select){background:#021225!important;color:#f3f6fa!important;-webkit-text-fill-color:#f3f6fa!important;border:1px solid #8596aa!important;border-radius:6px;min-height:56px}
html body.wir-office-signin.wir-office-soundwave #login input::placeholder{color:#bac7d6!important;opacity:1}
html body.wir-office-signin.wir-office-soundwave #login input[type=checkbox]{accent-color:#edcb80}
html body.wir-office-signin.wir-office-soundwave #login button{color:#102033!important;-webkit-text-fill-color:#102033!important;background:linear-gradient(180deg,#f4d58b,#d9ab50)!important;border-color:#e7c36e!important;border-radius:6px;min-height:60px;box-shadow:none!important}
html body.wir-office-signin.wir-office-soundwave #login :is(a,#forgotPassword){color:#f3d78b!important;-webkit-text-fill-color:currentColor!important;font-size:13px}
html body.wir-office-signin.wir-office-soundwave #login .error{color:#ffb4ab!important;-webkit-text-fill-color:currentColor!important}
html body.wir-office-signin.wir-office-soundwave>footer.app-footer{position:relative;flex:0 0 auto;box-sizing:border-box;width:100%;max-width:none;margin:0!important;padding:18px max(24px,env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));background:transparent!important;border:0!important;color:#e1e7f0!important;text-align:center;font-size:11px;line-height:1.6;box-shadow:none!important}
html body.wir-office-signin.wir-office-soundwave>footer.app-footer .footer-copyright{display:none!important}
html body.wir-office-signin.wir-office-soundwave>footer.app-footer a{color:#e1e7f0!important;font-size:11px;font-weight:400;display:inline-flex;align-items:center;min-height:36px;text-decoration:none}
html body.wir-office-signin.wir-office-soundwave :is(#scrollTopBtn,#djpCornerTop){display:none!important}
@media(max-width:760px){html body.wir-office-signin.wir-office-soundwave>main{display:flex;gap:32px;padding:32px 22px 20px}html body.wir-office-signin.wir-office-soundwave .wir-office-welcome{width:100%}html body.wir-office-signin.wir-office-soundwave .wir-office-brandrow{display:grid;grid-template-columns:88px minmax(0,1fr);gap:20px;margin-bottom:18px}html body.wir-office-signin.wir-office-soundwave .wir-office-brandrow img{width:88px;height:88px;border-radius:20px}html body.wir-office-signin.wir-office-soundwave .wir-office-eyebrow{font-size:10px;letter-spacing:.12em;margin-bottom:10px}html body.wir-office-signin.wir-office-soundwave .wir-office-welcome h1{font-size:32px!important}html body.wir-office-signin.wir-office-soundwave .wir-office-features{font-size:10px;letter-spacing:.06em;gap:6px}html body.wir-office-signin.wir-office-soundwave .wir-office-signature{margin-top:18px;padding-top:12px}html body.wir-office-signin.wir-office-soundwave #login{width:100%;max-width:460px;margin-top:0;padding:26px}html body.wir-office-signin.wir-office-soundwave #login :is(h1,h2){font-size:28px!important}html body.wir-office-signin.wir-office-soundwave #login :is(label,label span){font-size:14px}html body.wir-office-signin.wir-office-soundwave #login :is(input:not([type=checkbox]),select){min-height:48px}html body.wir-office-signin.wir-office-soundwave #login button{min-height:52px}}
@media print{.wir-office-soundscape{display:none!important}}

/* Marked text sizes and phone card translucency only. */
html body.wir-office-signin.wir-office-soundwave .wir-office-features{font-size:16px}
html body.wir-office-signin.wir-office-soundwave .wir-office-signature a{font-size:18px}
html body.wir-office-signin.wir-office-soundwave>footer.app-footer{font-size:14px}
html body.wir-office-signin.wir-office-soundwave>footer.app-footer a{font-size:14px}
@media(max-width:760px){html body.wir-office-signin.wir-office-soundwave .wir-office-features{font-size:14px}html body.wir-office-signin.wir-office-soundwave .wir-office-signature a{font-size:16px}}
@media(max-width:600px){html body.wir-office-signin.wir-office-soundwave #login{background:rgba(3,20,38,.9)!important}}

/* Test 2.0: keep iOS/Safari autofill readable on the dark sign-in surface. */
html body.wir-office-signin.wir-office-soundwave #login input:is([type="email"],[type="password"]),
html body.wir-office-signin.wir-office-soundwave #login input:is([type="email"],[type="password"]):is(:autofill,:-webkit-autofill){
 background-color:#021225!important;
 color:#f3f6fa!important;
 -webkit-text-fill-color:#f3f6fa!important;
 caret-color:#f3f6fa!important;
 -webkit-box-shadow:0 0 0 1000px #021225 inset!important;
 box-shadow:0 0 0 1000px #021225 inset!important;
 color-scheme:dark;
}


/* Test17: a fine illuminated edge, without altering the approved icon. */
@media screen{
 html body.wir-office-signin .wir-office-brandrow img{box-sizing:border-box;border:1px solid #f8e8b785;box-shadow:0 0 0 4px #f2d89c06,0 0 32px #ebd29a22,0 16px 45px #0003}
}
