.catalog-toolbar{padding-left:0;margin-bottom:18px}.catalog-summary{display:flex;justify-content:space-between;gap:15px;font-size:.85rem;color:var(--muted);margin:0 0 20px;line-height:1.5}.code-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.favorite-button{font-size:1.65rem;line-height:1;min-width:36px;min-height:36px;display:inline-flex;align-items:center;justify-content:center;color:#798a80;border-radius:6px;flex-shrink:0}.favorite-button:hover{background:#f6f0df}.favorite-button.is-favorite{color:#9a7420}.code-area{white-space:normal}.archived-card{background:#f5f7f5}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-top:24px;font-size:.88rem;color:var(--muted)}.code-picker{margin-bottom:24px;padding-bottom:22px;border-bottom:1px solid var(--line)}.code-picker>.field{margin-bottom:9px}.picker-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}.picker-controls select{max-width:235px;font-size:.85rem}.picker-modes{display:flex;gap:5px}.picker-modes button{padding:7px 10px;font-size:.85rem;border-radius:5px;color:var(--muted)}.picker-modes button.active{background:#e8f1e9;color:var(--green);font-weight:600}.code-results{margin-top:12px;max-height:300px;overflow-y:auto;border:1px solid var(--line);border-radius:8px}.code-result{display:flex;gap:7px;padding:5px 10px 5px 5px;border-bottom:1px solid var(--line);align-items:flex-start;background:white}.code-result:last-child{border-bottom:0}.code-result:focus-within,.code-result:hover{background:#f2f7f1}.code-result-select{flex:1;text-align:left;padding:10px;min-width:0;display:grid;gap:5px;border-radius:5px}.code-result-select strong{font-size:.95rem;line-height:1.45;font-weight:600}.code-result-select small{font-size:.82rem;color:var(--muted);line-height:1.4}.result-description{font-size:.85rem;color:var(--muted);line-height:1.5}.code-result .favorite-button{margin-top:6px}.code-result-count{margin-top:10px}.picker-empty{padding:20px;color:var(--muted);font-size:.9rem;line-height:1.6}.picker-create{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:15px;font-size:.85rem;color:var(--muted)}.picker-create .text-btn{font-size:.88rem}.selected-code-card{border:1px solid #94b69f;border-radius:8px;background:#f0f7ef;padding:17px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.selected-code-card h3{font-size:1rem;margin:7px 0}.selected-code-card p{font-size:.88rem;line-height:1.5;color:var(--muted);margin-bottom:9px}.selected-code-card small{font-size:.82rem;color:var(--muted)}.field-error{font-size:.88rem;color:#a03a34;line-height:1.6;margin:12px 0}.similar-warning{padding:15px;background:#fcf7e9;border:1px solid #e3d5ac;border-radius:7px;font-size:.88rem;margin-bottom:20px;line-height:1.6;color:#756130}.similar-warning ul{padding-left:20px;margin:10px 0}.similar-confirm{display:flex;gap:9px;align-items:flex-start;margin-top:12px}.similar-confirm input{margin-top:6px;flex-shrink:0}#code-result-count{margin-top:10px}.code-card .code-link{overflow-wrap:anywhere}#code-dialog{max-height:90vh}@media(max-width:760px){.catalog-summary{flex-direction:column;gap:5px}.picker-create{align-items:flex-start;flex-direction:column}.picker-controls select{max-width:100%;width:100%}.code-results{max-height:260px}.selected-code-card{padding:13px}.catalog-toolbar{gap:19px}.catalog-toolbar button{font-size:.85rem}}
