.case-paragraph-gap {display:block;height:.675em;margin:0;padding:0;line-height:inherit;}
@supports (height: 1lh) {.case-paragraph-gap {height:.5lh;}}

/* Native textarea line boxes keep caret, IME and undo in sync with highlights. */
html body textarea.structured-feedback-input,
html body textarea.analysis-highlight-textarea,
html body .analysis-highlight-wrap .analysis-highlight-layer,
html body .analysis-highlight-wrap[data-highlight-mode] :is(.analysis-highlight-textarea,.analysis-highlight-layer),
html body textarea:is(#real-feedback,#event-desc,#niupai-lunming,#edit-real-feedback,#edit-event,#edit-niupai-lunming) {
    /* Normal 1.6 line box plus half a line (0.8). */
    line-height: 2.4 !important;
}

/* Title/body spacing is independent of stored blank lines. */
html body .structured-inline-collapse-body {padding-top:.675em !important;}
@supports (height:1lh) {html body .structured-inline-collapse-body {padding-top:.5lh !important;}}

/* All display paragraph boundaries use one half-line, including adjacent
   collapsible analyses that have only one newline in the saved source. */
html body .structured-inline-collapse + .structured-inline-collapse,
html body .feedback-display-section + .feedback-display-section,
html body .feedback-display-dayun:not(:first-child) {
    margin-top: .675em !important;
    margin-top: .5lh !important;
}
html body .feedback-display-heading {
    margin-bottom: .675em !important;
    margin-bottom: .5lh !important;
}
html body .feedback-display-section.is-collapsed > .feedback-display-heading {
    margin-bottom: 0 !important;
}

/* Keep title line boxes equal to body lines. The circular control must not
   add its diameter or button padding to the requested half-line gap. */
html body .feedback-display-heading,
html body .structured-inline-collapse-toggle {
    font-size: inherit !important;
    line-height: inherit !important;
}
html body .feedback-display-toggle,
html body .structured-inline-collapse-toggle {
    position: relative;
    padding: 0 36px 0 0 !important;
    min-height: 0;
}
html body .feedback-display-toggle::after,
html body .structured-inline-collapse-toggle::after {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
