File size: 15,279 Bytes
45a105b
 
 
 
 
 
 
 
 
 
36db998
45a105b
36db998
 
45a105b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
de6cac5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
004f460
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70332a1
 
004f460
de6cac5
 
 
 
004f460
de6cac5
adb91eb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0f4d9ea
 
 
 
 
 
 
 
 
 
 
 
 
 
67756a5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c7af659
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
:root {
  --bg: #0b1020; --surface: #121a30; --surface-2: #1a2440; --border: #26314f;
  --text: #e8ecf6; --muted: #94a3c4; --primary: #6366f1; --primary-600: #4f46e5;
  --ok: #10b981; --bad: #f43f5e; --warn: #f59e0b; --radius: 14px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  background: var(--bg); color: var(--text); }
.app { max-width: 720px; margin: 0 auto; padding: 16px; }
.topbar { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; margin-inline-end: auto; }
[dir="rtl"] .brand { margin-inline-end: auto; }
.brand-lock { color: var(--primary); flex: none; filter: drop-shadow(0 1px 2px rgba(99,102,241,.35)); }
.brand-lock-hole { fill: var(--bg); }
nav { display: flex; gap: 6px; }
.tab { background: transparent; color: var(--muted); border: 1px solid transparent;
  border-radius: 10px; padding: 8px 12px; cursor: pointer; font: inherit; }
.tab.active { color: var(--text); background: var(--surface-2); border-color: var(--border); }
.content { padding-top: 14px; }
.tagline { color: var(--muted); margin: 4px 0 14px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
h2 { margin: 0 0 12px; font-size: 18px; }
.field { margin: 10px 0; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text); font: inherit; }
.field input[aria-invalid="true"] { border-color: var(--bad); }
.field-error { color: var(--bad); font-size: 12.5px; margin-top: 4px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: var(--primary); color: #fff; border: 1px solid var(--primary-600);
  border-radius: 10px; padding: 10px 14px; font: inherit; cursor: pointer; }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn:focus-visible, .tab:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--primary); outline-offset: 2px; }
.callout { margin-top: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface-2); }
.callout.tone-ok { border-color: var(--ok); }
.callout.tone-bad { border-color: var(--bad); }
.callout.tone-warn { border-color: var(--warn); }
.badge { padding: 4px 10px; border-radius: 999px; font-size: 13px; border: 1px solid var(--border); }
.badge.tone-ok { color: var(--ok); border-color: var(--ok); }
.badge.tone-bad { color: var(--bad); border-color: var(--bad); }
.badge.tone-warn { color: var(--warn); border-color: var(--warn); }
.badge.tone-info { color: var(--muted); }
.receipt { margin-top: 14px; }
.receipt-row { display: flex; align-items: center; justify-content: space-between; }
.support { margin-top: 12px; color: var(--muted); font-size: 12.5px; }
.mono { font-family: ui-monospace, monospace; margin-top: 6px; word-break: break-all; }
.spinner { display: inline-flex; align-items: center; gap: 8px; }
.spin { width: 14px; height: 14px; border: 2px solid var(--muted); border-top-color: transparent;
  border-radius: 50%; animation: sp .8s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }

/* Header active user + language */
.topbar-right { display: flex; align-items: center; gap: 10px; }
.active-user { font-size: 12.5px; color: var(--muted); max-width: 160px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }

/* Demo banner */
.demo-banner { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; font-size: 12.5px;
  color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent); }

/* Enroll action groups */
.action-group { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin: 12px 0; }
.action-group legend { color: var(--text); font-weight: 600; font-size: 13.5px; padding: 0 6px; }
.hint { color: var(--muted); font-size: 12.5px; margin: 2px 0 8px; }
.paying-as { color: var(--muted); font-size: 13px; margin: 4px 0 10px; }
.status-help { color: var(--muted); font-size: 13px; margin: 6px 0 10px; }

/* Definition grids (summary / technical / environment) */
.summary-grid, .tech-grid, .env-grid { display: grid; grid-template-columns: max-content 1fr;
  gap: 4px 14px; margin: 10px 0; font-size: 13px; }
.summary-grid dt, .tech-grid dt, .env-grid dt { color: var(--muted); }
.summary-grid dd, .tech-grid dd, .env-grid dd { margin: 0; }

/* Scenario selector */
.scenario { margin-top: 12px; padding: 4px 0; }
.scenario summary { cursor: pointer; color: var(--warn); font-size: 13px; }
.row.wrap { flex-wrap: wrap; }

/* Inline link button (e.g. "go to Enroll") */
.link { background: none; border: none; color: var(--primary); text-decoration: underline;
  cursor: pointer; font: inherit; padding: 0; }

/* Footer */
.app-footer { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--border); color: var(--muted); }
.env-panel summary { cursor: pointer; font-size: 13px; }
.version-line { font-size: 11.5px; color: var(--muted); margin-top: 8px; }

