/* 3.7.1: scoped proposal form. The approved status and administration cards are preserved. */
.lean-journey{max-width:1180px;margin-inline:auto}
.lean-journey .page-heading h1{font-size:clamp(2rem,3.2vw,3.2rem)}
.lean-journey .page-heading .lead{max-width:70ch;font-size:1.1rem;line-height:1.65}
.lean-intro{border-left:3px solid #7c9e88;padding:12px 18px;background:#edf3ec;line-height:1.6;border-radius:0 8px 8px 0}
.lean-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:26px 0 18px}
.lean-nav a{display:flex;align-items:center;gap:10px;min-height:52px;padding:10px 14px;border:1px solid #d7e0d7;background:#fff;border-radius:8px;color:#174743;text-decoration:none;font-size:.92rem;line-height:1.35}
.lean-nav a:hover,.lean-nav a:focus-visible{background:#edf3ec;border-color:#317d70}
.lean-nav a span{font-weight:700;color:#1b7166}
.proposal-lean .lean-section{padding:30px 32px;margin:24px 0;border:1px solid #d8ded4;border-radius:12px;scroll-margin-top:20px}
.lean-section>header{margin-bottom:24px}
.lean-section h2{display:flex;align-items:center;gap:14px;font-size:clamp(1.5rem,2.2vw,2rem);margin:0 0 10px;line-height:1.25}
.lean-section .section-number{flex:0 0 34px;height:34px;display:grid;place-items:center;border:1px solid #c7d8d0;border-radius:50%;font:500 .95rem system-ui;color:#28675c}
.proposal-lean .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 26px}
.proposal-lean .field{min-width:0}
.proposal-lean .wide{grid-column:1/-1}
.proposal-lean label,.proposal-lean legend{font-weight:650;font-size:.94rem;line-height:1.5}
.proposal-lean select,.proposal-lean input:not([type=checkbox]):not([type=hidden]),.proposal-lean textarea{width:100%;max-width:100%;box-sizing:border-box;font-size:1rem;padding:12px 14px;min-height:48px;border:1px solid #aebdb5;border-radius:6px;background:#fff;color:#173e3f}
.proposal-lean textarea{resize:vertical;line-height:1.65;min-height:112px}
.proposal-lean textarea[readonly]{background:#f7f9f5;border-style:dashed}
.proposal-lean .help{display:block;margin:7px 0 0;line-height:1.6;font-size:.86rem;color:#516a68;max-width:85ch}
.proposal-lean :focus-visible{outline:3px solid #75b5a7;outline-offset:3px}
.proposal-lean .lean-identity{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:15px 18px;background:#f0f6f3;border-radius:8px;margin-bottom:24px;overflow-wrap:anywhere}
.proposal-lean .lean-optional{margin-top:22px;border:1px solid #dce3db;border-radius:8px;box-shadow:none}
.proposal-lean .lean-optional>summary{padding:15px 18px;background:#f5f7f1;cursor:pointer;font-weight:650;line-height:1.5;border-radius:8px}
.proposal-lean .lean-optional>.form-grid,.proposal-lean .lean-optional>p{padding:20px;margin:0}
.proposal-lean .lean-checks{padding:0;border:0;margin:0;min-width:0}
.proposal-lean .lean-checks legend{margin-bottom:8px}
.proposal-lean .lean-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}
.proposal-lean label.lean-choice{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border:1px solid #d4dfd6;border-radius:7px;font-weight:400;min-height:48px;box-sizing:border-box;cursor:pointer;line-height:1.5;background:#fff;margin:0}
.proposal-lean .lean-choice input[type=checkbox]{width:19px;height:19px;flex:0 0 19px;margin:2px 0 0;accent-color:#1a665a}
.proposal-lean .lean-choice:has(input:checked){background:#eef5ef;border-color:#93b2a2}
.proposal-lean .lean-choice.is-primary{background:#e8f1ec}
.proposal-lean .lean-required{color:#a44427}
.proposal-lean .lean-reuse-preview{white-space:pre-line;padding:14px 18px;margin:0 0 22px;border-left:3px solid #6c9783;background:#f0f6f3;line-height:1.7;overflow-wrap:anywhere}
.proposal-lean .lean-readonly{padding:11px 14px;background:#f4f6f0;border-radius:6px;margin:0}
.proposal-lean .lean-actions{border-top:1px solid #d8ded4;padding-top:22px;margin-top:26px;gap:14px}
.proposal-lean [hidden],.lean-journey [hidden],[data-catalogue-settings] [hidden]{display:none!important}
[data-catalogue-settings] .is-inactive{background:#edf0eb;color:#67716d;border-color:#d2d9d0}
@media(max-width:760px){.lean-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.proposal-lean .lean-section{padding:22px 18px}.proposal-lean .form-grid,.proposal-lean .lean-check-grid{grid-template-columns:minmax(0,1fr)}.proposal-lean .lean-identity{flex-direction:column}.proposal-lean .lean-actions{display:flex;flex-direction:column}.proposal-lean .lean-actions button{width:100%}.lean-section h2{gap:10px}.proposal-lean .lean-optional>.form-grid{padding:16px}}
@media(prefers-reduced-motion:reduce){.lean-journey *{scroll-behavior:auto!important}}
