*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

:root {
  --navy: #C0543A;
  --navy2: #A03E28;
  --gold: #E8855A;
  --bg: #FDF6F2;
  --white: #fff;
  --text: #2C1810;
  --muted: #8C7B75;
  --border: #EDD9D0;
  --red: #dc2626;
  --redbg: #fee2e2;
  --green: #16a34a;
  --greenbg: #dcfce7;
  --amber: #C0543A;
  --amberbg: #fdf0eb;
  --r: 14px;
  --rs: 8px;
  --sh: 0 2px 16px rgba(0, 0, 0, .08);
  --shh: 0 10px 32px rgba(0, 0, 0, .15)
}

html {
  scroll-behavior: smooth
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.5
}

/* LOGIN */
.login-screen {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;
  background: #f5efe8
}

@media(max-width:640px) {
  .login-polaroid {
    opacity: .4;
    transform: scale(.7)
  }
}

/* Polaroid photos scattered in background */
.login-polaroid {
  position: absolute;
  background: white;
  padding: 6px 6px 22px;
  box-shadow: 0 5px 18px rgba(139, 51, 32, .13);
  border-radius: 4px;
  z-index: 1
}

.login-polaroid img {
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 2px
}

.login-left {
  display: none
}

.login-mosaic {
  display: none
}

.login-mosaic-overlay {
  display: none
}

.login-left-brand {
  display: none
}

.login-right {
  display: none
}

.login-right-inner {
  display: none
}

.login-bg {
  display: none
}

.login-overlay {
  display: none
}

.login-box {
  background: white;
  border-radius: 22px;
  padding: 38px 34px;
  width: calc(100% - 40px);
  max-width: 380px;
  box-shadow: 0 24px 70px rgba(139, 51, 32, .25);
  text-align: center;
  border: 1px solid rgba(192, 84, 58, .08)
}

.login-icon {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  padding: 4px;
  box-shadow: 0 4px 14px rgba(192, 84, 58, .2)
}

.login-title {
  font-size: 22px;
  font-weight: 800;
  color: #C0543A;
  margin-bottom: 4px
}

.login-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px
}

.login-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  margin-bottom: 12px;
  transition: border-color .2s;
  background: #fafafa
}

.login-input:focus {
  border-color: #C0543A
}

.login-btn {
  width: 100%;
  padding: 13px;
  background: #C0543A;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: .3px
}

.login-btn:hover {
  background: #A03E28
}

.login-btn:disabled {
  opacity: .6;
  cursor: wait
}

.login-err {
  color: var(--red);
  font-size: 12px;
  margin-top: 6px;
  display: none
}

.login-hint {
  font-size: 11px;
  color: #bbb;
  margin-top: 16px;
  text-align: center
}

.mode-btn {
  background: none;
  border: none;
  color: #C0543A;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 6px;
  font-family: inherit;
  font-weight: 600
}

/* SYNC */
.sync-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6b7280;
  display: inline-block;
  margin-right: 5px;
  flex-shrink: 0
}

.sync-dot.connected {
  background: #6ee7b7;
  box-shadow: 0 0 5px #6ee7b7
}

.sync-dot.connecting {
  background: #f59e0b;
  animation: pulse 1s infinite
}

.sync-dot.error {
  background: #ef4444
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .3
  }
}

/* HEADER */
.header {
  background: linear-gradient(135deg, #C0543A 0%, #8B3320 100%);
  padding: 12px 20px 16px;
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(27, 43, 75, .4)
}

.header-inner {
  max-width: 100%;
  margin: 0 auto
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap
}

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

.brand-icon {
  width: 40px;
  height: 40px;
  background: #F2A882;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0
}

.brand-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2
}

.brand-sub {
  font-size: 11px;
  opacity: .6;
  margin-top: 1px;
  display: flex;
  align-items: center;
  gap: 4px
}

.header-right {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap
}

