/* XRVE Equipment Knowledge Capture */
.ekc-shell{max-width:1120px;margin:0 auto}
.ekc-workspace{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
.ekc-panel{padding:24px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 12px 34px rgba(16,35,51,.05)}
.ekc-panel h3{font-size:23px}
.ekc-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.ekc-field{display:grid;gap:6px;color:#314a59;font-size:12px;font-weight:850}
.ekc-field.wide{grid-column:1/-1}
.ekc-field input,.ekc-field select,.ekc-field textarea{min-height:45px;border-color:#c8d8e1}
.ekc-field textarea{min-height:92px}
.ekc-help{color:var(--muted);font-size:11px;font-weight:500;line-height:1.45}
.ekc-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.ekc-actions .btn,.ekc-library-tools .btn,.ekc-icon-btn{min-height:42px}
.ekc-status{margin-top:12px;min-height:42px;padding:11px 13px;border:1px solid #d7e5ec;border-radius:9px;background:#f7fafc;color:#526a78;font-size:12px}
.ekc-boundary{margin-top:14px;padding:13px 15px;border-left:4px solid var(--orange);border-radius:0 10px 10px 0;background:#fff7f2;color:#594536;font-size:12px;line-height:1.55}
.ekc-library-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}
.ekc-library-tools{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.ekc-search-grid{display:grid;grid-template-columns:1.4fr .8fr .8fr;gap:10px;margin-bottom:14px}
.ekc-search-grid label{display:grid;gap:5px;color:#526a78;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.ekc-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px;background:#fff;overscroll-behavior-inline:contain}
.ekc-table{min-width:980px;margin:0}
.ekc-table th{position:sticky;top:0;z-index:1;background:#f1f6f9;color:#38505f;font-size:10px;text-transform:uppercase;letter-spacing:.055em}
.ekc-table td{font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.ekc-table tbody tr:hover{background:#f8fbfd}
.ekc-asset{font-weight:900;color:#15364c}
.ekc-badge{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;background:#eef6fb;color:#155f88;font-size:10px;font-weight:850;white-space:nowrap}
.ekc-badge.verified{background:#ebf8f1;color:#176744}
.ekc-badge.authority{background:#fff2e8;color:#98420d}
.ekc-record-actions{display:flex;gap:6px}
.ekc-icon-btn{min-width:42px;border:1px solid #d3e0e7;border-radius:8px;background:#fff;color:#5e7482;cursor:pointer;font:inherit}
.ekc-icon-btn:hover{background:#f5f9fb;color:#17364a}
.ekc-empty{padding:26px;border:1px dashed #bdced8;border-radius:12px;background:#fafcfd;color:#667c89;text-align:center}
.ekc-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0 16px}
.ekc-stat{padding:14px;border:1px solid #d9e4ea;border-radius:11px;background:#fff}
.ekc-stat span{display:block;color:#748793;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}
.ekc-stat strong{display:block;margin-top:4px;color:#17324d;font-size:24px}
.ekc-import{position:relative;overflow:hidden}.ekc-import input{position:absolute;inset:0;opacity:0;cursor:pointer}
.ekc-import:focus-within{outline:3px solid var(--xrve-focus,#ff8a3d);outline-offset:3px}
@media(max-width:940px){.ekc-workspace{grid-template-columns:1fr}.ekc-library-head{display:block}.ekc-library-tools{justify-content:flex-start;margin-top:12px}}
@media(max-width:680px){.ekc-form-grid,.ekc-search-grid,.ekc-stats{grid-template-columns:1fr}.ekc-field.wide{grid-column:auto}.ekc-panel{padding:19px}.ekc-actions .btn,.ekc-library-tools .btn{width:100%}.ekc-record-actions{flex-direction:column}}
@media(prefers-reduced-motion:reduce){.ekc-shell *{scroll-behavior:auto!important;transition:none!important}}