/* ================================================================
   GCC CITIZEN SERVICE PORTAL — Combined Stylesheet (new-site.css)
   ================================================================
   Merged from: site.css + pages/home.css
   ================================================================ */

/* ===== 1. CSS CONFIG — Design tokens ===== */
:root {
  --site-name: "গাজীপুর সিটি কর্পোরেশন";
  --site-tagline: "হাট-বাজার ইজারা ও দোকান ভাড়া- নাগরিক সেবা পোর্টাল";
  --site-hotline: "১৬১১১";
  --site-hotline-tel: "tel:16111";
  --site-email: "info@gazipurcity.gov.bd";
  --site-address: "নগর ভবন, জয়দেবপুর, গাজীপুর-১৭০০";
  --logo-main: url("../../GazipurCityCorporation.svg");
  --logo-govt: url("../../gonoprojatontri-bangladesh-logo.png");
  --hero-image: url("../../GazipurCityHeroBannerNew.jpg");
  --rgb-white: 255,255,255;
  --rgb-black: 0,0,0;
  --rgb-shadow-ink: 38,48,95;
  --rgb-scroll-shadow: 20,40,30;
  --rgb-gold: 233,180,35;
  --rgb-red: 207,50,54;
  --rgb-green: 15,154,84;
  --rgb-hero-a: 9,38,24;
  --rgb-hero-b: 10,45,28;
  --rgb-hero-c: 12,58,36;
  --rgb-hero-d: 14,70,44;
  --rgb-hero-shade: 6,26,17;
  --white: #ffffff;
  --blue: #3b4bb0;
  --blue-deep: #2b3a8f;
  --blue-ink: #26305f;
  --red: #cf3236;
  --red-dark: #ab2226;
  --green: #0f9a54;
  --green-dark: #0b7a41;
  --green-deep: #0a5f34;
  --cream: #eef1f5;
  --cream-soft: #f8fafc;
  --gold: #e9b423;
  --gold-hover: #d69e12;
  --gold-ink: #5c3f04;
  --paper: #f6f8fa;
  --card: var(--white);
  --ink: #26292f;
  --ink-soft: #5b6472;
  --line: #e1e6ec;
  --red-tint: #fdecec;
  --red-tint-soft: #fdf0f0;
  --red-border: #eecfce;
  --green-tint: #e2f6ec;
  --green-tint-soft: #e9f7ef;
  --green-focus: #dff2e7;
  --blue-tint: #eef0fa;
  --blue-tint-alt: #eef0fb;
  --blue-tint-hover: #e2e6f7;
  --blue-border: #ccd3ee;
  --amber-ink: #9a6a06;
  --amber-tint: #fbedcd;
  --chip-bg: #eff2f6;
  --tabs-bg: #e7edf3;
  --tcount-bg: #dde4ec;
  --disabled-bg: #e6eaef;
  --disabled-ink: #98a0ab;
  --hero-ink-soft: #e9f5ee;
  --foot-bg: #123e2a;
  --foot-ink: #cfe0d6;
  --foot-muted: #a9c6b6;
  --foot-bottom-ink: #93b3a2;
  --foot-strong: #dfece5;
  --shadow: 0 1px 2px rgba(var(--rgb-shadow-ink),.04),0 12px 30px -16px rgba(var(--rgb-shadow-ink),.16);
  --radius: 20px;
  --font-body: 'Hind Siliguri',sans-serif;
  /*'Siyam Rupali ANSI','Siyam Rupali',Helvetica,Tahoma,Arial,sans-serif !important*/
  --font-display: 'Hind Siliguri',sans-serif;
  --fs-base: 16px;
  --fs-brand-title: 16px;
  --fs-brand-sub: 14px;
  --brand-line-gap: 10px;
  --fs-hotline: 15px;
  --fs-hero-title: clamp(28px,3.6vw,40px);
  --fs-hero-lead: 18px;
  --fs-stat-num: 30px;
  --fs-section-title: clamp(24px,2.6vw,32px);
  --fs-card-title: 17px;
  --fs-lease-title: 18px;
  --lease-title-lines: 2;
  --lcard-border: #dadada;
  --fs-foot-title: 17px;
  --logo-size: 56px;
  --logo-size-md: 48px;
  --logo-size-foot: 34px;
  --header-height: 78px;
  --cf-body-bg: #f4f7fb;
  --sb-box-w: 720px;
  --fs-sb-sec: 14px;
  --fs-sb-input: 15px;
  --fs-sb-price: 17px;
  --sb-tag-bg: #fdecec;
  --sb-tag-ink: #d33f43;
  --sb-tender-bg: #eef4f1;
  --sb-tender-line: #d8e6de;
}

/* ===== 2. CSS-BASE ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  line-height: 1.3
}

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

.wrap {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 clamp(20px,5vw,64px)
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .06em;
  font-weight: 700;
  color: var(--green-dark);
  background: var(--green-tint);
  padding: 5px 14px;
  border-radius: 999px
}

/* ===== 3. CSS-HEADER ===== */
header.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(var(--rgb-white),.14);
  border-bottom: 1px solid rgba(var(--rgb-white),.18);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  transition: background .3s,border-color .3s,box-shadow .3s
}

  header.masthead.scrolled {
    background: rgba(var(--rgb-white),.96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 6px 22px -14px rgba(var(--rgb-scroll-shadow),.4)
  }

.masthead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 20px
}

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

  .brand img {
    width: var(--logo-size);
    height: var(--logo-size);
    flex-shrink: 0;
    object-fit: contain
  }

.brand-text b {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--white);
  display: block;
  font-weight: 700;
  line-height: .5;
  white-space: nowrap;
  margin-top: var(--brand-line-gap);
  transition: color .3s
}

.brand-text span {
  font-size: var(--fs-brand-sub);
  display: block;
  line-height: 1.3;
  color: rgba(var(--rgb-white),.82);
  transition: color .3s
}

.masthead .hotline {
  color: var(--white);
  border-color: rgba(var(--rgb-white),.34)
}

  .masthead .hotline .ring {
    background: rgba(var(--rgb-white),.18)
  }

  .masthead .hotline b {
    color: var(--white)
  }

  .masthead .hotline:hover {
    background: rgba(var(--rgb-white),.2);
    border-color: rgba(var(--rgb-white),.6)
  }

    .masthead .hotline:hover .ring {
      background: rgba(var(--rgb-white),.3)
    }

    .masthead .hotline:hover, .masthead .hotline:hover b, .masthead .hotline:hover .ring {
      color: var(--white)
    }

header.masthead.scrolled .hotline:hover {
  background: var(--red-tint-soft);
  border-color: var(--red)
}

  header.masthead.scrolled .hotline:hover .ring {
    background: var(--red-tint);
    color: var(--red)
  }

.masthead .lang-toggle {
  border-color: rgba(var(--rgb-white),.34)
}

  .masthead .lang-toggle button {
    color: rgba(var(--rgb-white),.85)
  }

.masthead .head-meta {
  border-right-color: rgba(var(--rgb-white),.28)
}

.masthead .menu-toggle {
  border-color: rgba(var(--rgb-white),.34)
}

  .masthead .menu-toggle svg {
    stroke: var(--white)
  }

header.masthead.scrolled .brand-text b {
  color: var(--blue-ink)
}

header.masthead.scrolled .brand-text span {
  color: var(--ink-soft)
}

header.masthead.scrolled .hotline {
  color: var(--red-dark);
  border-color: var(--red-border)
}

  header.masthead.scrolled .hotline .ring {
    background: var(--red-tint)
  }

  header.masthead.scrolled .hotline b {
    color: var(--red-dark)
  }

header.masthead.scrolled .lang-toggle {
  border-color: var(--line)
}

  header.masthead.scrolled .lang-toggle button {
    color: var(--ink-soft)
  }

header.masthead.scrolled .head-meta {
  border-right-color: var(--line)
}

header.masthead.scrolled .menu-toggle {
  border-color: var(--line)
}

  header.masthead.scrolled .menu-toggle svg {
    stroke: var(--blue-ink)
  }

.head-actions {
  display: flex;
  align-items: center;
  gap: 14px
}

.head-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 14px;
  border-right: 1px solid var(--line)
}

/* ===== 4. CSS-HOTLINE ===== */
.hotline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: none;
  color: var(--red-dark);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--red-border);
  transition: background .2s,border-color .2s
}

  .hotline:hover {
    background: var(--red-tint-soft);
    border-color: var(--red)
  }

  .hotline .ring {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    background: var(--red-tint);
    color: var(--red);
    border-radius: 50%
  }

    .hotline .ring svg {
      width: 14px;
      height: 14px;
      animation: ringing 1.4s ease-in-out infinite;
      transform-origin: 50% 60%
    }

@keyframes ringing {
  0%,60%,100% {
    transform: rotate(0)
  }

  15% {
    transform: rotate(-12deg)
  }

  30% {
    transform: rotate(10deg)
  }

  45% {
    transform: rotate(-6deg)
  }
}

.hotline small {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 11px;
  display: block;
  line-height: 1
}

.hotline b {
  font-family: var(--font-display);
  font-size: var(--fs-hotline);
  line-height: 1.1;
  color: var(--red-dark)
}

/* ===== 5. CSS-LANG-TOGGLE ===== */
.lang-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden
}

  .lang-toggle button {
    background: none;
    border: none;
    color: var(--ink-soft);
    padding: 6px 13px;
    font-family: inherit;
    font-size: 12.5px;
    cursor: pointer
  }

    .lang-toggle button.active {
      background: var(--green);
      color: var(--white);
      font-weight: 600
    }

/* ===== 6. CSS-BUTTONS ===== */
.login-group {
  display: flex;
  gap: 10px;
  align-items: center
}

.btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .12s,box-shadow .2s,background .2s;
  white-space: nowrap
}

  .btn:hover {
    transform: translateY(-1px)
  }

.btn-admin {
  background: var(--blue-tint);
  color: var(--blue-deep);
  border-color: var(--blue-border);
  font-weight: 600
}

  .btn-admin:hover {
    background: var(--blue-tint-hover);
    border-color: var(--blue)
  }