.btn-add {
  background: #F2A882;
  color: #2C1810;
  border: none;
  padding: 9px 16px;
  border-radius: var(--rs);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s
}

.btn-add:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(192, 84, 58, .4)
}

.btn-logout {
  background: rgba(255, 255, 255, .18);
  color: white;
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 7px 12px;
  border-radius: var(--rs);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit
}

.btn-export-hdr {
  background: rgba(255, 255, 255, .15);
  color: white;
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 7px 12px;
  border-radius: var(--rs);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit
}

.stats-bar {
  display: none
}

.stat-chip {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 9px;
  padding: 7px 13px
}

.stat-lbl {
  font-size: 10px;
  opacity: .65;
  text-transform: uppercase;
  letter-spacing: .8px
}

.stat-val {
  font-size: 16px;
  font-weight: 800;
  color: #F2A882;
  display: block;
  margin-top: 1px
}

/* TABS */
.tab-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  position: sticky;
  top: 62px;
  z-index: 89;
  display: flex;
  gap: 6px;
  overflow-x: auto
}

.tab-bar::-webkit-scrollbar {
  display: none
}

@media(max-width:640px) {
  .tab-bar {
    top: 58px
  }
}

.tab-btn {
  padding: 7px 16px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  border-radius: 20px;
  white-space: nowrap;
  font-family: inherit;
  transition: all .2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06)
}

.tab-btn.active {
  background: #C0543A;
  border-color: #C0543A;
  color: white;
  box-shadow: 0 3px 10px rgba(192, 84, 58, .3)
}

.tab-btn:hover:not(.active) {
  background: #fdf0eb;
  border-color: #C0543A;
  color: #C0543A
}

/* FILTER BAR */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 20px
}

.filter-inner {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: center
}

.search-wrap {
  flex: 1;
  min-width: 170px;
  position: relative
}

.search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 13px;
  pointer-events: none
}

.filter-input {
  width: 100%;
  padding: 8px 10px 8px 32px;
  border: 1.5px solid var(--border);
  border-radius: var(--rs);
  font-size: 13px;
  font-family: inherit;
  background: white;
  color: var(--text);
  outline: none;
  transition: border-color .2s
}

.filter-input:focus {
  border-color: #C0543A
}

.filter-select {
  padding: 8px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--rs);
  font-size: 13px;
  font-family: inherit;
  background: white;
  color: var(--text);
  cursor: pointer;
  outline: none
}

.view-toggle {
  display: flex;
  gap: 3px
}

.view-btn {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--border);
  border-radius: var(--rs);
  background: white;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s
}

.view-btn.active {
  background: #C0543A;
  border-color: #C0543A;
  color: white
}

/* MAIN */
.main {
  max-width: 100%;
  margin: 0 auto;
  padding: 16px 20px 40px;
  position: relative
}

.tab-panel {
  display: none
}

.tab-panel.active {
  display: block
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px
}

@media(max-width:640px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 11px
  }
}

.list-view {
  display: flex;
  flex-direction: column;
  gap: 9px
}

/* CARD */
.card {
  background: white;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  display: flex;
  flex-direction: column
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shh)
}

.card-img-wrap {
  position: relative;
  height: 165px;
  overflow: hidden;
  background: #e5e7eb;
  flex-shrink: 0
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s
}

.card:hover .card-img {
  transform: scale(1.04)
}

.img-count {
  position: absolute;
  bottom: 7px;
  left: 7px;
  background: rgba(0, 0, 0, .55);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px
}

.badge-status {
  position: absolute;
  top: 9px;
  left: 9px;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: white
}

.badge-trend {
  position: absolute;
  bottom: 9px;
  right: 9px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 18px
}

.card-body {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column
}

.card-name {
  font-size: 14px;
  font-weight: 700;
  color: #C0543A;
  line-height: 1.3;
  margin-bottom: 2px
}

.card-wilayah {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 5px
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-bottom: 5px
}

