/* Product additions use the approved Court Journal tokens and layout. */
html{background:var(--paper)}.app{max-width:none;margin:0;box-shadow:none}.main{align-self:start}.screen.active{min-width:0}button,input,select,textarea{touch-action:manipulation}button{overflow-wrap:anywhere}a{color:var(--court);text-underline-offset:3px}button.link{min-height:44px}.field select{width:100%;min-height:48px;border:1px solid #b8c3bd;border-radius:var(--r-sm);padding:10px;background:#fff;color:var(--ink)}.field input[type=checkbox]{width:22px;min-height:22px;accent-color:var(--court)}.check{display:flex;align-items:start;gap:10px;margin-top:16px;font-size:13px}.check input{margin-top:3px;min-width:20px;min-height:20px;accent-color:var(--court)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.form-grid>*{min-width:0}.form-error,.notice{border-radius:8px;background:#f4e4df;color:#7b3023;padding:12px;margin-top:14px;overflow-wrap:anywhere}.form-error:empty{display:none}.notice.info{background:#e8eee5;color:var(--court)}.subtle{background:none;text-align:left;padding:0;width:100%}.schedule-copy.subtle{min-height:48px}.schedule-copy.subtle:hover strong{text-decoration:underline}.schedule-item.today .schedule-dot{background:var(--ball)}.focus-name{overflow-wrap:anywhere}.court-top{flex-wrap:wrap}.home-court .focus-name{font-size:clamp(40px,6vw,64px);max-width:10ch}.home-court .focus-name small{font-size:.65em;display:block;margin-top:12px;line-height:1.1}.pagehead h1{overflow-wrap:anywhere}.pagehead .actions{flex-shrink:0}.schedule-head h2{font-size:28px}.schedule-line{margin-bottom:12px}.schedule-copy span{line-height:1.6}.view-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.view-tabs .action{min-height:44px;font-size:13px;padding:9px 12px}.chip.light{background:#e8eee5}.activity{align-items:start}.activity-main{flex:1;min-width:0;text-align:left;background:none}.activity-main b,.activity-main span{display:block}.activity-main b{overflow-wrap:anywhere}.activity .link{flex:none}.data-label{display:block;font-size:12px;color:var(--muted);margin-top:4px}.barrow{grid-template-columns:minmax(70px,110px) minmax(30px,1fr) 36px}.barrow>:first-child{overflow-wrap:anywhere}.gear{flex-wrap:wrap}.gear .od-fill{min-width:140px}.gear-actions{display:flex;flex-wrap:wrap;gap:6px}.gear-actions button{font-size:12px;min-height:44px;padding:8px 12px}.wear span{max-width:100%}.activity-facts{margin-top:8px;padding-top:8px;border-top:1px solid var(--line)}.account-mobile{min-height:44px}.training-weather{max-width:100%;text-align:left;min-height:64px}.training-weather-copy strong{font-size:18px}.training-weather-copy span{max-width:25ch}.stat-row .stat span{overflow-wrap:anywhere}.scores{margin-top:18px}.tips-copy{white-space:pre-wrap;line-height:1.65}.tips-copy a{font-size:12px;font-weight:bold}.sources{display:grid;gap:10px}.sources a{overflow-wrap:anywhere}.status-line{font-size:12px;color:var(--muted);min-height:20px}.status-line.error{color:#873b2b}.auth-layout{display:grid;gap:24px}.auth-hero{min-height:430px;display:flex;flex-direction:column;justify-content:space-between;padding:30px}.auth-hero h1{font-size:clamp(44px,7vw,76px);max-width:10ch}.auth-hero p{max-width:35ch}.auth-panel{align-self:center}.auth .rail,.auth .mobile-nav{display:none}.auth.app{display:block}.auth .topbar{display:flex}.auth .main{max-width:1120px;padding-bottom:48px}.auth .account-mobile{display:none}.gallery img{max-height:70dvh;object-fit:contain}.gallery-control{position:static;padding:12px;justify-content:center}.gallery-control .icon-action{background:var(--court)}.gallery figcaption{overflow-wrap:anywhere}.gallery-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.empty-photo{min-height:300px;background:var(--night) url('assets/images/menu-moments-editorial.jpg') center/cover;display:flex;align-items:end;color:white}.empty-photo .caption{position:static;width:100%}.profile-grid{display:grid;gap:18px}.profile-grid .section{margin-top:0}.invite-code{display:block;letter-spacing:.12em;overflow-wrap:anywhere;font-size:20px;background:#e8eee5;padding:12px;border-radius:8px}.saved-dot{color:var(--court)}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:left;padding:10px;border-bottom:1px solid var(--line)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
dialog{padding:0;border:0;max-width:min(620px,calc(100vw - 28px));width:100%;max-height:90dvh;border-radius:22px;background:var(--paper);color:var(--ink);box-shadow:var(--shadow)}dialog::backdrop{background:rgba(4,16,13,.62)}dialog .sheet{margin:0;max-height:88dvh;border-radius:0;padding:24px}.toast{max-width:calc(100vw - 32px);width:max-content}.actions{flex-wrap:wrap}.blank{padding:22px 0;color:var(--muted)}.panel>h2{overflow-wrap:anywhere}.danger-zone{margin-top:32px}.toggle[aria-checked=false]{background:#84958c}.toggle[aria-checked=false]:after{right:25px}.timer{font-size:clamp(62px,10vw,110px)}
.home-court .focus-name{font-size:clamp(48px,8vw,72px);max-width:7ch}.home-court .focus-name small{font:inherit;display:block;margin-top:0;line-height:inherit}.schedule-head h2{font-size:clamp(26px,6vw,34px)}
.profile-grid{grid-template-columns:minmax(0,1fr)}.profile-grid>*,.field,.panel,.stage-card,.active-session{min-width:0}.panel,.stage-card,.active-session,.account-entry-copy strong{overflow-wrap:anywhere}.field input,.field textarea,.field select{min-width:0;max-width:100%}.equipment-pick{min-width:0;border:1px solid var(--line);border-radius:8px;margin-top:18px;padding:12px}.equipment-pick legend{font-size:13px;padding:0 6px}
@media(min-width:700px){.auth-layout{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid.full{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1080px){.main{max-width:1380px;margin:0 auto}.auth .topbar{position:static}.home-stage-grid{grid-template-columns:minmax(0,3fr) minmax(300px,2fr)}}
@media(max-width:699px){.form-grid{grid-template-columns:1fr}.home-court .focus-name{font-size:52px}.court-card.home-court{min-height:410px}.schedule-panel{padding:20px 16px}.home-atmosphere{padding:14px}.pagehead .actions{margin-top:12px}.feature-menu-head .small{max-width:90px;text-align:right}.focus-grid{grid-template-columns:1fr 1fr}.session-actions{grid-template-columns:1fr}.active-session{min-height:460px}.legend{flex-wrap:wrap;gap:8px}.gear-icon{width:38px;height:38px}.training-weather{width:100%}.auth-hero{min-height:360px}.auth .main{padding-top:20px}dialog{max-width:100vw;width:100vw;margin:auto 0 0;border-radius:22px 22px 0 0}dialog .sheet{padding:22px 18px 30px}}
