2026-02-21 00:13:33 +00:00
|
|
|
/* Admin component styles — uses --t-* theme tokens directly. */
|
|
|
|
|
|
|
|
|
|
@layer admin {
|
2026-02-17 23:05:01 +00:00
|
|
|
|
|
|
|
|
/* ── Layout ── */
|
|
|
|
|
|
|
|
|
|
.admin-layout {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: 0 1fr;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-layout-toggle {
|
|
|
|
|
position: absolute;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-layout-content {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
min-height: 100dvh;
|
|
|
|
|
grid-column: 2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-sidebar-wrapper {
|
|
|
|
|
grid-column: 1;
|
|
|
|
|
grid-row: 1;
|
|
|
|
|
z-index: 40;
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* When checkbox is checked, show sidebar overlay on mobile */
|
|
|
|
|
.admin-layout-toggle:checked ~ .admin-sidebar-wrapper {
|
|
|
|
|
display: block;
|
|
|
|
|
position: fixed;
|
|
|
|
|
inset: 0;
|
|
|
|
|
z-index: 40;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-sidebar-overlay {
|
|
|
|
|
position: fixed;
|
|
|
|
|
inset: 0;
|
|
|
|
|
background: rgba(0, 0, 0, 0.3);
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-sidebar {
|
|
|
|
|
position: relative;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
width: 16rem;
|
|
|
|
|
min-height: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2026-02-21 00:13:33 +00:00
|
|
|
background-color: var(--t-surface-sunken);
|
2026-02-17 23:05:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (min-width: 64em) {
|
|
|
|
|
.admin-layout {
|
|
|
|
|
grid-template-columns: 16rem 1fr;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-sidebar-wrapper {
|
|
|
|
|
display: block;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-sidebar-overlay {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-topbar {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Top bar (mobile only) ── */
|
|
|
|
|
|
|
|
|
|
.admin-topbar {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
padding: 0.5rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
background-color: var(--t-surface-base);
|
|
|
|
|
border-bottom: 1px solid var(--t-surface-sunken);
|
2026-02-17 23:05:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-topbar-title {
|
|
|
|
|
flex: 1;
|
|
|
|
|
font-size: 1.125rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Sidebar nav ── */
|
|
|
|
|
|
|
|
|
|
.admin-nav {
|
|
|
|
|
list-style: none;
|
|
|
|
|
padding: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 0.125rem;
|
|
|
|
|
|
|
|
|
|
& li a,
|
|
|
|
|
& li button {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
padding: 0.5rem 0.75rem;
|
|
|
|
|
border-radius: 0.375rem;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
color: inherit;
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
transition: background-color 0.1s;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
background: none;
|
|
|
|
|
border: none;
|
|
|
|
|
width: 100%;
|
2026-02-21 00:13:33 +00:00
|
|
|
text-align: start;
|
2026-02-17 23:05:01 +00:00
|
|
|
|
|
|
|
|
&:hover {
|
2026-02-21 00:13:33 +00:00
|
|
|
background-color: var(--t-border-default);
|
2026-02-17 23:05:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.active {
|
2026-02-21 00:13:33 +00:00
|
|
|
background-color: var(--t-border-default);
|
2026-02-17 23:05:01 +00:00
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Buttons ── */
|
|
|
|
|
|
|
|
|
|
.admin-btn {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
line-height: 1.25rem;
|
|
|
|
|
border-radius: 0.375rem;
|
|
|
|
|
border: 1px solid transparent;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
transition: background-color 0.1s, opacity 0.1s;
|
2026-02-21 00:13:33 +00:00
|
|
|
background-color: var(--t-accent);
|
|
|
|
|
color: var(--t-text-inverse);
|
2026-02-17 23:05:01 +00:00
|
|
|
|
|
|
|
|
&:hover { opacity: 0.85; }
|
|
|
|
|
&:disabled { opacity: 0.5; cursor: not-allowed; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-btn-primary {
|
2026-02-21 00:13:33 +00:00
|
|
|
background-color: var(--t-accent);
|
|
|
|
|
color: var(--t-text-inverse);
|
2026-02-17 23:05:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-btn-soft {
|
2026-02-21 00:13:33 +00:00
|
|
|
background-color: color-mix(in oklch, var(--t-accent) 12%, transparent);
|
|
|
|
|
color: var(--t-accent);
|
|
|
|
|
&:hover { background-color: color-mix(in oklch, var(--t-accent) 20%, transparent); opacity: 1; }
|
2026-02-17 23:05:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-btn-ghost {
|
|
|
|
|
background: none;
|
|
|
|
|
color: inherit;
|
2026-02-21 00:13:33 +00:00
|
|
|
&:hover { background-color: var(--t-surface-sunken); opacity: 1; }
|
2026-02-17 23:05:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-btn-outline {
|
|
|
|
|
background: none;
|
|
|
|
|
color: inherit;
|
2026-02-21 00:13:33 +00:00
|
|
|
border-color: var(--t-border-default);
|
|
|
|
|
&:hover { background-color: var(--t-surface-sunken); opacity: 1; }
|
2026-02-17 23:05:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-btn-sm {
|
|
|
|
|
padding: 0.25rem 0.5rem;
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-btn-icon {
|
|
|
|
|
padding: 0.5rem;
|
|
|
|
|
aspect-ratio: 1;
|
|
|
|
|
border-radius: 0.375rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-btn-icon-round {
|
|
|
|
|
padding: 0.25rem;
|
|
|
|
|
aspect-ratio: 1;
|
|
|
|
|
border-radius: 9999px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Cards ── */
|
|
|
|
|
|
|
|
|
|
.admin-card {
|
2026-02-21 00:13:33 +00:00
|
|
|
background-color: var(--t-surface-base);
|
|
|
|
|
border: 1px solid var(--t-surface-sunken);
|
2026-02-17 23:05:01 +00:00
|
|
|
border-radius: 0.5rem;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-card-body {
|
|
|
|
|
padding: 1rem 1.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-card-title {
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
margin-bottom: 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-card-actions {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
padding-top: 0.75rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
border-top: 1px solid var(--t-surface-sunken);
|
2026-02-17 23:05:01 +00:00
|
|
|
margin-top: 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Tables ── */
|
|
|
|
|
|
|
|
|
|
.admin-table {
|
|
|
|
|
width: 100%;
|
|
|
|
|
border-collapse: collapse;
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
|
|
|
|
|
& th {
|
2026-02-21 00:13:33 +00:00
|
|
|
text-align: start;
|
2026-02-17 23:05:01 +00:00
|
|
|
padding: 0.5rem 0.75rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
letter-spacing: 0.05em;
|
2026-02-21 00:13:33 +00:00
|
|
|
color: color-mix(in oklch, var(--t-text-primary) 60%, transparent);
|
|
|
|
|
border-bottom: 1px solid var(--t-surface-sunken);
|
2026-02-17 23:05:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
& td {
|
|
|
|
|
padding: 0.5rem 0.75rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
border-bottom: 1px solid color-mix(in oklch, var(--t-surface-sunken) 50%, transparent);
|
2026-02-17 23:05:01 +00:00
|
|
|
vertical-align: middle;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
& tbody tr:last-child td {
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-table-zebra tbody tr:nth-child(even) {
|
2026-02-21 00:13:33 +00:00
|
|
|
background-color: color-mix(in oklch, var(--t-surface-sunken) 30%, transparent);
|
2026-02-17 23:05:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Forms ── */
|
|
|
|
|
|
|
|
|
|
.admin-fieldset {
|
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-label {
|
|
|
|
|
display: block;
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
margin-bottom: 0.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-input,
|
|
|
|
|
.admin-select,
|
|
|
|
|
.admin-textarea {
|
|
|
|
|
display: block;
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 0.5rem 0.75rem;
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
line-height: 1.5;
|
2026-02-21 00:13:33 +00:00
|
|
|
color: var(--t-text-primary);
|
|
|
|
|
background-color: var(--t-surface-base);
|
|
|
|
|
border: 1px solid var(--t-border-default);
|
2026-02-17 23:05:01 +00:00
|
|
|
border-radius: 0.375rem;
|
|
|
|
|
transition: border-color 0.15s;
|
|
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
|
outline: none;
|
2026-02-21 00:13:33 +00:00
|
|
|
border-color: var(--t-accent);
|
|
|
|
|
box-shadow: 0 0 0 1px color-mix(in oklch, var(--t-accent) 20%, transparent);
|
2026-02-17 23:05:01 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-select {
|
|
|
|
|
appearance: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-input-error {
|
2026-02-21 00:13:33 +00:00
|
|
|
border-color: var(--t-status-error);
|
2026-02-17 23:05:01 +00:00
|
|
|
|
|
|
|
|
&:focus {
|
2026-02-21 00:13:33 +00:00
|
|
|
border-color: var(--t-status-error);
|
|
|
|
|
box-shadow: 0 0 0 1px color-mix(in oklch, var(--t-status-error) 20%, transparent);
|
2026-02-17 23:05:01 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-checkbox {
|
|
|
|
|
width: 1rem;
|
|
|
|
|
height: 1rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
accent-color: var(--t-accent);
|
2026-02-17 23:05:01 +00:00
|
|
|
vertical-align: middle;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-checkbox-sm {
|
|
|
|
|
width: 0.875rem;
|
|
|
|
|
height: 0.875rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-select-sm,
|
|
|
|
|
.admin-input-sm {
|
|
|
|
|
padding: 0.25rem 0.5rem;
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Toggle ── */
|
|
|
|
|
|
|
|
|
|
.admin-toggle {
|
|
|
|
|
appearance: none;
|
|
|
|
|
width: 2.5rem;
|
|
|
|
|
height: 1.25rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
background-color: var(--t-border-default);
|
2026-02-17 23:05:01 +00:00
|
|
|
border-radius: 9999px;
|
|
|
|
|
position: relative;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: background-color 0.2s;
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
|
content: "";
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0.125rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
inset-inline-start: 0.125rem;
|
2026-02-17 23:05:01 +00:00
|
|
|
width: 1rem;
|
|
|
|
|
height: 1rem;
|
|
|
|
|
background: white;
|
|
|
|
|
border-radius: 9999px;
|
|
|
|
|
transition: transform 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:checked {
|
2026-02-21 00:13:33 +00:00
|
|
|
background-color: var(--t-accent);
|
2026-02-17 23:05:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:checked::after {
|
|
|
|
|
transform: translateX(1.25rem);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-toggle-sm {
|
|
|
|
|
width: 2rem;
|
|
|
|
|
height: 1rem;
|
|
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
|
width: 0.75rem;
|
|
|
|
|
height: 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:checked::after {
|
|
|
|
|
transform: translateX(1rem);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Feedback ── */
|
|
|
|
|
|
|
|
|
|
.admin-toast {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 1rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
inset-inline-end: 1rem;
|
2026-02-18 23:55:42 +00:00
|
|
|
z-index: 100;
|
2026-02-17 23:05:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-alert {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
gap: 0.75rem;
|
|
|
|
|
padding: 0.75rem 1rem;
|
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
line-height: 1.5;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-alert-info {
|
2026-02-21 00:13:33 +00:00
|
|
|
background-color: color-mix(in oklch, var(--t-status-info) 12%, var(--t-surface-base));
|
|
|
|
|
color: var(--t-status-info);
|
|
|
|
|
border: 1px solid color-mix(in oklch, var(--t-status-info) 25%, var(--t-surface-base));
|
2026-02-17 23:05:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-alert-error {
|
2026-02-21 00:13:33 +00:00
|
|
|
background-color: color-mix(in oklch, var(--t-status-error) 12%, var(--t-surface-base));
|
|
|
|
|
color: var(--t-status-error);
|
|
|
|
|
border: 1px solid color-mix(in oklch, var(--t-status-error) 25%, var(--t-surface-base));
|
2026-02-17 23:05:01 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-21 10:24:26 +00:00
|
|
|
.admin-banner-warning {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.75rem;
|
|
|
|
|
padding: 0.625rem 1rem;
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
line-height: 1.5;
|
|
|
|
|
background-color: color-mix(in oklch, var(--t-status-warning) 12%, var(--t-surface-base));
|
|
|
|
|
color: var(--t-text-body);
|
|
|
|
|
border-bottom: 1px solid color-mix(in oklch, var(--t-status-warning) 30%, var(--t-surface-base));
|
|
|
|
|
|
|
|
|
|
& .size-5 { color: var(--t-status-warning); }
|
|
|
|
|
& code { font-size: 0.8125rem; }
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-17 23:05:01 +00:00
|
|
|
/* ── Modal ── */
|
|
|
|
|
|
|
|
|
|
.admin-modal {
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 0.75rem;
|
|
|
|
|
padding: 0;
|
|
|
|
|
max-width: 32rem;
|
|
|
|
|
width: calc(100% - 2rem);
|
2026-02-21 00:13:33 +00:00
|
|
|
background-color: var(--t-surface-base);
|
|
|
|
|
color: var(--t-text-primary);
|
2026-02-17 23:05:01 +00:00
|
|
|
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
|
|
|
|
|
|
|
|
|
|
&::backdrop {
|
|
|
|
|
background: rgba(0, 0, 0, 0.4);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-modal-box {
|
|
|
|
|
padding: 1.5rem;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-modal-close {
|
|
|
|
|
position: absolute;
|
2026-02-21 00:13:33 +00:00
|
|
|
inset-inline-end: 0.5rem;
|
2026-02-17 23:05:01 +00:00
|
|
|
top: 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-modal-actions {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
margin-top: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Badge ── */
|
|
|
|
|
|
|
|
|
|
.admin-badge {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 0.125rem 0.5rem;
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
border-radius: 9999px;
|
2026-02-21 00:13:33 +00:00
|
|
|
background-color: var(--t-surface-sunken);
|
|
|
|
|
color: color-mix(in oklch, var(--t-text-primary) 70%, transparent);
|
2026-02-17 23:05:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-badge-sm {
|
|
|
|
|
padding: 0 0.375rem;
|
|
|
|
|
font-size: 0.625rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Dropdown ── */
|
|
|
|
|
|
|
|
|
|
.admin-dropdown {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
|
|
& .admin-dropdown-content {
|
|
|
|
|
display: none;
|
|
|
|
|
position: absolute;
|
2026-02-21 00:13:33 +00:00
|
|
|
inset-inline-end: 0;
|
2026-02-17 23:05:01 +00:00
|
|
|
top: 100%;
|
|
|
|
|
margin-top: 0.25rem;
|
|
|
|
|
min-width: 12rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
background-color: var(--t-surface-base);
|
|
|
|
|
border: 1px solid var(--t-surface-sunken);
|
2026-02-17 23:05:01 +00:00
|
|
|
border-radius: 0.5rem;
|
|
|
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
|
|
|
|
z-index: 50;
|
|
|
|
|
padding: 0.25rem;
|
2026-02-19 08:30:02 +00:00
|
|
|
list-style: none;
|
2026-02-17 23:05:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:focus-within .admin-dropdown-content,
|
|
|
|
|
&[open] .admin-dropdown-content {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-19 08:30:02 +00:00
|
|
|
.admin-dropdown-content li a,
|
|
|
|
|
.admin-dropdown-content li button {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
padding: 0.5rem 0.75rem;
|
|
|
|
|
border-radius: 0.375rem;
|
|
|
|
|
font-size: 0.875rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
color: var(--t-text-primary);
|
2026-02-19 08:30:02 +00:00
|
|
|
text-decoration: none;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
background: none;
|
|
|
|
|
border: none;
|
|
|
|
|
width: 100%;
|
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
2026-02-21 00:13:33 +00:00
|
|
|
background-color: var(--t-surface-sunken);
|
2026-02-19 08:30:02 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-17 23:05:01 +00:00
|
|
|
/* ── Spinner ── */
|
|
|
|
|
|
|
|
|
|
@keyframes admin-spin {
|
|
|
|
|
to { transform: rotate(360deg); }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-spinner {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
width: 1.25rem;
|
|
|
|
|
height: 1.25rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
border: 2px solid var(--t-border-default);
|
|
|
|
|
border-top-color: var(--t-accent);
|
2026-02-17 23:05:01 +00:00
|
|
|
border-radius: 9999px;
|
|
|
|
|
animation: admin-spin 0.6s linear infinite;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Divider ── */
|
|
|
|
|
|
|
|
|
|
.admin-divider {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 1rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
color: color-mix(in oklch, var(--t-text-primary) 40%, transparent);
|
2026-02-17 23:05:01 +00:00
|
|
|
font-size: 0.75rem;
|
|
|
|
|
|
|
|
|
|
&::before,
|
|
|
|
|
&::after {
|
|
|
|
|
content: "";
|
|
|
|
|
flex: 1;
|
|
|
|
|
height: 1px;
|
2026-02-21 00:13:33 +00:00
|
|
|
background-color: var(--t-border-default);
|
2026-02-17 23:05:01 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── List ── */
|
|
|
|
|
|
|
|
|
|
.admin-list {
|
|
|
|
|
list-style: none;
|
|
|
|
|
padding: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-list-row {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
padding: 0.75rem 0;
|
2026-02-21 00:13:33 +00:00
|
|
|
border-bottom: 1px solid var(--t-surface-sunken);
|
2026-02-17 23:05:01 +00:00
|
|
|
|
|
|
|
|
&:last-child { border-bottom: none; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-list-grow {
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Form error text ── */
|
|
|
|
|
|
|
|
|
|
.admin-error {
|
2026-02-21 00:13:33 +00:00
|
|
|
color: var(--t-status-error);
|
2026-02-17 23:05:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Link ── */
|
|
|
|
|
|
|
|
|
|
.admin-link {
|
2026-02-21 00:13:33 +00:00
|
|
|
color: var(--t-accent);
|
2026-02-17 23:05:01 +00:00
|
|
|
text-decoration: underline;
|
|
|
|
|
text-underline-offset: 0.125em;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
opacity: 0.8;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Range ── */
|
|
|
|
|
|
|
|
|
|
.admin-range {
|
|
|
|
|
appearance: none;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 0.375rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
background-color: var(--t-border-default);
|
2026-02-17 23:05:01 +00:00
|
|
|
border-radius: 9999px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
|
|
&::-webkit-slider-thumb {
|
|
|
|
|
appearance: none;
|
|
|
|
|
width: 1rem;
|
|
|
|
|
height: 1rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
background: var(--t-accent);
|
2026-02-17 23:05:01 +00:00
|
|
|
border-radius: 9999px;
|
2026-02-21 00:13:33 +00:00
|
|
|
border: 2px solid var(--t-surface-base);
|
2026-02-17 23:05:01 +00:00
|
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&::-moz-range-thumb {
|
|
|
|
|
width: 1rem;
|
|
|
|
|
height: 1rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
background: var(--t-accent);
|
2026-02-17 23:05:01 +00:00
|
|
|
border-radius: 9999px;
|
2026-02-21 00:13:33 +00:00
|
|
|
border: 2px solid var(--t-surface-base);
|
2026-02-17 23:05:01 +00:00
|
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Alert outline ── */
|
|
|
|
|
|
|
|
|
|
.admin-alert-outline {
|
|
|
|
|
background: none;
|
2026-02-21 00:13:33 +00:00
|
|
|
color: color-mix(in oklch, var(--t-text-primary) 70%, transparent);
|
|
|
|
|
border: 1px solid var(--t-border-default);
|
2026-02-17 23:05:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Swap (visibility toggle) ── */
|
|
|
|
|
|
|
|
|
|
.admin-swap {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
|
|
|
|
& .admin-swap-on,
|
|
|
|
|
& .admin-swap-off {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
& .admin-swap-off { display: inline-flex; }
|
|
|
|
|
|
|
|
|
|
&.active .admin-swap-on { display: inline-flex; }
|
|
|
|
|
&.active .admin-swap-off { display: none; }
|
|
|
|
|
}
|
2026-02-18 01:15:28 +00:00
|
|
|
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
/* ── Dashboard stats grid ── */
|
|
|
|
|
|
|
|
|
|
.admin-stats-grid {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(1, 1fr);
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
margin-top: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (min-width: 640px) {
|
|
|
|
|
.admin-stats-grid {
|
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-22 23:28:35 +00:00
|
|
|
/* ── Analytics chart labels ── */
|
|
|
|
|
|
|
|
|
|
.analytics-y-labels,
|
|
|
|
|
.analytics-x-labels {
|
|
|
|
|
font-size: 0.6875rem;
|
|
|
|
|
color: color-mix(in oklch, var(--color-base-content) 55%, transparent);
|
|
|
|
|
font-variant-numeric: tabular-nums;
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-23 01:01:25 +00:00
|
|
|
[data-bars] > div {
|
|
|
|
|
cursor: crosshair;
|
|
|
|
|
}
|
|
|
|
|
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
/* ── Setup page ── */
|
|
|
|
|
|
|
|
|
|
.setup-page {
|
|
|
|
|
max-width: 36rem;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
padding: 2rem 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setup-header {
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setup-title {
|
|
|
|
|
font-size: 1.5rem;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
line-height: 1.2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setup-subtitle {
|
2026-02-21 00:13:33 +00:00
|
|
|
color: color-mix(in oklch, var(--t-text-primary) 60%, transparent);
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
margin-top: 0.25rem;
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setup-sections {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setup-card {
|
2026-02-21 00:13:33 +00:00
|
|
|
border: 1px solid var(--t-border-default, #d4d4d4);
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
border-radius: 0.5rem;
|
|
|
|
|
padding: 1.25rem;
|
|
|
|
|
transition: border-color 150ms;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setup-card-done {
|
2026-02-21 00:13:33 +00:00
|
|
|
border-color: var(--t-status-success, #22c55e);
|
|
|
|
|
background: color-mix(in oklab, var(--t-status-success, #22c55e) 5%, transparent);
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setup-card-header {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setup-card-number {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 1.75rem;
|
|
|
|
|
height: 1.75rem;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
flex-shrink: 0;
|
2026-02-21 00:13:33 +00:00
|
|
|
background: var(--t-surface-sunken, #e5e5e5);
|
|
|
|
|
color: color-mix(in oklch, var(--t-text-primary) 60%, transparent);
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setup-card-number-done {
|
2026-02-21 00:13:33 +00:00
|
|
|
background: var(--t-status-success, #22c55e);
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
color: white;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setup-card-title {
|
|
|
|
|
font-size: 0.9375rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setup-card-summary {
|
|
|
|
|
margin-top: 0.25rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
padding-inline-start: 2.5rem;
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
font-size: 0.8125rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
color: color-mix(in oklch, var(--t-text-primary) 60%, transparent);
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setup-card-body {
|
|
|
|
|
margin-top: 1rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
padding-inline-start: 2.5rem;
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-20 21:07:07 +00:00
|
|
|
/* Setup: check inbox phase */
|
|
|
|
|
.setup-check-inbox {
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 1rem 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setup-inbox-icon {
|
2026-02-21 00:13:33 +00:00
|
|
|
color: var(--t-text-primary, #171717);
|
2026-02-20 21:07:07 +00:00
|
|
|
margin: 0 auto 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setup-inbox-heading {
|
|
|
|
|
font-size: 1.125rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
margin-bottom: 0.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setup-inbox-detail {
|
|
|
|
|
font-size: 0.875rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
color: color-mix(in oklch, var(--t-text-primary) 60%, transparent);
|
2026-02-20 21:07:07 +00:00
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setup-start-over {
|
|
|
|
|
font-size: 0.8125rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
color: color-mix(in oklch, var(--t-text-primary) 60%, transparent);
|
2026-02-20 21:07:07 +00:00
|
|
|
margin-top: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
.setup-hint {
|
|
|
|
|
font-size: 0.8125rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
color: color-mix(in oklch, var(--t-text-primary) 60%, transparent);
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
margin-bottom: 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setup-link {
|
2026-02-21 00:13:33 +00:00
|
|
|
color: var(--t-text-primary, #171717);
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setup-key-hint {
|
|
|
|
|
font-size: 0.75rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
color: color-mix(in oklch, var(--t-text-primary) 60%, transparent);
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
margin-top: 0.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setup-actions {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
margin-top: 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setup-test-result {
|
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
|
font-size: 0.8125rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setup-test-ok {
|
2026-02-21 00:13:33 +00:00
|
|
|
color: var(--t-status-success, #22c55e);
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setup-test-error {
|
2026-02-21 00:13:33 +00:00
|
|
|
color: var(--t-status-error, #dc2626);
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-21 19:29:34 +00:00
|
|
|
/* Card radio group — selectable cards backed by radio inputs */
|
|
|
|
|
.card-radio-fieldset {
|
|
|
|
|
border: none;
|
|
|
|
|
padding: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.card-radio-grid {
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
|
gap: 0.5rem;
|
2026-02-21 19:29:34 +00:00
|
|
|
margin-top: 0.5rem;
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-21 19:29:34 +00:00
|
|
|
.card-radio-card {
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
gap: 0.125rem;
|
|
|
|
|
padding: 0.75rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
border: 1px solid var(--t-border-default, #d4d4d4);
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
border-radius: 0.375rem;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: border-color 150ms, background 150ms;
|
2026-02-21 19:29:34 +00:00
|
|
|
-webkit-tap-highlight-color: transparent;
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
|
2026-02-21 19:29:34 +00:00
|
|
|
@media (hover: hover) {
|
|
|
|
|
&:hover:not(:has(:disabled)) {
|
|
|
|
|
border-color: color-mix(in oklch, var(--t-text-primary) 40%, transparent);
|
|
|
|
|
}
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-21 19:29:34 +00:00
|
|
|
&:active:not(:has(:disabled)) {
|
|
|
|
|
background: color-mix(in oklch, var(--t-surface-sunken) 50%, transparent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.card-radio-card-selected {
|
|
|
|
|
border-color: var(--t-text-primary, #171717);
|
|
|
|
|
background: var(--t-surface-sunken, #e5e5e5);
|
|
|
|
|
}
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-21 19:29:34 +00:00
|
|
|
.card-radio-card-disabled {
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
opacity: 0.5;
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-21 19:29:34 +00:00
|
|
|
.card-radio-input {
|
|
|
|
|
position: absolute;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.card-radio-name {
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
font-size: 0.875rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-21 19:29:34 +00:00
|
|
|
.card-radio-description {
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
font-size: 0.75rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
color: color-mix(in oklch, var(--t-text-primary) 60%, transparent);
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-21 19:29:34 +00:00
|
|
|
.card-radio-badge {
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
font-size: 0.6875rem;
|
|
|
|
|
padding: 0.125rem 0.375rem;
|
|
|
|
|
border-radius: 9999px;
|
2026-02-21 00:13:33 +00:00
|
|
|
background: var(--t-surface-sunken, #e5e5e5);
|
|
|
|
|
color: color-mix(in oklch, var(--t-text-primary) 60%, transparent);
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-21 19:29:34 +00:00
|
|
|
.card-radio-link {
|
|
|
|
|
font-size: 0.6875rem;
|
|
|
|
|
color: color-mix(in oklch, var(--t-text-primary) 60%, transparent);
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
text-underline-offset: 2px;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
color: var(--t-text-primary, #171717);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Tags display mode */
|
|
|
|
|
.card-radio-tags {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
gap: 0.25rem;
|
|
|
|
|
margin-top: 0.125rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.card-radio-tag {
|
|
|
|
|
font-size: 0.625rem;
|
|
|
|
|
padding: 0.0625rem 0.375rem;
|
|
|
|
|
border-radius: 9999px;
|
|
|
|
|
background: var(--t-surface-sunken, #e5e5e5);
|
|
|
|
|
color: color-mix(in oklch, var(--t-text-primary) 70%, transparent);
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
.setup-provider-form {
|
|
|
|
|
margin-top: 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Setup complete card */
|
|
|
|
|
.setup-complete {
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin-top: 2rem;
|
|
|
|
|
padding: 2rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
border: 1px solid var(--t-status-success, #22c55e);
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
border-radius: 0.5rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
background: color-mix(in oklab, var(--t-status-success, #22c55e) 5%, transparent);
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setup-complete-icon {
|
|
|
|
|
width: 3rem;
|
|
|
|
|
height: 3rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
color: var(--t-status-success, #22c55e);
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
margin: 0 auto 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setup-complete h2 {
|
|
|
|
|
font-size: 1.125rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.setup-complete p {
|
|
|
|
|
font-size: 0.875rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
color: color-mix(in oklch, var(--t-text-primary) 60%, transparent);
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
margin: 0.25rem 0 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Dashboard launch checklist ── */
|
|
|
|
|
|
|
|
|
|
.admin-checklist {
|
2026-02-21 00:13:33 +00:00
|
|
|
border: 1px solid var(--t-border-default, #d4d4d4);
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
border-radius: 0.5rem;
|
|
|
|
|
padding: 1.25rem;
|
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-checklist-header {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-checklist-title {
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-checklist-progress {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
font-size: 0.8125rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
color: color-mix(in oklch, var(--t-text-primary) 60%, transparent);
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-checklist-bar {
|
|
|
|
|
width: 6rem;
|
|
|
|
|
height: 0.375rem;
|
|
|
|
|
border-radius: 9999px;
|
2026-02-21 00:13:33 +00:00
|
|
|
background: var(--t-surface-sunken, #e5e5e5);
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-checklist-bar-fill {
|
|
|
|
|
height: 100%;
|
|
|
|
|
border-radius: 9999px;
|
2026-02-21 00:13:33 +00:00
|
|
|
background: var(--t-status-success, #22c55e);
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
transition: width 300ms;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-checklist-items {
|
|
|
|
|
list-style: none;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-checklist-item {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.75rem;
|
|
|
|
|
padding: 0.5rem 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-checklist-check {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 1.25rem;
|
|
|
|
|
height: 1.25rem;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
flex-shrink: 0;
|
2026-02-21 00:13:33 +00:00
|
|
|
border: 1.5px solid var(--t-border-default, #d4d4d4);
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
color: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-checklist-check-done {
|
2026-02-21 00:13:33 +00:00
|
|
|
background: var(--t-status-success, #22c55e);
|
|
|
|
|
border-color: var(--t-status-success, #22c55e);
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
color: white;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-checklist-label {
|
|
|
|
|
flex: 1;
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-checklist-label-done {
|
2026-02-21 00:13:33 +00:00
|
|
|
color: color-mix(in oklch, var(--t-text-primary) 60%, transparent);
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-checklist-action {
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-checklist-footer {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
margin-top: 1rem;
|
|
|
|
|
padding-top: 0.75rem;
|
2026-02-21 00:13:33 +00:00
|
|
|
border-top: 1px solid var(--t-surface-sunken, #e5e5e5);
|
add setup onboarding page, dashboard launch checklist, provider registry
- new /setup page with three-section onboarding (account, provider, payments)
- dashboard launch checklist with progress bar, go-live, dismiss
- provider registry on Provider module (single source of truth for metadata)
- payments registry for Stripe
- setup context made provider-agnostic (provider_connected, theme_customised, etc.)
- admin provider pages now fully registry-driven (no hardcoded provider names)
- auth flow: fresh installs redirect to /setup, signed_in_path respects setup state
- removed old /admin/setup wizard
- 840 tests, 0 failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:34:06 +00:00
|
|
|
}
|
2026-02-21 00:13:33 +00:00
|
|
|
|
2026-02-26 21:15:01 +00:00
|
|
|
/* ── Page editor ── */
|
|
|
|
|
|
|
|
|
|
.page-list {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 1.5rem;
|
|
|
|
|
margin-top: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.page-group-title {
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
letter-spacing: 0.05em;
|
|
|
|
|
color: color-mix(in oklch, var(--t-text-primary) 50%, transparent);
|
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.page-group-cards {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 1px;
|
|
|
|
|
border: 1px solid var(--t-border-default);
|
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.page-card {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.75rem;
|
|
|
|
|
padding: 0.75rem 1rem;
|
|
|
|
|
background: var(--t-surface-base);
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
color: var(--t-text-primary);
|
|
|
|
|
transition: background 100ms;
|
|
|
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
|
border-bottom: 1px solid var(--t-border-default);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (hover: hover) {
|
|
|
|
|
&:hover {
|
|
|
|
|
background: var(--t-surface-sunken);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.page-card-icon {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 2rem;
|
|
|
|
|
height: 2rem;
|
|
|
|
|
border-radius: 0.375rem;
|
|
|
|
|
background: var(--t-surface-sunken);
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
color: color-mix(in oklch, var(--t-text-primary) 60%, transparent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.page-card-info {
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.page-card-title {
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.page-card-meta {
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
color: color-mix(in oklch, var(--t-text-primary) 50%, transparent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.page-card-arrow {
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
color: color-mix(in oklch, var(--t-text-primary) 30%, transparent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Block list in editor */
|
|
|
|
|
|
|
|
|
|
.block-list {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
margin-top: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.block-list-empty {
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 2rem;
|
|
|
|
|
color: color-mix(in oklch, var(--t-text-primary) 50%, transparent);
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
border: 1px dashed var(--t-border-default);
|
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.block-card {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
padding: 0.5rem 0.75rem;
|
|
|
|
|
border: 1px solid var(--t-border-default);
|
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
|
background: var(--t-surface-base);
|
|
|
|
|
transition: box-shadow 150ms;
|
|
|
|
|
|
|
|
|
|
&:focus-within {
|
|
|
|
|
box-shadow: 0 0 0 2px color-mix(in oklch, var(--t-text-primary) 20%, transparent);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.block-card-position {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 1.5rem;
|
|
|
|
|
height: 1.5rem;
|
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: color-mix(in oklch, var(--t-text-primary) 50%, transparent);
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.block-card-icon {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
color: color-mix(in oklch, var(--t-text-primary) 60%, transparent);
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.block-card-name {
|
|
|
|
|
flex: 1;
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.block-card-controls {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.125rem;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.block-remove-btn {
|
|
|
|
|
color: color-mix(in oklch, var(--t-status-error) 70%, transparent);
|
|
|
|
|
|
|
|
|
|
@media (hover: hover) {
|
|
|
|
|
&:hover {
|
|
|
|
|
color: var(--t-status-error);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Add block button */
|
|
|
|
|
|
|
|
|
|
.block-actions {
|
|
|
|
|
margin-top: 1rem;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.block-add-btn {
|
|
|
|
|
border-style: dashed;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Block picker */
|
|
|
|
|
|
|
|
|
|
.block-picker-overlay {
|
|
|
|
|
position: fixed;
|
|
|
|
|
inset: 0;
|
|
|
|
|
background: rgba(0, 0, 0, 0.3);
|
|
|
|
|
z-index: 50;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: flex-end;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
|
|
@media (min-width: 40em) {
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.block-picker {
|
|
|
|
|
background: var(--t-surface-base);
|
|
|
|
|
border-radius: 0.75rem 0.75rem 0 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
max-height: 80vh;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
padding: 1rem;
|
|
|
|
|
|
|
|
|
|
@media (min-width: 40em) {
|
|
|
|
|
border-radius: 0.75rem;
|
|
|
|
|
max-width: 28rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.block-picker-header {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
margin-bottom: 0.75rem;
|
|
|
|
|
|
|
|
|
|
& h3 {
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.block-picker-search {
|
|
|
|
|
width: 100%;
|
|
|
|
|
margin-bottom: 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.block-picker-grid {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.block-picker-item {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
padding: 0.625rem 0.75rem;
|
|
|
|
|
border: 1px solid var(--t-border-default);
|
|
|
|
|
border-radius: 0.375rem;
|
|
|
|
|
background: none;
|
|
|
|
|
font-size: 0.8125rem;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
text-align: left;
|
|
|
|
|
color: inherit;
|
|
|
|
|
transition: background 100ms;
|
|
|
|
|
|
|
|
|
|
@media (hover: hover) {
|
|
|
|
|
&:hover {
|
|
|
|
|
background: var(--t-surface-sunken);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.block-picker-empty {
|
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 1rem;
|
|
|
|
|
color: color-mix(in oklch, var(--t-text-primary) 50%, transparent);
|
|
|
|
|
font-size: 0.8125rem;
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-21 00:13:33 +00:00
|
|
|
} /* @layer admin */
|