.card-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 9px;
  background: #fdf0eb;
  color: #C0543A
}

.card-alamat {
  font-size: 11px;
  color: #555;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
  flex: 1
}

.card-contact {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px
}

.card-price {
  font-size: 17px;
  font-weight: 800;
  color: #C0543A;
  line-height: 1
}

.card-meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  margin-bottom: 9px
}

.card-actions {
  display: flex;
  gap: 6px
}

.btn-sm {
  padding: 7px 0;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  border: none;
  flex: 1;
  transition: background .15s
}

.btn-sm-outline {
  padding: 7px 0;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  border: 1.5px solid #C0543A;
  background: transparent;
  color: #C0543A;
  flex: 1
}

.btn-sm-outline:hover {
  background: #fdf0eb
}

.btn-sm-navy {
  background: #C0543A;
  color: white
}

.btn-sm-navy:hover {
  background: #A03E28
}

.btn-sm-amber {
  background: #fef3c7;
  color: var(--amber)
}

.btn-sm-amber:hover {
  background: #fde68a
}

.btn-sm-red {
  background: var(--redbg);
  color: var(--red);
  padding: 7px 11px;
  flex: none
}

.btn-sm-share {
  background: #fdf0eb;
  color: #C0543A;
  border: 1.5px solid #EDD9D0;
  padding: 7px 11px;
  flex: none;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit
}

.btn-sm-share:hover {
  background: #f5e0d8
}

.btn-sm-red:hover {
  background: #fecaca
}

/* LIST CARD */
.list-card {
  background: white;
  border-radius: var(--rs);
  box-shadow: var(--sh);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  cursor: pointer;
  transition: box-shadow .2s
}

.list-card:hover {
  box-shadow: var(--shh)
}

.list-thumb {
  width: 72px;
  height: 58px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0
}

.list-info {
  flex: 1;
  min-width: 0
}

.list-name {
  font-size: 13px;
  font-weight: 700;
  color: #C0543A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.list-loc {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px
}

.list-right {
  text-align: right;
  flex-shrink: 0
}

.list-price {
  font-size: 14px;
  font-weight: 800;
  color: #C0543A
}

.list-kenaikan {
  font-size: 11px;
  margin-top: 2px
}

.list-actions {
  display: flex;
  gap: 5px;
  margin-top: 5px;
  justify-content: flex-end
}

/* SKELETON */
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px
}

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

.skel-card {
  background: white;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh)
}

.skel-img {
  height: 165px;
  background: #e5e7eb
}

.skel-body {
  padding: 12px 14px
}

.skel-line {
  height: 12px;
  border-radius: 5px;
  background: #e5e7eb;
  margin-bottom: 8px;
  animation: shimmer 1.4s infinite
}

.skel-line.s {
  width: 50%
}

.skel-line.m {
  width: 72%
}

@keyframes shimmer {
  0% {
    background: #e5e7eb
  }

  50% {
    background: #f3f4f6
  }

  100% {
    background: #e5e7eb
  }
}

/* EMPTY */
.empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted)
}

.empty-icon {
  font-size: 44px;
  margin-bottom: 11px
}

.empty-title {
  font-size: 15px;
  font-weight: 700;
  color: #aaa;
  margin-bottom: 4px
}

/* MODAL */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 14px;
  animation: fadeIn .15s ease
}

.overlay.active {
  display: flex
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes slideUp {
  from {
    transform: translateY(18px);
    opacity: 0
  }

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

.modal {
  background: white;
  border-radius: var(--r);
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .28);
  animation: slideUp .2s ease
}

.modal-lg {
  max-width: 620px
}

.modal-sm {
  max-width: 400px
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px 12px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: white;
  z-index: 1
}

.modal-title {
  font-size: 16px;
  font-weight: 800;
  color: #C0543A
}

.btn-close {
  width: 28px;
  height: 28px;
  border: none;
  background: #f5f5f5;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center
}

.btn-close:hover {
  background: #ebebeb
}

.modal-body {
  padding: 16px 20px
}

/* FORM */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px
}

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

