/* URL-first intake, using the current Operations type and colour tokens. */
.resource-optional{margin:26px 0;border-block:1px solid var(--line);padding:12px 0}
.resource-optional summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--blue);font-weight:600}
.resource-optional summary span{font-weight:400;color:var(--ink-soft)}
.resource-optional summary::after{content:'+';margin-left:auto}.resource-optional[open] summary::after{content:'−'}
.resource-form input[type=url]{width:100%;font-size:20px!important}
.resource-action-choice{border:1px solid var(--line);border-radius:12px;margin:24px 0;padding:16px;min-width:0}
.resource-action-choice legend{font-weight:650;padding:0 8px}
.resource-action-choice #id_requested_mode label{display:flex;align-items:center;gap:10px;min-height:44px}
.resource-action-choice select{max-width:100%}
.resource-action-choice .research-grant-choice{display:none;margin-top:12px}
.resource-action-choice:has(input[value="research"]:checked) .research-grant-choice{display:block}
.resource-row p,.resource-source a,.resource-title{overflow-wrap:anywhere}
.resource-routing{max-width:900px}.resource-routing input[type=search]{flex:1;min-width:0}
.resource-route-form #id_area label{display:flex;align-items:center;gap:12px;min-height:48px;border-bottom:1px solid var(--line);padding:8px}
.resource-route-form #id_area label:has(:checked){background:var(--surface-cool);border-left:3px solid var(--accent)}
.resource-route-form #id_area{max-height:360px;overflow:auto;border:1px solid var(--control);padding:8px}
.resource-route-form fieldset{border:0;padding:0;min-width:0}.resource-route-form legend{font-weight:600;margin:18px 0 8px}
.resource-form .atlas-actions,.resource-route-form .atlas-actions{margin-top:24px}
@media(max-width:650px){.resource-routing .community-inline input{width:100%}.resource-title{font-size:30px!important}}
