/*
 * Da Vat Hy Lures — Phase 24B.2.7F.1
 * Pocket Tackle Profile — Home-Page Rhythm
 *
 * Presentation only.
 * Keeps the existing Profile / Morning Brief / Fishing Alerts workflows intact
 * while removing the remaining centred-dashboard/card feel from the Profile tab.
 */

/* The Profile route is a page band, not a floating section below Today. */
body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

@media(min-width:901px){
  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target{
    padding:22px var(--dvh-home-gutter,max(24px,calc((100vw - min(1500px,88.5vw))/2))) 24px!important;
    border-top:1px solid #e0ddd2!important;
    border-bottom:1px solid #e0ddd2!important;
    background:var(--dvh-home-cream,#f7f4ec)!important;
  }

  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-profile-head{
    margin:0 0 13px!important;
  }

  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-profile-head h2{
    margin:4px 0 6px!important;
    font-family:Georgia,serif!important;
    font-size:clamp(1.7rem,2.35vw,2.25rem)!important;
    line-height:1!important;
  }

  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-profile-head p{
    max-width:820px!important;
    font-size:.72rem!important;
    line-height:1.45!important;
  }

  /* Status = Home proof-strip language. */
  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-profile-status{
    min-height:74px!important;
    margin:0!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    border-top:1px solid rgba(12,47,37,.13)!important;
    border-bottom:1px solid rgba(12,47,37,.13)!important;
    background:transparent!important;
  }

  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-profile-status>div{
    min-height:74px!important;
    padding:12px 18px!important;
    border:0!important;
    border-right:1px solid rgba(12,47,37,.12)!important;
    background:transparent!important;
  }

  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-profile-status>div:last-child{
    border-right:0!important;
  }

  /* Setup choices = one flat Home-style action band, not three cards. */
  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-profile-actions{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:0!important;
    margin:14px 0 0!important;
    border-top:1px solid rgba(12,47,37,.13)!important;
    border-bottom:1px solid rgba(12,47,37,.13)!important;
    background:rgba(255,255,255,.34)!important;
  }

  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-profile-actions article{
    min-height:126px!important;
    padding:16px 18px!important;
    border:0!important;
    border-right:1px solid rgba(12,47,37,.12)!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-profile-actions article:last-child{
    border-right:0!important;
  }

  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-profile-actions article:hover{
    background:rgba(255,255,255,.48)!important;
  }

  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-profile-actions article>strong{
    font-size:.88rem!important;
    line-height:1.2!important;
  }

  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-profile-actions article>p{
    max-width:370px!important;
    margin:6px 0 12px!important;
    font-size:.66rem!important;
    line-height:1.45!important;
  }

  /* Keep actions deliberate; only Morning Brief carries the gold emphasis. */
  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-profile-actions article>a,
  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-profile-actions article>button,
  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-alert-actions>a,
  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-alert-actions>button{
    min-height:36px!important;
    padding:8px 11px!important;
    border:1px solid rgba(12,47,37,.18)!important;
    border-radius:4px!important;
    background:#fffdf8!important;
    color:#0b4938!important;
    box-shadow:none!important;
  }

  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-profile-actions article:nth-child(2)>a{
    border-color:#e6a821!important;
    background:#e6a821!important;
    color:#073d2f!important;
  }

  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-profile-links{
    margin:0!important;
    padding:12px 0 0!important;
    border-top:0!important;
  }

  /* Expanded fishing setup = the next white page band, not a rounded form card. */
  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target ~ #pocket-profile,
  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-profile:target{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0 var(--dvh-home-gutter,max(24px,calc((100vw - min(1500px,88.5vw))/2)))!important;
    border:0!important;
    border-bottom:1px solid #e0ddd2!important;
    border-radius:0!important;
    background:#fff!important;
    box-shadow:none!important;
  }

  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target ~ #pocket-profile .dvh21m68-profile-summary,
  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-profile:target .dvh21m68-profile-summary{
    min-height:66px!important;
    padding:11px 0!important;
    border-radius:0!important;
  }

  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target ~ #pocket-profile .dvh21m68-profile-content,
  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-profile:target .dvh21m68-profile-content{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:19px 0 26px!important;
    border:0!important;
    border-top:1px solid rgba(12,47,37,.08)!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
}

@media(max-width:900px){
  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target{
    padding:17px 18px 18px!important;
    border-top:1px solid #e0ddd2!important;
    border-bottom:1px solid #e0ddd2!important;
    background:#f7f4ec!important;
  }

  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-profile-head{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:12px!important;
    align-items:end!important;
  }

  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-profile-status,
  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-profile-actions{
    grid-template-columns:1fr!important;
    gap:0!important;
  }

  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-profile-status>div,
  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-profile-actions article{
    min-height:0!important;
    padding:12px 0!important;
    border:0!important;
    border-bottom:1px solid rgba(12,47,37,.11)!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-profile-status>div:last-child,
  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-profile-actions article:last-child{
    border-bottom:0!important;
  }

  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-profile-status small{
    white-space:normal!important;
  }

  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-profile-links{
    display:grid!important;
    gap:8px!important;
    margin:0!important;
    padding:12px 0 0!important;
  }

  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target ~ #pocket-profile,
  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-profile:target{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0 18px!important;
    border:0!important;
    border-bottom:1px solid #e0ddd2!important;
    border-radius:0!important;
    background:#fff!important;
    box-shadow:none!important;
  }
}

@media(max-width:560px){
  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-profile-head{
    grid-template-columns:1fr!important;
  }

  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-completion{
    justify-items:start!important;
    padding:7px 0 0!important;
    border-left:0!important;
    border-top:1px solid rgba(12,47,37,.11)!important;
  }

  body.dvh21p2-returning:not(.dvh23b7-fi-focused) #pocket-more:target .dvh23c7-alert-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
}
