/* Wurk Work custom page layouts
   New standalone stylesheet for requested layout changes.
   Original assets/style.css and assets/css/style.css are intentionally unchanged. */

/* User profile: sketch layout with existing blue/white color scheme */
.ww-profile-layout{
  width:100%;
  max-width:1080px;
  margin:1rem auto 0;
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:46px;
  align-items:start;
}
.ww-profile-summary{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.ww-profile-photo{
  width:174px!important;
  height:174px!important;
  min-width:174px!important;
  max-width:174px!important;
  max-height:174px!important;
  border-radius:50%!important;
  object-fit:cover!important;
  display:block!important;
  background:#fff;
  border:6px solid #fff!important;
  outline:2px solid var(--ww-border-strong);
  box-shadow:0 14px 34px rgba(37,99,235,.14)!important;
}
.ww-profile-meta{
  width:100%;
  margin-top:18px;
  display:grid;
  gap:14px;
}
.ww-profile-meta-item{
  min-width:0;
}
.ww-profile-meta-item span{
  display:block;
  color:#1e3a8a;
  font-size:.78rem;
  font-weight:820;
  text-transform:uppercase;
  letter-spacing:.04em;
  line-height:1.25;
}
.ww-profile-meta-item strong{
  display:block;
  margin-top:4px;
  color:var(--ww-text);
  font-size:.9rem;
  font-weight:720;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.ww-profile-update-card{
  min-width:0;
  min-height:326px;
  padding:30px;
  background:#fff;
  border:1px solid var(--ww-border);
  border-radius:42px;
  box-shadow:var(--ww-shadow-sm);
  color:var(--ww-text);
}
.ww-profile-update-title{
  text-align:center;
  margin-bottom:22px;
}
.ww-profile-update-title h2{
  margin:0;
  color:var(--ww-text)!important;
  font-size:1.04rem;
  font-weight:820;
  text-transform:uppercase;
  letter-spacing:.035em;
}
.ww-profile-update-title p{
  margin:.45rem 0 0;
  color:var(--ww-muted)!important;
  font-size:.88rem;
}
.ww-profile-update-card .form-help{
  margin-top:.35rem;
  color:var(--ww-muted)!important;
  font-size:.78rem;
  line-height:1.45;
}
.ww-profile-actions{
  display:flex;
  gap:.6rem;
  flex-wrap:wrap;
  margin-top:1.15rem;
}
@media (max-width:991.98px){
  .ww-profile-layout{
    grid-template-columns:1fr;
    gap:22px;
    max-width:760px;
  }
  .ww-profile-summary{
    padding:1.1rem;
    background:#fff;
    border:1px solid var(--ww-border);
    border-radius:28px;
    box-shadow:var(--ww-shadow-sm);
  }
  .ww-profile-meta{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media (max-width:575.98px){
  .ww-profile-layout{
    margin-top:.75rem;
    gap:16px;
  }
  .ww-profile-photo{
    width:132px!important;
    height:132px!important;
    min-width:132px!important;
    max-width:132px!important;
    max-height:132px!important;
  }
  .ww-profile-meta{
    grid-template-columns:1fr;
    gap:12px;
  }
  .ww-profile-update-card{
    padding:18px;
    border-radius:26px;
  }
  .ww-profile-actions .btn{
    width:100%;
  }
}

/* Email generator: sketch layout with existing blue/white theme */
.ww-email-generator-layout{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);
  gap:2rem;
  align-items:stretch;
}
.ww-email-generator-left{
  min-width:0;
  display:flex;
  flex-direction:column;
}
.ww-email-generator-metrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.65rem;
  margin:.25rem .5rem 1.8rem .5rem;
}
.ww-email-metric-card{
  min-height:58px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:.16rem;
  padding:.7rem .85rem;
  background:#fff!important;
  color:var(--ww-text)!important;
  border:1px solid var(--ww-border)!important;
  border-radius:14px!important;
  box-shadow:var(--ww-shadow-sm)!important;
  overflow:hidden;
}
.ww-email-metric-card span{
  display:block;
  width:100%;
  color:var(--ww-blue-dark)!important;
  font-size:.68rem;
  font-weight:780;
  line-height:1.15;
  text-transform:uppercase;
  letter-spacing:.03em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ww-email-metric-card strong{
  display:block;
  width:100%;
  color:var(--ww-text)!important;
  font-size:.78rem;
  font-weight:760;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ww-email-settings-card,
.ww-email-output-card{
  border-radius:42px!important;
  overflow:hidden;
  border-color:var(--ww-border-strong)!important;
  box-shadow:var(--ww-shadow-sm)!important;
}
.ww-email-settings-card{
  min-height:456px;
  flex:1 1 auto;
}
.ww-email-output-card{
  min-height:536px;
}
.ww-email-settings-card .card-header,
.ww-email-output-card .card-header{
  padding-left:2rem!important;
  padding-right:2rem!important;
}
.ww-email-settings-card .card-body,
.ww-email-output-card .card-body{
  padding:2rem!important;
}
.ww-email-output-area{
  flex:1 1 auto;
  min-height:355px!important;
  height:100%;
  resize:vertical;
}
@media (max-width:1199.98px){
  .ww-email-generator-layout{
    gap:1.25rem;
  }
  .ww-email-generator-metrics{
    gap:.85rem;
    margin-left:0;
    margin-right:0;
  }
}
@media (max-width:991.98px){
  .ww-email-generator-layout{
    grid-template-columns:1fr;
  }
  .ww-email-output-card{
    min-height:auto;
  }
  .ww-email-output-area{
    min-height:280px!important;
  }
}
@media (max-width:575.98px){
  .ww-email-generator-metrics{
    grid-template-columns:1fr;
    gap:.75rem;
    margin-bottom:1rem;
  }
  .ww-email-settings-card,
  .ww-email-output-card{
    border-radius:22px!important;
  }
  .ww-email-settings-card .card-header,
  .ww-email-output-card .card-header,
  .ww-email-settings-card .card-body,
  .ww-email-output-card .card-body{
    padding-left:1rem!important;
    padding-right:1rem!important;
  }
}