.fg {
  display: flex;
  flex-direction: column;
  gap: 4px
}

.fg.full {
  grid-column: 1/-1
}

.flbl {
  font-size: 11px;
  font-weight: 700;
  color: #C0543A;
  text-transform: uppercase;
  letter-spacing: .5px
}

.fi,
.fs,
.fta {
  padding: 9px 11px;
  border: 1.5px solid var(--border);
  border-radius: var(--rs);
  font-size: 13px;
  font-family: inherit;
  color: var(--text);
  background: white;
  transition: border-color .2s;
  outline: none;
  width: 100%
}

.fi:focus,
.fs:focus,
.fta:focus {
  border-color: #C0543A
}

.fta {
  resize: vertical;
  min-height: 65px
}

.photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 5px
}

.photo-thumb {
  position: relative;
  height: 66px;
  border-radius: 5px;
  overflow: hidden;
  background: #f3f4f6
}

.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.photo-del {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 17px;
  height: 17px;
  background: rgba(220, 38, 38, .85);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center
}

.tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  border: 1.5px solid var(--border);
  border-radius: var(--rs);
  padding: 5px 8px;
  min-height: 38px;
  cursor: text;
  align-items: center
}

.tags-wrap:focus-within {
  border-color: #C0543A
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #fdf0eb;
  color: #C0543A;
  border-radius: 10px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600
}

.tag-chip button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  padding: 0
}

.tag-ri {
  border: none;
  outline: none;
  font-size: 13px;
  font-family: inherit;
  min-width: 70px
}

.form-footer {
  display: flex;
  gap: 9px;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--border)
}

.btn-cancel {
  flex: 1;
  padding: 10px 0;
  border: 1.5px solid var(--border);
  border-radius: var(--rs);
  background: white;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit
}

.btn-save {
  flex: 2;
  padding: 10px 0;
  border: none;
  border-radius: var(--rs);
  background: #C0543A;
  color: white;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit
}

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

.btn-save:hover:not(:disabled) {
  background: #A03E28
}

/* DETAIL */
.gallery {
  display: grid;
  gap: 5px;
  margin-bottom: 13px
}

.gallery img {
  width: 100%;
  border-radius: 7px;
  object-fit: cover;
  cursor: pointer
}

.gallery.one img {
  height: 190px
}

.gallery.multi {
  grid-template-columns: 1fr 1fr
}

.gallery.multi img {
  height: 120px
}

.gallery.multi img:first-child {
  grid-column: 1/-1;
  height: 180px
}

.det-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 7px;
  gap: 9px
}

.det-name {
  font-size: 17px;
  font-weight: 800;
  color: #C0543A;
  line-height: 1.3
}

.det-loc {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px
}

.det-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-bottom: 7px
}

.det-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9px;
  background: #fdf0eb;
  color: #C0543A
}

.det-alamat {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 5px
}

.det-contact {
  font-size: 13px;
  color: #555;
  margin-bottom: 13px
}

.det-contact a {
  color: var(--green);
  text-decoration: none;
  font-weight: 600
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #25D366;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: var(--rs);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  margin-top: 4px
}

.det-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  background: #fdf6f2;
  border-radius: 9px;
  padding: 13px;
  margin-bottom: 11px
}

.det-ilbl {
  font-size: 10px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 2px
}

.det-ival {
  font-size: 15px;
  font-weight: 800;
  color: #C0543A
}

.det-isub {
  font-size: 11px;
  color: #aaa;
  margin-top: 1px
}

.history-box {
  background: #fdf6f2;
  border-radius: 9px;
  padding: 13px;
  margin-bottom: 11px
}

.box-title {
  font-size: 11px;
  font-weight: 800;
  color: #C0543A;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 9px
}

