:root {
  --g: #38a149;
  --gd: #257933;
  --gt: #2e8b3e;
  --ink: #0f172a;
  --mut: #64748b;
  --bg: #f8fafc;
  --tint: #eef3ff;
  --line: #e2e8f0;
  --red: #c62828;
  --redbg: #ffd9d9;
  --ok: #d8f5dc;
  --sh: 0 1px 3px rgba(15, 27, 51, .08), 0 6px 18px rgba(15, 27, 51, .04)
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0
}

body {
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  font-size: 14px;
  background: var(--bg)
}

h1,
h2,
h3 {
  font-family: Outfit, Inter, sans-serif;
  margin: 0;
  color: var(--ink)
}

a {
  color: inherit;
  text-decoration: none
}

.ic {
  flex: none
}

.av {
  border-radius: 10px;
  object-fit: cover;
  display: inline-flex;
  flex: none
}

.av.ini {
  align-items: center;
  justify-content: center;
  background: #dbe8ff;
  color: var(--gd);
  font: 700 14px Outfit, Inter, system-ui, sans-serif
}

.av-sq {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--g);
  color: #fff;
  display: grid;
  place-items: center
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--g);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 10px 18px;
  font: 600 14px Inter;
  cursor: pointer
}

.btn:hover {
  background: #43a047
}

.btn.out {
  background: #fff;
  color: var(--gt);
  border: 2px solid var(--g)
}

.btn.red {
  background: #f00
}

.btn.ghost {
  background: none;
  color: var(--ink);
  font-weight: 500
}

.btn.sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 8px
}

.btn.lg {
  padding: 14px 18px;
  width: 100%;
  font-size: 15px
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font: 700 11px Inter;
  background: var(--ok);
  color: #14532d
}

.badge.no,
.badge.wait {
  background: var(--redbg);
  color: #000
}

.badge.g {
  background: var(--g);
  color: #fff
}

.flash {
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  background: var(--ok);
  color: #14532d;
  font-weight: 500
}

.flash.err {
  background: var(--redbg);
  color: #7f1d1d
}

/* shell */
.top {
  position: fixed;
  inset: 0 0 auto 0;
  height: 58px;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 22px;
  z-index: 20
}

.who {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 16px;
  border-left: 1px solid var(--line)
}

.who-t {
  display: flex;
  flex-direction: column;
  text-align: right;
  font-size: 12px;
  line-height: 1.25
}

.who-t span {
  color: var(--g);
  font-weight: 500
}

.who .av {
  border-radius: 50%
}

.burger {
  display: none;
  margin-right: auto;
  border: 0;
  background: none;
  color: var(--ink)
}

.side {
  position: fixed;
  top: 58px;
  left: 0;
  bottom: 0;
  width: 240px;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 0 14px 16px;
  z-index: 15;
  overflow: auto
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line)
}

.brand img {
  height: 38px
}

.brand b {
  font: 700 17px Outfit, Inter, system-ui, sans-serif;
  color: var(--gt);
  display: block;
  line-height: 1.1
}

.brand small {
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--mut)
}

.side-h {
  font-size: 10.5px;
  letter-spacing: .07em;
  color: var(--mut);
  margin: 14px 6px 8px;
  font-weight: 600
}

.side nav {
  display: flex;
  flex-direction: column;
  gap: 6px
}

.side nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--sh);
  font: 600 13px Outfit, Inter
}

.side nav a.on {
  background: var(--g);
  color: #fff
}

.sync {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f1f4f9;
  border-radius: 10px;
  padding: 10px;
  font-size: 12px
}

.sync span {
  color: var(--gd)
}

.sync b {
  display: block;
  font-weight: 600
}

.sync small {
  color: var(--mut)
}

.sync i {
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gd);
  box-shadow: 0 0 0 3px #bfe3c4
}

.logout {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 8px;
  color: var(--mut);
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 8px;
  transition: background .15s, color .15s
}

.logout:hover {
  background: var(--redbg);
  color: #7f1d1d
}

.main {
  margin: 58px 0 0 240px;
  padding: 22px 26px 40px;
  min-height: calc(100vh - 58px)
}

.eyebrow {
  font-size: 11.5px;
  letter-spacing: .05em;
  font-weight: 600;
  color: var(--gt);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px
}

.eyebrow:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--g)
}

.head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap
}

.head h1 {
  font-size: 28px;
  font-weight: 700
}

.head p {
  color: var(--mut);
  margin: 6px 0 0;
  max-width: 560px;
  line-height: 1.5
}

.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--sh);
  padding: 20px
}

.grid {
  display: grid;
  gap: 18px
}

.g2 {
  grid-template-columns: repeat(2, 1fr)
}

.g3 {
  grid-template-columns: repeat(3, 1fr)
}

.g4 {
  grid-template-columns: repeat(4, 1fr)
}

.stat {
  display: flex;
  justify-content: space-between;
  gap: 10px
}

.stat small {
  display: block;
  font: 600 11px Inter;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #2a3550;
  margin-bottom: 8px
}

.stat b {
  font: 700 34px Outfit, Inter, system-ui, sans-serif;
  line-height: 1.1
}

.stat b em {
  font: 500 16px Inter;
  font-style: normal;
  color: var(--mut);
  margin-left: 4px
}

.stat .ico {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--g);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none
}

.stat .ico.t {
  background: #dbe8ff;
  color: var(--gd)
}

