/* Common-code per-category administration (scoped to basic management only) */
.le55-common-code-view{padding:12px 4px 16px!important}
.le55-code-title{display:flex;align-items:start;justify-content:space-between;gap:18px;margin:0 0 15px}
.le55-code-title h3{margin:0 0 4px;font-size:18px;color:#143d60}
.le55-code-title p,.le55-code-status p{margin:3px 0;font-size:12px;color:#60748b}
.le55-code-layout{display:grid;grid-template-columns:minmax(190px,240px) minmax(0,1fr);gap:12px}
.le55-code-categories{background:#f4f7fc;border:1px solid #dbe5ef;border-radius:8px;padding:7px;max-height:75vh;overflow:auto}
.le55-code-categories section{margin:7px 0 14px}
.le55-code-categories strong{display:block;color:#445b71;padding:6px 8px;font-size:12px}
.le55-code-categories button{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;border-radius:5px;background:transparent;padding:8px;text-align:left;cursor:pointer;font-size:12px;color:#23415a}
.le55-code-categories button.on{background:#d9e8f9;font-weight:700;color:#123e6b}
.le55-code-categories button:hover{background:#e0ebf7}
.le55-code-categories small{background:#e3e9f0;border-radius:8px;padding:2px 6px;color:#526980}
.le55-code-main{border:1px solid #d7e1ed;background:#fff;border-radius:8px;padding:12px;min-width:0}
.le55-code-status{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}
.le55-code-status h4{font-size:16px;color:#173b5a;margin:0}
.le55-status{background:#e2efff;color:#1b568b;font-size:11px;padding:5px 9px;border-radius:10px}
.le55-status.readonly{background:#eee;color:#666}
.le55-code-warning{padding:9px 11px;border-radius:6px;background:#fff5e9;color:#8a5100;font-size:12px}
.le55-code-create{display:flex;gap:8px;align-items:flex-end;background:#f4f8fd;padding:10px;margin:12px 0;border-radius:6px}
.le55-code-create label{flex:1;font-size:12px;font-weight:600}
.le55-code-create input,.le55-code-filters input,.le55-code-filters select{display:block;max-width:100%;width:100%;border:1px solid #c8d7e5;border-radius:5px;background:#fff;padding:8px;font:inherit;margin-top:4px}
.le55-code-filters{display:grid;grid-template-columns:1fr minmax(125px,185px);gap:9px;margin:10px 0}
.le55-code-filters label{font-size:12px;color:#45566b}
.le55-code-table{max-height:51vh;overflow:auto;border:1px solid #d7e3ec;border-radius:6px}
.le55-code-table table{width:100%;border-collapse:collapse;font-size:12px;min-width:520px}
.le55-code-table th,.le55-code-table td{padding:9px 10px;border-bottom:1px solid #ebeff4;text-align:left}
.le55-code-table th{position:sticky;top:0;background:#f2f6fa;z-index:1}
.le55-code-actions{white-space:nowrap}
.le55-code-actions button{margin:1px 3px 1px 0;font-size:11px}
.le55-code-foot{font-size:11px;color:#5c6c7e;background:#f5f8fc;padding:9px;border-radius:6px;line-height:1.6}
.le55-code-msg{font-size:12px;color:#184d78}
@media(max-width:780px){.le55-code-layout{grid-template-columns:1fr}.le55-code-categories{max-height:170px;overflow:auto}.le55-code-title{flex-wrap:wrap}.le55-code-filters{grid-template-columns:1fr 130px}}
/* V5.49.64 visually distinguished common-code management */
.le55-code-title{background:#e6eef9;border-left:5px solid #174c81;padding:13px 16px;border-radius:7px}
.le55-code-title h3{font-size:20px!important;font-weight:850!important}
.le64-code-mid{display:flex;justify-content:space-between;align-items:center;background:#1e5d91;color:#fff;padding:10px 15px;border-radius:7px;margin-bottom:12px}
.le64-code-mid h4{font-size:17px!important;color:#fff!important;margin:0;font-weight:850}
.le64-code-mid small{color:#e6f2ff}
.le55-code-create{display:flex!important;align-items:end;gap:10px;margin:12px 0 17px!important}
.le55-code-create label{flex:1;min-width:0;font-weight:800}
.le55-code-create input{width:100%;display:block;margin-top:5px}
.le55-code-create button{height:38px;white-space:nowrap}
.le55-code-table{overflow:auto}
.le55-code-table table{width:100%;border-collapse:collapse}
.le55-code-table th{background:#dce9f7;color:#1d4267;font-size:13px;font-weight:800}
.le55-code-table td,.le55-code-table th{padding:9px;border:1px solid #d9e5ef}
.le55-code-table tr:hover{background:#f2f7fd}
.le64-code-status.on{background:#08784d!important;color:#fff!important;border-color:#08784d!important}
.le64-code-status.off{background:#64748b!important;color:#fff!important}
.le64-code-edit{background:#2165aa!important;color:white!important}
.le64-code-delete{background:#b43c37!important;color:white!important}
.le64-methods{margin-top:15px;border:1px solid #dae5f0;border-radius:7px;padding:12px}
.le64-methods h4{font-size:15px;color:#164e7b;margin:0 0 8px}
.le64-methods table{border-collapse:collapse;width:100%;font-size:12px}
.le64-methods th,.le64-methods td{border:1px solid #d6e3ef;padding:7px}
.le64-help{font-size:12px;color:#36546d;background:#f3f7fb;padding:9px;border-radius:6px}
