991 lines
53 KiB
CSS
991 lines
53 KiB
CSS
:root{
|
|
/* Accent — single brand color, per UI_DESIGN_THEME.md (enterprise variant: standard blue) */
|
|
--blue:#2563EB;
|
|
--blue-b:#1D4ED8;
|
|
--cyan:#2563EB;
|
|
|
|
/* Status colors — never reused as brand accent */
|
|
--green:#16A34A; --green-l:#DCFCE7; --green-d:#15803D;
|
|
--amber:#D97706; --amber-l:#FEF3C7;
|
|
--red:#DC2626; --red-l:#FEE2E2;
|
|
|
|
/* Background stack — light surfaces, per UI_DESIGN_THEME.md's own
|
|
light-surface tokens (--surface/--surface-2/--page) */
|
|
--navy:#EEF1F6;
|
|
--navy-2:#FFFFFF;
|
|
--navy-3:#F8FAFD;
|
|
|
|
/* Text on light surfaces, per UI_DESIGN_THEME.md */
|
|
--t1:#0D1526; --t2:#2D3A52; --t3:#6B7A99; --t4:#9BA8C0;
|
|
|
|
/* Borders, per UI_DESIGN_THEME.md's light-surface tokens */
|
|
--border:rgba(28,56,121,.11);
|
|
--border-2:rgba(28,56,121,.18);
|
|
--border-b:rgba(37,99,235,.28);
|
|
|
|
--shadow:0 2px 8px rgba(12,26,60,.06),0 8px 28px rgba(12,26,60,.09),0 0 0 1px rgba(28,56,121,.06);
|
|
--shadow-h:0 4px 16px rgba(12,26,60,.10),0 16px 48px rgba(12,26,60,.13),0 0 0 1px rgba(37,99,235,.18);
|
|
|
|
--fd:'Inter',sans-serif;
|
|
--fb:'Inter',sans-serif;
|
|
--fm:'JetBrains Mono',monospace;
|
|
--r:8px;
|
|
}
|
|
|
|
*{ box-sizing:border-box; margin:0; padding:0; }
|
|
body{ font-family:var(--fb); background:var(--navy); color:var(--t1); min-height:100vh; -webkit-font-smoothing:antialiased; }
|
|
|
|
main{ position:relative; z-index:1; max-width:1360px; margin:0 auto; padding:56px 24px 90px; }
|
|
|
|
.eyebrow{
|
|
display:inline-flex; align-items:center; gap:7px;
|
|
font-family:var(--fm); font-size:11px; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
|
|
color:var(--blue); background:rgba(37,99,235,.08); border:1px solid var(--border-b);
|
|
padding:5px 12px; border-radius:20px; margin-bottom:16px;
|
|
}
|
|
.eyebrow::before{ content:''; width:6px; height:6px; border-radius:50%; background:var(--blue); }
|
|
|
|
h1{ font-family:var(--fd); font-weight:800; font-size:30px; letter-spacing:-.01em; margin-bottom:10px; }
|
|
.sub{ color:var(--t3); font-size:14.5px; line-height:1.6; max-width:620px; margin-bottom:34px; }
|
|
|
|
.card{
|
|
background:var(--navy-2); border:1px solid var(--border); border-radius:var(--r);
|
|
padding:28px 26px; margin-bottom:22px; box-shadow:var(--shadow);
|
|
}
|
|
.card h2{
|
|
font-family:var(--fm); font-size:11px; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
|
|
color:var(--blue); margin-bottom:18px;
|
|
}
|
|
|
|
.file-zone{
|
|
border:1.5px dashed var(--border-2); border-radius:10px; padding:26px 20px; text-align:center;
|
|
cursor:pointer; transition:all .2s; position:relative; margin-bottom:16px;
|
|
}
|
|
.file-zone:hover, .file-zone.drag-over{ border-color:var(--blue); background:rgba(37,99,235,.04); }
|
|
.file-zone input[type="file"]{ position:absolute; inset:0; opacity:0; cursor:pointer; width:100%; height:100%; }
|
|
.file-zone-label{ font-size:13.5px; color:var(--t2); }
|
|
.file-zone-label strong{ color:var(--blue); font-weight:600; }
|
|
.file-zone-sub{ font-size:11.5px; color:var(--t4); margin-top:5px; }
|
|
|
|
.staged-files{ list-style:none; margin:0 0 14px; padding:0; display:flex; flex-direction:column; gap:6px; }
|
|
.staged-files li{
|
|
display:flex; align-items:center; justify-content:space-between; gap:10px;
|
|
background:var(--navy); border:1px solid var(--border-2); border-radius:7px; padding:7px 8px 7px 11px;
|
|
}
|
|
.staged-file-name{
|
|
display:flex; align-items:center; gap:7px; font-family:var(--fm); font-size:12px; color:var(--t1);
|
|
white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
|
|
}
|
|
.staged-file-name i{ color:var(--t4); font-size:11px; flex-shrink:0; }
|
|
.file-zone-icon{ display:block; font-size:26px; color:var(--border-b); margin-bottom:10px; }
|
|
.staged-file-remove{
|
|
background:transparent; border:none; cursor:pointer; color:var(--t4); font-size:11px;
|
|
padding:4px 6px; border-radius:5px; flex-shrink:0; line-height:1;
|
|
}
|
|
.staged-file-remove:hover{ color:var(--red); background:rgba(16,24,40,.06); }
|
|
|
|
/* .fields-row pairs the balance inputs with the Recheck Balance button -
|
|
the button sits at the row's own right edge, lining up under the
|
|
Hide/Show Source Doc toggle above it (txn-col-head is also a full-width
|
|
row with its own button at the right). Drops below the closing-balance
|
|
field on narrow viewports - see the mobile breakpoint below. */
|
|
.fields-row{ display:flex; align-items:flex-start; gap:16px; margin-bottom:16px; }
|
|
.fields-row .fields{ flex:1 1 auto; min-width:0; margin-bottom:0; }
|
|
/* .recheck-spacer mirrors .fields label's own box (same font-size/
|
|
margin-bottom) invisibly, so the button below it starts at exactly the
|
|
same y as the balance inputs - aligned with the closing-balance field,
|
|
not the row's top edge (where the labels sit). Matching the TOP edge
|
|
alone isn't enough though - .btn-toggle's own padding makes it
|
|
naturally shorter than a balance input (which has more vertical
|
|
padding plus a border), so both get the same explicit height below,
|
|
with the button's text centered in it via flex, instead of leaving
|
|
either height to the browser's own font-metric-driven "auto". */
|
|
.recheck-wrap{ display:flex; flex-direction:column; flex-shrink:0; }
|
|
.recheck-spacer{ font-size:11.5px; line-height:1; margin-bottom:6px; visibility:hidden; }
|
|
/* height/display/align now come from .btn-toggle itself (every blue
|
|
toggle-style button is a consistent 36px tall) - this just keeps the
|
|
button from wrapping or shrinking in its own flex row. */
|
|
.btn-recheck{ flex-shrink:0; white-space:nowrap; }
|
|
.fields{ display:flex; flex-wrap:wrap; gap:16px; }
|
|
.fields > div{ flex:1 1 180px; min-width:160px; }
|
|
.fields label{ font-size:11.5px; color:var(--t3); display:block; margin-bottom:6px; white-space:normal; }
|
|
.fields input{
|
|
width:100%; height:36px; padding:0 11px; background:var(--navy); border:1px solid var(--border-2);
|
|
border-radius:8px; font-size:13px; color:var(--t1); font-family:var(--fb); outline:none; transition:border-color .2s;
|
|
}
|
|
.fields input:focus{ border-color:var(--blue); }
|
|
.calc-readout{ font-family:var(--fm); font-size:11.5px; color:var(--t3); margin-top:6px; min-height:14px; }
|
|
.calc-readout.match{ color:var(--green); }
|
|
|
|
.note{ font-size:12px; color:var(--t4); line-height:1.6; margin-bottom:18px; }
|
|
|
|
.btn{
|
|
display:inline-flex; align-items:center; justify-content:center; gap:8px;
|
|
font-family:var(--fd); font-weight:700; font-size:13.5px; border-radius:10px; border:none;
|
|
padding:11px 22px; cursor:pointer; transition:all .2s;
|
|
}
|
|
.btn-primary{ background:var(--blue); color:var(--navy-2); box-shadow:0 4px 18px rgba(37,99,235,.18); }
|
|
.btn-primary:hover{ background:var(--blue-b); }
|
|
.btn-primary:disabled{ opacity:.35; cursor:not-allowed; box-shadow:none; }
|
|
.btn-danger{ background:var(--red); color:var(--navy-2); box-shadow:0 4px 18px rgba(220,38,38,.18); }
|
|
.btn-danger:hover{ background:#B91C1C; }
|
|
.btn-danger:disabled{ opacity:.35; cursor:not-allowed; box-shadow:none; }
|
|
.btn-ghost{
|
|
background:transparent; color:var(--t1); border:1px solid var(--border-2);
|
|
}
|
|
.btn-ghost:hover{ border-color:var(--border-b); color:var(--blue); }
|
|
|
|
.spinner{ font-family:var(--fm); font-size:12px; color:var(--t4); margin-left:12px; }
|
|
|
|
.error-note{
|
|
display:none; font-size:12.5px; color:var(--red); background:var(--red-l);
|
|
border:1px solid rgba(220,38,38,.3); border-radius:9px; padding:11px 14px; margin-top:12px;
|
|
}
|
|
.error-note.visible{ display:block; }
|
|
.fields-row + .error-note.visible{ margin-bottom:14px; }
|
|
|
|
/* The layout mapper's own "this statement needs manual mapping" notice
|
|
(L.6, 2026-10-14) - the same bordered-notice shape as .error-note,
|
|
just blue/informational rather than red/error, since this isn't a
|
|
failure the user did anything wrong to cause. */
|
|
.banner{
|
|
display:flex; align-items:center; gap:10px; font-size:12.5px; color:var(--t2);
|
|
border-radius:9px; padding:11px 14px; margin-bottom:18px;
|
|
}
|
|
.banner-info{ background:rgba(37,99,235,.08); border:1px solid var(--border-b); }
|
|
.banner-info i{ color:var(--blue); flex-shrink:0; }
|
|
.banner span{ flex:1 1 auto; }
|
|
|
|
.status-banner{
|
|
display:inline-flex; align-items:center; gap:9px; padding:7px 15px; border-radius:20px;
|
|
font-family:var(--fm); font-weight:600; font-size:12.5px; letter-spacing:.03em; text-transform:uppercase;
|
|
margin-bottom:18px;
|
|
}
|
|
.status-banner.Verified{ background:var(--green-l); color:var(--green-d); }
|
|
.status-banner.Needs-review{ background:var(--amber-l); color:var(--amber); }
|
|
.status-banner.Failed{ background:var(--red-l); color:var(--red); }
|
|
|
|
.period-note{ font-size:12.5px; color:var(--t3); margin-bottom:18px; }
|
|
|
|
.checks-list{ list-style:none; }
|
|
.checks-list li{
|
|
display:flex; gap:12px; align-items:flex-start; padding:11px 0; border-bottom:1px solid var(--border);
|
|
font-size:13px; color:var(--t2);
|
|
}
|
|
.checks-list li:last-child{ border-bottom:none; }
|
|
.checks-list strong{ font-family:var(--fd); font-weight:700; color:var(--t1); text-transform:capitalize; }
|
|
|
|
.tag{
|
|
display:inline-flex; align-items:center; gap:4px;
|
|
font-family:var(--fm); font-size:9.5px; font-weight:600; text-transform:uppercase; letter-spacing:.06em;
|
|
padding:3px 9px; border-radius:20px; white-space:nowrap; flex-shrink:0; margin-top:1px;
|
|
}
|
|
.tag.pass{ background:var(--green-l); color:var(--green-d); }
|
|
.tag.fail{ background:var(--red-l); color:var(--red); }
|
|
.tag.needs_review{ background:var(--amber-l); color:var(--amber); }
|
|
.tag.not_available{ background:rgba(16,24,40,.06); color:var(--t4); }
|
|
/* layoutMappings.status (layout mapper L.7's Layouts page). */
|
|
.tag.private{ background:rgba(16,24,40,.06); color:var(--t3); }
|
|
.tag.shared{ background:var(--green-l); color:var(--green-d); }
|
|
.tag.stale{ background:var(--amber-l); color:var(--amber); }
|
|
.tag.retired{ background:var(--red-l); color:var(--red); }
|
|
|
|
.table-wrap{ overflow-x:auto; margin-top:4px; }
|
|
/* min-width stops the Description column from being squeezed unreadable
|
|
when this panel is narrowed via the resizer - table-layout:fixed
|
|
otherwise shrinks EVERY column (including the fixed-pixel ones)
|
|
proportionally to fit width:100%, Description included, down to
|
|
illegible slivers. The fixed columns' own widths sum to 504px; 160px
|
|
is a legible floor for Description (fits several words before
|
|
wrapping) - below that combined 664px, .table-wrap's own
|
|
overflow-x:auto takes over and the table scrolls horizontally
|
|
instead of compressing further. At or above 664px, width:100% still
|
|
governs exactly as before - Description just gets whatever's left
|
|
over the fixed columns, same as it always did. */
|
|
table{ width:100%; min-width:664px; border-collapse:collapse; font-size:12.5px; table-layout:fixed; }
|
|
th{
|
|
text-align:left; padding:9px 10px; font-family:var(--fm); font-size:10px; font-weight:600;
|
|
letter-spacing:.06em; text-transform:uppercase; color:var(--t4); border-bottom:1px solid var(--border-2);
|
|
white-space:nowrap; overflow:hidden;
|
|
}
|
|
td{ text-align:left; padding:3px 4px; border-bottom:1px solid var(--border); color:var(--t2); white-space:nowrap; overflow:hidden; }
|
|
td.desc{ white-space:normal; color:var(--t1); overflow:visible; }
|
|
td.amt, th.amt{ text-align:right; font-family:var(--fm); }
|
|
tr.flagged td{ background:rgba(217,119,6,.08); }
|
|
tr.flagged td:first-child{ border-left:2px solid var(--amber); }
|
|
|
|
/* A row with real source position data highlights on the source
|
|
document when clicked anywhere outside its own action buttons
|
|
(TransactionRow.vue's handleRowClick, which excludes .row-actions) -
|
|
cursor:pointer signals that on every OTHER cell, not the actions one,
|
|
which already has its own per-button pointer cursor. */
|
|
tr.has-position td:not(.row-actions){ cursor:pointer; }
|
|
|
|
/* Sort arrows sit inline next to each sortable header's own label - a
|
|
muted up/down pair that turns the accent blue for whichever column +
|
|
direction is currently active, rather than a single toggle arrow, so
|
|
both directions are always visibly available, not just the active one. */
|
|
.sort-arrows{ display:inline-flex; flex-direction:column; vertical-align:middle; margin-left:4px; gap:1px; }
|
|
.sort-arrow{
|
|
background:transparent; border:none; cursor:pointer; padding:0; margin:0; font-size:6px;
|
|
line-height:1; color:var(--border-b);
|
|
}
|
|
.sort-arrow:hover{ color:var(--blue); }
|
|
.sort-arrow.active{ color:var(--blue); }
|
|
|
|
/* Filter row sits directly beneath the header row, one input per column
|
|
(Description's doubles as a free-text search) - same colgroup widths
|
|
apply automatically since the table is table-layout:fixed. */
|
|
.filter-row th{ padding:6px 8px 10px; text-transform:none; font-weight:400; }
|
|
.filter-input{
|
|
width:100%; padding:5px 7px; background:var(--navy); border:1px solid var(--border-2);
|
|
border-radius:6px; font-size:11.5px; color:var(--t1); font-family:var(--fb); outline:none;
|
|
transition:border-color .2s;
|
|
}
|
|
.filter-input:focus{ border-color:var(--blue); }
|
|
.filter-select{ cursor:pointer; }
|
|
.clear-filters-btn{
|
|
background:transparent; border:none; cursor:pointer; color:var(--t4); font-size:12px;
|
|
padding:4px; line-height:1; border-radius:5px;
|
|
}
|
|
.clear-filters-btn:hover{ color:var(--red); background:rgba(16,24,40,.06); }
|
|
.no-rows-note{ text-align:center; color:var(--t4); padding:20px 10px; white-space:normal; }
|
|
|
|
.cell-input{
|
|
width:100%; background:transparent; border:1px solid transparent; border-radius:5px;
|
|
padding:6px 6px; font:inherit; color:inherit; text-align:inherit; font-family:inherit;
|
|
}
|
|
.cell-input:read-only{ color:var(--t2); cursor:default; }
|
|
tr.editing .cell-input:not(:read-only):hover{ border-color:var(--border-2); }
|
|
tr.editing .cell-input:not(:read-only):focus{ outline:none; border-color:var(--blue); background:rgba(37,99,235,.05); }
|
|
.cell-input.edited{ background:rgba(37,99,235,.08); border-color:var(--border-b); }
|
|
.desc-input{
|
|
display:block; white-space:pre-wrap; word-break:break-word; resize:none;
|
|
overflow:hidden; min-height:28px; line-height:1.5;
|
|
}
|
|
td.amt .cell-input{ text-align:right; font-family:var(--fm); }
|
|
|
|
.row-actions{ width:74px; padding:3px 0 3px 4px !important; white-space:nowrap; }
|
|
.row-btn{
|
|
background:transparent; border:none; cursor:pointer; padding:4px; border-radius:5px;
|
|
font-size:13px; line-height:1; color:var(--t4); transition:color .15s, background .15s;
|
|
}
|
|
.row-btn:hover{ color:var(--t1); background:rgba(16,24,40,.06); }
|
|
.row-btn.edit{ color:var(--blue); }
|
|
.row-btn.save{ color:var(--blue); }
|
|
.row-btn.cancel{ color:var(--t4); }
|
|
.row-btn.flag-toggle{ color:var(--amber); }
|
|
.row-btn.flag-toggle.active{ color:var(--navy-2); background:var(--amber); }
|
|
.row-btn.flag-toggle.active:hover{ background:var(--amber); color:var(--navy-2); }
|
|
tr.editing td{ background:rgba(37,99,235,.03); }
|
|
|
|
/* Structural row edits (review screen R.4) - a small popover menu off
|
|
the row's own "more actions" icon, not Teleported (unlike the app's
|
|
modals - see ConfirmModal.vue's own comment on why those need to
|
|
escape their ancestor's stacking context entirely): this only needs
|
|
to sit above nearby rows within the SAME table, which plain z-index
|
|
already handles. Known, accepted limitation: opened on a row flush
|
|
against the scrollable table's own bottom edge, the menu can get
|
|
clipped by .table-wrap's overflow-y:auto - not fixed here, revisit if
|
|
it's ever actually reported as a real problem. */
|
|
.row-btn.more{ font-size:12px; }
|
|
.row-menu-wrap{ position:relative; display:inline-block; }
|
|
.row-menu{
|
|
position:absolute; top:100%; right:0; z-index:5; width:180px; margin-top:4px;
|
|
background:var(--navy-2); border:1px solid var(--border); border-radius:8px; box-shadow:var(--shadow-h);
|
|
padding:4px; display:flex; flex-direction:column; gap:1px;
|
|
}
|
|
.row-menu button{
|
|
display:flex; align-items:center; gap:9px; width:100%; text-align:left; background:transparent; border:none;
|
|
cursor:pointer; padding:7px 9px; border-radius:5px; font-size:12.5px; color:var(--t2); font-family:var(--fb);
|
|
}
|
|
.row-menu button i{ width:14px; text-align:center; color:var(--t4); font-size:11px; flex-shrink:0; }
|
|
.row-menu button:hover{ background:rgba(37,99,235,.08); color:var(--blue); }
|
|
.row-menu button:hover i{ color:var(--blue); }
|
|
.row-menu button.row-menu-danger:hover{ background:var(--red-l); color:var(--red); }
|
|
.row-menu button.row-menu-danger:hover i{ color:var(--red); }
|
|
|
|
/* The review screen's plain-language flag explanation - a second <tr>
|
|
TransactionRow.vue renders beneath the flagged row itself when its own
|
|
flag-toggle is active (Vue 3 components can have multiple root nodes,
|
|
so this is a real sibling <tr>, not a wrapped div - keeps the table
|
|
itself valid HTML). */
|
|
.flag-detail-row td{ background:rgba(217,119,6,.06); padding:12px 14px; border-bottom:1px solid var(--border); }
|
|
.flag-detail{ margin-bottom:10px; font-size:12.5px; line-height:1.6; color:var(--t2); white-space:normal; }
|
|
.flag-detail:last-of-type{ margin-bottom:12px; }
|
|
.flag-detail-part{ margin-bottom:2px; }
|
|
.flag-detail-part strong{ color:var(--t1); font-family:var(--fd); }
|
|
.flag-show-source{ font-size:11.5px; padding:0 12px; height:30px; }
|
|
.flag-show-source:disabled{ opacity:.4; cursor:not-allowed; }
|
|
|
|
/* "Mark as checked" (review screen R.5) - sits under each flag's own
|
|
four-part explanation, right-aligned via margin-left:auto since
|
|
.flag-detail isn't itself a flex container (its parts stack as plain
|
|
block divs); .active mirrors .btn-toggle-active's own filled style so
|
|
an acknowledged flag reads as visually "done", not just text-changed. */
|
|
.flag-acknowledge{ display:flex; margin-left:auto; margin-top:6px; font-size:11.5px; padding:0 12px; height:28px; }
|
|
.flag-acknowledge.active{ background:var(--green); border-color:var(--green); color:#fff; }
|
|
.flag-acknowledge.active:hover{ background:var(--green); }
|
|
|
|
/* suggested_fixes_service.py's own one-click fixes (review screen R.3) -
|
|
never applied automatically, always a deliberate "Apply fix" click
|
|
against the evidence text shown right above it. */
|
|
.suggested-fix{
|
|
display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
|
|
background:rgba(37,99,235,.06); border:1px solid var(--border-b); border-radius:8px;
|
|
padding:10px 12px; margin-bottom:12px;
|
|
}
|
|
.suggested-fix-evidence{
|
|
display:flex; align-items:flex-start; gap:8px; font-size:12.5px; color:var(--t2); line-height:1.5; flex:1 1 260px;
|
|
}
|
|
.suggested-fix-evidence i{ color:var(--blue); margin-top:2px; flex-shrink:0; }
|
|
.suggested-fix-apply{ flex-shrink:0; padding:9px 16px; font-size:12.5px; }
|
|
|
|
/* ── Top bar: Results (left) / DocumentNavBar (center, TRUE center via
|
|
grid - not flex space-between, which would only center it when the
|
|
left/right content happens to be equal width) / Download (right).
|
|
Sits across the top of the transactions card - no border/background
|
|
box of its own since it's already inside the card's; a bottom border
|
|
is enough to separate it from the move-to-project/title rows beneath. */
|
|
.txn-top-bar{
|
|
display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:12px;
|
|
padding-bottom:12px; margin-bottom:14px; border-bottom:1px solid var(--border-2);
|
|
flex-shrink:0;
|
|
}
|
|
.txn-top-bar-right{ display:flex; align-items:center; gap:8px; justify-self:end; }
|
|
.txn-download-btn{ justify-self:end; }
|
|
/* Accept (review screen R.5) - .active mirrors .btn-toggle-active's own
|
|
filled style once accepted, same pattern .flag-acknowledge uses. */
|
|
.txn-accept-btn.btn-toggle-active{ background:var(--green); box-shadow:none; }
|
|
.txn-accept-btn.btn-toggle-active:hover{ background:var(--green); }
|
|
.txn-accept-btn:disabled{ opacity:.45; cursor:not-allowed; }
|
|
|
|
.results-trigger-wrap{ position:relative; justify-self:start; }
|
|
.results-toggle{
|
|
display:inline-flex; align-items:center; gap:8px; height:36px;
|
|
background:transparent; border:1px solid var(--border-2); color:var(--t2); font-family:var(--fb);
|
|
font-weight:600; font-size:12.5px; padding:0 13px; border-radius:8px; cursor:pointer; transition:all .15s;
|
|
}
|
|
.results-toggle:hover{ border-color:var(--blue); color:var(--blue); }
|
|
.results-toggle:disabled{ opacity:.45; cursor:not-allowed; }
|
|
.results-toggle .fa-chevron-down{ font-size:10px; color:var(--t4); transition:transform .15s; }
|
|
.results-toggle .fa-chevron-down.open{ transform:rotate(180deg); }
|
|
.results-status-dot{ width:8px; height:8px; border-radius:50%; flex-shrink:0; }
|
|
.results-status-dot.Verified{ background:var(--green); }
|
|
.results-status-dot.Needs-review{ background:var(--amber); }
|
|
.results-status-dot.Failed{ background:var(--red); }
|
|
/* Floats below the toggle without pushing the top bar's own height
|
|
around - position:absolute inside the trigger wrap's position:relative,
|
|
closed by the wrap's own @mouseleave (TransactionsTable.vue) the
|
|
instant the pointer leaves the trigger+panel zone entirely (mouseleave
|
|
doesn't fire when moving between a parent's own children, only when
|
|
truly exiting it - no separate "is the panel itself hovered" tracking
|
|
needed).
|
|
|
|
.results-dropdown itself sits FLUSH against the toggle (top:100%, no
|
|
gap) and is just an invisible hit-box - the visible gap is its own
|
|
padding-top, not a positioning offset. This split matters: moving the
|
|
gap into `top:calc(100% + 8px)` instead (as a first pass did) put
|
|
that 8px strip OUTSIDE .results-trigger-wrap's hoverable area
|
|
entirely, since an absolutely-positioned child doesn't extend its
|
|
relatively-positioned ancestor's own box - crossing that strip SLOWLY
|
|
fired mouseleave before the pointer ever reached the panel (confirmed
|
|
as the actual reported bug: worked when dragged quickly, since a fast
|
|
pointer can skip the dead strip in one event tick, broke when moved
|
|
slowly through it). Padding is a child of .results-dropdown itself,
|
|
so hovering through it is still "inside a descendant of the wrap" -
|
|
mouseleave only fires once the pointer leaves the padding too, not
|
|
partway through it. .results-dropdown-inner is the actual visible
|
|
card, offset down by that padding alone. */
|
|
.results-dropdown{
|
|
position:absolute; top:100%; left:0; z-index:15; width:340px; max-width:90vw; padding-top:8px;
|
|
}
|
|
.results-dropdown-inner{ margin-bottom:0; }
|
|
|
|
/* Sits across the top of the transactions card, above the Hide Source
|
|
Doc row (TransactionsTable.vue renders it first) - no border/
|
|
background box of its own since it's already inside the card's; a
|
|
bottom border is enough to separate it from the title row beneath. */
|
|
.doc-nav{ display:flex; align-items:center; gap:14px; min-width:0; justify-self:center; }
|
|
.doc-nav-arrow{
|
|
background:transparent; border:1px solid var(--border-2); color:var(--t2); width:28px; height:28px;
|
|
border-radius:7px; cursor:pointer; font-size:14px; line-height:1; transition:all .15s; flex-shrink:0;
|
|
}
|
|
.doc-nav-arrow:hover:not(:disabled){ border-color:var(--blue); color:var(--blue); }
|
|
.doc-nav-arrow:disabled{ opacity:.35; cursor:not-allowed; }
|
|
/* The filename is a real <button> now (click opens DocumentOptionsModal
|
|
- rename/delete), not inert text - styled to read as plain text at
|
|
rest, with a hover state and a trailing ellipsis-icon hint so it's
|
|
discoverable as clickable rather than looking like a static label. */
|
|
.doc-nav-label-btn{
|
|
display:flex; align-items:baseline; gap:8px; min-width:0; background:transparent; border:none;
|
|
cursor:pointer; font:inherit; padding:3px 6px; border-radius:6px; transition:background .15s;
|
|
}
|
|
.doc-nav-label-btn:hover{ background:rgba(37,99,235,.06); }
|
|
.doc-nav-file-icon{ color:var(--t4); font-size:11px; align-self:center; }
|
|
.doc-nav-name{ font-weight:600; color:var(--t1); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:240px; }
|
|
.doc-nav-label-btn:hover .doc-nav-name{ color:var(--blue); }
|
|
.doc-nav-position{ color:var(--t4); font-family:var(--fm); font-size:11.5px; flex-shrink:0; }
|
|
.doc-nav-options-hint{ color:var(--t4); font-size:10px; align-self:center; transition:color .15s; }
|
|
.doc-nav-label-btn:hover .doc-nav-options-hint{ color:var(--blue); }
|
|
|
|
/* Sticky on the GROUP, not on pdf-col alone - keeps the source PDF and
|
|
transactions cards moving together as one unit while the main page
|
|
scrolls, instead of the PDF pinning in place while transactions
|
|
scrolls past it underneath (they'd drift out of alignment). */
|
|
.review-grid{ display:flex; align-items:start; position:sticky; top:24px; }
|
|
/* Fixed total card height, same pattern .txn-col uses (see its own
|
|
comment) - previously only the CHILD (iframe/img-preview-wrap/
|
|
empty-panel-source) was pinned to a fixed height, leaving the card's
|
|
own total height as that PLUS pdf-col-head's height and the card's
|
|
own padding, taller than .txn-col's own flat height and visibly
|
|
mismatched. 102.5vh = the original 82vh increased 25% per request. */
|
|
.pdf-col{ flex:0 0 40%; min-width:260px; display:flex; flex-direction:column; height:102.5vh; }
|
|
.pdf-col-head{
|
|
display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; flex-shrink:0;
|
|
}
|
|
.pdf-col-head h2{ margin-bottom:0; }
|
|
/* Replaces the old native <iframe> viewer - pdf.js renders each page to
|
|
its own <canvas>, stacked in this one scrollable column (closest
|
|
behavioral match to the iframe's own scrollable multi-page view). An
|
|
iframe has no hook to draw a highlight box on a specific row, which is
|
|
the whole reason for this change - see usePdfViewer.js. */
|
|
.pdf-pages-wrap{
|
|
width:100%; flex:1 1 auto; min-height:0; border:1px solid var(--border-2); border-radius:10px;
|
|
background:var(--navy-3); overflow:auto; padding:16px 0;
|
|
}
|
|
.pdf-page-wrap{ position:relative; width:fit-content; margin:0 auto 16px; }
|
|
.pdf-page-wrap:last-child{ margin-bottom:0; }
|
|
.pdf-page-wrap canvas{
|
|
display:block; background:var(--navy-2); box-shadow:0 2px 10px rgba(16,24,40,.12);
|
|
}
|
|
.pdf-pages-loading{
|
|
display:flex; align-items:center; justify-content:center; gap:8px;
|
|
color:var(--t4); font-size:13px; padding:20px;
|
|
}
|
|
/* The review screen's row-highlighting (R.2) - an absolutely-positioned
|
|
box over the exact printed row a flagged transaction came from, same
|
|
box shape used over both a pdf.js page and the image panel's own
|
|
<img>. */
|
|
.source-highlight-box{
|
|
position:absolute; border:2px solid var(--amber); background:rgba(217,119,6,.12);
|
|
border-radius:3px; pointer-events:none; transition:all .2s;
|
|
}
|
|
/* The layout mapper's own multi-box need (L.5, 2026-10-14) - several
|
|
labeled boxes at once (every mapped column region, or every proposed
|
|
zone in the superuser review screen - neither built yet). Blue by
|
|
default (overridden per-box via an inline color, e.g. one color per
|
|
field role in the manual mapping screen) - visually distinct from the
|
|
single amber review-screen highlight above, a different purpose. */
|
|
.source-highlight-box-labeled{ border-color:var(--blue); background:rgba(37,99,235,.08); }
|
|
.source-highlight-label{
|
|
position:absolute; top:-18px; left:-2px; background:var(--blue); color:#fff;
|
|
font-size:10.5px; font-weight:700; padding:1px 6px; border-radius:4px 4px 4px 0;
|
|
white-space:nowrap; line-height:1.4;
|
|
}
|
|
/* The click-and-drag region tool (useRegionDraw.js) - a live "rubber
|
|
band" box while dragging, same visual language as the labeled multi-
|
|
highlight boxes above (it's drawing exactly that kind of region).
|
|
pointer-events:none so it never itself intercepts the mouseup that
|
|
ends the drag. */
|
|
.region-draft-box{
|
|
position:absolute; border:2px dashed var(--blue); background:rgba(37,99,235,.12);
|
|
border-radius:3px; pointer-events:none;
|
|
}
|
|
.region-draw-active{ cursor:crosshair; user-select:none; }
|
|
/* Images get their own zoomable/scrollable panel instead of the PDF
|
|
iframe - a browser-native PDF viewer has its own zoom controls built
|
|
in, an <img> in the same iframe would have none at all, which is the
|
|
gap this fills. Width-based zoom (not CSS transform:scale), so the
|
|
wrap's overflow:auto actually produces scrollbars for the zoomed-in
|
|
content - transform alone doesn't change an element's layout size, so
|
|
a scaled-up image would just overflow uncontrollably instead. */
|
|
.img-zoom-controls{ display:flex; align-items:center; gap:4px; }
|
|
.img-zoom-controls button{
|
|
background:var(--navy-3); border:1px solid var(--border-2); color:var(--t2);
|
|
width:26px; height:26px; border-radius:6px; cursor:pointer; font-size:14px; line-height:1;
|
|
display:flex; align-items:center; justify-content:center; padding:0; transition:all .15s;
|
|
}
|
|
.img-zoom-controls button#imgZoomReset{ width:auto; padding:0 9px; font-size:11px; font-weight:700; }
|
|
.img-zoom-controls button:hover{ background:rgba(37,99,235,.08); border-color:var(--blue); color:var(--blue); }
|
|
.img-zoom-controls span{ font-size:11.5px; color:var(--t3); min-width:38px; text-align:center; font-family:var(--fm); }
|
|
.img-preview-wrap{
|
|
position:relative; width:100%; flex:1 1 auto; min-height:0; border:1px solid var(--border-2);
|
|
border-radius:10px; background:var(--navy-3); overflow:auto; display:block;
|
|
}
|
|
.img-preview-wrap img{ display:block; }
|
|
/* Both panels are visible from the start (before any file is chosen),
|
|
so the opening/closing balance fields in TransactionsTable are
|
|
reachable before clicking Extract - each shows one of these until
|
|
there's something real to display instead. */
|
|
.empty-panel{
|
|
display:flex; align-items:center; justify-content:center; text-align:center;
|
|
color:var(--t4); font-size:13px; line-height:1.6; padding:40px 24px;
|
|
border:1px solid var(--border-2); border-radius:10px; background:var(--navy-3);
|
|
}
|
|
.empty-panel-source{ width:100%; flex:1 1 auto; min-height:0; }
|
|
.empty-panel-table{ flex:1 1 auto; min-height:0; margin-top:4px; }
|
|
.resizer{
|
|
flex:0 0 28px; align-self:stretch; cursor:col-resize;
|
|
display:flex; align-items:center; justify-content:center;
|
|
touch-action:none; position:relative;
|
|
}
|
|
/* A fader-knob look, not just a thin line - a rounded, raised pill with
|
|
grip dashes through its middle, so it visibly reads as a two-finger
|
|
drag handle rather than a stray divider. */
|
|
.resizer::before{
|
|
content:''; width:14px; height:58px; border-radius:9px;
|
|
background:linear-gradient(180deg, var(--navy-3), var(--navy-2));
|
|
border:1px solid var(--border-2);
|
|
box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 2px 8px rgba(16,24,40,.10);
|
|
transition: border-color .15s, box-shadow .15s;
|
|
}
|
|
.resizer::after{
|
|
content:''; position:absolute; top:50%; left:50%;
|
|
width:2px; height:18px; border-radius:1px; background:var(--t3);
|
|
box-shadow: -4px 0 0 var(--t3), 4px 0 0 var(--t3);
|
|
transform:translate(-50%,-50%);
|
|
transition: background .15s;
|
|
}
|
|
.resizer:hover::before, .resizer.dragging::before{
|
|
border-color:var(--border-b);
|
|
box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 0 0 1px rgba(37,99,235,.25), 0 2px 10px rgba(16,24,40,.12);
|
|
}
|
|
.resizer:hover::after, .resizer.dragging::after{
|
|
background:var(--blue); box-shadow: -4px 0 0 var(--blue), 4px 0 0 var(--blue);
|
|
}
|
|
/* Fixed to the same height the source-document side's own child (iframe/
|
|
img-preview-wrap/empty-panel-source) is - flex-column so the table
|
|
area (the one piece whose content height varies) absorbs whatever
|
|
space is left after the header/fields/notes above it, rather than the
|
|
whole column growing past its sibling's height the way it did when
|
|
only .table-wrap itself had a height cap. */
|
|
/* container-type lets the fields-row/table rules below respond to
|
|
THIS column's own rendered width (via @container) rather than the
|
|
viewport's - needed because the resizer can narrow this column on an
|
|
otherwise-wide screen, which a @media viewport breakpoint never sees. */
|
|
.txn-col{
|
|
flex:1 1 auto; min-width:260px; display:flex; flex-direction:column; height:102.5vh;
|
|
container-type:inline-size; container-name:txncol;
|
|
}
|
|
.txn-col-head{
|
|
display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; flex-shrink:0;
|
|
}
|
|
.txn-col-head h2{ margin-bottom:0; }
|
|
.txn-col-head-actions{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
|
|
.btn-toggle-active{ background:var(--amber); box-shadow:0 2px 10px rgba(217,119,6,.25); }
|
|
.btn-toggle-active:hover{ background:var(--amber); }
|
|
.txn-col .fields, .txn-col .note{ flex-shrink:0; }
|
|
.btn-toggle{
|
|
display:inline-flex; align-items:center; justify-content:center; gap:7px; height:36px;
|
|
background:var(--blue); border:none; color:var(--navy-2); font-family:var(--fd); font-weight:700;
|
|
font-size:12px; padding:0 15px; border-radius:8px; cursor:pointer; transition:all .15s; flex-shrink:0;
|
|
box-shadow:0 2px 10px rgba(37,99,235,.18);
|
|
}
|
|
.btn-toggle:hover{ background:var(--blue-b); }
|
|
.btn-toggle:disabled{ opacity:.5; cursor:not-allowed; box-shadow:none; }
|
|
.pdf-col.hidden-panel, .resizer.hidden-panel{ display:none; }
|
|
.txn-col .table-wrap{
|
|
flex:1 1 auto; min-height:0; overflow-y:auto; margin-top:4px;
|
|
}
|
|
/* The header row and the filter row beneath it both need to stay put on
|
|
scroll - they used to share one "top:0" rule, which made BOTH rows
|
|
stick to the very top of the scroll container at once: same position,
|
|
same stacking context, so the filter row (later in the DOM, painted on
|
|
top) visually covered the header row the moment the table scrolled,
|
|
not the "header disappears" bug it looked like. Giving the header row
|
|
an explicit height makes the filter row's own offset (stacking
|
|
directly beneath it) a known value instead of a guess. */
|
|
/* border-bottom:none here - each sticky th otherwise keeps its own
|
|
border-bottom (inherited from the base th rule), which reads as a
|
|
thin seam between the header row and the filter row right beneath
|
|
it. The one border that should actually show is the filter row's
|
|
own (still inherited, unset below) - it separates the whole sticky
|
|
header block from the scrolling data, not the two header rows from
|
|
each other. */
|
|
.txn-col table thead tr:first-child th{
|
|
position:sticky; top:0; height:34px; background:var(--navy-2); z-index:2; border-bottom:none;
|
|
}
|
|
.txn-col table thead tr.filter-row th{
|
|
position:sticky; top:34px; background:var(--navy-2); z-index:1;
|
|
}
|
|
@media (max-width: 860px){
|
|
.review-grid{ flex-direction:column; position:static; }
|
|
.pdf-col{ position:static; flex-basis:auto !important; width:100%; }
|
|
.resizer{ display:none; }
|
|
.txn-col{ width:100%; }
|
|
}
|
|
/* The Recheck Balance button drops below the closing-balance field
|
|
instead of sitting beside the fields at the row's right edge, once
|
|
THIS COLUMN (not the viewport) gets too narrow for both side by side -
|
|
a @container query, not @media, because the resizer can narrow this
|
|
column on an otherwise-wide screen; a viewport breakpoint never saw
|
|
that case, which is what let the fields/button overflow the column's
|
|
right edge instead of wrapping (reported 2026-10-12). 520px is comfortably
|
|
above the ~500px the row's content actually needs, so this switches
|
|
before the overflow, not after. Also covers the genuine-mobile case
|
|
the old @media (max-width:640px) rule handled, since the column is
|
|
just as narrow as the viewport once the two panels stack (see the
|
|
860px breakpoint above) - one mechanism for both causes now. */
|
|
@container txncol (max-width: 520px){
|
|
.fields-row{ flex-direction:column; align-items:stretch; }
|
|
.recheck-spacer{ display:none; }
|
|
.btn-recheck{ align-self:flex-end; }
|
|
}
|
|
/* The 3-column Results/nav/Download grid gets cramped before the fields
|
|
row above does (three separate controls, not two) - stacks top-to-
|
|
bottom (DOM order: Results, then the nav, then Download) once this
|
|
column narrows past a comfortable width for all three side by side. */
|
|
@container txncol (max-width: 620px){
|
|
.txn-top-bar{ grid-template-columns:1fr; justify-items:stretch; gap:10px; }
|
|
.results-trigger-wrap, .doc-nav{ justify-self:center; }
|
|
.txn-top-bar-right{ justify-self:stretch; }
|
|
.txn-top-bar-right .btn-toggle{ flex:1 1 0; }
|
|
}
|
|
|
|
.login-page{ min-height:100vh; display:flex; align-items:center; justify-content:center; padding:24px; }
|
|
.login-card{ width:100%; max-width:360px; margin-bottom:0; }
|
|
.login-card h2{ display:flex; align-items:center; gap:9px; }
|
|
/* .fields > div's own flex:1 1 180px is a WIDTH basis, meant for the
|
|
horizontal balance-fields row - in this column layout that same
|
|
180px becomes a HEIGHT basis instead, stretching each field wrapper
|
|
to ~180px tall (the actual bug behind "a lot of padding between the
|
|
fields" - it isn't padding, it's each wrapper being forced tall). */
|
|
.login-card .fields{ flex-direction:column; margin-bottom:18px; }
|
|
.login-card .fields > div{ flex:none; }
|
|
.login-submit{ width:100%; margin-top:4px; }
|
|
.login-google{ width:100%; margin-top:10px; }
|
|
.login-google-logo{ flex-shrink:0; }
|
|
.login-mode-toggle{
|
|
display:block; width:100%; margin-top:16px; background:transparent; border:none;
|
|
color:var(--t3); font-size:12.5px; cursor:pointer; text-align:center;
|
|
}
|
|
.login-mode-toggle:hover{ color:var(--blue); }
|
|
|
|
/* ── App shell: header (full-width, sticky) + body (sidebar + content,
|
|
page-level scroll like the rest of this app - no nested scroll panes,
|
|
so .review-grid/.pdf-col/.txn-col's own position:sticky behavior keeps
|
|
working unchanged) + footer. Modeled on docs/sample_ui.png's own
|
|
chrome - see App.vue. ───────────────────────────────────────────── */
|
|
.app-shell{ display:flex; flex-direction:column; min-height:100vh; }
|
|
.app-body{ flex:1 1 auto; display:flex; align-items:flex-start; }
|
|
.app-content{ flex:1 1 auto; min-width:0; max-width:none; margin:0; padding:32px 28px 70px; }
|
|
|
|
.app-header{
|
|
position:sticky; top:0; z-index:20; height:56px; flex-shrink:0;
|
|
background:var(--navy-2); border-bottom:1px solid var(--border);
|
|
display:flex; align-items:center; justify-content:space-between; padding:0 24px;
|
|
}
|
|
.app-header-left{ display:flex; align-items:center; gap:14px; min-width:0; }
|
|
.app-logo{
|
|
flex-shrink:0; width:32px; height:32px; border-radius:8px; background:var(--blue); color:var(--navy-2);
|
|
display:flex; align-items:center; justify-content:center; font-size:14px;
|
|
box-shadow:0 2px 8px rgba(37,99,235,.25);
|
|
}
|
|
.app-breadcrumb{ display:flex; align-items:center; gap:9px; font-size:13.5px; color:var(--t3); min-width:0; overflow:hidden; }
|
|
.app-breadcrumb-root{ font-family:var(--fd); font-weight:700; color:var(--t1); flex-shrink:0; }
|
|
.app-breadcrumb i{ font-size:8px; color:var(--t4); flex-shrink:0; }
|
|
.app-breadcrumb-current{ color:var(--blue); font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
|
|
.app-header-right{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
|
|
|
|
/* The Layouts page's own nav link (layout mapper L.7) - the one real
|
|
page link this header has besides the account menu, so it's styled
|
|
plainly rather than earning a whole nav-bar treatment for just one
|
|
item. */
|
|
.app-nav-link{
|
|
display:flex; align-items:center; gap:7px; font-size:12.5px; font-weight:600; color:var(--t2);
|
|
text-decoration:none; padding:7px 12px; border-radius:8px; transition:all .15s;
|
|
}
|
|
.app-nav-link:hover{ background:var(--navy); color:var(--blue); }
|
|
.app-nav-link-active{ color:var(--blue); background:rgba(37,99,235,.08); }
|
|
|
|
.app-account{ position:relative; }
|
|
.app-account-trigger{
|
|
display:flex; align-items:center; gap:9px; background:transparent; border:1px solid transparent;
|
|
cursor:pointer; padding:4px 10px 4px 4px; border-radius:20px; transition:all .15s;
|
|
}
|
|
.app-account-trigger:hover{ background:var(--navy); border-color:var(--border-2); }
|
|
.app-avatar{
|
|
flex-shrink:0; width:26px; height:26px; border-radius:50%; background:rgba(37,99,235,.12); color:var(--blue);
|
|
display:flex; align-items:center; justify-content:center; font-size:11px;
|
|
}
|
|
.app-account-email{ font-size:12.5px; color:var(--t2); font-family:var(--fm); }
|
|
.app-account-caret{ font-size:9px; color:var(--t4); transition:transform .15s; }
|
|
.app-account-caret.open{ transform:rotate(180deg); }
|
|
.app-account-menu{
|
|
position:absolute; top:calc(100% + 8px); right:0; min-width:220px; z-index:30;
|
|
background:var(--navy-2); border:1px solid var(--border); border-radius:10px; box-shadow:var(--shadow-h); padding:6px;
|
|
}
|
|
.app-account-menu-email{
|
|
padding:8px 10px 10px; margin-bottom:4px; border-bottom:1px solid var(--border);
|
|
font-family:var(--fm); font-size:11.5px; color:var(--t4); word-break:break-all;
|
|
}
|
|
.app-account-menu-item{
|
|
width:100%; display:flex; align-items:center; gap:9px; text-align:left; background:transparent; border:none;
|
|
cursor:pointer; padding:8px 10px; border-radius:6px; font-size:13px; color:var(--t2); font-family:var(--fb);
|
|
}
|
|
.app-account-menu-item:hover{ background:var(--red-l); color:var(--red); }
|
|
|
|
.app-footer{
|
|
flex-shrink:0; display:flex; align-items:center; gap:8px; padding:13px 24px;
|
|
background:var(--navy-2); border-top:1px solid var(--border); font-size:11.5px; color:var(--t4);
|
|
}
|
|
.app-footer-sep{ color:var(--border-2); }
|
|
.app-footer-spacer{ flex:1 1 auto; }
|
|
|
|
/* ── Sidebar: the account's primary left nav (projects) - full height
|
|
under the header, sticky so it tracks page scroll the same way
|
|
.pdf-col/.txn-col already do. Collapses to a narrow icon-only rail
|
|
(same pattern as most enterprise dashboards) rather than vanishing. */
|
|
.app-sidebar{
|
|
flex-shrink:0; width:240px; position:sticky; top:56px; height:calc(100vh - 56px);
|
|
background:var(--navy-2); border-right:1px solid var(--border);
|
|
display:flex; flex-direction:column; padding:16px 14px; transition:width .15s;
|
|
}
|
|
.app-sidebar.collapsed{ width:60px; padding:16px 8px; align-items:center; }
|
|
|
|
.app-sidebar-search{ position:relative; flex-shrink:0; margin-bottom:12px; }
|
|
.app-sidebar-search i{ position:absolute; left:10px; top:50%; transform:translateY(-50%); font-size:11px; color:var(--t4); }
|
|
.app-sidebar-search input{
|
|
width:100%; height:32px; padding:0 10px 0 28px; background:var(--navy); border:1px solid var(--border-2);
|
|
border-radius:7px; font-size:12px; color:var(--t1); font-family:var(--fb); outline:none; transition:border-color .2s;
|
|
}
|
|
.app-sidebar-search input:focus{ border-color:var(--blue); }
|
|
.app-sidebar.collapsed .app-sidebar-search{ display:none; }
|
|
|
|
.app-sidebar-scroll{ flex:1 1 auto; min-height:0; overflow-y:auto; width:100%; }
|
|
.app-sidebar-section-label{
|
|
font-family:var(--fm); font-size:10px; font-weight:600; letter-spacing:.08em; text-transform:uppercase;
|
|
color:var(--t4); padding:10px 8px 6px;
|
|
}
|
|
.app-sidebar.collapsed .app-sidebar-section-label{ display:none; }
|
|
|
|
.app-sidebar-toggle{
|
|
flex-shrink:0; margin-top:10px; width:100%; display:flex; align-items:center; justify-content:center; gap:8px;
|
|
background:transparent; border:1px solid var(--border-2); color:var(--t3); border-radius:7px; padding:8px;
|
|
cursor:pointer; font-size:12px; font-family:var(--fb);
|
|
}
|
|
.app-sidebar-toggle:hover{ border-color:var(--blue); color:var(--blue); }
|
|
|
|
.project-list{ list-style:none; margin:0 0 10px; padding:0; display:flex; flex-direction:column; gap:2px; width:100%; }
|
|
/* .project-row (the clickable row - expand chevron, folder icon+name,
|
|
rename/delete) is its own flex row INSIDE the <li>, not the <li>
|
|
itself, so the <li> can also hold the nested .project-doc-list
|
|
underneath it as a second, block-level child instead of competing for
|
|
space in the same flex line. */
|
|
.project-row{ display:flex; align-items:center; gap:2px; border-radius:7px; padding:2px; }
|
|
.project-list li.active > .project-row{ background:rgba(37,99,235,.08); }
|
|
.project-expand-btn{
|
|
flex-shrink:0; width:18px; height:18px; display:flex; align-items:center; justify-content:center;
|
|
background:transparent; border:none; cursor:pointer; color:var(--t4); font-size:9px; border-radius:4px;
|
|
transition:transform .15s, color .15s;
|
|
}
|
|
.project-expand-btn:hover{ color:var(--blue); }
|
|
.project-expand-btn.expanded{ transform:rotate(90deg); }
|
|
.project-name{
|
|
flex:1 1 auto; min-width:0; display:flex; align-items:center; gap:9px; text-align:left;
|
|
background:transparent; border:none; cursor:pointer;
|
|
padding:7px 8px; border-radius:6px; font-size:13px; color:var(--t2); font-family:var(--fb);
|
|
}
|
|
.project-name i{ flex-shrink:0; width:14px; text-align:center; color:var(--t4); font-size:12px; }
|
|
.project-name-text{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
|
|
.project-list li.active .project-name{ color:var(--blue); font-weight:600; }
|
|
.project-list li.active .project-name i{ color:var(--blue); }
|
|
.project-name:hover{ color:var(--blue); }
|
|
.project-row-btn{
|
|
flex-shrink:0; background:transparent; border:none; cursor:pointer; color:var(--t4);
|
|
font-size:11px; padding:6px; border-radius:5px; line-height:1;
|
|
}
|
|
.project-row-btn:hover{ color:var(--t1); background:rgba(16,24,40,.06); }
|
|
.project-rename-input{
|
|
flex:1 1 auto; min-width:0; height:30px; padding:0 8px; background:var(--navy);
|
|
border:1px solid var(--blue); border-radius:6px; font-size:13px; color:var(--t1); font-family:var(--fb);
|
|
outline:none;
|
|
}
|
|
|
|
/* Each project's own document hierarchy - a lazy-loaded nested list
|
|
under its row, indented with a thin rule so it reads as nested rather
|
|
than a sibling project. */
|
|
.project-doc-list{
|
|
list-style:none; margin:2px 0 4px 20px; padding:0 0 0 10px; display:flex; flex-direction:column; gap:1px;
|
|
border-left:1px solid var(--border);
|
|
}
|
|
.project-doc-loading, .project-doc-empty{ font-size:11.5px; color:var(--t4); padding:5px 8px; }
|
|
.project-doc-item{ display:flex; align-items:center; gap:2px; }
|
|
.project-doc-name{
|
|
flex:1 1 auto; min-width:0; display:flex; align-items:center; gap:7px; text-align:left;
|
|
background:transparent; border:none; cursor:pointer; padding:5px 7px; border-radius:6px;
|
|
font-size:12px; color:var(--t3); font-family:var(--fb);
|
|
}
|
|
.project-doc-name i{ flex-shrink:0; font-size:10px; color:var(--t4); }
|
|
.project-doc-name span{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
|
|
.project-doc-name:hover{ color:var(--blue); }
|
|
.project-doc-delete{
|
|
flex-shrink:0; background:transparent; border:none; cursor:pointer; color:var(--t4);
|
|
font-size:10px; padding:5px; border-radius:5px; line-height:1;
|
|
}
|
|
.project-doc-delete:hover:not(:disabled){ color:var(--red); background:rgba(16,24,40,.06); }
|
|
.project-doc-delete:disabled{ opacity:.5; cursor:not-allowed; }
|
|
|
|
.app-sidebar.collapsed .project-name{ justify-content:center; padding:9px 0; }
|
|
.app-sidebar.collapsed .project-name-text,
|
|
.app-sidebar.collapsed .project-row-btn,
|
|
.app-sidebar.collapsed .project-expand-btn,
|
|
.app-sidebar.collapsed .project-doc-list,
|
|
.app-sidebar.collapsed .project-new,
|
|
.app-sidebar.collapsed .app-sidebar-toggle span{ display:none; }
|
|
|
|
.project-new{ display:flex; gap:6px; }
|
|
.project-new input{
|
|
flex:1 1 auto; min-width:0; height:34px; padding:0 10px; background:var(--navy);
|
|
border:1px solid var(--border-2); border-radius:7px; font-size:12.5px; color:var(--t1); font-family:var(--fb);
|
|
outline:none; transition:border-color .2s;
|
|
}
|
|
.project-new input:focus{ border-color:var(--blue); }
|
|
.project-new button{
|
|
flex-shrink:0; width:34px; height:34px; background:var(--blue); color:var(--navy-2); border:none;
|
|
border-radius:7px; cursor:pointer; font-weight:700; font-size:13px;
|
|
}
|
|
.project-new button:disabled{ opacity:.4; cursor:not-allowed; }
|
|
.app-sidebar .error-note{ margin-top:12px; width:100%; }
|
|
|
|
/* Lets the active document be reassigned to a different project even
|
|
with just one document loaded (independent of DocumentNavBar's own
|
|
>1-document visibility gate) - sits right below it, above the
|
|
Transactions/Hide Source Doc row. */
|
|
.move-to-project{ display:flex; align-items:center; gap:8px; margin-bottom:14px; }
|
|
.move-to-project label{ display:inline-flex; align-items:center; gap:6px; font-size:11.5px; color:var(--t3); flex-shrink:0; }
|
|
.move-to-project select{
|
|
height:32px; padding:0 8px; background:var(--navy); border:1px solid var(--border-2);
|
|
border-radius:7px; font-size:12.5px; color:var(--t1); font-family:var(--fb); outline:none; cursor:pointer;
|
|
}
|
|
.move-confirm-note{
|
|
display:inline-flex; align-items:center; gap:6px; font-size:12px; color:var(--green);
|
|
margin-left:2px;
|
|
}
|
|
|
|
/* ── ConfirmModal.vue / DocumentOptionsModal.vue / DownloadChoiceModal.vue
|
|
- every modal in the app shares this surface/overlay. Reuses .card for
|
|
the dialog's own surface. ──────────────────────────────────────────── */
|
|
.modal-overlay{
|
|
position:fixed; inset:0; z-index:50; background:rgba(13,21,38,.45);
|
|
display:flex; align-items:center; justify-content:center; padding:24px; outline:none;
|
|
}
|
|
.modal-card{ width:100%; max-width:380px; margin-bottom:0; }
|
|
.modal-card h2{ display:flex; align-items:center; gap:9px; }
|
|
.modal-message{ font-size:13.5px; color:var(--t2); line-height:1.6; margin-bottom:22px; }
|
|
.modal-actions{ display:flex; align-items:center; justify-content:flex-end; gap:10px; }
|
|
/* DownloadChoiceModal's two primary choices, stacked full-width above
|
|
the usual Cancel row rather than crowded beside it. */
|
|
.modal-actions-stack{ flex-direction:column; align-items:stretch; margin-bottom:10px; }
|
|
.modal-actions-stack .btn{ width:100%; }
|
|
|
|
/* DocumentOptionsModal's rename field + its own destructive delete
|
|
button - a shared, generic enough shape other modals can reuse later. */
|
|
.modal-field{ margin-bottom:18px; }
|
|
.modal-field label{ font-size:11.5px; color:var(--t3); display:block; margin-bottom:6px; }
|
|
.modal-field-row{ display:flex; gap:8px; }
|
|
.modal-input{
|
|
flex:1 1 auto; min-width:0; height:36px; padding:0 11px; background:var(--navy); border:1px solid var(--border-2);
|
|
border-radius:8px; font-size:13px; color:var(--t1); font-family:var(--fb); outline:none; transition:border-color .2s;
|
|
}
|
|
.modal-input:focus{ border-color:var(--blue); }
|
|
.modal-input:disabled{ opacity:.6; cursor:not-allowed; }
|
|
.modal-danger-btn{
|
|
width:100%; display:flex; align-items:center; gap:9px; background:transparent;
|
|
border:1px solid rgba(220,38,38,.35); color:var(--red); padding:10px 12px; border-radius:8px;
|
|
cursor:pointer; font-size:13px; font-family:var(--fb); margin-bottom:18px; transition:all .15s;
|
|
}
|
|
.modal-danger-btn:hover:not(:disabled){ background:var(--red-l); }
|
|
.modal-danger-btn:disabled{ opacity:.45; cursor:not-allowed; }
|
|
|
|
/* Icon-prefixed inputs (LoginView's email/password fields). */
|
|
.input-icon-wrap{ position:relative; }
|
|
.input-icon-wrap i{ position:absolute; left:11px; top:50%; transform:translateY(-50%); font-size:12px; color:var(--t4); pointer-events:none; }
|
|
.input-icon-wrap input{ padding-left:34px; }
|
|
|
|
/* .fields already styles <input> - a <select> (ManualMappingView's own
|
|
date-format picker) needs the identical box so the two don't look
|
|
inconsistent sitting in the same row. */
|
|
.fields select{
|
|
width:100%; height:36px; padding:0 11px; background:var(--navy); border:1px solid var(--border-2);
|
|
border-radius:8px; font-size:13px; color:var(--t1); font-family:var(--fb); outline:none;
|
|
transition:border-color .2s; cursor:pointer;
|
|
}
|
|
.fields select:focus{ border-color:var(--blue); }
|
|
|
|
/* ManualMappingView.vue (layout mapper L.6) - source document beside a
|
|
stack of toolbar cards (roles, format, preview, save), the same
|
|
side-by-side spirit as the main extractor's own ResizablePanels but
|
|
without a drag-resizer - this page has no reason to let the user
|
|
resize it, so a plain flex split is simpler. */
|
|
.mapper-grid{ display:flex; gap:20px; align-items:flex-start; }
|
|
.mapper-source-card{ flex:0 0 52%; min-width:320px; display:flex; flex-direction:column; height:88vh; position:sticky; top:24px; }
|
|
.mapper-toolbar{ flex:1 1 auto; min-width:0; display:flex; flex-direction:column; }
|
|
.mapper-toolbar .card:last-child{ margin-bottom:0; }
|
|
|
|
.mapper-role-grid{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:10px; }
|
|
.mapper-role-btn{
|
|
display:inline-flex; align-items:center; gap:7px; background:var(--navy); border:1px solid var(--border-2);
|
|
color:var(--t2); font-family:var(--fb); font-size:12.5px; padding:8px 13px; border-radius:8px;
|
|
cursor:pointer; transition:all .15s;
|
|
}
|
|
.mapper-role-btn:hover{ border-color:var(--role-color); color:var(--role-color); }
|
|
.mapper-role-btn.active{ background:var(--role-color); border-color:var(--role-color); color:#fff; }
|
|
.mapper-role-btn.assigned:not(.active){ border-color:var(--role-color); color:var(--role-color); }
|
|
.mapper-role-btn.assigned:not(.active) i{ color:var(--role-color); }
|
|
|
|
.mapper-assigned-list{ list-style:none; margin:10px 0 0; padding:0; display:flex; flex-direction:column; gap:6px; }
|
|
.mapper-assigned-list li{
|
|
display:flex; align-items:center; gap:8px; background:var(--navy); border:1px solid var(--border-2);
|
|
border-radius:7px; padding:7px 8px 7px 11px; font-size:12.5px; color:var(--t1);
|
|
}
|
|
.mapper-assigned-dot{ width:9px; height:9px; border-radius:50%; flex-shrink:0; }
|
|
|
|
.mapper-checkbox-row{
|
|
display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--t2);
|
|
margin:14px 0 18px; cursor:pointer;
|
|
}
|
|
.mapper-checkbox-row input{ width:auto; height:auto; }
|
|
|
|
.mapper-ignore-add{ display:flex; gap:8px; margin-top:6px; }
|
|
.mapper-ignore-add input{
|
|
flex:1 1 auto; height:36px; padding:0 11px; background:var(--navy); border:1px solid var(--border-2);
|
|
border-radius:8px; font-size:13px; color:var(--t1); font-family:var(--fb); outline:none;
|
|
}
|
|
.mapper-ignore-add input:focus{ border-color:var(--blue); }
|
|
.mapper-ignore-add .btn{ padding:0 14px; }
|
|
|
|
.mapper-save-actions{ display:flex; gap:10px; justify-content:flex-end; }
|
|
|
|
@media (max-width:980px){
|
|
.mapper-grid{ flex-direction:column; }
|
|
.mapper-source-card{ flex:1 1 auto; width:100%; height:70vh; position:static; }
|
|
}
|
|
|
|
@media (max-width:860px){
|
|
.app-body{ flex-direction:column; }
|
|
.app-sidebar{ position:static; width:100%; height:auto; border-right:none; border-bottom:1px solid var(--border); }
|
|
.app-sidebar.collapsed{ width:100%; }
|
|
.app-account-email{ display:none; }
|
|
}
|
|
|
|
/* LayoutsView.vue (layout mapper L.7) - one <div class="card"> per
|
|
mapping, a clickable head row that expands into the detail panel
|
|
below it (reuses ManualMappingView's own .mapper-grid/.mapper-
|
|
toolbar/.mapper-assigned-list shapes for the detail content, since
|
|
it's the same "columns + format + a card per concern" layout). */
|
|
.layout-row-head{
|
|
display:flex; align-items:center; gap:10px; cursor:pointer; font-size:13.5px; color:var(--t1);
|
|
}
|
|
.layout-row-head i.fa-chevron-down, .layout-row-head i.fa-chevron-right{ color:var(--t4); font-size:11px; flex-shrink:0; }
|
|
.layout-row-name{ font-weight:600; }
|
|
.layout-row-detail{ margin-top:18px; padding-top:18px; border-top:1px solid var(--border-2); }
|
|
|
|
/* AdminLayoutReviewView.vue (layout mapper L.8) - rendered directly by
|
|
App.vue outside the normal app-shell/.app-content (no header/sidebar/
|
|
footer), so this just needs the page's own min-height - the bare
|
|
main{...} rule above already provides the max-width/centering/padding
|
|
every other top-level page gets for free. */
|
|
.admin-shell{ min-height:100vh; }
|