diff --git a/r/alert.json b/r/alert.json index 74569c4e..6d365bd1 100644 --- a/r/alert.json +++ b/r/alert.json @@ -18,7 +18,7 @@ "path": "src/components/cipher/ui/helpers.module.css", "type": "registry:file", "target": "src/components/cipher/ui/helpers.module.css", - "content": ".avatarFallback {\n background: var(--cipher-tint);\n color: var(--cipher-ink);\n font-family: var(--cipher-type-label-font-family);\n font-weight: var(--cipher-type-label-font-weight);\n line-height: 1;\n letter-spacing: 0;\n}\n.avatarFallback svg {\n width: 50%;\n height: 50%;\n max-width: var(--cipher-size-icon);\n max-height: var(--cipher-size-icon);\n}\n.count {\n font-family: var(--cipher-type-mono-sm-font-family);\n font-size: var(--cipher-type-mono-sm-font-size);\n line-height: var(--cipher-type-mono-sm-line-height);\n font-weight: var(--cipher-type-mono-sm-font-weight);\n letter-spacing: var(--cipher-type-mono-sm-letter-spacing);\n display: inline-flex;\n min-width: var(--cipher-size-count);\n height: var(--cipher-size-count);\n padding: 0 var(--cipher-space-4);\n align-items: center;\n justify-content: center;\n border-radius: 0;\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.countInk {\n background: var(--cipher-ink);\n color: var(--cipher-surface);\n}\n.countNeutral {\n background: var(--cipher-tint);\n color: var(--cipher-text2);\n}\n.identity {\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n}\n.identityText {\n flex: 1 1 auto;\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n.identityTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.identityDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n color: var(--cipher-text2, var(--muted-foreground));\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mono {\n font-family: var(--cipher-font-mono, monospace);\n}\n.media {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n flex: 0 0 auto;\n color: var(--cipher-ink, var(--foreground));\n background: var(--cipher-surface);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.mediaSmall {\n width: 24px;\n height: 24px;\n}\n.tile {\n display: flex;\n align-items: center;\n gap: 12px;\n width: 100%;\n padding: var(--cipher-space-12);\n text-align: start;\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-surface, var(--background));\n color: var(--cipher-ink, var(--foreground));\n}\n.tile:not([aria-disabled=\"true\"]):hover {\n border-color: var(--cipher-control, var(--border));\n background: var(--cipher-hover);\n}\n.tile[data-in-frame] {\n border-color: transparent;\n background: var(--cipher-tint);\n}\n.tile[data-in-frame]:not([aria-disabled=\"true\"]):hover {\n background: color-mix(in srgb, var(--cipher-mix-ink) var(--cipher-hover-mix), var(--cipher-tint));\n}\n.tile[aria-pressed=\"true\"] {\n border-color: var(--cipher-ink, var(--foreground));\n}\n.tile:disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.tile:focus-visible {\n outline: 2px solid var(--ring, var(--ring));\n outline-offset: 2px;\n}\n.tileBody {\n flex: 1;\n min-width: 0;\n}\n.tile[aria-disabled=\"true\"] {\n cursor: not-allowed;\n}\n.tile[data-layout=\"stacked\"] {\n flex-direction: column;\n align-items: stretch;\n gap: var(--cipher-space-4);\n padding: var(--cipher-space-16);\n}\n.tile[data-layout=\"stacked\"] > .tileBody {\n flex: 1 1 auto;\n}\n.tileTop {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: var(--cipher-space-12);\n min-width: 0;\n margin-bottom: var(--cipher-space-8);\n}\n.tileEyebrow {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--cipher-muted);\n font-family: var(--cipher-type-eyebrow-font-family);\n font-size: var(--cipher-type-eyebrow-font-size);\n line-height: var(--cipher-type-eyebrow-line-height);\n font-weight: var(--cipher-type-eyebrow-font-weight);\n letter-spacing: var(--cipher-type-eyebrow-letter-spacing);\n text-transform: uppercase;\n}\n.tile[aria-disabled=\"true\"] > .tileTop {\n opacity: 0.5;\n}\n.banner {\n display: flex;\n width: 100%;\n align-items: center;\n flex-wrap: wrap;\n gap: 12px;\n border: 1px solid var(--cipher-accent-line);\n background: var(--cipher-accent-wash);\n color: var(--cipher-ink, var(--foreground));\n padding: 10px 16px;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n.banner > svg {\n flex: 0 0 auto;\n color: var(--cipher-accent-fg);\n}\n.bannerText {\n flex: 1;\n min-width: min(100%, 160px);\n}\n.steps {\n display: flex;\n flex-wrap: wrap;\n gap: 12px;\n padding: 0;\n margin: 0;\n list-style: none;\n}\n.step {\n display: flex;\n align-items: center;\n gap: 6px;\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.step[data-current] {\n color: var(--cipher-ink, var(--foreground));\n font-weight: var(--cipher-type-title-sm-font-weight);\n}\n.stepNumber {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n border: 1px solid var(--cipher-line-soft, var(--border));\n}\n.step[data-current] .stepNumber {\n background: repeating-linear-gradient(\n 135deg,\n var(--cipher-tint, var(--muted)) 0 2px,\n transparent 2px 4px\n );\n border-color: var(--cipher-ink, var(--foreground));\n}\n:global(.cipher) {\n --cipher-toast-bottom: var(--cipher-space-action-bar-offset);\n}\n:global(.cipher)[data-action-bar-reserve] {\n --cipher-toast-bottom: calc(var(--cipher-size-action-bar) + 2 * var(--cipher-space-action-bar-offset));\n}\n.toastFixed {\n position: fixed;\n inset-inline-end: var(--cipher-space-16);\n bottom: var(--cipher-toast-bottom);\n z-index: 100;\n transition: bottom var(--cipher-duration-moderate) var(--cipher-ease-standard);\n}\n@media (prefers-reduced-motion: reduce) {\n .toastFixed {\n transition-duration: 0s;\n }\n}\n.toastTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.toastDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin-top: 2px;\n color: var(--cipher-text2, var(--muted-foreground));\n}\n.avatarStatus[data-status=\"ok\"] {\n background: var(--cipher-ok);\n}\n.avatarStatus[data-status=\"warn\"] {\n background: var(--cipher-warn);\n}\n.fieldLabels {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n min-width: 0;\n}\n.fieldLabelRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n min-width: 0;\n}\n.globHelp {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-4);\n}\n.legendRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n width: 100%;\n min-width: 0;\n padding: 0;\n}\n.legendActions {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-8);\n margin-inline-start: auto;\n}\n.fieldHelp {\n margin-block: calc((var(--cipher-type-field-label-line-height) - var(--cipher-size-control-xs)) / 2);\n color: var(--cipher-muted);\n}\n.fieldDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin: 0;\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.fieldError {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-6);\n margin: 0;\n color: var(--cipher-bad);\n}\n.fieldError > svg {\n flex: none;\n margin-block-start: calc((var(--cipher-type-small-line-height) - 14px) / 2);\n}\n.fieldErrorLines {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-2);\n}\n.fieldControl {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n flex: 1;\n min-width: 0;\n}\n.badge {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n height: var(--cipher-size-badge);\n padding: 0 var(--cipher-space-8);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.badge.mono {\n font-family: var(--cipher-type-mono-sm-font-family);\n}\n.badge[data-slot][data-tone] {\n border-color: var(--cipher-line-soft);\n color: var(--cipher-muted);\n background: transparent;\n}\n.badge[data-size=\"sm\"] {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph-sm);\n height: var(--cipher-size-badge-sm);\n padding-inline: var(--cipher-space-6);\n line-height: calc(var(--cipher-size-badge-sm) - 2 * var(--cipher-size-control-border));\n}\n.badge:is([data-size=\"control-sm\"], [data-size=\"control-md\"], [data-size=\"control-lg\"]) {\n --cipher-badge-glyph: var(--cipher-size-icon);\n gap: var(--cipher-space-control-gap);\n font-family: var(--cipher-type-body-font-family);\n font-size: var(--cipher-type-body-font-size);\n line-height: var(--cipher-type-body-line-height);\n font-weight: var(--cipher-type-body-font-weight);\n letter-spacing: var(--cipher-type-body-letter-spacing);\n}\n.badge[data-size=\"control-sm\"] {\n --cipher-badge-glyph: var(--cipher-size-icon-sm);\n height: var(--cipher-size-control-sm);\n padding-inline: var(--cipher-space-control-inline-sm);\n}\n.badge[data-size=\"control-md\"] {\n height: var(--cipher-size-control-md);\n padding-inline: var(--cipher-space-control-inline-md);\n}\n.badge[data-size=\"control-lg\"] {\n height: var(--cipher-size-control-lg);\n padding-inline: var(--cipher-space-control-inline);\n}\n.badge[data-slot][data-tone=\"soft\"] {\n border-color: var(--cipher-line-soft);\n background: var(--cipher-line-soft);\n color: var(--cipher-text2);\n}\n.badge[data-slot][data-tone=\"solid\"] {\n border-color: var(--cipher-ink);\n background: var(--cipher-ink);\n color: var(--cipher-on-ink);\n}\n.badge[data-slot][data-tone=\"accent\"] {\n border-color: var(--cipher-accent);\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.badge[data-slot][data-tone=\"ok\"] {\n border-color: var(--cipher-ok-line);\n background: var(--cipher-ok-bg);\n color: var(--cipher-ok);\n}\n.badge[data-slot][data-tone=\"warn\"] {\n border-color: var(--cipher-warn-line);\n background: var(--cipher-warn-bg);\n color: var(--cipher-warn);\n}\n.badge[data-slot][data-tone=\"bad\"] {\n border-color: var(--cipher-bad-line);\n background: var(--cipher-bad-bg);\n color: var(--cipher-bad);\n}\n.badge[data-slot][data-tone=\"info\"] {\n border-color: var(--cipher-info-line);\n background: var(--cipher-info-bg);\n color: var(--cipher-info);\n}\n.badgeDot {\n width: 6px;\n height: 6px;\n background: currentColor;\n flex-shrink: 0;\n}\n.steps .step {\n display: flex;\n flex: 1;\n flex-direction: column;\n align-items: flex-start;\n gap: 6px;\n}\n.steps .step::before {\n content: \"\";\n display: block;\n width: 100%;\n height: 6px;\n background: var(--cipher-line-soft);\n}\n.steps .step[data-complete]::before {\n background: var(--cipher-ink);\n}\n.steps .step[data-current]::before {\n background: repeating-linear-gradient(135deg, var(--cipher-ink) 0 2px, var(--cipher-line-soft) 2px 4px);\n}\n.fieldset {\n min-width: 0;\n width: 100%;\n padding: 0;\n border: 0;\n display: flex;\n flex-direction: column;\n gap: 6px;\n}\n.fieldset > legend {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n margin-bottom: 6px;\n}\n.alert[data-tone=\"neutral\"] {\n background: var(--cipher-paper);\n border-color: var(--cipher-line-soft);\n color: var(--cipher-ink);\n}\n.alert[data-tone=\"neutral\"] > svg {\n color: var(--cipher-muted);\n}\n.alert[data-tone=\"info\"] {\n background: var(--cipher-info-bg);\n border-color: var(--cipher-info-line);\n color: var(--cipher-info);\n}\n.alert[data-tone=\"ok\"] {\n background: var(--cipher-ok-bg);\n border-color: var(--cipher-ok-line);\n color: var(--cipher-ok);\n}\n.alert[data-tone=\"warn\"] {\n background: var(--cipher-warn-bg);\n border-color: var(--cipher-warn-line);\n color: var(--cipher-warn);\n}\n.alert[data-tone=\"bad\"] {\n background: var(--cipher-bad-bg);\n border-color: var(--cipher-bad-line);\n color: var(--cipher-bad);\n}\n.alertActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-8);\n padding-top: var(--cipher-space-actions-gap);\n}\n.toastStack {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-8);\n width: max-content;\n max-width: min(var(--cipher-size-toast), 100%);\n}\n.toastStack.toastFixed {\n max-width: min(var(--cipher-size-toast), calc(100vw - 2 * var(--cipher-space-16)));\n}\n.toast {\n border-radius: 0;\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-8);\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-toast-bg, var(--popover));\n color: var(--cipher-ink, var(--foreground));\n box-shadow: var(--cipher-shadow-pop, 0 4px 16px rgb(0 0 0 / 0.12));\n padding: var(--cipher-space-12);\n --cipher-toast-line: var(--cipher-type-row-title-line-height);\n}\n.toast > svg {\n flex: none;\n height: var(--cipher-toast-line);\n}\n.toastBody {\n min-width: 0;\n flex: 1 1 auto;\n}\n.toastTitle,\n.toastDescription {\n overflow-wrap: anywhere;\n}\n.toast > button {\n flex: none;\n margin-block: calc((var(--cipher-toast-line) - var(--cipher-action-height)) / 2);\n}\n.toastActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-4);\n margin-top: var(--cipher-space-8);\n margin-inline-start: calc(-1 * var(--cipher-space-control-inline-sm));\n contain: inline-size;\n}\n.toastActions > button {\n white-space: normal;\n max-width: 100%;\n}\n.avatarShape {\n border-radius: 0;\n}\n.avatarShape::after {\n content: \"\";\n position: absolute;\n inset: 0;\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n mix-blend-mode: var(--cipher-avatar-blend);\n pointer-events: none;\n}\n.avatarShape::after,\n.avatarShape > [data-slot=\"avatar-fallback\"],\n.avatarShape > [data-slot=\"avatar-image\"] {\n border-radius: inherit;\n}\n.avatarShape > [data-slot=\"avatar-fallback\"] {\n font-size: inherit;\n}\n.avatarRing {\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n}\n.avatarGroup {\n display: flex;\n}\n.avatarGroup > [data-slot=\"avatar\"] + [data-slot=\"avatar\"],\n.avatarGroup > * + [data-slot=\"avatar-group-count\"] {\n margin-inline-start: calc(-1 * var(--cipher-space-4));\n}\n.avatarCount {\n border-radius: 0;\n background: var(--cipher-tint);\n color: var(--cipher-muted);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n font-weight: var(--cipher-type-caption-font-weight);\n}\n.avatarStatus {\n position: absolute;\n z-index: 1;\n inset-inline-end: calc(-1 * var(--cipher-space-2));\n bottom: calc(-1 * var(--cipher-space-2));\n width: var(--cipher-space-8);\n height: var(--cipher-space-8);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n background: var(--cipher-faint);\n border-radius: 0;\n}\n\n.fieldLegend {\n font-family: var(--cipher-type-title-sm-font-family);\n font-size: var(--cipher-type-title-sm-font-size);\n line-height: var(--cipher-type-title-sm-line-height);\n font-weight: var(--cipher-type-title-sm-font-weight);\n letter-spacing: var(--cipher-type-title-sm-letter-spacing);\n margin-bottom: var(--cipher-space-field-label);\n}\n.fieldLegend[data-variant=\"legend\"] {\n margin-bottom: var(--cipher-space-field-legend);\n}\n.fieldLegend[data-variant=\"legend\"] + .fieldDescription {\n margin-top: calc(var(--cipher-space-field-label) - var(--cipher-space-field-legend));\n}\n[data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n row-gap: var(--cipher-space-field-legend);\n}\n.fieldGroup > [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) + *,\n.fieldGroup > * + [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n margin-top: calc(var(--cipher-space-content-section) - var(--cipher-space-field-group));\n}\n.fieldLegend[data-variant=\"label\"] {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.alertTitle {\n grid-column: 1;\n grid-row: 1;\n min-width: 0;\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.alertDescription {\n grid-column: 1;\n min-width: 0;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n\n:is(.fieldDescription, .alertDescription) a:not([data-slot]) {\n color: var(--cipher-link);\n text-decoration-line: none;\n text-decoration-thickness: var(--cipher-size-control-border);\n text-underline-offset: var(--cipher-space-3);\n}\n:is(.fieldDescription, .alertDescription) a:not([data-slot]):focus-visible {\n text-decoration-line: underline;\n}\n@media (hover: hover) {\n :is(.fieldDescription, .alertDescription) a:not([data-slot]):hover {\n color: var(--cipher-text2);\n text-decoration-line: underline;\n text-decoration-thickness: var(--cipher-space-2);\n }\n}\n\n.alert {\n position: relative;\n display: grid;\n width: 100%;\n grid-template-columns: minmax(0, 1fr);\n border: 1px solid var(--cipher-line-soft);\n border-radius: 0;\n padding: var(--cipher-space-12);\n gap: var(--cipher-space-4) var(--cipher-space-8);\n overflow-wrap: anywhere;\n text-align: start;\n}\n.alert[data-has-icon] {\n grid-template-columns: auto minmax(0, 1fr);\n}\n.alert > svg {\n grid-column: 1;\n grid-row: 1 / span 2;\n align-self: start;\n transform: translateY(var(--cipher-space-2));\n color: currentColor;\n}\n.alert[data-has-icon]:not([data-has-title]) > svg {\n grid-row: 1;\n transform: translateY(calc(var(--cipher-space-2) / 2));\n}\n.alert[data-has-icon] > :is(.alertTitle, .alertDescription) {\n grid-column: 2;\n}\n.alert[data-has-title] > .alertDescription {\n grid-row: 2;\n}\n.alert[data-has-action] {\n grid-template-columns: minmax(0, 1fr) auto;\n padding-inline-end: var(--cipher-space-12);\n}\n.alert[data-has-icon][data-has-action] {\n grid-template-columns: auto minmax(0, 1fr) auto;\n}\n.alertAction {\n position: static;\n grid-column: -2 / -1;\n grid-row: 1 / span 2;\n align-self: start;\n}\n\n.fieldTitle {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.fieldGroup {\n gap: var(--cipher-space-field-group);\n}\n.field {\n gap: var(--cipher-space-field-label);\n}\n.field:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field);\n}\n.field[data-width=\"wide\"]:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field-wide);\n}\n.field[data-orientation=\"horizontal\"] {\n gap: var(--cipher-space-12);\n}\n" + "content": ".avatarFallback {\n background: var(--cipher-tint);\n color: var(--cipher-ink);\n font-family: var(--cipher-type-label-font-family);\n font-weight: var(--cipher-type-label-font-weight);\n line-height: 1;\n letter-spacing: 0;\n}\n.avatarFallback svg {\n width: 50%;\n height: 50%;\n max-width: var(--cipher-size-icon);\n max-height: var(--cipher-size-icon);\n}\n.count {\n font-family: var(--cipher-type-mono-sm-font-family);\n font-size: var(--cipher-type-mono-sm-font-size);\n line-height: var(--cipher-type-mono-sm-line-height);\n font-weight: var(--cipher-type-mono-sm-font-weight);\n letter-spacing: var(--cipher-type-mono-sm-letter-spacing);\n display: inline-flex;\n min-width: var(--cipher-size-count);\n height: var(--cipher-size-count);\n padding: 0 var(--cipher-space-4);\n align-items: center;\n justify-content: center;\n border-radius: 0;\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.countInk {\n background: var(--cipher-ink);\n color: var(--cipher-surface);\n}\n.countNeutral {\n background: var(--cipher-tint);\n color: var(--cipher-text2);\n}\n.identity {\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n}\n.identityText {\n flex: 1 1 auto;\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n.identityTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.identityDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n color: var(--cipher-text2, var(--muted-foreground));\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mono {\n font-family: var(--cipher-font-mono, monospace);\n}\n.media {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n flex: 0 0 auto;\n color: var(--cipher-ink, var(--foreground));\n background: var(--cipher-surface);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.mediaSmall {\n width: 24px;\n height: 24px;\n}\n.tile {\n display: flex;\n box-sizing: border-box;\n text-decoration: none;\n align-items: center;\n gap: 12px;\n width: 100%;\n padding: var(--cipher-space-12);\n text-align: start;\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-surface, var(--background));\n color: var(--cipher-ink, var(--foreground));\n}\n.tile:not([aria-disabled=\"true\"]):hover {\n border-color: var(--cipher-control, var(--border));\n background: var(--cipher-hover);\n}\n.tile[data-in-frame] {\n border-color: transparent;\n background: var(--cipher-tint);\n}\n.tile[data-in-frame]:not([aria-disabled=\"true\"]):hover {\n background: color-mix(in srgb, var(--cipher-mix-ink) var(--cipher-hover-mix), var(--cipher-tint));\n}\n.tile[aria-pressed=\"true\"],\n.tile[aria-current=\"page\"] {\n border-color: var(--cipher-ink, var(--foreground));\n}\n.tile:disabled,\n.tile[data-disabled] {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.tile:focus-visible {\n outline: 2px solid var(--ring, var(--ring));\n outline-offset: 2px;\n}\n.tileBody {\n flex: 1;\n min-width: 0;\n}\n.tile[aria-disabled=\"true\"] {\n cursor: not-allowed;\n}\n.tile[data-layout=\"stacked\"] {\n flex-direction: column;\n align-items: stretch;\n gap: var(--cipher-space-4);\n padding: var(--cipher-space-16);\n}\n.tile[data-layout=\"stacked\"] > .tileBody {\n flex: 1 1 auto;\n}\n.tileTop {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: var(--cipher-space-12);\n min-width: 0;\n margin-bottom: var(--cipher-space-8);\n}\n.tileAside {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-8);\n min-width: 0;\n margin-inline-start: auto;\n color: var(--cipher-muted);\n}\n.tileAside > :not(.tileEyebrow) {\n flex: none;\n}\n.tileEyebrow {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--cipher-muted);\n font-family: var(--cipher-type-eyebrow-font-family);\n font-size: var(--cipher-type-eyebrow-font-size);\n line-height: var(--cipher-type-eyebrow-line-height);\n font-weight: var(--cipher-type-eyebrow-font-weight);\n letter-spacing: var(--cipher-type-eyebrow-letter-spacing);\n text-transform: uppercase;\n}\n.tile[aria-disabled=\"true\"]:not([data-disabled]) > .tileTop {\n opacity: 0.5;\n}\n.banner {\n display: flex;\n width: 100%;\n align-items: center;\n flex-wrap: wrap;\n gap: 12px;\n border: 1px solid var(--cipher-accent-line);\n background: var(--cipher-accent-wash);\n color: var(--cipher-ink, var(--foreground));\n padding: 10px 16px;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n.banner > svg {\n flex: 0 0 auto;\n color: var(--cipher-accent-fg);\n}\n.bannerText {\n flex: 1;\n min-width: min(100%, 160px);\n}\n.steps {\n display: flex;\n flex-wrap: wrap;\n gap: 12px;\n padding: 0;\n margin: 0;\n list-style: none;\n}\n.step {\n display: flex;\n align-items: center;\n gap: 6px;\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.step[data-current] {\n color: var(--cipher-ink, var(--foreground));\n font-weight: var(--cipher-type-title-sm-font-weight);\n}\n.stepNumber {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n border: 1px solid var(--cipher-line-soft, var(--border));\n}\n.step[data-current] .stepNumber {\n background: repeating-linear-gradient(\n 135deg,\n var(--cipher-tint, var(--muted)) 0 2px,\n transparent 2px 4px\n );\n border-color: var(--cipher-ink, var(--foreground));\n}\n:global(.cipher) {\n --cipher-toast-bottom: var(--cipher-space-action-bar-offset);\n}\n:global(.cipher)[data-action-bar-reserve] {\n --cipher-toast-bottom: calc(var(--cipher-size-action-bar) + 2 * var(--cipher-space-action-bar-offset));\n}\n.toastFixed {\n position: fixed;\n inset-inline-end: var(--cipher-space-16);\n bottom: var(--cipher-toast-bottom);\n z-index: 100;\n transition: bottom var(--cipher-duration-moderate) var(--cipher-ease-standard);\n}\n@media (prefers-reduced-motion: reduce) {\n .toastFixed {\n transition-duration: 0s;\n }\n}\n.toastTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.toastDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin-top: 2px;\n color: var(--cipher-text2, var(--muted-foreground));\n}\n.avatarStatus[data-status=\"ok\"] {\n background: var(--cipher-ok);\n}\n.avatarStatus[data-status=\"warn\"] {\n background: var(--cipher-warn);\n}\n.fieldLabels {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n min-width: 0;\n}\n.fieldLabelRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n min-width: 0;\n}\n.globHelp {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-4);\n}\n.legendRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n width: 100%;\n min-width: 0;\n padding: 0;\n}\n.legendActions {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-8);\n margin-inline-start: auto;\n}\n.fieldHelp {\n margin-block: calc((var(--cipher-type-field-label-line-height) - var(--cipher-size-control-xs)) / 2);\n color: var(--cipher-muted);\n}\n.fieldDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin: 0;\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.fieldError {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-6);\n margin: 0;\n color: var(--cipher-bad);\n}\n.fieldError > svg {\n flex: none;\n margin-block-start: calc((var(--cipher-type-small-line-height) - 14px) / 2);\n}\n.fieldErrorLines {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-2);\n}\n.fieldControl {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n flex: 1;\n min-width: 0;\n}\n.badge {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n height: var(--cipher-size-badge);\n padding: 0 var(--cipher-space-8);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.badge.mono {\n font-family: var(--cipher-type-mono-sm-font-family);\n}\n.badge[data-slot][data-tone] {\n border-color: var(--cipher-line-soft);\n color: var(--cipher-muted);\n background: transparent;\n}\n.badge[data-size=\"sm\"] {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph-sm);\n height: var(--cipher-size-badge-sm);\n padding-inline: var(--cipher-space-6);\n line-height: calc(var(--cipher-size-badge-sm) - 2 * var(--cipher-size-control-border));\n}\n.badge:is([data-size=\"control-sm\"], [data-size=\"control-md\"], [data-size=\"control-lg\"]) {\n --cipher-badge-glyph: var(--cipher-size-icon);\n gap: var(--cipher-space-control-gap);\n font-family: var(--cipher-type-body-font-family);\n font-size: var(--cipher-type-body-font-size);\n line-height: var(--cipher-type-body-line-height);\n font-weight: var(--cipher-type-body-font-weight);\n letter-spacing: var(--cipher-type-body-letter-spacing);\n}\n.badge[data-size=\"control-sm\"] {\n --cipher-badge-glyph: var(--cipher-size-icon-sm);\n height: var(--cipher-size-control-sm);\n padding-inline: var(--cipher-space-control-inline-sm);\n}\n.badge[data-size=\"control-md\"] {\n height: var(--cipher-size-control-md);\n padding-inline: var(--cipher-space-control-inline-md);\n}\n.badge[data-size=\"control-lg\"] {\n height: var(--cipher-size-control-lg);\n padding-inline: var(--cipher-space-control-inline);\n}\n.badge[data-slot][data-tone=\"soft\"] {\n border-color: var(--cipher-line-soft);\n background: var(--cipher-line-soft);\n color: var(--cipher-text2);\n}\n.badge[data-slot][data-tone=\"solid\"] {\n border-color: var(--cipher-ink);\n background: var(--cipher-ink);\n color: var(--cipher-on-ink);\n}\n.badge[data-slot][data-tone=\"accent\"] {\n border-color: var(--cipher-accent);\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.badge[data-slot][data-tone=\"ok\"] {\n border-color: var(--cipher-ok-line);\n background: var(--cipher-ok-bg);\n color: var(--cipher-ok);\n}\n.badge[data-slot][data-tone=\"warn\"] {\n border-color: var(--cipher-warn-line);\n background: var(--cipher-warn-bg);\n color: var(--cipher-warn);\n}\n.badge[data-slot][data-tone=\"bad\"] {\n border-color: var(--cipher-bad-line);\n background: var(--cipher-bad-bg);\n color: var(--cipher-bad);\n}\n.badge[data-slot][data-tone=\"info\"] {\n border-color: var(--cipher-info-line);\n background: var(--cipher-info-bg);\n color: var(--cipher-info);\n}\n.badgeDot {\n width: 6px;\n height: 6px;\n background: currentColor;\n flex-shrink: 0;\n}\n.steps .step {\n display: flex;\n flex: 1;\n flex-direction: column;\n align-items: flex-start;\n gap: 6px;\n}\n.steps .step::before {\n content: \"\";\n display: block;\n width: 100%;\n height: 6px;\n background: var(--cipher-line-soft);\n}\n.steps .step[data-complete]::before {\n background: var(--cipher-ink);\n}\n.steps .step[data-current]::before {\n background: repeating-linear-gradient(135deg, var(--cipher-ink) 0 2px, var(--cipher-line-soft) 2px 4px);\n}\n.fieldset {\n min-width: 0;\n width: 100%;\n padding: 0;\n border: 0;\n display: flex;\n flex-direction: column;\n gap: 6px;\n}\n.fieldset > legend {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n margin-bottom: 6px;\n}\n.alert[data-tone=\"neutral\"] {\n background: var(--cipher-paper);\n border-color: var(--cipher-line-soft);\n color: var(--cipher-ink);\n}\n.alert[data-tone=\"neutral\"] > svg {\n color: var(--cipher-muted);\n}\n.alert[data-tone=\"info\"] {\n background: var(--cipher-info-bg);\n border-color: var(--cipher-info-line);\n color: var(--cipher-info);\n}\n.alert[data-tone=\"ok\"] {\n background: var(--cipher-ok-bg);\n border-color: var(--cipher-ok-line);\n color: var(--cipher-ok);\n}\n.alert[data-tone=\"warn\"] {\n background: var(--cipher-warn-bg);\n border-color: var(--cipher-warn-line);\n color: var(--cipher-warn);\n}\n.alert[data-tone=\"bad\"] {\n background: var(--cipher-bad-bg);\n border-color: var(--cipher-bad-line);\n color: var(--cipher-bad);\n}\n.alertActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-8);\n padding-top: var(--cipher-space-actions-gap);\n}\n.toastStack {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-8);\n width: max-content;\n max-width: min(var(--cipher-size-toast), 100%);\n}\n.toastStack.toastFixed {\n max-width: min(var(--cipher-size-toast), calc(100vw - 2 * var(--cipher-space-16)));\n}\n.toast {\n border-radius: 0;\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-8);\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-toast-bg, var(--popover));\n color: var(--cipher-ink, var(--foreground));\n box-shadow: var(--cipher-shadow-pop, 0 4px 16px rgb(0 0 0 / 0.12));\n padding: var(--cipher-space-12);\n --cipher-toast-line: var(--cipher-type-row-title-line-height);\n}\n.toast > svg {\n flex: none;\n height: var(--cipher-toast-line);\n}\n.toastBody {\n min-width: 0;\n flex: 1 1 auto;\n}\n.toastTitle,\n.toastDescription {\n overflow-wrap: anywhere;\n}\n.toast > button {\n flex: none;\n margin-block: calc((var(--cipher-toast-line) - var(--cipher-action-height)) / 2);\n}\n.toastActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-4);\n margin-top: var(--cipher-space-8);\n margin-inline-start: calc(-1 * var(--cipher-space-control-inline-sm));\n contain: inline-size;\n}\n.toastActions > button {\n white-space: normal;\n max-width: 100%;\n}\n.avatarShape {\n border-radius: 0;\n}\n.avatarShape::after {\n content: \"\";\n position: absolute;\n inset: 0;\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n mix-blend-mode: var(--cipher-avatar-blend);\n pointer-events: none;\n}\n.avatarShape::after,\n.avatarShape > [data-slot=\"avatar-fallback\"],\n.avatarShape > [data-slot=\"avatar-image\"] {\n border-radius: inherit;\n}\n.avatarShape > [data-slot=\"avatar-fallback\"] {\n font-size: inherit;\n}\n.avatarRing {\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n}\n.avatarGroup {\n display: flex;\n}\n.avatarGroup > [data-slot=\"avatar\"] + [data-slot=\"avatar\"],\n.avatarGroup > * + [data-slot=\"avatar-group-count\"] {\n margin-inline-start: calc(-1 * var(--cipher-space-4));\n}\n.avatarCount {\n border-radius: 0;\n background: var(--cipher-tint);\n color: var(--cipher-muted);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n font-weight: var(--cipher-type-caption-font-weight);\n}\n.avatarStatus {\n position: absolute;\n z-index: 1;\n inset-inline-end: calc(-1 * var(--cipher-space-2));\n bottom: calc(-1 * var(--cipher-space-2));\n width: var(--cipher-space-8);\n height: var(--cipher-space-8);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n background: var(--cipher-faint);\n border-radius: 0;\n}\n\n.fieldLegend {\n font-family: var(--cipher-type-title-sm-font-family);\n font-size: var(--cipher-type-title-sm-font-size);\n line-height: var(--cipher-type-title-sm-line-height);\n font-weight: var(--cipher-type-title-sm-font-weight);\n letter-spacing: var(--cipher-type-title-sm-letter-spacing);\n margin-bottom: var(--cipher-space-field-label);\n}\n.fieldLegend[data-variant=\"legend\"] {\n margin-bottom: var(--cipher-space-field-legend);\n}\n.fieldLegend[data-variant=\"legend\"] + .fieldDescription {\n margin-top: calc(var(--cipher-space-field-label) - var(--cipher-space-field-legend));\n}\n[data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n row-gap: var(--cipher-space-field-legend);\n}\n.fieldGroup > [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) + *,\n.fieldGroup > * + [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n margin-top: calc(var(--cipher-space-content-section) - var(--cipher-space-field-group));\n}\n.fieldLegend[data-variant=\"label\"] {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.alertTitle {\n grid-column: 1;\n grid-row: 1;\n min-width: 0;\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.alertDescription {\n grid-column: 1;\n min-width: 0;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n\n:is(.fieldDescription, .alertDescription) a:not([data-slot]) {\n color: var(--cipher-link);\n text-decoration-line: none;\n text-decoration-thickness: var(--cipher-size-control-border);\n text-underline-offset: var(--cipher-space-3);\n}\n:is(.fieldDescription, .alertDescription) a:not([data-slot]):focus-visible {\n text-decoration-line: underline;\n}\n@media (hover: hover) {\n :is(.fieldDescription, .alertDescription) a:not([data-slot]):hover {\n color: var(--cipher-text2);\n text-decoration-line: underline;\n text-decoration-thickness: var(--cipher-space-2);\n }\n}\n\n.alert {\n position: relative;\n display: grid;\n width: 100%;\n grid-template-columns: minmax(0, 1fr);\n border: 1px solid var(--cipher-line-soft);\n border-radius: 0;\n padding: var(--cipher-space-12);\n gap: var(--cipher-space-4) var(--cipher-space-8);\n overflow-wrap: anywhere;\n text-align: start;\n}\n.alert[data-has-icon] {\n grid-template-columns: auto minmax(0, 1fr);\n}\n.alert > svg {\n grid-column: 1;\n grid-row: 1 / span 2;\n align-self: start;\n transform: translateY(var(--cipher-space-2));\n color: currentColor;\n}\n.alert[data-has-icon]:not([data-has-title]) > svg {\n grid-row: 1;\n transform: translateY(calc(var(--cipher-space-2) / 2));\n}\n.alert[data-has-icon] > :is(.alertTitle, .alertDescription) {\n grid-column: 2;\n}\n.alert[data-has-title] > .alertDescription {\n grid-row: 2;\n}\n.alert[data-has-action] {\n grid-template-columns: minmax(0, 1fr) auto;\n padding-inline-end: var(--cipher-space-12);\n}\n.alert[data-has-icon][data-has-action] {\n grid-template-columns: auto minmax(0, 1fr) auto;\n}\n.alertAction {\n position: static;\n grid-column: -2 / -1;\n grid-row: 1 / span 2;\n align-self: start;\n}\n\n.fieldTitle {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.fieldGroup {\n gap: var(--cipher-space-field-group);\n}\n.field {\n gap: var(--cipher-space-field-label);\n}\n.field:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field);\n}\n.field[data-width=\"wide\"]:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field-wide);\n}\n.field[data-orientation=\"horizontal\"] {\n gap: var(--cipher-space-12);\n}\n" } ] } diff --git a/r/avatar.json b/r/avatar.json index 9e808b48..4e92dd94 100644 --- a/r/avatar.json +++ b/r/avatar.json @@ -20,7 +20,7 @@ "path": "src/components/cipher/ui/helpers.module.css", "type": "registry:file", "target": "src/components/cipher/ui/helpers.module.css", - "content": ".avatarFallback {\n background: var(--cipher-tint);\n color: var(--cipher-ink);\n font-family: var(--cipher-type-label-font-family);\n font-weight: var(--cipher-type-label-font-weight);\n line-height: 1;\n letter-spacing: 0;\n}\n.avatarFallback svg {\n width: 50%;\n height: 50%;\n max-width: var(--cipher-size-icon);\n max-height: var(--cipher-size-icon);\n}\n.count {\n font-family: var(--cipher-type-mono-sm-font-family);\n font-size: var(--cipher-type-mono-sm-font-size);\n line-height: var(--cipher-type-mono-sm-line-height);\n font-weight: var(--cipher-type-mono-sm-font-weight);\n letter-spacing: var(--cipher-type-mono-sm-letter-spacing);\n display: inline-flex;\n min-width: var(--cipher-size-count);\n height: var(--cipher-size-count);\n padding: 0 var(--cipher-space-4);\n align-items: center;\n justify-content: center;\n border-radius: 0;\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.countInk {\n background: var(--cipher-ink);\n color: var(--cipher-surface);\n}\n.countNeutral {\n background: var(--cipher-tint);\n color: var(--cipher-text2);\n}\n.identity {\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n}\n.identityText {\n flex: 1 1 auto;\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n.identityTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.identityDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n color: var(--cipher-text2, var(--muted-foreground));\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mono {\n font-family: var(--cipher-font-mono, monospace);\n}\n.media {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n flex: 0 0 auto;\n color: var(--cipher-ink, var(--foreground));\n background: var(--cipher-surface);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.mediaSmall {\n width: 24px;\n height: 24px;\n}\n.tile {\n display: flex;\n align-items: center;\n gap: 12px;\n width: 100%;\n padding: var(--cipher-space-12);\n text-align: start;\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-surface, var(--background));\n color: var(--cipher-ink, var(--foreground));\n}\n.tile:not([aria-disabled=\"true\"]):hover {\n border-color: var(--cipher-control, var(--border));\n background: var(--cipher-hover);\n}\n.tile[data-in-frame] {\n border-color: transparent;\n background: var(--cipher-tint);\n}\n.tile[data-in-frame]:not([aria-disabled=\"true\"]):hover {\n background: color-mix(in srgb, var(--cipher-mix-ink) var(--cipher-hover-mix), var(--cipher-tint));\n}\n.tile[aria-pressed=\"true\"] {\n border-color: var(--cipher-ink, var(--foreground));\n}\n.tile:disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.tile:focus-visible {\n outline: 2px solid var(--ring, var(--ring));\n outline-offset: 2px;\n}\n.tileBody {\n flex: 1;\n min-width: 0;\n}\n.tile[aria-disabled=\"true\"] {\n cursor: not-allowed;\n}\n.tile[data-layout=\"stacked\"] {\n flex-direction: column;\n align-items: stretch;\n gap: var(--cipher-space-4);\n padding: var(--cipher-space-16);\n}\n.tile[data-layout=\"stacked\"] > .tileBody {\n flex: 1 1 auto;\n}\n.tileTop {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: var(--cipher-space-12);\n min-width: 0;\n margin-bottom: var(--cipher-space-8);\n}\n.tileEyebrow {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--cipher-muted);\n font-family: var(--cipher-type-eyebrow-font-family);\n font-size: var(--cipher-type-eyebrow-font-size);\n line-height: var(--cipher-type-eyebrow-line-height);\n font-weight: var(--cipher-type-eyebrow-font-weight);\n letter-spacing: var(--cipher-type-eyebrow-letter-spacing);\n text-transform: uppercase;\n}\n.tile[aria-disabled=\"true\"] > .tileTop {\n opacity: 0.5;\n}\n.banner {\n display: flex;\n width: 100%;\n align-items: center;\n flex-wrap: wrap;\n gap: 12px;\n border: 1px solid var(--cipher-accent-line);\n background: var(--cipher-accent-wash);\n color: var(--cipher-ink, var(--foreground));\n padding: 10px 16px;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n.banner > svg {\n flex: 0 0 auto;\n color: var(--cipher-accent-fg);\n}\n.bannerText {\n flex: 1;\n min-width: min(100%, 160px);\n}\n.steps {\n display: flex;\n flex-wrap: wrap;\n gap: 12px;\n padding: 0;\n margin: 0;\n list-style: none;\n}\n.step {\n display: flex;\n align-items: center;\n gap: 6px;\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.step[data-current] {\n color: var(--cipher-ink, var(--foreground));\n font-weight: var(--cipher-type-title-sm-font-weight);\n}\n.stepNumber {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n border: 1px solid var(--cipher-line-soft, var(--border));\n}\n.step[data-current] .stepNumber {\n background: repeating-linear-gradient(\n 135deg,\n var(--cipher-tint, var(--muted)) 0 2px,\n transparent 2px 4px\n );\n border-color: var(--cipher-ink, var(--foreground));\n}\n:global(.cipher) {\n --cipher-toast-bottom: var(--cipher-space-action-bar-offset);\n}\n:global(.cipher)[data-action-bar-reserve] {\n --cipher-toast-bottom: calc(var(--cipher-size-action-bar) + 2 * var(--cipher-space-action-bar-offset));\n}\n.toastFixed {\n position: fixed;\n inset-inline-end: var(--cipher-space-16);\n bottom: var(--cipher-toast-bottom);\n z-index: 100;\n transition: bottom var(--cipher-duration-moderate) var(--cipher-ease-standard);\n}\n@media (prefers-reduced-motion: reduce) {\n .toastFixed {\n transition-duration: 0s;\n }\n}\n.toastTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.toastDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin-top: 2px;\n color: var(--cipher-text2, var(--muted-foreground));\n}\n.avatarStatus[data-status=\"ok\"] {\n background: var(--cipher-ok);\n}\n.avatarStatus[data-status=\"warn\"] {\n background: var(--cipher-warn);\n}\n.fieldLabels {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n min-width: 0;\n}\n.fieldLabelRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n min-width: 0;\n}\n.globHelp {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-4);\n}\n.legendRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n width: 100%;\n min-width: 0;\n padding: 0;\n}\n.legendActions {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-8);\n margin-inline-start: auto;\n}\n.fieldHelp {\n margin-block: calc((var(--cipher-type-field-label-line-height) - var(--cipher-size-control-xs)) / 2);\n color: var(--cipher-muted);\n}\n.fieldDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin: 0;\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.fieldError {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-6);\n margin: 0;\n color: var(--cipher-bad);\n}\n.fieldError > svg {\n flex: none;\n margin-block-start: calc((var(--cipher-type-small-line-height) - 14px) / 2);\n}\n.fieldErrorLines {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-2);\n}\n.fieldControl {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n flex: 1;\n min-width: 0;\n}\n.badge {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n height: var(--cipher-size-badge);\n padding: 0 var(--cipher-space-8);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.badge.mono {\n font-family: var(--cipher-type-mono-sm-font-family);\n}\n.badge[data-slot][data-tone] {\n border-color: var(--cipher-line-soft);\n color: var(--cipher-muted);\n background: transparent;\n}\n.badge[data-size=\"sm\"] {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph-sm);\n height: var(--cipher-size-badge-sm);\n padding-inline: var(--cipher-space-6);\n line-height: calc(var(--cipher-size-badge-sm) - 2 * var(--cipher-size-control-border));\n}\n.badge:is([data-size=\"control-sm\"], [data-size=\"control-md\"], [data-size=\"control-lg\"]) {\n --cipher-badge-glyph: var(--cipher-size-icon);\n gap: var(--cipher-space-control-gap);\n font-family: var(--cipher-type-body-font-family);\n font-size: var(--cipher-type-body-font-size);\n line-height: var(--cipher-type-body-line-height);\n font-weight: var(--cipher-type-body-font-weight);\n letter-spacing: var(--cipher-type-body-letter-spacing);\n}\n.badge[data-size=\"control-sm\"] {\n --cipher-badge-glyph: var(--cipher-size-icon-sm);\n height: var(--cipher-size-control-sm);\n padding-inline: var(--cipher-space-control-inline-sm);\n}\n.badge[data-size=\"control-md\"] {\n height: var(--cipher-size-control-md);\n padding-inline: var(--cipher-space-control-inline-md);\n}\n.badge[data-size=\"control-lg\"] {\n height: var(--cipher-size-control-lg);\n padding-inline: var(--cipher-space-control-inline);\n}\n.badge[data-slot][data-tone=\"soft\"] {\n border-color: var(--cipher-line-soft);\n background: var(--cipher-line-soft);\n color: var(--cipher-text2);\n}\n.badge[data-slot][data-tone=\"solid\"] {\n border-color: var(--cipher-ink);\n background: var(--cipher-ink);\n color: var(--cipher-on-ink);\n}\n.badge[data-slot][data-tone=\"accent\"] {\n border-color: var(--cipher-accent);\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.badge[data-slot][data-tone=\"ok\"] {\n border-color: var(--cipher-ok-line);\n background: var(--cipher-ok-bg);\n color: var(--cipher-ok);\n}\n.badge[data-slot][data-tone=\"warn\"] {\n border-color: var(--cipher-warn-line);\n background: var(--cipher-warn-bg);\n color: var(--cipher-warn);\n}\n.badge[data-slot][data-tone=\"bad\"] {\n border-color: var(--cipher-bad-line);\n background: var(--cipher-bad-bg);\n color: var(--cipher-bad);\n}\n.badge[data-slot][data-tone=\"info\"] {\n border-color: var(--cipher-info-line);\n background: var(--cipher-info-bg);\n color: var(--cipher-info);\n}\n.badgeDot {\n width: 6px;\n height: 6px;\n background: currentColor;\n flex-shrink: 0;\n}\n.steps .step {\n display: flex;\n flex: 1;\n flex-direction: column;\n align-items: flex-start;\n gap: 6px;\n}\n.steps .step::before {\n content: \"\";\n display: block;\n width: 100%;\n height: 6px;\n background: var(--cipher-line-soft);\n}\n.steps .step[data-complete]::before {\n background: var(--cipher-ink);\n}\n.steps .step[data-current]::before {\n background: repeating-linear-gradient(135deg, var(--cipher-ink) 0 2px, var(--cipher-line-soft) 2px 4px);\n}\n.fieldset {\n min-width: 0;\n width: 100%;\n padding: 0;\n border: 0;\n display: flex;\n flex-direction: column;\n gap: 6px;\n}\n.fieldset > legend {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n margin-bottom: 6px;\n}\n.alert[data-tone=\"neutral\"] {\n background: var(--cipher-paper);\n border-color: var(--cipher-line-soft);\n color: var(--cipher-ink);\n}\n.alert[data-tone=\"neutral\"] > svg {\n color: var(--cipher-muted);\n}\n.alert[data-tone=\"info\"] {\n background: var(--cipher-info-bg);\n border-color: var(--cipher-info-line);\n color: var(--cipher-info);\n}\n.alert[data-tone=\"ok\"] {\n background: var(--cipher-ok-bg);\n border-color: var(--cipher-ok-line);\n color: var(--cipher-ok);\n}\n.alert[data-tone=\"warn\"] {\n background: var(--cipher-warn-bg);\n border-color: var(--cipher-warn-line);\n color: var(--cipher-warn);\n}\n.alert[data-tone=\"bad\"] {\n background: var(--cipher-bad-bg);\n border-color: var(--cipher-bad-line);\n color: var(--cipher-bad);\n}\n.alertActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-8);\n padding-top: var(--cipher-space-actions-gap);\n}\n.toastStack {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-8);\n width: max-content;\n max-width: min(var(--cipher-size-toast), 100%);\n}\n.toastStack.toastFixed {\n max-width: min(var(--cipher-size-toast), calc(100vw - 2 * var(--cipher-space-16)));\n}\n.toast {\n border-radius: 0;\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-8);\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-toast-bg, var(--popover));\n color: var(--cipher-ink, var(--foreground));\n box-shadow: var(--cipher-shadow-pop, 0 4px 16px rgb(0 0 0 / 0.12));\n padding: var(--cipher-space-12);\n --cipher-toast-line: var(--cipher-type-row-title-line-height);\n}\n.toast > svg {\n flex: none;\n height: var(--cipher-toast-line);\n}\n.toastBody {\n min-width: 0;\n flex: 1 1 auto;\n}\n.toastTitle,\n.toastDescription {\n overflow-wrap: anywhere;\n}\n.toast > button {\n flex: none;\n margin-block: calc((var(--cipher-toast-line) - var(--cipher-action-height)) / 2);\n}\n.toastActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-4);\n margin-top: var(--cipher-space-8);\n margin-inline-start: calc(-1 * var(--cipher-space-control-inline-sm));\n contain: inline-size;\n}\n.toastActions > button {\n white-space: normal;\n max-width: 100%;\n}\n.avatarShape {\n border-radius: 0;\n}\n.avatarShape::after {\n content: \"\";\n position: absolute;\n inset: 0;\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n mix-blend-mode: var(--cipher-avatar-blend);\n pointer-events: none;\n}\n.avatarShape::after,\n.avatarShape > [data-slot=\"avatar-fallback\"],\n.avatarShape > [data-slot=\"avatar-image\"] {\n border-radius: inherit;\n}\n.avatarShape > [data-slot=\"avatar-fallback\"] {\n font-size: inherit;\n}\n.avatarRing {\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n}\n.avatarGroup {\n display: flex;\n}\n.avatarGroup > [data-slot=\"avatar\"] + [data-slot=\"avatar\"],\n.avatarGroup > * + [data-slot=\"avatar-group-count\"] {\n margin-inline-start: calc(-1 * var(--cipher-space-4));\n}\n.avatarCount {\n border-radius: 0;\n background: var(--cipher-tint);\n color: var(--cipher-muted);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n font-weight: var(--cipher-type-caption-font-weight);\n}\n.avatarStatus {\n position: absolute;\n z-index: 1;\n inset-inline-end: calc(-1 * var(--cipher-space-2));\n bottom: calc(-1 * var(--cipher-space-2));\n width: var(--cipher-space-8);\n height: var(--cipher-space-8);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n background: var(--cipher-faint);\n border-radius: 0;\n}\n\n.fieldLegend {\n font-family: var(--cipher-type-title-sm-font-family);\n font-size: var(--cipher-type-title-sm-font-size);\n line-height: var(--cipher-type-title-sm-line-height);\n font-weight: var(--cipher-type-title-sm-font-weight);\n letter-spacing: var(--cipher-type-title-sm-letter-spacing);\n margin-bottom: var(--cipher-space-field-label);\n}\n.fieldLegend[data-variant=\"legend\"] {\n margin-bottom: var(--cipher-space-field-legend);\n}\n.fieldLegend[data-variant=\"legend\"] + .fieldDescription {\n margin-top: calc(var(--cipher-space-field-label) - var(--cipher-space-field-legend));\n}\n[data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n row-gap: var(--cipher-space-field-legend);\n}\n.fieldGroup > [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) + *,\n.fieldGroup > * + [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n margin-top: calc(var(--cipher-space-content-section) - var(--cipher-space-field-group));\n}\n.fieldLegend[data-variant=\"label\"] {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.alertTitle {\n grid-column: 1;\n grid-row: 1;\n min-width: 0;\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.alertDescription {\n grid-column: 1;\n min-width: 0;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n\n:is(.fieldDescription, .alertDescription) a:not([data-slot]) {\n color: var(--cipher-link);\n text-decoration-line: none;\n text-decoration-thickness: var(--cipher-size-control-border);\n text-underline-offset: var(--cipher-space-3);\n}\n:is(.fieldDescription, .alertDescription) a:not([data-slot]):focus-visible {\n text-decoration-line: underline;\n}\n@media (hover: hover) {\n :is(.fieldDescription, .alertDescription) a:not([data-slot]):hover {\n color: var(--cipher-text2);\n text-decoration-line: underline;\n text-decoration-thickness: var(--cipher-space-2);\n }\n}\n\n.alert {\n position: relative;\n display: grid;\n width: 100%;\n grid-template-columns: minmax(0, 1fr);\n border: 1px solid var(--cipher-line-soft);\n border-radius: 0;\n padding: var(--cipher-space-12);\n gap: var(--cipher-space-4) var(--cipher-space-8);\n overflow-wrap: anywhere;\n text-align: start;\n}\n.alert[data-has-icon] {\n grid-template-columns: auto minmax(0, 1fr);\n}\n.alert > svg {\n grid-column: 1;\n grid-row: 1 / span 2;\n align-self: start;\n transform: translateY(var(--cipher-space-2));\n color: currentColor;\n}\n.alert[data-has-icon]:not([data-has-title]) > svg {\n grid-row: 1;\n transform: translateY(calc(var(--cipher-space-2) / 2));\n}\n.alert[data-has-icon] > :is(.alertTitle, .alertDescription) {\n grid-column: 2;\n}\n.alert[data-has-title] > .alertDescription {\n grid-row: 2;\n}\n.alert[data-has-action] {\n grid-template-columns: minmax(0, 1fr) auto;\n padding-inline-end: var(--cipher-space-12);\n}\n.alert[data-has-icon][data-has-action] {\n grid-template-columns: auto minmax(0, 1fr) auto;\n}\n.alertAction {\n position: static;\n grid-column: -2 / -1;\n grid-row: 1 / span 2;\n align-self: start;\n}\n\n.fieldTitle {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.fieldGroup {\n gap: var(--cipher-space-field-group);\n}\n.field {\n gap: var(--cipher-space-field-label);\n}\n.field:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field);\n}\n.field[data-width=\"wide\"]:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field-wide);\n}\n.field[data-orientation=\"horizontal\"] {\n gap: var(--cipher-space-12);\n}\n" + "content": ".avatarFallback {\n background: var(--cipher-tint);\n color: var(--cipher-ink);\n font-family: var(--cipher-type-label-font-family);\n font-weight: var(--cipher-type-label-font-weight);\n line-height: 1;\n letter-spacing: 0;\n}\n.avatarFallback svg {\n width: 50%;\n height: 50%;\n max-width: var(--cipher-size-icon);\n max-height: var(--cipher-size-icon);\n}\n.count {\n font-family: var(--cipher-type-mono-sm-font-family);\n font-size: var(--cipher-type-mono-sm-font-size);\n line-height: var(--cipher-type-mono-sm-line-height);\n font-weight: var(--cipher-type-mono-sm-font-weight);\n letter-spacing: var(--cipher-type-mono-sm-letter-spacing);\n display: inline-flex;\n min-width: var(--cipher-size-count);\n height: var(--cipher-size-count);\n padding: 0 var(--cipher-space-4);\n align-items: center;\n justify-content: center;\n border-radius: 0;\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.countInk {\n background: var(--cipher-ink);\n color: var(--cipher-surface);\n}\n.countNeutral {\n background: var(--cipher-tint);\n color: var(--cipher-text2);\n}\n.identity {\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n}\n.identityText {\n flex: 1 1 auto;\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n.identityTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.identityDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n color: var(--cipher-text2, var(--muted-foreground));\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mono {\n font-family: var(--cipher-font-mono, monospace);\n}\n.media {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n flex: 0 0 auto;\n color: var(--cipher-ink, var(--foreground));\n background: var(--cipher-surface);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.mediaSmall {\n width: 24px;\n height: 24px;\n}\n.tile {\n display: flex;\n box-sizing: border-box;\n text-decoration: none;\n align-items: center;\n gap: 12px;\n width: 100%;\n padding: var(--cipher-space-12);\n text-align: start;\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-surface, var(--background));\n color: var(--cipher-ink, var(--foreground));\n}\n.tile:not([aria-disabled=\"true\"]):hover {\n border-color: var(--cipher-control, var(--border));\n background: var(--cipher-hover);\n}\n.tile[data-in-frame] {\n border-color: transparent;\n background: var(--cipher-tint);\n}\n.tile[data-in-frame]:not([aria-disabled=\"true\"]):hover {\n background: color-mix(in srgb, var(--cipher-mix-ink) var(--cipher-hover-mix), var(--cipher-tint));\n}\n.tile[aria-pressed=\"true\"],\n.tile[aria-current=\"page\"] {\n border-color: var(--cipher-ink, var(--foreground));\n}\n.tile:disabled,\n.tile[data-disabled] {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.tile:focus-visible {\n outline: 2px solid var(--ring, var(--ring));\n outline-offset: 2px;\n}\n.tileBody {\n flex: 1;\n min-width: 0;\n}\n.tile[aria-disabled=\"true\"] {\n cursor: not-allowed;\n}\n.tile[data-layout=\"stacked\"] {\n flex-direction: column;\n align-items: stretch;\n gap: var(--cipher-space-4);\n padding: var(--cipher-space-16);\n}\n.tile[data-layout=\"stacked\"] > .tileBody {\n flex: 1 1 auto;\n}\n.tileTop {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: var(--cipher-space-12);\n min-width: 0;\n margin-bottom: var(--cipher-space-8);\n}\n.tileAside {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-8);\n min-width: 0;\n margin-inline-start: auto;\n color: var(--cipher-muted);\n}\n.tileAside > :not(.tileEyebrow) {\n flex: none;\n}\n.tileEyebrow {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--cipher-muted);\n font-family: var(--cipher-type-eyebrow-font-family);\n font-size: var(--cipher-type-eyebrow-font-size);\n line-height: var(--cipher-type-eyebrow-line-height);\n font-weight: var(--cipher-type-eyebrow-font-weight);\n letter-spacing: var(--cipher-type-eyebrow-letter-spacing);\n text-transform: uppercase;\n}\n.tile[aria-disabled=\"true\"]:not([data-disabled]) > .tileTop {\n opacity: 0.5;\n}\n.banner {\n display: flex;\n width: 100%;\n align-items: center;\n flex-wrap: wrap;\n gap: 12px;\n border: 1px solid var(--cipher-accent-line);\n background: var(--cipher-accent-wash);\n color: var(--cipher-ink, var(--foreground));\n padding: 10px 16px;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n.banner > svg {\n flex: 0 0 auto;\n color: var(--cipher-accent-fg);\n}\n.bannerText {\n flex: 1;\n min-width: min(100%, 160px);\n}\n.steps {\n display: flex;\n flex-wrap: wrap;\n gap: 12px;\n padding: 0;\n margin: 0;\n list-style: none;\n}\n.step {\n display: flex;\n align-items: center;\n gap: 6px;\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.step[data-current] {\n color: var(--cipher-ink, var(--foreground));\n font-weight: var(--cipher-type-title-sm-font-weight);\n}\n.stepNumber {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n border: 1px solid var(--cipher-line-soft, var(--border));\n}\n.step[data-current] .stepNumber {\n background: repeating-linear-gradient(\n 135deg,\n var(--cipher-tint, var(--muted)) 0 2px,\n transparent 2px 4px\n );\n border-color: var(--cipher-ink, var(--foreground));\n}\n:global(.cipher) {\n --cipher-toast-bottom: var(--cipher-space-action-bar-offset);\n}\n:global(.cipher)[data-action-bar-reserve] {\n --cipher-toast-bottom: calc(var(--cipher-size-action-bar) + 2 * var(--cipher-space-action-bar-offset));\n}\n.toastFixed {\n position: fixed;\n inset-inline-end: var(--cipher-space-16);\n bottom: var(--cipher-toast-bottom);\n z-index: 100;\n transition: bottom var(--cipher-duration-moderate) var(--cipher-ease-standard);\n}\n@media (prefers-reduced-motion: reduce) {\n .toastFixed {\n transition-duration: 0s;\n }\n}\n.toastTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.toastDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin-top: 2px;\n color: var(--cipher-text2, var(--muted-foreground));\n}\n.avatarStatus[data-status=\"ok\"] {\n background: var(--cipher-ok);\n}\n.avatarStatus[data-status=\"warn\"] {\n background: var(--cipher-warn);\n}\n.fieldLabels {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n min-width: 0;\n}\n.fieldLabelRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n min-width: 0;\n}\n.globHelp {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-4);\n}\n.legendRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n width: 100%;\n min-width: 0;\n padding: 0;\n}\n.legendActions {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-8);\n margin-inline-start: auto;\n}\n.fieldHelp {\n margin-block: calc((var(--cipher-type-field-label-line-height) - var(--cipher-size-control-xs)) / 2);\n color: var(--cipher-muted);\n}\n.fieldDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin: 0;\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.fieldError {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-6);\n margin: 0;\n color: var(--cipher-bad);\n}\n.fieldError > svg {\n flex: none;\n margin-block-start: calc((var(--cipher-type-small-line-height) - 14px) / 2);\n}\n.fieldErrorLines {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-2);\n}\n.fieldControl {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n flex: 1;\n min-width: 0;\n}\n.badge {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n height: var(--cipher-size-badge);\n padding: 0 var(--cipher-space-8);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.badge.mono {\n font-family: var(--cipher-type-mono-sm-font-family);\n}\n.badge[data-slot][data-tone] {\n border-color: var(--cipher-line-soft);\n color: var(--cipher-muted);\n background: transparent;\n}\n.badge[data-size=\"sm\"] {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph-sm);\n height: var(--cipher-size-badge-sm);\n padding-inline: var(--cipher-space-6);\n line-height: calc(var(--cipher-size-badge-sm) - 2 * var(--cipher-size-control-border));\n}\n.badge:is([data-size=\"control-sm\"], [data-size=\"control-md\"], [data-size=\"control-lg\"]) {\n --cipher-badge-glyph: var(--cipher-size-icon);\n gap: var(--cipher-space-control-gap);\n font-family: var(--cipher-type-body-font-family);\n font-size: var(--cipher-type-body-font-size);\n line-height: var(--cipher-type-body-line-height);\n font-weight: var(--cipher-type-body-font-weight);\n letter-spacing: var(--cipher-type-body-letter-spacing);\n}\n.badge[data-size=\"control-sm\"] {\n --cipher-badge-glyph: var(--cipher-size-icon-sm);\n height: var(--cipher-size-control-sm);\n padding-inline: var(--cipher-space-control-inline-sm);\n}\n.badge[data-size=\"control-md\"] {\n height: var(--cipher-size-control-md);\n padding-inline: var(--cipher-space-control-inline-md);\n}\n.badge[data-size=\"control-lg\"] {\n height: var(--cipher-size-control-lg);\n padding-inline: var(--cipher-space-control-inline);\n}\n.badge[data-slot][data-tone=\"soft\"] {\n border-color: var(--cipher-line-soft);\n background: var(--cipher-line-soft);\n color: var(--cipher-text2);\n}\n.badge[data-slot][data-tone=\"solid\"] {\n border-color: var(--cipher-ink);\n background: var(--cipher-ink);\n color: var(--cipher-on-ink);\n}\n.badge[data-slot][data-tone=\"accent\"] {\n border-color: var(--cipher-accent);\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.badge[data-slot][data-tone=\"ok\"] {\n border-color: var(--cipher-ok-line);\n background: var(--cipher-ok-bg);\n color: var(--cipher-ok);\n}\n.badge[data-slot][data-tone=\"warn\"] {\n border-color: var(--cipher-warn-line);\n background: var(--cipher-warn-bg);\n color: var(--cipher-warn);\n}\n.badge[data-slot][data-tone=\"bad\"] {\n border-color: var(--cipher-bad-line);\n background: var(--cipher-bad-bg);\n color: var(--cipher-bad);\n}\n.badge[data-slot][data-tone=\"info\"] {\n border-color: var(--cipher-info-line);\n background: var(--cipher-info-bg);\n color: var(--cipher-info);\n}\n.badgeDot {\n width: 6px;\n height: 6px;\n background: currentColor;\n flex-shrink: 0;\n}\n.steps .step {\n display: flex;\n flex: 1;\n flex-direction: column;\n align-items: flex-start;\n gap: 6px;\n}\n.steps .step::before {\n content: \"\";\n display: block;\n width: 100%;\n height: 6px;\n background: var(--cipher-line-soft);\n}\n.steps .step[data-complete]::before {\n background: var(--cipher-ink);\n}\n.steps .step[data-current]::before {\n background: repeating-linear-gradient(135deg, var(--cipher-ink) 0 2px, var(--cipher-line-soft) 2px 4px);\n}\n.fieldset {\n min-width: 0;\n width: 100%;\n padding: 0;\n border: 0;\n display: flex;\n flex-direction: column;\n gap: 6px;\n}\n.fieldset > legend {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n margin-bottom: 6px;\n}\n.alert[data-tone=\"neutral\"] {\n background: var(--cipher-paper);\n border-color: var(--cipher-line-soft);\n color: var(--cipher-ink);\n}\n.alert[data-tone=\"neutral\"] > svg {\n color: var(--cipher-muted);\n}\n.alert[data-tone=\"info\"] {\n background: var(--cipher-info-bg);\n border-color: var(--cipher-info-line);\n color: var(--cipher-info);\n}\n.alert[data-tone=\"ok\"] {\n background: var(--cipher-ok-bg);\n border-color: var(--cipher-ok-line);\n color: var(--cipher-ok);\n}\n.alert[data-tone=\"warn\"] {\n background: var(--cipher-warn-bg);\n border-color: var(--cipher-warn-line);\n color: var(--cipher-warn);\n}\n.alert[data-tone=\"bad\"] {\n background: var(--cipher-bad-bg);\n border-color: var(--cipher-bad-line);\n color: var(--cipher-bad);\n}\n.alertActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-8);\n padding-top: var(--cipher-space-actions-gap);\n}\n.toastStack {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-8);\n width: max-content;\n max-width: min(var(--cipher-size-toast), 100%);\n}\n.toastStack.toastFixed {\n max-width: min(var(--cipher-size-toast), calc(100vw - 2 * var(--cipher-space-16)));\n}\n.toast {\n border-radius: 0;\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-8);\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-toast-bg, var(--popover));\n color: var(--cipher-ink, var(--foreground));\n box-shadow: var(--cipher-shadow-pop, 0 4px 16px rgb(0 0 0 / 0.12));\n padding: var(--cipher-space-12);\n --cipher-toast-line: var(--cipher-type-row-title-line-height);\n}\n.toast > svg {\n flex: none;\n height: var(--cipher-toast-line);\n}\n.toastBody {\n min-width: 0;\n flex: 1 1 auto;\n}\n.toastTitle,\n.toastDescription {\n overflow-wrap: anywhere;\n}\n.toast > button {\n flex: none;\n margin-block: calc((var(--cipher-toast-line) - var(--cipher-action-height)) / 2);\n}\n.toastActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-4);\n margin-top: var(--cipher-space-8);\n margin-inline-start: calc(-1 * var(--cipher-space-control-inline-sm));\n contain: inline-size;\n}\n.toastActions > button {\n white-space: normal;\n max-width: 100%;\n}\n.avatarShape {\n border-radius: 0;\n}\n.avatarShape::after {\n content: \"\";\n position: absolute;\n inset: 0;\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n mix-blend-mode: var(--cipher-avatar-blend);\n pointer-events: none;\n}\n.avatarShape::after,\n.avatarShape > [data-slot=\"avatar-fallback\"],\n.avatarShape > [data-slot=\"avatar-image\"] {\n border-radius: inherit;\n}\n.avatarShape > [data-slot=\"avatar-fallback\"] {\n font-size: inherit;\n}\n.avatarRing {\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n}\n.avatarGroup {\n display: flex;\n}\n.avatarGroup > [data-slot=\"avatar\"] + [data-slot=\"avatar\"],\n.avatarGroup > * + [data-slot=\"avatar-group-count\"] {\n margin-inline-start: calc(-1 * var(--cipher-space-4));\n}\n.avatarCount {\n border-radius: 0;\n background: var(--cipher-tint);\n color: var(--cipher-muted);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n font-weight: var(--cipher-type-caption-font-weight);\n}\n.avatarStatus {\n position: absolute;\n z-index: 1;\n inset-inline-end: calc(-1 * var(--cipher-space-2));\n bottom: calc(-1 * var(--cipher-space-2));\n width: var(--cipher-space-8);\n height: var(--cipher-space-8);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n background: var(--cipher-faint);\n border-radius: 0;\n}\n\n.fieldLegend {\n font-family: var(--cipher-type-title-sm-font-family);\n font-size: var(--cipher-type-title-sm-font-size);\n line-height: var(--cipher-type-title-sm-line-height);\n font-weight: var(--cipher-type-title-sm-font-weight);\n letter-spacing: var(--cipher-type-title-sm-letter-spacing);\n margin-bottom: var(--cipher-space-field-label);\n}\n.fieldLegend[data-variant=\"legend\"] {\n margin-bottom: var(--cipher-space-field-legend);\n}\n.fieldLegend[data-variant=\"legend\"] + .fieldDescription {\n margin-top: calc(var(--cipher-space-field-label) - var(--cipher-space-field-legend));\n}\n[data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n row-gap: var(--cipher-space-field-legend);\n}\n.fieldGroup > [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) + *,\n.fieldGroup > * + [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n margin-top: calc(var(--cipher-space-content-section) - var(--cipher-space-field-group));\n}\n.fieldLegend[data-variant=\"label\"] {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.alertTitle {\n grid-column: 1;\n grid-row: 1;\n min-width: 0;\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.alertDescription {\n grid-column: 1;\n min-width: 0;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n\n:is(.fieldDescription, .alertDescription) a:not([data-slot]) {\n color: var(--cipher-link);\n text-decoration-line: none;\n text-decoration-thickness: var(--cipher-size-control-border);\n text-underline-offset: var(--cipher-space-3);\n}\n:is(.fieldDescription, .alertDescription) a:not([data-slot]):focus-visible {\n text-decoration-line: underline;\n}\n@media (hover: hover) {\n :is(.fieldDescription, .alertDescription) a:not([data-slot]):hover {\n color: var(--cipher-text2);\n text-decoration-line: underline;\n text-decoration-thickness: var(--cipher-space-2);\n }\n}\n\n.alert {\n position: relative;\n display: grid;\n width: 100%;\n grid-template-columns: minmax(0, 1fr);\n border: 1px solid var(--cipher-line-soft);\n border-radius: 0;\n padding: var(--cipher-space-12);\n gap: var(--cipher-space-4) var(--cipher-space-8);\n overflow-wrap: anywhere;\n text-align: start;\n}\n.alert[data-has-icon] {\n grid-template-columns: auto minmax(0, 1fr);\n}\n.alert > svg {\n grid-column: 1;\n grid-row: 1 / span 2;\n align-self: start;\n transform: translateY(var(--cipher-space-2));\n color: currentColor;\n}\n.alert[data-has-icon]:not([data-has-title]) > svg {\n grid-row: 1;\n transform: translateY(calc(var(--cipher-space-2) / 2));\n}\n.alert[data-has-icon] > :is(.alertTitle, .alertDescription) {\n grid-column: 2;\n}\n.alert[data-has-title] > .alertDescription {\n grid-row: 2;\n}\n.alert[data-has-action] {\n grid-template-columns: minmax(0, 1fr) auto;\n padding-inline-end: var(--cipher-space-12);\n}\n.alert[data-has-icon][data-has-action] {\n grid-template-columns: auto minmax(0, 1fr) auto;\n}\n.alertAction {\n position: static;\n grid-column: -2 / -1;\n grid-row: 1 / span 2;\n align-self: start;\n}\n\n.fieldTitle {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.fieldGroup {\n gap: var(--cipher-space-field-group);\n}\n.field {\n gap: var(--cipher-space-field-label);\n}\n.field:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field);\n}\n.field[data-width=\"wide\"]:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field-wide);\n}\n.field[data-orientation=\"horizontal\"] {\n gap: var(--cipher-space-12);\n}\n" } ] } diff --git a/r/badge.json b/r/badge.json index 4c07fd2d..c6965f72 100644 --- a/r/badge.json +++ b/r/badge.json @@ -27,7 +27,7 @@ "path": "src/components/cipher/ui/helpers.module.css", "type": "registry:file", "target": "src/components/cipher/ui/helpers.module.css", - "content": ".avatarFallback {\n background: var(--cipher-tint);\n color: var(--cipher-ink);\n font-family: var(--cipher-type-label-font-family);\n font-weight: var(--cipher-type-label-font-weight);\n line-height: 1;\n letter-spacing: 0;\n}\n.avatarFallback svg {\n width: 50%;\n height: 50%;\n max-width: var(--cipher-size-icon);\n max-height: var(--cipher-size-icon);\n}\n.count {\n font-family: var(--cipher-type-mono-sm-font-family);\n font-size: var(--cipher-type-mono-sm-font-size);\n line-height: var(--cipher-type-mono-sm-line-height);\n font-weight: var(--cipher-type-mono-sm-font-weight);\n letter-spacing: var(--cipher-type-mono-sm-letter-spacing);\n display: inline-flex;\n min-width: var(--cipher-size-count);\n height: var(--cipher-size-count);\n padding: 0 var(--cipher-space-4);\n align-items: center;\n justify-content: center;\n border-radius: 0;\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.countInk {\n background: var(--cipher-ink);\n color: var(--cipher-surface);\n}\n.countNeutral {\n background: var(--cipher-tint);\n color: var(--cipher-text2);\n}\n.identity {\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n}\n.identityText {\n flex: 1 1 auto;\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n.identityTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.identityDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n color: var(--cipher-text2, var(--muted-foreground));\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mono {\n font-family: var(--cipher-font-mono, monospace);\n}\n.media {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n flex: 0 0 auto;\n color: var(--cipher-ink, var(--foreground));\n background: var(--cipher-surface);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.mediaSmall {\n width: 24px;\n height: 24px;\n}\n.tile {\n display: flex;\n align-items: center;\n gap: 12px;\n width: 100%;\n padding: var(--cipher-space-12);\n text-align: start;\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-surface, var(--background));\n color: var(--cipher-ink, var(--foreground));\n}\n.tile:not([aria-disabled=\"true\"]):hover {\n border-color: var(--cipher-control, var(--border));\n background: var(--cipher-hover);\n}\n.tile[data-in-frame] {\n border-color: transparent;\n background: var(--cipher-tint);\n}\n.tile[data-in-frame]:not([aria-disabled=\"true\"]):hover {\n background: color-mix(in srgb, var(--cipher-mix-ink) var(--cipher-hover-mix), var(--cipher-tint));\n}\n.tile[aria-pressed=\"true\"] {\n border-color: var(--cipher-ink, var(--foreground));\n}\n.tile:disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.tile:focus-visible {\n outline: 2px solid var(--ring, var(--ring));\n outline-offset: 2px;\n}\n.tileBody {\n flex: 1;\n min-width: 0;\n}\n.tile[aria-disabled=\"true\"] {\n cursor: not-allowed;\n}\n.tile[data-layout=\"stacked\"] {\n flex-direction: column;\n align-items: stretch;\n gap: var(--cipher-space-4);\n padding: var(--cipher-space-16);\n}\n.tile[data-layout=\"stacked\"] > .tileBody {\n flex: 1 1 auto;\n}\n.tileTop {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: var(--cipher-space-12);\n min-width: 0;\n margin-bottom: var(--cipher-space-8);\n}\n.tileEyebrow {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--cipher-muted);\n font-family: var(--cipher-type-eyebrow-font-family);\n font-size: var(--cipher-type-eyebrow-font-size);\n line-height: var(--cipher-type-eyebrow-line-height);\n font-weight: var(--cipher-type-eyebrow-font-weight);\n letter-spacing: var(--cipher-type-eyebrow-letter-spacing);\n text-transform: uppercase;\n}\n.tile[aria-disabled=\"true\"] > .tileTop {\n opacity: 0.5;\n}\n.banner {\n display: flex;\n width: 100%;\n align-items: center;\n flex-wrap: wrap;\n gap: 12px;\n border: 1px solid var(--cipher-accent-line);\n background: var(--cipher-accent-wash);\n color: var(--cipher-ink, var(--foreground));\n padding: 10px 16px;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n.banner > svg {\n flex: 0 0 auto;\n color: var(--cipher-accent-fg);\n}\n.bannerText {\n flex: 1;\n min-width: min(100%, 160px);\n}\n.steps {\n display: flex;\n flex-wrap: wrap;\n gap: 12px;\n padding: 0;\n margin: 0;\n list-style: none;\n}\n.step {\n display: flex;\n align-items: center;\n gap: 6px;\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.step[data-current] {\n color: var(--cipher-ink, var(--foreground));\n font-weight: var(--cipher-type-title-sm-font-weight);\n}\n.stepNumber {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n border: 1px solid var(--cipher-line-soft, var(--border));\n}\n.step[data-current] .stepNumber {\n background: repeating-linear-gradient(\n 135deg,\n var(--cipher-tint, var(--muted)) 0 2px,\n transparent 2px 4px\n );\n border-color: var(--cipher-ink, var(--foreground));\n}\n:global(.cipher) {\n --cipher-toast-bottom: var(--cipher-space-action-bar-offset);\n}\n:global(.cipher)[data-action-bar-reserve] {\n --cipher-toast-bottom: calc(var(--cipher-size-action-bar) + 2 * var(--cipher-space-action-bar-offset));\n}\n.toastFixed {\n position: fixed;\n inset-inline-end: var(--cipher-space-16);\n bottom: var(--cipher-toast-bottom);\n z-index: 100;\n transition: bottom var(--cipher-duration-moderate) var(--cipher-ease-standard);\n}\n@media (prefers-reduced-motion: reduce) {\n .toastFixed {\n transition-duration: 0s;\n }\n}\n.toastTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.toastDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin-top: 2px;\n color: var(--cipher-text2, var(--muted-foreground));\n}\n.avatarStatus[data-status=\"ok\"] {\n background: var(--cipher-ok);\n}\n.avatarStatus[data-status=\"warn\"] {\n background: var(--cipher-warn);\n}\n.fieldLabels {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n min-width: 0;\n}\n.fieldLabelRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n min-width: 0;\n}\n.globHelp {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-4);\n}\n.legendRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n width: 100%;\n min-width: 0;\n padding: 0;\n}\n.legendActions {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-8);\n margin-inline-start: auto;\n}\n.fieldHelp {\n margin-block: calc((var(--cipher-type-field-label-line-height) - var(--cipher-size-control-xs)) / 2);\n color: var(--cipher-muted);\n}\n.fieldDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin: 0;\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.fieldError {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-6);\n margin: 0;\n color: var(--cipher-bad);\n}\n.fieldError > svg {\n flex: none;\n margin-block-start: calc((var(--cipher-type-small-line-height) - 14px) / 2);\n}\n.fieldErrorLines {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-2);\n}\n.fieldControl {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n flex: 1;\n min-width: 0;\n}\n.badge {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n height: var(--cipher-size-badge);\n padding: 0 var(--cipher-space-8);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.badge.mono {\n font-family: var(--cipher-type-mono-sm-font-family);\n}\n.badge[data-slot][data-tone] {\n border-color: var(--cipher-line-soft);\n color: var(--cipher-muted);\n background: transparent;\n}\n.badge[data-size=\"sm\"] {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph-sm);\n height: var(--cipher-size-badge-sm);\n padding-inline: var(--cipher-space-6);\n line-height: calc(var(--cipher-size-badge-sm) - 2 * var(--cipher-size-control-border));\n}\n.badge:is([data-size=\"control-sm\"], [data-size=\"control-md\"], [data-size=\"control-lg\"]) {\n --cipher-badge-glyph: var(--cipher-size-icon);\n gap: var(--cipher-space-control-gap);\n font-family: var(--cipher-type-body-font-family);\n font-size: var(--cipher-type-body-font-size);\n line-height: var(--cipher-type-body-line-height);\n font-weight: var(--cipher-type-body-font-weight);\n letter-spacing: var(--cipher-type-body-letter-spacing);\n}\n.badge[data-size=\"control-sm\"] {\n --cipher-badge-glyph: var(--cipher-size-icon-sm);\n height: var(--cipher-size-control-sm);\n padding-inline: var(--cipher-space-control-inline-sm);\n}\n.badge[data-size=\"control-md\"] {\n height: var(--cipher-size-control-md);\n padding-inline: var(--cipher-space-control-inline-md);\n}\n.badge[data-size=\"control-lg\"] {\n height: var(--cipher-size-control-lg);\n padding-inline: var(--cipher-space-control-inline);\n}\n.badge[data-slot][data-tone=\"soft\"] {\n border-color: var(--cipher-line-soft);\n background: var(--cipher-line-soft);\n color: var(--cipher-text2);\n}\n.badge[data-slot][data-tone=\"solid\"] {\n border-color: var(--cipher-ink);\n background: var(--cipher-ink);\n color: var(--cipher-on-ink);\n}\n.badge[data-slot][data-tone=\"accent\"] {\n border-color: var(--cipher-accent);\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.badge[data-slot][data-tone=\"ok\"] {\n border-color: var(--cipher-ok-line);\n background: var(--cipher-ok-bg);\n color: var(--cipher-ok);\n}\n.badge[data-slot][data-tone=\"warn\"] {\n border-color: var(--cipher-warn-line);\n background: var(--cipher-warn-bg);\n color: var(--cipher-warn);\n}\n.badge[data-slot][data-tone=\"bad\"] {\n border-color: var(--cipher-bad-line);\n background: var(--cipher-bad-bg);\n color: var(--cipher-bad);\n}\n.badge[data-slot][data-tone=\"info\"] {\n border-color: var(--cipher-info-line);\n background: var(--cipher-info-bg);\n color: var(--cipher-info);\n}\n.badgeDot {\n width: 6px;\n height: 6px;\n background: currentColor;\n flex-shrink: 0;\n}\n.steps .step {\n display: flex;\n flex: 1;\n flex-direction: column;\n align-items: flex-start;\n gap: 6px;\n}\n.steps .step::before {\n content: \"\";\n display: block;\n width: 100%;\n height: 6px;\n background: var(--cipher-line-soft);\n}\n.steps .step[data-complete]::before {\n background: var(--cipher-ink);\n}\n.steps .step[data-current]::before {\n background: repeating-linear-gradient(135deg, var(--cipher-ink) 0 2px, var(--cipher-line-soft) 2px 4px);\n}\n.fieldset {\n min-width: 0;\n width: 100%;\n padding: 0;\n border: 0;\n display: flex;\n flex-direction: column;\n gap: 6px;\n}\n.fieldset > legend {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n margin-bottom: 6px;\n}\n.alert[data-tone=\"neutral\"] {\n background: var(--cipher-paper);\n border-color: var(--cipher-line-soft);\n color: var(--cipher-ink);\n}\n.alert[data-tone=\"neutral\"] > svg {\n color: var(--cipher-muted);\n}\n.alert[data-tone=\"info\"] {\n background: var(--cipher-info-bg);\n border-color: var(--cipher-info-line);\n color: var(--cipher-info);\n}\n.alert[data-tone=\"ok\"] {\n background: var(--cipher-ok-bg);\n border-color: var(--cipher-ok-line);\n color: var(--cipher-ok);\n}\n.alert[data-tone=\"warn\"] {\n background: var(--cipher-warn-bg);\n border-color: var(--cipher-warn-line);\n color: var(--cipher-warn);\n}\n.alert[data-tone=\"bad\"] {\n background: var(--cipher-bad-bg);\n border-color: var(--cipher-bad-line);\n color: var(--cipher-bad);\n}\n.alertActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-8);\n padding-top: var(--cipher-space-actions-gap);\n}\n.toastStack {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-8);\n width: max-content;\n max-width: min(var(--cipher-size-toast), 100%);\n}\n.toastStack.toastFixed {\n max-width: min(var(--cipher-size-toast), calc(100vw - 2 * var(--cipher-space-16)));\n}\n.toast {\n border-radius: 0;\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-8);\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-toast-bg, var(--popover));\n color: var(--cipher-ink, var(--foreground));\n box-shadow: var(--cipher-shadow-pop, 0 4px 16px rgb(0 0 0 / 0.12));\n padding: var(--cipher-space-12);\n --cipher-toast-line: var(--cipher-type-row-title-line-height);\n}\n.toast > svg {\n flex: none;\n height: var(--cipher-toast-line);\n}\n.toastBody {\n min-width: 0;\n flex: 1 1 auto;\n}\n.toastTitle,\n.toastDescription {\n overflow-wrap: anywhere;\n}\n.toast > button {\n flex: none;\n margin-block: calc((var(--cipher-toast-line) - var(--cipher-action-height)) / 2);\n}\n.toastActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-4);\n margin-top: var(--cipher-space-8);\n margin-inline-start: calc(-1 * var(--cipher-space-control-inline-sm));\n contain: inline-size;\n}\n.toastActions > button {\n white-space: normal;\n max-width: 100%;\n}\n.avatarShape {\n border-radius: 0;\n}\n.avatarShape::after {\n content: \"\";\n position: absolute;\n inset: 0;\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n mix-blend-mode: var(--cipher-avatar-blend);\n pointer-events: none;\n}\n.avatarShape::after,\n.avatarShape > [data-slot=\"avatar-fallback\"],\n.avatarShape > [data-slot=\"avatar-image\"] {\n border-radius: inherit;\n}\n.avatarShape > [data-slot=\"avatar-fallback\"] {\n font-size: inherit;\n}\n.avatarRing {\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n}\n.avatarGroup {\n display: flex;\n}\n.avatarGroup > [data-slot=\"avatar\"] + [data-slot=\"avatar\"],\n.avatarGroup > * + [data-slot=\"avatar-group-count\"] {\n margin-inline-start: calc(-1 * var(--cipher-space-4));\n}\n.avatarCount {\n border-radius: 0;\n background: var(--cipher-tint);\n color: var(--cipher-muted);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n font-weight: var(--cipher-type-caption-font-weight);\n}\n.avatarStatus {\n position: absolute;\n z-index: 1;\n inset-inline-end: calc(-1 * var(--cipher-space-2));\n bottom: calc(-1 * var(--cipher-space-2));\n width: var(--cipher-space-8);\n height: var(--cipher-space-8);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n background: var(--cipher-faint);\n border-radius: 0;\n}\n\n.fieldLegend {\n font-family: var(--cipher-type-title-sm-font-family);\n font-size: var(--cipher-type-title-sm-font-size);\n line-height: var(--cipher-type-title-sm-line-height);\n font-weight: var(--cipher-type-title-sm-font-weight);\n letter-spacing: var(--cipher-type-title-sm-letter-spacing);\n margin-bottom: var(--cipher-space-field-label);\n}\n.fieldLegend[data-variant=\"legend\"] {\n margin-bottom: var(--cipher-space-field-legend);\n}\n.fieldLegend[data-variant=\"legend\"] + .fieldDescription {\n margin-top: calc(var(--cipher-space-field-label) - var(--cipher-space-field-legend));\n}\n[data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n row-gap: var(--cipher-space-field-legend);\n}\n.fieldGroup > [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) + *,\n.fieldGroup > * + [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n margin-top: calc(var(--cipher-space-content-section) - var(--cipher-space-field-group));\n}\n.fieldLegend[data-variant=\"label\"] {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.alertTitle {\n grid-column: 1;\n grid-row: 1;\n min-width: 0;\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.alertDescription {\n grid-column: 1;\n min-width: 0;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n\n:is(.fieldDescription, .alertDescription) a:not([data-slot]) {\n color: var(--cipher-link);\n text-decoration-line: none;\n text-decoration-thickness: var(--cipher-size-control-border);\n text-underline-offset: var(--cipher-space-3);\n}\n:is(.fieldDescription, .alertDescription) a:not([data-slot]):focus-visible {\n text-decoration-line: underline;\n}\n@media (hover: hover) {\n :is(.fieldDescription, .alertDescription) a:not([data-slot]):hover {\n color: var(--cipher-text2);\n text-decoration-line: underline;\n text-decoration-thickness: var(--cipher-space-2);\n }\n}\n\n.alert {\n position: relative;\n display: grid;\n width: 100%;\n grid-template-columns: minmax(0, 1fr);\n border: 1px solid var(--cipher-line-soft);\n border-radius: 0;\n padding: var(--cipher-space-12);\n gap: var(--cipher-space-4) var(--cipher-space-8);\n overflow-wrap: anywhere;\n text-align: start;\n}\n.alert[data-has-icon] {\n grid-template-columns: auto minmax(0, 1fr);\n}\n.alert > svg {\n grid-column: 1;\n grid-row: 1 / span 2;\n align-self: start;\n transform: translateY(var(--cipher-space-2));\n color: currentColor;\n}\n.alert[data-has-icon]:not([data-has-title]) > svg {\n grid-row: 1;\n transform: translateY(calc(var(--cipher-space-2) / 2));\n}\n.alert[data-has-icon] > :is(.alertTitle, .alertDescription) {\n grid-column: 2;\n}\n.alert[data-has-title] > .alertDescription {\n grid-row: 2;\n}\n.alert[data-has-action] {\n grid-template-columns: minmax(0, 1fr) auto;\n padding-inline-end: var(--cipher-space-12);\n}\n.alert[data-has-icon][data-has-action] {\n grid-template-columns: auto minmax(0, 1fr) auto;\n}\n.alertAction {\n position: static;\n grid-column: -2 / -1;\n grid-row: 1 / span 2;\n align-self: start;\n}\n\n.fieldTitle {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.fieldGroup {\n gap: var(--cipher-space-field-group);\n}\n.field {\n gap: var(--cipher-space-field-label);\n}\n.field:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field);\n}\n.field[data-width=\"wide\"]:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field-wide);\n}\n.field[data-orientation=\"horizontal\"] {\n gap: var(--cipher-space-12);\n}\n" + "content": ".avatarFallback {\n background: var(--cipher-tint);\n color: var(--cipher-ink);\n font-family: var(--cipher-type-label-font-family);\n font-weight: var(--cipher-type-label-font-weight);\n line-height: 1;\n letter-spacing: 0;\n}\n.avatarFallback svg {\n width: 50%;\n height: 50%;\n max-width: var(--cipher-size-icon);\n max-height: var(--cipher-size-icon);\n}\n.count {\n font-family: var(--cipher-type-mono-sm-font-family);\n font-size: var(--cipher-type-mono-sm-font-size);\n line-height: var(--cipher-type-mono-sm-line-height);\n font-weight: var(--cipher-type-mono-sm-font-weight);\n letter-spacing: var(--cipher-type-mono-sm-letter-spacing);\n display: inline-flex;\n min-width: var(--cipher-size-count);\n height: var(--cipher-size-count);\n padding: 0 var(--cipher-space-4);\n align-items: center;\n justify-content: center;\n border-radius: 0;\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.countInk {\n background: var(--cipher-ink);\n color: var(--cipher-surface);\n}\n.countNeutral {\n background: var(--cipher-tint);\n color: var(--cipher-text2);\n}\n.identity {\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n}\n.identityText {\n flex: 1 1 auto;\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n.identityTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.identityDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n color: var(--cipher-text2, var(--muted-foreground));\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mono {\n font-family: var(--cipher-font-mono, monospace);\n}\n.media {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n flex: 0 0 auto;\n color: var(--cipher-ink, var(--foreground));\n background: var(--cipher-surface);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.mediaSmall {\n width: 24px;\n height: 24px;\n}\n.tile {\n display: flex;\n box-sizing: border-box;\n text-decoration: none;\n align-items: center;\n gap: 12px;\n width: 100%;\n padding: var(--cipher-space-12);\n text-align: start;\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-surface, var(--background));\n color: var(--cipher-ink, var(--foreground));\n}\n.tile:not([aria-disabled=\"true\"]):hover {\n border-color: var(--cipher-control, var(--border));\n background: var(--cipher-hover);\n}\n.tile[data-in-frame] {\n border-color: transparent;\n background: var(--cipher-tint);\n}\n.tile[data-in-frame]:not([aria-disabled=\"true\"]):hover {\n background: color-mix(in srgb, var(--cipher-mix-ink) var(--cipher-hover-mix), var(--cipher-tint));\n}\n.tile[aria-pressed=\"true\"],\n.tile[aria-current=\"page\"] {\n border-color: var(--cipher-ink, var(--foreground));\n}\n.tile:disabled,\n.tile[data-disabled] {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.tile:focus-visible {\n outline: 2px solid var(--ring, var(--ring));\n outline-offset: 2px;\n}\n.tileBody {\n flex: 1;\n min-width: 0;\n}\n.tile[aria-disabled=\"true\"] {\n cursor: not-allowed;\n}\n.tile[data-layout=\"stacked\"] {\n flex-direction: column;\n align-items: stretch;\n gap: var(--cipher-space-4);\n padding: var(--cipher-space-16);\n}\n.tile[data-layout=\"stacked\"] > .tileBody {\n flex: 1 1 auto;\n}\n.tileTop {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: var(--cipher-space-12);\n min-width: 0;\n margin-bottom: var(--cipher-space-8);\n}\n.tileAside {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-8);\n min-width: 0;\n margin-inline-start: auto;\n color: var(--cipher-muted);\n}\n.tileAside > :not(.tileEyebrow) {\n flex: none;\n}\n.tileEyebrow {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--cipher-muted);\n font-family: var(--cipher-type-eyebrow-font-family);\n font-size: var(--cipher-type-eyebrow-font-size);\n line-height: var(--cipher-type-eyebrow-line-height);\n font-weight: var(--cipher-type-eyebrow-font-weight);\n letter-spacing: var(--cipher-type-eyebrow-letter-spacing);\n text-transform: uppercase;\n}\n.tile[aria-disabled=\"true\"]:not([data-disabled]) > .tileTop {\n opacity: 0.5;\n}\n.banner {\n display: flex;\n width: 100%;\n align-items: center;\n flex-wrap: wrap;\n gap: 12px;\n border: 1px solid var(--cipher-accent-line);\n background: var(--cipher-accent-wash);\n color: var(--cipher-ink, var(--foreground));\n padding: 10px 16px;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n.banner > svg {\n flex: 0 0 auto;\n color: var(--cipher-accent-fg);\n}\n.bannerText {\n flex: 1;\n min-width: min(100%, 160px);\n}\n.steps {\n display: flex;\n flex-wrap: wrap;\n gap: 12px;\n padding: 0;\n margin: 0;\n list-style: none;\n}\n.step {\n display: flex;\n align-items: center;\n gap: 6px;\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.step[data-current] {\n color: var(--cipher-ink, var(--foreground));\n font-weight: var(--cipher-type-title-sm-font-weight);\n}\n.stepNumber {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n border: 1px solid var(--cipher-line-soft, var(--border));\n}\n.step[data-current] .stepNumber {\n background: repeating-linear-gradient(\n 135deg,\n var(--cipher-tint, var(--muted)) 0 2px,\n transparent 2px 4px\n );\n border-color: var(--cipher-ink, var(--foreground));\n}\n:global(.cipher) {\n --cipher-toast-bottom: var(--cipher-space-action-bar-offset);\n}\n:global(.cipher)[data-action-bar-reserve] {\n --cipher-toast-bottom: calc(var(--cipher-size-action-bar) + 2 * var(--cipher-space-action-bar-offset));\n}\n.toastFixed {\n position: fixed;\n inset-inline-end: var(--cipher-space-16);\n bottom: var(--cipher-toast-bottom);\n z-index: 100;\n transition: bottom var(--cipher-duration-moderate) var(--cipher-ease-standard);\n}\n@media (prefers-reduced-motion: reduce) {\n .toastFixed {\n transition-duration: 0s;\n }\n}\n.toastTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.toastDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin-top: 2px;\n color: var(--cipher-text2, var(--muted-foreground));\n}\n.avatarStatus[data-status=\"ok\"] {\n background: var(--cipher-ok);\n}\n.avatarStatus[data-status=\"warn\"] {\n background: var(--cipher-warn);\n}\n.fieldLabels {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n min-width: 0;\n}\n.fieldLabelRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n min-width: 0;\n}\n.globHelp {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-4);\n}\n.legendRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n width: 100%;\n min-width: 0;\n padding: 0;\n}\n.legendActions {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-8);\n margin-inline-start: auto;\n}\n.fieldHelp {\n margin-block: calc((var(--cipher-type-field-label-line-height) - var(--cipher-size-control-xs)) / 2);\n color: var(--cipher-muted);\n}\n.fieldDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin: 0;\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.fieldError {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-6);\n margin: 0;\n color: var(--cipher-bad);\n}\n.fieldError > svg {\n flex: none;\n margin-block-start: calc((var(--cipher-type-small-line-height) - 14px) / 2);\n}\n.fieldErrorLines {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-2);\n}\n.fieldControl {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n flex: 1;\n min-width: 0;\n}\n.badge {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n height: var(--cipher-size-badge);\n padding: 0 var(--cipher-space-8);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.badge.mono {\n font-family: var(--cipher-type-mono-sm-font-family);\n}\n.badge[data-slot][data-tone] {\n border-color: var(--cipher-line-soft);\n color: var(--cipher-muted);\n background: transparent;\n}\n.badge[data-size=\"sm\"] {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph-sm);\n height: var(--cipher-size-badge-sm);\n padding-inline: var(--cipher-space-6);\n line-height: calc(var(--cipher-size-badge-sm) - 2 * var(--cipher-size-control-border));\n}\n.badge:is([data-size=\"control-sm\"], [data-size=\"control-md\"], [data-size=\"control-lg\"]) {\n --cipher-badge-glyph: var(--cipher-size-icon);\n gap: var(--cipher-space-control-gap);\n font-family: var(--cipher-type-body-font-family);\n font-size: var(--cipher-type-body-font-size);\n line-height: var(--cipher-type-body-line-height);\n font-weight: var(--cipher-type-body-font-weight);\n letter-spacing: var(--cipher-type-body-letter-spacing);\n}\n.badge[data-size=\"control-sm\"] {\n --cipher-badge-glyph: var(--cipher-size-icon-sm);\n height: var(--cipher-size-control-sm);\n padding-inline: var(--cipher-space-control-inline-sm);\n}\n.badge[data-size=\"control-md\"] {\n height: var(--cipher-size-control-md);\n padding-inline: var(--cipher-space-control-inline-md);\n}\n.badge[data-size=\"control-lg\"] {\n height: var(--cipher-size-control-lg);\n padding-inline: var(--cipher-space-control-inline);\n}\n.badge[data-slot][data-tone=\"soft\"] {\n border-color: var(--cipher-line-soft);\n background: var(--cipher-line-soft);\n color: var(--cipher-text2);\n}\n.badge[data-slot][data-tone=\"solid\"] {\n border-color: var(--cipher-ink);\n background: var(--cipher-ink);\n color: var(--cipher-on-ink);\n}\n.badge[data-slot][data-tone=\"accent\"] {\n border-color: var(--cipher-accent);\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.badge[data-slot][data-tone=\"ok\"] {\n border-color: var(--cipher-ok-line);\n background: var(--cipher-ok-bg);\n color: var(--cipher-ok);\n}\n.badge[data-slot][data-tone=\"warn\"] {\n border-color: var(--cipher-warn-line);\n background: var(--cipher-warn-bg);\n color: var(--cipher-warn);\n}\n.badge[data-slot][data-tone=\"bad\"] {\n border-color: var(--cipher-bad-line);\n background: var(--cipher-bad-bg);\n color: var(--cipher-bad);\n}\n.badge[data-slot][data-tone=\"info\"] {\n border-color: var(--cipher-info-line);\n background: var(--cipher-info-bg);\n color: var(--cipher-info);\n}\n.badgeDot {\n width: 6px;\n height: 6px;\n background: currentColor;\n flex-shrink: 0;\n}\n.steps .step {\n display: flex;\n flex: 1;\n flex-direction: column;\n align-items: flex-start;\n gap: 6px;\n}\n.steps .step::before {\n content: \"\";\n display: block;\n width: 100%;\n height: 6px;\n background: var(--cipher-line-soft);\n}\n.steps .step[data-complete]::before {\n background: var(--cipher-ink);\n}\n.steps .step[data-current]::before {\n background: repeating-linear-gradient(135deg, var(--cipher-ink) 0 2px, var(--cipher-line-soft) 2px 4px);\n}\n.fieldset {\n min-width: 0;\n width: 100%;\n padding: 0;\n border: 0;\n display: flex;\n flex-direction: column;\n gap: 6px;\n}\n.fieldset > legend {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n margin-bottom: 6px;\n}\n.alert[data-tone=\"neutral\"] {\n background: var(--cipher-paper);\n border-color: var(--cipher-line-soft);\n color: var(--cipher-ink);\n}\n.alert[data-tone=\"neutral\"] > svg {\n color: var(--cipher-muted);\n}\n.alert[data-tone=\"info\"] {\n background: var(--cipher-info-bg);\n border-color: var(--cipher-info-line);\n color: var(--cipher-info);\n}\n.alert[data-tone=\"ok\"] {\n background: var(--cipher-ok-bg);\n border-color: var(--cipher-ok-line);\n color: var(--cipher-ok);\n}\n.alert[data-tone=\"warn\"] {\n background: var(--cipher-warn-bg);\n border-color: var(--cipher-warn-line);\n color: var(--cipher-warn);\n}\n.alert[data-tone=\"bad\"] {\n background: var(--cipher-bad-bg);\n border-color: var(--cipher-bad-line);\n color: var(--cipher-bad);\n}\n.alertActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-8);\n padding-top: var(--cipher-space-actions-gap);\n}\n.toastStack {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-8);\n width: max-content;\n max-width: min(var(--cipher-size-toast), 100%);\n}\n.toastStack.toastFixed {\n max-width: min(var(--cipher-size-toast), calc(100vw - 2 * var(--cipher-space-16)));\n}\n.toast {\n border-radius: 0;\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-8);\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-toast-bg, var(--popover));\n color: var(--cipher-ink, var(--foreground));\n box-shadow: var(--cipher-shadow-pop, 0 4px 16px rgb(0 0 0 / 0.12));\n padding: var(--cipher-space-12);\n --cipher-toast-line: var(--cipher-type-row-title-line-height);\n}\n.toast > svg {\n flex: none;\n height: var(--cipher-toast-line);\n}\n.toastBody {\n min-width: 0;\n flex: 1 1 auto;\n}\n.toastTitle,\n.toastDescription {\n overflow-wrap: anywhere;\n}\n.toast > button {\n flex: none;\n margin-block: calc((var(--cipher-toast-line) - var(--cipher-action-height)) / 2);\n}\n.toastActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-4);\n margin-top: var(--cipher-space-8);\n margin-inline-start: calc(-1 * var(--cipher-space-control-inline-sm));\n contain: inline-size;\n}\n.toastActions > button {\n white-space: normal;\n max-width: 100%;\n}\n.avatarShape {\n border-radius: 0;\n}\n.avatarShape::after {\n content: \"\";\n position: absolute;\n inset: 0;\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n mix-blend-mode: var(--cipher-avatar-blend);\n pointer-events: none;\n}\n.avatarShape::after,\n.avatarShape > [data-slot=\"avatar-fallback\"],\n.avatarShape > [data-slot=\"avatar-image\"] {\n border-radius: inherit;\n}\n.avatarShape > [data-slot=\"avatar-fallback\"] {\n font-size: inherit;\n}\n.avatarRing {\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n}\n.avatarGroup {\n display: flex;\n}\n.avatarGroup > [data-slot=\"avatar\"] + [data-slot=\"avatar\"],\n.avatarGroup > * + [data-slot=\"avatar-group-count\"] {\n margin-inline-start: calc(-1 * var(--cipher-space-4));\n}\n.avatarCount {\n border-radius: 0;\n background: var(--cipher-tint);\n color: var(--cipher-muted);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n font-weight: var(--cipher-type-caption-font-weight);\n}\n.avatarStatus {\n position: absolute;\n z-index: 1;\n inset-inline-end: calc(-1 * var(--cipher-space-2));\n bottom: calc(-1 * var(--cipher-space-2));\n width: var(--cipher-space-8);\n height: var(--cipher-space-8);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n background: var(--cipher-faint);\n border-radius: 0;\n}\n\n.fieldLegend {\n font-family: var(--cipher-type-title-sm-font-family);\n font-size: var(--cipher-type-title-sm-font-size);\n line-height: var(--cipher-type-title-sm-line-height);\n font-weight: var(--cipher-type-title-sm-font-weight);\n letter-spacing: var(--cipher-type-title-sm-letter-spacing);\n margin-bottom: var(--cipher-space-field-label);\n}\n.fieldLegend[data-variant=\"legend\"] {\n margin-bottom: var(--cipher-space-field-legend);\n}\n.fieldLegend[data-variant=\"legend\"] + .fieldDescription {\n margin-top: calc(var(--cipher-space-field-label) - var(--cipher-space-field-legend));\n}\n[data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n row-gap: var(--cipher-space-field-legend);\n}\n.fieldGroup > [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) + *,\n.fieldGroup > * + [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n margin-top: calc(var(--cipher-space-content-section) - var(--cipher-space-field-group));\n}\n.fieldLegend[data-variant=\"label\"] {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.alertTitle {\n grid-column: 1;\n grid-row: 1;\n min-width: 0;\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.alertDescription {\n grid-column: 1;\n min-width: 0;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n\n:is(.fieldDescription, .alertDescription) a:not([data-slot]) {\n color: var(--cipher-link);\n text-decoration-line: none;\n text-decoration-thickness: var(--cipher-size-control-border);\n text-underline-offset: var(--cipher-space-3);\n}\n:is(.fieldDescription, .alertDescription) a:not([data-slot]):focus-visible {\n text-decoration-line: underline;\n}\n@media (hover: hover) {\n :is(.fieldDescription, .alertDescription) a:not([data-slot]):hover {\n color: var(--cipher-text2);\n text-decoration-line: underline;\n text-decoration-thickness: var(--cipher-space-2);\n }\n}\n\n.alert {\n position: relative;\n display: grid;\n width: 100%;\n grid-template-columns: minmax(0, 1fr);\n border: 1px solid var(--cipher-line-soft);\n border-radius: 0;\n padding: var(--cipher-space-12);\n gap: var(--cipher-space-4) var(--cipher-space-8);\n overflow-wrap: anywhere;\n text-align: start;\n}\n.alert[data-has-icon] {\n grid-template-columns: auto minmax(0, 1fr);\n}\n.alert > svg {\n grid-column: 1;\n grid-row: 1 / span 2;\n align-self: start;\n transform: translateY(var(--cipher-space-2));\n color: currentColor;\n}\n.alert[data-has-icon]:not([data-has-title]) > svg {\n grid-row: 1;\n transform: translateY(calc(var(--cipher-space-2) / 2));\n}\n.alert[data-has-icon] > :is(.alertTitle, .alertDescription) {\n grid-column: 2;\n}\n.alert[data-has-title] > .alertDescription {\n grid-row: 2;\n}\n.alert[data-has-action] {\n grid-template-columns: minmax(0, 1fr) auto;\n padding-inline-end: var(--cipher-space-12);\n}\n.alert[data-has-icon][data-has-action] {\n grid-template-columns: auto minmax(0, 1fr) auto;\n}\n.alertAction {\n position: static;\n grid-column: -2 / -1;\n grid-row: 1 / span 2;\n align-self: start;\n}\n\n.fieldTitle {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.fieldGroup {\n gap: var(--cipher-space-field-group);\n}\n.field {\n gap: var(--cipher-space-field-label);\n}\n.field:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field);\n}\n.field[data-width=\"wide\"]:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field-wide);\n}\n.field[data-orientation=\"horizontal\"] {\n gap: var(--cipher-space-12);\n}\n" } ] } diff --git a/r/field.json b/r/field.json index 6a24db7c..e9807c97 100644 --- a/r/field.json +++ b/r/field.json @@ -24,7 +24,7 @@ "path": "src/components/cipher/ui/helpers.module.css", "type": "registry:file", "target": "src/components/cipher/ui/helpers.module.css", - "content": ".avatarFallback {\n background: var(--cipher-tint);\n color: var(--cipher-ink);\n font-family: var(--cipher-type-label-font-family);\n font-weight: var(--cipher-type-label-font-weight);\n line-height: 1;\n letter-spacing: 0;\n}\n.avatarFallback svg {\n width: 50%;\n height: 50%;\n max-width: var(--cipher-size-icon);\n max-height: var(--cipher-size-icon);\n}\n.count {\n font-family: var(--cipher-type-mono-sm-font-family);\n font-size: var(--cipher-type-mono-sm-font-size);\n line-height: var(--cipher-type-mono-sm-line-height);\n font-weight: var(--cipher-type-mono-sm-font-weight);\n letter-spacing: var(--cipher-type-mono-sm-letter-spacing);\n display: inline-flex;\n min-width: var(--cipher-size-count);\n height: var(--cipher-size-count);\n padding: 0 var(--cipher-space-4);\n align-items: center;\n justify-content: center;\n border-radius: 0;\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.countInk {\n background: var(--cipher-ink);\n color: var(--cipher-surface);\n}\n.countNeutral {\n background: var(--cipher-tint);\n color: var(--cipher-text2);\n}\n.identity {\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n}\n.identityText {\n flex: 1 1 auto;\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n.identityTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.identityDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n color: var(--cipher-text2, var(--muted-foreground));\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mono {\n font-family: var(--cipher-font-mono, monospace);\n}\n.media {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n flex: 0 0 auto;\n color: var(--cipher-ink, var(--foreground));\n background: var(--cipher-surface);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.mediaSmall {\n width: 24px;\n height: 24px;\n}\n.tile {\n display: flex;\n align-items: center;\n gap: 12px;\n width: 100%;\n padding: var(--cipher-space-12);\n text-align: start;\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-surface, var(--background));\n color: var(--cipher-ink, var(--foreground));\n}\n.tile:not([aria-disabled=\"true\"]):hover {\n border-color: var(--cipher-control, var(--border));\n background: var(--cipher-hover);\n}\n.tile[data-in-frame] {\n border-color: transparent;\n background: var(--cipher-tint);\n}\n.tile[data-in-frame]:not([aria-disabled=\"true\"]):hover {\n background: color-mix(in srgb, var(--cipher-mix-ink) var(--cipher-hover-mix), var(--cipher-tint));\n}\n.tile[aria-pressed=\"true\"] {\n border-color: var(--cipher-ink, var(--foreground));\n}\n.tile:disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.tile:focus-visible {\n outline: 2px solid var(--ring, var(--ring));\n outline-offset: 2px;\n}\n.tileBody {\n flex: 1;\n min-width: 0;\n}\n.tile[aria-disabled=\"true\"] {\n cursor: not-allowed;\n}\n.tile[data-layout=\"stacked\"] {\n flex-direction: column;\n align-items: stretch;\n gap: var(--cipher-space-4);\n padding: var(--cipher-space-16);\n}\n.tile[data-layout=\"stacked\"] > .tileBody {\n flex: 1 1 auto;\n}\n.tileTop {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: var(--cipher-space-12);\n min-width: 0;\n margin-bottom: var(--cipher-space-8);\n}\n.tileEyebrow {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--cipher-muted);\n font-family: var(--cipher-type-eyebrow-font-family);\n font-size: var(--cipher-type-eyebrow-font-size);\n line-height: var(--cipher-type-eyebrow-line-height);\n font-weight: var(--cipher-type-eyebrow-font-weight);\n letter-spacing: var(--cipher-type-eyebrow-letter-spacing);\n text-transform: uppercase;\n}\n.tile[aria-disabled=\"true\"] > .tileTop {\n opacity: 0.5;\n}\n.banner {\n display: flex;\n width: 100%;\n align-items: center;\n flex-wrap: wrap;\n gap: 12px;\n border: 1px solid var(--cipher-accent-line);\n background: var(--cipher-accent-wash);\n color: var(--cipher-ink, var(--foreground));\n padding: 10px 16px;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n.banner > svg {\n flex: 0 0 auto;\n color: var(--cipher-accent-fg);\n}\n.bannerText {\n flex: 1;\n min-width: min(100%, 160px);\n}\n.steps {\n display: flex;\n flex-wrap: wrap;\n gap: 12px;\n padding: 0;\n margin: 0;\n list-style: none;\n}\n.step {\n display: flex;\n align-items: center;\n gap: 6px;\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.step[data-current] {\n color: var(--cipher-ink, var(--foreground));\n font-weight: var(--cipher-type-title-sm-font-weight);\n}\n.stepNumber {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n border: 1px solid var(--cipher-line-soft, var(--border));\n}\n.step[data-current] .stepNumber {\n background: repeating-linear-gradient(\n 135deg,\n var(--cipher-tint, var(--muted)) 0 2px,\n transparent 2px 4px\n );\n border-color: var(--cipher-ink, var(--foreground));\n}\n:global(.cipher) {\n --cipher-toast-bottom: var(--cipher-space-action-bar-offset);\n}\n:global(.cipher)[data-action-bar-reserve] {\n --cipher-toast-bottom: calc(var(--cipher-size-action-bar) + 2 * var(--cipher-space-action-bar-offset));\n}\n.toastFixed {\n position: fixed;\n inset-inline-end: var(--cipher-space-16);\n bottom: var(--cipher-toast-bottom);\n z-index: 100;\n transition: bottom var(--cipher-duration-moderate) var(--cipher-ease-standard);\n}\n@media (prefers-reduced-motion: reduce) {\n .toastFixed {\n transition-duration: 0s;\n }\n}\n.toastTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.toastDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin-top: 2px;\n color: var(--cipher-text2, var(--muted-foreground));\n}\n.avatarStatus[data-status=\"ok\"] {\n background: var(--cipher-ok);\n}\n.avatarStatus[data-status=\"warn\"] {\n background: var(--cipher-warn);\n}\n.fieldLabels {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n min-width: 0;\n}\n.fieldLabelRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n min-width: 0;\n}\n.globHelp {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-4);\n}\n.legendRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n width: 100%;\n min-width: 0;\n padding: 0;\n}\n.legendActions {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-8);\n margin-inline-start: auto;\n}\n.fieldHelp {\n margin-block: calc((var(--cipher-type-field-label-line-height) - var(--cipher-size-control-xs)) / 2);\n color: var(--cipher-muted);\n}\n.fieldDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin: 0;\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.fieldError {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-6);\n margin: 0;\n color: var(--cipher-bad);\n}\n.fieldError > svg {\n flex: none;\n margin-block-start: calc((var(--cipher-type-small-line-height) - 14px) / 2);\n}\n.fieldErrorLines {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-2);\n}\n.fieldControl {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n flex: 1;\n min-width: 0;\n}\n.badge {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n height: var(--cipher-size-badge);\n padding: 0 var(--cipher-space-8);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.badge.mono {\n font-family: var(--cipher-type-mono-sm-font-family);\n}\n.badge[data-slot][data-tone] {\n border-color: var(--cipher-line-soft);\n color: var(--cipher-muted);\n background: transparent;\n}\n.badge[data-size=\"sm\"] {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph-sm);\n height: var(--cipher-size-badge-sm);\n padding-inline: var(--cipher-space-6);\n line-height: calc(var(--cipher-size-badge-sm) - 2 * var(--cipher-size-control-border));\n}\n.badge:is([data-size=\"control-sm\"], [data-size=\"control-md\"], [data-size=\"control-lg\"]) {\n --cipher-badge-glyph: var(--cipher-size-icon);\n gap: var(--cipher-space-control-gap);\n font-family: var(--cipher-type-body-font-family);\n font-size: var(--cipher-type-body-font-size);\n line-height: var(--cipher-type-body-line-height);\n font-weight: var(--cipher-type-body-font-weight);\n letter-spacing: var(--cipher-type-body-letter-spacing);\n}\n.badge[data-size=\"control-sm\"] {\n --cipher-badge-glyph: var(--cipher-size-icon-sm);\n height: var(--cipher-size-control-sm);\n padding-inline: var(--cipher-space-control-inline-sm);\n}\n.badge[data-size=\"control-md\"] {\n height: var(--cipher-size-control-md);\n padding-inline: var(--cipher-space-control-inline-md);\n}\n.badge[data-size=\"control-lg\"] {\n height: var(--cipher-size-control-lg);\n padding-inline: var(--cipher-space-control-inline);\n}\n.badge[data-slot][data-tone=\"soft\"] {\n border-color: var(--cipher-line-soft);\n background: var(--cipher-line-soft);\n color: var(--cipher-text2);\n}\n.badge[data-slot][data-tone=\"solid\"] {\n border-color: var(--cipher-ink);\n background: var(--cipher-ink);\n color: var(--cipher-on-ink);\n}\n.badge[data-slot][data-tone=\"accent\"] {\n border-color: var(--cipher-accent);\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.badge[data-slot][data-tone=\"ok\"] {\n border-color: var(--cipher-ok-line);\n background: var(--cipher-ok-bg);\n color: var(--cipher-ok);\n}\n.badge[data-slot][data-tone=\"warn\"] {\n border-color: var(--cipher-warn-line);\n background: var(--cipher-warn-bg);\n color: var(--cipher-warn);\n}\n.badge[data-slot][data-tone=\"bad\"] {\n border-color: var(--cipher-bad-line);\n background: var(--cipher-bad-bg);\n color: var(--cipher-bad);\n}\n.badge[data-slot][data-tone=\"info\"] {\n border-color: var(--cipher-info-line);\n background: var(--cipher-info-bg);\n color: var(--cipher-info);\n}\n.badgeDot {\n width: 6px;\n height: 6px;\n background: currentColor;\n flex-shrink: 0;\n}\n.steps .step {\n display: flex;\n flex: 1;\n flex-direction: column;\n align-items: flex-start;\n gap: 6px;\n}\n.steps .step::before {\n content: \"\";\n display: block;\n width: 100%;\n height: 6px;\n background: var(--cipher-line-soft);\n}\n.steps .step[data-complete]::before {\n background: var(--cipher-ink);\n}\n.steps .step[data-current]::before {\n background: repeating-linear-gradient(135deg, var(--cipher-ink) 0 2px, var(--cipher-line-soft) 2px 4px);\n}\n.fieldset {\n min-width: 0;\n width: 100%;\n padding: 0;\n border: 0;\n display: flex;\n flex-direction: column;\n gap: 6px;\n}\n.fieldset > legend {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n margin-bottom: 6px;\n}\n.alert[data-tone=\"neutral\"] {\n background: var(--cipher-paper);\n border-color: var(--cipher-line-soft);\n color: var(--cipher-ink);\n}\n.alert[data-tone=\"neutral\"] > svg {\n color: var(--cipher-muted);\n}\n.alert[data-tone=\"info\"] {\n background: var(--cipher-info-bg);\n border-color: var(--cipher-info-line);\n color: var(--cipher-info);\n}\n.alert[data-tone=\"ok\"] {\n background: var(--cipher-ok-bg);\n border-color: var(--cipher-ok-line);\n color: var(--cipher-ok);\n}\n.alert[data-tone=\"warn\"] {\n background: var(--cipher-warn-bg);\n border-color: var(--cipher-warn-line);\n color: var(--cipher-warn);\n}\n.alert[data-tone=\"bad\"] {\n background: var(--cipher-bad-bg);\n border-color: var(--cipher-bad-line);\n color: var(--cipher-bad);\n}\n.alertActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-8);\n padding-top: var(--cipher-space-actions-gap);\n}\n.toastStack {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-8);\n width: max-content;\n max-width: min(var(--cipher-size-toast), 100%);\n}\n.toastStack.toastFixed {\n max-width: min(var(--cipher-size-toast), calc(100vw - 2 * var(--cipher-space-16)));\n}\n.toast {\n border-radius: 0;\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-8);\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-toast-bg, var(--popover));\n color: var(--cipher-ink, var(--foreground));\n box-shadow: var(--cipher-shadow-pop, 0 4px 16px rgb(0 0 0 / 0.12));\n padding: var(--cipher-space-12);\n --cipher-toast-line: var(--cipher-type-row-title-line-height);\n}\n.toast > svg {\n flex: none;\n height: var(--cipher-toast-line);\n}\n.toastBody {\n min-width: 0;\n flex: 1 1 auto;\n}\n.toastTitle,\n.toastDescription {\n overflow-wrap: anywhere;\n}\n.toast > button {\n flex: none;\n margin-block: calc((var(--cipher-toast-line) - var(--cipher-action-height)) / 2);\n}\n.toastActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-4);\n margin-top: var(--cipher-space-8);\n margin-inline-start: calc(-1 * var(--cipher-space-control-inline-sm));\n contain: inline-size;\n}\n.toastActions > button {\n white-space: normal;\n max-width: 100%;\n}\n.avatarShape {\n border-radius: 0;\n}\n.avatarShape::after {\n content: \"\";\n position: absolute;\n inset: 0;\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n mix-blend-mode: var(--cipher-avatar-blend);\n pointer-events: none;\n}\n.avatarShape::after,\n.avatarShape > [data-slot=\"avatar-fallback\"],\n.avatarShape > [data-slot=\"avatar-image\"] {\n border-radius: inherit;\n}\n.avatarShape > [data-slot=\"avatar-fallback\"] {\n font-size: inherit;\n}\n.avatarRing {\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n}\n.avatarGroup {\n display: flex;\n}\n.avatarGroup > [data-slot=\"avatar\"] + [data-slot=\"avatar\"],\n.avatarGroup > * + [data-slot=\"avatar-group-count\"] {\n margin-inline-start: calc(-1 * var(--cipher-space-4));\n}\n.avatarCount {\n border-radius: 0;\n background: var(--cipher-tint);\n color: var(--cipher-muted);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n font-weight: var(--cipher-type-caption-font-weight);\n}\n.avatarStatus {\n position: absolute;\n z-index: 1;\n inset-inline-end: calc(-1 * var(--cipher-space-2));\n bottom: calc(-1 * var(--cipher-space-2));\n width: var(--cipher-space-8);\n height: var(--cipher-space-8);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n background: var(--cipher-faint);\n border-radius: 0;\n}\n\n.fieldLegend {\n font-family: var(--cipher-type-title-sm-font-family);\n font-size: var(--cipher-type-title-sm-font-size);\n line-height: var(--cipher-type-title-sm-line-height);\n font-weight: var(--cipher-type-title-sm-font-weight);\n letter-spacing: var(--cipher-type-title-sm-letter-spacing);\n margin-bottom: var(--cipher-space-field-label);\n}\n.fieldLegend[data-variant=\"legend\"] {\n margin-bottom: var(--cipher-space-field-legend);\n}\n.fieldLegend[data-variant=\"legend\"] + .fieldDescription {\n margin-top: calc(var(--cipher-space-field-label) - var(--cipher-space-field-legend));\n}\n[data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n row-gap: var(--cipher-space-field-legend);\n}\n.fieldGroup > [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) + *,\n.fieldGroup > * + [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n margin-top: calc(var(--cipher-space-content-section) - var(--cipher-space-field-group));\n}\n.fieldLegend[data-variant=\"label\"] {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.alertTitle {\n grid-column: 1;\n grid-row: 1;\n min-width: 0;\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.alertDescription {\n grid-column: 1;\n min-width: 0;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n\n:is(.fieldDescription, .alertDescription) a:not([data-slot]) {\n color: var(--cipher-link);\n text-decoration-line: none;\n text-decoration-thickness: var(--cipher-size-control-border);\n text-underline-offset: var(--cipher-space-3);\n}\n:is(.fieldDescription, .alertDescription) a:not([data-slot]):focus-visible {\n text-decoration-line: underline;\n}\n@media (hover: hover) {\n :is(.fieldDescription, .alertDescription) a:not([data-slot]):hover {\n color: var(--cipher-text2);\n text-decoration-line: underline;\n text-decoration-thickness: var(--cipher-space-2);\n }\n}\n\n.alert {\n position: relative;\n display: grid;\n width: 100%;\n grid-template-columns: minmax(0, 1fr);\n border: 1px solid var(--cipher-line-soft);\n border-radius: 0;\n padding: var(--cipher-space-12);\n gap: var(--cipher-space-4) var(--cipher-space-8);\n overflow-wrap: anywhere;\n text-align: start;\n}\n.alert[data-has-icon] {\n grid-template-columns: auto minmax(0, 1fr);\n}\n.alert > svg {\n grid-column: 1;\n grid-row: 1 / span 2;\n align-self: start;\n transform: translateY(var(--cipher-space-2));\n color: currentColor;\n}\n.alert[data-has-icon]:not([data-has-title]) > svg {\n grid-row: 1;\n transform: translateY(calc(var(--cipher-space-2) / 2));\n}\n.alert[data-has-icon] > :is(.alertTitle, .alertDescription) {\n grid-column: 2;\n}\n.alert[data-has-title] > .alertDescription {\n grid-row: 2;\n}\n.alert[data-has-action] {\n grid-template-columns: minmax(0, 1fr) auto;\n padding-inline-end: var(--cipher-space-12);\n}\n.alert[data-has-icon][data-has-action] {\n grid-template-columns: auto minmax(0, 1fr) auto;\n}\n.alertAction {\n position: static;\n grid-column: -2 / -1;\n grid-row: 1 / span 2;\n align-self: start;\n}\n\n.fieldTitle {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.fieldGroup {\n gap: var(--cipher-space-field-group);\n}\n.field {\n gap: var(--cipher-space-field-label);\n}\n.field:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field);\n}\n.field[data-width=\"wide\"]:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field-wide);\n}\n.field[data-orientation=\"horizontal\"] {\n gap: var(--cipher-space-12);\n}\n" + "content": ".avatarFallback {\n background: var(--cipher-tint);\n color: var(--cipher-ink);\n font-family: var(--cipher-type-label-font-family);\n font-weight: var(--cipher-type-label-font-weight);\n line-height: 1;\n letter-spacing: 0;\n}\n.avatarFallback svg {\n width: 50%;\n height: 50%;\n max-width: var(--cipher-size-icon);\n max-height: var(--cipher-size-icon);\n}\n.count {\n font-family: var(--cipher-type-mono-sm-font-family);\n font-size: var(--cipher-type-mono-sm-font-size);\n line-height: var(--cipher-type-mono-sm-line-height);\n font-weight: var(--cipher-type-mono-sm-font-weight);\n letter-spacing: var(--cipher-type-mono-sm-letter-spacing);\n display: inline-flex;\n min-width: var(--cipher-size-count);\n height: var(--cipher-size-count);\n padding: 0 var(--cipher-space-4);\n align-items: center;\n justify-content: center;\n border-radius: 0;\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.countInk {\n background: var(--cipher-ink);\n color: var(--cipher-surface);\n}\n.countNeutral {\n background: var(--cipher-tint);\n color: var(--cipher-text2);\n}\n.identity {\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n}\n.identityText {\n flex: 1 1 auto;\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n.identityTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.identityDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n color: var(--cipher-text2, var(--muted-foreground));\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mono {\n font-family: var(--cipher-font-mono, monospace);\n}\n.media {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n flex: 0 0 auto;\n color: var(--cipher-ink, var(--foreground));\n background: var(--cipher-surface);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.mediaSmall {\n width: 24px;\n height: 24px;\n}\n.tile {\n display: flex;\n box-sizing: border-box;\n text-decoration: none;\n align-items: center;\n gap: 12px;\n width: 100%;\n padding: var(--cipher-space-12);\n text-align: start;\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-surface, var(--background));\n color: var(--cipher-ink, var(--foreground));\n}\n.tile:not([aria-disabled=\"true\"]):hover {\n border-color: var(--cipher-control, var(--border));\n background: var(--cipher-hover);\n}\n.tile[data-in-frame] {\n border-color: transparent;\n background: var(--cipher-tint);\n}\n.tile[data-in-frame]:not([aria-disabled=\"true\"]):hover {\n background: color-mix(in srgb, var(--cipher-mix-ink) var(--cipher-hover-mix), var(--cipher-tint));\n}\n.tile[aria-pressed=\"true\"],\n.tile[aria-current=\"page\"] {\n border-color: var(--cipher-ink, var(--foreground));\n}\n.tile:disabled,\n.tile[data-disabled] {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.tile:focus-visible {\n outline: 2px solid var(--ring, var(--ring));\n outline-offset: 2px;\n}\n.tileBody {\n flex: 1;\n min-width: 0;\n}\n.tile[aria-disabled=\"true\"] {\n cursor: not-allowed;\n}\n.tile[data-layout=\"stacked\"] {\n flex-direction: column;\n align-items: stretch;\n gap: var(--cipher-space-4);\n padding: var(--cipher-space-16);\n}\n.tile[data-layout=\"stacked\"] > .tileBody {\n flex: 1 1 auto;\n}\n.tileTop {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: var(--cipher-space-12);\n min-width: 0;\n margin-bottom: var(--cipher-space-8);\n}\n.tileAside {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-8);\n min-width: 0;\n margin-inline-start: auto;\n color: var(--cipher-muted);\n}\n.tileAside > :not(.tileEyebrow) {\n flex: none;\n}\n.tileEyebrow {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--cipher-muted);\n font-family: var(--cipher-type-eyebrow-font-family);\n font-size: var(--cipher-type-eyebrow-font-size);\n line-height: var(--cipher-type-eyebrow-line-height);\n font-weight: var(--cipher-type-eyebrow-font-weight);\n letter-spacing: var(--cipher-type-eyebrow-letter-spacing);\n text-transform: uppercase;\n}\n.tile[aria-disabled=\"true\"]:not([data-disabled]) > .tileTop {\n opacity: 0.5;\n}\n.banner {\n display: flex;\n width: 100%;\n align-items: center;\n flex-wrap: wrap;\n gap: 12px;\n border: 1px solid var(--cipher-accent-line);\n background: var(--cipher-accent-wash);\n color: var(--cipher-ink, var(--foreground));\n padding: 10px 16px;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n.banner > svg {\n flex: 0 0 auto;\n color: var(--cipher-accent-fg);\n}\n.bannerText {\n flex: 1;\n min-width: min(100%, 160px);\n}\n.steps {\n display: flex;\n flex-wrap: wrap;\n gap: 12px;\n padding: 0;\n margin: 0;\n list-style: none;\n}\n.step {\n display: flex;\n align-items: center;\n gap: 6px;\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.step[data-current] {\n color: var(--cipher-ink, var(--foreground));\n font-weight: var(--cipher-type-title-sm-font-weight);\n}\n.stepNumber {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n border: 1px solid var(--cipher-line-soft, var(--border));\n}\n.step[data-current] .stepNumber {\n background: repeating-linear-gradient(\n 135deg,\n var(--cipher-tint, var(--muted)) 0 2px,\n transparent 2px 4px\n );\n border-color: var(--cipher-ink, var(--foreground));\n}\n:global(.cipher) {\n --cipher-toast-bottom: var(--cipher-space-action-bar-offset);\n}\n:global(.cipher)[data-action-bar-reserve] {\n --cipher-toast-bottom: calc(var(--cipher-size-action-bar) + 2 * var(--cipher-space-action-bar-offset));\n}\n.toastFixed {\n position: fixed;\n inset-inline-end: var(--cipher-space-16);\n bottom: var(--cipher-toast-bottom);\n z-index: 100;\n transition: bottom var(--cipher-duration-moderate) var(--cipher-ease-standard);\n}\n@media (prefers-reduced-motion: reduce) {\n .toastFixed {\n transition-duration: 0s;\n }\n}\n.toastTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.toastDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin-top: 2px;\n color: var(--cipher-text2, var(--muted-foreground));\n}\n.avatarStatus[data-status=\"ok\"] {\n background: var(--cipher-ok);\n}\n.avatarStatus[data-status=\"warn\"] {\n background: var(--cipher-warn);\n}\n.fieldLabels {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n min-width: 0;\n}\n.fieldLabelRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n min-width: 0;\n}\n.globHelp {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-4);\n}\n.legendRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n width: 100%;\n min-width: 0;\n padding: 0;\n}\n.legendActions {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-8);\n margin-inline-start: auto;\n}\n.fieldHelp {\n margin-block: calc((var(--cipher-type-field-label-line-height) - var(--cipher-size-control-xs)) / 2);\n color: var(--cipher-muted);\n}\n.fieldDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin: 0;\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.fieldError {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-6);\n margin: 0;\n color: var(--cipher-bad);\n}\n.fieldError > svg {\n flex: none;\n margin-block-start: calc((var(--cipher-type-small-line-height) - 14px) / 2);\n}\n.fieldErrorLines {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-2);\n}\n.fieldControl {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n flex: 1;\n min-width: 0;\n}\n.badge {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n height: var(--cipher-size-badge);\n padding: 0 var(--cipher-space-8);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.badge.mono {\n font-family: var(--cipher-type-mono-sm-font-family);\n}\n.badge[data-slot][data-tone] {\n border-color: var(--cipher-line-soft);\n color: var(--cipher-muted);\n background: transparent;\n}\n.badge[data-size=\"sm\"] {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph-sm);\n height: var(--cipher-size-badge-sm);\n padding-inline: var(--cipher-space-6);\n line-height: calc(var(--cipher-size-badge-sm) - 2 * var(--cipher-size-control-border));\n}\n.badge:is([data-size=\"control-sm\"], [data-size=\"control-md\"], [data-size=\"control-lg\"]) {\n --cipher-badge-glyph: var(--cipher-size-icon);\n gap: var(--cipher-space-control-gap);\n font-family: var(--cipher-type-body-font-family);\n font-size: var(--cipher-type-body-font-size);\n line-height: var(--cipher-type-body-line-height);\n font-weight: var(--cipher-type-body-font-weight);\n letter-spacing: var(--cipher-type-body-letter-spacing);\n}\n.badge[data-size=\"control-sm\"] {\n --cipher-badge-glyph: var(--cipher-size-icon-sm);\n height: var(--cipher-size-control-sm);\n padding-inline: var(--cipher-space-control-inline-sm);\n}\n.badge[data-size=\"control-md\"] {\n height: var(--cipher-size-control-md);\n padding-inline: var(--cipher-space-control-inline-md);\n}\n.badge[data-size=\"control-lg\"] {\n height: var(--cipher-size-control-lg);\n padding-inline: var(--cipher-space-control-inline);\n}\n.badge[data-slot][data-tone=\"soft\"] {\n border-color: var(--cipher-line-soft);\n background: var(--cipher-line-soft);\n color: var(--cipher-text2);\n}\n.badge[data-slot][data-tone=\"solid\"] {\n border-color: var(--cipher-ink);\n background: var(--cipher-ink);\n color: var(--cipher-on-ink);\n}\n.badge[data-slot][data-tone=\"accent\"] {\n border-color: var(--cipher-accent);\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.badge[data-slot][data-tone=\"ok\"] {\n border-color: var(--cipher-ok-line);\n background: var(--cipher-ok-bg);\n color: var(--cipher-ok);\n}\n.badge[data-slot][data-tone=\"warn\"] {\n border-color: var(--cipher-warn-line);\n background: var(--cipher-warn-bg);\n color: var(--cipher-warn);\n}\n.badge[data-slot][data-tone=\"bad\"] {\n border-color: var(--cipher-bad-line);\n background: var(--cipher-bad-bg);\n color: var(--cipher-bad);\n}\n.badge[data-slot][data-tone=\"info\"] {\n border-color: var(--cipher-info-line);\n background: var(--cipher-info-bg);\n color: var(--cipher-info);\n}\n.badgeDot {\n width: 6px;\n height: 6px;\n background: currentColor;\n flex-shrink: 0;\n}\n.steps .step {\n display: flex;\n flex: 1;\n flex-direction: column;\n align-items: flex-start;\n gap: 6px;\n}\n.steps .step::before {\n content: \"\";\n display: block;\n width: 100%;\n height: 6px;\n background: var(--cipher-line-soft);\n}\n.steps .step[data-complete]::before {\n background: var(--cipher-ink);\n}\n.steps .step[data-current]::before {\n background: repeating-linear-gradient(135deg, var(--cipher-ink) 0 2px, var(--cipher-line-soft) 2px 4px);\n}\n.fieldset {\n min-width: 0;\n width: 100%;\n padding: 0;\n border: 0;\n display: flex;\n flex-direction: column;\n gap: 6px;\n}\n.fieldset > legend {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n margin-bottom: 6px;\n}\n.alert[data-tone=\"neutral\"] {\n background: var(--cipher-paper);\n border-color: var(--cipher-line-soft);\n color: var(--cipher-ink);\n}\n.alert[data-tone=\"neutral\"] > svg {\n color: var(--cipher-muted);\n}\n.alert[data-tone=\"info\"] {\n background: var(--cipher-info-bg);\n border-color: var(--cipher-info-line);\n color: var(--cipher-info);\n}\n.alert[data-tone=\"ok\"] {\n background: var(--cipher-ok-bg);\n border-color: var(--cipher-ok-line);\n color: var(--cipher-ok);\n}\n.alert[data-tone=\"warn\"] {\n background: var(--cipher-warn-bg);\n border-color: var(--cipher-warn-line);\n color: var(--cipher-warn);\n}\n.alert[data-tone=\"bad\"] {\n background: var(--cipher-bad-bg);\n border-color: var(--cipher-bad-line);\n color: var(--cipher-bad);\n}\n.alertActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-8);\n padding-top: var(--cipher-space-actions-gap);\n}\n.toastStack {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-8);\n width: max-content;\n max-width: min(var(--cipher-size-toast), 100%);\n}\n.toastStack.toastFixed {\n max-width: min(var(--cipher-size-toast), calc(100vw - 2 * var(--cipher-space-16)));\n}\n.toast {\n border-radius: 0;\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-8);\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-toast-bg, var(--popover));\n color: var(--cipher-ink, var(--foreground));\n box-shadow: var(--cipher-shadow-pop, 0 4px 16px rgb(0 0 0 / 0.12));\n padding: var(--cipher-space-12);\n --cipher-toast-line: var(--cipher-type-row-title-line-height);\n}\n.toast > svg {\n flex: none;\n height: var(--cipher-toast-line);\n}\n.toastBody {\n min-width: 0;\n flex: 1 1 auto;\n}\n.toastTitle,\n.toastDescription {\n overflow-wrap: anywhere;\n}\n.toast > button {\n flex: none;\n margin-block: calc((var(--cipher-toast-line) - var(--cipher-action-height)) / 2);\n}\n.toastActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-4);\n margin-top: var(--cipher-space-8);\n margin-inline-start: calc(-1 * var(--cipher-space-control-inline-sm));\n contain: inline-size;\n}\n.toastActions > button {\n white-space: normal;\n max-width: 100%;\n}\n.avatarShape {\n border-radius: 0;\n}\n.avatarShape::after {\n content: \"\";\n position: absolute;\n inset: 0;\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n mix-blend-mode: var(--cipher-avatar-blend);\n pointer-events: none;\n}\n.avatarShape::after,\n.avatarShape > [data-slot=\"avatar-fallback\"],\n.avatarShape > [data-slot=\"avatar-image\"] {\n border-radius: inherit;\n}\n.avatarShape > [data-slot=\"avatar-fallback\"] {\n font-size: inherit;\n}\n.avatarRing {\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n}\n.avatarGroup {\n display: flex;\n}\n.avatarGroup > [data-slot=\"avatar\"] + [data-slot=\"avatar\"],\n.avatarGroup > * + [data-slot=\"avatar-group-count\"] {\n margin-inline-start: calc(-1 * var(--cipher-space-4));\n}\n.avatarCount {\n border-radius: 0;\n background: var(--cipher-tint);\n color: var(--cipher-muted);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n font-weight: var(--cipher-type-caption-font-weight);\n}\n.avatarStatus {\n position: absolute;\n z-index: 1;\n inset-inline-end: calc(-1 * var(--cipher-space-2));\n bottom: calc(-1 * var(--cipher-space-2));\n width: var(--cipher-space-8);\n height: var(--cipher-space-8);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n background: var(--cipher-faint);\n border-radius: 0;\n}\n\n.fieldLegend {\n font-family: var(--cipher-type-title-sm-font-family);\n font-size: var(--cipher-type-title-sm-font-size);\n line-height: var(--cipher-type-title-sm-line-height);\n font-weight: var(--cipher-type-title-sm-font-weight);\n letter-spacing: var(--cipher-type-title-sm-letter-spacing);\n margin-bottom: var(--cipher-space-field-label);\n}\n.fieldLegend[data-variant=\"legend\"] {\n margin-bottom: var(--cipher-space-field-legend);\n}\n.fieldLegend[data-variant=\"legend\"] + .fieldDescription {\n margin-top: calc(var(--cipher-space-field-label) - var(--cipher-space-field-legend));\n}\n[data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n row-gap: var(--cipher-space-field-legend);\n}\n.fieldGroup > [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) + *,\n.fieldGroup > * + [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n margin-top: calc(var(--cipher-space-content-section) - var(--cipher-space-field-group));\n}\n.fieldLegend[data-variant=\"label\"] {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.alertTitle {\n grid-column: 1;\n grid-row: 1;\n min-width: 0;\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.alertDescription {\n grid-column: 1;\n min-width: 0;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n\n:is(.fieldDescription, .alertDescription) a:not([data-slot]) {\n color: var(--cipher-link);\n text-decoration-line: none;\n text-decoration-thickness: var(--cipher-size-control-border);\n text-underline-offset: var(--cipher-space-3);\n}\n:is(.fieldDescription, .alertDescription) a:not([data-slot]):focus-visible {\n text-decoration-line: underline;\n}\n@media (hover: hover) {\n :is(.fieldDescription, .alertDescription) a:not([data-slot]):hover {\n color: var(--cipher-text2);\n text-decoration-line: underline;\n text-decoration-thickness: var(--cipher-space-2);\n }\n}\n\n.alert {\n position: relative;\n display: grid;\n width: 100%;\n grid-template-columns: minmax(0, 1fr);\n border: 1px solid var(--cipher-line-soft);\n border-radius: 0;\n padding: var(--cipher-space-12);\n gap: var(--cipher-space-4) var(--cipher-space-8);\n overflow-wrap: anywhere;\n text-align: start;\n}\n.alert[data-has-icon] {\n grid-template-columns: auto minmax(0, 1fr);\n}\n.alert > svg {\n grid-column: 1;\n grid-row: 1 / span 2;\n align-self: start;\n transform: translateY(var(--cipher-space-2));\n color: currentColor;\n}\n.alert[data-has-icon]:not([data-has-title]) > svg {\n grid-row: 1;\n transform: translateY(calc(var(--cipher-space-2) / 2));\n}\n.alert[data-has-icon] > :is(.alertTitle, .alertDescription) {\n grid-column: 2;\n}\n.alert[data-has-title] > .alertDescription {\n grid-row: 2;\n}\n.alert[data-has-action] {\n grid-template-columns: minmax(0, 1fr) auto;\n padding-inline-end: var(--cipher-space-12);\n}\n.alert[data-has-icon][data-has-action] {\n grid-template-columns: auto minmax(0, 1fr) auto;\n}\n.alertAction {\n position: static;\n grid-column: -2 / -1;\n grid-row: 1 / span 2;\n align-self: start;\n}\n\n.fieldTitle {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.fieldGroup {\n gap: var(--cipher-space-field-group);\n}\n.field {\n gap: var(--cipher-space-field-label);\n}\n.field:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field);\n}\n.field[data-width=\"wide\"]:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field-wide);\n}\n.field[data-orientation=\"horizontal\"] {\n gap: var(--cipher-space-12);\n}\n" } ] } diff --git a/r/file-input.json b/r/file-input.json index bce7b453..97ba186b 100644 --- a/r/file-input.json +++ b/r/file-input.json @@ -27,7 +27,7 @@ "path": "src/components/cipher/ui/helpers.module.css", "type": "registry:file", "target": "src/components/cipher/ui/helpers.module.css", - "content": ".avatarFallback {\n background: var(--cipher-tint);\n color: var(--cipher-ink);\n font-family: var(--cipher-type-label-font-family);\n font-weight: var(--cipher-type-label-font-weight);\n line-height: 1;\n letter-spacing: 0;\n}\n.avatarFallback svg {\n width: 50%;\n height: 50%;\n max-width: var(--cipher-size-icon);\n max-height: var(--cipher-size-icon);\n}\n.count {\n font-family: var(--cipher-type-mono-sm-font-family);\n font-size: var(--cipher-type-mono-sm-font-size);\n line-height: var(--cipher-type-mono-sm-line-height);\n font-weight: var(--cipher-type-mono-sm-font-weight);\n letter-spacing: var(--cipher-type-mono-sm-letter-spacing);\n display: inline-flex;\n min-width: var(--cipher-size-count);\n height: var(--cipher-size-count);\n padding: 0 var(--cipher-space-4);\n align-items: center;\n justify-content: center;\n border-radius: 0;\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.countInk {\n background: var(--cipher-ink);\n color: var(--cipher-surface);\n}\n.countNeutral {\n background: var(--cipher-tint);\n color: var(--cipher-text2);\n}\n.identity {\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n}\n.identityText {\n flex: 1 1 auto;\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n.identityTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.identityDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n color: var(--cipher-text2, var(--muted-foreground));\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mono {\n font-family: var(--cipher-font-mono, monospace);\n}\n.media {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n flex: 0 0 auto;\n color: var(--cipher-ink, var(--foreground));\n background: var(--cipher-surface);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.mediaSmall {\n width: 24px;\n height: 24px;\n}\n.tile {\n display: flex;\n align-items: center;\n gap: 12px;\n width: 100%;\n padding: var(--cipher-space-12);\n text-align: start;\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-surface, var(--background));\n color: var(--cipher-ink, var(--foreground));\n}\n.tile:not([aria-disabled=\"true\"]):hover {\n border-color: var(--cipher-control, var(--border));\n background: var(--cipher-hover);\n}\n.tile[data-in-frame] {\n border-color: transparent;\n background: var(--cipher-tint);\n}\n.tile[data-in-frame]:not([aria-disabled=\"true\"]):hover {\n background: color-mix(in srgb, var(--cipher-mix-ink) var(--cipher-hover-mix), var(--cipher-tint));\n}\n.tile[aria-pressed=\"true\"] {\n border-color: var(--cipher-ink, var(--foreground));\n}\n.tile:disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.tile:focus-visible {\n outline: 2px solid var(--ring, var(--ring));\n outline-offset: 2px;\n}\n.tileBody {\n flex: 1;\n min-width: 0;\n}\n.tile[aria-disabled=\"true\"] {\n cursor: not-allowed;\n}\n.tile[data-layout=\"stacked\"] {\n flex-direction: column;\n align-items: stretch;\n gap: var(--cipher-space-4);\n padding: var(--cipher-space-16);\n}\n.tile[data-layout=\"stacked\"] > .tileBody {\n flex: 1 1 auto;\n}\n.tileTop {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: var(--cipher-space-12);\n min-width: 0;\n margin-bottom: var(--cipher-space-8);\n}\n.tileEyebrow {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--cipher-muted);\n font-family: var(--cipher-type-eyebrow-font-family);\n font-size: var(--cipher-type-eyebrow-font-size);\n line-height: var(--cipher-type-eyebrow-line-height);\n font-weight: var(--cipher-type-eyebrow-font-weight);\n letter-spacing: var(--cipher-type-eyebrow-letter-spacing);\n text-transform: uppercase;\n}\n.tile[aria-disabled=\"true\"] > .tileTop {\n opacity: 0.5;\n}\n.banner {\n display: flex;\n width: 100%;\n align-items: center;\n flex-wrap: wrap;\n gap: 12px;\n border: 1px solid var(--cipher-accent-line);\n background: var(--cipher-accent-wash);\n color: var(--cipher-ink, var(--foreground));\n padding: 10px 16px;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n.banner > svg {\n flex: 0 0 auto;\n color: var(--cipher-accent-fg);\n}\n.bannerText {\n flex: 1;\n min-width: min(100%, 160px);\n}\n.steps {\n display: flex;\n flex-wrap: wrap;\n gap: 12px;\n padding: 0;\n margin: 0;\n list-style: none;\n}\n.step {\n display: flex;\n align-items: center;\n gap: 6px;\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.step[data-current] {\n color: var(--cipher-ink, var(--foreground));\n font-weight: var(--cipher-type-title-sm-font-weight);\n}\n.stepNumber {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n border: 1px solid var(--cipher-line-soft, var(--border));\n}\n.step[data-current] .stepNumber {\n background: repeating-linear-gradient(\n 135deg,\n var(--cipher-tint, var(--muted)) 0 2px,\n transparent 2px 4px\n );\n border-color: var(--cipher-ink, var(--foreground));\n}\n:global(.cipher) {\n --cipher-toast-bottom: var(--cipher-space-action-bar-offset);\n}\n:global(.cipher)[data-action-bar-reserve] {\n --cipher-toast-bottom: calc(var(--cipher-size-action-bar) + 2 * var(--cipher-space-action-bar-offset));\n}\n.toastFixed {\n position: fixed;\n inset-inline-end: var(--cipher-space-16);\n bottom: var(--cipher-toast-bottom);\n z-index: 100;\n transition: bottom var(--cipher-duration-moderate) var(--cipher-ease-standard);\n}\n@media (prefers-reduced-motion: reduce) {\n .toastFixed {\n transition-duration: 0s;\n }\n}\n.toastTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.toastDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin-top: 2px;\n color: var(--cipher-text2, var(--muted-foreground));\n}\n.avatarStatus[data-status=\"ok\"] {\n background: var(--cipher-ok);\n}\n.avatarStatus[data-status=\"warn\"] {\n background: var(--cipher-warn);\n}\n.fieldLabels {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n min-width: 0;\n}\n.fieldLabelRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n min-width: 0;\n}\n.globHelp {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-4);\n}\n.legendRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n width: 100%;\n min-width: 0;\n padding: 0;\n}\n.legendActions {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-8);\n margin-inline-start: auto;\n}\n.fieldHelp {\n margin-block: calc((var(--cipher-type-field-label-line-height) - var(--cipher-size-control-xs)) / 2);\n color: var(--cipher-muted);\n}\n.fieldDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin: 0;\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.fieldError {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-6);\n margin: 0;\n color: var(--cipher-bad);\n}\n.fieldError > svg {\n flex: none;\n margin-block-start: calc((var(--cipher-type-small-line-height) - 14px) / 2);\n}\n.fieldErrorLines {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-2);\n}\n.fieldControl {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n flex: 1;\n min-width: 0;\n}\n.badge {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n height: var(--cipher-size-badge);\n padding: 0 var(--cipher-space-8);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.badge.mono {\n font-family: var(--cipher-type-mono-sm-font-family);\n}\n.badge[data-slot][data-tone] {\n border-color: var(--cipher-line-soft);\n color: var(--cipher-muted);\n background: transparent;\n}\n.badge[data-size=\"sm\"] {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph-sm);\n height: var(--cipher-size-badge-sm);\n padding-inline: var(--cipher-space-6);\n line-height: calc(var(--cipher-size-badge-sm) - 2 * var(--cipher-size-control-border));\n}\n.badge:is([data-size=\"control-sm\"], [data-size=\"control-md\"], [data-size=\"control-lg\"]) {\n --cipher-badge-glyph: var(--cipher-size-icon);\n gap: var(--cipher-space-control-gap);\n font-family: var(--cipher-type-body-font-family);\n font-size: var(--cipher-type-body-font-size);\n line-height: var(--cipher-type-body-line-height);\n font-weight: var(--cipher-type-body-font-weight);\n letter-spacing: var(--cipher-type-body-letter-spacing);\n}\n.badge[data-size=\"control-sm\"] {\n --cipher-badge-glyph: var(--cipher-size-icon-sm);\n height: var(--cipher-size-control-sm);\n padding-inline: var(--cipher-space-control-inline-sm);\n}\n.badge[data-size=\"control-md\"] {\n height: var(--cipher-size-control-md);\n padding-inline: var(--cipher-space-control-inline-md);\n}\n.badge[data-size=\"control-lg\"] {\n height: var(--cipher-size-control-lg);\n padding-inline: var(--cipher-space-control-inline);\n}\n.badge[data-slot][data-tone=\"soft\"] {\n border-color: var(--cipher-line-soft);\n background: var(--cipher-line-soft);\n color: var(--cipher-text2);\n}\n.badge[data-slot][data-tone=\"solid\"] {\n border-color: var(--cipher-ink);\n background: var(--cipher-ink);\n color: var(--cipher-on-ink);\n}\n.badge[data-slot][data-tone=\"accent\"] {\n border-color: var(--cipher-accent);\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.badge[data-slot][data-tone=\"ok\"] {\n border-color: var(--cipher-ok-line);\n background: var(--cipher-ok-bg);\n color: var(--cipher-ok);\n}\n.badge[data-slot][data-tone=\"warn\"] {\n border-color: var(--cipher-warn-line);\n background: var(--cipher-warn-bg);\n color: var(--cipher-warn);\n}\n.badge[data-slot][data-tone=\"bad\"] {\n border-color: var(--cipher-bad-line);\n background: var(--cipher-bad-bg);\n color: var(--cipher-bad);\n}\n.badge[data-slot][data-tone=\"info\"] {\n border-color: var(--cipher-info-line);\n background: var(--cipher-info-bg);\n color: var(--cipher-info);\n}\n.badgeDot {\n width: 6px;\n height: 6px;\n background: currentColor;\n flex-shrink: 0;\n}\n.steps .step {\n display: flex;\n flex: 1;\n flex-direction: column;\n align-items: flex-start;\n gap: 6px;\n}\n.steps .step::before {\n content: \"\";\n display: block;\n width: 100%;\n height: 6px;\n background: var(--cipher-line-soft);\n}\n.steps .step[data-complete]::before {\n background: var(--cipher-ink);\n}\n.steps .step[data-current]::before {\n background: repeating-linear-gradient(135deg, var(--cipher-ink) 0 2px, var(--cipher-line-soft) 2px 4px);\n}\n.fieldset {\n min-width: 0;\n width: 100%;\n padding: 0;\n border: 0;\n display: flex;\n flex-direction: column;\n gap: 6px;\n}\n.fieldset > legend {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n margin-bottom: 6px;\n}\n.alert[data-tone=\"neutral\"] {\n background: var(--cipher-paper);\n border-color: var(--cipher-line-soft);\n color: var(--cipher-ink);\n}\n.alert[data-tone=\"neutral\"] > svg {\n color: var(--cipher-muted);\n}\n.alert[data-tone=\"info\"] {\n background: var(--cipher-info-bg);\n border-color: var(--cipher-info-line);\n color: var(--cipher-info);\n}\n.alert[data-tone=\"ok\"] {\n background: var(--cipher-ok-bg);\n border-color: var(--cipher-ok-line);\n color: var(--cipher-ok);\n}\n.alert[data-tone=\"warn\"] {\n background: var(--cipher-warn-bg);\n border-color: var(--cipher-warn-line);\n color: var(--cipher-warn);\n}\n.alert[data-tone=\"bad\"] {\n background: var(--cipher-bad-bg);\n border-color: var(--cipher-bad-line);\n color: var(--cipher-bad);\n}\n.alertActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-8);\n padding-top: var(--cipher-space-actions-gap);\n}\n.toastStack {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-8);\n width: max-content;\n max-width: min(var(--cipher-size-toast), 100%);\n}\n.toastStack.toastFixed {\n max-width: min(var(--cipher-size-toast), calc(100vw - 2 * var(--cipher-space-16)));\n}\n.toast {\n border-radius: 0;\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-8);\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-toast-bg, var(--popover));\n color: var(--cipher-ink, var(--foreground));\n box-shadow: var(--cipher-shadow-pop, 0 4px 16px rgb(0 0 0 / 0.12));\n padding: var(--cipher-space-12);\n --cipher-toast-line: var(--cipher-type-row-title-line-height);\n}\n.toast > svg {\n flex: none;\n height: var(--cipher-toast-line);\n}\n.toastBody {\n min-width: 0;\n flex: 1 1 auto;\n}\n.toastTitle,\n.toastDescription {\n overflow-wrap: anywhere;\n}\n.toast > button {\n flex: none;\n margin-block: calc((var(--cipher-toast-line) - var(--cipher-action-height)) / 2);\n}\n.toastActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-4);\n margin-top: var(--cipher-space-8);\n margin-inline-start: calc(-1 * var(--cipher-space-control-inline-sm));\n contain: inline-size;\n}\n.toastActions > button {\n white-space: normal;\n max-width: 100%;\n}\n.avatarShape {\n border-radius: 0;\n}\n.avatarShape::after {\n content: \"\";\n position: absolute;\n inset: 0;\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n mix-blend-mode: var(--cipher-avatar-blend);\n pointer-events: none;\n}\n.avatarShape::after,\n.avatarShape > [data-slot=\"avatar-fallback\"],\n.avatarShape > [data-slot=\"avatar-image\"] {\n border-radius: inherit;\n}\n.avatarShape > [data-slot=\"avatar-fallback\"] {\n font-size: inherit;\n}\n.avatarRing {\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n}\n.avatarGroup {\n display: flex;\n}\n.avatarGroup > [data-slot=\"avatar\"] + [data-slot=\"avatar\"],\n.avatarGroup > * + [data-slot=\"avatar-group-count\"] {\n margin-inline-start: calc(-1 * var(--cipher-space-4));\n}\n.avatarCount {\n border-radius: 0;\n background: var(--cipher-tint);\n color: var(--cipher-muted);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n font-weight: var(--cipher-type-caption-font-weight);\n}\n.avatarStatus {\n position: absolute;\n z-index: 1;\n inset-inline-end: calc(-1 * var(--cipher-space-2));\n bottom: calc(-1 * var(--cipher-space-2));\n width: var(--cipher-space-8);\n height: var(--cipher-space-8);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n background: var(--cipher-faint);\n border-radius: 0;\n}\n\n.fieldLegend {\n font-family: var(--cipher-type-title-sm-font-family);\n font-size: var(--cipher-type-title-sm-font-size);\n line-height: var(--cipher-type-title-sm-line-height);\n font-weight: var(--cipher-type-title-sm-font-weight);\n letter-spacing: var(--cipher-type-title-sm-letter-spacing);\n margin-bottom: var(--cipher-space-field-label);\n}\n.fieldLegend[data-variant=\"legend\"] {\n margin-bottom: var(--cipher-space-field-legend);\n}\n.fieldLegend[data-variant=\"legend\"] + .fieldDescription {\n margin-top: calc(var(--cipher-space-field-label) - var(--cipher-space-field-legend));\n}\n[data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n row-gap: var(--cipher-space-field-legend);\n}\n.fieldGroup > [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) + *,\n.fieldGroup > * + [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n margin-top: calc(var(--cipher-space-content-section) - var(--cipher-space-field-group));\n}\n.fieldLegend[data-variant=\"label\"] {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.alertTitle {\n grid-column: 1;\n grid-row: 1;\n min-width: 0;\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.alertDescription {\n grid-column: 1;\n min-width: 0;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n\n:is(.fieldDescription, .alertDescription) a:not([data-slot]) {\n color: var(--cipher-link);\n text-decoration-line: none;\n text-decoration-thickness: var(--cipher-size-control-border);\n text-underline-offset: var(--cipher-space-3);\n}\n:is(.fieldDescription, .alertDescription) a:not([data-slot]):focus-visible {\n text-decoration-line: underline;\n}\n@media (hover: hover) {\n :is(.fieldDescription, .alertDescription) a:not([data-slot]):hover {\n color: var(--cipher-text2);\n text-decoration-line: underline;\n text-decoration-thickness: var(--cipher-space-2);\n }\n}\n\n.alert {\n position: relative;\n display: grid;\n width: 100%;\n grid-template-columns: minmax(0, 1fr);\n border: 1px solid var(--cipher-line-soft);\n border-radius: 0;\n padding: var(--cipher-space-12);\n gap: var(--cipher-space-4) var(--cipher-space-8);\n overflow-wrap: anywhere;\n text-align: start;\n}\n.alert[data-has-icon] {\n grid-template-columns: auto minmax(0, 1fr);\n}\n.alert > svg {\n grid-column: 1;\n grid-row: 1 / span 2;\n align-self: start;\n transform: translateY(var(--cipher-space-2));\n color: currentColor;\n}\n.alert[data-has-icon]:not([data-has-title]) > svg {\n grid-row: 1;\n transform: translateY(calc(var(--cipher-space-2) / 2));\n}\n.alert[data-has-icon] > :is(.alertTitle, .alertDescription) {\n grid-column: 2;\n}\n.alert[data-has-title] > .alertDescription {\n grid-row: 2;\n}\n.alert[data-has-action] {\n grid-template-columns: minmax(0, 1fr) auto;\n padding-inline-end: var(--cipher-space-12);\n}\n.alert[data-has-icon][data-has-action] {\n grid-template-columns: auto minmax(0, 1fr) auto;\n}\n.alertAction {\n position: static;\n grid-column: -2 / -1;\n grid-row: 1 / span 2;\n align-self: start;\n}\n\n.fieldTitle {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.fieldGroup {\n gap: var(--cipher-space-field-group);\n}\n.field {\n gap: var(--cipher-space-field-label);\n}\n.field:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field);\n}\n.field[data-width=\"wide\"]:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field-wide);\n}\n.field[data-orientation=\"horizontal\"] {\n gap: var(--cipher-space-12);\n}\n" + "content": ".avatarFallback {\n background: var(--cipher-tint);\n color: var(--cipher-ink);\n font-family: var(--cipher-type-label-font-family);\n font-weight: var(--cipher-type-label-font-weight);\n line-height: 1;\n letter-spacing: 0;\n}\n.avatarFallback svg {\n width: 50%;\n height: 50%;\n max-width: var(--cipher-size-icon);\n max-height: var(--cipher-size-icon);\n}\n.count {\n font-family: var(--cipher-type-mono-sm-font-family);\n font-size: var(--cipher-type-mono-sm-font-size);\n line-height: var(--cipher-type-mono-sm-line-height);\n font-weight: var(--cipher-type-mono-sm-font-weight);\n letter-spacing: var(--cipher-type-mono-sm-letter-spacing);\n display: inline-flex;\n min-width: var(--cipher-size-count);\n height: var(--cipher-size-count);\n padding: 0 var(--cipher-space-4);\n align-items: center;\n justify-content: center;\n border-radius: 0;\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.countInk {\n background: var(--cipher-ink);\n color: var(--cipher-surface);\n}\n.countNeutral {\n background: var(--cipher-tint);\n color: var(--cipher-text2);\n}\n.identity {\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n}\n.identityText {\n flex: 1 1 auto;\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n.identityTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.identityDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n color: var(--cipher-text2, var(--muted-foreground));\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mono {\n font-family: var(--cipher-font-mono, monospace);\n}\n.media {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n flex: 0 0 auto;\n color: var(--cipher-ink, var(--foreground));\n background: var(--cipher-surface);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.mediaSmall {\n width: 24px;\n height: 24px;\n}\n.tile {\n display: flex;\n box-sizing: border-box;\n text-decoration: none;\n align-items: center;\n gap: 12px;\n width: 100%;\n padding: var(--cipher-space-12);\n text-align: start;\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-surface, var(--background));\n color: var(--cipher-ink, var(--foreground));\n}\n.tile:not([aria-disabled=\"true\"]):hover {\n border-color: var(--cipher-control, var(--border));\n background: var(--cipher-hover);\n}\n.tile[data-in-frame] {\n border-color: transparent;\n background: var(--cipher-tint);\n}\n.tile[data-in-frame]:not([aria-disabled=\"true\"]):hover {\n background: color-mix(in srgb, var(--cipher-mix-ink) var(--cipher-hover-mix), var(--cipher-tint));\n}\n.tile[aria-pressed=\"true\"],\n.tile[aria-current=\"page\"] {\n border-color: var(--cipher-ink, var(--foreground));\n}\n.tile:disabled,\n.tile[data-disabled] {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.tile:focus-visible {\n outline: 2px solid var(--ring, var(--ring));\n outline-offset: 2px;\n}\n.tileBody {\n flex: 1;\n min-width: 0;\n}\n.tile[aria-disabled=\"true\"] {\n cursor: not-allowed;\n}\n.tile[data-layout=\"stacked\"] {\n flex-direction: column;\n align-items: stretch;\n gap: var(--cipher-space-4);\n padding: var(--cipher-space-16);\n}\n.tile[data-layout=\"stacked\"] > .tileBody {\n flex: 1 1 auto;\n}\n.tileTop {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: var(--cipher-space-12);\n min-width: 0;\n margin-bottom: var(--cipher-space-8);\n}\n.tileAside {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-8);\n min-width: 0;\n margin-inline-start: auto;\n color: var(--cipher-muted);\n}\n.tileAside > :not(.tileEyebrow) {\n flex: none;\n}\n.tileEyebrow {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--cipher-muted);\n font-family: var(--cipher-type-eyebrow-font-family);\n font-size: var(--cipher-type-eyebrow-font-size);\n line-height: var(--cipher-type-eyebrow-line-height);\n font-weight: var(--cipher-type-eyebrow-font-weight);\n letter-spacing: var(--cipher-type-eyebrow-letter-spacing);\n text-transform: uppercase;\n}\n.tile[aria-disabled=\"true\"]:not([data-disabled]) > .tileTop {\n opacity: 0.5;\n}\n.banner {\n display: flex;\n width: 100%;\n align-items: center;\n flex-wrap: wrap;\n gap: 12px;\n border: 1px solid var(--cipher-accent-line);\n background: var(--cipher-accent-wash);\n color: var(--cipher-ink, var(--foreground));\n padding: 10px 16px;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n.banner > svg {\n flex: 0 0 auto;\n color: var(--cipher-accent-fg);\n}\n.bannerText {\n flex: 1;\n min-width: min(100%, 160px);\n}\n.steps {\n display: flex;\n flex-wrap: wrap;\n gap: 12px;\n padding: 0;\n margin: 0;\n list-style: none;\n}\n.step {\n display: flex;\n align-items: center;\n gap: 6px;\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.step[data-current] {\n color: var(--cipher-ink, var(--foreground));\n font-weight: var(--cipher-type-title-sm-font-weight);\n}\n.stepNumber {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n border: 1px solid var(--cipher-line-soft, var(--border));\n}\n.step[data-current] .stepNumber {\n background: repeating-linear-gradient(\n 135deg,\n var(--cipher-tint, var(--muted)) 0 2px,\n transparent 2px 4px\n );\n border-color: var(--cipher-ink, var(--foreground));\n}\n:global(.cipher) {\n --cipher-toast-bottom: var(--cipher-space-action-bar-offset);\n}\n:global(.cipher)[data-action-bar-reserve] {\n --cipher-toast-bottom: calc(var(--cipher-size-action-bar) + 2 * var(--cipher-space-action-bar-offset));\n}\n.toastFixed {\n position: fixed;\n inset-inline-end: var(--cipher-space-16);\n bottom: var(--cipher-toast-bottom);\n z-index: 100;\n transition: bottom var(--cipher-duration-moderate) var(--cipher-ease-standard);\n}\n@media (prefers-reduced-motion: reduce) {\n .toastFixed {\n transition-duration: 0s;\n }\n}\n.toastTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.toastDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin-top: 2px;\n color: var(--cipher-text2, var(--muted-foreground));\n}\n.avatarStatus[data-status=\"ok\"] {\n background: var(--cipher-ok);\n}\n.avatarStatus[data-status=\"warn\"] {\n background: var(--cipher-warn);\n}\n.fieldLabels {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n min-width: 0;\n}\n.fieldLabelRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n min-width: 0;\n}\n.globHelp {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-4);\n}\n.legendRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n width: 100%;\n min-width: 0;\n padding: 0;\n}\n.legendActions {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-8);\n margin-inline-start: auto;\n}\n.fieldHelp {\n margin-block: calc((var(--cipher-type-field-label-line-height) - var(--cipher-size-control-xs)) / 2);\n color: var(--cipher-muted);\n}\n.fieldDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin: 0;\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.fieldError {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-6);\n margin: 0;\n color: var(--cipher-bad);\n}\n.fieldError > svg {\n flex: none;\n margin-block-start: calc((var(--cipher-type-small-line-height) - 14px) / 2);\n}\n.fieldErrorLines {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-2);\n}\n.fieldControl {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n flex: 1;\n min-width: 0;\n}\n.badge {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n height: var(--cipher-size-badge);\n padding: 0 var(--cipher-space-8);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.badge.mono {\n font-family: var(--cipher-type-mono-sm-font-family);\n}\n.badge[data-slot][data-tone] {\n border-color: var(--cipher-line-soft);\n color: var(--cipher-muted);\n background: transparent;\n}\n.badge[data-size=\"sm\"] {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph-sm);\n height: var(--cipher-size-badge-sm);\n padding-inline: var(--cipher-space-6);\n line-height: calc(var(--cipher-size-badge-sm) - 2 * var(--cipher-size-control-border));\n}\n.badge:is([data-size=\"control-sm\"], [data-size=\"control-md\"], [data-size=\"control-lg\"]) {\n --cipher-badge-glyph: var(--cipher-size-icon);\n gap: var(--cipher-space-control-gap);\n font-family: var(--cipher-type-body-font-family);\n font-size: var(--cipher-type-body-font-size);\n line-height: var(--cipher-type-body-line-height);\n font-weight: var(--cipher-type-body-font-weight);\n letter-spacing: var(--cipher-type-body-letter-spacing);\n}\n.badge[data-size=\"control-sm\"] {\n --cipher-badge-glyph: var(--cipher-size-icon-sm);\n height: var(--cipher-size-control-sm);\n padding-inline: var(--cipher-space-control-inline-sm);\n}\n.badge[data-size=\"control-md\"] {\n height: var(--cipher-size-control-md);\n padding-inline: var(--cipher-space-control-inline-md);\n}\n.badge[data-size=\"control-lg\"] {\n height: var(--cipher-size-control-lg);\n padding-inline: var(--cipher-space-control-inline);\n}\n.badge[data-slot][data-tone=\"soft\"] {\n border-color: var(--cipher-line-soft);\n background: var(--cipher-line-soft);\n color: var(--cipher-text2);\n}\n.badge[data-slot][data-tone=\"solid\"] {\n border-color: var(--cipher-ink);\n background: var(--cipher-ink);\n color: var(--cipher-on-ink);\n}\n.badge[data-slot][data-tone=\"accent\"] {\n border-color: var(--cipher-accent);\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.badge[data-slot][data-tone=\"ok\"] {\n border-color: var(--cipher-ok-line);\n background: var(--cipher-ok-bg);\n color: var(--cipher-ok);\n}\n.badge[data-slot][data-tone=\"warn\"] {\n border-color: var(--cipher-warn-line);\n background: var(--cipher-warn-bg);\n color: var(--cipher-warn);\n}\n.badge[data-slot][data-tone=\"bad\"] {\n border-color: var(--cipher-bad-line);\n background: var(--cipher-bad-bg);\n color: var(--cipher-bad);\n}\n.badge[data-slot][data-tone=\"info\"] {\n border-color: var(--cipher-info-line);\n background: var(--cipher-info-bg);\n color: var(--cipher-info);\n}\n.badgeDot {\n width: 6px;\n height: 6px;\n background: currentColor;\n flex-shrink: 0;\n}\n.steps .step {\n display: flex;\n flex: 1;\n flex-direction: column;\n align-items: flex-start;\n gap: 6px;\n}\n.steps .step::before {\n content: \"\";\n display: block;\n width: 100%;\n height: 6px;\n background: var(--cipher-line-soft);\n}\n.steps .step[data-complete]::before {\n background: var(--cipher-ink);\n}\n.steps .step[data-current]::before {\n background: repeating-linear-gradient(135deg, var(--cipher-ink) 0 2px, var(--cipher-line-soft) 2px 4px);\n}\n.fieldset {\n min-width: 0;\n width: 100%;\n padding: 0;\n border: 0;\n display: flex;\n flex-direction: column;\n gap: 6px;\n}\n.fieldset > legend {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n margin-bottom: 6px;\n}\n.alert[data-tone=\"neutral\"] {\n background: var(--cipher-paper);\n border-color: var(--cipher-line-soft);\n color: var(--cipher-ink);\n}\n.alert[data-tone=\"neutral\"] > svg {\n color: var(--cipher-muted);\n}\n.alert[data-tone=\"info\"] {\n background: var(--cipher-info-bg);\n border-color: var(--cipher-info-line);\n color: var(--cipher-info);\n}\n.alert[data-tone=\"ok\"] {\n background: var(--cipher-ok-bg);\n border-color: var(--cipher-ok-line);\n color: var(--cipher-ok);\n}\n.alert[data-tone=\"warn\"] {\n background: var(--cipher-warn-bg);\n border-color: var(--cipher-warn-line);\n color: var(--cipher-warn);\n}\n.alert[data-tone=\"bad\"] {\n background: var(--cipher-bad-bg);\n border-color: var(--cipher-bad-line);\n color: var(--cipher-bad);\n}\n.alertActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-8);\n padding-top: var(--cipher-space-actions-gap);\n}\n.toastStack {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-8);\n width: max-content;\n max-width: min(var(--cipher-size-toast), 100%);\n}\n.toastStack.toastFixed {\n max-width: min(var(--cipher-size-toast), calc(100vw - 2 * var(--cipher-space-16)));\n}\n.toast {\n border-radius: 0;\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-8);\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-toast-bg, var(--popover));\n color: var(--cipher-ink, var(--foreground));\n box-shadow: var(--cipher-shadow-pop, 0 4px 16px rgb(0 0 0 / 0.12));\n padding: var(--cipher-space-12);\n --cipher-toast-line: var(--cipher-type-row-title-line-height);\n}\n.toast > svg {\n flex: none;\n height: var(--cipher-toast-line);\n}\n.toastBody {\n min-width: 0;\n flex: 1 1 auto;\n}\n.toastTitle,\n.toastDescription {\n overflow-wrap: anywhere;\n}\n.toast > button {\n flex: none;\n margin-block: calc((var(--cipher-toast-line) - var(--cipher-action-height)) / 2);\n}\n.toastActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-4);\n margin-top: var(--cipher-space-8);\n margin-inline-start: calc(-1 * var(--cipher-space-control-inline-sm));\n contain: inline-size;\n}\n.toastActions > button {\n white-space: normal;\n max-width: 100%;\n}\n.avatarShape {\n border-radius: 0;\n}\n.avatarShape::after {\n content: \"\";\n position: absolute;\n inset: 0;\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n mix-blend-mode: var(--cipher-avatar-blend);\n pointer-events: none;\n}\n.avatarShape::after,\n.avatarShape > [data-slot=\"avatar-fallback\"],\n.avatarShape > [data-slot=\"avatar-image\"] {\n border-radius: inherit;\n}\n.avatarShape > [data-slot=\"avatar-fallback\"] {\n font-size: inherit;\n}\n.avatarRing {\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n}\n.avatarGroup {\n display: flex;\n}\n.avatarGroup > [data-slot=\"avatar\"] + [data-slot=\"avatar\"],\n.avatarGroup > * + [data-slot=\"avatar-group-count\"] {\n margin-inline-start: calc(-1 * var(--cipher-space-4));\n}\n.avatarCount {\n border-radius: 0;\n background: var(--cipher-tint);\n color: var(--cipher-muted);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n font-weight: var(--cipher-type-caption-font-weight);\n}\n.avatarStatus {\n position: absolute;\n z-index: 1;\n inset-inline-end: calc(-1 * var(--cipher-space-2));\n bottom: calc(-1 * var(--cipher-space-2));\n width: var(--cipher-space-8);\n height: var(--cipher-space-8);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n background: var(--cipher-faint);\n border-radius: 0;\n}\n\n.fieldLegend {\n font-family: var(--cipher-type-title-sm-font-family);\n font-size: var(--cipher-type-title-sm-font-size);\n line-height: var(--cipher-type-title-sm-line-height);\n font-weight: var(--cipher-type-title-sm-font-weight);\n letter-spacing: var(--cipher-type-title-sm-letter-spacing);\n margin-bottom: var(--cipher-space-field-label);\n}\n.fieldLegend[data-variant=\"legend\"] {\n margin-bottom: var(--cipher-space-field-legend);\n}\n.fieldLegend[data-variant=\"legend\"] + .fieldDescription {\n margin-top: calc(var(--cipher-space-field-label) - var(--cipher-space-field-legend));\n}\n[data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n row-gap: var(--cipher-space-field-legend);\n}\n.fieldGroup > [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) + *,\n.fieldGroup > * + [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n margin-top: calc(var(--cipher-space-content-section) - var(--cipher-space-field-group));\n}\n.fieldLegend[data-variant=\"label\"] {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.alertTitle {\n grid-column: 1;\n grid-row: 1;\n min-width: 0;\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.alertDescription {\n grid-column: 1;\n min-width: 0;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n\n:is(.fieldDescription, .alertDescription) a:not([data-slot]) {\n color: var(--cipher-link);\n text-decoration-line: none;\n text-decoration-thickness: var(--cipher-size-control-border);\n text-underline-offset: var(--cipher-space-3);\n}\n:is(.fieldDescription, .alertDescription) a:not([data-slot]):focus-visible {\n text-decoration-line: underline;\n}\n@media (hover: hover) {\n :is(.fieldDescription, .alertDescription) a:not([data-slot]):hover {\n color: var(--cipher-text2);\n text-decoration-line: underline;\n text-decoration-thickness: var(--cipher-space-2);\n }\n}\n\n.alert {\n position: relative;\n display: grid;\n width: 100%;\n grid-template-columns: minmax(0, 1fr);\n border: 1px solid var(--cipher-line-soft);\n border-radius: 0;\n padding: var(--cipher-space-12);\n gap: var(--cipher-space-4) var(--cipher-space-8);\n overflow-wrap: anywhere;\n text-align: start;\n}\n.alert[data-has-icon] {\n grid-template-columns: auto minmax(0, 1fr);\n}\n.alert > svg {\n grid-column: 1;\n grid-row: 1 / span 2;\n align-self: start;\n transform: translateY(var(--cipher-space-2));\n color: currentColor;\n}\n.alert[data-has-icon]:not([data-has-title]) > svg {\n grid-row: 1;\n transform: translateY(calc(var(--cipher-space-2) / 2));\n}\n.alert[data-has-icon] > :is(.alertTitle, .alertDescription) {\n grid-column: 2;\n}\n.alert[data-has-title] > .alertDescription {\n grid-row: 2;\n}\n.alert[data-has-action] {\n grid-template-columns: minmax(0, 1fr) auto;\n padding-inline-end: var(--cipher-space-12);\n}\n.alert[data-has-icon][data-has-action] {\n grid-template-columns: auto minmax(0, 1fr) auto;\n}\n.alertAction {\n position: static;\n grid-column: -2 / -1;\n grid-row: 1 / span 2;\n align-self: start;\n}\n\n.fieldTitle {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.fieldGroup {\n gap: var(--cipher-space-field-group);\n}\n.field {\n gap: var(--cipher-space-field-label);\n}\n.field:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field);\n}\n.field[data-width=\"wide\"]:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field-wide);\n}\n.field[data-orientation=\"horizontal\"] {\n gap: var(--cipher-space-12);\n}\n" } ] } diff --git a/r/item.json b/r/item.json index f0cd8fea..7f1b56f2 100644 --- a/r/item.json +++ b/r/item.json @@ -17,7 +17,7 @@ "path": "src/components/cipher/ui/item.tsx", "type": "registry:file", "target": "src/components/cipher/ui/item.tsx", - "content": "import * as React from \"react\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport { Slot } from \"radix-ui\";\n\nimport { Separator } from \"./separator\";\n\nimport { useDescendantFlags } from \"../lib/descendant-flags\";\nimport { useInFrame } from \"../lib/frame-context\";\nimport { cn } from \"../lib/utils\";\nimport { Icon, type IconSource } from \"./icon\";\nimport { Tooltip } from \"./tooltip\";\n\nimport controlStyles from \"./controls.module.css\";\nimport helperStyles from \"./helpers.module.css\";\nimport itemStyles from \"./item.module.css\";\n\nconst ItemGroupContext = React.createContext(false);\n\nconst groupFlags = { \"data-has-sm\": '[data-size=\"sm\"]', \"data-has-xs\": '[data-size=\"xs\"]' };\nconst groupWatch = { attributes: [\"data-size\"] };\nconst itemFlags = { \"data-has-description\": '[data-slot=\"item-description\"]' };\n\nfunction ItemGroup({ className, ref, ...props }: React.ComponentProps<\"div\">) {\n const groupRef = useDescendantFlags(groupFlags, groupWatch, ref);\n return (\n \n \n \n );\n}\nItemGroup.displayName = \"ItemGroup\";\n\nfunction ItemSeparator({ className, ref, ...props }: React.ComponentProps) {\n return (\n \n );\n}\nItemSeparator.displayName = \"ItemSeparator\";\n\nconst itemVariants = cva(\n [\n controlStyles.focusOutline,\n \"group/item flex w-full flex-wrap rounded-lg text-sm transition-colors duration-(--cipher-duration-fast) [a]:transition-colors [a]:hover:bg-[color:var(--cipher-action-ghost-hover)]\"\n ],\n {\n variants: {\n variant: {\n default: \"border border-transparent\",\n outline: \"border border-[color:var(--cipher-line-soft)]\",\n muted: \"border border-transparent bg-muted/50\"\n },\n size: {\n default: \"gap-2.5 px-3 py-2.5\",\n md: \"gap-2.5 px-3 py-2.5\",\n sm: \"gap-2.5 px-3 py-2.5\",\n xs: \"gap-2 px-3 py-2 in-data-[slot=dropdown-menu-content]:p-0\"\n }\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\"\n }\n }\n);\n\nexport type ItemProps = Omit, \"title\"> &\n VariantProps & {\n asChild?: boolean;\n title?: React.ReactNode;\n description?: React.ReactNode;\n icon?: IconSource;\n media?: React.ReactNode;\n badge?: React.ReactNode;\n meta?: React.ReactNode;\n error?: React.ReactNode;\n /** Buttons at the row end. They sit beside the copy once the row is 36rem wide and stack below it under that. The width is the content box, so an outline Item needs its padding and border on top (about 39rem outside). */\n actions?: React.ReactNode;\n actionsPlacement?: \"end\" | \"below\";\n unread?: boolean;\n resolved?: boolean;\n /**\n * Keeps the title and description on one line with an ellipsis, and puts the full text in a\n * native tooltip. Unset, the title still truncates and the description wraps to two lines\n * before its ellipsis, except on a row with actions at the default or md size, where both\n * wrap. titleLines takes over the title when set, so truncate then governs only the\n * description.\n */\n truncate?: boolean;\n /**\n * Clamps the title to this many lines and shows the full title in a Tooltip while it is cut\n * off. Unset leaves the title to truncate. titleLines={1} reads like truncate but uses a Cipher\n * tooltip instead of a native one.\n */\n titleLines?: number;\n mono?: boolean;\n };\n\nfunction ClampedTitle({\n lines,\n className,\n children\n}: {\n lines: number;\n className?: string;\n children: React.ReactNode;\n}) {\n const [element, setElement] = React.useState(null);\n const [clamped, setClamped] = React.useState(false);\n React.useLayoutEffect(() => {\n if (!element) return;\n const measure = () => setClamped(element.scrollHeight > element.clientHeight + 1);\n measure();\n const observer = new ResizeObserver(measure);\n observer.observe(element);\n return () => observer.disconnect();\n }, [element, lines, children]);\n return (\n \n \n {children}\n \n \n );\n}\nconst hasVisibleText = (root: HTMLElement) => {\n const walker = document.createTreeWalker(root, NodeFilter.SHOW_TEXT);\n for (let node = walker.nextNode(); node; node = walker.nextNode()) {\n if (!node.textContent?.trim()) continue;\n let element = node.parentElement;\n while (element && element !== root && element.offsetWidth > 1) element = element.parentElement;\n if (element === root) return true;\n }\n return false;\n};\n\nfunction useIconOnly(enabled: boolean) {\n const [element, setElement] = React.useState(null);\n const [iconOnly, setIconOnly] = React.useState(false);\n React.useLayoutEffect(() => {\n if (!enabled || !element) return setIconOnly(false);\n const sync = () => setIconOnly(!hasVisibleText(element));\n sync();\n const observer = new MutationObserver(sync);\n observer.observe(element, { childList: true, subtree: true, characterData: true });\n return () => observer.disconnect();\n }, [enabled, element]);\n return [iconOnly, setElement] as const;\n}\n\nfunction Item({\n className,\n variant = \"default\",\n size = \"default\",\n asChild = false,\n title,\n description,\n icon,\n media,\n badge,\n meta,\n error,\n actions,\n actionsPlacement = \"end\",\n unread,\n resolved,\n truncate,\n titleLines,\n mono = false,\n children,\n ref,\n ...props\n}: ItemProps & { ref?: React.Ref }) {\n const inList = React.useContext(ItemGroupContext);\n const Comp = asChild ? Slot.Root : \"div\";\n const itemRef = useDescendantFlags(itemFlags, undefined, ref);\n const composed = title !== undefined || media || icon || description || actions;\n const hasActions = Boolean(actions) && (size === \"default\" || size === \"md\");\n const truncated = truncate ?? !hasActions;\n const [actionsIconOnly, actionsRef] = useIconOnly(hasActions);\n const metaNode = meta && (\n {meta}\n );\n const body = composed ? (\n <>\n {unread && Unread}\n {(media || icon) && (\n \n {media ?? }\n {unread && }\n \n )}\n \n
\n
\n {unread && !(media || icon) && (\n \n )}\n {titleLines ? (\n \n {title}\n \n ) : (\n \n {title}\n \n )}\n {badge}\n {hasActions && metaNode}\n
\n {description && (\n \n {description}\n
\n )}\n {error && (\n
\n \n {error}\n
\n )}\n {children && !asChild &&
{children}
}\n \n {(actions || meta) && (\n \n {!hasActions && metaNode}\n {actions}\n \n )}\n \n \n ) : (\n children\n );\n const content =\n composed && asChild && React.isValidElement<{ children?: React.ReactNode }>(children)\n ? React.cloneElement(children, undefined, body)\n : body;\n const item = (\n \n {content}\n \n );\n return inList && asChild ?
{item}
: item;\n}\nItem.displayName = \"Item\";\n\nconst itemMediaVariants = cva(\n \"flex shrink-0 items-center justify-center gap-2 group-data-[has-description]/item:translate-y-0.5 group-data-[has-description]/item:self-start [&_svg]:pointer-events-none\",\n {\n variants: {\n variant: {\n default: \"bg-transparent\",\n icon: \"[&_svg:not([class*='size-'])]:size-4\",\n image:\n \"size-10 overflow-hidden rounded-sm group-data-[size=sm]/item:size-8 group-data-[size=xs]/item:size-6 [&_img]:size-full [&_img]:object-cover\"\n }\n },\n defaultVariants: {\n variant: \"default\"\n }\n }\n);\n\nfunction ItemMedia({\n className,\n variant = \"default\",\n ref,\n ...props\n}: React.ComponentPropsWithoutRef<\"div\"> &\n VariantProps & { ref?: React.Ref> }) {\n return (\n \n );\n}\nItemMedia.displayName = \"ItemMedia\";\n\nfunction ItemContent({ className, ref, ...props }: React.ComponentProps<\"div\">) {\n return (\n \n );\n}\nItemContent.displayName = \"ItemContent\";\n\nfunction ItemTitle({ className, ref, ...props }: React.ComponentProps<\"div\">) {\n return (\n \n );\n}\nItemTitle.displayName = \"ItemTitle\";\n\nfunction ItemDescription({ className, ref, ...props }: React.ComponentProps<\"p\">) {\n return (\n a:hover]:text-primary line-clamp-2 text-left [&>a]:underline [&>a]:underline-offset-4\",\n className\n )}\n {...props}\n />\n );\n}\nItemDescription.displayName = \"ItemDescription\";\n\nfunction ItemActions({ className, ref, ...props }: React.ComponentProps<\"div\">) {\n return (\n \n );\n}\nItemActions.displayName = \"ItemActions\";\n\nfunction ItemHeader({ className, ref, ...props }: React.ComponentProps<\"div\">) {\n return (\n \n );\n}\nItemHeader.displayName = \"ItemHeader\";\n\nfunction ItemFooter({ className, ref, ...props }: React.ComponentProps<\"div\">) {\n return (\n \n );\n}\nItemFooter.displayName = \"ItemFooter\";\n\nexport {\n Item,\n ItemActions,\n ItemContent,\n ItemDescription,\n ItemFooter,\n ItemGroup,\n ItemHeader,\n ItemMedia,\n ItemSeparator,\n ItemTitle\n};\n\nexport function Media({\n icon,\n size = \"md\",\n tone,\n children,\n className,\n style,\n ref,\n ...props\n}: React.ComponentPropsWithoutRef<\"span\"> & {\n icon?: IconSource;\n size?: \"sm\" | \"md\" | number;\n tone?: \"ok\" | \"warn\" | \"bad\" | \"info\";\n} & { ref?: React.Ref }) {\n return (\n \n {icon ? (\n \n ) : (\n children\n )}\n
\n );\n}\nMedia.displayName = \"Media\";\nexport function Tile({\n selected,\n title,\n description,\n media,\n layout = \"row\",\n eyebrow,\n disabledReason,\n children,\n className,\n onClick,\n type = \"button\",\n ref,\n ...props\n}: Omit, \"title\"> & {\n selected?: boolean;\n title?: React.ReactNode;\n description?: React.ReactNode;\n media?: React.ReactNode;\n /** stacked puts the media and eyebrow on top, then the title on one line and a description clamped at two, with no chevron. For grids of choices such as a TilePicker. */\n layout?: \"row\" | \"stacked\";\n /** A short label across from the media in the stacked layout, such as a category. */\n eyebrow?: React.ReactNode;\n /** Disables the tile and shows why in place of the description. Unlike disabled, it stays focusable so the reason can be reached. */\n disabledReason?: string;\n} & { ref?: React.Ref }) {\n const inFrame = useInFrame(\"Tile\");\n const reason = disabledReason || undefined;\n const detail = reason ?? description;\n const stacked = layout === \"stacked\";\n return (\n {\n if (reason) {\n event.preventDefault();\n return;\n }\n onClick?.(event);\n }}\n {...props}\n >\n {stacked\n ? (media || eyebrow) && (\n \n {media && {media}}\n {eyebrow && (\n \n {eyebrow}\n \n )}\n \n )\n : media && {media}}\n \n {title !== undefined ? (\n <>\n \n {title}\n \n {detail &&\n (stacked ? (\n \n {detail}\n \n ) : (\n \n {detail}\n \n ))}\n {children}\n \n ) : (\n children\n )}\n \n {!stacked && }\n \n );\n}\nTile.displayName = \"Tile\";\n" + "content": "import * as React from \"react\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport { Slot } from \"radix-ui\";\n\nimport { Separator } from \"./separator\";\n\nimport { useDescendantFlags } from \"../lib/descendant-flags\";\nimport { useInFrame } from \"../lib/frame-context\";\nimport { cn } from \"../lib/utils\";\nimport { Icon, type IconSource } from \"./icon\";\nimport { Tooltip } from \"./tooltip\";\n\nimport controlStyles from \"./controls.module.css\";\nimport helperStyles from \"./helpers.module.css\";\nimport itemStyles from \"./item.module.css\";\n\nconst ItemGroupContext = React.createContext(false);\n\nconst groupFlags = { \"data-has-sm\": '[data-size=\"sm\"]', \"data-has-xs\": '[data-size=\"xs\"]' };\nconst groupWatch = { attributes: [\"data-size\"] };\nconst itemFlags = { \"data-has-description\": '[data-slot=\"item-description\"]' };\n\nfunction ItemGroup({ className, ref, ...props }: React.ComponentProps<\"div\">) {\n const groupRef = useDescendantFlags(groupFlags, groupWatch, ref);\n return (\n \n \n \n );\n}\nItemGroup.displayName = \"ItemGroup\";\n\nfunction ItemSeparator({ className, ref, ...props }: React.ComponentProps) {\n return (\n \n );\n}\nItemSeparator.displayName = \"ItemSeparator\";\n\nconst itemVariants = cva(\n [\n controlStyles.focusOutline,\n \"group/item flex w-full flex-wrap rounded-lg text-sm transition-colors duration-(--cipher-duration-fast) [a]:transition-colors [a]:hover:bg-[color:var(--cipher-action-ghost-hover)]\"\n ],\n {\n variants: {\n variant: {\n default: \"border border-transparent\",\n outline: \"border border-[color:var(--cipher-line-soft)]\",\n muted: \"border border-transparent bg-muted/50\"\n },\n size: {\n default: \"gap-2.5 px-3 py-2.5\",\n md: \"gap-2.5 px-3 py-2.5\",\n sm: \"gap-2.5 px-3 py-2.5\",\n xs: \"gap-2 px-3 py-2 in-data-[slot=dropdown-menu-content]:p-0\"\n }\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\"\n }\n }\n);\n\nexport type ItemProps = Omit, \"title\"> &\n VariantProps & {\n asChild?: boolean;\n title?: React.ReactNode;\n description?: React.ReactNode;\n icon?: IconSource;\n media?: React.ReactNode;\n badge?: React.ReactNode;\n meta?: React.ReactNode;\n error?: React.ReactNode;\n /** Buttons at the row end. They sit beside the copy once the row is 36rem wide and stack below it under that. The width is the content box, so an outline Item needs its padding and border on top (about 39rem outside). */\n actions?: React.ReactNode;\n actionsPlacement?: \"end\" | \"below\";\n unread?: boolean;\n resolved?: boolean;\n /**\n * Keeps the title and description on one line with an ellipsis, and puts the full text in a\n * native tooltip. Unset, the title still truncates and the description wraps to two lines\n * before its ellipsis, except on a row with actions at the default or md size, where both\n * wrap. titleLines takes over the title when set, so truncate then governs only the\n * description.\n */\n truncate?: boolean;\n /**\n * Clamps the title to this many lines and shows the full title in a Tooltip while it is cut\n * off. Unset leaves the title to truncate. titleLines={1} reads like truncate but uses a Cipher\n * tooltip instead of a native one.\n */\n titleLines?: number;\n mono?: boolean;\n };\n\nfunction ClampedTitle({\n lines,\n className,\n children\n}: {\n lines: number;\n className?: string;\n children: React.ReactNode;\n}) {\n const [element, setElement] = React.useState(null);\n const [clamped, setClamped] = React.useState(false);\n React.useLayoutEffect(() => {\n if (!element) return;\n const measure = () => setClamped(element.scrollHeight > element.clientHeight + 1);\n measure();\n const observer = new ResizeObserver(measure);\n observer.observe(element);\n return () => observer.disconnect();\n }, [element, lines, children]);\n return (\n \n \n {children}\n \n \n );\n}\nconst hasVisibleText = (root: HTMLElement) => {\n const walker = document.createTreeWalker(root, NodeFilter.SHOW_TEXT);\n for (let node = walker.nextNode(); node; node = walker.nextNode()) {\n if (!node.textContent?.trim()) continue;\n let element = node.parentElement;\n while (element && element !== root && element.offsetWidth > 1) element = element.parentElement;\n if (element === root) return true;\n }\n return false;\n};\n\nfunction useIconOnly(enabled: boolean) {\n const [element, setElement] = React.useState(null);\n const [iconOnly, setIconOnly] = React.useState(false);\n React.useLayoutEffect(() => {\n if (!enabled || !element) return setIconOnly(false);\n const sync = () => setIconOnly(!hasVisibleText(element));\n sync();\n const observer = new MutationObserver(sync);\n observer.observe(element, { childList: true, subtree: true, characterData: true });\n return () => observer.disconnect();\n }, [enabled, element]);\n return [iconOnly, setElement] as const;\n}\n\nfunction Item({\n className,\n variant = \"default\",\n size = \"default\",\n asChild = false,\n title,\n description,\n icon,\n media,\n badge,\n meta,\n error,\n actions,\n actionsPlacement = \"end\",\n unread,\n resolved,\n truncate,\n titleLines,\n mono = false,\n children,\n ref,\n ...props\n}: ItemProps & { ref?: React.Ref }) {\n const inList = React.useContext(ItemGroupContext);\n const Comp = asChild ? Slot.Root : \"div\";\n const itemRef = useDescendantFlags(itemFlags, undefined, ref);\n const composed = title !== undefined || media || icon || description || actions;\n const hasActions = Boolean(actions) && (size === \"default\" || size === \"md\");\n const truncated = truncate ?? !hasActions;\n const [actionsIconOnly, actionsRef] = useIconOnly(hasActions);\n const metaNode = meta && (\n {meta}\n );\n const body = composed ? (\n <>\n {unread && Unread}\n {(media || icon) && (\n \n {media ?? }\n {unread && }\n \n )}\n \n
\n
\n {unread && !(media || icon) && (\n \n )}\n {titleLines ? (\n \n {title}\n \n ) : (\n \n {title}\n \n )}\n {badge}\n {hasActions && metaNode}\n
\n {description && (\n \n {description}\n
\n )}\n {error && (\n
\n \n {error}\n
\n )}\n {children && !asChild &&
{children}
}\n \n {(actions || meta) && (\n \n {!hasActions && metaNode}\n {actions}\n \n )}\n \n \n ) : (\n children\n );\n const content =\n composed && asChild && React.isValidElement<{ children?: React.ReactNode }>(children)\n ? React.cloneElement(children, undefined, body)\n : body;\n const item = (\n \n {content}\n \n );\n return inList && asChild ?
{item}
: item;\n}\nItem.displayName = \"Item\";\n\nconst itemMediaVariants = cva(\n \"flex shrink-0 items-center justify-center gap-2 group-data-[has-description]/item:translate-y-0.5 group-data-[has-description]/item:self-start [&_svg]:pointer-events-none\",\n {\n variants: {\n variant: {\n default: \"bg-transparent\",\n icon: \"[&_svg:not([class*='size-'])]:size-4\",\n image:\n \"size-10 overflow-hidden rounded-sm group-data-[size=sm]/item:size-8 group-data-[size=xs]/item:size-6 [&_img]:size-full [&_img]:object-cover\"\n }\n },\n defaultVariants: {\n variant: \"default\"\n }\n }\n);\n\nfunction ItemMedia({\n className,\n variant = \"default\",\n ref,\n ...props\n}: React.ComponentPropsWithoutRef<\"div\"> &\n VariantProps & { ref?: React.Ref> }) {\n return (\n \n );\n}\nItemMedia.displayName = \"ItemMedia\";\n\nfunction ItemContent({ className, ref, ...props }: React.ComponentProps<\"div\">) {\n return (\n \n );\n}\nItemContent.displayName = \"ItemContent\";\n\nfunction ItemTitle({ className, ref, ...props }: React.ComponentProps<\"div\">) {\n return (\n \n );\n}\nItemTitle.displayName = \"ItemTitle\";\n\nfunction ItemDescription({ className, ref, ...props }: React.ComponentProps<\"p\">) {\n return (\n a:hover]:text-primary line-clamp-2 text-left [&>a]:underline [&>a]:underline-offset-4\",\n className\n )}\n {...props}\n />\n );\n}\nItemDescription.displayName = \"ItemDescription\";\n\nfunction ItemActions({ className, ref, ...props }: React.ComponentProps<\"div\">) {\n return (\n \n );\n}\nItemActions.displayName = \"ItemActions\";\n\nfunction ItemHeader({ className, ref, ...props }: React.ComponentProps<\"div\">) {\n return (\n \n );\n}\nItemHeader.displayName = \"ItemHeader\";\n\nfunction ItemFooter({ className, ref, ...props }: React.ComponentProps<\"div\">) {\n return (\n \n );\n}\nItemFooter.displayName = \"ItemFooter\";\n\nexport {\n Item,\n ItemActions,\n ItemContent,\n ItemDescription,\n ItemFooter,\n ItemGroup,\n ItemHeader,\n ItemMedia,\n ItemSeparator,\n ItemTitle\n};\n\nexport function Media({\n icon,\n size = \"md\",\n tone,\n children,\n className,\n style,\n ref,\n ...props\n}: React.ComponentPropsWithoutRef<\"span\"> & {\n icon?: IconSource;\n size?: \"sm\" | \"md\" | number;\n tone?: \"ok\" | \"warn\" | \"bad\" | \"info\";\n} & { ref?: React.Ref }) {\n return (\n \n {icon ? (\n \n ) : (\n children\n )}\n
\n );\n}\nMedia.displayName = \"Media\";\ntype TileOwnProps = {\n selected?: boolean;\n title?: React.ReactNode;\n description?: React.ReactNode;\n media?: React.ReactNode;\n /** stacked puts the media and eyebrow on top, then the title on one line and a description clamped at two, with no chevron. For grids of choices such as a TilePicker. */\n layout?: \"row\" | \"stacked\";\n /** A short label across from the media in the stacked layout, such as a category. */\n eyebrow?: React.ReactNode;\n /** Disables the tile and shows why in place of the description. Unlike disabled, it stays focusable so the reason can be reached. */\n disabledReason?: string;\n};\ntype TileButtonProps = TileOwnProps &\n Omit, \"title\"> & {\n href?: undefined;\n asChild?: false;\n external?: undefined;\n ref?: React.Ref;\n };\ntype TileLinkProps = TileOwnProps &\n Omit, \"title\" | \"media\"> & {\n /** Opens href in a new tab and marks the tile with an external icon. With asChild, set the child's target yourself. */\n external?: boolean;\n /** Takes the link's destination away and dims it, so it cannot be opened. */\n disabled?: boolean;\n ref?: React.Ref;\n } & (\n | {\n /** Renders the tile as a link, so hover shows the URL and modifier or middle clicks open it elsewhere. */\n href: string;\n asChild?: false;\n }\n | {\n /** Renders the one child, such as a router Link, with the tile's content inside it. */\n asChild: true;\n href?: undefined;\n }\n );\nexport type TileProps = TileButtonProps | TileLinkProps;\n\nexport function Tile({\n selected,\n title,\n description,\n media,\n layout = \"row\",\n eyebrow,\n disabledReason,\n href,\n external,\n asChild,\n disabled,\n children,\n className,\n onClick,\n type,\n ref,\n ...props\n}: TileProps) {\n const inFrame = useInFrame(\"Tile\");\n const reason = disabledReason || undefined;\n const detail = reason ?? description;\n const stacked = layout === \"stacked\";\n const link = Boolean(href || asChild);\n const inactive = Boolean(reason || (link && disabled));\n const Comp: React.ElementType = asChild ? Slot.Root : href ? \"a\" : \"button\";\n const externalMark = external && ;\n const linkProps = link\n ? {\n ...(asChild ? {} : { href: inactive ? undefined : href }),\n role: inactive ? \"link\" : undefined,\n tabIndex: inactive && !disabled ? 0 : undefined,\n target: external && !asChild ? \"_blank\" : undefined,\n rel: external && !asChild ? \"noopener noreferrer\" : undefined,\n \"data-disabled\": link && disabled ? \"\" : undefined\n }\n : { type: type ?? \"button\", disabled };\n const child =\n asChild && React.isValidElement<{ children?: React.ReactNode; href?: string }>(children)\n ? children\n : undefined;\n const inner = child ? child.props.children : children;\n const content = (\n <>\n {stacked\n ? (media || eyebrow || externalMark) && (\n \n {media && {media}}\n {(eyebrow || externalMark) && (\n \n {eyebrow && (\n \n {eyebrow}\n \n )}\n {externalMark}\n \n )}\n \n )\n : media && {media}}\n \n {title !== undefined ? (\n <>\n \n {title}\n \n {detail &&\n (stacked ? (\n \n {detail}\n \n ) : (\n \n {detail}\n \n ))}\n {inner}\n \n ) : (\n inner\n )}\n \n {!stacked && (externalMark || )}\n \n );\n const body = child\n ? React.cloneElement(child, inactive ? { href: undefined } : undefined, content)\n : content;\n return (\n ) => {\n if (inactive) {\n event.preventDefault();\n return;\n }\n onClick?.(event);\n }}\n {...props}\n >\n {body}\n \n );\n}\nTile.displayName = \"Tile\";\n" }, { "path": "src/components/cipher/ui/controls.module.css", @@ -29,13 +29,13 @@ "path": "src/components/cipher/ui/helpers.module.css", "type": "registry:file", "target": "src/components/cipher/ui/helpers.module.css", - "content": ".avatarFallback {\n background: var(--cipher-tint);\n color: var(--cipher-ink);\n font-family: var(--cipher-type-label-font-family);\n font-weight: var(--cipher-type-label-font-weight);\n line-height: 1;\n letter-spacing: 0;\n}\n.avatarFallback svg {\n width: 50%;\n height: 50%;\n max-width: var(--cipher-size-icon);\n max-height: var(--cipher-size-icon);\n}\n.count {\n font-family: var(--cipher-type-mono-sm-font-family);\n font-size: var(--cipher-type-mono-sm-font-size);\n line-height: var(--cipher-type-mono-sm-line-height);\n font-weight: var(--cipher-type-mono-sm-font-weight);\n letter-spacing: var(--cipher-type-mono-sm-letter-spacing);\n display: inline-flex;\n min-width: var(--cipher-size-count);\n height: var(--cipher-size-count);\n padding: 0 var(--cipher-space-4);\n align-items: center;\n justify-content: center;\n border-radius: 0;\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.countInk {\n background: var(--cipher-ink);\n color: var(--cipher-surface);\n}\n.countNeutral {\n background: var(--cipher-tint);\n color: var(--cipher-text2);\n}\n.identity {\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n}\n.identityText {\n flex: 1 1 auto;\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n.identityTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.identityDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n color: var(--cipher-text2, var(--muted-foreground));\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mono {\n font-family: var(--cipher-font-mono, monospace);\n}\n.media {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n flex: 0 0 auto;\n color: var(--cipher-ink, var(--foreground));\n background: var(--cipher-surface);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.mediaSmall {\n width: 24px;\n height: 24px;\n}\n.tile {\n display: flex;\n align-items: center;\n gap: 12px;\n width: 100%;\n padding: var(--cipher-space-12);\n text-align: start;\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-surface, var(--background));\n color: var(--cipher-ink, var(--foreground));\n}\n.tile:not([aria-disabled=\"true\"]):hover {\n border-color: var(--cipher-control, var(--border));\n background: var(--cipher-hover);\n}\n.tile[data-in-frame] {\n border-color: transparent;\n background: var(--cipher-tint);\n}\n.tile[data-in-frame]:not([aria-disabled=\"true\"]):hover {\n background: color-mix(in srgb, var(--cipher-mix-ink) var(--cipher-hover-mix), var(--cipher-tint));\n}\n.tile[aria-pressed=\"true\"] {\n border-color: var(--cipher-ink, var(--foreground));\n}\n.tile:disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.tile:focus-visible {\n outline: 2px solid var(--ring, var(--ring));\n outline-offset: 2px;\n}\n.tileBody {\n flex: 1;\n min-width: 0;\n}\n.tile[aria-disabled=\"true\"] {\n cursor: not-allowed;\n}\n.tile[data-layout=\"stacked\"] {\n flex-direction: column;\n align-items: stretch;\n gap: var(--cipher-space-4);\n padding: var(--cipher-space-16);\n}\n.tile[data-layout=\"stacked\"] > .tileBody {\n flex: 1 1 auto;\n}\n.tileTop {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: var(--cipher-space-12);\n min-width: 0;\n margin-bottom: var(--cipher-space-8);\n}\n.tileEyebrow {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--cipher-muted);\n font-family: var(--cipher-type-eyebrow-font-family);\n font-size: var(--cipher-type-eyebrow-font-size);\n line-height: var(--cipher-type-eyebrow-line-height);\n font-weight: var(--cipher-type-eyebrow-font-weight);\n letter-spacing: var(--cipher-type-eyebrow-letter-spacing);\n text-transform: uppercase;\n}\n.tile[aria-disabled=\"true\"] > .tileTop {\n opacity: 0.5;\n}\n.banner {\n display: flex;\n width: 100%;\n align-items: center;\n flex-wrap: wrap;\n gap: 12px;\n border: 1px solid var(--cipher-accent-line);\n background: var(--cipher-accent-wash);\n color: var(--cipher-ink, var(--foreground));\n padding: 10px 16px;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n.banner > svg {\n flex: 0 0 auto;\n color: var(--cipher-accent-fg);\n}\n.bannerText {\n flex: 1;\n min-width: min(100%, 160px);\n}\n.steps {\n display: flex;\n flex-wrap: wrap;\n gap: 12px;\n padding: 0;\n margin: 0;\n list-style: none;\n}\n.step {\n display: flex;\n align-items: center;\n gap: 6px;\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.step[data-current] {\n color: var(--cipher-ink, var(--foreground));\n font-weight: var(--cipher-type-title-sm-font-weight);\n}\n.stepNumber {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n border: 1px solid var(--cipher-line-soft, var(--border));\n}\n.step[data-current] .stepNumber {\n background: repeating-linear-gradient(\n 135deg,\n var(--cipher-tint, var(--muted)) 0 2px,\n transparent 2px 4px\n );\n border-color: var(--cipher-ink, var(--foreground));\n}\n:global(.cipher) {\n --cipher-toast-bottom: var(--cipher-space-action-bar-offset);\n}\n:global(.cipher)[data-action-bar-reserve] {\n --cipher-toast-bottom: calc(var(--cipher-size-action-bar) + 2 * var(--cipher-space-action-bar-offset));\n}\n.toastFixed {\n position: fixed;\n inset-inline-end: var(--cipher-space-16);\n bottom: var(--cipher-toast-bottom);\n z-index: 100;\n transition: bottom var(--cipher-duration-moderate) var(--cipher-ease-standard);\n}\n@media (prefers-reduced-motion: reduce) {\n .toastFixed {\n transition-duration: 0s;\n }\n}\n.toastTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.toastDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin-top: 2px;\n color: var(--cipher-text2, var(--muted-foreground));\n}\n.avatarStatus[data-status=\"ok\"] {\n background: var(--cipher-ok);\n}\n.avatarStatus[data-status=\"warn\"] {\n background: var(--cipher-warn);\n}\n.fieldLabels {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n min-width: 0;\n}\n.fieldLabelRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n min-width: 0;\n}\n.globHelp {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-4);\n}\n.legendRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n width: 100%;\n min-width: 0;\n padding: 0;\n}\n.legendActions {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-8);\n margin-inline-start: auto;\n}\n.fieldHelp {\n margin-block: calc((var(--cipher-type-field-label-line-height) - var(--cipher-size-control-xs)) / 2);\n color: var(--cipher-muted);\n}\n.fieldDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin: 0;\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.fieldError {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-6);\n margin: 0;\n color: var(--cipher-bad);\n}\n.fieldError > svg {\n flex: none;\n margin-block-start: calc((var(--cipher-type-small-line-height) - 14px) / 2);\n}\n.fieldErrorLines {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-2);\n}\n.fieldControl {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n flex: 1;\n min-width: 0;\n}\n.badge {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n height: var(--cipher-size-badge);\n padding: 0 var(--cipher-space-8);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.badge.mono {\n font-family: var(--cipher-type-mono-sm-font-family);\n}\n.badge[data-slot][data-tone] {\n border-color: var(--cipher-line-soft);\n color: var(--cipher-muted);\n background: transparent;\n}\n.badge[data-size=\"sm\"] {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph-sm);\n height: var(--cipher-size-badge-sm);\n padding-inline: var(--cipher-space-6);\n line-height: calc(var(--cipher-size-badge-sm) - 2 * var(--cipher-size-control-border));\n}\n.badge:is([data-size=\"control-sm\"], [data-size=\"control-md\"], [data-size=\"control-lg\"]) {\n --cipher-badge-glyph: var(--cipher-size-icon);\n gap: var(--cipher-space-control-gap);\n font-family: var(--cipher-type-body-font-family);\n font-size: var(--cipher-type-body-font-size);\n line-height: var(--cipher-type-body-line-height);\n font-weight: var(--cipher-type-body-font-weight);\n letter-spacing: var(--cipher-type-body-letter-spacing);\n}\n.badge[data-size=\"control-sm\"] {\n --cipher-badge-glyph: var(--cipher-size-icon-sm);\n height: var(--cipher-size-control-sm);\n padding-inline: var(--cipher-space-control-inline-sm);\n}\n.badge[data-size=\"control-md\"] {\n height: var(--cipher-size-control-md);\n padding-inline: var(--cipher-space-control-inline-md);\n}\n.badge[data-size=\"control-lg\"] {\n height: var(--cipher-size-control-lg);\n padding-inline: var(--cipher-space-control-inline);\n}\n.badge[data-slot][data-tone=\"soft\"] {\n border-color: var(--cipher-line-soft);\n background: var(--cipher-line-soft);\n color: var(--cipher-text2);\n}\n.badge[data-slot][data-tone=\"solid\"] {\n border-color: var(--cipher-ink);\n background: var(--cipher-ink);\n color: var(--cipher-on-ink);\n}\n.badge[data-slot][data-tone=\"accent\"] {\n border-color: var(--cipher-accent);\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.badge[data-slot][data-tone=\"ok\"] {\n border-color: var(--cipher-ok-line);\n background: var(--cipher-ok-bg);\n color: var(--cipher-ok);\n}\n.badge[data-slot][data-tone=\"warn\"] {\n border-color: var(--cipher-warn-line);\n background: var(--cipher-warn-bg);\n color: var(--cipher-warn);\n}\n.badge[data-slot][data-tone=\"bad\"] {\n border-color: var(--cipher-bad-line);\n background: var(--cipher-bad-bg);\n color: var(--cipher-bad);\n}\n.badge[data-slot][data-tone=\"info\"] {\n border-color: var(--cipher-info-line);\n background: var(--cipher-info-bg);\n color: var(--cipher-info);\n}\n.badgeDot {\n width: 6px;\n height: 6px;\n background: currentColor;\n flex-shrink: 0;\n}\n.steps .step {\n display: flex;\n flex: 1;\n flex-direction: column;\n align-items: flex-start;\n gap: 6px;\n}\n.steps .step::before {\n content: \"\";\n display: block;\n width: 100%;\n height: 6px;\n background: var(--cipher-line-soft);\n}\n.steps .step[data-complete]::before {\n background: var(--cipher-ink);\n}\n.steps .step[data-current]::before {\n background: repeating-linear-gradient(135deg, var(--cipher-ink) 0 2px, var(--cipher-line-soft) 2px 4px);\n}\n.fieldset {\n min-width: 0;\n width: 100%;\n padding: 0;\n border: 0;\n display: flex;\n flex-direction: column;\n gap: 6px;\n}\n.fieldset > legend {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n margin-bottom: 6px;\n}\n.alert[data-tone=\"neutral\"] {\n background: var(--cipher-paper);\n border-color: var(--cipher-line-soft);\n color: var(--cipher-ink);\n}\n.alert[data-tone=\"neutral\"] > svg {\n color: var(--cipher-muted);\n}\n.alert[data-tone=\"info\"] {\n background: var(--cipher-info-bg);\n border-color: var(--cipher-info-line);\n color: var(--cipher-info);\n}\n.alert[data-tone=\"ok\"] {\n background: var(--cipher-ok-bg);\n border-color: var(--cipher-ok-line);\n color: var(--cipher-ok);\n}\n.alert[data-tone=\"warn\"] {\n background: var(--cipher-warn-bg);\n border-color: var(--cipher-warn-line);\n color: var(--cipher-warn);\n}\n.alert[data-tone=\"bad\"] {\n background: var(--cipher-bad-bg);\n border-color: var(--cipher-bad-line);\n color: var(--cipher-bad);\n}\n.alertActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-8);\n padding-top: var(--cipher-space-actions-gap);\n}\n.toastStack {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-8);\n width: max-content;\n max-width: min(var(--cipher-size-toast), 100%);\n}\n.toastStack.toastFixed {\n max-width: min(var(--cipher-size-toast), calc(100vw - 2 * var(--cipher-space-16)));\n}\n.toast {\n border-radius: 0;\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-8);\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-toast-bg, var(--popover));\n color: var(--cipher-ink, var(--foreground));\n box-shadow: var(--cipher-shadow-pop, 0 4px 16px rgb(0 0 0 / 0.12));\n padding: var(--cipher-space-12);\n --cipher-toast-line: var(--cipher-type-row-title-line-height);\n}\n.toast > svg {\n flex: none;\n height: var(--cipher-toast-line);\n}\n.toastBody {\n min-width: 0;\n flex: 1 1 auto;\n}\n.toastTitle,\n.toastDescription {\n overflow-wrap: anywhere;\n}\n.toast > button {\n flex: none;\n margin-block: calc((var(--cipher-toast-line) - var(--cipher-action-height)) / 2);\n}\n.toastActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-4);\n margin-top: var(--cipher-space-8);\n margin-inline-start: calc(-1 * var(--cipher-space-control-inline-sm));\n contain: inline-size;\n}\n.toastActions > button {\n white-space: normal;\n max-width: 100%;\n}\n.avatarShape {\n border-radius: 0;\n}\n.avatarShape::after {\n content: \"\";\n position: absolute;\n inset: 0;\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n mix-blend-mode: var(--cipher-avatar-blend);\n pointer-events: none;\n}\n.avatarShape::after,\n.avatarShape > [data-slot=\"avatar-fallback\"],\n.avatarShape > [data-slot=\"avatar-image\"] {\n border-radius: inherit;\n}\n.avatarShape > [data-slot=\"avatar-fallback\"] {\n font-size: inherit;\n}\n.avatarRing {\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n}\n.avatarGroup {\n display: flex;\n}\n.avatarGroup > [data-slot=\"avatar\"] + [data-slot=\"avatar\"],\n.avatarGroup > * + [data-slot=\"avatar-group-count\"] {\n margin-inline-start: calc(-1 * var(--cipher-space-4));\n}\n.avatarCount {\n border-radius: 0;\n background: var(--cipher-tint);\n color: var(--cipher-muted);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n font-weight: var(--cipher-type-caption-font-weight);\n}\n.avatarStatus {\n position: absolute;\n z-index: 1;\n inset-inline-end: calc(-1 * var(--cipher-space-2));\n bottom: calc(-1 * var(--cipher-space-2));\n width: var(--cipher-space-8);\n height: var(--cipher-space-8);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n background: var(--cipher-faint);\n border-radius: 0;\n}\n\n.fieldLegend {\n font-family: var(--cipher-type-title-sm-font-family);\n font-size: var(--cipher-type-title-sm-font-size);\n line-height: var(--cipher-type-title-sm-line-height);\n font-weight: var(--cipher-type-title-sm-font-weight);\n letter-spacing: var(--cipher-type-title-sm-letter-spacing);\n margin-bottom: var(--cipher-space-field-label);\n}\n.fieldLegend[data-variant=\"legend\"] {\n margin-bottom: var(--cipher-space-field-legend);\n}\n.fieldLegend[data-variant=\"legend\"] + .fieldDescription {\n margin-top: calc(var(--cipher-space-field-label) - var(--cipher-space-field-legend));\n}\n[data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n row-gap: var(--cipher-space-field-legend);\n}\n.fieldGroup > [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) + *,\n.fieldGroup > * + [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n margin-top: calc(var(--cipher-space-content-section) - var(--cipher-space-field-group));\n}\n.fieldLegend[data-variant=\"label\"] {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.alertTitle {\n grid-column: 1;\n grid-row: 1;\n min-width: 0;\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.alertDescription {\n grid-column: 1;\n min-width: 0;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n\n:is(.fieldDescription, .alertDescription) a:not([data-slot]) {\n color: var(--cipher-link);\n text-decoration-line: none;\n text-decoration-thickness: var(--cipher-size-control-border);\n text-underline-offset: var(--cipher-space-3);\n}\n:is(.fieldDescription, .alertDescription) a:not([data-slot]):focus-visible {\n text-decoration-line: underline;\n}\n@media (hover: hover) {\n :is(.fieldDescription, .alertDescription) a:not([data-slot]):hover {\n color: var(--cipher-text2);\n text-decoration-line: underline;\n text-decoration-thickness: var(--cipher-space-2);\n }\n}\n\n.alert {\n position: relative;\n display: grid;\n width: 100%;\n grid-template-columns: minmax(0, 1fr);\n border: 1px solid var(--cipher-line-soft);\n border-radius: 0;\n padding: var(--cipher-space-12);\n gap: var(--cipher-space-4) var(--cipher-space-8);\n overflow-wrap: anywhere;\n text-align: start;\n}\n.alert[data-has-icon] {\n grid-template-columns: auto minmax(0, 1fr);\n}\n.alert > svg {\n grid-column: 1;\n grid-row: 1 / span 2;\n align-self: start;\n transform: translateY(var(--cipher-space-2));\n color: currentColor;\n}\n.alert[data-has-icon]:not([data-has-title]) > svg {\n grid-row: 1;\n transform: translateY(calc(var(--cipher-space-2) / 2));\n}\n.alert[data-has-icon] > :is(.alertTitle, .alertDescription) {\n grid-column: 2;\n}\n.alert[data-has-title] > .alertDescription {\n grid-row: 2;\n}\n.alert[data-has-action] {\n grid-template-columns: minmax(0, 1fr) auto;\n padding-inline-end: var(--cipher-space-12);\n}\n.alert[data-has-icon][data-has-action] {\n grid-template-columns: auto minmax(0, 1fr) auto;\n}\n.alertAction {\n position: static;\n grid-column: -2 / -1;\n grid-row: 1 / span 2;\n align-self: start;\n}\n\n.fieldTitle {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.fieldGroup {\n gap: var(--cipher-space-field-group);\n}\n.field {\n gap: var(--cipher-space-field-label);\n}\n.field:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field);\n}\n.field[data-width=\"wide\"]:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field-wide);\n}\n.field[data-orientation=\"horizontal\"] {\n gap: var(--cipher-space-12);\n}\n" + "content": ".avatarFallback {\n background: var(--cipher-tint);\n color: var(--cipher-ink);\n font-family: var(--cipher-type-label-font-family);\n font-weight: var(--cipher-type-label-font-weight);\n line-height: 1;\n letter-spacing: 0;\n}\n.avatarFallback svg {\n width: 50%;\n height: 50%;\n max-width: var(--cipher-size-icon);\n max-height: var(--cipher-size-icon);\n}\n.count {\n font-family: var(--cipher-type-mono-sm-font-family);\n font-size: var(--cipher-type-mono-sm-font-size);\n line-height: var(--cipher-type-mono-sm-line-height);\n font-weight: var(--cipher-type-mono-sm-font-weight);\n letter-spacing: var(--cipher-type-mono-sm-letter-spacing);\n display: inline-flex;\n min-width: var(--cipher-size-count);\n height: var(--cipher-size-count);\n padding: 0 var(--cipher-space-4);\n align-items: center;\n justify-content: center;\n border-radius: 0;\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.countInk {\n background: var(--cipher-ink);\n color: var(--cipher-surface);\n}\n.countNeutral {\n background: var(--cipher-tint);\n color: var(--cipher-text2);\n}\n.identity {\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n}\n.identityText {\n flex: 1 1 auto;\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n.identityTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.identityDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n color: var(--cipher-text2, var(--muted-foreground));\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mono {\n font-family: var(--cipher-font-mono, monospace);\n}\n.media {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n flex: 0 0 auto;\n color: var(--cipher-ink, var(--foreground));\n background: var(--cipher-surface);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.mediaSmall {\n width: 24px;\n height: 24px;\n}\n.tile {\n display: flex;\n box-sizing: border-box;\n text-decoration: none;\n align-items: center;\n gap: 12px;\n width: 100%;\n padding: var(--cipher-space-12);\n text-align: start;\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-surface, var(--background));\n color: var(--cipher-ink, var(--foreground));\n}\n.tile:not([aria-disabled=\"true\"]):hover {\n border-color: var(--cipher-control, var(--border));\n background: var(--cipher-hover);\n}\n.tile[data-in-frame] {\n border-color: transparent;\n background: var(--cipher-tint);\n}\n.tile[data-in-frame]:not([aria-disabled=\"true\"]):hover {\n background: color-mix(in srgb, var(--cipher-mix-ink) var(--cipher-hover-mix), var(--cipher-tint));\n}\n.tile[aria-pressed=\"true\"],\n.tile[aria-current=\"page\"] {\n border-color: var(--cipher-ink, var(--foreground));\n}\n.tile:disabled,\n.tile[data-disabled] {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.tile:focus-visible {\n outline: 2px solid var(--ring, var(--ring));\n outline-offset: 2px;\n}\n.tileBody {\n flex: 1;\n min-width: 0;\n}\n.tile[aria-disabled=\"true\"] {\n cursor: not-allowed;\n}\n.tile[data-layout=\"stacked\"] {\n flex-direction: column;\n align-items: stretch;\n gap: var(--cipher-space-4);\n padding: var(--cipher-space-16);\n}\n.tile[data-layout=\"stacked\"] > .tileBody {\n flex: 1 1 auto;\n}\n.tileTop {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: var(--cipher-space-12);\n min-width: 0;\n margin-bottom: var(--cipher-space-8);\n}\n.tileAside {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-8);\n min-width: 0;\n margin-inline-start: auto;\n color: var(--cipher-muted);\n}\n.tileAside > :not(.tileEyebrow) {\n flex: none;\n}\n.tileEyebrow {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--cipher-muted);\n font-family: var(--cipher-type-eyebrow-font-family);\n font-size: var(--cipher-type-eyebrow-font-size);\n line-height: var(--cipher-type-eyebrow-line-height);\n font-weight: var(--cipher-type-eyebrow-font-weight);\n letter-spacing: var(--cipher-type-eyebrow-letter-spacing);\n text-transform: uppercase;\n}\n.tile[aria-disabled=\"true\"]:not([data-disabled]) > .tileTop {\n opacity: 0.5;\n}\n.banner {\n display: flex;\n width: 100%;\n align-items: center;\n flex-wrap: wrap;\n gap: 12px;\n border: 1px solid var(--cipher-accent-line);\n background: var(--cipher-accent-wash);\n color: var(--cipher-ink, var(--foreground));\n padding: 10px 16px;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n.banner > svg {\n flex: 0 0 auto;\n color: var(--cipher-accent-fg);\n}\n.bannerText {\n flex: 1;\n min-width: min(100%, 160px);\n}\n.steps {\n display: flex;\n flex-wrap: wrap;\n gap: 12px;\n padding: 0;\n margin: 0;\n list-style: none;\n}\n.step {\n display: flex;\n align-items: center;\n gap: 6px;\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.step[data-current] {\n color: var(--cipher-ink, var(--foreground));\n font-weight: var(--cipher-type-title-sm-font-weight);\n}\n.stepNumber {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n border: 1px solid var(--cipher-line-soft, var(--border));\n}\n.step[data-current] .stepNumber {\n background: repeating-linear-gradient(\n 135deg,\n var(--cipher-tint, var(--muted)) 0 2px,\n transparent 2px 4px\n );\n border-color: var(--cipher-ink, var(--foreground));\n}\n:global(.cipher) {\n --cipher-toast-bottom: var(--cipher-space-action-bar-offset);\n}\n:global(.cipher)[data-action-bar-reserve] {\n --cipher-toast-bottom: calc(var(--cipher-size-action-bar) + 2 * var(--cipher-space-action-bar-offset));\n}\n.toastFixed {\n position: fixed;\n inset-inline-end: var(--cipher-space-16);\n bottom: var(--cipher-toast-bottom);\n z-index: 100;\n transition: bottom var(--cipher-duration-moderate) var(--cipher-ease-standard);\n}\n@media (prefers-reduced-motion: reduce) {\n .toastFixed {\n transition-duration: 0s;\n }\n}\n.toastTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.toastDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin-top: 2px;\n color: var(--cipher-text2, var(--muted-foreground));\n}\n.avatarStatus[data-status=\"ok\"] {\n background: var(--cipher-ok);\n}\n.avatarStatus[data-status=\"warn\"] {\n background: var(--cipher-warn);\n}\n.fieldLabels {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n min-width: 0;\n}\n.fieldLabelRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n min-width: 0;\n}\n.globHelp {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-4);\n}\n.legendRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n width: 100%;\n min-width: 0;\n padding: 0;\n}\n.legendActions {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-8);\n margin-inline-start: auto;\n}\n.fieldHelp {\n margin-block: calc((var(--cipher-type-field-label-line-height) - var(--cipher-size-control-xs)) / 2);\n color: var(--cipher-muted);\n}\n.fieldDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin: 0;\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.fieldError {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-6);\n margin: 0;\n color: var(--cipher-bad);\n}\n.fieldError > svg {\n flex: none;\n margin-block-start: calc((var(--cipher-type-small-line-height) - 14px) / 2);\n}\n.fieldErrorLines {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-2);\n}\n.fieldControl {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n flex: 1;\n min-width: 0;\n}\n.badge {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n height: var(--cipher-size-badge);\n padding: 0 var(--cipher-space-8);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.badge.mono {\n font-family: var(--cipher-type-mono-sm-font-family);\n}\n.badge[data-slot][data-tone] {\n border-color: var(--cipher-line-soft);\n color: var(--cipher-muted);\n background: transparent;\n}\n.badge[data-size=\"sm\"] {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph-sm);\n height: var(--cipher-size-badge-sm);\n padding-inline: var(--cipher-space-6);\n line-height: calc(var(--cipher-size-badge-sm) - 2 * var(--cipher-size-control-border));\n}\n.badge:is([data-size=\"control-sm\"], [data-size=\"control-md\"], [data-size=\"control-lg\"]) {\n --cipher-badge-glyph: var(--cipher-size-icon);\n gap: var(--cipher-space-control-gap);\n font-family: var(--cipher-type-body-font-family);\n font-size: var(--cipher-type-body-font-size);\n line-height: var(--cipher-type-body-line-height);\n font-weight: var(--cipher-type-body-font-weight);\n letter-spacing: var(--cipher-type-body-letter-spacing);\n}\n.badge[data-size=\"control-sm\"] {\n --cipher-badge-glyph: var(--cipher-size-icon-sm);\n height: var(--cipher-size-control-sm);\n padding-inline: var(--cipher-space-control-inline-sm);\n}\n.badge[data-size=\"control-md\"] {\n height: var(--cipher-size-control-md);\n padding-inline: var(--cipher-space-control-inline-md);\n}\n.badge[data-size=\"control-lg\"] {\n height: var(--cipher-size-control-lg);\n padding-inline: var(--cipher-space-control-inline);\n}\n.badge[data-slot][data-tone=\"soft\"] {\n border-color: var(--cipher-line-soft);\n background: var(--cipher-line-soft);\n color: var(--cipher-text2);\n}\n.badge[data-slot][data-tone=\"solid\"] {\n border-color: var(--cipher-ink);\n background: var(--cipher-ink);\n color: var(--cipher-on-ink);\n}\n.badge[data-slot][data-tone=\"accent\"] {\n border-color: var(--cipher-accent);\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.badge[data-slot][data-tone=\"ok\"] {\n border-color: var(--cipher-ok-line);\n background: var(--cipher-ok-bg);\n color: var(--cipher-ok);\n}\n.badge[data-slot][data-tone=\"warn\"] {\n border-color: var(--cipher-warn-line);\n background: var(--cipher-warn-bg);\n color: var(--cipher-warn);\n}\n.badge[data-slot][data-tone=\"bad\"] {\n border-color: var(--cipher-bad-line);\n background: var(--cipher-bad-bg);\n color: var(--cipher-bad);\n}\n.badge[data-slot][data-tone=\"info\"] {\n border-color: var(--cipher-info-line);\n background: var(--cipher-info-bg);\n color: var(--cipher-info);\n}\n.badgeDot {\n width: 6px;\n height: 6px;\n background: currentColor;\n flex-shrink: 0;\n}\n.steps .step {\n display: flex;\n flex: 1;\n flex-direction: column;\n align-items: flex-start;\n gap: 6px;\n}\n.steps .step::before {\n content: \"\";\n display: block;\n width: 100%;\n height: 6px;\n background: var(--cipher-line-soft);\n}\n.steps .step[data-complete]::before {\n background: var(--cipher-ink);\n}\n.steps .step[data-current]::before {\n background: repeating-linear-gradient(135deg, var(--cipher-ink) 0 2px, var(--cipher-line-soft) 2px 4px);\n}\n.fieldset {\n min-width: 0;\n width: 100%;\n padding: 0;\n border: 0;\n display: flex;\n flex-direction: column;\n gap: 6px;\n}\n.fieldset > legend {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n margin-bottom: 6px;\n}\n.alert[data-tone=\"neutral\"] {\n background: var(--cipher-paper);\n border-color: var(--cipher-line-soft);\n color: var(--cipher-ink);\n}\n.alert[data-tone=\"neutral\"] > svg {\n color: var(--cipher-muted);\n}\n.alert[data-tone=\"info\"] {\n background: var(--cipher-info-bg);\n border-color: var(--cipher-info-line);\n color: var(--cipher-info);\n}\n.alert[data-tone=\"ok\"] {\n background: var(--cipher-ok-bg);\n border-color: var(--cipher-ok-line);\n color: var(--cipher-ok);\n}\n.alert[data-tone=\"warn\"] {\n background: var(--cipher-warn-bg);\n border-color: var(--cipher-warn-line);\n color: var(--cipher-warn);\n}\n.alert[data-tone=\"bad\"] {\n background: var(--cipher-bad-bg);\n border-color: var(--cipher-bad-line);\n color: var(--cipher-bad);\n}\n.alertActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-8);\n padding-top: var(--cipher-space-actions-gap);\n}\n.toastStack {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-8);\n width: max-content;\n max-width: min(var(--cipher-size-toast), 100%);\n}\n.toastStack.toastFixed {\n max-width: min(var(--cipher-size-toast), calc(100vw - 2 * var(--cipher-space-16)));\n}\n.toast {\n border-radius: 0;\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-8);\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-toast-bg, var(--popover));\n color: var(--cipher-ink, var(--foreground));\n box-shadow: var(--cipher-shadow-pop, 0 4px 16px rgb(0 0 0 / 0.12));\n padding: var(--cipher-space-12);\n --cipher-toast-line: var(--cipher-type-row-title-line-height);\n}\n.toast > svg {\n flex: none;\n height: var(--cipher-toast-line);\n}\n.toastBody {\n min-width: 0;\n flex: 1 1 auto;\n}\n.toastTitle,\n.toastDescription {\n overflow-wrap: anywhere;\n}\n.toast > button {\n flex: none;\n margin-block: calc((var(--cipher-toast-line) - var(--cipher-action-height)) / 2);\n}\n.toastActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-4);\n margin-top: var(--cipher-space-8);\n margin-inline-start: calc(-1 * var(--cipher-space-control-inline-sm));\n contain: inline-size;\n}\n.toastActions > button {\n white-space: normal;\n max-width: 100%;\n}\n.avatarShape {\n border-radius: 0;\n}\n.avatarShape::after {\n content: \"\";\n position: absolute;\n inset: 0;\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n mix-blend-mode: var(--cipher-avatar-blend);\n pointer-events: none;\n}\n.avatarShape::after,\n.avatarShape > [data-slot=\"avatar-fallback\"],\n.avatarShape > [data-slot=\"avatar-image\"] {\n border-radius: inherit;\n}\n.avatarShape > [data-slot=\"avatar-fallback\"] {\n font-size: inherit;\n}\n.avatarRing {\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n}\n.avatarGroup {\n display: flex;\n}\n.avatarGroup > [data-slot=\"avatar\"] + [data-slot=\"avatar\"],\n.avatarGroup > * + [data-slot=\"avatar-group-count\"] {\n margin-inline-start: calc(-1 * var(--cipher-space-4));\n}\n.avatarCount {\n border-radius: 0;\n background: var(--cipher-tint);\n color: var(--cipher-muted);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n font-weight: var(--cipher-type-caption-font-weight);\n}\n.avatarStatus {\n position: absolute;\n z-index: 1;\n inset-inline-end: calc(-1 * var(--cipher-space-2));\n bottom: calc(-1 * var(--cipher-space-2));\n width: var(--cipher-space-8);\n height: var(--cipher-space-8);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n background: var(--cipher-faint);\n border-radius: 0;\n}\n\n.fieldLegend {\n font-family: var(--cipher-type-title-sm-font-family);\n font-size: var(--cipher-type-title-sm-font-size);\n line-height: var(--cipher-type-title-sm-line-height);\n font-weight: var(--cipher-type-title-sm-font-weight);\n letter-spacing: var(--cipher-type-title-sm-letter-spacing);\n margin-bottom: var(--cipher-space-field-label);\n}\n.fieldLegend[data-variant=\"legend\"] {\n margin-bottom: var(--cipher-space-field-legend);\n}\n.fieldLegend[data-variant=\"legend\"] + .fieldDescription {\n margin-top: calc(var(--cipher-space-field-label) - var(--cipher-space-field-legend));\n}\n[data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n row-gap: var(--cipher-space-field-legend);\n}\n.fieldGroup > [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) + *,\n.fieldGroup > * + [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n margin-top: calc(var(--cipher-space-content-section) - var(--cipher-space-field-group));\n}\n.fieldLegend[data-variant=\"label\"] {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.alertTitle {\n grid-column: 1;\n grid-row: 1;\n min-width: 0;\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.alertDescription {\n grid-column: 1;\n min-width: 0;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n\n:is(.fieldDescription, .alertDescription) a:not([data-slot]) {\n color: var(--cipher-link);\n text-decoration-line: none;\n text-decoration-thickness: var(--cipher-size-control-border);\n text-underline-offset: var(--cipher-space-3);\n}\n:is(.fieldDescription, .alertDescription) a:not([data-slot]):focus-visible {\n text-decoration-line: underline;\n}\n@media (hover: hover) {\n :is(.fieldDescription, .alertDescription) a:not([data-slot]):hover {\n color: var(--cipher-text2);\n text-decoration-line: underline;\n text-decoration-thickness: var(--cipher-space-2);\n }\n}\n\n.alert {\n position: relative;\n display: grid;\n width: 100%;\n grid-template-columns: minmax(0, 1fr);\n border: 1px solid var(--cipher-line-soft);\n border-radius: 0;\n padding: var(--cipher-space-12);\n gap: var(--cipher-space-4) var(--cipher-space-8);\n overflow-wrap: anywhere;\n text-align: start;\n}\n.alert[data-has-icon] {\n grid-template-columns: auto minmax(0, 1fr);\n}\n.alert > svg {\n grid-column: 1;\n grid-row: 1 / span 2;\n align-self: start;\n transform: translateY(var(--cipher-space-2));\n color: currentColor;\n}\n.alert[data-has-icon]:not([data-has-title]) > svg {\n grid-row: 1;\n transform: translateY(calc(var(--cipher-space-2) / 2));\n}\n.alert[data-has-icon] > :is(.alertTitle, .alertDescription) {\n grid-column: 2;\n}\n.alert[data-has-title] > .alertDescription {\n grid-row: 2;\n}\n.alert[data-has-action] {\n grid-template-columns: minmax(0, 1fr) auto;\n padding-inline-end: var(--cipher-space-12);\n}\n.alert[data-has-icon][data-has-action] {\n grid-template-columns: auto minmax(0, 1fr) auto;\n}\n.alertAction {\n position: static;\n grid-column: -2 / -1;\n grid-row: 1 / span 2;\n align-self: start;\n}\n\n.fieldTitle {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.fieldGroup {\n gap: var(--cipher-space-field-group);\n}\n.field {\n gap: var(--cipher-space-field-label);\n}\n.field:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field);\n}\n.field[data-width=\"wide\"]:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field-wide);\n}\n.field[data-orientation=\"horizontal\"] {\n gap: var(--cipher-space-12);\n}\n" }, { "path": "src/components/cipher/ui/item.module.css", "type": "registry:file", "target": "src/components/cipher/ui/item.module.css", - "content": ".layout {\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n gap: var(--cipher-space-12);\n width: 100%;\n min-width: 0;\n padding: 0;\n border: 0;\n background: transparent;\n}\n.layout[data-size=\"sm\"] {\n align-items: center;\n flex-wrap: nowrap;\n gap: var(--cipher-space-8);\n}\n.lead {\n position: relative;\n display: inline-flex;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n}\n.main {\n display: flex;\n flex: 1 1 var(--cipher-size-text-min);\n min-width: min(100%, var(--cipher-size-text-min));\n flex-wrap: wrap;\n align-items: flex-start;\n gap: var(--cipher-space-12);\n}\n.copy {\n flex: 1 1 var(--cipher-size-text-min);\n min-width: min(100%, var(--cipher-size-text-min));\n}\n.title {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n min-width: 0;\n color: var(--cipher-ink);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.description {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin-top: var(--cipher-space-4);\n color: var(--cipher-text2);\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n overflow-wrap: anywhere;\n white-space: normal;\n}\n.tileDescription {\n display: block;\n -webkit-line-clamp: none;\n white-space: normal;\n overflow-wrap: anywhere;\n}\n.error {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-6);\n margin-top: var(--cipher-space-4);\n color: var(--cipher-bad);\n}\n.actions {\n display: flex;\n flex-shrink: 0;\n align-self: flex-start;\n min-height: calc(2 * var(--cipher-type-row-title-line-height));\n align-items: center;\n flex-wrap: wrap;\n gap: var(--cipher-space-8);\n max-width: 100%;\n}\n.main[data-actions-below] {\n row-gap: var(--cipher-space-actions-gap);\n}\n.layout[data-has-actions] {\n container: cipher-item / inline-size;\n}\n.layout[data-has-actions][data-variant=\"outline\"] {\n padding: var(--cipher-space-24);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n}\n.layout[data-has-actions] > .lead {\n align-self: flex-start;\n min-height: calc(\n var(--cipher-type-row-title-line-height) + var(--cipher-space-2) +\n var(--cipher-type-small-line-height)\n );\n}\n.main[data-has-actions] {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n grid-template-areas:\n \"copy\"\n \"actions\";\n align-items: start;\n row-gap: var(--cipher-space-actions-gap);\n}\n.main[data-has-actions] > .copy {\n grid-area: copy;\n min-width: 0;\n}\n.main[data-has-actions] > .actions {\n grid-area: actions;\n justify-content: flex-start;\n min-height: 0;\n}\n.main[data-has-actions] .titleLine {\n flex-wrap: nowrap;\n align-items: baseline;\n}\n.main[data-has-actions] .titleLine > .unread {\n align-self: center;\n}\n.main[data-has-actions] .titleLine > .meta {\n flex: none;\n}\n.main[data-has-actions] .description {\n margin-top: var(--cipher-space-2);\n}\n.main[data-actions-icon-only]:not([data-actions-below]) {\n grid-template-columns: minmax(0, 1fr) auto;\n grid-template-areas: \"copy actions\";\n column-gap: var(--cipher-space-16);\n}\n@container cipher-item (min-width: 36rem) {\n .main[data-has-actions]:not([data-actions-below]) {\n grid-template-columns: minmax(0, 1fr) auto;\n grid-template-areas: \"copy actions\";\n column-gap: var(--cipher-space-32);\n }\n .main[data-has-actions]:not([data-actions-below]) .titleLine > .meta {\n margin-inline-start: 0;\n }\n .main[data-has-actions]:not([data-actions-below]) > .actions {\n flex-wrap: nowrap;\n min-height: calc(\n var(--cipher-type-row-title-line-height) + var(--cipher-space-2) +\n var(--cipher-type-small-line-height)\n );\n }\n}\n.below {\n flex-basis: 100%;\n}\n.wrap .title,\n.wrap .description {\n white-space: normal;\n overflow-wrap: anywhere;\n}\n.wrap .description {\n -webkit-line-clamp: none;\n}\n.layout[data-truncate] > .main > .copy > .description {\n -webkit-line-clamp: 1;\n}\n.body {\n margin-top: var(--cipher-space-8);\n min-width: 0;\n}\n.mono {\n font-family: var(--cipher-font-mono);\n}\n.unread {\n flex-shrink: 0;\n width: var(--cipher-space-6);\n height: var(--cipher-space-6);\n background: var(--cipher-accent-fg);\n border-radius: 0;\n}\n.lead > .unread {\n position: absolute;\n top: calc(-1 * var(--cipher-space-2));\n right: calc(-1 * var(--cipher-space-2));\n box-shadow: 0 0 0 var(--cipher-space-2) var(--cipher-surface);\n}\n.layout[data-unread] .title {\n font-weight: 600;\n}\n.layout[data-size=\"sm\"] .description {\n display: none;\n}\n.layout[data-size=\"sm\"] .main,\n.layout[data-size=\"sm\"] .copy {\n min-width: 0;\n flex-wrap: nowrap;\n}\n.media[data-tone=\"ok\"] {\n background: var(--cipher-ok-wash);\n border-color: var(--cipher-ok-line);\n color: var(--cipher-ok);\n}\n.media[data-tone=\"warn\"] {\n background: var(--cipher-warn-wash);\n border-color: var(--cipher-warn-line);\n color: var(--cipher-warn);\n}\n.media[data-tone=\"bad\"] {\n background: var(--cipher-bad-wash);\n border-color: var(--cipher-bad-line);\n color: var(--cipher-bad);\n}\n.media[data-tone=\"info\"] {\n background: var(--cipher-info-wash);\n border-color: var(--cipher-info-line);\n color: var(--cipher-info);\n}\n.tileTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n overflow-wrap: anywhere;\n color: var(--cipher-ink);\n}\n[data-slot=\"tile\"][data-layout=\"stacked\"] .tileTitle {\n display: block;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n[data-slot=\"tile\"][aria-disabled=\"true\"] .tileTitle {\n opacity: 0.5;\n}\n\n.titleLine {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-8);\n min-width: 0;\n flex-wrap: wrap;\n}\n.titleLine > .title {\n flex: 0 1 auto;\n min-width: 0;\n}\n.titleLine > .clamp {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n white-space: normal;\n overflow-wrap: anywhere;\n}\n.meta {\n font-family: var(--cipher-type-mono-sm-font-family);\n font-size: var(--cipher-type-mono-sm-font-size);\n line-height: var(--cipher-type-mono-sm-line-height);\n font-weight: var(--cipher-type-mono-sm-font-weight);\n letter-spacing: var(--cipher-type-mono-sm-letter-spacing);\n margin-inline-start: auto;\n flex-shrink: 0;\n color: var(--cipher-muted);\n max-width: 100%;\n overflow-wrap: anywhere;\n}\n\n.partDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n overflow-wrap: anywhere;\n}\n.layout[data-size=\"sm\"] .actions {\n align-self: center;\n min-height: 0;\n}\n" + "content": ".layout {\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n gap: var(--cipher-space-12);\n width: 100%;\n min-width: 0;\n padding: 0;\n border: 0;\n background: transparent;\n}\n.layout[data-size=\"sm\"] {\n align-items: center;\n flex-wrap: nowrap;\n gap: var(--cipher-space-8);\n}\n.lead {\n position: relative;\n display: inline-flex;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n}\n.main {\n display: flex;\n flex: 1 1 var(--cipher-size-text-min);\n min-width: min(100%, var(--cipher-size-text-min));\n flex-wrap: wrap;\n align-items: flex-start;\n gap: var(--cipher-space-12);\n}\n.copy {\n flex: 1 1 var(--cipher-size-text-min);\n min-width: min(100%, var(--cipher-size-text-min));\n}\n.title {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n min-width: 0;\n color: var(--cipher-ink);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.description {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin-top: var(--cipher-space-4);\n color: var(--cipher-text2);\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n overflow-wrap: anywhere;\n white-space: normal;\n}\n.tileDescription {\n display: block;\n -webkit-line-clamp: none;\n white-space: normal;\n overflow-wrap: anywhere;\n}\n.error {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-6);\n margin-top: var(--cipher-space-4);\n color: var(--cipher-bad);\n}\n.actions {\n display: flex;\n flex-shrink: 0;\n align-self: flex-start;\n min-height: calc(2 * var(--cipher-type-row-title-line-height));\n align-items: center;\n flex-wrap: wrap;\n gap: var(--cipher-space-8);\n max-width: 100%;\n}\n.main[data-actions-below] {\n row-gap: var(--cipher-space-actions-gap);\n}\n.layout[data-has-actions] {\n container: cipher-item / inline-size;\n}\n.layout[data-has-actions][data-variant=\"outline\"] {\n padding: var(--cipher-space-24);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n}\n.layout[data-has-actions] > .lead {\n align-self: flex-start;\n min-height: calc(\n var(--cipher-type-row-title-line-height) + var(--cipher-space-2) +\n var(--cipher-type-small-line-height)\n );\n}\n.main[data-has-actions] {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n grid-template-areas:\n \"copy\"\n \"actions\";\n align-items: start;\n row-gap: var(--cipher-space-actions-gap);\n}\n.main[data-has-actions] > .copy {\n grid-area: copy;\n min-width: 0;\n}\n.main[data-has-actions] > .actions {\n grid-area: actions;\n justify-content: flex-start;\n min-height: 0;\n}\n.main[data-has-actions] .titleLine {\n flex-wrap: nowrap;\n align-items: baseline;\n}\n.main[data-has-actions] .titleLine > .unread {\n align-self: center;\n}\n.main[data-has-actions] .titleLine > .meta {\n flex: none;\n}\n.main[data-has-actions] .description {\n margin-top: var(--cipher-space-2);\n}\n.main[data-actions-icon-only]:not([data-actions-below]) {\n grid-template-columns: minmax(0, 1fr) auto;\n grid-template-areas: \"copy actions\";\n column-gap: var(--cipher-space-16);\n}\n@container cipher-item (min-width: 36rem) {\n .main[data-has-actions]:not([data-actions-below]) {\n grid-template-columns: minmax(0, 1fr) auto;\n grid-template-areas: \"copy actions\";\n column-gap: var(--cipher-space-32);\n }\n .main[data-has-actions]:not([data-actions-below]) .titleLine > .meta {\n margin-inline-start: 0;\n }\n .main[data-has-actions]:not([data-actions-below]) > .actions {\n flex-wrap: nowrap;\n min-height: calc(\n var(--cipher-type-row-title-line-height) + var(--cipher-space-2) +\n var(--cipher-type-small-line-height)\n );\n }\n}\n.below {\n flex-basis: 100%;\n}\n.wrap .title,\n.wrap .description {\n white-space: normal;\n overflow-wrap: anywhere;\n}\n.wrap .description {\n -webkit-line-clamp: none;\n}\n.layout[data-truncate] > .main > .copy > .description {\n -webkit-line-clamp: 1;\n}\n.body {\n margin-top: var(--cipher-space-8);\n min-width: 0;\n}\n.mono {\n font-family: var(--cipher-font-mono);\n}\n.unread {\n flex-shrink: 0;\n width: var(--cipher-space-6);\n height: var(--cipher-space-6);\n background: var(--cipher-accent-fg);\n border-radius: 0;\n}\n.lead > .unread {\n position: absolute;\n top: calc(-1 * var(--cipher-space-2));\n right: calc(-1 * var(--cipher-space-2));\n box-shadow: 0 0 0 var(--cipher-space-2) var(--cipher-surface);\n}\n.layout[data-unread] .title {\n font-weight: 600;\n}\n.layout[data-size=\"sm\"] .description {\n display: none;\n}\n.layout[data-size=\"sm\"] .main,\n.layout[data-size=\"sm\"] .copy {\n min-width: 0;\n flex-wrap: nowrap;\n}\n.media[data-tone=\"ok\"] {\n background: var(--cipher-ok-wash);\n border-color: var(--cipher-ok-line);\n color: var(--cipher-ok);\n}\n.media[data-tone=\"warn\"] {\n background: var(--cipher-warn-wash);\n border-color: var(--cipher-warn-line);\n color: var(--cipher-warn);\n}\n.media[data-tone=\"bad\"] {\n background: var(--cipher-bad-wash);\n border-color: var(--cipher-bad-line);\n color: var(--cipher-bad);\n}\n.media[data-tone=\"info\"] {\n background: var(--cipher-info-wash);\n border-color: var(--cipher-info-line);\n color: var(--cipher-info);\n}\n.tileTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n overflow-wrap: anywhere;\n color: var(--cipher-ink);\n}\n[data-slot=\"tile\"][data-layout=\"stacked\"] .tileTitle {\n display: block;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n[data-slot=\"tile\"][aria-disabled=\"true\"]:not([data-disabled]) .tileTitle {\n opacity: 0.5;\n}\n\n.titleLine {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-8);\n min-width: 0;\n flex-wrap: wrap;\n}\n.titleLine > .title {\n flex: 0 1 auto;\n min-width: 0;\n}\n.titleLine > .clamp {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n white-space: normal;\n overflow-wrap: anywhere;\n}\n.meta {\n font-family: var(--cipher-type-mono-sm-font-family);\n font-size: var(--cipher-type-mono-sm-font-size);\n line-height: var(--cipher-type-mono-sm-line-height);\n font-weight: var(--cipher-type-mono-sm-font-weight);\n letter-spacing: var(--cipher-type-mono-sm-letter-spacing);\n margin-inline-start: auto;\n flex-shrink: 0;\n color: var(--cipher-muted);\n max-width: 100%;\n overflow-wrap: anywhere;\n}\n\n.partDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n overflow-wrap: anywhere;\n}\n.layout[data-size=\"sm\"] .actions {\n align-self: center;\n min-height: 0;\n}\n" } ] } diff --git a/r/secret-path-input.json b/r/secret-path-input.json index 83c978e1..a0abfccf 100644 --- a/r/secret-path-input.json +++ b/r/secret-path-input.json @@ -20,7 +20,7 @@ "path": "src/components/cipher/ui/helpers.module.css", "type": "registry:file", "target": "src/components/cipher/ui/helpers.module.css", - "content": ".avatarFallback {\n background: var(--cipher-tint);\n color: var(--cipher-ink);\n font-family: var(--cipher-type-label-font-family);\n font-weight: var(--cipher-type-label-font-weight);\n line-height: 1;\n letter-spacing: 0;\n}\n.avatarFallback svg {\n width: 50%;\n height: 50%;\n max-width: var(--cipher-size-icon);\n max-height: var(--cipher-size-icon);\n}\n.count {\n font-family: var(--cipher-type-mono-sm-font-family);\n font-size: var(--cipher-type-mono-sm-font-size);\n line-height: var(--cipher-type-mono-sm-line-height);\n font-weight: var(--cipher-type-mono-sm-font-weight);\n letter-spacing: var(--cipher-type-mono-sm-letter-spacing);\n display: inline-flex;\n min-width: var(--cipher-size-count);\n height: var(--cipher-size-count);\n padding: 0 var(--cipher-space-4);\n align-items: center;\n justify-content: center;\n border-radius: 0;\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.countInk {\n background: var(--cipher-ink);\n color: var(--cipher-surface);\n}\n.countNeutral {\n background: var(--cipher-tint);\n color: var(--cipher-text2);\n}\n.identity {\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n}\n.identityText {\n flex: 1 1 auto;\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n.identityTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.identityDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n color: var(--cipher-text2, var(--muted-foreground));\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mono {\n font-family: var(--cipher-font-mono, monospace);\n}\n.media {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n flex: 0 0 auto;\n color: var(--cipher-ink, var(--foreground));\n background: var(--cipher-surface);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.mediaSmall {\n width: 24px;\n height: 24px;\n}\n.tile {\n display: flex;\n align-items: center;\n gap: 12px;\n width: 100%;\n padding: var(--cipher-space-12);\n text-align: start;\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-surface, var(--background));\n color: var(--cipher-ink, var(--foreground));\n}\n.tile:not([aria-disabled=\"true\"]):hover {\n border-color: var(--cipher-control, var(--border));\n background: var(--cipher-hover);\n}\n.tile[data-in-frame] {\n border-color: transparent;\n background: var(--cipher-tint);\n}\n.tile[data-in-frame]:not([aria-disabled=\"true\"]):hover {\n background: color-mix(in srgb, var(--cipher-mix-ink) var(--cipher-hover-mix), var(--cipher-tint));\n}\n.tile[aria-pressed=\"true\"] {\n border-color: var(--cipher-ink, var(--foreground));\n}\n.tile:disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.tile:focus-visible {\n outline: 2px solid var(--ring, var(--ring));\n outline-offset: 2px;\n}\n.tileBody {\n flex: 1;\n min-width: 0;\n}\n.tile[aria-disabled=\"true\"] {\n cursor: not-allowed;\n}\n.tile[data-layout=\"stacked\"] {\n flex-direction: column;\n align-items: stretch;\n gap: var(--cipher-space-4);\n padding: var(--cipher-space-16);\n}\n.tile[data-layout=\"stacked\"] > .tileBody {\n flex: 1 1 auto;\n}\n.tileTop {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: var(--cipher-space-12);\n min-width: 0;\n margin-bottom: var(--cipher-space-8);\n}\n.tileEyebrow {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--cipher-muted);\n font-family: var(--cipher-type-eyebrow-font-family);\n font-size: var(--cipher-type-eyebrow-font-size);\n line-height: var(--cipher-type-eyebrow-line-height);\n font-weight: var(--cipher-type-eyebrow-font-weight);\n letter-spacing: var(--cipher-type-eyebrow-letter-spacing);\n text-transform: uppercase;\n}\n.tile[aria-disabled=\"true\"] > .tileTop {\n opacity: 0.5;\n}\n.banner {\n display: flex;\n width: 100%;\n align-items: center;\n flex-wrap: wrap;\n gap: 12px;\n border: 1px solid var(--cipher-accent-line);\n background: var(--cipher-accent-wash);\n color: var(--cipher-ink, var(--foreground));\n padding: 10px 16px;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n.banner > svg {\n flex: 0 0 auto;\n color: var(--cipher-accent-fg);\n}\n.bannerText {\n flex: 1;\n min-width: min(100%, 160px);\n}\n.steps {\n display: flex;\n flex-wrap: wrap;\n gap: 12px;\n padding: 0;\n margin: 0;\n list-style: none;\n}\n.step {\n display: flex;\n align-items: center;\n gap: 6px;\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.step[data-current] {\n color: var(--cipher-ink, var(--foreground));\n font-weight: var(--cipher-type-title-sm-font-weight);\n}\n.stepNumber {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n border: 1px solid var(--cipher-line-soft, var(--border));\n}\n.step[data-current] .stepNumber {\n background: repeating-linear-gradient(\n 135deg,\n var(--cipher-tint, var(--muted)) 0 2px,\n transparent 2px 4px\n );\n border-color: var(--cipher-ink, var(--foreground));\n}\n:global(.cipher) {\n --cipher-toast-bottom: var(--cipher-space-action-bar-offset);\n}\n:global(.cipher)[data-action-bar-reserve] {\n --cipher-toast-bottom: calc(var(--cipher-size-action-bar) + 2 * var(--cipher-space-action-bar-offset));\n}\n.toastFixed {\n position: fixed;\n inset-inline-end: var(--cipher-space-16);\n bottom: var(--cipher-toast-bottom);\n z-index: 100;\n transition: bottom var(--cipher-duration-moderate) var(--cipher-ease-standard);\n}\n@media (prefers-reduced-motion: reduce) {\n .toastFixed {\n transition-duration: 0s;\n }\n}\n.toastTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.toastDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin-top: 2px;\n color: var(--cipher-text2, var(--muted-foreground));\n}\n.avatarStatus[data-status=\"ok\"] {\n background: var(--cipher-ok);\n}\n.avatarStatus[data-status=\"warn\"] {\n background: var(--cipher-warn);\n}\n.fieldLabels {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n min-width: 0;\n}\n.fieldLabelRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n min-width: 0;\n}\n.globHelp {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-4);\n}\n.legendRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n width: 100%;\n min-width: 0;\n padding: 0;\n}\n.legendActions {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-8);\n margin-inline-start: auto;\n}\n.fieldHelp {\n margin-block: calc((var(--cipher-type-field-label-line-height) - var(--cipher-size-control-xs)) / 2);\n color: var(--cipher-muted);\n}\n.fieldDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin: 0;\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.fieldError {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-6);\n margin: 0;\n color: var(--cipher-bad);\n}\n.fieldError > svg {\n flex: none;\n margin-block-start: calc((var(--cipher-type-small-line-height) - 14px) / 2);\n}\n.fieldErrorLines {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-2);\n}\n.fieldControl {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n flex: 1;\n min-width: 0;\n}\n.badge {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n height: var(--cipher-size-badge);\n padding: 0 var(--cipher-space-8);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.badge.mono {\n font-family: var(--cipher-type-mono-sm-font-family);\n}\n.badge[data-slot][data-tone] {\n border-color: var(--cipher-line-soft);\n color: var(--cipher-muted);\n background: transparent;\n}\n.badge[data-size=\"sm\"] {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph-sm);\n height: var(--cipher-size-badge-sm);\n padding-inline: var(--cipher-space-6);\n line-height: calc(var(--cipher-size-badge-sm) - 2 * var(--cipher-size-control-border));\n}\n.badge:is([data-size=\"control-sm\"], [data-size=\"control-md\"], [data-size=\"control-lg\"]) {\n --cipher-badge-glyph: var(--cipher-size-icon);\n gap: var(--cipher-space-control-gap);\n font-family: var(--cipher-type-body-font-family);\n font-size: var(--cipher-type-body-font-size);\n line-height: var(--cipher-type-body-line-height);\n font-weight: var(--cipher-type-body-font-weight);\n letter-spacing: var(--cipher-type-body-letter-spacing);\n}\n.badge[data-size=\"control-sm\"] {\n --cipher-badge-glyph: var(--cipher-size-icon-sm);\n height: var(--cipher-size-control-sm);\n padding-inline: var(--cipher-space-control-inline-sm);\n}\n.badge[data-size=\"control-md\"] {\n height: var(--cipher-size-control-md);\n padding-inline: var(--cipher-space-control-inline-md);\n}\n.badge[data-size=\"control-lg\"] {\n height: var(--cipher-size-control-lg);\n padding-inline: var(--cipher-space-control-inline);\n}\n.badge[data-slot][data-tone=\"soft\"] {\n border-color: var(--cipher-line-soft);\n background: var(--cipher-line-soft);\n color: var(--cipher-text2);\n}\n.badge[data-slot][data-tone=\"solid\"] {\n border-color: var(--cipher-ink);\n background: var(--cipher-ink);\n color: var(--cipher-on-ink);\n}\n.badge[data-slot][data-tone=\"accent\"] {\n border-color: var(--cipher-accent);\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.badge[data-slot][data-tone=\"ok\"] {\n border-color: var(--cipher-ok-line);\n background: var(--cipher-ok-bg);\n color: var(--cipher-ok);\n}\n.badge[data-slot][data-tone=\"warn\"] {\n border-color: var(--cipher-warn-line);\n background: var(--cipher-warn-bg);\n color: var(--cipher-warn);\n}\n.badge[data-slot][data-tone=\"bad\"] {\n border-color: var(--cipher-bad-line);\n background: var(--cipher-bad-bg);\n color: var(--cipher-bad);\n}\n.badge[data-slot][data-tone=\"info\"] {\n border-color: var(--cipher-info-line);\n background: var(--cipher-info-bg);\n color: var(--cipher-info);\n}\n.badgeDot {\n width: 6px;\n height: 6px;\n background: currentColor;\n flex-shrink: 0;\n}\n.steps .step {\n display: flex;\n flex: 1;\n flex-direction: column;\n align-items: flex-start;\n gap: 6px;\n}\n.steps .step::before {\n content: \"\";\n display: block;\n width: 100%;\n height: 6px;\n background: var(--cipher-line-soft);\n}\n.steps .step[data-complete]::before {\n background: var(--cipher-ink);\n}\n.steps .step[data-current]::before {\n background: repeating-linear-gradient(135deg, var(--cipher-ink) 0 2px, var(--cipher-line-soft) 2px 4px);\n}\n.fieldset {\n min-width: 0;\n width: 100%;\n padding: 0;\n border: 0;\n display: flex;\n flex-direction: column;\n gap: 6px;\n}\n.fieldset > legend {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n margin-bottom: 6px;\n}\n.alert[data-tone=\"neutral\"] {\n background: var(--cipher-paper);\n border-color: var(--cipher-line-soft);\n color: var(--cipher-ink);\n}\n.alert[data-tone=\"neutral\"] > svg {\n color: var(--cipher-muted);\n}\n.alert[data-tone=\"info\"] {\n background: var(--cipher-info-bg);\n border-color: var(--cipher-info-line);\n color: var(--cipher-info);\n}\n.alert[data-tone=\"ok\"] {\n background: var(--cipher-ok-bg);\n border-color: var(--cipher-ok-line);\n color: var(--cipher-ok);\n}\n.alert[data-tone=\"warn\"] {\n background: var(--cipher-warn-bg);\n border-color: var(--cipher-warn-line);\n color: var(--cipher-warn);\n}\n.alert[data-tone=\"bad\"] {\n background: var(--cipher-bad-bg);\n border-color: var(--cipher-bad-line);\n color: var(--cipher-bad);\n}\n.alertActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-8);\n padding-top: var(--cipher-space-actions-gap);\n}\n.toastStack {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-8);\n width: max-content;\n max-width: min(var(--cipher-size-toast), 100%);\n}\n.toastStack.toastFixed {\n max-width: min(var(--cipher-size-toast), calc(100vw - 2 * var(--cipher-space-16)));\n}\n.toast {\n border-radius: 0;\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-8);\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-toast-bg, var(--popover));\n color: var(--cipher-ink, var(--foreground));\n box-shadow: var(--cipher-shadow-pop, 0 4px 16px rgb(0 0 0 / 0.12));\n padding: var(--cipher-space-12);\n --cipher-toast-line: var(--cipher-type-row-title-line-height);\n}\n.toast > svg {\n flex: none;\n height: var(--cipher-toast-line);\n}\n.toastBody {\n min-width: 0;\n flex: 1 1 auto;\n}\n.toastTitle,\n.toastDescription {\n overflow-wrap: anywhere;\n}\n.toast > button {\n flex: none;\n margin-block: calc((var(--cipher-toast-line) - var(--cipher-action-height)) / 2);\n}\n.toastActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-4);\n margin-top: var(--cipher-space-8);\n margin-inline-start: calc(-1 * var(--cipher-space-control-inline-sm));\n contain: inline-size;\n}\n.toastActions > button {\n white-space: normal;\n max-width: 100%;\n}\n.avatarShape {\n border-radius: 0;\n}\n.avatarShape::after {\n content: \"\";\n position: absolute;\n inset: 0;\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n mix-blend-mode: var(--cipher-avatar-blend);\n pointer-events: none;\n}\n.avatarShape::after,\n.avatarShape > [data-slot=\"avatar-fallback\"],\n.avatarShape > [data-slot=\"avatar-image\"] {\n border-radius: inherit;\n}\n.avatarShape > [data-slot=\"avatar-fallback\"] {\n font-size: inherit;\n}\n.avatarRing {\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n}\n.avatarGroup {\n display: flex;\n}\n.avatarGroup > [data-slot=\"avatar\"] + [data-slot=\"avatar\"],\n.avatarGroup > * + [data-slot=\"avatar-group-count\"] {\n margin-inline-start: calc(-1 * var(--cipher-space-4));\n}\n.avatarCount {\n border-radius: 0;\n background: var(--cipher-tint);\n color: var(--cipher-muted);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n font-weight: var(--cipher-type-caption-font-weight);\n}\n.avatarStatus {\n position: absolute;\n z-index: 1;\n inset-inline-end: calc(-1 * var(--cipher-space-2));\n bottom: calc(-1 * var(--cipher-space-2));\n width: var(--cipher-space-8);\n height: var(--cipher-space-8);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n background: var(--cipher-faint);\n border-radius: 0;\n}\n\n.fieldLegend {\n font-family: var(--cipher-type-title-sm-font-family);\n font-size: var(--cipher-type-title-sm-font-size);\n line-height: var(--cipher-type-title-sm-line-height);\n font-weight: var(--cipher-type-title-sm-font-weight);\n letter-spacing: var(--cipher-type-title-sm-letter-spacing);\n margin-bottom: var(--cipher-space-field-label);\n}\n.fieldLegend[data-variant=\"legend\"] {\n margin-bottom: var(--cipher-space-field-legend);\n}\n.fieldLegend[data-variant=\"legend\"] + .fieldDescription {\n margin-top: calc(var(--cipher-space-field-label) - var(--cipher-space-field-legend));\n}\n[data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n row-gap: var(--cipher-space-field-legend);\n}\n.fieldGroup > [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) + *,\n.fieldGroup > * + [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n margin-top: calc(var(--cipher-space-content-section) - var(--cipher-space-field-group));\n}\n.fieldLegend[data-variant=\"label\"] {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.alertTitle {\n grid-column: 1;\n grid-row: 1;\n min-width: 0;\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.alertDescription {\n grid-column: 1;\n min-width: 0;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n\n:is(.fieldDescription, .alertDescription) a:not([data-slot]) {\n color: var(--cipher-link);\n text-decoration-line: none;\n text-decoration-thickness: var(--cipher-size-control-border);\n text-underline-offset: var(--cipher-space-3);\n}\n:is(.fieldDescription, .alertDescription) a:not([data-slot]):focus-visible {\n text-decoration-line: underline;\n}\n@media (hover: hover) {\n :is(.fieldDescription, .alertDescription) a:not([data-slot]):hover {\n color: var(--cipher-text2);\n text-decoration-line: underline;\n text-decoration-thickness: var(--cipher-space-2);\n }\n}\n\n.alert {\n position: relative;\n display: grid;\n width: 100%;\n grid-template-columns: minmax(0, 1fr);\n border: 1px solid var(--cipher-line-soft);\n border-radius: 0;\n padding: var(--cipher-space-12);\n gap: var(--cipher-space-4) var(--cipher-space-8);\n overflow-wrap: anywhere;\n text-align: start;\n}\n.alert[data-has-icon] {\n grid-template-columns: auto minmax(0, 1fr);\n}\n.alert > svg {\n grid-column: 1;\n grid-row: 1 / span 2;\n align-self: start;\n transform: translateY(var(--cipher-space-2));\n color: currentColor;\n}\n.alert[data-has-icon]:not([data-has-title]) > svg {\n grid-row: 1;\n transform: translateY(calc(var(--cipher-space-2) / 2));\n}\n.alert[data-has-icon] > :is(.alertTitle, .alertDescription) {\n grid-column: 2;\n}\n.alert[data-has-title] > .alertDescription {\n grid-row: 2;\n}\n.alert[data-has-action] {\n grid-template-columns: minmax(0, 1fr) auto;\n padding-inline-end: var(--cipher-space-12);\n}\n.alert[data-has-icon][data-has-action] {\n grid-template-columns: auto minmax(0, 1fr) auto;\n}\n.alertAction {\n position: static;\n grid-column: -2 / -1;\n grid-row: 1 / span 2;\n align-self: start;\n}\n\n.fieldTitle {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.fieldGroup {\n gap: var(--cipher-space-field-group);\n}\n.field {\n gap: var(--cipher-space-field-label);\n}\n.field:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field);\n}\n.field[data-width=\"wide\"]:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field-wide);\n}\n.field[data-orientation=\"horizontal\"] {\n gap: var(--cipher-space-12);\n}\n" + "content": ".avatarFallback {\n background: var(--cipher-tint);\n color: var(--cipher-ink);\n font-family: var(--cipher-type-label-font-family);\n font-weight: var(--cipher-type-label-font-weight);\n line-height: 1;\n letter-spacing: 0;\n}\n.avatarFallback svg {\n width: 50%;\n height: 50%;\n max-width: var(--cipher-size-icon);\n max-height: var(--cipher-size-icon);\n}\n.count {\n font-family: var(--cipher-type-mono-sm-font-family);\n font-size: var(--cipher-type-mono-sm-font-size);\n line-height: var(--cipher-type-mono-sm-line-height);\n font-weight: var(--cipher-type-mono-sm-font-weight);\n letter-spacing: var(--cipher-type-mono-sm-letter-spacing);\n display: inline-flex;\n min-width: var(--cipher-size-count);\n height: var(--cipher-size-count);\n padding: 0 var(--cipher-space-4);\n align-items: center;\n justify-content: center;\n border-radius: 0;\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.countInk {\n background: var(--cipher-ink);\n color: var(--cipher-surface);\n}\n.countNeutral {\n background: var(--cipher-tint);\n color: var(--cipher-text2);\n}\n.identity {\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n}\n.identityText {\n flex: 1 1 auto;\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n.identityTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.identityDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n color: var(--cipher-text2, var(--muted-foreground));\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mono {\n font-family: var(--cipher-font-mono, monospace);\n}\n.media {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n flex: 0 0 auto;\n color: var(--cipher-ink, var(--foreground));\n background: var(--cipher-surface);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.mediaSmall {\n width: 24px;\n height: 24px;\n}\n.tile {\n display: flex;\n box-sizing: border-box;\n text-decoration: none;\n align-items: center;\n gap: 12px;\n width: 100%;\n padding: var(--cipher-space-12);\n text-align: start;\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-surface, var(--background));\n color: var(--cipher-ink, var(--foreground));\n}\n.tile:not([aria-disabled=\"true\"]):hover {\n border-color: var(--cipher-control, var(--border));\n background: var(--cipher-hover);\n}\n.tile[data-in-frame] {\n border-color: transparent;\n background: var(--cipher-tint);\n}\n.tile[data-in-frame]:not([aria-disabled=\"true\"]):hover {\n background: color-mix(in srgb, var(--cipher-mix-ink) var(--cipher-hover-mix), var(--cipher-tint));\n}\n.tile[aria-pressed=\"true\"],\n.tile[aria-current=\"page\"] {\n border-color: var(--cipher-ink, var(--foreground));\n}\n.tile:disabled,\n.tile[data-disabled] {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.tile:focus-visible {\n outline: 2px solid var(--ring, var(--ring));\n outline-offset: 2px;\n}\n.tileBody {\n flex: 1;\n min-width: 0;\n}\n.tile[aria-disabled=\"true\"] {\n cursor: not-allowed;\n}\n.tile[data-layout=\"stacked\"] {\n flex-direction: column;\n align-items: stretch;\n gap: var(--cipher-space-4);\n padding: var(--cipher-space-16);\n}\n.tile[data-layout=\"stacked\"] > .tileBody {\n flex: 1 1 auto;\n}\n.tileTop {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: var(--cipher-space-12);\n min-width: 0;\n margin-bottom: var(--cipher-space-8);\n}\n.tileAside {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-8);\n min-width: 0;\n margin-inline-start: auto;\n color: var(--cipher-muted);\n}\n.tileAside > :not(.tileEyebrow) {\n flex: none;\n}\n.tileEyebrow {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--cipher-muted);\n font-family: var(--cipher-type-eyebrow-font-family);\n font-size: var(--cipher-type-eyebrow-font-size);\n line-height: var(--cipher-type-eyebrow-line-height);\n font-weight: var(--cipher-type-eyebrow-font-weight);\n letter-spacing: var(--cipher-type-eyebrow-letter-spacing);\n text-transform: uppercase;\n}\n.tile[aria-disabled=\"true\"]:not([data-disabled]) > .tileTop {\n opacity: 0.5;\n}\n.banner {\n display: flex;\n width: 100%;\n align-items: center;\n flex-wrap: wrap;\n gap: 12px;\n border: 1px solid var(--cipher-accent-line);\n background: var(--cipher-accent-wash);\n color: var(--cipher-ink, var(--foreground));\n padding: 10px 16px;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n.banner > svg {\n flex: 0 0 auto;\n color: var(--cipher-accent-fg);\n}\n.bannerText {\n flex: 1;\n min-width: min(100%, 160px);\n}\n.steps {\n display: flex;\n flex-wrap: wrap;\n gap: 12px;\n padding: 0;\n margin: 0;\n list-style: none;\n}\n.step {\n display: flex;\n align-items: center;\n gap: 6px;\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.step[data-current] {\n color: var(--cipher-ink, var(--foreground));\n font-weight: var(--cipher-type-title-sm-font-weight);\n}\n.stepNumber {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n border: 1px solid var(--cipher-line-soft, var(--border));\n}\n.step[data-current] .stepNumber {\n background: repeating-linear-gradient(\n 135deg,\n var(--cipher-tint, var(--muted)) 0 2px,\n transparent 2px 4px\n );\n border-color: var(--cipher-ink, var(--foreground));\n}\n:global(.cipher) {\n --cipher-toast-bottom: var(--cipher-space-action-bar-offset);\n}\n:global(.cipher)[data-action-bar-reserve] {\n --cipher-toast-bottom: calc(var(--cipher-size-action-bar) + 2 * var(--cipher-space-action-bar-offset));\n}\n.toastFixed {\n position: fixed;\n inset-inline-end: var(--cipher-space-16);\n bottom: var(--cipher-toast-bottom);\n z-index: 100;\n transition: bottom var(--cipher-duration-moderate) var(--cipher-ease-standard);\n}\n@media (prefers-reduced-motion: reduce) {\n .toastFixed {\n transition-duration: 0s;\n }\n}\n.toastTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.toastDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin-top: 2px;\n color: var(--cipher-text2, var(--muted-foreground));\n}\n.avatarStatus[data-status=\"ok\"] {\n background: var(--cipher-ok);\n}\n.avatarStatus[data-status=\"warn\"] {\n background: var(--cipher-warn);\n}\n.fieldLabels {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n min-width: 0;\n}\n.fieldLabelRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n min-width: 0;\n}\n.globHelp {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-4);\n}\n.legendRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n width: 100%;\n min-width: 0;\n padding: 0;\n}\n.legendActions {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-8);\n margin-inline-start: auto;\n}\n.fieldHelp {\n margin-block: calc((var(--cipher-type-field-label-line-height) - var(--cipher-size-control-xs)) / 2);\n color: var(--cipher-muted);\n}\n.fieldDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin: 0;\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.fieldError {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-6);\n margin: 0;\n color: var(--cipher-bad);\n}\n.fieldError > svg {\n flex: none;\n margin-block-start: calc((var(--cipher-type-small-line-height) - 14px) / 2);\n}\n.fieldErrorLines {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-2);\n}\n.fieldControl {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n flex: 1;\n min-width: 0;\n}\n.badge {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n height: var(--cipher-size-badge);\n padding: 0 var(--cipher-space-8);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.badge.mono {\n font-family: var(--cipher-type-mono-sm-font-family);\n}\n.badge[data-slot][data-tone] {\n border-color: var(--cipher-line-soft);\n color: var(--cipher-muted);\n background: transparent;\n}\n.badge[data-size=\"sm\"] {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph-sm);\n height: var(--cipher-size-badge-sm);\n padding-inline: var(--cipher-space-6);\n line-height: calc(var(--cipher-size-badge-sm) - 2 * var(--cipher-size-control-border));\n}\n.badge:is([data-size=\"control-sm\"], [data-size=\"control-md\"], [data-size=\"control-lg\"]) {\n --cipher-badge-glyph: var(--cipher-size-icon);\n gap: var(--cipher-space-control-gap);\n font-family: var(--cipher-type-body-font-family);\n font-size: var(--cipher-type-body-font-size);\n line-height: var(--cipher-type-body-line-height);\n font-weight: var(--cipher-type-body-font-weight);\n letter-spacing: var(--cipher-type-body-letter-spacing);\n}\n.badge[data-size=\"control-sm\"] {\n --cipher-badge-glyph: var(--cipher-size-icon-sm);\n height: var(--cipher-size-control-sm);\n padding-inline: var(--cipher-space-control-inline-sm);\n}\n.badge[data-size=\"control-md\"] {\n height: var(--cipher-size-control-md);\n padding-inline: var(--cipher-space-control-inline-md);\n}\n.badge[data-size=\"control-lg\"] {\n height: var(--cipher-size-control-lg);\n padding-inline: var(--cipher-space-control-inline);\n}\n.badge[data-slot][data-tone=\"soft\"] {\n border-color: var(--cipher-line-soft);\n background: var(--cipher-line-soft);\n color: var(--cipher-text2);\n}\n.badge[data-slot][data-tone=\"solid\"] {\n border-color: var(--cipher-ink);\n background: var(--cipher-ink);\n color: var(--cipher-on-ink);\n}\n.badge[data-slot][data-tone=\"accent\"] {\n border-color: var(--cipher-accent);\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.badge[data-slot][data-tone=\"ok\"] {\n border-color: var(--cipher-ok-line);\n background: var(--cipher-ok-bg);\n color: var(--cipher-ok);\n}\n.badge[data-slot][data-tone=\"warn\"] {\n border-color: var(--cipher-warn-line);\n background: var(--cipher-warn-bg);\n color: var(--cipher-warn);\n}\n.badge[data-slot][data-tone=\"bad\"] {\n border-color: var(--cipher-bad-line);\n background: var(--cipher-bad-bg);\n color: var(--cipher-bad);\n}\n.badge[data-slot][data-tone=\"info\"] {\n border-color: var(--cipher-info-line);\n background: var(--cipher-info-bg);\n color: var(--cipher-info);\n}\n.badgeDot {\n width: 6px;\n height: 6px;\n background: currentColor;\n flex-shrink: 0;\n}\n.steps .step {\n display: flex;\n flex: 1;\n flex-direction: column;\n align-items: flex-start;\n gap: 6px;\n}\n.steps .step::before {\n content: \"\";\n display: block;\n width: 100%;\n height: 6px;\n background: var(--cipher-line-soft);\n}\n.steps .step[data-complete]::before {\n background: var(--cipher-ink);\n}\n.steps .step[data-current]::before {\n background: repeating-linear-gradient(135deg, var(--cipher-ink) 0 2px, var(--cipher-line-soft) 2px 4px);\n}\n.fieldset {\n min-width: 0;\n width: 100%;\n padding: 0;\n border: 0;\n display: flex;\n flex-direction: column;\n gap: 6px;\n}\n.fieldset > legend {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n margin-bottom: 6px;\n}\n.alert[data-tone=\"neutral\"] {\n background: var(--cipher-paper);\n border-color: var(--cipher-line-soft);\n color: var(--cipher-ink);\n}\n.alert[data-tone=\"neutral\"] > svg {\n color: var(--cipher-muted);\n}\n.alert[data-tone=\"info\"] {\n background: var(--cipher-info-bg);\n border-color: var(--cipher-info-line);\n color: var(--cipher-info);\n}\n.alert[data-tone=\"ok\"] {\n background: var(--cipher-ok-bg);\n border-color: var(--cipher-ok-line);\n color: var(--cipher-ok);\n}\n.alert[data-tone=\"warn\"] {\n background: var(--cipher-warn-bg);\n border-color: var(--cipher-warn-line);\n color: var(--cipher-warn);\n}\n.alert[data-tone=\"bad\"] {\n background: var(--cipher-bad-bg);\n border-color: var(--cipher-bad-line);\n color: var(--cipher-bad);\n}\n.alertActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-8);\n padding-top: var(--cipher-space-actions-gap);\n}\n.toastStack {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-8);\n width: max-content;\n max-width: min(var(--cipher-size-toast), 100%);\n}\n.toastStack.toastFixed {\n max-width: min(var(--cipher-size-toast), calc(100vw - 2 * var(--cipher-space-16)));\n}\n.toast {\n border-radius: 0;\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-8);\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-toast-bg, var(--popover));\n color: var(--cipher-ink, var(--foreground));\n box-shadow: var(--cipher-shadow-pop, 0 4px 16px rgb(0 0 0 / 0.12));\n padding: var(--cipher-space-12);\n --cipher-toast-line: var(--cipher-type-row-title-line-height);\n}\n.toast > svg {\n flex: none;\n height: var(--cipher-toast-line);\n}\n.toastBody {\n min-width: 0;\n flex: 1 1 auto;\n}\n.toastTitle,\n.toastDescription {\n overflow-wrap: anywhere;\n}\n.toast > button {\n flex: none;\n margin-block: calc((var(--cipher-toast-line) - var(--cipher-action-height)) / 2);\n}\n.toastActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-4);\n margin-top: var(--cipher-space-8);\n margin-inline-start: calc(-1 * var(--cipher-space-control-inline-sm));\n contain: inline-size;\n}\n.toastActions > button {\n white-space: normal;\n max-width: 100%;\n}\n.avatarShape {\n border-radius: 0;\n}\n.avatarShape::after {\n content: \"\";\n position: absolute;\n inset: 0;\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n mix-blend-mode: var(--cipher-avatar-blend);\n pointer-events: none;\n}\n.avatarShape::after,\n.avatarShape > [data-slot=\"avatar-fallback\"],\n.avatarShape > [data-slot=\"avatar-image\"] {\n border-radius: inherit;\n}\n.avatarShape > [data-slot=\"avatar-fallback\"] {\n font-size: inherit;\n}\n.avatarRing {\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n}\n.avatarGroup {\n display: flex;\n}\n.avatarGroup > [data-slot=\"avatar\"] + [data-slot=\"avatar\"],\n.avatarGroup > * + [data-slot=\"avatar-group-count\"] {\n margin-inline-start: calc(-1 * var(--cipher-space-4));\n}\n.avatarCount {\n border-radius: 0;\n background: var(--cipher-tint);\n color: var(--cipher-muted);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n font-weight: var(--cipher-type-caption-font-weight);\n}\n.avatarStatus {\n position: absolute;\n z-index: 1;\n inset-inline-end: calc(-1 * var(--cipher-space-2));\n bottom: calc(-1 * var(--cipher-space-2));\n width: var(--cipher-space-8);\n height: var(--cipher-space-8);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n background: var(--cipher-faint);\n border-radius: 0;\n}\n\n.fieldLegend {\n font-family: var(--cipher-type-title-sm-font-family);\n font-size: var(--cipher-type-title-sm-font-size);\n line-height: var(--cipher-type-title-sm-line-height);\n font-weight: var(--cipher-type-title-sm-font-weight);\n letter-spacing: var(--cipher-type-title-sm-letter-spacing);\n margin-bottom: var(--cipher-space-field-label);\n}\n.fieldLegend[data-variant=\"legend\"] {\n margin-bottom: var(--cipher-space-field-legend);\n}\n.fieldLegend[data-variant=\"legend\"] + .fieldDescription {\n margin-top: calc(var(--cipher-space-field-label) - var(--cipher-space-field-legend));\n}\n[data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n row-gap: var(--cipher-space-field-legend);\n}\n.fieldGroup > [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) + *,\n.fieldGroup > * + [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n margin-top: calc(var(--cipher-space-content-section) - var(--cipher-space-field-group));\n}\n.fieldLegend[data-variant=\"label\"] {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.alertTitle {\n grid-column: 1;\n grid-row: 1;\n min-width: 0;\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.alertDescription {\n grid-column: 1;\n min-width: 0;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n\n:is(.fieldDescription, .alertDescription) a:not([data-slot]) {\n color: var(--cipher-link);\n text-decoration-line: none;\n text-decoration-thickness: var(--cipher-size-control-border);\n text-underline-offset: var(--cipher-space-3);\n}\n:is(.fieldDescription, .alertDescription) a:not([data-slot]):focus-visible {\n text-decoration-line: underline;\n}\n@media (hover: hover) {\n :is(.fieldDescription, .alertDescription) a:not([data-slot]):hover {\n color: var(--cipher-text2);\n text-decoration-line: underline;\n text-decoration-thickness: var(--cipher-space-2);\n }\n}\n\n.alert {\n position: relative;\n display: grid;\n width: 100%;\n grid-template-columns: minmax(0, 1fr);\n border: 1px solid var(--cipher-line-soft);\n border-radius: 0;\n padding: var(--cipher-space-12);\n gap: var(--cipher-space-4) var(--cipher-space-8);\n overflow-wrap: anywhere;\n text-align: start;\n}\n.alert[data-has-icon] {\n grid-template-columns: auto minmax(0, 1fr);\n}\n.alert > svg {\n grid-column: 1;\n grid-row: 1 / span 2;\n align-self: start;\n transform: translateY(var(--cipher-space-2));\n color: currentColor;\n}\n.alert[data-has-icon]:not([data-has-title]) > svg {\n grid-row: 1;\n transform: translateY(calc(var(--cipher-space-2) / 2));\n}\n.alert[data-has-icon] > :is(.alertTitle, .alertDescription) {\n grid-column: 2;\n}\n.alert[data-has-title] > .alertDescription {\n grid-row: 2;\n}\n.alert[data-has-action] {\n grid-template-columns: minmax(0, 1fr) auto;\n padding-inline-end: var(--cipher-space-12);\n}\n.alert[data-has-icon][data-has-action] {\n grid-template-columns: auto minmax(0, 1fr) auto;\n}\n.alertAction {\n position: static;\n grid-column: -2 / -1;\n grid-row: 1 / span 2;\n align-self: start;\n}\n\n.fieldTitle {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.fieldGroup {\n gap: var(--cipher-space-field-group);\n}\n.field {\n gap: var(--cipher-space-field-label);\n}\n.field:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field);\n}\n.field[data-width=\"wide\"]:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field-wide);\n}\n.field[data-orientation=\"horizontal\"] {\n gap: var(--cipher-space-12);\n}\n" }, { "path": "src/components/cipher/ui/menu-inset.ts", diff --git a/r/tile-picker.json b/r/tile-picker.json index 26457844..6454fa50 100644 --- a/r/tile-picker.json +++ b/r/tile-picker.json @@ -15,7 +15,7 @@ "path": "src/components/cipher/patterns/tile-picker.tsx", "type": "registry:file", "target": "src/components/cipher/patterns/tile-picker.tsx", - "content": "import * as React from \"react\";\n\nimport { cn } from \"../lib/utils\";\nimport { Button } from \"../ui/button\";\nimport { type EmptyGhost, EmptyGhostScope, EmptyState } from \"../ui/empty\";\nimport type { IconSource } from \"../ui/icon\";\nimport { Input } from \"../ui/input\";\nimport { Media, Tile } from \"../ui/item\";\n\nimport styles from \"./tile-picker.module.css\";\n\nexport type TilePickerItem = {\n value: string;\n title: string;\n description?: string;\n /** A short group name, such as AWS or CI/CD, shown across from the media. */\n eyebrow?: string;\n icon?: IconSource;\n /** A logo or image, framed like an icon. Ignored when icon is set. */\n media?: React.ReactNode;\n /** Also listed under the popular section while the search is empty. */\n popular?: boolean;\n disabledReason?: string;\n /** Extra words the search matches, such as a vendor's other product names. */\n keywords?: readonly string[];\n};\n\nexport type TilePickerProps = Omit, \"onSelect\"> & {\n items: readonly TilePickerItem[];\n onSelect: (value: string) => void;\n searchLabel?: string;\n searchPlaceholder?: string;\n popularLabel?: string;\n /** Heads the full list when popular items are shown above it. */\n allLabel?: string;\n /** Names what the search found nothing of, as in No items match. */\n noun?: string;\n /** Shown in place of the grid when there are no items at all, such as an EmptyState. */\n empty?: React.ReactNode;\n /** The ghost behind an Empty in the empty slot. Defaults to cards; a search that finds nothing never draws one. */\n ghost?: EmptyGhost;\n};\n\nconst matches = (item: TilePickerItem, query: string) =>\n [item.title, item.eyebrow, item.description, ...(item.keywords ?? [])].some((text) =>\n text?.toLowerCase().includes(query)\n );\n\n/**\n * Search plus a responsive grid of stacked Tiles. With an empty search, popular items come first\n * under their own label and every item follows; a search lists its matches flat, and finding\n * nothing offers to clear it. The grid adds columns as the container widens, so it fits a sheet\n * or a page without a frame of its own.\n */\nexport function TilePicker({\n items,\n onSelect,\n searchLabel = \"Search\",\n searchPlaceholder,\n popularLabel = \"Popular\",\n allLabel = \"All\",\n noun = \"items\",\n empty,\n ghost,\n className,\n ref,\n ...props\n}: TilePickerProps & { ref?: React.Ref }) {\n const [search, setSearch] = React.useState(\"\");\n const inputRef = React.useRef(null);\n const query = search.trim().toLowerCase();\n const popular = query ? [] : items.filter((item) => item.popular);\n const grid = (list: readonly TilePickerItem[]) => (\n
\n {list.map((item) => (\n {item.media}}\n onClick={() => onSelect(item.value)}\n />\n ))}\n
\n );\n const section = (label: string, list: readonly TilePickerItem[]) => (\n
\n

{label}

\n {grid(list)}\n
\n );\n const found = query ? items.filter((item) => matches(item, query)) : items;\n let body: React.ReactNode;\n if (items.length === 0 && empty !== undefined)\n body = {empty};\n else if (query && found.length === 0)\n body = (\n {\n setSearch(\"\");\n inputRef.current?.focus();\n }}\n >\n Clear search\n \n }\n />\n );\n else if (popular.length > 0)\n body = (\n <>\n {section(popularLabel, popular)}\n {section(allLabel, items)}\n \n );\n else body = grid(found);\n return (\n
\n setSearch(event.target.value)}\n onKeyDown={(event) => {\n if (event.key === \"Escape\" && search) {\n event.preventDefault();\n event.stopPropagation();\n setSearch(\"\");\n }\n }}\n />\n {body}\n
\n );\n}\nTilePicker.displayName = \"TilePicker\";\n" + "content": "import * as React from \"react\";\n\nimport { cn } from \"../lib/utils\";\nimport { Button } from \"../ui/button\";\nimport { type EmptyGhost, EmptyGhostScope, EmptyState } from \"../ui/empty\";\nimport type { IconSource } from \"../ui/icon\";\nimport { Input } from \"../ui/input\";\nimport { Media, Tile } from \"../ui/item\";\n\nimport styles from \"./tile-picker.module.css\";\n\nexport type TilePickerItem = {\n value: string;\n title: string;\n description?: string;\n /** A short group name, such as AWS or CI/CD, shown across from the media. */\n eyebrow?: string;\n icon?: IconSource;\n /** A logo or image, framed like an icon. Ignored when icon is set. */\n media?: React.ReactNode;\n /** Also listed under the popular section while the search is empty. */\n popular?: boolean;\n disabledReason?: string;\n /** Extra words the search matches, such as a vendor's other product names. */\n keywords?: readonly string[];\n /** Makes the tile a link that navigates instead of calling onSelect. */\n href?: string;\n /** Opens href in a new tab and marks the tile as external. */\n external?: boolean;\n};\n\nexport type TilePickerProps = Omit, \"onSelect\"> & {\n items: readonly TilePickerItem[];\n /** Called with a picked item's value. Items with an href navigate instead. */\n onSelect?: (value: string) => void;\n searchLabel?: string;\n searchPlaceholder?: string;\n popularLabel?: string;\n /** Heads the full list when popular items are shown above it. */\n allLabel?: string;\n /** Names what the search found nothing of, as in No items match. */\n noun?: string;\n /** Shown in place of the grid when there are no items at all, such as an EmptyState. */\n empty?: React.ReactNode;\n /** The ghost behind an Empty in the empty slot. Defaults to cards; a search that finds nothing never draws one. */\n ghost?: EmptyGhost;\n};\n\nconst matches = (item: TilePickerItem, query: string) =>\n [item.title, item.eyebrow, item.description, ...(item.keywords ?? [])].some((text) =>\n text?.toLowerCase().includes(query)\n );\n\n/**\n * Search plus a responsive grid of stacked Tiles. With an empty search, popular items come first\n * under their own label and every item follows; a search lists its matches flat, and finding\n * nothing offers to clear it. The grid adds columns as the container widens, so it fits a sheet\n * or a page without a frame of its own.\n */\nexport function TilePicker({\n items,\n onSelect,\n searchLabel = \"Search\",\n searchPlaceholder,\n popularLabel = \"Popular\",\n allLabel = \"All\",\n noun = \"items\",\n empty,\n ghost,\n className,\n ref,\n ...props\n}: TilePickerProps & { ref?: React.Ref }) {\n const [search, setSearch] = React.useState(\"\");\n const inputRef = React.useRef(null);\n const query = search.trim().toLowerCase();\n const popular = query ? [] : items.filter((item) => item.popular);\n const grid = (list: readonly TilePickerItem[]) => (\n
\n {list.map((item) => {\n const shared = {\n layout: \"stacked\" as const,\n title: item.title,\n description: item.description,\n eyebrow: item.eyebrow,\n disabledReason: item.disabledReason,\n media: (item.icon || item.media) && {item.media}\n };\n return item.href ? (\n \n ) : (\n onSelect?.(item.value)} />\n );\n })}\n
\n );\n const section = (label: string, list: readonly TilePickerItem[]) => (\n
\n

{label}

\n {grid(list)}\n
\n );\n const found = query ? items.filter((item) => matches(item, query)) : items;\n let body: React.ReactNode;\n if (items.length === 0 && empty !== undefined)\n body = {empty};\n else if (query && found.length === 0)\n body = (\n {\n setSearch(\"\");\n inputRef.current?.focus();\n }}\n >\n Clear search\n \n }\n />\n );\n else if (popular.length > 0)\n body = (\n <>\n {section(popularLabel, popular)}\n {section(allLabel, items)}\n \n );\n else body = grid(found);\n return (\n
\n setSearch(event.target.value)}\n onKeyDown={(event) => {\n if (event.key === \"Escape\" && search) {\n event.preventDefault();\n event.stopPropagation();\n setSearch(\"\");\n }\n }}\n />\n {body}\n
\n );\n}\nTilePicker.displayName = \"TilePicker\";\n" }, { "path": "src/components/cipher/patterns/tile-picker.module.css", diff --git a/r/toast-stack.json b/r/toast-stack.json index 8688898a..8df842c1 100644 --- a/r/toast-stack.json +++ b/r/toast-stack.json @@ -19,7 +19,7 @@ "path": "src/components/cipher/ui/helpers.module.css", "type": "registry:file", "target": "src/components/cipher/ui/helpers.module.css", - "content": ".avatarFallback {\n background: var(--cipher-tint);\n color: var(--cipher-ink);\n font-family: var(--cipher-type-label-font-family);\n font-weight: var(--cipher-type-label-font-weight);\n line-height: 1;\n letter-spacing: 0;\n}\n.avatarFallback svg {\n width: 50%;\n height: 50%;\n max-width: var(--cipher-size-icon);\n max-height: var(--cipher-size-icon);\n}\n.count {\n font-family: var(--cipher-type-mono-sm-font-family);\n font-size: var(--cipher-type-mono-sm-font-size);\n line-height: var(--cipher-type-mono-sm-line-height);\n font-weight: var(--cipher-type-mono-sm-font-weight);\n letter-spacing: var(--cipher-type-mono-sm-letter-spacing);\n display: inline-flex;\n min-width: var(--cipher-size-count);\n height: var(--cipher-size-count);\n padding: 0 var(--cipher-space-4);\n align-items: center;\n justify-content: center;\n border-radius: 0;\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.countInk {\n background: var(--cipher-ink);\n color: var(--cipher-surface);\n}\n.countNeutral {\n background: var(--cipher-tint);\n color: var(--cipher-text2);\n}\n.identity {\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n}\n.identityText {\n flex: 1 1 auto;\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n.identityTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.identityDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n color: var(--cipher-text2, var(--muted-foreground));\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mono {\n font-family: var(--cipher-font-mono, monospace);\n}\n.media {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n flex: 0 0 auto;\n color: var(--cipher-ink, var(--foreground));\n background: var(--cipher-surface);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.mediaSmall {\n width: 24px;\n height: 24px;\n}\n.tile {\n display: flex;\n align-items: center;\n gap: 12px;\n width: 100%;\n padding: var(--cipher-space-12);\n text-align: start;\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-surface, var(--background));\n color: var(--cipher-ink, var(--foreground));\n}\n.tile:not([aria-disabled=\"true\"]):hover {\n border-color: var(--cipher-control, var(--border));\n background: var(--cipher-hover);\n}\n.tile[data-in-frame] {\n border-color: transparent;\n background: var(--cipher-tint);\n}\n.tile[data-in-frame]:not([aria-disabled=\"true\"]):hover {\n background: color-mix(in srgb, var(--cipher-mix-ink) var(--cipher-hover-mix), var(--cipher-tint));\n}\n.tile[aria-pressed=\"true\"] {\n border-color: var(--cipher-ink, var(--foreground));\n}\n.tile:disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.tile:focus-visible {\n outline: 2px solid var(--ring, var(--ring));\n outline-offset: 2px;\n}\n.tileBody {\n flex: 1;\n min-width: 0;\n}\n.tile[aria-disabled=\"true\"] {\n cursor: not-allowed;\n}\n.tile[data-layout=\"stacked\"] {\n flex-direction: column;\n align-items: stretch;\n gap: var(--cipher-space-4);\n padding: var(--cipher-space-16);\n}\n.tile[data-layout=\"stacked\"] > .tileBody {\n flex: 1 1 auto;\n}\n.tileTop {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: var(--cipher-space-12);\n min-width: 0;\n margin-bottom: var(--cipher-space-8);\n}\n.tileEyebrow {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--cipher-muted);\n font-family: var(--cipher-type-eyebrow-font-family);\n font-size: var(--cipher-type-eyebrow-font-size);\n line-height: var(--cipher-type-eyebrow-line-height);\n font-weight: var(--cipher-type-eyebrow-font-weight);\n letter-spacing: var(--cipher-type-eyebrow-letter-spacing);\n text-transform: uppercase;\n}\n.tile[aria-disabled=\"true\"] > .tileTop {\n opacity: 0.5;\n}\n.banner {\n display: flex;\n width: 100%;\n align-items: center;\n flex-wrap: wrap;\n gap: 12px;\n border: 1px solid var(--cipher-accent-line);\n background: var(--cipher-accent-wash);\n color: var(--cipher-ink, var(--foreground));\n padding: 10px 16px;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n.banner > svg {\n flex: 0 0 auto;\n color: var(--cipher-accent-fg);\n}\n.bannerText {\n flex: 1;\n min-width: min(100%, 160px);\n}\n.steps {\n display: flex;\n flex-wrap: wrap;\n gap: 12px;\n padding: 0;\n margin: 0;\n list-style: none;\n}\n.step {\n display: flex;\n align-items: center;\n gap: 6px;\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.step[data-current] {\n color: var(--cipher-ink, var(--foreground));\n font-weight: var(--cipher-type-title-sm-font-weight);\n}\n.stepNumber {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n border: 1px solid var(--cipher-line-soft, var(--border));\n}\n.step[data-current] .stepNumber {\n background: repeating-linear-gradient(\n 135deg,\n var(--cipher-tint, var(--muted)) 0 2px,\n transparent 2px 4px\n );\n border-color: var(--cipher-ink, var(--foreground));\n}\n:global(.cipher) {\n --cipher-toast-bottom: var(--cipher-space-action-bar-offset);\n}\n:global(.cipher)[data-action-bar-reserve] {\n --cipher-toast-bottom: calc(var(--cipher-size-action-bar) + 2 * var(--cipher-space-action-bar-offset));\n}\n.toastFixed {\n position: fixed;\n inset-inline-end: var(--cipher-space-16);\n bottom: var(--cipher-toast-bottom);\n z-index: 100;\n transition: bottom var(--cipher-duration-moderate) var(--cipher-ease-standard);\n}\n@media (prefers-reduced-motion: reduce) {\n .toastFixed {\n transition-duration: 0s;\n }\n}\n.toastTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.toastDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin-top: 2px;\n color: var(--cipher-text2, var(--muted-foreground));\n}\n.avatarStatus[data-status=\"ok\"] {\n background: var(--cipher-ok);\n}\n.avatarStatus[data-status=\"warn\"] {\n background: var(--cipher-warn);\n}\n.fieldLabels {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n min-width: 0;\n}\n.fieldLabelRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n min-width: 0;\n}\n.globHelp {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-4);\n}\n.legendRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n width: 100%;\n min-width: 0;\n padding: 0;\n}\n.legendActions {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-8);\n margin-inline-start: auto;\n}\n.fieldHelp {\n margin-block: calc((var(--cipher-type-field-label-line-height) - var(--cipher-size-control-xs)) / 2);\n color: var(--cipher-muted);\n}\n.fieldDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin: 0;\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.fieldError {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-6);\n margin: 0;\n color: var(--cipher-bad);\n}\n.fieldError > svg {\n flex: none;\n margin-block-start: calc((var(--cipher-type-small-line-height) - 14px) / 2);\n}\n.fieldErrorLines {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-2);\n}\n.fieldControl {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n flex: 1;\n min-width: 0;\n}\n.badge {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n height: var(--cipher-size-badge);\n padding: 0 var(--cipher-space-8);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.badge.mono {\n font-family: var(--cipher-type-mono-sm-font-family);\n}\n.badge[data-slot][data-tone] {\n border-color: var(--cipher-line-soft);\n color: var(--cipher-muted);\n background: transparent;\n}\n.badge[data-size=\"sm\"] {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph-sm);\n height: var(--cipher-size-badge-sm);\n padding-inline: var(--cipher-space-6);\n line-height: calc(var(--cipher-size-badge-sm) - 2 * var(--cipher-size-control-border));\n}\n.badge:is([data-size=\"control-sm\"], [data-size=\"control-md\"], [data-size=\"control-lg\"]) {\n --cipher-badge-glyph: var(--cipher-size-icon);\n gap: var(--cipher-space-control-gap);\n font-family: var(--cipher-type-body-font-family);\n font-size: var(--cipher-type-body-font-size);\n line-height: var(--cipher-type-body-line-height);\n font-weight: var(--cipher-type-body-font-weight);\n letter-spacing: var(--cipher-type-body-letter-spacing);\n}\n.badge[data-size=\"control-sm\"] {\n --cipher-badge-glyph: var(--cipher-size-icon-sm);\n height: var(--cipher-size-control-sm);\n padding-inline: var(--cipher-space-control-inline-sm);\n}\n.badge[data-size=\"control-md\"] {\n height: var(--cipher-size-control-md);\n padding-inline: var(--cipher-space-control-inline-md);\n}\n.badge[data-size=\"control-lg\"] {\n height: var(--cipher-size-control-lg);\n padding-inline: var(--cipher-space-control-inline);\n}\n.badge[data-slot][data-tone=\"soft\"] {\n border-color: var(--cipher-line-soft);\n background: var(--cipher-line-soft);\n color: var(--cipher-text2);\n}\n.badge[data-slot][data-tone=\"solid\"] {\n border-color: var(--cipher-ink);\n background: var(--cipher-ink);\n color: var(--cipher-on-ink);\n}\n.badge[data-slot][data-tone=\"accent\"] {\n border-color: var(--cipher-accent);\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.badge[data-slot][data-tone=\"ok\"] {\n border-color: var(--cipher-ok-line);\n background: var(--cipher-ok-bg);\n color: var(--cipher-ok);\n}\n.badge[data-slot][data-tone=\"warn\"] {\n border-color: var(--cipher-warn-line);\n background: var(--cipher-warn-bg);\n color: var(--cipher-warn);\n}\n.badge[data-slot][data-tone=\"bad\"] {\n border-color: var(--cipher-bad-line);\n background: var(--cipher-bad-bg);\n color: var(--cipher-bad);\n}\n.badge[data-slot][data-tone=\"info\"] {\n border-color: var(--cipher-info-line);\n background: var(--cipher-info-bg);\n color: var(--cipher-info);\n}\n.badgeDot {\n width: 6px;\n height: 6px;\n background: currentColor;\n flex-shrink: 0;\n}\n.steps .step {\n display: flex;\n flex: 1;\n flex-direction: column;\n align-items: flex-start;\n gap: 6px;\n}\n.steps .step::before {\n content: \"\";\n display: block;\n width: 100%;\n height: 6px;\n background: var(--cipher-line-soft);\n}\n.steps .step[data-complete]::before {\n background: var(--cipher-ink);\n}\n.steps .step[data-current]::before {\n background: repeating-linear-gradient(135deg, var(--cipher-ink) 0 2px, var(--cipher-line-soft) 2px 4px);\n}\n.fieldset {\n min-width: 0;\n width: 100%;\n padding: 0;\n border: 0;\n display: flex;\n flex-direction: column;\n gap: 6px;\n}\n.fieldset > legend {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n margin-bottom: 6px;\n}\n.alert[data-tone=\"neutral\"] {\n background: var(--cipher-paper);\n border-color: var(--cipher-line-soft);\n color: var(--cipher-ink);\n}\n.alert[data-tone=\"neutral\"] > svg {\n color: var(--cipher-muted);\n}\n.alert[data-tone=\"info\"] {\n background: var(--cipher-info-bg);\n border-color: var(--cipher-info-line);\n color: var(--cipher-info);\n}\n.alert[data-tone=\"ok\"] {\n background: var(--cipher-ok-bg);\n border-color: var(--cipher-ok-line);\n color: var(--cipher-ok);\n}\n.alert[data-tone=\"warn\"] {\n background: var(--cipher-warn-bg);\n border-color: var(--cipher-warn-line);\n color: var(--cipher-warn);\n}\n.alert[data-tone=\"bad\"] {\n background: var(--cipher-bad-bg);\n border-color: var(--cipher-bad-line);\n color: var(--cipher-bad);\n}\n.alertActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-8);\n padding-top: var(--cipher-space-actions-gap);\n}\n.toastStack {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-8);\n width: max-content;\n max-width: min(var(--cipher-size-toast), 100%);\n}\n.toastStack.toastFixed {\n max-width: min(var(--cipher-size-toast), calc(100vw - 2 * var(--cipher-space-16)));\n}\n.toast {\n border-radius: 0;\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-8);\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-toast-bg, var(--popover));\n color: var(--cipher-ink, var(--foreground));\n box-shadow: var(--cipher-shadow-pop, 0 4px 16px rgb(0 0 0 / 0.12));\n padding: var(--cipher-space-12);\n --cipher-toast-line: var(--cipher-type-row-title-line-height);\n}\n.toast > svg {\n flex: none;\n height: var(--cipher-toast-line);\n}\n.toastBody {\n min-width: 0;\n flex: 1 1 auto;\n}\n.toastTitle,\n.toastDescription {\n overflow-wrap: anywhere;\n}\n.toast > button {\n flex: none;\n margin-block: calc((var(--cipher-toast-line) - var(--cipher-action-height)) / 2);\n}\n.toastActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-4);\n margin-top: var(--cipher-space-8);\n margin-inline-start: calc(-1 * var(--cipher-space-control-inline-sm));\n contain: inline-size;\n}\n.toastActions > button {\n white-space: normal;\n max-width: 100%;\n}\n.avatarShape {\n border-radius: 0;\n}\n.avatarShape::after {\n content: \"\";\n position: absolute;\n inset: 0;\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n mix-blend-mode: var(--cipher-avatar-blend);\n pointer-events: none;\n}\n.avatarShape::after,\n.avatarShape > [data-slot=\"avatar-fallback\"],\n.avatarShape > [data-slot=\"avatar-image\"] {\n border-radius: inherit;\n}\n.avatarShape > [data-slot=\"avatar-fallback\"] {\n font-size: inherit;\n}\n.avatarRing {\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n}\n.avatarGroup {\n display: flex;\n}\n.avatarGroup > [data-slot=\"avatar\"] + [data-slot=\"avatar\"],\n.avatarGroup > * + [data-slot=\"avatar-group-count\"] {\n margin-inline-start: calc(-1 * var(--cipher-space-4));\n}\n.avatarCount {\n border-radius: 0;\n background: var(--cipher-tint);\n color: var(--cipher-muted);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n font-weight: var(--cipher-type-caption-font-weight);\n}\n.avatarStatus {\n position: absolute;\n z-index: 1;\n inset-inline-end: calc(-1 * var(--cipher-space-2));\n bottom: calc(-1 * var(--cipher-space-2));\n width: var(--cipher-space-8);\n height: var(--cipher-space-8);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n background: var(--cipher-faint);\n border-radius: 0;\n}\n\n.fieldLegend {\n font-family: var(--cipher-type-title-sm-font-family);\n font-size: var(--cipher-type-title-sm-font-size);\n line-height: var(--cipher-type-title-sm-line-height);\n font-weight: var(--cipher-type-title-sm-font-weight);\n letter-spacing: var(--cipher-type-title-sm-letter-spacing);\n margin-bottom: var(--cipher-space-field-label);\n}\n.fieldLegend[data-variant=\"legend\"] {\n margin-bottom: var(--cipher-space-field-legend);\n}\n.fieldLegend[data-variant=\"legend\"] + .fieldDescription {\n margin-top: calc(var(--cipher-space-field-label) - var(--cipher-space-field-legend));\n}\n[data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n row-gap: var(--cipher-space-field-legend);\n}\n.fieldGroup > [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) + *,\n.fieldGroup > * + [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n margin-top: calc(var(--cipher-space-content-section) - var(--cipher-space-field-group));\n}\n.fieldLegend[data-variant=\"label\"] {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.alertTitle {\n grid-column: 1;\n grid-row: 1;\n min-width: 0;\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.alertDescription {\n grid-column: 1;\n min-width: 0;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n\n:is(.fieldDescription, .alertDescription) a:not([data-slot]) {\n color: var(--cipher-link);\n text-decoration-line: none;\n text-decoration-thickness: var(--cipher-size-control-border);\n text-underline-offset: var(--cipher-space-3);\n}\n:is(.fieldDescription, .alertDescription) a:not([data-slot]):focus-visible {\n text-decoration-line: underline;\n}\n@media (hover: hover) {\n :is(.fieldDescription, .alertDescription) a:not([data-slot]):hover {\n color: var(--cipher-text2);\n text-decoration-line: underline;\n text-decoration-thickness: var(--cipher-space-2);\n }\n}\n\n.alert {\n position: relative;\n display: grid;\n width: 100%;\n grid-template-columns: minmax(0, 1fr);\n border: 1px solid var(--cipher-line-soft);\n border-radius: 0;\n padding: var(--cipher-space-12);\n gap: var(--cipher-space-4) var(--cipher-space-8);\n overflow-wrap: anywhere;\n text-align: start;\n}\n.alert[data-has-icon] {\n grid-template-columns: auto minmax(0, 1fr);\n}\n.alert > svg {\n grid-column: 1;\n grid-row: 1 / span 2;\n align-self: start;\n transform: translateY(var(--cipher-space-2));\n color: currentColor;\n}\n.alert[data-has-icon]:not([data-has-title]) > svg {\n grid-row: 1;\n transform: translateY(calc(var(--cipher-space-2) / 2));\n}\n.alert[data-has-icon] > :is(.alertTitle, .alertDescription) {\n grid-column: 2;\n}\n.alert[data-has-title] > .alertDescription {\n grid-row: 2;\n}\n.alert[data-has-action] {\n grid-template-columns: minmax(0, 1fr) auto;\n padding-inline-end: var(--cipher-space-12);\n}\n.alert[data-has-icon][data-has-action] {\n grid-template-columns: auto minmax(0, 1fr) auto;\n}\n.alertAction {\n position: static;\n grid-column: -2 / -1;\n grid-row: 1 / span 2;\n align-self: start;\n}\n\n.fieldTitle {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.fieldGroup {\n gap: var(--cipher-space-field-group);\n}\n.field {\n gap: var(--cipher-space-field-label);\n}\n.field:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field);\n}\n.field[data-width=\"wide\"]:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field-wide);\n}\n.field[data-orientation=\"horizontal\"] {\n gap: var(--cipher-space-12);\n}\n" + "content": ".avatarFallback {\n background: var(--cipher-tint);\n color: var(--cipher-ink);\n font-family: var(--cipher-type-label-font-family);\n font-weight: var(--cipher-type-label-font-weight);\n line-height: 1;\n letter-spacing: 0;\n}\n.avatarFallback svg {\n width: 50%;\n height: 50%;\n max-width: var(--cipher-size-icon);\n max-height: var(--cipher-size-icon);\n}\n.count {\n font-family: var(--cipher-type-mono-sm-font-family);\n font-size: var(--cipher-type-mono-sm-font-size);\n line-height: var(--cipher-type-mono-sm-line-height);\n font-weight: var(--cipher-type-mono-sm-font-weight);\n letter-spacing: var(--cipher-type-mono-sm-letter-spacing);\n display: inline-flex;\n min-width: var(--cipher-size-count);\n height: var(--cipher-size-count);\n padding: 0 var(--cipher-space-4);\n align-items: center;\n justify-content: center;\n border-radius: 0;\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.countInk {\n background: var(--cipher-ink);\n color: var(--cipher-surface);\n}\n.countNeutral {\n background: var(--cipher-tint);\n color: var(--cipher-text2);\n}\n.identity {\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n}\n.identityText {\n flex: 1 1 auto;\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n.identityTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.identityDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n color: var(--cipher-text2, var(--muted-foreground));\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mono {\n font-family: var(--cipher-font-mono, monospace);\n}\n.media {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n flex: 0 0 auto;\n color: var(--cipher-ink, var(--foreground));\n background: var(--cipher-surface);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.mediaSmall {\n width: 24px;\n height: 24px;\n}\n.tile {\n display: flex;\n box-sizing: border-box;\n text-decoration: none;\n align-items: center;\n gap: 12px;\n width: 100%;\n padding: var(--cipher-space-12);\n text-align: start;\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-surface, var(--background));\n color: var(--cipher-ink, var(--foreground));\n}\n.tile:not([aria-disabled=\"true\"]):hover {\n border-color: var(--cipher-control, var(--border));\n background: var(--cipher-hover);\n}\n.tile[data-in-frame] {\n border-color: transparent;\n background: var(--cipher-tint);\n}\n.tile[data-in-frame]:not([aria-disabled=\"true\"]):hover {\n background: color-mix(in srgb, var(--cipher-mix-ink) var(--cipher-hover-mix), var(--cipher-tint));\n}\n.tile[aria-pressed=\"true\"],\n.tile[aria-current=\"page\"] {\n border-color: var(--cipher-ink, var(--foreground));\n}\n.tile:disabled,\n.tile[data-disabled] {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.tile:focus-visible {\n outline: 2px solid var(--ring, var(--ring));\n outline-offset: 2px;\n}\n.tileBody {\n flex: 1;\n min-width: 0;\n}\n.tile[aria-disabled=\"true\"] {\n cursor: not-allowed;\n}\n.tile[data-layout=\"stacked\"] {\n flex-direction: column;\n align-items: stretch;\n gap: var(--cipher-space-4);\n padding: var(--cipher-space-16);\n}\n.tile[data-layout=\"stacked\"] > .tileBody {\n flex: 1 1 auto;\n}\n.tileTop {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: var(--cipher-space-12);\n min-width: 0;\n margin-bottom: var(--cipher-space-8);\n}\n.tileAside {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-8);\n min-width: 0;\n margin-inline-start: auto;\n color: var(--cipher-muted);\n}\n.tileAside > :not(.tileEyebrow) {\n flex: none;\n}\n.tileEyebrow {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--cipher-muted);\n font-family: var(--cipher-type-eyebrow-font-family);\n font-size: var(--cipher-type-eyebrow-font-size);\n line-height: var(--cipher-type-eyebrow-line-height);\n font-weight: var(--cipher-type-eyebrow-font-weight);\n letter-spacing: var(--cipher-type-eyebrow-letter-spacing);\n text-transform: uppercase;\n}\n.tile[aria-disabled=\"true\"]:not([data-disabled]) > .tileTop {\n opacity: 0.5;\n}\n.banner {\n display: flex;\n width: 100%;\n align-items: center;\n flex-wrap: wrap;\n gap: 12px;\n border: 1px solid var(--cipher-accent-line);\n background: var(--cipher-accent-wash);\n color: var(--cipher-ink, var(--foreground));\n padding: 10px 16px;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n.banner > svg {\n flex: 0 0 auto;\n color: var(--cipher-accent-fg);\n}\n.bannerText {\n flex: 1;\n min-width: min(100%, 160px);\n}\n.steps {\n display: flex;\n flex-wrap: wrap;\n gap: 12px;\n padding: 0;\n margin: 0;\n list-style: none;\n}\n.step {\n display: flex;\n align-items: center;\n gap: 6px;\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.step[data-current] {\n color: var(--cipher-ink, var(--foreground));\n font-weight: var(--cipher-type-title-sm-font-weight);\n}\n.stepNumber {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n border: 1px solid var(--cipher-line-soft, var(--border));\n}\n.step[data-current] .stepNumber {\n background: repeating-linear-gradient(\n 135deg,\n var(--cipher-tint, var(--muted)) 0 2px,\n transparent 2px 4px\n );\n border-color: var(--cipher-ink, var(--foreground));\n}\n:global(.cipher) {\n --cipher-toast-bottom: var(--cipher-space-action-bar-offset);\n}\n:global(.cipher)[data-action-bar-reserve] {\n --cipher-toast-bottom: calc(var(--cipher-size-action-bar) + 2 * var(--cipher-space-action-bar-offset));\n}\n.toastFixed {\n position: fixed;\n inset-inline-end: var(--cipher-space-16);\n bottom: var(--cipher-toast-bottom);\n z-index: 100;\n transition: bottom var(--cipher-duration-moderate) var(--cipher-ease-standard);\n}\n@media (prefers-reduced-motion: reduce) {\n .toastFixed {\n transition-duration: 0s;\n }\n}\n.toastTitle {\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.toastDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin-top: 2px;\n color: var(--cipher-text2, var(--muted-foreground));\n}\n.avatarStatus[data-status=\"ok\"] {\n background: var(--cipher-ok);\n}\n.avatarStatus[data-status=\"warn\"] {\n background: var(--cipher-warn);\n}\n.fieldLabels {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n min-width: 0;\n}\n.fieldLabelRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n min-width: 0;\n}\n.globHelp {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-4);\n}\n.legendRow {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-4);\n width: 100%;\n min-width: 0;\n padding: 0;\n}\n.legendActions {\n display: flex;\n align-items: center;\n gap: var(--cipher-space-8);\n margin-inline-start: auto;\n}\n.fieldHelp {\n margin-block: calc((var(--cipher-type-field-label-line-height) - var(--cipher-size-control-xs)) / 2);\n color: var(--cipher-muted);\n}\n.fieldDescription {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n margin: 0;\n color: var(--cipher-muted, var(--muted-foreground));\n}\n.fieldError {\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-6);\n margin: 0;\n color: var(--cipher-bad);\n}\n.fieldError > svg {\n flex: none;\n margin-block-start: calc((var(--cipher-type-small-line-height) - 14px) / 2);\n}\n.fieldErrorLines {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-2);\n}\n.fieldControl {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-field-label);\n flex: 1;\n min-width: 0;\n}\n.badge {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n line-height: var(--cipher-type-caption-line-height);\n font-weight: var(--cipher-type-caption-font-weight);\n letter-spacing: var(--cipher-type-caption-letter-spacing);\n height: var(--cipher-size-badge);\n padding: 0 var(--cipher-space-8);\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n border-radius: 0;\n}\n.badge.mono {\n font-family: var(--cipher-type-mono-sm-font-family);\n}\n.badge[data-slot][data-tone] {\n border-color: var(--cipher-line-soft);\n color: var(--cipher-muted);\n background: transparent;\n}\n.badge[data-size=\"sm\"] {\n --cipher-badge-glyph: var(--cipher-size-badge-glyph-sm);\n height: var(--cipher-size-badge-sm);\n padding-inline: var(--cipher-space-6);\n line-height: calc(var(--cipher-size-badge-sm) - 2 * var(--cipher-size-control-border));\n}\n.badge:is([data-size=\"control-sm\"], [data-size=\"control-md\"], [data-size=\"control-lg\"]) {\n --cipher-badge-glyph: var(--cipher-size-icon);\n gap: var(--cipher-space-control-gap);\n font-family: var(--cipher-type-body-font-family);\n font-size: var(--cipher-type-body-font-size);\n line-height: var(--cipher-type-body-line-height);\n font-weight: var(--cipher-type-body-font-weight);\n letter-spacing: var(--cipher-type-body-letter-spacing);\n}\n.badge[data-size=\"control-sm\"] {\n --cipher-badge-glyph: var(--cipher-size-icon-sm);\n height: var(--cipher-size-control-sm);\n padding-inline: var(--cipher-space-control-inline-sm);\n}\n.badge[data-size=\"control-md\"] {\n height: var(--cipher-size-control-md);\n padding-inline: var(--cipher-space-control-inline-md);\n}\n.badge[data-size=\"control-lg\"] {\n height: var(--cipher-size-control-lg);\n padding-inline: var(--cipher-space-control-inline);\n}\n.badge[data-slot][data-tone=\"soft\"] {\n border-color: var(--cipher-line-soft);\n background: var(--cipher-line-soft);\n color: var(--cipher-text2);\n}\n.badge[data-slot][data-tone=\"solid\"] {\n border-color: var(--cipher-ink);\n background: var(--cipher-ink);\n color: var(--cipher-on-ink);\n}\n.badge[data-slot][data-tone=\"accent\"] {\n border-color: var(--cipher-accent);\n background: var(--cipher-accent);\n color: var(--cipher-on-accent);\n}\n.badge[data-slot][data-tone=\"ok\"] {\n border-color: var(--cipher-ok-line);\n background: var(--cipher-ok-bg);\n color: var(--cipher-ok);\n}\n.badge[data-slot][data-tone=\"warn\"] {\n border-color: var(--cipher-warn-line);\n background: var(--cipher-warn-bg);\n color: var(--cipher-warn);\n}\n.badge[data-slot][data-tone=\"bad\"] {\n border-color: var(--cipher-bad-line);\n background: var(--cipher-bad-bg);\n color: var(--cipher-bad);\n}\n.badge[data-slot][data-tone=\"info\"] {\n border-color: var(--cipher-info-line);\n background: var(--cipher-info-bg);\n color: var(--cipher-info);\n}\n.badgeDot {\n width: 6px;\n height: 6px;\n background: currentColor;\n flex-shrink: 0;\n}\n.steps .step {\n display: flex;\n flex: 1;\n flex-direction: column;\n align-items: flex-start;\n gap: 6px;\n}\n.steps .step::before {\n content: \"\";\n display: block;\n width: 100%;\n height: 6px;\n background: var(--cipher-line-soft);\n}\n.steps .step[data-complete]::before {\n background: var(--cipher-ink);\n}\n.steps .step[data-current]::before {\n background: repeating-linear-gradient(135deg, var(--cipher-ink) 0 2px, var(--cipher-line-soft) 2px 4px);\n}\n.fieldset {\n min-width: 0;\n width: 100%;\n padding: 0;\n border: 0;\n display: flex;\n flex-direction: column;\n gap: 6px;\n}\n.fieldset > legend {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n margin-bottom: 6px;\n}\n.alert[data-tone=\"neutral\"] {\n background: var(--cipher-paper);\n border-color: var(--cipher-line-soft);\n color: var(--cipher-ink);\n}\n.alert[data-tone=\"neutral\"] > svg {\n color: var(--cipher-muted);\n}\n.alert[data-tone=\"info\"] {\n background: var(--cipher-info-bg);\n border-color: var(--cipher-info-line);\n color: var(--cipher-info);\n}\n.alert[data-tone=\"ok\"] {\n background: var(--cipher-ok-bg);\n border-color: var(--cipher-ok-line);\n color: var(--cipher-ok);\n}\n.alert[data-tone=\"warn\"] {\n background: var(--cipher-warn-bg);\n border-color: var(--cipher-warn-line);\n color: var(--cipher-warn);\n}\n.alert[data-tone=\"bad\"] {\n background: var(--cipher-bad-bg);\n border-color: var(--cipher-bad-line);\n color: var(--cipher-bad);\n}\n.alertActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-8);\n padding-top: var(--cipher-space-actions-gap);\n}\n.toastStack {\n display: flex;\n flex-direction: column;\n gap: var(--cipher-space-8);\n width: max-content;\n max-width: min(var(--cipher-size-toast), 100%);\n}\n.toastStack.toastFixed {\n max-width: min(var(--cipher-size-toast), calc(100vw - 2 * var(--cipher-space-16)));\n}\n.toast {\n border-radius: 0;\n display: flex;\n align-items: flex-start;\n gap: var(--cipher-space-8);\n border: 1px solid var(--cipher-line-soft, var(--border));\n background: var(--cipher-toast-bg, var(--popover));\n color: var(--cipher-ink, var(--foreground));\n box-shadow: var(--cipher-shadow-pop, 0 4px 16px rgb(0 0 0 / 0.12));\n padding: var(--cipher-space-12);\n --cipher-toast-line: var(--cipher-type-row-title-line-height);\n}\n.toast > svg {\n flex: none;\n height: var(--cipher-toast-line);\n}\n.toastBody {\n min-width: 0;\n flex: 1 1 auto;\n}\n.toastTitle,\n.toastDescription {\n overflow-wrap: anywhere;\n}\n.toast > button {\n flex: none;\n margin-block: calc((var(--cipher-toast-line) - var(--cipher-action-height)) / 2);\n}\n.toastActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--cipher-space-4);\n margin-top: var(--cipher-space-8);\n margin-inline-start: calc(-1 * var(--cipher-space-control-inline-sm));\n contain: inline-size;\n}\n.toastActions > button {\n white-space: normal;\n max-width: 100%;\n}\n.avatarShape {\n border-radius: 0;\n}\n.avatarShape::after {\n content: \"\";\n position: absolute;\n inset: 0;\n border: var(--cipher-size-control-border) solid var(--cipher-line-soft);\n mix-blend-mode: var(--cipher-avatar-blend);\n pointer-events: none;\n}\n.avatarShape::after,\n.avatarShape > [data-slot=\"avatar-fallback\"],\n.avatarShape > [data-slot=\"avatar-image\"] {\n border-radius: inherit;\n}\n.avatarShape > [data-slot=\"avatar-fallback\"] {\n font-size: inherit;\n}\n.avatarRing {\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n}\n.avatarGroup {\n display: flex;\n}\n.avatarGroup > [data-slot=\"avatar\"] + [data-slot=\"avatar\"],\n.avatarGroup > * + [data-slot=\"avatar-group-count\"] {\n margin-inline-start: calc(-1 * var(--cipher-space-4));\n}\n.avatarCount {\n border-radius: 0;\n background: var(--cipher-tint);\n color: var(--cipher-muted);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n font-family: var(--cipher-type-caption-font-family);\n font-size: var(--cipher-type-caption-font-size);\n font-weight: var(--cipher-type-caption-font-weight);\n}\n.avatarStatus {\n position: absolute;\n z-index: 1;\n inset-inline-end: calc(-1 * var(--cipher-space-2));\n bottom: calc(-1 * var(--cipher-space-2));\n width: var(--cipher-space-8);\n height: var(--cipher-space-8);\n box-shadow: 0 0 0 var(--cipher-size-focus-ring) var(--cipher-surface);\n background: var(--cipher-faint);\n border-radius: 0;\n}\n\n.fieldLegend {\n font-family: var(--cipher-type-title-sm-font-family);\n font-size: var(--cipher-type-title-sm-font-size);\n line-height: var(--cipher-type-title-sm-line-height);\n font-weight: var(--cipher-type-title-sm-font-weight);\n letter-spacing: var(--cipher-type-title-sm-letter-spacing);\n margin-bottom: var(--cipher-space-field-label);\n}\n.fieldLegend[data-variant=\"legend\"] {\n margin-bottom: var(--cipher-space-field-legend);\n}\n.fieldLegend[data-variant=\"legend\"] + .fieldDescription {\n margin-top: calc(var(--cipher-space-field-label) - var(--cipher-space-field-legend));\n}\n[data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n row-gap: var(--cipher-space-field-legend);\n}\n.fieldGroup > [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) + *,\n.fieldGroup > * + [data-slot=\"field-set\"]:has(> .fieldLegend[data-variant=\"legend\"]) {\n margin-top: calc(var(--cipher-space-content-section) - var(--cipher-space-field-group));\n}\n.fieldLegend[data-variant=\"label\"] {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.alertTitle {\n grid-column: 1;\n grid-row: 1;\n min-width: 0;\n font-family: var(--cipher-type-row-title-font-family);\n font-size: var(--cipher-type-row-title-font-size);\n line-height: var(--cipher-type-row-title-line-height);\n font-weight: var(--cipher-type-row-title-font-weight);\n letter-spacing: var(--cipher-type-row-title-letter-spacing);\n}\n.alertDescription {\n grid-column: 1;\n min-width: 0;\n font-family: var(--cipher-type-small-font-family);\n font-size: var(--cipher-type-small-font-size);\n line-height: var(--cipher-type-small-line-height);\n font-weight: var(--cipher-type-small-font-weight);\n letter-spacing: var(--cipher-type-small-letter-spacing);\n}\n\n:is(.fieldDescription, .alertDescription) a:not([data-slot]) {\n color: var(--cipher-link);\n text-decoration-line: none;\n text-decoration-thickness: var(--cipher-size-control-border);\n text-underline-offset: var(--cipher-space-3);\n}\n:is(.fieldDescription, .alertDescription) a:not([data-slot]):focus-visible {\n text-decoration-line: underline;\n}\n@media (hover: hover) {\n :is(.fieldDescription, .alertDescription) a:not([data-slot]):hover {\n color: var(--cipher-text2);\n text-decoration-line: underline;\n text-decoration-thickness: var(--cipher-space-2);\n }\n}\n\n.alert {\n position: relative;\n display: grid;\n width: 100%;\n grid-template-columns: minmax(0, 1fr);\n border: 1px solid var(--cipher-line-soft);\n border-radius: 0;\n padding: var(--cipher-space-12);\n gap: var(--cipher-space-4) var(--cipher-space-8);\n overflow-wrap: anywhere;\n text-align: start;\n}\n.alert[data-has-icon] {\n grid-template-columns: auto minmax(0, 1fr);\n}\n.alert > svg {\n grid-column: 1;\n grid-row: 1 / span 2;\n align-self: start;\n transform: translateY(var(--cipher-space-2));\n color: currentColor;\n}\n.alert[data-has-icon]:not([data-has-title]) > svg {\n grid-row: 1;\n transform: translateY(calc(var(--cipher-space-2) / 2));\n}\n.alert[data-has-icon] > :is(.alertTitle, .alertDescription) {\n grid-column: 2;\n}\n.alert[data-has-title] > .alertDescription {\n grid-row: 2;\n}\n.alert[data-has-action] {\n grid-template-columns: minmax(0, 1fr) auto;\n padding-inline-end: var(--cipher-space-12);\n}\n.alert[data-has-icon][data-has-action] {\n grid-template-columns: auto minmax(0, 1fr) auto;\n}\n.alertAction {\n position: static;\n grid-column: -2 / -1;\n grid-row: 1 / span 2;\n align-self: start;\n}\n\n.fieldTitle {\n font-family: var(--cipher-type-field-label-font-family);\n font-size: var(--cipher-type-field-label-font-size);\n line-height: var(--cipher-type-field-label-line-height);\n font-weight: var(--cipher-type-field-label-font-weight);\n letter-spacing: var(--cipher-type-field-label-letter-spacing);\n}\n.fieldGroup {\n gap: var(--cipher-space-field-group);\n}\n.field {\n gap: var(--cipher-space-field-label);\n}\n.field:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field);\n}\n.field[data-width=\"wide\"]:not([data-orientation=\"horizontal\"]) {\n max-width: var(--cipher-size-measure-field-wide);\n}\n.field[data-orientation=\"horizontal\"] {\n gap: var(--cipher-space-12);\n}\n" } ] } diff --git a/site/src/catalog.json b/site/src/catalog.json index bb03721e..7eb72e85 100644 --- a/site/src/catalog.json +++ b/site/src/catalog.json @@ -949,6 +949,10 @@ "title": "A few providers", "module": "tile-picker/few" }, + { + "title": "Links: items with an href navigate, external ones open a new tab", + "module": "tile-picker/links" + }, { "title": "Long names and disabled providers", "module": "tile-picker/stressed" @@ -1168,6 +1172,10 @@ { "title": "Selectable tile and media", "module": "item/tiles" + }, + { + "title": "Tiles as links, internal and external", + "module": "item/tile-links" } ] }, diff --git a/site/src/examples/item/tile-links.tsx b/site/src/examples/item/tile-links.tsx new file mode 100644 index 00000000..534296d0 --- /dev/null +++ b/site/src/examples/item/tile-links.tsx @@ -0,0 +1,51 @@ +import { Media, Tile } from "@infisical/cipher/ui/item"; +import { Grid } from "@infisical/cipher/ui/layout"; + +export default function Example() { + return ( +
+
+ } + title="Billing" + description="Plan, invoices and payment method" + /> + } + title="Documentation" + description="Guides and API reference" + /> +
+ + } + eyebrow="Source control" + title="GitHub" + description="Repositories, issues and pull requests." + /> + } + eyebrow="Protocol" + title="MCP" + description="Any server that speaks the Model Context Protocol." + /> + } + title="Custom HTTP" + description="Any HTTP API, with headers and auth you define." + /> + +
+ ); +} diff --git a/site/src/examples/tile-picker/links.tsx b/site/src/examples/tile-picker/links.tsx new file mode 100644 index 00000000..7ea79d5e --- /dev/null +++ b/site/src/examples/tile-picker/links.tsx @@ -0,0 +1,50 @@ +import { TilePicker, type TilePickerItem } from "@infisical/cipher/patterns/tile-picker"; + +const services: TilePickerItem[] = [ + { + value: "github", + title: "GitHub", + description: "Repositories, issues and pull requests.", + eyebrow: "Source control", + icon: "git", + href: "#/agent-vault/connections/new/github", + popular: true + }, + { + value: "linear", + title: "Linear", + description: "Issues, projects and cycles.", + eyebrow: "Project management", + icon: "folder", + href: "#/agent-vault/connections/new/linear" + }, + { + value: "custom-http", + title: "Custom HTTP", + description: "Any HTTP API, with headers and auth you define.", + eyebrow: "Generic", + icon: "cloud", + href: "https://infisical.com/docs", + external: true + }, + { + value: "mcp", + title: "MCP", + description: "Any server that speaks the Model Context Protocol.", + eyebrow: "Protocol", + icon: "link", + href: "https://modelcontextprotocol.io/docs/getting-started/intro", + external: true + } +]; + +export default function Example() { + return ( + + ); +} diff --git a/src/patterns/tile-picker.tsx b/src/patterns/tile-picker.tsx index 69d1d7b0..645a1de9 100644 --- a/src/patterns/tile-picker.tsx +++ b/src/patterns/tile-picker.tsx @@ -23,11 +23,16 @@ export type TilePickerItem = { disabledReason?: string; /** Extra words the search matches, such as a vendor's other product names. */ keywords?: readonly string[]; + /** Makes the tile a link that navigates instead of calling onSelect. */ + href?: string; + /** Opens href in a new tab and marks the tile as external. */ + external?: boolean; }; export type TilePickerProps = Omit, "onSelect"> & { items: readonly TilePickerItem[]; - onSelect: (value: string) => void; + /** Called with a picked item's value. Items with an href navigate instead. */ + onSelect?: (value: string) => void; searchLabel?: string; searchPlaceholder?: string; popularLabel?: string; @@ -72,18 +77,21 @@ export function TilePicker({ const popular = query ? [] : items.filter((item) => item.popular); const grid = (list: readonly TilePickerItem[]) => (
- {list.map((item) => ( - {item.media}} - onClick={() => onSelect(item.value)} - /> - ))} + {list.map((item) => { + const shared = { + layout: "stacked" as const, + title: item.title, + description: item.description, + eyebrow: item.eyebrow, + disabledReason: item.disabledReason, + media: (item.icon || item.media) && {item.media} + }; + return item.href ? ( + + ) : ( + onSelect?.(item.value)} /> + ); + })}
); const section = (label: string, list: readonly TilePickerItem[]) => ( diff --git a/src/ui/helpers.module.css b/src/ui/helpers.module.css index 0cad7481..d6152aae 100644 --- a/src/ui/helpers.module.css +++ b/src/ui/helpers.module.css @@ -91,6 +91,8 @@ } .tile { display: flex; + box-sizing: border-box; + text-decoration: none; align-items: center; gap: 12px; width: 100%; @@ -111,10 +113,12 @@ .tile[data-in-frame]:not([aria-disabled="true"]):hover { background: color-mix(in srgb, var(--cipher-mix-ink) var(--cipher-hover-mix), var(--cipher-tint)); } -.tile[aria-pressed="true"] { +.tile[aria-pressed="true"], +.tile[aria-current="page"] { border-color: var(--cipher-ink, var(--foreground)); } -.tile:disabled { +.tile:disabled, +.tile[data-disabled] { cursor: not-allowed; opacity: 0.5; } @@ -146,6 +150,17 @@ min-width: 0; margin-bottom: var(--cipher-space-8); } +.tileAside { + display: flex; + align-items: center; + gap: var(--cipher-space-8); + min-width: 0; + margin-inline-start: auto; + color: var(--cipher-muted); +} +.tileAside > :not(.tileEyebrow) { + flex: none; +} .tileEyebrow { min-width: 0; overflow: hidden; @@ -159,7 +174,7 @@ letter-spacing: var(--cipher-type-eyebrow-letter-spacing); text-transform: uppercase; } -.tile[aria-disabled="true"] > .tileTop { +.tile[aria-disabled="true"]:not([data-disabled]) > .tileTop { opacity: 0.5; } .banner { diff --git a/src/ui/item.module.css b/src/ui/item.module.css index 72d597e3..ba90127d 100644 --- a/src/ui/item.module.css +++ b/src/ui/item.module.css @@ -241,7 +241,7 @@ text-overflow: ellipsis; white-space: nowrap; } -[data-slot="tile"][aria-disabled="true"] .tileTitle { +[data-slot="tile"][aria-disabled="true"]:not([data-disabled]) .tileTitle { opacity: 0.5; } diff --git a/src/ui/item.tsx b/src/ui/item.tsx index 4a6fdd0e..89d61c29 100644 --- a/src/ui/item.tsx +++ b/src/ui/item.tsx @@ -471,6 +471,46 @@ export function Media({ ); } Media.displayName = "Media"; +type TileOwnProps = { + selected?: boolean; + title?: React.ReactNode; + description?: React.ReactNode; + media?: React.ReactNode; + /** stacked puts the media and eyebrow on top, then the title on one line and a description clamped at two, with no chevron. For grids of choices such as a TilePicker. */ + layout?: "row" | "stacked"; + /** A short label across from the media in the stacked layout, such as a category. */ + eyebrow?: React.ReactNode; + /** Disables the tile and shows why in place of the description. Unlike disabled, it stays focusable so the reason can be reached. */ + disabledReason?: string; +}; +type TileButtonProps = TileOwnProps & + Omit, "title"> & { + href?: undefined; + asChild?: false; + external?: undefined; + ref?: React.Ref; + }; +type TileLinkProps = TileOwnProps & + Omit, "title" | "media"> & { + /** Opens href in a new tab and marks the tile with an external icon. With asChild, set the child's target yourself. */ + external?: boolean; + /** Takes the link's destination away and dims it, so it cannot be opened. */ + disabled?: boolean; + ref?: React.Ref; + } & ( + | { + /** Renders the tile as a link, so hover shows the URL and modifier or middle clicks open it elsewhere. */ + href: string; + asChild?: false; + } + | { + /** Renders the one child, such as a router Link, with the tile's content inside it. */ + asChild: true; + href?: undefined; + } + ); +export type TileProps = TileButtonProps | TileLinkProps; + export function Tile({ selected, title, @@ -479,57 +519,57 @@ export function Tile({ layout = "row", eyebrow, disabledReason, + href, + external, + asChild, + disabled, children, className, onClick, - type = "button", + type, ref, ...props -}: Omit, "title"> & { - selected?: boolean; - title?: React.ReactNode; - description?: React.ReactNode; - media?: React.ReactNode; - /** stacked puts the media and eyebrow on top, then the title on one line and a description clamped at two, with no chevron. For grids of choices such as a TilePicker. */ - layout?: "row" | "stacked"; - /** A short label across from the media in the stacked layout, such as a category. */ - eyebrow?: React.ReactNode; - /** Disables the tile and shows why in place of the description. Unlike disabled, it stays focusable so the reason can be reached. */ - disabledReason?: string; -} & { ref?: React.Ref }) { +}: TileProps) { const inFrame = useInFrame("Tile"); const reason = disabledReason || undefined; const detail = reason ?? description; const stacked = layout === "stacked"; - return ( - + {!stacked && (externalMark || )} + + ); + const body = child + ? React.cloneElement(child, inactive ? { href: undefined } : undefined, content) + : content; + return ( + ) => { + if (inactive) { + event.preventDefault(); + return; + } + onClick?.(event); + }} + {...props} + > + {body} + ); } Tile.displayName = "Tile";