.hist-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid #eee;
  font-size: 12px
}

.hist-row:last-child {
  border: none
}

.hist-date {
  color: var(--muted)
}

.hist-price {
  font-weight: 700;
  color: var(--navy)
}

.hist-diff {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 9px
}

.proyeksi-box {
  background: #fdf0eb;
  border: 1px solid #EDD9D0;
  border-radius: 9px;
  padding: 13px;
  margin-bottom: 11px
}

.proy-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px
}

.proy-row:last-child {
  margin-bottom: 0
}

.proy-lbl {
  font-size: 13px;
  color: #666
}

.proy-val {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy)
}

.proy-val.gold {
  color: var(--gold)
}

.catatan-box {
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 11px;
  margin-bottom: 11px
}

.catatan-txt {
  font-size: 13px;
  color: #555;
  line-height: 1.6
}

.det-meta {
  font-size: 11px;
  color: #bbb;
  text-align: right;
  margin-top: 4px
}

/* DASHBOARD */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 13px;
  margin-bottom: 18px
}

.dash-card {
  background: white;
  border-radius: var(--r);
  padding: 16px;
  box-shadow: var(--sh)
}

.dash-lbl {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 5px
}

.dash-val {
  font-size: 24px;
  font-weight: 800;
  color: #C0543A
}

.dash-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px
}

.chart-box {
  background: white;
  border-radius: var(--r);
  padding: 16px;
  box-shadow: var(--sh);
  margin-bottom: 14px
}

.chart-title {
  font-size: 13px;
  font-weight: 700;
  color: #C0543A;
  margin-bottom: 13px
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px
}

.bar-lbl {
  font-size: 11px;
  color: var(--text);
  width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0
}

.bar-track {
  flex: 1;
  height: 20px;
  background: #f0f2f8;
  border-radius: 5px;
  overflow: hidden
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #C0543A, #E8855A);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
  transition: width .6s
}

.bar-fval {
  font-size: 10px;
  font-weight: 700;
  color: white;
  white-space: nowrap
}

.pie-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px
}

.pie-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0
}

.pie-lbl {
  font-size: 13px;
  color: var(--text);
  flex: 1
}

.pie-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy)
}

.k-fill {
  height: 100%;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
  transition: width .6s
}

.dash-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

@media(max-width:640px) {
  .dash-2col {
    grid-template-columns: 1fr
  }
}

/* DELETE */
.del-body {
  text-align: center;
  padding: 8px 0
}

.del-icon {
  font-size: 40px;
  margin-bottom: 9px
}

.del-title {
  font-size: 16px;
  font-weight: 800;
  color: #C0543A;
  margin-bottom: 4px
}

.del-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.5
}

.btn-conf-del {
  flex: 1;
  padding: 10px 0;
  border: none;
  border-radius: var(--rs);
  background: #dc2626;
  color: white;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  flex-direction: column
}

.lightbox.active {
  display: flex
}

.lb-img {
  max-width: 95vw;
  max-height: 85vh;
  border-radius: 7px;
  object-fit: contain
}

.lb-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, .2);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .15);
  border: none;
  color: white;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 19px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center
}

.lb-prev {
  left: 12px
}

.lb-next {
  right: 12px
}

.lb-counter {
  color: rgba(255, 255, 255, .6);
  font-size: 12px;
  margin-top: 10px
}

/* TOAST */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--navy);
  color: white;
  padding: 10px 19px;
  border-radius: 28px;
  font-size: 13px;
  font-weight: 600;
  z-index: 9999;
  transition: transform .3s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  white-space: nowrap;
  pointer-events: none
}

.toast.show {
  transform: translateX(-50%) translateY(0)
}


/* EXISTING RUKO */
.ex-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px
}

.ex-title {
  font-size: 17px;
  font-weight: 800;
  color: #C0543A
}

.ex-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px
}

.ex-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px
}

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

