.xray-workspace{min-height:100vh;background:#f4f5f6;color:#1d252b}
.workspace-shell{display:grid;grid-template-columns:238px minmax(0,1fr);background:#f4f5f6;color:#1d252b}
.workspace-shell .workspace-sidebar{height:100vh;overflow:auto;padding:22px 15px;background:#fff;color:#1a2630;border-right:1px solid #dce2e6}
.workspace-sidebar .admin-logo b{color:#101b22}
.workspace-sidebar .admin-logo span{color:#57636b}
.workspace-sidebar .workspace-nav{display:grid;gap:9px;margin:25px 0}
.workspace-sidebar .workspace-nav summary{cursor:pointer;font-weight:700;padding:8px 10px;font-size:13px}
.workspace-sidebar .workspace-nav a{color:#394c57}
.workspace-sidebar .workspace-nav a:is(:hover,.active){color:#294e66;background:#e9eff2}
.workspace-shell .admin-main{background:#f4f5f6;color:#1d252b}
.xray-workspace .admin-main-inner{max-width:1440px;padding:24px clamp(16px,4vw,42px) 50px}
.workspace-topbar{display:flex;justify-content:space-between;border-bottom:1px solid #dce2e6;padding-bottom:15px;margin-bottom:22px;color:#516873;font-size:13px}
.xray-workspace .admin-page-header{border-bottom:1px solid #dce2e6}
.xray-workspace .admin-page-header h1{color:#182329;font-family:Inter,Arial,sans-serif;font-size:clamp(24px,4vw,34px)}
.xray-workspace .admin-panel,.xray-workspace .metric-grid{background:#fff;color:#25323a;border:1px solid #dce2e6}
.xray-workspace .metric{border-color:#dce2e6}
.xray-workspace .metric>b{color:#1c313d;font-family:Inter,Arial,sans-serif;font-size:24px}
.workspace-masthead{display:flex;justify-content:space-between;gap:16px;padding:14px 24px;background:#0b171f;color:#fff}
.workspace-masthead .logo{color:#fff;font-size:27px}.workspace-masthead nav{display:flex;gap:14px;align-items:center}
.workspace-account{max-width:880px;margin:auto}.workspace-login{max-width:510px}
.workspace-form{max-width:850px}.workspace-form .field span{font-size:12px;font-weight:700}
.workspace-form .field :is(input,textarea),.workspace-filters :is(input,select){width:100%;padding:10px 12px;background:#fff;color:#162a35;border:1px solid #aebbc2;border-radius:4px}
.workspace-form .field textarea{resize:vertical;min-height:90px}
.workspace-editor .editor-body textarea{min-height:320px}
.workspace-actions,.workspace-filters,.workspace-pagination{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:14px 0}
.workspace-filters label{display:grid;gap:5px;font-size:13px}.workspace-filters .admin-btn{align-self:end}
.xray-workspace .admin-btn{background:#173345;color:#fff;border:1px solid #173345;letter-spacing:0;font-size:12px;text-transform:none;border-radius:4px}
.xray-workspace .admin-btn.secondary{background:#fff;color:#173345}
.workspace-table{overflow:auto;border:1px solid #dce2e6;border-radius:6px}.xray-workspace .admin-table{background:#fff;color:#162a35}
.xray-workspace .admin-table th,.xray-workspace .admin-table td{border-color:#dce2e6}
.xray-workspace .admin-table th{color:#4a5b66;background:#eef2f4;font-size:11px}
.workspace-table a,.workspace-actions a,.workspace-pagination a,.workspace-filters a{color:#244e68;text-decoration:underline}
.workspace-record-actions>a{margin:0 8px 0 0}
.workspace-feedback{color:#8e2433;background:#fff2f3;padding:12px;border:1px solid #edc0c6}
@media(max-width:760px){.workspace-shell{grid-template-columns:1fr}.workspace-shell .workspace-sidebar{height:auto;position:static;border-right:0;border-bottom:1px solid #dce2e6}.workspace-sidebar .workspace-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-masthead{padding-inline:12px}.workspace-masthead nav{font-size:12px}.workspace-filters{align-items:stretch}}

.workspace-settings{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))}
.workspace-settings a{color:#244e68;text-decoration:underline}
.workspace-checkbox{display:block;margin:5px 0}.workspace-form fieldset{margin-bottom:13px}

.workspace-shell,.workspace-shell .admin-main{background:#ecf1f4}
.workspace-shell{grid-template-columns:246px minmax(0,1fr)}
.workspace-shell .workspace-sidebar{padding:26px 18px}
.workspace-shell .admin-main-inner{padding:27px 30px 50px}
.workspace-topbar nav{display:flex;align-items:center;gap:9px}
.workspace-topbar{font-size:11px;flex-wrap:wrap;gap:8px}
.workspace-sidebar .workspace-nav{margin:14px 0 0}
.workspace-sidebar .sidebar-account{margin-block:24px 10px}
.workspace-sidebar .sidebar-account button{width:100%;justify-content:flex-start;border:1px solid #cfdce8;color:#4b6179}
.workspace-sidebar .workspace-nav details summary{list-style:none;display:flex;justify-content:space-between;min-height:36px;align-items:center}
.workspace-sidebar .workspace-nav details summary::after{content:'⌄';font-size:16px;color:#30485e}
.workspace-sidebar .workspace-nav details[open] summary::after{content:'⌃'}
.workspace-menu-toggle,.workspace-menu-label{display:none}
.workspace-dashboard{background:#fff;border:1px solid #cfdae6;border-radius:10px;overflow:hidden}
.xray-workspace .workspace-dashboard .admin-page-header{margin:0;padding:19px 20px 18px;color:#26364a}
.workspace-dashboard .admin-page-header p{font-size:13px;color:#546f87;margin:10px 0 0}
.xray-workspace .workspace-dashboard .admin-page-header h1{font-size:27px;margin:9px 0 0;color:#1f3145}
.workspace-dashboard .admin-kicker{font-size:10px;color:#825c10;font-weight:800;letter-spacing:.08em}
.xray-workspace .workspace-dashboard .metric-grid{margin:0;border:0;border-bottom:1px solid #cfdae6}
.workspace-dashboard .metric{min-height:92px;padding:12px 16px;border-right:1px solid #cfdae6}
.workspace-dashboard .metric>span,.workspace-dashboard .metric>small{font-size:10px;letter-spacing:0;color:#546f87}
.workspace-dashboard .metric>b{margin:8px 0 5px;color:#1f3145}
.workspace-modules header{background:#f0f4f7;padding:16px 16px 14px;border-bottom:1px solid #cfdae6}
.workspace-modules h2{font-size:14px;margin:6px 0 0}
.workspace-module-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;padding:14px}
.workspace-module-grid>*{display:flex;flex-direction:column;justify-content:space-between;min-height:86px;padding:13px 14px;border:1px solid #cfdce8;border-radius:6px}
.workspace-module-grid span{font-size:12px;color:#4b6883}
.workspace-module-grid strong{font-size:24px;margin-top:8px;color:#1c3047}
.workspace-module-grid a:hover,.workspace-module-grid a:focus-visible{background:#eff4f8}
@media(max-width:1090px){.workspace-module-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
.workspace-shell{grid-template-columns:1fr;position:relative}
.workspace-shell .admin-main-inner{padding:15px 12px 35px}
.workspace-shell .workspace-sidebar{display:none;height:auto;padding:14px 12px}
.workspace-menu-toggle{display:block;position:absolute;width:1px;height:1px;opacity:0}
.workspace-menu-label{display:block;position:absolute;top:10px;right:12px;padding:10px 12px;border:1px solid #cfdce8;background:#fff;color:#1c3148;border-radius:6px;cursor:pointer;z-index:4;font-size:12px;font-weight:700}
.workspace-menu-toggle:focus-visible+.workspace-menu-label{outline:2px solid #294e66;outline-offset:2px}
.workspace-menu-toggle:checked~.workspace-sidebar{display:block}
.workspace-topbar{padding-right:87px;align-items:center;min-height:59px;margin-bottom:20px}
.workspace-topbar>span{white-space:nowrap}
.xray-workspace .workspace-dashboard .admin-page-header h1{font-size:21px}
.xray-workspace .workspace-dashboard .admin-page-header{padding:16px}
.workspace-dashboard .metric:nth-child(2n){border-right:0}
.workspace-dashboard .metric{border-bottom:1px solid #cfdae6}
.workspace-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* The public sign-in page follows the publication palette. */
.xray-auth { font-family: Arial, Helvetica, sans-serif; }
.xray-auth .public-auth-page { max-width: 492px; margin: 44px auto; padding: 0 20px 52px; }
.xray-auth .public-auth-page > section {
  padding: 30px 44px;
  border: 1px solid var(--theme-line, #d8d2c5);
  border-top: 3px solid var(--gold);
  border-radius: 6px;
  background: var(--theme-page, #fbf8f0);
}
.xray-auth .public-auth-page h1 {
  margin: 0 34px 24px;
  font: 700 28px/1.2 Arial, sans-serif;
  letter-spacing: 0;
  text-align: center;
}
.xray-auth .public-auth-form { display: grid; gap: 14px; }
.xray-auth .public-auth-field,
.xray-auth .public-auth-form label {
  display: grid;
  min-width: 0;
  gap: 6px;
  color: var(--theme-secondary, #66717a);
  font: 400 13px/1.3 Arial, sans-serif;
}
.xray-auth .public-auth-form input:not([type="hidden"]) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 10px 46px 10px 12px;
  border: 1px solid var(--theme-line, #18242c);
  border-radius: 7px;
  background: var(--theme-input, #fffdf8);
  color: var(--theme-text, #111b22);
  font: 400 16px/1.4 Arial, sans-serif;
}
.xray-auth .public-auth-password {
  position: relative;
  display: block;
}
.xray-auth .public-auth-password > button:not([hidden]) {
  position: absolute;
  top: 50%;
  right: 4px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--theme-secondary, #53616a);
  cursor: pointer;
}
.xray-auth .public-auth-password svg {
  width: 18px;
  height: 18px;
}
.xray-auth .public-auth-password [aria-pressed="false"] svg:last-child,
.xray-auth .public-auth-password [aria-pressed="true"] svg:first-child {
  display: none;
}
.xray-auth .public-auth-form > button {
  min-height: 48px;
  margin-top: 2px;
  padding: 12px;
  border: 1px solid var(--theme-line, #0b171e);
  border-radius: 999px;
  background: #0b171e;
  color: #fbf8f0;
  font: 700 15px/1 Arial, sans-serif;
  cursor: pointer;
}
.xray-auth .public-auth-form > p[role="alert"] {
  margin: 0;
  color: var(--theme-red, #b4232c);
  font-size: 13px;
  line-height: 1.5;
}
.xray-auth .public-auth-page :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.xray-auth .public-auth-switch {
  display: flex;
  justify-content: center;
  margin-top: 14px;
  color: var(--theme-text, #111b22);
  font: 400 13px/1.5 Arial, sans-serif;
}
.xray-auth .public-auth-switch a { color: var(--theme-accent, #a67522); }
.xray-auth .public-auth-switch a:hover { text-decoration: underline; text-underline-offset: 2px; }
[data-theme="dark"] .xray-auth { --theme-input: #10171c; }
@media (max-width: 560px) {
  .xray-auth .public-auth-page { margin-top: 24px; }
  .xray-auth .public-auth-page > section { padding: 26px 20px; }
  .xray-auth .public-auth-page h1 { margin-bottom: 20px; font-size: 25px; }
}
