/* NEUMEIER RAL 5018: restrained turquoise sales workspace. */
#offer-crm{--crm-accent:#048b8c;min-width:0}
#offer-crm .panel-head{flex-wrap:wrap}
#offer-crm .eyebrow{color:var(--crm-accent)}
.offer-crm-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}
.offer-crm-summary>div{display:flex;flex-direction:column;gap:5px;padding:18px;border:1px solid #d4e6e5;border-top:3px solid var(--crm-accent);border-radius:10px;background:#f5fbfa}
.offer-crm-summary strong{font-size:28px;color:#14605f}
.offer-crm-filters,.offer-crm-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}
.offer-crm-filters label,.offer-crm-fields label{min-width:0;align-content:start}
.offer-crm-scroll{overflow:auto}
.offer-crm-scroll table{min-width:1000px;width:100%;border-collapse:collapse}
.offer-crm-scroll th,.offer-crm-scroll td{padding:12px;text-align:left;vertical-align:top;border-bottom:1px solid #dce5e6}
.offer-crm-scroll th{background:#eff7f6;white-space:nowrap}
.offer-crm-scroll td:nth-child(2){white-space:nowrap}
.offer-crm-scroll small{display:block;max-width:320px;margin-top:5px;color:#596b70;overflow-wrap:anywhere}
.offer-crm-detail{border:1px solid #d3e4e3;border-top:3px solid var(--crm-accent);border-radius:12px;padding:22px;margin-top:24px}
.offer-crm-detail textarea,.offer-crm-detail input,.offer-crm-detail select{width:100%;box-sizing:border-box}
.offer-crm-contact{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:12px 0}
.offer-crm-event{padding:14px 0;border-bottom:1px solid #e0e8e8;overflow-wrap:anywhere}
.offer-crm-event p{white-space:normal;margin:6px 0}
.offer-crm-mail{margin-top:24px;padding-top:16px;border-top:1px solid #dce5e6}
.offer-crm-mail summary{cursor:pointer;font-weight:600}
@media(max-width:700px){.offer-crm-summary,.offer-crm-filters,.offer-crm-fields{grid-template-columns:1fr}.offer-crm-detail{padding:14px}}
@media print{.offer-crm-filters,.offer-crm-contact,#offer-crm button,.offer-crm-mail{display:none}.offer-crm-scroll{overflow:visible}.offer-crm-scroll table{min-width:0;font-size:9pt}}
.offer-crm-mail-admin{padding:16px;background:#f5fbfa;border:1px solid #d4e6e5;border-radius:8px;margin-top:16px;overflow-wrap:anywhere}
.offer-crm-mail-admin form{max-width:650px;margin-top:16px}
.offer-crm-mail-admin input{width:100%;box-sizing:border-box}
.offer-crm-selected>td{background:#eff8f7}
.offer-crm-inline>td{padding:12px;background:#f7fbfb}
.offer-crm-inline .offer-crm-detail{margin-top:0;background:#fff}
.offer-crm-open-document{display:inline-block;padding:10px 14px;border-radius:6px;background:var(--crm-accent);color:#fff;font-weight:700;text-decoration:none}
.offer-crm-open-document:hover{background:#14605f;color:#fff}
.offer-crm-scroll table{min-width:1200px}
.offer-crm-date{white-space:nowrap}
.offer-crm-scroll td:nth-child(4){white-space:nowrap}

.offer-crm-column-filters th {padding:7px 6px}
.offer-crm-column-filters input,.offer-crm-column-filters select {width:100%;min-width:100px;max-width:245px;height:34px;font-size:12px;background:white;border:1px solid #ccdfe0;border-radius:5px;padding:5px}
.offer-crm-column-filters select[data-crm-column=stage] {min-width:185px}
.offer-crm-column-filters select[data-crm-column=owner] {min-width:160px}
.offer-crm-column-filters button {font-size:11px;padding:7px}
.offer-assignment-popup {position:fixed;inset:85px 20px auto auto;z-index:120000;margin:0;width:min(410px,calc(100vw - 30px));padding:20px;border:1px solid #80c8cc;border-left:5px solid #008c95;border-radius:10px;background:white;color:#1f2933;box-shadow:0 12px 40px #112d4030;font:14px/1.5 Arial,sans-serif}
.offer-assignment-popup[hidden] {display:none}
.offer-assignment-popup h3 {margin:10px 0;font-size:20px}
.offer-assignment-popup > div {display:flex;gap:6px;flex-wrap:wrap}
.offer-assignment-popup button {font-size:12px;padding:8px 10px}
@media print {.offer-crm-column-filters,.offer-assignment-popup {display:none}}
