@charset "UTF-8";body{--theme-bg:#111418;--theme-text:#e7edf6;--theme-text-muted:#b7c3d2;--theme-heading:#d9ab63;--theme-surface-1:#1a2028;--theme-surface-2:#232b35;--theme-surface-3:#2d3644;--theme-border:#3d4a58;--theme-divider:#5a6878;--theme-link:#72b5ff;--theme-modal-header-bg:#355a83;--theme-modal-header-fg:#f4f8ff;--theme-modal-surface:#161c24;--theme-settings-preview-surface:#293442;--theme-status-success-bg:#249653;--theme-status-success-fg:#e8fff2;--theme-status-neutral-fg:#7f8c9d;--theme-status-warning-bg:#d39a16;--theme-status-warning-fg:#fff5d6;--theme-danger-border:#b75c6e;--theme-danger-bg:#5a2230;--theme-danger-fg:#ffd9e1;--troop-icon-category-bg:#5f4a1b;--troop-icon-category-fg:#ffe2a6;--troop-icon-role-bg:#1d3e57;--troop-icon-role-fg:#bfe7ff;--troop-icon-trait-bg:#3f2d53;--troop-icon-trait-fg:#e7d3ff;--troop-icon-border:hsla(0,0%,100%,.18);background-color:var(--theme-bg);color:var(--theme-text);display:flex;font-family:Open Sans,sans-serif;font-size:12pt;font-style:normal;font-weight:400;height:100%;justify-content:center;margin:13px}.text-entry-combobox{position:relative}.text-entry-suggestions{background:var(--theme-modal-surface);border:1px solid var(--theme-border);border-radius:.375rem;box-shadow:0 .5rem 1rem rgba(0,0,0,.3);color:var(--theme-text);left:0;list-style:none;margin:0;max-height:min(16rem,40vh);overflow-y:auto;padding:.35rem 0;position:absolute;top:calc(100% + 4px);width:100%;z-index:1100}.text-entry-suggestion{cursor:pointer;padding:.55rem .75rem}.text-entry-suggestion:focus,.text-entry-suggestion:hover{background:var(--theme-surface-3)}.text-entry-message{align-items:flex-start;border:1px solid;border-radius:.375rem;display:flex;gap:.55rem;line-height:1.4;padding:.7rem .8rem}.text-entry-message[hidden]{display:none}.text-entry-message i{flex:0 0 auto;margin-top:.15em}.text-entry-message--warning{background:color-mix(in srgb,var(--theme-status-warning-bg) 18%,var(--theme-modal-surface));border-color:color-mix(in srgb,var(--theme-status-warning-bg) 78%,var(--theme-border));color:var(--theme-status-warning-fg)}.text-entry-message--warning i{color:var(--theme-status-warning-bg)}.text-entry-message--error{background:var(--theme-danger-bg);border-color:var(--theme-danger-border);color:var(--theme-danger-fg)}.app-notice{background:var(--theme-modal-surface);border:1px solid var(--theme-border);border-radius:.5rem;box-shadow:0 .5rem 1.5rem rgba(0,0,0,.35);color:var(--theme-text);left:50%;padding:.85rem 1rem;position:fixed;top:1rem;transform:translateX(-50%);width:min(32rem,100vw - 2rem);z-index:2000}.form-control,.import-export-box,.text-input,input[type=email],input[type=number],input[type=password],input[type=search],input[type=text],input[type=url],textarea{-webkit-text-fill-color:#ffe4b8;caret-color:#ffe4b8;color:#ffe4b8}.form-control,.form-select,.import-export-box,.text-input,input[type=email],input[type=number],input[type=password],input[type=search],input[type=text],input[type=url],select,textarea{background:linear-gradient(180deg,#2f2315,#1c140c);border:1px solid #7e6138;border-radius:6px;box-shadow:inset 0 1px 0 rgba(255,236,198,.16),0 0 0 1px rgba(0,0,0,.28),0 1px 2px rgba(0,0,0,.4);color:#ffe4b8;transition:border-color .13s ease,box-shadow .13s ease,background .13s ease,color .13s ease}.form-select,select{-webkit-text-fill-color:#ffe4b8;appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:linear-gradient(45deg,transparent 50%,#fff5de 0),linear-gradient(-45deg,transparent 50%,#fff5de 0),linear-gradient(180deg,#3a2a17,#251a0f),linear-gradient(180deg,#3a2a17,#251a0f);background-position:calc(100% - 1.42rem) calc(50% + 1px),calc(100% - 1.2rem) calc(50% + 1px),100% 50%,50%;background-repeat:no-repeat,no-repeat,no-repeat,no-repeat;background-size:.38rem .26rem,.38rem .26rem,1.9rem 100%,100% 100%;color:#ffe4b8;cursor:pointer;padding-right:2.2rem}.form-select option,select option{background-color:#24180d;color:#ffe4b8}.form-select option:checked,select option:checked{background-color:#3a2714;color:#fff0d3}.form-select option:disabled,select option:disabled{color:#aa936f}.form-select optgroup,select optgroup{background-color:#1f140a;color:#f6ce87;font-weight:700}.form-select:hover,select:hover{background-image:linear-gradient(45deg,transparent 50%,#fff9ea 0),linear-gradient(-45deg,transparent 50%,#fff9ea 0),linear-gradient(180deg,#45301a,#2d1e11),linear-gradient(180deg,#45301a,#2d1e11);border-color:#d8ab67}.form-select:focus,select:focus{background-image:linear-gradient(45deg,transparent 50%,#fff 0),linear-gradient(-45deg,transparent 50%,#fff 0),linear-gradient(180deg,#4b341c,#342312),linear-gradient(180deg,#4b341c,#342312)}.form-select::-ms-expand,select::-ms-expand{display:none}.form-control::placeholder,.import-export-box::placeholder,.text-input::placeholder,input[type=email]::placeholder,input[type=number]::placeholder,input[type=password]::placeholder,input[type=search]::placeholder,input[type=text]::placeholder,input[type=url]::placeholder,textarea::placeholder{color:rgba(255,218,164,.62)}.form-control:hover,.form-select:hover,.import-export-box:hover,.text-input:hover,input[type=email]:hover,input[type=number]:hover,input[type=password]:hover,input[type=search]:hover,input[type=text]:hover,input[type=url]:hover,select:hover,textarea:hover{border-color:#c79a5e}.form-control:focus,.import-export-box:focus,.text-input:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus,input[type=url]:focus,textarea:focus{-webkit-text-fill-color:#ffe4b8;color:#ffe4b8}.form-control:focus,.form-select:focus,.import-export-box:focus,.text-input:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{border-color:#f0bc6c;box-shadow:inset 0 1px 0 rgba(255,238,201,.26),0 0 0 1px rgba(83,46,0,.5),0 0 0 .16rem rgba(255,190,84,.22);outline:none}.form-control:read-only,.import-export-box:read-only,.text-input:read-only,input[type=email]:read-only,input[type=number]:read-only,input[type=password]:read-only,input[type=search]:read-only,input[type=text]:read-only,input[type=url]:read-only,textarea:read-only{background:linear-gradient(180deg,#2a2118,#201910);border-color:#6e5738;color:#dcc39a}.form-control:disabled,.form-select:disabled,.import-export-box:disabled,.text-input:disabled,input[type=email]:disabled,input[type=number]:disabled,input[type=password]:disabled,input[type=search]:disabled,input[type=text]:disabled,input[type=url]:disabled,select:disabled,textarea:disabled{cursor:not-allowed;opacity:.85}input[type=number]{width:100px}#reference-count{appearance:auto;-webkit-appearance:auto;-moz-appearance:number-input;line-height:1.2;min-height:38px;touch-action:manipulation}#reference-count::-webkit-inner-spin-button,#reference-count::-webkit-outer-spin-button{-webkit-appearance:inner-spin-button;margin:0;min-height:1.2em;opacity:1}a,a:visited{color:var(--theme-link);text-decoration:none}a:hover,a:visited{text-decoration:underline}#Engineers-category{width:100%}.page{max-width:1280px}.highlighted{background-color:#ff0;color:#000}.effective-reference-count-note{background:color-mix(in srgb,var(--theme-surface-3) 82%,transparent);border-left:3px solid var(--theme-divider);border-radius:4px;color:var(--theme-text-muted);font-size:85%;line-height:1.35;margin-top:8px;max-width:800px;padding:6px 9px}.effective-reference-count-note strong{color:var(--theme-heading);font-weight:700}.calibration-derived-value{cursor:default;opacity:.72}.calibration-status-note--warning{border-left-color:var(--theme-status-warning-bg)}.calibration-status-note--warning i{color:var(--theme-status-warning-bg);margin-right:6px}.calibration-status-note--success{border-left-color:var(--theme-status-success-bg);color:var(--theme-status-success-fg)}.calibration-status-note--success i{color:var(--theme-status-success-bg);margin-right:6px}.calibration-status-note-action{align-items:center;color:var(--theme-link);display:inline-flex;justify-content:center;text-decoration:none}.calibration-status-note-action,.calibration-status-note-action i,.calibration-status-note-action:focus,.calibration-status-note-action:focus-visible,.calibration-status-note-action:hover,.calibration-status-note-action:visited{color:var(--theme-link)!important;text-decoration:none}.loss-grouping-container{align-items:end;font-size:85%;justify-content:space-between;vertical-align:bottom}.loss-grouping-container select{font-size:95%}.loss-grouping-hotkey{color:var(--theme-text-muted);display:inline-block;font-size:.78em;font-weight:400;margin-left:.35rem;white-space:nowrap}.kill-number{background:#e9967a;border-radius:5px;color:#fff;display:inline-block;min-width:34px;padding:0 5px;text-align:center}.btn.button-stack{margin-bottom:13px;padding-left:34px;padding-right:34px}.app-title{filter:drop-shadow(2px 4px 6px black);font-size:1.25rem}.category-container,.category-name,.flex-element,.flex-element>label,.troop-families-container{color:var(--theme-heading);filter:drop-shadow(2px 4px 6px black)}.category-container{background:var(--theme-surface-2);border:1px solid var(--theme-border);border-radius:13px;box-sizing:border-box;display:block;min-width:250px;padding:13px;width:100%}.troop-category{display:flex;flex:0 0 calc(50% - 11px);max-width:calc(50% - 11px);min-width:320px}.category-name{align-items:center;color:var(--theme-text);display:inline-flex;font-size:125%;font-weight:700;gap:8px;margin-bottom:13px}.troop-families-container{align-items:start;column-gap:34px;display:grid;grid-template-columns:repeat(4,minmax(180px,max-content));justify-content:start;row-gap:30px}.troop-family-container{margin:0;vertical-align:top}.bulk-troop-container,.troop-family-container{display:flex;flex-direction:column;gap:0;min-width:0}body.tier-selection-detailed .bulk-troop-container{display:none}body.tier-selection-detailed .gs-container{display:flex}@media screen and (width < 1240px){.troop-families-container{grid-template-columns:repeat(3,minmax(180px,max-content))}}@media screen and (width < 860px){.troop-families-container{grid-template-columns:repeat(2,minmax(180px,max-content))}.troop-category,body.tier-selection-detailed .troop-category-gs{flex:1 1 100%;max-width:100%;min-width:0}}.gs-container{display:none}.troop-category-collapsible .troop-families-container{display:block}.tier-panel-columns{align-items:start;column-gap:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.tier-panel-column{display:flex;flex-direction:column;gap:10px}.troop-category-collapsible .tier-collapse-panel{display:block;margin:0;min-width:0;width:100%}.tier-collapse-panel{background:linear-gradient(180deg,rgba(66,49,29,.5),rgba(39,29,19,.6));border:1px solid var(--theme-border);border-radius:10px;overflow:hidden}.tier-collapse-panel>summary{list-style:none}.tier-collapse-panel>summary::-webkit-details-marker{display:none}.tier-collapse-summary{align-items:center;color:var(--theme-text);cursor:pointer;display:flex;font-weight:700;gap:10px;justify-content:space-between;padding:8px 10px;transition:box-shadow .12s ease,background .12s ease,color .12s ease;user-select:none}.tier-collapse-summary:before{color:#f6c57f;content:"▸";font-size:.72rem;margin-right:2px;transition:transform .12s ease}.tier-collapse-panel[open] .tier-collapse-summary:before{transform:rotate(90deg)}.tier-collapse-title{flex:1 1 auto;line-height:1.2;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tier-collapse-meta{align-items:center;color:var(--theme-text-muted);display:inline-flex;flex:0 0 auto;font-size:.78rem;font-weight:600;gap:8px}.tier-collapse-meta .troop-family-bulk-toggle{margin-right:2px}.tier-collapse-selected-indicator{background:radial-gradient(circle at 30% 30%,#fff1d3 0,#ffd089 48%,#e39e47 100%);border-radius:999px;box-shadow:0 0 8px rgba(255,183,71,.52);height:.56rem;opacity:0;transition:opacity .12s ease;width:.56rem}.tier-collapse-content{padding:8px 10px 10px}@media screen and (width < 1240px){.tier-panel-columns{grid-template-columns:minmax(0,1fr)}.tier-panel-column{gap:10px}.tier-panel-columns .tier-panel-column:nth-child(2){margin-top:10px}}.tier-collapse-panel.has-selected{border-color:#f0bc6c;box-shadow:inset 0 0 0 1px rgba(255,205,122,.25),0 0 12px rgba(255,183,71,.22)}.tier-collapse-panel.has-selected .tier-collapse-summary{background:linear-gradient(90deg,rgba(255,194,94,.18),rgba(255,194,94,.06));color:#ffe8c4}.tier-collapse-panel.has-selected .tier-collapse-selected-indicator{opacity:1}.tier-collapse-panel.has-selected .tier-collapse-selected-count{color:#ffe1b0}.troop-item{border-radius:6px;display:flex;vertical-align:middle}.troop-item,.troop-item .troop-type-label{align-items:center;gap:6px;min-width:0;padding:1px 4px}.troop-item .troop-type-label{border-radius:5px;display:inline-flex;flex-wrap:wrap;margin-left:0;transition:background .12s ease,box-shadow .12s ease,color .12s ease}.troop-item .troop-checkbox:checked+.troop-type-label{background:linear-gradient(90deg,rgba(255,194,94,.2),rgba(255,194,94,.05));box-shadow:inset 0 0 0 1px rgba(255,205,122,.28),0 0 10px rgba(255,183,71,.2);color:#ffe8c4}.troop-checkbox{align-self:flex-start;appearance:none;-webkit-appearance:none;background:linear-gradient(180deg,#3b2d1d,#241a10);border:1px solid #7f6640;border-radius:4px;box-shadow:inset 0 1px 0 rgba(255,230,184,.14),0 0 0 1px rgba(0,0,0,.28),0 1px 2px rgba(0,0,0,.45);cursor:pointer;display:inline-grid;height:1.08rem;margin:.12rem 0 0;place-content:center;transition:border-color .12s ease,box-shadow .12s ease,background .12s ease;width:1.08rem}.troop-checkbox:before{background:linear-gradient(180deg,#fff4cc,#e5b35a);box-shadow:0 0 8px rgba(255,193,90,.52);clip-path:polygon(13% 53%,0 66%,40% 100%,100% 19%,87% 6%,40% 67%);content:"";height:.62rem;transform:scale(0) rotate(-8deg);transform-origin:center;transition:transform .12s ease;width:.62rem}.troop-checkbox:hover{border-color:#c99b5c;box-shadow:inset 0 1px 0 rgba(255,231,178,.2),0 0 0 1px rgba(64,34,0,.35),0 0 8px rgba(255,180,72,.25)}.troop-checkbox:checked{background:linear-gradient(180deg,#47301a,#2f1f11);border-color:#f0bc6c;box-shadow:inset 0 1px 0 rgba(255,236,188,.2),0 0 0 1px rgba(83,46,0,.5),0 0 10px rgba(255,183,71,.35)}.troop-checkbox:checked:before{transform:scale(1) rotate(-8deg)}.troop-checkbox:focus-visible{outline:2px solid rgba(255,196,102,.7);outline-offset:1px}.form-check.form-switch{padding-left:2.9em}.form-check.form-switch .form-check-label{margin-left:.22rem}.form-switch .form-check-input[role=switch]{--switch-knob-off:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='7.5' fill='%23ffe3b4'/%3E%3Ccircle cx='10' cy='10' r='3.1' fill='%23f2bb65' fill-opacity='.18'/%3E%3C/svg%3E");--switch-knob-on:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='7.5' fill='%23ffe8c2'/%3E%3Ccircle cx='10' cy='10' r='3.4' fill='%23ffd27d' fill-opacity='.62'/%3E%3C/svg%3E");background-color:#241a10;background-image:var(--switch-knob-off);background-position:.12rem;background-repeat:no-repeat;background-size:.94em .94em;border:1px solid #7f6640;border-radius:999px;box-shadow:inset 0 1px 0 rgba(255,236,196,.14),0 0 0 1px rgba(0,0,0,.25),0 1px 2px rgba(0,0,0,.45);cursor:pointer;height:1.2em;margin-left:-2.9em;margin-top:.1em;transition:background-position .14s ease,border-color .14s ease,box-shadow .14s ease,background-color .14s ease;width:2.35em}.form-switch .form-check-input[role=switch]:hover{border-color:#cca067;box-shadow:inset 0 1px 0 rgba(255,236,196,.2),0 0 0 1px rgba(63,35,0,.35),0 0 9px rgba(255,183,71,.22)}.form-switch .form-check-input[role=switch]:focus:not(:checked){border-color:#b18a57;box-shadow:inset 0 1px 0 rgba(255,238,201,.18),0 0 0 1px rgba(83,46,0,.32),0 0 0 .16rem rgba(255,190,84,.14)}.form-switch .form-check-input[role=switch]:checked:focus{border-color:#f0bc6c;box-shadow:inset 0 1px 0 rgba(255,238,201,.24),0 0 0 1px rgba(83,46,0,.5),0 0 0 .18rem rgba(255,190,84,.25)}.form-switch .form-check-input[role=switch]:checked{background-color:#2f1f11;background-image:var(--switch-knob-on);background-position:calc(100% - .12rem);border-color:#f0bc6c;box-shadow:inset 0 1px 0 rgba(255,241,210,.24),0 0 0 1px rgba(83,46,0,.55),0 0 10px rgba(255,183,71,.34)}.troop-icon-strip{align-items:center;display:inline-flex;gap:4px}.troop-icon-strip--heading{margin-left:2px}.troop-icon-strip--heading .troop-icon{font-size:.76rem;height:1.28rem;width:1.28rem}.troop-icon-strip--heading .troop-icon-svg{height:.92rem;width:.92rem}.troop-icon{align-items:center;border:1px solid var(--troop-icon-border);border-radius:999px;display:inline-flex;font-size:.7rem;height:1.2rem;justify-content:center;line-height:1;width:1.2rem}.troop-icon-svg{background-color:currentColor;display:block;height:.86rem;mask-position:center;-webkit-mask-position:center;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-size:contain;-webkit-mask-size:contain;width:.86rem}.troop-icon-svg--bow-arrow{mask-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNjYgMTQ4Ij48cGF0aCBkPSJtMzQuNjggMTQyLjE0LTYuOS0xMy4yNi0xMy44Ni03LjE3IDIwLjU3LTIwLjM0IDEzLjY1LS4wOCAyMS45LTIxLjc2TDIyLjkgMzMuMTRsLTUuNTcgMS4xNi0zLjQ0LTEzLjMxYzMzLjc2LTguNTQgNzEuMDktNS4xNSA5Ny44OSAxNy4zOWwxMi41Ni0xMi4zNS02LjY1LTYuNzJMMTUxLjcyIDYuMWwtMTMuMzMgMzMuNTktNi44My02LjU2LTEyLjUyIDEyLjM4YzIyLjM0IDI2LjE3IDI2LjU2IDYyLjY2IDE3LjYxIDk2LjY1bC0xMy4zOC0zLjIuODEtNS45LTQ2Ljc0LTQ2LjItMjIuMDIgMjEuNTUtLjE0IDEzLjU1LTIwLjUxIDIwLjE2Wm02Ny4yOC05My45NmMtMTAuNDMtOC44NS0yMS43OS0xMy4xNi0zNC4yOC0xNS45Mi0xMi4yNy0yLjE2LTI0LjQxLTIuMjktMzYuNjktLjg1bDQzLjc1IDQzLjQ0IDI3LjIyLTI2LjY3Wm0yMy44OSA3Ni44OWMyLjMtMTQuMjggMS4yOC0yNi43MS0xLjQzLTM5LjQ3LTIuOTktMTEuMTctNy40OS0yMS41OS0xNS4yNC0zMC4yMkw4Mi4wNyA4Mi4wNmw0My43OCA0M1oiLz48L3N2Zz4=");-webkit-mask-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNjYgMTQ4Ij48cGF0aCBkPSJtMzQuNjggMTQyLjE0LTYuOS0xMy4yNi0xMy44Ni03LjE3IDIwLjU3LTIwLjM0IDEzLjY1LS4wOCAyMS45LTIxLjc2TDIyLjkgMzMuMTRsLTUuNTcgMS4xNi0zLjQ0LTEzLjMxYzMzLjc2LTguNTQgNzEuMDktNS4xNSA5Ny44OSAxNy4zOWwxMi41Ni0xMi4zNS02LjY1LTYuNzJMMTUxLjcyIDYuMWwtMTMuMzMgMzMuNTktNi44My02LjU2LTEyLjUyIDEyLjM4YzIyLjM0IDI2LjE3IDI2LjU2IDYyLjY2IDE3LjYxIDk2LjY1bC0xMy4zOC0zLjIuODEtNS45LTQ2Ljc0LTQ2LjItMjIuMDIgMjEuNTUtLjE0IDEzLjU1LTIwLjUxIDIwLjE2Wm02Ny4yOC05My45NmMtMTAuNDMtOC44NS0yMS43OS0xMy4xNi0zNC4yOC0xNS45Mi0xMi4yNy0yLjE2LTI0LjQxLTIuMjktMzYuNjktLjg1bDQzLjc1IDQzLjQ0IDI3LjIyLTI2LjY3Wm0yMy44OSA3Ni44OWMyLjMtMTQuMjggMS4yOC0yNi43MS0xLjQzLTM5LjQ3LTIuOTktMTEuMTctNy40OS0yMS41OS0xNS4yNC0zMC4yMkw4Mi4wNyA4Mi4wNmw0My43OCA0M1oiLz48L3N2Zz4=");mask-size:100% 100%;-webkit-mask-size:100% 100%}.troop-icon--svg-bow-arrow .troop-icon-svg{height:.95rem;width:.95rem}.troop-icon-svg--giant{mask-image:url(../../../img/foot.svg);-webkit-mask-image:url(../../../img/foot.svg)}.troop-icon-svg--monster{mask-image:url(../../../img/monster.svg);-webkit-mask-image:url(../../../img/monster.svg)}.troop-icon--svg-giant .troop-icon-svg{height:.9rem;width:.9rem}.troop-icon--svg-monster .troop-icon-svg{height:.95rem;width:.95rem}.troop-icon--category{background:var(--troop-icon-category-bg);color:var(--troop-icon-category-fg)}.troop-icon--role{background:var(--troop-icon-role-bg);color:var(--troop-icon-role-fg)}.troop-icon--trait{background:var(--troop-icon-trait-bg);color:var(--troop-icon-trait-fg)}.troop-family-name{border-bottom:1px solid var(--theme-divider);display:flex;font-weight:700;gap:8px;justify-content:space-between;margin-bottom:5px}.troop-family-bulk-toggle,.troop-family-name{align-items:center;color:var(--theme-text-muted)}.troop-family-bulk-toggle{cursor:pointer;display:inline-flex;font-size:.7rem;font-weight:600;gap:4px;letter-spacing:.03em;text-transform:uppercase;user-select:none}.troop-family-bulk-toggle .troop-checkbox{flex-shrink:0}.flex-container{display:flex;flex-wrap:wrap}.flex-row-container{flex-direction:row;flex-grow:1}.flex-column-container{flex-direction:column;flex-grow:1}.flex-element{background-color:var(--theme-surface-3);border:1px solid var(--theme-border);border-radius:3px;margin:5px 5px 5px 0;padding:13px;width:200px}.flex-element input[type=number],.flex-element input[type=text]{width:100%}.flex-element label{display:block;font-size:90%;margin-bottom:8px}.siege-multiplier-value{background:linear-gradient(180deg,#332412,#4b3116);border:1px solid #f7b44c;border-radius:999px;color:#ffd898;cursor:pointer;display:inline-block;font-weight:700;letter-spacing:.01em;margin-left:4px;padding:1px 8px;text-decoration:none;transition:filter .12s ease,transform .12s ease,border-color .12s ease;user-select:none}.siege-multiplier-value:hover{border-color:#ffd084;filter:brightness(1.08)}.siege-multiplier-value:focus{outline:2px solid #6cb7ff;outline-offset:2px}.siege-multiplier-value:active{transform:translateY(1px)}.siege-multiplier-help-section{background:linear-gradient(180deg,rgba(82,63,36,.35),rgba(54,41,23,.5));border:1px solid #766144;border-radius:10px;padding:14px 16px}.siege-multiplier-help-section+.siege-multiplier-help-section{margin-top:14px}.siege-multiplier-help-section .form-label{font-weight:600}.siege-multiplier-help-section input[type=number],.siege-multiplier-help-section select{width:100%}.text-label{font-weight:700}.section{margin-bottom:21px}.unit-selection-actions{align-items:center;display:flex;flex-direction:row;gap:16px;justify-content:space-between}@media screen and (max-width:575px){.unit-selection-actions{align-items:flex-start;flex-direction:column}.unit-selection-actions .unit-icon-legend-chip{order:-1}}.unit-icon-legend-link-row{margin-bottom:18px;margin-top:-12px;text-align:right}.unit-icon-legend-chip,.unit-icon-legend-chip:visited{align-items:center;background:color-mix(in srgb,var(--theme-surface-2) 55%,transparent);border:1px solid color-mix(in srgb,var(--theme-border) 70%,transparent);border-radius:999px;color:var(--theme-text-muted);display:inline-flex;gap:7px;padding:4px 10px 4px 8px;text-decoration:none;transition:border-color .12s ease,background .12s ease,color .12s ease}.unit-icon-legend-chip:hover{background:color-mix(in srgb,var(--theme-surface-2) 78%,transparent);border-color:color-mix(in srgb,var(--theme-link) 40%,var(--theme-border));color:var(--theme-link);text-decoration:none}.unit-icon-legend-chip:active,.unit-icon-legend-chip:focus,.unit-icon-legend-chip:focus-visible{text-decoration:none}.unit-icon-legend-chip:focus-visible{outline:2px solid color-mix(in srgb,var(--theme-link) 70%,#fff 30%);outline-offset:2px}.unit-icon-legend-chip-icon{align-items:center;background:color-mix(in srgb,var(--theme-surface-3) 75%,transparent);border:1px solid color-mix(in srgb,var(--theme-border) 82%,transparent);border-radius:999px;color:var(--theme-text);display:inline-flex;font-size:.68rem;height:1.15rem;justify-content:center;width:1.15rem}.unit-icon-legend-chip-label{font-size:86%;letter-spacing:.01em}.separator{border-bottom:1px solid var(--theme-divider);font-size:150%;font-weight:700;margin-bottom:20px;padding-bottom:2px}.text-description{font-size:90%;font-style:normal;margin-bottom:8px;max-width:800px}.text-input{padding:5px}.text-input:read-only{font-weight:700}.troop-count{background:var(--theme-status-success-bg);border:1px solid var(--theme-border);border-radius:3px;color:var(--theme-status-success-fg);display:inline-block;font-size:65%;min-width:50px;padding:3px;text-align:center}.troop-count-warning{background:var(--theme-status-warning-bg);color:var(--theme-status-warning-fg)}.alerted,.alerted-input{color:var(--theme-danger-fg)}.alerted-input{background-color:var(--theme-danger-bg)!important;border:2px solid var(--theme-danger-border)}.lad-display.alerted-input{background:linear-gradient(180deg,color-mix(in srgb,var(--theme-status-warning-bg) 88%,#2b2108 12%) 0,color-mix(in srgb,var(--theme-status-warning-bg) 78%,var(--theme-surface-2) 22%) 100%)!important;border:2px solid color-mix(in srgb,var(--theme-status-warning-bg) 82%,#f9de76 18%)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--theme-status-warning-bg) 65%,transparent),inset 0 1px 0 color-mix(in srgb,#fff4c9 55%,transparent);color:var(--theme-status-warning-fg)!important;font-weight:700}.report-section{margin-bottom:21px}@media screen and (min-width:1200px),screen and (min-width:768px) and (orientation:landscape){.battle-plan-dialog{max-width:900px;width:calc(100vw - 3rem)}.report-squad-details>div:last-child{white-space:nowrap}}.report-squad{margin-bottom:13px}.report-squad-basic{align-items:stretch;font-size:85%}.report-squad-details{font-size:70%;font-style:italic}.report-squad-details>div{padding-right:8px}.loss-health-gap{color:var(--theme-text-muted);white-space:nowrap}.highlighted .loss-health-gap{color:inherit}.report-squad-name{border-bottom:1px dotted var(--theme-divider);flex:1;font-weight:700;height:auto;min-height:1.5em}.report-flag-icon-strip{align-items:center;display:inline-flex;gap:4px;margin-left:6px;vertical-align:middle}.report-flag-icon{box-shadow:0 0 0 1px hsla(0,0%,100%,.14),0 0 10px rgba(123,181,255,.32),0 0 16px rgba(92,156,245,.18);font-size:.62rem;height:1.05rem;vertical-align:middle;width:1.05rem}.report-flag-icon.troop-icon--role{box-shadow:0 0 0 1px rgba(186,226,255,.24),0 0 10px rgba(102,184,255,.46),0 0 16px rgba(78,147,230,.26)}.report-flag-icon.troop-icon--trait{box-shadow:0 0 0 1px rgba(236,212,255,.24),0 0 10px rgba(186,116,255,.44),0 0 16px rgba(142,84,219,.28)}.report-flag-icon.troop-icon--category{box-shadow:0 0 0 1px rgba(255,228,163,.24),0 0 10px rgba(255,196,92,.42),0 0 16px rgba(206,143,45,.24)}.report-flag-icon .troop-icon-svg{height:.76rem;width:.76rem}.report-squad-count{border-bottom:1px dotted var(--theme-divider);flex:0.25;font-size:1.05rem;font-variant-numeric:tabular-nums;font-weight:700;margin-top:auto;min-height:1.5em;text-align:right}.modal-header{background:var(--theme-modal-header-bg);color:var(--theme-modal-header-fg)}.modal-body,.modal-footer{background:var(--theme-modal-surface);color:var(--theme-text)}.tag{background:#ddd;border:0 solid #888;border-radius:21px;display:inline-block;font-size:80%;margin-left:5px;min-width:25px;padding:1px 8px;text-align:center}.bonus-tag{border-radius:2px;font-size:80%;padding:0 4px}.rating-display{border-radius:3px;margin-bottom:21px;margin-right:13px;max-width:50%;min-width:30%;padding:5px 13px;width:fit-content}.health-bonus-composer{margin-top:8px;max-width:100%;padding:13px;width:100%}.health-bonus-composer,.observed-health-calibration{background:var(--theme-surface-3);border:1px solid var(--theme-border);border-radius:8px;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.08),inset 0 0 0 1px rgba(0,0,0,.18)}.observed-health-calibration{margin-top:14px;overflow:hidden}.observed-health-calibration-summary{align-items:center;background:hsla(0,0%,100%,.02);cursor:pointer;display:flex;gap:12px;justify-content:space-between;list-style:none;padding:10px 14px}.observed-health-calibration-summary::-webkit-details-marker{display:none}.observed-health-calibration-title{align-items:center;color:var(--theme-text);display:inline-flex;font-weight:700;gap:7px}.observed-health-calibration-toggle-icon{font-size:11px;transition:transform .14s ease}.observed-health-calibration[open] .observed-health-calibration-toggle-icon{transform:rotate(90deg)}.observed-health-calibration-meta{align-items:center;display:inline-flex;gap:10px}.observed-health-calibration-toggle{align-items:center;color:var(--theme-text-muted);display:inline-flex;font-size:12px;gap:6px;line-height:1.2}.observed-health-calibration-toggle input{margin:0}.observed-health-calibration-count{color:var(--theme-text-muted);font-size:12px;line-height:1.2;text-transform:lowercase}.observed-health-calibration-body{color:var(--theme-text);padding:0 14px 14px}.calibration-adjustments{background:color-mix(in srgb,var(--theme-surface-1) 70%,transparent);border:1px solid var(--theme-border);border-radius:6px}.calibration-adjustments__item,.calibration-adjustments__summary{align-items:center;display:flex;gap:12px;justify-content:space-between}.calibration-adjustments__summary{cursor:pointer;list-style:none;padding:10px 12px;user-select:none}.calibration-adjustments__summary::-webkit-details-marker{display:none}.calibration-adjustments__title{align-items:center;display:inline-flex;gap:7px}.calibration-adjustments__toggle-icon{font-size:11px;transition:transform .14s ease}.calibration-adjustments[open] .calibration-adjustments__toggle-icon{transform:rotate(90deg)}.calibration-adjustments__effective,.calibration-adjustments__note,.calibration-adjustments__totals{color:var(--theme-text-muted);font-size:12px}.calibration-adjustments__editor{border-top:1px solid var(--theme-border);padding:10px 12px}.calibration-adjustments__list{margin-bottom:10px}.calibration-adjustments__item{padding:9px 0}.calibration-adjustments__item+.calibration-adjustments__item{border-top:1px solid var(--theme-border)}.calibration-adjustments__actions{display:inline-flex;flex-shrink:0}.calibration-adjustments__rebase{align-items:center;border-bottom:1px solid var(--theme-border);display:flex;gap:10px;margin-bottom:12px;padding-bottom:10px}.calibration-adjustments__form{align-items:end;column-gap:10px;display:grid;grid-template-columns:repeat(2,minmax(160px,1fr));row-gap:16px}.calibration-adjustments__form label{color:var(--theme-text-muted);font-size:12px}.calibration-adjustments__form-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:18px}.calibration-adjustments__effective{display:block;margin-top:4px}@media (max-width:720px){.calibration-adjustments__form{grid-template-columns:1fr}.calibration-adjustments__rebase{align-items:flex-start;flex-direction:column}}.observed-health-calibration-help{background:color-mix(in srgb,var(--theme-surface-1) 70%,transparent);border-left:3px solid var(--theme-accent);color:var(--theme-text-muted);font-size:13px;line-height:1.45;margin:0 0 12px;padding:10px 12px}.observed-health-calibration-help-title{color:var(--theme-text);font-size:14px;font-weight:700;margin-bottom:5px}.observed-health-calibration-help p{margin:0}.observed-health-calibration-help p+p{margin-top:12px}.observed-health-calibration-help-intro{margin-bottom:10px!important}.observed-health-calibration-steps{counter-reset:calibration-step;display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr));list-style:none;margin:0;padding:0}.observed-health-calibration-steps li{background:color-mix(in srgb,var(--theme-surface-2) 72%,transparent);border:1px solid color-mix(in srgb,var(--theme-border) 78%,transparent);border-radius:6px;counter-increment:calibration-step;min-width:0;padding:9px 10px 9px 38px;position:relative}.observed-health-calibration-steps li:before{align-items:center;background:var(--theme-accent);border-radius:50%;color:var(--theme-surface-1);content:counter(calibration-step);display:inline-flex;font-size:11px;font-weight:700;height:20px;justify-content:center;left:10px;line-height:1;position:absolute;top:9px;width:20px}.observed-health-calibration-steps li>span,.observed-health-calibration-steps li>strong{display:block}.observed-health-calibration-steps li>strong{color:var(--theme-text);margin-bottom:2px}.observed-health-calibration-grouping-note{margin-top:10px!important}.observed-health-calibration-example-link{margin-top:6px!important}.observed-health-calibration-inline-link{background:transparent;border:0;color:var(--theme-link);cursor:pointer;padding:0;text-decoration:underline}.observed-health-calibration-inline-link:hover{color:var(--theme-text)}.observed-health-calibration-empty{border:1px dashed var(--theme-border);border-radius:6px;color:var(--theme-text-muted);padding:10px 12px}@media screen and (max-width:767px){.observed-health-calibration-summary{align-items:flex-start}.observed-health-calibration-meta{align-items:flex-end;flex-direction:column;gap:4px}.observed-health-calibration-toggle{max-width:145px;text-align:right}.observed-health-calibration-steps{grid-template-columns:minmax(0,1fr)}}.observed-health-calibration .table,.observed-health-calibration .table tbody,.observed-health-calibration .table tfoot,.observed-health-calibration .table thead,.observed-health-calibration .table-responsive{--bs-table-bg:var(--theme-surface-1);--bs-table-color:var(--theme-text);--bs-table-border-color:color-mix(in srgb,var(--theme-border) 78%,transparent);--bs-table-striped-bg:color-mix(in srgb,var(--theme-surface-2) 88%,transparent);--bs-table-striped-color:var(--theme-text);--bs-table-hover-bg:color-mix(in srgb,var(--theme-surface-2) 92%,transparent);--bs-table-hover-color:var(--theme-text);background:var(--theme-surface-1);color:var(--theme-text)}.observed-health-calibration .table{border:1px solid color-mix(in srgb,var(--theme-border) 78%,transparent);border-collapse:separate;border-radius:8px;border-spacing:0;margin-bottom:0;overflow:hidden;table-layout:fixed;width:100%}.observed-health-calibration .table tbody td,.observed-health-calibration .table tbody th,.observed-health-calibration .table thead th{background:transparent;border-color:color-mix(in srgb,var(--theme-border) 78%,transparent);color:var(--theme-text);padding-left:16px;padding-right:16px;vertical-align:top}.observed-health-calibration .table tbody td:first-child,.observed-health-calibration .table thead th:first-child{white-space:nowrap;width:auto}@media screen and (min-width:768px){.observed-health-calibration .table tbody td:first-child,.observed-health-calibration .table thead th:first-child{width:25%}}.observed-health-calibration .table tbody td:nth-child(2),.observed-health-calibration .table thead th:nth-child(2){width:52%}.observed-health-calibration .table tbody td:last-child,.observed-health-calibration .table thead th:last-child{width:20%}.observed-health-calibration .table thead th{background:color-mix(in srgb,var(--theme-surface-2) 92%,transparent);vertical-align:bottom}@media screen and (min-width:1024px){.observed-health-calibration .table tbody td,.observed-health-calibration .table tbody th,.observed-health-calibration .table thead th{padding-left:20px;padding-right:20px}}.observed-health-affects-header,.observed-health-icon-header,.observed-health-number-header{color:var(--theme-text-muted);font-size:12px;letter-spacing:.04em;line-height:1.2;text-transform:uppercase;vertical-align:bottom;white-space:normal;word-break:break-word}.observed-health-icon-header{text-align:center}.observed-health-icon-header-label{display:inline}.observed-health-icon-header:before{content:""}@media screen and (max-width:767px){body{box-sizing:border-box;display:block;margin:0;overflow-x:hidden;padding:13px}.page,body{max-width:100%;min-width:0;width:100%}.observed-health-calibration .table{table-layout:fixed;width:100%}.observed-health-calibration .table-responsive{overflow-x:hidden;width:100%}.observed-health-calibration .table tbody td,.observed-health-calibration .table tbody th,.observed-health-calibration .table thead th{padding-left:8px;padding-right:8px}.observed-health-affects-header,.observed-health-icon-header,.observed-health-number-header{font-size:11px;letter-spacing:.02em}.observed-health-icon-cell,.observed-health-icon-header,.observed-health-icon-header-label{display:none}.observed-health-mobile-icon-strip{align-items:center;display:flex!important;gap:4px;justify-content:flex-start;margin-bottom:6px;min-height:24px}.observed-health-row-icon-strip{align-items:center;flex-direction:row;gap:2px;justify-content:center;margin:0 auto;max-width:none;width:auto}.observed-health-affects-cell,.observed-health-number-cell{width:50%}.observed-health-number-input{box-sizing:border-box;max-width:100%;min-width:0}.observed-health-unit-stack-item{flex:1 1 100%;min-width:0}.observed-health-unit-stack-heading{align-items:center;display:grid;gap:8px;grid-template-columns:minmax(0,1fr) 30px;min-width:0}.observed-health-mobile-icon-strip .troop-icon{flex:0 0 1.2rem;height:1.2rem;line-height:1;width:1.2rem}.observed-health-mobile-icon-strip>span{align-items:center;display:inline-flex;gap:2px;line-height:1}.observed-health-mobile-icon-strip .troop-icon-svg{height:.82rem;margin:0;width:.82rem}.observed-health-unit-stack-name{max-width:100%;overflow-wrap:normal;white-space:normal;word-break:normal}.observed-health-unit-remove{position:static}}.observed-health-affects-cell,.observed-health-icon-cell,.observed-health-number-cell{padding-bottom:12px;padding-top:12px;vertical-align:top}.observed-health-icon-cell{padding-left:10px;padding-right:10px;text-align:center;white-space:nowrap;width:auto}.observed-health-icon-cell,.observed-health-number-cell{vertical-align:middle!important}.observed-health-row-icon-strip{align-items:center;display:inline-flex;gap:4px;justify-content:center;min-width:36px;vertical-align:middle;width:100%}.observed-health-row-icon-strip .troop-icon{flex:0 0 1.2rem;line-height:1}.observed-health-row-icon-strip>span{align-items:center;display:inline-flex;gap:4px;line-height:1}.observed-health-row-icon-strip .troop-icon-svg{height:.82rem;margin:0;width:.82rem}.observed-health-mobile-icon-strip{display:none}.observed-health-unit-stack{display:flex;flex-wrap:wrap;gap:8px}.observed-health-unit-stack-item{background:color-mix(in srgb,var(--theme-surface-2) 90%,transparent);border:1px solid var(--theme-border);border-radius:6px;color:var(--theme-text);min-width:148px;padding:6px 8px}.observed-health-unit-stack-heading{align-items:center;display:grid;gap:8px;grid-template-columns:minmax(0,1fr) 30px}.observed-health-unit-stack-details{min-width:0}.observed-health-unit-remove{align-items:center;align-self:center;background:color-mix(in srgb,var(--theme-danger-bg) 55%,var(--theme-surface-2));border:1px solid color-mix(in srgb,var(--theme-danger-border) 70%,var(--theme-border));border-radius:4px;color:var(--theme-danger-fg);cursor:pointer;display:inline-flex;flex:0 0 auto;height:30px;justify-content:center;padding:0;width:30px}.observed-health-unit-remove:focus-visible,.observed-health-unit-remove:hover{filter:brightness(1.08);outline:2px solid color-mix(in srgb,var(--theme-link) 55%,transparent);outline-offset:1px}.observed-health-unit-stack-name{color:var(--theme-text);font-weight:600;margin-bottom:4px}.observed-health-unit-stack-health{color:var(--theme-text-muted);font-size:12px}.observed-health-number-input{background:var(--theme-surface-2);border:1px solid var(--theme-border);color:var(--theme-text);max-width:140px;min-width:120px;width:100%}.observed-health-number-input:focus{border-color:color-mix(in srgb,var(--theme-link) 55%,var(--theme-border));box-shadow:0 0 0 2px color-mix(in srgb,var(--theme-link) 22%,transparent);outline:none}@media screen and (max-width:767px){.observed-health-calibration .table{table-layout:fixed;width:100%}.observed-health-calibration .table-responsive{overflow-x:hidden;width:100%}.observed-health-unit-stack{min-width:0;width:100%}.observed-health-affects-cell,.observed-health-number-cell{width:60%}.observed-health-calibration .table tbody td:last-child,.observed-health-calibration .table tbody td:nth-child(2),.observed-health-calibration .table thead th:last-child,.observed-health-calibration .table thead th:nth-child(2){width:40%!important}.observed-health-calibration .table tbody td:nth-child(2),.observed-health-calibration .table thead th:nth-child(2){width:60%!important}.observed-health-number-input,.observed-health-unit-stack-item{box-sizing:border-box;max-width:100%;min-width:0!important}.observed-health-unit-stack-heading{align-items:center;display:grid;gap:8px;grid-template-columns:minmax(0,1fr) 30px;min-width:0}.observed-health-unit-stack-name{max-width:100%;overflow-wrap:normal;white-space:normal;word-break:normal}}.observed-health-delta-badge{border-radius:999px;display:inline-block;font-size:12px;font-weight:700;padding:2px 8px}.observed-health-delta-badge--positive{background:rgba(40,167,69,.15);color:#68d391}.observed-health-delta-badge--negative{background:rgba(220,53,69,.12);color:#fca5a5}.observed-health-delta-badge--neutral{background:hsla(0,0%,100%,.08);color:var(--theme-text-muted)}@media screen and (width >= 1024px){.health-bonus-composer{max-width:640px;min-width:620px;width:fit-content}}.health-bonus-controls{align-items:end;display:flex;flex-wrap:wrap;gap:8px}#health-bonus-modal .health-bonus-controls{margin-top:4px}#health-bonus-modal #health-bonus-type{line-height:1.36}.health-bonus-type-select{position:relative}.health-bonus-type-select-toggle{align-items:center;background:var(--theme-surface-1);border-radius:4px;color:var(--theme-text);display:inline-flex;gap:8px;justify-content:space-between;min-height:34px;padding:6px 10px;text-align:left;width:100%}.health-bonus-type-select-toggle:focus{outline:2px solid #0d85fd;outline-offset:1px}.health-bonus-type-select-value{align-items:center;display:inline-flex;gap:7px;min-width:0}.health-bonus-type-select-value>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.health-bonus-type-select-caret{color:var(--theme-text-muted);font-size:.78rem}.health-bonus-type-select-list{background:var(--theme-surface-2);border:1px solid var(--theme-border);border-radius:6px;box-shadow:0 10px 24px rgba(0,0,0,.34);left:0;list-style:none;margin:0;max-height:230px;overflow-y:auto;padding:5px;position:absolute;right:0;top:calc(100% + 4px);z-index:1056}.health-bonus-type-select-group+.health-bonus-type-select-group{border-top:1px solid hsla(0,0%,100%,.12);margin-top:6px;padding-top:6px}.health-bonus-type-select-group-label{color:var(--theme-text-muted);font-size:76%;letter-spacing:.04em;padding:2px 7px;text-transform:uppercase}.health-bonus-type-select-group-options{list-style:none;margin:0;padding:0}.health-bonus-type-select-option{align-items:center;background:transparent;border:1px solid transparent;border-radius:4px;color:var(--theme-text);display:flex;gap:7px;padding:6px 8px;text-align:left;width:100%}.health-bonus-type-select-option.is-active,.health-bonus-type-select-option:hover{background:hsla(0,0%,100%,.1);border-color:hsla(0,0%,100%,.15)}.health-bonus-type-select-option.is-selected{border-color:hsla(41,84%,75%,.45)}.health-bonus-type-select-option-action,.health-bonus-type-select-option-main{background:transparent;border:none;color:inherit;padding:0}.health-bonus-type-select-option-main{flex:1 1 auto;min-width:0;text-align:left}.health-bonus-type-select-option-action{align-items:center;color:var(--theme-text-muted);display:inline-flex;flex:0 0 auto;justify-content:center;margin-left:6px}.health-bonus-type-select-option-action:focus-visible,.health-bonus-type-select-option-action:hover{color:var(--theme-text)}.health-bonus-type-select-option:focus-within{outline:none}.health-bonus-type-select-option-action:focus,.health-bonus-type-select-option-main:focus{outline:none}.health-bonus-type-select .health-bonus-pill-icon{font-size:.62rem;height:1rem;width:1rem}.health-bonus-type-select .health-bonus-pill-icon .troop-icon-svg{height:.72rem;width:.72rem}.profile-selector,.profile-selector-dropdown-anchor{position:relative}.profile-selector-toggle{align-items:center;background:linear-gradient(180deg,color-mix(in srgb,var(--theme-surface-1) 95%,transparent) 0,color-mix(in srgb,var(--theme-surface-2) 88%,transparent) 100%);border:1px solid color-mix(in srgb,var(--theme-border) 90%,transparent);border-radius:10px;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.04),0 2px 8px rgba(0,0,0,.16);color:var(--theme-text);display:inline-flex;gap:12px;justify-content:space-between;min-height:44px;padding:10px 12px;text-align:left;transition:border-color .13s ease,box-shadow .13s ease;width:100%}.profile-selector-toggle:hover{border-color:color-mix(in srgb,var(--theme-link) 35%,var(--theme-border))}.profile-selector-toggle:focus-visible{outline:2px solid color-mix(in srgb,var(--theme-link) 75%,#fff 25%);outline-offset:2px}.profile-selector-toggle.is-selected{border-color:color-mix(in srgb,var(--theme-heading) 52%,var(--theme-border))}.profile-selector-toggle-value{align-items:center;display:inline-flex;font-weight:600;gap:8px;min-width:0}.profile-selector-toggle-badge{background:color-mix(in srgb,var(--theme-heading) 30%,transparent);border-radius:999px;color:var(--theme-text);flex:0 0 auto;font-size:72%;letter-spacing:.04em;padding:2px 8px;text-transform:uppercase}.profile-selector-toggle-caret{color:var(--theme-text-muted);font-size:.78rem}.profile-selector-list{background:color-mix(in srgb,var(--theme-surface-2) 96%,transparent);border:1px solid color-mix(in srgb,var(--theme-border) 90%,transparent);border-radius:10px;box-shadow:0 14px 30px rgba(0,0,0,.3);left:0;list-style:none;margin:0;max-height:230px;overflow-y:auto;padding:6px;position:absolute;right:0;top:calc(100% + 2px);z-index:1056}.profile-selector-empty-state{border-radius:8px;color:var(--theme-text-muted);font-size:90%;padding:10px}.profile-selector-option{align-items:center;background:transparent;border:1px solid transparent;border-radius:8px;color:var(--theme-text);display:flex;gap:10px;justify-content:space-between;padding:4px 6px;text-align:left;width:100%}.profile-selector-option-main{background:transparent;border:none;color:inherit;flex:1 1 auto;min-width:0;padding:4px;text-align:left}.profile-selector-option-actions{align-items:center;display:inline-flex;flex:0 0 auto;gap:8px}.profile-selector-option-action{align-items:center;background:transparent;border:none;border-radius:6px;color:var(--theme-text-muted);display:inline-flex;height:28px;justify-content:center;padding:0;width:28px}.profile-selector-option-action:focus-visible,.profile-selector-option-action:hover{background:color-mix(in srgb,var(--theme-surface-3) 78%,transparent);color:var(--theme-text);outline:none}.profile-selector-option:focus-visible,.profile-selector-option:hover{background:color-mix(in srgb,var(--theme-surface-3) 72%,transparent);border-color:color-mix(in srgb,var(--theme-link) 30%,var(--theme-border));outline:none}.profile-selector-option.is-selected{background:color-mix(in srgb,var(--theme-heading) 12%,var(--theme-surface-2));border-color:color-mix(in srgb,var(--theme-heading) 52%,var(--theme-border))}.profile-selector-option-default{opacity:.74}.profile-selector-option-default:focus-within,.profile-selector-option-default:hover{opacity:.9}.profile-selector-option-indicator{color:var(--theme-heading);flex:0 0 auto;text-align:center;width:1rem}.profile-selector-meta{align-items:center;color:var(--theme-text-muted);display:flex;flex-wrap:wrap;font-size:88%;gap:10px;margin-top:10px}.profile-selector-count{align-items:center;background:color-mix(in srgb,var(--theme-surface-3) 55%,transparent);border:1px solid color-mix(in srgb,var(--theme-border) 75%,transparent);border-radius:999px;color:var(--theme-text);display:inline-flex;padding:2px 8px}.profile-selector-meta-text{flex:1 1 auto;min-width:0}.profile-selector-meta-text:empty{display:none}.profile-selector-meta-action{align-items:center;background:transparent;border:none;color:var(--theme-link);display:inline-flex;flex:0 0 auto;gap:7px;margin-left:auto;padding:0;white-space:nowrap}.profile-selector-meta-action:focus-visible,.profile-selector-meta-action:hover{outline:none;text-decoration:underline}.health-bonus-type-wrap,.health-bonus-value-wrap{display:flex;flex-direction:column;min-width:180px}.health-bonus-value-wrap{min-width:120px}.health-bonus-modal-copy{color:var(--theme-text-muted);font-size:.88rem}.health-bonus-modal-sections{display:flex;flex-direction:column;gap:10px}.health-bonus-modal-section{background:var(--theme-surface-2);border:1px solid var(--theme-border);border-radius:8px;display:flex;flex-direction:column;gap:6px;padding:10px}.health-bonus-modal-section-title{color:var(--theme-text-muted);font-size:78%;font-weight:700;letter-spacing:.03em;text-transform:uppercase}.health-bonus-modal-section-label{font-size:86%;margin:0}.health-bonus-attribute-controls{align-items:center;display:flex;gap:8px}.health-bonus-selection-summary{align-items:center;color:var(--theme-text-muted);display:flex;font-size:82%;justify-content:space-between}.health-bonus-clear-selected{color:var(--theme-link);font-size:inherit;line-height:1.2;min-height:auto;padding:0}.health-bonus-clear-selected:hover{color:var(--theme-link-hover);text-decoration:none}.dark-omens-copy-link{color:var(--theme-link)}.dark-omens-page .summary{font-size:100%}.dark-omens-page{--dark-omens-control-width:450px}.dark-omens-level-table{--bs-table-bg:color-mix(in srgb,var(--theme-surface-1) 92%,transparent);--bs-table-color:var(--theme-text);--bs-table-border-color:color-mix(in srgb,var(--theme-border) 75%,transparent);background:color-mix(in srgb,var(--theme-surface-1) 92%,transparent);border-color:color-mix(in srgb,var(--theme-border) 75%,transparent);font-size:.9rem}.dark-omens-level-table td,.dark-omens-level-table th{border-color:color-mix(in srgb,var(--theme-border) 75%,transparent);text-align:center;vertical-align:middle}.dark-omens-level-table-row-title{font-weight:600;max-width:220px;min-width:220px;text-align:left!important;width:220px}.dark-omens-level-table-active{background:color-mix(in srgb,#7fe241 58%,var(--theme-surface-2) 42%)!important;color:#0d2a14;font-weight:700}.dark-omens-action-row{align-items:center;display:flex;gap:10px;width:min(100%,var(--dark-omens-control-width))}.dark-omens-action-button{width:min(100%,220px)}.dark-omens-essence-container{margin-right:0;max-width:var(--dark-omens-control-width);width:min(100%,var(--dark-omens-control-width))}.dark-omens-essence-input{text-align:right}.dark-omens-calibration-note{align-items:flex-start;background:color-mix(in srgb,#d8f1bc 18%,var(--theme-surface-1) 82%);border:1px solid color-mix(in srgb,#8fc95a 35%,var(--theme-border) 65%);border-radius:10px;display:flex;font-size:.88rem;gap:12px;justify-content:space-between;padding:10px 12px}.dark-omens-calibration-link{flex-shrink:0;white-space:nowrap}.dark-omens-calibration-inline-link{vertical-align:baseline;white-space:nowrap}.dark-omens-threshold-settings{max-width:var(--dark-omens-control-width);width:min(100%,var(--dark-omens-control-width))}.dark-omens-settings-header{align-items:center;display:flex;gap:12px;justify-content:space-between}.dark-omens-settings-toggle{color:var(--theme-link);text-decoration:none}.dark-omens-settings-action-row{align-items:center;display:flex;flex-wrap:wrap;gap:4px;justify-content:flex-end;width:100%}.dark-omens-imported-note{color:#79c76b;font-size:.9rem}.dark-omens-threshold-grid{display:grid;gap:8px;grid-template-columns:1fr}.dark-omens-threshold-row{display:flex;flex-direction:column;gap:8px;margin-top:8px}.dark-omens-level-heading{font-weight:700;line-height:1.4;margin:0}.dark-omens-level-fields{display:grid;gap:8px;grid-template-columns:repeat(4,minmax(0,1fr))}.dark-omens-level-field-heading-threshold,.dark-omens-level-field-input-threshold{grid-column:1/span 2}.dark-omens-level-field-heading-rate,.dark-omens-level-field-input-rate{grid-column:3/span 2}.dark-omens-threshold-label{font-weight:600;margin:0}.dark-omens-threshold-input{text-align:right}.dark-omens-threshold-saved-note{margin-top:8px}.dark-omens-output-list{display:flex;flex-direction:column;gap:10px}.dark-omens-output-item{align-items:baseline;display:flex;flex-wrap:wrap;gap:4px}.dark-omens-output-label{font-weight:700;white-space:nowrap}.dark-omens-output-value{align-items:baseline;display:inline-flex;flex-wrap:wrap;gap:4px}@media (max-width:900px){.dark-omens-level-table{font-size:.84rem}.dark-omens-level-table-row-title{font-size:.78rem;line-height:1.2;max-width:170px;min-width:170px;width:170px}}@media (max-width:640px){.dark-omens-level-table{font-size:.8rem}.dark-omens-level-table-row-title{display:none}.dark-omens-output-list{gap:14px}.dark-omens-output-item{align-items:flex-start;flex-direction:column;gap:2px}.dark-omens-output-value{gap:6px}.dark-omens-output-value .ms-2{margin-left:0!important}.dark-omens-action-row{align-items:stretch;flex-direction:column;gap:8px}.dark-omens-action-button,.dark-omens-action-row{max-width:none;width:100%}.dark-omens-essence-container{margin-right:0;max-width:none;width:100%}.dark-omens-calibration-note{flex-direction:column;gap:6px}.dark-omens-threshold-settings{max-width:none;width:100%}.dark-omens-settings-header{align-items:flex-start}.dark-omens-settings-action-row .ms-2{margin-left:0!important}.dark-omens-settings-action-row{justify-content:flex-start}.dark-omens-threshold-row{gap:4px}.dark-omens-level-heading{margin:0}.dark-omens-level-fields{gap:4px;grid-template-columns:1fr}.dark-omens-level-field-heading-rate,.dark-omens-level-field-heading-threshold,.dark-omens-level-field-input-rate,.dark-omens-level-field-input-threshold{grid-column:auto}.dark-omens-level-field-heading-threshold{order:1}.dark-omens-level-field-input-threshold{order:2}.dark-omens-level-field-heading-rate{order:3}.dark-omens-level-field-input-rate{order:4}}.dark-omens-copy-link:focus-visible,.dark-omens-copy-link:hover{color:color-mix(in srgb,var(--theme-link) 82%,#fff 18%);text-decoration:underline}body.light .dark-omens-copy-link:focus-visible,body.light .dark-omens-copy-link:hover{color:color-mix(in srgb,var(--theme-link) 85%,#000 15%)}.health-bonus-selected-attributes{display:flex;flex-wrap:wrap;gap:6px}.health-bonus-selected-attributes-empty{color:var(--theme-text-muted);font-size:85%}.health-bonus-selected-attribute{align-items:center;background:var(--theme-surface-2);border:1px solid var(--theme-border);border-radius:16px;color:var(--theme-text);display:inline-flex;gap:6px;padding:3px 8px}.health-bonus-selected-attribute:hover{background:color-mix(in srgb,var(--theme-surface-2) 88%,var(--theme-link) 12%);border-color:var(--theme-link)}.health-bonus-selected-attribute .health-bonus-pill-icon{font-size:.58rem;height:.95rem;width:.95rem}.health-bonus-selected-attribute .health-bonus-pill-icon .troop-icon-svg{height:.68rem;width:.68rem}.health-bonus-pill-separator{color:var(--theme-text-muted);margin:0 1px;opacity:.7}.health-bonus-value-hint{color:var(--theme-text-muted);font-size:80%}@media (max-width:760px){.health-bonus-type-wrap,.health-bonus-value-wrap{min-width:0;width:100%}.health-bonus-attribute-controls{align-items:stretch;flex-direction:column}.health-bonus-attribute-controls .btn,.health-bonus-pill-track{width:100%}.health-bonus-pill{box-sizing:border-box;flex:0 1 auto;max-width:100%;width:auto}.health-bonus-pill-type{column-gap:5px;flex:1 1 auto;flex-wrap:wrap;min-width:0;row-gap:2px}.health-bonus-pill-remove,.health-bonus-pill-value-wrap{flex:0 0 auto;white-space:nowrap}}.health-bonus-pill-list{margin-top:10px}.health-bonus-surface{display:block}.health-bonus-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.health-bonus-header-title{color:var(--theme-text-muted);font-size:82%;font-weight:700;letter-spacing:.02em;text-transform:uppercase}.health-bonus-pill-track{display:flex;flex-wrap:wrap;gap:8px}.health-bonus-pill{align-items:center;background:#2f2f2f;border:1px solid #777;border-radius:20px;cursor:pointer;display:inline-flex;gap:8px;padding:4px 13px}.health-bonus-pill:hover{border-color:#aaa}.health-bonus-pill:focus-within{outline:2px solid #0d85fd;outline-offset:1px}.health-bonus-pill-type{align-items:center;color:#f7d287;display:inline-flex;font-weight:700;gap:6px}.health-bonus-pill-icon{font-size:.6rem;height:1rem;width:1rem}.health-bonus-pill-icon .troop-icon-svg{height:.72rem;width:.72rem}.health-bonus-pill-value-wrap{align-items:center;display:inline-flex;font-weight:700;gap:3px}.health-bonus-pill-suffix{color:var(--theme-text-muted);font-size:85%}.health-bonus-pill-remove{line-height:1;margin-left:2px;padding:1px 6px}.health-bonus-pill-add{background:transparent;border-style:dashed;color:#ddd}.health-bonus-pill-add:hover{color:#fff}.health-bonus-pill-add-icon{font-size:85%}.health-bonus-pill-add-text{font-weight:700}.health-bonus-pill-add--subtle{border-color:#666;color:#bdbdbd}.health-bonus-pill-add--subtle:hover{background:hsla(0,0%,100%,.06);border-color:#8d8d8d}.health-bonus-pill-add--medium{border-color:#7c7c7c;color:#d8d8d8}.health-bonus-pill-add--medium:hover{background:hsla(0,0%,100%,.1);border-color:#a9a9a9}.health-bonus-pill-add--bold{border-color:#bfa261;color:#f5d38b}.health-bonus-pill-add--bold:hover{background:hsla(41,84%,75%,.14);border-color:#f5d38b}.bonus-tag,.rating-display{background-color:#24c053;color:#e8fff2}.rating-title{font-size:90%;font-weight:400}.rating-value{font-size:130%}#required-authority,#required-dominance,#required-leadership{line-height:1}.block{display:block;width:100%}.visual-tier-9{background:#32cd32;color:#fff}.visual-tier-8{background:#eee;color:#000}.visual-tier-7{background:gold;color:#000}.visual-tier-6{background:#b22222;color:#fff}.visual-tier-5{background:#ff8c00;color:#fff}.visual-tier-4{background:#9400d3;color:#fff}.visual-tier-3{background:#1e90ff;color:#fff}.visual-tier-2{background:#3cb371;color:#fff}.visual-tier-1{background:#888;color:#fff}.lad-amount{font-size:80%;text-align:right}#update-history-accordion{border-color:var(--theme-border)}#collapseHistory{border:1px solid var(--theme-border);border-top:none}.summary{background-color:var(--theme-surface-2);color:var(--theme-text)}.summary-accordion-header{background-color:var(--theme-surface-3)!important;border:0 solid #333;color:var(--theme-text)!important}.summary strong{filter:drop-shadow(2px 4px 6px black)}.summary .h6 strong{filter:drop-shadow(2px 4px 6px #555)}.summary{border-radius:8px;font-size:90%;margin-top:13px;padding:21px}.summary-lite{border-bottom-left-radius:8px;border-bottom-right-radius:8px;border-top:0;font-size:90%}.summary-title{font-size:110%;font-weight:700}.summary-body{margin-bottom:13px}.release-notes-inline-link-wrap{font-size:92%;margin-left:8px}.release-notes-inline-link,.release-notes-inline-link:visited{color:var(--theme-text-muted);text-decoration:underline}.release-notes-inline-link:hover{color:var(--theme-link)}.profile-hub{background:linear-gradient(180deg,color-mix(in srgb,var(--theme-surface-2) 92%,transparent) 0,color-mix(in srgb,var(--theme-surface-1) 96%,transparent) 100%);border:1px solid color-mix(in srgb,var(--theme-border) 78%,transparent);border-radius:14px;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.03),0 10px 24px rgba(0,0,0,.2);padding:18px;width:100%}.shared-settings-preview-list{list-style:none;margin:0;padding:0}.shared-settings-preview-panel{background:var(--theme-settings-preview-surface);border:1px solid var(--theme-border);border-radius:6px;padding:14px 16px}.shared-settings-preview-list li{align-items:center;display:flex;gap:8px;margin-bottom:8px}.shared-settings-preview-present{color:var(--theme-status-success-bg)}.shared-settings-preview-absent{color:var(--theme-status-neutral-fg)}.profile-hub-header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between;margin-bottom:16px}.profile-hub-eyebrow{color:var(--theme-text-muted);font-size:74%;letter-spacing:.08em;margin-bottom:3px;text-transform:uppercase}.profile-hub-title{color:var(--theme-heading);font-size:1.3rem;font-weight:700}.profile-hub-note{color:var(--theme-text-muted);font-size:89%;line-height:1.45;max-width:430px}.profile-hub-note code{color:var(--theme-text)}.profile-hub-body{align-items:start;display:grid;gap:8px 16px;grid-template-areas:"label ." "selector actions";grid-template-columns:minmax(0,1fr) auto}.profile-hub-selector-wrap{grid-area:selector;min-width:0}.profile-hub-label-wrap{display:flex;flex-direction:column;gap:6px;grid-area:label}.profile-hub-autosave-note{color:var(--theme-text-muted);display:none;font-size:82%;font-style:italic;line-height:1.35;margin-bottom:8px;margin-top:0}.profile-hub-label{color:var(--theme-text-muted);font-size:86%;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.profile-hub-actions,.profile-hub-utility-actions{display:flex;flex-wrap:wrap;gap:8px}.profile-hub-actions{grid-area:actions;justify-content:flex-end}.profile-hub-action{align-items:center;display:inline-flex;gap:8px;justify-content:center;min-height:44px;min-width:132px;white-space:nowrap}.profile-hub-action-danger:not(:disabled){background:color-mix(in srgb,var(--theme-danger-bg) 78%,var(--theme-surface-2));border-color:color-mix(in srgb,var(--theme-danger-border) 75%,var(--theme-border));color:var(--theme-danger-fg)}.profile-hub-action-danger:not(:disabled):hover{filter:brightness(1.04)}.profile-share-actions{min-height:44px}.profile-share-actions .profile-share-main{flex:0 0 132px;min-width:132px;width:132px}.profile-share-menu-toggle{flex:0 0 44px!important;min-width:44px;width:44px}.profile-share-menu{background:var(--theme-modal-surface);border-color:var(--theme-border);color:var(--theme-text);left:auto;margin:0;right:0;top:calc(100% + 4px);transform:none}.profile-share-menu .dropdown-item{align-items:center;color:var(--theme-text);display:flex;gap:.55rem}.profile-share-menu .dropdown-item:focus,.profile-share-menu .dropdown-item:hover{background:var(--theme-surface-3);color:var(--theme-text)}.profile-hub-utility{align-items:start;border-top:1px solid color-mix(in srgb,var(--theme-border) 70%,transparent);display:grid;gap:8px;grid-template-areas:"copy" "actions";grid-template-columns:minmax(0,1fr);justify-content:stretch;margin-top:16px;padding-top:14px}.profile-hub-utility-copy{grid-area:copy;min-width:0}.profile-hub-utility-title{color:var(--theme-text);font-size:86%;font-weight:700;margin-bottom:3px}.profile-hub-utility-text{color:var(--theme-text-muted);font-size:89%}.profile-hub-utility-actions{grid-area:actions;justify-content:flex-start;width:100%}@media screen and (width < 980px){.profile-hub-body{grid-template-areas:"label" "selector" "actions";grid-template-columns:1fr}.profile-hub-actions{align-items:center;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;width:100%}.profile-hub-action{justify-content:center;min-width:132px;width:auto}.profile-hub-utility{align-items:flex-start}.profile-hub-utility-actions{align-items:center;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;width:100%}}@media screen and (width < 640px){.profile-hub-actions,.profile-hub-utility-actions{align-items:stretch;flex-direction:column}.profile-hub-action{justify-content:flex-start;min-width:0;width:100%}.profile-share-actions{width:100%}.profile-share-actions .profile-share-main{flex:1 1 auto;min-width:0;width:auto}}.support-callout{color:var(--theme-text-muted);margin-top:2px}.support-callout strong{color:var(--theme-text);font-weight:600}.support-callout a,.support-callout a:visited{color:var(--theme-link)}.icon-legend-modal-content,.release-notes-modal-content{border:1px solid var(--theme-border)}.icon-legend-description{color:var(--theme-text-muted);margin-bottom:10px}.icon-legend-group+.icon-legend-group{margin-top:10px}.icon-legend-group-title{color:var(--theme-heading);font-weight:700;margin-bottom:6px}.icon-legend-grid{display:grid;gap:8px 12px;grid-template-columns:repeat(2,minmax(0,1fr))}.icon-legend-item{align-items:center;color:var(--theme-text);display:flex;gap:7px}@media screen and (width < 640px){.icon-legend-grid{grid-template-columns:minmax(0,1fr)}}.release-notes-controls{align-items:center;display:flex;gap:10px;margin-bottom:10px}.release-notes-controls label{color:var(--theme-text-muted);margin:0;min-width:58px}#release-notes-version-select{max-width:320px}#release-notes-modal-error{margin-bottom:8px}.release-notes-markdown{color:var(--theme-text);line-height:1.45}.release-notes-markdown h1,.release-notes-markdown h2,.release-notes-markdown h3{color:var(--theme-heading);margin-bottom:8px;margin-top:0}.release-notes-markdown ol,.release-notes-markdown p,.release-notes-markdown ul{margin-bottom:10px}.release-notes-markdown code{background:rgba(0,0,0,.2);border-radius:4px;color:var(--theme-text);padding:0 4px}.import-export-box{font-family:Courier New,Courier,monospace;font-size:10pt;height:100%;min-height:200px;width:100%}.import-export-box:read-only{background:linear-gradient(180deg,#2a2118,#201910);color:#dcc39a}@media screen and (width < 640px){.rating-display{max-width:100%}.summary,.summary-lite{font-size:80%}.import-export-content{height:calc(100vh - 5%)}.troop-families-container{grid-template-columns:minmax(0,max-content)}}body.prerender{visibility:collapse}.sub-tier-loss-order{margin-top:.25rem;max-width:430px}.sub-tier-safety{background:var(--theme-surface-3);border:1px solid var(--theme-border);border-radius:8px;margin-bottom:.9rem;padding:.75rem .9rem}.sub-tier-safety__heading{align-items:baseline;color:var(--theme-text);display:flex;font-size:.85rem;gap:1rem;justify-content:space-between;margin-bottom:.5rem}.sub-tier-safety__heading output{color:var(--theme-link);font-weight:700}.sub-tier-safety__range{margin:0}.sub-tier-safety__labels{color:var(--theme-text-muted);display:flex;font-size:.72rem;gap:.5rem;justify-content:space-between}.sub-tier-safety__labels span:nth-child(2){text-align:center}.sub-tier-safety__labels span:last-child{text-align:right}.sub-tier-safety__description{color:var(--theme-text-muted);font-size:.78rem;line-height:1.4;margin:.55rem 0 0}.sub-tier-safety__footer{display:flex;justify-content:flex-end;margin-top:.35rem}.sub-tier-loss-order__heading{color:var(--theme-text-muted);font-size:.85rem;margin-bottom:.4rem}.sub-tier-loss-order__summary{align-items:center;background:var(--theme-surface-3);border:1px solid var(--theme-border);border-radius:8px;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.08),inset 0 0 0 1px rgba(0,0,0,.18);color:var(--theme-text);display:flex;font-family:inherit;font-size:.85rem;gap:.75rem;justify-content:space-between;padding:10px 14px;text-align:left;width:100%}.sub-tier-loss-order__summary:focus-visible,.sub-tier-loss-order__summary:hover{color:var(--theme-link)}.sub-tier-loss-order__list{display:grid;gap:0;list-style:none;margin:0;padding:0 14px}.sub-tier-loss-order__item{align-items:center;border-bottom:1px solid var(--theme-border);display:grid;gap:.65rem;grid-template-columns:1.25rem minmax(0,1fr) auto;min-height:2.75rem;padding:.25rem 0;position:relative}.sub-tier-loss-order__item:first-child{border-top:1px solid var(--theme-border)}.sub-tier-loss-order__handle{color:var(--theme-text-muted);cursor:grab;text-align:center}.sub-tier-loss-order__item:active .sub-tier-loss-order__handle{cursor:grabbing}.sub-tier-loss-order__item.is-drop-target-after:after,.sub-tier-loss-order__item.is-drop-target:before{background:var(--theme-link);box-shadow:0 0 0 1px var(--theme-bg),0 0 7px var(--theme-link);content:"";height:3px;left:0;pointer-events:none;position:absolute;right:0;z-index:2}.sub-tier-loss-order__item.is-drop-target:before{top:-2px}.sub-tier-loss-order__item.is-drop-target-after:after{bottom:-2px}.sub-tier-loss-order__item.is-drop-target-after:before,.sub-tier-loss-order__item.is-drop-target:after{background:var(--theme-link);border-radius:50%;content:"";height:9px;left:-3px;pointer-events:none;position:absolute;width:9px;z-index:3}.sub-tier-loss-order__item.is-drop-target:after{top:-5px}.sub-tier-loss-order__item.is-drop-target-after:before{bottom:-5px}.sub-tier-loss-order__type{font-size:.85rem;min-width:0}.sub-tier-loss-order__actions{display:flex;gap:.2rem}.sub-tier-loss-order__move{align-items:center;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--theme-text)!important;display:inline-flex;height:2rem;justify-content:center;padding:0;width:2rem}.sub-tier-loss-order__move:not(:disabled):focus-visible,.sub-tier-loss-order__move:not(:disabled):hover{background:var(--theme-surface-3)!important;color:var(--theme-link)!important}.sub-tier-loss-order__move:disabled{border:0!important;color:var(--theme-text-muted)!important;opacity:.28}.sub-tier-loss-order__footer{display:flex;justify-content:flex-end;padding:.45rem 14px 0}.sub-tier-loss-order__reset{align-items:center;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--theme-link)!important;display:inline-flex;font-size:.8rem;gap:.4rem;padding:.25rem 0}.sub-tier-loss-order__reset:not(:disabled):focus-visible,.sub-tier-loss-order__reset:not(:disabled):hover{color:var(--theme-text)!important}.sub-tier-loss-order__reset:disabled{color:var(--theme-text-muted)!important;opacity:.38}.sub-tier-loss-order.is-disabled,.sub-tier-loss-order.is-order-disabled .sub-tier-loss-order__footer,.sub-tier-loss-order.is-order-disabled .sub-tier-loss-order__list,.sub-tier-loss-order.is-order-disabled .sub-tier-loss-order__summary{opacity:.55}.sub-tier-loss-order.is-order-disabled .sub-tier-loss-order__handle{cursor:default}@media screen and (width < 640px){.sub-tier-loss-order__item{grid-template-columns:1.25rem minmax(0,1fr) auto}}body.light{--theme-bg:#e9f1fb;--theme-text:#10273f;--theme-text-muted:#38526d;--theme-heading:#24486b;--theme-surface-1:#fff;--theme-surface-2:#f2f7fd;--theme-surface-3:#e2edf9;--theme-border:#8fa8c4;--theme-divider:#6f88a4;--theme-link:#0b61ba;--theme-modal-header-bg:#376a9a;--theme-modal-header-fg:#f6fbff;--theme-modal-surface:#f4f9ff;--theme-settings-preview-surface:#e2edf9;--theme-status-success-bg:#4b9a67;--theme-status-success-fg:#12351f;--theme-status-neutral-fg:#6b7f94;--theme-status-warning-bg:#d2a02a;--theme-status-warning-fg:#3a2700;--theme-danger-border:#c77083;--theme-danger-bg:#ffd0d9;--theme-danger-fg:#561424;--troop-icon-category-bg:#fbe4b1;--troop-icon-category-fg:#5c3800;--troop-icon-role-bg:#d7ecff;--troop-icon-role-fg:#0f4a72;--troop-icon-trait-bg:#f0dcff;--troop-icon-trait-fg:#5d2f7f;--troop-icon-border:rgba(38,58,83,.28);background-color:var(--theme-bg);color:var(--theme-text)}.light .form-control,.light .import-export-box,.light .text-input,.light input[type=email],.light input[type=number],.light input[type=password],.light input[type=search],.light input[type=text],.light input[type=url],.light textarea{-webkit-text-fill-color:#17314b;caret-color:#17314b;color:#17314b}.light .form-control,.light .form-select,.light .import-export-box,.light .text-input,.light input[type=email],.light input[type=number],.light input[type=password],.light input[type=search],.light input[type=text],.light input[type=url],.light select,.light textarea{background:linear-gradient(180deg,#fbfeff,#e7f2fe);border-color:#8ca6c6;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.95),0 0 0 1px rgba(29,73,117,.12),0 1px 2px rgba(16,48,84,.14);color:#17314b}.light .form-select,.light select{-webkit-text-fill-color:#17314b;background-image:linear-gradient(45deg,transparent 50%,#355d86 0),linear-gradient(-45deg,transparent 50%,#355d86 0),linear-gradient(180deg,#f2f8ff,#dcecff),linear-gradient(180deg,#f2f8ff,#dcecff);background-position:calc(100% - 1.42rem) calc(50% + 1px),calc(100% - 1.2rem) calc(50% + 1px),100% 50%,50%;background-repeat:no-repeat,no-repeat,no-repeat,no-repeat;background-size:.38rem .26rem,.38rem .26rem,1.9rem 100%,100% 100%;border-color:#7998bd;color:#17314b}.light .form-select option,.light select option{background-color:#f4f9ff;color:#17314b}.light .form-select option:checked,.light select option:checked{background-color:#d7eaff;color:#102c45}.light .form-select option:disabled,.light select option:disabled{color:#6a86a2}.light .form-select optgroup,.light select optgroup{background-color:#e7f2fe;color:#2b5175}.light .form-control::placeholder,.light .import-export-box::placeholder,.light .text-input::placeholder,.light input[type=email]::placeholder,.light input[type=number]::placeholder,.light input[type=password]::placeholder,.light input[type=search]::placeholder,.light input[type=text]::placeholder,.light input[type=url]::placeholder,.light textarea::placeholder{color:rgba(31,74,111,.5)}.light .form-control:hover,.light .form-select:hover,.light .import-export-box:hover,.light .text-input:hover,.light input[type=email]:hover,.light input[type=number]:hover,.light input[type=password]:hover,.light input[type=search]:hover,.light input[type=text]:hover,.light input[type=url]:hover,.light select:hover,.light textarea:hover{border-color:#6d95c2}.light .form-select:hover,.light select:hover{background-image:linear-gradient(45deg,transparent 50%,#234a71 0),linear-gradient(-45deg,transparent 50%,#234a71 0),linear-gradient(180deg,#eaf4ff,#d0e6fd),linear-gradient(180deg,#eaf4ff,#d0e6fd);border-color:#587fac}.light .form-control:focus,.light .import-export-box:focus,.light .text-input:focus,.light input[type=email]:focus,.light input[type=number]:focus,.light input[type=password]:focus,.light input[type=search]:focus,.light input[type=text]:focus,.light input[type=url]:focus,.light textarea:focus{-webkit-text-fill-color:#17314b;color:#17314b}.light .form-control:focus,.light .form-select:focus,.light .import-export-box:focus,.light .text-input:focus,.light input[type=email]:focus,.light input[type=number]:focus,.light input[type=password]:focus,.light input[type=search]:focus,.light input[type=text]:focus,.light input[type=url]:focus,.light select:focus,.light textarea:focus{border-color:#5f88b7;box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgba(36,85,135,.22),0 0 0 .16rem rgba(72,144,216,.18)}.light .form-select:focus,.light select:focus{background-image:linear-gradient(45deg,transparent 50%,#1d4062 0),linear-gradient(-45deg,transparent 50%,#1d4062 0),linear-gradient(180deg,#eff7ff,#d5e9ff),linear-gradient(180deg,#eff7ff,#d5e9ff)}.light .form-control:read-only,.light .import-export-box:read-only,.light .text-input:read-only,.light input[type=email]:read-only,.light input[type=number]:read-only,.light input[type=password]:read-only,.light input[type=search]:read-only,.light input[type=text]:read-only,.light input[type=url]:read-only,.light textarea:read-only{background:linear-gradient(180deg,#f5f9ff,#e9f1fb);border-color:#9ab3cf;color:#35516d}.light .form-switch input:not(:checked){background-color:#fff}.light .troop-checkbox{background:linear-gradient(180deg,#f7fbff,#dfecf9);border-color:#8ca2bd;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.95),0 0 0 1px rgba(29,73,117,.14),0 1px 2px rgba(16,48,84,.18)}.light .troop-checkbox:before{background:linear-gradient(180deg,#4b6f95,#1f4e7f);box-shadow:0 0 8px rgba(71,143,214,.3)}.light .troop-checkbox:hover{border-color:#6f93bc;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.98),0 0 0 1px rgba(36,84,133,.18),0 0 8px rgba(82,152,218,.2)}.light .troop-checkbox:checked{background:linear-gradient(180deg,#f0f7ff,#d2e6fb);border-color:#5885b4;box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgba(36,85,135,.24),0 0 10px rgba(72,144,216,.26)}.light .troop-checkbox:focus-visible{outline:2px solid rgba(72,144,216,.5)}.light .form-switch .form-check-input[role=switch]{--switch-knob-off:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='7.5' fill='%233f6e9f'/%3E%3Ccircle cx='10' cy='10' r='3.1' fill='%23b8d7f6' fill-opacity='.2'/%3E%3C/svg%3E");--switch-knob-on:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='7.5' fill='%232f5f91'/%3E%3Ccircle cx='10' cy='10' r='3.4' fill='%23d8ebff' fill-opacity='.7'/%3E%3C/svg%3E");background-color:#e3effb;background-image:var(--switch-knob-off);border-color:#8ca2bd;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.95),0 0 0 1px rgba(29,73,117,.14),0 1px 2px rgba(16,48,84,.18)}.light .form-switch .form-check-input[role=switch]:hover{border-color:#6f93bc;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.98),0 0 0 1px rgba(36,84,133,.18),0 0 9px rgba(82,152,218,.2)}.light .form-switch .form-check-input[role=switch]:focus:not(:checked){border-color:#7295b9;box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgba(36,85,135,.16),0 0 0 .16rem rgba(72,144,216,.14)}.light .form-switch .form-check-input[role=switch]:checked:focus{border-color:#5f88b7;box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgba(36,85,135,.24),0 0 0 .18rem rgba(72,144,216,.22)}.light .form-switch .form-check-input[role=switch]:checked{background-color:#d2e6fb;background-image:var(--switch-knob-on);background-position:calc(100% - .12rem);border-color:#5885b4;box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgba(36,85,135,.26),0 0 10px rgba(72,144,216,.28)}.light .troop-item .troop-checkbox:checked+.troop-type-label{background:linear-gradient(90deg,rgba(108,168,228,.24),rgba(108,168,228,.08));box-shadow:inset 0 0 0 1px rgba(92,150,209,.3),0 0 9px rgba(82,152,218,.2);color:#0f3f67}.light a,.light a:visited{color:#0d85fd}.light .app-title{filter:drop-shadow(2px 4px 6px #eee)}.light .category-container,.light .category-name,.light .flex-element,.light .flex-element>label,.light .troop-families-container{color:#000;filter:drop-shadow(0 0 0 gray)}.light .category-container{background:linear-gradient(180deg,#f8fbff,#edf4fc);border:1px solid #9db4cc;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.98),0 2px 10px rgba(43,84,128,.14);filter:drop-shadow(1px 2px 3px rgba(62,90,121,.35))}.light .category-name{color:#173452}.light .troop-family-name{border-bottom:1px solid gray;color:#000}.light .tier-collapse-panel{background:linear-gradient(180deg,rgba(242,248,255,.95),rgba(227,238,249,.95));border-color:#b7cee3}.light .tier-collapse-summary{color:#24415f}.light .tier-collapse-summary:before{color:#547ea6}.light .tier-collapse-meta{color:#46607a}.light .tier-collapse-panel.has-selected{border-color:#bb6c16;box-shadow:inset 0 0 0 2px rgba(222,142,45,.28),0 0 0 1px rgba(205,124,26,.24),0 6px 18px rgba(214,135,46,.26)}.light .tier-collapse-panel.has-selected .tier-collapse-summary{background:linear-gradient(90deg,rgba(255,201,112,.56),rgba(255,221,163,.32));color:#2f1d0d}.light .tier-collapse-panel.has-selected .tier-collapse-summary:before{color:#9f4e00}.light .tier-collapse-panel.has-selected .tier-collapse-selected-indicator{background:radial-gradient(circle at 30% 30%,#fff5d9 0,#ffbf5d 52%,#cf6f14 100%);box-shadow:0 0 0 1px rgba(185,97,16,.32),0 0 12px rgba(212,121,31,.5)}.light .tier-collapse-panel.has-selected .tier-collapse-selected-count{color:#5e3000;font-weight:700}.light .release-notes-markdown code{background:rgba(20,53,90,.12)}.light .flex-element{background:linear-gradient(180deg,#f7fbff,#eaf3fd);border:1px solid #a8bfd8;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.96),0 1px 4px rgba(36,82,126,.1);color:#0f2b45}.light .health-bonus-composer{background:linear-gradient(180deg,#f8fcff,#eef6ff);border:1px solid #b9d4ee;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.92),inset 0 0 0 1px rgba(12,52,104,.05)}.light .health-bonus-header-title{color:#2f4d6b}.light .health-bonus-pill{background:#f7fbff;border:1px solid #b9cee6;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.9);color:#222}.light .health-bonus-pill:hover{background:#f2f8ff;border-color:#8eaed3}.light .health-bonus-pill:focus-within{outline:2px solid #5f95cc}.light .health-bonus-pill-add{background:#f4f8fd;border-style:dashed;color:#2a4057}.light .health-bonus-pill-add:hover{color:#17314b}.light .health-bonus-pill-add--subtle{background:#f6f6f6;border-color:#aaa;color:#444}.light .health-bonus-pill-add--subtle:hover{background:#eee;border-color:#8f8f8f}.light .health-bonus-pill-add--medium{background:#edf5ff;border-color:#8ba8c7;color:#1f3f5f}.light .health-bonus-pill-add--medium:hover{background:#e5f0fd;border-color:#678db8}.light .health-bonus-pill-add--bold{background:#fff2cc;border-color:#caa34f;color:#7a4f00}.light .health-bonus-pill-add--bold:hover{background:#ffe8ae;border-color:#a67517}.light .health-bonus-pill-type{color:var(--health-bonus-pill-type-light-color,#3c5f82);font-weight:600}.light .health-bonus-type-select-toggle{background:linear-gradient(180deg,#f8fcff,#ebf4ff);border-color:#8ca6c6;color:#163754}.light .health-bonus-type-select-caret{color:#4c6b8b}.light .health-bonus-type-select-list{background:#f6fbff;border-color:#9fbad8;box-shadow:0 10px 22px rgba(26,78,128,.22)}.light .health-bonus-type-select-group+.health-bonus-type-select-group{border-top-color:#d3e2f1}.light .health-bonus-type-select-group-label{color:#5a7897}.light .health-bonus-type-select-option.is-active,.light .health-bonus-type-select-option:hover{background:#eaf3fe;border-color:#b6cee8}.light .health-bonus-type-select-option.is-selected{border-color:#d7ae57}.light .profile-hub{background:linear-gradient(180deg,rgba(247,251,255,.96),rgba(234,243,253,.98));border-color:#a9bfd8;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.94),0 10px 22px rgba(36,83,130,.12)}.light .profile-hub-note code{color:#17314b}.light .profile-selector-toggle{background:linear-gradient(180deg,#f8fcff,#ebf4ff);border-color:#8ca6c6;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.92),0 2px 8px rgba(34,78,122,.12);color:#163754}.light .profile-selector-toggle.is-selected,.light .profile-selector-toggle:hover{border-color:#c79a49}.light .profile-hub-label,.light .profile-hub-utility-text,.light .profile-selector-meta,.light .profile-selector-toggle-caret{color:#496680}.light .profile-selector-toggle-badge{background:rgba(214,174,87,.22);color:#5b3a00}.light .profile-selector-list{background:#f6fbff;border-color:#9fbad8;box-shadow:0 14px 28px rgba(26,78,128,.18)}.light .profile-selector-option-action:focus-visible,.light .profile-selector-option-action:hover{background:rgba(182,206,232,.45)}.light .profile-selector-option:focus-visible,.light .profile-selector-option:hover{background:#eaf3fe;border-color:#b6cee8}.light .profile-selector-option.is-selected{background:hsla(41,80%,76%,.2);border-color:#d7ae57}.light .profile-selector-count{background:#edf5ff;border-color:#b3c9e1;color:#17314b}.light .health-bonus-pill-value-wrap{color:#111}.light .siege-multiplier-value{background:linear-gradient(180deg,#eff7ff,#d6eafc);border-color:#3f80bd;color:#16466d}.light .siege-multiplier-help-section{background:linear-gradient(180deg,#f8fbff,#edf5ff);border-color:#b8cee6;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.92)}.light .siege-multiplier-value:hover{border-color:#255f96;filter:brightness(.98)}.light .siege-multiplier-value:focus{outline-color:#2e6ea5}.light .health-bonus-pill-suffix{color:#55657a}.light .separator{border-bottom:1px solid gray}.light .text-input{border:1px solid #8ca6c6}.light .text-input:read-only{background:linear-gradient(180deg,#f5f9ff,#e9f1fb)}.light .troop-count{background:var(--theme-status-success-bg);border:1px solid var(--theme-border);color:var(--theme-status-success-fg)}.light .troop-count-warning{background:var(--theme-status-warning-bg);color:var(--theme-status-warning-fg)}.light .alerted,.light .alerted-input{color:var(--theme-danger-fg)}.light .alerted-input{background-color:var(--theme-danger-bg)!important;border:2px solid var(--theme-danger-border)}.light .lad-display.alerted-input{background:linear-gradient(180deg,#fff2c4,#ffe8a1)!important;border:1px solid #cf7a00!important;box-shadow:0 0 0 2px rgba(207,122,0,.34),inset 0 1px 0 hsla(0,0%,100%,.78);color:#5a3400!important;font-weight:700}.light .report-squad-count,.light .report-squad-name{border-bottom:1px dotted var(--theme-divider)}.light .report-flag-icon{box-shadow:0 0 0 1px rgba(38,58,83,.24),0 0 8px rgba(62,124,185,.28),0 0 14px rgba(62,124,185,.18)}.light .report-flag-icon.troop-icon--role{box-shadow:0 0 0 1px rgba(36,76,119,.26),0 0 8px rgba(77,146,213,.34),0 0 14px rgba(77,146,213,.22)}.light .report-flag-icon.troop-icon--trait{box-shadow:0 0 0 1px rgba(92,52,132,.26),0 0 8px rgba(154,97,207,.34),0 0 14px rgba(154,97,207,.22)}.light .report-flag-icon.troop-icon--category{box-shadow:0 0 0 1px rgba(124,92,37,.24),0 0 8px rgba(208,154,67,.32),0 0 14px rgba(208,154,67,.2)}.light .modal-body,.light .modal-footer{background:var(--theme-modal-surface);color:var(--theme-text)}.light #update-history-accordion{border-color:var(--theme-border)}.light #collapseHistory{border:1px solid var(--theme-border);border-top:none}.light .summary{background:var(--theme-surface-2);color:var(--theme-text);filter:drop-shadow(5px 5px 6px gray)}.light .summary-accordion-header{background-color:var(--theme-surface-3)!important;border:0 solid #333;color:var(--theme-text)!important}.light .accordion-body{background-color:var(--theme-surface-1)}.light .summary .h6 strong,.light .summary strong{filter:drop-shadow(0 0 0 #eee)}.light .import-export-box:read-only{background:linear-gradient(180deg,#f5f9ff,#e9f1fb);color:#35516d}/* --- Local additions: inline battle-plan button + monster health fit --- */
.monster-health-hint{color:var(--theme-text-muted);font-size:78%;line-height:1.3;min-height:1.2em;margin-top:4px}
.lad-inline-report{align-items:center;display:none;flex-direction:column;justify-content:center;width:auto;min-width:230px}
.lad-inline-report .btn{white-space:nowrap}
@media screen and (min-width:980px){.lad-inline-report{display:flex}}
