@font-face {
    font-family: 'Poppins';
    src: url('/assets/Poppins-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-primary-800: #317e72;
    --color-primary-600: #69b6aa;
    --color-primary-300: #c2e9e3;
    --color-primary-100: #e9f4f3;
    --color-secondary: #facf1a;
    --color-white: #fff;
    --color-grey1: #f9fafa;
    --color-grey2: #f1f2f2;
    --color-grey3: #dadbdc;
    --color-grey4: #959799;
    --color-grey5: #4b4f54;
    --color-grey6: #d7dde3;
    --color-grey7: #7f8286;
    --color-text: #1d1737;
    --color-border: #e9ecef;
    --color-red1: #ea6262;
    --color-yellow1: #ffdf59;
    --color-yellow3: #ff9c1d;
    --font-size: 14px;
    --border-radius-md: 12px;
}

* {
    box-sizing: border-box;
}

html, body, #root {
    height: 100%;
    margin: 0;
}

body {
    background: #f3f5f5;
    color: var(--color-text);
    font-family: 'Poppins', serif;
    -webkit-font-smoothing: antialiased;
}

button, input, textarea, .ant-btn, .ant-avatar {
    font-family: 'Poppins', serif !important;
}

.hl-app {
    background: #f3f5f5;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.hl-topbar {
    align-items: center;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    flex: 0 0 64px;
    gap: 24px;
    height: 64px;
    padding: 0 20px;
}

.hl-brand {
    align-items: center;
    display: flex;
    gap: 10px;
    min-width: 300px;
}

.hl-brand img {
    height: 30px;
    width: 30px;
}

.hl-brand-copy {
    display: flex;
    flex-direction: column;
}

.hl-brand-name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.2px;
    line-height: 16px;
}