.ex-card {
  background: white;
  border-radius: var(--r);
  box-shadow: var(--sh);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column
}

.ex-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shh)
}

.ex-card-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block
}

.ex-card-body {
  padding: 14px 15px 15px;
  flex: 1;
  display: flex;
  flex-direction: column
}

.ex-card-name {
  font-size: 14px;
  font-weight: 800;
  color: #C0543A;
  margin-bottom: 3px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical
}

.ex-card-addr {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.ex-price-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-bottom: 12px
}

.ex-yr {
  background: #f8f9ff;
  border-radius: 6px;
  padding: 5px 4px;
  text-align: center
}

.ex-yr-lbl {
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .3px
}

.ex-yr-val {
  font-size: 11px;
  font-weight: 800;
  color: #C0543A;
  margin-top: 1px;
  white-space: nowrap
}

.ex-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap
}

.ex-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-family: inherit
}

.ex-badge-maps {
  background: #e8f5e9;
  color: #2e7d32
}

.ex-badge-pdf {
  background: #fff3e0;
  color: #e65100
}

.ex-badge-maps:hover {
  background: #c8e6c9
}

.ex-badge-pdf:hover {
  background: #ffe0b2
}

.ex-card-actions {
  display: flex;
  gap: 7px;
  margin-top: 10px
}

.upload-zone {
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 22px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  margin-top: 6px
}

.upload-zone:hover {
  border-color: #C0543A;
  background: #fdf0eb
}

.upload-zone.dragover {
  border-color: #C0543A;
  background: #fdf0eb
}

.upload-icon {
  font-size: 28px;
  margin-bottom: 6px
}

.upload-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy)
}

.upload-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px
}

.upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px
}

.up-thumb {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid var(--border)
}

.up-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.up-thumb-del {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: rgba(220, 38, 38, .85);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center
}

.up-thumb-prog {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: white
}

.ex-det-gallery {
  display: grid;
  gap: 6px;
  margin-bottom: 14px
}

.ex-det-gallery.one img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer
}

.ex-det-gallery.multi {
  grid-template-columns: 1fr 1fr
}

.ex-det-gallery.multi img {
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  width: 100%
}

.ex-det-gallery.multi img:first-child {
  grid-column: 1/-1;
  height: 190px
}

.ex-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: #f8f9ff;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px
}

.ex-info-item-lbl {
  font-size: 10px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: .7px;
  margin-bottom: 2px
}

.ex-info-item-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy)
}

.ex-price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 12px
}

.ex-price-table th {
  background: #C0543A;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 12px;
  text-align: left
}

.ex-price-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #f0f2f8;
  font-size: 13px
}

.ex-price-table tr:last-child td {
  border-bottom: none
}

.ex-price-table tr:hover td {
  background: #f8f9ff
}

.ex-price-kenaikan {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 10px;
  margin-left: 6px
}

.ex-docs-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px
}

.btn-maps {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e8f5e9;
  color: #2e7d32;
  border: none;
  padding: 10px 16px;
  border-radius: var(--rs);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit
}

.btn-maps:hover {
  background: #c8e6c9
}

.btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff3e0;
  color: #e65100;
  border: none;
  padding: 10px 16px;
  border-radius: var(--rs);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit
}

.btn-pdf:hover {
  background: #ffe0b2
}

/* MULTI DOKUMEN */
.doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fdf6f2;
  border: 1.5px solid #EDD9D0;
  border-radius: 8px;
  padding: 9px 12px;
  gap: 8px
}

.doc-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0
}

.doc-item-icon {
  font-size: 18px;
  flex-shrink: 0
}

.doc-item-name {
  font-size: 12px;
  font-weight: 700;
  color: #C0543A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.doc-item-size {
  font-size: 10px;
  color: var(--muted)
}

.doc-item-actions {
  display: flex;
  gap: 5px;
  flex-shrink: 0
}