/* Biometrics */
.sample { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin: 12px 0; }
.sample legend { color: var(--text); font-weight: 600; font-size: 13.5px; padding: 0 6px; }
.sample-controls { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.sample-preview { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sample-preview img { max-width: 160px; max-height: 160px; border-radius: 10px; border: 1px solid var(--border); }
.cam video, .rec + * { max-width: 100%; }
.cam video { width: 100%; max-width: 320px; border-radius: 10px; background: #000; }
.upload-btn { display: inline-flex; align-items: center; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 14px; cursor: pointer; font-size: 14px; }
.modality-grid { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.modality-card { display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.actions { margin: 8px 0; padding-inline-start: 20px; }
.result-panel { margin-top: 12px; }
.section { grid-column: 1 / -1; font-weight: 600; color: var(--text); }
.flash-overlay { position: fixed; inset: 0; z-index: 9999; }
.check { display: inline-flex; align-items: center; gap: 6px; margin-inline-end: 14px; font-size: 13px; }
.oob-pending { margin-top: 12px; }

@media (max-width: 560px) {
  .app { padding: 10px; }
  .topbar { flex-wrap: wrap; }
  .active-user { max-width: 110px; }
  .modality-grid { grid-template-columns: 1fr; }
}

/* ---------- PR C2.5 β€” Agentic Security UX ---------- */
.row-between { display:flex; align-items:center; justify-content:space-between; gap:.75rem; flex-wrap:wrap; }
.muted { color: var(--muted, #6b7280); }
.small { font-size: .82rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; }
.linklike { background:none; border:none; color: var(--accent, #2563eb); cursor:pointer; padding:0; text-decoration:underline; font: inherit; }
.empty-state { padding: 1rem 0; }

.quick-actions { display:flex; flex-wrap:wrap; gap:.5rem; margin-top:.5rem; }
.btn.primary { background: var(--accent, #2563eb); color:#fff; }
.status-list { list-style:none; padding:0; margin:.5rem 0; }
.status-list li { display:flex; justify-content:space-between; align-items:center; padding:.35rem 0; border-bottom:1px solid rgba(0,0,0,.06); gap:.5rem; }
.status-card .callout { margin-bottom:.5rem; }

.shadow-badges { display:flex; flex-wrap:wrap; gap:.4rem; margin:.5rem 0; }
.badge { display:inline-block; padding:.15rem .5rem; border-radius:999px; font-size:.78rem; font-weight:600; }

.result-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:.75rem; margin:.75rem 0; }
.explanation ul { margin:.35rem 0 0; padding-inline-start:1.1rem; }

.agent-trace { margin-top:1rem; }
.trace-list { list-style:none; padding:0; margin:0; }
.trace-step { border-inline-start:3px solid rgba(0,0,0,.12); padding:.5rem .75rem; margin:.35rem 0; border-radius:.4rem; background:rgba(0,0,0,.02); }
.trace-step.role-authoritative { border-inline-start-color:#16a34a; }
.trace-step.role-advisory { border-inline-start-color:#2563eb; }
.trace-step.role-user { border-inline-start-color:#d97706; }
.trace-step.role-notExecuted { border-inline-start-color:#dc2626; }
.trace-step.role-executed { border-inline-start-color:#16a34a; }
.trace-head { display:flex; justify-content:space-between; align-items:center; gap:.5rem; }
.trace-summary { display:block; font-size:.85rem; color:var(--muted,#6b7280); margin-top:.15rem; }

.dev-panel { margin-top:.75rem; border:1px dashed rgba(0,0,0,.2); border-radius:.5rem; padding:.5rem .75rem; }
.dev-panel summary { cursor:pointer; font-weight:600; }

/* Responsive navigation: desktop tabs vs mobile bottom bar */
.bottom-nav { display:none; }
@media (max-width: 720px) {
  .desktop-nav { display:none; }
  .bottom-nav {
    display:flex; position:sticky; bottom:0; inset-inline:0; z-index:20;
    background:var(--bg,#fff); border-top:1px solid rgba(0,0,0,.1);
    justify-content:space-around; padding:.35rem .25rem; gap:.15rem;
  }
  .bnav { flex:1; background:none; border:none; padding:.5rem .25rem; font:inherit; color:var(--muted,#6b7280); min-height:44px; border-radius:.5rem; }
  .bnav.active { color:var(--accent,#2563eb); font-weight:700; background:rgba(37,99,235,.08); }
  .content { padding-bottom:4rem; }
}

/* ---------- PR C2.5 payment journey + activity ---------- */
.pay-flow .row { display:flex; gap:.5rem; margin-top:.5rem; flex-wrap:wrap; }
.pay-flow .row.wrap { flex-wrap:wrap; }
.rail-option { display:flex; align-items:center; gap:.6rem; flex-wrap:wrap; padding:.6rem .75rem; border:1px solid rgba(0,0,0,.12); border-radius:.5rem; margin:.4rem 0; cursor:pointer; }
.rail-option.selected { border-color: var(--accent,#2563eb); background: rgba(37,99,235,.06); }
.rail-name { font-weight:600; }
.review .summary-grid { margin:.5rem 0; }
.tabs { display:flex; gap:.35rem; flex-wrap:wrap; margin:.5rem 0; }
.tabs .tab { padding:.35rem .7rem; border-radius:999px; border:1px solid rgba(0,0,0,.12); background:none; cursor:pointer; font:inherit; }
.tabs .tab.active { background: var(--accent,#2563eb); color:#fff; border-color:transparent; }
.activity-list { list-style:none; padding:0; margin:.5rem 0; }
.activity-item { border:1px solid rgba(0,0,0,.1); border-radius:.5rem; padding:.6rem .75rem; margin:.4rem 0; }
.more-sheet { position:fixed; bottom:3.6rem; inset-inline:0; z-index:25; background:var(--bg,#fff); border-top:1px solid rgba(0,0,0,.12); display:flex; flex-direction:column; }
.more-item { padding:.9rem 1rem; text-align:start; background:none; border:none; border-bottom:1px solid rgba(0,0,0,.06); font:inherit; min-height:44px; cursor:pointer; }
@media (prefers-reduced-motion: reduce) { .spin { animation: none !important; } }

/* PR C4 β€” consent controls + federated status */
.consent-row { display:flex; gap:1rem; align-items:flex-start; justify-content:space-between; padding:.7rem 0; border-bottom:1px solid rgba(0,0,0,.07); }
.consent-row:last-of-type { border-bottom:none; }
.consent-row-text { flex:1 1 auto; min-width:0; }
.consent-row-control { display:flex; flex-direction:column; align-items:flex-end; gap:.4rem; flex:0 0 auto; }
.consent-delete { margin-top:1rem; padding-top:.8rem; border-top:1px dashed rgba(0,0,0,.15); }
.btn.danger { border-color:#b42318; color:#b42318; }
.btn.danger:hover:not(:disabled) { background:#b42318; color:#fff; }
.federated-status .status-list { margin:.4rem 0; }
@media (max-width:520px){ .consent-row { flex-direction:column; } .consent-row-control { align-items:flex-start; } }
.badge.tone-neutral { background:rgba(0,0,0,.06); color:inherit; }
.deletion-receipt { margin-top:.6rem; padding:.5rem .6rem; border:1px solid rgba(0,0,0,.1); border-radius:.5rem; }
.deletion-receipt p { margin:.15rem 0; word-break:break-word; }

/* ---------- Programme D2 β€” accounts + multi-device passkeys ---------- */
.d2-select { width:100%; padding:10px 12px; border-radius:10px; border:1px solid var(--border);
  background:var(--surface-2); color:var(--text); font:inherit; }
.d2-list { list-style:none; padding:0; margin:12px 0; display:flex; flex-direction:column; gap:8px; }
.d2-item { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; flex-wrap:wrap;
  border:1px solid var(--border); border-radius:12px; padding:10px 12px; }
.d2-item-main { flex:1 1 220px; min-width:0; }
.d2-item-main strong { display:block; }
.d2-item-actions { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.d2-meta { display:flex; flex-direction:column; gap:2px; color:var(--muted); font-size:12.5px; margin-top:4px; }
.d2-meta span { word-break:break-word; }
.sr-live { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.d2-modal-backdrop { position:fixed; inset:0; z-index:50; background:rgba(0,0,0,.55);
  display:flex; align-items:center; justify-content:center; padding:16px; }
.d2-modal { max-width:420px; width:100%; }
.d2-modal p { margin:0 0 12px; }

/* ---- Programme D3 β€” simulated finance (bilingual, iPad-friendly, accessible) ---- */
.sim-note { background: var(--warn-bg, #fff7ed); color: var(--warn-fg, #9a3412);
  border-inline-start: 3px solid #f59e0b; padding: 8px 12px; border-radius: 8px; font-size: 0.9rem; }
.sim-note.big { font-size: 1.05rem; font-weight: 600; }
.account-card { padding: 14px; border-radius: 12px; }
.account-name { font-weight: 600; }
.account-balance { font-size: 1.5rem; font-weight: 700; margin: 6px 0; }
.muted { color: var(--muted, #64748b); font-size: 0.9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ATM kiosk β€” large touch targets, no hover dependency, clear progress. */
.atm-kiosk { max-width: 720px; margin-inline: auto; }
.atm-flow .field, .atm-flow .btn { font-size: 1.15rem; }
.atm-kiosk .btn { min-height: 56px; padding-inline: 20px; }
.atm-select { min-height: 52px; font-size: 1.1rem; width: 100%; }
.atm-big { font-size: 2.4rem; font-weight: 800; text-align: center; margin: 12px 0; }
.atm-big-inline { font-size: 1.25rem; font-weight: 700; }
.atm-review { text-align: center; }
.atm-queue-item { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

@media (max-width: 640px) {
  .atm-big { font-size: 2rem; }
  .account-balance { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .atm-kiosk *, .account-card * { transition: none !important; animation: none !important; }
}