/* Sample-data demo (/demo/) only: the banner, the notices and the Import CSV note. */
:root{--demo-bar:44px}
.demo-banner{position:fixed;inset:0 0 auto 0;z-index:10030;height:var(--demo-bar);box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 18px;background:#0a2422;color:#fff;font:600 13.5px/1.3 'DM Sans',system-ui,sans-serif;box-shadow:0 2px 10px rgba(0,0,0,.18)}
.demo-banner p{margin:0;display:flex;align-items:center;gap:10px;min-width:0}
.demo-banner-note span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.demo-banner-tag{flex:none;padding:3px 9px;border-radius:999px;background:#f4c542;color:#1d1a0c;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.demo-banner-cta{flex:none}
.demo-banner-button{display:inline-flex;align-items:center;height:30px;padding:0 16px;border-radius:999px;background:#2fd08f;color:#062018;font-weight:800;text-decoration:none;white-space:nowrap}
.demo-banner-button:hover{background:#5be0aa}
.demo-banner-button:focus-visible{outline:3px solid #fff;outline-offset:2px}
/* the banner's text keeps its own colours whatever the app styles p and span with */
.demo-banner p,.demo-banner span{color:#fff!important;font:inherit!important;letter-spacing:normal!important}
.demo-banner .demo-banner-cta span{color:#cfe3df!important}
.demo-banner .demo-banner-tag{color:#1d1a0c!important;font-size:11px!important;font-weight:800!important;letter-spacing:.08em!important}
/* make room for the banner: the page, and the two things the app pins to the top of the window (sidebar and page header). The banner sits
   above the page, its sidebar and header (z 10020 at most) and below dialogs, menus and the drawer backdrop's dialogs (10040+), which
   cover it while they are open. Offsets measured per theme: Classic 0, Glass 12px (8px header and 0 sidebar at 780px and below). */
html[data-demo] body{padding-top:var(--demo-bar)!important}
html[data-demo] #sidebar{top:var(--demo-bar)!important}
html[data-demo] .workspace-header{top:var(--demo-bar)!important}
html[data-demo][data-theme="glass"] #sidebar,html[data-demo][data-theme="glass"] .workspace-header{top:calc(var(--demo-bar) + 12px)!important}
@media (max-width:780px){html[data-demo][data-theme="glass"] #sidebar{top:var(--demo-bar)!important}html[data-demo][data-theme="glass"] .workspace-header{top:calc(var(--demo-bar) + 8px)!important}}
.demo-notice{position:fixed;left:50%;bottom:22px;z-index:2147483001;transform:translate(-50%,16px);opacity:0;pointer-events:none;display:flex;align-items:center;gap:14px;max-width:min(92vw,640px);padding:12px 16px 12px 18px;border-radius:14px;background:#0a2422;color:#fff;font:600 14px/1.4 'DM Sans',system-ui,sans-serif;box-shadow:0 12px 30px rgba(0,0,0,.28);transition:opacity .25s ease,transform .25s ease}
.demo-notice.on{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.demo-notice a{flex:none;color:#062018;background:#2fd08f;padding:6px 12px;border-radius:999px;text-decoration:none;font-weight:800}
.demo-import-note{margin:10px 0 0;font-size:13px;line-height:1.5;color:inherit;opacity:.9}
.demo-import-note a{font-weight:700;color:inherit;text-decoration:underline}
@media (max-width:640px){:root{--demo-bar:64px}.demo-banner{flex-direction:column;align-items:stretch;justify-content:center;gap:4px;padding:6px 12px;font-size:12px}.demo-banner p{justify-content:space-between}.demo-banner-cta span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.demo-banner-button{height:26px;padding:0 12px}.demo-banner-note span:last-child{white-space:normal}}
@media (prefers-reduced-motion:reduce){.demo-notice{transition:none}}
/* the header's "Private cloud account" pill is not true in the demo (quick wording fixes, 2026-11-29) */
html[data-demo] .workspace-header .sample-pill{display:none!important}
