*{box-sizing:border-box}html,body{margin:0;height:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#1a1a1a;overflow-x:hidden}table{border-collapse:collapse;width:100%;font-size:.9rem;background:#fff;border-radius:6px;overflow:hidden;box-shadow:0 1px 3px #00000014}table th,table td{text-align:left!important;padding:.55rem .75rem;border-bottom:1px solid #e5e7eb}@media(max-width:640px){table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;font-size:.82rem}table th,table td{padding:.45rem .55rem}}table th{background:#1a1a1a;color:#f6c615;font-weight:700;text-transform:uppercase;font-size:.78rem;letter-spacing:.03em}table th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap}table th.sortable:hover{background:#333}table th.sortable .sort-none:after{content:"";display:inline-block;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:4px solid rgba(255,255,255,.35);margin-left:5px;vertical-align:middle}table th.sortable .sort-asc:after{content:"";display:inline-block;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:5px solid #f6c615;margin-left:5px;vertical-align:middle}table th.sortable .sort-desc:after{content:"";display:inline-block;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid #f6c615;margin-left:5px;vertical-align:middle}table td:last-child:not([colspan]){text-align:right;white-space:nowrap}table td[colspan]{text-align:center;color:#667085;padding:1.2rem;white-space:normal}table tr:hover td{background:#fff8e1}table tr.dragging td{opacity:.4;background:#fff8e1}table tr[style*=cursor]:hover td{background:#fff3c4}button{cursor:pointer;border:1px solid #c7ccd4;background:#fff;border-radius:4px;padding:.4rem .8rem;font-size:.9rem;font-weight:600}button:hover{background:#f0f2f5}button.primary{background:#f6c615;color:#1a1a1a;border-color:#d9ad08}button.primary:hover{background:#ffd21f}button.danger{color:#b42318;border-color:#f1b0ab}button.danger:hover{background:#fef3f2}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.page-header h2{margin:0;color:#1b6a8c}h3{color:#1b6a8c}form.card{max-width:800px;background:#fff;padding:1.25rem;border-radius:8px;border:1px solid #e5e7eb;border-top:4px solid #45c1e8}form.card .field{margin-bottom:.9rem;display:flex;flex-direction:column}form.card .field label{font-size:.85rem;font-weight:600;margin-bottom:.25rem;color:#444}form.card .field input,form.card .field select{padding:.45rem .6rem;border:1px solid #c7ccd4;border-radius:4px;font-size:.9rem}form.card .field input:focus,form.card .field select:focus{outline:none;border-color:#45c1e8;box-shadow:0 0 0 2px #45c1e840}form.card .row{display:flex;gap:1rem}form.card .row .field{flex:1}@media(max-width:640px){form.card .row{flex-direction:column;gap:0}}form.card .actions{display:flex;gap:.6rem;margin-top:1rem}.error{color:#b42318;background:#fef3f2;border:1px solid #f1b0ab;border-radius:4px;padding:.5rem .75rem;margin-bottom:1rem;font-size:.9rem}.badge{display:inline-block;padding:.15rem .5rem;border-radius:10px;font-size:.75rem;font-weight:700}.badge.active{background:#dcfae6;color:#067647}.badge.passive{background:#fef9c3;color:#854d0e}.badge.former,.badge.inactive{background:#f2f4f7;color:#667085}.badge.council{background:#f6c615;color:#1a1a1a}a.link{color:#1b6a8c;text-decoration:none;font-weight:600}a.link:hover{text-decoration:underline}.filters{display:flex;gap:1rem;align-items:flex-end;margin-bottom:1rem;padding:.9rem 1rem;background:#fff;border:1px solid #e5e7eb;border-left:4px solid #45c1e8;border-radius:6px;flex-wrap:wrap}.filters .field{display:flex;flex-direction:column;flex:1;min-width:160px}.filters .field.narrow{flex:0 0 110px;min-width:110px}.filters .field label{font-size:.8rem;font-weight:600;margin-bottom:.25rem;color:#444}.filters .field input,.filters .field select{padding:.4rem .6rem;border:1px solid #c7ccd4;border-radius:4px;font-size:.9rem}.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:6px;box-shadow:0 1px 3px #00000014;margin-bottom:1rem}.table-scroll table{border-radius:0;box-shadow:none;margin-bottom:0;min-width:500px}.toggle-switch{position:relative;display:inline-block;width:52px;height:28px;flex-shrink:0;cursor:pointer}.toggle-switch input{opacity:0;width:0;height:0;position:absolute}.toggle-switch .toggle-slider{position:absolute;inset:0;background:#c7ccd4;border-radius:28px;transition:background .22s}.toggle-switch .toggle-slider:before{content:"";position:absolute;width:22px;height:22px;left:3px;top:3px;background:#fff;border-radius:50%;transition:transform .22s;box-shadow:0 1px 4px #00000040}.toggle-switch input:checked+.toggle-slider{background:#45c1e8}.toggle-switch input:checked+.toggle-slider:before{transform:translate(24px)}.picker-trigger{width:100%;padding:.55rem .75rem;text-align:left;border:1px dashed #c7ccd4;border-radius:4px;background:#fafbfc;color:#667085;font-size:.9rem}.picker-trigger:hover{background:#f0f2f5;border-color:#45c1e8;color:#1a1a1a}.selected-member{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.45rem .75rem;border:1px solid #45c1e8;border-radius:4px;background:#f0fbff;font-size:.9rem}.selected-member button{padding:.2rem .6rem;font-size:.8rem}.loan-active{background:#fff8e1;border:2px solid #f6c615;border-radius:8px;padding:1rem 1.25rem;margin-bottom:1rem}.loan-active .loan-who{font-size:1.05rem;margin-bottom:.3rem}.loan-active .loan-notes{font-size:.9rem;color:#667085}dl.data{display:grid;grid-template-columns:180px 1fr;gap:.4rem 1rem;margin:0 0 2rem;background:#fff;padding:1.25rem;border-radius:8px;border:1px solid #e5e7eb;border-top:4px solid #45c1e8}dl.data dt{font-weight:600;color:#667085;font-size:.85rem}dl.data dd{margin:0}
