:root {
  --bo-navy: #0f2b7f;
  --bo-blue: #214a9c;
  --bo-text: #18314c;
  --bo-muted: #64758b;
  --bo-border: #dfe5ee;
  --bo-background: #f5f7fb;
  --bo-body: wf_cd1281daa9ab4ed483eed632e, Arial, sans-serif;
  --bo-heading: 'open sans', Arial, sans-serif;
  font: 16px/1.5 var(--bo-body);
  color: var(--bo-text);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; background: var(--bo-background); }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #537ed1; outline-offset: 4px; }
.bo-brand { display: inline-block; flex: 0 0 auto; }
.bo-brand img { width: 107px; height: auto; }
.bo-arrow { display: inline-block; width: 21px; height: 21px; flex: 0 0 21px; }
.bo-text-link { display: flex; align-items: center; gap: 12px; color: var(--bo-muted); font-size: 14px; text-decoration: none; }
.bo-text-link:hover { color: var(--bo-blue); }
.bo-eyebrow { display: flex; align-items: center; gap: 11px; font: 700 11px/1.5 var(--bo-heading); letter-spacing: .13em; text-transform: uppercase; color: var(--bo-blue); }
.bo-eyebrow-line { width: 26px; height: 2px; background: var(--bo-blue); }
.bo-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.bo-skip-link { position: absolute; top: -80px; left: 18px; z-index: 5; padding: 12px; background: white; }
.bo-skip-link:focus { top: 12px; }

