@charset "UTF-8";.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}
  svelecte-list-viewport.svelte-15oxbj1 {
    position: relative;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
  }

  svelecte-list-content.svelte-15oxbj1,
  svelecte-list-row.svelte-15oxbj1 {
    display: block;
  }

  svelecte-list-row.svelte-15oxbj1 {
    /* 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-kgu1bj {
    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-kgu1bj {
    position: relative;
    flex: 1 1 auto;
    color: var(--sv-color, inherit);

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

  .sv-control.svelte-kgu1bj {
    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-kgu1bj {
    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-kgu1bj {
    display: flex;
    align-self: stretch;
    position: relative;
  }
  .sv-btn-indicator.svelte-kgu1bj {
    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-kgu1bj {
    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-kgu1bj {
    width: var(--sv-icon-size, 20px);
    height: var(--sv-icon-size, 20px);
  }
  .is-loading.svelte-kgu1bj:after {
    animation: svelte-kgu1bj-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-kgu1bj-spinAround {
    from {
      transform: rotate(0deg)
    }
    to {
      transform: rotate(359deg)
    }
  }

  /** #endregion */

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

  .sv_dropdown.svelte-kgu1bj {
    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-kgu1bj {
    /* 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-kgu1bj {
    background-color: var(--sv-dropdown-selected-bg, #ECF3F9);
  }
  .in-dropdown.is-disabled.svelte-kgu1bj {
    opacity: 0.5;
    cursor: not-allowed;
  }
  .in-dropdown.sv-dd-item-active.svelte-kgu1bj,
  .in-dropdown.svelte-kgu1bj:hover,
  .in-dropdown.svelte-kgu1bj:active {
    background-color: var(--sv-dropdown-active-bg, #F2F5F8);
  }
  .is-dropdown-row.svelte-kgu1bj {
    padding: var(--sv-general-padding, 4px);
  }

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

  .sv-dropdown-scroll.has-items.svelte-kgu1bj + .is-dropdown-row:where(.svelte-kgu1bj) {
    border-top: 1px solid transparent;
    border-color: var(--sv-separator-bg, #ccc);
  }
  .creatable-row.svelte-kgu1bj {
    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-kgu1bj > .is-loading {
    position: relative;
    &:after {
      left: calc(100% + 4px);
    }
  }

  .shortcut.svelte-kgu1bj {
    display: flex;
    align-items: center;
    align-content: center;
  }
  .shortcut.svelte-kgu1bj > kbd:where(.svelte-kgu1bj) {
      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-kgu1bj {
    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-kgu1bj .sv-input--sizer:where(.svelte-kgu1bj) {
    position: relative;
    pointer-events: all;
  }
  .has-items.svelte-kgu1bj .keep-value:where(.svelte-kgu1bj):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-kgu1bj .is-single.has-items.has-input > .sv-item--container {
    opacity: 0.2;
  }
  .sv-input--sizer.svelte-kgu1bj:after,
  .sv-input--text.svelte-kgu1bj {
    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-kgu1bj .sv-input--text:where(.svelte-kgu1bj) {
    padding-left: 0;
  }

  .sv-input--text.svelte-kgu1bj {
    outline: none;
    &::placeholder {
      color: var(--sv-placeholder-color, #ccccd6);
    }
  }
  /* #endregion */
: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}
    ul.svelte-lbdy4q {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

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

    .summary.svelte-lbdy4q {
        grid-column: span 2;

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

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

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

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

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

        > ul:where(.svelte-lbdy4q) {
            background-color: var(--table-row-color-odd);
            border: 1px solid var(--color-border);
            border-radius: 3px;
            width: 100%;

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

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

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

            li:where(.svelte-lbdy4q) {
                line-height: 1.65em;
                margin: 0;
                overflow-x: hidden;
                padding-left: var(--space-4);
                text-overflow: ellipsis;
                user-select: text;
            }

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

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

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

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

                    .options-note:where(.svelte-lbdy4q) {
                        margin-left: auto;
                        padding-left: var(--space-4);
                    }
                }

                & > div:where(.svelte-lbdy4q) {
                    display: flex;
                    justify-content: space-between;
                    align-items: baseline;
                }
            }
        }
    }
.item-info.svelte-1e4rzh1 {
  --button-size: var(--font-size-24);
  border: 1px solid var(--sub);
  min-width: 120px;
  justify-content: center;
  width: var(--font-size-24);
  min-width: unset;
}
    /* :global {*/
        #trade-dialog {
            max-height: 67vh;
            &:not(.maximizing, .minimizing, .minimized) {
                min-height: 400px;
            }
            .window-content {
                flex-direction: row;
            }
        }
    /*}*/

    .content.svelte-pt88a0 {
        align-items: start;
        flex: 1 0 100%;
        flex-direction: row;
        justify-content: center;
        min-width: 0;
    }

    .panel.svelte-pt88a0 {
        --scroll-margin: var(--space-8);
        flex: 1 0 calc(50% - var(--scroll-margin));
        gap: var(--space-8);
        height: 100%;
        min-width: 0;

        header:where(.svelte-pt88a0) {
            align-items: center;
            border-bottom: 1px solid var(--color-border);
            flex-wrap: nowrap;
            gap: var(--space-12);
            height: calc(4rem + var(--space-4));
            justify-content: space-between;
            padding: 0 var(--scroll-margin);

            img:where(.svelte-pt88a0) {
                flex: 0 0 4rem;
                height: 4rem;
                left: 1rem;
                object-fit: contain;
            }

            .name:where(.svelte-pt88a0) {
                align-items: center;
                min-width: 0;
                text-align: center;
                white-space: nowrap;

                .actor:where(.svelte-pt88a0),
                .user:where(.svelte-pt88a0) {
                    max-width: 100%;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }

                .actor:where(.svelte-pt88a0) {
                    font-family: var(--serif);
                    font-size: var(--font-size-24);
                    font-weight: 500;
                }

                .user:where(.svelte-pt88a0) {
                    color: var(--color-text-subtle);
                    font-size: var(--font-size-12);
                }
            }

            .toggle-accepted:where(.svelte-pt88a0) {
                color: var(--color-text-subtle);
                flex: 0 0 2rem;
                font-size: var(--font-size-22);
                height: 2rem;
                margin-right: 1.5rem;
                text-align: center;
                min-width: 0;

                &.accepted {
                    > i:where(.svelte-pt88a0) {
                        color: var(--color-text-secondary);
                        opacity: 1;
                    }
                }

                > i:where(.svelte-pt88a0) {
                    opacity: 0.5;
                }
            }
        }

        input[type="search"]:where(.svelte-pt88a0) {
            padding-right: 0;
            margin-right: var(--scroll-margin);
            &::placeholder {
                font-family: var(--font-awesome);
                font-weight: 900;
                padding-left: 0.25em;
            }
        }

        ul:where(.svelte-pt88a0) {
            --scroll-margin: inherit;
            color: var(--color-text-secondary);
            flex: 1;
            height: auto;
            list-style: none;
            margin-bottom: 0;
            margin-top: 0;
            padding: 0 var(--scroll-margin) 0 0;
        }

        footer:where(.svelte-pt88a0) {
            border-top: 1px solid var(--color-border);
            color: var(--color-text-secondary);
            font-size: var(--font-size-12);
            font-style: italic;
            padding-right: var(--scroll-margin);

            p:where(.svelte-pt88a0) {
                margin-bottom: 0;
                min-height: 1.5rem;
            }
        }
    }

    li.svelte-pt88a0 {
        --color-marked: var(--color-warm-1);
        border: solid transparent;
        border-width: 1px 1px 0;
        flex: 0 0 2rem;
        gap: var(--space-8);
        margin-bottom: 0;
        padding: var(--space-4) var(--space-8) var(--space-4) var(--space-4);

        &:last-child {
            border-bottom-width: 1px;
        }

        &.marked {
            border-color: var(--color-marked);
            + .marked:where(.svelte-pt88a0) {
                border-top-color: transparent;
            }
            + :where(.svelte-pt88a0):not(.marked) {
                border-top-color: var(--color-marked);
            }

            .quantity:where(.svelte-pt88a0),
            .name:where(.svelte-pt88a0) {
                color: var(--color-text-emphatic);
            }
        }

        &:nth-child(odd) {
            background: var(--sidebar-entry-hover-bg);
        }

        img:where(.svelte-pt88a0) {
            flex: 0 0 2rem;
            min-width: 0;
            object-fit: contain;
        }

        .quantity:where(.svelte-pt88a0) {
            color: var(--color-text-tertiary);
            flex: 0 0 8rem;
            flex-wrap: nowrap;
            font-size: var(--font-size-12);
            justify-content: space-around;
            white-space: nowrap collapse;

            button:where(.svelte-pt88a0) {
                --button-size: var(--font-size-24);
                font-size: var(--font-size-12);
            }

            input:where(.svelte-pt88a0) {
                flex: 0 0 50%;
                text-align: center;
            }

            .ratio:where(.svelte-pt88a0) {
                cursor: var(--cursor-text);
                flex: 0 0 4rem;
                height: 2rem;
                line-height: 2rem;
                &.ratio {
                    --button-hover-border-color: var(--color-text-subtle);
                }
            }
        }
    }

    .panel.trader.svelte-pt88a0 {
        header:where(.svelte-pt88a0) {
            .toggle-accepted:where(.svelte-pt88a0) {
                align-items: center;
                display: flex;
                margin: 0 0 0 1rem;

                i:where(.svelte-pt88a0) {
                    flex: 0 0 2rem;
                }
            }
            img:where(.svelte-pt88a0) {
                left: unset;
                right: 1rem;
            }
        }

        li:where(.svelte-pt88a0) {
            .quantity:where(.svelte-pt88a0) {
                justify-content: end;

                i:where(.svelte-pt88a0) {
                    color: var(--color-text-primary);
                    flex: none;
                }

                .ratio:where(.svelte-pt88a0) {
                    text-align: end;
                }
            }
        }
    }

    .choices.svelte-152e5ll {
        gap: var(--space-8);
        padding: var(--space-8);
        &.empty {
            align-items: center;
            display: flex;
            font-size: var(--font-size-16);
            justify-content: center;
            flex: 1;
        }
    }

    .choice.svelte-152e5ll {
        align-items: start;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--space-8);
        width: 100%;

        svg.heavy-bullets {
            display: inline-block;
            width: 0.75rem;
            height: 0.75rem;

            path {
                fill: var(--color-text-secondary);
            }
        }

        &.depleted {
            opacity: 0.8;
            filter: grayscale(0.85);
        }

        > button.select:where(.svelte-152e5ll) {
            --button-size: 1.75rem;
            width: var(--button-size);
        }

        > img:where(.svelte-152e5ll) {
            width: 2rem;
            &.svg {
                outline: 1px solid var(--color-border);
            }
        }

        > .name:where(.svelte-152e5ll) {
            display: flex;
            flex-direction: column;
            align-items: start;
            gap: 0;
            flex: 1;
            justify-content: start;

            .uses:where(.svelte-152e5ll),
            .quantity:where(.svelte-152e5ll) {
                color: var(--color-text-tertiary);
                margin-left: var(--space-4);
            }

            /* :global {*/
                .tags {
                    padding: 0;
                    margin: 0;
                    .tag {
                        height: var(--space-17);
                        line-height: 95%;
                    }
                }
            /*}*/
        }
    }
article.svelte-1o1fhju {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.drop-item-zone.svelte-1o1fhju {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin: 0 2px 5px;
  min-height: 32px;
}

.item-icon.svelte-1o1fhju {
  height: 32px;
  width: 32px;
}

.button-panel.svelte-1o1fhju {
  display: flex;
  gap: var(--space-4);
}
.button-panel.svelte-1o1fhju button:where(.svelte-1o1fhju) {
  flex: 1;
}
    .search-results.svelte-lvv0jw {
        color: var(--color-text-secondary, inherit);
        font-size: var(--font-size-12);
        margin: 0;
        min-height: 0;
    }

    .group-header.svelte-19oqg1u {
        align-items: center;
        /* Back the sticky header with the window background (a color in dark theme, an image in light),
           then tint it with the possibly translucent header color so scrolling rows don't show through. */
        background: var(--background);
        border-block-end: 1px solid var(--table-header-border-color);
        box-shadow: inset 0 0 0 100vmax var(--table-header-bg-color);
        display: grid;
        font: 500 var(--font-size-12) var(--sans-serif);
        gap: var(--space-4);
        grid-template-columns: var(--spell-row-columns);
        inset-block-start: 0;
        line-height: 1.75;
        padding-block: var(--space-4);
        padding-inline: var(--space-8);
        position: sticky;
        z-index: 1;

        .label-cell:where(.svelte-19oqg1u) {
            align-items: baseline;
            display: flex;
            gap: var(--space-4);

            /* The heading is semantic only: no box, and no heading font inherited into the button */
            h3:where(.svelte-19oqg1u) {
                display: contents;
                font: inherit;
            }
        }

        /* Header labels are sort buttons: undo button sizing and keep the header typography.
           Inline padding is lighter at the end, where the sort glyph carries its own whitespace. */
        .group-label:where(.svelte-19oqg1u),
        .column-label:where(.svelte-19oqg1u),
        .usage:where(.svelte-19oqg1u) {
            align-items: center;
            display: inline-flex;
            font: inherit;
            gap: var(--space-2);
            height: auto;
            min-height: 0;
            padding: 0;
            padding-inline: var(--space-4) var(--space-1);

            /* A faded sort glyph marks unsorted-but-sortable columns */
            .sortable-hint:where(.svelte-19oqg1u) {
                opacity: 0.4;
            }
        }

        .group-label:where(.svelte-19oqg1u) {
            font-weight: 700;
        }

        .usage:where(.svelte-19oqg1u) {
            color: var(--color-text-secondary, inherit);
            font-weight: 400;
        }

        .column-label:where(.svelte-19oqg1u) {
            justify-self: center;
            text-align: center;
        }

        .item-controls:where(.svelte-19oqg1u) {
            /* Compact inline-control buttons to match the dense rows */
            --pf2e-inline-button-size: 1.25rem;

            display: flex;
            gap: var(--space-2);
            justify-self: end;
        }
    }

    @container spell-list (width < 24rem) {
        .group-header.svelte-19oqg1u {
            grid-template-columns: var(--spell-row-columns-sm, var(--spell-row-columns, 1fr));

            > .column-label.range:where(.svelte-19oqg1u) {
                display: none;
            }
        }
    }

    @container spell-list (width < 19rem) {
        .group-header.svelte-19oqg1u {
            grid-template-columns: var(--spell-row-columns-xs, var(--spell-row-columns, 1fr));

            > .column-label.defense:where(.svelte-19oqg1u) {
                display: none;
            }
        }
    }

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

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

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

        i:where(.svelte-cip8r4) {
            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-cip8r4) {
                align-items: center;
                background: #f1eee9;
                display: flex;
                justify-content: center;
                text-shadow: none;
            }
        }
    }

    /* Anchored below the trigger, flipping above when out of room */
    .popover-menu.svelte-9xjx02 {
        background: var(--background);
        border: 1px solid var(--table-header-border-color);
        border-radius: 3px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
        flex-direction: column;
        inset: unset;
        inset-block-start: anchor(end);
        inset-inline-end: anchor(end);
        margin: 0;
        min-width: max-content;
        padding: var(--space-2);
        position: fixed;
        position-anchor: --pf2e-popover-menu;
        position-try-fallbacks: flip-block;

        &:popover-open {
            display: flex;
        }

        .menu-label:where(.svelte-9xjx02) {
            border-block-end: 1px solid var(--table-header-border-color);
            color: var(--color-text-secondary, inherit);
            font-size: var(--font-size-12);
            margin-block-end: var(--space-2);
            padding: var(--space-2) var(--space-4);
            white-space: nowrap;
        }

        /* Sized by padding, with column-flex stretch providing width */
        button:where(.svelte-9xjx02) {
            background: none;
            border: none;
            height: auto;
            justify-content: start;
            min-height: 0;
            padding: var(--space-2) var(--space-4);

            &:hover,
            &:focus {
                background: var(--table-row-color-highlight);
            }
        }
    }

    /* The rank menu anchors to the button that opened it */
    .prepare.svelte-wz4jxg {
        align-items: center;
        anchor-scope: --pf2e-popover-menu;
        display: flex;
        gap: var(--space-2);
        position: relative;

        button:where(.svelte-wz4jxg) {
            font-size: var(--font-size-10);
            height: auto;
            min-height: 0;
            padding: var(--space-2);

            &.unavailable {
                --button-hover-background-color: transparent;

                cursor: default;
                opacity: 0.4;
            }
        }
    }

    .prepared-count.svelte-wz4jxg {
        flex: none;
        font-size: var(--font-size-12);
        font-weight: 700;
        line-height: 1;
        text-align: center;
        width: 1.25em;

        &.none {
            color: var(--color-text-secondary, inherit);
            font-weight: 400;
        }

        i:where(.svelte-wz4jxg) {
            color: var(--color-level-success);
        }
    }

    li.spell-row.svelte-1wxoqs4 {
        /* Core's light-theme highlight is near-black, so substitute a subtle tint (dark keeps core's color) */
        --table-row-color-highlight: light-dark(rgba(0, 0, 0, 0.1), var(--color-cool-3));

        align-items: center;
        display: grid;
        gap: var(--space-4);
        grid-template-columns: var(--spell-row-columns, 1fr);
        margin: 0;
        padding-block: var(--space-4);
        padding-inline: var(--space-8);
        /* Anchor for the drop-insertion indicator */
        position: relative;

        &:nth-child(odd) {
            background-color: var(--table-row-color-odd, transparent);
        }

        &:nth-child(even) {
            background-color: var(--table-row-color-even, transparent);
        }

        &:has(:focus-visible) {
            background-color: var(--table-row-color-highlight);
        }

        /* Dim the row being dragged. Chrome doesn't repaint until the drag is underway, so hiding
           the row would visibly linger while a late fade doesn't. */
        &.drag-gap {
            opacity: 0.5;
        }

        &.drop-above::before,
        &.drop-below::before {
            background: var(--color-warm-2);
            content: "";
            height: var(--space-2);
            inset-inline: 0;
            position: absolute;
            z-index: 1;
        }

        &.drop-above::before {
            inset-block-start: calc(-1 * var(--space-1));
        }

        &.drop-below::before {
            inset-block-end: calc(-1 * var(--space-1));
        }

        > .item-name:where(.svelte-1wxoqs4) {
            align-items: center;
            display: flex;
            gap: var(--space-8);
            min-width: 0;

            > .item-image {
                --image-size: 1.5rem;

                aspect-ratio: 1;
                border-radius: 2px;
                box-shadow:
                    0 0 0 1px var(--tertiary),
                    0 0 0 2px #9f725b,
                    inset 0 0 0.25rem rgba(0, 0, 0, 0.5);
                flex: 0 0 var(--image-size);
                height: auto;
                min-height: 0;
            }

            > .item-image img,
            > .item-image i {
                border-radius: 2px;
            }

            > .name:where(.svelte-1wxoqs4) {
                align-items: center;
                display: flex;
                flex: 1;
                font: 500 var(--font-size-14) / 1 var(--body-serif);
                letter-spacing: -0.025em;
                min-height: 0;
                min-width: 0;

                .action-glyph:where(.svelte-1wxoqs4) {
                    font-size: 0.9em;
                    /* Opt out of the .flat hover text-shadow, which distorts the glyph */
                    text-shadow: none;
                }
            }
        }

        > .defense:where(.svelte-1wxoqs4),
        > .range:where(.svelte-1wxoqs4),
        > .uses:where(.svelte-1wxoqs4) {
            justify-self: center;
            text-align: center;
        }

        > .item-controls:where(.svelte-1wxoqs4) {
            /* Compact inline-control buttons to match the dense rows */
            --pf2e-inline-button-size: 1.25rem;

            align-items: center;
            display: flex;
            gap: var(--space-2);
            justify-self: end;

            input[type="checkbox"] {
                /* Core's checkbox background is nearly the same color as table rows in dark theme */
                --checkbox-background-color: var(--table-row-color-highlight);

                /* Core draws the box as a ::before glyph on an unstyled input, leaving the visible
                   box off-center: size the input to the glyph and center it. */
                display: grid;
                height: var(--checkbox-size);
                margin: 0;
                place-content: center;
                width: var(--checkbox-size);

                /* The highlight override above also beats core's disabled color: dim instead,
                   matching the prepare button's unavailable state */
                &:disabled {
                    opacity: 0.4;
                }
            }
        }

        > .item-summary {
            grid-column: 1 / -1;
        }
    }

    /* Drop columns in narrow containers: range below 24rem, defense below 19rem. Breakpoints assume the
       rem column widths defined in spell-list.svelte. */
    @container spell-list (width < 24rem) {
        li.spell-row.svelte-1wxoqs4 {
            grid-template-columns: var(--spell-row-columns-sm, var(--spell-row-columns, 1fr));

            > .range:where(.svelte-1wxoqs4) {
                display: none;
            }
        }
    }

    @container spell-list (width < 19rem) {
        li.spell-row.svelte-1wxoqs4 {
            grid-template-columns: var(--spell-row-columns-xs, var(--spell-row-columns, 1fr));

            > .defense:where(.svelte-1wxoqs4) {
                display: none;
            }
        }
    }

    .spell-list-groups.svelte-1pcukpc {
        /* Queried by the container breakpoints in spell-row and group-header */
        container: spell-list / inline-size;
        display: flex;
        flex-direction: column;
        gap: var(--space-8);
    }

    /* Undo core's ul/ol margin, padding, and markers */
    .spell-list.svelte-1pcukpc {
        list-style: none;
        margin: 0;
        padding: 0;

        .empty:where(.svelte-1pcukpc) {
            color: var(--color-text-secondary, inherit);
            font-style: italic;
            padding-block: var(--space-4);
            padding-inline: var(--space-8);
        }
    }

    .sheet-header.svelte-1nf4c9t {
        flex-direction: column;
        gap: var(--space-4);
        margin: var(--space-8);
        margin-block-end: 0;

        h1:where(.svelte-1nf4c9t) {
            align-items: baseline;
            border: none;
            column-gap: var(--space-8);
            display: flex;
            flex-wrap: wrap;
            font-size: var(--font-size-28);
            justify-content: space-between;
            margin: 0;
            margin-block-end: var(--space-2);

            .flexible-available:where(.svelte-1nf4c9t) {
                font-weight: normal;
                white-space: nowrap;
            }
        }

        > .search {
            margin-block-start: var(--space-2);
        }
    }

    .content.svelte-1nf4c9t {
        display: flex;
        flex: 1;
        flex-direction: column;
        /* Keep the scroll offset when rows reorder (sorting) or filter: scroll anchoring
           would follow a moved row and visibly jump */
        overflow-anchor: none;
        overflow-y: auto;
        padding-block: 0 var(--space-8);
        padding-inline: var(--space-8);
        scrollbar-gutter: stable;

        /* Valid drop target, ringed like core's drop targets */
        &.drop-highlight {
            box-shadow: inset 0 0 0 2px var(--color-warm-2);
        }
    }

    search.svelte-xk23fq {
        align-items: center;
        flex-flow: row nowrap;
        gap: var(--space-8);
        justify-content: start;
        padding: var(--space-8) var(--space-8) 0;
        input:where(.svelte-xk23fq)::placeholder {
            color: var(--color-form-hint);
        }
    }

    menu.svelte-xk23fq {
        --scroll-margin: 0;
        flex-flow: column nowrap;

        > li:where(.svelte-xk23fq) {
            column-gap: var(--space-8);
            display: grid;
            grid-template:
                "icon name buttons"
                "icon rarity buttons"
                "icon source buttons" / 48px 3fr 1fr;
            align-items: center;
            border-top: 1px solid var(--color-border);
            padding: var(--space-4);

            &.no-rarity {
                grid-template-areas:
                    "icon name buttons"
                    "icon source buttons";
            }

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

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

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

            .source:where(.svelte-xk23fq) {
                align-self: start;
                color: var(--color-form-hint);
                font-size: var(--font-size-12);
                grid-area: source;
                padding-left: var(--space-1);
                &.publication {
                    font-style: italic;
                }
            }
            &.no-rarity {
                .source:where(.svelte-xk23fq) {
                    align-self: start;
                }
            }

            .buttons:where(.svelte-xk23fq) {
                align-self: center;
                display: flex;
                flex-flow: row nowrap;
                font-size: var(--font-size-12);
                gap: var(--space-4);
                grid-area: buttons;

                button.confirm:where(.svelte-xk23fq) {
                    color: darkgreen;
                }
            }
        }
    }
