.module-learning .lp-section{overflow:hidden;border:1px solid #315874;border-radius:20px;background:linear-gradient(145deg,#0a2743,#071a31 60%,#0a1d37);box-shadow:0 20px 60px #0004}
.module-learning .lp-heading{display:flex;align-items:flex-start;gap:18px;padding:26px 28px;border-bottom:1px solid #2e506c}.module-learning .lp-heading>div{min-width:0}.module-learning .lp-heading small{color:#57dfd0;font-size:.7rem;font-weight:900;letter-spacing:.16em}.module-learning .lp-heading h2{margin:5px 0 7px;color:#fff;font-size:clamp(1.45rem,2.5vw,2.1rem)}.module-learning .lp-heading p{margin:0;color:#a9c9da;line-height:1.55}.module-learning .lp-icon{display:grid;place-items:center;flex:none;width:54px;height:54px;border-radius:16px;font-size:1.6rem;font-weight:900}.module-learning .lp-icon.mint{color:#53dfc8;background:#0e5b5c}.module-learning .lp-icon.gold{color:#ffd15e;background:#5b4717}.module-learning .lp-icon.blue{color:#72c5ff;background:#173e66}
.module-learning .lp-subtabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:22px}.module-learning .lp-subtabs>input{position:absolute;opacity:0;pointer-events:none}.module-learning .lp-subtabs>label{padding:15px 20px;border:1px solid #345774;background:#09223d;color:#bcd5e5;cursor:pointer;font-weight:800}.module-learning .lp-subtabs>label:nth-of-type(1){border-radius:12px 0 0 12px}.module-learning .lp-subtabs>label:nth-of-type(2){border-radius:0 12px 12px 0}.module-learning .lp-subtabs>label b{float:right;padding:3px 8px;border-radius:99px;background:#1b4f6b;color:#dffaff}.module-learning #lp-technical:checked+label,.module-learning #lp-behavioral:checked+label{background:#174b65;border-color:#42d5c8;color:#fff}.module-learning .lp-subpanel{grid-column:1/-1;display:none;padding-top:20px}.module-learning #lp-technical:checked~.lp-technical,.module-learning #lp-behavioral:checked~.lp-behavioral{display:block}
.module-learning .lp-drawer{margin:20px 24px;border:1px solid #376983;border-radius:13px;background:#0d344c}.module-learning .lp-subpanel>.lp-drawer{margin:0 0 20px}.module-learning .lp-drawer>summary{padding:15px 18px;color:#5be2d0;cursor:pointer;font-weight:800}.module-learning .lp-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:20px;border-top:1px solid #376983}.module-learning .lp-form label{display:grid;gap:6px;color:#bed8e7;font-size:.82rem;font-weight:700}.module-learning .lp-form label.wide,.module-learning .lp-form .lp-audience{grid-column:1/-1}.module-learning .lp-form input,.module-learning .lp-form select,.module-learning .lp-form textarea,.module-learning .lp-decision input{box-sizing:border-box;width:100%;min-height:42px;padding:9px 12px;border:1px solid #456d88;border-radius:9px;background:#071b31;color:#fff;font:inherit}.module-learning .lp-form textarea{min-height:100px}.module-learning .lp-primary,.module-learning .lp-decision button{align-self:end;min-height:42px;padding:10px 16px;border:0;border-radius:9px;background:linear-gradient(110deg,#4fe0c9,#4eb8e8);color:#072032;font-weight:900;cursor:pointer}.module-learning .lp-audience{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:220px;overflow:auto;padding:12px;border:1px solid #456d88;border-radius:10px}.module-learning .lp-audience legend{color:#ffd15e;font-weight:800}.module-learning .lp-audience label{display:flex;align-items:center;gap:8px}.module-learning .lp-audience input{width:18px;min-height:18px;accent-color:#4fe0c9}
.module-learning .lp-matrix{margin:20px 24px;overflow:auto;border:1px solid #315874;border-radius:13px}.module-learning .lp-subpanel .lp-matrix{margin:0}.module-learning .lp-matrix-head,.module-learning .lp-matrix article{display:grid;grid-template-columns:1fr 1.7fr .7fr .7fr 1.3fr;align-items:center;gap:12px;min-width:730px;padding:14px 18px}.module-learning .lp-matrix-head{background:#103b56;color:#84bbd2;font-size:.72rem;text-transform:uppercase}.module-learning .lp-matrix article{border-top:1px solid #31506d;color:#e9f6fb}.module-learning .lp-matrix article strong{color:#fff}.module-learning .lp-matrix article small{color:#a8c7da}.module-learning .lp-priority{justify-self:start;padding:5px 9px;border-radius:99px;background:#1c4a5d;color:#7fe0e2;font-size:.7rem;font-style:normal;font-weight:800}.module-learning .lp-priority.high{background:#673929;color:#ffb59e}.module-learning .lp-priority.medium{background:#5a471f;color:#ffdd87}.module-learning .lp-empty{padding:24px;color:#a8c7da}
.module-learning .lp-quarter-matrix{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.module-learning .lp-quarter-matrix section{min-height:180px;padding:14px;border:1px solid #315874;border-radius:13px;background:#082138}.module-learning .lp-quarter-matrix header{display:flex;justify-content:space-between;color:#ffd264}.module-learning .lp-quarter-matrix header b{font-size:1.2rem}.module-learning .lp-quarter-matrix article{display:grid;gap:8px;margin-top:13px;padding:12px;border-radius:9px;background:#123e55}.module-learning .lp-quarter-matrix article span{color:#afd0dc;font-size:.75rem}
.module-learning .lp-budget-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 24px}.module-learning .lp-budget-summary article{display:grid;gap:8px;padding:18px;border:1px solid #376080;border-radius:13px;background:#0c3047}.module-learning .lp-budget-summary article:nth-child(2){background:#342b20}.module-learning .lp-budget-summary article:nth-child(3){background:#124238}.module-learning .lp-budget-summary article.over{background:#62312d}.module-learning .lp-budget-summary small{color:#b8d2dd}.module-learning .lp-budget-summary b{font-size:1.6rem;color:#fff}.module-learning .lp-budget-summary progress{width:100%;accent-color:#f1c65a}.module-learning .lp-budget-tools{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 24px}.module-learning .lp-budget-tools .lp-drawer{margin:0}.module-learning .lp-budget-tools .lp-form{grid-template-columns:1fr 1fr}.module-learning .lp-cost-breakdown{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:22px 24px}.module-learning .lp-cost-breakdown article{display:grid;gap:7px;padding:15px;border:1px solid #315874;border-radius:11px;background:#09233a}.module-learning .lp-cost-breakdown b{font-size:1.25rem}.module-learning .lp-cost-breakdown small{color:#9db9cb}.module-learning .lp-cost-breakdown article>div{height:7px;border-radius:99px;background:#22465e}.module-learning .lp-cost-breakdown i{display:block;width:var(--value);height:100%;border-radius:99px;background:#52d6c5}.module-learning .lp-events .lp-matrix-head,.module-learning .lp-events article{grid-template-columns:1.2fr 1.8fr .7fr 1.1fr .7fr}
.module-learning .lp-request-list{display:grid;gap:12px;padding:0 24px 24px}.module-learning .lp-request-list article{display:flex;justify-content:space-between;gap:24px;padding:19px;border:1px solid #315874;border-radius:12px;background:#0b2941}.module-learning .lp-request-list article small{color:#8eb8cc}.module-learning .lp-request-list article h3{margin:7px 0;color:#fff}.module-learning .lp-request-list article p{margin:0 0 9px;color:#b6d1df}.module-learning .lp-route{color:#5fdfcd;font-size:.75rem}.module-learning .lp-request-side{display:grid;justify-items:end;align-content:start;gap:12px;min-width:250px}.module-learning .lp-status{padding:7px 11px;border-radius:99px;background:#254662;color:#d7edfb;font-size:.75rem;font-style:normal;font-weight:900;text-transform:capitalize}.module-learning .lp-status.approved{background:#145b4a;color:#8ff0cc}.module-learning .lp-status.rejected{background:#63352f;color:#ffb4a5}.module-learning .lp-decision{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.module-learning .lp-decision input{flex-basis:100%}.module-learning .lp-decision button:last-child{background:#a74646;color:#fff}
@media(max-width:1050px){.module-learning .lp-quarter-matrix{grid-template-columns:repeat(2,1fr)}.module-learning .lp-cost-breakdown{grid-template-columns:repeat(3,1fr)}.module-learning .lp-budget-summary{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.module-learning .lp-heading{padding:20px}.module-learning .lp-subtabs{padding:12px}.module-learning .lp-subtabs>label{padding:10px;font-size:.8rem}.module-learning .lp-form,.module-learning .lp-budget-tools,.module-learning .lp-budget-tools .lp-form{grid-template-columns:1fr}.module-learning .lp-audience{grid-template-columns:1fr 1fr}.module-learning .lp-quarter-matrix{grid-template-columns:1fr}.module-learning .lp-cost-breakdown{grid-template-columns:repeat(2,1fr)}.module-learning .lp-request-list article{flex-direction:column}.module-learning .lp-request-side{justify-items:start;min-width:0}.module-learning .lp-matrix{margin:12px}.module-learning .lp-budget-summary,.module-learning .lp-budget-tools,.module-learning .lp-cost-breakdown{margin:12px}}
.module-learning .lp-effect-summary{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0;padding:16px;border:1px solid #2f617b;border-radius:12px;background:#0c3046;color:#bcd8e6}.module-learning .lp-effect-summary span{padding:9px 14px;border-radius:9px;background:#123f57}.module-learning .lp-effect-summary b{margin-right:5px;color:#5de2d0;font-size:1.25rem}
.module-learning .lp-year-filter{display:flex;align-items:end;gap:10px;margin:18px 24px 0}.module-learning .lp-year-filter label{display:grid;gap:5px;color:#a9c9da;font-size:.75rem}.module-learning .lp-year-filter select,.module-learning .lp-year-filter button{min-height:40px;padding:8px 12px;border:1px solid #456d88;border-radius:8px;background:#0b304b;color:#fff;font:inherit}.module-learning .lp-year-filter button{background:#215779;color:#ffd36c;cursor:pointer;font-weight:800}
.module-learning .dual-date:focus-within{z-index:50}.module-learning .lp-summary-filter{display:flex;align-items:center;gap:10px}.module-learning .lp-summary-filter input{flex:1}.module-learning .lp-budget-delete{display:flex;align-items:center;justify-content:center;padding:12px;border:1px solid #743b49;border-radius:13px;background:#271c2a}.module-learning .lp-budget-delete .danger{width:100%}
.lp-budget-tools > details:nth-child(2){display:none}
.module-learning .lp-subtabs{grid-template-columns:repeat(3,minmax(0,1fr))}.module-learning #lp-technical:checked+label,.module-learning #lp-behavioral:checked+label,.module-learning #lp-summary:checked+label{background:#174b65;border-color:#42d5c8;color:#fff}.module-learning #lp-technical:checked~.lp-technical,.module-learning #lp-behavioral:checked~.lp-behavioral,.module-learning #lp-summary:checked~.lp-summary{display:block}.module-learning .lp-cycle-list{display:grid;gap:10px;padding:20px 24px}.module-learning .lp-cycle-row{display:grid;grid-template-columns:1fr auto auto auto;align-items:center;gap:12px;padding:14px 16px;border:1px solid #315874;border-radius:12px;background:linear-gradient(100deg,#0b3049,#102b4c)}.module-learning .lp-cycle-row div{display:grid;gap:4px}.module-learning .lp-cycle-row small{color:#9fc1d1}.module-learning .lp-cycle-row form{margin:0}.module-learning .lp-cycle-row button{min-height:34px;padding:7px 12px}.module-learning .lp-summary-filter{margin:0 24px 14px}.module-learning .lp-summary-filter input{width:100%;min-height:42px;padding:9px 12px;border:1px solid #456d88;border-radius:9px;background:#071b31;color:#fff;font:inherit}.module-learning .lp-summary-table{margin:0 24px 24px;overflow:auto;border:1px solid #315874;border-radius:13px}.module-learning .lp-summary-table table{width:100%;border-collapse:collapse;min-width:760px}.module-learning .lp-summary-table th,.module-learning .lp-summary-table td{padding:13px 15px;border-bottom:1px solid #294c67;text-align:left}.module-learning .lp-summary-table th{background:#103b56;color:#8fc4d4;font-size:.72rem;text-transform:uppercase}.module-learning .lp-summary-table td{color:#e8f4fb}.module-learning .lp-summary-table .kind-technical{color:#69d8ff}.module-learning .lp-summary-table .kind-behavioral{color:#ffcf63}@media(max-width:720px){.module-learning .lp-subtabs{grid-template-columns:1fr}.module-learning .lp-cycle-row{grid-template-columns:1fr 1fr}.module-learning .lp-cycle-row div{grid-column:1/-1}}
.lp-delivery [hidden],.lp-reaction [hidden]{display:none!important}
.lp-delivery-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.8fr);gap:22px;margin:24px 0}
.lp-delivery-form,.lp-delivery-steps,.lp-delivery-list,.lp-reaction{border:1px solid #254d68;border-radius:20px;background:#09243b;padding:24px}
.lp-delivery-form h3,.lp-delivery-steps h3,.lp-delivery-list h3{margin:0 0 18px;color:#fff}
.lp-delivery-form h4{margin:10px 0 0;color:#f7c54c}
.lp-delivery-audience{max-height:270px;overflow:auto}
.lp-delivery-selected{grid-column:1/-1;color:#53ddcd;font-weight:700}
.lp-delivery-steps ol{list-style:none;padding:0;margin:0;display:grid;gap:16px}
.lp-delivery-steps li{display:flex;align-items:flex-start;gap:12px;color:#afcadd;line-height:1.5}
.lp-delivery-steps li b{display:grid;place-items:center;flex:none;width:31px;height:31px;border-radius:10px;background:#154968;color:#53ddcd}
.lp-delivery-list article,.lp-delivery-self article{display:flex;justify-content:space-between;gap:18px;border-top:1px solid #20425a;padding:16px 0;color:#bdd7e8}
.lp-delivery-list article h4{margin:4px 0;color:white}.lp-delivery-list article p{margin:0}.lp-delivery-list article span{white-space:nowrap}
.lp-reaction{margin:20px 0}.lp-reaction-head{display:flex;justify-content:space-between;align-items:center;gap:18px}.lp-reaction-head small{color:#4bdfd4;font-weight:800;letter-spacing:.1em}.lp-reaction-head h3{color:#fff;font-size:1.45rem;margin:5px 0}.lp-reaction-head p{margin:0;color:#a8c7d9}.lp-reaction-count{padding:10px 14px;background:#103650;border-radius:99px;color:#f6c94f;white-space:nowrap}
.lp-reaction-drawer{margin:20px 0}.lp-reaction-send{display:grid;gap:18px}.lp-reaction-send>label,.lp-reaction-note{display:grid;gap:7px;color:#b8d2e2}.lp-reaction-send select,.lp-reaction-questions select,.lp-reaction-note textarea{width:100%;background:#061b2d;border:1px solid #33617d;border-radius:11px;color:#fff;padding:12px}
.lp-reaction-rows{border:1px solid #28506b;border-radius:14px;max-height:330px;overflow:auto;padding:14px}.lp-reaction-rows-head{display:flex;justify-content:space-between;color:#fff;margin-bottom:10px}.lp-reaction-rows-head small{color:#9abfd4}.lp-reaction-row{display:flex;align-items:center;gap:13px;padding:12px;border-top:1px solid #254b63;color:#fff}.lp-reaction-row input{accent-color:#46d9cf;width:18px;height:18px}.lp-reaction-row span{display:grid;gap:2px;flex:1}.lp-reaction-row small{color:#9abfd4}.lp-reaction-row em,.lp-reaction-status em{font-style:normal;color:#51dfca}.lp-reaction-row em.sent{color:#f5c554}
.lp-reaction-status{display:grid;gap:9px}.lp-reaction-status h4{margin:0 0 2px;color:#fff}.lp-reaction-status span{display:flex;gap:8px;align-items:center;color:#a8c8d9}.lp-reaction-status b{color:#fff}
.lp-reaction-survey{border-top:1px solid #2c566f;padding-top:22px;margin-top:22px}.lp-reaction-survey h4{margin:4px 0;color:#fff;font-size:1.2rem}.lp-reaction-survey p{color:#adcadd}.lp-reaction-questions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.lp-reaction-questions label{display:grid;gap:7px;color:#d7e6ef}.lp-reaction-note{margin-bottom:18px}.lp-reaction-clear,.lp-reaction-done{padding:14px;color:#a9cddd;border-top:1px solid #254b63}
@media(max-width:900px){.lp-delivery-grid{grid-template-columns:1fr}.lp-reaction-questions{grid-template-columns:1fr}.lp-reaction-head{align-items:flex-start;flex-direction:column}}
.lp-mail-status{display:flex;flex-wrap:wrap;gap:12px;align-items:center;border:1px solid #25536a;border-radius:14px;padding:14px 18px;color:#bdd6e3}.lp-mail-status b{color:#fff;margin-inline-end:auto}.lp-mail-status span{background:#123c55;padding:6px 10px;border-radius:8px}
.lp-analysis{padding:22px;background:radial-gradient(circle at 83% 3%,rgba(117,75,220,.21),transparent 34%),linear-gradient(155deg,#081d32,#07172a);border-radius:22px;color:#e5f5ff}.lp-analysis-hero{display:flex;align-items:center;justify-content:space-between;overflow:hidden;border:1px solid #285978;border-radius:23px;padding:30px;background:linear-gradient(110deg,#0a3553,#132d55 60%,#392d72)}.lp-analysis-hero small{color:#5ae4d8;font-weight:800;letter-spacing:.12em}.lp-analysis-hero h2{font-size:clamp(1.6rem,3vw,2.4rem);margin:8px 0;color:#fff}.lp-analysis-hero p{margin:0;color:#bad7e6}.lp-analysis-glow{font-size:6rem;color:#ffd360;text-shadow:0 0 34px #ffcf54;line-height:1}
.lp-analysis-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:18px 0}.lp-analysis-kpis article{display:grid;gap:5px;border:1px solid #2b536e;border-radius:18px;background:linear-gradient(155deg,#0d304a,#0a233a);padding:20px}.lp-analysis-kpis small{color:#a9c9da}.lp-analysis-kpis strong{font-size:2rem;color:#fff}.lp-analysis-kpis p{margin:0;color:#75abc5;font-size:.86rem}.lp-analysis-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;font-size:1.3rem;font-weight:800}.lp-analysis-icon.cyan{background:#10475c;color:#55e7dc}.lp-analysis-icon.violet{background:#3b3468;color:#c3a3ff}.lp-analysis-icon.gold{background:#59492a;color:#ffd466}.lp-analysis-icon.green{background:#174d40;color:#69e6b9}
.lp-analysis-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}.lp-analysis-chart{border:1px solid #28516b;border-radius:19px;background:#0a243a;padding:22px;min-height:245px}.lp-analysis-chart header{display:flex;justify-content:space-between;gap:10px;align-items:center}.lp-analysis-chart h3{margin:0;color:#fff;font-size:1.08rem}.lp-analysis-chart header small{color:#65dcd3}.lp-quarter-chart{height:180px;display:grid;grid-template-columns:repeat(4,1fr);align-items:end;gap:20px;padding:18px 9px 0;border-bottom:1px solid #2d5770}.lp-quarter-chart>div{height:100%;display:flex;align-items:center;flex-direction:column;justify-content:flex-end;gap:6px;color:#c8e2f0}.lp-quarter-chart>div>b{font-size:.85rem}.lp-quarter-chart>div>span{display:block;width:min(58px,100%);height:max(5px,var(--height));border-radius:10px 10px 0 0;background:linear-gradient(#5ee9de,#288cb5);box-shadow:0 0 20px #2cc6cf55}.lp-quarter-chart small{font-weight:800}.lp-analysis-levels,.lp-analysis-costs{display:grid;gap:15px;margin-top:27px}.lp-analysis-levels>div,.lp-analysis-costs>div{display:grid;grid-template-columns:82px 1fr 62px;gap:10px;align-items:center;color:#c8dfeb;font-size:.9rem}.lp-analysis-levels>div>div,.lp-analysis-costs>div>div{height:11px;border-radius:99px;background:#183e56;overflow:hidden}.lp-analysis-levels i,.lp-analysis-costs i{display:block;width:var(--value);height:100%;border-radius:99px;background:linear-gradient(90deg,#45d9cc,#82a8ff)}.lp-analysis-levels b,.lp-analysis-costs b{text-align:right;color:#fff}.lp-analysis-costs i{background:linear-gradient(90deg,#ffcf68,#ff8f72)}.lp-analysis-budget-number{display:grid;gap:5px;margin:29px 0 18px}.lp-analysis-budget-number span{color:#a5c3d5}.lp-analysis-budget-number strong{font-size:2.25rem;color:#63e4cf}.lp-analysis-budget progress{width:100%;accent-color:#4bdacb}.lp-analysis-budget p{color:#acd0e1}.lp-analysis-mail{display:flex;flex-wrap:wrap;gap:8px;margin-top:25px}.lp-analysis-mail span{border-radius:99px;padding:7px 10px;background:#143e59;color:#d7eaf3;font-size:.85rem}.lp-analysis-footnote{color:#84aabd;font-size:.85rem;margin:18px 2px 0}
@media(max-width:1050px){.lp-analysis-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:740px){.lp-analysis-grid,.lp-analysis-kpis{grid-template-columns:1fr}.lp-analysis-hero{padding:22px}.lp-analysis-glow{font-size:3rem}}

/* Keep every learning editor inside its own section instead of a narrow flyout. */
.module-learning .lp-section,.module-learning .lp-subtabs,.module-learning .lp-subpanel,.module-learning .lp-budget-tools,.module-learning .lp-delivery-grid{min-width:0}
.module-learning .lp-drawer,.module-learning .local-create-drawer{position:relative;inset:auto;box-sizing:border-box;min-width:0;max-width:100%}
.module-learning .lp-drawer[open],.module-learning .local-create-drawer[open]{position:relative;inset:auto;z-index:auto;display:block;width:100%;height:auto;max-height:none;margin-inline:0;overflow:visible;padding:0;border:1px solid #42819a;border-radius:14px;background:#0b2a43;backdrop-filter:none;box-shadow:0 14px 34px #0003}
.module-learning .lp-drawer[open]>summary,.module-learning .local-create-drawer[open]>summary{position:static;box-sizing:border-box;display:list-item;width:auto;max-width:none;padding:16px 20px;border:0;border-radius:13px 13px 0 0;background:#123b55;color:#60e6d3;list-style:disclosure-open;cursor:pointer}
.module-learning .local-create-drawer[open]>summary::after{display:none}
.module-learning .lp-drawer[open]>form,.module-learning .local-create-drawer[open]>form,.module-learning .local-create-drawer[open]>.two-col{position:static;box-sizing:border-box;display:grid;width:100%;max-width:none;max-height:none;min-width:0;overflow:visible;margin:0;padding:20px;border:0;border-top:1px solid #376983;border-radius:0 0 13px 13px;background:#0a253d;box-shadow:none}
.module-learning .lp-form,.module-learning .local-create-drawer .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.module-learning .lp-form>* ,.module-learning .local-create-drawer .form-grid>*{min-width:0}
.module-learning .lp-form :is(input,select,textarea),.module-learning .local-create-drawer .form-grid :is(input,select,textarea){box-sizing:border-box;min-width:0;max-width:100%;width:100%}
.module-learning .lp-form .wide,.module-learning .lp-form .lp-audience,.module-learning .local-create-drawer .form-grid .wide{grid-column:1/-1}
.module-learning .lp-form>.lp-primary{grid-column:1/-1;justify-self:end;min-width:190px}
.module-learning .lp-budget-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
.module-learning .lp-budget-tools>.lp-drawer[open]{grid-column:1/-1}
.module-learning .catalog-head:has(.local-create-drawer[open]){display:grid;grid-template-columns:minmax(0,1fr)}
.module-learning .catalog-head .local-create-drawer[open]{min-width:0;width:100%}
.module-learning .local-create-drawer[open]>.two-col{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.module-learning .local-create-drawer[open]>.two-col>form{grid-template-columns:minmax(0,1fr);min-width:0}
.module-learning .admin-panel>details>form.form-grid{position:static;box-sizing:border-box;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:100%;margin-top:14px}
.module-learning .admin-panel>details>form.form-grid fieldset{min-width:0}
.module-learning .admin-panel>details>form.form-grid :is(input,select,textarea){box-sizing:border-box;max-width:100%;width:100%}
@media(max-width:760px){.module-learning .lp-form,.module-learning .lp-budget-tools,.module-learning .lp-budget-tools .lp-form,.module-learning .local-create-drawer .form-grid,.module-learning .local-create-drawer[open]>.two-col{grid-template-columns:minmax(0,1fr)}.module-learning .lp-form>.lp-primary{justify-self:stretch;min-width:0}.module-learning .lp-drawer[open]>form,.module-learning .local-create-drawer[open]>form,.module-learning .local-create-drawer[open]>.two-col{padding:16px}.module-learning .lp-budget-tools>.lp-drawer[open]{grid-column:auto}}

/* Dedicated editors use a real dialog with an explicit close action. */
.module-learning .learning-editor-dialog{box-sizing:border-box;width:min(780px,calc(100vw - 32px));max-width:none;max-height:min(88vh,880px);margin:auto;padding:0;overflow:auto;border:1px solid #4b829d;border-radius:18px;background:#09243d;color:#eef9ff;box-shadow:0 28px 90px #000b}
.module-learning .learning-editor-dialog::backdrop{background:rgba(2,10,24,.82);backdrop-filter:blur(5px)}
.module-learning .learning-editor-dialog>header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;border-bottom:1px solid #315c78;background:#103750}
.module-learning .learning-editor-dialog>header small{color:#61e0d1;font-size:.7rem;font-weight:800;letter-spacing:.1em}
.module-learning .learning-editor-dialog>header h2{margin:4px 0 0;color:#fff;font-size:1.35rem}
.module-learning .learning-editor-dialog>header button{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #517c94;border-radius:10px;background:#09243d;color:#fff;font:inherit;font-size:1.5rem;cursor:pointer}
.module-learning .learning-editor-dialog>form{box-sizing:border-box;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%;margin:0;padding:22px;border:0;background:none}
.module-learning .learning-editor-dialog>form label{display:grid;gap:7px;min-width:0;color:#bcd5e6;font-size:.85rem;font-weight:700}
.module-learning .learning-editor-dialog>form :is(input,select,textarea){box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #426c87;border-radius:9px;background:#061b31;color:#fff;font:inherit}
.module-learning .learning-editor-dialog>form .wide{grid-column:1/-1}
.module-learning .learning-editor-dialog>form footer{display:flex;justify-content:flex-end;gap:10px;margin-top:6px}
.module-learning .learning-editor-dialog>form footer button{min-height:42px;padding:10px 17px;border:1px solid #426c87;border-radius:9px;background:#153b57;color:#e9f6ff;font:inherit;font-weight:800;cursor:pointer}
.module-learning .learning-editor-dialog>form footer button.primary,.module-learning .learning-editor-dialog>form footer button.lp-primary{border:0;background:linear-gradient(110deg,#4fe0c9,#4eb8e8);color:#06243a}
.module-learning .learning-catalog-create{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 15px;border:1px solid #4090a3;border-radius:11px;background:#103b55;color:#62e5d1;font:inherit;font-weight:800;cursor:pointer}
.module-learning .learning-catalog-create svg{width:18px;height:18px}
.module-learning .lp-drawer[open]>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none}
.module-learning .lp-drawer[open]>summary::after{content:'Close ×';font-size:.78rem;color:#ffd271;white-space:nowrap}
.module-learning .lp-needs-matrix .lp-matrix-head,.module-learning .lp-needs-matrix article{grid-template-columns:1fr 1.45fr .72fr .7fr 1.15fr auto;min-width:940px}
.module-learning .lp-row-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.module-learning .lp-row-actions form{margin:0}
.module-learning .lp-row-actions button,.module-learning .learning-course-archive button{padding:7px 10px;border:1px solid #3e7791;border-radius:8px;background:#123e59;color:#a8f1e4;font:inherit;font-size:.78rem;font-weight:800;cursor:pointer}
.module-learning .lp-row-actions button.danger,.module-learning .learning-course-archive button.danger{border-color:#914d58;background:#3e2530;color:#ffc2c4}
.module-learning .learning-course-archive{margin-top:11px}
@media(max-width:650px){.module-learning .learning-editor-dialog{width:calc(100vw - 16px);max-height:calc(100vh - 24px)}.module-learning .learning-editor-dialog>form{grid-template-columns:minmax(0,1fr);padding:16px}.module-learning .learning-editor-dialog>form footer{flex-direction:column-reverse}.module-learning .learning-editor-dialog>form footer button{width:100%}}
.module-learning .learning-editor-dialog{width:min(860px,calc(100vw - 32px));max-height:calc(100dvh - 48px)}
.module-learning .learning-editor-dialog>form .lp-audience{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;overflow:visible;gap:8px;padding:16px;border-radius:14px}
.module-learning .learning-editor-dialog>form .lp-audience label{box-sizing:border-box;display:flex;flex-direction:row;align-items:center;gap:10px;min-height:44px;margin:0;padding:10px 12px;border:1px solid #315a78;border-radius:10px;background:#0d2d47;cursor:pointer}
.module-learning .learning-editor-dialog>form .lp-audience label:has(input:checked){border-color:#50dbc7;background:#16463f}
.module-learning .learning-editor-dialog>form .lp-audience input[type=checkbox]{appearance:auto;display:block;flex:0 0 18px;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:0!important;padding:0!important;border:0!important;border-radius:4px!important;background:transparent!important;accent-color:#45dac6}
.module-learning .learning-editor-dialog>form .lp-audience label span{min-width:0;line-height:1.35}
html[data-theme=light] .module-learning .learning-editor-dialog>form .lp-audience label{border-color:#d5e2ed;background:#f8fafd;color:#17324a}
html[data-theme=light] .module-learning .learning-editor-dialog>form .lp-audience label:has(input:checked){border-color:#2864bd;background:#eaf1fc}
@media(max-width:650px){.module-learning .learning-editor-dialog>form .lp-audience{grid-template-columns:1fr}}

/* Assignment editor is a dedicated modal, never a positioned details flyout. */
.module-learning .learning-assignment-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px;padding:17px 20px;border:1px solid #315874;border-radius:14px;background:#0a2942;color:#afcddd}
.module-learning .learning-assignment-toolbar button{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:10px 17px;border:1px solid #48a9b0;border-radius:10px;background:#10516a;color:#79efdc;font:inherit;font-weight:800;cursor:pointer;white-space:nowrap}
.module-learning .learning-assignment-toolbar button svg{width:19px;height:19px}
.module-learning .learning-assignment-dialog{width:min(950px,calc(100vw - 32px))}
.module-learning .learning-assignment-forms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:22px}
.module-learning .learning-assignment-forms>form{display:grid;align-content:start;gap:14px;min-width:0;margin:0;padding:18px;border:1px solid #315c78;border-radius:13px;background:#0c2b43}
.module-learning .learning-assignment-forms h3{margin:0;color:#fff;font-size:1.05rem}
.module-learning .learning-assignment-forms label{display:grid;gap:7px;min-width:0;color:#bcd5e6;font-size:.85rem;font-weight:700}
.module-learning .learning-assignment-forms :is(input,select){box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #426c87;border-radius:9px;background:#061b31;color:#fff;font:inherit}
.module-learning .learning-assignment-forms button,.module-learning .learning-assignment-dialog>footer button{min-height:43px;padding:10px 16px;border:0;border-radius:9px;background:linear-gradient(110deg,#4fe0c9,#4eb8e8);color:#06243a;font:inherit;font-weight:800;cursor:pointer}
.module-learning .learning-assignment-dialog>footer{display:flex;justify-content:flex-end;padding:0 22px 22px}
.module-learning .learning-assignment-dialog>footer button{min-width:110px;border:1px solid #426c87;background:#153b57;color:#e9f6ff}
@media(max-width:700px){.module-learning .learning-assignment-toolbar{align-items:stretch;flex-direction:column}.module-learning .learning-assignment-forms{grid-template-columns:minmax(0,1fr);padding:14px}}
