.research-controls{display:flex;align-items:end;flex-wrap:wrap;gap:14px;margin:16px 0}.research-controls>label:first-child{min-width:145px}.research-controls select{margin-top:5px}.research-controls .research-history{display:flex;align-items:center;gap:8px;flex:1;min-width:220px;font-size:13px}.research-controls .research-history input{width:auto}
.research-row{align-items:flex-start;gap:18px;border-left:3px solid #b7b58a;padding-left:12px}.research-row .iteminfo{flex:1;min-width:0}.research-row .item-name{display:block;text-align:left;white-space:normal;overflow-wrap:anywhere;padding:0;font-weight:700;color:#254c3e;background:transparent;border:0}.research-row small{display:block;color:#68725f;overflow-wrap:anywhere;margin-top:5px}.research-badge{display:inline-block;font-size:12px;font-weight:700;border-radius:12px;background:#eeeddb;color:#53592f;padding:3px 9px;margin-top:7px}.research-row-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex-shrink:0}.research-row-actions button{min-height:44px}.research-category .category-total{font-size:12px;color:#68725f}
.research-group{margin:16px 0}.research-group>summary{display:flex;align-items:center;gap:10px;padding:16px;background:#ecede1;border-radius:10px;cursor:pointer}.research-group h3{margin:0;flex:1;font-size:16px}.research-group .category-count{font-size:12px}.research-items{padding:0 4px}
.research-form fieldset,#research-purchase-form fieldset{border:1px solid #dce0d0;border-radius:12px;padding:16px;margin:14px 0;min-width:0}.research-form fieldset legend,#research-purchase-form legend{font-weight:700}.research-form input,.research-form textarea,.research-form select,#research-purchase-form input,#research-purchase-form select,#research-purchase-form textarea{max-width:100%;box-sizing:border-box}.research-form textarea{resize:vertical}.research-form select[multiple]{min-height:110px}.research-form .actions{margin-top:16px}.research-form [role=alert],#research-error{color:#943e22;white-space:pre-wrap}#research-purchase-form [hidden]{display:none!important}#research-purchase-form label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px}#research-purchase-form input[type=checkbox]{width:auto}
@media(max-width:600px){.research-row{gap:10px;flex-wrap:wrap}.research-row .iteminfo{flex-basis:100%}.research-row-actions{flex-direction:row;align-items:center;width:100%}.research-row .item-name{font-size:16px}.research-controls .research-history{flex-basis:100%}.research-form .fields,#research-purchase-form .fields{grid-template-columns:1fr}.research-form fieldset,#research-purchase-form fieldset{padding:12px}.research-form button,#research-purchase-form button{min-height:44px}.research-form .full-field,#research-purchase-form .full-field{grid-column:auto}}
