
:root{
  --bg:#f6f8f4;
  --surface:#ffffff;
  --surface2:#f2f7f0;
  --text:#111713;
  --muted:#68746d;
  --line:#e4ebe5;
  --green:#22c55e;
  --green-dark:#16a34a;
  --soft:#eaf9ef;
  --soft2:#f7fbf6;
  --red:#ef4444;
  --yellow:#f2b600;
  --shadow:0 14px 38px rgba(15,23,42,.075);
  --shadow-soft:0 8px 22px rgba(15,23,42,.05);
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--text);background:linear-gradient(180deg,#f3fbf4,#f6f8f4 55%,#eef3ed)}
button,input,textarea,select{font:inherit}
button{border:0;background:none;color:inherit;cursor:pointer}
a{text-decoration:none;color:inherit}
svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2.15;stroke-linecap:round;stroke-linejoin:round}

.phone{
  width:min(430px,100%);
  min-height:100vh;
  margin:0 auto;
  padding:12px 12px 88px;
  background:rgba(255,255,255,.62);
  border-left:1px solid rgba(226,235,229,.9);
  border-right:1px solid rgba(226,235,229,.9);
  position:relative;
}
.skeleton-card{
  margin:24px;
  background:white;
  border:1px solid var(--line);
  border-radius:24px;
  padding:24px;
  display:grid;
  gap:10px;
  box-shadow:var(--shadow);
}
.appbar{
  position:sticky;
  top:0;
  z-index:20;
  margin:-12px -12px 12px;
  padding:12px;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(226,235,229,.9);
  display:flex;
  align-items:center;
  gap:10px;
}
.logo{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:22px;
  font-weight:950;
  letter-spacing:-.05em;
}
.logo-badge{
  width:34px;height:34px;border-radius:14px;
  display:grid;place-items:center;
  color:white;
  background:linear-gradient(180deg,var(--green),var(--green-dark));
  box-shadow:0 12px 24px rgba(34,197,94,.25);
}
.appbar-spacer{flex:1}
.location-pill{
  display:flex;align-items:center;gap:5px;
  font-size:12px;font-weight:850;
  color:#117a35;
  background:var(--soft);
  border:1px solid #c8efd3;
  border-radius:999px;
  padding:8px 10px;
}
.round-btn{
  width:42px;height:42px;border-radius:16px;
  display:grid;place-items:center;
  border:1px solid var(--line);
  background:white;
  box-shadow:var(--shadow-soft);
}
.view{
  animation:screenIn .28s ease both;
}
.view.leaving{
  animation:screenOut .17s ease both;
}
@keyframes screenIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes screenOut{to{opacity:0;transform:translateY(8px)}}

.search-panel{
  background:white;
  border:1px solid var(--line);
  border-radius:28px;
  padding:14px;
  box-shadow:var(--shadow);
}
.search-title{
  margin:0 0 12px;
  font-size:27px;
  line-height:1.05;
  letter-spacing:-.06em;
}
.search-title span{color:var(--green-dark)}
.search-row{
  display:flex;
  gap:8px;
}
.search-input{
  flex:1;
  border:1px solid var(--line);
  border-radius:18px;
  background:#f8fbf7;
  padding:14px 14px;
  outline:none;
  min-width:0;
}
.primary-btn,.ghost-btn,.danger-btn{
  width:100%;
  border-radius:18px;
  padding:14px 16px;
  font-weight:950;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.primary-btn{
  color:white;
  background:linear-gradient(180deg,var(--green),var(--green-dark));
  box-shadow:0 12px 28px rgba(34,197,94,.23);
}
.ghost-btn{
  background:white;
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}
.danger-btn{
  background:#fff1f1;
  border:1px solid #ffd0d0;
  color:var(--red);
}
.quick-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:10px;
}
.stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin:12px 0 18px;
}
.stat{
  background:white;
  border:1px solid var(--line);
  border-radius:20px;
  padding:12px 8px;
  text-align:center;
  box-shadow:var(--shadow-soft);
}
.stat b{display:block;font-size:20px;letter-spacing:-.04em}
.stat span{display:block;font-size:11px;color:var(--muted);font-weight:760}

