:root{--red:#c8102e;--red-pressed:#a00d24;--red-tint:#fdecee;--black:#111;--grey-700:#595959;--grey-500:#8c8c8c;--grey-200:#e6e6e6;--grey-100:#f5f5f5;--white:#fff;--radius:8px;--space:16px;color:var(--black);background:var(--grey-100);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.5}*{box-sizing:border-box}body{margin:0}h1{margin:0;font-size:1.5rem}a{color:var(--red)}:focus-visible{outline:3px solid var(--black);outline-offset:2px}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.admin{grid-template-columns:240px 1fr;min-height:100dvh;display:grid}.sidebar{background:var(--black);height:100dvh;color:var(--white);flex-direction:column;gap:32px;padding:24px 16px;display:flex;position:sticky;top:0}.brand{color:var(--white);padding:0 12px;font-size:1.25rem;font-weight:800;text-decoration:none}.brand-mark{color:var(--red)}.brand-tag{vertical-align:middle;background:#ffffff1f;border-radius:999px;margin-left:4px;padding:2px 8px;font-size:.75rem;font-weight:600}.sidebar-nav{flex-direction:column;gap:4px;display:flex}.sidebar-nav a{border-radius:0 var(--radius) var(--radius) 0;min-height:44px;color:var(--grey-200);border-left:4px solid #0000;align-items:center;gap:12px;padding:0 12px;font-weight:600;text-decoration:none;display:flex}.sidebar-nav a:hover{color:var(--white);background:#ffffff0f}.sidebar-nav a[aria-current=page]{border-left-color:var(--red);color:var(--white);background:#ffffff1a}.sidebar svg{fill:none;stroke:currentColor;stroke-width:1.75px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}.sidebar-account{flex-direction:column;gap:8px;margin-top:auto;padding:0 12px;display:flex}.sidebar-email{color:var(--grey-500);text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;overflow:hidden}.sign-out{color:var(--white);background:0 0;border-color:#fff6}.sign-out:hover{border-color:var(--white)}.content{width:100%;min-width:0;max-width:1200px;margin:0 auto;padding:32px}.page-subtitle{color:var(--grey-700);margin:4px 0 0}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px;display:flex}.card{background:var(--white);border:1px solid var(--grey-200);border-radius:var(--radius);padding:20px}.muted,.page-status,.result-count{color:var(--grey-700)}@keyframes shimmer{0%{background-position:-600px 0}to{background-position:600px 0}}.skeleton-bar,.skeleton-block{background:linear-gradient(90deg,#ffffff14 25%,#ffffff2e 50%,#ffffff14 75%) 0 0/600px 100%;border-radius:4px;animation:1.4s ease-in-out infinite shimmer}.content .skeleton-bar,.content .skeleton-block{background:linear-gradient(90deg, var(--grey-200) 25%, var(--grey-100) 50%, var(--grey-200) 75%);background-size:600px 100%;animation:1.4s ease-in-out infinite shimmer}.skeleton-block{border-radius:var(--radius);height:320px}.skeleton-nav{flex-direction:column;gap:20px;padding:0 12px;display:flex}.skeleton-account{flex-direction:column;gap:10px;margin-top:auto;padding:0 12px;display:flex}.field,label{flex-direction:column;gap:6px;font-size:.875rem;font-weight:600;display:flex}input,textarea{font:inherit;border:1px solid var(--grey-500);border-radius:var(--radius);background-color:var(--white);min-height:44px;color:var(--black);padding:10px 14px;font-weight:400}textarea{resize:vertical;line-height:1.5}input:disabled{background-color:var(--grey-100);color:var(--grey-700);cursor:not-allowed}[aria-invalid=true]{border:2px solid var(--red)}.field-error,.form-error{color:var(--red);margin:0;font-weight:600}.form-error{background:var(--red-tint);border-radius:var(--radius);margin-bottom:var(--space);padding:12px}.checkbox{flex-direction:row;align-items:center;gap:8px}.checkbox input{width:20px;height:20px;min-height:auto;accent-color:var(--red)}fieldset.location{border:0;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:0;padding:0;display:grid}fieldset.location legend{margin-bottom:8px;font-weight:700}fieldset.location .field-error{grid-column:1/-1}button,.button{font:inherit;border-radius:var(--radius);cursor:pointer;border:2px solid #0000;justify-content:center;align-items:center;min-height:44px;padding:8px 20px;font-weight:600;text-decoration:none;display:inline-flex}button:disabled{cursor:not-allowed;opacity:.6}.primary{background:var(--red);color:var(--white)}.primary:hover:not(:disabled){background:var(--red-pressed)}.secondary{background:var(--white);color:var(--black);border-color:var(--black)}.secondary:hover:not(:disabled){background:var(--grey-100)}.danger{background:var(--white);color:var(--red);border-color:var(--red)}.danger:hover:not(:disabled){background:var(--red-tint)}.small{border-width:1px;border-radius:999px;min-height:36px;padding:4px 12px;font-size:.875rem}.donor-page{max-width:860px}.breadcrumbs ol{flex-wrap:wrap;align-items:center;gap:4px;margin:0 0 8px;padding:0;font-size:.875rem;list-style:none;display:flex}.breadcrumbs li{color:var(--grey-700);align-items:center;gap:4px;display:flex}.breadcrumbs li+li:before{content:"/";color:var(--grey-500);padding:0 4px}.breadcrumbs a{color:var(--grey-700);text-decoration:none}.breadcrumbs a:hover{color:var(--black);text-decoration:underline}.breadcrumbs [aria-current=page]{color:var(--black);font-weight:600}.donor-form{flex-direction:column;gap:20px;min-width:0;display:flex}.donor-form .form-error{margin:0}.form-card{background:var(--white);border:1px solid var(--grey-200);border-radius:16px}.form-card-head{border-bottom:1px solid var(--grey-200);align-items:flex-start;gap:14px;padding:20px 24px;display:flex}.form-card-head h2{margin:0;font-size:1.0625rem}.form-card-head p{color:var(--grey-700);margin:2px 0 0;font-size:.875rem}.step{background:var(--black);width:30px;height:30px;color:var(--white);border-radius:50%;flex:none;place-items:center;font-size:.875rem;font-weight:700;display:grid}.form-card-body{flex-direction:column;gap:18px;padding:24px;display:flex}.donor-form input,.donor-form textarea{border-color:var(--grey-200);background-color:var(--grey-100);border-radius:12px;transition:border-color .15s,background-color .15s}.donor-form input:hover,.donor-form textarea:hover{border-color:var(--grey-500)}.donor-form input:focus,.donor-form textarea:focus{border-color:var(--black);background-color:var(--white);outline:none}.donor-form [aria-invalid=true]{border:2px solid var(--red);background-color:var(--white)}.donor-form input::placeholder,.donor-form textarea::placeholder{color:var(--grey-500)}.form-row{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;display:grid}.choice-group{border:0;flex-direction:column;gap:8px;min-width:0;margin:0;padding:0;display:flex}.field>label{display:block}.required-mark{color:var(--red);margin-left:2px}.choice-legend{margin-bottom:8px;padding:0;font-size:.875rem;font-weight:600}.choices{flex-wrap:wrap;gap:8px;display:flex}.blood-choices .choices{grid-template-columns:repeat(8,minmax(0,1fr));display:grid}.choice{display:block;position:relative}.choice input{opacity:0;pointer-events:none;position:absolute}.choice-label{border:1px solid var(--grey-200);background:var(--grey-100);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;min-height:44px;padding:0 16px;font-weight:600;transition:border-color .15s,background-color .15s,color .15s;display:flex}.blood-choices .choice-label{border-radius:12px;padding:0;font-size:1rem;font-weight:700}.choice:hover .choice-label{border-color:var(--grey-500)}.choice input:checked+.choice-label{border-color:var(--black);background:var(--black);color:var(--white)}.choice input:focus-visible+.choice-label{outline:3px solid var(--black);outline-offset:2px}.blood-choices .choice input:checked+.choice-label{border-color:var(--red);background:var(--red)}.donor-form fieldset.location legend{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.switch{border:1px solid var(--grey-200);cursor:pointer;border-radius:12px;flex-direction:row;align-items:center;gap:14px;padding:14px 16px;position:relative}.switch input{opacity:0;pointer-events:none;position:absolute}.switch-track{background:var(--grey-200);border-radius:999px;flex:none;width:46px;height:26px;transition:background-color .15s;position:relative}.switch-track:after{content:"";background:var(--white);border-radius:50%;width:20px;height:20px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0000004d}.switch input:checked+.switch-track{background:var(--red)}.switch input:checked+.switch-track:after{transform:translate(20px)}button.availability-switch[aria-checked=true] .switch-track{background:var(--red)}button.availability-switch[aria-checked=true] .switch-track:after{transform:translate(20px)}.switch input:focus-visible+.switch-track{outline:3px solid var(--black);outline-offset:2px}.switch-text{flex-direction:column;gap:2px;font-size:.9375rem;display:flex}.switch-text small{color:var(--grey-700);font-size:.8125rem;font-weight:400}.form-actions{z-index:1;border-top:1px solid var(--grey-200);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#f5f5f5eb;justify-content:flex-end;gap:12px;margin:0 -4px;padding:14px 4px;display:flex;position:sticky;bottom:0}.form-actions .button,.form-actions button{border-radius:999px;min-width:140px}@media (width<=560px){.form-card-head,.form-card-body{padding:16px}.blood-choices .choices{grid-template-columns:repeat(4,minmax(0,1fr))}.form-actions{margin:0 -16px;padding:12px 16px}.form-actions .button,.form-actions button{flex:1;min-width:0}}.profile-card{border:1px solid var(--grey-200);background:var(--white);border-radius:16px;align-items:flex-start;gap:20px;margin:8px 0 20px;padding:24px;display:flex}.profile-avatar{background:var(--black);width:72px;height:72px;color:var(--white);border-radius:50%;flex:none;place-items:center;font-size:1.5rem;font-weight:800;display:grid}.profile-main{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.profile-main h1{overflow-wrap:anywhere}.profile-main .muted{margin:0}.profile-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.profile-actions .button{border-radius:999px;min-height:40px}.profile-side{flex-direction:column;flex:none;align-items:flex-end;gap:10px;display:flex}.profile-blood{background:var(--red);min-width:64px;color:var(--white);text-align:center;border-radius:14px;padding:8px 14px;font-size:1.5rem;font-weight:800}.details-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.details-card{border:1px solid var(--grey-200);background:var(--white);border-radius:16px;padding:20px 24px}.details-card h2{margin:0 0 12px;font-size:1rem}.details-card dl{margin:0}.details-card div{border-top:1px solid var(--grey-200);grid-template-columns:9rem minmax(0,1fr);gap:12px;padding:10px 0;font-size:.9375rem;display:grid}.details-card dt{color:var(--grey-700)}.details-card dd{overflow-wrap:anywhere;margin:0}.record-dates{margin:16px 0 0;font-size:.8125rem}@media (width<=760px){.details-grid{grid-template-columns:minmax(0,1fr)}}@media (width<=560px){.profile-card{flex-wrap:wrap;padding:18px}.profile-avatar{width:56px;height:56px;font-size:1.25rem}.profile-side{flex-direction:row;order:-1;justify-content:space-between;align-items:center;width:100%}.details-card{padding:16px}.details-card div{grid-template-columns:minmax(0,1fr);gap:2px}}.combobox{flex-direction:column;display:flex;position:relative}.combobox input{text-overflow:ellipsis;background-position:right 14px center;background-repeat:no-repeat;background-size:16px;width:100%;padding-right:44px}.combobox-search{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23595959' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E")}.combobox-plain{caret-color:#0000;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23595959' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}.combobox-search.has-clear,.combobox-plain.has-clear{background-image:none}.combobox-clear{cursor:pointer;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23595959' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") 50%/14px no-repeat;border:0;border-radius:50%;width:28px;height:28px;min-height:0;padding:0;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.combobox input::placeholder{color:var(--grey-700)}.combobox-list{z-index:20;border:1px solid var(--grey-200);background:var(--white);border-radius:12px;max-height:280px;padding:6px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto;box-shadow:0 18px 40px -16px #00000059}.combobox-option{cursor:pointer;border-radius:8px;justify-content:space-between;align-items:center;min-height:40px;padding:8px 12px;font-size:.9375rem;font-weight:400;display:flex}.combobox-option.active{background:var(--grey-100)}.combobox-option[aria-selected=true]{font-weight:700}.combobox-option[aria-selected=true]:after{content:"✓";color:var(--red)}.option-empty{color:var(--grey-700)}.option-create{border-top:1px solid var(--grey-200);color:var(--red);border-radius:0 0 8px 8px;margin-top:4px;font-weight:600}.combobox-empty{color:var(--grey-700);margin:0;padding:10px 12px;font-size:.875rem}.toaster{z-index:10;pointer-events:none;flex-direction:column;align-items:flex-end;gap:8px;display:flex;position:fixed;bottom:24px;right:24px}.toast{background:var(--black);max-width:min(380px,100vw - 32px);color:var(--white);pointer-events:auto;border-radius:12px;align-items:center;gap:10px;padding:10px 8px 10px 14px;font-size:.9375rem;animation:.2s ease-out toast-in;display:flex;box-shadow:0 16px 32px -12px #00000080}.toast-check{background:#ffffff26;border-radius:50%;flex:none;place-items:center;width:22px;height:22px;font-size:.75rem;display:grid}.toast-message{flex:1;min-width:0}.toast-close{width:32px;min-height:32px;color:var(--grey-500);background:0 0;border:0;border-radius:50%;flex:none;padding:0;font-size:1.25rem;line-height:1}.toast-close:hover{color:var(--white);background:#ffffff1f}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}}@media (prefers-reduced-motion:reduce){.toast{animation:none}}@media (width<=560px){.toaster{align-items:center;bottom:16px;left:16px;right:16px}}.request-page{max-width:1040px}.request-toolbar{flex-flow:wrap;align-items:center}.request-search{flex:1;min-width:240px}.request-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.request-row{border:1px solid var(--grey-200);border-left:4px solid var(--grey-200);background:var(--white);border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto 200px;align-items:center;gap:16px;padding:16px 18px;display:grid}.request-row.emergency{border-left-color:var(--red)}.request-blood{background:var(--red-tint);min-width:52px;color:var(--red);text-align:center;border-radius:12px;padding:8px 10px;font-size:1.125rem;font-weight:800}.request-main{min-width:0}.request-main .muted,.request-hero-main .muted{text-overflow:ellipsis;white-space:nowrap;margin:2px 0 0;font-size:.875rem;overflow:hidden}.request-title{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.request-link{color:var(--black);font-weight:700;text-decoration:none}.request-link:hover{text-decoration:underline}.badge{letter-spacing:.02em;text-transform:uppercase;border-radius:999px;padding:2px 10px;font-size:.75rem;font-weight:700}.badge.emergency{background:var(--red);color:var(--white)}.badge.status-open{border:1px solid var(--black)}.badge.status-fulfilled{background:var(--black);color:var(--white)}.badge.status-cancelled{background:var(--grey-200);color:var(--grey-700)}.request-when{text-align:right;white-space:nowrap;flex-direction:column;align-items:flex-end;display:flex}.request-when .muted{font-size:.8125rem}.overdue{color:var(--red)}.units{flex-direction:column;gap:6px;font-size:.875rem;display:flex}.units-bar{background:var(--grey-100);border-radius:999px;height:8px;display:flex;overflow:hidden}.units-donated{background:var(--black)}.units-agreed{background:var(--grey-500)}.request-hero{border:1px solid var(--grey-200);border-top:4px solid var(--black);background:var(--white);border-radius:16px;flex-direction:column;gap:18px;margin:8px 0 20px;padding:24px;display:flex}.request-hero.emergency{border-top-color:var(--red)}.request-hero-top{align-items:flex-start;gap:16px;display:flex}.request-hero-main{flex:1;min-width:0}.request-hero-main h1{overflow-wrap:anywhere}.request-hero-bottom{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.request-hero-bottom .profile-actions{margin:0}.request-progress{flex-direction:column;gap:4px;width:min(320px,100%);font-size:.875rem;display:flex}.closed-note{background:var(--grey-100);border-radius:12px;margin:0;padding:10px 14px;font-size:.875rem}.cancel-form{border:1px solid var(--red);background:var(--red-tint);border-radius:12px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));align-items:end;gap:12px;padding:16px;display:grid}.span-all{grid-column:1/-1}.form-buttons{justify-content:flex-end;gap:8px;display:flex}.panel{border:1px solid var(--grey-200);background:var(--white);border-radius:16px;margin-bottom:20px}.panel-head{border-bottom:1px solid var(--grey-200);flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;padding:18px 20px;display:flex}.panel-head h2{margin:0;font-size:1.0625rem}.panel-hint{max-width:60ch;margin:4px 0 0;font-size:.875rem}.panel-empty,.excluded{margin:0;padding:14px 20px;font-size:.875rem}.excluded{background:var(--grey-100)}.tier h3{margin:0;padding:12px 20px 4px;font-size:.875rem}.donor-rows{margin:0;padding:0;list-style:none}.donor-row{border-top:1px solid var(--grey-200);flex-wrap:wrap;align-items:center;gap:10px 14px;padding:12px 20px;display:flex}.tier .donor-row:first-child{border-top:0}.donor-line{flex-direction:column;flex:1;min-width:220px;display:flex}.donor-line .muted{font-size:.8125rem}.row-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.secondary.agree{background:var(--black);color:var(--white)}.confirm-text{font-size:.875rem;font-weight:600}.response-badge{border-radius:999px;padding:3px 10px;font-size:.8125rem;font-weight:700}.response-agreed{background:var(--black);color:var(--white)}.response-donated{background:var(--red);color:var(--white)}.response-declined,.response-no-answer{background:var(--grey-100);color:var(--grey-700)}.response-time{font-size:.8125rem}@media (width<=860px){.request-row{grid-template-columns:auto minmax(0,1fr) auto}.request-row .units{grid-column:1/-1}}@media (width<=560px){.request-toolbar .segmented,.request-search{flex-basis:100%;min-width:0}.request-row{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:12px;padding:14px}.request-main .muted{text-overflow:clip;white-space:normal;overflow-wrap:anywhere;overflow:visible}.request-row .request-when{border-top:1px solid var(--grey-200);flex-direction:row;grid-column:1/-1;align-items:baseline;gap:8px;padding-top:10px}.request-hero{padding:18px}.request-hero-top{flex-wrap:wrap}.request-hero-top .request-when{text-align:left;align-items:flex-start;width:100%}.donor-row,.panel-head,.panel-empty,.excluded,.tier h3{padding-left:16px;padding-right:16px}}.dashboard{gap:var(--space);grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:dense;display:grid}.dashboard h2{margin:0;font-size:1rem}.kpis{gap:var(--space);grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;padding:0;list-style:none;display:grid}.kpis li{flex-direction:column;gap:4px;display:flex}.kpis span{color:var(--grey-700);font-size:.875rem;font-weight:600}.kpis strong{font-size:2rem;font-weight:800;line-height:1.1}.chart-card{gap:var(--space);flex-direction:column;min-width:0;display:flex}.blood-group-card,.registrations-card{grid-column:span 2}.chart-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.legend{color:var(--grey-700);flex-wrap:wrap;gap:4px 16px;margin:0;padding:0;font-size:.875rem;list-style:none;display:flex}.legend li{align-items:center;gap:6px;display:flex}.legend strong{color:var(--black)}.swatch{border-radius:3px;width:12px;height:12px}.swatch.available{background:var(--red)}.blood-group-card .swatch.available{background:var(--black)}.swatch.unavailable{background:var(--grey-200)}.donut{width:min(180px,100%);margin:0 auto;position:relative}.donut svg{display:block;transform:rotate(-90deg)}.donut circle{fill:none;stroke-width:5px}.donut-track{stroke:var(--grey-200)}.donut-value{stroke:var(--red);stroke-linecap:round}.donut figcaption{flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.donut strong{font-size:1.75rem;font-weight:800;line-height:1}.donut span{color:var(--grey-700);font-size:.875rem}.availability-card .legend{justify-content:center}.column-chart{align-items:stretch;gap:8px;height:220px;margin:0;padding:0;list-style:none;display:flex}.column-chart li{flex-direction:column;flex:1;align-items:center;gap:6px;min-width:0;display:flex}.column-value{font-size:.875rem;font-weight:700}.column-track{flex:1;justify-content:center;align-items:flex-end;width:100%;display:flex}.column-bar{background:var(--grey-200);border-radius:6px 6px 2px 2px;align-items:flex-end;width:min(44px,100%);min-height:2px;display:flex;overflow:hidden}.column-part{background:var(--black);width:100%}.column-label{color:var(--grey-700);white-space:nowrap;font-size:.8125rem;font-weight:600}.column-chart .critical .column-label,.column-chart .critical .column-value{color:var(--red)}.column-chart .critical .column-bar{background:repeating-linear-gradient(45deg, var(--grey-200) 0 4px, var(--white) 4px 8px);box-shadow:inset 0 0 0 2px var(--red)}.shortage{border-radius:var(--radius);background:var(--red-tint);color:var(--black);margin:0;padding:8px 12px;font-size:.875rem;font-weight:600}.bar-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.bar-list li{grid-template-columns:minmax(80px,30%) 1fr 3ch;align-items:center;gap:10px;font-size:.875rem;display:grid}.bar-label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.bar-track{background:var(--grey-100);border-radius:999px;height:12px}.bar{background:var(--grey-200);border-radius:999px;height:100%;display:flex;overflow:hidden}.bar-part{background:var(--red);height:100%}.bar-value{text-align:right;font-weight:700}.top-donors-card{grid-column:span 2}.top-donors{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.top-donors li{border-bottom:1px solid var(--grey-200);grid-template-columns:32px minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:10px 0;display:grid}.top-donors li:last-child{border-bottom:0}.rank{background:var(--grey-100);border-radius:50%;place-items:center;width:32px;height:32px;font-size:.875rem;font-weight:700;display:grid}.rank.podium{background:var(--black);color:var(--white)}.top-donor-name{flex-direction:column;min-width:0;display:flex}.top-donor-name a{color:var(--black);text-overflow:ellipsis;white-space:nowrap;font-weight:600;text-decoration:none;overflow:hidden}.top-donor-name a:hover{text-decoration:underline}.top-donor-name .muted{font-size:.8125rem}.top-donor-count{color:var(--grey-700);white-space:nowrap;font-size:.875rem}.top-donor-count strong{color:var(--black);font-size:1.125rem}.empty-state{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.empty-state h2,.empty-state p{margin:0}@media (width<=1100px){.dashboard,.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.blood-group-card,.top-donors-card{grid-column:1/-1}.registrations-card{grid-column:auto}}@media (width<=860px){.admin{grid-template-columns:1fr}.sidebar{z-index:1;grid-template-columns:1fr auto;gap:12px;height:auto;padding:12px 16px 0;display:grid;position:sticky}.brand{align-self:center;padding:0}.sidebar-account{flex-direction:row;align-items:center;margin:0;padding:0}.sidebar-email{display:none}.sign-out{min-height:36px;padding:4px 14px}.sidebar-nav{flex-direction:row;grid-area:2/1/auto/-1;gap:4px;margin:0 -16px;padding:0 16px;overflow-x:auto}.sidebar-nav a{border-bottom:3px solid #0000;border-left:0;border-radius:0;flex:none;padding:0 12px}.sidebar-nav a[aria-current=page]{border-bottom-color:var(--red);background:0 0}.content{padding:20px 16px 32px}}@media (width<=560px){.dashboard{grid-template-columns:minmax(0,1fr)}.kpis{gap:10px}.kpis strong{font-size:1.5rem}.column-chart{gap:4px;height:180px}.column-label{font-size:.75rem}.page-head .button{width:100%}.top-donors li{grid-template-columns:32px minmax(0,1fr) auto}.top-donor-count{grid-column:2/-1}}.login{background-color:var(--grey-100);background-image:linear-gradient(var(--grey-200) 1px, transparent 1px), linear-gradient(90deg, var(--grey-200) 1px, transparent 1px);background-size:48px 48px;place-items:center;min-height:100dvh;padding:24px;display:grid}.login-panel{background:var(--white);border:1px solid var(--grey-200);border-radius:28px;grid-template-columns:1fr 1fr;width:min(1040px,100%);min-height:600px;display:grid;overflow:hidden;box-shadow:0 40px 80px -30px #0000004d}.login-intro{color:var(--white);background-color:var(--black);background-image:radial-gradient(#ffffff14 1px,#0000 1px),radial-gradient(circle at 80% 100%,#262626,#0000 60%);background-size:20px 20px,100% 100%;flex-direction:column;justify-content:space-between;gap:28px;padding:40px 44px;display:flex}.login-logo{letter-spacing:-.02em;margin:0;font-size:1.75rem;font-weight:800}.login-intro h2{text-wrap:balance;letter-spacing:-.03em;margin:16px 0 12px;font-size:2.25rem;font-weight:800;line-height:1.1}.login-lead{max-width:36ch;color:var(--grey-500);margin:0;font-size:1.0625rem}.login-pill{background:var(--grey-100);border:1px solid var(--grey-200);color:var(--grey-700);border-radius:999px;align-items:center;gap:8px;margin:0;padding:6px 14px;font-size:.875rem;font-weight:600;display:inline-flex}.login-pill:before{content:"";background:var(--red);border-radius:50%;width:6px;height:6px}.login-pill-dark{color:var(--white);background:#ffffff0f;border-color:#fff3}.login-stats{grid-template-columns:repeat(3,1fr);gap:12px;margin:0;padding:0;list-style:none;display:grid}.login-stats li{background:#ffffff0a;border:1px solid #ffffff26;border-radius:16px;flex-direction:column;padding:14px 16px;display:flex}.login-stats strong{font-size:1.375rem;font-weight:800}.login-stats span{color:var(--grey-500);font-size:.875rem}.login-form-side{place-items:center;padding:48px 44px;display:grid}.login-form-side form{flex-direction:column;gap:18px;width:min(380px,100%);display:flex}.login-form-side form>.login-pill{align-self:flex-start}.login-form-side h1{text-wrap:balance;letter-spacing:-.03em;font-size:2rem;font-weight:800;line-height:1.15}.login-subtitle{color:var(--grey-700);margin:-8px 0 8px}.login-field{flex-direction:column;gap:8px;display:flex}.login-field label{text-transform:uppercase;letter-spacing:.04em;color:var(--grey-700)}.login-input{border:1px solid var(--grey-200);background:var(--grey-100);border-radius:999px;align-items:center;gap:10px;padding:0 8px 0 20px;display:flex}.login-input:focus-within{border-color:var(--black)}.login-input input{background:0 0;border:0;flex:1;min-width:0;min-height:52px;padding:0}.login-input input:focus-visible{outline:none}.login-form-side svg{fill:none;stroke:currentColor;stroke-width:1.75px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}.login-input>svg{color:var(--grey-700)}.login-reveal{min-height:44px;color:var(--grey-700);background:0 0;border-radius:999px;padding:0 12px}.login-reveal[aria-pressed=true]{color:var(--black)}.login .form-error{margin:0}.login-submit{background:var(--black);min-height:56px;color:var(--white);border-radius:999px;gap:10px;margin-top:4px;font-size:1.0625rem;font-weight:700;box-shadow:0 16px 30px -14px #00000080}.login-submit:hover:not(:disabled){background:var(--grey-700)}.login-note,.login-footer{text-align:center;color:var(--grey-700);margin:0;font-size:.875rem}.login-note{justify-content:center;align-items:center;gap:6px;margin-top:8px;display:flex}.login-note svg{width:16px;height:16px}.login-footer{color:var(--grey-500)}.donation-illustration{fill:none;stroke-linecap:round;stroke-linejoin:round;width:100%;max-height:220px}.donation-illustration .stand line{stroke:var(--grey-700);stroke-width:4px}.donation-illustration .bag{transform-box:view-box;transform-origin:320px 30px;animation:6s ease-in-out infinite bag-sway}.donation-illustration .bag-hook{stroke:var(--grey-500);stroke-width:2px}.donation-illustration .bag-body{fill:var(--red)}.donation-illustration .bag-label{fill:var(--white);opacity:.85}.donation-illustration .bag-shine{fill:var(--white);opacity:.25}.donation-illustration .drip-chamber{stroke:var(--grey-500);stroke-width:2px}.donation-illustration .drop{fill:var(--red);animation:1.6s ease-in infinite drip}.donation-illustration .tube{stroke:var(--red-pressed);stroke-width:4px}.donation-illustration .tube-flow{stroke:var(--red);stroke-width:4px;stroke-dasharray:10 14;animation:1.2s linear infinite tube-flow}.donation-illustration .chair path,.donation-illustration .chair rect{fill:var(--grey-700)}.donation-illustration .chair line{stroke:var(--grey-700);stroke-width:6px}.donation-illustration .legs{fill:var(--grey-500)}.donation-illustration .torso{fill:var(--grey-200)}.donation-illustration .hair{fill:var(--grey-500)}.donation-illustration .skin{fill:var(--white)}.donation-illustration .arm{stroke:var(--white);stroke-width:11px}.donation-illustration .tape{fill:var(--grey-200)}.donation-illustration .heart{fill:var(--red);transform-box:fill-box;transform-origin:50%;animation:1.4s ease-in-out infinite heartbeat}@keyframes bag-sway{0%,to{transform:rotate(-1deg)}50%{transform:rotate(1deg)}}@keyframes drip{0%{opacity:0;transform:translateY(0)}20%{opacity:1}to{opacity:0;transform:translateY(16px)}}@keyframes tube-flow{to{stroke-dashoffset:-24px}}@keyframes heartbeat{0%,60%,to{transform:scale(1)}15%{transform:scale(1.18)}30%{transform:scale(.96)}45%{transform:scale(1.1)}}@media (prefers-reduced-motion:reduce){.donation-illustration .bag,.donation-illustration .drop,.donation-illustration .tube-flow,.donation-illustration .heart{animation:none}}@media (width<=960px){.login-intro,.login-form-side{padding:36px 28px}.login-intro h2{font-size:1.875rem}.login-form-side h1{font-size:1.75rem}}@media (width<=760px){.login{padding:16px}.login-panel{border-radius:24px;grid-template-columns:1fr;min-height:0}.login-intro{gap:20px;padding:28px 24px}.donation-illustration{max-height:170px}.login-form-side{padding:32px 24px 28px}.login-form-side form{width:min(460px,100%)}}@media (width<=480px){.login{background:var(--white);padding:0;display:block}.login-panel{min-height:100dvh;box-shadow:none;border:0;border-radius:0;grid-template-rows:auto 1fr}.login-intro{border-radius:0 0 24px 24px;gap:16px;padding:20px 20px 24px}.login-logo{font-size:1.375rem}.donation-illustration{max-height:140px}.login-intro h2{margin:12px 0 0;font-size:1.5rem}.login-lead,.login-stats{display:none}.login-form-side{place-items:start center;padding:28px 20px 24px}.login-form-side form{gap:16px}.login-form-side h1{font-size:1.5rem}.login-submit{min-height:52px}}@media (height<=520px) and (orientation:landscape){.donation-illustration{display:none}}.blood-group{color:var(--red);font-weight:700}.toolbar{border:1px solid var(--grey-200);background:var(--white);border-radius:16px;flex-direction:column;gap:18px;margin-bottom:20px;padding:20px;display:flex}.toolbar input{border-color:var(--grey-200);background-color:var(--grey-100);border-radius:12px}.toolbar input:focus{border-color:var(--black);background-color:var(--white);outline:none}.search-box{align-items:center;display:flex;position:relative}.search-box svg,.icon-button svg{fill:none;stroke:currentColor;stroke-width:1.75px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.search-box svg{color:var(--grey-700);pointer-events:none;position:absolute;left:16px}.search-box input{border-radius:999px;flex:1;min-height:50px;padding-left:48px;padding-right:48px;font-size:1rem}.search-box input::-webkit-search-cancel-button{appearance:none}.search-clear{width:36px;min-height:36px;color:var(--grey-700);background:0 0;border-radius:50%;padding:0;font-size:1.375rem;line-height:1;position:absolute;right:8px}.search-clear:hover{background:var(--grey-200);color:var(--black)}.filter-group{border:0;flex-direction:column;gap:8px;min-width:0;margin:0;padding:0;display:flex}.filter-label{margin-bottom:8px;padding:0;font-size:.875rem;font-weight:600}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{border:1px solid var(--grey-200);background:var(--white);min-width:52px;min-height:38px;color:var(--black);border-radius:999px;padding:4px 14px;font-size:.9375rem}.chip:hover{border-color:var(--grey-500)}.chip.selected{border-color:var(--red);background:var(--red);color:var(--white)}.filter-bottom{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:18px;display:grid}.toolbar fieldset.location legend{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.segmented{background:var(--grey-100);border-radius:999px;padding:4px;display:inline-flex}.segmented button{min-height:36px;color:var(--grey-700);white-space:nowrap;background:0 0;border:0;border-radius:999px;padding:4px 16px}.segmented button.selected{background:var(--white);color:var(--black);box-shadow:0 1px 3px #00000026}.toolbar-foot{border-top:1px solid var(--grey-200);justify-content:space-between;align-items:center;gap:12px;padding-top:14px;font-size:.875rem;display:flex}.link-button{min-height:32px;color:var(--red);background:0 0;border:0;padding:0;font-size:.875rem;text-decoration:underline}.results{transition:opacity .15s}.results.busy{opacity:.55}.results-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.result-count{margin:0;font-size:.875rem}.sort-select{color:var(--grey-700);white-space:nowrap;align-items:center;gap:10px;font-size:.875rem;font-weight:600;display:flex}.sort-select .combobox{width:200px}.result-count strong{color:var(--black)}.donor-cards{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;margin:0;padding:0;list-style:none;display:grid}.donor-card{border:1px solid var(--grey-200);background:var(--white);border-radius:16px;flex-direction:column;gap:16px;padding:18px;transition:border-color .15s,box-shadow .15s;display:flex}.donor-card:hover{border-color:var(--grey-500);box-shadow:0 12px 28px -18px #00000059}.donor-card-head{align-items:center;gap:12px;display:flex}.donor-avatar{background:var(--black);width:44px;height:44px;color:var(--white);border-radius:50%;flex:none;place-items:center;font-weight:700;display:grid}.donor-identity{flex-direction:column;flex:1;min-width:0;display:flex}.donor-identity h2{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:1rem;overflow:hidden}.donor-name{color:var(--black);text-decoration:none}.donor-phone{color:var(--grey-700);font-size:.875rem;text-decoration:none}.donor-name:hover,.donor-phone:hover{color:var(--black);text-decoration:underline}.blood-badge{background:var(--red-tint);min-width:48px;color:var(--red);text-align:center;border-radius:10px;flex:none;padding:6px 10px;font-weight:800}.donor-facts{border-top:1px solid var(--grey-200);flex-direction:column;gap:10px;margin:0;padding:14px 0 0;display:flex}.donor-facts div{grid-template-columns:84px minmax(0,1fr);gap:8px;font-size:.875rem;display:grid}.donor-facts dt{color:var(--grey-700)}.donor-facts dd{margin:0}.donor-card-foot{justify-content:space-between;align-items:center;gap:8px;margin-top:auto;display:flex}.availability-switch{border:1px solid var(--grey-200);background:var(--white);min-height:40px;color:var(--grey-700);border-radius:999px;gap:10px;padding:4px 14px 4px 6px;font-size:.875rem}.availability-switch:hover:not(:disabled){border-color:var(--grey-500)}.availability-switch[aria-checked=true]{border-color:var(--red);background:var(--red-tint);color:var(--black)}.availability-switch:disabled{cursor:progress}.availability-text{text-align:left;min-width:6.5em}.icon-button{border:1px solid var(--grey-200);width:40px;height:40px;color:var(--black);border-radius:50%;place-items:center;display:grid}.icon-button:hover{border-color:var(--black);background:var(--grey-100)}.pager{justify-content:center;align-items:center;gap:var(--space);margin-top:24px;display:flex}.pager button{border-radius:999px}@media (width<=760px){.filter-bottom{grid-template-columns:minmax(0,1fr)}.segmented{display:flex}.segmented button{flex:1}}@media (width<=560px){.toolbar{padding:16px}.donor-cards{grid-template-columns:minmax(0,1fr)}.pager{justify-content:space-between;gap:8px}}
