﻿@font-face {
   font-family: 'ApplicationFont';
   src: url('/fonts/google/RobotoFlex.woff2') format('woff2');
}

:root {
   --spacing: .25rem;
   --revolution-appbar-height: 2.7rem;
   --revolution-appbar-width: 16rem;
   --revolution-appbar-item-height: 1.5em;
   --badgeSize: 1.5em;
   --company-light-blue: #3682ae;
   --diagram-node-color2: #1F6FA6;
   --diagram-node-color: rgb(31,111,166);
   --diagram-node-color-selected: rgb(87,163,0);
   --diagram-node-color-selected2: #268CD1;
   --job-status-success: var(--kendo-color-success);
   --job-status-failed: var(--kendo-color-error);
   --job-status-active: var(--kendo-color-primary);
   --cs-dashboard-bg: #1D3961;
   --cs-dashboard-item-arc: #2E5C9C;
   --cs-dashboard-item-bg: #244778;
   --cs-dashboard-item-default-color: white;
   --PinkRed10: #750b1c;
   --Red20: #a4262c;
   --Red10: #d13438;
   --RedOrange20: #603d30;
   --RedOrange10: #da3b01;
   --Orange30: #8e562e;
   --Orange20: #ca5010;
   --Orange10: #fa4;
   --Yellow10: #fce100;
   --OrangeYellow20: #986f0b;
   --OrangeYellow10: #c19c00;
   --YellowGreen10: #8cbd18;
   --Green20: #0b6a0b;
   --Green10: #498205;
   --GreenCyan10: #00ad56;
   --Cyan40: #005e50;
   --Cyan30: #005b70;
   --Cyan20: #038387;
   --Cyan10: #00b7c3;
   --CyanBlue20: #004e8c;
   --CyanBlue10: #0078d4;
   --Blue10: #4f6bed;
   --BlueMagenta40: #373277;
   --BlueMagenta30: #5c2e91;
   --BlueMagenta20: #8764b8;
   --BlueMagenta10: #8378de;
   --Magenta20: #881798;
   --Magenta10: #c239b3;
   --MagentaPink20: #9b0062;
   --MagentaPink10: #e3008c;
   --Gray40: #393939;
   --Gray30: #7a7574;
   --Gray20: #69797e;
   --Gray10: #a0aeb2;
   --dashboard-card-width: 14em;
   /* app-level tokens derived from the active Kendo theme (meridian-main.css in light
      mode, meridian-main-dark.css in dark mode). the Meridian stylesheets own every
      --kendo-* value; nothing in this file redefines them, so the whole console takes
      its colors from whichever Meridian build App.razor links. */
   /* every Kendo widget reads its font from this token; point it at the app font so the
      expander, grid, tabstrip, windows and buttons match the rest of the page instead of
      falling through Meridian's Inter / system-ui stack to Segoe UI. */
   --kendo-font-family: ApplicationFont, system-ui, sans-serif;
   --kendo-font-size: .9rem;
   --text-primary-color: var(--kendo-color-on-app-surface);
   --text-secondary-color: var(--kendo-color-subtle);
   --badge-text-color: var(--kendo-color-on-primary);
   --notification-color: var(--kendo-color-primary);
   --app-color-success: var(--kendo-color-success-on-surface);
   --app-color-success-fill: var(--kendo-color-success-subtle);
   --app-color-warning: var(--kendo-color-warning-on-surface);
   --app-color-warning-fill: var(--kendo-color-warning-subtle);
   --app-color-error: var(--kendo-color-error-on-surface);
   --app-color-error-fill: var(--kendo-color-error-subtle);
   --revolution-focus-ring: color-mix(in srgb, var(--kendo-color-primary) 45%, transparent);
   --revolution-row-hover: var(--kendo-color-base-hover);
   --kendo-color-secondary: var(--company-light-blue);
}

html {
   background-color: var(--kendo-color-app-surface);
   color: var(--kendo-color-on-app-surface);
   margin: 0px;
}

body {
   font-family: ApplicationFont;
   display: flex;
   flex-direction: column;
   height: 100vh;
   margin: 0;
   background-color: var(--kendo-color-app-surface);
   color: var(--kendo-color-on-app-surface);
}

.secondary-text {
   color: var(--text-secondary-color,rgba(0, 0, 0, .55));
}

/* A hint line: the helper text under or beside a field, smaller than the field it explains. Worn with
   secondary-text, which gives it its colour. */
.hint-text {
   font-size: .85em;
}

.help-link {
   color: var(--kendo-color-subtle);
   text-decoration: none;
   cursor: pointer;
}

   .help-link:hover {
      color: var(--kendo-color-subtle);
      text-decoration: none !important;
   }

.appbar-separator {
   border-left: .0625rem solid var(--kendo-color-subtle);
   height: var(--revolution-appbar-item-height, 1.5rem);
   width: .0625rem;
}

.k-appbar {
   box-shadow: none;
   background-color: var(--kendo-color-surface) !important;
   box-sizing: border-box;
   border-bottom: 0.0625rem solid var(--kendo-color-base-subtle) !important;
}

.nav-scrollable {
   border-right: 0.0625rem solid var(--kendo-color-border);
}

div.middle-div {
   position: relative;
   top: 50%;
   -webkit-transform: translateY(-50%);
   -ms-transform: translateY(-50%);
   transform: translateY(-50%);
}

#app-title a, #app-title a:hover {
   text-decoration: none;
   color: var(--kendo-color-on-app-surface);
}

.page-content {
   height: 100%;
   /*calc(calc(100vh - var(--revolution-appbar-height, 3rem)));*/
}

a, .btn-link {
   color: var(--kendo-color-primary-on-surface);
}

.btn-primary {
   color: var(--kendo-color-on-primary);
   background-color: var(--kendo-color-primary);
   border-color: var(--kendo-color-primary-active);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
   box-shadow: 0 0 0 .1rem var(--kendo-color-surface), 0 0 0 .25rem var(--revolution-focus-ring);
}

.login-content {
   align-self: stretch !important;
   width: 100%;
}

.content {
   padding-top: calc(var(--revolution-appbar-height, 3rem) + 1.1rem);
   height: calc(calc(100% - var(--revolution-appbar-height, 3rem)) - 1.1rem) !important;
}

h1:focus {
   outline: none;
}

.valid.modified:not([type=checkbox]) {
   outline: 1px solid var(--kendo-color-success);
}

.invalid {
   outline: 1px solid var(--kendo-color-error);
}

.validation-message {
   color: var(--kendo-color-error);
}

.blazor-error-boundary {
   background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
   padding: 1rem 1rem 1rem 3.7rem;
   color: white;
}

   .blazor-error-boundary::after {
      content: "An error has occurred."
   }

.darker-border-checkbox.form-check-input {
   border-color: var(--kendo-color-border-alt);
}

.k-menu-group .k-item:focus > .k-link, .k-menu-group .k-item.k-focus > .k-link, .k-menu.k-context-menu .k-item:focus > .k-link, .k-menu.k-context-menu .k-item.k-focus > .k-link {
   box-shadow: unset;
}

/* tighter context menus: Meridian pads the popup and every item with spacing-2 (8px) and leaves 32px after the text
   for an expand arrow, which makes a three-item menu tall and wide. Less padding all round, a touch smaller text,
   and the arrow room only on an item that has a submenu. */