.btn-public {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--green)
}

  .btn-public:hover {
    background: var(--green-tint-soft)
  }

.masthead .btn-admin {
  background: rgba(var(--rgb-white),.14);
  color: var(--white);
  border-color: rgba(var(--rgb-white),.34)
}

  .masthead .btn-admin:hover {
    background: rgba(var(--rgb-white),.24);
    border-color: rgba(var(--rgb-white),.6)
  }

header.masthead.scrolled .btn-admin {
  background: var(--blue-tint);
  color: var(--blue-deep);
  border-color: var(--blue-border)
}

  header.masthead.scrolled .btn-admin:hover {
    background: var(--blue-tint-hover);
    border-color: var(--blue)
  }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  cursor: pointer
}

/* ===== 7. CSS-TOAST ===== */
.gz-toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%) translateY(20px);
  background: var(--blue-ink);
  color: var(--white);
  padding: 13px 22px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 14.5px;
  box-shadow: 0 18px 40px -14px rgba(var(--rgb-black),.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s,transform .25s;
  z-index: 999
}

  .gz-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0)
  }

/* ===== 8. CSS-FOOTER ===== */
footer {
  background: var(--foot-bg);
  color: var(--foot-ink);
  margin-top: 24px
}

.foot-accent {
  height: 4px;
  background: linear-gradient(90deg,var(--red) 0 33%,var(--gold) 33% 66%,var(--green) 66% 100%)
}

.foot-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 34px clamp(20px,5vw,64px);
  flex-wrap: wrap
}

.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  max-width: 420px
}

.foot-logos {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0
}

  .foot-logos img {
    height: var(--logo-size-foot);
    width: var(--logo-size-foot);
    object-fit: contain;
    background: var(--white);
    border-radius: 50%;
    padding: 4px
  }

.foot-brand b {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 17px;
  display: block;
  line-height: 1.35;
  margin-bottom: 3px
}

.foot-brand .fl {
  font-size: 13px;
  color: var(--foot-muted);
  line-height: 1.7;
  display: block
}

  .foot-brand .fl a {
    color: var(--foot-ink)
  }

    .foot-brand .fl a:hover {
      color: var(--gold)
    }

.socials {
  display: flex;
  gap: 10px
}

  .socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(var(--rgb-white),.1);
    display: grid;
    place-items: center;
    transition: background .2s,color .2s
  }

    .socials a:hover {
      background: var(--gold);
      color: var(--foot-bg)
    }

  .socials svg {
    width: 18px;
    height: 18px
  }

.foot-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-align: right
}

  .foot-links a {
    font-size: 13px;
    color: var(--foot-ink);
    transition: color .2s;
    white-space: nowrap
  }

    .foot-links a:hover {
      color: var(--gold)
    }

.foot-app {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start
}

  .foot-app .app-ttl {
    font-size: 13px;
    color: var(--foot-muted);
    font-weight: 600;
    letter-spacing: .2px
  }

.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 13px;
  border-radius: 12px;
  background: rgba(var(--rgb-white),.08);
  border: 1px solid rgba(var(--rgb-white),.16);
  transition: background .2s,border-color .2s,transform .2s
}

  .app-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px)
  }

  .app-btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0
  }

  .app-btn .txt {
    display: flex;
    flex-direction: column;
    line-height: 1.2
  }

    .app-btn .txt b {
      font-family: var(--font-display);
      font-size: 14.5px;
      color: var(--white);
      font-weight: 700
    }

  .app-btn .dl {
    width: 17px;
    height: 17px;
    color: var(--foot-muted);
    margin-left: 2px
  }

  .app-btn:hover .txt b {
    color: var(--foot-bg)
  }

  .app-btn:hover .dl {
    color: var(--foot-bg)
  }

  .app-btn:hover .andro {
    color: var(--foot-bg)
  }

.foot-bottom {
  border-top: 1px solid rgba(var(--rgb-white),.1);
  padding: 16px 0;
  font-size: 13px;
  color: var(--foot-bottom-ink)
}

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

  .foot-bottom b {
    color: var(--foot-strong);
    font-weight: 600
  }
  .foot-bottom .fl b:hover {
    color: var(--gold)
  }

/* ===== 9. CSS-PAGE-SWITCH ===== */
.page {
  display: none
}

  .page.is-active {
    display: block;
    animation: pgIn .28s ease
  }

@keyframes pgIn {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

/* ===== 10. CSS-LOGIN-MODAL ===== */
.gz-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px
}

  .gz-modal[hidden] {
    display: none
  }

.gz-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(var(--rgb-hero-shade),.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: mdFade .22s ease
}

.gz-modal__box {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 40px 90px -30px rgba(var(--rgb-black),.5);
  padding: 30px 30px 28px;
  animation: mdUp .28s cubic-bezier(.2,.9,.3,1);
  max-height: 92vh;
  overflow-y: auto
}

@keyframes mdFade {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes mdUp {
  from {
    opacity: 0;
    transform: translateY(22px) scale(.97)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.gz-modal__x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s,color .2s,border-color .2s
}

  .gz-modal__x:hover {
    background: var(--red-tint);
    color: var(--red);
    border-color: var(--red-border)
  }

  .gz-modal__x svg {
    width: 16px;
    height: 16px
  }

.lg-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px
}

  .lg-brand img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0
  }

  .lg-brand b {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink-soft);
    display: block;
    line-height: 1.2;
    letter-spacing: .06em
  }

  .lg-brand .por {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--blue-ink);
    display: block;
    line-height: 1.25;
    margin-top: 4px
  }

  .lg-brand .org {
    font-size: 13px;
    color: var(--ink-soft);
    display: block;
    margin-top: 4px
  }

.lg-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px
}

  .lg-dots i {
    height: 4px;
    flex: 1;
    border-radius: 999px;
    background: var(--tcount-bg);
    transition: background .3s
  }

    .lg-dots i.on {
      background: var(--green)
    }

.lg-step {
  display: none
}

  .lg-step.is-active {
    display: block;
    animation: pgIn .25s ease
  }

  .lg-step h3 {
    font-size: 21px;
    color: var(--blue-ink);
    font-weight: 700;
    margin-bottom: 6px
  }

  .lg-step .sub {
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.65;
    margin-bottom: 20px
  }

    .lg-step .sub b {
      color: var(--ink);
      font-weight: 600
    }

.lg-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px
}

.lg-phone {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream-soft);
  overflow: hidden;
  transition: border-color .2s,box-shadow .2s
}

  .lg-phone:focus-within {
    border-color: var(--green);
    box-shadow: 0 0 0 3px var(--green-focus)
  }

  .lg-phone .cc {
    padding: 0 13px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink-soft);
    border-right: 1px solid var(--line);
    align-self: stretch;
    display: flex;
    align-items: center;
    background: var(--chip-bg)
  }

  .lg-phone input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    padding: 14px 15px;
    font-family: inherit;
    font-size: 15.5px;
    letter-spacing: .5px;
    color: var(--ink);
    width: 100%
  }

  .lg-phone.bad {
    border-color: var(--red)
  }

.lg-otp {
  display: flex;
  gap: 9px;
  justify-content: space-between;
  direction: ltr
}

  .lg-otp input {
    width: 100%;
    aspect-ratio: 1/1.15;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--cream-soft);
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--blue-ink);
    outline: none;
    transition: border-color .2s,box-shadow .2s,background .2s;
    min-width: 0
  }

    .lg-otp input:focus {
      border-color: var(--green);
      box-shadow: 0 0 0 3px var(--green-focus);
      background: var(--white)
    }

  .lg-otp.bad input {
    border-color: var(--red);
    background: var(--red-tint-soft);
    animation: shake .34s
  }

@keyframes shake {
  0%,100% {
    transform: none
  }

  20% {
    transform: translateX(-6px)
  }

  40% {
    transform: translateX(6px)
  }

  60% {
    transform: translateX(-4px)
  }

  80% {
    transform: translateX(4px)
  }
}

.lg-err {
  font-size: 12.5px;
  color: var(--red-dark);
  margin-top: 9px;
  min-height: 18px;
  display: flex;
  align-items: center;
  gap: 5px
}

  .lg-err svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0
  }

.lg-btn {
  width: 100%;
  margin-top: 18px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 18px;
  border-radius: 12px;
  border: none;
  background: var(--green);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 10px 22px -12px rgba(var(--rgb-green),.9);
  transition: background .2s,transform .12s,opacity .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px
}

  .lg-btn:hover:not(:disabled) {
    background: var(--green-dark);
    transform: translateY(-1px)
  }

  .lg-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
    box-shadow: none
  }

  .lg-btn svg {
    width: 17px;
    height: 17px
  }

.lg-link {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green-dark);
  cursor: pointer;
  padding: 4px 0
}

.lg-labrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px
}

  .lg-labrow .lg-label {
    margin-bottom: 0
  }

.lg-link {
  display: inline-flex;
  align-items: center;
  gap: 6px
}

  .lg-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0
  }

.lg-change {
  display: none
}

  .lg-change:hover {
    color: var(--gold-hover)
  }

.lg-link:hover {
  text-decoration: underline
}

.lg-link:disabled {
  color: var(--ink-soft);
  cursor: not-allowed;
  text-decoration: none
}

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

.lg-timer {
  font-size: 13px;
  color: var(--ink-soft)
}

  .lg-timer b {
    font-family: var(--font-display);
    color: var(--red-dark)
  }

.lg-hint {
  margin-top: 16px;
  background: var(--amber-tint);
  border: 1px solid var(--gold);
  border-radius: 11px;
  padding: 10px 13px;
  font-size: 12.5px;
  color: var(--amber-ink);
  line-height: 1.6;
  display: flex;
  gap: 8px;
  align-items: flex-start
}

  .lg-hint svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 2px
  }

  .lg-hint b {
    font-family: var(--font-display);
    letter-spacing: 1px
  }

