Migrate UI styling to Tailwind components

This commit is contained in:
2026-08-05 13:04:55 +02:00
parent e60522495a
commit c1c63043c8
4 changed files with 111 additions and 856 deletions
-852
View File
@@ -1,852 +0,0 @@
:root {
color-scheme: light;
--surface: #f4f6f8;
--panel: #22272e;
--panel-soft: #2d333b;
--panel-line: #3e4651;
--detail-label: #e2e6ea;
--detail-value: #eefdf9;
--detail-border: #c8d3d9;
--table-head: #d9dee4;
--table-row: #f5f6f7;
--table-row-alt: #eceff2;
--table-line: #cfd6dd;
--text: #15181c;
--muted: #68717d;
--accent: #7ee34d;
--accent-text: #10220b;
--safe: #0f7b4d;
--danger: #e02424;
--focus: #2f6fed;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
color: var(--text);
font-family:
Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial,
sans-serif;
background: var(--surface);
}
button,
input,
select {
font: inherit;
}
.catalog-screen {
min-height: 100vh;
display: grid;
grid-template-columns: 172px 292px minmax(720px, 1fr);
}
.control-panel {
min-height: 100vh;
max-height: 100vh;
padding: 6px;
background: var(--panel);
display: flex;
flex-direction: column;
gap: 6px;
overflow-y: auto;
}
.control-panel > #settingsButton {
order: 99;
}
.app-status {
order: 98;
margin-top: auto;
display: flex;
flex-wrap: wrap;
gap: 3px;
padding: 5px;
border: 1px solid var(--panel-line);
border-radius: 6px;
background: var(--panel-soft);
color: #f3f6f8;
font-size: 11px;
line-height: 1.2;
}
.record-id {
height: 39px;
display: grid;
place-items: center;
border: 1px solid rgba(126, 227, 77, 0.42);
border-radius: 6px;
background: linear-gradient(180deg, #9aff60, var(--accent));
color: var(--accent-text);
font-size: 26px;
font-weight: 700;
line-height: 1;
font-variant-numeric: tabular-nums;
}
.arrow-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 5px;
}
.arrow-button,
.action-button,
.input-like {
width: 100%;
border: 1px solid var(--panel-line);
border-radius: 5px;
background: #f8fafc;
color: #111827;
}
.arrow-button,
.action-button {
cursor: pointer;
}
.arrow-button {
height: 31px;
position: relative;
display: grid;
place-items: center;
}
.arrow-button::before {
content: "";
width: 0;
height: 0;
border-top: 8px solid transparent;
border-bottom: 8px solid transparent;
}
.arrow-button-prev::before {
border-right: 11px solid #111827;
}
.arrow-button-next::before {
border-left: 11px solid #111827;
}
.arrow-button:disabled::before {
opacity: 0.55;
}
.parser-actions {
display: grid;
gap: 4px;
}
.parser-actions .action-button {
min-height: 28px;
font-size: 11px;
}
.action-button {
min-height: 32px;
padding: 0 8px;
font-size: 12px;
display: grid;
place-items: center;
text-align: center;
}
.action-button.primary {
min-height: 34px;
font-size: 14px;
font-weight: 700;
}
.arrow-button:hover:not(:disabled),
.action-button:hover:not(:disabled) {
border-color: #7a8492;
background: #ffffff;
}
.arrow-button:disabled,
.action-button:disabled {
cursor: default;
opacity: 0.45;
}
.input-like {
height: 28px;
padding: 3px 7px;
font-size: 12px;
outline: none;
}
select.input-like {
text-align: center;
text-align-last: center;
}
#scanInput {
background: #e5e8ec;
text-align: center;
}
.input-like:focus {
border-color: var(--focus);
box-shadow: 0 0 0 2px rgba(47, 111, 237, 0.18);
}
.input-like::placeholder {
color: #8b95a1;
}
.picture-slot {
aspect-ratio: 1 / 1;
width: 100%;
min-height: 0;
display: grid;
place-items: center;
border: 1px dashed #6d7784;
border-radius: 5px;
background: var(--panel-soft);
color: #b8c0ca;
font-size: 12px;
overflow: hidden;
}
.picture-slot img {
width: 100%;
height: 100%;
display: block;
object-fit: contain;
}
.mapping-box {
display: grid;
gap: 3px;
font-size: 11px;
}
.mapping-state {
height: 28px;
display: flex;
align-items: center;
min-width: 0;
padding: 3px 7px;
border: 1px solid var(--panel-line);
border-right: 0;
border-radius: 5px 0 0 5px;
background: #f8fafc;
color: #111827;
font-weight: 400;
line-height: 1.15;
}
.mapping-state.is-ready {
background: #f8fafc;
color: #111827;
}
.mapping-state.is-missing {
background: #fff0f0;
color: #b42318;
font-weight: 700;
}
.mapping-list {
display: grid;
gap: 3px;
}
.mapping-details {
min-width: 0;
}
.mapping-details summary {
display: grid;
grid-template-columns: minmax(0, 1fr) 22px;
align-items: center;
cursor: pointer;
list-style: none;
}
.mapping-details summary::-webkit-details-marker {
display: none;
}
.mapping-details summary:hover {
filter: brightness(1.04);
}
.mapping-toggle {
width: 22px;
height: 28px;
display: grid;
place-items: center;
border: 1px solid var(--panel-line);
border-left: 0;
border-radius: 0 5px 5px 0;
background: #f8fafc;
}
.mapping-toggle::before {
content: ">";
color: #111827;
font-size: 11px;
font-weight: 900;
line-height: 1;
}
.mapping-details[open] .mapping-toggle::before {
transform: rotate(90deg);
}
.mapping-source-row {
min-width: 0;
max-width: 100%;
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 4px;
padding: 3px 4px;
border: 1px solid #46505c;
border-radius: 5px;
background: #1b2026;
color: #f3f6f8;
}
.mapping-source-row.is-disabled {
opacity: 0.55;
}
.mapping-source-name {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-weight: 800;
}
.mapping-source-status {
flex: 0 0 auto;
padding: 1px 4px;
border-radius: 4px;
font-size: 9px;
font-weight: 400;
}
.mapping-source-status.is-ok {
background: #e8edf3;
color: #303944;
}
.mapping-source-status.is-bad {
background: #ffe0dc;
color: #b42318;
font-weight: 700;
}
.mapping-source-status.is-muted {
background: #4b5563;
color: #e5e7eb;
}
.product-panel {
min-width: 0;
padding: 22px 0 8px;
background: #d3d8de;
border-right: 1px solid #bdc6cf;
}
.field-grid {
display: grid;
grid-template-columns: 132px minmax(0, 168px);
}
.field-label,
.field-value {
min-height: 22px;
padding: 4px 8px;
border-bottom: 1px solid var(--detail-border);
font-size: 12px;
line-height: 1.15;
}
.field-label {
color: #26313d;
background: var(--detail-label);
}
.field-value {
background: var(--detail-value);
text-align: right;
overflow-wrap: anywhere;
font-variant-numeric: tabular-nums;
}
.field-value[data-field="manufacturer_name"] {
color: #b42318;
font-weight: 700;
}
.data-panel {
min-width: 0;
background: var(--surface);
}
.safe-mode,
#modePill {
padding: 2px 6px;
border-radius: 5px;
background: #e8f7ef;
color: var(--safe);
font-weight: 700;
}
#databaseStatus.database-error {
background: #fde8e7;
color: #b42318;
}
#modePill {
background: #edf1f5;
color: #4d5966;
font-weight: 600;
}
.table-wrap {
height: 100vh;
overflow: auto;
}
.variant-table {
width: 100%;
min-width: 820px;
border-collapse: separate;
border-spacing: 0;
table-layout: fixed;
font-size: 12px;
background: var(--table-row);
}
.variant-table th,
.variant-table td {
height: 22px;
border-right: 1px solid var(--table-line);
border-bottom: 1px solid var(--table-line);
padding: 2px 7px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-variant-numeric: tabular-nums;
}
.variant-table th {
position: sticky;
top: 0;
z-index: 2;
background: var(--table-head);
color: #303944;
font-weight: 700;
text-align: center;
}
.variant-table td {
background: var(--table-row);
}
.variant-table tr:nth-child(even) td {
background: var(--table-row-alt);
}
.variant-table tr:hover td {
background: #fff7df;
}
.empty-row {
color: var(--muted);
text-align: center;
font-style: italic;
}
.variant-table .problem-ean {
background: var(--danger) !important;
color: #ffffff;
font-weight: 700;
}
.modal-backdrop {
position: fixed;
inset: 0;
z-index: 20;
display: grid;
place-items: center;
padding: 24px;
background: rgba(17, 24, 39, 0.38);
}
.modal-backdrop[hidden] {
display: none;
}
.suggested-dialog {
width: min(900px, 94vw);
max-height: min(620px, 88vh);
display: grid;
grid-template-rows: auto minmax(0, 1fr);
border: 1px solid #9aa5b1;
border-radius: 8px;
overflow: hidden;
background: #f8fafc;
box-shadow: 0 18px 60px rgba(15, 23, 42, 0.34);
}
.source-dialog {
width: min(820px, 94vw);
max-height: min(620px, 88vh);
display: grid;
grid-template-rows: auto minmax(0, 1fr);
border: 1px solid #9aa5b1;
border-radius: 8px;
overflow: hidden;
background: #f8fafc;
box-shadow: 0 18px 60px rgba(15, 23, 42, 0.34);
}
.settings-dialog {
width: min(520px, 94vw);
max-height: 92vh;
display: grid;
grid-template-rows: auto minmax(0, 1fr);
border: 1px solid #9aa5b1;
border-radius: 8px;
overflow: hidden;
background: #f8fafc;
box-shadow: 0 18px 60px rgba(15, 23, 42, 0.34);
}
.settings-content {
display: grid;
gap: 8px;
padding: 10px;
overflow: visible;
}
.settings-group {
display: grid;
gap: 6px;
margin: 0;
padding: 8px;
border: 1px solid var(--table-line);
border-radius: 6px;
background: #ffffff;
}
.settings-group legend {
padding: 0 5px;
font-size: 12px;
font-weight: 700;
}
.settings-option {
display: flex;
align-items: center;
gap: 8px;
font-size: 12px;
}
.local-db-fields {
display: grid;
gap: 6px;
padding: 8px;
border: 1px solid var(--table-line);
border-radius: 5px;
background: #f7f9fb;
}
.local-db-fields[hidden] {
display: none;
}
.settings-field {
display: grid;
grid-template-columns: 82px minmax(0, 1fr);
align-items: center;
gap: 8px;
font-size: 11px;
}
.settings-field input {
min-width: 0;
padding: 4px 6px;
border: 1px solid #cbd3dc;
border-radius: 4px;
font: inherit;
}
.settings-test-button {
width: 100%;
padding: 5px 8px;
border: 1px solid #b8c3ce;
border-radius: 4px;
background: #eef2f5;
color: #26323d;
cursor: pointer;
}
.settings-test-button:disabled {
opacity: 0.6;
cursor: wait;
}
.connection-ok {
color: #18794e;
}
.connection-error {
color: #b42318;
font-weight: 600;
}
.settings-option input {
margin: 0;
}
.settings-option input:disabled + span {
color: var(--muted);
}
.settings-note,
.settings-permissions {
margin: 0;
color: var(--muted);
font-size: 11px;
line-height: 1.35;
}
.settings-permissions {
display: grid;
gap: 3px;
padding-top: 3px;
}
.suggested-header {
min-height: 42px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 8px 10px;
border-bottom: 1px solid var(--table-line);
background: #e8edf3;
}
.suggested-header h2 {
margin: 0;
font-size: 14px;
}
.modal-close {
border: 1px solid #b6c0ca;
border-radius: 5px;
padding: 5px 10px;
background: #ffffff;
cursor: pointer;
font-size: 12px;
}
.suggested-list {
overflow: auto;
}
.suggested-row {
display: grid;
grid-template-columns: 58px 92px 1fr 160px 64px 84px;
align-items: center;
gap: 8px;
padding: 6px 10px;
border-bottom: 1px solid var(--table-line);
font-size: 12px;
}
.suggested-row:nth-child(even) {
background: #eef2f6;
}
.suggested-row img {
width: 46px;
height: 46px;
object-fit: contain;
border: 1px solid #d3dae2;
background: #ffffff;
}
.suggested-id,
.suggested-active {
text-align: center;
font-variant-numeric: tabular-nums;
}
.suggested-name,
.suggested-reference {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.suggested-pick {
border: 1px solid #2f6fed;
border-radius: 5px;
padding: 5px 8px;
background: #2f6fed;
color: #ffffff;
cursor: pointer;
font-size: 12px;
}
.source-list {
display: grid;
gap: 8px;
padding: 10px;
overflow: auto;
}
.source-section {
display: grid;
gap: 4px;
border: 1px solid var(--table-line);
border-radius: 6px;
overflow: hidden;
background: #ffffff;
}
.source-section-header,
.source-row {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 10px;
min-height: 32px;
padding: 6px 8px;
font-size: 12px;
}
.source-section-header {
background: #e8edf3;
}
.source-section-actions {
display: flex;
align-items: center;
gap: 6px;
}
.source-picture-action {
border: 1px solid #9aa8b7;
border-radius: 4px;
padding: 3px 6px;
background: #ffffff;
color: #172033;
cursor: pointer;
font-size: 10px;
}
.source-picture-action:hover {
background: #e9f2ff;
border-color: #2f6fed;
}
.source-row {
color: #172033;
text-decoration: none;
border-top: 1px solid var(--table-line);
}
.source-row:hover {
background: #fff7df;
}
.source-row-title {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.source-status,
.source-row-action {
padding: 2px 6px;
border-radius: 5px;
font-size: 10px;
font-weight: 800;
}
.picture-candidate {
display: grid;
grid-template-rows: 132px auto;
gap: 6px;
color: inherit;
text-decoration: none;
font-size: 11px;
min-width: 132px;
}
.picture-candidate img {
width: 132px;
height: 132px;
object-fit: contain;
background: #fff;
border: 1px solid #d5dce5;
}
.picture-candidate span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.source-status.is-ok {
background: #dff7e7;
color: #0f7b4d;
}
.source-status.is-muted,
.source-row-action {
background: #edf1f5;
color: #4d5966;
}
@media (max-width: 980px) {
.catalog-screen {
grid-template-columns: 1fr;
}
.control-panel {
min-height: auto;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.record-id,
.arrow-row,
.parser-actions,
.app-status,
.mapping-box,
.picture-slot {
grid-column: span 2;
}
.product-panel {
padding: 0;
}
.field-grid {
grid-template-columns: 160px minmax(0, 1fr);
}
.table-wrap {
height: auto;
max-height: 70vh;
}
}
+109 -3
View File
@@ -5,7 +5,9 @@
--font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
--color-catalog-surface: #f4f6f8;
--color-catalog-panel: #22272e;
--color-catalog-panel-soft: #2d333b;
--color-catalog-accent: #7ee34d;
--color-catalog-accent-text: #10220b;
--color-catalog-danger: #e02424;
--color-catalog-focus: #2f6fed;
}
@@ -34,6 +36,110 @@
}
}
/* Compatibility component layer. Existing selectors stay stable while the
visual system is migrated to Tailwind utilities incrementally. */
@import "./tailwind-components.css";
@layer components {
.catalog-screen { @apply grid min-h-screen grid-cols-[172px_292px_minmax(720px,1fr)] bg-catalog-surface; }
.control-panel { @apply flex min-h-screen flex-col gap-1.5 overflow-y-auto bg-catalog-panel p-1.5 text-[11px]; }
.app-status { @apply order-[98] mt-auto rounded border border-slate-600 bg-catalog-panel-soft p-1 text-[10px] leading-tight text-slate-100; }
.safe-mode, #modePill { @apply inline-block rounded bg-slate-100 px-1 py-0.5 text-[10px] font-semibold text-slate-800; }
#databaseStatus.database-error { @apply bg-red-100 text-red-700; }
.record-id { @apply flex h-10 items-center justify-center rounded border border-lime-700 bg-catalog-accent text-[26px] font-bold leading-none text-catalog-accent-text; }
.arrow-row { @apply grid grid-cols-2 gap-1; }
.arrow-button, .action-button, .input-like { @apply w-full rounded border border-slate-300 bg-slate-50 text-center text-slate-900 shadow-sm transition; }
.arrow-button, .action-button { @apply min-h-7 px-1 text-[11px]; }
.arrow-button { @apply relative text-transparent; }
.arrow-button::before { @apply absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 text-xl leading-none text-slate-900; content: ""; }
.arrow-button-prev::before { content: ""; }
.arrow-button-next::before { content: ""; }
.parser-actions { @apply grid gap-1; }
.parser-actions .action-button { @apply min-h-7; }
.action-button.primary { @apply min-h-8 font-semibold; }
.arrow-button:hover:not(:disabled), .action-button:hover:not(:disabled) { @apply border-slate-500 bg-white; }
.arrow-button:disabled, .action-button:disabled { @apply cursor-not-allowed opacity-50; }
.input-like { @apply h-7 px-1 text-[11px]; }
#scanInput { @apply bg-slate-200 placeholder:text-slate-500; }
.input-like:focus { @apply border-catalog-focus outline-none ring-2 ring-catalog-focus/25; }
.picture-slot { @apply aspect-square w-full overflow-hidden rounded border border-dashed border-slate-500 bg-catalog-panel-soft p-1 text-center text-[11px] text-slate-200; }
.picture-slot img { @apply h-full w-full object-contain; }
.mapping-box { @apply rounded border border-slate-500 bg-catalog-panel-soft; }
.mapping-details summary { @apply grid cursor-pointer grid-cols-[minmax(0,1fr)_22px] items-center px-1 py-1 list-none; }
.mapping-details summary::-webkit-details-marker { display: none; }
.mapping-toggle::before { content: ""; @apply inline-block text-center text-lg leading-none text-slate-100; }
.mapping-details[open] .mapping-toggle::before { content: "⌄"; }
.mapping-state { @apply block truncate rounded px-1 py-0.5 text-[10px] font-normal; }
.mapping-state.is-ready { @apply bg-slate-100 text-slate-800; }
.mapping-state.is-missing { @apply bg-red-100 text-red-700; }
.mapping-list { @apply grid gap-0.5 px-1 pb-1; }
.mapping-source-row { @apply grid grid-cols-[minmax(0,1fr)_auto] items-center gap-1 rounded bg-slate-100 px-1 py-0.5 text-[10px] text-slate-800; }
.mapping-source-row.is-disabled { @apply opacity-50; }
.mapping-source-name { @apply truncate; }
.mapping-source-status { @apply rounded px-1 text-[9px] font-semibold; }
.mapping-source-status.is-ok { @apply bg-emerald-100 text-emerald-700; }
.mapping-source-status.is-bad { @apply bg-red-100 text-red-700; }
.mapping-source-status.is-muted { @apply bg-slate-200 text-slate-600; }
.product-panel { @apply bg-slate-300 pt-[22px]; }
.field-grid { @apply grid grid-cols-[132px_minmax(0,168px)] content-start; }
.field-label, .field-value { @apply min-h-[22px] border-b border-slate-300 px-1 py-0.5 text-[11px] leading-tight; }
.field-label { @apply bg-slate-200 text-slate-800; }
.field-value { @apply bg-teal-50 text-right text-slate-900; }
.field-value[data-field="manufacturer_name"] { @apply font-medium; }
.data-panel { @apply min-w-0 overflow-hidden bg-catalog-surface; }
.table-wrap { @apply h-full overflow-auto; }
.variant-table { @apply w-full border-collapse text-[11px]; }
.variant-table th, .variant-table td { @apply h-[22px] whitespace-nowrap border-b border-r border-slate-300 px-1 py-0.5 text-center; }
.variant-table th { @apply sticky top-0 z-10 bg-slate-200 font-medium text-slate-800; }
.variant-table td { @apply bg-slate-50 text-slate-800; }
.variant-table tr:nth-child(even) td { @apply bg-slate-100; }
.variant-table tr:hover td { @apply bg-slate-200; }
.empty-row { @apply py-4 text-slate-500; }
.variant-table .problem-ean { @apply bg-red-600 font-semibold text-white; }
.modal-backdrop { @apply fixed inset-0 z-50 flex items-center justify-center bg-slate-900/50 p-4; }
.modal-backdrop[hidden] { display: none; }
.suggested-dialog, .source-dialog, .settings-dialog { @apply max-h-[90vh] w-full overflow-hidden rounded-lg border border-slate-300 bg-slate-50 shadow-2xl; }
.suggested-dialog { @apply max-w-2xl; }
.source-dialog { @apply max-w-3xl; }
.settings-dialog { @apply max-w-md; }
.suggested-header { @apply flex items-center justify-between border-b border-slate-300 bg-slate-200 px-3 py-2; }
.suggested-header h2 { @apply m-0 text-sm font-semibold text-slate-800; }
.modal-close, .settings-test-button { @apply rounded border border-slate-300 bg-white px-2 py-1 text-[11px] text-slate-800 shadow-sm hover:bg-slate-100; }
.suggested-list, .source-list, .settings-content { @apply max-h-[calc(90vh-48px)] overflow-y-auto p-2; }
.settings-content { @apply grid gap-2; }
.settings-group { @apply m-0 rounded border border-slate-300 p-2; }
.settings-group legend { @apply px-1 text-xs font-semibold text-slate-700; }
.settings-option { @apply flex items-center gap-1 py-0.5 text-[11px] text-slate-700; }
.settings-option input { @apply accent-catalog-focus; }
.settings-option input:disabled + span { @apply text-slate-400; }
.local-db-fields { @apply grid gap-1; }
.local-db-fields[hidden] { display: none; }
.settings-field { @apply grid grid-cols-[72px_minmax(0,1fr)] items-center gap-2 text-[11px] text-slate-700; }
.settings-field input { @apply min-w-0 rounded border border-slate-300 bg-white px-1 py-1 text-[11px]; }
.settings-note, .settings-permissions { @apply m-0 text-[10px] leading-tight text-slate-500; }
.settings-permissions { @apply grid gap-0.5; }
.connection-ok { @apply text-emerald-700; }
.connection-error { @apply text-red-700; }
.suggested-row { @apply grid grid-cols-[40px_minmax(0,1fr)_auto] items-center gap-2 border-b border-slate-200 px-1 py-1 text-[11px]; }
.suggested-row:nth-child(even) { @apply bg-slate-100; }
.suggested-row img { @apply h-9 w-9 object-contain; }
.suggested-id, .suggested-active { @apply text-slate-500; }
.suggested-name, .suggested-reference { @apply min-w-0 truncate; }
.suggested-pick, .source-row-action, .source-picture-action { @apply rounded border border-slate-300 bg-white px-1.5 py-0.5 text-[10px] hover:bg-slate-100; }
.source-section { @apply mb-2 overflow-hidden rounded border border-slate-300; }
.source-section-header, .source-row { @apply flex items-center justify-between gap-2 border-b border-slate-200 px-2 py-1 text-[11px]; }
.source-section-header { @apply bg-slate-200 font-semibold; }
.source-section-actions { @apply flex items-center gap-1; }
.source-row { @apply bg-white hover:bg-slate-100; }
.source-row-title { @apply min-w-0 flex-1 truncate; }
.source-status, .source-row-action { @apply shrink-0 rounded px-1 text-[10px]; }
.source-status.is-ok { @apply bg-emerald-100 text-emerald-700; }
.source-status.is-muted { @apply bg-slate-200 text-slate-600; }
.picture-candidate { @apply grid grid-cols-[72px_minmax(0,1fr)] items-center gap-2 border-b border-slate-200 p-1 text-[10px]; }
.picture-candidate img { @apply h-16 w-[72px] object-contain; }
.picture-candidate span { @apply min-w-0 truncate; }
@media (max-width: 980px) {
.catalog-screen { @apply block; }
.control-panel { @apply min-h-0 grid grid-cols-2; }
.control-panel > * { @apply min-w-0; }
.app-status, #settingsButton { @apply col-span-2; }
.product-panel { @apply pt-0; }
.table-wrap { @apply max-h-[70vh]; }
}
}