.loyalty-variants{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.loyalty-variants button{border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;min-height:88px;padding:12px;display:flex}.loyalty-variants button[aria-pressed=true]{border:2px solid var(--positive);background:var(--wash)}.loyalty-variants button span{font-size:24px}.loyalty-scene{width:100%;max-width:320px;height:120px;color:var(--positive);background:0 0;border:0;margin:8px auto;display:block;position:relative}.loyalty-tomato,.loyalty-partner{transform-origin:bottom;width:64px;height:72px;display:block;position:absolute;top:22px;left:calc(50% - 32px)}.loyalty-partner{width:46px;top:40px;left:calc(50% + 28px)}.loyalty-symbol{font-size:32px;position:absolute;top:16px;left:calc(50% + 35px)}.loyalty-summary>*+*{margin-top:12px}.loyalty-scene.playing.NICE .loyalty-tomato{animation:3.2s ease-in-out loyalty-bow}.loyalty-scene.playing.TOUGH .loyalty-tomato{animation:3.2s ease-in-out loyalty-breathe}.loyalty-scene.playing.REMATCH .loyalty-symbol{animation:3.2s ease-in-out loyalty-racket}.loyalty-scene.playing.AGAIN .loyalty-tomato{animation:3.2s ease-in-out loyalty-rally}.loyalty-scene.playing.EFFORT .loyalty-tomato{animation:3.2s ease-in-out loyalty-five}.loyalty-scene.playing.JOY .loyalty-tomato{animation:3.2s ease-in-out loyalty-heart}.loyalty-scene.playing.JOY .loyalty-symbol{animation:3.2s ease-in-out loyalty-heart-reveal}@keyframes loyalty-bow{40%,60%{transform:rotate(25deg)scaleY(.8)}}@keyframes loyalty-breathe{25%,70%{transform:rotate(-12deg)scaleY(.85)}45%{transform:scaleY(1.05)}}@keyframes loyalty-racket{35%,65%{transform:translateY(-16px)rotate(-35deg)}}@keyframes loyalty-rally{25%{transform:translate(-50px)rotate(-25deg)}65%{transform:translate(16px)rotate(20deg)}}@keyframes loyalty-five{45%,60%{transform:translate(24px,-18px)rotate(15deg)}}@keyframes loyalty-heart{45%,75%{opacity:.2;transform:scale(.4)}}@keyframes loyalty-heart-reveal{45%,75%{transform:translate(-38px)scale(2)}}@media (prefers-reduced-motion:reduce){.loyalty-scene *{animation:none!important}}:root{--field-label-size:.9375rem;--field-label-weight:400;--bg:#f2f7f3;--surface:#fff;--text:#082b21;--accent:#c13a28;--positive:#2e754f;--muted:#526e62;--divider:#082b2128;--field-border:#082b2173;--wash:#e4eee7;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;font-family:system-ui,-apple-system,sans-serif;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--positive);outline-offset:3px}a{color:var(--accent);text-underline-offset:3px;text-decoration:underline}h1{letter-spacing:-.025em;margin:.3em 0 .8em;font-size:clamp(1.6rem,3vw,2.25rem);line-height:1.15}h2{margin:.6em 0;font-size:1.1rem}h3{font-size:1rem}p{margin:.5em 0 1em}small,.hint{color:var(--muted);font-size:.85rem}section{margin:24px 0}fieldset{border:0;min-width:0;margin:0;padding:0}form{margin:20px 0}form>.error{margin-bottom:20px}form fieldset>.button{width:100%;margin-top:20px}.button{background:var(--accent);color:#fff;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:11px 18px;font-weight:650;text-decoration:none;display:inline-flex}.button.secondary{background:var(--surface);border-color:var(--divider);color:var(--text)}.button.danger{color:var(--accent);border-color:var(--accent);background:var(--surface)}.field{flex-direction:column;gap:7px;min-width:0;margin:12px 0;font-weight:400;display:flex}.field>span,.field>label,.toggle>span,label.check{font-size:var(--field-label-size);font-weight:var(--field-label-weight);line-height:1.5}.field input,.field select,.field textarea{font-size:1rem;font-weight:400}.field small{font-weight:400}.field input,.field select,.field textarea{background:var(--surface);border:1px solid var(--field-border);width:100%;min-height:48px;color:var(--text);border-radius:8px;padding:10px 12px}.field textarea{resize:vertical;min-height:90px}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--positive);outline-offset:1px}.toggle{cursor:pointer;align-items:center;gap:12px;min-height:44px;padding:10px 0;display:flex}.toggle input{width:21px;height:21px;accent-color:var(--positive);flex:none}.form-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.stack{flex-direction:column;gap:12px;display:flex}.cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:16px;margin:18px 0;display:grid}.card{background:var(--surface);border:1px solid var(--divider);text-align:left;color:var(--text);border-radius:16px;padding:20px;text-decoration:none;box-shadow:0 3px 15px #103e3206}.card p:last-child{margin-bottom:0}.booking-card{border-left:4px solid var(--positive)}.option-card{border-left:4px solid var(--accent);width:100%;margin:8px 0}.contact{align-items:center;gap:15px;display:flex}.contact>div{flex:1}.avatar{background:var(--wash);border-radius:50%;place-items:center;width:44px;height:44px;font-weight:650;display:grid}.tags{flex-wrap:wrap;gap:6px;display:flex}.tag{background:var(--wash);border-radius:7px;padding:3px 9px;font-size:.75rem;font-weight:600;display:inline-flex}.empty{color:var(--muted);text-align:center;padding:35px 15px}.error,.warning{color:#854015;overflow-wrap:anywhere;background:#fff0e6;border-radius:10px;padding:15px}.error{color:#a02d1e;background:#fff0ec;border:1px solid #bf3d2833}.page-heading,.toolbar,.actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.actions{justify-content:flex-start}.page-heading{margin-bottom:20px}.page-heading h1{margin:0}.eyebrow{letter-spacing:.15em;color:var(--accent);margin-bottom:8px;font-size:.7rem;font-weight:700}.toolbar{justify-content:flex-start;margin:20px 0}.toolbar .field{flex:1;margin:0}.booking-toolbar{align-items:flex-end}.market-card{background:#fff8e8;border-left-color:#8b651c}.court-personal{background:var(--wash);border:2px solid var(--positive);border-radius:8px;margin-bottom:4px;padding:8px;font-size:.8rem;text-decoration:underline;display:block}.court-personal.option{border-style:dashed}.booking-toolbar input[type=date]{min-height:52px}.segments{background:var(--wash);border-radius:10px;gap:4px;max-width:420px;padding:4px;display:flex}.segments button{min-height:44px;color:var(--text);background:0 0;border:0;border-radius:8px;flex:1;padding:9px 16px;font-weight:600}.segments button[aria-pressed=true]{background:var(--surface);box-shadow:0 1px 5px #0001}.history-filter{min-height:44px;color:var(--text);background:0 0;border:0;align-items:center;gap:10px;margin:8px 0;padding:8px 0;display:flex}.history-filter span{background:var(--wash);border-radius:50%;place-items:center;width:26px;height:26px;display:grid}.status-banner{background:var(--text);color:#fff;border-radius:18px;flex-direction:column;justify-content:space-between;gap:12px;min-height:96px;padding:14px 20px;display:flex}.status-banner p{color:#c5e1cf}.status-banner .actions{justify-content:flex-end}.status-banner a{color:#fff;font-size:.85rem}.month-calendar{grid-template-columns:repeat(7,1fr);gap:6px;margin:20px 0;display:grid}.month-calendar button{border:1px solid var(--divider);min-height:52px;color:var(--text);background:#fff;border-radius:8px}.month-calendar button[aria-pressed=true]{background:var(--text);color:#fff}.month-calendar span{line-height:.8;display:block}.modal{background:var(--bg);width:calc(100% - 24px);max-width:650px;max-height:90dvh;color:var(--text);border:0;border-radius:20px;padding:24px;scroll-padding-top:100px}.modal::backdrop{background:#001b16aa}.modal>header{background:var(--bg);z-index:2;justify-content:space-between;align-items:center;gap:15px;padding:10px 0;display:flex;position:sticky;top:-24px}.modal>header h2{font-size:1.25rem}.modal>.button{margin:8px 8px 8px 0}details{border-block-start:1px solid var(--divider);margin:12px 0;padding:16px 0}summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:650}.choices{border-block:1px solid var(--divider);max-height:300px;overflow-y:auto}.login{max-width:480px;margin:6vh auto;padding:24px}.login-logo{border-radius:26px;width:140px;height:140px;margin:0 auto 30px;display:block}.login h1{text-align:center}.login>.button{width:100%;margin-top:10px}footer{margin-top:40px;font-size:.75rem}.brand{grid-area:brand;align-items:center;gap:12px;padding:20px;display:flex}.brand img{border-radius:12px;width:48px;height:48px}.brand strong{font-size:1.35rem}.brand small{display:block}.app-shell{height:100dvh;padding-top:env(safe-area-inset-top);grid-template:"brand content""nav content"1fr/230px 1fr;display:grid}nav{grid-area:nav;padding:15px}nav a{color:var(--text);border-radius:10px;align-items:center;gap:14px;margin:5px 0;padding:14px;font-weight:550;text-decoration:none;display:flex}nav a.active{background:var(--text);color:#fff}nav a>span{font-size:1.4rem;line-height:1}#content{overscroll-behavior:contain;grid-area:content;width:100%;max-width:1500px;padding:36px clamp(20px,4vw,60px) 60px;overflow-y:auto}#content>form{max-width:760px}.court-scroll{border:1px solid var(--divider);background:#fff;border-radius:14px;overflow:auto}.court-grid{border-collapse:collapse;width:100%;min-width:500px}.court-grid th{white-space:nowrap;background:var(--bg);text-align:left;padding:12px;font-size:.85rem}.court-grid td{border-bottom:1px solid var(--divider);padding:4px}.court-cell{border:1px solid var(--divider);background:var(--wash);width:100%;min-width:90px;min-height:66px;color:var(--text);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:5px;display:flex}.court-cell.free{background:#e5f3e8;border-color:#92b99b}.court-cell.occupied{background:#e8e8e4}.court-cell small{font-size:.7rem}.keyboard-dismiss{bottom:calc(85px + env(safe-area-inset-bottom));z-index:20;background:var(--text);color:#fff;border:0;border-radius:20px;padding:12px 20px;position:fixed;right:20px;box-shadow:0 3px 12px #0003}@media (width>=768px) and (width<=1050px){.app-shell{grid-template-columns:180px 1fr}.brand{gap:8px;padding:18px 12px}.brand strong{font-size:1.1rem}nav{padding:8px}nav a{gap:8px;padding:12px 8px}#content{padding:26px 24px}}@media (width<=767px){.app-shell{grid-template:"brand""content"1fr"nav"/1fr}.brand{padding:10px 20px}.brand img{border-radius:8px;width:34px;height:34px}.brand strong{font-size:1rem}.brand small{font-size:.7rem}#content{padding:20px 18px 35px}nav{padding:6px 2px calc(6px + env(safe-area-inset-bottom));border-top:1px solid var(--divider);background:#fff;justify-content:space-around;display:flex}nav a{flex-direction:column;flex:1;gap:5px;margin:0;padding:8px 2px;font-size:.62rem}nav a.active{background:var(--wash);color:var(--text)}nav a>span{font-size:1.3rem}.status-banner{padding:12px 16px}.form-grid{gap:10px}.cards{grid-template-columns:1fr}.modal{padding:20px}.modal>header{top:-20px}.login{margin:15px auto}.login-logo{width:110px;height:110px}.toolbar .segments{width:100%}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.chat{flex-direction:column;gap:10px;max-width:800px;margin-top:20px;display:flex}.message{text-align:left;border:1px solid var(--divider);max-width:85%;color:var(--text);background:#fff;border-radius:12px;flex-direction:column;align-self:flex-start;align-items:flex-start;gap:5px;padding:10px 14px;display:flex}.message.own{background:var(--wash);align-self:flex-end}.message>span{white-space:pre-wrap;overflow-wrap:anywhere}.message>small:last-of-type{align-self:flex-end;font-size:.7rem}.calendar-weekday{text-align:center;color:var(--muted);padding:8px 0;font-size:.8rem}.member-portrait{object-fit:cover;border-radius:50%;width:144px;height:144px;margin:12px 0;display:block}.member-portrait.placeholder{background:var(--surface-muted,#e4eee8);place-items:center;font-size:3rem;display:grid}.profile-link{flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0;text-decoration:underline;display:flex}.game-chart{background:var(--surface);border-radius:12px;margin:1rem 0;padding:1rem}.game-chart-row{grid-template-columns:7rem 1fr 2rem;align-items:center;gap:.75rem;margin:.5rem 0;display:grid}.game-chart-row meter{width:100%;accent-color:var(--brand)}.contact .avatar,img.avatar{object-fit:cover;border-radius:50%;width:48px;height:48px}.game-history .card{margin-block:.75rem}.game-feedback[open]{background:0 0;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.game-feedback::backdrop{background:var(--divider)}.game-feedback-surface{width:100%;height:100%;color:var(--text);cursor:pointer;background:0 0;border:0;place-items:center;display:grid;position:relative;overflow:hidden}.game-feedback-surface:focus-visible{outline:3px solid var(--positive);outline-offset:-6px}.game-feedback-scene{width:300px;height:260px;position:relative}.game-tomato{width:85px;position:absolute;top:88px;left:108px}.game-net{border:3px solid var(--positive);background:repeating-linear-gradient(90deg,transparent 0 18px,var(--divider) 19px 20px),repeating-linear-gradient(0deg,transparent 0 15px,var(--divider) 16px 17px);width:100px;height:70px;position:absolute;top:130px;left:65px}.game-trophy{width:95px;position:absolute;top:105px;right:0}.game-racket{transform-origin:50% 90%;width:85px;animation:3s ease-in-out both game-racket-up;position:absolute;top:50px;right:35px}.game-scorecard{background:var(--surface);box-shadow:0 8px 30px var(--divider);color:var(--muted);border-radius:16px;padding:12px;font-size:28px;line-height:1.4;position:absolute;inset:75px 45px}.game-stamp{color:var(--positive);font-size:46px;animation:3s ease-in-out both game-stamp;position:absolute;top:130px;right:65px}.won .game-tomato{animation:3s ease-in-out both game-victory}.lost .game-tomato{animation:3s ease-in-out both game-rebound}.result .game-tomato,.review .game-tomato{animation:3s ease-in-out both game-result-stamp}.game-feedback-confirmation{background:var(--surface);max-width:310px;box-shadow:0 8px 30px var(--divider);opacity:0;border-radius:16px;flex-direction:column;align-items:center;gap:12px;padding:25px;font-size:24px;transition:opacity .4s;display:flex;position:absolute}.game-feedback-confirmation span{color:var(--positive);font-size:32px}.confirmed .game-feedback-confirmation{opacity:1}.confirmed .game-feedback-scene{opacity:0}.game-feedback-hint{bottom:max(35px,env(safe-area-inset-bottom));background:var(--surface);color:var(--muted);border-radius:12px;padding:8px 12px;position:absolute}@keyframes game-victory{0%{transform:translate(-230px,35px)rotate(-300deg)}37%{transform:translate(-25px,-95px)rotate(0)}64%{transform:translate(25px,30px)rotate(60deg)}to{transform:translate(25px,20px)rotate(60deg)}}@keyframes game-rebound{0%{transform:translateY(70px)rotate(-65deg)}37%{transform:translateY(0)rotate(0)}64%{transform:translateY(-15px)}to{transform:translateY(0)}}@keyframes game-racket-up{0%,37%{opacity:0;transform:translateY(65px)rotate(65deg)}64%,to{opacity:1;transform:translateY(-20px)rotate(-15deg)}}@keyframes game-result-stamp{0%{transform:translate(-220px,-90px)}37%{transform:translateY(-90px)}64%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-65px)}}@keyframes game-stamp{0%,37%{transform:scale(0)}64%,to{transform:scale(1)}}@media (prefers-reduced-motion:reduce){.game-feedback-scene{display:none}.game-feedback-confirmation{opacity:1;transition:none}}.market-person{align-items:center;gap:var(--space-3,12px);display:flex}.market-person .member-portrait{flex-shrink:0;width:64px;height:64px}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}.market-profile-card{background:var(--surface);width:210px;height:195px;box-shadow:0 8px 30px var(--divider);border-radius:22px;position:absolute;top:35px;left:45px}.market-profile-card i{background:var(--divider);border-radius:8px;width:110px;height:8px;position:absolute;bottom:26px;left:50px}.market-profile-check{z-index:2;background:var(--surface);width:44px;height:44px;color:var(--positive);border-radius:50%;font-size:34px;animation:3s ease-in-out both game-stamp;position:absolute;top:185px;right:26px}.market .game-tomato{animation:3s ease-in-out both market-profile-arrival}.market .game-racket{z-index:1;width:65px;top:67px;right:53px}@keyframes market-profile-arrival{0%{transform:translate(-240px)rotate(-360deg)}37%{transform:translate(0)rotate(0)}64%{transform:translateY(-10px)}to{transform:translateY(0)}}.market-links{flex-wrap:wrap;align-items:center;gap:16px;display:inline-flex}.success-toast{z-index:150;top:calc(env(safe-area-inset-top) + 16px);background:var(--text);color:#fff;width:max-content;max-width:calc(100vw - 32px);box-shadow:0 4px 16px var(--divider);border-radius:12px;align-items:center;gap:12px;padding:12px 16px;display:flex;position:fixed;left:50%;transform:translate(-50%)}.success-toast button{color:inherit;cursor:pointer;background:0 0;border:0;min-width:44px;min-height:44px;font-size:24px}.profile-identity{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.profile-identity>div{overflow-wrap:anywhere;min-width:0}.profile-identity .member-portrait{flex-shrink:0;width:88px;height:88px}.profile-identity h2{margin-top:0}.account-profile-link{color:var(--text);align-items:center;gap:12px;margin-bottom:24px;text-decoration:none;display:flex}.account-profile-link>div{flex:1;min-width:0}.account-profile-link .profile-identity{flex-wrap:nowrap;align-items:flex-start}.account-profile-link .profile-identity .member-portrait{flex:none;width:72px;height:72px;margin:0}.account-profile-link .profile-identity>div:not(.member-portrait):not(.profile-portrait-column){flex:1}.account-profile-link:focus-visible{outline:2px solid var(--text);outline-offset:3px}.account-profile-chevron{color:var(--muted);flex:none;font-size:24px}.settings-menu-link{min-height:44px;color:var(--text);justify-content:space-between;align-items:center;gap:12px;padding:12px 0;text-decoration:none;display:flex}.settings-menu-link+.settings-menu-link{border-top:1px solid var(--divider)}.settings-menu-link small{color:var(--muted);margin-top:4px;display:block}.settings-menu-link>span:last-child{color:var(--muted);font-size:22px}.settings-menu-link:focus-visible{outline:2px solid var(--text);outline-offset:3px}.profile-identity>.profile-portrait-column{flex-direction:column;flex:none;align-items:center;display:flex}.profile-photo-edit{min-width:44px;min-height:44px;color:var(--text);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.profile-photo-edit:focus-visible{outline:2px solid var(--text);outline-offset:2px}.profile-photo-edit:hover{background:var(--surface-muted,#e4eee8)}.info-toggle{align-items:center;gap:8px;display:flex;position:relative}.info-toggle>.toggle{flex:1;min-height:44px}.info-toggle-trigger{color:var(--text);cursor:pointer;background:0 0;border:0;place-items:center;min-width:44px;min-height:44px;display:grid}.info-toggle-popover{z-index:20;border:1px solid var(--divider);background:var(--surface);width:min(300px,100vw - 56px);max-height:340px;color:var(--text);box-shadow:0 4px 20px var(--divider);border-radius:12px;padding:16px;position:absolute;top:100%;right:0;overflow:auto}.info-toggle-popover button{min-height:44px;color:var(--text);cursor:pointer;background:0 0;border:0;text-decoration:underline}.field-info{flex:none;position:relative}.info-field{position:relative}.info-field>.field>span{align-items:center;min-height:32px;padding-right:44px;display:flex}.info-field>.field-info{position:absolute;top:-6px;right:0}.profile-autosave-status{z-index:5;background:var(--bg);padding:8px 0;font-size:.85rem;position:sticky;top:0}.person-contact-heading{width:100%;color:var(--text);text-align:left;cursor:pointer;font:inherit;background:0 0;border:0;align-items:center;gap:12px;padding:0 0 12px;text-decoration:none;display:flex}.person-contact-heading>span:last-child{margin-left:auto}.court-plan-controls{gap:12px;margin-bottom:16px;display:grid}.court-day-navigation{align-items:center;gap:8px;display:flex}.court-day-navigation>:nth-child(2){flex:1}.court-personal span,.court-personal strong{font-size:inherit;display:block}.court-personal.court-market{color:#67480e;background:#fff8e8;border-color:#8b651c}.court-grid td{vertical-align:top}.court-personal{color:var(--text)}.court-cell.overlay-status{background:0 0;border:0;min-height:28px;font-size:.8rem}.court-cell.overlay-status small{display:none}.court-unassigned{width:100%;margin-bottom:0}.court-unassigned+.court-unassigned{margin-top:4px}.court-personal:not(.option):not(.court-market){background:var(--text);color:#fff;border-color:var(--text)}.contact-profile-heading{flex-wrap:nowrap;align-items:flex-start;margin-bottom:16px}.contact-profile-heading>.avatar{object-fit:cover;flex:none;width:88px;height:88px;font-size:26px}.contact-profile-heading>div{flex:1;min-width:0}.contact-profile-heading h2{margin:0 0 10px;font-size:20px}.contact-facts{grid-template-columns:auto minmax(0,1fr);gap:10px 16px;display:grid}.contact-facts dt{color:var(--muted)}.contact-facts dd{overflow-wrap:anywhere;margin:0}.contact-history-link{text-align:left;justify-content:space-between;width:100%}.contact-referral{text-align:left;align-items:center;gap:16px;width:100%;margin-top:28px;text-decoration:none;display:flex}.contact-referral svg{flex:none;width:72px;height:64px}.contact-referral>span:first-of-type{flex:1;min-width:0}.contact-referral strong,.contact-referral small{display:block}.contact-referral small{color:var(--muted);margin-top:4px;font-weight:400}.status-date-line{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.season-indicator{color:#c5e1cf;white-space:nowrap;align-items:center;gap:5px;font-size:.85rem;display:inline-flex}.season-indicator>span{font-size:1rem;line-height:1}.month-appointments{scroll-behavior:auto;flex-direction:column;height:440px;padding-bottom:360px;display:flex;position:relative;overflow-y:auto}.month-appointments>.booking-card{flex:none;width:100%}.analytics-metrics{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:8px;margin-top:12px;display:grid}.analytics-metrics>div{justify-content:space-between;align-items:center;gap:8px;display:flex}.analytics-metrics label{align-items:center;gap:10px;min-height:44px;display:flex}.analytics-metrics input{width:20px;height:20px}.analytics-chart svg{width:100%;height:auto;min-height:180px}.analytics-legend{flex-wrap:wrap;gap:12px;padding:0;list-style:none;display:flex}.analytics-legend li{align-items:center;gap:6px;font-size:.9rem;display:flex}.analytics-legend span{border-radius:50%;flex-shrink:0;width:14px;height:14px}.analytics-table{overflow-x:auto}.analytics-table table{border-collapse:collapse;width:100%}.analytics-table th,.analytics-table td{text-align:left;border-bottom:1px solid var(--divider,#ccd6d0);padding:8px}.analytics-metric-picker{align-items:flex-end;gap:8px;display:flex}.analytics-metric-picker>.field{flex:1;min-width:0}.analytics-panel{flex-direction:column;gap:8px;display:flex}.analytics-period-pickers{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;display:grid}.analytics-period-pickers .field{min-width:0}.analytics-panel .field{margin:0}.analytics-panel select{width:100%;min-width:0}.analytics-panel .analytics-chart{margin:0;padding:0}.booking-view-actions{align-items:center;gap:12px;display:flex}.booking-search-link{justify-content:center;align-items:center;min-width:44px;min-height:44px;display:inline-flex}.booking-filters{flex-wrap:nowrap;gap:8px;padding-bottom:2px;display:flex;overflow-x:auto}.booking-filters>*{flex-shrink:0}.settings-heading>.button{gap:8px;margin-left:auto}.settings-heading>.button svg{flex-shrink:0}.modal header.modal-header-untitled{justify-content:flex-end}.contact-member-results .card{justify-content:space-between;align-items:center;gap:1rem;display:flex}.contact-member-results .card strong{overflow-wrap:anywhere;min-width:0}.clearable-search{position:relative}.clearable-search input{padding-right:3rem}.clearable-search input::-webkit-search-cancel-button{appearance:none}.clearable-search .search-clear{width:44px;height:44px;color:var(--ink,#103c32);cursor:pointer;background:0 0;border:0;font-size:1.5rem;position:absolute;top:50%;right:.25rem;transform:translateY(-50%)}.conversation-row{border-bottom:1px solid var(--border);color:inherit;align-items:center;gap:12px;min-height:72px;padding:14px 0;text-decoration:none;display:flex}.conversation-avatar{background:var(--surface-alt,#e3eee7);border-radius:50%;flex-shrink:0;place-items:center;width:44px;height:44px;display:grid}.conversation-avatar img{object-fit:cover;border-radius:50%;width:44px;height:44px}.conversation-content{flex:1;gap:3px;min-width:0;display:grid}.conversation-heading{flex-wrap:wrap;justify-content:space-between;gap:10px;display:flex}.conversation-type{font-size:.8rem}.conversation-preview{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.conversation-side{gap:5px;display:grid}.unread-count{color:#fff;background:#164f38;border-radius:20px;padding:2px 7px}.conversation-task{color:#7b5818}.message-recipient{justify-content:space-between;align-items:center;gap:10px;padding:10px 0;display:flex}.message-timeline{gap:8px;margin:16px 0;display:grid}.message-line{justify-content:flex-start;display:flex}.message-line.mine{justify-content:flex-end}.message-bubble{background:var(--surface,#fff);overflow-wrap:anywhere;border-radius:12px;max-width:min(90%,520px);padding:10px 12px}.mine .message-bubble{background:#e1eee5}.message-bubble small{margin-top:6px;font-size:.75rem;display:block}.message-text{font:inherit;color:inherit;text-align:left;white-space:pre-wrap;cursor:pointer;background:0 0;border:none;min-height:44px;padding:0}.message-function{color:inherit;gap:6px;min-height:44px;text-decoration:none;display:grid}.message-open{padding:10px 0}.message-open .navigation-link{padding:8px;display:block}.message-composer{padding:12px 0}.message-animation{z-index:30;background:#e1eee5;border:0;border-radius:20px;padding:12px;font-size:24px;animation:1.4s both messageFlight;position:fixed;bottom:100px;right:28px}.message-animation.receive{animation-name:messageArrival}@keyframes messageFlight{0%{opacity:0;transform:translate(-40px)rotate(-15deg)}30%{opacity:1}80%{transform:translate(0)rotate(0)}to{opacity:0;transform:translate(30px)}}@keyframes messageArrival{0%{opacity:0;transform:translate(25px)}30%,80%{opacity:1;transform:translate(0)}to{opacity:0}}@media (prefers-reduced-motion:reduce){.message-animation{animation:none}}.message-animation{align-items:center;gap:.3rem;display:flex}.message-tomato{border-radius:50%;width:30px;height:30px;display:block;position:relative;overflow:hidden}.message-tomato img{width:162.5%;max-width:none;position:absolute;top:-2%;left:-31.25%}@keyframes tomato-envelope{0%{transform:translate(-25px)rotate(-50deg)}55%{transform:translate(14px)scale(.5)}to{opacity:0;transform:translate(40px)scale(.2)}}@media (prefers-reduced-motion:reduce){.message-animation *{animation:none!important}}.message-badge-pulse{animation:.65s ease-out messageBadgePulse;display:inline-block}@keyframes messageBadgePulse{25%{transform:rotate(-13deg)}60%{transform:rotate(10deg)}to{transform:rotate(0)}}.message-animation.send .message-tomato{animation:1.4s both tomatoEnvelope}@keyframes tomatoEnvelope{0%{transform:translate(-18px)scale(1)}55%{transform:translate(20px)scale(.7)}80%,to{transform:translate(30px)scale(0)}}@media (prefers-reduced-motion:reduce){.message-badge-pulse,.message-animation.send .message-tomato{animation:none}}.conversation-avatar .member-portrait{flex:none;width:44px;height:44px;margin:0;font-size:22px}.reaction-modal{width:min(340px,100vw - 24px);padding:12px}.reaction-modal .modal-header-untitled{margin-bottom:8px}.reaction-grid{grid-template-columns:repeat(6,44px);gap:4px;max-height:340px;margin:8px 0;display:grid;overflow-y:auto}.reaction-grid button{background:0 0;border:0;border-radius:10px;place-items:center;width:44px;height:44px;padding:4px;font-size:28px;display:grid}.reaction-grid button[aria-pressed=true]{background:var(--surface-muted,#e0eee5);outline:1px solid var(--text)}.reaction-logo{vertical-align:middle;align-items:center;width:28px;height:28px;display:inline-flex}.reaction-logo svg{width:100%;height:100%}.reaction-chips{flex-wrap:wrap;gap:2px;display:flex}.reaction-chip{background:0 0;border:0;justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:0;display:inline-flex}.reaction-chip>span,.reaction-chip-display{background:var(--bg);border:1px solid var(--border);border-radius:14px;align-items:center;gap:4px;padding:2px 7px;font-size:18px;display:inline-flex}.reaction-chip[aria-pressed=true]>span,.reaction-chip-display[data-selected=true]{border-color:var(--positive);background:var(--surface-muted,#e0eee5)}.reaction-chip .reaction-logo,.reaction-chip-display .reaction-logo{width:20px;height:20px}.modal.first-use-guide{margin:auto auto max(12px,env(safe-area-inset-bottom));max-width:36rem;max-height:55dvh}.first-use-guide::backdrop{background:#001b1660}.app-shell[data-guide=overview] .status-banner,.app-shell[data-guide=create] .page-heading>button,.app-shell[data-guide=inbox] nav a[href$=\/inbox],.app-shell[data-guide=contacts] nav a[href$=\/contacts],.app-shell[data-guide=courts] nav a[href$=\/courts],.app-shell[data-guide=settings] nav a[href$=\/settings]{outline-offset:2px;outline:3px solid #e7ad3e}.field .field-error{color:var(--danger,#a52620)}