.lg-ok {
  text-align: center;
  padding: 8px 0 4px
}

  .lg-ok .tick {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--green-tint);
    color: var(--green-dark);
    display: grid;
    place-items: center;
    animation: pop .4s cubic-bezier(.2,1.4,.4,1)
  }

    .lg-ok .tick svg {
      width: 34px;
      height: 34px
    }

@keyframes pop {
  from {
    transform: scale(.4);
    opacity: 0
  }

  to {
    transform: none;
    opacity: 1
  }
}

.lg-ok h3 {
  margin-bottom: 6px
}

/* ===== 11. CSS-USER-CHIP ===== */
.user-chip {
  display: none;
  position: relative
}

body.is-auth .user-chip {
  display: block
}

body.is-auth .login-group {
  display: none
}

.uwrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(var(--rgb-white),.14);
  border: 1px solid rgba(var(--rgb-white),.34);
  border-radius: 999px;
  padding: 5px 14px 5px 6px;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s,border-color .2s
}

  .uwrap:hover {
    background: rgba(var(--rgb-white),.24)
  }

.user-chip .uname {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  white-space: nowrap;
  text-align: left;
  transition: color .3s
}

  .user-chip .uname small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    opacity: .8
  }

.user-chip .uav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--gold-ink);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0
}

.user-chip .ucar {
  width: 14px;
  height: 14px;
  color: var(--white);
  flex-shrink: 0;
  transition: transform .22s,color .3s
}

.user-chip.open .ucar {
  transform: rotate(180deg)
}

header.masthead.scrolled .uwrap {
  background: var(--green-tint-soft);
  border-color: var(--green)
}

  header.masthead.scrolled .uwrap:hover {
    background: var(--green-tint)
  }

header.masthead.scrolled .user-chip .uname {
  color: var(--green-deep)
}

header.masthead.scrolled .user-chip .ucar {
  color: var(--green-deep)
}

.udrop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 216px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 26px 54px -22px rgba(var(--rgb-shadow-ink),.42);
  padding: 7px;
  z-index: 150;
  animation: udIn .18s ease
}

  .udrop[hidden] {
    display: none
  }

@keyframes udIn {
  from {
    opacity: 0;
    transform: translateY(-7px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.udrop button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: background .16s,color .16s
}

  .udrop button svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--ink-soft)
  }

  .udrop button:hover {
    background: var(--green-tint-soft);
    color: var(--green-deep)
  }

    .udrop button:hover svg {
      color: var(--green-dark)
    }

  .udrop button.danger {
    color: var(--red-dark)
  }

    .udrop button.danger svg {
      color: var(--red)
    }

    .udrop button.danger:hover {
      background: var(--red-tint);
      color: var(--red-dark)
    }

.udiv {
  height: 1px;
  background: var(--line);
  margin: 5px 8px
}

/* ===== 12. CSS-ACCOUNT ===== */
.acct {
  padding: 24px 0 48px
}

.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 20px
}

  .crumb button {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 13px;
    color: var(--green-dark);
    font-weight: 600;
    cursor: pointer;
    padding: 0
  }

    .crumb button:hover {
      text-decoration: underline
    }

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

  .acct-head .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    letter-spacing: .05em;
    font-weight: 700;
    color: var(--white);
    background: var(--green);
    padding: 7px 16px;
    border-radius: 999px;
    box-shadow: 0 8px 18px -8px rgba(var(--rgb-green),.55)
  }

    .acct-head .eyebrow svg {
      width: 15px;
      height: 15px
    }

  .acct-head h2 {
    font-size: var(--fs-section-title);
    color: var(--blue-ink);
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.35
  }

  .acct-head p {
    color: var(--ink-soft);
    font-size: 15px;
    max-width: 660px
  }

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px
}

  .stat-row .stat-box {
    flex: 0 1 260px
  }

.stat-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 15px
}

  .stat-box .si {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: color-mix(in srgb,var(--accent,var(--green)) 14%,var(--white));
    color: var(--accent,var(--green));
    display: grid;
    place-items: center;
    flex-shrink: 0
  }

    .stat-box .si svg {
      width: 23px;
      height: 23px
    }

  .stat-box .sv {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--blue-ink);
    line-height: 1.1
  }

  .stat-box .sl {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.4
  }

  .stat-box.a1 {
    --accent: var(--green)
  }

  .stat-box.a2 {
    --accent: var(--gold)
  }

  .stat-box.a3 {
    --accent: var(--red)
  }

  .stat-box.a4 {
    --accent: var(--blue)
  }

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 24px
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap
}

  .panel-head b {
    font-family: var(--font-display);
    font-size: var(--fs-lease-title);
    color: var(--blue-ink);
    display: flex;
    align-items: center;
    gap: 10px
  }

    .panel-head b svg {
      width: 20px;
      height: 20px;
      color: var(--green)
    }

  .panel-head .ph-sub {
    font-size: 13px;
    color: var(--ink-soft)
  }

.gz-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px
}

  .gz-table th {
    text-align: right;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink-soft);
    background: var(--cream-soft);
    padding: 13px 18px;
    border-bottom: 1px solid var(--line);
    white-space: nowrap
  }

    .gz-table th:first-child, .gz-table td:first-child {
      text-align: left
    }

  .gz-table td {
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    text-align: right;
    vertical-align: middle
  }

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

  .gz-table tbody tr {
    transition: background .18s
  }

    .gz-table tbody tr:hover {
      background: var(--green-tint-soft)
    }

  .gz-table .tname {
    font-weight: 600;
    color: var(--blue-ink);
    line-height: 1.4
  }

    .gz-table .tname small {
      display: block;
      font-size: 12px;
      font-weight: 500;
      color: var(--ink-soft);
      margin-top: 2px
    }

  .gz-table td.sc-no {
    padding: 26px 18px;
    text-align: center;
    background: var(--white)
  }

    .gz-table td.sc-no:hover {
      background: var(--white)
    }

  .gz-table .sc-no-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--ink-soft);
    font-size: 13.5px;
    line-height: 1.6
  }

    .gz-table .sc-no-inner svg {
      width: 34px;
      height: 34px;
      color: var(--tcount-bg)
    }

  .gz-table .amt {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--green-deep);
    white-space: nowrap
  }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap
}

  .pill svg {
    width: 12px;
    height: 12px
  }

  .pill.ok {
    background: var(--green-tint);
    color: var(--green-deep)
  }

  .pill.wait {
    background: var(--amber-tint);
    color: var(--amber-ink)
  }

  .pill.over {
    background: var(--red-tint);
    color: var(--red-dark)
  }

  .pill.info {
    background: var(--blue-tint);
    color: var(--blue-deep)
  }

.mini-btn {
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid var(--green);
  background: var(--white);
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: background .2s,transform .12s
}

  .mini-btn:hover {
    background: var(--green-tint-soft);
    transform: translateY(-1px)
  }

  .mini-btn svg {
    width: 14px;
    height: 14px
  }

  .mini-btn:disabled {
    border-color: var(--line);
    background: var(--disabled-bg);
    color: var(--disabled-ink);
    cursor: not-allowed;
    transform: none
  }

.cmp-list {
  display: flex;
  flex-direction: column
}

.cmp {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line)
}

  .cmp:last-child {
    border-bottom: none
  }

.cmp-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 6px
}

  .cmp-top b {
    font-size: 15.5px;
    color: var(--blue-ink);
    font-weight: 700
  }

.cmp-meta {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-bottom: 16px
}

  .cmp-meta span + span::before {
    content: "·";
    margin: 0 8px;
    color: var(--line)
  }

.track {
  display: flex;
  align-items: center
}

  .track .node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    width: 76px;
    text-align: center
  }

  .track .dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--chip-bg);
    border: 2px solid var(--line);
    color: var(--ink-soft);
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 700;
    transition: background .3s
  }

    .track .dot svg {
      width: 13px;
      height: 13px
    }

  .track .node.done .dot {
    background: var(--green);
    border-color: var(--green);
    color: var(--white)
  }

  .track .node.now .dot {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--gold-ink);
    box-shadow: 0 0 0 4px var(--amber-tint)
  }

  .track .node small {
    font-size: 11.5px;
    color: var(--ink-soft);
    line-height: 1.3
  }

  .track .node.done small, .track .node.now small {
    color: var(--ink);
    font-weight: 600
  }

  .track .bar {
    flex: 1;
    height: 3px;
    background: var(--line);
    border-radius: 999px;
    margin-top: -24px;
    min-width: 20px
  }

    .track .bar.done {
      background: var(--green)
    }

.shortcut {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 18px;
  margin-bottom: 24px
}

.sc-card {
  font-family: inherit;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: transform .18s,box-shadow .2s,border-color .2s;
  text-align: left
}

  .sc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -20px rgba(var(--rgb-shadow-ink),.24);
    border-color: var(--accent,var(--green))
  }

  .sc-card .ic {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: color-mix(in srgb,var(--accent,var(--green)) 14%,var(--white));
    color: var(--accent,var(--green));
    display: grid;
    place-items: center
  }

    .sc-card .ic svg {
      width: 26px;
      height: 26px
    }

  .sc-card b {
    font-size: var(--fs-card-title);
    color: var(--ink);
    font-weight: 700
  }

  .sc-card small {
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.6
  }

  .sc-card .go {
    margin-top: auto;
    padding-top: 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--accent,var(--green))
  }

  .sc-card.b1 {
    --accent: var(--green-dark)
  }

  .sc-card.b2 {
    --accent: var(--blue)
  }

  .sc-card.b3 {
    --accent: var(--red)
  }

  .sc-card.b4 {
    --accent: var(--gold-ink)
  }

.tbl-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch
}

/* ===== 13. CSS-COMPLAINT ===== */
.cf-wrap {
  width: 100%
}

#page-complaint .wrap {
  max-width: 1320px
}

#page-complaint .acct-head p {
  max-width: none
}