/* Sign-in view */
.bo-login-page { background: #fafbfD; }
.bo-login-shell { max-width: 1140px; margin: 0 auto; padding: 0 38px; min-height: 100vh; display: flex; flex-direction: column; }
.bo-login-header { min-height: 130px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bo-login-main { display: grid; grid-template-columns: 1.12fr 1fr; margin: auto 0; background: white; border: 1px solid var(--bo-border); border-radius: 16px; overflow: hidden; box-shadow: 0 20px 55px #18314c07; }
.bo-login-card { padding: 67px 54px 45px; }
.bo-login-card h1 { margin-top: 24px; font: 700 clamp(30px,3.1vw,42px)/1.22 var(--bo-heading); letter-spacing: -.035em; color: var(--bo-navy); }
.bo-login-intro { color: var(--bo-muted); margin: 22px 0 32px; max-width: 335px; }
.bo-button { display: flex; gap: 13px; align-items: center; justify-content: center; border-radius: 6px; background: var(--bo-navy); min-height: 52px; padding: 13px 17px; color: #fff; font-size: 15px; text-decoration: none; }
.bo-button:hover { background: #214a9c; }
.bo-local-button { width: 100%; border: 0; }
.bo-password-form { display: grid; gap: 9px; }
.bo-password-form label { font-size: 14px; font-weight: 700; }
.bo-password-form input:not([type="hidden"]) { min-width: 0; width: 100%; min-height: 48px; margin-bottom: 10px; padding: 10px 12px; border: 1px solid #a7b7cc; border-radius: 5px; background: white; color: var(--bo-text); font: inherit; }
.bo-password-form input:focus-visible { outline: 3px solid #537ed1; outline-offset: 3px; }
.bo-password-form button { margin-top: 6px; }
.bo-microsoft-button .bo-arrow { margin-left: auto; width: 18px; }
.bo-microsoft-mark { width: 17px; height: 17px; flex: 0 0 17px; }
.bo-login-note { margin-top: 14px; font-size: 13px; line-height: 1.55; color: var(--bo-muted); }
.bo-login-divider { height: 1px; background: var(--bo-border); margin: 35px 0 20px; }
.bo-access-note { font-size: 12px; line-height: 1.6; color: var(--bo-muted); }
.bo-setup-notice { padding: 18px 20px; border: 1px solid #d7e0ee; border-radius: 6px; background: #f4f7fc; }
.bo-setup-notice strong { display: block; color: var(--bo-navy); font-size: 15px; }
.bo-setup-notice p { margin-top: 9px; font-size: 14px; color: var(--bo-muted); }
.bo-error { margin: 0 0 20px; padding: 13px 16px; border: 1px solid #e7ccc7; border-radius: 6px; background: #fff6f4; color: #8a352b; font-size: 14px; }
.bo-login-error { border-color: var(--bo-border); border-left: 4px solid var(--bo-blue); background: #f4f7fc; color: var(--bo-text); padding: 18px 20px; }
.bo-login-error strong { display: block; font: 700 16px/1.5 var(--bo-heading); color: var(--bo-navy); }
.bo-login-error p { margin-top: 8px; line-height: 1.65; }
.bo-login-help { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--bo-border); font-size: 13px; color: var(--bo-muted); }
.bo-login-help summary { color: var(--bo-blue); font-weight: 700; cursor: pointer; }
.bo-login-help summary:focus-visible { outline: 3px solid #537ed1; outline-offset: 4px; }
.bo-login-help p { margin-top: 12px; line-height: 1.65; }
.bo-login-aside { position: relative; display: flex; flex-direction: column; min-height: 530px; background: var(--bo-navy); color: white; padding: 56px 43px 29px; overflow: hidden; }
.bo-aside-kicker { position: relative; z-index: 1; font: 700 10px/1.5 var(--bo-heading); letter-spacing: .14em; color: #bccdeb; }
.bo-login-aside>p { position: relative; z-index: 1; margin-top: 72px; font: 700 27px/1.5 var(--bo-heading); letter-spacing: -.025em; }
.bo-book-mark { position: absolute; bottom: -56px; right: -50px; transform: rotate(-20deg); width: 330px; height: 240px; opacity: .11; }
.bo-book-mark span { display: block; margin-top: 11px; height: 44px; border: 2px solid #fff; border-radius: 3px 28px 28px 3px; }
.bo-aside-footer { position: relative; z-index: 1; margin-top: auto; padding-top: 100px; font: 400 9px/1.5 var(--bo-heading); letter-spacing: .13em; color: #bccdeb; }
.bo-login-footer { display: flex; justify-content: space-between; gap: 20px; padding: 37px 0 28px; font-size: 12px; color: var(--bo-muted); }

/* Signed-in overview */
.bo-app-layout { display: flex; min-height: 100vh; }
.bo-sidebar { width: 230px; flex: 0 0 230px; padding: 30px 22px; border-right: 1px solid var(--bo-border); background: white; display: flex; flex-direction: column; align-items: stretch; }
.bo-sidebar .bo-brand { align-self: flex-start; margin-left: 10px; }
.bo-sidebar-label { margin: 44px 11px 13px; font: 700 10px/1.5 var(--bo-heading); letter-spacing: .13em; color: #7b8aa0; }
.bo-navigation a { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 13px 14px; border-radius: 6px; color: var(--bo-navy); background: #edf2fb; font-size: 15px; }
.bo-navigation a:not([aria-current]) { background: transparent; color: var(--bo-muted); }
.bo-navigation a:not([aria-current]):hover { background: #f4f6fa; color: var(--bo-navy); }
.bo-navigation svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.bo-sidebar-site { display: flex; align-items: center; justify-content: space-between; gap: 8px; text-decoration: none; font-size: 14px; color: var(--bo-muted); padding: 20px 11px 0; margin-top: auto; }
.bo-sidebar-site:hover { color: var(--bo-blue); }
.bo-workspace { flex: 1 1 auto; min-width: 0; }
.bo-workspace-header { min-height: 84px; border-bottom: 1px solid var(--bo-border); background: white; padding: 20px 42px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.bo-workspace-header>span { font-size: 13px; color: var(--bo-muted); }
.bo-account { display: flex; align-items: center; gap: 19px; min-width: 0; }
.bo-account-name { font-size: 14px; overflow-wrap: anywhere; }
.bo-logout { padding: 7px 12px; background: white; border: 1px solid var(--bo-border); border-radius: 5px; color: var(--bo-muted); font-size: 13px; white-space: nowrap; }
.bo-logout:hover { color: var(--bo-navy); border-color: #9aaece; }
.bo-main { max-width: 1210px; padding: 40px 42px 24px; margin: 0 auto; }
.bo-page-heading h1 { margin: 8px 0 9px; font: 700 30px/1.3 var(--bo-heading); letter-spacing: -.035em; color: var(--bo-navy); overflow-wrap: anywhere; }
.bo-page-heading>p:last-child { color: var(--bo-muted); font-size: 15px; }
.bo-summary { margin: 30px 0; border-radius: 9px; padding: 28px 31px; border: 1px solid #dce5f3; background: #eef3fa; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.bo-status-label { color: var(--bo-blue); font-size: 12px; display: flex; align-items: center; gap: 8px; }
.bo-status-label>span { width: 6px; height: 6px; border-radius: 100%; background: #214a9c; }
.bo-summary h2 { font: 700 19px/1.5 var(--bo-heading); color: var(--bo-navy); letter-spacing: -.025em; margin: 10px 0 5px; }
.bo-summary p { font-size: 14px; color: var(--bo-muted); max-width: 550px; }
.bo-page-count { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 0 0 110px; padding-left: 30px; border-left: 1px solid #d2ddec; }
.bo-page-count strong { font: 700 38px/1.2 var(--bo-heading); color: var(--bo-navy); }
.bo-page-count span { margin-top: 5px; font-size: 13px; color: var(--bo-muted); }
.bo-pages-panel { border: 1px solid var(--bo-border); border-radius: 9px; overflow: hidden; background: white; }
.bo-panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 26px 29px; border-bottom: 1px solid var(--bo-border); }
.bo-panel-heading h2 { font: 700 17px/1.4 var(--bo-heading); letter-spacing: -.025em; }
.bo-panel-heading p { font-size: 13px; margin-top: 6px; color: var(--bo-muted); }
.bo-readonly-label { flex: 0 0 auto; background: #f4f6f9; color: var(--bo-muted); border: 1px solid #e5e9ef; border-radius: 4px; font-size: 11px; padding: 4px 8px; }
.bo-page-list { margin: 0; padding: 0; list-style: none; }
.bo-page-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 29px; }
.bo-page-row+.bo-page-row { border-top: 1px solid #edf0f5; }
.bo-page-copy { min-width: 0; }
.bo-page-copy h3 { font: 400 15px/1.5 var(--bo-body); color: var(--bo-text); overflow-wrap: anywhere; }
.bo-page-copy p { font-size: 12px; color: var(--bo-muted); margin-top: 3px; overflow-wrap: anywhere; }
.bo-page-link { display: flex; align-items: center; gap: 10px; color: var(--bo-blue); text-decoration: none; font-size: 13px; white-space: nowrap; flex: 0 0 auto; }
.bo-page-link:hover span:first-child { text-decoration: underline; }
.bo-page-link .bo-arrow { width: 18px; height: 18px; flex-basis: 18px; }
.bo-empty-state { padding: 28px; color: var(--bo-muted); font-size: 14px; }
.bo-workspace-footer { padding-top: 27px; font-size: 11px; color: var(--bo-muted); }

@media (max-width: 1000px) {
  .bo-sidebar { width: 196px; flex-basis: 196px; padding: 25px 17px; }
  .bo-workspace-header { padding: 20px 28px; }
  .bo-main { padding: 34px 28px 24px; }
  .bo-login-card { padding: 48px 36px 36px; }
  .bo-login-aside { padding: 48px 32px 28px; }
  .bo-login-aside>p { font-size: 24px; }
}
@media (max-width: 740px) {
  .bo-login-shell { padding: 0 24px; max-width: 560px; }
  .bo-login-header { min-height: 114px; }
  .bo-login-header .bo-brand img { width: 88px; }
  .bo-login-header .bo-text-link { font-size: 12px; gap: 5px; }
  .bo-login-header .bo-arrow { width: 17px; flex-basis: 17px; }
  .bo-login-main { display: block; margin: 20px 0 0; }
  .bo-login-card { padding: 34px 28px 30px; }
  .bo-login-card h1 { font-size: 32px; }
  .bo-login-aside { display: none; }
  .bo-login-footer { flex-direction: column; gap: 5px; margin-top: auto; padding-top: 34px; }
  .bo-app-layout { display: block; }
  .bo-sidebar { width: 100%; padding: 13px 20px; border-right: 0; border-bottom: 1px solid var(--bo-border); display: flex; flex-direction: row; align-items: center; gap: 18px; }
  .bo-sidebar .bo-brand { margin: 0; align-self: auto; }
  .bo-sidebar .bo-brand img { width: 70px; }
  .bo-sidebar-label { display: none; }
  .bo-navigation { margin-left: auto; }
  .bo-navigation a { padding: 10px 13px; font-size: 13px; }
  .bo-sidebar-site { display: none; }
  .bo-workspace-header { min-height: 64px; padding: 13px 22px; }
  .bo-workspace-header>span { display: none; }
  .bo-account { width: 100%; justify-content: space-between; }
  .bo-main { padding: 29px 20px 24px; }
  .bo-page-heading h1 { font-size: 26px; }
  .bo-summary { padding: 22px; gap: 20px; margin: 25px 0; }
  .bo-summary h2 { font-size: 17px; }
  .bo-page-count { flex-basis: 63px; padding-left: 20px; }
  .bo-page-count strong { font-size: 30px; }
  .bo-panel-heading { padding: 22px; display: block; }
  .bo-readonly-label { display: inline-block; margin-top: 13px; }
  .bo-page-row { padding: 18px 22px; gap: 12px; }
  .bo-page-link { gap: 0; }
  .bo-page-link>span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .bo-page-link .bo-arrow { width: 24px; height: 24px; flex-basis: 24px; }
  .bo-page-link { min-width: 40px; min-height: 40px; justify-content: center; }
}
@media (max-width: 360px) {
  .bo-login-shell { padding: 0 16px; }
  .bo-login-card { padding: 28px 22px; }
  .bo-microsoft-button { font-size: 13px; gap: 9px; }
  .bo-microsoft-button .bo-arrow { display: none; }
  .bo-summary { display: block; }
  .bo-page-count { display: flex; flex-direction: row; justify-content: flex-start; gap: 10px; border-left: 0; padding: 16px 0 0; }
}

/* Website overview uses the same shell and navigation as the other backoffice modules. */
.bo-dashboard-page .studio-nav-parent[aria-current="page"] { background: #edf2fb; }
.bo-dashboard-page .studio-breadcrumb .bo-arrow { width: 12px; height: 12px; flex-basis: 12px; color: #a9b1bc; }