button.svelte-1rh7kd0 {
  --color-boost: var(--color-level-success-border);
  --color-boost-dark: color-mix(in srgb, var(--color-level-success-border) 70%, black);
  --color-flaw: var(--color-level-error);
  --color-flaw-dark: color-mix(in srgb, var(--color-level-error) 70%, black);
  --button-color: var(--color-boost);
  --button-locked-color: var(--color-boost-dark);
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid var(--button-color);
  border-radius: var(--space-4);
  color: var(--button-color);
  font-size: var(--font-size-12);
  outline: none;
  padding: 0.1em 0 0;
  position: relative;
  text-transform: uppercase;
  width: 6em;
  transition: all 0.2s ease-out;
}
button.boost.svelte-1rh7kd0, button.apex.svelte-1rh7kd0, button.key.svelte-1rh7kd0 {
  margin-top: auto;
}
button.flaw.svelte-1rh7kd0 {
  --button-color: var(--color-flaw);
  --button-locked-color: var(--color-flaw-dark);
}
button.selected.svelte-1rh7kd0 {
  background: var(--button-color);
  color: white;
}
button.selected.partial.svelte-1rh7kd0 {
  background: var(--color-boost-dark);
  border-color: var(--color-boost-dark);
}
button.svelte-1rh7kd0:hover:not(:disabled), button.svelte-1rh7kd0:focus:not(:disabled) {
  box-shadow: 0 0 var(--space-5) var(--button-color);
  cursor: pointer;
}
button.svelte-1rh7kd0:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
button.locked.svelte-1rh7kd0 {
  background: var(--button-locked-color);
  border-color: var(--button-locked-color);
  pointer-events: none;
  color: white;
}
/* (empty) button {
  /* Key attribute button *\/
}*/
button.key.svelte-1rh7kd0 > i:where(.svelte-1rh7kd0) {
  font-size: 0.7em;
  left: var(--space-5);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
button.key.selected.svelte-1rh7kd0:hover {
  box-shadow: none;
  cursor: default;
}
/* (empty) button {
  /* Double flaw button layout *\/
}*/
button.first.svelte-1rh7kd0 {
  border-bottom-right-radius: 0;
  border-right: none;
  border-top-right-radius: 0;
  width: 4em;
}
button.second.svelte-1rh7kd0 {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  width: 2em;
  text-transform: none;
}
button.second.selected.svelte-1rh7kd0 {
  border-left-color: rgba(255, 255, 255, 0.5);
}

.flaw-buttons.svelte-1rh7kd0 {
  display: flex;
  flex-direction: row;
  margin-bottom: auto;
}.remaining.svelte-1nj90i5 {
  grid-area: remaining;
  display: flex;
  margin-right: var(--space-10);
  width: var(--font-size-20);
  height: var(--font-size-20);
  border-radius: 50%;
  background: var(--table-header-bg-color);
  align-items: center;
  justify-content: center;
}
.remaining.extra.svelte-1nj90i5 {
  animation: svelte-1nj90i5-glow 0.75s infinite alternate;
}

@keyframes svelte-1nj90i5-glow {
  from {
    box-shadow: 0 0 var(--space-1) var(--space-1) var(--color-shadow-highlight);
  }
  to {
    box-shadow: 0 0 var(--space-3) var(--space-3) var(--color-shadow-highlight);
  }
}form.svelte-8m1dup {
  position: relative;
}

h3.svelte-8m1dup {
  font: 400 var(--font-size-24) var(--serif-condensed);
  color: var(--color-text-primary);
  margin: 0;
}

h4.svelte-8m1dup {
  font: 400 var(--font-size-10) var(--font-primary);
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-8);
}

.attribute-rows.svelte-8m1dup {
  position: relative;
}

.row.svelte-8m1dup {
  display: flex;
  align-items: center;
}
.row.svelte-8m1dup .row-heading:where(.svelte-8m1dup) {
  width: min(13.75rem, 220px);
}
.row.not-eligible.svelte-8m1dup {
  pointer-events: none;
  opacity: 0.6;
}
.row.not-eligible.svelte-8m1dup,
.row.not-eligible.svelte-8m1dup + hr:where(.svelte-8m1dup) {
  filter: blur(var(--space-1));
}
.row.svelte-8m1dup .attributes:where(.svelte-8m1dup) {
  display: grid;
  grid-template-columns: repeat(6, 5.25rem);
  grid-template-rows: auto;
  flex: 0 0 auto;
}
.row.svelte-8m1dup .full-row:where(.svelte-8m1dup) {
  display: flex;
  flex: 1;
  justify-content: center;
  color: var(--color-text-secondary);
}

header.row.svelte-8m1dup {
  align-items: normal;
  padding-top: var(--space-10);
  border-bottom: 1px solid var(--table-header-border-color);
  margin-bottom: var(--space-21);
}
header.row.svelte-8m1dup .row-column:where(.svelte-8m1dup) {
  display: block;
}
header.row.svelte-8m1dup .attributes:where(.svelte-8m1dup) {
  align-items: normal;
}

/* Reserve space for both flaw and boost buttons to prevent layout shift */
.double-row.svelte-8m1dup:has(.attributes:where(.svelte-8m1dup)) {
  min-height: calc(var(--font-size-48) + var(--space-4));
}

.background-stripes.svelte-8m1dup {
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  bottom: 2.75rem;
  right: 0;
  pointer-events: none;
  align-items: normal;
}
.background-stripes.svelte-8m1dup .attributes:where(.svelte-8m1dup) div:where(.svelte-8m1dup):nth-child(odd) {
  background-color: var(--table-row-color-even);
}

.voluntary-flaw-row.svelte-8m1dup {
  margin: var(--space-8) 0;
}

/* Add spacing between level boost rows */
section.row[data-level].svelte-8m1dup + section.row[data-level]:where(.svelte-8m1dup),
section.row[data-section=apex].svelte-8m1dup,
section.summary-row.svelte-8m1dup {
  margin-top: var(--space-4);
}

.row-heading.svelte-8m1dup {
  align-items: center;
  display: grid;
  grid-template-areas: "img description remaining";
  grid-template-columns: var(--font-size-42) 1fr auto;
}
.row-heading.svelte-8m1dup h3:where(.svelte-8m1dup) {
  grid-column: 1/4;
}
.row-heading.svelte-8m1dup .hint-container:where(.svelte-8m1dup) {
  grid-column: 1/4;
}
.row-heading.svelte-8m1dup img:where(.svelte-8m1dup) {
  border: 0;
  grid-area: img;
  height: 2rem;
  width: 2rem;
}
.row-heading.svelte-8m1dup .label:where(.svelte-8m1dup) {
  grid-area: description;
  margin-right: var(--space-10);
  overflow: hidden;
  white-space: nowrap;
}
.row-heading.svelte-8m1dup .title:where(.svelte-8m1dup),
.row-heading.svelte-8m1dup .description:where(.svelte-8m1dup) {
  overflow: hidden;
  text-overflow: ellipsis;
}
.row-heading.svelte-8m1dup .title:where(.svelte-8m1dup) {
  font: 500 var(--font-size-10)/1.2 var(--sans-serif-condensed);
  text-transform: uppercase;
  color: var(--color-text-secondary);
}
.row-heading.svelte-8m1dup .description:where(.svelte-8m1dup) {
  font: 600 var(--font-size-16)/1.2 var(--serif);
  color: var(--color-text-primary);
}
.row-heading.svelte-8m1dup .has-tooltip:where(.svelte-8m1dup), .row-heading.has-tooltip.svelte-8m1dup .description:where(.svelte-8m1dup) {
  text-decoration: underline dotted;
  text-underline-offset: var(--space-2);
  cursor: help;
}
.row-heading.svelte-8m1dup .extra:where(.svelte-8m1dup) {
  align-items: center;
  display: flex;
  font-size: var(--font-size-12);
  gap: var(--space-2);
  color: var(--color-text-secondary);
}
.row-heading.svelte-8m1dup .extra:where(.svelte-8m1dup) > i:where(.svelte-8m1dup) {
  margin-left: var(--space-2);
}
.row-heading.svelte-8m1dup .extra:where(.svelte-8m1dup) input[type=checkbox]:where(.svelte-8m1dup) {
  line-height: 1;
  --checkbox-size: var(--font-size-14);
}

.row-column.svelte-8m1dup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  text-align: center;
}

.summary-row.svelte-8m1dup {
  align-items: stretch;
}
.summary-row.svelte-8m1dup .row-heading:where(.svelte-8m1dup) {
  display: block;
}
.summary-row.svelte-8m1dup .hint-container:where(.svelte-8m1dup) {
  background: var(--table-row-color-even);
  padding: var(--space-12);
  margin-right: var(--space-10);
  border: 1px solid var(--color-form-hint);
  border-radius: var(--space-3);
}
.summary-row.svelte-8m1dup .hint-container:where(.svelte-8m1dup) h3:where(.svelte-8m1dup) {
  font-variant: small-caps;
  font-size: var(--font-size-20);
  font-family: var(--sans-serif-condensed);
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}
.summary-row.svelte-8m1dup .hint-container:where(.svelte-8m1dup) p:where(.svelte-8m1dup) {
  font-style: italic;
  font-size: var(--font-size-12);
  font-family: var(--font-primary);
  font-weight: 500;
  margin-bottom: var(--space-3);
  color: var(--color-text-secondary);
}
.summary-row.svelte-8m1dup .hint-container:where(.svelte-8m1dup) label:where(.svelte-8m1dup) {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-10);
  white-space: nowrap;
}
.summary-row.svelte-8m1dup .hint-container:where(.svelte-8m1dup) input[type=checkbox]:where(.svelte-8m1dup) {
  --checkbox-background-color: var(--table-row-color-highlight);
}
.summary-row.svelte-8m1dup .attributes:where(.svelte-8m1dup) {
  grid-template-rows: auto min-content;
  grid-row-gap: var(--space-10);
}
.summary-row.svelte-8m1dup .row-column:where(.svelte-8m1dup) {
  padding-top: var(--space-10);
}
.summary-row.svelte-8m1dup .value:where(.svelte-8m1dup) {
  font: 700 var(--font-size-24) var(--serif);
  height: var(--font-size-40);
  color: var(--color-text-primary);
}
.summary-row.svelte-8m1dup input[type=number]:where(.svelte-8m1dup) {
  font: 500 var(--font-size-24) var(--serif);
  border: 0;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  background-color: transparent;
  margin: 0 var(--space-10) var(--space-10);
  color: var(--color-text-primary);
  text-align: center;
}
.summary-row.svelte-8m1dup input[type=number]:where(.svelte-8m1dup)::placeholder {
  opacity: 0.5;
}
.summary-row.svelte-8m1dup h4:where(.svelte-8m1dup) {
  font-size: var(--font-size-10);
}
.summary-row.svelte-8m1dup .complete:where(.svelte-8m1dup) {
  grid-row: 2;
  grid-column: 1/7;
  margin-left: auto;
  padding: var(--space-17) var(--space-15);
}

