Apps: - dwg-rooms: extract room numbers from DWG/DXF - dwg-counting: count symbols in PDF drawings (OpenCV template matching) - contract-check: review PDF contracts against a checklist (Claude vision + Tesseract OCR fallback) - email-drafter: bullet notes → polished Czech/English business emails - invoice-extractor: PDF/image invoice → structured data → Excel - translator: Czech-first translator across 19 languages with tone control - vv-check: find inconsistent unit prices across VV sheets in one workbook - vv-compare: diff original vs new VV files (changes / added / removed) - feature-request: portal users submit ideas + sample files Infrastructure: - LiteLLM gateway with per-app virtual keys + budgets - Langfuse observability - Geist font, shared theme, cross-subdomain back link + theme sync via cookie/URL - Caddy reverse proxy on *.klas.chat
187 lines
4.4 KiB
CSS
187 lines
4.4 KiB
CSS
/* Invoice-extractor specific styles */
|
|
|
|
.processing-sub {
|
|
font-size: 13px;
|
|
color: var(--text-tertiary);
|
|
margin: 8px auto 0;
|
|
max-width: 400px;
|
|
}
|
|
|
|
.invoice-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 18px;
|
|
}
|
|
|
|
.inv-card {
|
|
background: var(--card);
|
|
border: 1px solid var(--border-default);
|
|
border-radius: var(--radius-lg);
|
|
padding: 18px 20px;
|
|
box-shadow: var(--shadow-card);
|
|
}
|
|
.inv-card-title {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: var(--primary);
|
|
margin-bottom: 14px;
|
|
padding-bottom: 10px;
|
|
border-bottom: 1px solid var(--border-default);
|
|
}
|
|
.inv-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 12px 16px;
|
|
}
|
|
.inv-grid-3 {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
gap: 12px 16px;
|
|
}
|
|
@media (max-width: 720px) {
|
|
.inv-grid, .inv-grid-3 { grid-template-columns: 1fr; }
|
|
}
|
|
.inv-field { display: flex; flex-direction: column; gap: 4px; }
|
|
.inv-field-wide { grid-column: 1 / -1; }
|
|
|
|
.inv-label {
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
color: var(--text-tertiary);
|
|
letter-spacing: 0.02em;
|
|
}
|
|
.inv-input {
|
|
width: 100%;
|
|
padding: 8px 10px;
|
|
background: var(--bg-secondary);
|
|
border: 1px solid transparent;
|
|
border-radius: 6px;
|
|
color: var(--text-primary);
|
|
font-size: 14px;
|
|
font-family: inherit;
|
|
transition: border-color .15s, background .15s;
|
|
}
|
|
.inv-input:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
background: var(--bg-primary);
|
|
box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
|
|
}
|
|
.inv-input.is-empty { color: var(--text-quaternary); font-style: italic; }
|
|
.inv-input.is-empty::placeholder { color: var(--text-quaternary); }
|
|
|
|
/* Tables (line items & vat) */
|
|
.inv-table-wrap { overflow-x: auto; }
|
|
.inv-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 13px;
|
|
}
|
|
.inv-table th, .inv-table td {
|
|
padding: 8px 10px;
|
|
border-bottom: 1px solid var(--border-default);
|
|
text-align: left;
|
|
}
|
|
.inv-table th {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: var(--text-tertiary);
|
|
background: var(--bg-secondary);
|
|
}
|
|
.inv-table td input {
|
|
width: 100%;
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
padding: 4px 6px;
|
|
border-radius: 4px;
|
|
font-size: 13px;
|
|
font-family: inherit;
|
|
color: var(--text-primary);
|
|
}
|
|
.inv-table td input:focus {
|
|
outline: none;
|
|
background: var(--bg-primary);
|
|
border-color: var(--primary);
|
|
}
|
|
.inv-table td.num input { text-align: right; }
|
|
.inv-row-actions { width: 36px; text-align: center; }
|
|
.inv-row-delete {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-quaternary);
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
}
|
|
.inv-row-delete:hover { color: #dc2626; background: rgba(239,68,68,0.08); }
|
|
|
|
.inv-table-foot {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
margin-top: 10px;
|
|
}
|
|
.btn-add-row {
|
|
background: transparent;
|
|
border: 1px dashed var(--border-strong);
|
|
color: var(--text-tertiary);
|
|
font-size: 12px;
|
|
padding: 6px 12px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
}
|
|
.btn-add-row:hover { color: var(--primary); border-color: var(--primary); }
|
|
|
|
.totals-row {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 32px;
|
|
padding-top: 14px;
|
|
border-top: 2px solid var(--border-default);
|
|
}
|
|
.totals-row .total-cell {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
gap: 2px;
|
|
}
|
|
.totals-row .total-cell-label {
|
|
font-size: 11px;
|
|
color: var(--text-tertiary);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
}
|
|
.totals-row .total-cell-input {
|
|
width: 140px;
|
|
text-align: right;
|
|
font-weight: 600;
|
|
}
|
|
.totals-row .total-cell.primary .total-cell-input {
|
|
font-size: 18px;
|
|
color: var(--primary);
|
|
}
|
|
|
|
/* Back link */
|
|
.back-link {
|
|
display: inline-flex; align-items: center; gap: 6px;
|
|
padding: 6px 12px 6px 10px; border-radius: 8px;
|
|
font-size: 13px; font-weight: 500; color: var(--text-tertiary);
|
|
text-decoration: none; border: 0.5px solid var(--border-default);
|
|
background: var(--bg-primary); flex-shrink: 0;
|
|
transition: color .15s, border-color .15s, background .15s;
|
|
}
|
|
.back-link:hover {
|
|
color: var(--primary); border-color: var(--primary);
|
|
background: color-mix(in srgb, var(--primary) 6%, var(--bg-primary));
|
|
}
|
|
.back-link svg { opacity: 0.8; }
|
|
@media (max-width: 640px) {
|
|
.back-link span { display: none; }
|
|
.back-link { padding: 6px; }
|
|
}
|