File size: 2,864 Bytes
ffcad5d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
.intake-panel {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 16px 0;
  text-align: center;
}

.intake-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--accent-soft, #DCEEF1);
  color: var(--accent, #0B7A8A);
  margin-bottom: 8px;
}

.intake-avatar svg {
  display: block;
}

.intake-greeting {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 650;
  line-height: 1.3;
  color: var(--text-primary, #0f172a);
  margin: 0 0 4px;
}

.intake-sub {
  margin: 0 0 12px;
  color: var(--text-secondary, #64748b);
  font-size: 0.875rem;
}

.intake-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 0;
}

.intake-chip {
  appearance: none;
  border: 1px solid var(--border, #e2e8f0);
  background: var(--surface, #fff);
  color: var(--text-primary, #0f172a);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  cursor: pointer;
  min-height: 36px;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.intake-chip:hover,
.intake-chip:focus-visible {
  border-color: var(--accent, #0B7A8A);
  background: var(--accent-soft, #DCEEF1);
  outline: none;
  transform: translateY(-1px);
}

.intake-chip--other {
  border-style: dashed;
}

.intake-freetext {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: left;
  margin-top: 0.5rem;
}

.intake-freetext textarea {
  width: 100%;
  resize: vertical;
  min-height: 5rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border, #e2e8f0);
  font: inherit;
  background: var(--surface, #fff);
  color: var(--text-primary, #0f172a);
}

.intake-submit {
  align-self: flex-end;
  min-height: 44px;
  min-width: 6rem;
  padding: 0.55rem 1.1rem;
  border: none;
  border-radius: 0.65rem;
  background: var(--accent-fill, var(--accent-primary, #0B7A8A));
  color: var(--accent-on-accent, #fff);
  font-weight: 600;
  cursor: pointer;
}

.intake-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-height: 800px) {
  .intake-avatar {
    display: none;
  }

  .intake-greeting {
    font-size: 1.1rem;
  }

  .intake-sub {
    margin-bottom: 8px;
  }
}

@media (max-width: 768px) {
  .intake-panel {
    margin: 0 auto;
    padding: 0 8px 8px;
  }

  .intake-chips {
    flex-direction: column;
  }

  .intake-chip {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intake-chip {
    transition: none;
  }
}