hr.svelte-8m1dup {
  position: relative;
  margin: var(--space-8) 0;
  z-index: -1;
}.svelecte-pf2e.svelte-jc42wy {
  anchor-scope: --svelecte-anchor;
  width: 100%;
}
.svelecte-pf2e.svelte-jc42wy .svelecte.pf2e {
  anchor-name: --svelecte-anchor;
  /* Inaccessible foundry css vars */
  --button-text-color: light-dark(var(--color-dark-1), var(--color-light-3));
  --input-background-color: light-dark(rgba(0, 0, 0, 0.1), var(--color-cool-4));
  --input-border-color: light-dark(var(--color-dark-6), transparent);
  /** Svelecte Variables */
  --sv-color: var(--color-text-primary);
  --sv-item-btn-color: var(--color-text-trait);
  --sv-item-btn-color-hover: var(--color-text-trait);
  --sv-control-bg: var(--input-background-color);
  --sv-icon-color: var(--button-text-color);
  --sv-item-selected-bg: var(--color-bg-trait);
  --sv-item-btn-bg: var(--color-bg-trait);
  --sv-placeholder-color: var(--color-form-hint);
  --sv-dropdown-bg: light-dark(white, var(--color-cool-4));
  --sv-dropdown-active-bg: light-dark(rgba(0, 0, 0, 0.1), var(--color-text-selection-bg));
  --sv-border: 1px solid var(--input-border-color);
  --sv-selection-multi-wrap-padding: 0.15em;
  --sv-selection-gap: 0.2em;
  --sv-min-height: var(--input-height);
}
.svelecte-pf2e.svelte-jc42wy .svelecte.pf2e .sv-input--text {
  width: auto;
  height: unset;
  line-height: unset;
  padding: 0 0.25em;
  background: none;
  border: none;
  border-radius: unset;
  outline: unset;
  user-select: unset;
  font-size: unset;
  transition: unset;
}
.svelecte-pf2e.svelte-jc42wy .svelecte.pf2e .sv-input--text:focus {
  box-shadow: none;
  outline: unset;
}
.svelecte-pf2e.svelte-jc42wy .svelecte.pf2e .sv_dropdown {
  position: fixed;
  position-anchor: --svelecte-anchor;
  min-width: anchor-size(width);
  inset: unset;
  top: anchor(bottom);
  left: anchor(left);
}
/* (empty) .svelecte-pf2e :global(.svelecte.pf2e) {
  /** Undo foundry overrides *\/
}*/
.svelecte-pf2e.svelte-jc42wy .svelecte.pf2e button {
  height: unset;
  min-height: unset;
  border-radius: unset;
}
    .standard-form.svelte-d427hg {
        --border-color: var(--sub);

        header:where(.svelte-d427hg) {
            border-bottom: 1px solid var(--color-tabs-border);
            text-align: center;
            font-size: var(--font-size-18);
        }

        .choice-select:where(.svelte-d427hg) {
            min-width: 16rem;
        }

        .contents:where(.svelte-d427hg) {
            display: flex;
            flex-direction: column;
            gap: var(--space-8);
        }

        .choice:where(.svelte-d427hg) {
            align-items: center;
            display: flex;
            gap: var(--space-8);
            width: 100%;
        }

        .choice-buttons:where(.svelte-d427hg) {
            align-items: center;
            display: flex;
            flex-direction: column;
            gap: var(--space-8);

            .select-button:where(.svelte-d427hg) {
                display: flex;
                justify-content: flex-start;
                width: 100%;
                img:where(.svelte-d427hg) {
                    border: 1px solid #444;
                    height: 1.6em;
                    margin-right: 0.5em;
                }
            }
        }

        .item-info:where(.svelte-d427hg) {
            --button-size: var(--font-size-24);
            border: 1px solid var(--border-color);
            min-width: 120px;
            justify-content: center;
            width: var(--font-size-24);
            min-width: unset;
        }

        .drop-zone:where(.svelte-d427hg) {
            align-items: center;
            border: 1px solid var(--border-color);
            border-radius: 3px;
            color: var(--color-text-secondary);
            cursor: default;
            display: flex;
            line-height: 1.75rem;
            padding: var(--space-1) var(--space-6);

            i:where(.svelte-d427hg) {
                align-items: center;
                border: 1px solid var(--border-color);
                border-radius: 2px;
                display: flex;
                height: 1.6em;
                justify-content: center;
                margin-right: 0.5em;
                width: 1.6em;

                &:after {
                    font-size: var(--font-size-20);
                }
            }

            span:where(.svelte-d427hg) {
                flex: 1;
            }
        }
    }
.item-summary.svelte-nyo51b {
  flex: 0 0 100%;
  line-height: normal;
  overflow: hidden;
  padding: var(--space-4);
  white-space: unset;
}
.item-summary.svelte-nyo51b .gm-notes:where(.svelte-nyo51b) {
  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;
}
.item-summary.svelte-nyo51b {
  --space-s: 0.25em;
  --space-m: 0.5em;
  --space-l: 1em;
  --space-xl: 1.5em;
  --space-2xl: 2em;
  --radius: 3px;
}
.item-summary.svelte-nyo51b :is(h1, h2, h3, h4, h5, h6):not(:first-child) {
  margin-top: 1em;
}
.item-summary.svelte-nyo51b .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;
}
.item-summary.svelte-nyo51b .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;
}
.item-summary.svelte-nyo51b .inline-header + p {
  margin-top: var(--space-s);
}
.item-summary.svelte-nyo51b .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);
}
.item-summary.svelte-nyo51b .info > * + * {
  margin-top: var(--space-m);
}
.item-summary.svelte-nyo51b .info + * {
  margin-top: var(--space-xl);
}
.item-summary.svelte-nyo51b .info + .item-summary .info {
  margin-top: var(--space-s);
}
.item-summary.svelte-nyo51b .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);
}
.item-summary.svelte-nyo51b .info h4::after {
  font-family: "Font Awesome 6";
  content: "\f05a";
  font-weight: 900;
  margin-right: var(--space-s);
}
.item-summary.svelte-nyo51b .info p,
.item-summary.svelte-nyo51b .info span {
  font-size: 0.8em;
  margin: 0;
  padding: 0 var(--space-l);
}
.item-summary.svelte-nyo51b .info p:first-of-type,
.item-summary.svelte-nyo51b .info span:first-of-type {
  padding-top: var(--space-m);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.item-summary.svelte-nyo51b .traits {
  display: flex;
  flex-wrap: wrap;
}
.item-summary.svelte-nyo51b .traits p,
.item-summary.svelte-nyo51b .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;
}
.item-summary.svelte-nyo51b .statblock {
  font-family: var(--sans-serif-condensed);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: var(--space-m);
}
.item-summary.svelte-nyo51b .statblock > * + * {
  margin-top: var(--space-s);
  margin-bottom: 0;
}
.item-summary.svelte-nyo51b .statblock p {
  --indent: var(--space-l);
  margin-left: var(--indent);
  position: relative;
}
.item-summary.svelte-nyo51b .statblock p strong:first-of-type {
  margin-left: calc(var(--indent) * -1);
}
.item-summary.svelte-nyo51b .statblock p .trait:first-of-type {
  margin-left: calc(var(--indent) * -1 - 2px);
}
.item-summary.svelte-nyo51b .statblock span.pf2-icon {
  line-height: 1;
}
.item-summary.svelte-nyo51b .statblock h1,
.item-summary.svelte-nyo51b .statblock h2,
.item-summary.svelte-nyo51b .statblock h3,
.item-summary.svelte-nyo51b .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;
}
.item-summary.svelte-nyo51b .statblock hr {
  border: none;
  border-bottom: 1px solid var(--color-border-dark);
}
.item-summary.svelte-nyo51b .message {
  font-family: var(--journal-cursive);
  font-size: 2em;
  line-height: 1.2;
}
.item-summary.svelte-nyo51b > .tags {
  margin: 0.5em 0.05em 0.2em calc(-1 * var(--space-2));
  padding: 0;
}
/* (empty) .item-summary :global {
  /* Override AppV2 hr with something that fits item descriptions better *\/
}*/
.item-summary.svelte-nyo51b .description hr {
  background-color: var(--color-border);
  background-image: none;
  margin: unset;
  height: var(--space-1);
}
    .sheet-header.svelte-17fwdag {
        flex-direction: column;
        margin: var(--space-8);
        margin-bottom: 0;
        .search:where(.svelte-17fwdag) {
            margin-top: var(--space-2);
        }
    }

    .content.svelte-17fwdag {
        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-17fwdag) {
            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-17fwdag) {
            display: flex;
            flex-direction: column;
            list-style: none;
            width: 100%;
            margin: 0;
            padding: 0;
        }
    }

    .item.svelte-17fwdag {
        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-17fwdag):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-17fwdag) {
            cursor: pointer;
            flex: 1;
            margin: 0;

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

            /* :global {*/
                .tags {
                    padding: 0;
                    margin: 0;
                }
                .tag {
                    /** Roboto has some inherit padding that makes sizing this small cause misalignment w/o line-height */
                    height: var(--space-17);
                    line-height: 95%;
                }
            /*}*/
        }

        > .quantity:where(.svelte-17fwdag) {
            --input-height: 1.375rem;

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

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

            i:where(.svelte-17fwdag) {
                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-17fwdag)::before {
                        content: "\f00d";
                    }
                }
            }
        }

        + .item:where(.svelte-17fwdag) {
            border-top: 1px solid var(--color-border);
        }
    }
.document-list.svelte-p86f2m {
  max-height: 10rem;
  overflow-y: auto;
  border: 1px solid var(--color-border);
  border-radius: 3px;
}
.document-list.svelte-p86f2m h4:where(.svelte-p86f2m) {
  background: var(--table-header-bg-color);
  font-family: inherit;
  font-size: var(--font-size-14);
  font-variant: small-caps;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 1.75;
  margin: var(--space-12) 0 0;
  padding: 0 var(--space-8);
}
.document-list.svelte-p86f2m h4:where(.svelte-p86f2m):first-child {
  margin-top: 0;
}
.document-list.svelte-p86f2m ul:where(.svelte-p86f2m) {
  list-style: none;
  margin: 0;
  padding: 0;
}
.document-list.svelte-p86f2m li:where(.svelte-p86f2m) {
  margin-bottom: 0;
  overflow: hidden;
}
.document-list.svelte-p86f2m li:where(.svelte-p86f2m):nth-child(odd) {
  background-color: var(--table-row-color-odd);
}
.document-list.svelte-p86f2m li:where(.svelte-p86f2m):nth-child(even) {
  background-color: var(--table-row-color-even);
}
.document-list.svelte-p86f2m li:where(.svelte-p86f2m):hover {
  background-color: var(--table-row-color-highlight);
}
.document-list.svelte-p86f2m button:where(.svelte-p86f2m) {
  align-items: center;
  background: none;
  border: none;
  box-shadow: none;
  cursor: pointer;
  transition: none;
  display: flex;
  gap: var(--space-4);
  width: 100%;
  height: auto;
  padding: 0 var(--space-12);
  text-align: left;
}
.document-list.svelte-p86f2m button:where(.svelte-p86f2m) .name:where(.svelte-p86f2m) {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.document-list.svelte-p86f2m button:where(.svelte-p86f2m) i.fa-triangle-exclamation:where(.svelte-p86f2m) {
  color: var(--color-level-warning);
}
.document-list.svelte-p86f2m button:where(.svelte-p86f2m):hover {
  box-shadow: none;
  text-shadow: none;
}
.document-list.svelte-p86f2m button:where(.svelte-p86f2m):focus {
  outline: none;
  box-shadow: none;
}
.document-list.svelte-p86f2m button:where(.svelte-p86f2m):focus-visible {
  outline: 2px solid var(--button-focus-outline-color);
  outline-offset: -2px;
}.container.svelte-1g0k07m {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  max-width: 20rem;
}

dl.svelte-1g0k07m {
  display: grid;
  grid-template-columns: max-content 1fr;
  margin: 0;
  user-select: text;
}
dl.svelte-1g0k07m dt:where(.svelte-1g0k07m),
dl.svelte-1g0k07m dd:where(.svelte-1g0k07m) {
  padding: var(--space-3) var(--space-8);
}
dl.svelte-1g0k07m dt:where(.svelte-1g0k07m):nth-of-type(odd),
dl.svelte-1g0k07m dd:where(.svelte-1g0k07m):nth-of-type(odd) {
  background: var(--table-row-color-odd);
}
dl.svelte-1g0k07m dt:where(.svelte-1g0k07m):nth-of-type(even),
dl.svelte-1g0k07m dd:where(.svelte-1g0k07m):nth-of-type(even) {
  background: var(--table-row-color-even);
}
dl.svelte-1g0k07m dt:where(.svelte-1g0k07m) {
  font-weight: bold;
  margin: 0;
  text-align: end;
  text-shadow: none;
}
dl.svelte-1g0k07m dd:where(.svelte-1g0k07m) {
  margin: 0;
  overflow-wrap: break-word;
}
dl.svelte-1g0k07m dd:where(.svelte-1g0k07m) .empty:where(.svelte-1g0k07m) {
  color: var(--color-text-secondary);
}

section.failures.svelte-1g0k07m h2:where(.svelte-1g0k07m) {
  font-family: inherit;
  font-size: var(--font-size-16);
  margin: 0 0 var(--space-4);
}

.status.svelte-1g0k07m {
  display: flex;
}
.status.svelte-1g0k07m > :where(.svelte-1g0k07m) {
  flex: 1;
}
.status.svelte-1g0k07m .updated:where(.svelte-1g0k07m) {
  align-items: center;
  border: 1px dashed var(--alt);
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  padding: var(--space-4);
}fieldset.svelte-pv9137 {
  border: 1px solid #bbb;
  margin: var(--space-8) var(--space-2);
  border-radius: var(--space-5);
  padding: var(--space-6);
  position: relative;
}
fieldset.svelte-pv9137 legend:where(.svelte-pv9137) {
  display: flex;
  height: 1.25em;
  line-height: 1.25em;
  font-size: 1.25em;
}
fieldset.svelte-pv9137 legend:where(.svelte-pv9137) button.expand-section:where(.svelte-pv9137) {
  align-items: center;
  border: unset;
  background: unset;
  display: flex;
  font-size: inherit;
  padding: 0 var(--space-2);
  width: fit-content;
}
fieldset.svelte-pv9137 legend:where(.svelte-pv9137) button.expand-section:where(.svelte-pv9137) i:where(.svelte-pv9137) {
  font-size: 0.8em;
  margin-right: 0.25em;
  margin-left: unset;
}
fieldset.svelte-pv9137 legend:where(.svelte-pv9137) button.clear-filter:where(.svelte-pv9137):not(:hover) {
  background: var(--background);
}
fieldset.svelte-pv9137 legend:where(.svelte-pv9137) button.clear-filter:where(.svelte-pv9137) {
  line-height: 1.5em;
  position: absolute;
  right: var(--space-10);
  top: var(--space-1);
  width: auto;
}.traits-select.svelte-hv2bvq {
  display: flex;
  margin-bottom: 0.25em;
}

 #compendium-browser .sv-control {
  cursor: text;
}
 #compendium-browser .sv-control .sv-buttons .sv-btn-separator {
  display: none;
}
 #compendium-browser .sv-control .sv-buttons button[data-action=toggle] {
  display: none;
}
 #compendium-browser .sv-item--container {
  border: solid var(--color-border-trait);
  border-width: 1px 3px;
}
 #compendium-browser .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;
}
 #compendium-browser .sv-item--wrap.in-selection .sv-item--content {
  margin: 0 0.25em;
}
 #compendium-browser .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);
}
 #compendium-browser .sv-item--btn:hover {
  background-color: #c77777;
}
 #compendium-browser .sv-item--btn:hover i {
  color: var(--sv-item-btn-color-hover);
}.sv-item--content.not.svelte-mmf5km {
  text-decoration: line-through;
}

.sv-item--btn.svelte-mmf5km {
  min-height: unset;
  height: unset;
  min-width: 11px;
}
.sv-item--btn.svelte-mmf5km i:where(.svelte-mmf5km) {
  margin-right: unset;
  color: var(--color-text-trait);
}

.filter-conjunction.svelte-mmf5km {
  display: flex;
}
.filter-conjunction.svelte-mmf5km input[type=radio]:where(.svelte-mmf5km) {
  margin-top: 0;
}.levels-container.svelte-hxey6l {
  display: flex;
  flex-direction: column;
}
.levels-container.svelte-hxey6l .inputs:where(.svelte-hxey6l) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5em;
}
.levels-container.svelte-hxey6l .inputs:where(.svelte-hxey6l) select:where(.svelte-hxey6l) {
  width: 45%;
}.ranges-container.svelte-p8uv99 {
  display: flex;
  flex-direction: column;
}
.ranges-container.svelte-p8uv99 .inputs:where(.svelte-p8uv99) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5em;
}
.ranges-container.svelte-p8uv99 .inputs:where(.svelte-p8uv99) input:where(.svelte-p8uv99) {
  width: 45%;
}.checkbox-container.svelte-obnnay {
  display: flex;
  flex-direction: column;
}
.checkbox-container.svelte-obnnay label:where(.svelte-obnnay) {
  display: flex;
  align-items: center;
}
.checkbox-container.svelte-obnnay .filter-sources:where(.svelte-obnnay) {
  margin: 0.3em 0.15em 0.15em 0.25em;
  height: 1.75em;
  width: 98%;
}.control-area.svelte-165ifxu {
  overflow-y: auto;
  padding-right: var(--space-4);
  scrollbar-gutter: stable;
}

