/* Extracted from ecosystem.css — Lite quick-deal workflow. */
/* Load after ecosystem.css and before existing ecosystem feature sheets; original order preserved. */

    /* Lite quick-deal: a compact, dedicated workflow. */
    #litedeal-card .modal { width:min(520px,calc(100vw - 12px)); }
    .ld-kicker { margin:-2px 0 6px; font-size:12px; line-height:1.35;
        color:var(--ui-muted-strong, #3f4b5a); }
    .ld-section { padding:7px; border:1px solid rgba(127,127,127,.10); border-radius:11px; }
    .ld-segment { margin-bottom:6px; }
    .ld-segment .rk { min-height:32px; padding:4px 7px; font-size:11.5px; }
    .ld-grid { gap:5px; }
    .ld-grid .ecosystem-field-row { display:grid; grid-template-columns:1fr; gap:3px; }
    .ld-grid .ecosystem-grow-field { min-height:34px; padding:4px 7px; font-size:14px; }
    .ld-preview { min-height:30px; padding:6px 8px; margin-top:5px; }
    .ld-actions { position:sticky; bottom:0; margin-top:5px; }
    .ld-actions .ui-action { min-height:38px; }
    .ld-stepper { display:flex; gap:8px; margin:0 0 10px; padding:0; list-style:none; }
    .ld-step-dot { display:flex; align-items:center; gap:5px; min-height:32px;
        color:var(--ui-muted-strong, #3f4b5a); font-size:12px; }
    .ld-step-n { display:inline-flex; align-items:center; justify-content:center;
        width:22px; height:22px; border-radius:50%;
        background:rgba(127,127,127,.12); font-weight:600; }
    .ld-step-dot.is-current { color:var(--tg-theme-text-color, #1c1c1e); }
    .ld-step-dot.is-current .ld-step-n { background:var(--ui-accent, #0a84ff); color:#fff; }
    .ld-step[hidden], .ld-actions .is-hidden[hidden],
    .ld-preview[hidden], .ld-preview.is-hidden { display:none !important; }

    @media (max-width:760px) {
        /* deal-feed mobile density → ecosystem_deals.css. */
        /* #deal-card / #deal-form-modal responsive grids live in ecosystem_deals.css
 (loaded after this file) so they win over the desktop 4-col rules. */
        [id^="help-"] .modal {
            width:100%; max-width:100%; height:calc(100dvh - 4px); max-height:calc(100dvh - 4px);
            border-radius:16px 16px 0 0;
        }
        /* .help-guide-section → ecosystem_help.css */
        .ld-grid { grid-template-columns:1fr 1fr; }
    }

    @media (max-width:370px) {
        /* deal-card/form narrow breakpoints: ecosystem_deals.css */
        .ld-grid { grid-template-columns:1fr; }
    }
