/* Visual aprovado; seletores limitados à administração autenticada. */
body.admin-access{font-family:"Segoe UI",Arial,sans-serif;color:#092f29;background:radial-gradient(ellipse at 80% 20%,#10836980,transparent 55%),linear-gradient(135deg,#00493d,#076a52 65%,#004d3c)}
html:has(body.admin-access){background:#035344}
.admin-access .app{max-width:1560px;grid-template-columns:300px minmax(0,1fr);gap:20px;padding:22px;align-items:start}
.admin-access .side{position:sticky;top:22px;max-height:calc(100dvh - 44px);padding:27px 16px 24px;border:1px solid #77b09250;border-bottom-color:#b9a35b80;border-radius:27px;background:radial-gradient(ellipse at 0 90%,#08775a70,transparent 60%),linear-gradient(150deg,#00382f,#004e40 55%,#00392e);box-shadow:0 12px 30px #001f2840;scrollbar-width:thin;scrollbar-color:#3f8973 transparent;overflow:auto;color:white}
.admin-access .brand{display:grid;grid-template-columns:76px minmax(0,1fr);gap:7px 14px;margin:0 7px 26px;color:white}
.admin-access .brand .inh-logo{grid-row:1/3;width:76px;height:76px;flex-basis:76px;border-radius:50%;margin:0;box-shadow:0 0 0 3px #ffffff18}
.admin-access .brand .portal-line{font-size:16px;color:#d5ebe1;font-weight:400}
.admin-access .brand .portal-admin-title{font-size:23px;line-height:1.25;letter-spacing:-.6px;color:white}
.admin-access .brand small[hidden]{display:none}
.admin-reference-badge{grid-column:2;justify-self:start;border:1px solid #c6ae61;border-radius:99px;background:#c8aa3325;padding:5px 10px;color:#fff2bc;font-size:11px;font-weight:650;line-height:1.4}
.admin-access #nav .admin-menu-row{color:#ecf5ef;font-size:15px;min-height:48px;border:1px solid transparent;border-radius:12px;padding:12px;gap:13px}
.admin-access #nav .admin-menu-row svg{color:#d5e9dc;width:22px;height:22px}
.admin-access #nav .admin-menu-row.active{background:linear-gradient(135deg,#159b71,#00734f);border-color:#59c39670;color:#fff;box-shadow:inset 0 1px 0 #ffffff25,0 3px 9px #002e2933}
.admin-access #nav .admin-menu-row:hover{background:#ffffff12;color:white}
.admin-access #nav .admin-menu-section{border-color:#b0d1bc40;margin-top:18px;padding-top:18px}
.admin-access #nav .admin-menu-section h2{color:#d8e8de;font-size:10px;letter-spacing:1.2px;margin:0 12px 8px}
.admin-access #nav .session-info{border-color:#b0d1bc40;padding:16px 5px 0}
.admin-access #nav .session-info .mini,.admin-access .side>.foot{color:#d3e5db;font-size:11px;line-height:1.6}
.admin-access .panel{border:1px solid #b7d4c2;border-radius:30px;padding:0;background:#f9fbf9;box-shadow:0 14px 35px #002d2b33;min-height:650px;overflow:hidden}
.admin-access #screen{padding:28px;min-width:0}
.admin-access #screen>.online-tools:empty{display:none}
.admin-access .admin-reference-heading{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:flex-start;gap:22px;margin:-28px -28px 28px;padding:34px 32px;min-height:145px;background:linear-gradient(120deg,#fff 50%,#e7f5ed);overflow:hidden}
.admin-access .admin-reference-heading:after{content:"";position:absolute;z-index:-1;width:220px;height:100px;border-bottom:4px solid #d9b84c;border-radius:50%;right:-70px;bottom:3px;transform:rotate(-17deg);opacity:.9}
.admin-access .admin-reference-heading>div:last-child{min-width:0}
.admin-access .admin-reference-heading h1{font-size:clamp(27px,3vw,43px);line-height:1.15;letter-spacing:-1.3px;font-weight:700;color:#062f29;margin:5px 0 10px;overflow-wrap:anywhere}
.admin-access .admin-reference-heading p{color:#526f61;font-size:16px;line-height:1.6;margin:0}
.admin-reference-eyebrow{font-size:9px;letter-spacing:1.6px;font-weight:700;color:#7d9386}
.admin-reference-icon{width:74px;height:74px;flex:none;display:grid;place-items:center;border-radius:23px;background:linear-gradient(135deg,#149c78,#005641);color:white;box-shadow:inset 0 1px 0 #ffffff40,0 5px 10px #00564015}
.admin-reference-icon svg{width:40px;height:40px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.admin-access .card{border:1px solid #d4e1d8;border-radius:20px;padding:24px;background:linear-gradient(130deg,#fff,#fcfefc);box-shadow:0 5px 12px #153b2d08;min-width:0}
.admin-access .card h2,.admin-access .section h2{font-size:20px;line-height:1.4;color:#123e30;letter-spacing:-.3px}
.admin-access .muted{color:#6b8175;line-height:1.65}
.admin-access .field label{color:#345b43;font-size:13px;line-height:1.5}
.admin-access .field input,.admin-access .field select,.admin-access .field textarea{border:1px solid #bfd2c5;border-radius:12px;background:white;min-height:48px;font-size:16px;padding:12px 14px;color:#254c36}
.admin-access .field input:focus,.admin-access .field select:focus,.admin-access .field textarea:focus{outline:3px solid #6ab18e40;border-color:#71a389}
.admin-access .btn{min-height:46px;padding:12px 17px;border-radius:12px;font-size:14px;line-height:1.4;background:linear-gradient(135deg,#087958,#00503b);box-shadow:0 3px 8px #03503c12}
.admin-access .btn.secondary{background:#e7f4ed;color:#176447;box-shadow:none}
.admin-access .btn.outline{background:white;color:#176447;border-color:#bad1c2;box-shadow:none}
.admin-access .btn.red{background:#fff0ef;color:#9f3b34}
.admin-access button:focus-visible{outline:3px solid #d8b963;outline-offset:3px}
.admin-access .item{border-color:#d2dfd7;border-radius:17px;padding:18px;background:white;box-shadow:0 4px 10px #153b2d08}
.admin-access .donor-row{gap:18px;min-height:100px;text-align:left;align-items:center}
.admin-access .donor-row-info{flex:1;min-width:0}
.admin-access .donor-row-info>strong{display:block;font-size:18px;line-height:1.45;margin-bottom:7px;color:#173e2c}
.admin-access .donor-row .donor-open{background:linear-gradient(135deg,#087958,#00503b);color:white;border-radius:11px;padding:12px 18px;line-height:1.4;font-size:14px}
.admin-access .donor-row:hover{border-color:#72ac89;background:#fbfefc}
.admin-access .person-photo-wrap{width:68px;height:68px;flex:0 0 68px;border-radius:50%;overflow:hidden}
.admin-access .person-photo-placeholder{background:linear-gradient(135deg,#e2f1e6,#cce7d6);color:#174d37;font-size:23px;font-weight:650}
.admin-access .admin-reference-person.is-exempt{border-left:5px solid #1fa65a}
.admin-reference-status{display:block;font-size:12px;margin-top:8px}
.admin-access .admin-reference-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}
.admin-access .admin-reference-stat{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:163px;padding:20px 12px;text-align:center;box-shadow:inset 0 1px 0 #ffffffaa}
.admin-access .admin-reference-stat.stat-0{background:linear-gradient(135deg,#e2f7ee,#c8eee1);border-color:#c9eadf}
.admin-access .admin-reference-stat.stat-1{background:linear-gradient(135deg,#fff8df,#f5e7c7);border-color:#f0e3bc}
.admin-access .admin-reference-stat.stat-2{background:linear-gradient(135deg,#fce9ef,#f4d0db);border-color:#f0d1d9}
.admin-reference-stat>svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.7;color:#178957}
.admin-reference-stat.stat-1>svg{color:#b38b20}.admin-reference-stat.stat-2>svg{color:#bc3b55}
.admin-access .admin-reference-stat h2{font-size:13px;margin:12px 0 8px;font-weight:650}
.admin-reference-stat>strong{font-size:clamp(25px,2.6vw,38px);letter-spacing:-1px;line-height:1.2;color:#0a3024}
.admin-access .admin-reference-stat-button{appearance:none;-webkit-appearance:none;width:100%;font:inherit;color:inherit;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease}
.admin-access .admin-reference-stat-button:hover{transform:translateY(-2px);box-shadow:0 9px 22px #153b2d16}
.admin-reference-stat-value{display:flex;align-items:center;justify-content:center;gap:10px;min-height:38px}
.admin-reference-stat-value>strong{font-size:clamp(25px,2.6vw,38px);letter-spacing:-1px;line-height:1.2;color:#0a3024}
.admin-access .admin-reference-eye{display:grid;place-items:center;width:34px;height:34px;padding:5px;border:1px solid #9bbcaf;border-radius:10px;background:#ffffffb8;color:#245c46;cursor:pointer}
.admin-reference-eye:hover{background:#e5f4ec;border-color:#548c6c}
.admin-reference-eye svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.admin-exempt-people{margin-top:-8px}
.admin-exempt-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.admin-exempt-heading h2,.admin-exempt-heading p{margin-top:0;margin-bottom:5px}
.admin-exempt-list{display:grid;gap:9px}
.admin-access .admin-exempt-person{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;cursor:pointer;font:inherit;color:inherit}
.admin-exempt-person>strong{flex:1;color:#173e2c}
.admin-exempt-person:hover{border-color:#72ac89;background:#fbfefc}
.admin-reference-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-bottom:24px}
.admin-reference-tools .calendar-year-control{margin:0;background:transparent;padding:0;border:0;max-width:300px}
.admin-reference-tools .calendar-year-control>.muted{display:none}
.admin-reference-months{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:24px}
.admin-reference-month{display:grid;grid-template-columns:1fr auto;gap:10px;min-width:0;padding:16px;text-align:left;color:#385f47;background:linear-gradient(135deg,#fff,#f4faf5);border:1px solid #cfe1d4;border-radius:13px}
.admin-reference-month>span:first-child{font-size:13px;font-weight:600}.admin-reference-month>svg{width:18px;height:18px;fill:none;stroke:#709e82;stroke-width:1.7}.admin-reference-month strong{color:#0e6d49;font-size:16px}.admin-reference-month:hover{background:#eef8f0;border-color:#78b18f}
.admin-reference-bar{grid-column:1/-1;height:4px;background:#e3ede5;border-radius:9px;overflow:hidden}.admin-reference-bar i{display:block;height:100%;background:#24a06c}
.admin-access .report-actions{display:flex;gap:10px;flex-wrap:wrap}
.admin-access .panel>#pwaInstall{margin:0 28px 24px}
@media(max-width:1200px) and (min-width:801px){.admin-access .app{grid-template-columns:260px minmax(0,1fr);padding:16px;gap:16px}.admin-access .side{padding:23px 12px;top:16px;max-height:calc(100dvh - 32px)}.admin-access .brand{grid-template-columns:60px minmax(0,1fr);gap:7px 10px}.admin-access .brand .inh-logo{width:60px;height:60px;flex-basis:60px}.admin-access .brand .portal-admin-title{font-size:19px}.admin-access #nav .admin-menu-row{font-size:14px}.admin-access #screen{padding:24px}.admin-access .admin-reference-heading{margin:-24px -24px 24px;padding:28px 24px;gap:16px}.admin-reference-icon{width:60px;height:60px;border-radius:18px}.admin-reference-icon svg{width:34px;height:34px}}
@media(max-width:800px){
 .admin-access .app{display:block;padding:12px;max-width:700px}.admin-access .side{position:static;max-height:none;margin:0 0 16px;padding:20px 17px;border-radius:23px;overflow:hidden}.admin-access .brand{margin:0 0 18px;background:none;padding:calc(4px + env(safe-area-inset-top)) 0 0;border:0;grid-template-columns:65px minmax(0,1fr);gap:6px 14px}.admin-access .brand .inh-logo{width:65px;height:65px;flex-basis:65px}.admin-access .brand .portal-admin-title{font-size:24px}.admin-access .brand .portal-line{font-size:15px}
 .admin-access .admin-menu-surface{margin:14px 0 0;border:0;padding:0;background:none;border-radius:0}.admin-access .admin-menu-toolbar{padding:0;justify-content:space-between}.admin-access #nav .admin-menu-toolbar button{color:#e8f5ed!important;border:1px solid #b4dac460;background:#ffffff09;border-radius:12px;font-size:13px;min-height:44px}.admin-access .admin-menu-surface.is-collapsed{display:none}.admin-access #nav .admin-menu-row{font-size:15px;min-height:48px}.admin-access #nav .admin-menu-row .admin-row-arrow{color:#a2d4bc}.admin-access #nav .session-info{margin-top:16px;padding-top:16px;border-top:1px solid #b0d1bc40}.admin-access .side>.foot{display:none}
 .admin-access .panel{margin:0 0 16px;border-radius:24px;min-height:0}.admin-access #screen{padding:22px}.admin-access .admin-reference-heading{margin:-22px -22px 22px;padding:27px 22px;min-height:125px;gap:15px;align-items:flex-start}.admin-access .admin-reference-heading h1{font-size:30px;letter-spacing:-.9px}.admin-access .admin-reference-heading p{font-size:14px}.admin-reference-icon{width:54px;height:54px;flex-basis:54px;border-radius:17px;margin-top:6px}.admin-reference-icon svg{width:30px;height:30px}.admin-access .card{padding:21px}.admin-access .donor-row{flex-direction:row;flex-wrap:wrap;gap:13px}.admin-access .donor-row-info{min-width:calc(100% - 85px)}.admin-access .donor-row .donor-open{margin-left:auto}.admin-access .person-photo-wrap{width:58px;height:58px;flex-basis:58px}.admin-access .donor-row-info>strong{font-size:16px}.admin-access .admin-reference-stats{gap:10px}.admin-access .admin-reference-stat{padding:16px 9px;min-height:140px}.admin-access .admin-reference-stat h2{font-size:11px}.admin-reference-stat>strong{font-size:28px}.admin-access .panel>#pwaInstall{margin:0 22px 22px}
}
@media(max-width:480px){.admin-access .app{padding:10px}.admin-access .side{padding:18px 15px;border-radius:20px}.admin-access .panel{border-radius:21px}.admin-access #screen{padding:18px 15px}.admin-access .admin-reference-heading{margin:-18px -15px 22px;padding:23px 17px;gap:12px}.admin-access .admin-reference-heading h1{font-size:26px}.admin-access .admin-reference-heading p{font-size:13px}.admin-reference-icon{width:46px;height:46px;flex-basis:46px;border-radius:14px}.admin-reference-icon svg{width:27px;height:27px}.admin-reference-eyebrow{font-size:8px}.admin-access .card{padding:18px 15px;border-radius:17px}.admin-reference-months{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.admin-reference-month{padding:13px}.admin-reference-month strong{font-size:14px}.admin-access .admin-reference-stats{gap:8px}.admin-access .admin-reference-stat{padding:15px 7px;min-height:130px}.admin-access .admin-reference-stat h2{font-size:10px;min-height:28px}.admin-reference-stat>strong{font-size:24px}.admin-reference-stat>svg{width:27px;height:27px}.admin-access .donor-row .donor-open{width:100%;text-align:center;margin:3px 0 0}.admin-access .report-actions>.btn{flex:1}.admin-access .brand .portal-admin-title{font-size:22px}}

@media(max-width:800px){
 .admin-access .admin-menu-toolbar:has(#adminMenuToggle[aria-expanded="true"]){display:none}
}
.admin-access .donor-total-mobile{display:none}
@media(max-width:800px){
 .admin-access .donor-total-desktop{display:none}
 .admin-access .donor-total-mobile{display:flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;color:#fff}.admin-access .donor-total-mobile svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
 .admin-access #screen:has(.donor-total-mobile[aria-expanded="false"]) #donorListRegion{display:none}
 .admin-access #donorListStart{scroll-margin-top:16px}
}

@media(max-width:800px){
 .admin-access #screen:has(.donor-total-mobile) .admin-reference-heading{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  column-gap:12px;
  row-gap:8px;
  min-height:0;
  padding-block:16px;
  margin-bottom:16px;
 }
 .admin-access #screen:has(.donor-total-mobile) .admin-reference-heading>div:last-child{display:contents}
 .admin-access #screen:has(.donor-total-mobile) .admin-reference-heading h1,
 .admin-access #screen:has(.donor-total-mobile) .admin-reference-icon{margin:0}
 .admin-access #screen:has(.donor-total-mobile) .admin-reference-heading p{grid-column:1/-1}
}

@media(max-width:800px){
 .admin-access .donor-summary .donor-total-mobile{order:1}
 .admin-access .donor-summary .donor-active-count .metric{color:#087553}
}

@media(max-width:800px){
 .admin-access .app:has(#adminMenuToggle[aria-expanded="true"])>.panel{display:none}
}


@media(max-width:800px){
 .admin-access.admin-portal-page #nav #adminBackButton{display:flex}
 .admin-access #nav .admin-menu-toolbar:has(#adminBackButton){justify-content:flex-start;gap:10px}
}

.assisted-registration-form .photo-field{position:relative}
.assisted-registration-form .registration-photo-input{
 position:absolute;
 width:1px;
 height:1px;
 opacity:0;
}
.assisted-registration-form .registration-photo-input:focus-visible,
.assisted-registration-form .photo-field:has(.registration-photo-input:focus-visible) .registration-photo-add{
 outline:2px solid #087553;
 outline-offset:3px;
}
.assisted-registration-form .registration-photo-add{display:block;width:fit-content;margin-block:8px;cursor:pointer}
.assisted-registration-form #registrationPhotoRemove[hidden],
.assisted-registration-form #registrationPhotoStatus:empty{display:none}
.assisted-registration-form .field input:not([type="file"]),
.assisted-registration-form .field select,
.assisted-registration-form #createAssistidoButton{
 box-sizing:border-box;
 width:100%;
 min-width:0;
 max-width:100%;
 font-size:16px;
}
.assisted-registration-form input[type="date"]{display:block;-webkit-appearance:none;appearance:none}