.k-menu-popup.k-context-menu-popup,
.k-animation-container > .k-menu-popup {
   padding-block: .25rem;
   padding-inline: .25rem;
}

   /* the menu list itself; the popup around it takes its width from this when Telerik sizes it inline */
   .k-menu-popup .k-context-menu.k-menu-group {
      min-width: 8rem;
   }

   .k-menu-popup .k-menu-group .k-menu-item {
      font-size: .85rem;
   }

   .k-menu-popup .k-menu-group .k-menu-link {
      padding-block: .15rem;
      padding-inline: .5rem;
      padding-inline-end: .6rem;
   }

      .k-menu-popup .k-menu-group .k-menu-link:has(.k-menu-expand-arrow) {
         padding-inline-end: calc(.5rem + 16px);
      }

   .k-menu-popup .k-menu-group .k-separator {
      margin-block: .2rem;
   }

/*.c-no-row-colors .k-grid-table .k-master-row {
   background-color: inherit;
}
*/
.image-display {
   text-align: center;
   width: 1.2rem !important;
   flex: 0 0 auto;
}

img.image-display {
   height: 1.2rem;
   vertical-align: middle;
}

.grid-column-ellipsis, .grid-column-ellipsis span {
   overflow: hidden;
   text-overflow: ellipsis;
   white-space: nowrap !important;
}

.configuration-updated-row, .configuration-updated-row td, .configuration-updated-row span {
   color: var(--company-light-blue) !important;
}

.flat-icon {
   padding: 0 .125rem !important;
   border: 0 !important;
   color: var(--kendo-color-primary-on-surface);
   background-color: transparent !important;
   cursor: pointer;
}

/* a row of svg action icons in a grid command cell. flex so the whitespace between the
   images doesn't render as a gap; the padded icons sit .5px apart, so a hover pill never
   reaches its neighbours. four icons need a 7.25rem command column. */
.flat-svg-group {
   display: inline-flex;
   align-items: center;
   gap: .5px;
   vertical-align: middle;
}

/* the pad, radius and background live on the resting state too, so hovering only fades
   the fill in: the image never changes size, shape or position. */
.flat-svg {
   padding: .25rem;
   box-sizing: content-box;
   width: .85rem;
   height: .85rem;
   border-radius: .3rem;
   background-color: transparent;
   color: var(--kendo-color-primary-on-surface);
   cursor: pointer;
   vertical-align: middle;
   transition: background-color .15s ease;
}

   .flat-svg:hover {
      background-color: var(--kendo-color-border);
   }

.center-loader {
   display: flex;
   width: 100%;
   height: 100%;
   justify-content: center;
   align-items: center;
   gap: .3rem;
}

.custom-ellipsis {
   overflow: hidden;
   text-overflow: ellipsis;
   white-space: nowrap !important;
}

.k-button-solid-base:focus, .k-button-solid-base.k-focus {
   box-shadow: none;
}

.center-content {
   display: flex;
   width: 100%;
   top: 50%;
   justify-content: center;
   align-items: center;
}

/*.k-tabstrip-items-wrapper .k-item {*/
/*background-color: var(--kendo-color-base-subtle);*/
/*color: var(--kendo-color-on-app-surface);
}

   .k-tabstrip-items-wrapper .k-item:focus, .k-tabstrip-items-wrapper .k-item.k-focus {
      box-shadow: unset;
   }

   .k-tabstrip-items-wrapper .k-item:hover, .k-tabstrip-items-wrapper .k-item.k-hover {
      box-shadow: unset;
      background-color: var(--kendo-color-base-subtle-hover);
      color: var(--kendo-color-on-app-surface);
   }

.k-tabstrip-items {
   gap: .3rem;
}

.k-tabstrip-items-wrapper .k-item:active, .k-tabstrip-items-wrapper .k-item.k-active, .k-tabstrip-items-wrapper .k-item.k-selected {
   color: unset !important;
}

.k-tabstrip-content:focus, .k-tabstrip-content.k-focus, .k-tabstrip > .k-content:focus, .k-tabstrip > .k-content.k-focus {
   outline-style: none;
}

.k-tabstrip-items .k-link {
   padding-inline: .5rem;
}

   .k-tabstrip-items .k-link > img {
      height: 1.25rem;
      padding-right: .3rem;
   }

   .k-tabstrip-items .k-link > i {
      padding-right: .3rem;
   }*/
/**/
.k-tabstrip-content:focus, .k-tabstrip-content.k-focus, .k-tabstrip > .k-content:focus, .k-tabstrip > .k-content.k-focus {
   outline-style: none;
}

.k-window-title {
   font-size: var(--kendo-font-size, inherit);
}

.k-window-titlebar {
   padding-block: .4rem;
   padding-inline: .6rem;
}

/*.k-wizard-steps {
   border-left: 1px solid var(--kendo-color-border) !important;
}

.k-stepper {
   width: 9rem;
}

.k-wizard .k-wizard-buttons .k-button {
   margin-inline-end: .25rem;
   min-width: 100px;
}

.k-wizard-horizontal .k-wizard-steps {
   margin-top: unset !important;
}

.k-wizard .k-wizard-step {
   padding-top: 0px !important;
}

.k-stepper .k-step-link {
   padding-top: 2px;
}

.k-wizard .k-wizard-step:focus, .k-wizard .k-wizard-step.k-focus {
   outline-width: 1px;
   outline-style: none;
   outline-offset: -1px;
}

.k-stepper .k-step-label .k-step-text {
   text-overflow: unset;
   overflow: unset;
}
*/

.k-step-list-vertical {
   width: 9rem;
}

/* The theme stretches a vertical stepper over the whole height of the wizard and shares that height among the steps, so the gap between
   two steps depended on how many steps a wizard has and how tall its page is. Here the stepper is as tall as its steps and every step has
   the same height; the progress line is sized from the stepper, so it still runs from the first step to the last. */
.k-wizard-vertical > .k-stepper {
   align-self: flex-start;
}

.k-wizard .k-stepper .k-step-list-vertical .k-step {
   flex: 0 0 auto;
   min-height: var(--wizard-step-height, 4rem);
}

/* The file select has no Size setting for its "Select files" button either: it is given the same measurements of
   the theme's small button */
.k-upload .k-upload-button {
   padding-block: var(--kendo-spacing-1);
   padding-inline: var(--kendo-spacing-2);
   font-size: var(--kendo-font-size-sm, inherit);
   line-height: var(--kendo-line-height-sm, normal);
}

/* The wizard has no Size setting for its Previous / Next / Done buttons, so they are given the measurements of
   the theme's small button (.k-button-sm), from the theme's own variables */
.k-wizard .k-wizard-buttons .k-button {
   margin-inline-end: .25rem;
   min-width: 6rem;
   padding-block: var(--kendo-spacing-1);
   padding-inline: var(--kendo-spacing-2);
   font-size: var(--kendo-font-size-sm, inherit);
   line-height: var(--kendo-line-height-sm, normal);
}

/*.k-wizard .k-step  {
   padding: 0 calc(calc(var(--kendo-spacing-2) * 4) / 4 + 2px);
}
*/
.k-wizard .k-wizard-step {
   padding: calc(var(--kendo-spacing-4) / 4 + 2px) calc(var(--kendo-spacing-8) / 4 + 2px);
}

