@charset "UTF-8";
  svelecte-list-viewport.svelte-1kwjasd {
    position: relative;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
  }

  svelecte-list-content.svelte-1kwjasd,
  svelecte-list-row.svelte-1kwjasd {
    display: block;
  }

  svelecte-list-row.svelte-1kwjasd {
    /* NOTE: 🤔 needed? */
    overflow: hidden;
  }

  /** make it global to be able to apply it also for anchored select */
  .sv-hidden-element { opacity: 0; position: absolute; z-index: -2; top: 0; height: var(--sv-min-height, 30px)}

  /* stylable props */
  /*
  :root {
    --sv-min-height: 34px;
    --sv-bg: #fff;
    --sv-disabled-bg: #eee;
    --sv-border: 1px solid #ccc;
    --sv-border-radius: 4px;
    --sv-selection-gap: 4px;
    --sv-general-padding: 4px;
    --sv-control-bg: var(--sv-bg);
    --sv-selection-wrap-padding: 0px 3px 0px 4px;
    --sv-selection-multi-wrap-padding: 0px 3px 0px 6px;
    --sv-item-wrap-padding: 3px 3px 3px 6px;
    --sv-item-selected-bg: #efefef;
    --sv-item-btn-color: #000;
    --sv-item-btn-color-hover: #777;
    --sv-item-btn-bg: #efefef;
    --sv-item-btn-bg-hover: #ddd;
    --sv-icon-color: #bbb;
    --sv-icon-color-hover: #777;
    --sv-icon-bg: transparent;
    --sv-icon-size: 20px;
    --sv-separator-bg: #ccc;
    --sv-btn-border: 0;
    --sv-placeholder-color: #ccccd6;
    --sv-dropdown-bg: var(--sv-bg);
    --sv-dropdown-offset: 1px;
    --sv-dropdown-border: 1px solid rgba(0,0,0,0.15);
    --sv-dropdown-width: auto;
    --sv-dropdown-shadow: 0 6px 12px #0000002d;
    --sv-dropdown-height: 320px;
    --sv-dropdown-active-bg: #F2F5F8;
    --sv-dropdown-selected-bg: #ECF3F9;
    --sv-create-disabled-bg: #fcbaba;
    --sv-create-kbd-border: 1px solid #efefef;
    --sv-create-kbd-bg: #fff;
    --sv-loader-border: 2px solid #ccc;
  }
  */
  .a11y-text.svelte-1ssud38 {
    z-index: 9999;
    border: 0px;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    width: 1px;
    position: absolute;
    overflow: hidden;
    padding: 0px;
    white-space: nowrap;
  }
  .svelecte.svelte-1ssud38 {
    position: relative;
    flex: 1 1 auto;
    color: var(--sv-color, inherit);

    &.is-disabled > .sv-control:where(.svelte-1ssud38) {
      background-color: var(--sv-disabled-bg, #eee);
    }
  }

  .sv-control.svelte-1ssud38 {
    display: flex;
    align-items: center;
    border: var(--sv-border, 1px solid #ccc);
    border-radius: var(--sv-border-radius, 4px);
    background-color: var(--sv-control-bg, var(--sv-bg, #fff));
    min-height: var(--sv-min-height, 34px);
  }

  .sv-control--selection.svelte-1ssud38 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex: 1;
    min-width: 0;
    gap: var(--sv-selection-gap, 4px);
    padding: var(--sv-selection-gap, var(--sv-general-padding, 4px));
    min-height: 24px;
    &.is-single {
      flex-wrap: nowrap;
    }
  }
  .sv-item--container {
    display: flex;
    min-width: 0;
  }
  .sv-item--wrap {
    display: flex;
    min-width: 0;
  }
  .sv-item--wrap.in-selection {
    padding: var(--sv-selection-wrap-padding, 0px 3px 0px 4px);
  }
  .sv-item--wrap.is-multi {
    padding: var(--sv-selection-multi-wrap-padding, 0px 3px 0px 6px);
    background-color: var(--sv-item-selected-bg, #efefef);
  }
  .sv-item--wrap.in-dropdown {
    padding: var(--sv-item-wrap-padding, 3px 3px 3px 6px);
  }

  .sv-item--content {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .sv-item--btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    align-self: stretch;
    padding: 0 4px;
    box-sizing: border-box;
    border-radius: calc(var(--sv-border-radius, 4px) / 2);
    border-width: 0;
    margin: 0;
    cursor: pointer;
    background-color: var(--sv-item-btn-bg, var(--sv-item-selected-bg, #efefef));
  }


  /** #region ************************************ buttons */
  .sv-item--btn > svg {
    fill: var(--sv-item-btn-color, var(--sv-icon-color, #bbb));
  }
  .sv-item--btn:hover {
    background-color: var(--sv-item-btn-bg-hover, #ddd);
  }
  .sv-item--btn:hover > svg {
    fill: var(--sv-item-btn-color-hover, #777);
  }

  .sv-buttons.svelte-1ssud38 {
    display: flex;
    align-self: stretch;
    position: relative;
  }
  .sv-btn-indicator.svelte-1ssud38 {
    color: var(--sv-icon-color, #bbb);
    display: flex;
    transition: color 150ms ease 0s;
    box-sizing: border-box;
    background-color: var(--sv-icon-bg, transparent);
    border: var(--sv-btn-border, 0);
    padding: 0;
    margin: var(--sv-general-padding, 4px);
    align-items: center;
    fill: currentcolor;
    line-height: 1;
    stroke: currentcolor;
    stroke-width: 0px;
    &:hover {
      color: var(--sv-icon-color-hover, #777);
    }
  }
  .sv-btn-separator.svelte-1ssud38 {
    align-self: stretch;
    background-color: var(--sv-separator-bg, #ccc);
    margin-bottom: var(--sv-general-padding, 4px);
    margin-top: var(--sv-general-padding, 4px);
    width: 1px;
    box-sizing: border-box;
  }
  .indicator-icon.svelte-1ssud38 {
    width: var(--sv-icon-size, 20px);
    height: var(--sv-icon-size, 20px);
  }
  .is-loading.svelte-1ssud38:after {
    animation: svelte-1ssud38-spinAround 0.5s infinite linear;
    border: var(--sv-loader-border, 2px solid #ccc);
    border-radius: 50%;
    border-right-color: transparent;
    border-top-color: transparent;
    content: "";
    display: block;
    height: var(--sv-icon-size, 20px);
    width: var(--sv-icon-size, 20px);
    right: var(--sv-general-padding, 4px);
    top: calc(50% - (var(--sv-icon-size, 20px) / 2));
    position: absolute !important;
    box-sizing: border-box;
  }
  @keyframes svelte-1ssud38-spinAround {
    from {
      transform: rotate(0deg)
    }
    to {
      transform: rotate(359deg)
    }
  }

  /** #endregion */

  /** ************************************ dropdown */

  .sv_dropdown.svelte-1ssud38 {
    margin: var(--sv-dropdown-offset, 1px) 0;
    box-sizing: border-box;
    position: absolute;
    min-width: 100%;
    width: var(--sv-dropdown-width, auto);
    background-color: var(--sv-dropdown-bg, var(--sv-bg, #fff));
    overflow-y: auto;
    overflow-x: hidden;
    border: var(--sv-dropdown-border, 1px solid rgba(0,0,0,0.15));
    border-radius: var(--sv-border-radius, 4px);
    box-shadow: var(--sv-dropdown-shadow, 0 6px 12px #0000002d);
    opacity: 0;
    z-index: -1000;
    pointer-events: none;

    &.is-open {
      opacity: 1;
      z-index: 2;
      pointer-events: auto;
    }
  }
  .sv-dropdown-scroll.svelte-1ssud38 {
    /* min-height: 40px; */
    padding: 0;
    box-sizing: border-box;
    max-height: var(--sv-dropdown-height, 320px);
    overflow-y: auto;
    overflow-x: hidden;
    &.has-items {
      padding: 4px;
    }
  }
  .in-dropdown.is-selected.svelte-1ssud38 {
    background-color: var(--sv-dropdown-selected-bg, #ECF3F9);
  }
  .in-dropdown.is-disabled.svelte-1ssud38 {
    opacity: 0.5;
    cursor: not-allowed;
  }
  .in-dropdown.sv-dd-item-active.svelte-1ssud38,
  .in-dropdown.svelte-1ssud38:hover,
  .in-dropdown.svelte-1ssud38:active {
    background-color: var(--sv-dropdown-active-bg, #F2F5F8);
  }
  .is-dropdown-row.svelte-1ssud38 {
    padding: var(--sv-general-padding, 4px);
  }

  /** ************************************ creatable */

  .sv-dropdown-scroll.has-items.svelte-1ssud38 + .is-dropdown-row:where(.svelte-1ssud38) {
    border-top: 1px solid transparent;
    border-color: var(--sv-separator-bg, #ccc);
  }
  .creatable-row.svelte-1ssud38 {
    width: 100%;
    border: 0;
    background-color: inherit;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: calc(var(--sv-border-radius, 4px) / 2);
    padding: var(--sv-item-wrap-padding, 3px 3px 3px 6px);

    &:hover,
    &:active,
    &.active {
      background-color: var(--sv-dropdown-active-bg, #F2F5F8);
    }
    &.active.is-disabled {
      opacity: 0.5;
      background-color: var(--sv-create-disabled-bg, #fcbaba);
    }
    &.is-disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }

  }

  /*
   * moved selector to global due to https://github.com/sveltejs/svelte/issues/10143 -> https://github.com/sveltejs/svelte/pull/10208
   */
  .creatable-row.svelte-1ssud38 > .is-loading {
    position: relative;
    &:after {
      left: calc(100% + 4px);
    }
  }

  .shortcut.svelte-1ssud38 {
    display: flex;
    align-items: center;
    align-content: center;
  }
  .shortcut.svelte-1ssud38 > kbd:where(.svelte-1ssud38) {
      border: var(--sv-create-kbd-border, 1px solid #efefef);
      border-radius: var(--sv-border-radius, 4px);
      padding: 0px 6px;
      margin: -1px 0;
      background-color: var(--sv-create-kbd-bg, #fff);
  }

  /** #region input */
  .sv-input--sizer.svelte-1ssud38 {
    position: absolute;
    pointer-events: none;
    display: inline-grid;
    vertical-align: top;
    align-items: center;

    &:after {
      content: attr(data-value) ' ';
      visibility: hidden;
      white-space: pre-wrap;
    }
  }
  .is-focused.svelte-1ssud38 .sv-input--sizer:where(.svelte-1ssud38) {
    position: relative;
    pointer-events: all;
  }
  .has-items.svelte-1ssud38 .keep-value:where(.svelte-1ssud38):not(:focus) {
    color: transparent;
  }
  /* moved selector to global due to https://github.com/sveltejs/svelte/issues/10143 -> https://github.com/sveltejs/svelte/pull/10208 */
  .is-focused.svelte-1ssud38 .is-single.has-items.has-input > .sv-item--container {
    opacity: 0.2;
  }
  .sv-input--sizer.svelte-1ssud38:after,
  .sv-input--text.svelte-1ssud38 {
    width: auto;
    min-width: 1em;
    grid-area: 1 / 2;
    font: inherit;
    padding: 0 0.25em;
    margin: 0;
    resize: none;
    background: none;
    appearance: none;
    border: none;
  }
  .has-items.svelte-1ssud38 .sv-input--text:where(.svelte-1ssud38) {
    padding-left: 0;
  }

  .sv-input--text.svelte-1ssud38 {
    outline: none;
    &:placeholder {
      color: var(--sv-placeholder-color, #ccccd6);
    }
  }
  /* #endregion */

    ul.svelte-1twhs54 {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

    .content.svelte-1twhs54 {
        display: grid;
        gap: var(--space-8);
        grid-template-rows: auto minmax(0, 1fr);
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        height: 100%;
    }

    .summary.svelte-1twhs54 {
        grid-column: span 2;

        .type:where(.svelte-1twhs54) {
            align-items: baseline;
            display: flex;
            gap: var(--space-4);
            .value:where(.svelte-1twhs54) {
                color: var(--color-text-secondary);
            }
        }

        .tags.domains:where(.svelte-1twhs54) {
            justify-items: end;
            margin-top: var(--space-4);

            .tag:where(.svelte-1twhs54) {
                font-size: var(--font-size-12);
                font-weight: normal;
                text-transform: none;
                user-select: all;
            }
        }
    }

    .roll-options.svelte-1twhs54,
    .modifiers.svelte-1twhs54 {
        display: flex;
        flex-direction: column;
        max-height: 100%;

        > header:where(.svelte-1twhs54) {
            font-size: var(--font-size-18);
            margin-bottom: var(--space-2);
        }

        > ul:where(.svelte-1twhs54) {
            background-color: var(--table-row-color-odd);
            border: 1px solid var(--color-border-dark-tertiary);
            border-radius: 3px;
            overflow: auto;
            width: 100%;
            scrollbar-gutter: stable;

            li:where(.svelte-1twhs54):nth-child(even of :not([hidden])) {
                background-color: var(--table-row-color-even);
            }
        }
    }

    .roll-options.svelte-1twhs54 {
        .filter:where(.svelte-1twhs54) {
            margin-bottom: var(--space-4);
        }

        > ul:where(.svelte-1twhs54) {
            white-space: nowrap;
            flex: 1;

            li:where(.svelte-1twhs54) {
                line-height: 1.5em;
                overflow-x: hidden;
                padding-left: var(--space-8);
                text-overflow: ellipsis;
                user-select: text;
                margin: 0;
            }

            .sub-list:where(.svelte-1twhs54) .header:where(.svelte-1twhs54) {
                border-bottom: 1px solid var(--color-underline-header);
                font-size: var(--font-size-18);
            }
        }
    }

    .modifiers.svelte-1twhs54 {
        grid-area: "modifiers";

        ul:where(.svelte-1twhs54) {
            li:where(.svelte-1twhs54) {
                display: block;
                padding: var(--space-4);
                margin: 0;

                &.disabled {
                    border-style: dashed;
                    opacity: 0.6;
                }

                header:where(.svelte-1twhs54) {
                    align-items: baseline;
                    display: flex;
                    font-size: var(--font-size-16);
                    gap: var(--space-4);
                    margin-bottom: 0.25em;

                    i:where(.svelte-1twhs54) {
                        margin-left: auto;
                        padding-left: var(--space-4);
                    }
                }

                & > div:where(.svelte-1twhs54) {
                    display: flex;
                    justify-content: space-between;
                    align-items: baseline;
                }
            }
        }
    }

    header.search.svelte-k4we7n {
        align-items: center;
        border-bottom: 1px solid var(--color-border);
        flex-flow: row nowrap;
        gap: var(--space-8);
        justify-content: start;
        padding: var(--space-8) var(--space-8);

        input:where(.svelte-k4we7n)::placeholder {
            color: var(--color-light-5);
        }
    }

    ul.svelte-k4we7n {
        flex-flow: column nowrap;
        height: 100%;
        list-style: none;
        margin: 0;
        overflow: hidden scroll;
        padding: var(--space-4) 0;

        > li:where(.svelte-k4we7n) {
            align-items: center;
            border-top: 1px solid var(--color-border);
            display: flex;
            margin: 0;
            padding: var(--space-1) var(--space-6) var(--space-4);

            button.name-source:where(.svelte-k4we7n) {
                column-gap: var(--space-8);
                display: grid;
                flex: 1;
                height: unset;
                justify-content: start;
                grid-template:
                    "icon name" auto
                    "icon rarity" auto
                    "icon source" auto / 3rem auto;

                &.omit-rarity {
                    grid-template:
                        "icon name"
                        "icon source" / 3rem auto;

                    > .name:where(.svelte-k4we7n) {
                        align-self: end;
                    }

                    > .source:where(.svelte-k4we7n) {
                        align-self: start;
                    }
                }

                img:where(.svelte-k4we7n) {
                    border: none;
                    height: 3rem;
                    grid-area: icon;
                    width: 3rem;
                }

                .name:where(.svelte-k4we7n) {
                    grid-area: name;
                    color: var(--color-text-primary);
                    padding-left: var(--space-1);
                }

                .tags:where(.svelte-k4we7n) {
                    grid-area: rarity;
                    padding: 0;
                }

                .source:where(.svelte-k4we7n) {
                    color: var(--color-form-hint);
                    font-size: var(--font-size-12);
                    grid-area: source;
                    padding-left: var(--space-1);
                    &.no-rarity {
                        grid-row: span 2;
                        align-self: start;
                    }

                    &.publication {
                        font-style: italic;
                    }
                }

                &:hover .tag.rarity:where(.svelte-k4we7n) {
                    text-shadow: 0 0 8px var(--color-shadow-primary);
                }
            }

            button.confirm:where(.svelte-k4we7n) {
                color: darkgreen;
                font-size: var(--font-size-12);
                height: 1.5rem;
                width: 1.5rem;
                margin-left: auto;
                visibility: hidden;
                i:where(.svelte-k4we7n) {
                    margin-right: 0;
                }
            }

            &:hover button.confirm:where(.svelte-k4we7n) {
                visibility: visible;
            }
        }
    }

    @use "src/styles/mixins/_typography.scss" as mixins;

    .item-summary.svelte-lgtgkd {
        flex: 0 0 100%;
        line-height: normal;
        overflow: hidden;
        padding: var(--space-4);
        white-space: unset;

        .gm-notes:where(.svelte-lgtgkd) {
            background-color: var(--visibility-gm-bg);
            color: var(--color-text-dark-0);
            border: 1px dotted rgba(75, 74, 68, 0.5);
            padding: 0 0.25em;
            flex: 0 0 auto;
        }

        /* :global {*/
            @include mixins.journal-styling;
            > .tags {
                margin: 0.5em 0.05em 0.2em calc(-1 * var(--space-2));
                padding: 0;
            }

            /* Override AppV2 hr with something that fits item descriptions better */
            .description hr {
                background-color: var(--color-border);
                background-image: none;
                margin: unset;
                height: var(--space-1);
            }
        /*}*/
    }

    /** Increase specificity until layer support */
    button.flat.svelte-vsb4pg {
        --image-size: 2rem;

        position: relative;
        width: var(--image-size);
        height: var(--image-size);

        img:where(.svelte-vsb4pg) {
            border: none;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        i:where(.svelte-vsb4pg) {
            box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.5);
            position: absolute;
            display: none;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            font-size: calc(var(--image-size) * 0.6);
            color: var(--text-dark);
        }

        &:hover,
        &:focus {
            text-shadow: none;

            i:where(.svelte-vsb4pg) {
                align-items: center;
                background: #f1eee9;
                display: flex;
                justify-content: center;
                text-shadow: none;
            }
        }
    }

    .sheet-header.svelte-1r4zksj {
        flex-direction: column;
        margin: var(--space-8);
        margin-bottom: 0;
        .search:where(.svelte-1r4zksj) {
            margin-top: var(--space-2);
        }
    }

    .content.svelte-1r4zksj {
        display: flex;
        flex-direction: column;
        list-style: none;
        width: 100%;
        flex: 1;
        overflow-y: scroll;
        padding: var(--space-8) 0;
        padding-top: 0;

        header:where(.svelte-1r4zksj) {
            border-bottom: 1px solid var(--color-border);
            margin-top: var(--space-10);
            margin-bottom: var(--space-2);
            font-weight: 500;
            font-size: var(--font-size-16);
            padding: 0 var(--space-8);
        }

        ol:where(.svelte-1r4zksj) {
            display: flex;
            flex-direction: column;
            list-style: none;
            width: 100%;
            margin: 0;
            padding: 0;
        }
    }

    .item.svelte-1r4zksj {
        align-items: top;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        padding: var(--space-4) var(--space-8);
        margin: 0;

        &.faded {
            > :where(.svelte-1r4zksj):not(.item-summary) {
                opacity: 0.88;
            }

            > .item-image img {
                filter: grayscale(0.85);
            }
        }

        > .item-image {
            --image-size: 2.125rem;
            margin-right: var(--space-4);
            margin-top: var(--space-1); /* align with name */
        }

        > .name:where(.svelte-1r4zksj) {
            cursor: pointer;
            flex: 1;
            margin: 0;

            &:hover {
                text-shadow: 0 0 8px var(--color-shadow-primary);
            }

            /* :global {*/
                .tags {
                    padding: 0;
                    margin: 0;
                }
                .tag {
                    padding: 0.15em 0.3em 0.1em 0.3em;
                }
            /*}*/
        }

        > .quantity:where(.svelte-1r4zksj) {
            display: flex;
            margin-top: var(--space-6);
            button:where(.svelte-1r4zksj) {
                width: 1.375rem;
                height: 1.375rem;
                i:where(.svelte-1r4zksj) {
                    margin: 0;
                }
            }
            input:where(.svelte-1r4zksj) {
                border: none;
                width: 3ch;
                height: 1.375rem;
                padding-left: 0;
                padding-right: 0;
                text-align: center;
                &.selected {
                    font-weight: 600;
                    opacity: unset;
                    color: var();
                }
            }
        }

        > button.select:where(.svelte-1r4zksj) {
            width: 1.75rem;
            height: 1.75rem;
            margin-top: var(--space-4);
            transition: all 0.25s ease-in-out;

            i:where(.svelte-1r4zksj) {
                margin: 0;
            }

            &.selected {
                --button-background-color: var(--color-warm-1);
                --button-border-color: var(--color-cool-5);
                --button-text-color: var(--color-cool-5);
                /** Style as a remove button if mousing over an active one */
                &:hover {
                    background-color: var(--color-level-error);
                    i:where(.svelte-1r4zksj)::before {
                        content: "\f00d";
                    }
                }
            }
        }

        + .item:where(.svelte-1r4zksj) {
            border-top: 1px solid var(--color-border);
        }
    }
.noUi-target,.noUi-target *{-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-ms-touch-action:none;touch-action:none;-ms-user-select:none;-moz-user-select:none;user-select:none;-moz-box-sizing:border-box;box-sizing:border-box}.noUi-target{position:relative}.noUi-base,.noUi-connects{width:100%;height:100%;position:relative;z-index:1}.noUi-connects{overflow:hidden;z-index:0}.noUi-connect,.noUi-origin{will-change:transform;position:absolute;z-index:1;top:0;right:0;height:100%;width:100%;-ms-transform-origin:0 0;-webkit-transform-origin:0 0;-webkit-transform-style:preserve-3d;transform-origin:0 0;transform-style:flat}.noUi-txt-dir-rtl.noUi-horizontal .noUi-origin{left:0;right:auto}.noUi-vertical .noUi-origin{top:-100%;width:0}.noUi-horizontal .noUi-origin{height:0}.noUi-handle{-webkit-backface-visibility:hidden;backface-visibility:hidden;position:absolute}.noUi-touch-area{height:100%;width:100%}.noUi-state-tap .noUi-connect,.noUi-state-tap .noUi-origin{-webkit-transition:transform .3s;transition:transform .3s}.noUi-state-drag *{cursor:inherit!important}.noUi-horizontal{height:18px}.noUi-horizontal .noUi-handle{width:34px;height:28px;right:-17px;top:-6px}.noUi-vertical{width:18px}.noUi-vertical .noUi-handle{width:28px;height:34px;right:-6px;bottom:-17px}.noUi-txt-dir-rtl.noUi-horizontal .noUi-handle{left:-17px;right:auto}.noUi-target{background:#FAFAFA;border-radius:4px;border:1px solid #D3D3D3;box-shadow:inset 0 1px 1px #F0F0F0,0 3px 6px -5px #BBB}.noUi-connects{border-radius:3px}.noUi-connect{background:#3FB8AF}.noUi-draggable{cursor:ew-resize}.noUi-vertical .noUi-draggable{cursor:ns-resize}.noUi-handle{border:1px solid #D9D9D9;border-radius:3px;background:#FFF;cursor:default;box-shadow:inset 0 0 1px #FFF,inset 0 1px 7px #EBEBEB,0 3px 6px -3px #BBB}.noUi-active{box-shadow:inset 0 0 1px #FFF,inset 0 1px 7px #DDD,0 3px 6px -3px #BBB}.noUi-handle:after,.noUi-handle:before{content:"";display:block;position:absolute;height:14px;width:1px;background:#E8E7E6;left:14px;top:6px}.noUi-handle:after{left:17px}.noUi-vertical .noUi-handle:after,.noUi-vertical .noUi-handle:before{width:14px;height:1px;left:6px;top:14px}.noUi-vertical .noUi-handle:after{top:17px}[disabled] .noUi-connect{background:#B8B8B8}[disabled] .noUi-handle,[disabled].noUi-handle,[disabled].noUi-target{cursor:not-allowed}.noUi-pips,.noUi-pips *{-moz-box-sizing:border-box;box-sizing:border-box}.noUi-pips{position:absolute;color:#999}.noUi-value{position:absolute;white-space:nowrap;text-align:center}.noUi-value-sub{color:#ccc;font-size:10px}.noUi-marker{position:absolute;background:#CCC}.noUi-marker-sub{background:#AAA}.noUi-marker-large{background:#AAA}.noUi-pips-horizontal{padding:10px 0;height:80px;top:100%;left:0;width:100%}.noUi-value-horizontal{-webkit-transform:translate(-50%,50%);transform:translate(-50%,50%)}.noUi-rtl .noUi-value-horizontal{-webkit-transform:translate(50%,50%);transform:translate(50%,50%)}.noUi-marker-horizontal.noUi-marker{margin-left:-1px;width:2px;height:5px}.noUi-marker-horizontal.noUi-marker-sub{height:10px}.noUi-marker-horizontal.noUi-marker-large{height:15px}.noUi-pips-vertical{padding:0 10px;height:100%;top:0;left:100%}.noUi-value-vertical{-webkit-transform:translate(0,-50%);transform:translate(0,-50%);padding-left:25px}.noUi-rtl .noUi-value-vertical{-webkit-transform:translate(0,50%);transform:translate(0,50%)}.noUi-marker-vertical.noUi-marker{width:5px;height:2px;margin-top:-1px}.noUi-marker-vertical.noUi-marker-sub{width:10px}.noUi-marker-vertical.noUi-marker-large{width:15px}.noUi-tooltip{display:block;position:absolute;border:1px solid #D9D9D9;border-radius:3px;background:#fff;color:#000;padding:5px;text-align:center;white-space:nowrap}.noUi-horizontal .noUi-tooltip{-webkit-transform:translate(-50%,0);transform:translate(-50%,0);left:50%;bottom:120%}.noUi-vertical .noUi-tooltip{-webkit-transform:translate(0,-50%);transform:translate(0,-50%);top:50%;right:120%}.noUi-horizontal .noUi-origin>.noUi-tooltip{-webkit-transform:translate(50%,0);transform:translate(50%,0);left:auto;bottom:10px}.noUi-vertical .noUi-origin>.noUi-tooltip{-webkit-transform:translate(0,-18px);transform:translate(0,-18px);top:auto;right:28px}:root{--tagify-dd-color-primary:rgb(53,149,246);--tagify-dd-bg-color:white;--tagify-dd-item-pad:.3em .5em}.tagify{--tags-disabled-bg:#F1F1F1;--tags-border-color:#DDD;--tags-hover-border-color:#CCC;--tags-focus-border-color:#3595f6;--tag-border-radius:3px;--tag-bg:#E5E5E5;--tag-hover:#D3E2E2;--tag-text-color:black;--tag-text-color--edit:black;--tag-pad:0.3em 0.5em;--tag-inset-shadow-size:1.1em;--tag-invalid-color:#D39494;--tag-invalid-bg:rgba(211, 148, 148, 0.5);--tag-remove-bg:rgba(211, 148, 148, 0.3);--tag-remove-btn-color:black;--tag-remove-btn-bg:none;--tag-remove-btn-bg--hover:#c77777;--input-color:inherit;--tag--min-width:1ch;--tag--max-width:auto;--tag-hide-transition:0.3s;--placeholder-color:rgba(0, 0, 0, 0.4);--placeholder-color-focus:rgba(0, 0, 0, 0.25);--loader-size:.8em;--readonly-striped:1;display:inline-flex;align-items:flex-start;flex-wrap:wrap;border:1px solid var(--tags-border-color);padding:0;line-height:0;cursor:text;outline:0;position:relative;box-sizing:border-box;transition:.1s}@keyframes tags--bump{30%{transform:scale(1.2)}}@keyframes rotateLoader{to{transform:rotate(1turn)}}.tagify:hover:not(.tagify--focus):not(.tagify--invalid){--tags-border-color:var(--tags-hover-border-color)}.tagify[disabled]{background:var(--tags-disabled-bg);filter:saturate(0);opacity:.5;pointer-events:none}.tagify[disabled].tagify--select,.tagify[readonly].tagify--select{pointer-events:none}.tagify[disabled]:not(.tagify--mix):not(.tagify--select),.tagify[readonly]:not(.tagify--mix):not(.tagify--select){cursor:default}.tagify[disabled]:not(.tagify--mix):not(.tagify--select)>.tagify__input,.tagify[readonly]:not(.tagify--mix):not(.tagify--select)>.tagify__input{visibility:hidden;width:0;margin:5px 0}.tagify[disabled]:not(.tagify--mix):not(.tagify--select) .tagify__tag>div,.tagify[readonly]:not(.tagify--mix):not(.tagify--select) .tagify__tag>div{padding:var(--tag-pad)}.tagify[disabled]:not(.tagify--mix):not(.tagify--select) .tagify__tag>div::before,.tagify[readonly]:not(.tagify--mix):not(.tagify--select) .tagify__tag>div::before{animation:readonlyStyles 1s calc(-1s * (var(--readonly-striped) - 1)) paused}@keyframes readonlyStyles{0%{background:linear-gradient(45deg,var(--tag-bg) 25%,transparent 25%,transparent 50%,var(--tag-bg) 50%,var(--tag-bg) 75%,transparent 75%,transparent) 0/5px 5px;box-shadow:none;filter:brightness(.95)}}.tagify[disabled] .tagify__tag__removeBtn,.tagify[readonly] .tagify__tag__removeBtn{display:none}.tagify--loading .tagify__input>br:last-child{display:none}.tagify--loading .tagify__input::before{content:none}.tagify--loading .tagify__input::after{content:"";vertical-align:middle;opacity:1;width:.7em;height:.7em;width:var(--loader-size);height:var(--loader-size);min-width:0;border:3px solid;border-color:#eee #bbb #888 transparent;border-radius:50%;animation:rotateLoader .4s infinite linear;content:""!important;margin:-2px 0 -2px .5em}.tagify--loading .tagify__input:empty::after{margin-left:0}.tagify+input,.tagify+textarea{position:absolute!important;left:-9999em!important;transform:scale(0)!important}.tagify__tag{display:inline-flex;align-items:center;margin:5px 0 5px 5px;position:relative;z-index:1;outline:0;line-height:normal;cursor:default;transition:.13s ease-out}.tagify__tag>div{vertical-align:top;box-sizing:border-box;max-width:100%;padding:var(--tag-pad);color:var(--tag-text-color);line-height:inherit;border-radius:var(--tag-border-radius);white-space:nowrap;transition:.13s ease-out}.tagify__tag>div>*{white-space:pre-wrap;overflow:hidden;text-overflow:ellipsis;display:inline-block;vertical-align:top;min-width:var(--tag--min-width);max-width:var(--tag--max-width);transition:.8s ease,.1s color}.tagify__tag>div>[contenteditable]{outline:0;-webkit-user-select:text;user-select:text;cursor:text;margin:-2px;padding:2px;max-width:350px}.tagify__tag>div::before{content:"";position:absolute;border-radius:inherit;inset:var(--tag-bg-inset,0);z-index:-1;pointer-events:none;transition:120ms ease;animation:tags--bump .3s ease-out 1;box-shadow:0 0 0 var(--tag-inset-shadow-size) var(--tag-bg) inset}.tagify__tag:focus div::before,.tagify__tag:hover:not([readonly]) div::before{--tag-bg-inset:-2.5px;--tag-bg:var(--tag-hover)}.tagify__tag--loading{pointer-events:none}.tagify__tag--loading .tagify__tag__removeBtn{display:none}.tagify__tag--loading::after{--loader-size:.4em;content:"";vertical-align:middle;opacity:1;width:.7em;height:.7em;width:var(--loader-size);height:var(--loader-size);min-width:0;border:3px solid;border-color:#eee #bbb #888 transparent;border-radius:50%;animation:rotateLoader .4s infinite linear;margin:0 .5em 0 -.1em}.tagify__tag--flash div::before{animation:none}.tagify__tag--hide{width:0!important;padding-left:0;padding-right:0;margin-left:0;margin-right:0;opacity:0;transform:scale(0);transition:var(--tag-hide-transition);pointer-events:none}.tagify__tag--hide>div>*{white-space:nowrap}.tagify__tag.tagify--noAnim>div::before{animation:none}.tagify__tag.tagify--notAllowed:not(.tagify__tag--editable) div>span{opacity:.5}.tagify__tag.tagify--notAllowed:not(.tagify__tag--editable) div::before{--tag-bg:var(--tag-invalid-bg);transition:.2s}.tagify__tag[readonly] .tagify__tag__removeBtn{display:none}.tagify__tag[readonly]>div::before{animation:readonlyStyles 1s calc(-1s * (var(--readonly-striped) - 1)) paused}@keyframes readonlyStyles{0%{background:linear-gradient(45deg,var(--tag-bg) 25%,transparent 25%,transparent 50%,var(--tag-bg) 50%,var(--tag-bg) 75%,transparent 75%,transparent) 0/5px 5px;box-shadow:none;filter:brightness(.95)}}.tagify__tag--editable>div{color:var(--tag-text-color--edit)}.tagify__tag--editable>div::before{box-shadow:0 0 0 2px var(--tag-hover) inset!important}.tagify__tag--editable>.tagify__tag__removeBtn{pointer-events:none}.tagify__tag--editable>.tagify__tag__removeBtn::after{opacity:0;transform:translateX(100%) translateX(5px)}.tagify__tag--editable.tagify--invalid>div::before{box-shadow:0 0 0 2px var(--tag-invalid-color) inset!important}.tagify__tag__removeBtn{order:5;display:inline-flex;align-items:center;justify-content:center;border-radius:50px;cursor:pointer;font:14px/1 Arial;background:var(--tag-remove-btn-bg);color:var(--tag-remove-btn-color);width:14px;height:14px;margin-right:4.6666666667px;margin-left:auto;overflow:hidden;transition:.2s ease-out}.tagify__tag__removeBtn::after{content:"×";transition:.3s,color 0s}.tagify__tag__removeBtn:hover{color:#fff;background:var(--tag-remove-btn-bg--hover)}.tagify__tag__removeBtn:hover+div>span{opacity:.5}.tagify__tag__removeBtn:hover+div::before{box-shadow:0 0 0 var(--tag-inset-shadow-size) var(--tag-remove-bg,rgba(211,148,148,.3)) inset!important;transition:box-shadow .2s}.tagify:not(.tagify--mix) .tagify__input br{display:none}.tagify:not(.tagify--mix) .tagify__input *{display:inline;white-space:nowrap}.tagify__input{flex-grow:1;display:inline-block;min-width:110px;margin:5px;padding:var(--tag-pad);line-height:normal;position:relative;white-space:pre-wrap;color:var(--input-color);box-sizing:inherit}.tagify__input:empty::before{position:static}.tagify__input:focus{outline:0}.tagify__input:focus::before{transition:.2s ease-out;opacity:0;transform:translatex(6px)}@supports (-ms-ime-align:auto){.tagify__input:focus::before{display:none}}.tagify__input:focus:empty::before{transition:.2s ease-out;opacity:1;transform:none;color:rgba(0,0,0,.25);color:var(--placeholder-color-focus)}@-moz-document url-prefix(){.tagify__input:focus:empty::after{display:none}}.tagify__input::before{content:attr(data-placeholder);height:1em;line-height:1em;margin:auto 0;z-index:1;color:var(--placeholder-color);white-space:nowrap;pointer-events:none;opacity:0;position:absolute}.tagify__input::after{content:attr(data-suggest);display:inline-block;vertical-align:middle;position:absolute;min-width:calc(100% - 1.5em);text-overflow:ellipsis;overflow:hidden;white-space:pre;color:var(--tag-text-color);opacity:.3;pointer-events:none;max-width:100px}.tagify__input .tagify__tag{margin:0 1px}.tagify--mix{display:block}.tagify--mix .tagify__input{padding:5px;margin:0;width:100%;height:100%;line-height:1.5;display:block}.tagify--mix .tagify__input::before{height:auto;display:none;line-height:inherit}.tagify--mix .tagify__input::after{content:none}.tagify--select::after{content:">";opacity:.5;position:absolute;top:50%;right:0;bottom:0;font:16px monospace;line-height:8px;height:8px;pointer-events:none;transform:translate(-150%,-50%) scaleX(1.2) rotate(90deg);transition:.2s ease-in-out}.tagify--select[aria-expanded=true]::after{transform:translate(-150%,-50%) rotate(270deg) scaleY(1.2)}.tagify--select .tagify__tag{position:absolute;top:0;right:1.8em;bottom:0}.tagify--select .tagify__tag div{display:none}.tagify--select .tagify__input{width:100%}.tagify--empty .tagify__input::before{transition:.2s ease-out;opacity:1;transform:none;display:inline-block;width:auto}.tagify--mix .tagify--empty .tagify__input::before{display:inline-block}.tagify--focus{--tags-border-color:var(--tags-focus-border-color);transition:0s}.tagify--invalid{--tags-border-color:#D39494}.tagify__dropdown{position:absolute;z-index:9999;transform:translateY(1px);overflow:hidden}.tagify__dropdown[placement=top]{margin-top:0;transform:translateY(-100%)}.tagify__dropdown[placement=top] .tagify__dropdown__wrapper{border-top-width:1.1px;border-bottom-width:0}.tagify__dropdown[position=text]{box-shadow:0 0 0 3px rgba(var(--tagify-dd-color-primary),.1);font-size:.9em}.tagify__dropdown[position=text] .tagify__dropdown__wrapper{border-width:1px}.tagify__dropdown__wrapper{max-height:300px;overflow:auto;overflow-x:hidden;background:var(--tagify-dd-bg-color);border:1px solid;border-color:var(--tagify-dd-color-primary);border-bottom-width:1.5px;border-top-width:0;box-shadow:0 2px 4px -2px rgba(0,0,0,.2);transition:.25s cubic-bezier(0,1,.5,1)}.tagify__dropdown__header:empty{display:none}.tagify__dropdown__footer{display:inline-block;margin-top:.5em;padding:var(--tagify-dd-item-pad);font-size:.7em;font-style:italic;opacity:.5}.tagify__dropdown__footer:empty{display:none}.tagify__dropdown--initial .tagify__dropdown__wrapper{max-height:20px;transform:translateY(-1em)}.tagify__dropdown--initial[placement=top] .tagify__dropdown__wrapper{transform:translateY(2em)}.tagify__dropdown__item{box-sizing:border-box;padding:var(--tagify-dd-item-pad);margin:1px;cursor:pointer;border-radius:2px;position:relative;outline:0;max-height:60px;max-width:100%}.tagify__dropdown__item--active{background:var(--tagify-dd-color-primary);color:#fff}.tagify__dropdown__item:active{filter:brightness(105%)}.tagify__dropdown__item--hidden{padding-top:0;padding-bottom:0;margin:0 1px;pointer-events:none;overflow:hidden;max-height:0;transition:var(--tagify-dd-item--hidden-duration,.3s)!important}.tagify__dropdown__item--hidden>*{transform:translateY(-100%);opacity:0;transition:inherit}
    button.clear-filter.svelte-1qocqxr {
        &:not(:hover) {
            background-color: var(--background);
        }
        line-height: 1.5em;
        position: absolute;
        right: var(--space-10);
        top: var(--space-1);
        width: auto;
    }

    fieldset.svelte-vooo17 {
        border: 1px solid #bbb;
        margin: var(--space-8) var(--space-2);
        border-radius: var(--space-5);
        padding: var(--space-6);
        position: relative;

        legend:where(.svelte-vooo17) {
            display: flex;
            height: 1.25em;
            line-height: 1.25em;
            font-size: 1.25em;

            button.expand-section:where(.svelte-vooo17) {
                align-items: center;
                border: unset;
                background: unset;
                display: flex;
                font-size: inherit;
                padding: 0 var(--space-2);
                width: fit-content;

                i:where(.svelte-vooo17) {
                    font-size: 0.8em;
                    margin-right: 0.25em;
                    margin-left: unset;
                }
            }
        }
    }

    .traits-select.svelte-x7grde {
        display: flex;
        margin-bottom: 0.25em;
    }

    /* :global {*/
        #compendium-browser {
            --sv-color: var(--color-dark-1);
            --sv-item-btn-color: var(--color-text-trait);
            --sv-item-btn-color-hover: var(--color-text-trait);
            --sv-control-bg: rgba(0, 0, 0, 0.1);
            --sv-icon-color: var(--color-dark-6);
            --sv-item-selected-bg: var(--color-bg-trait);
            --sv-item-btn-bg: var(--color-bg-trait);

            --sv-selection-multi-wrap-padding: 0.15em;
            --sv-selection-gap: 0.2em;

            .sv-input--text {
                width: auto;
                height: unset;
                line-height: unset;
                padding: 0 0.25em;
                background: none;
                border: none;
                border-radius: unset;
                outline: unset;
                color: var(--input-text-color);
                user-select: unset;
                font-size: unset;
                transition: unset;

                &:focus {
                    box-shadow: none;
                    outline: unset;
                }
            }

            .sv-control {
                cursor: text;

                .sv-buttons {
                    .sv-btn-separator {
                        display: none;
                    }
                    button[data-action="toggle"] {
                        display: none;
                    }
                }
            }

            .sv-item--container {
                border: solid var(--color-border-trait);
                border-width: 1px 3px;
            }

            .sv-item--wrap.in-selection {
                color: var(--color-text-trait);
                font: 500 var(--font-size-10) var(--sans-serif);
                text-transform: uppercase;
                line-height: 1.75em;

                .sv-item--content {
                    margin: 0 0.25em;
                }
            }

            .sv-item--btn {
                display: inline-flex;
                width: auto;
                border-width: 0;
                background-color: var(--sv-item-btn-bg);
                border-radius: unset;
                padding: 0 var(--space-1);

                &:hover {
                    background-color: #c77777;
                    i {
                        color: var(--sv-item-btn-color-hover);
                    }
                }
            }
        }

        .theme-dark #compendium-browser {
            --sv-color: var(--color-light-3);
            --sv-control-bg: var(--color-cool-4);
            --sv-icon-color: var(--color-light-3);
            --sv-dropdown-bg: var(--color-dark-2);
            --sv-dropdown-active-bg: #553d3d;
        }
    /*}*/

    .sv-item--content {
        &.not {
            text-decoration: line-through;
        }
    }

    .sv-item--btn.svelte-j26yci {
        min-width: 11px;

        i:where(.svelte-j26yci) {
            margin-right: unset;
            color: var(--color-text-trait);
        }
    }

    .filter-conjunction.svelte-j26yci {
        display: flex;

        input[type="radio"]:where(.svelte-j26yci) {
            margin: 0 5px 0 3px;
        }
    }

    .levels-container.svelte-h8v224 {
        display: flex;
        flex-direction: column;

        .inputs:where(.svelte-h8v224) {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 0.5em;

            select:where(.svelte-h8v224) {
                width: 45%;
            }
        }
    }

    .ranges-container.svelte-116yynl {
        display: flex;
        flex-direction: column;

        .inputs:where(.svelte-116yynl) {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 0.5em;

            input:where(.svelte-116yynl) {
                width: 45%;
            }
        }
    }

    .checkbox-container.svelte-1g4m44 {
        display: flex;
        flex-direction: column;

        label:where(.svelte-1g4m44) {
            display: flex;
            align-items: center;
        }

        .filter-sources:where(.svelte-1g4m44) {
            margin: 0.3em 0.15em 0.15em 0.25em;
            height: 1.75em;
            width: 98%;
        }
    }

    .control-area.svelte-1ozgv6k {
        overflow-y: auto;
        padding-right: var(--space-4);
        scrollbar-gutter: stable;
    }

    .headercontainer.svelte-1ozgv6k {
        border: 1px solid #bbb;
        border-radius: 5px;
        margin-top: 5px;
        padding: var(--space-6);
        position: relative;

        .order-by-select:where(.svelte-1ozgv6k) {
            margin-top: 0.6em;

            label:where(.svelte-1ozgv6k) {
                display: flex;
                align-items: center;
                justify-content: space-between;
                margin: 0 0 0.6em 1em;
            }
        }

        .select-container:where(.svelte-1ozgv6k) {
            margin-right: 1em;

            select:where(.svelte-1ozgv6k) {
                width: fit-content;
                height: 2em;
            }

            .order-button:where(.svelte-1ozgv6k) {
                display: inline-flex;
                border: unset;
                background: unset;
                width: 2em;
                height: 2em;

                &:hover {
                    background: var(--button-hover-background-color);
                }

                i:where(.svelte-1ozgv6k) {
                    margin-right: unset;
                }
            }
        }
    }

    li.svelte-vd0iej {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        font-family: var(--font-primary);
        font-size: var(--font-size-14);

        &:nth-child(odd) {
            background-color: var(--color-result-list-odd);
        }

        align-items: center;
        gap: 0.25rem;
        padding: 0.125rem 0.25rem;

        > :where(.svelte-vd0iej) {
            flex: 1;
            align-items: center;
            display: flex;
            min-height: 2rem;
            justify-content: center;
        }

        img:where(.svelte-vd0iej) {
            box-sizing: border-box;
            border: 1px solid var(--color-border-dark);
            border-radius: 2px;
            max-width: 100%;
        }

        .image:where(.svelte-vd0iej) {
            max-width: 2rem;
        }

        .name:where(.svelte-vd0iej) {
            gap: 0.25em;
            flex-basis: 6ch;
            justify-content: start;

            button.result-link:where(.svelte-vd0iej) {
                height: fit-content;
                min-height: 1.5em;

                &:hover {
                    color: var(--button-text-color);
                }

                &:focus {
                    outline: unset;
                    box-shadow: unset;
                }
            }
        }

        .tags:where(.svelte-vd0iej) {
            padding: 0.25em 0.05em;
            margin-bottom: 0;
        }

        .level:where(.svelte-vd0iej) {
            flex-grow: 1;
            font-weight: 900;
            max-width: 1.5em;
        }

        .price:where(.svelte-vd0iej) {
            flex: none;
            justify-content: end;
            margin-right: var(--font-size-10);
            min-width: 5em;
        }

        .end:where(.svelte-vd0iej) {
            margin-right: 0.5em;
        }

        button.equipment-action:where(.svelte-vd0iej) {
            display: flex;
            align-items: center;
            justify-content: center;
            flex: unset;
            width: 1.5em;

            i:where(.svelte-vd0iej) {
                margin-right: unset;
            }

            &:hover {
                color: var(--button-text-color);
                box-shadow: unset;
            }

            &:focus {
                outline: unset;
                box-shadow: unset;
            }
        }

        &:hover {
            background-color: rgba(255, 255, 255, 0.25);
            cursor: grab;
        }
    }

    .browser-tab.svelte-1saaqbz {
        display: grid;
        grid-template-columns: 19em auto;
        min-height: 9em;
        height: 100%;

        ul.result-list:where(.svelte-1saaqbz) {
            display: flex;
            flex-direction: column;
            height: 100%;
            margin: 5px 0 0 0;
            padding: 0;
            width: 100%;
            overflow: visible scroll;
        }
    }

    /* :global {*/
        .compendium-browser {
            --color-result-list-odd: rgba(0, 0, 0, 0.12);
            --input-text-color: var(--color-dark-2);

            .window-content {
                padding: 0.5em;
            }
        }

        .theme-dark .compendium-browser {
            --secondary: var(--color-cool-5);
            --color-result-list-odd: var(--color-dark-2);
            --color-select-option-bg: var(--color-cool-5);
            --input-text-color: var(--color-light-3);
        }
    /*}*/

    nav.svelte-1tkdcll {
        flex: 0;
        width: 100%;
        border-style: solid;
        border-width: 9px;
        border-image: url("../assets/sheet/corner-box.webp") 9 repeat;
        background:
            url("../assets/sheet/border-pattern.webp") repeat-x top,
            url("../assets/sheet/border-pattern.webp") repeat-x bottom,
            var(--secondary);

        button:where(.svelte-1tkdcll) {
            border: none;
            color: var(--sidebar-label);
            background: var(--secondary);
            line-height: unset;
            font-family: var(--sans-serif);
            font-size: var(--font-size-12);
            position: relative;
            cursor: pointer;
            max-width: fit-content;
            padding: 0.2em 1.5em 0.2em 1.5em;

            &.active {
                outline: unset;
                box-shadow: unset;

                &::after {
                    bottom: -0.25em;
                    position: absolute;
                    content: "";
                    width: 0;
                    height: 0;
                    border-left: 0.25em solid transparent;
                    border-right: 0.25em solid transparent;
                    border-top: 0.25em solid var(--sidebar-label);
                }
            }

            &:focus {
                outline: unset;
                box-shadow: unset;
            }

            &:hover {
                background: unset;
                box-shadow: unset;
            }
        }
    }

    .landing-page.svelte-1tkdcll {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 2em;
        grid-column: span 2;
    }

:root {
  /** Font-size variables not defined by Foundry */
  --font-size-8: 0.5rem;
  --font-size-9: 0.5625rem;
  --font-size-10: 0.625rem;
  --font-size-15: 0.9375rem;
  --font-size-17: 1.0625rem;
  --font-size-19: 1.1875rem;
  --font-size-21: 1.3125rem;
  --font-size-22: 1.375rem;
  --font-size-25: 1.5625rem;
  --font-size-26: 1.625rem;
  --font-size-27: 1.6875rem;
  --font-size-30: 1.875rem;
  --font-size-34: 2.125rem;
  --font-size-36: 2.25rem;
  --font-size-42: 2.625rem;
  /** Font families */
  --body-serif: Gelasio, Georgia, serif;
  --sans-serif: Roboto, sans-serif;
  --sans-serif-condensed: "Roboto Condensed", var(--sans-serif);
  --sans-serif-monospace: "Roboto Mono", monospace;
  --serif: Eczar, Georgia, serif;
  --serif-condensed: "Modesto Condensed", serif;
  --journal-cursive: "La Belle Aurore", cursive;
  --journal-serif: "Vollkorn", var(--serif);
  --fa6: "Font Awesome 6 Pro", sans-serif;
  --fad6: "Font Awesome 6 Duotone", sans-serif;
}
@font-face {
  font-family: "Pathfinder2eActions";
  src: url("../fonts/pathfinder-2e-actions.woff2") format("woff2");
}

/* ----------------------------------------- */
/* Color definitions                         */
/* ----------------------------------------- */
/* Colors */
/* Global */
/* used for mini headers, alternate primary color */
/* compliments the primary color, usually used in combination */
/* for all other uses */
/* Text */
/* ----------------------------------------- */
/* Color schemes                             */
/* ----------------------------------------- */
/* Degrees of success */
/* ----------------------------------------- */
/* CSS Custom Properties                     */
/* ----------------------------------------- */
:root {
  /* Global */
  --color-pf-primary: #5e0000;
  --color-pf-primary-dark: rgb(68.5, 0, 0);
  --color-pf-primary-darker: #2b0000;
  --color-pf-primary-light: rgb(119.5, 0, 0);
  --color-pf-primary-lighter: #910000;
  --color-pf-alternate: #786452;
  --color-pf-alternate-dark: #443730;
  --color-pf-alternate-darker: rgb(38.1034482759, 30.8189655172, 26.8965517241);
  --color-pf-alternate-light: rgb(150.297029703, 125.2475247525, 102.702970297);
  --color-pf-secondary: #171f69;
  --color-pf-secondary-dark: rgb(13.8359375, 18.6484375, 63.1640625);
  --color-pf-secondary-light: rgb(32.1640625, 43.3515625, 146.8359375);
  --color-pf-secondary-lighter: rgb(41.328125, 55.703125, 188.671875);
  --color-pf-tertiary: #e9d7a1;
  --color-pf-tertiary-dark: rgb(223.3275862069, 197.4137931034, 119.6724137931);
  --color-pf-tertiary-darker: rgb(213.6551724138, 179.8275862069, 78.3448275862);
  --color-pf-tertiary-darkest: rgb(108.5051724138, 87.7275862069, 25.3948275862);
  --color-pf-tertiary-light: rgb(242.6724137931, 232.5862068966, 202.3275862069);
  --primary: var(--color-pf-primary);
  --secondary: var(--color-pf-secondary);
  --tertiary: var(--color-pf-tertiary);
  --alt: var(--color-pf-alternate);
  --alt-dark: var(--color-pf-alternate-dark);
  --bg: #f8f4f1;
  --bg-dark: rgb(231, 217.2857142857, 207);
  --sub: #605856;
  --color-disabled: var(--color-text-dark-4);
  --inline-link-bg: #ddd;
  --inline-repost-bg: rgb(233.75, 233.75, 233.75);
  --visibility-gm-bg: #e8e8ef;
  --visibility-owner-bg: #ddebe1;
  --blind-roll: #f5eaf5;
  /* Lighter / Darker */
  --primary-dark: var(--color-pf-primary-dark);
  --primary-darker: var(--color-pf-primary-darker);
  --tertiary-dark: var(--color-pf-tertiary-dark);
  --tertiary-light: var(--color-pf-tertiary-light);
  /* Text */
  --text-dark: var(--color-text-dark-primary);
  --text-light: #f5efe0;
  --text-light-disabled: #a6a092;
  --color-text-dark-input: #333;
  --color-text-dark-improved: #006644;
  /* Borders */
  --color-border-divider: #baa991;
  --color-border-dark-input: #d3ccbc;
  --color-border-medium: gray;
  /* Headers w/ boxes */
  --header-color: var(--text-light);
  --header-bg: var(--secondary);
  /* Sidebar */
  --sidebar-label: var(--tertiary-dark);
  --sidebar-title: var(--tertiary);
  /** Traits */
  --color-bg-size: #3a7b59;
  --color-bg-trait: #5e0000;
  --color-border-trait: #d8c384;
  --color-text-trait: white;
  /* Rarity */
  --color-rarity-common: #323232;
  --color-rarity-uncommon: #98513d;
  --color-rarity-rare: #002664;
  --color-rarity-unique: #54166e;
  /** Proficiency ranks */
  --color-proficiency-untrained: #424242;
  --color-proficiency-trained: #171f69;
  --color-proficiency-expert: #3c005e;
  --color-proficiency-master: #664400;
  --color-proficiency-legendary: #5e0000;
  /* Value adjustments (e.g. weak/elite) */
  --color-pf-text-adjusted-higher: #009988;
  --color-pf-text-adjusted-lower: #cc3311;
  /* Damage colors */
}
:root .damage {
  --color-bg-acid: rgba(0, 115, 0, 0.125);
  --color-bg-bleed: rgba(153, 0, 26, 0.125);
  --color-bg-chaotic: rgba(166, 0, 166, 0.125);
  --color-bg-cold: rgba(47, 47, 166, 0.125);
  --color-bg-electricity: rgba(184, 134, 11, 0.125);
  --color-bg-evil: rgba(75, 0, 130, 0.125);
  --color-bg-fire: rgba(166, 47, 0, 0.125);
  --color-bg-force: rgba(99, 0, 170, 0.125);
  --color-bg-good: rgba(157, 115, 10, 0.125);
  --color-bg-lawful: rgba(64, 38, 0, 0.125);
  --color-bg-mental: rgba(25, 25, 112, 0.125);
  --color-bg-physical: rgba(60, 60, 60, 0.125);
  --color-bg-poison: rgba(91, 115, 50, 0.125);
  --color-bg-sonic: rgba(0, 139, 139, 0.125);
  --color-bg-spirit: rgba(90, 85, 133, 0.125);
  --color-bg-vitality: rgba(255, 255, 224, 0.125);
  --color-bg-void: rgba(0, 0, 31, 0.125);
  --color-border-acid: #007300;
  --color-border-bleed: #99001a;
  --color-border-chaotic: #a600a6;
  --color-border-cold: #2f2fa6;
  --color-border-electricity: darkgoldenrod;
  --color-border-evil: indigo;
  --color-border-fire: #a62f00;
  --color-border-force: #6300aa;
  --color-border-good: #9d730a;
  --color-border-lawful: #402600;
  --color-border-mental: midnightblue;
  --color-border-physical: #3c3c3c;
  --color-border-poison: #5b7332;
  --color-border-sonic: darkcyan;
  --color-border-spirit: #5a5585;
  --color-border-vitality: #ffffe0;
  --color-border-void: #00001f;
  --color-text-acid: rgb(0, 51.25, 0);
  --color-text-bleed: rgb(89.25, 0, 15.1666666667);
  --color-text-chaotic: rgb(102.25, 0, 102.25);
  --color-text-cold: rgb(32.9330985915, 32.9330985915, 116.3169014085);
  --color-text-electricity: rgb(123.8461538462, 90.1923076923, 7.4038461538);
  --color-text-evil: rgb(38.2211538462, 0, 66.25);
  --color-text-fire: rgb(102.25, 28.9503012048, 0);
  --color-text-force: rgb(61.875, 0, 106.25);
  --color-text-good: rgb(97.0673652695, 71.1002994012, 6.1826347305);
  --color-text-lawful: rgb(0.25, 0.1484375, 0);
  --color-text-mental: rgb(13.3667883212, 13.3667883212, 59.8832116788);
  --color-text-physical: rgb(28.125, 28.125, 28.125);
  --color-text-poison: rgb(55.8409090909, 70.5681818182, 30.6818181818);
  --color-text-sonic: rgb(0, 75.25, 75.25);
  --color-text-spirit: rgb(63.6811926606, 60.1433486239, 94.1066513761);
  --color-text-vitality: rgb(255, 255, 160.25);
  --color-text-void: hsl(240, 100%, -6.4215686275%);
}
:root .damage.color.acid {
  background-color: var(--color-bg-acid);
  border-color: var(--color-border-acid);
  color: var(--color-text-acid);
}
:root .damage.color.acid i[class^=fa-] {
  color: var(--color-border-acid);
}
:root .damage.color.bleed {
  background-color: var(--color-bg-bleed);
  border-color: var(--color-border-bleed);
  color: var(--color-text-bleed);
}
:root .damage.color.bleed i[class^=fa-] {
  color: var(--color-border-bleed);
}
:root .damage.color.bludgeoning, :root .damage.color.piercing, :root .damage.color.slashing {
  background-color: var(--color-bg-physical);
  border-color: var(--color-border-physical);
  color: var(--color-text-physical);
}
:root .damage.color.bludgeoning i[class^=fa-], :root .damage.color.piercing i[class^=fa-], :root .damage.color.slashing i[class^=fa-] {
  color: var(--color-border-physical);
}
:root .damage.color.chaotic {
  background-color: var(--color-bg-chaotic);
  border-color: var(--color-border-chaotic);
  color: var(--color-text-chaotic);
}
:root .damage.color.chaotic i[class^=fa-] {
  color: var(--color-border-chaotic);
}
:root .damage.color.cold {
  background-color: var(--color-bg-cold);
  border-color: var(--color-border-cold);
  color: var(--color-text-cold);
}
:root .damage.color.cold i[class^=fa-] {
  color: var(--color-border-cold);
}
:root .damage.color.electricity {
  background-color: var(--color-bg-electricity);
  border-color: var(--color-border-electricity);
  color: var(--color-text-electricity);
}
:root .damage.color.electricity i[class^=fa-] {
  color: var(--color-border-electricity);
}
:root .damage.color.evil {
  background-color: var(--color-bg-evil);
  border-color: var(--color-border-evil);
  color: var(--color-text-evil);
}
:root .damage.color.evil i[class^=fa-] {
  color: var(--color-border-evil);
}
:root .damage.color.fire {
  background-color: var(--color-bg-fire);
  border-color: var(--color-border-fire);
  color: var(--color-text-fire);
}
:root .damage.color.fire i[class^=fa-] {
  color: var(--color-border-fire);
}
:root .damage.color.force {
  background-color: var(--color-bg-force);
  border-color: var(--color-border-force);
  color: var(--color-text-force);
}
:root .damage.color.force i[class^=fa-] {
  color: var(--color-border-force);
}
:root .damage.color.good {
  background-color: var(--color-bg-good);
  border-color: var(--color-border-good);
  color: var(--color-text-good);
}
:root .damage.color.good i[class^=fa-] {
  color: var(--color-border-good);
}
:root .damage.color.lawful {
  background-color: var(--color-bg-lawful);
  border-color: var(--color-border-lawful);
  color: var(--color-text-lawful);
}
:root .damage.color.lawful i[class^=fa-] {
  color: var(--color-border-lawful);
}
:root .damage.color.mental {
  background-color: var(--color-bg-mental);
  border-color: var(--color-border-mental);
  color: var(--color-text-mental);
}
:root .damage.color.mental i[class^=fa-] {
  color: var(--color-border-mental);
}
:root .damage.color.poison {
  background-color: var(--color-bg-poison);
  border-color: var(--color-border-poison);
  color: var(--color-text-poison);
}
:root .damage.color.poison i[class^=fa-] {
  color: var(--color-border-poison);
}
:root .damage.color.sonic {
  border-color: var(--color-border-sonic);
  background-color: var(--color-bg-sonic);
  color: var(--color-text-sonic);
}
:root .damage.color.sonic i[class^=fa-] {
  color: var(--color-border-sonic);
}
:root .damage.color.spirit {
  border-color: var(--color-border-spirit);
  background-color: var(--color-bg-spirit);
  color: var(--color-text-spirit);
}
:root .damage.color.spirit i[class^=fa-] {
  color: var(--color-border-spirit);
}
:root .damage.color.vitality {
  background-color: var(--color-bg-physical);
  border-color: var(--color-border-vitality);
  color: var(--color-text-vitality);
  text-shadow: 1px 1px var(--color-text-dark-1);
}
:root .damage.color.vitality i[class^=fa-] {
  color: var(--color-border-vitality);
}
:root .damage.color.void {
  background-color: var(--color-bg-void);
  border-color: var(--color-border-void);
  color: var(--color-text-void);
}
:root .damage.color.void i[class^=fa-] {
  color: var(--color-border-void);
}

.theme-dark .application {
  --visibility-gm-bg: var(--color-cool-4);
}

/**
* Color properties backported from V13.
* @todo remove in V13
*/
.application {
  --color-text-secondary: var(--color-dark-3);
  --color-text-subtle: var(--color-dark-4);
  --table-row-color-even: rgba(0, 0, 0, 0.1);
  --table-row-color-odd: transparent;
}
.theme-dark .application {
  --color-text-secondary: var(--color-light-3);
  --color-text-subtle: var(--color-light-5);
  --table-row-color-even: rgba(255, 255, 255, 0.1);
}

/**
*  Legacy is for the old css unrelated
*  to the current design (crb-style).
*  Only use the legacy folder if you need
*  to make changes to the old css.
*
*  If you're adding a new feature, put it
*  in the appropriate folder in src/styles.
*  Just make sure to update the relevant
*  _index.scss so that it will get compiled.
*
*/
/* ----------------------------------------- */
/* Item Card Structure                       */
/* ----------------------------------------- */
.pf2e.chat-card {
  display: flex;
  flex-direction: column;
  font-family: var(--sans-serif);
  gap: var(--space-3);
}
.pf2e.chat-card h2,
.pf2e.chat-card h3,
.pf2e.chat-card h4 {
  font-weight: 600;
}
.pf2e.chat-card .card-header {
  padding: var(--space-2) 0;
  border-top: var(--space-2) groove var(--color-text-light-0);
  align-items: center;
  min-height: 2.125rem;
}
.pf2e.chat-card .card-header img {
  flex: 0 0 1.75rem;
  margin-right: var(--space-4);
  height: 1.75rem;
  width: 1.75rem;
}
.pf2e.chat-card .card-header h3 {
  border-bottom: none;
  flex: 1;
  margin: 0;
  font-size: var(--font-size-16);
}
.pf2e.chat-card .card-header h4 {
  flex: 0;
  margin: 0 0.5em 0 0;
  white-space: nowrap;
}
.pf2e.chat-card .card-header h4.level, .pf2e.chat-card .card-header h4.rank {
  margin-left: auto;
}
.pf2e.chat-card .tags {
  border-bottom: var(--space-2) groove var(--color-text-light-0);
  margin: 0;
  padding: 0 0 var(--space-4) 0;
}
.pf2e.chat-card .card-content {
  margin: 0;
}
.pf2e.chat-card .card-content p {
  margin: var(--space-4) 0;
  min-height: unset;
}
.pf2e.chat-card .card-content p.item-block-line {
  --wrap-indent: var(--space-14);
  line-height: 1.25rem;
  margin: 0;
  padding: 0 0 0 var(--wrap-indent);
  text-indent: calc(-1 * var(--wrap-indent));
}
.pf2e.chat-card .card-content p.item-block-line .adjusted {
  text-decoration: underline dotted 1px black;
}
.pf2e.chat-card .card-content p.item-block-line:first-child {
  margin-top: var(--space-1);
}
.pf2e.chat-card .card-content hr.item-block-divider {
  margin-top: var(--space-3);
}
.pf2e.chat-card .card-buttons {
  display: flex;
  flex-basis: 100%;
  flex-direction: column;
  margin: var(--space-4) 0;
}
.pf2e.chat-card .card-buttons button {
  margin: var(--space-2) 0;
}
.pf2e.chat-card .card-buttons button span {
  border: none;
}
.pf2e.chat-card .card-buttons .owner-buttons {
  display: flex;
  flex-basis: 100%;
  flex-direction: column;
}
.pf2e.chat-card .card-buttons .spell-attack-buttons,
.pf2e.chat-card .card-buttons .spell-button {
  display: flex;
  flex-direction: row;
}
.pf2e.chat-card .card-buttons .spell-attack-buttons *,
.pf2e.chat-card .card-buttons .spell-button * {
  flex-grow: 1;
  flex-basis: 0;
}
.pf2e.chat-card .card-buttons .spell-attack-buttons :first-child,
.pf2e.chat-card .card-buttons .spell-button :first-child {
  flex-grow: 2;
}
.pf2e.chat-card .card-buttons .spell-button button.small {
  flex-grow: 0;
}
.pf2e.chat-card .card-buttons .spell-button button.small > i {
  margin-right: 0;
}
.pf2e.chat-card .card-buttons .hidden-to-others {
  background: var(--visibility-gm-bg);
}
.pf2e.chat-card footer {
  padding: var(--space-3) 0 0;
  border-top: var(--space-2) groove var(--color-text-light-0);
}
.pf2e.chat-card footer span {
  border-right: var(--space-2) groove var(--color-text-light-0);
  padding: 0 var(--space-4) 0 0;
  font-size: var(--font-size-12);
}
.pf2e.chat-card footer span:last-child {
  border-right: none;
  padding-right: 0;
}
.pf2e.chat-card .card-buttons-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: var(--space-4);
}

:root {
  --primary-background: #454a7c;
  --secondary-background: gray;
  --tertiary-background: #454a7c;
  --alternate-background: darkgray;
}

/* ---------------------------------------- */
/* Actor Sheet                              */
/* ---------------------------------------- */
.pf2e.actor form {
  font-size: var(--font-size-13);
  height: 100%;
  padding: var(--space-4);
}
.pf2e.actor form .sheet-header {
  border-bottom: 1px solid var(--primary-background);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  flex: 0 0 100%;
  height: 3rem;
  justify-content: flex-start;
}
.pf2e.actor form .sheet-header > * {
  flex: 1;
}
.pf2e.actor form .sheet-header h1 {
  margin: 0;
  border: none;
}
.pf2e.actor form .sheet-header h1 > input {
  font-family: var(--serif-condensed);
  font-weight: 700;
  height: 2.5rem;
  width: 100%;
  margin: var(--space-2);
  font-size: var(--font-size-36);
  border: none;
}
.pf2e.actor form .sheet-sidebar {
  height: calc(100% - 48px);
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  overflow: hidden auto;
  border-right: 1px solid var(--primary-background);
}
.pf2e.actor form .sheet-sidebar .tab {
  height: 100%;
  padding-top: var(--space-2);
  overflow-y: auto;
}
.pf2e.actor form .sheet-sidebar > * {
  flex: 1;
}
.pf2e.actor form .sheet-sidebar .sidebar-summary {
  overflow-y: hidden;
}
.pf2e.actor form .sheet-body {
  display: flex;
  flex-flow: column nowrap;
  height: calc(100% - 35px);
  overflow: hidden;
}
.pf2e.actor form input[type=text], .pf2e.actor form input[type=number] {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid transparent;
  color: var(--color-text-dark-input);
  height: calc(100% - 2px);
  margin: var(--space-1) 0;
  padding: 0;
  width: calc(100% - 2px);
}
.pf2e.actor form input[type=text]:hover:not(:disabled), .pf2e.actor form input[type=text]:focus, .pf2e.actor form input[type=number]:hover:not(:disabled), .pf2e.actor form input[type=number]:focus {
  border: 1px solid black;
  box-shadow: 0 0 10px #00005a;
}
.pf2e.actor form label {
  display: block;
}
.pf2e.actor form .mce-panel span {
  display: inherit;
}
.pf2e.actor form .sheet-tabs {
  font-weight: 500;
  height: 1.875rem;
}
.pf2e.actor form .sheet-tabs > .list-row {
  font-size: var(--font-size-12);
  line-height: 2rem;
  padding-top: var(--space-3);
  text-align: center;
}
.pf2e.actor form .sheet-tabs > .list-row:last-of-type {
  padding-right: var(--space-4);
}
.pf2e.actor form .sheet-tabs > .list-row.active {
  color: var(--text-dark);
  font-weight: 700;
}
.pf2e.actor form .tag-legacy {
  border: 1px solid var(--color-border-light-2);
  border-radius: 3px;
  float: left;
  font-size: var(--font-size-11);
  font-weight: 500;
  line-height: var(--font-size-17);
  margin: 0 var(--space-2) var(--space-2) 0;
  padding: 0 0.3em;
  white-space: normal;
}
.pf2e.actor form .traits label {
  font-weight: bold;
}
.pf2e.actor form .traits select {
  margin: var(--space-2) 0;
}
.pf2e.actor form .inventory-header {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pf2e.actor form .action-header .item-controls {
  flex: 0 0 2.75rem;
}
.pf2e.actor form .action-header .item-controls a {
  display: block;
  float: left;
  font-size: var(--font-size-14);
  text-align: center;
  width: 2.75rem;
}
.pf2e.actor form .list-row.action-header .item-controls a {
  color: var(--color-text-dark-5);
  display: block;
  float: left;
  font-size: var(--font-size-10);
  text-align: center;
  width: 1.375rem;
}

.dice-total-shield-btn.shield-activated {
  background-color: var(--color-border-dark-3);
  color: var(--text-light);
}

/* This is the core CSS of Tooltipster */
/* GENERAL STRUCTURE RULES (do not edit this section) */
.tooltipster-base {
  /* this ensures that a constrained height set by functionPosition,
  if greater that the natural height of the tooltip, will be enforced
  in browsers that support display:flex */
  display: flex;
  pointer-events: none;
  /* this may be overriden in JS for fixed position origins */
  position: absolute;
}

.tooltipster-box {
  /* see .tooltipster-base. flex-shrink 1 is only necessary for IE10-
  and flex-basis auto for IE11- (at least) */
  flex: 1 1 auto;
}

.tooltipster-content {
  /* prevents an overflow if the user adds padding to the div */
  box-sizing: border-box;
  /* these make sure we'll be able to detect any overflow */
  max-height: 100%;
  max-width: 100%;
  overflow: auto;
}

.tooltipster-ruler {
  /* these let us test the size of the tooltip without overflowing the window */
  bottom: 0;
  left: 0;
  overflow: hidden;
  position: fixed;
  right: 0;
  top: 0;
  visibility: hidden;
}

/* ANIMATIONS */
/* Open/close animations */
/* fade */
.tooltipster-fade {
  opacity: 0;
  -webkit-transition-property: opacity;
  -moz-transition-property: opacity;
  -o-transition-property: opacity;
  -ms-transition-property: opacity;
  transition-property: opacity;
}

.tooltipster-fade.tooltipster-show {
  opacity: 1;
}

/* grow */
.tooltipster-grow {
  -webkit-transform: scale(0, 0);
  -moz-transform: scale(0, 0);
  -o-transform: scale(0, 0);
  -ms-transform: scale(0, 0);
  transform: scale(0, 0);
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  -o-transition-property: -o-transform;
  -ms-transition-property: -ms-transform;
  transition-property: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.tooltipster-grow.tooltipster-show {
  -webkit-transform: scale(1, 1);
  -moz-transform: scale(1, 1);
  -o-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  transform: scale(1, 1);
  -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15);
  -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15);
  -ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15);
  -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15);
  transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

/* swing */
.tooltipster-swing {
  opacity: 0;
  -webkit-transform: rotateZ(4deg);
  -moz-transform: rotateZ(4deg);
  -o-transform: rotateZ(4deg);
  -ms-transform: rotateZ(4deg);
  transform: rotateZ(4deg);
  -webkit-transition-property: -webkit-transform, opacity;
  -moz-transition-property: -moz-transform;
  -o-transition-property: -o-transform;
  -ms-transition-property: -ms-transform;
  transition-property: transform;
}

.tooltipster-swing.tooltipster-show {
  opacity: 1;
  -webkit-transform: rotateZ(0deg);
  -moz-transform: rotateZ(0deg);
  -o-transform: rotateZ(0deg);
  -ms-transform: rotateZ(0deg);
  transform: rotateZ(0deg);
  -webkit-transition-timing-function: cubic-bezier(0.23, 0.635, 0.495, 1);
  -webkit-transition-timing-function: cubic-bezier(0.23, 0.635, 0.495, 2.4);
  -moz-transition-timing-function: cubic-bezier(0.23, 0.635, 0.495, 2.4);
  -ms-transition-timing-function: cubic-bezier(0.23, 0.635, 0.495, 2.4);
  -o-transition-timing-function: cubic-bezier(0.23, 0.635, 0.495, 2.4);
  transition-timing-function: cubic-bezier(0.23, 0.635, 0.495, 2.4);
}

/* fall */
.tooltipster-fall {
  -webkit-transition-property: top;
  -moz-transition-property: top;
  -o-transition-property: top;
  -ms-transition-property: top;
  transition-property: top;
  -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15);
  -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15);
  -ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15);
  -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15);
  transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.tooltipster-fall.tooltipster-initial {
  top: 0 !important;
}

.tooltipster-fall.tooltipster-dying {
  -webkit-transition-property: all;
  -moz-transition-property: all;
  -o-transition-property: all;
  -ms-transition-property: all;
  transition-property: all;
  top: 0 !important;
  opacity: 0;
}

/* slide */
.tooltipster-slide {
  -webkit-transition-property: left;
  -moz-transition-property: left;
  -o-transition-property: left;
  -ms-transition-property: left;
  transition-property: left;
  -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15);
  -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15);
  -ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15);
  -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15);
  transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.tooltipster-slide.tooltipster-initial {
  left: -40px !important;
}

.tooltipster-slide.tooltipster-dying {
  -webkit-transition-property: all;
  -moz-transition-property: all;
  -o-transition-property: all;
  -ms-transition-property: all;
  transition-property: all;
  left: 0 !important;
  opacity: 0;
}

/* Update animations */
/* We use animations rather than transitions here because
 transition durations may be specified in the style tag due to
 animationDuration, and we try to avoid collisions and the use
 of !important */
/* fade */
@keyframes tooltipster-fading {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.tooltipster-update-fade {
  animation: tooltipster-fading 400ms;
}

/* rotate */
@keyframes tooltipster-rotating {
  25% {
    transform: rotate(-2deg);
  }
  75% {
    transform: rotate(2deg);
  }
  100% {
    transform: rotate(0);
  }
}
.tooltipster-update-rotate {
  animation: tooltipster-rotating 600ms;
}

/* scale */
@keyframes tooltipster-scaling {
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.tooltipster-update-scale {
  animation: tooltipster-scaling 600ms;
}

/**
 * DEFAULT STYLE OF THE SIDETIP PLUGIN
 *
 * All styles are "namespaced" with .tooltipster-sidetip to prevent
 * conflicts between plugins.
 */
/* .tooltipster-box */
.tooltipster-sidetip .tooltipster-box {
  background: #565656;
  border: 2px solid black;
  border-radius: 4px;
}

.tooltipster-sidetip.tooltipster-bottom .tooltipster-box {
  margin-top: 8px;
}

.tooltipster-sidetip.tooltipster-left .tooltipster-box {
  margin-right: 8px;
}

.tooltipster-sidetip.tooltipster-right .tooltipster-box {
  margin-left: 8px;
}

.tooltipster-sidetip.tooltipster-top .tooltipster-box {
  margin-bottom: 8px;
}

/* .tooltipster-content */
.tooltipster-sidetip .tooltipster-content {
  color: var(--text-light);
  line-height: 18px;
  padding: 6px 14px;
}

/* .tooltipster-arrow : will keep only the zone of .tooltipster-arrow-uncropped that
corresponds to the arrow we want to display */
.tooltipster-sidetip .tooltipster-arrow {
  overflow: hidden;
  position: absolute;
}

.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow {
  height: 10px;
  /* half the width, for centering */
  margin-left: -10px;
  top: 0;
  width: 20px;
}

.tooltipster-sidetip.tooltipster-left .tooltipster-arrow {
  height: 20px;
  margin-top: -10px;
  right: 0;
  /* top 0 to keep the arrow from overflowing .tooltipster-base when it has not
  been positioned yet */
  top: 0;
  width: 10px;
}

.tooltipster-sidetip.tooltipster-right .tooltipster-arrow {
  height: 20px;
  margin-top: -10px;
  left: 0;
  /* same as .tooltipster-left .tooltipster-arrow */
  top: 0;
  width: 10px;
}

.tooltipster-sidetip.tooltipster-top .tooltipster-arrow {
  bottom: 0;
  height: 10px;
  margin-left: -10px;
  width: 20px;
}

/* common rules between .tooltipster-arrow-background and .tooltipster-arrow-border */
.tooltipster-sidetip .tooltipster-arrow-background,
.tooltipster-sidetip .tooltipster-arrow-border {
  height: 0;
  position: absolute;
  width: 0;
}

/* .tooltipster-arrow-background */
.tooltipster-sidetip .tooltipster-arrow-background {
  border: 10px solid transparent;
}

.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-background {
  border-bottom-color: #565656;
  left: 0;
  top: 3px;
}

.tooltipster-sidetip.tooltipster-left .tooltipster-arrow-background {
  border-left-color: #565656;
  left: -3px;
  top: 0;
}

.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-background {
  border-right-color: #565656;
  left: 3px;
  top: 0;
}

.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-background {
  border-top-color: #565656;
  left: 0;
  top: -3px;
}

/* .tooltipster-arrow-border */
.tooltipster-sidetip .tooltipster-arrow-border {
  border: 10px solid transparent;
  left: 0;
  top: 0;
}

.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-border {
  border-bottom-color: black;
}

.tooltipster-sidetip.tooltipster-left .tooltipster-arrow-border {
  border-left-color: black;
}

.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-border {
  border-right-color: black;
}

.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-border {
  border-top-color: black;
}

/* tooltipster-arrow-uncropped */
.tooltipster-sidetip .tooltipster-arrow-uncropped {
  position: relative;
}

.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-uncropped {
  top: -10px;
}

.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-uncropped {
  left: -10px;
}

/* ----------------------------------------- */
/* Sub-font-size spacing                     */
/* (margin, padding, gap, etc.)              */
/* ----------------------------------------- */
:root {
  --space-1: 0.0625rem;
  --space-neg-1: -0.0625rem;
  --space-2: 0.125rem;
  --space-3: 0.1875rem;
  --space-4: 0.25rem;
  --space-5: 0.3125rem;
  --space-6: 0.375rem;
  --space-7: 0.4375rem;
  --space-8: 0.5rem;
  --space-9: 0.5625rem;
  --space-10: 0.625rem;
  --space-11: 0.6875rem;
  --space-12: 0.75rem;
  --space-13: 0.8125rem;
  --space-14: 0.875rem;
  --space-15: 0.9375rem;
}

/* ----------------------------------------- */
/* Layout                                    */
/* ----------------------------------------- */
*,
.directory .directory-list,
.sheet.journal-entry .scrollable,
#permissions-config ul.permissions-list {
  scrollbar-color: initial;
  scrollbar-width: initial;
}

::-webkit-scrollbar-thumb {
  border-color: #ff6400;
}

@-moz-document url-prefix() {
  * {
    scrollbar-color: #782e22 transparent;
    scrollbar-width: thin;
  }
}
[hidden] {
  display: none !important;
}

/** A vertical rule in a flexbox */
hr.vr {
  border: 1px inset;
  height: 1.25em;
  margin: 1px 2px;
}

.pf2e.sheet form span.pf2-icon,
.pf2e.sheet form span[data-pf2-action],
.pf2e.sheet form span[data-pf2-action] *,
.pf2e.sheet form span[data-pf2-check],
.pf2e.sheet form span[data-pf2-check] *,
.pf2-icon {
  display: inline;
}

.pf2e.sheet form span.pf2-icon,
.pf2-icon {
  font-family: "Pathfinder2eActions", sans-serif;
}

section.roll-note,
p.compact-text {
  display: inline-block;
  font-weight: normal;
  line-height: 1.4em;
  margin: 0.25em 0;
  min-height: 1rem;
  width: 100%;
}

.action-glyph {
  align-self: center;
  display: inline;
  font-family: "Pathfinder2eActions", sans-serif;
  font-weight: normal;
  letter-spacing: 0;
  margin: 0;
  padding: 0;
}

/* ----------------------------------------- */
/* Styled table                              */
/* ----------------------------------------- */
table.pf2e,
table.pf2-table {
  border-collapse: collapse;
  color: var(--text-dark);
  font-size: var(--font-size-13);
  user-select: text;
}
table.pf2e thead,
table.pf2e tbody,
table.pf2e th,
table.pf2e td,
table.pf2-table thead,
table.pf2-table tbody,
table.pf2-table th,
table.pf2-table td {
  box-sizing: border-box;
  user-select: text;
  word-break: auto-phrase;
}
table.pf2e tr:nth-child(odd),
table.pf2-table tr:nth-child(odd) {
  background-color: var(--tertiary-light);
}
table.pf2e tr:nth-child(even),
table.pf2-table tr:nth-child(even) {
  background-color: var(--text-light);
}
table.pf2e th,
table.pf2e td,
table.pf2-table th,
table.pf2-table td {
  border: solid 1px var(--color-border-light-tertiary);
  text-align: center;
}
table.pf2e th,
table.pf2-table th {
  background-color: var(--color-pf-primary-dark);
  color: var(--text-light);
  font-weight: bold;
  padding: var(--space-8) var(--space-4);
}
table.pf2e td,
table.pf2-table td {
  padding: var(--space-4);
}
table.pf2e.remaster tr:nth-child(odd),
table.pf2-table.remaster tr:nth-child(odd) {
  background-color: #eee3c8;
}
table.pf2e.remaster tr:nth-child(even),
table.pf2-table.remaster tr:nth-child(even) {
  background-color: #f5efe0;
}
table.pf2e.remaster th,
table.pf2e.remaster td,
table.pf2-table.remaster th,
table.pf2-table.remaster td {
  border-color: var(--color-border-light-tertiary);
}
table.pf2e.remaster th,
table.pf2-table.remaster th {
  background-color: #002a17;
}
table.pf2e.lost-omens tr:nth-child(odd),
table.pf2-table.lost-omens tr:nth-child(odd) {
  background-color: #efe5ca;
}
table.pf2e.lost-omens tr:nth-child(even),
table.pf2-table.lost-omens tr:nth-child(even) {
  background-color: #f6f2e2;
}
table.pf2e.lost-omens th,
table.pf2e.lost-omens td,
table.pf2-table.lost-omens th,
table.pf2-table.lost-omens td {
  border-color: var(--color-border-light-tertiary);
}
table.pf2e.lost-omens th,
table.pf2-table.lost-omens th {
  background-color: #042564;
}

a.content-link,
a.inline-roll {
  padding: 0 var(--space-4);
}

a.content-link:has(i.fa-sparkles) {
  font-style: italic;
}
a.content-link > span.fa-stack {
  width: 1.25em;
}

#tooltip a.content-link {
  color: var(--color-text-dark-primary);
}

a.inline-roll.altered {
  color: var(--color-text-dark-improved);
}

/* ----------------------------------------- */
/* PF2E Action Custom Element                */
/* ----------------------------------------- */
span[data-pf2-action] {
  background: var(--inline-link-bg);
  border-radius: 2px;
  border: 1px solid var(--color-border-dark-tertiary);
  box-sizing: border-box;
  color: var(--color-text-dark-primary);
  padding: 0 var(--space-4);
  white-space: nowrap;
  word-break: break-all;
  cursor: pointer;
}
span[data-pf2-action] > i.icon {
  color: var(--color-text-dark-inactive);
  margin-right: var(--space-4);
}
span[data-pf2-action][data-secret] {
  background: var(--blind-roll);
  border-color: #720073;
}
span[data-pf2-action][data-pf2-glyph]::before {
  font-family: "Pathfinder2eActions", sans-serif;
  margin-right: var(--space-2);
  color: var(--color-text-dark-inactive);
}
span[data-pf2-action]:not([data-pf2-glyph])::before, span[data-pf2-action][data-pf2-glyph=""]::before {
  display: inline-block;
  height: var(--font-size-15);
  width: var(--font-size-15);
  background-image: url("../icons/actions/Passive.webp");
  background-repeat: no-repeat;
  background-size: var(--font-size-15) var(--font-size-15);
  opacity: 0.4;
  margin-bottom: calc(-1 * var(--space-3));
  margin-right: var(--space-2);
  content: "";
}
span[data-pf2-action][data-pf2-glyph=A]::before, span[data-pf2-action][data-pf2-glyph=a]::before, span[data-pf2-action][data-pf2-glyph="1"]::before {
  content: "A";
}
span[data-pf2-action][data-pf2-glyph=D]::before, span[data-pf2-action][data-pf2-glyph=d]::before, span[data-pf2-action][data-pf2-glyph="2"]::before {
  content: "D";
}
span[data-pf2-action][data-pf2-glyph=T]::before, span[data-pf2-action][data-pf2-glyph=t]::before, span[data-pf2-action][data-pf2-glyph="3"]::before {
  content: "T";
}
span[data-pf2-action][data-pf2-glyph=F]::before, span[data-pf2-action][data-pf2-glyph=f]::before {
  content: "F";
}
span[data-pf2-action][data-pf2-glyph=R]::before, span[data-pf2-action][data-pf2-glyph=r]::before {
  content: "R";
}

/* ----------------------------------------- */
/* PF2E Check Custom Element                 */
/* ----------------------------------------- */
a.inline-check,
span[data-pf2-check] {
  background: var(--inline-link-bg);
  border-radius: 2px;
  border: 1px solid var(--color-border-dark-tertiary);
  box-sizing: border-box;
  color: var(--color-text-dark-primary);
  padding: 0 var(--space-4);
  white-space: nowrap;
  word-break: break-all;
}
a.inline-check > i.icon,
span[data-pf2-check] > i.icon {
  color: var(--color-text-dark-inactive);
  margin-right: var(--space-4);
}
a.inline-check:has([data-pf2-repost]),
span[data-pf2-check]:has([data-pf2-repost]) {
  padding-right: 0;
}
a.inline-check:hover,
span[data-pf2-check]:hover {
  text-shadow: none;
}
a.inline-check:has(.label:hover, i.fa-dice-d20:hover),
span[data-pf2-check]:has(.label:hover, i.fa-dice-d20:hover) {
  text-shadow: 0 0 8px var(--color-shadow-primary);
}
a.inline-check > i.icon:has(+ span.label > :first-child:is([data-visibility=gm])),
span[data-pf2-check] > i.icon:has(+ span.label > :first-child:is([data-visibility=gm])) {
  margin-right: 0.25em;
}
a.inline-check[data-pf2-traits*=secret],
span[data-pf2-check][data-pf2-traits*=secret] {
  background: var(--blind-roll);
  border-color: #720073;
}
a.inline-check[data-invalid],
span[data-pf2-check][data-invalid] {
  background: rgba(255, 0, 0, 0.05);
  border: 1px dashed red;
}

/* ----------------------------------------- */
/* PF2E Inline Template Custom Element       */
/* ----------------------------------------- */
span[data-pf2-effect-area] {
  background: var(--inline-link-bg);
  border-radius: 2px;
  border: 1px solid var(--color-border-dark-tertiary);
  box-sizing: border-box;
  color: var(--color-text-dark-primary);
  padding: 0 var(--space-4);
  white-space: nowrap;
  word-break: break-all;
  cursor: pointer;
  padding-right: 0;
}
span[data-pf2-effect-area] > i.icon {
  color: var(--color-text-dark-inactive);
  margin-right: var(--space-4);
}
span[data-pf2-effect-area]::before {
  color: var(--color-text-dark-inactive);
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 0.25em;
}
span[data-pf2-effect-area][data-pf2-effect-area=cone]::before {
  content: "\f104";
}
span[data-pf2-effect-area][data-pf2-effect-area=line]::before {
  content: "\f7a5";
}
span[data-pf2-effect-area][data-pf2-effect-area=burst]::before {
  content: "\f111";
}
span[data-pf2-effect-area][data-pf2-effect-area=emanation]::before {
  content: "\f192";
}
span[data-pf2-effect-area][data-pf2-effect-area=rect]::before {
  content: "\f0c8";
}

/* ----------------------------------------- */
/* PF2E Inline Repost Element                */
/* ----------------------------------------- */
i[data-pf2-repost] {
  transition: text-shadow 0.15s ease-in-out, background-color 0.15s ease-in-out, border 0.15s ease-in-out, color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  background: var(--inline-repost-bg);
  color: var(--color-text-dark-inactive);
  border-left: 1px solid var(--color-border-dark-tertiary);
  background: rgba(255, 255, 255, 0.6);
  padding: var(--space-2);
  margin-left: var(--space-2);
  text-shadow: none;
}
i[data-pf2-repost]:hover {
  color: var(--text-light);
  text-shadow: 0 0 2px var(--text-dark);
}

/* ----------------------------------------- */
/* GM Visibility Elements                    */
/* ----------------------------------------- */
[data-visibility=gm]:not(.dice-result > *) {
  background: var(--visibility-gm-bg);
  border-radius: 1px;
  box-sizing: border-box;
  display: inline-block;
  line-height: 1em;
  outline: 1px dotted rgba(75, 74, 68, 0.5);
  padding: var(--space-1);
}
[data-visibility=gm]:not(.dice-result > *).message-sender {
  align-self: center;
  margin-bottom: var(--space-4);
  max-width: fit-content;
}
[data-visibility=gm]:not(.dice-result > *) [data-visibility=gm] {
  outline: none;
  padding: initial;
}

/* ----------------------------------------- */
/* Forms                                     */
/* ----------------------------------------- */
.crb-style {
  display: flex;
}
.crb-style .details-label {
  color: var(--primary);
  font: 600 var(--font-size-11)/1em var(--sans-serif);
  margin-left: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}
.crb-style .details-input {
  color: var(--text-dark);
  font-family: var(--body-serif);
  font-weight: bold;
  width: calc(100% - 6px);
  border-bottom: 1px solid var(--color-border-dark-input);
  background-color: rgba(28, 28, 28, 0.1);
}
.crb-style .details-input::placeholder {
  filter: opacity(0.5);
}
.crb-style .details-input:focus {
  border-bottom: 1px solid var(--alt);
}
.crb-style .details-input[type=number] {
  padding-bottom: 0;
  padding-left: 4px;
}
.crb-style input {
  border: none;
  border-radius: 0;
}
.crb-style input:focus {
  box-shadow: none;
}
.crb-style input:focus::placeholder {
  color: transparent;
}
.crb-style input::placeholder {
  color: inherit;
}
.crb-style input::-webkit-outer-spin-button, .crb-style input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}
.crb-style input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.crb-style select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: var(--color-pf-alternate);
  background-image: url("../assets/icons/chevron-down.svg");
  background-position: right 0.25em top 50%;
  background-repeat: no-repeat;
  background-size: 1em auto;
  border-radius: 2px;
  border: 1px solid var(--color-pf-alternate-dark);
  color: var(--text-light);
  font: 500 var(--font-size-14) var(--serif);
  height: auto;
  line-height: 1;
  padding: 0.25rem 1.1rem 0.25rem 0.25rem;
  position: relative;
  text-overflow: ellipsis;
}
.crb-style select:not(:disabled) {
  cursor: pointer;
}
.crb-style select option {
  background-color: var(--color-pf-alternate);
}
.crb-style .dots span {
  cursor: pointer;
}

input[type=range]:disabled::-webkit-slider-runnable-track, input[type=range]:disabled::-webkit-slider-thumb {
  cursor: default;
}
input[type=range]:disabled::-moz-range-thumb, input[type=range]:disabled::-moz-range-track {
  cursor: default;
}

input[type=range]:disabled::-webkit-slider-runnable-track, input[type=range]:disabled::-webkit-slider-thumb, input[type=range]:disabled::-moz-range-thumb, input[type=range]:disabled::-moz-range-track {
  cursor: default;
}

a[href]:hover {
  text-shadow: 0 0 8px var(--color-text-hyperlink);
}

#loading-bar {
  white-space: nowrap;
}

#tinymce {
  --space-s: 0.25em;
  --space-m: 0.5em;
  --space-l: 1em;
  --space-xl: 1.5em;
  --space-2xl: 2em;
  --radius: 3px;
}
#tinymce :is(h1, h2, h3, h4, h5, h6):not(:first-child) {
  margin-top: 1em;
}
#tinymce .inline-header {
  display: flex;
  align-items: center;
  gap: var(--space-l);
  background-color: var(--alt);
  font-family: var(--sans-serif);
  color: var(--text-light);
  padding: 0;
  font-size: 0.8em;
  font-weight: 400;
  border: none;
}
#tinymce .inline-header strong {
  display: inline-flex;
  padding: 0 var(--space-m);
  background-color: var(--primary);
  min-width: 15ch;
  border-right: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  font-weight: 400;
}
#tinymce .inline-header + p {
  margin-top: var(--space-s);
}
#tinymce .info {
  background-color: var(--secondary);
  padding: var(--space-m);
  color: var(--text-light);
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  border-radius: var(--radius);
  font-family: var(--sans-serif);
  padding-bottom: var(--space-m);
}
#tinymce .info > * + * {
  margin-top: var(--space-m);
}
#tinymce .info + * {
  margin-top: var(--space-xl);
}
#tinymce .info + #tinymce .info {
  margin-top: var(--space-s);
}
#tinymce .info h4 {
  font-size: 0.9em;
  font-weight: 400;
  line-height: 1.2;
  font-family: var(--sans-serif);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  padding: var(--space-m) var(--space-l);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-light);
}
#tinymce .info h4::after {
  font-family: "Font Awesome 6";
  content: "\f05a";
  font-weight: 900;
  margin-right: var(--space-s);
}
#tinymce .info p,
#tinymce .info span {
  font-size: 0.8em;
  margin: 0;
  padding: 0 var(--space-l);
}
#tinymce .info p:first-of-type,
#tinymce .info span:first-of-type {
  padding-top: var(--space-m);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
#tinymce .traits {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}
#tinymce .traits p,
#tinymce .traits span {
  display: inline-flex;
  padding: 0.16rem 0.25rem;
  margin: 0;
  background-color: var(--primary);
  border: 2px solid var(--color-border-trait);
  color: var(--text-light);
  font: 500 var(--font-size-10) var(--sans-serif);
  text-transform: uppercase;
}
#tinymce .statblock {
  font-family: var(--sans-serif-condensed);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: var(--space-m);
}
#tinymce .statblock > * + * {
  margin-top: var(--space-s);
  margin-bottom: 0;
}
#tinymce .statblock p {
  --indent: var(--space-l);
  margin-left: var(--indent);
  position: relative;
}
#tinymce .statblock p strong:first-of-type {
  margin-left: calc(var(--indent) * -1);
}
#tinymce .statblock p .trait:first-of-type {
  margin-left: calc(var(--indent) * -1 - 2px);
}
#tinymce .statblock span.pf2-icon {
  line-height: 1;
}
#tinymce .statblock h1,
#tinymce .statblock h2,
#tinymce .statblock h3,
#tinymce .statblock h4 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border-dark);
  text-transform: uppercase;
  letter-spacing: -0.05em;
  font-family: var(--sans-serif-condensed);
  font-weight: 700;
}
#tinymce .statblock hr {
  border: none;
  border-bottom: 1px solid var(--color-border-dark);
}
#tinymce .message {
  font-family: var(--journal-cursive);
  font-size: 2em;
  line-height: 1.2;
}

#prosemirror-dropdown {
  --space-s: 0.25em;
  --space-m: 0.5em;
  --space-l: 1em;
  --space-xl: 1.5em;
  --space-2xl: 2em;
  --radius: 3px;
}
#prosemirror-dropdown :is(h1, h2, h3, h4, h5, h6):not(:first-child) {
  margin-top: 1em;
}
#prosemirror-dropdown .inline-header {
  display: flex;
  align-items: center;
  gap: var(--space-l);
  background-color: var(--alt);
  font-family: var(--sans-serif);
  color: var(--text-light);
  padding: 0;
  font-size: 0.8em;
  font-weight: 400;
  border: none;
}
#prosemirror-dropdown .inline-header strong {
  display: inline-flex;
  padding: 0 var(--space-m);
  background-color: var(--primary);
  min-width: 15ch;
  border-right: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  font-weight: 400;
}
#prosemirror-dropdown .inline-header + p {
  margin-top: var(--space-s);
}
#prosemirror-dropdown .info {
  background-color: var(--secondary);
  padding: var(--space-m);
  color: var(--text-light);
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  border-radius: var(--radius);
  font-family: var(--sans-serif);
  padding-bottom: var(--space-m);
}
#prosemirror-dropdown .info > * + * {
  margin-top: var(--space-m);
}
#prosemirror-dropdown .info + * {
  margin-top: var(--space-xl);
}
#prosemirror-dropdown .info + #prosemirror-dropdown .info {
  margin-top: var(--space-s);
}
#prosemirror-dropdown .info h4 {
  font-size: 0.9em;
  font-weight: 400;
  line-height: 1.2;
  font-family: var(--sans-serif);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  padding: var(--space-m) var(--space-l);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-light);
}
#prosemirror-dropdown .info h4::after {
  font-family: "Font Awesome 6";
  content: "\f05a";
  font-weight: 900;
  margin-right: var(--space-s);
}
#prosemirror-dropdown .info p,
#prosemirror-dropdown .info span {
  font-size: 0.8em;
  margin: 0;
  padding: 0 var(--space-l);
}
#prosemirror-dropdown .info p:first-of-type,
#prosemirror-dropdown .info span:first-of-type {
  padding-top: var(--space-m);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
#prosemirror-dropdown .traits {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}
#prosemirror-dropdown .traits p,
#prosemirror-dropdown .traits span {
  display: inline-flex;
  padding: 0.16rem 0.25rem;
  margin: 0;
  background-color: var(--primary);
  border: 2px solid var(--color-border-trait);
  color: var(--text-light);
  font: 500 var(--font-size-10) var(--sans-serif);
  text-transform: uppercase;
}
#prosemirror-dropdown .statblock {
  font-family: var(--sans-serif-condensed);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: var(--space-m);
}
#prosemirror-dropdown .statblock > * + * {
  margin-top: var(--space-s);
  margin-bottom: 0;
}
#prosemirror-dropdown .statblock p {
  --indent: var(--space-l);
  margin-left: var(--indent);
  position: relative;
}
#prosemirror-dropdown .statblock p strong:first-of-type {
  margin-left: calc(var(--indent) * -1);
}
#prosemirror-dropdown .statblock p .trait:first-of-type {
  margin-left: calc(var(--indent) * -1 - 2px);
}
#prosemirror-dropdown .statblock span.pf2-icon {
  line-height: 1;
}
#prosemirror-dropdown .statblock h1,
#prosemirror-dropdown .statblock h2,
#prosemirror-dropdown .statblock h3,
#prosemirror-dropdown .statblock h4 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border-dark);
  text-transform: uppercase;
  letter-spacing: -0.05em;
  font-family: var(--sans-serif-condensed);
  font-weight: 700;
}
#prosemirror-dropdown .statblock hr {
  border: none;
  border-bottom: 1px solid var(--color-border-dark);
}
#prosemirror-dropdown .message {
  font-family: var(--journal-cursive);
  font-size: 2em;
  line-height: 1.2;
}
#prosemirror-dropdown .info:hover {
  color: black;
}
#prosemirror-dropdown .inline-header {
  padding: inherit;
}
#prosemirror-dropdown .inline-header:hover {
  color: black;
}
#prosemirror-dropdown .statblock {
  margin-top: unset;
}
#prosemirror-dropdown li[data-action=pf2e] li {
  height: 1.9rem;
  margin-bottom: var(--space-2);
}
#prosemirror-dropdown li[data-action=pf2e] .visibility-gm {
  background: var(--visibility-gm-bg);
  border-radius: 1px;
  box-sizing: border-box;
  line-height: 1em;
  outline: 1px dotted rgba(75, 74, 68, 0.5);
}
#prosemirror-dropdown li[data-action=pf2e] .visibility-gm:hover {
  background: var(--color-hover-bg);
}

.prosemirror menu {
  gap: 3px;
}

#tooltip.pf2e,
aside.locked-tooltip.pf2e {
  border-style: solid;
  border-image-outset: 0;
  border-width: 9px;
  border-image: url("../assets/sheet/corner-box.webp") 9 repeat;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  background: rgba(0, 0, 0, 0.9);
  font-size: var(--font-size-14);
  padding: var(--space-4) 0;
  text-align: left;
}
#tooltip.pf2e h1,
#tooltip.pf2e h2,
#tooltip.pf2e h3,
aside.locked-tooltip.pf2e h1,
aside.locked-tooltip.pf2e h2,
aside.locked-tooltip.pf2e h3 {
  font-size: var(--font-size-12);
  font-weight: 500;
  text-align: left;
}

/* ----------------------------------------- */
/* Upstream Overrides                        */
/* ----------------------------------------- */
button:disabled {
  cursor: default;
}

.crb-style.sheet .window-content {
  background: url("../assets/sheet/background.webp") no-repeat;
  background-size: cover;
}

.actors-sidebar .directory-item.actor h4 {
  line-height: normal;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.actors-sidebar .directory-item.actor .actor-level {
  font-size: x-small;
  color: var(--color-text-light-primary);
}
.actors-sidebar ol.party-list {
  border-bottom: 1px solid black;
  list-style-type: none;
  margin: 0 0 0.25rem 0;
  padding: 0;
  position: relative;
}
.actors-sidebar li.folder-like > header {
  display: flex;
  line-height: 1.5rem;
  padding: 6px;
  text-shadow: 0px 0px 3px var(--color-shadow-dark);
}
.actors-sidebar li.folder-like > header .icon {
  cursor: pointer;
  font-size: var(--font-size-16);
}
.actors-sidebar li.folder-like > header .left-control > i {
  margin: 0 0.5em 0 0.25em;
  text-align: center;
}
.actors-sidebar li.folder-like > header h3 {
  align-items: baseline;
  display: flex;
  flex: 1;
  font-size: var(--font-size-16);
  gap: 0.125rem;
  margin: 0;
  padding-left: 1px;
}
.actors-sidebar li.folder-like > header h3 span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.actors-sidebar li.folder-like > header a.create-button {
  flex: 0 0 20px;
  margin-left: 3px;
  position: relative;
  text-align: center;
}
.actors-sidebar li.folder-like > header a.create-button:hover i + i {
  color: var(--color-text-hyperlink);
}
.actors-sidebar li.folder-like > header a.create-button i + i {
  position: absolute;
  top: -2px;
  right: -2px;
  font-size: 0.5rem;
  background: black;
  color: var(--color-text-light-highlight);
  padding: 1px;
  border-radius: 4px;
}
.actors-sidebar li.folder-like.collapsed i.folder {
  margin-right: 2px;
}
.actors-sidebar li.folder-like.collapsed .fa-folder-open::before {
  content: "\f07b";
}
.actors-sidebar li.folder-like.collapsed .subdirectory {
  display: none;
}
.actors-sidebar li.folder-like.droptarget > header h3 {
  text-shadow: 1px 1px 3px var(--color-shadow-dark);
  font-size: 1.2em;
}
.actors-sidebar li.folder-like.droptarget > header h3 i {
  text-shadow: 0 0 4px var(--color-shadow-primary);
  transform: scale(1.2);
}
.actors-sidebar li.folder-like.other-parties > header {
  background: var(--primary-dark);
}
.actors-sidebar li.folder-like.other-parties > header h3 i {
  margin-right: 6px;
}
.actors-sidebar li.folder-like.other-parties.collapsed > header h3 i {
  margin-right: 8px;
}
.actors-sidebar li.folder-like .directory-item {
  border-left: 1px solid var(--color-border-dark-1);
}
.actors-sidebar li.folder-like .directory-item .folder-like > header {
  background: var(--primary-darker);
}
.actors-sidebar .party:not(.activated) .party-header {
  background: var(--primary-darker);
  padding: 2px 6px;
}
.actors-sidebar .party:not(.activated) .party-header > *:not(nav) {
  opacity: 0.85;
}
.actors-sidebar .party .activate-party:hover i {
  font-weight: 900;
}
.actors-sidebar .party.activated .party-header {
  background: var(--primary);
}
.actors-sidebar .party .blank {
  line-height: 2.375em;
  padding: 0 0.5rem;
}

.directory-item.item img.thumbnail {
  object-fit: contain;
}
.directory-item.item h4 {
  line-height: normal;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.directory-item.item .item-level {
  font-size: x-small;
  color: var(--color-text-light-primary);
}

.chat-message.emote > .message-content {
  font-style: italic;
}
.chat-message.emote > .message-content p.action-content {
  display: flex;
  align-items: center;
  font-weight: normal;
}
.chat-message.emote > .message-content p.action-content a.content-link {
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
  white-space: unset;
  word-break: normal;
}
.chat-message.emote > .message-content p.action-content a.content-link > i {
  margin-inline: 0.125rem;
}
.chat-message.emote > .message-content p.action-content img {
  height: 2.33em;
  width: 2.33em;
  float: left;
  margin-right: 0.5em;
}
.chat-message.emote > .message-content hr.action-divider {
  margin: 0;
}
.chat-message > .message-header .flavor-text h4.action {
  line-height: 1.5em;
  margin: 0;
}
.chat-message > .message-header .flavor-text h4.action > strong {
  font-weight: 600;
}
.chat-message > .message-header .flavor-text h4.action + .tags {
  padding: var(--space-2) 0 0;
}
.chat-message > .message-content > .description {
  margin-bottom: 0rem;
  position: relative;
}
.chat-message > .message-content > .description a.preview {
  height: 4.5ch;
  display: block;
  -webkit-mask-image: linear-gradient(to bottom, black, rgba(0, 0, 0, 0));
  mask-image: linear-gradient(to bottom, black, rgba(0, 0, 0, 0));
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.chat-message > .message-content > .description a.preview:hover {
  text-shadow: none;
}
.chat-message > .message-content > .description a.preview:hover + .shadow {
  box-shadow: 0 1px 6px var(--color-shadow-primary);
  clip-path: polygon(0 0, 100% 0, 100% 200%, 0 200%);
  width: 100%;
}
.chat-message > .message-content > .description .shadow {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  height: 6px;
  position: relative;
  top: -6px;
  z-index: 1;
}
.chat-message > .message-content .message-buttons {
  display: flex;
  margin: 0.35em 0 2px;
}
.chat-message > .message-content .message-buttons button {
  align-items: center;
  display: flex;
  justify-content: center;
  position: relative;
}
.chat-message > .message-content .message-buttons button .cue {
  position: absolute;
  right: 0.5rem;
}
.chat-message > .message-content .message-buttons button .cue i {
  --fa-primary-color: var(--color-border-dark);
  --fa-secondary-color: var(--primary);
  --fa-secondary-opacity: 0.6;
}
.chat-message > .message-content .message-buttons:has(.effect-applied, .crafted-item) {
  align-items: center;
  color: var(--color-text-dark-secondary);
  font-style: italic;
  flex-direction: column;
  gap: var(--space-8);
  justify-content: center;
  min-height: 2.1rem;
  padding-bottom: 0.1rem;
  text-align: center;
}
.chat-message > .message-header .flavor-text .target-dc-result {
  line-height: 0.75rem;
  margin-bottom: var(--space-4);
}
.chat-message > .message-header .flavor-text .target-dc-result .target-dc,
.chat-message > .message-header .flavor-text .target-dc-result .result {
  display: block;
  margin: var(--space-1) 0;
  width: fit-content;
}
.chat-message > .message-header .flavor-text .target-dc-result .unadjusted {
  text-decoration: line-through;
}
.chat-message > .message-header .flavor-text .target-dc-result .adjusted {
  text-decoration: underline dotted;
}
.chat-message > .message-header .flavor-text .target-dc-result .adjusted.increased {
  color: rgb(0, 128, 0);
}
.chat-message > .message-header .flavor-text .target-dc-result .adjusted.decreased {
  color: rgb(255, 0, 0);
}
.chat-message > .message-header .flavor-text .degree-of-success .criticalSuccess {
  color: rgb(0, 128, 0);
}
.chat-message > .message-header .flavor-text .degree-of-success .success {
  color: rgb(0, 0, 255);
}
.chat-message > .message-header .flavor-text .degree-of-success .failure {
  color: rgb(255, 69, 0);
}
.chat-message > .message-header .flavor-text .degree-of-success .criticalFailure {
  color: rgb(255, 0, 0);
}
.chat-message > .message-header .flavor-text .effect {
  align-items: center;
  column-gap: var(--space-5);
  display: flex;
}
.chat-message > .message-header .flavor-text .effect img {
  height: 2rem;
  width: 2rem;
}
.chat-message > .message-content .dice-total button.set-as-initiative {
  align-items: center;
  display: flex;
  font-size: var(--font-size-10);
  height: 2.2em;
  justify-content: center;
  position: absolute;
  right: 0;
  top: 1px;
  width: 2.2em;
}
.chat-message > .message-content .dice-total button.set-as-initiative > i {
  margin-right: 0;
}
.chat-message .message-content .damage-roll:not(:first-child) {
  margin-top: 1em;
}
.chat-message .message-content .damage-roll .dice-result .dice-formula {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em;
  justify-content: center;
}
.chat-message .message-content .damage-roll .dice-result .dice-formula .instance {
  padding: 0 0.25em;
}
.chat-message .message-content .damage-roll .dice-result .dice-total {
  font-weight: normal;
}
.chat-message .message-content .damage-roll .dice-result .dice-total .total {
  font-weight: 700;
  padding: 0 2ch;
}
.chat-message .message-content .damage-roll .dice-result .dice-total .total .increased-from {
  color: var(--color-text-dark-2);
  font-size: var(--font-size-16);
  font-weight: normal;
  vertical-align: 15%;
}
.chat-message .message-content .damage-roll .dice-result .dice-total .instances {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: var(--font-size-12);
  gap: 1px;
  justify-content: center;
  line-height: normal;
  margin-bottom: 1px;
  vertical-align: top;
}
.chat-message .message-content .damage-roll .dice-result .dice-total .instances .instance {
  padding: 1px 0.25em 0;
}
.chat-message .message-content .damage-roll .dice-result .dice-tooltip {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  margin-bottom: 0.25em;
}
.chat-message .message-content .damage-roll .dice-result .dice-tooltip .instance {
  border-radius: 2px;
  border-style: solid;
  border-width: 1px;
}
.chat-message .message-content .damage-roll .dice-result .dice-tooltip .instance > header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.1em;
}
.chat-message .message-content .damage-roll .dice-result .dice-tooltip .instance .dice .part-formula,
.chat-message .message-content .damage-roll .dice-result .dice-tooltip .instance .dice .part-total {
  color: var(--color-text-dark-secondary);
}
.chat-message .message-content .damage-roll .dice-result .dice-tooltip .instance > header,
.chat-message .message-content .damage-roll .dice-result .dice-tooltip .instance .dice {
  padding: 0.2em;
}
.chat-message .message-content .damage-roll .dice-result .instance {
  white-space: nowrap;
}
.chat-message .message-content .damage-roll .dice-result .instance.tooltip-part > header {
  background: var(--color-bg-bludgeoning);
}
.chat-message .message-content .damage-roll .dice-result .instance.tooltip-part > .dice {
  text-shadow: none;
}
.chat-message .message-content .damage-roll .dice-result .instance .precision,
.chat-message .message-content .damage-roll .dice-result .instance .splash {
  border-color: inherit;
  border-width: 1px;
  border-style: dotted;
  padding: 1px 2px;
  line-height: 0;
}
.chat-message .message-content .damage-application {
  display: flex;
  justify-content: center;
  margin-top: 3px;
  order: 3;
}
.chat-message .message-content .damage-application button {
  align-items: center;
  display: flex;
  flex-direction: column;
  font-size: var(--font-size-18);
  height: 2em;
  justify-content: space-around;
  line-height: unset;
  padding: 0;
}
.chat-message .message-content .damage-application button.half-damage {
  position: relative;
}
.chat-message .message-content .damage-application button.half-damage i.fa-heart-broken {
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-image: linear-gradient(to right, var(--text-dark) 50%, var(--color-text-light-6) 50%);
}
.chat-message .message-content .damage-application button > img {
  border: none;
  height: var(--font-size-18);
}
.chat-message .message-content .damage-application button .label {
  font-size: 0.5em;
  font-weight: 500;
  text-transform: uppercase;
}
.chat-message .message-content .damage-application button.apply-healing .fa-stack {
  font-size: 0.5em;
}
.chat-message .message-content .damage-application button.apply-healing .fa-stack i.fa-plus {
  font-size: var(--font-size-11);
}
.chat-message .message-content .damage-application button.healing-only {
  flex-direction: row;
  justify-content: center;
  gap: 0.25rem;
}
.chat-message .message-content .damage-application button.healing-only .fa-stack {
  font-size: 0.5em;
}
.chat-message .message-content .damage-application button.healing-only .fa-stack i.fa-plus {
  font-size: var(--font-size-11);
}
.chat-message .message-content .damage-application button.healing-only .label {
  font-size: var(--font-size-14);
  font-weight: normal;
  text-transform: none;
}
.chat-message .message-content .damage-taken section.roll-note {
  font-size: var(--font-size-12);
}
.chat-message .message-content .damage-taken .persistent {
  font-style: normal;
  margin-top: 1em;
}
.chat-message .message-content .damage-taken .persistent h4 {
  border-bottom: 1px solid var(--color-underline-header);
  max-width: fit-content;
}
.chat-message .message-content .damage-taken button.revert-damage {
  align-items: center;
  background: var(--bg-dark);
  display: inline-flex;
  justify-content: center;
  width: 3ch;
  margin-left: 2px;
}
.chat-message .message-content .damage-taken button.revert-damage > i {
  margin: 0;
}
.chat-message .message-content .damage-taken .reverted {
  text-decoration: line-through;
}
.chat-message .flavor-text .reroll-indicator {
  float: right;
}
.chat-message .message-content .reroll-discard .dice-total,
.chat-message .message-content .reroll-discard .dice-tooltip {
  opacity: 0.3;
}
.chat-message .message-content .reroll-second .dice-formula {
  display: none;
}
.chat-message .message-header.with-image {
  display: grid;
  grid-template: "img name details" 1.375rem "img user details" 1.125rem "gap gap gap" var(--space-4) "whisper whisper whisper" min-content "flavor flavor flavor" 1fr/2.75rem 1fr min-content;
  justify-content: stretch;
  width: 100%;
}
.chat-message .message-header.with-image .portrait {
  grid-area: img;
  padding: 0.125rem 0.125rem 0.125rem 0;
}
.chat-message .message-header.with-image .portrait img {
  border: none;
  height: 2.25rem;
  object-fit: contain;
  pointer-events: none;
  width: 2.25rem;
}
.chat-message .message-header.with-image .portrait.actor-image img {
  object-fit: cover;
  object-position: top;
}
.chat-message .message-header.with-image h4.message-sender {
  grid-area: name;
  color: var(--color-text-dark-primary);
  line-height: 1;
  font-size: var(--font-size-15);
  font-weight: 500;
  margin-top: auto;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-message .message-header.with-image .user {
  grid-area: user;
  font-size: var(--font-size-12);
  line-height: 1;
  padding-top: var(--space-2);
}
.chat-message .message-header.with-image .message-metadata {
  grid-area: details;
  white-space: nowrap;
}
.chat-message .message-header.with-image .whisper-to {
  grid-area: whisper;
}
.chat-message .message-header.with-image .flavor-text {
  grid-area: flavor;
}
.chat-message .message-header .flavor-text .modifiers .tag[data-visibility=gm] {
  background: var(--visibility-gm-bg);
  border-radius: 4px;
  box-shadow: none;
}
.chat-message .message-header .flavor-text .modifiers:has(.tag[data-visibility=gm]) {
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.chat-message .message-header .flavor-text ul.notes {
  display: flex;
  flex-direction: column;
  font-family: var(--sans-serif);
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: var(--space-4) 0;
}
.chat-message .message-header .flavor-text ul.notes li {
  display: block;
  line-height: 1.25em;
}
.chat-message > .message-content .participant-conditions {
  font-family: var(--sans-serif);
}
.chat-message > .message-content .participant-conditions h4 {
  border-bottom: 1px solid var(--color-pf-primary-light);
  box-shadow: none;
  font-weight: 500;
  margin: var(--space-2) 0 0;
}
.chat-message > .message-content .participant-conditions ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: var(--space-4) 0 0 var(--space-4);
}
.chat-message > .message-content .participant-conditions ul li {
  align-items: center;
  cursor: help;
  display: flex;
  gap: var(--space-4);
  max-width: fit-content;
}
.chat-message > .message-content .participant-conditions ul li .name {
  border-bottom: 1px solid var(--color-pf-alternate-light);
}
.chat-message > .message-content .participant-conditions ul li img {
  width: 1.75rem;
}
.chat-message > .message-content ul.participant-conditions {
  list-style: none;
  padding-left: 0;
}
.chat-message > .message-content ul.participant-conditions li {
  align-items: center;
  display: flex;
}
.chat-message > .message-content ul.participant-conditions li img {
  width: 1.75rem;
}
.chat-message > .message-content .addendum {
  border-image-repeat: repeat;
  border-image-slice: 11;
  border-image-source: url("../assets/sheet/frame-elegant.svg");
  border-image-width: 14px;
  border-style: double;
  background: rgba(68, 55, 48, 0.1);
  border-radius: 2px;
  color: var(--color-pf-alternate-darker);
  padding: var(--space-4);
}
.chat-message > .message-content .addendum h4 {
  font-weight: 600;
  margin: 0 0 var(--space-4) 0;
  text-align: center;
}
.chat-message > .message-content .dice-roll .dice-result > [data-visibility=gm] {
  background: var(--visibility-gm-bg);
  border: 1px dotted rgba(75, 74, 68, 0.5);
}
.chat-message > .message-content .dice-roll .dice-tooltip[data-visibility=gm] {
  padding: var(--space-2) var(--space-2) 0;
}

section.compendium-sidebar .directory-item.compendium.locked > .compendium-banner {
  opacity: 0.5;
}
section.compendium-sidebar .directory-item.compendium.locked:hover > .compendium-banner {
  opacity: 1;
}
section.compendium-sidebar ol.directory-list ol.document-matches {
  background: rgba(0, 0, 0, 0.25);
  margin-top: 1px;
  padding: 0;
}
section.compendium-sidebar ol.directory-list ol.document-matches li.match {
  align-items: center;
  column-gap: 2px;
  cursor: pointer;
  display: grid;
  font-size: var(--font-size-12);
  grid-template-areas: "thumbnail name" "thumbnail details";
  grid-template-columns: 38px 1fr;
  grid-template-rows: 1fr 1fr;
  list-style: none;
  padding: 2px 0 2px 4px;
}
section.compendium-sidebar ol.directory-list ol.document-matches li.match:hover {
  background: rgba(255, 255, 255, 0.1);
}
section.compendium-sidebar ol.directory-list ol.document-matches li.match > * {
  align-items: inherit;
  display: flex;
  height: 100%;
}
section.compendium-sidebar ol.directory-list ol.document-matches li.match .thumbnail {
  grid-area: thumbnail;
  justify-content: start;
}
section.compendium-sidebar ol.directory-list ol.document-matches li.match .thumbnail img {
  border: none;
  height: 36px;
  object-fit: contain;
  object-position: 50% 0;
  padding: 2px 0;
  width: 36px;
}
section.compendium-sidebar ol.directory-list ol.document-matches li.match .name {
  grid-area: name;
}
section.compendium-sidebar ol.directory-list ol.document-matches li.match .details {
  color: var(--color-text-light-primary);
  grid-area: details;
}

#pack-search-drag-preview {
  background: url(../../../ui/parchment.jpg) repeat;
  border-bottom: 1px solid var(--color-border-light-1);
  border-top: 1px solid transparent;
  box-shadow: none;
  display: flex;
  height: 50px;
  line-height: 48px;
  position: absolute;
  text-shadow: 0 0 0.5rem var(--color-shadow-primary);
  top: -1000px;
  width: 328px;
}
#pack-search-drag-preview img {
  border: none;
  height: 48px;
}
#pack-search-drag-preview h4 {
  color: var(--color-text-dark-primary);
  font-size: var(--font-size-14);
}

#combat nav.encounters,
#combat-popout nav.encounters {
  line-height: 1.5rem;
  padding-top: 0.25rem;
}
#combat .threat-award,
#combat-popout .threat-award {
  color: var(--text-light);
  display: flex;
  font-size: var(--font-size-14);
  gap: 1rem;
  justify-content: center;
  line-height: 1.5rem;
  text-shadow: 1px 1px 4px var(--color-shadow-dark);
  white-space: nowrap;
}
#combat .threat-award > *,
#combat-popout .threat-award > * {
  width: 6rem;
}
#combat .threat-award .threat .value.trivial,
#combat-popout .threat-award .threat .value.trivial {
  color: aqua;
}
#combat .threat-award .threat .value.low,
#combat-popout .threat-award .threat .value.low {
  color: lime;
}
#combat .threat-award .threat .value.moderate,
#combat-popout .threat-award .threat .value.moderate {
  color: yellow;
}
#combat .threat-award .threat .value.severe,
#combat-popout .threat-award .threat .value.severe {
  color: orange;
}
#combat .threat-award .threat .value.extreme,
#combat-popout .threat-award .threat .value.extreme {
  color: red;
}
#combat .encounter-controls,
#combat-popout .encounter-controls {
  padding: 0.25rem 0 0.5rem;
}
#combat li.combatant,
#combat-popout li.combatant {
  cursor: default;
  padding: 3px 0 3px 3px;
}
#combat li.combatant.gm-draggable,
#combat-popout li.combatant.gm-draggable {
  cursor: grab;
}
#combat li.combatant.drag-preview,
#combat-popout li.combatant.drag-preview {
  background: rgba(0, 0, 0, 0.75);
  box-shadow: 0 0 6px inset var(--color-shadow-highlight);
}
#combat li.combatant.drag-gap,
#combat-popout li.combatant.drag-gap {
  visibility: hidden;
}
#combat li.combatant .hidden-name .token-name h4,
#combat-popout li.combatant .hidden-name .token-name h4 {
  color: var(--color-text-light-7);
}
#combat li.combatant .token-name h4,
#combat-popout li.combatant .token-name h4 {
  flex-direction: row;
}
#combat li.combatant .token-name h4 .users-targeting,
#combat-popout li.combatant .token-name h4 .users-targeting {
  display: inline-block;
  font-size: x-small;
  line-height: inherit;
  padding: 0 0.3em;
  text-shadow: none;
  vertical-align: bottom;
}
#combat a.combat-control.center,
#combat-popout a.combat-control.center {
  white-space: nowrap;
}

.sidebar-tab ol.subdirectory {
  border-left-width: 6px;
}

.hover-content {
  display: none;
}

.crb-hover .tooltipster-box {
  border-style: solid;
  border-image-outset: 0;
  border-width: 9px;
  border-image: url("../assets/sheet/corner-box.webp") 9 repeat;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  background-color: rgba(0, 0, 0, 0.9);
  overflow: visible;
}
.crb-hover .tooltipster-box .tooltipster-content {
  margin: 0;
  padding: 0;
}
.crb-hover .tooltipster-box .tooltipster-content .item-summary {
  --space-s: 0.25em;
  --space-m: 0.5em;
  --space-l: 1em;
  --space-xl: 1.5em;
  --space-2xl: 2em;
  --radius: 3px;
}
.crb-hover .tooltipster-box .tooltipster-content .item-summary :is(h1, h2, h3, h4, h5, h6):not(:first-child) {
  margin-top: 1em;
}
.crb-hover .tooltipster-box .tooltipster-content .item-summary .inline-header {
  display: flex;
  align-items: center;
  gap: var(--space-l);
  background-color: var(--alt);
  font-family: var(--sans-serif);
  color: var(--text-light);
  padding: 0;
  font-size: 0.8em;
  font-weight: 400;
  border: none;
}
.crb-hover .tooltipster-box .tooltipster-content .item-summary .inline-header strong {
  display: inline-flex;
  padding: 0 var(--space-m);
  background-color: var(--primary);
  min-width: 15ch;
  border-right: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  font-weight: 400;
}
.crb-hover .tooltipster-box .tooltipster-content .item-summary .inline-header + p {
  margin-top: var(--space-s);
}
.crb-hover .tooltipster-box .tooltipster-content .item-summary .info {
  background-color: var(--secondary);
  padding: var(--space-m);
  color: var(--text-light);
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  border-radius: var(--radius);
  font-family: var(--sans-serif);
  padding-bottom: var(--space-m);
}
.crb-hover .tooltipster-box .tooltipster-content .item-summary .info > * + * {
  margin-top: var(--space-m);
}
.crb-hover .tooltipster-box .tooltipster-content .item-summary .info + * {
  margin-top: var(--space-xl);
}
.crb-hover .tooltipster-box .tooltipster-content .item-summary .info + .crb-hover .tooltipster-box .tooltipster-content .item-summary .info {
  margin-top: var(--space-s);
}
.crb-hover .tooltipster-box .tooltipster-content .item-summary .info h4 {
  font-size: 0.9em;
  font-weight: 400;
  line-height: 1.2;
  font-family: var(--sans-serif);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  padding: var(--space-m) var(--space-l);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-light);
}
.crb-hover .tooltipster-box .tooltipster-content .item-summary .info h4::after {
  font-family: "Font Awesome 6";
  content: "\f05a";
  font-weight: 900;
  margin-right: var(--space-s);
}
.crb-hover .tooltipster-box .tooltipster-content .item-summary .info p,
.crb-hover .tooltipster-box .tooltipster-content .item-summary .info span {
  font-size: 0.8em;
  margin: 0;
  padding: 0 var(--space-l);
}
.crb-hover .tooltipster-box .tooltipster-content .item-summary .info p:first-of-type,
.crb-hover .tooltipster-box .tooltipster-content .item-summary .info span:first-of-type {
  padding-top: var(--space-m);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.crb-hover .tooltipster-box .tooltipster-content .item-summary .traits {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}
.crb-hover .tooltipster-box .tooltipster-content .item-summary .traits p,
.crb-hover .tooltipster-box .tooltipster-content .item-summary .traits span {
  display: inline-flex;
  padding: 0.16rem 0.25rem;
  margin: 0;
  background-color: var(--primary);
  border: 2px solid var(--color-border-trait);
  color: var(--text-light);
  font: 500 var(--font-size-10) var(--sans-serif);
  text-transform: uppercase;
}
.crb-hover .tooltipster-box .tooltipster-content .item-summary .statblock {
  font-family: var(--sans-serif-condensed);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: var(--space-m);
}
.crb-hover .tooltipster-box .tooltipster-content .item-summary .statblock > * + * {
  margin-top: var(--space-s);
  margin-bottom: 0;
}
.crb-hover .tooltipster-box .tooltipster-content .item-summary .statblock p {
  --indent: var(--space-l);
  margin-left: var(--indent);
  position: relative;
}
.crb-hover .tooltipster-box .tooltipster-content .item-summary .statblock p strong:first-of-type {
  margin-left: calc(var(--indent) * -1);
}
.crb-hover .tooltipster-box .tooltipster-content .item-summary .statblock p .trait:first-of-type {
  margin-left: calc(var(--indent) * -1 - 2px);
}
.crb-hover .tooltipster-box .tooltipster-content .item-summary .statblock span.pf2-icon {
  line-height: 1;
}
.crb-hover .tooltipster-box .tooltipster-content .item-summary .statblock h1,
.crb-hover .tooltipster-box .tooltipster-content .item-summary .statblock h2,
.crb-hover .tooltipster-box .tooltipster-content .item-summary .statblock h3,
.crb-hover .tooltipster-box .tooltipster-content .item-summary .statblock h4 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border-dark);
  text-transform: uppercase;
  letter-spacing: -0.05em;
  font-family: var(--sans-serif-condensed);
  font-weight: 700;
}
.crb-hover .tooltipster-box .tooltipster-content .item-summary .statblock hr {
  border: none;
  border-bottom: 1px solid var(--color-border-dark);
}
.crb-hover .tooltipster-box .tooltipster-content .item-summary .message {
  font-family: var(--journal-cursive);
  font-size: 2em;
  line-height: 1.2;
}
.crb-hover .tooltipster-box .tooltipster-content .item-summary a,
.crb-hover .tooltipster-box .tooltipster-content .item-summary span[data-pf2-effect-area] {
  color: var(--color-text-dark-primary);
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content {
  display: flex;
  flex-direction: column;
  max-width: fit-content;
  min-width: 7.5rem;
  padding: var(--space-4);
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content p {
  font: 400 var(--font-size-14) var(--body-serif);
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content h1,
.crb-hover .tooltipster-box .tooltipster-content .hover-content h2,
.crb-hover .tooltipster-box .tooltipster-content .hover-content h3 {
  font-size: var(--font-size-12);
  font-weight: 500;
  text-align: left;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content .sidebar_title {
  align-items: baseline;
  border-bottom: 1px solid var(--sidebar-title);
  display: flex;
  flex: 1 auto;
  justify-content: space-between;
  margin: var(--space-2) 0 var(--space-8);
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content .sidebar_title h2,
.crb-hover .tooltipster-box .tooltipster-content .hover-content .sidebar_title a {
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  border: none;
  color: var(--sidebar-title);
  line-height: 1.5;
  margin: 0;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content .sidebar_title h2 + h2,
.crb-hover .tooltipster-box .tooltipster-content .hover-content .sidebar_title a + h2 {
  font-size: var(--font-size-11);
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content .sidebar_title a {
  color: var(--text-light);
  text-decoration: none;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content.select-shield {
  gap: var(--space-4);
  overflow: hidden;
  width: 14rem;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content.select-shield ul {
  line-height: normal;
  width: 100%;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content.select-shield ul > li {
  display: flex;
  flex-basis: 100%;
  justify-content: space-between;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content.select-shield ul > li .label {
  flex: 1;
  line-height: 1.125rem;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content.select-shield ul > li .data {
  justify-self: center;
  position: relative;
  top: calc(-1 * var(--space-1));
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content ul {
  display: flex;
  flex: 1 auto;
  flex-direction: column;
  gap: var(--space-8);
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content ul input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0;
  color: var(--text-light);
  font-family: var(--body-serif);
  width: 100%;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content ul input:focus {
  border-bottom: 1px solid var(--color-text-light-0);
  box-shadow: none;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content ul input:focus::placeholder {
  color: transparent;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content ul input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content ul input::-webkit-outer-spin-button, .crb-hover .tooltipster-box .tooltipster-content .hover-content ul input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content ul input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content ul select {
  background: transparent;
  border: 1px solid var(--color-border-light-1);
  border-radius: 2px;
  cursor: pointer;
  height: 1.125rem;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content ul select option {
  color: var(--text-dark);
  font-size: var(--font-size-13);
  min-height: 1rem;
  text-transform: capitalize;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content ul label {
  align-items: center;
  display: flex;
  font-family: var(--serif);
  font-weight: 500;
  text-align: left;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content ul .label,
.crb-hover .tooltipster-box .tooltipster-content .hover-content ul .data {
  color: var(--text-light);
  font: 400 var(--font-size-12) var(--serif);
  margin: 0;
  padding: 0;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content ul .item {
  align-items: center;
  gap: var(--space-2) var(--space-8);
  display: grid;
  grid: "data label close" var(--space-12) "data type close" var(--space-12)/1.875rem 1fr;
  justify-items: start;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content ul .item:first-child {
  border: none;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content ul .item.no-effect {
  filter: opacity(0.5);
  position: relative;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content ul .item .tag-legacy {
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-pf-tertiary);
  grid-area: type;
  letter-spacing: 0.5px;
  white-space: nowrap;
  width: min-content;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content ul .item .tag-legacy .remove-modifier {
  white-space: nowrap;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content ul .item .label {
  grid-area: label;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content ul .item .data {
  font-size: var(--font-size-21);
  grid-area: data;
  justify-self: right;
  text-align: right;
  width: min-content;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content ul .disabled .label,
.crb-hover .tooltipster-box .tooltipster-content .hover-content ul .disabled .data,
.crb-hover .tooltipster-box .tooltipster-content .hover-content ul .disabled .data::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content ul .disabled .label {
  text-decoration: line-through;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content.modifiers-tooltip .remove-modifier {
  cursor: pointer;
  font-size: 0.8rem;
  grid-area: close;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content.modifiers-tooltip .add-modifier {
  border-top: 1px solid var(--sidebar-title);
  align-items: baseline;
  font-size: 0.8rem;
  gap: var(--space-4) var(--space-8);
  grid: "value name name" 1fr "type type btn" 1fr/2.625rem 1fr 1fr;
  padding-top: var(--space-5);
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content.modifiers-tooltip .add-modifier .add-modifier-value {
  align-items: center;
  column-gap: var(--space-4);
  display: grid;
  font-size: 1rem;
  grid: "input plus" 1fr "input minus" 1fr/1fr var(--space-10);
  grid-area: value;
  text-align: right;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content.modifiers-tooltip .add-modifier .add-modifier-value input {
  grid-area: input;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content.modifiers-tooltip .add-modifier .add-modifier-value .fa-solid {
  cursor: pointer;
  font-size: var(--font-size-9);
  margin-top: var(--space-2);
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content.modifiers-tooltip .add-modifier .add-modifier-value .fa-solid.fa-plus-circle {
  grid-area: plus;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content.modifiers-tooltip .add-modifier .add-modifier-value .fa-solid.fa-minus-circle {
  grid-area: minus;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content.modifiers-tooltip .add-modifier .add-modifier-name {
  grid-area: name;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content.modifiers-tooltip .add-modifier .add-modifier-submit {
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  background-color: black;
  color: var(--color-pf-tertiary);
  grid-area: btn;
  line-height: 1.5;
  white-space: nowrap;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content.manage-tabs ul li {
  display: flex;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content.manage-tabs ul li label {
  color: var(--color-pf-tertiary);
  flex-basis: 100%;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content.manage-tabs ul li input {
  display: flex;
  min-width: 2em;
}

.icon.anger::before {
  content: "💢︎";
}
.icon.bang::before {
  content: "💥︎";
}
.icon.collision::before {
  content: "💥︎";
}
.icon.crystal-ball::before {
  content: "🔮︎";
}
.icon.dizzy::before {
  content: "💫︎";
}
.icon.diamond-with-dot::before {
  content: "💠︎";
}
.icon.gemstone::before {
  content: "💎︎";
}
.icon.gem-stone::before {
  content: "💎︎";
}
.icon.glowing-star::before {
  content: "🌟︎";
}
.icon.prayer-beads::before {
  content: "📿︎";
}
.icon.ring::before {
  content: "💍︎";
}
.icon.sparkle::before {
  content: "❇︎";
}
.icon.sparkler::before {
  content: "🎇︎";
}
.icon.sparkles::before {
  content: "✨︎";
}

.roll-modifiers-dialog {
  background: none;
  box-shadow: none;
}
.roll-modifiers-dialog .window-header {
  border: none;
  box-shadow: inset 0 0 0 1px #9f725b, inset 0 0 0 2px var(--tertiary), inset 0 0 0 3px #956d58, 0 0 20px rgba(0, 0, 0, 0.8);
  background: linear-gradient(90deg, var(--color-pf-secondary) 0%, var(--color-pf-secondary-light) 50%, var(--color-pf-secondary) 100%);
  border-radius: 0;
  margin-bottom: 2px;
  font-size: var(--font-size-13);
}
.roll-modifiers-dialog .window-content {
  border-style: solid;
  border-image-outset: 0;
  border-width: 9px;
  border-image: url("../assets/sheet/corner-box.webp") 9 repeat;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  padding-top: 0;
}
.roll-modifiers-dialog button {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  background-color: var(--color-pf-alternate);
  border-radius: 2px;
  color: var(--text-light);
  cursor: pointer;
  font-family: var(--sans-serif);
}
.roll-modifiers-dialog button:hover {
  text-shadow: 0 0 2px var(--color-pf-tertiary);
}
.roll-modifiers-dialog .toggle {
  background: var(--color-pf-secondary);
  border-radius: 50px;
  box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: inline-block;
  height: 19px;
  position: relative;
  vertical-align: bottom;
  width: 46px;
}
.roll-modifiers-dialog .toggle:has(input:not(:checked)) {
  background: rgba(0, 0, 0, 0.4);
}
.roll-modifiers-dialog .toggle:has(input:not(:checked)) input[type=checkbox] + label {
  right: 26px;
}
.roll-modifiers-dialog .toggle::before {
  color: var(--text-light);
  content: "ON";
  left: 6px;
  position: absolute;
  z-index: 0;
}
.roll-modifiers-dialog .toggle::after {
  color: var(--text-dark);
  content: "OFF";
  position: absolute;
  right: 4px;
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.15);
  z-index: 0;
}
.roll-modifiers-dialog .toggle::after, .roll-modifiers-dialog .toggle::before {
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  top: 4px;
}
.roll-modifiers-dialog .toggle .widget {
  background: #fcfff4;
  background: linear-gradient(to bottom, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  border-radius: 50px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: block;
  height: 16px;
  position: absolute;
  right: 1px;
  top: 1px;
  transition: all 0.4s ease;
  width: 19px;
  z-index: 1;
}
.roll-modifiers-dialog .toggle input[type=checkbox] {
  visibility: hidden;
}
.roll-modifiers-dialog .toggle input[type=checkbox]:not(:checked) + .widget {
  right: 23px;
}
.roll-modifiers-dialog .dialog-row {
  align-items: center;
  display: flex;
  padding: 0.5rem 0;
  gap: 0.5rem;
}
.roll-modifiers-dialog .dialog-row .mod {
  flex: 1.5 0 0;
}
.roll-modifiers-dialog .dialog-row .type {
  flex: 0 0 6.25rem;
  text-transform: capitalize;
}
.roll-modifiers-dialog .dialog-row .value {
  flex: 0 0 36px;
  display: flex;
  justify-content: center;
}
.roll-modifiers-dialog .dialog-row .exclude {
  flex: 0 0 50px;
}
.roll-modifiers-dialog .dialog-row.header {
  font-size: var(--font-size-13);
  font-weight: 700;
  padding-bottom: 0;
}
.roll-modifiers-dialog .dialog-row.header + hr {
  margin-bottom: 0;
}
.roll-modifiers-dialog .dialog-row.disabled {
  text-decoration: line-through;
}
.roll-modifiers-dialog .dialog-row.disabled > * {
  filter: opacity(0.5);
}
.roll-modifiers-dialog .dialog-row.disabled > * i {
  color: var(--text-dark);
}
.roll-modifiers-dialog .dialog-row.disabled.hidden {
  display: none;
}
.roll-modifiers-dialog .dialog-row .exclude.disabled {
  filter: opacity(0.5);
}
.roll-modifiers-dialog .dialog-row .exclude.disabled .toggle,
.roll-modifiers-dialog .dialog-row .exclude.disabled .widget {
  cursor: default;
}
.roll-modifiers-dialog .dialog-row .exclude.disabled i {
  color: var(--text-dark);
}
.roll-modifiers-dialog .substitutions,
.roll-modifiers-dialog .modifier-container {
  display: flex;
  flex-direction: column;
}
.roll-modifiers-dialog .substitutions + hr,
.roll-modifiers-dialog .modifier-container + hr {
  margin-top: 0;
}
.roll-modifiers-dialog .substitutions .dialog-row,
.roll-modifiers-dialog .modifier-container .dialog-row {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.roll-modifiers-dialog .substitutions .dialog-row:last-child,
.roll-modifiers-dialog .modifier-container .dialog-row:last-child {
  border-bottom: none;
}
.roll-modifiers-dialog .substitutions .dialog-row .tag,
.roll-modifiers-dialog .modifier-container .dialog-row .tag {
  background-color: var(--sub);
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
  color: var(--text-light);
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  letter-spacing: 0.5px;
  padding: 4px 8px;
  text-transform: uppercase;
  width: fit-content;
}
.roll-modifiers-dialog .total-mod {
  font-weight: 700;
  padding: 0;
}
.roll-modifiers-dialog .roll-mode-panel {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: space-between;
  white-space: nowrap;
  gap: var(--space-8);
}
.roll-modifiers-dialog .roll-mode-panel label {
  display: flex;
  align-items: center;
}
.roll-modifiers-dialog .roll-mode-panel .roll-mode {
  flex: 1;
}
.roll-modifiers-dialog .roll-mode-panel .roll-mode select {
  border-radius: 2px;
  cursor: pointer;
  height: 1.5em;
  margin-left: var(--space-8);
}
.roll-modifiers-dialog .roll {
  color: var(--text-light);
  background-color: var(--color-pf-secondary);
}
.roll-modifiers-dialog .roll .damage.color,
.roll-modifiers-dialog .roll i {
  color: var(--text-light) !important;
}
.roll-modifiers-dialog .add-entry-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 2px;
}
.roll-modifiers-dialog .add-entry-row select,
.roll-modifiers-dialog .add-entry-row input {
  height: auto;
  border-radius: 2px;
}
.roll-modifiers-dialog .add-entry-row button {
  line-height: 1;
  margin: 0;
  padding: 4px 6px;
  text-transform: uppercase;
  flex: 0 0 min-content;
  font-weight: 700;
  font-size: 0.75rem;
}
.roll-modifiers-dialog .add-entry-row .add-modifier-name {
  flex: 1;
}
.roll-modifiers-dialog .add-entry-row .add-modifier-type {
  flex: 0 0 min-content;
}
.roll-modifiers-dialog .add-entry-row .add-modifier-value {
  flex: 0 0 4ch;
  text-align: right;
}

.dice-checks .fate {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.dice-checks .fate label {
  cursor: pointer;
}

.dialog.trick-magic-item .dialog-content p {
  font-weight: normal;
}
.dialog.trick-magic-item .dialog-buttons {
  flex-direction: column;
}

.damage-dialog .dialog-row .value {
  flex-basis: 4rem;
}
.damage-dialog .dialog-row .dice-type,
.damage-dialog .dialog-row .modifier-type {
  background: none;
  white-space: nowrap;
}
.damage-dialog .dialog-row .dice-type .icon-container,
.damage-dialog .dialog-row .modifier-type .icon-container {
  white-space: nowrap;
}
.damage-dialog .dialog-row .dice-type .icon-container i,
.damage-dialog .dialog-row .modifier-type .icon-container i {
  vertical-align: middle;
  text-align: start;
  font-size: 1rem;
}
.damage-dialog .dialog-row .no-mod {
  filter: opacity(0.7);
}
.damage-dialog .dialog-row .damage {
  padding: 2px 4px;
}
.damage-dialog .dice .dialog-row {
  gap: 1.5rem;
}
.damage-dialog .dice .dialog-row .value {
  flex: 1 0 0;
  gap: 2px;
  justify-content: end;
}
.damage-dialog .add-modifier-panel {
  flex-wrap: wrap;
}
.damage-dialog .add-modifier-panel .add-modifier-name {
  flex-basis: 100%;
}
.damage-dialog .add-modifier-panel .add-modifier-value {
  flex: 1;
}
.damage-dialog .add-dice-panel {
  justify-content: end;
}
.damage-dialog .add-dice-panel .add-dice-count {
  flex: 0 0 4ch;
  text-align: end;
}

/* ----------------------------------------- */
/* Tag Selector                              */
/* ----------------------------------------- */
.app.tag-selector a.document-id-link {
  visibility: hidden;
}

.app.tag-selector form {
  display: flex;
  flex-direction: column;
  font-family: var(--sans-serif);
  height: 100%;
}
.app.tag-selector form input[type=search],
.app.tag-selector form input[type=text] {
  background: rgba(255, 255, 255, 0.5);
  color: var(--text-dark);
}
.app.tag-selector form > header {
  align-items: center;
  display: flex;
  gap: 0.5rem;
}
.app.tag-selector form > header input[type=search]::placeholder {
  font-family: var(--fa6);
  font-weight: 900;
  padding-left: 0.25em;
}
.app.tag-selector form ul {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  max-height: 30rem;
  overflow-y: auto;
  padding: 0;
}
.app.tag-selector form ul.has-custom {
  max-height: 78%;
}
.app.tag-selector form ul > li {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  padding-right: 0.5em;
}
.app.tag-selector form ul > li label {
  align-items: center;
  display: flex;
  gap: var(--space-2);
}
.app.tag-selector form ul > li label i.fa-info-circle {
  cursor: help;
  margin-left: var(--space-2);
}
.app.tag-selector form ul.has-rarity > li {
  height: 2rem;
}
.app.tag-selector form ul.has-rarity > li:nth-child(even) {
  background: rgba(0, 0, 0, 0.05);
}
.app.tag-selector form ul.speeds {
  row-gap: var(--space-6);
}
.app.tag-selector form ul.speeds > li {
  gap: 1.5rem;
  margin-right: var(--space-4);
  padding: 0;
}
.app.tag-selector form ul.speeds > li input[type=number] {
  width: 8ch;
}
.app.tag-selector form table {
  margin-top: 0;
}
.app.tag-selector form table th,
.app.tag-selector form table td {
  text-align: left;
  white-space: nowrap;
}
.app.tag-selector form table th {
  padding: var(--space-8);
}
.app.tag-selector form table tbody > tr {
  height: 2rem;
}
.app.tag-selector form table tbody > tr td.type {
  text-align: left;
}
.app.tag-selector form table tbody > tr td.type .container {
  align-items: center;
  display: flex;
}
.app.tag-selector form table tbody > tr td.type .container label {
  flex: 1;
}
.app.tag-selector form table tbody > tr td.type .container i {
  cursor: help;
  margin-left: 0.25rem;
}
.app.tag-selector form table tbody > tr td.acuity {
  min-width: fit-content;
  text-align: center;
}
.app.tag-selector form table tbody > tr td.range {
  text-align: center;
  width: 5em;
}
.app.tag-selector form > footer {
  border-top: var(--space-2) groove var(--color-text-light-0);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin-top: auto;
}
.app.tag-selector form > footer .form-group.details {
  margin-top: 0;
}
.app.tag-selector form > footer .form-group.details label {
  font-weight: 500;
  flex: 0;
}

#token-hud .status-effects {
  grid-template-columns: repeat(5, 1fr);
  width: auto;
}
#token-hud .status-effects .effect-control {
  border-radius: 1px;
  color: var(--color-text-dark-1);
  cursor: pointer;
  height: 36px;
  opacity: 0.5;
  position: relative;
  width: 36px;
}
#token-hud .status-effects .effect-control.active img {
  border: 1px solid var(--color-border-highlight);
  opacity: 1;
}
#token-hud .status-effects .effect-control img {
  border: 1px solid rgba(0, 0, 0, 0);
  height: 35px;
  margin: 0;
  width: 35px;
}
#token-hud .status-effects .effect-control:not(.active):hover img {
  border: 1px solid rgba(255, 100, 0, 0.5);
}
#token-hud .status-effects .effect-control .badge {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  border: 0.1em solid darkred;
  font-size: var(--font-size-8);
  height: 0.8rem;
  line-height: var(--font-size-10);
  pointer-events: none;
  position: absolute;
  right: -3px;
  text-align: center;
  top: -3px;
  width: 0.8rem;
  z-index: 1;
}
#token-hud .status-effects .effect-control.overridden > * {
  filter: saturate(0);
}
#token-hud .status-effects .effect-control.valued .badge {
  font-size: var(--font-size-12);
  font-style: unset;
  font-weight: 500;
  line-height: var(--font-size-12);
}
#token-hud .status-effects .title-bar {
  background: rgba(0, 0, 0, 0.6);
  color: var(--color-text-light-0);
  border-radius: inherit;
  border: inherit;
  box-shadow: inherit;
  box-sizing: content-box;
  font-size: var(--font-size-14);
  font-weight: normal;
  left: 0;
  line-height: normal;
  padding: 3px 0;
  position: absolute;
  text-align: center;
  top: -30px;
  visibility: hidden;
  width: 100%;
  z-index: 1;
}
#token-hud .status-effects .title-bar.active {
  visibility: visible;
}
#token-hud .control-icon[data-action=clown-car][data-disabled=true] {
  cursor: wait;
  opacity: 0.5;
}
#token-hud .control-icon[data-action=clown-car] img {
  height: 36px;
  transform-style: preserve-3d;
  transition: 0.5s;
  width: 36px;
}
#token-hud .control-icon[data-action=clown-car] img.retrieve {
  transform: scaleX(-1);
}

.application .window-content.compact {
  padding: 0;
  gap: var(--space-6);
}
.application .window-content.compact > * {
  display: flex;
}
.application button:where(.flat) {
  align-items: unset;
  background: unset;
  border: none;
  border-radius: unset;
  color: unset;
  display: unset;
  font-family: unset;
  font-size: unset;
  justify-content: unset;
  line-height: unset;
  margin: unset;
  padding: unset;
  text-align: inherit;
  width: unset;
  height: unset;
}
.application button:where(.flat):hover {
  background: inherit;
  box-shadow: none;
  color: var(--color-text-primary);
  text-shadow: 0 0 8px var(--color-shadow-primary);
}
.application button:where(.flat):focus {
  box-shadow: none;
  outline: none;
  text-shadow: 0 0 8px var(--color-shadow-primary);
}

.attribute-builder .window-content {
  background: url("../assets/sheet/background.webp");
  background-repeat: repeat-x, no-repeat;
  background-size: cover;
  background-attachment: local;
  height: 100%;
  padding: 10px 20px 10px 20px;
  position: relative;
  --color-boost: #316549;
  --color-boost-dark: #1b3c2a;
  --color-flaw: #5e0000;
}
.attribute-builder .window-content h3 {
  font: 400 var(--font-size-24) var(--serif-condensed);
  line-height: var(--font-size-24);
}
.attribute-builder .window-content h4 {
  font: 400 var(--font-size-10) var(--sans-serif);
  text-transform: uppercase;
  color: #605856;
}
.attribute-builder .window-content button:focus:not(:focus-visible) {
  box-shadow: none;
}
.attribute-builder .window-content .row {
  display: flex;
  align-items: center;
}
.attribute-builder .window-content .row .row-heading {
  width: 220px;
}
.attribute-builder .window-content .row.not-eligible {
  pointer-events: none;
  filter: blur(1px);
  opacity: 0.6;
}
.attribute-builder .window-content .row.not-eligible .remaining {
  visibility: hidden;
}
.attribute-builder .window-content .row .attributes {
  display: grid;
  grid-template-columns: repeat(6, 84px);
  grid-template-rows: auto;
  flex: 0 0 auto;
}
.attribute-builder .window-content .row .full-row {
  display: flex;
  flex: 1;
  justify-content: center;
}
.attribute-builder .window-content header.row {
  align-items: normal;
  padding-top: 10px;
  height: 60px;
}
.attribute-builder .window-content header.row .row-column {
  display: block;
}
.attribute-builder .window-content header.row .attributes {
  align-items: normal;
}
.attribute-builder .window-content .background-stripes {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 50px;
  right: 0;
  padding: 10px 20px 10px 20px;
  pointer-events: none;
  align-items: normal;
}
.attribute-builder .window-content .background-stripes .attributes div:nth-child(odd) {
  background-color: rgba(68, 55, 48, 0.1);
}
.attribute-builder .window-content .voluntary-flaw-row {
  margin: 0.5rem 0;
}
.attribute-builder .window-content .voluntary-flaw-row .flaw-buttons {
  display: flex;
  flex-direction: row;
}
.attribute-builder .window-content .voluntary-flaw-row .flaw-buttons button {
  flex: 1 1 0;
}
.attribute-builder .window-content .voluntary-flaw-row .flaw-buttons button.first {
  border-bottom-right-radius: 0;
  border-right: none;
  border-top-right-radius: 0;
  width: 4em;
}
.attribute-builder .window-content .voluntary-flaw-row .flaw-buttons button.second {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  max-width: 2em;
  text-transform: none;
}
.attribute-builder .window-content .voluntary-flaw-row .flaw-buttons button.second.selected {
  border-left-color: rgba(255, 255, 255, 0.5);
}
.attribute-builder .window-content .row-heading {
  align-items: center;
  display: grid;
  grid-template-areas: "img description remaining";
  grid-template-columns: 42px 1fr auto;
}
.attribute-builder .window-content .row-heading h3 {
  align-self: start;
  font-size: var(--font-size-24);
  grid-column: 1/4;
}
.attribute-builder .window-content .row-heading .hint-container {
  grid-column: 1/4;
}
.attribute-builder .window-content .row-heading img {
  border: 0;
  grid-area: img;
  height: 2rem;
  width: 2rem;
}
.attribute-builder .window-content .row-heading div.label {
  display: flex;
  flex-direction: column;
  grid-area: description;
  margin-right: 0.625rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.attribute-builder .window-content .row-heading div.remaining {
  grid-area: remaining;
  display: flex;
  margin-right: 0.625rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: rgba(68, 55, 48, 0.1);
  align-self: center;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.attribute-builder .window-content .row-heading div.remaining.extra {
  animation: glow 0.75s infinite alternate;
}
@keyframes glow {
  from {
    box-shadow: 0 0 1px 1px #ffb351;
  }
  to {
    box-shadow: 0 0 3px 3px #ffb351;
  }
}
.attribute-builder .window-content .row-column {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.attribute-builder .window-content .row-column button {
  align-items: center;
  border: 1px solid var(--button-color);
  color: var(--button-color);
  display: flex;
  font-size: var(--font-size-12);
  height: 1.5em;
  justify-content: center;
  margin: 0;
  outline: none;
  padding: 0.1em 0 0;
  position: relative;
  text-transform: uppercase;
  width: 6em;
}
.attribute-builder .window-content .row-column button > i.key-attribute {
  bottom: 3px;
  font-size: smaller;
  left: 2px;
  position: absolute;
}
.attribute-builder .window-content .row-column button.boost, .attribute-builder .window-content .row-column button.apex {
  margin-top: auto;
  --button-color: var(--color-boost);
  --button-locked-color: var(--color-boost-dark);
}
.attribute-builder .window-content .row-column button.flaw {
  margin-bottom: auto;
  --button-color: var(--color-flaw);
  --button-locked-color: var(--color-flaw);
}
.attribute-builder .window-content .row-column button.selected {
  background: var(--button-color);
}
.attribute-builder .window-content .row-column button.selected.partial {
  background: var(--color-boost-dark);
}
.attribute-builder .window-content .row-column button:hover {
  box-shadow: 0 0 5px var(--button-color);
  cursor: pointer;
}
.attribute-builder .window-content .row-column button:hover.key-attribute.selected {
  box-shadow: none;
  cursor: default;
}
.attribute-builder .window-content .row-column button:hover:disabled {
  background: rgba(0, 0, 0, 0.04);
  box-shadow: none;
  cursor: not-allowed;
}
.attribute-builder .window-content .row-column button.hidden {
  pointer-events: none;
  visibility: hidden;
}
.attribute-builder .window-content .row-column button:disabled {
  background: rgba(0, 0, 0, 0.04);
  opacity: 0.4;
}
.attribute-builder .window-content .row-column button:disabled:active {
  pointer-events: none;
}
.attribute-builder .window-content .row-column button.locked {
  background: var(--button-locked-color);
  border-color: var(--button-locked-color);
  pointer-events: none;
}
.attribute-builder .window-content .row-column button.locked, .attribute-builder .window-content .row-column button.selected {
  color: var(--text-light);
}
.attribute-builder .window-content .row-column div + .boost,
.attribute-builder .window-content .row-column button + .boost {
  margin-top: 4px;
}
.attribute-builder .window-content .summary-row .row-heading {
  display: block;
}
.attribute-builder .window-content .summary-row .hint-container {
  background: rgba(211, 204, 188, 0.4);
  padding: 0.75rem;
  margin-right: 0.625rem;
  border: 1px solid rgb(211, 204, 188);
  border-radius: 3px;
  align-self: end;
}
.attribute-builder .window-content .summary-row .hint-container h3 {
  color: var(--color-pf-primary);
  font-variant: small-caps;
  font-size: var(--font-size-20);
  line-height: var(--font-size-16);
  font-family: var(--sans-serif-condensed);
  font-weight: 500;
}
.attribute-builder .window-content .summary-row .hint-container p {
  font-style: italic;
  font-size: var(--font-size-12);
  line-height: var(--font-size-14);
  font-family: var(--sans-serif);
  font-weight: 500;
  margin-bottom: 3px;
}
.attribute-builder .window-content .summary-row .hint-container label {
  display: flex;
  align-items: center;
  margin-top: 10px;
}
.attribute-builder .window-content .summary-row .attributes {
  grid-template-rows: auto auto;
}
.attribute-builder .window-content .summary-row .row-column {
  display: flex;
  flex-direction: column;
  padding-top: 10px;
}
.attribute-builder .window-content .summary-row .row-column .value {
  height: 40px;
  font: 700 var(--font-size-24) var(--serif);
  line-height: var(--font-size-30);
}
.attribute-builder .window-content .summary-row .row-column input {
  width: calc(100% - 20px);
  flex-grow: 0;
  height: 30px;
  color: var(--text-dark);
  font: 500 var(--font-size-24) var(--serif);
  border: 0;
  border-bottom: 1px solid #d3ccbc;
  border-radius: 0;
  background-color: transparent;
  margin: 0 10px 10px 10px;
}
.attribute-builder .window-content .summary-row .row-column input::placeholder {
  filter: opacity(0.5);
}
.attribute-builder .window-content .summary-row .row-column input:focus {
  border-bottom: 1px solid var(--alt);
}
.attribute-builder .window-content .summary-row .row-column input[type=number] {
  padding-bottom: 0;
  padding-left: 4px;
}
.attribute-builder .window-content .summary-row .complete {
  grid-row: 2;
  grid-column: 1/7;
  margin-top: 10px;
  margin-left: auto;
}
.attribute-builder .window-content .summary-row button.complete {
  color: var(--text-light);
  background: var(--secondary);
  height: 35px;
  width: 131px;
  border: 1px solid var(--tertiary);
}
.attribute-builder .window-content .title {
  color: var(--primary);
  font: 500 var(--font-size-10) var(--sans-serif-condensed);
  line-height: var(--font-size-10);
  text-transform: uppercase;
}
.attribute-builder .window-content div[data-tooltip-content].description,
.attribute-builder .window-content div[data-tooltip-content] .description,
.attribute-builder .window-content div[data-tooltip].description,
.attribute-builder .window-content div[data-tooltip] .description {
  text-decoration: underline dotted;
  text-underline-offset: 2px;
}
.attribute-builder .window-content .description {
  font: 600 var(--font-size-16) var(--serif);
}
.attribute-builder .window-content .extra {
  align-items: center;
  display: flex;
  font-size: var(--font-size-12);
  gap: 1px;
  margin-top: -0.25rem;
}
.attribute-builder .window-content .extra > i {
  margin-left: 0.125rem;
}
.attribute-builder .window-content .extra input[type=checkbox] {
  height: var(--font-size-12);
  margin: 0;
}

.crb-hover .tooltipster-box .tooltipster-content .hover-content h2:not(:first-child) {
  margin-top: 10px;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content ul.boost-details li {
  white-space: nowrap;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.crb-hover .tooltipster-box .tooltipster-content .hover-content ul.boost-details li i {
  font-size: var(--space-5);
  margin-right: var(--space-5);
}

.iwr-editor {
  max-height: 500px;
}
.iwr-editor a.document-id-link {
  display: none;
}
.iwr-editor .entries {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}
.iwr-editor .entries .entry {
  padding: 0.25em 0.5em;
}
.iwr-editor .entries .entry label {
  flex: unset;
  white-space: nowrap;
  width: 6em;
}
.iwr-editor .entries .entry a.form-action,
.iwr-editor .entries .entry .synthetic-source {
  flex: 0;
  margin-left: 0.5em;
}
.iwr-editor .entries .entry:not(.new):nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.075);
}
.iwr-editor select:disabled {
  color: var(--color-text-dark-7);
}
.iwr-editor tags.tagify.pf2e-tagify {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-border-light-tertiary);
}
.iwr-editor tags.tagify.pf2e-tagify[disabled] > .tagify__input {
  margin: 0;
}
.iwr-editor input[type=number] {
  max-width: 5ch;
}

body > .choices__list--dropdown {
  background-color: white;
  position: fixed;
}

.actor.sheet section.window-content {
  font-family: var(--sans-serif);
  overflow: hidden;
  padding: 0;
  /* Mystification data revealed to GMs */
}
.actor.sheet section.window-content {
  --animate-delay: 1s;
  --animate-duration: 1s;
  --animate-repeat: 1;
  --form-field-height: 1.5rem;
}
.actor.sheet section.window-content input[type=checkbox] {
  flex: 0 0 var(--font-size-20);
  height: var(--font-size-20);
  margin: var(--space-3) var(--space-5);
  width: var(--font-size-20);
}
.actor.sheet section.window-content select {
  height: var(--form-field-height);
}
.actor.sheet section.window-content h3 {
  border-bottom: none;
}
.actor.sheet section.window-content button > i {
  margin-right: 0;
}
.actor.sheet section.window-content h1,
.actor.sheet section.window-content h2,
.actor.sheet section.window-content h3,
.actor.sheet section.window-content h4 {
  font-weight: 600;
}
.actor.sheet section.window-content a.disabled {
  cursor: default;
}
.actor.sheet section.window-content a.disabled:hover {
  text-shadow: none;
}
.actor.sheet section.window-content .drag-handle {
  cursor: grab;
}
.actor.sheet section.window-content i.fa-info-circle {
  cursor: help;
}
.actor.sheet section.window-content .image-container {
  position: relative;
}
.actor.sheet section.window-content .image-container .hover-icon {
  --shadow-color: var(--color-text-dark-1);
  color: var(--color-text-light-0);
  bottom: 0;
  display: none;
  font-size: var(--font-size-16);
  padding: var(--space-2);
  position: absolute;
  right: 0;
  text-shadow: 0 0 3px var(--shadow-color), 0 0 5px var(--shadow-color), 0 0 8px var(--shadow-color);
}
.actor.sheet section.window-content .image-container .hover-icon:hover {
  --shadow-color: var(--color-pf-primary);
}
.actor.sheet section.window-content .image-container:hover .hover-icon {
  display: flex;
}
.actor.sheet section.window-content .inventory {
  --border-color: var(--color-pf-alternate);
}
.actor.sheet section.window-content .inventory header.inventory-header {
  align-items: stretch;
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  gap: var(--space-8);
}
.actor.sheet section.window-content .inventory header.inventory-header .search {
  align-items: center;
  display: flex;
  position: relative;
  flex: 1;
}
.actor.sheet section.window-content .inventory header.inventory-header .search::before {
  content: "\f002";
  color: var(--input-text-color);
  font-family: var(--fa6);
  font-weight: bold;
  position: absolute;
  left: 0.5rem;
}
.actor.sheet section.window-content .inventory header.inventory-header .search input {
  border: 1px solid var(--color-pf-alternate);
  background-color: rgba(28, 28, 28, 0.1);
  padding-left: 1.75rem;
  height: 1.625rem;
  line-height: 1.625rem;
}
.actor.sheet section.window-content .inventory .inventory-list,
.actor.sheet section.window-content .inventory ul.items {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}
.actor.sheet section.window-content .inventory .inventory-list .item-name,
.actor.sheet section.window-content .inventory ul.items .item-name {
  align-items: center;
  display: flex;
  flex: 2;
  font-weight: 500;
  gap: 0.25rem;
  padding-right: 0.25rem;
}
.actor.sheet section.window-content .inventory .inventory-list .price,
.actor.sheet section.window-content .inventory .inventory-list .quantity,
.actor.sheet section.window-content .inventory .inventory-list .bulk,
.actor.sheet section.window-content .inventory .inventory-list .item-controls,
.actor.sheet section.window-content .inventory ul.items .price,
.actor.sheet section.window-content .inventory ul.items .quantity,
.actor.sheet section.window-content .inventory ul.items .bulk,
.actor.sheet section.window-content .inventory ul.items .item-controls {
  align-items: center;
  display: flex;
}
.actor.sheet section.window-content .inventory .inventory-list .price,
.actor.sheet section.window-content .inventory ul.items .price {
  flex-basis: 4rem;
}
.actor.sheet section.window-content .inventory .inventory-list .quantity,
.actor.sheet section.window-content .inventory ul.items .quantity {
  flex-basis: 4.25rem;
}
.actor.sheet section.window-content .inventory .inventory-list .bulk,
.actor.sheet section.window-content .inventory ul.items .bulk {
  flex-basis: 2.5rem;
}
.actor.sheet section.window-content .inventory .inventory-list .item-controls,
.actor.sheet section.window-content .inventory ul.items .item-controls {
  flex-basis: 5.625rem;
  font-size: var(--font-size-12);
  gap: 1px;
  justify-content: end;
}
.actor.sheet section.window-content .inventory .inventory-list .item-controls.readonly,
.actor.sheet section.window-content .inventory ul.items .item-controls.readonly {
  flex-basis: 2.5rem;
  padding-right: var(--space-2);
}
.actor.sheet section.window-content .inventory .inventory-list {
  flex: 1;
  overflow: hidden scroll;
  padding-right: 0.15rem;
}
.actor.sheet section.window-content .inventory .inventory-list > header,
.actor.sheet section.window-content .inventory .total-bulk {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  align-items: center;
  background-color: var(--color-pf-alternate);
  color: var(--color-text-light-0);
  display: flex;
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  justify-content: end;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-top: var(--space-6);
  padding: var(--space-4) 0;
  text-rendering: optimizeLegibility;
  text-transform: uppercase;
  width: 100%;
}
.actor.sheet section.window-content .inventory .inventory-list > header:first-child,
.actor.sheet section.window-content .inventory .total-bulk:first-child {
  margin-top: 0;
}
.actor.sheet section.window-content .inventory .inventory-list > header h3,
.actor.sheet section.window-content .inventory .total-bulk h3 {
  font-size: var(--font-size-14);
  margin: 2px 0;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.75);
  text-transform: capitalize;
}
.actor.sheet section.window-content .inventory .inventory-list > header h3:hover,
.actor.sheet section.window-content .inventory .total-bulk h3:hover {
  color: var(--color-text-light-0);
}
.actor.sheet section.window-content .inventory .inventory-list > header .item-controls,
.actor.sheet section.window-content .inventory .total-bulk .item-controls {
  gap: var(--space-4);
}
.actor.sheet section.window-content .inventory .inventory-list > header .item-name {
  padding-left: var(--space-8);
}
.actor.sheet section.window-content .inventory .inventory-list > header > :last-child {
  padding-right: var(--space-4);
}
.actor.sheet section.window-content .inventory .inventory-list > header > span {
  justify-content: center;
}
.actor.sheet section.window-content .inventory ul.items {
  border-top: none;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}
.actor.sheet section.window-content .inventory ul.items > li {
  width: 100%;
}
.actor.sheet section.window-content .inventory ul.items > li:nth-of-type(even) {
  background-color: rgba(120, 100, 82, 0.1);
}
.actor.sheet section.window-content .inventory ul.items > li:last-child .item-summary {
  border-bottom: none;
}
.actor.sheet section.window-content .inventory ul.items > li.temporary-item {
  background-color: rgba(0, 5, 255, 0.1137254902);
}
.actor.sheet section.window-content .inventory ul.items > li > .data {
  display: flex;
  flex-wrap: wrap;
  font-size: var(--font-size-12);
  justify-content: flex-start;
  width: 100%;
}
.actor.sheet section.window-content .inventory ul.items > li > .data.drop-highlight {
  background: #b7f8c7;
}
.actor.sheet section.window-content .inventory ul.items > li > .data .item-name h3,
.actor.sheet section.window-content .inventory ul.items > li > .data .item-name h4 {
  font-weight: 500;
  line-height: var(--font-size-12);
  margin: auto auto auto 0;
  padding: var(--space-2);
  word-break: break-word;
}
.actor.sheet section.window-content .inventory ul.items > li > .data .item-name h3 a:hover,
.actor.sheet section.window-content .inventory ul.items > li > .data .item-name h4 a:hover {
  text-shadow: none;
}
.actor.sheet section.window-content .inventory ul.items > li > .data .item-name h3:hover,
.actor.sheet section.window-content .inventory ul.items > li > .data .item-name h4:hover {
  color: var(--color-pf-primary);
}
.actor.sheet section.window-content .inventory ul.items > li > .data .item-name h3 i.fa-info-circle,
.actor.sheet section.window-content .inventory ul.items > li > .data .item-name h4 i.fa-info-circle {
  color: var(--text-dark);
}
.actor.sheet section.window-content .inventory ul.items > li > .data .item-name h3 i.fa-info-circle:hover,
.actor.sheet section.window-content .inventory ul.items > li > .data .item-name h4 i.fa-info-circle:hover {
  color: var(--text-dark);
}
.actor.sheet section.window-content .inventory ul.items > li > .data .item-name h4:not(:hover).rarity-uncommon {
  border-color: var(--color-rarity-uncommon);
  color: var(--color-rarity-uncommon);
}
.actor.sheet section.window-content .inventory ul.items > li > .data .item-name h4:not(:hover).rarity-rare {
  border-color: var(--color-rarity-rare);
  color: var(--color-rarity-rare);
}
.actor.sheet section.window-content .inventory ul.items > li > .data .item-name h4:not(:hover).rarity-unique {
  border-color: var(--color-rarity-unique);
  color: var(--color-rarity-unique);
}
.actor.sheet section.window-content .inventory ul.items > li > .data .item-name .size {
  color: var(--color-pf-alternate);
  font-size: 0.8em;
  margin: 0;
}
.actor.sheet section.window-content .inventory ul.items > li > .data .item-name .uses {
  color: var(--color-text-dark-3);
  margin-left: auto;
}
.actor.sheet section.window-content .inventory ul.items > li > .data .price,
.actor.sheet section.window-content .inventory ul.items > li > .data .bulk {
  justify-content: center;
  padding-right: 0.2em;
}
.actor.sheet section.window-content .inventory ul.items > li > .data .quantity {
  justify-content: center;
}
.actor.sheet section.window-content .inventory ul.items > li > .data .quantity a {
  opacity: 0.85;
}
.actor.sheet section.window-content .inventory ul.items > li > .data .quantity span {
  min-width: 2ch;
  text-align: center;
}
.actor.sheet section.window-content .inventory ul.items > li > .data .quantity .decrease,
.actor.sheet section.window-content .inventory ul.items > li > .data .quantity .increase {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--sans-serif-monospace);
  height: 100%;
  text-align: center;
  width: 1.125rem;
}
.actor.sheet section.window-content .inventory ul.items > li > .data .item-controls {
  color: var(--text-dark);
  font-size: var(--font-size-13);
}
.actor.sheet section.window-content .inventory ul.items > li > .data .item-controls .invested,
.actor.sheet section.window-content .inventory ul.items > li > .data .item-controls .item-carry-type {
  color: rgba(0, 0, 0, 0.5);
}
.actor.sheet section.window-content .inventory ul.items > li > .data .item-controls .invested.active,
.actor.sheet section.window-content .inventory ul.items > li > .data .item-controls .item-carry-type.active {
  color: var(--color-pf-secondary);
}
.actor.sheet section.window-content .inventory ul.items > li > .data .item-controls .invested .fa-stack,
.actor.sheet section.window-content .inventory ul.items > li > .data .item-controls .item-carry-type .fa-stack {
  margin: calc(-1 * var(--space-3)) calc(-1 * var(--space-2)) 0;
}
.actor.sheet section.window-content .inventory ul.items > li > .data .item-controls .invested .fa-stack .fa-1,
.actor.sheet section.window-content .inventory ul.items > li > .data .item-controls .invested .fa-stack .fa-2,
.actor.sheet section.window-content .inventory ul.items > li > .data .item-controls .item-carry-type .fa-stack .fa-1,
.actor.sheet section.window-content .inventory ul.items > li > .data .item-controls .item-carry-type .fa-stack .fa-2 {
  left: var(--space-1);
  position: relative;
}
.actor.sheet section.window-content .inventory ul.items > li > .data .item-controls > a.item-carry-type {
  text-align: right;
}
.actor.sheet section.window-content .inventory ul.items > li > .data .item-controls > a.detach {
  font-size: 0.8em;
  margin: var(--space-1) var(--space-2) 0 0;
}
.actor.sheet section.window-content .inventory ul.items > li > .data .item-controls > a.notify {
  animation: glow 0.75s infinite alternate;
}
.actor.sheet section.window-content .inventory ul.items > li.drag-preview {
  box-shadow: 0 0 6px inset var(--color-shadow-highlight);
}
.actor.sheet section.window-content .inventory ul.items > li.drag-gap {
  visibility: hidden;
}
.actor.sheet section.window-content .inventory ul.items > li .item-summary {
  background: rgba(255, 255, 255, 0.333);
  border-bottom: 1px solid var(--color-pf-alternate);
  border-top: 1px solid var(--color-pf-alternate);
  flex: 100%;
  padding: var(--space-4) var(--space-8) var(--space-8);
}
.actor.sheet section.window-content .inventory ul.items > li .container-metadata {
  flex-basis: 100%;
}
.actor.sheet section.window-content .inventory ul.items > li .container-metadata .capacity {
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  background-color: rgba(0, 0, 0, 0.75);
  box-shadow: inset 0 0 4px black;
  color: var(--color-text-light-0);
  display: flex;
  position: relative;
  width: 100%;
}
.actor.sheet section.window-content .inventory ul.items > li .container-metadata .capacity .bar {
  background-color: var(--color-pf-secondary);
  border-radius: 0 2px 2px 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  padding: var(--space-8) 0;
}
.actor.sheet section.window-content .inventory ul.items > li .container-metadata .capacity .label {
  height: 100%;
  left: 0;
  padding: var(--space-2);
  position: absolute;
  top: 0;
}
.actor.sheet section.window-content .inventory ul.items > li .container-metadata .capacity.over-limit .container-capacity-bar {
  background-color: var(--color-pf-primary);
}
.actor.sheet section.window-content .inventory ul.items > li ul.container-contents,
.actor.sheet section.window-content .inventory ul.items > li ul.subitems {
  border-left: none;
  border-right: none;
  padding-left: var(--space-10);
}
.actor.sheet section.window-content .inventory ul.items > li ul.container-contents > li,
.actor.sheet section.window-content .inventory ul.items > li ul.subitems > li {
  position: relative;
}
.actor.sheet section.window-content .inventory ul.items > li ul.container-contents > li:nth-of-type(even),
.actor.sheet section.window-content .inventory ul.items > li ul.subitems > li:nth-of-type(even) {
  background-color: rgba(120, 100, 82, 0.1);
}
.actor.sheet section.window-content .inventory ul.items > li ul.container-contents > li:first-of-type .item::before,
.actor.sheet section.window-content .inventory ul.items > li ul.subitems > li:first-of-type .item::before {
  height: 50%;
  top: 0;
}
.actor.sheet section.window-content .inventory ul.items > li ul.container-contents > li::before, .actor.sheet section.window-content .inventory ul.items > li ul.container-contents > li::after,
.actor.sheet section.window-content .inventory ul.items > li ul.subitems > li::before,
.actor.sheet section.window-content .inventory ul.items > li ul.subitems > li::after {
  border-left: 1px solid var(--color-pf-alternate);
  content: "";
  height: 50%;
  left: calc(-1 * var(--space-5));
  position: absolute;
  top: 0;
  width: var(--space-5);
}
.actor.sheet section.window-content .inventory ul.items > li ul.container-contents > li::before,
.actor.sheet section.window-content .inventory ul.items > li ul.subitems > li::before {
  border-bottom: 1px solid var(--color-pf-alternate);
  top: 0;
}
.actor.sheet section.window-content .inventory ul.items > li ul.container-contents > li::after,
.actor.sheet section.window-content .inventory ul.items > li ul.subitems > li::after {
  top: 50%;
}
.actor.sheet section.window-content .inventory ul.items > li ul.container-contents > li .item-summary,
.actor.sheet section.window-content .inventory ul.items > li ul.subitems > li .item-summary {
  border-left: 1px solid var(--color-pf-alternate);
}
.actor.sheet section.window-content .inventory ul.items > li ul.container-contents .container-metadata,
.actor.sheet section.window-content .inventory ul.items > li ul.subitems .container-metadata {
  position: relative;
}
.actor.sheet section.window-content .inventory ul.items > li ul.container-contents .container-metadata::before,
.actor.sheet section.window-content .inventory ul.items > li ul.subitems .container-metadata::before {
  border-left: 1px solid var(--color-pf-alternate);
  content: "";
  height: 100%;
  left: calc(-1 * var(--space-5));
  position: absolute;
  top: 0;
  width: 0;
}
.actor.sheet section.window-content .inventory ul.items > li ul.container-contents > li:last-of-type .item::after,
.actor.sheet section.window-content .inventory ul.items > li ul.container-contents > li:last-of-type .container-metadata::before,
.actor.sheet section.window-content .inventory ul.items > li ul.subitems > li:last-of-type .item::after,
.actor.sheet section.window-content .inventory ul.items > li ul.subitems > li:last-of-type .container-metadata::before {
  border: none;
}
.actor.sheet section.window-content .inventory .inventory-bottom-summary {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-right: var(--space-8);
  gap: var(--space-8);
  margin-top: var(--space-8);
}
.actor.sheet section.window-content .inventory .inventory-bottom-summary .encumbrance {
  align-items: center;
  display: grid;
  grid: "img bar overflow" min-content/1.5rem 1fr;
  flex: 1;
}
.actor.sheet section.window-content .inventory .inventory-bottom-summary .encumbrance img {
  --inset-shadow-length: 0.25rem;
  border: none;
  border-radius: 2px;
  box-shadow: 0 0 0 1px var(--tertiary), 0 0 0 2px #9f725b, inset 0 0 var(--inset-shadow-length) rgba(0, 0, 0, 0.5);
  border-radius: 0;
  grid-area: img;
  position: relative;
  z-index: 4;
}
.actor.sheet section.window-content .inventory .inventory-bottom-summary .encumbrance .encumbrance-bar {
  background-color: var(--color-pf-secondary);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  grid-area: bar;
  height: 1.25rem;
  position: relative;
  width: 100%;
  z-index: 2;
}
.actor.sheet section.window-content .inventory .inventory-bottom-summary .encumbrance.encumbered .encumbrance-bar {
  background-color: var(--color-pf-tertiary-darkest);
}
.actor.sheet section.window-content .inventory .inventory-bottom-summary .encumbrance.over-limit .encumbrance-bar {
  background-color: var(--color-pf-primary);
}
.actor.sheet section.window-content .inventory .inventory-bottom-summary .encumbrance .encumbrance-label {
  align-items: center;
  color: var(--text-light);
  display: flex;
  font: 500 var(--font-size-12) var(--serif);
  grid-area: bar;
  justify-content: space-between;
  padding: var(--space-2) var(--space-8) 0;
  position: relative;
  text-shadow: 0 0 2px black;
  width: 100%;
  z-index: 3;
}
.actor.sheet section.window-content .inventory .inventory-bottom-summary .encumbrance .encumbrance-light-bulk-overflow {
  align-items: center;
  color: var(--text-dark);
  display: flex;
  font: 500 var(--font-size-12) var(--serif);
  grid-area: overflow;
  justify-content: space-between;
  padding: var(--space-2) var(--space-8) 0;
  position: relative;
  text-shadow: 0 0 2px var(--color-text-light-0);
  width: 100%;
  z-index: 3;
}
.actor.sheet section.window-content .inventory .inventory-bottom-summary .encumbrance .bar-bg {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 0 2px 2px 0;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.75);
  grid-area: bar;
  height: 1.25rem;
  position: relative;
  width: 100%;
  z-index: 1;
}
.actor.sheet section.window-content .inventory .inventory-bottom-summary .invested-total {
  align-items: center;
  background-color: var(--color-pf-alternate);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  color: var(--color-text-light-0);
  display: flex;
  flex: none;
  font: 500 var(--font-size-13) var(--sans-serif);
  height: 1.5rem;
  padding: 0 var(--space-8);
}
.actor.sheet section.window-content .inventory .inventory-bottom-summary .invested-total i {
  text-shadow: 0 0 2px black;
  margin-right: var(--space-4);
}
.actor.sheet section.window-content .inventory .inventory-bottom-summary .invested-total.overinvested {
  color: orange;
  text-shadow: 1px 1px 0 black;
}
.actor.sheet section.window-content .inventory .total-bulk {
  border-radius: 0;
  font-weight: 500;
  gap: var(--space-4);
  height: 1.5rem;
  justify-content: start;
  margin-bottom: var(--space-11);
}
.actor.sheet section.window-content .inventory .total-bulk img {
  --inset-shadow-length: 0.25rem;
  border: none;
  border-radius: 2px;
  box-shadow: 0 0 0 1px var(--tertiary), 0 0 0 2px #9f725b, inset 0 0 var(--inset-shadow-length) rgba(0, 0, 0, 0.5);
  height: 1.5rem;
  width: 1.5rem;
  z-index: 1;
}
.actor.sheet section.window-content .item-summary {
  --space-s: 0.25em;
  --space-m: 0.5em;
  --space-l: 1em;
  --space-xl: 1.5em;
  --space-2xl: 2em;
  --radius: 3px;
  line-height: normal;
  overflow: hidden;
  padding: var(--space-4);
}
.actor.sheet section.window-content .item-summary :is(h1, h2, h3, h4, h5, h6):not(:first-child) {
  margin-top: 1em;
}
.actor.sheet section.window-content .item-summary .inline-header {
  display: flex;
  align-items: center;
  gap: var(--space-l);
  background-color: var(--alt);
  font-family: var(--sans-serif);
  color: var(--text-light);
  padding: 0;
  font-size: 0.8em;
  font-weight: 400;
  border: none;
}
.actor.sheet section.window-content .item-summary .inline-header strong {
  display: inline-flex;
  padding: 0 var(--space-m);
  background-color: var(--primary);
  min-width: 15ch;
  border-right: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  font-weight: 400;
}
.actor.sheet section.window-content .item-summary .inline-header + p {
  margin-top: var(--space-s);
}
.actor.sheet section.window-content .item-summary .info {
  background-color: var(--secondary);
  padding: var(--space-m);
  color: var(--text-light);
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  border-radius: var(--radius);
  font-family: var(--sans-serif);
  padding-bottom: var(--space-m);
}
.actor.sheet section.window-content .item-summary .info > * + * {
  margin-top: var(--space-m);
}
.actor.sheet section.window-content .item-summary .info + * {
  margin-top: var(--space-xl);
}
.actor.sheet section.window-content .item-summary .info + .actor.sheet section.window-content .item-summary .info {
  margin-top: var(--space-s);
}
.actor.sheet section.window-content .item-summary .info h4 {
  font-size: 0.9em;
  font-weight: 400;
  line-height: 1.2;
  font-family: var(--sans-serif);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  padding: var(--space-m) var(--space-l);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-light);
}
.actor.sheet section.window-content .item-summary .info h4::after {
  font-family: "Font Awesome 6";
  content: "\f05a";
  font-weight: 900;
  margin-right: var(--space-s);
}
.actor.sheet section.window-content .item-summary .info p,
.actor.sheet section.window-content .item-summary .info span {
  font-size: 0.8em;
  margin: 0;
  padding: 0 var(--space-l);
}
.actor.sheet section.window-content .item-summary .info p:first-of-type,
.actor.sheet section.window-content .item-summary .info span:first-of-type {
  padding-top: var(--space-m);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.actor.sheet section.window-content .item-summary .traits {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}
.actor.sheet section.window-content .item-summary .traits p,
.actor.sheet section.window-content .item-summary .traits span {
  display: inline-flex;
  padding: 0.16rem 0.25rem;
  margin: 0;
  background-color: var(--primary);
  border: 2px solid var(--color-border-trait);
  color: var(--text-light);
  font: 500 var(--font-size-10) var(--sans-serif);
  text-transform: uppercase;
}
.actor.sheet section.window-content .item-summary .statblock {
  font-family: var(--sans-serif-condensed);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: var(--space-m);
}
.actor.sheet section.window-content .item-summary .statblock > * + * {
  margin-top: var(--space-s);
  margin-bottom: 0;
}
.actor.sheet section.window-content .item-summary .statblock p {
  --indent: var(--space-l);
  margin-left: var(--indent);
  position: relative;
}
.actor.sheet section.window-content .item-summary .statblock p strong:first-of-type {
  margin-left: calc(var(--indent) * -1);
}
.actor.sheet section.window-content .item-summary .statblock p .trait:first-of-type {
  margin-left: calc(var(--indent) * -1 - 2px);
}
.actor.sheet section.window-content .item-summary .statblock span.pf2-icon {
  line-height: 1;
}
.actor.sheet section.window-content .item-summary .statblock h1,
.actor.sheet section.window-content .item-summary .statblock h2,
.actor.sheet section.window-content .item-summary .statblock h3,
.actor.sheet section.window-content .item-summary .statblock h4 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border-dark);
  text-transform: uppercase;
  letter-spacing: -0.05em;
  font-family: var(--sans-serif-condensed);
  font-weight: 700;
}
.actor.sheet section.window-content .item-summary .statblock hr {
  border: none;
  border-bottom: 1px solid var(--color-border-dark);
}
.actor.sheet section.window-content .item-summary .message {
  font-family: var(--journal-cursive);
  font-size: 2em;
  line-height: 1.2;
}
.actor.sheet section.window-content .item-summary .tags {
  padding: 0;
}
.actor.sheet section.window-content .item-summary .tags.has-properties {
  row-gap: var(--space-3);
}
.actor.sheet section.window-content .item-summary .tags .tag.property {
  margin-left: var(--space-2);
  border-width: var(--space-1);
  height: calc(1rem + var(--space-1));
}
.actor.sheet section.window-content .item-summary .tags .tag:not(.property) + .tag.property {
  margin-left: var(--space-4);
}
.actor.sheet section.window-content .item-summary .gm-notes {
  background-color: var(--visibility-gm-bg);
  border: 1px dotted rgba(75, 74, 68, 0.5);
  padding: 0 0.25em;
  flex: 0 0 auto;
}
.actor.sheet section.window-content .item-summary .description {
  padding: 0 var(--space-2);
}
.actor.sheet section.window-content .item-summary .description p.item-block-line .adjusted {
  text-decoration: underline dotted 1px black;
}
.actor.sheet section.window-content .item-summary .description .addendum {
  border-image-repeat: repeat;
  border-image-slice: 11;
  border-image-source: url("../assets/sheet/frame-elegant.svg");
  border-image-width: 14px;
  border-style: double;
  background: rgba(68, 55, 48, 0.1);
  border-radius: 2px;
  color: var(--color-pf-alternate-darker);
  padding: var(--space-4);
  margin: 0 0 var(--space-8);
}
.actor.sheet section.window-content .item-summary .description .addendum h4 {
  font-weight: 700;
  margin-bottom: var(--space-6);
  text-align: center;
}
.actor.sheet section.window-content .item-summary .description .addendum p:first-of-type {
  margin-top: 0;
}
.actor.sheet section.window-content .item-summary .button-group {
  align-items: start;
  display: flex;
  gap: var(--space-6);
  justify-content: center;
  flex-direction: column;
}
.actor.sheet section.window-content .item-summary .button-group button {
  width: 100%;
}
.actor.sheet section.window-content .item-image {
  display: flex;
  flex: 0 0 1.5rem;
  font-size: var(--font-size-16);
  height: 1.5rem;
  position: relative;
}
.actor.sheet section.window-content .item-image.framed {
  background-color: var(--tertiary);
}
.actor.sheet section.window-content .item-image.framed img {
  border-radius: 2px;
}
.actor.sheet section.window-content .item-image.framed,
.actor.sheet section.window-content .item-image.framed i {
  --inset-shadow-length: 0.25rem;
  border: none;
  border-radius: 2px;
  box-shadow: 0 0 0 1px var(--tertiary), 0 0 0 2px #9f725b, inset 0 0 var(--inset-shadow-length) rgba(0, 0, 0, 0.5);
}
.actor.sheet section.window-content .item-image img {
  border: none;
  border-radius: 0;
}
.actor.sheet section.window-content .item-image i {
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.5);
  color: var(--text-dark);
  display: none;
  height: 100%;
  position: absolute;
  width: 100%;
}
.actor.sheet section.window-content .item-image:hover {
  text-shadow: none;
}
.actor.sheet section.window-content .item-image:hover i {
  align-items: center;
  background: #f1eee9;
  display: flex;
  justify-content: center;
}
.actor.sheet section.window-content .size-select {
  background-color: var(--color-bg-size);
  border: 2px solid var(--color-border-trait);
  color: var(--color-text-trait);
}
.actor.sheet section.window-content .rarity-select {
  border: 2px solid var(--color-border-trait);
  color: var(--color-text-trait);
}
.actor.sheet section.window-content .rarity-select.common {
  background-color: var(--color-rarity-common);
}
.actor.sheet section.window-content .rarity-select.uncommon {
  background-color: var(--color-rarity-uncommon);
}
.actor.sheet section.window-content .rarity-select.rare {
  background-color: var(--color-rarity-rare);
}
.actor.sheet section.window-content .rarity-select.unique {
  background-color: var(--color-rarity-unique);
}
.actor.sheet section.window-content button.blue {
  align-items: center;
  background: var(--color-pf-secondary);
  border-radius: 2px;
  border: 1px solid var(--color-pf-secondary-lighter);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5);
  color: var(--text-light);
  display: flex;
  font-weight: 500;
  gap: 0.25em;
  justify-content: center;
  line-height: 1.8em;
  margin: 0;
  padding: 0 0.5em;
  width: auto;
}
.actor.sheet section.window-content button.blue:disabled {
  background: rgba(0, 0, 0, 0.1);
  border: none;
  box-shadow: none;
  color: var(--color-disabled);
  pointer-events: none;
}
.actor.sheet section.window-content button.blue:hover {
  border-color: transparent;
  text-shadow: 0 0 0.1em var(--text-light);
}
.actor.sheet section.window-content ul.comma-separated {
  display: inline;
  list-style: none;
  margin: 0 0 var(--space-3);
  padding: 0;
}
.actor.sheet section.window-content ul.comma-separated li {
  display: inline;
  margin: 0;
}
.actor.sheet section.window-content ul.comma-separated li::after {
  content: ",";
}
.actor.sheet section.window-content ul.comma-separated li.details-follow::after {
  content: ";";
}
.actor.sheet section.window-content ul.comma-separated li:last-child::after {
  content: "";
}
.actor.sheet section.window-content ul.comma-separated.senses {
  text-transform: lowercase;
}
.actor.sheet section.window-content form.crb-style {
  display: grid;
  grid: "sidebar header" 4.625rem "sidebar nav" minmax(min-content, max-content) "sidebar content" 1fr/14.375rem 1fr;
  font-family: var(--body-serif);
  background: url("../assets/sheet/header.webp"), url("../assets/sheet/background.webp");
  background-repeat: repeat-x, no-repeat;
  background-size: auto 5.625rem, cover;
  background-attachment: local;
  height: 100%;
  /* Navigation */
  /** White background navigation with little decorations on the left and right */
  /* Read-Only Sheet */
}
.actor.sheet section.window-content form.crb-style .d20-svg {
  width: var(--font-size-19);
  height: var(--font-size-19);
}
.actor.sheet section.window-content form.crb-style header.char-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-light);
}
.actor.sheet section.window-content form.crb-style header.char-header .char-details {
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  margin-left: 8px;
}
.actor.sheet section.window-content form.crb-style header.char-header .char-details h1.char-name {
  margin: 0;
  border: none;
}
.actor.sheet section.window-content form.crb-style header.char-header .char-details h1.char-name span.non-editable {
  letter-spacing: normal;
  word-spacing: normal;
  text-transform: none;
  text-indent: 0;
  text-shadow: none;
  text-rendering: auto;
}
.actor.sheet section.window-content form.crb-style header.char-header .char-details h1.char-name span.non-editable.gender {
  font-size: var(--font-size-14);
}
.actor.sheet section.window-content form.crb-style header.char-header .char-details h1.char-name input[type=text],
.actor.sheet section.window-content form.crb-style header.char-header .char-details h1.char-name span.non-editable {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--font-size-24);
  color: var(--text-light);
  line-height: calc(1em + 1px);
  border-bottom: 1px solid transparent;
  height: 26px;
}
.actor.sheet section.window-content form.crb-style header.char-header .char-details h1.char-name input[type=text]:focus,
.actor.sheet section.window-content form.crb-style header.char-header .char-details h1.char-name span.non-editable:focus {
  box-shadow: none;
  border-bottom: 1px solid var(--text-light);
}
.actor.sheet section.window-content form.crb-style header.char-header .char-details h2.non-editable.ancestry-class {
  font-family: var(--serif);
  border-bottom: none;
  margin-bottom: 0;
  font-weight: 400;
}
.actor.sheet section.window-content form.crb-style header.char-header .char-level {
  display: flex;
  justify-content: flex-start;
  padding-bottom: 4px;
}
.actor.sheet section.window-content form.crb-style header.char-header .char-level .level {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 43px;
  width: 40px;
  background: url("../assets/sheet/level-badge.webp") no-repeat;
  background-size: 40px 43px;
  z-index: 2;
  font-size: 0;
  padding-top: 2px;
}
.actor.sheet section.window-content form.crb-style header.char-header .char-level .level label {
  color: var(--sidebar-label);
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
.actor.sheet section.window-content form.crb-style header.char-header .char-level .level input {
  font-family: var(--serif);
  font-size: var(--font-size-22);
  font-weight: 400;
  color: var(--text-light);
  line-height: calc(1em + 1px);
  height: 24px;
}
.actor.sheet section.window-content form.crb-style header.char-header .char-level .level label,
.actor.sheet section.window-content form.crb-style header.char-header .char-level .level input {
  margin-left: 1px;
  text-align: center;
}
.actor.sheet section.window-content form.crb-style .char-header {
  grid-area: header;
  padding-right: 1rem;
}
.actor.sheet section.window-content form.crb-style .sheet-navigation {
  grid-area: nav;
}
.actor.sheet section.window-content form.crb-style .sheet-body {
  grid-area: content;
  position: relative;
}
.actor.sheet section.window-content form.crb-style .sheet-body ol {
  list-style: none;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content,
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .inventory {
  bottom: 0;
  display: flex;
  flex-direction: column;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content {
  color: var(--text-dark);
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content > .tab {
  padding: var(--space-10) var(--space-10) 0;
  display: none;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content > .tab.active {
  display: initial;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list {
  border-bottom: 1px solid var(--color-border-light-2);
  display: flex;
  flex-basis: 100%;
  flex-flow: column nowrap;
  gap: var(--space-1);
  margin: 0;
  padding: 0;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li {
  --range-uses-width: 4rem;
  --cast-spell-width: min-content;
  --controls-width: 3rem;
  align-items: center;
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr 6rem var(--range-uses-width) var(--cast-spell-width) var(--controls-width);
  margin: 0;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li > * {
  align-items: center;
  justify-self: center;
  display: flex;
  flex-wrap: nowrap;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li > *.defense, .actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li > *.range {
  text-align: center;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li:nth-child(odd) {
  background-color: rgba(120, 100, 82, 0.1);
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li:nth-child(even) .item-summary {
  background: none;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li:last-child {
  border-bottom: 1px solid var(--sub);
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li.header-row {
  background: rgba(96, 88, 86, 0.25);
  border: 1px solid var(--color-border-light-2);
  border-radius: 2px;
  font: 500 var(--font-size-12) var(--sans-serif);
  line-height: 2.25em;
  margin-bottom: 0.125em;
  padding: 0 0.25em;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li.header-row:not(:first-child) {
  margin-top: 0.125em;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li.header-row h3 {
  text-transform: capitalize;
  font-size: var(--font-size-13);
  padding: 0.25rem 0;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li.header-row .item-name {
  line-height: 1;
  gap: 0.25em;
  padding-left: 0.2em;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li.header-row .item-name h3 {
  margin: 0 var(--space-8) 0 0;
  font-weight: 700;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li.header-row .invisible {
  visibility: hidden;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li.header-row .item-controls {
  gap: 0.125rem;
  padding-right: 0.25em;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li.header-row input,
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li .uses input {
  background: var(--color-pf-alternate);
  border: 1px solid var(--sub);
  border-radius: 3px;
  color: var(--text-light);
  font: var(--font-size-12) var(--sans-serif);
  height: unset;
  text-align: center;
  width: 2em;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li.header-row .spell-slots-increment-reset,
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li .uses .spell-slots-increment-reset {
  font-size: var(--font-size-10);
  padding-left: var(--space-5);
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li.spell {
  border: none;
  font-size: var(--font-size-13);
  padding: var(--space-3) var(--space-4);
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li.spell[data-slot-expended] h4 {
  color: var(--color-disabled);
  text-decoration: line-through;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li.spell[data-slot-expended] button.cast-spell {
  background: var(--color-disabled);
  border-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li.spell[data-slot-expended] button.cast-spell:hover {
  text-shadow: none;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li.spell:nth-child(even) {
  padding: var(--space-2) var(--space-4);
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li .item-name {
  justify-self: start;
  width: 100%;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li .item-name.empty {
  opacity: 0.75;
  pointer-events: none;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li .item-name.empty .item-image {
  --inset-shadow-length: 0.125rem;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li .item-name h3 {
  white-space: nowrap;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li .item-name + span {
  font-size: var(--font-size-12);
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li .item-name .item-image {
  flex: 0 0 1.5rem;
  height: 1.5rem;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li .item-name .focus-pool-input {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-3);
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li .item-name .spell-slots,
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li .item-name .spell-max {
  padding-top: var(--space-3);
  font-size: var(--font-size-12);
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li .item-name .spell-slots.infinity,
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li .item-name .spell-max.infinity {
  position: relative;
  top: calc(-1 * var(--space-2));
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li .item-name h4 {
  margin: 0;
  padding: 0;
  font: 500 var(--font-size-14)/1 var(--body-serif);
  letter-spacing: -0.025em;
  margin-left: 0.5em;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li .item-name h4 > a:hover {
  color: var(--color-pf-secondary);
  text-shadow: none;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li .item-name .action-glyph {
  margin-left: var(--space-2);
  font-size: small;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li .uses {
  display: flex;
  gap: 0.25em;
  line-height: 1;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li button.cast-spell {
  font: 500 var(--font-size-10)/1.8em var(--sans-serif);
  justify-self: end;
  min-width: 2.5rem;
  padding: 0 0.25em;
  text-transform: uppercase;
  width: fit-content;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li .item-controls {
  justify-content: end;
  justify-self: end;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li .item-summary {
  background-color: rgba(248, 244, 241, 0.5);
  border-bottom: 1px solid var(--sub);
  border-top: 1px solid rgb(15.2967032967, 14.021978022, 13.7032967033);
  display: block;
  grid-column: span 5;
  padding: var(--space-4) 0 var(--space-8);
  width: 100%;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list[data-category=innate] > li {
  --range-uses-width: 5.5rem;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list[data-category=innate] > li > .uses .unlimited {
  font-size: var(--font-size-18);
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list[data-category=spontaneous] .virtual {
  backdrop-filter: blur(8px) hue-rotate(210deg) saturate(2);
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list[data-category=spontaneous] .item:not(.virtual) + .virtual {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list .level-prepared-header {
  font-size: 0.75rem;
  color: var(--text-light);
  margin: 0;
  padding: var(--space-4);
  text-align: center;
  background: var(--color-pf-secondary);
  position: relative;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .directory-list > h3,
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .directory-list > li > h3 {
  color: var(--text-light);
  font: 500 var(--font-size-16)/1 var(--serif);
  margin: 0 0 0 var(--space-8);
  padding: 0;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .directory-list .action-header {
  align-items: center;
  background: var(--color-pf-primary);
  border: none;
  border-radius: 0.25em;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  display: flex;
  flex-basis: 100%;
  flex-wrap: nowrap;
  height: 1.75rem;
  justify-content: space-between;
  margin-left: 0;
  margin-top: var(--space-8);
  padding: 0 0.5em;
  width: 100%;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .directory-list .action-header:first-child {
  margin-top: 0;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .directory-list .action-header + li {
  border-top: none;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .directory-list .action-header .drag-handle {
  color: var(--text-light);
  flex-basis: 0;
  margin-right: 0.25em;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .directory-list .action-header .drag-handle i {
  padding-top: 0.25em;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .directory-list .action-header .item-controls {
  color: var(--text-light);
  flex: 1 0 auto;
  font: 0.85em var(--sans-serif);
  letter-spacing: 0.05em;
  margin-left: auto;
  max-width: fit-content;
  text-transform: uppercase;
  font-size: var(--font-size-12);
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .directory-list .action-header h3,
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .directory-list .action-header h4 {
  color: var(--text-light);
  flex: 1 1 100%;
  margin-bottom: 0;
  font-size: var(--font-size-16);
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .directory-list .action-header h3 input.item-name-input,
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .directory-list .action-header h4 input.item-name-input {
  color: var(--text-light);
  max-width: 100%;
  font-weight: 500;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .directory-list .action-header h3 input.item-name-input:read-only,
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .directory-list .action-header h4 input.item-name-input:read-only {
  pointer-events: none;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .directory-list .action-header h4 {
  font-size: var(--font-size-14);
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions .actions-container {
  padding: var(--space-8) var(--space-4) 2rem;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions .actions-container .actions-tabs-wrapper {
  justify-items: center;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions .actions-container .actions-tabs-wrapper .action-radio {
  display: none;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions .actions-container .actions-tabs-wrapper .actions-panels {
  min-height: min-content;
  width: 100%;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions .actions-container .actions-tabs-wrapper .actions-panels .actions-panel {
  display: none;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions .actions-container .actions-tabs-wrapper .actions-panels .actions-panel.active {
  display: flex;
  flex-direction: column;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list {
  padding-left: 0;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action-header {
  align-items: center;
  display: flex;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action, .actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.strike {
  border: solid transparent;
  border-image: linear-gradient(90deg, #f1edea, rgb(212.7821782178, 202.4851485149, 193.2178217822)) 1 repeat;
  border-width: 0 0 var(--space-1);
  padding: var(--space-4);
  width: 100%;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action p:empty, .actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.strike p:empty {
  display: none;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action .item-image, .actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.strike .item-image {
  display: flex;
  justify-content: center;
  align-items: center;
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
  font-size: var(--font-size-18);
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action button.use-action, .actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.strike button.use-action {
  align-items: center;
  border-radius: 2px;
  border: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), inset 0 0 0 2px rgba(0, 0, 0, 0.2);
  display: flex;
  flex: 0;
  font: 500 var(--font-size-10) var(--sans-serif);
  gap: 0.25em;
  height: 2em;
  justify-content: space-evenly;
  letter-spacing: 0.05em;
  margin: 0;
  max-width: fit-content;
  padding: 0.5em;
  text-rendering: optimizeLegibility;
  text-transform: uppercase;
  white-space: nowrap;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action button.use-action:not(:disabled), .actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.strike button.use-action:not(:disabled) {
  background: var(--bg-dark);
  cursor: pointer;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action button.use-action:not(:disabled):hover, .actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.strike button.use-action:not(:disabled):hover {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15), inset 0 0 0 2px rgba(0, 0, 0, 0.4);
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action button.use-action:not(:disabled):active, .actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.strike button.use-action:not(:disabled):active {
  color: var(--color-pf-primary);
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action .item-summary, .actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.strike .item-summary {
  border-image-repeat: repeat;
  border-image-slice: 11;
  border-image-source: url("../assets/sheet/frame-elegant.svg");
  border-image-width: 14px;
  border-style: double;
  padding: 0.5rem 1rem 1rem;
  margin: var(--space-8) 0;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action .item-summary .title,
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action .item-summary .framing, .actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.strike .item-summary .title,
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.strike .item-summary .framing {
  color: var(--color-pf-primary);
  margin-top: 1em;
  margin: 0;
  padding: 0;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action .item-summary .framing, .actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.strike .item-summary .framing {
  color: var(--color-pf-secondary);
  margin: 1em 0 0.25em;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action .item-summary .framing strong, .actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.strike .item-summary .framing strong {
  font-weight: 500;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action .item-summary .framing + p, .actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.strike .item-summary .framing + p {
  margin-top: 0;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action .item-summary img, .actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.strike .item-summary img {
  border: none;
  vertical-align: middle;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action .item-summary img.actionlight, .actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.strike .item-summary img.actionlight {
  background: var(--color-pf-alternate);
  vertical-align: middle;
  border: 1px solid var(--text-dark);
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action .item-summary .item-properties .tag.toggled-on:hover, .actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action .item-summary .item-properties .tag.toggled-off:hover, .actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.strike .item-summary .item-properties .tag.toggled-on:hover, .actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.strike .item-summary .item-properties .tag.toggled-off:hover {
  box-shadow: none;
  text-shadow: 0 0 2px white;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action .item-summary .item-properties .tag.toggled-on, .actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action .item-summary .item-properties .tag.toggled-off, .actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.strike .item-summary .item-properties .tag.toggled-on, .actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.strike .item-summary .item-properties .tag.toggled-off {
  cursor: pointer;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action .item-summary .item-properties .tag.toggled-on, .actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.strike .item-summary .item-properties .tag.toggled-on {
  background-color: rgba(23, 31, 105, 0.5);
  color: var(--text-dark);
  text-shadow: 0 0 2px white;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action .item-summary dd, .actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.strike .item-summary dd {
  margin: 0;
  margin-bottom: var(--space-8);
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action .item-summary .tag.tag_secondary, .actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.strike .item-summary .tag.tag_secondary {
  background-color: rgba(0, 0, 0, 0.8);
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action {
  align-items: center;
  column-gap: var(--space-8);
  display: grid;
  grid: "icon    name    tracking controls" 1fr "icon    buttons tracking controls" auto "summary summary summary   summary" auto/min-content 1fr min-content 2rem;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action.hidden {
  display: none;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action > .icon {
  grid-area: icon;
  height: 2rem;
  width: 2rem;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action .name {
  align-items: center;
  display: flex;
  gap: var(--space-4);
  grid-area: name;
  margin-bottom: 0;
  text-align: left;
  white-space: nowrap;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action .name > a:hover {
  color: var(--color-pf-primary);
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action .item-controls {
  font-size: var(--font-size-12);
  grid-area: controls;
  white-space: nowrap;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action .button-group {
  grid-area: buttons;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action .frequency {
  grid-area: tracking;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action .item-controls {
  grid-area: controls;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.action .item-summary {
  grid-area: summary;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content footer {
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  color: var(--color-pf-primary);
  text-align: right;
  line-height: 1.4;
  margin: 1em 1em 0;
}
.actor.sheet section.window-content form.crb-style nav.sheet-navigation {
  align-items: center;
  background: url("../assets/sheet/border-pattern.webp") repeat-x top, url("../assets/sheet/border-pattern.webp") repeat-x bottom, var(--color-pf-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  gap: var(--space-11);
  height: 1.25rem;
  justify-content: center;
  position: relative;
  transition: all 0.1s ease-out;
}
.actor.sheet section.window-content form.crb-style nav.sheet-navigation .panel-title {
  color: var(--text-light);
  margin-right: auto;
  padding-left: 1em;
  white-space: nowrap;
}
.actor.sheet section.window-content form.crb-style nav.sheet-navigation > a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--font-size-12);
}
.actor.sheet section.window-content form.crb-style nav.sheet-navigation .item {
  background-image: url("../assets/sheet/nav-item-inactive.webp");
  background-size: contain;
  border-radius: 50%;
  color: var(--color-pf-tertiary);
  fill: var(--color-pf-tertiary);
  height: 1.5rem;
  transition: all 0.1s ease-out;
  width: 1.5rem;
  z-index: 1;
  /* prettier-ignore */
  box-shadow: 0 0 0 1px var(--color-pf-tertiary), 0 0 0 2px #9f725b, inset 0 0 4px rgba(0, 0, 0, 0.25);
}
.actor.sheet section.window-content form.crb-style nav.sheet-navigation .item.active {
  box-shadow: 0 0 0 1px var(--color-pf-tertiary), 0 0 0 2px #9f725b, inset 0 0 4px rgba(0, 0, 0, 0.25), 0 0 8px var(--color-pf-tertiary);
}
.actor.sheet section.window-content form.crb-style nav.sheet-navigation .item:last-child {
  margin-right: 10px;
}
.actor.sheet section.window-content form.crb-style nav.sheet-navigation .item:hover, .actor.sheet section.window-content form.crb-style nav.sheet-navigation .item.active {
  z-index: 2;
  transform: scale(1.2);
  color: var(--text-light);
  fill: var(--text-light);
  background-image: url("../assets/sheet/nav-item.webp");
}
.actor.sheet section.window-content form.crb-style nav.sheet-navigation .item i.fa-solid {
  padding-bottom: 0;
}
.actor.sheet section.window-content form.crb-style nav.sheet-navigation .item:hover .pfs-icon {
  filter: drop-shadow(0 0 8px var(--color-shadow-primary));
}
.actor.sheet section.window-content form.crb-style nav.sheet-navigation .item .action-glyph {
  font-size: 1rem;
}
.actor.sheet section.window-content form.crb-style nav.sub-nav {
  align-items: center;
  background-color: var(--bg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-wrap: nowrap;
  flex: 0 0 2.5rem;
  justify-content: space-evenly;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  width: 100%;
}
.actor.sheet section.window-content form.crb-style nav.sub-nav::before, .actor.sheet section.window-content form.crb-style nav.sub-nav::after {
  background: url("../assets/sheet/sub-nav-decoration.webp");
  content: "";
  height: 1rem;
  width: 2.5rem;
  margin: 0 1rem;
}
.actor.sheet section.window-content form.crb-style nav.sub-nav::after {
  transform: scaleX(-100%);
}
.actor.sheet section.window-content form.crb-style nav.sub-nav a {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-right: 1px solid rgba(0, 0, 0, 0.2);
  color: var(--color-pf-alternate);
  display: block;
  flex: 1;
  font: 400 var(--font-size-16) var(--serif);
  text-align: center;
  text-decoration: none;
  transition: all 0.1s ease-out;
}
.actor.sheet section.window-content form.crb-style nav.sub-nav a:hover, .actor.sheet section.window-content form.crb-style nav.sub-nav a.active {
  color: var(--color-pf-primary);
}
.actor.sheet section.window-content form.crb-style nav.sub-nav a.active {
  font-weight: 500;
}
.actor.sheet section.window-content form.crb-style nav.sub-nav a:first-child {
  border-left: none;
}
.actor.sheet section.window-content form.crb-style nav.sub-nav a:last-child {
  border-right: none;
}
.actor.sheet section.window-content form.crb-style nav.sub-nav a:hover {
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
}
.actor.sheet section.window-content form.crb-style section.major > header,
.actor.sheet section.window-content form.crb-style section.major > .subsection > header {
  border-bottom: 1px solid var(--color-border-divider);
  color: var(--color-pf-primary);
  font: 600 var(--font-size-16)/1 var(--serif);
  position: relative;
  margin: var(--space-8) 0;
}
.actor.sheet section.window-content form.crb-style section.major > header a,
.actor.sheet section.window-content form.crb-style section.major > .subsection > header a {
  color: var(--color-text-dark-primary);
  font-size: var(--font-size-12);
}
.actor.sheet section.window-content form.crb-style section.major > header > button, .actor.sheet section.window-content form.crb-style section.major > header > .controls,
.actor.sheet section.window-content form.crb-style section.major > .subsection > header > button,
.actor.sheet section.window-content form.crb-style section.major > .subsection > header > .controls {
  position: absolute;
  bottom: calc(-1 * var(--space-1));
  right: 0;
}
.actor.sheet section.window-content form.crb-style section.major > header .controls,
.actor.sheet section.window-content form.crb-style section.major > .subsection > header .controls {
  display: flex;
}
.actor.sheet section.window-content form.crb-style section.major > header button,
.actor.sheet section.window-content form.crb-style section.major > .subsection > header button {
  background: transparent;
  border-radius: 2px 2px 0 0;
  border: 1px solid var(--color-border-divider);
  color: var(--color-pf-primary);
  cursor: pointer;
  font: 500 var(--font-size-12)/1 var(--sans-serif);
  height: 1.25rem;
  margin: 0;
  outline: none;
  text-transform: uppercase;
  width: auto;
}
.actor.sheet section.window-content form.crb-style section.major > header button.has-unallocated,
.actor.sheet section.window-content form.crb-style section.major > .subsection > header button.has-unallocated {
  animation: glow 0.75s infinite alternate;
}
.actor.sheet section.window-content form.crb-style section.major > header a.inactive,
.actor.sheet section.window-content form.crb-style section.major > header button.inactive,
.actor.sheet section.window-content form.crb-style section.major > .subsection > header a.inactive,
.actor.sheet section.window-content form.crb-style section.major > .subsection > header button.inactive {
  color: var(--color-text-dark-6);
}
.actor.sheet section.window-content form.crb-style section.major > header a input[type=checkbox],
.actor.sheet section.window-content form.crb-style section.major > header button input[type=checkbox],
.actor.sheet section.window-content form.crb-style section.major > .subsection > header a input[type=checkbox],
.actor.sheet section.window-content form.crb-style section.major > .subsection > header button input[type=checkbox] {
  margin: 0;
  height: var(--font-size-10);
  width: var(--font-size-10);
}
.actor.sheet section.window-content form.crb-style section.major > .subsection {
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}
.actor.sheet section.window-content form.crb-style section.major > .subsection header {
  display: flex;
  flex-basis: 100%;
  margin-top: 0;
}
.actor.sheet section.window-content form.crb-style.limited .sidebar {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.actor.sheet section.window-content form.crb-style.limited .sidebar .profile-img {
  display: flex;
  align-items: end;
  margin: 1rem 0;
  max-width: 85%;
  max-height: 200px;
  background-color: var(--tertiary);
  background-size: cover;
  background-position: top center;
  border: 1px solid rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 1px #c0c0c0, 0 0 0 2px #808080;
}
.actor.sheet section.window-content form.crb-style.limited .sidebar .appearance {
  color: var(--sidebar-title);
  display: flex;
  flex-direction: column;
}
.actor.sheet section.window-content form.crb-style.limited .sidebar .appearance h3 {
  border-bottom: none;
  font-size: 1rem;
  text-align: center;
}
.actor.sheet section.window-content form.crb-style.limited .sidebar .appearance .body {
  font-weight: 400;
  font-size: var(--font-size-14);
}
.actor.sheet section.window-content form.crb-style.limited .sidebar .orn img {
  border: none;
  position: relative;
}
.actor.sheet section.window-content form.crb-style.limited .sidebar .orn img:first-child {
  left: 4px;
}
.actor.sheet section.window-content form.crb-style.limited .sidebar .orn img:last-child {
  right: 4px;
  transform: scaleX(-1);
}
.actor.sheet section.window-content form.crb-style.limited .sidebar ul.stats {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.actor.sheet section.window-content form.crb-style.limited .sidebar ul.stats li {
  margin: 0;
  padding: 0;
}
.actor.sheet section.window-content form.crb-style.limited .tab.biography .bio.backstory p:first-child {
  margin-top: 0;
}
.actor.sheet section.window-content form.crb-style input.adjusted:not(:focus) {
  font-weight: 700;
  color: var(--color-pf-text-adjusted-higher);
}
.actor.sheet section.window-content form.crb-style button.tag:disabled {
  background-color: var(--color-text-dark-inactive);
  cursor: not-allowed;
}
.actor.sheet section.window-content form.crb-style .tags .tag.edit-btn {
  align-items: center;
  border-radius: 0;
  display: flex;
  justify-content: center;
}
.actor.sheet section.window-content form.crb-style .tags .tag.edit-btn a {
  display: inline-flex;
}
.actor.sheet section.window-content form.crb-style .tags .tag.edit-btn a svg {
  height: var(--space-9);
  width: auto;
}
.actor.sheet section.window-content .gm-mystified-data {
  opacity: 0.75;
}
.actor.sheet section.window-content .currency {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  align-items: center;
  background-color: var(--sub);
  display: flex;
  font-size: var(--font-size-13);
  list-style: none;
  margin: 0;
  padding: 3px;
}
.actor.sheet section.window-content .currency .label {
  color: var(--color-text-light-0);
  font-weight: 500;
  margin: 0 0.5rem 0 0.25rem;
}
.actor.sheet section.window-content .currency .denomination {
  align-items: center;
  background-color: transparent;
  border-left: 1px solid rgba(0, 0, 0, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-light-0);
  display: flex;
  flex-wrap: nowrap;
  flex: 0 1 auto;
  justify-content: start;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.75);
  width: 100%;
}
.actor.sheet section.window-content .currency .denomination:first-child {
  border-left: none;
}
.actor.sheet section.window-content .currency .denomination:last-child {
  border-right: none;
  margin-right: 8px;
}
.actor.sheet section.window-content .currency .denomination label {
  color: #ffe8d1;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.2), -1px -1px 1px rgba(0, 0, 0, 0.2);
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
}
.actor.sheet section.window-content .currency .denomination span {
  padding-left: 8px;
  padding-right: 12px;
}
.actor.sheet section.window-content .currency .denomination.pp .currency-image {
  background: url("../icons/equipment/treasure/currency/platinum-pieces.webp") no-repeat;
}
.actor.sheet section.window-content .currency .denomination.gp .currency-image {
  background: url("../icons/equipment/treasure/currency/gold-pieces.webp") no-repeat;
}
.actor.sheet section.window-content .currency .denomination.sp .currency-image {
  background: url("../icons/equipment/treasure/currency/silver-pieces.webp") no-repeat;
}
.actor.sheet section.window-content .currency .denomination.cp .currency-image {
  background: url("../icons/equipment/treasure/currency/copper-pieces.webp") no-repeat;
}
.actor.sheet section.window-content .currency .denomination .currency-image {
  box-shadow: 0 0 0 1px #9f725b, 0 0 0 2px var(--tertiary), 0 0 0 3px #956d58;
  height: 1.5rem;
  width: 1.5rem;
  background-size: cover !important;
}
.actor.sheet section.window-content .currency li > button {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  background-color: var(--tertiary);
  border-radius: 1px;
  border: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 0 3px rgba(0, 0, 0, 0.5);
  color: rgba(0, 0, 0, 0.75);
  font-size: var(--font-size-13);
  font-weight: 600;
  height: 1.5rem;
  line-height: 1;
  margin-left: 2px;
  width: 1.875rem;
}
.actor.sheet section.window-content .currency li > button > i {
  margin: 0;
  padding: 0;
}
.actor.sheet section.window-content .currency li > button:disabled {
  opacity: 0.6;
}
.actor.sheet section.window-content .currency li > button:hover:not(:disabled) {
  background-color: var(--primary);
  color: var(--color-text-light-0);
  cursor: pointer;
}
.actor.sheet section.window-content .wealth {
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  align-items: center;
  background-color: var(--alt);
  display: flex;
  margin-bottom: 0.5rem;
  min-height: 1.5rem;
  justify-content: flex-end;
  padding: 0 0.25rem;
}
.actor.sheet section.window-content .wealth h3 {
  font-size: var(--font-size-13);
  text-transform: capitalize;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.75);
  margin: 2px;
  margin-left: 0.25rem;
  cursor: default;
}
.actor.sheet section.window-content .wealth h3:hover {
  color: var(--color-text-light-0);
}
.actor.sheet section.window-content .wealth h3.item-name {
  flex-grow: 1;
  color: var(--color-text-light-0);
  margin-bottom: 0;
  font-weight: bold;
}
.actor.sheet section.window-content .wealth h3.item-name span {
  margin-left: 0.25rem;
  font-weight: normal;
  text-transform: uppercase;
}
.actor.sheet section.window-content .wealth ol {
  padding-right: 0;
  padding-bottom: 0;
  margin-bottom: 0;
  margin-right: 0;
}

.actor.sheet.character section.window-content .crb-style .pf-rank {
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  background: var(--color-proficiency-untrained);
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  display: block;
  font-weight: 500;
  height: 1rem;
  line-height: 1rem;
  overflow: hidden;
  padding: 0 var(--space-1);
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 4.25rem;
}
.actor.sheet.character section.window-content .crb-style .pf-rank.readonly {
  pointer-events: none;
}
.actor.sheet.character section.window-content .crb-style .pf-rank[data-rank="0"],
.actor.sheet.character section.window-content .crb-style .pf-rank option[value="0"] {
  background: var(--color-proficiency-untrained);
}
.actor.sheet.character section.window-content .crb-style .pf-rank[data-rank="1"],
.actor.sheet.character section.window-content .crb-style .pf-rank option[value="1"] {
  background: var(--color-proficiency-trained);
}
.actor.sheet.character section.window-content .crb-style .pf-rank[data-rank="2"],
.actor.sheet.character section.window-content .crb-style .pf-rank option[value="2"] {
  background: var(--color-proficiency-expert);
}
.actor.sheet.character section.window-content .crb-style .pf-rank[data-rank="3"],
.actor.sheet.character section.window-content .crb-style .pf-rank option[value="3"] {
  background: var(--color-proficiency-master);
}
.actor.sheet.character section.window-content .crb-style .pf-rank[data-rank="4"],
.actor.sheet.character section.window-content .crb-style .pf-rank option[value="4"] {
  background: var(--color-proficiency-legendary);
}
.actor.sheet.character section.window-content .crb-style select.pf-rank {
  cursor: pointer;
  line-height: initial;
}
.actor.sheet.character section.window-content .crb-style select.pf-rank:disabled {
  cursor: default;
}
.actor.sheet.character section.window-content .crb-style aside {
  background-image: url("../assets/sheet/red_sidebar_top.webp"), url("../assets/sheet/red_sidebar_bottom.webp");
  background-repeat: no-repeat;
  background-position: center calc(100% - 3.25rem), center bottom;
  background-size: 14rem 100%, 14rem 3.25rem;
  color: var(--sidebar-label);
  display: flex;
  flex-direction: column;
  font: 600 var(--font-size-10) var(--serif);
  grid-area: sidebar;
  margin-left: 8px;
}
.actor.sheet.character section.window-content .crb-style aside img.logo {
  width: calc(14rem + var(--space-10));
}
.actor.sheet.character section.window-content .crb-style aside input[type=number],
.actor.sheet.character section.window-content .crb-style aside input[type=text] {
  color: var(--text-light);
  font-weight: initial;
  line-height: 1em;
  text-align: center;
}
.actor.sheet.character section.window-content .crb-style aside input[type=number]:focus,
.actor.sheet.character section.window-content .crb-style aside input[type=text]:focus {
  box-shadow: none;
}
.actor.sheet.character section.window-content .crb-style aside input[type=number]::-webkit-outer-spin-button, .actor.sheet.character section.window-content .crb-style aside input[type=number]::-webkit-inner-spin-button,
.actor.sheet.character section.window-content .crb-style aside input[type=text]::-webkit-outer-spin-button,
.actor.sheet.character section.window-content .crb-style aside input[type=text]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.actor.sheet.character section.window-content .crb-style aside input[type=number]:hover,
.actor.sheet.character section.window-content .crb-style aside input[type=text]:hover {
  text-shadow: 0 0 4px var(--tertiary);
}
.actor.sheet.character section.window-content .crb-style aside select {
  border: 1px solid #956d58;
  /* prettier-ignore */
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), inset 0 0 4px rgba(0, 0, 0, 0.5);
  background-color: var(--color-pf-primary);
  font-size: var(--font-size-15);
  max-width: 100%;
  padding: var(--space-2) var(--space-6);
  width: 100%;
}
.actor.sheet.character section.window-content .crb-style aside .logo {
  border: none;
  flex-shrink: 0;
  margin: var(--space-5) calc(-1 * var(--space-6)) 0 calc(-1 * var(--space-6));
  max-width: unset;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar {
  margin-bottom: 2.625rem;
  overflow: hidden auto;
  padding: 0 var(--space-2) var(--space-2) var(--space-6);
  scrollbar-gutter: stable;
}
@-moz-document url-prefix() {
  .actor.sheet.character section.window-content .crb-style aside .sidebar {
    padding-right: var(--space-6);
  }
}
.actor.sheet.character section.window-content .crb-style aside .sidebar h2,
.actor.sheet.character section.window-content .crb-style aside .sidebar h3,
.actor.sheet.character section.window-content .crb-style aside .sidebar h4 {
  margin: 0;
  line-height: 1;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar header {
  align-items: end;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  margin: 0.8em 0 0.5em;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar header:first-of-type {
  margin-bottom: calc(-1 * var(--space-1));
  margin-top: 0.5em;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar header h2 {
  color: var(--sidebar-title);
  flex: 1;
  font-family: var(--sans-serif);
  font-size: var(--font-size-13);
  font-variant: small-caps;
  letter-spacing: 0.05em;
  line-height: 1;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar header button {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 2px 2px 0 0;
  border: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  color: var(--color-pf-primary);
  flex: 0;
  font: 600 var(--font-size-9) var(--sans-serif);
  letter-spacing: 0.05em;
  line-height: 1;
  margin: 0;
  padding: var(--space-2) var(--space-3);
  text-rendering: optimizeLegibility;
  text-transform: uppercase;
  white-space: nowrap;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar header button:hover:not(:disabled) {
  background: var(--color-text-light-0);
  box-shadow: inset 0 0 0 1px var(--color-text-light-0);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar header button,
.actor.sheet.character section.window-content .crb-style aside .sidebar header h2 {
  border-bottom: 1px solid var(--sidebar-title);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .sidebar_label {
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  color: var(--sidebar-label);
  white-space: nowrap;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar a.roll-icon.rest {
  padding-bottom: 0;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar a.condition-pips {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar a.condition-pips .pips {
  display: flex;
  gap: var(--space-1);
  justify-content: center;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .data-value {
  align-items: center;
  display: flex;
  font-size: 0; /* Removes whitespace for inputs */
  justify-content: center;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .data-value h2 {
  border: none;
  color: var(--color-pf-tertiary);
  font: 400 var(--font-size-28)/1 var(--serif);
  text-align: center;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar a.roll-icon {
  align-items: center;
  display: inline-flex;
  padding-bottom: var(--space-2);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar a.roll-icon i {
  color: var(--text-light);
  font-size: var(--font-size-19);
  transition: all 0.2s ease-in-out;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar a.roll-icon svg path {
  fill: var(--text-light);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar a.roll-icon:hover i {
  transform: scale(1.25);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar a.roll-icon:hover svg {
  animation: rotation 2s infinite linear;
}
@keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(359deg);
  }
}
.actor.sheet.character section.window-content .crb-style aside .sidebar a.roll-icon.disabled {
  cursor: default;
  filter: brightness(0.75);
  opacity: 0.75;
  text-shadow: none;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar a.roll-icon.disabled:hover svg {
  animation-play-state: paused;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar ol {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar ol li {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .roll-data {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  justify-content: left;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .roll-data .modifier,
.actor.sheet.character section.window-content .crb-style aside .sidebar .roll-data h3 {
  color: var(--color-pf-tertiary);
  font-size: var(--font-size-18);
  font-weight: initial;
  line-height: 1;
  white-space: nowrap;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .roll-data a.modifier.hover {
  text-decoration: underline var(--color-pf-tertiary-darker);
  text-underline-offset: 0.125em;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .hitpoints .hp-big {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: space-evenly;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .hitpoints .hp-big input {
  font-size: var(--font-size-28);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .hitpoints .hp-big .container {
  text-align: center;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .hitpoints .hp-big .container.current-hp {
  background-color: var(--color-pf-primary);
  background-image: linear-gradient(90deg, rgb(68.5, 0, 0) 0%, rgb(134.8, 0, 0) 50%, rgb(68.5, 0, 0) 100%);
  border: 1px solid var(--sidebar-title);
  border-radius: 0 0 4px 4px;
  display: flex;
  flex-direction: column;
  padding: var(--space-10) var(--space-4) 0;
  position: relative;
  width: min-content;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .hitpoints .hp-big .container.current-hp .data-value {
  margin-top: var(--space-3);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .hitpoints .hp-big .container.current-hp .data-value input[type=number] {
  font-size: var(--font-size-32);
  letter-spacing: calc(-1 * var(--space-1));
  height: 2rem;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .hitpoints .hp-big .container.max-hp, .actor.sheet.character section.window-content .crb-style aside .sidebar .hitpoints .hp-big .container.temp-hp {
  margin-top: var(--space-12);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .hitpoints .hp-big .container.temp-hp {
  margin-right: var(--space-8);
  text-align: center;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .hitpoints .hp-big .container.temp-hp input {
  margin-top: var(--space-4);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .hitpoints .hp-big .container.max-hp {
  margin-left: var(--space-8);
  text-align: center;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .hitpoints .hp-big .container.max-hp .unrecoverable {
  color: orangered;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .hitpoints .hp-small {
  display: flex;
  gap: 0.125rem;
  justify-content: space-evenly;
  margin: var(--space-8) 0.125rem 0 0.125rem;
  text-align: center;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .hitpoints .hp-small h4,
.actor.sheet.character section.window-content .crb-style aside .sidebar .hitpoints .hp-small label {
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .hitpoints .hp-small i.fa-regular,
.actor.sheet.character section.window-content .crb-style aside .sidebar .hitpoints .hp-small i.fa-solid {
  color: var(--text-light);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .stamina {
  flex-direction: row;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .stamina li {
  flex-direction: column;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .stamina li input {
  font-size: var(--font-size-24);
  padding: 0;
  text-align: left;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .stamina li input.left {
  color: var(--text-light);
  text-align: right;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .stamina li input.right {
  color: var(--color-pf-tertiary-light);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .stamina li .divider {
  font-size: var(--font-size-16);
  line-height: 1;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .stamina li .stamina-group {
  align-items: center;
  display: flex;
  gap: var(--space-4);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class {
  display: grid;
  grid: "ac shield-hp shield-footer" 4.625rem "shield-data shield-data shield-data" auto/4.125rem 3.75rem auto;
  grid-column-gap: var(--space-4);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .ac,
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .shield {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 4.625rem;
  justify-content: start;
  padding: var(--space-14) var(--space-10) 0;
  text-align: center;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .ac .data-value h2,
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .ac .data-value input,
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .shield .data-value h2,
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .shield .data-value input {
  width: 3rem;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .ac .data-value input,
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .shield .data-value input {
  font-size: var(--font-size-28);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .ac .data-value input:disabled,
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .shield .data-value input:disabled {
  color: var(--color-pf-tertiary);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .ac label,
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .shield label {
  white-space: normal;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .ac.hp,
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .shield.hp {
  background: url("../assets/sheet/shield-red.webp") no-repeat center center;
  grid-area: shield-hp;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .ac.hp.disabled,
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .shield.hp.disabled {
  opacity: 0.75;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .ac.hp.disabled input:hover,
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .shield.hp.disabled input:hover {
  text-shadow: none;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .ac {
  background: url("../assets/sheet/shield-blue.webp") no-repeat center center;
  font-size: var(--font-size-26);
  grid-area: ac;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .shield-stats {
  grid-area: shield-data;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .shield-stats ul {
  align-items: center;
  display: grid;
  gap: var(--space-8);
  grid-template-columns: repeat(3, 1fr);
  margin: var(--space-8) auto 0;
  padding: 0 var(--space-4);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .shield-stats ul li {
  display: flex;
  flex: 1;
  gap: var(--space-8);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .shield-stats ul li .shield-label {
  margin-right: -var(--space-8);
  position: relative;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .shield-stats ul li .shield-label svg {
  height: 1.25rem;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .shield-stats ul li .shield-label svg path {
  fill: var(--color-pf-tertiary-light);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .shield-stats ul li .shield-label svg text {
  fill: var(--color-pf-primary-dark);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .shield-stats ul li .data-value {
  border: 1px solid #956d58;
  /* prettier-ignore */
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), inset 0 0 4px rgba(0, 0, 0, 0.5);
  color: var(--color-pf-tertiary);
  flex-basis: 3.125rem;
  font-size: var(--font-size-14);
  font-weight: normal;
  height: 1.25rem;
  margin-left: -var(--space-8);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .shield-max-status {
  display: inline-flex;
  flex-direction: column;
  grid-area: shield-footer;
  justify-content: center;
  justify-self: center;
  width: calc(100% - 6px);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .shield-max-status.disabled {
  opacity: 0.75;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .shield-max-status .max {
  align-items: center;
  display: flex;
  flex-direction: column;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .shield-max-status .max label {
  margin-bottom: var(--space-4);
  text-align: center;
  white-space: normal;
  width: 6em;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .shield-max-status .max .data-value {
  color: var(--color-pf-tertiary);
  font: normal var(--font-size-26)/1em var(--serif);
  text-align: center;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .armor-class .shield-max-status .status {
  align-items: center;
  color: var(--color-pf-tertiary-light);
  display: flex;
  gap: var(--space-5);
  justify-content: center;
  margin-top: var(--space-4);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .special-resource {
  align-items: baseline;
  font-size: var(--font-size-16);
  flex-wrap: nowrap;
  line-height: 1.25;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .special-resource .label {
  flex: 1;
  font-weight: initial;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .special-resource input {
  width: 3.5ch;
  text-align: end;
  margin-right: var(--space-2);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .perception a.modifier,
.actor.sheet.character section.window-content .crb-style aside .sidebar .initiative a.modifier {
  margin-right: 1rem;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .perception select,
.actor.sheet.character section.window-content .crb-style aside .sidebar .initiative select {
  flex: 0 0 8.25rem;
  margin-left: auto;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .perception .button-group,
.actor.sheet.character section.window-content .crb-style aside .sidebar .initiative .button-group {
  margin-left: auto;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .perception .tags,
.actor.sheet.character section.window-content .crb-style aside .sidebar .initiative .tags {
  margin-top: var(--space-6);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar .perception .pf-rank {
  margin-left: auto;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar ul.saves {
  display: flex;
  margin: 0;
  padding: 0;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar ul.saves li {
  border-left: 1px solid rgba(255, 239, 189, 0.18);
  flex-direction: column;
  gap: 0;
  width: 4.375rem;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar ul.saves li:first-child {
  border-left: none;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar ul.saves li .sidebar_label {
  border: none;
  font-size: var(--font-size-12);
  font-weight: initial;
  margin-bottom: var(--space-2);
  text-transform: capitalize;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar ul.saves li .save-roll {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-4);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar ul.saves li .save-roll .modifier {
  margin: 0 0 var(--space-2);
}
.actor.sheet.character section.window-content .crb-style aside .sidebar ol.tags {
  flex-direction: row;
}
.actor.sheet.character section.window-content .crb-style aside .sidebar ol.tags li {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}
.actor.sheet.character section.window-content .crb-style header.char-header .char-details .dots {
  display: flex;
  font-size: var(--font-size-10);
}
.actor.sheet.character section.window-content .crb-style header.char-header .char-details .dots .label {
  color: var(--sidebar-label);
  padding-left: 3px;
  margin-right: 8px;
  font-weight: 700;
}
.actor.sheet.character section.window-content .crb-style header.char-header .char-level .exp-data {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.5em 0;
  position: relative;
}
.actor.sheet.character section.window-content .crb-style header.char-header .char-level .exp-data .exp-input {
  font-size: var(--font-size-13);
  height: 1.5em;
}
.actor.sheet.character section.window-content .crb-style header.char-header .char-level .exp-data .exp-input input {
  color: var(--text-light);
  font-family: var(--sans-serif);
  text-align: right;
  width: 3em;
}
.actor.sheet.character section.window-content .crb-style header.char-header .char-level .exp-data .exp-input .slash {
  color: var(--sidebar-label);
}
.actor.sheet.character section.window-content .crb-style header.char-header .char-level .exp-data progress {
  background-color: unset;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: none;
  bottom: 7px;
  box-shadow: 0 0 2px var(--sidebar-label);
  height: 5px;
  left: -9px;
  position: absolute;
  width: 7em;
}
.actor.sheet.character section.window-content .crb-style header.char-header .char-level .exp-data progress::-moz-progress-bar {
  background: var(--sidebar-title);
}
.actor.sheet.character section.window-content .crb-style header.char-header .char-level .exp-data progress::-webkit-progress-bar {
  background: rgba(0, 0, 0, 0.2);
}
.actor.sheet.character section.window-content .crb-style header.char-header .char-level .exp-data progress::-webkit-progress-value {
  background: var(--sidebar-title);
}
.actor.sheet.character section.window-content .crb-style nav.sheet-navigation .item.to-hide {
  opacity: 45%;
}
.actor.sheet.character section.window-content .crb-style nav.sheet-navigation .item.hidden {
  display: none;
}
.actor.sheet.character section.window-content .crb-style nav.sheet-navigation .item .pfs-icon {
  clip-rule: evenodd;
  fill-rule: evenodd;
  padding: var(--space-4);
  position: relative;
  stroke-linejoin: round;
  stroke-miterlimit: 2;
  top: calc(-1 * var(--space-1));
}
.actor.sheet.character section.window-content .crb-style nav.sheet-navigation .item .pfs-icon path {
  fill-rule: nonzero;
}
.actor.sheet.character section.window-content .crb-style nav.sheet-navigation .manage-tabs {
  color: var(--text-light);
  margin: 0;
  padding: 0 var(--space-6);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active {
  display: flex;
  height: 100%;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active ul.option-toggles {
  border-image-repeat: repeat;
  border-image-slice: 11;
  border-image-source: url("../assets/sheet/frame-elegant.svg");
  border-image-width: 14px;
  border-style: double;
  display: flex;
  flex-flow: column wrap;
  font-family: var(--body-serif);
  gap: var(--space-1);
  list-style: none;
  margin-bottom: var(--space-8);
  padding: var(--space-8) 1rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active ul.option-toggles > li {
  align-items: center;
  display: flex;
  height: 1.5rem;
  width: 100%;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active ul.option-toggles > li label {
  align-items: center;
  display: flex;
  gap: var(--space-4);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active ul.option-toggles > li label input[type=checkbox] {
  height: 1.125rem;
  margin: 0;
  padding: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active ul.option-toggles > li label .unchecked-disabled {
  color: var(--color-text-dark-inactive);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active ul.option-toggles > li label select {
  margin-left: 0.25em;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab:not(.inventory, .actions),
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content .tab-content {
  flex-grow: 1;
  min-height: 0;
  overflow: hidden auto;
  scrollbar-gutter: stable;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content nav + .tab-content {
  padding-top: var(--space-12);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content .name a:hover {
  text-shadow: none;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content .item-image.framed {
  background-color: var(--tertiary);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content .item-image.framed,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content .item-image.framed i {
  --inset-shadow-length: 0.25rem;
  border: none;
  border-radius: 2px;
  box-shadow: 0 0 0 1px var(--tertiary), 0 0 0 2px #9f725b, inset 0 0 var(--inset-shadow-length) rgba(0, 0, 0, 0.5);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content .item-image i {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  color: var(--text-dark);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content .item-image:hover i {
  background: #f1eee9;
  display: flex;
  justify-content: center;
  align-items: center;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active {
  display: flex;
  flex-direction: column;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character {
  gap: 1rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character select {
  background-color: var(--color-pf-alternate);
  border: 1px solid rgb(95.7623762376, 79.801980198, 65.4376237624);
  width: calc(100% - var(--space-6));
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character select:disabled {
  cursor: initial;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection {
  margin: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.details {
  align-items: start;
  display: grid;
  grid: "img details" auto/7.5rem minmax(0, 1fr);
  margin-top: var(--space-4);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.details .image-container {
  display: flex;
  flex: 0 0 8rem;
  flex-direction: column;
  grid-area: img;
  max-height: 10.5rem;
  position: relative;
  z-index: 3;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.details .image-container .actor-image {
  border: none;
  box-shadow: 0 0 0 1px #918c88, 0 0 0 2px #e1d8cf, 0 0 0 3px #a98f39, inset 0 0 8px rgba(0, 0, 0, 0.5), 0 0 8px black;
  border-radius: 0;
  max-height: 10.5rem;
  object-fit: cover;
  object-position: top;
  width: 100%;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.details .abcd {
  display: grid;
  flex: 1;
  grid-row-gap: var(--space-8);
  grid-template-columns: repeat(2, 50%);
  justify-content: start;
  padding-left: var(--space-12);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.details .abcd .detail {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.details .abcd .detail .details-label {
  flex-basis: 100%;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.details .abcd .detail h3 {
  align-items: center;
  background-color: rgba(28, 28, 28, 0.1);
  border: none;
  color: var(--text-dark);
  display: flex;
  font: 700 var(--font-size-14)/1em var(--body-serif);
  margin: 0;
  padding: 0.5em 0.25em;
  position: relative;
  width: calc(100% - 0.5em);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.details .abcd .detail h3 span.value {
  flex-basis: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.details .abcd .traits {
  grid-column: span 2;
  margin: calc(-1 * var(--space-4)) 0 0 calc(-1 * var(--space-2));
  padding: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.details .abcd .deity.selected {
  min-width: max-content;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.details .abcd .deity.selected h3 {
  border-radius: 0 var(--space-12) var(--space-12) 0;
  flex-basis: auto;
  gap: var(--space-4);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.details .abcd .deity.selected h3 span.value {
  text-overflow: unset;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.details .abcd .deity.selected h3 .emblem {
  flex: 0 0 1.75rem;
  margin: 0 calc(-1 * var(--space-3)) 0 var(--space-4);
  position: relative;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.details .abcd .deity.selected h3 .emblem img {
  border: none;
  box-shadow: 0 0 0 1px #918c88, 0 0 0 2px #e1d8cf, 0 0 0 3px #a98f39, inset 0 0 8px rgba(0, 0, 0, 0.5), 0 0 8px black;
  border-radius: 50%;
  height: 1.75rem;
  left: calc(-1 * var(--space-4));
  position: absolute;
  top: calc(-1 * var(--space-14));
  width: 1.75rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.details hr {
  grid-column: span 2;
  margin: var(--space-10) var(--space-6) var(--space-2) 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.details .detail-item-control {
  cursor: pointer;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.details .detail-item-control > i:hover {
  text-shadow: 0 0 8px var(--color-shadow-primary);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.details .detail-item-control #context-menu {
  min-width: 7rem;
  padding: 0;
  text-align: left;
  width: fit-content;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.details .detail-item-control #context-menu .context-item {
  font-family: var(--sans-serif);
  font-weight: normal;
  line-height: 2rem;
  white-space: nowrap;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.details .detail-item-control #context-menu .context-item i {
  position: static;
  float: none;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.background {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.background label {
  align-items: start;
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  justify-content: start;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.background label span {
  width: 100%;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.languages ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.languages ul > li.over-limit {
  --tag-color: var(--color-pf-primary);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.languages ul > li.unallocated {
  --tag-color: var(--color-pf-alternate);
  font-style: italic;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.languages .details {
  padding: 0 0.25em;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.speeds {
  display: flex;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.speeds .speed {
  align-items: center;
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  text-align: center;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.speeds .speed + .speed {
  border-left: 1px solid #d3ccbc;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.speeds .speed .label {
  color: var(--color-pf-alternate-dark);
  font: 500 var(--font-size-14) var(--sans-serif);
  font-variant: small-caps;
  position: relative;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.speeds .speed .value {
  align-items: baseline;
  color: var(--color-text-dark-2);
  display: flex;
  font: 500 var(--font-size-18)/1 var(--serif);
  gap: 0.25ch;
  padding: var(--space-4) var(--space-4) 0;
  position: relative;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.speeds .speed .value i {
  color: var(--color-pf-alternate-dark);
  font-size: var(--font-size-13);
  opacity: 0.85;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.speeds .speed .value .unit {
  font-size: var(--font-size-14);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.speeds .speed .value.rollable svg {
  width: 1rem;
  height: 1rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.speeds .speed .value.rollable svg path {
  fill: var(--color-text-dark-2);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.speeds .speed .value.rollable:hover svg {
  animation: rotation 2s infinite linear;
}
@keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(359deg);
  }
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.attributes ul {
  align-items: center;
  column-gap: var(--space-10);
  display: grid;
  grid: 1fr 1fr/repeat(6, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.attributes ul:focus-within .abbreviation {
  filter: opacity(1);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.attributes ul.key .abbreviation,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.attributes ul.key .modifier {
  color: var(--color-pf-secondary);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.attributes ul .abbreviation {
  border: none;
  color: var(--color-pf-primary);
  font: 400 var(--font-size-22) var(--serif-condensed);
  margin: 0;
  padding: 0;
  position: relative;
  text-align: center;
  text-transform: capitalize;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.attributes ul .abbreviation i.key,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.attributes ul .abbreviation i.apex {
  bottom: var(--space-4);
  position: absolute;
  font-size: var(--font-size-12);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.attributes ul .abbreviation i.key {
  left: var(--space-2);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.attributes ul .abbreviation i.apex {
  right: var(--space-2);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.attributes ul .abbreviation i.apex.unselected:not(:hover) {
  opacity: 0.75;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.attributes ul h3.modifier {
  border-image-repeat: repeat;
  border-image-slice: 11;
  border-image-source: url("../assets/sheet/frame-elegant.svg");
  border-image-width: 14px;
  border-style: double;
  align-items: center;
  display: flex;
  font: 700 var(--font-size-24) var(--serif);
  height: 2.875rem;
  justify-content: center;
  margin: 0;
  padding-right: var(--space-4);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection.attributes ul .label {
  color: var(--text-dark);
  margin: 0;
  opacity: 0.4;
  padding: var(--space-2);
  text-align: center;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions {
  padding: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list + .actions-list {
  margin-top: var(--space-8);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list .toggles {
  align-items: center;
  display: flex;
  font-size: var(--font-size-14);
  gap: var(--space-2);
  justify-content: center;
  padding: 0 var(--space-3);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list .toggles button {
  align-items: center;
  border: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  display: flex;
  height: 1.25rem;
  justify-content: center;
  width: 3ch;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list .toggles button.double-barrel i.barrels {
  left: 0;
  height: 1rem;
  top: var(--space-5);
  overflow: hidden;
  opacity: 80%;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list .toggles button.double-barrel i.blast {
  color: var(--color-pf-primary-dark);
  overflow: hidden;
  height: 1.1875rem;
  top: var(--space-4);
  left: var(--space-5);
  width: initial;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list .toggles button.selected {
  background: var(--text-dark);
  color: var(--bg-dark);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list .toggles button.selected i.fa-solid,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list .toggles button.selected i.fa-solid.blast {
  color: var(--bg-dark);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list .toggles button.selected i.barrels {
  opacity: 80%;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list .toggles button:not(disabled):hover {
  box-shadow: inset 0 0 0 1px rgba(94, 0, 0, 0.5);
  text-shadow: none;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list .toggles button:active {
  text-shadow: 0 0 1px var(--color-pf-primary);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike {
  display: grid;
  grid-template: "img content" min-content "summary summary" min-content/2.5rem 1fr;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .item-image {
  grid-area: img;
  width: 2rem;
  height: 2rem;
  margin-top: var(--space-2);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike h4.name {
  align-items: baseline;
  display: flex;
  width: 100%;
  gap: var(--space-4);
  margin: 0;
  line-height: 1;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike h4.name .item-controls {
  margin-left: auto;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .button-group {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  font-size: var(--font-size-14);
  margin-bottom: 0;
  padding: var(--space-2) 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .button-group button {
  border: none;
  flex: 0;
  gap: var(--space-2);
  height: 1.25rem;
  line-height: unset;
  margin: 0;
  padding: 0 0.5em;
  white-space: nowrap;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .button-group button:not(:disabled):hover {
  box-shadow: none;
  text-shadow: 0 0 2px var(--text-light);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .alt-usage {
  flex-basis: 100%;
  position: relative;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .alt-usage .alt-usage-icon {
  border: none;
  height: 1rem;
  position: absolute;
  left: -1.5em;
  top: 0.2em;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .ammo {
  align-items: center;
  display: flex;
  gap: 3px;
  margin-bottom: 2px;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .ammo select.linked {
  font: normal var(--font-size-12) var(--sans-serif);
  line-height: var(--font-size-12);
  padding-top: 3px;
  width: fit-content;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .ammo select.linked[data-compatible=false] {
  color: rgba(255, 255, 255, 0.6);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .ammo select.linked option,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .ammo select.linked optgroup {
  color: var(--text-light);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .ammo .magazine {
  margin-right: 0.5rem;
  font-family: var(--sans-serif);
  font-weight: 600;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .ammo .magazine .icon {
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  background-image: url("../assets/icons/heavy-bullets.svg");
  background-size: cover;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .auxiliary-actions {
  display: flex;
  gap: 3px;
  padding: var(--space-2) 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .auxiliary-actions button select.modular {
  appearance: auto;
  background: none;
  color: var(--text-dark);
  cursor: default;
  font: inherit;
  margin-left: 0.5em;
  padding: 0.15em 0.2em;
  text-transform: uppercase;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .auxiliary-actions button select.modular option {
  background: var(--bg-dark);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .auxiliary-actions button:has(select.modular:hover) {
  text-shadow: none;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .item-summary {
  grid-area: summary;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike:not(.ready) .item-image {
  cursor: default;
  filter: grayscale(1);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike:not(.ready) .item-image:hover i {
  display: none;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike:not(.ready) h4.name {
  color: var(--color-text-dark-4);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike:not(.ready) .hands-occupied {
  font: italic 500 var(--font-size-10) var(--sans-serif);
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  text-transform: uppercase;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.action .item-image:hover {
  background: none;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.action .frequency {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.action .frequency input {
  width: 0;
  flex: 0 1 4rem;
  text-align: center;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.action .frequency span {
  white-space: nowrap;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.action .item-summary .level {
  display: none;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions h4 {
  flex: 1;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions button.activate {
  background: none;
  border: 1px solid var(--color-border-dark);
  border-radius: 5px;
  flex: 0;
  line-height: 1.25em;
  opacity: 0.7;
  margin-right: 0.5rem;
  padding: 0 0.25rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions button.activate.active, .actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions button.activate:hover {
  background-color: var(--color-pf-primary);
  color: var(--text-light);
  opacity: 1;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions .item-controls {
  display: flex;
  min-width: 2.5em;
  justify-content: end;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.effects .effects-list {
  gap: 0.2em;
  padding-bottom: 1em;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.effects .effects-list .item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 2px 12px;
  width: 100%;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.effects .effects-list .item p:empty {
  display: none;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.effects .effects-list .item .item-name {
  display: flex;
  align-items: center;
  flex: 1;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.effects .effects-list .item .item-name h4 {
  cursor: pointer;
  margin: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.effects .effects-list .item .item-name .item-image {
  margin-right: 8px;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.effects .effects-list .item .item-controls {
  display: flex;
  flex: 0;
  font-size: var(--font-size-12);
  gap: 1px;
  white-space: nowrap;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.effects .effects-list .item .item-controls a.info-only:hover {
  cursor: default;
  text-shadow: none;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.effects .effects-list .item .item-controls a + a {
  margin-left: 4px;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.effects .effects-list .item .item-summary {
  flex-basis: 100%;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.effects .effects-list .item.unidentified {
  border-radius: 1px;
  outline: 1px dotted rgba(75, 74, 68, 0.5);
  background: var(--visibility-gm-bg);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.effects .effects-list .item .button-group {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  width: 50%;
  flex: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.effects .effects-list .item .button-group button {
  margin: 0;
  border: none;
  cursor: pointer;
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  padding: 5px;
  color: var(--text-light);
  width: 70px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  background: var(--secondary);
  border-radius: 2px;
  flex: 0;
  white-space: nowrap;
  margin-left: 4px;
  flex: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.effects .effects-list .item .button-group button:hover {
  box-shadow: none;
  text-shadow: 0 0 2px white;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.effects .effects-list .item {
  border-top: 1px solid rgb(212.7821782178, 202.4851485149, 193.2178217822);
  border: solid transparent;
  border-width: 0 0 1px;
  border-image: linear-gradient(90deg, #f1edea, rgb(212.7821782178, 202.4851485149, 193.2178217822)) 1 repeat;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.effects .effects-list .item:last-child {
  border-bottom: none;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.effects .effects-list .item-name h4 {
  font-family: var(--serif);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting {
  padding: 0;
  overflow-y: hidden;
  scrollbar-gutter: initial;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting nav.spell-collections a.rituals {
  flex-basis: 20%;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spell-collections {
  overflow-y: auto;
  scrollbar-gutter: stable;
  padding: var(--space-8) var(--space-4) 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spell-collections ul.option-toggles {
  margin: var(--space-4) var(--space-4) 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spell-collections > .tab {
  padding: var(--space-10) 0 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spell-collections > .tab:first-child {
  padding-top: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spell-collections > .tab > ol {
  gap: var(--space-12);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spellcasting-entry {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0.25em;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spellcasting-entry:first-child .action-header {
  justify-content: start;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spellcasting-entry .rollable .d20-svg {
  width: var(--font-size-14);
  height: var(--font-size-14);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spellcasting-entry .rollable .d20-svg path {
  fill: var(--color-text-dark-1);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spellcasting-entry .rollable:hover {
  text-shadow: none;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spellcasting-entry .rollable:hover svg {
  animation: rotation 2s infinite linear;
}
@keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(359deg);
  }
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spellcasting-entry .spell-ability-data {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 1rem;
  margin: 0.5em var(--space-4);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spellcasting-entry .spell-ability-data section {
  display: flex;
  align-items: center;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spellcasting-entry .spell-ability-data .skill-score {
  font: 700 var(--font-size-16)/1 var(--serif);
  letter-spacing: -1px;
  color: var(--secondary);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spellcasting-entry .spell-ability-data h4 {
  margin: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spellcasting-entry .spell-ability-data button.prepare-spells {
  font-family: var(--serif);
  font-size: var(--font-size-14);
  white-space: nowrap;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spellcasting-entry .spell-ability-data .statistic-values {
  display: flex;
  gap: var(--space-8);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spellcasting-entry .spell-ability-data .statistic-values .skill-data {
  display: flex;
  gap: var(--space-4);
  white-space: nowrap;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spellcasting-entry .spell-ability-data .statistic-values h4 {
  white-space: nowrap;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spellcasting-entry .spell-ability-data .statistic-values .rollable {
  gap: 0.1rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spellcasting-entry .spell-ability-data .focus-pool {
  cursor: pointer;
  gap: 0.25em;
  position: relative;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spellcasting-entry .spell-ability-data .focus-pool img.pool-size {
  border: none;
  height: 2rem;
  width: 2.125rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spellcasting-entry .spell-ability-data .focus-pool .pips {
  display: flex;
  font-size: var(--font-size-10);
  gap: var(--space-1);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spellcasting-entry .spell-ability-data .focus-pool .pips i {
  padding-bottom: 0.08rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spellcasting-entry .spell-ability-data .focus-pool h4 {
  white-space: nowrap;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spellcasting-entry .spell-ability-data .spell-ability {
  gap: 0.5em;
  margin-left: auto;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spellcasting-entry .spell-ability-data .spell-ability .spell-tradition {
  font-family: var(--body-serif);
  font-weight: 600;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spellcasting-entry .spell-ability-data .pf-rank {
  margin-bottom: var(--space-2);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting .spellbook-empty {
  margin: var(--space-8) 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.spellcasting button.create-entry {
  font: 500 var(--font-size-14) var(--serif);
  margin: 1rem 0 1.25rem;
  width: 100%;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.proficiencies h1,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.proficiencies h4,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.proficiencies h6 {
  margin: 0;
  padding: 0;
  align-items: center;
  display: flex;
  line-height: 1;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.proficiencies h6 {
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5);
  color: var(--text-light);
  padding: var(--space-2) var(--space-4);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.proficiencies ul.proficiencies-list {
  margin: 0;
  padding: 0;
  align-items: center;
  display: grid;
  gap: var(--space-8);
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  margin-bottom: var(--space-12);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.proficiencies ul.proficiencies-list li {
  border-image-repeat: repeat;
  border-image-slice: 11;
  border-image-source: url("../assets/sheet/frame-elegant.svg");
  border-image-width: 14px;
  border-style: double;
  align-items: center;
  display: flex;
  font-family: var(--serif);
  font-size: var(--font-size-16);
  min-height: 2.25rem;
  padding: 0 var(--space-8) 0 var(--space-4);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.proficiencies ul.proficiencies-list li a.d20 {
  filter: drop-shadow(0 0 1px var(--color-shadow-dark)) drop-shadow(0 0 3px var(--color-text-dark-4)) drop-shadow(0 0 12px var(--color-text-light-3));
  padding: var(--space-4);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.proficiencies ul.proficiencies-list li a.d20:hover {
  animation: rotation 2s infinite linear;
}
@keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(359deg);
  }
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.proficiencies ul.proficiencies-list li a.d20 path {
  fill: var(--color-text-light-1);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.proficiencies ul.proficiencies-list li .name,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.proficiencies ul.proficiencies-list li .modifier,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.proficiencies ul.proficiencies-list li .dc {
  margin-bottom: -0.1em;
  padding-top: 0.1em;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.proficiencies ul.proficiencies-list li .modifier,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.proficiencies ul.proficiencies-list li .dc {
  color: var(--color-pf-primary);
  font-weight: 600;
  margin-right: var(--space-4);
  text-align: end;
  width: 1.75rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.proficiencies ul.proficiencies-list li a.hover {
  text-decoration: underline var(--color-pf-primary-dark);
  text-underline-offset: 0.125em;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.proficiencies ul.proficiencies-list li .name {
  flex: 1;
  line-height: 0.9em;
  margin-right: var(--space-4);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.proficiencies ul.proficiencies-list li.custom {
  position: relative;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.proficiencies ul.proficiencies-list li.custom a.delete {
  font-size: var(--font-size-12);
  opacity: 0.65;
  position: absolute;
  right: -0.5rem;
  top: -0.5rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.proficiencies ul.proficiencies-list li.custom:hover a.delete {
  opacity: 1;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.proficiencies ul.proficiencies-list.lores-list > li .item-controls {
  font-size: var(--font-size-12);
  margin-left: var(--space-8);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.proficiencies ul.proficiencies-list.lores-list > li,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.proficiencies ul.proficiencies-list li.all-by-myself {
  grid-column: span 2;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats .feat-section {
  padding-bottom: 1em;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats .feat-section header .limit input {
  background: rgba(0, 0, 0, 0.05);
  display: inline;
  color: inherit;
  font: inherit;
  height: 1em;
  width: 2.2ch;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list {
  padding-left: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list li.slot {
  align-items: center;
  display: grid;
  grid: "name ctrl" min-content "content content" min-content/1fr min-content;
  padding: var(--space-5) 0 var(--space-4);
  position: relative;
  row-gap: var(--space-2);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list li.slot:nth-child(odd) {
  background-color: rgba(120, 100, 82, 0.1);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list li.slot .item-name,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list li.slot .item-controls {
  margin: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list li.slot .item-name {
  align-items: center;
  display: flex;
  flex: 1;
  gap: var(--space-8);
  grid-area: name;
  height: var(--font-size-25);
  width: 100%;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list li.slot .item-name .feat-slot-title {
  display: flex;
  font: 600 var(--font-size-15) var(--serif);
  color: var(--color-pf-secondary);
  justify-content: center;
  width: 1.25rem;
  margin-left: var(--space-6);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list li.slot .item-name .item-placeholder {
  margin-left: 2.5rem;
  margin-right: var(--space-4);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list li.slot .item-name h4 {
  display: inline-flex;
  max-width: 20rem;
  margin: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list li.slot .item-name h4:hover {
  color: var(--color-pf-primary);
  text-shadow: 0 0 3px var(--color-pf-tertiary);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list li.slot .item-name h4 a {
  font-size: var(--font-size-13);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list li.slot .item-controls {
  align-items: center;
  display: flex;
  font-size: var(--font-size-12);
  grid-area: ctrl;
  height: 100%;
  white-space: nowrap;
  width: 100%;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list li.slot .item-controls a:last-child {
  margin-right: var(--space-6);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list li.slot .item-summary {
  grid-area: content;
  margin: var(--space-4) 0;
  padding: 0 var(--space-4);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list li.slot .item-summary .tags {
  padding: var(--space-2) 0 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list li.slot .item-summary .level {
  font-weight: 600;
  position: absolute;
  right: 3rem;
  top: var(--space-8);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list li.slot > .item-summary {
  margin-left: 1.75rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list li.slot ol.nested-items {
  border-left: var(--space-3) dotted var(--color-pf-alternate);
  display: flex;
  flex-basis: 100%;
  flex-direction: column;
  grid-column: span 2;
  margin: var(--space-1) 0 0 2.85rem;
  padding: 0;
  row-gap: var(--space-4);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list li.slot ol.nested-items > li {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding-left: 0.875rem;
  position: relative;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list li.slot ol.nested-items > li .item-name {
  margin: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list li.slot ol.nested-items > li .item-name .feat-slot-title {
  display: none;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list li.slot ol.nested-items > li .item-controls {
  flex: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list li.slot ol.nested-items > li .item-summary {
  margin-left: 0;
  padding-left: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list li.slot ol.nested-items > li .item-summary .level {
  top: var(--space-3);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list li.slot ol.nested-items > li ol.nested-items {
  margin: var(--space-3) 0 0 var(--space-11);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography {
  padding-bottom: 1rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography > header {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  padding: 0 var(--space-1);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography > header i.fa-eye-slash {
  opacity: 75%;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section.editable .editor,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section.editable input {
  background: rgba(0, 0, 0, 0.05);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section.editable .editor-content {
  min-height: 4rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section:not(.editable) .editor-content {
  min-height: 2rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section input:disabled {
  color: var(--text-dark);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section.appearance-details {
  display: grid;
  grid-template: "bio bio" 1fr "height weight" min-content/1fr 1fr;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section.appearance-details .bio {
  grid-area: bio;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section.personality {
  display: flex;
  flex-wrap: wrap;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section.personality .bio {
  align-items: start;
  display: flex;
  flex-direction: column;
  flex: 50%;
  justify-content: start;
  margin-bottom: var(--space-8);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section.personality .bio span {
  width: 100%;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section.personality .edicts,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section.personality .anathema {
  flex-basis: 100%;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section.personality .edicts > *,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section.personality .anathema > * {
  width: 100%;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section.personality .edicts .label-add,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section.personality .anathema .label-add {
  align-items: center;
  display: flex;
  justify-content: space-between;
  width: calc(100% - 0.75em);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section.personality .edicts ol,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section.personality .anathema ol {
  list-style-type: decimal;
  margin-top: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section.personality .edicts ol li,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section.personality .anathema ol li {
  white-space: nowrap;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section.personality .edicts ol li input,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section.personality .anathema ol li input {
  margin: 0.2em;
  max-width: calc(100% - 2rem);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section.campaign {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section input {
  background: none;
  border-bottom: 1px solid var(--color-border-input);
  font-family: var(--body-serif);
  width: calc(100% - 6px);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section input::placeholder {
  filter: opacity(0.5);
  color: var(--text-dark);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section input:focus {
  border-bottom: 1px solid #644f33;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section input:focus::placeholder {
  color: transparent;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section input[type=number] {
  padding-bottom: 0;
  padding-left: var(--space-4);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section hr {
  margin: var(--space-10) var(--space-6) var(--space-10) 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .bio > h3 {
  margin: 0;
  padding: 0;
  background-color: rgba(28, 28, 28, 0.1);
  border: none;
  color: var(--text-dark);
  font: 700 var(--font-size-14) var(--body-serif);
  grid-area: mod;
  height: 1.625rem;
  padding: var(--space-8) var(--space-4) var(--space-6);
  width: calc(100% - 6px);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .bio > h3 i {
  float: right;
  position: relative;
  right: calc(-1 * var(--space-2));
  top: calc(-1 * var(--space-2));
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .bio > h3 span.value {
  display: inline-block;
  max-width: 87%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .bio h4.details-label {
  margin-bottom: var(--space-1);
  width: 100%;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content {
  --space-s: 0.25em;
  --space-m: 0.5em;
  --space-l: 1em;
  --space-xl: 1.5em;
  --space-2xl: 2em;
  --radius: 3px;
  padding: 0 var(--space-4);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content :is(h1, h2, h3, h4, h5, h6):not(:first-child) {
  margin-top: 1em;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .inline-header {
  display: flex;
  align-items: center;
  gap: var(--space-l);
  background-color: var(--alt);
  font-family: var(--sans-serif);
  color: var(--text-light);
  padding: 0;
  font-size: 0.8em;
  font-weight: 400;
  border: none;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .inline-header strong {
  display: inline-flex;
  padding: 0 var(--space-m);
  background-color: var(--primary);
  min-width: 15ch;
  border-right: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  font-weight: 400;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .inline-header + p {
  margin-top: var(--space-s);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .info {
  background-color: var(--secondary);
  padding: var(--space-m);
  color: var(--text-light);
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  border-radius: var(--radius);
  font-family: var(--sans-serif);
  padding-bottom: var(--space-m);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .info > * + * {
  margin-top: var(--space-m);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .info + * {
  margin-top: var(--space-xl);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .info + .actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .info {
  margin-top: var(--space-s);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .info h4 {
  font-size: 0.9em;
  font-weight: 400;
  line-height: 1.2;
  font-family: var(--sans-serif);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  padding: var(--space-m) var(--space-l);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-light);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .info h4::after {
  font-family: "Font Awesome 6";
  content: "\f05a";
  font-weight: 900;
  margin-right: var(--space-s);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .info p,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .info span {
  font-size: 0.8em;
  margin: 0;
  padding: 0 var(--space-l);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .info p:first-of-type,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .info span:first-of-type {
  padding-top: var(--space-m);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .traits {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .traits p,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .traits span {
  display: inline-flex;
  padding: 0.16rem 0.25rem;
  margin: 0;
  background-color: var(--primary);
  border: 2px solid var(--color-border-trait);
  color: var(--text-light);
  font: 500 var(--font-size-10) var(--sans-serif);
  text-transform: uppercase;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .statblock {
  font-family: var(--sans-serif-condensed);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: var(--space-m);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .statblock > * + * {
  margin-top: var(--space-s);
  margin-bottom: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .statblock p {
  --indent: var(--space-l);
  margin-left: var(--indent);
  position: relative;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .statblock p strong:first-of-type {
  margin-left: calc(var(--indent) * -1);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .statblock p .trait:first-of-type {
  margin-left: calc(var(--indent) * -1 - 2px);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .statblock span.pf2-icon {
  line-height: 1;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .statblock h1,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .statblock h2,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .statblock h3,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .statblock h4 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border-dark);
  text-transform: uppercase;
  letter-spacing: -0.05em;
  font-family: var(--sans-serif-condensed);
  font-weight: 700;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .statblock hr {
  border: none;
  border-bottom: 1px solid var(--color-border-dark);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-content .message {
  font-family: var(--journal-cursive);
  font-size: 2em;
  line-height: 1.2;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor .editor-edit {
  background: var(--color-pf-primary);
  color: var(--text-light);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor.prosemirror {
  height: 13.5rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.biography section .editor.prosemirror .editor-container {
  margin: var(--space-4) 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.inventory {
  padding-bottom: 1.5rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.inventory .inventory-list {
  padding-right: 0.1rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs {
  gap: 0.2em;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs .item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 2px 12px;
  width: 100%;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs .item p:empty {
  display: none;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs .item .item-name {
  display: flex;
  align-items: center;
  flex: 1;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs .item .item-name h4 {
  cursor: pointer;
  margin: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs .item .item-name .item-image {
  margin-right: 8px;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs .item .item-controls {
  display: flex;
  flex: 0;
  font-size: var(--font-size-12);
  gap: 1px;
  white-space: nowrap;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs .item .item-controls a.info-only:hover {
  cursor: default;
  text-shadow: none;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs .item .item-controls a + a {
  margin-left: 4px;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs .item .item-summary {
  flex-basis: 100%;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs .item.unidentified {
  border-radius: 1px;
  outline: 1px dotted rgba(75, 74, 68, 0.5);
  background: var(--visibility-gm-bg);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs .item .button-group {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  width: 50%;
  flex: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs .item .button-group button {
  margin: 0;
  border: none;
  cursor: pointer;
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  padding: 5px;
  color: var(--text-light);
  width: 70px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  background: var(--secondary);
  border-radius: 2px;
  flex: 0;
  white-space: nowrap;
  margin-left: 4px;
  flex: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs .item .button-group button:hover {
  box-shadow: none;
  text-shadow: 0 0 2px white;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs > section {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  margin: 0.75rem 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs > section:first-child {
  margin-top: 0.25rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs > section.organized-play {
  align-items: center;
  display: grid;
  grid-template-columns: 6em 1em 4em;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs > section.organized-play > * {
  width: 100%;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs > section.organized-play input {
  text-align: center;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs > section.organized-play .dash {
  font-weight: bold;
  text-align: center;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs > section.organized-play label.player-number {
  grid-column: span 2;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs > section.level-bump {
  align-items: center;
  flex-direction: row;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs > section.level-bump .toggle {
  width: 42px;
  height: 1rem;
  background: rgba(0, 0, 0, 0.5);
  position: relative;
  border-radius: 50px;
  box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.2);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs > section.level-bump .toggle.enabled {
  background: var(--secondary);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs > section.level-bump .toggle::after {
  content: "OFF";
  color: var(--text-dark);
  position: absolute;
  right: 5px;
  z-index: 0;
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.15);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs > section.level-bump .toggle::before {
  content: "ON";
  color: var(--text-light);
  position: absolute;
  left: 6px;
  z-index: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs > section.level-bump .toggle::after, .actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs > section.level-bump .toggle::before {
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  top: 4px;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs > section.level-bump .toggle label {
  display: block;
  width: 18px;
  height: 14px;
  position: absolute;
  top: 1px;
  right: 20px;
  cursor: pointer;
  background: #fcfff4;
  z-index: 1;
  background: linear-gradient(to bottom, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs > section.level-bump .toggle input[type=checkbox] {
  visibility: hidden;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs > section.level-bump .toggle input[type=checkbox]:checked + label {
  right: 1px;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs > section.faction {
  max-width: fit-content;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs > section.reputations {
  font-family: var(--serif);
  gap: 0.2em;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs > section.reputations .reputation {
  align-items: center;
  display: flex;
  gap: 0.2em;
  justify-content: space-between;
  width: 12em;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.pfs > section.reputations .reputation input {
  padding: 0 0.3em;
  text-align: right;
  width: 3em;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting {
  --controls-width: 1.75rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting .crafting-options {
  border-image-repeat: repeat;
  border-image-slice: 11;
  border-image-source: url("../assets/sheet/frame-elegant.svg");
  border-image-width: 14px;
  border-style: double;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: 0 1rem 1rem;
  padding: 0.5rem 1rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting .crafting-options .crafting-option {
  display: flex;
  align-items: center;
  flex-basis: 100%;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting .crafting-options .crafting-option label * {
  vertical-align: middle;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting .crafting-options .crafting-option label input {
  margin: 0;
  padding: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting li.crafting-entry {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  background: none;
  border: none;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting li.crafting-entry.item-container {
  margin-bottom: var(--space-6);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting li.crafting-entry.alchemical-entry {
  margin-bottom: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting li.crafting-entry.alchemical-entry:last-child {
  margin-bottom: 0.5em;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting li.crafting-entry .action-header {
  color: var(--text-light);
  font-size: var(--font-size-16);
  font-weight: 500;
  height: 1.75rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting li.crafting-entry .action-header .level {
  white-space: nowrap;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting li.crafting-entry .action-header.alchemical-title {
  background: var(--color-pf-secondary);
  font-size: var(--font-size-14);
  height: 1.5rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting li.crafting-entry input.formula-number {
  background: var(--color-pf-alternate);
  height: unset;
  border-radius: 3px;
  border: 1px solid var(--sub);
  color: var(--text-light);
  font: var(--font-size-12) var(--sans-serif);
  text-align: center;
  width: 2em;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list {
  margin: 0;
  padding: 0;
  flex-basis: 100%;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list .formula-item[data-expended-state=true] h4 {
  color: var(--color-disabled);
  text-decoration: line-through;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list .formula-item[data-expended-state=true] .toggle-formula-expended {
  color: var(--color-pf-primary);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list .formula-header {
  margin: 0;
  padding: 0;
  background: rgba(96, 88, 86, 0.25);
  border: 1px solid var(--sub);
  color: var(--text-dark);
  font: 600 var(--font-size-12) var(--sans-serif);
  height: 1.75rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list .formula-header .item-name {
  align-items: center;
  display: flex;
  flex-basis: 50%;
  flex-wrap: nowrap;
  justify-content: start;
  justify-self: start;
  line-height: 1.5;
  gap: 0.5em;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list .formula-header h3 {
  margin: 0;
  padding: 0;
  text-transform: capitalize;
  font-size: var(--font-size-12);
  font-weight: 500;
  margin-left: 0;
  padding: var(--space-4) 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list .formula-header .formula-number {
  text-align: center;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list .formula-header.resource {
  display: flex;
  justify-content: space-between;
  padding: 0 var(--space-4);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item {
  display: grid;
  grid: "name dc price quantity button controls" 1fr/1fr 1.5rem 4.5rem 5.125rem min-content var(--controls-width);
  align-items: center;
  justify-items: center;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-left: 1px solid var(--sub);
  border-right: 1px solid var(--sub);
  cursor: default;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header:nth-child(odd),
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item:nth-child(odd) {
  background-color: rgba(120, 100, 82, 0.1);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header:nth-child(even) .item-summary,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item:nth-child(even) .item-summary {
  background: none;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header:last-child,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item:last-child {
  border-bottom: 1px solid var(--sub);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header.empty,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item.empty {
  align-items: center;
  display: flex;
  min-height: 2em;
  opacity: 0.85;
  padding-left: 1.25rem;
  white-space: nowrap;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header.formula-level-header,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item.formula-level-header {
  background: rgba(96, 88, 86, 0.25);
  border: 1px solid var(--sub);
  color: var(--text-dark);
  font: 600 var(--font-size-12) var(--sans-serif);
  height: 1.25rem;
  margin: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header.formula-level-header h3,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item.formula-level-header h3 {
  text-transform: capitalize;
  font-size: var(--font-size-12);
  font-weight: 500;
  margin-left: 0;
  padding: var(--space-4) 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header.formula-level-header .item-name,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item.formula-level-header .item-name {
  line-height: 1;
  padding-left: var(--space-4);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header.formula-level-header .item-name h3,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item.formula-level-header .item-name h3 {
  margin: 0;
  padding: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header.formula-level-header .controls,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item.formula-level-header .controls {
  padding-right: var(--space-4);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header .item-name,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item .item-name {
  grid-area: name;
  cursor: pointer;
  align-items: center;
  display: flex;
  flex-basis: 50%;
  flex-wrap: nowrap;
  justify-content: start;
  justify-self: start;
  line-height: 1.5;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header .item-name h3,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item .item-name h3 {
  white-space: nowrap;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header .item-name .item-image,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item .item-name .item-image {
  margin: var(--space-2) 0;
  margin-left: var(--space-4);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header .item-name h4,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item .item-name h4 {
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 1;
  margin: 0 0 0 var(--space-8);
  padding: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header .item-name h4:hover,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item .item-name h4:hover {
  color: var(--color-pf-secondary);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header .item-name.aa-level, .actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header .item-name.reagent-resource,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item .item-name.aa-level,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item .item-name.reagent-resource {
  justify-content: flex-end;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header .price,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item .price {
  grid-area: price;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header .quantity,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item .quantity {
  grid-area: quantity;
  align-items: center;
  display: flex;
  gap: var(--space-3);
  justify-content: center;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header .quantity .adjust,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item .quantity .adjust {
  align-items: center;
  display: flex;
  font-size: var(--font-size-16);
  font-family: var(--sans-serif-monospace);
  justify-content: center;
  width: 1em;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header .quantity input,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item .quantity input {
  width: 1.5rem;
  text-align: center;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header button.craft,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item button.craft {
  grid-area: button;
  font: 500 var(--font-size-10)/1.8em var(--sans-serif);
  justify-self: end;
  min-width: 2.5rem;
  padding: 0 0.25em;
  text-transform: uppercase;
  width: fit-content;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header button.craft.invisible,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item button.craft.invisible {
  visibility: hidden;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header .item-controls,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item .item-controls {
  grid-area: controls;
  justify-self: end;
  font-size: var(--font-size-12);
  margin-right: var(--space-4);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header .item-summary,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item .item-summary {
  grid-column: 1/7;
  padding: var(--space-8);
  border-bottom: 1px solid var(--sub);
  border-top: 1px solid rgb(172.3076923077, 164.6153846154, 162.6923076923);
  background-color: rgba(248, 244, 241, 0.5);
  width: 100%;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header .item-summary p,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item .item-summary p {
  margin-top: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-level-header .item-summary .item-buttons button,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting ol.formula-list li.formula-item .item-summary .item-buttons button {
  display: none;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting li.crafting-entry button.perform-daily {
  width: 75%;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting .crafting-entry {
  --controls-width: 3rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting .known-formulas {
  padding-bottom: 2rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.crafting .known-formulas .empty {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  display: flex;
  min-height: 2em;
  opacity: 0.85;
  white-space: nowrap;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content .directory-list {
  display: flex;
  flex-flow: column nowrap;
  margin: 0;
  padding: 0;
  width: 100%;
}
.actor.sheet.attack-popout section.window-content {
  background-image: url("../assets/sheet/background.webp");
  background-position: 75% 10%;
}
.actor.sheet.attack-popout section.window-content .tab.actions {
  padding: 0;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list + .actions-list {
  margin-top: var(--space-8);
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list .toggles {
  align-items: center;
  display: flex;
  font-size: var(--font-size-14);
  gap: var(--space-2);
  justify-content: center;
  padding: 0 var(--space-3);
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list .toggles button {
  align-items: center;
  border: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  display: flex;
  height: 1.25rem;
  justify-content: center;
  width: 3ch;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list .toggles button.double-barrel i.barrels {
  left: 0;
  height: 1rem;
  top: var(--space-5);
  overflow: hidden;
  opacity: 80%;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list .toggles button.double-barrel i.blast {
  color: var(--color-pf-primary-dark);
  overflow: hidden;
  height: 1.1875rem;
  top: var(--space-4);
  left: var(--space-5);
  width: initial;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list .toggles button.selected {
  background: var(--text-dark);
  color: var(--bg-dark);
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list .toggles button.selected i.fa-solid,
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list .toggles button.selected i.fa-solid.blast {
  color: var(--bg-dark);
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list .toggles button.selected i.barrels {
  opacity: 80%;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list .toggles button:not(disabled):hover {
  box-shadow: inset 0 0 0 1px rgba(94, 0, 0, 0.5);
  text-shadow: none;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list .toggles button:active {
  text-shadow: 0 0 1px var(--color-pf-primary);
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike {
  display: grid;
  grid-template: "img content" min-content "summary summary" min-content/2.5rem 1fr;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .item-image {
  grid-area: img;
  width: 2rem;
  height: 2rem;
  margin-top: var(--space-2);
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike h4.name {
  align-items: baseline;
  display: flex;
  width: 100%;
  gap: var(--space-4);
  margin: 0;
  line-height: 1;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike h4.name .item-controls {
  margin-left: auto;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .button-group {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  font-size: var(--font-size-14);
  margin-bottom: 0;
  padding: var(--space-2) 0;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .button-group button {
  border: none;
  flex: 0;
  gap: var(--space-2);
  height: 1.25rem;
  line-height: unset;
  margin: 0;
  padding: 0 0.5em;
  white-space: nowrap;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .button-group button:not(:disabled):hover {
  box-shadow: none;
  text-shadow: 0 0 2px var(--text-light);
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .alt-usage {
  flex-basis: 100%;
  position: relative;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .alt-usage .alt-usage-icon {
  border: none;
  height: 1rem;
  position: absolute;
  left: -1.5em;
  top: 0.2em;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo {
  align-items: center;
  display: flex;
  gap: 3px;
  margin-bottom: 2px;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo select.linked {
  font: normal var(--font-size-12) var(--sans-serif);
  line-height: var(--font-size-12);
  padding-top: 3px;
  width: fit-content;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo select.linked[data-compatible=false] {
  color: rgba(255, 255, 255, 0.6);
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo select.linked option,
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo select.linked optgroup {
  color: var(--text-light);
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo .magazine {
  margin-right: 0.5rem;
  font-family: var(--sans-serif);
  font-weight: 600;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo .magazine .icon {
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  background-image: url("../assets/icons/heavy-bullets.svg");
  background-size: cover;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .auxiliary-actions {
  display: flex;
  gap: 3px;
  padding: var(--space-2) 0;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .auxiliary-actions button select.modular {
  appearance: auto;
  background: none;
  color: var(--text-dark);
  cursor: default;
  font: inherit;
  margin-left: 0.5em;
  padding: 0.15em 0.2em;
  text-transform: uppercase;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .auxiliary-actions button select.modular option {
  background: var(--bg-dark);
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .auxiliary-actions button:has(select.modular:hover) {
  text-shadow: none;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .item-summary {
  grid-area: summary;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike:not(.ready) .item-image {
  cursor: default;
  filter: grayscale(1);
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike:not(.ready) .item-image:hover i {
  display: none;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike:not(.ready) h4.name {
  color: var(--color-text-dark-4);
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike:not(.ready) .hands-occupied {
  font: italic 500 var(--font-size-10) var(--sans-serif);
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  text-transform: uppercase;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .item-image:hover {
  background: none;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .frequency {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .frequency input {
  width: 0;
  flex: 0 1 4rem;
  text-align: center;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .frequency span {
  white-space: nowrap;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .item-summary .level {
  display: none;
}
.actor.sheet.attack-popout section.window-content .tab.actions h4 {
  flex: 1;
}
.actor.sheet.attack-popout section.window-content .tab.actions button.activate {
  background: none;
  border: 1px solid var(--color-border-dark);
  border-radius: 5px;
  flex: 0;
  line-height: 1.25em;
  opacity: 0.7;
  margin-right: 0.5rem;
  padding: 0 0.25rem;
}
.actor.sheet.attack-popout section.window-content .tab.actions button.activate.active, .actor.sheet.attack-popout section.window-content .tab.actions button.activate:hover {
  background-color: var(--color-pf-primary);
  color: var(--text-light);
  opacity: 1;
}
.actor.sheet.attack-popout section.window-content .tab.actions .item-controls {
  display: flex;
  min-width: 2.5em;
  justify-content: end;
}
.actor.sheet.attack-popout section.window-content .tab.actions {
  margin: 0.25em var(--space-4) 0;
}
.actor.sheet.attack-popout section.window-content .tab.actions .actions-container {
  padding: var(--space-8) var(--space-4) 2rem;
}
.actor.sheet.attack-popout section.window-content .tab.actions .actions-container .actions-tabs-wrapper {
  justify-items: center;
}
.actor.sheet.attack-popout section.window-content .tab.actions .actions-container .actions-tabs-wrapper .action-radio {
  display: none;
}
.actor.sheet.attack-popout section.window-content .tab.actions .actions-container .actions-tabs-wrapper .actions-panels {
  min-height: min-content;
  width: 100%;
}
.actor.sheet.attack-popout section.window-content .tab.actions .actions-container .actions-tabs-wrapper .actions-panels .actions-panel {
  display: none;
}
.actor.sheet.attack-popout section.window-content .tab.actions .actions-container .actions-tabs-wrapper .actions-panels .actions-panel.active {
  display: flex;
  flex-direction: column;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list {
  padding-left: 0;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action-header {
  align-items: center;
  display: flex;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action, .actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike {
  border: solid transparent;
  border-image: linear-gradient(90deg, #f1edea, rgb(212.7821782178, 202.4851485149, 193.2178217822)) 1 repeat;
  border-width: 0 0 var(--space-1);
  padding: var(--space-4);
  width: 100%;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action p:empty, .actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike p:empty {
  display: none;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .item-image, .actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .item-image {
  display: flex;
  justify-content: center;
  align-items: center;
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
  font-size: var(--font-size-18);
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action button.use-action, .actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike button.use-action {
  align-items: center;
  border-radius: 2px;
  border: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), inset 0 0 0 2px rgba(0, 0, 0, 0.2);
  display: flex;
  flex: 0;
  font: 500 var(--font-size-10) var(--sans-serif);
  gap: 0.25em;
  height: 2em;
  justify-content: space-evenly;
  letter-spacing: 0.05em;
  margin: 0;
  max-width: fit-content;
  padding: 0.5em;
  text-rendering: optimizeLegibility;
  text-transform: uppercase;
  white-space: nowrap;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action button.use-action:not(:disabled), .actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike button.use-action:not(:disabled) {
  background: var(--bg-dark);
  cursor: pointer;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action button.use-action:not(:disabled):hover, .actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike button.use-action:not(:disabled):hover {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15), inset 0 0 0 2px rgba(0, 0, 0, 0.4);
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action button.use-action:not(:disabled):active, .actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike button.use-action:not(:disabled):active {
  color: var(--color-pf-primary);
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .item-summary, .actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .item-summary {
  border-image-repeat: repeat;
  border-image-slice: 11;
  border-image-source: url("../assets/sheet/frame-elegant.svg");
  border-image-width: 14px;
  border-style: double;
  padding: 0.5rem 1rem 1rem;
  margin: var(--space-8) 0;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .item-summary .title,
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .item-summary .framing, .actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .item-summary .title,
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .item-summary .framing {
  color: var(--color-pf-primary);
  margin-top: 1em;
  margin: 0;
  padding: 0;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .item-summary .framing, .actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .item-summary .framing {
  color: var(--color-pf-secondary);
  margin: 1em 0 0.25em;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .item-summary .framing strong, .actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .item-summary .framing strong {
  font-weight: 500;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .item-summary .framing + p, .actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .item-summary .framing + p {
  margin-top: 0;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .item-summary img, .actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .item-summary img {
  border: none;
  vertical-align: middle;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .item-summary img.actionlight, .actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .item-summary img.actionlight {
  background: var(--color-pf-alternate);
  vertical-align: middle;
  border: 1px solid var(--text-dark);
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .item-summary .item-properties .tag.toggled-on:hover, .actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .item-summary .item-properties .tag.toggled-off:hover, .actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .item-summary .item-properties .tag.toggled-on:hover, .actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .item-summary .item-properties .tag.toggled-off:hover {
  box-shadow: none;
  text-shadow: 0 0 2px white;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .item-summary .item-properties .tag.toggled-on, .actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .item-summary .item-properties .tag.toggled-off, .actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .item-summary .item-properties .tag.toggled-on, .actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .item-summary .item-properties .tag.toggled-off {
  cursor: pointer;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .item-summary .item-properties .tag.toggled-on, .actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .item-summary .item-properties .tag.toggled-on {
  background-color: rgba(23, 31, 105, 0.5);
  color: var(--text-dark);
  text-shadow: 0 0 2px white;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .item-summary dd, .actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .item-summary dd {
  margin: 0;
  margin-bottom: var(--space-8);
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .item-summary .tag.tag_secondary, .actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .item-summary .tag.tag_secondary {
  background-color: rgba(0, 0, 0, 0.8);
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action {
  align-items: center;
  column-gap: var(--space-8);
  display: grid;
  grid: "icon    name    tracking controls" 1fr "icon    buttons tracking controls" auto "summary summary summary   summary" auto/min-content 1fr min-content 2rem;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action.hidden {
  display: none;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action > .icon {
  grid-area: icon;
  height: 2rem;
  width: 2rem;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .name {
  align-items: center;
  display: flex;
  gap: var(--space-4);
  grid-area: name;
  margin-bottom: 0;
  text-align: left;
  white-space: nowrap;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .name > a:hover {
  color: var(--color-pf-primary);
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .item-controls {
  font-size: var(--font-size-12);
  grid-area: controls;
  white-space: nowrap;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .button-group {
  grid-area: buttons;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .frequency {
  grid-area: tracking;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .item-controls {
  grid-area: controls;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.action .item-summary {
  grid-area: summary;
}
.actor.sheet.attack-popout section.window-content .tab.actions ul.option-toggles {
  border-image-repeat: repeat;
  border-image-slice: 11;
  border-image-source: url("../assets/sheet/frame-elegant.svg");
  border-image-width: 14px;
  border-style: double;
  display: flex;
  flex-flow: column wrap;
  font-family: var(--body-serif);
  gap: var(--space-1);
  list-style: none;
  margin-bottom: var(--space-8);
  padding: var(--space-8) 1rem;
}
.actor.sheet.attack-popout section.window-content .tab.actions ul.option-toggles > li {
  align-items: center;
  display: flex;
  height: 1.5rem;
  width: 100%;
}
.actor.sheet.attack-popout section.window-content .tab.actions ul.option-toggles > li label {
  align-items: center;
  display: flex;
  gap: var(--space-4);
}
.actor.sheet.attack-popout section.window-content .tab.actions ul.option-toggles > li label input[type=checkbox] {
  height: 1.125rem;
  margin: 0;
  padding: 0;
}
.actor.sheet.attack-popout section.window-content .tab.actions ul.option-toggles > li label .unchecked-disabled {
  color: var(--color-text-dark-inactive);
}
.actor.sheet.attack-popout section.window-content .tab.actions ul.option-toggles > li label select {
  margin-left: 0.25em;
}
.actor.sheet.attack-popout section.window-content .tab.actions .actions-container {
  padding: 0 var(--space-2);
}
.actor.sheet.attack-popout section.window-content .tab.actions ul.option-toggles {
  margin-bottom: 0;
}
.actor.sheet.attack-popout section.window-content .tab.actions ul.option-toggles select {
  appearance: none;
  background: var(--color-pf-alternate);
  border-color: var(--color-pf-alternate-dark);
  color: var(--text-light);
  font: 500 var(--font-size-14) var(--serif);
  line-height: 1;
  padding: var(--space-4) 1.1rem var(--space-4) var(--space-4);
}
.actor.sheet.attack-popout section.window-content .tab.actions ul.option-toggles select:not(:disabled) {
  cursor: pointer;
}
.actor.sheet.attack-popout section.window-content .tab.actions ul.option-toggles option {
  background-color: var(--color-pf-alternate);
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list {
  list-style: none;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike {
  border: unset;
  grid-template: "img content" min-content "summary summary" min-content/2rem 1fr;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .item-image {
  height: 1.5rem;
  width: 1.5rem;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .button-groups {
  display: flex;
  flex-direction: column;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo select.linked {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: var(--alt);
  background-image: url("../assets/icons/chevron-down.svg");
  background-position: right 0.25em top 50%;
  background-repeat: no-repeat;
  background-size: 1em auto;
  border-radius: 2px;
  border: 1px solid #53422a;
  color: var(--text-light);
  height: auto;
  padding: 0.25rem 1.1rem 0.25rem 0.25rem;
  position: relative;
  text-overflow: ellipsis;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo select.linked[data-compatible=false] {
  color: rgba(255, 255, 255, 0.6);
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo select.linked option,
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo select.linked optgroup {
  color: var(--text-light);
  background-color: var(--alt);
}
.actor.sheet.vehicle .crb-style .sheet-navigation {
  min-width: 375px;
}
.actor.sheet.vehicle .crb-style aside {
  grid-area: sidebar;
  color: var(--sidebar-label);
  font-family: var(--serif);
  font-size: var(--font-size-10);
  font-weight: 600;
  margin-left: 8px;
  background-image: url("../assets/sheet/red_sidebar_top.webp"), url("../assets/sheet/red_sidebar_bottom.webp");
  background-repeat: no-repeat;
  background-position: center calc(100% - 52px), center bottom;
  background-size: 224px 100%, 224px 52px;
  display: flex;
  flex-direction: column;
}
.actor.sheet.vehicle .crb-style aside input[type=number] {
  color: var(--text-light);
  text-align: center;
  font-size: var(--font-size-28);
  line-height: 1em;
  font-weight: initial;
}
.actor.sheet.vehicle .crb-style aside input[type=number]:focus {
  box-shadow: none;
}
.actor.sheet.vehicle .crb-style aside input[type=number]::-webkit-outer-spin-button, .actor.sheet.vehicle .crb-style aside input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.actor.sheet.vehicle .crb-style aside input[type=number]:read-only {
  pointer-events: none;
  color: var(--tertiary-light);
}
.actor.sheet.vehicle .crb-style aside input[type=number]:hover {
  text-shadow: 0 0 4px var(--tertiary);
}
.actor.sheet.vehicle .crb-style aside .modifiers_button {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 2px 2px 0 0;
  border: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  color: var(--primary);
  flex: 0;
  font: 600 var(--font-size-9) var(--sans-serif);
  letter-spacing: 0.05em;
  line-height: 1;
  margin: 0;
  padding: 2px 3px;
  text-rendering: optimizeLegibility;
  text-transform: uppercase;
  white-space: nowrap;
}
.actor.sheet.vehicle .crb-style aside .modifiers_button:hover:not(:disabled) {
  background: white;
  box-shadow: inset 0 0 0 1px white;
}
.actor.sheet.vehicle .crb-style aside .sidebar {
  padding: 0 2px 2px 8px;
  margin-bottom: 2.625rem;
  overflow: hidden scroll;
}
.actor.sheet.vehicle .crb-style aside .sidebar::-webkit-scrollbar-track {
  box-shadow: none;
}
.actor.sheet.vehicle .crb-style aside h2,
.actor.sheet.vehicle .crb-style aside h3,
.actor.sheet.vehicle .crb-style aside h4 {
  margin: 0;
  line-height: 1;
}
.actor.sheet.vehicle .crb-style aside header {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0.8em 0 0.5em;
}
.actor.sheet.vehicle .crb-style aside header:first-of-type {
  margin-top: 0.5em;
  margin-bottom: -1px;
}
.actor.sheet.vehicle .crb-style aside header h2 {
  font-family: var(--sans-serif);
  font-size: var(--font-size-13);
  font-variant: small-caps;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--sidebar-title);
  flex: 1;
}
.actor.sheet.vehicle .crb-style aside header .modifiers_button,
.actor.sheet.vehicle .crb-style aside header h2 {
  border-bottom: 1px solid var(--sidebar-title);
}
.actor.sheet.vehicle .crb-style aside .sidebar_label {
  color: var(--sidebar-label);
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  white-space: nowrap;
}
.actor.sheet.vehicle .crb-style aside .data-value {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0; /* Removes whitespace for inputs */
}
.actor.sheet.vehicle .crb-style aside .data-value h2 {
  color: var(--color-pf-tertiary);
  text-align: center;
  font-size: var(--font-size-28);
  line-height: 1;
  font-weight: initial;
  font-family: var(--serif);
  border: none;
}
.actor.sheet.vehicle .crb-style aside .emits-sound select {
  margin-top: 5px;
  margin-bottom: 2px;
}
.actor.sheet.vehicle .crb-style aside .hitpoints .container {
  display: grid;
}
.actor.sheet.vehicle .crb-style aside .hitpoints .hp-big {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: space-evenly;
}
.actor.sheet.vehicle .crb-style aside .hitpoints .hp-big .container {
  text-align: center;
}
.actor.sheet.vehicle .crb-style aside .hitpoints .hp-big .container.current-hp {
  background-image: linear-gradient(90deg, var(--color-pf-primary-dark) 0%, rgb(134.8, 0, 0) 50%, var(--color-pf-primary-dark) 100%);
  background-color: var(--primary);
  border-radius: 0 0 4px 4px;
  border: 1px solid var(--sidebar-title);
  display: flex;
  flex-direction: column;
  padding: 0.625rem 0.25rem 0;
  position: relative;
  width: min-content;
  z-index: 0;
}
.actor.sheet.vehicle .crb-style aside .hitpoints .hp-big .container.current-hp .data-value {
  margin-top: 3px;
}
.actor.sheet.vehicle .crb-style aside .hitpoints .hp-big .container.current-hp .data-value input[type=number] {
  font-size: var(--font-size-32);
  letter-spacing: -1px;
  height: 2rem;
}
.actor.sheet.vehicle .crb-style aside .hitpoints .hp-big .container.max-hp, .actor.sheet.vehicle .crb-style aside .hitpoints .hp-big .container.temp-hp {
  margin-top: 0.75rem;
}
.actor.sheet.vehicle .crb-style aside .hitpoints .hp-big .container.temp-hp {
  margin-right: 0.5rem;
  text-align: center;
}
.actor.sheet.vehicle .crb-style aside .hitpoints .hp-big .container.temp-hp input {
  margin-top: 0.125rem;
}
.actor.sheet.vehicle .crb-style aside .hitpoints .hp-big .container.max-hp {
  margin-left: 0.5rem;
  text-align: center;
}
.actor.sheet.vehicle .crb-style aside .hitpoints .hp-big .container.max-hp .unrecoverable {
  color: orangered;
}
.actor.sheet.vehicle .crb-style aside .hitpoints .hp-small {
  display: flex;
  gap: 0.125rem;
  justify-content: space-evenly;
  margin: 0.5rem 0.125rem 0 0.125rem;
  text-align: center;
}
.actor.sheet.vehicle .crb-style aside .hitpoints .hp-small h4,
.actor.sheet.vehicle .crb-style aside .hitpoints .hp-small label {
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
}
.actor.sheet.vehicle .crb-style aside .hitpoints .hp-small i.fa-regular,
.actor.sheet.vehicle .crb-style aside .hitpoints .hp-small i.fa-solid {
  color: var(--text-light);
}
.actor.sheet.vehicle .crb-style aside .armor-class {
  display: grid;
  grid: "ac hardness" 1fr;
  grid-column-gap: 4px;
}
.actor.sheet.vehicle .crb-style aside .armor-class .shield {
  padding: 18px 20px 0 20px;
}
.actor.sheet.vehicle .crb-style aside .armor-class .ac,
.actor.sheet.vehicle .crb-style aside .armor-class .shield {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 4.625rem;
  justify-content: start;
  padding: 1.125rem 1.25rem 0 1.25rem;
  text-align: center;
}
.actor.sheet.vehicle .crb-style aside .armor-class .ac .data-value input,
.actor.sheet.vehicle .crb-style aside .armor-class .shield .data-value input {
  font-size: var(--font-size-30);
  width: 3rem;
}
.actor.sheet.vehicle .crb-style aside .armor-class .ac .data-value input:disabled,
.actor.sheet.vehicle .crb-style aside .armor-class .shield .data-value input:disabled {
  color: var(--color-pf-tertiary);
}
.actor.sheet.vehicle .crb-style aside .armor-class .ac label,
.actor.sheet.vehicle .crb-style aside .armor-class .shield label {
  white-space: normal;
}
.actor.sheet.vehicle .crb-style aside .armor-class .ac {
  background: url("../assets/sheet/shield-blue.webp") no-repeat center center;
  grid-area: ac;
}
.actor.sheet.vehicle .crb-style aside .armor-class .hardness {
  background: url("../assets/sheet/shield-red.webp") no-repeat top center;
}
.actor.sheet.vehicle .crb-style aside ul.sidebar-saves {
  margin: 0;
  padding: 0;
  display: flex;
}
.actor.sheet.vehicle .crb-style aside ul.sidebar-saves .roll-data {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-left: 1px solid rgba(255, 239, 189, 0.1882352941);
}
.actor.sheet.vehicle .crb-style aside ul.sidebar-saves .roll-data:first-child {
  border-left: none;
}
.actor.sheet.vehicle .crb-style aside ul.sidebar-saves .roll-data .sidebar_label {
  font-weight: initial;
  text-transform: capitalize;
  font-size: var(--font-size-12);
  border: none;
  margin-bottom: 2px;
}
.actor.sheet.vehicle .crb-style aside ul.sidebar-saves .roll-data .save-roll {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4px 0;
}
.actor.sheet.vehicle .crb-style aside ul.sidebar-saves .roll-data .save-roll h3 {
  margin: 0;
  margin-left: 2px;
}
.actor.sheet.vehicle .crb-style aside ul.sidebar-saves .roll-data .modifiers_button {
  padding: 2px;
  border-radius: 2px;
  width: initial;
}
.actor.sheet.vehicle .crb-style aside ul.sidebar-saves .roll-icon:hover i {
  transform: scale(1.25);
}
.actor.sheet.vehicle .crb-style aside ul.sidebar-saves .roll-icon:hover svg {
  animation: rotation 2s infinite linear;
}
@keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(359deg);
  }
}
.actor.sheet.vehicle .crb-style aside ul.sidebar-saves .save-roll input[type=number] {
  width: 3ch;
  font-size: var(--font-size-20);
  height: 1.5rem;
}
.actor.sheet.vehicle .crb-style aside li.tag {
  font-size: var(--font-size-10);
}
.actor.sheet.vehicle .crb-style aside ol.tags {
  flex-direction: row;
}
.actor.sheet.vehicle .crb-style aside ol.tags li {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}
.actor.sheet.vehicle .crb-style header.char-header .tags select {
  font-family: var(--sans-serif);
  font-size: var(--font-size-12);
  text-transform: uppercase;
}
.actor.sheet.vehicle .crb-style header.char-header .char-details {
  font-size: var(--font-size-13);
  font-weight: normal;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active:not(.inventory),
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active .inventory .inventory-list {
  flex-grow: 1;
  overflow: hidden scroll;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.action .icon {
  height: var(--font-size-18);
  width: var(--font-size-18);
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.actions .frequency {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.actions .frequency input {
  width: 0;
  flex: 0 1 4rem;
  text-align: center;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.actions .frequency span {
  white-space: nowrap;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.details .vehicle-details {
  display: grid;
  grid: "img details" 1fr/120px 1fr;
  min-width: 330px;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.details .vehicle-details .frame {
  margin-left: 5px;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.details .vehicle-details .frame .actor-image {
  margin-top: 8px;
  max-height: 90%;
  object-fit: contain;
  border-radius: 0;
  border: none;
  box-shadow: 0 0 0 1px #918c88, 0 0 0 2px #e1d8cf, 0 0 0 3px #a98f39, inset 0 0 8px rgba(0, 0, 0, 0.5), 0 0 8px black;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.details .vehicle-details .image-container [data-action=show-image] {
  bottom: 3px;
  right: 1px;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.details .vehicle-details .detail-sheet {
  display: grid;
  grid: repeat(2, 42px)/3fr 2fr;
  grid-row-gap: 0.5rem;
  padding-left: 12px;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.details .vehicle-details .detail-small {
  display: flex;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.details .vehicle-properties {
  display: flex;
  flex-wrap: wrap;
  padding-top: 8px;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.details .vehicle-properties > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.details .vehicle-properties > div > span {
  width: 100%;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.details .detailsInput {
  margin-bottom: 0.5rem;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.inventory {
  display: flex;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.effects.effects .effects-list {
  gap: 0.2em;
  padding-bottom: 1em;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.effects.effects .effects-list .item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 2px 12px;
  width: 100%;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.effects.effects .effects-list .item p:empty {
  display: none;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.effects.effects .effects-list .item .item-name {
  display: flex;
  align-items: center;
  flex: 1;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.effects.effects .effects-list .item .item-name h4 {
  cursor: pointer;
  margin: 0;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.effects.effects .effects-list .item .item-name .item-image {
  margin-right: 8px;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.effects.effects .effects-list .item .item-controls {
  display: flex;
  flex: 0;
  font-size: var(--font-size-12);
  gap: 1px;
  white-space: nowrap;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.effects.effects .effects-list .item .item-controls a.info-only:hover {
  cursor: default;
  text-shadow: none;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.effects.effects .effects-list .item .item-controls a + a {
  margin-left: 4px;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.effects.effects .effects-list .item .item-summary {
  flex-basis: 100%;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.effects.effects .effects-list .item.unidentified {
  border-radius: 1px;
  outline: 1px dotted rgba(75, 74, 68, 0.5);
  background: var(--visibility-gm-bg);
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.effects.effects .effects-list .item .button-group {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  width: 50%;
  flex: 0;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.effects.effects .effects-list .item .button-group button {
  margin: 0;
  border: none;
  cursor: pointer;
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  padding: 5px;
  color: var(--text-light);
  width: 70px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  background: var(--secondary);
  border-radius: 2px;
  flex: 0;
  white-space: nowrap;
  margin-left: 4px;
  flex: 0;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.effects.effects .effects-list .item .button-group button:hover {
  box-shadow: none;
  text-shadow: 0 0 2px white;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.effects.effects .effects-list .item {
  border-top: 1px solid rgb(212.7821782178, 202.4851485149, 193.2178217822);
  border: solid transparent;
  border-width: 0 0 1px;
  border-image: linear-gradient(90deg, #f1edea, rgb(212.7821782178, 202.4851485149, 193.2178217822)) 1 repeat;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.effects.effects .effects-list .item-image {
  border-radius: 2px;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.effects.effects .effects-list .item:last-child {
  border-bottom: none;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.effects.effects .effects-list .item-name h4 {
  font-family: var(--serif);
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.effects ol.directory-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  list-style: none;
  width: 100%;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.effects ol.directory-list h4 {
  margin: 0;
  padding: 0;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.effects ol.directory-list .item ol {
  list-style: none;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.description {
  padding-bottom: 0.5rem;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.description header {
  margin-bottom: 0.25rem;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.description .description {
  display: flex;
  flex-direction: column;
  flex: 1 0 22ch;
  margin-bottom: 1rem;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.description .description > .editor {
  display: inherit;
  flex-direction: inherit;
  flex: inherit;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.description .publication {
  margin-top: auto;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.description .publication > .content {
  align-items: baseline;
  gap: 0.25em;
  display: grid;
  grid-template: "title title title" 2fr "authors license remaster" 3fr/50% 25% 25%;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.description .publication > .content label {
  font-weight: 500;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.description .publication > .content input[type=text] {
  height: 1.6rem;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.description .publication > .content .title {
  grid-area: title;
  display: flex;
  width: calc(100% - 0.5em);
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.description .publication > .content .authors {
  grid-area: authors;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.description .publication > .content .license {
  grid-area: license;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.description .publication > .content .license select {
  margin-top: 1px;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.description .publication > .content .remaster {
  grid-area: remaster;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.description .publication > .content .license,
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.description .publication > .content .remaster {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.description .publication > .content .license label,
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.description .publication > .content .remaster label {
  padding: 0;
}
.actor.sheet.vehicle .crb-style input.adjustable:not(:focus).adjusted-higher,
.actor.sheet.vehicle .crb-style span.adjustable.adjusted-higher {
  color: var(--color-pf-text-adjusted-higher);
}
.actor.sheet.vehicle .crb-style input.adjustable:not(:focus).adjusted-lower,
.actor.sheet.vehicle .crb-style span.adjustable.adjusted-lower {
  color: var(--color-pf-text-adjusted-lower);
}
.actor.sheet.vehicle .crb-style .row-nr-1 {
  grid-row: 1/2;
}
.actor.sheet.vehicle .crb-style .row-nr-2 {
  grid-row: 2/3;
}
.actor.sheet.vehicle .crb-style .row-nr-3 {
  grid-row: 3/4;
}
.actor.sheet.vehicle .crb-style .span-2-columns {
  grid-column-end: span 2;
}
.actor.sheet.vehicle .crb-style .flexitem-1 {
  flex: 1 1 10%;
}
.actor.sheet.vehicle .crb-style .flexitem-5 {
  flex: 5 1 50%;
}
.actor.sheet.vehicle .crb-style .flexitem-full {
  flex: 100%;
}

.spellcasting-entry.preparation > .window-content {
  --animate-delay: 1s;
  --animate-duration: 1s;
  --animate-repeat: 1;
  --form-field-height: 1.5rem;
}
.spellcasting-entry.preparation > .window-content input[type=checkbox] {
  flex: 0 0 var(--font-size-20);
  height: var(--font-size-20);
  margin: var(--space-3) var(--space-5);
  width: var(--font-size-20);
}
.spellcasting-entry.preparation > .window-content select {
  height: var(--form-field-height);
}
.spellcasting-entry.preparation > .window-content h3 {
  border-bottom: none;
}
.spellcasting-entry.preparation > .window-content button > i {
  margin-right: 0;
}
.spellcasting-entry.preparation > .window-content form {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 var(--space-4) var(--space-4);
}
.spellcasting-entry.preparation > .window-content form > header {
  align-items: baseline;
  display: block;
  flex: 0;
  margin-bottom: 0.5em;
}
.spellcasting-entry.preparation > .window-content form > header h1 {
  display: flex;
  flex: 1;
  font-family: var(--serif-condensed);
  font-weight: 700;
  justify-content: space-between;
  overflow: hidden;
  padding-right: var(--space-4);
  white-space: nowrap;
}
.spellcasting-entry.preparation > .window-content form > header p.hint {
  margin: auto auto 0.5em;
}
.spellcasting-entry.preparation > .window-content form > header .flexible-available {
  flex: 0;
  white-space: nowrap;
}
.spellcasting-entry.preparation > .window-content .sheet-content {
  display: flex;
  overflow: hidden auto;
  padding: 0 var(--space-3) 1em 0;
  scrollbar-gutter: stable;
}
.spellcasting-entry.preparation > .window-content ol.spell-list {
  height: fit-content;
  display: flex;
  flex-basis: 100%;
  flex-flow: column nowrap;
  gap: var(--space-1);
  height: fit-content;
  margin: 0;
  padding: 0;
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li {
  --range-uses-width: 4rem;
  --controls-width: 2.25rem;
  align-items: center;
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr 6rem var(--range-uses-width) var(--controls-width);
  margin: 0;
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li > * {
  align-items: center;
  justify-self: center;
  display: flex;
  flex-wrap: nowrap;
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li > *.defense, .spellcasting-entry.preparation > .window-content ol.spell-list > li > *.range {
  text-align: center;
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li:nth-child(odd) {
  background-color: rgba(120, 100, 82, 0.1);
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li:nth-child(even) .item-summary {
  background: none;
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li:last-child {
  border-bottom: 1px solid var(--sub);
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li.header-row {
  background: rgba(96, 88, 86, 0.25);
  border: 1px solid var(--color-border-light-2);
  border-radius: 2px;
  font: 500 var(--font-size-12) var(--sans-serif);
  line-height: 1.75rem;
  margin-bottom: 0.125em;
  padding: 0 0.25em;
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li.header-row:not(:first-child) {
  margin-top: 0.125em;
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li.header-row .item-name {
  padding-left: 0.2em;
  font-weight: 700;
  text-transform: capitalize;
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li.header-row .invisible {
  visibility: hidden;
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li.header-row .item-controls {
  gap: 0.125rem;
  padding-right: 0.25em;
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li.spell {
  border: none;
  font-size: var(--font-size-13);
  padding: var(--space-3) var(--space-4);
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li.spell:nth-child(even) {
  padding: var(--space-2) var(--space-4);
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li .item-name {
  justify-self: start;
  width: 100%;
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li .item-name h3 {
  white-space: nowrap;
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li .item-name + span {
  font-size: var(--font-size-12);
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li .item-name .item-image {
  display: flex;
  flex: 0 0 1.5rem;
  height: 1.5rem;
  position: relative;
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li .item-name .item-image,
.spellcasting-entry.preparation > .window-content ol.spell-list > li .item-name .item-image i {
  --inset-shadow-length: 0.25rem;
  border: none;
  border-radius: 2px;
  box-shadow: 0 0 0 1px var(--tertiary), 0 0 0 2px #9f725b, inset 0 0 var(--inset-shadow-length) rgba(0, 0, 0, 0.5);
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li .item-name .item-image i {
  align-items: center;
  background: #f1eee9;
  color: var(--text-dark);
  display: none;
  font-size: var(--font-size-16);
  height: 100%;
  justify-content: center;
  position: absolute;
  width: 100%;
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li .item-name .item-image:hover {
  text-shadow: none;
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li .item-name .item-image:hover i {
  display: flex;
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li .item-name h4 {
  margin: 0;
  padding: 0;
  font: 500 var(--font-size-14)/1 var(--body-serif);
  letter-spacing: -0.025em;
  margin-left: 0.5em;
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li .item-name h4 > a:hover {
  color: var(--color-pf-secondary);
  text-shadow: none;
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li .item-name .action-glyph {
  margin-left: var(--space-2);
  font-size: small;
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li .item-controls {
  justify-content: end;
  justify-self: end;
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li .item-summary {
  background-color: rgba(248, 244, 241, 0.5);
  border-bottom: 1px solid var(--sub);
  border-top: 1px solid rgb(172.3076923077, 164.6153846154, 162.6923076923);
  display: block;
  grid-column: span 5;
  padding: var(--space-4) 0 var(--space-8);
  width: 100%;
}
.spellcasting-entry.preparation > .window-content ol.spell-list > li .item-summary {
  padding: var(--space-4);
}
.spellcasting-entry.preparation > .window-content ol.spell-list.flexible > li {
  --controls-width: 3.5rem;
}
.spellcasting-entry.preparation > .window-content ol.spell-list.flexible > li input {
  margin: 0 var(--space-2) 0 0;
  flex: 0 0 var(--font-size-17);
}

/* Actor-type Imports */
.sheet.familiar .section-container {
  display: flex;
  flex-direction: column;
}
.sheet.familiar .section-container .section-header {
  align-items: baseline;
  background: var(--color-pf-primary);
  border-radius: 3px 3px 0 0;
  border: 1px solid var(--color-pf-primary);
  color: var(--text-light);
  display: flex;
  flex-direction: row;
  flex: 0;
  justify-content: space-between;
  line-height: 2em;
  padding: 0 var(--space-8);
  text-align: left;
  width: 100%;
}
.sheet.familiar .section-container .section-header h4 {
  align-items: baseline;
  display: flex;
  flex: auto;
  gap: var(--space-4);
  margin-bottom: 0;
  text-transform: uppercase;
}
.sheet.familiar .section-container .section-header input {
  color: inherit;
  width: auto;
}
.sheet.familiar .section-container .section-header .controls {
  gap: var(--space-8);
  white-space: nowrap;
}
.sheet.familiar .section-container .section-body {
  align-items: baseline;
  border-radius: 0 0 3px 3px;
  border: 1px solid var(--color-pf-primary);
  display: flex;
  flex-flow: row wrap;
  flex: auto;
  justify-content: flex-start;
  width: 100%;
}
.sheet.familiar .section-container.headerless .section-body {
  border-radius: 3px;
}
.sheet.familiar .actions-list {
  margin: 0;
  padding: 0;
  width: 100%;
}
.sheet.familiar .actions-list .controls {
  align-items: baseline;
  display: flex;
  flex: 0;
  flex-wrap: nowrap;
  font-size: var(--font-size-12);
  gap: var(--space-1);
  margin-left: auto;
}
.sheet.familiar .actions-list .controls .chat {
  font-size: 0.9em;
  margin-right: var(--space-2);
}
.sheet.familiar .actions-list li.action {
  border-bottom: 1px solid var(--color-border-light-tertiary);
  gap: var(--space-2) var(--space-4);
  display: flex;
  flex-flow: row wrap;
  justify-content: start;
  padding: var(--space-2) 0;
}
.sheet.familiar .actions-list li.action:last-child {
  border-bottom: none;
}
.sheet.familiar .actions-list li.action > h4 {
  flex: 0 0 88%;
  font-weight: normal;
  margin: 0;
  white-space: wrap;
}
.sheet.familiar .actions-list li.action > h4 .name strong {
  font-weight: 500;
}
.sheet.familiar .actions-list li.action > h4 .traits {
  text-transform: lowercase;
}
.sheet.familiar .actions-list li.action > h4 .traits ul {
  margin-bottom: 0;
}
.sheet.familiar .actions-list li.action > h4 .traits ul li {
  white-space: nowrap;
}
.sheet.familiar .actions-list li.action > h4 .traits ul li[data-tooltip] {
  text-decoration: underline;
  text-decoration-color: var(--color-pf-alternate);
}
.sheet.familiar .actions-list li.action .button-group {
  display: flex;
  gap: var(--space-3);
  justify-content: start;
  min-width: 100%;
  font-size: 1.25em;
}
.sheet.familiar .actions-list li.action .button-group .subsection {
  align-items: start;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: start;
}
.sheet.familiar .actions-list li.action .button-group .subsection h4 {
  margin-left: var(--font-size-12);
  margin-right: var(--font-size-12);
}
.sheet.familiar .actions-list li.action .button-group .subsection.attack button {
  background-color: var(--color-pf-secondary);
}
.sheet.familiar .actions-list li.action .button-group .subsection.damage button {
  background-color: var(--color-pf-primary);
}
.sheet.familiar .actions-list li.action .button-group button {
  align-items: center;
  display: flex;
  border: none;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  color: var(--color-text-light-0);
  cursor: pointer;
  font: var(--font-size-11) var(--sans-serif);
  height: var(--font-size-18);
  justify-content: center;
  line-height: var(--font-size-18);
  margin: 0;
  padding: 0 var(--space-8);
  white-space: nowrap;
  width: auto;
}
.sheet.familiar .actions-list li.action .button-group button:first-child {
  margin-left: 0;
}
.sheet.familiar .actions-list li.action .button-group button:hover {
  box-shadow: none;
  text-shadow: 0 0 2px var(--color-text-light-0);
}
.sheet.familiar .actions-list li.action .button-group button.use-action {
  background-color: var(--color-pf-secondary);
  color: var(--color-text-light-0);
  margin-right: var(--space-8);
}
.sheet.familiar .actions-list li.action .button-group .frequency {
  align-items: center;
  display: flex;
  flex-flow: row nowrap;
  font-size: var(--font-size-13);
  margin-left: auto;
  margin-right: 0;
  font-weight: normal;
  font-family: var(--sans-serif);
}
.sheet.familiar .actions-list li.action .button-group .frequency input {
  width: 0;
  padding-bottom: 0px;
  height: calc(100% - 2px);
  font-size: var(--font-size-13);
  flex: 0 1 4rem;
  text-align: center;
  font-weight: normal;
  font-family: var(--sans-serif);
}
.sheet.familiar .actions-list li.action .button-group .frequency span {
  white-space: nowrap;
}
.sheet.familiar .actions-list li.action .effects {
  font-size: var(--font-size-12);
  flex-basis: 100%;
}
.sheet.familiar .actions-list li.action > .item-summary {
  flex-basis: 100%;
  padding: 0;
}
.sheet.familiar form {
  background: url("../assets/sheet/background.webp") repeat-x local top/cover;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-4) var(--space-6) 0;
}
.sheet.familiar form > hr {
  width: 100%;
}
.sheet.familiar input {
  border: none;
  border-radius: 0;
  background-color: rgba(28, 28, 28, 0.1);
}
.sheet.familiar input:focus {
  box-shadow: none;
}
.sheet.familiar select {
  border: 1px solid transparent;
  background: rgba(0, 0, 0, 0.05);
  font-family: var(--body-serif);
  font-size: var(--font-size-14);
  font-weight: normal;
}
.sheet.familiar select:hover {
  border: 1px solid black;
}
.sheet.familiar header {
  display: flex;
  flex-direction: row;
}
.sheet.familiar header .image-container {
  display: flex;
}
.sheet.familiar header .image-container img.actor-image {
  border-radius: 0;
  flex: 0;
  height: 100%;
  min-width: 125px;
  width: 125px;
}
.sheet.familiar header .image-container [data-action=show-image] {
  bottom: 2px;
  right: 2px;
}
.sheet.familiar header .header-content {
  display: flex;
  flex-direction: column;
  border-radius: 0;
  flex-grow: 1;
  margin-left: var(--space-10);
}
.sheet.familiar header .header-content .charname {
  align-items: baseline;
  display: flex;
  flex-flow: row nowrap;
  font: 700 var(--font-size-28) var(--sans-serif-condensed);
  gap: var(--space-4);
  width: 100%;
}
.sheet.familiar header .header-content .charname input {
  border-bottom: 1px solid #d3ccbc;
  color: #323232;
  font-variant: small-caps;
  font-weight: bold;
  height: initial;
  padding: 0 var(--space-4);
}
.sheet.familiar header .header-content .charname input::placeholder {
  filter: opacity(0.5);
  color: #1c1c1c;
}
.sheet.familiar header .header-content .charname input:focus {
  border-bottom: 1px solid #644f33;
}
.sheet.familiar header .header-content .charname input:focus::placeholder {
  color: transparent;
}
.sheet.familiar header .header-content .charname span {
  flex: 0 1;
  text-align: right;
  margin-right: 0.1em;
  text-transform: uppercase;
}
.sheet.familiar header .header-content .sub-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-8);
}
.sheet.familiar header .header-content .sub-header ul.tags {
  margin-top: var(--space-4);
}
.sheet.familiar header .header-content .traits {
  margin: 0.25em 0;
}
.sheet.familiar header .header-content .traits span {
  color: var(--text-light);
  font-size: 0.75em;
  font-weight: 700;
  padding: 0.25em 0.5em;
  letter-spacing: 1px;
  text-transform: uppercase;
  background-color: var(--primary);
  border: 1px solid var(--tertiary);
}
.sheet.familiar header .header-content .details-section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.sheet.familiar header .header-content .details-section .hp-section {
  display: grid;
  flex-direction: column;
  height: max-content;
  width: 150px;
  grid-template-columns: min-content 1fr;
  font-size: var(--font-size-14);
}
.sheet.familiar header .header-content .details-section .hp-section div {
  white-space: nowrap;
}
.sheet.familiar header .header-content .details-section .hp-section .label {
  display: flex;
  flex-direction: row;
  align-items: center;
  white-space: nowrap;
}
.sheet.familiar header .header-content .details-section .hp-section .label h4 {
  font-weight: bold;
  margin: 0 0.25em 0 0;
  padding-left: 6px;
}
.sheet.familiar header .header-content .details-section .hp-section .value {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-left: 4px;
}
.sheet.familiar header .header-content .details-section .hp-section .value input {
  width: 2em;
  text-align: right;
  padding-right: 3px;
  border: 1px solid transparent;
  background: none;
  height: auto;
}
.sheet.familiar header .header-content .details-section .hp-section .value input:hover, .sheet.familiar header .header-content .details-section .hp-section .value input:focus {
  border: 1px solid black;
  box-shadow: 0 0 10px #00005a;
}
.sheet.familiar header .header-content .details-section .hp-section .value .total-hp {
  flex-grow: 1;
}
.sheet.familiar header .header-content .details-section .hp-section .temp-hp {
  display: flex;
  margin-left: 8px;
  align-items: baseline;
}
.sheet.familiar header .header-content .details-section .hp-section .temp-hp input {
  text-align: left;
}
.sheet.familiar header .header-content .details-section .defenses-section {
  display: flex;
  flex-direction: column;
}
.sheet.familiar header .header-content .details-section .defenses-section .defenses-list {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 12px;
}
.sheet.familiar header .header-content .details-section .defenses-section .defenses-list .save,
.sheet.familiar header .header-content .details-section .defenses-section .defenses-list .ac {
  display: flex;
  flex-direction: column;
  align-items: center;
  column-gap: 0.5em;
}
.sheet.familiar header .header-content .details-section .defenses-section .defenses-list .save .name,
.sheet.familiar header .header-content .details-section .defenses-section .defenses-list .ac .name {
  font-weight: bold;
  text-transform: capitalize;
}
.sheet.familiar header .header-content .details-section .defenses-section .defenses-list .save .value,
.sheet.familiar header .header-content .details-section .defenses-section .defenses-list .ac .value {
  font-style: normal;
}
.sheet.familiar header .header-content .details-section .defenses-section .defenses-list .save .value i,
.sheet.familiar header .header-content .details-section .defenses-section .defenses-list .ac .value i {
  margin-right: var(--space-2);
}
.sheet.familiar header .header-content .details-section .defenses-section .defenses-list .ac {
  border-right: 1px solid rgba(0, 0, 0, 0.15);
  padding-right: var(--space-12);
}
.sheet.familiar header .header-content .dying-section {
  display: flex;
  gap: var(--space-10);
  justify-content: end;
}
.sheet.familiar header .header-content .dying-section .name {
  font-weight: bold;
}
.sheet.familiar header .header-content .dying-section .pips {
  display: flex;
  gap: var(--space-1);
}
.sheet.familiar .main-section {
  display: flex;
  flex: 1;
  flex-direction: row;
  overflow: hidden;
}
.sheet.familiar .main-section .main-container {
  overflow: hidden scroll;
  flex-grow: 2;
}
.sheet.familiar .section-container {
  margin: 6px 6px;
}
.sheet.familiar .section-container .section-body {
  align-items: stretch;
  flex-direction: column;
  padding: 4px;
}
.sheet.familiar .section-container .section-body input {
  font-family: var(--body-serif);
  font-weight: bold;
  width: calc(100% - 6px);
  border-bottom: 1px solid #d3ccbc;
  text-transform: capitalize;
}
.sheet.familiar .section-container .section-body input::placeholder {
  filter: opacity(0.5);
  color: #1c1c1c;
}
.sheet.familiar .section-container .section-body input:focus {
  border-bottom: 1px solid #644f33;
}
.sheet.familiar .section-container .section-body input:focus::placeholder {
  color: transparent;
}
.sheet.familiar .section-container.toggles ul.option-toggles {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  list-style: none;
}
.sheet.familiar .section-container.toggles ul.option-toggles > li {
  width: 100%;
}
.sheet.familiar .section-container.toggles ul.option-toggles > li label {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.sheet.familiar .section-container.toggles ul.option-toggles > li label input {
  margin: 0;
  padding: 0;
}
.sheet.familiar .section-container.toggles ul.option-toggles > li select {
  background: none;
  margin-left: 0.25em;
  text-transform: none;
}
.sheet.familiar .familiar-section {
  flex-basis: 50%;
  display: flex;
  flex-direction: column;
}
.sheet.familiar .familiar-section .detail {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  margin-top: 3px;
}
.sheet.familiar .familiar-section .detail label {
  font-size: var(--font-size-10);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  font-family: var(--sans-serif);
  color: var(--primary);
  white-space: nowrap;
  margin-bottom: 3px;
}
.sheet.familiar .familiar-section .detail h4 {
  font-size: var(--font-size-14);
  font-family: var(--serif);
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.05);
  padding-left: 2px;
  margin: none;
}
.sheet.familiar .familiar-section .familiar-content {
  display: flex;
  flex-direction: row;
  margin-bottom: 5px;
  column-gap: 15px;
}
.sheet.familiar .familiar-section .familiar-content input {
  border: none;
  border-radius: 0;
}
.sheet.familiar .familiar-section .familiar-content input[type=text] {
  background-color: rgba(0, 0, 0, 0.05);
}
.sheet.familiar .familiar-section .familiar-content input:focus {
  box-shadow: none;
}
.sheet.familiar .familiar-section .familiar-content h3 {
  background-color: rgba(0, 0, 0, 0.05);
  height: 26px;
  font-family: var(--body-serif);
  font-size: var(--font-size-14);
  padding: 8px 4px 6px;
  line-height: 1;
}
.sheet.familiar .familiar-section .familiar-content .familiar-species {
  flex-basis: 50%;
}
.sheet.familiar .familiar-section .familiar-content .familiar-size {
  flex-basis: 50%;
}
.sheet.familiar .familiar-section .familiar-content .familiar-modifier {
  flex-basis: 50%;
}
.sheet.familiar .familiar-section .familiar-content .familiar-modifier select {
  font-weight: bold;
}
.sheet.familiar .familiar-section .familiar-content .familiar-senses {
  flex-basis: 50%;
  height: min-content;
}
.sheet.familiar .familiar-section .familiar-content .familiar-senses .tags {
  margin: 0;
  padding: 0;
}
.sheet.familiar .familiar-section .familiar-content .familiar-senses .tags ol {
  margin: 0;
}
.sheet.familiar .familiar-section .familiar-content .familiar-speed {
  flex-basis: 30%;
}
.sheet.familiar .skills-sidebar-placeholder {
  visibility: hidden;
  width: 172px;
}
.sheet.familiar .skills-content {
  display: flex;
  flex-direction: column;
  width: 150px;
  gap: 10px;
}
.sheet.familiar .skills-content .skills-list {
  display: flex;
  column-gap: 0.25em;
  row-gap: 0.25em;
  flex-direction: column;
  justify-content: center;
}
.sheet.familiar .skills-content .skills-list a {
  display: flex;
  flex-direction: row;
  align-items: center;
  border: 1px solid #999;
  border-radius: 3px;
  height: var(--font-size-20);
  cursor: pointer;
  font-size: var(--font-size-14);
  font-family: var(--serif);
}
.sheet.familiar .skills-content .skills-list a:hover {
  padding: none;
  border: 1px solid #323232;
}
.sheet.familiar .skills-content .skills-list a .mod {
  flex: 1;
  text-align: center;
  padding-left: 1em;
  color: var(--primary);
  font-weight: bold;
}
.sheet.familiar .skills-content .skills-list a .name {
  flex: 4;
}
.sheet.familiar .skills-content .skills-attack {
  flex: 1;
  align-self: center;
  border: 1px solid transparent;
  cursor: pointer;
}
.sheet.familiar .skills-content .skills-attack:hover {
  border-bottom: 1px solid #323232;
}
.sheet.familiar .actions-list .action {
  padding-top: 4px;
  padding-bottom: 4px;
}
.sheet.familiar .effects-list {
  margin: 0;
  padding: 0;
  gap: 0.2em;
}
.sheet.familiar .effects-list .item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 2px 12px;
  width: 100%;
}
.sheet.familiar .effects-list .item p:empty {
  display: none;
}
.sheet.familiar .effects-list .item .item-name {
  display: flex;
  align-items: center;
  flex: 1;
}
.sheet.familiar .effects-list .item .item-name h4 {
  cursor: pointer;
  margin: 0;
}
.sheet.familiar .effects-list .item .item-name .item-image {
  margin-right: 8px;
}
.sheet.familiar .effects-list .item .item-controls {
  display: flex;
  flex: 0;
  font-size: var(--font-size-12);
  gap: 1px;
  white-space: nowrap;
}
.sheet.familiar .effects-list .item .item-controls a.info-only:hover {
  cursor: default;
  text-shadow: none;
}
.sheet.familiar .effects-list .item .item-controls a + a {
  margin-left: 4px;
}
.sheet.familiar .effects-list .item .item-summary {
  flex-basis: 100%;
}
.sheet.familiar .effects-list .item.unidentified {
  border-radius: 1px;
  outline: 1px dotted rgba(75, 74, 68, 0.5);
  background: var(--visibility-gm-bg);
}
.sheet.familiar .effects-list .item .button-group {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  width: 50%;
  flex: 0;
}
.sheet.familiar .effects-list .item .button-group button {
  margin: 0;
  border: none;
  cursor: pointer;
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  padding: 5px;
  color: var(--text-light);
  width: 70px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  background: var(--secondary);
  border-radius: 2px;
  flex: 0;
  white-space: nowrap;
  margin-left: 4px;
  flex: 0;
}
.sheet.familiar .effects-list .item .button-group button:hover {
  box-shadow: none;
  text-shadow: 0 0 2px white;
}
.sheet.familiar .effects-list .item {
  margin: 0;
  padding: 0;
  margin: 0.25em 0;
}

.sheet.hazard section.window-content .section-container {
  display: flex;
  flex-direction: column;
}
.sheet.hazard section.window-content .section-container .section-header {
  align-items: baseline;
  background: var(--color-pf-primary);
  border-radius: 3px 3px 0 0;
  border: 1px solid var(--color-pf-primary);
  color: var(--text-light);
  display: flex;
  flex-direction: row;
  flex: 0;
  justify-content: space-between;
  line-height: 2em;
  padding: 0 var(--space-8);
  text-align: left;
  width: 100%;
}
.sheet.hazard section.window-content .section-container .section-header h4 {
  align-items: baseline;
  display: flex;
  flex: auto;
  gap: var(--space-4);
  margin-bottom: 0;
  text-transform: uppercase;
}
.sheet.hazard section.window-content .section-container .section-header input {
  color: inherit;
  width: auto;
}
.sheet.hazard section.window-content .section-container .section-header .controls {
  gap: var(--space-8);
  white-space: nowrap;
}
.sheet.hazard section.window-content .section-container .section-body {
  align-items: baseline;
  border-radius: 0 0 3px 3px;
  border: 1px solid var(--color-pf-primary);
  display: flex;
  flex-flow: row wrap;
  flex: auto;
  justify-content: flex-start;
  width: 100%;
}
.sheet.hazard section.window-content .section-container.headerless .section-body {
  border-radius: 3px;
}
.sheet.hazard section.window-content .actions-list {
  margin: 0;
  padding: 0;
  width: 100%;
}
.sheet.hazard section.window-content .actions-list .controls {
  align-items: baseline;
  display: flex;
  flex: 0;
  flex-wrap: nowrap;
  font-size: var(--font-size-12);
  gap: var(--space-1);
  margin-left: auto;
}
.sheet.hazard section.window-content .actions-list .controls .chat {
  font-size: 0.9em;
  margin-right: var(--space-2);
}
.sheet.hazard section.window-content .actions-list li.action {
  border-bottom: 1px solid var(--color-border-light-tertiary);
  gap: var(--space-2) var(--space-4);
  display: flex;
  flex-flow: row wrap;
  justify-content: start;
  padding: var(--space-2) 0;
}
.sheet.hazard section.window-content .actions-list li.action:last-child {
  border-bottom: none;
}
.sheet.hazard section.window-content .actions-list li.action > h4 {
  flex: 0 0 88%;
  font-weight: normal;
  margin: 0;
  white-space: wrap;
}
.sheet.hazard section.window-content .actions-list li.action > h4 .name strong {
  font-weight: 500;
}
.sheet.hazard section.window-content .actions-list li.action > h4 .traits {
  text-transform: lowercase;
}
.sheet.hazard section.window-content .actions-list li.action > h4 .traits ul {
  margin-bottom: 0;
}
.sheet.hazard section.window-content .actions-list li.action > h4 .traits ul li {
  white-space: nowrap;
}
.sheet.hazard section.window-content .actions-list li.action > h4 .traits ul li[data-tooltip] {
  text-decoration: underline;
  text-decoration-color: var(--color-pf-alternate);
}
.sheet.hazard section.window-content .actions-list li.action .button-group {
  display: flex;
  gap: var(--space-3);
  justify-content: start;
  min-width: 100%;
  font-size: 1.25em;
}
.sheet.hazard section.window-content .actions-list li.action .button-group .subsection {
  align-items: start;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: start;
}
.sheet.hazard section.window-content .actions-list li.action .button-group .subsection h4 {
  margin-left: var(--font-size-12);
  margin-right: var(--font-size-12);
}
.sheet.hazard section.window-content .actions-list li.action .button-group .subsection.attack button {
  background-color: var(--color-pf-secondary);
}
.sheet.hazard section.window-content .actions-list li.action .button-group .subsection.damage button {
  background-color: var(--color-pf-primary);
}
.sheet.hazard section.window-content .actions-list li.action .button-group button {
  align-items: center;
  display: flex;
  border: none;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  color: var(--color-text-light-0);
  cursor: pointer;
  font: var(--font-size-11) var(--sans-serif);
  height: var(--font-size-18);
  justify-content: center;
  line-height: var(--font-size-18);
  margin: 0;
  padding: 0 var(--space-8);
  white-space: nowrap;
  width: auto;
}
.sheet.hazard section.window-content .actions-list li.action .button-group button:first-child {
  margin-left: 0;
}
.sheet.hazard section.window-content .actions-list li.action .button-group button:hover {
  box-shadow: none;
  text-shadow: 0 0 2px var(--color-text-light-0);
}
.sheet.hazard section.window-content .actions-list li.action .button-group button.use-action {
  background-color: var(--color-pf-secondary);
  color: var(--color-text-light-0);
  margin-right: var(--space-8);
}
.sheet.hazard section.window-content .actions-list li.action .button-group .frequency {
  align-items: center;
  display: flex;
  flex-flow: row nowrap;
  font-size: var(--font-size-13);
  margin-left: auto;
  margin-right: 0;
  font-weight: normal;
  font-family: var(--sans-serif);
}
.sheet.hazard section.window-content .actions-list li.action .button-group .frequency input {
  width: 0;
  padding-bottom: 0px;
  height: calc(100% - 2px);
  font-size: var(--font-size-13);
  flex: 0 1 4rem;
  text-align: center;
  font-weight: normal;
  font-family: var(--sans-serif);
}
.sheet.hazard section.window-content .actions-list li.action .button-group .frequency span {
  white-space: nowrap;
}
.sheet.hazard section.window-content .actions-list li.action .effects {
  font-size: var(--font-size-12);
  flex-basis: 100%;
}
.sheet.hazard section.window-content .actions-list li.action > .item-summary {
  flex-basis: 100%;
  padding: 0;
}
.sheet.hazard section.window-content ul,
.sheet.hazard section.window-content ol {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.sheet.hazard section.window-content h1,
.sheet.hazard section.window-content h2,
.sheet.hazard section.window-content h3,
.sheet.hazard section.window-content h4 {
  margin: 0;
  padding: 0;
  border-bottom: none;
}
.sheet.hazard section.window-content form {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.sheet.hazard section.window-content form .tagify > span {
  min-width: 1.25rem;
}
.sheet.hazard section.window-content form .tagify--hasMaxTags > span {
  display: none;
}
.sheet.hazard section.window-content form a.disabled {
  color: var(--color-disabled);
  pointer-events: none;
}
.sheet.hazard section.window-content .window-content {
  margin: 0;
  padding: 0;
}
.sheet.hazard section.window-content .window-content {
  margin: 0;
  padding: 0;
}
.sheet.hazard section.window-content input[type=text],
.sheet.hazard section.window-content input[type=number] {
  margin: 0;
  padding: 0;
  background: none;
  border: 1px solid transparent;
}
.sheet.hazard section.window-content input[type=text]:hover:not(:disabled), .sheet.hazard section.window-content input[type=text]:focus,
.sheet.hazard section.window-content input[type=number]:hover:not(:disabled),
.sheet.hazard section.window-content input[type=number]:focus {
  border: 1px solid var(--color-shadow-dark);
  box-shadow: 0 0 10px #00005a;
}
.sheet.hazard section.window-content .container {
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
  display: flex;
  height: 100%;
  overflow: hidden;
}
.sheet.hazard section.window-content .content {
  flex: 1;
  overflow: hidden scroll;
  padding: 0 var(--space-5) 1.25rem;
}
.sheet.hazard section.window-content form > header {
  align-items: center;
  background: url("../assets/sheet/header-bw.webp"), url("../assets/sheet/background.webp");
  background-blend-mode: multiply;
  background-color: #238580;
  background-repeat: repeat-x, no-repeat;
  background-size: cover;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
  color: var(--text-light);
  display: flex;
  font-family: var(--sans-serif);
  font-weight: 600;
  gap: var(--space-8);
  justify-content: space-between;
  margin-bottom: 0.1em;
  padding: 0 1rem;
  text-transform: uppercase;
  width: 100%;
}
.sheet.hazard section.window-content form > header .frame-container {
  flex: 0 0 3.75rem;
  padding: var(--space-4);
  margin: 1rem 0;
}
.sheet.hazard section.window-content form > header .frame-container .frame {
  width: 3.75rem;
  height: 3.75rem;
}
.sheet.hazard section.window-content form > header .frame-container .actor-image {
  border: none;
  box-shadow: 0 0 0 1px #918c88, 0 0 0 2px #e1d8cf, 0 0 0 3px #a98f39, inset 0 0 8px rgba(0, 0, 0, 0.5), 0 0 8px black;
  border-radius: 0;
  border: none;
  max-height: 11.125rem;
  object-fit: cover;
  object-position: top;
  width: 100%;
}
.sheet.hazard section.window-content form > header .frame-container .edit-mode-button {
  border: none;
  box-shadow: 0 0 0 1px #918c88, 0 0 0 2px #e1d8cf, 0 0 0 3px #a98f39, inset 0 0 8px rgba(0, 0, 0, 0.5), 0 0 8px black;
  align-items: center;
  background-color: var(--color-text-light-0);
  border-radius: 10px;
  bottom: -0.625rem;
  color: var(--text-dark);
  display: flex;
  font-size: 1.05em;
  height: 1.25rem;
  justify-content: center;
  left: -0.625rem;
  position: absolute;
  width: 1.25rem;
}
.sheet.hazard section.window-content form > header .frame-container .edit-mode-button:hover {
  text-shadow: none;
}
.sheet.hazard section.window-content form > header .details {
  flex: 1;
  margin: var(--space-4) 0;
}
.sheet.hazard section.window-content form > header .details tags.paizo-style select {
  border-radius: 0;
}
.sheet.hazard section.window-content form > header .details tags.paizo-style tag {
  height: 1.5rem;
}
.sheet.hazard section.window-content form > header .details tags.paizo-style tag .tagify__input::before {
  color: var(--color-text-trait);
}
.sheet.hazard section.window-content form > header input[type=text],
.sheet.hazard section.window-content form > header input[type=number] {
  color: var(--text-light);
  border: none;
  border-bottom: 1px solid transparent;
}
.sheet.hazard section.window-content form > header input[type=text]:hover:not(:disabled), .sheet.hazard section.window-content form > header input[type=text]:focus,
.sheet.hazard section.window-content form > header input[type=number]:hover:not(:disabled),
.sheet.hazard section.window-content form > header input[type=number]:focus {
  border: none;
  border-bottom: 1px solid var(--text-light);
  box-shadow: none;
}
.sheet.hazard section.window-content form > header .title {
  align-items: baseline;
  display: flex;
  flex-direction: row;
  font-family: var(--serif-condensed);
  font-size: var(--font-size-28);
  font-weight: 700;
  gap: var(--space-4);
}
.sheet.hazard section.window-content form > header .title .name {
  flex: 1;
  font-size: var(--font-size-32);
}
.sheet.hazard section.window-content form > header .title .level {
  text-align: center;
  width: 2rem;
}
.sheet.hazard section.window-content .sidebar {
  border-right: 1px solid #888;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  height: 100%;
  overflow: hidden scroll;
  padding: var(--space-10) var(--space-8) var(--space-8);
  width: 13.75rem;
}
.sheet.hazard section.window-content .sidebar select {
  font-size: var(--font-size-12);
  height: 2em;
}
.sheet.hazard section.window-content .sidebar .sidebar-title {
  border-bottom: 1px solid var(--color-shadow-dark);
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}
.sheet.hazard section.window-content .sidebar .sidebar-title h2 {
  font-size: var(--font-size-15);
  font-weight: 500;
}
.sheet.hazard section.window-content .sidebar .valued-icon {
  align-items: baseline;
  display: flex;
}
.sheet.hazard section.window-content .sidebar .valued-icon i {
  margin-right: var(--space-4);
}
.sheet.hazard section.window-content .sidebar .valued-icon i + input {
  margin-left: calc(-1 * var(--space-1));
}
.sheet.hazard section.window-content .sidebar .health-line {
  display: flex;
  flex-direction: row;
  font-size: var(--font-size-16);
  gap: var(--space-2);
  justify-content: center;
}
.sheet.hazard section.window-content .sidebar .health-line .health input {
  width: 2rem;
}
.sheet.hazard section.window-content .sidebar .health-line .health input.current {
  text-align: end;
}
.sheet.hazard section.window-content .sidebar .health-line .armor-class input,
.sheet.hazard section.window-content .sidebar .health-line .hardness input {
  margin-right: var(--space-1);
  text-align: right;
  width: 1.375rem;
}
.sheet.hazard section.window-content .sidebar .hp-details {
  width: 100%;
}
.sheet.hazard section.window-content .sidebar i.fa-info-circle {
  font-size: small;
}
.sheet.hazard section.window-content .sidebar .initiative {
  display: flex;
  font-size: var(--font-size-16);
}
.sheet.hazard section.window-content .sidebar .initiative .roll-init {
  align-items: center;
  display: flex;
  font-weight: 500;
}
.sheet.hazard section.window-content .sidebar .initiative .roll-init i {
  margin-right: var(--space-4);
}
.sheet.hazard section.window-content .sidebar .sidebar-saves {
  display: flex;
  justify-content: space-between;
}
.sheet.hazard section.window-content .sidebar .sidebar-saves .save {
  align-items: center;
  display: flex;
  flex: 1;
  flex-direction: column;
  font-size: var(--font-size-16);
}
.sheet.hazard section.window-content .sidebar .sidebar-saves input {
  max-width: 3.125rem;
  text-align: center;
}
.sheet.hazard section.window-content .sidebar a.rollable {
  color: var(--color-pf-primary-darker);
}
.sheet.hazard section.window-content .sidebar a.rollable:hover {
  color: var(--color-pf-primary-light);
  text-shadow: none;
}
.sheet.hazard section.window-content .sidebar a.rollable:hover i {
  animation: rotation 2s infinite linear;
}
@keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(359deg);
  }
}
.sheet.hazard section.window-content .toggles .section-body {
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.sheet.hazard section.window-content .toggles label {
  align-items: center;
  display: flex;
  gap: var(--space-4);
}
.sheet.hazard section.window-content .toggles label input[type=checkbox] {
  flex: 0 0 1.25rem;
  margin: 0;
  width: 1.25rem;
  height: 1.25rem;
}
.sheet.hazard section.window-content .toggles label select {
  background: none;
  margin-left: var(--space-4);
}
.sheet.hazard section.window-content .section-container {
  padding: var(--space-4) var(--space-6) 0;
}
.sheet.hazard section.window-content .section-container .editor {
  flex: 1;
}
.sheet.hazard section.window-content .section-container .editor .editor-edit {
  display: none;
}
.sheet.hazard section.window-content .section-container .editor.prosemirror {
  height: 12.5rem;
}
.sheet.hazard section.window-content .section-container .editor.prosemirror .editor-container {
  margin: var(--space-4) 0;
}
.sheet.hazard section.window-content .section-container > .section-body {
  padding: var(--space-4);
}
.sheet.hazard section.window-content .section-container.stealth .section-header h4 {
  gap: var(--space-1);
}
.sheet.hazard section.window-content .section-container.stealth .section-header input {
  background: rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 4ch;
}
.sheet.hazard section.window-content .section-container.stealth .section-header input:hover:not(:disabled), .sheet.hazard section.window-content .section-container.stealth .section-header input:focus {
  box-shadow: none;
}
.sheet.hazard section.window-content .section-container.stealth .section-header input::placeholder {
  color: var(--text-light-disabled);
}
.sheet.hazard section.window-content .section-container.skills > .section-body .list {
  display: flex;
  flex-flow: row wrap;
}
.sheet.hazard section.window-content .section-container .actions-list,
.sheet.hazard section.window-content .section-container .attacks-list {
  border-bottom: 1px solid var(--alt);
}
.sheet.hazard section.window-content .section-container .actions-list:last-child,
.sheet.hazard section.window-content .section-container .attacks-list:last-child {
  border-bottom: none;
}
.sheet.hazard section.window-content .section-container .actions-list .action,
.sheet.hazard section.window-content .section-container .attacks-list .action {
  padding: var(--space-4) 0;
}
.sheet.hazard section.window-content .section-container.publication {
  margin-top: var(--space-8);
}
.sheet.hazard section.window-content .section-container.publication .section-header {
  background: none;
  color: var(--color-pf-primary);
}
.sheet.hazard section.window-content .section-container.publication .section-body {
  align-items: baseline;
  gap: 0.25em;
  display: grid;
  grid-template: "title title title" 2fr "authors license remaster" 3fr/50% 25% 25%;
  border-top: none;
  padding: var(--space-4) var(--space-8);
}
.sheet.hazard section.window-content .section-container.publication .section-body label {
  font-weight: 500;
}
.sheet.hazard section.window-content .section-container.publication .section-body input[type=text] {
  height: 1.6rem;
}
.sheet.hazard section.window-content .section-container.publication .section-body .title {
  grid-area: title;
  display: flex;
  width: calc(100% - 0.5em);
}
.sheet.hazard section.window-content .section-container.publication .section-body .authors {
  grid-area: authors;
}
.sheet.hazard section.window-content .section-container.publication .section-body .license {
  grid-area: license;
}
.sheet.hazard section.window-content .section-container.publication .section-body .license select {
  margin-top: 1px;
}
.sheet.hazard section.window-content .section-container.publication .section-body .remaster {
  grid-area: remaster;
}
.sheet.hazard section.window-content .section-container.publication .section-body .license,
.sheet.hazard section.window-content .section-container.publication .section-body .remaster {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sheet.hazard section.window-content .section-container.publication .section-body .license label,
.sheet.hazard section.window-content .section-container.publication .section-body .remaster label {
  padding: 0;
}
.sheet.hazard section.window-content .section-container.publication .section-body input[type=text] {
  background: rgba(0, 0, 0, 0.05);
}

#recall-knowledge-breakdown table th {
  padding: var(--space-5) var(--space-8);
}
#recall-knowledge-breakdown table td {
  text-align: center;
  padding: var(--space-5) var(--space-8);
}
#recall-knowledge-breakdown table td:first-child {
  text-align: right;
}
#recall-knowledge-breakdown table th:first-child {
  text-align: right;
}

.app.npc-skills-editor form {
  font-size: var(--font-size-12);
  overflow: hidden;
}
.app.npc-skills-editor form > .scroll-container {
  max-height: 500px;
  overflow: hidden scroll;
}
.app.npc-skills-editor form ol {
  list-style: none;
  overflow: hidden;
  padding: 0px;
  width: 100%;
}
.app.npc-skills-editor form ol li {
  align-items: center;
  column-gap: 0.5rem;
  display: grid;
  grid-template-columns: 6rem auto 4rem 1rem;
  grid-template-rows: auto;
  padding: 0.25rem;
  width: 100%;
}
.app.npc-skills-editor form ol li section.skill-special-modifiers {
  grid-column: 1/5;
  overflow: hidden;
}
.app.npc-skills-editor form ol li section.skill-special-modifiers table {
  border: none;
  table-layout: fixed;
}
.app.npc-skills-editor form ol li section.skill-special-modifiers table .name {
  width: 6.5rem;
  padding-right: 0.5rem;
}
.app.npc-skills-editor form ol li section.skill-special-modifiers table .predicate {
  padding-right: 0.5rem;
}
.app.npc-skills-editor form ol li section.skill-special-modifiers table .modifier {
  width: 4rem;
}
.app.npc-skills-editor form ol li section.skill-special-modifiers table .controls {
  width: 1.5rem;
  text-align: right;
}
.app.npc-skills-editor form ol li section.skill-special-modifiers table input {
  width: 100%;
}
.app.npc-skills-editor form ol li.skill:nth-child(even) {
  background-color: #ede3c8;
}
.app.npc-skills-editor form ol li.skill:nth-child(odd) {
  background-color: #f5efe0;
}
.app.npc-skills-editor form ol li.skill.header {
  background-color: var(--color-pf-primary);
  color: var(--text-light);
  font-weight: 500;
  padding: 4px;
  text-transform: uppercase;
}
.app.npc-skills-editor form ol li.skill.header.lore {
  background-color: var(--color-pf-secondary);
}
.app.npc-skills-editor form ol li.skill .modifier {
  width: 100%;
  margin: 0;
}
.app.npc-skills-editor form ol li.skill .item-controls {
  text-align: right;
}
.app.npc-skills-editor form ol li.lore {
  grid-template-columns: auto 4rem 2rem;
}
.app.npc-skills-editor form ol li a[data-action=add-special-skill] {
  display: inline-block;
  margin-top: var(--space-2);
}
.app.npc-skills-editor form ol li.skill-selector, .app.npc-skills-editor form ol li.lore-skill-creator {
  margin-top: var(--space-4);
}
.app.npc-skills-editor form ol li.skill-selector .name, .app.npc-skills-editor form ol li.lore-skill-creator .name {
  grid-column: span 2;
}
.app.npc-skills-editor form ol li.skill-selector button, .app.npc-skills-editor form ol li.lore-skill-creator button {
  background-color: var(--color-pf-secondary);
  border-radius: 3px;
  border: 1px solid var(--color-pf-secondary-dark);
  color: var(--text-light);
  display: flex;
  grid-column: span 2;
  justify-content: center;
  line-height: 1em;
  padding: var(--space-4) var(--space-8);
  white-space: nowrap;
}

.actor.npc.sheet form {
  --faded-border-color: #7a7971;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}
.actor.npc.sheet form ol.spell-list {
  border-bottom: 1px solid var(--color-border-light-2);
  display: flex;
  flex-basis: 100%;
  flex-flow: column nowrap;
  gap: var(--space-1);
  margin: 0;
  padding: 0;
}
.actor.npc.sheet form ol.spell-list > li {
  --range-uses-width: 4rem;
  --cast-spell-width: min-content;
  --controls-width: 3rem;
  align-items: center;
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr 6rem var(--range-uses-width) var(--cast-spell-width) var(--controls-width);
  margin: 0;
}
.actor.npc.sheet form ol.spell-list > li > * {
  align-items: center;
  justify-self: center;
  display: flex;
  flex-wrap: nowrap;
}
.actor.npc.sheet form ol.spell-list > li > *.defense, .actor.npc.sheet form ol.spell-list > li > *.range {
  text-align: center;
}
.actor.npc.sheet form ol.spell-list > li:nth-child(odd) {
  background-color: rgba(120, 100, 82, 0.1);
}
.actor.npc.sheet form ol.spell-list > li:nth-child(even) .item-summary {
  background: none;
}
.actor.npc.sheet form ol.spell-list > li:last-child {
  border-bottom: 1px solid var(--sub);
}
.actor.npc.sheet form ol.spell-list > li.header-row {
  background: rgba(96, 88, 86, 0.25);
  border: 1px solid var(--color-border-light-2);
  border-radius: 2px;
  font: 500 var(--font-size-12) var(--sans-serif);
  line-height: 2.25em;
  margin-bottom: 0.125em;
  padding: 0 0.25em;
}
.actor.npc.sheet form ol.spell-list > li.header-row:not(:first-child) {
  margin-top: 0.125em;
}
.actor.npc.sheet form ol.spell-list > li.header-row h3 {
  text-transform: capitalize;
  font-size: var(--font-size-13);
  padding: 0.25rem 0;
}
.actor.npc.sheet form ol.spell-list > li.header-row .item-name {
  line-height: 1;
  gap: 0.25em;
  padding-left: 0.2em;
}
.actor.npc.sheet form ol.spell-list > li.header-row .item-name h3 {
  margin: 0 var(--space-8) 0 0;
  font-weight: 700;
}
.actor.npc.sheet form ol.spell-list > li.header-row .invisible {
  visibility: hidden;
}
.actor.npc.sheet form ol.spell-list > li.header-row .item-controls {
  gap: 0.125rem;
  padding-right: 0.25em;
}
.actor.npc.sheet form ol.spell-list > li.header-row input,
.actor.npc.sheet form ol.spell-list > li .uses input {
  background: var(--color-pf-alternate);
  border: 1px solid var(--sub);
  border-radius: 3px;
  color: var(--text-light);
  font: var(--font-size-12) var(--sans-serif);
  height: unset;
  text-align: center;
  width: 2em;
}
.actor.npc.sheet form ol.spell-list > li.header-row .spell-slots-increment-reset,
.actor.npc.sheet form ol.spell-list > li .uses .spell-slots-increment-reset {
  font-size: var(--font-size-10);
  padding-left: var(--space-5);
}
.actor.npc.sheet form ol.spell-list > li.spell {
  border: none;
  font-size: var(--font-size-13);
  padding: var(--space-3) var(--space-4);
}
.actor.npc.sheet form ol.spell-list > li.spell[data-slot-expended] h4 {
  color: var(--color-disabled);
  text-decoration: line-through;
}
.actor.npc.sheet form ol.spell-list > li.spell[data-slot-expended] button.cast-spell {
  background: var(--color-disabled);
  border-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
}
.actor.npc.sheet form ol.spell-list > li.spell[data-slot-expended] button.cast-spell:hover {
  text-shadow: none;
}
.actor.npc.sheet form ol.spell-list > li.spell:nth-child(even) {
  padding: var(--space-2) var(--space-4);
}
.actor.npc.sheet form ol.spell-list > li .item-name {
  justify-self: start;
  width: 100%;
}
.actor.npc.sheet form ol.spell-list > li .item-name.empty {
  opacity: 0.75;
  pointer-events: none;
}
.actor.npc.sheet form ol.spell-list > li .item-name.empty .item-image {
  --inset-shadow-length: 0.125rem;
}
.actor.npc.sheet form ol.spell-list > li .item-name h3 {
  white-space: nowrap;
}
.actor.npc.sheet form ol.spell-list > li .item-name + span {
  font-size: var(--font-size-12);
}
.actor.npc.sheet form ol.spell-list > li .item-name .item-image {
  flex: 0 0 1.5rem;
  height: 1.5rem;
}
.actor.npc.sheet form ol.spell-list > li .item-name .focus-pool-input {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-3);
}
.actor.npc.sheet form ol.spell-list > li .item-name .spell-slots,
.actor.npc.sheet form ol.spell-list > li .item-name .spell-max {
  padding-top: var(--space-3);
  font-size: var(--font-size-12);
}
.actor.npc.sheet form ol.spell-list > li .item-name .spell-slots.infinity,
.actor.npc.sheet form ol.spell-list > li .item-name .spell-max.infinity {
  position: relative;
  top: calc(-1 * var(--space-2));
}
.actor.npc.sheet form ol.spell-list > li .item-name h4 {
  margin: 0;
  padding: 0;
  font: 500 var(--font-size-14)/1 var(--body-serif);
  letter-spacing: -0.025em;
  margin-left: 0.5em;
}
.actor.npc.sheet form ol.spell-list > li .item-name h4 > a:hover {
  color: var(--color-pf-secondary);
  text-shadow: none;
}
.actor.npc.sheet form ol.spell-list > li .item-name .action-glyph {
  margin-left: var(--space-2);
  font-size: small;
}
.actor.npc.sheet form ol.spell-list > li .uses {
  display: flex;
  gap: 0.25em;
  line-height: 1;
}
.actor.npc.sheet form ol.spell-list > li button.cast-spell {
  font: 500 var(--font-size-10)/1.8em var(--sans-serif);
  justify-self: end;
  min-width: 2.5rem;
  padding: 0 0.25em;
  text-transform: uppercase;
  width: fit-content;
}
.actor.npc.sheet form ol.spell-list > li .item-controls {
  justify-content: end;
  justify-self: end;
}
.actor.npc.sheet form ol.spell-list > li .item-summary {
  background-color: rgba(248, 244, 241, 0.5);
  border-bottom: 1px solid var(--sub);
  border-top: 1px solid rgb(15.2967032967, 14.021978022, 13.7032967033);
  display: block;
  grid-column: span 5;
  padding: var(--space-4) 0 var(--space-8);
  width: 100%;
}
.actor.npc.sheet form ol.spell-list[data-category=innate] > li {
  --range-uses-width: 5.5rem;
}
.actor.npc.sheet form ol.spell-list[data-category=innate] > li > .uses .unlimited {
  font-size: var(--font-size-18);
}
.actor.npc.sheet form ol.spell-list[data-category=spontaneous] .virtual {
  backdrop-filter: blur(8px) hue-rotate(210deg) saturate(2);
}
.actor.npc.sheet form ol.spell-list[data-category=spontaneous] .item:not(.virtual) + .virtual {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}
.actor.npc.sheet form ol.spell-list .level-prepared-header {
  font-size: 0.75rem;
  color: var(--text-light);
  margin: 0;
  padding: var(--space-4);
  text-align: center;
  background: var(--color-pf-secondary);
  position: relative;
}
.actor.npc.sheet form > .npc-body > header {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
}
.actor.npc.sheet form > .npc-body > header .name {
  flex-wrap: nowrap;
  font: 700 1.75rem var(--sans-serif-condensed);
  width: 100%;
}
.actor.npc.sheet form > .npc-body > header .name input {
  font-weight: inherit;
  height: 2rem;
}
.actor.npc.sheet form > .npc-body > header .name .name-value {
  font-variant: small-caps;
  margin-left: 0.375rem;
  margin-right: 1.125rem;
}
.actor.npc.sheet form > .npc-body > header .name .level-label {
  flex: 0;
  text-align: right;
  margin-right: 0.1em;
  text-transform: uppercase;
}
.actor.npc.sheet form > .npc-body > header .name input.level {
  flex: 0 0 2.5rem;
  text-align: center;
}
.actor.npc.sheet form > .npc-body > header .rarity-size {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.actor.npc.sheet form hr {
  margin: 10px 6px 10px 0;
}
.actor.npc.sheet form select {
  background: none;
}
.actor.npc.sheet form a.roll:not(.inline-roll) {
  color: var(--color-pf-primary-darker);
}
.actor.npc.sheet form a.roll:not(.inline-roll) .d20-svg {
  height: var(--font-size-16);
  position: relative;
  top: var(--space-1);
  width: var(--font-size-16);
}
.actor.npc.sheet form a.roll:not(.inline-roll):hover {
  color: var(--color-pf-primary-light);
  text-shadow: none;
}
.actor.npc.sheet form a.roll:not(.inline-roll):hover .d20-svg {
  animation: rotation 2s infinite linear;
}
@keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(359deg);
  }
}
.actor.npc.sheet form .sidebar {
  display: flex;
  flex-direction: column;
  flex: 10rem 0 0;
  gap: var(--space-12);
  height: 100%;
  overflow: hidden scroll;
  padding-right: var(--space-4);
}
.actor.npc.sheet form .sidebar .image-container img {
  border: none;
  border-radius: 0.5rem;
}
.actor.npc.sheet form .sidebar .subsection {
  align-items: start;
  display: flex;
  flex-direction: column;
  justify-content: start;
}
.actor.npc.sheet form .sidebar .subsection header {
  align-items: baseline;
  border-bottom: 1px solid;
  border-color: var(--faded-border-color);
  display: flex;
  margin-bottom: var(--space-2);
  padding-right: var(--space-5);
  width: 100%;
}
.actor.npc.sheet form .sidebar .subsection header label {
  align-items: center;
  display: flex;
  flex: 0 1 100%;
  font-weight: 500;
  gap: var(--space-3);
  margin-bottom: 0;
  padding-left: var(--space-2);
}
.actor.npc.sheet form .sidebar .subsection header input[type=number] {
  font-size: var(--font-size-16);
  font-weight: 700;
}
.actor.npc.sheet form .sidebar .subsection.armor-class input[type=number] {
  width: 2rem;
}
.actor.npc.sheet form .sidebar .subsection .hit-points {
  display: flex;
  flex: 0;
  align-items: center;
  justify-content: end;
  margin-left: auto;
  font-size: var(--font-size-16);
}
.actor.npc.sheet form .sidebar .subsection .hit-points input.current {
  font-weight: normal;
  padding-right: var(--space-3);
  text-align: right;
  width: 2.25rem;
}
.actor.npc.sheet form .sidebar .subsection .hit-points .slash {
  align-items: center;
  display: flex;
  padding: 0 var(--space-1);
}
.actor.npc.sheet form .sidebar .subsection .hit-points .max {
  font-weight: 600;
  text-align: end;
}
.actor.npc.sheet form .sidebar .subsection .hit-points .max.lt10 {
  width: 0.5rem;
}
.actor.npc.sheet form .sidebar .subsection .hit-points .max.lt100 {
  width: 1.5rem;
}
.actor.npc.sheet form .sidebar .subsection .hit-points .max.lt1000 {
  width: 2.25rem;
}
.actor.npc.sheet form .sidebar .subsection.shield .shield-details {
  align-items: baseline;
  display: flex;
  flex-direction: row;
  flex: auto;
  justify-content: start;
}
.actor.npc.sheet form .sidebar .subsection.shield .shield-details .label {
  flex: 0;
  font-weight: bold;
}
.actor.npc.sheet form .sidebar .subsection.shield .shield-details .value {
  flex: auto;
  font-weight: normal;
  margin-left: 0.375rem;
}
.actor.npc.sheet form .sidebar .subsection.shield.broken {
  color: rgba(0, 0, 0, 0.4);
}
.actor.npc.sheet form .sidebar .subsection.shield.broken .shield-label {
  color: rgba(0, 0, 0, 0.4);
}
.actor.npc.sheet form .sidebar .subsection.shield.broken .shield-label h4 {
  text-decoration: line-through;
}
.actor.npc.sheet form .sidebar .subsection.initiative a {
  display: flex;
  flex-wrap: nowrap;
  font-size: var(--font-size-16);
  font-weight: 700;
  gap: 0.25em;
  margin-bottom: var(--space-2);
  padding-left: var(--space-4);
  text-decoration: none;
}
.actor.npc.sheet form .sidebar .subsection.initiative a i {
  position: relative;
  top: var(--space-1);
}
.actor.npc.sheet form .sidebar .subsection.initiative a span {
  text-underline-offset: 0.125em;
}
.actor.npc.sheet form .sidebar .subsection.initiative select {
  font-size: var(--font-size-12);
  text-transform: unset;
}
.actor.npc.sheet form .sidebar .subsection.resources ol {
  list-style: none;
  margin: 0;
  padding: 0 var(--space-5) 0 0;
  width: 100%;
}
.actor.npc.sheet form .sidebar .subsection.resources ol li.special-resource {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.actor.npc.sheet form .sidebar .subsection.resources ol li.special-resource .label {
  flex: 1;
}
.actor.npc.sheet form .sidebar .subsection.resources ol li.special-resource input {
  width: 3.5ch;
  text-align: end;
  margin-right: var(--space-2);
}
.actor.npc.sheet form .sidebar .subsection.resources ol li.special-resource .pips {
  cursor: pointer;
  display: flex;
  gap: var(--space-1);
  font-size: 0.95em;
}
.actor.npc.sheet form .sidebar .subsection.saves {
  gap: var(--space-4);
}
.actor.npc.sheet form .sidebar .subsection.saves ul {
  display: flex;
  flex-direction: row;
  font-size: var(--font-size-16);
  list-style: none;
  margin: 0;
  padding: 0;
}
.actor.npc.sheet form .sidebar .subsection.saves ul a {
  font-weight: 500;
}
.actor.npc.sheet form .sidebar .subsection.saves ul li {
  display: flex;
  flex-direction: column;
  height: 2.5rem;
  text-align: center;
}
.actor.npc.sheet form .sidebar .subsection.saves ul li label {
  font-weight: 700;
}
.actor.npc.sheet form .sidebar .subsection.saves ul li input.modifier {
  height: 1.5rem;
  text-align: center;
}
.actor.npc.sheet form .sidebar .subsection.saves input.details {
  height: 1.25rem;
}
.actor.npc.sheet form .sidebar .subsection.speeds .side-bar-section-content {
  gap: var(--space-4);
}
.actor.npc.sheet form .sidebar .subsection.speeds .land-speed {
  gap: var(--space-4);
}
.actor.npc.sheet form .sidebar .subsection.speeds .land-speed-value {
  flex: 0 0 1.5rem;
  text-align: right;
}
.actor.npc.sheet form .sidebar .subsection.speeds .land-speed .speed-details {
  flex: 1;
}
.actor.npc.sheet form .sidebar .subsection.speeds .other-speeds {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  width: 100%;
}
.actor.npc.sheet form .sidebar .subsection .value0 {
  border-bottom: 1px darkgrey solid;
  color: darkgrey;
}
.actor.npc.sheet form .sidebar .subsection .value0 input {
  color: darkgrey;
}
.actor.npc.sheet form .sidebar .side-bar-section-content {
  align-items: start;
  display: flex;
  flex-flow: row wrap;
  justify-content: start;
  padding-top: 0.125rem;
  width: 100%;
}
.actor.npc.sheet form .sheet-body {
  flex: auto;
}
.actor.npc.sheet form .sheet-body .tab {
  overflow: hidden scroll;
}
.actor.npc.sheet form .sheet-body .tab .identification-skills ul {
  display: inline;
  list-style-type: none;
  padding: 0;
}
.actor.npc.sheet form .sheet-body .tab .identification-skills ul li {
  display: inline;
}
.actor.npc.sheet form .sheet-body .tab .identification-skills ul li:not(:last-of-type):after {
  content: ",";
}
.actor.npc.sheet form .sheet-body .tab.inventory.active {
  display: flex;
  flex-basis: 100%;
  flex-direction: column;
  overflow-y: hidden;
  padding-bottom: 1rem;
}
.actor.npc.sheet form .sheet-body .tab.inventory.active .coinage .wealth,
.actor.npc.sheet form .sheet-body .tab.inventory.active .inventory-list > header {
  background: var(--primary-background);
}
.actor.npc.sheet form .sheet-body .entries-list {
  list-style: none;
  padding: 2px;
  margin: 0;
}
.actor.npc.sheet form .sheet-body .entries-list .spellcasting-entry {
  display: block;
  width: 100%;
  margin: 0px;
  border: 1px solid var(--sub);
  border-radius: 4px;
}
.actor.npc.sheet form .sheet-body .entries-list .spellcasting-entry:not(:first-child) {
  margin-top: 0.5rem;
}
.actor.npc.sheet form .sheet-body .entries-list .spellcasting-entry .header {
  align-items: baseline;
  background-color: var(--color-pf-primary);
  border-radius: 3px 3px 0 0;
  color: var(--text-light);
  display: flex;
  flex-flow: row wrap;
  gap: 0.5em;
  justify-content: space-between;
  padding: var(--space-4) 0.5em;
}
.actor.npc.sheet form .sheet-body .entries-list .spellcasting-entry .header .drag-handle {
  cursor: move;
}
.actor.npc.sheet form .sheet-body .entries-list .spellcasting-entry .header h4.name {
  flex: 1;
  margin: 0 var(--space-4) 0 0;
  padding-right: var(--space-6);
  width: max-content;
}
.actor.npc.sheet form .sheet-body .entries-list .spellcasting-entry .header h4.name input {
  border: none;
  color: var(--text-light);
  font-weight: 500;
  max-width: 100%;
}
.actor.npc.sheet form .sheet-body .entries-list .spellcasting-entry .header h4.name input:focus, .actor.npc.sheet form .sheet-body .entries-list .spellcasting-entry .header h4.name input:hover {
  box-shadow: none;
}
.actor.npc.sheet form .sheet-body .entries-list .spellcasting-entry .header h4.name input:read-only {
  pointer-events: none;
}
.actor.npc.sheet form .sheet-body .entries-list .spellcasting-entry .header .inline-field {
  align-items: baseline;
  display: flex;
  flex-flow: row nowrap;
  flex: 0;
  justify-content: start;
}
.actor.npc.sheet form .sheet-body .entries-list .spellcasting-entry .header .inline-field label {
  margin-left: var(--space-2);
  flex: 1;
}
.actor.npc.sheet form .sheet-body .entries-list .spellcasting-entry .header .inline-field input {
  margin-left: var(--space-4);
}
.actor.npc.sheet form .sheet-body .entries-list .spellcasting-entry .header .inline-field .attack-input,
.actor.npc.sheet form .sheet-body .entries-list .spellcasting-entry .header .inline-field .dc-input {
  background-color: var(--text-light);
  flex: 1 0 2rem;
  font-weight: 700;
  text-align: center;
  width: 2rem;
}
.actor.npc.sheet form .sheet-body .entries-list .spellcasting-entry .header .inline-field span.modifier {
  font-weight: 700;
  text-align: center;
  width: 2rem;
}
.actor.npc.sheet form .sheet-body .entries-list .spellcasting-entry .header .inline-field span.attribute {
  text-transform: uppercase;
  width: 6rem;
}
.actor.npc.sheet form .sheet-body .entries-list .spellcasting-entry .header .attribute select {
  background: rgba(255, 255, 255, 0.5);
  font-size: var(--font-size-10);
  max-width: 5.5em;
  padding: var(--space-2);
  text-transform: uppercase;
}
.actor.npc.sheet form .sheet-body .entries-list .spellcasting-entry .header .item-controls {
  display: flex;
  justify-content: space-between;
}
.actor.npc.sheet form .sheet-body .entries-list .spellcasting-entry .header .item-controls a {
  padding: var(--space-2);
}
.actor.npc.sheet form .sheet-body .entries-list .spellcasting-entry .spell-level-header input {
  background: var(--text-light);
  border: 1px solid transparent;
  color: var(--text-dark);
  flex: 1 0 2rem;
  font-weight: 700;
  height: 1.125rem;
  text-align: center;
  width: 2rem;
}
.actor.npc.sheet form .sheet-body .entries-list .spellcasting-entry ol.spell-list li.spell h4.name {
  font: 500 var(--font-size-13) var(--sans-serif);
  letter-spacing: normal;
}
.actor.npc.sheet form .sheet-body .footer {
  display: flex;
  flex: 1;
  justify-content: center;
  margin-top: var(--space-12);
}
.actor.npc.sheet form .sheet-body .footer button.spellcasting-create {
  flex-basis: 100%;
  margin: 0 var(--space-12);
}
.actor.npc.sheet form .sheet-body .effects .effects-list {
  gap: 0.2em;
  padding-left: 0px;
  padding-right: 5px;
}
.actor.npc.sheet form .sheet-body .effects .effects-list .item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 2px 12px;
  width: 100%;
}
.actor.npc.sheet form .sheet-body .effects .effects-list .item p:empty {
  display: none;
}
.actor.npc.sheet form .sheet-body .effects .effects-list .item .item-name {
  display: flex;
  align-items: center;
  flex: 1;
}
.actor.npc.sheet form .sheet-body .effects .effects-list .item .item-name h4 {
  cursor: pointer;
  margin: 0;
}
.actor.npc.sheet form .sheet-body .effects .effects-list .item .item-name .item-image {
  margin-right: 8px;
}
.actor.npc.sheet form .sheet-body .effects .effects-list .item .item-controls {
  display: flex;
  flex: 0;
  font-size: var(--font-size-12);
  gap: 1px;
  white-space: nowrap;
}
.actor.npc.sheet form .sheet-body .effects .effects-list .item .item-controls a.info-only:hover {
  cursor: default;
  text-shadow: none;
}
.actor.npc.sheet form .sheet-body .effects .effects-list .item .item-controls a + a {
  margin-left: 4px;
}
.actor.npc.sheet form .sheet-body .effects .effects-list .item .item-summary {
  flex-basis: 100%;
}
.actor.npc.sheet form .sheet-body .effects .effects-list .item.unidentified {
  border-radius: 1px;
  outline: 1px dotted rgba(75, 74, 68, 0.5);
  background: var(--visibility-gm-bg);
}
.actor.npc.sheet form .sheet-body .effects .effects-list .item .button-group {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  width: 50%;
  flex: 0;
}
.actor.npc.sheet form .sheet-body .effects .effects-list .item .button-group button {
  margin: 0;
  border: none;
  cursor: pointer;
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  padding: 5px;
  color: var(--text-light);
  width: 70px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  background: var(--secondary);
  border-radius: 2px;
  flex: 0;
  white-space: nowrap;
  margin-left: 4px;
  flex: 0;
}
.actor.npc.sheet form .sheet-body .effects .effects-list .item .button-group button:hover {
  box-shadow: none;
  text-shadow: 0 0 2px white;
}
.actor.npc.sheet form .sheet-body .section-container {
  display: flex;
  flex-direction: column;
}
.actor.npc.sheet form .sheet-body .section-container .section-header {
  align-items: baseline;
  background: var(--color-pf-primary);
  border-radius: 3px 3px 0 0;
  border: 1px solid var(--color-pf-primary);
  color: var(--text-light);
  display: flex;
  flex-direction: row;
  flex: 0;
  justify-content: space-between;
  line-height: 2em;
  padding: 0 var(--space-8);
  text-align: left;
  width: 100%;
}
.actor.npc.sheet form .sheet-body .section-container .section-header h4 {
  align-items: baseline;
  display: flex;
  flex: auto;
  gap: var(--space-4);
  margin-bottom: 0;
  text-transform: uppercase;
}
.actor.npc.sheet form .sheet-body .section-container .section-header input {
  color: inherit;
  width: auto;
}
.actor.npc.sheet form .sheet-body .section-container .section-header .controls {
  gap: var(--space-8);
  white-space: nowrap;
}
.actor.npc.sheet form .sheet-body .section-container .section-body {
  align-items: baseline;
  border-radius: 0 0 3px 3px;
  border: 1px solid var(--color-pf-primary);
  display: flex;
  flex-flow: row wrap;
  flex: auto;
  justify-content: flex-start;
  width: 100%;
}
.actor.npc.sheet form .sheet-body .section-container.headerless .section-body {
  border-radius: 3px;
}
.actor.npc.sheet form .sheet-body .actions-list {
  margin: 0;
  padding: 0;
  width: 100%;
}
.actor.npc.sheet form .sheet-body .actions-list .controls {
  align-items: baseline;
  display: flex;
  flex: 0;
  flex-wrap: nowrap;
  font-size: var(--font-size-12);
  gap: var(--space-1);
  margin-left: auto;
}
.actor.npc.sheet form .sheet-body .actions-list .controls .chat {
  font-size: 0.9em;
  margin-right: var(--space-2);
}
.actor.npc.sheet form .sheet-body .actions-list li.action {
  border-bottom: 1px solid var(--color-border-light-tertiary);
  gap: var(--space-2) var(--space-4);
  display: flex;
  flex-flow: row wrap;
  justify-content: start;
  padding: var(--space-2) 0;
}
.actor.npc.sheet form .sheet-body .actions-list li.action:last-child {
  border-bottom: none;
}
.actor.npc.sheet form .sheet-body .actions-list li.action > h4 {
  flex: 0 0 88%;
  font-weight: normal;
  margin: 0;
  white-space: wrap;
}
.actor.npc.sheet form .sheet-body .actions-list li.action > h4 .name strong {
  font-weight: 500;
}
.actor.npc.sheet form .sheet-body .actions-list li.action > h4 .traits {
  text-transform: lowercase;
}
.actor.npc.sheet form .sheet-body .actions-list li.action > h4 .traits ul {
  margin-bottom: 0;
}
.actor.npc.sheet form .sheet-body .actions-list li.action > h4 .traits ul li {
  white-space: nowrap;
}
.actor.npc.sheet form .sheet-body .actions-list li.action > h4 .traits ul li[data-tooltip] {
  text-decoration: underline;
  text-decoration-color: var(--color-pf-alternate);
}
.actor.npc.sheet form .sheet-body .actions-list li.action .button-group {
  display: flex;
  gap: var(--space-3);
  justify-content: start;
  min-width: 100%;
  font-size: 1.25em;
}
.actor.npc.sheet form .sheet-body .actions-list li.action .button-group .subsection {
  align-items: start;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: start;
}
.actor.npc.sheet form .sheet-body .actions-list li.action .button-group .subsection h4 {
  margin-left: var(--font-size-12);
  margin-right: var(--font-size-12);
}
.actor.npc.sheet form .sheet-body .actions-list li.action .button-group .subsection.attack button {
  background-color: var(--color-pf-secondary);
}
.actor.npc.sheet form .sheet-body .actions-list li.action .button-group .subsection.damage button {
  background-color: var(--color-pf-primary);
}
.actor.npc.sheet form .sheet-body .actions-list li.action .button-group button {
  align-items: center;
  display: flex;
  border: none;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  color: var(--color-text-light-0);
  cursor: pointer;
  font: var(--font-size-11) var(--sans-serif);
  height: var(--font-size-18);
  justify-content: center;
  line-height: var(--font-size-18);
  margin: 0;
  padding: 0 var(--space-8);
  white-space: nowrap;
  width: auto;
}
.actor.npc.sheet form .sheet-body .actions-list li.action .button-group button:first-child {
  margin-left: 0;
}
.actor.npc.sheet form .sheet-body .actions-list li.action .button-group button:hover {
  box-shadow: none;
  text-shadow: 0 0 2px var(--color-text-light-0);
}
.actor.npc.sheet form .sheet-body .actions-list li.action .button-group button.use-action {
  background-color: var(--color-pf-secondary);
  color: var(--color-text-light-0);
  margin-right: var(--space-8);
}
.actor.npc.sheet form .sheet-body .actions-list li.action .button-group .frequency {
  align-items: center;
  display: flex;
  flex-flow: row nowrap;
  font-size: var(--font-size-13);
  margin-left: auto;
  margin-right: 0;
  font-weight: normal;
  font-family: var(--sans-serif);
}
.actor.npc.sheet form .sheet-body .actions-list li.action .button-group .frequency input {
  width: 0;
  padding-bottom: 0px;
  height: calc(100% - 2px);
  font-size: var(--font-size-13);
  flex: 0 1 4rem;
  text-align: center;
  font-weight: normal;
  font-family: var(--sans-serif);
}
.actor.npc.sheet form .sheet-body .actions-list li.action .button-group .frequency span {
  white-space: nowrap;
}
.actor.npc.sheet form .sheet-body .actions-list li.action .effects {
  font-size: var(--font-size-12);
  flex-basis: 100%;
}
.actor.npc.sheet form .sheet-body .actions-list li.action > .item-summary {
  flex-basis: 100%;
  padding: 0;
}
.actor.npc.sheet form input.adjustable:not(:focus),
.actor.npc.sheet form span.adjustable,
.actor.npc.sheet form div.adjustable {
  display: inline;
  text-align: right;
}
.actor.npc.sheet form input.adjustable:not(:focus).adjusted-higher,
.actor.npc.sheet form span.adjustable.adjusted-higher,
.actor.npc.sheet form div.adjustable.adjusted-higher {
  color: var(--color-pf-text-adjusted-higher);
}
.actor.npc.sheet form input.adjustable:not(:focus).adjusted-lower,
.actor.npc.sheet form span.adjustable.adjusted-lower,
.actor.npc.sheet form div.adjustable.adjusted-lower {
  color: var(--color-pf-text-adjusted-lower);
}
.actor.npc.sheet form .empty {
  border-color: var(--color-text-dark-inactive);
  color: var(--color-text-dark-inactive);
}
.actor.npc.sheet form a.empty:hover, .actor.npc.sheet form a.empty:active {
  border-color: var(--faded-border-color);
  color: var(--text-dark);
}
.actor.npc.sheet form .trait {
  flex: auto 0 0;
  padding: 0.25rem;
  background: var(--color-pf-primary);
  border: 2px solid var(--color-border-trait);
  color: var(--color-text-trait);
  font-size: 0.9em;
  font-weight: 500;
  text-transform: uppercase;
}
.actor.npc.sheet form .effects-list {
  display: flex;
  flex-flow: row wrap;
  flex: 1 0 auto;
  width: 100%;
}
.actor.npc.sheet form .effects-list .separator {
  border-left: 2px solid var(--color-rarity-common);
  flex: 0 0 var(--space-1);
  height: 2rem;
  margin-right: 0.25rem;
}
.actor.npc.sheet form .effects-list > .effect {
  display: flex;
  flex: 0 0 2rem;
  height: 2rem;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
  border-bottom: none !important;
}
.actor.npc.sheet form .effects-list > .effect .item-image {
  background-size: cover;
  border: 1px solid var(--color-rarity-common);
  border-bottom: 1px solid var(--color-rarity-common);
  border-radius: 3px;
  width: 2rem;
}
.actor.npc.sheet form .effects-list > .effect .item-image:hover {
  border: 1px solid var(--text-light);
  border-radius: 3px;
}
.actor.npc.sheet form .section-container.toggles ul.option-toggles {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  list-style: none;
}
.actor.npc.sheet form .section-container.toggles ul.option-toggles > li {
  width: 100%;
}
.actor.npc.sheet form .section-container.toggles ul.option-toggles > li label {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.actor.npc.sheet form .section-container.toggles ul.option-toggles > li label input {
  margin: 0;
  padding: 0;
}
.actor.npc.sheet form .section-container.toggles ul.option-toggles > li select {
  background: none;
  margin-left: 0.25em;
  text-transform: none;
}
.actor.npc.sheet form .actions-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.actor.npc.sheet form .actions-list .action {
  width: 100%;
}
.actor.npc.sheet form .labeled-field {
  display: flex;
  flex-direction: row;
  align-items: baseline;
}
.actor.npc.sheet form .labeled-field a,
.actor.npc.sheet form .labeled-field label {
  flex: 0;
  font-weight: 600;
}
.actor.npc.sheet form .labeled-field input[type=text],
.actor.npc.sheet form .labeled-field input[type=number] {
  flex: 0;
  font-weight: normal;
  margin: var(--space-1) var(--space-4);
  margin-left: auto;
  min-width: 2.5em;
  padding-right: var(--space-1);
  text-align: right;
}
.actor.npc.sheet form .labeled-field.hp-temp > label {
  margin-right: 0.5em;
}
.actor.npc.sheet form .top-sections {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
}
.actor.npc.sheet form .top-sections .skills {
  flex: 3;
  align-self: stretch;
}
.actor.npc.sheet form .top-sections .senses {
  flex: 2;
}
.actor.npc.sheet form .top-sections .attribute-modifiers {
  flex: 1.75;
  flex-direction: column;
}
.actor.npc.sheet form .top-sections .attribute-modifiers .list {
  display: grid;
  padding-left: 0.75em;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.actor.npc.sheet form .top-sections .attribute-modifiers .list input {
  flex: 0 0 1.5rem;
  margin-right: 1em;
  z-index: 1;
}
.actor.npc.sheet form .top-sections .attribute-modifiers .list a:hover {
  text-shadow: none;
}
.actor.npc.sheet form .section-container {
  padding: 0.25rem 0.25rem 0 0;
}
.actor.npc.sheet form .section-container .section-body {
  padding: 0.25rem;
}
.actor.npc.sheet form .section-container.skills > .section-body .list {
  display: flex;
  flex-flow: row wrap;
}
.actor.npc.sheet form .section-container.recall-knowledge .section-header {
  align-items: center;
}
.actor.npc.sheet form .section-container.recall-knowledge .section-header .breakdown {
  background: var(--color-pf-secondary);
  border: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  font: var(--font-size-9)/var(--font-size-15) var(--sans-serif);
  padding: var(--space-2) var(--space-4) 0;
  text-transform: uppercase;
  width: auto;
}
.actor.npc.sheet form .section-container.recall-knowledge .section-header .breakdown:hover {
  box-shadow: none;
  text-shadow: 0 0 2px var(--color-text-light-0);
}
.actor.npc.sheet form .section-container.languages {
  flex: 1;
}
.actor.npc.sheet form select {
  flex: auto 0 0;
  padding: 0.25rem;
  height: auto;
}
.actor.npc.sheet form select option {
  color: var(--text-light);
  background-color: var(--alt);
}
.actor.npc.sheet form .adjustments {
  align-items: center;
  display: flex;
  justify-content: end;
}
.actor.npc.sheet form .adjustments .adjustment.active {
  background-color: var(--color-pf-primary);
  color: var(--text-light);
}
.actor.npc.sheet form .adjustments .adjustment:not(.active) {
  background-color: var(--color-disabled);
  color: var(--color-text-trait);
}
.actor.npc.sheet form .npc-body {
  padding-left: var(--space-5);
  display: flex;
  flex: auto;
  flex-direction: column;
  height: 100%;
  width: 100%;
  overflow-y: hidden;
}
.actor.npc.sheet form .notes.active {
  display: flex;
  flex-direction: column;
  font-size: var(--font-size-14);
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  padding-right: 0.75rem;
}
.actor.npc.sheet form .notes.active .notes-section > h4 {
  color: var(--color-pf-primary);
  font: 700 var(--font-size-12)/1em var(--sans-serif);
  margin: 0 2px 0 0;
  padding: 0.25rem;
  text-transform: uppercase;
  white-space: nowrap;
}
.actor.npc.sheet form .notes.active .notes-section > .notes-text {
  padding: 0 0.25rem 0.25rem;
  color: var(--text-dark);
  flex-grow: 1;
}
.actor.npc.sheet form .notes.active .notes-section > .notes-text .editor .editor-content {
  min-height: 75px;
}
.actor.npc.sheet form .notes.active .notes-section > .notes-text .editor .editor-edit {
  background: var(--color-pf-primary);
  color: var(--text-light);
}
.actor.npc.sheet form .notes.active .notes-section > .notes-text .editor a.editor-edit {
  padding: 2px 2px 2px 0.25rem;
}
.actor.npc.sheet form .notes.active .notes-section > .notes-text .editor.prosemirror {
  min-height: 18rem;
}
.actor.npc.sheet form .notes.active .notes-section > .notes-text .editor.prosemirror .editor-container {
  margin: var(--space-4) 0;
}
.actor.npc.sheet form .notes.active .notes-section .effects {
  color: var(--text-dark);
}
.actor.npc.sheet form .notes.active .notes-section.publication {
  margin-top: auto;
}
.actor.npc.sheet form .notes.active .notes-section.publication .notes-text {
  align-items: baseline;
  gap: 0.25em;
  display: grid;
  grid-template: "title title title" 2fr "authors license remaster" 3fr/50% 25% 25%;
}
.actor.npc.sheet form .notes.active .notes-section.publication .notes-text label {
  font-weight: 500;
}
.actor.npc.sheet form .notes.active .notes-section.publication .notes-text input[type=text] {
  height: 1.6rem;
}
.actor.npc.sheet form .notes.active .notes-section.publication .notes-text .title {
  grid-area: title;
  display: flex;
  width: calc(100% - 0.5em);
}
.actor.npc.sheet form .notes.active .notes-section.publication .notes-text .authors {
  grid-area: authors;
}
.actor.npc.sheet form .notes.active .notes-section.publication .notes-text .license {
  grid-area: license;
}
.actor.npc.sheet form .notes.active .notes-section.publication .notes-text .license select {
  margin-top: 1px;
}
.actor.npc.sheet form .notes.active .notes-section.publication .notes-text .remaster {
  grid-area: remaster;
}
.actor.npc.sheet form .notes.active .notes-section.publication .notes-text .license,
.actor.npc.sheet form .notes.active .notes-section.publication .notes-text .remaster {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.actor.npc.sheet form .notes.active .notes-section.publication .notes-text .license label,
.actor.npc.sheet form .notes.active .notes-section.publication .notes-text .remaster label {
  padding: 0;
}
.actor.npc.sheet form .notes.active .notes-section.publication .notes-text input[type=text] {
  background: rgba(0, 0, 0, 0.05);
  padding: 1px 3px;
}
.actor.npc.sheet form.dead .profile {
  background-size: cover;
  background-color: #dbd9cd;
  box-sizing: border-box;
  border: 1px solid black;
  border-radius: 2px;
}
.actor.npc.sheet form.dead .profile > img {
  border: none;
  width: 100%;
  opacity: 0.33;
}
.actor.npc.sheet form.dead h2.name {
  margin-top: 3px;
  text-align: center;
  border-bottom: none;
}
.actor.npc.sheet form.simple .sheet-body {
  overflow-y: auto;
}

.actor.simple.npc.sheet form .sidebar .subsection {
  flex: 0;
}
.actor.simple.npc.sheet form .sidebar .subsection header {
  padding-right: 0;
}
.actor.simple.npc.sheet form .sidebar .subsection header input {
  font-size: var(--font-size-13);
  margin-left: auto;
  width: 2.5em;
}
.actor.simple.npc.sheet form .sidebar .subsection.perception .section-body input[type=text] {
  height: fit-content;
  width: 100%;
}
.actor.simple.npc.sheet form .sheet-body {
  gap: var(--space-4);
  padding: 0;
}

.sheet.actor.loot form {
  display: flex;
  flex-direction: row;
  height: 100%;
}
.sheet.actor.loot form section.sidebar {
  display: flex;
  flex-direction: column;
  width: 12rem;
  height: 100%;
  border-right: 1px solid var(--color-text-light-7);
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.2);
}
.sheet.actor.loot form section.sidebar > * {
  flex: 0;
}
.sheet.actor.loot form section.sidebar .image-container {
  display: flex;
}
.sheet.actor.loot form section.sidebar .image-container > img.actor-image {
  border: none;
  border-bottom: 1px solid var(--color-text-light-7);
  flex: none;
}
.sheet.actor.loot form section.sidebar .image-container [data-action=show-image] {
  bottom: 3px;
  right: 2px;
}
.sheet.actor.loot form section.sidebar .gm-settings {
  border-bottom: 1px solid var(--color-text-light-7);
  display: flex;
  flex-direction: column;
  padding: 0.25rem;
}
.sheet.actor.loot form section.sidebar .gm-settings .loot-distribution {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sheet.actor.loot form section.sidebar .gm-settings .loot-distribution button {
  background-color: var(--tertiary);
}
.sheet.actor.loot form section.sidebar .gm-settings .loot-distribution button:not(:hover) {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}
.sheet.actor.loot form section.sidebar .gm-settings label {
  font-weight: 500;
}
.sheet.actor.loot form section.sidebar .sidebar-meta {
  border-top: 1px solid var(--color-text-light-7);
}
.sheet.actor.loot form section.sidebar .hidden-when-empty,
.sheet.actor.loot form section.sidebar .bulk {
  align-self: end;
}
.sheet.actor.loot form section.sidebar .bulk {
  line-height: 1.5em;
  margin-right: 0.5rem;
}
.sheet.actor.loot form section.sidebar > .editor,
.sheet.actor.loot form section.sidebar .description {
  flex-basis: auto;
  min-height: 2.5rem;
  flex: 1;
}
.sheet.actor.loot form section.sidebar > .editor > .tox-tinymce .tox-edit-area {
  min-height: 120px;
}
.sheet.actor.loot form section.sidebar .description,
.sheet.actor.loot form section.sidebar .editor-content {
  padding: 0.25rem;
  overflow: hidden scroll;
}
.sheet.actor.loot form .sheet-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.2rem;
  padding: var(--space-4) var(--space-8) 0 var(--space-8);
  border-bottom: 1px solid var(--color-text-light-7);
  box-shadow: 0 0 var(--space-8) rgba(0, 0, 0, 0.2);
}
.sheet.actor.loot form .sheet-header h1 {
  margin: 0;
  border: none;
  flex: 1;
}
.sheet.actor.loot form .sheet-header h1 > input {
  height: 40px;
  width: 100%;
  margin: 2px;
  border: none;
}
.sheet.actor.loot form .sheet-header h1,
.sheet.actor.loot form .sheet-header input {
  font-family: var(--serif-condensed);
  font-size: var(--font-size-36);
  font-weight: 700;
}
.sheet.actor.loot form .sheet-header .sheet-type i {
  padding: 0 var(--space-4) 0 var(--space-8);
  font-size: var(--font-size-16);
}
.sheet.actor.loot form .sheet-header .sheet-type .type,
.sheet.actor.loot form .sheet-header .sheet-type .type option {
  background-color: var(--color-pf-primary);
  border-radius: 0;
  color: var(--text-light);
  display: inline-block;
  font-family: var(--sans-serif);
  font-size: var(--font-size-16);
  font-weight: 500;
  height: var(--form-field-height);
  line-height: var(--form-field-height);
  text-transform: uppercase;
}
.sheet.actor.loot form .sheet-header .sheet-type .type:not(select),
.sheet.actor.loot form .sheet-header .sheet-type .type option:not(select) {
  padding: 0 var(--space-8);
}
.sheet.actor.loot form .sheet-header .tags {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  margin-left: auto;
  margin-right: 0.5em;
}
.sheet.actor.loot form .sheet-header .tags .tag {
  color: var(--text-light);
  font-size: var(--font-size-16);
  height: unset;
  padding: 0.1em 0.4em;
}
.sheet.actor.loot form .sheet-header .tags .tag option {
  background-color: #5e0000;
  color: inherit;
  font-size: inherit;
}
.sheet.actor.loot form .sheet-body {
  padding: 0.5rem;
}
.sheet.actor.loot form section.content {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}
.sheet.actor.loot form section.content .inventory {
  overflow: hidden;
}
.sheet.actor.loot form section.content .inventory .wealth {
  background: var(--primary-background);
}
.sheet.actor.loot form section.content .inventory .inventory-list {
  --border-color: var(--secondary-background);
  margin-bottom: 2px;
}
.sheet.actor.loot form section.content .inventory .inventory-list > header {
  background: var(--primary-background);
  color: var(--text-light);
}
.sheet.actor.loot form section.content .inventory .inventory-list .bulk {
  flex-basis: 4rem;
}
.sheet.actor.loot form section.content .inventory .inventory-list .item-controls {
  flex-basis: 3.5rem;
}
.sheet.actor.loot form section.content .inventory .inventory-list .item-controls a.item-toggle-equip {
  display: none;
}
.sheet.actor.loot form section.content .inventory li.hidden-item {
  background: var(--visibility-gm-bg);
  outline: 1px dotted rgba(75, 74, 68, 0.5);
  opacity: 0.9;
}

.loot-actor-popup {
  flex: unset;
}
.loot-actor-popup .confirm-button {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  width: calc(100% - 6px);
  height: 2.5em;
  margin-top: 1em;
  background-color: var(--tertiary);
}
.loot-actor-popup .checkboxes label {
  display: block;
  padding-right: 10px;
  padding-left: 22px;
  text-indent: -22px;
}
.loot-actor-popup .checkboxes input {
  vertical-align: middle;
}
.loot-actor-popup .checkboxes label span {
  vertical-align: middle;
}

.sheet.party {
  --color-border: rgba(0, 0, 0, 0.28);
  /** White background navigation with little decorations on the left and right */
}
.sheet.party form {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: url("../assets/sheet/background.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: local;
}
.sheet.party form > header {
  background: url("../assets/sheet/header-bw.webp"), url("../assets/sheet/background.webp");
  background-repeat: repeat-x, no-repeat;
  background-size: cover;
  background-color: #2f9d50;
  background-blend-mode: multiply;
  color: var(--text-light);
  width: 100%;
  font-family: var(--sans-serif);
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.75rem;
  gap: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}
.sheet.party form > header .frame-container {
  flex: 0 0 60px;
  padding: 4px;
  margin: 0.75rem 0;
}
.sheet.party form > header .frame-container .frame {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
}
.sheet.party form > header .frame-container .player-image {
  object-fit: cover;
  object-position: top;
  border: none;
  border-radius: 0;
  width: 100%;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 0 1px #918c88, 0 0 0 2px #e1d8cf, 0 0 0 3px #a98f39, inset 0 0 8px rgba(0, 0, 0, 0.5), 0 0 8px black;
}
.sheet.party form > header input[type=text],
.sheet.party form > header input[type=number] {
  color: var(--text-light);
  border: none;
  border-bottom: 1px solid transparent;
}
.sheet.party form > header input[type=text]:not(:disabled):hover, .sheet.party form > header input[type=text]:focus,
.sheet.party form > header input[type=number]:not(:disabled):hover,
.sheet.party form > header input[type=number]:focus {
  border: none;
  border-bottom: 1px solid var(--text-light);
  box-shadow: none;
}
.sheet.party form > header .details {
  margin: 4px 0;
  flex: 1;
}
.sheet.party form > header .details {
  display: grid;
  grid: "name type" 1fr "name visibility" auto/1fr auto;
  align-items: center;
  gap: 0 0.5rem;
  font-family: var(--serif-condensed);
  font-size: var(--font-size-28);
  font-weight: 700;
}
.sheet.party form > header .details .name {
  grid-area: name;
  flex: 1;
  font-size: var(--font-size-32);
}
.sheet.party form > header .details .actor-type {
  grid-area: type;
  text-align: end;
}
.sheet.party form > header .details .visibility {
  grid-area: visibility;
  font-size: var(--font-size-14);
  opacity: 0.8;
}
.sheet.party form > header .details .visibility i {
  font-size: 0.9em;
  margin-right: 0.125rem;
}
.sheet.party nav.sheet-navigation {
  align-items: center;
  background: url("../assets/sheet/border-pattern.webp") repeat-x top, url("../assets/sheet/border-pattern.webp") repeat-x bottom, var(--color-pf-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  gap: var(--space-11);
  height: 1.25rem;
  justify-content: center;
  position: relative;
  transition: all 0.1s ease-out;
}
.sheet.party nav.sheet-navigation .panel-title {
  color: var(--text-light);
  margin-right: auto;
  padding-left: 1em;
  white-space: nowrap;
}
.sheet.party nav.sheet-navigation > a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--font-size-12);
}
.sheet.party nav.sheet-navigation .item {
  background-image: url("../assets/sheet/nav-item-inactive.webp");
  background-size: contain;
  border-radius: 50%;
  color: var(--color-pf-tertiary);
  fill: var(--color-pf-tertiary);
  height: 1.5rem;
  transition: all 0.1s ease-out;
  width: 1.5rem;
  z-index: 1;
  /* prettier-ignore */
  box-shadow: 0 0 0 1px var(--color-pf-tertiary), 0 0 0 2px #9f725b, inset 0 0 4px rgba(0, 0, 0, 0.25);
}
.sheet.party nav.sheet-navigation .item.active {
  box-shadow: 0 0 0 1px var(--color-pf-tertiary), 0 0 0 2px #9f725b, inset 0 0 4px rgba(0, 0, 0, 0.25), 0 0 8px var(--color-pf-tertiary);
}
.sheet.party nav.sheet-navigation .item:last-child {
  margin-right: 10px;
}
.sheet.party nav.sheet-navigation .item:hover, .sheet.party nav.sheet-navigation .item.active {
  z-index: 2;
  transform: scale(1.2);
  color: var(--text-light);
  fill: var(--text-light);
  background-image: url("../assets/sheet/nav-item.webp");
}
.sheet.party nav.sheet-navigation .item i.fa-solid {
  padding-bottom: 0;
}
.sheet.party nav.sheet-navigation .item:hover .pfs-icon {
  filter: drop-shadow(0 0 8px var(--color-shadow-primary));
}
.sheet.party nav.sheet-navigation .item .action-glyph {
  font-size: 1rem;
}
.sheet.party nav.sub-nav {
  align-items: center;
  background-color: var(--bg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-wrap: nowrap;
  flex: 0 0 2.5rem;
  justify-content: space-evenly;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  width: 100%;
}
.sheet.party nav.sub-nav::before, .sheet.party nav.sub-nav::after {
  background: url("../assets/sheet/sub-nav-decoration.webp");
  content: "";
  height: 1rem;
  width: 2.5rem;
  margin: 0 1rem;
}
.sheet.party nav.sub-nav::after {
  transform: scaleX(-100%);
}
.sheet.party nav.sub-nav a {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-right: 1px solid rgba(0, 0, 0, 0.2);
  color: var(--color-pf-alternate);
  display: block;
  flex: 1;
  font: 400 var(--font-size-16) var(--serif);
  text-align: center;
  text-decoration: none;
  transition: all 0.1s ease-out;
}
.sheet.party nav.sub-nav a:hover, .sheet.party nav.sub-nav a.active {
  color: var(--color-pf-primary);
}
.sheet.party nav.sub-nav a.active {
  font-weight: 500;
}
.sheet.party nav.sub-nav a:first-child {
  border-left: none;
}
.sheet.party nav.sub-nav a:last-child {
  border-right: none;
}
.sheet.party nav.sub-nav a:hover {
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
}
.sheet.party .actor-link {
  cursor: pointer;
}
.sheet.party .readonly {
  pointer-events: none;
}
.sheet.party .readonly a,
.sheet.party .readonly button {
  pointer-events: none;
}
.sheet.party .container {
  height: 100%;
  overflow: hidden;
}
.sheet.party .content {
  overflow: hidden scroll;
  flex: 1;
}
.sheet.party .tab.active {
  display: flex;
  height: 100%;
}
.sheet.party .item-list.directory-list {
  gap: 0.2em;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.sheet.party .item-list.directory-list .item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 2px 12px;
  width: 100%;
}
.sheet.party .item-list.directory-list .item p:empty {
  display: none;
}
.sheet.party .item-list.directory-list .item .item-name {
  display: flex;
  align-items: center;
  flex: 1;
}
.sheet.party .item-list.directory-list .item .item-name h4 {
  cursor: pointer;
  margin: 0;
}
.sheet.party .item-list.directory-list .item .item-name .item-image {
  margin-right: 8px;
}
.sheet.party .item-list.directory-list .item .item-controls {
  display: flex;
  flex: 0;
  font-size: var(--font-size-12);
  gap: 1px;
  white-space: nowrap;
}
.sheet.party .item-list.directory-list .item .item-controls a.info-only:hover {
  cursor: default;
  text-shadow: none;
}
.sheet.party .item-list.directory-list .item .item-controls a + a {
  margin-left: 4px;
}
.sheet.party .item-list.directory-list .item .item-summary {
  flex-basis: 100%;
}
.sheet.party .item-list.directory-list .item.unidentified {
  border-radius: 1px;
  outline: 1px dotted rgba(75, 74, 68, 0.5);
  background: var(--visibility-gm-bg);
}
.sheet.party .item-list.directory-list .item .button-group {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  width: 50%;
  flex: 0;
}
.sheet.party .item-list.directory-list .item .button-group button {
  margin: 0;
  border: none;
  cursor: pointer;
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  padding: 5px;
  color: var(--text-light);
  width: 70px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  background: var(--secondary);
  border-radius: 2px;
  flex: 0;
  white-space: nowrap;
  margin-left: 4px;
  flex: 0;
}
.sheet.party .item-list.directory-list .item .button-group button:hover {
  box-shadow: none;
  text-shadow: 0 0 2px white;
}
.sheet.party .item-list.directory-list .item {
  margin: 2px 0;
  border: solid transparent;
  border-width: 0 0 1px;
  border-image: linear-gradient(90deg, #f1edea, #d5cac1) 1 repeat;
}
.sheet.party .item-list.directory-list .item .item-summary {
  margin-top: 8px;
}
.sheet.party header.content-header {
  align-items: center;
  background-color: var(--sub);
  color: var(--text-light);
  display: flex;
  font-weight: 600;
  margin-bottom: 0.5rem;
  padding: 0 0.5rem;
  line-height: 2.375rem;
}
.sheet.party header.content-header .buttons {
  align-items: center;
  display: flex;
  margin-left: auto;
}
.sheet.party header.content-header button {
  background-color: var(--tertiary);
  border: 1px solid var(--alt-dark);
  border-radius: 0;
  color: var(--alt-dark);
  min-width: 2.375rem;
  height: 1.875rem;
  margin: 0;
}
.sheet.party header.content-header button + button {
  margin-left: -1px;
}
.sheet.party header.content-header button:hover {
  z-index: 1;
}
.sheet.party .sidebar {
  overflow: hidden scroll;
  border-right: 1px solid #888;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 0.5rem;
  width: 13.5rem;
}
.sheet.party .sidebar .box-list {
  margin: 0;
  padding: 0;
  display: flex;
  color: var(--alt-dark);
  flex-direction: column;
  font-family: var(--sans-serif);
  gap: 0.5rem;
  list-style-type: none;
}
.sheet.party .sidebar .box {
  border: 1px solid var(--color-border);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.18);
  font-family: var(--sans-serif);
  border-radius: 3px;
  font-size: var(--font-size-12);
}
.sheet.party .sidebar .box .summary-data > div {
  align-items: center;
  display: flex;
  margin: 0 0.5rem;
  line-height: 1.375rem;
}
.sheet.party .sidebar .box .summary-data > div label {
  flex: 1;
  font-weight: 600;
}
.sheet.party .sidebar .box hr {
  margin: -1px 0;
}
.sheet.party .sidebar .box .actor-link img {
  border: none;
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}
.sheet.party .sidebar .box .name {
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sheet.party .sidebar .box header,
.sheet.party .sidebar .box footer {
  position: relative;
  margin: -1px;
  padding: 0 0 0 calc(0.5rem + 1px);
}
.sheet.party .sidebar .box header {
  background-color: var(--sub);
  border-radius: 3px 3px 0 0;
  color: var(--text-light);
  font-weight: 700;
  height: 1.375rem;
  line-height: 1.375rem;
  margin-bottom: 0;
}
.sheet.party .sidebar .box footer {
  background-color: var(--bg-dark);
  border-radius: 0 0 3px 3px;
  border: 1px solid var(--color-border);
  border-top: none;
  color: var(--sub);
  font-weight: 500;
  height: 1.125rem;
  line-height: 1.125rem;
  margin-top: 0;
}
.sheet.party .tag-light {
  --tag-color: var(--color-proficiency-untrained);
  align-items: center;
  border-radius: 2px;
  border: 1px solid var(--tag-color);
  color: var(--tag-color);
  display: flex;
  font: 700 var(--font-size-13)/1.25rem var(--sans-serif);
  font-variant: all-small-caps;
  gap: 0.125rem;
  height: 1.25rem;
  margin: 0;
  padding: 0 0.25rem;
  white-space: nowrap;
  width: auto;
}
.sheet.party .tag-light .mod {
  font-weight: 500;
}
.sheet.party [data-tab=inventory] .inventory-members .box .content {
  align-items: center;
  display: flex;
  padding: 0.5rem;
  overflow: hidden;
}
.sheet.party [data-tab=inventory] .inventory-members .box .content img {
  grid-area: image;
  margin-right: 0.4rem;
}
.sheet.party [data-tab=inventory] .inventory-members .box .content .sub-data {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.sheet.party [data-tab=inventory] .inventory-members .box footer {
  align-items: baseline;
  display: flex;
  gap: 0.25rem;
}
.sheet.party [data-tab=inventory] .inventory-members .box footer i {
  align-self: center;
  font-size: 0.85em;
}
.sheet.party [data-tab=inventory] .inventory-members .box .inventory-data {
  display: flex;
  gap: 0.25rem;
  padding: 2px 3px;
  font-size: var(--font-size-12);
}
.sheet.party [data-tab=inventory] .inventory {
  flex: 1;
  padding: 0.5rem 4px 0.5em 0.5em;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.sheet.party [data-tab=inventory] .inventory .item-controls {
  max-width: 3.5rem;
}
.sheet.party [data-tab=overview] .content {
  padding-top: 0.5rem;
  padding-bottom: 0.25rem;
}
.sheet.party [data-tab=overview] .summary {
  border-image-repeat: repeat;
  border-image-slice: 11;
  border-image-source: url("../assets/sheet/frame-elegant.svg");
  border-image-width: 14px;
  border-style: double;
  display: flex;
  flex-direction: column;
  padding: 0.375rem 0.5rem;
  margin: 0.25rem 1rem 0.25rem 12px;
}
.sheet.party [data-tab=overview] .summary nav {
  color: var(--alt-dark);
  display: flex;
  gap: 0.25rem;
  line-height: 1.25em;
  margin-bottom: 0.375rem;
  align-items: center;
}
.sheet.party [data-tab=overview] .summary nav button {
  border: none;
  font-size: var(--font-size-14);
  font-weight: 500;
  padding: 0 0.5rem;
  white-space: nowrap;
  width: auto;
}
.sheet.party [data-tab=overview] .summary nav button.active {
  background: var(--secondary);
  color: var(--text-light);
}
.sheet.party [data-tab=overview] .summary nav label {
  margin-left: auto;
  margin-right: 0.25rem;
}
.sheet.party [data-tab=overview] .summary .tags,
.sheet.party [data-tab=overview] .summary .skills {
  margin: 0;
}
.sheet.party [data-tab=overview] .skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.sheet.party [data-tab=overview] .skills .tag-light[data-rank="1"] {
  --tag-color: var(--color-proficiency-trained);
}
.sheet.party [data-tab=overview] .skills .tag-light[data-rank="2"] {
  --tag-color: var(--color-proficiency-expert);
}
.sheet.party [data-tab=overview] .skills .tag-light[data-rank="3"] {
  --tag-color: var(--color-proficiency-master);
}
.sheet.party [data-tab=overview] .skills .tag-light[data-rank="4"] {
  --tag-color: var(--color-proficiency-legendary);
}
.sheet.party [data-tab=overview] .skills .perception {
  color: var(--text-light);
  background-color: var(--tag-color);
}
.sheet.party [data-tab=overview] .member {
  display: flex;
  flex-direction: row;
  font-family: var(--sans-serif);
  padding: 0.5rem 1rem;
  position: relative;
  height: 7.375rem;
}
.sheet.party [data-tab=overview] .member:not(:last-child):after {
  content: "";
  background-color: rgba(68, 55, 48, 0.1);
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: 0;
}
.sheet.party [data-tab=overview] .member > .portrait {
  margin-right: 8px;
  min-width: 5.5rem;
  position: relative;
}
.sheet.party [data-tab=overview] .member > .portrait img {
  position: absolute;
  border: none;
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.sheet.party [data-tab=overview] .member > .portrait .health-bar {
  background-color: var(--sub);
  bottom: 0;
  color: var(--text-light);
  font-size: var(--font-size-12);
  font-weight: 500;
  height: 1.25rem;
  line-height: 1.25rem;
  position: absolute;
  width: 100%;
}
.sheet.party [data-tab=overview] .member > .portrait .health-bar .bar {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background-color: var(--primary);
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.2);
}
.sheet.party [data-tab=overview] .member > .portrait .health-bar .temp {
  background-color: var(--secondary);
  top: -0.25rem;
  height: 0.25rem;
}
.sheet.party [data-tab=overview] .member > .portrait .health-bar span {
  padding-left: 0.25rem;
  position: relative;
}
.sheet.party [data-tab=overview] .member > .data {
  width: 100%;
}
.sheet.party [data-tab=overview] .member > .data header {
  border-left: 1px solid #c9bfa9;
  display: grid;
  grid: "name resource" 1fr "blurb resource" min-content/auto max-content;
  margin-bottom: 0.25rem;
  padding-left: 0.5rem;
}
.sheet.party [data-tab=overview] .member > .data header .name {
  align-items: center;
  display: flex;
  font: 600 var(--font-size-18)/1 var(--serif);
  grid-area: name;
}
.sheet.party [data-tab=overview] .member > .data header .name i {
  font-size: 0.8em;
  margin-left: 0.125rem;
}
.sheet.party [data-tab=overview] .member > .data header .blurb {
  align-items: center;
  color: var(--alt-dark);
  display: flex;
  font: 500 var(--font-size-14)/var(--font-size-14) var(--sans-serif);
  font-variant: all-small-caps;
  gap: 0.25rem;
  grid-area: blurb;
  position: relative;
}
.sheet.party [data-tab=overview] .member > .data header .blurb hr.vr {
  border: 1px solid var(--color-border);
  height: 0.5rem;
  position: relative;
  top: 1px;
}
.sheet.party [data-tab=overview] .member > .data header .resource {
  align-items: end;
  display: flex;
  gap: 3px;
  grid-area: resource;
  width: fit-content;
}
.sheet.party [data-tab=overview] .member > .data header .resource > * {
  width: 1.5rem;
  height: 1.5rem;
}
.sheet.party [data-tab=overview] .member > .data header .resource .empty {
  border: 2px dashed rgba(0, 0, 0, 0.5);
  border-radius: 50%;
}
.sheet.party [data-tab=overview] .member > .data header .resource img {
  border: none;
}
.sheet.party [data-tab=overview] .member > .data .main-stats {
  display: flex;
  gap: 0.5rem;
  margin: 0.125rem 0 0.25rem 0;
}
.sheet.party [data-tab=overview] .member > .data .main-stats > section {
  border: 1px solid var(--color-border);
  border-radius: 2px;
  height: 2.625rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1 1 0;
}
.sheet.party [data-tab=overview] .member > .data .main-stats .score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-18);
}
.sheet.party [data-tab=overview] .member > .data .main-stats .score label {
  font-size: var(--font-size-10);
  font-weight: 500;
}
.sheet.party [data-tab=overview] .member > .data .main-stats .ac {
  border: none;
  position: relative;
  flex: 0 0 2.25rem;
}
.sheet.party [data-tab=overview] .member > .data .main-stats .ac::before {
  content: " ";
  position: absolute;
  inset: 0;
  background: url("../assets/sheet/shield-clear.svg") no-repeat center center;
  background-size: contain;
}
.sheet.party [data-tab=overview] .member > .data .main-stats .ac .value {
  color: var(--color-proficiency-trained);
  font-weight: 700;
}
.sheet.party [data-tab=overview] .member > .data .main-stats .saving-throws {
  flex: 0 0 9.5rem;
}
.sheet.party [data-tab=overview] .member > .data .main-stats .saving-throws .score {
  flex: 1;
  font-weight: 500;
}
.sheet.party [data-tab=overview] .member > .data .main-stats .senses {
  align-items: center;
  flex: 1.4;
  overflow: hidden;
}
.sheet.party [data-tab=overview] .member > .data .main-stats .senses .value {
  align-items: center;
  display: flex;
  font-size: var(--font-size-12);
  gap: 0.125rem;
  overflow-x: auto;
  max-width: 100%;
  padding: 0 0.5rem;
  padding-bottom: 7px;
  margin-bottom: -7px;
}
.sheet.party [data-tab=overview] .member > .data .main-stats .senses .value [data-acuity=imprecise],
.sheet.party [data-tab=overview] .member > .data .main-stats .senses .value [data-acuity=vague] {
  border-style: dashed;
}
.sheet.party [data-tab=exploration] .exploration-members .actor-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.sheet.party [data-tab=exploration] .exploration-members .member .sub-data {
  display: flex;
  flex-direction: row;
  background-color: rgba(68, 55, 48, 0.1);
  font-size: var(--font-size-11);
  font-weight: 500;
}
.sheet.party [data-tab=exploration] .exploration-members .member .sub-data > span {
  flex: 1;
  text-align: center;
  padding: 0.2rem;
}
.sheet.party [data-tab=exploration] .exploration-members .member .sub-data > span:not(:last-child) {
  border-right: 1px solid rgba(68, 55, 48, 0.1);
}
.sheet.party [data-tab=exploration] .exploration-members .member footer.health-bar {
  background-color: var(--sub);
  color: var(--text-light);
}
.sheet.party [data-tab=exploration] .exploration-members .member footer.health-bar .bar {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background-color: var(--primary);
  border-radius: 0 0 3px 3px;
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.2);
}
.sheet.party [data-tab=exploration] .exploration-members .member footer.health-bar span {
  position: relative;
}
.sheet.party [data-tab=exploration] .content {
  padding: 0.5rem;
}
.sheet.party [data-tab=exploration] .activities {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sheet.party [data-tab=exploration] .activities .member-activity {
  border-image-repeat: repeat;
  border-image-slice: 11;
  border-image-source: url("../assets/sheet/frame-elegant.svg");
  border-image-width: 14px;
  border-style: double;
  display: flex;
  align-items: center;
}
.sheet.party [data-tab=exploration] .activities .member-activity img {
  object-fit: contain;
  border: none;
}
.sheet.party [data-tab=exploration] .activities .member-activity .actor-image {
  flex: 0 0 auto;
}
.sheet.party [data-tab=exploration] .activities .member-activity .actor-image img {
  width: 4rem;
  height: 4rem;
  margin: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sheet.party [data-tab=exploration] .activities .member-activity .actor-image img i {
  color: var(--text-dark);
  font-size: var(--font-size-30);
}
.sheet.party [data-tab=exploration] .activities .member-activity .activity-entries {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  overflow: hidden;
}
.sheet.party [data-tab=exploration] .activities .member-activity .activity-entries .activity {
  align-items: center;
  display: flex;
  gap: 0 0.5rem;
  margin-left: 0.25rem;
  white-space: nowrap;
}
.sheet.party [data-tab=exploration] .activities .member-activity .activity-entries .activity .name {
  font-weight: 500;
}
.sheet.party [data-tab=exploration] .activities .member-activity .activity-entries .activity .tags {
  flex-wrap: nowrap;
  overflow: hidden;
}
.sheet.party [data-tab=exploration] .activities .member-activity .activity-entries .activity.single {
  align-items: start;
  flex-direction: column;
}
.sheet.party [data-tab=exploration] .activities .member-activity .activity-entries .activity.single .name {
  font-size: var(--font-size-16);
}
.sheet.party [data-tab=exploration] .activities .member-activity .empty {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-family: var(--serif);
  gap: 0.5rem;
}
.sheet.party [data-tab=exploration] .activities .member-activity .empty div {
  margin: 0;
}
.sheet.party [data-tab=exploration] .activities .member-activity .empty .icon {
  border: 1px dashed var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-14);
  height: 2.125rem;
  width: 2.125rem;
}
.sheet.party [data-tab=exploration] .activities .member-activity .empty .name {
  color: var(--primary-dark);
  font-size: var(--font-size-16);
  line-height: 1em;
}
.sheet.party [data-tab=exploration] .activities .member-activity .empty .hint {
  color: var(--alt-dark);
  line-height: 1em;
}
.sheet.party [data-tab=orphaned] .item-list {
  margin: 16px;
}

.sheet.kingdom {
  --paper-bg: rgba(221, 216, 200, 0.4);
  --drop-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  --gold: #ffd700;
  --color-divider: rgba(68, 55, 48, 0.2);
  /** White background navigation with little decorations on the left and right */
}
.sheet.kingdom form {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: url("../assets/sheet/background.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: local;
}
.sheet.kingdom form > header {
  background: url("../assets/sheet/header-bw.webp"), url("../assets/sheet/background.webp");
  background-repeat: repeat-x, no-repeat;
  background-size: cover;
  background-color: #66bc1a;
  background-blend-mode: multiply;
  color: var(--text-light);
  width: 100%;
  font-family: var(--sans-serif);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.75rem;
  gap: 0.75rem;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}
.sheet.kingdom form > header .frame-container {
  padding: 4px;
  margin: 0.75rem 0;
}
.sheet.kingdom form > header .frame-container .frame {
  position: relative;
  width: 3.25rem;
  height: 3.25rem;
}
.sheet.kingdom form > header .frame-container .player-image {
  object-fit: cover;
  object-position: top;
  border: none;
  border-radius: 0;
  width: 3.25rem;
  height: 3.25rem;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 0 1px #918c88, 0 0 0 2px #e1d8cf, 0 0 0 3px #a98f39, inset 0 0 8px rgba(0, 0, 0, 0.5), 0 0 8px black;
}
.sheet.kingdom form > header .details {
  display: grid;
  grid-template: "title title title title level" auto "capital size rp fame level" auto/1fr auto auto auto auto;
  align-items: center;
  gap: 0 4px;
  font-size: var(--font-size-22);
  font-family: var(--serif-condensed);
  font-weight: 700;
  margin: 4px 0;
  flex: 1;
}
.sheet.kingdom form > header .details input[type=text],
.sheet.kingdom form > header .details input[type=number] {
  color: var(--text-light);
  border: none;
  border-bottom: 1px solid transparent;
  padding: 0;
  height: unset;
}
.sheet.kingdom form > header .details input[type=text]:hover, .sheet.kingdom form > header .details input[type=text]:focus,
.sheet.kingdom form > header .details input[type=number]:hover,
.sheet.kingdom form > header .details input[type=number]:focus {
  border: none;
  border-bottom: 1px solid var(--text-light);
  box-shadow: none;
}
.sheet.kingdom form > header .details input[type=text]::placeholder,
.sheet.kingdom form > header .details input[type=number]::placeholder {
  color: #bbb;
  opacity: 0.4;
}
.sheet.kingdom form > header .details .title {
  display: flex;
  grid-area: title;
  gap: 1rem;
  font-size: var(--font-size-30);
}
.sheet.kingdom form > header .details label {
  align-items: baseline;
  display: flex;
  gap: 0.5rem;
  white-space: nowrap;
}
.sheet.kingdom form > header .details label span {
  color: var(--gold);
  font-size: 0.8em;
  text-transform: uppercase;
}
.sheet.kingdom form > header .details .capital {
  grid-area: capital;
}
.sheet.kingdom form > header .details .size {
  grid-area: size;
  margin-left: 0.5rem;
}
.sheet.kingdom form > header .details .size input {
  width: 3ch;
  text-align: center;
}
.sheet.kingdom form > header .details .resource-points {
  grid-area: rp;
  margin-left: 1rem;
}
.sheet.kingdom form > header .details .resource-points input {
  width: 3ch;
  text-align: center;
}
.sheet.kingdom form > header .details .fame {
  align-items: center;
  display: flex;
  grid-area: fame;
  margin-left: 0.25rem;
}
.sheet.kingdom form > header .details .fame .pips {
  font-size: var(--font-size-12);
}
.sheet.kingdom form > header .details .level {
  grid-area: level;
}
.sheet.kingdom form > header section.level {
  display: flex;
  justify-content: flex-start;
  margin-left: 1rem;
  text-transform: uppercase;
}
.sheet.kingdom form > header section.level .level {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 43px;
  width: 40px;
  background: url("../assets/sheet/level-badge.webp") no-repeat;
  background-size: 40px 43px;
  z-index: 2;
  font-size: 0;
  padding-top: 2px;
}
.sheet.kingdom form > header section.level .level label {
  color: var(--sidebar-label);
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
.sheet.kingdom form > header section.level .level input {
  font-family: var(--serif);
  font-size: var(--font-size-22);
  font-weight: 400;
  color: var(--text-light);
  line-height: calc(1em + 1px);
  height: 24px;
}
.sheet.kingdom form > header section.level .level label,
.sheet.kingdom form > header section.level .level input {
  margin-left: 1px;
  text-align: center;
}
.sheet.kingdom form > header section.level .exp-data {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  width: 6rem;
}
.sheet.kingdom form > header section.level .exp-data .exp-input {
  font-size: var(--font-size-13);
  height: 1.5em;
  margin-bottom: 0.5rem;
}
.sheet.kingdom form > header section.level .exp-data .exp-input input {
  color: var(--text-light);
  font-family: var(--sans-serif);
  text-align: right;
  width: 3em;
}
.sheet.kingdom form > header section.level .exp-data .exp-input .slash {
  color: var(--sidebar-label);
}
.sheet.kingdom form > header section.level .exp-data progress {
  background-color: unset;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: none;
  bottom: 7px;
  box-shadow: 0 0 2px var(--sidebar-label);
  height: 5px;
  left: -9px;
  position: relative;
  width: 100%;
}
.sheet.kingdom form > header section.level .exp-data progress::-moz-progress-bar {
  background: var(--sidebar-title);
}
.sheet.kingdom form > header section.level .exp-data progress::-webkit-progress-bar {
  background: rgba(0, 0, 0, 0.2);
}
.sheet.kingdom form > header section.level .exp-data progress::-webkit-progress-value {
  background: var(--sidebar-title);
}
.sheet.kingdom nav.sheet-navigation {
  align-items: center;
  background: url("../assets/sheet/border-pattern.webp") repeat-x top, url("../assets/sheet/border-pattern.webp") repeat-x bottom, var(--color-pf-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  gap: var(--space-11);
  height: 1.25rem;
  justify-content: center;
  position: relative;
  transition: all 0.1s ease-out;
}
.sheet.kingdom nav.sheet-navigation .panel-title {
  color: var(--text-light);
  margin-right: auto;
  padding-left: 1em;
  white-space: nowrap;
}
.sheet.kingdom nav.sheet-navigation > a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--font-size-12);
}
.sheet.kingdom nav.sheet-navigation .item {
  background-image: url("../assets/sheet/nav-item-inactive.webp");
  background-size: contain;
  border-radius: 50%;
  color: var(--color-pf-tertiary);
  fill: var(--color-pf-tertiary);
  height: 1.5rem;
  transition: all 0.1s ease-out;
  width: 1.5rem;
  z-index: 1;
  /* prettier-ignore */
  box-shadow: 0 0 0 1px var(--color-pf-tertiary), 0 0 0 2px #9f725b, inset 0 0 4px rgba(0, 0, 0, 0.25);
}
.sheet.kingdom nav.sheet-navigation .item.active {
  box-shadow: 0 0 0 1px var(--color-pf-tertiary), 0 0 0 2px #9f725b, inset 0 0 4px rgba(0, 0, 0, 0.25), 0 0 8px var(--color-pf-tertiary);
}
.sheet.kingdom nav.sheet-navigation .item:last-child {
  margin-right: 10px;
}
.sheet.kingdom nav.sheet-navigation .item:hover, .sheet.kingdom nav.sheet-navigation .item.active {
  z-index: 2;
  transform: scale(1.2);
  color: var(--text-light);
  fill: var(--text-light);
  background-image: url("../assets/sheet/nav-item.webp");
}
.sheet.kingdom nav.sheet-navigation .item i.fa-solid {
  padding-bottom: 0;
}
.sheet.kingdom nav.sheet-navigation .item:hover .pfs-icon {
  filter: drop-shadow(0 0 8px var(--color-shadow-primary));
}
.sheet.kingdom nav.sheet-navigation .item .action-glyph {
  font-size: 1rem;
}
.sheet.kingdom nav.sub-nav {
  align-items: center;
  background-color: var(--bg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-wrap: nowrap;
  flex: 0 0 2.5rem;
  justify-content: space-evenly;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  width: 100%;
}
.sheet.kingdom nav.sub-nav::before, .sheet.kingdom nav.sub-nav::after {
  background: url("../assets/sheet/sub-nav-decoration.webp");
  content: "";
  height: 1rem;
  width: 2.5rem;
  margin: 0 1rem;
}
.sheet.kingdom nav.sub-nav::after {
  transform: scaleX(-100%);
}
.sheet.kingdom nav.sub-nav a {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-right: 1px solid rgba(0, 0, 0, 0.2);
  color: var(--color-pf-alternate);
  display: block;
  flex: 1;
  font: 400 var(--font-size-16) var(--serif);
  text-align: center;
  text-decoration: none;
  transition: all 0.1s ease-out;
}
.sheet.kingdom nav.sub-nav a:hover, .sheet.kingdom nav.sub-nav a.active {
  color: var(--color-pf-primary);
}
.sheet.kingdom nav.sub-nav a.active {
  font-weight: 500;
}
.sheet.kingdom nav.sub-nav a:first-child {
  border-left: none;
}
.sheet.kingdom nav.sub-nav a:last-child {
  border-right: none;
}
.sheet.kingdom nav.sub-nav a:hover {
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
}
.sheet.kingdom .container {
  height: 100%;
  overflow: hidden;
}
.sheet.kingdom input.adjusted-higher {
  color: var(--color-pf-text-adjusted-higher);
}
.sheet.kingdom input.adjusted-lower {
  color: var(--color-pf-text-adjusted-lower);
}
.sheet.kingdom .content {
  overflow: hidden scroll;
  flex: 1;
}
.sheet.kingdom .tab.active {
  display: flex;
  height: 100%;
}
.sheet.kingdom .drag-gap {
  visibility: hidden;
}
.sheet.kingdom .sidebar {
  overflow: hidden scroll;
  border-right: 1px solid #888;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 13.5rem;
}
.sheet.kingdom .tag-light {
  --tag-color: var(--color-proficiency-untrained);
  border: 1px solid var(--tag-color);
  border-radius: 2px;
  color: var(--tag-color);
  padding: 0 4px 0.1em 4px;
  height: 1.25rem;
  white-space: nowrap;
  font-size: var(--font-size-13);
  font-variant: all-small-caps;
  font-weight: 500;
  display: flex;
  align-items: center;
}
.sheet.kingdom .directory-list {
  padding: 0;
  margin: 0;
}
.sheet.kingdom .directory-list h4 {
  padding: 0;
  margin: 0;
}
.sheet.kingdom .directory-list h4 > a:hover {
  color: var(--color-pf-primary);
  text-shadow: 0 0 3px var(--tertiary);
}
.sheet.kingdom .effects .directory-list {
  gap: 0.2em;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.sheet.kingdom .effects .directory-list .item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 2px 12px;
  width: 100%;
}
.sheet.kingdom .effects .directory-list .item p:empty {
  display: none;
}
.sheet.kingdom .effects .directory-list .item .item-name {
  display: flex;
  align-items: center;
  flex: 1;
}
.sheet.kingdom .effects .directory-list .item .item-name h4 {
  cursor: pointer;
  margin: 0;
}
.sheet.kingdom .effects .directory-list .item .item-name .item-image {
  margin-right: 8px;
}
.sheet.kingdom .effects .directory-list .item .item-controls {
  display: flex;
  flex: 0;
  font-size: var(--font-size-12);
  gap: 1px;
  white-space: nowrap;
}
.sheet.kingdom .effects .directory-list .item .item-controls a.info-only:hover {
  cursor: default;
  text-shadow: none;
}
.sheet.kingdom .effects .directory-list .item .item-controls a + a {
  margin-left: 4px;
}
.sheet.kingdom .effects .directory-list .item .item-summary {
  flex-basis: 100%;
}
.sheet.kingdom .effects .directory-list .item.unidentified {
  border-radius: 1px;
  outline: 1px dotted rgba(75, 74, 68, 0.5);
  background: var(--visibility-gm-bg);
}
.sheet.kingdom .effects .directory-list .item .button-group {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  width: 50%;
  flex: 0;
}
.sheet.kingdom .effects .directory-list .item .button-group button {
  margin: 0;
  border: none;
  cursor: pointer;
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  padding: 5px;
  color: var(--text-light);
  width: 70px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  background: var(--secondary);
  border-radius: 2px;
  flex: 0;
  white-space: nowrap;
  margin-left: 4px;
  flex: 0;
}
.sheet.kingdom .effects .directory-list .item .button-group button:hover {
  box-shadow: none;
  text-shadow: 0 0 2px white;
}
.sheet.kingdom .effects .directory-list .item {
  margin: 2px 0;
  border: solid transparent;
  border-width: 0 0 1px;
  border-image: linear-gradient(90deg, #f1edea, #d5cac1) 1 repeat;
}
.sheet.kingdom .effects .directory-list .item .item-summary {
  margin-top: 8px;
}
.sheet.kingdom section.major > header {
  border-bottom: 1px solid var(--color-border-divider);
  color: var(--primary);
  font: 600 var(--font-size-16)/1 var(--serif);
  position: relative;
  margin: 0.75rem 0 0.5rem 0;
}
.sheet.kingdom section.major > header > button, .sheet.kingdom section.major > header > .controls {
  position: absolute;
  bottom: -1px;
  right: 0;
}
.sheet.kingdom section.major > header .controls {
  display: flex;
}
.sheet.kingdom section.major > header button {
  background: transparent;
  border-radius: 2px 2px 0 0;
  border: 1px solid var(--color-border-divider);
  color: var(--primary);
  cursor: pointer;
  font: 500 var(--font-size-12)/1 var(--sans-serif);
  height: 20px;
  margin: 0;
  outline: none;
  text-transform: uppercase;
  width: auto;
}
.sheet.kingdom button.small-button,
.sheet.kingdom select.proficiency,
.sheet.kingdom span.proficiency {
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  align-items: center;
  background: var(--color-proficiency-untrained);
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  display: flex;
  font-weight: 500;
  height: unset;
  justify-content: center;
  line-height: unset;
  padding: 1px 2px 1px 2px;
}
.sheet.kingdom .proficiency {
  text-align-last: center;
  appearance: none;
}
.sheet.kingdom .proficiency.readonly {
  pointer-events: none;
}
.sheet.kingdom .proficiency option[value="0"] {
  background: var(--color-proficiency-untrained);
}
.sheet.kingdom .proficiency[data-rank="1"],
.sheet.kingdom .proficiency option[value="1"] {
  background: var(--color-proficiency-trained);
}
.sheet.kingdom .proficiency[data-rank="2"],
.sheet.kingdom .proficiency option[value="2"] {
  background: var(--color-proficiency-expert);
}
.sheet.kingdom .proficiency[data-rank="3"],
.sheet.kingdom .proficiency option[value="3"] {
  background: var(--color-proficiency-master);
}
.sheet.kingdom .proficiency[data-rank="4"],
.sheet.kingdom .proficiency option[value="4"] {
  background: var(--color-proficiency-legendary);
}
.sheet.kingdom select.proficiency {
  cursor: pointer;
}
.sheet.kingdom .tab.active[data-tab=main] {
  overflow: hidden scroll;
  flex-direction: column;
}
.sheet.kingdom .tab.active[data-tab=main] input[type=text],
.sheet.kingdom .tab.active[data-tab=main] input[type=number] {
  border: none;
}
.sheet.kingdom .tab.active[data-tab=main] .content {
  display: grid;
  grid-template: "leaders resources" 1fr "leaders abilities" min-content/0.9fr 1fr;
  width: 100%;
  gap: 0 1rem;
  padding: 0.5rem;
  flex: 0 0 auto;
}
.sheet.kingdom .tab.active[data-tab=main] .leaders {
  grid-area: leaders;
}
.sheet.kingdom .tab.active[data-tab=main] .leaders .leader {
  display: grid;
  grid-template-areas: "img name" "img label";
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
}
.sheet.kingdom .tab.active[data-tab=main] .leaders .leader:not(:last-child) {
  margin-bottom: 0.375rem;
}
.sheet.kingdom .tab.active[data-tab=main] .leaders .leader .image {
  --inset-shadow-length: 0.25rem;
  border: none;
  border-radius: 2px;
  box-shadow: 0 0 0 1px var(--tertiary), 0 0 0 2px #9f725b, inset 0 0 var(--inset-shadow-length) rgba(0, 0, 0, 0.5);
  grid-area: img;
  width: 2.75rem;
  height: 2.75rem;
  z-index: 1;
}
.sheet.kingdom .tab.active[data-tab=main] .leaders .leader .image img {
  border: none;
  width: 100%;
  height: 100%;
}
.sheet.kingdom .tab.active[data-tab=main] .leaders .leader .name {
  grid-area: name;
  background: rgba(0, 0, 0, 0.025);
  padding: 0 8px;
  border: 0;
  height: auto;
  line-height: 1.5em;
  height: 1.5em;
  align-self: end;
  display: flex;
  justify-content: space-between;
}
.sheet.kingdom .tab.active[data-tab=main] .leaders .leader .details {
  grid-area: label;
  align-self: flex-end;
  align-items: center;
  display: flex;
  justify-content: space-between;
  background: var(--paper-bg);
  box-shadow: var(--drop-shadow);
  font-size: var(--font-size-12);
  padding: 0 8px;
  position: relative;
  margin-bottom: 1px;
  height: 1.5rem;
}
.sheet.kingdom .tab.active[data-tab=main] .leaders .leader .details .role {
  font-variant: small-caps;
  font-weight: 500;
}
.sheet.kingdom .tab.active[data-tab=main] .leaders .leader .invested,
.sheet.kingdom .tab.active[data-tab=main] .leaders .leader .vacant {
  font-size: var(--font-size-12);
}
.sheet.kingdom .tab.active[data-tab=main] .leaders .leader .invested input,
.sheet.kingdom .tab.active[data-tab=main] .leaders .leader .vacant input {
  margin: 0;
  width: 1em;
  height: 1em;
}
.sheet.kingdom .tab.active[data-tab=main] .leaders .leader .invested i,
.sheet.kingdom .tab.active[data-tab=main] .leaders .leader .vacant i {
  font-size: 1.2em;
}
.sheet.kingdom .tab.active[data-tab=main] .resources {
  grid-area: resources;
}
.sheet.kingdom .tab.active[data-tab=main] .resources input[type=number] {
  width: 3ch;
  text-align: center;
  padding-left: 0;
  padding-right: 0;
}
.sheet.kingdom .tab.active[data-tab=main] .resources .resource-data {
  background: var(--paper-bg);
  box-shadow: var(--drop-shadow);
  display: grid;
  grid-template: "resource resource" min-content "commodities stats" 1fr/auto 1fr;
}
.sheet.kingdom .tab.active[data-tab=main] .resources .resource-data .resource-dice {
  grid-area: resource;
}
.sheet.kingdom .tab.active[data-tab=main] .resources .resource-data .commodities {
  grid-area: commodities;
}
.sheet.kingdom .tab.active[data-tab=main] .resources .resource-data .stats {
  grid-area: stats;
}
.sheet.kingdom .tab.active[data-tab=main] .resources .resource-dice {
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 0.25rem;
  padding: 0 0.5rem;
}
.sheet.kingdom .tab.active[data-tab=main] .resources .resource-dice .rollable {
  flex: 1;
}
.sheet.kingdom .tab.active[data-tab=main] .resources .resource-dice input {
  width: 2ch;
  text-align: center;
}
.sheet.kingdom .tab.active[data-tab=main] .resources .commodities,
.sheet.kingdom .tab.active[data-tab=main] .resources .stats {
  padding: 0.25rem 0.5rem;
  white-space: nowrap;
}
.sheet.kingdom .tab.active[data-tab=main] .resources .commodities > label, .sheet.kingdom .tab.active[data-tab=main] .resources .commodities > div,
.sheet.kingdom .tab.active[data-tab=main] .resources .commodities input[type=number],
.sheet.kingdom .tab.active[data-tab=main] .resources .stats > label,
.sheet.kingdom .tab.active[data-tab=main] .resources .stats > div,
.sheet.kingdom .tab.active[data-tab=main] .resources .stats input[type=number] {
  height: 1.5em;
  line-height: 1.5em;
}
.sheet.kingdom .tab.active[data-tab=main] .resources .commodities > label .number, .sheet.kingdom .tab.active[data-tab=main] .resources .commodities > div .number,
.sheet.kingdom .tab.active[data-tab=main] .resources .commodities input[type=number] .number,
.sheet.kingdom .tab.active[data-tab=main] .resources .stats > label .number,
.sheet.kingdom .tab.active[data-tab=main] .resources .stats > div .number,
.sheet.kingdom .tab.active[data-tab=main] .resources .stats input[type=number] .number {
  display: inline-block;
  width: 3ch;
  text-align: center;
}
.sheet.kingdom .tab.active[data-tab=main] .resources .commodities .commodity {
  align-items: center;
  display: flex;
  gap: 0.25rem;
}
.sheet.kingdom .tab.active[data-tab=main] .resources .commodities .commodity .type {
  width: 4.25rem;
}
.sheet.kingdom .tab.active[data-tab=main] .resources .commodities .commodity .value-max {
  align-items: center;
  display: flex;
  gap: 0.125rem;
  flex: 1;
}
.sheet.kingdom .tab.active[data-tab=main] .resources .commodities .commodity .value-max input {
  width: 2ch;
}
.sheet.kingdom .tab.active[data-tab=main] .resources .stats {
  justify-self: end;
  text-align: end;
}
.sheet.kingdom .tab.active[data-tab=main] .ability-scores {
  grid-area: abilities;
  flex: 0;
}
.sheet.kingdom .tab.active[data-tab=main] .ability-scores input {
  height: auto;
}
.sheet.kingdom .tab.active[data-tab=main] .ability-scores .ability {
  display: flex;
  flex-direction: row;
  align-items: end;
  width: 100%;
}
.sheet.kingdom .tab.active[data-tab=main] .ability-scores .ability:not(:last-child) {
  margin-bottom: 0.375rem;
}
.sheet.kingdom .tab.active[data-tab=main] .ability-scores .ability .score {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--paper-bg);
  box-shadow: var(--drop-shadow);
  width: 4.5rem;
  text-align: center;
  padding: 0.375rem 0;
  z-index: 1;
}
.sheet.kingdom .tab.active[data-tab=main] .ability-scores .ability .score .value {
  font-size: var(--font-size-20);
}
.sheet.kingdom .tab.active[data-tab=main] .ability-scores .ability .corruption-section {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  box-shadow: var(--drop-shadow);
}
.sheet.kingdom .tab.active[data-tab=main] .ability-scores .ability .corruption-section > .stat {
  display: flex;
  flex-direction: column;
  text-align: center;
  flex: 1;
}
.sheet.kingdom .tab.active[data-tab=main] .ability-scores .ability .corruption-section .ruin-value {
  display: flex;
  gap: 2px;
  justify-content: center;
}
.sheet.kingdom .tab.active[data-tab=main] .ability-scores .ability .corruption-section .ruin-value input {
  width: 3ch;
}
.sheet.kingdom .tab.active[data-tab=main] .ability-scores .ability .corruption-section .progress {
  flex-basis: 100%;
  margin: 0;
  padding: 0;
  height: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  margin-top: 0.125rem;
  background: #ddd;
}
.sheet.kingdom .tab.active[data-tab=main] .ability-scores .ability .corruption-section .progress::after {
  display: block;
  content: " ";
  background-color: var(--color-border-highlight-alt);
  width: calc(100% * var(--value) / var(--max));
  max-width: 100%;
  height: 100%;
}
.sheet.kingdom .tab.active[data-tab=activities] {
  display: flex;
  flex-direction: row;
  padding: 0 1rem;
  height: 100%;
}
.sheet.kingdom .tab.active[data-tab=activities] .skills,
.sheet.kingdom .tab.active[data-tab=activities] .actions {
  display: flex;
  height: 100%;
  flex-direction: column;
}
.sheet.kingdom .tab.active[data-tab=activities] .skill-list,
.sheet.kingdom .tab.active[data-tab=activities] .actions-list {
  overflow: hidden scroll;
  margin-bottom: 0.25rem;
}
.sheet.kingdom .tab.active[data-tab=activities] .skills {
  padding-right: 0.5rem;
}
.sheet.kingdom .tab.active[data-tab=activities] .skills .control-dc {
  align-items: center;
  background: var(--paper-bg);
  box-shadow: var(--drop-shadow);
  display: flex;
  gap: 8px;
  margin: 0.5rem 0;
}
.sheet.kingdom .tab.active[data-tab=activities] .skills .control-dc .mod {
  color: var(--secondary);
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.25em;
  font-weight: bold;
  min-width: 3rem;
  text-align: right;
}
.sheet.kingdom .tab.active[data-tab=activities] .skills .skill {
  display: flex;
  align-items: center;
  padding: 1px 0;
  padding-right: 0.5rem;
  gap: 8px;
}
.sheet.kingdom .tab.active[data-tab=activities] .skills .skill .mod {
  display: flex;
  color: var(--primary);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25em;
  line-height: 1em;
  min-width: 3rem;
  padding: 3px 0;
}
.sheet.kingdom .tab.active[data-tab=activities] .skills .skill .mod i {
  color: var(--text-dark);
  font-size: 0.8em;
  margin-right: 2px;
}
.sheet.kingdom .tab.active[data-tab=activities] .skills .skill .name {
  flex: 1;
  color: var(--alt-dark);
}
.sheet.kingdom .tab.active[data-tab=activities] .skills .skill .name.selected {
  color: var(--text-dark);
  font-weight: 600;
}
.sheet.kingdom .tab.active[data-tab=activities] .skills .skill:not(:last-child) {
  border-bottom: 1px solid var(--color-divider);
}
.sheet.kingdom .tab.active[data-tab=activities] .skills .skill .button-group {
  display: flex;
  padding-left: 0.25rem;
}
.sheet.kingdom .tab.active[data-tab=activities] .skills .skill .button-group .proficiency {
  min-width: 11ch;
}
.sheet.kingdom .tab.active[data-tab=activities] .skills .skill .button-group .small-button {
  flex: 0;
}
.sheet.kingdom .tab.active[data-tab=activities] .actions {
  flex: 1;
}
.sheet.kingdom .tab.active[data-tab=activities] .actions header .filters {
  float: right;
  margin: -0.125rem 0 0.125rem auto;
}
.sheet.kingdom .tab.active[data-tab=activities] .actions header .filters .choice {
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease-in-out;
}
.sheet.kingdom .tab.active[data-tab=activities] .actions header .filters .choice.active {
  opacity: 1;
}
.sheet.kingdom .tab.active[data-tab=activities] .actions header .filters .choice:hover {
  box-shadow: 0 0 5px var(--primary);
}
.sheet.kingdom .tab.active[data-tab=activities] .actions .phase-summary {
  background: var(--paper-bg);
  box-shadow: var(--drop-shadow);
  margin: 0 12px 0.5rem 2px;
  padding: 0.25rem 0.5rem;
}
.sheet.kingdom .tab.active[data-tab=activities] .actions .phase-summary header {
  font-size: 1.2em;
  font-weight: bold;
  color: var(--color-text-dark-input);
  margin-top: 0.25rem;
}
.sheet.kingdom .tab.active[data-tab=activities] .actions .action {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  padding: 4px;
  width: 100%;
  gap: 0 0.5rem;
  padding-right: 0.5rem;
}
.sheet.kingdom .tab.active[data-tab=activities] .actions .action:not(:last-child) {
  border-bottom: 1px solid var(--color-divider);
}
.sheet.kingdom .tab.active[data-tab=activities] .actions .action .item-name {
  align-items: center;
  cursor: pointer;
  display: flex;
  flex: 1;
}
.sheet.kingdom .tab.active[data-tab=activities] .actions .action .item-summary {
  flex-basis: 100%;
  margin-bottom: 0.5rem;
}
.sheet.kingdom .tab.active[data-tab=activities] .actions .action .item-summary .tags {
  display: none;
}
.sheet.kingdom .tab.active[data-tab=activities] .actions .action .tags {
  margin-left: 0.25rem;
}
.sheet.kingdom .tab.active[data-tab=world] input[type=text],
.sheet.kingdom .tab.active[data-tab=world] input[type=number] {
  border: none;
  height: 1.5em;
  line-height: 1.5em;
}
.sheet.kingdom .tab.active[data-tab=world] .sidebar {
  background: var(--paper-bg);
  flex: 0 0 13.5rem;
  margin-right: 0.5rem;
  overflow: hidden scroll;
  padding: 0.5rem;
}
.sheet.kingdom .tab.active[data-tab=world] .sidebar input[type=number] {
  width: 3ch;
  text-align: center;
  padding: 0;
}
.sheet.kingdom .tab.active[data-tab=world] .sidebar section .row,
.sheet.kingdom .tab.active[data-tab=world] .sidebar section label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.sheet.kingdom .tab.active[data-tab=world] .sidebar .work-sites .value span {
  min-width: 7rem;
}
.sheet.kingdom .tab.active[data-tab=world] .sidebar .army-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.sheet.kingdom .tab.active[data-tab=world] .sidebar .armies {
  display: flex;
  flex-direction: column;
}
.sheet.kingdom .tab.active[data-tab=world] .sidebar .army {
  align-items: center;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
}
.sheet.kingdom .tab.active[data-tab=world] .sidebar .army .content-link {
  background: none;
  border: none;
  text-overflow: ellipsis;
  overflow: hidden;
}
.sheet.kingdom .tab.active[data-tab=world] .content {
  padding: 0.5rem;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 1rem;
  padding: 0.25rem 0.25rem 0.25rem 0;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement:not(.expanded, :last-child) {
  border-bottom: 1px solid var(--color-divider);
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .item-name {
  flex: 1;
  display: flex;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .item-name h4 {
  cursor: pointer;
  min-height: 1em;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .item-name .level {
  display: flex;
  align-items: center;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .item-name .level input[type=number] {
  width: 3ch;
  text-align: center;
  padding: 0;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .item-name .name {
  flex: 1;
  font-size: var(--font-size-16);
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .item-name select {
  margin-left: 2rem;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .item-name .level {
  font-size: var(--font-size-16);
  margin-left: 0.5rem;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .item-name .level input {
  width: 3ch;
  text-align: center;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .item-summary {
  flex-basis: 100%;
  background: var(--paper-bg);
  box-shadow: var(--drop-shadow);
  margin-top: 0.5rem;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .item-summary .settlement-data {
  display: flex;
  justify-content: space-between;
  margin: 0 0.125rem 0 0;
  border-bottom: 1px solid var(--color-divider);
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .item-summary .settlement-data > section {
  flex: 1 0 auto;
  padding: 0.5rem;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .item-summary .settlement-data > section + section {
  border-left: 1px solid var(--color-divider);
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .item-summary .settlement-data input[type=number] {
  width: 3ch;
  text-align: center;
  padding: 0;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .item-summary .settlement-data input[type=checkbox] {
  margin: 0;
  width: 1rem;
  height: 1rem;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .item-summary .settlement-data label,
.sheet.kingdom .tab.active[data-tab=world] .settlement .item-summary .settlement-data div.value {
  align-items: center;
  display: flex;
  gap: 0.25rem;
  line-height: 1.5em;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .item-summary .settlement-data .stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .item-summary .settlement-data .storage-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 0.25rem;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .item-summary .settlement-data .storage-items label {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .item-summary > .details {
  padding: 0.5rem;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor {
  min-height: 2rem;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content {
  --space-s: 0.25em;
  --space-m: 0.5em;
  --space-l: 1em;
  --space-xl: 1.5em;
  --space-2xl: 2em;
  --radius: 3px;
  padding: 0 var(--space-4);
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content :is(h1, h2, h3, h4, h5, h6):not(:first-child) {
  margin-top: 1em;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .inline-header {
  display: flex;
  align-items: center;
  gap: var(--space-l);
  background-color: var(--alt);
  font-family: var(--sans-serif);
  color: var(--text-light);
  padding: 0;
  font-size: 0.8em;
  font-weight: 400;
  border: none;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .inline-header strong {
  display: inline-flex;
  padding: 0 var(--space-m);
  background-color: var(--primary);
  min-width: 15ch;
  border-right: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  font-weight: 400;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .inline-header + p {
  margin-top: var(--space-s);
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .info {
  background-color: var(--secondary);
  padding: var(--space-m);
  color: var(--text-light);
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  border-radius: var(--radius);
  font-family: var(--sans-serif);
  padding-bottom: var(--space-m);
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .info > * + * {
  margin-top: var(--space-m);
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .info + * {
  margin-top: var(--space-xl);
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .info + .sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .info {
  margin-top: var(--space-s);
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .info h4 {
  font-size: 0.9em;
  font-weight: 400;
  line-height: 1.2;
  font-family: var(--sans-serif);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  padding: var(--space-m) var(--space-l);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-light);
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .info h4::after {
  font-family: "Font Awesome 6";
  content: "\f05a";
  font-weight: 900;
  margin-right: var(--space-s);
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .info p,
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .info span {
  font-size: 0.8em;
  margin: 0;
  padding: 0 var(--space-l);
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .info p:first-of-type,
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .info span:first-of-type {
  padding-top: var(--space-m);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .traits {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .traits p,
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .traits span {
  display: inline-flex;
  padding: 0.16rem 0.25rem;
  margin: 0;
  background-color: var(--primary);
  border: 2px solid var(--color-border-trait);
  color: var(--text-light);
  font: 500 var(--font-size-10) var(--sans-serif);
  text-transform: uppercase;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .statblock {
  font-family: var(--sans-serif-condensed);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: var(--space-m);
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .statblock > * + * {
  margin-top: var(--space-s);
  margin-bottom: 0;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .statblock p {
  --indent: var(--space-l);
  margin-left: var(--indent);
  position: relative;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .statblock p strong:first-of-type {
  margin-left: calc(var(--indent) * -1);
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .statblock p .trait:first-of-type {
  margin-left: calc(var(--indent) * -1 - 2px);
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .statblock span.pf2-icon {
  line-height: 1;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .statblock h1,
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .statblock h2,
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .statblock h3,
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .statblock h4 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border-dark);
  text-transform: uppercase;
  letter-spacing: -0.05em;
  font-family: var(--sans-serif-condensed);
  font-weight: 700;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .statblock hr {
  border: none;
  border-bottom: 1px solid var(--color-border-dark);
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor .editor-content .message {
  font-family: var(--journal-cursive);
  font-size: 2em;
  line-height: 1.2;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor.prosemirror {
  min-height: 15rem;
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor.prosemirror .editor-container {
  margin: var(--space-4) 0;
}
.sheet.kingdom .tab.active[data-tab=features] .content {
  padding: 0.5rem 0.75rem 1rem 0.75rem;
  font-family: var(--body-serif);
}
.sheet.kingdom .tab.active[data-tab=features] .feat-section {
  padding-bottom: 1em;
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list {
  padding-left: 0;
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot {
  align-items: center;
  display: grid;
  grid: "name ctrl" min-content "content content" min-content/1fr min-content;
  padding: var(--space-5) 0 var(--space-4);
  position: relative;
  row-gap: var(--space-2);
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot:nth-child(odd) {
  background-color: rgba(120, 100, 82, 0.1);
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot .item-name,
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot .item-controls {
  margin: 0;
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot .item-name {
  align-items: center;
  display: flex;
  gap: var(--space-8);
  grid-area: name;
  flex: 1;
  height: var(--font-size-25);
  width: 100%;
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot .item-name .feat-slot-title {
  display: flex;
  font: 600 var(--font-size-15) var(--serif);
  color: var(--color-pf-secondary);
  justify-content: center;
  width: 1.25rem;
  margin-left: var(--space-6);
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot .item-name .item-placeholder {
  margin-left: 40px;
  margin-right: 4px;
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot .item-name h4 {
  display: inline-flex;
  max-width: 20rem;
  margin: 0;
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot .item-name h4:hover {
  color: var(--color-pf-primary);
  text-shadow: 0 0 3px var(--color-pf-tertiary);
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot .item-name h4 a {
  font-size: var(--font-size-13);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot .item-controls {
  align-items: center;
  display: flex;
  font-size: var(--font-size-12);
  grid-area: ctrl;
  height: 100%;
  white-space: nowrap;
  width: 100%;
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot .item-controls a:last-child {
  margin-right: 6px;
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot .item-summary {
  grid-area: content;
  padding: 0 var(--space-4);
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot .item-summary .tags:has(.tag) {
  padding: var(--space-6) 0 0;
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot .item-summary .level {
  font-weight: 600;
  position: absolute;
  right: 3rem;
  top: var(--space-8);
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot > .item-summary {
  margin-left: 1.75rem;
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot ol.nested-items {
  grid-column: span 2;
  border-left: 3px dotted var(--alt);
  display: flex;
  margin: 1px 0 0 45px;
  padding: 0;
  flex-basis: 100%;
  flex-direction: column;
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot ol.nested-items li {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 2px 0;
  padding-bottom: 1px;
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot ol.nested-items li:last-child {
  padding-bottom: 0;
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot ol.nested-items li .item-name .feat-slot-title {
  width: 0;
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot ol.nested-items li .item-name img {
  margin-left: 0;
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot ol.nested-items li .item-controls {
  flex: 0;
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot ol.nested-items li ol.nested-items {
  margin-left: 25px;
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot .build-entry-boosts {
  font-family: var(--font-primary);
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot .build-entry-boosts section {
  align-items: center;
  display: flex;
  gap: 4px;
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot .build-entry-boosts section .abilities {
  display: flex;
  gap: 3px;
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot .build-entry-boosts strong {
  line-height: 1.5em;
}
.sheet.kingdom .tab.active[data-tab=features] ol.feats-list li.slot .build-entry-boosts .tag {
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3);
  line-height: unset;
  padding: 0.15em;
  font-size: 0.9em;
}
.sheet.kingdom .tab.active[data-tab=ongoing] {
  padding: 0.75rem;
  gap: 1rem;
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-dc {
  display: flex;
  gap: 1ch;
  background: var(--paper-bg);
  box-shadow: var(--drop-shadow);
  line-height: 1.5em;
  padding: 0.5rem 1rem;
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-dc,
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-dc input {
  font-size: var(--font-size-18);
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-dc input {
  width: 3ch;
  background: none;
  border: none;
  padding: 0;
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-dc .dc {
  margin-left: auto;
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details {
  background: var(--paper-bg);
  box-shadow: var(--drop-shadow);
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0.5rem;
  overflow: auto;
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor {
  flex: 1;
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content {
  --space-s: 0.25em;
  --space-m: 0.5em;
  --space-l: 1em;
  --space-xl: 1.5em;
  --space-2xl: 2em;
  --radius: 3px;
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content :is(h1, h2, h3, h4, h5, h6):not(:first-child) {
  margin-top: 1em;
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .inline-header {
  display: flex;
  align-items: center;
  gap: var(--space-l);
  background-color: var(--alt);
  font-family: var(--sans-serif);
  color: var(--text-light);
  padding: 0;
  font-size: 0.8em;
  font-weight: 400;
  border: none;
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .inline-header strong {
  display: inline-flex;
  padding: 0 var(--space-m);
  background-color: var(--primary);
  min-width: 15ch;
  border-right: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  font-weight: 400;
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .inline-header + p {
  margin-top: var(--space-s);
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .info {
  background-color: var(--secondary);
  padding: var(--space-m);
  color: var(--text-light);
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  border-radius: var(--radius);
  font-family: var(--sans-serif);
  padding-bottom: var(--space-m);
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .info > * + * {
  margin-top: var(--space-m);
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .info + * {
  margin-top: var(--space-xl);
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .info + .sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .info {
  margin-top: var(--space-s);
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .info h4 {
  font-size: 0.9em;
  font-weight: 400;
  line-height: 1.2;
  font-family: var(--sans-serif);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  padding: var(--space-m) var(--space-l);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-light);
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .info h4::after {
  font-family: "Font Awesome 6";
  content: "\f05a";
  font-weight: 900;
  margin-right: var(--space-s);
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .info p,
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .info span {
  font-size: 0.8em;
  margin: 0;
  padding: 0 var(--space-l);
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .info p:first-of-type,
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .info span:first-of-type {
  padding-top: var(--space-m);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .traits {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .traits p,
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .traits span {
  display: inline-flex;
  padding: 0.16rem 0.25rem;
  margin: 0;
  background-color: var(--primary);
  border: 2px solid var(--color-border-trait);
  color: var(--text-light);
  font: 500 var(--font-size-10) var(--sans-serif);
  text-transform: uppercase;
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .statblock {
  font-family: var(--sans-serif-condensed);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: var(--space-m);
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .statblock > * + * {
  margin-top: var(--space-s);
  margin-bottom: 0;
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .statblock p {
  --indent: var(--space-l);
  margin-left: var(--indent);
  position: relative;
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .statblock p strong:first-of-type {
  margin-left: calc(var(--indent) * -1);
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .statblock p .trait:first-of-type {
  margin-left: calc(var(--indent) * -1 - 2px);
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .statblock span.pf2-icon {
  line-height: 1;
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .statblock h1,
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .statblock h2,
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .statblock h3,
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .statblock h4 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border-dark);
  text-transform: uppercase;
  letter-spacing: -0.05em;
  font-family: var(--sans-serif-condensed);
  font-weight: 700;
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .statblock hr {
  border: none;
  border-bottom: 1px solid var(--color-border-dark);
}
.sheet.kingdom .tab.active[data-tab=ongoing] .events .event-details .editor-content .message {
  font-family: var(--journal-cursive);
  font-size: 2em;
  line-height: 1.2;
}
.sheet.kingdom .tab.active[data-tab=ongoing] section.effects {
  width: 18rem;
}
.sheet.kingdom .tab.active[data-tab=ongoing] section.effects > header {
  margin-top: 0;
}
.sheet.kingdom .tab.active[data-tab=ongoing] section.effects .effects-list {
  gap: 0.2em;
}
.sheet.kingdom .tab.active[data-tab=ongoing] section.effects .effects-list .item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 2px 12px;
  width: 100%;
}
.sheet.kingdom .tab.active[data-tab=ongoing] section.effects .effects-list .item p:empty {
  display: none;
}
.sheet.kingdom .tab.active[data-tab=ongoing] section.effects .effects-list .item .item-name {
  display: flex;
  align-items: center;
  flex: 1;
}
.sheet.kingdom .tab.active[data-tab=ongoing] section.effects .effects-list .item .item-name h4 {
  cursor: pointer;
  margin: 0;
}
.sheet.kingdom .tab.active[data-tab=ongoing] section.effects .effects-list .item .item-name .item-image {
  margin-right: 8px;
}
.sheet.kingdom .tab.active[data-tab=ongoing] section.effects .effects-list .item .item-controls {
  display: flex;
  flex: 0;
  font-size: var(--font-size-12);
  gap: 1px;
  white-space: nowrap;
}
.sheet.kingdom .tab.active[data-tab=ongoing] section.effects .effects-list .item .item-controls a.info-only:hover {
  cursor: default;
  text-shadow: none;
}
.sheet.kingdom .tab.active[data-tab=ongoing] section.effects .effects-list .item .item-controls a + a {
  margin-left: 4px;
}
.sheet.kingdom .tab.active[data-tab=ongoing] section.effects .effects-list .item .item-summary {
  flex-basis: 100%;
}
.sheet.kingdom .tab.active[data-tab=ongoing] section.effects .effects-list .item.unidentified {
  border-radius: 1px;
  outline: 1px dotted rgba(75, 74, 68, 0.5);
  background: var(--visibility-gm-bg);
}
.sheet.kingdom .tab.active[data-tab=ongoing] section.effects .effects-list .item .button-group {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  width: 50%;
  flex: 0;
}
.sheet.kingdom .tab.active[data-tab=ongoing] section.effects .effects-list .item .button-group button {
  margin: 0;
  border: none;
  cursor: pointer;
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  padding: 5px;
  color: var(--text-light);
  width: 70px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  background: var(--secondary);
  border-radius: 2px;
  flex: 0;
  white-space: nowrap;
  margin-left: 4px;
  flex: 0;
}
.sheet.kingdom .tab.active[data-tab=ongoing] section.effects .effects-list .item .button-group button:hover {
  box-shadow: none;
  text-shadow: 0 0 2px white;
}
.sheet.kingdom .tab.active[data-tab=ongoing] section.effects .effects-list .item {
  padding-left: 0;
}

.sheet.kingdom-builder .window-content {
  padding: 0;
  overflow: hidden;
}
.sheet.kingdom-builder h3 {
  font-family: var(--sans-serif);
}
.sheet.kingdom-builder form {
  display: flex;
  flex-direction: column;
  background: url("../assets/sheet/background.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: local;
}
.sheet.kingdom-builder form > nav {
  display: flex;
  font-family: var(--serif-condensed);
  font-size: var(--font-size-22);
  margin-top: 0.125rem;
  align-items: flex-end;
  width: 100%;
}
.sheet.kingdom-builder form > nav a {
  border-radius: 3px 3px 0 0;
  padding: 0.25rem 0.5rem;
  white-space: nowrap;
  flex: 1;
  text-align: center;
  position: relative;
}
.sheet.kingdom-builder form > nav a:not(.active) {
  margin-top: 1px;
  border-bottom: 1px solid var(--alt-dark);
}
.sheet.kingdom-builder form > nav a.active {
  border: 1px solid var(--alt-dark);
  border-bottom-color: transparent;
  margin-left: -1px;
  margin-right: -1px;
}
.sheet.kingdom-builder form > nav a .complete {
  font-size: 0.8em;
}
.sheet.kingdom-builder form > nav:before, .sheet.kingdom-builder form > nav:after {
  content: "";
  width: 0.25rem;
  border-bottom: 1px solid var(--alt-dark);
}
.sheet.kingdom-builder .container {
  height: 100%;
  overflow: hidden;
}
.sheet.kingdom-builder .tab.active {
  display: flex;
  flex: 1;
}
.sheet.kingdom-builder button.complete {
  color: var(--text-light);
  background: var(--secondary);
  height: 35px;
  width: 131px;
  border: 1px solid var(--tertiary);
}
.sheet.kingdom-builder button.complete:disabled {
  background: var(--sub);
  pointer-events: none;
  opacity: 0.75;
}
.sheet.kingdom-builder .build-element {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sheet.kingdom-builder .build-element .choices {
  display: flex;
  margin: 0.5rem 0.25rem;
}
.sheet.kingdom-builder .build-element .choices .choice {
  display: flex;
  cursor: pointer;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  margin: 0.5rem 0;
  text-align: center;
  white-space: nowrap;
}
.sheet.kingdom-builder .build-element .choices .choice img {
  border-radius: 3px;
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}
.sheet.kingdom-builder .build-element .choices .choice:hover {
  text-shadow: 0 0 8px var(--color-shadow-primary);
}
.sheet.kingdom-builder .build-element .choices .choice:hover img {
  box-shadow: 0 0 8px var(--color-shadow-primary);
}
.sheet.kingdom-builder .build-element .build-entry-boosts {
  font-family: var(--font-primary);
}
.sheet.kingdom-builder .build-element .build-entry-boosts section {
  align-items: center;
  display: flex;
  gap: 4px;
}
.sheet.kingdom-builder .build-element .build-entry-boosts section .abilities {
  display: flex;
  gap: 3px;
}
.sheet.kingdom-builder .build-element .build-entry-boosts strong {
  line-height: 1.5em;
}
.sheet.kingdom-builder .build-element .build-entry-boosts .tag {
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3);
  line-height: unset;
  padding: 0.15em;
  font-size: 0.9em;
}
.sheet.kingdom-builder .build-element .selection {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin: 0.5rem;
}
.sheet.kingdom-builder .build-element .selection .text {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}
.sheet.kingdom-builder .build-element .selection .text h3 {
  display: flex;
  justify-content: space-between;
}
.sheet.kingdom-builder .build-element .selection .text .description {
  overflow-y: auto;
  overflow-x: hidden;
  height: 8rem;
}
.sheet.kingdom-builder .build-element .selection footer {
  display: flex;
  width: 100%;
  align-items: end;
  min-height: 4.5em;
}
.sheet.kingdom-builder .build-element .selection footer .build-entry-boosts {
  flex: 1;
}
.sheet.kingdom-builder .build-element .selection footer button {
  flex: 0;
  white-space: nowrap;
}
.sheet.kingdom-builder .build-element .selection a[disabled] {
  opacity: 0.7;
  cursor: unset;
  text-shadow: unset;
}
.sheet.kingdom-builder .build-element .selection {
  padding: 0.5rem;
  background-color: #eee;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}
.sheet.kingdom-builder .ability-builder {
  padding: 6px;
  width: 100%;
}
.sheet.kingdom-builder .ability-builder h3 {
  font: 400 var(--font-size-24) var(--serif-condensed);
  line-height: var(--font-size-24);
}
.sheet.kingdom-builder .ability-builder h4 {
  font: 400 var(--font-size-10) var(--sans-serif);
  text-transform: uppercase;
  color: #605856;
}
.sheet.kingdom-builder .ability-builder button:focus:not(:focus-visible) {
  box-shadow: none;
}
.sheet.kingdom-builder .ability-builder .row {
  display: flex;
  align-items: center;
}
.sheet.kingdom-builder .ability-builder .row .row-heading {
  width: 220px;
}
.sheet.kingdom-builder .ability-builder .row.not-eligible {
  pointer-events: none;
  filter: blur(1px);
  opacity: 0.6;
}
.sheet.kingdom-builder .ability-builder .row.not-eligible .remaining {
  visibility: hidden;
}
.sheet.kingdom-builder .ability-builder .row .abilities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  flex: 1;
}
.sheet.kingdom-builder .ability-builder .row .full-row {
  display: flex;
  flex: 1;
  justify-content: center;
}
.sheet.kingdom-builder .ability-builder header.row {
  align-items: normal;
  padding-top: 10px;
  margin-bottom: 0.5rem;
}
.sheet.kingdom-builder .ability-builder header.row .row-column {
  display: block;
}
.sheet.kingdom-builder .ability-builder header.row .abilities {
  align-items: normal;
}
.sheet.kingdom-builder .ability-builder .row-heading {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  grid-template-areas: "img description remaining";
  align-items: center;
}
.sheet.kingdom-builder .ability-builder .row-heading h3 {
  grid-column: 1/4;
  align-self: start;
  font-size: var(--font-size-24);
}
.sheet.kingdom-builder .ability-builder .row-heading .hint-container {
  grid-column: 1/4;
}
.sheet.kingdom-builder .ability-builder .row-heading img {
  grid-area: img;
  border: 0;
}
.sheet.kingdom-builder .ability-builder .row-heading div.label {
  grid-area: description;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-right: 10px;
}
.sheet.kingdom-builder .ability-builder .row-heading div.remaining {
  grid-area: remaining;
  display: flex;
  margin-right: 10px;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: rgba(68, 55, 48, 0.1);
  align-self: center;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.sheet.kingdom-builder .ability-builder .row-heading div.remaining.extra {
  animation: glow 0.75s infinite alternate;
}
@keyframes glow {
  from {
    box-shadow: 0 0 1px 1px #ffb351;
  }
  to {
    box-shadow: 0 0 3px 3px #ffb351;
  }
}
.sheet.kingdom-builder .ability-builder .row-column {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.sheet.kingdom-builder .ability-builder .row-column button {
  align-items: center;
  border: 1px solid var(--button-color);
  color: var(--button-color);
  display: flex;
  font-size: var(--font-size-12);
  justify-content: space-around;
  outline: none;
  margin: 0;
  padding: 0.1em 0 0;
  position: relative;
  text-transform: uppercase;
  width: 6em;
  height: 1.5em;
}
.sheet.kingdom-builder .ability-builder .row-column button.boost {
  margin-top: auto;
  --button-color: #316549;
  --button-locked-color: #1b3c2a;
}
.sheet.kingdom-builder .ability-builder .row-column button.flaw {
  margin-bottom: auto;
  --button-color: #5e0000;
  --button-locked-color: #5e0000;
}
.sheet.kingdom-builder .ability-builder .row-column button:disabled {
  pointer-events: none;
  background: rgba(0, 0, 0, 0.04);
  opacity: 0.4;
}
.sheet.kingdom-builder .ability-builder .row-column button.selected {
  background: var(--button-color);
}
.sheet.kingdom-builder .ability-builder .row-column button:hover {
  cursor: pointer;
  box-shadow: 0 0 5px var(--button-color);
}
.sheet.kingdom-builder .ability-builder .row-column button:hover.key-ability.selected {
  box-shadow: none;
  cursor: default;
}
.sheet.kingdom-builder .ability-builder .row-column button:hover:disabled {
  background: rgba(0, 0, 0, 0.04);
  box-shadow: none;
  cursor: not-allowed;
}
.sheet.kingdom-builder .ability-builder .row-column button i.fa-solid {
  font-size: var(--font-size-10);
  left: 0.5em;
  position: absolute;
  text-align: left;
}
.sheet.kingdom-builder .ability-builder .row-column button.hidden {
  pointer-events: none;
  visibility: hidden;
}
.sheet.kingdom-builder .ability-builder .row-column button.locked {
  pointer-events: none;
  background: var(--button-locked-color);
  border-color: var(--button-locked-color);
}
.sheet.kingdom-builder .ability-builder .row-column button.locked, .sheet.kingdom-builder .ability-builder .row-column button.selected {
  color: var(--text-light);
}
.sheet.kingdom-builder .ability-builder .row-column div + .boost,
.sheet.kingdom-builder .ability-builder .row-column button + .boost {
  margin-top: 4px;
}
.sheet.kingdom-builder .ability-builder .summary-row .row-heading {
  display: block;
}
.sheet.kingdom-builder .ability-builder .summary-row .hint-container {
  background: rgba(211, 204, 188, 0.4);
  padding: 12px;
  margin-right: 10px;
  border: 1px solid rgb(211, 204, 188);
  border-radius: 3px;
  align-self: end;
}
.sheet.kingdom-builder .ability-builder .summary-row .hint-container h3 {
  color: var(--primary);
  font-variant: small-caps;
  font-size: var(--font-size-20);
  line-height: var(--font-size-16);
  font-family: var(--sans-serif-condensed);
  font-weight: 500;
}
.sheet.kingdom-builder .ability-builder .summary-row .hint-container p {
  font-style: italic;
  font-size: var(--font-size-12);
  line-height: var(--font-size-14);
  font-family: var(--sans-serif);
  font-weight: 500;
  margin-bottom: 3px;
}
.sheet.kingdom-builder .ability-builder .summary-row .hint-container label {
  display: flex;
  align-items: center;
  margin-top: 8px;
}
.sheet.kingdom-builder .ability-builder .summary-row .hint-container .aspiration {
  display: flex;
  gap: 8px;
}
.sheet.kingdom-builder .ability-builder .summary-row .hint-container .aspiration select {
  flex: 1;
}
.sheet.kingdom-builder .ability-builder .summary-row .abilities {
  grid-template-rows: auto auto;
}
.sheet.kingdom-builder .ability-builder .summary-row .row-column {
  display: flex;
  flex-direction: column;
  padding-top: 10px;
}
.sheet.kingdom-builder .ability-builder .summary-row .row-column .value {
  height: 40px;
  font: 700 var(--font-size-24) var(--serif);
  line-height: var(--font-size-30);
}
.sheet.kingdom-builder .ability-builder .summary-row .row-column input {
  width: calc(100% - 20px);
  flex-grow: 0;
  height: 30px;
  color: var(--text-dark);
  font: 500 var(--font-size-24) var(--serif);
  border: 0;
  border-bottom: 1px solid #d3ccbc;
  border-radius: 0;
  background-color: transparent;
  margin: 0 10px 10px 10px;
  text-align: center;
}
.sheet.kingdom-builder .ability-builder .summary-row .row-column input::placeholder {
  filter: opacity(0.5);
}
.sheet.kingdom-builder .ability-builder .summary-row .row-column input:focus {
  border-bottom: 1px solid var(--alt);
}
.sheet.kingdom-builder .ability-builder .summary-row .row-column input[type=number] {
  padding-bottom: 0;
  padding-left: 4px;
}
.sheet.kingdom-builder .ability-builder .summary-row div.complete {
  grid-row: 2;
  grid-column: 1/7;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin-top: 10px;
  margin-left: auto;
}
.sheet.kingdom-builder .ability-builder .title {
  color: var(--primary);
  font: 500 var(--font-size-10) var(--sans-serif-condensed);
  line-height: var(--font-size-10);
  text-transform: uppercase;
}
.sheet.kingdom-builder .ability-builder .description {
  font: 600 var(--font-size-16) var(--serif);
}
.sheet.kingdom-builder .ability-builder .extra {
  display: flex;
  align-items: center;
  font-size: var(--font-size-12);
  margin-top: -0.25rem;
}
.sheet.kingdom-builder .ability-builder .extra i.fa-solid {
  margin-left: 0.125rem;
}
.sheet.kingdom-builder .ability-builder .extra input[type=checkbox] {
  height: var(--font-size-12);
  margin: 0;
}

.pf2e.chat-card.kingdom {
  --color-confirmation: #2c4f0d;
}
.pf2e.chat-card.kingdom .confirmation {
  align-items: center;
  color: var(--color-confirmation);
  display: flex;
  border: 1px dashed var(--color-confirmation);
  font-size: 1.2em;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.25rem 0;
}

.sheet.army form {
  display: grid;
  grid-template: "header header" min-content "sidebar content" 1fr/min-content 1fr;
  overflow: hidden;
  background: url("../assets/sheet/background.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: local;
}
.sheet.army form input[type=text],
.sheet.army form input[type=number] {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid transparent;
  padding: 0 4px;
}
.sheet.army form input[type=text]:hover:not(:disabled), .sheet.army form input[type=text]:focus,
.sheet.army form input[type=number]:hover:not(:disabled),
.sheet.army form input[type=number]:focus {
  border: 1px solid black;
  box-shadow: 0 0 10px #00005a;
}
.sheet.army form input.adjusted-higher {
  color: var(--color-pf-text-adjusted-higher);
}
.sheet.army form input.adjusted-lower {
  color: var(--color-pf-text-adjusted-lower);
}
.sheet.army form > header {
  background: url("../assets/sheet/header-bw.webp"), url("../assets/sheet/background.webp");
  background-repeat: repeat-x, no-repeat;
  background-size: cover;
  background-color: #d9d3d2;
  background-blend-mode: multiply;
  color: var(--text-light);
  align-items: center;
  display: flex;
  grid-area: header;
  gap: 0.5rem;
  min-height: 5.5rem;
  padding: 0 0.75rem;
}
.sheet.army form > header .frame {
  position: relative;
  width: 4rem;
  height: 4rem;
}
.sheet.army form > header .frame img {
  object-fit: cover;
  object-position: top;
  border: none;
  border-radius: 0;
  width: 4rem;
  height: 4rem;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 0 1px #918c88, 0 0 0 2px #e1d8cf, 0 0 0 3px #a98f39, inset 0 0 8px rgba(0, 0, 0, 0.5), 0 0 8px black;
}
.sheet.army form > header .details {
  display: grid;
  flex: 1;
  align-items: center;
  grid-template: "name level" min-content "traits alliance" min-content/1fr min-content;
}
.sheet.army form > header .details input[type=text],
.sheet.army form > header .details input[type=number] {
  color: var(--text-light);
  border: none;
  border-bottom: 1px solid transparent;
  padding: 0;
  height: unset;
}
.sheet.army form > header .details input[type=text]:hover, .sheet.army form > header .details input[type=text]:focus,
.sheet.army form > header .details input[type=number]:hover,
.sheet.army form > header .details input[type=number]:focus {
  border: none;
  border-bottom: 1px solid var(--text-light);
  box-shadow: none;
}
.sheet.army form > header .details input[type=text]::placeholder,
.sheet.army form > header .details input[type=number]::placeholder {
  color: #bbb;
  opacity: 0.4;
}
.sheet.army form > header .details .name {
  grid-area: name;
  font-family: var(--sans-serif-condensed);
  font-size: var(--font-size-30);
  font-weight: 700;
  width: 100%;
  max-width: calc(100% - 5.5rem);
  font-variant: small-caps;
  text-indent: 0.5rem;
  margin-right: 18px;
}
.sheet.army form > header .details .tags {
  grid-area: traits;
  padding: 0 0.5rem;
}
.sheet.army form > header .details .tags .alignment {
  background-color: #576293;
}
.sheet.army form > header .details .level-label {
  grid-area: level;
  align-self: end;
  display: block;
  font-family: var(--serif-condensed);
  font-size: var(--font-size-28);
  font-weight: 700;
  min-width: 9rem;
  text-align: right;
  text-transform: uppercase;
}
.sheet.army form > header .details .level-label input.level {
  width: 2ch;
  text-align: center;
  margin: 0 0.25rem;
}
.sheet.army form > header .details .alliance {
  grid-area: alliance;
  align-self: start;
  margin-right: 0.25rem;
  opacity: 0.8;
  text-align: right;
}
.sheet.army form > header .details .alliance i {
  font-size: 0.9em;
  margin-left: 0.5rem;
}
.sheet.army form > header .details .alliance .error {
  color: #ff5555;
}
.sheet.army form .army-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden scroll;
  padding: 0.75rem 0.25rem 0.5rem 0.5rem;
  width: 11rem;
}
.sheet.army form .army-sidebar input {
  flex: 0;
  min-width: 5ch;
  text-align: right;
}
.sheet.army form .army-sidebar input[type=checkbox] {
  font-size: var(--font-size-10);
  height: 12px;
  margin: 2px;
  padding: 0;
}
.sheet.army form .army-sidebar header {
  border-bottom: 1px solid var(--color-border-divider);
  color: var(--primary);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  line-height: 18px;
}
.sheet.army form .army-sidebar header input {
  text-align: right;
}
.sheet.army form .army-sidebar header h4 {
  font-size: var(--font-size-15);
  font-family: var(--serif);
  font-weight: 600;
  margin-bottom: 0px;
  padding-left: 4px;
  width: 100%;
  text-align: left;
}
.sheet.army form .army-sidebar > section > label,
.sheet.army form .army-sidebar > section .row {
  align-items: baseline;
  display: flex;
  gap: 0.25rem;
}
.sheet.army form .army-sidebar > section > label span:first-child,
.sheet.army form .army-sidebar > section .row span:first-child {
  flex: 1;
}
.sheet.army form .army-sidebar > section > label input,
.sheet.army form .army-sidebar > section .row input {
  width: 3em;
}
.sheet.army form .army-sidebar > section .gear {
  align-items: center;
  gap: 0.5rem;
}
.sheet.army form .army-sidebar > section .gear span.disabled {
  opacity: 0.4;
}
.sheet.army form .army-sidebar .saves {
  display: flex;
  font-size: var(--font-size-17);
  gap: 0.25rem;
}
.sheet.army form .army-sidebar .saves .save {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 0 0;
}
.sheet.army form .army-sidebar .saves .save label {
  font-weight: 600;
}
.sheet.army form .army-sidebar .saves .save input.modifier {
  text-align: center;
  z-index: 1;
}
.sheet.army form .army-sidebar .senses.tags {
  margin-top: 0.125rem;
  flex-direction: row-reverse;
}
.sheet.army form section.army-body {
  grid-area: content;
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0.5rem;
  overflow: auto;
  gap: 0.5rem;
}
.sheet.army form section.army-body fieldset {
  border: 1px solid var(--color-pf-primary);
  border-radius: 3px;
  padding: 0 0.75rem 0.5rem 0.75rem;
}
.sheet.army form section.army-body fieldset legend {
  align-items: baseline;
  color: var(--color-pf-primary);
  display: flex;
  font-size: var(--font-size-15);
  font-family: var(--serif);
  font-weight: 600;
  gap: 0.25rem;
  margin-bottom: -0.125rem;
}
.sheet.army form section.army-body fieldset legend .item-controls {
  margin-left: 0.125rem;
  font-size: 0.8em;
}
.sheet.army form section.army-body .toggles input[type=checkbox] {
  width: 1rem;
  height: 1rem;
}
.sheet.army form section.army-body .toggles > ul {
  list-style: none;
  padding-left: 0;
}
.sheet.army form section.army-body label {
  display: flex;
  align-items: center;
  position: relative;
}
.sheet.army form section.army-body .editor .editor-edit {
  display: none;
}
.sheet.army form section.army-body .editor.prosemirror {
  min-height: 8rem;
}
.sheet.army form section.army-body .weapons {
  display: flex;
  flex-direction: column;
}
.sheet.army form section.army-body .weapons .ammunition {
  display: flex;
  font-size: 0.9em;
  gap: 0.125rem;
  margin-left: 0.25rem;
}
.sheet.army form section.army-body .weapons .ammunition .pips {
  margin: 0 0.375rem;
}
.sheet.army form section.army-body .weapons .strike {
  align-items: center;
  display: flex;
  flex: 0;
  gap: 0.25rem;
  line-height: 1.5rem;
}
.sheet.army form section.army-body .weapons .strike input.name {
  flex: 1;
  text-indent: 0.25rem;
  height: 1.5rem;
}
.sheet.army form ol.item-list {
  list-style-type: none;
  padding: 0;
}
.sheet.army form ol.item-list li.item {
  align-items: center;
  display: flex;
  line-height: 1.5rem;
  flex-wrap: wrap;
}
.sheet.army form ol.item-list li.item:nth-child(odd) {
  background: rgba(180, 175, 175, 0.25);
}
.sheet.army form ol.item-list li.item.expanded {
  flex-wrap: wrap;
}
.sheet.army form ol.item-list li.item.expanded .tags {
  line-height: 1rem;
  padding: 0.5rem 0 0 0;
}
.sheet.army form ol.item-list li.item .item-icon {
  border-radius: 6px;
  border: none;
  height: 1.5rem;
  width: 1.5rem;
  position: relative;
}
.sheet.army form ol.item-list li.item .item-name {
  display: flex;
  flex: 1 1;
  font-weight: bold;
  gap: var(--space-4);
  margin: auto 0;
  width: 100%;
}
.sheet.army form ol.item-list li.item .item-name > :first-child {
  text-indent: 0.5rem;
}
.sheet.army form ol.item-list li.item .item-frequency {
  flex: 0.2 0 4rem;
  gap: 0.25rem;
  display: flex;
}
.sheet.army form ol.item-list li.item .item-frequency input {
  text-align: right;
}
.sheet.army form ol.item-list li.item .item-frequency input,
.sheet.army form ol.item-list li.item .item-frequency span {
  flex: 1;
  margin: auto;
}
.sheet.army form ol.item-list li.item .item-controls i {
  flex: 0 0 4rem;
}
.sheet.army form .item-summary {
  color: var(--text-dark);
  font-size: var(--font-size-12);
  padding: 0.25rem 0.5rem;
  flex: 100%;
}
.sheet.army form .pips,
.sheet.army form .pips span {
  align-items: center;
  height: 24px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
}
.sheet.army form .pips i,
.sheet.army form .pips span i {
  opacity: 0.4;
}
.sheet.army form .pips .filled,
.sheet.army form .pips span .filled {
  opacity: 1;
}
.sheet.army form .pips .split + *,
.sheet.army form .pips span .split + * {
  margin-left: 0.25rem;
}
.sheet.army form button.attack,
.sheet.army form button.damage {
  align-items: center;
  border: none;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5);
  color: var(--color-text-trait);
  display: inline-flex;
  flex: 0;
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  font-weight: 500;
  gap: 2px;
  height: 1.25rem;
  letter-spacing: 0.05em;
  line-height: unset;
  margin: 0;
  padding: 0 0.5em;
  text-rendering: optimizeLegibility;
  text-transform: uppercase;
  white-space: nowrap;
}
.sheet.army form button.attack.attack,
.sheet.army form button.damage.attack {
  background-color: var(--secondary);
}
.sheet.army form button.attack.damage,
.sheet.army form button.damage.damage {
  background-color: var(--primary);
}
.sheet.army form button.attack:disabled,
.sheet.army form button.damage:disabled {
  background-color: var(--color-text-dark-3);
  opacity: 0.8;
}
.sheet.army form button.attack:not(:disabled):hover,
.sheet.army form button.damage:not(:disabled):hover {
  box-shadow: none;
  text-shadow: 0 0 2px var(--text-light);
}
.sheet.army form section.roll {
  display: flex;
  align-items: center;
  min-width: 4rem;
  justify-content: space-between;
}
.sheet.army form section.roll i {
  min-width: 1.5rem;
  font-size: 1rem;
}
.sheet.army form span.plus {
  font-size: 0.75rem;
}
.sheet.army form legend.compendium-items:hover {
  cursor: pointer;
  text-shadow: 0 0 5px var(--color-shadow-highlight);
}
.sheet.army form .placeholder {
  color: gray;
}
.sheet.army form .routed {
  color: darkred;
}

.dialog.item-transfer {
  width: 22rem;
}
.dialog.item-transfer .item-row {
  background-color: rgba(0, 0, 0, 0.08);
  border-radius: 5px;
  align-items: center;
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-8);
  padding: var(--space-4);
}
.dialog.item-transfer .item-row img {
  width: 1.5rem;
  height: 1.5rem;
}
.dialog.item-transfer .item-row .name {
  font-weight: 500;
  line-height: 0.9;
  text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.5);
}
.dialog.item-transfer .item-row .quantity {
  align-items: baseline;
  display: flex;
  gap: var(--space-4);
  margin-left: auto;
}
.dialog.item-transfer .item-row .quantity input {
  width: 6ch;
}
.dialog.item-transfer .dialog-buttons {
  white-space: nowrap;
}

.pf2e.item.sheet {
  --animate-delay: 1s;
  --animate-duration: 1s;
  --animate-repeat: 1;
  --form-field-height: 1.5rem;
}
.pf2e.item.sheet input[type=checkbox] {
  flex: 0 0 var(--font-size-20);
  height: var(--font-size-20);
  margin: var(--space-3) var(--space-5);
  width: var(--font-size-20);
}
.pf2e.item.sheet select {
  height: var(--form-field-height);
}
.pf2e.item.sheet h3 {
  border-bottom: none;
}
.pf2e.item.sheet button > i {
  margin-right: 0;
}
.pf2e.item.sheet .window-content {
  padding: var(--space-8);
}
.pf2e.item.sheet form {
  display: flex;
  flex-flow: column nowrap;
  font-family: var(--sans-serif);
  height: 100%;
  overflow: hidden;
  width: 100%;
}
.pf2e.item.sheet form.locked a[data-action] {
  color: var(--color-disabled);
  pointer-events: none;
}
.pf2e.item.sheet form h2,
.pf2e.item.sheet form h3,
.pf2e.item.sheet form h4 {
  font-weight: 500;
}
.pf2e.item.sheet form > header img {
  border: none;
  object-fit: contain;
}
.pf2e.item.sheet form > header .details {
  align-items: baseline;
  column-gap: 0.33rem;
  display: flex;
  flex-wrap: wrap;
}
.pf2e.item.sheet form > header .details input,
.pf2e.item.sheet form > header .details .level {
  font: 700 var(--font-size-36) var(--serif-condensed);
}
.pf2e.item.sheet form > header .details tagify-tags {
  height: auto;
}
.pf2e.item.sheet form > header input[type=text],
.pf2e.item.sheet form > header input[type=number],
.pf2e.item.sheet form > header tagify-tags {
  color: var(--color-text-dark-input);
  border: none;
  height: var(--font-size-34);
}
.pf2e.item.sheet form > header input[type=text]:hover, .pf2e.item.sheet form > header input[type=text]:focus,
.pf2e.item.sheet form > header input[type=number]:hover,
.pf2e.item.sheet form > header input[type=number]:focus,
.pf2e.item.sheet form > header tagify-tags:hover,
.pf2e.item.sheet form > header tagify-tags:focus {
  box-shadow: none;
}
.pf2e.item.sheet form > header input[name=name] {
  flex: 1;
}
.pf2e.item.sheet form > header .level {
  flex: 0;
  white-space: nowrap;
  margin-left: auto;
}
.pf2e.item.sheet form > header .level i {
  font-size: 0.6em;
  vertical-align: middle;
}
.pf2e.item.sheet form > header .level input {
  width: 40px;
  text-align: center;
}
.pf2e.item.sheet form > header .action-glyph {
  font-size: 2.125rem;
}
.pf2e.item.sheet form > header .paizo-style {
  border: none;
  flex-basis: 100%;
  margin-top: 0.125rem;
  padding: 0;
}
.pf2e.item.sheet form > nav {
  align-items: baseline;
  border-bottom: 1px solid var(--secondary-background);
  border-top: 1px solid var(--secondary-background);
  display: flex;
  flex: 0 0 1.75rem;
  line-height: 1.75rem;
}
.pf2e.item.sheet form > nav a {
  flex: 1 1 auto;
}
.pf2e.item.sheet form > nav a.active {
  text-decoration: underline;
}
.pf2e.item.sheet form > nav .sidebar-summary {
  flex: 0 0 13.75rem;
  margin: 0;
  text-align: center;
}
.pf2e.item.sheet form > nav > .tabs {
  font-weight: 500;
  margin: 0;
  flex: 1;
  align-items: baseline;
}
.pf2e.item.sheet form > nav > .tabs > a {
  font-size: var(--font-size-12);
  text-align: center;
}
.pf2e.item.sheet form > nav > .tabs > a:last-of-type {
  padding-right: 0.25rem;
}
.pf2e.item.sheet form > nav > .tabs > a.active {
  font-weight: 600;
}
.pf2e.item.sheet form .mce-panel span {
  display: inherit;
}
.pf2e.item.sheet form.editable .rollable:hover {
  color: var(--text-dark);
  text-shadow: 0 0 10px #00005a;
  cursor: pointer;
}
.pf2e.item.sheet form .tab {
  flex: 1;
}
.pf2e.item.sheet form:has(.tab.active.rules) .sidebar-summary {
  visibility: hidden;
}
.pf2e.item.sheet form:has(.tab.active.rules) section.sidebar {
  display: none;
}
.pf2e.item.sheet form .tag-legacy {
  border: 1px solid var(--color-border-light-2);
  border-radius: 3px;
  float: left;
  font-size: var(--font-size-10);
  font-weight: 500;
  line-height: 1rem;
  margin: 0 var(--space-2) var(--space-2) 0;
  padding: 0 var(--space-3);
  white-space: normal;
}
.pf2e.item.sheet form p.hint {
  font-family: var(--font-primary);
  font-weight: normal;
}
.pf2e.item.sheet form .item-controls {
  align-items: baseline;
  display: flex;
  gap: var(--space-2);
  margin: 0 0 0 var(--space-4);
}
.pf2e.item.sheet form i.fa-info-circle {
  cursor: help;
}
.pf2e.item.sheet form .sheet-content {
  display: flex;
  flex-flow: row wrap;
  height: calc(100% - 35px);
  justify-content: start;
  overflow: hidden;
  width: 100%;
}
.pf2e.item.sheet form .sheet-content > * {
  flex: 1;
}
.pf2e.item.sheet form .sheet-content label {
  display: block;
}
.pf2e.item.sheet form .sheet-content input {
  color: var(--color-text-dark-input);
}
.pf2e.item.sheet form .sheet-content input[type=number],
.pf2e.item.sheet form .sheet-content input[type=text] {
  width: calc(100% - 2px);
}
.pf2e.item.sheet form .sheet-content input[type=checkbox],
.pf2e.item.sheet form .sheet-content input[type=number],
.pf2e.item.sheet form .sheet-content input[type=text],
.pf2e.item.sheet form .sheet-content select {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--color-border-light-2);
}
.pf2e.item.sheet form .sheet-content button:hover:not(:disabled), .pf2e.item.sheet form .sheet-content button:focus,
.pf2e.item.sheet form .sheet-content input:not([type=range]):hover:not(:disabled),
.pf2e.item.sheet form .sheet-content input:not([type=range]):focus,
.pf2e.item.sheet form .sheet-content select:hover:not(:disabled),
.pf2e.item.sheet form .sheet-content select:focus {
  border-color: var(--color-border-dark-1);
  box-shadow: 0 0 4px var(--color-pf-secondary);
}
.pf2e.item.sheet form .sheet-content input:disabled,
.pf2e.item.sheet form .sheet-content select:disabled {
  color: var(--color-disabled);
  opacity: 0.8;
  pointer-events: none;
}
.pf2e.item.sheet form .sheet-content > section.sidebar,
.pf2e.item.sheet form .sheet-content > .sheet-body {
  height: calc(100% - var(--space-10));
  overflow-y: auto;
  scrollbar-gutter: stable;
}
.pf2e.item.sheet form .sheet-content section.sidebar {
  flex: 0 0 13.75rem;
  display: flex;
  flex-flow: column nowrap;
}
.pf2e.item.sheet form .sheet-content section.sidebar > * {
  flex: 1;
}
.pf2e.item.sheet form .sheet-content section.sidebar .item-summary,
.pf2e.item.sheet form .sheet-content section.sidebar .tags-title {
  font-family: var(--serif-condensed);
  font-weight: 700;
  flex: 0 0 1.5em;
  line-height: 1.5em;
  text-align: center;
  font-size: var(--font-size-18);
  color: var(--color-text-dark-3);
  margin: 0.5em 0 0;
}
.pf2e.item.sheet form .sheet-content section.sidebar .item-tags,
.pf2e.item.sheet form .sheet-content section.sidebar ul.tags {
  flex: 0;
  list-style: none;
  margin-top: 0;
  padding-left: 0;
}
.pf2e.item.sheet form .sheet-content section.sidebar .item-tags li,
.pf2e.item.sheet form .sheet-content section.sidebar ul.tags li {
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}
.pf2e.item.sheet form .sheet-content section.sidebar .inventory-details {
  display: flex;
  flex-flow: column nowrap;
  gap: var(--space-4);
  overflow: hidden scroll;
  padding: var(--space-8) var(--space-4) 0 0;
}
.pf2e.item.sheet form .sheet-content section.sidebar .inventory-details .form-group {
  column-gap: var(--space-4);
  flex-wrap: nowrap;
  margin: 0;
  padding: 0 var(--space-2) 0 0;
}
.pf2e.item.sheet form .sheet-content section.sidebar .inventory-details .form-group.quantity input:first-of-type, .pf2e.item.sheet form .sheet-content section.sidebar .inventory-details .form-group.price input:first-of-type {
  margin-left: auto;
  max-width: 9.5ch;
}
.pf2e.item.sheet form .sheet-content section.sidebar .inventory-details .form-group.quantity .slash, .pf2e.item.sheet form .sheet-content section.sidebar .inventory-details .form-group.price .slash {
  flex: 0;
}
.pf2e.item.sheet form .sheet-content section.sidebar .inventory-details .form-group.quantity .slash + input, .pf2e.item.sheet form .sheet-content section.sidebar .inventory-details .form-group.price .slash + input {
  min-width: 5.25ch;
}
.pf2e.item.sheet form .sheet-content section.sidebar .inventory-details .form-group label {
  flex: 0 0 5em;
  font-weight: 500;
  white-space: nowrap;
}
.pf2e.item.sheet form .sheet-content section.sidebar .inventory-details .form-group input {
  text-align: right;
}
.pf2e.item.sheet form .sheet-content section.sidebar .inventory-details .form-group input[type=checkbox] {
  margin-right: 0;
}
.pf2e.item.sheet form .sheet-content section.sidebar .inventory-details .form-group select {
  font-size: var(--font-size-13);
  margin: 0 0 0 auto;
  max-width: 10em;
}
.pf2e.item.sheet form .sheet-content section.sidebar button {
  padding-top: 0;
  padding-bottom: 0;
  white-space: nowrap;
}
.pf2e.item.sheet form .sheet-body {
  height: calc(100% - 2.25rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}
.pf2e.item.sheet form .sheet-body .tab.active {
  overflow: hidden auto;
  padding-left: var(--space-8);
  scrollbar-gutter: stable;
}
.pf2e.item.sheet form .sheet-body .tab.active.description {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  height: 100%;
  padding: 0 0.25em;
}
.pf2e.item.sheet form .sheet-body .tab.active.description > * {
  display: flex;
  overflow: hidden;
}
.pf2e.item.sheet form .sheet-body .tab.active.description .editor {
  flex: 1;
  min-height: 2.5em;
}
.pf2e.item.sheet form .sheet-body .tab.active.description.editing {
  overflow: hidden;
}
.pf2e.item.sheet form .sheet-body .tab.active.description.editing > section {
  flex: 1;
}
.pf2e.item.sheet form .sheet-body .tab.active.description .gm-notes {
  background-color: var(--visibility-gm-bg);
  border: 1px dotted rgba(75, 74, 68, 0.5);
  flex: 0 0 auto;
}
.pf2e.item.sheet form .sheet-body .tab.active.description .gm-notes .editor-content:not(.ProseMirror) {
  padding: 0 0.25em;
}
.pf2e.item.sheet form .sheet-body .tab.active.description .gm-notes:not(.has-content) {
  display: none;
}
.pf2e.item.sheet form .sheet-body .tab.active.description .main {
  flex: 1 0 auto;
}
.pf2e.item.sheet form .sheet-body .tab.active.description .editor a.add-gm-notes,
.pf2e.item.sheet form .sheet-body .tab.active.description .editor a.editor-edit {
  background: rgb(205, 205, 205);
  border: 1px solid var(--color-border-dark-1);
  border-radius: 4px;
  box-shadow: 0 0 1px var(--color-shadow-dark);
  font-size: 1.25em;
  padding: 1px 2px;
}
.pf2e.item.sheet form .sheet-body .tab.active.description .editor a.add-gm-notes i,
.pf2e.item.sheet form .sheet-body .tab.active.description .editor a.editor-edit i {
  width: 1em;
  text-align: center;
}
.pf2e.item.sheet form .sheet-body .tab.active.description .editor a.add-gm-notes {
  display: none;
  position: absolute;
  right: 2.25rem;
  top: var(--space-5);
}
.pf2e.item.sheet form .sheet-body .tab.active.description .editor:hover a.add-gm-notes {
  display: block;
}
.pf2e.item.sheet form .sheet-body .tab.active label {
  color: var(--color-text-dark-2);
  font-weight: 500;
  padding-right: 0.5em;
  white-space: nowrap;
}
.pf2e.item.sheet form .sheet-body .tab.active label.disabled, .pf2e.item.sheet form .sheet-body .tab.active label.no-data {
  color: var(--color-disabled);
}
.pf2e.item.sheet form .sheet-body .tab.active.details {
  padding: var(--space-4) var(--space-8) 0;
}
.pf2e.item.sheet form .sheet-body .tab.active.details button {
  height: 2rem;
  line-height: normal;
}
.pf2e.item.sheet form .sheet-body .tab.active.details.no-sidebar .form-group > label {
  flex: 0 0 12em;
  white-space: wrap;
  padding-right: 0;
}
.pf2e.item.sheet form .sheet-body .tab.active.details .tags .tag {
  font-size: var(--font-size-10);
}
.pf2e.item.sheet form .sheet-body .editor {
  --space-s: 0.25em;
  --space-m: 0.5em;
  --space-l: 1em;
  --space-xl: 1.5em;
  --space-2xl: 2em;
  --radius: 3px;
}
.pf2e.item.sheet form .sheet-body .editor :is(h1, h2, h3, h4, h5, h6):not(:first-child) {
  margin-top: 1em;
}
.pf2e.item.sheet form .sheet-body .editor .inline-header {
  display: flex;
  align-items: center;
  gap: var(--space-l);
  background-color: var(--alt);
  font-family: var(--sans-serif);
  color: var(--text-light);
  padding: 0;
  font-size: 0.8em;
  font-weight: 400;
  border: none;
}
.pf2e.item.sheet form .sheet-body .editor .inline-header strong {
  display: inline-flex;
  padding: 0 var(--space-m);
  background-color: var(--primary);
  min-width: 15ch;
  border-right: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  font-weight: 400;
}
.pf2e.item.sheet form .sheet-body .editor .inline-header + p {
  margin-top: var(--space-s);
}
.pf2e.item.sheet form .sheet-body .editor .info {
  background-color: var(--secondary);
  padding: var(--space-m);
  color: var(--text-light);
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  border-radius: var(--radius);
  font-family: var(--sans-serif);
  padding-bottom: var(--space-m);
}
.pf2e.item.sheet form .sheet-body .editor .info > * + * {
  margin-top: var(--space-m);
}
.pf2e.item.sheet form .sheet-body .editor .info + * {
  margin-top: var(--space-xl);
}
.pf2e.item.sheet form .sheet-body .editor .info + .pf2e.item.sheet form .sheet-body .editor .info {
  margin-top: var(--space-s);
}
.pf2e.item.sheet form .sheet-body .editor .info h4 {
  font-size: 0.9em;
  font-weight: 400;
  line-height: 1.2;
  font-family: var(--sans-serif);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  padding: var(--space-m) var(--space-l);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-light);
}
.pf2e.item.sheet form .sheet-body .editor .info h4::after {
  font-family: "Font Awesome 6";
  content: "\f05a";
  font-weight: 900;
  margin-right: var(--space-s);
}
.pf2e.item.sheet form .sheet-body .editor .info p,
.pf2e.item.sheet form .sheet-body .editor .info span {
  font-size: 0.8em;
  margin: 0;
  padding: 0 var(--space-l);
}
.pf2e.item.sheet form .sheet-body .editor .info p:first-of-type,
.pf2e.item.sheet form .sheet-body .editor .info span:first-of-type {
  padding-top: var(--space-m);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.pf2e.item.sheet form .sheet-body .editor .traits {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}
.pf2e.item.sheet form .sheet-body .editor .traits p,
.pf2e.item.sheet form .sheet-body .editor .traits span {
  display: inline-flex;
  padding: 0.16rem 0.25rem;
  margin: 0;
  background-color: var(--primary);
  border: 2px solid var(--color-border-trait);
  color: var(--text-light);
  font: 500 var(--font-size-10) var(--sans-serif);
  text-transform: uppercase;
}
.pf2e.item.sheet form .sheet-body .editor .statblock {
  font-family: var(--sans-serif-condensed);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: var(--space-m);
}
.pf2e.item.sheet form .sheet-body .editor .statblock > * + * {
  margin-top: var(--space-s);
  margin-bottom: 0;
}
.pf2e.item.sheet form .sheet-body .editor .statblock p {
  --indent: var(--space-l);
  margin-left: var(--indent);
  position: relative;
}
.pf2e.item.sheet form .sheet-body .editor .statblock p strong:first-of-type {
  margin-left: calc(var(--indent) * -1);
}
.pf2e.item.sheet form .sheet-body .editor .statblock p .trait:first-of-type {
  margin-left: calc(var(--indent) * -1 - 2px);
}
.pf2e.item.sheet form .sheet-body .editor .statblock span.pf2-icon {
  line-height: 1;
}
.pf2e.item.sheet form .sheet-body .editor .statblock h1,
.pf2e.item.sheet form .sheet-body .editor .statblock h2,
.pf2e.item.sheet form .sheet-body .editor .statblock h3,
.pf2e.item.sheet form .sheet-body .editor .statblock h4 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border-dark);
  text-transform: uppercase;
  letter-spacing: -0.05em;
  font-family: var(--sans-serif-condensed);
  font-weight: 700;
}
.pf2e.item.sheet form .sheet-body .editor .statblock hr {
  border: none;
  border-bottom: 1px solid var(--color-border-dark);
}
.pf2e.item.sheet form .sheet-body .editor .message {
  font-family: var(--journal-cursive);
  font-size: 2em;
  line-height: 1.2;
}
.pf2e.item.sheet form h3 .item-controls,
.pf2e.item.sheet form header .item-controls {
  float: right;
}
.pf2e.item.sheet form fieldset h3,
.pf2e.item.sheet form .form-list h3 {
  font-weight: 600;
  font-size: 1.05em;
  margin-bottom: 0.25em;
}
.pf2e.item.sheet form fieldset {
  border: 1px solid var(--color-border-light-tertiary);
  border-radius: 2px;
  margin-bottom: var(--space-8);
  padding: 0 0.5em 0.25em;
}
.pf2e.item.sheet form fieldset.basics {
  border-color: transparent;
}
.pf2e.item.sheet form fieldset.publication {
  padding: var(--space-4);
}
.pf2e.item.sheet form fieldset.publication .data {
  align-items: baseline;
  gap: 0.25em;
  display: grid;
  grid-template: "title title title" 2fr "authors license remaster" 3fr/50% 25% 25%;
}
.pf2e.item.sheet form fieldset.publication .data label {
  font-weight: 500;
}
.pf2e.item.sheet form fieldset.publication .data input[type=text] {
  height: 1.6rem;
}
.pf2e.item.sheet form fieldset.publication .data .title {
  grid-area: title;
  display: flex;
  width: calc(100% - 0.5em);
}
.pf2e.item.sheet form fieldset.publication .data .authors {
  grid-area: authors;
}
.pf2e.item.sheet form fieldset.publication .data .license {
  grid-area: license;
}
.pf2e.item.sheet form fieldset.publication .data .license select {
  margin-top: 1px;
}
.pf2e.item.sheet form fieldset.publication .data .remaster {
  grid-area: remaster;
}
.pf2e.item.sheet form fieldset.publication .data .license,
.pf2e.item.sheet form fieldset.publication .data .remaster {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pf2e.item.sheet form fieldset.publication .data .license label,
.pf2e.item.sheet form fieldset.publication .data .remaster label {
  padding: 0;
}
.pf2e.item.sheet form fieldset legend {
  font-weight: 600;
}
.pf2e.item.sheet form fieldset .form-group > label:first-of-type {
  flex-basis: 11em;
}
.pf2e.item.sheet form fieldset.material-runes .precious-material select {
  min-width: 0;
  width: 0;
}
.pf2e.item.sheet form fieldset.material-runes .form-group {
  flex-wrap: nowrap;
}
.pf2e.item.sheet form .form-list {
  border: 1px solid var(--secondary-background);
  border-radius: 5px;
  list-style-type: none;
  margin: 0.5em 0;
  padding: 0.25em;
}
.pf2e.item.sheet form .form-list:first-child {
  margin-top: 0;
}
.pf2e.item.sheet form .form-list.subsection {
  padding: 0;
}
.pf2e.item.sheet form .form-list.subsection > * {
  padding: var(--space-4);
}
.pf2e.item.sheet form .form-list.subsection > header {
  align-items: baseline;
  background-color: var(--color-pf-secondary);
  border-radius: 5px 5px 0 0;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  margin: -1px -1px 0;
  padding: 1px;
}
.pf2e.item.sheet form .form-list.subsection > header h3,
.pf2e.item.sheet form .form-list.subsection > header .item-controls {
  padding: 0.25rem;
  margin-bottom: 0;
}
.pf2e.item.sheet form .two-by-two {
  column-gap: var(--space-4);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.pf2e.item.sheet form .two-by-two .item-controls {
  gap: 0;
  margin-left: var(--space-2);
}
.pf2e.item.sheet form .form-group > label:not(.large) {
  flex: 0 1 11em;
}
.pf2e.item.sheet form .form-group > label.short {
  flex: 0 1 9em;
}
.pf2e.item.sheet form .form-group ul.tags {
  margin: 0 0 0.5em;
}
.pf2e.item.sheet form .form-group .item-controls {
  flex: 0 1 auto;
}
.pf2e.item.sheet form .form-group select.readonly {
  opacity: 0.7;
  pointer-events: none;
}
.pf2e.item.sheet form .form-group select.readonly:hover {
  border: 1px solid var(--color-border-light-2);
  box-shadow: none;
}
.pf2e.item.sheet form .details-container,
.pf2e.item.sheet form .dice-data {
  display: grid;
  grid: "dice die type"/2.5rem 3.75rem auto;
}
.pf2e.item.sheet form .effects-container {
  display: grid;
  grid: "effect number"/auto 2.5rem;
}
.pf2e.item.sheet form .details-container-two-columns {
  display: grid;
  grid: "size type"/50% 50%;
}
.pf2e.item.sheet form .details-container-three-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.pf2e.item.sheet form .form-fields > label {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.pf2e.item.sheet form .form-fields select {
  flex: 1;
  width: auto;
}
.pf2e.item.sheet form .consumable-details {
  flex: 0 0 1.5rem;
}
.pf2e.item.sheet form .consumable-details label {
  font-weight: bold;
}
.pf2e.item.sheet form .consumable-details input {
  flex: 0 0 1.5rem;
  margin-right: var(--space-6);
  text-align: right;
}
.pf2e.item.sheet form .consumable-details span {
  line-height: 1.5rem;
}
.pf2e.item.sheet form .consumable-details .max-charges {
  flex: 0 0 1rem;
  text-align: center;
}
.pf2e.item.sheet form .consumable-charges label {
  flex: 0 0 9rem;
}
.pf2e.item.sheet form .consumable-charges input {
  flex: 0 0 4rem;
  text-align: center;
}
.pf2e.item.sheet form .consumable-charges span.flex0 {
  line-height: 1.5rem;
}
.pf2e.item.sheet form .feat-uses select {
  flex: 2;
  margin-right: var(--space-5);
}
.pf2e.item.sheet form .feat-uses input {
  flex: 1;
  text-align: center;
}
.pf2e.item.sheet form .feat-uses span.sep {
  flex: 0 0 1rem;
  line-height: 1.5rem;
  font-size: var(--font-size-14);
  text-align: center;
}
.pf2e.item.sheet form input:not(:focus).adjusted-higher, .pf2e.item.sheet form input:not(:focus).adjusted,
.pf2e.item.sheet form select.adjusted-higher,
.pf2e.item.sheet form select.adjusted {
  color: var(--color-pf-text-adjusted-higher);
}
.pf2e.item.sheet form input:not(:focus).adjusted-lower,
.pf2e.item.sheet form select.adjusted-lower {
  color: var(--color-pf-text-adjusted-lower);
}
.pf2e.item.sheet form input:not(:focus).adjusted-higher, .pf2e.item.sheet form input:not(:focus).adjusted-lower, .pf2e.item.sheet form input:not(:focus).adjusted,
.pf2e.item.sheet form select.adjusted-higher,
.pf2e.item.sheet form select.adjusted-lower,
.pf2e.item.sheet form select.adjusted {
  font-weight: 700;
}
.pf2e.item.sheet form input:not(:focus).adjusted-higher option:not(:checked), .pf2e.item.sheet form input:not(:focus).adjusted-lower option:not(:checked), .pf2e.item.sheet form input:not(:focus).adjusted option:not(:checked),
.pf2e.item.sheet form select.adjusted-higher option:not(:checked),
.pf2e.item.sheet form select.adjusted-lower option:not(:checked),
.pf2e.item.sheet form select.adjusted option:not(:checked) {
  color: var(--input-text-color);
}
.pf2e.item.sheet form input:not(:focus).adjusted-higher option:checked, .pf2e.item.sheet form input:not(:focus).adjusted-lower option:checked, .pf2e.item.sheet form input:not(:focus).adjusted option:checked,
.pf2e.item.sheet form select.adjusted-higher option:checked,
.pf2e.item.sheet form select.adjusted-lower option:checked,
.pf2e.item.sheet form select.adjusted option:checked {
  font-weight: 700;
}
.pf2e.item.sheet form .frequency {
  align-items: baseline;
  display: flex;
  gap: var(--space-3);
  text-align: end;
}
.pf2e.item.sheet form .frequency.empty {
  justify-content: flex-end;
}
.pf2e.item.sheet form .frequency select {
  flex: 1 1 auto;
}
.pf2e.item.sheet form .frequency a {
  align-self: center;
}
.pf2e.item.sheet form .item-ref-group ul.item-refs {
  border: 1px solid var(--color-border-light-2);
  border-radius: 3px;
  padding: 0;
  margin: 0;
}
.pf2e.item.sheet form .item-ref-group ul.item-refs.empty {
  height: 1.75rem;
}
.pf2e.item.sheet form .item-ref-group ul.item-refs.empty > li {
  font-style: italic;
  font-weight: 500;
  opacity: 0.75;
}
.pf2e.item.sheet form .item-ref-group ul.item-refs.empty > li .image-placeholder {
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-disabled);
  border-radius: 2px;
  box-sizing: border-box;
  height: 1.625rem;
}
.pf2e.item.sheet form .item-ref-group ul.item-refs > li {
  align-items: center;
  display: grid;
  grid-template-columns: 1.625rem auto 2em 1em;
  padding: var(--space-1);
}
.pf2e.item.sheet form .item-ref-group ul.item-refs > li:nth-of-type(even) {
  background-color: rgba(120, 100, 82, 0.1);
}
.pf2e.item.sheet form .item-ref-group ul.item-refs > li .name {
  display: block;
  height: 1em;
  line-height: 1em;
  margin-left: 0.25em;
}
.pf2e.item.sheet form .item-ref-group ul.item-refs > li .name i.fa-globe {
  padding: 0 var(--space-3);
}
.pf2e.item.sheet form .item-ref-group ul.item-refs > li .level {
  font-weight: 500;
  height: 1.25em;
  text-align: center;
}
.pf2e.item.sheet form .item-ref-group ul.item-refs > li a.remove {
  padding: 0 var(--space-2);
}
.pf2e.item.sheet form .item-ref-group ul.item-refs ul {
  grid-column: 1/5;
  margin-top: 0;
  padding-left: 0.5em;
}
.pf2e.item.sheet form .item-ref-group ul.item-refs ul:empty {
  display: none;
}
.pf2e.item.sheet form .form-group > label a.small-button {
  padding-left: var(--space-4);
  font-size: 0.9em;
}
.pf2e.item.sheet form .lore-list {
  list-style-type: none;
  padding: 0;
}
.pf2e.item.sheet form .lore-list li {
  align-items: baseline;
  display: flex;
  gap: var(--space-4);
}
.pf2e.item.sheet form fieldset > .item-ref-group:not(.form-group) {
  margin: var(--space-6) 0;
}
.pf2e.item.sheet form fieldset > .item-ref-group:not(.form-group) .item-refs {
  border: none;
}
.pf2e.item.sheet form .item-ref-list {
  align-items: start;
}
.pf2e.item.sheet form .form-group.form-group-trait {
  height: auto;
  margin: var(--space-2) 0;
}
.pf2e.item.sheet form .form-group.form-group-trait label {
  vertical-align: top;
}
.pf2e.item.sheet form .form-group.form-group-trait > ul.abc-traits-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pf2e.item.sheet form .form-group.form-group-trait > ul.abc-traits-list span.tag {
  float: none;
}
.pf2e.item.sheet form .form-group.other-weapons input {
  flex: 2;
}
.pf2e.item.sheet form .form-group.other-weapons select {
  flex: 1;
}
.pf2e.item.sheet form .form-group.additional-language {
  gap: var(--space-4);
}
.pf2e.item.sheet form .form-group.additional-language input {
  flex: 0.5;
}
.pf2e.item.sheet form .form-group.additional-language span {
  flex: 2.5;
}
.pf2e.item.sheet form .item-activations {
  padding: 8px 8px 0;
  overflow: hidden scroll;
}
.pf2e.item.sheet form .item-activations .activation + .activation, .pf2e.item.sheet form .item-activations .activation + button {
  margin-top: 0.5em;
}
.pf2e.item.sheet form .item-activations .activation .editor {
  min-height: 28px;
}
.pf2e.item.sheet form .item-activations header {
  font-size: 1.05em;
  margin-bottom: 0.25em;
  line-height: 1.25em;
}
.pf2e.item.sheet form .item-activations .activation-time {
  flex: 1;
  height: 20px;
}
.pf2e.item.sheet form .item-activations .frequency {
  flex: 1;
  gap: 4px;
  padding-right: 6px;
}
.pf2e.item.sheet form .item-activations .frequency input[type=number] {
  border: none;
  background: none;
  text-align: right;
  margin: 0 0 0 24px;
}
.pf2e.item.sheet form .item-activations .frequency > select:first-child {
  margin-left: 24px;
}
.pf2e.item.sheet form .item-activations .frequency.empty {
  text-align: right;
}
.pf2e.item.sheet form .item-activations .tags {
  margin-top: 4px;
}
.pf2e.item.sheet form .item-activations .tags label {
  margin-right: 3px;
}
.pf2e.item.sheet form .item-activations .tox {
  min-height: 150px;
}
.pf2e.item.sheet form .identify-popup {
  min-width: 300px;
}
.pf2e.item.sheet form .sheet-body .tab.mystification.active .mystification-status select {
  max-width: fit-content;
  margin-right: auto;
}
.pf2e.item.sheet form .sheet-body .tab.mystification.active fieldset > legend {
  font-weight: 500;
}
.pf2e.item.sheet form .sheet-body .tab.mystification.active .form-group.unidentified {
  align-items: start;
  flex-direction: column;
  gap: 0.25rem;
}
.pf2e.item.sheet form .sheet-body .tab.mystification.active .form-group.unidentified .img-name {
  align-items: center;
  gap: 0.5em;
  display: flex;
  flex-wrap: nowrap;
}
.pf2e.item.sheet form .sheet-body .tab.mystification.active .form-group.unidentified .img-name img {
  flex: 0 0 3em;
  height: 3em;
}
.pf2e.item.sheet form .sheet-body .tab.mystification.active .form-group.unidentified .editor {
  background: rgba(0, 0, 0, 0.05);
  padding: 0.25rem;
  min-height: 100px;
  min-width: 100%;
  flex-basis: 100%;
}
.pf2e.item.sheet form .sheet-body .tab.mystification.active .form-group.unidentified .tox.tox-tinymce {
  min-height: 200px;
}
.pf2e.item.sheet form .tab.active.rules select {
  width: auto;
}
.pf2e.item.sheet form .tab.active.rules select span {
  padding: 0;
}
.pf2e.item.sheet form .tab.active.rules fieldset {
  border-radius: 5px;
  border: 1px solid var(--secondary-background);
  padding: 0.25em;
}
.pf2e.item.sheet form .tab.active.rules fieldset legend {
  font-weight: 500;
}
.pf2e.item.sheet form .tab.active.rules .nerd-details {
  margin-bottom: 10px;
}
.pf2e.item.sheet form .tab.active.rules .nerd-details .form-group {
  margin: 0;
}
.pf2e.item.sheet form .tab.active.rules .nerd-details label {
  align-items: center;
  display: flex;
  flex: 0 0 4.5rem;
  white-space: nowrap;
  line-height: 1.5em;
  margin-right: 1.25rem;
  min-width: 8em;
}
.pf2e.item.sheet form .tab.active.rules .nerd-details label i.fa-info-circle {
  margin-left: auto;
  margin-right: 0.5em;
}
.pf2e.item.sheet form .tab.active.rules .nerd-details a[data-action] {
  flex: 0 0 auto;
  line-height: 1.75em;
  height: 1.75em;
  margin-left: auto;
}
.pf2e.item.sheet form .tab.active.rules .rules {
  padding-top: 0.5em;
  padding-right: 0.5em;
}
.pf2e.item.sheet form .tab.active.rules .rules textarea {
  padding: 4px;
  min-height: 60px;
  resize: vertical;
}
.pf2e.item.sheet form .tab.active.rules .create-rule-element {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 6px;
  justify-content: flex-end;
}
.pf2e.item.sheet form .tab.active.rules .rule-editing {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 5px;
}
.pf2e.item.sheet form .tab.active.rules .rule-editing > .cm-editor {
  flex: 1;
  background-color: white;
  overflow: hidden;
}
.pf2e.item.sheet form .tab.active.rules .rule-editing > .cm-editor .cm-scroller {
  overflow: hidden scroll;
  overflow: scroll;
}
.pf2e.item.sheet form .tab.active.rules .rule-editing > .cm-editor button {
  width: auto;
  line-height: normal;
}
.pf2e.item.sheet form .tab.active.rules .rule-editing > .cm-editor input[type=checkbox] {
  width: auto;
  height: auto;
}
.pf2e.item.sheet form .tab.active.rules .rule-editing > .cm-editor label {
  display: inline;
}
.pf2e.item.sheet form .tab.active.rules .rule-editing > .cm-editor .cm-search .cm-textfield {
  width: 100px;
}
.pf2e.item.sheet form .tab.active.rules .rule-editing > .cm-editor ::selection {
  color: var(--text-dark);
}
.pf2e.item.sheet form .tab.active.rules .rule-editing .item-controls {
  margin: 0;
}
.pf2e.item.sheet form .tab.active.rules .rule-form {
  border-bottom: 1px solid var(--color-border-light-primary);
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}
.pf2e.item.sheet form .tab.active.rules .rule-form.drag-preview {
  background: url(../ui/parchment.jpg) repeat;
}
.pf2e.item.sheet form .tab.active.rules .rule-form.drag-gap {
  visibility: hidden;
}
.pf2e.item.sheet form .tab.active.rules .rule-form input::placeholder {
  opacity: 0.9;
}
.pf2e.item.sheet form .tab.active.rules .rule-form label {
  align-items: center;
  display: flex;
  gap: 4px;
  font-weight: 500;
  white-space: nowrap;
}
.pf2e.item.sheet form .tab.active.rules .rule-form label:not(:first-child) {
  padding-left: 2px;
}
.pf2e.item.sheet form .tab.active.rules .rule-form label input,
.pf2e.item.sheet form .tab.active.rules .rule-form label tags {
  flex: 1;
}
.pf2e.item.sheet form .tab.active.rules .rule-form label input[type=checkbox] {
  width: 1rem;
  height: 1rem;
  flex-basis: auto;
}
.pf2e.item.sheet form .tab.active.rules .rule-form label input[type=checkbox]:first-child:last-child {
  margin-left: auto;
  justify-self: flex-end;
}
.pf2e.item.sheet form .tab.active.rules .rule-form select.short {
  flex: 0 0 auto;
}
.pf2e.item.sheet form .tab.active.rules .rule-form span.units {
  line-height: unset;
}
.pf2e.item.sheet form .tab.active.rules .rule-form color-picker {
  gap: 0;
}
.pf2e.item.sheet form .tab.active.rules .rule-form color-picker input[type=color] {
  height: var(--form-field-height);
  flex: 0 0 var(--form-field-height);
  padding: 0 1px;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .content-link {
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  gap: 3px;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .content-link img {
  width: 16px;
  height: 16px;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .rule-element-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.25rem;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .rule-element-header .drag-handle {
  cursor: grab;
  font-weight: normal;
  margin-right: 0.375rem;
  padding: 0.125rem;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .rule-element-header h3 {
  flex: 1;
  margin: 0;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .rule-element-header h3.unrecognized {
  color: #880000;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .rule-element-header .priority {
  margin-right: 0.75rem;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .rule-element-header .priority input {
  width: 4ch;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .rule-element-header .item-controls {
  margin-left: auto;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .form-fields [data-action] {
  flex: 0 0 auto;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .range {
  display: flex;
  gap: 3px;
  align-items: center;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .range input {
  width: 40px;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .attached-input {
  align-items: center;
  display: flex;
  flex: 2;
  justify-content: center;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .attached-input .attachment,
.pf2e.item.sheet form .tab.active.rules .rule-form .attached-input input,
.pf2e.item.sheet form .tab.active.rules .rule-form .attached-input tagify-tags,
.pf2e.item.sheet form .tab.active.rules .rule-form .attached-input .tags {
  z-index: 0;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .attached-input .attachment:hover, .pf2e.item.sheet form .tab.active.rules .rule-form .attached-input .attachment:focus,
.pf2e.item.sheet form .tab.active.rules .rule-form .attached-input input:hover,
.pf2e.item.sheet form .tab.active.rules .rule-form .attached-input input:focus,
.pf2e.item.sheet form .tab.active.rules .rule-form .attached-input tagify-tags:hover,
.pf2e.item.sheet form .tab.active.rules .rule-form .attached-input tagify-tags:focus,
.pf2e.item.sheet form .tab.active.rules .rule-form .attached-input .tags:hover,
.pf2e.item.sheet form .tab.active.rules .rule-form .attached-input .tags:focus {
  z-index: 1;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .attached-input .attachment {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 6px;
  margin: 0;
  line-height: unset;
  flex: 0 0 auto;
  width: auto;
  min-width: 68px;
  align-self: stretch;
  border: 1px solid #aaa;
  border-right: none;
  border-radius: 3px 0 0 3px;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .attached-input file-picker {
  flex: 1;
  line-height: unset;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .attached-input input,
.pf2e.item.sheet form .tab.active.rules .rule-form .attached-input tagify-tags,
.pf2e.item.sheet form .tab.active.rules .rule-form .attached-input tags {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin: 0;
  flex: 1;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .brackets {
  margin-left: 9.5em;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .brackets .bracket {
  align-items: center;
  display: flex;
  gap: 4px;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .brackets .bracket .value {
  flex: 1;
}
.pf2e.item.sheet form .tab.active.rules .rule-form nav.rule-tabs {
  border-bottom: 1px solid var(--secondary-background);
}
.pf2e.item.sheet form .tab.active.rules .rule-form nav.rule-tabs h4 {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  margin-top: 0.5em;
  font-weight: 200;
}
.pf2e.item.sheet form .tab.active.rules .rule-form nav.rule-tabs a.active {
  font-weight: 600;
  text-decoration: underline;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .validation-failures {
  background: rgba(214, 150, 0, 0.5);
  border-radius: 3px;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .validation-failures ul {
  list-style: "\f071" outside;
  padding: 0.25em 0.25em 0.25em 1.5em;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .validation-failures ul li {
  font-weight: 900;
  font-family: var(--font-awesome);
}
.pf2e.item.sheet form .tab.active.rules .rule-form .validation-failures ul li > span {
  margin-left: 0.25em;
  font-weight: normal;
  font-family: var(--font-primary);
}
.pf2e.item.sheet form .tab.active.rules .rule-form .rules-drop-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 4em;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .rules-drop-container .rules-drop-zone {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40%;
  height: 3.5em;
  border: 1px solid var(--color-border-light-primary);
  border-radius: 3px;
  color: #222;
  background-color: #ddd;
  cursor: default;
  padding: 1px 6px;
  font-family: var(--font-primary);
  font-size: var(--font-size-14);
  line-height: 28px;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .rules-drop-container .rules-drop-zone i {
  border: 1px solid #bbb;
  border-radius: 2px;
  align-items: center;
  display: flex;
  height: 1.6em;
  justify-content: center;
  margin-right: 0.5em;
  width: 1.6em;
}
.pf2e.item.sheet form .tab.active.rules .rule-form .rules-drop-container .rules-drop-zone i:after {
  font-size: var(--font-size-20);
}
.pf2e.item.sheet form .tab.active.rules .rule-form .rules-drop-container .rules-drop-zone span {
  color: var(--text-dark);
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab] .grid-item {
  display: grid;
  grid: 1fr/5em 1fr;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab] .grid-item.long-label {
  grid: 1fr/9em 1fr;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab] .checkbox {
  display: flex;
  justify-content: flex-end;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab] .item-controls {
  justify-content: flex-end;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab] .item-controls a {
  margin: 2px 5px 0 0;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab] .stacked {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 0.5rem;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab] .column-span-two {
  grid-column: span 2;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab] .resolvable {
  grid-column: span 2;
  display: flex;
  align-items: center;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab] .brackets-container {
  grid-column: span 3;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab] label {
  min-width: 5em;
  font-weight: 500;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab] label.short {
  max-width: 5em;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab] label.with-hint {
  margin-right: 5px;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab] fieldset {
  grid-column: span 2;
  padding-bottom: 0.4rem;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab] .brackets {
  margin-left: 6em;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab] hr {
  grid-column: span 2;
  width: 100%;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab=effects] {
  height: 90px;
  overflow-y: auto;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab=effects] .item-container {
  grid-column: span 2;
  display: grid;
  grid: 1fr/5em 10fr 1fr;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab=effects] .item-container a.content-link {
  display: flex;
  align-items: center;
  gap: 0.5em;
  width: fit-content;
  min-width: 12rem;
  height: 2em;
  padding: 4px;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab=effects] .item-container a.content-link img {
  border: 1px solid var(--color-border-dark);
  border-radius: 2px;
  box-sizing: border-box;
  display: block;
  float: left;
  height: 24px;
  width: 24px;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab=effects] .item-container a.content-link span {
  text-wrap: wrap;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab=effects] .three-items {
  grid-column: span 2;
  display: grid;
  grid: 1fr/5em 8fr 7em 5fr 6em 1fr;
  margin-top: 5px;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab=effects] .three-items select {
  width: fit-content;
  min-width: 10em;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab=effects] .saves-container {
  display: grid;
  grid: 1fr/5em 8.8fr;
  align-items: center;
  row-gap: 5px;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab=effects] .saves-container select {
  width: fit-content;
  min-width: 10em;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab=effects] .rules-drop-container {
  grid-column: span 2;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab=appearance] .translation input {
  width: 5em;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab=appearance] input[type=checkbox] {
  margin-left: unset;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab=appearance] .two-items {
  display: flex;
  justify-content: space-between;
  gap: 0.5em;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab=appearance] .two-items > label {
  min-width: unset;
  width: fit-content;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab=appearance] .two-items .color-picker {
  align-items: center;
  display: flex;
  width: 16rem;
  white-space: nowrap;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab=appearance] .two-items .color-picker input[type=text] {
  flex: 1;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab=appearance] .two-items .color-picker input[type=color] {
  flex: 2;
  height: 1.5rem;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab=appearance] .two-items .color-picker input[type=color]:disabled {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid transparent;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab=appearance] .two-items .color-picker .user {
  flex: 0;
  gap: 0;
  justify-content: start;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab=appearance] .two-items .color-picker .user input[type=checkbox] {
  flex: 0;
  margin-left: 0;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab=appearance] .two-items .color-picker .user span {
  font-size: small;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab=appearance] .three-items {
  display: grid;
  grid-template-columns: 5em 2.5fr 1fr;
  align-items: center;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab=appearance] .three-items.long-label {
  grid: 1fr/9em 2.5fr 1fr;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab=appearance] .three-items input[type=color] {
  min-width: 7em;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab=appearance] .three-items.image-path {
  grid-column: span 2;
  grid: 1fr/9em 8fr 1fr;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Aura] div[data-rule-tab=appearance] .three-items.image-path button.file-picker {
  margin: unset;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=Note] {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=TokenLight] div[data-rule-tab] {
  display: grid;
  grid: "label content" 1fr/1fr 1fr;
  column-gap: 5px;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=TokenLight] div[data-rule-tab] fieldset.radii {
  display: flex;
  flex-direction: column;
  grid-column: span 2;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=TokenLight] div[data-rule-tab] fieldset.radii .brackets {
  margin-left: 6.5em;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=TokenLight] div[data-rule-tab] label {
  display: flex;
  flex: unset;
  margin-left: 5px;
  margin-right: 5px;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=TokenLight] div[data-rule-tab] label.short {
  min-width: 5em;
}
.pf2e.item.sheet form .tab.active.rules .rule-form[data-key=TokenLight] div[data-rule-tab] .column-span-two {
  grid-column: span 2;
}
.pf2e.item.sheet a.disabled,
.pf2e.item.sheet a[disabled] {
  color: var(--color-disabled);
  pointer-events: none;
}
.pf2e.item.sheet a.disabled.header-button,
.pf2e.item.sheet a[disabled].header-button {
  color: var(--color-text-light-5);
}
.pf2e.item.sheet.action form .drop-zone {
  align-items: center;
  border: 1px solid var(--color-border-light-tertiary);
  display: flex;
  gap: 0.25rem;
  max-width: fit-content;
  padding: 0 4px 0 0;
}
.pf2e.item.sheet.action form .drop-zone.empty {
  font-weight: normal;
  min-width: 12rem;
  padding: 4px;
}
.pf2e.item.sheet.action form .drop-zone.empty .name {
  font-style: italic;
  flex: 1;
  text-align: center;
}
.pf2e.item.sheet.action form .drop-zone picture,
.pf2e.item.sheet.action form .drop-zone img {
  border: 1px solid var(--color-border-dark);
  border-radius: 2px;
  box-sizing: border-box;
  display: block;
  float: left;
  height: 24px;
  width: 24px;
}
.pf2e.item.sheet.action form .drop-zone a.content-link {
  align-items: center;
  border: none;
  border-right: 1px solid var(--color-border-light-2);
  display: flex;
  gap: 0.5em;
  min-width: 9rem;
  padding: 4px;
}
.pf2e.item.sheet.action form .drop-zone a.delete {
  display: flex;
}
.pf2e.item.sheet.affliction form .affliction-stage .link:not(.linked) {
  opacity: 0.6;
  color: #a00;
}
.pf2e.item.sheet.affliction form .affliction-stage .formula-row {
  align-items: center;
  display: flex;
  gap: 4px;
}
.pf2e.item.sheet.ancestry form ul.item-refs {
  border: none;
  margin: 0;
}
.pf2e.item.sheet.ancestry form ul.item-refs > li {
  grid-template-columns: 1.625rem auto 1em 1em;
  column-gap: var(--space-8);
}
.pf2e.item.sheet.ancestry form ul.item-refs > li a.name {
  margin-left: 0;
}
.pf2e.item.sheet.ancestry form ul.item-refs > li i.fa-globe {
  cursor: help;
}
.pf2e.item.sheet.consumable form .form-group.price input.per {
  max-width: 4ch;
}
.pf2e.item.sheet.consumable form .form-group.damage a,
.pf2e.item.sheet.consumable form .form-group.damage button,
.pf2e.item.sheet.consumable form .form-group.damage select {
  max-width: fit-content;
}
.pf2e.item.sheet.deity form .tab.details .form-group.fonts {
  display: flex;
  gap: 0.25rem;
}
.pf2e.item.sheet.deity form .tab.details .form-group.fonts .form-fields {
  justify-content: start;
}
.pf2e.item.sheet.deity form .tab.details .form-group.fonts .form-fields label {
  font-weight: normal;
}
.pf2e.item.sheet.effect form .sheet-content .sidebar .inventory-details .form-group.duration label {
  max-width: fit-content;
  margin-right: 0.1em;
}
.pf2e.item.sheet.effect form .sheet-content .sidebar .inventory-details .form-group.duration select {
  max-width: 9em;
}
.pf2e.item.sheet.effect form .sheet-content .sidebar .badge-label-row {
  align-items: center;
  display: flex;
  gap: 4px;
  width: 100%;
}
.pf2e.item.sheet.effect form .sheet-content .sidebar .badge-label-row label {
  cursor: pointer;
  max-width: unset;
}
.pf2e.item.sheet.effect form .sheet-content .sidebar .badge-label-row input[type=radio] {
  margin: 0;
  top: 0;
}
.pf2e.item.sheet.effect form .sheet-content .sidebar .badge-label-row .badge-value {
  margin-right: 0.1rem;
  width: 3ch;
  font-weight: bold;
  text-align: end;
}
.pf2e.item.sheet.effect form .sheet-content .sidebar .badge-label-row input[type=text] {
  flex: 1;
  text-align: end;
}
.pf2e.item.sheet.effect form .sheet-content .sidebar .badge-label-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.5em 0 0.25em 0;
}
.pf2e.item.sheet.effect form .sheet-content .sidebar .add-badge {
  display: flex;
  align-items: center;
}
.pf2e.item.sheet.effect form .sheet-content .sidebar .add-badge select {
  flex: 1;
  max-width: unset;
}
.pf2e.item.sheet.effect form .sheet-content .sidebar .add-badge button {
  align-items: center;
  display: flex;
  flex: 0;
  line-height: 1.5em;
}
.pf2e.item.sheet.feat form .drop-zone {
  align-items: center;
  border: 1px solid var(--color-border-light-tertiary);
  display: flex;
  gap: 0.25rem;
  max-width: fit-content;
  padding: 0 4px 0 0;
}
.pf2e.item.sheet.feat form .drop-zone.empty {
  font-weight: normal;
  min-width: 12rem;
  padding: 4px;
}
.pf2e.item.sheet.feat form .drop-zone.empty .name {
  font-style: italic;
  flex: 1;
  text-align: center;
}
.pf2e.item.sheet.feat form .drop-zone picture,
.pf2e.item.sheet.feat form .drop-zone img {
  border: 1px solid var(--color-border-dark);
  border-radius: 2px;
  box-sizing: border-box;
  display: block;
  float: left;
  height: 24px;
  width: 24px;
}
.pf2e.item.sheet.feat form .drop-zone a.content-link {
  align-items: center;
  border: none;
  border-right: 1px solid var(--color-border-light-2);
  display: flex;
  gap: 0.5em;
  min-width: 9rem;
  padding: 4px;
}
.pf2e.item.sheet.feat form .drop-zone a.delete {
  display: flex;
}
.pf2e.item.sheet.feat form .sidebar .prerequisites ul {
  margin-top: 0;
}
.pf2e.item.sheet.feat form .sidebar .prerequisites ul .tag {
  color: var(--color-text-dark-2);
  font-size: var(--font-size-12);
  font-weight: 400;
  padding: var(--space-3) var(--space-2);
}
.pf2e.item.sheet.feat form .tab.details .form-group > label {
  min-width: fit-content;
  margin-right: 1em;
}
.pf2e.item.sheet.feat form .tab.details fieldset.subfeatures .form-group.stacked {
  margin: 0;
}
.pf2e.item.sheet.feat form .tab.details fieldset.subfeatures .form-group.stacked ul {
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  margin: 0.25rem 0;
  padding: 0.25rem;
}
.pf2e.item.sheet.feat form .tab.details fieldset.subfeatures .form-group.stacked ul.empty {
  flex: 1;
  padding: 0 0.25rem;
}
.pf2e.item.sheet.feat form .tab.details fieldset.subfeatures .form-group.stacked ul.empty li.add-subfeature {
  gap: 0.5rem;
  justify-content: end;
}
.pf2e.item.sheet.feat form .tab.details fieldset.subfeatures .form-group.stacked ul.empty li.add-subfeature a {
  margin-left: 0;
}
.pf2e.item.sheet.feat form .tab.details fieldset.subfeatures .form-group.stacked ul:not(.empty) {
  border: 1px solid var(--color-border-light-2);
}
.pf2e.item.sheet.feat form .tab.details fieldset.subfeatures .form-group.stacked ul li {
  align-items: center;
  border: 1px solid transparent;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.125rem;
}
.pf2e.item.sheet.feat form .tab.details fieldset.subfeatures .form-group.stacked ul li label,
.pf2e.item.sheet.feat form .tab.details fieldset.subfeatures .form-group.stacked ul li select.unselected-options {
  flex-basis: 11rem;
}
.pf2e.item.sheet.feat form .tab.details fieldset.subfeatures .form-group.stacked ul li label {
  font-weight: normal;
  padding-right: 0;
}
.pf2e.item.sheet.feat form .tab.details fieldset.subfeatures .form-group.stacked ul li label a.darkvision-special i.fa-regular {
  color: var(--color-text-light-7);
}
.pf2e.item.sheet.feat form .tab.details fieldset.subfeatures .form-group.stacked ul li input[type=number],
.pf2e.item.sheet.feat form .tab.details fieldset.subfeatures .form-group.stacked ul li select.rank,
.pf2e.item.sheet.feat form .tab.details fieldset.subfeatures .form-group.stacked ul li select.acuity {
  flex-basis: 6rem;
}
.pf2e.item.sheet.feat form .tab.details fieldset.subfeatures .form-group.stacked ul li a {
  margin-left: auto;
}
.pf2e.item.sheet.feat form .tab.details fieldset.subfeatures .form-group.stacked ul li hr {
  display: block;
  flex-basis: 100%;
  margin: 0;
}
.pf2e.item.sheet.heritage form section.sidebar .required-ancestry {
  flex-wrap: nowrap;
  width: 100%;
  white-space: nowrap;
  max-width: 100%;
}
.pf2e.item.sheet.heritage form section.sidebar .required-ancestry label {
  flex: 0;
}
.pf2e.item.sheet.heritage form section.sidebar .required-ancestry .drop-zone {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 2px;
  border: 1px dotted var(--alt-dark);
  display: flex;
  font-weight: normal;
  justify-content: center;
  margin: 2px 3px 0 auto;
  max-width: 8em;
  padding: 3px;
  position: relative;
}
.pf2e.item.sheet.heritage form section.sidebar .required-ancestry .drop-zone span {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pf2e.item.sheet.heritage form section.sidebar .required-ancestry .drop-zone.ancestry-ref-broken {
  background-color: rgba(255, 0, 0, 0.15);
  border-color: var(--primary);
}
.pf2e.item.sheet.heritage form section.sidebar .required-ancestry .drop-zone a.remove-ancestry {
  display: none;
  position: absolute;
  right: -0.5em;
  top: -0.25em;
}
.pf2e.item.sheet.heritage form section.sidebar .required-ancestry .drop-zone a.remove-ancestry:hover {
  display: flex;
}
.pf2e.item.sheet.heritage form section.sidebar .required-ancestry .drop-zone:hover a.remove-ancestry {
  display: flex;
}
.pf2e.item.sheet.kit form .kit-list ul.kit-items {
  padding: 0;
}
.pf2e.item.sheet.kit form .kit-list ul.kit-items li.kit-item {
  display: grid;
  grid-template-columns: 26px 30px auto 10px;
  align-items: center;
}
.pf2e.item.sheet.kit form .kit-list ul.kit-items li.kit-item:nth-of-type(even) {
  background-color: rgba(120, 100, 82, 0.1);
}
.pf2e.item.sheet.kit form .kit-list ul.kit-items li.kit-item .kit-item-name {
  line-height: 1em;
  height: 1em;
}
.pf2e.item.sheet.kit form .kit-list ul.kit-items li.kit-item .kit-item-name .fa.fa-globe {
  padding: 0 3px;
  float: right;
}
.pf2e.item.sheet.kit form .kit-list ul.kit-items ul {
  padding-left: 0.5em;
  margin-top: 0;
  grid-column: 1/5;
}
.pf2e.item.sheet.kit form .kit-list ul.kit-items ul:empty {
  display: none;
}
.pf2e.item.sheet.melee form .sheet-body .tab.details .form-group.attack-modifier label,
.pf2e.item.sheet.melee form .sheet-body .tab.details li.damage-partial form-group label {
  max-width: fit-content;
}
.pf2e.item.sheet.melee form .sheet-body .tab.details .form-group.attack-modifier input,
.pf2e.item.sheet.melee form .sheet-body .tab.details li.damage-partial form-group input {
  max-width: 6ch;
}
.pf2e.item.sheet.melee form .sheet-body .tab.details ol.form-list li.damage-partial {
  align-items: center;
  display: flex;
  gap: 1em;
}
.pf2e.item.sheet.melee form .sheet-body .tab.details ol.form-list li.damage-partial input {
  max-width: 12ch;
}
.pf2e.item.sheet.melee form .sheet-body .tab.details ol.form-list li.damage-partial .type {
  gap: 0.25em;
}
.pf2e.item.sheet.melee form .sheet-body .tab.details ol.form-list li.damage-partial .remove-partial {
  margin: 0 0.5em 0 auto;
}
.pf2e.item.sheet.physical form .sidebar .inventory-details .form-group.subitems {
  align-items: start;
  flex-direction: column;
}
.pf2e.item.sheet.physical form .sidebar .inventory-details .form-group.subitems label {
  flex: 0;
}
.pf2e.item.sheet.physical form .sidebar .inventory-details .form-group.subitems ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin-top: var(--space-2);
  padding: 0;
  width: 100%;
}
.pf2e.item.sheet.physical form .sidebar .inventory-details .form-group.subitems ul li {
  align-items: center;
  display: flex;
  height: 2rem;
  justify-content: space-between;
  padding: var(--space-4);
}
.pf2e.item.sheet.physical form .sidebar .inventory-details .form-group.subitems ul li:nth-of-type(even) {
  background: rgba(120, 100, 82, 0.1);
}
.pf2e.item.sheet.physical form .sidebar .inventory-details .form-group.subitems ul li > * {
  align-items: center;
  display: flex;
}
.pf2e.item.sheet.physical form .sidebar .inventory-details .form-group.subitems ul li .name {
  gap: var(--space-6);
  font-size: var(--font-size-13);
  font-weight: 500;
}
.pf2e.item.sheet.physical form .sidebar .inventory-details .form-group.subitems ul li .name img {
  height: 1.5rem;
}
.pf2e.item.sheet.physical form .sidebar .inventory-details .form-group.subitems ul li .controls {
  gap: var(--space-1);
}
.pf2e.item.sheet.physical form .sidebar .inventory-details .form-group.subitems ul li .controls a.detach {
  font-size: 0.8em;
  margin-right: var(--space-2);
}
.pf2e.item.sheet.spell form .tab.details.active .damage-formulas {
  margin-top: 0.5rem;
}
.pf2e.item.sheet.spell form .tab.details.active .damage-formulas .form-fields {
  gap: 2px;
  white-space: nowrap;
}
.pf2e.item.sheet.spell form .tab.details.active .damage-formulas .form-fields .apply-mod {
  white-space: nowrap;
}
.pf2e.item.sheet.spell form .tab.details.active .damage-formulas .form-fields select {
  max-width: 8em;
}
.pf2e.item.sheet.spell form .tab.details.active .damage-formulas .form-fields .materials {
  flex: 0 1 fit-content;
  align-self: end;
}
.pf2e.item.sheet.spell form .tab.details.active button + fieldset {
  margin-top: 0.5rem;
}
.pf2e.item.sheet.spell form .tab.details.active fieldset.heightening .add {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.pf2e.item.sheet.spell form .tab.details.active fieldset.heightening .add button.only-option {
  grid-column: span 2;
}
.pf2e.item.sheet.spell form .tab.details.active fieldset.heightening .overlay {
  margin-top: var(--space-8);
}
.pf2e.item.sheet.spell form .tab.details.active fieldset.heightening .overlay .toggle-button-list {
  column-gap: 2px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 4px 0;
}
.pf2e.item.sheet.spell form .tab.details.active fieldset.heightening .overlay .toggle-button-list button {
  font-size: var(--font-size-12);
  line-height: normal;
  margin: 0;
  padding: 0.25em;
  white-space: nowrap;
}
.pf2e.item.sheet.spell form .tab.details.active .overlay .traits {
  align-items: center;
  display: flex;
  gap: 4px;
}
.pf2e.item.sheet.spell form .tab.details.active .overlay .traits .tags {
  flex: 1;
}
.pf2e.item.sheet.spell form .tab.details.active .variants .variant {
  display: grid;
  grid-template-columns: 1fr 1fr 0.2fr;
}
.pf2e.item.sheet.spell form .tab.details.active .variants .variant .item-controls {
  justify-self: end;
}
.pf2e.item.sheet.spell form .tab.details.active .form-group.save .form-fields, .pf2e.item.sheet.spell form .tab.details.active .form-group.duration .form-fields {
  gap: 2rem;
}
.pf2e.item.sheet.spell form .tab.details.active .form-group.save .form-fields > *, .pf2e.item.sheet.spell form .tab.details.active .form-group.duration .form-fields > * {
  display: flex;
  flex-wrap: nowrap;
}
.pf2e.item.sheet.spell form .tab.details.active .form-group.save .form-fields > * label, .pf2e.item.sheet.spell form .tab.details.active .form-group.duration .form-fields > * label {
  flex: 0 1 fit-content;
}

#item-attacher .content {
  --animate-delay: 1s;
  --animate-duration: 1s;
  --animate-repeat: 1;
  --form-field-height: 1.5rem;
}
#item-attacher .content input[type=checkbox] {
  flex: 0 0 var(--font-size-20);
  height: var(--font-size-20);
  margin: var(--space-3) var(--space-5);
  width: var(--font-size-20);
}
#item-attacher .content select {
  height: var(--form-field-height);
}
#item-attacher .content h3 {
  border-bottom: none;
}
#item-attacher .content button > i {
  margin-right: 0;
}
#item-attacher .content > * {
  display: flex;
}
#item-attacher .content .form-group {
  --arrow-width: 3rem;
  align-items: center;
  flex-wrap: nowrap;
  gap: calc(1.5rem + var(--arrow-width));
  justify-content: space-between;
  position: relative;
}
#item-attacher .content .form-group .attachment {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  position: relative;
  width: fit-content;
}
#item-attacher .content .form-group .attachment img {
  width: 2.5rem;
}
#item-attacher .content .form-group .attachment span {
  white-space: nowrap;
}
#item-attacher .content .form-group .arrow {
  align-items: center;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 1px;
  bottom: var(--space-8);
  color: var(--color-text-dark-4);
  display: flex;
  flex: 1;
  font-size: var(--font-size-16);
  height: var(--form-field-height);
  justify-content: center;
  left: 2.95rem;
  position: absolute;
  width: var(--arrow-width);
}
#item-attacher .content .form-group .arrow i {
  padding-left: var(--space-3);
}
#item-attacher .content .form-group .arrow:after {
  border: var(--space-12) solid transparent;
  border-left-color: rgba(0, 0, 0, 0.1);
  border-radius: 1px;
  content: "";
  left: 100%;
  position: absolute;
}
#item-attacher .content .form-group .choices {
  width: calc(4 * var(--arrow-width));
}
#item-attacher .content .form-group .choices tags {
  width: 100%;
}
#item-attacher .content footer button:disabled {
  background: rgba(0, 0, 0, 0.1);
  border-color: transparent;
}
#item-attacher .content footer label {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.persistent-damage-dialog {
  /** Work around Font Awesome styling bug present as of version 6.2 */
}
.persistent-damage-dialog i.fa-fw {
  min-width: 1em;
}
.persistent-damage-dialog h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.persistent-damage-dialog h3 a {
  float: right;
  font-size: 0.8em;
}
.persistent-damage-dialog h3 a:hover i {
  animation: rotation 2s infinite linear;
}
@keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(359deg);
  }
}
.persistent-damage-dialog .entries {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.persistent-damage-dialog .entries:not(.new) {
  margin-bottom: 0.5rem;
}
.persistent-damage-dialog .persistent-entry {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.persistent-damage-dialog .persistent-entry.inactive .input-fields input span,
.persistent-damage-dialog .persistent-entry.inactive .input-fields input i, .persistent-damage-dialog .persistent-entry.inactive .input-fields input:not(:focus),
.persistent-damage-dialog .persistent-entry.inactive .input-fields select span,
.persistent-damage-dialog .persistent-entry.inactive .input-fields select i,
.persistent-damage-dialog .persistent-entry.inactive .input-fields select:not(:focus),
.persistent-damage-dialog .persistent-entry.inactive .input-fields label:not(:focus-within) span,
.persistent-damage-dialog .persistent-entry.inactive .input-fields label:not(:focus-within) i,
.persistent-damage-dialog .persistent-entry.inactive .input-fields label:not(:focus-within):not(:focus) {
  opacity: 0.7;
  text-decoration: line-through;
}
.persistent-damage-dialog .persistent-entry a {
  padding: 0.25em;
}
.persistent-damage-dialog .persistent-entry .input-fields {
  display: flex;
  gap: 0.25rem;
  align-items: baseline;
  select-height: var(--form-field-height);
}
.persistent-damage-dialog .persistent-entry .input-fields label {
  display: flex;
  align-items: baseline;
  gap: 0.19rem;
  height: 100%;
}
.persistent-damage-dialog .persistent-entry .input-fields .dc {
  width: 2.5rem;
}

#darkness-adjuster {
  background: none;
  box-shadow: 0 0 10px black;
  height: 38px !important;
}
#darkness-adjuster .window-header {
  display: none;
}
#darkness-adjuster .window-content {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid black;
  border-radius: 5px;
  padding: 6px 12px 0;
}
#darkness-adjuster .slider {
  height: 6px;
}
#darkness-adjuster .slider .noUi-base {
  background: #ecc1b3;
  cursor: pointer;
}
#darkness-adjuster .slider .noUi-base .noUi-origin .noUi-handle {
  background: none;
  border: none;
  box-shadow: none;
  color: var(--text-light);
  font-size: var(--font-size-16);
  height: 14px;
  width: 14px;
  top: -5px;
  right: -7px;
  text-shadow: 0 0 4px black;
}
#darkness-adjuster .slider .noUi-base .noUi-origin .noUi-handle.threshold_bright-light, #darkness-adjuster .slider .noUi-base .noUi-origin .noUi-handle.threshold_darkness {
  pointer-events: none;
}
#darkness-adjuster .slider .noUi-base .noUi-origin .noUi-handle.threshold_darkness {
  font-size: var(--font-size-14);
}
#darkness-adjuster .slider .noUi-base .noUi-origin .noUi-handle.darkness-level {
  background: #c85019;
  border: 1px solid black;
  border-radius: 2px;
  box-shadow: 1px 1px 4px black;
  height: 12px;
  width: 12px;
  right: -6px;
  top: -4px;
}
#darkness-adjuster .slider .noUi-base .noUi-origin .noUi-handle.darkness-level .noUi-touch-area {
  cursor: grab;
}
#darkness-adjuster .slider .noUi-base .noUi-origin .noUi-handle.darkness-level:active .noUi-touch-area {
  cursor: grabbing;
}
#darkness-adjuster .slider .noUi-base .noUi-origin .noUi-handle::before, #darkness-adjuster .slider .noUi-base .noUi-origin .noUi-handle::after {
  background: none;
}
#darkness-adjuster .slider .noUi-base .noUi-origin .noUi-handle i.fa-solid {
  cursor: default;
  left: -1px;
  opacity: 0.6;
  position: absolute;
  top: 0;
}
#darkness-adjuster .slider .noUi-base .noUi-connect.range_bright-light {
  background: #fdfbd3;
}
#darkness-adjuster .slider .noUi-base .noUi-connect.range_darkness {
  background: #16193a;
}
#darkness-adjuster .slider .noUi-pips {
  height: 12px;
}
#darkness-adjuster .slider .noUi-pips .noUi-marker.noUi-marker-large {
  height: 12px;
}
#darkness-adjuster .slider .noUi-pips .noUi-value {
  display: none;
}
#darkness-adjuster .synchronized .slider .noUi-base {
  cursor: not-allowed;
}
#darkness-adjuster .synchronized .slider .message {
  display: flex;
  justify-content: center;
  position: relative;
  top: 0.5em;
  width: 100%;
}
#darkness-adjuster .synchronized .slider .message span {
  color: var(--color-text-light-1);
  text-shadow: 1px 1px black;
  z-index: 1;
}
#darkness-adjuster .synchronized .slider .noUi-origin .noUi-handle {
  cursor: not-allowed;
}
#darkness-adjuster .synchronized .slider .noUi-origin .noUi-handle.darkness-level {
  background: var(--color-disabled);
  border: none;
  box-shadow: none;
}
#darkness-adjuster .synchronized .slider .noUi-origin .noUi-handle.darkness-level .noUi-touch-area, #darkness-adjuster .synchronized .slider .noUi-origin .noUi-handle.darkness-level:active .noUi-touch-area {
  cursor: inherit;
}
#darkness-adjuster .synchronized .slider .noUi-origin .noUi-handle i.fa-solid {
  cursor: inherit;
}
#darkness-adjuster .synchronized .slider .noUi-pips {
  visibility: hidden;
}

.scene-sheet nav .action-glyph {
  font-size: var(--font-size-15);
}
.scene-sheet span.range-value.disabled {
  border: none;
  color: #777;
}
.scene-sheet button.automation-settings {
  align-self: end;
  display: flex;
  margin: -1px 0 -1px 4px;
  padding: 0.3125rem 0.5em;
}
.scene-sheet button.automation-settings > i {
  margin: 0;
}

.app.token-sheet .tab.active[data-tab=appearance] fieldset {
  border: 1px solid var(--color-border-light-primary);
}
.app.token-sheet .tab.active[data-tab=appearance] fieldset > legend {
  font-size: var(--font-size-15);
  color: #333;
}
.app.token-sheet .tab.active[data-tab=appearance] fieldset input[type=number] {
  max-width: 60px;
  text-align: center;
}
.app.token-sheet .tab.active[data-tab=appearance] fieldset input[type=number]:disabled {
  border: none;
  color: var(--color-text-dark-6);
}
.app.token-sheet .tab.active[data-tab=appearance] fieldset select.alternate-images {
  max-width: 20em;
}
.app.token-sheet .tab.active[data-tab=appearance] fieldset:last-child {
  margin: 6px 0;
}
.app.token-sheet .tab[data-tab=vision] .disabled[data-tab] {
  color: var(--color-text-dark-6);
  pointer-events: none;
}
.app.token-sheet .tab[data-tab=vision] a.managed-by-rbv {
  padding-left: 0.33em;
}
.app.token-sheet .tab[data-tab=vision] a.managed-by-rbv.disabled {
  cursor: default;
}
.app.token-sheet .tab[data-tab=vision] a.managed-by-rbv.disabled:hover {
  text-shadow: none;
}
.app.token-sheet .form-group.children-disabled .range-value {
  border: none;
  background-color: rgba(0, 0, 0, 0.05);
  color: #777;
}

#controls ol.control-tools > li:has(> i.gm-vision) {
  background: rgba(71, 51, 255, 0.3);
  color: rgb(232, 229.5, 255);
}

#homebrew-settings section.window-content {
  overflow: hidden;
}
#homebrew-settings section.window-content .tab.active {
  min-height: 4rem;
  max-height: 40rem;
  overflow-y: auto;
  overflow-x: hidden;
}
#homebrew-settings section.window-content .tab.active[data-tab=languages] {
  padding-right: var(--space-8);
}
#homebrew-settings section.window-content .form-group.setting {
  display: inherit;
}
#homebrew-settings section.window-content .form-group.setting tags {
  --tag-bg: rgba(255, 255, 255, 0.25);
  --tag-remove-bg: var(--tag-hover);
  --tag-remove-btn-bg--hover: var(--text-dark);
  --tag-text-color--edit: var(--text-dark);
  --tags-border-color: var(--color-border-light-tertiary);
  background-color: rgba(0, 0, 0, 0.05);
  font-size: var(--font-size-13);
}
#homebrew-settings section.window-content .form-group.common-language {
  margin-top: 0.5em;
}
#homebrew-settings section.window-content .form-group.language-rarity label {
  --form-field-height: 1em;
  column-gap: var(--space-3);
  padding-bottom: var(--space-3);
}
#homebrew-settings section.window-content .form-group.language-rarity ul {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  border: 1px solid var(--color-border-light-tertiary);
  gap: 0.25em;
  margin-top: 0;
  min-height: 2em;
  padding: 0.25em;
}
#homebrew-settings section.window-content .form-group.language-rarity ul li {
  background: rgba(255, 255, 255, 0.2);
  cursor: grab;
}
#homebrew-settings section.window-content .form-group.language-rarity ul li:hover {
  box-shadow: 0 0 0.3em;
}
#homebrew-settings section.window-content .form-group.language-rarity ul li.drag-gap {
  border-color: var(--tag-color);
  box-shadow: 0 0 0.3em var(--tag-color);
  color: transparent;
}
#homebrew-settings section.window-content .form-group.language-rarity.common li:hover {
  --tag-color: var(--color-rarity-common);
}
#homebrew-settings section.window-content .form-group.language-rarity.uncommon li:hover {
  --tag-color: var(--color-rarity-uncommon);
}
#homebrew-settings section.window-content .form-group.language-rarity.rare li:hover {
  --tag-color: var(--color-rarity-rare);
}
#homebrew-settings section.window-content .form-group.language-rarity.secret li:hover {
  --tag-color: var(--color-pf-primary);
}
#homebrew-settings section.window-content .form-group.language-rarity.unavailable {
  margin-top: 1rem;
}
#homebrew-settings section.window-content .form-group.language-rarity.unavailable label {
  padding-bottom: 0;
}

table.damage-types th,
table.damage-types td {
  white-space: nowrap;
}
table.damage-types th:not(:last-child),
table.damage-types td:not(:last-child) {
  padding-right: var(--space-4);
}
table.damage-types .icon-preview {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
table.damage-types .delete-cell {
  text-align: end;
  width: 1rem;
}
table.damage-types .delete-cell i {
  padding: var(--space-2) var(--space-4);
  cursor: pointer;
}

#variant-rules-settings form {
  --form-field-height: 1.5rem;
}
#variant-rules-settings form .form-group.abp select {
  flex: 0;
}
#variant-rules-settings form .proficiency-modifiers {
  column-gap: 0.5em;
  display: grid;
  grid-template: "untrained trained expert master legendary" auto "hint hint hint hint hint" auto/1fr 1fr 1fr 1fr 1fr;
}
#variant-rules-settings form .proficiency-modifiers .hint {
  grid-area: hint;
}
#variant-rules-settings form .proficiency-modifiers .modifier label {
  font-size: var(--font-size-12);
}

#world-clock-settings form .form-group .form-fields {
  flex-grow: 1;
}
#world-clock-settings form .form-group button.reset-world-time {
  flex: 1;
}

#game-details .system-links {
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  white-space: nowrap;
}
#game-details .system-links > a[href] {
  flex: 0;
  font-size: var(--font-size-12);
  text-transform: uppercase;
}
#game-details .system-links > a[href]:hover {
  text-shadow: 0 0 8px var(--color-text-hyperlink);
}
#game-details .system-info {
  white-space: nowrap;
}

#client-settings form .form-group > label {
  flex: 2.5;
}

.settings-menu form {
  --form-field-height: 1.5rem;
}
.settings-menu form .form-group > label {
  flex: 2.5;
}
.settings-menu form .instructions {
  text-align: center;
}
.settings-menu form footer {
  margin-top: 0.5em;
  display: flex;
  flex-wrap: nowrap;
}

#metagame-settings form .form-group > label {
  flex: 3;
}

.select-craft-item-dialog .drop-item-zone {
  display: flex;
  align-items: center;
  margin: 0 2px 5px;
}
.select-craft-item-dialog .item-icon {
  height: 32px;
  width: 32px;
  margin-right: 3px;
}
.select-craft-item-dialog .button-panel {
  display: flex;
}

.select-repair-item-dialog .drop-item-zone {
  display: flex;
  align-items: center;
  margin: 0 2px 5px;
}
.select-repair-item-dialog .item-icon {
  height: 32px;
  width: 32px;
  margin-right: 3px;
}
.select-repair-item-dialog .button-panel {
  display: flex;
}

.app.choice-set-prompt .window-content h3 {
  display: flex;
  justify-content: center;
}
.app.choice-set-prompt .window-content button,
.app.choice-set-prompt .window-content select {
  display: flex;
  margin: var(--space-4) auto;
}
.app.choice-set-prompt .window-content .choices {
  margin: auto;
  max-width: max-content;
}
.app.choice-set-prompt .window-content .choices.select-menu {
  min-width: 18em;
}
.app.choice-set-prompt .window-content .choices.select-menu tags {
  background-color: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-border-light-tertiary);
  border-radius: 3px;
  height: 2rem;
  width: 100%;
}
.app.choice-set-prompt .window-content .choices.select-menu tags .tagify__input {
  align-items: center;
  display: flex;
  height: 100%;
  margin: 0;
}
.app.choice-set-prompt .window-content .choices button,
.app.choice-set-prompt .window-content .choices .drop-zone {
  cursor: pointer;
  max-width: 100%;
}
.app.choice-set-prompt .window-content .choices button:not(.with-image),
.app.choice-set-prompt .window-content .choices .drop-zone:not(.with-image) {
  min-width: 120px;
  justify-content: center;
}
.app.choice-set-prompt .window-content .choices button.with-image,
.app.choice-set-prompt .window-content .choices .drop-zone.with-image {
  align-items: center;
}
.app.choice-set-prompt .window-content .choices button.with-image img,
.app.choice-set-prompt .window-content .choices .drop-zone.with-image img {
  border: 1px solid #444;
  height: 1.6em;
  margin-right: 0.5em;
}
.app.choice-set-prompt .window-content .choices .choice-buttons {
  align-items: center;
  display: flex;
  flex-direction: column;
}
.app.choice-set-prompt .window-content .choices .choice-buttons .choice {
  align-items: center;
  display: flex;
  gap: 0.5em;
  width: 100%;
}
.app.choice-set-prompt .window-content .choices .choice-buttons .choice.select {
  margin-bottom: 0.5rem;
}
.app.choice-set-prompt .window-content .choices .choice-buttons .choice a.item-info {
  align-items: center;
  border: 1px solid var(--color-text-light-primary);
  border-radius: 2px;
  display: flex;
  height: var(--font-size-20);
  justify-content: center;
  min-width: var(--font-size-20);
}
.app.choice-set-prompt .window-content .choices .choice-buttons .choice a.item-info.disabled {
  color: var(--color-disabled);
  cursor: default;
}
.app.choice-set-prompt .window-content .choices .choice-buttons .choice a.item-info.disabled:hover, .app.choice-set-prompt .window-content .choices .choice-buttons .choice a.item-info.disabled:active {
  text-shadow: none;
}
.app.choice-set-prompt .window-content .choices .drop-zone {
  border: 1px solid var(--color-border-light-primary);
  border-radius: 3px;
  color: var(--color-text-dark-2);
  cursor: default;
  display: flex;
  font-family: var(--font-primary);
  font-size: var(--font-size-14);
  line-height: 1.75rem;
  padding: var(--space-1) var(--space-6);
}
.app.choice-set-prompt .window-content .choices .drop-zone i {
  align-items: center;
  border: 1px solid var(--color-text-light-4);
  border-radius: 2px;
  display: flex;
  height: 1.6em;
  justify-content: center;
  margin-right: 0.5em;
  width: 1.6em;
}
.app.choice-set-prompt .window-content .choices .drop-zone i:after {
  font-size: var(--font-size-20);
}
.app.choice-set-prompt .window-content .choices .drop-zone span {
  color: var(--text-dark);
  flex: 1;
}

.compendium-browser-settings {
  height: 100%;
}
.compendium-browser-settings h2 {
  font-family: var(--font-primary);
  color: var(--color-text-primary);
  font-size: 1.5em;
  text-shadow: unset;
  height: 1em;
}
.compendium-browser-settings h3 {
  font-family: var(--font-primary);
  color: var(--color-text-primary);
  font-size: 1.25em;
  border-bottom: 1px solid var(--color-underline-header);
  text-shadow: unset;
}
.compendium-browser-settings fieldset {
  display: flex;
  flex-direction: column;
  border: none;
}
.compendium-browser-settings fieldset label {
  display: flex;
  align-items: center;
}
.compendium-browser-settings fieldset input[type=checkbox] {
  margin-right: 2em;
}
.compendium-browser-settings fieldset legend {
  font-size: 1.25em;
  text-decoration: underline;
}
.compendium-browser-settings .outer-container {
  display: flex;
  height: 95%;
  flex-direction: column;
  margin-bottom: 10px;
}
.compendium-browser-settings .outer-container .setting-section {
  border: 1px solid #bbb;
  border-radius: 5px;
  margin-top: 5px;
  padding: 2px;
}
.compendium-browser-settings .outer-container .setting-section .sources-header {
  display: flex;
  width: 100%;
  align-items: center;
}
.compendium-browser-settings .outer-container .settings-container {
  overflow-y: auto;
}
.compendium-browser-settings .outer-container .settings-container .tab[data-tab=packs].active {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1em;
  width: 100%;
}
.compendium-browser-settings .outer-container .settings-container .tab[data-tab=packs].active .setting-section {
  width: 48%;
  margin-bottom: 0.5em;
}
.compendium-browser-settings .outer-container .settings-container .tab[data-tab=source].active {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}
.compendium-browser-settings .outer-container .settings-container .single-column {
  width: 100%;
}
.compendium-browser-settings .outer-container .settings-container .fixed-height {
  min-height: 22.9em;
}
.compendium-browser-settings .outer-container .settings-container h2 {
  margin-top: 1em;
  margin-bottom: 0.5em;
  width: 100%;
}
.compendium-browser-settings > nav {
  border-style: solid;
  border-image-outset: 0;
  border-width: 9px;
  border-image: url("../assets/sheet/corner-box.webp") 9 repeat;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  flex: 0;
  width: 100%;
  display: inline-flex;
  justify-content: space-evenly;
  align-items: center;
  background: var(--secondary);
  background: url("../assets/sheet/border-pattern.webp") repeat-x top, url("../assets/sheet/border-pattern.webp") repeat-x bottom, var(--secondary);
}
.compendium-browser-settings > nav > a {
  color: var(--sidebar-label);
  padding: 4px 0;
  font-family: var(--sans-serif);
  font-size: var(--font-size-12);
  position: relative;
}
.compendium-browser-settings > nav > a.active::after {
  bottom: -2px;
  right: 39%;
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid var(--sidebar-label);
}
.compendium-browser-settings button.save-settings {
  background: rgba(0, 0, 0, 0.1);
  border: 2px groove var(--color-border-light-highlight);
}

.compendium-migration-status .content {
  min-width: 15rem;
}
.compendium-migration-status table * {
  user-select: text;
}
.compendium-migration-status table * th,
.compendium-migration-status table * td {
  padding: 0.25em 0.5em;
  white-space: nowrap;
}
.compendium-migration-status table * th {
  padding-left: 1em;
  text-align: end;
}
.compendium-migration-status table * td {
  width: 100%;
}
.compendium-migration-status .empty {
  opacity: 0.8;
}
.compendium-migration-status .updated {
  border: 1px dashed var(--alt);
  line-height: 28px;
  text-align: center;
}
.compendium-migration-status .migrate {
  display: flex;
  padding: 0.125rem;
}
.compendium-migration-status .migrate > * {
  flex: 1;
}

#effects-panel {
  pointer-events: initial;
  position: absolute;
  top: 5px;
  right: -4px;
  bottom: 5px;
  display: flex;
  height: fit-content;
  max-height: 99%;
}
#effects-panel .effects-list {
  flex: 1 1 100%;
  overflow: auto;
  scrollbar-gutter: stable;
}
#effects-panel .effect-item {
  display: flex;
  justify-content: end;
  height: 52px;
}
#effects-panel .effect-item[data-badge-type=formula] .icon {
  cursor: pointer;
}
#effects-panel .effect-item[data-badge-type=formula] .icon:hover::before {
  content: "\f6cf";
  background: rgba(0, 0, 0, 0.5);
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: var(--font-size-26);
  color: var(--text-light);
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 4px;
}
#effects-panel .effect-item > .icon {
  border: 1px solid rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 1px #c0c0c0, 0 0 0 2px #808080;
  align-items: center;
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: 0 0 0 1px #c0c0c0, 0 0 0 2px #808080, inset 0 0 4px rgba(0, 0, 0, 0.5);
  color: transparent;
  display: flex;
  justify-content: center;
  position: relative;
  margin: 2px;
  height: 48px;
  width: 48px;
}
#effects-panel .effect-item > .icon.aura {
  border-radius: 50%;
  box-shadow: 0px 0px 10px 5px white;
}
#effects-panel .effect-item > .icon.unidentified {
  filter: drop-shadow(0 0 8px var(--visibility-gm-bg));
}
#effects-panel .effect-item > .icon .expired {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  padding: 2px 1px;
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  color: var(--text-light);
  background-color: var(--primary);
}
#effects-panel .effect-item > .icon .linked {
  position: absolute;
  display: inline-block;
  bottom: -1px;
  right: -1px;
  padding: 0px 2px;
  color: var(--text-light);
  background-color: rgba(0, 0, 0, 0.75);
}
#effects-panel .effect-item > .icon .value-wrapper {
  position: absolute;
  bottom: -1px;
  left: -1px;
  max-width: calc(100% + 2px);
  padding: 0px 2px;
  color: var(--text-light);
  background-color: rgba(0, 0, 0, 0.75);
  font-size: var(--font-size-13);
  letter-spacing: -0.05em;
  white-space: nowrap;
  overflow: hidden;
}
#effects-panel .effect-item > .icon .value-wrapper .value {
  overflow: hidden;
  text-overflow: ellipsis;
}
#effects-panel .effect-item > .icon .value-wrapper .value strong {
  display: inline-block;
  padding-right: 1px;
}
#effects-panel > hr {
  margin-right: 0;
  width: 48px;
}

aside.effect-info {
  background-color: rgba(0, 0, 0, 0.75);
  color: var(--color-text-light-2);
  gap: 3px;
  height: min-content;
  margin-right: 0.5em;
  max-width: 350px;
  padding: 0.25em 0.5rem;
  z-index: 9998;
}
aside.effect-info .content {
  display: flex;
  align-items: end;
  flex-direction: column;
}
aside.effect-info h1 {
  margin: 0;
  padding: 0;
  border: none;
  display: flex;
  font-size: var(--font-size-14);
  padding-top: 0.25em;
  text-align: right;
}
aside.effect-info h1 a[data-action=send-to-chat] i {
  font-size: var(--font-size-13);
  margin-left: 2px;
}
aside.effect-info > a.inline-check {
  font-size: var(--font-size-13);
  font-weight: normal;
  line-height: normal;
  vertical-align: middle;
}
aside.effect-info .tags {
  justify-content: end;
}
aside.effect-info .tags .tag {
  margin-bottom: 0;
}
aside.effect-info .tags .tag + .tag, aside.effect-info .tags .tag:first-child {
  margin-left: 3px;
  margin-right: -2px;
}
aside.effect-info .instructions,
aside.effect-info .description {
  font-size: var(--font-size-12);
}
aside.effect-info .instructions {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
}
aside.effect-info .description {
  background: rgba(0, 0, 0, 0.7);
  max-height: 22em;
  overflow-y: auto;
  padding: 0 0.5em;
  text-align: left;
}
aside.effect-info .description a,
aside.effect-info .description span[data-pf2-effect-area] {
  color: var(--color-text-dark-primary);
}
aside.effect-info .description hr {
  border: none;
  border-bottom: 2px groove #bbbbbb;
}
aside.effect-info .description .addendum {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0 var(--space-4);
}
aside.effect-info .description .addendum + .addendum {
  margin: var(--space-4) 0;
}
aside.effect-info .description .addendum h4 {
  font-weight: bold;
  margin-bottom: 0;
  padding-top: var(--space-2);
}
aside.effect-info .description .addendum h4 + p {
  margin-top: 0;
}
aside.effect-info .description .addendum p {
  margin: var(--space-2) 0;
  min-height: unset;
}

.journal-entry-page .journal-page-content {
  --space-s: 0.25em;
  --space-m: 0.5em;
  --space-l: 1em;
  --space-xl: 1.5em;
  --space-2xl: 2em;
  --radius: 3px;
}
.journal-entry-page .journal-page-content :is(h1, h2, h3, h4, h5, h6):not(:first-child) {
  margin-top: 1em;
}
.journal-entry-page .journal-page-content .inline-header {
  display: flex;
  align-items: center;
  gap: var(--space-l);
  background-color: var(--alt);
  font-family: var(--sans-serif);
  color: var(--text-light);
  padding: 0;
  font-size: 0.8em;
  font-weight: 400;
  border: none;
}
.journal-entry-page .journal-page-content .inline-header strong {
  display: inline-flex;
  padding: 0 var(--space-m);
  background-color: var(--primary);
  min-width: 15ch;
  border-right: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  font-weight: 400;
}
.journal-entry-page .journal-page-content .inline-header + p {
  margin-top: var(--space-s);
}
.journal-entry-page .journal-page-content .info {
  background-color: var(--secondary);
  padding: var(--space-m);
  color: var(--text-light);
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  border-radius: var(--radius);
  font-family: var(--sans-serif);
  padding-bottom: var(--space-m);
}
.journal-entry-page .journal-page-content .info > * + * {
  margin-top: var(--space-m);
}
.journal-entry-page .journal-page-content .info + * {
  margin-top: var(--space-xl);
}
.journal-entry-page .journal-page-content .info + .journal-entry-page .journal-page-content .info {
  margin-top: var(--space-s);
}
.journal-entry-page .journal-page-content .info h4 {
  font-size: 0.9em;
  font-weight: 400;
  line-height: 1.2;
  font-family: var(--sans-serif);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  padding: var(--space-m) var(--space-l);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-light);
}
.journal-entry-page .journal-page-content .info h4::after {
  font-family: "Font Awesome 6";
  content: "\f05a";
  font-weight: 900;
  margin-right: var(--space-s);
}
.journal-entry-page .journal-page-content .info p,
.journal-entry-page .journal-page-content .info span {
  font-size: 0.8em;
  margin: 0;
  padding: 0 var(--space-l);
}
.journal-entry-page .journal-page-content .info p:first-of-type,
.journal-entry-page .journal-page-content .info span:first-of-type {
  padding-top: var(--space-m);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.journal-entry-page .journal-page-content .traits {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}
.journal-entry-page .journal-page-content .traits p,
.journal-entry-page .journal-page-content .traits span {
  display: inline-flex;
  padding: 0.16rem 0.25rem;
  margin: 0;
  background-color: var(--primary);
  border: 2px solid var(--color-border-trait);
  color: var(--text-light);
  font: 500 var(--font-size-10) var(--sans-serif);
  text-transform: uppercase;
}
.journal-entry-page .journal-page-content .statblock {
  font-family: var(--sans-serif-condensed);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: var(--space-m);
}
.journal-entry-page .journal-page-content .statblock > * + * {
  margin-top: var(--space-s);
  margin-bottom: 0;
}
.journal-entry-page .journal-page-content .statblock p {
  --indent: var(--space-l);
  margin-left: var(--indent);
  position: relative;
}
.journal-entry-page .journal-page-content .statblock p strong:first-of-type {
  margin-left: calc(var(--indent) * -1);
}
.journal-entry-page .journal-page-content .statblock p .trait:first-of-type {
  margin-left: calc(var(--indent) * -1 - 2px);
}
.journal-entry-page .journal-page-content .statblock span.pf2-icon {
  line-height: 1;
}
.journal-entry-page .journal-page-content .statblock h1,
.journal-entry-page .journal-page-content .statblock h2,
.journal-entry-page .journal-page-content .statblock h3,
.journal-entry-page .journal-page-content .statblock h4 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border-dark);
  text-transform: uppercase;
  letter-spacing: -0.05em;
  font-family: var(--sans-serif-condensed);
  font-weight: 700;
}
.journal-entry-page .journal-page-content .statblock hr {
  border: none;
  border-bottom: 1px solid var(--color-border-dark);
}
.journal-entry-page .journal-page-content .message {
  font-family: var(--journal-cursive);
  font-size: 2em;
  line-height: 1.2;
}
.journal-entry-page .journal-page-content .fumble-deck h1 {
  font-family: var(--font-primary);
  font-size: 1.75em;
  font-weight: bold;
  line-height: normal;
  text-transform: uppercase;
  color: var(--text-dark);
  border: 2px solid;
  border-radius: 15px;
  padding: 0 0 0 1.5em;
  background-size: 1.22em;
  background-repeat: no-repeat;
  background-color: #e5bf85;
  position: relative;
  top: 1em;
  width: 80%;
}
.journal-entry-page .journal-page-content .fumble-deck h1:first-child {
  background-image: url("../icons/equipment/weapons/gnome-hooked-hammer.webp");
}
.journal-entry-page .journal-page-content .fumble-deck h1:nth-of-type(2) {
  background-image: url("../icons/equipment/weapons/longbow.webp");
}
.journal-entry-page .journal-page-content .fumble-deck h1:nth-of-type(3) {
  background-image: url("../icons/equipment/weapons/fist.webp");
}
.journal-entry-page .journal-page-content .fumble-deck h1:nth-of-type(4) {
  background-image: url("../icons/spells/chain-lightning.webp");
}
.journal-entry-page .journal-page-content .fumble-deck blockquote {
  font-family: var(--font-primary);
  border-left: none;
  background-color: #000059;
  color: var(--text-light);
  font-size: 120%;
  margin-left: 0.7em;
  padding: 1.2em 1.25em 0.75em;
  border-radius: 8px;
}
.journal-entry-page .journal-page-content .fumble-deck blockquote a {
  color: var(--text-dark);
}
.journal-entry-page .journal-page-content .fumble-deck blockquote span.with-repost {
  color: var(--text-dark);
}
.journal-entry-page .journal-page-content .fumble-deck code {
  font-family: var(--font-primary);
  font-weight: bold;
  font-size: 100%;
  line-height: normal;
  background-image: url("../assets/critfumble-banner.webp");
  background-size: 100% 100%;
  box-shadow: 5px 5px 10px 3px #282a2d;
  display: inline-block;
  float: right;
  text-align: center;
  margin-top: -1.75em;
  margin-right: 0.75em;
  width: 7em;
  padding: 0.5em;
}
.journal-entry-page .journal-page-content .critical-deck h1 {
  font-family: var(--font-primary);
  font-size: 1.75em;
  font-weight: bold;
  line-height: normal;
  text-transform: uppercase;
  color: var(--text-dark);
  border: 2px solid;
  border-radius: 15px;
  padding: 0 0 0 1.5em;
  background-size: 1.22em;
  background-repeat: no-repeat;
  background-color: #e5bf85;
  position: relative;
  top: 1em;
  width: 80%;
}
.journal-entry-page .journal-page-content .critical-deck h1:first-child {
  background-image: url("../icons/equipment/weapons/light-hammer.webp");
}
.journal-entry-page .journal-page-content .critical-deck h1:nth-of-type(2) {
  background-image: url("../../../icons/weapons/polearms/javelin.webp");
}
.journal-entry-page .journal-page-content .critical-deck h1:nth-of-type(3) {
  background-image: url("../../../icons/weapons/axes/axe-battle-worn.webp");
}
.journal-entry-page .journal-page-content .critical-deck h1:nth-of-type(4) {
  background-image: url("../../../icons/weapons/thrown/bomb-fuse-cloth-pink.webp");
}
.journal-entry-page .journal-page-content .critical-deck blockquote {
  font-family: var(--font-primary);
  border-left: none;
  background: rgb(14, 40, 17);
  background: radial-gradient(circle, rgb(14, 40, 17) 10%, rgb(20, 59, 25) 50%, rgb(14, 40, 17) 90%);
  color: var(--text-light);
  font-size: 120%;
  margin-left: 0.7em;
  padding: 1.2em 1.25em 0.75em;
  border-radius: 8px;
}
.journal-entry-page .journal-page-content .critical-deck blockquote a {
  color: var(--text-dark);
}
.journal-entry-page .journal-page-content .critical-deck blockquote span.with-repost {
  color: var(--text-dark);
}
.journal-entry-page .journal-page-content .critical-deck code {
  font-family: var(--font-primary);
  font-weight: bold;
  font-size: 100%;
  line-height: normal;
  background-image: url("../assets/critfumble-banner.webp");
  background-size: 100% 100%;
  box-shadow: 5px 5px 10px 3px #282a2d;
  display: inline-block;
  float: right;
  text-align: center;
  margin-top: -1.75em;
  margin-right: 0.75em;
  width: 9em;
  padding: 0.5em;
}

#license-viewer > section.window-content > .content-box {
  flex: 1;
  overflow: hidden;
  height: inherit;
}
#license-viewer > section.window-content > .content-box > nav {
  border-style: solid;
  border-image-outset: 0;
  border-width: 9px;
  border-image: url("../assets/sheet/corner-box.webp") 9 repeat;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  flex: 0;
  width: 100%;
  display: inline-flex;
  justify-content: space-evenly;
  align-items: center;
  background: var(--secondary);
  background: url("../assets/sheet/border-pattern.webp") repeat-x top, url("../assets/sheet/border-pattern.webp") repeat-x bottom, var(--secondary);
}
#license-viewer > section.window-content > .content-box > nav > a {
  color: var(--sidebar-label);
  padding: 4px 0;
  font-family: var(--sans-serif);
  font-size: var(--font-size-12);
  position: relative;
}
#license-viewer > section.window-content > .content-box > nav > a.active::after {
  bottom: -2px;
  right: 39%;
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid var(--sidebar-label);
}
#license-viewer > section.window-content > .content-box > section.content {
  height: 96%;
  padding-top: 0.5em;
}
#license-viewer > section.window-content > .content-box > section.content .landing-page {
  width: 100%;
  justify-content: center;
  text-align: center;
  padding: 2em;
}
#license-viewer > section.window-content > .content-box > section.content > .tab.browser.active {
  height: inherit;
}
#license-viewer > section.window-content > .content-box > section.content > .tab.browser.active > div {
  display: grid;
  grid-template-columns: 320px auto;
}
#license-viewer > section.window-content > .content-box > section.content > .tab.browser.active > div .control-area {
  grid-column-start: 1;
}
#license-viewer > section.window-content > .content-box > section.content > .tab.browser.active > div ul {
  grid-column-start: 2;
}

#migration-summary > .window-content h3 {
  margin: auto;
}
#migration-summary > .window-content .dialog-content > table i.fa-check {
  color: green;
}
#migration-summary > .window-content .dialog-content > table i.fa-times {
  color: red;
}
#migration-summary > .window-content .dialog-content > table td {
  text-align: center;
}
#migration-summary > .window-content .dialog-buttons {
  display: flex;
}
#migration-summary > .window-content .dialog-buttons:disabled:hover {
  box-shadow: none;
}

#upw-viewer .window-content {
  background: no-repeat right url("../assets/upw-logo.webp") black;
}
#upw-viewer .window-content .content {
  color: #eee;
  width: 435px;
  font-size: larger;
}
#upw-viewer .window-content .content a[href] {
  color: #8b6cae;
  font-size: large;
  display: block;
  text-align: center;
}

#world-clock section.window-content {
  font-size: 1rem;
}
#world-clock section.window-content h1 {
  font-size: inherit;
  text-align: center;
}
#world-clock section.window-content .input-grid {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.8rem;
  justify-content: space-evenly;
}
#world-clock section.window-content .input-grid > * {
  flex-basis: 32%;
  height: 1.5rem;
  line-height: 20px;
}
#world-clock section.window-content .input-grid .sign {
  font-family: var(--sans-serif-monospace);
  font-size: inherit;
}
#world-clock section.window-content .input-grid button {
  align-items: center;
  display: flex;
  font-size: inherit;
  justify-content: center;
  margin: 1px;
}
#world-clock section.window-content .input-grid button img {
  border: none;
  height: 1.5em;
}
#world-clock section.window-content .input-grid .time-of-day {
  display: flex;
  flex-basis: 100%;
  margin: 0 3px;
}
#world-clock section.window-content .input-grid .time-of-day img.midnight {
  height: 1.05rem;
}

.tags:not(.form-fields) {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style-type: none;
  margin-bottom: var(--space-2);
  padding-left: 0;
}
.tags:not(.form-fields) .tag,
.tags:not(.form-fields) .tag option {
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
  align-items: center;
  background-color: var(--color-bg-trait);
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5);
  color: var(--color-text-trait);
  display: inline-flex;
  font-weight: 500;
  padding: 0.3em;
}
.tags:not(.form-fields) .tag.tag_secondary,
.tags:not(.form-fields) .tag option.tag_secondary {
  background-color: var(--color-pf-secondary);
}
.tags:not(.form-fields) .tag.tag_tertiary,
.tags:not(.form-fields) .tag option.tag_tertiary {
  background-color: var(--color-pf-tertiary);
}
.tags:not(.form-fields) .tag.tag_alt,
.tags:not(.form-fields) .tag option.tag_alt {
  background-color: var(--color-pf-alternate);
}
.tags:not(.form-fields) .tag.ghost-touch,
.tags:not(.form-fields) .tag option.ghost-touch {
  background-color: #516178;
}
.tags:not(.form-fields) .tag.tag_material,
.tags:not(.form-fields) .tag option.tag_material {
  background-color: var(--color-pf-alternate-dark);
}
.tags:not(.form-fields) .tag.tag_transparent,
.tags:not(.form-fields) .tag option.tag_transparent {
  background-color: transparent;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3);
  color: var(--color-text-dark-secondary);
  font-family: var(--sans-serif);
  line-height: 1.5em;
  padding: 0 0.5em;
  text-transform: none;
}
.tags:not(.form-fields) .tag.rarity.common, .tags:not(.form-fields) .tag.rarity[value=common],
.tags:not(.form-fields) .tag.rarity > option[value=common],
.tags:not(.form-fields) .tag option.rarity.common,
.tags:not(.form-fields) .tag option.rarity[value=common],
.tags:not(.form-fields) .tag option.rarity > option[value=common] {
  background-color: var(--color-rarity-common);
}
.tags:not(.form-fields) .tag.rarity.uncommon, .tags:not(.form-fields) .tag.rarity[value=uncommon],
.tags:not(.form-fields) .tag.rarity > option[value=uncommon],
.tags:not(.form-fields) .tag option.rarity.uncommon,
.tags:not(.form-fields) .tag option.rarity[value=uncommon],
.tags:not(.form-fields) .tag option.rarity > option[value=uncommon] {
  background-color: var(--color-rarity-uncommon);
}
.tags:not(.form-fields) .tag.rarity.rare, .tags:not(.form-fields) .tag.rarity[value=rare],
.tags:not(.form-fields) .tag.rarity > option[value=rare],
.tags:not(.form-fields) .tag option.rarity.rare,
.tags:not(.form-fields) .tag option.rarity[value=rare],
.tags:not(.form-fields) .tag option.rarity > option[value=rare] {
  background-color: var(--color-rarity-rare);
}
.tags:not(.form-fields) .tag.rarity.unique, .tags:not(.form-fields) .tag.rarity[value=unique],
.tags:not(.form-fields) .tag.rarity > option[value=unique],
.tags:not(.form-fields) .tag option.rarity.unique,
.tags:not(.form-fields) .tag option.rarity[value=unique],
.tags:not(.form-fields) .tag option.rarity > option[value=unique] {
  background-color: var(--color-rarity-unique);
}
.tags:not(.form-fields) .tag.mystified,
.tags:not(.form-fields) .tag option.mystified {
  opacity: 0.7;
}

tags.tagify[disabled] {
  pointer-events: inherit;
}
tags.tagify[disabled] select.tag.rarity {
  pointer-events: none;
}

.tags.paizo-style {
  border: none;
  gap: 0;
  padding: 0.5em 0.05em;
}
.tags.paizo-style tag,
.tags.paizo-style .tag,
.tags.paizo-style select.tag {
  background-color: var(--color-bg-trait);
  border: solid var(--color-border-trait);
  border-radius: 0;
  box-shadow: none;
  margin: 0;
}
.tags.paizo-style tag x,
.tags.paizo-style .tag x,
.tags.paizo-style select.tag x {
  align-items: start;
  margin: 0;
}
.tags.paizo-style tag__removeBtn,
.tags.paizo-style .tag__removeBtn,
.tags.paizo-style select.tag__removeBtn {
  align-items: baseline;
}
.tags.paizo-style tag,
.tags.paizo-style select.tag {
  border-width: 2px 3px 2px 2px;
}
.tags.paizo-style tag:first-child,
.tags.paizo-style select.tag:first-child {
  border-left-width: 5px;
}
.tags.paizo-style tag:last-child,
.tags.paizo-style select.tag:last-child {
  border-right-width: 5px;
}
.tags.paizo-style tag:last-of-type {
  border-right-width: 5px;
}
.tags.paizo-style .tag {
  border-width: 1px 2px 1px 1px;
}
.tags.paizo-style .tag:first-child {
  border-left-width: 3px;
}
.tags.paizo-style .tag:last-child {
  border-right-width: 3px;
}
.tags.paizo-style .tag.size {
  background-color: var(--color-bg-size);
}
.tags.paizo-style tag > div {
  border-radius: 0;
  display: flex;
  font: 500 var(--font-size-10) var(--sans-serif);
  padding: 0 0.09rem 0 var(--space-4);
}
.tags.paizo-style tag > div .tagify__tag-text {
  text-transform: uppercase;
}
.tags.paizo-style hr.vr {
  height: 1.25em;
  margin: var(--space-1) var(--space-2);
}
.tags.paizo-style[disabled] {
  filter: none;
}
.tags.paizo-style[disabled] tag > div::before {
  animation: none !important;
}
.tags.paizo-style[disabled] > .tagify__input {
  display: none;
}

.tags.light > .tag,
.tags > .tag.light {
  --tag-color: var(--color-pf-alternate-dark);
  align-items: center;
  background: none;
  border-radius: 2px;
  border: 1px solid var(--tag-color);
  box-shadow: none;
  color: var(--tag-color);
  display: flex;
  font: 700 var(--font-size-14)/1.5em var(--sans-serif);
  font-variant: all-small-caps;
  letter-spacing: normal;
  height: 1.5em;
  margin: 0;
  padding: 0 var(--space-4);
  white-space: nowrap;
  width: auto;
}
.theme-dark .tags.light > .tag,
.theme-dark .tags > .tag.light {
  --tag-color: var(--color-form-hint);
}

.chat-message .tags {
  line-height: normal;
}

tags.tags.paizo-style {
  background-color: rgba(0, 0, 0, 0.075);
  padding: 0;
  --tag-bg: var(--color-bg-trait);
  --tag-hover: var(--color-bg-trait);
  --tag-remove-btn-color: var(--color-text-trait);
  --tag-text-color: var(--color-text-trait);
  --tags-border-color: var(--color-border-trait);
  --tags-focus-border-color: var(--color-border-trait);
  --tags-hover-border-color: var(--color-border-trait);
  --readonly-striped: 0;
}
tags.tags.paizo-style .tagify__input {
  margin: 0;
  padding: 0.1em 0.5em;
}
tags.tags.paizo-style .tagify__input::before {
  align-items: center;
  color: var(--color-text-dark-secondary);
  display: flex;
  font: 500 var(--font-size-10) var(--sans-serif);
  letter-spacing: 0.05em;
  margin: 0;
  min-height: 22px;
  text-rendering: optimizeLegibility;
  text-transform: uppercase;
  width: fit-content;
}
tags.tags.paizo-style .conjunction-not .tagify__tag-text {
  text-decoration: line-through;
  text-decoration-color: var(--color-text-trait);
}
tags.tags.paizo-style .conjunction-not-button {
  order: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  cursor: pointer;
  background: var(--tag-remove-btn-bg);
  color: var(--tag-remove-btn-color);
  width: 14px;
  height: 14px;
  -webkit-padding-before: 2px;
  margin-left: 2px;
  overflow: hidden;
  transition: 0.2s ease-out;
}
tags.tags.paizo-style .conjunction-not-button:hover {
  color: white;
  background: var(--tag-remove-btn-bg--hover);
}
tags.tags.paizo-style tag {
  height: var(--font-size-27);
}
tags.tags.paizo-style tag[readonly=true] {
  padding-right: var(--space-2);
}

tags.tagify.pf2e-tagify {
  --tag-bg: var(--color-text-light-3);
  --tag-pad: 0.125rem;
  --tag-text-color: var(--text-dark);
  --tags-border-color: var(--color-border-light-2);
  --tags-disabled-bg: rgba(255, 255, 255, 0.5);
  --tags-focus-border-color: var(--color-border-dark-1);
  --tags-hover-border-color: var(--color-border-dark-1);
  align-items: center;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  gap: var(--space-3);
  padding: var(--space-2);
}
tags.tagify.pf2e-tagify[disabled] {
  --tag-text-color: var(--color-disabled);
  opacity: 0.8;
}
tags.tagify.pf2e-tagify[disabled]:not(.tagify--mix) > .tagify__input {
  margin: 0;
}
tags.tagify.pf2e-tagify:hover {
  box-shadow: 0 0 var(--space-4) var(--color-pf-secondary);
}
tags.tagify.pf2e-tagify tag {
  margin: 0;
  padding: var(--tag-pad);
}
tags.tagify.pf2e-tagify tag x {
  margin: 0;
}
tags.tagify.pf2e-tagify tag > div {
  padding: 0 var(--space-2);
}
tags.tagify.pf2e-tagify tag > div .tagify__tag-text {
  font-weight: normal;
}
tags.tagify.pf2e-tagify tag .tagify__tag__removeBtn {
  align-items: baseline;
}
tags.tagify.pf2e-tagify .tagify__input {
  margin: 0;
}

tags.pf2e-tagify.tagify--hasMaxTags > span,
tags.tags.paizo-style.tagify--hasMaxTags > span {
  display: none;
}
tags.pf2e-tagify:not(.tagify--select) > span,
tags.tags.paizo-style:not(.tagify--select) > span {
  min-width: 20px;
}

.damage-tag {
  white-space: nowrap;
  margin: 0 var(--space-1) var(--space-1) 0;
  padding: 0 var(--space-3);
  font-size: var(--font-size-10);
  line-height: 1rem;
  border: 1px solid var(--color-border-light-2);
  border-radius: 3px;
}
.damage-tag-base {
  color: var(--text-light);
  background: rgba(0, 0, 0, 0.45);
}
.damage-tag-modifier {
  background: rgba(0, 0, 0, 0.05);
}

.tagify {
  --tag-inset-shadow-size: 10em;
}

.tagify__tag__removeBtn {
  overflow: visible;
}

tagify-tags .tags,
tagify-tags .pf2e-tagify {
  width: calc(100% - 2px);
}

aside.locked-tooltip.pf2e.carry-type-menu {
  white-space: nowrap;
  min-width: 7rem;
}
aside.locked-tooltip.pf2e.carry-type-menu ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
aside.locked-tooltip.pf2e.carry-type-menu li {
  align-items: center;
  display: flex;
}
aside.locked-tooltip.pf2e.carry-type-menu li a {
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  gap: var(--space-2);
}
aside.locked-tooltip.pf2e.carry-type-menu li a:hover {
  color: var(--color-pf-tertiary);
  text-shadow: none;
}
aside.locked-tooltip.pf2e.carry-type-menu li a.selected {
  color: var(--text-light);
}
aside.locked-tooltip.pf2e.carry-type-menu li a.selected:hover {
  cursor: default;
  text-shadow: none;
}

aside.locked-tooltip .roll-options {
  padding-right: var(--space-8);
}
aside.locked-tooltip .roll-options li {
  user-select: all;
}

#generate-check-prompt {
  height: auto !important;
}
#generate-check-prompt .dialog-content > nav a.active {
  text-decoration: underline;
}
#generate-check-prompt .dialog-content section.check-prompt-content .form-group.secret {
  justify-content: end;
  text-align: right;
}
#generate-check-prompt .dialog-content section.check-prompt-content .roll-options {
  display: none;
}
#generate-check-prompt .dialog-content section.check-prompt-content a.add-roll-options i.fa-plus {
  display: inline;
}
#generate-check-prompt .dialog-content section.check-prompt-content a.add-roll-options i.fa-minus {
  display: none;
}
#generate-check-prompt .dialog-content section.check-prompt-content input#check-prompt-secret,
#generate-check-prompt .dialog-content section.check-prompt-content input#check-prompt-basic-save {
  margin-right: 0;
}
#generate-check-prompt .dialog-content section.check-prompt-content.show-roll-options .roll-options {
  display: block;
}
#generate-check-prompt .dialog-content section.check-prompt-content.show-roll-options a.add-roll-options i.fa-plus {
  display: none;
}
#generate-check-prompt .dialog-content section.check-prompt-content.show-roll-options a.add-roll-options i.fa-minus {
  display: inline;
}
#generate-check-prompt .dialog-content select {
  height: var(--form-field-height);
  text-transform: capitalize;
}
#generate-check-prompt .dialog-content tags.tagify {
  background-color: rgba(0, 0, 0, 0.075);
  border: 1px solid var(--color-border-light-tertiary);
  border-radius: 3px;
}
#generate-check-prompt .dialog-buttons {
  flex: 0 1 auto;
}

.travel-duration h2 {
  margin-top: 10px;
  margin-bottom: 30px;
}
.travel-duration table td {
  padding: 5px 10px;
}
.travel-duration table td.centered {
  text-align: center;
}
.travel-duration .journey-input {
  display: grid;
  column-gap: 5px;
  grid: "size type"/50px 1fr 1fr;
}
.travel-duration .fraction-input {
  text-align: center;
}
.travel-duration .fraction-input input {
  width: 30px;
}
.travel-duration .speed-input {
  width: 30px;
}

.application.user-config .tab.active {
  display: flex;
}
.application.user-config .form-group.monochrome-darkvision > label {
  flex: 2;
}