/* tabel */
.tw {
  overflow-x: auto
}

table.tbl {
  width: 100%;
  border-collapse: collapse
}

.tbl th {
  background: var(--tint);
  text-align: left;
  font: 600 11px Inter;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #2a3550;
  padding: 13px 16px
}

.tbl td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle
}

.tbl tr:last-child td {
  border-bottom: 0
}

.tbl .nm {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 600 14px Outfit, Inter, system-ui, sans-serif
}

.tbl .nm small {
  display: block;
  font: 400 12px Inter;
  color: var(--mut)
}

.tbl .ac {
  text-align: right
}

.chip {
  display: inline-block;
  background: var(--g);
  color: #fff;
  border-radius: 99px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 3px
}

.hl {
  color: var(--g);
  font-weight: 700
}

.tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px
}

.tabs a {
  padding: 9px 18px;
  border-radius: 10px;
  font: 500 13.5px Outfit, Inter, system-ui, sans-serif;
  color: #2a3550
}

.tabs a.on {
  background: var(--g);
  color: #fff;
  font-weight: 600
}

.tabs.ul a {
  border-radius: 0;
  padding: 8px 4px;
  margin-right: 18px;
  border-bottom: 2px solid transparent;
  font-weight: 600;
  font-size: 16px
}

.tabs.ul a.on {
  background: none;
  color: var(--ink);
  border-color: var(--gd)
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--tint);
  border-radius: 10px;
  padding: 9px 14px;
  max-width: 360px;
  color: var(--mut)
}

.search input {
  border: 0;
  background: none;
  outline: 0;
  font: inherit;
  width: 100%;
  color: var(--ink)
}

.pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  font-size: 12.5px;
  gap: 10px;
  flex-wrap: wrap
}

.pg {
  display: flex;
  gap: 6px;
  align-items: center
}

.pg a {
  padding: 6px 11px;
  border-radius: 8px;
  background: var(--tint);
  font-weight: 600;
  font-size: 12.5px
}

.pg a.cur {
  background: var(--g);
  color: #fff
}

.pg a.dis {
  color: #a9b3c4;
  background: none
}

/* modal & drawer */
.mbg {
  position: fixed;
  inset: 0;
  background: rgba(15, 27, 51, .45);
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow: auto
}

.modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
  width: 100%;
  max-width: 460px;
  padding: 30px;
  position: relative
}

.modal.w {
  max-width: 640px
}

.modal .x {
  position: absolute;
  right: 26px;
  top: 26px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--tint);
  color: var(--g);
  display: grid;
  place-items: center
}

.modal .eyebrow:before {
  display: none
}

.modal h2 {
  font-size: 22px;
  margin: 10px 0 4px
}

.modal .sub {
  color: var(--g);
  margin: 0 0 16px;
  line-height: 1.4
}

.drawer-bg {
  position: fixed;
  inset: 0;
  background: rgba(15, 27, 51, .4);
  z-index: 50;
  display: flex;
  justify-content: flex-end
}

.drawer {
  width: 45vw;
  min-width: 420px;
  max-width: 100vw;
  background: #fff;
  height: 100%;
  overflow: auto;
  box-shadow: -10px 0 40px rgba(0, 0, 0, .15);
  display: flex;
  flex-direction: column
}

.drawer.s {
  width: 30vw;
  min-width: 380px
}

.drawer>header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px
}

.drawer>section {
  padding: 20px 24px;
  flex: 1
}

.drawer>footer {
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: center;
  position: sticky;
  bottom: 0;
  background: #fff
}

.drawer>footer .btn:last-child {
  flex: 1
}

.box {
  background: var(--tint);
  border-radius: 12px;
  padding: 14px 16px
}

.kv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.kv small {
  color: var(--mut);
  display: block;
  font-size: 12px
}

.kv b {
  font-family: Outfit, Inter, system-ui, sans-serif
}

/* form */
.field {
  margin-bottom: 14px
}

.field label {
  display: block;
  font-size: 12.5px;
  color: #46506a;
  margin-bottom: 6px
}

.field label i {
  color: var(--ink);
  font-style: normal
}

.inp {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f6f8fd;
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 0 14px;
  color: var(--ink)
}

.inp:focus-within {
  border-color: var(--g);
  background: #fff
}

.inp input,
.inp select,
.inp textarea {
  border: 0;
  background: none;
  outline: 0;
  font: inherit;
  padding: 12px 0;
  width: 100%;
  color: var(--ink)
}

.inp textarea {
  resize: vertical;
  min-height: 110px
}

.inp.bx {
  background: var(--tint)
}

.hint {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--g);
  font-size: 12px;
  margin: -6px 0 14px
}

.pre {
  font-weight: 700;
  border-right: 1px solid var(--line);
  padding-right: 12px
}

.drop {
  border: 2px dashed #cfd9ee;
  background: var(--tint);
  border-radius: 12px;
  padding: 22px;
  text-align: center;
  color: var(--mut)
}

.pic {
  width: 100%;
  border-radius: 10px;
  display: block;
  margin: 8px 0
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px
}

.thumbs figure {
  margin: 0;
  position: relative
}

.thumbs img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 10px
}

.thumbs figcaption {
  position: absolute;
  left: 8px;
  bottom: 6px;
  color: #fff;
  font-size: 11px;
  text-shadow: 0 1px 3px #000
}

