.login-page{align-items:center;background:linear-gradient(135deg,#f8fafc,#f1f5f9);display:flex;font-family:EB Garamond,serif;justify-content:center;min-height:100vh;min-height:100dvh;overflow:hidden;padding:1rem}.login-background{inset:0;overflow:hidden;position:fixed;z-index:-1}.background-pattern{background-image:radial-gradient(circle at 25px 25px,#84161708 2%,#0000 2.5%),radial-gradient(circle at 75px 75px,#84161708 2%,#0000 2.5%);background-position:0 0,50px 50px;background-size:100px 100px;inset:0;opacity:.6;position:absolute}.login-loading{align-items:center;background:linear-gradient(135deg,#841617,#6b1213);display:flex;inset:0;justify-content:center;position:fixed;z-index:3000}.login-spinner-container{color:#fff;text-align:center}.login-spinner-container .spinner{height:60px;margin:0 auto 1.5rem;width:60px}.login-spinner-container .spinner svg{animation:spin 1s linear infinite;color:#fff;height:60px;width:60px}.login-spinner-container p{font-size:1.125rem;font-weight:500;opacity:.9}.login-container{animation:slideUp .4s ease;background:#fff;border-radius:24px;box-shadow:0 20px 60px #0000001a,0 0 0 1px #00000008;display:flex;flex-direction:column;max-height:90vh;max-height:90dvh;max-width:min(440px,90vw);min-width:280px;overflow:hidden;width:100%}@media (max-height:600px){.login-container{max-height:95vh;max-height:95dvh}}.login-header{background:linear-gradient(135deg,#841617,#6b1213);color:#fff;flex-shrink:0;padding:clamp(.75rem,3vh,1.5rem) clamp(.75rem,3vw,1.5rem);text-align:center}.login-brand{align-items:center;display:flex;gap:clamp(.75rem,2vw,1rem);justify-content:center;margin-bottom:clamp(.75rem,2vh,1rem)}.brand-text h1{font-size:clamp(1.25rem,4vw,1.75rem);font-weight:700;letter-spacing:-.01em;line-height:1.2;margin:0}.login-welcome h2{font-size:clamp(.875rem,2.5vw,1.125rem);font-weight:600;line-height:1.3;margin:0 0 .2rem}.login-welcome p{font-size:clamp(.7rem,2vw,.8rem);margin:0;opacity:.9}.login-form-container{flex:1 1;min-height:0;padding:clamp(1rem,4vh,2rem) clamp(1rem,4vw,2rem)}.login-form-container::-webkit-scrollbar{width:4px}.login-form-container::-webkit-scrollbar-track{background:#0000}.login-form-container::-webkit-scrollbar-thumb{background:#d4d4d8;border-radius:2px}.form-header{margin-bottom:clamp(1.5rem,4vh,2rem);text-align:center}.form-header h3{color:#1e293b;font-size:clamp(1rem,3vw,1.25rem);font-weight:600;margin:0 0 .5rem}.form-header p{color:#64748b;font-size:clamp(.75rem,2vw,.875rem);margin:0}.form-field{margin-bottom:clamp(1rem,3vh,1.5rem)}.form-label{color:#374151;font-size:clamp(.8rem,1.8vw,.875rem);gap:.75rem;padding:0 .25rem}.label-icon{border-radius:8px;height:clamp(28px,6vw,32px);width:clamp(28px,6vw,32px)}.label-icon svg{height:clamp(14px,3vw,16px);width:clamp(14px,3vw,16px)}.field-input input{background:#f9fafb;border:2px solid #e5e7eb;border-radius:12px;box-sizing:border-box;color:#111827;font-family:EB Garamond,serif;font-size:clamp(.85rem,2vw,.95rem);padding:clamp(.5rem,1.5vh,.75rem) clamp(.5rem,1vw,.75rem);transition:all .2s ease;width:100%}.field-input input:focus{background:#fff;border-color:#841617;box-shadow:0 0 0 3px #8416171a;outline:none}.field-input input:disabled{cursor:not-allowed;opacity:.6}.field-input input.error{border-color:#ef4444}.field-input input.error:focus{border-color:#ef4444;box-shadow:0 0 0 3px #ef44441a}.field-error{font-size:clamp(.65rem,1.6vw,.75rem);padding-left:.25rem}.field-error svg{height:clamp(12px,2.5vw,14px);width:clamp(12px,2.5vw,14px)}.forgot-links{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:space-between;margin:-.5rem 0 clamp(1rem,3vh,1.5rem);padding:0 .5rem}.forgot-link{background:none;border:none;color:#6b7280;cursor:pointer;font-family:inherit;font-size:clamp(.7rem,1.8vw,.8rem);padding:.25rem .5rem;transition:color .2s ease;white-space:nowrap}.forgot-link:hover{color:#841617;text-decoration:underline}.forgot-link:focus{color:#841617;outline:none}.login-button{align-items:center;background:linear-gradient(135deg,#841617,#6b1213);border:none;border-radius:12px;color:#fff;cursor:pointer;display:flex;font-family:EB Garamond,serif;font-size:clamp(.875rem,2.5vw,.95rem);font-weight:600;gap:.75rem;justify-content:center;margin-bottom:clamp(1rem,3vh,1.5rem);min-height:44px;padding:clamp(.875rem,2.5vh,1rem);transition:all .2s ease;width:100%}.login-button:hover:not(:disabled){background:linear-gradient(135deg,#6b1213,#5a1011);box-shadow:0 4px 12px #84161733;transform:translateY(-1px)}.login-button:active:not(:disabled){transform:translateY(0)}.login-button:disabled{cursor:not-allowed;opacity:.6;transform:none!important}.login-button svg{height:clamp(16px,3vw,18px);width:clamp(16px,3vw,18px)}.form-divider{color:#6b7280;margin:clamp(1rem,3vh,1.5rem) 0;position:relative;text-align:center}.form-divider:before{background:#e5e7eb;content:"";height:1px;left:0;position:absolute;right:0;top:50%;transform:translateY(-50%)}.form-divider span{background:#fff;font-size:clamp(.75rem,2vw,.85rem);padding:0 clamp(.5rem,2vw,1rem);position:relative}.login-footer{background:#f9fafb;border-top:1px solid #e5e7eb;flex-shrink:0;padding:clamp(1rem,3vh,1.5rem) clamp(1rem,4vw,2rem);text-align:center}.footer-text{color:#6b7280;font-size:clamp(.7rem,1.8vw,.8rem);justify-content:center;line-height:1.4;margin-top:10px;text-align:center}.footer-links{align-items:center;display:flex;flex-wrap:wrap;gap:clamp(.5rem,1.5vw,.75rem);justify-content:center}.footer-link{color:#6b7280;font-size:clamp(.65rem,1.6vw,.75rem);text-decoration:none;transition:color .2s ease}.footer-link:hover{color:#841617;text-decoration:underline}.footer-separator{color:#d1d5db;font-size:clamp(.65rem,1.6vw,.75rem)}@media (max-height:500px) and (orientation:landscape){.login-page{padding:.5rem}.login-container{max-height:98vh;max-height:98dvh;max-width:95vw}.login-header{padding:.75rem 1rem}.login-brand{margin-bottom:.5rem}.login-welcome{display:none}.login-form-container{padding:.75rem 1rem}.form-field{flex-shrink:0;margin-bottom:clamp(.75rem,2vh,1.25rem)}.forgot-links{margin:0 0 .75rem}.login-footer{display:none;padding:.75rem 1rem}}@media (max-width:320px){.login-brand{flex-direction:column;text-align:center}.forgot-links{align-items:center}.footer-links,.forgot-links{flex-direction:column;gap:.25rem}.footer-separator{display:none}}@media (min-height:800px){.login-container{max-height:85vh;max-height:85dvh}}@media (min-height:1000px){.login-container{max-height:80vh;max-height:80dvh}}.field-input input:focus-visible,.forgot-link:focus-visible,.login-button:focus-visible{outline:2px solid #841617;outline-offset:2px}.form-field{animation:fadeInUp .3s ease forwards;opacity:0;transform:translateY(10px)}.form-field:first-child{animation-delay:.1s}.form-field:nth-child(2){animation-delay:.2s}@keyframes fadeInUp{to{opacity:1;transform:translateY(0)}}@media screen and (max-device-width:480px){html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}}.checkin-overlay{align-items:center;animation:fadeIn .2s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009;display:flex;inset:0;justify-content:center;padding:1rem;position:fixed;z-index:2000}.checkin-modal{animation:slideUp .3s ease;background:#fff;border-radius:16px;box-shadow:0 20px 40px #00000026;display:flex;flex-direction:column;max-height:min(700px,85vh);max-width:min(500px,90vw);min-width:280px;overflow:hidden;width:100%}.checkin-header{background:linear-gradient(135deg,#841617,#6b1213);color:#fff;flex-shrink:0;gap:1rem;justify-content:space-between;padding:1.25rem 1.5rem}.checkin-header,.checkin-title{align-items:center;display:flex}.checkin-title{flex:1 1;gap:.75rem;min-width:0}.checkin-title h2{align-items:center;display:flex;font-size:clamp(1.1rem,2vw,1.3rem);font-weight:600;gap:.5rem;margin:0 0 .25rem}.checkin-title h2 svg{flex-shrink:0;height:20px;width:20px}.checkin-subtitle{font-size:.8rem;margin:0;opacity:.9}.checkin-back{align-items:center;background:#ffffff1a;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;flex-shrink:0;height:36px;justify-content:center;transition:all .2s ease;width:36px}.checkin-back:hover{background:#fff3}.checkin-close{align-items:center;background:#ffffff1a;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;flex-shrink:0;height:36px;justify-content:center;transition:all .2s ease;width:36px}.checkin-close:hover{background:#fff3}.checkin-close svg{height:18px;width:18px}.checkin-header .modal-title{flex:1 1;min-width:0}.checkin-header .modal-title h2{align-items:center;display:flex;font-size:clamp(1.1rem,2vw,1.3rem);font-weight:600;gap:.5rem;margin:0 0 .25rem}.checkin-header .modal-title h2 svg{flex-shrink:0;height:20px;width:20px}.modal-subtitle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.modal-close:hover{background:#fff3}.checkin-content{flex:1 1;min-height:200px;overflow-y:auto;padding:1.5rem}.checkin-content::-webkit-scrollbar{width:4px}.checkin-content::-webkit-scrollbar-track{background:#0000}.checkin-content::-webkit-scrollbar-thumb{background:#d4d4d8;border-radius:2px}.checkin-form{flex:1 1;min-height:0;overflow-y:auto;padding:1.5rem}.checkin-form::-webkit-scrollbar{width:4px}.checkin-form::-webkit-scrollbar-track{background:#0000}.checkin-form::-webkit-scrollbar-thumb{background:#d4d4d8;border-radius:2px}.checkin-step{animation:stepIn .2s ease}@keyframes stepIn{0%{opacity:0;transform:translateX(10px)}to{opacity:1;transform:translateX(0)}}.checkin-step-info{align-items:center;background:#f4f4f5;border-radius:8px;color:#52525b;display:flex;font-size:.875rem;gap:.5rem;margin-bottom:1rem;padding:.75rem 1rem}.checkin-step-info svg{color:#71717a;flex-shrink:0;height:16px;width:16px}.checkin-step-divider{color:#d4d4d8}.form-field{margin-bottom:1.25rem}.form-field:last-of-type{margin-bottom:0}.form-label{align-items:center;color:#27272a;display:flex;font-size:.875rem;font-weight:500;gap:.5rem;margin-bottom:.5rem}.label-icon svg{height:16px;width:16px}.field-input,.input-with-icon,.select-wrapper{position:relative;width:100%}.input-with-icon input,.select-wrapper select{-webkit-appearance:none;appearance:none;background:#fafafa;border:2px solid #e4e4e7;border-radius:10px;box-sizing:border-box;color:#27272a;font-size:1rem;padding:.875rem 2.5rem .875rem 1rem;transition:all .2s ease;width:100%}.input-with-icon input:focus,.select-wrapper select:focus{background:#fff;border-color:#841617;box-shadow:0 0 0 3px #8416171a;outline:none}.input-with-icon input:disabled,.select-wrapper select:disabled{cursor:not-allowed;opacity:.6}.room-input{font-weight:500;letter-spacing:.1em;text-transform:uppercase}.select-wrapper:after{border-left:5px solid #0000;border-right:5px solid #0000;border-top:5px solid #71717a;content:"";height:0;pointer-events:none;position:absolute;right:2.5rem;top:50%;transform:translateY(-50%);width:0}.select-wrapper:has(.input-status):after{right:2.5rem}.input-status{align-items:center;display:flex;justify-content:center;pointer-events:none;position:absolute;right:.75rem;top:50%;transform:translateY(-50%)}.input-status svg{height:18px;width:18px}.input-status.selected,.input-status.valid{color:#22c55e}.field-error,.field-hint{margin-top:.5rem}.field-error svg{flex-shrink:0;height:14px;width:14px}.form-field.error .input-with-icon input,.form-field.error .select-wrapper select{border-color:#ef4444}.form-field.error .input-with-icon input:focus,.form-field.error .select-wrapper select:focus{box-shadow:0 0 0 3px #ef44441a}.host-list{display:flex;flex-direction:column;gap:.75rem}.host-card{align-items:center;background:#fafafa;border:2px solid #e4e4e7;border-radius:12px;cursor:pointer;display:flex;gap:1rem;padding:1rem;text-align:left;transition:all .2s ease;width:100%}.host-card:hover{background:#f4f4f5;border-color:#d4d4d8}.host-card.selected{background:#fef2f2;border-color:#841617}.host-card-avatar{align-items:center;background:linear-gradient(135deg,#841617,#6b1213);border-radius:12px;color:#fff;display:flex;flex-shrink:0;font-size:.9rem;font-weight:600;height:48px;justify-content:center;width:48px}.host-card-info{display:flex;flex:1 1;flex-direction:column;gap:.25rem;min-width:0}.host-card-name{color:#27272a;font-size:1rem;font-weight:600}.host-card-room{color:#71717a;font-size:.8rem}.host-card-arrow{color:#a1a1aa;flex-shrink:0}.host-card:hover .host-card-arrow{color:#841617}.checkin-toolbar{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem}.checkin-search{align-items:center;background:#fafafa;border:2px solid #e4e4e7;border-radius:10px;display:flex;gap:.5rem;padding:.625rem 1rem;transition:all .2s ease}.checkin-search:focus-within{background:#fff;border-color:#841617;box-shadow:0 0 0 3px #8416171a}.checkin-search svg{color:#71717a;flex-shrink:0;height:16px;width:16px}.checkin-search input{background:#0000;border:none;color:#27272a;flex:1 1;font-size:.875rem;outline:none}.checkin-search input::placeholder{color:#a1a1aa}.checkin-guest-count{align-items:center;color:#71717a;display:flex;font-size:.8rem;gap:.5rem}.checkin-guest-count svg{height:16px;width:16px}.checkin-guest-list-container{margin:0 -.5rem;max-height:280px;overflow-y:auto;padding:0 .5rem}.checkin-guest-list-container::-webkit-scrollbar{width:4px}.checkin-guest-list-container::-webkit-scrollbar-thumb{background:#d4d4d8;border-radius:2px}.checkin-guest-list{display:flex;flex-direction:column;gap:.5rem}.guest-card{align-items:center;background:#fafafa;border:2px solid #e4e4e7;gap:1rem;padding:1rem}.guest-card:hover{background:#f4f4f5;border-color:#d4d4d8}.guest-card.selected{background:#fef2f2;border-color:#841617}.guest-card--compact{padding:.75rem}.guest-card-avatar{align-items:center;background:linear-gradient(135deg,#841617,#6b1213);border-radius:12px;color:#fff;display:flex;flex-shrink:0;font-size:.9rem;font-weight:600;height:48px;justify-content:center;width:48px}.guest-card-avatar--small{border-radius:10px;font-size:.8rem;height:40px;width:40px}.guest-card.selected .guest-card-avatar{background:linear-gradient(135deg,#22c55e,#16a34a)}.guest-card-info{display:flex;flex:1 1;flex-direction:column;gap:.25rem;min-width:0}.guest-card-info--tight{gap:.125rem}.guest-card-name{font-size:.95rem;font-weight:600}.guest-card-meta{color:#71717a;font-size:.75rem}.guest-card-room{font-size:.8rem}.guest-card-check{align-items:center;background:#22c55e;border-radius:50%;color:#fff;display:flex;flex-shrink:0;height:32px;justify-content:center;width:32px}.guest-card-check--small{height:28px;width:28px}.checkin-empty,.checkin-error,.checkin-loading{align-items:center;color:#71717a;display:flex;flex-direction:column;gap:.75rem;justify-content:center;padding:2rem 1rem;text-align:center}.checkin-empty svg,.checkin-loading svg{color:#a1a1aa}.checkin-empty h3{color:#52525b;font-size:1.1rem;margin:0}.checkin-empty p{font-size:.875rem;margin:0}.checkin-progress{align-items:center;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;color:#166534;display:flex;font-size:.875rem;gap:.5rem;justify-content:center;margin-top:1rem;padding:1rem}.checkin-spinner,.spinner{align-items:center;animation:spin 1s linear infinite;display:inline-flex;height:18px;justify-content:center;width:18px}.checkin-spinner svg,.spinner svg{color:currentColor;height:18px;width:18px}.checkin-footer{background:#fafafa;border-top:1px solid #e4e4e7;display:flex;flex-shrink:0;gap:.75rem;padding:1rem 1.5rem}.btn{flex:1 1;min-height:44px;padding:.75rem 1.25rem}.btn svg{flex-shrink:0;height:18px;width:18px}.add-guest-option{animation:fadeIn .3s ease;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;margin-top:1rem;padding:1rem;text-align:center}.add-guest-message{align-items:center;color:#92400e;display:flex;font-size:.875rem;gap:.5rem;justify-content:center;margin-bottom:.75rem}.add-guest-message svg{color:#f59e0b;flex-shrink:0;height:18px;width:18px}.checkin-add-guest{margin-top:1rem;text-align:center}.btn-outline{align-items:center;border:2px solid #841617;border-radius:8px;color:#841617;cursor:pointer;display:inline-flex;font-size:.875rem;font-weight:500;gap:.5rem;justify-content:center;padding:.625rem 1rem;transition:all .2s ease}.btn-outline:hover:not(:disabled){background:#841617;color:#fff}.btn-outline svg{height:16px;width:16px}.btn-text{align-items:center;background:#0000;border:none;border-radius:8px;color:#841617;cursor:pointer;display:inline-flex;font-size:.875rem;font-weight:500;gap:.5rem;padding:.5rem 1rem;transition:all .2s ease}.btn-text:hover{background:#fef2f2}.btn-text svg{height:16px;width:16px}@media (max-width:480px){.checkin-overlay{padding:.5rem}.checkin-modal{border-radius:12px;max-height:90vh;max-width:100%}.checkin-header{padding:1rem 1.25rem}.checkin-content,.checkin-form{padding:1.25rem}.checkin-footer{padding:1rem 1.25rem}.form-field{margin-bottom:1rem}.label-icon{height:24px;width:24px}.label-icon svg{height:14px;width:14px}.btn{font-size:.8rem;min-height:40px;padding:.5rem 1rem}.add-guest-option{padding:.75rem}.add-guest-message{flex-direction:column;gap:.25rem;text-align:center}.guest-card,.host-card{padding:.875rem}.guest-card-avatar,.host-card-avatar{font-size:.8rem;height:40px;width:40px}.checkin-guest-list-container{max-height:220px}}@media (max-width:360px){.checkin-modal{border-radius:10px}.checkin-content,.checkin-footer,.checkin-form,.checkin-header{padding:.875rem 1rem}.input-with-icon input,.select-wrapper select{font-size:.85rem;padding:.625rem 2rem .625rem .75rem}.guest-card,.host-card{gap:.75rem;padding:.75rem}}.btn:focus-visible,.checkin-back:focus-visible,.checkin-close:focus-visible,.guest-card:focus-visible,.host-card:focus-visible,.modal-close:focus-visible{outline:2px solid #841617;outline-offset:2px}.input-with-icon input:focus-visible,.select-wrapper select:focus-visible{outline:none}@media (prefers-reduced-motion:reduce){.add-guest-option,.checkin-modal,.checkin-overlay,.checkin-spinner,.checkin-step,.spinner{animation:none}}.checkout-overlay{align-items:center;animation:checkoutFadeIn .2s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009;display:flex;inset:0;justify-content:center;padding:1rem;position:fixed;z-index:2000}.checkout-modal{animation:checkoutSlideUp .3s ease;background:#fff;border-radius:16px;box-shadow:0 20px 40px #00000026;display:flex;flex-direction:column;max-height:min(700px,85vh);max-width:min(500px,90vw);min-width:280px;overflow:hidden;width:100%}@keyframes checkoutFadeIn{0%{opacity:0}to{opacity:1}}@keyframes checkoutSlideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.checkout-header{align-items:center;background:linear-gradient(135deg,#841617,#6b1213);color:#fff;display:flex;flex-shrink:0;gap:1rem;justify-content:space-between;padding:1.25rem 1.5rem}.checkout-title{flex:1 1;min-width:0}.checkout-title h2{align-items:center;display:flex;font-size:clamp(1.1rem,2vw,1.3rem);font-weight:600;gap:.5rem;margin:0 0 .25rem}.checkout-title h2 svg{flex-shrink:0;height:20px;width:20px}.checkout-subtitle{font-size:.8rem;margin:0;opacity:.9}.checkout-close{align-items:center;background:#ffffff1a;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;flex-shrink:0;height:36px;justify-content:center;transition:all .2s ease;width:36px}.checkout-close:hover{background:#fff3}.checkout-content{display:flex;flex:1 1;flex-direction:column;min-height:200px;overflow:hidden}.checkout-empty,.checkout-error,.checkout-loading{align-items:center;color:#71717a;display:flex;flex:1 1;flex-direction:column;gap:.75rem;justify-content:center;padding:2rem 1rem;text-align:center}.checkout-empty svg,.checkout-error svg,.checkout-loading svg{color:#a1a1aa}.checkout-error,.checkout-error svg{color:#ef4444}.checkout-empty h3{color:#52525b;font-size:1.1rem;margin:0}.checkout-empty p{font-size:.875rem;margin:0}.checkout-toolbar{background:#fff;border-bottom:1px solid #e4e4e7;display:flex;flex-direction:column;flex-shrink:0;gap:.5rem;padding:1.25rem 1.5rem;position:-webkit-sticky;position:sticky;top:0;z-index:10}.checkout-search{position:relative;width:100%}.checkout-search svg{color:#a1a1aa;height:16px;left:.75rem;position:absolute;top:50%;transform:translateY(-50%);width:16px}.checkout-search input{background:#fafafa;border:1px solid #d4d4d8;border-radius:8px;font-size:.85rem;max-width:15rem;outline:none;padding:.625rem .75rem .625rem 2.25rem;transition:border-color .15s ease,box-shadow .15s ease;width:100%}.checkout-search input:focus{background:#fff;border-color:#841617;box-shadow:0 0 0 1px #84161726}.checkout-guest-count{align-items:center;color:#52525b;display:flex;font-size:.8rem;gap:.5rem;padding:.25rem 0}.checkout-guest-count svg{color:#71717a;height:14px;width:14px}.checkout-guest-list-container{flex:1 1;overflow-y:auto;padding:0 1.5rem 1.5rem}.checkout-guest-list-container::-webkit-scrollbar{width:4px}.checkout-guest-list-container::-webkit-scrollbar-track{background:#0000}.checkout-guest-list-container::-webkit-scrollbar-thumb{background:#d4d4d8;border-radius:2px}.checkout-guest-list{grid-gap:.5rem;display:grid;gap:.5rem;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));padding-top:.5rem}.guest-card.guest-card--compact{align-items:center;background:#fafafa;border:1.5px solid #e4e4e7;border-radius:10px;cursor:pointer;display:flex;flex-direction:column;justify-content:center;min-height:80px;padding:.5rem;position:relative;text-align:center;transition:all .2s ease}.guest-card.guest-card--compact:hover{background:#f4f4f5;border-color:#d4d4d8;transform:translateY(-1px)}.guest-card.guest-card--compact.selected{background:#fef2f2;border-color:#841617;box-shadow:0 2px 8px #84161726}.guest-card-avatar.guest-card-avatar--small{align-items:center;background:linear-gradient(135deg,#841617,#6b1213);border-radius:8px;color:#fff;display:flex;flex-shrink:0;font-size:.75rem;font-weight:600;height:32px;justify-content:center;margin-bottom:.5rem;width:32px}.guest-card.guest-card--compact.selected .guest-card-avatar.guest-card-avatar--small{background:linear-gradient(135deg,#22c55e,#16a34a)}.guest-card-info.guest-card-info--tight{display:flex;flex-direction:column;gap:.2rem;min-width:0;width:100%}.guest-card-name{color:#27272a;font-size:.8rem;font-weight:500;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.guest-card-room{background:#f0f0f0;border-radius:4px;color:#71717a;display:inline-block;font-size:.7rem;line-height:1.2;margin:0 auto;padding:.15rem .4rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.guest-card-check.guest-card-check--small{align-items:center;background:#22c55e;border-radius:50%;color:#fff;display:flex;flex-shrink:0;height:20px;justify-content:center;position:absolute;right:4px;top:4px;width:20px}.guest-card-check.guest-card-check--small svg{height:12px;width:12px}.checkout-progress{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;color:#166534;display:flex;font-size:.875rem;gap:.5rem;margin:1.5rem 1.5rem 0;padding:1rem}.checkout-progress,.checkout-spinner{align-items:center;justify-content:center}.checkout-spinner{animation:checkoutSpin 1s linear infinite;display:inline-flex;height:18px;width:18px}.checkout-spinner svg{color:currentColor;height:18px;width:18px}@keyframes checkoutSpin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.checkout-footer{background:#fafafa;border-top:1px solid #e4e4e7;display:flex;flex-shrink:0;gap:.75rem;padding:1rem 1.5rem}.checkout-footer .btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:inline-flex;flex:1 1;font-size:.875rem;font-weight:500;gap:.5rem;justify-content:center;min-height:44px;padding:.75rem 1.25rem;transition:all .2s ease}.checkout-footer .btn svg{flex-shrink:0;height:18px;width:18px}.checkout-footer .btn:disabled{cursor:not-allowed;opacity:.5}.checkout-footer .btn-secondary{background:#fff;border:1px solid #e4e4e7;color:#52525b}.checkout-footer .btn-secondary:hover:not(:disabled){background:#f4f4f5}.checkout-footer .btn-primary{background:linear-gradient(135deg,#841617,#6b1213);color:#fff}.checkout-footer .btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#6b1213,#5a1011)}@media (min-width:600px){.checkout-toolbar{align-items:center;flex-direction:row;justify-content:space-between}.checkout-search{flex:1 1;max-width:300px}.checkout-guest-count{flex-shrink:0}.checkout-guest-list{gap:.75rem;grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}@media (max-width:480px){.checkout-overlay{padding:.5rem}.checkout-modal{border-radius:12px;max-height:90vh}.checkout-header,.checkout-toolbar{padding:1rem 1.25rem}.checkout-guest-list-container{padding:0 1.25rem 1.25rem}.checkout-footer{padding:1rem 1.25rem}.checkout-guest-list{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}}@media (max-width:360px){.checkout-footer,.checkout-guest-list-container,.checkout-header,.checkout-toolbar{padding:.875rem 1rem}.checkout-guest-list{grid-template-columns:repeat(auto-fill,minmax(110px,1fr))}}.checkout-close:focus-visible,.checkout-footer .btn:focus-visible,.guest-card:focus-visible{outline:2px solid #841617;outline-offset:2px}@media (prefers-reduced-motion:reduce){.checkout-modal,.checkout-overlay,.checkout-spinner{animation:none}.guest-card.guest-card--compact:hover{transform:none}}.addguest-overlay{align-items:center;animation:addguestFadeIn .2s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009;display:flex;inset:0;justify-content:center;padding:1rem;position:fixed;z-index:2000}.addguest-modal{animation:addguestSlideUp .3s ease;background:#fff;border-radius:16px;box-shadow:0 20px 40px #00000026;display:flex;flex-direction:column;max-height:min(800px,90vh);max-width:min(500px,90vw);min-width:280px;overflow:hidden;width:100%}@keyframes addguestFadeIn{0%{opacity:0}to{opacity:1}}@keyframes addguestSlideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.addguest-header{align-items:center;background:linear-gradient(135deg,#841617,#6b1213);color:#fff;display:flex;flex-shrink:0;gap:1rem;justify-content:space-between;padding:1.25rem 1.5rem}.addguest-header .modal-title{flex:1 1;min-width:0}.addguest-header .modal-title h2{align-items:center;display:flex;font-size:clamp(1.1rem,2vw,1.3rem);font-weight:600;gap:.5rem;margin:0 0 .25rem}.addguest-header .modal-subtitle{font-size:.8rem;margin:0;opacity:.9}.addguest-modal .modal-close{align-items:center;background:#ffffff1a;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;flex-shrink:0;height:36px;justify-content:center;transition:all .2s ease;width:36px}.addguest-modal .modal-close:hover{background:#fff3}.addguest-content{flex:1 1;min-height:0;overflow-y:auto}.addguest-content::-webkit-scrollbar{width:4px}.addguest-content::-webkit-scrollbar-track{background:#0000}.addguest-content::-webkit-scrollbar-thumb{background:#d4d4d8;border-radius:2px}.addguest-form{display:flex;flex-direction:column;gap:1.25rem;padding:1.5rem}.addguest-form .form-field{margin-bottom:0}.addguest-form .form-label{align-items:center;color:#27272a;display:flex;font-size:.875rem;font-weight:500;gap:.5rem;margin-bottom:.5rem}.addguest-form .label-icon{align-items:center;background:linear-gradient(135deg,#f4f4f5,#e4e4e7);border-radius:6px;display:flex;flex-shrink:0;height:28px;justify-content:center;width:28px}.addguest-form .label-icon svg{color:#71717a}.addguest-form .field-input{width:100%}.addguest-form .input-with-icon,.addguest-form .select-wrapper{position:relative;width:100%}.addguest-form .field-input input,.addguest-form .field-input select,.addguest-form .input-with-icon input,.addguest-form .select-wrapper select{-webkit-appearance:none;appearance:none;background:#fafafa;border:2px solid #e4e4e7;border-radius:10px;box-sizing:border-box;color:#27272a;font-size:.9rem;padding:.75rem 2.5rem .75rem 1rem;transition:all .2s ease;width:100%}.addguest-form .field-input input:focus,.addguest-form .field-input select:focus,.addguest-form .input-with-icon input:focus,.addguest-form .select-wrapper select:focus{background:#fff;border-color:#841617;box-shadow:0 0 0 3px #8416171a;outline:none}.addguest-form .field-input input:disabled,.addguest-form .field-input select:disabled,.addguest-form .input-with-icon input:disabled,.addguest-form .select-wrapper select:disabled{cursor:not-allowed;opacity:.6}.addguest-form .room-input{letter-spacing:.05em;text-transform:uppercase}.addguest-form .field-input select+.select-arrow:after,.addguest-form .select-wrapper:after{border-left:5px solid #0000;border-right:5px solid #0000;border-top:5px solid #71717a;content:"";height:0;pointer-events:none;position:absolute;right:2.5rem;top:50%;transform:translateY(-50%);width:0}.addguest-form .field-input{position:relative}.addguest-form .field-input select{padding-right:2.5rem}.addguest-form .field-input:has(select):after{border-left:5px solid #0000;border-right:5px solid #0000;border-top:5px solid #71717a;content:"";height:0;pointer-events:none;position:absolute;right:1rem;top:50%;transform:translateY(-50%);width:0}.addguest-form .input-status{align-items:center;display:flex;justify-content:center;pointer-events:none;position:absolute;right:.75rem;top:50%;transform:translateY(-50%)}.addguest-form .input-status.selected,.addguest-form .input-status.valid{color:#22c55e}.name-fields,.student-fields{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr 1fr}.addguest-form .field-hint{color:#71717a;font-size:.75rem;margin-top:.375rem}.addguest-form .field-error{align-items:center;color:#ef4444;display:flex;font-size:.75rem;gap:.375rem;margin-top:.375rem}.addguest-form .form-field.error .field-input input,.addguest-form .form-field.error .field-input select,.addguest-form .form-field.error .input-with-icon input,.addguest-form .form-field.error .select-wrapper select{border-color:#ef4444}.progress-indicator{background:#f8fafc;border-radius:10px;color:#52525b;justify-content:center}.progress-indicator,.register-error{align-items:center;display:flex;font-size:.875rem;gap:.5rem;padding:.875rem}.register-error{animation:addguestFadeIn .3s ease;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;color:#dc2626}.register-error svg{flex-shrink:0}.addguest-form .spinner{align-items:center;animation:addguestSpin 1s linear infinite;display:inline-flex;height:18px;justify-content:center;width:18px}.addguest-form .spinner svg{color:#841617}@keyframes addguestSpin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.addguest-footer{background:#fafafa;border-top:1px solid #e4e4e7;display:flex;flex-shrink:0;gap:.75rem;padding:1rem 1.5rem}.addguest-footer .btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:inline-flex;flex:1 1;font-size:.875rem;font-weight:500;gap:.5rem;justify-content:center;min-height:44px;padding:.625rem 1.25rem;transition:all .2s ease}.addguest-footer .btn svg{flex-shrink:0}.addguest-footer .btn:disabled{cursor:not-allowed;opacity:.5}.addguest-footer .btn-secondary{background:#fff;border:1px solid #e4e4e7;color:#52525b}.addguest-footer .btn-secondary:hover:not(:disabled){background:#f4f4f5}.addguest-footer .btn-primary{background:linear-gradient(135deg,#841617,#6b1213);color:#fff}.addguest-footer .btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#6b1213,#5a1011)}@media (max-width:580px){.name-fields,.student-fields{gap:1.25rem;grid-template-columns:1fr}}@media (max-width:480px){.addguest-overlay{padding:.5rem}.addguest-modal{border-radius:12px;max-height:95vh;max-width:100%}.addguest-header{padding:1rem 1.25rem}.addguest-form{gap:1rem;padding:1.25rem}.addguest-footer{padding:1rem 1.25rem}.addguest-footer .btn{font-size:.8rem;min-height:40px;padding:.5rem 1rem}}@media (max-width:360px){.addguest-modal{border-radius:10px}.addguest-footer,.addguest-form,.addguest-header{padding:.875rem 1rem}.addguest-form .field-input input,.addguest-form .field-input select,.addguest-form .input-with-icon input,.addguest-form .select-wrapper select{font-size:.85rem;padding:.625rem 2rem .625rem .75rem}}.addguest-footer .btn:focus-visible,.addguest-modal .modal-close:focus-visible{outline:2px solid #841617;outline-offset:2px}.addguest-form .field-input input:focus-visible,.addguest-form .field-input select:focus-visible,.addguest-form .input-with-icon input:focus-visible,.addguest-form .select-wrapper select:focus-visible{outline:none}@media (prefers-reduced-motion:reduce){.addguest-form .spinner,.addguest-modal,.addguest-overlay,.register-error{animation:none}}.app-shell{--sidebar-width:260px;--header-height:64px;--crimson:#841617;--crimson-dark:#6b1213;--cream:#fffaf3;--cream-dark:#fdf6ec;background:var(--cream-dark);display:flex;min-height:100vh;overflow:hidden;width:100%}.app-shell-sidebar{background:var(--cream);border-right:1px solid #941b2014;display:flex;flex-direction:column;flex-shrink:0;height:100vh;left:0;min-width:var(--sidebar-width);overflow-y:auto;padding:20px 16px;position:-webkit-sticky;position:sticky;top:0;width:var(--sidebar-width);z-index:100}.app-shell-sidebar-header{align-items:center;display:flex;margin-bottom:24px;position:relative}.app-shell-logo{align-items:center;background:var(--crimson);border-radius:12px;color:#fff7ed;display:flex;flex-shrink:0;font-size:.9rem;font-weight:700;height:36px;justify-content:center;margin-right:10px;width:36px}.app-shell-brand{flex:1 1;min-width:0}.app-shell-brand span{color:#3f0f14;display:block;font-size:.95rem;font-weight:600}.app-shell-brand small{color:#9f1239;display:block;font-size:.75rem}.app-shell-sidebar-close{align-items:center;background:#84161714;border:none;border-radius:8px;color:var(--crimson);cursor:pointer;display:none;flex-shrink:0;height:32px;justify-content:center;transition:all .2s ease;width:32px}.app-shell-sidebar-close:hover{background:#84161726}.app-shell-nav{flex:1 1;margin-top:8px;overflow-y:auto}.app-shell-nav-item{align-items:center;border-radius:10px;color:#6b4b4b;display:flex;font-size:.9rem;gap:10px;margin-bottom:4px;padding:10px 12px;text-decoration:none;transition:all .15s ease}.app-shell-nav-item:hover{background:#8416170f;color:#7f1d1d;transform:translateX(2px)}.app-shell-nav-item.active{background:#84161724;color:#7f1d1d;font-weight:500}.app-shell-nav-icon{align-items:center;display:flex;flex-shrink:0;height:20px;justify-content:center;width:20px}.app-shell-nav-label{flex:1 1}.app-shell-sidebar-actions{border-top:1px solid #941b2014;display:flex;flex-direction:column;gap:4px;margin-top:20px;padding-top:16px}.app-shell-action-btn{align-items:center;background:#0000;border:none;border-radius:10px;color:#6b4b4b;cursor:pointer;display:flex;font-size:.9rem;gap:10px;padding:10px 12px;text-align:left;transition:all .15s ease;width:100%}.app-shell-action-btn:hover{background:#8416170f;color:#7f1d1d;transform:translateX(2px)}.app-shell-sidebar-footer{border-top:1px solid #941b2014;margin-top:16px;padding-top:16px}.app-shell-logout-btn{align-items:center;background:#b91c1c;border:none;border-radius:10px;color:#fff7ed;cursor:pointer;display:flex;font-size:.9rem;gap:10px;padding:10px 12px;transition:all .15s ease;width:100%}.app-shell-logout-btn:hover{background:#b91c1c29}.app-shell-body{background:#fff;display:flex;flex:1 1;flex-direction:column;min-height:100vh;min-width:0}.app-shell-header{align-items:center;background:#fff;border-bottom:1px solid #e4e4e7;display:flex;flex-shrink:0;height:var(--header-height);justify-content:space-between;padding:0 1.5rem;position:-webkit-sticky;position:sticky;top:0;z-index:50}.app-shell-header-left{align-items:center;display:flex;gap:1rem}.app-shell-menu-btn{align-items:center;background:#f4f4f5;border:none;border-radius:10px;color:#52525b;cursor:pointer;display:none;flex-shrink:0;height:40px;justify-content:center;transition:all .2s ease;width:40px}.app-shell-menu-btn:hover{background:#e4e4e7;color:#27272a}.app-shell-header-title h1{color:#18181b;font-family:Playfair Display,Georgia,serif;font-size:1.4rem;font-weight:600;line-height:1.2;margin:0}.app-shell-header-subtitle{color:#71717a;display:block;font-size:.8rem;margin-top:2px}.app-shell-header-right{align-items:center;display:flex;gap:.75rem}.app-shell-search{align-items:center;background:#f4f4f5;border:1px solid #e4e4e7;border-radius:9999px;display:flex;gap:.5rem;min-width:240px;padding:.5rem 1rem;transition:all .2s ease}.app-shell-search:focus-within{background:#fff;border-color:var(--crimson);box-shadow:0 0 0 3px #8416171a}.app-shell-search svg{color:#a1a1aa;flex-shrink:0}.app-shell-search input{background:#0000;border:none;color:#27272a;flex:1 1;font-size:.875rem;min-width:0;outline:none}.app-shell-search input::placeholder{color:#a1a1aa}.app-shell-search-clear{align-items:center;background:#d4d4d8;border:none;border-radius:9999px;color:#52525b;cursor:pointer;display:flex;flex-shrink:0;height:20px;justify-content:center;transition:all .2s ease;width:20px}.app-shell-search-clear:hover{background:#a1a1aa;color:#fff}.app-shell-icon-btn{align-items:center;background:#f4f4f5;border:none;border-radius:9999px;color:#52525b;cursor:pointer;display:flex;flex-shrink:0;height:40px;justify-content:center;position:relative;transition:all .2s ease;width:40px}.app-shell-icon-btn:hover{background:#e4e4e7;color:#27272a}.app-shell-content{background:#fafafa;flex:1 1;overflow-x:hidden;overflow-y:auto}.app-shell-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#3f0c0e80;inset:0;opacity:0;pointer-events:none;position:fixed;transition:opacity .25s ease;z-index:90}.app-shell-overlay.visible{opacity:1;pointer-events:auto}@media (max-width:1024px){.app-shell-sidebar{bottom:0;box-shadow:none;left:0;position:fixed;top:0;transform:translateX(-100%);transition:transform .25s ease}.app-shell-sidebar.open{box-shadow:4px 0 24px #3f0c0e26;transform:translateX(0)}.app-shell-menu-btn,.app-shell-sidebar-close{display:flex}}@media (max-width:768px){.app-shell-header{height:56px;padding:0 1rem}.app-shell-header-title h1{font-size:1.15rem}.app-shell-header-subtitle,.app-shell-search{display:none}.app-shell-icon-btn,.app-shell-menu-btn{height:36px;width:36px}}@media (max-width:480px){.app-shell-header{padding:0 .75rem}.app-shell-header-title h1{font-size:1rem}.app-shell-sidebar{width:280px}}.app-shell-action-btn:focus-visible,.app-shell-icon-btn:focus-visible,.app-shell-logout-btn:focus-visible,.app-shell-menu-btn:focus-visible,.app-shell-nav-item:focus-visible,.app-shell-sidebar-close:focus-visible{outline:2px solid var(--crimson);outline-offset:2px}@media (prefers-reduced-motion:reduce){.app-shell-body,.app-shell-overlay,.app-shell-sidebar{transition:none}}.app-shell-content::-webkit-scrollbar,.app-shell-nav::-webkit-scrollbar{width:6px}.app-shell-content::-webkit-scrollbar-track,.app-shell-nav::-webkit-scrollbar-track{background:#0000}.app-shell-nav::-webkit-scrollbar-thumb{background:#84161726;border-radius:9999px}.app-shell-content::-webkit-scrollbar-thumb{background:#d4d4d8;border-radius:9999px}.app-shell-content::-webkit-scrollbar-thumb:hover{background:#a1a1aa}.modal-container{animation:slideUp .3s ease;background:#fff;background:var(--white,#fff);border-radius:16px;box-shadow:0 25px 50px -12px #00000040;display:flex;flex-direction:column;max-height:90vh;overflow:hidden;width:100%}.modal-header{align-items:center;padding:1.5rem}.modal-avatar{background:#fff3;border-radius:50%;color:#fff;font-size:1.25rem;height:56px;width:56px}.modal-title h2{font-family:Playfair Display,Georgia,serif;font-size:1.4rem;font-weight:600;margin-bottom:.25rem}.modal-room{align-items:center;display:flex;font-size:.9rem;gap:.35rem;opacity:.9}.modal-room svg{height:14px;width:14px}.modal-close{background:#ffffff26;transition:background .2s ease}.modal-close:hover{background:#ffffff40}.modal-close svg{height:20px;width:20px}.modal-content{padding:1.5rem;scrollbar-width:none;&::-webkit-scrollbar{display:none}}.modal-content::-webkit-scrollbar{width:6px}.modal-content::-webkit-scrollbar-thumb{border-radius:9999px}.modal-section{margin-bottom:1.5rem}.modal-section:last-child{margin-bottom:0}.modal-section h3{align-items:center;color:#27272a;display:flex;font-size:.9rem;font-weight:600;gap:.5rem;margin-bottom:1rem}.modal-section h3 svg{color:#841617;height:18px;width:18px}.info-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(2,1fr)}.info-item{align-items:flex-start;display:flex;gap:.75rem}.info-icon{align-items:center;background:#f4f4f5;border-radius:8px;display:flex;flex-shrink:0;height:36px;justify-content:center;width:36px}.info-icon svg{color:#71717a;height:18px;width:18px}.info-content{display:flex;flex-direction:column;min-width:0}.info-label{color:#a1a1aa;font-size:.7rem;letter-spacing:.05em;margin-bottom:2px;text-transform:uppercase}.info-value{color:#27272a;font-size:.9rem;font-weight:500;word-break:break-word}.stats-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(3,1fr)}.stat-box{background:#f4f4f5;border-radius:12px;padding:1rem}.stat-box.warning{background:#fef2f2}.stat-number{color:#27272a;font-size:1.75rem;line-height:1}.stat-box.warning .stat-number{color:#ef4444}.visitors-section{min-height:200px}.visitors-list,.visitors-section{display:flex;flex:1 1;flex-direction:column}.visitors-list{-ms-overflow-style:none;gap:.75rem;max-height:300px;overflow-y:auto;scrollbar-width:none;&::-webkit-scrollbar{display:none}}.visitor-card{align-items:flex-start;background:#fafafa;border-radius:10px;display:flex;gap:.75rem;padding:.75rem;transition:all .2s ease}.visitor-card:hover{background:#f4f4f5}.visitor-card.flagged{background:#fef2f2;border-left:3px solid #ef4444}.visitor-avatar{align-items:center;background:linear-gradient(135deg,#9c1a1a,#841617);border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:.875rem;font-weight:600;height:40px;justify-content:center;width:40px}.visitor-card.flagged .visitor-avatar{background:linear-gradient(135deg,#ef4444,#dc2626)}.visitor-info{flex:1 1;min-width:0}.visitor-header{align-items:center;display:flex;gap:.5rem;margin-bottom:.25rem}.visitor-name{color:#27272a;font-size:.9rem;font-weight:500}.visitor-flag{align-items:center;background:#fff;border-radius:4px;color:#ef4444;display:flex;font-size:.65rem;font-weight:600;gap:.25rem;padding:.15rem .4rem}.visitor-flag svg{height:10px;width:10px}.visitor-details{align-items:center;color:#71717a;display:flex;font-size:.75rem;gap:1rem;margin-bottom:.35rem}.visitor-visits{align-items:center;display:flex;gap:.25rem}.visitor-visits svg{height:12px;width:12px}.visitor-status{margin-top:.25rem}.status{align-items:center;border-radius:4px;display:inline-flex;font-size:.7rem;font-weight:500;gap:.35rem;padding:.2rem .5rem}.status svg{height:12px;width:12px}.status.checked-in{background:#f0fdf4;color:#22c55e}.status.checked-out{background:#f4f4f5;color:#71717a}.visitors-empty,.visitors-error,.visitors-loading{align-items:center;color:#a1a1aa;display:flex;flex-direction:column;justify-content:center;padding:2rem;text-align:center}.visitors-empty svg,.visitors-error svg,.visitors-loading svg{height:32px;margin-bottom:.75rem;opacity:.5;width:32px}.visitors-error svg{color:#ef4444;opacity:1}.visitors-empty p,.visitors-error p,.visitors-loading p{font-size:.875rem}.spinner{height:28px;margin-bottom:.75rem;width:28px}.modal-footer{background:#fafafa;margin-left:2rem;margin-right:2rem;padding:1rem 1.5rem}.btn{border-radius:8px;padding:.6rem 1.25rem}.btn svg{height:16px;width:16px}.btn-primary:hover{background:#6b1213}@media (max-width:640px){.modal-container{border-radius:16px 16px 0 0;margin-top:auto;max-height:95vh}.modal-header{padding:1.25rem}.modal-avatar{font-size:1.1rem;height:48px;width:48px}.modal-title h2{font-size:1.2rem}.modal-content{padding:1.25rem}.info-grid{grid-template-columns:1fr}.stats-grid{gap:.5rem;grid-template-columns:repeat(3,1fr)}.stat-box{padding:.75rem .5rem}.stat-number{font-size:1.4rem}.modal-footer{margin-left:1rem;padding:1rem}.btn{flex:1 1;justify-content:center}}.modal-title-row{align-items:center;display:flex;flex-wrap:wrap;gap:.75rem}.resident-status-wrapper{align-items:center;display:inline-flex;gap:.4rem}.resident-status-select{background:#fff;border:none;border-radius:9999px;color:#841617;cursor:pointer;font-size:.8rem;font-weight:600;padding:.25rem .75rem}.resident-status-select:focus-visible,.resident-status-select:hover:not(:disabled){outline:1px solid #fff9}.resident-status-select:disabled{cursor:not-allowed;opacity:.6}.resident-status-saving{color:#ffe1e5;font-size:.75rem;font-style:italic}.residents-page{background:#fafafa;display:flex;flex-direction:column;height:100%;width:100%}.residents-toolbar{align-items:center;background:#fff;border-bottom:1px solid #e4e4e7;display:flex;flex-shrink:0;flex-wrap:wrap;gap:1rem;justify-content:space-between;padding:.85rem 1.5rem}.toolbar-search{flex:1 1;max-width:400px;min-width:200px}.toolbar-search .search-box{align-items:center;background:#f4f4f5;border:1px solid #e4e4e7;border-radius:9999px;display:flex;gap:.5rem;padding:.625rem 1rem;transition:all .2s ease}.toolbar-search .search-box:focus-within{background:#fff;border-color:#841617;box-shadow:0 0 0 3px #8416171a}.toolbar-search .search-box svg{color:#a1a1aa;flex-shrink:0}.toolbar-search .search-box input{background:#0000;border:none;color:#27272a;flex:1 1;font-size:.875rem;min-width:0;outline:none}.toolbar-search .search-box input::placeholder{color:#a1a1aa}.toolbar-search .search-clear{align-items:center;background:#d4d4d8;border:none;border-radius:9999px;color:#52525b;cursor:pointer;display:flex;flex-shrink:0;height:20px;justify-content:center;transition:all .2s ease;width:20px}.toolbar-search .search-clear:hover{background:#a1a1aa;color:#fff}.toolbar-controls{align-items:center;display:flex;flex-wrap:wrap;gap:1rem}.toolbar-control{align-items:center;display:flex;gap:.5rem}.toolbar-control label{align-items:center;color:#71717a;display:flex;font-size:.8rem;font-weight:500;gap:.35rem;white-space:nowrap}.toolbar-control label svg{color:#a1a1aa}.toolbar-control select{-webkit-appearance:none;appearance:none;background:#f4f4f5 url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .75rem center;border:1px solid #e4e4e7;border-radius:8px;color:#27272a;cursor:pointer;font-size:.85rem;min-width:140px;padding:.5rem 2rem .5rem .75rem;transition:all .2s ease}.toolbar-control select:hover{background-color:#fff;border-color:#d4d4d8}.toolbar-control select:focus{background-color:#fff;border-color:#841617;box-shadow:0 0 0 3px #8416171a;outline:none}.toolbar-count{background:#f4f4f5;border-radius:8px;color:#71717a;font-size:.8rem;padding:.5rem .75rem;white-space:nowrap}.control-label{display:inline}.residents-content{flex:1 1;min-height:0;overflow-y:auto;padding:1.5rem}.wings-container{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:1fr auto 1fr;height:100%;min-height:0}.wing-section{background:#fff;border:1px solid #f4f4f5;border-radius:16px;box-shadow:0 1px 3px #0000000d;display:flex;flex-direction:column;min-height:0;overflow:hidden}.wing-header{align-items:center;border-bottom:1px solid #f4f4f5;display:flex;flex-shrink:0;justify-content:space-between;padding:1rem 1.25rem}.wing--north .wing-header{background:linear-gradient(135deg,#eff6ff,#fff)}.wing--south .wing-header{background:linear-gradient(135deg,#fef2f2,#fff)}.wing-header h2{color:#27272a;font-family:Playfair Display,Georgia,serif;font-size:1.1rem;font-weight:600;margin:0}.wing-count{border-radius:9999px;font-size:.75rem;font-weight:600;padding:.25rem .75rem}.wing-count--north{background:#dbeafe;color:#1d4ed8}.wing-count--south{background:#fee2e2;color:#b91c1c}.wing-content{flex:1 1;min-height:0;overflow-y:auto;padding:1rem}.wing-content::-webkit-scrollbar{width:4px}.wing-content::-webkit-scrollbar-track{background:#0000}.wing-content::-webkit-scrollbar-thumb{background:#d4d4d8;border-radius:9999px}.residents-list{display:flex;flex-direction:column;gap:.5rem}.resident-card{align-items:center;animation:residentSlideIn .3s ease forwards;background:#fafafa;border:none;border-radius:10px;gap:.75rem;opacity:0;padding:.75rem}@keyframes residentSlideIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.resident-card:hover{background:#f5edd6;transform:translateX(4px)}.resident-card:focus-visible{outline:2px solid #841617;outline-offset:2px}.resident-card.flagged{background:#fef2f2;border-left:3px solid #ef4444}.resident-avatar{align-items:center;border-radius:9999px;color:#fff;display:flex;flex-shrink:0;font-size:.9rem;font-weight:600;height:44px;justify-content:center;width:44px}.resident-avatar.north{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}.resident-avatar.south{background:linear-gradient(135deg,#841617,#6b1213)}.resident-info{display:flex;flex:1 1;flex-direction:column;min-width:0}.resident-name{color:#27272a;font-weight:500}.resident-room{align-items:center;color:#71717a;display:flex;font-size:.75rem;gap:.25rem;margin-top:2px}.flagged-badge{background:#fef2f2;border-radius:6px;color:#ef4444;flex-shrink:0;font-size:.65rem;font-weight:600;padding:.2rem .5rem;text-transform:uppercase}.resident-chevron{color:#a1a1aa;flex-shrink:0;transition:all .2s ease}.resident-card:hover .resident-chevron{color:#841617;transform:translateX(4px)}.wings-divider{align-items:center;display:flex;flex-direction:column;gap:1rem;justify-content:center;padding:2rem 0}.divider-line{background:linear-gradient(180deg,#0000,#d4d4d8,#0000);border-radius:9999px;flex:1 1;width:2px}.divider-text{color:#841617;font-family:Playfair Display,Georgia,serif;font-size:1.5rem;font-weight:700;letter-spacing:.1em;text-orientation:mixed;writing-mode:vertical-rl}.wing-empty,.wing-loading{align-items:center;color:#a1a1aa;display:flex;flex-direction:column;height:100%;justify-content:center;padding:3rem 1rem;text-align:center}.wing-empty svg,.wing-loading svg{margin-bottom:1rem;opacity:.5}.wing-empty p,.wing-loading p{font-size:.875rem;margin:0}.spinner{animation:spin .8s linear infinite;border:3px solid #e4e4e7;border-radius:50%;border-top-color:#841617;height:32px;margin-bottom:1rem;width:32px}.error-state{align-items:center;color:#52525b;display:flex;flex-direction:column;height:100%;justify-content:center;padding:2rem;text-align:center}.error-state svg{color:#ef4444;margin-bottom:1rem}.error-state h3{color:#27272a;font-size:1.1rem;font-weight:600;margin:0 0 .5rem}.error-state p{font-size:.875rem;margin:0 0 1.5rem}.retry-btn{align-items:center;background:#841617;border:none;border-radius:10px;color:#fff;cursor:pointer;display:flex;font-size:.875rem;font-weight:500;gap:.5rem;padding:.75rem 1.5rem;transition:all .2s ease}.retry-btn:hover{background:#6b1213}@media (max-width:1200px){.wings-container{grid-template-columns:1fr 1fr}.wings-divider{display:none}}@media (max-width:900px){.residents-toolbar{align-items:stretch;flex-direction:column;gap:.75rem}.toolbar-search{max-width:100%}.toolbar-controls{justify-content:space-between}}@media (max-width:768px){.residents-toolbar{padding:.75rem 1rem}.residents-content{padding:1rem}.wings-container{gap:1rem;grid-template-columns:1fr}.wing-section{max-height:none}.wing-content{max-height:400px}.toolbar-control select{min-width:120px}}@media (max-width:580px){.toolbar-controls{flex-wrap:wrap;gap:.5rem}.toolbar-control{flex:1 1;min-width:calc(50% - .25rem)}.toolbar-control select{min-width:0;width:100%}.toolbar-count{order:-1;text-align:center;width:100%}.control-label{display:none}}@media (max-width:480px){.residents-toolbar,.toolbar-search .search-box{padding:.5rem .75rem}.residents-content{padding:.75rem}.wing-header{padding:.75rem 1rem}.wing-header h2{font-size:1rem}.wing-content{padding:.75rem}.resident-card{padding:.5rem}.resident-avatar{font-size:.8rem;height:36px;width:36px}}@media (prefers-reduced-motion:reduce){.resident-card{animation:none;opacity:1}}.guest-modal-header{background:linear-gradient(135deg,#841617,#6b1213)}.guest-avatar{position:relative}.guest-avatar.flagged{background:linear-gradient(135deg,#ef4444,#dc2626)}.avatar-flag-indicator{align-items:center;background:#ef4444;border:2px solid #fff;border-radius:50%;color:#fff;display:flex;height:20px;justify-content:center;position:absolute;right:-4px;top:-4px;width:20px}.avatar-flag-indicator svg{height:10px;width:10px}.modal-status{display:inline-block;margin-top:.25rem}.status-badge{align-items:center;border-radius:10px;display:inline-flex;font-size:.8rem;font-weight:500;gap:.4rem;padding:.3rem .75rem}.status-badge svg{height:14px;width:14px}.status-badge.checked-in{background:#22c55e;color:#fff}.status-badge.checked-out{background:#f59e0b;color:#fff}.flag-alert{align-items:center;background:#fef2f2;border-left:3px solid #ef4444;border-radius:8px;display:flex;gap:.5rem;margin-top:1rem;padding:.75rem}.flag-alert svg{color:#ef4444;flex-shrink:0;height:18px;width:18px}.flag-alert span{color:#dc2626;font-size:.875rem;font-weight:500}.host-info-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;gap:1rem;padding:1rem}.host-avatar,.host-info-card{align-items:center;display:flex}.host-avatar{background:linear-gradient(135deg,#841617,#6b1213);border-radius:50%;color:#fff;flex-shrink:0;font-size:1rem;font-weight:600;height:48px;justify-content:center;width:48px}.host-details{display:flex;flex-direction:column;gap:.25rem}.host-name{color:#1e293b;font-size:1rem;font-weight:600}.host-room{align-items:center;color:#64748b;display:flex;font-size:.85rem;gap:.4rem}.host-room svg{height:14px;width:14px}.visit-timeline{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:1.5rem 1rem;position:relative}.timeline-dot{align-items:center;border-radius:50%;display:flex;height:20px;justify-content:center;position:absolute;width:20px;z-index:2}.timeline-dot .dot-inner{background:#fff;border-radius:50%;height:10px;width:10px}.check-in-dot{background:#22c55e;left:1rem;top:1.5rem}.checkout-dot{background:#64748b;bottom:1.5rem;left:1rem}.checkout-dot.current{animation:pulse 2s infinite;background:#3b82f6}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.8;transform:scale(1.1)}}.timeline-line{background:#cbd5e1;bottom:2.5rem;left:1.45rem;position:absolute;top:2.5rem;width:2px;z-index:1}.timeline-labels{margin-left:3rem}.timeline-label{margin-bottom:1.5rem}.timeline-label:last-child{margin-bottom:0}.label-title{color:#475569;display:block;font-size:.85rem;font-weight:600;margin-bottom:.25rem}.label-time{color:#64748b;display:block;font-size:.8rem}.visit-duration{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;color:#1e293b;display:flex;font-weight:600;gap:.5rem;padding:.5rem .75rem;position:absolute;right:1rem;top:50%;transform:translateY(-50%)}.visit-duration svg{color:#64748b;height:14px;width:14px}.no-visit-data{align-items:center;background:#f8fafc;border-radius:12px;color:#64748b;display:flex;gap:.75rem;justify-content:center;padding:2rem}.no-visit-data svg{height:24px;opacity:.5;width:24px}.btn-danger:hover{background:#dc2626}.btn-danger:disabled{background:#fca5a5;cursor:not-allowed}@media (max-width:640px){.guest-modal-container{border-radius:16px 16px 0 0;margin-top:auto;max-height:95vh}.guest-modal-header{padding:1.25rem}.guest-avatar{font-size:1.1rem;height:48px;width:48px}.avatar-flag-indicator{height:16px;width:16px}.avatar-flag-indicator svg{height:8px;width:8px}.status-badge{font-size:.75rem;padding:.25rem .6rem}.guest-modal-content{padding:1.25rem}.host-info-card{padding:.75rem}.host-avatar{font-size:.9rem;height:40px;width:40px}.visit-timeline{padding:1rem .75rem}.timeline-labels{margin-left:2.5rem}.visit-duration{justify-content:center;margin-top:1rem;position:relative;right:auto;top:auto;transform:none}.guest-modal-footer{flex-direction:column;padding:1rem}.btn{width:100%}}.btn-danger:focus-visible{outline:2px solid #ef4444;outline-offset:2px}.dashboard-page{min-height:100%;padding:1.5rem}.stats-card{margin-bottom:1.5rem}.stat-value.blue{color:#3b82f6}.dashboard-grid{grid-gap:1.25rem;display:grid;gap:1.25rem;grid-auto-rows:minmax(200px,auto);grid-template-columns:repeat(3,1fr)}.card{background:#fff;border:1px solid #f4f4f5;border-radius:12px;box-shadow:0 1px 3px #0000000d;display:flex;flex-direction:column;overflow:hidden}.card-header{background:#fafafa;border-bottom:1px solid #f4f4f5;flex-shrink:0;justify-content:space-between;padding:1rem 1.25rem}.card-header,.card-title{align-items:center;display:flex}.card-title{gap:.5rem}.card-title svg{color:#841617}.card-title h3{color:#27272a;font-size:.95rem;font-weight:600;margin:0}.card-content{flex:1 1;overflow-y:auto;padding:1rem 1.25rem}.card-guests{grid-column:span 2}.card-activity,.card-guests{grid-row:span 2}.blur-btn{align-items:center;background:#f4f4f5;border:none;border-radius:8px;color:#52525b;cursor:pointer;display:flex;font-size:.8rem;font-weight:500;gap:.4rem;padding:.4rem .75rem;transition:all .2s ease}.blur-btn:hover{background:#e4e4e7}.guests-list{display:flex;flex-direction:column;gap:.5rem;transition:filter .3s ease}.guests-list.blurred{filter:blur(8px);pointer-events:none;-webkit-user-select:none;user-select:none}.guest-item{align-items:center;animation:slideIn .3s ease forwards;background:#fafafa;border-radius:8px;cursor:pointer;display:flex;gap:.75rem;opacity:0;padding:.75rem;transition:all .2s ease}@keyframes slideIn{0%{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:translateX(0)}}.guest-item:hover{background:#f5edd6;transform:translateX(4px)}.guest-avatar{border-radius:9999px;color:#fff;font-size:1rem;font-weight:600}.guest-details{display:flex;flex:1 1;flex-direction:column;min-width:0}.guest-name{color:#27272a;font-size:.9rem;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.guest-room{color:#71717a;font-size:.75rem}.guest-item>svg{color:#a1a1aa;flex-shrink:0;transition:all .2s ease}.guest-item:hover>svg{color:#841617;transform:translateX(4px)}.activity-list{gap:.75rem;list-style:none;margin:0;padding:0}.activity-item{align-items:flex-start;border-bottom:1px solid #f4f4f5;color:#52525b;display:flex;font-size:.85rem;gap:.75rem;padding:.5rem 0}.activity-item:last-child{border-bottom:none}.activity-dot{background:#841617;border-radius:9999px;flex-shrink:0;height:8px;margin-top:6px;width:8px}.notice-list{display:flex;flex-direction:column;gap:.5rem;list-style:none;margin:0;padding:0}.notice-item{align-items:flex-start;background:#fffbeb;border-left:3px solid #f59e0b;border-radius:6px;color:#52525b;display:flex;font-size:.85rem;gap:.5rem;padding:.75rem}.notice-item svg{color:#f59e0b;flex-shrink:0;margin-top:1px}.empty-state{align-items:center;color:#a1a1aa;display:flex;flex-direction:column;height:100%;justify-content:center;min-height:120px;padding:2rem 1rem;text-align:center}.empty-state svg{margin-bottom:.75rem;opacity:.5}.empty-state p{font-size:.85rem;margin:0}.success-state{flex-direction:column;height:100%;min-height:120px;padding:2rem 1rem;text-align:center}.success-icon,.success-state{align-items:center;display:flex;justify-content:center}.success-icon{background:#22c55e;border-radius:9999px;color:#fff;font-size:1.25rem;height:40px;margin-bottom:.75rem;width:40px}.success-state p{color:#22c55e;font-size:.85rem;margin:0}.notes-textarea{border:1px solid #e4e4e7;border-radius:8px;color:#27272a;font-family:inherit;font-size:.9rem;min-height:140px;padding:.75rem;resize:vertical;transition:all .2s ease;width:100%}.notes-textarea:focus{border-color:#841617;box-shadow:0 0 0 3px #8416171a;outline:none}.notes-textarea::placeholder{color:#a1a1aa}.loading-screen{align-items:center;background:linear-gradient(135deg,#841617,#6b1213);display:flex;inset:0;justify-content:center;position:fixed;z-index:9999}.loader{color:#fff;text-align:center}.loader-logo{font-family:Playfair Display,Georgia,serif;font-size:3rem;font-weight:700;margin-bottom:1.5rem}.loader-spinner{animation:spin .8s linear infinite;border:3px solid #fff3;border-radius:50%;border-top-color:#fff;height:40px;margin:0 auto 1rem;width:40px}.loader p{font-size:.9rem;margin:0;opacity:.8}@media (max-width:1200px){.dashboard-grid{grid-template-columns:repeat(2,1fr)}.card-guests{grid-column:span 2}.card-activity,.card-guests{grid-row:span 1}}@media (max-width:992px){.stats-container{flex-wrap:wrap;gap:1rem;justify-content:center}.stat-item{flex-basis:calc(50% - 2rem);flex-grow:0;flex-shrink:0;padding:.5rem}.stat-divider:nth-child(2),.stat-divider:nth-child(4),.stat-divider:nth-child(6){display:none}}@media (max-width:768px){.dashboard-page,.stats-card{padding:1rem}.stat-item{flex-basis:calc(50% - 1rem);flex-grow:0;flex-shrink:0}.stat-value{font-size:2rem}.stat-label{font-size:.75rem}.dashboard-grid{gap:1rem;grid-template-columns:1fr}.card-activity,.card-guests{grid-column:span 1;grid-row:span 1}}@media (max-width:480px){.dashboard-page{padding:.75rem}.stats-container{align-items:stretch;flex-direction:column;gap:0}.stat-item{border-bottom:1px solid #f4f4f5;flex:1 1;padding:.75rem 0}.stat-item:last-child{border-bottom:none}.stat-divider{display:none}.stat-value{font-size:1.75rem}.stat-label{font-size:.7rem}.card-content,.card-header{padding:.75rem 1rem}.blur-btn span{display:none}.guest-item{padding:.5rem}.guest-avatar{font-size:.9rem;height:36px;width:36px}}.blur-btn:focus-visible,.guest-item:focus-visible,.notes-textarea:focus-visible{outline:2px solid #841617;outline-offset:2px}@media (prefers-reduced-motion:reduce){.guest-item{animation:none;opacity:1}.guests-list{transition:none}}.card-content::-webkit-scrollbar{width:4px}.card-content::-webkit-scrollbar-track{background:#0000}.card-content::-webkit-scrollbar-thumb{background:#d4d4d8;border-radius:9999px}.card-content::-webkit-scrollbar-thumb:hover{background:#a1a1aa}.guests-page{background:#fafafa;display:flex;flex-direction:column;height:100%;width:100%}.stats-card{background:#fff;border:1px solid #f4f4f5;border-radius:12px;box-shadow:0 1px 3px #0000000d;margin-bottom:1rem;padding:1.5rem}.stats-container{justify-content:space-between;width:100%}.stat-item,.stats-container{align-items:center;display:flex}.stat-item{flex:1 1;flex-direction:column;padding:0 1rem}.stat-label{color:#71717a;font-size:.85rem;font-weight:500;letter-spacing:.5px;margin-bottom:.5rem;text-transform:uppercase}.stat-label,.stat-value{text-align:center}.stat-value.crimson{color:#841617}.stat-value.green{color:#22c55e}.stat-value.orange{color:#f59e0b}.stat-divider{background:#e4e4e7;height:40px;margin:0 .5rem;width:1px}.guests-toolbar{align-items:center;background:#fff;border-bottom:1px solid #e4e4e7;display:flex;flex-shrink:0;flex-wrap:wrap;gap:1rem;justify-content:space-between;padding:1rem 1.5rem}.guests-toolbar .toolbar-search{flex:1 1;max-width:400px;min-width:200px}.guests-toolbar .search-box{align-items:center;background:#f4f4f5;border:1px solid #e4e4e7;border-radius:9999px;display:flex;gap:.5rem;padding:.625rem 1rem;transition:all .2s ease}.guests-toolbar .search-box:focus-within{background:#fff;border-color:#841617;box-shadow:0 0 0 3px #8416171a}.guests-toolbar .search-box svg{color:#a1a1aa;flex-shrink:0}.guests-toolbar .search-box input{background:#0000;border:none;color:#27272a;flex:1 1;font-size:.875rem;min-width:0;outline:none}.guests-toolbar .search-box input::placeholder{color:#a1a1aa}.guests-toolbar .search-clear{align-items:center;background:#d4d4d8;border:none;border-radius:9999px;color:#52525b;cursor:pointer;display:flex;flex-shrink:0;height:20px;justify-content:center;transition:all .2s ease;width:20px}.guests-toolbar .search-clear:hover{background:#a1a1aa;color:#fff}.guests-toolbar .toolbar-controls{align-items:center;display:flex;flex-wrap:wrap;gap:1rem}.guests-toolbar .toolbar-control{align-items:center;display:flex;gap:.5rem}.guests-toolbar .toolbar-control label{align-items:center;color:#71717a;display:flex;font-size:.8rem;font-weight:500;gap:.35rem;white-space:nowrap}.guests-toolbar .toolbar-control label svg{color:#a1a1aa}.guests-toolbar .toolbar-control select{-webkit-appearance:none;appearance:none;background:#f4f4f5 url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .75rem center;border:1px solid #e4e4e7;border-radius:8px;color:#27272a;cursor:pointer;font-size:.85rem;min-width:140px;padding:.5rem 2rem .5rem .75rem;transition:all .2s ease}.guests-toolbar .toolbar-control select:hover{background-color:#fff;border-color:#d4d4d8}.guests-toolbar .toolbar-control select:focus{background-color:#fff;border-color:#841617;box-shadow:0 0 0 3px #8416171a;outline:none}.guests-toolbar .toolbar-count{background:#f4f4f5;border-radius:8px;color:#71717a;font-size:.8rem;padding:.5rem .75rem;white-space:nowrap}.guests-toolbar .control-label{display:inline}.guests-content{display:flex;flex:1 1;flex-direction:column;gap:1.5rem;min-height:0;overflow-y:auto;padding:1.5rem}.guests-grid-container{flex:1 1;min-height:0;overflow-y:auto}.guests-grid-container::-webkit-scrollbar{width:4px}.guests-grid-container::-webkit-scrollbar-track{background:#0000}.guests-grid-container::-webkit-scrollbar-thumb{background:#d4d4d8;border-radius:9999px}.guests-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.guest-card{background:#fff;border:1px solid #f4f4f5;border-radius:12px;box-shadow:0 1px 3px #0000000d;cursor:pointer;display:flex;flex-direction:column;gap:.75rem;padding:1.25rem;text-align:left;transition:all .2s ease;width:100%}.guest-card:hover{border-color:#841617;box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.guest-card:focus-visible{outline:2px solid #841617;outline-offset:2px}.guest-card-header{align-items:flex-start;display:flex;gap:.75rem}.guest-avatar{align-items:center;background:linear-gradient(135deg,#841617,#6b1213);border-radius:10px;display:flex;flex-shrink:0;height:40px;justify-content:center;width:40px}.guest-avatar svg{color:#fff}.guest-name{flex:1 1;min-width:0}.guest-name h3{color:#18181b;font-size:1rem;font-weight:600;line-height:1.3;margin:0 0 .25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.guest-status{border-radius:9999px;display:inline-block;font-size:.6875rem;font-weight:600;letter-spacing:.02em;padding:.125rem .5rem;text-transform:uppercase}.guest-status.checked-in{background:#dcfce7;color:#166534}.guest-status.checked-out{background:#f4f4f5;color:#52525b}.guest-flagged{align-items:center;background:#fef3c7;border-radius:8px;display:flex;flex-shrink:0;height:28px;justify-content:center;width:28px}.guest-flagged svg{color:#d97706}.guest-card-body{display:flex;flex-direction:column;gap:.5rem}.guest-info-row{align-items:center;color:#52525b;display:flex;font-size:.8125rem;gap:.5rem}.guest-info-row svg{color:#a1a1aa;flex-shrink:0}.guest-wing{background:#eff6ff;border-radius:6px;color:#1d4ed8;font-size:.6875rem;font-weight:600;margin-left:auto;padding:.125rem .5rem}.guests-empty{align-items:center;color:#a1a1aa;display:flex;flex-direction:column;height:100%;justify-content:center;padding:3rem 1rem;text-align:center}.guests-empty svg{margin-bottom:1rem;opacity:.5}.guests-empty h3{color:#52525b;font-size:1.125rem;margin:0 0 .5rem}.guests-empty p{font-size:.875rem;margin:0 0 1.5rem}.guests-loading{align-items:center;color:#71717a;display:flex;flex-direction:column;height:100%;justify-content:center;padding:3rem}.guests-loading .spinner{margin-bottom:1rem}.guests-loading .spinner svg{animation:spin 1s linear infinite;color:#841617}.guests-loading p{font-size:.9rem;margin:0}.guests-error{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;padding:3rem;text-align:center}.guests-error svg{color:#ef4444;margin-bottom:1rem}.guests-error h3{color:#27272a;font-size:1.125rem;margin:0 0 .5rem}.guests-error p{color:#71717a;font-size:.875rem;margin:0 0 1.5rem}.btn-primary:hover{background:linear-gradient(135deg,#6b1213,#5a1011)}.btn-secondary:hover{background:#f4f4f5;border-color:#d4d4d8}@media (max-width:1200px){.guests-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}}@media (max-width:992px){.stats-container{flex-wrap:wrap;gap:1rem;justify-content:center}.stat-item{flex-basis:calc(50% - 2rem);flex-grow:0;flex-shrink:0;padding:.5rem}.stat-divider:nth-child(2),.stat-divider:nth-child(4){display:none}}@media (max-width:900px){.guests-toolbar{align-items:stretch;flex-direction:column;gap:.75rem}.guests-toolbar .toolbar-search{max-width:100%}.guests-toolbar .toolbar-controls{justify-content:space-between}}@media (max-width:768px){.guests-toolbar{padding:.75rem 1rem}.guests-content{gap:1rem;padding:1rem}.stats-card{padding:1rem}.stat-item{flex-basis:calc(50% - 1rem);flex-grow:0;flex-shrink:0}.stat-value{font-size:2rem}.stat-label{font-size:.75rem}.guests-grid{grid-template-columns:1fr}.guests-toolbar .toolbar-control select{min-width:120px}}@media (max-width:580px){.guests-toolbar .toolbar-controls{flex-wrap:wrap;gap:.5rem}.guests-toolbar .toolbar-control{flex:1 1;min-width:calc(50% - .25rem)}.guests-toolbar .toolbar-control select{min-width:0;width:100%}.guests-toolbar .toolbar-count{order:-1;text-align:center;width:100%}.guests-toolbar .control-label{display:none}.stats-container{align-items:stretch;flex-direction:column;gap:0}.stat-item{border-bottom:1px solid #f4f4f5;flex:1 1;padding:.75rem 0}.stat-item:last-child{border-bottom:none}.stat-divider{display:none}.stat-value{font-size:1.75rem}.stat-label{font-size:.7rem}}@media (max-width:480px){.guests-toolbar,.guests-toolbar .search-box{padding:.5rem .75rem}.guests-content{padding:.75rem}.guest-card{padding:1rem}.guest-avatar{height:36px;width:36px}}.btn:focus-visible,.guests-toolbar .toolbar-control select:focus-visible{outline:2px solid #841617;outline-offset:2px}@media (prefers-reduced-motion:reduce){.guests-loading .spinner svg{animation:none}.guest-card{transition:none}}.settings-container{background:#f8fafc;min-height:100vh;padding:2rem}@media (max-width:768px){.settings-container{padding:1rem}}.settings-header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:space-between;margin-bottom:2rem}.btn-danger{background:#ef4444;color:#fff}.btn-danger:hover:not(:disabled){background:#dc2626;box-shadow:0 4px 12px #ef444433;transform:translateY(-1px)}.settings-tabs{-ms-overflow-style:none;display:flex;gap:.5rem;margin-bottom:2rem;overflow-x:auto;overflow-y:auto;padding-bottom:.5rem;scrollbar-width:none;&::-webkit-scrollbar{display:none}}.tab-btn{background:#0000;border:none;border-radius:8px;color:#64748b;cursor:pointer;font-size:.875rem;font-weight:500;padding:.75rem 1.5rem;transition:all .2s ease;white-space:nowrap}.tab-btn:hover{background:#f1f5f9;color:#374151}.tab-btn.active{background:#841617;color:#fff}.settings-content{-ms-overflow-style:none;background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 4px 12px #0000000d;overflow-y:auto;scrollbar-width:none;&::-webkit-scrollbar{display:none}}.setting-section{padding:2rem}.setting-section.danger-zone{background:#fef2f2;border:1px solid #fecaca;border-radius:12px;margin:2rem}.section-header{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;gap:1rem;margin-bottom:2rem;padding-bottom:1rem}.setting-section.danger-zone .section-header{border-bottom-color:#fecaca;color:#dc2626}.section-icon{align-items:center;background:#f3f4f6;border-radius:10px;display:flex;height:40px;justify-content:center;width:40px}.section-icon svg{color:#6b7280;height:20px;width:20px}.setting-section.danger-zone .section-icon{background:#fee2e2}.setting-section.danger-zone .section-icon svg{color:#dc2626}.section-header h3{color:#1e293b;font-size:1.25rem;font-weight:600;margin:0}.setting-section.danger-zone .section-header h3{color:#dc2626}.setting-item{grid-gap:2rem;align-items:flex-start;display:grid;gap:2rem;grid-template-columns:1fr 1fr;margin-bottom:1.5rem}@media (max-width:768px){.setting-item{gap:1rem;grid-template-columns:1fr}}.setting-info{min-width:250px}.setting-label{color:#374151;display:block;font-size:.875rem;font-weight:500;margin-bottom:.5rem}.required{color:#ef4444;margin-left:.25rem}.setting-description{color:#6b7280;font-size:.8125rem;line-height:1.4;margin:0}.setting-control{display:flex;justify-content:flex-end}@media (max-width:768px){.setting-control{justify-content:flex-start}}.setting-input,.setting-select{background:#fff;border:1px solid #d1d5db;border-radius:8px;color:#374151;font-size:.875rem;max-width:300px;padding:.625rem 1rem;transition:all .2s ease;width:100%}.setting-input:focus,.setting-select:focus{border-color:#841617;box-shadow:0 0 0 3px #8416171a;outline:none}.setting-input:disabled{background:#f3f4f6;color:#9ca3af;cursor:not-allowed}.toggle-switch{align-items:center;cursor:pointer;display:flex;gap:.75rem}.toggle-input{display:none}.toggle-slider{background:#d1d5db;border-radius:12px;height:24px;position:relative;transition:all .3s ease;width:44px}.toggle-slider:before{background:#fff;border-radius:50%;box-shadow:0 1px 3px #0000001a;content:"";height:20px;left:2px;position:absolute;top:2px;transition:all .3s ease;width:20px}.toggle-input:checked+.toggle-slider{background:#841617}.toggle-input:checked+.toggle-slider:before{transform:translateX(20px)}.toggle-label{color:#374151;font-size:.875rem;font-weight:500}.theme-options{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));max-width:400px}.theme-option{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:10px;cursor:pointer;display:flex;flex-direction:column;gap:.5rem;padding:1rem;transition:all .2s ease}.theme-option:hover{border-color:#d1d5db;transform:translateY(-2px)}.theme-option.active{background:#fef2f2;border-color:#841617}.theme-icon{align-items:center;display:flex;height:32px;justify-content:center;width:32px}.theme-icon svg{color:#6b7280;height:20px;width:20px}.theme-option.active .theme-icon svg{color:#841617}.theme-label{color:#374151;font-size:.875rem;font-weight:500}.theme-check{align-items:center;background:#841617;border-radius:50%;display:flex;height:20px;justify-content:center;position:absolute;right:-6px;top:-6px;width:20px}.theme-check svg{color:#fff;height:12px;width:12px}.font-size-options{display:flex;gap:.5rem;max-width:300px}.font-size-option{background:#fff;border:1px solid #d1d5db;border-radius:8px;color:#374151;cursor:pointer;flex:1 1;font-size:.875rem;font-weight:500;padding:.5rem 1rem;transition:all .2s ease}.font-size-option:hover{background:#f8fafc;border-color:#9ca3af}.font-size-option.active{background:#841617;border-color:#841617;color:#fff}.danger-items{display:flex;flex-direction:column;gap:1.5rem}.danger-items .setting-item{background:#fff;border:1px solid #fecaca;border-radius:10px;margin-bottom:0;padding:1.5rem}.dialog-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:1000}.dialog{background:#fff;border-radius:16px;box-shadow:0 20px 25px -5px #0000001a;max-width:400px;overflow:hidden;width:100%}.dialog-header{align-items:center;background:#fef2f2;border-bottom:1px solid #fecaca;display:flex;gap:.75rem;padding:1.5rem}.dialog-header svg{color:#dc2626;height:20px;width:20px}.dialog-header h3{color:#dc2626;font-size:1.125rem;font-weight:600;margin:0}.dialog-content{padding:1.5rem}.dialog-content p{color:#6b7280;line-height:1.5;margin:0}.dialog-actions{display:flex;gap:1rem;justify-content:flex-end;padding:1rem 1.5rem 1.5rem}@media (max-width:768px){.settings-tabs{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;overflow-x:auto}.header-actions{align-items:stretch;flex-direction:column}.header-right{width:100%}.theme-options{grid-template-columns:1fr}.dialog-actions{flex-direction:column}}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #841617;outline-offset:2px}.settings-tabs::-webkit-scrollbar{height:4px}.settings-tabs::-webkit-scrollbar-track{background:#f1f1f1;border-radius:2px}.settings-tabs::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:2px}.settings-tabs::-webkit-scrollbar-thumb:hover{background:#a1a1a1}[data-theme=dark] .settings-container{background:#0f172a}[data-theme=dark] .dialog,[data-theme=dark] .font-size-option,[data-theme=dark] .setting-input,[data-theme=dark] .setting-section,[data-theme=dark] .setting-select,[data-theme=dark] .settings-content,[data-theme=dark] .theme-option{background:#1e293b;border-color:#334155;color:#f1f5f9}[data-theme=dark] .header-left h1,[data-theme=dark] .section-header h3,[data-theme=dark] .setting-label,[data-theme=dark] .theme-label,[data-theme=dark] .toggle-label{color:#f1f5f9}[data-theme=dark] .header-left .subtitle,[data-theme=dark] .setting-description,[data-theme=dark] .tab-btn:not(.active){color:#94a3b8}[data-theme=dark] .danger-items .setting-item,[data-theme=dark] .setting-section.danger-zone{background:#1e293b;border-color:#7f1d1d}[data-theme=dark] .toggle-slider{background:#475569}[data-theme=dark] .font-size-option:hover,[data-theme=dark] .theme-option:hover{background:#334155}.analytics-container{-ms-overflow-style:none;background:#f8fafc;box-sizing:border-box;height:100%;max-height:100vh;overflow-y:auto;padding:2rem;scrollbar-width:none;&::-webkit-scrollbar{display:none}}@media (max-width:768px){.analytics-container{padding:1rem}}.analytics-container.error,.analytics-container.loading{align-items:center;display:flex;justify-content:center;min-height:80vh}.error-content,.loading-content{text-align:center}.loading-content .spinner{height:60px;margin:0 auto 1.5rem;width:60px}.loading-content .spinner svg{animation:spin 1s linear infinite;color:#841617;height:60px;width:60px}.loading-content p{color:#64748b;font-size:1.125rem}.error-content h3{color:#ef4444;margin-bottom:1rem}.error-content p{color:#64748b;margin-bottom:1.5rem}.analytics-header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:space-between;margin-bottom:2rem}.header-left h1{align-items:center;color:#1e293b;display:flex;font-size:2rem;font-weight:700;gap:.75rem;margin:0 0 .5rem}.header-left h1 svg{color:#841617;height:28px;width:28px}.header-left .subtitle{color:#64748b;font-size:.95rem;margin:0}.header-right{align-items:center;display:flex;gap:1rem}.header-actions{align-items:center;flex-wrap:wrap;gap:1rem}.btn{border-radius:10px;text-decoration:none;white-space:nowrap}.btn-sm{font-size:.8125rem;padding:.5rem 1rem}.btn-primary:hover:not(:disabled){box-shadow:0 4px 12px #84161733;transform:translateY(-1px)}.btn-outline{background:#0000;border:1px solid #d1d5db;color:#374151}.btn-outline:hover:not(:disabled){background:#f8fafc;border-color:#9ca3af}.btn-icon{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:10px;display:flex;height:40px;justify-content:center;padding:0;width:40px}.btn-icon:hover{background:#f8fafc;border-color:#d1d5db}.btn-icon svg{color:#4b5563;height:20px;width:20px}.btn:disabled{opacity:.6;transform:none!important}.time-range-selector select{background:#fff;border:1px solid #d1d5db;border-radius:8px;color:#374151;cursor:pointer;font-size:.875rem;min-width:140px;padding:.625rem 1rem;transition:border-color .2s ease}.time-range-selector select:focus{border-color:#841617;box-shadow:0 0 0 3px #8416171a;outline:none}.wing-filter{background:#fff;border:1px solid #e5e7eb;border-radius:12px;flex-wrap:wrap;gap:1rem;margin-bottom:2rem;padding:1rem 1.5rem}.filter-label,.wing-filter{align-items:center;display:flex}.filter-label{color:#6b7280;font-size:.875rem;font-weight:500;gap:.5rem}.filter-label svg{height:16px;width:16px}.filter-options{display:flex;flex-wrap:wrap;gap:.5rem}.filter-option{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;color:#6b7280;cursor:pointer;font-size:.875rem;padding:.5rem 1rem;transition:all .2s ease}.filter-option:hover{background:#f1f5f9;border-color:#d1d5db}.filter-option.active{background:#841617;border-color:#841617;color:#fff}.stats-overview{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));margin-bottom:2.5rem}.stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 4px 12px #0000000d;padding:1.25rem;transition:transform .2s ease}.stat-card:hover{transform:translateY(-2px)}.stat-card.primary{border-left:4px solid #841617}.stat-card.success{border-left:4px solid #10b981}.stat-card.warning{border-left:4px solid #f59e0b}.stat-card.info{border-left:4px solid #3b82f6}.stat-header{align-items:flex-start;display:flex;justify-content:flex-start;margin-bottom:.35rem}.stat-header h3{color:#6b7280;font-size:.875rem;font-weight:500;letter-spacing:.05em;margin:0;text-transform:uppercase}.stat-card.primary .stat-icon{background:#fee2e2}.stat-card.success .stat-icon{background:#d1fae5}.stat-card.warning .stat-icon{background:#fef3c7}.stat-card.info .stat-icon{background:#dbeafe}.stat-icon svg{color:#6b7280;height:20px;width:20px}.stat-card.primary .stat-icon svg{color:#dc2626}.stat-card.success .stat-icon svg{color:#059669}.stat-card.warning .stat-icon svg{color:#d97706}.stat-card.info .stat-icon svg{color:#2563eb}.stat-value{color:#1e293b;font-size:2.5rem;font-weight:700;line-height:1;margin-bottom:.5rem}.stat-trend{align-items:center;display:flex;font-size:.875rem;font-weight:500;gap:.375rem}.stat-trend.up{color:#10b981}.stat-trend.down{color:#ef4444}.stat-trend svg{height:16px;width:16px}.analytics-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));margin-bottom:2.5rem}.chart-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 4px 12px #0000000d;overflow:hidden}.chart-header{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:1.5rem 1.5rem 1rem}.chart-header h3{color:#1e293b;font-size:1.125rem;font-weight:600;margin:0}.chart-action{align-items:center;display:flex;gap:.5rem}.chart-content{padding:1.5rem}.distribution-chart,.student-chart{display:flex;flex-direction:column;gap:1rem}.distribution-item,.student-item{display:flex;flex-direction:column;gap:.5rem}.distribution-label,.student-label{align-items:center;display:flex;justify-content:space-between}.distribution-wing,.student-type{color:#374151;font-size:.875rem;font-weight:500}.distribution-count,.student-percentage{color:#6b7280;font-size:.875rem;font-weight:500}.distribution-bar,.student-bar{background:#f3f4f6;border-radius:12px;height:24px;overflow:hidden;position:relative}.bar-fill{border-radius:12px;height:100%;position:relative;transition:width .6s ease}.bar-fill.wing-1{background:linear-gradient(135deg,#841617,#a33233)}.bar-fill.wing-2{background:linear-gradient(135deg,#3b82f6,#5d9afc)}.bar-fill.student-1{background:linear-gradient(135deg,#10b981,#34d399)}.bar-fill.student-2{background:linear-gradient(135deg,#8b5cf6,#a78bfa)}.bar-percentage{color:#fff;font-size:.75rem;font-weight:600;position:absolute;right:8px;top:50%;transform:translateY(-50%)}.student-count{color:#6b7280;font-size:.75rem;text-align:right}.top-rooms{overflow-x:auto}.rooms-table{border-collapse:collapse;width:100%}.rooms-table thead{background:#f8fafc;border-bottom:2px solid #e5e7eb}.rooms-table th{color:#6b7280;font-size:.75rem;font-weight:600;letter-spacing:.05em;padding:.75rem 1rem;text-align:left;text-transform:uppercase}.rooms-table tbody tr{border-bottom:1px solid #e5e7eb;transition:background .2s ease}.rooms-table tbody tr:hover{background:#f8fafc}.rooms-table tbody tr.highlight{background:#f0f9ff}.rooms-table td{font-size:.875rem;padding:1rem}.room-number{color:#1e293b;font-weight:600}.guest-count{background:#f3f4f6;color:#374151}.guest-count,.wing-badge{border-radius:20px;display:inline-block;font-weight:600;padding:.25rem .75rem}.wing-badge{font-size:.75rem;letter-spacing:.05em;text-transform:uppercase}.wing-badge.north{background:#dbeafe;color:#1d4ed8}.wing-badge.south{background:#fce7f3;color:#be185d}.no-data{color:#9ca3af;padding:3rem 1rem;text-align:center}.no-data svg{color:#d1d5db;height:48px;margin-bottom:1rem;width:48px}.no-data p{font-size:.95rem;margin:0}.recent-activity{max-height:300px;overflow-y:auto}.activity-list{display:flex;flex-direction:column;gap:1rem}.guest-activity-item{align-items:flex-start;border:1px solid #e5e7eb;border-radius:8px;display:flex;gap:1rem;padding:.75rem;transition:background .2s ease}.guest-activity-item:hover{background:#f8fafc}.activity-icon{align-items:center;background:#f3f4f6;border-radius:8px;display:flex;flex-shrink:0;height:32px;justify-content:center;width:32px}.activity-icon svg{color:#6b7280;height:16px;width:16px}.activity-details{flex:1 1}.activity-guest{color:#1e293b;font-weight:600;margin-bottom:.25rem}.activity-info{color:#6b7280;display:flex;flex-wrap:wrap;font-size:.875rem;gap:.5rem}.activity-type{color:#059669;font-weight:500}.activity-room{color:#3b82f6}.activity-time{color:#6b7280}.insights-list{display:flex;flex-direction:column;gap:1rem}.insight-item{align-items:flex-start;background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;display:flex;gap:1rem;padding:1rem}.insight-item.positive{border-left:4px solid #10b981}.insight-item.info{border-left:4px solid #3b82f6}.insight-item.warning{border-left:4px solid #f59e0b}.insight-item.neutral{border-left:4px solid #8b5cf6}.insight-item svg{flex-shrink:0;height:20px;margin-top:.125rem;width:20px}.insight-item.positive svg{color:#10b981}.insight-item.info svg{color:#3b82f6}.insight-item.warning svg{color:#f59e0b}.insight-item.neutral svg{color:#8b5cf6}.insight-content h4{color:#1e293b;font-size:.875rem;font-weight:600;margin:0 0 .25rem}.insight-content p{color:#6b7280;font-size:.8125rem;line-height:1.4;margin:0}.export-options{text-align:center}.export-description{color:#6b7280;line-height:1.6;margin:0 0 1.5rem}.export-buttons{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;margin-bottom:1rem}.export-note{color:#9ca3af;font-size:.75rem;line-height:1.4}.analytics-footer{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:16px;display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:space-between;padding:1.5rem}.footer-stats{display:flex;flex-wrap:wrap;gap:2rem}.footer-stat{display:flex;flex-direction:column;gap:.25rem}.footer-stat .stat-label{color:#6b7280;font-size:.75rem;letter-spacing:.05em;text-transform:uppercase}.footer-stat .stat-value{color:#1e293b;font-size:.875rem;font-weight:600}.footer-actions{display:flex;gap:.75rem}@media (max-width:768px){.analytics-grid,.stats-overview{grid-template-columns:1fr}.header-actions{align-items:stretch;flex-direction:column}.time-range-selector select{width:100%}.analytics-footer{align-items:stretch;flex-direction:column;text-align:center}.footer-actions,.footer-stats{justify-content:center}}button:focus-visible,select:focus-visible{outline:2px solid #841617;outline-offset:2px}.recent-activity::-webkit-scrollbar{width:6px}.recent-activity::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.recent-activity::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.recent-activity::-webkit-scrollbar-thumb:hover{background:#a1a1a1}.admin-container{background:#f8fafc;box-sizing:border-box;height:100%;max-height:100vh;overflow-y:auto;padding:2rem}.admin-container::-webkit-scrollbar{display:none}.admin-container{-ms-overflow-style:none;scrollbar-width:none}.admin-header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:space-between;margin-bottom:2rem}.admin-header-left h1{align-items:center;color:#1f2933;display:flex;font-size:2rem;font-weight:700;gap:.75rem;margin:0 0 .5rem}.admin-header-left h1 svg{color:#841617}.admin-subtitle{color:#64748b;font-size:.95rem;margin:0}.admin-header-right{align-items:center;display:flex;gap:.75rem}.admin-search{align-items:center;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:9999px;display:flex;gap:.5rem;padding:.5rem 1rem}.admin-search svg{color:#9ca3af;height:16px;width:16px}.admin-search input{background:#0000;border:none;color:#111827;font-size:.875rem;min-width:200px;outline:none}.admin-search input::placeholder{color:#9ca3af}.admin-icon-btn{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:9999px;cursor:pointer;display:flex;height:40px;justify-content:center;transition:all .2s ease;width:40px}.admin-icon-btn:hover{background:#f9fafb;border-color:#d1d5db}.admin-stats{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin-bottom:2rem}.admin-stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 4px 12px #0f172a0d;padding:1.25rem 1.5rem}.admin-stat-header{align-items:center;display:flex;gap:.5rem;margin-bottom:.5rem}.admin-stat-icon{align-items:center;background:#fef2f2;border-radius:9999px;color:#b91c1c;display:flex;height:28px;justify-content:center;width:28px}.admin-stat-label{color:#6b7280;font-size:.8rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.admin-stat-value{color:#111827;font-size:2rem;font-weight:700;margin-bottom:.25rem}.admin-stat-description{color:#6b7280;font-size:.85rem;margin:0}.admin-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);margin-bottom:2rem}.admin-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 4px 12px #0f172a0a;display:flex;flex-direction:column}.admin-card-header{border-bottom:1px solid #e5e7eb;padding:1.25rem 1.5rem .75rem}.admin-card-header h2{color:#111827;font-size:1.125rem;font-weight:600;margin:0 0 .25rem}.admin-card-header p{color:#6b7280;font-size:.875rem;margin:0}.admin-card--side,.admin-card--wide{min-height:260px}.admin-table-wrapper{padding:.75rem 1.5rem 1rem}.admin-table{border-collapse:collapse;font-size:.9rem;width:100%}.admin-table thead{background-color:#f9fafb}.admin-table td,.admin-table th{padding:.65rem .75rem;text-align:left}.admin-table th{border-bottom:1px solid #e5e7eb;color:#6b7280;font-size:.75rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.admin-table tbody tr{border-bottom:1px solid #f3f4f6}.admin-table tbody tr:last-child{border-bottom:none}.admin-row-alt{background:#fcfcfd}.admin-user-cell{gap:.75rem}.admin-avatar,.admin-user-cell{align-items:center;display:flex}.admin-avatar{background:linear-gradient(135deg,#841617,#6b1213);border-radius:9999px;color:#fff;font-size:.85rem;font-weight:600;height:36px;justify-content:center;width:36px}.admin-user-meta{display:flex;flex-direction:column}.admin-user-name{color:#111827;font-weight:600}.admin-user-email{color:#6b7280;font-size:.8rem}.admin-role-badge{background:#eff6ff;color:#1d4ed8;font-size:.75rem;font-weight:600;letter-spacing:.06em;padding:.25rem .6rem;text-transform:uppercase}.admin-role-badge,.admin-toggle-btn{align-items:center;border-radius:9999px;display:inline-flex}.admin-toggle-btn{border:none;cursor:pointer;font-size:.8rem;font-weight:500;gap:.4rem;padding:.25rem .75rem;transition:all .2s ease}.admin-toggle-btn svg{height:18px;width:18px}.admin-toggle-btn.on{background:#ecfdf5;color:#15803d}.admin-toggle-btn.off{background:#f9fafb;color:#4b5563}.admin-toggle-btn:hover{transform:translateY(-1px)}.admin-user-status{align-items:center;border-radius:9999px;display:inline-flex;font-size:.75rem;font-weight:500;padding:.25rem .6rem}.admin-user-status.online{background:#ecfdf5;color:#16a34a}.admin-empty-state{color:#9ca3af;padding:2rem 1rem;text-align:center}.admin-empty-state svg{color:#d1d5db;margin-bottom:.75rem}.admin-activity{display:flex;flex-direction:column;gap:.75rem;padding:1rem 1.5rem 1.25rem}.admin-activity-item{background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;display:flex;gap:.75rem;padding:.75rem}.admin-activity-icon{align-items:center;background:#eef2ff;border-radius:9999px;color:#4f46e5;display:flex;flex-shrink:0;height:28px;justify-content:center;width:28px}.admin-activity-content h3{color:#111827;font-size:.9rem;font-weight:600;margin:0 0 .25rem}.admin-activity-content p{color:#6b7280;font-size:.8rem;line-height:1.5;margin:0}.admin-activity-note{color:#6b7280;font-size:.78rem;font-style:italic;margin-top:.5rem}@media (max-width:1024px){.admin-grid{grid-template-columns:1fr}}@media (max-width:768px){.admin-container{padding:1rem}.admin-header-left h1{font-size:1.5rem}.admin-search input{min-width:140px}}@media (max-width:640px){.admin-header{align-items:stretch;flex-direction:column}.admin-header-right{justify-content:space-between;width:100%}.admin-search{flex:1 1}}.overlay-backdrop{align-items:center;background:#0f172a99;display:flex;inset:0;justify-content:center;position:fixed;z-index:2000}.overlay-panel{background:#fff;border-radius:12px;box-shadow:0 20px 45px #0f172a59;max-height:90vh;max-width:750px;overflow-y:auto;padding:1.5rem;width:100%}.App{text-align:center}.App-logo{height:40vmin;pointer-events:none}@media (prefers-reduced-motion:no-preference){.App-logo{animation:App-logo-spin 20s linear infinite}}.App-header{align-items:center;background-color:#282c34;color:#fff;display:flex;flex-direction:column;font-size:calc(10px + 2vmin);justify-content:center;min-height:100vh}.App-link{color:#61dafb}@keyframes App-logo-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.modal-overlay{align-items:center;animation:fadeIn .2s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009;display:flex;inset:0;justify-content:center;padding:1rem;position:fixed;z-index:2000}.create-resident-modal{animation:slideUp .3s ease;background:#fff;border-radius:16px;box-shadow:0 20px 40px #00000026;display:flex;flex-direction:column;max-height:min(800px,90vh);max-width:min(680px,90vw);min-width:280px;overflow:hidden;width:100%}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-header{align-items:flex-start;background:linear-gradient(135deg,#841617,#6b1213);color:#fff;display:flex;flex-shrink:0;gap:1rem;justify-content:space-between;padding:1.25rem 1.5rem;position:relative}.modal-resident-info{align-items:center;display:flex;flex:1 1;gap:1rem;min-width:0}.modal-avatar{align-items:center;background:#ffffff26;border:2px solid #fff3;border-radius:12px;display:flex;flex-shrink:0;font-size:1.1rem;font-weight:600;height:48px;justify-content:center;width:48px}.modal-title-row{flex:1 1;min-width:0}.modal-title-row h2{font-size:clamp(1.1rem,2vw,1.3rem);font-weight:600;line-height:1.2;margin:0 0 .25rem}.modal-subtitle{line-height:1.4;margin:0}.modal-close{align-items:center;background:#ffffff1a;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;flex-shrink:0;height:36px;justify-content:center;margin-top:-4px;transition:all .2s ease;width:36px}.modal-close:hover:not(:disabled){background:#fff3}.modal-close svg{height:18px;width:18px}.modal-close:disabled{cursor:not-allowed;opacity:.5}.modal-content{flex:1 1;min-height:0;overflow-y:auto}.modal-content::-webkit-scrollbar{width:4px}.modal-content::-webkit-scrollbar-track{background:#0000}.modal-content::-webkit-scrollbar-thumb{background:#d4d4d8;border-radius:2px}.modal-content{-ms-overflow-style:none;scrollbar-width:thin}.create-resident-form{padding:1.5rem 1.5rem 0}.form-grid{grid-gap:1.25rem;display:grid;gap:1.25rem;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));margin-bottom:1.5rem}.form-field{margin-bottom:0}.form-field label{color:#27272a;font-size:.875rem;font-weight:500;gap:.5rem;margin-bottom:.5rem}.form-field label,.label-icon{align-items:center;display:flex}.label-icon{background:linear-gradient(135deg,#f4f4f5,#e4e4e7);border-radius:6px;flex-shrink:0;height:28px;justify-content:center;width:28px}.label-icon svg{color:#71717a;height:14px;width:14px}.form-field input,.form-field select{-webkit-appearance:none;appearance:none;background:#fafafa;border:2px solid #e4e4e7;border-radius:10px;box-sizing:border-box;color:#27272a;font-size:.9rem;padding:.75rem 1rem;transition:all .2s ease;width:100%}.form-field input:focus,.form-field select:focus{background:#fff;border-color:#841617;box-shadow:0 0 0 3px #8416171a;outline:none}.form-field input:disabled,.form-field select:disabled{background:#f4f4f5;cursor:not-allowed;opacity:.6}.form-field input[name=roomNumber]{letter-spacing:.05em;text-transform:uppercase}.form-field select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 1rem center;background-repeat:no-repeat;background-size:16px;padding-right:2.5rem}.checkbox-field{grid-column:1/-1;margin-top:.5rem}.checkbox-label{align-items:center;border-radius:8px;cursor:pointer;display:flex;gap:.75rem;padding:.5rem;transition:background-color .2s ease;-webkit-user-select:none;user-select:none}.checkbox-label:hover{background:#f8fafc}.checkbox-label input[type=checkbox]{accent-color:#841617;cursor:pointer;height:18px;margin:0;width:18px}.checkbox-label span{color:#27272a;font-weight:500}.field-hint{color:#71717a;line-height:1.4;margin-left:2.625rem}.field-error,.field-hint{font-size:.75rem;margin-top:.375rem;padding-left:0}.field-error{align-items:center;color:#ef4444;display:flex;gap:.375rem}.form-field.error input,.form-field.error select{border-color:#ef4444}.form-field.error input:focus,.form-field.error select:focus{box-shadow:0 0 0 3px #ef44441a}.modal-footer{background:#f9fafb;border-top:1px solid #e4e4e7;display:flex;flex-shrink:0;gap:.75rem;justify-content:flex-end;margin-left:-1.5rem;margin-right:-1.5rem;margin-top:1.25rem;padding:.9rem 1.5rem 1.25rem}.create-resident-form{display:flex;flex-direction:column}.form-grid{flex:1 1}.btn{align-items:center;border:none;border-radius:999px;cursor:pointer;display:inline-flex;font-size:.875rem;font-weight:500;gap:.5rem;justify-content:center;min-height:40px;min-width:0;padding:.625rem 1.25rem;transition:all .2s ease}.btn:disabled{cursor:not-allowed;opacity:.5}.btn-secondary{background:#fff;border:1px solid #e4e4e7;color:#52525b}.btn-secondary:hover:not(:disabled){background:#f4f4f5}.btn-primary{background:linear-gradient(135deg,#841617,#6b1213);box-shadow:0 3px 10px #84161740}.btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#6b1213,#5a1011);box-shadow:0 5px 16px #84161759}@media (max-width:768px){.create-resident-modal{max-height:85vh;max-width:95vw}.form-grid{gap:1rem;grid-template-columns:1fr}}@media (max-width:480px){.modal-overlay{padding:.5rem}.create-resident-modal{border-radius:12px;max-height:90vh;max-width:100%}.modal-header{flex-direction:column;gap:.75rem;padding:1rem 1.25rem}.modal-resident-info{width:100%}.modal-close{margin-top:0;position:absolute;right:.75rem;top:.75rem}.create-resident-form{padding:1.25rem 1.25rem 0}.modal-footer{margin-left:-1.25rem;margin-right:-1.25rem;padding:.85rem 1.25rem 1.1rem}.form-field label{font-size:.85rem}.label-icon{height:24px;width:24px}.label-icon svg{height:12px;width:12px}.form-field input,.form-field select{font-size:.85rem;padding:.625rem .875rem}.btn{font-size:.8rem;min-height:38px;padding:.5rem 1rem}}@media (max-width:360px){.create-resident-modal{border-radius:10px}.create-resident-form,.modal-header{padding:.875rem 1rem 0}.modal-footer{margin-left:-1rem;margin-right:-1rem;padding:.75rem 1rem 1rem}.form-grid{gap:.875rem}.checkbox-label span{font-size:.85rem}.field-hint{font-size:.7rem;margin-left:2.5rem}}.btn:focus-visible,.modal-close:focus-visible{outline:2px solid #841617;outline-offset:2px}.form-field input:focus-visible,.form-field select:focus-visible{outline:none}.checkbox-label:focus-within{border-radius:6px;outline:2px solid #841617;outline-offset:2px}@media (prefers-reduced-motion:reduce){.create-resident-modal,.modal-overlay{animation:none}}.active-toggle-field{grid-column:1/-1;margin-top:.75rem}.active-toggle-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.35rem}.active-toggle-label{color:#27272a;font-size:.875rem;font-weight:500}.status-pill{background:#e4e4e7;border-radius:999px;color:#3f3f46;justify-content:center;padding:.15rem .6rem}.status-pill.active{background:#16a34a1a}.status-pill.inactive{background:#ef44441a}.switch{align-items:center;cursor:pointer;display:flex;gap:.75rem;-webkit-user-select:none;user-select:none}.switch input{opacity:0;pointer-events:none;position:absolute}.switch-track{align-items:center;background:#e4e4e7;border-radius:999px;box-sizing:border-box;display:flex;height:24px;padding:3px;transition:background .2s ease;width:42px}.switch-thumb{background:#fff;border-radius:999px;box-shadow:0 1px 3px #00000040;height:18px;transition:transform .2s ease;width:18px}.switch input:checked+.switch-track{background:linear-gradient(135deg,#841617,#6b1213)}.switch input:checked+.switch-track .switch-thumb{transform:translateX(18px)}.switch-text{color:#52525b;font-size:.8rem;line-height:1.4}.switch input:disabled+.switch-track{cursor:not-allowed;opacity:.6}.switch input:disabled+.switch-track .switch-thumb{box-shadow:none}.clerk-roster-screen.screen-container{background:#f8fafc;max-width:100vw;min-height:100vh;overflow-x:hidden;padding:1rem}.clerk-roster-screen.screen-container,.screen-header{box-sizing:border-box;display:flex;flex-direction:column;gap:1.5rem}.screen-header{width:100%}@media (min-width:768px){.screen-header{align-items:flex-start;flex-direction:row;justify-content:space-between}}.screen-title-block{max-width:100%;overflow:hidden}.screen-title-block h1{color:#0f172a;font-size:1.5rem;font-weight:700;line-height:1.2;margin-bottom:.25rem;overflow:hidden;text-overflow:ellipsis}@media (min-width:640px){.screen-title-block h1{font-size:1.75rem}}.screen-subtitle{color:#64748b;font-size:.875rem;line-height:1.4;max-width:100%;overflow:hidden}@media (min-width:768px){.screen-subtitle{max-width:640px}}.header-actions{align-items:stretch;box-sizing:border-box;display:flex;flex-direction:column;gap:.75rem;max-width:100%}@media (min-width:640px){.header-actions{align-items:center;flex-direction:row;flex-wrap:wrap}}.add-clerk-wrapper,.add-resident-wrapper{max-width:100%;position:relative}.btn-danger,.btn-ghost,.btn-primary,.btn-secondary{align-items:center;border:none;border-radius:9999px;box-sizing:border-box;cursor:pointer;display:inline-flex;font-size:.875rem;font-weight:500;gap:.4rem;justify-content:center;max-width:100%;overflow:hidden;padding:.5rem 1rem;transition:all .2s ease;white-space:nowrap}.btn-primary{background:#841617;color:#fff}.btn-primary:hover{background:#6e1011;box-shadow:0 4px 12px #84161733;transform:translateY(-1px)}.btn-secondary{background:#e2e8f0;color:#111827}.btn-secondary:hover{background:#cbd5e1}.btn-ghost{background:#0000;border:1px solid #0000;color:#111827}.btn-ghost:hover{background:#f1f5f9;border-color:#e2e8f0}.btn-danger{background:#fee2e2;color:#b91c1c}.btn-danger:hover{background:#fecaca}.btn-danger.ghost{background:#0000;color:#b91c1c}.btn-danger.small,.btn-ghost.small{font-size:.8rem;padding:.25rem .6rem}.with-icon svg{flex-shrink:0}.dropdown-menu{box-sizing:border-box;left:0;overflow:hidden;top:100%}.add-clerk-wrapper .dropdown-menu,.add-resident-wrapper .dropdown-menu,.dropdown-menu{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;box-shadow:0 10px 25px #0f172a14;min-width:220px;padding:.35rem 0;position:absolute;right:0;z-index:50}.add-clerk-wrapper .dropdown-menu,.add-resident-wrapper .dropdown-menu{left:auto;top:calc(100% + .4rem)}.add-clerk-wrapper .dropdown-item,.add-resident-wrapper .dropdown-item{align-items:center;background:#0000;border:none;color:#0f172a;cursor:pointer;display:flex;font-size:.875rem;gap:.5rem;padding:.6rem 1rem;transition:background .15s ease;width:100%}.add-clerk-wrapper .dropdown-item:hover,.add-resident-wrapper .dropdown-item:hover{background:#f1f5f9}@media (min-width:640px){.dropdown-menu{left:auto;min-width:220px;right:0}}.dropdown-item{align-items:center;background:#0000;border:none;box-sizing:border-box;color:#0f172a;cursor:pointer;display:flex;font-size:.875rem;gap:.5rem;overflow:hidden;padding:.6rem 1rem;transition:background .15s ease;width:100%}.dropdown-item:hover{background:#f1f5f9}.screen-main-grid{box-sizing:border-box;display:flex;flex-direction:column;gap:1.5rem;width:100%}@media (min-width:1024px){.screen-main-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:1fr 1fr}}.panel{background:#fff;border:1px solid #e2e8f0;border-radius:1rem;box-shadow:0 4px 20px #0f172a0a;box-sizing:border-box;display:flex;flex-direction:column;gap:1rem;overflow:hidden;padding:1.25rem;width:100%}.panel.wide{margin-top:.5rem;width:100%}.panel-header{align-items:flex-start;box-sizing:border-box;display:flex;flex-direction:column;gap:.75rem;width:100%}@media (min-width:640px){.panel-header{align-items:center;flex-direction:row;flex-wrap:wrap;justify-content:space-between}}.panel-header h2{align-items:center;color:#0f172a;display:flex;font-size:1.125rem;font-weight:600;gap:.5rem;margin:0;max-width:100%;overflow:hidden}.panel-empty,.panel-error,.panel-loading{align-items:center;box-sizing:border-box;color:#64748b;display:flex;flex-direction:column;justify-content:center;padding:3rem 1rem;text-align:center;width:100%}.panel-loading .spinner{animation:spin .8s linear infinite;border:3px solid #e2e8f0;border-radius:50%;border-top-color:#841617;height:32px;margin-bottom:1rem;width:32px}@keyframes spin{to{transform:rotate(1turn)}}.panel-empty{padding:3rem 1rem}.panel-empty svg{color:#94a3b8;margin-bottom:1rem}.panel-error p{color:#dc2626;font-weight:500}.clerk-grid{grid-gap:1rem;box-sizing:border-box;display:grid;gap:1rem;grid-template-columns:1fr;width:100%}@media (min-width:640px){.clerk-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}}@media (min-width:1024px){.clerk-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}}.clerk-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.875rem;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:.75rem;min-height:0;overflow:hidden;padding:1rem;transition:all .2s ease;width:100%}.clerk-card:hover{background:#f1f5f9;border-color:#cbd5e1;box-shadow:0 8px 25px #0f172a14;transform:translateY(-2px)}.clerk-card-header{align-items:center;display:flex;gap:.75rem;min-width:0;width:100%}.clerk-avatar{align-items:center;background:linear-gradient(135deg,#841617,#b91c1c);border-radius:9999px;color:#fff;display:flex;flex-shrink:0;font-size:1rem;font-weight:600;height:48px;justify-content:center;min-width:48px;width:48px}.clerk-main{flex:1 1;min-width:0;overflow:hidden}.clerk-name{color:#0f172a;font-size:.95rem;font-weight:600;margin:0 0 .125rem}.clerk-email,.clerk-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.clerk-email{color:#64748b;font-size:.8rem;margin:0}.status-pill{align-items:center;border-radius:9999px;display:inline-flex;flex-shrink:0;font-size:.75rem;font-weight:500;gap:.35rem;max-width:100%;overflow:hidden;padding:.375rem .75rem}.status-pill .dot{border-radius:50%;flex-shrink:0;height:8px;width:8px}.status-pill.active{background:#dcfce7;color:#166534}.status-pill.active .dot{background:#16a34a}.status-pill.inactive{background:#fee2e2;color:#b91c1c}.status-pill.inactive .dot{background:#ef4444}.clerk-card-body{font-size:.8rem;width:100%}.clerk-meta{flex-direction:column;gap:.375rem}.clerk-meta,.meta-item{display:flex;width:100%}.meta-item{align-items:center;color:#64748b;gap:.35rem;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.meta-item svg{flex-shrink:0}.clerk-card-footer{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:space-between;margin-top:.5rem;width:100%}.clerk-card-footer button{flex:1 1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.resident-filters{align-items:stretch;box-sizing:border-box;display:flex;flex-direction:column;gap:1rem;width:100%}@media (min-width:768px){.resident-filters{align-items:center;flex-direction:row;flex-wrap:wrap;justify-content:space-between}}.filter-group{box-sizing:border-box;display:flex;flex-direction:column;gap:.75rem;width:100%}@media (min-width:640px){.filter-group{align-items:center;flex:1 1;flex-direction:row;min-width:0}}.filter-group .filter-search-box{background:#fff;border:1px solid #d1d5db;border-radius:9999px;box-sizing:border-box;color:#374151;flex:3 1;margin:0;outline:none;padding:.7rem;transition:all .2s ease;width:100%}.filter-group .filter-search-box::placeholder{color:#6b7280;font-weight:400;opacity:.8}.filter-group .filter-search-box:focus{color:#111827;transform:translateY(-1px)}.filter-group select{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;box-sizing:border-box;color:#0f172a;cursor:pointer;flex:1 1;font-size:.825rem;min-width:90px;outline:none;padding:.5rem .75rem;width:100%}.filter-group select:hover{background:#f1f5f9;border-color:#cbd5e1}.filter-group select{border-radius:1rem}@media (max-width:639px){.filter-group{gap:1rem}.filter-group .filter-search-box{border-radius:12px;flex:1 1;font-size:1.05rem;min-height:52px;padding:1rem 1.25rem}.filter-group select{border-radius:9999px;font-size:.875rem;height:44px;padding:.625rem .875rem}}.resident-grid{grid-gap:.75rem;box-sizing:border-box;display:grid;gap:.75rem;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));margin-top:.5rem;width:100%}@media (min-width:1024px){.resident-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}}.resident-card{background:#f9fafb;border:1px solid #e2e8f0;border-radius:.875rem;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:.5rem;overflow:hidden;padding:.75rem 1rem;text-align:left;transition:all .2s ease;width:100%}.resident-card:hover{background:#f1f5f9;border-color:#cbd5e1;box-shadow:0 4px 12px #0f172a0d;transform:translateY(-1px)}.resident-card-top{align-items:flex-start;display:flex;gap:.5rem;justify-content:space-between;min-width:0;width:100%}.resident-name{color:#0f172a;flex:1 1;font-size:.9rem;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.resident-room{background:#e2e8f0;border-radius:9999px;color:#64748b;flex-shrink:0;font-size:.8rem;padding:.125rem .5rem;white-space:nowrap}.resident-card-bottom{display:flex;justify-content:flex-start;width:100%}.resident-status{border-radius:9999px;font-size:.75rem;font-weight:500;overflow:hidden;padding:.25rem .75rem;text-overflow:ellipsis;white-space:nowrap}.resident-status.active{background:#dcfce7;color:#166534}.resident-status.inactive{background:#fee2e2;color:#b91c1c}.panel-row{grid-gap:1rem;box-sizing:border-box;display:grid;gap:1rem;grid-template-columns:1fr;margin-top:1rem;width:100%}@media (min-width:768px){.panel-row{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}}.subpanel{background:#f9fafb;border:1px dashed #cbd5e1;border-radius:.875rem;box-sizing:border-box;overflow:hidden;padding:1.25rem;transition:all .2s ease;width:100%}.subpanel:hover{background:#f8fafc;border-color:#94a3b8}.subpanel h3{color:#0f172a;font-size:1rem;font-weight:600;margin-bottom:.5rem;overflow:hidden;text-overflow:ellipsis}.subpanel-text{color:#64748b;font-size:.875rem;line-height:1.5;margin-bottom:1rem;overflow:hidden}.subpanel-text code{background:#e2e8f0;border-radius:.25rem;color:#0f172a;font-family:Monaco,Consolas,monospace;font-size:.8em;overflow-wrap:break-word;padding:.125rem .25rem}.clerk-modal .modal-resident-info{align-items:flex-start;display:flex;flex-direction:column;gap:1rem;width:100%}@media (min-width:640px){.clerk-modal .modal-resident-info{align-items:center;flex-direction:row;gap:1.25rem}}.clerk-modal .modal-avatar{align-items:center;background:linear-gradient(135deg,#841617,#b91c1c);border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:1.5rem;font-weight:600;height:64px;justify-content:center;width:64px}.clerk-modal-sub{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem;width:100%}.role-pill{align-items:center;background:#e0f2fe;border-radius:9999px;color:#0369a1;display:inline-flex;font-size:.75rem;font-weight:500;gap:.3rem;padding:.375rem .75rem;white-space:nowrap}.clerk-contact-row{align-items:center;color:#64748b;display:flex;flex-wrap:wrap;font-size:.875rem;gap:.5rem;margin-top:.25rem;overflow:hidden;width:100%}.clerk-expiry-info{margin-top:.5rem;width:100%}.clerk-expiry-info small{color:#6b7280;display:block;font-size:.75rem;overflow:hidden;text-overflow:ellipsis}.stats-grid.compact{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));margin-top:.5rem;width:100%}.stat-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.75rem;box-sizing:border-box;overflow:hidden;padding:.75rem;text-align:center;width:100%}.stat-number{color:#0f172a;display:block;font-size:1.5rem;font-weight:700;margin-bottom:.25rem}.stat-label,.stat-number{overflow:hidden;text-overflow:ellipsis}.stat-label{color:#64748b;font-size:.75rem;line-height:1.4}.status-pill.pending{background-color:#fef3c7;color:#92400e}.status-pill.expired{background-color:#fee2e2;color:#991b1b}.modal-container{box-sizing:border-box;margin:2rem auto;max-width:600px;width:95%}@media (min-width:640px){.modal-container{width:90%}}.btn-row{display:flex;flex-direction:column;gap:.75rem;width:100%}@media (min-width:640px){.btn-row{flex-direction:row;flex-wrap:wrap}}.btn-row button{flex:1 1;min-width:0}.screen-guard{box-sizing:border-box;color:#64748b;margin:4rem auto;max-width:400px;padding:2rem;text-align:center;width:100%}.screen-guard svg{color:#94a3b8}.screen-guard h2{color:#0f172a;font-size:1.5rem;margin-bottom:.5rem;margin-top:1rem;overflow:hidden;text-overflow:ellipsis}@media (prefers-reduced-motion:reduce){.btn-danger,.btn-ghost,.btn-primary,.btn-secondary,.clerk-card,.panel-loading .spinner,.resident-card,.subpanel{animation:none;transition:none}}.btn-danger:focus-visible,.btn-ghost:focus-visible,.btn-primary:focus-visible,.btn-secondary:focus-visible,.clerk-card:focus-visible,.dropdown-item:focus-visible,.filter-group .filter-search-box:focus-visible,.filter-group select:focus-visible,.resident-card:focus-visible{outline:2px solid #841617;outline-offset:2px}@media (prefers-contrast:high){.btn-danger,.btn-primary,.btn-secondary,.clerk-card,.panel,.resident-card,.subpanel{border:2px solid #000}}@media (max-width:768px){.clerk-roster-screen.screen-container{gap:1rem;padding:1rem}.panel{padding:1rem}.clerk-card,.resident-card{padding:.875rem}}@media (max-width:480px){.clerk-roster-screen.screen-container{gap:.75rem;padding:.75rem}.panel{border-radius:.75rem;padding:.875rem}.clerk-card,.resident-card{border-radius:.75rem;padding:.75rem}.filter-group .filter-search-box{font-size:.8125rem;padding:.5rem .75rem}.clerk-grid,.resident-grid{gap:.75rem;grid-template-columns:1fr}.btn-danger,.btn-ghost,.btn-primary,.btn-secondary{font-size:.8125rem;padding:.375rem .75rem}}@media (max-width:1024px){.clerk-roster-screen.screen-container{max-width:100vw;overflow-x:hidden;padding-left:1rem;padding-right:1rem;width:100vw}.screen-main-grid{min-width:0}}@media (min-width:1440px){.clerk-roster-screen.screen-container{margin:0 auto;max-width:1400px;padding-left:2rem;padding-right:2rem}}@media (max-width:640px){.clerk-email,.clerk-name,.meta-item,.resident-name{white-space:normal;word-break:break-word}}.filter-group .filter-search-box,.filter-group select{max-width:100%;min-width:0}.create-clerk-modal{max-width:480px}.create-clerk-form{display:flex;flex-direction:column;gap:1rem}.create-clerk-form .form-row{display:flex;flex-direction:column;gap:.25rem}.create-clerk-form label{align-items:center;color:#a1a1aa;display:flex;font-size:.8rem;font-weight:600;gap:.35rem;letter-spacing:.05em;text-transform:uppercase}.form-label-icon{align-items:center;display:inline-flex;height:20px;justify-content:center;width:20px}.create-clerk-form input{border:1px solid #e4e4e7;border-radius:8px;font-size:.9rem;padding:.55rem .75rem}.create-clerk-form input:focus-visible{border-color:#0000;outline:2px solid #841617;outline-offset:1px}.modal-subtitle{font-size:.8rem;opacity:.9}
/*# sourceMappingURL=main.4dce34b1.css.map*/