: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 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 , 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