.hist {
  background: var(--tint);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px
}

.hist div {
  display: flex;
  justify-content: space-between;
  font: 600 13px Outfit, Inter, system-ui, sans-serif
}

.hist small {
  color: var(--mut);
  display: block;
  margin-top: 4px
}

.mini {
  display: flex;
  gap: 14px
}

.mini .card {
  padding: 10px 14px;
  display: flex;
  gap: 10px;
  align-items: center
}

.mini .ico {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--g);
  color: #fff;
  display: grid;
  place-items: center
}

.mini small {
  display: block;
  font-size: 11px;
  color: var(--mut)
}

.mini b {
  font: 700 15px Outfit, Inter, system-ui, sans-serif
}

.task {
  background: var(--tint);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px
}

.task .r {
  display: flex;
  gap: 10px;
  align-items: center
}

.task .r b {
  display: block;
  font: 600 13px Outfit, Inter, system-ui, sans-serif
}

.task .r small {
  color: var(--mut)
}

.task .r .badge {
  margin-left: auto
}

.task dl {
  background: #fff;
  border-radius: 8px;
  margin: 10px 0;
  padding: 8px 10px;
  font-size: 12px
}

.task dl div {
  display: flex;
  justify-content: space-between;
  padding: 2px 0
}

.task dt {
  color: var(--mut)
}

.task dd {
  margin: 0;
  font-weight: 600
}

.profile {
  max-width: 612px;
  margin: 10px auto;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--sh)
}

.profile .cv {
  height: 160px;
  background: var(--g)
}

.profile .pp {
  text-align: center;
  margin-top: -58px
}

.profile .pp img,
.profile .pp .ini {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  border: 0
}

.profile h2 {
  font-size: 24px;
  margin: 10px 0 18px
}

.profile .in {
  padding: 0 30px 24px
}

.row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line)
}

.row .ri {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--tint);
  color: var(--mut);
  display: grid;
  place-items: center
}

.row span {
  color: var(--mut)
}

.row b {
  margin-left: auto;
  font-weight: 600
}

.profile .ft {
  background: var(--tint);
  padding: 16px;
  text-align: center
}

.cvv {
  position: relative
}

/* login */
.login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh
}

.login .l {
  position: relative;
  background: #0b4d22 url(../img/login-bg.jpg) center top/cover;
  display: flex;
  align-items: flex-end;
  padding: 56px;
  color: #fff
}

.login .l:after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, rgba(0, 40, 10, .75))
}

.login .l div {
  position: relative;
  z-index: 1;
  max-width: 540px
}

.login .l h1 {
  font: 700 35px/1.15 Poppins, Inter, system-ui, sans-serif;
  color: #fff;
  margin-bottom: 14px
}

.login .l p {
  font-size: 16px;
  line-height: 1.7;
  color: #d6e8da;
  margin: 0;
  font-weight: 300
}

.login .r {
  background: radial-gradient(circle at 0 0, #fff 0, #d6ecd6 28%, #bfe3c4 100%);
  display: grid;
  place-items: center;
  padding: 32px
}

.login form {
  width: 100%;
  max-width: 380px
}

.login .logo {
  height: 84px;
  margin: 0 0 42px -24px
}

.login h2 {
  font: 700 21px Poppins, Inter, system-ui, sans-serif
}

.login .sub {
  color: #5b6b85;
  font-size: 12.5px;
  margin: 6px 0 26px
}

.login .inp {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
  border-radius: 12px;
  margin-bottom: 6px
}

.login .btn {
  margin-top: 14px;
  box-shadow: 0 8px 18px rgba(76, 175, 80, .3)
}

.login label {
  font-size: 13px;
  font-weight: 500;
  display: block;
  margin: 16px 0 8px
}

.login .pw {
  background: none;
  border: 0;
  color: #8693a8;
  cursor: pointer;
  padding: 0
}

.login .back {
  display: block;
  text-align: center;
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--gt)
}

/* landing */
.pub {
  background: #fff
}

.pubtop {
  min-height: 64px;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  gap: 16px;
  position: relative;
  z-index: 50
}

.pubtop-brand {
  display: flex;
  align-items: center;
  gap: 10px
}

.pubtop-brand img {
  height: 38px
}

.pubtop-brand b {
  font: 700 16px Outfit, Inter, system-ui, sans-serif
}

.pubtop-brand .badge {
  background: var(--g);
  color: #fff;
  font-size: 10px;
  margin-left: 6px
}

.pubtop-brand small {
  display: block;
  font-size: 11px;
  color: var(--mut)
}

.pubtop-acts {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  flex-shrink: 0
}

.pubtop-acts .dd {
  margin-left: 0
}

.hero {
  background: var(--g);
  color: #fff;
  padding: 56px 0 76px;
  min-height: 260px;
  text-align: left
}

.hero .pill {
  display: inline-block;
  background: rgba(255, 255, 255, .18);
  border-radius: 8px;
  padding: 5px 12px;
  font: 700 10.5px Inter;
  letter-spacing: .04em;
  margin: 0 0 16px 0
}

.hero h1 {
  color: #fff;
  font: 700 36px Outfit, Inter, system-ui, sans-serif;
  margin: 0 0 12px 0;
  line-height: 1.2;
  text-align: left
}

