.detective-page {
  background: #fffaf3;
  color: #0b111c;
}

.detective-page .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  min-height: 90px;
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 8px 30px rgba(11, 17, 28, 0.04);
  backdrop-filter: blur(14px);
}

.detective-page .nav-pill {
  width: min(1180px, calc(100% - 56px));
  min-height: 90px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.detective-page .brand {
  gap: 16px;
  color: #070b12;
  font-weight: 900;
}

.detective-page .brand-logo {
  width: 96px;
  height: auto;
}

.detective-page .nav-links {
  gap: 42px;
}

.detective-page .admin-nav {
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.detective-page .nav-links a {
  color: #070b12;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.detective-page .icon-button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}

.detective-nav-create {
  min-height: 44px;
  border-radius: 8px;
  background: #080d18;
  color: #fff;
  padding: 0 24px;
  font-size: 15px;
  box-shadow: 0 14px 30px rgba(8, 13, 24, 0.18);
}

.detective-shell {
  width: min(1136px, calc(100% - 64px));
  margin: 0 auto;
}

.detective-hero {
  position: relative;
  min-height: 540px;
  padding: 154px max(56px, calc((100vw - 1136px) / 2)) 110px;
  overflow: hidden;
  background:
    linear-gradient(90deg, #fffaf3 0%, rgba(255, 250, 243, 0.96) 33%, rgba(255, 250, 243, 0.28) 63%, rgba(255, 250, 243, 0) 100%),
    linear-gradient(180deg, #fff8ef 0%, #f6eadc 100%);
}

.detective-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 250, 243, 0), #fffaf3 84%);
  pointer-events: none;
}

.detective-hero-art {
  position: absolute;
  right: 0;
  top: 90px;
  bottom: 0;
  width: min(760px, 60vw);
  background: url("/assets/detective-hero-111.png") right bottom / cover no-repeat;
  z-index: 1;
}

.detective-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 560px;
}

.detective-hero h1 {
  margin: 0;
  font-size: clamp(46px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 950;
}

.detective-hero h1 span,
.detective-section-title span {
  display: block;
  color: #9d681f;
}

.detective-hero p {
  max-width: 520px;
  margin: 24px 0 0;
  color: rgba(11, 17, 28, 0.76);
  font-size: 17px;
  line-height: 1.6;
}

.detective-badges {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 0;
  margin-top: 34px;
}

.detective-badges span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px 0 0;
  margin-right: 24px;
  border-right: 1px solid rgba(11, 17, 28, 0.13);
  color: #0b111c;
  font-size: 14px;
  font-weight: 900;
}

.detective-badges span:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.detective-badges i,
.detective-note i,
.detective-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #b17420;
  font-style: normal;
  font-size: 21px;
}

.detective-search-panel {
  position: relative;
  z-index: 5;
  margin: -76px auto 0;
  padding: 24px 30px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 58px rgba(11, 17, 28, 0.14);
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.detective-search-actions {
  display: grid;
  gap: 10px;
  align-self: end;
}

.detective-search-panel label,
.detective-form label,
.admin-detective-form label {
  display: grid;
  gap: 10px;
  color: #0b111c;
  font-size: 14px;
  font-weight: 800;
}

.detective-search-panel select,
.detective-form input,
.detective-form select,
.detective-form textarea,
.admin-detective-form input,
.admin-detective-form textarea,
.detective-admin-search select,
.detective-admin-search input {
  min-height: 48px;
  border: 1px solid rgba(11, 17, 28, 0.18);
  border-radius: 6px;
  padding: 0 18px;
  background: #fff;
  color: #0b111c;
  font: inherit;
}

.detective-search-panel select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #0b111c 50%), linear-gradient(135deg, #0b111c 50%, transparent 50%);
  background-position: calc(100% - 22px) 21px, calc(100% - 15px) 21px;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
}

.detective-btn {
  min-height: 48px;
  border: 1px solid #080d18;
  border-radius: 6px;
  background: #080d18;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.detective-btn.secondary {
  border-color: #b17420;
  background: #fff;
  color: #a16119;
}

.detective-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 20px 0 26px;
  color: rgba(11, 17, 28, 0.72);
  font-size: 14px;
  font-weight: 700;
}