.cf-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 22px;
  transition: box-shadow .25s,transform .2s
}

  .cf-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--green);
    opacity: .9
  }

  .cf-card:hover {
    box-shadow: 0 18px 40px -22px rgba(var(--rgb-navy),.5);
    transform: translateY(-2px)
  }

  .cf-card:nth-of-type(1)::before {
    background: linear-gradient(var(--green),var(--green-dark))
  }

  .cf-card:nth-of-type(2)::before {
    background: linear-gradient(var(--blue-deep),var(--blue-ink))
  }

  .cf-card:nth-of-type(3)::before {
    background: linear-gradient(var(--gold),var(--gold-hover))
  }

  .cf-card:nth-of-type(4)::before {
    background: linear-gradient(var(--red),var(--red-dark))
  }

.cf-sec-head {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 19px 26px;
  background: linear-gradient(135deg,var(--green-tint),var(--green-tint-soft));
  border-bottom: 1px solid var(--line)
}

.cf-card:nth-of-type(2) .cf-sec-head {
  background: linear-gradient(135deg,var(--blue-tint),var(--paper))
}

.cf-card:nth-of-type(3) .cf-sec-head {
  background: linear-gradient(135deg,var(--amber-tint),var(--paper))
}

.cf-card:nth-of-type(4) .cf-sec-head {
  background: linear-gradient(135deg,var(--red-tint),var(--paper))
}

.cf-sec-head .no {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px -6px rgba(var(--rgb-green),.9)
}

.cf-card:nth-of-type(2) .cf-sec-head .no {
  background: var(--blue-deep);
  box-shadow: 0 6px 14px -6px rgba(var(--rgb-navy),.8)
}

.cf-card:nth-of-type(3) .cf-sec-head .no {
  background: var(--gold);
  color: var(--gold-ink)
}

.cf-card:nth-of-type(4) .cf-sec-head .no {
  background: var(--red);
  box-shadow: 0 6px 14px -6px rgba(207,50,54,.7)
}

.cf-sec-head b {
  transition: none;
  font-family: var(--font-display);
  font-size: var(--fs-lease-title);
  color: var(--blue-ink);
  line-height: 1.25;
  display: block
}

.cf-sec-head small {
  display: block;
  font-size: 12.5px;
  color: var(--ink-soft);
  font-weight: 500;
  margin-top: 1px
}

.cf-body {
  padding: 26px;
  background: var(--cf-body-bg)
}

.cf-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px 24px
}

.cf-field.full {
  grid-column: 1/-1
}

.cf-addr2 {
  grid-column: span 2
}

.cf-subject {
  grid-column: span 1
}

.cf-detail {
  grid-column: 1/-1
}

.cf-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue-ink);
  margin-bottom: 7px
}

  .cf-field label .req {
    color: var(--red);
    margin-right: 3px
  }

  .cf-field label .opt {
    font-weight: 500;
    color: var(--ink-soft);
    font-size: 12.5px
  }

.cf-in {
  width: 100%;
  height: 48px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 0 14px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  outline: none;
  transition: border-color .18s,box-shadow .18s,background .18s
}

  .cf-in:hover {
    border-color: var(--green-focus)
  }

  .cf-in::placeholder {
    color: var(--ink-soft);
    opacity: .75
  }

  .cf-in:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px var(--green-focus),0 8px 18px -12px rgba(var(--rgb-green),.8);
    background: var(--white)
  }

textarea.cf-in {
  height: auto;
  min-height: 110px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.7
}

select.cf-in {
  height: 48px;
  appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg,transparent 50%,var(--green-dark) 50%),linear-gradient(135deg,var(--green-dark) 50%,transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 2px),calc(100% - 15px) calc(50% + 2px);
  background-size: 5px 5px,5px 5px;
  background-repeat: no-repeat
}

.cf-field.bad .cf-in {
  border-color: var(--red);
  background: var(--red-tint-soft)
}

.cf-msg {
  font-size: 12.5px;
  color: var(--red-dark);
  margin-top: 6px;
  min-height: 16px;
  display: flex;
  align-items: center;
  gap: 5px
}

  .cf-msg svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0
  }

.cf-help {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 6px;
  line-height: 1.55
}

.cf-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.cf-pill {
  position: relative;
  flex: 1;
  min-width: 160px
}

  .cf-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none
  }

  .cf-pill span {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink-soft);
    cursor: pointer;
    transition: border-color .2s,background .2s,color .2s
  }

    .cf-pill span::before {
      content: "";
      width: 21px;
      height: 21px;
      border-radius: 7px;
      border: 2px solid var(--line);
      background: var(--white) no-repeat center;
      background-size: 13px;
      flex-shrink: 0;
      transition: border-color .2s,background-color .2s
    }

  .cf-pill input:checked + span {
    border-color: var(--green);
    background: var(--green-tint-soft);
    color: var(--green-deep)
  }

    .cf-pill input:checked + span::before {
      border-color: var(--green);
      background-color: var(--green);
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E")
    }

  .cf-pill input:focus-visible + span {
    outline: 3px solid var(--gold);
    outline-offset: 2px
  }

.cf-drop {
  border: 2px dashed var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s,background .2s
}

  .cf-drop:hover, .cf-drop.over {
    border-color: var(--green);
    background: var(--green-tint-soft)
  }

  .cf-drop .di {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 14px;
    background: var(--green-tint);
    color: var(--green-dark);
    display: grid;
    place-items: center
  }

    .cf-drop .di svg {
      width: 24px;
      height: 24px
    }

  .cf-drop b {
    display: block;
    font-size: 14.5px;
    color: var(--blue-ink);
    font-weight: 600;
    margin-bottom: 4px
  }

  .cf-drop small {
    font-size: 12.5px;
    color: var(--ink-soft);
    line-height: 1.6;
    display: block
  }

.cf-files {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px
}

.cf-file {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 10px 13px;
  background: var(--white);
  font-size: 13.5px
}

  .cf-file .fi {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: var(--blue-tint);
    color: var(--blue-deep);
    display: grid;
    place-items: center;
    flex-shrink: 0
  }

    .cf-file .fi svg {
      width: 15px;
      height: 15px
    }

  .cf-file .fn {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--ink);
    font-weight: 500
  }

  .cf-file .fs {
    font-size: 12px;
    color: var(--ink-soft);
    white-space: nowrap
  }

  .cf-file .fx {
    border: none;
    background: none;
    color: var(--ink-soft);
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    display: grid;
    place-items: center
  }

    .cf-file .fx:hover {
      background: var(--red-tint);
      color: var(--red)
    }

    .cf-file .fx svg {
      width: 15px;
      height: 15px
    }

  .cf-file.bad {
    border-color: var(--red);
    background: var(--red-tint-soft)
  }

    .cf-file.bad .fi {
      background: var(--red-tint);
      color: var(--red)
    }

.cf-cap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap
}

  .cf-cap .q {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--blue-ink);
    background: var(--tabs-bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 20px;
    letter-spacing: 2px;
    user-select: none
  }

  .cf-cap .cf-in {
    max-width: 150px;
    height: 48px
  }

  .cf-cap .refresh {
    border: 1px solid var(--line);
    background: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    display: grid;
    place-items: center;
    color: var(--ink-soft);
    transition: background .2s,color .2s,border-color .2s
  }

    .cf-cap .refresh:hover {
      background: var(--green-tint-soft);
      color: var(--green-dark);
      border-color: var(--green)
    }

    .cf-cap .refresh svg {
      width: 18px;
      height: 18px
    }

.cf-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 26px;
  background: var(--paper);
  border-top: 1px solid var(--line)
}

.cf-note {
  font-size: 12.5px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 420px;
  line-height: 1.55
}

  .cf-note svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: var(--green)
  }

.cf-btns {
  display: flex;
  gap: 10px
}

.cf-submit {
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 12px;
  border: none;
  background: var(--green);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 10px 22px -12px rgba(var(--rgb-green),.9);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: background .2s,transform .12s
}

  .cf-submit:hover {
    background: var(--green-dark);
    transform: translateY(-1px)
  }

  .cf-submit svg {
    width: 17px;
    height: 17px
  }

.cf-reset {
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .2s,color .2s
}

  .cf-reset:hover {
    background: var(--red-tint-soft);
    color: var(--red-dark);
    border-color: var(--red-border)
  }

.cf-done {
  display: none;
  text-align: center;
  padding: 56px 30px
}

  .cf-done.on {
    display: block;
    animation: pgIn .3s ease
  }

  .cf-done .tick {
    width: 88px;
    height: 88px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--green-tint);
    color: var(--green-dark);
    display: grid;
    place-items: center;
    animation: pop .45s cubic-bezier(.2,1.4,.4,1)
  }

    .cf-done .tick svg {
      width: 42px;
      height: 42px
    }

  .cf-done h3 {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--blue-ink);
    margin-bottom: 8px
  }

  .cf-done p {
    color: var(--ink-soft);
    font-size: 15px;
    max-width: 480px;
    margin: 0 auto 22px;
    line-height: 1.7
  }

.cf-track {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: var(--green-tint-soft);
  border: 1px dashed var(--green);
  border-radius: 14px;
  padding: 16px 30px;
  margin-bottom: 26px
}

  .cf-track small {
    font-size: 12.5px;
    color: var(--ink-soft)
  }

  .cf-track b {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--green-deep);
    letter-spacing: 1px
  }

/* ===== 14. CSS-RENT ===== */
.rn-step {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: .04em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 9px
}

  .rn-step i {
    font-style: normal;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--gold);
    color: var(--gold-ink);
    font-family: var(--font-display);
    font-size: 14px;
    display: grid;
    place-items: center
  }

.rn-mkts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px
}

.rn-mkt {
  font-family: inherit;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 18px;
  cursor: pointer;
  transition: border-color .2s,background .2s,box-shadow .2s,transform .16s;
  min-width: 210px
}

  .rn-mkt:hover {
    transform: translateY(-2px);
    border-color: var(--blue-ink)
  }

  .rn-mkt.on {
    border-color: var(--blue-ink);
    background: var(--blue-ink);
    box-shadow: 0 12px 26px -14px rgba(var(--rgb-shadow-ink),.6)
  }

  .rn-mkt b {
    display: block;
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--blue-ink);
    line-height: 1.3
  }

  .rn-mkt small {
    display: block;
    font-size: 12px;
    color: var(--ink-soft);
    margin-top: 3px
  }

  .rn-mkt.on b, .rn-mkt.on small {
    color: var(--white)
  }

  .rn-mkt.on small {
    opacity: .9
  }

