.partnership-page .portal-local-tools{margin:2rem 0;padding:clamp(1rem,3vw,1.7rem);border:1px solid #b5c8ba;border-radius:20px;background:linear-gradient(145deg,#fcfaf3,#edf3e9);color:#183f2d;scroll-margin-top:7rem}
.portal-local-tools [hidden],.portal-correction-tools [hidden]{display:none!important}
.portal-local-tools summary,.portal-correction-tools summary{cursor:pointer;font-weight:750;min-height:44px;line-height:1.45;padding:.65rem .2rem;overflow-wrap:anywhere}
.portal-local-tools summary small{display:block;font-weight:400;font-size:.95rem;margin:.25rem 0}
.portal-local-fields{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1rem 0}.portal-local-fields label{display:grid;gap:.35rem;font-weight:700;min-width:0}
.portal-local-tools select,.portal-correction-tools select{min-width:0;width:100%;min-height:46px;border:1px solid #728b79;border-radius:10px;background:#fffdf6;color:#153a29;padding:.55rem;font:inherit}
.portal-local-consent{display:flex;align-items:flex-start;gap:.65rem;min-height:44px;padding:.6rem 0;font-weight:650}.portal-local-consent input{width:23px;height:23px;flex:none;margin:.1rem 0 0;accent-color:#18533a}
.portal-local-actions{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;margin:.7rem 0}.portal-local-actions>*{max-width:100%;overflow-wrap:anywhere}
.portal-local-tools button,.portal-local-tools .portal-local-actions a,.portal-correction-tools button,.portal-correction-tools a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #39684e;border-radius:12px;padding:.6rem .9rem;background:#f8fbf4;color:#173f2b;font:650 .95rem/1.35 system-ui,sans-serif;text-decoration:underline;text-underline-offset:.18em;cursor:pointer}
.portal-local-tools button:disabled,.portal-correction-tools button:disabled{opacity:.65;cursor:not-allowed}.portal-local-tools [data-search-save]{background:#20513b;color:#fff9e9}
.portal-local-tools [data-saved-searches] ul{margin:1rem 0;padding:0;list-style:none}.portal-local-tools [data-saved-searches] li{padding:.9rem;border:1px solid #cad6c9;border-radius:12px;margin:.7rem 0;background:#fffdf8;overflow-wrap:anywhere}
.portal-local-tools [role=status],.portal-correction-tools [role=status]{min-height:1.5em;font-size:.95rem;line-height:1.55;overflow-wrap:anywhere}.portal-local-tools [data-search-confirm]{padding:1rem;border:2px solid #8b6130;border-radius:12px;background:#fff9ed}
.portal-correction-tools{margin-top:1.2rem;padding:.8rem;border:1px solid #a6bfac;border-radius:12px}.portal-correction-tools label{display:block;margin:.55rem 0;font-weight:650}.portal-correction-tools textarea{display:block;width:100%;min-height:7rem;resize:vertical;font:inherit;line-height:1.5;padding:.6rem;border:1px solid #708d78;border-radius:8px;background:#fffdf6;color:#173b2a;overflow-wrap:anywhere}.portal-correction-tools a{margin:.7rem 0}
.portal-local-tools :is(a,button,select,input,summary):focus-visible,.portal-correction-tools :is(a,button,select,summary,textarea):focus-visible{outline:3px solid #6d4a0c;outline-offset:3px;box-shadow:0 0 0 2px #fffdf5}
.dark-mode .portal-local-tools,.dark-mode .portal-correction-tools{background:#19392d;color:#fff7e3;border-color:#77927d}.dark-mode .portal-local-tools [data-saved-searches] li{background:#254a38;color:#fff9e9}.dark-mode .portal-local-tools [data-search-confirm]{background:#3d321f;color:#fff9e9}.dark-mode .portal-local-tools :focus-visible,.dark-mode .portal-correction-tools :focus-visible{outline-color:#f0d682;box-shadow:0 0 0 2px #163428}
@media(max-width:560px){.portal-local-fields{grid-template-columns:1fr}.portal-local-tools .portal-local-actions{align-items:stretch}.portal-local-tools .portal-local-actions>*{flex:1 1 10rem}.portal-local-tools h3{overflow-wrap:anywhere}}
@media print{.portal-local-tools,.portal-correction-tools,[data-source-download]{display:none!important}body.portal-printing-source .portal-print-target .portal-correction-tools{display:none!important}}
