/* VINORUM Laborportal (seit 1.11.7 im Look der Weingut-App): css/styles.css liefert Hülle, Seitenleiste,
   Karten, Felder, Dialoge — hier nur, was das Portal zusätzlich braucht. Namensraum lp-*. */
.lp-brand-sub { margin-left: 10px; font-size: .82em; letter-spacing: .06em; text-transform: uppercase; color: var(--accent, #D8BF92); }
.lp-kv { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 4px 12px; margin: 8px 0 12px; }
.lp-kv dt { color: var(--muted, #6b6b6b); font-size: .9em; } .lp-kv dd { margin: 0; overflow-wrap: anywhere; }
.lp-status { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: .85em; font-weight: 600; background: color-mix(in srgb, var(--text) 8%, transparent); }
.lp-status.is-ordered, .lp-status.is-at_lab { background: #e3edf7; color: #1565c0; }
.lp-status.is-result { background: #fdf0d9; color: #b26a00; }
.lp-status.is-accepted { background: #e5f2e5; color: #2e7d32; }
.lp-status.is-discarded, .lp-status.is-cancelled { opacity: .7; }
[data-theme='dark'] .lp-status.is-ordered, [data-theme='dark'] .lp-status.is-at_lab { background: rgba(21,101,192,.25); color: #9ec5f5; }
[data-theme='dark'] .lp-status.is-result { background: rgba(178,106,0,.25); color: #f3c77a; }
[data-theme='dark'] .lp-status.is-accepted { background: rgba(46,125,50,.25); color: #9bd39f; }
.lp-code { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .05em; }
.lp-zeile { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--card, transparent); cursor: pointer; margin-bottom: 6px; }
.lp-zeile:hover { border-color: var(--accent, #D8BF92); }
.lp-zeile .sub { color: var(--muted, #6b6b6b); font-size: .85em; }
.lp-liste { margin-top: 8px; }
.lp-werte { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px 14px; }
.lp-werte .field input { text-align: right; }
.lp-werte .field.is-neu label { color: #2e7d32; }
.lp-drop { border: 2px dashed var(--border); border-radius: 12px; padding: 18px; text-align: center; color: var(--muted, #6b6b6b); cursor: pointer; margin: 10px 0; display: block; }
.lp-drop.is-over { border-color: var(--brand, #6D2330); background: color-mix(in srgb, var(--brand, #6D2330) 6%, transparent); }
.lp-drop input { display: none; }
.lp-tabs { display: flex; gap: 6px; margin: 4px 0 10px; flex-wrap: wrap; }
.lp-tabs .btn.is-active { background: var(--anthracite, #232323); color: #fff; border-color: var(--anthracite, #232323); }
table.lp-tab { width: 100%; border-collapse: collapse; font-size: .9em; margin-top: 8px; }
table.lp-tab td, table.lp-tab th { text-align: left; padding: 4px 6px; border-bottom: 1px solid var(--border); vertical-align: top; }
.lp-hb h3 { margin: 18px 0 6px; color: var(--brand, #6D2330); font-size: 1.05em; }
.lp-hb p, .lp-hb li { line-height: 1.5; }
.lp-hb code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; }
.lp-hb-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.lp-hint-box { border-left: 3px solid var(--accent, #D8BF92); padding: 6px 10px; margin: 8px 0; background: color-mix(in srgb, var(--accent, #D8BF92) 12%, transparent); border-radius: 6px; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.lp-sb-name { display: block; font-size: .78em; color: var(--accent, #D8BF92); padding: 0 12px 6px; opacity: .9; }
@media (max-width: 640px) { .lp-kv { grid-template-columns: 1fr; } .lp-zeile { grid-template-columns: 1fr; } }
/* 1.11.9: Zeitraum-Felder im Filter, Passwortformular in den Einstellungen */
.lp-body .fdrop-dates { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; padding: 8px 10px; border-top: 1px solid var(--border); }
.lp-body .fdrop-dates label { display: flex; flex-direction: column; font-size: .8em; color: var(--muted, #6b6b6b); }
.lp-body .lp-pw { padding: 10px 0 0; }
.lp-body .lp-pw .grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 12px; }
/* 1.11.11: Kürzeltabelle */
.lp-body .lp-tab-wrap { overflow-x: auto; }
.lp-body table.lp-kuerzel input, .lp-body table.lp-kuerzel select { padding: 4px 6px; }