.hl-brand-sub {
    color: var(--color-grey7);
    font-size: 9px;
    line-height: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hl-crumbs {
    align-items: center;
    color: var(--color-grey7);
    display: flex;
    flex: 1;
    font-size: 11px;
    gap: 8px;
    min-width: 0;
}

.hl-crumbs b {
    color: var(--color-text);
    font-weight: 600;
}

.hl-slash {
    color: var(--color-grey4);
}

.hl-status {
    background: var(--color-primary-100);
    border-radius: 5px;
    color: var(--color-primary-800);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-left: 4px;
    padding: 3px 6px;
}

.hl-actions {
    align-items: center;
    display: flex;
    gap: 8px;
}

.hl-actions .ant-btn {
    border-radius: 8px;
    font-size: 11px;
    height: 32px;
    padding: 0 11px;
}

.hl-version {
    background: #f5f6f7;
    border: 1px solid var(--color-border);
    border-radius: 7px;
    color: var(--color-grey5);
    font-size: 10px;
    font-weight: 600;
    padding: 4px 7px;
}

.hl-avatar {
    background: var(--color-text) !important;
    color: var(--color-white) !important;
    font-size: 10px !important;
    font-weight: 600;
}

.hl-body {
    display: grid;
    flex: 1;
    gap: 14px;
    grid-template-columns: 300px minmax(0, 1fr) 340px;
    min-height: 0;
    padding: 14px;
}

.hl-left, .hl-right {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    min-height: 0;
    overflow: auto;
    padding: 16px;
}

.hl-left::-webkit-scrollbar, .hl-right::-webkit-scrollbar, .hl-stage::-webkit-scrollbar {
    width: 0;
}

.hl-panel-head, .hl-agent-head, .hl-section-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.hl-panel-title {
    align-items: center;
    display: flex;
    font-size: 12px;
    font-weight: 600;
    gap: 7px;
}

.hl-panel-title .anticon {
    color: var(--color-primary-800);
    font-size: 13px;
}

.hl-kicker {
    color: var(--color-grey7);
    font-size: 8px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hl-prompt {
    background: #fbfcfc;
    border: 1px solid #dfe4e3;
    border-radius: 10px;
    color: var(--color-text);
    font-family: 'Poppins', serif;
    font-size: 10.5px;
    height: 132px;
    line-height: 16px;
    margin-top: 10px;
    outline: none;
    padding: 10px;
    resize: none;
    width: 100%;
}

.hl-prompt:focus {
    border-color: var(--color-primary-600);
    box-shadow: 0 0 0 3px rgba(105, 182, 170, 0.12);
}

.hl-context {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 9px;
}

.hl-chip {
    align-items: center;
    background: #f6f8f8;
    border: 1px solid #e9ecec;
    border-radius: 5px;
    color: var(--color-grey5);
    display: inline-flex;
    font-size: 8.5px;
    gap: 4px;
    padding: 4px 6px;
}

.hl-chip .anticon {
    font-size: 9px;
    color: var(--color-grey7);
}

.hl-generate {
    border-radius: 9px !important;
    font-size: 11px !important;
    height: 34px !important;
    margin-top: 10px;
}

.hl-hint {
    color: var(--color-grey7);
    font-size: 8.5px;
    line-height: 13px;
    margin-top: 7px;
}

.hl-divider {
    background: var(--color-border);
    height: 1px;
    margin: 14px 0 11px;
}

.hl-section-head {
    color: var(--color-grey7);
    font-size: 9px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hl-count {
    background: var(--color-primary-100);
    border-radius: 4px;
    color: var(--color-primary-800);
    font-size: 8px;
    letter-spacing: 0;
    padding: 2px 5px;
    text-transform: none;
}

.hl-component-list {
    margin-top: 7px;
}

.hl-component {
    align-items: center;
    border-bottom: 1px solid #f0f2f2;
    display: flex;
    gap: 8px;
    padding: 7px 0;
}

.hl-component:last-child {
    border-bottom: 0;
}

.hl-component-icon {
    align-items: center;
    background: #f5f7f7;
    border-radius: 6px;
    color: var(--color-primary-800);
    display: flex;
    height: 24px;
    justify-content: center;
    width: 24px;
}

.hl-component-icon .anticon {
    font-size: 10px;
}

.hl-component-name {
    font-size: 10px;
    font-weight: 500;
    line-height: 13px;
}

.hl-component-source {
    color: var(--color-grey7);
    font-size: 8px;
    line-height: 11px;
}

.hl-check {
    color: var(--color-primary-600);
    font-size: 10px;
    margin-left: auto;
}

.hl-data-card {
    background: #f8fafa;
    border: 1px solid #e9eeee;
    border-radius: 9px;
    margin-top: 12px;
    padding: 10px;
}

.hl-recent {
    border-top: 1px solid var(--color-border);
    margin-top: 12px;
    padding-top: 10px;
}

.hl-recent-item {
    align-items: center;
    border-bottom: 1px solid #f2f4f4;
    display: flex;
    gap: 7px;
    padding: 7px 0;
}

.hl-recent-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.hl-recent-version {
    background: #f4f6f6;
    border-radius: 4px;
    color: var(--color-grey5);
    font-size: 7px;
    font-weight: 600;
    padding: 3px 4px;
}

.hl-recent-copy {
    display: flex;
    flex-direction: column;
    line-height: 11px;
}

.hl-recent-copy b {
    font-size: 9px;
    font-weight: 500;
}

.hl-recent-copy span {
    color: var(--color-grey7);
    font-size: 7.5px;
}

.hl-data-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.hl-data-row + .hl-data-row {
    border-top: 1px solid #e9eeee;
    margin-top: 8px;
    padding-top: 8px;
}

.hl-data-title {
    font-size: 9px;
    font-weight: 500;
    line-height: 12px;
}

.hl-data-sub {
    color: var(--color-grey7);
    font-size: 8px;
    line-height: 11px;
    margin-top: 2px;
}

.hl-switch {
    background: var(--color-primary-600);
    border-radius: 8px;
    display: inline-flex;
    height: 14px;
    padding: 2px;
    width: 26px;
}

.hl-switch i {
    background: var(--color-white);
    border-radius: 50%;
    display: block;
    height: 10px;
    margin-left: auto;
    width: 10px;
}

.hl-center {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-height: 0;
    min-width: 0;
}

.hl-preview-toolbar {
    align-items: center;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    display: flex;
    flex: 0 0 42px;
    gap: 10px;
    height: 42px;
    padding: 5px 7px;
}

.hl-viewport-group {
    align-items: center;
    background: #f4f6f6;
    border-radius: 6px;
    display: flex;
    gap: 1px;
    padding: 2px;
}

.hl-viewport-group button, .hl-preview-actions button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 5px;
    color: var(--color-grey7);
    cursor: pointer;
    display: inline-flex;
    font-size: 12px;
    height: 26px;
    justify-content: center;
    padding: 0;
    width: 28px;
}

.hl-viewport-group button:hover, .hl-preview-actions button:hover {
    background: #eaeeee;
    color: var(--color-text);
}

.hl-viewport-group button.active {
    background: var(--color-white);
    box-shadow: 0 1px 3px rgba(29, 23, 55, 0.12);
    color: var(--color-primary-800);
}

.hl-preview-url {
    align-items: center;
    color: var(--color-grey7);
    display: flex;
    flex: 1;
    font-size: 9px;
    gap: 5px;
    justify-content: center;
    min-width: 0;
}

.hl-preview-url .anticon {
    font-size: 9px;
}

.hl-preview-url span:nth-child(2) {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hl-live-dot {
    background: #54b58f;
    border-radius: 50%;
    height: 5px;
    margin-left: 5px;
    width: 5px;
}

.hl-live-text {
    color: #4b8f76;
    font-size: 8px;
}

.hl-preview-actions {
    display: flex;
    gap: 1px;
}

.hl-browser {
    background: var(--color-white);
    border: 1px solid #dfe3e4;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(29, 23, 55, 0.08);
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.hl-browser-chrome {
    align-items: center;
    background: #fbfcfc;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    flex: 0 0 34px;
    gap: 10px;
    height: 34px;
    padding: 0 10px;
}

.hl-dots {
    display: flex;
    gap: 4px;
}

.hl-dots i {
    background: #d9dede;
    border-radius: 50%;
    display: block;
    height: 6px;
    width: 6px;
}

.hl-address {
    align-items: center;
    background: #f0f3f3;
    border-radius: 5px;
    color: var(--color-grey7);
    display: flex;
    flex: 1;
    font-size: 8px;
    gap: 4px;
    height: 21px;
    justify-content: center;
    max-width: 320px;
    margin: 0 auto;
}

.hl-address .anticon {
    font-size: 8px;
}

.hl-browser-label {
    color: var(--color-grey4);
    font-size: 8px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hl-stage {
    align-items: flex-start;
    background: #eef1f1;
    display: flex;
    flex: 1;
    justify-content: center;
    min-height: 0;
    overflow: auto;
    padding: 12px;
}

.hl-canvas {
    background: var(--color-white);
    border-radius: 9px;
    box-shadow: 0 2px 10px rgba(29, 23, 55, 0.09);
    height: 100%;
    min-height: 0;
    overflow: hidden;
    position: relative;
    transition: max-width 180ms ease;
    width: 100%;
}

.hl-canvas.tablet {
    max-width: 690px;
}

.hl-canvas.mobile {
    max-width: 360px;
}

.hl-canvas.mobile {
    height: auto;
    min-height: 100%;
    overflow: auto;
}

.hl-canvas.mobile .pv-sidebar {
    display: none;
}

.hl-canvas.mobile .pv-shell {
    height: auto;
    min-height: 100%;
}

.hl-canvas.mobile .pv-content {
    padding: 12px;
}

.hl-canvas.mobile .pv-title-row {
    flex-direction: column;
    gap: 7px;
}

.hl-canvas.mobile .pv-title-row .pv-outline-button {
    align-self: flex-start;
}

.hl-canvas.mobile .pv-summary {
    grid-template-columns: repeat(2, 1fr);
}

.hl-canvas.mobile .pv-tabs {
    flex-wrap: wrap;
    gap: 8px;
}

.hl-canvas.mobile .pv-view-all {
    display: none;
}

.hl-canvas.mobile .pv-grid {
    flex: none;
    grid-auto-rows: auto;
    grid-template-columns: 1fr;
    min-height: 0;
}

.hl-canvas.mobile .pv-card {
    min-height: 104px;
}

.hl-canvas.mobile .pv-bottom {
    grid-template-columns: 1fr;
}

.hl-generating {
    align-items: center;
    backdrop-filter: blur(2px);
    background: rgba(249, 250, 250, 0.86);
    display: flex;
    flex-direction: column;
    gap: 5px;
    inset: 0;
    justify-content: center;
    position: absolute;
    z-index: 9;
}

.hl-generating .anticon {
    color: var(--color-primary-800);
    font-size: 20px;
}

.hl-generating strong {
    font-size: 12px;
}

.hl-generating span {
    color: var(--color-grey7);
    font-size: 9px;
}

.hl-preview-footer {
    align-items: center;
    color: var(--color-grey7);
    display: flex;
    flex: 0 0 26px;
    font-size: 8px;
    justify-content: space-between;
    padding: 0 2px;
}

.hl-version-strip {
    align-items: center;
    display: flex;
    gap: 4px;
}

.hl-version-item {
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    display: inline-flex;
    font-size: 8px;
    gap: 3px;
    padding: 3px 5px;
}

.hl-version-item.current {
    background: var(--color-primary-100);
    border-color: #cfe8e3;
    color: var(--color-primary-800);
    font-weight: 600;
}

.hl-version-item i {
    font-size: 7px;
    font-style: normal;
    opacity: 0.7;
}

.hl-published {
    align-items: center;
    display: flex;
    gap: 4px;
}

.hl-published .anticon {
    color: var(--color-primary-600);
}

.hl-right {
    display: flex;
    flex-direction: column;
}

.hl-agent-time {
    color: var(--color-grey7);
    font-size: 8px;
}

.hl-run-status {
    align-items: center;
    color: var(--color-grey5);
    display: flex;
    font-size: 9px;
    gap: 5px;
    margin: 7px 0 10px;
}

.hl-run-dot {
    background: #54b58f;
    border-radius: 50%;
    height: 5px;
    width: 5px;
}

.hl-run-dot.busy {
    animation: pulse 1.1s infinite;
    background: var(--color-secondary);
}

@keyframes pulse {
    50% { opacity: 0.3; }
}

.hl-timeline {
    border-left: 1px solid #e3e9e8;
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-left: 6px;
    padding-left: 11px;
}

.hl-step {
    align-items: flex-start;
    color: var(--color-grey4);
    display: flex;
    font-size: 9px;
    gap: 6px;
    line-height: 13px;
    position: relative;
}

.hl-step.done {
    color: var(--color-grey5);
}

.hl-step.active {
    color: var(--color-text);
    font-weight: 500;
}

.hl-step-icon {
    background: var(--color-white);
    display: flex;
    height: 12px;
    justify-content: center;
    left: -17px;
    position: absolute;
    top: 1px;
    width: 12px;
}

.hl-step.done .hl-step-icon {
    color: var(--color-primary-600);
}

.hl-step.active .hl-step-icon {
    color: var(--color-primary-800);
}

.hl-step-icon .anticon {
    font-size: 10px;
}

.hl-step-dot {
    background: #cfd6d5;
    border-radius: 50%;
    height: 5px;
    margin-top: 4px;
    width: 5px;
}

.hl-diff {
    background: #f8fafa;
    border: 1px solid #e9eeee;
    border-radius: 9px;
    margin-top: 13px;
    padding: 9px 10px;
}

.hl-diff-head {
    align-items: center;
    color: var(--color-grey5);
    display: flex;
    font-size: 9px;
    justify-content: space-between;
    margin-bottom: 5px;
}

.hl-diff-head .anticon {
    color: var(--color-grey7);
    font-size: 9px;
    margin-right: 3px;
}

.hl-diff-lines {
    color: var(--color-primary-800);
    font-size: 8px;
    font-weight: 600;
}

.hl-file {
    display: flex;
    font-size: 8.5px;
    justify-content: space-between;
    padding: 3px 0;
}

.hl-file span {
    color: var(--color-grey5);
}

.hl-file b {
    color: #4f9b7f;
    font-weight: 500;
}

.hl-run-meta {
    color: var(--color-grey4);
    display: flex;
    font-size: 7.5px;
    gap: 10px;
    margin-top: 7px;
}

.hl-run-meta b {
    color: var(--color-grey5);
    font-weight: 500;
}

.hl-comments-head {
    border-top: 1px solid var(--color-border);
    margin-top: 14px;
    padding-top: 12px;
}

.hl-comments-head i {
    background: #f1f2f2;
    border-radius: 4px;
    color: var(--color-grey5);
    font-size: 8px;
    font-style: normal;
    margin-left: 3px;
    padding: 1px 4px;
}

.hl-text-button {
    background: transparent;
    border: 0;
    color: var(--color-primary-800);
    cursor: pointer;
    font-family: 'Poppins', serif;
    font-size: 8px;
    padding: 0;
}

.hl-comments {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 10px;
}

.hl-comment {
    display: flex;
    gap: 7px;
}

.hl-comment-avatar {
    background: #eef1f1 !important;
    color: var(--color-grey5) !important;
    flex: 0 0 auto;
    font-size: 7px !important;
    font-weight: 600;
}

.hl-comment-body {
    min-width: 0;
}

.hl-comment-meta {
    align-items: center;
    display: flex;
    gap: 5px;
}

.hl-comment-meta b {
    font-size: 8.5px;
    font-weight: 600;
}

.hl-comment-meta span {
    color: var(--color-grey4);
    font-size: 7.5px;
}

.hl-comment-text {
    color: var(--color-grey5);
    font-size: 8.5px;
    line-height: 13px;
    margin-top: 2px;
}

.hl-resolved {
    color: var(--color-primary-800);
    font-size: 7.5px;
    margin-top: 3px;
    display: inline-flex;
    gap: 3px;
    align-items: center;
}

.hl-resolved .anticon {
    font-size: 8px;
}

.hl-comment-input {
    margin-top: 9px;
}

.hl-comment-input .ant-input {
    border-radius: 8px;
    font-size: 9px;
    min-height: 44px;
    padding: 7px 8px;
}

.hl-comment-actions {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
}

.hl-comment-actions span {
    color: var(--color-grey4);
    font-size: 7px;
}

.hl-comment-actions .ant-btn {
    border-radius: 6px;
    font-size: 8px;
    height: 25px;
    padding: 0 8px;
}

.hl-rule-note {
    align-items: flex-start;
    background: #fbf8ec;
    border: 1px solid #f4e8bb;
    border-radius: 7px;
    color: #7a641e;
    display: flex;
    font-size: 7.5px;
    gap: 5px;
    line-height: 11px;
    margin-top: 8px;
    padding: 7px 8px;
}

.hl-checks {
    background: #f8fafa;
    border: 1px solid #e9eeee;
    border-radius: 8px;
    margin-top: 9px;
    padding: 8px 9px;
}

.hl-checks-title {
    color: var(--color-grey7);
    font-size: 8px;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.hl-check-row {
    align-items: flex-start;
    color: var(--color-grey5);
    display: flex;
    font-size: 8px;
    gap: 5px;
    line-height: 12px;
    padding: 2px 0;
}

.hl-check-row .anticon {
    color: var(--color-primary-600);
    font-size: 8px;
    margin-top: 2px;
}

.hl-handoff {
    align-items: center;
    background: #f8fafa;
    border: 1px solid #e9eeee;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding: 8px 9px;
}

.hl-handoff-title {
    font-size: 9px;
    font-weight: 600;
    line-height: 12px;
}

.hl-handoff-sub {
    color: var(--color-grey7);
    font-size: 7.5px;
    line-height: 10px;
    margin-top: 1px;
}

.hl-handoff .ant-btn {
    border-radius: 5px;
    font-size: 8px;
    height: 25px;
    padding: 0 7px;
}

.hl-rule-note .anticon {
    font-size: 8px;
    margin-top: 1px;
}

/* Preview page */

.pv-shell {
    background: #f9fafa;
    display: flex;
    font-size: 10px;
    height: 100%;
    min-height: 570px;
    position: relative;
}

.pv-sidebar {
    align-items: center;
    background: var(--color-white);
    border-right: 1px solid #ecefef;
    display: flex;
    flex: 0 0 46px;
    flex-direction: column;
    padding: 11px 0;
}

.pv-logo-icon {
    height: 22px;
    margin-bottom: 18px;
    width: 22px;
}

.pv-nav {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.pv-nav-item {
    align-items: center;
    border-radius: 6px;
    color: #9aa1a2;
    display: flex;
    font-size: 12px;
    height: 24px;
    justify-content: center;
    width: 24px;
}

.pv-nav-item.active {
    background: var(--color-primary-100);
    color: var(--color-primary-800);
}

.pv-avatar {
    background: #eceeee !important;
    color: #5c6664 !important;
    font-size: 7px !important;
    margin-top: auto;
}

.pv-main {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    position: relative;
}

.pv-topbar {
    align-items: center;
    background: var(--color-white);
    border-bottom: 1px solid #ecefef;
    display: flex;
    height: 39px;
    justify-content: space-between;
    padding: 0 15px;
}

.pv-breadcrumb {
    align-items: center;
    color: #8a9293;
    display: flex;
    font-size: 8px;
    gap: 5px;
}

.pv-breadcrumb b {
    color: var(--color-text);
    font-weight: 500;
}

.pv-slash {
    color: #c1c7c7;
}

.pv-top-actions {
    align-items: center;
    color: #8a9293;
    display: flex;
    font-size: 9px;
    gap: 10px;
}

.pv-merchant {
    color: #697171;
    font-size: 8px;
}

.pv-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 14px 16px;
}

.pv-footer {
    align-items: center;
    border-top: 1px solid #ecefef;
    color: #9aa1a2;
    display: flex;
    font-size: 7px;
    height: 28px;
    justify-content: space-between;
    padding: 0 16px;
}

.pv-title-row {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
}

.pv-title-row h1 {
    color: var(--color-text);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.4px;
    line-height: 24px;
    margin: 0;
}

.pv-title-row p {
    color: #7c8585;
    font-size: 8.5px;
    margin: 3px 0 0;
}

.pv-outline-button {
    border-radius: 6px !important;
    font-size: 8px !important;
    height: 27px !important;
    padding: 0 8px !important;
}

.pv-summary {
    display: grid;
    gap: 7px;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 12px;
}

.pv-summary-item {
    background: var(--color-white);
    border: 1px solid #e7ebeb;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    padding: 8px 9px;
}

.pv-summary-item.warning {
    background: #fffaf0;
    border-color: #f1e2b3;
}

.pv-summary-item.pending {
    background: #f5f8fd;
    border-color: #dce6f4;
}

.pv-summary-label {
    color: #8a9293;
    font-size: 7.5px;
}

.pv-summary-item strong {
    color: var(--color-text);
    font-size: 17px;
    font-weight: 600;
    line-height: 20px;
    margin-top: 1px;
}

.pv-summary-item.warning strong {
    color: #986b00;
}

.pv-summary-hint {
    color: #9aa1a2;
    font-size: 7px;
}

.pv-filter-row {
    align-items: center;
    border-bottom: 1px solid #e8ecec;
    display: flex;
    justify-content: space-between;
    margin-top: 13px;
}

.pv-tabs {
    display: flex;
    gap: 12px;
}

.pv-tab {
    border-bottom: 2px solid transparent;
    color: #8b9394;
    font-size: 8px;
    padding: 0 0 6px;
}

.pv-tab i {
    color: #aab0b0;
    font-size: 7px;
    font-style: normal;
    margin-left: 2px;
}

.pv-tab.active {
    border-color: var(--color-primary-800);
    color: var(--color-primary-800);
    font-weight: 500;
}

.pv-tab.active i {
    color: var(--color-primary-800);
}

.pv-view-all {
    align-items: center;
    color: var(--color-primary-800);
    display: flex;
    font-size: 7.5px;
    gap: 3px;
    padding-bottom: 6px;
}

.pv-grid {
    display: grid;
    flex: 1;
    gap: 7px;
    grid-auto-rows: 1fr;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 9px;
    min-height: 300px;
}

.pv-card {
    background: var(--color-white);
    border: 1px solid #e8ecec;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 91px;
    padding: 8px 9px;
}

.pv-card.attention {
    border-color: #eddfb9;
    box-shadow: inset 3px 0 0 #e5b84c;
}

.pv-card.off {
    background: #fbfcfc;
}

.pv-card.pending {
    border-color: #dce6f4;
}

.pv-card-top {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.pv-method-icon {
    align-items: center;
    background: #f8f9f9;
    border: 1px solid #eef1f1;
    border-radius: 6px;
    display: flex;
    height: 25px;
    justify-content: center;
    width: 25px;
}

.pv-method-icon .anticon {
    color: var(--color-primary-800);
    font-size: 12px;
}

.pv-method-icon img {
    max-height: 15px;
    max-width: 20px;
    object-fit: contain;
}

.pv-status {
    border-radius: 4px;
    font-size: 6.5px;
    font-weight: 500;
    padding: 2px 5px;
}

.pv-status.active {
    background: var(--color-primary-100);
    color: var(--color-primary-800);
}

.pv-status.attention {
    background: #fff2cb;
    color: #7c5c05;
}

.pv-status.off {
    background: #f1f2f2;
    color: #6f7677;
}

.pv-status.pending {
    background: #eaf1fb;
    color: #3d5f92;
}

.pv-card-name {
    font-size: 10px;
    font-weight: 600;
    margin-top: 5px;
}

.pv-card-desc {
    color: #8a9293;
    font-size: 7.5px;
    line-height: 10px;
    margin-top: 1px;
}

.pv-card-meta {
    align-items: baseline;
    display: flex;
    font-size: 7px;
    justify-content: space-between;
    margin-top: 3px;
}

.pv-card-meta span {
    color: #9aa1a2;
}

.pv-card-meta b {
    color: var(--color-grey5);
    font-weight: 500;
}

.pv-card-foot {
    align-items: center;
    border-top: 1px solid #f0f2f2;
    display: flex;
    font-size: 6.8px;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 5px;
}

.pv-card-foot span {
    color: #9aa1a2;
}

.pv-card-foot button {
    background: transparent;
    border: 0;
    color: var(--color-primary-800);
    cursor: pointer;
    font-family: 'Poppins', serif;
    font-size: 7px;
    padding: 0;
}

.pv-card-foot button:hover {
    text-decoration: underline;
}

.pv-card-foot button.pv-action-link {
    font-weight: 600;
}

.pv-bottom {
    display: grid;
    gap: 7px;
    grid-template-columns: 1.4fr 1fr;
    margin-top: 9px;
}

.pv-activity, .pv-help {
    background: var(--color-white);
    border: 1px solid #e8ecec;
    border-radius: 8px;
    padding: 8px 9px;
}

.pv-bottom-title {
    color: var(--color-text);
    font-size: 8px;
    font-weight: 600;
    line-height: 11px;
}

.pv-activity-row {
    align-items: center;
    border-top: 1px solid #f1f3f3;
    color: #7f8788;
    display: flex;
    font-size: 7px;
    gap: 5px;
    margin-top: 5px;
    padding-top: 5px;
}

.pv-activity-row b {
    color: #a0a7a8;
    font-size: 6.5px;
    font-weight: 400;
    margin-left: auto;
}

.pv-activity-dot {
    background: var(--color-primary-600);
    border-radius: 50%;
    height: 4px;
    width: 4px;
}

.pv-help {
    display: flex;
    gap: 6px;
}

.pv-help-icon {
    align-items: center;
    background: var(--color-primary-100);
    border-radius: 5px;
    color: var(--color-primary-800);
    display: flex;
    flex: 0 0 auto;
    font-size: 9px;
    height: 20px;
    justify-content: center;
    width: 20px;
}

.pv-help p {
    color: #8a9293;
    font-size: 7px;
    line-height: 10px;
    margin: 3px 0 4px;
}

.pv-help button {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--color-primary-800);
    display: flex;
    font-family: 'Poppins', serif;
    font-size: 7px;
    gap: 3px;
    padding: 0;
}

.pv-help button .anticon {
    font-size: 6px;
}

.pv-drawer-backdrop {
    background: rgba(29, 23, 55, 0.14);
    inset: 0;
    position: absolute;
    z-index: 3;
}

.pv-drawer {
    background: var(--color-white);
    bottom: 0;
    box-shadow: -8px 0 24px rgba(29, 23, 55, 0.12);
    max-width: 290px;
    overflow: auto;
    padding: 13px 14px;
    position: absolute;
    right: 0;
    top: 0;
    width: 46%;
    z-index: 4;
}

.pv-drawer-head {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
}

.pv-drawer-kicker {
    color: #8a9293;
    font-size: 7px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pv-drawer h2 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.2px;
    margin: 1px 0 0;
}

.pv-close {
    background: transparent;
    border: 0;
    color: #8a9293;
    cursor: pointer;
    font-size: 17px;
    line-height: 16px;
    padding: 0;
}

.pv-drawer-alert {
    align-items: flex-start;
    background: #fff8e8;
    border: 1px solid #f2e2b4;
    border-radius: 6px;
    color: #775e13;
    display: flex;
    font-size: 7.5px;
    gap: 5px;
    line-height: 11px;
    margin-top: 10px;
    padding: 6px 7px;
}

.pv-drawer-alert .anticon {
    color: #d4a72c;
    font-size: 8px;
    margin-top: 1px;
}

.pv-steps {
    display: flex;
    gap: 8px;
    margin: 10px 0;
}

.pv-step {
    color: #a2a8a8;
    font-size: 7px;
}

.pv-step.active {
    color: var(--color-primary-800);
    font-weight: 600;
}

.pv-field {
    margin-bottom: 7px;
}

.pv-field-row {
    display: flex;
    gap: 6px;
}

.pv-field-row .pv-field {
    flex: 1;
}

.pv-field label {
    color: #6f7777;
    display: block;
    font-size: 7px;
    margin-bottom: 2px;
}

.pv-input {
    align-items: center;
    background: #fbfcfc;
    border: 1px solid #dfe4e3;
    border-radius: 5px;
    color: var(--color-text);
    display: flex;
    font-size: 7.5px;
    height: 26px;
    justify-content: space-between;
    padding: 0 7px;
}

.pv-input .anticon {
    color: var(--color-primary-600);
    font-size: 8px;
}

.pv-check {
    align-items: flex-start;
    color: #697171;
    display: flex;
    font-size: 7px;
    gap: 5px;
    line-height: 10px;
    margin-top: 9px;
}

.pv-check input {
    accent-color: var(--color-primary-800);
    margin: 1px 0 0;
}

.pv-drawer-actions {
    border-top: 1px solid #eef1f1;
    display: flex;
    gap: 5px;
    justify-content: flex-end;
    margin-top: 12px;
    padding-top: 9px;
}

.pv-drawer-actions .ant-btn {
    border-radius: 5px !important;
    font-size: 8px !important;
    height: 27px !important;
    padding: 0 8px !important;
}

@media (max-width: 1180px) {
    .hl-body {
        grid-template-columns: 270px minmax(0, 1fr) 310px;
    }

    .hl-brand {
        min-width: 250px;
    }
}

@media (max-width: 980px) {
    .hl-body {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .hl-right {
        display: none;
    }
}

.hl-project-select {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-text);
    font: inherit;
    font-size: 9px;
    padding: 4px 6px;
}

.hl-frame {
    border: 0;
    display: block;
    height: 100%;
    min-height: 0;
    width: 100%;
}

.hl-canvas.tablet .hl-frame,
.hl-canvas.mobile .hl-frame {
    height: 100%;
}

.hl-empty,
.hl-empty-state {
    color: var(--color-grey7);
    font-size: 10px;
    padding: 16px 4px;
}

.hl-empty-state {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 7px;
    height: 100%;
    justify-content: center;
    text-align: center;
}

.hl-empty-state .anticon {
    color: var(--color-primary-800);
    font-size: 22px;
}

.hl-empty-state strong {
    color: var(--color-text);
    font-size: 12px;
}

.hl-error {
    background: #fff5f5;
    border: 1px solid #ffd7d7;
    border-radius: 8px;
    color: #b42318;
    font-size: 10px;
    line-height: 1.45;
    margin-top: 6px;
    padding: 8px 10px;
    white-space: pre-wrap;
}

button.hl-recent-item {
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-align: left;
    width: 100%;
}

.hl-canvas.mobile {
    height: 100%;
    min-height: 0;
    overflow: hidden;
}