.hero p {
  max-width: 580px;
  line-height: 1.6;
  margin: 0 0 20px 0;
  color: #dcefe0;
  font-size: 15px;
  text-align: left
}

.hero .meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap
}

.hero .meta span:first-child {
  background: rgba(255, 255, 255, .16);
  padding: 5px 12px;
  border-radius: 6px
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px
}

.pub .wrap>* {
  margin-bottom: 22px
}

.access {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: -30px;
  position: relative;
  z-index: 2
}

.access .ico {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--g);
  color: #fff;
  display: grid;
  place-items: center
}

.access h3 {
  font-size: 15px
}

.access small {
  color: var(--mut)
}

.access-acts {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-wrap: wrap
}

.access-acts .dd {
  margin-left: 0
}

a.btn.btn-dl,
a.btn.btn-dl:visited,
a.btn.btn-dl:hover,
a.btn.btn-dl:active {
  color: #fff;
}

.btn.btn-dl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  text-align: left;
  line-height: 1.2;
  cursor: pointer;
  border-radius: 10px;
  background: var(--g);
  color: #fff;
  border: 0;
  transition: all .15s ease;
  user-select: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
  text-decoration: none;
  white-space: nowrap
}

.btn.btn-dl:hover {
  background: #329942
}

.btn-dl-text {
  display: flex;
  flex-direction: column
}

.btn-dl-text b {
  font-size: 13px;
  font-weight: 700;
  color: #fff !important
}

.btn-dl-text small {
  font-size: 10.5px;
  font-weight: 400;
  color: #d8f5dc !important;
  margin-top: 1px
}

.btn-dl.dd-trigger {
  padding-right: 14px;
  gap: 10px;
}

.btn-dl.dd-trigger .btn-divider {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, .3);
  margin: 0 4px;
  flex: none;
}

.btn-dl.dd-trigger .caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform .2s ease;
  flex: none;
}

.caret {
  display: inline-flex;
  align-items: center;
  transition: transform .2s ease;
}

.dd.open .caret {
  transform: rotate(180deg);
}

.dd {
  position: relative;
  display: inline-block;
  margin-left: 0;
}

.dd > .dd-menu,
.dd > div:not(.btn):not(.btn-dl) {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 300px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
  padding: 14px;
  z-index: 99999;
  border: 1px solid var(--line);
}

.dd.open > .dd-menu,
.dd.open > div:not(.btn):not(.btn-dl) {
  display: block !important;
  animation: ddFade .18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ddFade {
  from {
    opacity: 0;
    transform: translateY(-6px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.dd small.t {
  display: block;
  font: 700 10.5px Inter;
  letter-spacing: .06em;
  margin-bottom: 10px;
  color: var(--ink)
}

.dd a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 4px;
  border-radius: 8px;
  pointer-events: auto;
  cursor: pointer
}

.dd a:hover {
  background: var(--tint)
}

.dd a .ico {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--g);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none
}

.dd a b {
  font: 600 12.5px Inter
}

.dd a small {
  display: block;
  font-size: 11px;
  color: var(--mut)
}

.dd a .badge {
  font-size: 9px;
  padding: 1px 7px;
  margin-left: 4px;
  background: var(--g);
  color: #fff
}

.big {
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .05);
  border: 1px solid rgba(0, 0, 0, .04);
  background: #fff
}

.big .stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px
}

.big .stat small {
  color: #1e293b;
  font: 700 11px Inter;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0
}

.big .stat .ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--g);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none
}

.big b {
  font: 700 42px/1 Outfit, Inter, system-ui, sans-serif;
  color: var(--g);
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 10px
}

.big b span {
  font: 600 17px Outfit, Inter, system-ui, sans-serif;
  color: var(--ink);
  margin: 0
}

.big p {
  margin: 0 0 16px;
  color: #4b5563;
  font-size: 13.5px;
  line-height: 1.5
}

.big small {
  color: var(--g);
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px
}

.two {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
  align-items: start
}

.two h2 {
  font-size: 26px;
  margin: 6px 0 2px
}

.tag {
  font: 700 10.5px Inter;
  letter-spacing: .06em;
  color: var(--g);
  text-transform: uppercase;
  display: flex;
  gap: 7px;
  align-items: center
}

.tag:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--g)
}

.ketua {
  display: flex;
  gap: 16px;
  background: #eef3ff;
  border-radius: 14px;
  padding: 16px;
  margin: 22px 0
}

.ketua img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover
}

.ketua b {
  font: 600 17px Outfit, Inter, system-ui, sans-serif
}

.ketua p {
  color: var(--mut);
  font-size: 12.5px;
  line-height: 1.55;
  margin: 6px 0 0
}

.poktans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px
}

.poktans span {
  background: var(--tint);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a
}

.bar {
  height: 10px;
  border-radius: 99px;
  background: var(--tint);
  overflow: hidden;
  display: flex
}

.bar i {
  display: block;
  height: 100%
}

.kom {
  background: #f0f4ff;
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 12px
}

.kom div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 600 14px Outfit, Inter, system-ui, sans-serif
}

.kom .b {
  height: 6px;
  background: #dce5f7;
  border-radius: 99px;
  margin-top: 8px;
  overflow: hidden
}

.kom .b i {
  display: block;
  height: 100%;
  border-radius: 99px
}

.foot {
  text-align: center;
  color: var(--mut);
  font-size: 12px;
  padding: 40px 16px
}

