
/* ==========================================================
   333w — EXACT SUBJECT LOOKUP PARITY
   Based on measured Subject/Object CSS from Console 333v.
   Scope: Object Lookup only.
   ========================================================== */

/* ONE ROW: Title | Search + Status + Add | Total */
body.atosy-view-object #object-full-page .object-lookup-hero {
  display: grid !important;
  grid-template-columns: 190px minmax(0, 1fr) 118px !important;
  grid-template-rows: 40px !important;
  align-items: center !important;
  gap: 14px !important;
  height: 62px !important;
  min-height: 62px !important;
  padding: 10px 14px !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(92,157,224,.32) !important;
  border-radius: 18px !important;
  background: linear-gradient(#03122b,#041f48) !important;
  box-shadow:
    0 12px 30px rgba(0,15,45,.24),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
}

/* TITLE */
body.atosy-view-object #object-full-page .object-lookup-hero > h2 {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 190px !important;
  margin: 0 !important;
  font-size: 16px !important;
  font-weight: 820 !important;
  line-height: normal !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* SEARCH: occupy middle cell minus status/add (316px + gap) */
body.atosy-view-object #object-full-page .object-lookup-search {
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: stretch !important;
  width: calc(100% - 324px) !important;
  height: 36px !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  position: relative !important;
  box-sizing: border-box !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/* INPUT — exact Subject dimensions and contrast */
body.atosy-view-object #object-full-page #object-lookup-search-input {
  display: block !important;
  width: 100% !important;
  height: 36px !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  padding: 0 14px 0 38px !important;
  border: 1px solid rgba(145,195,255,.6) !important;
  border-bottom-color: rgba(185,219,255,.85) !important;
  border-radius: 11px !important;
  background: rgba(7,31,70,.92) !important;
  box-shadow:
    inset 0 -1px 0 rgba(185,219,255,.28),
    inset 0 1px 0 rgba(255,255,255,.06) !important;
  outline: none !important;

  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 560 !important;
  line-height: normal !important;
  caret-color: #fff !important;
}

body.atosy-view-object #object-full-page
#object-lookup-search-input::placeholder {
  color: rgba(239,247,255,.78) !important;
  -webkit-text-fill-color: rgba(239,247,255,.78) !important;
  opacity: 1 !important;
}

/* SEARCH ICON */
body.atosy-view-object #object-full-page .object-lookup-search-icon {
  position: absolute !important;
  left: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 16px !important;
  height: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  color: rgba(255,255,255,.9) !important;
  -webkit-text-fill-color: rgba(255,255,255,.9) !important;
  font-size: 18px !important;
  line-height: 18px !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

/* CONTROLS */
body.atosy-view-object #object-full-page
.object-lookup-extra-controls-v333o {
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  display: grid !important;
  grid-template-columns: 190px 118px !important;
  gap: 8px !important;
  width: 316px !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ENUM — exact contrast, sizing, arrow */
body.atosy-view-object #object-full-page
#object-lookup-status-v333o {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 190px !important;
  height: 34px !important;
  padding: 0 38px 0 12px !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(117,173,235,.2) !important;
  border-radius: 10px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08) !important;
  color: rgba(240,247,255,.92) !important;
  -webkit-text-fill-color: #f0f7ff !important;
  background-color: rgba(8,36,82,.96) !important;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1.4 1.6 6 6.2l4.6-4.6' fill='none' stroke='%23f0f7ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 10px 7px !important;
  font-family: inherit !important;
  font-size: 10px !important;
  font-weight: 750 !important;
  opacity: 1 !important;
  cursor: pointer !important;
}

body.atosy-view-object #object-full-page
#object-lookup-status-v333o option {
  color: #f0f7ff !important;
  background: #082452 !important;
}

/* ADD OBJECT — exact size and style. Keep disabled. */
body.atosy-view-object #object-full-page
#object-lookup-add-v333o {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 118px !important;
  height: 34px !important;
  padding: 0 9px !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(129,174,210,.34) !important;
  border-radius: 9px !important;
  background: linear-gradient(
    rgba(39,79,116,.88),
    rgba(20,49,80,.94)
  ) !important;
  color: #e2edfa !important;
  -webkit-text-fill-color: #e2edfa !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

/* TOTAL */
body.atosy-view-object #object-full-page
.object-lookup-hero > .object-lookup-total {
  grid-column: 3 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  align-self: center !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  font-size: 12px !important;
  font-weight: 650 !important;
}

/* Narrow viewports: do not overlap controls. */
@media (max-width: 900px) {
  body.atosy-view-object #object-full-page .object-lookup-hero {
    grid-template-columns: minmax(0,1fr) auto !important;
    grid-template-rows: auto auto !important;
    height: auto !important;
  }

  body.atosy-view-object #object-full-page .object-lookup-hero > h2 {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body.atosy-view-object #object-full-page .object-lookup-search {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
  }

  body.atosy-view-object #object-full-page
  .object-lookup-extra-controls-v333o {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }

  body.atosy-view-object #object-full-page
  .object-lookup-hero > .object-lookup-total {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
}


/* 334c — SEARCH CLASS ISOLATION
   No legacy .object-lookup-search-inline class.
   Subject-style search, Object module only. */

body.atosy-view-object
#object-full-page
.object-lookup-search.object-lookup-subject-exact-v334c {
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  width: calc(100% - 324px) !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  padding: 0 !important;
  gap: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.atosy-view-object
#object-full-page
.object-lookup-subject-exact-v334c
#object-lookup-search-input {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: block !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  padding: 0 14px 0 38px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(145,195,255,.6) !important;
  border-bottom-color: rgba(185,219,255,.85) !important;
  border-radius: 11px !important;
  background: rgba(7,31,70,.92) !important;
  box-shadow:
    inset 0 -1px 0 rgba(185,219,255,.28),
    inset 0 1px 0 rgba(255,255,255,.06) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 560 !important;
  line-height: normal !important;
  outline: none !important;
  caret-color: #fff !important;
}

body.atosy-view-object
#object-full-page
.object-lookup-subject-exact-v334c
#object-lookup-search-input:focus {
  background: rgba(7,31,70,.92) !important;
  border: 1px solid rgba(145,195,255,.6) !important;
  border-bottom-color: rgba(185,219,255,.85) !important;
  border-radius: 11px !important;
  box-shadow:
    inset 0 -1px 0 rgba(185,219,255,.28),
    inset 0 1px 0 rgba(255,255,255,.06) !important;
}

body.atosy-view-object
#object-full-page
.object-lookup-subject-exact-v334c
#object-lookup-search-input::placeholder {
  color: rgba(239,247,255,.78) !important;
  -webkit-text-fill-color: rgba(239,247,255,.78) !important;
  opacity: 1 !important;
}

body.atosy-view-object
#object-full-page
.object-lookup-subject-exact-v334c
.object-lookup-search-icon {
  position: absolute !important;
  left: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: rgba(255,255,255,.9) !important;
  -webkit-text-fill-color: rgba(255,255,255,.9) !important;
  font-size: 18px !important;
  line-height: 18px !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

