/* Observed Briefs 4:3204, covers 4:3385/4:3942, cash details 4:3577. */
/* Shared end clearance; source header/search rhythm is independent of row count. */
.ld-brief-list-content { padding: var(--ld-space-md) var(--ld-screen-gutter) var(--ld-scroll-end); }
.ld-brief-list-content > header { margin-bottom: var(--ld-screen-section-gap); }
.ld-brief-list-heading { display: grid; gap: var(--ld-space-lg); margin-bottom: var(--ld-search-results-gap); }
.lucid .ld-brief-title { font-size: var(--ld-type-heading); line-height: 1; }
.ld-brief-list-heading .ld-brief-title { min-height: 23px; }
.lucid .ld-round-control { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: 24px; background: var(--ld-white); box-shadow: 0 4px 16px rgb(0 0 0 / 12%); }
.ld-search { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 16px; background: var(--ld-black-4); }
.ld-search-icon { width: 40px; height: 40px; display: grid; place-items: center; flex-shrink: 0; }
.lucid .ld-search input { width: 100%; min-width: 0; border: 0; background: transparent; height: 40px; padding: 0; }
/* Proposed focus state: treat the icon and input as one rounded control.
   Text inputs can match :focus-visible after a pointer tap as well as Tab. */
.lucid .ld-search input:focus { outline: none; }
.ld-search:focus-within { outline: 2px solid var(--ld-muted); outline-offset: 3px; }
.ld-search input::placeholder { color: var(--ld-black-32); opacity: 1; }
.ld-flat-briefs .ld-row-meta { flex: 0 0 78px; justify-content: flex-end; }
/* Flat and card-contained briefs share row spacing and separator geometry. */
.ld-empty-briefs { text-align: center; }
.ld-cover-content { padding: 16px 14px var(--ld-scroll-end); }
.ld-cover-toolbar { display: flex; justify-content: space-between; margin-bottom: 48px; }
.ld-cover-story { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.ld-context-chip { position: relative; display: inline-flex; width: fit-content; font-size: 14px; line-height: 20px; isolation: isolate; }
.ld-context-halo { position: absolute; inset: 5px 1px -7px; border-radius: 40px; background: linear-gradient(90deg,var(--ld-sky-300),var(--ld-cyan-300) 50%,var(--ld-lime-300)); filter: blur(6px); opacity: .8; z-index: -2; }
.ld-context-rim { position: absolute; inset: -1px; border-radius: 41px; background: linear-gradient(var(--ld-sky-100),var(--ld-cyan-300) 55%,var(--ld-lime-500)); filter: blur(1.5px); opacity: .9; z-index: -1; }
.ld-context-label { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 40px; background: var(--ld-white); color: var(--ld-black-64); box-shadow: 0 1px 1px rgb(0 0 0 / 4%); }
.lucid .ld-cover-headline { font-size: var(--ld-type-heading); font-weight: 500; line-height: 1; }
.ld-cover-line { display: flex; align-items: center; min-height: 47px; gap: 11px; }
.ld-cover-muted { color: var(--ld-black-32); }
.ld-inline-pill { display: inline-flex; padding: 12px 16px; border-radius: 58px; background: var(--ld-neutral-50); white-space: nowrap; }
.ld-inline-gain { background: var(--ld-lime-100-50); color: var(--ld-lime-900); }
.ld-nvda-story { gap: 40px; }
.ld-nvda-story .ld-cover-line { gap: 12px; }
.ld-action-sheet { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 8px 14px calc(var(--ld-bottom-control-inset) + var(--ld-safe-bottom)); border: 1px solid var(--ld-neutral-50); border-bottom: 0; background: var(--ld-neutral-25); border-radius: 32px 32px 0 0; }
.lucid .ld-sheet-handle { display: block; width: 64px; height: 22px; margin: -8px auto 8px; }
.ld-sheet-handle::after, .ld-sheet-decoration::after { content: ''; display: block; width: 40px; height: 6px; margin: auto; background: var(--ld-black-16); border-radius: 8px; }
.ld-sheet-decoration { height: 6px; margin-bottom: 16px; }
.ld-action-pair { display: flex; gap: 16px; width: 100%; }
.lucid .ld-action-pair button { flex: 1; min-width: 0; height: 48px; padding: 8px 16px; text-align: center; border-radius: 40px; line-height: 20px; }
.lucid .ld-action-secondary { background: var(--ld-black-8); }
.lucid .ld-action-primary { background: var(--ld-black); color: var(--ld-white); }
.ld-action-caption { margin-top: 16px !important; line-height: 1.3; color: var(--ld-muted); min-height: 21px; }
.ld-action-caption strong, .ld-summary-note strong, .ld-info-note strong { font-weight: 500; color: var(--ld-text); }
.ld-brief-composer { position: relative; isolation: isolate; margin: 32px 1px 0; padding: 4px 8px 4px 16px; border-radius: 40px; box-shadow: var(--ld-shadow-dock); }
.ld-brief-composer::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--ld-white-50); backdrop-filter: blur(12px); }
.ld-brief-composer .ld-voice-button { right: 2px; }
.ld-brief-composer .ld-voice-glow { left: -22.887px; top: -6.887px; }
.ld-brief-composer .ld-voice-layer-1 { left: 8.453px; top: -9.387px; }
.ld-brief-composer .ld-voice-layer-2 { left: -45.622px; top: -56.112px; }
.ld-brief-composer .ld-voice-layer-3 { left: 14.246px; top: -12.054px; }
.ld-brief-composer .ld-voice-layer-4 { left: 22.073px; top: -20.817px; }
.ld-brief-composer .ld-voice-layer-5 { left: -35.218px; top: 3.052px; }
.ld-brief-composer .ld-voice-layer-6 { left: -45.234px; top: 20.586px; }
.ld-brief-composer .ld-voice-layer-7 { left: 8.926px; top: -23.714px; }
.ld-brief-composer .ld-voice-layer-8 { left: -34.595px; top: -40.615px; }
.ld-brief-composer .ld-voice-layer-9 { left: -70.827px; top: 13.543px; }
.ld-brief-composer .ld-voice-layer-10 { left: 22.538px; top: -38.112px; }
.ld-details { background: var(--ld-neutral-25); }
.ld-detail-header { position: absolute; z-index: 2; top: .375px; left: 0; right: 0; padding-bottom: 25px; border-bottom: 0; box-shadow: inset 0 -1px var(--ld-border); background: rgb(255 255 255 / 80%); backdrop-filter: blur(20px); }
.ld-detail-toolbar { display: flex; align-items: center; gap: 24px; padding: 16px 16px 0; }
.ld-detail-toolbar .ld-round-control { background: var(--ld-black-4); box-shadow: none; }
.ld-detail-toolbar small { display: block; font-size: 12px; line-height: 14px; color: var(--ld-muted); margin-bottom: 4px; }
.ld-detail-toolbar h1 { font-size: 16px; line-height: 19px; }
.ld-detail-content { padding: 189.38px var(--ld-screen-gutter) var(--ld-scroll-end); display: grid; gap: var(--ld-screen-section-gap); }
.ld-detail-section { display: grid; gap: var(--ld-section-heading-gap); }
.ld-detail-section h2 { font-size: 16px; line-height: 19px; color: var(--ld-muted); }
.ld-summary-stack { display: grid; gap: 8px; }
.ld-summary-card, .ld-settings-card { padding: calc(var(--ld-card-padding) + var(--ld-divider-width)); background: var(--ld-white); border: 0; outline: 1px solid var(--ld-border); outline-offset: -1px; border-radius: 24px; box-shadow: var(--ld-shadow-card); }
.ld-summary-top { display: flex; align-items: center; gap: 16px; padding-bottom: 12px; }
.ld-summary-top > div { flex: 1; min-width: 0; }
.ld-summary-top h3 { font: inherit; line-height: 19px; color: var(--ld-muted); margin: 0 0 4px; }
.ld-summary-value { font-size: 24px; line-height: 29px; white-space: nowrap; }
.ld-summary-badge { border-radius: 40px; padding: 10px 12px; line-height: 1; letter-spacing: .32px; white-space: nowrap; }
.ld-summary-neutral { background: var(--ld-neutral-50); }
.ld-summary-gain { background: var(--ld-lime-100); color: var(--ld-gain); }
.lucid .ld-summary-note { position: relative; border-top: 0; padding-top: 13px; font-size: 12px; line-height: 14px; color: var(--ld-muted); }
.ld-process-card { padding: var(--ld-card-padding); border-radius: 24px; background: var(--ld-neutral-50); }
.ld-step-timeline { list-style: none; margin: 0 0 24px; position: relative; padding: 0 0 25px; border-bottom: 0; display: grid; gap: 24px; }
.ld-step-timeline li { display: flex; align-items: center; position: relative; gap: 16px; min-height: 37px; }
.ld-step-number { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 40px; background: var(--ld-black-8); }
.ld-step-connector { position: absolute; top: calc(100% + 3px); left: 18px; }
.ld-step-connector img { transform-origin: 0 0; transform: rotate(90deg); }
.ld-step-timeline h3 { font-size: 16px; line-height: 19px; font-weight: 500; margin: 0 0 4px; }
.ld-step-timeline p { font-size: 12px; line-height: 14px; color: var(--ld-muted); }
.ld-info-note { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 14px; color: var(--ld-muted); }
.ld-info-fill { width: 14px; height: 14px; flex: 0 0 14px; display: grid; place-items: center; }
.ld-setting-row { display: flex; align-items: center; gap: 4px; position: relative; padding: 16px 0 17px; border-bottom: 0; color: var(--ld-muted); min-height: 56px; }
.ld-setting-row:first-child { padding-top: 0; min-height: 0; }
.ld-setting-row:nth-child(3) { padding-bottom: 13px; min-height: 0; }
.ld-setting-row > span:first-child { flex: 1; }
.ld-setting-range { font-size: 24px; line-height: 29px; color: var(--ld-text); white-space: nowrap; }
.ld-setting-range span { color: var(--ld-black-32); }
.ld-settings-card .ld-info-note { padding-top: 12px; gap: 12px; }
.lucid .ld-switch { flex: 0 0 44px; height: 44px; margin: -10px 0; }
.ld-switch-art { display: block; position: relative; width: 44px; height: 24px; }
.ld-switch-on, .ld-switch-off { position: absolute; }
.ld-switch-on { left: -14px; top: -8px; }
.ld-switch-off { left: -4px; top: -2px; }
.ld-switch[aria-checked=true] .ld-switch-off, .ld-switch[aria-checked=false] .ld-switch-on { display: none; }
.ld-detail-actions { position: absolute; z-index: 2; bottom: 0; left: 0; right: 0; padding: 16px 15px calc(var(--ld-bottom-control-inset) + var(--ld-safe-bottom)); background: linear-gradient(transparent,var(--ld-neutral-25) 24%); }
.ld-detail-actions .ld-action-secondary { background: var(--ld-white-64); border: 1px solid var(--ld-white-64); box-shadow: var(--ld-shadow-card); }
.ld-detail-actions .ld-brief-composer { margin: 16px 1px 0; }
.lucid .ld-action-primary { flex-basis: calc((100% - 16px) / 2 + 2.5px); flex-grow: 0; }
.ld-detail-full { height: 1378px; }
/* Proposed responsive and empty states; exact source remains 393px. */
@media (max-width: 374px) {
 .ld-phone .ld-cover-headline { font-size: 26px; }
 .ld-phone .ld-flat-briefs .ld-row-meta { flex-basis: 61px; }
 .ld-phone .ld-flat-briefs .ld-row-copy > span, .ld-phone .ld-flat-briefs .ld-row-copy > small { white-space: normal; overflow-wrap: anywhere; }
 .ld-phone .ld-summary-card, .ld-phone .ld-settings-card, .ld-phone .ld-process-card { padding: 20px 16px; }
 .ld-phone .ld-summary-top { gap: 8px; }
 .ld-phone .ld-summary-badge { font-size: 13px; padding: 10px; }
 .ld-phone .ld-summary-value, .ld-phone .ld-setting-range { font-size: 21px; }
 .ld-phone .ld-step-timeline li { gap: 12px; }
 .ld-phone .ld-cover-line { gap: 8px; flex-wrap: wrap; }
}

/* Proposed keyboard/hit-area behavior, preserving source artwork geometry. */
.lucid .ld-sheet-handle { position: relative; border-radius: 16px; }
.ld-sheet-handle::before { content: ''; position: absolute; inset: -22px 0 0; }
.ld-switch-art { border-radius: 12px; }
.lucid .ld-switch:focus-visible { outline: none; }
.ld-switch:focus-visible .ld-switch-art { outline: 2px solid var(--ld-text); outline-offset: 4px; }

.ld-summary-note::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--ld-border); }
.ld-step-timeline::after, .ld-setting-row::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--ld-border); }

/* A trailing divider belongs to following content, not to a standalone specimen.
   Source detail blocks with their explanatory footers retain the observed spacing. */
.ld-process-card > .ld-step-timeline:only-child { margin-bottom: 0; padding-bottom: 0; }
.ld-process-card > .ld-step-timeline:only-child::after,
.ld-settings-card > .ld-setting-row:last-child::after { display: none; }
.ld-settings-card > .ld-setting-row:last-child { padding-bottom: 0; }
