:root { --zoom: 1; --bg-canvas: #e0e0e0; --panel-width: 280px; } 
html, body { height: 100%; margin: 0; padding: 0; overflow: hidden; }
body { background: #f8f9fa; display: flex; flex-direction: column; font-family: 'Segoe UI', sans-serif; user-select: none; }
.main-content { flex: 1; display: flex; flex-direction: column; background: #fff; overflow: hidden; height: 100%; }
.nav-tabs { background: #fff; padding: 8px 15px 0; border-bottom: 1px solid #dee2e6; flex-shrink: 0; }
.nav-tabs .nav-link { color: #6c757d; border:none; border-bottom: 3px solid transparent; font-weight: 500; }
.nav-tabs .nav-link:hover { color: #333; }
.nav-tabs .nav-link.active { color: #0d6efd; font-weight: bold; border-bottom: 3px solid #0d6efd; }
.tab-content { flex: 1; position: relative; overflow: hidden; }
.tab-pane { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: white; display: none; flex-direction: column; }
.tab-pane.show { display: flex !important; z-index: 10; }
.designer-grid { display: grid; grid-template-columns: var(--panel-width) 1fr var(--panel-width); height: 100%; width: 100%; }
.p-left { background: #fff; border-right: 1px solid #dee2e6; display: flex; flex-direction: column; padding: 0; z-index: 2; overflow-y: auto; }
.tools-container { padding: 15px; }
.tool-section-title { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #adb5bd; font-weight: 700; margin-top: 20px; margin-bottom: 8px; }
.tool-section-title:first-child { margin-top: 0; }
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tool-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px; background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 8px; cursor: pointer; transition: all 0.2s; color: #555; }
.tool-btn i { font-size: 20px; margin-bottom: 5px; color: #444; }
.tool-btn span { font-size: 11px; font-weight: 500; }
.tool-btn:hover { background: #fff; border-color: #0d6efd; color: #0d6efd; transform: translateY(-2px); box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.tool-btn:hover i { color: #0d6efd; }
.p-center { background: var(--bg-canvas); position: relative; display: flex; flex-direction: column; overflow: hidden; }
.top-toolbar { height: 50px; background: #fff; border-bottom: 1px solid #dee2e6; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; flex-shrink: 0; box-shadow: 0 2px 5px rgba(0,0,0,0.03); z-index: 5; }
.align-group { display: flex; gap: 4px; border-right: 1px solid #eee; padding-right: 10px; margin-right: 10px; }
.btn-icon { width: 32px; height: 32px; border: none; background: transparent; border-radius: 4px; color: #555; display: flex; align-items: center; justify-content: center; transition: 0.1s; }
.btn-icon:hover { background: #f0f0f0; color: #000; }
.cvs-con { flex: 1; display: flex; justify-content: center; align-items: center; overflow: hidden; position: relative; }
.cvs-area { background: #fff; box-shadow: 0 0 20px rgba(0,0,0,0.2); position: relative; transform-origin: center center; cursor: default; overflow: hidden; }
.safe-zone { position: absolute; border: 1px dashed rgba(0, 0, 0, 0.2); box-shadow: 0 0 0 9999px rgba(255, 235, 59, 0.25); pointer-events: none; z-index: 1; }
.p-right { background: #fff; border-left: 1px solid #dee2e6; display: flex; flex-direction: column; overflow-y: auto; padding: 0; z-index: 2; }
.prop-header { padding: 10px 15px; background: #f8f9fa; border-bottom: 1px solid #eee; font-weight: 600; font-size: 13px; color: #444; display: flex; align-items: center; }
.prop-body { padding: 15px; flex: 1; overflow-y: auto; }
.d-item { position: absolute; cursor: grab; display: flex; flex-direction: column; justify-content: center; align-items: center; box-sizing: border-box; white-space: nowrap; }
.d-item:active { cursor: grabbing; }
.d-item.selected { outline: 2px solid #0d6efd; z-index: 1000; }
.d-item.linked { outline: 2px dotted #198754; }
.d-item img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; }
.d-item canvas { width: 100%; height: 100%; pointer-events: none; }
.d-item-text { pointer-events: none; white-space: pre-wrap; text-align: center; width: 100%; height: 100%; display:flex; align-items:center; justify-content:center; overflow: hidden; }
.qr-container { width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; overflow: hidden; pointer-events: none; }
.qr-container img { width: 100% !important; height: 100% !important; object-fit: contain; }
.h-res { position: absolute; width: calc(10px / var(--zoom)); height: calc(10px / var(--zoom)); background: #fff; border: 1px solid #0d6efd; right: calc(-5px / var(--zoom)); bottom: calc(-5px / var(--zoom)); cursor: nwse-resize; z-index: 9999; display: none; }
.h-rot { position: absolute; width: calc(10px / var(--zoom)); height: calc(10px / var(--zoom)); background: #20c997; border: 1px solid #fff; left: 50%; top: calc(-20px / var(--zoom)); transform: translateX(-50%); cursor: grab; z-index: 9999; display: none; border-radius: 50%; }
.h-stick { position: absolute; width: 1px; height: calc(20px / var(--zoom)); background: #20c997; left: 50%; top: calc(-20px / var(--zoom)); display: none; z-index: 9998; }
.d-item.selected .h-res, .d-item.selected .h-rot, .d-item.selected .h-stick { display: block; }
.db-status { font-size: 11px; padding: 6px; border-radius: 4px; background: #eee; text-align: center; margin-bottom: 0; color: #777; }
.db-status.active { background: #d1e7dd; color: #0f5132; }
.layer-item { padding: 6px 10px; border-bottom: 1px solid #f0f0f0; cursor: pointer; font-size: 12px; display:flex; justify-content:space-between; align-items:center; }
.layer-item:hover { background: #f9f9f9; }
.layer-item.active { background: #eef2ff; color: #0d6efd; font-weight: bold; border-left: 3px solid #0d6efd; }
.inp-grp-lbl { font-size: 10px; color: #888; margin-bottom: 2px; display:block; }
.form-control-xs { font-size: 12px; padding: 4px 6px; height: auto; }
.pr-card { background: #fff; border: 1px solid #eee; border-radius: 6px; padding: 10px; margin-bottom: 8px; }
.pr-row-main { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.pr-row-details { display: flex; align-items: center; gap: 8px; background: #f8f9fa; padding: 10px; border-radius: 4px; flex-wrap: wrap; font-size: 12px; }
.pr-inp-mini { border: 1px solid #ddd; border-radius: 3px; padding: 3px 5px; width: 60px; text-align: center; font-weight: 500; }
.pr-lbl-mini { color: #555; margin-right: 2px; font-weight: 500;}
.pr-group { display: flex; align-items: center; margin-right: 15px; }
.pvz-table-con { flex: 1; overflow-y: auto; background: #fff; height: 100%; }
.pvz-row { padding: 10px 15px; border-bottom: 1px solid #f0f0f0; cursor: pointer; display: flex; align-items: center; transition: background 0.1s; }
.pvz-row:nth-child(even) { background-color: #fcfcfc; }
.pvz-row:hover { background: #f8f9fa; }
.pvz-id { font-weight: 700; color: #0d6efd; min-width: 60px; margin-right: 15px; font-family: monospace; font-size: 14px; text-align: center; background: #f0f0f0; padding: 2px 5px; border-radius: 4px; }
.pvz-name { font-size: 14px; color: #333; font-weight: 500; }
.q-item { display: flex; align-items: center; gap: 8px; padding: 8px; border-bottom: 1px solid #eee; font-size: 13px; background: #fff; }
.q-name { width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; flex-shrink: 0; }
/* Print Studio premium workspace refresh */
:root {
  --ink: #172033;
  --muted: #7f8ba3;
  --line: #e6eaf1;
  --soft: #f6f8fb;
  --brand: #5b5ce2;
  --brand-dark: #4546bd;
  --brand-soft: #eef0ff;
  --green: #16a578;
  --canvas: #edf1f6;
  --shadow: 0 12px 32px rgba(24, 35, 65, .08);
}
* { box-sizing: border-box; }
body { color: var(--ink); background: #f8f9fc; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 13px; }
body:before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; background: linear-gradient(90deg, #5b5ce2, #8e6bf1, #2abfa0); }
.main-content { background: #fff; }
.nav-tabs { height: 68px; display: flex; align-items: stretch; gap: 7px; padding: 0 28px; border: 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); box-shadow: 0 2px 15px rgba(20,30,55,.04); }
.nav-tabs:before { content: "PRINT / STUDIO"; display: flex; align-items: center; margin-right: 23px; color: var(--ink); font-size: 16px; font-weight: 800; letter-spacing: -.5px; }
.nav-tabs:after { content: "LABEL WORKSPACE"; position: absolute; top: 43px; left: 44px; color: #a0a8bb; font-size: 8px; letter-spacing: 1.7px; font-weight: 700; }
.nav-tabs .nav-item { display: flex; align-items: center; }
.nav-tabs .nav-link { border: 0; border-radius: 9px; color: #7b879d; padding: 10px 15px; font-weight: 650; font-size: 13px; transition: .18s ease; }
.nav-tabs .nav-link:hover { color: var(--brand); background: var(--brand-soft); }
.nav-tabs .nav-link.active { color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px #e1e3ff; }
.nav-tabs .nav-link:before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 8px 1px 0; border-radius: 50%; background: currentColor; opacity: .55; }
.tab-content { background: #fff; }
.designer-grid { grid-template-columns: 286px minmax(420px, 1fr) 286px; }
.p-left, .p-right { background: #fff; border-color: var(--line); }
.tools-container { padding: 20px 17px; }
.tool-section-title { color: #a0a9bb; font-size: 10px; font-weight: 800; letter-spacing: 1.1px; margin: 20px 0 9px; }
.tool-section-title:first-child { margin-top: 0; }
.p-left .form-select { border-color: var(--line); border-radius: 8px; color: var(--ink); font-size: 12px; font-weight: 600; padding: 9px 11px; box-shadow: none; }
.tools-grid { gap: 8px; }
.tool-btn { min-height: 73px; padding: 9px 5px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #657188; transition: .18s ease; }
.tool-btn i { color: var(--brand); font-size: 21px; line-height: 1; margin-bottom: 7px; }
.tool-btn span { font-size: 10px; font-weight: 700; text-align: center; }
.tool-btn:hover { border-color: #b5b6f7; background: var(--brand-soft); color: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(91,92,226,.12); }
.p-left .db-status { padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); color: var(--muted); font-size: 11px; }
.p-left .db-status.active { background: #eaf8f3; border-color: #c6eddf; color: #14795a; }
.layer-item { min-height: 37px; padding: 7px 9px; border-bottom: 1px solid #f0f2f6; color: #627087; font-size: 11px; transition: .15s; }
.layer-item:hover { background: #fafbff; color: var(--brand); }
.layer-item.active { background: var(--brand-soft); border-left: 3px solid var(--brand); color: var(--brand-dark); font-weight: 750; }
.d-grid .btn-danger { border: 0; border-radius: 8px; background: #fff1f2; color: #d84e67; font-weight: 700; }
.p-center { background: var(--canvas); }
.top-toolbar { height: 54px; padding: 0 15px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 3px 12px rgba(25,35,60,.045); }
.align-group { gap: 2px; border-color: #edf0f5; }
.btn-icon { width: 31px; height: 31px; border-radius: 7px; color: #78849a; transition: .15s; }
.btn-icon:hover { background: var(--brand-soft); color: var(--brand); }
.top-toolbar .btn-primary { border: 0; border-radius: 8px; background: var(--brand); box-shadow: 0 4px 10px rgba(91,92,226,.22); font-weight: 700; }
.cvs-con { background-color: var(--canvas); background-image: radial-gradient(#d3d9e5 .7px, transparent .7px); background-size: 16px 16px; }
.cvs-area { box-shadow: 0 18px 42px rgba(28,40,68,.18), 0 2px 5px rgba(28,40,68,.1); }
.safe-zone { border-color: rgba(91,92,226,.55); box-shadow: 0 0 0 9999px rgba(91,92,226,.045); }
.d-item.selected { outline: 2px solid var(--brand); outline-offset: 1px; }
.h-res { border-color: var(--brand); border-radius: 3px; }
.h-rot { background: #24b994; }
.prop-header { padding: 15px 16px 13px; border-bottom: 1px solid var(--line); background: #fff; }
.prop-body { padding: 15px; }
.form-control-xs, .form-select-xs { min-height: 31px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); font-size: 11px; padding: 6px 8px; box-shadow: none; }
.p-right .form-control:focus, .p-right .form-select:focus, .p-left .form-select:focus { border-color: #a7a9f5; box-shadow: 0 0 0 3px rgba(91,92,226,.11); }
.pr-card { padding: 14px; margin-bottom: 9px; border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 3px 10px rgba(20,35,60,.03); }
.pr-card:hover { border-color: #c7c9f7; }
.pr-row-details { padding: 10px; border-radius: 8px; background: var(--soft); }
.pvz-row { padding: 11px 14px; border-color: #f0f2f6; transition: .15s; }
.pvz-row:hover { background: var(--brand-soft); }
.pvz-id { border-radius: 6px; background: #f0f2ff; color: var(--brand); padding: 4px 6px; }
.q-item { padding: 10px; border-color: #f0f2f6; }
.toolbar-divider { width: 1px; height: 20px; margin: 0 5px; background: #e7eaf1; display: inline-block; vertical-align: middle; }
.grid-hidden { background-image: none !important; }
.zoom-label { min-width: 58px; color: #77839a; font-size: 10px; font-weight: 700; text-align: center; }
.eyebrow { display: block; color: #a0a9bb; font-size: 9px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.property-section { padding-top: 15px; margin-top: 15px; border-top: 1px solid #eef0f5; }
.property-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; color: #536078; font-size: 11px; font-weight: 800; }
.property-title span { color: #a0a9bb; font-size: 9px; font-weight: 600; }
.property-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rotation-row { margin-top: 8px; }
.input-with-suffix { position: relative; }
.input-with-suffix span { position: absolute; top: 7px; right: 9px; color: #9aa4b6; font-size: 11px; }
.input-with-suffix input { padding-right: 25px; }
.text-input { resize: vertical; }
.style-toggle-row { display: flex; gap: 7px; margin-top: 11px; }
.style-toggle { cursor: pointer; }
.style-toggle input { display: none; }
.style-toggle span { display: block; padding: 7px 9px; border: 1px solid var(--line); border-radius: 7px; color: #7b879c; font-size: 10px; }
.style-toggle input:checked + span { border-color: #b6b7f5; background: var(--brand-soft); color: var(--brand); }
.field-help { display: block; margin-top: 7px; color: #9ba5b6; font-size: 10px; line-height: 1.4; }
.selected-object-title { display: flex; align-items: center; gap: 9px; padding-bottom: 13px; }
.selected-object-title strong, .selected-object-title small { display: block; }
.selected-object-title strong { font-size: 12px; }
.selected-object-title small { margin-top: 3px; color: #9aa4b6; font-size: 10px; }
.object-icon { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--brand-soft); color: var(--brand); font-size: 15px; }
.inspector-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 220px; padding: 25px; color: #9aa4b6; text-align: center; }
.inspector-empty i { margin-bottom: 13px; color: #c6ccda; font-size: 32px; }
.inspector-empty strong { margin-bottom: 6px; color: #66738b; font-size: 12px; }
.inspector-empty span { font-size: 10px; line-height: 1.5; }
@media (max-width: 980px) { .designer-grid { grid-template-columns: 230px minmax(350px, 1fr) 230px; } .nav-tabs { padding-left: 15px; } .nav-tabs:before { margin-right: 8px; } }

/* Lamoda-like monochrome workspace: functional, restrained and print-oriented. */
:root {
  --brand: #111827;
  --brand-dark: #05070b;
  --brand-soft: #f0f2f4;
  --ink: #111827;
  --muted: #7a8491;
  --line: #e4e7eb;
  --soft: #f7f8f9;
  --green: #00875a;
  --canvas: #eef0f2;
}
.nav-tabs:before { color: #111827; }
.nav-tabs .nav-link:hover, .nav-tabs .nav-link.active { color: #111827; background: #f0f2f4; box-shadow: inset 0 0 0 1px #dfe3e7; }
.nav-tabs .nav-link.active { border-bottom: 2px solid #111827; }
.top-toolbar .btn-primary { background: #111827; border-color: #111827; box-shadow: 0 4px 10px rgba(17,24,39,.16); }
.top-toolbar .btn-primary:hover { background: #000; border-color: #000; }
.tool-btn i, .tool-btn:hover, .btn-icon:hover, .layer-item:hover { color: #111827; }
.tool-btn:hover { border-color: #b8bec6; background: #f5f6f7; box-shadow: 0 6px 15px rgba(17,24,39,.08); }
.tool-btn:active { transform: translateY(0); background: #e9ecef; }
.d-item.selected { outline-color: #111827; }
.h-res { border-color: #111827; }
.h-rot { background: #00875a; }
.safe-zone { border-color: rgba(0,135,90,.55); box-shadow: 0 0 0 9999px rgba(0,135,90,.035); }
.p-left .db-status.active { background: #e9f7f1; border-color: #c6eadd; color: #006b48; }
.selected-object-title .object-icon { background: #f0f2f4; color: #111827; }
.style-toggle input:checked + span { border-color: #b7bdc5; background: #f0f2f4; color: #111827; }
.utility-link { color: #687281 !important; }
.zoom-control { display: flex; align-items: center; gap: 2px; border: 1px solid #e4e7eb; border-radius: 8px; padding: 1px 3px; background: #fff; }
.shortcut-list { display: grid; gap: 8px; text-align: left; margin-top: 8px; }
.shortcut-list > div { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border: 1px solid #edf0f2; border-radius: 8px; background: #fafbfb; }
.shortcut-list kbd { min-width: 27px; padding: 3px 6px; border: 1px solid #d8dde3; border-bottom-width: 2px; border-radius: 5px; background: #fff; color: #303844; font: 600 10px ui-monospace, SFMono-Regular, Menlo, monospace; text-align: center; }
.shortcut-list span { margin-left: 4px; color: #65707d; font-size: 11px; }
body:before { background: #111827; }
.btn-primary, .btn-primary:focus { background-color: #111827; border-color: #111827; }
.btn-primary:hover { background-color: #000; border-color: #000; }
.btn-success { background-color: #00875a; border-color: #00875a; }
.btn-success:hover { background-color: #006b48; border-color: #006b48; }
.form-control:focus, .form-select:focus { border-color: #9aa1aa; box-shadow: 0 0 0 .2rem rgba(17,24,39,.10); }

/* Photo inspector: compact controls stay visible in the right properties panel. */
.range-field { margin-top: 12px; }
.range-caption { display: flex; justify-content: space-between; margin-bottom: 3px; color: #687281; font-size: 10px; font-weight: 650; }
.range-caption output { min-width: 26px; color: #111827; text-align: right; }
.range-field input[type="range"] { width: 100%; height: 4px; accent-color: #111827; }
.image-actions { display: flex; gap: 6px; margin-top: 13px; }
.image-actions .btn { flex: 1; border: 1px solid var(--line); color: #4f5966; font-size: 10px; font-weight: 650; }
.image-actions .btn:hover { border-color: #aab0b8; background: #f0f2f4; }
.photo-inspector-note { margin-bottom: 12px; padding: 8px 9px; border: 1px solid #edf0f2; border-radius: 7px; background: #fafbfb; color: #6f7a86; font-size: 10px; line-height: 1.4; }
.image-settings-group { margin-top: 12px; padding-top: 12px; border-top: 1px solid #eef0f3; }
.image-settings-heading { margin-bottom: 8px; color: #4f5966; font-size: 10px; font-weight: 750; }
.image-settings-heading i { color: #00875a; }
.drop-active { outline: 2px dashed #00875a; outline-offset: -12px; background-color: #eaf7f2 !important; }
.cvs-con:after { content: "Перетащите фото сюда"; position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 6px 10px; border-radius: 7px; background: rgba(17,24,39,.72); color: #fff; font-size: 10px; opacity: 0; pointer-events: none; transition: opacity .15s; }
.cvs-con.drop-active:after { opacity: 1; }
output { font-size: inherit; }

/* Printer management */
.printers-page { padding: 24px 30px 35px; height: 100%; overflow-y: auto; background: #fbfcfe; }
.printers-header { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; margin-bottom:18px; }
.printers-header h4 { color:var(--ink); font-weight:750; }
.eyebrow { color:var(--brand); font-size:11px; font-weight:700; letter-spacing:1px; text-transform:uppercase; margin-bottom:5px; }
.printer-summary { color:var(--muted); font-size:12px; white-space:nowrap; }
.printer-toolbar { display:flex; align-items:center; gap:10px; max-width:1250px; margin-bottom:12px; }
.printer-search { max-width:360px; }
.printer-search .input-group-text { border-color:var(--line); color:var(--muted); }
.printer-search .form-control, .printer-filter { border-color:var(--line); box-shadow:none; }
.printer-filter { width:180px; }
.printer-toolbar-note { margin-left:auto; color:var(--muted); font-size:11px; white-space:nowrap; }
.printer-help { display:flex; align-items:flex-start; max-width:1000px; font-size:12px; color:#586579; background:#f5f7ff; }
.printer-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(430px,1fr)); gap:14px; max-width:1250px; }
.pr-card { padding:16px; margin:0; border:1px solid var(--line); border-radius:13px; box-shadow:0 5px 18px rgba(20,35,60,.045); }
.pr-card .pr-row-main { margin-bottom:13px; }
.pr-card .pr-name-input { font-size:14px; max-width:210px; }
.pr-endpoint { display:flex; align-items:center; gap:7px; color:var(--muted); font:12px ui-monospace,SFMono-Regular,monospace; }
.pr-status { display:inline-flex; align-items:center; gap:6px; font-size:11px; padding:4px 8px; border-radius:20px; background:#f1f3f5; color:#697586; }
.pr-status.checking { color:#8a6d1d; background:#fff7d6; }
.pr-status.online { color:#087f5b; background:#e5f8f0; }
.pr-status.offline { color:#b42318; background:#fff0ee; }
.pr-card .pr-row-details { padding:11px; border-radius:9px; gap:9px; }
.pr-settings-title { width:100%; color:#7b879d; font-size:10px; font-weight:700; letter-spacing:.6px; text-transform:uppercase; }
.pr-diagnostic { margin-top:12px; padding:10px 11px; border:1px solid #edf0f5; border-radius:9px; background:#fbfcff; font-size:12px; }
.pr-diagnostic .diag-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px 15px; }
.diag-config { display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:9px; padding-top:8px; border-top:1px solid #edf0f5; color:#647187; font-size:11px; }
.diag-config b { color:#424d5d; }
.diag-warnings { margin-top:8px; padding:8px 9px; border-radius:7px; background:#fff7df; color:#80631d; font-size:11px; line-height:1.5; }
.diag-warnings b { display:block; margin-bottom:2px; color:#6f5311; }
.diag-item { display:flex; gap:6px; align-items:flex-start; color:#647187; }
.diag-item i { color:#a0aabd; }
.diag-item.ok i { color:#16a578; }
.diag-item.bad i { color:#dc5b55; }
.diag-raw { margin-top:8px; max-height:72px; overflow:auto; color:#7b879d; font:10px ui-monospace,SFMono-Regular,monospace; white-space:pre-wrap; }
.pr-hints { margin:8px 0 0; padding-left:17px; color:#7b879d; font-size:11px; }
.add-printer-panel { max-width:1250px; margin-top:20px; padding:16px; background:#fff; border:1px solid var(--line); border-radius:13px; }
.add-printer-panel .form-label { color:#7b879d; }
.empty-printers { display:flex; flex-direction:column; align-items:center; gap:5px; padding:35px 15px; border:1px dashed var(--line); border-radius:12px; color:var(--muted); }
.empty-printers i { font-size:25px; color:#adb5bd; }
.empty-printers b { color:#596579; font-size:13px; }
@media (max-width:700px) { .printers-page { padding:16px; } .printers-header { display:block; } .printers-header .d-flex { margin-top:12px; } .printer-list { grid-template-columns:1fr; } .printer-toolbar { align-items:stretch; flex-wrap:wrap; } .printer-search { max-width:none; flex:1 1 100%; } .printer-filter { width:100%; } .printer-toolbar-note { margin-left:0; } }
