open-standards/aac/aac-rs/crates/aac-web/style/main.css
Transaction Science ba1212361f Add aac, map, sandbox standards; catalog the standards family
Commit the previously-untracked standard directories and catalog them in the
root README alongside proof:

- aac/    — communication cargo class: portable boards + a ten-level
            offline-first cascade (Apache-2.0 code / CC-BY-4.0 spec).
- map/    — geospatial cargo class: range-requestable signed tilesets +
            an F0–F4 fidelity cascade (Apache-2.0 code / CC-BY-4.0 spec).
- sandbox/— isolated, metered, attested execution across the heterogeneous
            compute fabric (Apache-2.0 code / CC-BY-4.0 spec).
- jouleclaw-otel-authz, jouleclaw-trust — new jouleclaw reference crates.

Root README now lists aac, map, sandbox, and proof in the catalog, the tree,
and the contribution guide.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-06-07 17:04:36 -04:00

1495 lines
30 KiB
CSS

/* aac.transaction.science — AAC communication app styles.
*
* Design principles:
* 1. Large touch targets (minimum 48px, eye gaze needs 80px+)
* 2. High contrast by default
* 3. No decorative elements that waste space
* 4. Every pixel serves communication
* 5. Adapts to phone/tablet/desktop
*/
/* ─── Reset ──────────────────────────────────────────── */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html, body {
height: 100%;
width: 100%;
overflow: hidden;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
font-size: 16px;
-webkit-user-select: none;
user-select: none;
-webkit-touch-callout: none;
touch-action: manipulation;
}
/* ─── Shell ──────────────────────────────────────────── */
.aac-shell {
display: flex;
flex-direction: column;
height: 100vh;
height: 100dvh;
background: #f5f5f5;
color: #1a1a1a;
}
.aac-shell.fullscreen {
position: fixed;
inset: 0;
z-index: 9999;
}
/* ─── Color modes ────────────────────────────────────── */
.aac-shell.high-contrast {
background: #000;
color: #fff;
}
.aac-shell.dark {
background: #1a1a1a;
color: #e0e0e0;
}
.aac-shell.yellow-on-black {
background: #000;
color: #FFD700;
}
/* ─── Output strip ───────────────────────────────────── */
.output-strip {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 12px;
background: #fff;
border-bottom: 2px solid #ddd;
min-height: 64px;
flex-shrink: 0;
}
.high-contrast .output-strip {
background: #111;
border-bottom-color: #444;
}
.output-buffer {
flex: 1;
font-size: 1.5em;
font-weight: 600;
padding: 8px 12px;
min-height: 48px;
display: flex;
align-items: center;
color: #333;
overflow-x: auto;
white-space: nowrap;
}
.high-contrast .output-buffer { color: #fff; }
.yellow-on-black .output-buffer { color: #FFD700; }
.output-actions {
display: flex;
gap: 6px;
flex-shrink: 0;
}
.output-btn {
min-width: 48px;
min-height: 48px;
border: 2px solid #ccc;
border-radius: 8px;
background: #fff;
font-size: 1.4em;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.1s;
}
.output-btn:active { background: #e0e0e0; }
.output-btn:disabled { opacity: 0.3; cursor: default; }
.speak-btn {
min-width: 80px;
background: #2196F3;
color: #fff;
border-color: #1976D2;
font-size: 1.6em;
}
.speak-btn:active { background: #1976D2; }
/* ─── Prediction bar ─────────────────────────────────── */
.prediction-bar {
display: flex;
gap: 6px;
padding: 6px 12px;
background: #e8e8e8;
overflow-x: auto;
flex-shrink: 0;
min-height: 44px;
}
.high-contrast .prediction-bar { background: #222; }
.prediction-cell {
padding: 8px 16px;
border: 1px solid #bbb;
border-radius: 20px;
background: #fff;
font-size: 1em;
cursor: pointer;
white-space: nowrap;
flex-shrink: 0;
}
.prediction-cell:active { background: #d0d0d0; }
.high-contrast .prediction-cell { background: #333; color: #fff; border-color: #666; }
/* ─── Board area ─────────────────────────────────────── */
.board-area {
flex: 1;
position: relative;
overflow: hidden;
padding: 4px;
}
.grid-board {
width: 100%;
height: 100%;
}
/* ─── Grid cell ──────────────────────────────────────── */
.grid-cell {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 4px;
border: 2px solid #ddd;
border-radius: 8px;
cursor: pointer;
padding: 4px;
overflow: hidden;
transition: transform 0.05s;
min-width: 0;
min-height: 0;
}
.grid-cell:active { transform: scale(0.95); }
.grid-cell.empty { border-color: transparent; cursor: default; }
.grid-cell.cell-has-border { border-width: 3px; }
.reduced-motion .grid-cell { transition: none; }
.cell-symbol {
max-width: 60%;
max-height: 60%;
object-fit: contain;
}
.cell-label {
font-size: 0.85em;
font-weight: 600;
text-align: center;
line-height: 1.2;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
}
/* ─── Scan overlay ───────────────────────────────────── */
.scan-overlay {
position: absolute;
inset: 4px;
pointer-events: none;
z-index: 10;
}
.scan-row-highlight,
.scan-cell-highlight {
position: absolute;
border-radius: 8px;
animation: scan-pulse 0.5s ease-in-out infinite alternate;
}
@keyframes scan-pulse {
from { opacity: 0.7; }
to { opacity: 1.0; }
}
.reduced-motion .scan-row-highlight,
.reduced-motion .scan-cell-highlight {
animation: none;
opacity: 1.0;
}
/* ─── Dwell overlay ──────────────────────────────────── */
.dwell-overlay {
position: absolute;
inset: 4px;
pointer-events: none;
z-index: 10;
}
.dwell-ring {
position: absolute;
width: 48px;
height: 48px;
}
/* ─── Navigation bar ─────────────────────────────────── */
.navigation-bar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 4px 8px;
background: #fff;
border-top: 2px solid #ddd;
min-height: 52px;
flex-shrink: 0;
}
.high-contrast .navigation-bar { background: #111; border-top-color: #444; }
.nav-left, .nav-center, .nav-right {
display: flex;
align-items: center;
gap: 4px;
}
.nav-btn {
min-width: 44px;
min-height: 44px;
border: 1px solid #ccc;
border-radius: 8px;
background: #fff;
font-size: 1.2em;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
.nav-btn:active { background: #e0e0e0; }
.nav-btn:disabled { opacity: 0.3; }
.high-contrast .nav-btn { background: #222; color: #fff; border-color: #555; }
.nav-energy {
font-size: 0.75em;
color: #888;
padding: 0 8px;
}
/* ─── Panels ─────────────────────────────────────────── */
.panel-overlay {
position: fixed;
inset: 0;
z-index: 100;
display: flex;
justify-content: flex-end;
}
.panel-backdrop {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.4);
}
.panel-content {
position: relative;
width: min(400px, 85vw);
height: 100%;
background: #fff;
overflow-y: auto;
box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
}
.high-contrast .panel-content { background: #111; }
.panel-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px;
border-bottom: 1px solid #ddd;
position: sticky;
top: 0;
background: inherit;
z-index: 1;
}
.panel-title {
font-size: 1.2em;
font-weight: 700;
}
.panel-close {
width: 36px;
height: 36px;
border: none;
background: none;
font-size: 1.2em;
cursor: pointer;
border-radius: 50%;
}
.panel-close:active { background: #e0e0e0; }
.panel-body {
padding: 16px;
}
/* ─── Settings ───────────────────────────────────────── */
.settings-section {
margin-bottom: 24px;
}
.settings-section h3 {
font-size: 0.9em;
text-transform: uppercase;
letter-spacing: 0.05em;
color: #666;
margin-bottom: 8px;
}
.settings-grid {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.settings-btn {
padding: 10px 16px;
border: 2px solid #ddd;
border-radius: 8px;
background: #fff;
font-size: 0.9em;
cursor: pointer;
}
.settings-btn.active {
background: #2196F3;
color: #fff;
border-color: #1976D2;
}
.settings-sliders {
display: flex;
flex-direction: column;
gap: 8px;
}
.settings-sliders input[type="range"] {
width: 100%;
}
/* ─── Analytics ──────────────────────────────────────── */
.metric-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}
.metric {
display: flex;
flex-direction: column;
align-items: center;
padding: 12px;
background: #f0f0f0;
border-radius: 8px;
}
.metric-value { font-size: 1.5em; font-weight: 700; }
.metric-label { font-size: 0.75em; color: #666; }
.top-words {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.top-word {
padding: 4px 10px;
background: #e8e8e8;
border-radius: 12px;
font-size: 0.85em;
}
.analytics-hint {
font-size: 0.8em;
color: #666;
margin-bottom: 8px;
}
.unused-words {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.unused-word {
padding: 4px 10px;
background: #FFF3E0;
border: 1px solid #FFB74D;
border-radius: 12px;
font-size: 0.85em;
color: #E65100;
}
.analytics-export-btn {
padding: 12px 24px;
background: #1976D2;
color: white;
border: none;
border-radius: 8px;
font-size: 1em;
font-weight: 600;
cursor: pointer;
width: 100%;
}
.analytics-export-btn:hover {
background: #1565C0;
}
.analytics-export-btn:active {
background: #0D47A1;
}
/* ─── Voice banking ──────────────────────────────────── */
.vb-progress-bar {
height: 12px;
background: #e0e0e0;
border-radius: 6px;
overflow: hidden;
}
.vb-progress-fill {
height: 100%;
background: #4CAF50;
transition: width 0.3s;
}
.vb-phrase-card {
padding: 16px;
background: #f9f9f9;
border: 2px solid #ddd;
border-radius: 8px;
text-align: center;
}
.vb-phrase-text { font-size: 1.2em; margin-bottom: 12px; }
.vb-record-btn {
padding: 12px 24px;
background: #f44336;
color: #fff;
border: none;
border-radius: 8px;
font-size: 1em;
cursor: pointer;
}
/* ─── Responsive ─────────────────────────────────────── */
/* Phone */
@media (max-width: 767px) {
.output-buffer { font-size: 1.2em; }
.output-btn { min-width: 40px; min-height: 40px; }
.nav-btn { min-width: 38px; min-height: 38px; }
.prediction-cell { padding: 6px 12px; font-size: 0.9em; }
}
/* Desktop */
@media (min-width: 1025px) {
.output-buffer { font-size: 1.8em; }
.grid-cell { border-radius: 10px; }
.panel-content { width: min(500px, 40vw); }
}
/* ─── Text Mode (literate users) ────────────────────── */
.text-mode {
display: flex;
flex-direction: column;
gap: 8px;
flex: 1;
padding: 8px;
overflow-y: auto;
}
.text-input-area {
display: flex;
flex-direction: column;
gap: 6px;
}
.text-input {
width: 100%;
min-height: 80px;
padding: 12px;
font-size: 1.4em;
border: 2px solid #ccc;
border-radius: 8px;
resize: vertical;
font-family: inherit;
}
.text-actions {
display: flex;
gap: 6px;
flex-wrap: wrap;
}
.text-btn {
padding: 10px 16px;
border: 2px solid #ccc;
border-radius: 8px;
font-size: 1em;
cursor: pointer;
background: #f0f0f0;
min-height: 44px;
}
.text-btn.speak-btn {
background: #1976D2;
color: #fff;
border-color: #1565C0;
flex: 1;
font-size: 1.2em;
min-height: 56px;
}
.text-btn:disabled { opacity: 0.4; cursor: default; }
.text-predictions {
display: flex;
gap: 6px;
flex-wrap: wrap;
min-height: 40px;
}
.prediction-pill {
padding: 8px 14px;
background: #e3f2fd;
border: 1px solid #90CAF9;
border-radius: 16px;
cursor: pointer;
font-size: 0.95em;
}
.prediction-pill:hover { background: #BBDEFB; }
.text-toggle-row {
display: flex;
justify-content: center;
}
.text-toggle {
padding: 6px 16px;
background: none;
border: 1px solid #999;
border-radius: 16px;
cursor: pointer;
font-size: 0.85em;
}
.text-toggle.active { background: #e0e0e0; }
/* Quick phrases */
.quick-phrases {
display: flex;
flex-direction: column;
gap: 8px;
}
.phrase-tabs {
display: flex;
gap: 4px;
overflow-x: auto;
padding-bottom: 4px;
}
.phrase-tab {
padding: 8px 12px;
background: #f0f0f0;
border: 2px solid transparent;
border-radius: 8px;
cursor: pointer;
font-size: 1.2em;
min-width: 44px;
min-height: 44px;
}
.phrase-tab.active {
border-color: #1976D2;
background: #e3f2fd;
}
.phrase-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
gap: 6px;
}
.phrase-btn {
padding: 10px;
background: #fff;
border: 2px solid #ddd;
border-radius: 8px;
cursor: pointer;
font-size: 0.95em;
text-align: center;
min-height: 44px;
}
.phrase-btn:hover { border-color: #1976D2; background: #f5f5f5; }
.recent-messages h4 {
font-size: 0.85em;
color: #666;
margin-bottom: 4px;
}
.recent-list {
display: flex;
flex-direction: column;
gap: 4px;
}
.recent-msg-btn {
padding: 8px 12px;
background: #fafafa;
border: 1px solid #e0e0e0;
border-radius: 6px;
text-align: left;
cursor: pointer;
font-size: 0.9em;
}
/* ─── Visual Scene ──────────────────────────────────── */
.visual-scene {
position: relative;
flex: 1;
overflow: hidden;
}
.scene-image {
width: 100%;
height: 100%;
object-fit: contain;
user-select: none;
}
.scene-hotspots {
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
}
.scene-hotspot {
position: absolute;
border: 3px solid rgba(25, 118, 210, 0.7);
border-radius: 50%;
background: rgba(25, 118, 210, 0.15);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s;
}
.scene-hotspot:hover { background: rgba(25, 118, 210, 0.35); }
.hotspot-label {
font-size: 0.8em;
font-weight: 600;
color: #1565C0;
text-shadow: 0 0 4px #fff;
pointer-events: none;
}
/* ─── Environmental Control ─────────────────────────── */
.environmental-panel {
display: flex;
flex-direction: column;
gap: 16px;
}
.env-emergency {
display: flex;
gap: 8px;
}
.emergency-btn {
flex: 1;
padding: 20px;
background: #D32F2F;
color: #fff;
border: 3px solid #B71C1C;
border-radius: 12px;
font-size: 1.3em;
font-weight: 700;
cursor: pointer;
min-height: 80px;
}
.nurse-btn {
flex: 1;
padding: 20px;
background: #FF9800;
color: #fff;
border: 3px solid #E65100;
border-radius: 12px;
font-size: 1.1em;
font-weight: 600;
cursor: pointer;
min-height: 80px;
}
.env-device-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
gap: 8px;
}
.env-device-btn {
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
padding: 16px 8px;
background: #f5f5f5;
border: 2px solid #ddd;
border-radius: 10px;
cursor: pointer;
min-height: 70px;
}
.env-device-btn:hover { border-color: #1976D2; }
.env-icon { font-size: 1.8em; }
.env-label { font-size: 0.8em; }
.env-connect {
display: flex;
gap: 8px;
}
.env-url-input {
flex: 1;
padding: 8px 12px;
border: 2px solid #ccc;
border-radius: 6px;
font-size: 0.9em;
}
.env-connect-btn {
padding: 8px 16px;
background: #4CAF50;
color: #fff;
border: none;
border-radius: 6px;
cursor: pointer;
}
.env-help { font-size: 0.85em; color: #666; margin-bottom: 8px; }
/* ─── Aphasia Mode ──────────────────────────────────── */
.aphasia-panel {
display: flex;
flex-direction: column;
gap: 12px;
}
.aphasia-tabs {
display: flex;
gap: 4px;
overflow-x: auto;
}
.aphasia-tab {
padding: 10px 16px;
background: #f0f0f0;
border: 2px solid transparent;
border-radius: 8px;
cursor: pointer;
font-size: 1em;
font-weight: 600;
min-height: 44px;
}
.aphasia-tab.active {
border-color: #1976D2;
background: #e3f2fd;
}
.aphasia-content { min-height: 200px; }
.aphasia-yesno {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
.aphasia-big-btn {
padding: 24px;
font-size: 1.5em;
font-weight: 700;
border: 3px solid #ccc;
border-radius: 12px;
cursor: pointer;
min-height: 100px;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
}
.yes-btn { background: #C8E6C9; border-color: #4CAF50; }
.no-btn { background: #FFCDD2; border-color: #F44336; }
.maybe-btn { background: #FFF9C4; border-color: #FFC107; }
.idk-btn { background: #E1BEE7; border-color: #9C27B0; }
.pain-scale {
display: flex;
gap: 6px;
justify-content: center;
flex-wrap: wrap;
}
.pain-btn {
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
padding: 12px;
background: #fff;
border: 2px solid #ddd;
border-radius: 10px;
cursor: pointer;
min-width: 70px;
min-height: 80px;
}
.pain-face { font-size: 2em; }
.pain-score { font-size: 1.2em; font-weight: 700; }
.pain-label { font-size: 0.7em; color: #666; }
.aphasia-feelings,
.aphasia-needs,
.aphasia-people {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
gap: 8px;
}
.aphasia-feeling-btn,
.aphasia-need-btn,
.aphasia-person-btn {
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
padding: 12px 8px;
background: #fff;
border: 2px solid #ddd;
border-radius: 10px;
cursor: pointer;
min-height: 80px;
}
.aphasia-feeling-btn:hover,
.aphasia-need-btn:hover,
.aphasia-person-btn:hover { border-color: #1976D2; }
.feeling-emoji,
.need-emoji,
.person-emoji { font-size: 2em; }
.feeling-label,
.need-label,
.person-label { font-size: 0.75em; text-align: center; }
/* ─── Multi-Profile ─────────────────────────────────── */
.profiles-panel {
display: flex;
flex-direction: column;
gap: 12px;
}
.profiles-help { font-size: 0.85em; color: #666; }
.profile-current {
display: flex;
align-items: center;
gap: 8px;
padding: 12px;
background: #e3f2fd;
border: 2px solid #1976D2;
border-radius: 8px;
}
.profile-badge { font-size: 1.5em; }
.profile-badge.active { color: #1976D2; }
.profile-tag {
margin-left: auto;
padding: 2px 8px;
background: #1976D2;
color: #fff;
border-radius: 4px;
font-size: 0.75em;
}
.profile-list {
display: flex;
flex-direction: column;
gap: 6px;
}
.profile-row {
display: flex;
align-items: center;
gap: 8px;
padding: 10px;
background: #fafafa;
border: 1px solid #e0e0e0;
border-radius: 8px;
}
.profile-info {
display: flex;
flex-direction: column;
flex: 1;
}
.profile-name { font-weight: 600; }
.profile-access { font-size: 0.75em; color: #888; }
.profile-switch-btn {
padding: 6px 14px;
background: #4CAF50;
color: #fff;
border: none;
border-radius: 6px;
cursor: pointer;
font-size: 0.85em;
}
.profile-create-form {
display: flex;
flex-direction: column;
gap: 10px;
padding: 12px;
background: #f9f9f9;
border: 1px solid #ddd;
border-radius: 8px;
}
.profile-name-input,
.profile-select {
padding: 8px;
border: 2px solid #ccc;
border-radius: 6px;
font-size: 1em;
width: 100%;
}
.profile-form-actions {
display: flex;
gap: 8px;
}
.profile-create-btn {
padding: 8px 16px;
background: #1976D2;
color: #fff;
border: none;
border-radius: 6px;
cursor: pointer;
}
.profile-cancel-btn {
padding: 8px 16px;
background: #e0e0e0;
border: none;
border-radius: 6px;
cursor: pointer;
}
.profile-add-btn {
padding: 10px;
background: none;
border: 2px dashed #bbb;
border-radius: 8px;
cursor: pointer;
font-size: 0.95em;
color: #666;
width: 100%;
}
/* ─── AAC Coach ─────────────────────────────────────── */
.coach-panel {
display: flex;
flex-direction: column;
gap: 12px;
}
.coach-subtitle { font-size: 0.85em; color: #666; }
.coach-card {
padding: 16px;
background: #f9f9f9;
border: 2px solid #E0E0E0;
border-radius: 10px;
}
.coach-card-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
}
.coach-card h4 { font-size: 1.1em; }
.coach-progress { font-size: 0.8em; color: #999; }
.coach-body { font-size: 0.95em; line-height: 1.5; margin-bottom: 12px; }
.coach-action {
padding: 10px;
background: #e3f2fd;
border-radius: 6px;
font-size: 0.9em;
margin-bottom: 12px;
}
.coach-nav {
display: flex;
justify-content: space-between;
}
.coach-nav-btn {
padding: 6px 14px;
background: #f0f0f0;
border: 1px solid #ccc;
border-radius: 6px;
cursor: pointer;
font-size: 0.85em;
}
.coach-nav-btn:disabled { opacity: 0.4; cursor: default; }
.coach-strategies {
display: flex;
flex-direction: column;
gap: 8px;
}
.coach-strategy {
padding: 10px;
background: #FFF8E1;
border-left: 3px solid #FFC107;
border-radius: 4px;
}
.coach-strategy strong { display: block; margin-bottom: 4px; }
.coach-strategy p { font-size: 0.85em; color: #555; }
/* ─── Nav bar — new buttons ─────────────────────────── */
.nav-btn.active {
background: #1976D2;
color: #fff;
}
.text-mode-btn.active {
background: #1976D2;
color: #fff;
}
/* ─── Setup Wizard ─────────────────────────────────── */
.setup-wizard {
position: fixed;
inset: 0;
z-index: 9999;
background: #FAFAFA;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
}
.setup-wizard-inner {
max-width: 600px;
width: 100%;
}
.wizard-step {
display: flex;
flex-direction: column;
gap: 16px;
}
.wizard-title {
font-size: 2em;
font-weight: 700;
color: #212121;
text-align: center;
}
.wizard-subtitle {
font-size: 1.2em;
color: #1976D2;
text-align: center;
font-weight: 500;
}
.wizard-body {
font-size: 1.1em;
color: #616161;
text-align: center;
line-height: 1.5;
}
.wizard-input {
font-size: 1.4em;
padding: 16px 20px;
border: 2px solid #BDBDBD;
border-radius: 12px;
text-align: center;
outline: none;
transition: border-color 0.2s;
}
.wizard-input:focus {
border-color: #1976D2;
}
.wizard-options {
display: flex;
flex-direction: column;
gap: 8px;
max-height: 50vh;
overflow-y: auto;
}
.wizard-option {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 4px;
padding: 16px 20px;
border: 2px solid #E0E0E0;
border-radius: 12px;
background: #fff;
cursor: pointer;
text-align: left;
transition: border-color 0.2s, background-color 0.2s;
min-height: 56px;
font-family: inherit;
}
.wizard-option:hover {
border-color: #90CAF9;
background: #E3F2FD;
}
.wizard-option.selected {
border-color: #1976D2;
background: #E3F2FD;
}
.wizard-option-label {
font-size: 1.1em;
font-weight: 600;
color: #212121;
}
.wizard-option-desc {
font-size: 0.9em;
color: #757575;
}
.wizard-nav {
display: flex;
gap: 12px;
justify-content: center;
margin-top: 8px;
}
.wizard-back-btn {
padding: 14px 32px;
font-size: 1.1em;
border: 2px solid #BDBDBD;
border-radius: 12px;
background: #fff;
color: #616161;
cursor: pointer;
min-height: 48px;
font-family: inherit;
}
.wizard-next-btn {
padding: 14px 40px;
font-size: 1.2em;
font-weight: 600;
border: none;
border-radius: 12px;
background: #1976D2;
color: #fff;
cursor: pointer;
min-height: 56px;
font-family: inherit;
transition: background-color 0.2s;
}
.wizard-next-btn:hover {
background: #1565C0;
}
/* High contrast wizard */
.high-contrast .setup-wizard {
background: #000;
}
.high-contrast .wizard-title {
color: #FFD600;
}
.high-contrast .wizard-body,
.high-contrast .wizard-subtitle {
color: #fff;
}
.high-contrast .wizard-option {
border-color: #FFD600;
background: #111;
color: #fff;
}
.high-contrast .wizard-option.selected {
background: #333;
}
.high-contrast .wizard-option-label {
color: #FFD600;
}
.high-contrast .wizard-option-desc {
color: #BDBDBD;
}
.high-contrast .wizard-input {
background: #111;
color: #FFD600;
border-color: #FFD600;
}
/* ─── Toast Notifications ──────────────────────────── */
.toast-container {
position: fixed;
bottom: 80px;
left: 50%;
transform: translateX(-50%);
z-index: 8000;
display: flex;
flex-direction: column;
gap: 8px;
max-width: 400px;
width: 90%;
pointer-events: none;
}
.toast {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 16px;
border-radius: 10px;
color: #fff;
font-size: 0.95em;
pointer-events: auto;
animation: toast-in 0.3s ease-out;
}
@keyframes toast-in {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.toast-info { background: #1976D2; }
.toast-success { background: #2E7D32; }
.toast-warning { background: #E65100; }
.toast-error { background: #C62828; }
.toast-message { flex: 1; }
.toast-dismiss {
background: transparent;
border: none;
color: #fff;
font-size: 1.2em;
cursor: pointer;
padding: 4px;
opacity: 0.7;
min-width: 32px;
min-height: 32px;
}
.toast-dismiss:hover { opacity: 1; }
/* ─── Board Editor ─────────────────────────────────── */
.editor-input {
width: 100%;
padding: 10px 12px;
border: 2px solid #BDBDBD;
border-radius: 8px;
font-size: 1em;
margin-top: 4px;
font-family: inherit;
}
.editor-input:focus {
border-color: #1976D2;
outline: none;
}
.editor-color {
width: 48px;
height: 36px;
border: 2px solid #BDBDBD;
border-radius: 6px;
cursor: pointer;
margin-top: 4px;
}
.editor-number {
width: 60px;
padding: 6px 8px;
border: 2px solid #BDBDBD;
border-radius: 6px;
font-size: 1em;
text-align: center;
font-family: inherit;
}
.editor-grid-size {
display: flex;
gap: 16px;
margin: 8px 0;
}
.editor-cell-actions {
display: flex;
gap: 8px;
margin-top: 12px;
}
.editor-btn {
padding: 10px 20px;
border: none;
border-radius: 8px;
font-size: 0.95em;
cursor: pointer;
min-height: 44px;
font-family: inherit;
}
.editor-btn.save { background: #1976D2; color: #fff; }
.editor-btn.delete { background: #C62828; color: #fff; }
.editor-btn.cancel { background: #9E9E9E; color: #fff; }
.editor-btn.create { background: #2E7D32; color: #fff; width: 100%; }
.board-list {
display: flex;
flex-direction: column;
gap: 6px;
margin: 8px 0;
}
.board-list-item {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 12px;
background: #F5F5F5;
border-radius: 8px;
}
.board-list-name { flex: 1; font-weight: 500; }
.board-list-count { color: #757575; font-size: 0.85em; }
.board-list-btn {
background: transparent;
border: 1px solid #BDBDBD;
border-radius: 6px;
padding: 4px 8px;
cursor: pointer;
min-width: 32px;
min-height: 32px;
font-family: inherit;
}
.board-list-btn.danger {
border-color: #EF9A9A;
color: #C62828;
}
.cell-editor label {
display: flex;
flex-direction: column;
gap: 4px;
margin-bottom: 8px;
font-weight: 500;
font-size: 0.9em;
color: #616161;
}
.editor-create-form {
margin-top: 12px;
padding: 12px;
background: #F5F5F5;
border-radius: 8px;
}
/* ─── Voice Banking ────────────────────────────────── */
.vb-btn-row {
display: flex;
gap: 8px;
margin-top: 8px;
}
.vb-play-btn,
.vb-record-btn {
flex: 1;
padding: 12px 16px;
border: none;
border-radius: 8px;
font-size: 1em;
cursor: pointer;
min-height: 48px;
font-family: inherit;
}
.vb-play-btn {
background: #E3F2FD;
color: #1565C0;
}
.vb-record-btn {
background: #FFCDD2;
color: #C62828;
}
.vb-record-btn.recording {
background: #C62828;
color: #fff;
animation: pulse 1s infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
.vb-error {
color: #C62828;
font-size: 0.85em;
margin-top: 8px;
}