:root {
--color-text: #25372d;
--color-muted: #65746b;
--color-surface: #ffffff;
--color-surface-soft: #f8faf7;
--color-page: #f3f6f2;
--color-border: #e0e7df;
--color-border-strong: #c6d2c7;
--color-accent: #187653;
--color-accent-hover: #115c40;
--color-accent-soft: #e5f2e9;
--color-danger: #b4473e;
--color-danger-hover: #92372f;
--color-danger-soft: #fff1ee;
--radius-control: 8px;
--radius-panel: 14px;
--shadow-panel: 0 2px 8px rgb(27 47 34 / 3%);
--focus-ring: 0 0 0 3px rgb(24 118 83 / 12%);
font-family:
Inter,
ui-sans-serif,
system-ui,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
sans-serif;
font-size: 14px;
line-height: 1.5;
color: var(--color-text);
background: var(--color-page);
font-synthesis: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.aggregate-section {
min-width: 0;
margin: 24px 0;
padding-top: 20px;
border-top: 1px solid var(--color-border);
}
.aggregate-section .section-heading,
.aggregate-actions {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 12px;
justify-content: space-between;
margin-bottom: 16px;
}
.aggregate-section h2 {
font-size: 18px;
margin: 0;
}
.aggregate-fields,
.aggregate-row-fields {
border: 0;
padding: 0;
margin: 0;
min-width: 0;
}
.aggregate-row {
position: relative;
min-width: 0;
border: 1px solid var(--color-border);
border-radius: 6px;
padding: 16px;
margin: 0 0 16px;
}
.aggregate-row legend {
padding: 0 6px;
font-weight: 600;
}
.aggregate-row-fields {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
gap: 16px;
}
.aggregate-row > .icon-button {
margin-top: 12px;
}
.aggregate-actions {
justify-content: flex-start;
}
.relation-pages {
display: inline-flex;
align-items: center;
gap: 8px;
width: max-content;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-width: 320px;
}
button,
input,
select,
textarea {
font: inherit;
}
button,
a {
-webkit-tap-highlight-color: transparent;
}
:where(button, a, input, select, textarea, summary):focus-visible {
outline: 2px solid var(--color-accent);
outline-offset: 2px;
}
.shell {
width: 100%;
min-height: 100vh;
display: grid;
grid-template-columns: 248px minmax(0, 1fr);
overflow-x: clip;
}
.sidebar {
display: flex;
flex-direction: column;
min-height: 0;
background: var(--color-surface);
color: var(--color-text);
border-right: 1px solid var(--color-border);
padding: 26px 16px 18px;
position: sticky;
top: 0;
height: 100dvh;
}
.brand {
height: 46px;
display: flex;
align-items: center;
gap: 12px;
padding: 0 10px;
color: var(--color-text);
font-weight: 700;
font-size: 17px;
letter-spacing: -0.04em;
flex-shrink: 0;
}
.tenant-switcher {
height: 44px;
display: grid;
grid-template-columns: 18px minmax(0, 1fr) 30px 30px;
align-items: center;
gap: 6px;
margin: 24px 6px 0;
padding: 0 5px 0 7px;
border: 1px solid var(--color-border);
border-radius: var(--radius-control);
color: var(--color-muted);
background: var(--color-surface-soft);
}
.tenant-switcher select {
min-width: 0;
width: 100%;
border: 0;
outline: 0;
background: transparent;
color: var(--color-text);
font-size: 13px;
height: 100%;
}
.tenant-switcher button {
width: 28px;
height: 28px;
display: inline-flex;
align-items: center;
justify-content: center;
border: 0;
border-left: 1px solid var(--color-border);
background: transparent;
color: var(--color-muted);
cursor: pointer;
border-radius: 0;
}
.tenant-switcher a {
width: 28px;
height: 28px;
display: inline-flex;
align-items: center;
justify-content: center;
color: var(--color-muted);
border-left: 1px solid var(--color-border);
}
.invitation-form {
margin-bottom: 14px;
}
.invitation-form h2 {
margin: 0 0 14px;
font-size: 16px;
}
.invitation-form input {
min-height: 36px;
min-width: min(320px, 100%);
border: 1px solid var(--color-border-strong);
border-radius: var(--radius-control);
padding: 0 10px;
}
.invitation-list {
overflow-x: auto;
}
.token-form {
margin-bottom: 14px;
}
.token-form input {
min-height: 36px;
border: 1px solid var(--color-border-strong);
border-radius: var(--radius-control);
padding: 0 10px;
}
.token-list {
overflow-x: auto;
}
.admin-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
}
.admin-metric {
display: grid;
gap: 8px;
min-height: 120px;
padding: 22px;
background: white;
border: 1px solid var(--color-border);
border-radius: var(--radius-panel);
box-shadow: var(--shadow-panel);
}
.admin-metric span {
color: var(--color-muted);
font-size: 12px;
}
.admin-metric strong {
color: var(--color-accent);
font-size: 24px;
}
.admin-links {
display: flex;
flex-wrap: wrap;
gap: 14px;
margin-top: 22px;
font-size: 13px;
}
.report-create {
padding: 16px 0 20px;
border-top: 1px solid var(--color-border);
}
.report-create h2 {
margin: 0 0 14px;
font-size: 16px;
}
.report-create-grid {
display: grid;
grid-template-columns: repeat(3, minmax(160px, 1fr)) auto;
align-items: end;
gap: 12px;
}
.report-create-grid label {
display: grid;
gap: 6px;
min-width: 0;
color: var(--color-muted);
font-size: 12px;
}
.report-create-grid input,
.report-create-grid select {
width: 100%;
min-height: 36px;
border: 1px solid var(--color-border-strong);
border-radius: var(--radius-control);
padding: 0 10px;
background: #fff;
color: var(--color-text);
}
.report-create-grid .checkbox-field {
display: flex;
align-items: center;
min-height: 36px;
gap: 8px;
}
.report-create-grid .checkbox-field input {
width: 16px;
min-height: 16px;
}
.report-run-button {
min-height: 36px;
white-space: nowrap;
}
.report-table td small {
display: block;
margin-top: 3px;
color: var(--color-muted);
font-size: 11px;
}
.report-table progress {
width: 100px;
height: 7px;
margin-right: 8px;
accent-color: var(--color-accent);
}
.report-status {
display: inline-flex;
padding: 2px 7px;
border-radius: 6px;
background: #e6ecee;
color: var(--color-muted);
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
}
.report-status.succeeded {
background: var(--color-accent-soft);
color: #185c4f;
}
.report-status.failed {
background: #f8dfdf;
color: #8c2828;
}
.report-status.cancelled {
background: #ececef;
color: #565861;
}
.report-status.rendering,
.report-status.publishing {
background: #e4edf7;
color: #285b87;
}
.admin-jobs-table th:first-child,
.admin-jobs-table td:first-child {
width: 180px;
}
.admin-jobs-table th:nth-child(4),
.admin-jobs-table td:nth-child(4) {
width: 92px;
}
.admin-webhooks-table th:first-child,
.admin-webhooks-table td:first-child {
width: 180px;
}
.storage-heading {
gap: 18px;
}
.storage-search {
display: flex;
align-items: center;
gap: 6px;
}
.storage-search input {
width: min(320px, 46vw);
min-height: 36px;
padding: 0 10px;
border: 1px solid var(--color-border-strong);
border-radius: var(--radius-control);
background: #fff;
}
.admin-storage-table td {
max-width: 260px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.admin-storage-table th:last-child,
.admin-storage-table td:last-child {
width: 52px;
}
.admin-storage-table .storage-key,
.storage-mono {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
font-size: 12px;
}
.icon-link {
display: inline-flex;
align-items: center;
justify-content: center;
color: inherit;
text-decoration: none;
}
.storage-detail-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
margin: 0;
border-top: 1px solid var(--color-border);
border-left: 1px solid var(--color-border);
background: #fff;
}
.storage-detail-grid > div {
min-width: 0;
padding: 14px 16px;
border-right: 1px solid var(--color-border);
border-bottom: 1px solid var(--color-border);
}
.storage-detail-grid > div.wide {
grid-column: 1 / -1;
}
.storage-detail-grid dt {
margin-bottom: 6px;
color: var(--color-muted);
font-size: 12px;
}
.storage-detail-grid dd {
margin: 0;
overflow-wrap: anywhere;
}
.storage-body-section {
margin-top: 22px;
}
.storage-body-section h2 {
margin: 0 0 8px;
font-size: 15px;
}
.storage-body-section pre {
max-height: 460px;
margin: 0;
padding: 16px;
overflow: auto;
border: 1px solid var(--color-border);
border-radius: var(--radius-control);
background: var(--color-surface-soft);
color: var(--color-text);
font:
12px/1.55 ui-monospace,
SFMono-Regular,
Menlo,
Monaco,
Consolas,
monospace;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.admin-schedules-table code {
font-size: 12px;
white-space: nowrap;
}
.schedule-status {
display: inline-block;
min-width: 64px;
padding: 3px 7px;
border-radius: 6px;
background: #e8edef;
color: var(--color-muted);
text-align: center;
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
}
.schedule-status.active {
background: var(--color-accent-soft);
color: #176451;
}
.schedule-status.paused {
background: #fff1cc;
color: #72540c;
}
.job-status {
display: inline-block;
min-width: 68px;
padding: 3px 7px;
border-radius: 6px;
background: #e8edef;
color: var(--color-muted);
text-align: center;
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
}
.job-status.queued {
background: #e4eef5;
color: #315f7b;
}
.job-status.succeeded {
background: var(--color-accent-soft);
color: #176451;
}
.job-status.dead {
background: #f8e2e0;
color: #973c38;
}
.sidebar nav {
display: grid;
align-content: start;
gap: 5px;
margin-top: 20px;
flex: 1 1 auto;
overflow-y: auto;
min-height: 0;
}
.sidebar-account {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
margin-top: 12px;
padding: 18px 6px 0;
border-top: 1px solid var(--color-border);
}
.sidebar-account .account > span:first-child {
color: var(--color-text);
font-size: 12px;
}
.sidebar-account .role-label {
color: var(--color-muted);
font-size: 11px;
}
.sidebar-account .icon-button {
color: var(--color-muted);
flex: 0 0 auto;
background: transparent;
border-color: transparent;
}
.sidebar nav a {
display: flex;
align-items: center;
gap: 11px;
color: var(--color-muted);
padding: 11px 12px;
text-decoration: none;
border-radius: var(--radius-control);
font-size: 13px;
font-weight: 500;
min-width: 0;
}
.sidebar nav a:hover,
.sidebar nav a.active {
background: var(--color-accent-soft);
color: var(--color-accent);
}
.workspace {
min-width: 0;
}
.topbar {
height: 72px;
background: var(--color-surface);
border-bottom: 1px solid var(--color-border);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 36px;
font-size: 13px;
color: var(--color-muted);
gap: 18px;
}
.page {
padding: 34px 36px;
max-width: 1480px;
margin: 0 auto;
}
.page-heading {
min-height: 66px;
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
margin-bottom: 24px;
}
.page h1,
.auth-panel h1 {
font-size: 28px;
line-height: 1.25;
letter-spacing: -0.035em;
margin: 0;
font-weight: 650;
}
.page-heading p {
margin: 7px 0 0;
color: var(--color-muted);
font-size: 13px;
}
.detail-actions,
.workflow-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: flex-end;
gap: 8px;
}
.workflow-error {
width: 100%;
margin-top: 8px;
color: var(--color-danger);
font-size: 12px;
}
.toolbar,
.row-actions,
.form-actions {
display: flex;
align-items: center;
gap: 8px;
}
.bulk-toolbar {
min-height: 48px;
display: flex;
align-items: center;
gap: 8px;
padding: 12px 16px;
background: var(--color-accent-soft);
border: 1px solid var(--color-border-strong);
border-radius: var(--radius-panel);
flex-wrap: wrap;
margin: 16px 0;
}
.bulk-toolbar strong {
margin-right: 4px;
font-size: 13px;
}
.bulk-toolbar select,
.bulk-toolbar input {
min-height: 40px;
border: 1px solid var(--color-border-strong);
border-radius: 6px;
background: white;
padding: 0 9px;
}
.view-toolbar {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 8px;
margin: 0;
padding: 16px 20px;
flex: 1 1 0;
min-width: 0;
}
.view-toolbar select,
.view-toolbar input {
min-height: 40px;
border: 1px solid var(--color-border-strong);
border-radius: 6px;
background: white;
padding: 0 9px;
}
.view-options {
min-height: 72px;
display: flex;
align-items: center;
justify-content: flex-end;
gap: 12px;
border-top: 0;
color: var(--color-muted);
font-size: 12px;
padding: 16px 20px;
margin-left: auto;
}
.view-options > label {
display: flex;
align-items: center;
gap: 7px;
}
.view-options select {
height: 40px;
border: 1px solid var(--color-border-strong);
border-radius: 6px;
background: white;
padding: 0 8px;
}
.column-picker {
position: relative;
}
.column-picker > summary {
list-style: none;
}
.column-picker > summary::-webkit-details-marker {
display: none;
}
.column-menu {
width: 220px;
max-height: 320px;
position: absolute;
z-index: 10;
top: 40px;
right: 0;
overflow: auto;
border: 1px solid var(--color-border);
border-radius: 12px;
background: white;
padding: 10px;
box-shadow: 0 12px 32px rgb(27 47 34 / 12%);
}
.column-menu label {
min-height: 34px;
display: flex;
align-items: center;
gap: 8px;
padding: 0 6px;
}
.column-menu-footer {
display: flex;
justify-content: flex-end;
border-top: 1px solid var(--color-border);
margin-top: 6px;
padding-top: 6px;
}
.resource-insights {
border-top: 0;
border-bottom: 0;
border: 1px solid var(--color-border);
border-radius: var(--radius-panel);
background: var(--color-surface);
box-shadow: var(--shadow-panel);
padding: 0 20px;
margin: 18px 0;
}
.insights-toggle {
min-height: 52px;
display: inline-flex;
align-items: center;
gap: 9px;
border: 0;
background: transparent;
color: var(--color-text);
cursor: pointer;
font-size: 13px;
font-weight: 600;
}
.insights-body {
display: grid;
gap: 18px;
padding: 4px 0 20px;
}
.insights-controls {
display: flex;
flex-wrap: wrap;
gap: 14px;
padding: 16px;
background: var(--color-surface-soft);
border-radius: 10px;
}
.insights-controls label {
display: grid;
gap: 4px;
color: var(--color-muted);
font-size: 11px;
font-weight: 600;
}
.insights-controls select {
min-width: 170px;
height: 36px;
border: 1px solid var(--color-border-strong);
border-radius: var(--radius-control);
background: white;
padding: 0 9px;
}
.insight-value {
display: flex;
align-items: baseline;
gap: 8px;
}
.insight-value span {
color: var(--color-muted);
font-size: 12px;
}
.insight-value strong {
color: var(--color-accent);
font-size: 24px;
}
.insights-chart {
width: min(920px, 100%);
min-width: 0;
color: var(--color-muted);
}
.insights-chart-donut {
width: min(640px, 100%);
}
.insights-chart .recharts-cartesian-axis-tick-value {
fill: var(--color-muted);
}
.insights-chart .recharts-cartesian-grid line {
stroke: var(--color-border);
}
.insights-table {
max-width: 720px;
}
.list-controls {
min-height: 48px;
display: flex;
flex-wrap: wrap;
align-items: flex-end;
gap: 16px;
margin-bottom: 0;
padding: 20px;
flex-basis: 100%;
border-bottom: 1px solid var(--color-border);
}
.search-control {
height: 40px;
width: min(300px, 100%);
display: flex;
align-items: center;
gap: 10px;
background: white;
border: 1px solid var(--color-border-strong);
border-radius: var(--radius-control);
padding: 0 12px;
color: var(--color-muted);
}
.search-control:focus-within {
border-color: var(--color-accent);
box-shadow: var(--focus-ring);
}
.search-control input {
min-width: 0;
flex: 1;
border: 0;
outline: 0;
background: transparent;
height: 100%;
font-size: 13px;
}
.filter-control {
display: grid;
gap: 6px;
color: var(--color-muted);
font-size: 12px;
font-weight: 500;
}
.filter-control select,
.filter-control input {
height: 40px;
min-width: 140px;
border: 1px solid var(--color-border-strong);
border-radius: var(--radius-control);
background: white;
padding: 0 9px;
font-size: 13px;
font-weight: 400;
}
.range-filter {
display: flex;
gap: 6px;
}
.range-filter input {
width: 145px;
min-width: 0;
}
.primary-button,
.secondary-button,
.danger-button,
.icon-button {
min-height: 40px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
border: 1px solid transparent;
border-radius: var(--radius-control);
cursor: pointer;
text-decoration: none;
font-weight: 550;
font-size: 13px;
transition:
background 140ms ease,
border-color 140ms ease,
box-shadow 140ms ease;
white-space: nowrap;
}
.primary-button {
background: var(--color-accent);
color: white;
padding: 0 16px;
box-shadow: 0 2px 4px rgb(24 118 83 / 12%);
}
.primary-button:hover {
background: var(--color-accent-hover);
}
.danger-button {
background: var(--color-danger);
color: white;
padding: 0 13px;
}
.danger-button:hover {
background: var(--color-danger-hover);
}
.primary-button:disabled,
.secondary-button:disabled,
.danger-button:disabled,
.icon-button:disabled {
opacity: 0.55;
cursor: not-allowed;
}
.secondary-button {
background: white;
color: var(--color-text);
border-color: var(--color-border);
padding: 0 14px;
}
.icon-button {
width: 36px;
background: white;
color: var(--color-muted);
border-color: var(--color-border);
padding: 0;
}
.icon-button:hover {
background: var(--color-surface-soft);
}
.icon-button:disabled {
opacity: 0.4;
cursor: default;
}
.icon-button.danger {
color: var(--color-danger);
}
.table-frame,
.form-frame {
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius-panel);
overflow: hidden;
box-shadow: var(--shadow-panel);
padding: 28px;
}
.table-frame {
position: relative;
}
.table-frame table {
width: 100%;
border-collapse: collapse;
table-layout: fixed;
}
.table-frame th,
.table-frame td {
height: 56px;
padding: 0 18px;
text-align: left;
border-bottom: 1px solid var(--color-border);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: 13px;
}
.table-frame th {
background: var(--color-surface-soft);
color: var(--color-muted);
font-weight: 600;
font-size: 12px;
letter-spacing: 0.015em;
height: 48px;
}
.table-frame .selection-cell {
width: 48px;
padding: 0 10px;
text-align: center;
text-overflow: clip;
}
.selection-cell input {
width: 16px;
height: 16px;
margin: 0;
vertical-align: middle;
}
.sort-button {
width: 100%;
height: 46px;
display: flex;
align-items: center;
gap: 5px;
border: 0;
background: transparent;
color: inherit;
cursor: pointer;
font-weight: 600;
padding: 0;
}
.table-frame th:last-child,
.table-frame td:last-child {
width: 120px;
}
.table-frame tr:last-child td {
border-bottom: 0;
}
.row-actions {
justify-content: flex-end;
}
.row-actions .icon-button {
width: 32px;
min-height: 32px;
background: transparent;
border-color: transparent;
}
.empty {
height: 180px;
color: var(--color-muted);
text-align: center;
}
.async-state {
min-height: 44px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
color: var(--color-muted);
font-size: 13px;
}
.async-state-loading,
.async-state-empty {
justify-content: center;
}
.async-state-error {
padding: 11px 13px;
border: 1px solid #efc5c2;
border-radius: var(--radius-control);
background: var(--color-danger-soft);
color: var(--color-danger);
}
.empty .async-state {
min-height: 180px;
flex-direction: column;
justify-content: center;
gap: 12px;
}
.pagination {
min-height: 68px;
display: flex;
align-items: center;
justify-content: flex-end;
gap: 18px;
color: var(--color-muted);
font-size: 12px;
}
.pagination > div {
display: flex;
gap: 6px;
}
.alert {
padding: 11px 13px;
background: var(--color-danger-soft);
color: var(--color-danger);
border: 1px solid #efc5c2;
border-radius: var(--radius-control);
margin-bottom: 16px;
font-size: 13px;
}
.form-page {
max-width: 980px;
}
.back-link {
display: inline-flex;
gap: 6px;
align-items: center;
color: var(--color-muted);
text-decoration: none;
font-size: 13px;
margin-bottom: 9px;
}
.form-frame {
padding: 24px;
}
.form-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 24px;
}
.field {
display: grid;
gap: 7px;
min-width: 0;
}
.field label,
.checkbox-field {
font-size: 13px;
font-weight: 600;
color: var(--color-text);
}
.field input,
.field select,
.field textarea {
width: 100%;
min-height: 44px;
border: 1px solid var(--color-border-strong);
border-radius: var(--radius-control);
background: white;
padding: 10px 12px;
outline: none;
transition:
border-color 140ms ease,
box-shadow 140ms ease;
}
.field textarea {
resize: vertical;
}
.money-control {
display: grid;
grid-template-columns: minmax(88px, 0.35fr) minmax(0, 1fr);
gap: 8px;
}
.money-control input {
text-align: right;
font-variant-numeric: tabular-nums;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
border-color: var(--color-accent);
box-shadow: var(--focus-ring);
}
.field [aria-invalid="true"] {
border-color: var(--color-danger);
}
.field-error {
display: block;
color: var(--color-danger);
font-size: 12px;
}
.checkbox-field {
display: flex;
align-items: center;
gap: 8px;
min-height: 40px;
}
.form-actions {
justify-content: flex-end;
border-top: 1px solid var(--color-border);
margin-top: 24px;
padding-top: 18px;
}
.detail-page {
max-width: 1100px;
}
.detail-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
margin: 0;
border: 1px solid var(--color-border);
border-radius: var(--radius-panel);
background: white;
overflow: hidden;
box-shadow: var(--shadow-panel);
}
.detail-grid > div {
min-width: 0;
min-height: 94px;
padding: 20px 24px;
border-bottom: 1px solid var(--color-border);
}
.detail-grid > div:nth-child(odd) {
border-right: 1px solid var(--color-border);
}
.detail-grid dt {
color: var(--color-muted);
font-size: 12px;
margin-bottom: 7px;
}
.detail-grid dd {
margin: 0;
color: var(--color-text);
overflow-wrap: anywhere;
font-size: 14px;
}
.semantic-value {
display: block;
text-align: right;
white-space: nowrap;
font-variant-numeric: tabular-nums;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.account {
display: flex;
align-items: baseline;
gap: 10px;
min-width: 0;
}
.account > span:first-child {
color: var(--color-text);
font-weight: 600;
overflow: hidden;
text-overflow: ellipsis;
}
.role-label {
color: var(--color-muted);
}
.auth-page {
min-height: 100vh;
display: grid;
place-items: center;
padding: 24px;
background: var(--color-page);
}
.auth-panel {
width: min(440px, 100%);
background: white;
border: 1px solid var(--color-border);
border-radius: 20px;
padding: 40px;
box-shadow: 0 18px 60px rgb(27 47 34 / 8%);
}
.auth-brand {
color: var(--color-accent);
font-size: 15px;
font-weight: 750;
margin-bottom: 28px;
letter-spacing: -0.025em;
}
.auth-panel h1 {
margin-bottom: 24px;
}
.auth-form {
display: grid;
gap: 17px;
}
.auth-form label {
display: grid;
gap: 7px;
color: var(--color-text);
font-size: 13px;
font-weight: 600;
}
.auth-form input {
width: 100%;
height: 46px;
border: 1px solid var(--color-border-strong);
border-radius: var(--radius-control);
padding: 0 12px;
outline: none;
}
.auth-form input:focus {
border-color: var(--color-accent);
box-shadow: 0 0 0 3px var(--color-accent-soft);
}
.auth-form .primary-button {
height: 46px;
margin-top: 3px;
}
.auth-links {
min-height: 22px;
display: flex;
justify-content: space-between;
gap: 14px;
font-size: 13px;
}
.auth-links a {
color: var(--color-accent);
}
.auth-success {
min-height: 84px;
display: flex;
align-items: center;
gap: 10px;
color: var(--color-accent);
}
.auth-loading {
width: 28px;
height: 28px;
position: fixed;
inset: 50% auto auto 50%;
border: 3px solid #ccd7d9;
border-top-color: var(--color-accent);
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
.dialog {
width: min(480px, calc(100% - 32px));
max-width: none;
border: 1px solid var(--color-border);
border-radius: 18px;
padding: 0;
color: var(--color-text);
box-shadow: 0 24px 80px rgb(27 47 34 / 20%);
max-height: calc(100dvh - 48px);
}
.dialog::backdrop {
background: rgb(25 39 30 / 36%);
backdrop-filter: blur(4px);
}
.dialog-panel {
padding: 28px;
}
.dialog-panel h2 {
margin: 0 0 14px;
font-size: 20px;
letter-spacing: -0.025em;
}
.dialog-panel p {
margin: 0;
color: var(--color-muted);
font-size: 14px;
line-height: 1.65;
}
.dialog-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
margin-top: 22px;
}
.dialog-form label {
display: grid;
gap: 7px;
color: var(--color-text);
font-size: 13px;
font-weight: 600;
}
.dialog-form input {
width: 100%;
min-height: 40px;
border: 1px solid var(--color-border-strong);
border-radius: var(--radius-control);
padding: 8px 10px;
}
.workflow-input {
display: grid;
gap: 14px;
}
.workflow-input label:not(.workflow-checkbox) {
display: grid;
gap: 6px;
color: var(--color-muted);
font-size: 12px;
font-weight: 600;
}
.workflow-input select,
.workflow-input textarea {
min-height: 38px;
border: 1px solid var(--color-border-strong);
border-radius: var(--radius-control);
background: white;
padding: 8px 10px;
}
.workflow-input textarea {
min-height: 96px;
resize: vertical;
}
.workflow-checkbox {
display: flex;
align-items: center;
gap: 8px;
color: var(--color-muted);
font-size: 13px;
font-weight: 600;
}
.audit-table th:last-child,
.audit-table td:last-child {
width: auto;
}
.audit-operation {
display: inline-block;
min-width: 58px;
padding: 3px 7px;
border-radius: 6px;
background: #e8edef;
color: var(--color-muted);
text-align: center;
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
}
.audit-operation.create {
background: var(--color-accent-soft);
color: #176451;
}
.audit-operation.delete {
background: #f8e2e0;
color: #973c38;
}
.audit-payload td {
height: auto;
padding: 0 14px 10px;
white-space: normal;
background: var(--color-surface-soft);
}
.audit-payload summary {
cursor: pointer;
color: var(--color-muted);
font-size: 12px;
}
.audit-payload > td > details > summary {
display: flex;
align-items: center;
gap: 8px;
}
.audit-change-count {
color: var(--color-muted);
}
.audit-diff {
width: 100%;
min-width: 560px;
margin-top: 10px;
border: 1px solid var(--color-border);
background: white;
}
.audit-diff th,
.audit-diff td {
width: auto;
height: auto;
padding: 7px 9px;
white-space: normal;
text-align: left;
vertical-align: top;
}
.audit-diff thead th {
background: var(--color-page);
}
.audit-diff tbody th {
width: 22%;
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 11px;
}
.audit-raw {
margin-top: 10px;
}
.audit-json {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
padding-top: 10px;
}
.audit-json section {
min-width: 0;
}
.audit-json h2 {
margin: 0 0 5px;
font-size: 12px;
}
.audit-json pre {
max-height: 260px;
margin: 0;
overflow: auto;
border: 1px solid var(--color-border);
border-radius: var(--radius-control);
background: white;
padding: 10px;
font-size: 11px;
}
.record-history {
margin-top: 22px;
border-top: 1px solid var(--color-border);
padding-top: 18px;
}
.activity-timeline {
margin-top: 22px;
border-top: 1px solid var(--color-border);
padding-top: 18px;
}
.activity-heading {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 12px;
}
.activity-heading h2 {
margin: 0;
font-size: 16px;
}
.activity-composer {
margin-bottom: 16px;
border: 1px solid var(--color-border);
border-radius: var(--radius-panel);
background: white;
}
.activity-composer textarea {
display: block;
width: 100%;
resize: vertical;
border: 0;
border-bottom: 1px solid var(--color-border);
border-radius: 6px 6px 0 0;
padding: 11px 12px;
font: inherit;
}
.activity-composer textarea:focus {
outline: 2px solid #2f6f64;
outline-offset: -2px;
}
.activity-composer-actions {
min-height: 46px;
display: flex;
align-items: center;
justify-content: flex-end;
flex-wrap: wrap;
gap: 10px;
padding: 7px 9px;
color: var(--color-muted);
font-size: 12px;
}
.activity-composer-actions .limit-error {
color: #a23934;
font-weight: 600;
}
.attachment-picker {
max-width: 260px;
display: inline-flex;
align-items: center;
gap: 6px;
cursor: pointer;
color: var(--color-muted);
}
.attachment-picker span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.attachment-picker input {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
}
.activity-list {
position: relative;
margin-left: 8px;
border-left: 1px solid var(--color-border);
}
.activity-entry {
position: relative;
padding: 0 0 18px 22px;
}
.activity-entry:last-child {
padding-bottom: 5px;
}
.activity-entry-marker {
position: absolute;
top: 5px;
left: -5px;
width: 9px;
height: 9px;
border: 2px solid white;
border-radius: 50%;
background: #2f6f64;
box-shadow: 0 0 0 1px #88a19b;
}
.activity-entry.system .activity-entry-marker {
background: #637077;
}
.activity-entry-content {
position: relative;
min-width: 0;
}
.activity-entry-content header {
display: flex;
align-items: baseline;
flex-wrap: wrap;
gap: 8px;
color: var(--color-muted);
font-size: 12px;
}
.activity-entry-content header strong {
color: #334147;
font-weight: 650;
}
.activity-entry-content p {
margin: 6px 0 0;
overflow-wrap: anywhere;
white-space: pre-wrap;
}
.activity-system-event {
color: var(--color-muted);
text-transform: capitalize;
}
.activity-tombstone {
color: var(--color-muted);
font-style: italic;
}
.attachment-download {
max-width: 100%;
display: inline-flex;
align-items: center;
gap: 6px;
margin-top: 8px;
overflow: hidden;
border: 0;
background: transparent;
padding: 0;
color: #176451;
cursor: pointer;
text-overflow: ellipsis;
white-space: nowrap;
}
.activity-entry-actions {
position: absolute;
top: -7px;
right: 0;
display: flex;
gap: 3px;
}
.moderation-form {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 7px;
margin-top: 9px;
}
.moderation-form input {
min-width: min(280px, 100%);
height: 34px;
flex: 1 1 240px;
border: 1px solid var(--color-border-strong);
border-radius: 6px;
padding: 0 8px;
}
.activity-load-more {
margin: 14px 0 0 30px;
}
.record-history-heading {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 12px;
}
.record-history-heading h2 {
margin: 0;
font-size: 16px;
}
.history-list {
display: grid;
border: 1px solid var(--color-border);
border-radius: var(--radius-panel);
background: white;
}
.history-event {
padding: 13px 16px;
border-bottom: 1px solid var(--color-border);
}
.history-event:last-child {
border-bottom: 0;
}
.history-event-header {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 9px;
color: var(--color-muted);
font-size: 12px;
}
.history-event details {
margin-top: 9px;
}
.history-event summary {
cursor: pointer;
color: var(--color-muted);
font-size: 12px;
}
.history-changes {
display: grid;
grid-template-columns: minmax(100px, 0.5fr) 1fr 1fr;
margin: 9px 0 0;
border: 1px solid var(--color-border);
}
.history-changes dt,
.history-changes dd {
min-width: 0;
margin: 0;
padding: 7px 9px;
border-bottom: 1px solid var(--color-border);
overflow-wrap: anywhere;
font-size: 12px;
}
.history-changes dt {
font-weight: 600;
}
.inline-value {
min-width: 110px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 6px;
}
.inline-edit-button {
width: 26px;
height: 26px;
flex: 0 0 26px;
display: inline-flex;
align-items: center;
justify-content: center;
border: 0;
border-radius: 6px;
background: transparent;
color: var(--color-muted);
cursor: pointer;
}
.inline-edit-button:hover {
background: #e8edef;
color: #26343a;
}
.inline-edit-button:disabled {
cursor: not-allowed;
opacity: 0.45;
}
.inline-editor {
min-width: 180px;
display: flex;
align-items: center;
gap: 3px;
}
.inline-editor > input:not([type="checkbox"]),
.inline-editor > select {
width: 120px;
height: 32px;
min-height: 32px;
border: 1px solid var(--color-border-strong);
border-radius: 6px;
padding: 0 6px;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
.advanced-filters {
flex-basis: 100%;
padding: 12px 14px;
border: 1px solid var(--color-border);
border-radius: 10px;
background: var(--color-surface-soft);
font-size: 12px;
}
.advanced-filters summary {
cursor: pointer;
font-weight: 600;
}
.advanced-filter-row,
.advanced-filter-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.5rem;
margin-top: 0.75rem;
}
.advanced-filter-row input,
.advanced-filter-row select {
min-width: 8rem;
flex: 1;
}
.facet-counts {
flex-basis: 100%;
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
color: var(--color-muted);
font-size: 0.875rem;
}
.import-mapping {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 12px;
margin: 16px 0;
}
.import-mapping label {
display: grid;
gap: 6px;
color: var(--color-muted);
font-size: 12px;
font-weight: 550;
}
.import-preview {
max-height: 45vh;
overflow: auto;
}
.import-preview input {
min-width: 140px;
width: 100%;
max-width: none;
min-height: 34px;
}
.filter-group {
border: 1px solid var(--color-border);
border-radius: 10px;
padding: 16px;
margin: 12px 0;
min-width: 0;
background: var(--color-surface);
}
.filter-node {
display: flex;
align-items: start;
gap: 8px;
margin-top: 10px;
}
.filter-node > .filter-group,
.filter-node > .advanced-filter-row {
flex: 1;
min-width: 0;
}
.filter-summary,
.report-help {
color: var(--color-muted);
font-size: 13px;
overflow-wrap: anywhere;
}
.facet-group {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 6px;
}
.facet-bucket {
border: 1px solid var(--color-border-strong);
background: var(--color-surface);
border-radius: 20px;
padding: 5px 10px;
color: var(--color-muted);
font-size: 12px;
cursor: pointer;
transition:
background 140ms ease,
border-color 140ms ease;
}
.facet-bucket[aria-pressed="true"] {
background: var(--color-accent-soft);
border-color: var(--color-accent);
color: var(--color-accent);
}
.bulk-value {
border: 0;
margin: 0;
padding: 0;
min-width: 0;
}
.bulk-patch {
display: grid;
gap: 8px;
overflow-wrap: anywhere;
}
.bulk-patch > div {
display: grid;
grid-template-columns: minmax(100px, 0.4fr) 1fr;
gap: 12px;
}
.bulk-patch dd {
margin: 0;
}
::selection {
background: var(--color-accent-soft);
color: var(--color-accent-hover);
}
a {
color: var(--color-accent);
text-underline-offset: 3px;
}
:where(input:not([type="checkbox"], [type="radio"]), select, textarea) {
min-width: 0;
min-height: 40px;
border: 1px solid var(--color-border-strong);
border-radius: var(--radius-control);
padding: 8px 10px;
background: var(--color-surface);
color: var(--color-text);
font-size: 13px;
}
:where(input, textarea)::placeholder {
color: var(--color-muted);
opacity: 0.8;
}
:where(input[type="checkbox"], input[type="radio"]) {
accent-color: var(--color-accent);
cursor: pointer;
}
:where(input, select, textarea):disabled {
background: var(--color-surface-soft);
cursor: not-allowed;
}
.brand-mark {
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 36px;
height: 36px;
border-radius: 11px;
background: var(--color-accent);
color: white;
}
.brand > span:last-child {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.nav-heading {
margin-top: 16px;
padding: 6px 12px;
font-size: 10px;
font-weight: 650;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--color-muted);
}
.nav-heading:first-child {
margin-top: 0;
}
.sidebar nav a svg {
flex: 0 0 auto;
stroke-width: 1.7;
}
.sidebar nav a span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.sidebar nav a.active {
font-weight: 650;
box-shadow: inset 3px 0 0 var(--color-accent);
}
.sidebar-account .account {
flex: 1;
flex-direction: column;
align-items: flex-start;
gap: 3px;
overflow: hidden;
}
.sidebar-account .account > span {
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.account-avatar {
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 32px;
height: 32px;
border: 1px solid var(--color-border);
border-radius: 10px;
background: var(--color-surface-soft);
color: var(--color-accent);
font-weight: 650;
}
.workspace-breadcrumb {
min-width: 0;
display: flex;
align-items: center;
gap: 12px;
white-space: nowrap;
}
.workspace-breadcrumb strong {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
color: var(--color-text);
font-weight: 550;
}
.workspace-breadcrumb svg {
flex: 0 0 auto;
color: var(--color-border-strong);
}
.workspace-role {
max-width: 35%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
border: 1px solid var(--color-border);
border-radius: 20px;
padding: 4px 10px;
font-size: 11px;
}
.resource-controls {
display: flex;
flex-wrap: wrap;
align-items: center;
min-width: 0;
border: 1px solid var(--color-border);
border-radius: var(--radius-panel);
background: var(--color-surface);
box-shadow: var(--shadow-panel);
margin-bottom: 18px;
}
.view-toolbar > svg {
flex: 0 0 auto;
color: var(--color-muted);
}
.view-toolbar > input {
width: 160px;
flex: 1 1 140px;
max-width: 200px;
}
.view-toolbar > select {
max-width: 220px;
}
.secondary-button:hover:not(:disabled) {
background: var(--color-surface-soft);
border-color: var(--color-border-strong);
}
.row-actions .icon-button:hover:not(:disabled) {
background: var(--color-accent-soft);
color: var(--color-accent);
}
.row-actions .icon-button.danger:hover:not(:disabled) {
background: var(--color-danger-soft);
color: var(--color-danger);
}
.table-frame tbody tr:hover td {
background: var(--color-surface-soft);
}
.table-frame tbody tr[data-selected="true"] td {
background: var(--color-accent-soft);
}
.value-pill {
display: inline-flex;
align-items: center;
gap: 6px;
max-width: 100%;
padding: 3px 9px;
border-radius: 6px;
background: #eef3ed;
color: #50684f;
font-size: 12px;
font-weight: 550;
line-height: 1.5;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.value-pill[data-value="true"] {
background: var(--color-accent-soft);
color: var(--color-accent-hover);
}
.value-pill[data-value="false"] {
background: var(--color-surface-soft);
color: var(--color-muted);
}
.value-pill[data-value="true"]::before,
.value-pill[data-value="false"]::before {
content: "";
flex: 0 0 5px;
height: 5px;
border-radius: 50%;
background: currentColor;
}
.filter-group > label {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 8px;
color: var(--color-muted);
font-size: 12px;
}
.filter-group legend {
padding: 0 6px;
color: var(--color-accent);
font-size: 11px;
font-weight: 600;
}
.filter-node > .secondary-button {
min-height: 32px;
margin-top: 12px;
font-size: 11px;
}
.facet-bucket:hover {
border-color: var(--color-accent);
color: var(--color-accent);
}
.import-preview table {
min-width: 620px;
table-layout: auto;
}
.import-preview th {
position: sticky;
top: 0;
z-index: 1;
}
.import-preview th:last-child,
.import-preview td:last-child {
min-width: 200px;
width: 240px;
white-space: normal;
padding: 10px 14px;
}
.dialog:has(.table-frame) {
width: min(960px, calc(100vw - 32px));
}
.dialog:has(.import-preview) {
width: min(1100px, calc(100vw - 32px));
}
.dialog .table-frame th:last-child,
.dialog .table-frame td:last-child {
width: auto;
height: auto;
padding: 12px 14px;
white-space: normal;
overflow-wrap: anywhere;
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
@media (max-width: 760px) {
.report-create-grid {
grid-template-columns: 1fr;
}
.shell {
display: block;
}
.sidebar {
position: static;
height: auto;
padding: 14px;
border-right: 0;
border-bottom: 1px solid var(--color-border);
}
.brand {
height: 38px;
}
.sidebar nav {
display: flex;
overflow-x: auto;
margin-top: 14px;
padding-bottom: 4px;
}
.nav-heading {
display: none;
}
.tenant-switcher {
margin: 14px 6px 0;
}
.sidebar nav a {
flex: 0 0 auto;
}
.topbar {
display: none;
}
.sidebar-account {
display: flex;
}
.page {
padding: 24px 16px;
}
.page-heading {
align-items: center;
flex-wrap: wrap;
}
.toolbar,
.detail-actions,
.form-actions {
flex-wrap: wrap;
}
.list-controls {
align-items: stretch;
flex-direction: column;
padding: 16px;
gap: 14px;
}
.view-toolbar {
flex-basis: 100%;
padding: 16px;
}
.view-options {
flex-basis: 100%;
justify-content: space-between;
border-top: 1px solid var(--color-border);
min-height: 64px;
padding: 12px 16px;
}
.form-frame,
.dialog-panel {
padding: 20px;
}
.auth-panel {
padding: 28px;
}
.resource-insights {
padding: 0 16px;
}
.insights-controls {
display: grid;
}
.insights-controls select {
width: 100%;
}
.search-control,
.storage-search,
.filter-control select,
.filter-control > input {
width: 100%;
}
.storage-search input {
min-width: 0;
width: 100%;
}
.range-filter input {
flex: 1 1 0;
width: auto;
}
.form-grid,
.detail-grid,
.storage-detail-grid,
.admin-grid {
grid-template-columns: 1fr;
}
.storage-detail-grid > div.wide {
grid-column: auto;
}
.detail-grid > div:nth-child(odd) {
border-right: 0;
}
.table-frame {
overflow-x: auto;
}
.table-frame table {
min-width: 680px;
}
}
@media (max-width: 700px) {
.filter-node,
.advanced-filter-row {
flex-wrap: wrap;
}
.advanced-filter-row > input,
.advanced-filter-row > select {
max-width: 100%;
}
.filter-node > .filter-group {
flex-basis: 100%;
}
.filter-group .filter-group {
padding: 10px 0 10px 10px;
border-width: 0 0 0 2px;
border-radius: 0;
}
}
:root[data-theme="dark"] {
color-scheme: dark;
--color-text: #e1e9e3;
--color-muted: #a1b1a6;
--color-surface: #1c2821;
--color-surface-soft: #243229;
--color-page: #141e18;
--color-border: #37483d;
--color-border-strong: #536b5c;
--color-accent: #65c99b;
--color-accent-hover: #82dbb1;
--color-accent-soft: #244837;
--color-danger: #f08d82;
--color-danger-hover: #ffa99f;
--color-danger-soft: #482b28;
}
.brand-mark img {
width: 100%;
height: 100%;
object-fit: contain;
}
.conflict-comparison td {
white-space: pre-wrap;
overflow-wrap: anywhere;
max-width: 24rem;
}