/* The application's single, light appearance. Controls retain clear edges. */
html[data-theme=light]{
  --lu-bg:#fff;--lu-surface:#fff;--lu-raised:#f7f9f8;
  --lu-line:#e9eeee;--lu-shadow:none;
  --lu-divider:#eff2f1;
}
html[data-theme=light] .lineup-header{
  border-bottom:1px solid var(--lu-divider);box-shadow:none;
}
html[data-theme=light] .lineup-bottom{
  border-top:1px solid var(--lu-divider);box-shadow:none;
}
/* The current destination uses only a small underline below its icon. */
html[data-theme=light] .lineup-bottom button.active,
html[data-theme=light] .lineup-bottom button.active svg{
  background:transparent;color:var(--lu-muted);box-shadow:none;
}
html[data-theme=light] .lineup-bottom button{position:relative}
html[data-theme=light] .lineup-bottom button.active::after{
  content:"";position:absolute;left:50%;top:40px;transform:translateX(-50%);
  width:18px;height:2px;border-radius:0;background:var(--lu-text);
  pointer-events:none;
}
/* Space and typography group content; a surrounding box is rarely needed. */
html[data-theme=light] :is(.panel,.stat,.first-activity,.group-rail,
  .athlete-profile .profile-identity,.athlete-profile .profile-counters){
  border-color:transparent;box-shadow:none;
}
html[data-theme=light] .account-strip{
  border:0;background:#f6f8f6;border-radius:0;
}
html[data-theme=light] .sidebar .athlete-card{
  border-color:transparent;background:transparent;
}
html[data-theme=light] .athlete-mini{
  border-block:1px solid var(--lu-divider);
}
html[data-theme=light] .athlete-mini>span+span{border-left:0}
html[data-theme=light] :is(.social-stream-toolbar,.social-friends-row){
  border-color:var(--lu-divider);
}
html[data-theme=light] .social-stream-toolbar{border-top:0}
/* Activity images anchor each entry. Remove the outer frame and internal
   metric dividers; keep one quiet separator between complete publications. */
html[data-theme=light] .social-post.panel{
  border:0;border-bottom:1px solid var(--lu-divider);border-radius:0;
  box-shadow:none;margin-bottom:30px;padding-bottom:22px;
}
html[data-theme=light] .social-post :is(.friend-post-header,.friend-activity-summary){
  padding-inline:0;
}
html[data-theme=light] .social-post .social-activity-metrics{
  border:0;padding-bottom:6px;
}
html[data-theme=light] .social-post .social-activity-metrics>span{border-right:0}
html[data-theme=light] .social-post .post-body{padding-inline:0}
html[data-theme=light] .social-post .post-actions{
  border:0;padding:14px 0 0;
}
html[data-theme=light] .social-post .comment-form{
  border:0;padding:10px 0 0;
}
html[data-theme=light] .social-post :is(.comments,.social-map-privacy){
  border:0;padding-inline:0;
}
html[data-theme=light] .social-post .social-join-strip{
  border:0;background:#f7f9f8;
}
html[data-theme=light] .community-rail>.panel{
  border:0;padding:20px 0;
}
html[data-theme=light] .community-rail>.panel+.panel{
  border-top:1px solid var(--lu-divider);
}
html[data-theme=light] .group-card{
  border:1px solid var(--lu-line);box-shadow:none;
}
html[data-theme=light] .session-card{border-color:transparent;box-shadow:none}
/* Session-library cards have their own component, separate from feed panels. */
html[data-theme] .activity-summary-card{border-radius:0;box-shadow:none}
html[data-theme=light] .activity-summary-card{
  background:var(--lu-surface);border:0;
  border-bottom:1px solid var(--lu-divider);padding-bottom:20px;
}
html[data-theme=light] .activity-summary-card>header{padding-inline:0}
html[data-theme=light] .activity-summary-card .activity-card-body{padding-inline:0}
html[data-theme=light] .activity-summary-card .activity-card-body footer{border-top:0}
html[data-theme=light] .athlete-profile .profile-identity{padding-inline:0}
html[data-theme=light] .athlete-profile .profile-counters{padding-inline:0}
html[data-theme=light] .profile-counters>div{border-right:0}
html[data-theme=light] :is(.profile-tabs,.group-filter-bar,.profile-link){
  border-color:var(--lu-divider);
}
/* Do not weaken input boundaries, selected states or keyboard focus with
   decorative separators. Keep the existing accent and navigation markers. */
html[data-theme=light] :is(.field input,.field select,.field textarea,
  .comment-form input){border-color:#bdcbd0}
html[data-theme=light] button:not(.primary):not(.lime):focus-visible,
html[data-theme=light] :is(a,input,select,textarea,summary):focus-visible{
  outline:2px solid var(--lu-focus);outline-offset:3px;
}
@media(max-width:760px){
  html[data-theme=light] .social-post.panel{margin-bottom:26px;padding-bottom:20px}
  html[data-theme=light] .social-post .friend-activity-summary{padding-bottom:16px}
}
/* Rectangular surfaces are a shared product preference. Identity portraits
   and circular icon artwork keep their existing shape in both appearances. */
html[data-theme] :is(.panel,.stat,.group-card,.session-card,.device-card,
  .first-activity,.feed-composer,.athlete-card,.activity-overview,.activity-info,
  .session-delivery,.basic-report,.activity-wind-card,.account-strip,.notice,
  .dialog,.plan-card,.collection-banner,.next-collectible,.sailor-identity,
  .sailor-representation,.social-profile-tile,.social-sharing-options,
  .social-join-strip,.activity-extra,.activity-more-options,.group-rail,
  .pro-card,.weekly-ribbon,.sport-hero,.replay,.report-notification-dropdown,
  .esloras-wallet,.badge,.plan-tag,.privacy-pill,.current-plan-pill,
  .representation-state,.medal-state,.group-emblem){border-radius:0}
html[data-theme] :is(button,input,select,textarea,.report-download):not(
  :is([class*="avatar"],.brand-home,.social-person,.friend-mini,
  .activity-play,.activity-return)){border-radius:0}