@media(max-width:1000px) {

  .g4,
  .g3 {
    grid-template-columns: repeat(2, 1fr)
  }

  .two {
    grid-template-columns: 1fr
  }

  .drawer {
    width: 70vw
  }
}

@media(max-width:860px) {
  .burger {
    display: block
  }

  .side {
    transform: translateX(-100%);
    transition: .2s
  }

  body.nav .side {
    transform: none;
    box-shadow: 10px 0 30px rgba(0, 0, 0, .15)
  }

  .main {
    margin-left: 0;
    padding: 18px 14px
  }

  .login {
    grid-template-columns: 1fr
  }

  .login .l {
    display: none
  }

  .g2,
  .g3,
  .g4 {
    grid-template-columns: 1fr
  }

  .drawer,
  .drawer.s {
    width: 100vw;
    min-width: 0
  }

  .poktans {
    grid-template-columns: repeat(2, 1fr)
  }

  .pubtop {
    padding: 10px 24px;
    flex-wrap: nowrap;
    gap: 12px
  }

  .pubtop-acts {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    flex-shrink: 0
  }

  .pubtop-acts .btn {
    flex: none
  }

  .pubtop-acts .dd {
    flex: none
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px
  }
}

/* verifikasi ketua poktan (gapoktan) */
.who-t.rv span {
  color: var(--ink);
  font-weight: 400
}

.stat .ico.r {
  background: var(--redbg);
  color: var(--red)
}

.av.ini.gr {
  background: var(--ok);
  color: var(--g);
  border-radius: 50%
}

.av.ini.sq {
  background: var(--g);
  color: #fff;
  border-radius: 14px;
  font-size: 20px
}

.badge.dot:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 6px;
  vertical-align: middle
}

.tbl.vt td {
  padding: 20px 16px
}

.tbl.vt th {
  padding: 16px
}

.tbl.vt tr.sel td:first-child {
  box-shadow: inset 4px 0 0 var(--g)
}

.drawer.m {
  width: 40vw;
  min-width: 420px
}

.drawer.m>header {
  padding: 22px 24px
}

.drawer.m>footer {
  box-shadow: 0 -6px 18px rgba(15, 27, 51, .06)
}

.drawer.m>footer .btn {
  flex: 1;
  padding: 14px;
  font-size: 15px
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--g);
  color: #fff;
  border-radius: 99px;
  padding: 3px 12px;
  font: 600 11px Inter
}

.pill.red {
  background: var(--redbg);
  color: #7f1d1d
}

.xbtn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--tint);
  display: grid;
  place-items: center;
  color: var(--ink);
  flex: none
}

.callrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 18px
}

.cp {
  border: 0;
  background: none;
  color: var(--mut);
  cursor: pointer;
  padding: 2px;
  border-radius: 6px
}

.cp:hover {
  color: var(--gt);
  background: var(--tint)
}

.cp.ok {
  color: var(--g)
}

.box.proc {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 18px
}

.box.proc p {
  font-size: 13px;
  line-height: 1.55;
  margin: 4px 0 16px
}

.box.proc .inf {
  color: var(--g);
  flex: none;
  margin-top: 1px
}

.chk {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 13.5px;
  line-height: 1.45
}

.chk input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--g);
  flex: none
}

.chk small {
  display: block;
  font-size: 12px;
  color: var(--mut);
  margin-top: 6px
}

.btn.tolak {
  background: var(--redbg);
  color: var(--ink)
}

.btn.tolak:hover {
  background: #ffc7c7
}

.btn:disabled {
  opacity: .45;
  cursor: not-allowed
}

.btn:disabled:hover {
  background: var(--g)
}

.inp.warn {
  border-color: var(--red);
  background: #fff5f5
}

@media(max-width:860px) {
  .drawer.m {
    width: 100vw;
    min-width: 0
  }
}

/* manajemen pengguna: tombol aksi kanan atas */
.head.act {
  flex-wrap: nowrap
}

.head.act>div:first-child {
  flex: 1;
  min-width: 0
}

.head.act .acts {
  display: flex;
  gap: 18px;
  flex: none
}

.head.act .acts .btn {
  font: 600 15px/1.25 Outfit, Inter, system-ui, sans-serif;
  padding: 14px 26px;
  text-align: left
}

@media(max-width:1100px) {
  .head.act {
    flex-wrap: wrap
  }

  .head.act .acts {
    flex-wrap: wrap
  }
}

/* modal detail akun pengguna */
.modal.det {
  max-width: 540px;
  padding: 0;
  overflow: hidden
}

.modal.det .x {
  top: 26px;
  right: 24px
}

.dt-h {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line)
}

.dt-h h2 {
  font-size: 20px;
  margin: 0
}

.dt-h p {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: #46506a
}

.dt-ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--g);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none
}

.dt-ic.s {
  background: var(--tint);
  color: var(--gd);
  width: 34px;
  height: 34px
}

.dt-b {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.dt-prof {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px
}

.dt-prof small {
  color: #46506a;
  font-size: 12.5px
}

.dt-av {
  border: 2px solid var(--g);
  border-radius: 12px;
  padding: 2px;
  background: #fff;
  display: inline-flex;
  flex: none
}

.dt-av .av {
  border-radius: 9px
}

.dt-nm {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2px
}

.dt-nm b {
  font: 700 16px Outfit, Inter, system-ui, sans-serif
}

.dt-st {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #a5f0a8;
  color: #14532d;
  border-radius: 99px;
  padding: 2px 10px;
  font: 600 11px Inter
}

.dt-st:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor
}