.detective-note i {
  font-size: 16px;
}

.detective-section {
  padding: 0 0 30px;
}

.detective-section-head {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.detective-section-title {
  margin: 0;
  font-size: 30px;
  line-height: 1.12;
  font-weight: 950;
}

.detective-section-title span {
  display: inline;
}

.detective-request-btn {
  min-height: 40px;
  border: 1px solid rgba(177, 116, 32, 0.72);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff7e8 0%, #f4dfba 100%);
  color: #7b4c0f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 26px rgba(177, 116, 32, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.detective-request-btn:hover {
  background: #b17420;
  color: #fff;
  transform: translateY(-1px);
}

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

.detective-card {
  overflow: hidden;
  border: 1px solid rgba(11, 17, 28, 0.09);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(11, 17, 28, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.detective-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(11, 17, 28, 0.14);
}

.detective-card-photo {
  position: relative;
  aspect-ratio: 1.37;
  background: #d7d7d7;
  overflow: hidden;
}

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

.detective-card-status {
  position: relative;
  min-height: 16px;
}

.detective-card-no-photo .detective-card-body {
  padding-top: 28px;
}

.detective-verified {
  position: absolute;
  top: 10px;
  right: 10px;
  border-radius: 5px;
  padding: 7px 10px;
  background: #079577;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.detective-card-body {
  padding: 16px 16px 14px;
}

.detective-card h3 {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 950;
}

.detective-card h3 span {
  color: #b17420;
  font-size: 15px;
}

.detective-card p {
  margin: 8px 0 0;
  color: rgba(11, 17, 28, 0.72);
  font-size: 14px;
}

.detective-stars {
  margin-top: 10px;
  color: #f59e0b;
  font-weight: 900;
  font-size: 15px;
}

.detective-stars span {
  color: #0b111c;
  font-weight: 700;
  margin-left: 8px;
}

.detective-tags {
  min-height: 48px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin: 18px 0 12px;
}

.detective-chip {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #f1f1f0;
  color: #0b111c;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 800;
}

.detective-card .detective-btn {
  width: 100%;
  min-height: 38px;
  border-radius: 5px;
  font-size: 13px;
}

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

.detective-more .detective-btn {
  width: 270px;
  background: #fff;
}

.detective-feature-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 22px auto 24px;
  padding: 31px 28px;
  border-radius: 14px;
  border: 1px solid rgba(177, 116, 32, 0.12);
  background: linear-gradient(90deg, #fffaf4, #f5ebdd);
}

.detective-feature {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 0 26px;
  border-right: 1px solid rgba(11, 17, 28, 0.13);
}

.detective-feature:last-child {
  border-right: 0;
}

.detective-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(177, 116, 32, 0.08);
  font-size: 26px;
}

.detective-feature h3,
.detective-step h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 950;
}

