.sectionHeader { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; } .sectionTitleRow { display: flex; align-items: flex-start; gap: 10px; color: var(--primary); } .sectionTitle { margin: 0 0 2px; font-size: 15px; font-weight: 700; color: var(--text-primary); } .sectionSubtitle { margin: 0; font-size: 12.5px; color: var(--text-secondary); max-width: min(560px, 100%); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .topTextPreview { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .hint { margin-top: 16px; font-size: 12.5px; color: var(--text-secondary); } .hint a { color: var(--primary); font-weight: 600; } .hint a:hover { text-decoration: underline; } /* Invoice templates list: name+subtext ~ half width (6/12) */ .invoiceTemplatesTable col.nameCol { width: 50%; } .invoiceTemplatesTable col.countCol { width: 12%; } .invoiceTemplatesTable col.actionsCol { width: 14%; } /* Item templates: title+desc ~ half width (6/12), rest share the other half */ .itemTemplatesTable col.nameCol { width: 50%; } .itemTemplatesTable col.durationCol, .itemTemplatesTable col.worktimeCol { width: 10%; } .itemTemplatesTable col.priceCol, .itemTemplatesTable col.discountedCol { width: 11%; } .itemTemplatesTable col.actionsCol { width: 8%; } .nameCell { min-width: 0; } .nameCell .subText, .nameCellDesc, .nameCell .topTextPreview { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; white-space: normal; word-break: break-word; line-height: 1.4; margin-top: 2px; max-width: none; } @media (max-width: 720px) { .sectionHeader { flex-direction: column; } }