.dt-st.off {
  background: var(--redbg);
  color: #7f1d1d
}

.dt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.dt-c {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 76px
}

.dt-c small {
  display: block;
  font: 600 12px Inter;
  color: #2a3550;
  margin-bottom: 8px
}

.dt-v {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px
}

.dt-v .cp {
  margin-left: auto
}

.dt-v .mono {
  font-family: "Courier New", monospace
}

.dt-v.dim {
  color: #9aa3b2
}

.dt-v.b {
  font: 700 16px Outfit, Inter, system-ui, sans-serif;
  color: #7a8394
}

.dt-sta {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px
}

.dt-sta small {
  display: block;
  font: 600 12px Inter;
  color: #2a3550
}

.dt-sta b {
  font: 600 15px Outfit, Inter, system-ui, sans-serif
}

.dt-ctl {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  background: #ffe9e9;
  border: 1px solid #f4a9a9;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0
}

.dt-ctl b {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #7f1d1d;
  font: 700 14px Outfit, Inter, system-ui, sans-serif
}

.dt-ctl p {
  margin: 3px 0 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: #46506a
}

.dt-ctl.ok {
  background: #eaf7ec;
  border-color: #b9e2bf
}

.dt-ctl.ok b {
  color: var(--gd)
}

.dt-btn {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
  background: #fff;
  color: #b71c1c;
  border: 1px solid #e57373;
  border-radius: 8px;
  padding: 9px 14px;
  font: 700 13px Inter;
  cursor: pointer
}

.dt-btn:hover {
  background: #fff5f5
}

.dt-ctl.ok .dt-btn {
  color: var(--gd);
  border-color: var(--g)
}

.dt-ctl.ok .dt-btn:hover {
  background: #f1faf2
}

.dt-f {
  border-top: 1px solid var(--line);
  padding-top: 12px
}

.dt-tutup {
  display: inline-block;
  border: 1px solid #cfd6e4;
  border-radius: 8px;
  padding: 9px 18px;
  font-weight: 600;
  background: #fff
}

.dt-tutup:hover {
  background: var(--tint)
}

@media(max-width:560px) {
  .dt-grid {
    grid-template-columns: 1fr
  }

  .dt-ctl {
    flex-direction: column;
    align-items: stretch
  }
}

.modal.det .x {
  color: var(--ink)
}

/* lupa password: baris tautan di halaman login */
.login .links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 22px
}

.login .links .back {
  margin-top: 0;
  text-align: left;
  display: inline-block
}

.login .links .lupa {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gt)
}

.login .links .lupa:hover,
.login .links .back:hover {
  text-decoration: underline
}

.login .hint {
  font-size: 12px;
  line-height: 1.5;
  color: #5b6b85;
  margin: 16px 0 0
}

/* lupa password 3 langkah: stepper, nomor HP, OTP */
.login form.wide {
  max-width: 430px
}

.login form.wide .logo {
  margin-bottom: 26px
}

.stp {
  display: flex;
  align-items: flex-start;
  background: rgba(255, 255, 255, .85);
  border-radius: 14px;
  padding: 12px 20px;
  box-shadow: 0 2px 8px rgba(15, 27, 51, .06);
  margin-bottom: 26px
}

.stp .st {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 62px;
  color: #7b8aa3
}

.stp .st small {
  font-size: 11px;
  white-space: nowrap
}

.stp .dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 600 12px Inter;
  background: #fff;
  border: 2px solid #d5deec;
  color: #7b8aa3
}

.stp .st.on .dot {
  background: var(--g);
  border-color: var(--g);
  color: #fff;
  box-shadow: 0 0 0 4px #cfeacf
}

.stp .st.on small,
.stp .st.done small {
  color: var(--g)
}

.stp .st.done .dot {
  background: var(--g);
  border-color: var(--g);
  color: #fff
}

.stp .ln {
  flex: 1;
  height: 2px;
  background: #dfe6f1;
  margin: 16px 6px 0
}

.stp .ln.done {
  background: var(--g)
}

.login .lbl {
  display: flex;
  justify-content: space-between;
  align-items: baseline
}

.login .lbl small {
  font-size: 10.5px;
  font-weight: 400;
  color: #8c99ae
}

.login .inp.ph {
  padding: 0 14px 0 0;
  border: 2px solid transparent
}

.login .inp.ph:focus-within,
.login .inp.ph.v {
  border-color: var(--g)
}

.inp.ph .cc {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  align-self: stretch;
  border-right: 1px solid var(--line);
  font-weight: 600;
  font-size: 14px
}

.flag {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  background: linear-gradient(#e70011 50%, #fff 50%);
  box-shadow: 0 0 0 1px #e5e9f0;
  display: inline-block
}

.inp.ph input {
  padding-left: 4px;
  font-weight: 500;
  letter-spacing: .02em
}

.inp.ph .ok {
  display: none;
  color: var(--g)
}

.inp.ph.v .ok {
  display: flex
}

.login .hint {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--g);
  font-size: 12px;
  margin: 8px 0 0
}

.otp {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px
}

