/* Trích giao diện bdsgiatot.vn */

/* 1-820 */
:root {
  --red: #bc2938;
  --red-dark: #a41d2c;
  --ink: #20292c;
  --muted: #738084;
  --line: #e6e9e8;
  --soft: #f5f7f6;
  --blush: #fbf3f2;
  --radius: 14px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  background: #fff;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
button {
  border: 0;
  background: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  line-height: 1.45;
  letter-spacing: 0;
}
h1 {
  font-size: 38px;
}
h2 {
  font-size: 28px;
  font-weight: 650;
}
h3 {
  font-size: 17px;
  font-weight: 600;
}
p {
  margin: 10px 0;
  color: #647074;
}
input,
select,
textarea {
  min-width: 0;
  max-width: 100%;
  border: 1px solid #dbe0df;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px #bc293813;
}
input::placeholder,
textarea::placeholder {
  color: #929a9d;
}
select {
  cursor: pointer;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
}
form > label {
  margin-bottom: 17px;
}
textarea {
  resize: vertical;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #d34d5b;
  outline-offset: 4px;
}
.container {
  max-width: 1232px;
  padding: 0 32px;
  margin: 0 auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 22px;
  font-size: 13px;
  font-weight: 600;
  min-height: 46px;
  white-space: nowrap;
  transition:
    background 0.2s,
    transform 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--red);
  color: white;
}
.btn-primary:hover {
  background: var(--red-dark);
}
.btn-outline {
  background: #fff;
  border-color: #dce0df;
}
.btn-outline:hover {
  background: #f8f8f8;
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-small {
  padding: 9px 14px;
  min-height: 40px;
  font-size: 12px;
}
.full {
  width: 100%;
}
.centered {
  display: flex;
  width: fit-content;
  margin: 32px auto 0;
}
.brand-red {
  color: var(--red);
}
.muted,
.fine {
  color: var(--muted);
}
.fine {
  font-size: 11px;
  line-height: 1.6;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.9px;
  font-weight: 650;
  color: var(--red);
  display: block;
  margin-bottom: 10px;
}
.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--red);
  font-weight: 550;
  font-size: 12px;
}
.icon-button {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.icon-button:hover {
  background: var(--soft);
}
.demo-strip {
  height: 27px;
  background: #f9eeee;
  color: #9a5358;
  font-size: 10px;
  letter-spacing: 0.4px;
  text-align: center;
  padding: 5px 12px;
}
.header {
  background: #fff;
  border-bottom: 1px solid #ecefee;
  position: relative;
  z-index: 20;
}
.header-inner {
  height: 83px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -1.1px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
}
.logo small {
  font-size: 13px;
  letter-spacing: -0.2px;
  color: #778183;
}
.logo-icon {
  width: 36px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: white;
  border-radius: 9px 9px 9px 2px;
}
.desktop-nav {
  display: flex;
  gap: 25px;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.desktop-nav a {
  font-size: 12px;
  white-space: nowrap;
  font-weight: 550;
  padding: 29px 0;
  border-bottom: 2px solid transparent;
}
.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--red);
  border-bottom-color: var(--red);
}
.header-actions {
  display: flex;
  gap: 17px;
  align-items: center;
}
.login-link {
  font-size: 12px;
  display: flex;
  gap: 6px;
  white-space: nowrap;
}
.menu-button,
.mobile-nav,
.mobile-only {
  display: none;
}
.hero {
  height: 422px;
  position: relative;
  overflow: hidden;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-position: 50% 54%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(12, 30, 32, 0.75),
    rgba(12, 30, 32, 0.36) 46%,
    rgba(12, 30, 32, 0.07)
  );
}
.hero-content {
  position: absolute;
  inset: 0;
  max-width: 1232px;
  padding-top: 63px;
  color: #fff;
}
.hero-kicker {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  color: #e2e9df;
}
.hero h1 {
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: 49px;
  font-weight: 600;
  line-height: 1.35;
  margin: 20px 0 17px;
  letter-spacing: 0;
}
.hero h1 em {
  font-weight: 400;
  color: #f6ece0;
}
.hero p {
  color: #ecf0ec;
  font-size: 13px;
  line-height: 1.85;
}
.search-wrap {
  position: relative;
  z-index: 3;
  margin-top: -59px;
}
.search-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 9px 35px #23343310;
  overflow: hidden;
}
.search-tabs {
  display: flex;
  align-items: center;
  height: 49px;
  border-bottom: 1px solid var(--line);
  padding: 0 24px;
  gap: 28px;
}
.search-tabs button {
  height: 100%;
  padding: 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: #657175;
  border-bottom: 2px solid transparent;
}
.search-tabs .selected {
  color: var(--red);
  border-bottom-color: var(--red);
}
.search-tabs > span {
  font-size: 11px;
  color: #8b9597;
  margin-left: auto;
}
.search-main {
  display: flex;
  align-items: center;
  padding: 20px 22px;
  gap: 20px;
}
.search-field {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  border-right: 1px solid var(--line);
  padding-right: 18px;
  min-width: 0;
  color: #7e898c;
}
.search-field.keyword {
  flex: 1.6;
}
.search-field > span {
  display: block;
  min-width: 0;
  flex: 1;
}
.search-field b {
  font-size: 10px;
  color: #556165;
  display: block;
  font-weight: 550;
  margin-bottom: 2px;
}
.search-field input,
.search-field select {
  width: 100%;
  border: 0;
  padding: 3px 0;
  font-size: 12px;
  height: 28px;
  box-shadow: none;
}
.search-submit {
  padding: 13px 21px;
  min-height: 46px;
}
.quick-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 17px 6px;
  font-size: 11px;
  color: #839092;
}
.quick-search > span {
  margin-right: 4px;
}
.quick-search a {
  border: 1px solid var(--line);
  padding: 4px 11px;
  border-radius: 20px;
  display: flex;
  gap: 9px;
  align-items: center;
  color: #5a686c;
}
.quick-search a:hover {
  border-color: var(--red);
  color: var(--red);
}
.section {
  padding-top: 51px;
  padding-bottom: 55px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 26px;
}
.section-heading p {
  font-size: 12px;
  margin: 10px 0 0;
}
.section-heading .text-link {
  margin-bottom: 4px;
  white-space: nowrap;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.project-card {
  position: relative;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  color: white;
}
.project-card > img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s;
}
.project-card:hover > img {
  transform: scale(1.04);
}
.project-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 35%, rgba(9, 23, 26, 0.8));
}
.project-count {
  position: absolute;
  top: 17px;
  left: 18px;
  background: #ffffffec;
  color: #38484d;
  border-radius: 5px;
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 550;
}
.project-caption {
  position: absolute;
  bottom: 24px;
  left: 23px;
  right: 42px;
}
.project-caption > span {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #e2e8e7;
}
.project-caption h3 {
  font-size: 22px;
  margin-top: 8px;
  letter-spacing: -0.5px;
}
.project-arrow {
  position: absolute;
  bottom: 26px;
  right: 20px;
  opacity: 0.9;
}
.section-soft {
  background: #f5f7f6;
  border-top: 1px solid #f0f2f1;
  border-bottom: 1px solid #f0f2f1;
}
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.property-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.25s;
}
.property-card:hover {
  box-shadow: 0 10px 28px #23343312;
}
.card-image {
  height: 219px;
  position: relative;
  overflow: hidden;
}
.card-image > img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s;
}
.property-card:hover img {
  transform: scale(1.025);
}
.image-badge {
  position: absolute;
  left: 16px;
  top: 15px;
  padding: 4px 9px;
  background: #fffffff0;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 550;
}
.image-corner {
  position: absolute;
  right: 13px;
  bottom: 13px;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #ffffffed;
}
.card-body {
  padding: 20px;
}
.location {
  font-size: 10px;
  color: #7b898c;
  display: flex;
  align-items: center;
  gap: 4px;
}
.card-body h3 {
  font-size: 15px;
  line-height: 1.55;
  min-height: 46px;
  margin: 9px 0 13px;
  letter-spacing: -0.25px;
}
.card-price {
  color: var(--red);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.5px;
}
.specs {
  display: flex;
  gap: 17px;
  color: #69777b;
  font-size: 11px;
  margin-top: 12px;
  padding-bottom: 17px;
}
.specs > span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.specs > span:last-child {
  margin-left: auto;
  font-size: 10px;
}
.card-project {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  color: #67757a;
}
.international {
  background: #f2f1ed;
  border-radius: 15px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-height: 335px;
}
.international-copy {
  padding: 41px 43px;
}
.international-copy h2 {
  font-size: 32px;
  line-height: 1.4;
}
.international-copy p {
  font-size: 12px;
  max-width: 350px;
  margin: 17px 0 22px;
}
.international-copy .fine {
  display: block;
  margin-top: 14px;
  font-size: 10px;
}
.international-photo {
  position: relative;
}
.international-photo img {
  height: 100%;
  width: 100%;
}
.international-photo > span {
  position: absolute;
  right: 23px;
  bottom: 21px;
  background: #fffef5ef;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 11px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.news-section {
  padding-top: 9px;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 27px;
}
.article-card > img {
  height: 205px;
  width: 100%;
  border-radius: 10px;
}
.article-card > div {
  padding-top: 20px;
}
.article-card .eyebrow {
  font-size: 9px;
  letter-spacing: 1px;
}
.article-card h3 {
  font-size: 17px;
  line-height: 1.5;
}
.article-card p {
  font-size: 11px;
  line-height: 1.8;
  margin: 11px 0 17px;
}
.article-card:hover h3 {
  color: var(--red);
}
.enterprise-band {
  background: var(--blush);
  padding: 53px 0;
  margin-top: 10px;
}
.enterprise-inner {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: center;
}
.enterprise-inner h2 {
  font-size: 30px;
  line-height: 1.4;
}
.enterprise-inner p {
  font-size: 12px;
  margin: 17px 0 24px;
  line-height: 1.85;
}
.enterprise-points {
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 23px;
}
.enterprise-points > div {
  display: flex;
  gap: 16px;
  align-items: center;
}
.enterprise-points > div > span {
  background: #fff;
  width: 49px;
  height: 49px;
  border-radius: 12px;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.enterprise-points h3 {
  font-size: 14px;
}
.enterprise-points p {
  font-size: 11px;
  margin: 5px 0 0;
}
footer {
  padding-top: 46px;
  background: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 70px;
  padding-bottom: 41px;
}
.footer-grid p {
  font-size: 13px;
  margin: 19px 0 10px;
}
.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 11px;
}
.footer-grid b {
  font-size: 12px;
  margin: 4px 0 6px;
}
.footer-grid a:hover {
  color: var(--red);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  padding-bottom: 21px;
  font-size: 10px;
  color: #8b9698;
  display: flex;
  justify-content: space-between;
}
.page {
  padding-top: 26px;
  padding-bottom: 70px;
  min-height: 62vh;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  color: #8a9498;
  font-size: 11px;

/* 1120-1160 */
  display: block;
  font-size: 11px;
  color: #53666a;
  margin-top: 4px;
}
.error {
  color: #a51c2e;
  background: #fef1f1;
  border: 1px solid #efd4d5;
  padding: 12px;
  border-radius: 7px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.success {
  background: #eff7f1;
  color: #2e6746;
  padding: 20px;
  border-radius: 10px;
}
.success p {
  font-size: 12px;
  color: #467451;
}
.success h3 {
  margin-top: 12px;
}
.pill-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}
.pill-nav a {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 550;
}
.pill-nav .selected {
  color: var(--red);

/* 1263-1385 */
.auth-page {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  padding-top: 45px;
  padding-bottom: 60px;
}
.auth-visual {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  border-radius: 15px;
}
.auth-visual > img {
  width: 100%;
  height: 100%;
  position: absolute;
}
.auth-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, #15312be6);
}
.auth-visual > div {
  position: absolute;
  bottom: 37px;
  left: 35px;
  right: 35px;
  z-index: 1;
}
.auth-visual .eyebrow {
  color: #ebd8c7;
  font-size: 9px;
}
.auth-visual h1 {
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-weight: 600;
  color: #fff;
  font-size: 34px;
  line-height: 1.45;
}
.auth-visual p {
  color: #e0e9e1;
  font-size: 12px;
  margin-top: 17px;
}
.auth-form {
  padding: 30px 20px 0 0;
}
.auth-form h2 {
  font-size: 32px;
}
.auth-form > .muted {
  font-size: 12px;
  margin: 13px 0 26px;
}
.auth-form form label {
  font-size: 12px;
}
.auth-form input {
  font-size: 13px;
}
.auth-register {
  text-align: center;
  font-size: 12px;
  margin-top: 18px;
}
.inline-button {
  font-weight: 600;
  color: var(--red);
  padding: 4px 0;
  font-size: 12px;
}
.demo-login {
  border-top: 1px solid var(--line);
  padding: 21px 0;
  margin-top: 22px;
}
.demo-login b {
  font-size: 12px;
}
.demo-login p {
  font-size: 10px;
  margin: 5px 0 13px;
}
.demo-login > div {
  display: flex;
  gap: 8px;
}
.demo-login button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 11px;
  flex: 1;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 10px;
  min-height: 43px;
}
.demo-login button:hover {
  color: var(--red);
  border-color: #d8aab0;
}
.auth-form > .text-link {
  margin-top: 15px;
  font-size: 11px;
}
.modal {
  border: 1px solid var(--line);
  border-radius: 16px;
  max-width: 440px;
  width: calc(100% - 32px);
  padding: 35px;
}
.modal::backdrop {
  background: #14262288;
  backdrop-filter: blur(3px);
}
.modal .close {

/* 1520-1605 */
}
.workspace-title .eyebrow {
  font-size: 9px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 25px;
}
.stats-grid > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 19px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stats-grid > div > span:first-child {
  font-size: 11px;
  color: #67787c;
}
.stats-grid strong {
  font-size: 31px;
  font-weight: 600;
  line-height: 1.3;
}
.stats-grid strong small {
  font-size: 17px;
  font-weight: 400;
  color: #a4adb0;
}
.stats-grid .fine {
  font-size: 9px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 22px;
}
.panel h2 {
  font-size: 19px;
}
.panel-heading {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.panel-heading > select {
  font-size: 10px;
  padding: 9px 10px;
  max-width: 170px;
}
.panel > p {
  font-size: 12px;
}
.workspace-listing {
  padding: 21px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 20px;
}
.workspace-listing-main {
  flex: 1;
  min-width: 0;
}
.workspace-listing h3 {
  font-size: 13px;
  margin: 8px 0;
  line-height: 1.55;
}
.workspace-listing p {
  font-size: 10px;
  margin: 3px 0;
  color: #75868a;
}
.workspace-listing .fine {
  font-size: 9px;
}
.status {

/* 3189-3211 */
.table-wrap { overflow-x: auto; }
.user-sheet { width: 100%; border-collapse: collapse; min-width: 860px; }
.user-sheet th, .user-sheet td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  text-align: left;
  vertical-align: middle;
  font-size: 13px;
}
.user-sheet th { color: var(--muted); font-weight: 600; font-size: 12px; }
.user-sheet input, .user-sheet select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: #fff;
}
.sheet-actions { display: flex; gap: 6px; white-space: nowrap; }
.sheet-actions .btn { padding: 8px 12px; }
.sheet-delete { color: var(--red); }
.sheet-draft td { background: #fbf8f6; }
.workspace-profile .fine { display: block; }

/* admin */
.admin-area {
  background: #f5f7f6;
}
.pulse-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.pulse-grid strong {
  font-size: 28px;
}
.pulse-sheet {
  min-width: 0;
}
@media (max-width: 1100px) {
  .pulse-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .pulse-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.admin-tabs {
  display: flex;
  gap: 9px;
  margin: 22px 0;
  overflow: auto;
  padding-bottom: 5px;
}
.admin-tabs button {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 13px 19px;
  border: 1px solid #e4e8e5;
  border-radius: 9px;
  background: white;
  font-size: 12px;
  white-space: nowrap;
  min-height: 46px;
}
.admin-tabs .selected {
  background: #f8eaea;
  color: var(--red);
  border-color: #e8c5ca;
}
.admin-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.admin-record {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.admin-record:last-child {
  border: 0;
  padding-bottom: 0;
}
.admin-record h3 {
  margin-top: 10px;
  font-size: 16px;
}
.admin-record p {
  font-size: 12px;
  line-height: 1.8;
}
.admin-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.admin-area .sample-note {
  margin: 0 0 22px;
  background: #fff4e6;
}
.type-checks,
.project-checks {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  min-width: 0;
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.type-checks legend,
.project-checks legend {
  font-size: 11px;
  padding: 0 5px;
}
.type-checks label,
.project-checks label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
}
.type-checks input,
.project-checks input {
  width: 16px;
  height: 16px;
  accent-color: var(--red);
  flex-shrink: 0;
}
.project-checks {
  max-height: 230px;
  overflow: auto;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 12px;
}
.admin-area .panel > form {
  margin-top: 15px;
}
.admin-area input[type="file"] {
  width: 100%;
  font-size: 11px;
}
.admin-area .panel {
  min-width: 0;
}
@media (max-width: 850px) {
  .admin-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .admin-tabs {
    margin-right: -20px;
    padding-right: 20px;
    gap: 7px;
  }
  .admin-tabs button {
    padding: 11px 13px;
    font-size: 11px;
    gap: 7px;
  }
  .admin-tabs button svg {
    width: 16px;
  }
  .admin-columns {
    gap: 0;
  }
  .admin-record h3 {
    font-size: 15px;
  }
  .admin-area .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-area .form-grid .span-2 {
    grid-column: auto;
  }
  .admin-area .form-grid input,
  .admin-area .form-grid textarea,
  .admin-area .form-grid select {
    font-size: 16px;
    min-width: 0;
    width: 100%;
  }
  .admin-area .form-grid input[type="checkbox"] {
    width: 16px;
  }
  .admin-area .admin-actions .btn {
    font-size: 10px;
    padding: 10px 12px;
    min-height: 43px;
  }
  .admin-area .panel > form > .btn {
    width: 100%;
  }
  .admin-area .page-heading h1 {
    font-size: 28px;
  }
  .admin-area input[type="file"] {
    font-size: 12px !important;
  }
  .admin-area .form-grid legend {
    font-size: 12px;
  }
}

}
}

.brand-red { color: var(--red); }
.nav-toggle { position:absolute; opacity:0; pointer-events:none; }
.page-main { min-height: 50vh; }
.listing-layout { display:grid; grid-template-columns: 1.4fr .8fr; gap: 28px; align-items:start; }
.detail-hero { height: 420px; border-radius: 16px; overflow:hidden; }
.detail-hero img { width:100%; height:100%; object-fit:cover; }
.side-card { position: sticky; top: 18px; }
.banner { background:#f8eaea; color:#8d3a42; border-radius:10px; padding:12px 14px; font-size:13px; }
.erd-board { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:16px; }
.erd-group { background:#fff; border:1px solid var(--line); border-radius:14px; padding:16px 16px 8px; }
.erd-group h3 { margin-bottom:8px; }
.erd-group ul { list-style:none; margin:0; padding:0 0 8px; }
.erd-group li { font-size:13px; padding:6px 0; border-top:1px solid #f0f2f1; }
.erd-group small { color: var(--muted); }
.erd-note { background:#fbf3f2; border-radius:12px; padding:16px 18px; margin:18px 0; }
.table-mini { width:100%; border-collapse:collapse; font-size:12px; }
.table-mini th, .table-mini td { border-bottom:1px solid var(--line); text-align:left; padding:6px 8px; vertical-align:top; }
.account-table td { font-size:13px; }
@media (max-width: 980px) {
  .project-grid, .property-grid, .international, .footer-grid, .auth-page, .admin-columns, .listing-layout, .erd-board { grid-template-columns: 1fr; }
  .desktop-nav { display:none; }
  .menu-button { display:inline-flex; }
  .nav-toggle:checked ~ .header .desktop-nav,
  .desktop-nav.is-open { display:flex; flex-direction:column; position:absolute; left:0; right:0; top:110px; background:#fff; padding:12px 28px 20px; border-bottom:1px solid var(--line); z-index:30; }
  .desktop-nav a { padding:10px 0; }
  .hero { height: 320px; }
  .hero h1 { font-size: 32px; }
  .search-main { flex-direction: column; align-items: stretch; }
  .search-field { border-right: 0; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .container { padding: 0 16px; }
  .side-card { position: static; }
}