.rn-shops {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
  margin-bottom: 24px
}

.rn-shop {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  text-align: left;
  font-family: inherit;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
  cursor: pointer;
  transition: border-color .2s,transform .16s,box-shadow .2s
}

  .rn-shop:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 40px -22px rgba(var(--rgb-shadow-ink),.26)
  }

  .rn-shop.on {
    border-color: var(--green);
    background: var(--green-tint-soft);
    box-shadow: 0 0 0 3px var(--green-focus)
  }

  .rn-shop .mk {
    order: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--sb-tag-ink);
    background: var(--sb-tag-bg);
    padding: 5px 11px;
    border-radius: 999px;
    margin-bottom: 12px;
    max-width: 100%;
    overflow: hidden;
    min-width: 0;
  }

    .rn-shop .mk svg {
      flex-shrink: 0;
      width: 12px;
      height: 12px;
    }

  .rn-shop .mk-t {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }

  .rn-shop.on .mk {
    background: var(--green);
    color: var(--white)
  }

  .rn-shop .st {
    order: 2;
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    flex-basis: 100%
  }

  .rn-shop .si {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--gold);
    color: var(--gold-ink);
    display: grid;
    place-items: center;
    flex-shrink: 0
  }

  .rn-shop.on .si {
    background: var(--gold);
    color: var(--gold-ink)
  }

  .rn-shop .si svg {
    width: 17px;
    height: 17px
  }

  .rn-shop b {
    display: block;
    font-size: var(--fs-card-title);
    color: var(--blue-ink);
    font-weight: 700;
    line-height: 1.35
  }

  .rn-shop small {
    display: block;
    font-size: 12.5px;
    color: var(--ink-soft);
    margin-top: 2px
  }

  .rn-shop .dueb {
    margin-left: auto;
    text-align: right;
    flex-shrink: 0
  }

    .rn-shop .dueb b {
      display: block;
      font-size: 13px;
      font-weight: 700;
      color: var(--red-dark);
      line-height: 1.2;
      white-space: nowrap
    }

    .rn-shop .dueb .amt {
      display: block;
      font-family: var(--font-display);
      font-size: 17px;
      font-weight: 700;
      color: var(--red-dark);
      line-height: 1.2;
      margin-top: 3px;
      white-space: nowrap
    }

  .rn-shop .sm {
    order: 3;
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    flex-basis: 100%;
    padding-top: 13px;
    border-top: 1px solid var(--line)
  }

  .rn-shop.on .sm {
    border-top-color: var(--green-focus)
  }

  .rn-shop .sm div {
    font-size: 12.5px;
    color: var(--ink-soft);
    line-height: 1.35;
    white-space: nowrap
  }

    .rn-shop .sm div span {
      display: block;
      font-family: var(--font-display);
      font-size: 14.5px;
      font-weight: 700;
      color: var(--blue-ink);
      margin-top: 2px;
      white-space: nowrap
    }

  .rn-shop .tick {
    order: 1;
    display: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    place-items: center;
    flex-shrink: 0;
    margin-left: auto;
    align-self: center
  }

  .rn-shop.on .tick {
    display: inline-grid
  }

  .rn-shop .tick svg {
    width: 14px;
    height: 14px
  }

.rn-cols {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: start
}

.rn-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  background: var(--paper)
}

  .rn-bar .pick {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
  }

.rn-chip {
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .2s,color .2s,border-color .2s
}

  .rn-chip:hover {
    background: var(--green-tint-soft);
    color: var(--green-deep);
    border-color: var(--green)
  }

.rn-bar .cnt {
  font-size: 13px;
  color: var(--ink-soft)
}

  .rn-bar .cnt b {
    font-family: var(--font-display);
    color: var(--green-deep);
    font-size: 15px
  }

.rn-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-wrap: wrap
}

.rn-help {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-ink);
  background: var(--amber-tint);
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  cursor: help;
  padding: 7px 14px;
  user-select: none;
  outline: none;
  transition: background .2s,border-color .2s,box-shadow .2s
}

  .rn-help svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0
  }

  .rn-help:hover, .rn-help:focus-visible {
    background: var(--gold);
    color: var(--gold-ink);
    box-shadow: 0 4px 12px rgba(233,180,35,.4)
  }

.rn-tip {
  position: absolute;
  right: 0;
  left: auto;
  top: calc(100% + 10px);
  z-index: 40;
  width: min(320px,86vw);
  background: var(--blue-ink);
  color: var(--white);
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.65;
  cursor: default;
  text-align: left;
  box-shadow: 0 12px 30px rgba(38,48,95,.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .18s,transform .18s,visibility .18s
}

  .rn-tip::before {
    content: "";
    position: absolute;
    right: 18px;
    left: auto;
    top: -6px;
    width: 12px;
    height: 12px;
    background: var(--blue-ink);
    transform: rotate(45deg)
  }

  .rn-tip b {
    display: block;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 8px;
    line-height: 1.5
  }

  .rn-tip em {
    display: block;
    font-style: normal;
    padding-left: 16px;
    position: relative;
    margin-top: 5px
  }

    .rn-tip em::before {
      content: "•";
      position: absolute;
      left: 4px;
      color: var(--gold)
    }

.rn-help:hover .rn-tip, .rn-help:focus-visible .rn-tip, .rn-help:focus-within .rn-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

.rn-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 460px
}

  .rn-table th {
    text-align: right;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-soft);
    background: var(--cream-soft);
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    white-space: nowrap
  }

    .rn-table th:first-child, .rn-table th:nth-child(2) {
      text-align: left
    }

  .rn-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    text-align: right;
    white-space: nowrap
  }

    .rn-table td:first-child, .rn-table td:nth-child(2) {
      text-align: left
    }

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

  .rn-table tbody tr {
    cursor: pointer;
    transition: background .16s
  }

    .rn-table tbody tr:hover {
      background: var(--green-tint-soft)
    }

    .rn-table tbody tr.on {
      background: var(--green-tint-soft)
    }

      .rn-table tbody tr.on td {
        color: var(--green-deep);
        font-weight: 700
      }

  .rn-table .mn {
    font-weight: 700;
    color: var(--blue-ink)
  }

  .rn-table th {
    border-bottom-width: 2px;
    border-bottom-color: var(--gold)
  }

  .rn-table tr.on .mn {
    color: var(--green-deep)
  }

  .rn-table .tot {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--blue-ink)
  }

  .rn-table tr.on .tot {
    color: var(--green-deep)
  }

.rn-late {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  background: var(--red-tint);
  color: var(--red-dark);
  padding: 4px 11px;
  border-radius: 999px
}

.rn-ontime {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  background: var(--green-tint);
  color: var(--green-deep);
  padding: 4px 11px;
  border-radius: 999px
}

.rn-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--tcount-bg);
  background: var(--white) no-repeat center;
  background-size: 12px;
  display: inline-block;
  vertical-align: middle;
  transition: background-color .16s,border-color .16s
}

  tr.on .rn-box, .rn-box.on {
    border-color: var(--green);
    background-color: var(--green);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E")
  }

th .rn-box {
  cursor: pointer
}

.rn-sum {
  position: sticky;
  top: calc(var(--header-height) + 16px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden
}

  .rn-sum .sh {
    padding: 16px 20px;
    background: var(--blue-ink);
    color: var(--white)
  }

    .rn-sum .sh b {
      font-family: var(--font-display);
      font-size: 16.5px;
      display: flex;
      align-items: center;
      gap: 9px
    }

      .rn-sum .sh b svg {
        width: 19px;
        height: 19px
      }

    .rn-sum .sh small {
      display: block;
      font-size: 12px;
      opacity: .88;
      margin-top: 3px
    }

  .rn-sum .sb {
    padding: 16px 20px 4px
  }

.rn-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 13.5px;
  color: var(--ink-soft)
}

  .rn-row span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--ink);
    white-space: nowrap
  }

  .rn-row.vat, .rn-row.vat span {
    color: var(--amber-ink)
  }

.rn-hr {
  height: 1px;
  background: var(--line);
  margin: 8px 0
}

.rn-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: var(--green-tint-soft);
  border-top: 1px solid var(--green-focus)
}

  .rn-total i {
    font-style: normal;
    font-size: 14px;
    font-weight: 700;
    color: var(--green-deep)
  }

  .rn-total b {
    font-family: var(--font-display);
    font-size: 25px;
    color: var(--green-deep);
    line-height: 1
  }

.rn-months {
  padding: 14px 20px 0
}

  .rn-months .lbl {
    font-size: 12px;
    color: var(--ink-soft);
    margin-bottom: 8px
  }

  .rn-months .list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-height: 104px;
    overflow-y: auto
  }

    .rn-months .list em {
      font-style: normal;
      font-size: 11.5px;
      font-weight: 600;
      background: var(--chip-bg);
      color: var(--ink);
      padding: 4px 10px;
      border-radius: 999px
    }

.rn-empty {
  padding: 28px 22px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.75
}

  .rn-empty svg {
    width: 36px;
    height: 36px;
    color: var(--tcount-bg);
    display: block;
    margin: 0 auto 12px
  }

.rn-go {
  margin: 16px 20px 20px;
  width: calc(100% - 40px);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 18px;
  border-radius: 12px;
  border: none;
  background: var(--green);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 10px 22px -12px rgba(var(--rgb-green),.9);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .2s,transform .12s
}

  .rn-go:hover:not(:disabled) {
    background: var(--green-dark);
    transform: translateY(-1px)
  }

  .rn-go:disabled {
    background: var(--disabled-bg);
    color: var(--disabled-ink);
    box-shadow: none;
    cursor: not-allowed
  }

  .rn-go svg {
    width: 17px;
    height: 17px
  }

