:root{--red:#b32940;--dark:#38262b;--muted:#86767b;--line:#ecdee0;--cream:#fbf8f6}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--dark);font-family:Segoe UI,Arial,sans-serif;font-size:14px}a{color:var(--red);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}h1,h2,p{margin-top:0}h1{font-size:32px;letter-spacing:-1px;margin-bottom:10px}h2{font-size:20px;margin-bottom:8px}.shell{display:flex;min-height:100vh}.sidebar{width:250px;flex-shrink:0;background:white;border-right:1px solid var(--line);padding:34px 24px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;font-size:27px;font-weight:750;color:var(--dark)}.brand:hover{text-decoration:none}.brand small{display:block;letter-spacing:2px;font-size:9px;margin-top:2px}.brand-icon{display:grid;place-items:center;background:var(--red);color:white;width:44px;height:46px;border-radius:14px;font-size:27px}.nav-label{color:var(--muted);font-size:10px;letter-spacing:2px;margin:52px 12px 16px}nav a{display:block;color:#746169;padding:14px 13px;border-radius:9px;margin-bottom:6px}nav a:hover,nav a.active{background:#fbecef;color:var(--red);text-decoration:none}.sidebar-note{margin-top:auto;padding:24px 12px 0;font-size:13px}.sidebar-note p{line-height:1.7;color:var(--muted);margin-top:10px}.sidebar-note span{font-size:8px;letter-spacing:1px;color:var(--red)}.workspace{flex:1;min-width:0}.topbar{height:82px;padding:0 42px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px}.account{display:flex;gap:12px;align-items:center}.avatar{border-radius:50%;width:34px;height:34px;background:#fbecef;color:var(--red);display:grid;place-items:center}.link-button{border:0;background:none;color:var(--muted);cursor:pointer}main{padding:38px 42px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.page-heading p,.muted{color:var(--muted)}.eyebrow{display:block;font-size:10px;letter-spacing:2px;font-weight:700;color:var(--red);margin-bottom:12px}.button{display:inline-block;border:0;background:var(--red);color:white;padding:13px 20px;border-radius:8px;font-weight:600;cursor:pointer;white-space:nowrap}.button:hover{background:#942338;color:white;text-decoration:none}.hero{border:1px solid #eed3d9;border-radius:16px;background:linear-gradient(110deg,#fae8eb,#fff7f1);padding:35px 40px;display:flex;align-items:center;justify-content:space-between;overflow:hidden}.hero h2{font-size:32px;letter-spacing:-1px}.hero p{line-height:1.7;color:#917079}.hero a{font-weight:650}.hero-symbol{color:var(--red);font-size:150px;line-height:1;position:relative;transform:rotate(-8deg);margin:0 40px;opacity:.85}.hero-symbol span{position:absolute;color:white;left:47px;top:43px;font-size:62px}.section-heading,.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.section-heading{margin:30px 0 16px}.section-heading span,.panel-heading>span{color:var(--muted);font-size:12px}.group-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:12px;margin-bottom:30px}.group-card{background:white;border:1px solid var(--line);border-radius:12px;padding:20px 14px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;color:var(--dark)}.group-card:hover{border-color:var(--red);text-decoration:none}.group-card strong{font-size:27px}.group-card small{font-size:10px;color:var(--muted)}.blood-badge,.pill{display:inline-block;background:#fbecef;color:var(--red);border-radius:7px;padding:7px 10px;font-weight:700;font-size:12px}.panel{border:1px solid var(--line);background:white;border-radius:14px;overflow:hidden;padding:24px}.panel-heading{margin-bottom:15px}.panel-heading p{font-size:12px;margin-bottom:0}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:10px;letter-spacing:1px;color:var(--muted);text-transform:uppercase;background:var(--cream)}td,th{padding:15px;border-bottom:1px solid var(--line)}tbody tr:last-child td{border-bottom:0}.empty{text-align:center;padding:35px 15px;color:var(--muted)}.empty>span{font-size:48px;color:var(--red)}.empty h2{color:var(--dark);margin-top:12px}.empty p{margin-bottom:24px}.form-panel{max-width:640px;padding:30px}label{display:block;margin:18px 0 8px;font-weight:600;font-size:12px}input:not([type=checkbox],[type=hidden]),select,textarea{width:100%;border:1px solid #dfd0d4;border-radius:7px;background:#fff;padding:12px;color:var(--dark)}input:focus,textarea:focus,select:focus{border-color:var(--red)}.validation{color:#ac2139;font-size:12px;display:block;margin-top:5px}.validation ul{padding-left:18px}.hint{font-size:11px;color:var(--muted);margin-top:8px}.actions{display:flex;gap:20px;align-items:center;margin-top:25px}.form-panel form>.button{margin-top:25px}.notice{padding:15px 20px;background:#e9f5ee;color:#2a6948;border-radius:8px;margin-bottom:22px}.filters{display:flex;gap:12px;align-items:center;margin-bottom:22px}.filters input{flex:2}.filters select{flex:1}footer{padding:24px 42px;color:var(--muted);font-size:10px;display:flex;justify-content:space-between}.auth-page{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at top left,#f7dde2,transparent 60%);padding:32px}.auth-card{display:grid;grid-template-columns:1.1fr 1fr;max-width:960px;width:100%;background:white;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 25px 80px #6920320d}.auth-story{background:#f9e9ec;padding:40px;display:flex;flex-direction:column;justify-content:space-between;min-height:570px}.auth-story h1{font-size:43px;line-height:1.18}.auth-story em{color:var(--red);font-style:normal}.auth-story p{color:#92747c;line-height:1.8;max-width:330px}.auth-story>small{color:#92747c;font-size:11px}.auth-form{padding:75px 46px}.auth-form h2{font-size:29px;letter-spacing:-.8px}.auth-form>.muted{font-size:12px;margin-bottom:30px}.check{display:flex;gap:8px;align-items:center;color:var(--muted);font-weight:400;margin:20px 0}.full{width:100%}.auth-help{font-size:11px;color:var(--muted);text-align:center;margin-top:25px}@media(max-width:1200px){.group-grid{grid-template-columns:repeat(4,1fr)}.hero-symbol{margin-right:0}}@media(max-width:760px){.shell{display:block}.sidebar{width:100%;padding:18px}.sidebar nav{display:flex;flex-wrap:wrap;gap:4px;margin-top:18px}.sidebar nav a{padding:9px;font-size:12px}.nav-label,.sidebar-note{display:none}.topbar{height:auto;padding:15px 20px;gap:15px}.topbar>span{display:none}main{padding:24px 18px}.page-heading{align-items:flex-start;flex-direction:column}h1{font-size:27px}.hero{padding:25px}.hero-symbol{display:none}.group-grid{grid-template-columns:repeat(2,1fr)}.filters{flex-wrap:wrap}.filters input,.filters select{flex:auto}.auth-card{grid-template-columns:1fr;max-width:480px}.auth-story{min-height:auto;padding:26px}.auth-story>div,.auth-story>small{display:none}.auth-form{padding:32px}.auth-page{padding:18px}footer{padding:24px 18px}footer span{display:none}}
/* Person pages start with a single-column layout for phones. */
.person-form{max-width:800px;padding:22px}.field-grid{display:grid;grid-template-columns:1fr;gap:0}.form-section{display:flex;align-items:center;gap:14px}.form-section h2{font-size:17px;margin:0 0 5px}.form-section p{color:var(--muted);font-size:12px;margin:0;line-height:1.6}.section-number{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border-radius:10px;background:#fbecef;color:var(--red);font-weight:700;font-size:12px}.separated{border-top:1px solid var(--line);margin-top:26px;padding-top:24px}.person-form input,.person-form select,.person-form textarea{font-size:16px;min-height:48px}.person-actions{border-top:1px solid var(--line);padding-top:20px;flex-direction:column;gap:18px}.person-actions .button{width:100%;min-height:48px}.back-link{padding:10px 0}.person-cards{display:grid;grid-template-columns:1fr;gap:16px}.person-card{border:1px solid var(--line);border-radius:12px;padding:20px;min-width:0}.person-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.person-card-heading h2{font-size:18px;overflow-wrap:anywhere}.person-card-heading p{font-size:12px;color:var(--muted);line-height:1.6;overflow-wrap:anywhere;white-space:pre-line}.person-card .blood-badge{flex-shrink:0}.person-card dl{margin:16px 0;display:grid;gap:14px}.person-card dt{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin-bottom:6px}.person-card dd{margin:0;font-size:15px}.person-card dd a{display:inline-block;padding:4px 0}.person-notes{border-top:1px solid var(--line);padding-top:14px;line-height:1.6;font-size:12px;white-space:pre-line;overflow-wrap:anywhere}.edit-person{display:block;border-top:1px solid var(--line);padding:14px 0 0;font-size:12px;font-weight:600}@media(min-width:640px){.person-form{padding:32px}.field-grid{grid-template-columns:1fr 1fr;gap:20px}.person-actions{flex-direction:row}.person-actions .button{width:auto}.person-card dl{grid-template-columns:1fr 1fr}.person-cards{grid-template-columns:repeat(auto-fit,minmax(310px,1fr))}}@media(max-width:760px){.register-panel{padding:16px}.filters{display:grid;grid-template-columns:1fr auto;gap:12px}.filters input,.filters select{grid-column:1/-1;min-height:48px;font-size:16px}.filters .button{min-height:48px}.filters>a{text-align:center;padding:14px}.sidebar nav a{min-height:44px;display:flex;align-items:center}.page-heading>.button{width:100%;text-align:center;min-height:48px}.topbar .account{width:100%}.topbar .account form{margin-left:auto}.topbar .link-button{min-height:44px}.group-card{min-height:130px}.panel-heading{align-items:flex-start}.panel-heading>a{white-space:nowrap}.hero h2{font-size:28px}}
/* Compact blood-red theme and mobile navigation. */
:root{--red:#a61930;--dark:#342429;--muted:#786b70;--line:#eadcde;--cream:#fcf9f8}.button{padding:10px 16px;font-size:13px}.workspace-menu summary{display:none}.workspace-menu:not([open])>nav,.workspace-menu:not([open])>.nav-label{display:block}.same-number{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:400;color:var(--muted);margin:0 0 8px;cursor:pointer}.same-number input{margin:0;width:15px;height:15px;accent-color:var(--red)}.synced-number{background:#f7f0f1!important;color:#79666c!important}.person-form input:not([type=checkbox],[type=hidden]),.person-form select,.person-form textarea{min-height:40px;padding:9px 11px;font-size:14px}.person-actions .button{min-height:40px}.form-section h2{font-size:16px}.form-section p{font-size:11px}.section-number{width:30px;height:30px;border-radius:8px;font-size:10px}.separated{margin-top:20px;padding-top:18px}.hero{background:linear-gradient(110deg,#f8e3e6,#fff5f0)}.blood-badge,.pill{background:#f9e4e8;color:var(--red)}
@media(max-width:760px){
 .sidebar{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line);border-right:0;position:relative;z-index:20}
 .brand{font-size:21px;gap:9px}.brand-icon{width:33px;height:35px;border-radius:10px;font-size:21px}.brand small{font-size:7px;letter-spacing:1.6px}
 .workspace-menu{position:static}.workspace-menu summary{display:flex;align-items:center;gap:7px;padding:9px 11px;list-style:none;border:1px solid var(--line);border-radius:7px;color:var(--red);background:var(--cream);cursor:pointer;font-size:12px;font-weight:600}.workspace-menu summary::-webkit-details-marker{display:none}
 .workspace-menu:not([open])>nav,.workspace-menu:not([open])>.nav-label{display:none}
 .sidebar .workspace-menu nav{position:absolute;right:12px;top:calc(100% - 3px);width:230px;margin:0;padding:8px;background:white;border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 28px #58152518;display:block}
 .sidebar .workspace-menu nav a{font-size:12px;min-height:38px;padding:10px 12px;margin:2px 0;border-radius:6px}.workspace-menu[open] summary{background:#f9e4e8}
 .topbar{padding:7px 16px;border-bottom:1px solid var(--line)}.topbar .account{gap:8px;font-size:11px}.avatar{width:25px;height:25px;font-size:10px}.topbar .link-button{min-height:30px;padding:5px 0;font-size:11px}
 main{padding:22px 16px}.eyebrow{font-size:9px;letter-spacing:1.5px;margin-bottom:8px}h1{font-size:24px;letter-spacing:-.7px;margin-bottom:7px}.page-heading{gap:10px;margin-bottom:18px}.page-heading p{font-size:12px;line-height:1.6;margin-bottom:0}.back-link{font-size:11px;padding:4px 0}.page-heading>.button{width:auto;min-height:36px;padding:9px 14px;font-size:12px}
 .panel{padding:16px;border-radius:10px}.person-form{padding:18px}.field-grid{gap:0}label{font-size:11px;margin:14px 0 6px}
 input:not([type=checkbox],[type=hidden]),select,textarea,.person-form input:not([type=checkbox],[type=hidden]),.person-form select,.person-form textarea,.filters input,.filters select{font-size:14px;min-height:38px;padding:9px 10px;border-radius:6px}.person-form textarea{min-height:72px}.hint{font-size:10px;line-height:1.5;margin:6px 0 0}.validation{font-size:11px}
 .button,.filters .button{min-height:36px;padding:9px 14px;font-size:12px;border-radius:6px}.person-actions{flex-direction:row;gap:20px;padding-top:16px;margin-top:20px}.person-actions .button{width:auto;min-height:36px}.person-actions>a{font-size:12px}.same-number{font-size:11px;margin:0 0 7px;min-height:24px}
 .section-number{width:27px;height:27px;font-size:9px}.form-section{gap:10px}.form-section h2{font-size:14px;margin-bottom:3px}.form-section p{font-size:10px}.separated{margin-top:18px;padding-top:16px}
 .person-card{padding:16px;border-radius:9px}.person-card-heading h2{font-size:16px}.person-card-heading p{font-size:11px}.person-card dd{font-size:13px}.blood-badge,.pill{font-size:11px;padding:6px 8px}.group-card{min-height:108px;padding:14px;gap:8px}.group-card strong{font-size:23px}.section-heading{margin-top:22px}.section-heading h2,.panel-heading h2{font-size:17px}.hero{padding:22px}.hero h2{font-size:25px}.hero p{font-size:12px}.hero a{font-size:12px}.auth-form{padding:26px}.auth-form h2{font-size:25px}.auth-story{padding:22px}.filters{gap:9px}.filters>a{font-size:11px;padding:9px}.empty{padding:25px 10px}.empty h2{font-size:17px}.empty p{font-size:12px}footer{padding:18px 16px}
}
/* Balanced, compact registration form. */
.person-form,.person-page-heading{width:100%;max-width:1080px}.person-form{padding:20px 22px}.person-form-row{display:grid;grid-template-columns:1fr;gap:14px;padding:18px 0;border-bottom:1px solid var(--line)}.person-form-row:first-of-type{padding-top:0}.person-fields{display:grid;grid-template-columns:1fr;gap:12px;min-width:0}.person-fields>div{min-width:0}.person-fields label:not(.same-number){margin:0 0 6px;font-size:11px}.person-form .person-fields input:not([type=checkbox],[type=hidden]),.person-form .person-fields select,.person-form .person-fields textarea{min-height:32px;padding:6px 9px;font-size:13px;line-height:18px;border-radius:5px}.person-form .person-fields textarea{min-height:68px;resize:vertical}.person-form .form-section{align-items:flex-start;gap:10px}.person-form .form-section h2{font-size:14px;margin:1px 0 5px}.person-form .form-section p{font-size:11px;line-height:1.6}.person-form .section-number{width:26px;height:26px;font-size:9px;border-radius:7px}.person-form .same-number{margin:7px 0 0;min-height:18px;font-size:10px}.person-form .same-number input{min-height:0;width:13px;height:13px}.person-form .hint{font-size:10px;margin:6px 0 0;line-height:1.5}.person-form .person-actions{border-top:0;margin-top:0;padding-top:18px;flex-direction:row;gap:18px}.person-form .person-actions .button{width:auto;min-height:32px;padding:7px 14px;font-size:12px}.person-form .person-actions>a{font-size:12px}
@media(min-width:640px){.person-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.personal-fields{grid-template-columns:1fr 1fr .8fr}}
@media(min-width:1100px){.person-form{padding:26px 30px}.person-form-row{grid-template-columns:190px minmax(0,1fr);gap:26px;padding:24px 0}.person-form .form-section{padding-top:2px}.person-form .person-actions{padding-left:216px}}
@media(max-width:639px){.person-form{padding:18px}.person-form .person-fields input:not([type=checkbox],[type=hidden]),.person-form .person-fields select{min-height:34px}.person-form-row{padding:16px 0}}
.person-form .person-actions{padding-left:0;justify-content:flex-start}
.account-menu{position:relative;color:var(--dark);z-index:30}.account-menu summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;border-radius:7px;padding:5px 8px;font-size:12px}.account-menu summary::-webkit-details-marker{display:none}.account-menu summary:hover,.account-menu[open] summary{background:#fcf0f2}.account-chevron{font-size:16px;color:var(--muted)}.account-dropdown{position:absolute;right:0;top:calc(100% + 9px);width:200px;background:white;border:1px solid var(--line);border-radius:10px;padding:8px;box-shadow:0 10px 30px #58152518}.account-caption{display:block;padding:8px 10px;font-size:9px;letter-spacing:1.4px;color:var(--muted)}.account-dropdown a,.account-dropdown button{display:block;width:100%;text-align:left;background:none;border:0;border-radius:6px;padding:11px 10px;font:inherit;font-size:12px;color:var(--dark);cursor:pointer}.account-dropdown a:hover,.account-dropdown button:hover{background:#fbecef;text-decoration:none;color:var(--red)}.account-dropdown form{border-top:1px solid var(--line);margin-top:5px;padding-top:5px}.account-dropdown button{color:var(--red)}@media(max-width:760px){.topbar{justify-content:flex-end}.account-menu summary{padding:3px 5px;font-size:11px}.account-dropdown{width:190px}.person-form .person-actions{padding-left:0}}
/* Consistent navigation icons and a single mobile header row. */
.sidebar nav a{display:flex;align-items:center;gap:11px;padding:11px 12px;margin:5px 0;border-radius:8px;border:1px solid transparent;font-size:13px;font-weight:500;transition:background .15s,border-color .15s}.nav-icon{width:29px;height:29px;display:grid;place-items:center;flex-shrink:0;border-radius:7px;background:#f7f3f4;color:#8b747b}.nav-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sidebar nav a:hover{background:#fcf6f7;border-color:#efdee2}.sidebar nav a.active{background:#fae9ed;border-color:#efd1d8;color:var(--red);font-weight:650}.sidebar nav a.active .nav-icon{background:var(--red);color:white}.account-chevron{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}.account-menu[open] .account-chevron{transform:rotate(180deg)}
@media(max-width:760px){.shell{position:relative}.sidebar{min-height:63px;padding:12px 132px 12px 16px;gap:8px}.brand{font-size:19px;gap:7px}.brand-icon{width:30px;height:32px;font-size:19px}.brand small{font-size:6px;letter-spacing:1.4px}.workspace-menu summary{height:33px;padding:7px 9px;font-size:11px;gap:5px}.topbar{position:absolute;right:14px;top:12px;height:33px;padding:0;border:0;background:transparent;z-index:30}.topbar .account-menu summary{height:33px;padding:4px 7px;gap:6px;border:1px solid var(--line);background:white}.account-menu .avatar{width:21px;height:21px;font-size:9px}.account-menu summary strong{display:block;max-width:48px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.account-chevron{width:13px;height:13px}.account-dropdown{top:calc(100% + 9px)}.sidebar .workspace-menu nav{right:14px;width:235px;padding:7px}.sidebar .workspace-menu nav a{padding:9px 10px;gap:10px;font-size:12px;min-height:40px}.sidebar .nav-icon{width:26px;height:26px;border-radius:6px}.sidebar .nav-icon svg{width:16px;height:16px}}
@media(max-width:359px){.sidebar{padding-left:12px;padding-right:116px}.brand{font-size:17px}.brand small{letter-spacing:1px}.topbar{right:10px}.account-menu summary strong{max-width:36px}.workspace-menu summary{padding:7px}.brand-icon{width:27px;height:29px}}
/* Mobile header order: Menu, brand, account. */
@media(max-width:760px){.sidebar{justify-content:flex-start;gap:10px}.sidebar>.workspace-menu{order:-1}.sidebar>.brand{order:0}.workspace-menu summary{padding:7px 8px}}
@media(max-width:359px){.sidebar{gap:7px}.workspace-menu summary{padding:7px 6px}.sidebar>.brand{gap:5px}}
.list-actions,.row-actions{display:flex;align-items:center;gap:7px}.button-outline{background:white;color:var(--red);border:1px solid var(--line)}.register-panel .filters{margin-bottom:16px;gap:8px}.register-panel .filters input,.register-panel .filters select{min-height:31px;padding:6px 9px;font-size:12px}.register-panel .filters .button,.list-actions .button{min-height:31px;padding:7px 12px;font-size:11px}.compact-register{font-size:11px;min-width:830px}.compact-register th{font-size:9px;letter-spacing:.6px;white-space:nowrap}.compact-register td,.compact-register th{padding:9px 10px;vertical-align:middle}.compact-register tbody tr:hover{background:#fff9fa}.compact-register .blood-badge{font-size:10px;padding:4px 6px}.name-cell{font-weight:600;min-width:110px}.wrap-cell{max-width:180px;min-width:100px;white-space:pre-line;overflow-wrap:anywhere}.small-button{border:1px solid var(--line);background:white;color:var(--red);font-size:10px;padding:5px 8px;border-radius:5px;cursor:pointer}.small-button:hover{background:#fae9ed}.delete-person-button{color:#86505b}.text-button{background:none;border:0;padding:6px 0;font-size:12px;color:var(--muted);cursor:pointer}.register-dialog,.delete-dialog{border:1px solid var(--line);border-radius:12px;padding:22px;color:var(--dark);box-shadow:0 20px 70px #30081733}.register-dialog{width:min(980px,calc(100vw - 28px));max-height:90vh}.delete-dialog{width:min(400px,calc(100vw - 28px))}.delete-dialog p{font-size:13px;line-height:1.7}.register-dialog::backdrop,.delete-dialog::backdrop{background:#29101866}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.dialog-heading h2{font-size:20px;margin:0}.dialog-heading .eyebrow{font-size:9px;margin-bottom:5px}.dialog-close{border:0;background:#f9edf0;color:var(--red);font-size:22px;width:29px;height:29px;border-radius:6px;cursor:pointer}.register-dialog .person-form{border:0;padding:0;border-radius:0}.register-dialog .person-form-row{grid-template-columns:1fr;padding:15px 0}.register-dialog .form-section p{display:none}.register-dialog .person-actions{padding-left:0}.register-dialog .validation:empty{display:none}@media(max-width:639px){.register-dialog{padding:17px}.list-actions{width:100%}.compact-register td,.compact-register th{padding:8px}.register-panel .filters input,.register-panel .filters select{min-height:32px;font-size:12px}.register-panel .filters .button{min-height:31px}.page-heading .list-actions .button{width:auto}}
.pagination-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-top:16px;margin-top:12px;border-top:1px solid var(--line)}.page-count,.page-position{font-size:11px;color:var(--muted)}nav.page-controls{display:flex;align-items:center;gap:9px}nav.page-controls a{margin:0;padding:6px 9px;font-size:10px;color:var(--red);border:1px solid var(--line)}nav.page-controls a:hover{text-decoration:none;background:#fae9ed}.disabled{opacity:.45;cursor:default}.go-to-page{display:flex;align-items:center;gap:7px}.go-to-page label{margin:0;font-size:11px;color:var(--muted);font-weight:400}.go-to-page input:not([type=hidden]){width:52px;min-height:28px;padding:4px 6px;font-size:11px}.go-to-page button{min-height:28px}@media(max-width:760px){.sidebar .workspace-menu nav{left:16px;right:auto}.pagination-bar{gap:12px}.page-count{width:100%}.page-controls{flex-wrap:wrap}.go-to-page input:not([type=hidden]){font-size:12px}}@media(max-width:359px){.sidebar .workspace-menu nav{left:12px}}
.compatibility-panel{padding:28px}.compatibility-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.compatibility-heading h2{font-size:24px;letter-spacing:-.6px;margin-bottom:8px}.compatibility-heading p{font-size:12px;color:var(--muted);line-height:1.6;margin-bottom:0}.component-label{font-size:9px;letter-spacing:1px;border:1px solid var(--line);padding:7px 9px;border-radius:5px;color:var(--muted);white-space:nowrap}.blood-selector{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.blood-choice{border:1px solid var(--line);background:white;color:var(--dark);border-radius:8px;min-width:48px;padding:9px 14px;font-size:13px;font-weight:650;cursor:pointer}.blood-choice:hover{border-color:var(--red);background:#fff6f8}.blood-choice.selected{background:var(--red);color:white;border-color:var(--red);box-shadow:0 4px 12px #a6193026}.compatibility-flow{display:grid;grid-template-columns:minmax(0,1fr) 32px 150px 32px minmax(0,1fr);gap:16px;align-items:center;padding:25px 12px;background:linear-gradient(110deg,#fcf8f7,#fff9fa);border:1px solid #f0e4e6;border-radius:14px}.compatibility-side{text-align:center;align-self:stretch;padding:12px 6px}.direction-icon{display:grid;place-items:center;margin:0 auto 12px;width:30px;height:30px;border-radius:50%;background:#f6e6ea;color:var(--red);font-size:17px}.receive-side .direction-icon{background:#e8f2ef;color:#3b7865}.compatibility-side h3{font-size:16px;margin:0 0 7px}.compatibility-side p{font-size:10px;color:var(--muted);margin-bottom:16px}.compatibility-chips{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;max-width:245px;margin:auto}.compatibility-chip{display:grid;place-items:center;min-width:43px;height:33px;padding:0 10px;border:1px solid #e9cdd4;border-radius:7px;background:white;color:var(--red);font-size:12px;font-weight:650}.compatibility-chip[hidden]{display:none}.receive-side .compatibility-chip{border-color:#d4e5dd;color:#3b7865}.flow-arrow{color:#bca4ad;font-size:26px;text-align:center}.selected-blood{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-bottom:20px;min-height:165px}.selected-blood svg{width:115px;height:135px;fill:var(--red);filter:drop-shadow(0 9px 10px #a6193020)}.selected-blood strong{position:absolute;top:71px;font-size:26px;color:white;letter-spacing:-1px}.selected-blood>span{font-size:10px;color:var(--muted);margin-top:8px}.compatibility-facts{display:flex;justify-content:center;gap:30px;flex-wrap:wrap;padding:20px 0 16px;font-size:11px;color:var(--muted)}.compatibility-facts strong{color:var(--red);margin-right:7px;font-size:12px}.compatibility-note{font-size:10px;line-height:1.7;color:var(--muted);margin:0;padding-top:16px;border-top:1px solid var(--line)}@media(max-width:1050px){.compatibility-flow{grid-template-columns:minmax(0,1fr) 16px 110px 16px minmax(0,1fr);gap:5px;padding:18px 6px}.compatibility-side h3{font-size:14px}.compatibility-chip{min-width:36px;padding:0 7px;font-size:11px}}@media(max-width:639px){.compatibility-panel{padding:18px}.compatibility-heading{display:block}.compatibility-heading h2{font-size:21px}.component-label{display:inline-block;margin-top:12px}.blood-selector{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:18px 0}.blood-choice{min-width:0;padding:8px 10px;font-size:12px}.compatibility-flow{grid-template-columns:1fr;gap:0;padding:14px}.compatibility-side{padding:10px 0}.flow-arrow{transform:rotate(90deg);font-size:21px;padding:5px}.selected-blood{min-height:132px;padding-bottom:8px}.selected-blood svg{width:85px;height:100px}.selected-blood strong{top:50px;font-size:22px}.compatibility-side h3{font-size:15px}.compatibility-side p{margin-bottom:10px}.direction-icon{display:none}.compatibility-chips{max-width:100%}.compatibility-facts{gap:10px;justify-content:flex-start;padding:16px 0;font-size:10px}.compatibility-facts span{width:100%}}
.compact-register .whatsapp-link{display:inline-flex;align-items:center;gap:4px;color:#187642;white-space:nowrap;font-weight:500}.compact-register .whatsapp-link:hover{color:#105c31}.external-link-icon{width:12px;height:12px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.install-banner[hidden]{display:none}.install-banner{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:100;display:flex;align-items:center;gap:13px;width:min(520px,calc(100% - 28px));padding:15px;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 40px #58152526}.install-banner img{width:40px;height:40px;border-radius:9px}.install-banner strong{font-size:13px}.install-banner p{font-size:11px;line-height:1.6;color:var(--muted);margin:4px 0 0}.install-banner>div{flex:1}.install-banner .button{font-size:11px;padding:8px 12px}.install-dismiss{border:0;background:none;font-size:22px;color:var(--muted);cursor:pointer;padding:3px}.install-banner button[hidden]{display:none}@media(max-width:420px){.install-banner{gap:9px;padding:12px;bottom:12px}.install-banner img{width:32px;height:32px}.install-banner p{font-size:10px}}
.brand-icon .brand-mark{width:25px;height:30px;fill:white}.brand-icon .brand-cross{fill:none;stroke:var(--red);stroke-width:8;stroke-linecap:round;stroke-linejoin:round}@media(max-width:760px){.brand-icon .brand-mark{width:19px;height:24px}}

.saved-persons-total{display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--dark);margin-bottom:24px}
.saved-persons-total:hover{text-decoration:none;border-color:var(--red)}
.saved-persons-total h2{margin:6px 0 8px}
.saved-persons-total strong{font-size:40px;color:var(--red);font-variant-numeric:tabular-nums}
.saved-persons-total div>span:last-child{color:var(--muted);font-size:13px}