.headercontainer.svelte-165ifxu {
  border: 1px solid #bbb;
  border-radius: 5px;
  margin-top: 5px;
  padding: var(--space-6);
  position: relative;
}
.headercontainer.svelte-165ifxu .order-by-select:where(.svelte-165ifxu) {
  margin-top: 0.6em;
}
.headercontainer.svelte-165ifxu .order-by-select:where(.svelte-165ifxu) label:where(.svelte-165ifxu) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 0.6em 1em;
}
.headercontainer.svelte-165ifxu .select-container:where(.svelte-165ifxu) {
  margin-right: 1em;
}
.headercontainer.svelte-165ifxu .select-container:where(.svelte-165ifxu) select:where(.svelte-165ifxu) {
  width: fit-content;
  height: 2em;
}
.headercontainer.svelte-165ifxu .select-container:where(.svelte-165ifxu) .order-button:where(.svelte-165ifxu) {
  display: inline-flex;
  border: unset;
  background: unset;
  width: 2em;
  height: 2em;
}
.headercontainer.svelte-165ifxu .select-container:where(.svelte-165ifxu) .order-button:where(.svelte-165ifxu):hover {
  background: var(--button-hover-background-color);
}
.headercontainer.svelte-165ifxu .select-container:where(.svelte-165ifxu) .order-button:where(.svelte-165ifxu) i:where(.svelte-165ifxu) {
  margin-right: unset;
}
.headercontainer.svelte-165ifxu .clear-filters:where(.svelte-165ifxu) {
  width: 100%;
}li.svelte-1vfrdc6 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  font-family: var(--font-primary);
  font-size: var(--font-size-14);
}
li.svelte-1vfrdc6:nth-child(odd) {
  background-color: var(--color-result-list-odd);
}
li.svelte-1vfrdc6 {
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.25rem;
}
li.svelte-1vfrdc6 > :where(.svelte-1vfrdc6) {
  flex: 1;
  align-items: center;
  display: flex;
  min-height: 2rem;
  justify-content: center;
}
li.svelte-1vfrdc6 img:where(.svelte-1vfrdc6) {
  box-sizing: border-box;
  border: 1px solid var(--color-border-dark);
  border-radius: 2px;
  max-width: 100%;
}
li.svelte-1vfrdc6 .image:where(.svelte-1vfrdc6) {
  max-width: 2rem;
}
li.svelte-1vfrdc6 .name:where(.svelte-1vfrdc6) {
  gap: 0.25em;
  flex-basis: 6ch;
  justify-content: start;
}
li.svelte-1vfrdc6 .name:where(.svelte-1vfrdc6) button.result-link:where(.svelte-1vfrdc6) {
  height: fit-content;
  min-height: 1.5em;
}
li.svelte-1vfrdc6 .name:where(.svelte-1vfrdc6) button.result-link:where(.svelte-1vfrdc6):hover {
  color: var(--button-text-color);
}
li.svelte-1vfrdc6 .name:where(.svelte-1vfrdc6) button.result-link:where(.svelte-1vfrdc6):focus {
  outline: unset;
  box-shadow: unset;
}
li.svelte-1vfrdc6 .tags:where(.svelte-1vfrdc6) {
  padding: 0.25em 0.05em;
  margin-bottom: 0;
}
li.svelte-1vfrdc6 .level:where(.svelte-1vfrdc6) {
  flex-grow: 1;
  font-weight: 900;
  max-width: 1.5em;
}
li.svelte-1vfrdc6 .price:where(.svelte-1vfrdc6) {
  flex: none;
  justify-content: end;
  margin-right: var(--font-size-10);
  min-width: 5em;
}
li.svelte-1vfrdc6 .end:where(.svelte-1vfrdc6) {
  margin-right: 0.5em;
}
li.svelte-1vfrdc6 button.equipment-action:where(.svelte-1vfrdc6) {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: unset;
  width: 1.5em;
}
li.svelte-1vfrdc6 button.equipment-action:where(.svelte-1vfrdc6) i:where(.svelte-1vfrdc6) {
  margin-right: unset;
}
li.svelte-1vfrdc6 button.equipment-action:where(.svelte-1vfrdc6):hover {
  color: var(--button-text-color);
  box-shadow: unset;
}
li.svelte-1vfrdc6 button.equipment-action:where(.svelte-1vfrdc6):focus {
  outline: unset;
  box-shadow: unset;
}
li.svelte-1vfrdc6:hover {
  background-color: rgba(255, 255, 255, 0.25);
  cursor: grab;
}.browser-tab.svelte-nwz3p5 {
  display: grid;
  grid-template-columns: 19em auto;
  min-height: 9em;
  height: 100%;
}
.browser-tab.svelte-nwz3p5 ul.result-list:where(.svelte-nwz3p5) {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 5px 0 0 0;
  padding: 0;
  width: 100%;
  overflow: visible scroll;
} .compendium-browser {
  --color-result-list-odd: rgba(0, 0, 0, 0.12);
  --input-text-color: var(--color-dark-2);
}
 .compendium-browser .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-19xx45a {
  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);
}
nav.svelte-19xx45a button:where(.svelte-19xx45a) {
  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;
}
nav.svelte-19xx45a button.active:where(.svelte-19xx45a) {
  outline: unset;
  box-shadow: unset;
}
nav.svelte-19xx45a button.active:where(.svelte-19xx45a)::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);
}
nav.svelte-19xx45a button:where(.svelte-19xx45a):focus {
  outline: unset;
  box-shadow: unset;
}
nav.svelte-19xx45a button:where(.svelte-19xx45a):hover {
  background: unset;
  box-shadow: unset;
}

.landing-page.svelte-19xx45a {
  width: 100%;
  justify-content: center;
  text-align: center;
  padding: 2em;
  grid-column: span 2;
}/* Use the app font so heading size/level stay independent of core's per-level fonts. */
h2.svelte-17byc1u {
  font-family: inherit;
  font-size: var(--font-size-16);
  line-height: 1.2;
}

.dialog-content.svelte-17byc1u > table:where(.svelte-17byc1u) i.fa-check:where(.svelte-17byc1u) {
  color: var(--color-level-success);
}
.dialog-content.svelte-17byc1u > table:where(.svelte-17byc1u) i.fa-xmark:where(.svelte-17byc1u) {
  color: var(--color-level-error);
}
.dialog-content.svelte-17byc1u > table:where(.svelte-17byc1u) td:where(.svelte-17byc1u),
.dialog-content.svelte-17byc1u > table:where(.svelte-17byc1u) th:where(.svelte-17byc1u) {
  text-align: center;
}

.form-footer.svelte-17byc1u button:where(.svelte-17byc1u):disabled:hover {
  box-shadow: none;
}

section.unmigrated.svelte-17byc1u {
  margin-bottom: var(--space-8);
}
section.unmigrated.svelte-17byc1u h3:where(.svelte-17byc1u) {
  font-family: inherit;
  font-size: var(--font-size-16);
  margin: 0 0 var(--space-4);
}
section.unmigrated.svelte-17byc1u p.hint:where(.svelte-17byc1u) {
  margin: 0 0 var(--space-6);
}fieldset.svelte-1s1fq9a + fieldset:where(.svelte-1s1fq9a) {
  margin-block-start: var(--space-8);
}

input[aria-invalid=true].svelte-1s1fq9a {
  border-color: var(--color-level-error);
  outline: 1px solid var(--color-level-error);
}

.skills-list.svelte-1s1fq9a {
  display: grid;
  gap: var(--space-4) var(--space-10);
  grid-template-columns: 6rem 1fr 4.5rem auto;
}
.skills-list.svelte-1s1fq9a hr:where(.svelte-1s1fq9a) {
  grid-column: 1/-1;
  margin-block: var(--space-4);
  /* When the add-row is absent (e.g. all skills trained), drop the trailing rule. */
}
.skills-list.svelte-1s1fq9a hr:where(.svelte-1s1fq9a):last-child {
  display: none;
}
.skills-list.svelte-1s1fq9a > div:where(.svelte-1s1fq9a) {
  display: grid;
  grid-column: 1/-1;
  grid-template-columns: subgrid;
  align-items: center;
  padding-block: var(--space-2);
  padding-inline: var(--space-4);
  row-gap: var(--space-4);
}
.skills-list.svelte-1s1fq9a > div.skill:where(.svelte-1s1fq9a) label.name:where(.svelte-1s1fq9a) {
  color: var(--color-form-label);
  font-weight: bold;
}
.skills-list.svelte-1s1fq9a > div.skill.header:where(.svelte-1s1fq9a) {
  background-color: var(--table-header-bg-color);
  font-weight: bold;
  letter-spacing: 0.04em;
  padding-block: var(--space-4);
}
.skills-list.svelte-1s1fq9a > div.skill:where(.svelte-1s1fq9a) button.inline-control.icon {
  justify-self: end;
}
.skills-list.svelte-1s1fq9a > div.skill:where(.svelte-1s1fq9a) > button.add-special:where(.svelte-1s1fq9a) {
  grid-column: 1/-1;
  justify-self: start;
}
.skills-list.svelte-1s1fq9a > div.skill:where(.svelte-1s1fq9a) .specials:where(.svelte-1s1fq9a) {
  display: grid;
  grid-column: 1/-1;
  grid-template-columns: subgrid;
  row-gap: var(--space-6);
}
.skills-list.svelte-1s1fq9a > div.skill:where(.svelte-1s1fq9a) .specials:where(.svelte-1s1fq9a) .special-row:where(.svelte-1s1fq9a) {
  display: grid;
  grid-column: 1/-1;
  grid-template-columns: subgrid;
  align-items: center;
}
.skills-list.svelte-1s1fq9a > div.skill:where(.svelte-1s1fq9a) .specials:where(.svelte-1s1fq9a) .special-row.header:where(.svelte-1s1fq9a) {
  color: var(--color-form-label);
  font-weight: bold;
  text-align: center;
}
.skills-list.svelte-1s1fq9a > div.lore:where(.svelte-1s1fq9a) .name:where(.svelte-1s1fq9a) {
  grid-column: 1/3;
}
.skills-list.svelte-1s1fq9a > div.lore:where(.svelte-1s1fq9a) .item-controls:where(.svelte-1s1fq9a) {
  display: flex;
  gap: var(--space-2);
}
.skills-list.svelte-1s1fq9a > div.skill-selector:where(.svelte-1s1fq9a), .skills-list.svelte-1s1fq9a > div.lore-skill-creator:where(.svelte-1s1fq9a) {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-10);
}
.skills-list.svelte-1s1fq9a > div.skill-selector:where(.svelte-1s1fq9a) > .name:where(.svelte-1s1fq9a), .skills-list.svelte-1s1fq9a > div.lore-skill-creator:where(.svelte-1s1fq9a) > .name:where(.svelte-1s1fq9a) {
  flex: 1 1 0;
}
.skills-list.svelte-1s1fq9a > div.lore-skill-creator:where(.svelte-1s1fq9a) .lore-status:where(.svelte-1s1fq9a) {
  color: var(--color-level-error);
  flex: 1 1 100%;
  font-size: var(--font-size-12);
  margin-block: var(--space-4) 0;
}
.skills-list.svelte-1s1fq9a > div.lore-skill-creator:where(.svelte-1s1fq9a) .lore-status:where(.svelte-1s1fq9a):empty {
  display: none;
}
:root {
  /** Font-size variables not defined by Foundry */
  --font-size-8: 0.5rem;
  --font-size-9: 0.5625rem;
  --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-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);
}
@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 */
/* ----------------------------------------- */
/* CSS Custom Properties                     */
/* ----------------------------------------- */
body,
.app,
.themed.theme-light {
  --color-text-tertiary: var(--color-dark-4);
  /* 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-light: rgb(242.6724137931, 232.5862068966, 202.3275862069);
  --primary: var(--color-pf-primary);
  --secondary: var(--color-pf-secondary);
  --tertiary: var(--color-pf-tertiary);
  --tag-color: var(--color-pf-alternate-dark);
  --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-subtle);
  --visibility-gm-bg: #e8e8ef;
  --visibility-owner-bg: #ddebe1;
  --color-blind-roll-background: #f5eaf5;
  --color-blind-roll-border: #720073;
  --color-whisper-roll-background: #e8e8ef;
  --color-whisper-roll-border: #545469;
  /* 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-cool-4);
  --text-light: var(--color-light-1);
  --text-light-disabled: #a6a092;
  --color-text-dark-input: #333;
  --color-text-dark-improved: light-dark(#006644, #66cc99);
  /* Degrees of success */
  --color-pf-text-critical-success: rgb(0, 128, 0);
  --color-pf-text-success: rgb(0, 0, 255);
  --color-pf-text-failure: rgb(255, 69, 0);
  --color-pf-text-critical-failure: rgb(255, 0, 0);
  /* Borders */
  --color-border-divider: #baa991;
  --color-border-dark-input: #d3ccbc;
  --color-border-medium: gray;
  --color-border-book: #7a7971;
  /* Inventory headers boxes */
  --color-pf-inventory-header-text: var(--color-light-1);
  --color-pf-inventory-header-bg: var(--color-pf-alternate);
  /* 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;
  /* Health Bars */
  --color-pf-health-bg: #5e0000;
  --color-pf-health-temp-bg: #171f69;
  /** Encumbrance */
  --color-pf-bulk-normal: var(--color-pf-secondary);
  --color-pf-bulk-encumbered: var(--color-level-warning-bg);
  --color-pf-bulk-exceeded: var(--color-level-error-bg);
  /* Value adjustments (e.g. weak/elite) */
  --color-pf-text-adjusted-higher: #009988;
  --color-pf-text-adjusted-lower: #cc3311;
  /* Fix core style bug */
}
body textarea,
.app textarea,
.themed.theme-light textarea {
  font-family: var(--font-body);
}
body textarea:read-only,
.app textarea:read-only,
.themed.theme-light textarea:read-only {
  color: var(--color-text-secondary);
}
body textarea::placeholder,
.app textarea::placeholder,
.themed.theme-light textarea::placeholder {
  color: var(--color-dark-4);
}
body,
.app,
.themed.theme-light {
  /* Damage colors */
}
body .damage,
.app .damage,
.themed.theme-light .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%);
}
body .damage.color.acid,
.app .damage.color.acid,
.themed.theme-light .damage.color.acid {
  background-color: var(--color-bg-acid);
  border-color: var(--color-border-acid);
  color: var(--color-text-acid);
}
body .damage.color.acid i[class^=fa-],
.app .damage.color.acid i[class^=fa-],
.themed.theme-light .damage.color.acid i[class^=fa-] {
  color: var(--color-border-acid);
}
body .damage.color.bleed,
.app .damage.color.bleed,
.themed.theme-light .damage.color.bleed {
  background-color: var(--color-bg-bleed);
  border-color: var(--color-border-bleed);
  color: var(--color-text-bleed);
}
body .damage.color.bleed i[class^=fa-],
.app .damage.color.bleed i[class^=fa-],
.themed.theme-light .damage.color.bleed i[class^=fa-] {
  color: var(--color-border-bleed);
}
body .damage.color.bludgeoning, body .damage.color.piercing, body .damage.color.slashing,
.app .damage.color.bludgeoning,
.app .damage.color.piercing,
.app .damage.color.slashing,
.themed.theme-light .damage.color.bludgeoning,
.themed.theme-light .damage.color.piercing,
.themed.theme-light .damage.color.slashing {
  background-color: var(--color-bg-physical);
  border-color: var(--color-border-physical);
  color: var(--color-text-physical);
}
body .damage.color.bludgeoning i[class^=fa-], body .damage.color.piercing i[class^=fa-], body .damage.color.slashing i[class^=fa-],
.app .damage.color.bludgeoning i[class^=fa-],
.app .damage.color.piercing i[class^=fa-],
.app .damage.color.slashing i[class^=fa-],
.themed.theme-light .damage.color.bludgeoning i[class^=fa-],
.themed.theme-light .damage.color.piercing i[class^=fa-],
.themed.theme-light .damage.color.slashing i[class^=fa-] {
  color: var(--color-border-physical);
}
body .damage.color.chaotic,
.app .damage.color.chaotic,
.themed.theme-light .damage.color.chaotic {
  background-color: var(--color-bg-chaotic);
  border-color: var(--color-border-chaotic);
  color: var(--color-text-chaotic);
}
body .damage.color.chaotic i[class^=fa-],
.app .damage.color.chaotic i[class^=fa-],
.themed.theme-light .damage.color.chaotic i[class^=fa-] {
  color: var(--color-border-chaotic);
}
body .damage.color.cold,
.app .damage.color.cold,
.themed.theme-light .damage.color.cold {
  background-color: var(--color-bg-cold);
  border-color: var(--color-border-cold);
  color: var(--color-text-cold);
}
body .damage.color.cold i[class^=fa-],
.app .damage.color.cold i[class^=fa-],
.themed.theme-light .damage.color.cold i[class^=fa-] {
  color: var(--color-border-cold);
}
body .damage.color.electricity,
.app .damage.color.electricity,
.themed.theme-light .damage.color.electricity {
  background-color: var(--color-bg-electricity);
  border-color: var(--color-border-electricity);
  color: var(--color-text-electricity);
}
body .damage.color.electricity i[class^=fa-],
.app .damage.color.electricity i[class^=fa-],
.themed.theme-light .damage.color.electricity i[class^=fa-] {
  color: var(--color-border-electricity);
}
body .damage.color.evil,
.app .damage.color.evil,
.themed.theme-light .damage.color.evil {
  background-color: var(--color-bg-evil);
  border-color: var(--color-border-evil);
  color: var(--color-text-evil);
}
body .damage.color.evil i[class^=fa-],
.app .damage.color.evil i[class^=fa-],
.themed.theme-light .damage.color.evil i[class^=fa-] {
  color: var(--color-border-evil);
}
body .damage.color.fire,
.app .damage.color.fire,
.themed.theme-light .damage.color.fire {
  background-color: var(--color-bg-fire);
  border-color: var(--color-border-fire);
  color: var(--color-text-fire);
}
body .damage.color.fire i[class^=fa-],
.app .damage.color.fire i[class^=fa-],
.themed.theme-light .damage.color.fire i[class^=fa-] {
  color: var(--color-border-fire);
}
body .damage.color.force,
.app .damage.color.force,
.themed.theme-light .damage.color.force {
  background-color: var(--color-bg-force);
  border-color: var(--color-border-force);
  color: var(--color-text-force);
}
body .damage.color.force i[class^=fa-],
.app .damage.color.force i[class^=fa-],
.themed.theme-light .damage.color.force i[class^=fa-] {
  color: var(--color-border-force);
}
body .damage.color.good,
.app .damage.color.good,
.themed.theme-light .damage.color.good {
  background-color: var(--color-bg-good);
  border-color: var(--color-border-good);
  color: var(--color-text-good);
}
body .damage.color.good i[class^=fa-],
.app .damage.color.good i[class^=fa-],
.themed.theme-light .damage.color.good i[class^=fa-] {
  color: var(--color-border-good);
}
body .damage.color.lawful,
.app .damage.color.lawful,
.themed.theme-light .damage.color.lawful {
  background-color: var(--color-bg-lawful);
  border-color: var(--color-border-lawful);
  color: var(--color-text-lawful);
}
body .damage.color.lawful i[class^=fa-],
.app .damage.color.lawful i[class^=fa-],
.themed.theme-light .damage.color.lawful i[class^=fa-] {
  color: var(--color-border-lawful);
}
body .damage.color.mental,
.app .damage.color.mental,
.themed.theme-light .damage.color.mental {
  background-color: var(--color-bg-mental);
  border-color: var(--color-border-mental);
  color: var(--color-text-mental);
}
body .damage.color.mental i[class^=fa-],
.app .damage.color.mental i[class^=fa-],
.themed.theme-light .damage.color.mental i[class^=fa-] {
  color: var(--color-border-mental);
}
body .damage.color.poison,
.app .damage.color.poison,
.themed.theme-light .damage.color.poison {
  background-color: var(--color-bg-poison);
  border-color: var(--color-border-poison);
  color: var(--color-text-poison);
}
body .damage.color.poison i[class^=fa-],
.app .damage.color.poison i[class^=fa-],
.themed.theme-light .damage.color.poison i[class^=fa-] {
  color: var(--color-border-poison);
}
body .damage.color.sonic,
.app .damage.color.sonic,
.themed.theme-light .damage.color.sonic {
  border-color: var(--color-border-sonic);
  background-color: var(--color-bg-sonic);
  color: var(--color-text-sonic);
}
body .damage.color.sonic i[class^=fa-],
.app .damage.color.sonic i[class^=fa-],
.themed.theme-light .damage.color.sonic i[class^=fa-] {
  color: var(--color-border-sonic);
}
body .damage.color.spirit,
.app .damage.color.spirit,
.themed.theme-light .damage.color.spirit {
  border-color: var(--color-border-spirit);
  background-color: var(--color-bg-spirit);
  color: var(--color-text-spirit);
}
body .damage.color.spirit i[class^=fa-],
.app .damage.color.spirit i[class^=fa-],
.themed.theme-light .damage.color.spirit i[class^=fa-] {
  color: var(--color-border-spirit);
}
body .damage.color.vitality,
.app .damage.color.vitality,
.themed.theme-light .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-shadow-dark);
}
body .damage.color.vitality i[class^=fa-],
.app .damage.color.vitality i[class^=fa-],
.themed.theme-light .damage.color.vitality i[class^=fa-] {
  color: var(--color-border-vitality);
}
body .damage.color.void,
.app .damage.color.void,
.themed.theme-light .damage.color.void {
  background-color: var(--color-bg-void);
  border-color: var(--color-border-void);
  color: var(--color-text-void);
}
body .damage.color.void i[class^=fa-],
.app .damage.color.void i[class^=fa-],
.themed.theme-light .damage.color.void i[class^=fa-] {
  color: var(--color-border-void);
}

