body{font-size:13px;background:#f2f4f7;color:#263445}
.card{border-radius:4px;box-shadow:none}
p{margin:4px 0}.muted,.help{font-size:12px}.help{margin-top:4px}summary{cursor:pointer}
.toolbar>input[type=file]{width:330px;max-width:100%}.toolbar>input[type=search]{flex:1;min-width:160px}
label{display:inline-flex;gap:4px;align-items:center;margin:0}.toolbar label{flex-shrink:0}
.btn-sm,.form-control-sm,.form-select-sm{font-size:12px;border-radius:3px;min-height:27px}
.btn-sm{padding:3px 7px}.form-control-sm{padding:3px 6px}.form-select-sm{padding-top:3px;padding-bottom:3px;padding-left:6px}
.scroll{overflow:auto;max-height:60vh;margin-top:4px}
.table{font-size:12px;line-height:1.25}.table>:not(caption)>*>*{padding:3px 5px;white-space:pre-wrap;overflow-wrap:anywhere;vertical-align:middle}
.table thead{position:sticky;top:0;z-index:1}.table thead th{background:#eef1f5;font-weight:600}
#data th input{width:100%;min-width:78px;margin-top:3px;font-size:11px;min-height:23px;padding:2px 4px}
.sortable-header{cursor:pointer;user-select:none}.sortable-header:hover{color:#175cd3}
#data td:first-child,#data th:first-child{width:38px;text-align:center}.form-check-input{margin:0;width:15px;height:15px;cursor:pointer}
#status:empty{display:none}#status{margin-top:4px}#status.error{color:#b42318}
.act-fields{display:grid;grid-template-columns:repeat(2,minmax(140px,1fr));gap:4px 8px}
.act-fields label{flex-direction:column;align-items:stretch;gap:2px;font-size:12px}.act-fields .wide{grid-column:1/-1}
textarea{resize:vertical}
#importRows td:first-child{width:45px}#importRows td{vertical-align:top}#importHistory p{font-size:12px}
[hidden]{display:none!important}
#report{background:white;padding:24px;margin-top:8px;font-family:"Times New Roman",serif;color:#000}
#report h1{text-align:center;font-size:19px;font-weight:bold;margin:12px 0}
#report .act-date{text-align:right}#report .act-intro{white-space:pre-wrap;color:#000;margin:12px 0}
#report .table{table-layout:fixed;color:#000;font-size:14px;line-height:normal}
#report .table>:not(caption)>*>*{padding:8px;border:1px solid #999;vertical-align:top;background:white;color:black;box-shadow:none}
#report th{text-align:center}#report .act-summary{white-space:pre-wrap;margin-top:22px;color:#000}
#report th:nth-child(1){width:5%}#report th:nth-child(2){width:16%}#report th:nth-child(3){width:23%}#report th:nth-child(4){width:15%}#report th:nth-child(5){width:12%}#report th:nth-child(6){width:13%}#report th:nth-child(7){width:16%}
@media(max-width:575px){.act-fields{grid-template-columns:1fr}.toolbar>input[type=file]{width:100%}.toolbar>input[type=search]{min-width:120px}}
@page{size:A4 landscape;margin:12mm}
@media print{body{background:white}main.container-fluid{padding:0!important;max-width:none}.app-ui{display:none!important}#report{display:block!important;padding:0;margin:0}#report thead{position:static;display:table-header-group}#report tr{break-inside:avoid}#report .table>:not(caption)>*>*{font-size:10px;padding:5px}#report h1{font-size:20px}}

.kit-editor{min-width:0;max-width:none;display:flex;align-items:center;gap:6px}.kit-editor>input{width:210px;flex:0 1 210px;margin:0}.kit-radios{display:flex;flex-direction:row;flex-wrap:nowrap;gap:3px 5px;overflow-x:auto;white-space:nowrap;scrollbar-width:thin;flex:1;min-width:0}.kit-choice{cursor:pointer;width:25px;height:25px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #cbd5e1;border-radius:4px;color:#475569;flex:0 0 25px}.kit-choice:hover{color:#175cd3;border-color:#175cd3}.kit-choice:has(input:checked){color:#175cd3;border-color:#175cd3;background:#eff6ff;box-shadow:inset 0 0 0 1px #175cd3}.kit-choice .form-check-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.kit-choice svg{width:18px;height:18px}.equipment-info-row>td{border-bottom:0!important}.kit-controls-row>td{padding:2px 5px!important;background:#f8fafc!important;border-top:0!important;border-bottom:1px solid #cbd5e1!important;border-left:0!important;border-right:0!important}.kit-controls-row.equipment-state-warning>td{background:#fff8df!important}.kit-controls-row.equipment-state-broken>td{background:#fde9eb!important}#kitTypesTable input:not([type=checkbox]){min-width:180px}
.kit-controls-row>td{border-top:0!important}.equipment-info-row:hover>td,.kit-controls-row:hover>td,.equipment-info-row:has(+ .kit-controls-row:hover)>td,.equipment-info-row:hover + .kit-controls-row>td{background:#e7f1ff!important}

.kit-undo{width:27px;height:27px;padding:4px;flex:0 0 27px}.kit-undo i{font-size:16px;line-height:16px}#kitTypesTable input[aria-label="SVG-значок"]{min-width:190px}

.import-record{background:white;border:1px solid #ccd3dc;border-radius:4px;margin-bottom:10px;padding:8px}
.import-heading{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.import-heading select{width:auto;max-width:100%;margin-left:auto}
.import-badge{padding:3px 7px;border-radius:3px;background:#eef1f5;font-weight:600}
#importRows .import-comparison{table-layout:fixed;width:100%;min-width:600px}
#importRows .import-comparison th,#importRows .import-comparison td{width:25%;vertical-align:top;padding:5px 7px}
#importRows .import-comparison thead{position:static}.import-comparison tbody th{font-weight:500;background:#f8f9fb}
.import-comparison small{display:block;font-size:11px;margin-top:3px;font-weight:600}
#importRows .import-added{background:#dcfce7;color:#14532d}
#importRows .import-changed{background:#fef3c7;color:#713f12}
#importRows .import-previous{background:#fff7ed;color:#7c2d12}
#importRows .import-review{background:#ffedd5;color:#7c2d12}

.equipment-state-warning{--equipment-state-bg:#fff3cd}
.equipment-state-broken{--equipment-state-bg:#f8d7da}
.equipment-state-retired{--equipment-state-bg:#e2e3e5}
.equipment-state-repair{--equipment-state-bg:#dbeafe}
.equipment-state-reserve{--equipment-state-bg:#ede9fe}
#data tr[class^="equipment-state-"]>td{--bs-table-bg:var(--equipment-state-bg);background-color:var(--equipment-state-bg)}
.state-label{padding:3px 7px;border:1px solid #cbd5e1;border-radius:3px;background:var(--equipment-state-bg,#fff);font-size:12px}
.state-label{cursor:pointer;color:#263445}.state-label.state-filter-active{box-shadow:inset 0 0 0 2px #175cd3;font-weight:600}
.kit-choice i{width:18px;height:18px;font-size:18px;line-height:18px}
.kit-editor>input.kit-comment-different{background:#fff3cd;border-color:#d99b16;box-shadow:inset 0 0 0 1px #d99b16}
