.website-settings-page { --website-insights-footer-gap: 18px; display: flex; flex-direction: column; box-sizing: border-box; min-width: 0; padding: 0; } .website-settings-page .website-settings-card { flex: 1; min-height: 100%; } .website-settings-page .website-settings-card.ant-card > .ant-card-body { padding-top: 8px; } .website-settings-page .website-settings-card--error.ant-card > .ant-card-body { padding-top: 24px; } .website-settings-page .website-insights-categories > .ant-card-head, .website-settings-page .website-insights-categories > .ant-card-body { padding-inline: 18px; } .website-settings-page .website-insights-category-heading { margin: 0; line-height: 24px; } .website-insights { min-width: 0; padding-bottom: var(--website-insights-footer-gap, 18px); } .website-insights-row-actions { display: flex; align-items: center; gap: 6px; } .website-insights-row-actions .ant-btn { height: auto; padding: 0 4px; font-size: 13px; } .website-settings-page .website-field-note { color: var(--ui-color-text-2); font-weight: 400; } .website-settings-page .website-metric-unit { min-width: 40px; justify-content: center; color: var(--ui-color-text-2); } .website-settings-page .website-metric-unit-select { width: 72px; flex: none; } .website-settings-page .website-metric-preview { display: block; min-height: 22px; color: var(--ui-color-text-2); line-height: 22px; } .website-settings-page .website-settings-tab-description { margin-bottom: 16px; line-height: 22px; } .website-category-dialog-description { margin: 0 0 18px; line-height: 22px; } .website-category-dialog-field { display: flex; flex-direction: column; gap: 8px; padding-bottom: 8px; } .website-category-dialog-label { color: var(--ui-color-text-0); font-weight: 600; line-height: 20px; } .website-category-dialog-label > span { color: var(--ui-color-danger); } .website-insights-categories { margin-bottom: 20px; } .website-insights-category-list, .website-insights-category, .website-insights-toolbar, .website-insights-manage-row, .website-insights-editor-footer { display: flex; align-items: center; gap: 8px; } .website-insights-category-list, .website-insights-editor-footer { flex-wrap: wrap; } .website-insights-category { border: 1px solid var(--ui-color-border); border-radius: var(--ui-border-radius-small); gap: 0; background: var(--ui-color-fill-0); min-height: 34px; padding-inline: 2px; } .website-insights-category.is-selected { border-color: var(--ui-color-primary-light-active); background: var(--ui-color-primary-light-default); } .website-insights-category-count { font-size: 12px; opacity: 0.65; } .website-insights-category-actions { display: flex; visibility: hidden; } .website-insights-category:hover .website-insights-category-actions, .website-insights-category:focus-within .website-insights-category-actions { visibility: visible; } .website-insights-toolbar { flex-wrap: nowrap; justify-content: space-between; margin-bottom: 16px; } .website-settings-page .website-insights-search-field { flex: 0 1 310px; width: 310px; min-width: 0; } .website-settings-page .website-insights-search { width: 100%; } .website-insights-toolbar-actions { display: flex; align-items: center; flex-shrink: 0; gap: 8px; } .website-insights-article-meta { display: grid; gap: 4px; min-width: 0; } .website-insights .website-insights-title { display: block; width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--ui-color-text-0); font-weight: 500; line-height: 1.6; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; cursor: pointer; } .website-insights .website-insights-title:hover { color: var(--ui-color-primary); } .website-insights .website-insights-title:focus-visible { outline: 2px solid var(--ui-color-primary); outline-offset: 2px; } .website-insights-manage-row { padding-block: 10px; border-bottom: 1px solid var(--ui-color-border); } .website-insights-manage-row > span:first-child { flex: 1; } .website-insights-editor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 24px; } .website-insights-editor-main { min-width: 0; } .website-insights-editor-main .website-insights-section-title { margin: 0 0 14px; line-height: 24px; } .website-insights-editor-main .website-insights-detail-title { margin-top: 10px; } /* SideSheet renders outside Form, so its slots need their own field spacing. */ .website-insights-editor-main .website-insights-editor-field { min-width: 0; margin: 0 0 18px; padding: 0; } .website-insights-aside, .website-insights-related { display: flex; flex-direction: column; gap: 16px; } .website-insights-related { max-height: 260px; overflow-y: auto; } .website-insights-toc { margin: 12px 0 0; padding-left: 20px; max-height: 240px; overflow-y: auto; line-height: 1.8; overflow-wrap: anywhere; list-style: decimal; } .website-insights-editor-footer { justify-content: flex-end; } @media (max-width: 767px) { .website-insights-toolbar { flex-wrap: wrap; } .website-settings-page .website-insights-search-field { flex-basis: 100%; width: 100%; } .website-insights-toolbar-actions { justify-content: flex-end; width: 100%; } .website-settings-page { padding: 0; } .website-insights-editor-layout { grid-template-columns: minmax(0, 1fr); } .website-insights-category-actions { visibility: visible; } }