body.theme-dark .application:not(.themed),
.themed.theme-dark {
  --color-text-tertiary: var(--color-light-4);
  --visibility-gm-bg: var(--color-cool-4);
  --color-blind-roll-background: #2b122be6;
  --color-whisper-roll-background: #12122be6;
  --tag-color: var(--color-light-4);
}

/**
 * Threat-rating colors shared by the encounter tracker's and XP macro's metrics.
 * Legibility on light backgrounds comes from the crisp shadow edge
 */
/**
*  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-4);
}
.pf2e.chat-card h2,
.pf2e.chat-card h3,
.pf2e.chat-card h4 {
  font-size: inherit;
  font-weight: 600;
}
.pf2e.chat-card .card-header {
  padding: var(--space-2) 0;
  border-top: 2px groove white;
  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 {
  font-size: var(--font-size-14);
  margin-left: auto;
}
.pf2e.chat-card .tags {
  border-bottom: 2px groove white;
  margin: 0;
  padding: var(--space-4) 0;
  flex-basis: 100%;
}
.pf2e.chat-card .tags:not(:has(.tag)) {
  padding: 0 0 var(--space-3) 0;
}
.pf2e.chat-card .card-content {
  margin: 0;
}
.pf2e.chat-card .card-content hr.item-block-divider {
  margin-top: var(--space-3);
}
.pf2e.chat-card footer {
  padding: var(--space-3) 0 0;
  border-top: 2px groove white;
}
.pf2e.chat-card footer span {
  border-right: 2px groove white;
  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:not(:has(.card-content)) .tags {
  border-bottom: none;
}
.pf2e.chat-card:not(:has(.card-content)) {
  gap: 0;
}
.pf2e.chat-card .card-buttons-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: var(--space-4);
}

.message-content .card-buttons,
.message-content .message-buttons {
  display: flex;
  flex-basis: 100%;
  flex-direction: column;
  gap: 0.25rem;
}
.message-content .card-buttons.horizontal,
.message-content .message-buttons.horizontal {
  flex-direction: row;
}
.message-content .card-buttons.horizontal button,
.message-content .message-buttons.horizontal button {
  flex: 1;
}
.message-content .card-buttons button span,
.message-content .message-buttons button span {
  border: none;
}
.message-content .card-buttons .owner-buttons,
.message-content .message-buttons .owner-buttons {
  display: flex;
  flex-basis: 100%;
  flex-direction: column;
  gap: 0.25rem;
}
.message-content .card-buttons .spell-attack-buttons,
.message-content .card-buttons .spell-button,
.message-content .card-buttons .attack-buttons,
.message-content .message-buttons .spell-attack-buttons,
.message-content .message-buttons .spell-button,
.message-content .message-buttons .attack-buttons {
  display: flex;
  flex-direction: row;
  gap: 0.25rem;
}
.message-content .card-buttons .spell-attack-buttons *,
.message-content .card-buttons .spell-button *,
.message-content .card-buttons .attack-buttons *,
.message-content .message-buttons .spell-attack-buttons *,
.message-content .message-buttons .spell-button *,
.message-content .message-buttons .attack-buttons * {
  flex-grow: 1;
  flex-basis: 0;
}
.message-content .card-buttons .spell-attack-buttons :first-child,
.message-content .card-buttons .spell-button :first-child,
.message-content .card-buttons .attack-buttons :first-child,
.message-content .message-buttons .spell-attack-buttons :first-child,
.message-content .message-buttons .spell-button :first-child,
.message-content .message-buttons .attack-buttons :first-child {
  flex-grow: 2;
}
.message-content .card-buttons .spell-attack-buttons button,
.message-content .card-buttons .spell-button button,
.message-content .card-buttons .attack-buttons button,
.message-content .message-buttons .spell-attack-buttons button,
.message-content .message-buttons .spell-button button,
.message-content .message-buttons .attack-buttons button {
  white-space: nowrap;
}
.message-content .card-buttons .spell-button button.small,
.message-content .message-buttons .spell-button button.small {
  flex-grow: 0;
}
.message-content .card-buttons .spell-button button.small > i,
.message-content .message-buttons .spell-button button.small > i {
  margin-right: 0;
}
.message-content .card-buttons .hidden-to-others,
.message-content .message-buttons .hidden-to-others {
  background: var(--visibility-gm-bg);
}

: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;
  --space-17: var(--font-size-17);
  --space-21: var(--font-size-21);
  --parchment-texture: url("../../../ui/parchment.jpg");
}

/* ----------------------------------------- */
/* Layout                                    */
/* ----------------------------------------- */
/** 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;
}

i.action-glyph::before {
  content: "1";
  font-family: "Pathfinder2eActions", sans-serif;
  font-style: normal;
}

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

a.content-link,
a.effect-area,
a.inline-roll,
a.inline-check {
  line-height: 1.5em;
}
a.content-link i,
a.effect-area i,
a.inline-roll i,
a.inline-check i {
  font-size: 0.9em;
}

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

a.inline-roll.blindroll {
  background-color: var(--color-blind-roll-background);
  border-color: var(--color-blind-roll-border);
}
a.inline-roll.gmroll, a.inline-roll.selfroll {
  background-color: var(--color-whisper-roll-background);
  border-color: var(--color-whisper-roll-border);
}
a.inline-roll.altered {
  color: var(--color-text-dark-improved);
}

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

/* ----------------------------------------- */
/* PF2E Action Custom Element                */
/* ----------------------------------------- */
span[data-pf2-action] {
  background: var(--content-link-background);
  border-radius: 2px;
  border: 1px solid var(--content-link-border-color);
  box-sizing: border-box;
  color: var(--content-link-text-color);
  padding: 0 var(--spacer-4);
  white-space: nowrap;
  word-break: break-all;
}
span[data-pf2-action] i {
  color: var(--content-link-icon-color);
  margin-right: var(--spacer-4);
}
span[data-pf2-action] {
  cursor: pointer;
}
span[data-pf2-action][data-secret] {
  background: var(--color-blind-roll-background);
  border-color: var(--color-blind-roll-border);
}
span[data-pf2-action][data-pf2-glyph]::before {
  font-family: "Pathfinder2eActions", sans-serif;
  margin-right: var(--spacer-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(--spacer-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(--content-link-background);
  border-radius: 2px;
  border: 1px solid var(--content-link-border-color);
  box-sizing: border-box;
  color: var(--content-link-text-color);
  padding: 0 var(--spacer-4);
  white-space: nowrap;
  word-break: break-all;
}
a.inline-check i,
span[data-pf2-check] i {
  color: var(--content-link-icon-color);
  margin-right: var(--spacer-4);
}
a.inline-check.with-repost,
span[data-pf2-check].with-repost {
  padding-right: 0;
}
a.inline-check.with-repost i.repost,
span[data-pf2-check].with-repost i.repost {
  margin-right: var(--spacer-2);
}
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:has(+ span.label > :first-child:is([data-visibility=gm])),
span[data-pf2-check] i:has(+ span.label > :first-child:is([data-visibility=gm])) {
  margin-right: var(--spacer-4);
}
a.inline-check[data-pf2-traits*=secret],
span[data-pf2-check][data-pf2-traits*=secret] {
  background: var(--color-blind-roll-background);
  border-color: var(--color-blind-roll-border);
}
a.inline-check[data-pf2-traits*=secret] [data-visibility=gm],
span[data-pf2-check][data-pf2-traits*=secret] [data-visibility=gm] {
  background: none;
  outline: none;
}
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       */
/* ----------------------------------------- */
a.effect-area {
  background: var(--content-link-background);
  border-radius: 2px;
  border: 1px solid var(--content-link-border-color);
  box-sizing: border-box;
  color: var(--content-link-text-color);
  padding: 0 var(--spacer-4);
  white-space: nowrap;
  word-break: break-all;
}
a.effect-area i {
  color: var(--content-link-icon-color);
  margin-right: var(--spacer-4);
}
a.effect-area {
  display: inline;
}
a.effect-area i {
  margin-right: var(--spacer-2);
  position: relative;
}
a.effect-area[data-type=cone] i {
  position: relative;
}
a.effect-area[data-type=cone] i::before {
  top: calc(-1 * var(--spacer-12) + 1px);
  left: 1px;
  width: 1ch;
  height: 1ch;
  font-size: var(--font-size-24);
  position: absolute;
}
a.effect-area[data-type=cylinder] i {
  --fa-secondary-opacity: 1;
}

/* ----------------------------------------- */
/* PF2E Inline Repost Element                */
/* ----------------------------------------- */
i.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;
  border-left: 1px solid var(--content-link-border-color);
  padding: 0 0 0 var(--spacer-2);
  margin: 0 0 0 var(--spacer-2);
  text-shadow: none;
}
i.repost:hover {
  color: var(--color-text-primary);
}

/* ----------------------------------------- */
/* 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(--spacer-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(--color-pf-primary);
  font: 600 var(--font-size-11)/1em var(--sans-serif);
  margin-left: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}
.crb-style .details-input {
  background-color: rgba(28, 28, 28, 0.1);
  border-bottom: 1px solid var(--color-border-dark-input);
  color: var(--text-dark);
  font-family: var(--body-serif);
  font-weight: bold;
  width: 100%;
}
.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;
}

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;
}
#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;
}
#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(--spacer-2);
}
#prosemirror-dropdown li[data-action=pf2e] li[data-action=pf2e-action-glyph] {
  font-family: "Pathfinder2eActions", sans-serif;
}
#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: 2px;
}
.prosemirror menu button {
  padding: 1px 5px;
}

#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);
  padding: var(--spacer-4) 0;
  text-align: left;
}
#tooltip.pf2e ul,
aside.locked-tooltip.pf2e ul {
  margin: var(--spacer-2);
  padding-right: var(--spacer-4);
}
#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;
}

/* ----------------------------------------- */
/* Accessibility                             */
/* ----------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.actors-sidebar .directory-item.actor .entry-name {
  display: flex;
  flex-direction: column;
  line-height: 1.25em;
}
.actors-sidebar .directory-item.actor .entry-name .actor-level {
  font-size: var(--font-size-12);
  color: var(--color-text-subtle);
}
.actors-sidebar ol.parties > li header {
  gap: var(--space-2);
}
.actors-sidebar ol.parties > li header.active {
  background: var(--color-pf-primary);
}
.actors-sidebar ol.parties > li header > i {
  margin: 0;
}
.actors-sidebar ol.parties > li header button.inline-control {
  --button-text-color: var(--color-light-2);
}
.actors-sidebar ol.parties > li header .icon-wrench::after {
  content: "\f0ad";
}
.actors-sidebar ol.parties > li ol.subdirectory {
  border-left-color: var(--color-pf-primary);
}
.actors-sidebar ol.parties > li.other-parties > header {
  background: var(--primary-dark);
}
.actors-sidebar ol.parties > li.other-parties > header i {
  margin-right: 10px;
}
.actors-sidebar ol.parties > li .directory-item {
  border-left: 1px solid var(--color-pf-primary);
}
.actors-sidebar ol.parties > li .directory-item .folder > header {
  background: var(--primary-darker);
}
.actors-sidebar ol.parties .blank {
  padding: 8px;
}

.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 {
  margin: 0.5rem 0 var(--space-2);
}
.chat-message > .message-content .message-buttons button {
  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 .crafted-item,
.chat-message > .message-content .message-buttons .effect-applied {
  align-items: center;
  color: var(--color-text-dark-secondary);
  display: flex;
  font-style: italic;
  gap: var(--space-4);
  justify-content: center;
  min-height: 2.1rem;
  padding-bottom: 0.1rem;
}
.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: var(--color-pf-text-critical-success);
}
.chat-message > .message-header .flavor-text .target-dc-result .adjusted.decreased {
  color: var(--color-pf-text-critical-failure);
}
.chat-message > .message-header .flavor-text .degree-of-success .criticalSuccess {
  color: var(--color-pf-text-critical-success);
}
.chat-message > .message-header .flavor-text .degree-of-success .success {
  color: var(--color-pf-text-success);
}
.chat-message > .message-header .flavor-text .degree-of-success .failure {
  color: var(--color-pf-text-failure);
}
.chat-message > .message-header .flavor-text .degree-of-success .criticalFailure {
  color: var(--color-pf-text-critical-failure);
}
.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 h4.dice-total.success {
  color: var(--color-pf-text-critical-success);
}
.chat-message > .message-content h4.dice-total.failure {
  color: var(--color-pf-text-critical-failure);
}
.chat-message > .message-content .dice-total button.set-as-initiative {
  --button-size: 2em;
  height: var(--button-size);
  font-size: var(--font-size-10);
  justify-content: center;
  position: absolute;
  right: 2px;
  top: 2px;
}
.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.expanded .dice-result .dice-tooltip {
  margin-bottom: 0.25rem;
}
.chat-message .message-content .damage-roll.expanded .dice-result .dice-tooltip .wrapper {
  margin-bottom: 0.25rem;
}
.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-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 .wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.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-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;
  gap: 0.25rem;
  justify-content: center;
  margin-top: 3px;
  order: 3;
}
.chat-message .message-content .damage-application button {
  --button-size: 2em;
  align-items: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  font-size: var(--font-size-18);
  gap: var(--space-2);
  justify-content: space-around;
  padding: 1px 0 0;
}
.chat-message .message-content .damage-application button.half-damage {
  position: relative;
}
.chat-message .message-content .damage-application button.half-damage > i {
  -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(--button-text-color) 50%, #999 50%);
}
.chat-message .message-content .damage-application button.half-damage:hover > i {
  background-image: linear-gradient(to right, var(--button-hover-text-color) 50%, #999 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 {
  --fa-inverse: #aaa;
  font-size: var(--font-size-10);
  top: -1px;
}
.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 {
  --fa-inverse: #aaa;
  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;
  min-height: unset;
  width: 3ch;
  height: 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 .message-content .persistent-damage-recovery button {
  width: 100%;
}
.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 hr {
  border-top: 2px groove white;
  margin: 0.5em 0;
}
.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: 36px;
  object-fit: contain;
  width: 36px;
}
.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 {
  align-self: end;
  color: var(--color-text-secondary);
  font-weight: 500;
  grid-area: name;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-message .message-header.with-image .user {
  align-self: center;
  grid-area: user;
  font-size: var(--font-size-12);
}
.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 > .description.collapsed,
.chat-message > .message-content > .chat-card .card-content.collapsed {
  cursor: pointer;
  max-height: 4.5rem;
  mask-image: linear-gradient(to bottom, black, transparent);
  overflow: hidden;
}
.chat-message > .message-content > .description.collapsed *,
.chat-message > .message-content > .chat-card .card-content.collapsed * {
  pointer-events: none;
}
.chat-message > .message-content > .description.collapsed + .shadow,
.chat-message > .message-content > .chat-card .card-content.collapsed + .shadow {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  height: 6px;
  position: relative;
  top: -8px;
  margin-bottom: -6px;
  z-index: 1;
}
.chat-message > .message-content > .description.collapsed:hover + .shadow,
.chat-message > .message-content > .chat-card .card-content.collapsed:hover + .shadow {
  box-shadow: 0 1px 6px var(--color-shadow-primary);
  clip-path: polygon(0 10%, 100% 10%, 100% 200%, 0 200%);
  width: 100%;
}
.chat-message > .message-content > .description p,
.chat-message > .message-content > .chat-card .card-content p {
  margin: var(--space-4) 0;
  min-height: unset;
}
.chat-message > .message-content > .description p.item-block-line,
.chat-message > .message-content > .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));
}
.chat-message > .message-content > .description p.item-block-line .adjusted,
.chat-message > .message-content > .chat-card .card-content p.item-block-line .adjusted {
  text-decoration: underline dotted 1px black;
}
.chat-message > .message-content > .description p.item-block-line:first-child,
.chat-message > .message-content > .chat-card .card-content p.item-block-line:first-child {
  margin-top: var(--space-1);
}
.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);
  outline: 1px dotted rgba(75, 74, 68, 0.5);
}
.chat-message > .message-content .dice-roll.expanded .dice-tooltip[data-visibility=gm] .wrapper {
  padding: var(--space-2) var(--space-3) 0;
}
.chat-message > .message-content .dice-roll:not(.expanded) .dice-tooltip {
  background: transparent;
  outline-color: transparent;
}

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: 0;
  padding: 0;
  gap: 2px;
}
section.compendium-sidebar ol.directory-list ol.document-matches li.match {
  align-items: center;
  column-gap: 2px;
  cursor: var(--cursor-grab);
  display: grid;
  flex-basis: fit-content;
  font-size: var(--font-size-12);
  grid-template: "thumbnail name" "thumbnail details"/38px 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;
}
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 a.name {
  grid-area: name;
}
section.compendium-sidebar ol.directory-list ol.document-matches li.match a.pack {
  color: var(--color-text-tertiary);
  display: flex;
  gap: 0.25rem;
  grid-area: details;
}

#combat .metrics,
#combat-popout .metrics {
  color: var(--color-text-tertiary);
  display: flex;
  font-size: var(--font-size-14);
  gap: 1rem;
  justify-content: center;
  line-height: 1.5rem;
  white-space: nowrap;
}
#combat .metrics .threat .value,
#combat-popout .metrics .threat .value {
  text-shadow: 1px 1px 1px var(--color-shadow-dark);
}
#combat .metrics .threat .value.trivial,
#combat-popout .metrics .threat .value.trivial {
  color: aqua;
}
#combat .metrics .threat .value.low,
#combat-popout .metrics .threat .value.low {
  color: lime;
}
#combat .metrics .threat .value.moderate,
#combat-popout .metrics .threat .value.moderate {
  color: yellow;
}
#combat .metrics .threat .value.severe,
#combat-popout .metrics .threat .value.severe {
  color: orange;
}
#combat .metrics .threat .value.extreme,
#combat-popout .metrics .threat .value.extreme {
  color: red;
}
#combat .metrics .award .value,
#combat-popout .metrics .award .value {
  color: var(--color-text-primary);
}
#combat .combatant-controls,
#combat-popout .combatant-controls {
  --element-spacing-half: 2px;
}
#combat li.combatant,
#combat-popout li.combatant {
  cursor: var(--cursor-default);
  --color-border-disposition: var(--color-warm-2);
}
#combat li.combatant.active::before,
#combat-popout li.combatant.active::before {
  border-color: var(--color-border-disposition);
}
#combat li.combatant.gm-draggable,
#combat-popout li.combatant.gm-draggable {
  cursor: var(--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 > strong,
#combat-popout li.combatant .hidden-name > strong {
  color: var(--color-text-subtle);
}
#combat li.combatant .token-name > strong,
#combat-popout li.combatant .token-name > strong {
  display: flex;
  flex-direction: row;
}
#combat li.combatant .token-name > strong .users-targeting,
#combat-popout li.combatant .token-name > strong .users-targeting {
  display: inline-block;
  font-size: x-small;
  line-height: inherit;
  padding: 0 0.3em;
  text-shadow: none;
  vertical-align: bottom;
}

.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;
}
.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 {
  color: var(--content-link-text-color);
}
.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));
  appearance: auto;
}
.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;
  align-items: center;
}
.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;
  padding-bottom: var(--space-4);
  border: unset;
  width: unset;
}

.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.off {
  text-decoration: line-through;
}
.roll-modifiers-dialog .dialog-row.off > * {
  filter: opacity(0.5);
}
.roll-modifiers-dialog .dialog-row.off > * i {
  color: var(--text-dark);
}
.roll-modifiers-dialog .dialog-row.off.hidden {
  display: none;
}
.roll-modifiers-dialog .dialog-row .exclude.off {
  filter: opacity(0.5);
}
.roll-modifiers-dialog .dialog-row .exclude.off .toggle,
.roll-modifiers-dialog .dialog-row .exclude.off .widget {
  cursor: default;
}
.roll-modifiers-dialog .dialog-row .exclude.off 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 {
  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 button[type=submit] {
  color: var(--text-light);
  background-color: var(--color-pf-secondary);
}
.roll-modifiers-dialog button[type=submit] .damage.color,
.roll-modifiers-dialog button[type=submit] 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 .roll-twice {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.dice-checks .roll-twice label {
  cursor: pointer;
}

.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.search:has(input[type=search]) {
  position: relative;
}
.app.tag-selector form > header.search:has(input[type=search])::before {
  content: "\f002";
  color: var(--input-text-color);
  font-family: var(--font-awesome);
  font-weight: bold;
  position: absolute;
  left: 0.5rem;
}
.app.tag-selector form > header.search:has(input[type=search]) input[type=search] {
  padding-left: 1.75rem;
}
.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 {
  --effect-size: 2rem;
  overflow: visible;
}
#token-hud .status-effects .effect-control {
  border: 1px solid transparent;
  position: relative;
}
#token-hud .status-effects .effect-control.active {
  border-color: var(--color-warm-2);
}
#token-hud .status-effects .effect-control:not(.active):hover {
  border-color: rgba(201, 89, 63, 0.5);
}
#token-hud .status-effects .effect-control .badge {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  border: 0.1em solid var(--color-warm-3);
  color: var(--color-cool-4);
  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: var(--control-bg-color);
  color: var(--color-text-secondary);
  border-radius: inherit;
  border: inherit;
  box-shadow: inherit;
  box-sizing: content-box;
  font-size: var(--font-size-14);
  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 button.clown-car:disabled {
  cursor: wait;
  opacity: 0.5;
}
#token-hud button.clown-car img {
  transform-style: preserve-3d;
  transition: 0.5s;
}
#token-hud button.clown-car img.retrieve {
  transform: scaleX(-1);
}

.application.dialog.column-buttons .form-footer {
  align-items: stretch;
  flex-direction: column;
}
.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);
}
.application button:where(.flat):focus-visible {
  box-shadow: 0 0 4px var(--button-focus-outline-color);
  outline: 1px solid var(--button-focus-outline-color);
}

body.theme-light .application.pf2e:not(.themed),
.application.pf2e.themed.theme-light {
  --background: var(--parchment-texture) repeat;
}

body > .pf2e.absolute {
  position: absolute;
  z-index: var(--z-index-tooltip);
}

.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;
}
.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-inventory-header-bg);
}
.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(--font-awesome);
  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 auto;
  padding-right: 0.15rem;
  scrollbar-gutter: stable;
}
.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-inventory-header-bg);
  color: var(--color-pf-inventory-header-text);
  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: 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,
.actor.sheet section.window-content .inventory ul.items > li > .data .price {
  justify-content: center;
}
.actor.sheet section.window-content .inventory ul.items > li > .data .quantity a,
.actor.sheet section.window-content .inventory ul.items > li > .data .price a {
  opacity: 0.85;
}
.actor.sheet section.window-content .inventory ul.items > li > .data .quantity span,
.actor.sheet section.window-content .inventory ul.items > li > .data .price 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,
.actor.sheet section.window-content .inventory ul.items > li > .data .price .decrease,
.actor.sheet section.window-content .inventory ul.items > li > .data .price .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 {
  top: calc(-1 * var(--spacer-2));
  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 {
  background-color: white;
  background-image: linear-gradient(rgba(120, 100, 82, 0.1), rgba(120, 100, 82, 0.1));
}
.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-bulk-normal);
  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-bulk-exceeded);
}
.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-bulk-normal);
  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-bulk-encumbered);
}
.actor.sheet section.window-content .inventory .inventory-bottom-summary .encumbrance.over-limit .encumbrance-bar {
  background-color: var(--color-pf-bulk-exceeded);
}
.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-inventory-header-bg);
  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-pf-inventory-header-text);
  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;
}
.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;
}
.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 {
  line-height: normal;
  overflow: hidden;
  padding: var(--space-4);
}
.actor.sheet section.window-content .item-summary dl dt {
  color: inherit;
  text-shadow: unset;
}
.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 {
  --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);
  background-color: var(--tertiary);
}
.actor.sheet section.window-content .item-image.framed img {
  border-radius: 2px;
}
.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 .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 input:focus,
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li .uses input:focus {
  background: var(--tertiary);
  border-color: var(--alt-dark);
  box-shadow: none;
  color: var(--color-text-dark-input);
  outline: none;
}
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li.header-row input:focus::selection,
.actor.sheet section.window-content form.crb-style .sheet-body .sheet-content ol.spell-list > li .uses input:focus::selection {
  background: var(--primary);
  color: var(--text-light);
}
.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 {
  /* Navigation */
}
.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 {
  /** White background navigation with little decorations on the left and right */
}
.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 {
  /* Read-Only Sheet */
}
.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 {
  /* Mystification data revealed to GMs */
}
.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-light-1);
  font-weight: 500;
  margin: 0 0.75rem 0 0.25rem;
  flex: 1;
}
.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-light-1);
  display: flex;
  flex-wrap: nowrap;
  flex: 2;
  justify-content: start;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.75);
  max-width: 7rem;
}
.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.credits .currency-image {
  background: url("../../../icons/sundries/gaming/playing-cards-grey.webp") no-repeat;
}
.actor.sheet section.window-content .currency .denomination.upb .currency-image {
  background: url("../icons/equipment/treasure/currency/upb.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(--color-pf-primary);
  color: var(--color-light-1);
  cursor: pointer;
}
.actor.sheet section.window-content .wealth {
  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-inventory-header-bg);
  display: flex;
  font-family: var(--sans-serif);
  font-size: var(--font-size-10);
  justify-content: flex-end;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  min-height: 1.5rem;
  padding: 0 0.25rem;
}
.actor.sheet section.window-content .wealth .item-name {
  color: var(--color-pf-inventory-header-text);
  cursor: default;
  flex-grow: 1;
  font-size: var(--font-size-13);
  font-weight: bold;
  margin: 2px 2px 0 0.25rem;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.75);
}
.actor.sheet section.window-content .wealth .item-name span {
  margin-left: 0.25rem;
  font-weight: normal;
}
.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 {
  --font-primary: var(--body-serif);
  --logo: url("../assets/pathfinder_logo.webp");
}
.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);
  align-items: center;
  display: block;
  font-weight: 500;
  height: 1.125rem;
  overflow: hidden;
  padding: 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 .logo {
  background: var(--logo) no-repeat;
  background-size: contain;
  margin: var(--space-5) calc(-1 * var(--space-6)) 0 calc(-1 * var(--space-6));
  width: calc(14rem + var(--space-10));
  height: 53px;
}
.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 .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;
  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, var(--color-pf-primary-dark) 0%, var(--color-pf-primary-light) 50%, var(--color-pf-primary-dark) 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;
  flex-wrap: nowrap;
  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;
  flex: 1;
}
.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);
  align-items: baseline;
}
.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-details .dots .pips {
  display: flex;
}
.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 {
  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%;
}
.actor.sheet.character section.window-content .crb-style button.inline-control {
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  display: flex;
  height: var(--button-size);
  line-height: normal;
  margin: unset;
  text-decoration: none;
  transition: none;
  width: auto;
}
.actor.sheet.character section.window-content .crb-style button.inline-control:hover {
  text-shadow: 0 0 8px var(--color-shadow-primary);
}
.actor.sheet.character section.window-content .crb-style button.inline-control:disabled {
  --button-text-color: var(--color-text-subtle);
  text-shadow: none;
}
.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 {
  --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);
  background-color: var(--tertiary);
}
.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 {
  display: flex;
  flex-flow: column nowrap;
  gap: var(--space-8);
  margin: 0;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection > * {
  display: flex;
  flex-flow: row wrap;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.character .subsection header {
  margin-bottom: 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));
}
.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 {
  flex-flow: row wrap;
}
.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 {
  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 {
  font-size: var(--font-size-14);
  gap: var(--space-2);
  justify-content: start;
  padding: 0 0 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 {
  min-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 {
  font-size: 0.8em;
}
.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;
  opacity: 0.8;
  width: fit-content;
}
.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);
  left: var(--space-1);
}
.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: stretch;
  display: flex;
  flex-direction: column;
  margin-bottom: 2px;
  width: fit-content;
  min-width: 20.25rem;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .ammo select {
  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 option,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .ammo select 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 .loaded,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .ammo .empty {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .ammo .loaded .name,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .ammo .empty .name {
  flex: 1;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .ammo .loaded {
  border: 1px solid var(--color-pf-alternate-light);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .ammo .loaded + .loaded {
  border-top: none;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .ammo .loaded button.inline-control {
  flex: 1;
  text-align: left;
  padding: 0;
  margin: 0;
  height: unset;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .ammo .loaded img {
  border: none;
  width: 1.25rem;
  height: 1.25rem;
  object-fit: cover;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .ammo .loaded .magazine {
  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 .loaded .magazine input {
  background: transparent;
  width: 4ch;
  min-width: auto;
  height: unset;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .ammo .loaded .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 .ammo .loaded:not(.selected) button,
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .ammo .loaded:not(.selected) .magazine {
  opacity: 0.8;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .ammo .loaded:not(.selected) img {
  filter: grayscale(0.85);
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .ammo .empty {
  border: 1px dashed var(--color-pf-alternate-light);
  line-height: unset;
  text-align: start;
  font-family: var(--body-serif);
  margin-top: 2px;
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .ammo .empty .name {
  padding-left: calc(1.25rem + var(--space-4));
}
.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.strike .ammo .empty .remaining {
  margin-right: 4px;
}
.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 {
  --form-field-height: 18px;
  appearance: auto;
  background: none;
  color: var(--text-dark);
  cursor: default;
  font: inherit;
  margin-left: 0.5em;
  padding: 0.15em 0.2em;
  pointer-events: unset;
  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:focus {
  box-shadow: none;
}
.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;
}
.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 {
  padding-bottom: 1em;
}
.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);
}
.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;
}
.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;
}
.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-content {
  padding: 0 var(--space-4);
}
.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.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.vehicle .crb-style {
  --font-primary: var(--body-serif);
  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%;
}
.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 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%, var(--color-pf-primary-light) 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;
  margin-top: 0;
}
.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 auto;
  scrollbar-gutter: stable;
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.actions ol.actions-list li.action .icon {
  height: var(--font-size-20);
  width: var(--font-size-20);
  font-size: var(--font-size-14);
}
.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;
  gap: var(--space-8);
}
.actor.sheet.vehicle .crb-style .sheet-body .sheet-content > .tab.active.details .vehicle-properties {
  display: flex;
  flex-wrap: wrap;
  padding-top: 8px;
  column-gap: var(--space-8);
}
.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;
}
.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 {
  padding-bottom: 1em;
}
.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 {
  --min-height: 250px;
}
.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%;
}

.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 {
  font-size: var(--font-size-14);
  gap: var(--space-2);
  justify-content: start;
  padding: 0 0 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 {
  min-width: 3ch;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list .toggles button.double-barrel i {
  font-size: 0.8em;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list .toggles button.double-barrel i.barrels {
  left: 0;
  opacity: 0.8;
  width: fit-content;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list .toggles button.double-barrel i.blast {
  color: var(--color-pf-primary);
  left: var(--space-1);
}
.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: stretch;
  display: flex;
  flex-direction: column;
  margin-bottom: 2px;
  width: fit-content;
  min-width: 20.25rem;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo select {
  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 option,
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo select optgroup {
  color: var(--text-light);
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo .loaded,
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo .empty {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo .loaded .name,
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo .empty .name {
  flex: 1;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo .loaded {
  border: 1px solid var(--color-pf-alternate-light);
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo .loaded + .loaded {
  border-top: none;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo .loaded button.inline-control {
  flex: 1;
  text-align: left;
  padding: 0;
  margin: 0;
  height: unset;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo .loaded img {
  border: none;
  width: 1.25rem;
  height: 1.25rem;
  object-fit: cover;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo .loaded .magazine {
  font-family: var(--sans-serif);
  font-weight: 600;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo .loaded .magazine input {
  background: transparent;
  width: 4ch;
  min-width: auto;
  height: unset;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo .loaded .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 .ammo .loaded:not(.selected) button,
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo .loaded:not(.selected) .magazine {
  opacity: 0.8;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo .loaded:not(.selected) img {
  filter: grayscale(0.85);
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo .empty {
  border: 1px dashed var(--color-pf-alternate-light);
  line-height: unset;
  text-align: start;
  font-family: var(--body-serif);
  margin-top: 2px;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo .empty .name {
  padding-left: calc(1.25rem + var(--space-4));
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .ammo .empty .remaining {
  margin-right: 4px;
}
.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 {
  --form-field-height: 18px;
  appearance: auto;
  background: none;
  color: var(--text-dark);
  cursor: default;
  font: inherit;
  margin-left: 0.5em;
  padding: 0.15em 0.2em;
  pointer-events: unset;
  text-transform: uppercase;
}
.actor.sheet.attack-popout section.window-content .tab.actions ol.actions-list li.strike .auxiliary-actions button select.modular:focus {
  box-shadow: none;
}
.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 button.inline-control {
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  display: flex;
  height: var(--button-size);
  line-height: normal;
  margin: unset;
  text-decoration: none;
  transition: none;
  width: auto;
}
.actor.sheet.attack-popout section.window-content .tab button.inline-control:hover {
  text-shadow: 0 0 8px var(--color-shadow-primary);
}
.actor.sheet.attack-popout section.window-content .tab button.inline-control:disabled {
  --button-text-color: var(--color-text-subtle);
  text-shadow: none;
}
.actor.sheet.attack-popout section.window-content .tab input {
  border: none;
  border-radius: 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 {
  margin: 0.25em var(--space-4) 0;
}
.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-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 .tags.paizo-style {
  padding: 0.25em 0;
}
.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 {
  display: flex;
  align-items: center;
  font-style: normal;
  gap: 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 {
  --fa-width: auto;
  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 auto;
  flex-grow: 2;
  scrollbar-gutter: stable;
}
.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 {
  flex: 0 0 172px;
  max-height: fit-content;
}
.sheet.familiar .skills-sidebar.placeholder {
  visibility: hidden;
}
.sheet.familiar .skills-sidebar .section-body {
  flex-wrap: nowrap;
  gap: var(--space-4);
  overflow: hidden auto;
}
.sheet.familiar .skills-sidebar .section-body a {
  display: flex;
  flex-direction: row;
  align-items: center;
  border: 1px solid #999;
  border-radius: 3px;
  height: var(--font-size-20);
  font-size: var(--font-size-14);
  font-family: var(--serif);
  width: 100%;
}
.sheet.familiar .skills-sidebar .section-body a:hover {
  padding: none;
  border: 1px solid #323232;
}
.sheet.familiar .skills-sidebar .section-body a.perception {
  margin-bottom: var(--space-6);
}
.sheet.familiar .skills-sidebar .section-body a.attack-roll {
  border-color: transparent;
  font-family: var(--sans-serif);
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-6);
}
.sheet.familiar .skills-sidebar .section-body a.attack-roll:hover {
  border-bottom: 1px solid #323232;
}
.sheet.familiar .skills-sidebar .section-body a .mod {
  flex: 1;
  text-align: center;
  color: var(--color-pf-primary);
  font-weight: bold;
}
.sheet.familiar .skills-sidebar .section-body a .name {
  flex: 4;
}
.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 auto;
  padding: 0 var(--space-5) 1.25rem;
  scrollbar-gutter: stable;
}
.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 auto;
  padding: var(--space-10) var(--space-8) var(--space-8);
  scrollbar-gutter: stable;
  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 > .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%;
}
.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 {
  border-top: none;
  padding: var(--space-4) var(--space-8);
}
.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;
}

.actor.npc.sheet form {
  --font-primary: var(--sans-serif);
  --faded-border-color: #7a7971;
  --color-pf-inventory-header-bg: var(--primary-background);
  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 input:focus,
.actor.npc.sheet form ol.spell-list > li .uses input:focus {
  background: var(--tertiary);
  border-color: var(--alt-dark);
  box-shadow: none;
  color: var(--color-text-dark-input);
  outline: none;
}
.actor.npc.sheet form ol.spell-list > li.header-row input:focus::selection,
.actor.npc.sheet form ol.spell-list > li .uses input:focus::selection {
  background: var(--primary);
  color: var(--text-light);
}
.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;
  gap: var(--spacer-4);
}
.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;
  padding-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 > .npc-body > header .tags {
  margin: 0;
}
.actor.npc.sheet form > .npc-body > header .blurb {
  height: 1.5rem;
  padding-left: var(--spacer-4);
}
.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 auto;
  padding-right: var(--space-4);
  scrollbar-gutter: stable;
}
.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 .sidebar .side-bar-section-content .threshold {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.actor.npc.sheet form .sidebar .side-bar-section-content .threshold.selected {
  font-weight: 600;
}
.actor.npc.sheet form .sheet-body {
  flex: auto;
}
.actor.npc.sheet form .sheet-body .tab {
  overflow: hidden auto;
  scrollbar-gutter: stable;
}
.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 .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;
}
.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 .effects .effects-list {
  padding-left: 0px;
  padding-right: 5px;
}
.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 .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 .window-resizable-handle {
  cursor: var(--cursor-grab);
}

.sheet.actor.loot form {
  --color-pf-inventory-header-bg: var(--primary-background);
  display: flex;
  flex-direction: row;
  height: 100%;
}
.sheet.actor.loot form section.sidebar {
  display: flex;
  flex-direction: column;
  width: 13rem;
  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 a[data-action=show-image] {
  bottom: 4px;
  right: 4px;
}
.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 .description {
  overflow: hidden;
}
.sheet.actor.loot form section.sidebar .description .editor-content {
  padding: var(--space-4);
}
.sheet.actor.loot form section.sidebar .description prose-mirror.active .editor-content {
  padding-top: 0;
}
.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 {
  display: flex;
  align-items: center;
  padding-left: var(--space-8);
  gap: var(--space-4);
}
.sheet.actor.loot form .sheet-header .sheet-type i {
  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 .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;
}
.sheet.actor.loot form section.content .total-bulk {
  margin-bottom: 0;
}

#loot-npcs fieldset {
  display: flex;
  flex-direction: column;
  gap: 0;
}
#loot-npcs fieldset label {
  align-items: center;
  cursor: var(--cursor-pointer);
  display: flex;
  gap: var(--space-8);
  padding: var(--space-4);
}
#loot-npcs fieldset label:hover {
  background: var(--table-row-color-highlight);
}

.sheet.party {
  --color-border: rgba(0, 0, 0, 0.28);
}
.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 {
  /** White background navigation with little decorations on the left and right */
}
.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 auto;
  scrollbar-gutter: stable;
  flex: 1;
}
.sheet.party .tab.active {
  display: flex;
  height: 100%;
}
.sheet.party .item-list.directory-list {
  gap: 0.2em;
}
.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 {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.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 auto;
  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;
  scrollbar-gutter: stable;
  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 {
  --box-image-size: 2rem;
  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: var(--box-image-size);
  height: var(--box-image-size);
  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);
  --button-size: 1.25rem;
  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: var(--button-size);
  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 {
  --box-image-size: 2.5rem;
}
.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(--color-pf-health-bg);
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.2);
}
.sheet.party [data-tab=overview] .member > .portrait .health-bar .temp {
  background-color: var(--color-pf-health-temp-bg);
  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(--color-pf-health-bg);
  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);
}
.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 {
  /** White background navigation with little decorations on the left and right */
}
.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 {
  flex: 1;
  overflow: hidden auto;
  scrollbar-gutter: stable;
}
.sheet.kingdom .tab.active {
  display: flex;
  height: 100%;
}
.sheet.kingdom .drag-gap {
  visibility: hidden;
}
.sheet.kingdom .sidebar {
  border-right: 1px solid #888;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  width: 13.5rem;
  height: 100%;
  overflow: hidden auto;
  scrollbar-gutter: stable;
}
.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;
}
.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 {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.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] {
  flex-direction: column;
  overflow: hidden auto;
  scrollbar-gutter: stable;
}
.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 {
  margin-bottom: 0.25rem;
  overflow: hidden auto;
  scrollbar-gutter: stable;
  flex: 1;
}
.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 auto;
  padding: 0.5rem;
  scrollbar-gutter: stable;
}
.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;
}
.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;
}
.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 .editor-content {
  padding: 0 var(--space-4);
}
.sheet.kingdom .tab.active[data-tab=world] .settlement .editor.prosemirror {
  min-height: 15rem;
}
.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;
}
.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;
}

#item-transfer-dialog p {
  margin: 0;
}
#item-transfer-dialog .transfer-data {
  --input-height: 1.75rem;
  column-gap: var(--space-12);
  display: grid;
  grid-template: "img name" minmax(0, auto) "img quantity" minmax(0, auto)/2.75rem auto;
  padding: 0 var(--space-4);
}
#item-transfer-dialog .transfer-data img {
  grid-area: img;
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
}
#item-transfer-dialog .transfer-data .name {
  grid-area: name;
  font-size: var(--font-size-16);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#item-transfer-dialog .transfer-data range-picker input[type=number] {
  font-size: 1em;
}

.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: 1;
  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;
  margin-bottom: 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;
  margin: var(--space-4) 0;
}
.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, .inline-control), .pf2e.item.sheet form .sheet-content button:focus,
.pf2e.item.sheet form .sheet-content input:not([type=range]):hover:not(:disabled, .inline-control),
.pf2e.item.sheet form .sheet-content input:not([type=range]):focus,
.pf2e.item.sheet form .sheet-content select:hover:not(:disabled, .inline-control),
.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:read-only,
.pf2e.item.sheet form .sheet-content input:disabled,
.pf2e.item.sheet form .sheet-content select:disabled {
  color: var(--color-disabled);
  opacity: 0.8;
}
.pf2e.item.sheet form .sheet-content > section.sidebar,
.pf2e.item.sheet form .sheet-content > .sheet-body {
  height: calc(100% - var(--space-10));
}
.pf2e.item.sheet form .sheet-content button.inline-control {
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  display: flex;
  height: var(--button-size);
  line-height: normal;
  margin: unset;
  text-decoration: none;
  transition: none;
  width: auto;
}
.pf2e.item.sheet form .sheet-content button.inline-control:hover {
  text-shadow: 0 0 8px var(--color-shadow-primary);
}
.pf2e.item.sheet form .sheet-content button.inline-control:disabled {
  --button-text-color: var(--color-text-subtle);
  text-shadow: none;
}
.pf2e.item.sheet form .sheet-content button.icon {
  flex: 0 0 var(--button-size);
  width: var(--button-size);
}
.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 auto;
  padding: var(--space-8) var(--space-4) 0 0;
  scrollbar-gutter: stable;
}
.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;
  scrollbar-gutter: unset;
}
.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 {
  padding: 0 var(--space-4);
}
.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;
}
.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 .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 .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.force-fit {
  min-width: 0;
  width: 0;
}
.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 .modular-configurations {
  margin-top: 0.5rem;
}
.pf2e.item.sheet form .modular-configurations .config {
  align-items: center;
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-2);
}
.pf2e.item.sheet form .modular-configurations .config .tags {
  padding: 0;
  margin: 0;
  flex: 1;
}
.pf2e.item.sheet form .modular-configurations .empty {
  height: 1.5em;
}
.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 > .rules {
  gap: 0.75rem;
}
.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 {
  gap: 1px;
}
.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;
  gap: 0.5rem;
  line-height: 1.5em;
  margin-right: 1.25rem;
  min-width: 8em;
  white-space: nowrap;
}
.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 button.view-roll-options {
  flex: 0 0 auto;
  line-height: 1.75em;
  height: 1.75em;
  margin-left: auto;
  margin-top: var(--space-2);
}
.pf2e.item.sheet form .tab.active.rules .rules {
  padding-top: 0.5em;
  padding-right: 0.5em;
}
.pf2e.item.sheet form .tab.active.rules .rules .container.autogenerated .form-fields > select {
  max-width: 60%;
}
.pf2e.item.sheet form .tab.active.rules .rules .container.autogenerated .form-fields string-tags .tag {
  text-transform: none;
}
.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-element-forms {
  gap: 0.5rem;
}
.pf2e.item.sheet form .tab.active.rules .rule-form {
  border-bottom: 1px solid var(--color-border-light-primary);
  padding-bottom: 0.5rem;
}
.pf2e.item.sheet form .tab.active.rules .rule-form.drag-preview {
  background: var(--parchment-texture) 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 > header {
  display: flex;
  align-items: center;
  margin-bottom: 0.25rem;
}
.pf2e.item.sheet form .tab.active.rules .rule-form > header .drag-handle {
  cursor: grab;
  font-weight: normal;
  margin-right: 0.375rem;
  padding: 0.125rem;
}
.pf2e.item.sheet form .tab.active.rules .rule-form > header h3 {
  flex: 1;
  margin: 0;
}
.pf2e.item.sheet form .tab.active.rules .rule-form > header h3.unrecognized {
  color: #880000;
}
.pf2e.item.sheet form .tab.active.rules .rule-form > header .priority {
  margin-right: 0.75rem;
}
.pf2e.item.sheet form .tab.active.rules .rule-form > header .priority input {
  width: 4ch;
}
.pf2e.item.sheet form .tab.active.rules .rule-form > header .item-controls {
  gap: 0;
  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 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 ul.validation-failures {
  background: rgba(214, 150, 0, 0.5);
  border-radius: 3px;
  gap: var(--space-4);
  list-style: "\f071" inside;
  margin: var(--space-8) 0 0;
  padding: var(--space-4) 0;
}
.pf2e.item.sheet form .tab.active.rules .rule-form ul.validation-failures li {
  font-weight: normal;
  font-family: var(--font-primary);
  padding-left: var(--space-8);
}
.pf2e.item.sheet form .tab.active.rules .rule-form ul.validation-failures li::before {
  content: "";
  margin-left: var(--space-4);
}
.pf2e.item.sheet form .tab.active.rules .rule-form ul.validation-failures li::marker {
  font-family: var(--font-awesome);
  font-weight: 900;
}
.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;
  padding-top: 1px;
}
.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=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 > header {
  align-items: baseline;
  background-color: var(--color-pf-secondary);
  border-radius: 2px 2px 0 0;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  margin: -1px calc(-0.5em - 1px) var(--space-4);
  padding: 1px;
}
.pf2e.item.sheet.affliction form .affliction-stage > header h3,
.pf2e.item.sheet.affliction form .affliction-stage > header .item-controls {
  padding: 0.25rem;
  margin-bottom: 0;
}
.pf2e.item.sheet.affliction form .affliction-stage > section {
  margin: var(--space-6) 0;
}
.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.consumable form .item-ref {
  align-items: center;
  border: 1px solid var(--color-border-light-2);
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1.625rem auto 2em 1em;
  height: calc(1.625rem + 2px);
}
.pf2e.item.sheet.consumable form .item-ref img {
  object-fit: cover;
}
.pf2e.item.sheet.consumable form .item-ref.empty {
  border-style: dotted;
  padding: 0 var(--space-4);
}
.pf2e.item.sheet.consumable form tagify-tags[name="system.ammunition.categories"] tags {
  --placeholder-color: var(--color-text-secondary);
}
.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: var(--space-2);
}
.pf2e.item.sheet.effect form .sheet-content .sidebar .inventory-details .form-group.duration select {
  width: 6rem;
}
.pf2e.item.sheet.effect form .sheet-content .sidebar .badge-label-row {
  align-items: center;
  display: flex;
  gap: var(--space-4);
  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: var(--space-8) 0 var(--space-4) 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.5;
}
.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.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 {
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  margin: var(--space-4) 0;
  padding: var(--space-4);
}
.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: var(--space-4);
  min-height: var(--form-field-height);
  padding: var(--space-2);
}
.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: 0 0 10.5rem;
}
.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 span.label {
  font-weight: 500;
}
.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 li.damage-partial .form-group {
  flex-wrap: nowrap;
}
.pf2e.item.sheet.melee form .sheet-body .tab.details .damage-control {
  flex: 0;
  font-size: var(--font-size-13);
}
.pf2e.item.sheet.melee form .sheet-body .tab.details .damage-control.remove-partial {
  margin: 0 0.5rem;
}
.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 .window-content .form-group {
  --arrow-width: 3rem;
  flex-wrap: nowrap;
  gap: calc(1.5rem + var(--arrow-width));
  justify-content: space-between;
  position: relative;
}
#item-attacher .window-content .form-group > * {
  flex: unset;
}
#item-attacher .window-content .form-group .attachment {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  position: relative;
  width: fit-content;
}
#item-attacher .window-content .form-group .attachment img {
  width: 2.5rem;
}
#item-attacher .window-content .form-group .attachment span {
  white-space: nowrap;
}
#item-attacher .window-content .form-group .arrow {
  align-items: center;
  background: var(--table-header-bg-color);
  border-radius: 1px;
  bottom: var(--space-8);
  color: var(--color-text-subtle);
  display: flex;
  font-size: var(--font-size-16);
  height: 1.5rem;
  justify-content: center;
  left: 2.95rem;
  position: absolute;
  width: var(--arrow-width);
}
#item-attacher .window-content .form-group .arrow i {
  padding-left: var(--space-3);
}
#item-attacher .window-content .form-group .arrow:after {
  border: var(--space-12) solid transparent;
  border-left-color: var(--table-header-bg-color);
  border-radius: 1px;
  content: "";
  left: 100%;
  position: absolute;
}
#item-attacher .window-content .form-group .choices {
  width: calc(4 * var(--arrow-width));
}
#item-attacher .window-content .form-group .choices tags {
  width: 100%;
}
#item-attacher .window-content footer {
  display: flex;
  gap: 1rem;
}
#item-attacher .window-content footer button {
  width: 100%;
}
#item-attacher .window-content footer button:disabled {
  background: rgba(0, 0, 0, 0.1);
  border-color: transparent;
}
#item-attacher .window-content footer label {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.persistent-damage-editor .window-content fieldset {
  padding: 0.5rem;
}
.persistent-damage-editor .window-content fieldset.add {
  border-color: transparent;
}
.persistent-damage-editor .window-content fieldset.list legend {
  text-align: right;
}
.persistent-damage-editor .window-content .form-fields {
  flex-wrap: nowrap;
  justify-content: start;
}
.persistent-damage-editor .window-content .form-fields i.bullet {
  flex: none;
}
.persistent-damage-editor .window-content .form-fields input.formula {
  flex: 0 0 5rem;
}
.persistent-damage-editor .window-content .form-fields label.dc {
  flex: 0 0 5rem;
  gap: 0.5rem;
  text-align: right;
}
.persistent-damage-editor .window-content .form-fields input[type=number] {
  flex: 0 0 3rem;
}
.persistent-damage-editor .window-content .form-fields button {
  margin-left: auto;
}

