:root{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji",sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#0f172a;background-color:#f8fafc;--primary: #2563EB;--primary-weak: rgba(37, 99, 235, .14);--primary-weak-2: rgba(37, 99, 235, .08);--accent: #2563EB;--surface: #FFFFFF;--surface-2: #F8FAFC;--border: #E2E8F0;--border-strong: #E2E8F0;--muted: #64748B;--text: #0F172A;--success: #2563EB;--success-bg: rgba(37, 99, 235, .1);--error: #0F172A;--error-bg: rgba(15, 23, 42, .08);--info: #2563EB;--info-bg: rgba(37, 99, 235, .1);--shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 0 0 1px rgba(226, 232, 240, .6);--shadow-md: 0 6px 16px rgba(15, 23, 42, .06);--radius: 10px;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}body{margin:0;min-width:320px;min-height:100vh;overflow:hidden;background:var(--surface-2);color:var(--text)}input,select,textarea{font-family:inherit}input,select,textarea{background:#fff;border:1px solid var(--border);border-radius:8px;color:var(--text)}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #2563eb26}html{height:100%;overflow:hidden}*,*:before,*:after{box-sizing:border-box}h1{font-size:24px;line-height:1.2;margin:0}button{border-radius:8px;border:1px solid transparent;padding:.6em 1em;font-size:1em;font-weight:500;font-family:inherit;background-color:var(--surface-2);color:var(--text);cursor:pointer;transition:background-color .2s ease,color .2s ease,border-color .2s ease}button:hover{background-color:#eff6ff}button:focus,button:focus-visible{outline:none;box-shadow:0 0 0 3px #2563eb40}.btn,button,input[type=button],input[type=submit],input[type=reset]{appearance:none;-webkit-appearance:none;border-radius:8px;border:1px solid transparent;padding:.55rem .9rem;font-size:.95rem;font-weight:600;font-family:inherit;line-height:1;background-color:var(--surface-2);color:var(--text);cursor:pointer;transition:background-color .12s ease,border-color .12s ease,box-shadow .12s ease,color .12s ease,transform 34ms ease;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;text-decoration:none;-webkit-user-select:none;user-select:none}.btn:disabled,button:disabled{opacity:.6;cursor:not-allowed}.btn:focus-visible,button:focus-visible,input[type=button]:focus-visible,input[type=submit]:focus-visible,input[type=reset]:focus-visible,a.btn:focus-visible{outline:none;box-shadow:0 0 0 3px var(--primary-weak)}.btn:active,button:active{transform:translateY(.5px) scale(.995)}.btn.primary,button.primary,input.primary[type]{background:var(--primary);color:#0c2015;border-color:var(--primary)}.btn.primary:hover,button.primary:hover{filter:brightness(.95)}.btn.secondary,button.secondary,input.secondary[type]{background:var(--surface-2);color:var(--text);border-color:var(--border)}.btn.secondary:hover,button.secondary:hover{border-color:var(--primary)}.btn.ghost,button.ghost,input.ghost[type]{background:transparent;color:var(--text);border-color:transparent}.btn.ghost:hover,button.ghost:hover{background:var(--primary-weak-2)}.btn.danger,button.danger,input.danger[type]{background:var(--error);color:#270b0b;border-color:var(--error)}.btn.danger:hover,button.danger:hover{filter:brightness(.95)}.btn.sm{padding:.4rem .7rem;font-size:.9rem}.btn.lg{padding:.75rem 1.1rem;font-size:1.05rem}.btn.block{width:100%}.btn .spinner{width:1em;height:1em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;display:inline-block;animation:spin .75s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}button.validate,.btn.validate{background:var(--primary);color:#0c2015;border-color:var(--primary)}button.validate:hover,.btn.validate:hover{filter:brightness(.95)}button.primary-link{background:transparent;color:var(--primary);border-color:transparent}button.primary-link:hover{text-decoration:underline}.btn.icon-button{width:2.5rem;height:2.5rem;padding:0}.btn.icon-button.sm{width:2.25rem;height:2.25rem}.btn.icon-button.lg{width:2.75rem;height:2.75rem}.btn svg{width:1.1em;height:1.1em}.app{width:100%;height:100dvh;margin:0;padding:0;display:flex;flex-direction:column}.shell{display:grid;grid-template-columns:240px 1fr;width:100%;flex:1 1 auto;min-height:0}.shell.no-sidebar{grid-template-columns:1fr}.content{min-width:0;min-height:0;overflow:hidden;display:flex;flex-direction:column}.page-header{padding:.75rem 1rem 0}.page-header h1{margin:0;font-size:1.5rem;line-height:1.2}.site-footer{border-top:1px solid var(--border);background:var(--surface);color:var(--text);padding:.75rem 1rem;display:flex;align-items:center;justify-content:center;gap:.75rem;text-align:center}.static-page .card{max-width:840px;margin:1rem auto;padding:1rem;border:none;border-radius:12px;background:var(--surface);box-shadow:var(--shadow-sm)}.static-page h1{margin-top:0}.site-footer .footer-links{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;justify-content:center}.site-footer .footer-links a{color:var(--text);text-decoration:none}.site-footer .footer-links a:hover{text-decoration:underline}.site-footer .sep{opacity:.5}@media(max-width:640px){.site-footer{flex-direction:column;align-items:center}}.register-page{padding:1rem;height:auto;min-height:0;display:block}.register-page .stay-form.narrow{max-width:2080px;width:min(96vw,2080px);height:auto;min-height:0;margin:0 auto;display:flex;flex-direction:column}@media(max-width:1100px){.register-page .stay-form.narrow{width:94vw;max-width:94vw;height:auto}}.sidebar{height:100%;border-right:1px solid var(--border);background:var(--surface);padding:1rem;display:flex;flex-direction:column;gap:.75rem}.sidebar-title{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";font-weight:700;font-size:1.1rem;letter-spacing:.2px;color:var(--text);margin-bottom:.25rem;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-nav{display:grid;gap:.5rem}.menu-item{display:grid;grid-template-columns:20px 1fr;align-items:center;gap:.5rem;background:var(--surface-2);border:1px solid var(--border);color:var(--text);text-align:left;padding:.6rem .75rem}.menu-item .icon{display:inline-flex;align-items:center;justify-content:center;opacity:.9}.menu-item.active{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-weak)}@media(max-width:900px){.shell{grid-template-columns:1fr}.sidebar{border-right:none;border-bottom:1px solid var(--border);padding-bottom:.75rem}}.topbar{display:grid;grid-template-columns:1fr auto;align-items:center;gap:.75rem;padding:.5rem 1rem;background:var(--surface);border-bottom:1px solid var(--border)}.topbar-left{display:inline-flex;align-items:center;gap:.5rem}.topbar-left .app-name{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";font-weight:800}.app-logo{font-size:1.8rem;letter-spacing:.2px;color:var(--primary);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.topbar-right{display:inline-flex;align-items:center;gap:.5rem}.visually-hidden{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}.group-switcher{display:inline-flex;align-items:center;gap:.4rem;max-width:60vw;overflow-x:auto;padding:.1rem .25rem;-webkit-overflow-scrolling:touch}.group-switcher::-webkit-scrollbar{height:8px}.group-switcher::-webkit-scrollbar-thumb{background:var(--border);border-radius:999px}.group-empty{color:var(--muted);font-size:.95rem}.group-chip{height:32px;padding:0 10px;border-radius:999px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);line-height:1;white-space:nowrap;cursor:pointer}.group-chip:hover{filter:brightness(1.05)}.group-chip:focus-visible{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-weak)}.group-chip.active{background:var(--primary-weak);border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-weak)}.group-chip.loading{opacity:.7;cursor:default}.group-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;border:1px solid var(--border);background:var(--surface-2);color:var(--text);line-height:0}.group-btn:hover{filter:brightness(1.05)}.group-btn:focus-visible{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-weak)}.group-btn.active{background:var(--primary-weak);border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-weak)}.group-btn:disabled{opacity:.6}.group-picto{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;border:1px solid var(--border);background:var(--surface-2);color:var(--text);line-height:0;cursor:pointer}.group-picto:hover{filter:brightness(1.05)}.group-picto:focus-visible{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-weak)}.group-picto.active{background:var(--primary-weak);border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-weak)}.group-picto-tooltip{position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%);background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:6px;padding:2px 6px;font-size:12px;line-height:1.2;white-space:nowrap;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .12s ease;z-index:5}.group-picto:hover .group-picto-tooltip,.group-picto:focus-visible .group-picto-tooltip{opacity:1;visibility:visible}.topbar-auth-btn{height:36px;padding:0 .9rem;border-radius:10px;border:1px solid var(--border);background:var(--primary-weak-2)}.topbar-auth-btn:hover{filter:brightness(1.05)}.topbar-auth-btn:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-weak)}.topbar-login-form{display:inline-flex;align-items:center;gap:.5rem}.topbar-input{height:36px;padding:0 .6rem;border-radius:10px;border:1px solid var(--border);background:var(--surface-2);color:var(--text)}.topbar-input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-weak)}@media(prefers-color-scheme:light){.topbar-input{background:#fff;color:var(--text);border-color:var(--border)}}.layout{display:grid;grid-template-columns:2fr 1fr;gap:0;width:100%;flex:1 1 auto;min-height:0}.calendar-pane,.form-pane{min-height:0}.form-pane{display:flex;flex-direction:column;overflow:hidden;padding:1rem}.pane-section{flex:1 1 50%;min-height:0;overflow:hidden;display:flex;flex-direction:column}.pane-section.top{flex:0 0 58%;overflow:auto}.pane-section.bottom{flex:0 0 42%;overflow:hidden}.modal-overlay{position:fixed;inset:0;background:#00000073;display:grid;place-items:center;z-index:1000;padding:1rem}.modal{outline:none;max-height:96dvh;max-width:960px;width:min(960px,96vw);overflow:hidden}.modal .dialog-form{border:1px solid var(--border);border-radius:12px;background:var(--surface);padding:.75rem;display:grid;gap:.75rem}.popup{border:1px solid var(--border);border-radius:12px;background:var(--surface);display:flex;flex-direction:column;max-height:90dvh}.popup-sm{width:min(420px,96vw)}.popup-md{width:min(640px,96vw)}.popup-lg{width:min(840px,96vw)}.popup-xl{width:min(960px,96vw)}.popup-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.75rem .75rem .5rem;border-bottom:1px solid var(--border)}.popup-titles{display:grid;gap:2px}.popup-title{margin:0;font-size:1.05rem;line-height:1.4}.popup-subtitle{color:var(--muted);font-size:.9rem}.popup-header-right{display:flex;align-items:center;gap:.5rem}.icon-button.close{width:28px;height:28px;min-width:28px;border-radius:8px;border:1px solid var(--border);background:var(--surface-2);color:var(--text)}.popup-body{padding:.75rem;overflow:auto}.popup-body.no-scroll{overflow:visible}.popup.no-max-height{max-height:none}.popup-footer{padding:.75rem;border-top:1px solid var(--border)}.modal .dialog-form h3{margin:0 0 .25rem;font-weight:600}.modal .dialog-form input[type=text],.modal .dialog-form input[type=email],.modal .dialog-form input[type=number],.modal .dialog-form input[type=date],.modal .dialog-form input[type=password],.modal .dialog-form select{width:100%;height:40px;padding:0 .6rem;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);color:var(--text)}.modal .dialog-form input[type=checkbox]{width:18px;height:18px}.dialog-actions{display:flex;justify-content:flex-start;gap:.5rem;margin-top:.25rem}.modal .dialog-actions{justify-content:flex-start}.modal .dialog-form .row{align-items:center;min-height:40px}.modal .dialog-form .row .field{min-height:40px}.modal .dialog-form .row .field>.value{min-height:40px;display:flex;align-items:center}.dialog-form .row .value.align-right{display:flex;align-items:center;justify-content:flex-end;text-align:right}.modal .dialog-actions button{padding:.5rem .75rem;border-radius:10px}.modal .dialog-actions .primary,.group-settings .dialog-actions .primary,button.primary{border:1px solid var(--primary);background:var(--primary-weak-2);color:var(--primary)}.modal .dialog-actions .primary:focus,.group-settings .dialog-actions .primary:focus,button.primary:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-weak)}.modal .dialog-actions .primary:hover:not(:disabled),.group-settings .dialog-actions .primary:hover:not(:disabled),button.primary:hover:not(:disabled){filter:brightness(.96)}.modal .dialog-actions .primary:disabled,.group-settings .dialog-actions .primary:disabled,button.primary:disabled{opacity:.6;cursor:not-allowed}.modal .dialog-actions .danger,.group-settings .danger-zone .danger,button.danger{border:1px solid var(--error);background:var(--error-bg);color:var(--error)}.dialog-actions .btn,.dialog-actions button{height:40px;padding:0 1rem;border-radius:10px;width:180px;flex:0 0 180px}@media(max-width:420px){.dialog-actions .btn,.dialog-actions button{width:150px;flex-basis:150px}}.modal .dialog-actions .danger:focus,.group-settings .danger-zone .danger:focus,button.danger:focus{outline:none;border-color:var(--error);box-shadow:0 0 0 3px var(--error-bg)}.modal .dialog-actions .danger:hover:not(:disabled),.group-settings .danger-zone .danger:hover:not(:disabled),button.danger:hover:not(:disabled){filter:brightness(.95)}.modal .dialog-actions .danger:disabled,.group-settings .danger-zone .danger:disabled,button.danger:disabled{opacity:.6;cursor:not-allowed}.detail-and-table{display:grid;grid-template-rows:auto 1fr;gap:.5rem;min-height:0}.stay-detail{border:1px solid var(--border);border-radius:12px;background:var(--surface);padding:.75rem}.stay-detail-header{display:grid;grid-template-columns:1fr auto;align-items:center;margin-bottom:.25rem}.stay-detail-header .title{font-weight:600}.stay-detail-header .close{width:28px;height:28px;border-radius:8px;border:1px solid var(--border);background:var(--surface-2);line-height:1;font-size:18px}.stay-detail-body{display:grid;gap:.2rem}.stay-detail .row{display:grid;grid-template-columns:140px 1fr;gap:.5rem}.stay-detail .label{color:var(--muted)}.stay-detail .value{color:var(--text)}.stay-detail .color-dot{display:inline-block;width:14px;height:14px;border-radius:50%;border:1px solid var(--border)}.stay-form{margin:0;padding:1rem;border:1px solid var(--border);border-radius:14px;max-width:unset;height:100%;display:flex;flex-direction:column;background:var(--surface)}.stay-form.narrow{max-width:1040px;height:auto;margin:0 auto;min-height:560px;padding-top:1.25rem;padding-bottom:1.25rem}@media(max-width:1100px){.stay-form.narrow{max-width:92vw;min-height:520px}}.stay-form .fields{display:grid;gap:.75rem;overflow:visible;padding-bottom:.5rem}.stay-form .fields .row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;align-items:center;min-height:56px}.stay-form .fields .row.single{grid-template-columns:1fr}.stay-form .fields .row.actions{grid-template-columns:1fr;justify-items:center}@media(max-width:900px){.layout,.stay-form .fields .row{grid-template-columns:1fr}}.home{height:100%;padding:1rem;overflow:hidden}.home-card{max-width:840px;margin:0 auto;padding:1.25rem;border:1px solid var(--border);border-radius:14px;background:var(--surface);text-align:left;height:100%;display:flex;flex-direction:column;min-height:0}.dashboard-header{display:flex;align-items:baseline;justify-content:space-between;gap:.75rem;margin-bottom:.75rem}.dashboard-header .muted{color:var(--muted)}.dashboard-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:.75rem 0 1rem}.kpi{border:none;border-radius:12px;background:var(--surface);box-shadow:var(--shadow-sm);padding:.75rem}.kpi-value{font-size:1.5rem;font-weight:700}.kpi-label{color:var(--muted)}.dashboard-cards{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:1rem}.dashboard-cards .card{border:none;border-radius:12px;background:var(--surface);box-shadow:var(--shadow-sm);padding:.75rem;flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.dashboard-cards .card>header{margin-bottom:.5rem}@media(max-width:700px){.dashboard-kpis{grid-template-columns:1fr 1fr}}.stay-form label{display:grid;gap:.5rem;font-size:1rem;text-align:left}.stay-form .color-picker{display:grid;grid-template-columns:repeat(5,28px);grid-auto-rows:28px;gap:0;width:max-content}.stay-form .color-swatch{width:28px;height:28px;border:0;padding:0;margin:0;border-radius:0;display:block;background:transparent;appearance:none;-webkit-appearance:none;cursor:pointer}.stay-form .color-swatch.selected{box-shadow:inset 0 0 0 3px #fffffff2,0 0 0 2px #00000026}.stay-form .color-swatch:focus-visible{outline:2px solid var(--text);outline-offset:-2px}.dialog-form .color-picker{display:grid;grid-template-columns:repeat(5,28px);grid-auto-rows:28px;gap:0;width:max-content}.dialog-form .picto-picker,.dialog-form .color-picker.two-rows{display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,28px);grid-auto-columns:28px;gap:0;width:max-content}.dialog-form .color-swatch{width:28px;height:28px;border:0;padding:0;margin:0;border-radius:0;display:inline-flex;align-items:center;justify-content:center;background:transparent;appearance:none;-webkit-appearance:none;cursor:pointer}.dialog-form .color-swatch.selected{box-shadow:inset 0 0 0 3px #fffffff2,0 0 0 2px #00000026}.dialog-form .color-swatch:focus-visible{outline:2px solid var(--text);outline-offset:-2px}.dialog-form .row{display:flex;align-items:flex-start;gap:1rem;flex-wrap:wrap}.dialog-form .row .field{display:grid;gap:.5rem}.dialog-form .row label.field,.stay-form .row label.field{display:flex;align-items:center;gap:.75rem}.dialog-form .row label.field>span,.stay-form .row label.field>span{flex:0 0 200px;text-align:right}.dialog-form .row label.field>input,.dialog-form .row label.field>select,.dialog-form .row label.field>textarea,.dialog-form .row label.field>.value,.dialog-form .row label.field>.dm-picker,.stay-form .row label.field>input,.stay-form .row label.field>select,.stay-form .row label.field>textarea,.stay-form .row label.field>.value,.stay-form .row label.field>.dm-picker{flex:1 1 auto}.dialog-form .row label.field input[type=checkbox],.stay-form .row label.field input[type=checkbox]{flex:0 0 auto}@media(max-width:560px){.dialog-form .row label.field,.stay-form .row label.field{flex-direction:column;align-items:stretch}.dialog-form .row label.field>span,.stay-form .row label.field>span{flex:0 0 auto;width:auto;text-align:left}}.stay-form input[type=text],.stay-form input[type=email],.stay-form input[type=number],.stay-form input[type=date],.stay-form input[type=password],.stay-form select{height:40px;padding:0 .75rem;border-radius:10px;border:1.5px solid var(--border);background:var(--surface-2);color:inherit;box-shadow:0 1px #00000026 inset}.stay-form input[type=text]:focus,.stay-form input[type=email]:focus,.stay-form input[type=number]:focus,.stay-form input[type=date]:focus,.stay-form input[type=password]:focus,.stay-form select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-weak)}.stay-form input[type=checkbox]{width:20px;height:20px}.stay-form input[type=date]::-webkit-calendar-picker-indicator{filter:invert(1)}@media(prefers-color-scheme:light){.stay-form input[type=text],.stay-form input[type=email],.stay-form input[type=number],.stay-form input[type=date],.stay-form input[type=password],.stay-form select{border-color:var(--border);background:#fff;color:var(--text)}.stay-form input[type=date]::-webkit-calendar-picker-indicator{filter:invert(0)}}.stay-form .validate{height:2.5rem;font-size:1rem}.stay-form .error{color:var(--accent);margin-top:.75rem}.stay-form .stays-list{text-align:left;max-width:560px;margin:.75rem auto 0}.ui-form{display:grid;gap:.75rem}.ui-form .actions{display:flex;gap:.5rem;align-items:center;margin-top:.25rem}.ui-form-field{display:grid;grid-template-columns:220px 1fr;align-items:center;column-gap:1rem}.ui-form-field>label{text-align:left;color:var(--text-muted, #97a0af);font-weight:600}.ui-form-field .req{color:var(--accent, #e5484d);margin-left:.25rem}.ui-form-control{display:grid;align-items:start;gap:.375rem}.ui-form-control .control-with-after{display:flex;align-items:center;gap:.5rem}.ui-form-control .control-with-after>:first-child{flex:1 1 auto}.ui-form-control .control-with-after>input#color{flex:0 0 auto;width:0;padding:0;border:0;background:transparent;height:0;margin:0}.ui-form-control input[type=text],.ui-form-control input[type=email],.ui-form-control input[type=number],.ui-form-control input[type=date],.ui-form-control input[type=password],.ui-form-control select,.ui-form-control textarea{height:40px;padding:0 .75rem;border-radius:10px;border:1.5px solid var(--border);background:var(--surface-2);color:inherit;box-shadow:0 1px #00000026 inset}.ui-form-control textarea{min-height:96px;padding:.5rem .75rem;resize:vertical}.ui-form-control input[type=text]:focus,.ui-form-control input[type=email]:focus,.ui-form-control input[type=number]:focus,.ui-form-control input[type=date]:focus,.ui-form-control input[type=password]:focus,.ui-form-control select:focus,.ui-form-control textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-weak)}.ui-form-control input[type=checkbox]{width:20px;height:20px}.ui-form-control .help{font-size:.9rem;color:var(--text-muted, #97a0af)}.ui-form-control .error{color:var(--accent)}@media(max-width:640px){.ui-form-field{grid-template-columns:1fr;row-gap:.375rem}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ui-form.compact{grid-auto-flow:column;align-items:center;gap:.5rem}.ui-form.compact .ui-form-field{display:contents}.ui-form.compact .ui-form-control>*{margin:0}.toasts{position:fixed;right:16px;bottom:16px;display:flex;flex-direction:column;gap:10px;z-index:1000;pointer-events:none}.toast{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;min-width:260px;max-width:420px;padding:10px 12px;border-radius:12px;border:1px solid var(--border);background:var(--surface);color:var(--text);box-shadow:0 10px 30px #00000040;animation:toast-in .22s ease-out;pointer-events:auto}.toast-success{border-color:var(--success);box-shadow:0 0 0 3px var(--success-bg),0 10px 30px #00000040}.toast-error{border-color:var(--error);box-shadow:0 0 0 3px var(--error-bg),0 10px 30px #00000040}.toast-info{border-color:var(--info);box-shadow:0 0 0 3px var(--info-bg),0 10px 30px #00000040}.toast-msg{text-align:left}.toast-close{background:transparent;border:none;padding:0 6px;font-size:18px;line-height:1;color:var(--muted)}.toast-close:hover{color:var(--text)}@keyframes toast-in{0%{opacity:0;transform:translateY(6px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.stay-form .stays-list ul{margin:.25rem 0 0}.stays-list{text-align:left;max-width:560px;margin:.75rem auto 1rem}.stays-list ul{margin:.25rem 0 0}.group-settings{height:100%;padding:1rem}.group-settings .dialog-form{display:grid;gap:1rem;max-width:720px;margin:0 auto}.group-settings .dialog-form .row{display:flex;align-items:flex-start;gap:1rem;flex-wrap:wrap}.group-settings .dialog-form .row.single{flex-wrap:nowrap}.group-settings .dialog-form .row.align-end{align-items:flex-end}.group-settings .dialog-form .row .field{display:grid;gap:.5rem;flex:1 1 0;min-width:220px}.group-settings .dialog-actions{display:flex;gap:.5rem;justify-content:flex-start;max-width:720px;margin:.25rem auto 0}.group-settings .dialog-form.wide{max-width:none}.map-picker{display:grid;gap:.5rem}.map-search{display:flex;gap:.5rem}.map-search input[type=text]{flex:1;padding:.5rem .6rem;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);color:var(--text)}.map-search button{height:36px}.map-results{list-style:none;margin:0;padding:0;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--surface)}.map-results li+li{border-top:1px solid var(--border)}.map-results button{width:100%;text-align:left;padding:.5rem .6rem;background:transparent;border:none;color:var(--text);cursor:pointer}.map-results button:hover{background:var(--primary-weak-2)}.map-container{width:100%;height:340px;border:1px solid var(--border);border-radius:12px;overflow:hidden}.map-footer{color:var(--muted)}.group-settings h2,.group-settings h3{margin:0 0 .75rem;text-align:left}.tabs{margin-bottom:.75rem}.tabs .tab-list{display:flex;align-items:center;gap:.5rem}.tabs .tab-list .tab{appearance:none;background:var(--surface-2);border:1.5px solid var(--border);color:var(--muted);height:40px;padding:0 .9rem;margin:0;border-radius:10px;cursor:pointer;box-shadow:0 1px #0000000f inset;transition:color .12s ease,border-color .12s ease,background-color .12s ease,box-shadow .12s ease}.tabs .tab-list .tab:hover{color:var(--text);background:var(--primary-weak-2)}.tabs .tab-list .tab:focus-visible{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-weak)}.tabs .tab-list .tab.active,.tabs .tab-list .tab[aria-selected=true]{color:var(--text);background:var(--primary-weak-2);border-color:var(--primary)}@media(prefers-color-scheme:light){.tabs .tab-list .tab{background:#fff;color:var(--text)}}.register-page{padding:1rem}.register-page .card{border:none;border-radius:12px;background:var(--surface);box-shadow:var(--shadow-sm);padding:.75rem;text-align:left;max-width:900px;width:min(100%,900px);margin:0 auto;overflow:hidden}.register-page .card.dashed{border-style:dashed;background:var(--surface-2)}.register-page .card .stay-form{width:100%;max-width:100%}.register-page .card .stay-form h2,.register-page .card .stay-form p,.register-page .card .stay-form label{max-width:100%}.register-page .card .stay-form label{min-width:0}.register-page .card .stay-form input,.register-page .card .stay-form select,.register-page .card .stay-form textarea,.register-page .card .stay-form button{width:100%;max-width:100%;box-sizing:border-box}.register-page .card .stay-form .button-row,.register-page .card .stay-form div[style*="display: flex"]{max-width:100%;overflow-wrap:anywhere}.group-settings .add-member-form{display:grid;grid-template-columns:160px 160px 1fr auto;gap:1rem;align-items:end}@media(max-width:900px){.group-settings .add-member-form{grid-template-columns:1fr;align-items:stretch}}.group-settings .add-member-form{max-width:720px;margin:0 auto}.group-settings .add-member-form input{min-width:0}.group-settings .add-member{max-width:720px;margin:0 auto;padding:.75rem;border:1px dashed var(--border);border-radius:10px;background:var(--surface-2)}.group-settings .members-list{max-width:720px;margin:.75rem auto 0;padding:.75rem;border:1px dashed var(--border);border-radius:10px;background:var(--surface-2)}.group-settings .members-list .list{width:100%}.group-settings input[type=text],.group-settings input[type=email],.group-settings input[type=number],.group-settings input[type=date],.group-settings input[type=password],.group-settings select{height:40px;padding:0 .75rem;border-radius:10px;border:1.5px solid var(--border);background:var(--surface-2);color:inherit;box-shadow:0 1px #00000026 inset}.group-settings input[type=text]:focus,.group-settings input[type=email]:focus,.group-settings input[type=number]:focus,.group-settings input[type=date]:focus,.group-settings input[type=password]:focus,.group-settings select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-weak)}.group-settings .add-member-form button[type=submit]{height:40px;padding:0 1rem;border-radius:10px}.group-settings .members-list .list{display:grid;gap:.5rem;padding:0;margin:.5rem 0 0;list-style:none}.group-settings .members-list .list-item{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:.75rem;padding:.5rem .75rem;border:1px solid var(--border);border-radius:10px;background:var(--surface-2)}.group-settings .members-list .list-item.guest{background:var(--primary-weak-2);border-color:var(--primary)}.group-settings .members-list .list-item .label{text-align:left}.group-settings .members-list .list-item button{height:36px;padding:0 .9rem;border-radius:10px;border:1px solid var(--border);background:var(--primary-weak-2)}.group-settings .danger-zone{margin:1.25rem auto 0;padding:.75rem;border:1px dashed var(--border);border-radius:10px;background:var(--surface-2);display:grid;gap:.5rem;text-align:left;max-width:720px}.group-settings .danger-zone h3{margin:0}.group-settings .edit-group,.group-settings .edit-localisation{max-width:720px;margin:0 auto;padding:.75rem;border:1px dashed var(--border);border-radius:10px;background:var(--surface-2)}.group-settings .edit-localisation .row.align-end>button{height:40px;padding:0 1rem;border-radius:10px}.group-settings .danger-zone .danger{height:40px;padding:0 1rem;border-radius:10px;justify-self:start}.group-settings .encart{max-width:720px;margin:0 auto;padding:.75rem;border:1px dashed var(--border);border-radius:10px;background:var(--surface-2);text-align:left}.group-settings .encart h3{margin:0 0 .25rem}.casplan{padding:1rem;display:grid;gap:1rem}.casplan h2{margin:0 0 .75rem;text-align:left}.casplan .card{border:none;border-radius:12px;background:var(--surface);box-shadow:var(--shadow-sm);padding:.75rem;text-align:left;max-width:900px;width:min(100%,900px);margin:0 auto}.casplan .card>h3{text-align:center}.casplan .card.dashed{border:none;background:var(--surface-2)}.casplan .primary-link{display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 1rem;border-radius:10px;border:1px solid var(--primary);background:var(--primary-weak-2);color:inherit;text-decoration:none;cursor:pointer}.casplan .primary-link:hover{filter:brightness(1.05)}.casplan .patch-notes{margin:.25rem 0 0;padding-left:1.25rem;text-align:left}@media(prefers-color-scheme:light){.group-settings input[type=text],.group-settings input[type=email],.group-settings input[type=number],.group-settings input[type=date],.group-settings input[type=password],.group-settings select{border-color:var(--border);background:#fff;color:var(--text)}}.calendar-pane{display:flex;flex-direction:column;padding:1rem}.stay-edit-form .card{border:none;border-radius:12px;background:var(--surface);box-shadow:var(--shadow-sm);padding:.75rem;text-align:left}.stay-edit-form .card.dashed{border-style:dashed;background:var(--surface-2)}.stay-edit-form .fields{display:flex;flex-direction:column;gap:8px}.stay-edit-form .row.single{margin:0}.stays-dropdown{padding:0 1.5rem 1rem}.stays-dropdown label{display:grid;gap:.5rem;font-size:1rem;text-align:left}.stays-dropdown select{height:40px;padding:0 .75rem;border-radius:10px;border:1.5px solid rgba(255,255,255,.35);background:#1f1f1f;color:inherit}.stays-dropdown select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-weak)}@media(prefers-color-scheme:light){.stays-dropdown select{border-color:#3c3c4359;background:#fff;color:#213547}}.calendar{height:100%;border-radius:12px;border:1px solid var(--border);overflow:hidden;display:flex;flex-direction:column;background:var(--surface)}.stays-table-wrap{height:100%;display:flex;flex-direction:column;padding:0;padding-top:.75rem}.stays-table-header{font-size:1.1rem;margin:0 0 .5rem;text-align:left}.stays-table-scroll{flex:1;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch;scrollbar-gutter:auto;border:1px solid var(--border);border-radius:12px;background:var(--surface);position:relative}.stays-table{width:100%;border-collapse:collapse}.stays-table thead th{position:sticky;top:0;background:var(--primary-weak);text-align:left;padding:.75rem 1rem;z-index:2;box-shadow:0 2px #0000000f}.stays-table tbody td{padding:.75rem 1rem;border-top:1px solid var(--border)}.stays-table tbody tr{cursor:pointer;position:relative}.stays-table tbody tr.active:after{content:"";position:absolute;inset:2px;border:2px solid var(--accent);border-radius:10px;pointer-events:none}.stays-table tbody tr:nth-child(2n) td{background:var(--primary-weak-2)}.stays-table tbody tr.active td{background:var(--primary-weak)!important}.stays-table td.empty{text-align:center;color:var(--muted)}.home-card .stays-table-wrap{flex:1 1 auto;min-height:0;display:flex}.home-card .stays-table-scroll{flex:1 1 auto;min-height:0;overflow:auto}@media(prefers-color-scheme:light){.stays-table-scroll{border-color:var(--border)}.stays-table tbody td{border-top-color:var(--border)}.stays-table thead th{background:var(--primary-weak)}}.calendar-header{display:grid;grid-template-columns:3rem 1fr 3rem;align-items:center;gap:.5rem;padding:.5rem;background:var(--primary-weak-2)}.calendar-header button{height:36px;width:36px;border-radius:10px;border:1px solid var(--border)}.calendar-header .month-label{text-align:center}.calendar-header .month-label{font-weight:600;text-transform:capitalize}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);flex:1 1 auto;min-height:0}.weekday{padding:.5rem .25rem;font-size:.85rem;font-weight:600;background:var(--primary-weak-2);border-bottom:1px solid var(--border);-webkit-user-select:none;user-select:none}.day{position:relative;min-height:80px;padding:.25rem 0 0;border-right:1px solid var(--border);border-bottom:1px solid var(--border);display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;-webkit-user-select:none;user-select:none}.day:nth-child(7n){border-right:none}.day.empty{background:#7f7f7f0f}.day .date-number{font-size:.9rem;opacity:.9;padding:.15rem .4rem;border-radius:999px;margin:0 .25rem;-webkit-user-select:none;user-select:none}.day.today .date-number{background:var(--primary-weak)}.day .bands{margin-top:.35rem;display:grid;grid-auto-rows:20px;gap:0;width:100%;flex:1 1 auto;min-height:0;position:relative}.day .band{height:100%;width:100%;display:block;border-radius:4px;background:var(--primary);cursor:pointer}.day .band:hover{filter:saturate(1.1) brightness(1.05)}.day .band.selected{filter:saturate(1.05) brightness(1.03)}.day .band.hovered{position:relative;filter:saturate(1.15) brightness(1.08);z-index:2}.day .band.start{border-top-left-radius:10px;border-bottom-left-radius:10px}.day .band.end{border-top-right-radius:10px;border-bottom-right-radius:10px}.day .band-more{display:inline-flex;align-items:center;justify-content:center;height:18px;padding:0 6px;border-radius:999px;background:var(--surface-2);border:1px solid var(--border);color:var(--text);font-size:.7rem;line-height:1;width:max-content;position:absolute;right:4px;bottom:4px;z-index:3}.day:hover{cursor:pointer}.day.in-selected{background:color-mix(in oklab,var(--primary-weak) 35%,transparent)}.day.in-selection{background:color-mix(in oklab,var(--primary-weak) 60%,transparent)}
