/* NABWORK 94 — human-first social-style freelancer profile.
 * Inspiration: readable social profile cover, circular photo, compact bio,
 * honest service stats and an image-first portfolio. No social metrics invented.
 */
#profileView.nab8-profile{
  max-width:1260px!important;
  padding:20px clamp(12px,2.7vw,32px) 88px!important;
}
#profileView.nab8-profile .nab8-profile-shell{
  background:#fff!important;
  border:1px solid #e1ebf5!important;
  border-radius:20px!important;
  box-shadow:0 12px 34px rgba(15,59,102,.06)!important;
  overflow:hidden;
}
#profileView.nab8-profile .nw94-cover.nab81-cover{
  position:relative;isolation:isolate;display:block!important;
  height:clamp(170px,20vw,260px)!important;
  min-height:0!important;
  padding:0!important;
  background:radial-gradient(circle at 82% 17%,rgba(52,200,194,.24),transparent 37%),
             radial-gradient(circle at 22% 80%,rgba(26,127,232,.21),transparent 42%),
             linear-gradient(120deg,#cfe9ff,#e8f6ff 56%,#d8f5ed)!important;
  border:0!important;border-radius:0!important;
}
#profileView.nab8-profile .nw94-cover::before,
#profileView.nab8-profile .nw94-cover::after{display:none!important;content:none!important}
#profileView .nw94-cover-media{
  display:block;width:100%;height:100%;object-fit:cover;object-position:center;
}
#profileView .nw94-cover-edit{
  position:absolute;right:18px;bottom:17px;z-index:3;
  min-height:39px;display:flex;align-items:center;gap:6px;
  padding:8px 13px;border-radius:10px;border:1px solid rgba(255,255,255,.9);
  color:#113b64;background:rgba(255,255,255,.94);
  font-weight:820;font-size:12px;cursor:pointer;
  box-shadow:0 6px 19px rgba(23,58,91,.08);
}
#profileView .nw94-cover-edit:hover{background:#fff;color:#006fc3}
#profileView.nab8-profile .nab81-profile-head{
  position:relative!important;z-index:2;
  display:grid!important;
  grid-template-columns:110px minmax(0,1fr) auto!important;
  align-items:start!important;
  margin:0!important;padding:0 clamp(17px,3.1vw,34px) 21px!important;
  gap:clamp(14px,2vw,24px)!important;
  min-height:0!important;
  border:0!important;border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
