/* V395: Kontrakte & Verhandlungen */
.v395-seg{display:flex;gap:6px;margin:4px 0 12px;flex-wrap:wrap}
.v395-seg button,.v395-steps button{width:auto;flex:1 1 auto;background:#e6efe9!important;color:#174d39!important;border:0!important}
.v395-seg button.v395-on,.v395-steps button.v395-on{background:#174b37!important;color:#fff!important}
.v395-steps{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 12px}.v395-steps button[disabled]{opacity:.45}
.v395-top{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:4px 0 8px}.v395-top button{width:auto}
.v395-card{display:block;width:100%;text-align:left;background:#fff!important;color:#173b2c!important;border:1px solid #c6dfce!important;border-radius:12px;padding:10px 12px!important;margin:0 0 8px}
.v395-card small{display:block;color:#5e6f66;font-weight:normal;margin-top:2px}
.v395-st{display:inline-block;font-size:.8em;padding:1px 8px;border-radius:10px;background:#eef3ef;color:#36594a;font-weight:600}
.v395-st-angefragt{background:#fff4d6;color:#7a5b00}.v395-st-vergeben{background:#dff2e5;color:#1f6b3d}.v395-st-verworfen{background:#f6e3e0;color:#8a2a20}
.v395-tab{overflow-x:auto;margin:6px 0}.v395-tab table{width:100%;border-collapse:collapse;font-size:.92em}
.v395-tab th,.v395-tab td{padding:6px 6px;border-bottom:1px solid #e1ebe4;vertical-align:top;text-align:left}.v395-tab .r{text-align:right;white-space:nowrap}
.v395-tab input,.v395-tab select{min-width:70px;padding:6px;font-size:1em}.v395-qty{width:110px!important;text-align:right}
.v395-stock{color:#1f6b3d}.v395-best{background:#dff2e5;font-weight:700}.v395-ki{background:#fff8d9}
.v395-sumrow td{border-top:2px solid #c6dfce}
.v395-chips{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 10px}
.v395-ied{border:1px solid #c6dfce;border-radius:12px;padding:10px 12px;background:#f8fbf8;margin:8px 0}
.v395-res{display:flex;flex-direction:column;gap:4px;max-height:260px;overflow:auto;border:1px solid #d7e6dc;border-radius:8px;padding:4px;background:#fff}
.v395-res button{width:100%;text-align:left;background:#fff!important;color:#173b2c!important;border:0!important;border-bottom:1px solid #eef3ef!important;padding:6px 8px!important}
.v395-filt{display:flex;flex-direction:column;gap:6px;margin:6px 0}
.v395-sug{display:flex;flex-direction:column;justify-content:flex-end;gap:2px;padding-bottom:6px}
.v395-pc{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;border:1px solid #e1ebe4;border-radius:10px;padding:8px 10px;margin:6px 0}
.v395-pc small{display:block;color:#5e6f66}.v395-btns{display:flex;gap:6px;flex-wrap:wrap}.v395-btns button{width:auto}
.v395-prev pre{white-space:pre-wrap;background:#f6faf7;border:1px solid #e1ebe4;border-radius:8px;padding:8px;font-size:.9em}
.v395-af{display:flex;gap:6px;align-items:center;margin:4px 0}.v395-af select{flex:1 1 auto}.v395-af input{width:120px;text-align:right}
.v395-save{position:sticky;bottom:calc(84px + env(safe-area-inset-bottom));background:#fff;padding:8px 0;z-index:3}
.v395-sheet{width:min(1100px,100%)}
#v395InvBtn{width:auto;margin:0 0 10px}
.v395-rates table{width:100%;border-collapse:collapse;margin:4px 0 6px}.v395-rates th,.v395-rates td{padding:4px 6px;border-bottom:1px solid #e3e8e4;text-align:left;font-size:.92em}.v395-rates .r{text-align:right;white-space:nowrap}.v395-rates input{width:80px!important;min-width:0}
#v395Items td:nth-child(2){min-width:120px}#v395Items td:nth-child(3){min-width:150px}
.v395-afc{margin:0 0 10px 12px;padding:8px 10px;border-left:3px solid #cfe3d6;background:#f6faf7;border-radius:6px}.v395-afc table{width:100%;border-collapse:collapse;margin-top:6px}.v395-afc th,.v395-afc td{padding:4px 6px;border-bottom:1px solid #e3e8e4;text-align:left;font-size:.92em}.v395-afc .r{text-align:right;white-space:nowrap}.v395-afc input{width:80px!important;min-width:0}.v395-afy{display:inline-flex;gap:6px;align-items:center}.v395-afy select{width:auto}
.v395-af{flex-wrap:wrap}
.v395-aw{display:flex;align-items:flex-start;gap:6px;flex-wrap:wrap}.v395-aw details{flex:1 1 auto}.v395-aw summary{cursor:pointer;list-style:none}.v395-aw summary::-webkit-details-marker{display:none}.v395-aw summary small{text-decoration:underline dotted;text-underline-offset:3px}.v395-aw details[open] summary small{text-decoration:none}.v395-awf{list-style:none;margin:6px 0 2px;padding:6px 10px;background:#f6faf7;border-left:3px solid #cfe3d6;border-radius:6px}.v395-awf li{display:flex;justify-content:space-between;gap:12px;font-size:.9em;padding:2px 0}
/* V505: Angebotsvergleich auf dem Handy – Spalte „Ware“ nicht mehr Buchstabe für Buchstabe; Tabelle scrollt seitlich, Ware bleibt links stehen */
.v395-tab table.v395-cmp{width:auto;min-width:100%}
.v395-cmp th:first-child,.v395-cmp td:first-child{min-width:8em;position:sticky;left:0;background:#fff;z-index:1;box-shadow:1px 0 0 #e1ebe4}
.v395-cmp .v395-sumrow td:first-child{min-width:8em;white-space:normal}
