/* NewlineWork KcLep 365: layered modern menu catalog, scoped under .kc-catalog */
.kc-catalog{min-width:0;margin-top:12px;font-family:inherit}
.kc-catalog *{box-sizing:border-box}
.kc-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px;padding:20px 24px;border-radius:18px;background:linear-gradient(110deg,#116ac4,#417bc3 55%,#72ade8);color:#fff}
.kc-header span{font-size:11px;opacity:.92;font-weight:750}
.kc-header h2{margin:6px 0 8px;font-size:23px;line-height:1.25;font-weight:950;letter-spacing:-.035em;color:#fff}
.kc-header p{margin:0;font-size:12px;line-height:1.5;color:#eaf4ff}
.kc-header-metrics{flex:0 0 auto;display:grid;gap:2px;text-align:center;padding:11px 15px;border-radius:13px;background:rgba(255,255,255,.18)}
.kc-header-metrics b{font-size:24px;font-weight:950}.kc-header-metrics small{font-size:10px}
.kc-top-categories,.kc-subcategories{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0 0 10px}
.kc-top-categories button,.kc-subcategories button{padding:10px 14px;min-height:40px;border:1px solid #e0e8f1;border-radius:11px;background:#fff;color:#526479;cursor:pointer;font-size:12px;font-weight:850}
.kc-top-categories button.active{border-color:#136ccd;background:#136ccd;color:#fff}
.kc-subcategories button{min-height:36px;padding:7px 12px;font-size:11px;background:#f3f7fc}
.kc-subcategories button.active{border-color:#b3d3f7;background:#e2f1ff;color:#115db4}
.kc-search{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.kc-search input{width:min(100%,390px);min-height:43px;padding:10px 14px;border:1px solid #dbe5ef;border-radius:11px;background:#fff;font-size:12px}
.kc-search span{font-size:11px;color:#64748b;font-weight:800}
.kc-layout{display:grid;grid-template-columns:minmax(340px,1.05fr) minmax(0,1.35fr);align-items:start;gap:14px}
.kc-menu-panel{min-width:0;max-height:72vh;overflow-y:auto;padding:9px;border:1px solid #e3eaf3;border-radius:17px;background:#f6f9fe;box-shadow:0 6px 18px rgba(15,23,42,.03)}
.kc-menu-intro{display:flex;align-items:center;justify-content:space-between;padding:7px 9px 12px;color:#20314e}
.kc-menu-intro b{font-size:13px}.kc-menu-intro small{font-size:10px;color:#78869a}
.kc-menu-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.kc-menu-card{min-width:0;padding:0 0 6px;border:1px solid #dbe7f6;border-radius:12px;background:#fff;overflow:hidden}
.kc-menu-card h3{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:0;padding:10px 12px;background:#d9ecff;border-bottom:2px solid #3c83d4;color:#183b6a;font-size:11px;font-weight:950}
.kc-menu-card h3 small{color:#47739f;font-size:9px}
.kc-menu-card-list{padding:7px;display:grid;gap:2px}
.kc-menu-item{display:block;box-sizing:border-box;min-width:0;width:100%;padding:6px 8px;border:0;border-radius:8px;background:transparent;color:#364961;text-align:left;font-size:10.5px;line-height:1.5;cursor:pointer;overflow-wrap:anywhere}
.kc-menu-item:hover{background:#f0f6ff;color:#0a66c5}
.kc-menu-item.active{background:#e9f3ff;color:#0059ad;font-weight:850}
.kc-inspector{min-width:0;padding:17px;border:1px solid #e0e8f2;border-radius:17px;background:#fff;box-shadow:0 8px 20px rgba(15,23,42,.04)}
.kc-inspector-head{display:flex;align-items:start;justify-content:space-between;flex-wrap:wrap;gap:10px;padding-bottom:15px;border-bottom:1px solid #e8edf4}
.kc-breadcrumb{font-size:10px;color:#74879f;font-weight:800}
.kc-inspector-head h3{margin:5px 0 9px;font-size:20px;line-height:1.3;color:#192944;word-break:keep-all}
.kc-head-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.kc-head-actions .btn{min-height:34px;padding:6px 9px;font-size:10px}
.kc-status{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;border:1px solid #d5e4f6;background:#edf6ff;color:#175eac;font-size:10px;font-weight:850}
.kc-status.external{background:#fff7e6;border-color:#ffe5ad;color:#9c671e}
.kc-status.register{background:#f6f8fb;border-color:#e0e6ed;color:#606e80}
.kc-notice{margin:15px 0;padding:13px 14px;border-left:3px solid #d99d2c;border-radius:9px;background:#fffbf3;color:#704f20;font-size:11px;line-height:1.65}
.kc-notice b{font-size:12px}.kc-notice p{margin:5px 0 0}
.kc-notice.neutral{border-left-color:#73a3db;background:#f5f9ff;color:#455e79}
.kc-work-area,.kc-sample-source{margin:15px 0;padding:13px;border:1px solid #e4ebf4;border-radius:13px;background:#fff}
.kc-work-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:11px}
.kc-work-toolbar b,.kc-sample-source>b{display:block;font-size:13px;color:#24364c}
.kc-work-toolbar small{display:block;margin-top:3px;font-size:10px;color:#8c98a7}
.kc-work-toolbar .btn{font-size:11px}
.kc-record-list{overflow:auto;max-width:100%}
.kc-record-list .table{width:100%;min-width:580px;font-size:10px}
.kc-record-list .btn-small{padding:4px 6px;min-height:27px;font-size:10px}
.kc-muted,.kc-empty,.kc-sample-source p{margin:9px 0;color:#77879d;font-size:11px;line-height:1.6}
.kc-error{font-size:11px;color:#b91c1c;background:#fef2f2;padding:9px;border-radius:8px}
.kc-record-editor{margin-top:14px;padding:15px;border:1px solid #cfe2f7;border-radius:13px;background:#f7fbff}
.kc-record-editor[hidden]{display:none!important}
.kc-record-editor h4{margin:0 0 13px;font-size:15px}
.kc-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.kc-edit-grid label{display:grid;gap:6px;color:#536277;font-size:11px;font-weight:800}
.kc-edit-grid input,.kc-edit-grid textarea{width:100%;min-width:0;padding:10px 12px;border:1px solid #d5e0ef;border-radius:9px;background:#fff;font:inherit;font-size:12px}
.kc-edit-grid .wide{grid-column:1/-1}
.kc-form-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}
.kc-sample-source .table-wrap{max-width:100%;overflow-x:auto}
.kc-catalog .table th,.kc-catalog .table td{font-size:10px;white-space:nowrap}
@media (max-width:1200px){.kc-layout{grid-template-columns:1fr}.kc-menu-panel{max-height:460px}}
@media (max-width:560px){.kc-header{padding:17px 14px}.kc-header h2{font-size:19px}.kc-header p{font-size:10px}.kc-header-metrics{padding:8px 10px}.kc-header-metrics b{font-size:18px}
.kc-layout{grid-template-columns:1fr}.kc-menu-panel{max-height:310px;padding:7px}
.kc-menu-cards{grid-template-columns:1fr}.kc-inspector{padding:11px}
.kc-search{align-items:stretch;flex-direction:column;gap:5px}.kc-search input{width:100%}.kc-search span{font-size:10px}
.kc-edit-grid{grid-template-columns:1fr}.kc-edit-grid .wide{grid-column:auto}
.kc-top-categories,.kc-subcategories{gap:4px}.kc-top-categories button,.kc-subcategories button{padding:8px;font-size:10px}}
@media print{
 .kc-header-metrics,.kc-top-categories,.kc-subcategories,.kc-search,.kc-menu-panel,
 .kc-head-actions,.kc-work-toolbar button,.kc-record-list button,.kc-record-editor{display:none!important}
 .kc-layout{display:block!important}.kc-inspector{box-shadow:none!important;border:0!important}
 .kc-catalog .kc-header{background:#fff!important;color:#000!important;border:0!important;padding:6px 0}
 .kc-header h2,.kc-header p,.kc-header span{color:#000!important}
 .kc-catalog .kc-work-area,.kc-catalog .kc-sample-source{break-inside:avoid}
}