/* Entrada por propriedade e gestão compartilhada — HNS */
.property-gateway { min-height: 100dvh; display: flex; flex-direction: column; background: #f3f7f5; }
.gateway-header { border-bottom: 1px solid #dee5e1; background: #fff; }
.gateway-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; max-width: 1340px; padding: 22px 40px; margin: auto; }
.gateway-brand { display: flex; align-items: center; gap: 19px; }
.gateway-brand img { width: 59px; height: 56px; object-fit: contain; }
.gateway-brand strong { display: block; font-size: 14px; font-weight: 600; color: #323634; letter-spacing: -.2px; }
.gateway-brand span { display: block; font-size: 10px; color: #99969a; margin-top: 5px; letter-spacing: .4px; }
.gateway-user { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gateway-user .avatar { background: #eaf1ed; color: #4d9a6d; width: 31px; height: 31px; font-size: 10px; }
.gateway-user > span:nth-child(2) { font-size: 11px; color: #747b77; max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gateway-user .btn { min-width: 32px; min-height: 32px; padding: 7px; }
.gateway-user .icon { width: 16px; height: 16px; }
.gateway-main { max-width: 1340px; width: 100%; margin: auto; padding: 53px 40px 50px; flex: 1; }
.gateway-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.gateway-heading .eyebrow { font-size: 9px; letter-spacing: 2px; color: #5ea17a; margin-bottom: 13px; }
.gateway-heading h1 { font-size: 34px; font-weight: 600; letter-spacing: -1.2px; color: #262b28; }
.gateway-heading p { font-size: 13px; color: #8c8890; margin-top: 10px; }
.gateway-add { min-height: 39px; background: transparent; font-size: 11px; border-color: #cbd8d0; }
.gateway-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.gateway-property { position: relative; border: 1px solid #d6e0da; border-radius: 14px; background: #fff; overflow: hidden; transition: border-color .16s, box-shadow .16s; }
.gateway-property:hover { border-color: #6bb98b; box-shadow: 0 9px 25px #061c0f0a; }
.gateway-property-open { display: block; width: 100%; padding: 0; border: 0; background: transparent; text-align: left; color: #2e3230; }
.gateway-cover { height: 207px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; background: #dfe9e3; }
.gateway-cover-haras { background: #202120; }
.gateway-property:nth-child(3n+2) .gateway-cover { background: #d0ddd5; }
.gateway-property:nth-child(3n+3) .gateway-cover { background: #e6eee9; }
.gateway-property-photo { height: 100%; width: 100%; object-fit: cover; }
.gateway-hns { width: 160px; max-height: 90px; object-fit: contain; }
.gateway-initials { font-size: 70px; line-height: 1; color: #8eaa9a; letter-spacing: -5px; font-weight: 300; }
.gateway-kind { position: absolute; top: 21px; left: 23px; color: #708077; font-size: 8px; letter-spacing: 2px; font-weight: 600; }
.gateway-cover-haras .gateway-kind { color: #8eb9a0; }
.gateway-index { position: absolute; right: 23px; bottom: 18px; font-size: 10px; color: #7a9184; letter-spacing: 1px; }
.gateway-cover.has-photo .gateway-kind { background: #fffffff0; color: #404f46; padding: 5px 8px; border-radius: 4px; }
.gateway-cover.has-photo .gateway-index { background: #16161680; color: #fff; padding: 4px 7px; border-radius: 4px; }
.gateway-property-body { padding: 24px 24px 23px; }
.gateway-property-body h2 { font-size: 21px; font-weight: 600; letter-spacing: -.65px; line-height: 1.3; }
.gateway-location { font-size: 11px; margin-top: 7px; color: #9c989d; }
.gateway-activities { font-size: 11px; color: #969197; margin-top: 9px; }
.gateway-property-counts { display: flex; align-items: center; gap: 25px; border-top: 1px solid #e7eeea; margin-top: 22px; padding-top: 17px; }
.gateway-property-counts span { font-size: 10px; color: #a29b9d; }
.gateway-property-counts strong { font-size: 20px; color: #45504a; font-weight: 500; margin-right: 4px; letter-spacing: -.5px; }
.gateway-enter { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 24px; border-top: 1px solid #e7eeea; color: #408c60; font-size: 11px; font-weight: 600; }
.gateway-enter .icon { width: 16px; height: 16px; }
.gateway-edit { position: absolute; right: 13px; top: 13px; width: 30px; height: 30px; border: 1px solid #ffffff66; background: #ffffffcc; border-radius: 6px; color: #49755b; opacity: 0; display: flex; align-items: center; justify-content: center; }
.gateway-edit .icon { width: 14px; height: 14px; }
.gateway-property:hover .gateway-edit, .gateway-property:focus-within .gateway-edit { opacity: 1; }
.gateway-general { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 37px; padding: 29px 0 0; border-top: 1px solid #d5dfd9; }
.gateway-general-description { display: flex; align-items: center; gap: 18px; }
.gateway-general-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #63a17d; border: 1px solid #cbded3; border-radius: 10px; }
.gateway-general-icon .icon { width: 19px; height: 19px; }
.gateway-general .eyebrow { font-size: 8px; letter-spacing: 1.5px; margin-bottom: 5px; color: #86a493; }
.gateway-general h2 { font-size: 16px; font-weight: 550; letter-spacing: -.3px; }
.gateway-general p { font-size: 11px; color: #928c92; margin-top: 6px; }
.gateway-general-button { min-height: 39px; font-size: 11px; background: transparent; border-color: #c4d7cc; color: #4c795f; }
.gateway-footer { display: flex; justify-content: space-between; gap: 20px; padding: 22px 40px; max-width: 1340px; margin: auto; width: 100%; color: #aaa5a4; font-size: 9px; }

.scope-context { flex-shrink: 0; border-top: 1px solid #ffffff16; margin: 0 0 12px; padding: 15px 7px 0; }
.scope-caption { display: block; color: #738279; font-size: 8px; letter-spacing: 1.5px; margin-bottom: 7px; }
.scope-context > strong { display: block; font-size: 13px; font-weight: 550; color: #d7e3dc; line-height: 1.5; }
.scope-description { display: block; color: #727774; font-size: 10px; margin-top: 3px; }
.scope-change { display: flex; align-items: center; gap: 7px; width: 100%; padding: 10px 0; margin-top: 4px; border: 0; color: #888e8b; background: none; font-size: 10px; text-align: left; }
.scope-change .icon { width: 11px; height: 11px; }
.scope-change .icon:last-child { margin-left: auto; width: 10px; height: 10px; }
.scope-change:hover { color: #a3daba; }
.scope-general-entry { padding: 13px 7px; border-top: 1px solid #ffffff15; flex-shrink: 0; }
.scope-general-entry > span { display: block; color: #6a766f; font-size: 7px; letter-spacing: 1.35px; margin-bottom: 7px; }
.scope-general-entry button { display: flex; align-items: center; gap: 9px; border: 0; background: transparent; padding: 5px 0; width: 100%; color: #7cb995; font-size: 11px; text-align: left; }
.scope-general-entry button span { flex: 1; }
.scope-general-entry .icon { width: 14px; height: 14px; }
.scope-general-entry .icon:last-child { width: 12px; }
.scope-general-entry button:hover { color: #aaefc7; }
.general-scope-note { display: flex; align-items: center; gap: 9px; font-size: 11px; color: #829e8e; margin-bottom: 22px; }
.general-scope-note .icon { width: 15px; height: 15px; }
.general-modules { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; margin-bottom: 30px; }
.general-module { display: flex; flex-direction: column; align-items: flex-start; padding: 25px; border: 1px solid #d8e2dc; border-radius: 13px; background: #fff; color: #353137; text-align: left; }
.general-module:hover { border-color: #6cb98c; }
.general-module-icon { color: #6bad87; background: #ecf7f1; border-radius: 9px; width: 39px; height: 39px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.general-module-icon .icon { width: 19px; height: 19px; }
.general-module h2 { font-size: 19px; }
.general-module p { font-size: 12px; color: #909592; margin-top: 10px; line-height: 1.7; max-width: 280px; }
.general-module-action { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-top: auto; padding-top: 25px; font-size: 11px; color: #50986e; }
.general-module-action .icon { width: 15px; height: 15px; }
.general-back-note { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; font-size: 12px; color: #909592; margin-top: 14px; }
.general-back-note .btn { color: #4a8c66; padding: 5px 2px; min-height: 25px; font-size: 12px; }
.form-property-context { padding: 11px 13px; border: 1px solid #d9e7df; border-radius: 7px; background: #f0f8f3; font-size: 13px; color: #547f66; }

@media (min-width: 1650px) {
  .gateway-main { padding-top: 68px; }
  .gateway-grid { gap: 28px; }
  .gateway-cover { height: 234px; }
  .gateway-property-body { padding-top: 27px; padding-bottom: 26px; }
  .gateway-general { margin-top: 43px; }
}
@media (min-width: 761px) and (max-height: 820px) {
  .scope-context { padding-top: 10px; margin-bottom: 8px; }
  .scope-caption { margin-bottom: 5px; }
  .scope-context > strong { font-size: 12px; }
  .scope-change { padding-top: 7px; padding-bottom: 7px; }
  .scope-general-entry { padding-top: 9px; padding-bottom: 8px; }
}
@media (max-width: 1100px) {
  .gateway-header-inner { padding: 20px 30px; }
  .gateway-main { padding: 40px 30px; }
  .gateway-grid { gap: 18px; }
  .gateway-cover { height: 175px; }
  .gateway-property-body { padding: 20px; }
  .gateway-property-body h2 { font-size: 18px; }
  .gateway-enter { padding: 15px 20px; }
  .general-modules { gap: 16px; }
  .general-module { padding: 20px; }
  .general-module h2 { font-size: 17px; }
}
@media (max-width: 900px) {
  .gateway-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gateway-cover { height: 190px; }
  .general-modules { grid-template-columns: 1fr; }
  .general-module { padding: 23px; }
  .general-module p { max-width: none; }
  .general-module-icon { margin-bottom: 16px; }
}
@media (max-width: 600px) {
  .gateway-header-inner { padding: 18px 20px; gap: 14px; }
  .gateway-brand { gap: 12px; }
  .gateway-brand img { width: 44px; height: 44px; }
  .gateway-brand strong { font-size: 11px; }
  .gateway-brand span { font-size: 8px; }
  .gateway-user { gap: 7px; }
  .gateway-user > span:nth-child(2) { display: none; }
  .gateway-user .avatar { width: 27px; height: 27px; font-size: 9px; }
  .gateway-user .btn { padding: 6px; min-width: 28px; }
  .gateway-main { padding: 33px 20px; }
  .gateway-heading { flex-wrap: wrap; gap: 21px; margin-bottom: 24px; }
  .gateway-heading h1 { font-size: 29px; }
  .gateway-heading p { font-size: 12px; max-width: 290px; line-height: 1.6; }
  .gateway-heading .eyebrow { font-size: 8px; margin-bottom: 10px; }
  .gateway-grid { grid-template-columns: 1fr; gap: 20px; }
  .gateway-cover { height: 183px; }
  .gateway-property-body { padding: 23px; }
  .gateway-property-body h2 { font-size: 22px; }
  .gateway-activities { font-size: 12px; }
  .gateway-property-counts strong { font-size: 22px; }
  .gateway-enter { padding: 17px 23px; font-size: 12px; }
  .gateway-edit { opacity: 1; }
  .gateway-general { align-items: stretch; flex-direction: column; margin-top: 30px; padding-top: 24px; gap: 22px; }
  .gateway-general-description { gap: 13px; }
  .gateway-general p { line-height: 1.6; max-width: 240px; }
  .gateway-general-button { align-self: flex-start; margin-left: 57px; }
  .gateway-footer { padding: 20px; flex-wrap: wrap; gap: 8px; font-size: 8px; }
  .scope-context { margin-bottom: 9px; }
  .scope-general-entry { padding-top: 11px; padding-bottom: 10px; }
}