.rn-pm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px
}

  .rn-pm label {
    position: relative
  }

  .rn-pm input {
    position: absolute;
    opacity: 0;
    pointer-events: none
  }

  .rn-pm span {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    transition: border-color .2s,background .2s,box-shadow .2s
  }

    .rn-pm span i {
      width: 30px;
      height: 30px;
      border-radius: 9px;
      display: grid;
      place-items: center;
      font-style: normal;
      font-family: var(--font-display);
      font-size: 11.5px;
      font-weight: 700;
      color: var(--white);
      flex-shrink: 0
    }

  .rn-pm input:checked + span {
    border-color: var(--green);
    background: var(--green-tint-soft);
    color: var(--green-deep);
    box-shadow: 0 0 0 2px var(--green-focus)
  }

.rn-recap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px
}

  .rn-recap .rn-row {
    padding: 5px 0
  }

    .rn-recap .rn-row.big span {
      font-size: 18px;
      color: var(--green-deep)
    }

/* ===== 15. CSS-SCHEDULE-BUY ===== */
.sb-box {
  max-width: var(--sb-box-w);
  padding: 22px 26px 24px
}

  .sb-box .lg-brand {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 12px;
    padding-bottom: 6px;
    margin-bottom: 8px
  }

    .sb-box .lg-brand img {
      width: 44px;
      height: 44px
    }

    .sb-box .lg-brand b {
      font-size: 15px
    }

    .sb-box .lg-brand .por {
      font-size: 18px;
      margin-top: 2px
    }

    .sb-box .lg-brand .org {
      font-size: 12px;
      margin-top: 2px
    }

  .sb-box .lg-dots {
    display: none
  }

  .sb-box .lg-btn {
    margin-top: 14px
  }

  .sb-box .sb-sec {
    margin-bottom: 4px
  }

  .sb-box .sb-gap {
    height: 14px
  }

  .sb-box .sb-grid {
    gap: 10px 20px
  }

  .sb-box .sb-in {
    padding: 10px 13px
  }

  .sb-box .sb-note {
    margin-top: 4px
  }

.sb-tender {
  background: var(--sb-tender-bg);
  border: 1px solid var(--sb-tender-line);
  border-radius: 14px;
  padding: 8px 16px 8px
}

  .sb-tender .sb-sec {
    border-bottom-color: var(--gold);
    margin-bottom: 14px
  }

  .sb-tender .sb-grid {
    align-items: start
  }

  .sb-tender .sb-in {
    height: 46px;
    line-height: 1.2;
    font-size: var(--fs-sb-input)
  }

.sb-caption {
  grid-column: 1/-1;
  margin: 0 0 4px;
  font-size: var(--fs-sb-input);
  font-weight: 600;
  line-height: 1.6;
  color: var(--blue-ink)
}

.sb-tender .sb-in.sb-price {
  font-size: var(--fs-sb-price)
}

.sb-tender .sb-field .sb-note {
  min-height: 18px
}

.sb-box .sb-gap {
  height: 6px
}

.sb-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 18px
}

  .sb-actions .lg-btn {
    margin-top: 0
  }

.sb-terms {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: none;
  border: none;
  border-radius: 11px;
  padding: 10px 13px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--amber-ink)
}

  .sb-terms svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 2px
  }

  .sb-terms b {
    font-weight: 700
  }

#sbModal {
  padding: 12px
}

.sb-box {
  padding: 18px 22px 20px
}

  .sb-box .lg-brand {
    padding-bottom: 6px;
    margin-bottom: 8px
  }

    .sb-box .lg-brand img {
      width: 40px;
      height: 40px
    }

    .sb-box .lg-brand .por {
      font-size: 17px
    }

.sb-tender {
  padding: 8px 16px 8px
}

  .sb-tender .sb-sec {
    margin-bottom: 10px
  }

.sb-box .sb-sec {
  padding-bottom: 2px;
  margin-bottom: 4px
}

.sb-box .sb-grid {
  gap: 4px 20px
}

.sb-box .sb-field .lg-label {
  margin-bottom: 5px
}

.sb-tender .sb-in {
  height: 42px
}

.sb-box .sb-in {
  padding: 9px 13px
}

.sb-box .sb-note {
  font-size: 12px;
  margin-top: 3px
}

.sb-box .sb-gap {
  height: 12px
}

.sb-box .lg-err {
  min-height: 0;
  margin-top: 6px
}

.sb-actions {
  margin-top: 12px
}

  .sb-actions .lg-btn {
    padding: 12px 18px
  }

.sb-terms {
  padding: 0;
  font-size: 12px;
  color: var(--ink-soft)
}

  .sb-terms b {
    color: var(--ink)
  }

.sb-sec {
  font-size: var(--fs-sb-sec);
  font-weight: 700;
  color: var(--gold-hover);
  letter-spacing: .02em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  margin: 0 0 16px
}

  .sb-sec + .sb-sec {
    margin-top: 22px
  }

.sb-gap {
  height: 22px
}

.sb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px
}

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

.sb-field .lg-label {
  margin-bottom: 7px
}

  .sb-field .lg-label i {
    font-style: normal;
    color: var(--red);
    margin-left: 3px
  }

.sb-in {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--cream-soft);
  padding: 12px 14px;
  font-family: inherit;
  font-size: var(--fs-sb-input);
  color: var(--ink);
  outline: none;
  transition: border-color .2s,box-shadow .2s,background .2s
}

  .sb-in:focus {
    border-color: var(--green);
    background: var(--white)
  }

  .sb-in.bad {
    border-color: var(--red);
    background: var(--red-tint-soft)
  }

  .sb-in[readonly] {
    background: var(--chip-bg);
    color: var(--ink-soft);
    cursor: default
  }

  .sb-in.locked {
    background: var(--green-tint-soft);
    border-color: var(--green-focus);
    color: var(--green-deep);
    font-weight: 600;
    cursor: default
  }

.sb-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sb-price);
  color: var(--blue-ink)
}

.sb-note {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 6px
}

.sb-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--sb-tag-ink);
  background: var(--sb-tag-bg);
  padding: 2px 12px;
  border-radius: 999px;
  margin-bottom: 8px
}

.sb-tender .sb-caption {
  margin: 0 0 6px
}

.sb-memo {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 12px
}

  .sb-memo b {
    font-weight: 700;
    color: var(--ink);
    letter-spacing: .02em
  }

.sb-val {
  margin: 0;
  font-size: var(--fs-sb-input);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5
}

.sb-val-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sb-price);
  color: var(--blue-ink)
}

/* ===== 15.5 JS-TENDER-TERMS ===== */
.tn-info {
  background: var(--sb-tender-bg);
  border: 1px solid var(--sb-tender-line);
  border-radius: var(--radius);
  padding: 12px 16px 14px;
  margin-bottom: 18px
}

  .tn-info .sb-caption {
    margin: 0 0 4px
  }

  .tn-info .sb-memo {
    margin: 0
  }

.tn-sec {
  margin-bottom: 18px
}

.tn-box {
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.7
}

  .tn-box.tn-cond {
    background: var(--white);
    border-color: var(--sb-tender-line)
  }

  .tn-box :is(p, div, li) {
    margin: 0 0 8px
  }

    .tn-box :is(p, div, li):last-child {
      margin-bottom: 0
    }

/* ===== 16. CSS-DASH-COMPACT ===== */
.sc-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  align-items: center;
  padding: 18px 20px
}

  .sc-card .ic {
    width: 38px;
    height: 38px;
    border-radius: 11px
  }

    .sc-card .ic svg {
      width: 19px;
      height: 19px
    }

  .sc-card b {
    font-size: 15px
  }

  .sc-card small {
    grid-column: 1/-1;
    font-size: 12.5px
  }

  .sc-card .go {
    grid-column: 1/-1;
    font-size: 12.5px;
    padding-top: 8px
  }

.panel-head .ph-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left
}

  .panel-head .ph-link svg {
    width: 20px;
    height: 20px;
    color: var(--green);
    flex-shrink: 0
  }

  .panel-head .ph-link:hover {
    color: var(--green-dark);
    text-decoration: underline
  }

/* ===== 17. CSS-TABLE-FILTER ===== */
.panel-head {
  align-items: center
}

.ph-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0
}

  .ph-title .ph-sub {
    font-size: 12.5px;
    color: var(--ink-soft)
  }

.tbl-filter {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-left: auto;
  flex-wrap: wrap
}

  .tbl-filter button {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    line-height: 1.15;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    cursor: pointer;
    transition: background .18s,color .18s
  }

    .tbl-filter button:hover {
      color: var(--blue-ink)
    }

    .tbl-filter button.active {
      background: var(--blue-ink);
      color: var(--white)
    }

.panel-head .ph-new {
  margin-left: 12px
}

.gz-table td.memo {
  white-space: nowrap;
  font-size: 12.5px;
  color: var(--ink-soft)
}