/* The theme draws a dotted outline around the step content when it takes focus (a click on the page itself); the steps and inputs show their own focus. */
.k-wizard .k-wizard-step:focus, .k-wizard .k-wizard-step.k-focus {
   outline: none;
}

.k-wizard .k-step .k-step-text {
   white-space: normal;
   word-wrap: break-word;
}

.k-wizard-horizontal .k-wizard-steps {
   margin-block-start: calc(var(--kendo-spacing-1) * 3);
   border-top: 1px solid var(--kendo-color-border);
}

.k-wizard-vertical .k-wizard-steps {
   margin-block-start: calc(var(--kendo-spacing-1) * 3);
   border-left: 1px solid var(--kendo-color-border);
}

/* dense treeview rows: no block padding, so the row height is the theme line height alone. */
.k-treeview-md .k-treeview-leaf {
   padding-block: 0 !important;
   padding-inline: 0.1rem !important;
}

.custom-row-colors .k-grid-table .k-master-row {
   background-color: inherit;
}

   .custom-row-colors .k-grid-table .k-master-row:hover {
      background-color: var(--revolution-row-hover);
   }

   .custom-row-colors .k-grid-table .k-master-row.k-alt {
      background-color: inherit;
   }

      .custom-row-colors .k-grid-table .k-master-row.k-alt:hover {
         background-color: var(--revolution-row-hover);
      }

.w-auto {
   width: auto;
}

.w-fit-content {
   width: fit-content;
}

.w-10 {
   width: 10%;
}

.w-20 {
   width: 20%;
}

.w-30 {
   width: 30%;
}

.w-40 {
   width: 40%;
}

.w-50 {
   width: 50%;
}

.w-60 {
   width: 60%;
}

.w-70 {
   width: 70%;
}

.w-80 {
   width: 80%;
}

.w-90 {
   width: 90%;
}

.w-100 {
   width: 100%;
}

.label-content {
   display: inline-flex;
   align-items: center;
   gap: .3rem;
}

.item-shadow {
   box-shadow: rgba(0,0,0,0.3) 0px 5px 10px !important;
}

validation-error {
   color: rgba(var(--bs-danger-rgb)) !important;
   font-size: .8rem;
}

/* The labels of the controls in every wizard (a text box's, a check box's, a drop down's), a little smaller than
   the text around them: the size the passwords step of the Start Recovery wizard set. A label that is a title of
   its own (a class with its own size in a component's style sheet) keeps that. */
.k-wizard label,
.k-wizard .input-label {
   font-size: .8125rem;
}