.otp input {
  width: 100%;
  aspect-ratio: 1/.95;
  text-align: center;
  font: 700 20px Inter;
  border: 2px solid #dfe6f1;
  border-radius: 12px;
  background: #f3f6fb;
  color: var(--ink);
  outline: 0;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05)
}

.otp input:focus,
.otp input.f {
  border-color: var(--g);
  background: #fff
}

.otp.err input {
  border-color: var(--red);
  background: #fff5f5
}

.otp input::placeholder {
  color: #8c99ae
}

.rs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0 4px;
  font-size: 12px;
  color: #5b6b85
}

.rs .tm {
  display: flex;
  align-items: center;
  gap: 6px
}

.rs b {
  color: var(--ink)
}

.rs .lnk {
  background: none;
  border: 0;
  font: 600 12px Inter;
  color: var(--gt);
  cursor: pointer;
  padding: 0
}

.rs .lnk:disabled {
  color: #9aa8bd;
  cursor: not-allowed
}

.flash.demo {
  background: #fff8dc;
  color: #6b4e00;
  border: 1px dashed #e2b93b;
  font-size: 13px
}

.flash.demo .kd {
  font: 700 18px/1 Inter;
  letter-spacing: .2em;
  margin-left: 4px
}

.flash.demo small {
  opacity: .8
}

@media(max-width:420px) {
  .otp {
    gap: 6px
  }

  .stp {
    padding: 10px 8px
  }

  .stp .st {
    min-width: 52px
  }

  .stp .st small {
    font-size: 10px
  }
}

/* ubah foto profil & unified profile (Admin, PPL, Gapoktan) */
:root {
  --green: #4caf50;
  --green-hover: #43a047;
  --green-dark: #0a6b24;
  --green-title: #1b7a2f;
  --text: #0f1b33;
  --muted: #5b667a;
  --soft: #eef3ff;
  --shadow: 0 1px 3px rgba(15, 27, 51, .08), 0 6px 18px rgba(15, 27, 51, .04);
  --ok-bg: #d8f5dc;
}

.page-heading {
  margin-bottom: 24px;
}

.page-heading h1 {
  font-family: "Plus Jakarta Sans", "Outfit", Inter, sans-serif;
  font-size: 26px;
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 700;
}

.page-heading p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.page-heading.centered {
  text-align: center;
}

/* PROFIL CARD (VIEW) */
.pf-card {
  max-width: 560px;
  width: 100%;
  margin: 8px auto 0;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pf-banner {
  height: 140px;
  background: var(--green);
}

.pf-body {
  padding: 0 28px 24px;
  display: flex;
  flex-direction: column;
}

.pf-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: var(--green);
  margin: -56px auto 12px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 27, 51, .1);
}

.pf-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.pf-avatar-ini {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
}

.pf-name {
  text-align: center;
  font-family: "Plus Jakarta Sans", "Outfit", Inter, sans-serif;
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--text);
  font-weight: 700;
}

.pf-role-bar {
  height: 34px;
  background: var(--soft);
  border-radius: 8px;
  margin-bottom: 20px;
}

.pf-section {
  font-size: 10.5px;
  letter-spacing: .06em;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}

.pf-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.pf-row:last-child {
  border-bottom: none;
}

.pf-ic {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  flex-shrink: 0;
}

.pf-label {
  color: var(--muted);
  flex: 1;
}

.pf-row b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
}

.pf-copy {
  color: var(--muted);
  font-size: 13px;
  padding: 4px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
}

.pf-copy:hover {
  color: var(--green);
  background: var(--soft);
}

.pf-foot {
  background: var(--soft);
  padding: 18px;
  text-align: center;
}

.btn-edit-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--green);
  color: var(--green-title);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
}

.btn-edit-outline:hover {
  background: var(--ok-bg);
}

/* EDIT PROFIL FORM */
.form-card {
  background: #fff;
  border-radius: 14px;
  padding: 32px;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-sizing: border-box;
}

.form-card-header h3 {
  font-family: "Plus Jakarta Sans", "Outfit", Inter, sans-serif;
  font-size: 18px;
  color: var(--text);
  margin: 0;
  font-weight: 700;
}

.form-card-header p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
  margin-bottom: 0;
}

.form-card-header {
  padding-bottom: 4px;
}

.avatar-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 6px 0 8px;
}

.avatar-big {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.avatar-big img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.avatar-big-ini {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
}

.avatar-edit {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 3px solid #fff;
  transition: background .15s;
}

.avatar-edit:hover {
  background: var(--green-hover);
}

.avatar-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.avatar-hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
  margin-top: 2px;
}

.form-inputs-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-card .field {
  margin-bottom: 0;
}

.form-card .field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.req {
  color: var(--red);
}

.field-input {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--green);
  border-radius: 10px;
  height: 44px;
  transition: box-shadow .2s;
}

.field-input:focus-within {
  box-shadow: 0 0 0 3px rgba(76, 175, 80, .18);
}

.field-input.invalid {
  border-color: var(--red);
}

.field-input input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 16px 0 44px;
  font-size: 14px;
  color: var(--text);
  border: none;
  background: none;
  outline: none;
}

.f-icon {
  position: absolute;
  left: 14px;
  pointer-events: none;
  color: var(--muted);
}

.f-icon-right {
  margin-right: 14px;
  pointer-events: none;
  color: var(--muted);
  flex-shrink: 0;
}