/* ===== 18. CSS-HOME-HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--green);
  margin-top: -78px
}

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(100deg,rgba(var(--rgb-hero-a),.94) 0%,rgba(var(--rgb-hero-b),.90) 30%,rgba(var(--rgb-hero-c),.72) 48%,rgba(var(--rgb-hero-d),.42) 64%,rgba(var(--rgb-hero-d),.14) 80%,rgba(var(--rgb-hero-d),0) 96%),linear-gradient(180deg,rgba(var(--rgb-hero-shade),.45) 0%,rgba(var(--rgb-hero-shade),.05) 26%,rgba(var(--rgb-hero-shade),.05) 62%,rgba(var(--rgb-hero-shade),.5) 100%),var(--hero-image) center/cover no-repeat
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: radial-gradient(circle at 90% 12%,rgba(var(--rgb-gold),.2),transparent 42%);
    pointer-events: none
  }

  .hero .wrap {
    display: grid;
    grid-template-columns: 60fr 40fr;
    gap: 0;
    padding: 130px clamp(20px,5vw,64px) 92px;
    position: relative;
    z-index: 2
  }

.hero-copy {
  color: var(--white);
  padding-left: 30px;
  margin-left: 0
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--rgb-white),.14);
  border: 1px solid rgba(var(--rgb-white),.24);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--white)
}

.hero h1 {
  font-size: var(--fs-hero-title);
  font-weight: 600;
  margin: 22px 0 20px;
  letter-spacing: -.01em;
  line-height: 1.25
}

  .hero h1 .accent {
    color: var(--gold)
  }

.hero p.lead {
  font-size: var(--fs-hero-lead);
  line-height: 1.5;
  color: var(--hero-ink-soft);
  max-width: 650px;
  margin-bottom: 34px
}

.search-box {
  background: var(--white);
  border-radius: 999px;
  padding: 6px 6px 6px 8px;
  display: flex;
  gap: 8px;
  align-items: center;
  box-shadow: 0 22px 40px -22px rgba(var(--rgb-black),.5);
  max-width: 580px
}

  .search-box .si {
    display: grid;
    place-items: center;
    color: var(--green);
    padding-left: 8px
  }

  .search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 8px;
    font-family: inherit;
    font-size: 16px;
    color: var(--ink);
    background: transparent
  }

  .search-box .btn-search {
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 999px;
    padding: 12px 26px;
    font-family: inherit;
    font-weight: 700;
    font-size: 15.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background .2s
  }

    .search-box .btn-search:hover {
      background: var(--red-dark)
    }

/* ===== 19. CSS-HOME-STATS ===== */
.hero-stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 600px;
  margin-top: 4px
}

.hero-stat {
  flex: 1;
  min-width: 158px;
  background: rgba(var(--rgb-white),.12);
  border: 1px solid rgba(var(--rgb-white),.24);
  border-radius: 16px;
  padding: 16px 18px;
  color: var(--white);
  text-decoration: none;
  transition: background .2s,transform .18s,border-color .2s
}

  .hero-stat:hover {
    background: rgba(var(--rgb-white),.2);
    transform: translateY(-3px);
    border-color: rgba(var(--rgb-white),.42)
  }

  .hero-stat .num {
    font-family: var(--font-display);
    font-size: var(--fs-stat-num);
    font-weight: 800;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 7px
  }

    .hero-stat .num svg {
      width: 22px;
      height: 22px;
      color: var(--gold);
      flex-shrink: 0
    }

  .hero-stat .plus {
    color: var(--gold)
  }

  .hero-stat .lbl {
    font-size: 13px;
    color: var(--hero-ink-soft);
    margin-top: 8px;
    display: block;
    line-height: 1.4
  }

.wave {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -2px
}

/* ===== 20. CSS-HOME-SERVICES ===== */
.services {
  margin-top: -52px;
  position: relative;
  z-index: 5
}

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

.svc .lockbadge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--chip-bg);
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 999px
}

  .svc .lockbadge svg {
    width: 12px;
    height: 12px
  }

.svc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: transform .18s,box-shadow .2s,border-color .2s;
  position: relative;
  overflow: hidden
}

  .svc::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent,var(--green));
    opacity: 0;
    transition: opacity .2s
  }

  .svc:hover::before {
    opacity: 1
  }

  .svc:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 44px -20px rgba(var(--rgb-shadow-ink),.24);
    border-color: var(--accent,var(--green))
  }

  .svc .ic {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: color-mix(in srgb,var(--accent,var(--green)) 12%,var(--white));
    color: var(--accent,var(--green));
    display: grid;
    place-items: center;
    transition: transform .2s
  }

  .svc:hover .ic {
    transform: scale(1.06)
  }

  .svc .ic svg {
    width: 20px;
    height: 20px
  }

  .svc b {
    font-size: var(--fs-card-title);
    color: var(--ink);
    font-weight: 700;
    line-height: 1.3
  }

  .svc small {
    color: var(--ink-soft);
    font-size: 13.5px;
    line-height: 1.6
  }

  .svc .go {
    font-size: 13.5px;
    color: var(--accent,var(--green));
    background: color-mix(in srgb,var(--accent,var(--green)) 8%,var(--white));
    border: 1px solid color-mix(in srgb,var(--accent,var(--green)) 26%,var(--white));
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 132px;
    flex-shrink: 0;
    white-space: nowrap;
    transition: background .2s,border-color .2s,color .2s
  }

  .svc:hover .go {
    background: color-mix(in srgb,var(--accent,var(--green)) 14%,var(--white));
    border-color: color-mix(in srgb,var(--accent,var(--green)) 45%,var(--white))
  }

.svc-head {
  display: flex;
  align-items: center;
  gap: 12px
}

.svc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line)
}

  .svc-foot .sub {
    font-size: 12.5px;
    color: var(--ink-soft)
  }

.svc.s1 {
  --accent: var(--red)
}

.svc.s2 {
  --accent: var(--blue)
}

.svc.s3 {
  --accent: var(--green)
}

.svc.s4 {
  --accent: var(--red)
}

.svc.s5 {
  --accent: var(--green-dark)
}

/* ===== 21. CSS-HOME-LEASE-HEAD ===== */
main {
  padding: 72px 0
}

.lease-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  letter-spacing: .05em;
  font-weight: 700;
  color: var(--white);
  background: var(--red);
  padding: 7px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 18px -8px rgba(var(--rgb-red),.55)
}

  .lease-head .eyebrow svg {
    width: 15px;
    height: 15px
  }

.lease-head h2 {
  font-size: var(--fs-section-title);
  color: var(--blue-ink);
  font-weight: 700;
  margin: 14px 0 8px;
  line-height: 1.35
}

.lease-head p {
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 640px
}

/* ===== 22. CSS-HOME-CONTROLBAR ===== */
.controlbar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 18px;
  flex-wrap: wrap
}

.tabs {
  display: flex;
  gap: 6px;
  background: color-mix(in srgb,var(--tabs-bg) 42%,var(--white));
  padding: 5px;
  border-radius: 14px;
  flex-wrap: wrap
}

.tab {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  background: none;
  border: none;
  padding: 11px 18px;
  border-radius: 11px;
  cursor: pointer;
  transition: background .2s,color .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px
}

  .tab .tcount {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    background: var(--tcount-bg);
    color: var(--ink-soft);
    padding: 1px 8px;
    border-radius: 999px;
    transition: background .2s,color .2s
  }

  .tab.active {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 6px 14px -6px rgba(var(--rgb-green),.6)
  }

    .tab.active .tcount {
      background: rgba(var(--rgb-white),.25);
      color: var(--white)
    }

.cb-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: flex-end;
  min-width: 280px
}

.cb-search {
  flex: 1;
  max-width: 340px;
  position: relative
}

  .cb-search svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-soft)
  }

  .cb-search input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--cream-soft);
    padding: 13px 15px 13px 42px;
    font-family: inherit;
    font-size: 14.5px;
    outline: none;
    transition: border-color .2s,box-shadow .2s
  }

    .cb-search input:focus {
      border-color: var(--green);
      box-shadow: 0 0 0 3px var(--green-focus)
    }

.year-wrap {
  position: relative
}

  .year-wrap select {
    appearance: none;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--blue-ink);
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    padding: 13px 40px 13px 18px;
    min-width: 160px;
    cursor: pointer;
    outline: none
  }

  .year-wrap::after {
    content: "▾";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--green-dark)
  }

/* ===== 23. CSS-HOME-COUNT-ROW ===== */
.count-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 6px 4px 20px;
  flex-wrap: wrap;
  gap: 12px
}

  .count-row b {
    color: var(--blue-ink)
  }

.status-toggle {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-left: auto;
  margin-right: 10px
}

  .status-toggle button {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    line-height: 1.15;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    cursor: pointer;
    transition: background .18s,color .18s
  }

    .status-toggle button:hover {
      color: var(--blue-ink)
    }

    .status-toggle button.active {
      background: var(--blue-ink);
      color: var(--white)
    }

.lc-pager {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  flex-wrap: wrap;
  font-weight: 700;
}

  .lc-pager button {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 10px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    transition: background .18s,border-color .18s,color .18s
  }

    .lc-pager button:hover:not(:disabled) {
      border-color: var(--green);
      color: var(--green-deep)
    }

    .lc-pager button.active {
      background: var(--green);
      border-color: var(--green);
      color: var(--white)
    }

    .lc-pager button:disabled {
      opacity: .45;
      cursor: not-allowed
    }

  .lc-pager .pg-info {
    margin-right: auto;
    font-size: 13px;
    color: var(--ink-soft)
  }

.view-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white)
}

  .view-toggle button {
    background: none;
    border: none;
    padding: 8px 11px;
    cursor: pointer;
    color: var(--ink-soft);
    display: grid;
    place-items: center;
    transition: background .2s,color .2s
  }

    .view-toggle button.active {
      background: var(--green);
      color: var(--white)
    }

    .view-toggle button svg {
      width: 17px;
      height: 17px
    }

/* ===== 24. CSS-HOME-LEASE-GRID ===== */
.lease-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px
}

.lc-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 52px 24px;
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: var(--radius)
}

  .lc-empty svg {
    width: 40px;
    height: 40px;
    color: var(--tcount-bg);
    display: block;
    margin: 0 auto 14px
  }

  .lc-empty b {
    display: block;
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--blue-ink);
    margin-bottom: 6px
  }

  .lc-empty span {
    display: block;
    font-size: 13.5px;
    color: var(--ink-soft);
    margin-bottom: 16px
  }

  .lc-empty button {
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid var(--green);
    background: var(--white);
    color: var(--green-dark);
    cursor: pointer;
    transition: background .2s
  }

    .lc-empty button:hover {
      background: var(--green-tint-soft)
    }

.lease-grid.list-view {
  grid-template-columns: 1fr
}

.lcard {
  background: var(--card);
  border: 1px solid var(--lcard-border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .16s,box-shadow .2s
}

  .lcard:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -22px rgba(var(--rgb-shadow-ink),.26)
  }

.lc-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px
}

.lc-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0
}

.lc-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  text-align: right;
  flex-shrink: 0
}