.input-label {
   display: flex;
   align-items: center;
   justify-content: flex-start;
   font-size: var(--kendo-font-size);
}

   .input-label.error {
      color: var(--kendo-color-error, #dc3545);
   }

      .input-label.error::after {
         content: "*";
      }

.invalid-control-value {
   border: 1px solid var(--kendo-color-error, #dc3545);
   border-radius: var(--kendo-border-radius-md, .375rem);
}

   .invalid-control-value:hover {
      border-color: var(--kendo-color-error, #dc3545) !important;
   }

   .invalid-control-value:focus {
      border-color: var(--kendo-color-error, #dc3545) !important;
   }

   .invalid-control-value:focus-within {
      border-color: var(--kendo-color-error, #dc3545) !important;
   }

.flex-right {
   display: flex;
   justify-content: flex-end;
   gap: .5rem;
}

.v-label-control {
   display: flex;
   flex-direction: column;
   gap: .25rem;
   padding: 0 .125rem;
}

.h-label-control {
   display: flex;
   flex-direction: row;
   align-items: center;
   gap: .25rem;
}

.h-full {
   height: 100%;
}

.h-group {
   display: flex;
   flex-direction: row;
   align-items: center;
   gap: .25rem;
}

.h-control-group {
   display: flex;
   flex-direction: row;
   align-items: center;
   gap: .4rem;
}

.v-control-group {
   display: flex;
   flex-direction: column;
   gap: .4rem;
   padding: .15rem;
}

.image-label {
   display: flex;
   gap: .4rem;
   align-items: center;
}

   .image-label i, .image-label img {
      flex: 0 0 auto;
      width: 1.25rem !important;
      align-self: center;
   }

/* the icon slot of an activity's action cell: as wide as the widest icon with its badge, so the
   label after it starts at the same place on every row; a narrower icon or glyph is centered in it */
.activity-icon {
   position: relative;
   display: inline-flex;
   flex: 0 0 auto;
   align-items: center;
   justify-content: center;
   overflow: visible;
   width: 1.85rem;
   padding: .2rem 0;
   margin-right: .2rem;
}

   .activity-icon i:not(.activity-icon-badge) {
      text-align: center;
   }

   .activity-icon .activity-icon-badge {
      position: absolute;
      right: 0;
      bottom: 0;
      z-index: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      width: .75rem !important;
      height: .75rem;
      font-size: .5rem;
      line-height: 1;
      border-radius: 50%;
      border: 1px solid var(--kendo-color-surface, #fff);
      background: var(--kendo-color-primary, #2b6cb0);
      color: var(--kendo-color-on-primary, #fff);
   }

      /* the pencil glyph is drawn on a diagonal, so it reads larger than the other
         badges at the same font size; nudge it down so every badge fills the circle
         evenly. */
      .activity-icon .activity-icon-badge.fa-pencil {
         font-size: .4rem;
      }

.summary {
   border-collapse: collapse;
}

   .summary tr th:first-child, .summary tr td:first-child {
      width: 1%;
      white-space: nowrap;
      /*padding-right: 1rem;*/
      padding-bottom: .1rem;
   }

   .summary tr td:nth-child(2) {
      border-left: 1px solid var(--kendo-color-base);
      padding-left: .5rem;
      padding-bottom: .1rem;
   }

   .summary tr td:first-child {
      width: 1%;
      white-space: nowrap;
      padding-right: 1rem;
   }

   .summary tr td:nth-child(2) {
      border-left: 0.0625rem solid var(--kendo-color-border);
      padding-left: .5rem;
   }

.summary-info-row td {
   font-weight: 500;
}

.summary.sections tr:not(.summary-info-row) td:first-child {
   text-indent: 1.5rem;
}

.summary.sections tr.summary-info-row:not(:first-child) td {
   padding-top: .5rem;
}

.margin-1 {
   margin-left: 1rem;
}

.title-header {
   font-weight: 500;
}

.svg-item {
   --fill-color: var(--kendo-color-on-app-surface);
   width: 1.1rem;
   height: 1.1rem;
   background-color: var(--fill-color, --kendo-color-on-app-surface);
   -webkit-mask: var(--background) no-repeat center / contain;
   mask: var(--background) no-repeat center / contain;
}

   .svg-item.lg {
      width: 1.25rem;
      height: 1.25rem;
   }

.c-toolbar {
   display: inline-flex;
   height: 2.5rem;
   max-height: 2.5rem;
   min-height: 2.5rem;
   background: var(--kendo-color-surface);
   align-items: center;
   padding: 0 .3rem;
   border: 1px solid var(--kendo-color-border);
   border-bottom: 0;
   justify-content: space-between;
}

.c-grid-height {
   max-height: calc(calc(100vh - var(--revolution-appbar-height, 3rem)) - 3.3rem);
}

.indent-control {
   padding-left: 1rem;
}

.indent-control-block {
   padding-left: 1.3rem;
}

td.k-table-td.k-hierarchy-cell {
   display: flex;
   align-items: center;
   justify-content: center;
}

   td.k-table-td.k-hierarchy-cell span {
      width: 1.2rem;
      height: 100%;
   }

/* the expand/collapse icon of a grid with detail rows drawn as a caret (down when open, right when closed) in place
   of Telerik's minus and plus. the paths are in the 24-unit box the icons are drawn in since Telerik.SvgIcons 5
   (Telerik UI for Blazor 16; a 512-unit box before, in which these were M256 352 128 160h256z and M352 256 160 384V128z),
   and those icons are stroked outlines with fill="none", so the fill is put back and the stroke taken off. */
.k-hierarchy-cell .k-svg-icon.k-svg-i-minus svg path,
.k-hierarchy-cell .k-svg-icon.k-svg-i-plus svg path {
   fill: currentColor;
   stroke: none;
}

/* optically centred: a triangle's weight sits toward its flat side (1.5 units off the middle of its bounding box),
   so each caret is moved 0.75 units toward its point, half way between centring the box and centring the weight */
.k-hierarchy-cell .k-svg-icon.k-svg-i-minus svg path {
   d: path("M12 17.25 6 8.25h12z");
}

.k-hierarchy-cell .k-svg-icon.k-svg-i-plus svg path {
   d: path("M17.25 12 8.25 18V6z");
}

/*.k-detail-row {
   background-color: color-mix(in srgb, var(--kendo-color-on-app-surface, #3d3d3d) 5%, transparent) !important;
}
*/

sep {
   display: block;
   width: 100%;
   height: 1px;
   background-color: var(--kendo-color-border);
   margin: .1rem 0;
}

/* A wizard step's explanation, set apart from the fields under it by a rule the eye can find */
.step-explanation {
   padding-bottom: .75rem;
   margin-bottom: .35rem;
   border-bottom: 1px solid var(--kendo-color-border-alt, var(--kendo-color-border));
}

.no-window-padding > .k-window-content {
   padding-block: 0 !important;
   padding-inline: 0 !important;
}

/* tighter grid corners: Meridian rounds the grid and its toolbar at the xxl radius (1rem).
   use the md radius (.375rem) instead, the same as buttons and inputs. */
.k-grid {
   border-radius: var(--kendo-border-radius-sm);
}

.k-grid-toolbar {
   border-start-start-radius: var(--kendo-border-radius-sm);
   border-start-end-radius: var(--kendo-border-radius-sm);
}

/* tighter expansion panel corners: Meridian rounds the expander at the xl radius (.75rem).
   use the md radius (.375rem) to match the grid and tabstrip. the rules that square the
   shared corners of adjacent collapsed panels are more specific and still apply. */
.k-expander {
   border-radius: var(--kendo-border-radius-sm);
}

/* one focus color for every Kendo widget. Meridian draws most focus outlines in the subtle
   text color, which reads as a black frame (buttons use a soft tint already). re-color all
   of them with the app's focus ring: the primary at 45% opacity, the same soft slate the form
   controls use. !important is needed to beat Meridian's multi-class selectors such as
   .k-button.k-button-solid.k-focus; only the color is overridden, width and offset stay. */
.k-focus,
[class^="k-"]:focus-visible,
[class*=" k-"]:focus-visible {
   outline-color: var(--revolution-focus-ring) !important;
}

/* tighter tabstrip corners: Meridian rounds the tabs and the content pane at the xl radius
   (.75rem). use the md radius (.375rem) to match the grid, buttons and inputs. each
   orientation rounds a different pair of corners, so all four are covered. */
.k-tabstrip-top > .k-tabstrip-items-wrapper .k-tabstrip-item,
.k-tabstrip-top > .k-tabstrip-items-wrapper .k-item {
   border-start-start-radius: var(--kendo-border-radius-sm);
   border-start-end-radius: var(--kendo-border-radius-sm);
}

.k-tabstrip-top > .k-content,
.k-tabstrip-top > .k-tabstrip-content {
   border-end-end-radius: var(--kendo-border-radius-sm);
   border-end-start-radius: var(--kendo-border-radius-sm);
}

.k-tabstrip-bottom > .k-tabstrip-items-wrapper .k-tabstrip-item,
.k-tabstrip-bottom > .k-tabstrip-items-wrapper .k-item {
   border-end-end-radius: var(--kendo-border-radius-sm);
   border-end-start-radius: var(--kendo-border-radius-sm);
}

.k-tabstrip-bottom > .k-content,
.k-tabstrip-bottom > .k-tabstrip-content {
   border-start-start-radius: var(--kendo-border-radius-sm);
   border-start-end-radius: var(--kendo-border-radius-sm);
}

.k-tabstrip-left > .k-tabstrip-items-wrapper .k-tabstrip-item,
.k-tabstrip-left > .k-tabstrip-items-wrapper .k-item {
   border-radius: var(--kendo-border-radius-sm) 0 0 var(--kendo-border-radius-sm);
}

.k-tabstrip-left > .k-content,
.k-tabstrip-left > .k-tabstrip-content {
   border-radius: 0 var(--kendo-border-radius-sm) var(--kendo-border-radius-sm) 0;
}

.k-tabstrip-right > .k-tabstrip-items-wrapper .k-tabstrip-item,
.k-tabstrip-right > .k-tabstrip-items-wrapper .k-item {
   border-radius: 0 var(--kendo-border-radius-sm) var(--kendo-border-radius-sm) 0;
}

.k-tabstrip-right > .k-content,
.k-tabstrip-right > .k-tabstrip-content {
   border-radius: var(--kendo-border-radius-sm) 0 0 var(--kendo-border-radius-sm);
}

/* tighter grid rows: Meridian pads body and header cells with spacing-2.5 + 1px on the block
   axis, and the sortable header links carry the same padding of their own. use spacing-1 for
   all of them. the .k-grid-md and nested-grid selectors mirror Meridian's so they win on
   specificity and document order without !important. */
.k-grid .k-table-td,
.k-grid .k-table .k-table-td,
.k-grid.k-grid-md .k-table-td,
.k-grid .k-grid.k-grid-md .k-table-td,
.k-grid.k-grid-sm .k-table-td,
.k-grid .k-grid.k-grid-sm .k-table-td,
.k-grid .k-table-th,
.k-grid .k-table .k-table-th,
.k-grid.k-grid-md .k-table-th,
.k-grid .k-grid.k-grid-md .k-table-th,
.k-grid.k-grid-sm .k-table-th,
.k-grid .k-grid.k-grid-sm .k-table-th,
.k-grid .k-grid-header .k-table-th > .k-link,
.k-grid.k-grid-md .k-grid-header .k-table-th > .k-link,
.k-grid .k-grid.k-grid-md .k-grid-header .k-table-th > .k-link,
.k-grid.k-grid-sm .k-grid-header .k-table-th > .k-link,
.k-grid .k-grid.k-grid-sm .k-grid-header .k-table-th > .k-link,
.k-grid .k-table-th > .k-cell-inner > .k-link,
.k-grid.k-grid-md .k-table-th > .k-cell-inner > .k-link,
.k-grid .k-grid.k-grid-md .k-table-th > .k-cell-inner > .k-link,
.k-grid.k-grid-sm .k-table-th > .k-cell-inner > .k-link,
.k-grid .k-grid.k-grid-sm .k-table-th > .k-cell-inner > .k-link {
   padding-block: var(--kendo-spacing-1);
}

   /* the small size (Size="sm", used by nearly every grid) carries the same selectors with
   spacing-2, and a small grid nested in another's detail row (.k-grid .k-grid.k-grid-sm) is
   more specific than the plain selectors above, so the small variants are listed too. the
   sortable header link of a small grid also pulls itself out over the cell padding with a
   negative block margin of spacing-2; bring that in line with the padding it now has. */
   .k-grid.k-grid-sm .k-grid-header .k-table-th > .k-link,
   .k-grid .k-grid.k-grid-sm .k-grid-header .k-table-th > .k-link {
      margin-block: calc(var(--kendo-spacing-1) * -1);
   }

   /* a header cell with a filter or column menu wraps its link in .k-cell-inner, which Meridian
   pulls out over the cell padding with a negative block margin of the same spacing-2.5 + 1px.
   with the padding above cut to spacing-1 that margin left the header row 16px tall; match it. */
   .k-grid .k-table-th > .k-cell-inner,
   .k-grid.k-grid-md .k-table-th > .k-cell-inner,
   .k-grid .k-grid.k-grid-md .k-table-th > .k-cell-inner,
   .k-grid.k-grid-sm .k-table-th > .k-cell-inner,
   .k-grid .k-grid.k-grid-sm .k-table-th > .k-cell-inner {
      margin-block: calc(var(--kendo-spacing-1) * -1);
   }

   /* the expand/collapse cell of a grid with detail rows: Meridian pads its icon with
   spacing-2.5 + 1px (spacing-2 in a small grid) on the block axis, which made the master rows
   of such a grid a third taller than the rows of every other grid. the same spacing-1. */
   .k-grid .k-table .k-hierarchy-cell > .k-icon,
   .k-grid.k-grid-md .k-table .k-hierarchy-cell > .k-icon,
   .k-grid.k-grid-sm .k-table .k-hierarchy-cell > .k-icon,
   .k-grid .k-grid .k-table .k-hierarchy-cell > .k-icon,
   .k-grid .k-grid.k-grid-md .k-table .k-hierarchy-cell > .k-icon,
   .k-grid .k-grid.k-grid-sm .k-table .k-hierarchy-cell > .k-icon {
      padding-block: var(--kendo-spacing-1);
   }

   /* the column after the expand/collapse cell starts right at it: the caret's own cell already keeps the text off
   the edge, and the inline padding on top of that left a gap twice as wide as between any other two columns. the
   body cell and the header cell both, so the heading stays over its text. a sortable heading sits in a link (inside
   .k-cell-inner when the column has a menu) that is pulled out over the cell's padding and padded back in by the
   same amount, so those are zeroed with it. the class is doubled to outweigh Meridian's selectors for a small grid
   nested in another's detail row (.k-grid .k-grid.k-grid-sm ...). */
   .k-grid .k-table .k-hierarchy-cell.k-hierarchy-cell + .k-table-td,
   .k-grid .k-table .k-hierarchy-cell.k-hierarchy-cell + .k-table-th {
      padding-inline-start: 0;
   }

      .k-grid .k-grid-header .k-hierarchy-cell.k-hierarchy-cell.k-hierarchy-cell + .k-table-th > .k-link,
      .k-grid .k-grid-header .k-hierarchy-cell.k-hierarchy-cell.k-hierarchy-cell + .k-table-th > .k-cell-inner,
      .k-grid .k-grid-header .k-hierarchy-cell.k-hierarchy-cell.k-hierarchy-cell + .k-table-th > .k-cell-inner > .k-link {
         margin-inline-start: 0;
         padding-inline-start: 0;
      }

   /* selection checkbox column: Meridian pads every grid cell with spacing-2.5 (.625rem) on the
   inline axis and left-aligns the content, so a narrow checkbox column leaves the box shoved
   against the left edge with a wide gap before the next column. trim those cells to
   spacing-1 (.25rem) and center the box in what is left. :has() picks the column out with no
   per-grid class: body cells by the k-grid-checkbox class Telerik puts on the input, the
   header cell by the k-checkbox-wrap span the select-all box sits in (or a bare k-checkbox,
   when the column supplies its own HeaderTemplate). pair this with a fixed column
   Width (28px) and Resizable="false" so the column can't be dragged back open. the nested
   variants are needed because Meridian pads the cells of a grid inside another grid's detail
   row with a more specific selector (.k-grid .k-grid.k-grid-sm .k-table-td); left at that, the
   16px box no longer fits the 28px cell and the cell's text-overflow clips it to a dot. */
   .k-grid .k-table-th:has(.k-checkbox-wrap),
   .k-grid .k-table-th:has(.k-checkbox),
   .k-grid .k-table-td:has(.k-grid-checkbox),
   .k-grid .k-grid.k-grid-sm .k-table-th:has(.k-checkbox-wrap),
   .k-grid .k-grid.k-grid-sm .k-table-th:has(.k-checkbox),
   .k-grid .k-grid.k-grid-sm .k-table-td:has(.k-grid-checkbox),
   .k-grid .k-grid.k-grid-md .k-table-th:has(.k-checkbox-wrap),
   .k-grid .k-grid.k-grid-md .k-table-th:has(.k-checkbox),
   .k-grid .k-grid.k-grid-md .k-table-td:has(.k-grid-checkbox) {
      padding-inline: var(--kendo-spacing-1);
      text-align: center;
      vertical-align: middle;
   }

   /* the boxes themselves are inline-block, so left on the text baseline they sit a pixel or
   two low and reserve room for a descender that never comes. center them instead -- the
   select-all through its wrapper span, or directly when a HeaderTemplate supplies its own. */
   .k-grid .k-table-th > .k-checkbox-wrap,
   .k-grid .k-table-th > .k-checkbox,
   .k-grid .k-table-td > .k-grid-checkbox {
      vertical-align: middle;
   }

   /* the selection column has no Size parameter and renders medium boxes, with or without
   the k-checkbox-md class (the theme sizes a bare k-checkbox as medium). give those the
   theme's small-box measurements, so they match the TelerikCheckBox Size.Small used
   everywhere else in the console. */
   .k-grid .k-checkbox:not(.k-checkbox-sm):not(.k-checkbox-lg) {
      width: var(--kendo-spacing-4);
      height: var(--kendo-spacing-4);
   }

   .k-grid .k-checkbox:not(.k-checkbox-sm):not(.k-checkbox-lg)::before {
      font-size: var(--kendo-spacing-3\.5);
   }

   /* grid selection in the company blue. Meridian tints selected rows with its secondary color
   (a purple) at 12%; use the company light blue at 18% instead, on the plain, sticky and
   stacked-cell variants. the same selectors Meridian uses, so no !important is needed. */
   .k-grid .k-table-td.k-selected:not(.k-group-cell),
   .k-grid .k-table-row.k-selected > .k-table-td:not(.k-group-cell),
   .k-grid-stack-cell.k-selected,
   .k-grid .k-master-row.k-table-row.k-selected.k-grid-row-sticky > .k-table-td::before,
   .k-grid .k-master-row.k-table-row.k-selected .k-table-td.k-grid-row-sticky::before,
   .k-grid .k-master-row.k-table-row.k-selected .k-grid-content-sticky::before,
   .k-grid .k-master-row.k-table-row .k-selected.k-table-td.k-grid-content-sticky::before {
      background-color: color-mix(in srgb, var(--company-light-blue) 18%, transparent);
   }

/* no divider lines between grid rows: the Meridian theme draws a 1px bottom border on every
   body cell (.k-grid .k-table-td). the header keeps its own bottom border, and the group and
   detail boundaries keep theirs since Meridian sets those with more specific selectors. */
.k-grid .k-table-row > .k-table-td {
   border-block-end-width: 0;
}

.k-grid .k-table-row.k-table-alt-row:not(:hover) {
   background-color: unset;
}

.k-window {
   border-radius: var(--kendo-border-radius-sm);
}

.k-window-titlebar {
   border-start-start-radius: var(--kendo-border-radius-sm);
   border-start-end-radius: var(--kendo-border-radius-sm);
}

.k-window-content:last-child, .k-window-content:has(+.k-resize-handles-wrapper), .k-window-content:has(+.k-resize-handle) {
   border-end-start-radius: var(--kendo-border-radius-sm);
   border-end-end-radius: var(--kendo-border-radius-sm);
}

.k-dialog-actions {
   border-end-start-radius: var(--kendo-border-radius-sm);
   border-end-end-radius: var(--kendo-border-radius-sm);
}

.k-window-actions {
   border-end-start-radius: var(--kendo-border-radius-sm);
   border-end-end-radius: var(--kendo-border-radius-sm);
}

.svg-badge {
   cursor: pointer;
   width: 100%;
   height: 100%;
   --badge-color: var(--kendo-color-primary);
   --badge-text-color: white;
   --notification-color: dodgerblue;
}

.svg-color-0 {
   --badge-color: #99b433;
   --badge-text-color: white;
}

.svg-color-1 {
   --badge-color: #6ba5e7;
   --badge-text-color: black;
}

.svg-color-2 {
   --badge-color: #e773bd;
   --badge-text-color: black;
}

.svg-color-3 {
   --badge-color: #00a300;
   --badge-text-color: black;
}

.svg-color-4 {
   --badge-color: #1e7145;
   --badge-text-color: white;
}

.svg-color-5 {
   --badge-color: #c00000;
   --badge-text-color: white;
}

.svg-color-6 {
   --badge-color: #7e3878;
   --badge-text-color: white;
}

.svg-color-7 {
   --badge-color: #603cba;
   --badge-text-color: white;
}

.svg-color-8 text {
   --badge-color: #507F80;
   --badge-text-color: white;
}

.svg-color-9 text {
   --badge-color: #2b5797;
   --badge-text-color: white;
}

.svg-badge text {
   fill: var(--badge-text-color, white);
   font-family: Arial, Helvetica, sans-serif;
   text-anchor: middle;
}

.svg-badge circle:not(.notification-indicator) {
   fill: var(--badge-color, blue);
}

.svg-badge circle.notification-indicator {
   fill: var(--notification-color, blue);
}

/* In dark mode the primary fill washes out against the app bar, so match the base
   button colours used by the grid toolbar Add button, a shade lighter so the badge
   still reads against the app bar. */
.dark-theme .svg-badge {
   --badge-color: var(--kendo-color-base-active);
   --badge-text-color: var(--kendo-color-on-base);
}

.dark-theme .svg-badge circle:not(.notification-indicator) {
   stroke: var(--kendo-color-border);
   stroke-width: 2;
}

/* The company logo's navy wordmark disappears on the dark app bar, so swap in the
   light-on-dark variant whenever the dark theme is active. */
.dark-theme img.company-logo {
   content: url("../images/company-logo-dark.png");
}

.card-item {
   width: 100%;
   border-radius: 4px;
   box-shadow: 0 3.6px 7.2px 0 var(--callout-shadow-color, rgba(0, 0, 0, .132)), 0 .6px 1.8px 0 var(--callout-shadow-secondary-color, rgba(0, 0, 0, .108));
   background-color: var(--kendo-color-surface);
   color: var(--kendo-color-on-app-surface);
   border: 1px solid var(--kendo-color-border);
}

.hide-card-title {
   display: none;
}

.manage-input-text {
   border-color: var(--kendo-color-border, rgba(0, 0, 0, 0.08));
   color: var(--kendo-color-on-app-surface);
   background-color: var(--kendo-color-surface-alt);
}
   .manage-input-text::placeholder {
      color: var(--kendo-color-base-emphasis);
   }

   .manage-input-text.disabled {
      outline: none;
      cursor: default;
      color: var(--kendo-disabled-text, unset);
      background-color: var(--kendo-disabled-bg, unset);
      border-color: var(--kendo-disabled-border, unset);
      opacity: var(--kendo-disabled-opacity, unset);
      filter: var(--kendo-disabled-filter, unset);
      pointer-events: none;
      box-shadow: none;
   }

.form-floating > label {
   color: var(--kendo-color-on-app-surface, #3d3d3d);
}

.form-control:focus {
   color: var(--kendo-color-on-app-surface);
   background-color: var(--kendo-color-surface-alt);
   border-color: var(--kendo-color-border-alt);
   outline: 0;
   box-shadow: unset;
}

.no-label-margin {
   margin-bottom: unset;
}

.h1,
h1 {
   font-size: 2.5rem
}

.h2,
h2 {
   font-size: 2rem
}

.h3,
h3 {
   font-size: 1.75rem
}

.h4,
h4 {
   font-size: 1.5rem
}

.h5,
h5 {
   font-size: 1.25rem
}

.h6,
h6 {
   font-size: 1rem
}

.embedded-content {
   overflow-y: auto;
   height: 100%;
}

.control-label {
   color: var(--text-primary-color);
   font-size: var(--kendo-font-size);
}

   .control-label.disabled {
      color: var(--text-secondary-color,rgba(0, 0, 0, .55));
   }

.min-width-4 {
   width: fit-content;
   min-width: 4rem;
}

.min-width-5 {
   width: fit-content;
   min-width: 5rem;
}

.c-tree-view-height-100 {
   height: 100%;
}

.h-list {
   display: flex;
   gap: .3rem;
   align-items: center;
}

.v-list {
   display: flex;
   flex-direction: column;
   gap: .3rem;
}


.PinkRed10 {
   background-color: #750b1c
}

.Red20 {
   background-color: #a4262c
}

.Red10 {
   background-color: #d13438
}

.RedOrange20 {
   background-color: #603d30
}

.RedOrange10 {
   background-color: #da3b01
}

.Orange30 {
   background-color: #8e562e
}

.Orange20 {
   background-color: #ca5010
}

.Orange10 {
   background-color: #fa4
}

.Yellow10 {
   background-color: #fce100
}

.OrangeYellow20 {
   background-color: #986f0b
}

.OrangeYellow10 {
   background-color: #c19c00
}

.YellowGreen10 {
   background-color: #8cbd18
}

.Green20 {
   background-color: #0b6a0b
}

.Green10 {
   background-color: #498205
}

.GreenCyan10 {
   background-color: #00ad56
}

.Cyan40 {
   background-color: #005e50
}

.Cyan30 {
   background-color: #005b70
}

.Cyan20 {
   background-color: #038387
}

.Cyan10 {
   background-color: #00b7c3
}

.CyanBlue20 {
   background-color: #004e8c
}

.CyanBlue10 {
   background-color: #0078d4
}

.Blue10 {
   background-color: #4f6bed
}

.BlueMagenta40 {
   background-color: #373277
}

.BlueMagenta30 {
   background-color: #5c2e91
}

.BlueMagenta20 {
   background-color: #8764b8
}

.BlueMagenta10 {
   background-color: #8378de
}

.Magenta20 {
   background-color: #881798
}

.Magenta10 {
   background-color: #c239b3
}

.MagentaPink20 {
   background-color: #9b0062
}

.MagentaPink10 {
   background-color: #e3008c
}

.Gray40 {
   background-color: #393939
}

.Gray30 {
   background-color: #7a7574
}

.Gray20 {
   background-color: #69797e
}

.Gray10 {
   background-color: #a0aeb2
}


.success-badge {
   position: relative;
   width: 1.5rem;
   height: 1.5rem;
   flex-shrink: 0;
   background-color: var(--app-color-success-fill);
   border-radius: 50%;
   display: inline-flex;
   border: 1px solid var(--app-color-success);
}

   .success-badge::after {
      content: "✓";
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -45%);
      color: var(--app-color-success);
      font-size: .9rem;
      font-weight: bold;
      line-height: 1;
   }

.warning-badge {
   position: relative;
   width: 1.5rem;
   height: 1.5rem;
   flex-shrink: 0;
   background-color: var(--app-color-warning-fill);
   border-radius: 50%;
   display: inline-flex;
   border: 1px solid var(--app-color-warning);
}

   .warning-badge::after {
      content: "!";
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: var(--app-color-warning);
      font-size: 1.1rem;
      font-weight: bold;
      line-height: 1;
   }

.error-badge {
   position: relative;
   width: 1.5rem;
   height: 1.5rem;
   flex-shrink: 0;
   background-color: var(--app-color-error-fill);
   border-radius: 50%;
   display: inline-flex;
   border: 1px solid var(--app-color-error);
}

   .error-badge::after {
      content: "✕";
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -45%);
      color: var(--app-color-error);
      font-weight: bold;
      line-height: 1;
   }

.k-grid .k-grid-header th.center-wrap {
   justify-content: center;
   text-align: center;
   white-space: normal;
   vertical-align: top; /* or use bottom */
}

.string-ellipsis {
   overflow: hidden;
   text-overflow: ellipsis;
   white-space: nowrap !important;
}

.dashboard-items-container {
   display: flex;
   flex-direction: column;
   gap: .5rem;
}

/* ---------------------------------------------------------------------------
   per-mode app tokens.
   the color palette itself comes entirely from the Meridian Kendo theme that
   App.razor links for the mode (meridian-main.css / meridian-main-dark.css).
   only the values that are not colors, or that Meridian does not provide, are
   set here: the neutral rgb triplet used by a few rgba() mixes, the color-mix
   ratios the dashboard cards use to tint with their accent, and the callout
   shadows, which need to be heavier on the dark surface.
   --------------------------------------------------------------------------- */
.light-theme {
   --palette-neutral-100: 0, 0, 0;
   --accent-percentage: 10%;
   --accent-hover-percentage: 20%;
   --fadein-percent: 4%;
   --fadein-hover-percent: 20%;
   --fadein-border-percent: 10%;
   --callout-shadow-color: rgba(0, 0, 0, .132);
   --callout-shadow-secondary-color: rgba(0, 0, 0, .108);
}

.dark-theme {
   --palette-neutral-100: 255, 255, 255;
   --accent-percentage: 25%;
   --accent-hover-percentage: 50%;
   --fadein-percent: 7%;
   --fadein-hover-percent: 35%;
   --fadein-border-percent: 25%;
   --callout-shadow-color: rgba(0, 0, 0, .45);
   --callout-shadow-secondary-color: rgba(0, 0, 0, .30);
}

.normal-font-weight {
   font-weight: normal;
}

.k-expander-title {
   font-weight: normal;
}

.e-svg {
   padding-inline: .25rem !important;
}

   .e-svg > img {
      width: 1.2rem;
      height: 1.2rem;
   }

   .button-svg{
      width:1.25rem;
   }

.button-text-svg {
   width: .9rem;
   box-sizing: content-box;
   padding-right:.25rem;
   vertical-align: middle;
}

/* The "Add ... Configuration" button of an empty state: the default light fill, so the branded plus image reads on it,
   with the image and the label on one centre line */
.k-button.fd-empty-action .k-button-text {
   /* the Telerik button wraps its content in this span, so the row and its gap have to be laid out here */
   display: inline-flex;
   align-items: center;
   gap: .4rem;
}

   .k-button.fd-empty-action .button-text-svg {
      padding-right: 0;
      vertical-align: baseline;
   }

/* A button image that sits closer to its label than the plus of the add buttons: on the buttons styled like them, the
   row's gap shrinks; on a plain button, the image's own trailing padding does */
.k-button.fd-empty-action .k-button-text:has(.button-svg-tight) {
   gap: .2rem;
}

.button-text-svg.button-svg-tight {
   padding-right: .1rem;
}

/* The branded rollback arrow on the console's Rollback buttons */
.rollback-button-svg {
   width: 1.35rem;
   height: 1.35rem;
   /* centred on the label: the row's own centring when the button is laid out as a row, the baseline offset when it is not */
   align-self: center;
   vertical-align: -.3rem;
}

   /* the arrow sits closer to its label than the plus of the add buttons */
   .k-button.fd-empty-action .k-button-text:has(.rollback-button-svg) {
      gap: .2rem;
   }

/* The branded refresh arrow on the console's refresh buttons (Shared/RefreshButton.razor) */
.refresh-button-svg {
   width: 1.35rem;
   height: 1.35rem;
   margin-right: .4rem;
   vertical-align: -.3rem;
}

/* The recovery plan wizard: each step's page takes the height the window leaves it, instead of a computed height that
   can overshoot by a few pixels and keep a scrollbar on every step; the page scrolls only when its content is taller */
#recovery-plan-wizard .k-window-content {
   display: flex;
   flex-direction: column;
}

#recovery-plan-wizard .k-wizard {
   flex: 1 1 auto;
   min-height: 0;
}

#recovery-plan-wizard .k-wizard-content {
   display: flex;
   flex-direction: column;
   min-height: 0;
   overflow: hidden;
}

#recovery-plan-wizard .k-wizard-content > div {
   flex: 1 1 auto;
   min-height: 0;
   display: flex;
   flex-direction: column;
}

#recovery-plan-wizard .k-wizard-content > div > .w-100 {
   flex: 1 1 auto;
   min-height: 0;
   height: auto !important;
   overflow: auto;
}

/* The explanation of the recovery plan Setup step, hung off its question mark (the tooltip renders at the page root) */
.recovery-help-tooltip .recovery-help-text {
   max-width: 32rem;
   white-space: normal;
   text-align: left;
   line-height: 1.4;
}

   /* A button whose text is led by one of these images: the content laid out as a row with the image
      and the text centred on each other, rather than the image standing on the text's baseline */
   .k-button-text:has(> .button-text-svg) {
      display: inline-flex;
      align-items: center;
   }

.e-svg-sm {
   padding-inline: .25rem !important;
}

   .e-svg-sm > img {
      width: 1rem;
      height: 1rem;
   }

/* splitter bars and grid column resizers: the theme uses col-resize / row-resize, which Windows has no system
   cursor for. Chrome draws them from one-pixel inverting cursors compiled into chrome.dll, so the cursor takes
   its colour from the page: bright on the dark theme, a bare hairline on the light one. The Windows ew-resize
   cursor is a white body with a thin outline and vanishes on the light theme as well. An opaque image in each
   theme's text colour, outlined in its surface colour, reads on both. The drag itself is Telerik's script, so
   only the cursor changes; the keyword after the image is the fallback for a browser that refuses the image. */
body:not(.dark-theme) .k-splitbar-draggable-horizontal, body:not(.dark-theme) .k-column-resizer, body:not(.dark-theme) .k-grid .k-resize-handle {
   cursor: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path d='M11 5h2v14h-2zM8 8 3 12l5 4zM16 8l5 4-5 4z' fill='%23232a36' stroke='%23ffffff' stroke-width='2' stroke-linejoin='round' paint-order='stroke'/></svg>") 12 12, ew-resize;
}

body:not(.dark-theme) .k-splitbar-draggable-vertical, body:not(.dark-theme) .k-grid .k-resizer-wrap {
   cursor: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path d='M5 11h14v2H5zM8 8l4-5 4 5zM8 16l4 5 4-5z' fill='%23232a36' stroke='%23ffffff' stroke-width='2' stroke-linejoin='round' paint-order='stroke'/></svg>") 12 12, ns-resize;
}

body.dark-theme .k-splitbar-draggable-horizontal, body.dark-theme .k-column-resizer, body.dark-theme .k-grid .k-resize-handle {
   cursor: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path d='M11 5h2v14h-2zM8 8 3 12l5 4zM16 8l5 4-5 4z' fill='%23eceff3' stroke='%23060813' stroke-width='2' stroke-linejoin='round' paint-order='stroke'/></svg>") 12 12, ew-resize;
}

body.dark-theme .k-splitbar-draggable-vertical, body.dark-theme .k-grid .k-resizer-wrap {
   cursor: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path d='M5 11h14v2H5zM8 8l4-5 4 5zM8 16l4 5 4-5z' fill='%23eceff3' stroke='%23060813' stroke-width='2' stroke-linejoin='round' paint-order='stroke'/></svg>") 12 12, ns-resize;
}

/* A Telerik chip that states a status (the job status of a configuration, the result of an audit event or of a
   system activity event, how a plan's run ended, ...): held to the size of the console's own status pills
   (AgentStatusPill, StorageServerStatusPill, BackupSetStatusPill), so that a status reads the same size wherever a
   pill shows one. The chip keeps the theme's look, which those pills follow: the subtle background of the status
   colour, a one-pixel border in the colour itself and the darker text the theme derives for that background. Only
   its text size, weight, padding and shape are set here; the padding leaves room for the border, and the line
   height is the surrounding text's, as it is for those pills. */
.k-chip.c-status-pill {
   min-height: 0;
   padding: calc(.1rem - 1px) calc(.6rem - 1px);
   gap: .3rem;
   font-size: .75rem;
   font-weight: 500;
   line-height: inherit;
   border-radius: 1rem;
   white-space: nowrap;
}

   .k-chip.c-status-pill .k-chip-content {
      margin-inline: 0;
   }

   .k-chip.c-status-pill .k-chip-label,
   .k-chip.c-status-pill .k-chip-text {
      padding-block: 0;
      margin-block: 0;
   }

   /* a status chip with a glyph: the glyph is the size of the text */
   .k-chip.c-status-pill .k-icon,
   .k-chip.c-status-pill .k-svg-icon {
      width: .8rem;
      height: .8rem;
      font-size: .8rem;
   }

/* The PII rating pill of the document explorer, its files page and the file details dialog: the colors follow
   the exposure levels of the security analysis board. A pill that does something on click reads as a button. */
.c-pii-pill {
   display: inline-flex;
   align-items: center;
   gap: .35rem;
   padding: .1rem .55rem;
   border-radius: 1rem;
   font-size: .8rem;
   color: #fff;
   white-space: nowrap;
}

.c-pii-pill-button {
   cursor: pointer;
}

.c-pii-pill.high {
   background-color: firebrick;
}

.c-pii-pill.medium {
   background-color: darkorange;
}

.c-pii-pill.low {
   background-color: goldenrod;
}

.c-pii-pill.none {
   background-color: var(--kendo-color-success, seagreen);
}

.c-pii-pill.failed {
   background-color: var(--kendo-color-error, #d51923);
}

/* a document the file scanning has no reader for: through with it, and nothing known of what it holds */
.c-pii-pill.unreadable {
   background-color: slategray;
}

.c-pii-pill.pending {
   background-color: transparent;
   color: inherit;
   border: 1px dashed var(--kendo-color-border, #999999);
   opacity: .75;
}

.c-pii-count {
   padding: 0 .4rem;
   border-radius: .6rem;
   background-color: rgba(255, 255, 255, .3);
   font-weight: 600;
}

/* The finding types of a file in the document explorer and its files page: a pill per type of data found, wrapping
   onto as many lines as they need (the cell drops the one-line rule the other columns keep; each pill stays whole,
   a type name longer than the column is cut with an ellipsis and the tooltip carries the whole of it). The pill
   that counts the types a cell has no room for is neutral; its tooltip names them. */
.k-grid .k-table-td:has(.c-pii-pills) {
   white-space: normal;
}

.c-pii-pills {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: .3rem;
   padding: .15rem 0;
}

   .c-pii-pills .c-pii-pill {
      max-width: 100%;
      min-width: 0;
   }

   .c-pii-pills .c-pii-pill > span:not(.c-pii-count) {
      overflow: hidden;
      text-overflow: ellipsis;
      min-width: 0;
   }

   .c-pii-pills .c-pii-pill > i,
   .c-pii-pills .c-pii-count {
      flex: none;
   }

.c-pii-pill-more {
   background-color: var(--kendo-color-base-emphasis, #8a8a8a);
   color: var(--kendo-color-on-base, #fff);
   font-weight: 600;
}

/* a grid row for an attribute a rollback cannot write, listed on request: muted, and its checkbox looks disabled */
tr.read-only-attribute td {
   color: var(--kendo-color-subtle);
   font-style: italic;
}

tr.read-only-attribute .k-checkbox {
   opacity: .4;
}

/* Printing: the body is a viewport-high flex column on screen; on paper it has to be an ordinary block that
   grows with the document, or the browser prints only the first screen. The layout hides its own chrome. */
@media print {
   body {
      display: block;
      height: auto;
      background-color: #fff;
   }
}
