/* Themes. The default ("Unraid") is in style.css; each theme below overrides its variables.
   The theme is chosen per user on the Settings page and set as <html data-theme="...">. */

/* ---------- Windows: light, like Windows 11 ---------- */
[data-theme="windows"] {
  --bg: #ffffff;
  --bg-alt: #f9f9f9;
  --panel: #ffffff;
  --line: #e5e5e5;
  --line-soft: #efefef;
  --text: #1b1b1b;
  --muted: #5f5f5f;
  --head-bg: #f3f3f3;
  --head-text: #1b1b1b;
  --head-border: #e5e5e5;
  --head-muted: #5f5f5f;
  --head-meta: #5f5f5f;
  --head-link: #005fb8;
  --link: #005fb8;
  --green: #0f7b0f;
  --yellow: #c19c00;
  --bar: #005fb8;
  --bar-track: #e5e5e5;
  --hover: #f0f6fc;
  --input-bg: #ffffff;
  --input-border: #d1d1d1;
  --quiet-border: #d1d1d1;
  --tab-hover: #c4c4c4;
  --tab-on: #005fb8;
  --search-border: #d1d1d1;
  --title-bg: #ffffff;
  --title-text: #1b1b1b;
  --code-bg: #f3f3f3;
  --ok-text: #0f7b0f;
  --radius: 4px;
  --panel-radius: 8px;
  --panel-border: 1px solid #e5e5e5;
  --upper: none;
  --spacing: 0;
}
[data-theme="windows"] body { background: #f3f3f3; font-size: 14px; }
[data-theme="windows"] .panel { box-shadow: 0 2px 4px rgba(0, 0, 0, .04); }
[data-theme="windows"] .panel-title { font-size: 15px; font-weight: 600; border-bottom: 1px solid #efefef; padding: 10px 14px; }
[data-theme="windows"] .tabs a { font-weight: 500; font-size: 14px; border-bottom-width: 3px; border-radius: 4px 4px 0 0; }
[data-theme="windows"] .tabs a:hover { background: #eaeaea; }
[data-theme="windows"] .btn { font-size: 13px; font-weight: 500; padding: 5px 14px; }
[data-theme="windows"] .btn.quiet { color: #1b1b1b; background: #fbfbfb; }
[data-theme="windows"] .btn.quiet:hover { background: #f0f0f0; color: #1b1b1b; }
[data-theme="windows"] input:focus, [data-theme="windows"] select:focus, [data-theme="windows"] textarea:focus {
  border-bottom: 2px solid #005fb8;
}
[data-theme="windows"] .stat .l, [data-theme="windows"] dl.props dt, [data-theme="windows"] .actions-grid h4,
[data-theme="windows"] .brand .app-name { text-transform: none; letter-spacing: 0; font-size: 12px; }
[data-theme="windows"] .filters, [data-theme="windows"] .bulkbar { background: #fafafa; }
[data-theme="windows"] .foot { border-top: 1px solid #e5e5e5; }

/* ---------- AssetCloud style: slate side menu with gold icons, slate top bar, white content ----------
   The base for themes built on AssetCloud. The built-in AssetCloud theme itself is restyled further down,
   in "AssetCloud (0.16.6.3a)" ([data-skin="assetcloud"]): change its colors there. */
[data-theme="assetcloud"] {
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --panel: #ffffff;
  --line: #e3e6e9;
  --line-soft: #eef0f2;
  --text: #333b42;
  --muted: #8a949c;
  --head-bg: #3d4f5c;
  --head-text: #d5dce2;
  --head-muted: #f0b429;
  --head-meta: #c3ccd3;
  --head-link: #ffffff;
  --tab-text: #d5dce2;
  --tab-hover: transparent;
  --tab-on: #f0b429;
  --search-bg: #ffffff;
  --search-border: #ffffff;
  --link: #2c6a9e;
  --green: #4caf50;
  --yellow: #f0b429;
  --bar: #4f6271;
  --bar-track: #e9ecef;
  --hover: #f1f9ef;
  --input-bg: #ffffff;
  --input-border: #d0d5da;
  --quiet-border: #d0d5da;
  --title-bg: #ffffff;
  --title-text: #333b42;
  --code-bg: #f4f6f7;
  --ok-text: #4caf50;
  --radius: 3px;
  --panel-radius: 2px;
  --panel-border: 1px solid #e3e6e9;
  --upper: none;
  --spacing: 0;
  --menu-bg: #34444f;
  --menu-hover: #2c3a44;
}
[data-theme="assetcloud"] body { background: #ffffff; }
[data-theme="assetcloud"] .btn, [data-theme="assetcloud"] button.btn { border-color: #d0d5da; font-size: 13px; font-weight: 500; }
[data-theme="assetcloud"] .btn.quiet { color: #5b656d; }
[data-theme="assetcloud"] .panel-title { font-size: 20px; font-weight: 600; padding: 14px 14px; border-bottom: 1px solid #eef0f2; }
[data-theme="assetcloud"] .panel-title .ico { color: #4f6271; font-size: 22px; width: 28px; }
[data-theme="assetcloud"] th { color: #9aa3aa; font-size: 13px; background: #fff; border-bottom: 1px solid #e3e6e9; }
[data-theme="assetcloud"] tbody tr:nth-child(even) td { background: #fff; }
[data-theme="assetcloud"] td a:first-child { color: #333b42; text-decoration: underline; text-decoration-color: #b9c1c7; }
[data-theme="assetcloud"] .filters, [data-theme="assetcloud"] .bulkbar { background: #f7f8f9; }
[data-theme="assetcloud"] input:focus, [data-theme="assetcloud"] select:focus, [data-theme="assetcloud"] textarea:focus { border-color: #4f6271; }
[data-theme="assetcloud"] .brand img { background: transparent; }   /* the logo's own see-through background */
[data-theme="assetcloud"] .brand .app-name { color: #f0b429; }
/* gold menu icons (other themes don't show them) */
.tabs a[data-ico]::before { display: none; }
[data-theme="assetcloud"] .tabs a[data-ico]::before {
  display: inline-block; content: attr(data-ico); color: #f0b429; width: 24px; margin-right: 10px; text-align: center; font-size: 19px; line-height: 1; vertical-align: -2px;
}
[data-theme="assetcloud"] .tabs a .caret { float: right; }
[data-theme="assetcloud"] .foot { background: #3d4f5c; color: #d5dce2; }
[data-theme="assetcloud"] .foot .ok { color: #8fd68f; }

/* ---------- AssetCloud side menu (wide screens), also used by themes built on AssetCloud ----------
   Top to bottom: the logo, the search row with the ☰ that shrinks the menu, the menu, and at the bottom the person,
   Settings, Sign out and ? (kept in view while the menu scrolls). No bar across the top of the page. Shrunk, the menu
   is a 64px strip of icons; the choice is remembered per browser (see base.html). --side-edge is the width of the
   coloured mark on the open page's menu item; a theme can change it. */
:root { --side-edge: 3px; }
@media (min-width: 900px) {
  html[data-theme="assetcloud"] { scroll-padding-top: 14px; }
  [data-theme="assetcloud"] main { margin-left: 230px; padding-top: 18px; max-width: none; }
  [data-theme="assetcloud"] .foot { left: 0; }
  [data-theme="assetcloud"] .top {
    position: fixed; top: 0; bottom: 28px; left: 0; width: 230px; z-index: 20; padding: 0;
    display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden; border: 0;
    box-shadow: 2px 0 14px rgba(0, 0, 0, .12);                              /* reads as a panel above the page */
    scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .3) transparent;
  }
  [data-theme="assetcloud"] .top-row { display: contents; }            /* its logo and user block become sidebar parts */

  /* logo */
  [data-theme="assetcloud"] .brand {
    order: 1; flex: 0 0 auto; position: relative; padding: 12px 14px; background: #4f6271;
    flex-direction: column; align-items: stretch; gap: 4px;
  }
  [data-theme="assetcloud"] .brand img:not(.brand-mini) { width: 100%; height: auto; box-sizing: border-box; }
  [data-theme="assetcloud"] .brand .app-name { padding: 0; text-align: center; }
  /* the small picture for the slim strip, on a white badge; it pops in as the full logo fades out */
  [data-theme="assetcloud"] .brand img.brand-mini {
    display: block; position: absolute; top: 0; left: 50%; width: 46px; height: 46px; margin-left: -23px; padding: 5px 6px;
    box-sizing: border-box; object-fit: contain; background: #fff; border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25); opacity: 0; transform: scale(.4) rotate(-12deg); pointer-events: none;
  }

  /* search row with the ☰ */
  [data-theme="assetcloud"] .side-top { order: -1; display: flex; align-items: center; gap: 8px; padding: 10px 12px 10px 8px; background: #34444f; }
  [data-theme="assetcloud"] .tabs .side-top form.search { flex: 1 1 auto; min-width: 0; padding: 0; }
  [data-theme="assetcloud"] .tabs .side-top form.search input { width: 100%; }
  [data-theme="assetcloud"] .side-toggle {
    flex: 0 0 34px; width: 34px; height: 34px; padding: 0;
    display: grid; place-content: center; gap: 4px; border: 0; border-radius: 6px; background: transparent; color: #ffffff; cursor: pointer;
    transition: background .2s ease, transform .2s ease;
  }
  [data-theme="assetcloud"] .side-toggle:hover { background: rgba(255, 255, 255, .14); }
  [data-theme="assetcloud"] .side-toggle:focus-visible { outline: 2px solid #f0b429; outline-offset: 2px; }
  [data-theme="assetcloud"] .side-toggle span {
    display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transform-origin: center;
    transition: transform .32s cubic-bezier(.4, 0, .2, 1), opacity .2s ease, width .32s cubic-bezier(.4, 0, .2, 1);
  }
  /* a click squashes it flat, springs it up tall and wobbles it back */
  [data-theme="assetcloud"] .side-toggle.squish { animation: side-squish .38s cubic-bezier(.3, 1.4, .5, 1); }
  @keyframes side-squish {
    0% { transform: scale(1, 1); }
    25% { transform: scale(1.28, .68); }
    50% { transform: scale(.86, 1.16); }
    75% { transform: scale(1.06, .95); }
    100% { transform: scale(1, 1); }
  }

  /* the menu */
  [data-theme="assetcloud"] .top .tabs { order: 2; flex: 0 0 auto; }
  [data-theme="assetcloud"] .tabs { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 0; margin: 0; }
  [data-theme="assetcloud"] .tabs .spacer { display: none; }
  [data-theme="assetcloud"] .tabs a {
    display: block; padding: 13px 16px; font-size: 14px; font-weight: 400; white-space: nowrap; overflow: hidden;
    border-bottom: 0; border-left: var(--side-edge) solid transparent;
  }
  [data-theme="assetcloud"] .tabs a:hover { background: #34444f; color: #fff; }
  [data-theme="assetcloud"] .tabs a.on { background: #2c3a44; color: #f0b429; border-left-color: #f0b429; }
  [data-theme="assetcloud"] .tab-label { display: inline-block; max-width: 180px; overflow: hidden; white-space: nowrap; vertical-align: bottom; }
  /* a thin line between modules (only there), drawn like the one in the top-menu themes */
  [data-theme="assetcloud"] .tabs .mod-sep { display: block; flex: 0 0 auto; height: 1px; width: auto; margin: 10px 0; background: var(--mod-sep, var(--tab-text)); opacity: .35; }
  /* 0.16.1.3a: a module's name is a full-size menu item (it opens the module); the ▾ at its right end folds it */
  [data-theme="assetcloud"] .tabs > .modrow { display: block; position: relative; }
  [data-theme="assetcloud"] .tabs .modrow > a.mod-link { padding-right: 52px; }
  [data-theme="assetcloud"] .tabs .mod-fold {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 6px; font-size: 12px;
  }
  [data-theme="assetcloud"] .tabs .mod-fold:hover { background: rgba(255, 255, 255, .14); }
  /* 0.16.1.8a: in the slim strip a module keeps its own icon (it opens the module); the fold arrow waits for the wide menu */
  .side-hidden[data-theme="assetcloud"] .tabs .modrow > a.mod-link { padding-right: 0; justify-content: center; }
  .side-hidden[data-theme="assetcloud"] .tabs .mod-fold { display: none; }
  /* Lookups: an indented list in the menu that glides open on a click (not on hover) and starts open on its own pages */
  [data-theme="assetcloud"] .tabs > .menu { display: block; }
  [data-theme="assetcloud"] .tabs .menu-items { position: static; box-shadow: none; border: 0; border-radius: 0; padding: 0; min-width: 0; }
  [data-theme="assetcloud"] .tabs .menu .menu-items { display: block; max-height: 0; overflow: hidden; opacity: 0; visibility: hidden; }
  [data-theme="assetcloud"] .tabs .menu.open .menu-items { max-height: 520px; opacity: 1; visibility: visible; }
  [data-theme="assetcloud"] .tabs .menu .caret { display: inline-block; }
  [data-theme="assetcloud"] .tabs .menu.open .caret { transform: rotate(180deg); }
  [data-theme="assetcloud"] .tabs .menu-items a { padding: 10px 16px 10px 50px; font-size: 13px; box-shadow: none; }
  [data-theme="assetcloud"] .tabs .menu-items a.on { background: #26323b; }
  [data-theme="assetcloud"] .tabs .menu-items hr { border: 0; margin: 4px 0; }
  /* Assets has a drawn icon (a box with a checklist), the size of the other icons; it takes the theme's icon color */
  [data-theme="assetcloud"] .tabs a[href="/assets"][data-ico]::before {
    content: ""; width: 24px; height: 20px; flex: 0 0 24px; vertical-align: -4px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3Cmask id='g'%3E%3Crect width='24' height='24' fill='%23fff'/%3E%3Crect x='11' y='5.6' width='13' height='18.4' rx='2.6' fill='%23000'/%3E%3C/mask%3E%3Cmask id='c'%3E%3Crect width='24' height='24' fill='%23fff'/%3E%3Crect x='14.2' y='5.9' width='6.6' height='4.4' rx='1.6' fill='%23000'/%3E%3Cpath d='M14.6 13.1l1 1 1.9-2.1M14.6 17.6l1 1 1.9-2.1M18.9 13.1h1.9M18.9 17.6h1.9' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url%28%23g%29'%3E%3Cpath d='M1.6 6.7L8.6 3.2l7 3.5-7 3.5z'/%3E%3Cpath d='M1 7.8l7 3.5v9.2l-7-3.5z'/%3E%3Cpath d='M9.2 11.3l7-3.5v9.2l-7 3.5z'/%3E%3C/g%3E%3Crect x='12.5' y='8' width='10' height='14.6' rx='1.7' mask='url%28%23c%29'/%3E%3Crect x='15' y='6.7' width='5' height='2.8' rx='1'/%3E%3C/svg%3E") center / 15px 15px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3Cmask id='g'%3E%3Crect width='24' height='24' fill='%23fff'/%3E%3Crect x='11' y='5.6' width='13' height='18.4' rx='2.6' fill='%23000'/%3E%3C/mask%3E%3Cmask id='c'%3E%3Crect width='24' height='24' fill='%23fff'/%3E%3Crect x='14.2' y='5.9' width='6.6' height='4.4' rx='1.6' fill='%23000'/%3E%3Cpath d='M14.6 13.1l1 1 1.9-2.1M14.6 17.6l1 1 1.9-2.1M18.9 13.1h1.9M18.9 17.6h1.9' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url%28%23g%29'%3E%3Cpath d='M1.6 6.7L8.6 3.2l7 3.5-7 3.5z'/%3E%3Cpath d='M1 7.8l7 3.5v9.2l-7-3.5z'/%3E%3Cpath d='M9.2 11.3l7-3.5v9.2l-7 3.5z'/%3E%3C/g%3E%3Crect x='12.5' y='8' width='10' height='14.6' rx='1.7' mask='url%28%23c%29'/%3E%3Crect x='15' y='6.7' width='5' height='2.8' rx='1'/%3E%3C/svg%3E") center / 15px 15px no-repeat;
  }

  /* 0.16.1.1a: every menu icon is drawn (like the gear), 18px, 20px in the slim strip: the text symbols drew at
     different sizes on each computer. A module's own icon that isn't drawn here stays a text symbol, a bit bigger. */
  [data-theme="assetcloud"] .tabs a[data-ico]::before { font-size: 21px; }
  html[data-theme="assetcloud"] #side-menu a[data-ico="⌂"]::before,
  html[data-theme="assetcloud"] #side-menu a[data-ico="⌕"]::before,
  html[data-theme="assetcloud"] #side-menu a[data-ico="☑"]::before,
  html[data-theme="assetcloud"] #side-menu a[data-ico="⚒"]::before,
  html[data-theme="assetcloud"] #side-menu a[data-ico="◷"]::before,
  html[data-theme="assetcloud"] #side-menu a[data-ico="◔"]::before,
  html[data-theme="assetcloud"] #side-menu a[data-ico="✉"]::before,
  html[data-theme="assetcloud"] #side-menu a[data-ico="☰"]::before,
  html[data-theme="assetcloud"] #side-menu a[data-ico="▣"]::before {
    content: ""; width: 24px; height: 20px; flex: 0 0 24px; vertical-align: -4px; background: currentColor;
    -webkit-mask-position: center; mask-position: center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-size: 18px 18px; mask-size: 18px 18px;
  }
  html[data-theme="assetcloud"] #side-menu a[data-ico="⌂"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%2011.2%2012%203.6l9%207.6'/%3E%3Cpath%20d='M5.6%209.4v11h12.8v-11'/%3E%3Cpath%20d='M10%2020.4v-6h4v6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%2011.2%2012%203.6l9%207.6'/%3E%3Cpath%20d='M5.6%209.4v11h12.8v-11'/%3E%3Cpath%20d='M10%2020.4v-6h4v6'/%3E%3C/svg%3E"); }
  html[data-theme="assetcloud"] #side-menu a[data-ico="⌕"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='10.5'%20cy='10.5'%20r='6.6'/%3E%3Cpath%20d='M15.4%2015.4%2021%2021'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='10.5'%20cy='10.5'%20r='6.6'/%3E%3Cpath%20d='M15.4%2015.4%2021%2021'/%3E%3C/svg%3E"); }
  html[data-theme="assetcloud"] #side-menu a[data-ico="☑"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3.6'%20y='3.6'%20width='16.8'%20height='16.8'%20rx='2.6'/%3E%3Cpath%20d='M7.6%2012.4l3.1%203.1%205.9-6.8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3.6'%20y='3.6'%20width='16.8'%20height='16.8'%20rx='2.6'/%3E%3Cpath%20d='M7.6%2012.4l3.1%203.1%205.9-6.8'/%3E%3C/svg%3E"); }
  html[data-theme="assetcloud"] #side-menu a[data-ico="⚒"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M15.6%203.4a4.6%204.6%200%200%200-4.3%206.2l-7.6%207.6a2%202%200%200%200%202.8%202.8l7.6-7.6a4.6%204.6%200%200%200%206.2-4.3l-2.7%202.7-2.6-.6-.6-2.6z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M15.6%203.4a4.6%204.6%200%200%200-4.3%206.2l-7.6%207.6a2%202%200%200%200%202.8%202.8l7.6-7.6a4.6%204.6%200%200%200%206.2-4.3l-2.7%202.7-2.6-.6-.6-2.6z'/%3E%3C/svg%3E"); }
  html[data-theme="assetcloud"] #side-menu a[data-ico="◷"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3.6'%20y='5'%20width='16.8'%20height='15.4'%20rx='2.4'/%3E%3Cpath%20d='M3.6%209.6h16.8M8%203v4M16%203v4M8%2013.4h.01M12%2013.4h.01M16%2013.4h.01M8%2017h.01M12%2017h.01'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3.6'%20y='5'%20width='16.8'%20height='15.4'%20rx='2.4'/%3E%3Cpath%20d='M3.6%209.6h16.8M8%203v4M16%203v4M8%2013.4h.01M12%2013.4h.01M16%2013.4h.01M8%2017h.01M12%2017h.01'/%3E%3C/svg%3E"); }
  html[data-theme="assetcloud"] #side-menu a[data-ico="◔"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%203.6a8.4%208.4%200%201%200%208.4%208.4H12z'/%3E%3Cpath%20d='M15%202.9a8.4%208.4%200%200%201%206.1%206.1H15z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%203.6a8.4%208.4%200%201%200%208.4%208.4H12z'/%3E%3Cpath%20d='M15%202.9a8.4%208.4%200%200%201%206.1%206.1H15z'/%3E%3C/svg%3E"); }
  html[data-theme="assetcloud"] #side-menu a[data-ico="✉"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3'%20y='5.4'%20width='18'%20height='13.2'%20rx='2.2'/%3E%3Cpath%20d='M3.6%207.2l8.4%206%208.4-6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3'%20y='5.4'%20width='18'%20height='13.2'%20rx='2.2'/%3E%3Cpath%20d='M3.6%207.2l8.4%206%208.4-6'/%3E%3C/svg%3E"); }
  html[data-theme="assetcloud"] #side-menu a[data-ico="☰"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%207h16M4%2012h16M4%2017h16'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%207h16M4%2012h16M4%2017h16'/%3E%3C/svg%3E"); }
  html[data-theme="assetcloud"] #side-menu a[data-ico="▣"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3Cmask id='g'%3E%3Crect width='24' height='24' fill='%23fff'/%3E%3Crect x='11' y='5.6' width='13' height='18.4' rx='2.6' fill='%23000'/%3E%3C/mask%3E%3Cmask id='c'%3E%3Crect width='24' height='24' fill='%23fff'/%3E%3Crect x='14.2' y='5.9' width='6.6' height='4.4' rx='1.6' fill='%23000'/%3E%3Cpath d='M14.6 13.1l1 1 1.9-2.1M14.6 17.6l1 1 1.9-2.1M18.9 13.1h1.9M18.9 17.6h1.9' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url%28%23g%29'%3E%3Cpath d='M1.6 6.7L8.6 3.2l7 3.5-7 3.5z'/%3E%3Cpath d='M1 7.8l7 3.5v9.2l-7-3.5z'/%3E%3Cpath d='M9.2 11.3l7-3.5v9.2l-7 3.5z'/%3E%3C/g%3E%3Crect x='12.5' y='8' width='10' height='14.6' rx='1.7' mask='url%28%23c%29'/%3E%3Crect x='15' y='6.7' width='5' height='2.8' rx='1'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3Cmask id='g'%3E%3Crect width='24' height='24' fill='%23fff'/%3E%3Crect x='11' y='5.6' width='13' height='18.4' rx='2.6' fill='%23000'/%3E%3C/mask%3E%3Cmask id='c'%3E%3Crect width='24' height='24' fill='%23fff'/%3E%3Crect x='14.2' y='5.9' width='6.6' height='4.4' rx='1.6' fill='%23000'/%3E%3Cpath d='M14.6 13.1l1 1 1.9-2.1M14.6 17.6l1 1 1.9-2.1M18.9 13.1h1.9M18.9 17.6h1.9' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url%28%23g%29'%3E%3Cpath d='M1.6 6.7L8.6 3.2l7 3.5-7 3.5z'/%3E%3Cpath d='M1 7.8l7 3.5v9.2l-7-3.5z'/%3E%3Cpath d='M9.2 11.3l7-3.5v9.2l-7 3.5z'/%3E%3C/g%3E%3Crect x='12.5' y='8' width='10' height='14.6' rx='1.7' mask='url%28%23c%29'/%3E%3Crect x='15' y='6.7' width='5' height='2.8' rx='1'/%3E%3C/svg%3E"); }
  html.side-hidden[data-theme="assetcloud"] #side-menu a[data-ico="⌂"]::before,
  html.side-hidden[data-theme="assetcloud"] #side-menu a[data-ico="⌕"]::before,
  html.side-hidden[data-theme="assetcloud"] #side-menu a[data-ico="☑"]::before,
  html.side-hidden[data-theme="assetcloud"] #side-menu a[data-ico="⚒"]::before,
  html.side-hidden[data-theme="assetcloud"] #side-menu a[data-ico="◷"]::before,
  html.side-hidden[data-theme="assetcloud"] #side-menu a[data-ico="◔"]::before,
  html.side-hidden[data-theme="assetcloud"] #side-menu a[data-ico="✉"]::before,
  html.side-hidden[data-theme="assetcloud"] #side-menu a[data-ico="☰"]::before,
  html.side-hidden[data-theme="assetcloud"] #side-menu a[data-ico="▤"]::before,
  html.side-hidden[data-theme="assetcloud"] #side-menu a[data-ico="▣"]::before { width: 24px; -webkit-mask-size: 20px 20px; mask-size: 20px 20px; }

  html[data-theme="assetcloud"] #side-menu a[data-ico="▤"]::before {
    content: ""; width: 24px; height: 20px; flex: 0 0 24px; vertical-align: -4px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%202.8%203.4%207.4v9.2L12%2021.2l8.6-4.6V7.4z'/%3E%3Cpath%20d='M3.6%207.5%2012%2012l8.4-4.5M12%2012v9'/%3E%3Cpath%20d='M7.8%205.1l8.5%204.6'/%3E%3C/svg%3E") center / 18px 18px no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%202.8%203.4%207.4v9.2L12%2021.2l8.6-4.6V7.4z'/%3E%3Cpath%20d='M3.6%207.5%2012%2012l8.4-4.5M12%2012v9'/%3E%3Cpath%20d='M7.8%205.1l8.5%204.6'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
  }
  /* bottom: the person, Settings, Sign out and ? */
  [data-theme="assetcloud"] .top .who {
    order: 3; margin-top: auto; position: sticky; bottom: 0; z-index: 2; background: #34444f; color: #fff;
    display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 10px 12px 6px; text-align: left;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }
  [data-theme="assetcloud"] .top .who .name, [data-theme="assetcloud"] .top .who .dot { display: none; }
  [data-theme="assetcloud"] .top .who .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; font-size: 13px; color: #d5dce2; }
  [data-theme="assetcloud"] .top .who .who-user { order: 0; flex: 1 0 100%; color: #fff; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  [data-theme="assetcloud"] .top .who .who-count { order: 1; flex: 1 0 100%; font-size: 12px; opacity: .8; }
  [data-theme="assetcloud"] .top .who .meta > a, [data-theme="assetcloud"] .top .who form { order: 2; }
  [data-theme="assetcloud"] .top .who form { display: inline-flex; align-items: center; }
  [data-theme="assetcloud"] .top .who .who-settings, [data-theme="assetcloud"] .top .who .who-signout {
    display: inline-flex; align-items: center; color: inherit; text-decoration: none; padding: 4px 0; white-space: nowrap;
  }
  [data-theme="assetcloud"] .top .who .who-settings:hover .who-txt, [data-theme="assetcloud"] .top .who .who-signout:hover .who-txt { text-decoration: underline; }
  /* drawn icons the size of the menu's icons: an outlined gear, and a power symbol (⏻ is missing from many fonts) */
  [data-theme="assetcloud"] .top .who .who-gear, [data-theme="assetcloud"] .top .who .who-ico {
    display: inline-block; margin-right: 6px; font-size: 0; background: currentColor;
  }
  [data-theme="assetcloud"] .top .who .who-gear { width: 18px; height: 18px; vertical-align: -4px; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linejoin='round'%3E%3Cpath d='M19.28 9.49 L22.01 10.05 L22.01 13.95 L19.28 14.51 L18.92 15.38 L20.46 17.70 L17.70 20.46 L15.38 18.92 L14.51 19.28 L13.95 22.01 L10.05 22.01 L9.49 19.28 L8.62 18.92 L6.30 20.46 L3.54 17.70 L5.08 15.38 L4.72 14.51 L1.99 13.95 L1.99 10.05 L4.72 9.49 L5.08 8.62 L3.54 6.30 L6.30 3.54 L8.62 5.08 L9.49 4.72 L10.05 1.99 L13.95 1.99 L14.51 4.72 L15.38 5.08 L17.70 3.54 L20.46 6.30 L18.92 8.62 Z'/%3E%3Ccircle cx='12' cy='12' r='3.2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linejoin='round'%3E%3Cpath d='M19.28 9.49 L22.01 10.05 L22.01 13.95 L19.28 14.51 L18.92 15.38 L20.46 17.70 L17.70 20.46 L15.38 18.92 L14.51 19.28 L13.95 22.01 L10.05 22.01 L9.49 19.28 L8.62 18.92 L6.30 20.46 L3.54 17.70 L5.08 15.38 L4.72 14.51 L1.99 13.95 L1.99 10.05 L4.72 9.49 L5.08 8.62 L3.54 6.30 L6.30 3.54 L8.62 5.08 L9.49 4.72 L10.05 1.99 L13.95 1.99 L14.51 4.72 L15.38 5.08 L17.70 3.54 L20.46 6.30 L18.92 8.62 Z'/%3E%3Ccircle cx='12' cy='12' r='3.2'/%3E%3C/svg%3E") center / contain no-repeat; }
  [data-theme="assetcloud"] .top .who .who-ico { width: 17px; height: 17px; vertical-align: -3px; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 3v8'/%3E%3Cpath d='M6.3 6.8a8 8 0 1 0 11.4 0'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 3v8'/%3E%3Cpath d='M6.3 6.8a8 8 0 1 0 11.4 0'/%3E%3C/svg%3E") center / contain no-repeat; }
  [data-theme="assetcloud"] .top .who .meta a.help-badge { width: 20px; height: 20px; font-size: 12px; margin-left: auto; }
  [data-theme="assetcloud"] .top .who .help-badge::after { top: auto; bottom: calc(100% + 6px); right: 0; }   /* tip opens upwards */

  /* ---- shrunk to the slim strip: icons only ---- */
  .side-hidden[data-theme="assetcloud"] .top { width: 64px; }
  .side-hidden[data-theme="assetcloud"] main { margin-left: 64px; }
  .side-hidden[data-theme="assetcloud"] .brand { padding: 10px 6px; min-height: 66px; }
  .side-hidden[data-theme="assetcloud"] .brand img:not(.brand-mini) { width: 52px; opacity: 0; }
  .side-hidden[data-theme="assetcloud"] .brand img.brand-mini { top: 50%; margin-top: -23px; opacity: 1; transform: scale(1) rotate(0); transition-delay: .1s; }
  .side-hidden[data-theme="assetcloud"] .brand .app-name { opacity: 0; max-width: 0; height: 0; margin: 0; overflow: hidden; white-space: nowrap; }
  /* the ☰ has the search row to itself and lines up with the icons below it (they sit right of the open-page mark) */
  .side-hidden[data-theme="assetcloud"] .side-top { justify-content: center; padding: 10px 0 10px var(--side-edge); }
  /* the middle bar shrinks away and the other two fold into a chevron (›), pointing the way the menu opens */
  .side-hidden[data-theme="assetcloud"] .side-toggle span:nth-child(1) { transform: translate(0, 2.5px) rotate(45deg); width: 10px; }
  .side-hidden[data-theme="assetcloud"] .side-toggle span:nth-child(2) { transform: scaleX(0); opacity: 0; }
  .side-hidden[data-theme="assetcloud"] .side-toggle span:nth-child(3) { transform: translate(0, -2.5px) rotate(-45deg); width: 10px; }
  .side-hidden[data-theme="assetcloud"] .tab-label { opacity: 0; max-width: 0; }
  .side-hidden[data-theme="assetcloud"] .tabs a { padding-left: 0; padding-right: 0; text-align: center; }
  .side-hidden[data-theme="assetcloud"] .tabs a[data-ico]::before { margin-right: 0; width: auto; }
  .side-hidden[data-theme="assetcloud"] .tabs a[href="/assets"][data-ico]::before { width: 24px; }
  .side-hidden[data-theme="assetcloud"] .tabs .caret,
  .side-hidden[data-theme="assetcloud"] .tabs form.search,
  .side-hidden[data-theme="assetcloud"] .tabs .menu .menu-items { display: none !important; }
  .side-hidden[data-theme="assetcloud"] .top .who { padding: 8px 0 6px; align-items: center; }
  .side-hidden[data-theme="assetcloud"] .top .who .meta { flex-direction: column; gap: 6px; }
  .side-hidden[data-theme="assetcloud"] .top .who .who-user, .side-hidden[data-theme="assetcloud"] .top .who .who-count,
  .side-hidden[data-theme="assetcloud"] .top .who .who-txt { display: none; }
  .side-hidden[data-theme="assetcloud"] .top .who .who-settings, .side-hidden[data-theme="assetcloud"] .top .who .who-signout { padding: 2px 0; }
  .side-hidden[data-theme="assetcloud"] .top .who .who-gear { width: 20px; height: 20px; margin: 0; }
  .side-hidden[data-theme="assetcloud"] .top .who .who-ico { width: 19px; height: 19px; margin: 0; }
  .side-hidden[data-theme="assetcloud"] .top .who .help-badge { margin: 2px 0 0; }
  .side-hidden[data-theme="assetcloud"] .top .who .help-badge::after { right: auto; left: 0; }

  /* animations, only after the page has drawn (.side-anim), so nothing slides on every page load */
  /* 0.16.1.1a: smoother. The page beside it no longer animates its margin (that re-laid-out the whole page every
     frame); base.html moves it with a transform instead. The menu eases out softly; words fade out quickly when it
     narrows and fade in once it has room when it widens. */
  .side-anim[data-theme="assetcloud"] .top { transition: width .3s cubic-bezier(.2, .8, .2, 1); }
  .side-anim[data-theme="assetcloud"] .tab-label,
  .side-anim[data-theme="assetcloud"] .brand .app-name { transition: opacity .18s ease .1s, max-width .3s cubic-bezier(.2, .8, .2, 1); }
  .side-anim.side-hidden[data-theme="assetcloud"] .tab-label,
  .side-anim.side-hidden[data-theme="assetcloud"] .brand .app-name { transition: opacity .1s ease, max-width .3s cubic-bezier(.2, .8, .2, 1); }
  html.side-moving { overflow-x: hidden; }
  html.side-moving .pinned-head { visibility: hidden; }   /* the copied heading row waits until the page is in place */
  .side-anim[data-theme="assetcloud"] .brand img.brand-mini { transition: opacity .25s ease, transform .4s cubic-bezier(.3, 1.5, .5, 1); }
  .side-anim[data-theme="assetcloud"] .brand img:not(.brand-mini) { transition: opacity .2s ease, width .3s cubic-bezier(.2, .8, .2, 1); }
  .side-anim[data-theme="assetcloud"] .tabs .menu .menu-items { transition: max-height .34s cubic-bezier(.4, 0, .2, 1), opacity .25s ease, visibility 0s linear .34s; }
  .side-anim[data-theme="assetcloud"] .tabs .menu.open .menu-items { transition: max-height .34s cubic-bezier(.4, 0, .2, 1), opacity .25s ease .05s, visibility 0s; }
  .side-anim[data-theme="assetcloud"] .tabs .menu .caret { transition: transform .3s cubic-bezier(.4, 0, .2, 1); }
}

/* the ☰ and the small slim-strip picture exist only in the wide side menu ("img.brand-mini" beats ".brand img") */
.side-toggle, .brand-mini, .brand img.brand-mini { display: none; }
@media (prefers-reduced-motion: reduce) {
  .side-anim .top, .side-anim main, .side-anim .tab-label, .side-anim .brand img, .side-anim .brand .app-name,
  .side-anim .tabs .menu .menu-items, .side-anim .tabs .menu .caret,
  .side-toggle, .side-toggle span { transition: none !important; }
  .side-toggle.squish { animation: none !important; }
}

/* ---------- AssetCloud (0.16.6.3a): the look of WaspAsset AssetCloud (assets.mthtwv.org) ----------
   Black top bar, charcoal side menu whose open section is bright blue (#0c9aff), white page, grey table headings,
   Segoe UI. Only the built-in AssetCloud look (data-skin); themes built on it (Tidal Glass…) keep their own colors. */
[data-skin="assetcloud"] {
  --bg: #fcfcfc;
  --bg-alt: #f7f7f7;
  --panel: #ffffff;
  --line: #dcdcdc;
  --line-soft: #ececec;
  --text: #212529;
  --muted: #737373;
  --head-bg: #1e1e1e;
  --head-text: #ffffff;
  --head-muted: #0c9aff;
  --head-meta: #bdbdbd;
  --head-link: #ffffff;
  --tab-text: rgba(255, 255, 255, .62);
  --tab-on: #0c9aff;
  --link: #0a6fbd;
  --yellow: #f0b429;
  --bar: #0c9aff;
  --bar-track: #e8e8e8;
  --hover: #eef7ff;
  --input-border: #cfcfcf;
  --quiet-border: #cfcfcf;
  --title-text: #212529;
  --code-bg: #f4f4f6;
  --menu-bg: #333333;
  --menu-hover: #3d3d3d;
}
[data-skin="assetcloud"] body { background: #fcfcfc; }
[data-skin="assetcloud"] .btn, [data-skin="assetcloud"] button.btn { border-color: #cfcfcf; color: #333; }
[data-skin="assetcloud"] .btn:not(.quiet):not(.danger)[type="submit"], [data-skin="assetcloud"] .btn.primary {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
[data-skin="assetcloud"] .btn:not(.quiet):not(.danger)[type="submit"]:hover, [data-skin="assetcloud"] .btn.primary:hover { background: var(--accent-2); }
[data-skin="assetcloud"] .panel-title { font-size: 16px; font-weight: 600; color: var(--text); }
[data-skin="assetcloud"] .panel-title .ico { color: #333; }
[data-skin="assetcloud"] th { background: #f6f6f6; color: #737373; font-size: 14px; font-weight: 400; border-bottom: 1px solid #dcdcdc; }
[data-skin="assetcloud"] tbody tr:nth-child(even) td { background: #f7f7f7; }
[data-skin="assetcloud"] tbody tr:hover td { background: #eef7ff; }
[data-skin="assetcloud"] td a:first-child { color: var(--text); text-decoration-color: #9a9a9a; }
[data-skin="assetcloud"] .filters, [data-skin="assetcloud"] .bulkbar { background: #f4f4f6; }
[data-skin="assetcloud"] input:focus, [data-skin="assetcloud"] select:focus, [data-skin="assetcloud"] textarea:focus { border-color: var(--accent); }
[data-skin="assetcloud"] .brand .app-name { color: var(--accent); }
[data-skin="assetcloud"] .tabs a[data-ico]::before { color: rgba(255, 255, 255, .62); }
[data-skin="assetcloud"] .foot { background: var(--head-bg); color: #bdbdbd; }
[data-skin="assetcloud"] .foot .ok { color: #6fd36f; }
@media (min-width: 900px) {
  [data-skin="assetcloud"] .top { background: var(--menu-bg); box-shadow: none; }
  [data-skin="assetcloud"] .brand { background: var(--head-bg); }
  [data-skin="assetcloud"] .side-top { background: var(--head-bg); }
  [data-skin="assetcloud"] .side-toggle:focus-visible { outline-color: var(--accent); }
  /* sections: charcoal rows with faded words; the open section is the bright blue bar */
  [data-skin="assetcloud"] .tabs a { color: rgba(255, 255, 255, .62); background: var(--menu-bg); border-bottom: 1px solid #2a2a2a; }
  [data-skin="assetcloud"] .tabs a:hover { background: #3d3d3d; color: #fff; }
  [data-skin="assetcloud"] .tabs a:hover[data-ico]::before { color: #fff; }
  [data-skin="assetcloud"] .tabs a.on, [data-skin="assetcloud"] .tabs .menu.open > a {
    background: var(--accent); color: #fff; border-left-color: var(--accent);
  }
  [data-skin="assetcloud"] .tabs a.on[data-ico]::before, [data-skin="assetcloud"] .tabs .menu.open > a[data-ico]::before { color: #fff; }
  /* the open section's items: near-black, white and bold; the open page is blue with a blue line on the left */
  [data-skin="assetcloud"] .tabs .menu-items { background: var(--head-bg); }
  [data-skin="assetcloud"] .tabs .menu-items a {
    background: var(--head-bg); color: #fff; font-weight: 600; border-bottom: 0; border-left: 1px solid #555; margin-left: 24px; padding-left: 22px;
  }
  [data-skin="assetcloud"] .tabs .menu-items a:hover { background: #262626; }
  [data-skin="assetcloud"] .tabs .menu-items a.on { background: var(--head-bg); color: var(--accent); border-left: 2px solid var(--accent); }
  [data-skin="assetcloud"] .top .who { background: var(--head-bg); border-top-color: #333; }
  [data-skin="assetcloud"] .top .who .meta { color: #bdbdbd; }
}

/* ---------- MountainHeart: from mthtwv.com (white, red #DD3333, blue #1E73BE, Oswald) ---------- */
[data-theme="mountainheart"] {
  --bg: #ffffff;
  --bg-alt: #f6f6f6;
  --panel: #ffffff;
  --line: #dddddd;
  --line-soft: #ececec;
  --text: #333333;
  --muted: #6b6b6b;
  --head-bg: #ffffff;
  --head-text: #333333;
  --head-border: #e6e6e6;
  --head-muted: #1e73be;
  --head-meta: #6b6b6b;
  --head-link: #1e73be;
  --tab-text: #dd3333;
  --tab-hover: #f0b3b3;
  --tab-on: #1e73be;
  --link: #1e73be;
  --green: #2e8b3d;
  --yellow: #e0a800;
  --bar: #1e73be;
  --bar-track: #e6eef7;
  --hover: #f3f8fd;
  --input-bg: #ffffff;
  --input-border: #cccccc;
  --quiet-border: #cccccc;
  --title-bg: #1e73be;
  --title-text: #ffffff;
  --code-bg: #f3f3f3;
  --ok-text: #2e8b3d;
  --radius: 4px;
  --panel-radius: 0;
  --panel-border: 1px solid #e3e3e3;
  --upper: uppercase;
  --spacing: .5px;
}
[data-theme="mountainheart"] body { background: #eeeeee; }
[data-theme="mountainheart"] .panel-title { font-size: 16px; font-weight: 400; }
[data-theme="mountainheart"] .tabs a { font-weight: 400; font-size: 14px; letter-spacing: .5px; }
[data-theme="mountainheart"] .brand .app-name { font-family: var(--head-font); font-size: 15px; letter-spacing: 1px; }
[data-theme="mountainheart"] .btn.quiet { color: #333; background: #fff; }
[data-theme="mountainheart"] .btn.quiet:hover { background: #eee; color: #333; }
[data-theme="mountainheart"] .stat .n { font-family: var(--head-font); color: #1e73be; }
[data-theme="mountainheart"] .flash { border-left-width: 4px; }
[data-theme="mountainheart"] .foot { background: #d6e4f5; color: #333; }

/* ---------- theme picker on the Settings page ---------- */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.theme-card { display: block; cursor: pointer; border: 2px solid var(--line); border-radius: 8px; padding: 10px;
  text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--text); background: var(--bg); }
.theme-card:has(input:checked) { border-color: var(--accent); }
.theme-card input { margin-right: 6px; }
.theme-card .swatch, .theme-tile .swatch { display: block; height: 70px; border-radius: 4px; margin-bottom: 8px; overflow: hidden; border: 1px solid rgba(128, 128, 128, .3); }
.theme-card .swatch i, .theme-tile .swatch i { display: block; height: 18px; }
.theme-card .swatch b, .theme-tile .swatch b { display: block; height: 10px; margin: 8px 8px 0; border-radius: 2px; }
.theme-card .swatch em, .theme-tile .swatch em { display: inline-block; width: 46px; height: 12px; margin: 8px 0 0 8px; border-radius: 3px; }
.theme-card small { display: block; color: var(--muted); margin-top: 3px; }
[data-theme="assetcloud"] .login-box .logo, [data-theme="mountainheart"] .login-box .logo { background: #fff; border-bottom: 4px solid var(--accent); }
[data-theme="windows"] .login-box .logo { background: #fff; border-radius: 8px 8px 0 0; }
[data-theme="windows"] .login-box .card { border-radius: 0 0 8px 8px; border: 1px solid #e5e5e5; }
[data-theme="windows"] .ms-btn { border-radius: 4px; }
[data-theme="windows"] .panel > .panel-title:first-child { border-radius: 8px 8px 0 0; }

/* Lists drop-down menu colors per theme */
[data-theme="windows"] { --menu-bg: #ffffff; --menu-hover: #f0f0f0; }
[data-theme="windows"] .tabs .menu-items { border-radius: 8px; border-color: #e5e5e5; }
[data-theme="windows"] .tabs .menu-items a { border-radius: 4px; margin: 0 4px; }
[data-theme="mountainheart"] { --menu-hover: #fbeaea; }
[data-theme="mountainheart"] .tabs .menu-items { border-top: 3px solid #dd3333; }

/* ---------- desktop: larger text and a bigger menu bar (see the end of style.css; phones keep their sizes) ---------- */
@media (min-width: 701px) {
  [data-theme="windows"] body { font-size: 15px; }
  [data-theme="windows"] .panel-title { font-size: 16.5px; }
  [data-theme="windows"] .tabs a { font-size: 15.5px; }
  [data-theme="windows"] .btn { font-size: 14px; }
  [data-theme="windows"] .brand .app-name { font-size: 19px; }
  [data-theme="mountainheart"] .brand .app-name { font-size: 19px; }
  [data-theme="assetcloud"] .brand .app-name { font-size: 16px; }   /* fits the side menu; its menu words are 14px */
  [data-theme="assetcloud"] .btn, [data-theme="assetcloud"] button.btn { font-size: 14px; }
  [data-theme="assetcloud"] th { font-size: 14px; }
  [data-theme="mountainheart"] .panel-title { font-size: 17.5px; }
  [data-theme="mountainheart"] .tabs a { font-size: 15.5px; }
}

/* 0.16.1.10a: the items under a module heading (Tickets and Reports under HELP DESK, Dashboard… under INVENTORY) sit a
   little in from the heading and a touch lighter, so the heading reads as the group's name. Same 15px lettering; the
   slim icon strip is unchanged. */
@media (min-width: 900px) {
  html:not(.side-hidden)[data-theme="assetcloud"] .tabs > a.mod-child,
  html:not(.side-hidden)[data-theme="assetcloud"] .tabs > .menu.mod-child > a { padding-left: 30px; }
  html:not(.side-hidden)[data-theme="assetcloud"] .tabs > .menu.mod-child .menu-items a { padding-left: 64px; }
  html:not(.side-hidden)[data-theme="assetcloud"] .tabs .mod-child .tab-label,
  html:not(.side-hidden)[data-theme="assetcloud"] .tabs a.mod-child .tab-label { opacity: .84; }
  html:not(.side-hidden)[data-theme="assetcloud"] .tabs a.mod-child.on .tab-label,
  html:not(.side-hidden)[data-theme="assetcloud"] .tabs a.mod-child:hover .tab-label,
  html:not(.side-hidden)[data-theme="assetcloud"] .tabs .mod-child > a.on .tab-label,
  html:not(.side-hidden)[data-theme="assetcloud"] .tabs .mod-child > a:hover .tab-label { opacity: 1; }
  html[data-theme="assetcloud"] .tabs .modrow > a.mod-link { font-weight: 500; }
}