.lc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--green-tint);
  padding: 5px 12px;
  border-radius: 999px
}

  .lc-badge svg {
    width: 13px;
    height: 13px
  }

.lcard.soon .lc-badge {
  color: var(--amber-ink);
  background: var(--amber-tint)
}

.lc-badge.over {
  color: var(--red-dark);
  background: var(--red-tint)
}

.lcard h3 {
  font-size: var(--fs-lease-title);
  color: var(--blue-ink);
  font-weight: 600;
  line-height: 1.35;
  min-height: calc(var(--fs-lease-title) * 1.35 * var(--lease-title-lines));
  display: -webkit-box;
  -webkit-line-clamp: var(--lease-title-lines);
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word
}

.lc-place {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--ink-soft)
}

  .lc-place svg {
    width: 15px;
    height: 15px;
    color: var(--green-dark);
    flex-shrink: 0
  }

.lc-no, .lc-price, .lc-due {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-soft);
  white-space: nowrap
}

  .lc-no svg, .lc-price svg, .lc-due svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0
  }

.lc-price {
  font-weight: 600;
  color: var(--ink)
}

  .lc-price b {
    color: var(--blue-ink);
    font-weight: 700
  }

.lc-due b {
  color: var(--red);
  font-weight: 600
}

.lcard.soon .lc-due b {
  color: var(--amber-ink)
}

.lc-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap
}

.lc-date {
  display: inline-flex;
  align-items: center;
  gap: 9px
}

  .lc-date > svg {
    width: 20px;
    height: 20px;
    color: var(--red);
    flex-shrink: 0
  }

.lcard.soon .lc-date > svg {
  color: var(--amber-ink)
}

.lc-dtext small {
  font-size: 12px;
  color: var(--ink-soft);
  display: block
}

.lc-dtext b {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--red);
  font-weight: 600
}

.lcard.soon .lc-dtext b {
  color: var(--amber-ink)
}

.lc-remain {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--green-tint);
  padding: 6px 8px;
  border-radius: 999px;
  white-space: nowrap
}

  .lc-remain svg {
    width: 13px;
    height: 13px
  }

  .lc-remain.over {
    color: var(--red-dark);
    background: var(--red-tint)
  }

  .lc-remain.flow {
    color: var(--blue);
    background: var(--blue-tint-alt)
  }

.lc-actions {
  display: flex;
  gap: 10px
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  transition: border-color .2s,color .2s
}

  .btn-ghost svg {
    width: 14px;
    height: 14px
  }

  .btn-ghost:hover {
    border-color: var(--green);
    color: var(--green-dark)
  }

.btn-buy {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: #123d05;
  background: #5be923b0;
  border: 1px solid #5be923;
  border-radius: 999px;
  padding: 9px 19px;
  cursor: pointer;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  transition: background .2s,border-color .2s,box-shadow .2s
}

  .btn-buy svg {
    width: 15px;
    height: 15px
  }

  .btn-buy:hover {
    background: #5be923;
    border-color: #4bd016;
    box-shadow: 0 6px 14px -6px rgba(91,233,35,.7)
  }

.lcard.soon .btn-buy {
  background: var(--gold);
  color: var(--gold-ink)
}

  .lcard.soon .btn-buy:hover {
    background: var(--gold-hover)
  }

.btn-buy.is-disabled, .btn-buy:disabled {
  background: var(--disabled-bg);
  color: var(--disabled-ink);
  border-color: var(--tcount-bg);
  cursor: not-allowed;
  box-shadow: none
}

  .btn-buy.is-disabled:hover, .btn-buy:disabled:hover {
    background: var(--disabled-bg);
    border-color: var(--tcount-bg);
    box-shadow: none
  }

  .btn-buy.is-disabled svg {
    opacity: .55
  }

.lcard.expired {
  background: var(--chip-bg);
  border: 1px solid var(--tcount-bg);
  box-shadow: none
}

  .lcard.expired:hover {
    transform: none;
    box-shadow: none
  }

  .lcard.expired h3 {
    color: var(--disabled-ink);
    font-weight: 600
  }

  .lcard.expired .lc-place, .lcard.expired .lc-no, .lcard.expired .lc-price, .lcard.expired .lc-due {
    color: var(--disabled-ink)
  }

    .lcard.expired .lc-price b, .lcard.expired .lc-due b {
      color: var(--disabled-ink);
      font-weight: 600
    }

    .lcard.expired .lc-place svg, .lcard.expired .lc-no svg, .lcard.expired .lc-price svg, .lcard.expired .lc-due svg {
      color: var(--disabled-ink)
    }

  .lcard.expired .lc-foot {
    border-top-color: var(--tcount-bg)
  }

.btn-ghost.is-disabled, .btn-ghost:disabled {
  background: var(--disabled-bg);
  color: var(--disabled-ink);
  border-color: var(--tcount-bg);
  cursor: not-allowed
}

  .btn-ghost.is-disabled:hover, .btn-ghost:disabled:hover {
    background: var(--disabled-bg);
    color: var(--disabled-ink);
    border-color: var(--tcount-bg)
  }

  .btn-ghost.is-disabled svg {
    opacity: .55
  }

/* ===== 25. CSS-HOME-LIST-VIEW ===== */
.lease-grid.list-view .lcard {
  flex-direction: row;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap
}

.lease-grid.list-view .lc-body {
  flex: 1;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  min-width: 0
}

.lease-grid.list-view .lc-left {
  flex: 1;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  min-width: 0
}

  .lease-grid.list-view .lc-left h3 {
    flex: 1 1 240px;
    min-width: 0;
    -webkit-line-clamp: 1
  }

.lease-grid.list-view .lc-right {
  flex-direction: row;
  align-items: center;
  gap: 18px;
  text-align: left;
  flex-shrink: 0
}

.lease-grid.list-view .lc-foot {
  flex: 0 0 auto;
  border-top: none;
  padding-top: 0;
  padding-left: 22px;
  border-left: 1px solid var(--line);
  flex-direction: row;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap
}

/* ===== 26. CSS-RESPONSIVE ===== */
@media(max-width:1240px) {
  .bento {
    grid-template-columns: repeat(2,1fr)
  }
}

@media(max-width:1150px) {
  .brand-text b {
    font-size: 15px
  }

  .brand img {
    width: var(--logo-size-md);
    height: var(--logo-size-md)
  }
}

@media(max-width:1100px) {
  .rn-cols {
    grid-template-columns: 1fr
  }

  .rn-sum {
    position: static
  }
}

@media(max-width:980px) {
  .rn-shops {
    grid-template-columns: repeat(2,1fr)
  }
}

@media(max-width:960px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    padding: 110px clamp(20px,5vw,64px) 68px
  }

  .hero-copy {
    padding-left: 0
  }

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

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

  .head-meta .lang-toggle {
    display: none
  }

  .foot-main {
    align-items: flex-start
  }

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

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

  .cf-addr2, .cf-subject, .cf-detail {
    grid-column: 1/-1
  }
}

@media(max-width:820px) {
  .brand-text b {
    font-size: 13.5px;
    white-space: normal
  }

  .acct {
    padding: 24px 0 52px
  }

  .gz-table th, .gz-table td {
    padding: 12px 14px
  }

  .gz-table {
    min-width: 660px
  }

  .track .node {
    width: 62px
  }

    .track .node small {
      font-size: 10.5px
    }
}

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

  .cf-body {
    padding: 20px
  }

  .cf-sec-head {
    padding: 16px 20px
  }

  .cf-actions {
    padding: 18px 20px;
    flex-direction: column;
    align-items: stretch
  }

  .cf-btns {
    flex-direction: column-reverse
  }

  .cf-submit, .cf-reset {
    width: 100%;
    justify-content: center
  }

  .cf-cap .cf-in {
    max-width: none;
    flex: 1
  }
}

@media(max-width:680px) {
  .login-group {
    display: none
  }

  .menu-toggle {
    display: block
  }

  .hotline small {
    display: none
  }

  .brand-text b {
    display: none
  }

  .foot-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px
  }

  .foot-links {
    text-align: left
  }

  .gz-modal__box {
    padding: 24px 20px 22px;
    border-radius: 16px
  }

  .lg-otp {
    gap: 6px
  }

    .lg-otp input {
      font-size: 19px
    }

  .lg-step h3 {
    font-size: 19px
  }

  .user-chip .uname {
    display: none
  }

  .user-chip {
    padding: 5px
  }

  .rn-shops {
    grid-template-columns: 1fr
  }

  .rn-bar {
    padding: 12px 14px
  }

  .rn-pm {
    grid-template-columns: 1fr
  }

  .sb-actions {
    grid-template-columns: 1fr;
    gap: 12px
  }

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

  .tbl-filter {
    margin-left: 0;
    width: 100%
  }

    .tbl-filter button {
      flex: 1;
      padding: 0 10px;
      font-size: 12.5px
    }

  .panel-head .ph-new {
    margin-left: 0
  }

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

  .lease-grid, .lease-grid.list-view {
    grid-template-columns: 1fr
  }

    .lease-grid.list-view .lcard {
      flex-direction: column;
      align-items: stretch;
      gap: 16px
    }

    .lease-grid.list-view .lc-body {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px
    }

    .lease-grid.list-view .lc-left, .lease-grid.list-view .lc-right {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px
    }

    .lease-grid.list-view .lc-foot {
      border-left: none;
      border-top: 1px solid var(--line);
      padding-left: 0;
      padding-top: 16px;
      flex-wrap: wrap
    }

  .cb-right {
    justify-content: flex-start;
    min-width: 0
  }

  .lc-foot {
    flex-direction: column;
    align-items: stretch
  }

  .lc-actions {
    justify-content: space-between
  }
}

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

  .rn-tip {
    left: auto;
    right: 0
  }

    .rn-tip::before {
      left: auto;
      right: 16px
    }
}

@media(max-width:1280px) {
  .rn-shops {
    grid-template-columns: repeat(3,1fr)
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important
  }
}

/*:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px
}*/