#darkness-adjuster {
  height: 3rem;
  padding: var(--space-8) var(--space-8) 0;
  position: absolute;
  width: 400px;
}
#darkness-adjuster .slider {
  height: var(--space-8);
}
#darkness-adjuster .slider .noUi-base {
  background: #ecc1b3;
  border: none;
  cursor: pointer;
}
#darkness-adjuster .slider .noUi-base .noUi-connects {
  outline: 1px solid var(--color-border);
}
#darkness-adjuster .slider .noUi-base .noUi-origin .noUi-handle {
  background: none;
  border: none;
  box-shadow: none;
  color: var(--color-text-primary);
  font-size: var(--font-size-16);
  height: 1rem;
  width: 1rem;
  right: -0.5rem;
  top: calc(-0.25rem - 1px);
  text-shadow: 0 0 8px var(--color-dark-1);
}
#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-16);
}
#darkness-adjuster .slider .noUi-base .noUi-origin .noUi-handle.darkness-level {
  background: var(--color-warm-2);
  border: 1px solid var(--color-dark-1);
  border-radius: 2px;
  box-shadow: 1px 1px 4px var(--color-dark-1);
  height: 1rem;
  width: 1rem;
  right: -0.5rem;
  top: calc(-0.25rem - 1px);
}
#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.65;
  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 {
  padding: 0.5rem 0;
  height: 1rem;
}
#darkness-adjuster .slider .noUi-pips .noUi-marker {
  background: var(--color-text-subtle);
}
#darkness-adjuster .slider .noUi-pips .noUi-marker.noUi-marker-large {
  height: 1rem;
}
#darkness-adjuster .slider .noUi-pips .noUi-value {
  display: none;
}
#darkness-adjuster .slider.synchronized .noUi-base {
  cursor: not-allowed;
}
#darkness-adjuster .slider.synchronized .message {
  display: flex;
  justify-content: center;
  position: relative;
  top: 0.5em;
  width: 100%;
}
#darkness-adjuster .slider.synchronized .message span {
  color: var(--color-text-primary);
  text-shadow: 1px 1px var(--color-dark-1);
  z-index: 1;
}
#darkness-adjuster .slider.synchronized .noUi-origin .noUi-handle {
  cursor: not-allowed;
}
#darkness-adjuster .slider.synchronized .noUi-origin .noUi-handle.darkness-level {
  background: var(--color-disabled);
  border: none;
  box-shadow: none;
}
#darkness-adjuster .slider.synchronized .noUi-origin .noUi-handle.darkness-level .noUi-touch-area, #darkness-adjuster .slider.synchronized .noUi-origin .noUi-handle.darkness-level:active .noUi-touch-area {
  cursor: inherit;
}
#darkness-adjuster .slider.synchronized .noUi-origin .noUi-handle i.fa-solid {
  cursor: inherit;
}
#darkness-adjuster .slider.synchronized .noUi-pips {
  visibility: hidden;
}