.field-input.phone .phone-prefix {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: var(--soft);
  border-right: 1px solid var(--line);
  border-radius: 8px 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.field-input.phone input {
  padding-left: 14px;
  padding-right: 10px;
}

.field-error {
  color: var(--red);
  font-size: 12px;
  margin-top: 4px;
  min-height: 0;
}

.field-error:empty {
  display: none;
}

.bottom-action-bar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  margin-top: 4px;
}

.bottom-action-bar.right {
  justify-content: flex-end;
}

.btn-cancel {
  height: 42px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}

.btn-cancel:hover {
  background: var(--soft);
  color: var(--text);
}

.btn-primary {
  height: 42px;
  padding: 0 24px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  transition: background .15s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--green-hover);
}

.btn-primary:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 300;
  background: var(--text);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}

.toast.show {
  opacity: 1;
  transform: none;
}

/* ==========================================================
   MOBILE FIX - Landing page (hanya <= 640px, desktop tidak berubah)
   ========================================================== */
@media (max-width: 640px) {
  html, body.pub { overflow-x: hidden; }

  /* Header: logo di atas, tombol di bawah (sejajar, sama lebar) */
  .pub .pubtop {
    flex-wrap: wrap;
    padding: 12px 14px;
    gap: 10px;
  }
  .pub .pubtop-brand { width: 100%; min-width: 0; }
  .pub .pubtop-brand img { height: 34px; flex: none; }
  .pub .pubtop-brand > div { min-width: 0; }
  .pub .pubtop-brand b { font-size: 15px; }
  .pub .pubtop-brand small { font-size: 10.5px; line-height: 1.3; }

  .pub .pubtop-acts {
    width: 100%;
    margin-left: 0;
    gap: 8px;
    flex-shrink: 1;
    align-items: stretch;
  }
  .pub .pubtop-acts > .btn,
  .pub .pubtop-acts > .dd {
    flex: 1 1 0;
    min-width: 0;
  }
  .pub .pubtop-acts .dd { display: flex; position: static; }
  .pub .pubtop-acts .btn.btn-dl {
    width: 100%;
    min-width: 0;
    padding: 8px 10px;
    gap: 7px;
    white-space: normal;
    justify-content: flex-start;
  }
  .pub .pubtop-acts .btn-dl-text { min-width: 0; flex: 1 1 auto; }
  .pub .pubtop-acts .btn-dl-text b { font-size: 12px; line-height: 1.25; }
  .pub .pubtop-acts .btn-dl-text small { font-size: 9.5px; line-height: 1.3; }
  .pub .pubtop-acts .btn-dl svg { flex: none; }
  .pub .btn-dl.dd-trigger { padding-right: 8px; gap: 6px; }
  .pub .btn-dl.dd-trigger .btn-divider { margin: 0 1px; height: 22px; }

  /* Dropdown: melebar mengikuti layar, tidak keluar layar */
  .pub .pubtop-acts .dd > .dd-menu,
  .pub .pubtop-acts .dd > div:not(.btn):not(.btn-dl) {
    left: 14px;
    right: 14px;
    top: calc(100% - 4px);
    width: auto;
    max-width: none;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px;
  }
  .pub .dd a { padding: 10px 6px; min-height: 48px; }
  .pub .dd a > span:last-child { min-width: 0; }
  .pub .dd a b { font-size: 13px; }
  .pub .dd a small { font-size: 11px; line-height: 1.35; }

  /* Hero */
  .pub .hero { padding: 32px 16px 54px; min-height: 0; }
  .pub .hero .wrap { padding: 0; }
  .pub .hero .pill { font-size: 10px; line-height: 1.5; padding: 5px 10px; margin-bottom: 14px; }
  .pub .hero h1 { font-size: 26px; line-height: 1.25; }
  .pub .hero p { font-size: 14px; margin-bottom: 16px; }
  .pub .hero .meta { gap: 8px; font-size: 11.5px; }
  .pub .hero .meta span { display: block; }

  /* Konten */
  .pub .wrap { padding: 0 14px; }
  .pub .wrap > * { margin-bottom: 16px; }
  .pub .grid { gap: 14px; }
  .pub .big { padding: 18px; }
  .pub .big b { font-size: 34px; flex-wrap: wrap; gap: 6px; }
  .pub .big b span { font-size: 15px; }
  .pub .big p { font-size: 13px; }

  .pub .two { gap: 16px; }
  .pub .two .card { padding: 16px; min-width: 0; }
  .pub .two h2 { font-size: 21px; }
  .pub .ketua { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px; margin: 16px 0; }
  .pub .ketua img,
  .pub .ketua .av { width: 68px; height: 68px; }
  .pub .poktans { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .pub .poktans span { padding: 9px 6px; font-size: 12px; }
  .pub .kom { padding: 12px 14px; }
  .pub .kom div { font-size: 13px; }

  /* Blok bergaya inline pada "Distribusi Komoditas" */
  .pub .two .card div[style*="justify-content:space-between"] {
    flex-wrap: wrap;
    gap: 6px 10px;
  }
  .pub .two .card .box { padding: 14px !important; }

  .pub .foot { padding: 28px 14px; font-size: 11.5px; line-height: 1.5; }
}

@media (max-width: 360px) {
  .pub .pubtop-acts .btn-dl-text small { display: none; }
  .pub .hero h1 { font-size: 23px; }
  .pub .big b { font-size: 30px; }
}
