:root{
  --rentals-page-max: 944px;
  --rentals-page-pad: 14px;

  --rentals-glass-bg: rgba(255,255,255,.08);
  --rentals-glass-brd: rgba(255,255,255,.13);
  --rentals-soft: rgba(255,255,255,.05);
  --rentals-soft-2: rgba(255,255,255,.04);
  --rentals-soft-3: rgba(255,255,255,.03);
  --rentals-text-muted: rgba(255,255,255,.72);

  --rentals-gold: #f5c451;
  --rentals-ok: #22c55e;
  --rentals-warn: #ffcc66;
  --rentals-danger: #ff6b6b;

  --rentals-radius-xl: 26px;
  --rentals-radius-lg: 22px;
  --rentals-radius-md: 18px;
  --rentals-radius-sm: 16px;
  --rentals-radius-pill: 999px;

  --rentals-shadow: 0 16px 38px rgba(0,0,0,.16);
  --rentals-shadow-hero: 0 18px 44px rgba(0,0,0,.18);

  --rentals-gap-xs: 6px;
  --rentals-gap-sm: 10px;
  --rentals-gap-md: 12px;
  --rentals-gap-lg: 16px;
  --rentals-gap-xl: 18px;

  --rentals-card-pad: 13px;
  --rentals-card-pad-lg: 15px;
  --rentals-hero-pad: 16px;

  --rentals-btn-h: 42px;
  --rentals-btn-pad-x: 16px;

  --rentals-input-pad-y: 11px;
  --rentals-input-pad-x: 13px;

  --rentals-thumb-h: 178px;
  --rentals-thumb-h-lg: 250px;
  --rentals-admin-thumb-h: 152px;

  --rentals-h1: clamp(1.85rem, 3vw, 2.65rem);
  --rentals-h2: 1rem;
  --rentals-h3: .95rem;
  --rentals-body: .88rem;
  --rentals-small: .80rem;
  --rentals-tiny: .74rem;
}

body.rentals-industrial{
  --rentals-page-max: 920px;
  --rentals-radius-xl: 24px;
  --rentals-radius-lg: 20px;
  --rentals-radius-md: 16px;
  --rentals-thumb-h: 172px;
  --rentals-thumb-h-lg: 235px;
  --rentals-card-pad: 12px;
  --rentals-card-pad-lg: 14px;
}

body.rentals-vehicle{
  --rentals-page-max: 960px;
  --rentals-thumb-h: 182px;
  --rentals-thumb-h-lg: 255px;
}

body.rentals-property{
  --rentals-page-max: 980px;
  --rentals-radius-xl: 28px;
  --rentals-radius-lg: 24px;
  --rentals-radius-md: 18px;
  --rentals-thumb-h: 190px;
  --rentals-thumb-h-lg: 270px;
  --rentals-card-pad: 14px;
  --rentals-card-pad-lg: 16px;
}

body.admin.rentals-default,
body.admin[class*="rentals-"],
body[class*="rentals-"]{
  font-size: var(--rentals-body);
}

.rentals-wrap,
.page-wrap,
.container{
  width: min(var(--rentals-page-max), 100%);
  margin: 20px auto 48px;
  padding-left: var(--rentals-page-pad);
  padding-right: var(--rentals-page-pad);
  box-sizing: border-box;
}

.card,
.page-card,
.toolbar-card,
.hero,
.notice,
.stat-card,
.summary-item,
.request-card,
.proof-card,
.quick-link,
.section,
.info-box,
.meta-box,
.stat,
.mini-card{
  box-sizing: border-box;
}

.card,
.page-card,
.toolbar-card{
  background: var(--rentals-glass-bg);
  border: 1px solid var(--rentals-glass-brd);
  border-radius: var(--rentals-radius-lg);
  box-shadow: var(--rentals-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

.card-pad,
.panel,
.side-card,
.hero-pad{
  padding: var(--rentals-card-pad);
}

.hero{
  position: relative;
  overflow: hidden;
  border-radius: var(--rentals-radius-xl);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--rentals-shadow-hero);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-pad{
  padding: var(--rentals-hero-pad);
}

body.rentals-default .hero,
body.admin.rentals-default .hero{
  background:
    radial-gradient(circle at top right, rgba(245,196,81,.20), transparent 36%),
    radial-gradient(circle at bottom left, rgba(255,255,255,.08), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.05));
}

body.rentals-industrial .hero,
body.admin.rentals-industrial .hero{
  background:
    radial-gradient(circle at top right, rgba(245,196,81,.16), transparent 36%),
    radial-gradient(circle at bottom left, rgba(255,255,255,.05), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
}

body.rentals-vehicle .hero,
body.admin.rentals-vehicle .hero{
  background:
    radial-gradient(circle at top right, rgba(88,147,255,.22), transparent 36%),
    radial-gradient(circle at bottom left, rgba(255,255,255,.08), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.05));
}

body.rentals-property .hero,
body.admin.rentals-property .hero{
  background:
    radial-gradient(circle at top right, rgba(206,169,106,.22), transparent 36%),
    radial-gradient(circle at bottom left, rgba(255,255,255,.08), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.05));
}

