html,
body,
#app {
    width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0;
    overflow: hidden;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.pt-scroll-thin,
.pt-tree,
.pt-grid-scroll,
.pt-grid-column-menu,
.pt-window-body,
.pt-panel-body.pt-form-panel-body,
.pt-status-dashboard-treemap,
.pt-status-dashboard-svg-wrap {
    scrollbar-width: thin;
    scrollbar-color: var(--pt-scrollbar-thumb, #888888) var(--pt-scrollbar-track, #f1f1f1);
}

.pt-scroll-thin::-webkit-scrollbar,
.pt-tree::-webkit-scrollbar,
.pt-grid-scroll::-webkit-scrollbar,
.pt-grid-column-menu::-webkit-scrollbar,
.pt-window-body::-webkit-scrollbar,
.pt-panel-body.pt-form-panel-body::-webkit-scrollbar,
.pt-status-dashboard-treemap::-webkit-scrollbar,
.pt-status-dashboard-svg-wrap::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.pt-scroll-thin::-webkit-scrollbar-track,
.pt-tree::-webkit-scrollbar-track,
.pt-grid-scroll::-webkit-scrollbar-track,
.pt-grid-column-menu::-webkit-scrollbar-track,
.pt-window-body::-webkit-scrollbar-track,
.pt-panel-body.pt-form-panel-body::-webkit-scrollbar-track,
.pt-status-dashboard-treemap::-webkit-scrollbar-track,
.pt-status-dashboard-svg-wrap::-webkit-scrollbar-track {
    background: var(--pt-scrollbar-track, #f1f1f1);
    border-radius: 10px;
}

.pt-scroll-thin::-webkit-scrollbar-thumb,
.pt-tree::-webkit-scrollbar-thumb,
.pt-grid-scroll::-webkit-scrollbar-thumb,
.pt-grid-column-menu::-webkit-scrollbar-thumb,
.pt-window-body::-webkit-scrollbar-thumb,
.pt-panel-body.pt-form-panel-body::-webkit-scrollbar-thumb,
.pt-status-dashboard-treemap::-webkit-scrollbar-thumb,
.pt-status-dashboard-svg-wrap::-webkit-scrollbar-thumb {
    background: var(--pt-scrollbar-thumb, #888888);
    border-radius: 10px;
}

.pt-scroll-thin::-webkit-scrollbar-thumb:hover,
.pt-tree::-webkit-scrollbar-thumb:hover,
.pt-grid-scroll::-webkit-scrollbar-thumb:hover,
.pt-grid-column-menu::-webkit-scrollbar-thumb:hover,
.pt-window-body::-webkit-scrollbar-thumb:hover,
.pt-panel-body.pt-form-panel-body::-webkit-scrollbar-thumb:hover,
.pt-status-dashboard-treemap::-webkit-scrollbar-thumb:hover,
.pt-status-dashboard-svg-wrap::-webkit-scrollbar-thumb:hover {
    background: var(--pt-scrollbar-thumb-hover, #555555);
}

.pt-tab-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--pt-scrollbar-thumb, #888888) var(--pt-scrollbar-track, #f1f1f1);
}

.pt-tab-list::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.pt-tab-list::-webkit-scrollbar-track {
    background: var(--pt-scrollbar-track, #f1f1f1);
    border-radius: 10px;
}

.pt-tab-list::-webkit-scrollbar-thumb {
    background: var(--pt-scrollbar-thumb, #888888);
    border-radius: 10px;
}

.pt-tab-list::-webkit-scrollbar-thumb:hover {
    background: var(--pt-scrollbar-thumb-hover, #555555);
}

.pt-tab-button.is-icon-only {
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
}

.pt-tab-button.is-icon-only .pt-tab-title {
    min-width: 0;
}

.pt-tab-button.is-icon-only .pt-tab-title-text {
    display: none;
}

.pt-design-tools-tabs .pt-tab-button.is-icon-only {
    min-width: 36px;
}

.pt-design-tools-tabs .pt-tab-icon {
    width: 16px;
    height: 16px;
}

.pt-workflow-shell-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.pt-workflow-shell-header-scroll {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 8px;
    box-sizing: border-box;
    background: var(--pt-window-surface);
    border-bottom: 1px solid var(--pt-panel-toolbar-border);
    -webkit-overflow-scrolling: touch;
}

.pt-workflow-shell-toolbar .pt-toolbar-spacer {
    flex: 1 1 auto;
    min-width: 12px;
}

.pt-workflow-shell-toolbar.is-mobile-shell {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px;
    min-width: max-content;
    padding-right: 2px;
}

.pt-workflow-shell-toolbar.is-mobile-shell > * {
    flex: 0 0 auto;
}

.pt-workflow-theme-picker {
    min-width: 152px;
}

.pt-workflow-theme-picker-select {
    min-width: 152px;
}

.pt-workflow-theme-picker.is-compact {
    min-width: 0;
    width: 108px;
    margin-bottom: 0;
}

.pt-workflow-theme-picker-select.is-compact {
    width: 96px;
    min-width: 96px;
    padding-right: 24px;
}

.pt-app-header {
    height: 100%;
    padding: 0 14px;
    box-sizing: border-box;
    background: var(--pt-window-surface);
    border-bottom: 1px solid var(--pt-panel-toolbar-border);
    color: var(--pt-window-body-ink);
}

.pt-app-title {
    font-size: 18px;
    font-weight: 700;
}

.pt-app-subtitle,
.pt-app-user,
.pt-app-footer,
.pt-workspace-status,
.pt-order-summary {
    color: var(--pt-grid-muted, #64748b);
    font-size: 12px;
}

.pt-app-nav {
    height: 100%;
    min-height: 0;
    background: var(--pt-panel-toolbar-bg);
    border-right: 1px solid var(--pt-panel-toolbar-border);
}

.pt-nav-button {
    justify-content: flex-start;
    width: 100%;
}

.pt-app-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    padding: 0 12px;
    box-sizing: border-box;
    background: var(--pt-panel-toolbar-bg);
    border-top: 1px solid var(--pt-panel-toolbar-border);
}

.pt-switchable-content > .pt-panel,
.pt-switchable-content > div {
    height: 100%;
}

.pt-theme-picker {
    min-width: 128px;
}

.pt-grid-cell.pt-orders-order-cell.is-legacy {
    color: var(--pt-grid-muted, #64748b);
}

.pt-image-viewer {
    height: 100%;
    min-height: 0;
}

.pt-image-viewer-heading {
    flex: 0 0 auto;
    padding: 10px 12px;
    border-bottom: 1px solid var(--pt-panel-toolbar-border);
    background: var(--pt-panel-toolbar-bg);
    box-sizing: border-box;
}

.pt-image-viewer-heading-item {
    color: var(--pt-copy-strong, #30557f);
    font-weight: 700;
    font-size: 12px;
}

.pt-image-viewer-stage {
    flex: 1 1 auto;
    padding: 12px;
    background: var(--pt-window-surface);
    box-sizing: border-box;
}

.pt-image-viewer-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.16);
}

.pt-image-toolbox {
    height: 100%;
    box-sizing: border-box;
}

.pt-image-toolbox-section {
    color: var(--pt-copy-section, #294867);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 6px;
    text-transform: uppercase;
}

.pt-image-toolbox-section:first-child {
    margin-top: 0;
}

button.pt-image-toolbox-button {
    justify-content: flex-start;
    width: 100%;
    min-height: 28px;
    padding-left: 8px;
    padding-right: 8px;
    box-sizing: border-box;
}

.pt-image-toolbox-button .pt-button-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pt-orders-mobile-list {
    display: none;
}

.pt-orders-grid-host {
    min-height: 0;
    flex: 1 1 auto;
}

.pt-orders-mobile-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--pt-panel-toolbar-border, var(--pt-panel-border));
    border-radius: 12px;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 28%),
        linear-gradient(180deg, color-mix(in srgb, var(--pt-panel-bg, #fff) 88%, white 12%), color-mix(in srgb, var(--pt-panel-bg, #fff) 96%, black 4%));
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
    color: var(--pt-window-body-ink, inherit);
}

.pt-orders-mobile-card.is-legacy .pt-orders-mobile-order-number {
    color: var(--pt-grid-muted, #64748b);
}

.pt-orders-mobile-card-header,
.pt-orders-mobile-card-footer,
.pt-orders-mobile-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pt-orders-mobile-card-header,
.pt-orders-mobile-card-footer {
    justify-content: space-between;
}

.pt-orders-mobile-order-block {
    min-width: 0;
    flex: 1 1 auto;
}

.pt-orders-mobile-order-number {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--pt-copy-section, inherit);
}

.pt-orders-mobile-order-meta,
.pt-orders-mobile-timestamps,
.pt-orders-mobile-metric-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--pt-copy-status, #64748b);
}

.pt-orders-mobile-status-chip {
    flex: 0 0 auto;
    max-width: 42%;
    padding: 6px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--pt-button-primary-bg, #204d86) 18%, transparent);
    border: 1px solid color-mix(in srgb, var(--pt-button-primary-bg, #204d86) 30%, transparent);
    color: var(--pt-copy-section, inherit);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.pt-orders-mobile-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

.pt-orders-mobile-item-section {
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
}

.pt-orders-mobile-item-section + .pt-orders-mobile-item-section {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid color-mix(in srgb, var(--pt-panel-toolbar-border, #c8d8ee) 80%, transparent);
}

.pt-orders-mobile-order-status {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pt-orders-mobile-order-status-value {
    padding: 6px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--pt-button-primary-bg, #204d86) 15%, transparent);
    color: var(--pt-copy-section, inherit);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.pt-orders-mobile-order-status-value.is-secondary {
    background: color-mix(in srgb, var(--pt-panel-toolbar-border, #c8d8ee) 45%, transparent);
}

.pt-orders-mobile-item-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--pt-copy-section, inherit);
}

.pt-orders-mobile-item-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 10px;
}

.pt-orders-mobile-item-colors,
.pt-orders-mobile-item-finish {
    min-width: 0;
    font-size: 13px;
    line-height: 1.35;
    color: var(--pt-copy-section, inherit);
}

.pt-orders-mobile-item-colors {
    flex: 1 1 auto;
}

.pt-orders-mobile-item-finish {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    justify-content: flex-end;
    text-align: right;
    white-space: nowrap;
}

.pt-orders-mobile-item-assets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.pt-orders-mobile-asset-preview {
    width: 100px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
    background: color-mix(in srgb, var(--pt-panel-body-bg, #fff) 90%, transparent);
    border: 1px solid color-mix(in srgb, var(--pt-panel-toolbar-border, #c8d8ee) 55%, transparent);
}

.pt-orders-mobile-actions {
    justify-content: flex-end;
}

.pt-orders-mobile-actions .pt-button {
    min-width: 92px;
}

.pt-orders-grid-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.pt-orders-grid-actions .pt-button {
    min-width: 0;
    padding-inline: 10px;
}

.pt-orders-mobile-empty {
    padding: 24px 14px;
    border: 1px dashed var(--pt-panel-toolbar-border, var(--pt-panel-border));
    border-radius: 12px;
    text-align: center;
    color: var(--pt-copy-status, #64748b);
    background: color-mix(in srgb, var(--pt-panel-bg, #fff) 92%, transparent);
}

.order-workspace-mobile-center {
    color: var(--pt-window-body-ink, inherit);
}

.pt-order-mobile-card {
    border: 1px solid var(--pt-panel-toolbar-border, var(--pt-panel-border));
    border-radius: 12px;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 28%),
        linear-gradient(180deg, color-mix(in srgb, var(--pt-panel-bg, #fff) 88%, white 12%), color-mix(in srgb, var(--pt-panel-bg, #fff) 96%, black 4%));
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
    color: var(--pt-window-body-ink, inherit);
}

.order-workspace-mobile-center .pt-order-mobile-eyebrow,
.order-workspace-mobile-center .pt-order-mobile-meta {
    color: var(--pt-copy-status, #64748b);
}

.order-workspace-mobile-center .pt-order-mobile-section-title,
.order-workspace-mobile-center .pt-order-mobile-headline,
.order-workspace-mobile-center .pt-order-mobile-item-title,
.order-workspace-mobile-center .pt-order-mobile-item-price {
    color: var(--pt-copy-section, inherit);
}

.order-workspace-mobile-center .pt-order-mobile-body {
    color: var(--pt-window-body-ink, inherit);
}

.pt-order-mobile-info-block {
    background: color-mix(in srgb, var(--pt-button-primary-bg, #204d86) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--pt-button-primary-bg, #204d86) 24%, transparent);
}

.pt-order-mobile-item-section {
    padding: 0;
    border-radius: 10px;
    transition: background-color 120ms ease, box-shadow 120ms ease;
}

.pt-order-mobile-item-section.is-selected {
    padding: 8px;
    background: color-mix(in srgb, var(--pt-button-primary-bg, #204d86) 12%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pt-button-primary-bg, #204d86) 24%, transparent);
}

.pt-order-mobile-divider {
    background: color-mix(in srgb, var(--pt-panel-toolbar-border, #c8d8ee) 80%, transparent);
}

.pt-order-mobile-empty {
    padding: 18px 14px;
    border: 1px dashed var(--pt-panel-toolbar-border, var(--pt-panel-border));
    border-radius: 12px;
    text-align: center;
    color: var(--pt-copy-status, #64748b);
    background: color-mix(in srgb, var(--pt-panel-bg, #fff) 92%, transparent);
}

.orders-workspace.is-mobile-preferred .pt-orders-grid-host,
.orders-workspace.is-mobile-preferred .pt-orders-desktop-action {
    display: none !important;
}

.orders-workspace.is-mobile-preferred .pt-orders-mobile-list {
    display: flex !important;
}

@media (max-width: 560px) {
    .pt-orders-mobile-card-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .pt-orders-mobile-item-details {
        flex-wrap: wrap;
    }

    .pt-orders-mobile-actions {
        justify-content: stretch;
    }

    .pt-orders-mobile-actions .pt-button {
        flex: 1 1 0;
        min-width: 0;
    }
}

h1:focus {
    outline: none;
}

a {
    color: #0071c1;
}
a:focus {
    outline: 2px solid #258cfb;
    outline-offset: 2px;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

.pt-loading-overlay {
    position: absolute;
    inset: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: progress;
    background: var(--pt-loading-overlay-bg, rgba(221, 232, 247, 0.82));
    backdrop-filter: blur(1px);
}

.pt-loading-overlay.is-processing {
    background: var(--pt-loading-overlay-processing-bg, rgba(221, 232, 247, 0.42));
    backdrop-filter: blur(0.5px);
}

.pt-sample-record-workspace.is-processing,
.pt-sample-record-workspace.is-processing * {
    cursor: progress !important;
}

.pt-loading-spinner {
    width: 34px;
    height: 34px;
    border: 4px solid var(--pt-loading-spinner-track, rgba(32, 77, 134, 0.18));
    border-top-color: var(--pt-loading-spinner-head, #204d86);
    border-radius: 50%;
    animation: pt-loading-spin 0.9s linear infinite;
}

.pt-loading-spinner.is-processing {
    width: 24px;
    height: 24px;
    border-width: 3px;
    border-color: var(--pt-loading-spinner-processing-track, rgba(32, 77, 134, 0.12));
    border-top-color: var(--pt-loading-spinner-processing-head, rgba(32, 77, 134, 0.7));
    animation-duration: 1.2s;
}

.pt-loading-message {
    font-size: 13px;
    font-weight: 700;
    color: var(--pt-loading-message-ink, #204d86);
    letter-spacing: 0.01em;
}

.pt-loading-message.is-processing {
    font-size: 12px;
    font-weight: 600;
    color: var(--pt-loading-message-processing-ink, rgba(32, 77, 134, 0.9));
}

.pt-workspace-south-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 8px 18px;
    background: var(--pt-panel-footer-bg, linear-gradient(180deg, #e3edf9 0%, #d4e2f3 100%));
    border-top: 1px solid var(--pt-panel-footer-border, #c8d8ee);
}

.pt-workspace-south-spacer {
    flex: 1 1 auto;
    min-width: 12px;
}

.pt-workspace-south-logo {
    display: block;
    max-height: 30px;
    width: auto;
    object-fit: contain;
    flex: 0 0 auto;
}

.pt-workspace-south-logo.is-left {
    max-width: 160px;
}

.pt-workspace-south-logo.is-right {
    max-width: 130px;
}

.pt-status-dashboard {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    height: 100%;
    overflow: auto;
    padding: 10px;
    box-sizing: border-box;
    color: var(--pt-grid-body-ink, inherit);
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
}

.pt-status-dashboard.is-empty {
    overflow: hidden;
}

.pt-status-dashboard-banner {
    font-size: 12px;
    color: var(--pt-copy-status, inherit);
}

.pt-status-dashboard-group-start {
    margin-left: 14px;
}

.pt-status-dashboard-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}

.pt-status-dashboard-card,
.pt-status-dashboard-section {
    border: 1px solid var(--pt-panel-toolbar-border, var(--pt-panel-border));
    background: color-mix(in srgb, var(--pt-panel-bg, #fff) 85%, white 15%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    border-radius: 4px;
}

.pt-status-dashboard-card {
    padding: 12px 14px;
}

.pt-status-dashboard-card-value {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.05;
    color: var(--pt-copy-section, inherit);
}

.pt-status-dashboard-card-label {
    margin-top: 6px;
    font-size: 12px;
    color: var(--pt-copy-status, inherit);
}

.pt-status-dashboard-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    flex: 1 1 auto;
}

.pt-status-dashboard-section {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    padding: 12px;
}

.pt-status-dashboard-section.is-treemap {
    min-height: 440px;
}

.pt-status-dashboard-section-header {
    font-size: 14px;
    font-weight: 700;
    color: var(--pt-copy-section, inherit);
}

.pt-status-dashboard-section-subtitle {
    margin-top: 4px;
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--pt-copy-status, inherit);
}

.pt-status-dashboard-treemap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30px, 1fr));
    grid-auto-rows: 30px;
    grid-auto-flow: dense;
    gap: 4px;
    min-height: 0;
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
}

.pt-status-dashboard-svg-wrap {
    min-height: 0;
    flex: 1 1 auto;
    overflow: auto;
    border-radius: 4px;
}

.pt-status-dashboard-svg {
    display: block;
    width: 100%;
    min-width: 720px;
    height: auto;
}

.status-dashboard-workspace.is-navigating,
.status-dashboard-workspace.is-navigating * {
    cursor: wait !important;
}

.pt-status-dashboard-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1px;
    min-width: 0;
    min-height: 0;
    padding: 3px;
    border-radius: 3px;
    color: white;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
}

.pt-status-dashboard-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(0,0,0,0.12));
    pointer-events: none;
}

.pt-status-dashboard-tile > * {
    position: relative;
    z-index: 1;
}

.pt-status-dashboard-tile:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 8px 18px rgba(16, 24, 40, 0.22);
    filter: saturate(1.14) brightness(1.1);
}

.pt-status-dashboard-tile:active {
    transform: translateY(0);
}

.pt-status-dashboard-svg-tile {
    cursor: pointer;
}

.pt-status-dashboard-svg-tile .pt-status-dashboard-svg-tile-box,
.pt-status-dashboard-svg-tile .pt-status-dashboard-svg-tile-overlay,
.pt-status-dashboard-svg-tile .pt-status-dashboard-svg-tile-label,
.pt-status-dashboard-svg-tile .pt-status-dashboard-svg-tile-value,
.pt-status-dashboard-svg-tile .pt-status-dashboard-svg-tile-percent {
    transition: transform 120ms ease, filter 120ms ease, opacity 120ms ease;
}

.pt-status-dashboard-svg-tile:hover .pt-status-dashboard-svg-tile-box,
.pt-status-dashboard-svg-tile:hover .pt-status-dashboard-svg-tile-overlay {
    filter: brightness(1.12) saturate(1.14);
}

.pt-status-dashboard-svg-tile:hover .pt-status-dashboard-svg-tile-label,
.pt-status-dashboard-svg-tile:hover .pt-status-dashboard-svg-tile-value,
.pt-status-dashboard-svg-tile:hover .pt-status-dashboard-svg-tile-percent {
    transform: translateY(-1px);
}

.pt-panel.pt-auth-panel {
    width: min(100%, 460px);
    max-width: 460px;
    height: auto;
    min-height: 0;
    flex: 0 0 auto;
    align-self: center;
    border-radius: 12px;
    overflow: hidden;
    background: var(--pt-window-surface);
    border-color: var(--pt-window-border);
    box-shadow: var(--pt-window-shadow);
}

.pt-panel.pt-auth-panel .pt-panel-header {
    flex: 0 0 auto;
    min-height: 48px;
    background: var(--pt-window-header-bg);
    color: var(--pt-window-header-ink);
    border-bottom-color: var(--pt-window-border);
}

.pt-panel-body.pt-form-panel-body.pt-auth-panel-body {
    overflow: visible !important;
    flex: 0 0 auto !important;
    padding: 18px 18px 16px;
    background: var(--pt-window-body-bg, var(--pt-window-surface));
    color: var(--pt-window-body-ink, inherit);
}

.pt-panel-body.pt-form-panel-body.pt-auth-panel-body .pt-text-block {
    line-height: 1.4;
    color: inherit;
}

.pt-panel.pt-auth-panel .pt-panel-title-text,
.pt-panel.pt-auth-panel .pt-panel-title-icon,
.pt-panel-body.pt-form-panel-body.pt-auth-panel-body .pt-field-label {
    color: inherit;
}

.pt-panel-body.pt-form-panel-body.pt-auth-panel-body .pt-field:last-of-type {
    margin-bottom: 14px;
}

.pt-panel-body.pt-form-panel-body.pt-auth-panel-body .pt-button {
    min-width: 108px;
}

.pt-panel-body.pt-form-panel-body.pt-auth-panel-body .pt-button + .pt-button {
    margin-left: 8px;
}

.pt-status-dashboard-tile-body {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4px;
    width: 100%;
    min-width: 0;
}

.pt-status-dashboard-tile-title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.05;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: pre-line;
}

.pt-status-dashboard-tile-metrics {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    text-align: right;
}

.pt-status-dashboard-tile-value {
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.pt-status-dashboard-tile-meta {
    font-size: 9px;
    opacity: 0.94;
    line-height: 1;
}

.pt-status-dashboard-tile.is-compact .pt-status-dashboard-tile-meta {
    display: none;
}

.pt-status-dashboard-tile.is-compact .pt-status-dashboard-tile-body {
    justify-content: center;
}

.pt-status-dashboard-tile.is-compact .pt-status-dashboard-tile-value {
    font-size: 10px;
}

.pt-status-dashboard-tile.is-large {
    justify-content: flex-end;
    align-items: flex-start;
    padding: 8px;
    text-align: left;
}

.pt-status-dashboard-tile.is-mid {
    justify-content: flex-end;
    align-items: flex-start;
    padding: 4px;
    text-align: left;
}

.pt-status-dashboard-tile.is-short {
    padding: 2px 5px;
}

.pt-status-dashboard-tile.is-short .pt-status-dashboard-tile-body {
    align-items: center;
    gap: 6px;
}

.pt-status-dashboard-tile.is-short .pt-status-dashboard-tile-title {
    line-height: 1;
}

.pt-status-dashboard-tile.is-short .pt-status-dashboard-tile-metrics {
    justify-content: center;
}

.pt-status-dashboard-tile.is-short .pt-status-dashboard-tile-value {
    font-size: 10px;
}

.pt-status-dashboard-tile.is-large .pt-status-dashboard-tile-value {
    font-size: 18px;
}

.pt-status-dashboard-tile.is-large .pt-status-dashboard-tile-meta {
    font-size: 10px;
}

.pt-status-dashboard-tile.is-large .pt-status-dashboard-tile-title {
    font-size: 11px;
}

.pt-status-dashboard-tile.is-mid .pt-status-dashboard-tile-title {
    font-size: 9px;
    line-height: 1.1;
}

.pt-status-dashboard-tile.is-mid .pt-status-dashboard-tile-value {
    font-size: 11px;
}

.pt-status-dashboard-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-content: start;
}

.pt-status-dashboard-stat-list {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.pt-status-dashboard-stat-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
}

.pt-status-dashboard-stat-label {
    color: var(--pt-copy-status, inherit);
}

.pt-status-dashboard-stat-value {
    font-weight: 700;
    color: var(--pt-copy-section, inherit);
}

.pt-status-dashboard-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 1px dashed var(--pt-panel-toolbar-border, var(--pt-panel-border));
    border-radius: 4px;
    color: var(--pt-copy-status, inherit);
    background: color-mix(in srgb, var(--pt-panel-bg, #fff) 80%, white 20%);
}

@media (max-width: 1100px) {
    .pt-status-dashboard-section.is-treemap {
        min-height: 360px;
    }

    .pt-status-dashboard-rail {
        grid-template-columns: 1fr;
    }
}

@keyframes pt-loading-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

code {
    color: #c02d76;
}

.pt-three-mf-preview-body {
    overflow: hidden !important;
    padding: 0.75rem !important;
    touch-action: none;
    overscroll-behavior: contain;
}

.pt-three-mf-preview-reset-icon {
    display: none;
    width: 15px;
    height: 15px;
    filter: invert(1);
    opacity: 0.92;
}

.pt-three-mf-preview-mobile-hint {
    display: none;
}

@media (max-width: 700px), (pointer: coarse) and (max-width: 900px) {
    .pt-three-mf-preview-window {
        position: absolute !important;
        inset: 0 !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        border-radius: 0 !important;
        border-width: 0 !important;
        transform: none !important;
    }

    .pt-three-mf-preview-window .pt-window-header,
    .pt-three-mf-preview-window .pt-window-footer {
        display: none !important;
    }

    .pt-three-mf-preview-body {
        flex: 1 1 auto;
        padding: 0 !important;
    }

    .pt-three-mf-preview-body > div,
    .pt-three-mf-preview-body > div > div {
        border-radius: 0 !important;
        border-width: 0 !important;
    }

    .pt-three-mf-preview-desktop-hint {
        display: none !important;
    }

    .pt-three-mf-preview-mobile-hint {
        display: block !important;
    }

    .pt-three-mf-preview-reset,
    .pt-three-mf-preview-close {
        width: 38px !important;
        height: 38px !important;
        padding: 0 !important;
    }

    .pt-three-mf-preview-reset-icon {
        display: block;
    }

    .pt-three-mf-preview-reset .pt-three-mf-preview-button-label {
        display: none;
    }

    .pt-three-mf-preview-close .pt-button-label {
        font-size: 0;
        line-height: 0;
    }

    .pt-three-mf-preview-close .pt-button-label::before {
        content: "×";
        font-size: 24px;
        line-height: 1;
        font-weight: 500;
    }
}

.pt-image-upload { padding: 18px; margin-top: 12px; border: 2px dashed var(--pt-borderlayout-region-border, #8899aa); border-radius: 6px; transition: background-color 120ms ease, border-color 120ms ease; }
.pt-image-upload.is-drag-over { background-color: rgba(70, 140, 210, 0.16); border-color: #468cd2; }
.pt-image-upload[aria-disabled="true"] { opacity: 0.65; }

.studio-media-card[draggable="true"] { cursor: grab; }
.studio-media-card.is-dragging { opacity: 0.45; }
.studio-media-card.is-drop-target { outline: 3px solid #468cd2; outline-offset: 2px; }

.pt-rich-text {min-width:0;}
.pt-rich-text .ql-toolbar {border-radius:4px 4px 0 0; background:var(--pt-window-surface, #fff);}
.pt-rich-text .ql-container {height:auto; font:inherit; border-radius:0 0 4px 4px;}
.pt-rich-text .ql-editor {min-height:240px; max-height:440px; overflow:auto; font-size:15px;}
.pt-rich-text .ql-toolbar button {min-width:30px; min-height:30px;}

.pt-rich-title .ql-editor{min-height:44px;max-height:110px;}

.pt-rich-text .ql-editor img{max-width:100%;max-height:420px;object-fit:contain;}
.pt-rich-text .ql-editor iframe{width:min(100%,640px);height:360px;border:0;}
.pt-rich-upload-status{font-size:13px;padding-top:4px;color:var(--pt-text-color,inherit);}

.pt-input-dialog-error{color:#b42318;font-size:14px;min-height:1.4em;}

.pt-image-zoom-body{display:flex;flex-direction:column;padding:0!important;overflow:hidden;}
.pt-image-zoom{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;}
.pt-image-zoom-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px;border-bottom:1px solid var(--pt-borderlayout-region-border,#aaa);flex-shrink:0;}
.pt-image-zoom-toolbar a{margin-left:auto;}
.pt-image-zoom-stage{position:relative;flex:1;min-height:0;overflow:hidden;background:#e4e7ec;touch-action:none;overscroll-behavior:contain;cursor:default;}
.pt-image-zoom-stage.is-zoomed{cursor:grab;}.pt-image-zoom-stage.is-zoomed:active{cursor:grabbing;}
.pt-image-zoom-stage img{position:absolute;left:50%;top:50%;max-width:none;max-height:none;user-select:none;pointer-events:none;will-change:transform;}
.pt-image-zoom-stage [data-zoom-status]{position:absolute;inset:0;display:grid;place-items:center;padding:24px;text-align:center;}
.pt-image-zoom-stage [hidden]{display:none!important;}
