Spaces:
Sleeping
Sleeping
| * { | |
| box-sizing: border-box; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| body { | |
| font-family: var(--sans); | |
| background: var(--bg); | |
| color: var(--text); | |
| } | |
| .app-layout { | |
| display: flex; | |
| height: 100vh; | |
| } | |
| .sidebar { | |
| width: 320px; | |
| background: var(--sidebar-bg); | |
| padding: 24px 20px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 20px; | |
| overflow-y: auto; | |
| border-right: 1px solid var(--border); | |
| } | |
| .app-title { | |
| font-family: var(--heading); | |
| font-size: 24px; | |
| font-weight: 500; | |
| letter-spacing: -0.3px; | |
| color: var(--text); | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| .app-logo { | |
| width: 1em; | |
| height: 1em; | |
| flex-shrink: 0; | |
| } | |
| .sidebar-section { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 10px; | |
| } | |
| .toggle-label { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| cursor: pointer; | |
| font-size: 14px; | |
| color: var(--text); | |
| text-transform: none; | |
| letter-spacing: normal; | |
| } | |
| .toggle-label input[type="checkbox"] { | |
| accent-color: var(--accent); | |
| width: 15px; | |
| height: 15px; | |
| cursor: pointer; | |
| } | |
| .persona-selector { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 6px; | |
| } | |
| label { | |
| font-size: 12px; | |
| color: var(--text-muted); | |
| font-weight: 500; | |
| letter-spacing: normal; | |
| text-transform: none; | |
| } | |
| select, | |
| input[type="text"] { | |
| background: var(--surface); | |
| color: var(--text); | |
| border: 1px solid var(--border-strong); | |
| border-radius: 10px; | |
| padding: 9px 12px; | |
| font-size: 14px; | |
| font-family: var(--sans); | |
| outline: none; | |
| transition: border-color 0.15s, box-shadow 0.15s; | |
| } | |
| select:focus, | |
| input[type="text"]:focus { | |
| border-color: var(--accent); | |
| box-shadow: 0 0 0 3px var(--accent-soft); | |
| } | |
| select:hover, | |
| input[type="text"]:hover { | |
| border-color: var(--text-faint); | |
| } | |
| .webcam-container { | |
| border-radius: 12px; | |
| overflow: hidden; | |
| background: var(--surface); | |
| border: 1px solid var(--border); | |
| } | |
| .webcam-placeholder, | |
| .webcam-error { | |
| padding: 24px; | |
| text-align: center; | |
| color: var(--text-faint); | |
| font-size: 13px; | |
| } | |
| .webcam-error { | |
| color: var(--fail); | |
| } | |
| .sensing-off { | |
| color: var(--text-faint); | |
| font-size: 13px; | |
| } | |
| .sensing-status { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 6px; | |
| padding: 10px 12px; | |
| background: var(--surface); | |
| border: 1px solid var(--border); | |
| border-radius: 10px; | |
| } | |
| .sensing-row { | |
| display: flex; | |
| justify-content: space-between; | |
| font-size: 13px; | |
| } | |
| .sensing-label { | |
| color: var(--text-muted); | |
| } | |
| .sensing-value { | |
| color: var(--text); | |
| font-weight: 500; | |
| } | |
| .gaze-zone-map { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 3px; | |
| margin: 2px 0 4px; | |
| } | |
| .gaze-zone-row { | |
| display: flex; | |
| gap: 3px; | |
| } | |
| .gaze-zone { | |
| flex: 1; | |
| padding: 4px 6px; | |
| font-size: 11px; | |
| text-align: center; | |
| border-radius: 5px; | |
| border: 1px solid var(--border); | |
| color: var(--text-muted); | |
| background: var(--surface); | |
| transition: background 0.15s, color 0.15s, border-color 0.15s; | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| } | |
| .gaze-zone--active { | |
| background: var(--accent, #4f8ef7); | |
| color: #fff; | |
| border-color: var(--accent, #4f8ef7); | |
| font-weight: 600; | |
| } | |
| .section-title { | |
| font-size: 11px; | |
| color: var(--text-muted); | |
| text-transform: uppercase; | |
| letter-spacing: 0.6px; | |
| margin-bottom: 6px; | |
| font-weight: 600; | |
| } | |
| .metric-row { | |
| display: flex; | |
| justify-content: space-between; | |
| font-size: 13px; | |
| padding: 2px 0; | |
| color: var(--text); | |
| } | |
| .metric-row.sub { | |
| padding-left: 12px; | |
| font-size: 11px; | |
| color: var(--text-muted); | |
| } | |
| .metric-label { | |
| color: var(--text-muted); | |
| } | |
| .metric-value { | |
| color: var(--text); | |
| font-family: var(--mono); | |
| font-size: 12px; | |
| } | |
| .metric-value.pass { | |
| color: var(--pass); | |
| } | |
| .metric-value.fail { | |
| color: var(--fail); | |
| } | |
| .no-metrics { | |
| color: var(--text-faint); | |
| font-size: 13px; | |
| font-style: italic; | |
| } | |
| .main-content { | |
| flex: 1; | |
| display: flex; | |
| flex-direction: column; | |
| background: var(--bg); | |
| } | |
| .chat-panel { | |
| display: flex; | |
| flex-direction: column; | |
| height: 100%; | |
| } | |
| .chat-header { | |
| padding: 18px 28px; | |
| font-family: var(--heading); | |
| font-size: 18px; | |
| font-weight: 500; | |
| letter-spacing: -0.2px; | |
| color: var(--text); | |
| border-bottom: 1px solid var(--border); | |
| background: var(--bg); | |
| } | |
| .chat-messages { | |
| flex: 1; | |
| overflow-y: auto; | |
| padding: 28px 32px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 16px; | |
| } | |
| .chat-bubble { | |
| max-width: 72%; | |
| padding: 12px 16px; | |
| border-radius: 16px; | |
| font-size: 15px; | |
| line-height: 1.55; | |
| } | |
| .chat-bubble.partner { | |
| align-self: flex-end; | |
| background: var(--accent); | |
| color: #ffffff; | |
| border-bottom-right-radius: 6px; | |
| } | |
| .chat-bubble.partner .chat-role { | |
| color: rgba(255, 255, 255, 0.85); | |
| } | |
| .chat-bubble.aac_user { | |
| align-self: flex-start; | |
| background: var(--surface); | |
| color: var(--text); | |
| border: 1px solid var(--border); | |
| border-bottom-left-radius: 6px; | |
| } | |
| .chat-bubble.loading { | |
| background: var(--surface); | |
| border: 1px solid var(--border); | |
| } | |
| .chat-bubble.loading p { | |
| display: inline-block; | |
| background: linear-gradient( | |
| 90deg, | |
| var(--text-muted) 0%, | |
| var(--accent) 45%, | |
| var(--accent) 55%, | |
| var(--text-muted) 100% | |
| ); | |
| background-size: 200% 100%; | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| color: transparent; | |
| animation: shimmer 1.8s ease-in-out infinite; | |
| font-weight: 500; | |
| } | |
| @keyframes shimmer { | |
| 0% { background-position: 200% 0; } | |
| 100% { background-position: -200% 0; } | |
| } | |
| @media (prefers-reduced-motion: reduce) { | |
| .chat-bubble.loading p { | |
| animation: none; | |
| background: none; | |
| -webkit-text-fill-color: var(--text-muted); | |
| color: var(--text-muted); | |
| } | |
| } | |
| .chat-role { | |
| display: block; | |
| font-size: 11px; | |
| color: var(--text-muted); | |
| margin-bottom: 4px; | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| font-weight: 600; | |
| } | |
| .chat-bubble p { | |
| margin: 0; | |
| } | |
| .chat-input-row { | |
| display: flex; | |
| gap: 10px; | |
| padding: 18px 28px; | |
| border-top: 1px solid var(--border); | |
| background: var(--bg); | |
| } | |
| .chat-input-row input { | |
| flex: 1; | |
| padding: 11px 14px; | |
| font-size: 15px; | |
| } | |
| .chat-input-row button { | |
| background: var(--accent); | |
| color: #ffffff; | |
| border: none; | |
| border-radius: 10px; | |
| padding: 10px 22px; | |
| font-size: 14px; | |
| font-weight: 500; | |
| font-family: var(--sans); | |
| cursor: pointer; | |
| transition: background 0.15s; | |
| } | |
| .chat-input-row button:disabled { | |
| opacity: 0.45; | |
| cursor: not-allowed; | |
| } | |
| .chat-input-row button:hover:not(:disabled) { | |
| background: var(--accent-hover); | |
| } | |
| .error { | |
| color: var(--fail); | |
| font-size: 13px; | |
| } | |
| .sensing-debug { | |
| font-family: var(--mono, monospace); | |
| font-size: 11px; | |
| opacity: 0.7; | |
| } | |
| .calibrate-btn { | |
| margin-top: 8px; | |
| width: 100%; | |
| padding: 8px 12px; | |
| font-size: 13px; | |
| font-family: var(--sans); | |
| background: transparent; | |
| color: var(--accent); | |
| border: 1px solid var(--accent); | |
| border-radius: 8px; | |
| cursor: pointer; | |
| } | |
| .calibrate-btn:disabled { | |
| opacity: 0.45; | |
| cursor: not-allowed; | |
| } | |
| .calibrate-btn:hover:not(:disabled) { | |
| background: var(--accent); | |
| color: #ffffff; | |
| } | |
| .chat-bubble.rephrased p { | |
| opacity: 0.6; | |
| text-decoration: line-through; | |
| } | |
| .chat-bubble.turnaround { | |
| border-left: 3px solid var(--accent); | |
| } | |
| .badge { | |
| display: inline-block; | |
| margin-left: 6px; | |
| padding: 1px 6px; | |
| font-size: 11px; | |
| font-weight: 500; | |
| border-radius: 10px; | |
| vertical-align: middle; | |
| } | |
| .badge-rephrased { | |
| background: rgba(0, 0, 0, 0.08); | |
| color: var(--fail); | |
| } | |
| .badge-turnaround { | |
| background: var(--accent); | |
| color: #ffffff; | |
| } | |
| .badge-picker { | |
| background: rgba(0, 0, 0, 0.08); | |
| color: var(--text); | |
| } | |
| .badge-picked { | |
| background: rgba(46, 160, 67, 0.18); | |
| color: #2ea043; | |
| } | |
| .chat-bubble.picker { | |
| background: transparent; | |
| padding: 4px 0 0 0; | |
| max-width: 85%; | |
| } | |
| .candidate-list { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 6px; | |
| margin-top: 6px; | |
| } | |
| .candidate-card { | |
| text-align: left; | |
| background: var(--surface); | |
| color: var(--text); | |
| border: 1px solid rgba(0, 0, 0, 0.12); | |
| border-radius: 10px; | |
| padding: 10px 12px; | |
| cursor: pointer; | |
| transition: border-color 120ms ease, background 120ms ease, transform 80ms ease; | |
| } | |
| .candidate-card:hover { | |
| border-color: var(--accent); | |
| background: rgba(59, 130, 246, 0.05); | |
| } | |
| .candidate-card:active { | |
| transform: scale(0.995); | |
| } | |
| .candidate-strategy { | |
| font-size: 11px; | |
| color: rgba(0, 0, 0, 0.55); | |
| margin-bottom: 4px; | |
| text-transform: lowercase; | |
| letter-spacing: 0.02em; | |
| } | |
| .candidate-text { | |
| font-size: 14px; | |
| line-height: 1.4; | |
| } | |
| .candidate-list.rejected-round { | |
| opacity: 0.55; | |
| margin-bottom: 4px; | |
| } | |
| .rejected-round-label { | |
| font-size: 10px; | |
| color: rgba(0, 0, 0, 0.45); | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| margin-bottom: 2px; | |
| } | |
| .candidate-card.rejected { | |
| cursor: default; | |
| background: rgba(0, 0, 0, 0.03); | |
| border-color: rgba(0, 0, 0, 0.08); | |
| } | |
| .candidate-card.rejected .candidate-text { | |
| text-decoration: line-through; | |
| color: rgba(0, 0, 0, 0.55); | |
| } | |
| .candidate-card.rejected:hover { | |
| border-color: rgba(0, 0, 0, 0.08); | |
| background: rgba(0, 0, 0, 0.03); | |
| } | |
| .candidate-card.try-again { | |
| border-style: dashed; | |
| border-color: var(--accent); | |
| background: rgba(59, 130, 246, 0.03); | |
| } | |
| .candidate-card.try-again .candidate-strategy { | |
| color: var(--accent); | |
| } | |
| .candidate-card.try-again:hover:not(:disabled) { | |
| background: rgba(59, 130, 246, 0.09); | |
| } | |
| .candidate-card:disabled { | |
| opacity: 0.5; | |
| cursor: wait; | |
| } | |
| .turnaround-btn { | |
| background: transparent ; | |
| color: var(--accent) ; | |
| border: 1px solid var(--accent) ; | |
| } | |
| .turnaround-btn:hover:not(:disabled) { | |
| background: var(--accent) ; | |
| color: #ffffff ; | |
| } | |
| .mic-btn { | |
| background: transparent ; | |
| color: var(--accent) ; | |
| border: 1px solid var(--accent) ; | |
| } | |
| .mic-btn.listening { | |
| background: var(--accent) ; | |
| color: #ffffff ; | |
| animation: mic-pulse 1.1s ease-in-out infinite; | |
| } | |
| @keyframes mic-pulse { | |
| 0%, 100% { opacity: 1; } | |
| 50% { opacity: 0.6; } | |
| } | |
| .voice-status { | |
| padding: 4px 12px; | |
| font-size: 12px; | |
| color: var(--text-muted); | |
| font-family: var(--sans); | |
| } | |
| .eval-panel { | |
| margin-top: 10px; | |
| border-top: 1px solid var(--border); | |
| padding-top: 8px; | |
| } | |
| .eval-toggle { | |
| background: none; | |
| border: none; | |
| color: var(--text-muted); | |
| font-size: 12px; | |
| font-family: var(--sans); | |
| cursor: pointer; | |
| padding: 2px 0; | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| .eval-toggle:hover { | |
| color: var(--text); | |
| } | |
| .slo-badge { | |
| font-size: 10px; | |
| padding: 2px 7px; | |
| border-radius: 999px; | |
| font-weight: 600; | |
| letter-spacing: 0.3px; | |
| } | |
| .slo-badge.pass { | |
| background: var(--pass-bg); | |
| color: var(--pass); | |
| } | |
| .slo-badge.fail { | |
| background: var(--fail-bg); | |
| color: var(--fail); | |
| } | |
| .eval-row { | |
| display: flex; | |
| align-items: center; | |
| gap: 6px; | |
| flex-wrap: wrap; | |
| } | |
| .eval-pill { | |
| font-size: 10px; | |
| padding: 2px 7px; | |
| border-radius: 999px; | |
| font-weight: 600; | |
| letter-spacing: 0.2px; | |
| white-space: nowrap; | |
| border: 1px solid transparent; | |
| } | |
| .eval-pill.good { | |
| background: var(--pass-bg); | |
| color: var(--pass); | |
| } | |
| .eval-pill.mid { | |
| background: var(--border); | |
| color: var(--text-muted); | |
| } | |
| .eval-pill.bad { | |
| background: var(--fail-bg); | |
| color: var(--fail); | |
| } | |
| .eval-pill.muted { | |
| background: transparent; | |
| color: var(--text-faint); | |
| border-color: var(--border); | |
| } | |
| .tip { | |
| position: relative; | |
| display: inline-flex; | |
| cursor: help; | |
| } | |
| .tip::after { | |
| content: attr(data-tip); | |
| position: absolute; | |
| bottom: calc(100% + 8px); | |
| left: 0; | |
| background: #1f2937; | |
| color: #f9fafb; | |
| padding: 8px 10px; | |
| border-radius: 6px; | |
| font-size: 11px; | |
| font-weight: 400; | |
| line-height: 1.45; | |
| letter-spacing: 0.1px; | |
| white-space: pre-line; | |
| width: max-content; | |
| max-width: 320px; | |
| opacity: 0; | |
| pointer-events: none; | |
| transition: opacity 0.08s ease-in 0.5s; | |
| z-index: 100; | |
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); | |
| } | |
| .tip::before { | |
| content: ""; | |
| position: absolute; | |
| bottom: calc(100% + 2px); | |
| left: 12px; | |
| border: 6px solid transparent; | |
| border-top-color: #1f2937; | |
| opacity: 0; | |
| pointer-events: none; | |
| transition: opacity 0.08s ease-in 0.5s; | |
| z-index: 100; | |
| } | |
| .tip:hover::after, | |
| .tip:hover::before { | |
| opacity: 1; | |
| } | |
| .eval-details { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 12px; | |
| margin-top: 10px; | |
| } | |
| .eval-section { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 4px; | |
| } | |
| .eval-na { | |
| font-size: 11px; | |
| color: var(--text-faint); | |
| font-style: italic; | |
| } | |
| .score-bar { | |
| height: 4px; | |
| background: var(--border); | |
| border-radius: 999px; | |
| overflow: hidden; | |
| } | |
| .score-bar-fill { | |
| height: 100%; | |
| border-radius: 999px; | |
| transition: width 0.3s ease; | |
| } | |
| .star-rating { | |
| display: flex; | |
| align-items: center; | |
| gap: 2px; | |
| } | |
| .star-rating .star { | |
| background: none; | |
| border: none; | |
| font-size: 18px; | |
| cursor: pointer; | |
| color: var(--border-strong); | |
| padding: 0; | |
| line-height: 1; | |
| transition: color 0.15s; | |
| } | |
| .star-rating .star.active { | |
| color: var(--accent); | |
| } | |
| .star-rating .star:hover { | |
| color: var(--accent-hover); | |
| } | |
| .star-label { | |
| font-size: 11px; | |
| color: var(--text-muted); | |
| margin-left: 6px; | |
| } | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| height: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: transparent; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: var(--border-strong); | |
| border-radius: 999px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: var(--text-faint); | |
| } | |
| .calibration-overlay { | |
| position: fixed; | |
| inset: 0; | |
| background: rgba(0, 0, 0, 0.55); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| z-index: 1000; | |
| } | |
| .calibration-card { | |
| background: var(--bg, #fff); | |
| color: var(--text, #111); | |
| padding: 28px 32px; | |
| border-radius: 12px; | |
| max-width: 420px; | |
| text-align: center; | |
| box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25); | |
| border: 1px solid var(--border, #ddd); | |
| } | |
| .calibration-card h2 { | |
| font-size: 20px; | |
| margin-bottom: 12px; | |
| } | |
| .calibration-instructions { | |
| font-size: 14px; | |
| line-height: 1.5; | |
| margin-bottom: 18px; | |
| opacity: 0.85; | |
| } | |
| .calibration-bar { | |
| height: 8px; | |
| background: rgba(127, 127, 127, 0.2); | |
| border-radius: 4px; | |
| overflow: hidden; | |
| margin-bottom: 10px; | |
| } | |
| .calibration-bar-fill { | |
| height: 100%; | |
| background: var(--accent, #4a8af4); | |
| transition: width 120ms linear; | |
| } | |
| .calibration-countdown { | |
| font-size: 12px; | |
| opacity: 0.65; | |
| margin-bottom: 14px; | |
| } | |
| .calibration-cancel { | |
| background: transparent; | |
| border: 1px solid var(--border, #ccc); | |
| color: inherit; | |
| padding: 6px 14px; | |
| border-radius: 6px; | |
| font-size: 13px; | |
| cursor: pointer; | |
| } | |
| .calibration-cancel:hover { | |
| background: rgba(127, 127, 127, 0.1); | |
| } | |
| .recalibrate-btn { | |
| margin-left: 8px; | |
| padding: 2px 8px; | |
| font-size: 11px; | |
| background: transparent; | |
| border: 1px solid var(--border, #ccc); | |
| border-radius: 4px; | |
| color: inherit; | |
| cursor: pointer; | |
| } | |
| .recalibrate-btn:hover { | |
| background: rgba(127, 127, 127, 0.1); | |
| } | |