#profileView.nab8-profile .nw94-avatar.nab23-profile-avatar{
  display:grid!important;place-items:center;position:relative!important;
  width:110px!important;height:110px!important;
  margin:-36px 0 0!important;
  border:5px solid #fff!important;border-radius:50%!important;
  overflow:visible!important;
  font-size:43px!important;
  color:#fff;background:linear-gradient(135deg,#118de5,#006abe)!important;
  box-shadow:0 6px 21px rgba(18,74,122,.18)!important;
}
#profileView .nw94-avatar img{
  width:100%;height:100%;object-fit:cover;display:block;
  border-radius:50%;background:#e7f4ff;overflow:hidden;
}
#profileView .nw94-avatar-edit{
  display:grid;place-items:center;position:absolute;right:-2px;bottom:1px;z-index:4;
  width:29px;height:29px;border:2px solid #fff;border-radius:50%;
  background:#0d8adb;color:#fff;font-size:12px;font-weight:900;cursor:pointer;
  box-shadow:0 2px 7px rgba(6,76,133,.25);
}
#profileView.nab8-profile .nab81-profile-head .nab23-profile-identity{
  margin:16px 0 0!important;padding:0!important;align-self:start!important;min-width:0;
}
#profileView.nab8-profile .nab8-identity-eyebrow{
  font-size:10px;color:#53819e;font-weight:780;letter-spacing:.06em;
}
#profileView.nab8-profile .nab81-profile-head .nab23-name-row{
  margin-top:5px!important;gap:8px!important;
}
#profileView.nab8-profile .nab81-profile-head .nab23-name-row h1{
  font-size:clamp(23px,2.4vw,33px)!important;
  line-height:1.17;letter-spacing:-.035em;color:#132d4b;
  font-weight:900;
}
#profileView.nab8-profile .nab81-profile-head .nab23-profile-subtitle{
  color:#52708b;font-size:12px;margin-top:7px;
}
#profileView .nw94-intro{
  max-width:670px;margin:11px 0 0;
  color:#3d576e;font-size:13px;line-height:1.65;overflow-wrap:anywhere;
}
#profileView .nw94-mini-skills{
  display:flex;flex-wrap:wrap;gap:6px;margin:11px 0 0;
}
#profileView .nw94-mini-skills span{
  display:inline-flex;align-items:center;max-width:100%;
  padding:6px 9px;border-radius:99px;background:#eff7ff;
  color:#326b97;font-size:11px;font-weight:740;
  overflow-wrap:anywhere;
}
#profileView .nw94-external{
  display:flex;flex-wrap:wrap;gap:10px;margin-top:12px;
}
#profileView .nw94-external .nab23-social-link{
  color:#0c79bb;font-size:11px;font-weight:830;
}
#profileView .nw94-completion{
  display:inline-flex;margin-top:12px;align-items:center;
  text-align:left;color:#086cb3;background:#eaf6ff;
  padding:9px 12px;border-radius:11px;border:1px solid #c9e7f9;
  font-size:11px;font-weight:770;line-height:1.4;cursor:pointer;
}
#profileView .nw94-completion:hover{background:#dff2ff}
#profileView.nab8-profile .nab81-profile-head .nab23-profile-actions{
  margin:21px 0 0!important;align-self:start!important;
  justify-self:end!important;flex-wrap:wrap;gap:7px;
  max-width:270px;
}
#profileView.nab8-profile .nab81-profile-head .nab23-profile-actions button{
  min-height:41px!important;padding:10px 12px!important;
  border-radius:10px!important;font-size:11px!important;
}
#profileView.nab8-profile .nab23-status-tags{margin-top:11px!important;gap:6px}
#profileView.nab8-profile .nab23-status-tags span{
  background:#f3f8fc;border:1px solid #e3edf6;color:#5c7388;
  padding:5px 8px;border-radius:8px;font-size:10px;
}
#profileView.nab8-profile .nab8-profile-metrics{
  border-top:1px solid #e5ecf5!important;
  background:#fff!important;
  padding:8px clamp(12px,2.5vw,29px)!important;
}
#profileView.nab8-profile .nab8-profile-metric{
  padding:12px 9px!important;gap:9px;
}
#profileView.nab8-profile .nab8-metric-icon{
  width:31px;height:31px;font-size:16px;
  background:#eef6ff;color:#1285c5;border-radius:9px;
}
#profileView.nab8-profile .nab8-profile-metric strong{
  color:#142c48;font-size:17px;
}
#profileView.nab8-profile .nab8-profile-metric small{font-size:10px}
#profileView.nab8-profile .nab81-tabs{
  position:relative;top:auto;
  display:flex;justify-content:center;gap:0;
  background:#fff;border-bottom:1px solid #e3edf5;
  border-radius:0!important;
  margin:15px 0 20px!important;
  padding:0 10px!important;box-shadow:none!important;
  overflow:auto;
}
#profileView.nab8-profile .nab81-tabs a{
  padding:12px 16px!important;
  border-bottom:2px solid transparent;
  border-radius:0!important;white-space:nowrap;
  font-size:12px;font-weight:780;
}
#profileView.nab8-profile .nab81-tabs a:hover,
#profileView.nab8-profile .nab81-tabs a:focus-visible{
  background:#f2f8fe;color:#067bc3;border-color:#62b1e5;
}
#profileView.nab8-profile .nab23-profile-layout{
  gap:15px!important;
}
#profileView.nab8-profile .nab81-portfolio,
#profileView.nab8-profile .nab81-services,
#profileView.nab8-profile .nab81-reviews{
  border:1px solid #e2edf6;border-radius:16px;
  box-shadow:none;background:#fff;
}
#profileView.nab8-profile .nab81-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;
}
#profileView.nab8-profile .nab81-grid .nab23-portfolio-item{
  aspect-ratio:1/1!important;
  border-radius:7px!important;border:0!important;
}
#profileView.nab8-profile .nab23-portfolio-caption{
  background:linear-gradient(transparent,rgba(14,40,67,.75));
}
#profileView.nab8-profile .nab23-side-card{display:none!important}
#profileView.nab8-profile .nab23-profile-aside{gap:12px}
#profileView.nab8-profile .nab23-panel-title h2{font-size:18px}
#profileView.nab8-profile .nab23-section-note{font-size:11px;color:#708399}
#dashboardView .nw94-photo-editor{
  display:grid;grid-template-columns:1fr 1.5fr;gap:15px;
  border:1px solid #d9e9f6;border-radius:15px;
  background:linear-gradient(125deg,#f8fcff,#f1f8ff);
  padding:16px;
}
#dashboardView .nw94-photo-control{
  display:flex;flex-direction:column;align-items:start;gap:8px;min-width:0;
}
#dashboardView .nw94-photo-control label{
  color:#234761;font-weight:850;font-size:12px;
}
#dashboardView .nw94-photo-control input{
  max-width:100%;font-size:11px;
  color:#395b78;cursor:pointer;
}
#dashboardView .nw94-photo-control input::file-selector-button{
  background:#0a81d7;color:#fff;border:0;border-radius:8px;
  font:inherit;font-weight:800;padding:9px 11px;margin-right:10px;
  cursor:pointer;
}
#dashboardView .nw94-photo-control p{
  margin:0;font-size:10px;color:#6a839b;line-height:1.5;
}
#dashboardView .nw94-avatar-preview{
  width:100px;height:100px;border:3px solid #fff;
  box-shadow:0 4px 15px rgba(12,64,104,.1);border-radius:50%;
  overflow:hidden;display:grid;place-items:center;
  background:linear-gradient(130deg,#d4efff,#9fd5f3);
}
#dashboardView .nw94-avatar-preview span{font-size:35px}
#dashboardView .nw94-cover-preview{
  width:100%;height:110px;border:1px solid #d1e4f4;
  border-radius:12px;overflow:hidden;display:grid;place-items:center;
  background:linear-gradient(125deg,#cfe6fa,#bfeaf0);
}
#dashboardView .nw94-cover-preview span{
  color:#356688;font-size:11px;font-weight:780;text-align:center;padding:9px;
}
#dashboardView .nw94-avatar-preview img,
#dashboardView .nw94-cover-preview img{
  width:100%;height:100%;object-fit:cover;display:block;
}
@media(max-width:940px){
 #profileView.nab8-profile .nab81-profile-head{
  grid-template-columns:94px minmax(0,1fr)!important;
 }
 #profileView.nab8-profile .nw94-avatar.nab23-profile-avatar{
  width:94px!important;height:94px!important;
 }
 #profileView.nab8-profile .nab81-profile-head .nab23-profile-actions{
  grid-column:2;justify-self:start!important;margin:0!important;max-width:none;
 }
}
@media(max-width:650px){
 #profileView.nab8-profile{padding:11px 10px 72px!important}
 #profileView.nab8-profile .nab8-profile-shell{
  border-radius:16px!important;
 }
 #profileView.nab8-profile .nw94-cover.nab81-cover{
  height:clamp(148px,42vw,198px)!important;
 }
 #profileView .nw94-cover-edit{
  right:10px;bottom:11px;min-height:36px;padding:7px 9px;font-size:10px;
 }
 #profileView.nab8-profile .nab81-profile-head{
  grid-template-columns:74px minmax(0,1fr)!important;
  padding:0 14px 17px!important;gap:11px!important;
 }
 #profileView.nab8-profile .nw94-avatar.nab23-profile-avatar{
  width:74px!important;height:74px!important;
  border-width:4px!important;margin:-28px 0 0!important;
  font-size:29px!important;
 }
 #profileView .nw94-avatar-edit{width:24px;height:24px;right:-3px;bottom:-2px}
 #profileView.nab8-profile .nab81-profile-head .nab23-profile-identity{
  margin:13px 0 0!important;
 }
 #profileView.nab8-profile .nab81-profile-head .nab23-name-row h1{
  font-size:clamp(19px,5vw,25px)!important;
 }
 #profileView.nab8-profile .nab8-identity-eyebrow{font-size:9px}
 #profileView .nw94-intro{font-size:11px;line-height:1.55}
 #profileView.nab8-profile .nab81-profile-head .nab23-profile-actions{
  grid-column:1/-1!important;
  justify-self:stretch!important;display:flex!important;
  gap:8px;max-width:none;width:100%;
 }
 #profileView.nab8-profile .nab81-profile-head .nab23-profile-actions button{
  flex:1 1 auto;min-height:43px!important;font-size:10px!important;
 }
 #profileView.nab8-profile .nab8-profile-metrics{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  padding:6px 8px!important;
 }
 #profileView.nab8-profile .nab8-profile-metric{
  border-bottom:1px solid #e6edf5;justify-content:start;
 }
 #profileView.nab8-profile .nab8-profile-metric:nth-child(2){border-right:0}
 #profileView.nab8-profile .nab8-profile-metric:nth-child(n+3){border-bottom:0}
 #profileView.nab8-profile .nab81-tabs{margin:11px 0 15px!important;justify-content:flex-start}
 #profileView.nab8-profile .nab81-tabs a{font-size:11px;padding:11px 12px!important}
 #profileView.nab8-profile .nab81-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}
 #profileView.nab8-profile .nab81-grid .nab23-portfolio-item{border-radius:3px!important}
 #dashboardView .nw94-photo-editor{grid-template-columns:1fr;gap:18px;padding:13px}
 #dashboardView .nw94-cover-preview{height:138px}
}
@media(max-width:365px){
 #profileView.nab8-profile .nab81-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #profileView.nab8-profile .nab81-profile-head .nab23-profile-actions{flex-direction:column}
}
body.dark-mode #profileView.nab8-profile .nab8-profile-shell,
body.dark-mode #profileView.nab8-profile .nab81-profile-head,
body.dark-mode #profileView.nab8-profile .nab81-tabs,
body.dark-mode #profileView.nab8-profile .nab8-profile-metrics{
 background:#1c3146!important;border-color:#38536e!important;
}
body.dark-mode #profileView.nab8-profile .nab81-profile-head .nab23-name-row h1{color:#f0f8ff}
body.dark-mode #profileView .nw94-intro{color:#d0e1ef}
body.dark-mode #dashboardView .nw94-photo-editor{background:#1d3248;border-color:#42617b}
body.dark-mode #dashboardView .nw94-photo-control label{color:#ebf7ff}
@media(prefers-reduced-motion:reduce){
 #profileView .nw94-cover-edit{transition:none}
}