.title-wrap h1,
.hero-copy h1,
.hero h1{
  margin: 0 0 6px;
  font-size: var(--rentals-h1);
  line-height: 1.04;
  letter-spacing: -.02em;
}

.panel-head h2,
.head-row h2,
.results-head h2,
.section h2,
.card h2{
  margin: 0;
  font-size: var(--rentals-h2);
  line-height: 1.2;
}

.request-title,
.proof-title,
.item-title,
.hero-copy h3,
.title{
  margin: 0;
  font-size: var(--rentals-h3);
  line-height: 1.3;
}

.title-wrap p,
.hero-copy p,
.subtle,
.note,
.results-meta,
.helper,
.section-note,
.hint,
.code,
.muted,
.stat-foot,
.summary-meta,
.price-sub{
  color: var(--rentals-text-muted);
}

.title-wrap p,
.hero-copy p,
.subtle,
.note{
  line-height: 1.55;
}

.code{
  font-size: .82rem;
  word-break: break-word;
}

.section-note,
.hint,
.helper,
.results-meta,
.stat-foot{
  font-size: var(--rentals-small);
}

.summary-meta,
.muted,
.price-sub{
  font-size: .8rem;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--rentals-btn-h);
  padding: 0 var(--rentals-btn-pad-x);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  font-weight: 800;
  font-size: .84rem;
  white-space: nowrap;
  gap: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}

.btn.primary{
  background: linear-gradient(135deg, rgba(245,196,81,.98), rgba(230,168,52,.94));
  color: #171717;
  border-color: rgba(245,196,81,.32);
  box-shadow: 0 10px 24px rgba(245,196,81,.16);
}

.btn.success{
  background: linear-gradient(135deg, rgba(34,197,94,.94), rgba(26,160,76,.92));
  color: #fff;
  border-color: rgba(34,197,94,.26);
}

.btn.warn{
  background: linear-gradient(135deg, rgba(245,196,81,.94), rgba(222,165,53,.92));
  color: #171717;
  border-color: rgba(245,196,81,.26);
}

.btn.danger{
  background: linear-gradient(135deg, rgba(255,107,107,.94), rgba(228,86,86,.92));
  color: #fff;
  border-color: rgba(255,107,107,.26);
}

.btn.ghost{
  background: rgba(255,255,255,.04);
}

.btn.full{
  width: 100%;
}

.btn[disabled]{
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
}

.pill,
.chip,
.mini-chip,
.tag,
.pill-note{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--rentals-radius-pill);
  font-weight: 800;
  white-space: nowrap;
}

.pill,
.chip,
.mini-chip,
.pill-note{
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: var(--rentals-text-muted);
  font-size: .76rem;
}

.pill.good,
.tag.good{
  background: rgba(34,197,94,.14);
  color: #d8ffe7;
}

.pill.warn,
.tag.warn{
  background: rgba(245,196,81,.14);
  color: #fff3c9;
}

.pill.danger{
  background: rgba(255,107,107,.14);
  color: #ffe0e0;
}

.tag{
  padding: 6px 9px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-size: .77rem;
  backdrop-filter: blur(8px);
}

.field{
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field label{
  font-size: .84rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea,
input[type="text"],
input[type="number"],
select,
textarea{
  width: 100%;
  box-sizing: border-box;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.055);
  color: #fff;
  padding: var(--rentals-input-pad-y) var(--rentals-input-pad-x);
  outline: none;
  transition: .18s ease;
  font-size: .88rem;
}

.field input::placeholder,
.field textarea::placeholder,
input[type="text"]::placeholder,
input[type="number"]::placeholder,
textarea::placeholder{
  color: rgba(255,255,255,.42);
}

.field input:focus,
.field select:focus,
.field textarea:focus,
input[type="text"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus{
  border-color: rgba(245,196,81,.50);
  box-shadow: 0 0 0 4px rgba(245,196,81,.10);
  background: rgba(255,255,255,.09);
}

textarea,
.field textarea{
  min-height: 88px;
  resize: vertical;
}

.compact-textarea{
  min-height: 68px;
}

.grid{
  display: grid;
  gap: var(--rentals-gap-md);
}

.grid.two,
.form-grid.two,
.meta-grid,
.split{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: var(--rentals-gap-sm);
}

.grid.three{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: var(--rentals-gap-sm);
}

.toolbar-grid{
  display: grid;
  grid-template-columns: 1.3fr .8fr auto;
  gap: var(--rentals-gap-sm);
  align-items: end;
}

.hero-grid,
.top-grid,
.panel-grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: var(--rentals-gap-lg);
  align-items: start;
}

.bottom-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: var(--rentals-gap-lg);
  align-items: start;
}

.stats-grid{
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: var(--rentals-gap-md);
}

.quick-links{
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0,1fr));
  margin-top: 12px;
}

