arena/094f314c-aram
add-index-html-10623938925177053894 arena/094f314c-aram chatgpt-phase1b2-autopilot codex/adr-future-connectors-pi-v1 codex/aram-account-note-source-trace-20261031 codex/aram-actions-node24-maintenance-20261031 codex/aram-analyst-review-workbook-20261031 codex/aram-bs-candidate-statement-20261031 codex/aram-cash-flow-direct-candidate-20261031 codex/aram-clean-reference-year-integrity-20261030 codex/aram-cross-statement-controls-20261031 codex/aram-equity-changes-candidate-20261031 codex/aram-five-statement-cli-20261031 codex/aram-five-statement-integration-20261031 codex/aram-five-statement-orchestrator-20261031 codex/aram-gate3-coverage-target-guard-20261030 codex/aram-gate3-hidden-xlsx-guard-20261030 codex/aram-gate3-integration-validation-20261030 codex/aram-gate3-mapping-change-preview-20261030 codex/aram-gate3-stale-note-guard-20261030 codex/aram-income-statement-candidate-20261031 codex/aram-manifest-referential-integrity-20261031 codex/aram-mapping-source-parser-20261101 codex/aram-multidimensional-mapping-20261101 codex/aram-multistatement-mapping-20261031 codex/aram-pipeline-manifest-schema-20261031 codex/aram-readonly-mapping-coverage-20261031 codex/aram-reconciliation-review-gate-20261031 codex/aram-same-flush-fiscal-lock-20261030 codex/aram-synthetic-windows-demo-20261031 codex/aram-trial-balance-diagnostic-20261031 codex/aram-windows-background-detail-search-20261031 codex/aram-windows-detail-review-20261031 codex/aram-windows-five-statement-pilot-20261031 codex/aram-windows-statement-figures-20261031 codex/gate-2a-pilot-workbook codex/gate-2a-pilot-workbook-6864754244772568979 codex/gate3-authenticated-principal-boundary-20261030 codex/gate3-authored-draft-staging-20261030 codex/gate3-carry-forward-preview-20261023 codex/gate3-draft-staging-audit-20261030 codex/gate3-mapping-batch-freshness-20261030 codex/gate3-mapping-batch-review-20261030 codex/gate3-mapping-core codex/gate3-mapping-coverage-20261023 codex/gate3-mapping-excel-20261023 codex/gate3-note-mapping-review-20261023 codex/gate3-signed-year-scope-20261030 codex/gate3-unapproved-proposal-storage-20261030 codex/payvast-mapping-discovery-20261023 codex/phase-2a-backend-foundation codex/phase-2b-post-merge-record codex/phase-2b-source-registration codex/phase-2b-source-registration-12955190277775369594 codex/post-gate2a-control-reconciliation codex/post-pr18-acceptance-record codex/project-control-foundation codex/t1-repo-hygiene-20261023 codex/t2-ci-hardening-20261023 codex/t3-explicit-migrations-20261023 codex/t6a-readonly-diagnostics-20261023 codex/v1-01-safety-gate-hardening codex/v1-year-isolation-followup-20261023 codex/windows-native-pilot-shell-20261030 docs/aram-master-control-plan-20261111 docs/aram-roadmap-dashboard-20261030 docs/financial-statement-reconciliation-1402-1404-20261110 feat/gate3-governed-mapping-20261101 feat/gate3-package9-1-security-20261103 feat/gate3-package9-isolated-20261103 fix/password-unicode-validation-20261111 governance/aram-5-1-3-controls-20261030 governance/role-based-operating-model jules-1168663913887856558-73b8a885 jules-gate-2b-mapping-workflow-foundation-4137724387867065330 phase-1b1-audit-report-7365389436990903239 phase-2a-backend-foundation-10237597358138521261 phase1b2-postmerge-metadata-fix refactor/drg-parent-year-id-15088443704684163304 source-data-cleanup
css 293 lines 17.9 KB
Raw
1 :root {
2 --bg: #0a1220;
3 --bg-soft: #0f1a2e;
4 --card: #13203a;
5 --card-2: #182848;
6 --line: #24365c;
7 --text: #e8eefb;
8 --muted: #93a4c7;
9 --primary: #4f8cff;
10 --accent: #f59e0b;
11 --green: #34d399;
12 --red: #f87171;
13 --blue: #60a5fa;
14 --radius: 14px;
15 --nav-h: 64px;
16 color-scheme: dark;
17 }
18
19 * { box-sizing: border-box; }
20 html { -webkit-text-size-adjust: 100%; }
21
22 body {
23 margin: 0;
24 font-family: Vazirmatn, "Segoe UI", Tahoma, Arial, sans-serif;
25 background: radial-gradient(1100px 500px at 85% -10%, #14264a 0%, transparent 60%), var(--bg);
26 color: var(--text);
27 min-height: 100vh;
28 line-height: 1.8;
29 }
30
31 .hidden { display: none !important; }
32 .muted { color: var(--muted); font-size: 13px; }
33 .mono { font-family: Consolas, Menlo, monospace; direction: ltr; unicode-bidi: embed; }
34
35 /* ---------- top bar ---------- */
36 .topbar {
37 display: flex; align-items: center; justify-content: space-between;
38 gap: 12px; flex-wrap: wrap; padding: 14px 20px;
39 border-bottom: 1px solid var(--line);
40 background: rgb(10 18 32 / 85%); backdrop-filter: blur(6px);
41 position: sticky; top: 0; z-index: 20;
42 }
43 .brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
44 .brand-mark {
45 width: 42px; height: 42px; border-radius: 12px; flex: none;
46 display: grid; place-items: center;
47 background: linear-gradient(135deg, var(--primary), #7c5cff);
48 font-size: 22px; font-weight: 800; color: #fff;
49 }
50 .topbar h1 { margin: 0; font-size: 17px; white-space: nowrap; }
51 .tagline { margin: 0; font-size: 11.5px; color: var(--muted); }
52 .topbar-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
53 .actor-field { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
54 .actor-field input {
55 background: var(--bg-soft); border: 1px solid var(--line); color: var(--text);
56 border-radius: 8px; padding: 8px 10px; width: 150px; font-family: inherit; font-size: 14px;
57 }
58
59 main { max-width: 1200px; margin: 0 auto; padding: 22px 18px 60px; }
60
61 /* ---------- cards / buttons ---------- */
62 .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
63 .btn {
64 border: 1px solid var(--line); border-radius: 10px; background: var(--card-2); color: var(--text);
65 padding: 11px 18px; font-family: inherit; font-size: 14px; cursor: pointer;
66 transition: filter .15s, transform .05s; min-height: 44px;
67 }
68 .btn:hover { filter: brightness(1.15); }
69 .btn:active { transform: translateY(1px); }
70 .btn:disabled { opacity: .5; cursor: wait; }
71 .btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; }
72 .btn.accent { background: var(--accent); border-color: var(--accent); color: #201400; font-weight: 700; }
73 .btn.ghost { background: transparent; }
74 .btn.small { padding: 7px 13px; font-size: 12.5px; border-radius: 8px; min-height: 36px; }
75 .btn.danger { background: #3a1420; border-color: #7f1d1d; color: #fca5a5; }
76 .btn.block { width: 100%; }
77
78 /* ---------- landing ---------- */
79 .hero { text-align: center; padding: 22px 8px 8px; }
80 .hero h2 { font-size: 24px; margin: 0 0 10px; }
81 .hero p { max-width: 760px; margin: 0 auto 8px; color: var(--muted); }
82 .safety-note {
83 display: inline-block; margin-top: 10px; padding: 6px 16px;
84 border: 1px dashed var(--accent); border-radius: 999px; color: var(--accent); font-size: 12.5px;
85 }
86 .action-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; margin: 24px 0; }
87 .action-card { text-align: center; padding: 26px 20px; }
88 .action-icon { font-size: 36px; }
89 .action-card h3 { margin: 10px 0 6px; }
90 .action-card p { color: var(--muted); font-size: 13.5px; min-height: 44px; }
91 .progress-card { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
92 .spinner { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--primary); animation: spin .9s linear infinite; display: inline-block; }
93 @keyframes spin { to { transform: rotate(360deg); } }
94 .issues-card { border-color: #7f1d1d; margin-bottom: 16px; }
95 .issues-card h3 { color: var(--red); margin-top: 0; }
96 .info-card h3 { margin-top: 0; }
97 .policy-grid { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
98 .policy-item { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 7px 13px; font-size: 13px; }
99 .policy-item b { color: var(--blue); }
100
101 /* ---------- session bar ---------- */
102 .session-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
103 .session-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
104 .session-meta .company-name { font-weight: 800; font-size: 16px; }
105 .chip { padding: 3px 11px; border-radius: 999px; font-size: 12px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--muted); }
106 .chip.demo { border-color: var(--accent); color: var(--accent); }
107 .status-chip { padding: 8px 16px; border-radius: 12px; font-weight: 800; font-size: 13.5px; }
108 .status-INCOMPLETE { background: #3a2a10; color: #fbbf24; border: 1px solid #92600a; }
109 .status-COMPLETE_DRAFT { background: #122a4a; color: #93c5fd; border: 1px solid #1d4ed8; }
110 .status-COMPLETE_APPROVED { background: #0c2f24; color: #6ee7b7; border: 1px solid #047857; }
111
112 /* ---------- tab bar (bottom on mobile, top on desktop) ---------- */
113 .tabbar { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 18px; }
114 .tab {
115 position: relative; background: transparent; border: 1px solid transparent; color: var(--muted);
116 padding: 9px 15px; border-radius: 10px; cursor: pointer; font-family: inherit; font-size: 14px;
117 display: inline-flex; align-items: center; gap: 6px;
118 }
119 .tab:hover { color: var(--text); background: var(--bg-soft); }
120 .tab.active { background: var(--card); border-color: var(--line); color: var(--text); font-weight: 700; }
121 .tab-ico { font-size: 16px; }
122 .badge { background: var(--accent); color: #201400; border-radius: 999px; font-size: 11px; padding: 1px 7px; font-weight: 800; }
123 .badge.zero { background: var(--green); }
124
125 /* ---------- dashboard ---------- */
126 .grid { display: grid; gap: 12px; }
127 .checks-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 14px; }
128 .check-card { padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
129 .check-card .check-name { font-size: 13px; color: var(--muted); }
130 .check-card .check-state { font-size: 16px; font-weight: 800; margin: 3px 0; }
131 .check-card.pass .check-state { color: var(--green); }
132 .check-card.fail .check-state { color: var(--red); }
133 .check-card .check-details { font-size: 12px; color: var(--muted); }
134 .check-amount { direction: ltr; font-family: Consolas, monospace; font-size: 12.5px; }
135 .totals-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 14px 0; }
136 .total-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; }
137 .total-card .label { font-size: 12.5px; color: var(--muted); }
138 .total-card .value { font-size: 17px; font-weight: 800; direction: ltr; text-align: right; font-family: Consolas, monospace; }
139 .total-card.highlight { border-color: var(--primary); }
140 .total-card .value.neg { color: var(--red); }
141 .coverage-bar-wrap { background: var(--bg-soft); border-radius: 999px; height: 14px; overflow: hidden; border: 1px solid var(--line); }
142 .coverage-bar { height: 100%; background: linear-gradient(90deg, var(--primary), var(--green)); transition: width .4s; }
143
144 /* ---------- tables ---------- */
145 .table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
146 table { width: 100%; border-collapse: collapse; font-size: 13.5px; background: var(--card); }
147 th, td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: middle; }
148 thead th { background: var(--card-2); color: var(--muted); font-size: 12.5px; white-space: nowrap; }
149 tbody tr:hover { background: rgb(79 140 255 / 6%); }
150 td.num, th.num { direction: ltr; text-align: left; font-family: Consolas, monospace; white-space: nowrap; }
151 td.num.neg { color: var(--red); }
152 .table-toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
153 .table-toolbar input[type="search"], .table-toolbar select {
154 background: var(--bg-soft); border: 1px solid var(--line); color: var(--text);
155 border-radius: 9px; padding: 9px 12px; font-family: inherit; font-size: 14px;
156 }
157 .table-toolbar input[type="search"] { flex: 1; min-width: 160px; }
158
159 .approval-chip { font-size: 11.5px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
160 .approval-Approved { background: #0c2f24; color: #6ee7b7; border-color: #047857; }
161 .approval-Reviewed { background: #122a4a; color: #93c5fd; border-color: #1d4ed8; }
162 .approval-Draft { background: #3a2a10; color: #fbbf24; border-color: #92600a; }
163 .approval-none { background: #3a1420; color: #fca5a5; border-color: #7f1d1d; }
164
165 /* ---------- item cards (accounts / notes) ---------- */
166 .item-list { display: flex; flex-direction: column; gap: 10px; }
167 .item-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; }
168 .item-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
169 .item-title { font-weight: 700; font-size: 14.5px; }
170 .item-code { font-size: 12px; color: var(--muted); }
171 .item-sub { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
172 .item-amount { direction: ltr; font-family: Consolas, monospace; font-weight: 700; white-space: nowrap; }
173 .item-amount.neg { color: var(--red); }
174 .item-actions { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 10px; }
175 .item-actions .btn { flex: 1; min-width: 90px; }
176 .section-label { font-size: 13px; font-weight: 800; color: var(--blue); margin: 16px 0 8px; display: flex; align-items: center; gap: 8px; }
177 .section-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
178
179 /* ---------- statements ---------- */
180 .statement-paper { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
181 .statement-head { text-align: center; margin-bottom: 16px; }
182 .statement-head h2 { margin: 0; font-size: 20px; }
183 .statement-head .sub { color: var(--muted); font-size: 13px; }
184 .draft-watermark { display: inline-block; margin-top: 8px; padding: 3px 14px; border-radius: 999px; border: 1px dashed var(--accent); color: var(--accent); font-size: 12px; }
185 .statement-section { margin: 16px 0; }
186 .statement-section > .section-head { display: flex; justify-content: space-between; align-items: center; background: var(--card-2); padding: 9px 15px; border-radius: 10px; font-weight: 800; border: 1px solid var(--line); }
187 .note-line { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); cursor: pointer; gap: 10px; }
188 .note-line:hover { background: rgb(79 140 255 / 6%); }
189 .note-line .note-title { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; min-width: 0; }
190 .note-number { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 7px; min-width: 32px; text-align: center; font-size: 12px; padding: 1px 6px; color: var(--muted); }
191 .note-total { direction: ltr; font-family: Consolas, monospace; font-weight: 700; white-space: nowrap; }
192 .note-total.neg { color: var(--red); }
193 .drill { padding: 4px 14px 12px; }
194 .drill table { font-size: 12.5px; background: var(--bg-soft); }
195 .statement-total { display: flex; justify-content: space-between; padding: 12px 16px; margin-top: 12px; border-top: 2px solid var(--primary); font-weight: 900; font-size: 15px; gap: 10px; }
196 .statement-tools { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
197 .segmented { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
198 .segmented button { background: transparent; border: none; color: var(--muted); padding: 9px 18px; font-family: inherit; font-size: 14px; cursor: pointer; min-height: 42px; }
199 .segmented button.active { background: var(--primary); color: #fff; font-weight: 700; }
200
201 /* ---------- more / audit ---------- */
202 .provenance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; margin-bottom: 14px; }
203 .prov-item { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 10px 13px; font-size: 13px; }
204 .prov-item .k { color: var(--muted); font-size: 11.5px; }
205 .prov-item .v { word-break: break-all; }
206 .action-stack { display: flex; flex-direction: column; gap: 10px; }
207
208 /* ---------- bottom sheet ---------- */
209 .sheet-backdrop { position: fixed; inset: 0; background: rgb(0 0 0 / 55%); z-index: 40; }
210 .sheet {
211 position: fixed; z-index: 41; background: var(--bg-soft); border: 1px solid var(--line);
212 left: 0; right: 0; bottom: 0; max-height: 88vh; display: flex; flex-direction: column;
213 border-radius: 20px 20px 0 0; box-shadow: 0 -12px 50px rgb(0 0 0 / 5%);
214 animation: sheet-up .22s ease;
215 }
216 @keyframes sheet-up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
217 .sheet-handle { width: 44px; height: 4px; border-radius: 2px; background: var(--line); margin: 10px auto 2px; flex: none; }
218 .sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 20px; border-bottom: 1px solid var(--line); flex: none; }
219 .sheet-head h3 { margin: 0; font-size: 16px; }
220 .sheet-close { background: transparent; border: none; color: var(--muted); font-size: 18px; cursor: pointer; width: 40px; height: 40px; }
221 .sheet-body { padding: 18px 20px 26px; overflow-y: auto; }
222 .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
223 .form-grid .full { grid-column: 1 / -1; }
224 .form-field { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: var(--muted); }
225 .form-field input, .form-field select {
226 background: var(--card); border: 1px solid var(--line); color: var(--text);
227 border-radius: 9px; padding: 11px 12px; font-family: inherit; font-size: 15px; width: 100%;
228 }
229 .form-field input:focus, .form-field select:focus { outline: 2px solid var(--primary); outline-offset: -1px; }
230 .form-hint { font-size: 12px; color: var(--muted); margin: 8px 0; }
231 .form-actions { display: flex; gap: 10px; margin-top: 18px; }
232 .form-actions .btn { flex: 1; }
233 .computed-box { background: var(--card); border: 1px dashed var(--line); border-radius: 9px; padding: 10px 12px; font-size: 14px; }
234 .computed-box b { direction: ltr; font-family: Consolas, monospace; }
235
236 /* ---------- toast / footer ---------- */
237 .toast { position: fixed; bottom: calc(var(--nav-h) + 16px); right: 50%; transform: translateX(50%); background: var(--card-2); border: 1px solid var(--line); color: var(--text); padding: 12px 20px; border-radius: 12px; z-index: 50; max-width: 92vw; box-shadow: 0 12px 40px rgb(0 0 0 / 45%); font-size: 14px; text-align: center; }
238 .toast.error { border-color: #7f1d1d; color: #fca5a5; }
239 .toast.success { border-color: #047857; color: #6ee7b7; }
240 .footer { text-align: center; color: var(--muted); font-size: 12px; padding: 16px; border-top: 1px solid var(--line); }
241
242 /* ---------- mobile ---------- */
243 @media (max-width: 760px) {
244 main { padding: 16px 12px calc(var(--nav-h) + 28px); }
245 .topbar { padding: 10px 14px; }
246 .tagline { display: none; }
247 .topbar h1 { font-size: 15px; }
248 .actor-label { display: none; }
249 .actor-field input { width: 110px; }
250 .hero h2 { font-size: 20px; }
251 .statement-paper { padding: 16px 14px; }
252 .form-grid { grid-template-columns: 1fr; }
253 .tabbar {
254 position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; margin: 0;
255 background: rgb(10 18 32 / 95%); backdrop-filter: blur(8px);
256 border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
257 display: flex; justify-content: space-around; gap: 2px; flex-wrap: nowrap;
258 min-height: var(--nav-h);
259 }
260 .tabbar .tab { flex-direction: column; gap: 2px; font-size: 10.5px; padding: 6px 4px; flex: 1; border-radius: 10px; justify-content: center; }
261 .tabbar .tab-ico { font-size: 19px; }
262 .tabbar .badge { position: absolute; top: 2px; left: 50%; margin-inline-start: 8px; }
263 .footer { display: none; }
264 .toast { bottom: calc(var(--nav-h) + 14px); }
265 .desktop-only { display: none !important; }
266 }
267 @media (min-width: 761px) {
268 .mobile-only { display: none !important; }
269 .tabbar { position: static; }
270 }
271
272 /* ---------- print ---------- */
273 @media print {
274 body { background: #fff; color: #111; }
275 .topbar, .tabbar, .session-bar, .footer, .statement-tools, .toast, .sheet, .sheet-backdrop { display: none !important; }
276 .statement-paper { border: none; background: #fff; }
277 .statement-section > .section-head { background: #eef2f7; color: #111; }
278 .note-line, th, td { border-color: #cbd5e1; }
279 .note-number, .chip { color: #334155; background: #f1f5f9; }
280 thead th { background: #eef2f7; color: #334155; }
281 table { background: #fff; }
282 .draft-watermark { color: #92400e; border-color: #92400e; }
283 }
284
285 /* ---------- boot / engine loading ---------- */
286 .boot { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: radial-gradient(900px 500px at 70% -10%, #14264a 0%, transparent 60%), var(--bg); padding: 20px; }
287 .boot-card { text-align: center; max-width: 420px; width: 100%; }
288 .boot-mark { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), #7c5cff); font-size: 32px; font-weight: 800; color: #fff; }
289 .boot-card h2 { margin: 0 0 8px; font-size: 20px; }
290 .boot-card p { color: var(--muted); font-size: 13.5px; }
291 .boot-bar { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; height: 12px; overflow: hidden; margin: 16px 0; }
292 .boot-progress { height: 100%; width: 5%; background: linear-gradient(90deg, var(--primary), var(--green)); transition: width .4s; }
293 .boot-error { color: var(--red) !important; border: 1px solid #7f1d1d; border-radius: 10px; padding: 10px; margin-top: 12px; }