.application.scene-config .top-tabs {
  gap: var(--spacer-8);
}
.application.scene-config label.managed-by-rbv {
  flex-wrap: nowrap;
  gap: 0.25rem;
}

.application.token-config label.managed-by-rbv,
.application.token-config fieldset.size label,
.application.token-config fieldset.size span.label {
  flex: 0;
  flex-wrap: nowrap;
  gap: 0.25rem;
  white-space: nowrap;
}

#scene-controls li button.gm-vision {
  --control-bg-color: rgba(71, 51, 255, 0.3);
  --control-icon-color: rgb(232, 229.5, 255);
}
#scene-controls li button.gm-vision:not([aria-pressed=true]) {
  --control-border-color: #7566ff;
}

#measurement {
  --counter-scale: 1;
}
#measurement .waypoint-label:has(+ .waypoint-label.last) .action-glyph {
  display: none;
}
#measurement .waypoint-label .total-measurement .additional-cost,
#measurement .waypoint-label .delta-measurement .additional-cost {
  text-decoration: underline wavy var(--color-text-subtle);
}
#measurement .waypoint-label .total-measurement {
  color: var(--color-text-emphatic);
}
#measurement .waypoint-label .total-measurement .additional-cost {
  color: var(--color-text-secondary);
}
#measurement .waypoint-label .delta-measurement {
  color: var(--color-text-secondary);
}
#measurement .waypoint-label .delta-measurement .additional-cost {
  color: var(--color-text-tertiary);
}
#measurement .waypoint-label .action-glyph {
  color: var(--color-text-emphatic);
  font-size: 1.5em;
}
#measurement .action-marker {
  --transformX: 0;
  --transformY: 0;
  color: var(--color-dark-1);
  font-size: var(--font-size-24);
  height: calc(var(--ui-scale) * 100px);
  left: var(--position-x);
  position: absolute;
  text-shadow: 0 0 2px var(--color-light-1), -1px -1px 1px var(--color-light-1), 1px -1px 1px var(--color-light-1), -1px 1px 1px var(--color-light-1), 1px 1px 1px var(--color-light-1);
  top: var(--position-y);
  width: calc(var(--ui-scale) * 100px);
}
#measurement .waypoint-label,
#measurement .action-marker {
  transform: scale(calc(0.55 * var(--counter-scale))) translate(var(--transformX), var(--transformY));
}
#measurement .waypoint-label .overage,
#measurement .action-marker .overage {
  color: red;
  font-weight: bold;
}

