/* Matrix is the unchanged base stylesheet. All alternate rules are opt-in. */
.portal-theme-switcher{position:relative;flex:none}
.portal-menubar:has(.portal-theme-switcher){position:relative;z-index:40}
.portal-user-menu .portal-theme-trigger{display:inline-flex;align-items:center;gap:7px;border:1px solid #087d28;border-radius:6px;padding:8px 11px;white-space:nowrap;font:inherit}
.portal-theme-trigger svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.portal-theme-trigger .portal-theme-chevron{width:13px;height:13px}
.portal-theme-menu{position:absolute;top:calc(100% + 12px);left:0;z-index:19050;width:310px;max-width:calc(100vw - 28px);padding:8px;background:#071007;color:#b9efc5;border:1px solid #087d28;border-radius:12px;box-shadow:0 14px 44px #0005;font:14px/1.4 system-ui,sans-serif}
.portal-theme-menu[hidden]{display:none}
.portal-user-menu .portal-theme-menu button{width:100%;display:flex;align-items:center;gap:12px;padding:12px;text-align:left;border:1px solid transparent;border-radius:8px;color:inherit;background:transparent;font:inherit;cursor:pointer}
.portal-user-menu .portal-theme-menu button:hover,.portal-user-menu .portal-theme-menu button:focus-visible{background:#10351c;outline:2px solid #00bb41;outline-offset:-2px}
.portal-theme-description{display:grid;gap:3px;flex:1;min-width:0}.portal-theme-description strong{font-weight:650;font-size:14px}.portal-theme-description small{font:12px/1.4 system-ui,sans-serif;opacity:.8;white-space:normal}
.portal-theme-swatch{width:36px;height:36px;flex:none;border:1px solid #ffffff30;border-radius:9px;background:linear-gradient(135deg,#08110a 50%,#00d33d 50%)}
[data-theme="classic"] .portal-theme-swatch{background:linear-gradient(135deg,#f8fafc 50%,#315d91 50%);border-color:#cad5e1}
[data-theme="innovative"] .portal-theme-swatch{background:linear-gradient(135deg,#1a2440 10%,#6366f1 50%,#23b8bd);border-color:#a6aaff}
[data-theme="christmas"] .portal-theme-swatch{background:linear-gradient(135deg,#fff 0 35%,#d82132 36% 65%,#0b663b 66%);border-color:#dfb8b8}
[data-theme="1001"] .portal-theme-swatch{background:linear-gradient(135deg,#111a50 0 48%,#d8ae52 49% 62%,#146c75 63%);border-color:#cfb76c}
.portal-theme-check{visibility:hidden;font-size:18px;color:#00df41}.portal-theme-menu [aria-checked="true"] .portal-theme-check{visibility:visible}
.portal-theme-status{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.portal-theme-effect{position:fixed;inset:0;z-index:19100;pointer-events:none;overflow:hidden}

html[data-portal-theme="classic"]{--t-bg:#f3f5f7;--t-surface:#fff;--t-soft:#f6f8fa;--t-border:#d9e0e7;--t-ink:#243347;--t-muted:#68788c;--t-accent:#315f93;--t-accent-soft:#e8f0f8;--t-sidebar:#fff;--t-nav-ink:#52647a;--t-nav-strong:#33465c;--t-nav-border:#e3e8ef;--t-nav-hover:#f0f4f8;--t-radius:6px;--t-shadow:0 2px 8px #24334708;--matrix-green:#315f93;--matrix-dark-green:#d9e0e7;--bg-color:#f3f5f7;--text-shadow:none;color-scheme:light}
html[data-portal-theme="innovative"]{--t-bg:#f0f3fa;--t-surface:#fff;--t-soft:#f7f8fd;--t-border:#dfe4f1;--t-ink:#202c49;--t-muted:#6d7893;--t-accent:#5558d9;--t-accent-soft:#eeedff;--t-sidebar:#17213a;--t-nav-ink:#c2cbe0;--t-nav-strong:#eef1fd;--t-nav-border:#ffffff12;--t-nav-hover:#ffffff0d;--t-radius:14px;--t-shadow:0 8px 28px #3547730a;--matrix-green:#5558d9;--matrix-dark-green:#dfe4f1;--bg-color:#f0f3fa;--text-shadow:none;color-scheme:light}
html[data-portal-theme="christmas"]{--t-bg:#fff7f5;--t-surface:#fff;--t-soft:#fff0ed;--t-border:#edc8c8;--t-ink:#39272a;--t-muted:#82686c;--t-accent:#c71f32;--t-accent-soft:#ffe7e8;--t-sidebar:#145437;--t-nav-ink:#e7fff0;--t-nav-strong:#fff;--t-nav-border:#ffffff30;--t-nav-hover:#ffffff18;--t-radius:12px;--t-shadow:0 5px 20px #791b2410;--matrix-green:#c71f32;--matrix-dark-green:#edc8c8;--bg-color:#fff7f5;--text-shadow:none;color-scheme:light}
html[data-portal-theme="1001"]{--t-bg:#f5f1e6;--t-surface:#fffdf7;--t-soft:#f1ead7;--t-border:#d7c58e;--t-ink:#272c45;--t-muted:#77704f;--t-accent:#a57a16;--t-accent-soft:#f5edcf;--t-sidebar:#152653;--t-nav-ink:#e2e7fc;--t-nav-strong:#f7e5a8;--t-nav-border:#d3b75b55;--t-nav-hover:#d6b95620;--t-radius:12px;--t-shadow:0 6px 24px #34304c12;--matrix-green:#a57a16;--matrix-dark-green:#d7c58e;--bg-color:#f5f1e6;--text-shadow:none;color-scheme:light}
html[data-portal-theme]:not([data-portal-theme="matrix"]) body{background:var(--t-bg);color:var(--t-ink);font-family:Inter,"Segoe UI",Arial,sans-serif;text-shadow:none}
html[data-portal-theme]:not([data-portal-theme="matrix"]) #matrixCanvas{display:none}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(.portal-shell,.portal-workspace){background:var(--t-bg);color:var(--t-ink);font-family:Inter,"Segoe UI",Arial,sans-serif}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .portal-menubar{background:var(--t-surface);color:var(--t-ink);border-bottom:1px solid var(--t-border);box-shadow:0 1px 10px #27334705;gap:14px;min-height:60px;font-size:14px;padding:8px 18px}
html[data-portal-theme="innovative"] .portal-menubar{background:#ffffffed;backdrop-filter:blur(16px)}
html[data-portal-theme="christmas"] .portal-menubar{background:linear-gradient(100deg,#fff 0 77%,#fff3f1);border-bottom-color:#c71f32}
html[data-portal-theme="1001"] .portal-menubar{background:linear-gradient(100deg,#fffdf7,#f5edcf);border-bottom-color:#b89432}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(.portal-app-menu button,.portal-user-menu button,.portal-mobile-menu){color:var(--t-ink);font-family:inherit;border-radius:var(--t-radius);text-shadow:none}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(.portal-app-menu button,.portal-user-menu button):hover{background:var(--t-accent-soft);color:var(--t-accent)}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(.portal-user-menu select,.portal-user-menu .portal-refresh,.portal-user-menu .portal-logout,.portal-user-menu .portal-theme-trigger){border:1px solid var(--t-border);background:var(--t-surface);color:var(--t-ink);border-radius:var(--t-radius);font:inherit}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .portal-role-badge{color:var(--t-muted);background:var(--t-soft);border-color:var(--t-border);font-size:11px;letter-spacing:.01em}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .portal-eye svg{stroke:var(--t-accent);filter:none}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .portal-eye-pupil{fill:var(--t-accent)}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .portal-sidebar{background:var(--t-sidebar);border-color:var(--t-nav-border);padding-top:24px}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .portal-brand{font:650 15px/1.5 Inter,"Segoe UI",sans-serif;letter-spacing:-.02em;color:var(--t-nav-strong);border-color:var(--t-nav-border);padding-bottom:22px;margin-bottom:18px}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .portal-nav{gap:8px}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .portal-nav-group{border:0;background:transparent;border-radius:var(--t-radius)}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .portal-nav-heading{color:var(--t-nav-strong);text-shadow:none;text-transform:none;font-size:12px;font-weight:650;letter-spacing:.04em;padding:12px;border-radius:var(--t-radius)}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .portal-nav-heading:is(:hover,[aria-expanded="true"]){background:var(--t-nav-hover);text-shadow:none}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .portal-nav-children{padding:5px 4px 6px 6px}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .portal-nav-item{color:var(--t-nav-ink);border-left:0;border-radius:var(--t-radius);font-size:14px;padding:11px 12px;line-height:1.4;letter-spacing:0}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .portal-nav-item:hover{background:var(--t-nav-hover);color:var(--t-nav-strong)}
html[data-portal-theme="classic"] .portal-nav-item.is-active{background:var(--t-accent-soft);color:var(--t-accent);box-shadow:inset 3px 0 var(--t-accent);font-weight:600}
html[data-portal-theme="innovative"] .portal-nav-item.is-active{background:linear-gradient(115deg,#5a5cdd,#7471eb);color:white;box-shadow:0 5px 18px #0002;font-weight:600}
html[data-portal-theme="christmas"] .portal-nav-item.is-active{background:linear-gradient(110deg,#be1e32,#df4050);color:#fff;box-shadow:0 4px 14px #5f0d1b35;font-weight:650}
html[data-portal-theme="1001"] .portal-nav-item.is-active{background:linear-gradient(110deg,#d9bd67,#f1df9e);color:#29304d;box-shadow:0 4px 14px #6b571c24;font-weight:650}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .portal-workspace{padding:28px 30px;scrollbar-color:#b9c3d6 transparent}
html[data-portal-theme="innovative"] .portal-workspace{background:radial-gradient(ellipse at 90% 0,#e5e9ff 0,transparent 45%),var(--t-bg)}
html[data-portal-theme="christmas"] .portal-workspace{background:radial-gradient(ellipse at 90% 0,#ffe5e2 0,transparent 42%),var(--t-bg)}
html[data-portal-theme="1001"] .portal-workspace{background:radial-gradient(ellipse at 92% 0,#f5e8b9 0,transparent 42%),var(--t-bg)}

@keyframes portal-snow-drift{to{transform:translate3d(24px,180px,0)}}
html[data-portal-theme="christmas"] .portal-sidebar{background-image:radial-gradient(circle at 15% 18%,#d82b3d 0 4px,transparent 5px),radial-gradient(circle at 82% 36%,#f4d77b 0 4px,transparent 5px),linear-gradient(145deg,#145437,#0b3826)}
html[data-portal-theme="christmas"] .portal-brand::after{content:"🎄  ✦  🍭";display:block;text-align:center;margin-top:14px;font:18px/1.5 system-ui,sans-serif;letter-spacing:6px;color:#fff}
html[data-portal-theme="christmas"] .portal-theme-trigger{color:#b51e30!important;border-color:#edc8c8!important}
html[data-portal-theme="1001"] .portal-sidebar{background-image:radial-gradient(ellipse at 50% 0,#34487a,#152653 65%);box-shadow:inset -1px 0 #d5b65c}
html[data-portal-theme="1001"] .portal-brand::after{content:"☾  ✦  ✧";display:block;text-align:center;margin-top:14px;font:20px/1.5 Georgia,serif;letter-spacing:8px;color:#e6cb71}
html[data-portal-theme="1001"] :is(.portal-nav-heading,.portal-brand){color:#f3dfa0!important}
html[data-portal-theme="1001"] .portal-theme-trigger{color:#8a6712!important;border-color:#d7c58e!important}
html[data-portal-theme="1001"] .portal-nav-item.is-active{border:1px solid #c8a64b}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(h1,h2,h3){color:var(--t-ink);font-family:Inter,"Segoe UI",Arial,sans-serif;text-shadow:none;letter-spacing:-.025em;text-transform:none}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .portal-page>h1{font-size:28px;font-weight:680;line-height:1.25;margin:0 0 24px;letter-spacing:-.035em}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(.portal-welcome p,.portal-muted,.portal-save-state,.portal-user-field,.portal-otp-hint,.portal-ecom-config-note){color:var(--t-muted)}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(.portal-action,.matrix-btn,.portal-grid button,.portal-date-button,.spv-toolbar button,.kc-toolbar button){background:var(--t-surface);color:var(--t-ink);border:1px solid var(--t-border);border-radius:var(--t-radius);box-shadow:var(--t-shadow);font:550 14px/1.3 Inter,"Segoe UI",Arial,sans-serif;text-transform:none;letter-spacing:0;padding:10px 14px}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(.portal-action,.matrix-btn,.portal-date-button):hover:not(:disabled){color:var(--t-accent);background:var(--t-accent-soft);border-color:var(--t-accent);box-shadow:none}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(.portal-action.is-active,.price-filters .is-active,.kc-tabs .is-active,.spv-page .is-active,.portal-action.primary){background:var(--t-accent);color:white;border-color:var(--t-accent);box-shadow:none}
html[data-portal-theme]:not([data-portal-theme="matrix"]) button:disabled{box-shadow:none;cursor:not-allowed}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(input,select,textarea){background:var(--t-surface);color:var(--t-ink);border-color:var(--t-border);border-radius:var(--t-radius);font-family:Inter,"Segoe UI",Arial,sans-serif;accent-color:var(--t-accent);box-sizing:border-box;box-shadow:none}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(input,textarea)::placeholder{color:var(--t-muted);opacity:.85}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(input,select,textarea):focus-visible{border-color:var(--t-accent);outline:3px solid var(--t-accent-soft);outline-offset:1px}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(button,a,summary):focus-visible{outline:2px solid var(--t-accent);outline-offset:3px}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(.portal-orders-export-card input,.portal-orders-export-card select,.price-grid textarea,.price-project-select,.portal-user-field input,.portal-user-field select){background:var(--t-surface);color:var(--t-ink);border:1px solid var(--t-border)}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(.modal,.portal-orders-export-overlay,.logistics-modal-backdrop,.zammler-pdf-overlay){background:#17233d66;backdrop-filter:blur(3px)}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(.modal-content,.portal-orders-export-card,.price-dialog,.logistics-dialog,.zammler-pdf-card,.portal-user-card,.container){background:var(--t-surface);color:var(--t-ink);border:1px solid var(--t-border);border-radius:var(--t-radius);box-shadow:0 20px 80px #18274726;font-family:Inter,"Segoe UI",Arial,sans-serif}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(.close-btn,.portal-orders-export-close,.portal-user-document-close,.zammler-pdf-close){color:var(--t-muted);text-shadow:none;background:transparent;border-color:var(--t-border)}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .gift-overlay>.gift-modal{background:var(--t-surface)!important;color:var(--t-ink)!important;border-color:var(--t-border);box-shadow:0 20px 70px #18274726}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .gift-modal>h2{color:var(--t-ink)!important}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .gift-modal :is(.gift-field,.stock-loading,.stock-loading strong){color:var(--t-muted)}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(.portal-context-menu,.price-context,.zammler-context-menu,.logistics-context,.portal-orders-context-menu,.portal-orders-file-menu,.spv-tooltip){background:var(--t-surface);color:var(--t-ink);border:1px solid var(--t-border);border-radius:var(--t-radius);box-shadow:0 8px 30px #18274720;font-family:Inter,"Segoe UI",Arial,sans-serif}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(.portal-context-menu,.price-context,.zammler-context-menu,.logistics-context,.portal-orders-context-menu,.portal-orders-file-menu) button{background:transparent;color:var(--t-ink);border-radius:6px;font:inherit}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(.portal-context-menu,.price-context,.zammler-context-menu,.logistics-context,.portal-orders-context-menu,.portal-orders-file-menu) button:hover:not(:disabled){background:var(--t-accent-soft);color:var(--t-accent)}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(.portal-table,.stock-table,.zammler-table,.spv-matrix,.kc-table){background:var(--t-surface);color:var(--t-ink);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(.portal-table,.stock-table,.zammler-table,.spv-matrix,.kc-table) th{background:var(--t-soft);color:var(--t-muted);border-color:var(--t-border);font-weight:600;font-size:12px;letter-spacing:.01em}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(.portal-table,.stock-table,.zammler-table,.spv-matrix,.kc-table) td{border-bottom-color:var(--t-border)}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(.stock-scroll,.price-scroll,.zammler-scroll,.portal-table-scroll,.bank-table-wrap){background:var(--t-surface);border:1px solid var(--t-border);border-radius:var(--t-radius);box-shadow:var(--t-shadow)}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(.portal-table,.stock-table) tr.is-selected:not([data-order-state]){background:var(--t-accent-soft);color:var(--t-ink)}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(.price-project-options,.price-project-select,.portal-archive-files,.portal-user-document-controls){border-color:var(--t-border)}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(.spv-page,.spv-content){--spv-surface:var(--t-bg);background:var(--t-bg)}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .spv-tabs button.portal-action{clip-path:none;border-radius:var(--t-radius) var(--t-radius) 0 0;background:var(--t-soft);color:var(--t-muted);border-bottom:0}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .spv-tabs button.portal-action.is-active{background:var(--t-surface);color:var(--t-accent);border-top-color:var(--t-accent)}
html[data-portal-theme]:not([data-portal-theme="matrix"]) :is(.logistics-summary,.bank-summary-card,.bank-card,.analytics-card,.ecom-analytics-card){background:var(--t-surface);color:var(--t-ink);border-color:var(--t-border);border-radius:var(--t-radius);box-shadow:var(--t-shadow)}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .logistics-summary button{color:var(--t-ink);font-size:14px}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .logistics-brand h1{font-size:28px;letter-spacing:-.035em}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .logistics-brand img{max-height:42px;width:auto}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .logistics-tools{margin-top:18px}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .logistics-note{color:var(--t-muted);font-size:13px}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .logistics-summary{padding:12px 16px}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .logistics-table :is(th,td){padding-top:12px;padding-bottom:12px}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .portal-theme-menu{background:var(--t-surface);color:var(--t-ink);border-color:var(--t-border);box-shadow:0 14px 44px #17213a25;border-radius:var(--t-radius)}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .portal-user-menu .portal-theme-menu button{color:var(--t-ink)}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .portal-user-menu .portal-theme-menu button:is(:hover,:focus-visible){background:var(--t-accent-soft);outline-color:var(--t-accent);color:var(--t-ink)}
html[data-portal-theme]:not([data-portal-theme="matrix"]) .portal-theme-check{color:var(--t-accent)}
html[data-portal-theme="innovative"] .portal-theme-trigger{background:linear-gradient(110deg,#f1f0ff,#f0fbfb);border-color:#d2d2f5;color:#4d50c2}
html[data-portal-theme="innovative"][data-portal-theme-motion="on"] :is(.portal-action,.portal-nav-item,.portal-app-menu button,.portal-theme-trigger){transition:background-color .16s,color .16s,border-color .16s,box-shadow .16s}
html[data-portal-theme="innovative"][data-portal-theme-motion="on"] .portal-action:hover:not(:disabled){box-shadow:0 3px 12px #5658d91a}
@media(max-width:1100px){.portal-theme-trigger>span{display:none}.portal-theme-menu{left:auto;right:0}html[data-portal-theme]:not([data-portal-theme="matrix"]) .portal-menubar{gap:9px;padding-left:12px;padding-right:12px}html[data-portal-theme]:not([data-portal-theme="matrix"]) .portal-app-menu{gap:0}}
@media(max-width:700px){html[data-portal-theme]:not([data-portal-theme="matrix"]) .portal-workspace{padding:18px 12px}html[data-portal-theme]:not([data-portal-theme="matrix"]) .portal-user-menu{gap:5px}.portal-user-menu .portal-theme-trigger{padding:7px}.portal-theme-menu{position:fixed;left:auto;right:10px;top:65px;width:300px}html[data-portal-theme]:not([data-portal-theme="matrix"]) .portal-menubar{font-size:12px;min-height:56px}html[data-portal-theme]:not([data-portal-theme="matrix"]) .logistics-brand h1{font-size:24px}}
@media(prefers-reduced-motion:reduce){html[data-portal-theme]:not([data-portal-theme="matrix"]) *{scroll-behavior:auto!important}.portal-theme-effect{display:none}html[data-portal-theme="christmas"] body::before{animation:none}}
/* Screen themes never recolor PDF iframe contents or paper documents. */
@media print{.portal-theme-switcher,.portal-theme-effect{display:none!important}}

/* Workspace backgrounds remain behind controls and never capture pointer events. */
.portal-shell > .portal-menubar{margin:0;flex-shrink:0}
.portal-layout{min-width:0;overflow:hidden}
#portal-workspace{box-sizing:border-box;min-height:0;background-repeat:repeat}
html[data-portal-theme="classic"] #portal-workspace{background-image:radial-gradient(#71829322 1px,transparent 1px);background-size:24px 24px}
html[data-portal-theme="innovative"] #portal-workspace{background-image:radial-gradient(ellipse at 90% 0,#e5e9ff,transparent 50%),repeating-linear-gradient(135deg,transparent 0 60px,#858ac00b 61px 62px);background-size:auto}
html[data-portal-theme="christmas"] #portal-workspace{background-image:url("wallpaper-snow.svg");background-size:280px 240px;animation:workspace-snow 20s linear infinite}
html[data-portal-theme="1001"] #portal-workspace{background-image:url("wallpaper-ornament.svg");background-size:240px 240px;animation:workspace-gold 18s ease-in-out infinite alternate}
@keyframes workspace-snow{to{background-position:40px 240px}}
@keyframes workspace-gold{to{background-position:12px 8px;background-size:248px 248px}}
html[data-portal-wallpaper-motion="off"] #portal-workspace{animation:none}
@media(prefers-reduced-motion:reduce){#portal-workspace{animation:none!important}}
@media print{#portal-workspace{background-image:none!important;animation:none!important}}

/* Matrix keeps its original plain workspace. */
html[data-portal-theme="matrix"] #portal-workspace{background:#f1ead9;animation:none}
