/* personnel-4: content-sized tables and matching row backgrounds. */
.personnel-unit-badge img{filter:none!important;opacity:1}
.personnel-unlock-details{border:1px solid #607b88;padding:10px 12px;font-size:12px;line-height:1.85;margin:10px 0}.personnel-unlock-details>summary{color:#d4c592;cursor:pointer}.personnel-unlock-details p{margin:9px 0;color:#c4d3dc}.personnel-unlock-details>details{border-top:1px solid #4b6573;padding-top:8px;margin-top:10px}.personnel-unlock-details details summary{cursor:pointer;color:#adc8d6}.personnel-unlock-details table{width:100%;table-layout:fixed;min-width:0}.personnel-unlock-details :is(th,td){min-width:0;white-space:normal;padding:8px 6px;font-size:12px;overflow-wrap:anywhere}.personnel-unlock-details code{overflow-wrap:anywhere;font-size:10px}.skill-range-bands{display:flex;flex-wrap:wrap;gap:5px;margin:9px 0}.skill-range-bands>span{padding:4px 7px;background:rgba(53,79,90,.7);border:1px solid #5d7984;font-size:11px}.skill-range-bands strong{color:#b9d4bb;font-weight:500}
.compact-compare-table{width:100%!important;min-width:0!important;table-layout:fixed;border-collapse:collapse}
.compact-compare-table :is(th,td){min-width:0!important;max-width:none!important;width:auto!important;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;padding:9px 5px!important;vertical-align:middle;line-height:1.6;font-size:clamp(10px,.84vw,13px)!important}
.compact-compare-table thead th{letter-spacing:0;font-size:clamp(10px,.76vw,12px)!important;position:static}
.compact-compare-table thead tr{background:rgba(24,44,57,.88)}
.compact-compare-table thead th{background:transparent!important}
.compact-compare-table thead button{font-size:inherit;line-height:1.5;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere;gap:2px;padding:3px 0;justify-content:center}
.compact-compare-table .catalog-sort-triangles{flex:0 0 8px}.compact-compare-table .catalog-sort-triangles i{font-size:6px}
.compact-compare-table :is(.catalog-name-column,.catalog-name-cell,.personnel-table-name){min-width:0!important;width:auto!important;max-width:100%}
.compact-compare-table .catalog-name-cell a{min-width:0;max-width:100%;overflow-wrap:anywhere}
.compact-compare-table .catalog-name-cell img{width:100%!important;max-width:125px;height:58px!important;object-fit:contain}
.compact-compare-table .catalog-name-cell strong{font-size:clamp(10px,.9vw,13px)!important;white-space:normal!important}
.compact-compare-table .catalog-name-variant{font-size:10px;white-space:normal}
.compact-compare-table :is(.col-effects,.col-negative,.col-summary){text-align:left}
.compact-compare-table .catalog-effect-values{display:flex;gap:3px;flex-wrap:wrap}
.compact-compare-table .catalog-effect-values>div{min-width:0;max-width:100%;padding:3px;font-size:inherit}
.compact-compare-table .catalog-source-brief{max-width:100%;min-width:0;gap:3px 5px}.compact-compare-table .catalog-source-brief a{white-space:normal;font-size:inherit}
.compact-compare-table .catalog-game-tags{display:flex;flex-wrap:wrap;gap:2px}.compact-compare-table .catalog-game-tag{font-size:inherit;white-space:normal;padding:1px}
.compact-compare-table .catalog-terrain-secondary{font-size:inherit}.compact-compare-table small{white-space:normal!important;max-width:100%;overflow-wrap:anywhere}
.compact-compare-table .personnel-table-name{gap:6px;align-items:center;text-decoration:none}
.compact-compare-table .personnel-table-name img{width:38px;height:45px;flex:0 0 38px}
.compact-compare-table .personnel-table-name strong{font-size:inherit;color:#e8edef;font-weight:500}
.compact-compare-table .personnel-stars{display:block;font-size:10px!important;letter-spacing:0;margin-top:3px;line-height:1.6}
.compact-compare-table .personnel-stars>span{font-size:9px;color:#98bdc5;letter-spacing:0}
.compact-compare-table .personnel-unit-badge img{width:42px;height:42px}
.npc-table .personnel-npc-description{max-height:none;overflow:visible;white-space:normal;font-size:12px;line-height:1.85}
.personnel-combat-table tbody tr:nth-child(odd){background:rgba(32,51,64,.8)}.personnel-combat-table tbody tr:nth-child(even){background:rgba(49,67,80,.8)}
.personnel-combat-table tbody tr:hover{background:rgba(63,83,96,.88)}
#characters-content .personnel-combat-table tbody tr>th:first-child,#characters-content .personnel-combat-table tbody tr>td{background:inherit!important;box-shadow:none!important}
.personnel-table-wrap,.catalog-table-wrap{max-height:none!important;border:1px solid #4d6675}
.personnel-simple-controls{gap:9px;padding:12px;justify-content:space-between}.personnel-simple-controls .personnel-segments{flex:0 1 auto}.personnel-simple-controls .personnel-segments button{padding:8px 12px;min-width:0;font-size:12px}.personnel-result-count{margin:0}
.catalog-results-actions,.catalog-results-bar,.equipment-directory-heading,.personnel-compare-heading{gap:10px}
.catalog-equipment-table .col-tags .tcr-note-anchor{max-width:100%}
#view-compare .table-wrap{max-width:100%;overflow:auto}
#view-compare table{table-layout:fixed;width:100%!important;min-width:0!important}
#view-compare table :is(th,td){min-width:0!important;max-width:100%;overflow-wrap:anywhere;white-space:normal;padding:9px 7px;font-size:12px;line-height:1.65}
#view-compare table th:first-child{width:23%}
#view-compare table small{white-space:normal;max-width:100%;overflow-wrap:anywhere}
.mode-data-grid>div,.equipment-stat-grid>div{min-width:0;min-height:0}.mode-data-grid :is(dt,dd),.equipment-stat-grid :is(dt,dd){overflow-wrap:anywhere;white-space:normal}
.equipment-mode-body .mode-operation-layout{align-items:start}.equipment-summary{align-items:start}.catalog-card-vitals>div{min-width:0}
.skill-range-footprint{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:14px;margin:10px 0;border:1px solid #536d7c;background:rgba(20,42,55,.5)}
.skill-range-copy{flex:1;min-width:0;font-size:12px;line-height:1.8;color:#c2d3dd}.skill-range-copy h4{font-size:14px;margin:0 0 8px;color:#dfd2a5}.skill-range-copy p{margin:5px 0}.skill-range-copy small{font-size:10px;color:#a9c1ce;display:block;line-height:1.8}.skill-range-copy .footprint-metrics{display:flex;flex-wrap:wrap;gap:7px 17px;margin:9px 0}.skill-range-copy .footprint-metrics div{min-width:0}.skill-range-copy dt{font-size:10px}.skill-range-copy dd{font-size:16px;color:#e0ce97;margin:0}
.skill-range-visual{flex:0 1 260px;min-width:0;max-width:48%;margin:0}.skill-range-grid{display:block;width:100%;height:auto;max-height:285px;margin:0 auto}.skill-range-grid rect{fill:#213441;stroke:#405967;stroke-width:.7}.skill-range-grid rect.active{fill:#365c67;stroke:#86b3bb}.skill-range-grid rect.center{fill:#254f74;stroke:#c7dcf0;stroke-width:1.2}.skill-range-grid rect.example{fill:#4b6750;stroke:#bfd2a2}.skill-range-grid rect.boundary{fill:#665735;stroke:#d5c38f;stroke-dasharray:2 1}.skill-range-grid .grid-cross{stroke:#e7f1fa;stroke-width:1.6}.skill-range-legend{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:6px;font-size:10px;color:#b5cbd5}.skill-range-legend i{display:inline-block;width:8px;height:8px;background:#365c67;border:1px solid #86b3bb;margin-right:4px}.skill-range-legend .range-center-key{background:#254f74;border-color:#c7dcf0}.skill-range-legend .range-boundary-key{background:#665735;border-color:#d5c38f}
.skill-range-settings{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:11px;margin:8px 0}.skill-range-settings input{width:65px;min-width:0;background:#183243;color:#dce9ee;border:1px solid #758d96;font:inherit;padding:5px}.skill-range-unresolved{color:#d9bb89}
.personnel-detail-hero,.personnel-skill-layout{gap:20px}.personnel-base .personnel-promotion-summary{margin:14px 0}.personnel-service-stats{gap:8px 14px}.personnel-perk-tree,.personnel-tier,.personnel-tier-cards{min-width:0}.personnel-tier-cards{gap:10px;padding:13px}.personnel-perk{padding:9px;gap:9px;min-width:0;flex-basis:calc((100% - 20px)/3)}
@media(min-width:761px) and (max-width:1120px){.compact-compare-table .personnel-table-name{display:block;text-align:center}.compact-compare-table .personnel-table-name img{margin:0 auto 5px}.compact-compare-table :is(th,td){padding:7px 3px!important;font-size:10px!important}.personnel-perk{flex-basis:calc((100% - 10px)/2)}}
@media(max-width:1000px){
 .personnel-simple-controls{display:flex;justify-content:flex-start;gap:8px}.personnel-simple-controls .personnel-segments{flex:1 1 auto;display:flex}.personnel-simple-controls .personnel-segments button{flex:1;padding:8px 9px;min-height:40px;white-space:nowrap}.personnel-result-count{font-size:11px}
 .compact-compare-table,.compact-compare-table thead,.compact-compare-table tbody{display:block;table-layout:auto;width:100%!important;min-width:0!important;max-width:100%}
 .compact-compare-table colgroup{display:none}.personnel-table-wrap:has(.compact-compare-table),.catalog-table-wrap:has(.compact-compare-table){overflow:visible!important;max-height:none!important;border:0}.personnel-table-wrap:before,.catalog-table-wrap:before{display:none!important}
 .compact-compare-wrap{overflow:visible!important;max-height:none!important;border:0}
 .compact-compare-table thead{margin-bottom:10px;background:rgba(28,48,61,.7);border:1px solid #526d7b;padding:7px;box-sizing:border-box}
 .compact-compare-table thead tr{display:flex;gap:5px;flex-wrap:wrap;background:transparent}
 .compact-compare-table thead th,.compact-compare-table thead th:first-child{position:static!important;display:inline-flex;flex:0 1 auto;align-items:center;justify-content:center;background:transparent!important;font-size:10px!important;padding:2px 4px!important;min-width:0!important;width:auto!important;border:0}
 .compact-compare-table thead button{display:inline-flex;gap:4px;align-items:center;min-height:32px!important;padding:5px 7px!important;border:1px solid #647c88;background:rgba(27,49,63,.8);border-radius:2px;line-height:1.4;color:inherit}
 .compact-compare-table thead th:not(:has(button)){color:#9eb7c5;padding:5px!important}
 .compact-compare-table tbody{display:flex;flex-direction:column;gap:10px}
 .compact-compare-table tbody tr{display:flex;flex-wrap:wrap;gap:0;border:1px solid #536c7b;border-radius:3px;overflow:hidden;padding:0;box-sizing:border-box;width:100%}
 .compact-compare-table tbody tr>:is(th,td){display:flex;flex-direction:column;align-items:flex-start;justify-content:center;position:static!important;flex:1 1 calc(33.333% - 2px);box-sizing:border-box;padding:9px!important;min-width:0!important;width:auto!important;max-width:100%!important;border:0;border-top:1px solid #486170;font-size:14px!important;line-height:1.6;word-break:break-word}
 .compact-compare-table tbody tr>td:before{content:attr(data-label);display:block;width:100%;font-size:10px;line-height:1.5;margin-bottom:4px;color:#b0c5d0;overflow-wrap:anywhere;font-weight:400}
 .compact-compare-table tbody tr>th:first-child{flex:1 1 100%;border:0!important;background:inherit!important;box-shadow:none!important;left:auto!important;z-index:auto}
 .compact-compare-table .catalog-name-cell a{display:flex;gap:12px;align-items:center;width:100%;text-align:left;min-width:0}.compact-compare-table .catalog-name-cell img{width:95px!important;height:54px!important;max-width:30%;margin:0!important;flex:0 0 95px}.compact-compare-table .catalog-name-cell strong{font-size:14px!important;line-height:1.7}.compact-compare-table .catalog-name-variant{font-size:11px}
 .compact-compare-table .personnel-table-name{display:flex;width:100%;min-width:0;gap:12px}.compact-compare-table .personnel-table-name img{width:43px;height:49px;flex:0 0 43px}.compact-compare-table .personnel-table-name strong{font-size:16px}.compact-compare-table .personnel-stars{font-size:10px!important;margin:2px 0 0}
 .compact-compare-table tbody tr>.personnel-table-source{flex:3 1 180px;font-size:12px!important;line-height:1.8}
 .npc-table tbody tr>.npc-intro-cell{flex:1 1 100%;font-size:12px!important}.npc-table .personnel-npc-description{font-size:12px;line-height:1.9}
 .compact-compare-table tbody tr>.personnel-unit-badge{align-items:flex-start;text-align:left}.compact-compare-table .personnel-unit-badge img{width:37px;height:37px;margin:0}
 .compact-compare-table tbody tr>:is(.col-effects,.col-negative,.col-summary){flex:1 1 100%;font-size:12px!important;line-height:1.8}
 .compact-compare-table tbody tr>.col-acquisition{flex:2 1 180px;font-size:12px!important}.compact-compare-table tbody tr>.col-tags{flex:1 1 100%;font-size:11px!important}
 .compact-compare-table .catalog-source-brief{gap:6px 12px;max-width:100%}.compact-compare-table .catalog-game-tags{display:flex;flex-wrap:wrap}.compact-compare-table .catalog-game-tag{font-size:11px;line-height:1.6}.compact-compare-table .catalog-terrain-secondary{font-size:12px!important}
 #view-compare table th:first-child{width:25%}#view-compare table :is(th,td){padding:7px 4px;font-size:11px;line-height:1.65}#view-compare table .compare-delta{font-size:9px;white-space:normal}
 .skill-range-footprint{padding:11px;gap:12px;align-items:center;flex-wrap:wrap}.skill-range-copy{flex:1 1 100%;font-size:12px}.skill-range-visual{flex:1 1 100%;max-width:100%;width:100%}.skill-range-grid{max-width:260px;max-height:260px}.skill-range-copy h4{font-size:14px}.skill-range-settings input{font-size:14px!important;min-height:32px}
 .personnel-perk{flex-basis:100%}.personnel-tier-cards{padding:9px;gap:9px}.personnel-detail-hero{gap:14px}.personnel-attributes{grid-template-columns:repeat(3,minmax(0,1fr))}.equipment-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.mode-data-grid{gap:5px}.personnel-service-stats{grid-template-columns:1fr}.personnel-growth .table-wrap{margin:9px 0}.personnel-planner{margin:0 0 12px}.personnel-gallery{gap:12px}
}