.topbar,
.head-row,
.panel-head,
.results-head,
.request-top,
.proof-top,
.summary-title{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.action-row,
.actions,
.mini-actions,
.btn-row,
.pill-row,
.hero-chips,
.meta-row,
.card-actions,
.check-row{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar{ margin-bottom: 16px; }
.flash-wrap{ margin-bottom: 12px; }
.toolbar{ margin-bottom: 16px; }

.table-wrap{
  overflow: auto;
  border-radius: var(--rentals-radius-md);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}

table{
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

th, td{
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.07);
  vertical-align: top;
}

th{
  color: var(--rentals-text-muted);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  background: rgba(255,255,255,.03);
}

td{
  font-size: .86rem;
  line-height: 1.4;
}

.flash,
.notice,
.info-box,
.meta-box,
.stat,
.summary-item,
.request-card,
.proof-card,
.quick-link,
.section,
.mini-card{
  border-radius: var(--rentals-radius-md);
}

.flash{
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.08);
}

.flash.success{ border-color: rgba(34,197,94,.28); }
.flash.warning{ border-color: rgba(245,196,81,.30); }
.flash.danger{ border-color: rgba(255,107,107,.30); }

.notice{
  padding: 12px 13px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  font-size: .88rem;
  line-height: 1.55;
}

.notice.warn{
  border-color: rgba(245,196,81,.28);
  background: rgba(245,196,81,.10);
}

.notice.good{
  border-color: rgba(34,197,94,.28);
  background: rgba(34,197,94,.10);
}

.notice.danger{
  border-color: rgba(255,107,107,.30);
  background: rgba(255,107,107,.10);
}

.info-box,
.meta-box,
.stat,
.summary-item,
.request-card,
.proof-card,
.quick-link,
.section,
.mini-card{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
}

.info-box,
.meta-box,
.stat,
.summary-item,
.request-card,
.proof-card,
.quick-link,
.section,
.mini-card{
  padding: 12px 13px;
}

.meta-box .k,
.stat .k,
.mini-card .label{
  color: var(--rentals-text-muted);
  font-size: .76rem;
  margin-bottom: 4px;
}

.meta-box .v,
.stat .v,
.mini-card .value,
.stat-value{
  font-weight: 800;
  line-height: 1.3;
  word-break: break-word;
}

.info-box strong,
.quick-link strong{
  display: block;
  margin-bottom: 5px;
  line-height: 1.25;
}

.stat-card{
  padding: 14px;
  min-height: 102px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.stat-label{
  color: var(--rentals-text-muted);
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.35;
}

.stat-value{
  font-size: 1.4rem;
  line-height: 1;
}

.thumb{
  position: relative;
  min-height: var(--rentals-thumb-h);
  height: var(--rentals-thumb-h);
  overflow: hidden;
  border-radius: var(--rentals-radius-md);
  background:
    radial-gradient(circle at top right, rgba(245,196,81,.16), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.08);
}

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

.thumb-placeholder{
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--rentals-text-muted);
  padding: 12px;
  line-height: 1.45;
}

.media-wrap{
  position: relative;
  min-height: var(--rentals-thumb-h-lg);
  border-radius: var(--rentals-radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(245,196,81,.20), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-wrap img{
  width: 100%;
  min-height: var(--rentals-thumb-h-lg);
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.media-placeholder{
  padding: 24px;
  text-align: center;
  color: var(--rentals-text-muted);
  line-height: 1.45;
}

.thumb-tags,
.floating-tags{
  position: absolute;
  left: 10px;
  top: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  pointer-events: none;
}

.left-tags,
.right-tags{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.summary-list,
.list,
.stack,
.timeline{
  display: grid;
  gap: 10px;
}

.timeline-item{
  padding: 11px 12px;
  border-radius: var(--rentals-radius-sm);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}

.timeline-top{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.timeline-event{
  font-weight: 800;
  line-height: 1.25;
}

.timeline-meta{
  color: var(--rentals-text-muted);
  font-size: .78rem;
}

.empty{
  padding: 22px 14px;
  text-align: center;
  color: var(--rentals-text-muted);
  border-radius: var(--rentals-radius-md);
  border: 1px dashed rgba(255,255,255,.16);
  background: rgba(255,255,255,.03);
}

.pager{
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.price-box{
  padding: 11px 12px;
  border-radius: var(--rentals-radius-md);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
}

.price-main{
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.15;
}

.check{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--rentals-radius-pill);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
}

.check input{
  width: 15px;
  height: 15px;
  margin: 0;
}

.form-actions{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 4px;
}

@media (max-width: 1100px){
  .stats-grid{
    grid-template-columns: repeat(3, minmax(0,1fr));
  }

  .hero-grid,
  .top-grid,
  .panel-grid,
  .bottom-grid{
    grid-template-columns: 1fr;
  }

  .toolbar-grid{
    grid-template-columns: 1fr 1fr;
  }

  .meta-grid{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 760px){
  .toolbar-grid,
  .grid.two,
  .grid.three,
  .form-grid.two,
  .meta-grid,
  .split,
  .quick-links,
  .stats-grid{
    grid-template-columns: 1fr;
  }

  .hero,
  .hero-grid{
    grid-template-columns: 1fr;
  }

  .thumb{
    height: 180px;
    min-height: 180px;
  }

  .media-wrap,
  .media-wrap img{
    min-height: 230px;
  }

  table{
    min-width: 600px;
  }
}