.doc-btn-view {
  background: #e8f5e9;
  color: #2e7d32;
  border: none;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center
}

.doc-btn-del {
  background: #fee2e2;
  color: #dc2626;
  border: none;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer
}

.doc-uploading {
  opacity: .6;
  pointer-events: none
}


/* PDF CANVAS VIEWER */
.pdf-viewer-wrap {
  width: 100%;
  overflow-y: auto;
  background: #525659;
  padding: 10px 0
}

.pdf-page-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 8px
}

.pdf-page-wrap canvas {
  max-width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .4)
}

.pdf-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #323639;
  padding: 8px;
  color: white;
  font-size: 13px
}

.pdf-nav button {
  background: rgba(255, 255, 255, .15);
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit
}

.pdf-nav button:hover {
  background: rgba(255, 255, 255, .25)
}

.pdf-nav button:disabled {
  opacity: .4;
  cursor: not-allowed
}


.ex-filter-btn {
  padding: 5px 12px;
  border: 1.5px solid var(--border);
  background: white;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  transition: all .15s
}

.ex-filter-btn.active {
  background: #C0543A;
  border-color: #C0543A;
  color: white
}

.ex-filter-btn:hover:not(.active) {
  border-color: #C0543A;
  color: #C0543A
}

.ex-status-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap
}


/* DATE HIGHLIGHT BADGES */
.date-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700
}

.date-badge-mulai {
  background: #e8f5e9;
  color: #2e7d32
}

.date-badge-bayar-ok {
  background: #e3f2fd;
  color: #1565c0
}

.date-badge-bayar-soon {
  background: #fff3e0;
  color: #e65100
}

.date-badge-bayar-urgent {
  background: #fce4ec;
  color: #c62828
}

.date-section {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px
}


/* ── IMAGE SLIDER ── */
.img-slider {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #111
}

.img-slider-track {
  display: flex;
  transition: transform .35s ease;
  align-items: center
}

.img-slider-track img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  flex-shrink: 0;
  cursor: pointer;
  display: block
}

.img-slider-prev,
.img-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, .45);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background .2s
}

.img-slider-prev {
  left: 8px
}

.img-slider-next {
  right: 8px
}

.img-slider-prev:hover,
.img-slider-next:hover {
  background: rgba(0, 0, 0, .7)
}

.img-slider-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2
}

.img-slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: background .2s
}

.img-slider-dot.active {
  background: white
}

.img-slider-counter {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, .5);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
  z-index: 2
}


/* HEADER TABS (inside orange header) */
.header-tab {
  padding: 6px 14px;
  border: 1.5px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
  white-space: nowrap
}

.header-tab:hover {
  background: rgba(255, 255, 255, .22);
  color: white
}

.header-tab.active {
  background: white;
  color: #C0543A;
  border-color: white;
  font-weight: 800
}

.ex-empty {
  text-align: center;
  padding: 50px 20px;
  color: var(--muted)
}

.guest-badge {
  display: none;
  margin-left: 7px;
  background: rgba(255, 255, 255, .2);
  padding: 1px 8px;
  border-radius: 9px;
  font-size: 10px
}

/* EKSPANSI */
.eksp-intro {
  background: linear-gradient(135deg, #C0543A, #8B3320);
  color: white;
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 18px
}

.eksp-intro-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px
}

.eksp-intro-sub {
  font-size: 13px;
  opacity: .75;
  line-height: 1.6
}

.eksp-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px
}

.eksp-leg-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  border-radius: 8px;
  padding: 6px 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .07);
  font-size: 12px;
  font-weight: 600
}

.eksp-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  align-items: center
}

.eksp-filter-sel {
  padding: 8px 11px;
  border: 1.5px solid var(--border);
  border-radius: var(--rs);
  font-size: 13px;
  font-family: inherit;
  background: white;
  cursor: pointer;
  outline: none
}