.section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:18px 0 10px;
}
.section-head h2{margin:0;font-size:18px;letter-spacing:-.03em}
.green-link{font-size:13px;color:var(--green-dark);font-weight:900}
.horizontal{
  display:flex;
  gap:9px;
  overflow-x:auto;
  padding-bottom:8px;
  scrollbar-width:none;
}
.horizontal::-webkit-scrollbar{display:none}
.category{
  min-width:84px;
  background:white;
  border:1px solid var(--line);
  border-radius:22px;
  padding:12px 9px;
  text-align:center;
  box-shadow:var(--shadow-soft);
}
.category-icon{
  width:40px;height:40px;margin:0 auto 8px;
  border-radius:16px;
  display:grid;place-items:center;
  background:var(--soft);
  color:var(--green-dark);
}
.category p{margin:0;font-size:11px;font-weight:850;color:#3c4741}

.job-card{
  width:100%;
  text-align:left;
  display:grid;
  grid-template-columns:1fr 76px;
  gap:12px;
  background:white;
  border:1px solid var(--line);
  border-radius:24px;
  padding:13px;
  box-shadow:var(--shadow);
  margin-bottom:10px;
}
.job-title{margin:0 0 7px;font-size:17px;letter-spacing:-.02em}
.job-price{margin:0 0 9px;color:var(--green-dark);font-size:21px;font-weight:950}
.meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  color:#66736d;
  font-size:12px;
  font-weight:720;
}
.meta span{display:inline-flex;align-items:center;gap:4px}
.meta svg{width:14px;height:14px}
.job-thumb{
  border-radius:19px;
  background:linear-gradient(145deg,#ecfdf3,#dff6e6);
  display:grid;
  place-items:center;
  color:var(--green-dark);
  position:relative;
}
.job-thumb>svg{width:34px;height:34px}
.save-dot{
  position:absolute;right:7px;top:7px;
  width:26px;height:26px;border-radius:11px;
  display:grid;place-items:center;
  background:white;
  border:1px solid var(--line);
  color:#7f8984;
}
.save-dot svg{width:15px;height:15px}

.chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:9px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{
  white-space:nowrap;
  border:1px solid var(--line);
  background:white;
  border-radius:999px;
  padding:9px 13px;
  font-size:13px;
  font-weight:850;
}
.chip.active{
  background:var(--green);
  border-color:var(--green);
  color:white;
}
.input,select,textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:18px;
  background:white;
  padding:14px;
  outline:none;
  box-shadow:var(--shadow-soft);
}
textarea{min-height:105px;resize:vertical}
.form{display:grid;gap:12px}
.form label{display:grid;gap:7px;font-size:13px;font-weight:850;color:#39443f}
.page-title{
  display:flex;
  align-items:center;
  gap:10px;
  margin:4px 0 14px;
}
.page-title h1{margin:0;font-size:22px;letter-spacing:-.04em}
.back-btn{
  width:40px;height:40px;border-radius:15px;
  background:white;border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
  display:grid;place-items:center;
}
.card{
  background:white;
  border:1px solid var(--line);
  border-radius:24px;
  padding:15px;
  box-shadow:var(--shadow);
  margin-bottom:10px;
}
.detail-title{
  margin:13px 0 7px;
  font-size:28px;
  line-height:1.08;
  letter-spacing:-.055em;
}
.big-price{margin:0 0 12px;font-size:31px;font-weight:950;color:var(--green-dark)}
.divider{height:1px;background:var(--line);margin:17px 0}
.lead{margin:0;color:var(--muted);line-height:1.5}
.user-row{display:flex;align-items:center;gap:11px}
.avatar{
  width:48px;height:48px;border-radius:50%;
  background:linear-gradient(145deg,var(--green),#9af0bd);
  color:white;
  display:grid;place-items:center;
  font-weight:950;
}
.avatar.big{width:84px;height:84px;margin:0 auto 12px;font-size:29px}
.small{font-size:12px;color:var(--muted)}
.profile{text-align:center;padding:8px 0 4px}
.rating{color:var(--yellow);font-weight:950}
.skills{display:flex;flex-wrap:wrap;gap:8px}
.skill{background:#f7faf6;border:1px solid var(--line);border-radius:999px;padding:8px 10px;font-size:12px;font-weight:850}
.messages{display:grid;gap:10px}
.message{
  max-width:78%;
  background:white;
  border:1px solid var(--line);
  border-radius:18px;
  padding:12px 14px;
  box-shadow:var(--shadow-soft);
  font-size:14px;
}
.message.me{
  justify-self:end;
  color:white;
  background:linear-gradient(180deg,var(--green),var(--green-dark));
  border-color:transparent;
}
.message.me .small{color:#effff3}
.chat-input{
  position:fixed;
  left:50%;
  bottom:82px;
  transform:translateX(-50%);
  width:min(406px,calc(100% - 24px));
  display:flex;
  gap:8px;
  z-index:21;
}
.chat-input .input{flex:1}
.chat-input .primary-btn{width:54px;padding:0}

.menu-list{display:grid;gap:10px}
.menu-item{
  width:100%;
  display:flex;
  align-items:center;
  gap:12px;
  padding:15px;
  border-radius:20px;
  background:white;
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
  font-weight:850;
}
.menu-item svg{color:var(--green-dark)}
.menu-item.red{color:var(--red)}
.menu-item.red svg{color:var(--red)}

.bottom-nav{
  position:fixed;
  left:50%;
  bottom:12px;
  transform:translateX(-50%);
  width:min(406px,calc(100% - 24px));
  height:64px;
  z-index:20;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  align-items:center;
  background:rgba(255,255,255,.93);
  border:1px solid var(--line);
  border-radius:25px;
  box-shadow:0 20px 50px rgba(15,23,42,.16);
  backdrop-filter:blur(18px);
}
.nav-item{
  display:grid;place-items:center;gap:2px;
  font-size:10px;font-weight:820;color:#7c8782;
}
.nav-item.active{color:var(--green-dark)}
.nav-plus{
  width:49px;height:49px;border-radius:18px;
  background:linear-gradient(180deg,var(--green),var(--green-dark));
  color:white;
  display:grid;place-items:center;
  justify-self:center;
  box-shadow:0 12px 25px rgba(34,197,94,.3);
}
.nav-plus svg{width:25px;height:25px}

.admin-shell{max-width:1180px;margin:0 auto;padding:18px}
.admin-bar{
  background:white;border:1px solid var(--line);border-radius:24px;padding:12px;
  display:flex;align-items:center;gap:10px;box-shadow:var(--shadow);margin-bottom:14px;
}
.admin-layout{display:grid;grid-template-columns:230px 1fr;gap:14px}
.sidebar,.panel{background:white;border:1px solid var(--line);border-radius:26px;padding:14px;box-shadow:var(--shadow)}
.sidebar button{width:100%;display:flex;align-items:center;gap:10px;padding:12px;border-radius:16px;font-weight:850}
.sidebar button.active,.sidebar button:hover{background:var(--soft);color:#117a35}
.admin-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:12px}
.table{width:100%;border-collapse:collapse}
.table th,.table td{padding:12px;border-bottom:1px solid var(--line);text-align:left;font-size:14px}
.table th{background:#f7faf6;color:#69736f}
@media(max-width:800px){.admin-layout{grid-template-columns:1fr}.admin-grid{grid-template-columns:repeat(2,1fr)}.admin-shell{padding:12px}.table{display:block;overflow-x:auto}}


/* v8 design polish */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root{
  --bg:#f7faf5;
  --surface:#ffffff;
  --text:#101411;
  --muted:#65716b;
  --line:#dfe8e2;
  --green:#20c464;
  --green-dark:#129447;
  --soft:#e9f9ef;
  --shadow:0 18px 48px rgba(15,23,42,.065);
}

body{
  font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-feature-settings:"cv02","cv03","cv04","cv11";
  -webkit-font-smoothing:antialiased;
  text-rendering:geometricPrecision;
  background:
    radial-gradient(circle at 18% -10%, rgba(32,196,100,.18), transparent 33%),
    radial-gradient(circle at 100% 10%, rgba(18,148,71,.10), transparent 30%),
    linear-gradient(180deg,#fbfdf9,#f4f7f1 58%,#edf3ec);
}

.phone{background:rgba(255,255,255,.72)}
.logo{letter-spacing:-.055em}
.search-panel{padding:18px;border-radius:30px}
.search-title{font-size:30px;letter-spacing:-.07em;margin-bottom:14px}
.job-card{border-radius:25px;transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease}
.job-card:active{transform:scale(.985)}
.card,.job-card,.category,.stat,.search-panel,.menu-item{box-shadow:0 16px 42px rgba(15,23,42,.06)}
.primary-btn,.ghost-btn,.danger-btn{min-height:50px}

.lock-card{text-align:center;padding:22px 16px}
.lock-icon{
  width:56px;height:56px;border-radius:22px;
  display:grid;place-items:center;margin:0 auto 12px;
  color:var(--green-dark);background:var(--soft);
}
.lock-icon svg{width:28px;height:28px}
.location-select-wrap label{color:#435049;font-size:13px;font-weight:900}
.location-select-wrap select{font-weight:800}


/* v9 UX polish: friendlier typography and home blocks */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

body{
  font-family:'Manrope',system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif !important;
}

.logo{
  letter-spacing:-.035em;
}

.search-title{
  font-size:28px;
  letter-spacing:-.045em;
}

.role-choice-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:12px 0;
}

.role-choice{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:15px 12px;
  text-align:left;
  box-shadow:0 14px 34px rgba(15,23,42,.055);
  min-height:118px;
  display:grid;
  gap:8px;
  align-content:start;
}

.role-choice strong{
  font-size:16px;
  letter-spacing:-.02em;
}

.role-choice span{
  color:var(--muted);
  font-size:12px;
  line-height:1.35;
}

.role-icon{
  width:42px;
  height:42px;
  border-radius:17px;
  background:var(--soft);
  color:var(--green-dark);
  display:grid;
  place-items:center;
}

.role-icon svg{
  width:23px;
  height:23px;
}

.section-block{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:15px;
  box-shadow:0 16px 42px rgba(15,23,42,.055);
  margin-bottom:12px;
}

.block-title-row{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}

.block-title-row h2{
  margin:0;
  font-size:18px;
  letter-spacing:-.035em;
}

.block-title-icon{
  width:38px;
  height:38px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:var(--soft);
  color:var(--green-dark);
}

.category-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:9px;
}

.category-wide{
  min-width:0 !important;
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  text-align:left;
  padding:12px;
}

.category-wide .category-icon{
  margin:0;
  flex:0 0 40px;
}

.category-wide p{
  font-size:13px;
  line-height:1.15;
}

.category-wide small{
  display:block;
  color:var(--muted);
  font-size:11px;
  margin-top:3px;
  font-weight:700;
}

.hint-card{
  background:linear-gradient(145deg,#fff,#f4fff7);
  border:1px solid #cfeeda;
  border-radius:26px;
  padding:14px;
  box-shadow:0 14px 34px rgba(22,163,74,.08);
}

.hint-card b{
  display:block;
  margin-bottom:5px;
  font-size:15px;
}

.hint-card p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.42;
}

.auth-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-bottom:12px;
}

.auth-tab{
  border:1px solid var(--line);
  background:#fff;
  border-radius:18px;
  padding:13px 10px;
  font-weight:900;
  color:#66736d;
}

.auth-tab.active{
  background:var(--green);
  border-color:var(--green);
  color:#fff;
  box-shadow:0 12px 24px rgba(34,197,94,.20);
}

.auth-role-card{
  border:1px solid var(--line);
  background:#fff;
  border-radius:22px;
  padding:13px;
  display:flex;
  gap:11px;
  align-items:flex-start;
  cursor:pointer;
}

.auth-role-card input{
  margin-top:4px;
}

.auth-role-card strong{
  display:block;
  margin-bottom:3px;
}

.auth-role-card span{
  display:block;
  color:var(--muted);
  font-size:12px;
  line-height:1.35;
}

.phone-help{
  color:var(--muted);
  font-size:12px;
  line-height:1.4;
  margin-top:-5px;
}

.job-card.compact-home{
  grid-template-columns:1fr 62px;
  padding:12px;
}

.job-card.compact-home .job-thumb{
  border-radius:18px;
}

.job-card.compact-home .job-thumb>svg{
  width:29px;
  height:29px;
}


/* v10 location dropdown in top bar */
.location-pill{
  position:relative;
  max-width:185px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.location-menu{
  position:fixed;
  top:62px;
  left:50%;
  transform:translateX(-50%);
  width:min(406px,calc(100% - 24px));
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:10px;
  box-shadow:0 24px 70px rgba(15,23,42,.18);
  z-index:60;
  animation:screenIn .18s ease both;
}
.location-menu h3{
  margin:6px 8px 10px;
  font-size:16px;
}
.location-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
  max-height:360px;
  overflow:auto;
}
.location-option{
  padding:11px 10px;
  border-radius:15px;
  background:#f7faf6;
  border:1px solid var(--line);
  text-align:left;
  font-weight:800;
  font-size:13px;
}
.location-option.active{
  background:var(--soft);
  border-color:#bfeccc;
  color:var(--green-dark);
}
.hero-premium-line{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:12px;
}
.hero-premium-line span{
  background:#fff;
  border:1px solid var(--line);
  border-radius:999px;
  padding:8px 10px;
  font-size:12px;
  font-weight:850;
  color:#435049;
}
.search-panel.clean-hero{
  padding-bottom:16px;
}

/* audit v12 fixes */
.btn-small{width:auto!important;min-height:auto!important;padding:9px 12px!important;border-radius:13px!important;font-size:13px!important;display:inline-flex!important}
.location-menu:before{content:'';position:fixed;inset:0;z-index:-1;background:rgba(15,23,42,.05)}
