:root{font-family:Segoe UI,Arial,sans-serif;color:#213535;background:#f6f9f9;font-size:15px}*{box-sizing:border-box}body{margin:0}main{max-width:1600px;margin:0 auto;padding:28px}header{max-width:920px;margin-bottom:24px}.back{color:#487476;text-decoration:none}.eyebrow{font-size:13px;font-weight:650;color:#5c7a7b;margin:24px 0 8px}h1{font-size:32px;letter-spacing:-.7px;margin:0 0 12px}h2{font-size:21px;margin:0 0 15px}.intro{font-size:17px;line-height:1.5;color:#586e6f}.panel{background:#fff;border:1px solid #dce7e7;border-radius:14px;padding:24px;margin:20px 0;box-shadow:0 3px 12px #182b3e04}.scope{color:#635323;background:#fff8e8;border:1px solid #ecdfba;padding:14px 18px;border-radius:9px;line-height:1.5}.grid{display:grid;grid-template-columns:2fr .6fr 2fr;gap:16px}label{display:flex;flex-direction:column;gap:8px;font-weight:600;font-size:14px}input,select,textarea{font:inherit;background:#fff;color:#213535;border:1px solid #bdd0d0;border-radius:7px;padding:10px;width:100%;min-width:0;font-weight:400}input:focus,select:focus,textarea:focus{outline:2px solid #b0d7d8;outline-offset:1px}button{font:inherit;font-weight:600;padding:11px 17px;border:1px solid #3f7d7f;border-radius:8px;background:#3f7d7f;color:white;cursor:pointer;white-space:normal}button.secondary{background:white;color:#3f7d7f;border-color:#bad1d2}.rule{margin:18px 0;padding:13px 0;color:#475c5d;line-height:1.5}.upload{display:flex;align-items:flex-end;gap:20px;max-width:780px}.upload label{flex:1}.hint{color:#647677;font-size:13px;line-height:1.55;margin:13px 0 0}.message{padding:14px 18px;background:#e9f6ef;border-radius:9px;border:1px solid #b4d9c6;margin:16px 0;line-height:1.5}.message.error{background:#fff0ee;border-color:#e9bbb7}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.section-heading p{color:#647677;margin:0 0 18px;overflow-wrap:anywhere}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:15px 0 24px}.metrics>div{border-left:3px solid #cce1e2;padding:4px 15px}.metrics span{font-size:13px;display:block;color:#647677}.metrics strong{display:block;font-size:28px;margin-top:7px}.mapping{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:18px 0}summary{cursor:pointer;color:#3f7d7f;font-weight:600;padding:8px 0}.table-wrap{overflow:auto;max-height:68vh;border:1px solid #dce7e7;border-radius:8px}table{border-collapse:separate;border-spacing:0;min-width:1700px;width:100%;font-size:13px}th{position:sticky;top:0;background:#f0f6f6;color:#456061;z-index:1;text-align:left;font-size:12px;padding:13px 10px;white-space:normal}td{border-top:1px solid #e7efef;padding:9px;vertical-align:top}td input,td textarea{font-size:13px;padding:8px;border-color:#d5e2e3}td.field-number{min-width:75px;max-width:90px}.field-name{min-width:270px}.field-territory{min-width:180px}.field-inn{min-width:135px}.field-address{min-width:230px}.field-website,.field-email{min-width:195px}.field-population{min-width:115px}.checks{min-width:220px;max-width:300px;color:#8d5918;line-height:1.5}.checks>div{margin-bottom:5px}.quota{font-size:17px;font-weight:650;min-width:85px}.needs-review{background:#fffdf7}small{display:block;color:#7d8d8d;font-size:11px;margin-top:5px}.ok{color:#30745b}.warning{color:#8d5918}.next{border-top:1px solid #dce7e7;padding-top:15px;color:#586e6f;line-height:1.5}@media(max-width:800px){main{padding:16px}.grid,.mapping{grid-template-columns:1fr}.metrics{grid-template-columns:1fr 1fr}.upload,.section-heading{flex-direction:column;align-items:stretch}.panel{padding:18px}h1{font-size:27px}}


.field-org_type{min-width:155px}.field-manual_plan{min-width:120px}.download-template{display:inline-block;color:#3f7d7f;font-weight:600;padding:8px 0}

.project-table{min-width:950px}.check{flex-direction:row;align-items:flex-start;font-weight:400;line-height:1.5}.check input{width:auto;flex:none;margin:4px 6px 0 0}

:is(.organization-form,.project-disclosure)>summary{font-size:21px;line-height:1.4;color:#213535;padding:0;font-weight:600}:is(.organization-form,.project-disclosure)>summary:focus-visible{outline:2px solid #b0d7d8;outline-offset:6px;border-radius:4px}:is(.organization-form,.project-disclosure)[open]>summary{margin-bottom:20px}

.access-choices{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0}.access-choices select{min-height:180px}.access-member{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #e7efef;padding:14px 0}.access-preview{padding:15px 18px;background:#f6f9f9;border-radius:8px}.access-preview ul{max-height:260px;overflow:auto;padding-left:22px;line-height:1.6}[hidden]{display:none!important}@media(max-width:800px){.access-choices{grid-template-columns:1fr}}

/* Checkboxes and radios must not take the width and padding of text fields. */
input[type=checkbox],input[type=radio]{width:auto;min-width:0;flex:none;padding:0;margin:3px 8px 0 0;accent-color:#316162}
label:has(>input[type=checkbox]),label:has(>input[type=radio]){display:flex;flex-direction:row;align-items:flex-start;gap:8px;font-weight:400}
label:has(>input[type=checkbox])>input,label:has(>input[type=radio])>input{margin:3px 0 0}
.tpl-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:14px}.tpl-filters button.secondary[aria-pressed=true]{background:#4f8f8c!important;color:#fff!important;border-color:#4f8f8c!important}.tpl-filters button.secondary[aria-pressed=false]{background:#fff;color:#365657}.tpl-filters input{max-width:260px;margin-left:auto}.tpl-old td{color:#8a9a9b}#tpl-table tr[hidden]{display:none}
