.security-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:20px;margin-bottom:20px}.security-grid .panel{margin:0;padding:24px}.security-row{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--line,#e0e5ed)}.security-row span{min-width:0;overflow-wrap:anywhere}.security-row small{display:block;color:var(--muted,#7f899a);margin-top:5px}.security-row .actions{flex-wrap:wrap}.security-login-actions{display:grid;gap:12px;margin:22px 0}.security-login-actions button{width:100%;min-height:46px}.security-login-actions span{text-align:center;font-size:13px}.security-reauth{margin-top:22px;padding-top:18px;border-top:1px solid var(--line,#e0e5ed)}.security-reauth input{width:100%;margin:8px 0 12px}.security-secret{font-size:18px;line-height:1.8;padding:20px;white-space:pre-wrap;overflow-wrap:anywhere;background:var(--bg,#f3f5f8);border-radius:12px;user-select:all}#securityError:empty{display:none}#securityError{margin-bottom:16px}#content>.panel+#content>.panel{margin-top:20px}@media(max-width:720px){.security-row{align-items:flex-start;flex-direction:column;gap:10px}.security-grid .panel{padding:18px}.security-row button{min-height:42px}#account #password{font-size:12px}}

.security-stepup{max-width:480px;margin:40px auto;padding:32px;text-align:center}.security-stepup h1{font-size:28px;margin:12px 0}.security-stepup-mark{width:52px;height:52px;margin:auto;border-radius:50%;display:grid;place-items:center;background:rgba(46,126,239,.12);color:#307def}.security-stepup-mark svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2}.security-stepup>.primary{width:100%;min-height:50px;margin-top:14px}.security-stepup-note{font-size:12px;line-height:1.6}.security-stepup-help{margin-top:25px;padding-top:18px;border-top:1px solid var(--line,#dfe4eb);text-align:left}.security-stepup-help summary{cursor:pointer;color:var(--muted,#7f899a);font-size:13px}.security-stepup-help label{display:block;margin:14px 0}.security-stepup-help input{width:100%;margin-top:6px}.security-stepup-switch{margin-top:24px;font-size:13px}@media(max-width:720px){.security-stepup{margin:12px auto;padding:24px 18px}.security-stepup h1{font-size:25px}}

.security-temporary-login{margin-top:20px;border-top:1px solid var(--line);padding-top:16px}.security-temporary-login>summary{cursor:pointer;color:var(--muted);font-size:13px}.security-temporary-login form{margin-top:16px}#securityWriteAccess{color:var(--blue)}

#site-auto-status .office-confirm-save{display:inline;padding:0;margin:0;border:0;border-radius:0;min-height:0;height:auto;background:transparent;color:var(--blue);font:inherit;line-height:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer;box-shadow:none}#site-auto-status .office-confirm-save:focus-visible{outline:2px solid var(--blue);outline-offset:3px}#site-auto-status .office-confirm-save:disabled{opacity:.6;cursor:wait}

/* Product identity is independent of the customer company. */
.auth-product{display:flex;align-items:center;gap:10px;margin-bottom:16px;color:var(--ink);font-size:22px;font-weight:650;line-height:1.2}.auth-product img{display:block;flex:0 0 32px;width:32px;height:32px;border-radius:8px}.auth-product span{display:block}

/* Sign-in has its own canvas; the work navigation returns with the account. */
html[data-auth-view] #sidebar,html[data-auth-view] #sidepeek,html[data-auth-view] main>header{display:none!important}
html[data-auth-view] main{margin:0!important;padding:0!important;width:100%;min-height:100svh}
html[data-auth-view] #content{display:grid;place-items:center;min-height:100svh;max-width:none;padding:32px 20px!important}
html[data-auth-view] #content .auth{width:100%;max-width:420px;margin:0;padding:32px;border-radius:20px;background:var(--surface,#fff)}
.office-auth-loading{display:flex;flex-direction:column;align-items:center;gap:14px;color:var(--ink);text-align:center}
.office-auth-loading img{display:block;width:44px;height:44px;border-radius:12px}
.office-auth-loading strong{font-size:22px;font-weight:650;line-height:1.2}
.office-auth-loading small{color:var(--muted);font-size:13px;line-height:1.5}
.office-login .auth-product{justify-content:center;margin:0 0 20px}
.office-login .auth-product img{width:44px;height:44px;flex-basis:44px;border-radius:12px}
.auth-entry .office-login h1{text-align:center;font-size:26px;line-height:1.25;letter-spacing:-.6px;margin:0 0 8px}
.office-login>p{text-align:center;font-size:13px;line-height:1.5;margin:0 0 26px}
.office-login .security-login-actions{gap:12px;margin:0}
.office-login .security-login-actions button{display:flex;align-items:center;justify-content:center;min-height:48px;width:100%;padding:12px 16px;border-radius:11px;font-size:14px;line-height:1.4}
.office-login .security-login-actions p{font-size:12px;line-height:1.6;text-align:center;margin:4px 0 0}
.office-login .security-temporary-login{margin-top:22px;padding-top:18px}
.office-login .security-temporary-login>summary{width:fit-content;margin:0 auto;font-size:13px;line-height:1.5}
.office-login .security-temporary-login[open]>summary{margin-bottom:18px}
.office-login .security-temporary-login form{margin:0}
.office-login .security-temporary-login label{font-size:12px;margin:0 0 16px}
.office-login .security-temporary-login input{min-height:44px;border-radius:9px;font-size:14px}
.office-login .security-temporary-login form>.primary{min-height:46px;border-radius:11px;font-size:14px}
.office-login .security-temporary-login form>p{font-size:12px;line-height:1.6;margin:0 0 18px}
.office-login #autherror:not(:empty){margin-top:16px;font-size:13px;line-height:1.5}
@media(max-width:480px){html[data-auth-view] #content{padding:20px 16px!important}html[data-auth-view] #content .auth{padding:28px 24px;border-radius:18px}.auth-entry .office-login h1{font-size:24px}}

html[data-auth-view] #content>.auth-entry{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:clamp(36px,6vw,72px);align-items:center;width:100%;max-width:1060px;margin:0}
.auth-entry .auth-hero h1{font-size:48px;line-height:1.12;letter-spacing:-1.6px;max-width:520px;margin:0 0 22px}
.auth-entry .auth-hero .eyebrow{font-size:10px;line-height:1.6;letter-spacing:1.8px;color:var(--muted);margin:0 0 24px}
.auth-entry .auth-hero p{font-size:14px;line-height:1.8;color:var(--muted);max-width:480px;margin:0}
@media(max-width:959px){html[data-auth-view] #content>.auth-entry{grid-template-columns:minmax(0,1fr);max-width:420px;gap:28px}.auth-entry .auth-hero{text-align:center}.auth-entry .auth-hero h1{font-size:34px;letter-spacing:-.8px;margin:0 0 14px}.auth-entry .auth-hero .eyebrow{font-size:9px;margin:0 0 14px}.auth-entry .auth-hero p{font-size:12px;line-height:1.65}}
