/* BSRDMS v17.3.17 — installed desktop application shell */
:root{
 --bsrdms-titlebar-height:0px;
 --bsrdms-titlebar-x:0px;
 --bsrdms-titlebar-width:100vw;
 --bsrdms-titlebar-bg:var(--brand-nav,#102b4e);
 --bsrdms-titlebar-fg:#f8fbff;
}
.bsrdms-native-titlebar{display:none}
@media(display-mode:standalone),(display-mode:window-controls-overlay){
 html,body{overscroll-behavior:none}
 body{min-height:100dvh}
 :is(a,img,button,svg){-webkit-user-drag:none}
}
@media(display-mode:window-controls-overlay){
 :root{
  --bsrdms-titlebar-height:env(titlebar-area-height,40px);
  --bsrdms-titlebar-x:env(titlebar-area-x,0px);
  --bsrdms-titlebar-width:env(titlebar-area-width,calc(100vw - 144px));
 }
 .pwa-titlebar,.bsrdms-native-titlebar{
  position:fixed;z-index:2147482000;top:0;left:0;display:block;width:100%;
  height:var(--bsrdms-titlebar-height);min-height:32px;background:var(--bsrdms-titlebar-bg);
  color:var(--bsrdms-titlebar-fg);border-bottom:1px solid color-mix(in srgb,#fff 15%,transparent);
  -webkit-app-region:drag;app-region:drag;user-select:none
 }
 .pwa-titlebar span,.bsrdms-native-titlebar>span{
  position:absolute;left:max(12px,var(--bsrdms-titlebar-x));top:50%;
  width:max(0px,calc(var(--bsrdms-titlebar-width) - 24px));overflow:hidden;
  transform:translateY(-50%);font:700 12px/1.2 "Segoe UI",Arial,sans-serif;
  letter-spacing:.01em;text-overflow:ellipsis;white-space:nowrap;pointer-events:none
 }
 .pwa-titlebar :is(a,button,input,select,textarea),.bsrdms-native-titlebar :is(a,button,input,select,textarea){-webkit-app-region:no-drag;app-region:no-drag}
 body:not(.has-app-sidebar):not(.sheet-pro-body){padding-top:var(--bsrdms-titlebar-height)}
}
html[data-wco-visible="true"]{
 --bsrdms-titlebar-height:var(--bsrdms-wco-height,40px);
 --bsrdms-titlebar-x:var(--bsrdms-wco-x,0px);
 --bsrdms-titlebar-width:var(--bsrdms-wco-width,calc(100vw - 144px));
}
.bsrdms-app-context-menu{
 position:fixed;z-index:2147483000;display:grid;min-width:220px;max-width:min(320px,calc(100vw - 16px));
 padding:6px;border:1px solid rgba(15,23,42,.14);border-radius:10px;background:#fff;color:#172436;
 box-shadow:0 18px 48px rgba(15,23,42,.24);font:13px/1.25 "Segoe UI",Arial,sans-serif
}
.bsrdms-app-context-menu[hidden]{display:none!important}
.bsrdms-app-context-menu button{
 display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:36px;
 padding:7px 9px;border:0;border-radius:7px;background:transparent;color:inherit;text-align:left;cursor:default
}
.bsrdms-app-context-menu button:hover,.bsrdms-app-context-menu button:focus-visible{background:#eef3f7;outline:none}
.bsrdms-app-context-menu button:disabled{opacity:.42}
.bsrdms-app-context-menu button b{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bsrdms-app-context-menu button kbd{justify-self:end;border:0;background:transparent;color:#6b7280;font:11px/1.2 "Segoe UI",Arial,sans-serif}
.bsrdms-app-context-menu .ctx-separator{height:1px;margin:5px 4px;background:#e5e7eb}
[data-theme="dark"] .bsrdms-app-context-menu{border-color:#314451;background:#14232c;color:#edf5f5;box-shadow:0 18px 48px rgba(0,0,0,.48)}
[data-theme="dark"] .bsrdms-app-context-menu button:hover,[data-theme="dark"] .bsrdms-app-context-menu button:focus-visible{background:#20333e}
[data-theme="dark"] .bsrdms-app-context-menu button kbd{color:#a8b8c1}
[data-theme="dark"] .bsrdms-app-context-menu .ctx-separator{background:#314451}
@media print{.pwa-titlebar,.bsrdms-native-titlebar,.bsrdms-app-context-menu{display:none!important}}
