/* Shared planner spacing and navigation refinements. */
#mode-load-status{color:#b9c7d2;font-size:13px;margin:20px 0}
#mode-retry{padding:10px 18px;border:1px solid #74899b;border-radius:6px;background:#263d50;color:#eef2f4;cursor:pointer}
.mode-card:disabled{opacity:.55;cursor:wait;transform:none}
.workflow{scroll-padding-inline:12px;scrollbar-width:none;gap:7px!important}
.workflow::-webkit-scrollbar{display:none}
.workflow-step{min-height:55px;min-width:125px;padding:12px!important}
.workflow-step>b{flex:none}
.planner-tools{padding:9px 16px!important;min-height:0!important}
.reset-selection-button{min-height:32px!important;padding:7px 12px!important;font-size:12px!important}
.game-heading{padding:14px 22px!important;gap:12px!important;min-height:0!important}
.game-heading h2{font-size:19px!important;margin:0!important}
.cost-head,.additional-cost-line{font-size:16px!important;line-height:1.5!important}
.wizard-panel{padding:20px!important}
.wizard-heading{padding:0!important;margin:0 0 18px!important}
.wizard-heading>.eyebrow{margin:0 0 5px!important;font-size:10px!important}
.wizard-heading>h2{font-size:22px!important;margin:0 0 7px!important}
.wizard-heading>p:last-child{margin:0!important;font-size:12px!important;color:#9eafbc}
.in-selection .page-title{margin:18px 0!important;padding:0!important}
.in-selection .page-title h1{font-size:25px!important;margin:0!important}
.in-selection .page-title .eyebrow,.in-selection .page-title .subtitle,.in-selection .data-stamp{display:none!important}
.skill-completed>.category-intro{padding:11px 14px!important}
.skill-completed>.category-intro>div{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex:1!important;width:100%!important;max-width:none!important}
.skill-completed .category-intro h3{font-size:14px!important}
.skill-completed .category-intro .change-button{margin-left:auto!important;min-height:34px!important;padding:7px 14px!important}
.skill-grade-icons{padding:9px 12px}
.skill-grade-row.empty-grade{min-height:50px}
.empty-grade .skill-grade-label{padding-top:8px;padding-bottom:8px;gap:4px}
.empty-grade .skill-grade-icons{padding-block:8px}
.wizard-navigation{padding:14px 20px!important;gap:10px!important}
.wizard-navigation>p{font-size:12px;line-height:1.5;margin:0 0 10px}
.wizard-nav-buttons{gap:10px}
.wizard-nav-buttons>button{min-height:42px!important}
@media(max-width:600px){
 main{padding-inline:12px!important}
 .in-selection .policy-scope{padding:9px 12px!important;margin-bottom:12px!important;font-size:10px!important}
 .in-selection .policy-scope small{display:none}
 .in-selection .page-title{margin:13px 0!important}
 .in-selection .page-title h1{font-size:20px!important}
 .mode-current{padding:10px 12px;margin-bottom:10px;font-size:12px}
 .mode-current button{font-size:11px}
 .workflow{margin-bottom:14px!important}
 .workflow-step{min-width:114px!important;padding:10px!important;min-height:48px}
 .workflow-step>span{font-size:11px!important}
 .planner-tools{padding:7px 10px!important}
 .game-heading{padding:12px!important}
 .game-heading h2{font-size:16px!important}
 .additional-cost-line{gap:7px!important;font-size:12px!important;display:flex!important;flex-direction:row!important;align-items:center!important}
 .cost-head{font-size:13px!important}
 .wizard-panel{padding:14px 10px!important}
 .wizard-heading{margin-bottom:13px!important}
 .wizard-heading>h2{font-size:19px!important}
 .skill-completed .category-intro{padding:9px 10px!important}
 .skill-completed .category-intro small{font-size:11px!important}
 .skill-grade-head,.skill-grade-row{grid-template-columns:78px minmax(0,1fr) minmax(0,1fr)}
 .skill-grade-row.empty-grade{min-height:46px}
 .empty-grade .skill-grade-label{padding:7px 6px}
 .empty-grade .skill-grade-label strong{font-size:11px}
 .empty-grade .skill-grade-label small{font-size:9px}
 .wizard-navigation{position:sticky;bottom:0;z-index:3;padding:10px 12px!important;background:#13212ff5;border-top:1px solid #40515e;backdrop-filter:blur(10px);padding-bottom:max(10px,env(safe-area-inset-bottom))!important}
 .wizard-navigation>p{font-size:10px;margin:0 0 7px!important}
 .wizard-nav-buttons{display:flex!important;justify-content:space-between;gap:9px}
 .wizard-nav-buttons>button{font-size:12px!important;padding:10px 14px!important;min-height:42px!important}
 .wizard-nav-buttons>button:last-child{margin-left:auto}
 .sim-footer{padding:10px 12px!important}
}
@media(prefers-reduced-motion:reduce){.mode-card{transition:none}.workflow{scroll-behavior:auto}}
.skill-completed .category-intro .change-button{margin:0 0 0 auto!important}
#wizard-items #category-rows{padding:0!important}@media(max-width:600px){.skill-grade-label small{white-space:nowrap;font-size:9px!important}}

/* Inactive wizard categories must stay hidden at every screen width. */
#wizard-items #category-rows>.category-row[hidden]{display:none!important}
.workflow #step-class{min-width:180px}
.workflow #step-class .workflow-class-pair{display:block!important;font-size:10px;line-height:1.4;color:#d8c490;margin-top:5px;white-space:nowrap;font-weight:400}
.wizard-heading:has(>.limit-guide-button){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 14px;align-items:center}
.wizard-heading>.eyebrow{grid-column:1}
.wizard-heading>h2{grid-column:1;grid-row:2}
.limit-guide-button{grid-column:2;grid-row:1/3;align-self:center;padding:9px 13px;border:1px solid #667f90;border-radius:5px;background:#213545;color:#dce6ee;font-size:12px;white-space:nowrap}
#limit-guide{width:min(620px,94vw);max-height:88dvh;padding:20px;border:1px solid #607181;border-radius:10px;background:#142330;color:#e6edf2}
#limit-guide>.dialog-heading{margin-bottom:8px;gap:14px}
#limit-guide-title{font-size:20px}
.limit-guide-caption{font-size:12px;color:#adbecb;line-height:1.6;margin:8px 0 18px}
#limit-guide-body{max-height:60dvh;overflow:auto;overscroll-behavior:contain}
.limit-guide-section{margin:0 0 20px}
.limit-guide-section h3{font-size:14px;color:#e3c785;margin:0 0 9px}
.limit-guide-section table{width:100%;border-collapse:collapse;font-size:13px}
.limit-guide-section th{background:#2a3e4d;color:#d4e0e8;text-align:left;padding:10px 13px}
.limit-guide-section td{padding:10px 13px;border-bottom:1px solid #354955}
.limit-guide-section th:last-child,.limit-guide-section td:last-child{width:125px;text-align:right;white-space:nowrap;color:#ecd08d}
.limit-guide-section td small{display:block;font-size:11px;color:#9db1bf;margin-top:3px}
#limit-guide>.target-footer{margin-top:12px;padding-bottom:0}
@media(max-width:600px){.workflow #step-class{min-width:160px!important}.workflow #step-class .workflow-class-pair{font-size:9px!important}.limit-guide-button{font-size:10px;padding:8px 9px}.wizard-heading:has(>.limit-guide-button){gap:0 6px}#limit-guide{padding:16px;width:94vw}#limit-guide-title{font-size:17px}.limit-guide-section th,.limit-guide-section td{padding:9px 10px}.limit-guide-section table{font-size:12px}}
/* Match the category menu direction to the surrounding layout. */
@media(min-width:701px){
 #picker .exchange-layout{align-items:start}
 #picker #slot-nav,#picker:has(.shop-owned-cell) #slot-nav{display:flex;flex-direction:column;flex-wrap:nowrap;align-self:start;align-items:stretch;gap:7px;min-width:0;width:100%;max-height:480px;overflow-y:auto;overflow-x:hidden;padding:0}
 #picker #slot-nav button,#picker:has(.shop-owned-cell) #slot-nav button{flex:0 0 auto;width:100%;max-width:100%;min-height:44px;height:auto;padding:10px 8px;white-space:normal;overflow-wrap:normal;word-break:keep-all;box-sizing:border-box}
}
@media(max-width:700px){
 #picker #slot-nav,#picker:has(.shop-owned-cell) #slot-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));flex-wrap:wrap;align-content:start;align-items:stretch;gap:7px;width:100%;min-width:0;max-height:none;overflow:visible;padding:0 0 12px}
 #picker #slot-nav button,#picker:has(.shop-owned-cell) #slot-nav button{width:100%;max-width:100%;min-width:0;min-height:44px;height:auto;padding:9px 6px;white-space:normal;overflow-wrap:normal;word-break:keep-all;box-sizing:border-box;font-size:11px}
}

/* PC equipment section header spans the full comparison width. */
@media(min-width:901px){
 #wizard-items .category-row:has(>.paired-comparisons),#review-rows .category-row:has(>.paired-comparisons){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important}
 #wizard-items .category-row:has(>.paired-comparisons)>.category-intro,#review-rows .category-row:has(>.paired-comparisons)>.category-intro{grid-column:1/-1!important;grid-row:auto!important;display:flex!important;align-items:center!important;width:100%!important;min-width:0!important;min-height:76px!important;height:auto!important;padding:16px 20px!important;margin:0!important;border:1px solid #55748b!important;border-radius:3px;background:#192e40}
 #wizard-items .category-row:has(>.paired-comparisons)>.category-intro>.category-icon,#review-rows .category-row:has(>.paired-comparisons)>.category-intro>.category-icon{display:none!important}
 #wizard-items .category-row:has(>.paired-comparisons)>.category-intro>div,#review-rows .category-row:has(>.paired-comparisons)>.category-intro>div{display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;flex:1!important;width:100%!important;min-width:0!important}
 #wizard-items .category-row:has(>.paired-comparisons) .category-intro h3,#review-rows .category-row:has(>.paired-comparisons) .category-intro h3{margin:0!important;text-align:left!important;white-space:nowrap!important;font-size:16px!important;word-break:keep-all;overflow-wrap:normal!important}
 #wizard-items .category-row:has(>.paired-comparisons) .category-intro small,#review-rows .category-row:has(>.paired-comparisons) .category-intro small{margin:0!important;white-space:nowrap!important;font-size:12px!important}
 #wizard-items .category-row:has(>.paired-comparisons) .category-intro .change-button{margin:0 0 0 auto!important;min-width:88px!important;white-space:nowrap!important;min-height:38px!important}
 #wizard-items .category-row>.paired-comparisons,#review-rows .category-row>.paired-comparisons{grid-column:1/-1!important;grid-row:auto!important;width:100%!important;min-width:0!important}
}
@media(min-width:901px){
 #skill-dialog.skill-planner-dialog{width:min(1280px,calc(100vw - 48px));max-width:calc(100vw - 48px)}
}
/* Final plan category headings and readable currency badges. */
#wizard-review #review-rows .category-row > .category-intro{padding:20px!important;border-bottom:1px solid #415766!important;background:#1b2c3a!important}
#wizard-review #review-rows .category-row > .category-intro > div{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:14px 20px!important;width:100%;min-width:0}
#wizard-review #review-rows .category-row .category-intro h3{display:block!important;font-size:24px!important;font-weight:800!important;line-height:1.4!important;margin:0!important;color:#f4e6ca;white-space:normal!important;word-break:keep-all}
#wizard-review #review-rows .category-intro small{display:flex!important;align-items:center;flex-wrap:wrap;gap:12px;margin:0!important;font-size:15px!important;white-space:normal!important}
#wizard-review .review-category-count{color:#c0d0dc;font-size:15px}
#wizard-review .review-category-cost{display:inline-flex;align-items:center;flex-wrap:wrap;gap:14px;padding:10px 16px;border:1px solid #b89b5f;border-radius:8px;background:#342e21;color:#f3dfaf;line-height:1.4}
#wizard-review .review-category-cost>span{font-size:15px;font-weight:700}
#wizard-review .review-category-cost>strong{font-size:26px;font-weight:800;color:#ffe2a0;font-variant-numeric:tabular-nums}
#wizard-review #review-rows .category-intro [data-image-save]{margin:0 0 0 auto!important;min-height:44px;font-size:14px}
@media(max-width:600px){
 #wizard-review #review-rows .category-row > .category-intro{padding:16px!important}
 #wizard-review #review-rows .category-row .category-intro h3{font-size:22px!important;flex-basis:100%}
 #wizard-review #review-rows .category-intro small{width:100%;gap:10px;font-size:14px!important}
 #wizard-review .review-category-count{font-size:14px}
 #wizard-review .review-category-cost{padding:10px 12px;gap:12px}
 #wizard-review .review-category-cost>strong{font-size:24px}
 #wizard-review #review-rows .category-intro [data-image-save]{margin:0!important}
}
/* Keep the currency badge beside its image-save action on every screen. */
#wizard-review #review-rows .category-intro .review-category-actions{display:flex;align-items:stretch;gap:10px;flex-wrap:nowrap;min-width:0}
#wizard-review #review-rows .category-intro .review-category-actions [data-image-save]{margin:0!important;flex:0 0 auto;align-self:stretch}
@media(max-width:600px){
 #wizard-review #review-rows .category-intro .review-category-actions{width:100%}
 #wizard-review #review-rows .review-category-actions .review-category-cost{flex:1;min-width:0;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;padding:8px 10px}
 #wizard-review #review-rows .review-category-actions [data-image-save]{padding:8px 10px!important;font-size:13px}
}
@media(min-width:601px){#wizard-review #review-rows .category-intro .review-category-actions{margin-left:auto!important;flex:0 0 auto}}

.mobile-selection-cost{display:none}
@media(max-width:600px){
 #wizard-items .category-intro>div:has(>[data-mobile-cost]){display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;align-items:center!important;gap:7px!important}
 #wizard-items .category-intro>div:has(>[data-mobile-cost])>h3{display:block!important;font-size:14px!important;line-height:1.4;white-space:normal!important;word-break:keep-all;margin:0!important}
 #wizard-items .category-intro>div:has(>[data-mobile-cost])>small{display:none!important}
 #wizard-items .category-intro .mobile-selection-cost{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;box-sizing:border-box;min-height:44px;padding:5px 9px;border:1px solid #b89b5f;border-radius:6px;background:#342e21;color:#f3dfaf;white-space:nowrap}
 #wizard-items .mobile-selection-cost>span{font-size:10px;font-weight:700}
 #wizard-items .mobile-selection-cost>b{font-size:18px;font-weight:800;line-height:1.2;color:#ffe2a0;font-variant-numeric:tabular-nums}
 #wizard-items .category-intro>div:has(>[data-mobile-cost])>.change-button{margin:0!important;min-width:0!important;min-height:44px!important;padding:8px 10px!important;white-space:nowrap!important}
}
@media(max-width:600px){#wizard-items .category-intro>div:has(>[data-mobile-cost])>h3{grid-column:1!important;grid-row:1!important}#wizard-items .category-intro [data-mobile-cost]{grid-column:2!important;grid-row:1!important}#wizard-items .category-intro>div:has(>[data-mobile-cost])>.change-button{grid-column:3!important;grid-row:1!important}}

@media(max-width:600px){#wizard-items .category-intro>div:has(>[data-mobile-cost]){grid-template-columns:minmax(0,1fr) 76px 76px!important}#wizard-items .category-intro [data-mobile-cost],#wizard-items .category-intro>div:has(>[data-mobile-cost])>.change-button{box-sizing:border-box!important;width:76px!important;min-width:76px!important;height:52px!important;min-height:52px!important;padding:5px!important;border-radius:6px!important}}

/* Independent action column keeps both item columns equally readable. */
@media(min-width:601px){
 body #wizard-items .separate-actions .exchange-pair{display:grid!important;grid-template-columns:minmax(0,1fr) 0 minmax(0,1fr) 132px!important;gap:0!important;padding:0!important;align-items:stretch!important;border-radius:0!important}
 body #wizard-items .separate-actions .exchange-pair .paired-before,body #wizard-items .separate-actions .exchange-pair .paired-after{display:block!important;min-width:0!important;width:auto!important;margin:0!important;padding:9px 10px!important;background:transparent!important}
 body #wizard-items .separate-actions .paired-before{grid-column:1!important}
 body #wizard-items .separate-actions .paired-after{grid-column:3!important}
 body #wizard-items .separate-actions .pair-arrow,body #wizard-items .separate-actions .portrait-state-toggle{display:none!important}
 body #wizard-items .separate-actions .comparison-item{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:9px!important;min-height:48px!important;padding:0!important}
 body #wizard-items .separate-actions .comparison-item>.tile{flex:0 0 42px!important;width:42px!important;min-width:42px!important;height:46px!important}
 body #wizard-items .separate-actions .comparison-item>div{min-width:0!important;flex:1!important}
 body #wizard-items .separate-actions .comparison-item strong{font-size:14px!important;line-height:1.45!important;word-break:keep-all;overflow-wrap:anywhere}
 #wizard-items .separate-actions .pair-heading{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 132px!important;padding:0!important}
 #wizard-items .separate-actions .pair-heading>span{padding:10px 6px}
 #wizard-items .separate-actions .selection-action-heading{border-left:1px solid #4d626f;color:#cbdce7!important}
 #wizard-items .selection-row-actions{grid-column:4;display:flex;align-items:center;justify-content:center;gap:6px;padding:7px 5px;background:#1c2c38;border-left:1px solid #4d626f;box-sizing:border-box}
 #wizard-items .selection-row-actions .item-exchange-cost{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;box-sizing:border-box;width:74px!important;min-width:74px!important;height:48px!important;padding:4px!important;margin:0!important;border:1px solid #ad9156;border-radius:6px;background:#342e21;white-space:nowrap}
 #wizard-items .selection-row-actions .item-exchange-cost small{font-size:10px!important;font-weight:600;color:#f3dfaf}
 #wizard-items .selection-row-actions .item-exchange-cost b{font-size:19px!important;font-weight:600;color:#ffe2a0}
 #wizard-items .selection-row-actions [data-remove]{position:static!important;transform:none!important;display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;width:42px!important;min-width:42px!important;height:48px!important;margin:0!important;padding:4px!important;border:1px solid #ed7d86;border-radius:6px;background:#702d39;color:#fff1f2;font-size:0!important;white-space:nowrap}
 #wizard-items .selection-row-actions [data-remove]::after{content:'삭제';font-size:13px;font-weight:700}
 #wizard-items .selection-row-actions [data-remove]:hover{background:#913b48}
 #wizard-items .selection-row-actions [data-remove]:focus-visible{outline:2px solid #fff1f2;outline-offset:2px}
}
@media(min-width:601px) and (max-width:800px){
 body #wizard-items .separate-actions .exchange-pair .comparison-item{flex-direction:column!important;gap:5px!important;text-align:center;min-height:62px!important}
 body #wizard-items .separate-actions .comparison-item strong{font-size:12px!important}
 body #wizard-items .separate-actions .exchange-pair .paired-before,body #wizard-items .separate-actions .exchange-pair .paired-after{padding:7px!important}
}
/* Quantity editing in the actual equipment picker. */
#picker .draft-result-summary{display:block;margin:5px 0;color:#e4d0a4;font-size:12px;font-weight:500}
#picker [data-edit-draft]{min-height:32px;padding:4px 8px;margin-top:3px;font-size:12px}
#picker [data-shop-variant]{font-size:12px;min-height:32px;align-self:flex-start;padding:5px 0;text-align:left}
#picker .shop-item-controls select[data-item-quantity]{min-width:66px}
@media(max-width:600px){#picker .shop-item-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}#picker .shop-item-controls>.gold-button{grid-column:1/-1!important}#picker .staged-result>div{min-width:0}#picker .draft-result-summary{font-size:11px}}#picker .quantity-owned-cell{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:9px!important;padding:12px!important;min-width:0}
#picker .quantity-owned-cell .shop-item-heading{display:flex!important;align-items:center!important;gap:9px!important;min-width:0}
#picker .quantity-owned-cell .shop-item-controls{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 58px!important;gap:8px!important;align-items:center!important}
#picker .quantity-owned-cell .shop-item-controls label{display:flex!important;align-items:center;gap:5px;min-width:0;width:100%}
#picker .quantity-owned-cell .shop-item-controls label>span{font-size:11px!important;white-space:nowrap;position:static;width:auto;height:auto;clip:auto;margin:0}
#picker .quantity-owned-cell .shop-item-controls select{display:block!important;flex:1!important;min-width:0!important;max-width:76px!important;width:100%!important;min-height:38px!important}
#picker .quantity-owned-cell .item-enhance{grid-column:1!important;grid-row:1!important}
#picker .quantity-owned-cell .shop-quantity{grid-column:2!important;grid-row:1!important}
#picker .quantity-owned-cell .shop-item-controls .gold-button{grid-column:3!important;grid-row:1!important;width:58px!important;min-width:0!important;min-height:38px!important}
#picker .quantity-owned-cell [data-shop-variant]{width:100%!important;white-space:normal!important;word-break:keep-all;min-width:0;font-size:12px;line-height:1.4}
@media(max-width:600px){
 #picker .quantity-owned-cell .shop-item-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
 #picker .quantity-owned-cell .shop-item-controls .gold-button{grid-column:1/-1!important;grid-row:2!important;width:100%!important;min-height:40px!important}
 #picker .quantity-owned-cell .shop-item-controls select{max-width:none!important;min-height:40px!important}
}
/* Dedicated ordinary-equipment editor, independent of shop layout rules. */
body #picker .equipment-quantity-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:stretch!important;gap:0!important;margin-bottom:10px;border:1px solid #405766}
body #picker .owned-cell.equipment-owned-cell.equipment-editor{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;min-width:0!important;gap:12px!important;min-height:0!important;padding:14px!important;background:#172b3b}
body #picker .equipment-editor .equipment-item-heading{display:flex!important;align-items:center!important;gap:10px!important;min-width:0}
body #picker .equipment-editor .equipment-item-heading>.tile{flex:0 0 36px!important;width:36px!important;min-width:36px!important;height:40px!important}
body #picker .equipment-editor .equipment-item-heading>strong{font-size:13px!important;line-height:1.5!important;word-break:keep-all;overflow-wrap:anywhere}
body #picker .equipment-editor .equipment-item-controls{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 92px!important;align-items:end!important;gap:10px!important;min-width:0}
body #picker .equipment-editor .equipment-item-controls>label{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:5px!important;min-width:0!important;width:auto!important;margin:0!important}
body #picker .equipment-editor .equipment-item-controls>label>span{position:static!important;display:block!important;width:auto!important;height:auto!important;clip:auto!important;overflow:visible!important;margin:0!important;color:#b9ccd9;font-size:12px!important;white-space:nowrap}
body #picker .equipment-editor .equipment-item-controls select{display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;height:40px!important;min-height:40px!important;padding:6px 9px!important;background:#0e1c28;border:1px solid #627e91;border-radius:5px;color:#f4e5bd;font-size:14px!important}
body #picker .equipment-editor .equipment-item-controls>.gold-button{grid-column:3!important;grid-row:1!important;align-self:end!important;box-sizing:border-box!important;width:92px!important;min-width:0!important;height:40px!important;min-height:40px!important;margin:0!important;padding:6px 8px!important;font-size:13px!important;white-space:nowrap}
body #picker .equipment-editor>.equipment-add-button{box-sizing:border-box!important;display:block!important;width:100%!important;min-height:36px!important;padding:7px 10px!important;border:1px solid #5b819a;border-radius:5px;background:#1d3c50;color:#d7edfa;font-size:12px!important;text-align:center!important;white-space:normal!important;cursor:pointer}
body #picker .equipment-editor>.equipment-add-button:hover{background:#28516a}
body #picker .equipment-quantity-row>.result-cell{min-width:0;padding:12px!important;background:#101e2a}
body #picker .equipment-quantity-row .staged-result{display:flex!important;align-items:center!important;gap:10px!important;min-width:0;padding:9px 0!important}
body #picker .equipment-quantity-row .staged-result>.tile{flex:0 0 36px!important;width:36px!important;min-width:36px!important;height:40px!important}
body #picker .equipment-quantity-row .staged-result>div{min-width:0;flex:1!important}
body #picker .equipment-quantity-row .staged-result strong{font-size:13px!important;line-height:1.5!important;overflow-wrap:anywhere}
body #picker .equipment-quantity-row .staged-result .remove-button{position:static!important;flex:0 0 30px!important;width:30px!important;height:32px!important;min-width:30px!important;margin:0!important}
#target-picker .target-edit-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;margin-bottom:16px;border:1px solid #4e6a7d;border-radius:6px;background:#182e3f}
#target-picker .target-edit-controls>strong{grid-column:1/-1;font-size:15px;line-height:1.5;color:#f0d8a7}
#target-picker .target-edit-controls>label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:12px;color:#bed1de}
#target-picker .target-edit-controls select{box-sizing:border-box;width:100%;min-width:0;height:42px;padding:6px 10px;border:1px solid #6c8596;border-radius:5px;background:#0f202e;color:#f5e7c8;font:inherit;font-size:15px}
@media(max-width:900px){body #picker .equipment-quantity-row{grid-template-columns:minmax(0,1fr)!important}body #picker .equipment-quantity-row>.result-cell{border-top:1px solid #405766}body #picker .equipment-editor .equipment-item-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 92px!important}}
@media(max-width:380px){body #picker .equipment-editor .equipment-item-controls{gap:7px!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 82px!important}body #picker .equipment-editor .equipment-item-controls>.gold-button{width:82px!important}}