| 1 | .settings-content.settings-content--accounts { |
| 2 | display: flex; |
| 3 | flex-direction: column; |
| 4 | padding-bottom: clamp(12px, 3vh, 28px); |
| 5 | } |
| 6 | .settings-content--accounts > .settings-fields:empty { display: none; } |
| 7 | .claude-profiles { |
| 8 | container-type: inline-size; |
| 9 | --crab-coral: #cd745b; |
| 10 | --quota-five: color-mix(in srgb, var(--crab-coral) 83%, var(--strong)); |
| 11 | --quota-seven: color-mix(in srgb, #519489 82%, var(--strong)); |
| 12 | width: 100%; |
| 13 | max-width: 720px; |
| 14 | min-width: 0; |
| 15 | min-height: 0; |
| 16 | flex: 1 0 0; |
| 17 | display: flex; |
| 18 | flex-direction: column; |
| 19 | margin-inline: auto; |
| 20 | } |
| 21 | .claude-profiles > :not(.claude-profile-list) { flex: none; } |
| 22 | .settings-content .claude-profiles .section-title { margin-bottom: 16px; } |
| 23 | .claude-add-profile, .claude-profile-rename, .claude-profile-name, |
| 24 | .claude-profile-actions, .claude-profile-meta { |
| 25 | display: flex; |
| 26 | align-items: center; |
| 27 | gap: 8px; |
| 28 | min-width: 0; |
| 29 | } |
| 30 | .claude-add-profile { gap: 8px; } |
| 31 | .claude-scheduling { margin-bottom: 12px; } |
| 32 | .claude-scheduling > summary { cursor: pointer; padding: 8px 0; } |
| 33 | .claude-scheduling[open] { max-height: 45vh; overflow-y: auto; padding-bottom: 8px; } |
| 34 | .claude-scheduling > label + label { margin-top: 10px; } |
| 35 | .claude-scheduling > label { display: grid; gap: 5px; font-size: .85rem; } |
| 36 | .claude-account-order { max-height: 7rem; overflow: auto; } |
| 37 | .claude-account-order > div { display: flex; gap: 8px; align-items: center; margin-top: 5px; } |
| 38 | .claude-account-order span { flex: 1; overflow-wrap: anywhere; } |
| 39 | .claude-handoff-group { display: flex; align-items: end; gap: 8px; margin: 12px 0; } |
| 40 | .claude-handoff-group label { display: grid; flex: 1; min-width: 0; font-size: .8rem; gap: 4px; } |
| 41 | .claude-handoff-group input { width: 100%; min-width: 0; } |
| 42 | .claude-handoff-group button { flex: none; } |
| 43 | .claude-profile-rename input { min-width: 0; flex: 1; } |
| 44 | .claude-add-profile button { min-height: 40px; flex: none; } |
| 45 | .claude-profiles .account-error, .claude-profile-note { margin: 7px 0 0; font-size: 0.85rem; } |
| 46 | .claude-profile-note { color: var(--muted); } |
| 47 | .claude-list-heading { |
| 48 | display: flex; |
| 49 | align-items: center; |
| 50 | justify-content: space-between; |
| 51 | margin: 23px 0 10px; |
| 52 | } |
| 53 | .settings-content .claude-list-heading h4 { |
| 54 | display: flex; |
| 55 | align-items: center; |
| 56 | gap: 7px; |
| 57 | margin: 0; |
| 58 | font-size: 0.92rem; |
| 59 | font-weight: 600; |
| 60 | } |
| 61 | .claude-list-heading h4 span { |
| 62 | padding: 1px 7px; |
| 63 | border-radius: 8px; |
| 64 | background: var(--chrome); |
| 65 | color: var(--muted); |
| 66 | font: 500 0.8rem/1.45 var(--ui-font-family, sans-serif); |
| 67 | } |
| 68 | .claude-list-heading small, .claude-quota-age, .claude-profile-meta { |
| 69 | color: var(--muted); |
| 70 | font-size: 0.82rem; |
| 71 | } |
| 72 | .claude-profile-list { |
| 73 | flex: 1 1 auto; |
| 74 | |
| 75 | min-height: 6rem; |
| 76 | overflow-y: auto; |
| 77 | overscroll-behavior-y: contain; |
| 78 | scrollbar-width: thin; |
| 79 | scrollbar-color: var(--focus) transparent; |
| 80 | scrollbar-gutter: stable; |
| 81 | padding: 2px 4px 4px 1px; |
| 82 | } |
| 83 | .claude-profile-list:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; } |
| 84 | .claude-profile { |
| 85 | padding: 14px 16px 10px; |
| 86 | margin-bottom: 9px; |
| 87 | border: 1px solid var(--line); |
| 88 | border-radius: 12px; |
| 89 | background: var(--paper); |
| 90 | } |
| 91 | .claude-profile-heading { |
| 92 | display: grid; |
| 93 | grid-template-columns: auto minmax(0, 1fr) auto; |
| 94 | align-items: center; |
| 95 | column-gap: 10px; |
| 96 | } |
| 97 | .claude-profile-avatar { |
| 98 | display: grid; |
| 99 | place-items: center; |
| 100 | width: 42px; |
| 101 | height: 42px; |
| 102 | border-radius: 13px; |
| 103 | background: color-mix(in srgb, var(--crab-coral) 13%, var(--paper)); |
| 104 | } |
| 105 | .claude-profile-avatar img { width: 32px; height: auto; } |
| 106 | .claude-profile[data-enabled="false"] .claude-profile-avatar { background: var(--chrome); } |
| 107 | .claude-profile[data-enabled="false"] .claude-profile-avatar img { filter: saturate(0.45); } |
| 108 | .claude-detected { border-style: dashed; } |
| 109 | .claude-profile-source { font-size: 0.82rem; color: var(--muted); } |
| 110 | @media (prefers-reduced-motion: no-preference) { |
| 111 | .claude-profile-avatar img { transition: transform 160ms ease-out; } |
| 112 | .claude-profile-avatar:hover img { transform: translateY(-2px); } |
| 113 | } |
| 114 | .claude-profile-identity { min-width: 0; } |
| 115 | .claude-profile-name { gap: 6px; } |
| 116 | .settings-content .claude-profiles .claude-profile h4 { |
| 117 | min-width: 0; |
| 118 | overflow: hidden; |
| 119 | text-overflow: ellipsis; |
| 120 | white-space: nowrap; |
| 121 | margin: 0; |
| 122 | font-size: 1.04rem; |
| 123 | font-weight: 620; |
| 124 | letter-spacing: normal; |
| 125 | } |
| 126 | .claude-profile-name .icon-button { width: 24px; height: 24px; flex: none; color: var(--muted); } |
| 127 | .claude-profile-plan { |
| 128 | max-width: 7em; |
| 129 | overflow: hidden; |
| 130 | text-overflow: ellipsis; |
| 131 | white-space: nowrap; |
| 132 | border-radius: 5px; |
| 133 | padding: 1px 5px; |
| 134 | background: var(--chrome); |
| 135 | color: var(--ink); |
| 136 | font-size: 0.74rem; |
| 137 | font-weight: 550; |
| 138 | } |
| 139 | .claude-profile-meta { gap: 7px; margin-top: 2px; } |
| 140 | .claude-profile-email { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } |
| 141 | .claude-profile-status { display: inline-flex; align-items: center; gap: 4px; flex: none; } |
| 142 | .claude-profile-status::before { |
| 143 | content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); |
| 144 | } |
| 145 | .claude-profile-status[data-ready="true"]::before { background: var(--success); } |
| 146 | .claude-profile-heading .claude-participation { |
| 147 | position: relative; |
| 148 | display: inline-flex; |
| 149 | align-items: center; |
| 150 | gap: 6px; |
| 151 | margin: 0; |
| 152 | min-height: 28px; |
| 153 | color: var(--muted); |
| 154 | font-size: 0.81rem; |
| 155 | cursor: pointer; |
| 156 | } |
| 157 | .claude-participation input { position: absolute; inset: 0; margin: 0; opacity: 0; width: 100%; height: 100%; cursor: inherit; } |
| 158 | .claude-switch-track { width: 26px; height: 15px; border-radius: 9px; background: var(--muted); padding: 2px; } |
| 159 | .claude-switch-track::before { |
| 160 | content: ""; display: block; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); |
| 161 | } |
| 162 | .claude-participation input:checked + .claude-switch-track { background: var(--quota-seven); } |
| 163 | .claude-participation input:checked + .claude-switch-track::before { transform: translateX(11px); } |
| 164 | .claude-participation input:focus-visible + .claude-switch-track { outline: 2px solid var(--focus); outline-offset: 3px; } |
| 165 | .claude-participation:has(:disabled) { opacity: 0.6; cursor: default; } |
| 166 | .claude-quota-grid { |
| 167 | display: grid; |
| 168 | grid-template-columns: auto minmax(2rem, 1fr) auto; |
| 169 | align-items: center; |
| 170 | gap: 7px 12px; |
| 171 | margin: 13px 0 10px; |
| 172 | font-size: 0.84rem; |
| 173 | font-variant-numeric: tabular-nums; |
| 174 | } |
| 175 | .claude-quota-row { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: center; } |
| 176 | .claude-quota-history { grid-column: 2 / -1; min-width: 0; color: var(--muted); font-size: 0.76rem; overflow-wrap: anywhere; } |
| 177 | .claude-quota-period { color: var(--ink); font: 600 0.86rem/1.45 ui-monospace, monospace; } |
| 178 | .claude-quota-row progress, .claude-quota-unknown { |
| 179 | display: block; |
| 180 | width: 100%; |
| 181 | min-width: 0; |
| 182 | height: 5px; |
| 183 | border: 0; |
| 184 | border-radius: 5px; |
| 185 | overflow: hidden; |
| 186 | appearance: none; |
| 187 | background: var(--chrome-dark); |
| 188 | } |
| 189 | .claude-quota-row { --fill: var(--quota-five); } |
| 190 | .claude-quota-row + .claude-quota-row { --fill: var(--quota-seven); } |
| 191 | .claude-quota-row progress::-webkit-progress-bar { background: var(--chrome-dark); border-radius: 5px; } |
| 192 | .claude-quota-row progress::-webkit-progress-value { background: var(--fill); border-radius: 5px; } |
| 193 | .claude-quota-row progress::-moz-progress-bar { background: var(--fill); border-radius: 5px; } |
| 194 | .claude-quota-unknown { background: repeating-linear-gradient(90deg, var(--line) 0 4px, transparent 4px 7px); } |
| 195 | .claude-quota-reading { display: flex; align-items: baseline; justify-content: flex-end; gap: 7px; white-space: nowrap; } |
| 196 | .claude-quota-reading strong { font-weight: 600; color: var(--strong); } |
| 197 | .claude-quota-reset, .claude-quota-stale { color: var(--muted); } |
| 198 | .claude-quota-stale { font-size: 0.73rem; } |
| 199 | .claude-profile-actions { flex-wrap: wrap; gap: 3px 12px; border-top: 1px solid var(--line); padding-top: 6px; } |
| 200 | .claude-profile-actions .quiet-button, .claude-profile-actions .text-button { |
| 201 | background: transparent; border: 0; border-radius: 4px; padding: 3px 0; |
| 202 | min-height: 26px; font-size: 0.82rem; color: var(--ink); |
| 203 | } |
| 204 | .claude-profile-actions .quiet-button:hover:enabled, .claude-profile-actions .text-button:hover:enabled { color: var(--strong); text-decoration: underline; } |
| 205 | .claude-profile-actions .quiet-button { gap: 4px; } |
| 206 | .claude-quota-age { margin-left: auto; display: flex; flex-wrap: wrap; gap: 2px 8px; font-variant-numeric: tabular-nums; } |
| 207 | .claude-profile .field-help { margin: 7px 0; } |
| 208 | .claude-profile-empty { text-align: center; border: 1px dashed var(--line); border-radius: 12px; padding: 28px 10px; } |
| 209 | .claude-profile-empty img { width: 42px; } |
| 210 | .claude-profile-empty p { margin: 6px 0; font-weight: 550; } |
| 211 | .claude-profile-empty small { color: var(--muted); } |
| 212 | .claude-tab-profile { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 48%; color: var(--muted); font-size: 0.78rem; } |
| 213 | @container (max-width: 370px) { |
| 214 | .claude-profile { padding: 11px 10px 8px; } |
| 215 | .claude-profile-heading { column-gap: 6px; } |
| 216 | .claude-profile-avatar { width: 32px; height: 32px; border-radius: 9px; } |
| 217 | .claude-profile-avatar img { width: 28px; } |
| 218 | .claude-quota-grid { column-gap: 6px; } |
| 219 | .claude-quota-reading { gap: 4px; flex-wrap: wrap; max-width: 9em; } |
| 220 | .claude-quota-age { margin-left: 0; width: 100%; } |
| 221 | .claude-profile-heading:has(.claude-profile-rename) { grid-template-columns: minmax(0, 1fr) auto; } |
| 222 | .claude-profile-heading:has(.claude-profile-rename) .claude-profile-avatar { display: none; } |
| 223 | .claude-add-profile button { padding-inline: 7px; } |
| 224 | } |
| 225 | .claude-quota-reset { display: inline-flex; align-items: center; gap: 3px; } |
| 226 | @container (max-width: 300px) { |
| 227 | .claude-profile-heading { grid-template-columns: 28px minmax(0, 1fr) auto; row-gap: 2px; } |
| 228 | .claude-profile-identity { display: contents; } |
| 229 | .claude-profile-name { grid-area: 1 / 2 / 2 / -1; gap: 4px; } |
| 230 | .claude-profile-meta { display: contents; } |
| 231 | .claude-profile-status { grid-area: 2 / 1 / 3 / 3; } |
| 232 | .claude-profile-email { grid-area: 3 / 1 / 4 / -1; } |
| 233 | .claude-profile-heading .claude-participation { grid-area: 2 / 3; } |
| 234 | .claude-profile-heading:has(.claude-profile-rename) { grid-template-columns: minmax(0, 1fr) auto; } |
| 235 | .claude-profile-rename { grid-column: 1 / -1; } |
| 236 | .claude-profile-heading:has(.claude-profile-rename) .claude-profile-status { grid-column: 1; } |
| 237 | .claude-profile-heading:has(.claude-profile-rename) .claude-participation { grid-column: 2; } |
| 238 | .claude-quota-reset svg { display: none; } |
| 239 | } |