#token-hover-distance {
  --transformY: -60px;
  --transformX: calc(var(ui-scale) * 100px);
}

#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-group:first-child {
  margin-top: 0;
}
#variant-rules-settings form .pwol-modifiers {
  flex-wrap: nowrap;
  justify-content: start;
}
#variant-rules-settings form .pwol-modifiers .form-group {
  flex-wrap: nowrap;
}
#variant-rules-settings form .pwol-modifiers .form-group label {
  flex: 0;
  padding: 0 0.5rem;
  text-align: center;
}
#variant-rules-settings form .pwol-modifiers .form-group label:has(+ .form-fields input:not(:disabled)) {
  color: var(--color-light-2);
}
#variant-rules-settings form .pwol-modifiers .form-group .form-fields {
  justify-content: start;
  flex: 0;
}
#variant-rules-settings form .pwol-modifiers .form-group:nth-child(1) label:has(+ .form-fields input:not(:disabled)) {
  background: var(--color-proficiency-untrained);
}
#variant-rules-settings form .pwol-modifiers .form-group:nth-child(2) label:has(+ .form-fields input:not(:disabled)) {
  background: var(--color-proficiency-trained);
}
#variant-rules-settings form .pwol-modifiers .form-group:nth-child(3) label:has(+ .form-fields input:not(:disabled)) {
  background: var(--color-proficiency-expert);
}
#variant-rules-settings form .pwol-modifiers .form-group:nth-child(4) label:has(+ .form-fields input:not(:disabled)) {
  background: var(--color-proficiency-master);
}
#variant-rules-settings form .pwol-modifiers .form-group:nth-child(5) label:has(+ .form-fields input:not(:disabled)) {
  background: var(--color-proficiency-legendary);
}

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

#settings .system-links,
#settings-popout .system-links {
  gap: 0.5rem;
  justify-content: start;
  margin-bottom: 0.5rem;
  white-space: nowrap;
}
#settings .system-links > a[href],
#settings-popout .system-links > a[href] {
  flex: 0;
  font-size: var(--font-size-12);
  text-transform: uppercase;
}
#settings .system-links > a[href]:hover,
#settings-popout .system-links > a[href]:hover {
  text-shadow: 0 0 8px var(--color-text-hyperlink);
}
#settings .system-info,
#settings-popout .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;
}

.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: 93%;
  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;
  justify-content: space-around;
  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);
  line-height: unset;
  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);
}

#ui-right-column-1 {
  position: relative;
}

#effects-panel {
  position: absolute;
  top: 1rem;
  right: 0;
  direction: rtl;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: fit-content;
  max-height: calc(100% - 165px);
  overflow: auto;
  pointer-events: initial;
  padding-left: 2px;
  scrollbar-gutter: stable;
  padding: 6px 6px 6px 0;
  margin: -6px -6px 0 0;
}
#effects-panel .effect-item {
  border-radius: 4px;
  direction: ltr;
  display: flex;
  justify-content: end;
}
#effects-panel .effect-item[data-badge-type=formula] .icon {
  cursor: pointer;
  /* Show fa-dice-d20 */
}
#effects-panel .effect-item[data-badge-type=formula] .icon:hover::before {
  content: "\f6cf";
  background: rgba(0, 0, 0, 0.5);
  font-family: var(--font-awesome);
  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 {
  align-items: center;
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--color-cool-4);
  border-radius: 4px;
  color: transparent;
  display: flex;
  justify-content: center;
  position: relative;
  height: 46px;
  width: 46px;
}
#effects-panel .effect-item > .icon.aura {
  border-radius: 50%;
  box-shadow: 0px 0px 6px 3px 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: 0;
  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: 0;
  right: 0;
  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: 0;
  left: 0;
  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: 0;
  width: 48px;
}

aside.effect-info {
  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 {
  border: none;
  display: flex;
  font: var(--font-size-14) var(--font-primary);
  margin: 0;
  padding: 0;
  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 {
  max-height: 22em;
  overflow-y: auto;
  padding: 0 0.5em;
  text-align: left;
}
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;
}
.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;
}

#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 {
  gap: 0.2rem;
}
#world-clock section.window-content header {
  font-size: var(--font-size-16);
  font-family: var(--font-sans);
  text-align: center;
  border-bottom: 2px solid var(--color-tabs-border);
  margin-bottom: 0.5rem;
}
#world-clock section.window-content .form-group {
  font-size: var(--font-size-14);
  gap: 0.2rem;
}
#world-clock section.window-content .form-group .sign {
  font-family: var(--sans-serif-monospace);
  font-size: inherit;
}
#world-clock section.window-content .form-group.time-of-day {
  margin-top: 0.5rem;
}

.tags:where(:not(.package-overview):not(.input-element-tags)) {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style-type: none;
  padding-left: 0;
  margin-bottom: var(--space-2);
}
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag,
.tags:where(:not(.package-overview):not(.input-element-tags)) .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:where(:not(.package-overview):not(.input-element-tags)) .tag.tag_secondary,
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag option.tag_secondary {
  background-color: var(--color-pf-secondary);
}
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag.tag_tertiary,
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag option.tag_tertiary {
  background-color: var(--color-pf-tertiary);
}
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag.tag_alt,
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag option.tag_alt {
  background-color: var(--color-pf-alternate);
}
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag.ghost-touch,
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag option.ghost-touch {
  background-color: #516178;
}
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag.tag_material,
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag option.tag_material {
  background-color: var(--color-pf-alternate-dark);
}
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag.tag_transparent,
.tags:where(:not(.package-overview):not(.input-element-tags)) .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:where(:not(.package-overview):not(.input-element-tags)) .tag.rarity.common, .tags:where(:not(.package-overview):not(.input-element-tags)) .tag.rarity[value=common],
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag.rarity > option[value=common],
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag option.rarity.common,
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag option.rarity[value=common],
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag option.rarity > option[value=common] {
  background-color: var(--color-rarity-common);
}
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag.rarity.uncommon, .tags:where(:not(.package-overview):not(.input-element-tags)) .tag.rarity[value=uncommon],
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag.rarity > option[value=uncommon],
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag option.rarity.uncommon,
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag option.rarity[value=uncommon],
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag option.rarity > option[value=uncommon] {
  background-color: var(--color-rarity-uncommon);
}
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag.rarity.rare, .tags:where(:not(.package-overview):not(.input-element-tags)) .tag.rarity[value=rare],
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag.rarity > option[value=rare],
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag option.rarity.rare,
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag option.rarity[value=rare],
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag option.rarity > option[value=rare] {
  background-color: var(--color-rarity-rare);
}
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag.rarity.unique, .tags:where(:not(.package-overview):not(.input-element-tags)) .tag.rarity[value=unique],
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag.rarity > option[value=unique],
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag option.rarity.unique,
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag option.rarity[value=unique],
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag option.rarity > option[value=unique] {
  background-color: var(--color-rarity-unique);
}
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag.mystified,
.tags:where(:not(.package-overview):not(.input-element-tags)) .tag option.mystified {
  opacity: 0.7;
}
.tags:where(:not(.package-overview):not(.input-element-tags)) hr.vr {
  height: 1.25em;
  margin: var(--space-1) var(--space-2);
}

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

.tags.paizo-style {
  border: none;
  gap: 0;
}
.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[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 {
  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-10)/normal var(--sans-serif);
  height: var(--space-21);
  letter-spacing: normal;
  margin: 0;
  padding: 0 var(--space-4);
  white-space: nowrap;
  width: auto;
}

.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);
}

.tagify__dropdown {
  color: var(--color-dark-1);
}

.application .tagify {
  --placeholder-color: var(--color-text-subtle);
  --placeholder-color-focus: var(--color-text-subtle);
  --tag-bg: light-dark(var(--bg), var(--color-cool-5-90));
  --tag-hover: var(--color-data-border);
  --tag-remove-bg: var(--color-data-border);
  --tag-remove-btn-bg--hover: var(--color-border);
  --tag-text-color: var(--color-text-secondary);
  border-radius: 4px;
}
.application .tagify .tagify__tag__removeBtn {
  color: var(--color-text-secondary);
}

body.theme-light .application:not(.themed) .tagify,
.themed.theme-light .tagify {
  --tags-border-color: var(--color-dark-6);
  background-color: rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
}

body.theme-dark .application:not(.themed),
.themed.theme-dark {
  --visibility-gm-bg: var(--color-cool-4);
}
body.theme-dark .application:not(.themed) .tagify,
.themed.theme-dark .tagify {
  --tags-border-color: transparent;
  --tag-remove-btn-color: unset;
  background-color: var(--color-cool-4);
}

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;
}

#check-prompt-generator .roll-options {
  display: contents;
}
#check-prompt-generator .roll-options button {
  --control-size: var(--font-size-24);
  font-size: var(--font-size-14);
  flex-basis: fit-content;
  justify-self: start;
  margin-right: auto;
}
#check-prompt-generator .roll-options button i.fa-plus {
  display: none;
}
#check-prompt-generator .roll-options button .contents {
  display: contents;
}
#check-prompt-generator .roll-options.collapsed button i.fa-plus {
  display: inline;
}
#check-prompt-generator .roll-options.collapsed button i.fa-minus {
  display: none;
}
#check-prompt-generator .roll-options.collapsed .contents {
  display: none;
}
#check-prompt-generator .preview {
  border-top: 1px solid var(--table-header-border-color);
  padding: var(--spacer-8) 0 0;
}
#check-prompt-generator .preview textarea {
  width: 100%;
}

.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;
}

#xp-from-encounter .window-content {
  gap: var(--space-8);
  overflow-y: auto;
}
#xp-from-encounter .window-content h2 {
  font-family: inherit;
  font-size: var(--font-size-16);
  margin: var(--space-4) 0 0;
}
#xp-from-encounter .window-content .metrics {
  color: var(--color-text-tertiary);
  display: flex;
  flex-direction: column;
  font-size: var(--font-size-14);
  gap: var(--space-4);
  padding: var(--space-4) 0;
}
#xp-from-encounter .window-content .metrics .row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) 1rem;
  justify-content: center;
}
#xp-from-encounter .window-content .metrics .threat .value {
  text-shadow: 1px 1px 1px var(--color-shadow-dark);
}
#xp-from-encounter .window-content .metrics .threat .value.trivial {
  color: aqua;
}
#xp-from-encounter .window-content .metrics .threat .value.low {
  color: lime;
}
#xp-from-encounter .window-content .metrics .threat .value.moderate {
  color: yellow;
}
#xp-from-encounter .window-content .metrics .threat .value.severe {
  color: orange;
}
#xp-from-encounter .window-content .metrics .threat .value.extreme {
  color: red;
}
#xp-from-encounter .window-content .metrics .award .value {
  color: var(--color-text-primary);
}
#xp-from-encounter .window-content table {
  margin: 0;
}
#xp-from-encounter .window-content hr {
  margin: var(--space-4) 0 0;
  width: 100%;
}

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

body,
.app,
.themed.theme-light {
  /* Color Definitions */
  --color-bg-trait: #2d4f6a;
  --color-border-trait: #9edae6;
  /** Proficiency ranks */
  --color-proficiency-trained: #2c4e69;
  --color-proficiency-expert: #5b3a96;
  --color-proficiency-master: #3a7b59;
  --color-proficiency-legendary: #98503d;
  /* Color Overrides */
  --color-pf-primary: #1d3c53;
  --color-pf-primary-dark: rgb(22.3973214286, 46.3392857143, 64.1026785714);
  --color-pf-primary-darker: rgb(15.7946428571, 32.6785714286, 45.2053571429);
  --color-pf-primary-light: rgb(35.6026785714, 73.6607142857, 101.8973214286);
  --color-pf-primary-lighter: rgb(42.2053571429, 87.3214285714, 120.7946428571);
  --color-pf-secondary: #40256f;
  --color-pf-secondary-dark: rgb(41.9459459459, 24.25, 72.75);
  --color-pf-secondary-light: rgb(86.0540540541, 49.75, 149.25);
  --color-pf-secondary-lighter: rgb(108.1081081081, 62.5, 187.5);
}

.actor.sheet {
  --color-scrollbar: #1d3c53;
}

.actor.sheet.character section.window-content .crb-style {
  --logo: url("../assets/starfinder_logo.webp");
  background: url("../assets/sheet/sf2e-header.webp"), url("../assets/sheet/background.webp");
  background-size: 100% 5.625rem, auto;
  background-repeat: repeat-x, repeat;
}
.actor.sheet.character section.window-content .crb-style > header.char-header .level {
  filter: hue-rotate(240deg) brightness(1.1);
}
.actor.sheet.character section.window-content .crb-style aside {
  background-image: url("../assets/sheet/blue_sidebar_top.webp"), url("../assets/sheet/blue_sidebar_bottom.webp");
  background-repeat: no-repeat;
  background-position: center calc(100% - 3.25rem), center bottom;
  background-size: 14rem 100%, 14rem 3.25rem;
}

.actor.sheet.vehicle section.window-content .crb-style {
  background: url("../assets/sheet/sf2e-header.webp"), url("../assets/sheet/background.webp");
  background-size: 100% 5.625rem, auto;
  background-repeat: repeat-x, repeat;
}
.actor.sheet.vehicle section.window-content .crb-style > header.char-header .level {
  filter: hue-rotate(240deg) brightness(1.1);
}
.actor.sheet.vehicle section.window-content .crb-style aside {
  background-image: url("../assets/sheet/blue_sidebar_top.webp"), url("../assets/sheet/blue_sidebar_bottom.webp");
  background-repeat: no-repeat;
  background-position: center calc(100% - 3.25rem), center bottom;
  background-size: 14rem 100%, 14rem 3.25rem;
}/*$vite$:1*/