.eksp-filter-sel:focus {
  border-color: #C0543A
}

.eksp-search {
  padding: 8px 11px;
  border: 1.5px solid var(--border);
  border-radius: var(--rs);
  font-size: 13px;
  font-family: inherit;
  background: white;
  outline: none;
  min-width: 160px
}

.eksp-search:focus {
  border-color: #C0543A
}

.eksp-count {
  font-size: 12px;
  color: var(--muted);
  margin-left: 4px
}

.eksp-table-wrap {
  background: white;
  border-radius: 14px;
  box-shadow: var(--sh);
  overflow: hidden;
  margin-bottom: 18px
}

.eksp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px
}

.eksp-table thead tr {
  background: #C0543A;
  color: white
}

.eksp-table thead th {
  padding: 11px 13px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  white-space: nowrap
}

.eksp-table thead th:first-child {
  border-radius: 0
}

.eksp-table tbody tr {
  border-bottom: 1px solid #f0f2f8;
  transition: background .15s;
  cursor: pointer
}

.eksp-table tbody tr:last-child {
  border-bottom: none
}

.eksp-table tbody tr:hover {
  background: #f8f9ff
}

.eksp-table td {
  padding: 10px 13px;
  vertical-align: middle
}

.rank-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  margin: 0 auto
}

.score-bar {
  display: flex;
  align-items: center;
  gap: 7px
}

.score-track {
  flex: 1;
  height: 6px;
  background: #f0f2f8;
  border-radius: 3px;
  overflow: hidden;
  min-width: 50px
}

.score-fill {
  height: 100%;
  border-radius: 3px
}

.score-num {
  font-size: 12px;
  font-weight: 800;
  color: var(--navy);
  width: 26px;
  text-align: right;
  flex-shrink: 0
}

.cat-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap
}

.pulau-tag {
  background: #fdf0eb;
  color: #C0543A;
  padding: 2px 8px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600
}

.score-mini {
  display: flex;
  gap: 4px;
  flex-wrap: wrap
}

.score-mini-item {
  font-size: 10px;
  color: var(--muted);
  background: #f8f8f8;
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap
}

.score-mini-item span {
  font-weight: 700;
  color: var(--text)
}

.eksp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 18px
}

.eksp-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--sh);
  padding: 16px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  border-left: 4px solid transparent
}

.eksp-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shh)
}

.eksp-card-rank {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 3px
}

.eksp-card-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px
}

.eksp-card-pulau {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 10px
}

.eksp-card-scores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 10px
}

.eksp-score-item {
  background: #f8f9ff;
  border-radius: 7px;
  padding: 6px 8px
}

.eksp-score-lbl {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .4px
}

.eksp-score-val {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy)
}

.eksp-score-bar {
  height: 3px;
  border-radius: 2px;
  margin-top: 3px;
  background: #e5e7eb;
  overflow: hidden
}

.eksp-score-bar-fill {
  height: 100%;
  border-radius: 2px
}

.eksp-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #f0f2f8
}

.eksp-total-lbl {
  font-size: 11px;
  color: var(--muted)
}

.eksp-total-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy)
}

.view-mode-btns {
  display: flex;
  gap: 4px
}

.view-mode-btn {
  padding: 6px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--rs);
  background: white;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s
}

.view-mode-btn.active {
  background: #C0543A;
  border-color: #C0543A;
  color: white
}

@media(max-width:768px) {
  .eksp-table-wrap {
    overflow-x: auto
  }

  .eksp-table {
    min-width: 600px
  }

  .eksp-cards {
    grid-template-columns: 1fr
  }
}

@media(max-width:480px) {
  .header {
    padding: 10px 13px
  }

  .brand-title {
    font-size: 16px
  }

  .main {
    padding: 11px 10px 30px
  }

  .card-img-wrap {
    height: 150px
  }

  .list-thumb {
    width: 60px;
    height: 50px
  }
}
