/* NABWORK 8.0 — approved Freelancer Profile.
 * Genuine seller records only: safe public profile name, ratings, published gig
 * images, portfolio and skills. The woman is solely decorative brand artwork.
 * Financial, seller editing, messages, auth and data fetching remain unchanged.
 */
#profileView.nab8-profile{
  max-width:1560px!important;
  width:100%;padding:clamp(13px,1.6vw,24px) clamp(14px,2.3vw,38px) 78px!important;
  background:transparent;
}
#profileView .nab8-profile-shell{
  border:1px solid #dfeafa;border-radius:25px;overflow:hidden;
  background:#fff;box-shadow:0 18px 50px rgba(16,64,114,.065);
}
#profileView .nab8-profile-cover{
  height:clamp(200px,20vw,286px);min-height:200px;
  display:flex;align-items:flex-start;justify-content:space-between;position:relative;
  isolation:isolate;overflow:hidden;padding:clamp(22px,3.5vw,44px);
  border:0;
  background:radial-gradient(circle at 81% 48%,rgba(78,184,239,.21),transparent 53%),
   radial-gradient(circle at 12% 76%,rgba(35,177,193,.16),transparent 45%),
   linear-gradient(105deg,#f0f9ff,#d1eafa 66%,#b6ddf4)!important;
}
#profileView .nab8-profile-cover:before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.48;
  background:repeating-radial-gradient(ellipse at 82% 65%,transparent 0,transparent 35px,rgba(255,255,255,.27) 36px,transparent 37px);
}
#profileView .nab8-cover-copy{
  display:flex;flex-direction:column;align-items:flex-start;gap:11px;
  position:relative;z-index:2;max-width:47%;color:#0d3659;
  font-family:inherit;letter-spacing:0;
}
#profileView .nab8-cover-kicker{
  display:inline-flex;align-items:center;padding:8px 11px;
  background:rgba(255,255,255,.78);border:1px solid rgba(155,206,235,.7);
  color:#0b639e;border-radius:100px;font-size:10px;font-weight:850;letter-spacing:.09em;
}
#profileView .nab8-cover-copy strong{
  color:#116baa;font-size:clamp(27px,3.3vw,51px);font-weight:750;font-style:italic;
  font-family:Georgia,"Times New Roman",serif;letter-spacing:-.038em;line-height:1.16;
  text-shadow:0 4px 28px rgba(255,255,255,.42);
}
#profileView .nab8-cover-description{
  max-width:35ch;font-size:11px;line-height:1.75;letter-spacing:0;
  font-weight:650;color:#486a84;
}
#profileView .nab8-cover-art{
  position:absolute;pointer-events:none;top:-8%;right:-4%;
  width:68%;height:120%;z-index:1;
  background:url('/nw-premium-hero.svg') center 45% / cover no-repeat;
  mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.5) 22%,#000 53%);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.5) 22%,#000 53%);
}
#profileView .nab23-profile-head{
  display:flex;flex-wrap:wrap;align-items:center;gap:clamp(14px,2vw,25px);
  padding:0 clamp(19px,2.3vw,33px) 16px;
  background:linear-gradient(180deg,rgba(255,255,255,.96),#fff);
  position:relative;
}
#profileView .nab23-profile-avatar{
  margin-top:-48px;flex:0 0 clamp(82px,8.4vw,109px);width:clamp(82px,8.4vw,109px);
  height:clamp(82px,8.4vw,109px);border:5px solid #fff;border-radius:50%;
  display:grid;place-items:center;font-size:clamp(30px,3.7vw,46px);
  background:linear-gradient(142deg,#0c80c2,#00b7a3);
  box-shadow:0 9px 24px rgba(8,75,125,.15);color:#fff;
}
#profileView .nab23-profile-identity{min-width:190px;padding:18px 0 0;flex:1 1 290px}
#profileView .nab8-identity-eyebrow{
  display:block;margin-bottom:6px;color:#0d86bd;font-size:10px;
  font-weight:850;letter-spacing:.045em;
}
#profileView .nab23-name-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
#profileView .nab23-name-row h1{
  font-size:clamp(23px,2.55vw,37px);font-weight:920;
  letter-spacing:-.045em;color:#091a38;line-height:1.28;
}
#profileView .nab23-profile-subtitle{
  margin:7px 0 9px;color:#59718a;font-size:12px;line-height:1.72;
}
#profileView .nab23-verified{
  border:1px solid #a9def4;border-radius:999px;background:#e5f7ff;
  color:#087aba;padding:6px 11px;font-size:10px;
}
#profileView .nab23-certified{
  border:1px solid #c2e8d6;border-radius:99px;
  background:#e8fcf0;color:#087658;padding:6px 11px;font-size:10px;
}
#profileView .nab23-status-tags{gap:7px}
#profileView .nab23-status-tags span{
  background:#eff8fe;border:1px solid #dfebf6;color:#486d86;
  border-radius:999px;min-height:28px;display:inline-flex;align-items:center;
  padding:5px 10px;font-size:10px;line-height:1.45;
}
#profileView .nab23-profile-actions{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;
  padding-top:12px;
}
#profileView .nab23-profile-actions button{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:11px 17px;border-radius:11px;
  font-size:11px;font-weight:850;line-height:1.45;white-space:normal;
}
#profileView .nab23-primary{
  background:linear-gradient(108deg,#087ce3,#0560bf);border:1px solid #1689d7;
  color:#fff;box-shadow:0 10px 22px rgba(10,107,195,.16);
}
#profileView .nab23-secondary{
  background:#fff;border:1px solid #afd3ec;color:#155b90;
}
#profileView .nab23-profile-actions button:hover{filter:brightness(1.035)}
#profileView .nab8-share{background:#f0f8fd}
#profileView .nab8-profile-metrics{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;
  padding:12px clamp(18px,2vw,30px) 17px;border-top:1px solid #eaf0f7;
  background:linear-gradient(100deg,#fff,#f9fcff);
}
#profileView .nab8-profile-metric{
  min-width:0;display:flex;align-items:center;justify-content:center;gap:12px;
  padding:11px 15px;border-right:1px solid #e7eef7;
}
#profileView .nab8-profile-metric:last-child{border-right:0}
#profileView .nab8-metric-icon{
  display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;
  border-radius:10px;background:#f2f8ff;color:#1185da;font-size:20px;
}
#profileView .nab8-metric-star{color:#e7a400;background:#fff8e5}
#profileView .nab8-metric-orders{color:#3577ab;background:#eef6fd}
#profileView .nab8-metric-gigs{color:#08a883;background:#eafcf4}
#profileView .nab8-metric-portfolio{color:#0878dd;background:#e9f4ff}
#profileView .nab8-profile-metric strong{
  display:block;color:#092240;font-size:clamp(20px,1.55vw,26px);
  font-weight:950;line-height:1.2;font-variant-numeric:tabular-nums;
}
#profileView .nab8-profile-metric small{
  display:block;font-size:10px;line-height:1.55;color:#647c92;margin-top:4px;
}
#profileView .nab23-profile-tabs{
  margin:14px 0 17px!important;position:sticky;top:76px;z-index:9;
  background:rgba(255,255,255,.97);border:1px solid #e6eef7;
  box-shadow:0 6px 22px rgba(9,59,106,.043);border-radius:14px;
  display:flex;align-items:center;gap:5px;padding:7px;overflow-x:auto;
  scroll-snap-type:x proximity;overscroll-behavior-x:contain;
}
#profileView .nab23-profile-tabs a{
  flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;
  padding:10px 16px;min-height:42px;border-radius:10px;scroll-snap-align:start;
  color:#57708a;font-size:12px;font-weight:830;text-decoration:none;
}
#profileView .nab23-profile-tabs a:first-child{
  background:#e7f4ff;color:#096fcb;border-bottom:2px solid #0b86df;
}
#profileView .nab23-profile-tabs a:hover{background:#eaf6ff;color:#0a73b7}
#profileView .nab23-profile-layout{
  display:grid;grid-template-columns:minmax(0,1.75fr) minmax(260px,.82fr);
  gap:14px;align-items:start;margin-top:0;
}
#profileView .nab23-profile-main{min-width:0;display:flex;flex-direction:column;gap:14px}
#profileView .nab23-profile-aside{min-width:0;display:flex;flex-direction:column;gap:14px}
#profileView .nab23-panel,#profileView .nab23-side-card{
  padding:clamp(18px,1.5vw,24px);border-radius:19px;
  border:1px solid #e5edf7;background:#fff;
  box-shadow:0 9px 30px rgba(18,67,114,.045);scroll-margin-top:155px;
}
#profileView .nab23-panel-title{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:17px;
}
#profileView .nab23-panel-title h2{
  color:#0a203b;font-size:clamp(17px,1.5vw,22px);
  font-weight:925;letter-spacing:-.024em;
}
#profileView .nab23-section-emblem{
  flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;
  background:#e6f5ff;color:#087bca;border-radius:10px;font-size:18px;
}
#profileView .nab23-count{
  background:#edf5fd;border:1px solid #deebf8;color:#44708d;
  border-radius:99px;padding:5px 11px;font-size:11px;font-weight:850;
}
#profileView .nab23-section-note{
  color:#526f86;font-size:11px;line-height:1.75;margin-bottom:15px;
}
#profileView .nab23-portfolio-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;
}
#profileView .nab23-portfolio-item{
  display:block;position:relative;min-width:0;aspect-ratio:1.24/1;
  overflow:hidden;border:1px solid #e6eef7;border-radius:11px;background:#f1f6fb;
  transition:transform .18s ease,box-shadow .18s ease;
}
#profileView .nab23-portfolio-item img{
  width:100%;height:100%;display:block;object-fit:cover;transition:transform .25s ease;
}
#profileView .nab23-portfolio-item:hover img{transform:scale(1.04)}
#profileView .nab23-portfolio-caption{
  position:absolute;inset:auto 0 0 0;padding:19px 9px 9px;
  background:linear-gradient(transparent,rgba(5,23,49,.8));
  color:#fff;font-size:10px;font-weight:760;line-height:1.5;text-align:left;
  overflow-wrap:anywhere;pointer-events:none;
}
#profileView .nab23-gigs-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;
}
#profileView .nab23-gig-card{
  min-width:0;border:1px solid #e2eaf4;border-radius:14px;
  overflow:hidden;background:#fff;box-shadow:0 6px 18px rgba(12,59,105,.04);
}
#profileView .nab23-gig-art{width:100%;aspect-ratio:4/3;display:block;overflow:hidden;background:#edf4fb}
#profileView .nab23-gig-art img{width:100%;height:100%;object-fit:cover;display:block}
#profileView .nab23-gig-info{padding:13px;gap:7px}
#profileView .nab23-gig-category{color:#0b82c0;font-size:10px;font-weight:800}
#profileView .nab23-gig-title{
  min-height:46px;color:#102944;font-size:12px;font-weight:860;
  text-align:left;line-height:1.68;overflow-wrap:anywhere;
}
#profileView .nab23-gig-foot{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px;
  border-top:1px solid #e9eff8;padding-top:10px;margin-top:6px;
  color:#627e94;font-size:11px;line-height:1.65;
}
#profileView .nab23-gig-foot strong{color:#0a2740;font-size:14px}
#profileView .nab23-side-card h2{
  color:#102841;font-size:clamp(16px,1.2vw,19px);font-weight:900;
  padding-bottom:11px;border-bottom:1px solid #ebf1f7;margin-bottom:11px;
}
#profileView .nab23-side-card h3{color:#455f78;font-size:11px;font-weight:850;margin-top:16px}
#profileView .nab23-side-stat{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:12px 0;border-bottom:1px solid #e9eff7;
  color:#586f86;font-size:11px;line-height:1.6;
}
#profileView .nab23-side-stat b{color:#122c48;font-size:12px;font-weight:900;text-align:right}
#profileView .nab23-skills{display:flex;flex-wrap:wrap;gap:8px}
#profileView .nab23-skills button{
  min-height:37px;background:#f0f7ff;color:#23639a;border:1px solid #e4eff8;
  border-radius:999px;padding:8px 12px;font-size:11px;line-height:1.5;font-weight:750;
}
#profileView .nab23-skills button:hover{background:#e1f1ff;border-color:#b5d9ee}
#profileView .nab23-socials{gap:7px}
#profileView .nab23-social-link{min-height:42px;border-radius:10px}
#profileView .nab23-blank{
  padding:26px 16px;border:1px dashed #cddfeb;border-radius:13px;
  text-align:center;background:#f6fbff;
}
#profileView .nab23-blank strong{color:#163553}
#profileView .nab23-blank p{color:#607a90;line-height:1.75}
#profileView .nab23-review{border:1px solid #e2edf6;border-radius:14px;background:#fafdff}
#profileView .nab23-review-head{gap:8px}
#profileView .nab23-review p{line-height:1.83}
#profileView .nab23-profile-tabs a:focus-visible,
#profileView :is(.nab23-primary,.nab23-secondary,.nab23-social-link,.nab23-skills button,.nab23-gig-title,.nab23-gig-art,.nab23-portfolio-item,.nab23-blank button):focus-visible{
  outline:3px solid #087cc8;outline-offset:3px;
}
body.dark-mode #profileView .nab8-profile-shell,body.dark-mode #profileView .nab23-panel,
body.dark-mode #profileView .nab23-side-card{background:#192c43;border-color:#405c75}
body.dark-mode #profileView .nab8-profile-cover{background:linear-gradient(112deg,#123650,#245475)!important}
body.dark-mode #profileView .nab8-cover-kicker{background:#214c65;color:#c6efff;border-color:#427795}
body.dark-mode #profileView .nab8-cover-copy strong{color:#9ddfff}
body.dark-mode #profileView .nab8-cover-description{color:#d4ebf8}
body.dark-mode #profileView .nab23-profile-head{background:#192c43}
body.dark-mode #profileView .nab23-name-row h1,
body.dark-mode #profileView .nab8-profile-metric strong,
body.dark-mode #profileView .nab23-panel-title h2,
body.dark-mode #profileView .nab23-side-card h2{color:#f5faff}
body.dark-mode #profileView .nab23-profile-subtitle,
body.dark-mode #profileView .nab8-profile-metric small{color:#cbdeea}
body.dark-mode #profileView .nab8-profile-metrics{background:#192c43;border-color:#405c75}
body.dark-mode #profileView .nab8-profile-metric{border-right-color:#405c75}
body.dark-mode #profileView .nab23-profile-tabs{background:#1c324a;border-color:#405c75}
body.dark-mode #profileView .nab23-profile-tabs a{color:#d2e8f7}
body.dark-mode #profileView .nab23-profile-tabs a:first-child{background:#254d6c;color:#b6eaff}
body.dark-mode #profileView .nab23-side-stat{border-color:#405b74;color:#cae0ed}
body.dark-mode #profileView .nab23-side-stat b{color:#fff}
body.dark-mode #profileView .nab23-portfolio-item,
body.dark-mode #profileView .nab23-gig-card{background:#223a54;border-color:#405e78}
body.dark-mode #profileView .nab23-blank{background:#142a42;border-color:#47647b}
body.dark-mode #profileView .nab23-skills button{background:#29465e;border-color:#4a6a82;color:#e8f6ff}
body.dark-mode #profileView .nab23-gig-title{color:#f3f9ff}
body.dark-mode #profileView .nab23-gig-foot{border-color:#455f76}
body.dark-mode #profileView .nab23-gig-foot strong{color:#f7fbff}
@media(max-width:1150px){
  #profileView .nab23-profile-layout{grid-template-columns:minmax(0,1.35fr) minmax(235px,.8fr);gap:12px}
  #profileView .nab23-portfolio-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  #profileView .nab23-gigs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #profileView .nab23-profile-actions{justify-content:flex-start}
}
@media(max-width:780px){
  #profileView.nab8-profile{padding:12px 12px 72px!important}
  #profileView .nab8-profile-cover{height:230px;min-height:230px;padding:21px}
  #profileView .nab8-cover-copy{max-width:55%}
  #profileView .nab8-cover-copy strong{font-size:clamp(28px,5.2vw,42px)}
  #profileView .nab8-cover-art{right:-18%;width:91%}
  #profileView .nab23-profile-head{padding:0 17px 18px;gap:10px}
  #profileView .nab23-profile-avatar{width:82px;height:82px;flex-basis:82px;font-size:31px;margin-top:-44px}
  #profileView .nab23-profile-identity{flex-basis:calc(100% - 110px);min-width:0}
  #profileView .nab23-profile-actions{width:100%;padding-top:3px;justify-content:stretch}
  #profileView .nab23-profile-actions button{flex:1 1 auto}
  #profileView .nab8-profile-metrics{grid-template-columns:repeat(2,minmax(0,1fr));padding:11px 6px}
  #profileView .nab8-profile-metric{padding:10px 9px;justify-content:flex-start;border-bottom:1px solid #edf3f8}
  #profileView .nab8-profile-metric:nth-child(2){border-right:0}
  #profileView .nab8-profile-metric:nth-child(n+3){border-bottom:0}
  #profileView .nab23-profile-tabs{top:67px;margin:10px 0 12px!important}
  #profileView .nab23-profile-layout{grid-template-columns:minmax(0,1fr)}
  #profileView .nab23-profile-main{gap:12px}
  #profileView .nab23-profile-aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  #profileView .nab23-side-note{grid-column:1/-1}
  #profileView .nab23-portfolio-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  #profileView .nab23-gigs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
  #profileView .nab8-profile-shell{border-radius:20px}
  #profileView .nab8-profile-cover{height:184px;min-height:184px;padding:17px}
  #profileView .nab8-cover-kicker{font-size:8px;letter-spacing:.035em;padding:6px 9px}
  #profileView .nab8-cover-copy{gap:9px;max-width:56%}
  #profileView .nab8-cover-copy strong{font-size:clamp(23px,6.2vw,30px)}
  #profileView .nab8-cover-description{font-size:9px;line-height:1.65}
  #profileView .nab8-cover-art{width:100%;right:-26%;top:0}
  #profileView .nab23-name-row h1{font-size:23px}
  #profileView .nab23-profile-actions{display:grid;grid-template-columns:1fr minmax(0,1fr)}
  #profileView .nab23-primary{grid-column:1/-1}
  #profileView .nab23-profile-actions button{padding:10px 7px}
  #profileView .nab8-profile-metric{gap:7px}
  #profileView .nab8-metric-icon{flex-basis:28px;width:28px;height:28px;font-size:16px}
  #profileView .nab8-profile-metric strong{font-size:18px}
  #profileView .nab8-profile-metric small{font-size:9px}
  #profileView .nab23-panel,#profileView .nab23-side-card{padding:16px;border-radius:16px}
  #profileView .nab23-portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  #profileView .nab23-gigs-grid{grid-template-columns:minmax(0,1fr)}
  #profileView .nab23-gig-card{display:grid;grid-template-columns:minmax(90px,32%) minmax(0,1fr)}
  #profileView .nab23-gig-art{height:100%;aspect-ratio:auto}
  #profileView .nab23-gig-title{min-height:0;font-size:12px}
  #profileView .nab23-profile-aside{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:355px){
  #profileView .nab8-profile-cover{height:165px;min-height:165px}
  #profileView .nab8-cover-copy strong{font-size:22px}
  #profileView .nab8-cover-description{display:none}
  #profileView .nab23-profile-avatar{flex-basis:73px;width:73px;height:73px}
  #profileView .nab23-profile-identity{flex-basis:calc(100% - 90px)}
  #profileView .nab23-name-row h1{font-size:20px}
}
@media(prefers-reduced-motion:reduce){
  #profileView .nab23-portfolio-item,#profileView .nab23-portfolio-item img,
  #profileView .nab23-gig-card{transition:none!important}
  #profileView .nab23-portfolio-item:hover img{transform:none!important}
}
