/*
 * Da Vat Hy Lures — Phase 23B.7G
 * Progressive Profile — Quiet setup rail
 *
 * Profile preferences support Fishing Intelligence.
 * They must not compete visually with the intelligence itself.
 */

/* Closed state: a full-width, quiet account/setup rail. */
body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-fold{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0 var(--dvh23b7b-pad)!important;
  border:0!important;
  border-top:1px solid rgba(12,47,37,.10)!important;
  border-radius:0!important;
  background:#fff!important;
  overflow:visible!important;
  box-shadow:none!important;
}

body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-summary{
  min-height:66px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:20px!important;
  padding:11px 0!important;
  cursor:pointer!important;
  list-style:none!important;
}

body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh23b7g-profile-title{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh23b7g-profile-title .eyebrow{
  margin:0!important;
  color:#b77b12!important;
  font-size:.62rem!important;
  letter-spacing:.10em!important;
  white-space:nowrap;
}

body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh23b7g-profile-title strong{
  min-width:0;
  color:#12372f;
  font-family:Inter,Arial,sans-serif;
  font-size:.90rem;
  line-height:1.25;
}

body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh23b7g-profile-status{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:9px;
  color:#68756f;
  white-space:nowrap;
}

body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh23b7g-profile-meter{
  width:82px;
  height:4px;
  overflow:hidden;
  border-radius:999px;
  background:#e5e3db;
}

body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh23b7g-profile-meter i{
  display:block;
  height:100%;
  border-radius:inherit;
  background:#d89a22;
}

body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh23b7g-profile-status small{
  font-size:.67rem;
  font-weight:750;
}

body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh23b7g-profile-status em{
  padding-left:9px;
  border-left:1px solid rgba(12,47,37,.12);
  color:#8a928e;
  font-size:.62rem;
  font-style:normal;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-weight:800;
}

body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh23b7g-profile-status b{
  color:#315248;
  font-size:.9rem;
  transition:transform .15s ease;
}

body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-fold[open] .dvh23b7g-profile-status b{
  transform:rotate(180deg);
}

/* Expanded state: editing surface, not a giant card. */
body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content{
  width:100%!important;
  max-width:1180px!important;
  margin:0 auto!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;
}

body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh23b7g-profile-intro{
  max-width:760px;
  margin:0 0 16px!important;
  color:#68756f!important;
  font-size:.76rem!important;
  line-height:1.45!important;
}

body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-fields{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px 14px!important;
}

body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-field{
  gap:5px!important;
}

body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-field label,
body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-group>strong{
  font-size:.76rem!important;
  color:#183d33!important;
}

body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-field input:not([type="checkbox"]),
body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-field select,
body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-field textarea{
  min-height:39px!important;
  padding:8px 10px!important;
  border-radius:4px!important;
  background:#fbfaf6!important;
  font-size:.78rem!important;
}

body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-field textarea{
  min-height:64px!important;
}

/* Preference choices become simple selection rows, not nested mini-cards. */
body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-options{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
  margin-top:6px!important;
  border-top:1px solid rgba(12,47,37,.09);
  border-bottom:1px solid rgba(12,47,37,.09);
}

body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-check{
  min-height:36px!important;
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  padding:7px 9px!important;
  border:0!important;
  border-right:1px solid rgba(12,47,37,.08)!important;
  border-radius:0!important;
  background:transparent!important;
  font-size:.73rem!important;
  line-height:1.25!important;
}

body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-check:nth-child(4n){
  border-right:0!important;
}

body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-check:hover{
  background:#f7f3e9!important;
}

body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-check input[type="checkbox"]{
  width:16px!important;
  min-width:16px!important;
  max-width:16px!important;
  height:16px!important;
  min-height:16px!important;
  flex:0 0 16px!important;
  margin:0!important;
}

/* Favourite waters use the width efficiently on desktop. */
body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh21n4-favourite-heading{
  grid-column:1/-1!important;
  margin-top:3px;
  padding-top:13px;
  border-top:1px solid rgba(12,47,37,.09);
}

body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh21n4-favourite-water{
  grid-column:span 2!important;
  align-content:start;
}

body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh21n4-favourite-water small,
body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh21n4-favourite-heading small{
  color:#7a8580!important;
  font-size:.65rem!important;
  line-height:1.35!important;
}

/* The marketing choices are still available, but visually quiet. */
body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-group:last-of-type{
  padding-top:13px;
  border-top:1px solid rgba(12,47,37,.09);
}

body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-actions{
  margin-top:16px!important;
  padding-top:13px;
  border-top:1px solid rgba(12,47,37,.09);
}

body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-actions .btn{
  min-height:38px!important;
  padding:8px 13px!important;
  border-radius:4px!important;
  box-shadow:none!important;
}

body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-note{
  margin:8px 0 0!important;
  color:#7a8580!important;
  font-size:.66rem!important;
  line-height:1.4!important;
}

/* Save / error notices remain visible and are the only reason the section
   automatically opens without a user click. */
body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-notice{
  margin-bottom:13px!important;
  padding:10px 12px!important;
  border-radius:4px!important;
  font-size:.73rem!important;
}

/* Mobile: still a slim rail. */
@media(max-width:900px){
  body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-fields{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-options{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-check:nth-child(4n){
    border-right:1px solid rgba(12,47,37,.08)!important;
  }

  body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-check:nth-child(2n){
    border-right:0!important;
  }

  body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh21n4-favourite-water{
    grid-column:1/-1!important;
  }
}

@media(max-width:600px){
  body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-summary{
    min-height:62px!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:8px!important;
    padding:10px 0!important;
  }

  body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh23b7g-profile-title{
    display:grid;
    gap:2px;
  }

  body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh23b7g-profile-title .eyebrow{
    font-size:.56rem!important;
  }

  body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh23b7g-profile-title strong{
    font-size:.78rem!important;
  }

  body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh23b7g-profile-status{
    gap:6px;
  }

  body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh23b7g-profile-meter{
    display:none;
  }

  body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh23b7g-profile-status small{
    font-size:.61rem;
  }

  body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh23b7g-profile-status em{
    display:none;
  }

  body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content{
    padding:15px 0 20px!important;
  }

  body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-fields{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }

  body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-field.full,
  body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh21n4-favourite-water{
    grid-column:auto!important;
  }

  body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-options{
    grid-template-columns:1fr!important;
  }

  body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-check,
  body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-check:nth-child(2n),
  body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-check:nth-child(4n){
    border-right:0!important;
    border-bottom:1px solid rgba(12,47,37,.07)!important;
  }

  body.dvh23b2-pocket-shell:not(.dvh23b7-fi-focused) .dvh21m68-profile-content .dvh-profile-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
}