.detective-feature p,
.detective-step p {
  margin: 9px 0 0;
  color: rgba(11, 17, 28, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.detective-steps-section {
  padding: 28px 0 48px;
  background: linear-gradient(180deg, #fffaf3, #fff6ec);
}

.detective-steps-section h2 {
  text-align: center;
  margin: 0 0 30px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 950;
}

.detective-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.detective-step {
  position: relative;
  text-align: center;
}

.detective-step::after {
  content: "";
  position: absolute;
  top: 38px;
  left: calc(50% + 43px);
  width: calc(100% - 48px);
  border-top: 1px dashed rgba(11, 17, 28, 0.23);
}

.detective-step:last-child::after {
  display: none;
}

.detective-step-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 16px;
  border: 1px solid rgba(11, 17, 28, 0.08);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #0b111c;
  box-shadow: 0 10px 28px rgba(11, 17, 28, 0.08);
  font-size: 30px;
}

.detective-faq-section {
  padding: 54px 0 58px;
  background:
    radial-gradient(circle at 12% 0%, rgba(189, 130, 47, 0.12), transparent 32%),
    linear-gradient(180deg, #fff6ec, #fffaf4);
}

.detective-faq-head {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.detective-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #a66b1f;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.detective-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f0742f;
}

.detective-faq-head h2 {
  margin: 0;
  color: #070d18;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.08;
  font-weight: 950;
}

.detective-faq-head h1 {
  margin: 0;
  color: #070d18;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 950;
}

.detective-faq-head p {
  margin: 14px auto 0;
  max-width: 650px;
  color: rgba(11, 17, 28, 0.72);
  font-size: 16px;
  line-height: 1.55;
}

.detective-faq-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid rgba(177, 116, 32, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(11, 17, 28, 0.08);
  backdrop-filter: blur(14px);
}

.detective-faq-search span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 950;
  color: rgba(11, 17, 28, 0.7);
  text-transform: uppercase;
}

.detective-faq-search input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(11, 17, 28, 0.16);
  border-radius: 12px;
  background: #fff;
  padding: 0 16px;
  color: #0b111c;
  font: inherit;
  font-weight: 800;
  outline: 0;
}

.detective-faq-search input:focus {
  border-color: rgba(177, 116, 32, 0.72);
  box-shadow: 0 0 0 4px rgba(177, 116, 32, 0.12);
}

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

.detective-faq-actions button,
.detective-faq-categories button,
.detective-faq-copy {
  min-height: 42px;
  border: 1px solid rgba(11, 17, 28, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #0b111c;
  padding: 0 16px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.detective-faq-actions button:hover,
.detective-faq-categories button:hover,
.detective-faq-copy:hover {
  transform: translateY(-1px);
  border-color: rgba(177, 116, 32, 0.72);
}

.detective-faq-categories {
  display: flex;
  gap: 10px;
  margin: 0 0 18px;
  padding: 4px 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.detective-faq-categories button {
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.72);
}

.detective-faq-categories button[aria-pressed="true"] {
  border-color: #0b111c;
  background: #0b111c;
  color: #fff;
}

.detective-faq-list {
  display: grid;
  gap: 12px;
}

.detective-faq-item {
  border: 1px solid rgba(177, 116, 32, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 38px rgba(11, 17, 28, 0.06);
  overflow: hidden;
}

.detective-faq-question {
  width: 100%;
  min-height: 66px;
  display: grid;
  grid-template-columns: 1fr 34px;
  gap: 18px;
  align-items: center;
  border: 0;
  background: transparent;
  color: #070d18;
  padding: 18px 22px;
  text-align: left;
  font: inherit;
  font-size: 17px;
  font-weight: 950;
  cursor: pointer;
}

.detective-faq-question i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(177, 116, 32, 0.1);
  color: #a66b1f;
  font-style: normal;
}

.detective-faq-question i::before {
  content: "+";
}

.detective-faq-item[data-open="true"] .detective-faq-question i::before {
  content: "-";
}

.detective-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.detective-faq-item[data-open="true"] .detective-faq-answer {
  max-height: 520px;
}

.detective-faq-answer-inner {
  padding: 0 22px 20px;
  color: rgba(11, 17, 28, 0.76);
  font-size: 15px;
  line-height: 1.65;
}

.detective-faq-answer-inner p {
  margin: 0 0 14px;
}

.detective-faq-answer-inner a {
  color: #9a641d;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.detective-faq-copy {
  min-height: 36px;
  padding: 0 14px;
  color: #9a641d;
}

.detective-faq-empty,
.detective-faq-disclaimer {
  margin: 18px 0 0;
  border: 1px solid rgba(177, 116, 32, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  padding: 16px 18px;
  color: rgba(11, 17, 28, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

.detective-faq-more {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.detective-faq-more .detective-btn {
  min-width: 220px;
}

.detective-faq-page .site-header {
  position: sticky;
}

.detective-faq-full {
  padding-top: 132px;
}

.detective-footer-cta {
  margin: 0;
  padding: 28px max(56px, calc((100vw - 1136px) / 2));
  background: linear-gradient(110deg, #080d18, #101724);
  color: #fff;
  display: grid;
  grid-template-columns: 68px 1fr 210px;
  gap: 24px;
  align-items: center;
}

.detective-footer-cta .detective-feature-icon {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(177, 116, 32, 0.65);
  background: rgba(177, 116, 32, 0.16);
}

.detective-footer-cta h2 {
  margin: 0;
  font-size: 24px;
}

.detective-footer-cta p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.8);
}

.detective-footer-cta .detective-btn {
  border-color: #bd822f;
  background: #bd822f;
}

.detective-footer {
  border-radius: 0;
  background: #111111;
  color: #fff;
  padding: 62px max(24px, calc((100vw - 1136px) / 2)) 28px;
}

.detective-footer .footer-head {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 34px;
  align-items: center;
  margin: 0 auto;
}

.detective-footer .legal-aid-promo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}

.detective-footer .legal-aid-logo {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 30px;
}

.detective-footer .legal-aid-promo strong,
.detective-footer .legal-aid-promo small {
  display: block;
}

.detective-footer .legal-aid-promo strong {
  font-size: 14px;
  line-height: 1.2;
  text-transform: uppercase;
}

.detective-footer .legal-aid-promo small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.detective-footer .footer-legal-aid-button {
  min-height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  padding: 0 28px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
}

.detective-footer .footer-grid {
  width: 100%;
  margin-top: 54px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px 72px;
}

.detective-footer .footer-grid div {
  display: grid;
  align-content: start;
  gap: 13px;
}

.detective-footer .footer-grid h3 {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.detective-footer .footer-grid a {
  width: fit-content;
  color: #fff;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  text-decoration: none;
}

.detective-footer .footer-more-trigger {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0 10px;
  font-size: 11px;
}

.detective-footer .footer-more-trigger::before {
  content: "+";
  margin-right: 5px;
}

.detective-footer .footer-bottom {
  width: 100%;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.detective-footer .footer-bottom button {
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  padding: 0 16px;
  font-weight: 900;
}

.detective-form-shell,
.detective-profile-shell,
.detective-admin-shell {
  padding-top: 132px;
}

.detective-profile-shell {
  padding-top: 96px;
}

.detective-edit-shell {
  width: min(1320px, calc(100% - 56px));
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 22px;
  align-items: start;
}

.detective-form-card,
.detective-profile-card,
.detective-admin-panel,
.detective-success-card {
  border: 1px solid rgba(11, 17, 28, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(11, 17, 28, 0.08);
  padding: clamp(24px, 4vw, 42px);
}

.detective-login-card {
  max-width: 620px;
  margin: 0 auto;
}

.detective-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.detective-form .wide,
.detective-form button,
.detective-form-status {
  grid-column: 1 / -1;
}

.detective-form textarea,
.admin-detective-form textarea {
  min-height: 104px;
  padding-top: 14px;
  resize: vertical;
}

.detective-form-status {
  min-height: 24px;
  font-weight: 800;
}

.detective-form input:disabled {
  background: #f4f1ed;
  color: rgba(11, 17, 28, 0.72);
  cursor: not-allowed;
}

.detective-edit-preview {
  position: sticky;
  top: 110px;
}

.detective-edit-preview-head {
  margin: 0 0 12px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.detective-edit-preview-head span {
  color: #a86a18;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detective-edit-preview-head strong {
  color: rgba(11, 17, 28, 0.62);
  font-size: 13px;
}

.detective-edit-preview-card {
  overflow: hidden;
  border: 1px solid rgba(11, 17, 28, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(38, 28, 17, 0.1);
}

.detective-preview-photo {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #eee2d4;
}

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

.detective-preview-photo span {
  position: absolute;
  top: 14px;
  left: 14px;
  border-radius: 10px;
  background: #080d18;
  color: #fff;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.detective-preview-body {
  padding: 18px;
}

.detective-preview-status {
  width: fit-content;
  margin-left: auto;
  border: 1px solid rgba(34, 163, 86, 0.25);
  border-radius: 999px;
  background: rgba(34, 163, 86, 0.08);
  color: #087443;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 900;
}

.detective-preview-body h2 {
  margin: 10px 0 4px;
  font-size: 30px;
  line-height: 1.08;
}

.detective-preview-location {
  margin: 0 0 14px;
  color: rgba(11, 17, 28, 0.72);
  font-size: 14px;
}

.detective-preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(11, 17, 28, 0.08);
  border-radius: 14px;
  background: #fffaf3;
}

.detective-preview-stats span {
  padding: 12px 8px;
  text-align: center;
  border-right: 1px solid rgba(11, 17, 28, 0.08);
}

.detective-preview-stats span:last-child {
  border-right: 0;
}

.detective-preview-stats strong,
.detective-preview-stats small {
  display: block;
}

.detective-preview-stats strong {
  font-size: 17px;
}

.detective-preview-stats small {
  margin-top: 3px;
  color: rgba(11, 17, 28, 0.62);
  font-size: 11px;
  font-weight: 800;
}

.detective-preview-section {
  margin-top: 16px;
  border-top: 1px solid rgba(11, 17, 28, 0.08);
  padding-top: 14px;
}

.detective-preview-section strong {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
}

.detective-preview-section div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detective-preview-section em {
  border-radius: 999px;
  background: #f1ece5;
  padding: 7px 10px;
  color: #0b111c;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.detective-preview-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.detective-preview-actions span {
  min-height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #080d18;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.detective-forgot-password {
  grid-column: 1 / -1;
  width: fit-content;
  justify-self: center;
  color: #9a641d;
  font-size: 14px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.detective-success-card {
  max-width: 720px;
  margin: 132px auto 80px;
  text-align: center;
}

.detective-success-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0f9f6e;
  color: #fff;
  font-size: 56px;
}

.detective-profile-card {
  width: min(820px, calc(100vw - 96px));
  margin-left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: minmax(240px, 0.4fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 54px rgba(38, 28, 17, 0.1);
}

.detective-profile-media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: #ede1d1;
}

.detective-profile-media > img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
  object-fit: cover;
}

.detective-profile-verified {
  position: absolute;
  top: 18px;
  left: 18px;
  min-width: 116px;
  min-height: 52px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 8px;
  padding: 8px 10px;
  background: #090f1b;
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.detective-profile-verified span {
  grid-row: span 2;
  width: 28px;
  height: 28px;
  border: 2px solid #d39a40;
  border-radius: 50%;
  position: relative;
}

.detective-profile-verified span::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  width: 8px;
  height: 12px;
  border-right: 2px solid #d39a40;
  border-bottom: 2px solid #d39a40;
  transform: rotate(42deg);
}

.detective-profile-verified strong,
.detective-profile-verified em {
  display: block;
  font-style: normal;
  font-size: 10px;
  line-height: 1.18;
  text-transform: uppercase;
}

.detective-profile-verified strong {
  color: #f2c878;
  font-weight: 950;
}

.detective-profile-verified em {
  font-weight: 900;
}

.detective-profile-stats {
  position: absolute;
  left: 16px;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: calc(100% - 32px);
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  background: rgba(8, 13, 24, 0.92);
  color: #fff;
  box-shadow: 0 -16px 36px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.detective-profile-stats span {
  min-height: 48px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  text-align: center;
  padding: 7px;
}

.detective-profile-stats span:last-child {
  border-right: 0;
}

.detective-profile-stats strong {
  font-size: 12px;
  line-height: 1;
}

.detective-profile-stats small {
  color: rgba(255, 255, 255, 0.88);
  font-size: 9px;
  line-height: 1.25;
  font-weight: 800;
}

.detective-profile-main {
  padding: 18px 24px 0 22px;
}

.detective-profile-title-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.detective-profile-title-row h1 {
  margin: 0;
  color: #0b111c;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  text-transform: capitalize;
}

.detective-profile-title-row h1::after {
  content: "";
  width: 16px;
  height: 16px;
  margin-left: 10px;
  border-radius: 50%;
  background: #bd7a1b;
  vertical-align: 8px;
  clip-path: polygon(50% 0%, 62% 16%, 82% 12%, 88% 32%, 100% 50%, 86% 64%, 88% 88%, 62% 84%, 50% 100%, 38% 84%, 12% 88%, 14% 64%, 0% 50%, 12% 32%, 18% 12%, 38% 16%);
}

.detective-profile-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
  color: rgba(11, 17, 28, 0.82);
  font-size: 12px;
  line-height: 1.25;
}

.detective-profile-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-right: 10px;
  border-right: 1px solid rgba(11, 17, 28, 0.18);
}

.detective-profile-meta span:first-child::before {
  content: "";
  width: 11px;
  height: 11px;
  border: 2px solid #b17420;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.detective-profile-meta span:nth-child(2)::before {
  content: "★";
  color: #b17420;
  font-size: 17px;
  line-height: 1;
}

.detective-profile-meta span:last-child {
  border-right: 0;
}

.detective-availability {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  border: 1px solid rgba(33, 150, 83, 0.25);
  border-radius: 10px;
  background: #f1fbf3;
  color: #17773b;
  padding: 0 12px;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 900;
}

.detective-availability i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #24a354;
}

.detective-profile-block {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
}

.detective-profile-block h2 {
  margin: 0;
  color: #0b111c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.15;
}

.detective-profile-block p {
  margin: 8px 0 0;
  color: rgba(11, 17, 28, 0.82);
  font-size: 12px;
  line-height: 1.38;
}

.detective-profile-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f4ebdf;
  color: #a86a18;
  font-style: normal;
  font-size: 0;
  position: relative;
}

.detective-profile-icon::before {
  content: "";
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.detective-profile-about {
  margin-top: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(11, 17, 28, 0.14);
}

.detective-profile-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(11, 17, 28, 0.14);
}

.detective-profile-split .detective-profile-block + .detective-profile-block {
  border-left: 1px solid rgba(11, 17, 28, 0.14);
  padding-left: 16px;
}

.detective-profile-number {
  display: block;
  margin-top: 7px;
  color: #0b111c;
  font-size: 20px;
  line-height: 1;
}

.detective-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.detective-profile-tags span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #f1ece5;
  color: #0b111c;
  padding: 0 10px;
  font-size: 10px;
  font-weight: 800;
}

.detective-profile-location {
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  padding: 12px 0 14px;
}

.detective-map-btn {
  min-height: 30px;
  border: 1px solid #bd7a1b;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #a46312;
  background: #fff;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.detective-profile-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  padding: 10px 18px;
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.96), #fffaf3);
  border-top: 1px solid rgba(11, 17, 28, 0.08);
}

.detective-action-card {
  min-height: 48px;
  border: 1px solid #bd7a1b;
  border-radius: 13px;
  display: grid;
  grid-template-columns: 28px 1fr 12px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: #0b111c;
  background: #fffaf3;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(38, 28, 17, 0.06);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.detective-action-card strong,
.detective-action-card small {
  display: block;
}

.detective-action-card strong {
  font-size: 12px;
  line-height: 1.1;
}

.detective-action-card small {
  margin-top: 3px;
  color: rgba(11, 17, 28, 0.7);
  font-size: 10px;
}

.detective-action-card i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #a86a18;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
}

.detective-action-card b {
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
}

.detective-action-dark {
  border-color: #080d18;
  background: #080d18;
  color: #fff;
}

.detective-action-dark small {
  color: rgba(255, 255, 255, 0.78);
}

.detective-action-gold {
  border-color: #bd7a1b;
  background: linear-gradient(135deg, #cf9438, #a96513);
  color: #fff;
}

.detective-action-gold i,
.detective-action-gold small {
  color: #fff;
}

.detective-profile-trust {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0 14px 10px;
  border-top: 1px solid rgba(11, 17, 28, 0.08);
  border-radius: 0 0 14px 14px;
  background: rgba(255, 250, 243, 0.9);
  padding: 8px 0;
}

.detective-profile-trust span {
  min-height: 40px;
  display: grid;
  grid-template-columns: 26px 1fr;
  align-content: center;
  gap: 8px;
  padding: 0 8px;
  border-right: 1px solid rgba(177, 116, 32, 0.25);
}

.detective-profile-trust span:last-child {
  border-right: 0;
}

.detective-profile-trust i {
  grid-row: span 2;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f4ebdf;
  position: relative;
}

.detective-profile-trust i::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 2px solid #b17420;
  border-radius: 50%;
}

.detective-profile-trust strong {
  font-size: 10px;
  line-height: 1.2;
}

.detective-profile-trust small {
  color: rgba(11, 17, 28, 0.7);
  font-size: 9px;
}

.detective-success-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.detective-admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.45fr) 1fr;
  gap: 24px;
}

.detective-approved-admin-grid {
  grid-template-columns: minmax(360px, 0.52fr) minmax(0, 1fr);
}

.detective-admin-search {
  display: grid;
  grid-template-columns: 180px 210px 1fr auto;
  gap: 12px;
  margin-bottom: 18px;
}

.detective-admin-list {
  display: grid;
  gap: 14px;
}

.detective-admin-item {
  border: 1px solid rgba(11, 17, 28, 0.1);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.detective-admin-item header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.detective-admin-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 14px;
  margin: 12px 0;
  color: rgba(11, 17, 28, 0.76);
  font-size: 12px;
  line-height: 1.35;
}

.detective-admin-meta strong {
  color: #0b111c;
}

.detective-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.detective-admin-actions button {
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(11, 17, 28, 0.18);
  background: #fff;
  padding: 0 12px;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 980px) {
  .detective-page .nav-links {
    display: none;
  }

  .detective-hero {
    padding-top: 128px;
  }

  .detective-hero-art {
    opacity: 0.42;
    width: 64vw;
  }

  .detective-badges,
  .detective-search-panel,
  .detective-grid,
  .detective-feature-band,
  .detective-steps,
  .detective-admin-grid,
  .detective-admin-search {
    grid-template-columns: repeat(2, 1fr);
  }

  .detective-badges span {
    border-right: 0;
  }

  .detective-footer-cta {
    grid-template-columns: 64px 1fr;
  }

  .detective-footer-cta .detective-btn {
    grid-column: 1 / -1;
  }

  .detective-step::after {
    display: none;
  }

  .detective-footer .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detective-footer .footer-head {
    grid-template-columns: 1fr;
  }

  .detective-footer .footer-legal-aid-button {
    width: fit-content;
  }

  .detective-edit-shell {
    width: min(100% - 40px, 720px);
    grid-template-columns: 1fr;
  }

  .detective-edit-preview {
    position: static;
  }

  .detective-profile-card {
    width: min(100% - 28px, 620px);
    grid-template-columns: 1fr;
  }

  .detective-profile-media,
  .detective-profile-media > img {
    min-height: 320px;
  }

  .detective-profile-main {
    padding: 24px 22px 0;
  }

  .detective-profile-title-row,
  .detective-profile-location {
    align-items: flex-start;
  }

  .detective-profile-title-row,
  .detective-profile-split,
  .detective-profile-location,
  .detective-profile-actions,
  .detective-profile-trust {
    grid-template-columns: 1fr;
  }

  .detective-profile-split .detective-profile-block + .detective-profile-block {
    border-left: 0;
    border-top: 1px solid rgba(11, 17, 28, 0.14);
    padding: 18px 0 0;
  }

  .detective-profile-actions {
    gap: 10px;
    padding: 16px;
  }

  .detective-profile-trust {
    gap: 10px;
  }

  .detective-profile-trust span {
    border-right: 0;
  }

  .detective-faq-tools {
    grid-template-columns: 1fr;
  }

  .detective-faq-actions {
    width: 100%;
  }

  .detective-faq-actions button {
    flex: 1;
  }
}

@media (max-width: 680px) {
  .detective-page .site-header {
    top: 0;
    min-height: 76px;
  }

  .detective-page .nav-pill,
  .detective-shell {
    width: min(100% - 32px, 1136px);
  }

  .detective-edit-shell {
    width: 100%;
    gap: 18px;
  }

  .detective-page .nav-pill {
    min-height: 76px;
  }

  .detective-nav-create {
    display: none;
  }

  .detective-nav-login {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 13px;
  }

  .detective-hero {
    min-height: auto;
    padding: 108px 20px 88px;
  }

  .detective-hero-art {
    right: -120px;
    top: 76px;
    bottom: 0;
    width: 430px;
    opacity: 0.24;
  }

  .detective-hero h1 {
    font-size: 42px;
  }

  .detective-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .detective-request-btn {
    width: 100%;
  }

  .detective-search-actions {
    width: 100%;
  }

  .detective-badges,
  .detective-search-panel,
  .detective-grid,
  .detective-feature-band,
  .detective-steps,
  .detective-form,
  .detective-profile-card,
  .detective-admin-grid,
  .detective-admin-search,
  .detective-admin-meta,
  .detective-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .detective-footer {
    padding: 42px 20px 28px;
  }

  .detective-footer .footer-legal-aid-button {
    width: 100%;
    min-height: 62px;
    font-size: 32px;
  }

  .detective-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .detective-search-panel {
    margin-top: -56px;
    padding: 18px;
    gap: 16px;
  }

  .detective-feature {
    border-right: 0;
    border-bottom: 1px solid rgba(11, 17, 28, 0.1);
    padding: 18px 0;
  }

  .detective-feature:last-child {
    border-bottom: 0;
  }

  .detective-footer-cta {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    padding: 28px 20px;
  }

  .detective-form-shell {
    width: 100%;
    padding: 94px 14px 34px;
  }

  .detective-form-card {
    width: 100%;
    border-radius: 18px;
    padding: 20px 16px 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 44px rgba(38, 28, 17, 0.1);
  }

  .detective-form-card h1 {
    margin-top: 0;
    font-size: 28px;
    line-height: 1.08;
  }

  .detective-form-card > p {
    margin: 12px 0 18px;
    color: rgba(11, 17, 28, 0.74);
    font-size: 14px;
    line-height: 1.45;
  }

  .detective-form {
    gap: 16px;
  }

  .detective-form label {
    gap: 8px;
    font-size: 13px;
  }

  .detective-form input,
  .detective-form select,
  .detective-form textarea {
    width: 100%;
    min-height: 52px;
    border: 1px solid rgba(11, 17, 28, 0.2);
    border-radius: 10px;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(11, 17, 28, 0.03);
    font-size: 15px;
  }

  .detective-form input:focus,
  .detective-form select:focus,
  .detective-form textarea:focus {
    border-color: rgba(177, 116, 32, 0.75);
    box-shadow: 0 0 0 4px rgba(177, 116, 32, 0.12);
    outline: 0;
  }

  .detective-form textarea {
    min-height: 96px;
  }

  .detective-edit-preview-head {
    padding: 0 4px;
  }

  .detective-edit-preview-card {
    border-radius: 18px;
  }

  .detective-preview-photo {
    height: 190px;
  }

  .detective-preview-body {
    padding: 16px;
  }

  .detective-preview-body h2 {
    font-size: 26px;
  }

  .detective-preview-actions {
    grid-template-columns: 1fr;
  }

  .detective-faq-section {
    padding: 42px 0 44px;
  }

  .detective-faq-tools {
    padding: 14px;
    border-radius: 16px;
  }

  .detective-faq-actions {
    flex-direction: column;
  }

  .detective-faq-question {
    min-height: 58px;
    padding: 15px 16px;
    font-size: 15px;
  }

  .detective-faq-answer-inner {
    padding: 0 16px 18px;
    font-size: 14px;
  }

  .detective-profile-card {
    width: min(100% - 20px, 430px);
    border-radius: 16px;
  }

  .detective-profile-media,
  .detective-profile-media > img {
    min-height: 250px;
  }

  .detective-profile-stats {
    left: 10px;
    max-width: calc(100% - 20px);
  }

  .detective-profile-stats span {
    min-height: 50px;
    padding: 5px;
  }

  .detective-profile-stats strong {
    font-size: 12px;
  }

  .detective-profile-stats small {
    font-size: 9px;
  }

  .detective-profile-main {
    padding: 18px 16px 0;
  }

  .detective-profile-title-row h1 {
    font-size: 30px;
  }

  .detective-profile-meta {
    gap: 8px;
    font-size: 13px;
    margin-top: 10px;
  }

  .detective-profile-block,
  .detective-profile-location,
  .detective-action-card,
  .detective-profile-trust span {
    grid-template-columns: 1fr;
  }

  .detective-profile-icon {
    display: none;
  }

  .detective-action-card {
    min-height: 58px;
    grid-template-columns: 32px 1fr 14px;
    padding: 0 14px;
  }

  .detective-profile-verified {
    top: 12px;
    left: 12px;
    min-width: 106px;
    min-height: 46px;
  }

  .detective-availability {
    width: fit-content;
    min-height: 30px;
    margin-top: 12px;
    font-size: 12px;
  }

  .detective-profile-about {
    margin-top: 18px;
  }

  .detective-profile-split {
    padding: 16px 0;
  }

  .detective-profile-location {
    padding: 16px 0 18px;
  }

  .detective-profile-trust {
    grid-template-columns: 1fr 1fr;
    margin: 0 12px 12px;
  }

  .detective-profile-trust span {
    min-height: 44px;
    padding: 0 8px;
  }

  .detective-profile-trust i {
    display: none;
  }
}
