/* FACO Open File — Version 7B transition layer
   Minimal text. AI Assist is the dominant route.
*/

#newView .form-panel > .panel-head{
  display:none;
}

.v7b-gateway{
  width:min(860px,calc(100% - 48px));
  margin:42px auto 34px;
}

.v7b-title{
  margin:0 0 28px;
  text-align:center;
  color:var(--navy);
  font-family:Georgia,serif;
  font-size:34px;
  font-weight:500;
  letter-spacing:-.02em;
}

.v7b-core-card{
  padding:26px 28px;
  border:1px solid #e2e8ef;
  border-radius:18px;
  background:#fff;
  box-shadow:0 16px 42px rgba(18,37,61,.06);
  display:grid;
  grid-template-columns:170px 1fr;
  gap:17px 22px;
  align-items:center;
}

.v7b-core-card label{
  display:contents;
}

.v7b-core-card label > span,
.v7b-representing-row > span{
  color:#657286;
  font-size:12px;
  font-weight:700;
}

.v7b-core-card input,
.v7b-core-card select{
  min-height:46px;
  border:1px solid #dbe3ec;
  border-radius:10px;
  background:#fff;
  padding:11px 13px;
}

.v7b-representing-row{
  display:contents;
}

.v7b-role-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.v7b-role-chip{
  border:1px solid #d8e0e9;
  border-radius:999px;
  background:#fff;
  color:#536175;
  padding:8px 13px;
  font-size:12px;
  font-weight:750;
  cursor:pointer;
}

.v7b-role-chip:hover{
  border-color:#adc3dc;
  background:#f8fbfe;
}

.v7b-role-chip.selected{
  border-color:#72aee6;
  background:#eaf4fd;
  color:#245f9f;
  box-shadow:0 0 0 2px rgba(76,142,205,.06);
}

.v7b-ai-card{
  width:100%;
  margin:22px 0 0;
  min-height:112px;
  display:grid;
  grid-template-columns:54px 1fr 42px;
  gap:16px;
  align-items:center;
  text-align:left;
  border:1.5px solid #4c9ce8;
  border-radius:18px;
  background:linear-gradient(135deg,#f2f8ff 0%,#eaf5ff 100%);
  padding:22px 26px;
  box-shadow:0 12px 34px rgba(49,129,205,.14);
  cursor:pointer;
}

.v7b-ai-card:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 40px rgba(49,129,205,.19);
}

.v7b-ai-icon{
  width:48px;
  height:48px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#dcebfb;
  color:#2b78c5;
  font-size:24px;
}

.v7b-ai-copy{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.v7b-ai-copy strong{
  color:var(--navy);
  font-size:22px;
}

.v7b-ai-copy small{
  color:#657286;
  font-size:13px;
}

.v7b-ai-arrow{
  width:36px;
  height:36px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#2e83d3;
  color:#fff;
  font-size:20px;
}

.v7b-standard-link{
  display:block;
  margin:17px auto 0;
  border:0;
  background:transparent;
  color:#607085;
  padding:7px 10px;
  font-size:12px;
  text-decoration:underline;
  text-underline-offset:3px;
  cursor:pointer;
}

.v7b-standard-link:hover{
  color:var(--navy2);
}

.v7b-route-back{
  display:block;
  margin:14px 24px 0;
  border:0;
  background:transparent;
  color:#657286;
  font-size:12px;
  cursor:pointer;
}

.v7b-standard-heading-minimal{
  display:none!important;
}

/* In Standard mode, keep manual / bulk choices compact and low-noise. */
#intakeMethodBlock:not(.hidden){
  padding-top:18px;
}

#intakeMethodBlock:not(.hidden) .intake-choice-grid{
  grid-template-columns:1fr 1fr;
  max-width:720px;
  margin:0 auto;
}

#intakeMethodBlock:not(.hidden) .intake-choice{
  min-height:76px;
  align-items:center;
}

/* AI path: the existing uploader is temporary v7A plumbing.
   Keep it visually lighter until v7B replaces it. */
#aiIntakePanel:not(.hidden){
  margin-top:8px;
}

@media(max-width:850px){
  .v7b-gateway{
    width:min(760px,calc(100% - 30px));
    margin-top:26px;
  }

  .v7b-core-card{
    grid-template-columns:1fr;
    gap:8px;
    padding:20px;
  }

  .v7b-core-card label{
    display:flex;
  }

  .v7b-representing-row{
    display:block;
  }

  .v7b-representing-row > span{
    display:block;
    margin-bottom:9px;
  }

  .v7b-ai-card{
    grid-template-columns:48px 1fr 36px;
    padding:18px;
  }
}

@media(max-width:540px){
  .v7b-title{
    font-size:29px;
    margin-bottom:20px;
  }

  .v7b-gateway{
    width:calc(100% - 20px);
    margin-top:20px;
  }

  .v7b-core-card{
    border-radius:14px;
  }

  .v7b-role-chip{
    padding:8px 11px;
  }

  .v7b-ai-card{
    border-radius:14px;
    min-height:96px;
  }

  .v7b-ai-copy strong{
    font-size:19px;
  }
}
