html body.page-detail {
  background: #050608 !important;
  color: #f4f5f2 !important;
  padding-bottom: 48px !important;
  font-family: "Inter Tight", Inter, ui-sans-serif, system-ui, sans-serif;
}
body.admin-bar.page-detail .site-header { top: 32px; }
.page-detail a { color: inherit; }
.page-detail .role-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px var(--pad) 4px;
  scrollbar-width: none;
}
.page-detail .role-pills::-webkit-scrollbar { display: none; }
.page-detail .role-pills a {
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  padding: 7px 12px;
  color: #c9cac4;
  font-size: 13px;
  background: #101216;
}
.page-detail .role-pills a.is-on,
.page-detail .role-pills a:hover { color: #101208; background: #d4f56e; border-color: #d4f56e; }

.detail { padding: 8px var(--pad) 40px; }
.back { margin: 8px 0 14px; }
.back a { color: #a1a29c; font-size: 14px; }
.detail-top { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.detail h1 {
  margin: 10px 0 16px;
  max-width: 760px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.badges span, .tag-row span, .chips em {
  border-radius: 999px;
  padding: 4px 10px;
  background: #1c1f24;
  color: #d5d6d1;
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badges .is-open { background: #d4f56e; color: #101208; }
.badges .is-closed { background: #3a2420; color: #ffb4a8; }
.meta { display: flex; flex-wrap: wrap; gap: 18px 22px; margin: 0; padding: 0; list-style: none; }
.meta li, .who { display: flex; align-items: center; gap: 8px; }
.meta strong, .who strong { display: block; font-size: 14px; }
.meta small, .who small { display: block; color: #8d8e88; font-size: 12px; }
.avatar {
  width: 36px; height: 36px; border-radius: 999px;
  display: grid; place-items: center;
  background: #1c1f24; color: #d4f56e; font-size: 12px; font-weight: 700;
}
.ico { color: #8d8e88; }
.detail-actions { display: flex; gap: 8px; }
.detail-actions button, .contact, .profile {
  height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16); background: transparent; color: #f4f5f2;
  font-family: inherit; font-size: 14px;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  margin-top: 22px;
  align-items: start;
}
.panel, .price-card {
  background: #101214;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 14px;
}
.panel h2, .poster h2, .facts h2 { margin: 0 0 12px; font-size: 18px; }
.prose { color: #d5d6d1; font-size: 15px; line-height: 1.55; }
.prose.is-clamp { max-height: 220px; overflow: hidden; }
.more { margin-top: 8px; border: 0; background: transparent; color: #d4f56e; font-family: inherit; font-weight: 700; padding: 0; }
.tracks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tracks li {
  display: grid;
  grid-template-columns: 36px 1fr auto auto;
  gap: 10px;
  align-items: center;
  background: #0c0e11;
  border-radius: 12px;
  padding: 8px 10px;
}
.play, .tracks a {
  width: 32px; height: 32px; border-radius: 999px; border: 0;
  display: grid; place-items: center; background: #1c1f24; color: #f4f5f2; text-decoration: none;
}
.play.is-on { background: #d4f56e; color: #101208; }
.time { color: #8d8e88; font-size: 13px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.demo-link { color: #d4f56e !important; font-weight: 700; }

.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.price-row p { margin: 0; }
.price-row small, .facts span, .poster dt { display: block; color: #8d8e88; font-size: 12px; }
.price-row strong { font-size: 28px; letter-spacing: -0.03em; }
.send, .page-detail .btn-save {
  width: 100%; height: 46px; border: 0; border-radius: 12px;
  background: #d4f56e; color: #101208; font-weight: 800; font-family: inherit; font-size: 15px;
}
.contact { width: 100%; margin-top: 8px; }
.hint, .closed-note { color: #a1a29c; font-size: 13px; }
.poster dl { margin: 12px 0; }
.poster dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.06); }
.poster dd { margin: 0; }
.profile { display: flex; align-items: center; justify-content: center; margin-top: 8px; }
.facts p { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin: 0 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.proposal-slot .box-shadow, .offers-slot .box-shadow { background: transparent; box-shadow: none; color: #d5d6d1; }
.proposal-slot h4 { margin: 8px 0 0; font-size: 14px; font-weight: 500; color: #a1a29c; }
.proposal-slot .mjob-single-content, .offers-slot .mjob-single-content { padding: 0; }
.page-detail .mh-modal {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center;
  padding: 24px; background: rgba(0,0,0,.72);
}
.page-detail .mh-modal[hidden] { display: none !important; }
.page-detail .mh-modal-card {
  width: min(520px, 100%); max-height: 86vh; overflow: auto;
  background: #121417; border-radius: 20px; padding: 22px; position: relative;
}
.page-detail .mh-modal-x {
  position: absolute; top: 12px; right: 12px; width: 32px; height: 32px;
  border: 0; border-radius: 999px; background: #1c1f24; color: #fff;
}
.page-detail #authentication-page input.form-control {
  width: 100%; min-height: 44px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12); background: #0c0e11; color: #fff; padding: 8px 12px;
}
.page-detail #authentication-page .btn-submit {
  background: #d4f56e; color: #101208; border: 0; border-radius: 999px; padding: 10px 16px; font-weight: 700;
}

@media (max-width: 980px) {
  .detail-grid, .detail-top { grid-template-columns: 1fr; display: grid; }
  .detail-actions { justify-content: flex-start; }
}
@media (max-width: 782px) {
  body.admin-bar.page-detail .site-header { top: 46px; }
}
